@emilgroup/public-api-sdk 1.40.1-beta.6 → 1.40.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
@@ -304,12 +304,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
304
304
  * @summary List insured objects
305
305
  * @param {string} productCode
306
306
  * @param {string} [authorization] Bearer Token
307
- * @param {string} [language]
308
- * @param {number} [productVersionId]
309
307
  * @param {*} [options] Override http request option.
310
308
  * @throws {RequiredError}
311
309
  */
312
- getInsuredObjects: function (productCode, authorization, language, productVersionId, options) {
310
+ getInsuredObjects: function (productCode, authorization, options) {
313
311
  if (options === void 0) { options = {}; }
314
312
  return __awaiter(_this, void 0, void 0, function () {
315
313
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -335,12 +333,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
335
333
  // authentication bearer required
336
334
  // http bearer authentication required
337
335
  _a.sent();
338
- if (language !== undefined) {
339
- localVarQueryParameter['language'] = language;
340
- }
341
- if (productVersionId !== undefined) {
342
- localVarQueryParameter['product_version_id'] = productVersionId;
343
- }
344
336
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
345
337
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
346
338
  }
@@ -356,15 +348,14 @@ var ProductsApiAxiosParamCreator = function (configuration) {
356
348
  });
357
349
  },
358
350
  /**
359
- * 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.
351
+ * This will generate a custom css for booking funnel, based on product.
360
352
  * @summary Generate a custom CSS
361
353
  * @param {string} productCode
362
354
  * @param {string} [authorization] Bearer Token
363
- * @param {string} [language]
364
355
  * @param {*} [options] Override http request option.
365
356
  * @throws {RequiredError}
366
357
  */
367
- getProductCustomCss: function (productCode, authorization, language, options) {
358
+ getProductCustomCss: function (productCode, authorization, options) {
368
359
  if (options === void 0) { options = {}; }
369
360
  return __awaiter(_this, void 0, void 0, function () {
370
361
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -390,9 +381,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
390
381
  // authentication bearer required
391
382
  // http bearer authentication required
392
383
  _a.sent();
393
- if (language !== undefined) {
394
- localVarQueryParameter['language'] = language;
395
- }
396
384
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
397
385
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
398
386
  }
@@ -413,12 +401,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
413
401
  * @param {string} productCode
414
402
  * @param {string} allValues
415
403
  * @param {string} [authorization] Bearer Token
416
- * @param {string} [language]
417
- * @param {number} [productVersionId]
418
404
  * @param {*} [options] Override http request option.
419
405
  * @throws {RequiredError}
420
406
  */
421
- getProductFactors: function (productCode, allValues, authorization, language, productVersionId, options) {
407
+ getProductFactors: function (productCode, allValues, authorization, options) {
422
408
  if (options === void 0) { options = {}; }
423
409
  return __awaiter(_this, void 0, void 0, function () {
424
410
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -449,60 +435,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
449
435
  if (allValues !== undefined) {
450
436
  localVarQueryParameter['all_values'] = allValues;
451
437
  }
452
- if (language !== undefined) {
453
- localVarQueryParameter['language'] = language;
454
- }
455
- if (productVersionId !== undefined) {
456
- localVarQueryParameter['product_version_id'] = productVersionId;
457
- }
458
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
459
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
460
- }
461
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
462
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
463
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
464
- return [2 /*return*/, {
465
- url: (0, common_1.toPathString)(localVarUrlObj),
466
- options: localVarRequestOptions,
467
- }];
468
- }
469
- });
470
- });
471
- },
472
- /**
473
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
474
- * @summary Retrieve the product languages
475
- * @param {string} productCode
476
- * @param {string} [authorization] Bearer Token
477
- * @param {*} [options] Override http request option.
478
- * @throws {RequiredError}
479
- */
480
- getProductLanguages: function (productCode, authorization, options) {
481
- if (options === void 0) { options = {}; }
482
- return __awaiter(_this, void 0, void 0, function () {
483
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
484
- return __generator(this, function (_a) {
485
- switch (_a.label) {
486
- case 0:
487
- // verify required parameter 'productCode' is not null or undefined
488
- (0, common_1.assertParamExists)('getProductLanguages', 'productCode', productCode);
489
- localVarPath = "/publicapi/v1/products/{product_code}/languages"
490
- .replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
491
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
492
- if (configuration) {
493
- baseOptions = configuration.baseOptions;
494
- baseAccessToken = configuration.accessToken;
495
- }
496
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
497
- localVarHeaderParameter = {};
498
- localVarQueryParameter = {};
499
- // authentication bearer required
500
- // http bearer authentication required
501
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
502
- case 1:
503
- // authentication bearer required
504
- // http bearer authentication required
505
- _a.sent();
506
438
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
507
439
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
508
440
  }
@@ -691,17 +623,15 @@ var ProductsApiFp = function (configuration) {
691
623
  * @summary List insured objects
692
624
  * @param {string} productCode
693
625
  * @param {string} [authorization] Bearer Token
694
- * @param {string} [language]
695
- * @param {number} [productVersionId]
696
626
  * @param {*} [options] Override http request option.
697
627
  * @throws {RequiredError}
698
628
  */
699
- getInsuredObjects: function (productCode, authorization, language, productVersionId, options) {
629
+ getInsuredObjects: function (productCode, authorization, options) {
700
630
  return __awaiter(this, void 0, void 0, function () {
701
631
  var localVarAxiosArgs;
702
632
  return __generator(this, function (_a) {
703
633
  switch (_a.label) {
704
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, language, productVersionId, options)];
634
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, options)];
705
635
  case 1:
706
636
  localVarAxiosArgs = _a.sent();
707
637
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -710,20 +640,19 @@ var ProductsApiFp = function (configuration) {
710
640
  });
711
641
  },
712
642
  /**
713
- * 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.
643
+ * This will generate a custom css for booking funnel, based on product.
714
644
  * @summary Generate a custom CSS
715
645
  * @param {string} productCode
716
646
  * @param {string} [authorization] Bearer Token
717
- * @param {string} [language]
718
647
  * @param {*} [options] Override http request option.
719
648
  * @throws {RequiredError}
720
649
  */
721
- getProductCustomCss: function (productCode, authorization, language, options) {
650
+ getProductCustomCss: function (productCode, authorization, options) {
722
651
  return __awaiter(this, void 0, void 0, function () {
723
652
  var localVarAxiosArgs;
724
653
  return __generator(this, function (_a) {
725
654
  switch (_a.label) {
726
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductCustomCss(productCode, authorization, language, options)];
655
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductCustomCss(productCode, authorization, options)];
727
656
  case 1:
728
657
  localVarAxiosArgs = _a.sent();
729
658
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -737,38 +666,15 @@ var ProductsApiFp = function (configuration) {
737
666
  * @param {string} productCode
738
667
  * @param {string} allValues
739
668
  * @param {string} [authorization] Bearer Token
740
- * @param {string} [language]
741
- * @param {number} [productVersionId]
742
669
  * @param {*} [options] Override http request option.
743
670
  * @throws {RequiredError}
744
671
  */
745
- getProductFactors: function (productCode, allValues, authorization, language, productVersionId, options) {
672
+ getProductFactors: function (productCode, allValues, authorization, options) {
746
673
  return __awaiter(this, void 0, void 0, function () {
747
674
  var localVarAxiosArgs;
748
675
  return __generator(this, function (_a) {
749
676
  switch (_a.label) {
750
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, language, productVersionId, options)];
751
- case 1:
752
- localVarAxiosArgs = _a.sent();
753
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
754
- }
755
- });
756
- });
757
- },
758
- /**
759
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
760
- * @summary Retrieve the product languages
761
- * @param {string} productCode
762
- * @param {string} [authorization] Bearer Token
763
- * @param {*} [options] Override http request option.
764
- * @throws {RequiredError}
765
- */
766
- getProductLanguages: function (productCode, authorization, options) {
767
- return __awaiter(this, void 0, void 0, function () {
768
- var localVarAxiosArgs;
769
- return __generator(this, function (_a) {
770
- switch (_a.label) {
771
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductLanguages(productCode, authorization, options)];
677
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options)];
772
678
  case 1:
773
679
  localVarAxiosArgs = _a.sent();
774
680
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -865,25 +771,22 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
865
771
  * @summary List insured objects
866
772
  * @param {string} productCode
867
773
  * @param {string} [authorization] Bearer Token
868
- * @param {string} [language]
869
- * @param {number} [productVersionId]
870
774
  * @param {*} [options] Override http request option.
871
775
  * @throws {RequiredError}
872
776
  */
873
- getInsuredObjects: function (productCode, authorization, language, productVersionId, options) {
874
- return localVarFp.getInsuredObjects(productCode, authorization, language, productVersionId, options).then(function (request) { return request(axios, basePath); });
777
+ getInsuredObjects: function (productCode, authorization, options) {
778
+ return localVarFp.getInsuredObjects(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
875
779
  },
876
780
  /**
877
- * 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.
781
+ * This will generate a custom css for booking funnel, based on product.
878
782
  * @summary Generate a custom CSS
879
783
  * @param {string} productCode
880
784
  * @param {string} [authorization] Bearer Token
881
- * @param {string} [language]
882
785
  * @param {*} [options] Override http request option.
883
786
  * @throws {RequiredError}
884
787
  */
885
- getProductCustomCss: function (productCode, authorization, language, options) {
886
- return localVarFp.getProductCustomCss(productCode, authorization, language, options).then(function (request) { return request(axios, basePath); });
788
+ getProductCustomCss: function (productCode, authorization, options) {
789
+ return localVarFp.getProductCustomCss(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
887
790
  },
888
791
  /**
889
792
  * 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.
@@ -891,24 +794,11 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
891
794
  * @param {string} productCode
892
795
  * @param {string} allValues
893
796
  * @param {string} [authorization] Bearer Token
894
- * @param {string} [language]
895
- * @param {number} [productVersionId]
896
797
  * @param {*} [options] Override http request option.
897
798
  * @throws {RequiredError}
898
799
  */
899
- getProductFactors: function (productCode, allValues, authorization, language, productVersionId, options) {
900
- return localVarFp.getProductFactors(productCode, allValues, authorization, language, productVersionId, options).then(function (request) { return request(axios, basePath); });
901
- },
902
- /**
903
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
904
- * @summary Retrieve the product languages
905
- * @param {string} productCode
906
- * @param {string} [authorization] Bearer Token
907
- * @param {*} [options] Override http request option.
908
- * @throws {RequiredError}
909
- */
910
- getProductLanguages: function (productCode, authorization, options) {
911
- return localVarFp.getProductLanguages(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
800
+ getProductFactors: function (productCode, allValues, authorization, options) {
801
+ return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
912
802
  },
913
803
  /**
914
804
  * 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.
@@ -999,10 +889,10 @@ var ProductsApi = /** @class */ (function (_super) {
999
889
  */
1000
890
  ProductsApi.prototype.getInsuredObjects = function (requestParameters, options) {
1001
891
  var _this = this;
1002
- 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); });
892
+ return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1003
893
  };
1004
894
  /**
1005
- * 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.
895
+ * This will generate a custom css for booking funnel, based on product.
1006
896
  * @summary Generate a custom CSS
1007
897
  * @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
1008
898
  * @param {*} [options] Override http request option.
@@ -1011,7 +901,7 @@ var ProductsApi = /** @class */ (function (_super) {
1011
901
  */
1012
902
  ProductsApi.prototype.getProductCustomCss = function (requestParameters, options) {
1013
903
  var _this = this;
1014
- return (0, exports.ProductsApiFp)(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, requestParameters.language, options).then(function (request) { return request(_this.axios, _this.basePath); });
904
+ return (0, exports.ProductsApiFp)(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1015
905
  };
1016
906
  /**
1017
907
  * 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.
@@ -1023,19 +913,7 @@ var ProductsApi = /** @class */ (function (_super) {
1023
913
  */
1024
914
  ProductsApi.prototype.getProductFactors = function (requestParameters, options) {
1025
915
  var _this = this;
1026
- 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); });
1027
- };
1028
- /**
1029
- * This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
1030
- * @summary Retrieve the product languages
1031
- * @param {ProductsApiGetProductLanguagesRequest} requestParameters Request parameters.
1032
- * @param {*} [options] Override http request option.
1033
- * @throws {RequiredError}
1034
- * @memberof ProductsApi
1035
- */
1036
- ProductsApi.prototype.getProductLanguages = function (requestParameters, options) {
1037
- var _this = this;
1038
- return (0, exports.ProductsApiFp)(this.configuration).getProductLanguages(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
916
+ return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1039
917
  };
1040
918
  /**
1041
919
  * 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