@teemill/orders 1.0.2 → 1.0.3

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 (69) hide show
  1. package/.openapi-generator/FILES +1 -1
  2. package/README.md +2 -2
  3. package/dist/apis/OrdersApi.d.ts +1 -1
  4. package/dist/apis/OrdersApi.js +1 -1
  5. package/dist/models/Address.d.ts +1 -1
  6. package/dist/models/Address.js +1 -1
  7. package/dist/models/ApiError.d.ts +1 -1
  8. package/dist/models/ApiError.js +1 -1
  9. package/dist/models/ConfirmOrderFulfillment.d.ts +1 -1
  10. package/dist/models/ConfirmOrderFulfillment.js +1 -1
  11. package/dist/models/ConfirmOrderRequest.d.ts +1 -1
  12. package/dist/models/ConfirmOrderRequest.js +1 -1
  13. package/dist/models/ConfirmOrderValidationError.d.ts +1 -1
  14. package/dist/models/ConfirmOrderValidationError.js +1 -1
  15. package/dist/models/ContactInformation.d.ts +1 -1
  16. package/dist/models/ContactInformation.js +1 -1
  17. package/dist/models/DeliveryEstimates.d.ts +1 -1
  18. package/dist/models/DeliveryEstimates.js +1 -1
  19. package/dist/models/Fulfillment.d.ts +1 -1
  20. package/dist/models/Fulfillment.js +1 -1
  21. package/dist/models/FulfillmentItem.d.ts +1 -1
  22. package/dist/models/FulfillmentItem.js +1 -1
  23. package/dist/models/Order.d.ts +8 -1
  24. package/dist/models/Order.js +4 -1
  25. package/dist/models/OrderItem.d.ts +1 -1
  26. package/dist/models/OrderItem.js +1 -1
  27. package/dist/models/OrderItemTaxPrice.d.ts +1 -1
  28. package/dist/models/OrderItemTaxPrice.js +1 -1
  29. package/dist/models/OrderTracking.d.ts +1 -1
  30. package/dist/models/OrderTracking.js +1 -1
  31. package/dist/models/OrdersResponse.d.ts +1 -1
  32. package/dist/models/OrdersResponse.js +1 -1
  33. package/dist/models/Origin.d.ts +1 -1
  34. package/dist/models/Origin.js +1 -1
  35. package/dist/models/Price.d.ts +1 -1
  36. package/dist/models/Price.js +1 -1
  37. package/dist/models/ShippingMethod.d.ts +1 -1
  38. package/dist/models/ShippingMethod.js +1 -1
  39. package/dist/models/Status.d.ts +1 -1
  40. package/dist/models/Status.js +1 -1
  41. package/dist/models/StatusHistoryItem.d.ts +38 -0
  42. package/dist/models/StatusHistoryItem.js +53 -0
  43. package/dist/models/index.d.ts +1 -0
  44. package/dist/models/index.js +1 -0
  45. package/dist/runtime.d.ts +1 -1
  46. package/dist/runtime.js +1 -1
  47. package/package.json +1 -1
  48. package/src/apis/OrdersApi.ts +1 -1
  49. package/src/models/Address.ts +1 -1
  50. package/src/models/ApiError.ts +1 -1
  51. package/src/models/ConfirmOrderFulfillment.ts +1 -1
  52. package/src/models/ConfirmOrderRequest.ts +1 -1
  53. package/src/models/ConfirmOrderValidationError.ts +1 -1
  54. package/src/models/ContactInformation.ts +1 -1
  55. package/src/models/DeliveryEstimates.ts +1 -1
  56. package/src/models/Fulfillment.ts +1 -1
  57. package/src/models/FulfillmentItem.ts +1 -1
  58. package/src/models/Order.ts +15 -1
  59. package/src/models/OrderItem.ts +1 -1
  60. package/src/models/OrderItemTaxPrice.ts +1 -1
  61. package/src/models/OrderTracking.ts +1 -1
  62. package/src/models/OrdersResponse.ts +1 -1
  63. package/src/models/Origin.ts +1 -1
  64. package/src/models/Price.ts +1 -1
  65. package/src/models/ShippingMethod.ts +1 -1
  66. package/src/models/Status.ts +1 -1
  67. package/src/models/StatusHistoryItem.ts +80 -0
  68. package/src/models/index.ts +1 -0
  69. package/src/runtime.ts +1 -1
@@ -1,6 +1,5 @@
1
1
  .gitignore
2
2
  .npmignore
3
- .openapi-generator-ignore
4
3
  README.md
5
4
  package.json
6
5
  src/apis/OrdersApi.ts
@@ -24,6 +23,7 @@ src/models/Origin.ts
24
23
  src/models/Price.ts
25
24
  src/models/ShippingMethod.ts
26
25
  src/models/Status.ts
26
+ src/models/StatusHistoryItem.ts
27
27
  src/models/index.ts
28
28
  src/runtime.ts
