@teemill/platform 0.52.0 → 0.53.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/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.52.0
7
+ * The version of the OpenAPI document: 0.53.0
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.52.0
7
+ * The version of the OpenAPI document: 0.53.0
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.52.0
6
+ * The version of the OpenAPI document: 0.53.0
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.52.0
5
+ * The version of the OpenAPI document: 0.53.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -613,6 +613,8 @@ export interface Order {
613
613
  * Whether this order will go through the bulk production flow or not
614
614
  */
615
615
  'bulk'?: boolean;
616
+ 'priorityLevel': PriorityLevel;
617
+ 'warnings'?: Array<string>;
616
618
  }
617
619
  export interface OrderItem {
618
620
  /**
@@ -809,6 +811,11 @@ export interface PrintArea {
809
811
  'width'?: number;
810
812
  'height'?: number;
811
813
  }
814
+ export declare const PriorityLevel: {
815
+ readonly Standard: "standard";
816
+ readonly Priority: "priority";
817
+ };
818
+ export type PriorityLevel = typeof PriorityLevel[keyof typeof PriorityLevel];
812
819
  export interface Project {
813
820
  'id': string;
814
821
  /**
@@ -1002,6 +1009,11 @@ export declare const UpdateModerationItemRequestJudgementEnum: {
1002
1009
  readonly Denied: "denied";
1003
1010
  };
1004
1011
  export type UpdateModerationItemRequestJudgementEnum = typeof UpdateModerationItemRequestJudgementEnum[keyof typeof UpdateModerationItemRequestJudgementEnum];
1012
+ export interface UpdateOrderRequest {
1013
+ 'email'?: string;
1014
+ 'shippingAddress'?: Address;
1015
+ 'priorityLevel'?: PriorityLevel;
1016
+ }
1005
1017
  export interface UpdatePlatformFulfillmentStyleApplicationRequest {
1006
1018
  'design'?: string;
1007
1019
  }
@@ -2236,6 +2248,17 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
2236
2248
  * @throws {RequiredError}
2237
2249
  */
2238
2250
  updateFulfillment: (project: string, platformId: string, fulfillmentId: string, updateFulfillmentRequest: UpdateFulfillmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2251
+ /**
2252
+ *
2253
+ * @summary Update order
2254
+ * @param {string} project Project unique identifier
2255
+ * @param {string} platformId The platform identifier
2256
+ * @param {string} orderId The order identifier
2257
+ * @param {UpdateOrderRequest} [updateOrderRequest]
2258
+ * @param {*} [options] Override http request option.
2259
+ * @throws {RequiredError}
2260
+ */
2261
+ updateOrder: (project: string, platformId: string, orderId: string, updateOrderRequest?: UpdateOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2239
2262
  /**
2240
2263
  * Update a fulfillment style application for a fulfillment for a platform order
2241
2264
  * @summary Update platform fulfillment style application
@@ -2408,6 +2431,17 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
2408
2431
  * @throws {RequiredError}
2409
2432
  */
2410
2433
  updateFulfillment(project: string, platformId: string, fulfillmentId: string, updateFulfillmentRequest: UpdateFulfillmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Fulfillment>>;
2434
+ /**
2435
+ *
2436
+ * @summary Update order
2437
+ * @param {string} project Project unique identifier
2438
+ * @param {string} platformId The platform identifier
2439
+ * @param {string} orderId The order identifier
2440
+ * @param {UpdateOrderRequest} [updateOrderRequest]
2441
+ * @param {*} [options] Override http request option.
2442
+ * @throws {RequiredError}
2443
+ */
2444
+ updateOrder(project: string, platformId: string, orderId: string, updateOrderRequest?: UpdateOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
2411
2445
  /**
2412
2446
  * Update a fulfillment style application for a fulfillment for a platform order
2413
2447
  * @summary Update platform fulfillment style application
@@ -2537,6 +2571,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
2537
2571
  * @throws {RequiredError}
2538
2572
  */
2539
2573
  updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Fulfillment>;
2574
+ /**
2575
+ *
2576
+ * @summary Update order
2577
+ * @param {OrdersApiUpdateOrderRequest} requestParameters Request parameters.
2578
+ * @param {*} [options] Override http request option.
2579
+ * @throws {RequiredError}
2580
+ */
2581
+ updateOrder(requestParameters: OrdersApiUpdateOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Order>;
2540
2582
  /**
2541
2583
  * Update a fulfillment style application for a fulfillment for a platform order
2542
2584
  * @summary Update platform fulfillment style application
@@ -2841,6 +2883,24 @@ export interface OrdersApiUpdateFulfillmentRequest {
2841
2883
  readonly fulfillmentId: string;
2842
2884
  readonly updateFulfillmentRequest: UpdateFulfillmentRequest;
2843
2885
  }
2886
+ /**
2887
+ * Request parameters for updateOrder operation in OrdersApi.
2888
+ */
2889
+ export interface OrdersApiUpdateOrderRequest {
2890
+ /**
2891
+ * Project unique identifier
2892
+ */
2893
+ readonly project: string;
2894
+ /**
2895
+ * The platform identifier
2896
+ */
2897
+ readonly platformId: string;
2898
+ /**
2899
+ * The order identifier
2900
+ */
2901
+ readonly orderId: string;
2902
+ readonly updateOrderRequest?: UpdateOrderRequest;
2903
+ }
2844
2904
  /**
2845
2905
  * Request parameters for updatePlatformFulfillmentStyleApplication operation in OrdersApi.
2846
2906
  */
@@ -2979,6 +3039,14 @@ export declare class OrdersApi extends BaseAPI {
2979
3039
  * @throws {RequiredError}
2980
3040
  */
2981
3041
  updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Fulfillment, any, {}>>;
3042
+ /**
3043
+ *
3044
+ * @summary Update order
3045
+ * @param {OrdersApiUpdateOrderRequest} requestParameters Request parameters.
3046
+ * @param {*} [options] Override http request option.
3047
+ * @throws {RequiredError}
3048
+ */
3049
+ updateOrder(requestParameters: OrdersApiUpdateOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any, {}>>;
2982
3050
  /**
2983
3051
  * Update a fulfillment style application for a fulfillment for a platform order
2984
3052
  * @summary Update platform fulfillment style application