@teemill/platform 0.45.2 → 0.46.1

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.45.2
1
+ ## @teemill/platform@0.46.1
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). 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/platform@0.45.2 --save
39
+ npm install @teemill/platform@0.46.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -126,6 +126,7 @@ Class | Method | HTTP request | Description
126
126
  - [CreateOrder](docs/CreateOrder.md)
127
127
  - [CreateOrderChatChannel200Response](docs/CreateOrderChatChannel200Response.md)
128
128
  - [CreateOrderContactInformation](docs/CreateOrderContactInformation.md)
129
+ - [CreateOrderPaymentMethod](docs/CreateOrderPaymentMethod.md)
129
130
  - [CreatePixelRequest](docs/CreatePixelRequest.md)
130
131
  - [CreatePixelRequestFilters](docs/CreatePixelRequestFilters.md)
131
132
  - [CreateReview201Response](docs/CreateReview201Response.md)
@@ -162,6 +163,7 @@ Class | Method | HTTP request | Description
162
163
  - [OrderItem](docs/OrderItem.md)
163
164
  - [OrderItem1](docs/OrderItem1.md)
164
165
  - [OrderItem1RecipientCost](docs/OrderItem1RecipientCost.md)
166
+ - [OrderPaymentMethod](docs/OrderPaymentMethod.md)
165
167
  - [OrderStatus](docs/OrderStatus.md)
166
168
  - [OrderTracking](docs/OrderTracking.md)
