@epilot/pricing-client 3.9.1 → 3.10.0

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.
package/dist/openapi.d.ts CHANGED
@@ -496,13 +496,19 @@ declare namespace Components {
496
496
  files?: string[];
497
497
  status?: /**
498
498
  *
499
- * | status | description |
500
- * |-------------|-------|
501
- * | `draft` | ​​Starting state for all orders, at this point we can still edit the order |
502
- * | `quote` | The order is in a quoting phase, bound to an expiration date |
503
- * | `placed` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |
504
- * | `cancelled` | The order has been cancelled |
505
- * | `completed` | The order is now closed and finalized |
499
+ * | status | description |
500
+ * |-------------|----------|
501
+ * | `new` | Starting state for all orders, at this point we can still edit the order |
502
+ * | `draft` | old value of 'new' |
503
+ * | `in_progress` | The order is open to accept by user |
504
+ * | `open_for_acceptance` | old value of 'in_progress' |
505
+ * | `offer` | The order is in a quoting phase, bound to an expiration date |
506
+ * | `quote` | old value of offer |
507
+ * | `order_accepted` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |
508
+ * | `placed` | old value of order_accepted |
509
+ * | `lost ` | The order has been cancelled |
510
+ * | `cancelled` | old value of lost |
511
+ * | `complete` | The order is now closed and finalized |
506
512
  *
507
513
  */
508
514
  OrderStatus;
@@ -1273,13 +1279,19 @@ declare namespace Components {
1273
1279
  cart_id?: string;
1274
1280
  status?: /**
1275
1281
  *
1276
- * | status | description |
1277
- * |-------------|-------|
1278
- * | `draft` | ​​Starting state for all orders, at this point we can still edit the order |
1279
- * | `quote` | The order is in a quoting phase, bound to an expiration date |
1280
- * | `placed` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |
1281
- * | `cancelled` | The order has been cancelled |
1282
- * | `completed` | The order is now closed and finalized |
1282
+ * | status | description |
1283
+ * |-------------|----------|
1284
+ * | `new` | Starting state for all orders, at this point we can still edit the order |
1285
+ * | `draft` | old value of 'new' |
1286
+ * | `in_progress` | The order is open to accept by user |
1287
+ * | `open_for_acceptance` | old value of 'in_progress' |
1288
+ * | `offer` | The order is in a quoting phase, bound to an expiration date |
1289
+ * | `quote` | old value of offer |
1290
+ * | `order_accepted` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |
1291
+ * | `placed` | old value of order_accepted |
1292
+ * | `lost ` | The order has been cancelled |
1293
+ * | `cancelled` | old value of lost |
1294
+ * | `complete` | The order is now closed and finalized |
1283
1295
  *
1284
1296
  */
1285
1297
  OrderStatus;
@@ -1404,13 +1416,19 @@ declare namespace Components {
1404
1416
  [name: string]: any;
1405
1417
  status?: /**
1406
1418
  *
1407
- * | status | description |
1408
- * |-------------|-------|
1409
- * | `draft` | ​​Starting state for all orders, at this point we can still edit the order |
1410
- * | `quote` | The order is in a quoting phase, bound to an expiration date |
1411
- * | `placed` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |
1412
- * | `cancelled` | The order has been cancelled |
1413
- * | `completed` | The order is now closed and finalized |
1419
+ * | status | description |
1420
+ * |-------------|----------|
1421
+ * | `new` | Starting state for all orders, at this point we can still edit the order |
1422
+ * | `draft` | old value of 'new' |
1423
+ * | `in_progress` | The order is open to accept by user |
1424
+ * | `open_for_acceptance` | old value of 'in_progress' |
1425
+ * | `offer` | The order is in a quoting phase, bound to an expiration date |
1426
+ * | `quote` | old value of offer |
1427
+ * | `order_accepted` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |
1428
+ * | `placed` | old value of order_accepted |
1429
+ * | `lost ` | The order has been cancelled |
1430
+ * | `cancelled` | old value of lost |
1431
+ * | `complete` | The order is now closed and finalized |
1414
1432
  *
1415
1433
  */
1416
1434
  OrderStatus;
@@ -1477,16 +1495,22 @@ declare namespace Components {
1477
1495
  }
1478
1496
  /**
1479
1497
  *
1480
- * | status | description |
1481
- * |-------------|-------|
1482
- * | `draft` | ​​Starting state for all orders, at this point we can still edit the order |
1483
- * | `quote` | The order is in a quoting phase, bound to an expiration date |
1484
- * | `placed` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |
1485
- * | `cancelled` | The order has been cancelled |
1486
- * | `completed` | The order is now closed and finalized |
1498
+ * | status | description |
1499
+ * |-------------|----------|
1500
+ * | `new` | Starting state for all orders, at this point we can still edit the order |
1501
+ * | `draft` | old value of 'new' |
1502
+ * | `in_progress` | The order is open to accept by user |
1503
+ * | `open_for_acceptance` | old value of 'in_progress' |
1504
+ * | `offer` | The order is in a quoting phase, bound to an expiration date |
1505
+ * | `quote` | old value of offer |
1506
+ * | `order_accepted` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |
1507
+ * | `placed` | old value of order_accepted |
1508
+ * | `lost ` | The order has been cancelled |
1509
+ * | `cancelled` | old value of lost |
1510
+ * | `complete` | The order is now closed and finalized |
1487
1511
  *
1488
1512
  */
1489
- export type OrderStatus = "draft" | "quote" | "placed" | "cancelled" | "completed";
1513
+ export type OrderStatus = "draft" | "new" | "open_for_acceptance" | "in_progress" | "quote" | "offer" | "placed" | "order_accepted" | "cancelled" | "lost" | "complete";
1490
1514
  /**
1491
1515
  * A PaymentMethod represent your customer's payment instruments.
1492
1516
  *
@@ -2623,6 +2647,10 @@ declare namespace Components {
2623
2647
  * The error message
2624
2648
  */
2625
2649
  msg: string;
2650
+ /**
2651
+ * Data related to the error
2652
+ */
2653
+ data?: string;
2626
2654
  }
2627
2655
  /**
2628
2656
  * The availability map file result payload
package/dist/openapi.json CHANGED
@@ -2050,6 +2050,10 @@
2050
2050
  "msg": {
2051
2051
  "description": "The error message",
2052
2052
  "type": "string"
2053
+ },
2054
+ "data": {
2055
+ "description": "Data related to the error",
2056
+ "type": "string"
2053
2057
  }
2054
2058
  },
2055
2059
  "required": [
@@ -2206,12 +2210,18 @@
2206
2210
  "type": "string",
2207
2211
  "enum": [
2208
2212
  "draft",
2213
+ "new",
2214
+ "open_for_acceptance",
2215
+ "in_progress",
2209
2216
  "quote",
2217
+ "offer",
2210
2218
  "placed",
2219
+ "order_accepted",
2211
2220
  "cancelled",
2212
- "completed"
2221
+ "lost",
2222
+ "complete"
2213
2223
  ],
2214
- "description": "\n| status | description |\n|-------------|-------|\n| `draft` | ​​Starting state for all orders, at this point we can still edit the order |\n| `quote` | The order is in a quoting phase, bound to an expiration date |\n| `placed` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |\n| `cancelled` | The order has been cancelled |\n| `completed` | The order is now closed and finalized |\n"
2224
+ "description": "\n| status | description |\n|-------------|----------|\n| `new` | Starting state for all orders, at this point we can still edit the order |\n| `draft` | old value of 'new' |\n| `in_progress` | The order is open to accept by user |\n| `open_for_acceptance` | old value of 'in_progress' |\n| `offer` | The order is in a quoting phase, bound to an expiration date |\n| `quote` | old value of offer |\n| `order_accepted` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |\n| `placed` | old value of order_accepted |\n| `lost ` | The order has been cancelled |\n| `cancelled` | old value of lost |\n| `complete` | The order is now closed and finalized |\n"
2215
2225
  },
2216
2226
  "PriceItemsDto": {
2217
2227
  "description": "A valid set of product prices, quantities, (discounts) and taxes from a client.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.9.1",
3
+ "version": "3.10.0",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",