@emilgroup/insurance-sdk 1.56.1-beta.0 → 1.57.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.
Files changed (63) hide show
  1. package/.openapi-generator/FILES +0 -7
  2. package/README.md +2 -2
  3. package/api/commission-agreement-products-api.ts +4 -4
  4. package/api/commission-agreement-versions-api.ts +4 -4
  5. package/api/commission-agreements-api.ts +4 -4
  6. package/api/commission-recipients-api.ts +4 -4
  7. package/api/product-factors-api.ts +99 -0
  8. package/api.ts +0 -2
  9. package/dist/api/commission-agreement-products-api.d.ts +4 -4
  10. package/dist/api/commission-agreement-products-api.js +3 -3
  11. package/dist/api/commission-agreement-versions-api.d.ts +4 -4
  12. package/dist/api/commission-agreement-versions-api.js +3 -3
  13. package/dist/api/commission-agreements-api.d.ts +4 -4
  14. package/dist/api/commission-agreements-api.js +3 -3
  15. package/dist/api/commission-recipients-api.d.ts +4 -4
  16. package/dist/api/commission-recipients-api.js +3 -3
  17. package/dist/api/product-factors-api.d.ts +52 -0
  18. package/dist/api/product-factors-api.js +88 -0
  19. package/dist/api.d.ts +0 -1
  20. package/dist/api.js +0 -1
  21. package/dist/models/create-product-field-request-dto.d.ts +0 -6
  22. package/dist/models/grpc-patch-lead-request-dto.d.ts +0 -7
  23. package/dist/models/grpc-update-lead-request-dto.d.ts +0 -7
  24. package/dist/models/index.d.ts +0 -6
  25. package/dist/models/index.js +0 -6
  26. package/dist/models/partner-class.d.ts +5 -29
  27. package/dist/models/patch-lead-request-dto.d.ts +0 -7
  28. package/dist/models/product-field-class.d.ts +0 -6
  29. package/dist/models/shared-product-field-class.d.ts +0 -6
  30. package/dist/models/update-lead-request-dto.d.ts +0 -7
  31. package/dist/models/update-product-field-request-dto.d.ts +0 -6
  32. package/models/create-product-field-request-dto.ts +0 -6
  33. package/models/grpc-patch-lead-request-dto.ts +0 -7
  34. package/models/grpc-update-lead-request-dto.ts +0 -7
  35. package/models/index.ts +0 -6
  36. package/models/partner-class.ts +5 -29
  37. package/models/patch-lead-request-dto.ts +0 -7
  38. package/models/product-field-class.ts +0 -6
  39. package/models/shared-product-field-class.ts +0 -6
  40. package/models/update-lead-request-dto.ts +0 -7
  41. package/models/update-product-field-request-dto.ts +0 -6
  42. package/package.json +1 -1
  43. package/api/commission-agreement-items-api.ts +0 -708
  44. package/dist/api/commission-agreement-items-api.d.ts +0 -403
  45. package/dist/api/commission-agreement-items-api.js +0 -650
  46. package/dist/models/create-commission-agreement-item-request-dto.d.ts +0 -36
  47. package/dist/models/create-commission-agreement-item-request-dto.js +0 -15
  48. package/dist/models/create-commission-agreement-item-response-class.d.ts +0 -25
  49. package/dist/models/create-commission-agreement-item-response-class.js +0 -15
  50. package/dist/models/get-commission-agreement-item-response-class.d.ts +0 -25
  51. package/dist/models/get-commission-agreement-item-response-class.js +0 -15
  52. package/dist/models/list-commission-agreement-items-response-class.d.ts +0 -31
  53. package/dist/models/list-commission-agreement-items-response-class.js +0 -15
  54. package/dist/models/update-commission-agreement-item-request-dto.d.ts +0 -36
  55. package/dist/models/update-commission-agreement-item-request-dto.js +0 -15
  56. package/dist/models/update-commission-agreement-item-response-class.d.ts +0 -25
  57. package/dist/models/update-commission-agreement-item-response-class.js +0 -15
  58. package/models/create-commission-agreement-item-request-dto.ts +0 -42
  59. package/models/create-commission-agreement-item-response-class.ts +0 -31
  60. package/models/get-commission-agreement-item-response-class.ts +0 -31
  61. package/models/list-commission-agreement-items-response-class.ts +0 -37
  62. package/models/update-commission-agreement-item-request-dto.ts +0 -42
  63. package/models/update-commission-agreement-item-response-class.ts +0 -31
@@ -249,7 +249,7 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
249
249
  * @param {string} [pageToken] Page token.
250
250
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, description</i>
251
251
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, code, description</i>
252
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, code, description, type, createdAt, updatedAt</i>
252
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
253
253
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, products, recipients<i>
254
254
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, description</i>
255
255
  * @param {*} [options] Override http request option.
