@emilgroup/insurance-sdk 1.56.1-beta.0 → 1.58.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/README.md +2 -2
- package/api/product-factors-api.ts +99 -0
- package/dist/api/product-factors-api.d.ts +52 -0
- package/dist/api/product-factors-api.js +88 -0
- package/dist/models/create-product-field-request-dto.d.ts +0 -6
- package/dist/models/grpc-patch-lead-request-dto.d.ts +0 -7
- package/dist/models/grpc-update-lead-request-dto.d.ts +0 -7
- package/dist/models/partner-class.d.ts +5 -29
- package/dist/models/patch-lead-request-dto.d.ts +0 -7
- package/dist/models/product-field-class.d.ts +0 -6
- package/dist/models/shared-product-field-class.d.ts +0 -6
- package/dist/models/update-lead-request-dto.d.ts +0 -7
- package/dist/models/update-product-field-request-dto.d.ts +0 -6
- package/models/create-product-field-request-dto.ts +0 -6
- package/models/grpc-patch-lead-request-dto.ts +0 -7
- package/models/grpc-update-lead-request-dto.ts +0 -7
- package/models/partner-class.ts +5 -29
- package/models/patch-lead-request-dto.ts +0 -7
- package/models/product-field-class.ts +0 -6
- package/models/shared-product-field-class.ts +0 -6
- package/models/update-lead-request-dto.ts +0 -7
- package/models/update-product-field-request-dto.ts +0 -6
- package/package.json +1 -1
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@1.
|
|
20
|
+
npm install @emilgroup/insurance-sdk@1.58.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk@1.58.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -21,6 +21,8 @@ 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 { DeleteResponseClass } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { GetProductFactorResponseClass } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { GetProductFactorValueResponseClass } from '../models';
|
|
@@ -38,6 +40,50 @@ import { StoreProductFactorsResponseClass } from '../models';
|
|
|
38
40
|
*/
|
|
39
41
|
export const ProductFactorsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
42
|
return {
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @param {number} id
|
|
46
|
+
* @param {string} [authorization] Bearer Token
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
deleteProductFactor: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51
|
+
// verify required parameter 'id' is not null or undefined
|
|
52
|
+
assertParamExists('deleteProductFactor', 'id', id)
|
|
53
|
+
const localVarPath = `/insuranceservice/v1/product-factors/{id}`
|
|
54
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
55
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57
|
+
let baseOptions;
|
|
58
|
+
let baseAccessToken;
|
|
59
|
+
if (configuration) {
|
|
60
|
+
baseOptions = configuration.baseOptions;
|
|
61
|
+
baseAccessToken = configuration.accessToken;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
65
|
+
const localVarHeaderParameter = {} as any;
|
|
66
|
+
const localVarQueryParameter = {} as any;
|
|
67
|
+
|
|
68
|
+
// authentication bearer required
|
|
69
|
+
// http bearer authentication required
|
|
70
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
|
+
|
|
72
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
73
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
url: toPathString(localVarUrlObj),
|
|
84
|
+
options: localVarRequestOptions,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
41
87
|
/**
|
|
42
88
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
43
89
|
* @summary Retrieve the product factor
|
|
@@ -415,6 +461,17 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
415
461
|
export const ProductFactorsApiFp = function(configuration?: Configuration) {
|
|
416
462
|
const localVarAxiosParamCreator = ProductFactorsApiAxiosParamCreator(configuration)
|
|
417
463
|
return {
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
* @param {number} id
|
|
467
|
+
* @param {string} [authorization] Bearer Token
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
*/
|
|
471
|
+
async deleteProductFactor(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
472
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteProductFactor(id, authorization, options);
|
|
473
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
474
|
+
},
|
|
418
475
|
/**
|
|
419
476
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
420
477
|
* @summary Retrieve the product factor
|
|
@@ -511,6 +568,16 @@ export const ProductFactorsApiFp = function(configuration?: Configuration) {
|
|
|
511
568
|
export const ProductFactorsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
512
569
|
const localVarFp = ProductFactorsApiFp(configuration)
|
|
513
570
|
return {
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @param {number} id
|
|
574
|
+
* @param {string} [authorization] Bearer Token
|
|
575
|
+
* @param {*} [options] Override http request option.
|
|
576
|
+
* @throws {RequiredError}
|
|
577
|
+
*/
|
|
578
|
+
deleteProductFactor(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
579
|
+
return localVarFp.deleteProductFactor(id, authorization, options).then((request) => request(axios, basePath));
|
|
580
|
+
},
|
|
514
581
|
/**
|
|
515
582
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
516
583
|
* @summary Retrieve the product factor
|
|
@@ -594,6 +661,27 @@ export const ProductFactorsApiFactory = function (configuration?: Configuration,
|
|
|
594
661
|
};
|
|
595
662
|
};
|
|
596
663
|
|
|
664
|
+
/**
|
|
665
|
+
* Request parameters for deleteProductFactor operation in ProductFactorsApi.
|
|
666
|
+
* @export
|
|
667
|
+
* @interface ProductFactorsApiDeleteProductFactorRequest
|
|
668
|
+
*/
|
|
669
|
+
export interface ProductFactorsApiDeleteProductFactorRequest {
|
|
670
|
+
/**
|
|
671
|
+
*
|
|
672
|
+
* @type {number}
|
|
673
|
+
* @memberof ProductFactorsApiDeleteProductFactor
|
|
674
|
+
*/
|
|
675
|
+
readonly id: number
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Bearer Token
|
|
679
|
+
* @type {string}
|
|
680
|
+
* @memberof ProductFactorsApiDeleteProductFactor
|
|
681
|
+
*/
|
|
682
|
+
readonly authorization?: string
|
|
683
|
+
}
|
|
684
|
+
|
|
597
685
|
/**
|
|
598
686
|
* Request parameters for getProductFactor operation in ProductFactorsApi.
|
|
599
687
|
* @export
|
|
@@ -825,6 +913,17 @@ export interface ProductFactorsApiValidateProductFactorsRequest {
|
|
|
825
913
|
* @extends {BaseAPI}
|
|
826
914
|
*/
|
|
827
915
|
export class ProductFactorsApi extends BaseAPI {
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @param {ProductFactorsApiDeleteProductFactorRequest} requestParameters Request parameters.
|
|
919
|
+
* @param {*} [options] Override http request option.
|
|
920
|
+
* @throws {RequiredError}
|
|
921
|
+
* @memberof ProductFactorsApi
|
|
922
|
+
*/
|
|
923
|
+
public deleteProductFactor(requestParameters: ProductFactorsApiDeleteProductFactorRequest, options?: AxiosRequestConfig) {
|
|
924
|
+
return ProductFactorsApiFp(this.configuration).deleteProductFactor(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
925
|
+
}
|
|
926
|
+
|
|
828
927
|
/**
|
|
829
928
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
830
929
|
* @summary Retrieve the product factor
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { DeleteResponseClass } from '../models';
|
|
15
16
|
import { GetProductFactorResponseClass } from '../models';
|
|
16
17
|
import { GetProductFactorValueResponseClass } from '../models';
|
|
17
18
|
import { GetProductFactorsForVersionResponseClass } from '../models';
|
|
@@ -23,6 +24,14 @@ import { StoreProductFactorsResponseClass } from '../models';
|
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
25
26
|
export declare const ProductFactorsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @param {number} id
|
|
30
|
+
* @param {string} [authorization] Bearer Token
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
deleteProductFactor: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26
35
|
/**
|
|
27
36
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
28
37
|
* @summary Retrieve the product factor
|
|
@@ -97,6 +106,14 @@ export declare const ProductFactorsApiAxiosParamCreator: (configuration?: Config
|
|
|
97
106
|
* @export
|
|
98
107
|
*/
|
|
99
108
|
export declare const ProductFactorsApiFp: (configuration?: Configuration) => {
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @param {number} id
|
|
112
|
+
* @param {string} [authorization] Bearer Token
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
deleteProductFactor(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
100
117
|
/**
|
|
101
118
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
102
119
|
* @summary Retrieve the product factor
|
|
@@ -171,6 +188,14 @@ export declare const ProductFactorsApiFp: (configuration?: Configuration) => {
|
|
|
171
188
|
* @export
|
|
172
189
|
*/
|
|
173
190
|
export declare const ProductFactorsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @param {number} id
|
|
194
|
+
* @param {string} [authorization] Bearer Token
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
deleteProductFactor(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
174
199
|
/**
|
|
175
200
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
176
201
|
* @summary Retrieve the product factor
|
|
@@ -240,6 +265,25 @@ export declare const ProductFactorsApiFactory: (configuration?: Configuration, b
|
|
|
240
265
|
*/
|
|
241
266
|
validateProductFactors(authorization?: string, factors?: any, options?: any): AxiosPromise<GroupedProductFactorsResponseClass>;
|
|
242
267
|
};
|
|
268
|
+
/**
|
|
269
|
+
* Request parameters for deleteProductFactor operation in ProductFactorsApi.
|
|
270
|
+
* @export
|
|
271
|
+
* @interface ProductFactorsApiDeleteProductFactorRequest
|
|
272
|
+
*/
|
|
273
|
+
export interface ProductFactorsApiDeleteProductFactorRequest {
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {number}
|
|
277
|
+
* @memberof ProductFactorsApiDeleteProductFactor
|
|
278
|
+
*/
|
|
279
|
+
readonly id: number;
|
|
280
|
+
/**
|
|
281
|
+
* Bearer Token
|
|
282
|
+
* @type {string}
|
|
283
|
+
* @memberof ProductFactorsApiDeleteProductFactor
|
|
284
|
+
*/
|
|
285
|
+
readonly authorization?: string;
|
|
286
|
+
}
|
|
243
287
|
/**
|
|
244
288
|
* Request parameters for getProductFactor operation in ProductFactorsApi.
|
|
245
289
|
* @export
|
|
@@ -445,6 +489,14 @@ export interface ProductFactorsApiValidateProductFactorsRequest {
|
|
|
445
489
|
* @extends {BaseAPI}
|
|
446
490
|
*/
|
|
447
491
|
export declare class ProductFactorsApi extends BaseAPI {
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @param {ProductFactorsApiDeleteProductFactorRequest} requestParameters Request parameters.
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
* @memberof ProductFactorsApi
|
|
498
|
+
*/
|
|
499
|
+
deleteProductFactor(requestParameters: ProductFactorsApiDeleteProductFactorRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
448
500
|
/**
|
|
449
501
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
450
502
|
* @summary Retrieve the product factor
|
|
@@ -92,6 +92,53 @@ var base_1 = require("../base");
|
|
|
92
92
|
var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @param {number} id
|
|
98
|
+
* @param {string} [authorization] Bearer Token
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
deleteProductFactor: function (id, authorization, options) {
|
|
103
|
+
if (options === void 0) { options = {}; }
|
|
104
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
105
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
return __generator(this, function (_a) {
|
|
107
|
+
switch (_a.label) {
|
|
108
|
+
case 0:
|
|
109
|
+
// verify required parameter 'id' is not null or undefined
|
|
110
|
+
(0, common_1.assertParamExists)('deleteProductFactor', 'id', id);
|
|
111
|
+
localVarPath = "/insuranceservice/v1/product-factors/{id}"
|
|
112
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
113
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
|
+
if (configuration) {
|
|
115
|
+
baseOptions = configuration.baseOptions;
|
|
116
|
+
baseAccessToken = configuration.accessToken;
|
|
117
|
+
}
|
|
118
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
119
|
+
localVarHeaderParameter = {};
|
|
120
|
+
localVarQueryParameter = {};
|
|
121
|
+
// authentication bearer required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
124
|
+
case 1:
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
_a.sent();
|
|
128
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
130
|
+
}
|
|
131
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
132
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
134
|
+
return [2 /*return*/, {
|
|
135
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
136
|
+
options: localVarRequestOptions,
|
|
137
|
+
}];
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
},
|
|
95
142
|
/**
|
|
96
143
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
97
144
|
* @summary Retrieve the product factor
|
|
@@ -464,6 +511,26 @@ exports.ProductFactorsApiAxiosParamCreator = ProductFactorsApiAxiosParamCreator;
|
|
|
464
511
|
var ProductFactorsApiFp = function (configuration) {
|
|
465
512
|
var localVarAxiosParamCreator = (0, exports.ProductFactorsApiAxiosParamCreator)(configuration);
|
|
466
513
|
return {
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @param {number} id
|
|
517
|
+
* @param {string} [authorization] Bearer Token
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
*/
|
|
521
|
+
deleteProductFactor: function (id, authorization, options) {
|
|
522
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
523
|
+
var localVarAxiosArgs;
|
|
524
|
+
return __generator(this, function (_a) {
|
|
525
|
+
switch (_a.label) {
|
|
526
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteProductFactor(id, authorization, options)];
|
|
527
|
+
case 1:
|
|
528
|
+
localVarAxiosArgs = _a.sent();
|
|
529
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
530
|
+
}
|
|
531
|
+
});
|
|
532
|
+
});
|
|
533
|
+
},
|
|
467
534
|
/**
|
|
468
535
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
469
536
|
* @summary Retrieve the product factor
|
|
@@ -614,6 +681,16 @@ exports.ProductFactorsApiFp = ProductFactorsApiFp;
|
|
|
614
681
|
var ProductFactorsApiFactory = function (configuration, basePath, axios) {
|
|
615
682
|
var localVarFp = (0, exports.ProductFactorsApiFp)(configuration);
|
|
616
683
|
return {
|
|
684
|
+
/**
|
|
685
|
+
*
|
|
686
|
+
* @param {number} id
|
|
687
|
+
* @param {string} [authorization] Bearer Token
|
|
688
|
+
* @param {*} [options] Override http request option.
|
|
689
|
+
* @throws {RequiredError}
|
|
690
|
+
*/
|
|
691
|
+
deleteProductFactor: function (id, authorization, options) {
|
|
692
|
+
return localVarFp.deleteProductFactor(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
693
|
+
},
|
|
617
694
|
/**
|
|
618
695
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
619
696
|
* @summary Retrieve the product factor
|
|
@@ -708,6 +785,17 @@ var ProductFactorsApi = /** @class */ (function (_super) {
|
|
|
708
785
|
function ProductFactorsApi() {
|
|
709
786
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
710
787
|
}
|
|
788
|
+
/**
|
|
789
|
+
*
|
|
790
|
+
* @param {ProductFactorsApiDeleteProductFactorRequest} requestParameters Request parameters.
|
|
791
|
+
* @param {*} [options] Override http request option.
|
|
792
|
+
* @throws {RequiredError}
|
|
793
|
+
* @memberof ProductFactorsApi
|
|
794
|
+
*/
|
|
795
|
+
ProductFactorsApi.prototype.deleteProductFactor = function (requestParameters, options) {
|
|
796
|
+
var _this = this;
|
|
797
|
+
return (0, exports.ProductFactorsApiFp)(this.configuration).deleteProductFactor(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
798
|
+
};
|
|
711
799
|
/**
|
|
712
800
|
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
713
801
|
* @summary Retrieve the product factor
|
|
@@ -135,12 +135,6 @@ export interface CreateProductFieldRequestDto {
|
|
|
135
135
|
* @memberof CreateProductFieldRequestDto
|
|
136
136
|
*/
|
|
137
137
|
'legacyBfOrder'?: number;
|
|
138
|
-
/**
|
|
139
|
-
* Product field metadata object. The field may contain special data specific to the product.
|
|
140
|
-
* @type {object}
|
|
141
|
-
* @memberof CreateProductFieldRequestDto
|
|
142
|
-
*/
|
|
143
|
-
'metadata'?: object;
|
|
144
138
|
}
|
|
145
139
|
export declare const CreateProductFieldRequestDtoTypeEntityEnum: {
|
|
146
140
|
readonly SystemProductFieldType: "system_product_field_type";
|
|
@@ -13,7 +13,6 @@ import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
|
13
13
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
14
|
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
15
15
|
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
16
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
17
16
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
17
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
19
18
|
/**
|
|
@@ -82,12 +81,6 @@ export interface GrpcPatchLeadRequestDto {
|
|
|
82
81
|
* @memberof GrpcPatchLeadRequestDto
|
|
83
82
|
*/
|
|
84
83
|
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
85
|
-
/**
|
|
86
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
87
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
88
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
89
|
-
*/
|
|
90
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
91
84
|
/**
|
|
92
85
|
*
|
|
93
86
|
* @type {string}
|
|
@@ -13,7 +13,6 @@ import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
|
13
13
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
14
|
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
15
15
|
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
16
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
17
16
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
17
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
19
18
|
/**
|
|
@@ -88,12 +87,6 @@ export interface GrpcUpdateLeadRequestDto {
|
|
|
88
87
|
* @memberof GrpcUpdateLeadRequestDto
|
|
89
88
|
*/
|
|
90
89
|
'validate'?: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
93
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
94
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
95
|
-
*/
|
|
96
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
97
90
|
/**
|
|
98
91
|
*
|
|
99
92
|
* @type {string}
|
|
@@ -53,39 +53,15 @@ export interface PartnerClass {
|
|
|
53
53
|
*/
|
|
54
54
|
'version'?: number;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Array<TagClass>}
|
|
58
|
-
* @memberof PartnerClass
|
|
59
|
-
*/
|
|
60
|
-
'tags': Array<TagClass>;
|
|
61
|
-
/**
|
|
62
|
-
* The user code of the partner
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof PartnerClass
|
|
65
|
-
*/
|
|
66
|
-
'tenantUserCode'?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof PartnerClass
|
|
71
|
-
*/
|
|
72
|
-
'ern': string;
|
|
73
|
-
/**
|
|
74
|
-
* Unique number assigned to the partner.
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof PartnerClass
|
|
77
|
-
*/
|
|
78
|
-
'partnerNumber': string;
|
|
79
|
-
/**
|
|
80
|
-
* Identifier of the user who created the record.
|
|
56
|
+
* Last user who updated the entity
|
|
81
57
|
* @type {string}
|
|
82
58
|
* @memberof PartnerClass
|
|
83
59
|
*/
|
|
84
|
-
'
|
|
60
|
+
'updatedBy'?: string;
|
|
85
61
|
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {
|
|
62
|
+
* List of tags for the partner
|
|
63
|
+
* @type {Array<TagClass>}
|
|
88
64
|
* @memberof PartnerClass
|
|
89
65
|
*/
|
|
90
|
-
'
|
|
66
|
+
'tags': Array<TagClass>;
|
|
91
67
|
}
|
|
@@ -13,7 +13,6 @@ import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
|
13
13
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
14
|
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
15
15
|
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
16
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
17
16
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
17
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
19
18
|
/**
|
|
@@ -82,12 +81,6 @@ export interface PatchLeadRequestDto {
|
|
|
82
81
|
* @memberof PatchLeadRequestDto
|
|
83
82
|
*/
|
|
84
83
|
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
85
|
-
/**
|
|
86
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
87
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
88
|
-
* @memberof PatchLeadRequestDto
|
|
89
|
-
*/
|
|
90
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
91
84
|
/**
|
|
92
85
|
*
|
|
93
86
|
* @type {boolean}
|
|
@@ -123,12 +123,6 @@ export interface ProductFieldClass {
|
|
|
123
123
|
* @memberof ProductFieldClass
|
|
124
124
|
*/
|
|
125
125
|
'order': number;
|
|
126
|
-
/**
|
|
127
|
-
* Product field metadata object. The field may contain special data specific to the product.
|
|
128
|
-
* @type {object}
|
|
129
|
-
* @memberof ProductFieldClass
|
|
130
|
-
*/
|
|
131
|
-
'metadata'?: object;
|
|
132
126
|
/**
|
|
133
127
|
* Time at which the object was created.
|
|
134
128
|
* @type {string}
|
|
@@ -123,12 +123,6 @@ export interface SharedProductFieldClass {
|
|
|
123
123
|
* @memberof SharedProductFieldClass
|
|
124
124
|
*/
|
|
125
125
|
'order': number;
|
|
126
|
-
/**
|
|
127
|
-
* Product field metadata object. The field may contain special data specific to the product.
|
|
128
|
-
* @type {object}
|
|
129
|
-
* @memberof SharedProductFieldClass
|
|
130
|
-
*/
|
|
131
|
-
'metadata'?: object;
|
|
132
126
|
/**
|
|
133
127
|
* Time at which the object was created.
|
|
134
128
|
* @type {string}
|
|
@@ -13,7 +13,6 @@ import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
|
13
13
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
14
|
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
15
15
|
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
16
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
17
16
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
17
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
19
18
|
/**
|
|
@@ -88,10 +87,4 @@ export interface UpdateLeadRequestDto {
|
|
|
88
87
|
* @memberof UpdateLeadRequestDto
|
|
89
88
|
*/
|
|
90
89
|
'validate'?: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
93
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
94
|
-
* @memberof UpdateLeadRequestDto
|
|
95
|
-
*/
|
|
96
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
97
90
|
}
|
|
@@ -141,12 +141,6 @@ export interface UpdateProductFieldRequestDto {
|
|
|
141
141
|
* @memberof UpdateProductFieldRequestDto
|
|
142
142
|
*/
|
|
143
143
|
'legacyBfOrder'?: number;
|
|
144
|
-
/**
|
|
145
|
-
* Product field metadata object. The field may contain special data specific to the product.
|
|
146
|
-
* @type {object}
|
|
147
|
-
* @memberof UpdateProductFieldRequestDto
|
|
148
|
-
*/
|
|
149
|
-
'metadata'?: object;
|
|
150
144
|
}
|
|
151
145
|
export declare const UpdateProductFieldRequestDtoTypeEntityEnum: {
|
|
152
146
|
readonly SystemProductFieldType: "system_product_field_type";
|
|
@@ -140,12 +140,6 @@ export interface CreateProductFieldRequestDto {
|
|
|
140
140
|
* @memberof CreateProductFieldRequestDto
|
|
141
141
|
*/
|
|
142
142
|
'legacyBfOrder'?: number;
|
|
143
|
-
/**
|
|
144
|
-
* Product field metadata object. The field may contain special data specific to the product.
|
|
145
|
-
* @type {object}
|
|
146
|
-
* @memberof CreateProductFieldRequestDto
|
|
147
|
-
*/
|
|
148
|
-
'metadata'?: object;
|
|
149
143
|
}
|
|
150
144
|
|
|
151
145
|
export const CreateProductFieldRequestDtoTypeEntityEnum = {
|
|
@@ -17,7 +17,6 @@ import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
18
|
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
19
19
|
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
20
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
21
20
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
22
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
23
22
|
|
|
@@ -87,12 +86,6 @@ export interface GrpcPatchLeadRequestDto {
|
|
|
87
86
|
* @memberof GrpcPatchLeadRequestDto
|
|
88
87
|
*/
|
|
89
88
|
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
90
|
-
/**
|
|
91
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
92
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
93
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
94
|
-
*/
|
|
95
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
96
89
|
/**
|
|
97
90
|
*
|
|
98
91
|
* @type {string}
|
|
@@ -17,7 +17,6 @@ import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
18
|
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
19
19
|
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
20
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
21
20
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
22
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
23
22
|
|
|
@@ -93,12 +92,6 @@ export interface GrpcUpdateLeadRequestDto {
|
|
|
93
92
|
* @memberof GrpcUpdateLeadRequestDto
|
|
94
93
|
*/
|
|
95
94
|
'validate'?: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
98
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
99
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
100
|
-
*/
|
|
101
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
102
95
|
/**
|
|
103
96
|
*
|
|
104
97
|
* @type {string}
|
package/models/partner-class.ts
CHANGED
|
@@ -58,40 +58,16 @@ export interface PartnerClass {
|
|
|
58
58
|
*/
|
|
59
59
|
'version'?: number;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<TagClass>}
|
|
63
|
-
* @memberof PartnerClass
|
|
64
|
-
*/
|
|
65
|
-
'tags': Array<TagClass>;
|
|
66
|
-
/**
|
|
67
|
-
* The user code of the partner
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof PartnerClass
|
|
70
|
-
*/
|
|
71
|
-
'tenantUserCode'?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof PartnerClass
|
|
76
|
-
*/
|
|
77
|
-
'ern': string;
|
|
78
|
-
/**
|
|
79
|
-
* Unique number assigned to the partner.
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof PartnerClass
|
|
82
|
-
*/
|
|
83
|
-
'partnerNumber': string;
|
|
84
|
-
/**
|
|
85
|
-
* Identifier of the user who created the record.
|
|
61
|
+
* Last user who updated the entity
|
|
86
62
|
* @type {string}
|
|
87
63
|
* @memberof PartnerClass
|
|
88
64
|
*/
|
|
89
|
-
'
|
|
65
|
+
'updatedBy'?: string;
|
|
90
66
|
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {
|
|
67
|
+
* List of tags for the partner
|
|
68
|
+
* @type {Array<TagClass>}
|
|
93
69
|
* @memberof PartnerClass
|
|
94
70
|
*/
|
|
95
|
-
'
|
|
71
|
+
'tags': Array<TagClass>;
|
|
96
72
|
}
|
|
97
73
|
|
|
@@ -17,7 +17,6 @@ import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
18
|
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
19
19
|
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
20
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
21
20
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
22
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
23
22
|
|
|
@@ -87,12 +86,6 @@ export interface PatchLeadRequestDto {
|
|
|
87
86
|
* @memberof PatchLeadRequestDto
|
|
88
87
|
*/
|
|
89
88
|
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
90
|
-
/**
|
|
91
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
92
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
93
|
-
* @memberof PatchLeadRequestDto
|
|
94
|
-
*/
|
|
95
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
96
89
|
/**
|
|
97
90
|
*
|
|
98
91
|
* @type {boolean}
|
|
@@ -128,12 +128,6 @@ export interface ProductFieldClass {
|
|
|
128
128
|
* @memberof ProductFieldClass
|
|
129
129
|
*/
|
|
130
130
|
'order': number;
|
|
131
|
-
/**
|
|
132
|
-
* Product field metadata object. The field may contain special data specific to the product.
|
|
133
|
-
* @type {object}
|
|
134
|
-
* @memberof ProductFieldClass
|
|
135
|
-
*/
|
|
136
|
-
'metadata'?: object;
|
|
137
131
|
/**
|
|
138
132
|
* Time at which the object was created.
|
|
139
133
|
* @type {string}
|
|
@@ -128,12 +128,6 @@ export interface SharedProductFieldClass {
|
|
|
128
128
|
* @memberof SharedProductFieldClass
|
|
129
129
|
*/
|
|
130
130
|
'order': number;
|
|
131
|
-
/**
|
|
132
|
-
* Product field metadata object. The field may contain special data specific to the product.
|
|
133
|
-
* @type {object}
|
|
134
|
-
* @memberof SharedProductFieldClass
|
|
135
|
-
*/
|
|
136
|
-
'metadata'?: object;
|
|
137
131
|
/**
|
|
138
132
|
* Time at which the object was created.
|
|
139
133
|
* @type {string}
|
|
@@ -17,7 +17,6 @@ import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
18
|
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
19
19
|
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
20
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
21
20
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
22
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
23
22
|
|
|
@@ -93,11 +92,5 @@ export interface UpdateLeadRequestDto {
|
|
|
93
92
|
* @memberof UpdateLeadRequestDto
|
|
94
93
|
*/
|
|
95
94
|
'validate'?: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
98
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
99
|
-
* @memberof UpdateLeadRequestDto
|
|
100
|
-
*/
|
|
101
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
102
95
|
}
|
|
103
96
|
|
|
@@ -146,12 +146,6 @@ export interface UpdateProductFieldRequestDto {
|
|
|
146
146
|
* @memberof UpdateProductFieldRequestDto
|
|
147
147
|
*/
|
|
148
148
|
'legacyBfOrder'?: number;
|
|
149
|
-
/**
|
|
150
|
-
* Product field metadata object. The field may contain special data specific to the product.
|
|
151
|
-
* @type {object}
|
|
152
|
-
* @memberof UpdateProductFieldRequestDto
|
|
153
|
-
*/
|
|
154
|
-
'metadata'?: object;
|
|
155
149
|
}
|
|
156
150
|
|
|
157
151
|
export const UpdateProductFieldRequestDtoTypeEntityEnum = {
|