@erp-galoper/types 1.0.2163 → 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.
Files changed (2) hide show
  1. package/openapi.ts +13 -10
  2. 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["admin_panel_views_load_chart_of_account"];
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" | "MZ" | "custom";
34299
+ ChartOfAccountType: "LB" | "NG" | "custom";
34297
34300
  /** GaloperSettingChart */
34298
34301
  GaloperSettingChart: {
34299
34302
  value: components["schemas"]["ChartOfAccountType"];
@@ -50235,7 +50238,7 @@ export interface components {
50235
50238
  /**
50236
50239
  * Item
50237
50240
  * Format: uuid
50238
- * @description Inventory item id for this input.
50241
+ * @description GET /api/v1/inventory/items filtering by type equals product and isActive equals true and role not equals template and usage not equals waste
50239
50242
  */
50240
50243
  item: string;
50241
50244
  /**
@@ -50288,7 +50291,7 @@ export interface components {
50288
50291
  /**
50289
50292
  * Item
50290
50293
  * Format: uuid
50291
- * @description Output item id.
50294
+ * @description GET /api/v1/inventory/items filtering by type equals product and isActive equals true and role not equals template
50292
50295
  */
50293
50296
  item: string;
50294
50297
  /** Plannedquantity */
@@ -50323,7 +50326,7 @@ export interface components {
50323
50326
  /**
50324
50327
  * Item
50325
50328
  * Format: uuid
50326
- * @description Finished or co-product item id (`usage` must be `goods` or `co_product`).
50329
+ * @description GET /api/v1/inventory/items filtering by type equals product and isActive equals true and role not equals template and usage not equals [by_product, waste]
50327
50330
  */
50328
50331
  item: string;
50329
50332
  /**
@@ -50430,7 +50433,7 @@ export interface components {
50430
50433
  /**
50431
50434
  * Item
50432
50435
  * Format: uuid
50433
- * @description Finished or co-product item id (`usage` must be `goods` or `co_product`).
50436
+ * @description GET /api/v1/inventory/items filtering by type equals product and isActive equals true and role not equals template and usage not equals [by_product, waste]
50434
50437
  */
50435
50438
  item: string;
50436
50439
  /**
@@ -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
- admin_panel_views_load_chart_of_account: {
80503
+ admin_panel_views_load_chart_of_account_v2: {
80501
80504
  parameters: {
80502
80505
  query?: never;
80503
80506
  header?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2163",
3
+ "version": "1.0.2165",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [