@erp-galoper/types 1.0.1013 → 1.0.1015

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 +104 -24
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -23770,35 +23770,61 @@ export interface components {
23770
23770
  /**
23771
23771
  * Companyrate
23772
23772
  * @description
23773
+ * - visible and required when multi currency on in system settings
23773
23774
  * - when doe is false:
23774
23775
  * - field is always disabled if account currency equals to company currency
23775
23776
  * - when doe is true:
23776
23777
  * - field is always disabled if account currency equals to company currency and one of [debitAmount, creditAmount, companyDebit, companyCredit] is not zero
23777
23778
  *
23778
23779
  */
23779
- companyRate: number | string;
23780
+ companyRate?: number | string;
23780
23781
  /**
23781
23782
  * Usdrate
23782
23783
  * @description
23784
+ * - visible and required when use secondary currency is true in system settings
23783
23785
  * - when doe is false:
23784
23786
  * - field is always disabled if account currency equals to secondary currency
23785
23787
  * - when doe is true:
23786
23788
  * - field is always disabled if account currency equals to secondary currency and one of [debitAmount, creditAmount, usdDebit, usdCredit] is not zero
23787
23789
  *
23788
23790
  */
23789
- usdRate: number | string;
23791
+ usdRate?: number | string;
23790
23792
  /** Debitamount */
23791
23793
  debitAmount: number | string;
23792
23794
  /** Creditamount */
23793
23795
  creditAmount: number | string;
23794
- /** Companydebit */
23796
+ /**
23797
+ * Companydebit
23798
+ * @description
23799
+ * - visible when multicurrency on
23800
+ * - field is always disabled when account currency equals to company currency
23801
+ *
23802
+ */
23795
23803
  companyDebit: number | string;
23796
- /** Companycredit */
23804
+ /**
23805
+ * Companycredit
23806
+ * @description
23807
+ * - visible when multicurrency on
23808
+ * - field is always disabled when account currency equals to company currency
23809
+ *
23810
+ */
23797
23811
  companyCredit: number | string;
23798
- /** Usddebit */
23799
- usdDebit: number | string;
23800
- /** Usdcredit */
23801
- usdCredit: number | string;
23812
+ /**
23813
+ * Usddebit
23814
+ * @description
23815
+ * - visible when use secondary currency on in system settings
23816
+ * - field is always disabled when account currency equals to secondary currency
23817
+ *
23818
+ */
23819
+ usdDebit?: number | string;
23820
+ /**
23821
+ * Usdcredit
23822
+ * @description
23823
+ * - visible when use secondary currency on in system settings
23824
+ * - field is always disabled when account currency equals to secondary currency
23825
+ *
23826
+ */
23827
+ usdCredit?: number | string;
23802
23828
  };
23803
23829
  /**
23804
23830
  * InternalStatusChoices
@@ -23910,35 +23936,61 @@ export interface components {
23910
23936
  /**
23911
23937
  * Companyrate
23912
23938
  * @description
23939
+ * - visible and required when multi currency on in system settings
23913
23940
  * - when doe is false:
23914
23941
  * - field is always disabled if account currency equals to company currency
23915
23942
  * - when doe is true:
23916
23943
  * - field is always disabled if account currency equals to company currency and one of [debitAmount, creditAmount, companyDebit, companyCredit] is not zero
23917
23944
  *
23918
23945
  */
23919
- companyRate: number | string;
23946
+ companyRate?: number | string;
23920
23947
  /**
23921
23948
  * Usdrate
23922
23949
  * @description
23950
+ * - visible and required when use secondary currency is true in system settings
23923
23951
  * - when doe is false:
23924
23952
  * - field is always disabled if account currency equals to secondary currency
23925
23953
  * - when doe is true:
23926
23954
  * - field is always disabled if account currency equals to secondary currency and one of [debitAmount, creditAmount, usdDebit, usdCredit] is not zero
23927
23955
  *
23928
23956
  */
23929
- usdRate: number | string;
23957
+ usdRate?: number | string;
23930
23958
  /** Debitamount */
23931
23959
  debitAmount: number | string;
23932
23960
  /** Creditamount */
23933
23961
  creditAmount: number | string;
23934
- /** Companydebit */
23962
+ /**
23963
+ * Companydebit
23964
+ * @description
23965
+ * - visible when multicurrency on
23966
+ * - field is always disabled when account currency equals to company currency
23967
+ *
23968
+ */
23935
23969
  companyDebit: number | string;
23936
- /** Companycredit */
23970
+ /**
23971
+ * Companycredit
23972
+ * @description
23973
+ * - visible when multicurrency on
23974
+ * - field is always disabled when account currency equals to company currency
23975
+ *
23976
+ */
23937
23977
  companyCredit: number | string;
23938
- /** Usddebit */
23939
- usdDebit: number | string;
23940
- /** Usdcredit */
23941
- usdCredit: number | string;
23978
+ /**
23979
+ * Usddebit
23980
+ * @description
23981
+ * - visible when use secondary currency on in system settings
23982
+ * - field is always disabled when account currency equals to secondary currency
23983
+ *
23984
+ */
23985
+ usdDebit?: number | string;
23986
+ /**
23987
+ * Usdcredit
23988
+ * @description
23989
+ * - visible when use secondary currency on in system settings
23990
+ * - field is always disabled when account currency equals to secondary currency
23991
+ *
23992
+ */
23993
+ usdCredit?: number | string;
23942
23994
  /** Index */
23943
23995
  index?: number;
23944
23996
  };
@@ -23983,6 +24035,7 @@ export interface components {
23983
24035
  /**
23984
24036
  * Companyrate
23985
24037
  * @description
24038
+ * - visible and required when multi currency on in system settings
23986
24039
  * - when doe is false:
23987
24040
  * - field is always disabled if account currency equals to company currency
23988
24041
  * - when doe is true:
@@ -23993,6 +24046,7 @@ export interface components {
23993
24046
  /**
23994
24047
  * Usdrate
23995
24048
  * @description
24049
+ * - visible and required when use secondary currency is true in system settings
23996
24050
  * - when doe is false:
23997
24051
  * - field is always disabled if account currency equals to secondary currency
23998
24052
  * - when doe is true:
@@ -24004,14 +24058,38 @@ export interface components {
24004
24058
  debitAmount?: number | string;
24005
24059
  /** Creditamount */
24006
24060
  creditAmount?: number | string;
24007
- /** Companydebit */
24061
+ /**
24062
+ * Companydebit
24063
+ * @description
24064
+ * - visible when multicurrency on
24065
+ * - field is always disabled when account currency equals to company currency
24066
+ *
24067
+ */
24008
24068
  companyDebit: number | string;
24009
- /** Companycredit */
24069
+ /**
24070
+ * Companycredit
24071
+ * @description
24072
+ * - visible when multicurrency on
24073
+ * - field is always disabled when account currency equals to company currency
24074
+ *
24075
+ */
24010
24076
  companyCredit: number | string;
24011
- /** Usddebit */
24012
- usdDebit: number | string;
24013
- /** Usdcredit */
24014
- usdCredit: number | string;
24077
+ /**
24078
+ * Usddebit
24079
+ * @description
24080
+ * - visible when use secondary currency on in system settings
24081
+ * - field is always disabled when account currency equals to secondary currency
24082
+ *
24083
+ */
24084
+ usdDebit?: number | string;
24085
+ /**
24086
+ * Usdcredit
24087
+ * @description
24088
+ * - visible when use secondary currency on in system settings
24089
+ * - field is always disabled when account currency equals to secondary currency
24090
+ *
24091
+ */
24092
+ usdCredit?: number | string;
24015
24093
  /** Index */
24016
24094
  index: number;
24017
24095
  };
@@ -60595,7 +60673,8 @@ export interface operations {
60595
60673
  fromAccount: string;
60596
60674
  /** @description Use the '/api/v1/common/posting_accounts/' endpoint with 'type=General' to retrieve valid accounts, and filter the accounts to include only those with an account_number greater than the one selected in from_account. you have to send the account number of the account you want to end with. */
60597
60675
  toAccount: string;
60598
- transactionStatus: ("withDraftEntries" | "withReversedEntries" | "withActiveEntries")[];
60676
+ /** @description default should be with "active" entries */
60677
+ transactionStatus?: ("withDraftEntries" | "withReversedEntries" | "withActiveEntries")[];
60599
60678
  transactionTypes: ("journalVoucher" | "salesInvoice" | "downPayment" | "receiptVoucher" | "salesReturnInvoice" | "salesCreditNote" | "purchaseInvoice" | "advancePayment" | "paymentVoucher" | "purchaseReturnInvoice" | "purchaseCreditNote")[];
60600
60679
  branches: number[];
60601
60680
  showAccountsWithZeroBalance: boolean;
@@ -60663,7 +60742,8 @@ export interface operations {
60663
60742
  fromDate: string;
60664
60743
  /** @description To date */
60665
60744
  toDate: string;
60666
- transactionStatus: ("withDraftEntries" | "withReversedEntries" | "withActiveEntries")[];
60745
+ /** @description default should be with active entries */
60746
+ transactionStatus?: ("withDraftEntries" | "withReversedEntries" | "withActiveEntries")[];
60667
60747
  /** @description Include opening balance */
60668
60748
  withOpeningBalance: boolean;
60669
60749
  branches: number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1013",
3
+ "version": "1.0.1015",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],