@emilgroup/commission-sdk 2.10.1-beta.20 → 2.10.1-beta.22
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.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/commissions-api.ts +188 -0
- package/dist/api/commissions-api.d.ts +110 -0
- package/dist/api/commissions-api.js +129 -0
- package/dist/models/commission-paid-invoice-entry-class.d.ts +108 -0
- package/dist/models/commission-paid-invoice-entry-class.js +21 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/list-commission-paid-invoice-entries-response-class.d.ts +43 -0
- package/dist/models/list-commission-paid-invoice-entries-response-class.js +15 -0
- package/models/commission-paid-invoice-entry-class.ts +117 -0
- package/models/index.ts +2 -0
- package/models/list-commission-paid-invoice-entries-response-class.ts +49 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -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@2.10.1-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk@2.10.1-beta.22 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk@2.10.1-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk@2.10.1-beta.22
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
package/api/commissions-api.ts
CHANGED
|
@@ -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';
|
|
@@ -285,6 +287,82 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
285
287
|
|
|
286
288
|
|
|
287
289
|
|
|
290
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
291
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
293
|
+
|
|
294
|
+
return {
|
|
295
|
+
url: toPathString(localVarUrlObj),
|
|
296
|
+
options: localVarRequestOptions,
|
|
297
|
+
};
|
|
298
|
+
},
|
|
299
|
+
/**
|
|
300
|
+
* Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
|
|
301
|
+
* @summary List commission paid invoice entries
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
306
|
+
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo</i>
|
|
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.<br/> <br/>
|
|
309
|
+
* @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>
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
listCommissionPaidInvoiceEntries: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
314
|
+
const localVarPath = `/commissionservice/v1/commissions/paid-invoice-entries`;
|
|
315
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
316
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
317
|
+
let baseOptions;
|
|
318
|
+
let baseAccessToken;
|
|
319
|
+
if (configuration) {
|
|
320
|
+
baseOptions = configuration.baseOptions;
|
|
321
|
+
baseAccessToken = configuration.accessToken;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
325
|
+
const localVarHeaderParameter = {} as any;
|
|
326
|
+
const localVarQueryParameter = {} as any;
|
|
327
|
+
|
|
328
|
+
// authentication bearer required
|
|
329
|
+
// http bearer authentication required
|
|
330
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
331
|
+
|
|
332
|
+
if (pageSize !== undefined) {
|
|
333
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
if (pageToken !== undefined) {
|
|
337
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
if (filter !== undefined) {
|
|
341
|
+
localVarQueryParameter['filter'] = filter;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
if (search !== undefined) {
|
|
345
|
+
localVarQueryParameter['search'] = search;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
if (order !== undefined) {
|
|
349
|
+
localVarQueryParameter['order'] = order;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
if (expand !== undefined) {
|
|
353
|
+
localVarQueryParameter['expand'] = expand;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
if (filters !== undefined) {
|
|
357
|
+
localVarQueryParameter['filters'] = filters;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
361
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
288
366
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
289
367
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
290
368
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -616,6 +694,24 @@ export const CommissionsApiFp = function(configuration?: Configuration) {
|
|
|
616
694
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCommission(code, expand, authorization, options);
|
|
617
695
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
618
696
|
},
|
|
697
|
+
/**
|
|
698
|
+
* Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
|
|
699
|
+
* @summary List commission paid invoice entries
|
|
700
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
701
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
702
|
+
* @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.
|
|
703
|
+
* @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>
|
|
704
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
705
|
+
* @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>
|
|
706
|
+
* @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/>
|
|
707
|
+
* @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>
|
|
708
|
+
* @param {*} [options] Override http request option.
|
|
709
|
+
* @throws {RequiredError}
|
|
710
|
+
*/
|
|
711
|
+
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>> {
|
|
712
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionPaidInvoiceEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
713
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
714
|
+
},
|
|
619
715
|
/**
|
|
620
716
|
* Retrieves a list of commissions.
|
|
621
717
|
* @summary List commissions
|
|
@@ -744,6 +840,23 @@ export const CommissionsApiFactory = function (configuration?: Configuration, ba
|
|
|
744
840
|
getCommission(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionResponseClass> {
|
|
745
841
|
return localVarFp.getCommission(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
746
842
|
},
|
|
843
|
+
/**
|
|
844
|
+
* Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
|
|
845
|
+
* @summary List commission paid invoice entries
|
|
846
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
847
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
848
|
+
* @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.
|
|
849
|
+
* @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>
|
|
850
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
851
|
+
* @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>
|
|
852
|
+
* @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/>
|
|
853
|
+
* @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>
|
|
854
|
+
* @param {*} [options] Override http request option.
|
|
855
|
+
* @throws {RequiredError}
|
|
856
|
+
*/
|
|
857
|
+
listCommissionPaidInvoiceEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionPaidInvoiceEntriesResponseClass> {
|
|
858
|
+
return localVarFp.listCommissionPaidInvoiceEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
859
|
+
},
|
|
747
860
|
/**
|
|
748
861
|
* Retrieves a list of commissions.
|
|
749
862
|
* @summary List commissions
|
|
@@ -923,6 +1036,69 @@ export interface CommissionsApiGetCommissionRequest {
|
|
|
923
1036
|
readonly authorization?: string
|
|
924
1037
|
}
|
|
925
1038
|
|
|
1039
|
+
/**
|
|
1040
|
+
* Request parameters for listCommissionPaidInvoiceEntries operation in CommissionsApi.
|
|
1041
|
+
* @export
|
|
1042
|
+
* @interface CommissionsApiListCommissionPaidInvoiceEntriesRequest
|
|
1043
|
+
*/
|
|
1044
|
+
export interface CommissionsApiListCommissionPaidInvoiceEntriesRequest {
|
|
1045
|
+
/**
|
|
1046
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1047
|
+
* @type {string}
|
|
1048
|
+
* @memberof CommissionsApiListCommissionPaidInvoiceEntries
|
|
1049
|
+
*/
|
|
1050
|
+
readonly authorization?: string
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1054
|
+
* @type {number}
|
|
1055
|
+
* @memberof CommissionsApiListCommissionPaidInvoiceEntries
|
|
1056
|
+
*/
|
|
1057
|
+
readonly pageSize?: number
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* 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.
|
|
1061
|
+
* @type {string}
|
|
1062
|
+
* @memberof CommissionsApiListCommissionPaidInvoiceEntries
|
|
1063
|
+
*/
|
|
1064
|
+
readonly pageToken?: string
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* 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>
|
|
1068
|
+
* @type {string}
|
|
1069
|
+
* @memberof CommissionsApiListCommissionPaidInvoiceEntries
|
|
1070
|
+
*/
|
|
1071
|
+
readonly filter?: string
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1075
|
+
* @type {string}
|
|
1076
|
+
* @memberof CommissionsApiListCommissionPaidInvoiceEntries
|
|
1077
|
+
*/
|
|
1078
|
+
readonly search?: string
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* 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>
|
|
1082
|
+
* @type {string}
|
|
1083
|
+
* @memberof CommissionsApiListCommissionPaidInvoiceEntries
|
|
1084
|
+
*/
|
|
1085
|
+
readonly order?: string
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* 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/>
|
|
1089
|
+
* @type {string}
|
|
1090
|
+
* @memberof CommissionsApiListCommissionPaidInvoiceEntries
|
|
1091
|
+
*/
|
|
1092
|
+
readonly expand?: string
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* 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>
|
|
1096
|
+
* @type {string}
|
|
1097
|
+
* @memberof CommissionsApiListCommissionPaidInvoiceEntries
|
|
1098
|
+
*/
|
|
1099
|
+
readonly filters?: string
|
|
1100
|
+
}
|
|
1101
|
+
|
|
926
1102
|
/**
|
|
927
1103
|
* Request parameters for listCommissions operation in CommissionsApi.
|
|
928
1104
|
* @export
|
|
@@ -1165,6 +1341,18 @@ export class CommissionsApi extends BaseAPI {
|
|
|
1165
1341
|
return CommissionsApiFp(this.configuration).getCommission(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1166
1342
|
}
|
|
1167
1343
|
|
|
1344
|
+
/**
|
|
1345
|
+
* Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
|
|
1346
|
+
* @summary List commission paid invoice entries
|
|
1347
|
+
* @param {CommissionsApiListCommissionPaidInvoiceEntriesRequest} requestParameters Request parameters.
|
|
1348
|
+
* @param {*} [options] Override http request option.
|
|
1349
|
+
* @throws {RequiredError}
|
|
1350
|
+
* @memberof CommissionsApi
|
|
1351
|
+
*/
|
|
1352
|
+
public listCommissionPaidInvoiceEntries(requestParameters: CommissionsApiListCommissionPaidInvoiceEntriesRequest = {}, options?: AxiosRequestConfig) {
|
|
1353
|
+
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));
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1168
1356
|
/**
|
|
1169
1357
|
* Retrieves a list of commissions.
|
|
1170
1358
|
* @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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
88
|
+
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo</i>
|
|
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.<br/> <br/>
|
|
91
|
+
* @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>
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
205
|
+
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo</i>
|
|
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.<br/> <br/>
|
|
208
|
+
* @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>
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
322
|
+
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo</i>
|
|
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.<br/> <br/>
|
|
325
|
+
* @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>
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
513
|
+
* @type {string}
|
|
514
|
+
* @memberof CommissionsApiListCommissionPaidInvoiceEntries
|
|
515
|
+
*/
|
|
516
|
+
readonly filter?: string;
|
|
517
|
+
/**
|
|
518
|
+
* To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo</i>
|
|
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.<br/> <br/>
|
|
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.<br/> <br/> <i>Allowed values: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
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
|
|
@@ -345,6 +345,78 @@ var CommissionsApiAxiosParamCreator = function (configuration) {
|
|
|
345
345
|
});
|
|
346
346
|
});
|
|
347
347
|
},
|
|
348
|
+
/**
|
|
349
|
+
* Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
|
|
350
|
+
* @summary List commission paid invoice entries
|
|
351
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
352
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
353
|
+
* @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.
|
|
354
|
+
* @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>
|
|
355
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
356
|
+
* @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>
|
|
357
|
+
* @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/>
|
|
358
|
+
* @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>
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
listCommissionPaidInvoiceEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
363
|
+
if (options === void 0) { options = {}; }
|
|
364
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
365
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
366
|
+
return __generator(this, function (_a) {
|
|
367
|
+
switch (_a.label) {
|
|
368
|
+
case 0:
|
|
369
|
+
localVarPath = "/commissionservice/v1/commissions/paid-invoice-entries";
|
|
370
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
371
|
+
if (configuration) {
|
|
372
|
+
baseOptions = configuration.baseOptions;
|
|
373
|
+
baseAccessToken = configuration.accessToken;
|
|
374
|
+
}
|
|
375
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
376
|
+
localVarHeaderParameter = {};
|
|
377
|
+
localVarQueryParameter = {};
|
|
378
|
+
// authentication bearer required
|
|
379
|
+
// http bearer authentication required
|
|
380
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
381
|
+
case 1:
|
|
382
|
+
// authentication bearer required
|
|
383
|
+
// http bearer authentication required
|
|
384
|
+
_a.sent();
|
|
385
|
+
if (pageSize !== undefined) {
|
|
386
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
387
|
+
}
|
|
388
|
+
if (pageToken !== undefined) {
|
|
389
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
390
|
+
}
|
|
391
|
+
if (filter !== undefined) {
|
|
392
|
+
localVarQueryParameter['filter'] = filter;
|
|
393
|
+
}
|
|
394
|
+
if (search !== undefined) {
|
|
395
|
+
localVarQueryParameter['search'] = search;
|
|
396
|
+
}
|
|
397
|
+
if (order !== undefined) {
|
|
398
|
+
localVarQueryParameter['order'] = order;
|
|
399
|
+
}
|
|
400
|
+
if (expand !== undefined) {
|
|
401
|
+
localVarQueryParameter['expand'] = expand;
|
|
402
|
+
}
|
|
403
|
+
if (filters !== undefined) {
|
|
404
|
+
localVarQueryParameter['filters'] = filters;
|
|
405
|
+
}
|
|
406
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
407
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
408
|
+
}
|
|
409
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
410
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
411
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
412
|
+
return [2 /*return*/, {
|
|
413
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
414
|
+
options: localVarRequestOptions,
|
|
415
|
+
}];
|
|
416
|
+
}
|
|
417
|
+
});
|
|
418
|
+
});
|
|
419
|
+
},
|
|
348
420
|
/**
|
|
349
421
|
* Retrieves a list of commissions.
|
|
350
422
|
* @summary List commissions
|
|
@@ -708,6 +780,33 @@ var CommissionsApiFp = function (configuration) {
|
|
|
708
780
|
});
|
|
709
781
|
});
|
|
710
782
|
},
|
|
783
|
+
/**
|
|
784
|
+
* Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
|
|
785
|
+
* @summary List commission paid invoice entries
|
|
786
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
787
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
788
|
+
* @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.
|
|
789
|
+
* @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>
|
|
790
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
791
|
+
* @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>
|
|
792
|
+
* @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/>
|
|
793
|
+
* @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>
|
|
794
|
+
* @param {*} [options] Override http request option.
|
|
795
|
+
* @throws {RequiredError}
|
|
796
|
+
*/
|
|
797
|
+
listCommissionPaidInvoiceEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
798
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
799
|
+
var localVarAxiosArgs;
|
|
800
|
+
return __generator(this, function (_a) {
|
|
801
|
+
switch (_a.label) {
|
|
802
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionPaidInvoiceEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
803
|
+
case 1:
|
|
804
|
+
localVarAxiosArgs = _a.sent();
|
|
805
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
806
|
+
}
|
|
807
|
+
});
|
|
808
|
+
});
|
|
809
|
+
},
|
|
711
810
|
/**
|
|
712
811
|
* Retrieves a list of commissions.
|
|
713
812
|
* @summary List commissions
|
|
@@ -872,6 +971,23 @@ var CommissionsApiFactory = function (configuration, basePath, axios) {
|
|
|
872
971
|
getCommission: function (code, expand, authorization, options) {
|
|
873
972
|
return localVarFp.getCommission(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
874
973
|
},
|
|
974
|
+
/**
|
|
975
|
+
* Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
|
|
976
|
+
* @summary List commission paid invoice entries
|
|
977
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
978
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
979
|
+
* @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.
|
|
980
|
+
* @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>
|
|
981
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
982
|
+
* @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>
|
|
983
|
+
* @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/>
|
|
984
|
+
* @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>
|
|
985
|
+
* @param {*} [options] Override http request option.
|
|
986
|
+
* @throws {RequiredError}
|
|
987
|
+
*/
|
|
988
|
+
listCommissionPaidInvoiceEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
989
|
+
return localVarFp.listCommissionPaidInvoiceEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
990
|
+
},
|
|
875
991
|
/**
|
|
876
992
|
* Retrieves a list of commissions.
|
|
877
993
|
* @summary List commissions
|
|
@@ -1003,6 +1119,19 @@ var CommissionsApi = /** @class */ (function (_super) {
|
|
|
1003
1119
|
var _this = this;
|
|
1004
1120
|
return (0, exports.CommissionsApiFp)(this.configuration).getCommission(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1005
1121
|
};
|
|
1122
|
+
/**
|
|
1123
|
+
* Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
|
|
1124
|
+
* @summary List commission paid invoice entries
|
|
1125
|
+
* @param {CommissionsApiListCommissionPaidInvoiceEntriesRequest} requestParameters Request parameters.
|
|
1126
|
+
* @param {*} [options] Override http request option.
|
|
1127
|
+
* @throws {RequiredError}
|
|
1128
|
+
* @memberof CommissionsApi
|
|
1129
|
+
*/
|
|
1130
|
+
CommissionsApi.prototype.listCommissionPaidInvoiceEntries = function (requestParameters, options) {
|
|
1131
|
+
var _this = this;
|
|
1132
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1133
|
+
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); });
|
|
1134
|
+
};
|
|
1006
1135
|
/**
|
|
1007
1136
|
* Retrieves a list of commissions.
|
|
1008
1137
|
* @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
|
+
};
|
package/dist/models/index.d.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';
|
package/dist/models/index.js
CHANGED
|
@@ -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
|
+
|