@erp-galoper/types 1.0.833 → 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 -6
  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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.833",
3
+ "version": "1.0.834",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],