@emilgroup/commission-sdk 1.0.0-beta.20 → 1.0.0-beta.22
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/.openapi-generator/FILES +10 -0
- package/README.md +2 -2
- package/api/commission-agreements-api.ts +4 -4
- package/api/commission-settlements-api.ts +800 -0
- package/api.ts +2 -0
- package/dist/api/commission-agreements-api.d.ts +4 -4
- package/dist/api/commission-agreements-api.js +3 -3
- package/dist/api/commission-settlements-api.d.ts +450 -0
- package/dist/api/commission-settlements-api.js +737 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/commission-agreement-product-class.d.ts +6 -7
- package/dist/models/commission-agreement-version-class.d.ts +7 -0
- package/dist/models/commission-settlement-class.d.ts +123 -0
- package/dist/models/commission-settlement-class.js +34 -0
- package/dist/models/create-commission-settlement-request-dto.d.ts +36 -0
- package/dist/models/create-commission-settlement-request-dto.js +21 -0
- package/dist/models/create-commission-settlement-response-class.d.ts +25 -0
- package/dist/models/create-commission-settlement-response-class.js +15 -0
- package/dist/models/get-commission-settlement-response-class.d.ts +25 -0
- package/dist/models/get-commission-settlement-response-class.js +15 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-commission-settlements-response-class.d.ts +43 -0
- package/dist/models/list-commission-settlements-response-class.js +15 -0
- package/dist/models/publish-commission-settlements-request-dto.d.ts +24 -0
- package/dist/models/publish-commission-settlements-request-dto.js +15 -0
- package/dist/models/publish-commission-settlements-response-class.d.ts +25 -0
- package/dist/models/publish-commission-settlements-response-class.js +15 -0
- package/dist/models/update-commission-settlement-request-dto.d.ts +42 -0
- package/dist/models/update-commission-settlement-request-dto.js +21 -0
- package/dist/models/update-commission-settlement-response-class.d.ts +25 -0
- package/dist/models/update-commission-settlement-response-class.js +15 -0
- package/models/commission-agreement-product-class.ts +6 -7
- package/models/commission-agreement-version-class.ts +7 -0
- package/models/commission-settlement-class.ts +133 -0
- package/models/create-commission-settlement-request-dto.ts +45 -0
- package/models/create-commission-settlement-response-class.ts +31 -0
- package/models/get-commission-settlement-response-class.ts +31 -0
- package/models/index.ts +9 -0
- package/models/list-commission-settlements-response-class.ts +49 -0
- package/models/publish-commission-settlements-request-dto.ts +30 -0
- package/models/publish-commission-settlements-response-class.ts +31 -0
- package/models/update-commission-settlement-request-dto.ts +51 -0
- package/models/update-commission-settlement-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -8,6 +8,7 @@ api/commission-agreement-rules-api.ts
|
|
|
8
8
|
api/commission-agreement-versions-api.ts
|
|
9
9
|
api/commission-agreements-api.ts
|
|
10
10
|
api/commission-recipients-api.ts
|
|
11
|
+
api/commission-settlements-api.ts
|
|
11
12
|
api/commissions-api.ts
|
|
12
13
|
api/default-api.ts
|
|
13
14
|
base.ts
|
|
@@ -28,6 +29,7 @@ models/commission-conditions-dto.ts
|
|
|
28
29
|
models/commission-config-dto.ts
|
|
29
30
|
models/commission-item-class.ts
|
|
30
31
|
models/commission-recipient-class.ts
|
|
32
|
+
models/commission-settlement-class.ts
|
|
31
33
|
models/create-commission-agreement-product-request-dto.ts
|
|
32
34
|
models/create-commission-agreement-product-response-class.ts
|
|
33
35
|
models/create-commission-agreement-request-dto.ts
|
|
@@ -41,6 +43,8 @@ models/create-commission-recipient-request-dto.ts
|
|
|
41
43
|
models/create-commission-recipient-response-class.ts
|
|
42
44
|
models/create-commission-request-dto.ts
|
|
43
45
|
models/create-commission-response-class.ts
|
|
46
|
+
models/create-commission-settlement-request-dto.ts
|
|
47
|
+
models/create-commission-settlement-response-class.ts
|
|
44
48
|
models/evaluate-commission-agreement-rule-request-dto.ts
|
|
45
49
|
models/evaluate-commission-agreement-rule-response-class.ts
|
|
46
50
|
models/evaluated-commission-class.ts
|
|
@@ -50,6 +54,7 @@ models/get-commission-agreement-rule-response-class.ts
|
|
|
50
54
|
models/get-commission-agreement-version-response-class.ts
|
|
51
55
|
models/get-commission-recipient-response-class.ts
|
|
52
56
|
models/get-commission-response-class.ts
|
|
57
|
+
models/get-commission-settlement-response-class.ts
|
|
53
58
|
models/index.ts
|
|
54
59
|
models/inline-response200.ts
|
|
55
60
|
models/inline-response503.ts
|
|
@@ -58,7 +63,10 @@ models/list-commission-agreement-rules-response-class.ts
|
|
|
58
63
|
models/list-commission-agreement-versions-response-class.ts
|
|
59
64
|
models/list-commission-agreements-response-class.ts
|
|
60
65
|
models/list-commission-recipients-response-class.ts
|
|
66
|
+
models/list-commission-settlements-response-class.ts
|
|
61
67
|
models/list-commissions-response-class.ts
|
|
68
|
+
models/publish-commission-settlements-request-dto.ts
|
|
69
|
+
models/publish-commission-settlements-response-class.ts
|
|
62
70
|
models/update-commission-agreement-product-request-dto.ts
|
|
63
71
|
models/update-commission-agreement-product-response-class.ts
|
|
64
72
|
models/update-commission-agreement-request-dto.ts
|
|
@@ -69,5 +77,7 @@ models/update-commission-recipient-request-dto.ts
|
|
|
69
77
|
models/update-commission-recipient-response-class.ts
|
|
70
78
|
models/update-commission-request-dto.ts
|
|
71
79
|
models/update-commission-response-class.ts
|
|
80
|
+
models/update-commission-settlement-request-dto.ts
|
|
81
|
+
models/update-commission-settlement-response-class.ts
|
|
72
82
|
package.json
|
|
73
83
|
tsconfig.json
|
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
|
+
npm install @emilgroup/commission-sdk@1.0.0-beta.22 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk@1.0.0-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk@1.0.0-beta.22
|
|
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
|
*/
|