@emilgroup/commission-sdk-node 1.0.0-beta.33 → 1.0.0-beta.35
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/README.md +2 -2
- package/api/commission-agreement-rules-api.ts +12 -12
- package/api/commission-agreements-api.ts +11 -24
- package/dist/api/commission-agreement-rules-api.d.ts +12 -12
- package/dist/api/commission-agreement-rules-api.js +9 -9
- package/dist/api/commission-agreements-api.d.ts +7 -16
- package/dist/api/commission-agreements-api.js +10 -16
- package/dist/models/commission-agreement-rule-class.d.ts +13 -0
- package/dist/models/create-commission-agreement-rule-request-dto.d.ts +6 -0
- package/dist/models/update-commission-agreement-rule-request-dto.d.ts +6 -0
- package/models/commission-agreement-rule-class.ts +13 -0
- package/models/create-commission-agreement-rule-request-dto.ts +6 -0
- package/models/update-commission-agreement-rule-request-dto.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/commission-sdk-node@1.0.0-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk-node@1.0.0-beta.35 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.35
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -241,10 +241,10 @@ export const CommissionAgreementRulesApiAxiosParamCreator = function (configurat
|
|
|
241
241
|
* Retrieves a list of commission agreement rules.
|
|
242
242
|
* @summary List commission agreement rules
|
|
243
243
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
|
-
* @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, status, createdAt</i>
|
|
245
|
-
* @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, status, createdAt</i>
|
|
244
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
245
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
246
246
|
* @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, status</i>
|
|
247
|
-
* @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>
|
|
247
|
+
* @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, commissionAgreementProduct<i>
|
|
248
248
|
* @param {*} [options] Override http request option.
|
|
249
249
|
* @throws {RequiredError}
|
|
250
250
|
*/
|
|
@@ -412,10 +412,10 @@ export const CommissionAgreementRulesApiFp = function(configuration?: Configurat
|
|
|
412
412
|
* Retrieves a list of commission agreement rules.
|
|
413
413
|
* @summary List commission agreement rules
|
|
414
414
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
415
|
-
* @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, status, createdAt</i>
|
|
416
|
-
* @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, status, createdAt</i>
|
|
415
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
416
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
417
417
|
* @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, status</i>
|
|
418
|
-
* @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>
|
|
418
|
+
* @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, commissionAgreementProduct<i>
|
|
419
419
|
* @param {*} [options] Override http request option.
|
|
420
420
|
* @throws {RequiredError}
|
|
421
421
|
*/
|
|
@@ -495,10 +495,10 @@ export const CommissionAgreementRulesApiFactory = function (configuration?: Conf
|
|
|
495
495
|
* Retrieves a list of commission agreement rules.
|
|
496
496
|
* @summary List commission agreement rules
|
|
497
497
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
498
|
-
* @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, status, createdAt</i>
|
|
499
|
-
* @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, status, createdAt</i>
|
|
498
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
499
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
500
500
|
* @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, status</i>
|
|
501
|
-
* @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>
|
|
501
|
+
* @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, commissionAgreementProduct<i>
|
|
502
502
|
* @param {*} [options] Override http request option.
|
|
503
503
|
* @throws {RequiredError}
|
|
504
504
|
*/
|
|
@@ -625,14 +625,14 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
|
|
|
625
625
|
readonly authorization?: string
|
|
626
626
|
|
|
627
627
|
/**
|
|
628
|
-
* 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, status, createdAt</i>
|
|
628
|
+
* 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, commissionAgreementProductCode, status, createdAt</i>
|
|
629
629
|
* @type {string}
|
|
630
630
|
* @memberof CommissionAgreementRulesApiListCommissionAgreementRules
|
|
631
631
|
*/
|
|
632
632
|
readonly filter?: string
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
* 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, status, createdAt</i>
|
|
635
|
+
* 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, commissionAgreementProductCode, status, createdAt</i>
|
|
636
636
|
* @type {string}
|
|
637
637
|
* @memberof CommissionAgreementRulesApiListCommissionAgreementRules
|
|
638
638
|
*/
|
|
@@ -646,7 +646,7 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
|
|
|
646
646
|
readonly order?: string
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
|
-
* 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>
|
|
649
|
+
* 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, commissionAgreementProduct<i>
|
|
650
650
|
* @type {string}
|
|
651
651
|
* @memberof CommissionAgreementRulesApiListCommissionAgreementRules
|
|
652
652
|
*/
|
|
@@ -269,23 +269,19 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
269
269
|
/**
|
|
270
270
|
* This will patch commission agreement status.
|
|
271
271
|
* @summary Update the commission agreement status
|
|
272
|
-
* @param {string} code
|
|
273
|
-
* @param {any} commissionAgreement Unique identifier for the object.
|
|
272
|
+
* @param {string} code Unique identifier for the object.
|
|
274
273
|
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
275
274
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
276
275
|
* @param {*} [options] Override http request option.
|
|
277
276
|
* @throws {RequiredError}
|
|
278
277
|
*/
|
|
279
|
-
patchCommissionAgreementStatus: async (code: string,
|
|
278
|
+
patchCommissionAgreementStatus: async (code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
280
279
|
// verify required parameter 'code' is not null or undefined
|
|
281
280
|
assertParamExists('patchCommissionAgreementStatus', 'code', code)
|
|
282
|
-
// verify required parameter 'commissionAgreement' is not null or undefined
|
|
283
|
-
assertParamExists('patchCommissionAgreementStatus', 'commissionAgreement', commissionAgreement)
|
|
284
281
|
// verify required parameter 'patchCommissionAgreementStatusRequestDto' is not null or undefined
|
|
285
282
|
assertParamExists('patchCommissionAgreementStatus', 'patchCommissionAgreementStatusRequestDto', patchCommissionAgreementStatusRequestDto)
|
|
286
283
|
const localVarPath = `/commissionservice/v1/agreements/{code}/status`
|
|
287
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)))
|
|
288
|
-
.replace(`{${"commission agreement"}}`, encodeURIComponent(String(commissionAgreement)));
|
|
284
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
289
285
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
290
286
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
291
287
|
let baseOptions;
|
|
@@ -440,15 +436,14 @@ export const CommissionAgreementsApiFp = function(configuration?: Configuration)
|
|
|
440
436
|
/**
|
|
441
437
|
* This will patch commission agreement status.
|
|
442
438
|
* @summary Update the commission agreement status
|
|
443
|
-
* @param {string} code
|
|
444
|
-
* @param {any} commissionAgreement Unique identifier for the object.
|
|
439
|
+
* @param {string} code Unique identifier for the object.
|
|
445
440
|
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
446
441
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
447
442
|
* @param {*} [options] Override http request option.
|
|
448
443
|
* @throws {RequiredError}
|
|
449
444
|
*/
|
|
450
|
-
async patchCommissionAgreementStatus(code: string,
|
|
451
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchCommissionAgreementStatus(code,
|
|
445
|
+
async patchCommissionAgreementStatus(code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCommissionAgreementStatusResponseClass>> {
|
|
446
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options);
|
|
452
447
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
453
448
|
},
|
|
454
449
|
/**
|
|
@@ -528,15 +523,14 @@ export const CommissionAgreementsApiFactory = function (configuration?: Configur
|
|
|
528
523
|
/**
|
|
529
524
|
* This will patch commission agreement status.
|
|
530
525
|
* @summary Update the commission agreement status
|
|
531
|
-
* @param {string} code
|
|
532
|
-
* @param {any} commissionAgreement Unique identifier for the object.
|
|
526
|
+
* @param {string} code Unique identifier for the object.
|
|
533
527
|
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
534
528
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
535
529
|
* @param {*} [options] Override http request option.
|
|
536
530
|
* @throws {RequiredError}
|
|
537
531
|
*/
|
|
538
|
-
patchCommissionAgreementStatus(code: string,
|
|
539
|
-
return localVarFp.patchCommissionAgreementStatus(code,
|
|
532
|
+
patchCommissionAgreementStatus(code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCommissionAgreementStatusResponseClass> {
|
|
533
|
+
return localVarFp.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
540
534
|
},
|
|
541
535
|
/**
|
|
542
536
|
* This will update commission agreement.
|
|
@@ -693,19 +687,12 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
|
|
|
693
687
|
*/
|
|
694
688
|
export interface CommissionAgreementsApiPatchCommissionAgreementStatusRequest {
|
|
695
689
|
/**
|
|
696
|
-
*
|
|
690
|
+
* Unique identifier for the object.
|
|
697
691
|
* @type {string}
|
|
698
692
|
* @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
|
|
699
693
|
*/
|
|
700
694
|
readonly code: string
|
|
701
695
|
|
|
702
|
-
/**
|
|
703
|
-
* Unique identifier for the object.
|
|
704
|
-
* @type {any}
|
|
705
|
-
* @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
|
|
706
|
-
*/
|
|
707
|
-
readonly commissionAgreement: any
|
|
708
|
-
|
|
709
696
|
/**
|
|
710
697
|
*
|
|
711
698
|
* @type {PatchCommissionAgreementStatusRequestDto}
|
|
@@ -813,7 +800,7 @@ export class CommissionAgreementsApi extends BaseAPI {
|
|
|
813
800
|
* @memberof CommissionAgreementsApi
|
|
814
801
|
*/
|
|
815
802
|
public patchCommissionAgreementStatus(requestParameters: CommissionAgreementsApiPatchCommissionAgreementStatusRequest, options?: AxiosRequestConfig) {
|
|
816
|
-
return CommissionAgreementsApiFp(this.configuration).patchCommissionAgreementStatus(requestParameters.code, requestParameters.
|
|
803
|
+
return CommissionAgreementsApiFp(this.configuration).patchCommissionAgreementStatus(requestParameters.code, requestParameters.patchCommissionAgreementStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
817
804
|
}
|
|
818
805
|
|
|
819
806
|
/**
|
|
@@ -66,10 +66,10 @@ export declare const CommissionAgreementRulesApiAxiosParamCreator: (configuratio
|
|
|
66
66
|
* Retrieves a list of commission agreement rules.
|
|
67
67
|
* @summary List commission agreement rules
|
|
68
68
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
69
|
-
* @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, status, createdAt</i>
|
|
70
|
-
* @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, status, createdAt</i>
|
|
69
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
70
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
71
71
|
* @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, status</i>
|
|
72
|
-
* @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>
|
|
72
|
+
* @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, commissionAgreementProduct<i>
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
@@ -131,10 +131,10 @@ export declare const CommissionAgreementRulesApiFp: (configuration?: Configurati
|
|
|
131
131
|
* Retrieves a list of commission agreement rules.
|
|
132
132
|
* @summary List commission agreement rules
|
|
133
133
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
134
|
-
* @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, status, createdAt</i>
|
|
135
|
-
* @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, status, createdAt</i>
|
|
134
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
135
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
136
136
|
* @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, status</i>
|
|
137
|
-
* @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>
|
|
137
|
+
* @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, commissionAgreementProduct<i>
|
|
138
138
|
* @param {*} [options] Override http request option.
|
|
139
139
|
* @throws {RequiredError}
|
|
140
140
|
*/
|
|
@@ -196,10 +196,10 @@ export declare const CommissionAgreementRulesApiFactory: (configuration?: Config
|
|
|
196
196
|
* Retrieves a list of commission agreement rules.
|
|
197
197
|
* @summary List commission agreement rules
|
|
198
198
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
199
|
-
* @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, status, createdAt</i>
|
|
200
|
-
* @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, status, createdAt</i>
|
|
199
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
200
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
201
201
|
* @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, status</i>
|
|
202
|
-
* @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>
|
|
202
|
+
* @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, commissionAgreementProduct<i>
|
|
203
203
|
* @param {*} [options] Override http request option.
|
|
204
204
|
* @throws {RequiredError}
|
|
205
205
|
*/
|
|
@@ -310,13 +310,13 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
|
|
|
310
310
|
*/
|
|
311
311
|
readonly authorization?: string;
|
|
312
312
|
/**
|
|
313
|
-
* 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, status, createdAt</i>
|
|
313
|
+
* 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, commissionAgreementProductCode, status, createdAt</i>
|
|
314
314
|
* @type {string}
|
|
315
315
|
* @memberof CommissionAgreementRulesApiListCommissionAgreementRules
|
|
316
316
|
*/
|
|
317
317
|
readonly filter?: string;
|
|
318
318
|
/**
|
|
319
|
-
* 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, status, createdAt</i>
|
|
319
|
+
* 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, commissionAgreementProductCode, status, createdAt</i>
|
|
320
320
|
* @type {string}
|
|
321
321
|
* @memberof CommissionAgreementRulesApiListCommissionAgreementRules
|
|
322
322
|
*/
|
|
@@ -328,7 +328,7 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
|
|
|
328
328
|
*/
|
|
329
329
|
readonly order?: string;
|
|
330
330
|
/**
|
|
331
|
-
* 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>
|
|
331
|
+
* 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, commissionAgreementProduct<i>
|
|
332
332
|
* @type {string}
|
|
333
333
|
* @memberof CommissionAgreementRulesApiListCommissionAgreementRules
|
|
334
334
|
*/
|
|
@@ -300,10 +300,10 @@ var CommissionAgreementRulesApiAxiosParamCreator = function (configuration) {
|
|
|
300
300
|
* Retrieves a list of commission agreement rules.
|
|
301
301
|
* @summary List commission agreement rules
|
|
302
302
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
303
|
-
* @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, status, createdAt</i>
|
|
304
|
-
* @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, status, createdAt</i>
|
|
303
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
304
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
305
305
|
* @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, status</i>
|
|
306
|
-
* @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>
|
|
306
|
+
* @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, commissionAgreementProduct<i>
|
|
307
307
|
* @param {*} [options] Override http request option.
|
|
308
308
|
* @throws {RequiredError}
|
|
309
309
|
*/
|
|
@@ -508,10 +508,10 @@ var CommissionAgreementRulesApiFp = function (configuration) {
|
|
|
508
508
|
* Retrieves a list of commission agreement rules.
|
|
509
509
|
* @summary List commission agreement rules
|
|
510
510
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
511
|
-
* @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, status, createdAt</i>
|
|
512
|
-
* @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, status, createdAt</i>
|
|
511
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
512
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
513
513
|
* @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, status</i>
|
|
514
|
-
* @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>
|
|
514
|
+
* @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, commissionAgreementProduct<i>
|
|
515
515
|
* @param {*} [options] Override http request option.
|
|
516
516
|
* @throws {RequiredError}
|
|
517
517
|
*/
|
|
@@ -609,10 +609,10 @@ var CommissionAgreementRulesApiFactory = function (configuration, basePath, axio
|
|
|
609
609
|
* Retrieves a list of commission agreement rules.
|
|
610
610
|
* @summary List commission agreement rules
|
|
611
611
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
612
|
-
* @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, status, createdAt</i>
|
|
613
|
-
* @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, status, createdAt</i>
|
|
612
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
613
|
+
* @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, commissionAgreementProductCode, status, createdAt</i>
|
|
614
614
|
* @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, status</i>
|
|
615
|
-
* @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>
|
|
615
|
+
* @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, commissionAgreementProduct<i>
|
|
616
616
|
* @param {*} [options] Override http request option.
|
|
617
617
|
* @throws {RequiredError}
|
|
618
618
|
*/
|
|
@@ -71,14 +71,13 @@ export declare const CommissionAgreementsApiAxiosParamCreator: (configuration?:
|
|
|
71
71
|
/**
|
|
72
72
|
* This will patch commission agreement status.
|
|
73
73
|
* @summary Update the commission agreement status
|
|
74
|
-
* @param {string} code
|
|
75
|
-
* @param {any} commissionAgreement Unique identifier for the object.
|
|
74
|
+
* @param {string} code Unique identifier for the object.
|
|
76
75
|
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
77
76
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
78
77
|
* @param {*} [options] Override http request option.
|
|
79
78
|
* @throws {RequiredError}
|
|
80
79
|
*/
|
|
81
|
-
patchCommissionAgreementStatus: (code: string,
|
|
80
|
+
patchCommissionAgreementStatus: (code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
81
|
/**
|
|
83
82
|
* This will update commission agreement.
|
|
84
83
|
* @summary Update the commission agreement
|
|
@@ -141,14 +140,13 @@ export declare const CommissionAgreementsApiFp: (configuration?: Configuration)
|
|
|
141
140
|
/**
|
|
142
141
|
* This will patch commission agreement status.
|
|
143
142
|
* @summary Update the commission agreement status
|
|
144
|
-
* @param {string} code
|
|
145
|
-
* @param {any} commissionAgreement Unique identifier for the object.
|
|
143
|
+
* @param {string} code Unique identifier for the object.
|
|
146
144
|
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
147
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
148
146
|
* @param {*} [options] Override http request option.
|
|
149
147
|
* @throws {RequiredError}
|
|
150
148
|
*/
|
|
151
|
-
patchCommissionAgreementStatus(code: string,
|
|
149
|
+
patchCommissionAgreementStatus(code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCommissionAgreementStatusResponseClass>>;
|
|
152
150
|
/**
|
|
153
151
|
* This will update commission agreement.
|
|
154
152
|
* @summary Update the commission agreement
|
|
@@ -211,14 +209,13 @@ export declare const CommissionAgreementsApiFactory: (configuration?: Configurat
|
|
|
211
209
|
/**
|
|
212
210
|
* This will patch commission agreement status.
|
|
213
211
|
* @summary Update the commission agreement status
|
|
214
|
-
* @param {string} code
|
|
215
|
-
* @param {any} commissionAgreement Unique identifier for the object.
|
|
212
|
+
* @param {string} code Unique identifier for the object.
|
|
216
213
|
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
217
214
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
218
215
|
* @param {*} [options] Override http request option.
|
|
219
216
|
* @throws {RequiredError}
|
|
220
217
|
*/
|
|
221
|
-
patchCommissionAgreementStatus(code: string,
|
|
218
|
+
patchCommissionAgreementStatus(code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCommissionAgreementStatusResponseClass>;
|
|
222
219
|
/**
|
|
223
220
|
* This will update commission agreement.
|
|
224
221
|
* @summary Update the commission agreement
|
|
@@ -355,17 +352,11 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
|
|
|
355
352
|
*/
|
|
356
353
|
export interface CommissionAgreementsApiPatchCommissionAgreementStatusRequest {
|
|
357
354
|
/**
|
|
358
|
-
*
|
|
355
|
+
* Unique identifier for the object.
|
|
359
356
|
* @type {string}
|
|
360
357
|
* @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
|
|
361
358
|
*/
|
|
362
359
|
readonly code: string;
|
|
363
|
-
/**
|
|
364
|
-
* Unique identifier for the object.
|
|
365
|
-
* @type {any}
|
|
366
|
-
* @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
|
|
367
|
-
*/
|
|
368
|
-
readonly commissionAgreement: any;
|
|
369
360
|
/**
|
|
370
361
|
*
|
|
371
362
|
* @type {PatchCommissionAgreementStatusRequestDto}
|
|
@@ -322,14 +322,13 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
|
|
|
322
322
|
/**
|
|
323
323
|
* This will patch commission agreement status.
|
|
324
324
|
* @summary Update the commission agreement status
|
|
325
|
-
* @param {string} code
|
|
326
|
-
* @param {any} commissionAgreement Unique identifier for the object.
|
|
325
|
+
* @param {string} code Unique identifier for the object.
|
|
327
326
|
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
328
327
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
329
328
|
* @param {*} [options] Override http request option.
|
|
330
329
|
* @throws {RequiredError}
|
|
331
330
|
*/
|
|
332
|
-
patchCommissionAgreementStatus: function (code,
|
|
331
|
+
patchCommissionAgreementStatus: function (code, patchCommissionAgreementStatusRequestDto, authorization, options) {
|
|
333
332
|
if (options === void 0) { options = {}; }
|
|
334
333
|
return __awaiter(_this, void 0, void 0, function () {
|
|
335
334
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -338,13 +337,10 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
|
|
|
338
337
|
case 0:
|
|
339
338
|
// verify required parameter 'code' is not null or undefined
|
|
340
339
|
(0, common_1.assertParamExists)('patchCommissionAgreementStatus', 'code', code);
|
|
341
|
-
// verify required parameter 'commissionAgreement' is not null or undefined
|
|
342
|
-
(0, common_1.assertParamExists)('patchCommissionAgreementStatus', 'commissionAgreement', commissionAgreement);
|
|
343
340
|
// verify required parameter 'patchCommissionAgreementStatusRequestDto' is not null or undefined
|
|
344
341
|
(0, common_1.assertParamExists)('patchCommissionAgreementStatus', 'patchCommissionAgreementStatusRequestDto', patchCommissionAgreementStatusRequestDto);
|
|
345
342
|
localVarPath = "/commissionservice/v1/agreements/{code}/status"
|
|
346
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)))
|
|
347
|
-
.replace("{".concat("commission agreement", "}"), encodeURIComponent(String(commissionAgreement)));
|
|
343
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
348
344
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
349
345
|
if (configuration) {
|
|
350
346
|
baseOptions = configuration.baseOptions;
|
|
@@ -533,19 +529,18 @@ var CommissionAgreementsApiFp = function (configuration) {
|
|
|
533
529
|
/**
|
|
534
530
|
* This will patch commission agreement status.
|
|
535
531
|
* @summary Update the commission agreement status
|
|
536
|
-
* @param {string} code
|
|
537
|
-
* @param {any} commissionAgreement Unique identifier for the object.
|
|
532
|
+
* @param {string} code Unique identifier for the object.
|
|
538
533
|
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
539
534
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
540
535
|
* @param {*} [options] Override http request option.
|
|
541
536
|
* @throws {RequiredError}
|
|
542
537
|
*/
|
|
543
|
-
patchCommissionAgreementStatus: function (code,
|
|
538
|
+
patchCommissionAgreementStatus: function (code, patchCommissionAgreementStatusRequestDto, authorization, options) {
|
|
544
539
|
return __awaiter(this, void 0, void 0, function () {
|
|
545
540
|
var localVarAxiosArgs;
|
|
546
541
|
return __generator(this, function (_a) {
|
|
547
542
|
switch (_a.label) {
|
|
548
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCommissionAgreementStatus(code,
|
|
543
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options)];
|
|
549
544
|
case 1:
|
|
550
545
|
localVarAxiosArgs = _a.sent();
|
|
551
546
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -639,15 +634,14 @@ var CommissionAgreementsApiFactory = function (configuration, basePath, axios) {
|
|
|
639
634
|
/**
|
|
640
635
|
* This will patch commission agreement status.
|
|
641
636
|
* @summary Update the commission agreement status
|
|
642
|
-
* @param {string} code
|
|
643
|
-
* @param {any} commissionAgreement Unique identifier for the object.
|
|
637
|
+
* @param {string} code Unique identifier for the object.
|
|
644
638
|
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
645
639
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
646
640
|
* @param {*} [options] Override http request option.
|
|
647
641
|
* @throws {RequiredError}
|
|
648
642
|
*/
|
|
649
|
-
patchCommissionAgreementStatus: function (code,
|
|
650
|
-
return localVarFp.patchCommissionAgreementStatus(code,
|
|
643
|
+
patchCommissionAgreementStatus: function (code, patchCommissionAgreementStatusRequestDto, authorization, options) {
|
|
644
|
+
return localVarFp.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
651
645
|
},
|
|
652
646
|
/**
|
|
653
647
|
* This will update commission agreement.
|
|
@@ -734,7 +728,7 @@ var CommissionAgreementsApi = /** @class */ (function (_super) {
|
|
|
734
728
|
*/
|
|
735
729
|
CommissionAgreementsApi.prototype.patchCommissionAgreementStatus = function (requestParameters, options) {
|
|
736
730
|
var _this = this;
|
|
737
|
-
return (0, exports.CommissionAgreementsApiFp)(this.configuration).patchCommissionAgreementStatus(requestParameters.code, requestParameters.
|
|
731
|
+
return (0, exports.CommissionAgreementsApiFp)(this.configuration).patchCommissionAgreementStatus(requestParameters.code, requestParameters.patchCommissionAgreementStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
738
732
|
};
|
|
739
733
|
/**
|
|
740
734
|
* This will update commission agreement.
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CommissionAgreementProductClass } from './commission-agreement-product-class';
|
|
12
13
|
import { CommissionAgreementRuleConfigDto } from './commission-agreement-rule-config-dto';
|
|
13
14
|
import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
|
|
14
15
|
/**
|
|
@@ -47,6 +48,18 @@ export interface CommissionAgreementRuleClass {
|
|
|
47
48
|
* @memberof CommissionAgreementRuleClass
|
|
48
49
|
*/
|
|
49
50
|
'status': CommissionAgreementRuleClassStatusEnum;
|
|
51
|
+
/**
|
|
52
|
+
* Code of the commission agreement product to create a rule for
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof CommissionAgreementRuleClass
|
|
55
|
+
*/
|
|
56
|
+
'commissionAgreementProductCode': string;
|
|
57
|
+
/**
|
|
58
|
+
* The commission agreement product
|
|
59
|
+
* @type {CommissionAgreementProductClass}
|
|
60
|
+
* @memberof CommissionAgreementRuleClass
|
|
61
|
+
*/
|
|
62
|
+
'commissionAgreementProduct': CommissionAgreementProductClass;
|
|
50
63
|
/**
|
|
51
64
|
* Timestamp when the commission agreement rule was created
|
|
52
65
|
* @type {string}
|
|
@@ -28,4 +28,10 @@ export interface CreateCommissionAgreementRuleRequestDto {
|
|
|
28
28
|
* @memberof CreateCommissionAgreementRuleRequestDto
|
|
29
29
|
*/
|
|
30
30
|
'config': CommissionAgreementRuleConfigDto;
|
|
31
|
+
/**
|
|
32
|
+
* Code of the commission agreement product to create a rule for
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateCommissionAgreementRuleRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'commissionAgreementProductCode': string;
|
|
31
37
|
}
|
|
@@ -34,6 +34,12 @@ export interface UpdateCommissionAgreementRuleRequestDto {
|
|
|
34
34
|
* @memberof UpdateCommissionAgreementRuleRequestDto
|
|
35
35
|
*/
|
|
36
36
|
'status': UpdateCommissionAgreementRuleRequestDtoStatusEnum;
|
|
37
|
+
/**
|
|
38
|
+
* Code of the commission agreement product to update a rule for
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof UpdateCommissionAgreementRuleRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'commissionAgreementProductCode': string;
|
|
37
43
|
}
|
|
38
44
|
export declare const UpdateCommissionAgreementRuleRequestDtoStatusEnum: {
|
|
39
45
|
readonly Active: "active";
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { CommissionAgreementProductClass } from './commission-agreement-product-class';
|
|
16
17
|
import { CommissionAgreementRuleConfigDto } from './commission-agreement-rule-config-dto';
|
|
17
18
|
import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
|
|
18
19
|
|
|
@@ -52,6 +53,18 @@ export interface CommissionAgreementRuleClass {
|
|
|
52
53
|
* @memberof CommissionAgreementRuleClass
|
|
53
54
|
*/
|
|
54
55
|
'status': CommissionAgreementRuleClassStatusEnum;
|
|
56
|
+
/**
|
|
57
|
+
* Code of the commission agreement product to create a rule for
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CommissionAgreementRuleClass
|
|
60
|
+
*/
|
|
61
|
+
'commissionAgreementProductCode': string;
|
|
62
|
+
/**
|
|
63
|
+
* The commission agreement product
|
|
64
|
+
* @type {CommissionAgreementProductClass}
|
|
65
|
+
* @memberof CommissionAgreementRuleClass
|
|
66
|
+
*/
|
|
67
|
+
'commissionAgreementProduct': CommissionAgreementProductClass;
|
|
55
68
|
/**
|
|
56
69
|
* Timestamp when the commission agreement rule was created
|
|
57
70
|
* @type {string}
|
|
@@ -33,5 +33,11 @@ export interface CreateCommissionAgreementRuleRequestDto {
|
|
|
33
33
|
* @memberof CreateCommissionAgreementRuleRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'config': CommissionAgreementRuleConfigDto;
|
|
36
|
+
/**
|
|
37
|
+
* Code of the commission agreement product to create a rule for
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateCommissionAgreementRuleRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'commissionAgreementProductCode': string;
|
|
36
42
|
}
|
|
37
43
|
|
|
@@ -39,6 +39,12 @@ export interface UpdateCommissionAgreementRuleRequestDto {
|
|
|
39
39
|
* @memberof UpdateCommissionAgreementRuleRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'status': UpdateCommissionAgreementRuleRequestDtoStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Code of the commission agreement product to update a rule for
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateCommissionAgreementRuleRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'commissionAgreementProductCode': string;
|
|
42
48
|
}
|
|
43
49
|
|
|
44
50
|
export const UpdateCommissionAgreementRuleRequestDtoStatusEnum = {
|