@emilgroup/commission-sdk-node 1.0.0-beta.2 → 1.0.0-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.
- package/.openapi-generator/FILES +33 -0
- package/README.md +2 -2
- package/api/commission-agreement-products-api.ts +655 -0
- package/api/commission-agreement-rules-api.ts +762 -0
- package/api/commission-agreement-versions-api.ts +67 -25
- package/api/commission-agreements-api.ts +83 -28
- package/api/commission-recipients-api.ts +697 -0
- package/api/commissions-api.ts +18 -18
- package/api.ts +6 -0
- package/dist/api/commission-agreement-products-api.d.ts +366 -0
- package/dist/api/commission-agreement-products-api.js +630 -0
- package/dist/api/commission-agreement-rules-api.d.ts +423 -0
- package/dist/api/commission-agreement-rules-api.js +723 -0
- package/dist/api/commission-agreement-versions-api.d.ts +47 -20
- package/dist/api/commission-agreement-versions-api.js +38 -20
- package/dist/api/commission-agreements-api.d.ts +55 -19
- package/dist/api/commission-agreements-api.js +48 -24
- package/dist/api/commission-recipients-api.d.ts +393 -0
- package/dist/api/commission-recipients-api.js +648 -0
- package/dist/api/commissions-api.d.ts +18 -18
- package/dist/api/commissions-api.js +9 -9
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/models/commission-agreement-class.d.ts +14 -0
- package/dist/models/commission-agreement-metadata-dto.d.ts +25 -0
- package/dist/models/commission-agreement-metadata-dto.js +15 -0
- package/dist/models/commission-agreement-metadata-partner-dto.d.ts +30 -0
- package/dist/models/commission-agreement-metadata-partner-dto.js +15 -0
- package/dist/models/commission-agreement-product-class.d.ts +77 -0
- package/dist/models/commission-agreement-product-class.js +20 -0
- package/dist/models/commission-agreement-rule-class.d.ts +80 -0
- package/dist/models/commission-agreement-rule-class.js +21 -0
- package/dist/models/commission-agreement-rule-config-dto.d.ts +25 -0
- package/dist/models/commission-agreement-rule-config-dto.js +15 -0
- package/dist/models/commission-agreement-rule-evaluation-class.d.ts +31 -0
- package/dist/models/commission-agreement-rule-evaluation-class.js +15 -0
- package/dist/models/commission-agreement-version-class.d.ts +7 -0
- package/dist/models/commission-class.d.ts +5 -4
- package/dist/models/commission-conditions-dto.d.ts +24 -0
- package/dist/models/commission-conditions-dto.js +15 -0
- package/dist/models/commission-config-dto.d.ts +63 -0
- package/dist/models/commission-config-dto.js +34 -0
- package/dist/models/commission-recipient-class.d.ts +90 -0
- package/dist/models/commission-recipient-class.js +20 -0
- package/dist/models/create-commission-agreement-product-request-dto.d.ts +30 -0
- package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-product-response-class.js +15 -0
- package/dist/models/create-commission-agreement-request-dto.d.ts +8 -1
- package/dist/models/create-commission-agreement-rule-request-dto.d.ts +31 -0
- package/dist/models/create-commission-agreement-rule-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-rule-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-rule-response-class.js +15 -0
- package/dist/models/create-commission-agreement-version-request-dto.d.ts +1 -1
- package/dist/models/create-commission-recipient-request-dto.d.ts +36 -0
- package/dist/models/create-commission-recipient-request-dto.js +15 -0
- package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/create-commission-recipient-response-class.js +15 -0
- package/dist/models/evaluate-commission-agreement-rule-request-dto.d.ts +31 -0
- package/dist/models/evaluate-commission-agreement-rule-request-dto.js +15 -0
- package/dist/models/evaluate-commission-agreement-rule-response-class.d.ts +25 -0
- package/dist/models/evaluate-commission-agreement-rule-response-class.js +15 -0
- package/dist/models/evaluated-commission-class.d.ts +54 -0
- package/dist/models/evaluated-commission-class.js +21 -0
- package/dist/models/get-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-product-response-class.js +15 -0
- package/dist/models/get-commission-agreement-rule-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-rule-response-class.js +15 -0
- package/dist/models/get-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/get-commission-recipient-response-class.js +15 -0
- package/dist/models/index.d.ts +30 -0
- package/dist/models/index.js +30 -0
- package/dist/models/list-commission-agreement-products-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreement-products-response-class.js +15 -0
- package/dist/models/list-commission-agreement-rules-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreement-rules-response-class.js +15 -0
- package/dist/models/list-commission-recipients-response-class.d.ts +43 -0
- package/dist/models/list-commission-recipients-response-class.js +15 -0
- package/dist/models/update-commission-agreement-product-request-dto.d.ts +41 -0
- package/dist/models/update-commission-agreement-product-request-dto.js +20 -0
- package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-product-response-class.js +15 -0
- package/dist/models/update-commission-agreement-rule-request-dto.d.ts +43 -0
- package/dist/models/update-commission-agreement-rule-request-dto.js +21 -0
- package/dist/models/update-commission-agreement-rule-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-rule-response-class.js +15 -0
- package/dist/models/update-commission-recipient-request-dto.d.ts +42 -0
- package/dist/models/update-commission-recipient-request-dto.js +15 -0
- package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/update-commission-recipient-response-class.js +15 -0
- package/dist/models/update-commission-request-dto.d.ts +5 -3
- package/dist/models/update-commission-request-dto.js +4 -2
- package/models/commission-agreement-class.ts +14 -0
- package/models/commission-agreement-metadata-dto.ts +31 -0
- package/models/commission-agreement-metadata-partner-dto.ts +36 -0
- package/models/commission-agreement-product-class.ts +86 -0
- package/models/commission-agreement-rule-class.ts +89 -0
- package/models/commission-agreement-rule-config-dto.ts +31 -0
- package/models/commission-agreement-rule-evaluation-class.ts +37 -0
- package/models/commission-agreement-version-class.ts +7 -0
- package/models/commission-class.ts +5 -4
- package/models/commission-conditions-dto.ts +30 -0
- package/models/commission-config-dto.ts +73 -0
- package/models/commission-recipient-class.ts +99 -0
- package/models/create-commission-agreement-product-request-dto.ts +36 -0
- package/models/create-commission-agreement-product-response-class.ts +31 -0
- package/models/create-commission-agreement-request-dto.ts +8 -1
- package/models/create-commission-agreement-rule-request-dto.ts +37 -0
- package/models/create-commission-agreement-rule-response-class.ts +31 -0
- package/models/create-commission-agreement-version-request-dto.ts +1 -1
- package/models/create-commission-recipient-request-dto.ts +42 -0
- package/models/create-commission-recipient-response-class.ts +31 -0
- package/models/evaluate-commission-agreement-rule-request-dto.ts +37 -0
- package/models/evaluate-commission-agreement-rule-response-class.ts +31 -0
- package/models/evaluated-commission-class.ts +63 -0
- package/models/get-commission-agreement-product-response-class.ts +31 -0
- package/models/get-commission-agreement-rule-response-class.ts +31 -0
- package/models/get-commission-recipient-response-class.ts +31 -0
- package/models/index.ts +30 -0
- package/models/list-commission-agreement-products-response-class.ts +49 -0
- package/models/list-commission-agreement-rules-response-class.ts +49 -0
- package/models/list-commission-recipients-response-class.ts +49 -0
- package/models/update-commission-agreement-product-request-dto.ts +50 -0
- package/models/update-commission-agreement-product-response-class.ts +31 -0
- package/models/update-commission-agreement-rule-request-dto.ts +52 -0
- package/models/update-commission-agreement-rule-response-class.ts +31 -0
- package/models/update-commission-recipient-request-dto.ts +48 -0
- package/models/update-commission-recipient-response-class.ts +31 -0
- package/models/update-commission-request-dto.ts +5 -3
- package/package.json +1 -1
|
@@ -57,15 +57,15 @@ export declare const CommissionsApiAxiosParamCreator: (configuration?: Configura
|
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
58
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
59
|
* @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.
|
|
60
|
-
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
60
|
+
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
61
61
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
62
|
-
* @param {'createdAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
63
|
-
* @param {'items'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
62
|
+
* @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
63
|
+
* @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
64
64
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
|
-
listCommissions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', search?: string, order?: 'createdAt', expand?: 'items', filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
listCommissions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes', search?: string, order?: 'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
70
|
* This will update commission.
|
|
71
71
|
* @summary Update the commission
|
|
@@ -116,15 +116,15 @@ export declare const CommissionsApiFp: (configuration?: Configuration) => {
|
|
|
116
116
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
117
117
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
118
|
* @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.
|
|
119
|
-
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
119
|
+
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
120
120
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
121
|
-
* @param {'createdAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
122
|
-
* @param {'items'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
121
|
+
* @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
122
|
+
* @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
123
123
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', search?: string, order?: 'createdAt', expand?: 'items', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>>;
|
|
127
|
+
listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes', search?: string, order?: 'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>>;
|
|
128
128
|
/**
|
|
129
129
|
* This will update commission.
|
|
130
130
|
* @summary Update the commission
|
|
@@ -175,15 +175,15 @@ export declare const CommissionsApiFactory: (configuration?: Configuration, base
|
|
|
175
175
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
176
176
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
177
|
* @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.
|
|
178
|
-
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
178
|
+
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
179
179
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
180
|
-
* @param {'createdAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
181
|
-
* @param {'items'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
180
|
+
* @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
181
|
+
* @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
182
182
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
*/
|
|
186
|
-
listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', search?: string, order?: 'createdAt', expand?: 'items', filters?: string, options?: any): AxiosPromise<ListCommissionsResponseClass>;
|
|
186
|
+
listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes', search?: string, order?: 'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: any): AxiosPromise<ListCommissionsResponseClass>;
|
|
187
187
|
/**
|
|
188
188
|
* This will update commission.
|
|
189
189
|
* @summary Update the commission
|
|
@@ -284,10 +284,10 @@ export interface CommissionsApiListCommissionsRequest {
|
|
|
284
284
|
readonly pageToken?: string;
|
|
285
285
|
/**
|
|
286
286
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
287
|
-
* @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'}
|
|
287
|
+
* @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'}
|
|
288
288
|
* @memberof CommissionsApiListCommissions
|
|
289
289
|
*/
|
|
290
|
-
readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt';
|
|
290
|
+
readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes';
|
|
291
291
|
/**
|
|
292
292
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
293
293
|
* @type {string}
|
|
@@ -296,16 +296,16 @@ export interface CommissionsApiListCommissionsRequest {
|
|
|
296
296
|
readonly search?: string;
|
|
297
297
|
/**
|
|
298
298
|
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
299
|
-
* @type {'createdAt'}
|
|
299
|
+
* @type {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
|
|
300
300
|
* @memberof CommissionsApiListCommissions
|
|
301
301
|
*/
|
|
302
|
-
readonly order?: 'createdAt';
|
|
302
|
+
readonly order?: 'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency';
|
|
303
303
|
/**
|
|
304
304
|
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
305
|
-
* @type {'items'}
|
|
305
|
+
* @type {'items' | 'agreement'}
|
|
306
306
|
* @memberof CommissionsApiListCommissions
|
|
307
307
|
*/
|
|
308
|
-
readonly expand?: 'items';
|
|
308
|
+
readonly expand?: 'items' | 'agreement';
|
|
309
309
|
/**
|
|
310
310
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
311
311
|
* @type {string}
|
|
@@ -253,10 +253,10 @@ var CommissionsApiAxiosParamCreator = function (configuration) {
|
|
|
253
253
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
254
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
255
255
|
* @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.
|
|
256
|
-
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
256
|
+
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
257
257
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
258
|
-
* @param {'createdAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
259
|
-
* @param {'items'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
258
|
+
* @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
259
|
+
* @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
260
260
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
261
261
|
* @param {*} [options] Override http request option.
|
|
262
262
|
* @throws {RequiredError}
|
|
@@ -452,10 +452,10 @@ var CommissionsApiFp = function (configuration) {
|
|
|
452
452
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
453
453
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
454
454
|
* @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.
|
|
455
|
-
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
455
|
+
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
456
456
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
457
|
-
* @param {'createdAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
458
|
-
* @param {'items'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
457
|
+
* @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
458
|
+
* @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
459
459
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
460
460
|
* @param {*} [options] Override http request option.
|
|
461
461
|
* @throws {RequiredError}
|
|
@@ -545,10 +545,10 @@ var CommissionsApiFactory = function (configuration, basePath, axios) {
|
|
|
545
545
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
546
546
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
547
547
|
* @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.
|
|
548
|
-
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
548
|
+
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
549
549
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
550
|
-
* @param {'createdAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
551
|
-
* @param {'items'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
550
|
+
* @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
551
|
+
* @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
552
552
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
553
553
|
* @param {*} [options] Override http request option.
|
|
554
554
|
* @throws {RequiredError}
|
package/dist/api.d.ts
CHANGED
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
export * from './api/commission-agreement-products-api';
|
|
13
|
+
export * from './api/commission-agreement-rules-api';
|
|
12
14
|
export * from './api/commission-agreement-versions-api';
|
|
13
15
|
export * from './api/commission-agreements-api';
|
|
16
|
+
export * from './api/commission-recipients-api';
|
|
14
17
|
export * from './api/commissions-api';
|
|
15
18
|
export * from './api/default-api';
|
package/dist/api.js
CHANGED
|
@@ -27,7 +27,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./api/commission-agreement-products-api"), exports);
|
|
31
|
+
__exportStar(require("./api/commission-agreement-rules-api"), exports);
|
|
30
32
|
__exportStar(require("./api/commission-agreement-versions-api"), exports);
|
|
31
33
|
__exportStar(require("./api/commission-agreements-api"), exports);
|
|
34
|
+
__exportStar(require("./api/commission-recipients-api"), exports);
|
|
32
35
|
__exportStar(require("./api/commissions-api"), exports);
|
|
33
36
|
__exportStar(require("./api/default-api"), exports);
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CommissionAgreementMetadataDto } from './commission-agreement-metadata-dto';
|
|
13
|
+
import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -39,6 +41,12 @@ export interface CommissionAgreementClass {
|
|
|
39
41
|
* @memberof CommissionAgreementClass
|
|
40
42
|
*/
|
|
41
43
|
'status': CommissionAgreementClassStatusEnum;
|
|
44
|
+
/**
|
|
45
|
+
* Array of commission agreement versions
|
|
46
|
+
* @type {Array<CommissionAgreementVersionClass>}
|
|
47
|
+
* @memberof CommissionAgreementClass
|
|
48
|
+
*/
|
|
49
|
+
'versions'?: Array<CommissionAgreementVersionClass>;
|
|
42
50
|
/**
|
|
43
51
|
* Detailed description of the commission agreement terms and conditions
|
|
44
52
|
* @type {string}
|
|
@@ -51,6 +59,12 @@ export interface CommissionAgreementClass {
|
|
|
51
59
|
* @memberof CommissionAgreementClass
|
|
52
60
|
*/
|
|
53
61
|
'billingFrequency'?: CommissionAgreementClassBillingFrequencyEnum;
|
|
62
|
+
/**
|
|
63
|
+
* Metadata associated with the commission agreement
|
|
64
|
+
* @type {CommissionAgreementMetadataDto}
|
|
65
|
+
* @memberof CommissionAgreementClass
|
|
66
|
+
*/
|
|
67
|
+
'metadata'?: CommissionAgreementMetadataDto;
|
|
54
68
|
/**
|
|
55
69
|
* Timestamp when the commission agreement was created
|
|
56
70
|
* @type {string}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { CommissionAgreementMetadataPartnerDto } from './commission-agreement-metadata-partner-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CommissionAgreementMetadataDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CommissionAgreementMetadataDto {
|
|
19
|
+
/**
|
|
20
|
+
* Main partner of the commission agreement
|
|
21
|
+
* @type {CommissionAgreementMetadataPartnerDto}
|
|
22
|
+
* @memberof CommissionAgreementMetadataDto
|
|
23
|
+
*/
|
|
24
|
+
'mainPartner'?: CommissionAgreementMetadataPartnerDto;
|
|
25
|
+
}
|
|
@@ -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,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CommissionService
|
|
3
|
+
* The EMIL CommissionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CommissionAgreementMetadataPartnerDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CommissionAgreementMetadataPartnerDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the partner
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CommissionAgreementMetadataPartnerDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the partner
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CommissionAgreementMetadataPartnerDto
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CommissionService
|
|
6
|
+
* The EMIL CommissionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,77 @@
|
|
|
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 CommissionAgreementProductClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CommissionAgreementProductClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the commission agreement product
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CommissionAgreementProductClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Product slug identifier
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CommissionAgreementProductClass
|
|
28
|
+
*/
|
|
29
|
+
'productSlug': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique code identifier for the commission agreement product, auto-generated on creation
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CommissionAgreementProductClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* The parent commission agreement version code
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CommissionAgreementProductClass
|
|
40
|
+
*/
|
|
41
|
+
'commissionAgreementVersionCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Status of the commission agreement product
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CommissionAgreementProductClass
|
|
46
|
+
*/
|
|
47
|
+
'status': CommissionAgreementProductClassStatusEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Timestamp when the commission agreement product was created
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CommissionAgreementProductClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Timestamp when the commission agreement product was last updated
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CommissionAgreementProductClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* User identifier who created the commission agreement product
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CommissionAgreementProductClass
|
|
64
|
+
*/
|
|
65
|
+
'createdBy'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* User identifier who last updated the commission agreement product
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CommissionAgreementProductClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedBy'?: string;
|
|
72
|
+
}
|
|
73
|
+
export declare const CommissionAgreementProductClassStatusEnum: {
|
|
74
|
+
readonly Active: "active";
|
|
75
|
+
readonly Inactive: "inactive";
|
|
76
|
+
};
|
|
77
|
+
export type CommissionAgreementProductClassStatusEnum = typeof CommissionAgreementProductClassStatusEnum[keyof typeof CommissionAgreementProductClassStatusEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
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.CommissionAgreementProductClassStatusEnum = void 0;
|
|
17
|
+
exports.CommissionAgreementProductClassStatusEnum = {
|
|
18
|
+
Active: 'active',
|
|
19
|
+
Inactive: 'inactive'
|
|
20
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
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 { CommissionAgreementRuleConfigDto } from './commission-agreement-rule-config-dto';
|
|
13
|
+
import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CommissionAgreementRuleClass
|
|
18
|
+
*/
|
|
19
|
+
export interface CommissionAgreementRuleClass {
|
|
20
|
+
/**
|
|
21
|
+
* Unique identifier for the commission agreement rule
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof CommissionAgreementRuleClass
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* The parent commission agreement version
|
|
28
|
+
* @type {CommissionAgreementVersionClass}
|
|
29
|
+
* @memberof CommissionAgreementRuleClass
|
|
30
|
+
*/
|
|
31
|
+
'version': CommissionAgreementVersionClass;
|
|
32
|
+
/**
|
|
33
|
+
* Unique code identifier for the commission agreement rule, auto-generated on creation
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CommissionAgreementRuleClass
|
|
36
|
+
*/
|
|
37
|
+
'code': string;
|
|
38
|
+
/**
|
|
39
|
+
* Configuration object for the commission agreement rule
|
|
40
|
+
* @type {CommissionAgreementRuleConfigDto}
|
|
41
|
+
* @memberof CommissionAgreementRuleClass
|
|
42
|
+
*/
|
|
43
|
+
'config': CommissionAgreementRuleConfigDto;
|
|
44
|
+
/**
|
|
45
|
+
* Status of the commission agreement rule (e.g., active, inactive, draft)
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CommissionAgreementRuleClass
|
|
48
|
+
*/
|
|
49
|
+
'status': CommissionAgreementRuleClassStatusEnum;
|
|
50
|
+
/**
|
|
51
|
+
* Timestamp when the commission agreement rule was created
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CommissionAgreementRuleClass
|
|
54
|
+
*/
|
|
55
|
+
'createdAt'?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Timestamp when the commission agreement rule was last updated
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CommissionAgreementRuleClass
|
|
60
|
+
*/
|
|
61
|
+
'updatedAt'?: string;
|
|
62
|
+
/**
|
|
63
|
+
* User identifier who created the commission agreement rule
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CommissionAgreementRuleClass
|
|
66
|
+
*/
|
|
67
|
+
'createdBy'?: string;
|
|
68
|
+
/**
|
|
69
|
+
* User identifier who last updated the commission agreement rule
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof CommissionAgreementRuleClass
|
|
72
|
+
*/
|
|
73
|
+
'updatedBy'?: string;
|
|
74
|
+
}
|
|
75
|
+
export declare const CommissionAgreementRuleClassStatusEnum: {
|
|
76
|
+
readonly Active: "active";
|
|
77
|
+
readonly Inactive: "inactive";
|
|
78
|
+
readonly Draft: "draft";
|
|
79
|
+
};
|
|
80
|
+
export type CommissionAgreementRuleClassStatusEnum = typeof CommissionAgreementRuleClassStatusEnum[keyof typeof CommissionAgreementRuleClassStatusEnum];
|
|
@@ -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.CommissionAgreementRuleClassStatusEnum = void 0;
|
|
17
|
+
exports.CommissionAgreementRuleClassStatusEnum = {
|
|
18
|
+
Active: 'active',
|
|
19
|
+
Inactive: 'inactive',
|
|
20
|
+
Draft: 'draft'
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { CommissionConfigDto } from './commission-config-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CommissionAgreementRuleConfigDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CommissionAgreementRuleConfigDto {
|
|
19
|
+
/**
|
|
20
|
+
* Array of commission calculation rules
|
|
21
|
+
* @type {Array<CommissionConfigDto>}
|
|
22
|
+
* @memberof CommissionAgreementRuleConfigDto
|
|
23
|
+
*/
|
|
24
|
+
'commissions': Array<CommissionConfigDto>;
|
|
25
|
+
}
|
|
@@ -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,31 @@
|
|
|
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 { EvaluatedCommissionClass } from './evaluated-commission-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CommissionAgreementRuleEvaluationClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CommissionAgreementRuleEvaluationClass {
|
|
19
|
+
/**
|
|
20
|
+
* Premium amount in cents used for evaluation
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof CommissionAgreementRuleEvaluationClass
|
|
23
|
+
*/
|
|
24
|
+
'premiumAmount': number;
|
|
25
|
+
/**
|
|
26
|
+
* Array of evaluated commission results
|
|
27
|
+
* @type {Array<EvaluatedCommissionClass>}
|
|
28
|
+
* @memberof CommissionAgreementRuleEvaluationClass
|
|
29
|
+
*/
|
|
30
|
+
'commissions': Array<EvaluatedCommissionClass>;
|
|
31
|
+
}
|
|
@@ -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 });
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CommissionAgreementClass } from './commission-agreement-class';
|
|
13
|
+
import { CommissionAgreementProductClass } from './commission-agreement-product-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -28,6 +29,12 @@ export interface CommissionAgreementVersionClass {
|
|
|
28
29
|
* @memberof CommissionAgreementVersionClass
|
|
29
30
|
*/
|
|
30
31
|
'agreement': CommissionAgreementClass;
|
|
32
|
+
/**
|
|
33
|
+
* Array of commission agreement products
|
|
34
|
+
* @type {Array<CommissionAgreementProductClass>}
|
|
35
|
+
* @memberof CommissionAgreementVersionClass
|
|
36
|
+
*/
|
|
37
|
+
'products'?: Array<CommissionAgreementProductClass>;
|
|
31
38
|
/**
|
|
32
39
|
* Unique code identifier for the commission agreement version, auto-generated on creation
|
|
33
40
|
* @type {string}
|