29
29
  tsconfig.json
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/orders@1.0.2
1
+ ## @teemill/orders@1.0.3
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/orders@1.0.2 --save
39
+ npm install @teemill/orders@1.0.3 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,6 +16,7 @@ import type { OrderItem } from './OrderItem';
16
16
  import type { Origin } from './Origin';
17
17
  import type { Price } from './Price';
18
18
  import type { Status } from './Status';
19
+ import type { StatusHistoryItem } from './StatusHistoryItem';
19
20
  /**
20
21
  *
21
22
  * @export
@@ -118,6 +119,12 @@ export interface Order {
118
119
  * @memberof Order
119
120
  */
120
121
  origin?: Origin;
122
+ /**
123
+ *
124
+ * @type {Array<StatusHistoryItem>}
125
+ * @memberof Order
126
+ */
127
+ statusHistory?: Array<StatusHistoryItem>;
121
128
  }
122
129
  /**
123
130
  * Check if a given object implements the Order interface.
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,6 +22,7 @@ var OrderItem_1 = require("./OrderItem");
22
22
  var Origin_1 = require("./Origin");
23
23
  var Price_1 = require("./Price");
24
24
  var Status_1 = require("./Status");
25
+ var StatusHistoryItem_1 = require("./StatusHistoryItem");
25
26
  /**
26
27
  * Check if a given object implements the Order interface.
27
28
  */
@@ -58,6 +59,7 @@ function OrderFromJSONTyped(json, ignoreDiscriminator) {
58
59
  'discountPrice': !(0, runtime_1.exists)(json, 'discountPrice') ? undefined : (0, Price_1.PriceFromJSON)(json['discountPrice']),
59
60
  'shippingPrice': !(0, runtime_1.exists)(json, 'shippingPrice') ? undefined : (0, Price_1.PriceFromJSON)(json['shippingPrice']),
60
61
  'origin': !(0, runtime_1.exists)(json, 'origin') ? undefined : (0, Origin_1.OriginFromJSON)(json['origin']),
62
+ 'statusHistory': !(0, runtime_1.exists)(json, 'statusHistory') ? undefined : (json['statusHistory'].map(StatusHistoryItem_1.StatusHistoryItemFromJSON)),
61
63
  };
62
64
  }
63
65
  exports.OrderFromJSONTyped = OrderFromJSONTyped;
@@ -84,6 +86,7 @@ function OrderToJSON(value) {
84
86
  'discountPrice': (0, Price_1.PriceToJSON)(value.discountPrice),
85
87
  'shippingPrice': (0, Price_1.PriceToJSON)(value.shippingPrice),
86
88
  'origin': (0, Origin_1.OriginToJSON)(value.origin),
89
+ 'statusHistory': value.statusHistory === undefined ? undefined : (value.statusHistory.map(StatusHistoryItem_1.StatusHistoryItemToJSON)),
87
90
  };
88
91
  }
89
92
  exports.OrderToJSON = OrderToJSON;
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Orders API
3
+ * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.3
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Status } from './Status';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface StatusHistoryItem
17
+ */
18
+ export interface StatusHistoryItem {
19
+ /**
20
+ *
21
+ * @type {Status}
22
+ * @memberof StatusHistoryItem
23
+ */
24
+ status?: Status;
25
+ /**
26
+ * ISO 8601 Timestamp
27
+ * @type {Date}
28
+ * @memberof StatusHistoryItem
29
+ */
30
+ createdAt?: Date;
31
+ }
32
+ /**
33
+ * Check if a given object implements the StatusHistoryItem interface.
34
+ */
35
+ export declare function instanceOfStatusHistoryItem(value: object): boolean;
36
+ export declare function StatusHistoryItemFromJSON(json: any): StatusHistoryItem;
37
+ export declare function StatusHistoryItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusHistoryItem;
38
+ export declare function StatusHistoryItemToJSON(value?: StatusHistoryItem | null): any;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Orders API
6
+ * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.3
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.StatusHistoryItemToJSON = exports.StatusHistoryItemFromJSONTyped = exports.StatusHistoryItemFromJSON = exports.instanceOfStatusHistoryItem = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var Status_1 = require("./Status");
19
+ /**
20
+ * Check if a given object implements the StatusHistoryItem interface.
21
+ */
22
+ function instanceOfStatusHistoryItem(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfStatusHistoryItem = instanceOfStatusHistoryItem;
27
+ function StatusHistoryItemFromJSON(json) {
28
+ return StatusHistoryItemFromJSONTyped(json, false);
29
+ }
30
+ exports.StatusHistoryItemFromJSON = StatusHistoryItemFromJSON;
31
+ function StatusHistoryItemFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'status': !(0, runtime_1.exists)(json, 'status') ? undefined : (0, Status_1.StatusFromJSON)(json['status']),
37
+ 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
38
+ };
39
+ }
40
+ exports.StatusHistoryItemFromJSONTyped = StatusHistoryItemFromJSONTyped;
41
+ function StatusHistoryItemToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'status': (0, Status_1.StatusToJSON)(value.status),
50
+ 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
51
+ };
52
+ }
53
+ exports.StatusHistoryItemToJSON = StatusHistoryItemToJSON;
@@ -16,3 +16,4 @@ export * from './Origin';
16
16
  export * from './Price';
