@emilgroup/commission-sdk-node 2.9.1-beta.1 → 2.9.1-beta.3

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 (29) hide show
  1. package/.openapi-generator/FILES +0 -2
  2. package/README.md +2 -2
  3. package/api/commission-agreement-versions-api.ts +12 -12
  4. package/api/commission-settlements-api.ts +0 -107
  5. package/api/commissions-api.ts +13 -13
  6. package/dist/api/commission-agreement-versions-api.d.ts +12 -12
  7. package/dist/api/commission-agreement-versions-api.js +9 -9
  8. package/dist/api/commission-settlements-api.d.ts +0 -57
  9. package/dist/api/commission-settlements-api.js +0 -93
  10. package/dist/api/commissions-api.d.ts +13 -13
  11. package/dist/api/commissions-api.js +6 -6
  12. package/dist/models/commission-agreement-version-class.d.ts +0 -6
  13. package/dist/models/commission-class.d.ts +0 -6
  14. package/dist/models/create-commission-agreement-request-dto.d.ts +0 -6
  15. package/dist/models/create-commission-agreement-version-request-dto.d.ts +0 -6
  16. package/dist/models/index.d.ts +0 -2
  17. package/dist/models/index.js +0 -2
  18. package/models/commission-agreement-version-class.ts +0 -6
  19. package/models/commission-class.ts +0 -6
  20. package/models/create-commission-agreement-request-dto.ts +0 -6
  21. package/models/create-commission-agreement-version-request-dto.ts +0 -6
  22. package/models/index.ts +0 -2
  23. package/package.json +1 -1
  24. package/dist/models/trigger-commission-settlement-creation-request-dto.d.ts +0 -30
  25. package/dist/models/trigger-commission-settlement-creation-request-dto.js +0 -15
  26. package/dist/models/trigger-commission-settlement-creation-response-class.d.ts +0 -24
  27. package/dist/models/trigger-commission-settlement-creation-response-class.js +0 -15
  28. package/models/trigger-commission-settlement-creation-request-dto.ts +0 -36
  29. package/models/trigger-commission-settlement-creation-response-class.ts +0 -30
@@ -368,55 +368,6 @@ var CommissionSettlementsApiAxiosParamCreator = function (configuration) {
368
368
  });
369
369
  });
370
370
  },
