@emilgroup/commission-sdk 1.0.0-beta.2 → 1.0.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +33 -0
- package/README.md +2 -2
- package/api/commission-agreement-products-api.ts +651 -0
- package/api/commission-agreement-rules-api.ts +758 -0
- package/api/commission-agreement-versions-api.ts +67 -25
- package/api/commission-agreements-api.ts +83 -28
- package/api/commission-recipients-api.ts +693 -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 +626 -0
- package/dist/api/commission-agreement-rules-api.d.ts +423 -0
- package/dist/api/commission-agreement-rules-api.js +719 -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 +644 -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 +78 -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-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 +87 -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-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
package/api/commissions-api.ts
CHANGED
|
@@ -188,15 +188,15 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
188
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
189
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
190
190
|
* @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.
|
|
191
|
-
* @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.
|
|
191
|
+
* @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.
|
|
192
192
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
193
|
-
* @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.
|
|
194
|
-
* @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.
|
|
193
|
+
* @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.
|
|
194
|
+
* @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.
|
|
195
195
|
* @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.
|
|
196
196
|
* @param {*} [options] Override http request option.
|
|
197
197
|
* @throws {RequiredError}
|
|
198
198
|
*/
|
|
199
|
-
listCommissions: async (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> => {
|
|
199
|
+
listCommissions: async (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> => {
|
|
200
200
|
const localVarPath = `/commissionservice/v1/commissions`;
|
|
201
201
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
202
202
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -362,15 +362,15 @@ export const CommissionsApiFp = function(configuration?: Configuration) {
|
|
|
362
362
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
363
363
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
364
364
|
* @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.
|
|
365
|
-
* @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.
|
|
365
|
+
* @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.
|
|
366
366
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
367
|
-
* @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.
|
|
368
|
-
* @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.
|
|
367
|
+
* @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.
|
|
368
|
+
* @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.
|
|
369
369
|
* @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.
|
|
370
370
|
* @param {*} [options] Override http request option.
|
|
371
371
|
* @throws {RequiredError}
|
|
372
372
|
*/
|
|
373
|
-
async 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>> {
|
|
373
|
+
async 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>> {
|
|
374
374
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
375
375
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
376
376
|
},
|
|
@@ -437,15 +437,15 @@ export const CommissionsApiFactory = function (configuration?: Configuration, ba
|
|
|
437
437
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
438
438
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
439
439
|
* @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.
|
|
440
|
-
* @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.
|
|
440
|
+
* @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.
|
|
441
441
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
442
|
-
* @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.
|
|
443
|
-
* @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.
|
|
442
|
+
* @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.
|
|
443
|
+
* @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.
|
|
444
444
|
* @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.
|
|
445
445
|
* @param {*} [options] Override http request option.
|
|
446
446
|
* @throws {RequiredError}
|
|
447
447
|
*/
|
|
448
|
-
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> {
|
|
448
|
+
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> {
|
|
449
449
|
return localVarFp.listCommissions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
450
450
|
},
|
|
451
451
|
/**
|
|
@@ -562,10 +562,10 @@ export interface CommissionsApiListCommissionsRequest {
|
|
|
562
562
|
|
|
563
563
|
/**
|
|
564
564
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
565
|
-
* @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'}
|
|
565
|
+
* @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'}
|
|
566
566
|
* @memberof CommissionsApiListCommissions
|
|
567
567
|
*/
|
|
568
|
-
readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'
|
|
568
|
+
readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'
|
|
569
569
|
|
|
570
570
|
/**
|
|
571
571
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -576,17 +576,17 @@ export interface CommissionsApiListCommissionsRequest {
|
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
578
|
* 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.
|
|
579
|
-
* @type {'createdAt'}
|
|
579
|
+
* @type {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
|
|
580
580
|
* @memberof CommissionsApiListCommissions
|
|
581
581
|
*/
|
|
582
|
-
readonly order?: 'createdAt'
|
|
582
|
+
readonly order?: 'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'
|
|
583
583
|
|
|
584
584
|
/**
|
|
585
585
|
* 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.
|
|
586
|
-
* @type {'items'}
|
|
586
|
+
* @type {'items' | 'agreement'}
|
|
587
587
|
* @memberof CommissionsApiListCommissions
|
|
588
588
|
*/
|
|
589
|
-
readonly expand?: 'items'
|
|
589
|
+
readonly expand?: 'items' | 'agreement'
|
|
590
590
|
|
|
591
591
|
/**
|
|
592
592
|
* 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.
|
package/api.ts
CHANGED
|
@@ -20,14 +20,20 @@ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig, AxiosResp
|
|
|
20
20
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
|
+
import { CommissionAgreementProductsApi } from './api';
|
|
24
|
+
import { CommissionAgreementRulesApi } from './api';
|
|
23
25
|
import { CommissionAgreementVersionsApi } from './api';
|
|
24
26
|
import { CommissionAgreementsApi } from './api';
|
|
27
|
+
import { CommissionRecipientsApi } from './api';
|
|
25
28
|
import { CommissionsApi } from './api';
|
|
26
29
|
import { DefaultApi } from './api';
|
|
27
30
|
|
|
28
31
|
|
|
32
|
+
export * from './api/commission-agreement-products-api';
|
|
33
|
+
export * from './api/commission-agreement-rules-api';
|
|
29
34
|
export * from './api/commission-agreement-versions-api';
|
|
30
35
|
export * from './api/commission-agreements-api';
|
|
36
|
+
export * from './api/commission-recipients-api';
|
|
31
37
|
export * from './api/commissions-api';
|
|
32
38
|
export * from './api/default-api';
|
|
33
39
|
|
|
@@ -0,0 +1,366 @@
|
|
|
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateCommissionAgreementProductRequestDto } from '../models';
|
|
16
|
+
import { CreateCommissionAgreementProductResponseClass } from '../models';
|
|
17
|
+
import { GetCommissionAgreementProductResponseClass } from '../models';
|
|
18
|
+
import { ListCommissionAgreementProductsResponseClass } from '../models';
|
|
19
|
+
import { UpdateCommissionAgreementProductRequestDto } from '../models';
|
|
20
|
+
import { UpdateCommissionAgreementProductResponseClass } from '../models';
|
|
21
|
+
/**
|
|
22
|
+
* CommissionAgreementProductsApi - axios parameter creator
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const CommissionAgreementProductsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
+
/**
|
|
27
|
+
* This will create commission agreement product.
|
|
28
|
+
* @summary Create the commission agreement product
|
|
29
|
+
* @param {CreateCommissionAgreementProductRequestDto} createCommissionAgreementProductRequestDto
|
|
30
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
createCommissionAgreementProduct: (createCommissionAgreementProductRequestDto: CreateCommissionAgreementProductRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
* This will delete commission agreement product.
|
|
37
|
+
* @summary Delete the commission agreement product
|
|
38
|
+
* @param {string} code Unique identifier for the object.
|
|
39
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteCommissionAgreementProduct: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* This will get commission agreement product.
|
|
46
|
+
* @summary Retrieve the commission agreement product
|
|
47
|
+
* @param {string} code
|
|
48
|
+
* @param {string} expand
|
|
49
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
getCommissionAgreementProduct: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves a list of commission agreement products.
|
|
56
|
+
* @summary List commission agreement products
|
|
57
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
+
* @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, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
59
|
+
* @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, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
60
|
+
* @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: createdAt, updatedAt, productSlug, status</i>
|
|
61
|
+
* @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/> <i>Allowed values: version<i>
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
listCommissionAgreementProducts: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
/**
|
|
67
|
+
* This will update commission agreement product.
|
|
68
|
+
* @summary Update the commission agreement product
|
|
69
|
+
* @param {string} code Unique identifier for the object.
|
|
70
|
+
* @param {UpdateCommissionAgreementProductRequestDto} updateCommissionAgreementProductRequestDto
|
|
71
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
updateCommissionAgreementProduct: (code: string, updateCommissionAgreementProductRequestDto: UpdateCommissionAgreementProductRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* CommissionAgreementProductsApi - functional programming interface
|
|
79
|
+
* @export
|
|
80
|
+
*/
|
|
81
|
+
export declare const CommissionAgreementProductsApiFp: (configuration?: Configuration) => {
|
|
82
|
+
/**
|
|
83
|
+
* This will create commission agreement product.
|
|
84
|
+
* @summary Create the commission agreement product
|
|
85
|
+
* @param {CreateCommissionAgreementProductRequestDto} createCommissionAgreementProductRequestDto
|
|
86
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
createCommissionAgreementProduct(createCommissionAgreementProductRequestDto: CreateCommissionAgreementProductRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionAgreementProductResponseClass>>;
|
|
91
|
+
/**
|
|
92
|
+
* This will delete commission agreement product.
|
|
93
|
+
* @summary Delete the commission agreement product
|
|
94
|
+
* @param {string} code Unique identifier for the object.
|
|
95
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
deleteCommissionAgreementProduct(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
100
|
+
/**
|
|
101
|
+
* This will get commission agreement product.
|
|
102
|
+
* @summary Retrieve the commission agreement product
|
|
103
|
+
* @param {string} code
|
|
104
|
+
* @param {string} expand
|
|
105
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
getCommissionAgreementProduct(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionAgreementProductResponseClass>>;
|
|
110
|
+
/**
|
|
111
|
+
* Retrieves a list of commission agreement products.
|
|
112
|
+
* @summary List commission agreement products
|
|
113
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
|
+
* @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, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
115
|
+
* @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, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
116
|
+
* @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: createdAt, updatedAt, productSlug, status</i>
|
|
117
|
+
* @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/> <i>Allowed values: version<i>
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementProductsResponseClass>>;
|
|
122
|
+
/**
|
|
123
|
+
* This will update commission agreement product.
|
|
124
|
+
* @summary Update the commission agreement product
|
|
125
|
+
* @param {string} code Unique identifier for the object.
|
|
126
|
+
* @param {UpdateCommissionAgreementProductRequestDto} updateCommissionAgreementProductRequestDto
|
|
127
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
updateCommissionAgreementProduct(code: string, updateCommissionAgreementProductRequestDto: UpdateCommissionAgreementProductRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionAgreementProductResponseClass>>;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* CommissionAgreementProductsApi - factory interface
|
|
135
|
+
* @export
|
|
136
|
+
*/
|
|
137
|
+
export declare const CommissionAgreementProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
138
|
+
/**
|
|
139
|
+
* This will create commission agreement product.
|
|
140
|
+
* @summary Create the commission agreement product
|
|
141
|
+
* @param {CreateCommissionAgreementProductRequestDto} createCommissionAgreementProductRequestDto
|
|
142
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
createCommissionAgreementProduct(createCommissionAgreementProductRequestDto: CreateCommissionAgreementProductRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionAgreementProductResponseClass>;
|
|
147
|
+
/**
|
|
148
|
+
* This will delete commission agreement product.
|
|
149
|
+
* @summary Delete the commission agreement product
|
|
150
|
+
* @param {string} code Unique identifier for the object.
|
|
151
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
deleteCommissionAgreementProduct(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
156
|
+
/**
|
|
157
|
+
* This will get commission agreement product.
|
|
158
|
+
* @summary Retrieve the commission agreement product
|
|
159
|
+
* @param {string} code
|
|
160
|
+
* @param {string} expand
|
|
161
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
getCommissionAgreementProduct(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionAgreementProductResponseClass>;
|
|
166
|
+
/**
|
|
167
|
+
* Retrieves a list of commission agreement products.
|
|
168
|
+
* @summary List commission agreement products
|
|
169
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
170
|
+
* @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, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
171
|
+
* @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, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
172
|
+
* @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: createdAt, updatedAt, productSlug, status</i>
|
|
173
|
+
* @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/> <i>Allowed values: version<i>
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementProductsResponseClass>;
|
|
178
|
+
/**
|
|
179
|
+
* This will update commission agreement product.
|
|
180
|
+
* @summary Update the commission agreement product
|
|
181
|
+
* @param {string} code Unique identifier for the object.
|
|
182
|
+
* @param {UpdateCommissionAgreementProductRequestDto} updateCommissionAgreementProductRequestDto
|
|
183
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
updateCommissionAgreementProduct(code: string, updateCommissionAgreementProductRequestDto: UpdateCommissionAgreementProductRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionAgreementProductResponseClass>;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Request parameters for createCommissionAgreementProduct operation in CommissionAgreementProductsApi.
|
|
191
|
+
* @export
|
|
192
|
+
* @interface CommissionAgreementProductsApiCreateCommissionAgreementProductRequest
|
|
193
|
+
*/
|
|
194
|
+
export interface CommissionAgreementProductsApiCreateCommissionAgreementProductRequest {
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {CreateCommissionAgreementProductRequestDto}
|
|
198
|
+
* @memberof CommissionAgreementProductsApiCreateCommissionAgreementProduct
|
|
199
|
+
*/
|
|
200
|
+
readonly createCommissionAgreementProductRequestDto: CreateCommissionAgreementProductRequestDto;
|
|
201
|
+
/**
|
|
202
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof CommissionAgreementProductsApiCreateCommissionAgreementProduct
|
|
205
|
+
*/
|
|
206
|
+
readonly authorization?: string;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Request parameters for deleteCommissionAgreementProduct operation in CommissionAgreementProductsApi.
|
|
210
|
+
* @export
|
|
211
|
+
* @interface CommissionAgreementProductsApiDeleteCommissionAgreementProductRequest
|
|
212
|
+
*/
|
|
213
|
+
export interface CommissionAgreementProductsApiDeleteCommissionAgreementProductRequest {
|
|
214
|
+
/**
|
|
215
|
+
* Unique identifier for the object.
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof CommissionAgreementProductsApiDeleteCommissionAgreementProduct
|
|
218
|
+
*/
|
|
219
|
+
readonly code: string;
|
|
220
|
+
/**
|
|
221
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof CommissionAgreementProductsApiDeleteCommissionAgreementProduct
|
|
224
|
+
*/
|
|
225
|
+
readonly authorization?: string;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Request parameters for getCommissionAgreementProduct operation in CommissionAgreementProductsApi.
|
|
229
|
+
* @export
|
|
230
|
+
* @interface CommissionAgreementProductsApiGetCommissionAgreementProductRequest
|
|
231
|
+
*/
|
|
232
|
+
export interface CommissionAgreementProductsApiGetCommissionAgreementProductRequest {
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @type {string}
|
|
236
|
+
* @memberof CommissionAgreementProductsApiGetCommissionAgreementProduct
|
|
237
|
+
*/
|
|
238
|
+
readonly code: string;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @type {string}
|
|
242
|
+
* @memberof CommissionAgreementProductsApiGetCommissionAgreementProduct
|
|
243
|
+
*/
|
|
244
|
+
readonly expand: string;
|
|
245
|
+
/**
|
|
246
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
|
+
* @type {string}
|
|
248
|
+
* @memberof CommissionAgreementProductsApiGetCommissionAgreementProduct
|
|
249
|
+
*/
|
|
250
|
+
readonly authorization?: string;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Request parameters for listCommissionAgreementProducts operation in CommissionAgreementProductsApi.
|
|
254
|
+
* @export
|
|
255
|
+
* @interface CommissionAgreementProductsApiListCommissionAgreementProductsRequest
|
|
256
|
+
*/
|
|
257
|
+
export interface CommissionAgreementProductsApiListCommissionAgreementProductsRequest {
|
|
258
|
+
/**
|
|
259
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
|
+
* @type {string}
|
|
261
|
+
* @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
|
|
262
|
+
*/
|
|
263
|
+
readonly authorization?: string;
|
|
264
|
+
/**
|
|
265
|
+
* 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, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
266
|
+
* @type {string}
|
|
267
|
+
* @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
|
|
268
|
+
*/
|
|
269
|
+
readonly filter?: string;
|
|
270
|
+
/**
|
|
271
|
+
* 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, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
272
|
+
* @type {string}
|
|
273
|
+
* @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
|
|
274
|
+
*/
|
|
275
|
+
readonly filters?: string;
|
|
276
|
+
/**
|
|
277
|
+
* 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: createdAt, updatedAt, productSlug, status</i>
|
|
278
|
+
* @type {string}
|
|
279
|
+
* @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
|
|
280
|
+
*/
|
|
281
|
+
readonly order?: string;
|
|
282
|
+
/**
|
|
283
|
+
* 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/> <i>Allowed values: version<i>
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
|
|
286
|
+
*/
|
|
287
|
+
readonly expand?: string;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Request parameters for updateCommissionAgreementProduct operation in CommissionAgreementProductsApi.
|
|
291
|
+
* @export
|
|
292
|
+
* @interface CommissionAgreementProductsApiUpdateCommissionAgreementProductRequest
|
|
293
|
+
*/
|
|
294
|
+
export interface CommissionAgreementProductsApiUpdateCommissionAgreementProductRequest {
|
|
295
|
+
/**
|
|
296
|
+
* Unique identifier for the object.
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof CommissionAgreementProductsApiUpdateCommissionAgreementProduct
|
|
299
|
+
*/
|
|
300
|
+
readonly code: string;
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @type {UpdateCommissionAgreementProductRequestDto}
|
|
304
|
+
* @memberof CommissionAgreementProductsApiUpdateCommissionAgreementProduct
|
|
305
|
+
*/
|
|
306
|
+
readonly updateCommissionAgreementProductRequestDto: UpdateCommissionAgreementProductRequestDto;
|
|
307
|
+
/**
|
|
308
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof CommissionAgreementProductsApiUpdateCommissionAgreementProduct
|
|
311
|
+
*/
|
|
312
|
+
readonly authorization?: string;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* CommissionAgreementProductsApi - object-oriented interface
|
|
316
|
+
* @export
|
|
317
|
+
* @class CommissionAgreementProductsApi
|
|
318
|
+
* @extends {BaseAPI}
|
|
319
|
+
*/
|
|
320
|
+
export declare class CommissionAgreementProductsApi extends BaseAPI {
|
|
321
|
+
/**
|
|
322
|
+
* This will create commission agreement product.
|
|
323
|
+
* @summary Create the commission agreement product
|
|
324
|
+
* @param {CommissionAgreementProductsApiCreateCommissionAgreementProductRequest} requestParameters Request parameters.
|
|
325
|
+
* @param {*} [options] Override http request option.
|
|
326
|
+
* @throws {RequiredError}
|
|
327
|
+
* @memberof CommissionAgreementProductsApi
|
|
328
|
+
*/
|
|
329
|
+
createCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiCreateCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionAgreementProductResponseClass, any, {}>>;
|
|
330
|
+
/**
|
|
331
|
+
* This will delete commission agreement product.
|
|
332
|
+
* @summary Delete the commission agreement product
|
|
333
|
+
* @param {CommissionAgreementProductsApiDeleteCommissionAgreementProductRequest} requestParameters Request parameters.
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
* @memberof CommissionAgreementProductsApi
|
|
337
|
+
*/
|
|
338
|
+
deleteCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiDeleteCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
339
|
+
/**
|
|
340
|
+
* This will get commission agreement product.
|
|
341
|
+
* @summary Retrieve the commission agreement product
|
|
342
|
+
* @param {CommissionAgreementProductsApiGetCommissionAgreementProductRequest} requestParameters Request parameters.
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
* @memberof CommissionAgreementProductsApi
|
|
346
|
+
*/
|
|
347
|
+
getCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiGetCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementProductResponseClass, any, {}>>;
|
|
348
|
+
/**
|
|
349
|
+
* Retrieves a list of commission agreement products.
|
|
350
|
+
* @summary List commission agreement products
|
|
351
|
+
* @param {CommissionAgreementProductsApiListCommissionAgreementProductsRequest} requestParameters Request parameters.
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
* @memberof CommissionAgreementProductsApi
|
|
355
|
+
*/
|
|
356
|
+
listCommissionAgreementProducts(requestParameters?: CommissionAgreementProductsApiListCommissionAgreementProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementProductsResponseClass, any, {}>>;
|
|
357
|
+
/**
|
|
358
|
+
* This will update commission agreement product.
|
|
359
|
+
* @summary Update the commission agreement product
|
|
360
|
+
* @param {CommissionAgreementProductsApiUpdateCommissionAgreementProductRequest} requestParameters Request parameters.
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
* @memberof CommissionAgreementProductsApi
|
|
364
|
+
*/
|
|
365
|
+
updateCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiUpdateCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCommissionAgreementProductResponseClass, any, {}>>;
|
|
366
|
+
}
|