@erp-galoper/types 1.0.870 → 1.0.871

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 -11
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -40372,9 +40372,17 @@ export interface components {
40372
40372
  /**
40373
40373
  * Unitprice
40374
40374
  * @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.
40375
+ * - This field is a number.
40376
+ * - Should be greater than zero.
40377
+ * - Get the unit price from sales/item/{id}/price/ with the following parameters:
40378
+ * - id : item id
40379
+ * - usdRate : secondary rate
40380
+ * - companyRate : primary rate
40381
+ * - customer : customer id
40382
+ * - unitOfMeasure : item unit of measure id
40383
+ * - itemPackage : item package id if applicable
40384
+ * Note: if price list on you should pass price list id in the parameters
40385
+ * - field should be disabled if price list is on and user dont have access to change price, permissionKey : price : [ change ]
40378
40386
  *
40379
40387
  */
40380
40388
  unitPrice: string;
@@ -40416,7 +40424,11 @@ export interface components {
40416
40424
  unitOfMeasure?: number;
40417
40425
  /**
40418
40426
  * Discount
40419
- * @description if promotionsAndOffers exist discount should be zero
40427
+ * @description "
40428
+ * - field should be disabled if:
40429
+ * - offer and promotions exist, and the value should be equal to selected offers
40430
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
40431
+ *
40420
40432
  * @default 0
40421
40433
  */
40422
40434
  discount: number;
@@ -40492,7 +40504,11 @@ export interface components {
40492
40504
  validityDate?: string;
40493
40505
  /**
40494
40506
  * Discount
40495
- * @description if promotionsAndOffers exist discount should be zero
40507
+ * @description
40508
+ * - field should be disabled if:
40509
+ * - offer and promotions exist, and the value should be equal to selected offers
40510
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
40511
+ *
40496
40512
  * @default 0
40497
40513
  */
40498
40514
  discount: number;
@@ -42592,7 +42608,15 @@ export interface components {
42592
42608
  * Unitprice
42593
42609
  * @description
42594
42610
  * - This field is a number.
42595
- * - Retrieve the unit price from sales/item/{id}/price/ if the item is selected.
42611
+ * - Get the unit price from sales/item/{id}/price/ with the following parameters:
42612
+ * - id : item id
42613
+ * - usdRate : secondary rate
42614
+ * - companyRate : primary rate
42615
+ * - customer : customer id
42616
+ * - unitOfMeasure : item unit of measure id
42617
+ * - itemPackage : item package id if applicable
42618
+ * Note: if price list on you should pass price list id in the parameters
42619
+ * - field should be disabled if price list is on and user dont have access to change price, permissionKey : price : [ change ]
42596
42620
  *
42597
42621
  */
42598
42622
  unitPrice: number;
@@ -42633,7 +42657,11 @@ export interface components {
42633
42657
  unitOfMeasure?: number;
42634
42658
  /**
42635
42659
  * Discount
42636
- * @description if promotionsAndOffers exist discount should be zero
42660
+ * @description
42661
+ * - field should be disabled if:
42662
+ * - offer and promotions exist, and the value should be equal to selected offers
42663
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
42664
+ *
42637
42665
  * @default 0
42638
42666
  */
42639
42667
  discount: number;
@@ -42722,7 +42750,11 @@ export interface components {
42722
42750
  deliveryDate: string;
42723
42751
  /**
42724
42752
  * Discount
42725
- * @description Discount percentage applied to the order,if promotionsAndOffers exist discount should be zero
42753
+ * @description
42754
+ * - field should be disabled if:
42755
+ * - offer and promotions exist, and the value should be equal to selected offers
42756
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
42757
+ *
42726
42758
  * @default 0
42727
42759
  */
42728
42760
  discount: number;
@@ -44253,7 +44285,15 @@ export interface components {
44253
44285
  * Unitprice
44254
44286
  * @description
44255
44287
  * - This field is a number.
44256
- * - Retrieve the unit price from sales/item/{id}/price/ if the item is selected.
44288
+ * - Get the unit price from sales/item/{id}/price/ with the following parameters:
44289
+ * - id : item id
44290
+ * - usdRate : secondary rate
44291
+ * - companyRate : primary rate
44292
+ * - customer : customer id
44293
+ * - unitOfMeasure : item unit of measure id
44294
+ * - itemPackage : item package id if applicable
44295
+ * Note: if price list on you should pass price list id in the parameters
44296
+ * - field should be disabled if price list is on and user dont have access to change price, permissionKey : price : [ change ]
44257
44297
  *
44258
44298
  */
44259
44299
  unitPrice: number;
@@ -44294,7 +44334,11 @@ export interface components {
44294
44334
  unitOfMeasure?: number;
44295
44335
  /**
44296
44336
  * Discount
44297
- * @description if promotionsAndOffers exist discount should be zero
44337
+ * @description
44338
+ * - field should be disabled if:
44339
+ * - offer and promotions exist, and the value should be equal to selected offers
44340
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
44341
+ *
44298
44342
  * @default 0
44299
44343
  */
44300
44344
  discount: number;
@@ -44420,7 +44464,11 @@ export interface components {
44420
44464
  deliveryDate?: string;
44421
44465
  /**
44422
44466
  * Discount
44423
- * @description Discount percentage applied to the invoice,if promotionsAndOffers exist discount should be zero
44467
+ * @description
44468
+ * - field should be disabled if:
44469
+ * - offer and promotions exist, and the value should be equal to selected offers
44470
+ * - user dont have access to set discount, permissionKey : discount : [ add ]
44471
+ *
44424
44472
  * @default 0
44425
44473
  */
44426
44474
  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.871",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],