@emilgroup/commission-sdk-node 2.9.1-beta.2 → 2.9.1-beta.20

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 (88) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +2 -2
  3. package/api/commissions-api.ts +415 -0
  4. package/dist/api/commissions-api.d.ts +233 -0
  5. package/dist/api/commissions-api.js +321 -0
  6. package/dist/models/clawback-config-class.d.ts +42 -0
  7. package/dist/models/clawback-config-class.js +15 -0
  8. package/dist/models/clawback-config-dto.d.ts +42 -0
  9. package/dist/models/clawback-config-dto.js +15 -0
  10. package/dist/models/commission-agreement-version-class.d.ts +7 -0
  11. package/dist/models/commission-agreement-version-config-class.d.ts +32 -0
  12. package/dist/models/commission-agreement-version-config-class.js +15 -0
  13. package/dist/models/commission-agreement-version-config-dto.d.ts +32 -0
  14. package/dist/models/commission-agreement-version-config-dto.js +15 -0
  15. package/dist/models/commission-candidate-class.d.ts +12 -0
  16. package/dist/models/commission-class.d.ts +38 -0
  17. package/dist/models/commission-class.js +8 -0
  18. package/dist/models/commission-config-dto.d.ts +2 -1
  19. package/dist/models/commission-config-dto.js +2 -1
  20. package/dist/models/commission-creation-config-class.d.ts +43 -0
  21. package/dist/models/commission-creation-config-class.js +20 -0
  22. package/dist/models/commission-creation-config-dto.d.ts +43 -0
  23. package/dist/models/commission-creation-config-dto.js +20 -0
  24. package/dist/models/commission-creation-invoice-config-class.d.ts +24 -0
  25. package/dist/models/commission-creation-invoice-config-class.js +15 -0
  26. package/dist/models/commission-creation-invoice-config-dto.d.ts +24 -0
  27. package/dist/models/commission-creation-invoice-config-dto.js +15 -0
  28. package/dist/models/commission-creation-renewal-config-class.d.ts +29 -0
  29. package/dist/models/commission-creation-renewal-config-class.js +20 -0
  30. package/dist/models/commission-creation-renewal-config-dto.d.ts +29 -0
  31. package/dist/models/commission-creation-renewal-config-dto.js +20 -0
  32. package/dist/models/commission-estimate-class.d.ts +2 -1
  33. package/dist/models/commission-estimate-class.js +2 -1
  34. package/dist/models/create-commission-agreement-request-dto.d.ts +7 -0
  35. package/dist/models/create-commission-agreement-version-request-dto.d.ts +7 -0
  36. package/dist/models/create-commission-candidate-request-dto.d.ts +15 -2
  37. package/dist/models/create-commission-candidate-request-dto.js +2 -1
  38. package/dist/models/create-commission-clawback-request-dto.d.ts +24 -0
  39. package/dist/models/create-commission-clawback-request-dto.js +15 -0
  40. package/dist/models/create-commission-clawback-response-class.d.ts +43 -0
  41. package/dist/models/create-commission-clawback-response-class.js +21 -0
  42. package/dist/models/create-commission-item-request-dto.d.ts +2 -1
  43. package/dist/models/create-commission-item-request-dto.js +2 -1
  44. package/dist/models/create-commission-request-dto.d.ts +6 -0
  45. package/dist/models/evaluated-commission-class.d.ts +2 -1
  46. package/dist/models/evaluated-commission-class.js +2 -1
  47. package/dist/models/index.d.ts +16 -0
  48. package/dist/models/index.js +16 -0
  49. package/dist/models/list-scheduled-commission-clawback-triggers-response-class.d.ts +43 -0
  50. package/dist/models/list-scheduled-commission-clawback-triggers-response-class.js +15 -0
  51. package/dist/models/scheduled-commission-clawback-trigger-class.d.ts +110 -0
  52. package/dist/models/scheduled-commission-clawback-trigger-class.js +28 -0
  53. package/dist/models/trigger-due-commission-clawbacks-request-dto.d.ts +30 -0
  54. package/dist/models/trigger-due-commission-clawbacks-request-dto.js +15 -0
  55. package/dist/models/trigger-due-commission-clawbacks-response-class.d.ts +24 -0
  56. package/dist/models/trigger-due-commission-clawbacks-response-class.js +15 -0
  57. package/dist/models/update-commission-candidate-request-dto.d.ts +2 -1
  58. package/dist/models/update-commission-candidate-request-dto.js +2 -1
  59. package/models/clawback-config-class.ts +48 -0
  60. package/models/clawback-config-dto.ts +48 -0
  61. package/models/commission-agreement-version-class.ts +7 -0
  62. package/models/commission-agreement-version-config-class.ts +38 -0
  63. package/models/commission-agreement-version-config-dto.ts +38 -0
  64. package/models/commission-candidate-class.ts +12 -0
  65. package/models/commission-class.ts +41 -0
  66. package/models/commission-config-dto.ts +3 -2
  67. package/models/commission-creation-config-class.ts +52 -0
  68. package/models/commission-creation-config-dto.ts +52 -0
  69. package/models/commission-creation-invoice-config-class.ts +30 -0
  70. package/models/commission-creation-invoice-config-dto.ts +30 -0
  71. package/models/commission-creation-renewal-config-class.ts +38 -0
  72. package/models/commission-creation-renewal-config-dto.ts +38 -0
  73. package/models/commission-estimate-class.ts +3 -2
  74. package/models/create-commission-agreement-request-dto.ts +7 -0
  75. package/models/create-commission-agreement-version-request-dto.ts +7 -0
  76. package/models/create-commission-candidate-request-dto.ts +16 -3
  77. package/models/create-commission-clawback-request-dto.ts +30 -0
  78. package/models/create-commission-clawback-response-class.ts +52 -0
  79. package/models/create-commission-item-request-dto.ts +3 -2
  80. package/models/create-commission-request-dto.ts +6 -0
  81. package/models/evaluated-commission-class.ts +3 -2
  82. package/models/index.ts +16 -0
  83. package/models/list-scheduled-commission-clawback-triggers-response-class.ts +49 -0
  84. package/models/scheduled-commission-clawback-trigger-class.ts +120 -0
  85. package/models/trigger-due-commission-clawbacks-request-dto.ts +36 -0
  86. package/models/trigger-due-commission-clawbacks-response-class.ts +30 -0
  87. package/models/update-commission-candidate-request-dto.ts +3 -2
  88. package/package.json +1 -1
