@emilgroup/commission-sdk-node 1.0.0-beta.13 → 1.0.0-beta.15

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.
@@ -16,6 +16,8 @@ configuration.ts
16
16
  git_push.sh
17
17
  index.ts
18
18
  models/commission-agreement-class.ts
19
+ models/commission-agreement-metadata-dto.ts
20
+ models/commission-agreement-metadata-partner-dto.ts
19
21
  models/commission-agreement-product-class.ts
20
22
  models/commission-agreement-rule-class.ts
21
23
  models/commission-agreement-rule-config-dto.ts
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.13 --save
20
+ npm install @emilgroup/commission-sdk-node@1.0.0-beta.15 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/commission-sdk-node@1.0.0-beta.13
24
+ yarn add @emilgroup/commission-sdk-node@1.0.0-beta.15
25
25
  ```
26
26
 
27
27
  And then you can import `CommissionApi`.
@@ -192,11 +192,11 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
192
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
193
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
194
194
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
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</i>
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
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>
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</i>
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}
202
202
  */
@@ -362,11 +362,11 @@ export const CommissionAgreementsApiFp = function(configuration?: Configuration)
362
362
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
363
363
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
364
364
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
365
- * @param {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</i>
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
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>
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</i>
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}
372
372
  */
@@ -436,11 +436,11 @@ export const CommissionAgreementsApiFactory = function (configuration?: Configur
436
436
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
437
437
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
438
438
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
439
- * @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</i>
439
+ * @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>
440
440
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
441
441
  * @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>
442
442
  * @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} [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</i>
443
+ * @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>
444
444
  * @param {*} [options] Override http request option.
445
445
  * @throws {RequiredError}
446
446
  */
@@ -559,7 +559,7 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
559
559
  readonly pageToken?: string
560
560
 
561
561
  /**
562
- * 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</i>
562
+ * 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>
563
563
  * @type {string}
564
564
  * @memberof CommissionAgreementsApiListCommissionAgreements
565
565
  */
@@ -587,7 +587,7 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
587
587
  readonly expand?: string
588
588
 
589
589
  /**
590
- * 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</i>
590
+ * 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>
591
591
  * @type {string}
592
592
  * @memberof CommissionAgreementsApiListCommissionAgreements
593
593
  */
@@ -57,11 +57,11 @@ export declare const CommissionAgreementsApiAxiosParamCreator: (configuration?:
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
58
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
59
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
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</i>
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
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>
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</i>
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}
67
67
  */
@@ -115,11 +115,11 @@ export declare const CommissionAgreementsApiFp: (configuration?: Configuration)
115
115
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
116
116
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
117
117
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
118
- * @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</i>
118
+ * @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>
119
119
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
120
120
  * @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>
121
121
  * @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} [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</i>
122
+ * @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>
123
123
  * @param {*} [options] Override http request option.
124
124
  * @throws {RequiredError}
125
125
  */
@@ -173,11 +173,11 @@ export declare const CommissionAgreementsApiFactory: (configuration?: Configurat
173
173
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
174
174
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
175
175
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
176
- * @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</i>
176
+ * @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>
177
177
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
178
178
  * @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>
179
179
  * @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>
180
- * @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</i>
180
+ * @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>
181
181
  * @param {*} [options] Override http request option.
182
182
  * @throws {RequiredError}
183
183
  */
@@ -280,7 +280,7 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
280
280
  */
281
281
  readonly pageToken?: string;
282
282
  /**
283
- * 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</i>
283
+ * 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>
284
284
  * @type {string}
285
285
  * @memberof CommissionAgreementsApiListCommissionAgreements
286
286
  */
@@ -304,7 +304,7 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
304
304
  */
305
305
  readonly expand?: string;
306
306
  /**
307
- * 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</i>
307
+ * 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>
308
308
  * @type {string}
309
309
  * @memberof CommissionAgreementsApiListCommissionAgreements
310
310
  */
@@ -253,11 +253,11 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
254
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
255
255
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
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</i>
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
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>
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</i>
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}
263
263
  */
@@ -448,11 +448,11 @@ var CommissionAgreementsApiFp = function (configuration) {
448
448
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
449
449
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
450
450
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
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</i>
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
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>
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</i>
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}
458
458
  */
@@ -540,11 +540,11 @@ var CommissionAgreementsApiFactory = function (configuration, basePath, axios) {
540
540
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
541
541
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
542
542
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
543
- * @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</i>
543
+ * @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>
544
544
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
545
545
  * @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>
546
546
  * @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} [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</i>
547
+ * @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>
548
548
  * @param {*} [options] Override http request option.
549
549
  * @throws {RequiredError}
550
550
  */
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CommissionAgreementMetadataDto } from './commission-agreement-metadata-dto';
12
13
  import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
13
14
  /**
14
15
  *
@@ -58,6 +59,12 @@ export interface CommissionAgreementClass {
58
59
  * @memberof CommissionAgreementClass
59
60
  */
60
61
  'billingFrequency'?: CommissionAgreementClassBillingFrequencyEnum;
62
+ /**
63
+ * Metadata associated with the commission agreement
64
+ * @type {CommissionAgreementMetadataDto}
65
+ * @memberof CommissionAgreementClass
66
+ */
67
+ 'metadata'?: CommissionAgreementMetadataDto;
61
68
  /**
62
69
  * Timestamp when the commission agreement was created
63
70
  * @type {string}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CommissionAgreementMetadataPartnerDto } from './commission-agreement-metadata-partner-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionAgreementMetadataDto
17
+ */
18
+ export interface CommissionAgreementMetadataDto {
19
+ /**
20
+ * Main partner of the commission agreement
21
+ * @type {CommissionAgreementMetadataPartnerDto}
22
+ * @memberof CommissionAgreementMetadataDto
23
+ */
24
+ 'mainPartner'?: CommissionAgreementMetadataPartnerDto;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CommissionAgreementMetadataPartnerDto
16
+ */
17
+ export interface CommissionAgreementMetadataPartnerDto {
18
+ /**
19
+ * Code of the partner
20
+ * @type {string}
21
+ * @memberof CommissionAgreementMetadataPartnerDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Name of the partner
26
+ * @type {string}
27
+ * @memberof CommissionAgreementMetadataPartnerDto
28
+ */
29
+ 'name': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CommissionAgreementMetadataDto } from './commission-agreement-metadata-dto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -39,6 +40,12 @@ export interface CreateCommissionAgreementRequestDto {
39
40
  * @memberof CreateCommissionAgreementRequestDto
40
41
  */
41
42
  'productSlugs': Array<string>;
43
+ /**
44
+ * Metadata associated with the commission agreement
45
+ * @type {CommissionAgreementMetadataDto}
46
+ * @memberof CreateCommissionAgreementRequestDto
47
+ */
48
+ 'metadata': CommissionAgreementMetadataDto;
42
49
  /**
43
50
  * Detailed description of the commission agreement terms and conditions
44
51
  * @type {string}
@@ -1,4 +1,6 @@
1
1
  export * from './commission-agreement-class';
2
+ export * from './commission-agreement-metadata-dto';
3
+ export * from './commission-agreement-metadata-partner-dto';
2
4
  export * from './commission-agreement-product-class';
3
5
  export * from './commission-agreement-rule-class';
4
6
  export * from './commission-agreement-rule-config-dto';
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./commission-agreement-class"), exports);
18
+ __exportStar(require("./commission-agreement-metadata-dto"), exports);
19
+ __exportStar(require("./commission-agreement-metadata-partner-dto"), exports);
18
20
  __exportStar(require("./commission-agreement-product-class"), exports);
19
21
  __exportStar(require("./commission-agreement-rule-class"), exports);
20
22
  __exportStar(require("./commission-agreement-rule-config-dto"), exports);
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { CommissionAgreementMetadataDto } from './commission-agreement-metadata-dto';
16
17
  import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
17
18
 
18
19
  /**
@@ -63,6 +64,12 @@ export interface CommissionAgreementClass {
63
64
  * @memberof CommissionAgreementClass
64
65
  */
65
66
  'billingFrequency'?: CommissionAgreementClassBillingFrequencyEnum;
67
+ /**
68
+ * Metadata associated with the commission agreement
69
+ * @type {CommissionAgreementMetadataDto}
70
+ * @memberof CommissionAgreementClass
71
+ */
72
+ 'metadata'?: CommissionAgreementMetadataDto;
66
73
  /**
67
74
  * Timestamp when the commission agreement was created
68
75
  * @type {string}
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { CommissionAgreementMetadataPartnerDto } from './commission-agreement-metadata-partner-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CommissionAgreementMetadataDto
22
+ */
23
+ export interface CommissionAgreementMetadataDto {
24
+ /**
25
+ * Main partner of the commission agreement
26
+ * @type {CommissionAgreementMetadataPartnerDto}
27
+ * @memberof CommissionAgreementMetadataDto
28
+ */
29
+ 'mainPartner'?: CommissionAgreementMetadataPartnerDto;
30
+ }
31
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CommissionAgreementMetadataPartnerDto
21
+ */
22
+ export interface CommissionAgreementMetadataPartnerDto {
23
+ /**
24
+ * Code of the partner
25
+ * @type {string}
26
+ * @memberof CommissionAgreementMetadataPartnerDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ * Name of the partner
31
+ * @type {string}
32
+ * @memberof CommissionAgreementMetadataPartnerDto
33
+ */
34
+ 'name': string;
35
+ }
36
+
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { CommissionAgreementMetadataDto } from './commission-agreement-metadata-dto';
16
17
 
17
18
  /**
18
19
  *
@@ -44,6 +45,12 @@ export interface CreateCommissionAgreementRequestDto {
44
45
  * @memberof CreateCommissionAgreementRequestDto
45
46
  */
46
47
  'productSlugs': Array<string>;
48
+ /**
49
+ * Metadata associated with the commission agreement
50
+ * @type {CommissionAgreementMetadataDto}
51
+ * @memberof CreateCommissionAgreementRequestDto
52
+ */
53
+ 'metadata': CommissionAgreementMetadataDto;
47
54
  /**
48
55
  * Detailed description of the commission agreement terms and conditions
49
56
  * @type {string}
package/models/index.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  export * from './commission-agreement-class';
2
+ export * from './commission-agreement-metadata-dto';
3
+ export * from './commission-agreement-metadata-partner-dto';
2
4
  export * from './commission-agreement-product-class';
3
5
  export * from './commission-agreement-rule-class';
4
6
  export * from './commission-agreement-rule-config-dto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk-node",
3
- "version": "1.0.0-beta.13",
3
+ "version": "1.0.0-beta.15",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [