@erp-galoper/types 1.0.162 → 1.0.164

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 +15 -13
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -20734,7 +20734,7 @@ export interface components {
20734
20734
  * ItemUsage
20735
20735
  * @enum {string}
20736
20736
  */
20737
- ItemUsage: "goods" | "works";
20737
+ ItemUsage: "goods" | "works" | "service";
20738
20738
  /** ItemWithChildrenSchema */
20739
20739
  ItemWithChildrenSchema: {
20740
20740
  /**
@@ -21184,6 +21184,7 @@ export interface components {
21184
21184
  /** Barcode */
21185
21185
  barcode?: string | null;
21186
21186
  type: components["schemas"]["ItemType"];
21187
+ /** @description when type is service usage should be disabled and set its value to service */
21187
21188
  usage: components["schemas"]["ItemUsage"];
21188
21189
  /** Variantof */
21189
21190
  variantOf?: number | null;
@@ -21424,6 +21425,7 @@ export interface components {
21424
21425
  /** Barcode */
21425
21426
  barcode?: string | null;
21426
21427
  type?: components["schemas"]["ItemType"] | null;
21428
+ /** @description when type is service usage should be disabled and set its value to service */
21427
21429
  usage?: components["schemas"]["ItemUsage"] | null;
21428
21430
  /** Variant Of */
21429
21431
  variant_of?: number | null;
@@ -26549,7 +26551,7 @@ export interface components {
26549
26551
  /**
26550
26552
  * Id
26551
26553
  * Format: uuid
26552
- * @example 17ab4ae2-a962-4603-8c56-9226e9a859d4
26554
+ * @example 414fbb2c-0ddb-46a7-afdd-27bcdcad4c65
26553
26555
  */
26554
26556
  id: string;
26555
26557
  /**
@@ -28747,10 +28749,10 @@ export interface components {
28747
28749
  /** Ratepercentage */
28748
28750
  ratePercentage: number;
28749
28751
  /**
28750
- * Taxdebtorcreditorbalanceaccount
28751
- * @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts
28752
+ * Taxclosingaccount
28753
+ * @description tax Closing Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
28752
28754
  */
28753
- taxDebtorCreditorBalanceAccount: number | null;
28755
+ taxClosingAccount: number | null;
28754
28756
  /**
28755
28757
  * Deferredsales
28756
28758
  * @description
@@ -28793,8 +28795,8 @@ export interface components {
28793
28795
  assets?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
28794
28796
  /** Ratepercentage */
28795
28797
  ratePercentage: number;
28796
- /** @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts */
28797
- taxDebtorCreditorBalanceAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
28798
+ /** @description Tax Closing Account */
28799
+ taxClosingAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
28798
28800
  deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
28799
28801
  /** Candelete */
28800
28802
  canDelete: boolean;
@@ -28823,10 +28825,10 @@ export interface components {
28823
28825
  /** Ratepercentage */
28824
28826
  ratePercentage?: number | null;
28825
28827
  /**
28826
- * Taxdebtorcreditorbalanceaccount
28827
- * @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts
28828
+ * Taxclosingaccount
28829
+ * @description Tax Closing Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
28828
28830
  */
28829
- taxDebtorCreditorBalanceAccount?: number | null;
28831
+ taxClosingAccount?: number | null;
28830
28832
  /**
28831
28833
  * Deferredsales
28832
28834
  * @description
@@ -28863,8 +28865,8 @@ export interface components {
28863
28865
  assets?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
28864
28866
  /** Ratepercentage */
28865
28867
  ratePercentage: number;
28866
- /** @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts */
28867
- taxDebtorCreditorBalanceAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
28868
+ /** @description Tax Closing Account */
28869
+ taxClosingAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
28868
28870
  deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
28869
28871
  };
28870
28872
  /** CreateAccountingSetting */
@@ -59036,7 +59038,7 @@ export interface operations {
59036
59038
  erp_settings_accountingsetting_subsidiary_accounts_views_get_subsidiary_accounts_fields: {
59037
59039
  parameters: {
59038
59040
  query?: {
59039
- itemUsage?: "goods" | "works";
59041
+ itemUsage?: "goods" | "works" | "service";
59040
59042
  itemType?: "product" | "service";
59041
59043
  };
59042
59044
  header?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.162",
3
+ "version": "1.0.164",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],