@epilot/pricing-client 3.10.0 → 3.11.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,19 +496,13 @@ declare namespace Components {
496
496
  files?: string[];
497
497
  status?: /**
498
498
  *
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 |
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 |
512
506
  *
513
507
  */
514
508
  OrderStatus;
@@ -1279,19 +1273,13 @@ declare namespace Components {
1279
1273
  cart_id?: string;
1280
1274
  status?: /**
1281
1275
  *
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 |
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 |
1295
1283
  *
1296
1284
  */
1297
1285
  OrderStatus;
@@ -1416,19 +1404,13 @@ declare namespace Components {
1416
1404
  [name: string]: any;
1417
1405
  status?: /**
1418
1406
  *
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 |
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 |
1432
1414
  *
1433
1415
  */
1434
1416
  OrderStatus;
@@ -1495,22 +1477,16 @@ declare namespace Components {
1495
1477
  }
1496
1478
  /**
1497
1479
  *
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 |
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 |
1511
1487
  *
1512
1488
  */
1513
- export type OrderStatus = "draft" | "new" | "open_for_acceptance" | "in_progress" | "quote" | "offer" | "placed" | "order_accepted" | "cancelled" | "lost" | "complete";
1489
+ export type OrderStatus = "draft" | "quote" | "placed" | "cancelled" | "completed";
1514
1490
  /**
1515
1491
  * A PaymentMethod represent your customer's payment instruments.
1516
1492
  *
package/dist/openapi.json CHANGED
@@ -2210,18 +2210,12 @@
2210
2210
  "type": "string",
2211
2211
  "enum": [
2212
2212
  "draft",
2213
- "new",
2214
- "open_for_acceptance",
2215
- "in_progress",
2216
2213
  "quote",
2217
- "offer",
2218
2214
  "placed",
2219
- "order_accepted",
2220
2215
  "cancelled",
2221
- "lost",
2222
- "complete"
2216
+ "completed"
2223
2217
  ],
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"
2218
+ "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"
2225
2219
  },
2226
2220
  "PriceItemsDto": {
2227
2221
  "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.10.0",
3
+ "version": "3.11.0",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "scripts": {
24
24
  "test": "jest",
25
25
  "bundle-definition": "webpack",
26
- "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/pricing-api.yaml",
26
+ "openapi": "node ../../scripts/update-openapi.js /Users/paulohenriques/Documents/pricing-api/lambda/ApiHandlerFunction/openapi.yml",
27
27
  "typegen": "echo '/* eslint-disable */' > src/openapi.d.ts && typegen ./src/openapi.json >> src/openapi.d.ts",
28
28
  "build": "tsc && npm run bundle-definition",
29
29
  "build:watch": "npm run build && tsc -w",