@erp-galoper/types 1.0.869 → 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 +60 -11
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26670,6 +26670,7 @@ export interface components {
26670
26670
  id: number;
26671
26671
  /** Accountnumber */
26672
26672
  accountNumber: string;
26673
+ currency: components["schemas"]["CommonCurrency"];
26673
26674
  /** Balance */
26674
26675
  balance: number;
26675
26676
  /** Companybalance */
@@ -40371,9 +40372,17 @@ export interface components {
40371
40372
  /**
40372
40373
  * Unitprice
40373
40374
  * @description
40374
- * - This field is a number.
40375
- * - Should be greater than zero.
40376
- * - 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 ]
40377
40386
  *
40378
40387
  */
40379
40388
  unitPrice: string;
@@ -40415,7 +40424,11 @@ export interface components {
40415
40424
  unitOfMeasure?: number;
40416
40425
  /**
40417
40426
  * Discount
40418
- * @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
+ *
40419
40432
  * @default 0
40420
40433
  */
40421
40434
  discount: number;
@@ -40491,7 +40504,11 @@ export interface components {
40491
40504
  validityDate?: string;
40492
40505
  /**
40493
40506
  * Discount
40494
- * @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
+ *
40495
40512
  * @default 0
40496
40513
  */
40497
40514
  discount: number;
@@ -42591,7 +42608,15 @@ export interface components {
42591
42608
  * Unitprice
42592
42609
  * @description
42593
42610
  * - This field is a number.
42594
- * - 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 ]
42595
42620
  *
42596
42621
  */
42597
42622
  unitPrice: number;
@@ -42632,7 +42657,11 @@ export interface components {
42632
42657
  unitOfMeasure?: number;
42633
42658
  /**
42634
42659
  * Discount
42635
- * @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
+ *
42636
42665
  * @default 0
42637
42666
  */
42638
42667
  discount: number;
@@ -42721,7 +42750,11 @@ export interface components {
42721
42750
  deliveryDate: string;
42722
42751
  /**
42723
42752
  * Discount
42724
- * @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
+ *
42725
42758
  * @default 0
42726
42759
  */
42727
42760
  discount: number;
@@ -44252,7 +44285,15 @@ export interface components {
44252
44285
  * Unitprice
44253
44286
  * @description
44254
44287
  * - This field is a number.
44255
- * - 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 ]
44256
44297
  *
44257
44298
  */
44258
44299
  unitPrice: number;
@@ -44293,7 +44334,11 @@ export interface components {
44293
44334
  unitOfMeasure?: number;
44294
44335
  /**
44295
44336
  * Discount
44296
- * @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
+ *
44297
44342
  * @default 0
44298
44343
  */
44299
44344
  discount: number;
@@ -44419,7 +44464,11 @@ export interface components {
44419
44464
  deliveryDate?: string;
44420
44465
  /**
44421
44466
  * Discount
44422
- * @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
+ *
44423
44472
  * @default 0
44424
44473
  */
44425
44474
  discount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.869",
3
+ "version": "1.0.871",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],