@emilgroup/insurance-sdk-node 1.7.4 → 1.8.0
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 +0 -1
- package/README.md +2 -2
- package/api/insured-objects-api.ts +101 -0
- package/api/leads-api.ts +8 -8
- package/api/product-factors-api.ts +4 -4
- package/api/product-versions-api.ts +0 -103
- package/dist/api/insured-objects-api.d.ts +55 -0
- package/dist/api/insured-objects-api.js +92 -0
- package/dist/api/leads-api.d.ts +8 -8
- package/dist/api/leads-api.js +8 -8
- package/dist/api/product-factors-api.d.ts +4 -4
- package/dist/api/product-factors-api.js +4 -4
- package/dist/api/product-versions-api.d.ts +0 -53
- package/dist/api/product-versions-api.js +0 -89
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/models/index.ts +0 -1
- package/package.json +1 -1
- package/dist/models/clone-product-version-response-class.d.ts +0 -25
- package/dist/models/clone-product-version-response-class.js +0 -15
- package/models/clone-product-version-response-class.ts +0 -31
package/.openapi-generator/FILES
CHANGED
|
@@ -20,7 +20,6 @@ index.ts
|
|
|
20
20
|
models/calculate-custom-premium-request-dto.ts
|
|
21
21
|
models/calculate-premium-request-dto.ts
|
|
22
22
|
models/clone-product-version-request-dto.ts
|
|
23
|
-
models/clone-product-version-response-class.ts
|
|
24
23
|
models/create-account-request-dto.ts
|
|
25
24
|
models/create-bank-account-request-dto.ts
|
|
26
25
|
models/create-custom-application-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/insurance-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.8.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.8.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -85,6 +85,51 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
85
85
|
options: localVarRequestOptions,
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
|
+
/**
|
|
89
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
90
|
+
* @summary Delete the insured object
|
|
91
|
+
* @param {string} id
|
|
92
|
+
* @param {string} [authorization] Bearer Token
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
deleteInsuredObject: async (id: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
97
|
+
// verify required parameter 'id' is not null or undefined
|
|
98
|
+
assertParamExists('deleteInsuredObject', 'id', id)
|
|
99
|
+
const localVarPath = `/insuranceservice/v1/insured-objects/{id}`
|
|
100
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
101
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103
|
+
let baseOptions;
|
|
104
|
+
let baseAccessToken;
|
|
105
|
+
if (configuration) {
|
|
106
|
+
baseOptions = configuration.baseOptions;
|
|
107
|
+
baseAccessToken = configuration.accessToken;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
111
|
+
const localVarHeaderParameter = {} as any;
|
|
112
|
+
const localVarQueryParameter = {} as any;
|
|
113
|
+
|
|
114
|
+
// authentication bearer required
|
|
115
|
+
// http bearer authentication required
|
|
116
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
117
|
+
|
|
118
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
119
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
125
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
127
|
+
|
|
128
|
+
return {
|
|
129
|
+
url: toPathString(localVarUrlObj),
|
|
130
|
+
options: localVarRequestOptions,
|
|
131
|
+
};
|
|
132
|
+
},
|
|
88
133
|
/**
|
|
89
134
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
90
135
|
* @summary Retrieve the insured object
|
|
@@ -225,6 +270,18 @@ export const InsuredObjectsApiFp = function(configuration?: Configuration) {
|
|
|
225
270
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createInsuredObject(createInsuredObjectRequestDto, authorization, options);
|
|
226
271
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
227
272
|
},
|
|
273
|
+
/**
|
|
274
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
275
|
+
* @summary Delete the insured object
|
|
276
|
+
* @param {string} id
|
|
277
|
+
* @param {string} [authorization] Bearer Token
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
async deleteInsuredObject(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
282
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInsuredObject(id, authorization, options);
|
|
283
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
284
|
+
},
|
|
228
285
|
/**
|
|
229
286
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
230
287
|
* @summary Retrieve the insured object
|
|
@@ -276,6 +333,17 @@ export const InsuredObjectsApiFactory = function (configuration?: Configuration,
|
|
|
276
333
|
createInsuredObject(createInsuredObjectRequestDto: CreateInsuredObjectRequestDto, authorization?: string, options?: any): AxiosPromise<CreateInsuredObjectResponseClass> {
|
|
277
334
|
return localVarFp.createInsuredObject(createInsuredObjectRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
278
335
|
},
|
|
336
|
+
/**
|
|
337
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
338
|
+
* @summary Delete the insured object
|
|
339
|
+
* @param {string} id
|
|
340
|
+
* @param {string} [authorization] Bearer Token
|
|
341
|
+
* @param {*} [options] Override http request option.
|
|
342
|
+
* @throws {RequiredError}
|
|
343
|
+
*/
|
|
344
|
+
deleteInsuredObject(id: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
345
|
+
return localVarFp.deleteInsuredObject(id, authorization, options).then((request) => request(axios, basePath));
|
|
346
|
+
},
|
|
279
347
|
/**
|
|
280
348
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
281
349
|
* @summary Retrieve the insured object
|
|
@@ -328,6 +396,27 @@ export interface InsuredObjectsApiCreateInsuredObjectRequest {
|
|
|
328
396
|
readonly authorization?: string
|
|
329
397
|
}
|
|
330
398
|
|
|
399
|
+
/**
|
|
400
|
+
* Request parameters for deleteInsuredObject operation in InsuredObjectsApi.
|
|
401
|
+
* @export
|
|
402
|
+
* @interface InsuredObjectsApiDeleteInsuredObjectRequest
|
|
403
|
+
*/
|
|
404
|
+
export interface InsuredObjectsApiDeleteInsuredObjectRequest {
|
|
405
|
+
/**
|
|
406
|
+
*
|
|
407
|
+
* @type {string}
|
|
408
|
+
* @memberof InsuredObjectsApiDeleteInsuredObject
|
|
409
|
+
*/
|
|
410
|
+
readonly id: string
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Bearer Token
|
|
414
|
+
* @type {string}
|
|
415
|
+
* @memberof InsuredObjectsApiDeleteInsuredObject
|
|
416
|
+
*/
|
|
417
|
+
readonly authorization?: string
|
|
418
|
+
}
|
|
419
|
+
|
|
331
420
|
/**
|
|
332
421
|
* Request parameters for getInsuredObject operation in InsuredObjectsApi.
|
|
333
422
|
* @export
|
|
@@ -431,6 +520,18 @@ export class InsuredObjectsApi extends BaseAPI {
|
|
|
431
520
|
return InsuredObjectsApiFp(this.configuration).createInsuredObject(requestParameters.createInsuredObjectRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
432
521
|
}
|
|
433
522
|
|
|
523
|
+
/**
|
|
524
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
525
|
+
* @summary Delete the insured object
|
|
526
|
+
* @param {InsuredObjectsApiDeleteInsuredObjectRequest} requestParameters Request parameters.
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
* @memberof InsuredObjectsApi
|
|
530
|
+
*/
|
|
531
|
+
public deleteInsuredObject(requestParameters: InsuredObjectsApiDeleteInsuredObjectRequest, options?: AxiosRequestConfig) {
|
|
532
|
+
return InsuredObjectsApiFp(this.configuration).deleteInsuredObject(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
533
|
+
}
|
|
534
|
+
|
|
434
535
|
/**
|
|
435
536
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
436
537
|
* @summary Retrieve the insured object
|
package/api/leads-api.ts
CHANGED
|
@@ -142,8 +142,8 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
142
142
|
};
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* Returns a list of
|
|
146
|
-
* @summary List
|
|
145
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
146
|
+
* @summary List leads
|
|
147
147
|
* @param {string} [authorization] Bearer Token
|
|
148
148
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
149
149
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -299,8 +299,8 @@ export const LeadsApiFp = function(configuration?: Configuration) {
|
|
|
299
299
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
300
300
|
},
|
|
301
301
|
/**
|
|
302
|
-
* Returns a list of
|
|
303
|
-
* @summary List
|
|
302
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
303
|
+
* @summary List leads
|
|
304
304
|
* @param {string} [authorization] Bearer Token
|
|
305
305
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
306
306
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -362,8 +362,8 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
|
|
|
362
362
|
return localVarFp.getLead(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
363
363
|
},
|
|
364
364
|
/**
|
|
365
|
-
* Returns a list of
|
|
366
|
-
* @summary List
|
|
365
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
366
|
+
* @summary List leads
|
|
367
367
|
* @param {string} [authorization] Bearer Token
|
|
368
368
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
369
369
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -557,8 +557,8 @@ export class LeadsApi extends BaseAPI {
|
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
/**
|
|
560
|
-
* Returns a list of
|
|
561
|
-
* @summary List
|
|
560
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
561
|
+
* @summary List leads
|
|
562
562
|
* @param {LeadsApiListLeadsRequest} requestParameters Request parameters.
|
|
563
563
|
* @param {*} [options] Override http request option.
|
|
564
564
|
* @throws {RequiredError}
|
|
@@ -170,7 +170,7 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
170
170
|
},
|
|
171
171
|
/**
|
|
172
172
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
173
|
-
* @summary
|
|
173
|
+
* @summary List product factors for version
|
|
174
174
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
175
175
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
176
176
|
* @param {string} [authorization] Bearer Token
|
|
@@ -445,7 +445,7 @@ export const ProductFactorsApiFp = function(configuration?: Configuration) {
|
|
|
445
445
|
},
|
|
446
446
|
/**
|
|
447
447
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
448
|
-
* @summary
|
|
448
|
+
* @summary List product factors for version
|
|
449
449
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
450
450
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
451
451
|
* @param {string} [authorization] Bearer Token
|
|
@@ -538,7 +538,7 @@ export const ProductFactorsApiFactory = function (configuration?: Configuration,
|
|
|
538
538
|
},
|
|
539
539
|
/**
|
|
540
540
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
541
|
-
* @summary
|
|
541
|
+
* @summary List product factors for version
|
|
542
542
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
543
543
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
544
544
|
* @param {string} [authorization] Bearer Token
|
|
@@ -841,7 +841,7 @@ export class ProductFactorsApi extends BaseAPI {
|
|
|
841
841
|
|
|
842
842
|
/**
|
|
843
843
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
844
|
-
* @summary
|
|
844
|
+
* @summary List product factors for version
|
|
845
845
|
* @param {ProductFactorsApiGetProductFactorsForVersionRequest} requestParameters Request parameters.
|
|
846
846
|
* @param {*} [options] Override http request option.
|
|
847
847
|
* @throws {RequiredError}
|
|
@@ -21,10 +21,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import { CloneProductVersionRequestDto } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { CloneProductVersionResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
24
|
import { GetProductVersionResponseClass } from '../models';
|
|
29
25
|
// @ts-ignore
|
|
30
26
|
import { UpdateProductVersionRequestDto } from '../models';
|
|
@@ -40,52 +36,6 @@ const FormData = require('form-data');
|
|
|
40
36
|
*/
|
|
41
37
|
export const ProductVersionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
38
|
return {
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
46
|
-
* @param {string} [authorization] Bearer Token
|
|
47
|
-
* @param {*} [options] Override http request option.
|
|
48
|
-
* @throws {RequiredError}
|
|
49
|
-
*/
|
|
50
|
-
cloneProductVersion: async (cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51
|
-
// verify required parameter 'cloneProductVersionRequestDto' is not null or undefined
|
|
52
|
-
assertParamExists('cloneProductVersion', 'cloneProductVersionRequestDto', cloneProductVersionRequestDto)
|
|
53
|
-
const localVarPath = `/insuranceservice/v1/product-versions/clone`;
|
|
54
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56
|
-
let baseOptions;
|
|
57
|
-
let baseAccessToken;
|
|
58
|
-
if (configuration) {
|
|
59
|
-
baseOptions = configuration.baseOptions;
|
|
60
|
-
baseAccessToken = configuration.accessToken;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
64
|
-
const localVarHeaderParameter = {} as any;
|
|
65
|
-
const localVarQueryParameter = {} as any;
|
|
66
|
-
|
|
67
|
-
// authentication bearer required
|
|
68
|
-
// http bearer authentication required
|
|
69
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
70
|
-
|
|
71
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
72
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
78
|
-
|
|
79
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
82
|
-
localVarRequestOptions.data = serializeDataIfNeeded(cloneProductVersionRequestDto, localVarRequestOptions, configuration)
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
url: toPathString(localVarUrlObj),
|
|
86
|
-
options: localVarRequestOptions,
|
|
87
|
-
};
|
|
88
|
-
},
|
|
89
39
|
/**
|
|
90
40
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
91
41
|
* @summary Retrieve the product version
|
|
@@ -199,17 +149,6 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
199
149
|
export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
200
150
|
const localVarAxiosParamCreator = ProductVersionsApiAxiosParamCreator(configuration)
|
|
201
151
|
return {
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
205
|
-
* @param {string} [authorization] Bearer Token
|
|
206
|
-
* @param {*} [options] Override http request option.
|
|
207
|
-
* @throws {RequiredError}
|
|
208
|
-
*/
|
|
209
|
-
async cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloneProductVersionResponseClass>> {
|
|
210
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneProductVersion(cloneProductVersionRequestDto, authorization, options);
|
|
211
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
212
|
-
},
|
|
213
152
|
/**
|
|
214
153
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
215
154
|
* @summary Retrieve the product version
|
|
@@ -246,16 +185,6 @@ export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
|
246
185
|
export const ProductVersionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
247
186
|
const localVarFp = ProductVersionsApiFp(configuration)
|
|
248
187
|
return {
|
|
249
|
-
/**
|
|
250
|
-
*
|
|
251
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
252
|
-
* @param {string} [authorization] Bearer Token
|
|
253
|
-
* @param {*} [options] Override http request option.
|
|
254
|
-
* @throws {RequiredError}
|
|
255
|
-
*/
|
|
256
|
-
cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<CloneProductVersionResponseClass> {
|
|
257
|
-
return localVarFp.cloneProductVersion(cloneProductVersionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
258
|
-
},
|
|
259
188
|
/**
|
|
260
189
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
261
190
|
* @summary Retrieve the product version
|
|
@@ -283,27 +212,6 @@ export const ProductVersionsApiFactory = function (configuration?: Configuration
|
|
|
283
212
|
};
|
|
284
213
|
};
|
|
285
214
|
|
|
286
|
-
/**
|
|
287
|
-
* Request parameters for cloneProductVersion operation in ProductVersionsApi.
|
|
288
|
-
* @export
|
|
289
|
-
* @interface ProductVersionsApiCloneProductVersionRequest
|
|
290
|
-
*/
|
|
291
|
-
export interface ProductVersionsApiCloneProductVersionRequest {
|
|
292
|
-
/**
|
|
293
|
-
*
|
|
294
|
-
* @type {CloneProductVersionRequestDto}
|
|
295
|
-
* @memberof ProductVersionsApiCloneProductVersion
|
|
296
|
-
*/
|
|
297
|
-
readonly cloneProductVersionRequestDto: CloneProductVersionRequestDto
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Bearer Token
|
|
301
|
-
* @type {string}
|
|
302
|
-
* @memberof ProductVersionsApiCloneProductVersion
|
|
303
|
-
*/
|
|
304
|
-
readonly authorization?: string
|
|
305
|
-
}
|
|
306
|
-
|
|
307
215
|
/**
|
|
308
216
|
* Request parameters for getProductVersion operation in ProductVersionsApi.
|
|
309
217
|
* @export
|
|
@@ -367,17 +275,6 @@ export interface ProductVersionsApiUpdateProductVersionRequest {
|
|
|
367
275
|
* @extends {BaseAPI}
|
|
368
276
|
*/
|
|
369
277
|
export class ProductVersionsApi extends BaseAPI {
|
|
370
|
-
/**
|
|
371
|
-
*
|
|
372
|
-
* @param {ProductVersionsApiCloneProductVersionRequest} requestParameters Request parameters.
|
|
373
|
-
* @param {*} [options] Override http request option.
|
|
374
|
-
* @throws {RequiredError}
|
|
375
|
-
* @memberof ProductVersionsApi
|
|
376
|
-
*/
|
|
377
|
-
public cloneProductVersion(requestParameters: ProductVersionsApiCloneProductVersionRequest, options?: AxiosRequestConfig) {
|
|
378
|
-
return ProductVersionsApiFp(this.configuration).cloneProductVersion(requestParameters.cloneProductVersionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
379
|
-
}
|
|
380
|
-
|
|
381
278
|
/**
|
|
382
279
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
383
280
|
* @summary Retrieve the product version
|
|
@@ -30,6 +30,15 @@ export declare const InsuredObjectsApiAxiosParamCreator: (configuration?: Config
|
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
*/
|
|
32
32
|
createInsuredObject: (createInsuredObjectRequestDto: CreateInsuredObjectRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
35
|
+
* @summary Delete the insured object
|
|
36
|
+
* @param {string} id
|
|
37
|
+
* @param {string} [authorization] Bearer Token
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
deleteInsuredObject: (id: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
42
|
/**
|
|
34
43
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
35
44
|
* @summary Retrieve the insured object
|
|
@@ -69,6 +78,15 @@ export declare const InsuredObjectsApiFp: (configuration?: Configuration) => {
|
|
|
69
78
|
* @throws {RequiredError}
|
|
70
79
|
*/
|
|
71
80
|
createInsuredObject(createInsuredObjectRequestDto: CreateInsuredObjectRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInsuredObjectResponseClass>>;
|
|
81
|
+
/**
|
|
82
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
83
|
+
* @summary Delete the insured object
|
|
84
|
+
* @param {string} id
|
|
85
|
+
* @param {string} [authorization] Bearer Token
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
deleteInsuredObject(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
72
90
|
/**
|
|
73
91
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
74
92
|
* @summary Retrieve the insured object
|
|
@@ -108,6 +126,15 @@ export declare const InsuredObjectsApiFactory: (configuration?: Configuration, b
|
|
|
108
126
|
* @throws {RequiredError}
|
|
109
127
|
*/
|
|
110
128
|
createInsuredObject(createInsuredObjectRequestDto: CreateInsuredObjectRequestDto, authorization?: string, options?: any): AxiosPromise<CreateInsuredObjectResponseClass>;
|
|
129
|
+
/**
|
|
130
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
131
|
+
* @summary Delete the insured object
|
|
132
|
+
* @param {string} id
|
|
133
|
+
* @param {string} [authorization] Bearer Token
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
deleteInsuredObject(id: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
111
138
|
/**
|
|
112
139
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
113
140
|
* @summary Retrieve the insured object
|
|
@@ -152,6 +179,25 @@ export interface InsuredObjectsApiCreateInsuredObjectRequest {
|
|
|
152
179
|
*/
|
|
153
180
|
readonly authorization?: string;
|
|
154
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* Request parameters for deleteInsuredObject operation in InsuredObjectsApi.
|
|
184
|
+
* @export
|
|
185
|
+
* @interface InsuredObjectsApiDeleteInsuredObjectRequest
|
|
186
|
+
*/
|
|
187
|
+
export interface InsuredObjectsApiDeleteInsuredObjectRequest {
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof InsuredObjectsApiDeleteInsuredObject
|
|
192
|
+
*/
|
|
193
|
+
readonly id: string;
|
|
194
|
+
/**
|
|
195
|
+
* Bearer Token
|
|
196
|
+
* @type {string}
|
|
197
|
+
* @memberof InsuredObjectsApiDeleteInsuredObject
|
|
198
|
+
*/
|
|
199
|
+
readonly authorization?: string;
|
|
200
|
+
}
|
|
155
201
|
/**
|
|
156
202
|
* Request parameters for getInsuredObject operation in InsuredObjectsApi.
|
|
157
203
|
* @export
|
|
@@ -242,6 +288,15 @@ export declare class InsuredObjectsApi extends BaseAPI {
|
|
|
242
288
|
* @memberof InsuredObjectsApi
|
|
243
289
|
*/
|
|
244
290
|
createInsuredObject(requestParameters: InsuredObjectsApiCreateInsuredObjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInsuredObjectResponseClass, any>>;
|
|
291
|
+
/**
|
|
292
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
293
|
+
* @summary Delete the insured object
|
|
294
|
+
* @param {InsuredObjectsApiDeleteInsuredObjectRequest} requestParameters Request parameters.
|
|
295
|
+
* @param {*} [options] Override http request option.
|
|
296
|
+
* @throws {RequiredError}
|
|
297
|
+
* @memberof InsuredObjectsApi
|
|
298
|
+
*/
|
|
299
|
+
deleteInsuredObject(requestParameters: InsuredObjectsApiDeleteInsuredObjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
245
300
|
/**
|
|
246
301
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
247
302
|
* @summary Retrieve the insured object
|
|
@@ -145,6 +145,54 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
|
+
/**
|
|
149
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
150
|
+
* @summary Delete the insured object
|
|
151
|
+
* @param {string} id
|
|
152
|
+
* @param {string} [authorization] Bearer Token
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
deleteInsuredObject: function (id, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
162
|
+
case 0:
|
|
163
|
+
// verify required parameter 'id' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('deleteInsuredObject', 'id', id);
|
|
165
|
+
localVarPath = "/insuranceservice/v1/insured-objects/{id}"
|
|
166
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
167
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
168
|
+
if (configuration) {
|
|
169
|
+
baseOptions = configuration.baseOptions;
|
|
170
|
+
baseAccessToken = configuration.accessToken;
|
|
171
|
+
}
|
|
172
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
173
|
+
localVarHeaderParameter = {};
|
|
174
|
+
localVarQueryParameter = {};
|
|
175
|
+
// authentication bearer required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
178
|
+
case 1:
|
|
179
|
+
// authentication bearer required
|
|
180
|
+
// http bearer authentication required
|
|
181
|
+
_a.sent();
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
184
|
+
}
|
|
185
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
return [2 /*return*/, {
|
|
189
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
}];
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
});
|
|
195
|
+
},
|
|
148
196
|
/**
|
|
149
197
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
150
198
|
* @summary Retrieve the insured object
|
|
@@ -294,6 +342,27 @@ var InsuredObjectsApiFp = function (configuration) {
|
|
|
294
342
|
});
|
|
295
343
|
});
|
|
296
344
|
},
|
|
345
|
+
/**
|
|
346
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
347
|
+
* @summary Delete the insured object
|
|
348
|
+
* @param {string} id
|
|
349
|
+
* @param {string} [authorization] Bearer Token
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
deleteInsuredObject: function (id, authorization, options) {
|
|
354
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
355
|
+
var localVarAxiosArgs;
|
|
356
|
+
return __generator(this, function (_a) {
|
|
357
|
+
switch (_a.label) {
|
|
358
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInsuredObject(id, authorization, options)];
|
|
359
|
+
case 1:
|
|
360
|
+
localVarAxiosArgs = _a.sent();
|
|
361
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
362
|
+
}
|
|
363
|
+
});
|
|
364
|
+
});
|
|
365
|
+
},
|
|
297
366
|
/**
|
|
298
367
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
299
368
|
* @summary Retrieve the insured object
|
|
@@ -363,6 +432,17 @@ var InsuredObjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
363
432
|
createInsuredObject: function (createInsuredObjectRequestDto, authorization, options) {
|
|
364
433
|
return localVarFp.createInsuredObject(createInsuredObjectRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
365
434
|
},
|
|
435
|
+
/**
|
|
436
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
437
|
+
* @summary Delete the insured object
|
|
438
|
+
* @param {string} id
|
|
439
|
+
* @param {string} [authorization] Bearer Token
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
deleteInsuredObject: function (id, authorization, options) {
|
|
444
|
+
return localVarFp.deleteInsuredObject(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
445
|
+
},
|
|
366
446
|
/**
|
|
367
447
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
368
448
|
* @summary Retrieve the insured object
|
|
@@ -417,6 +497,18 @@ var InsuredObjectsApi = /** @class */ (function (_super) {
|
|
|
417
497
|
var _this = this;
|
|
418
498
|
return (0, exports.InsuredObjectsApiFp)(this.configuration).createInsuredObject(requestParameters.createInsuredObjectRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
419
499
|
};
|
|
500
|
+
/**
|
|
501
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
502
|
+
* @summary Delete the insured object
|
|
503
|
+
* @param {InsuredObjectsApiDeleteInsuredObjectRequest} requestParameters Request parameters.
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
* @memberof InsuredObjectsApi
|
|
507
|
+
*/
|
|
508
|
+
InsuredObjectsApi.prototype.deleteInsuredObject = function (requestParameters, options) {
|
|
509
|
+
var _this = this;
|
|
510
|
+
return (0, exports.InsuredObjectsApiFp)(this.configuration).deleteInsuredObject(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
511
|
+
};
|
|
420
512
|
/**
|
|
421
513
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
422
514
|
* @summary Retrieve the insured object
|
package/dist/api/leads-api.d.ts
CHANGED
|
@@ -43,8 +43,8 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
43
43
|
*/
|
|
44
44
|
getLead: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
45
|
/**
|
|
46
|
-
* Returns a list of
|
|
47
|
-
* @summary List
|
|
46
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
47
|
+
* @summary List leads
|
|
48
48
|
* @param {string} [authorization] Bearer Token
|
|
49
49
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
50
50
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -92,8 +92,8 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
|
92
92
|
*/
|
|
93
93
|
getLead(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLeadResponseClass>>;
|
|
94
94
|
/**
|
|
95
|
-
* Returns a list of
|
|
96
|
-
* @summary List
|
|
95
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
96
|
+
* @summary List leads
|
|
97
97
|
* @param {string} [authorization] Bearer Token
|
|
98
98
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
99
99
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -141,8 +141,8 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
141
141
|
*/
|
|
142
142
|
getLead(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetLeadResponseClass>;
|
|
143
143
|
/**
|
|
144
|
-
* Returns a list of
|
|
145
|
-
* @summary List
|
|
144
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
145
|
+
* @summary List leads
|
|
146
146
|
* @param {string} [authorization] Bearer Token
|
|
147
147
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
148
148
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -309,8 +309,8 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
309
309
|
*/
|
|
310
310
|
getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any>>;
|
|
311
311
|
/**
|
|
312
|
-
* Returns a list of
|
|
313
|
-
* @summary List
|
|
312
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
313
|
+
* @summary List leads
|
|
314
314
|
* @param {LeadsApiListLeadsRequest} requestParameters Request parameters.
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
package/dist/api/leads-api.js
CHANGED
|
@@ -200,8 +200,8 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
200
200
|
});
|
|
201
201
|
},
|
|
202
202
|
/**
|
|
203
|
-
* Returns a list of
|
|
204
|
-
* @summary List
|
|
203
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
204
|
+
* @summary List leads
|
|
205
205
|
* @param {string} [authorization] Bearer Token
|
|
206
206
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
207
207
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -374,8 +374,8 @@ var LeadsApiFp = function (configuration) {
|
|
|
374
374
|
});
|
|
375
375
|
},
|
|
376
376
|
/**
|
|
377
|
-
* Returns a list of
|
|
378
|
-
* @summary List
|
|
377
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
378
|
+
* @summary List leads
|
|
379
379
|
* @param {string} [authorization] Bearer Token
|
|
380
380
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
381
381
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -455,8 +455,8 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
|
|
|
455
455
|
return localVarFp.getLead(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
456
456
|
},
|
|
457
457
|
/**
|
|
458
|
-
* Returns a list of
|
|
459
|
-
* @summary List
|
|
458
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
459
|
+
* @summary List leads
|
|
460
460
|
* @param {string} [authorization] Bearer Token
|
|
461
461
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
462
462
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -521,8 +521,8 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
521
521
|
return (0, exports.LeadsApiFp)(this.configuration).getLead(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
522
522
|
};
|
|
523
523
|
/**
|
|
524
|
-
* Returns a list of
|
|
525
|
-
* @summary List
|
|
524
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
525
|
+
* @summary List leads
|
|
526
526
|
* @param {LeadsApiListLeadsRequest} requestParameters Request parameters.
|
|
527
527
|
* @param {*} [options] Override http request option.
|
|
528
528
|
* @throws {RequiredError}
|
|
@@ -48,7 +48,7 @@ export declare const ProductFactorsApiAxiosParamCreator: (configuration?: Config
|
|
|
48
48
|
getProductFactorValue: (productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
49
|
/**
|
|
50
50
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
51
|
-
* @summary
|
|
51
|
+
* @summary List product factors for version
|
|
52
52
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
53
53
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
54
54
|
* @param {string} [authorization] Bearer Token
|
|
@@ -121,7 +121,7 @@ export declare const ProductFactorsApiFp: (configuration?: Configuration) => {
|
|
|
121
121
|
getProductFactorValue(productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFactorValueResponseClass>>;
|
|
122
122
|
/**
|
|
123
123
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
124
|
-
* @summary
|
|
124
|
+
* @summary List product factors for version
|
|
125
125
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
126
126
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
127
127
|
* @param {string} [authorization] Bearer Token
|
|
@@ -194,7 +194,7 @@ export declare const ProductFactorsApiFactory: (configuration?: Configuration, b
|
|
|
194
194
|
getProductFactorValue(productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: any): AxiosPromise<GetProductFactorValueResponseClass>;
|
|
195
195
|
/**
|
|
196
196
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
197
|
-
* @summary
|
|
197
|
+
* @summary List product factors for version
|
|
198
198
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
199
199
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
200
200
|
* @param {string} [authorization] Bearer Token
|
|
@@ -456,7 +456,7 @@ export declare class ProductFactorsApi extends BaseAPI {
|
|
|
456
456
|
getProductFactorValue(requestParameters: ProductFactorsApiGetProductFactorValueRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFactorValueResponseClass, any>>;
|
|
457
457
|
/**
|
|
458
458
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
459
|
-
* @summary
|
|
459
|
+
* @summary List product factors for version
|
|
460
460
|
* @param {ProductFactorsApiGetProductFactorsForVersionRequest} requestParameters Request parameters.
|
|
461
461
|
* @param {*} [options] Override http request option.
|
|
462
462
|
* @throws {RequiredError}
|
|
@@ -224,7 +224,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
224
224
|
},
|
|
225
225
|
/**
|
|
226
226
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
227
|
-
* @summary
|
|
227
|
+
* @summary List product factors for version
|
|
228
228
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
229
229
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
230
230
|
* @param {string} [authorization] Bearer Token
|
|
@@ -515,7 +515,7 @@ var ProductFactorsApiFp = function (configuration) {
|
|
|
515
515
|
},
|
|
516
516
|
/**
|
|
517
517
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
518
|
-
* @summary
|
|
518
|
+
* @summary List product factors for version
|
|
519
519
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
520
520
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
521
521
|
* @param {string} [authorization] Bearer Token
|
|
@@ -644,7 +644,7 @@ var ProductFactorsApiFactory = function (configuration, basePath, axios) {
|
|
|
644
644
|
},
|
|
645
645
|
/**
|
|
646
646
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
647
|
-
* @summary
|
|
647
|
+
* @summary List product factors for version
|
|
648
648
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
649
649
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
650
650
|
* @param {string} [authorization] Bearer Token
|
|
@@ -734,7 +734,7 @@ var ProductFactorsApi = /** @class */ (function (_super) {
|
|
|
734
734
|
};
|
|
735
735
|
/**
|
|
736
736
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
737
|
-
* @summary
|
|
737
|
+
* @summary List product factors for version
|
|
738
738
|
* @param {ProductFactorsApiGetProductFactorsForVersionRequest} requestParameters Request parameters.
|
|
739
739
|
* @param {*} [options] Override http request option.
|
|
740
740
|
* @throws {RequiredError}
|
|
@@ -12,8 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CloneProductVersionRequestDto } from '../models';
|
|
16
|
-
import { CloneProductVersionResponseClass } from '../models';
|
|
17
15
|
import { GetProductVersionResponseClass } from '../models';
|
|
18
16
|
import { UpdateProductVersionRequestDto } from '../models';
|
|
19
17
|
import { UpdateProductVersionResponseClass } from '../models';
|
|
@@ -22,14 +20,6 @@ import { UpdateProductVersionResponseClass } from '../models';
|
|
|
22
20
|
* @export
|
|
23
21
|
*/
|
|
24
22
|
export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
28
|
-
* @param {string} [authorization] Bearer Token
|
|
29
|
-
* @param {*} [options] Override http request option.
|
|
30
|
-
* @throws {RequiredError}
|
|
31
|
-
*/
|
|
32
|
-
cloneProductVersion: (cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
23
|
/**
|
|
34
24
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
35
25
|
* @summary Retrieve the product version
|
|
@@ -56,14 +46,6 @@ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
56
46
|
* @export
|
|
57
47
|
*/
|
|
58
48
|
export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
62
|
-
* @param {string} [authorization] Bearer Token
|
|
63
|
-
* @param {*} [options] Override http request option.
|
|
64
|
-
* @throws {RequiredError}
|
|
65
|
-
*/
|
|
66
|
-
cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloneProductVersionResponseClass>>;
|
|
67
49
|
/**
|
|
68
50
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
69
51
|
* @summary Retrieve the product version
|
|
@@ -90,14 +72,6 @@ export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
|
90
72
|
* @export
|
|
91
73
|
*/
|
|
92
74
|
export declare const ProductVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
96
|
-
* @param {string} [authorization] Bearer Token
|
|
97
|
-
* @param {*} [options] Override http request option.
|
|
98
|
-
* @throws {RequiredError}
|
|
99
|
-
*/
|
|
100
|
-
cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<CloneProductVersionResponseClass>;
|
|
101
75
|
/**
|
|
102
76
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
103
77
|
* @summary Retrieve the product version
|
|
@@ -119,25 +93,6 @@ export declare const ProductVersionsApiFactory: (configuration?: Configuration,
|
|
|
119
93
|
*/
|
|
120
94
|
updateProductVersion(id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductVersionResponseClass>;
|
|
121
95
|
};
|
|
122
|
-
/**
|
|
123
|
-
* Request parameters for cloneProductVersion operation in ProductVersionsApi.
|
|
124
|
-
* @export
|
|
125
|
-
* @interface ProductVersionsApiCloneProductVersionRequest
|
|
126
|
-
*/
|
|
127
|
-
export interface ProductVersionsApiCloneProductVersionRequest {
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @type {CloneProductVersionRequestDto}
|
|
131
|
-
* @memberof ProductVersionsApiCloneProductVersion
|
|
132
|
-
*/
|
|
133
|
-
readonly cloneProductVersionRequestDto: CloneProductVersionRequestDto;
|
|
134
|
-
/**
|
|
135
|
-
* Bearer Token
|
|
136
|
-
* @type {string}
|
|
137
|
-
* @memberof ProductVersionsApiCloneProductVersion
|
|
138
|
-
*/
|
|
139
|
-
readonly authorization?: string;
|
|
140
|
-
}
|
|
141
96
|
/**
|
|
142
97
|
* Request parameters for getProductVersion operation in ProductVersionsApi.
|
|
143
98
|
* @export
|
|
@@ -195,14 +150,6 @@ export interface ProductVersionsApiUpdateProductVersionRequest {
|
|
|
195
150
|
* @extends {BaseAPI}
|
|
196
151
|
*/
|
|
197
152
|
export declare class ProductVersionsApi extends BaseAPI {
|
|
198
|
-
/**
|
|
199
|
-
*
|
|
200
|
-
* @param {ProductVersionsApiCloneProductVersionRequest} requestParameters Request parameters.
|
|
201
|
-
* @param {*} [options] Override http request option.
|
|
202
|
-
* @throws {RequiredError}
|
|
203
|
-
* @memberof ProductVersionsApi
|
|
204
|
-
*/
|
|
205
|
-
cloneProductVersion(requestParameters: ProductVersionsApiCloneProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CloneProductVersionResponseClass, any>>;
|
|
206
153
|
/**
|
|
207
154
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
208
155
|
* @summary Retrieve the product version
|
|
@@ -96,54 +96,6 @@ var FormData = require('form-data');
|
|
|
96
96
|
var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
102
|
-
* @param {string} [authorization] Bearer Token
|
|
103
|
-
* @param {*} [options] Override http request option.
|
|
104
|
-
* @throws {RequiredError}
|
|
105
|
-
*/
|
|
106
|
-
cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
|
|
107
|
-
if (options === void 0) { options = {}; }
|
|
108
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
109
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
-
return __generator(this, function (_a) {
|
|
111
|
-
switch (_a.label) {
|
|
112
|
-
case 0:
|
|
113
|
-
// verify required parameter 'cloneProductVersionRequestDto' is not null or undefined
|
|
114
|
-
(0, common_1.assertParamExists)('cloneProductVersion', 'cloneProductVersionRequestDto', cloneProductVersionRequestDto);
|
|
115
|
-
localVarPath = "/insuranceservice/v1/product-versions/clone";
|
|
116
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
-
if (configuration) {
|
|
118
|
-
baseOptions = configuration.baseOptions;
|
|
119
|
-
baseAccessToken = configuration.accessToken;
|
|
120
|
-
}
|
|
121
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
122
|
-
localVarHeaderParameter = {};
|
|
123
|
-
localVarQueryParameter = {};
|
|
124
|
-
// authentication bearer required
|
|
125
|
-
// http bearer authentication required
|
|
126
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
127
|
-
case 1:
|
|
128
|
-
// authentication bearer required
|
|
129
|
-
// http bearer authentication required
|
|
130
|
-
_a.sent();
|
|
131
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
132
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
|
-
}
|
|
134
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
136
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
138
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cloneProductVersionRequestDto, localVarRequestOptions, configuration);
|
|
139
|
-
return [2 /*return*/, {
|
|
140
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
141
|
-
options: localVarRequestOptions,
|
|
142
|
-
}];
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
},
|
|
147
99
|
/**
|
|
148
100
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
149
101
|
* @summary Retrieve the product version
|
|
@@ -261,26 +213,6 @@ exports.ProductVersionsApiAxiosParamCreator = ProductVersionsApiAxiosParamCreato
|
|
|
261
213
|
var ProductVersionsApiFp = function (configuration) {
|
|
262
214
|
var localVarAxiosParamCreator = (0, exports.ProductVersionsApiAxiosParamCreator)(configuration);
|
|
263
215
|
return {
|
|
264
|
-
/**
|
|
265
|
-
*
|
|
266
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
267
|
-
* @param {string} [authorization] Bearer Token
|
|
268
|
-
* @param {*} [options] Override http request option.
|
|
269
|
-
* @throws {RequiredError}
|
|
270
|
-
*/
|
|
271
|
-
cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
|
|
272
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
273
|
-
var localVarAxiosArgs;
|
|
274
|
-
return __generator(this, function (_a) {
|
|
275
|
-
switch (_a.label) {
|
|
276
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.cloneProductVersion(cloneProductVersionRequestDto, authorization, options)];
|
|
277
|
-
case 1:
|
|
278
|
-
localVarAxiosArgs = _a.sent();
|
|
279
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
280
|
-
}
|
|
281
|
-
});
|
|
282
|
-
});
|
|
283
|
-
},
|
|
284
216
|
/**
|
|
285
217
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
286
218
|
* @summary Retrieve the product version
|
|
@@ -335,16 +267,6 @@ exports.ProductVersionsApiFp = ProductVersionsApiFp;
|
|
|
335
267
|
var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
336
268
|
var localVarFp = (0, exports.ProductVersionsApiFp)(configuration);
|
|
337
269
|
return {
|
|
338
|
-
/**
|
|
339
|
-
*
|
|
340
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
341
|
-
* @param {string} [authorization] Bearer Token
|
|
342
|
-
* @param {*} [options] Override http request option.
|
|
343
|
-
* @throws {RequiredError}
|
|
344
|
-
*/
|
|
345
|
-
cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
|
|
346
|
-
return localVarFp.cloneProductVersion(cloneProductVersionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
347
|
-
},
|
|
348
270
|
/**
|
|
349
271
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
350
272
|
* @summary Retrieve the product version
|
|
@@ -383,17 +305,6 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
383
305
|
function ProductVersionsApi() {
|
|
384
306
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
385
307
|
}
|
|
386
|
-
/**
|
|
387
|
-
*
|
|
388
|
-
* @param {ProductVersionsApiCloneProductVersionRequest} requestParameters Request parameters.
|
|
389
|
-
* @param {*} [options] Override http request option.
|
|
390
|
-
* @throws {RequiredError}
|
|
391
|
-
* @memberof ProductVersionsApi
|
|
392
|
-
*/
|
|
393
|
-
ProductVersionsApi.prototype.cloneProductVersion = function (requestParameters, options) {
|
|
394
|
-
var _this = this;
|
|
395
|
-
return (0, exports.ProductVersionsApiFp)(this.configuration).cloneProductVersion(requestParameters.cloneProductVersionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
396
|
-
};
|
|
397
308
|
/**
|
|
398
309
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
399
310
|
* @summary Retrieve the product version
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from './calculate-custom-premium-request-dto';
|
|
2
2
|
export * from './calculate-premium-request-dto';
|
|
3
3
|
export * from './clone-product-version-request-dto';
|
|
4
|
-
export * from './clone-product-version-response-class';
|
|
5
4
|
export * from './create-account-request-dto';
|
|
6
5
|
export * from './create-bank-account-request-dto';
|
|
7
6
|
export * from './create-custom-application-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -17,7 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./calculate-custom-premium-request-dto"), exports);
|
|
18
18
|
__exportStar(require("./calculate-premium-request-dto"), exports);
|
|
19
19
|
__exportStar(require("./clone-product-version-request-dto"), exports);
|
|
20
|
-
__exportStar(require("./clone-product-version-response-class"), exports);
|
|
21
20
|
__exportStar(require("./create-account-request-dto"), exports);
|
|
22
21
|
__exportStar(require("./create-bank-account-request-dto"), exports);
|
|
23
22
|
__exportStar(require("./create-custom-application-request-dto"), exports);
|
package/models/index.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from './calculate-custom-premium-request-dto';
|
|
2
2
|
export * from './calculate-premium-request-dto';
|
|
3
3
|
export * from './clone-product-version-request-dto';
|
|
4
|
-
export * from './clone-product-version-response-class';
|
|
5
4
|
export * from './create-account-request-dto';
|
|
6
5
|
export * from './create-bank-account-request-dto';
|
|
7
6
|
export * from './create-custom-application-request-dto';
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL InsuranceService
|
|
3
|
-
* The EMIL InsuranceService 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
|
-
import { ProductVersionClass } from './product-version-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CloneProductVersionResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface CloneProductVersionResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* Product version
|
|
21
|
-
* @type {ProductVersionClass}
|
|
22
|
-
* @memberof CloneProductVersionResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'productVersion': ProductVersionClass;
|
|
25
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* EMIL InsuranceService
|
|
6
|
-
* The EMIL InsuranceService 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 });
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL InsuranceService
|
|
5
|
-
* The EMIL InsuranceService 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
|
-
import { ProductVersionClass } from './product-version-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface CloneProductVersionResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface CloneProductVersionResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* Product version
|
|
26
|
-
* @type {ProductVersionClass}
|
|
27
|
-
* @memberof CloneProductVersionResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'productVersion': ProductVersionClass;
|
|
30
|
-
}
|
|
31
|
-
|