@erp-galoper/types 1.0.870 → 1.0.872

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 +59 -16
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -27917,11 +27917,6 @@ export interface components {
27917
27917
  *
27918
27918
  */
27919
27919
  secondaryTotal: string | null;
27920
- /**
27921
- * Remainingquantity
27922
- * @description This field is a number representing the remaining quantity of the item.
27923
- */
27924
- remainingQuantity: number;
27925
27920
  /**
27926
27921
  * Promotionsandoffers
27927
27922
  * @description A list of promotions and offers applied to the sales invoice.
@@ -40372,9 +40367,17 @@ export interface components {
40372
40367
  /**
40373
40368
  * Unitprice
40374
40369
  * @description
40375
- * - This field is a number.
40376
- * - Should be greater than zero.
40377
- * - Get the unit price from sales/item/{id}/price/ if item is selected.
40370
+ * - This field is a number.
40371
+ * - Should be greater than zero.
40372
+ * - Get the unit price from sales/item/{id}/price/ with the following parameters:
40373
+ * - id : item id
40374
+ * - usdRate : secondary rate
40375
+ * - companyRate : primary rate
40376
+ * - customer : customer id
40377
+ * - unitOfMeasure : item unit of measure id
40378
+ * - itemPackage : item package id if applicable
40379
+ * Note: if price list on you should pass price list id in the parameters
40380
+ * - field should be disabled if price list is on and user dont have access to change price, permissionKey : price : [ change ]
40378
40381
  *
40379
40382
  */
40380
40383
  unitPrice: string;
@@ -40416,7 +40419,11 @@ export interface components {
40416
40419
  unitOfMeasure?: number;
40417
40420
  /**
40418
40421
  * Discount
40419
- * @description if promotionsAndOffers exist discount should be zero
40422
+ * @description "
40423
+ * - field should be disabled if:
40424
+ * - offer and promotions exist, and the value should be equal to selected offers
40425
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
40426
+ *
40420
40427
  * @default 0
40421
40428
  */
40422
40429
  discount: number;
@@ -40492,7 +40499,11 @@ export interface components {
40492
40499
  validityDate?: string;
40493
40500
  /**
40494
40501
  * Discount
40495
- * @description if promotionsAndOffers exist discount should be zero
40502
+ * @description
40503
+ * - field should be disabled if:
40504
+ * - offer and promotions exist, and the value should be equal to selected offers
40505
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
40506
+ *
40496
40507
  * @default 0
40497
40508
  */
40498
40509
  discount: number;
@@ -42592,7 +42603,15 @@ export interface components {
42592
42603
  * Unitprice
42593
42604
  * @description
42594
42605
  * - This field is a number.
42595
- * - Retrieve the unit price from sales/item/{id}/price/ if the item is selected.
42606
+ * - Get the unit price from sales/item/{id}/price/ with the following parameters:
42607
+ * - id : item id
42608
+ * - usdRate : secondary rate
42609
+ * - companyRate : primary rate
42610
+ * - customer : customer id
42611
+ * - unitOfMeasure : item unit of measure id
42612
+ * - itemPackage : item package id if applicable
42613
+ * Note: if price list on you should pass price list id in the parameters
42614
+ * - field should be disabled if price list is on and user dont have access to change price, permissionKey : price : [ change ]
42596
42615
  *
42597
42616
  */
42598
42617
  unitPrice: number;
@@ -42633,7 +42652,11 @@ export interface components {
42633
42652
  unitOfMeasure?: number;
42634
42653
  /**
42635
42654
  * Discount
42636
- * @description if promotionsAndOffers exist discount should be zero
42655
+ * @description
42656
+ * - field should be disabled if:
42657
+ * - offer and promotions exist, and the value should be equal to selected offers
42658
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
42659
+ *
42637
42660
  * @default 0
42638
42661
  */
42639
42662
  discount: number;
@@ -42722,7 +42745,11 @@ export interface components {
42722
42745
  deliveryDate: string;
42723
42746
  /**
42724
42747
  * Discount
42725
- * @description Discount percentage applied to the order,if promotionsAndOffers exist discount should be zero
42748
+ * @description
42749
+ * - field should be disabled if:
42750
+ * - offer and promotions exist, and the value should be equal to selected offers
42751
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
42752
+ *
42726
42753
  * @default 0
42727
42754
  */
42728
42755
  discount: number;
@@ -44253,7 +44280,15 @@ export interface components {
44253
44280
  * Unitprice
44254
44281
  * @description
44255
44282
  * - This field is a number.
44256
- * - Retrieve the unit price from sales/item/{id}/price/ if the item is selected.
44283
+ * - Get the unit price from sales/item/{id}/price/ with the following parameters:
44284
+ * - id : item id
44285
+ * - usdRate : secondary rate
44286
+ * - companyRate : primary rate
44287
+ * - customer : customer id
44288
+ * - unitOfMeasure : item unit of measure id
44289
+ * - itemPackage : item package id if applicable
44290
+ * Note: if price list on you should pass price list id in the parameters
44291
+ * - field should be disabled if price list is on and user dont have access to change price, permissionKey : price : [ change ]
44257
44292
  *
44258
44293
  */
44259
44294
  unitPrice: number;
@@ -44294,7 +44329,11 @@ export interface components {
44294
44329
  unitOfMeasure?: number;
44295
44330
  /**
44296
44331
  * Discount
44297
- * @description if promotionsAndOffers exist discount should be zero
44332
+ * @description
44333
+ * - field should be disabled if:
44334
+ * - offer and promotions exist, and the value should be equal to selected offers
44335
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
44336
+ *
44298
44337
  * @default 0
44299
44338
  */
44300
44339
  discount: number;
@@ -44420,7 +44459,11 @@ export interface components {
44420
44459
  deliveryDate?: string;
44421
44460
  /**
44422
44461
  * Discount
44423
- * @description Discount percentage applied to the invoice,if promotionsAndOffers exist discount should be zero
44462
+ * @description
44463
+ * - field should be disabled if:
44464
+ * - offer and promotions exist, and the value should be equal to selected offers
44465
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
44466
+ *
44424
44467
  * @default 0
44425
44468
  */
44426
44469
  discount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.870",
3
+ "version": "1.0.872",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],