@teemill/platform 0.51.1 → 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/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.51.1
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).
@@ -481,6 +481,10 @@ export interface Fulfillment {
481
481
  * Weight of the package being shipped in grams
482
482
  */
483
483
  'packageWeight'?: number;
484
+ /**
485
+ * A reference to the resource location
486
+ */
487
+ 'platformRef'?: string;
484
488
  }
485
489
  export interface FulfillmentItem {
486
490
  /**
@@ -567,6 +571,7 @@ export interface Order {
567
571
  'ref'?: string;
568
572
  'status'?: OrderStatus;
569
573
  'approvalItemId'?: string | null;
574
+ 'customerRef': string;
570
575
  'contactInformation': ContactInformation;
571
576
  'paymentMethod'?: OrderPaymentMethod;
572
577
  'shippingAddress': Address;
@@ -608,6 +613,8 @@ export interface Order {
608
613
  * Whether this order will go through the bulk production flow or not
609
614
  */
610
615
  'bulk'?: boolean;
616
+ 'priorityLevel': PriorityLevel;
617
+ 'warnings'?: Array<string>;
611
618
  }
612
619
  export interface OrderItem {
613
620
  /**
@@ -804,6 +811,11 @@ export interface PrintArea {
804
811
  'width'?: number;
805
812
  'height'?: number;
806
813
  }
814
+ export declare const PriorityLevel: {
815
+ readonly Standard: "standard";
816
+ readonly Priority: "priority";
817
+ };
818
+ export type PriorityLevel = typeof PriorityLevel[keyof typeof PriorityLevel];
807
819
  export interface Project {
808
820
  'id': string;
809
821
  /**
@@ -997,6 +1009,11 @@ export declare const UpdateModerationItemRequestJudgementEnum: {
997
1009
  readonly Denied: "denied";
998
1010
  };
999
1011
  export type UpdateModerationItemRequestJudgementEnum = typeof UpdateModerationItemRequestJudgementEnum[keyof typeof UpdateModerationItemRequestJudgementEnum];
1012
+ export interface UpdateOrderRequest {
1013
+ 'email'?: string;
1014
+ 'shippingAddress'?: Address;
1015
+ 'priorityLevel'?: PriorityLevel;
1016
+ }
1000
1017
  export interface UpdatePlatformFulfillmentStyleApplicationRequest {
1001
1018
  'design'?: string;
1002
1019
  }
@@ -2231,6 +2248,17 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
2231
2248
  * @throws {RequiredError}
2232
2249
  */
2233
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>;
2234
2262
  /**
2235
2263
  * Update a fulfillment style application for a fulfillment for a platform order
2236
2264
  * @summary Update platform fulfillment style application
@@ -2403,6 +2431,17 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
2403
2431
  * @throws {RequiredError}
2404
2432
  */
2405
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>>;
2406
2445
  /**
2407
2446
  * Update a fulfillment style application for a fulfillment for a platform order
2408
2447
  * @summary Update platform fulfillment style application
@@ -2532,6 +2571,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
2532
2571
  * @throws {RequiredError}
2533
2572
  */
2534
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>;
2535
2582
  /**
2536
2583
  * Update a fulfillment style application for a fulfillment for a platform order
2537
2584
  * @summary Update platform fulfillment style application
@@ -2836,6 +2883,24 @@ export interface OrdersApiUpdateFulfillmentRequest {
2836
2883
  readonly fulfillmentId: string;
2837
2884
  readonly updateFulfillmentRequest: UpdateFulfillmentRequest;
2838
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
+ }
2839
2904
  /**
2840
2905
  * Request parameters for updatePlatformFulfillmentStyleApplication operation in OrdersApi.
2841
2906
  */
@@ -2974,6 +3039,14 @@ export declare class OrdersApi extends BaseAPI {
2974
3039
  * @throws {RequiredError}
2975
3040
  */
2976
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, {}>>;
2977
3050
  /**
2978
3051
  * Update a fulfillment style application for a fulfillment for a platform order
2979
3052
  * @summary Update platform fulfillment style application