@erp-galoper/types 1.0.833 → 1.0.835

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 +65 -9
  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 :
@@ -14171,6 +14173,7 @@ export interface paths {
14171
14173
  * - depositChargeChangeNotAllowed
14172
14174
  * - unitPackageIsRequired
14173
14175
  * - salesPersonIsNotActive
14176
+ * - priceListShouldBeWholesale
14174
14177
  *
14175
14178
  * - 403: "noModuleAccess"
14176
14179
  * - "permissionDenied"
@@ -14237,6 +14240,7 @@ export interface paths {
14237
14240
  * - unitPackageIsRequired
14238
14241
  * - customerChangeNotAllowed
14239
14242
  * - salesPersonIsNotActive
14243
+ * - priceListShouldBeWholesale
14240
14244
  *
14241
14245
  * - 403: "noModuleAccess"
14242
14246
  * - "permissionDenied"
@@ -15355,6 +15359,7 @@ export interface paths {
15355
15359
  * - salesQuotationDoesNotExist
15356
15360
  * - salesQuotationCustomerDoesNotMatchWithSalesOrderCustomer
15357
15361
  * - salesPersonIsNotActive
15362
+ * - priceListShouldBeWholesale
15358
15363
  *
15359
15364
  * - 403: "noModuleAccess"
15360
15365
  * - "permissionDenied"
@@ -15423,6 +15428,7 @@ export interface paths {
15423
15428
  * - customerChangeNotAllowed
15424
15429
  * - salesQuotationCustomerDoesNotMatchWithSalesOrderCustomer
15425
15430
  * - salesPersonIsNotActive
15431
+ * - priceListShouldBeWholesale
15426
15432
  *
15427
15433
  * - 403: "noModuleAccess"
15428
15434
  * - "permissionDenied"
@@ -16255,6 +16261,7 @@ export interface paths {
16255
16261
  * - salesOrderDoesNotExist
16256
16262
  * - customerShouldBeSameAsDownPaymentCustomer
16257
16263
  * - salesPersonIsNotActive
16264
+ * - priceListShouldBeWholesale
16258
16265
  *
16259
16266
  * - 403: "noModuleAccess"
16260
16267
  * - "permissionDenied"
@@ -16327,6 +16334,7 @@ export interface paths {
16327
16334
  * - dateShouldBeBetweenPreviousAndNextInvoiceDate
16328
16335
  * - salesInvoiceItemCannotBeDeleted
16329
16336
  * - salesPersonIsNotActive
16337
+ * - priceListShouldBeWholesale
16330
16338
  *
16331
16339
  * - 403: "noModuleAccess"
16332
16340
  * - "permissionDenied"
@@ -23014,9 +23022,25 @@ export interface components {
23014
23022
  description: string;
23015
23023
  /** Isdoe */
23016
23024
  isDoe?: boolean;
23017
- /** Companyrate */
23025
+ /**
23026
+ * Companyrate
23027
+ * @description
23028
+ * - when doe is false:
23029
+ * - field is always disabled if account currency equals to company currency
23030
+ * - when doe is true:
23031
+ * - field is always disabled if account currency equals to company currency and one of [debitAmount, creditAmount, companyDebit, companyCredit] is not zero
23032
+ *
23033
+ */
23018
23034
  companyRate: number | string;
23019
- /** Usdrate */
23035
+ /**
23036
+ * Usdrate
23037
+ * @description
23038
+ * - when doe is false:
23039
+ * - field is always disabled if account currency equals to secondary currency
23040
+ * - when doe is true:
23041
+ * - field is always disabled if account currency equals to secondary currency and one of [debitAmount, creditAmount, usdDebit, usdCredit] is not zero
23042
+ *
23043
+ */
23020
23044
  usdRate: number | string;
23021
23045
  /** Debitamount */
23022
23046
  debitAmount: number | string;
@@ -23138,9 +23162,25 @@ export interface components {
23138
23162
  description: string;
23139
23163
  /** Isdoe */
23140
23164
  isDoe?: boolean;
23141
- /** Companyrate */
23165
+ /**
23166
+ * Companyrate
23167
+ * @description
23168
+ * - when doe is false:
23169
+ * - field is always disabled if account currency equals to company currency
23170
+ * - when doe is true:
23171
+ * - field is always disabled if account currency equals to company currency and one of [debitAmount, creditAmount, companyDebit, companyCredit] is not zero
23172
+ *
23173
+ */
23142
23174
  companyRate: number | string;
23143
- /** Usdrate */
23175
+ /**
23176
+ * Usdrate
23177
+ * @description
23178
+ * - when doe is false:
23179
+ * - field is always disabled if account currency equals to secondary currency
23180
+ * - when doe is true:
23181
+ * - field is always disabled if account currency equals to secondary currency and one of [debitAmount, creditAmount, usdDebit, usdCredit] is not zero
23182
+ *
23183
+ */
23144
23184
  usdRate: number | string;
23145
23185
  /** Debitamount */
23146
23186
  debitAmount: number | string;
@@ -23195,9 +23235,25 @@ export interface components {
23195
23235
  description?: string;
23196
23236
  /** Isdoe */
23197
23237
  isDoe?: boolean;
23198
- /** Companyrate */
23238
+ /**
23239
+ * Companyrate
23240
+ * @description
23241
+ * - when doe is false:
23242
+ * - field is always disabled if account currency equals to company currency
23243
+ * - when doe is true:
23244
+ * - field is always disabled if account currency equals to company currency and one of [debitAmount, creditAmount, companyDebit, companyCredit] is not zero
23245
+ *
23246
+ */
23199
23247
  companyRate?: number | string;
23200
- /** Usdrate */
23248
+ /**
23249
+ * Usdrate
23250
+ * @description
23251
+ * - when doe is false:
23252
+ * - field is always disabled if account currency equals to secondary currency
23253
+ * - when doe is true:
23254
+ * - field is always disabled if account currency equals to secondary currency and one of [debitAmount, creditAmount, usdDebit, usdCredit] is not zero
23255
+ *
23256
+ */
23201
23257
  usdRate?: number | string;
23202
23258
  /** Debitamount */
23203
23259
  debitAmount?: number | string;
@@ -40371,7 +40427,7 @@ export interface components {
40371
40427
  * @description
40372
40428
  * - This field is required when price list is active in sales settings
40373
40429
  * - applicable if item is selected
40374
- * - /api/v1/sales/price-list/
40430
+ * - /api/v1/sales/price-list/ and filter by priceListType not equal to retail
40375
40431
  *
40376
40432
  */
40377
40433
  priceList?: string;
@@ -42598,7 +42654,7 @@ export interface components {
42598
42654
  * Format: uuid
42599
42655
  * @description
42600
42656
  * - This field is required when the price list is active in sales settings, and visible if inventory is on.
42601
- * - /api/v1/sales/price-list/
42657
+ * - /api/v1/sales/price-list/ and filter by priceListType equals to wholesale
42602
42658
  *
42603
42659
  */
42604
42660
  priceList?: string;
@@ -44280,7 +44336,7 @@ export interface components {
44280
44336
  * - This field is required when the price list feature is enabled in sales settings. (AND)
44281
44337
  * - It is visible only if inventory is enabled. (AND)
44282
44338
  *
44283
- * - Endpoint: /api/v1/sales/price-list/
44339
+ * - Endpoint: /api/v1/sales/price-list/ and filter by priceListType equals to wholesale
44284
44340
  * - Filters:
44285
44341
  *
44286
44342
  * 1. **Active Date Range** (AND):
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.835",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],