@teemill/platform 0.43.0 → 0.45.2

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.43.0
5
+ * The version of the OpenAPI document: 0.45.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -107,6 +107,30 @@ export interface ApiError {
107
107
  'code'?: string;
108
108
  'message': string;
109
109
  }
110
+ export interface Application {
111
+ /**
112
+ * Unique object identifier
113
+ */
114
+ 'id'?: string;
115
+ /**
116
+ * Unique object identifier
117
+ */
118
+ 'styleId'?: string;
119
+ 'placement'?: ApplicationPlacementEnum;
120
+ 'mockup'?: string;
121
+ 'design'?: string;
122
+ 'printArea'?: PrintArea;
123
+ 'files'?: Array<AttachedFile>;
124
+ }
125
+ export declare const ApplicationPlacementEnum: {
126
+ readonly Front: "front";
127
+ readonly Back: "back";
128
+ };
129
+ export type ApplicationPlacementEnum = typeof ApplicationPlacementEnum[keyof typeof ApplicationPlacementEnum];
130
+ export interface AttachedFile {
131
+ 'url'?: string;
132
+ 'name'?: string;
133
+ }
110
134
  export interface AuthorizeStripe200Response {
111
135
  /**
112
136
  * The URL to redirect to
@@ -516,6 +540,7 @@ export interface Order {
516
540
  */
517
541
  'ref'?: string;
518
542
  'status'?: OrderStatus;
543
+ 'approvalItemId'?: string | null;
519
544
  'contactInformation': ContactInformation;
520
545
  'shippingAddress': Address;
521
546
  'billingAddress'?: Address;
@@ -611,6 +636,7 @@ export declare const OrderStatus: {
611
636
  readonly Processing: "processing";
612
637
  readonly Complete: "complete";
613
638
  readonly Refunded: "refunded";
639
+ readonly Moderation: "moderation";
614
640
  };
615
641
  export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
616
642
  export interface OrderTracking {
@@ -736,6 +762,13 @@ export interface Price {
736
762
  */
737
763
  'currencyCode'?: string;
738
764
  }
765
+ /**
766
+ * Print area dimensions in mm
767
+ */
768
+ export interface PrintArea {
769
+ 'width'?: number;
770
+ 'height'?: number;
771
+ }
739
772
  export interface Project {
740
773
  'id': string;
741
774
  /**
@@ -920,6 +953,18 @@ export interface UpdateFulfillmentRequest {
920
953
  */
921
954
  'fulfillerId'?: string;
922
955
  }
956
+ export interface UpdateModerationItemRequest {
957
+ 'judgement': UpdateModerationItemRequestJudgementEnum;
958
+ 'denialReason'?: string;
959
+ }
960
+ export declare const UpdateModerationItemRequestJudgementEnum: {
961
+ readonly Approved: "approved";
962
+ readonly Denied: "denied";
963
+ };
964
+ export type UpdateModerationItemRequestJudgementEnum = typeof UpdateModerationItemRequestJudgementEnum[keyof typeof UpdateModerationItemRequestJudgementEnum];
965
+ export interface UpdatePlatformFulfillmentStyleApplicationRequest {
966
+ 'design'?: string;
967
+ }
923
968
  export interface UpdatePlatformRequest {
924
969
  'logos'?: Array<PlatformLogo>;
925
970
  'favicon'?: string;
@@ -1865,6 +1910,76 @@ export declare class EnquiriesApi extends BaseAPI {
1865
1910
  */
1866
1911
  updateCustomerEnquiry(requestParameters: EnquiriesApiUpdateCustomerEnquiryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Enquiry, any, {}>>;
1867
1912
  }
1913
+ /**
1914
+ * ModerationApi - axios parameter creator
1915
+ */
1916
+ export declare const ModerationApiAxiosParamCreator: (configuration?: Configuration) => {
1917
+ /**
1918
+ * Update a moderation item
1919
+ * @summary Update a moderation item
1920
+ * @param {string} project Project unique identifier
1921
+ * @param {string} moderationItemId The moderation item identifier
1922
+ * @param {UpdateModerationItemRequest} [updateModerationItemRequest]
1923
+ * @param {*} [options] Override http request option.
1924
+ * @throws {RequiredError}
1925
+ */
1926
+ updateModerationItem: (project: string, moderationItemId: string, updateModerationItemRequest?: UpdateModerationItemRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1927
+ };
1928
+ /**
1929
+ * ModerationApi - functional programming interface
1930
+ */
1931
+ export declare const ModerationApiFp: (configuration?: Configuration) => {
1932
+ /**
1933
+ * Update a moderation item
1934
+ * @summary Update a moderation item
1935
+ * @param {string} project Project unique identifier
1936
+ * @param {string} moderationItemId The moderation item identifier
1937
+ * @param {UpdateModerationItemRequest} [updateModerationItemRequest]
1938
+ * @param {*} [options] Override http request option.
1939
+ * @throws {RequiredError}
1940
+ */
1941
+ updateModerationItem(project: string, moderationItemId: string, updateModerationItemRequest?: UpdateModerationItemRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1942
+ };
1943
+ /**
1944
+ * ModerationApi - factory interface
1945
+ */
1946
+ export declare const ModerationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1947
+ /**
1948
+ * Update a moderation item
1949
+ * @summary Update a moderation item
1950
+ * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
1951
+ * @param {*} [options] Override http request option.
1952
+ * @throws {RequiredError}
1953
+ */
1954
+ updateModerationItem(requestParameters: ModerationApiUpdateModerationItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1955
+ };
1956
+ /**
1957
+ * Request parameters for updateModerationItem operation in ModerationApi.
1958
+ */
1959
+ export interface ModerationApiUpdateModerationItemRequest {
1960
+ /**
1961
+ * Project unique identifier
1962
+ */
1963
+ readonly project: string;
1964
+ /**
1965
+ * The moderation item identifier
1966
+ */
1967
+ readonly moderationItemId: string;
1968
+ readonly updateModerationItemRequest?: UpdateModerationItemRequest;
1969
+ }
1970
+ /**
1971
+ * ModerationApi - object-oriented interface
1972
+ */
1973
+ export declare class ModerationApi extends BaseAPI {
1974
+ /**
1975
+ * Update a moderation item
1976
+ * @summary Update a moderation item
1977
+ * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
1978
+ * @param {*} [options] Override http request option.
1979
+ * @throws {RequiredError}
1980
+ */
1981
+ updateModerationItem(requestParameters: ModerationApiUpdateModerationItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1982
+ }
1868
1983
  /**
1869
1984
  * OrdersApi - axios parameter creator
1870
1985
  */
@@ -2023,6 +2138,18 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
2023
2138
  * @throws {RequiredError}
2024
2139
  */
2025
2140
  updateFulfillment: (project: string, platformId: string, fulfillmentId: string, updateFulfillmentRequest: UpdateFulfillmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2141
+ /**
2142
+ * Update a fulfillment style application for a fulfillment for a platform order
2143
+ * @summary Update platform fulfillment style application
2144
+ * @param {string} project Project unique identifier
2145
+ * @param {string} platformId The platform identifier
2146
+ * @param {string} styleId Unique identifier of a fulfillment style
2147
+ * @param {string} applicationId Unique identifier of a fulfillment style application
2148
+ * @param {UpdatePlatformFulfillmentStyleApplicationRequest} updatePlatformFulfillmentStyleApplicationRequest
2149
+ * @param {*} [options] Override http request option.
2150
+ * @throws {RequiredError}
2151
+ */
2152
+ updatePlatformFulfillmentStyleApplication: (project: string, platformId: string, styleId: string, applicationId: string, updatePlatformFulfillmentStyleApplicationRequest: UpdatePlatformFulfillmentStyleApplicationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2026
2153
  };
2027
2154
  /**
2028
2155
  * OrdersApi - functional programming interface
@@ -2182,6 +2309,18 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
2182
2309
  * @throws {RequiredError}
2183
2310
  */
2184
2311
  updateFulfillment(project: string, platformId: string, fulfillmentId: string, updateFulfillmentRequest: UpdateFulfillmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Fulfillment>>;
2312
+ /**
2313
+ * Update a fulfillment style application for a fulfillment for a platform order
2314
+ * @summary Update platform fulfillment style application
2315
+ * @param {string} project Project unique identifier
2316
+ * @param {string} platformId The platform identifier
2317
+ * @param {string} styleId Unique identifier of a fulfillment style
2318
+ * @param {string} applicationId Unique identifier of a fulfillment style application
2319
+ * @param {UpdatePlatformFulfillmentStyleApplicationRequest} updatePlatformFulfillmentStyleApplicationRequest
2320
+ * @param {*} [options] Override http request option.
2321
+ * @throws {RequiredError}
2322
+ */
2323
+ updatePlatformFulfillmentStyleApplication(project: string, platformId: string, styleId: string, applicationId: string, updatePlatformFulfillmentStyleApplicationRequest: UpdatePlatformFulfillmentStyleApplicationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Application>>;
2185
2324
  };
2186
2325
  /**
2187
2326
  * OrdersApi - factory interface
@@ -2299,6 +2438,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
2299
2438
  * @throws {RequiredError}
2300
2439
  */
2301
2440
  updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Fulfillment>;
2441
+ /**
2442
+ * Update a fulfillment style application for a fulfillment for a platform order
2443
+ * @summary Update platform fulfillment style application
2444
+ * @param {OrdersApiUpdatePlatformFulfillmentStyleApplicationRequest} requestParameters Request parameters.
2445
+ * @param {*} [options] Override http request option.
2446
+ * @throws {RequiredError}
2447
+ */
2448
+ updatePlatformFulfillmentStyleApplication(requestParameters: OrdersApiUpdatePlatformFulfillmentStyleApplicationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Application>;
2302
2449
  };
2303
2450
  /**
2304
2451
  * Request parameters for amendOrder operation in OrdersApi.
@@ -2591,6 +2738,28 @@ export interface OrdersApiUpdateFulfillmentRequest {
2591
2738
  readonly fulfillmentId: string;
2592
2739
  readonly updateFulfillmentRequest: UpdateFulfillmentRequest;
2593
2740
  }
2741
+ /**
2742
+ * Request parameters for updatePlatformFulfillmentStyleApplication operation in OrdersApi.
2743
+ */
2744
+ export interface OrdersApiUpdatePlatformFulfillmentStyleApplicationRequest {
2745
+ /**
2746
+ * Project unique identifier
2747
+ */
2748
+ readonly project: string;
2749
+ /**
2750
+ * The platform identifier
2751
+ */
2752
+ readonly platformId: string;
2753
+ /**
2754
+ * Unique identifier of a fulfillment style
2755
+ */
2756
+ readonly styleId: string;
2757
+ /**
2758
+ * Unique identifier of a fulfillment style application
2759
+ */
2760
+ readonly applicationId: string;
2761
+ readonly updatePlatformFulfillmentStyleApplicationRequest: UpdatePlatformFulfillmentStyleApplicationRequest;
2762
+ }
2594
2763
  /**
2595
2764
  * OrdersApi - object-oriented interface
2596
2765
  */
@@ -2707,6 +2876,14 @@ export declare class OrdersApi extends BaseAPI {
2707
2876
  * @throws {RequiredError}
2708
2877
  */
2709
2878
  updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Fulfillment, any, {}>>;
2879
+ /**
2880
+ * Update a fulfillment style application for a fulfillment for a platform order
2881
+ * @summary Update platform fulfillment style application
2882
+ * @param {OrdersApiUpdatePlatformFulfillmentStyleApplicationRequest} requestParameters Request parameters.
2883
+ * @param {*} [options] Override http request option.
2884
+ * @throws {RequiredError}
2885
+ */
2886
+ updatePlatformFulfillmentStyleApplication(requestParameters: OrdersApiUpdatePlatformFulfillmentStyleApplicationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Application, any, {}>>;
2710
2887
  }
2711
2888
  export declare const ExportOrdersDateFilterTypeEnum: {
2712
2889
  readonly CreatedAt: "createdAt";
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.43.0
7
+ * The version of the OpenAPI document: 0.45.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,6 +34,10 @@ export const AmendmentLogAmendmentTypeEnum = {
34
34
  Refund: 'refund',
35
35
  Exchange: 'exchange'
36
36
  };
37
+ export const ApplicationPlacementEnum = {
38
+ Front: 'front',
39
+ Back: 'back'
40
+ };
37
41
  export const CustomsInformationPreRegistrationTypeEnum = {
38
42
  Ioss: 'IOSS'
39
43
  };
@@ -47,7 +51,8 @@ export const OrderStatus = {
47
51
  Paid: 'paid',
48
52
  Processing: 'processing',
49
53
  Complete: 'complete',
50
- Refunded: 'refunded'
54
+ Refunded: 'refunded',
55
+ Moderation: 'moderation'
51
56
  };
52
57
  export const PaymentAccountMethodEnum = {
53
58
  Stripe: 'stripe'
@@ -67,6 +72,10 @@ export const ReturnOrderRequestReturnsInnerActionEnum = {
67
72
  Refund: 'refund',
68
73
  Exchange: 'exchange'
69
74
  };
75
+ export const UpdateModerationItemRequestJudgementEnum = {
76
+ Approved: 'approved',
77
+ Denied: 'denied'
78
+ };
70
79
  /**
71
80
  * CustomersApi - axios parameter creator
72
81
  */
@@ -1290,6 +1299,115 @@ export class EnquiriesApi extends BaseAPI {
1290
1299
  return EnquiriesApiFp(this.configuration).updateCustomerEnquiry(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, requestParameters.updateCustomerEnquiryRequest, options).then((request) => request(this.axios, this.basePath));
1291
1300
  }
1292
1301
  }
1302
+ /**
1303
+ * ModerationApi - axios parameter creator
1304
+ */
1305
+ export const ModerationApiAxiosParamCreator = function (configuration) {
1306
+ return {
1307
+ /**
1308
+ * Update a moderation item
1309
+ * @summary Update a moderation item
1310
+ * @param {string} project Project unique identifier
1311
+ * @param {string} moderationItemId The moderation item identifier
1312
+ * @param {UpdateModerationItemRequest} [updateModerationItemRequest]
1313
+ * @param {*} [options] Override http request option.
1314
+ * @throws {RequiredError}
1315
+ */
1316
+ updateModerationItem: (project_1, moderationItemId_1, updateModerationItemRequest_1, ...args_1) => __awaiter(this, [project_1, moderationItemId_1, updateModerationItemRequest_1, ...args_1], void 0, function* (project, moderationItemId, updateModerationItemRequest, options = {}) {
1317
+ // verify required parameter 'project' is not null or undefined
1318
+ assertParamExists('updateModerationItem', 'project', project);
1319
+ // verify required parameter 'moderationItemId' is not null or undefined
1320
+ assertParamExists('updateModerationItem', 'moderationItemId', moderationItemId);
1321
+ const localVarPath = `/v1/platform/moderate/{moderationItemId}`
1322
+ .replace(`{${"moderationItemId"}}`, encodeURIComponent(String(moderationItemId)));
1323
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1324
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1325
+ let baseOptions;
1326
+ if (configuration) {
1327
+ baseOptions = configuration.baseOptions;
1328
+ }
1329
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
1330
+ const localVarHeaderParameter = {};
1331
+ const localVarQueryParameter = {};
1332
+ // authentication session-oauth required
1333
+ // oauth required
1334
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
1335
+ // authentication api-key required
1336
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1337
+ if (project !== undefined) {
1338
+ localVarQueryParameter['project'] = project;
1339
+ }
1340
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1341
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1342
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1343
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1344
+ localVarRequestOptions.data = serializeDataIfNeeded(updateModerationItemRequest, localVarRequestOptions, configuration);
1345
+ return {
1346
+ url: toPathString(localVarUrlObj),
1347
+ options: localVarRequestOptions,
1348
+ };
1349
+ }),
1350
+ };
1351
+ };
1352
+ /**
1353
+ * ModerationApi - functional programming interface
1354
+ */
1355
+ export const ModerationApiFp = function (configuration) {
1356
+ const localVarAxiosParamCreator = ModerationApiAxiosParamCreator(configuration);
1357
+ return {
1358
+ /**
1359
+ * Update a moderation item
1360
+ * @summary Update a moderation item
1361
+ * @param {string} project Project unique identifier
1362
+ * @param {string} moderationItemId The moderation item identifier
1363
+ * @param {UpdateModerationItemRequest} [updateModerationItemRequest]
1364
+ * @param {*} [options] Override http request option.
1365
+ * @throws {RequiredError}
1366
+ */
1367
+ updateModerationItem(project, moderationItemId, updateModerationItemRequest, options) {
1368
+ return __awaiter(this, void 0, void 0, function* () {
1369
+ var _a, _b, _c;
1370
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateModerationItem(project, moderationItemId, updateModerationItemRequest, options);
1371
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1372
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ModerationApi.updateModerationItem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1373
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1374
+ });
1375
+ },
1376
+ };
1377
+ };
1378
+ /**
1379
+ * ModerationApi - factory interface
1380
+ */
1381
+ export const ModerationApiFactory = function (configuration, basePath, axios) {
1382
+ const localVarFp = ModerationApiFp(configuration);
1383
+ return {
1384
+ /**
1385
+ * Update a moderation item
1386
+ * @summary Update a moderation item
1387
+ * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
1388
+ * @param {*} [options] Override http request option.
1389
+ * @throws {RequiredError}
1390
+ */
1391
+ updateModerationItem(requestParameters, options) {
1392
+ return localVarFp.updateModerationItem(requestParameters.project, requestParameters.moderationItemId, requestParameters.updateModerationItemRequest, options).then((request) => request(axios, basePath));
1393
+ },
1394
+ };
1395
+ };
1396
+ /**
1397
+ * ModerationApi - object-oriented interface
1398
+ */
1399
+ export class ModerationApi extends BaseAPI {
1400
+ /**
1401
+ * Update a moderation item
1402
+ * @summary Update a moderation item
1403
+ * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
1404
+ * @param {*} [options] Override http request option.
1405
+ * @throws {RequiredError}
1406
+ */
1407
+ updateModerationItem(requestParameters, options) {
1408
+ return ModerationApiFp(this.configuration).updateModerationItem(requestParameters.project, requestParameters.moderationItemId, requestParameters.updateModerationItemRequest, options).then((request) => request(this.axios, this.basePath));
1409
+ }
1410
+ }
1293
1411
  /**
1294
1412
  * OrdersApi - axios parameter creator
1295
1413
  */
@@ -1982,6 +2100,59 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
1982
2100
  options: localVarRequestOptions,
1983
2101
  };
1984
2102
  }),
2103
+ /**
2104
+ * Update a fulfillment style application for a fulfillment for a platform order
2105
+ * @summary Update platform fulfillment style application
2106
+ * @param {string} project Project unique identifier
2107
+ * @param {string} platformId The platform identifier
2108
+ * @param {string} styleId Unique identifier of a fulfillment style
2109
+ * @param {string} applicationId Unique identifier of a fulfillment style application
2110
+ * @param {UpdatePlatformFulfillmentStyleApplicationRequest} updatePlatformFulfillmentStyleApplicationRequest
2111
+ * @param {*} [options] Override http request option.
2112
+ * @throws {RequiredError}
2113
+ */
2114
+ updatePlatformFulfillmentStyleApplication: (project_1, platformId_1, styleId_1, applicationId_1, updatePlatformFulfillmentStyleApplicationRequest_1, ...args_1) => __awaiter(this, [project_1, platformId_1, styleId_1, applicationId_1, updatePlatformFulfillmentStyleApplicationRequest_1, ...args_1], void 0, function* (project, platformId, styleId, applicationId, updatePlatformFulfillmentStyleApplicationRequest, options = {}) {
2115
+ // verify required parameter 'project' is not null or undefined
2116
+ assertParamExists('updatePlatformFulfillmentStyleApplication', 'project', project);
2117
+ // verify required parameter 'platformId' is not null or undefined
2118
+ assertParamExists('updatePlatformFulfillmentStyleApplication', 'platformId', platformId);
2119
+ // verify required parameter 'styleId' is not null or undefined
2120
+ assertParamExists('updatePlatformFulfillmentStyleApplication', 'styleId', styleId);
2121
+ // verify required parameter 'applicationId' is not null or undefined
2122
+ assertParamExists('updatePlatformFulfillmentStyleApplication', 'applicationId', applicationId);
2123
+ // verify required parameter 'updatePlatformFulfillmentStyleApplicationRequest' is not null or undefined
2124
+ assertParamExists('updatePlatformFulfillmentStyleApplication', 'updatePlatformFulfillmentStyleApplicationRequest', updatePlatformFulfillmentStyleApplicationRequest);
2125
+ const localVarPath = `/v1/platform/{platformId}/styles/{styleId}/applications/{applicationId}`
2126
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
2127
+ .replace(`{${"styleId"}}`, encodeURIComponent(String(styleId)))
2128
+ .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
2129
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2130
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2131
+ let baseOptions;
2132
+ if (configuration) {
2133
+ baseOptions = configuration.baseOptions;
2134
+ }
2135
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
2136
+ const localVarHeaderParameter = {};
2137
+ const localVarQueryParameter = {};
2138
+ // authentication session-oauth required
2139
+ // oauth required
2140
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
2141
+ // authentication api-key required
2142
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2143
+ if (project !== undefined) {
2144
+ localVarQueryParameter['project'] = project;
2145
+ }
2146
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2147
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2148
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2149
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2150
+ localVarRequestOptions.data = serializeDataIfNeeded(updatePlatformFulfillmentStyleApplicationRequest, localVarRequestOptions, configuration);
2151
+ return {
2152
+ url: toPathString(localVarUrlObj),
2153
+ options: localVarRequestOptions,
2154
+ };
2155
+ }),
1985
2156
  };
1986
2157
  };
1987
2158
  /**
@@ -2256,6 +2427,26 @@ export const OrdersApiFp = function (configuration) {
2256
2427
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2257
2428
  });
2258
2429
  },
2430
+ /**
2431
+ * Update a fulfillment style application for a fulfillment for a platform order
2432
+ * @summary Update platform fulfillment style application
2433
+ * @param {string} project Project unique identifier
2434
+ * @param {string} platformId The platform identifier
2435
+ * @param {string} styleId Unique identifier of a fulfillment style
2436
+ * @param {string} applicationId Unique identifier of a fulfillment style application
2437
+ * @param {UpdatePlatformFulfillmentStyleApplicationRequest} updatePlatformFulfillmentStyleApplicationRequest
2438
+ * @param {*} [options] Override http request option.
2439
+ * @throws {RequiredError}
2440
+ */
2441
+ updatePlatformFulfillmentStyleApplication(project, platformId, styleId, applicationId, updatePlatformFulfillmentStyleApplicationRequest, options) {
2442
+ return __awaiter(this, void 0, void 0, function* () {
2443
+ var _a, _b, _c;
2444
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePlatformFulfillmentStyleApplication(project, platformId, styleId, applicationId, updatePlatformFulfillmentStyleApplicationRequest, options);
2445
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2446
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrdersApi.updatePlatformFulfillmentStyleApplication']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2447
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2448
+ });
2449
+ },
2259
2450
  };
2260
2451
  };
2261
2452
  /**
@@ -2404,6 +2595,16 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
2404
2595
  updateFulfillment(requestParameters, options) {
2405
2596
  return localVarFp.updateFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, requestParameters.updateFulfillmentRequest, options).then((request) => request(axios, basePath));
2406
2597
  },
2598
+ /**
2599
+ * Update a fulfillment style application for a fulfillment for a platform order
2600
+ * @summary Update platform fulfillment style application
2601
+ * @param {OrdersApiUpdatePlatformFulfillmentStyleApplicationRequest} requestParameters Request parameters.
2602
+ * @param {*} [options] Override http request option.
2603
+ * @throws {RequiredError}
2604
+ */
2605
+ updatePlatformFulfillmentStyleApplication(requestParameters, options) {
2606
+ return localVarFp.updatePlatformFulfillmentStyleApplication(requestParameters.project, requestParameters.platformId, requestParameters.styleId, requestParameters.applicationId, requestParameters.updatePlatformFulfillmentStyleApplicationRequest, options).then((request) => request(axios, basePath));
2607
+ },
2407
2608
  };
2408
2609
  };
2409
2610
  /**
@@ -2550,6 +2751,16 @@ export class OrdersApi extends BaseAPI {
2550
2751
  updateFulfillment(requestParameters, options) {
2551
2752
  return OrdersApiFp(this.configuration).updateFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, requestParameters.updateFulfillmentRequest, options).then((request) => request(this.axios, this.basePath));
2552
2753
  }
2754
+ /**
2755
+ * Update a fulfillment style application for a fulfillment for a platform order
2756
+ * @summary Update platform fulfillment style application
2757
+ * @param {OrdersApiUpdatePlatformFulfillmentStyleApplicationRequest} requestParameters Request parameters.
2758
+ * @param {*} [options] Override http request option.
2759
+ * @throws {RequiredError}
2760
+ */
2761
+ updatePlatformFulfillmentStyleApplication(requestParameters, options) {
2762
+ return OrdersApiFp(this.configuration).updatePlatformFulfillmentStyleApplication(requestParameters.project, requestParameters.platformId, requestParameters.styleId, requestParameters.applicationId, requestParameters.updatePlatformFulfillmentStyleApplicationRequest, options).then((request) => request(this.axios, this.basePath));
2763
+ }
2553
2764
  }
2554
2765
  export const ExportOrdersDateFilterTypeEnum = {
2555
2766
  CreatedAt: 'createdAt',
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.43.0
5
+ * The version of the OpenAPI document: 0.45.2
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.43.0
7
+ * The version of the OpenAPI document: 0.45.2
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.43.0
5
+ * The version of the OpenAPI document: 0.45.2
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.43.0
7
+ * The version of the OpenAPI document: 0.45.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,18 +2,30 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.43.0
5
+ * The version of the OpenAPI document: 0.45.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ interface AWSv4Configuration {
13
+ options?: {
14
+ region?: string;
15
+ service?: string;
16
+ };
17
+ credentials?: {
18
+ accessKeyId?: string;
19
+ secretAccessKey?: string;
20
+ sessionToken?: string;
21
+ };
22
+ }
12
23
  export interface ConfigurationParameters {
13
24
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
25
  username?: string;
15
26
  password?: string;
16
27
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
+ awsv4?: AWSv4Configuration;
17
29
  basePath?: string;
18
30
  serverIndex?: number;
19
31
  baseOptions?: any;
@@ -39,6 +51,17 @@ export declare class Configuration {
39
51
  * @param scopes oauth2 scope
40
52
  */
41
53
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
54
+ /**
55
+ * parameter for aws4 signature security
56
+ * @param {Object} AWS4Signature - AWS4 Signature security
57
+ * @param {string} options.region - aws region
58
+ * @param {string} options.service - name of the service.
59
+ * @param {string} credentials.accessKeyId - aws access key id
60
+ * @param {string} credentials.secretAccessKey - aws access key
61
+ * @param {string} credentials.sessionToken - aws session token
62
+ * @memberof Configuration
63
+ */
64
+ awsv4?: AWSv4Configuration;
42
65
  /**
43
66
  * override base path
44
67
  */
@@ -72,3 +95,4 @@ export declare class Configuration {
72
95
  */
73
96
  isJsonMime(mime: string): boolean;
74
97
  }
98
+ export {};
@@ -1,10 +1,9 @@
1
1
  /* tslint:disable */
2
- /* eslint-disable */
3
2
  /**
4
3
  * Platform API
5
4
  * Manage Your podOS platform
6
5
  *
7
- * The version of the OpenAPI document: 0.43.0
6
+ * The version of the OpenAPI document: 0.45.2
8
7
  *
9
8
  *
10
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,6 +17,7 @@ export class Configuration {
18
17
  this.username = param.username;
19
18
  this.password = param.password;
20
19
  this.accessToken = param.accessToken;
20
+ this.awsv4 = param.awsv4;
21
21
  this.basePath = param.basePath;
22
22
  this.serverIndex = param.serverIndex;
23
23
  this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.43.0
5
+ * The version of the OpenAPI document: 0.45.2
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.43.0
7
+ * The version of the OpenAPI document: 0.45.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).