@emilgroup/public-api-sdk-node 1.42.1-beta.6 → 1.42.1-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,6 @@ import { CreateCustomApplicationResponseClass } from '../models';
19
19
  import { CreateEstimatedInvoiceRequestDto } from '../models';
20
20
  import { CreateEstimatedInvoiceResponseClass } from '../models';
21
21
  import { GetCustomCssResponseClass } from '../models';
22
- import { GetProductLanguagesResponseClass } from '../models';
23
22
  import { InsuredObjectClass } from '../models';
24
23
  import { InsuredObjectTypeClass } from '../models';
25
24
  import { ListProductsResponseClass } from '../models';
@@ -73,43 +72,29 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
73
72
  * @summary List insured objects
74
73
  * @param {string} productCode
75
74
  * @param {string} [authorization] Bearer Token
76
- * @param {string} [language]
77
- * @param {number} [productVersionId]
78
75
  * @param {*} [options] Override http request option.
79
76
  * @throws {RequiredError}
80
77
  */
81
- getInsuredObjects: (productCode: string, authorization?: string, language?: string, productVersionId?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
+ getInsuredObjects: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
82
79
  /**
83
- * This will generate a custom css for booking funnel, based on product. Pass `language` to have the funnel texts it carries returned translated; without it the setting is returned exactly as it is stored.
80
+ * This will generate a custom css for booking funnel, based on product.
84
81
  * @summary Generate a custom CSS
85
82
  * @param {string} productCode
86
83
  * @param {string} [authorization] Bearer Token
87
- * @param {string} [language]
88
84
  * @param {*} [options] Override http request option.
89
85
  * @throws {RequiredError}
90
86
  */
91
- getProductCustomCss: (productCode: string, authorization?: string, language?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
87
+ getProductCustomCss: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
92
88
  /**
93
89
  * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
94
90
  * @summary List product factors
95
91
  * @param {string} productCode
96
92
  * @param {string} allValues
97
93
  * @param {string} [authorization] Bearer Token
98
- * @param {string} [language]
99
- * @param {number} [productVersionId]
100
94
  * @param {*} [options] Override http request option.
101
95
  * @throws {RequiredError}
102
96
  */
103
- getProductFactors: (productCode: string, allValues: string, authorization?: string, language?: string, productVersionId?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
104
- /**
105
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
106
- * @summary Retrieve the product languages
107
- * @param {string} productCode
108
- * @param {string} [authorization] Bearer Token
109
- * @param {*} [options] Override http request option.
110
- * @throws {RequiredError}
111
- */
112
- getProductLanguages: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
97
+ getProductFactors: (productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
113
98
  /**
114
99
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
115
100
  * @summary List products
@@ -175,43 +160,29 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
175
160
  * @summary List insured objects
176
161
  * @param {string} productCode
177
162
  * @param {string} [authorization] Bearer Token
178
- * @param {string} [language]
179
- * @param {number} [productVersionId]
180
163
  * @param {*} [options] Override http request option.
181
164
  * @throws {RequiredError}
182
165
  */
183
- getInsuredObjects(productCode: string, authorization?: string, language?: string, productVersionId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>>;
166
+ getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>>;
184
167
  /**
185
- * This will generate a custom css for booking funnel, based on product. Pass `language` to have the funnel texts it carries returned translated; without it the setting is returned exactly as it is stored.
168
+ * This will generate a custom css for booking funnel, based on product.
186
169
  * @summary Generate a custom CSS
187
170
  * @param {string} productCode
188
171
  * @param {string} [authorization] Bearer Token
189
- * @param {string} [language]
190
172
  * @param {*} [options] Override http request option.
191
173
  * @throws {RequiredError}
192
174
  */
193
- getProductCustomCss(productCode: string, authorization?: string, language?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomCssResponseClass>>;
175
+ getProductCustomCss(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomCssResponseClass>>;
194
176
  /**
195
177
  * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
196
178
  * @summary List product factors
197
179
  * @param {string} productCode
198
180
  * @param {string} allValues
199
181
  * @param {string} [authorization] Bearer Token
200
- * @param {string} [language]
201
- * @param {number} [productVersionId]
202
- * @param {*} [options] Override http request option.
203
- * @throws {RequiredError}
204
- */
205
- getProductFactors(productCode: string, allValues: string, authorization?: string, language?: string, productVersionId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>>;
206
- /**
207
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
208
- * @summary Retrieve the product languages
209
- * @param {string} productCode
210
- * @param {string} [authorization] Bearer Token
211
182
  * @param {*} [options] Override http request option.
212
183
  * @throws {RequiredError}
213
184
  */
214
- getProductLanguages(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductLanguagesResponseClass>>;
185
+ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>>;
215
186
  /**
216
187
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
217
188
  * @summary List products
@@ -277,43 +248,29 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
277
248
  * @summary List insured objects
278
249
  * @param {string} productCode
279
250
  * @param {string} [authorization] Bearer Token
280
- * @param {string} [language]
281
- * @param {number} [productVersionId]
282
251
  * @param {*} [options] Override http request option.
283
252
  * @throws {RequiredError}
284
253
  */
285
- getInsuredObjects(productCode: string, authorization?: string, language?: string, productVersionId?: number, options?: any): AxiosPromise<Array<InsuredObjectClass>>;
254
+ getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>>;
286
255
  /**
287
- * This will generate a custom css for booking funnel, based on product. Pass `language` to have the funnel texts it carries returned translated; without it the setting is returned exactly as it is stored.
256
+ * This will generate a custom css for booking funnel, based on product.
288
257
  * @summary Generate a custom CSS
289
258
  * @param {string} productCode
290
259
  * @param {string} [authorization] Bearer Token
291
- * @param {string} [language]
292
260
  * @param {*} [options] Override http request option.
293
261
  * @throws {RequiredError}
294
262
  */
295
- getProductCustomCss(productCode: string, authorization?: string, language?: string, options?: any): AxiosPromise<GetCustomCssResponseClass>;
263
+ getProductCustomCss(productCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomCssResponseClass>;
296
264
  /**
297
265
  * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
298
266
  * @summary List product factors
299
267
  * @param {string} productCode
300
268
  * @param {string} allValues
301
269
  * @param {string} [authorization] Bearer Token
302
- * @param {string} [language]
303
- * @param {number} [productVersionId]
304
270
  * @param {*} [options] Override http request option.
305
271
  * @throws {RequiredError}
306
272
  */
307
- getProductFactors(productCode: string, allValues: string, authorization?: string, language?: string, productVersionId?: number, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>>;
308
- /**
309
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
310
- * @summary Retrieve the product languages
311
- * @param {string} productCode
312
- * @param {string} [authorization] Bearer Token
313
- * @param {*} [options] Override http request option.
314
- * @throws {RequiredError}
315
- */
316
- getProductLanguages(productCode: string, authorization?: string, options?: any): AxiosPromise<GetProductLanguagesResponseClass>;
273
+ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>>;
317
274
  /**
318
275
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
319
276
  * @summary List products
@@ -442,18 +399,6 @@ export interface ProductsApiGetInsuredObjectsRequest {
442
399
  * @memberof ProductsApiGetInsuredObjects
443
400
  */
444
401
  readonly authorization?: string;
445
- /**
446
- *
447
- * @type {string}
448
- * @memberof ProductsApiGetInsuredObjects
449
- */
450
- readonly language?: string;
451
- /**
452
- *
453
- * @type {number}
454
- * @memberof ProductsApiGetInsuredObjects
455
- */
456
- readonly productVersionId?: number;
457
402
  }
458
403
  /**
459
404
  * Request parameters for getProductCustomCss operation in ProductsApi.
@@ -473,12 +418,6 @@ export interface ProductsApiGetProductCustomCssRequest {
473
418
  * @memberof ProductsApiGetProductCustomCss
474
419
  */
475
420
  readonly authorization?: string;
476
- /**
477
- *
478
- * @type {string}
479
- * @memberof ProductsApiGetProductCustomCss
480
- */
481
- readonly language?: string;
482
421
  }
483
422
  /**
484
423
  * Request parameters for getProductFactors operation in ProductsApi.
@@ -504,37 +443,6 @@ export interface ProductsApiGetProductFactorsRequest {
504
443
  * @memberof ProductsApiGetProductFactors
505
444
  */
506
445
  readonly authorization?: string;
507
- /**
508
- *
509
- * @type {string}
510
- * @memberof ProductsApiGetProductFactors
511
- */
512
- readonly language?: string;
513
- /**
514
- *
515
- * @type {number}
516
- * @memberof ProductsApiGetProductFactors
517
- */
518
- readonly productVersionId?: number;
519
- }
520
- /**
521
- * Request parameters for getProductLanguages operation in ProductsApi.
522
- * @export
523
- * @interface ProductsApiGetProductLanguagesRequest
524
- */
525
- export interface ProductsApiGetProductLanguagesRequest {
526
- /**
527
- *
528
- * @type {string}
529
- * @memberof ProductsApiGetProductLanguages
530
- */
531
- readonly productCode: string;
532
- /**
533
- * Bearer Token
534
- * @type {string}
535
- * @memberof ProductsApiGetProductLanguages
536
- */
537
- readonly authorization?: string;
538
446
  }
539
447
  /**
540
448
  * Request parameters for listProducts operation in ProductsApi.
@@ -644,7 +552,7 @@ export declare class ProductsApi extends BaseAPI {
644
552
  */
645
553
  getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any, {}>>;
646
554
  /**
647
- * This will generate a custom css for booking funnel, based on product. Pass `language` to have the funnel texts it carries returned translated; without it the setting is returned exactly as it is stored.
555
+ * This will generate a custom css for booking funnel, based on product.
648
556
  * @summary Generate a custom CSS
649
557
  * @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
650
558
  * @param {*} [options] Override http request option.
@@ -661,15 +569,6 @@ export declare class ProductsApi extends BaseAPI {
661
569
  * @memberof ProductsApi
662
570
  */
663
571
  getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any, {}>>;
664
- /**
665
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
666
- * @summary Retrieve the product languages
667
- * @param {ProductsApiGetProductLanguagesRequest} requestParameters Request parameters.
668
- * @param {*} [options] Override http request option.
669
- * @throws {RequiredError}
670
- * @memberof ProductsApi
671
- */
672
- getProductLanguages(requestParameters: ProductsApiGetProductLanguagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductLanguagesResponseClass, any, {}>>;
673
572
  /**
674
573
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
675
574
  * @summary List products
@@ -308,12 +308,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
308
308
  * @summary List insured objects
309
309
  * @param {string} productCode
310
310
  * @param {string} [authorization] Bearer Token
311
- * @param {string} [language]
312
- * @param {number} [productVersionId]
313
311
  * @param {*} [options] Override http request option.
314
312
  * @throws {RequiredError}
315
313
  */
316
- getInsuredObjects: function (productCode, authorization, language, productVersionId, options) {
314
+ getInsuredObjects: function (productCode, authorization, options) {
317
315
  if (options === void 0) { options = {}; }
318
316
  return __awaiter(_this, void 0, void 0, function () {
319
317
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -339,12 +337,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
339
337
  // authentication bearer required
340
338
  // http bearer authentication required
341
339
  _a.sent();
342
- if (language !== undefined) {
343
- localVarQueryParameter['language'] = language;
344
- }
345
- if (productVersionId !== undefined) {
346
- localVarQueryParameter['product_version_id'] = productVersionId;
347
- }
348
340
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
349
341
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
350
342
  }
@@ -360,15 +352,14 @@ var ProductsApiAxiosParamCreator = function (configuration) {
360
352
  });
361
353
  },
362
354
  /**
363
- * This will generate a custom css for booking funnel, based on product. Pass `language` to have the funnel texts it carries returned translated; without it the setting is returned exactly as it is stored.
355
+ * This will generate a custom css for booking funnel, based on product.
364
356
  * @summary Generate a custom CSS
365
357
  * @param {string} productCode
366
358
  * @param {string} [authorization] Bearer Token
367
- * @param {string} [language]
368
359
  * @param {*} [options] Override http request option.
369
360
  * @throws {RequiredError}
370
361
  */
371
- getProductCustomCss: function (productCode, authorization, language, options) {
362
+ getProductCustomCss: function (productCode, authorization, options) {
372
363
  if (options === void 0) { options = {}; }
373
364
  return __awaiter(_this, void 0, void 0, function () {
374
365
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -394,9 +385,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
394
385
  // authentication bearer required
395
386
  // http bearer authentication required
396
387
  _a.sent();
397
- if (language !== undefined) {
398
- localVarQueryParameter['language'] = language;
399
- }
400
388
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
401
389
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
402
390
  }
@@ -417,12 +405,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
417
405
  * @param {string} productCode
418
406
  * @param {string} allValues
419
407
  * @param {string} [authorization] Bearer Token
420
- * @param {string} [language]
421
- * @param {number} [productVersionId]
422
408
  * @param {*} [options] Override http request option.
423
409
  * @throws {RequiredError}
424
410
  */
425
- getProductFactors: function (productCode, allValues, authorization, language, productVersionId, options) {
411
+ getProductFactors: function (productCode, allValues, authorization, options) {
426
412
  if (options === void 0) { options = {}; }
427
413
  return __awaiter(_this, void 0, void 0, function () {
428
414
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -453,60 +439,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
453
439
  if (allValues !== undefined) {
454
440
  localVarQueryParameter['all_values'] = allValues;
455
441
  }
456
- if (language !== undefined) {
457
- localVarQueryParameter['language'] = language;
458
- }
459
- if (productVersionId !== undefined) {
460
- localVarQueryParameter['product_version_id'] = productVersionId;
461
- }
462
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
463
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
464
- }
465
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
466
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
467
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
468
- return [2 /*return*/, {
469
- url: (0, common_1.toPathString)(localVarUrlObj),
470
- options: localVarRequestOptions,
471
- }];
472
- }
473
- });
474
- });
475
- },
476
- /**
477
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
478
- * @summary Retrieve the product languages
479
- * @param {string} productCode
480
- * @param {string} [authorization] Bearer Token
481
- * @param {*} [options] Override http request option.
482
- * @throws {RequiredError}
483
- */
484
- getProductLanguages: function (productCode, authorization, options) {
485
- if (options === void 0) { options = {}; }
486
- return __awaiter(_this, void 0, void 0, function () {
487
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
488
- return __generator(this, function (_a) {
489
- switch (_a.label) {
490
- case 0:
491
- // verify required parameter 'productCode' is not null or undefined
492
- (0, common_1.assertParamExists)('getProductLanguages', 'productCode', productCode);
493
- localVarPath = "/publicapi/v1/products/{product_code}/languages"
494
- .replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
495
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
496
- if (configuration) {
497
- baseOptions = configuration.baseOptions;
498
- baseAccessToken = configuration.accessToken;
499
- }
500
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
501
- localVarHeaderParameter = {};
502
- localVarQueryParameter = {};
503
- // authentication bearer required
504
- // http bearer authentication required
505
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
506
- case 1:
507
- // authentication bearer required
508
- // http bearer authentication required
509
- _a.sent();
510
442
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
511
443
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
512
444
  }
@@ -695,17 +627,15 @@ var ProductsApiFp = function (configuration) {
695
627
  * @summary List insured objects
696
628
  * @param {string} productCode
697
629
  * @param {string} [authorization] Bearer Token
698
- * @param {string} [language]
699
- * @param {number} [productVersionId]
700
630
  * @param {*} [options] Override http request option.
701
631
  * @throws {RequiredError}
702
632
  */
703
- getInsuredObjects: function (productCode, authorization, language, productVersionId, options) {
633
+ getInsuredObjects: function (productCode, authorization, options) {
704
634
  return __awaiter(this, void 0, void 0, function () {
705
635
  var localVarAxiosArgs;
706
636
  return __generator(this, function (_a) {
707
637
  switch (_a.label) {
708
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, language, productVersionId, options)];
638
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, options)];
709
639
  case 1:
710
640
  localVarAxiosArgs = _a.sent();
711
641
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -714,20 +644,19 @@ var ProductsApiFp = function (configuration) {
714
644
  });
715
645
  },
716
646
  /**
717
- * This will generate a custom css for booking funnel, based on product. Pass `language` to have the funnel texts it carries returned translated; without it the setting is returned exactly as it is stored.
647
+ * This will generate a custom css for booking funnel, based on product.
718
648
  * @summary Generate a custom CSS
719
649
  * @param {string} productCode
720
650
  * @param {string} [authorization] Bearer Token
721
- * @param {string} [language]
722
651
  * @param {*} [options] Override http request option.
723
652
  * @throws {RequiredError}
724
653
  */
725
- getProductCustomCss: function (productCode, authorization, language, options) {
654
+ getProductCustomCss: function (productCode, authorization, options) {
726
655
  return __awaiter(this, void 0, void 0, function () {
727
656
  var localVarAxiosArgs;
728
657
  return __generator(this, function (_a) {
729
658
  switch (_a.label) {
730
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductCustomCss(productCode, authorization, language, options)];
659
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductCustomCss(productCode, authorization, options)];
731
660
  case 1:
732
661
  localVarAxiosArgs = _a.sent();
733
662
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -741,38 +670,15 @@ var ProductsApiFp = function (configuration) {
741
670
  * @param {string} productCode
742
671
  * @param {string} allValues
743
672
  * @param {string} [authorization] Bearer Token
744
- * @param {string} [language]
745
- * @param {number} [productVersionId]
746
673
  * @param {*} [options] Override http request option.
747
674
  * @throws {RequiredError}
748
675
  */
749
- getProductFactors: function (productCode, allValues, authorization, language, productVersionId, options) {
676
+ getProductFactors: function (productCode, allValues, authorization, options) {
750
677
  return __awaiter(this, void 0, void 0, function () {
751
678
  var localVarAxiosArgs;
752
679
  return __generator(this, function (_a) {
753
680
  switch (_a.label) {
754
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, language, productVersionId, options)];
755
- case 1:
756
- localVarAxiosArgs = _a.sent();
757
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
758
- }
759
- });
760
- });
761
- },
762
- /**
763
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
764
- * @summary Retrieve the product languages
765
- * @param {string} productCode
766
- * @param {string} [authorization] Bearer Token
767
- * @param {*} [options] Override http request option.
768
- * @throws {RequiredError}
769
- */
770
- getProductLanguages: function (productCode, authorization, options) {
771
- return __awaiter(this, void 0, void 0, function () {
772
- var localVarAxiosArgs;
773
- return __generator(this, function (_a) {
774
- switch (_a.label) {
775
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductLanguages(productCode, authorization, options)];
681
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options)];
776
682
  case 1:
777
683
  localVarAxiosArgs = _a.sent();
778
684
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -869,25 +775,22 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
869
775
  * @summary List insured objects
870
776
  * @param {string} productCode
871
777
  * @param {string} [authorization] Bearer Token
872
- * @param {string} [language]
873
- * @param {number} [productVersionId]
874
778
  * @param {*} [options] Override http request option.
875
779
  * @throws {RequiredError}
876
780
  */
877
- getInsuredObjects: function (productCode, authorization, language, productVersionId, options) {
878
- return localVarFp.getInsuredObjects(productCode, authorization, language, productVersionId, options).then(function (request) { return request(axios, basePath); });
781
+ getInsuredObjects: function (productCode, authorization, options) {
782
+ return localVarFp.getInsuredObjects(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
879
783
  },
880
784
  /**
881
- * This will generate a custom css for booking funnel, based on product. Pass `language` to have the funnel texts it carries returned translated; without it the setting is returned exactly as it is stored.
785
+ * This will generate a custom css for booking funnel, based on product.
882
786
  * @summary Generate a custom CSS
883
787
  * @param {string} productCode
884
788
  * @param {string} [authorization] Bearer Token
885
- * @param {string} [language]
886
789
  * @param {*} [options] Override http request option.
887
790
  * @throws {RequiredError}
888
791
  */
889
- getProductCustomCss: function (productCode, authorization, language, options) {
890
- return localVarFp.getProductCustomCss(productCode, authorization, language, options).then(function (request) { return request(axios, basePath); });
792
+ getProductCustomCss: function (productCode, authorization, options) {
793
+ return localVarFp.getProductCustomCss(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
891
794
  },
892
795
  /**
893
796
  * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
@@ -895,24 +798,11 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
895
798
  * @param {string} productCode
896
799
  * @param {string} allValues
897
800
  * @param {string} [authorization] Bearer Token
898
- * @param {string} [language]
899
- * @param {number} [productVersionId]
900
801
  * @param {*} [options] Override http request option.
901
802
  * @throws {RequiredError}
902
803
  */
903
- getProductFactors: function (productCode, allValues, authorization, language, productVersionId, options) {
904
- return localVarFp.getProductFactors(productCode, allValues, authorization, language, productVersionId, options).then(function (request) { return request(axios, basePath); });
905
- },
906
- /**
907
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
908
- * @summary Retrieve the product languages
909
- * @param {string} productCode
910
- * @param {string} [authorization] Bearer Token
911
- * @param {*} [options] Override http request option.
912
- * @throws {RequiredError}
913
- */
914
- getProductLanguages: function (productCode, authorization, options) {
915
- return localVarFp.getProductLanguages(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
804
+ getProductFactors: function (productCode, allValues, authorization, options) {
805
+ return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
916
806
  },
917
807
  /**
918
808
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
@@ -1003,10 +893,10 @@ var ProductsApi = /** @class */ (function (_super) {
1003
893
  */
1004
894
  ProductsApi.prototype.getInsuredObjects = function (requestParameters, options) {
1005
895
  var _this = this;
1006
- return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, requestParameters.language, requestParameters.productVersionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
896
+ return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1007
897
  };
1008
898
  /**
1009
- * This will generate a custom css for booking funnel, based on product. Pass `language` to have the funnel texts it carries returned translated; without it the setting is returned exactly as it is stored.
899
+ * This will generate a custom css for booking funnel, based on product.
1010
900
  * @summary Generate a custom CSS
1011
901
  * @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
1012
902
  * @param {*} [options] Override http request option.
@@ -1015,7 +905,7 @@ var ProductsApi = /** @class */ (function (_super) {
1015
905
  */
1016
906
  ProductsApi.prototype.getProductCustomCss = function (requestParameters, options) {
1017
907
  var _this = this;
1018
- return (0, exports.ProductsApiFp)(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, requestParameters.language, options).then(function (request) { return request(_this.axios, _this.basePath); });
908
+ return (0, exports.ProductsApiFp)(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1019
909
  };
1020
910
  /**
1021
911
  * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
@@ -1027,19 +917,7 @@ var ProductsApi = /** @class */ (function (_super) {
1027
917
  */
1028
918
  ProductsApi.prototype.getProductFactors = function (requestParameters, options) {
1029
919
  var _this = this;
1030
- return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, requestParameters.language, requestParameters.productVersionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1031
- };
1032
- /**
1033
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
1034
- * @summary Retrieve the product languages
1035
- * @param {ProductsApiGetProductLanguagesRequest} requestParameters Request parameters.
1036
- * @param {*} [options] Override http request option.
1037
- * @throws {RequiredError}
1038
- * @memberof ProductsApi
1039
- */
1040
- ProductsApi.prototype.getProductLanguages = function (requestParameters, options) {
1041
- var _this = this;
1042
- return (0, exports.ProductsApiFp)(this.configuration).getProductLanguages(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
920
+ return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1043
921
  };
1044
922
  /**
1045
923
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
@@ -51,7 +51,6 @@ export * from './get-lead-response-class';
51
51
  export * from './get-product-config-tariffs-response-class';
52
52
  export * from './get-product-document-download-url-request-rest-dto';
53
53
  export * from './get-product-document-download-url-response-class';
54
- export * from './get-product-languages-response-class';
55
54
  export * from './get-public-psp-settings-response-class';
56
55
  export * from './initiate-adyen-payment-setup-request-dto';
57
56
  export * from './initiate-adyen-payment-setup-response-class';
@@ -67,7 +67,6 @@ __exportStar(require("./get-lead-response-class"), exports);
67
67
  __exportStar(require("./get-product-config-tariffs-response-class"), exports);
68
68
  __exportStar(require("./get-product-document-download-url-request-rest-dto"), exports);
69
69
  __exportStar(require("./get-product-document-download-url-response-class"), exports);
70
- __exportStar(require("./get-product-languages-response-class"), exports);
71
70
  __exportStar(require("./get-public-psp-settings-response-class"), exports);
72
71
  __exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
73
72
  __exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
@@ -57,10 +57,4 @@ export interface PartnerClass {
57
57
  * @memberof PartnerClass
58
58
  */
59
59
  'updatedBy'?: string;
60
- /**
61
- * The business subtypes of the partner, as recorded in partnerservice. Empty when unset.
62
- * @type {Array<string>}
63
- * @memberof PartnerClass
64
- */
65
- 'subtypes': Array<string>;
66
60
  }
@@ -39,24 +39,6 @@ export interface ProductFieldClass {
39
39
  * @memberof ProductFieldClass
40
40
  */
41
41
  'label': string;
42
- /**
43
- * Label shown for this field on the booking funnel.
44
- * @type {string}
45
- * @memberof ProductFieldClass
46
- */
47
- 'bfLabel'?: string;
48
- /**
49
- * Description shown under this field on the booking funnel.
50
- * @type {string}
51
- * @memberof ProductFieldClass
52
- */
53
- 'bfDescription'?: string;
54
- /**
55
- * Tooltip shown next to this field on the booking funnel.
56
- * @type {string}
57
- * @memberof ProductFieldClass
58
- */
59
- 'bfTooltip'?: string;
60
42
  /**
61
43
  * Product field type.
62
44
  * @type {string}
@@ -27,12 +27,6 @@ export interface ProductVersionClass {
27
27
  * @memberof ProductVersionClass
28
28
  */
29
29
  'code': string;
30
- /**
31
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
32
- * @type {string}
33
- * @memberof ProductVersionClass
34
- */
35
- 'slug': string;
36
30
  /**
37
31
  * Unique identifier referencing the product.
38
32
  * @type {number}
package/models/index.ts CHANGED
@@ -51,7 +51,6 @@ export * from './get-lead-response-class';
51
51
  export * from './get-product-config-tariffs-response-class';
52
52
  export * from './get-product-document-download-url-request-rest-dto';
53
53
  export * from './get-product-document-download-url-response-class';
54
- export * from './get-product-languages-response-class';
55
54
  export * from './get-public-psp-settings-response-class';
56
55
  export * from './initiate-adyen-payment-setup-request-dto';
57
56
  export * from './initiate-adyen-payment-setup-response-class';
@@ -62,11 +62,5 @@ export interface PartnerClass {
62
62
  * @memberof PartnerClass
63
63
  */
64
64
  'updatedBy'?: string;
65
- /**
66
- * The business subtypes of the partner, as recorded in partnerservice. Empty when unset.
67
- * @type {Array<string>}
68
- * @memberof PartnerClass
69
- */
70
- 'subtypes': Array<string>;
71
65
  }
72
66