@emilgroup/accounting-sdk 1.34.1-beta.71 → 1.34.1-beta.73

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@1.34.1-beta.71 --save
20
+ npm install @emilgroup/accounting-sdk@1.34.1-beta.73 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/accounting-sdk@1.34.1-beta.71
24
+ yarn add @emilgroup/accounting-sdk@1.34.1-beta.73
25
25
  ```
26
26
 
27
27
  And then you can import `FinancialAccountsApi`.
@@ -77,17 +77,29 @@ export interface BookingEntryClass {
77
77
  */
78
78
  'externalNumber'?: string;
79
79
  /**
80
- * The code of the source entity this entry was posted for, such as an invoice or payment code. Always set together with sourceEntityType.
80
+ * The code of the source entity this entry was posted for, such as an invoice or payment code. Absent on an entry posted by hand (sourceEntityType manual) and on a legacy entry.
81
81
  * @type {string}
82
82
  * @memberof BookingEntryClass
83
83
  */
84
84
  'sourceEntityCode'?: string;
85
85
  /**
86
- * The kind of source entity this entry was posted for. Always set together with sourceEntityCode.
86
+ * The kind of source entity this entry was posted for: manual for an entry posted by hand, which carries no sourceEntityCode. Absent only on a legacy entry.
87
87
  * @type {string}
88
88
  * @memberof BookingEntryClass
89
89
  */
90
90
  'sourceEntityType'?: BookingEntryClassSourceEntityTypeEnum;
91
+ /**
92
+ * The code of the entry this entry reverses. Absent on an entry that is not a reversal.
93
+ * @type {string}
94
+ * @memberof BookingEntryClass
95
+ */
96
+ 'reversalOfCode'?: string;
97
+ /**
98
+ * True once the entry has been reversed in full. Its reversal names it in reversalOfCode.
99
+ * @type {boolean}
100
+ * @memberof BookingEntryClass
101
+ */
102
+ 'isReversed'?: boolean;
91
103
  /**
92
104
  * A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
93
105
  * @type {Array<FinancialTransactionClass>}
@@ -140,5 +152,6 @@ export declare const BookingEntryClassSourceEntityTypeEnum: {
140
152
  readonly CreditAllocation: "credit_allocation";
141
153
  readonly ClaimRegulation: "claim_regulation";
142
154
  readonly Commission: "commission";
155
+ readonly Manual: "manual";
143
156
  };
144
157
  export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
@@ -33,5 +33,6 @@ exports.BookingEntryClassSourceEntityTypeEnum = {
33
33
  Credit: 'credit',
34
34
  CreditAllocation: 'credit_allocation',
35
35
  ClaimRegulation: 'claim_regulation',
36
- Commission: 'commission'
36
+ Commission: 'commission',
37
+ Manual: 'manual'
37
38
  };
@@ -47,7 +47,7 @@ export interface CreateBookingEntryRequestDto {
47
47
  */
48
48
  'sourceEntityCode'?: string;
49
49
  /**
50
- * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode.
50
+ * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode. Omitted, the entry is typed manual. An entry posted by hand cannot be typed invoice.
51
51
  * @type {string}
52
52
  * @memberof CreateBookingEntryRequestDto
53
53
  */
@@ -74,11 +74,11 @@ export interface CreateBookingEntryRequestDto {
74
74
  'financialTransactions': Array<FinancialTransactionDataDto>;
75
75
  }
76
76
  export declare const CreateBookingEntryRequestDtoSourceEntityTypeEnum: {
77
- readonly Invoice: "invoice";
78
77
  readonly Payment: "payment";
79
78
  readonly Credit: "credit";
80
79
  readonly CreditAllocation: "credit_allocation";
81
80
  readonly ClaimRegulation: "claim_regulation";
82
81
  readonly Commission: "commission";
82
+ readonly Manual: "manual";
83
83
  };
84
84
  export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
@@ -15,10 +15,10 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = void 0;
17
17
  exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
18
- Invoice: 'invoice',
19
18
  Payment: 'payment',
20
19
  Credit: 'credit',
21
20
  CreditAllocation: 'credit_allocation',
22
21
  ClaimRegulation: 'claim_regulation',
23
- Commission: 'commission'
22
+ Commission: 'commission',
23
+ Manual: 'manual'
24
24
  };
@@ -82,17 +82,29 @@ export interface BookingEntryClass {
82
82
  */
83
83
  'externalNumber'?: string;
84
84
  /**
85
- * The code of the source entity this entry was posted for, such as an invoice or payment code. Always set together with sourceEntityType.
85
+ * The code of the source entity this entry was posted for, such as an invoice or payment code. Absent on an entry posted by hand (sourceEntityType manual) and on a legacy entry.
86
86
  * @type {string}
87
87
  * @memberof BookingEntryClass
88
88
  */
89
89
  'sourceEntityCode'?: string;
90
90
  /**
91
- * The kind of source entity this entry was posted for. Always set together with sourceEntityCode.
91
+ * The kind of source entity this entry was posted for: manual for an entry posted by hand, which carries no sourceEntityCode. Absent only on a legacy entry.
92
92
  * @type {string}
93
93
  * @memberof BookingEntryClass
94
94
  */
95
95
  'sourceEntityType'?: BookingEntryClassSourceEntityTypeEnum;
96
+ /**
97
+ * The code of the entry this entry reverses. Absent on an entry that is not a reversal.
98
+ * @type {string}
99
+ * @memberof BookingEntryClass
100
+ */
101
+ 'reversalOfCode'?: string;
102
+ /**
103
+ * True once the entry has been reversed in full. Its reversal names it in reversalOfCode.
104
+ * @type {boolean}
105
+ * @memberof BookingEntryClass
106
+ */
107
+ 'isReversed'?: boolean;
96
108
  /**
97
109
  * A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
98
110
  * @type {Array<FinancialTransactionClass>}
@@ -146,7 +158,8 @@ export const BookingEntryClassSourceEntityTypeEnum = {
146
158
  Credit: 'credit',
147
159
  CreditAllocation: 'credit_allocation',
148
160
  ClaimRegulation: 'claim_regulation',
149
- Commission: 'commission'
161
+ Commission: 'commission',
162
+ Manual: 'manual'
150
163
  } as const;
151
164
 
152
165
  export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
@@ -52,7 +52,7 @@ export interface CreateBookingEntryRequestDto {
52
52
  */
53
53
  'sourceEntityCode'?: string;
54
54
  /**
55
- * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode.
55
+ * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode. Omitted, the entry is typed manual. An entry posted by hand cannot be typed invoice.
56
56
  * @type {string}
57
57
  * @memberof CreateBookingEntryRequestDto
58
58
  */
@@ -78,12 +78,12 @@ export interface CreateBookingEntryRequestDto {
78
78
  }
79
79
 
80
80
  export const CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
81
- Invoice: 'invoice',
82
81
  Payment: 'payment',
83
82
  Credit: 'credit',
84
83
  CreditAllocation: 'credit_allocation',
85
84
  ClaimRegulation: 'claim_regulation',
86
- Commission: 'commission'
85
+ Commission: 'commission',
86
+ Manual: 'manual'
87
87
  } as const;
88
88
 
89
89
  export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk",
3
- "version": "1.34.1-beta.71",
3
+ "version": "1.34.1-beta.73",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [