@erp-galoper/types 1.0.832 → 1.0.834

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 +56 -18
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -1665,6 +1665,8 @@ export interface paths {
1665
1665
  * - accountIsRequired
1666
1666
  * - currencyIsRequired
1667
1667
  * - oneMovementAtLeastShouldHaveValue
1668
+ * - secondaryRateShouldNotBeZero
1669
+ * - companyRateShouldNotBeZero
1668
1670
  * - 500:
1669
1671
  * - internalServerError
1670
1672
  * - 403 :
@@ -23014,9 +23016,25 @@ export interface components {
23014
23016
  description: string;
23015
23017
  /** Isdoe */
23016
23018
  isDoe?: boolean;
23017
- /** Companyrate */
23019
+ /**
23020
+ * Companyrate
23021
+ * @description
23022
+ * - when doe is false:
23023
+ * - field is always disabled if account currency equals to company currency
23024
+ * - when doe is true:
23025
+ * - field is always disabled if account currency equals to company currency and one of [debitAmount, creditAmount, companyDebit, companyCredit] is not zero
23026
+ *
23027
+ */
23018
23028
  companyRate: number | string;
23019
- /** Usdrate */
23029
+ /**
23030
+ * Usdrate
23031
+ * @description
23032
+ * - when doe is false:
23033
+ * - field is always disabled if account currency equals to secondary currency
23034
+ * - when doe is true:
23035
+ * - field is always disabled if account currency equals to secondary currency and one of [debitAmount, creditAmount, usdDebit, usdCredit] is not zero
23036
+ *
23037
+ */
23020
23038
  usdRate: number | string;
23021
23039
  /** Debitamount */
23022
23040
  debitAmount: number | string;
@@ -23138,9 +23156,25 @@ export interface components {
23138
23156
  description: string;
23139
23157
  /** Isdoe */
23140
23158
  isDoe?: boolean;
23141
- /** Companyrate */
23159
+ /**
23160
+ * Companyrate
23161
+ * @description
23162
+ * - when doe is false:
23163
+ * - field is always disabled if account currency equals to company currency
23164
+ * - when doe is true:
23165
+ * - field is always disabled if account currency equals to company currency and one of [debitAmount, creditAmount, companyDebit, companyCredit] is not zero
23166
+ *
23167
+ */
23142
23168
  companyRate: number | string;
23143
- /** Usdrate */
23169
+ /**
23170
+ * Usdrate
23171
+ * @description
23172
+ * - when doe is false:
23173
+ * - field is always disabled if account currency equals to secondary currency
23174
+ * - when doe is true:
23175
+ * - field is always disabled if account currency equals to secondary currency and one of [debitAmount, creditAmount, usdDebit, usdCredit] is not zero
23176
+ *
23177
+ */
23144
23178
  usdRate: number | string;
23145
23179
  /** Debitamount */
23146
23180
  debitAmount: number | string;
@@ -23195,9 +23229,25 @@ export interface components {
23195
23229
  description?: string;
23196
23230
  /** Isdoe */
23197
23231
  isDoe?: boolean;
23198
- /** Companyrate */
23232
+ /**
23233
+ * Companyrate
23234
+ * @description
23235
+ * - when doe is false:
23236
+ * - field is always disabled if account currency equals to company currency
23237
+ * - when doe is true:
23238
+ * - field is always disabled if account currency equals to company currency and one of [debitAmount, creditAmount, companyDebit, companyCredit] is not zero
23239
+ *
23240
+ */
23199
23241
  companyRate?: number | string;
23200
- /** Usdrate */
23242
+ /**
23243
+ * Usdrate
23244
+ * @description
23245
+ * - when doe is false:
23246
+ * - field is always disabled if account currency equals to secondary currency
23247
+ * - when doe is true:
23248
+ * - field is always disabled if account currency equals to secondary currency and one of [debitAmount, creditAmount, usdDebit, usdCredit] is not zero
23249
+ *
23250
+ */
23201
23251
  usdRate?: number | string;
23202
23252
  /** Debitamount */
23203
23253
  debitAmount?: number | string;
@@ -29012,10 +29062,6 @@ export interface components {
29012
29062
  salesOfWorksStockNonResident?: number | null;
29013
29063
  /** Salesofworksreturnnonresident */
29014
29064
  salesOfWorksReturnNonResident?: number | null;
29015
- /** Differenceofexchangenegative */
29016
- differenceOfExchangeNegative?: number | null;
29017
- /** Differenceofexchangepositive */
29018
- differenceOfExchangePositive?: number | null;
29019
29065
  /** Possalesofgoods */
29020
29066
  posSalesOfGoods?: number | null;
29021
29067
  /** Possalesofgoodsreturn */
@@ -29178,10 +29224,6 @@ export interface components {
29178
29224
  salesCommissionPayable?: number | null;
29179
29225
  /** Personnelcommissionpayable */
29180
29226
  personnelCommissionPayable?: number | null;
29181
- /** Salescommissionexpense */
29182
- salesCommissionExpense?: number | null;
29183
- /** Salescommissionallowanceexpense */
29184
- salesCommissionAllowanceExpense?: number | null;
29185
29227
  /** Deferredpurchaseofgoodsresident */
29186
29228
  deferredPurchaseOfGoodsResident?: number | null;
29187
29229
  /** Deferredpurchaseofgoodsdiscountresident */
@@ -29434,8 +29476,6 @@ export interface components {
29434
29476
  salesOfWorksDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29435
29477
  salesOfWorksStockNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29436
29478
  salesOfWorksReturnNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29437
- differenceOfExchangeNegative?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29438
- differenceOfExchangePositive?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29439
29479
  posSalesOfGoods?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29440
29480
  posSalesOfGoodsReturn?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29441
29481
  posSalesOfGoodsDiscount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
@@ -29517,8 +29557,6 @@ export interface components {
29517
29557
  salesOfWorksAllowancesStockNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29518
29558
  salesCommissionPayable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29519
29559
  personnelCommissionPayable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29520
- salesCommissionExpense?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29521
- salesCommissionAllowanceExpense?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29522
29560
  deferredPurchaseOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29523
29561
  deferredPurchaseOfGoodsDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29524
29562
  deferredPurchaseOfGoodsReturnResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.832",
3
+ "version": "1.0.834",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],