@erp-galoper/types 1.0.1014 → 1.0.1016

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 +111 -22
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -21151,6 +21151,11 @@ export interface components {
21151
21151
  branchId: number;
21152
21152
  /**
21153
21153
  * Assignedwarehouses
21154
+ * @description
21155
+ * - visible when module inventory is enabled
21156
+ * - assign warehouses to user, user can access only assigned warehouses
21157
+ * - get warehouses from /api/v1/inventory/warehouses/ and filter by branch equals to assigned branches ids
21158
+ *
21154
21159
  * @default []
21155
21160
  */
21156
21161
  assignedWarehouses: number[];
@@ -21469,6 +21474,11 @@ export interface components {
21469
21474
  branchId: number;
21470
21475
  /**
21471
21476
  * Assignedwarehouses
21477
+ * @description
21478
+ * - visible when module inventory is enabled
21479
+ * - assign warehouses to user, user can access only assigned warehouses
21480
+ * - get warehouses from /api/v1/inventory/warehouses/ and filter by branch equals to assigned branches ids
21481
+ *
21472
21482
  * @default []
21473
21483
  */
21474
21484
  assignedWarehouses: number[];
@@ -23770,35 +23780,61 @@ export interface components {
23770
23780
  /**
23771
23781
  * Companyrate
23772
23782
  * @description
23783
+ * - visible and required when multi currency on in system settings
23773
23784
  * - when doe is false:
23774
23785
  * - field is always disabled if account currency equals to company currency
23775
23786
  * - when doe is true:
23776
23787
  * - field is always disabled if account currency equals to company currency and one of [debitAmount, creditAmount, companyDebit, companyCredit] is not zero
23777
23788
  *
23778
23789
  */
23779
- companyRate: number | string;
23790
+ companyRate?: number | string;
23780
23791
  /**
23781
23792
  * Usdrate
23782
23793
  * @description
23794
+ * - visible and required when use secondary currency is true in system settings
23783
23795
  * - when doe is false:
23784
23796
  * - field is always disabled if account currency equals to secondary currency
23785
23797
  * - when doe is true:
23786
23798
  * - field is always disabled if account currency equals to secondary currency and one of [debitAmount, creditAmount, usdDebit, usdCredit] is not zero
23787
23799
  *
23788
23800
  */
23789
- usdRate: number | string;
23801
+ usdRate?: number | string;
23790
23802
  /** Debitamount */
23791
23803
  debitAmount: number | string;
23792
23804
  /** Creditamount */
23793
23805
  creditAmount: number | string;
23794
- /** Companydebit */
23806
+ /**
23807
+ * Companydebit
23808
+ * @description
23809
+ * - visible when multicurrency on
23810
+ * - field is always disabled when account currency equals to company currency
23811
+ *
23812
+ */
23795
23813
  companyDebit: number | string;
23796
- /** Companycredit */
23814
+ /**
23815
+ * Companycredit
23816
+ * @description
23817
+ * - visible when multicurrency on
23818
+ * - field is always disabled when account currency equals to company currency
23819
+ *
23820
+ */
23797
23821
  companyCredit: number | string;
23798
- /** Usddebit */
23799
- usdDebit: number | string;
23800
- /** Usdcredit */
23801
- usdCredit: number | string;
23822
+ /**
23823
+ * Usddebit
23824
+ * @description
23825
+ * - visible when use secondary currency on in system settings
23826
+ * - field is always disabled when account currency equals to secondary currency
23827
+ *
23828
+ */
23829
+ usdDebit?: number | string;
23830
+ /**
23831
+ * Usdcredit
23832
+ * @description
23833
+ * - visible when use secondary currency on in system settings
23834
+ * - field is always disabled when account currency equals to secondary currency
23835
+ *
23836
+ */
23837
+ usdCredit?: number | string;
23802
23838
  };
23803
23839
  /**
23804
23840
  * InternalStatusChoices
@@ -23910,35 +23946,61 @@ export interface components {
23910
23946
  /**
23911
23947
  * Companyrate
23912
23948
  * @description
23949
+ * - visible and required when multi currency on in system settings
23913
23950
  * - when doe is false:
23914
23951
  * - field is always disabled if account currency equals to company currency
23915
23952
  * - when doe is true:
23916
23953
  * - field is always disabled if account currency equals to company currency and one of [debitAmount, creditAmount, companyDebit, companyCredit] is not zero
23917
23954
  *
23918
23955
  */
23919
- companyRate: number | string;
23956
+ companyRate?: number | string;
23920
23957
  /**
23921
23958
  * Usdrate
23922
23959
  * @description
23960
+ * - visible and required when use secondary currency is true in system settings
23923
23961
  * - when doe is false:
23924
23962
  * - field is always disabled if account currency equals to secondary currency
23925
23963
  * - when doe is true:
23926
23964
  * - field is always disabled if account currency equals to secondary currency and one of [debitAmount, creditAmount, usdDebit, usdCredit] is not zero
23927
23965
  *
23928
23966
  */
23929
- usdRate: number | string;
23967
+ usdRate?: number | string;
23930
23968
  /** Debitamount */
23931
23969
  debitAmount: number | string;
23932
23970
  /** Creditamount */
23933
23971
  creditAmount: number | string;
23934
- /** Companydebit */
23972
+ /**
23973
+ * Companydebit
23974
+ * @description
23975
+ * - visible when multicurrency on
23976
+ * - field is always disabled when account currency equals to company currency
23977
+ *
23978
+ */
23935
23979
  companyDebit: number | string;
23936
- /** Companycredit */
23980
+ /**
23981
+ * Companycredit
23982
+ * @description
23983
+ * - visible when multicurrency on
23984
+ * - field is always disabled when account currency equals to company currency
23985
+ *
23986
+ */
23937
23987
  companyCredit: number | string;
23938
- /** Usddebit */
23939
- usdDebit: number | string;
23940
- /** Usdcredit */
23941
- usdCredit: number | string;
23988
+ /**
23989
+ * Usddebit
23990
+ * @description
23991
+ * - visible when use secondary currency on in system settings
23992
+ * - field is always disabled when account currency equals to secondary currency
23993
+ *
23994
+ */
23995
+ usdDebit?: number | string;
23996
+ /**
23997
+ * Usdcredit
23998
+ * @description
23999
+ * - visible when use secondary currency on in system settings
24000
+ * - field is always disabled when account currency equals to secondary currency
24001
+ *
24002
+ */
24003
+ usdCredit?: number | string;
23942
24004
  /** Index */
23943
24005
  index?: number;
23944
24006
  };
@@ -23983,6 +24045,7 @@ export interface components {
23983
24045
  /**
23984
24046
  * Companyrate
23985
24047
  * @description
24048
+ * - visible and required when multi currency on in system settings
23986
24049
  * - when doe is false:
23987
24050
  * - field is always disabled if account currency equals to company currency
23988
24051
  * - when doe is true:
@@ -23993,6 +24056,7 @@ export interface components {
23993
24056
  /**
23994
24057
  * Usdrate
23995
24058
  * @description
24059
+ * - visible and required when use secondary currency is true in system settings
23996
24060
  * - when doe is false:
23997
24061
  * - field is always disabled if account currency equals to secondary currency
23998
24062
  * - when doe is true:
@@ -24004,14 +24068,38 @@ export interface components {
24004
24068
  debitAmount?: number | string;
24005
24069
  /** Creditamount */
24006
24070
  creditAmount?: number | string;
24007
- /** Companydebit */
24071
+ /**
24072
+ * Companydebit
24073
+ * @description
24074
+ * - visible when multicurrency on
24075
+ * - field is always disabled when account currency equals to company currency
24076
+ *
24077
+ */
24008
24078
  companyDebit: number | string;
24009
- /** Companycredit */
24079
+ /**
24080
+ * Companycredit
24081
+ * @description
24082
+ * - visible when multicurrency on
24083
+ * - field is always disabled when account currency equals to company currency
24084
+ *
24085
+ */
24010
24086
  companyCredit: number | string;
24011
- /** Usddebit */
24012
- usdDebit: number | string;
24013
- /** Usdcredit */
24014
- usdCredit: number | string;
24087
+ /**
24088
+ * Usddebit
24089
+ * @description
24090
+ * - visible when use secondary currency on in system settings
24091
+ * - field is always disabled when account currency equals to secondary currency
24092
+ *
24093
+ */
24094
+ usdDebit?: number | string;
24095
+ /**
24096
+ * Usdcredit
24097
+ * @description
24098
+ * - visible when use secondary currency on in system settings
24099
+ * - field is always disabled when account currency equals to secondary currency
24100
+ *
24101
+ */
24102
+ usdCredit?: number | string;
24015
24103
  /** Index */
24016
24104
  index: number;
24017
24105
  };
@@ -25273,6 +25361,7 @@ export interface components {
25273
25361
  endBusinessHour: string | null;
25274
25362
  /** Allowratechange */
25275
25363
  allowRateChange: boolean;
25364
+ /** @description visible when inventory module is on */
25276
25365
  stockUpdateTrigger: components["schemas"]["StockUpdateTrigger"];
25277
25366
  /**
25278
25367
  * Usesecondarycurrency
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1014",
3
+ "version": "1.0.1016",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],