17
17
  export * from './ShippingMethod';
18
18
  export * from './Status';
19
+ export * from './StatusHistoryItem';
@@ -34,3 +34,4 @@ __exportStar(require("./Origin"), exports);
34
34
  __exportStar(require("./Price"), exports);
35
35
  __exportStar(require("./ShippingMethod"), exports);
36
36
  __exportStar(require("./Status"), exports);
37
+ __exportStar(require("./StatusHistoryItem"), exports);
package/dist/runtime.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.2
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/runtime.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.2
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/orders",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "OpenAPI client for @teemill/orders",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -55,6 +55,12 @@ import {
55
55
  StatusFromJSONTyped,
56
56
  StatusToJSON,
57
57
  } from './Status';
58
+ import type { StatusHistoryItem } from './StatusHistoryItem';
59
+ import {
60
+ StatusHistoryItemFromJSON,
61
+ StatusHistoryItemFromJSONTyped,
62
+ StatusHistoryItemToJSON,
63
+ } from './StatusHistoryItem';
58
64
 
59
65
  /**
60
66
  *
@@ -158,6 +164,12 @@ export interface Order {
158
164
  * @memberof Order
159
165
  */
160
166
  origin?: Origin;
167
+ /**
168
+ *
169
+ * @type {Array<StatusHistoryItem>}
170
+ * @memberof Order
171
+ */
172
+ statusHistory?: Array<StatusHistoryItem>;
161
173
  }
162
174
 
163
175
  /**
@@ -198,6 +210,7 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord
198
210
  'discountPrice': !exists(json, 'discountPrice') ? undefined : PriceFromJSON(json['discountPrice']),
199
211
  'shippingPrice': !exists(json, 'shippingPrice') ? undefined : PriceFromJSON(json['shippingPrice']),
200
212
  'origin': !exists(json, 'origin') ? undefined : OriginFromJSON(json['origin']),
213
+ 'statusHistory': !exists(json, 'statusHistory') ? undefined : ((json['statusHistory'] as Array<any>).map(StatusHistoryItemFromJSON)),
201
214
  };
202
215
  }
203
216
 
@@ -225,6 +238,7 @@ export function OrderToJSON(value?: Order | null): any {
225
238
  'discountPrice': PriceToJSON(value.discountPrice),
226
239
  'shippingPrice': PriceToJSON(value.shippingPrice),
227
240
  'origin': OriginToJSON(value.origin),
241
+ 'statusHistory': value.statusHistory === undefined ? undefined : ((value.statusHistory as Array<any>).map(StatusHistoryItemToJSON)),
228
242
  };
229
243
  }
230
244
 
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,80 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Orders API
5
+ * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.3
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { Status } from './Status';
17
+ import {
18
+ StatusFromJSON,
19
+ StatusFromJSONTyped,
20
+ StatusToJSON,
21
+ } from './Status';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface StatusHistoryItem
27
+ */
28
+ export interface StatusHistoryItem {
29
+ /**
30
+ *
31
+ * @type {Status}
32
+ * @memberof StatusHistoryItem
33
+ */
34
+ status?: Status;
35
+ /**
36
+ * ISO 8601 Timestamp
37
+ * @type {Date}
38
+ * @memberof StatusHistoryItem
39
+ */
40
+ createdAt?: Date;
41
+ }
42
+
43
+ /**
44
+ * Check if a given object implements the StatusHistoryItem interface.
45
+ */
46
+ export function instanceOfStatusHistoryItem(value: object): boolean {
47
+ let isInstance = true;
48
+
49
+ return isInstance;
50
+ }
51
+
52
+ export function StatusHistoryItemFromJSON(json: any): StatusHistoryItem {
53
+ return StatusHistoryItemFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function StatusHistoryItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusHistoryItem {
57
+ if ((json === undefined) || (json === null)) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'status': !exists(json, 'status') ? undefined : StatusFromJSON(json['status']),
63
+ 'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
64
+ };
65
+ }
66
+
67
+ export function StatusHistoryItemToJSON(value?: StatusHistoryItem | null): any {
68
+ if (value === undefined) {
69
+ return undefined;
70
+ }
71
+ if (value === null) {
72
+ return null;
73
+ }
74
+ return {
75
+
76
+ 'status': StatusToJSON(value.status),
77
+ 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
78
+ };
79
+ }
80
+
@@ -18,3 +18,4 @@ export * from './Origin';
18
18
  export * from './Price';
19
19
  export * from './ShippingMethod';
20
20
  export * from './Status';
21
+ export * from './StatusHistoryItem';
package/src/runtime.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.2
7
+ * The version of the OpenAPI document: 1.0.3
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).