@erp-galoper/types 1.0.624 → 1.0.625

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 +14 -7
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -1521,7 +1521,6 @@ export interface paths {
1521
1521
  * - accountDoesNotExist
1522
1522
  * - 500:
1523
1523
  * - internalServerError
1524
- * # inform me to add hints
1525
1524
  */
1526
1525
  patch: operations["accounting_chartofaccount_views_update_account"];
1527
1526
  trace?: never;
@@ -22567,7 +22566,7 @@ export interface components {
22567
22566
  /** Finalnumber */
22568
22567
  finalNumber: string;
22569
22568
  /** Parentnumber */
22570
- parentNumber: number;
22569
+ parentNumber: number | null;
22571
22570
  /** Additionalnumber */
22572
22571
  additionalNumber: number;
22573
22572
  };
@@ -22645,7 +22644,10 @@ export interface components {
22645
22644
  /** Secondname */
22646
22645
  secondName?: string | null;
22647
22646
  reportAccountType?: components["schemas"]["AccountTypes"] | null;
22648
- /** Parentid */
22647
+ /**
22648
+ * Parentid
22649
+ * @description you should call available account numbers when user make changes in this field
22650
+ */
22649
22651
  parentId?: number | null;
22650
22652
  /** Additionalnumber */
22651
22653
  additionalNumber?: number | null;
@@ -22653,14 +22655,17 @@ export interface components {
22653
22655
  accountNumber?: string | null;
22654
22656
  /**
22655
22657
  * Currencyid
22656
- * @description required when multi currency is on
22658
+ * @description visible and required when multi currency is on, you should call available account numbers when user make changes in this field
22657
22659
  */
22658
22660
  currencyId?: number;
22659
22661
  /** Status */
22660
22662
  status?: boolean | null;
22661
22663
  /** Branchid */
22662
22664
  branchId: number;
22663
- /** Issubaccount */
22665
+ /**
22666
+ * Issubaccount
22667
+ * @description you should call available account numbers when user make changes in this field
22668
+ */
22664
22669
  isSubAccount?: boolean | null;
22665
22670
  };
22666
22671
  /** AccountSummaryInfo */
@@ -27577,7 +27582,7 @@ export interface components {
27577
27582
  /**
27578
27583
  * Id
27579
27584
  * Format: uuid
27580
- * @example def61ae9-b4e7-4329-aee1-42067bdbf443
27585
+ * @example b2e7f899-77e9-4679-b10c-b481b9f424e8
27581
27586
  */
27582
27587
  id: string;
27583
27588
  /**
@@ -49909,9 +49914,11 @@ export interface operations {
49909
49914
  accounting_chartofaccount_views_available_account_numbers: {
49910
49915
  parameters: {
49911
49916
  query: {
49912
- parentId: number;
49917
+ /** @description required if account is sub account, otherwise not required(root account) */
49918
+ parentId?: number;
49913
49919
  /** @example General */
49914
49920
  accountLevel: "General" | "Detail";
49921
+ /** @description required when editing an account */
49915
49922
  accountId?: number;
49916
49923
  currencyId?: number;
49917
49924
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.624",
3
+ "version": "1.0.625",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],