167
169
  - [OrdersResponse](docs/OrdersResponse.md)
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.45.2
7
+ * The version of the OpenAPI document: 0.46.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -219,6 +219,7 @@ export interface CreateOrder {
219
219
  */
220
220
  'merchantReference'?: string | null;
221
221
  'contactInformation': CreateOrderContactInformation;
222
+ 'paymentMethod'?: CreateOrderPaymentMethod;
222
223
  'shippingAddress': Address;
223
224
  'billingAddress'?: Address;
224
225
  'customsInformation'?: CustomsInformation;
@@ -239,6 +240,10 @@ export interface CreateOrder {
239
240
  * Determine whether this order will go through the bulk production flow or not
240
241
  */
241
242
  'bulk'?: boolean;
243
+ /**
244
+ * The discount to be applied to the order.
245
+ */
246
+ 'discount'?: number;
242
247
  }
243
248
  export interface CreateOrderChatChannel200Response {
244
249
  /**
@@ -253,6 +258,18 @@ export interface CreateOrderContactInformation {
253
258
  'email': string;
254
259
  'phone'?: string | null;
255
260
  }
261
+ export interface CreateOrderPaymentMethod {
262
+ 'type': CreateOrderPaymentMethodTypeEnum;
263
+ }
264
+
265
+ export const CreateOrderPaymentMethodTypeEnum = {
266
+ Card: 'card',
267
+ Bacs: 'bacs',
268
+ Terms: 'terms'
269
+ } as const;
270
+
271
+ export type CreateOrderPaymentMethodTypeEnum = typeof CreateOrderPaymentMethodTypeEnum[keyof typeof CreateOrderPaymentMethodTypeEnum];
272
+
256
273
  export interface CreatePixelRequest {
257
274
  'name': string;
258
275
  'sourceProjects': Array<string>;
@@ -570,6 +587,7 @@ export interface Order {
570
587
  'status'?: OrderStatus;
571
588
  'approvalItemId'?: string | null;
572
589
  'contactInformation': ContactInformation;
590
+ 'paymentMethod'?: OrderPaymentMethod | null;
573
591
  'shippingAddress': Address;
574
592
  'billingAddress'?: Address;
575
593
  /**
@@ -660,6 +678,9 @@ export interface OrderItem1RecipientCost {
660
678
  'amount': string;
661
679
  'currencyCode': string;
662
680
  }
681
+ export interface OrderPaymentMethod {
682
+ 'type': string;
683
+ }
663
684
 
664
685
  export const OrderStatus = {
665
686
  New: 'new',
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.45.2
7
+ * The version of the OpenAPI document: 0.46.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.45.2
7
+ * The version of the OpenAPI document: 0.46.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Platform API
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.45.2
6
+ * The version of the OpenAPI document: 0.46.1
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.45.2
5
+ * The version of the OpenAPI document: 0.46.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -200,6 +200,7 @@ export interface CreateOrder {
200
200
  */
201
201
  'merchantReference'?: string | null;
202
202
  'contactInformation': CreateOrderContactInformation;
203
+ 'paymentMethod'?: CreateOrderPaymentMethod;
203
204
  'shippingAddress': Address;
204
205
  'billingAddress'?: Address;
205
206
  'customsInformation'?: CustomsInformation;
@@ -220,6 +221,10 @@ export interface CreateOrder {
220
221
  * Determine whether this order will go through the bulk production flow or not
221
222
  */
222
223
  'bulk'?: boolean;
224
+ /**
225
+ * The discount to be applied to the order.
226
+ */
227
+ 'discount'?: number;
223
228
  }
224
229
  export interface CreateOrderChatChannel200Response {
225
230
  /**
@@ -234,6 +239,15 @@ export interface CreateOrderContactInformation {
234
239
  'email': string;
235
240
  'phone'?: string | null;
236
241
  }
242
+ export interface CreateOrderPaymentMethod {
243
+ 'type': CreateOrderPaymentMethodTypeEnum;
244
+ }
245
+ export declare const CreateOrderPaymentMethodTypeEnum: {
246
+ readonly Card: "card";
247
+ readonly Bacs: "bacs";
248
+ readonly Terms: "terms";
249
+ };
250
+ export type CreateOrderPaymentMethodTypeEnum = typeof CreateOrderPaymentMethodTypeEnum[keyof typeof CreateOrderPaymentMethodTypeEnum];
237
251
  export interface CreatePixelRequest {
238
252
  'name': string;
239
253
  'sourceProjects': Array<string>;
@@ -542,6 +556,7 @@ export interface Order {
542
556
  'status'?: OrderStatus;
543
557
  'approvalItemId'?: string | null;
544
558
  'contactInformation': ContactInformation;
559
+ 'paymentMethod'?: OrderPaymentMethod | null;
545
560
  'shippingAddress': Address;
546
561
  'billingAddress'?: Address;
547
562
  /**
@@ -630,6 +645,9 @@ export interface OrderItem1RecipientCost {
630
645
  'amount': string;
631
646
  'currencyCode': string;
632
647
  }
648
+ export interface OrderPaymentMethod {
649
+ 'type': string;
650
+ }
633
651
  export declare const OrderStatus: {
634
652
  readonly New: "new";
635
653
  readonly Paid: "paid";
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.45.2
8
+ * The version of the OpenAPI document: 0.46.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.ReviewsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PixelsApi = exports.PixelsApiFactory = exports.PixelsApiFp = exports.PixelsApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.ListOrdersDateFilterTypeEnum = exports.ExportOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.ModerationApi = exports.ModerationApiFactory = exports.ModerationApiFp = exports.ModerationApiAxiosParamCreator = exports.EnquiriesApi = exports.EnquiriesApiFactory = exports.EnquiriesApiFp = exports.EnquiriesApiAxiosParamCreator = exports.DashboardApi = exports.DashboardApiFactory = exports.DashboardApiFp = exports.DashboardApiAxiosParamCreator = exports.ListCustomersGenderEnum = exports.ListCustomersSortByEnum = exports.ExportCustomersGenderEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.UpdateModerationItemRequestJudgementEnum = exports.ReturnOrderRequestReturnsInnerActionEnum = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.EnquiryStatusEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.ApplicationPlacementEnum = exports.AmendmentLogAmendmentTypeEnum = exports.AmendOrderRequestAmendmentsInnerActionEnum = void 0;
26
- exports.TermsApi = exports.TermsApiFactory = exports.TermsApiFp = exports.TermsApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = void 0;
25
+ exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PixelsApi = exports.PixelsApiFactory = exports.PixelsApiFp = exports.PixelsApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.ListOrdersDateFilterTypeEnum = exports.ExportOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.ModerationApi = exports.ModerationApiFactory = exports.ModerationApiFp = exports.ModerationApiAxiosParamCreator = exports.EnquiriesApi = exports.EnquiriesApiFactory = exports.EnquiriesApiFp = exports.EnquiriesApiAxiosParamCreator = exports.DashboardApi = exports.DashboardApiFactory = exports.DashboardApiFp = exports.DashboardApiAxiosParamCreator = exports.ListCustomersGenderEnum = exports.ListCustomersSortByEnum = exports.ExportCustomersGenderEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.UpdateModerationItemRequestJudgementEnum = exports.ReturnOrderRequestReturnsInnerActionEnum = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.EnquiryStatusEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.CreateOrderPaymentMethodTypeEnum = exports.ApplicationPlacementEnum = exports.AmendmentLogAmendmentTypeEnum = exports.AmendOrderRequestAmendmentsInnerActionEnum = void 0;
26
+ exports.TermsApi = exports.TermsApiFactory = exports.TermsApiFp = exports.TermsApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = void 0;
27
27
  const axios_1 = require("axios");
28
28
  // Some imports not used depending on template conditions
29
29
  // @ts-ignore
@@ -42,6 +42,11 @@ exports.ApplicationPlacementEnum = {
42
42
  Front: 'front',
43
43
  Back: 'back'
44
44
  };
45
+ exports.CreateOrderPaymentMethodTypeEnum = {
46
+ Card: 'card',
47
+ Bacs: 'bacs',
48
+ Terms: 'terms'
49
+ };
45
50
  exports.CustomsInformationPreRegistrationTypeEnum = {
46
51
  Ioss: 'IOSS'
47
52
  };
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.45.2
5
+ * The version of the OpenAPI document: 0.46.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.45.2
8
+ * The version of the OpenAPI document: 0.46.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.45.2
5
+ * The version of the OpenAPI document: 0.46.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.45.2
8
+ * The version of the OpenAPI document: 0.46.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.45.2
5
+ * The version of the OpenAPI document: 0.46.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.45.2
7
+ * The version of the OpenAPI document: 0.46.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.45.2
5
+ * The version of the OpenAPI document: 0.46.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -200,6 +200,7 @@ export interface CreateOrder {
200
200
  */
201
201
  'merchantReference'?: string | null;
202
202
  'contactInformation': CreateOrderContactInformation;
203
+ 'paymentMethod'?: CreateOrderPaymentMethod;
203
204
  'shippingAddress': Address;
204
205
  'billingAddress'?: Address;
205
206
  'customsInformation'?: CustomsInformation;
@@ -220,6 +221,10 @@ export interface CreateOrder {
220
221
  * Determine whether this order will go through the bulk production flow or not
221
222
  */
222
223
  'bulk'?: boolean;
224
+ /**
225
+ * The discount to be applied to the order.
226
+ */
227
+ 'discount'?: number;
223
228
  }
224
229
  export interface CreateOrderChatChannel200Response {
225
230
  /**
@@ -234,6 +239,15 @@ export interface CreateOrderContactInformation {
234
239
  'email': string;
235
240
  'phone'?: string | null;
236
241
  }
242
+ export interface CreateOrderPaymentMethod {
243
+ 'type': CreateOrderPaymentMethodTypeEnum;
244
+ }
245
+ export declare const CreateOrderPaymentMethodTypeEnum: {
246
+ readonly Card: "card";
247
+ readonly Bacs: "bacs";
248
+ readonly Terms: "terms";
249
+ };
250
+ export type CreateOrderPaymentMethodTypeEnum = typeof CreateOrderPaymentMethodTypeEnum[keyof typeof CreateOrderPaymentMethodTypeEnum];
237
251
  export interface CreatePixelRequest {
238
252
  'name': string;
239
253
  'sourceProjects': Array<string>;
@@ -542,6 +556,7 @@ export interface Order {
542
556
  'status'?: OrderStatus;
543
557
  'approvalItemId'?: string | null;
544
558
  'contactInformation': ContactInformation;
559
+ 'paymentMethod'?: OrderPaymentMethod | null;
545
560
  'shippingAddress': Address;
546
561
  'billingAddress'?: Address;
547
562
  /**
@@ -630,6 +645,9 @@ export interface OrderItem1RecipientCost {
630
645
  'amount': string;
631
646
  'currencyCode': string;
632
647
  }
648
+ export interface OrderPaymentMethod {
649
+ 'type': string;
650
+ }
633
651
  export declare const OrderStatus: {
634
652
  readonly New: "new";
635
653
  readonly Paid: "paid";
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.45.2
7
+ * The version of the OpenAPI document: 0.46.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,6 +38,11 @@ export const ApplicationPlacementEnum = {
38
38
  Front: 'front',
39
39
  Back: 'back'
40
40
  };
41
+ export const CreateOrderPaymentMethodTypeEnum = {
42
+ Card: 'card',
43
+ Bacs: 'bacs',
44
+ Terms: 'terms'
45
+ };
41
46
  export const CustomsInformationPreRegistrationTypeEnum = {
42
47
  Ioss: 'IOSS'
43
48
  };
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.45.2
5
+ * The version of the OpenAPI document: 0.46.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.45.2
7
+ * The version of the OpenAPI document: 0.46.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.45.2
5
+ * The version of the OpenAPI document: 0.46.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.45.2
7
+ * The version of the OpenAPI document: 0.46.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.45.2
5
+ * The version of the OpenAPI document: 0.46.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Platform API
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.45.2
6
+ * The version of the OpenAPI document: 0.46.1
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.45.2
5
+ * The version of the OpenAPI document: 0.46.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.45.2
7
+ * The version of the OpenAPI document: 0.46.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.45.2
5
+ * The version of the OpenAPI document: 0.46.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.45.2
8
+ * The version of the OpenAPI document: 0.46.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **merchantReference** | **string** | A custom reference to the merchant\&#39;s order. | [optional] [default to undefined]
10
10
  **contactInformation** | [**CreateOrderContactInformation**](CreateOrderContactInformation.md) | | [default to undefined]
11
+ **paymentMethod** | [**CreateOrderPaymentMethod**](CreateOrderPaymentMethod.md) | | [optional] [default to undefined]
11
12
  **shippingAddress** | [**Address**](Address.md) | | [default to undefined]
12
13
  **billingAddress** | [**Address**](Address.md) | | [optional] [default to undefined]
13
14
  **customsInformation** | [**CustomsInformation**](CustomsInformation.md) | | [optional] [default to undefined]
@@ -16,6 +17,7 @@ Name | Type | Description | Notes
16
17
  **originalOrderRef** | **string** | A reference to the resource location | [optional] [default to undefined]
17
18
  **client** | **string** | The project code of a client you want to order on the behalf of. If provided, the order will be created for the client\&#39;s project. | [optional] [default to undefined]
18
19
  **bulk** | **boolean** | Determine whether this order will go through the bulk production flow or not | [optional] [default to undefined]
20
+ **discount** | **number** | The discount to be applied to the order. | [optional] [default to undefined]
19
21
 
20
22
  ## Example
21
23
 
@@ -25,6 +27,7 @@ import { CreateOrder } from '@teemill/platform';
25
27
  const instance: CreateOrder = {
26
28
  merchantReference,
27
29
  contactInformation,
30
+ paymentMethod,
28
31
  shippingAddress,
29
32
  billingAddress,
30
33
  customsInformation,
@@ -33,6 +36,7 @@ const instance: CreateOrder = {
33
36
  originalOrderRef,
34
37
  client,
35
38
  bulk,
39
+ discount,
36
40
  };
37
41
  ```
38
42
 
@@ -0,0 +1,20 @@
1
+ # CreateOrderPaymentMethod
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { CreateOrderPaymentMethod } from '@teemill/platform';
14
+
15
+ const instance: CreateOrderPaymentMethod = {
16
+ type,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Order.md CHANGED
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
10
10
  **status** | [**OrderStatus**](OrderStatus.md) | | [optional] [default to undefined]
11
11
  **approvalItemId** | **string** | | [optional] [default to undefined]
12
12
  **contactInformation** | [**ContactInformation**](ContactInformation.md) | | [default to undefined]
13
+ **paymentMethod** | [**OrderPaymentMethod**](OrderPaymentMethod.md) | | [optional] [default to undefined]
13
14
  **shippingAddress** | [**Address**](Address.md) | | [default to undefined]
14
15
  **billingAddress** | [**Address**](Address.md) | | [optional] [default to undefined]
15
16
  **createdAt** | **string** | ISO 8601 Timestamp | [optional] [default to undefined]
@@ -42,6 +43,7 @@ const instance: Order = {
42
43
  status,
43
44
  approvalItemId,
44
45
  contactInformation,
46
+ paymentMethod,
45
47
  shippingAddress,
46
48
  billingAddress,
47
49
  createdAt,
@@ -0,0 +1,20 @@
1
+ # OrderPaymentMethod
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { OrderPaymentMethod } from '@teemill/platform';
14
+
15
+ const instance: OrderPaymentMethod = {
16
+ type,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.45.2
7
+ * The version of the OpenAPI document: 0.46.1
8
8
  *
9
9
  *
10
10
  * 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/platform",
3
- "version": "0.45.2",
3
+ "version": "0.46.1",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {