@emilgroup/commission-sdk 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 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@1.0.0-beta.33 --save
20
+ npm install @emilgroup/commission-sdk@1.0.0-beta.35 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/commission-sdk@1.0.0-beta.33
24
+ yarn add @emilgroup/commission-sdk@1.0.0-beta.35
25
25
  ```
26
26
 
27
27
  And then you can import `CommissionApi`.
@@ -237,10 +237,10 @@ export const CommissionAgreementRulesApiAxiosParamCreator = function (configurat
237
237
  * Retrieves a list of commission agreement rules.
238
238
  * @summary List commission agreement rules
239
239
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
240
- * @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>
241
- * @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>
240
+ * @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>
241
+ * @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>
242
242
  * @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>
243
- * @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>
243
+ * @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>
244
244
  * @param {*} [options] Override http request option.
245
245
  * @throws {RequiredError}
246
246
  */
@@ -408,10 +408,10 @@ export const CommissionAgreementRulesApiFp = function(configuration?: Configurat
408
408
  * Retrieves a list of commission agreement rules.
409
409
  * @summary List commission agreement rules
410
410
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
411
- * @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>
412
- * @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>
411
+ * @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>
412
+ * @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>
413
413
  * @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>
414
- * @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>
414
+ * @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>
415
415
  * @param {*} [options] Override http request option.
416
416
  * @throws {RequiredError}
417
417
  */
@@ -491,10 +491,10 @@ export const CommissionAgreementRulesApiFactory = function (configuration?: Conf
491
491
  * Retrieves a list of commission agreement rules.
492
492
  * @summary List commission agreement rules
493
493
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
494
- * @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>
495
- * @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>
494
+ * @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>
495
+ * @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>
496
496
  * @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>
497
- * @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>
497
+ * @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>
498
498
  * @param {*} [options] Override http request option.
499
499
  * @throws {RequiredError}
500
500
  */
@@ -621,14 +621,14 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
621
621
  readonly authorization?: string
622
622
 
623
623
  /**
624
- * 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>
624
+ * 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>
625
625
  * @type {string}
626
626
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
627
627
  */
628
628
  readonly filter?: string
629
629
 
630
630
  /**
631
- * 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>
631
+ * 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>
632
632
  * @type {string}
633
633
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
634
634
  */
@@ -642,7 +642,7 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
642
642
  readonly order?: string
643
643
 
644
644
  /**
645
- * 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>
645
+ * 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>
646
646
  * @type {string}
647
647
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
648
648
  */
@@ -265,23 +265,19 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
265
265
  /**
266
266
  * This will patch commission agreement status.
267
267
  * @summary Update the commission agreement status
268
- * @param {string} code
269
- * @param {any} commissionAgreement Unique identifier for the object.
268
+ * @param {string} code Unique identifier for the object.
270
269
  * @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
271
270
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
272
271
  * @param {*} [options] Override http request option.
273
272
  * @throws {RequiredError}
274
273
  */
275
- patchCommissionAgreementStatus: async (code: string, commissionAgreement: any, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
274
+ patchCommissionAgreementStatus: async (code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
276
275
  // verify required parameter 'code' is not null or undefined
277
276
  assertParamExists('patchCommissionAgreementStatus', 'code', code)
278
- // verify required parameter 'commissionAgreement' is not null or undefined
279
- assertParamExists('patchCommissionAgreementStatus', 'commissionAgreement', commissionAgreement)
280
277
  // verify required parameter 'patchCommissionAgreementStatusRequestDto' is not null or undefined
281
278
  assertParamExists('patchCommissionAgreementStatus', 'patchCommissionAgreementStatusRequestDto', patchCommissionAgreementStatusRequestDto)
282
279
  const localVarPath = `/commissionservice/v1/agreements/{code}/status`
283
- .replace(`{${"code"}}`, encodeURIComponent(String(code)))
284
- .replace(`{${"commission agreement"}}`, encodeURIComponent(String(commissionAgreement)));
280
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
285
281
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
286
282
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
287
283
  let baseOptions;
@@ -436,15 +432,14 @@ export const CommissionAgreementsApiFp = function(configuration?: Configuration)
436
432
  /**
437
433
  * This will patch commission agreement status.
438
434
  * @summary Update the commission agreement status
439
- * @param {string} code
440
- * @param {any} commissionAgreement Unique identifier for the object.
435
+ * @param {string} code Unique identifier for the object.
441
436
  * @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
442
437
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
443
438
  * @param {*} [options] Override http request option.
444
439
  * @throws {RequiredError}
445
440
  */
446
- async patchCommissionAgreementStatus(code: string, commissionAgreement: any, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCommissionAgreementStatusResponseClass>> {
447
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchCommissionAgreementStatus(code, commissionAgreement, patchCommissionAgreementStatusRequestDto, authorization, options);
441
+ async patchCommissionAgreementStatus(code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCommissionAgreementStatusResponseClass>> {
442
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options);
448
443
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
449
444
  },
450
445
  /**
@@ -524,15 +519,14 @@ export const CommissionAgreementsApiFactory = function (configuration?: Configur
524
519
  /**
525
520
  * This will patch commission agreement status.
526
521
  * @summary Update the commission agreement status
527
- * @param {string} code
528
- * @param {any} commissionAgreement Unique identifier for the object.
522
+ * @param {string} code Unique identifier for the object.
529
523
  * @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
530
524
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
531
525
  * @param {*} [options] Override http request option.
532
526
  * @throws {RequiredError}
533
527
  */
534
- patchCommissionAgreementStatus(code: string, commissionAgreement: any, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCommissionAgreementStatusResponseClass> {
535
- return localVarFp.patchCommissionAgreementStatus(code, commissionAgreement, patchCommissionAgreementStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
528
+ patchCommissionAgreementStatus(code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCommissionAgreementStatusResponseClass> {
529
+ return localVarFp.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
536
530
  },
537
531
  /**
538
532
  * This will update commission agreement.
@@ -689,19 +683,12 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
689
683
  */
690
684
  export interface CommissionAgreementsApiPatchCommissionAgreementStatusRequest {
691
685
  /**
692
- *
686
+ * Unique identifier for the object.
693
687
  * @type {string}
694
688
  * @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
695
689
  */
696
690
  readonly code: string
697
691
 
698
- /**
699
- * Unique identifier for the object.
700
- * @type {any}
701
- * @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
702
- */
703
- readonly commissionAgreement: any
704
-
705
692
  /**
706
693
  *
707
694
  * @type {PatchCommissionAgreementStatusRequestDto}
@@ -809,7 +796,7 @@ export class CommissionAgreementsApi extends BaseAPI {
809
796
  * @memberof CommissionAgreementsApi
810
797
  */
811
798
  public patchCommissionAgreementStatus(requestParameters: CommissionAgreementsApiPatchCommissionAgreementStatusRequest, options?: AxiosRequestConfig) {
812
- return CommissionAgreementsApiFp(this.configuration).patchCommissionAgreementStatus(requestParameters.code, requestParameters.commissionAgreement, requestParameters.patchCommissionAgreementStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
799
+ return CommissionAgreementsApiFp(this.configuration).patchCommissionAgreementStatus(requestParameters.code, requestParameters.patchCommissionAgreementStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
813
800
  }
814
801
 
815
802
  /**
@@ -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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
70
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
69
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
70
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
135
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
134
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
135
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
200
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
199
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
200
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
313
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
319
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
332
332
  * @type {string}
333
333
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
334
334
  */
@@ -296,10 +296,10 @@ var CommissionAgreementRulesApiAxiosParamCreator = function (configuration) {
296
296
  * Retrieves a list of commission agreement rules.
297
297
  * @summary List commission agreement rules
298
298
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
299
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
300
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
299
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
300
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
301
301
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
302
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
302
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
303
303
  * @param {*} [options] Override http request option.
304
304
  * @throws {RequiredError}
305
305
  */
@@ -504,10 +504,10 @@ var CommissionAgreementRulesApiFp = function (configuration) {
504
504
  * Retrieves a list of commission agreement rules.
505
505
  * @summary List commission agreement rules
506
506
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
507
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
508
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
507
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
508
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
509
509
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
510
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
510
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
511
511
  * @param {*} [options] Override http request option.
512
512
  * @throws {RequiredError}
513
513
  */
@@ -605,10 +605,10 @@ var CommissionAgreementRulesApiFactory = function (configuration, basePath, axio
605
605
  * Retrieves a list of commission agreement rules.
606
606
  * @summary List commission agreement rules
607
607
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
608
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
609
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, status, createdAt&lt;/i&gt;
608
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
609
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
610
610
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
611
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
611
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
612
612
  * @param {*} [options] Override http request option.
613
613
  * @throws {RequiredError}
614
614
  */
@@ -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, commissionAgreement: any, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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, commissionAgreement: any, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCommissionAgreementStatusResponseClass>>;
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, commissionAgreement: any, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCommissionAgreementStatusResponseClass>;
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}
@@ -318,14 +318,13 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
318
318
  /**
319
319
  * This will patch commission agreement status.
320
320
  * @summary Update the commission agreement status
321
- * @param {string} code
322
- * @param {any} commissionAgreement Unique identifier for the object.
321
+ * @param {string} code Unique identifier for the object.
323
322
  * @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
324
323
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
325
324
  * @param {*} [options] Override http request option.
326
325
  * @throws {RequiredError}
327
326
  */
328
- patchCommissionAgreementStatus: function (code, commissionAgreement, patchCommissionAgreementStatusRequestDto, authorization, options) {
327
+ patchCommissionAgreementStatus: function (code, patchCommissionAgreementStatusRequestDto, authorization, options) {
329
328
  if (options === void 0) { options = {}; }
330
329
  return __awaiter(_this, void 0, void 0, function () {
331
330
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -334,13 +333,10 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
334
333
  case 0:
335
334
  // verify required parameter 'code' is not null or undefined
336
335
  (0, common_1.assertParamExists)('patchCommissionAgreementStatus', 'code', code);
337
- // verify required parameter 'commissionAgreement' is not null or undefined
338
- (0, common_1.assertParamExists)('patchCommissionAgreementStatus', 'commissionAgreement', commissionAgreement);
339
336
  // verify required parameter 'patchCommissionAgreementStatusRequestDto' is not null or undefined
340
337
  (0, common_1.assertParamExists)('patchCommissionAgreementStatus', 'patchCommissionAgreementStatusRequestDto', patchCommissionAgreementStatusRequestDto);
341
338
  localVarPath = "/commissionservice/v1/agreements/{code}/status"
342
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)))
343
- .replace("{".concat("commission agreement", "}"), encodeURIComponent(String(commissionAgreement)));
339
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
344
340
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
345
341
  if (configuration) {
346
342
  baseOptions = configuration.baseOptions;
@@ -529,19 +525,18 @@ var CommissionAgreementsApiFp = function (configuration) {
529
525
  /**
530
526
  * This will patch commission agreement status.
531
527
  * @summary Update the commission agreement status
532
- * @param {string} code
533
- * @param {any} commissionAgreement Unique identifier for the object.
528
+ * @param {string} code Unique identifier for the object.
534
529
  * @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
535
530
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
536
531
  * @param {*} [options] Override http request option.
537
532
  * @throws {RequiredError}
538
533
  */
539
- patchCommissionAgreementStatus: function (code, commissionAgreement, patchCommissionAgreementStatusRequestDto, authorization, options) {
534
+ patchCommissionAgreementStatus: function (code, patchCommissionAgreementStatusRequestDto, authorization, options) {
540
535
  return __awaiter(this, void 0, void 0, function () {
541
536
  var localVarAxiosArgs;
542
537
  return __generator(this, function (_a) {
543
538
  switch (_a.label) {
544
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCommissionAgreementStatus(code, commissionAgreement, patchCommissionAgreementStatusRequestDto, authorization, options)];
539
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options)];
545
540
  case 1:
546
541
  localVarAxiosArgs = _a.sent();
547
542
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -635,15 +630,14 @@ var CommissionAgreementsApiFactory = function (configuration, basePath, axios) {
635
630
  /**
636
631
  * This will patch commission agreement status.
637
632
  * @summary Update the commission agreement status
638
- * @param {string} code
639
- * @param {any} commissionAgreement Unique identifier for the object.
633
+ * @param {string} code Unique identifier for the object.
640
634
  * @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
641
635
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
642
636
  * @param {*} [options] Override http request option.
643
637
  * @throws {RequiredError}
644
638
  */
645
- patchCommissionAgreementStatus: function (code, commissionAgreement, patchCommissionAgreementStatusRequestDto, authorization, options) {
646
- return localVarFp.patchCommissionAgreementStatus(code, commissionAgreement, patchCommissionAgreementStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
639
+ patchCommissionAgreementStatus: function (code, patchCommissionAgreementStatusRequestDto, authorization, options) {
640
+ return localVarFp.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
647
641
  },
648
642
  /**
649
643
  * This will update commission agreement.
@@ -730,7 +724,7 @@ var CommissionAgreementsApi = /** @class */ (function (_super) {
730
724
  */
731
725
  CommissionAgreementsApi.prototype.patchCommissionAgreementStatus = function (requestParameters, options) {
732
726
  var _this = this;
733
- return (0, exports.CommissionAgreementsApiFp)(this.configuration).patchCommissionAgreementStatus(requestParameters.code, requestParameters.commissionAgreement, requestParameters.patchCommissionAgreementStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
727
+ return (0, exports.CommissionAgreementsApiFp)(this.configuration).patchCommissionAgreementStatus(requestParameters.code, requestParameters.patchCommissionAgreementStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
734
728
  };
735
729
  /**
736
730
  * 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 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk",
3
- "version": "1.0.0-beta.33",
3
+ "version": "1.0.0-beta.35",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [