@emilgroup/accounting-sdk 1.17.1-beta.0 → 1.17.1-beta.2

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.17.1-beta.0 --save
20
+ npm install @emilgroup/accounting-sdk@1.17.1-beta.2 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/accounting-sdk@1.17.1-beta.0
24
+ yarn add @emilgroup/accounting-sdk@1.17.1-beta.2
25
25
  ```
26
26
 
27
27
  And then you can import `FinancialAccountsApi`.
@@ -51,6 +51,18 @@ export interface CreateFinancialAccountRequestDto {
51
51
  * @memberof CreateFinancialAccountRequestDto
52
52
  */
53
53
  'customFields': object;
54
+ /**
55
+ * A detailed description of the financial account
56
+ * @type {string}
57
+ * @memberof CreateFinancialAccountRequestDto
58
+ */
59
+ 'description': string;
60
+ /**
61
+ * Whether the financial account is clearable
62
+ * @type {boolean}
63
+ * @memberof CreateFinancialAccountRequestDto
64
+ */
65
+ 'clearable': boolean;
54
66
  }
55
67
  export declare const CreateFinancialAccountRequestDtoTypeEnum: {
56
68
  readonly Asset: "asset";
@@ -58,5 +70,6 @@ export declare const CreateFinancialAccountRequestDtoTypeEnum: {
58
70
  readonly Equity: "equity";
59
71
  readonly Revenue: "revenue";
60
72
  readonly Expense: "expense";
73
+ readonly OpeningBalance: "opening_balance";
61
74
  };
62
75
  export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
@@ -19,5 +19,6 @@ exports.CreateFinancialAccountRequestDtoTypeEnum = {
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
21
  Revenue: 'revenue',
22
- Expense: 'expense'
22
+ Expense: 'expense',
23
+ OpeningBalance: 'opening_balance'
23
24
  };
@@ -63,6 +63,18 @@ export interface FinancialAccountClass {
63
63
  * @memberof FinancialAccountClass
64
64
  */
65
65
  'customFields': object;
66
+ /**
67
+ * The description of the account.
68
+ * @type {string}
69
+ * @memberof FinancialAccountClass
70
+ */
71
+ 'description': string;
72
+ /**
73
+ * Whether the account is clearable.
74
+ * @type {boolean}
75
+ * @memberof FinancialAccountClass
76
+ */
77
+ 'clearable': boolean;
66
78
  /**
67
79
  * Time at which the object was created.
68
80
  * @type {string}
@@ -94,5 +106,6 @@ export declare const FinancialAccountClassTypeEnum: {
94
106
  readonly Equity: "equity";
95
107
  readonly Revenue: "revenue";
96
108
  readonly Expense: "expense";
109
+ readonly OpeningBalance: "opening_balance";
97
110
  };
98
111
  export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
@@ -19,5 +19,6 @@ exports.FinancialAccountClassTypeEnum = {
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
21
  Revenue: 'revenue',
22
- Expense: 'expense'
22
+ Expense: 'expense',
23
+ OpeningBalance: 'opening_balance'
23
24
  };
@@ -81,6 +81,12 @@ export interface FinancialTransactionClass {
81
81
  * @memberof FinancialTransactionClass
82
82
  */
83
83
  'documentDate': string;
84
+ /**
85
+ * The type of the transaction. Possible values are \"OPENING_BALANCE\", \"NORMAL\", \"ADJUSTMENT\".
86
+ * @type {string}
87
+ * @memberof FinancialTransactionClass
88
+ */
89
+ 'transactionType': string;
84
90
  /**
85
91
  * Time at which the object was created.
86
92
  * @type {string}
@@ -51,9 +51,21 @@ export interface FinancialTransactionDataDto {
51
51
  * @memberof FinancialTransactionDataDto
52
52
  */
53
53
  'customFields': object;
54
+ /**
55
+ * Specifies the type of the transaction. This can be used to categorize transactions for reporting, analysis, or filtering purposes.
56
+ * @type {string}
57
+ * @memberof FinancialTransactionDataDto
58
+ */
59
+ 'transactionType': FinancialTransactionDataDtoTransactionTypeEnum;
54
60
  }
55
61
  export declare const FinancialTransactionDataDtoDebitCreditEnum: {
56
62
  readonly Debit: "DEBIT";
57
63
  readonly Credit: "CREDIT";
58
64
  };
59
65
  export type FinancialTransactionDataDtoDebitCreditEnum = typeof FinancialTransactionDataDtoDebitCreditEnum[keyof typeof FinancialTransactionDataDtoDebitCreditEnum];
66
+ export declare const FinancialTransactionDataDtoTransactionTypeEnum: {
67
+ readonly OpeningBalance: "OPENING_BALANCE";
68
+ readonly Adjustment: "ADJUSTMENT";
69
+ readonly Normal: "NORMAL";
70
+ };
71
+ export type FinancialTransactionDataDtoTransactionTypeEnum = typeof FinancialTransactionDataDtoTransactionTypeEnum[keyof typeof FinancialTransactionDataDtoTransactionTypeEnum];
@@ -13,8 +13,13 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.FinancialTransactionDataDtoDebitCreditEnum = void 0;
16
+ exports.FinancialTransactionDataDtoTransactionTypeEnum = exports.FinancialTransactionDataDtoDebitCreditEnum = void 0;
17
17
  exports.FinancialTransactionDataDtoDebitCreditEnum = {
18
18
  Debit: 'DEBIT',
19
19
  Credit: 'CREDIT'
20
20
  };
21
+ exports.FinancialTransactionDataDtoTransactionTypeEnum = {
22
+ OpeningBalance: 'OPENING_BALANCE',
23
+ Adjustment: 'ADJUSTMENT',
24
+ Normal: 'NORMAL'
25
+ };
@@ -100,5 +100,6 @@ export declare const PersonalAccountClassTypeEnum: {
100
100
  readonly Equity: "equity";
101
101
  readonly Revenue: "revenue";
102
102
  readonly Expense: "expense";
103
+ readonly OpeningBalance: "opening_balance";
103
104
  };
104
105
  export type PersonalAccountClassTypeEnum = typeof PersonalAccountClassTypeEnum[keyof typeof PersonalAccountClassTypeEnum];
@@ -19,5 +19,6 @@ exports.PersonalAccountClassTypeEnum = {
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
21
  Revenue: 'revenue',
22
- Expense: 'expense'
22
+ Expense: 'expense',
23
+ OpeningBalance: 'opening_balance'
23
24
  };
@@ -56,6 +56,18 @@ export interface CreateFinancialAccountRequestDto {
56
56
  * @memberof CreateFinancialAccountRequestDto
57
57
  */
58
58
  'customFields': object;
59
+ /**
60
+ * A detailed description of the financial account
61
+ * @type {string}
62
+ * @memberof CreateFinancialAccountRequestDto
63
+ */
64
+ 'description': string;
65
+ /**
66
+ * Whether the financial account is clearable
67
+ * @type {boolean}
68
+ * @memberof CreateFinancialAccountRequestDto
69
+ */
70
+ 'clearable': boolean;
59
71
  }
60
72
 
61
73
  export const CreateFinancialAccountRequestDtoTypeEnum = {
@@ -63,7 +75,8 @@ export const CreateFinancialAccountRequestDtoTypeEnum = {
63
75
  Liability: 'liability',
64
76
  Equity: 'equity',
65
77
  Revenue: 'revenue',
66
- Expense: 'expense'
78
+ Expense: 'expense',
79
+ OpeningBalance: 'opening_balance'
67
80
  } as const;
68
81
 
69
82
  export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
@@ -68,6 +68,18 @@ export interface FinancialAccountClass {
68
68
  * @memberof FinancialAccountClass
69
69
  */
70
70
  'customFields': object;
71
+ /**
72
+ * The description of the account.
73
+ * @type {string}
74
+ * @memberof FinancialAccountClass
75
+ */
76
+ 'description': string;
77
+ /**
78
+ * Whether the account is clearable.
79
+ * @type {boolean}
80
+ * @memberof FinancialAccountClass
81
+ */
82
+ 'clearable': boolean;
71
83
  /**
72
84
  * Time at which the object was created.
73
85
  * @type {string}
@@ -99,7 +111,8 @@ export const FinancialAccountClassTypeEnum = {
99
111
  Liability: 'liability',
100
112
  Equity: 'equity',
101
113
  Revenue: 'revenue',
102
- Expense: 'expense'
114
+ Expense: 'expense',
115
+ OpeningBalance: 'opening_balance'
103
116
  } as const;
104
117
 
105
118
  export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
@@ -86,6 +86,12 @@ export interface FinancialTransactionClass {
86
86
  * @memberof FinancialTransactionClass
87
87
  */
88
88
  'documentDate': string;
89
+ /**
90
+ * The type of the transaction. Possible values are \"OPENING_BALANCE\", \"NORMAL\", \"ADJUSTMENT\".
91
+ * @type {string}
92
+ * @memberof FinancialTransactionClass
93
+ */
94
+ 'transactionType': string;
89
95
  /**
90
96
  * Time at which the object was created.
91
97
  * @type {string}
@@ -56,6 +56,12 @@ export interface FinancialTransactionDataDto {
56
56
  * @memberof FinancialTransactionDataDto
57
57
  */
58
58
  'customFields': object;
59
+ /**
60
+ * Specifies the type of the transaction. This can be used to categorize transactions for reporting, analysis, or filtering purposes.
61
+ * @type {string}
62
+ * @memberof FinancialTransactionDataDto
63
+ */
64
+ 'transactionType': FinancialTransactionDataDtoTransactionTypeEnum;
59
65
  }
60
66
 
61
67
  export const FinancialTransactionDataDtoDebitCreditEnum = {
@@ -64,5 +70,12 @@ export const FinancialTransactionDataDtoDebitCreditEnum = {
64
70
  } as const;
65
71
 
66
72
  export type FinancialTransactionDataDtoDebitCreditEnum = typeof FinancialTransactionDataDtoDebitCreditEnum[keyof typeof FinancialTransactionDataDtoDebitCreditEnum];
73
+ export const FinancialTransactionDataDtoTransactionTypeEnum = {
74
+ OpeningBalance: 'OPENING_BALANCE',
75
+ Adjustment: 'ADJUSTMENT',
76
+ Normal: 'NORMAL'
77
+ } as const;
78
+
79
+ export type FinancialTransactionDataDtoTransactionTypeEnum = typeof FinancialTransactionDataDtoTransactionTypeEnum[keyof typeof FinancialTransactionDataDtoTransactionTypeEnum];
67
80
 
68
81
 
@@ -105,7 +105,8 @@ export const PersonalAccountClassTypeEnum = {
105
105
  Liability: 'liability',
106
106
  Equity: 'equity',
107
107
  Revenue: 'revenue',
108
- Expense: 'expense'
108
+ Expense: 'expense',
109
+ OpeningBalance: 'opening_balance'
109
110
  } as const;
110
111
 
111
112
  export type PersonalAccountClassTypeEnum = typeof PersonalAccountClassTypeEnum[keyof typeof PersonalAccountClassTypeEnum];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk",
3
- "version": "1.17.1-beta.0",
3
+ "version": "1.17.1-beta.2",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [