@emilgroup/commission-sdk 1.0.0-beta.20 → 1.0.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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.20 --save
20
+ npm install @emilgroup/commission-sdk@1.0.0-beta.21 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/commission-sdk@1.0.0-beta.20
24
+ yarn add @emilgroup/commission-sdk@1.0.0-beta.21
25
25
  ```
26
26
 
27
27
  And then you can import `CommissionApi`.
@@ -191,7 +191,7 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
191
191
  * @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, createdAt, mainPartnerCode</i>
192
192
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
193
193
  * @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</i>
194
- * @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: versions<i>
194
+ * @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: versions, products<i>
195
195
  * @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, createdAt, mainPartnerCode</i>
196
196
  * @param {*} [options] Override http request option.
197
197
  * @throws {RequiredError}
@@ -365,7 +365,7 @@ export const CommissionAgreementsApiFp = function(configuration?: Configuration)
365
365
  * @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, createdAt, mainPartnerCode</i>
366
366
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
367
367
  * @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</i>
368
- * @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: versions<i>
368
+ * @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: versions, products<i>
369
369
  * @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, createdAt, mainPartnerCode</i>
370
370
  * @param {*} [options] Override http request option.
371
371
  * @throws {RequiredError}
@@ -440,7 +440,7 @@ export const CommissionAgreementsApiFactory = function (configuration?: Configur
440
440
  * @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, createdAt, mainPartnerCode</i>
441
441
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
442
442
  * @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</i>
443
- * @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: versions<i>
443
+ * @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: versions, products<i>
444
444
  * @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, createdAt, mainPartnerCode</i>
445
445
  * @param {*} [options] Override http request option.
446
446
  * @throws {RequiredError}
@@ -582,7 +582,7 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
582
582
  readonly order?: string
583
583
 
584
584
  /**
585
- * 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: versions<i>
585
+ * 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: versions, products<i>
586
586
  * @type {string}
587
587
  * @memberof CommissionAgreementsApiListCommissionAgreements
588
588
  */
@@ -60,7 +60,7 @@ export declare const CommissionAgreementsApiAxiosParamCreator: (configuration?:
60
60
  * @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, createdAt, mainPartnerCode</i>
61
61
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
62
62
  * @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</i>
63
- * @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: versions<i>
63
+ * @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: versions, products<i>
64
64
  * @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, createdAt, mainPartnerCode</i>
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
@@ -119,7 +119,7 @@ export declare const CommissionAgreementsApiFp: (configuration?: Configuration)
119
119
  * @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, createdAt, mainPartnerCode</i>
120
120
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
121
121
  * @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</i>
122
- * @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: versions<i>
122
+ * @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: versions, products<i>
123
123
  * @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, createdAt, mainPartnerCode</i>
124
124
  * @param {*} [options] Override http request option.
125
125
  * @throws {RequiredError}
@@ -178,7 +178,7 @@ export declare const CommissionAgreementsApiFactory: (configuration?: Configurat
178
178
  * @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, createdAt, mainPartnerCode</i>
179
179
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
180
180
  * @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</i>
181
- * @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: versions<i>
181
+ * @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: versions, products<i>
182
182
  * @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, createdAt, mainPartnerCode</i>
183
183
  * @param {*} [options] Override http request option.
184
184
  * @throws {RequiredError}
@@ -301,7 +301,7 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
301
301
  */
302
302
  readonly order?: string;
303
303
  /**
304
- * 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: versions<i>
304
+ * 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: versions, products<i>
305
305
  * @type {string}
306
306
  * @memberof CommissionAgreementsApiListCommissionAgreements
307
307
  */
@@ -252,7 +252,7 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
252
252
  * @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, createdAt, mainPartnerCode</i>
253
253
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
254
254
  * @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</i>
255
- * @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: versions<i>
255
+ * @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: versions, products<i>
256
256
  * @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, createdAt, mainPartnerCode</i>
257
257
  * @param {*} [options] Override http request option.
258
258
  * @throws {RequiredError}
@@ -451,7 +451,7 @@ var CommissionAgreementsApiFp = function (configuration) {
451
451
  * @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, createdAt, mainPartnerCode</i>
452
452
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
453
453
  * @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</i>
454
- * @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: versions<i>
454
+ * @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: versions, products<i>
455
455
  * @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, createdAt, mainPartnerCode</i>
456
456
  * @param {*} [options] Override http request option.
457
457
  * @throws {RequiredError}
@@ -544,7 +544,7 @@ var CommissionAgreementsApiFactory = function (configuration, basePath, axios) {
544
544
  * @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, createdAt, mainPartnerCode</i>
545
545
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
546
546
  * @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</i>
547
- * @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: versions<i>
547
+ * @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: versions, products<i>
548
548
  * @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, createdAt, mainPartnerCode</i>
549
549
  * @param {*} [options] Override http request option.
550
550
  * @throws {RequiredError}
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -22,12 +21,6 @@ export interface CommissionAgreementProductClass {
22
21
  * @memberof CommissionAgreementProductClass
23
22
  */
24
23
  'id': number;
25
- /**
26
- * The parent commission agreement version
27
- * @type {CommissionAgreementVersionClass}
28
- * @memberof CommissionAgreementProductClass
29
- */
30
- 'version': CommissionAgreementVersionClass;
31
24
  /**
32
25
  * Product slug identifier
33
26
  * @type {string}
@@ -40,6 +33,12 @@ export interface CommissionAgreementProductClass {
40
33
  * @memberof CommissionAgreementProductClass
41
34
  */
42
35
  'code': string;
36
+ /**
37
+ * The parent commission agreement version code
38
+ * @type {string}
39
+ * @memberof CommissionAgreementProductClass
40
+ */
41
+ 'commissionAgreementVersionCode': string;
43
42
  /**
44
43
  * Status of the commission agreement product
45
44
  * @type {string}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { CommissionAgreementClass } from './commission-agreement-class';
13
+ import { CommissionAgreementProductClass } from './commission-agreement-product-class';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -28,6 +29,12 @@ export interface CommissionAgreementVersionClass {
28
29
  * @memberof CommissionAgreementVersionClass
29
30
  */
30
31
  'agreement': CommissionAgreementClass;
32
+ /**
33
+ * Array of commission agreement products
34
+ * @type {Array<CommissionAgreementProductClass>}
35
+ * @memberof CommissionAgreementVersionClass
36
+ */
37
+ 'products'?: Array<CommissionAgreementProductClass>;
31
38
  /**
32
39
  * Unique code identifier for the commission agreement version, auto-generated on creation
33
40
  * @type {string}
@@ -13,7 +13,6 @@
13
13
  */
14
14
 
15
15
 
16
- import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
17
16
 
18
17
  /**
19
18
  *
@@ -27,12 +26,6 @@ export interface CommissionAgreementProductClass {
27
26
  * @memberof CommissionAgreementProductClass
28
27
  */
29
28
  'id': number;
30
- /**
31
- * The parent commission agreement version
32
- * @type {CommissionAgreementVersionClass}
33
- * @memberof CommissionAgreementProductClass
34
- */
35
- 'version': CommissionAgreementVersionClass;
36
29
  /**
37
30
  * Product slug identifier
38
31
  * @type {string}
@@ -45,6 +38,12 @@ export interface CommissionAgreementProductClass {
45
38
  * @memberof CommissionAgreementProductClass
46
39
  */
47
40
  'code': string;
41
+ /**
42
+ * The parent commission agreement version code
43
+ * @type {string}
44
+ * @memberof CommissionAgreementProductClass
45
+ */
46
+ 'commissionAgreementVersionCode': string;
48
47
  /**
49
48
  * Status of the commission agreement product
50
49
  * @type {string}
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import { CommissionAgreementClass } from './commission-agreement-class';
17
+ import { CommissionAgreementProductClass } from './commission-agreement-product-class';
17
18
 
18
19
  /**
19
20
  *
@@ -33,6 +34,12 @@ export interface CommissionAgreementVersionClass {
33
34
  * @memberof CommissionAgreementVersionClass
34
35
  */
35
36
  'agreement': CommissionAgreementClass;
37
+ /**
38
+ * Array of commission agreement products
39
+ * @type {Array<CommissionAgreementProductClass>}
40
+ * @memberof CommissionAgreementVersionClass
41
+ */
42
+ 'products'?: Array<CommissionAgreementProductClass>;
36
43
  /**
37
44
  * Unique code identifier for the commission agreement version, auto-generated on creation
38
45
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk",
3
- "version": "1.0.0-beta.20",
3
+ "version": "1.0.0-beta.21",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [