@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/README.md +5 -2
- package/api.ts +184 -69
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +69 -1
- package/dist/api.js +145 -3
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +69 -1
- package/dist/esm/api.js +143 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Order.md +4 -0
- package/docs/OrdersApi.md +66 -0
- package/docs/PriorityLevel.md +10 -0
- package/docs/UpdateOrderRequest.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
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.
|
|
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
|