@erp-galoper/types 1.0.2164 → 1.0.2165
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/openapi.ts +9 -6
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -3173,11 +3173,14 @@ export interface paths {
|
|
|
3173
3173
|
get?: never;
|
|
3174
3174
|
put?: never;
|
|
3175
3175
|
/**
|
|
3176
|
-
* Load Chart Of Account
|
|
3177
|
-
* @description Endpoint for create Chart of Account.
|
|
3176
|
+
* Load Chart Of Account V2
|
|
3177
|
+
* @description Endpoint for create Chart of Account (v2).
|
|
3178
|
+
* Builds the tree using each account's `parent_number` instead of relying
|
|
3179
|
+
* on a pre-computed depth/path in the fixture file.
|
|
3178
3180
|
* Possible Responses:
|
|
3179
3181
|
* - 400:
|
|
3180
3182
|
* - invalidCountry
|
|
3183
|
+
* - invalidParentNumber
|
|
3181
3184
|
* - 201:
|
|
3182
3185
|
* - chartOfAccountCreated
|
|
3183
3186
|
* - 403:
|
|
@@ -3188,7 +3191,7 @@ export interface paths {
|
|
|
3188
3191
|
* - 500:
|
|
3189
3192
|
* - internalServerError
|
|
3190
3193
|
*/
|
|
3191
|
-
post: operations["
|
|
3194
|
+
post: operations["admin_panel_views_load_chart_of_account_v2"];
|
|
3192
3195
|
delete?: never;
|
|
3193
3196
|
options?: never;
|
|
3194
3197
|
head?: never;
|
|
@@ -34293,7 +34296,7 @@ export interface components {
|
|
|
34293
34296
|
* ChartOfAccountType
|
|
34294
34297
|
* @enum {string}
|
|
34295
34298
|
*/
|
|
34296
|
-
ChartOfAccountType: "LB" | "
|
|
34299
|
+
ChartOfAccountType: "LB" | "NG" | "custom";
|
|
34297
34300
|
/** GaloperSettingChart */
|
|
34298
34301
|
GaloperSettingChart: {
|
|
34299
34302
|
value: components["schemas"]["ChartOfAccountType"];
|
|
@@ -77589,7 +77592,7 @@ export interface operations {
|
|
|
77589
77592
|
accountLevel: "General" | "Detail";
|
|
77590
77593
|
/** @description required when editing an account */
|
|
77591
77594
|
accountId?: number;
|
|
77592
|
-
currencyId?: string;
|
|
77595
|
+
currencyId?: string | null;
|
|
77593
77596
|
};
|
|
77594
77597
|
header?: never;
|
|
77595
77598
|
path?: never;
|
|
@@ -80497,7 +80500,7 @@ export interface operations {
|
|
|
80497
80500
|
};
|
|
80498
80501
|
};
|
|
80499
80502
|
};
|
|
80500
|
-
|
|
80503
|
+
admin_panel_views_load_chart_of_account_v2: {
|
|
80501
80504
|
parameters: {
|
|
80502
80505
|
query?: never;
|
|
80503
80506
|
header?: never;
|