@emilgroup/commission-sdk-node 2.4.1-beta.9 → 2.9.1-beta.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 (32) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -2
  3. package/api/commission-agreement-versions-api.ts +12 -12
  4. package/api/commission-settlements-api.ts +107 -0
  5. package/api/commissions-api.ts +13 -13
  6. package/base.ts +1 -0
  7. package/dist/api/commission-agreement-versions-api.d.ts +12 -12
  8. package/dist/api/commission-agreement-versions-api.js +9 -9
  9. package/dist/api/commission-settlements-api.d.ts +57 -0
  10. package/dist/api/commission-settlements-api.js +93 -0
  11. package/dist/api/commissions-api.d.ts +13 -13
  12. package/dist/api/commissions-api.js +6 -6
  13. package/dist/base.d.ts +2 -1
  14. package/dist/base.js +1 -0
  15. package/dist/models/commission-agreement-version-class.d.ts +6 -0
  16. package/dist/models/commission-class.d.ts +6 -0
  17. package/dist/models/create-commission-agreement-request-dto.d.ts +6 -0
  18. package/dist/models/create-commission-agreement-version-request-dto.d.ts +6 -0
  19. package/dist/models/index.d.ts +2 -0
  20. package/dist/models/index.js +2 -0
  21. package/dist/models/trigger-commission-settlement-creation-request-dto.d.ts +30 -0
  22. package/dist/models/trigger-commission-settlement-creation-request-dto.js +15 -0
  23. package/dist/models/trigger-commission-settlement-creation-response-class.d.ts +24 -0
  24. package/dist/models/trigger-commission-settlement-creation-response-class.js +15 -0
  25. package/models/commission-agreement-version-class.ts +6 -0
  26. package/models/commission-class.ts +6 -0
  27. package/models/create-commission-agreement-request-dto.ts +6 -0
  28. package/models/create-commission-agreement-version-request-dto.ts +6 -0
  29. package/models/index.ts +2 -0
  30. package/models/trigger-commission-settlement-creation-request-dto.ts +36 -0
  31. package/models/trigger-commission-settlement-creation-response-class.ts +30 -0
  32. package/package.json +2 -2
@@ -18,6 +18,8 @@ import { GetCommissionSettlementResponseClass } from '../models';
18
18
  import { ListCommissionSettlementsResponseClass } from '../models';
19
19
  import { PublishCommissionSettlementsRequestDto } from '../models';
20
20
  import { PublishCommissionSettlementsResponseClass } from '../models';
21
+ import { TriggerCommissionSettlementCreationRequestDto } from '../models';
22
+ import { TriggerCommissionSettlementCreationResponseClass } from '../models';
21
23
  import { UpdateCommissionSettlementRequestDto } from '../models';
22
24
  import { UpdateCommissionSettlementResponseClass } from '../models';
23
25
  /**
@@ -77,6 +79,15 @@ export declare const CommissionSettlementsApiAxiosParamCreator: (configuration?:
77
79
  * @throws {RequiredError}
78
80
  */