@@ -448,7 +448,7 @@ var CommissionAgreementsApiFp = function (configuration) {
448
448
  * @param {string} [pageToken] Page token.
449
449
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, description</i>
450
450
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, code, description</i>
451
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, code, description, type, createdAt, updatedAt</i>
451
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
452
452
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, products, recipients<i>
453
453
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, description</i>
454
454
  * @param {*} [options] Override http request option.
@@ -541,7 +541,7 @@ var CommissionAgreementsApiFactory = function (configuration, basePath, axios) {
541
541
  * @param {string} [pageToken] Page token.
542
542
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, description</i>
543
543
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, code, description</i>
544
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, code, description, type, createdAt, updatedAt</i>
544
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
545
545
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, products, recipients<i>
546
546
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, description</i>
547
547
  * @param {*} [options] Override http request option.
@@ -60,7 +60,7 @@ export declare const CommissionRecipientsApiAxiosParamCreator: (configuration?:
60
60
  * @param {string} [pageToken] Page token.
61
61
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
62
62
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: displayName, partnerCode, code</i>
63
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, displayName, partnerCode, code, createdAt, updatedAt</i>
63
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
64
64
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
65
65
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
66
66
  * @param {*} [options] Override http request option.
@@ -119,7 +119,7 @@ export declare const CommissionRecipientsApiFp: (configuration?: Configuration)
119
119
  * @param {string} [pageToken] Page token.
120
120
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
121
121
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: displayName, partnerCode, code</i>
122
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, displayName, partnerCode, code, createdAt, updatedAt</i>
122
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
123
123
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
124
124
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
125
125
  * @param {*} [options] Override http request option.
@@ -178,7 +178,7 @@ export declare const CommissionRecipientsApiFactory: (configuration?: Configurat
178
178
  * @param {string} [pageToken] Page token.
179
179
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
180
180
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: displayName, partnerCode, code</i>
181
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, displayName, partnerCode, code, createdAt, updatedAt</i>
181
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
182
182
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
183
183
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
184
184
  * @param {*} [options] Override http request option.
@@ -296,7 +296,7 @@ export interface CommissionRecipientsApiListCommissionRecipientsRequest {
296
296
  */
297
297
  readonly search?: string;
298
298
  /**
299
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, displayName, partnerCode, code, createdAt, updatedAt</i>
299
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
300
300
  * @type {string}
301
301
  * @memberof CommissionRecipientsApiListCommissionRecipients
302
302
  */
@@ -249,7 +249,7 @@ var CommissionRecipientsApiAxiosParamCreator = function (configuration) {
249
249
  * @param {string} [pageToken] Page token.
250
250
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
251
251
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: displayName, partnerCode, code</i>
252
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, displayName, partnerCode, code, createdAt, updatedAt</i>
252
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
253
253
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
254
254
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
255
255
  * @param {*} [options] Override http request option.
@@ -448,7 +448,7 @@ var CommissionRecipientsApiFp = function (configuration) {
448
448
  * @param {string} [pageToken] Page token.
449
449
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
450
450
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: displayName, partnerCode, code</i>
451
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, displayName, partnerCode, code, createdAt, updatedAt</i>
451
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
452
452
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
453
453
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
454
454
  * @param {*} [options] Override http request option.
@@ -541,7 +541,7 @@ var CommissionRecipientsApiFactory = function (configuration, basePath, axios) {
541
541
  * @param {string} [pageToken] Page token.
542
542
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
543
543
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: displayName, partnerCode, code</i>
544
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, displayName, partnerCode, code, createdAt, updatedAt</i>
544
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
545
545
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
546
546
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
547
547
  * @param {*} [options] Override http request option.
@@ -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
package/dist/api.d.ts CHANGED
@@ -11,7 +11,6 @@
11
11
  */
12
12
  export * from './api/booking-funnel-versions-api';
13
13
  export * from './api/booking-funnels-api';
14
- export * from './api/commission-agreement-items-api';
15
14
  export * from './api/commission-agreement-products-api';
16
15
  export * from './api/commission-agreement-versions-api';
17
16
  export * from './api/commission-agreements-api';
package/dist/api.js CHANGED
@@ -29,7 +29,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/booking-funnel-versions-api"), exports);
31
31
  __exportStar(require("./api/booking-funnels-api"), exports);
32
- __exportStar(require("./api/commission-agreement-items-api"), exports);
33
32
  __exportStar(require("./api/commission-agreement-products-api"), exports);
34
33
  __exportStar(require("./api/commission-agreement-versions-api"), exports);
35
34
  __exportStar(require("./api/commission-agreements-api"), exports);
@@ -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}
@@ -16,8 +16,6 @@ export * from './create-bank-account-request-dto';
16
16
  export * from './create-booking-funnel-request-dto';
17
17
  export * from './create-booking-funnel-response-class';
18
18
  export * from './create-commission-agreement-item-dto';
19
- export * from './create-commission-agreement-item-request-dto';
20
- export * from './create-commission-agreement-item-response-class';
21
19
  export * from './create-commission-agreement-product-request-dto';
22
20
  export * from './create-commission-agreement-product-response-class';
23
21
  export * from './create-commission-agreement-request-dto';
@@ -66,7 +64,6 @@ export * from './filter-named-range-request-dto';
66
64
  export * from './filter-named-range-response-class';
67
65
  export * from './get-booking-funnel-response-class';
68
66
  export * from './get-booking-funnel-version-request-dto';
69
- export * from './get-commission-agreement-item-response-class';
70
67
  export * from './get-commission-agreement-product-response-class';
71
68
  export * from './get-commission-agreement-response-class';
72
69
  export * from './get-commission-agreement-version-response-class';
@@ -118,7 +115,6 @@ export * from './link-lead-partner-request-dto';
118
115
  export * from './link-partner-request-dto';
119
116
  export * from './link-partner-response-class';
120
117
  export * from './list-booking-funnels-response-class';
121
- export * from './list-commission-agreement-items-response-class';
122
118
  export * from './list-commission-agreement-products-response-class';
123
119
  export * from './list-commission-agreement-versions-response-class';
124
120
  export * from './list-commission-agreements-response-class';
@@ -197,8 +193,6 @@ export * from './timeslice-class';
197
193
  export * from './unlink-partner-response-class';
198
194
  export * from './update-booking-funnel-request-dto';
199
195
  export * from './update-booking-funnel-response-class';
200
- export * from './update-commission-agreement-item-request-dto';
201
- export * from './update-commission-agreement-item-response-class';
202
196
  export * from './update-commission-agreement-product-request-dto';
203
197
  export * from './update-commission-agreement-product-response-class';
204
198
  export * from './update-commission-agreement-request-dto';
@@ -32,8 +32,6 @@ __exportStar(require("./create-bank-account-request-dto"), exports);
32
32
  __exportStar(require("./create-booking-funnel-request-dto"), exports);
33
33
  __exportStar(require("./create-booking-funnel-response-class"), exports);
34
34
  __exportStar(require("./create-commission-agreement-item-dto"), exports);
35
- __exportStar(require("./create-commission-agreement-item-request-dto"), exports);
36
- __exportStar(require("./create-commission-agreement-item-response-class"), exports);
37
35
  __exportStar(require("./create-commission-agreement-product-request-dto"), exports);
38
36
  __exportStar(require("./create-commission-agreement-product-response-class"), exports);
39
37
  __exportStar(require("./create-commission-agreement-request-dto"), exports);
@@ -82,7 +80,6 @@ __exportStar(require("./filter-named-range-request-dto"), exports);
82
80
  __exportStar(require("./filter-named-range-response-class"), exports);
83
81
  __exportStar(require("./get-booking-funnel-response-class"), exports);
84
82
  __exportStar(require("./get-booking-funnel-version-request-dto"), exports);
85
- __exportStar(require("./get-commission-agreement-item-response-class"), exports);
86
83
  __exportStar(require("./get-commission-agreement-product-response-class"), exports);
87
84
  __exportStar(require("./get-commission-agreement-response-class"), exports);
88
85
  __exportStar(require("./get-commission-agreement-version-response-class"), exports);
@@ -134,7 +131,6 @@ __exportStar(require("./link-lead-partner-request-dto"), exports);
134
131
  __exportStar(require("./link-partner-request-dto"), exports);
135
132
  __exportStar(require("./link-partner-response-class"), exports);
136
133
  __exportStar(require("./list-booking-funnels-response-class"), exports);
137
- __exportStar(require("./list-commission-agreement-items-response-class"), exports);
138
134
  __exportStar(require("./list-commission-agreement-products-response-class"), exports);
139
135
  __exportStar(require("./list-commission-agreement-versions-response-class"), exports);
140
136
  __exportStar(require("./list-commission-agreements-response-class"), exports);
@@ -213,8 +209,6 @@ __exportStar(require("./timeslice-class"), exports);
213
209
  __exportStar(require("./unlink-partner-response-class"), exports);
214
210
  __exportStar(require("./update-booking-funnel-request-dto"), exports);
215
211
  __exportStar(require("./update-booking-funnel-response-class"), exports);
216
- __exportStar(require("./update-commission-agreement-item-request-dto"), exports);
217
- __exportStar(require("./update-commission-agreement-item-response-class"), exports);
218
212
  __exportStar(require("./update-commission-agreement-product-request-dto"), exports);
219
213
  __exportStar(require("./update-commission-agreement-product-response-class"), exports);
220
214
  __exportStar(require("./update-commission-agreement-request-dto"), exports);
@@ -53,39 +53,15 @@ export interface PartnerClass {
53
53
  */
54
54
  'version'?: number;
55
55
  /**
56
- * Tags that the partner is associated with
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
- 'createdBy': string;
60
+ 'updatedBy'?: string;
85
61
  /**
86
- * Identifier of the user who last updated the record.
87
- * @type {string}
62
+ * List of tags for the partner
63
+ * @type {Array<TagClass>}
88
64
  * @memberof PartnerClass
89
65
  */
90
- 'updatedBy': string;
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}