@teemill/platform 0.52.0 → 0.54.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/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.52.0
5
+ * The version of the OpenAPI document: 0.54.0
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.52.0
8
+ * The version of the OpenAPI document: 0.54.0
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.52.0
5
+ * The version of the OpenAPI document: 0.54.0
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.52.0
8
+ * The version of the OpenAPI document: 0.54.0
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.52.0
5
+ * The version of the OpenAPI document: 0.54.0
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.52.0
7
+ * The version of the OpenAPI document: 0.54.0
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.52.0
5
+ * The version of the OpenAPI document: 0.54.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -320,6 +320,7 @@ export interface Customer {
320
320
  'country': string | null;
321
321
  'statistics': Statistics;
322
322
  'shippingAddress'?: Address;
323
+ 'billingAddress'?: Address;
323
324
  /**
324
325
  * Reference to the chat channel resource
325
326
  */
@@ -575,7 +576,7 @@ export interface Order {
575
576
  'contactInformation': ContactInformation;
576
577
  'paymentMethod'?: OrderPaymentMethod;
577
578
  'shippingAddress': Address;
578
- 'billingAddress'?: Address;
579
+ 'billingAddress': Address;
579
580
  /**
580
581
  * ISO 8601 Timestamp
581
582
  */
@@ -613,6 +614,8 @@ export interface Order {
613
614
  * Whether this order will go through the bulk production flow or not
614
615
  */
615
616
  'bulk'?: boolean;
617
+ 'priorityLevel': PriorityLevel;
618
+ 'warnings'?: Array<string>;
616
619
  }
617
620
  export interface OrderItem {
618
621
  /**
@@ -809,6 +812,11 @@ export interface PrintArea {
809
812
  'width'?: number;
810
813
  'height'?: number;
811
814
  }
815
+ export declare const PriorityLevel: {
816
+ readonly Standard: "standard";
817
+ readonly Priority: "priority";
818
+ };
819
+ export type PriorityLevel = typeof PriorityLevel[keyof typeof PriorityLevel];
812
820
  export interface Project {
813
821
  'id': string;
814
822
  /**
@@ -987,6 +995,12 @@ export interface UpdateCustomerEnquiryRequest {
987
995
  */
988
996
  'owner'?: string | null;
989
997
  }
998
+ export interface UpdateCustomerRequest {
999
+ 'email'?: string;
1000
+ 'name'?: string;
1001
+ 'billingAddress'?: Address;
1002
+ 'shippingAddress'?: Address;
1003
+ }
990
1004
  export interface UpdateFulfillmentRequest {
991
1005
  /**
992
1006
  * Unique object identifier
@@ -1002,6 +1016,12 @@ export declare const UpdateModerationItemRequestJudgementEnum: {
1002
1016
  readonly Denied: "denied";
1003
1017
  };
1004
1018
  export type UpdateModerationItemRequestJudgementEnum = typeof UpdateModerationItemRequestJudgementEnum[keyof typeof UpdateModerationItemRequestJudgementEnum];
1019
+ export interface UpdateOrderRequest {
1020
+ 'email'?: string;
1021
+ 'billingAddress'?: Address;
1022
+ 'shippingAddress'?: Address;
1023
+ 'priorityLevel'?: PriorityLevel;
1024
+ }
1005
1025
  export interface UpdatePlatformFulfillmentStyleApplicationRequest {
1006
1026
  'design'?: string;
1007
1027
  }
@@ -1130,6 +1150,17 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
1130
1150
  * @throws {RequiredError}
1131
1151
  */
1132
1152
  listCustomers: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ListCustomersGenderEnum, productTypes?: Array<number>, demographics?: Array<string>, tags?: Array<string>, usedDiscount?: boolean, minimumTotalOrderCount?: number, maximumTotalOrderCount?: number, minimumRefundedOrderCount?: number, maximumRefundedOrderCount?: number, minimumLifetimeValue?: number, maximumLifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1153
+ /**
1154
+ *
1155
+ * @summary Update the customer with the given customer ID
1156
+ * @param {string} project Project unique identifier
1157
+ * @param {string} platformId The platform identifier
1158
+ * @param {string} customerId The customer identifier
1159
+ * @param {UpdateCustomerRequest} [updateCustomerRequest]
1160
+ * @param {*} [options] Override http request option.
1161
+ * @throws {RequiredError}
1162
+ */
1163
+ updateCustomer: (project: string, platformId: string, customerId: string, updateCustomerRequest?: UpdateCustomerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1133
1164
  };
1134
1165
  /**
1135
1166
  * CustomersApi - functional programming interface
@@ -1220,6 +1251,17 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
1220
1251
  * @throws {RequiredError}
1221
1252
  */
1222
1253
  listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ListCustomersGenderEnum, productTypes?: Array<number>, demographics?: Array<string>, tags?: Array<string>, usedDiscount?: boolean, minimumTotalOrderCount?: number, maximumTotalOrderCount?: number, minimumRefundedOrderCount?: number, maximumRefundedOrderCount?: number, minimumLifetimeValue?: number, maximumLifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
1254
+ /**
1255
+ *
1256
+ * @summary Update the customer with the given customer ID
1257
+ * @param {string} project Project unique identifier
1258
+ * @param {string} platformId The platform identifier
1259
+ * @param {string} customerId The customer identifier
1260
+ * @param {UpdateCustomerRequest} [updateCustomerRequest]
1261
+ * @param {*} [options] Override http request option.
1262
+ * @throws {RequiredError}
1263
+ */
1264
+ updateCustomer(project: string, platformId: string, customerId: string, updateCustomerRequest?: UpdateCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>>;
1223
1265
  };
1224
1266
  /**
1225
1267
  * CustomersApi - factory interface
@@ -1265,6 +1307,14 @@ export declare const CustomersApiFactory: (configuration?: Configuration, basePa
1265
1307
  * @throws {RequiredError}
1266
1308
  */
1267
1309
  listCustomers(requestParameters: CustomersApiListCustomersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CustomersResponse>;
1310
+ /**
1311
+ *
1312
+ * @summary Update the customer with the given customer ID
1313
+ * @param {CustomersApiUpdateCustomerRequest} requestParameters Request parameters.
1314
+ * @param {*} [options] Override http request option.
1315
+ * @throws {RequiredError}
1316
+ */
1317
+ updateCustomer(requestParameters: CustomersApiUpdateCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<Customer>;
1268
1318
  };
1269
1319
  /**
1270
1320
  * Request parameters for createCustomerChatChannel operation in CustomersApi.
@@ -1491,6 +1541,24 @@ export interface CustomersApiListCustomersRequest {
1491
1541
  */
1492
1542
  readonly lastPurchasedEnd?: string;
1493
1543
  }
1544
+ /**
1545
+ * Request parameters for updateCustomer operation in CustomersApi.
1546
+ */
1547
+ export interface CustomersApiUpdateCustomerRequest {
1548
+ /**
1549
+ * Project unique identifier
1550
+ */
1551
+ readonly project: string;
1552
+ /**
1553
+ * The platform identifier
1554
+ */
1555
+ readonly platformId: string;
1556
+ /**
1557
+ * The customer identifier
1558
+ */
1559
+ readonly customerId: string;
1560
+ readonly updateCustomerRequest?: UpdateCustomerRequest;
1561
+ }
1494
1562
  /**
1495
1563
  * CustomersApi - object-oriented interface
1496
1564
  */
@@ -1535,6 +1603,14 @@ export declare class CustomersApi extends BaseAPI {
1535
1603
  * @throws {RequiredError}
1536
1604
  */
1537
1605
  listCustomers(requestParameters: CustomersApiListCustomersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomersResponse, any, {}>>;
1606
+ /**
1607
+ *
1608
+ * @summary Update the customer with the given customer ID
1609
+ * @param {CustomersApiUpdateCustomerRequest} requestParameters Request parameters.
1610
+ * @param {*} [options] Override http request option.
1611
+ * @throws {RequiredError}
1612
+ */
1613
+ updateCustomer(requestParameters: CustomersApiUpdateCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Customer, any, {}>>;
1538
1614
  }
1539
1615
  export declare const ExportCustomersSortByEnum: {
1540
1616
  readonly LifetimeValue: "+lifetimeValue";
@@ -2236,6 +2312,17 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
2236
2312
  * @throws {RequiredError}
2237
2313
  */
2238
2314
  updateFulfillment: (project: string, platformId: string, fulfillmentId: string, updateFulfillmentRequest: UpdateFulfillmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2315
+ /**
2316
+ *
2317
+ * @summary Update order
2318
+ * @param {string} project Project unique identifier
2319
+ * @param {string} platformId The platform identifier
2320
+ * @param {string} orderId The order identifier
2321
+ * @param {UpdateOrderRequest} [updateOrderRequest]
2322
+ * @param {*} [options] Override http request option.
2323
+ * @throws {RequiredError}
2324
+ */
2325
+ updateOrder: (project: string, platformId: string, orderId: string, updateOrderRequest?: UpdateOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2239
2326
  /**
2240
2327
  * Update a fulfillment style application for a fulfillment for a platform order
2241
2328
  * @summary Update platform fulfillment style application
@@ -2408,6 +2495,17 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
2408
2495
  * @throws {RequiredError}
2409
2496
  */
2410
2497
  updateFulfillment(project: string, platformId: string, fulfillmentId: string, updateFulfillmentRequest: UpdateFulfillmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Fulfillment>>;
2498
+ /**
2499
+ *
2500
+ * @summary Update order
2501
+ * @param {string} project Project unique identifier
2502
+ * @param {string} platformId The platform identifier
2503
+ * @param {string} orderId The order identifier
2504
+ * @param {UpdateOrderRequest} [updateOrderRequest]
2505
+ * @param {*} [options] Override http request option.
2506
+ * @throws {RequiredError}
2507
+ */
2508
+ updateOrder(project: string, platformId: string, orderId: string, updateOrderRequest?: UpdateOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
2411
2509
  /**
2412
2510
  * Update a fulfillment style application for a fulfillment for a platform order
2413
2511
  * @summary Update platform fulfillment style application
@@ -2537,6 +2635,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
2537
2635
  * @throws {RequiredError}
2538
2636
  */
2539
2637
  updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Fulfillment>;
2638
+ /**
2639
+ *
2640
+ * @summary Update order
2641
+ * @param {OrdersApiUpdateOrderRequest} requestParameters Request parameters.
2642
+ * @param {*} [options] Override http request option.
2643
+ * @throws {RequiredError}
2644
+ */
2645
+ updateOrder(requestParameters: OrdersApiUpdateOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Order>;
2540
2646
  /**
2541
2647
  * Update a fulfillment style application for a fulfillment for a platform order
2542
2648
  * @summary Update platform fulfillment style application
@@ -2841,6 +2947,24 @@ export interface OrdersApiUpdateFulfillmentRequest {
2841
2947
  readonly fulfillmentId: string;
2842
2948
  readonly updateFulfillmentRequest: UpdateFulfillmentRequest;
2843
2949
  }
2950
+ /**
2951
+ * Request parameters for updateOrder operation in OrdersApi.
2952
+ */
2953
+ export interface OrdersApiUpdateOrderRequest {
2954
+ /**
2955
+ * Project unique identifier
2956
+ */
2957
+ readonly project: string;
2958
+ /**
2959
+ * The platform identifier
2960
+ */
2961
+ readonly platformId: string;
2962
+ /**
2963
+ * The order identifier
2964
+ */
2965
+ readonly orderId: string;
2966
+ readonly updateOrderRequest?: UpdateOrderRequest;
2967
+ }
2844
2968
  /**
2845
2969
  * Request parameters for updatePlatformFulfillmentStyleApplication operation in OrdersApi.
2846
2970
  */
@@ -2979,6 +3103,14 @@ export declare class OrdersApi extends BaseAPI {
2979
3103
  * @throws {RequiredError}
2980
3104
  */
2981
3105
  updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Fulfillment, any, {}>>;
3106
+ /**
3107
+ *
3108
+ * @summary Update order
3109
+ * @param {OrdersApiUpdateOrderRequest} requestParameters Request parameters.
3110
+ * @param {*} [options] Override http request option.
3111
+ * @throws {RequiredError}
3112
+ */
3113
+ updateOrder(requestParameters: OrdersApiUpdateOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any, {}>>;
2982
3114
  /**
2983
3115
  * Update a fulfillment style application for a fulfillment for a platform order
2984
3116
  * @summary Update platform fulfillment style application