@@ -12,12 +12,17 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateCommissionClawbackRequestDto } from '../models';
16
+ import { CreateCommissionClawbackResponseClass } from '../models';
15
17
  import { CreateCommissionRequestDto } from '../models';
16
18
  import { CreateCommissionResponseClass } from '../models';
17
19
  import { EstimateCommissionsRequestDto } from '../models';
18
20
  import { EstimateCommissionsResponseClass } from '../models';
19
21
  import { GetCommissionResponseClass } from '../models';
20
22
  import { ListCommissionsResponseClass } from '../models';
23
+ import { ListScheduledCommissionClawbackTriggersResponseClass } from '../models';
24
+ import { TriggerDueCommissionClawbacksRequestDto } from '../models';
25
+ import { TriggerDueCommissionClawbacksResponseClass } from '../models';
21
26
  import { UpdateCommissionRequestDto } from '../models';
22
27
  import { UpdateCommissionResponseClass } from '../models';
23
28
  /**
@@ -34,6 +39,16 @@ export declare const CommissionsApiAxiosParamCreator: (configuration?: Configura
34
39
  * @throws {RequiredError}
35
40
  */
36
41
  createCommission: (createCommissionRequestDto: CreateCommissionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
+ /**
43
+ * Creates a manual clawback for one commission.
44
+ * @summary Create the commission clawback
45
+ * @param {string} code Unique identifier for the object.
46
+ * @param {CreateCommissionClawbackRequestDto} createCommissionClawbackRequestDto
47
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ createCommissionClawback: (code: string, createCommissionClawbackRequestDto: CreateCommissionClawbackRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
52
  /**
38
53
  * This will delete commission.
39
54
  * @summary Delete the commission
@@ -77,6 +92,30 @@ export declare const CommissionsApiAxiosParamCreator: (configuration?: Configura
77
92
  * @throws {RequiredError}
78
93
  */
79
94
  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>;
95
+ /**
96
+ * Returns future-dated commission clawback triggers and their processing status. Use this to check pending, queued, canceled, or failed automatic clawback triggers.
97
+ * @summary List scheduled commission clawback triggers
98
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
100
+ * @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.
101
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyCode, triggerType, status, effectiveDate, queuedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
102
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
103
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, effectiveDate, queuedAt, createdAt, updatedAt&lt;/i&gt;
104
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
105
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyCode, triggerType, status, effectiveDate, queuedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ listScheduledCommissionClawbackTriggers: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
110
+ /**
111
+ * Requests due scheduled commission clawbacks processing by enqueueing a trigger message. The endpoint returns after the message is sent and does not wait for the job to finish.
112
+ * @summary Create the due commission clawbacks trigger
113
+ * @param {TriggerDueCommissionClawbacksRequestDto} triggerDueCommissionClawbacksRequestDto
114
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ triggerDueCommissionClawbacks: (triggerDueCommissionClawbacksRequestDto: TriggerDueCommissionClawbacksRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
119
  /**
81
120
  * This will update commission.
82
121
  * @summary Update the commission
@@ -102,6 +141,16 @@ export declare const CommissionsApiFp: (configuration?: Configuration) => {
102
141
  * @throws {RequiredError}
103
142
  */
104
143
  createCommission(createCommissionRequestDto: CreateCommissionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionResponseClass>>;
144
+ /**
145
+ * Creates a manual clawback for one commission.
146
+ * @summary Create the commission clawback
147
+ * @param {string} code Unique identifier for the object.
148
+ * @param {CreateCommissionClawbackRequestDto} createCommissionClawbackRequestDto
149
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ createCommissionClawback(code: string, createCommissionClawbackRequestDto: CreateCommissionClawbackRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionClawbackResponseClass>>;
105
154
  /**
106
155
  * This will delete commission.
107
156
  * @summary Delete the commission
@@ -145,6 +194,30 @@ export declare const CommissionsApiFp: (configuration?: Configuration) => {
145
194
  * @throws {RequiredError}
146
195
  */
147
196
  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>>;
197
+ /**
198
+ * Returns future-dated commission clawback triggers and their processing status. Use this to check pending, queued, canceled, or failed automatic clawback triggers.
199
+ * @summary List scheduled commission clawback triggers
200
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
201
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
202
+ * @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.
203
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyCode, triggerType, status, effectiveDate, queuedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
204
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
205
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, effectiveDate, queuedAt, createdAt, updatedAt&lt;/i&gt;
206
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
207
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyCode, triggerType, status, effectiveDate, queuedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
208
+ * @param {*} [options] Override http request option.
209
+ * @throws {RequiredError}
210
+ */
211
+ listScheduledCommissionClawbackTriggers(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListScheduledCommissionClawbackTriggersResponseClass>>;
212
+ /**
213
+ * Requests due scheduled commission clawbacks processing by enqueueing a trigger message. The endpoint returns after the message is sent and does not wait for the job to finish.
214
+ * @summary Create the due commission clawbacks trigger
215
+ * @param {TriggerDueCommissionClawbacksRequestDto} triggerDueCommissionClawbacksRequestDto
216
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ */
220
+ triggerDueCommissionClawbacks(triggerDueCommissionClawbacksRequestDto: TriggerDueCommissionClawbacksRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TriggerDueCommissionClawbacksResponseClass>>;
148
221
  /**
149
222
  * This will update commission.
150
223
  * @summary Update the commission
@@ -170,6 +243,16 @@ export declare const CommissionsApiFactory: (configuration?: Configuration, base
170
243
  * @throws {RequiredError}
171
244
  */
172
245
  createCommission(createCommissionRequestDto: CreateCommissionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionResponseClass>;
246
+ /**
247
+ * Creates a manual clawback for one commission.
248
+ * @summary Create the commission clawback
249
+ * @param {string} code Unique identifier for the object.
250
+ * @param {CreateCommissionClawbackRequestDto} createCommissionClawbackRequestDto
251
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
252
+ * @param {*} [options] Override http request option.
253
+ * @throws {RequiredError}
254
+ */
255
+ createCommissionClawback(code: string, createCommissionClawbackRequestDto: CreateCommissionClawbackRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionClawbackResponseClass>;
173
256
  /**
174
257
  * This will delete commission.
175
258
  * @summary Delete the commission
@@ -213,6 +296,30 @@ export declare const CommissionsApiFactory: (configuration?: Configuration, base
213
296
  * @throws {RequiredError}
214
297
  */
215
298
  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>;
299
+ /**
300
+ * Returns future-dated commission clawback triggers and their processing status. Use this to check pending, queued, canceled, or failed automatic clawback triggers.
301
+ * @summary List scheduled commission clawback triggers
302
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
303
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyCode, triggerType, status, effectiveDate, queuedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
306
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
307
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, effectiveDate, queuedAt, createdAt, updatedAt&lt;/i&gt;
308
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
309
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyCode, triggerType, status, effectiveDate, queuedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
310
+ * @param {*} [options] Override http request option.
311
+ * @throws {RequiredError}
312
+ */
313
+ listScheduledCommissionClawbackTriggers(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListScheduledCommissionClawbackTriggersResponseClass>;
314
+ /**
315
+ * Requests due scheduled commission clawbacks processing by enqueueing a trigger message. The endpoint returns after the message is sent and does not wait for the job to finish.
316
+ * @summary Create the due commission clawbacks trigger
317
+ * @param {TriggerDueCommissionClawbacksRequestDto} triggerDueCommissionClawbacksRequestDto
318
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
319
+ * @param {*} [options] Override http request option.
320
+ * @throws {RequiredError}
321
+ */
322
+ triggerDueCommissionClawbacks(triggerDueCommissionClawbacksRequestDto: TriggerDueCommissionClawbacksRequestDto, authorization?: string, options?: any): AxiosPromise<TriggerDueCommissionClawbacksResponseClass>;
216
323
  /**
217
324
  * This will update commission.
218
325
  * @summary Update the commission
@@ -243,6 +350,31 @@ export interface CommissionsApiCreateCommissionRequest {
243
350
  */
244
351
  readonly authorization?: string;
245
352
  }
353
+ /**
354
+ * Request parameters for createCommissionClawback operation in CommissionsApi.
355
+ * @export
356
+ * @interface CommissionsApiCreateCommissionClawbackRequest
357
+ */
358
+ export interface CommissionsApiCreateCommissionClawbackRequest {
359
+ /**
360
+ * Unique identifier for the object.
361
+ * @type {string}
362
+ * @memberof CommissionsApiCreateCommissionClawback
363
+ */
364
+ readonly code: string;
365
+ /**
366
+ *
367
+ * @type {CreateCommissionClawbackRequestDto}
368
+ * @memberof CommissionsApiCreateCommissionClawback
369
+ */
370
+ readonly createCommissionClawbackRequestDto: CreateCommissionClawbackRequestDto;
371
+ /**
372
+ * Bearer Token: provided by the login endpoint under the name accessToken.
373
+ * @type {string}
374
+ * @memberof CommissionsApiCreateCommissionClawback
375
+ */
376
+ readonly authorization?: string;
377
+ }
246
378
  /**
247
379
  * Request parameters for deleteCommission operation in CommissionsApi.
248
380
  * @export
@@ -361,6 +493,80 @@ export interface CommissionsApiListCommissionsRequest {
361
493
  */
362
494
  readonly filters?: string;
363
495
  }
496
+ /**
497
+ * Request parameters for listScheduledCommissionClawbackTriggers operation in CommissionsApi.
498
+ * @export
499
+ * @interface CommissionsApiListScheduledCommissionClawbackTriggersRequest
500
+ */
501
+ export interface CommissionsApiListScheduledCommissionClawbackTriggersRequest {
502
+ /**
503
+ * Bearer Token: provided by the login endpoint under the name accessToken.
504
+ * @type {string}
505
+ * @memberof CommissionsApiListScheduledCommissionClawbackTriggers
506
+ */
507
+ readonly authorization?: string;
508
+ /**
509
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
510
+ * @type {number}
511
+ * @memberof CommissionsApiListScheduledCommissionClawbackTriggers
512
+ */
513
+ readonly pageSize?: number;
514
+ /**
515
+ * 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.
516
+ * @type {string}
517
+ * @memberof CommissionsApiListScheduledCommissionClawbackTriggers
518
+ */
519
+ readonly pageToken?: string;
520
+ /**
521
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyCode, triggerType, status, effectiveDate, queuedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
522
+ * @type {string}
523
+ * @memberof CommissionsApiListScheduledCommissionClawbackTriggers
524
+ */
525
+ readonly filter?: string;
526
+ /**
527
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
528
+ * @type {string}
529
+ * @memberof CommissionsApiListScheduledCommissionClawbackTriggers
530
+ */
531
+ readonly search?: string;
532
+ /**
533
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, effectiveDate, queuedAt, createdAt, updatedAt&lt;/i&gt;
534
+ * @type {string}
535
+ * @memberof CommissionsApiListScheduledCommissionClawbackTriggers
536
+ */
537
+ readonly order?: string;
538
+ /**
539
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
540
+ * @type {string}
541
+ * @memberof CommissionsApiListScheduledCommissionClawbackTriggers
542
+ */
543
+ readonly expand?: string;
544
+ /**
545
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyCode, triggerType, status, effectiveDate, queuedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
546
+ * @type {string}
547
+ * @memberof CommissionsApiListScheduledCommissionClawbackTriggers
548
+ */
549
+ readonly filters?: string;
550
+ }
551
+ /**
552
+ * Request parameters for triggerDueCommissionClawbacks operation in CommissionsApi.
553
+ * @export
554
+ * @interface CommissionsApiTriggerDueCommissionClawbacksRequest
555
+ */
556
+ export interface CommissionsApiTriggerDueCommissionClawbacksRequest {
557
+ /**
558
+ *
559
+ * @type {TriggerDueCommissionClawbacksRequestDto}
560
+ * @memberof CommissionsApiTriggerDueCommissionClawbacks
561
+ */
562
+ readonly triggerDueCommissionClawbacksRequestDto: TriggerDueCommissionClawbacksRequestDto;
563
+ /**
564
+ * Bearer Token: provided by the login endpoint under the name accessToken.
565
+ * @type {string}
566
+ * @memberof CommissionsApiTriggerDueCommissionClawbacks
567
+ */
568
+ readonly authorization?: string;
569
+ }
364
570
  /**
365
571
  * Request parameters for updateCommission operation in CommissionsApi.
366
572
  * @export
@@ -402,6 +608,15 @@ export declare class CommissionsApi extends BaseAPI {
402
608
  * @memberof CommissionsApi
403
609
  */
404
610
  createCommission(requestParameters: CommissionsApiCreateCommissionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionResponseClass, any, {}>>;
611
+ /**
612
+ * Creates a manual clawback for one commission.
613
+ * @summary Create the commission clawback
614
+ * @param {CommissionsApiCreateCommissionClawbackRequest} requestParameters Request parameters.
615
+ * @param {*} [options] Override http request option.
616
+ * @throws {RequiredError}
617
+ * @memberof CommissionsApi
618
+ */
619
+ createCommissionClawback(requestParameters: CommissionsApiCreateCommissionClawbackRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionClawbackResponseClass, any, {}>>;
405
620
  /**
406
621
  * This will delete commission.
407
622
  * @summary Delete the commission
@@ -438,6 +653,24 @@ export declare class CommissionsApi extends BaseAPI {
438
653
  * @memberof CommissionsApi
439
654
  */
440
655
  listCommissions(requestParameters?: CommissionsApiListCommissionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionsResponseClass, any, {}>>;
656
+ /**
657
+ * Returns future-dated commission clawback triggers and their processing status. Use this to check pending, queued, canceled, or failed automatic clawback triggers.
658
+ * @summary List scheduled commission clawback triggers
659
+ * @param {CommissionsApiListScheduledCommissionClawbackTriggersRequest} requestParameters Request parameters.
660
+ * @param {*} [options] Override http request option.
661
+ * @throws {RequiredError}
662
+ * @memberof CommissionsApi
663
+ */
664
+ listScheduledCommissionClawbackTriggers(requestParameters?: CommissionsApiListScheduledCommissionClawbackTriggersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListScheduledCommissionClawbackTriggersResponseClass, any, {}>>;
665
+ /**
666
+ * Requests due scheduled commission clawbacks processing by enqueueing a trigger message. The endpoint returns after the message is sent and does not wait for the job to finish.
667
+ * @summary Create the due commission clawbacks trigger
668
+ * @param {CommissionsApiTriggerDueCommissionClawbacksRequest} requestParameters Request parameters.
669
+ * @param {*} [options] Override http request option.
670
+ * @throws {RequiredError}
671
+ * @memberof CommissionsApi
672
+ */
673
+ triggerDueCommissionClawbacks(requestParameters: CommissionsApiTriggerDueCommissionClawbacksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TriggerDueCommissionClawbacksResponseClass, any, {}>>;
441
674
  /**
442
675
  * This will update commission.
443
676
  * @summary Update the commission