diff --git a/compare-comply/v1.ts b/compare-comply/v1.ts index 76105e0de4..3fcfe08971 100644 --- a/compare-comply/v1.ts +++ b/compare-comply/v1.ts @@ -80,7 +80,7 @@ class CompareComplyV1 extends BaseService { public convertToHtml(params: CompareComplyV1.ConvertToHtmlParams, callback?: CompareComplyV1.Callback): Promise | void { const _params = extend({}, params); const _callback = callback; - const requiredParams = ['file']; + const requiredParams = ['file', 'filename']; if (!_callback) { return new Promise((resolve, reject) => { diff --git a/discovery/v1-generated.ts b/discovery/v1-generated.ts index 8e84e03790..9c4348d181 100644 --- a/discovery/v1-generated.ts +++ b/discovery/v1-generated.ts @@ -1262,7 +1262,7 @@ class DiscoveryV1 extends BaseService { public createStopwordList(params: DiscoveryV1.CreateStopwordListParams, callback?: DiscoveryV1.Callback): Promise | void { const _params = extend({}, params); const _callback = (callback) ? callback : () => { /* noop */ }; - const requiredParams = ['environment_id', 'collection_id', 'stopword_file']; + const requiredParams = ['environment_id', 'collection_id', 'stopword_file', 'stopword_filename']; if (!_callback) { return new Promise((resolve, reject) => {