79
81
  publishCommissionSettlements: (publishCommissionSettlementsRequestDto: PublishCommissionSettlementsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
82
+ /**
83
+ * Triggers the commission settlement creation job.
84
+ * @summary Create the commission settlement creation job
85
+ * @param {TriggerCommissionSettlementCreationRequestDto} triggerCommissionSettlementCreationRequestDto
86
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ triggerCommissionSettlementCreation: (triggerCommissionSettlementCreationRequestDto: TriggerCommissionSettlementCreationRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
91
  /**
81
92
  * This will update commission settlement.
82
93
  * @summary Update the commission settlement
@@ -145,6 +156,15 @@ export declare const CommissionSettlementsApiFp: (configuration?: Configuration)
145
156
  * @throws {RequiredError}
146
157
  */
147
158
  publishCommissionSettlements(publishCommissionSettlementsRequestDto: PublishCommissionSettlementsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishCommissionSettlementsResponseClass>>;
159
+ /**
160
+ * Triggers the commission settlement creation job.
161
+ * @summary Create the commission settlement creation job
162
+ * @param {TriggerCommissionSettlementCreationRequestDto} triggerCommissionSettlementCreationRequestDto
163
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
164
+ * @param {*} [options] Override http request option.
165
+ * @throws {RequiredError}
166
+ */
167
+ triggerCommissionSettlementCreation(triggerCommissionSettlementCreationRequestDto: TriggerCommissionSettlementCreationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TriggerCommissionSettlementCreationResponseClass>>;
148
168
  /**
149
169
  * This will update commission settlement.
150
170
  * @summary Update the commission settlement
@@ -213,6 +233,15 @@ export declare const CommissionSettlementsApiFactory: (configuration?: Configura
213
233
  * @throws {RequiredError}
214
234
  */
215
235
  publishCommissionSettlements(publishCommissionSettlementsRequestDto: PublishCommissionSettlementsRequestDto, authorization?: string, options?: any): AxiosPromise<PublishCommissionSettlementsResponseClass>;
236
+ /**
237
+ * Triggers the commission settlement creation job.
238
+ * @summary Create the commission settlement creation job
239
+ * @param {TriggerCommissionSettlementCreationRequestDto} triggerCommissionSettlementCreationRequestDto
240
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
241
+ * @param {*} [options] Override http request option.
242
+ * @throws {RequiredError}
243
+ */
244
+ triggerCommissionSettlementCreation(triggerCommissionSettlementCreationRequestDto: TriggerCommissionSettlementCreationRequestDto, authorization?: string, options?: any): AxiosPromise<TriggerCommissionSettlementCreationResponseClass>;
216
245
  /**
217
246
  * This will update commission settlement.
218
247
  * @summary Update the commission settlement
@@ -361,6 +390,25 @@ export interface CommissionSettlementsApiPublishCommissionSettlementsRequest {
361
390
  */
362
391
  readonly authorization?: string;
363
392
  }
393
+ /**
394
+ * Request parameters for triggerCommissionSettlementCreation operation in CommissionSettlementsApi.
395
+ * @export
396
+ * @interface CommissionSettlementsApiTriggerCommissionSettlementCreationRequest
397
+ */
398
+ export interface CommissionSettlementsApiTriggerCommissionSettlementCreationRequest {
399
+ /**
400
+ *
401
+ * @type {TriggerCommissionSettlementCreationRequestDto}
402
+ * @memberof CommissionSettlementsApiTriggerCommissionSettlementCreation
403
+ */
404
+ readonly triggerCommissionSettlementCreationRequestDto: TriggerCommissionSettlementCreationRequestDto;
405
+ /**
406
+ * Bearer Token: provided by the login endpoint under the name accessToken.
407
+ * @type {string}
408
+ * @memberof CommissionSettlementsApiTriggerCommissionSettlementCreation
409
+ */
410
+ readonly authorization?: string;
411
+ }
364
412
  /**
365
413
  * Request parameters for updateCommissionSettlement operation in CommissionSettlementsApi.
366
414
  * @export
@@ -438,6 +486,15 @@ export declare class CommissionSettlementsApi extends BaseAPI {
438
486
  * @memberof CommissionSettlementsApi
439
487
  */
440
488
  publishCommissionSettlements(requestParameters: CommissionSettlementsApiPublishCommissionSettlementsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishCommissionSettlementsResponseClass, any, {}>>;
489
+ /**
490
+ * Triggers the commission settlement creation job.
491
+ * @summary Create the commission settlement creation job
492
+ * @param {CommissionSettlementsApiTriggerCommissionSettlementCreationRequest} requestParameters Request parameters.
493
+ * @param {*} [options] Override http request option.
494
+ * @throws {RequiredError}
495
+ * @memberof CommissionSettlementsApi
496
+ */
497
+ triggerCommissionSettlementCreation(requestParameters: CommissionSettlementsApiTriggerCommissionSettlementCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TriggerCommissionSettlementCreationResponseClass, any, {}>>;
441
498
  /**
442
499
  * This will update commission settlement.
443
500
  * @summary Update the commission settlement
@@ -368,6 +368,55 @@ 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
+ },
371
420
  /**
372
421
  * This will update commission settlement.
373
422
  * @summary Update the commission settlement
@@ -543,6 +592,27 @@ var CommissionSettlementsApiFp = function (configuration) {
543
592
  });
544
593
  });
545
594
  },
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
+ },
546
616
  /**
547
617
  * This will update commission settlement.
548
618
  * @summary Update the commission settlement
@@ -637,6 +707,17 @@ var CommissionSettlementsApiFactory = function (configuration, basePath, axios)
637
707
  publishCommissionSettlements: function (publishCommissionSettlementsRequestDto, authorization, options) {
638
708
  return localVarFp.publishCommissionSettlements(publishCommissionSettlementsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
639
709
  },
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
+ },
640
721
  /**
641
722
  * This will update commission settlement.
642
723
  * @summary Update the commission settlement
@@ -724,6 +805,18 @@ var CommissionSettlementsApi = /** @class */ (function (_super) {
724
805
  var _this = this;
725
806
  return (0, exports.CommissionSettlementsApiFp)(this.configuration).publishCommissionSettlements(requestParameters.publishCommissionSettlementsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
726
807
  };
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
+ };
727
820
  /**
728
821
  * This will update commission settlement.
729
822
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;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' | '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' | 'openedAt' | '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&#x3D;xxx to fetch the result.
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.
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.
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' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | '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' | '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>;
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' | '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' | 'openedAt' | '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' | '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' | '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.
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' | '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>>;
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>>;
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' | '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' | 'openedAt' | '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' | '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' | '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.
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' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | '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' | '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>;
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' | 'updatedAt' | 'settlementCode'}
335
+ * @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'}
336
336
  * @memberof CommissionsApiListCommissions
337
337
  */
338
- readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode';
338
+ readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | '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' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
347
+ * @type {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
348
348
  * @memberof CommissionsApiListCommissions
349
349
  */
350
- readonly order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency';
350
+ readonly order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | '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' | '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' | 'openedAt' | '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' | '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' | '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.
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' | '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' | 'openedAt' | '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' | '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' | '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.
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' | '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' | 'openedAt' | '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' | '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' | '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.
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.
package/dist/base.d.ts CHANGED
@@ -39,7 +39,8 @@ export declare enum Environment {
39
39
  Test = "https://apiv2-test.emil.de",
40
40
  Staging = "https://apiv2-staging.emil.de",
41
41
  Development = "https://apiv2-dev.emil.de",
42
- ProductionZurich = "https://eu-central-2.apiv2.emil.de"
42
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de",
43
+ StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
43
44
  }
44
45
  export declare function resetRetry(): void;
45
46
  /**
package/dist/base.js CHANGED
@@ -132,6 +132,7 @@ var Environment;
132
132
  Environment["Staging"] = "https://apiv2-staging.emil.de";
133
133
  Environment["Development"] = "https://apiv2-dev.emil.de";
134
134
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
135
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
135
136
  })(Environment = exports.Environment || (exports.Environment = {}));
136
137
  var _retry_count = 0;
137
138
  var _retry = null;
@@ -53,6 +53,12 @@ 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;
56
62
  /**
57
63
  * Description explaining what changed in this version or version notes
58
64
  * @type {string}
@@ -95,6 +95,12 @@ 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;
98
104
  /**
99
105
  * The code of the settlement this commission is associated with
100
106
  * @type {string}
@@ -64,6 +64,12 @@ 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;
67
73
  }
68
74
  export declare const CreateCommissionAgreementRequestDtoBillingFrequencyEnum: {
69
75
  readonly Immediately: "immediately";
@@ -33,6 +33,12 @@ 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;
36
42
  /**
37
43
  * Description explaining what changed in this version or version notes
38
44
  * @type {string}
@@ -61,6 +61,8 @@ 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';
64
66
  export * from './update-commission-agreement-product-request-dto';
65
67
  export * from './update-commission-agreement-product-response-class';
66
68
  export * from './update-commission-agreement-request-dto';
@@ -77,6 +77,8 @@ __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);
80
82
  __exportStar(require("./update-commission-agreement-product-request-dto"), exports);
81
83
  __exportStar(require("./update-commission-agreement-product-response-class"), exports);
82
84
  __exportStar(require("./update-commission-agreement-request-dto"), exports);
@@ -0,0 +1,30 @@
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
+ }
@@ -0,0 +1,15 @@
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 });
@@ -0,0 +1,24 @@
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
+ }
@@ -0,0 +1,15 @@
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 });
@@ -58,6 +58,12 @@ 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;
61
67
  /**
62
68
  * Description explaining what changed in this version or version notes
63
69
  * @type {string}
@@ -100,6 +100,12 @@ 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;
103
109
  /**
104
110
  * The code of the settlement this commission is associated with
105
111
  * @type {string}
@@ -69,6 +69,12 @@ 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;
72
78
  }
73
79
 
74
80
  export const CreateCommissionAgreementRequestDtoBillingFrequencyEnum = {
@@ -38,6 +38,12 @@ 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;
41
47
  /**
42
48
  * Description explaining what changed in this version or version notes
43
49
  * @type {string}