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

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.
@@ -41,6 +41,7 @@ models/commission-creation-renewal-config-class.ts
41
41
  models/commission-creation-renewal-config-dto.ts
42
42
  models/commission-estimate-class.ts
43
43
  models/commission-item-class.ts
44
+ models/commission-paid-invoice-entry-class.ts
44
45
  models/commission-recipient-class.ts
45
46
  models/commission-settlement-class.ts
46
47
  models/create-commission-agreement-product-request-dto.ts
@@ -86,6 +87,7 @@ models/list-commission-agreement-rules-response-class.ts
86
87
  models/list-commission-agreement-versions-response-class.ts
87
88
  models/list-commission-agreements-response-class.ts
88
89
  models/list-commission-candidates-response-class.ts
90
+ models/list-commission-paid-invoice-entries-response-class.ts
89
91
  models/list-commission-recipients-response-class.ts
90
92
  models/list-commission-settlements-response-class.ts
91
93
  models/list-commissions-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/commission-sdk-node@2.9.1-beta.20 --save
20
+ npm install @emilgroup/commission-sdk-node@2.9.1-beta.21 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/commission-sdk-node@2.9.1-beta.20
24
+ yarn add @emilgroup/commission-sdk-node@2.9.1-beta.21
25
25
  ```
26
26
 
27
27
  And then you can import `CommissionApi`.
@@ -35,6 +35,8 @@ import { EstimateCommissionsResponseClass } from '../models';
35
35
  // @ts-ignore
36
36
  import { GetCommissionResponseClass } from '../models';
37
37
  // @ts-ignore
38
+ import { ListCommissionPaidInvoiceEntriesResponseClass } from '../models';
39
+ // @ts-ignore
38
40
  import { ListCommissionsResponseClass } from '../models';
39
41
  // @ts-ignore
40
42
  import { ListScheduledCommissionClawbackTriggersResponseClass } from '../models';
@@ -289,6 +291,82 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
289
291
 
290
292
 
291
293
 
294
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
295
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
296
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
297
+
298
+ return {
299
+ url: toPathString(localVarUrlObj),
300
+ options: localVarRequestOptions,
301
+ };
302
+ },
303
+ /**
304
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
305
+ * @summary List commission paid invoice entries
306
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
307
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
308
+ * @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.
309
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy</i>
310
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
311
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo</i>
312
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
313
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy</i>
314
+ * @param {*} [options] Override http request option.
315
+ * @throws {RequiredError}
316
+ */
317
+ listCommissionPaidInvoiceEntries: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
318
+ const localVarPath = `/commissionservice/v1/commissions/paid-invoice-entries`;
319
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
320
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
321
+ let baseOptions;
322
+ let baseAccessToken;
323
+ if (configuration) {
324
+ baseOptions = configuration.baseOptions;
325
+ baseAccessToken = configuration.accessToken;
326
+ }
327
+
328
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
329
+ const localVarHeaderParameter = {} as any;
330
+ const localVarQueryParameter = {} as any;
331
+
332
+ // authentication bearer required
333
+ // http bearer authentication required
334
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
335
+
336
+ if (pageSize !== undefined) {
337
+ localVarQueryParameter['pageSize'] = pageSize;
338
+ }
339
+
340
+ if (pageToken !== undefined) {
341
+ localVarQueryParameter['pageToken'] = pageToken;
342
+ }
343
+
344
+ if (filter !== undefined) {
345
+ localVarQueryParameter['filter'] = filter;
346
+ }
347
+
348
+ if (search !== undefined) {
349
+ localVarQueryParameter['search'] = search;
350
+ }
351
+
352
+ if (order !== undefined) {
353
+ localVarQueryParameter['order'] = order;
354
+ }
355
+
356
+ if (expand !== undefined) {
357
+ localVarQueryParameter['expand'] = expand;
358
+ }
359
+
360
+ if (filters !== undefined) {
361
+ localVarQueryParameter['filters'] = filters;
362
+ }
363
+
364
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
365
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
366
+ }
367
+
368
+
369
+
292
370
  setSearchParams(localVarUrlObj, localVarQueryParameter);
293
371
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
294
372
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -620,6 +698,24 @@ export const CommissionsApiFp = function(configuration?: Configuration) {
620
698
  const localVarAxiosArgs = await localVarAxiosParamCreator.getCommission(code, expand, authorization, options);
621
699
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
622
700
  },
701
+ /**
702
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
703
+ * @summary List commission paid invoice entries
704
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
705
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
706
+ * @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.
707
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
708
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
709
+ * @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, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
710
+ * @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;
711
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
712
+ * @param {*} [options] Override http request option.
713
+ * @throws {RequiredError}
714
+ */
715
+ async listCommissionPaidInvoiceEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionPaidInvoiceEntriesResponseClass>> {
716
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionPaidInvoiceEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
717
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
718
+ },
623
719
  /**
624
720
  * Retrieves a list of commissions.
625
721
  * @summary List commissions
@@ -748,6 +844,23 @@ export const CommissionsApiFactory = function (configuration?: Configuration, ba
748
844
  getCommission(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionResponseClass> {
749
845
  return localVarFp.getCommission(code, expand, authorization, options).then((request) => request(axios, basePath));
750
846
  },
847
+ /**
848
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
849
+ * @summary List commission paid invoice entries
850
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
851
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
852
+ * @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.
853
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
854
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
855
+ * @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, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
856
+ * @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;
857
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
858
+ * @param {*} [options] Override http request option.
859
+ * @throws {RequiredError}
860
+ */
861
+ listCommissionPaidInvoiceEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionPaidInvoiceEntriesResponseClass> {
862
+ return localVarFp.listCommissionPaidInvoiceEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
863
+ },
751
864
  /**
752
865
  * Retrieves a list of commissions.
753
866
  * @summary List commissions
@@ -927,6 +1040,69 @@ export interface CommissionsApiGetCommissionRequest {
927
1040
  readonly authorization?: string
928
1041
  }
929
1042
 
1043
+ /**
1044
+ * Request parameters for listCommissionPaidInvoiceEntries operation in CommissionsApi.
1045
+ * @export
1046
+ * @interface CommissionsApiListCommissionPaidInvoiceEntriesRequest
1047
+ */
1048
+ export interface CommissionsApiListCommissionPaidInvoiceEntriesRequest {
1049
+ /**
1050
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1051
+ * @type {string}
1052
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1053
+ */
1054
+ readonly authorization?: string
1055
+
1056
+ /**
1057
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1058
+ * @type {number}
1059
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1060
+ */
1061
+ readonly pageSize?: number
1062
+
1063
+ /**
1064
+ * 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.
1065
+ * @type {string}
1066
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1067
+ */
1068
+ readonly pageToken?: string
1069
+
1070
+ /**
1071
+ * 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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
1072
+ * @type {string}
1073
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1074
+ */
1075
+ readonly filter?: string
1076
+
1077
+ /**
1078
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
1079
+ * @type {string}
1080
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1081
+ */
1082
+ readonly search?: string
1083
+
1084
+ /**
1085
+ * 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, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
1086
+ * @type {string}
1087
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1088
+ */
1089
+ readonly order?: string
1090
+
1091
+ /**
1092
+ * 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;
1093
+ * @type {string}
1094
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1095
+ */
1096
+ readonly expand?: string
1097
+
1098
+ /**
1099
+ * 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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
1100
+ * @type {string}
1101
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1102
+ */
1103
+ readonly filters?: string
1104
+ }
1105
+
930
1106
  /**
931
1107
  * Request parameters for listCommissions operation in CommissionsApi.
932
1108
  * @export
@@ -1169,6 +1345,18 @@ export class CommissionsApi extends BaseAPI {
1169
1345
  return CommissionsApiFp(this.configuration).getCommission(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1170
1346
  }
1171
1347
 
1348
+ /**
1349
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
1350
+ * @summary List commission paid invoice entries
1351
+ * @param {CommissionsApiListCommissionPaidInvoiceEntriesRequest} requestParameters Request parameters.
1352
+ * @param {*} [options] Override http request option.
1353
+ * @throws {RequiredError}
1354
+ * @memberof CommissionsApi
1355
+ */
1356
+ public listCommissionPaidInvoiceEntries(requestParameters: CommissionsApiListCommissionPaidInvoiceEntriesRequest = {}, options?: AxiosRequestConfig) {
1357
+ return CommissionsApiFp(this.configuration).listCommissionPaidInvoiceEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1358
+ }
1359
+
1172
1360
  /**
1173
1361
  * Retrieves a list of commissions.
1174
1362
  * @summary List commissions
@@ -19,6 +19,7 @@ import { CreateCommissionResponseClass } from '../models';
19
19
  import { EstimateCommissionsRequestDto } from '../models';
20
20
  import { EstimateCommissionsResponseClass } from '../models';
21
21
  import { GetCommissionResponseClass } from '../models';
22
+ import { ListCommissionPaidInvoiceEntriesResponseClass } from '../models';
22
23
  import { ListCommissionsResponseClass } from '../models';
23
24
  import { ListScheduledCommissionClawbackTriggersResponseClass } from '../models';
24
25
  import { TriggerDueCommissionClawbacksRequestDto } from '../models';
@@ -77,6 +78,21 @@ export declare const CommissionsApiAxiosParamCreator: (configuration?: Configura
77
78
  * @throws {RequiredError}
78
79
  */
79
80
  getCommission: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
81
+ /**
82
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
83
+ * @summary List commission paid invoice entries
84
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
85
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
86
+ * @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.
87
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
88
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
89
+ * @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, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
90
+ * @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;
91
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ listCommissionPaidInvoiceEntries: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
96
  /**
81
97
  * Retrieves a list of commissions.
82
98
  * @summary List commissions
@@ -179,6 +195,21 @@ export declare const CommissionsApiFp: (configuration?: Configuration) => {
179
195
  * @throws {RequiredError}
180
196
  */
181
197
  getCommission(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionResponseClass>>;
198
+ /**
199
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
200
+ * @summary List commission paid invoice entries
201
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
202
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
203
+ * @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.
204
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
205
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
206
+ * @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, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
207
+ * @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;
208
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ listCommissionPaidInvoiceEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionPaidInvoiceEntriesResponseClass>>;
182
213
  /**
183
214
  * Retrieves a list of commissions.
184
215
  * @summary List commissions
@@ -281,6 +312,21 @@ export declare const CommissionsApiFactory: (configuration?: Configuration, base
281
312
  * @throws {RequiredError}
282
313
  */
283
314
  getCommission(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionResponseClass>;
315
+ /**
316
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
317
+ * @summary List commission paid invoice entries
318
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
319
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
320
+ * @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.
321
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
322
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
323
+ * @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, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
324
+ * @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;
325
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ */
329
+ listCommissionPaidInvoiceEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionPaidInvoiceEntriesResponseClass>;
284
330
  /**
285
331
  * Retrieves a list of commissions.
286
332
  * @summary List commissions
@@ -438,6 +484,61 @@ export interface CommissionsApiGetCommissionRequest {
438
484
  */
439
485
  readonly authorization?: string;
440
486
  }
487
+ /**
488
+ * Request parameters for listCommissionPaidInvoiceEntries operation in CommissionsApi.
489
+ * @export
490
+ * @interface CommissionsApiListCommissionPaidInvoiceEntriesRequest
491
+ */
492
+ export interface CommissionsApiListCommissionPaidInvoiceEntriesRequest {
493
+ /**
494
+ * Bearer Token: provided by the login endpoint under the name accessToken.
495
+ * @type {string}
496
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
497
+ */
498
+ readonly authorization?: string;
499
+ /**
500
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
501
+ * @type {number}
502
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
503
+ */
504
+ readonly pageSize?: number;
505
+ /**
506
+ * 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.
507
+ * @type {string}
508
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
509
+ */
510
+ readonly pageToken?: string;
511
+ /**
512
+ * 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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
513
+ * @type {string}
514
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
515
+ */
516
+ readonly filter?: string;
517
+ /**
518
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
519
+ * @type {string}
520
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
521
+ */
522
+ readonly search?: string;
523
+ /**
524
+ * 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, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
525
+ * @type {string}
526
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
527
+ */
528
+ readonly order?: string;
529
+ /**
530
+ * 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;
531
+ * @type {string}
532
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
533
+ */
534
+ readonly expand?: string;
535
+ /**
536
+ * 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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
537
+ * @type {string}
538
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
539
+ */
540
+ readonly filters?: string;
541
+ }
441
542
  /**
442
543
  * Request parameters for listCommissions operation in CommissionsApi.
443
544
  * @export
@@ -644,6 +745,15 @@ export declare class CommissionsApi extends BaseAPI {
644
745
  * @memberof CommissionsApi
645
746
  */
646
747
  getCommission(requestParameters: CommissionsApiGetCommissionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionResponseClass, any, {}>>;
748
+ /**
749
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
750
+ * @summary List commission paid invoice entries
751
+ * @param {CommissionsApiListCommissionPaidInvoiceEntriesRequest} requestParameters Request parameters.
752
+ * @param {*} [options] Override http request option.
753
+ * @throws {RequiredError}
754
+ * @memberof CommissionsApi
755
+ */
756
+ listCommissionPaidInvoiceEntries(requestParameters?: CommissionsApiListCommissionPaidInvoiceEntriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionPaidInvoiceEntriesResponseClass, any, {}>>;
647
757
  /**
648
758
  * Retrieves a list of commissions.
649
759
  * @summary List commissions
@@ -349,6 +349,78 @@ var CommissionsApiAxiosParamCreator = function (configuration) {
349
349
  });
350
350
  });
351
351
  },
352
+ /**
353
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
354
+ * @summary List commission paid invoice entries
355
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
356
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
357
+ * @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.
358
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
359
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
360
+ * @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, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
361
+ * @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;
362
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ */
366
+ listCommissionPaidInvoiceEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
367
+ if (options === void 0) { options = {}; }
368
+ return __awaiter(_this, void 0, void 0, function () {
369
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
370
+ return __generator(this, function (_a) {
371
+ switch (_a.label) {
372
+ case 0:
373
+ localVarPath = "/commissionservice/v1/commissions/paid-invoice-entries";
374
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
375
+ if (configuration) {
376
+ baseOptions = configuration.baseOptions;
377
+ baseAccessToken = configuration.accessToken;
378
+ }
379
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
380
+ localVarHeaderParameter = {};
381
+ localVarQueryParameter = {};
382
+ // authentication bearer required
383
+ // http bearer authentication required
384
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
385
+ case 1:
386
+ // authentication bearer required
387
+ // http bearer authentication required
388
+ _a.sent();
389
+ if (pageSize !== undefined) {
390
+ localVarQueryParameter['pageSize'] = pageSize;
391
+ }
392
+ if (pageToken !== undefined) {
393
+ localVarQueryParameter['pageToken'] = pageToken;
394
+ }
395
+ if (filter !== undefined) {
396
+ localVarQueryParameter['filter'] = filter;
397
+ }
398
+ if (search !== undefined) {
399
+ localVarQueryParameter['search'] = search;
400
+ }
401
+ if (order !== undefined) {
402
+ localVarQueryParameter['order'] = order;
403
+ }
404
+ if (expand !== undefined) {
405
+ localVarQueryParameter['expand'] = expand;
406
+ }
407
+ if (filters !== undefined) {
408
+ localVarQueryParameter['filters'] = filters;
409
+ }
410
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
411
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
412
+ }
413
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
414
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
415
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
416
+ return [2 /*return*/, {
417
+ url: (0, common_1.toPathString)(localVarUrlObj),
418
+ options: localVarRequestOptions,
419
+ }];
420
+ }
421
+ });
422
+ });
423
+ },
352
424
  /**
353
425
  * Retrieves a list of commissions.
354
426
  * @summary List commissions
@@ -712,6 +784,33 @@ var CommissionsApiFp = function (configuration) {
712
784
  });
713
785
  });
714
786
  },
787
+ /**
788
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
789
+ * @summary List commission paid invoice entries
790
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
791
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
792
+ * @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.
793
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
794
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
795
+ * @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, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
796
+ * @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;
797
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
798
+ * @param {*} [options] Override http request option.
799
+ * @throws {RequiredError}
800
+ */
801
+ listCommissionPaidInvoiceEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
802
+ return __awaiter(this, void 0, void 0, function () {
803
+ var localVarAxiosArgs;
804
+ return __generator(this, function (_a) {
805
+ switch (_a.label) {
806
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionPaidInvoiceEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
807
+ case 1:
808
+ localVarAxiosArgs = _a.sent();
809
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
810
+ }
811
+ });
812
+ });
813
+ },
715
814
  /**
716
815
  * Retrieves a list of commissions.
717
816
  * @summary List commissions
@@ -876,6 +975,23 @@ var CommissionsApiFactory = function (configuration, basePath, axios) {
876
975
  getCommission: function (code, expand, authorization, options) {
877
976
  return localVarFp.getCommission(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
878
977
  },
978
+ /**
979
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
980
+ * @summary List commission paid invoice entries
981
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
982
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
983
+ * @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.
984
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
985
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
986
+ * @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, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
987
+ * @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;
988
+ * @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, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
989
+ * @param {*} [options] Override http request option.
990
+ * @throws {RequiredError}
991
+ */
992
+ listCommissionPaidInvoiceEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
993
+ return localVarFp.listCommissionPaidInvoiceEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
994
+ },
879
995
  /**
880
996
  * Retrieves a list of commissions.
881
997
  * @summary List commissions
@@ -1007,6 +1123,19 @@ var CommissionsApi = /** @class */ (function (_super) {
1007
1123
  var _this = this;
1008
1124
  return (0, exports.CommissionsApiFp)(this.configuration).getCommission(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1009
1125
  };
1126
+ /**
1127
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
1128
+ * @summary List commission paid invoice entries
1129
+ * @param {CommissionsApiListCommissionPaidInvoiceEntriesRequest} requestParameters Request parameters.
1130
+ * @param {*} [options] Override http request option.
1131
+ * @throws {RequiredError}
1132
+ * @memberof CommissionsApi
1133
+ */
1134
+ CommissionsApi.prototype.listCommissionPaidInvoiceEntries = function (requestParameters, options) {
1135
+ var _this = this;
1136
+ if (requestParameters === void 0) { requestParameters = {}; }
1137
+ return (0, exports.CommissionsApiFp)(this.configuration).listCommissionPaidInvoiceEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1138
+ };
1010
1139
  /**
1011
1140
  * Retrieves a list of commissions.
1012
1141
  * @summary List commissions
@@ -0,0 +1,108 @@
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 CommissionPaidInvoiceEntryClass
16
+ */
17
+ export interface CommissionPaidInvoiceEntryClass {
18
+ /**
19
+ * The unique database identifier of the paid invoice entry
20
+ * @type {number}
21
+ * @memberof CommissionPaidInvoiceEntryClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof CommissionPaidInvoiceEntryClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Policy whose paid invoice was counted
32
+ * @type {string}
33
+ * @memberof CommissionPaidInvoiceEntryClass
34
+ */
35
+ 'policyCode': string;
36
+ /**
37
+ * Paid invoice counted for invoice-mode commission creation
38
+ * @type {string}
39
+ * @memberof CommissionPaidInvoiceEntryClass
40
+ */
41
+ 'invoiceCode': string;
42
+ /**
43
+ * Commission agreement version used when this invoice was counted
44
+ * @type {string}
45
+ * @memberof CommissionPaidInvoiceEntryClass
46
+ */
47
+ 'commissionAgreementVersionCode': string;
48
+ /**
49
+ * Start of the policy version timeslice matched by the invoice billing interval.
50
+ * @type {string}
51
+ * @memberof CommissionPaidInvoiceEntryClass
52
+ */
53
+ 'policyTimesliceFrom': string;
54
+ /**
55
+ * End of the policy version timeslice matched by the invoice billing interval.
56
+ * @type {string}
57
+ * @memberof CommissionPaidInvoiceEntryClass
58
+ */
59
+ 'policyTimesliceTo': string;
60
+ /**
61
+ * Current paid invoice entry status
62
+ * @type {string}
63
+ * @memberof CommissionPaidInvoiceEntryClass
64
+ */
65
+ 'status': CommissionPaidInvoiceEntryClassStatusEnum;
66
+ /**
67
+ * Candidate created when this entry was reserved for commission creation
68
+ * @type {string}
69
+ * @memberof CommissionPaidInvoiceEntryClass
70
+ */
71
+ 'commissionCandidateCode'?: string;
72
+ /**
73
+ * Commission created from this counted invoice entry
74
+ * @type {string}
75
+ * @memberof CommissionPaidInvoiceEntryClass
76
+ */
77
+ 'commissionCode'?: string;
78
+ /**
79
+ * Time at which the object was created.
80
+ * @type {string}
81
+ * @memberof CommissionPaidInvoiceEntryClass
82
+ */
83
+ 'createdAt': string;
84
+ /**
85
+ * Time at which the object was updated.
86
+ * @type {string}
87
+ * @memberof CommissionPaidInvoiceEntryClass
88
+ */
89
+ 'updatedAt': string;
90
+ /**
91
+ * Identifier of the user who created the record.
92
+ * @type {string}
93
+ * @memberof CommissionPaidInvoiceEntryClass
94
+ */
95
+ 'createdBy': string;
96
+ /**
97
+ * Identifier of the user who last updated the record.
98
+ * @type {string}
99
+ * @memberof CommissionPaidInvoiceEntryClass
100
+ */
101
+ 'updatedBy': string;
102
+ }
103
+ export declare const CommissionPaidInvoiceEntryClassStatusEnum: {
104
+ readonly Counted: "counted";
105
+ readonly Consumed: "consumed";
106
+ readonly Discarded: "discarded";
107
+ };
108
+ export type CommissionPaidInvoiceEntryClassStatusEnum = typeof CommissionPaidInvoiceEntryClassStatusEnum[keyof typeof CommissionPaidInvoiceEntryClassStatusEnum];
@@ -0,0 +1,21 @@
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 });
16
+ exports.CommissionPaidInvoiceEntryClassStatusEnum = void 0;
17
+ exports.CommissionPaidInvoiceEntryClassStatusEnum = {
18
+ Counted: 'counted',
19
+ Consumed: 'consumed',
20
+ Discarded: 'discarded'
21
+ };
@@ -22,6 +22,7 @@ export * from './commission-creation-renewal-config-class';
22
22
  export * from './commission-creation-renewal-config-dto';
23
23
  export * from './commission-estimate-class';
24
24
  export * from './commission-item-class';
25
+ export * from './commission-paid-invoice-entry-class';
25
26
  export * from './commission-recipient-class';
26
27
  export * from './commission-settlement-class';
27
28
  export * from './create-commission-agreement-product-request-dto';
@@ -66,6 +67,7 @@ export * from './list-commission-agreement-rules-response-class';
66
67
  export * from './list-commission-agreement-versions-response-class';
67
68
  export * from './list-commission-agreements-response-class';
68
69
  export * from './list-commission-candidates-response-class';
70
+ export * from './list-commission-paid-invoice-entries-response-class';
69
71
  export * from './list-commission-recipients-response-class';
70
72
  export * from './list-commission-settlements-response-class';
71
73
  export * from './list-commissions-response-class';
@@ -38,6 +38,7 @@ __exportStar(require("./commission-creation-renewal-config-class"), exports);
38
38
  __exportStar(require("./commission-creation-renewal-config-dto"), exports);
39
39
  __exportStar(require("./commission-estimate-class"), exports);
40
40
  __exportStar(require("./commission-item-class"), exports);
41
+ __exportStar(require("./commission-paid-invoice-entry-class"), exports);
41
42
  __exportStar(require("./commission-recipient-class"), exports);
42
43
  __exportStar(require("./commission-settlement-class"), exports);
43
44
  __exportStar(require("./create-commission-agreement-product-request-dto"), exports);
@@ -82,6 +83,7 @@ __exportStar(require("./list-commission-agreement-rules-response-class"), export
82
83
  __exportStar(require("./list-commission-agreement-versions-response-class"), exports);
83
84
  __exportStar(require("./list-commission-agreements-response-class"), exports);
84
85
  __exportStar(require("./list-commission-candidates-response-class"), exports);
86
+ __exportStar(require("./list-commission-paid-invoice-entries-response-class"), exports);
85
87
  __exportStar(require("./list-commission-recipients-response-class"), exports);
86
88
  __exportStar(require("./list-commission-settlements-response-class"), exports);
87
89
  __exportStar(require("./list-commissions-response-class"), exports);
@@ -0,0 +1,43 @@
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
+ import { CommissionPaidInvoiceEntryClass } from './commission-paid-invoice-entry-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListCommissionPaidInvoiceEntriesResponseClass
17
+ */
18
+ export interface ListCommissionPaidInvoiceEntriesResponseClass {
19
+ /**
20
+ * The list of commission paid invoice entriess.
21
+ * @type {Array<CommissionPaidInvoiceEntryClass>}
22
+ * @memberof ListCommissionPaidInvoiceEntriesResponseClass
23
+ */
24
+ 'items': Array<CommissionPaidInvoiceEntryClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListCommissionPaidInvoiceEntriesResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListCommissionPaidInvoiceEntriesResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * Total amount of items.
39
+ * @type {number}
40
+ * @memberof ListCommissionPaidInvoiceEntriesResponseClass
41
+ */
42
+ 'totalItems': number;
43
+ }
@@ -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,117 @@
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 CommissionPaidInvoiceEntryClass
21
+ */
22
+ export interface CommissionPaidInvoiceEntryClass {
23
+ /**
24
+ * The unique database identifier of the paid invoice entry
25
+ * @type {number}
26
+ * @memberof CommissionPaidInvoiceEntryClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof CommissionPaidInvoiceEntryClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Policy whose paid invoice was counted
37
+ * @type {string}
38
+ * @memberof CommissionPaidInvoiceEntryClass
39
+ */
40
+ 'policyCode': string;
41
+ /**
42
+ * Paid invoice counted for invoice-mode commission creation
43
+ * @type {string}
44
+ * @memberof CommissionPaidInvoiceEntryClass
45
+ */
46
+ 'invoiceCode': string;
47
+ /**
48
+ * Commission agreement version used when this invoice was counted
49
+ * @type {string}
50
+ * @memberof CommissionPaidInvoiceEntryClass
51
+ */
52
+ 'commissionAgreementVersionCode': string;
53
+ /**
54
+ * Start of the policy version timeslice matched by the invoice billing interval.
55
+ * @type {string}
56
+ * @memberof CommissionPaidInvoiceEntryClass
57
+ */
58
+ 'policyTimesliceFrom': string;
59
+ /**
60
+ * End of the policy version timeslice matched by the invoice billing interval.
61
+ * @type {string}
62
+ * @memberof CommissionPaidInvoiceEntryClass
63
+ */
64
+ 'policyTimesliceTo': string;
65
+ /**
66
+ * Current paid invoice entry status
67
+ * @type {string}
68
+ * @memberof CommissionPaidInvoiceEntryClass
69
+ */
70
+ 'status': CommissionPaidInvoiceEntryClassStatusEnum;
71
+ /**
72
+ * Candidate created when this entry was reserved for commission creation
73
+ * @type {string}
74
+ * @memberof CommissionPaidInvoiceEntryClass
75
+ */
76
+ 'commissionCandidateCode'?: string;
77
+ /**
78
+ * Commission created from this counted invoice entry
79
+ * @type {string}
80
+ * @memberof CommissionPaidInvoiceEntryClass
81
+ */
82
+ 'commissionCode'?: string;
83
+ /**
84
+ * Time at which the object was created.
85
+ * @type {string}
86
+ * @memberof CommissionPaidInvoiceEntryClass
87
+ */
88
+ 'createdAt': string;
89
+ /**
90
+ * Time at which the object was updated.
91
+ * @type {string}
92
+ * @memberof CommissionPaidInvoiceEntryClass
93
+ */
94
+ 'updatedAt': string;
95
+ /**
96
+ * Identifier of the user who created the record.
97
+ * @type {string}
98
+ * @memberof CommissionPaidInvoiceEntryClass
99
+ */
100
+ 'createdBy': string;
101
+ /**
102
+ * Identifier of the user who last updated the record.
103
+ * @type {string}
104
+ * @memberof CommissionPaidInvoiceEntryClass
105
+ */
106
+ 'updatedBy': string;
107
+ }
108
+
109
+ export const CommissionPaidInvoiceEntryClassStatusEnum = {
110
+ Counted: 'counted',
111
+ Consumed: 'consumed',
112
+ Discarded: 'discarded'
113
+ } as const;
114
+
115
+ export type CommissionPaidInvoiceEntryClassStatusEnum = typeof CommissionPaidInvoiceEntryClassStatusEnum[keyof typeof CommissionPaidInvoiceEntryClassStatusEnum];
116
+
117
+
package/models/index.ts CHANGED
@@ -22,6 +22,7 @@ export * from './commission-creation-renewal-config-class';
22
22
  export * from './commission-creation-renewal-config-dto';
23
23
  export * from './commission-estimate-class';
24
24
  export * from './commission-item-class';
25
+ export * from './commission-paid-invoice-entry-class';
25
26
  export * from './commission-recipient-class';
26
27
  export * from './commission-settlement-class';
27
28
  export * from './create-commission-agreement-product-request-dto';
@@ -66,6 +67,7 @@ export * from './list-commission-agreement-rules-response-class';
66
67
  export * from './list-commission-agreement-versions-response-class';
67
68
  export * from './list-commission-agreements-response-class';
68
69
  export * from './list-commission-candidates-response-class';
70
+ export * from './list-commission-paid-invoice-entries-response-class';
69
71
  export * from './list-commission-recipients-response-class';
70
72
  export * from './list-commission-settlements-response-class';
71
73
  export * from './list-commissions-response-class';
@@ -0,0 +1,49 @@
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
+ import { CommissionPaidInvoiceEntryClass } from './commission-paid-invoice-entry-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListCommissionPaidInvoiceEntriesResponseClass
22
+ */
23
+ export interface ListCommissionPaidInvoiceEntriesResponseClass {
24
+ /**
25
+ * The list of commission paid invoice entriess.
26
+ * @type {Array<CommissionPaidInvoiceEntryClass>}
27
+ * @memberof ListCommissionPaidInvoiceEntriesResponseClass
28
+ */
29
+ 'items': Array<CommissionPaidInvoiceEntryClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListCommissionPaidInvoiceEntriesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListCommissionPaidInvoiceEntriesResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListCommissionPaidInvoiceEntriesResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk-node",
3
- "version": "2.9.1-beta.20",
3
+ "version": "2.9.1-beta.21",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [