@emilgroup/commission-sdk-node 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-node@1.0.0-beta.20 --save
20
+ npm install @emilgroup/commission-sdk-node@1.0.0-beta.21 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/commission-sdk-node@1.0.0-beta.20
24
+ yarn add @emilgroup/commission-sdk-node@1.0.0-beta.21
25
25
  ```
26
26
 
27
27
  And then you can import `CommissionApi`.
@@ -195,7 +195,7 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
195
195
  * @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>
196
196
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
197
197
  * @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>
198
- * @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>
198
+ * @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>
199
199
  * @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>
200
200
  * @param {*} [options] Override http request option.
201
201
  * @throws {RequiredError}
@@ -369,7 +369,7 @@ export const CommissionAgreementsApiFp = function(configuration?: Configuration)
369
369
  * @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>
370
370
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
371
371
  * @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>
372
- * @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>
372
+ * @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>
373
373
  * @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>
374
374
  * @param {*} [options] Override http request option.
375
375
  * @throws {RequiredError}
@@ -444,7 +444,7 @@ export const CommissionAgreementsApiFactory = function (configuration?: Configur
444
444
  * @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>
445
445
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
446
446
  * @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>
447
- * @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>
447
+ * @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>
448
448
  * @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>
449
449
  * @param {*} [options] Override http request option.
450
450
  * @throws {RequiredError}
@@ -586,7 +586,7 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
586
586
  readonly order?: string
587
587
 
588
588
  /**
589
- * 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>
589
+ * 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>
590
590
  * @type {string}
591
591
  * @memberof CommissionAgreementsApiListCommissionAgreements
592
592
  */
@@ -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
  */
@@ -256,7 +256,7 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
256
256
  * @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>
257
257
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
258
258
  * @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>
259
- * @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>
259
+ * @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>
260
260
  * @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>
261
261
  * @param {*} [options] Override http request option.
262
262
  * @throws {RequiredError}
@@ -455,7 +455,7 @@ var CommissionAgreementsApiFp = function (configuration) {
455
455
  * @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>
456
456
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
457
457
  * @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>
458
- * @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>
458
+ * @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>
459
459
  * @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>
460
460
  * @param {*} [options] Override http request option.
461
461
  * @throws {RequiredError}
@@ -548,7 +548,7 @@ var CommissionAgreementsApiFactory = function (configuration, basePath, axios) {
548
548
  * @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>
549
549
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
550
550
  * @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>
551
- * @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>
551
+ * @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>
552
552
  * @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>
553
553
  * @param {*} [options] Override http request option.
554
554
  * @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-node",
3
- "version": "1.0.0-beta.20",
3
+ "version": "1.0.0-beta.21",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [