@emilgroup/commission-sdk-node 1.0.0-beta.39 → 1.0.0-beta.40
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 +2 -2
- package/dist/models/commission-class.d.ts +6 -0
- package/dist/models/create-commission-settlement-request-dto.d.ts +20 -0
- package/dist/models/create-commission-settlement-request-dto.js +14 -1
- package/models/commission-class.ts +6 -0
- package/models/create-commission-settlement-request-dto.ts +21 -0
- package/package.json +1 -1
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
|
+
npm install @emilgroup/commission-sdk-node@1.0.0-beta.40 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.40
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -53,6 +53,12 @@ export interface CommissionClass {
|
|
|
53
53
|
* @memberof CommissionClass
|
|
54
54
|
*/
|
|
55
55
|
'commissionAgreementVersionCode': string;
|
|
56
|
+
/**
|
|
57
|
+
* The number of the commission agreement being used for this commission
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CommissionClass
|
|
60
|
+
*/
|
|
61
|
+
'commissionAgreementNumber': string;
|
|
56
62
|
/**
|
|
57
63
|
* The unique code or identifier of the partner associated with this commission
|
|
58
64
|
* @type {string}
|
|
@@ -27,6 +27,12 @@ export interface CreateCommissionSettlementRequestDto {
|
|
|
27
27
|
* @memberof CreateCommissionSettlementRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'status'?: CreateCommissionSettlementRequestDtoStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
* The currency of the commission settlement
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateCommissionSettlementRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'currency'?: CreateCommissionSettlementRequestDtoCurrencyEnum;
|
|
30
36
|
}
|
|
31
37
|
export declare const CreateCommissionSettlementRequestDtoStatusEnum: {
|
|
32
38
|
readonly Draft: "draft";
|
|
@@ -35,3 +41,17 @@ export declare const CreateCommissionSettlementRequestDtoStatusEnum: {
|
|
|
35
41
|
readonly Closed: "closed";
|
|
36
42
|
};
|
|
37
43
|
export type CreateCommissionSettlementRequestDtoStatusEnum = typeof CreateCommissionSettlementRequestDtoStatusEnum[keyof typeof CreateCommissionSettlementRequestDtoStatusEnum];
|
|
44
|
+
export declare const CreateCommissionSettlementRequestDtoCurrencyEnum: {
|
|
45
|
+
readonly Eur: "EUR";
|
|
46
|
+
readonly Usd: "USD";
|
|
47
|
+
readonly Gbp: "GBP";
|
|
48
|
+
readonly Chf: "CHF";
|
|
49
|
+
readonly Pln: "PLN";
|
|
50
|
+
readonly Aud: "AUD";
|
|
51
|
+
readonly Cad: "CAD";
|
|
52
|
+
readonly Ddk: "DDK";
|
|
53
|
+
readonly Huf: "HUF";
|
|
54
|
+
readonly Nok: "NOK";
|
|
55
|
+
readonly Sek: "SEK";
|
|
56
|
+
};
|
|
57
|
+
export type CreateCommissionSettlementRequestDtoCurrencyEnum = typeof CreateCommissionSettlementRequestDtoCurrencyEnum[keyof typeof CreateCommissionSettlementRequestDtoCurrencyEnum];
|
|
@@ -13,10 +13,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateCommissionSettlementRequestDtoStatusEnum = void 0;
|
|
16
|
+
exports.CreateCommissionSettlementRequestDtoCurrencyEnum = exports.CreateCommissionSettlementRequestDtoStatusEnum = void 0;
|
|
17
17
|
exports.CreateCommissionSettlementRequestDtoStatusEnum = {
|
|
18
18
|
Draft: 'draft',
|
|
19
19
|
Processing: 'processing',
|
|
20
20
|
Published: 'published',
|
|
21
21
|
Closed: 'closed'
|
|
22
22
|
};
|
|
23
|
+
exports.CreateCommissionSettlementRequestDtoCurrencyEnum = {
|
|
24
|
+
Eur: 'EUR',
|
|
25
|
+
Usd: 'USD',
|
|
26
|
+
Gbp: 'GBP',
|
|
27
|
+
Chf: 'CHF',
|
|
28
|
+
Pln: 'PLN',
|
|
29
|
+
Aud: 'AUD',
|
|
30
|
+
Cad: 'CAD',
|
|
31
|
+
Ddk: 'DDK',
|
|
32
|
+
Huf: 'HUF',
|
|
33
|
+
Nok: 'NOK',
|
|
34
|
+
Sek: 'SEK'
|
|
35
|
+
};
|
|
@@ -58,6 +58,12 @@ export interface CommissionClass {
|
|
|
58
58
|
* @memberof CommissionClass
|
|
59
59
|
*/
|
|
60
60
|
'commissionAgreementVersionCode': string;
|
|
61
|
+
/**
|
|
62
|
+
* The number of the commission agreement being used for this commission
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CommissionClass
|
|
65
|
+
*/
|
|
66
|
+
'commissionAgreementNumber': string;
|
|
61
67
|
/**
|
|
62
68
|
* The unique code or identifier of the partner associated with this commission
|
|
63
69
|
* @type {string}
|
|
@@ -32,6 +32,12 @@ export interface CreateCommissionSettlementRequestDto {
|
|
|
32
32
|
* @memberof CreateCommissionSettlementRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'status'?: CreateCommissionSettlementRequestDtoStatusEnum;
|
|
35
|
+
/**
|
|
36
|
+
* The currency of the commission settlement
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateCommissionSettlementRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'currency'?: CreateCommissionSettlementRequestDtoCurrencyEnum;
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
export const CreateCommissionSettlementRequestDtoStatusEnum = {
|
|
@@ -42,5 +48,20 @@ export const CreateCommissionSettlementRequestDtoStatusEnum = {
|
|
|
42
48
|
} as const;
|
|
43
49
|
|
|
44
50
|
export type CreateCommissionSettlementRequestDtoStatusEnum = typeof CreateCommissionSettlementRequestDtoStatusEnum[keyof typeof CreateCommissionSettlementRequestDtoStatusEnum];
|
|
51
|
+
export const CreateCommissionSettlementRequestDtoCurrencyEnum = {
|
|
52
|
+
Eur: 'EUR',
|
|
53
|
+
Usd: 'USD',
|
|
54
|
+
Gbp: 'GBP',
|
|
55
|
+
Chf: 'CHF',
|
|
56
|
+
Pln: 'PLN',
|
|
57
|
+
Aud: 'AUD',
|
|
58
|
+
Cad: 'CAD',
|
|
59
|
+
Ddk: 'DDK',
|
|
60
|
+
Huf: 'HUF',
|
|
61
|
+
Nok: 'NOK',
|
|
62
|
+
Sek: 'SEK'
|
|
63
|
+
} as const;
|
|
64
|
+
|
|
65
|
+
export type CreateCommissionSettlementRequestDtoCurrencyEnum = typeof CreateCommissionSettlementRequestDtoCurrencyEnum[keyof typeof CreateCommissionSettlementRequestDtoCurrencyEnum];
|
|
45
66
|
|
|
46
67
|
|