@emilgroup/public-api-sdk-node 1.42.0 → 1.42.1-beta.1
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.
- package/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/api/booking-funnels-api.ts +20 -6
- package/api/products-api.ts +171 -12
- package/dist/api/booking-funnels-api.d.ts +12 -3
- package/dist/api/booking-funnels-api.js +12 -6
- package/dist/api/products-api.d.ts +98 -6
- package/dist/api/products-api.js +128 -12
- package/dist/models/get-product-languages-response-class.d.ts +30 -0
- package/dist/models/get-product-languages-response-class.js +15 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/product-field-class.d.ts +18 -0
- package/dist/models/product-version-class.d.ts +6 -0
- package/models/get-product-languages-response-class.ts +36 -0
- package/models/index.ts +1 -0
- package/models/product-field-class.ts +18 -0
- package/models/product-version-class.ts +6 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -73,6 +73,7 @@ models/get-lead-response-class.ts
|
|
|
73
73
|
models/get-product-config-tariffs-response-class.ts
|
|
74
74
|
models/get-product-document-download-url-request-rest-dto.ts
|
|
75
75
|
models/get-product-document-download-url-response-class.ts
|
|
76
|
+
models/get-product-languages-response-class.ts
|
|
76
77
|
models/get-public-psp-settings-response-class.ts
|
|
77
78
|
models/index.ts
|
|
78
79
|
models/initiate-adyen-payment-setup-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/public-api-sdk-node@1.42.
|
|
20
|
+
npm install @emilgroup/public-api-sdk-node@1.42.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/public-api-sdk-node@1.42.
|
|
24
|
+
yarn add @emilgroup/public-api-sdk-node@1.42.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PublicApi`.
|
|
@@ -37,10 +37,11 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
37
37
|
* @summary Retrieve the booking funnel
|
|
38
38
|
* @param {string} code Unique identifier for the object.
|
|
39
39
|
* @param {string} [authorization] Bearer Token
|
|
40
|
+
* @param {string} [language] Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
40
41
|
* @param {*} [options] Override http request option.
|
|
41
42
|
* @throws {RequiredError}
|
|
42
43
|
*/
|
|
43
|
-
getBookingFunnel: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44
|
+
getBookingFunnel: async (code: string, authorization?: string, language?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44
45
|
// verify required parameter 'code' is not null or undefined
|
|
45
46
|
assertParamExists('getBookingFunnel', 'code', code)
|
|
46
47
|
const localVarPath = `/publicapi/v1/booking-funnels/{code}`
|
|
@@ -62,6 +63,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
62
63
|
// http bearer authentication required
|
|
63
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
64
65
|
|
|
66
|
+
if (language !== undefined) {
|
|
67
|
+
localVarQueryParameter['language'] = language;
|
|
68
|
+
}
|
|
69
|
+
|
|
65
70
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
66
71
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
67
72
|
}
|
|
@@ -92,11 +97,12 @@ export const BookingFunnelsApiFp = function(configuration?: Configuration) {
|
|
|
92
97
|
* @summary Retrieve the booking funnel
|
|
93
98
|
* @param {string} code Unique identifier for the object.
|
|
94
99
|
* @param {string} [authorization] Bearer Token
|
|
100
|
+
* @param {string} [language] Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
95
101
|
* @param {*} [options] Override http request option.
|
|
96
102
|
* @throws {RequiredError}
|
|
97
103
|
*/
|
|
98
|
-
async getBookingFunnel(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingFunnelResponseClass>> {
|
|
99
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingFunnel(code, authorization, options);
|
|
104
|
+
async getBookingFunnel(code: string, authorization?: string, language?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingFunnelResponseClass>> {
|
|
105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingFunnel(code, authorization, language, options);
|
|
100
106
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
101
107
|
},
|
|
102
108
|
}
|
|
@@ -114,11 +120,12 @@ export const BookingFunnelsApiFactory = function (configuration?: Configuration,
|
|
|
114
120
|
* @summary Retrieve the booking funnel
|
|
115
121
|
* @param {string} code Unique identifier for the object.
|
|
116
122
|
* @param {string} [authorization] Bearer Token
|
|
123
|
+
* @param {string} [language] Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
117
124
|
* @param {*} [options] Override http request option.
|
|
118
125
|
* @throws {RequiredError}
|
|
119
126
|
*/
|
|
120
|
-
getBookingFunnel(code: string, authorization?: string, options?: any): AxiosPromise<GetBookingFunnelResponseClass> {
|
|
121
|
-
return localVarFp.getBookingFunnel(code, authorization, options).then((request) => request(axios, basePath));
|
|
127
|
+
getBookingFunnel(code: string, authorization?: string, language?: string, options?: any): AxiosPromise<GetBookingFunnelResponseClass> {
|
|
128
|
+
return localVarFp.getBookingFunnel(code, authorization, language, options).then((request) => request(axios, basePath));
|
|
122
129
|
},
|
|
123
130
|
};
|
|
124
131
|
};
|
|
@@ -142,6 +149,13 @@ export interface BookingFunnelsApiGetBookingFunnelRequest {
|
|
|
142
149
|
* @memberof BookingFunnelsApiGetBookingFunnel
|
|
143
150
|
*/
|
|
144
151
|
readonly authorization?: string
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
155
|
+
* @type {string}
|
|
156
|
+
* @memberof BookingFunnelsApiGetBookingFunnel
|
|
157
|
+
*/
|
|
158
|
+
readonly language?: string
|
|
145
159
|
}
|
|
146
160
|
|
|
147
161
|
/**
|
|
@@ -160,6 +174,6 @@ export class BookingFunnelsApi extends BaseAPI {
|
|
|
160
174
|
* @memberof BookingFunnelsApi
|
|
161
175
|
*/
|
|
162
176
|
public getBookingFunnel(requestParameters: BookingFunnelsApiGetBookingFunnelRequest, options?: AxiosRequestConfig) {
|
|
163
|
-
return BookingFunnelsApiFp(this.configuration).getBookingFunnel(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
177
|
+
return BookingFunnelsApiFp(this.configuration).getBookingFunnel(requestParameters.code, requestParameters.authorization, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
164
178
|
}
|
|
165
179
|
}
|
package/api/products-api.ts
CHANGED
|
@@ -35,6 +35,8 @@ import { CreateEstimatedInvoiceResponseClass } from '../models';
|
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { GetCustomCssResponseClass } from '../models';
|
|
37
37
|
// @ts-ignore
|
|
38
|
+
import { GetProductLanguagesResponseClass } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
38
40
|
import { InsuredObjectClass } from '../models';
|
|
39
41
|
// @ts-ignore
|
|
40
42
|
import { InsuredObjectTypeClass } from '../models';
|
|
@@ -255,10 +257,12 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
255
257
|
* @summary List insured objects
|
|
256
258
|
* @param {string} productCode
|
|
257
259
|
* @param {string} [authorization] Bearer Token
|
|
260
|
+
* @param {string} [language]
|
|
261
|
+
* @param {number} [productVersionId]
|
|
258
262
|
* @param {*} [options] Override http request option.
|
|
259
263
|
* @throws {RequiredError}
|
|
260
264
|
*/
|
|
261
|
-
getInsuredObjects: async (productCode: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
265
|
+
getInsuredObjects: async (productCode: string, authorization?: string, language?: string, productVersionId?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
262
266
|
// verify required parameter 'productCode' is not null or undefined
|
|
263
267
|
assertParamExists('getInsuredObjects', 'productCode', productCode)
|
|
264
268
|
const localVarPath = `/publicapi/v1/products/{product_code}/insured-objects`
|
|
@@ -280,6 +284,14 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
280
284
|
// http bearer authentication required
|
|
281
285
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
282
286
|
|
|
287
|
+
if (language !== undefined) {
|
|
288
|
+
localVarQueryParameter['language'] = language;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
if (productVersionId !== undefined) {
|
|
292
|
+
localVarQueryParameter['product_version_id'] = productVersionId;
|
|
293
|
+
}
|
|
294
|
+
|
|
283
295
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
284
296
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
285
297
|
}
|
|
@@ -346,10 +358,12 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
346
358
|
* @param {string} productCode
|
|
347
359
|
* @param {string} allValues
|
|
348
360
|
* @param {string} [authorization] Bearer Token
|
|
361
|
+
* @param {string} [language]
|
|
362
|
+
* @param {number} [productVersionId]
|
|
349
363
|
* @param {*} [options] Override http request option.
|
|
350
364
|
* @throws {RequiredError}
|
|
351
365
|
*/
|
|
352
|
-
getProductFactors: async (productCode: string, allValues: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
366
|
+
getProductFactors: async (productCode: string, allValues: string, authorization?: string, language?: string, productVersionId?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
353
367
|
// verify required parameter 'productCode' is not null or undefined
|
|
354
368
|
assertParamExists('getProductFactors', 'productCode', productCode)
|
|
355
369
|
// verify required parameter 'allValues' is not null or undefined
|
|
@@ -377,6 +391,59 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
377
391
|
localVarQueryParameter['all_values'] = allValues;
|
|
378
392
|
}
|
|
379
393
|
|
|
394
|
+
if (language !== undefined) {
|
|
395
|
+
localVarQueryParameter['language'] = language;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
if (productVersionId !== undefined) {
|
|
399
|
+
localVarQueryParameter['product_version_id'] = productVersionId;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
403
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
410
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
411
|
+
|
|
412
|
+
return {
|
|
413
|
+
url: toPathString(localVarUrlObj),
|
|
414
|
+
options: localVarRequestOptions,
|
|
415
|
+
};
|
|
416
|
+
},
|
|
417
|
+
/**
|
|
418
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
419
|
+
* @summary Retrieve the product languages
|
|
420
|
+
* @param {string} productCode
|
|
421
|
+
* @param {string} [authorization] Bearer Token
|
|
422
|
+
* @param {*} [options] Override http request option.
|
|
423
|
+
* @throws {RequiredError}
|
|
424
|
+
*/
|
|
425
|
+
getProductLanguages: async (productCode: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
426
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
427
|
+
assertParamExists('getProductLanguages', 'productCode', productCode)
|
|
428
|
+
const localVarPath = `/publicapi/v1/products/{product_code}/languages`
|
|
429
|
+
.replace(`{${"product_code"}}`, encodeURIComponent(String(productCode)));
|
|
430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
432
|
+
let baseOptions;
|
|
433
|
+
let baseAccessToken;
|
|
434
|
+
if (configuration) {
|
|
435
|
+
baseOptions = configuration.baseOptions;
|
|
436
|
+
baseAccessToken = configuration.accessToken;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
440
|
+
const localVarHeaderParameter = {} as any;
|
|
441
|
+
const localVarQueryParameter = {} as any;
|
|
442
|
+
|
|
443
|
+
// authentication bearer required
|
|
444
|
+
// http bearer authentication required
|
|
445
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
446
|
+
|
|
380
447
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
381
448
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
382
449
|
}
|
|
@@ -534,11 +601,13 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
534
601
|
* @summary List insured objects
|
|
535
602
|
* @param {string} productCode
|
|
536
603
|
* @param {string} [authorization] Bearer Token
|
|
604
|
+
* @param {string} [language]
|
|
605
|
+
* @param {number} [productVersionId]
|
|
537
606
|
* @param {*} [options] Override http request option.
|
|
538
607
|
* @throws {RequiredError}
|
|
539
608
|
*/
|
|
540
|
-
async getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>> {
|
|
541
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, options);
|
|
609
|
+
async getInsuredObjects(productCode: string, authorization?: string, language?: string, productVersionId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>> {
|
|
610
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, language, productVersionId, options);
|
|
542
611
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
543
612
|
},
|
|
544
613
|
/**
|
|
@@ -559,11 +628,25 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
559
628
|
* @param {string} productCode
|
|
560
629
|
* @param {string} allValues
|
|
561
630
|
* @param {string} [authorization] Bearer Token
|
|
631
|
+
* @param {string} [language]
|
|
632
|
+
* @param {number} [productVersionId]
|
|
562
633
|
* @param {*} [options] Override http request option.
|
|
563
634
|
* @throws {RequiredError}
|
|
564
635
|
*/
|
|
565
|
-
async getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>> {
|
|
566
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options);
|
|
636
|
+
async getProductFactors(productCode: string, allValues: string, authorization?: string, language?: string, productVersionId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>> {
|
|
637
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, language, productVersionId, options);
|
|
638
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
639
|
+
},
|
|
640
|
+
/**
|
|
641
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
642
|
+
* @summary Retrieve the product languages
|
|
643
|
+
* @param {string} productCode
|
|
644
|
+
* @param {string} [authorization] Bearer Token
|
|
645
|
+
* @param {*} [options] Override http request option.
|
|
646
|
+
* @throws {RequiredError}
|
|
647
|
+
*/
|
|
648
|
+
async getProductLanguages(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductLanguagesResponseClass>> {
|
|
649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductLanguages(productCode, authorization, options);
|
|
567
650
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
568
651
|
},
|
|
569
652
|
/**
|
|
@@ -646,11 +729,13 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
646
729
|
* @summary List insured objects
|
|
647
730
|
* @param {string} productCode
|
|
648
731
|
* @param {string} [authorization] Bearer Token
|
|
732
|
+
* @param {string} [language]
|
|
733
|
+
* @param {number} [productVersionId]
|
|
649
734
|
* @param {*} [options] Override http request option.
|
|
650
735
|
* @throws {RequiredError}
|
|
651
736
|
*/
|
|
652
|
-
getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>> {
|
|
653
|
-
return localVarFp.getInsuredObjects(productCode, authorization, options).then((request) => request(axios, basePath));
|
|
737
|
+
getInsuredObjects(productCode: string, authorization?: string, language?: string, productVersionId?: number, options?: any): AxiosPromise<Array<InsuredObjectClass>> {
|
|
738
|
+
return localVarFp.getInsuredObjects(productCode, authorization, language, productVersionId, options).then((request) => request(axios, basePath));
|
|
654
739
|
},
|
|
655
740
|
/**
|
|
656
741
|
* This will generate a custom css for booking funnel, based on product.
|
|
@@ -669,11 +754,24 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
669
754
|
* @param {string} productCode
|
|
670
755
|
* @param {string} allValues
|
|
671
756
|
* @param {string} [authorization] Bearer Token
|
|
757
|
+
* @param {string} [language]
|
|
758
|
+
* @param {number} [productVersionId]
|
|
759
|
+
* @param {*} [options] Override http request option.
|
|
760
|
+
* @throws {RequiredError}
|
|
761
|
+
*/
|
|
762
|
+
getProductFactors(productCode: string, allValues: string, authorization?: string, language?: string, productVersionId?: number, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>> {
|
|
763
|
+
return localVarFp.getProductFactors(productCode, allValues, authorization, language, productVersionId, options).then((request) => request(axios, basePath));
|
|
764
|
+
},
|
|
765
|
+
/**
|
|
766
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
767
|
+
* @summary Retrieve the product languages
|
|
768
|
+
* @param {string} productCode
|
|
769
|
+
* @param {string} [authorization] Bearer Token
|
|
672
770
|
* @param {*} [options] Override http request option.
|
|
673
771
|
* @throws {RequiredError}
|
|
674
772
|
*/
|
|
675
|
-
|
|
676
|
-
return localVarFp.
|
|
773
|
+
getProductLanguages(productCode: string, authorization?: string, options?: any): AxiosPromise<GetProductLanguagesResponseClass> {
|
|
774
|
+
return localVarFp.getProductLanguages(productCode, authorization, options).then((request) => request(axios, basePath));
|
|
677
775
|
},
|
|
678
776
|
/**
|
|
679
777
|
* 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.
|
|
@@ -819,6 +917,20 @@ export interface ProductsApiGetInsuredObjectsRequest {
|
|
|
819
917
|
* @memberof ProductsApiGetInsuredObjects
|
|
820
918
|
*/
|
|
821
919
|
readonly authorization?: string
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
*
|
|
923
|
+
* @type {string}
|
|
924
|
+
* @memberof ProductsApiGetInsuredObjects
|
|
925
|
+
*/
|
|
926
|
+
readonly language?: string
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
*
|
|
930
|
+
* @type {number}
|
|
931
|
+
* @memberof ProductsApiGetInsuredObjects
|
|
932
|
+
*/
|
|
933
|
+
readonly productVersionId?: number
|
|
822
934
|
}
|
|
823
935
|
|
|
824
936
|
/**
|
|
@@ -868,6 +980,41 @@ export interface ProductsApiGetProductFactorsRequest {
|
|
|
868
980
|
* @memberof ProductsApiGetProductFactors
|
|
869
981
|
*/
|
|
870
982
|
readonly authorization?: string
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
*
|
|
986
|
+
* @type {string}
|
|
987
|
+
* @memberof ProductsApiGetProductFactors
|
|
988
|
+
*/
|
|
989
|
+
readonly language?: string
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
*
|
|
993
|
+
* @type {number}
|
|
994
|
+
* @memberof ProductsApiGetProductFactors
|
|
995
|
+
*/
|
|
996
|
+
readonly productVersionId?: number
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Request parameters for getProductLanguages operation in ProductsApi.
|
|
1001
|
+
* @export
|
|
1002
|
+
* @interface ProductsApiGetProductLanguagesRequest
|
|
1003
|
+
*/
|
|
1004
|
+
export interface ProductsApiGetProductLanguagesRequest {
|
|
1005
|
+
/**
|
|
1006
|
+
*
|
|
1007
|
+
* @type {string}
|
|
1008
|
+
* @memberof ProductsApiGetProductLanguages
|
|
1009
|
+
*/
|
|
1010
|
+
readonly productCode: string
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Bearer Token
|
|
1014
|
+
* @type {string}
|
|
1015
|
+
* @memberof ProductsApiGetProductLanguages
|
|
1016
|
+
*/
|
|
1017
|
+
readonly authorization?: string
|
|
871
1018
|
}
|
|
872
1019
|
|
|
873
1020
|
/**
|
|
@@ -997,7 +1144,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
997
1144
|
* @memberof ProductsApi
|
|
998
1145
|
*/
|
|
999
1146
|
public getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig) {
|
|
1000
|
-
return ProductsApiFp(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1147
|
+
return ProductsApiFp(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, requestParameters.language, requestParameters.productVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
1001
1148
|
}
|
|
1002
1149
|
|
|
1003
1150
|
/**
|
|
@@ -1021,7 +1168,19 @@ export class ProductsApi extends BaseAPI {
|
|
|
1021
1168
|
* @memberof ProductsApi
|
|
1022
1169
|
*/
|
|
1023
1170
|
public getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig) {
|
|
1024
|
-
return ProductsApiFp(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1171
|
+
return ProductsApiFp(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, requestParameters.language, requestParameters.productVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
1176
|
+
* @summary Retrieve the product languages
|
|
1177
|
+
* @param {ProductsApiGetProductLanguagesRequest} requestParameters Request parameters.
|
|
1178
|
+
* @param {*} [options] Override http request option.
|
|
1179
|
+
* @throws {RequiredError}
|
|
1180
|
+
* @memberof ProductsApi
|
|
1181
|
+
*/
|
|
1182
|
+
public getProductLanguages(requestParameters: ProductsApiGetProductLanguagesRequest, options?: AxiosRequestConfig) {
|
|
1183
|
+
return ProductsApiFp(this.configuration).getProductLanguages(requestParameters.productCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1025
1184
|
}
|
|
1026
1185
|
|
|
1027
1186
|
/**
|
|
@@ -23,10 +23,11 @@ export declare const BookingFunnelsApiAxiosParamCreator: (configuration?: Config
|
|
|
23
23
|
* @summary Retrieve the booking funnel
|
|
24
24
|
* @param {string} code Unique identifier for the object.
|
|
25
25
|
* @param {string} [authorization] Bearer Token
|
|
26
|
+
* @param {string} [language] Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
26
27
|
* @param {*} [options] Override http request option.
|
|
27
28
|
* @throws {RequiredError}
|
|
28
29
|
*/
|
|
29
|
-
getBookingFunnel: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
getBookingFunnel: (code: string, authorization?: string, language?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
31
|
};
|
|
31
32
|
/**
|
|
32
33
|
* BookingFunnelsApi - functional programming interface
|
|
@@ -38,10 +39,11 @@ export declare const BookingFunnelsApiFp: (configuration?: Configuration) => {
|
|
|
38
39
|
* @summary Retrieve the booking funnel
|
|
39
40
|
* @param {string} code Unique identifier for the object.
|
|
40
41
|
* @param {string} [authorization] Bearer Token
|
|
42
|
+
* @param {string} [language] Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
41
43
|
* @param {*} [options] Override http request option.
|
|
42
44
|
* @throws {RequiredError}
|
|
43
45
|
*/
|
|
44
|
-
getBookingFunnel(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingFunnelResponseClass>>;
|
|
46
|
+
getBookingFunnel(code: string, authorization?: string, language?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingFunnelResponseClass>>;
|
|
45
47
|
};
|
|
46
48
|
/**
|
|
47
49
|
* BookingFunnelsApi - factory interface
|
|
@@ -53,10 +55,11 @@ export declare const BookingFunnelsApiFactory: (configuration?: Configuration, b
|
|
|
53
55
|
* @summary Retrieve the booking funnel
|
|
54
56
|
* @param {string} code Unique identifier for the object.
|
|
55
57
|
* @param {string} [authorization] Bearer Token
|
|
58
|
+
* @param {string} [language] Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
56
59
|
* @param {*} [options] Override http request option.
|
|
57
60
|
* @throws {RequiredError}
|
|
58
61
|
*/
|
|
59
|
-
getBookingFunnel(code: string, authorization?: string, options?: any): AxiosPromise<GetBookingFunnelResponseClass>;
|
|
62
|
+
getBookingFunnel(code: string, authorization?: string, language?: string, options?: any): AxiosPromise<GetBookingFunnelResponseClass>;
|
|
60
63
|
};
|
|
61
64
|
/**
|
|
62
65
|
* Request parameters for getBookingFunnel operation in BookingFunnelsApi.
|
|
@@ -76,6 +79,12 @@ export interface BookingFunnelsApiGetBookingFunnelRequest {
|
|
|
76
79
|
* @memberof BookingFunnelsApiGetBookingFunnel
|
|
77
80
|
*/
|
|
78
81
|
readonly authorization?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof BookingFunnelsApiGetBookingFunnel
|
|
86
|
+
*/
|
|
87
|
+
readonly language?: string;
|
|
79
88
|
}
|
|
80
89
|
/**
|
|
81
90
|
* BookingFunnelsApi - object-oriented interface
|
|
@@ -101,10 +101,11 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
* @summary Retrieve the booking funnel
|
|
102
102
|
* @param {string} code Unique identifier for the object.
|
|
103
103
|
* @param {string} [authorization] Bearer Token
|
|
104
|
+
* @param {string} [language] Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
104
105
|
* @param {*} [options] Override http request option.
|
|
105
106
|
* @throws {RequiredError}
|
|
106
107
|
*/
|
|
107
|
-
getBookingFunnel: function (code, authorization, options) {
|
|
108
|
+
getBookingFunnel: function (code, authorization, language, options) {
|
|
108
109
|
if (options === void 0) { options = {}; }
|
|
109
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -130,6 +131,9 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
130
131
|
// authentication bearer required
|
|
131
132
|
// http bearer authentication required
|
|
132
133
|
_a.sent();
|
|
134
|
+
if (language !== undefined) {
|
|
135
|
+
localVarQueryParameter['language'] = language;
|
|
136
|
+
}
|
|
133
137
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
134
138
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
135
139
|
}
|
|
@@ -159,15 +163,16 @@ var BookingFunnelsApiFp = function (configuration) {
|
|
|
159
163
|
* @summary Retrieve the booking funnel
|
|
160
164
|
* @param {string} code Unique identifier for the object.
|
|
161
165
|
* @param {string} [authorization] Bearer Token
|
|
166
|
+
* @param {string} [language] Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
162
167
|
* @param {*} [options] Override http request option.
|
|
163
168
|
* @throws {RequiredError}
|
|
164
169
|
*/
|
|
165
|
-
getBookingFunnel: function (code, authorization, options) {
|
|
170
|
+
getBookingFunnel: function (code, authorization, language, options) {
|
|
166
171
|
return __awaiter(this, void 0, void 0, function () {
|
|
167
172
|
var localVarAxiosArgs;
|
|
168
173
|
return __generator(this, function (_a) {
|
|
169
174
|
switch (_a.label) {
|
|
170
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBookingFunnel(code, authorization, options)];
|
|
175
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBookingFunnel(code, authorization, language, options)];
|
|
171
176
|
case 1:
|
|
172
177
|
localVarAxiosArgs = _a.sent();
|
|
173
178
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -190,11 +195,12 @@ var BookingFunnelsApiFactory = function (configuration, basePath, axios) {
|
|
|
190
195
|
* @summary Retrieve the booking funnel
|
|
191
196
|
* @param {string} code Unique identifier for the object.
|
|
192
197
|
* @param {string} [authorization] Bearer Token
|
|
198
|
+
* @param {string} [language] Language to return the funnel text in. Omit it, or pass the product\'s default language, to get the funnel as it was authored. Any text that has no translation stays in the default language.
|
|
193
199
|
* @param {*} [options] Override http request option.
|
|
194
200
|
* @throws {RequiredError}
|
|
195
201
|
*/
|
|
196
|
-
getBookingFunnel: function (code, authorization, options) {
|
|
197
|
-
return localVarFp.getBookingFunnel(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
202
|
+
getBookingFunnel: function (code, authorization, language, options) {
|
|
203
|
+
return localVarFp.getBookingFunnel(code, authorization, language, options).then(function (request) { return request(axios, basePath); });
|
|
198
204
|
},
|
|
199
205
|
};
|
|
200
206
|
};
|
|
@@ -220,7 +226,7 @@ var BookingFunnelsApi = /** @class */ (function (_super) {
|
|
|
220
226
|
*/
|
|
221
227
|
BookingFunnelsApi.prototype.getBookingFunnel = function (requestParameters, options) {
|
|
222
228
|
var _this = this;
|
|
223
|
-
return (0, exports.BookingFunnelsApiFp)(this.configuration).getBookingFunnel(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
229
|
+
return (0, exports.BookingFunnelsApiFp)(this.configuration).getBookingFunnel(requestParameters.code, requestParameters.authorization, requestParameters.language, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
224
230
|
};
|
|
225
231
|
return BookingFunnelsApi;
|
|
226
232
|
}(base_1.BaseAPI));
|
|
@@ -19,6 +19,7 @@ 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';
|
|
22
23
|
import { InsuredObjectClass } from '../models';
|
|
23
24
|
import { InsuredObjectTypeClass } from '../models';
|
|
24
25
|
import { ListProductsResponseClass } from '../models';
|
|
@@ -72,10 +73,12 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
72
73
|
* @summary List insured objects
|
|
73
74
|
* @param {string} productCode
|
|
74
75
|
* @param {string} [authorization] Bearer Token
|
|
76
|
+
* @param {string} [language]
|
|
77
|
+
* @param {number} [productVersionId]
|
|
75
78
|
* @param {*} [options] Override http request option.
|
|
76
79
|
* @throws {RequiredError}
|
|
77
80
|
*/
|
|
78
|
-
getInsuredObjects: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
|
+
getInsuredObjects: (productCode: string, authorization?: string, language?: string, productVersionId?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
82
|
/**
|
|
80
83
|
* This will generate a custom css for booking funnel, based on product.
|
|
81
84
|
* @summary Generate a custom CSS
|
|
@@ -91,10 +94,21 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
91
94
|
* @param {string} productCode
|
|
92
95
|
* @param {string} allValues
|
|
93
96
|
* @param {string} [authorization] Bearer Token
|
|
97
|
+
* @param {string} [language]
|
|
98
|
+
* @param {number} [productVersionId]
|
|
94
99
|
* @param {*} [options] Override http request option.
|
|
95
100
|
* @throws {RequiredError}
|
|
96
101
|
*/
|
|
97
|
-
getProductFactors: (productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
102
|
+
getProductFactors: (productCode: string, allValues: string, authorization?: string, language?: string, productVersionId?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
103
|
+
/**
|
|
104
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
105
|
+
* @summary Retrieve the product languages
|
|
106
|
+
* @param {string} productCode
|
|
107
|
+
* @param {string} [authorization] Bearer Token
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
getProductLanguages: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
98
112
|
/**
|
|
99
113
|
* 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.
|
|
100
114
|
* @summary List products
|
|
@@ -160,10 +174,12 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
160
174
|
* @summary List insured objects
|
|
161
175
|
* @param {string} productCode
|
|
162
176
|
* @param {string} [authorization] Bearer Token
|
|
177
|
+
* @param {string} [language]
|
|
178
|
+
* @param {number} [productVersionId]
|
|
163
179
|
* @param {*} [options] Override http request option.
|
|
164
180
|
* @throws {RequiredError}
|
|
165
181
|
*/
|
|
166
|
-
getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>>;
|
|
182
|
+
getInsuredObjects(productCode: string, authorization?: string, language?: string, productVersionId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>>;
|
|
167
183
|
/**
|
|
168
184
|
* This will generate a custom css for booking funnel, based on product.
|
|
169
185
|
* @summary Generate a custom CSS
|
|
@@ -179,10 +195,21 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
179
195
|
* @param {string} productCode
|
|
180
196
|
* @param {string} allValues
|
|
181
197
|
* @param {string} [authorization] Bearer Token
|
|
198
|
+
* @param {string} [language]
|
|
199
|
+
* @param {number} [productVersionId]
|
|
182
200
|
* @param {*} [options] Override http request option.
|
|
183
201
|
* @throws {RequiredError}
|
|
184
202
|
*/
|
|
185
|
-
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>>;
|
|
203
|
+
getProductFactors(productCode: string, allValues: string, authorization?: string, language?: string, productVersionId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>>;
|
|
204
|
+
/**
|
|
205
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
206
|
+
* @summary Retrieve the product languages
|
|
207
|
+
* @param {string} productCode
|
|
208
|
+
* @param {string} [authorization] Bearer Token
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
getProductLanguages(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductLanguagesResponseClass>>;
|
|
186
213
|
/**
|
|
187
214
|
* 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.
|
|
188
215
|
* @summary List products
|
|
@@ -248,10 +275,12 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
248
275
|
* @summary List insured objects
|
|
249
276
|
* @param {string} productCode
|
|
250
277
|
* @param {string} [authorization] Bearer Token
|
|
278
|
+
* @param {string} [language]
|
|
279
|
+
* @param {number} [productVersionId]
|
|
251
280
|
* @param {*} [options] Override http request option.
|
|
252
281
|
* @throws {RequiredError}
|
|
253
282
|
*/
|
|
254
|
-
getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>>;
|
|
283
|
+
getInsuredObjects(productCode: string, authorization?: string, language?: string, productVersionId?: number, options?: any): AxiosPromise<Array<InsuredObjectClass>>;
|
|
255
284
|
/**
|
|
256
285
|
* This will generate a custom css for booking funnel, based on product.
|
|
257
286
|
* @summary Generate a custom CSS
|
|
@@ -267,10 +296,21 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
267
296
|
* @param {string} productCode
|
|
268
297
|
* @param {string} allValues
|
|
269
298
|
* @param {string} [authorization] Bearer Token
|
|
299
|
+
* @param {string} [language]
|
|
300
|
+
* @param {number} [productVersionId]
|
|
270
301
|
* @param {*} [options] Override http request option.
|
|
271
302
|
* @throws {RequiredError}
|
|
272
303
|
*/
|
|
273
|
-
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>>;
|
|
304
|
+
getProductFactors(productCode: string, allValues: string, authorization?: string, language?: string, productVersionId?: number, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>>;
|
|
305
|
+
/**
|
|
306
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
307
|
+
* @summary Retrieve the product languages
|
|
308
|
+
* @param {string} productCode
|
|
309
|
+
* @param {string} [authorization] Bearer Token
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
getProductLanguages(productCode: string, authorization?: string, options?: any): AxiosPromise<GetProductLanguagesResponseClass>;
|
|
274
314
|
/**
|
|
275
315
|
* 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.
|
|
276
316
|
* @summary List products
|
|
@@ -399,6 +439,18 @@ export interface ProductsApiGetInsuredObjectsRequest {
|
|
|
399
439
|
* @memberof ProductsApiGetInsuredObjects
|
|
400
440
|
*/
|
|
401
441
|
readonly authorization?: string;
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @type {string}
|
|
445
|
+
* @memberof ProductsApiGetInsuredObjects
|
|
446
|
+
*/
|
|
447
|
+
readonly language?: string;
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @type {number}
|
|
451
|
+
* @memberof ProductsApiGetInsuredObjects
|
|
452
|
+
*/
|
|
453
|
+
readonly productVersionId?: number;
|
|
402
454
|
}
|
|
403
455
|
/**
|
|
404
456
|
* Request parameters for getProductCustomCss operation in ProductsApi.
|
|
@@ -443,6 +495,37 @@ export interface ProductsApiGetProductFactorsRequest {
|
|
|
443
495
|
* @memberof ProductsApiGetProductFactors
|
|
444
496
|
*/
|
|
445
497
|
readonly authorization?: string;
|
|
498
|
+
/**
|
|
499
|
+
*
|
|
500
|
+
* @type {string}
|
|
501
|
+
* @memberof ProductsApiGetProductFactors
|
|
502
|
+
*/
|
|
503
|
+
readonly language?: string;
|
|
504
|
+
/**
|
|
505
|
+
*
|
|
506
|
+
* @type {number}
|
|
507
|
+
* @memberof ProductsApiGetProductFactors
|
|
508
|
+
*/
|
|
509
|
+
readonly productVersionId?: number;
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Request parameters for getProductLanguages operation in ProductsApi.
|
|
513
|
+
* @export
|
|
514
|
+
* @interface ProductsApiGetProductLanguagesRequest
|
|
515
|
+
*/
|
|
516
|
+
export interface ProductsApiGetProductLanguagesRequest {
|
|
517
|
+
/**
|
|
518
|
+
*
|
|
519
|
+
* @type {string}
|
|
520
|
+
* @memberof ProductsApiGetProductLanguages
|
|
521
|
+
*/
|
|
522
|
+
readonly productCode: string;
|
|
523
|
+
/**
|
|
524
|
+
* Bearer Token
|
|
525
|
+
* @type {string}
|
|
526
|
+
* @memberof ProductsApiGetProductLanguages
|
|
527
|
+
*/
|
|
528
|
+
readonly authorization?: string;
|
|
446
529
|
}
|
|
447
530
|
/**
|
|
448
531
|
* Request parameters for listProducts operation in ProductsApi.
|
|
@@ -569,6 +652,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
569
652
|
* @memberof ProductsApi
|
|
570
653
|
*/
|
|
571
654
|
getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any, {}>>;
|
|
655
|
+
/**
|
|
656
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
657
|
+
* @summary Retrieve the product languages
|
|
658
|
+
* @param {ProductsApiGetProductLanguagesRequest} requestParameters Request parameters.
|
|
659
|
+
* @param {*} [options] Override http request option.
|
|
660
|
+
* @throws {RequiredError}
|
|
661
|
+
* @memberof ProductsApi
|
|
662
|
+
*/
|
|
663
|
+
getProductLanguages(requestParameters: ProductsApiGetProductLanguagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductLanguagesResponseClass, any, {}>>;
|
|
572
664
|
/**
|
|
573
665
|
* 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.
|
|
574
666
|
* @summary List products
|
package/dist/api/products-api.js
CHANGED
|
@@ -308,10 +308,12 @@ 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]
|
|
311
313
|
* @param {*} [options] Override http request option.
|
|
312
314
|
* @throws {RequiredError}
|
|
313
315
|
*/
|
|
314
|
-
getInsuredObjects: function (productCode, authorization, options) {
|
|
316
|
+
getInsuredObjects: function (productCode, authorization, language, productVersionId, options) {
|
|
315
317
|
if (options === void 0) { options = {}; }
|
|
316
318
|
return __awaiter(_this, void 0, void 0, function () {
|
|
317
319
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -337,6 +339,12 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
337
339
|
// authentication bearer required
|
|
338
340
|
// http bearer authentication required
|
|
339
341
|
_a.sent();
|
|
342
|
+
if (language !== undefined) {
|
|
343
|
+
localVarQueryParameter['language'] = language;
|
|
344
|
+
}
|
|
345
|
+
if (productVersionId !== undefined) {
|
|
346
|
+
localVarQueryParameter['product_version_id'] = productVersionId;
|
|
347
|
+
}
|
|
340
348
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
341
349
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
342
350
|
}
|
|
@@ -405,10 +413,12 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
405
413
|
* @param {string} productCode
|
|
406
414
|
* @param {string} allValues
|
|
407
415
|
* @param {string} [authorization] Bearer Token
|
|
416
|
+
* @param {string} [language]
|
|
417
|
+
* @param {number} [productVersionId]
|
|
408
418
|
* @param {*} [options] Override http request option.
|
|
409
419
|
* @throws {RequiredError}
|
|
410
420
|
*/
|
|
411
|
-
getProductFactors: function (productCode, allValues, authorization, options) {
|
|
421
|
+
getProductFactors: function (productCode, allValues, authorization, language, productVersionId, options) {
|
|
412
422
|
if (options === void 0) { options = {}; }
|
|
413
423
|
return __awaiter(_this, void 0, void 0, function () {
|
|
414
424
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -439,6 +449,60 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
439
449
|
if (allValues !== undefined) {
|
|
440
450
|
localVarQueryParameter['all_values'] = allValues;
|
|
441
451
|
}
|
|
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_1.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();
|
|
442
506
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
443
507
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
444
508
|
}
|
|
@@ -627,15 +691,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
627
691
|
* @summary List insured objects
|
|
628
692
|
* @param {string} productCode
|
|
629
693
|
* @param {string} [authorization] Bearer Token
|
|
694
|
+
* @param {string} [language]
|
|
695
|
+
* @param {number} [productVersionId]
|
|
630
696
|
* @param {*} [options] Override http request option.
|
|
631
697
|
* @throws {RequiredError}
|
|
632
698
|
*/
|
|
633
|
-
getInsuredObjects: function (productCode, authorization, options) {
|
|
699
|
+
getInsuredObjects: function (productCode, authorization, language, productVersionId, options) {
|
|
634
700
|
return __awaiter(this, void 0, void 0, function () {
|
|
635
701
|
var localVarAxiosArgs;
|
|
636
702
|
return __generator(this, function (_a) {
|
|
637
703
|
switch (_a.label) {
|
|
638
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, options)];
|
|
704
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, language, productVersionId, options)];
|
|
639
705
|
case 1:
|
|
640
706
|
localVarAxiosArgs = _a.sent();
|
|
641
707
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -670,15 +736,38 @@ var ProductsApiFp = function (configuration) {
|
|
|
670
736
|
* @param {string} productCode
|
|
671
737
|
* @param {string} allValues
|
|
672
738
|
* @param {string} [authorization] Bearer Token
|
|
739
|
+
* @param {string} [language]
|
|
740
|
+
* @param {number} [productVersionId]
|
|
673
741
|
* @param {*} [options] Override http request option.
|
|
674
742
|
* @throws {RequiredError}
|
|
675
743
|
*/
|
|
676
|
-
getProductFactors: function (productCode, allValues, authorization, options) {
|
|
744
|
+
getProductFactors: function (productCode, allValues, authorization, language, productVersionId, options) {
|
|
677
745
|
return __awaiter(this, void 0, void 0, function () {
|
|
678
746
|
var localVarAxiosArgs;
|
|
679
747
|
return __generator(this, function (_a) {
|
|
680
748
|
switch (_a.label) {
|
|
681
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options)];
|
|
749
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, language, productVersionId, options)];
|
|
750
|
+
case 1:
|
|
751
|
+
localVarAxiosArgs = _a.sent();
|
|
752
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
753
|
+
}
|
|
754
|
+
});
|
|
755
|
+
});
|
|
756
|
+
},
|
|
757
|
+
/**
|
|
758
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
759
|
+
* @summary Retrieve the product languages
|
|
760
|
+
* @param {string} productCode
|
|
761
|
+
* @param {string} [authorization] Bearer Token
|
|
762
|
+
* @param {*} [options] Override http request option.
|
|
763
|
+
* @throws {RequiredError}
|
|
764
|
+
*/
|
|
765
|
+
getProductLanguages: function (productCode, authorization, options) {
|
|
766
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
767
|
+
var localVarAxiosArgs;
|
|
768
|
+
return __generator(this, function (_a) {
|
|
769
|
+
switch (_a.label) {
|
|
770
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductLanguages(productCode, authorization, options)];
|
|
682
771
|
case 1:
|
|
683
772
|
localVarAxiosArgs = _a.sent();
|
|
684
773
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -775,11 +864,13 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
775
864
|
* @summary List insured objects
|
|
776
865
|
* @param {string} productCode
|
|
777
866
|
* @param {string} [authorization] Bearer Token
|
|
867
|
+
* @param {string} [language]
|
|
868
|
+
* @param {number} [productVersionId]
|
|
778
869
|
* @param {*} [options] Override http request option.
|
|
779
870
|
* @throws {RequiredError}
|
|
780
871
|
*/
|
|
781
|
-
getInsuredObjects: function (productCode, authorization, options) {
|
|
782
|
-
return localVarFp.getInsuredObjects(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
872
|
+
getInsuredObjects: function (productCode, authorization, language, productVersionId, options) {
|
|
873
|
+
return localVarFp.getInsuredObjects(productCode, authorization, language, productVersionId, options).then(function (request) { return request(axios, basePath); });
|
|
783
874
|
},
|
|
784
875
|
/**
|
|
785
876
|
* This will generate a custom css for booking funnel, based on product.
|
|
@@ -798,11 +889,24 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
798
889
|
* @param {string} productCode
|
|
799
890
|
* @param {string} allValues
|
|
800
891
|
* @param {string} [authorization] Bearer Token
|
|
892
|
+
* @param {string} [language]
|
|
893
|
+
* @param {number} [productVersionId]
|
|
801
894
|
* @param {*} [options] Override http request option.
|
|
802
895
|
* @throws {RequiredError}
|
|
803
896
|
*/
|
|
804
|
-
getProductFactors: function (productCode, allValues, authorization, options) {
|
|
805
|
-
return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
897
|
+
getProductFactors: function (productCode, allValues, authorization, language, productVersionId, options) {
|
|
898
|
+
return localVarFp.getProductFactors(productCode, allValues, authorization, language, productVersionId, options).then(function (request) { return request(axios, basePath); });
|
|
899
|
+
},
|
|
900
|
+
/**
|
|
901
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
902
|
+
* @summary Retrieve the product languages
|
|
903
|
+
* @param {string} productCode
|
|
904
|
+
* @param {string} [authorization] Bearer Token
|
|
905
|
+
* @param {*} [options] Override http request option.
|
|
906
|
+
* @throws {RequiredError}
|
|
907
|
+
*/
|
|
908
|
+
getProductLanguages: function (productCode, authorization, options) {
|
|
909
|
+
return localVarFp.getProductLanguages(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
806
910
|
},
|
|
807
911
|
/**
|
|
808
912
|
* 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.
|
|
@@ -893,7 +997,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
893
997
|
*/
|
|
894
998
|
ProductsApi.prototype.getInsuredObjects = function (requestParameters, options) {
|
|
895
999
|
var _this = this;
|
|
896
|
-
return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1000
|
+
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); });
|
|
897
1001
|
};
|
|
898
1002
|
/**
|
|
899
1003
|
* This will generate a custom css for booking funnel, based on product.
|
|
@@ -917,7 +1021,19 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
917
1021
|
*/
|
|
918
1022
|
ProductsApi.prototype.getProductFactors = function (requestParameters, options) {
|
|
919
1023
|
var _this = this;
|
|
920
|
-
return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1024
|
+
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); });
|
|
1025
|
+
};
|
|
1026
|
+
/**
|
|
1027
|
+
* This returns the languages a product can be shown in: its default language, followed by every additional language that has been activated.
|
|
1028
|
+
* @summary Retrieve the product languages
|
|
1029
|
+
* @param {ProductsApiGetProductLanguagesRequest} requestParameters Request parameters.
|
|
1030
|
+
* @param {*} [options] Override http request option.
|
|
1031
|
+
* @throws {RequiredError}
|
|
1032
|
+
* @memberof ProductsApi
|
|
1033
|
+
*/
|
|
1034
|
+
ProductsApi.prototype.getProductLanguages = function (requestParameters, options) {
|
|
1035
|
+
var _this = this;
|
|
1036
|
+
return (0, exports.ProductsApiFp)(this.configuration).getProductLanguages(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
921
1037
|
};
|
|
922
1038
|
/**
|
|
923
1039
|
* 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.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetProductLanguagesResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface GetProductLanguagesResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* The language the product itself is written in.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetProductLanguagesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'defaultLanguage': string;
|
|
24
|
+
/**
|
|
25
|
+
* Languages the product can be shown in: its default language, followed by every additional language that has been activated.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof GetProductLanguagesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'languages': Array<string>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ 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';
|
|
54
55
|
export * from './get-public-psp-settings-response-class';
|
|
55
56
|
export * from './initiate-adyen-payment-setup-request-dto';
|
|
56
57
|
export * from './initiate-adyen-payment-setup-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -67,6 +67,7 @@ __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);
|
|
70
71
|
__exportStar(require("./get-public-psp-settings-response-class"), exports);
|
|
71
72
|
__exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
|
|
72
73
|
__exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
|
|
@@ -39,6 +39,24 @@ 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;
|
|
42
60
|
/**
|
|
43
61
|
* Product field type.
|
|
44
62
|
* @type {string}
|
|
@@ -27,6 +27,12 @@ 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;
|
|
30
36
|
/**
|
|
31
37
|
* Unique identifier referencing the product.
|
|
32
38
|
* @type {number}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GetProductLanguagesResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProductLanguagesResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* The language the product itself is written in.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GetProductLanguagesResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'defaultLanguage': string;
|
|
29
|
+
/**
|
|
30
|
+
* Languages the product can be shown in: its default language, followed by every additional language that has been activated.
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof GetProductLanguagesResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'languages': Array<string>;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/index.ts
CHANGED
|
@@ -51,6 +51,7 @@ 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';
|
|
54
55
|
export * from './get-public-psp-settings-response-class';
|
|
55
56
|
export * from './initiate-adyen-payment-setup-request-dto';
|
|
56
57
|
export * from './initiate-adyen-payment-setup-response-class';
|
|
@@ -44,6 +44,24 @@ export interface ProductFieldClass {
|
|
|
44
44
|
* @memberof ProductFieldClass
|
|
45
45
|
*/
|
|
46
46
|
'label': string;
|
|
47
|
+
/**
|
|
48
|
+
* Label shown for this field on the booking funnel.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProductFieldClass
|
|
51
|
+
*/
|
|
52
|
+
'bfLabel'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Description shown under this field on the booking funnel.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ProductFieldClass
|
|
57
|
+
*/
|
|
58
|
+
'bfDescription'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Tooltip shown next to this field on the booking funnel.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ProductFieldClass
|
|
63
|
+
*/
|
|
64
|
+
'bfTooltip'?: string;
|
|
47
65
|
/**
|
|
48
66
|
* Product field type.
|
|
49
67
|
* @type {string}
|
|
@@ -32,6 +32,12 @@ export interface ProductVersionClass {
|
|
|
32
32
|
* @memberof ProductVersionClass
|
|
33
33
|
*/
|
|
34
34
|
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ProductVersionClass
|
|
39
|
+
*/
|
|
40
|
+
'slug': string;
|
|
35
41
|
/**
|
|
36
42
|
* Unique identifier referencing the product.
|
|
37
43
|
* @type {number}
|