371
- /**
372
- * Triggers the commission settlement creation job.
373
- * @summary Create the commission settlement creation job
374
- * @param {TriggerCommissionSettlementCreationRequestDto} triggerCommissionSettlementCreationRequestDto
375
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
376
- * @param {*} [options] Override http request option.
377
- * @throws {RequiredError}
378
- */
379
- triggerCommissionSettlementCreation: function (triggerCommissionSettlementCreationRequestDto, authorization, options) {
380
- if (options === void 0) { options = {}; }
381
- return __awaiter(_this, void 0, void 0, function () {
382
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
383
- return __generator(this, function (_a) {
384
- switch (_a.label) {
385
- case 0:
386
- // verify required parameter 'triggerCommissionSettlementCreationRequestDto' is not null or undefined
387
- (0, common_1.assertParamExists)('triggerCommissionSettlementCreation', 'triggerCommissionSettlementCreationRequestDto', triggerCommissionSettlementCreationRequestDto);
388
- localVarPath = "/commissionservice/v1/commission-settlements/commission-settlement-creation/trigger";
389
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
390
- if (configuration) {
391
- baseOptions = configuration.baseOptions;
392
- baseAccessToken = configuration.accessToken;
393
- }
394
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
395
- localVarHeaderParameter = {};
396
- localVarQueryParameter = {};
397
- // authentication bearer required
398
- // http bearer authentication required
399
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
400
- case 1:
401
- // authentication bearer required
402
- // http bearer authentication required
403
- _a.sent();
404
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
405
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
406
- }
407
- localVarHeaderParameter['Content-Type'] = 'application/json';
408
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
409
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
410
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
411
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(triggerCommissionSettlementCreationRequestDto, localVarRequestOptions, configuration);
412
- return [2 /*return*/, {
413
- url: (0, common_1.toPathString)(localVarUrlObj),
414
- options: localVarRequestOptions,
415
- }];
416
- }
417
- });
418
- });
419
- },
420
371
  /**
421
372
  * This will update commission settlement.
422
373
  * @summary Update the commission settlement
@@ -592,27 +543,6 @@ var CommissionSettlementsApiFp = function (configuration) {
592
543
  });
593
544
  });
594
545
  },
595
- /**
596
- * Triggers the commission settlement creation job.
597
- * @summary Create the commission settlement creation job
598
- * @param {TriggerCommissionSettlementCreationRequestDto} triggerCommissionSettlementCreationRequestDto
599
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
600
- * @param {*} [options] Override http request option.
601
- * @throws {RequiredError}
602
- */
603
- triggerCommissionSettlementCreation: function (triggerCommissionSettlementCreationRequestDto, authorization, options) {
604
- return __awaiter(this, void 0, void 0, function () {
605
- var localVarAxiosArgs;
606
- return __generator(this, function (_a) {
607
- switch (_a.label) {
608
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.triggerCommissionSettlementCreation(triggerCommissionSettlementCreationRequestDto, authorization, options)];
609
- case 1:
610
- localVarAxiosArgs = _a.sent();
611
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
612
- }
613
- });
614
- });
615
- },
616
546
  /**
617
547
  * This will update commission settlement.
618
548
  * @summary Update the commission settlement
@@ -707,17 +637,6 @@ var CommissionSettlementsApiFactory = function (configuration, basePath, axios)
707
637
  publishCommissionSettlements: function (publishCommissionSettlementsRequestDto, authorization, options) {
708
638
  return localVarFp.publishCommissionSettlements(publishCommissionSettlementsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
709
639
  },
710
- /**
711
- * Triggers the commission settlement creation job.
712
- * @summary Create the commission settlement creation job
713
- * @param {TriggerCommissionSettlementCreationRequestDto} triggerCommissionSettlementCreationRequestDto
714
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
715
- * @param {*} [options] Override http request option.
716
- * @throws {RequiredError}
717
- */
718
- triggerCommissionSettlementCreation: function (triggerCommissionSettlementCreationRequestDto, authorization, options) {
719
- return localVarFp.triggerCommissionSettlementCreation(triggerCommissionSettlementCreationRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
720
- },
721
640
  /**
722
641
  * This will update commission settlement.
723
642
  * @summary Update the commission settlement
@@ -805,18 +724,6 @@ var CommissionSettlementsApi = /** @class */ (function (_super) {
805
724
  var _this = this;
806
725
  return (0, exports.CommissionSettlementsApiFp)(this.configuration).publishCommissionSettlements(requestParameters.publishCommissionSettlementsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
807
726
  };
808
- /**
809
- * Triggers the commission settlement creation job.
810
- * @summary Create the commission settlement creation job
811
- * @param {CommissionSettlementsApiTriggerCommissionSettlementCreationRequest} requestParameters Request parameters.
812
- * @param {*} [options] Override http request option.
813
- * @throws {RequiredError}
814
- * @memberof CommissionSettlementsApi
815
- */
816
- CommissionSettlementsApi.prototype.triggerCommissionSettlementCreation = function (requestParameters, options) {
817
- var _this = this;
818
- return (0, exports.CommissionSettlementsApiFp)(this.configuration).triggerCommissionSettlementCreation(requestParameters.triggerCommissionSettlementCreationRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
819
- };
820
727
  /**
821
728
  * This will update commission settlement.
822
729
  * @summary Update the commission settlement
@@ -68,15 +68,15 @@ export declare const CommissionsApiAxiosParamCreator: (configuration?: Configura
68
68
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
69
69
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
70
70
  * @param {string} [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.
71
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
71
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
72
72
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
73
- * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
73
+ * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
74
74
  * @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
75
75
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
76
76
  * @param {*} [options] Override http request option.
77
77
  * @throws {RequiredError}
78
78
  */
79
- listCommissions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
+ listCommissions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
80
  /**
81
81
  * This will update commission.
82
82
  * @summary Update the commission
@@ -136,15 +136,15 @@ export declare const CommissionsApiFp: (configuration?: Configuration) => {
136
136
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
137
137
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
138
138
  * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
139
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
139
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
140
140
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
141
- * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
141
+ * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
142
142
  * @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
143
143
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
144
144
  * @param {*} [options] Override http request option.
145
145
  * @throws {RequiredError}
146
146
  */
147
- listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>>;
147
+ listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>>;
148
148
  /**
149
149
  * This will update commission.
150
150
  * @summary Update the commission
@@ -204,15 +204,15 @@ export declare const CommissionsApiFactory: (configuration?: Configuration, base
204
204
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
205
205
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
206
206
  * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
207
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
207
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
208
208
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
209
- * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
209
+ * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
210
210
  * @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
211
211
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
212
212
  * @param {*} [options] Override http request option.
213
213
  * @throws {RequiredError}
214
214
  */
215
- listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: any): AxiosPromise<ListCommissionsResponseClass>;
215
+ listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: any): AxiosPromise<ListCommissionsResponseClass>;
216
216
  /**
217
217
  * This will update commission.
218
218
  * @summary Update the commission
@@ -332,10 +332,10 @@ export interface CommissionsApiListCommissionsRequest {
332
332
  readonly pageToken?: string;
333
333
  /**
334
334
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
335
- * @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'}
335
+ * @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'}
336
336
  * @memberof CommissionsApiListCommissions
337
337
  */
338
- readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode';
338
+ readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode';
339
339
  /**
340
340
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
341
341
  * @type {string}
@@ -344,10 +344,10 @@ export interface CommissionsApiListCommissionsRequest {
344
344
  readonly search?: string;
345
345
  /**
346
346
  * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
347
- * @type {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
347
+ * @type {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
348
348
  * @memberof CommissionsApiListCommissions
349
349
  */
350
- readonly order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency';
350
+ readonly order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency';
351
351
  /**
352
352
  * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
353
353
  * @type {'items' | 'agreement'}
@@ -302,9 +302,9 @@ var CommissionsApiAxiosParamCreator = function (configuration) {
302
302
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
303
303
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
304
304
  * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
305
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
305
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
306
306
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
307
- * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
307
+ * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
308
308
  * @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
309
309
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
310
310
  * @param {*} [options] Override http request option.
@@ -522,9 +522,9 @@ var CommissionsApiFp = function (configuration) {
522
522
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
523
523
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
524
524
  * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
525
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
525
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
526
526
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
527
- * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
527
+ * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
528
528
  * @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
529
529
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
530
530
  * @param {*} [options] Override http request option.
@@ -626,9 +626,9 @@ var CommissionsApiFactory = function (configuration, basePath, axios) {
626
626
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
627
627
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
628
628
  * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
629
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
629
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
630
630
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
631
- * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
631
+ * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
632
632
  * @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
633
633
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
634
634
  * @param {*} [options] Override http request option.
@@ -53,12 +53,6 @@ export interface CommissionAgreementVersionClass {
53
53
  * @memberof CommissionAgreementVersionClass
54
54
  */
55
55
  'endDate'?: string;
56
- /**
57
- * Date when commission settlement creation should start for this agreement version. Treated as a date-only schedule value.
58
- * @type {string}
59
- * @memberof CommissionAgreementVersionClass
60
- */
61
- 'settlementCreationDate'?: string;
62
56
  /**
63
57
  * Description explaining what changed in this version or version notes
64
58
  * @type {string}
@@ -95,12 +95,6 @@ export interface CommissionClass {
95
95
  * @memberof CommissionClass
96
96
  */
97
97
  'status': string;
98
- /**
99
- * The latest date when the commission became open.
100
- * @type {string}
101
- * @memberof CommissionClass
102
- */
103
- 'openedAt'?: string;
104
98
  /**
105
99
  * The code of the settlement this commission is associated with
106
100
  * @type {string}
@@ -64,12 +64,6 @@ export interface CreateCommissionAgreementRequestDto {
64
64
  * @memberof CreateCommissionAgreementRequestDto
65
65
  */
66
66
  'endDate'?: string;
67
- /**
68
- * Date when commission settlement creation should start for this agreement. Treated as a date-only schedule value.
69
- * @type {string}
70
- * @memberof CreateCommissionAgreementRequestDto
71
- */
72
- 'settlementCreationDate'?: string;
73
67
  }
74
68
  export declare const CreateCommissionAgreementRequestDtoBillingFrequencyEnum: {
75
69
  readonly Immediately: "immediately";
@@ -33,12 +33,6 @@ export interface CreateCommissionAgreementVersionRequestDto {
33
33
  * @memberof CreateCommissionAgreementVersionRequestDto
34
34
  */
35
35
  'endDate'?: string;
36
- /**
37
- * Date when commission settlement creation should start for this agreement version. Treated as a date-only schedule value.
38
- * @type {string}
39
- * @memberof CreateCommissionAgreementVersionRequestDto
40
- */
41
- 'settlementCreationDate'?: string;
42
36
  /**
43
37
  * Description explaining what changed in this version or version notes
44
38
  * @type {string}
@@ -61,8 +61,6 @@ export * from './patch-commission-agreement-status-request-dto';
61
61
  export * from './patch-commission-agreement-status-response-class';
62
62
  export * from './publish-commission-settlements-request-dto';
63
63
  export * from './publish-commission-settlements-response-class';
64
- export * from './trigger-commission-settlement-creation-request-dto';
65
- export * from './trigger-commission-settlement-creation-response-class';
66
64
  export * from './update-commission-agreement-product-request-dto';
67
65
  export * from './update-commission-agreement-product-response-class';
68
66
  export * from './update-commission-agreement-request-dto';
@@ -77,8 +77,6 @@ __exportStar(require("./patch-commission-agreement-status-request-dto"), exports
77
77
  __exportStar(require("./patch-commission-agreement-status-response-class"), exports);
78
78
  __exportStar(require("./publish-commission-settlements-request-dto"), exports);
79
79
  __exportStar(require("./publish-commission-settlements-response-class"), exports);
80
- __exportStar(require("./trigger-commission-settlement-creation-request-dto"), exports);
81
- __exportStar(require("./trigger-commission-settlement-creation-response-class"), exports);
82
80
  __exportStar(require("./update-commission-agreement-product-request-dto"), exports);
83
81
  __exportStar(require("./update-commission-agreement-product-response-class"), exports);
84
82
  __exportStar(require("./update-commission-agreement-request-dto"), exports);
@@ -58,12 +58,6 @@ export interface CommissionAgreementVersionClass {
58
58
  * @memberof CommissionAgreementVersionClass
59
59
  */
60
60
  'endDate'?: string;
61
- /**
62
- * Date when commission settlement creation should start for this agreement version. Treated as a date-only schedule value.
63
- * @type {string}
64
- * @memberof CommissionAgreementVersionClass
65
- */
66
- 'settlementCreationDate'?: string;
67
61
  /**
68
62
  * Description explaining what changed in this version or version notes
69
63
  * @type {string}
@@ -100,12 +100,6 @@ export interface CommissionClass {
100
100
  * @memberof CommissionClass
101
101
  */
102
102
  'status': string;
103
- /**
104
- * The latest date when the commission became open.
105
- * @type {string}
106
- * @memberof CommissionClass
107
- */
108
- 'openedAt'?: string;
109
103
  /**
110
104
  * The code of the settlement this commission is associated with
111
105
  * @type {string}
@@ -69,12 +69,6 @@ export interface CreateCommissionAgreementRequestDto {
69
69
  * @memberof CreateCommissionAgreementRequestDto
70
70
  */
71
71
  'endDate'?: string;
72
- /**
73
- * Date when commission settlement creation should start for this agreement. Treated as a date-only schedule value.
74
- * @type {string}
75
- * @memberof CreateCommissionAgreementRequestDto
76
- */
77
- 'settlementCreationDate'?: string;
78
72
  }
79
73
 
80
74
  export const CreateCommissionAgreementRequestDtoBillingFrequencyEnum = {
@@ -38,12 +38,6 @@ export interface CreateCommissionAgreementVersionRequestDto {
38
38
  * @memberof CreateCommissionAgreementVersionRequestDto
39
39
  */
40
40
  'endDate'?: string;
41
- /**
42
- * Date when commission settlement creation should start for this agreement version. Treated as a date-only schedule value.
43
- * @type {string}
44
- * @memberof CreateCommissionAgreementVersionRequestDto
45
- */
46
- 'settlementCreationDate'?: string;
47
41
  /**
48
42
  * Description explaining what changed in this version or version notes
49
43
  * @type {string}
package/models/index.ts CHANGED
@@ -61,8 +61,6 @@ export * from './patch-commission-agreement-status-request-dto';
61
61
  export * from './patch-commission-agreement-status-response-class';
62
62
  export * from './publish-commission-settlements-request-dto';
63
63
  export * from './publish-commission-settlements-response-class';
64
- export * from './trigger-commission-settlement-creation-request-dto';
65
- export * from './trigger-commission-settlement-creation-response-class';
66
64
  export * from './update-commission-agreement-product-request-dto';
67
65
  export * from './update-commission-agreement-product-response-class';
68
66
  export * from './update-commission-agreement-request-dto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk-node",
3
- "version": "2.9.1-beta.1",
3
+ "version": "2.9.1-beta.3",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,30 +0,0 @@
1
- /**
2
- * EMIL CommissionService
3
- * The EMIL CommissionService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface TriggerCommissionSettlementCreationRequestDto
16
- */
17
- export interface TriggerCommissionSettlementCreationRequestDto {
18
- /**
19
- * Optional business execution timestamp used to evaluate the due date. The settlement window ends at the start of that due date. Defaults to the current timestamp when omitted.
20
- * @type {string}
21
- * @memberof TriggerCommissionSettlementCreationRequestDto
22
- */
23
- 'executionDate'?: string;
24
- /**
25
- * When true, validates and logs what would be processed without creating settlements.
26
- * @type {boolean}
27
- * @memberof TriggerCommissionSettlementCreationRequestDto
28
- */
29
- 'dryRun'?: boolean;
30
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL CommissionService
6
- * The EMIL CommissionService 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,24 +0,0 @@
1
- /**
2
- * EMIL CommissionService
3
- * The EMIL CommissionService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface TriggerCommissionSettlementCreationResponseClass
16
- */
17
- export interface TriggerCommissionSettlementCreationResponseClass {
18
- /**
19
- * Indicates that the commission settlement creation job was triggered.
20
- * @type {boolean}
21
- * @memberof TriggerCommissionSettlementCreationResponseClass
22
- */
23
- 'success': boolean;
24
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL CommissionService
6
- * The EMIL CommissionService 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,36 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL CommissionService
5
- * The EMIL CommissionService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface TriggerCommissionSettlementCreationRequestDto
21
- */
22
- export interface TriggerCommissionSettlementCreationRequestDto {
23
- /**
24
- * Optional business execution timestamp used to evaluate the due date. The settlement window ends at the start of that due date. Defaults to the current timestamp when omitted.
25
- * @type {string}
26
- * @memberof TriggerCommissionSettlementCreationRequestDto
27
- */
28
- 'executionDate'?: string;
29
- /**
30
- * When true, validates and logs what would be processed without creating settlements.
31
- * @type {boolean}
32
- * @memberof TriggerCommissionSettlementCreationRequestDto
33
- */
34
- 'dryRun'?: boolean;
35
- }
36
-
@@ -1,30 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL CommissionService
5
- * The EMIL CommissionService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface TriggerCommissionSettlementCreationResponseClass
21
- */
22
- export interface TriggerCommissionSettlementCreationResponseClass {
23
- /**
24
- * Indicates that the commission settlement creation job was triggered.
25
- * @type {boolean}
26
- * @memberof TriggerCommissionSettlementCreationResponseClass
27
- */
28
- 'success': boolean;
29
- }
30
-