@emilgroup/accounting-sdk 1.34.1-beta.71 → 1.34.1-beta.72
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/booking-entry-class.d.ts +3 -2
- package/dist/models/booking-entry-class.js +2 -1
- package/dist/models/create-booking-entry-request-dto.d.ts +2 -2
- package/dist/models/create-booking-entry-request-dto.js +2 -2
- package/models/booking-entry-class.ts +4 -3
- package/models/create-booking-entry-request-dto.ts +3 -3
- 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/accounting-sdk@1.34.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk@1.34.1-beta.72 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk@1.34.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk@1.34.1-beta.72
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -77,13 +77,13 @@ 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.
|
|
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
|
|
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
|
*/
|
|
@@ -140,5 +140,6 @@ export declare const BookingEntryClassSourceEntityTypeEnum: {
|
|
|
140
140
|
readonly CreditAllocation: "credit_allocation";
|
|
141
141
|
readonly ClaimRegulation: "claim_regulation";
|
|
142
142
|
readonly Commission: "commission";
|
|
143
|
+
readonly Manual: "manual";
|
|
143
144
|
};
|
|
144
145
|
export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
|
|
@@ -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,13 +82,13 @@ 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.
|
|
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
|
|
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
|
*/
|
|
@@ -146,7 +146,8 @@ export const BookingEntryClassSourceEntityTypeEnum = {
|
|
|
146
146
|
Credit: 'credit',
|
|
147
147
|
CreditAllocation: 'credit_allocation',
|
|
148
148
|
ClaimRegulation: 'claim_regulation',
|
|
149
|
-
Commission: 'commission'
|
|
149
|
+
Commission: 'commission',
|
|
150
|
+
Manual: 'manual'
|
|
150
151
|
} as const;
|
|
151
152
|
|
|
152
153
|
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];
|