@emilgroup/accounting-sdk-node 1.32.1-beta.50 → 1.32.1-beta.52

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/accounting-sdk-node@1.32.1-beta.50 --save
20
+ npm install @emilgroup/accounting-sdk-node@1.32.1-beta.52 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.50
24
+ yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.52
25
25
  ```
26
26
 
27
27
  And then you can import `FinancialAccountsApi`.
@@ -138,5 +138,6 @@ export declare const BookingEntryClassSourceEntityTypeEnum: {
138
138
  readonly Payment: "payment";
139
139
  readonly Credit: "credit";
140
140
  readonly CreditAllocation: "credit_allocation";
141
+ readonly Commission: "commission";
141
142
  };
142
143
  export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
@@ -31,5 +31,6 @@ exports.BookingEntryClassSourceEntityTypeEnum = {
31
31
  Invoice: 'invoice',
32
32
  Payment: 'payment',
33
33
  Credit: 'credit',
34
- CreditAllocation: 'credit_allocation'
34
+ CreditAllocation: 'credit_allocation',
35
+ Commission: 'commission'
35
36
  };
@@ -78,5 +78,6 @@ export declare const CreateBookingEntryRequestDtoSourceEntityTypeEnum: {
78
78
  readonly Payment: "payment";
79
79
  readonly Credit: "credit";
80
80
  readonly CreditAllocation: "credit_allocation";
81
+ readonly Commission: "commission";
81
82
  };
82
83
  export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
@@ -18,5 +18,6 @@ exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
18
18
  Invoice: 'invoice',
19
19
  Payment: 'payment',
20
20
  Credit: 'credit',
21
- CreditAllocation: 'credit_allocation'
21
+ CreditAllocation: 'credit_allocation',
22
+ Commission: 'commission'
22
23
  };
@@ -22,13 +22,13 @@ export interface PostFinancialEventRequestDto {
22
22
  */
23
23
  'sourceEntityType': PostFinancialEventRequestDtoSourceEntityTypeEnum;
24
24
  /**
25
- * The code of the source entity in the service that owns it, such as an invoice, payment, exceeding credit or credit allocation code.
25
+ * The code of the source entity in the service that owns it, such as an invoice, payment, exceeding credit, credit allocation or commission code.
26
26
  * @type {string}
27
27
  * @memberof PostFinancialEventRequestDto
28
28
  */
29
29
  'sourceEntityCode': string;
30
30
  /**
31
- * The partner whose personal account the entry posts to. Required for an exceeding credit, which does not name its partner itself. Optional for a payment or credit allocation, where it must match the entity\'s own partner. Not accepted for an invoice, whose partner is derived from the policy.
31
+ * The partner whose personal account the entry posts to. Required for an exceeding credit, which does not name its partner itself. Optional for a payment or credit allocation, where it must match the entity\'s own partner. Not accepted for an invoice, whose partner is derived from the policy, and not accepted for a commission, which names its own recipient.
32
32
  * @type {string}
33
33
  * @memberof PostFinancialEventRequestDto
34
34
  */
@@ -39,5 +39,6 @@ export declare const PostFinancialEventRequestDtoSourceEntityTypeEnum: {
39
39
  readonly Payment: "payment";
40
40
  readonly Credit: "credit";
41
41
  readonly CreditAllocation: "credit_allocation";
42
+ readonly Commission: "commission";
42
43
  };
43
44
  export type PostFinancialEventRequestDtoSourceEntityTypeEnum = typeof PostFinancialEventRequestDtoSourceEntityTypeEnum[keyof typeof PostFinancialEventRequestDtoSourceEntityTypeEnum];
@@ -18,5 +18,6 @@ exports.PostFinancialEventRequestDtoSourceEntityTypeEnum = {
18
18
  Invoice: 'invoice',
19
19
  Payment: 'payment',
20
20
  Credit: 'credit',
21
- CreditAllocation: 'credit_allocation'
21
+ CreditAllocation: 'credit_allocation',
22
+ Commission: 'commission'
22
23
  };
@@ -144,7 +144,8 @@ export const BookingEntryClassSourceEntityTypeEnum = {
144
144
  Invoice: 'invoice',
145
145
  Payment: 'payment',
146
146
  Credit: 'credit',
147
- CreditAllocation: 'credit_allocation'
147
+ CreditAllocation: 'credit_allocation',
148
+ Commission: 'commission'
148
149
  } as const;
149
150
 
150
151
  export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
@@ -81,7 +81,8 @@ export const CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
81
81
  Invoice: 'invoice',
82
82
  Payment: 'payment',
83
83
  Credit: 'credit',
84
- CreditAllocation: 'credit_allocation'
84
+ CreditAllocation: 'credit_allocation',
85
+ Commission: 'commission'
85
86
  } as const;
86
87
 
87
88
  export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
@@ -27,13 +27,13 @@ export interface PostFinancialEventRequestDto {
27
27
  */
28
28
  'sourceEntityType': PostFinancialEventRequestDtoSourceEntityTypeEnum;
29
29
  /**
30
- * The code of the source entity in the service that owns it, such as an invoice, payment, exceeding credit or credit allocation code.
30
+ * The code of the source entity in the service that owns it, such as an invoice, payment, exceeding credit, credit allocation or commission code.
31
31
  * @type {string}
32
32
  * @memberof PostFinancialEventRequestDto
33
33
  */
34
34
  'sourceEntityCode': string;
35
35
  /**
36
- * The partner whose personal account the entry posts to. Required for an exceeding credit, which does not name its partner itself. Optional for a payment or credit allocation, where it must match the entity\'s own partner. Not accepted for an invoice, whose partner is derived from the policy.
36
+ * The partner whose personal account the entry posts to. Required for an exceeding credit, which does not name its partner itself. Optional for a payment or credit allocation, where it must match the entity\'s own partner. Not accepted for an invoice, whose partner is derived from the policy, and not accepted for a commission, which names its own recipient.
37
37
  * @type {string}
38
38
  * @memberof PostFinancialEventRequestDto
39
39
  */
@@ -44,7 +44,8 @@ export const PostFinancialEventRequestDtoSourceEntityTypeEnum = {
44
44
  Invoice: 'invoice',
45
45
  Payment: 'payment',
46
46
  Credit: 'credit',
47
- CreditAllocation: 'credit_allocation'
47
+ CreditAllocation: 'credit_allocation',
48
+ Commission: 'commission'
48
49
  } as const;
49
50
 
50
51
  export type PostFinancialEventRequestDtoSourceEntityTypeEnum = typeof PostFinancialEventRequestDtoSourceEntityTypeEnum[keyof typeof PostFinancialEventRequestDtoSourceEntityTypeEnum];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk-node",
3
- "version": "1.32.1-beta.50",
3
+ "version": "1.32.1-beta.52",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [