@teemill/orders 1.27.0 → 1.28.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.
@@ -5,6 +5,55 @@ api.ts
5
5
  base.ts
6
6
  common.ts
7
7
  configuration.ts
8
+ docs/Address.md
9
+ docs/ApiError.md
10
+ docs/ConfirmOrderFulfillment.md
11
+ docs/ConfirmOrderFulfillmentWithShipment.md
12
+ docs/ConfirmOrderFulfillmentWithShippingMethod.md
13
+ docs/ConfirmOrderRequest.md
14
+ docs/ConfirmOrderValidationError.md
15
+ docs/ContactInformation.md
16
+ docs/ContactInformation1.md
17
+ docs/Coupon.md
18
+ docs/CreateOrder.md
19
+ docs/CreateOrderItem.md
20
+ docs/CustomsInformation.md
21
+ docs/CustomsInformation1.md
22
+ docs/DeliveryEstimates.md
23
+ docs/ExportOrders202Response.md
24
+ docs/Fulfiller.md
25
+ docs/FulfillerLocation.md
26
+ docs/Fulfillment.md
27
+ docs/FulfillmentItem.md
28
+ docs/Image.md
29
+ docs/ImportOrders202Response.md
30
+ docs/Option.md
31
+ docs/Order.md
32
+ docs/OrderImport.md
33
+ docs/OrderImportCounts.md
34
+ docs/OrderImportError.md
35
+ docs/OrderImportErrorCode.md
36
+ docs/OrderImportGroup.md
37
+ docs/OrderImportGroupStatus.md
38
+ docs/OrderImportGroupsResponse.md
39
+ docs/OrderImportStatus.md
40
+ docs/OrderImportsResponse.md
41
+ docs/OrderItem.md
42
+ docs/OrderPaymentMethod.md
43
+ docs/OrderTracking.md
44
+ docs/OrdersApi.md
45
+ docs/OrdersResponse.md
46
+ docs/Origin.md
47
+ docs/PaymentAttempt.md
48
+ docs/Price.md
49
+ docs/ProductUnavailableError.md
50
+ docs/RecipientCost.md
51
+ docs/Shipment.md
52
+ docs/ShippingMethod.md
53
+ docs/Status.md
54
+ docs/StatusHistoryItem.md
55
+ docs/StockConflictError.md
56
+ docs/StockUnavailableError.md
8
57
  git_push.sh
9
58
  index.ts
10
59
  package.json
@@ -1 +1 @@
1
- 7.7.0
1
+ 7.20.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/orders@1.27.0
1
+ ## @teemill/orders@1.28.2
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/orders@1.27.0 --save
39
+ npm install @teemill/orders@1.28.2 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders API
4
+ * Orders
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
6
6
  *
7
- * The version of the OpenAPI document: 1.27.0
7
+ * The version of the OpenAPI document: 1.28.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1158,10 +1158,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
1158
1158
  * @param {string} start Start of the date range to filter by when orders were placed.
1159
1159
  * @param {string} [end] End of date range filter. Which date field this applies to is controlled by the `dateFilterType` parameter.
1160
1160
  * @param {string} [search] Search term to filter based on order reference, customer name and email
1161
+ * @param {ExportOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
1161
1162
  * @param {*} [options] Override http request option.
1162
1163
  * @throws {RequiredError}
1163
1164
  */
1164
- exportOrders: async (project: string, start: string, end?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1165
+ exportOrders: async (project: string, start: string, end?: string, search?: string, dateFilterType?: ExportOrdersDateFilterTypeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1165
1166
  // verify required parameter 'project' is not null or undefined
1166
1167
  assertParamExists('exportOrders', 'project', project)
1167
1168
  // verify required parameter 'start' is not null or undefined
@@ -1205,6 +1206,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
1205
1206
  localVarQueryParameter['search'] = search;
1206
1207
  }
1207
1208
 
1209
+ if (dateFilterType !== undefined) {
1210
+ localVarQueryParameter['dateFilterType'] = dateFilterType;
1211
+ }
1212
+
1208
1213
  localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
1209
1214
 
1210
1215
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1705,11 +1710,12 @@ export const OrdersApiFp = function(configuration?: Configuration) {
1705
1710
  * @param {string} start Start of the date range to filter by when orders were placed.
1706
1711
  * @param {string} [end] End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter.
1707
1712
  * @param {string} [search] Search term to filter based on order reference, customer name and email
1713
+ * @param {ExportOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
1708
1714
  * @param {*} [options] Override http request option.
1709
1715
  * @throws {RequiredError}
1710
1716
  */
1711
- async exportOrders(project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
1712
- const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, start, end, search, options);
1717
+ async exportOrders(project: string, start: string, end?: string, search?: string, dateFilterType?: ExportOrdersDateFilterTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
1718
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, start, end, search, dateFilterType, options);
1713
1719
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1714
1720
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.exportOrders']?.[localVarOperationServerIndex]?.url;
1715
1721
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1882,7 +1888,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
1882
1888
  * @throws {RequiredError}
1883
1889
  */
1884
1890
  exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
1885
- return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
1891
+ return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, requestParameters.dateFilterType, options).then((request) => request(axios, basePath));
1886
1892
  },
1887
1893
  /**
1888
1894
  * Get an order by a given ID.
@@ -2060,6 +2066,11 @@ export interface OrdersApiExportOrdersRequest {
2060
2066
  * Search term to filter based on order reference, customer name and email
2061
2067
  */
2062
2068
  readonly search?: string
2069
+
2070
+ /**
2071
+ * Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
2072
+ */
2073
+ readonly dateFilterType?: ExportOrdersDateFilterTypeEnum
2063
2074
  }
2064
2075
 
2065
2076
  /**
@@ -2288,7 +2299,7 @@ export class OrdersApi extends BaseAPI {
2288
2299
  * @throws {RequiredError}
2289
2300
  */
2290
2301
  public exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig) {
2291
- return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2302
+ return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, requestParameters.dateFilterType, options).then((request) => request(this.axios, this.basePath));
2292
2303
  }
2293
2304
 
2294
2305
  /**
@@ -2369,10 +2380,24 @@ export class OrdersApi extends BaseAPI {
2369
2380
  }
2370
2381
  }
2371
2382
 
2383
+ export const ExportOrdersDateFilterTypeEnum = {
2384
+ CreatedAt: 'createdAt',
2385
+ UpdatedAt: 'updatedAt',
2386
+ PaidAt: 'paidAt',
2387
+ StatusChangedAt: 'statusChangedAt',
2388
+ CompletedAt: 'completedAt',
2389
+ RefundedAt: 'refundedAt',
2390
+ QuoteAt: 'quoteAt'
2391
+ } as const;
2392
+ export type ExportOrdersDateFilterTypeEnum = typeof ExportOrdersDateFilterTypeEnum[keyof typeof ExportOrdersDateFilterTypeEnum];
2372
2393
  export const GetOrdersDateFilterTypeEnum = {
2373
2394
  CreatedAt: 'createdAt',
2374
2395
  UpdatedAt: 'updatedAt',
2375
- StatusChangedAt: 'statusChangedAt'
2396
+ PaidAt: 'paidAt',
2397
+ StatusChangedAt: 'statusChangedAt',
2398
+ CompletedAt: 'completedAt',
2399
+ RefundedAt: 'refundedAt',
2400
+ QuoteAt: 'quoteAt'
2376
2401
  } as const;
2377
2402
  export type GetOrdersDateFilterTypeEnum = typeof GetOrdersDateFilterTypeEnum[keyof typeof GetOrdersDateFilterTypeEnum];
2378
2403
 
package/base.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders API
4
+ * Orders
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
6
6
  *
7
- * The version of the OpenAPI document: 1.27.0
7
+ * The version of the OpenAPI document: 1.28.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders API
4
+ * Orders
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
6
6
  *
7
- * The version of the OpenAPI document: 1.27.0
7
+ * The version of the OpenAPI document: 1.28.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /**
3
- * Orders API
3
+ * Orders
4
4
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
5
5
  *
6
- * The version of the OpenAPI document: 1.27.0
6
+ * The version of the OpenAPI document: 1.28.2
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
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Orders API
2
+ * Orders
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
4
4
  *
5
- * The version of the OpenAPI document: 1.27.0
5
+ * The version of the OpenAPI document: 1.28.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -930,10 +930,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
930
930
  * @param {string} start Start of the date range to filter by when orders were placed.
931
931
  * @param {string} [end] End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter.
932
932
  * @param {string} [search] Search term to filter based on order reference, customer name and email
933
+ * @param {ExportOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
933
934
  * @param {*} [options] Override http request option.
934
935
  * @throws {RequiredError}
935
936
  */
936
- exportOrders: (project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
937
+ exportOrders: (project: string, start: string, end?: string, search?: string, dateFilterType?: ExportOrdersDateFilterTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
937
938
  /**
938
939
  * Get an order by a given ID.
939
940
  * @summary Get order
@@ -1062,10 +1063,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
1062
1063
  * @param {string} start Start of the date range to filter by when orders were placed.
1063
1064
  * @param {string} [end] End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter.
1064
1065
  * @param {string} [search] Search term to filter based on order reference, customer name and email
1066
+ * @param {ExportOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
1065
1067
  * @param {*} [options] Override http request option.
1066
1068
  * @throws {RequiredError}
1067
1069
  */
1068
- exportOrders(project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
1070
+ exportOrders(project: string, start: string, end?: string, search?: string, dateFilterType?: ExportOrdersDateFilterTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
1069
1071
  /**
1070
1072
  * Get an order by a given ID.
1071
1073
  * @summary Get order
@@ -1332,6 +1334,10 @@ export interface OrdersApiExportOrdersRequest {
1332
1334
  * Search term to filter based on order reference, customer name and email
1333
1335
  */
1334
1336
  readonly search?: string;
1337
+ /**
1338
+ * Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
1339
+ */
1340
+ readonly dateFilterType?: ExportOrdersDateFilterTypeEnum;
1335
1341
  }
1336
1342
  /**
1337
1343
  * Request parameters for getOrder operation in OrdersApi.
@@ -1577,9 +1583,23 @@ export declare class OrdersApi extends BaseAPI {
1577
1583
  */
1578
1584
  retryPlatformPayment(requestParameters: OrdersApiRetryPlatformPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any, {}>>;
1579
1585
  }
1586
+ export declare const ExportOrdersDateFilterTypeEnum: {
1587
+ readonly CreatedAt: "createdAt";
1588
+ readonly UpdatedAt: "updatedAt";
1589
+ readonly PaidAt: "paidAt";
1590
+ readonly StatusChangedAt: "statusChangedAt";
1591
+ readonly CompletedAt: "completedAt";
1592
+ readonly RefundedAt: "refundedAt";
1593
+ readonly QuoteAt: "quoteAt";
1594
+ };
1595
+ export type ExportOrdersDateFilterTypeEnum = typeof ExportOrdersDateFilterTypeEnum[keyof typeof ExportOrdersDateFilterTypeEnum];
1580
1596
  export declare const GetOrdersDateFilterTypeEnum: {
1581
1597
  readonly CreatedAt: "createdAt";
1582
1598
  readonly UpdatedAt: "updatedAt";
1599
+ readonly PaidAt: "paidAt";
1583
1600
  readonly StatusChangedAt: "statusChangedAt";
1601
+ readonly CompletedAt: "completedAt";
1602
+ readonly RefundedAt: "refundedAt";
1603
+ readonly QuoteAt: "quoteAt";
1584
1604
  };
1585
1605
  export type GetOrdersDateFilterTypeEnum = typeof GetOrdersDateFilterTypeEnum[keyof typeof GetOrdersDateFilterTypeEnum];
package/dist/api.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Orders API
5
+ * Orders
6
6
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
7
7
  *
8
- * The version of the OpenAPI document: 1.27.0
8
+ * The version of the OpenAPI document: 1.28.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.GetOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.StockUnavailableErrorCodeEnum = exports.Status = exports.ProductUnavailableErrorAvailableQuantityEnum = exports.ProductUnavailableErrorCodeEnum = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.OrderImportStatus = exports.OrderImportGroupStatus = exports.OrderImportErrorCode = exports.CustomsInformationPreRegistrationTypeEnum = exports.ConfirmOrderValidationErrorCodeEnum = void 0;
25
+ exports.GetOrdersDateFilterTypeEnum = exports.ExportOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.StockUnavailableErrorCodeEnum = exports.Status = exports.ProductUnavailableErrorAvailableQuantityEnum = exports.ProductUnavailableErrorCodeEnum = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.OrderImportStatus = exports.OrderImportGroupStatus = exports.OrderImportErrorCode = exports.CustomsInformationPreRegistrationTypeEnum = exports.ConfirmOrderValidationErrorCodeEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -295,10 +295,11 @@ const OrdersApiAxiosParamCreator = function (configuration) {
295
295
  * @param {string} start Start of the date range to filter by when orders were placed.
296
296
  * @param {string} [end] End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter.
297
297
  * @param {string} [search] Search term to filter based on order reference, customer name and email
298
+ * @param {ExportOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
298
299
  * @param {*} [options] Override http request option.
299
300
  * @throws {RequiredError}
300
301
  */
301
- exportOrders: (project_1, start_1, end_1, search_1, ...args_1) => __awaiter(this, [project_1, start_1, end_1, search_1, ...args_1], void 0, function* (project, start, end, search, options = {}) {
302
+ exportOrders: (project_1, start_1, end_1, search_1, dateFilterType_1, ...args_1) => __awaiter(this, [project_1, start_1, end_1, search_1, dateFilterType_1, ...args_1], void 0, function* (project, start, end, search, dateFilterType, options = {}) {
302
303
  // verify required parameter 'project' is not null or undefined
303
304
  (0, common_1.assertParamExists)('exportOrders', 'project', project);
304
305
  // verify required parameter 'start' is not null or undefined
@@ -334,6 +335,9 @@ const OrdersApiAxiosParamCreator = function (configuration) {
334
335
  if (search !== undefined) {
335
336
  localVarQueryParameter['search'] = search;
336
337
  }
338
+ if (dateFilterType !== undefined) {
339
+ localVarQueryParameter['dateFilterType'] = dateFilterType;
340
+ }
337
341
  localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
338
342
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
339
343
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -779,13 +783,14 @@ const OrdersApiFp = function (configuration) {
779
783
  * @param {string} start Start of the date range to filter by when orders were placed.
780
784
  * @param {string} [end] End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter.
781
785
  * @param {string} [search] Search term to filter based on order reference, customer name and email
786
+ * @param {ExportOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
782
787
  * @param {*} [options] Override http request option.
783
788
  * @throws {RequiredError}
784
789
  */
785
- exportOrders(project, start, end, search, options) {
790
+ exportOrders(project, start, end, search, dateFilterType, options) {
786
791
  return __awaiter(this, void 0, void 0, function* () {
787
792
  var _a, _b, _c;
788
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, start, end, search, options);
793
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, start, end, search, dateFilterType, options);
789
794
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
790
795
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.exportOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
791
796
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -980,7 +985,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
980
985
  * @throws {RequiredError}
981
986
  */
982
987
  exportOrders(requestParameters, options) {
983
- return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
988
+ return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, requestParameters.dateFilterType, options).then((request) => request(axios, basePath));
984
989
  },
985
990
  /**
986
991
  * Get an order by a given ID.
@@ -1107,7 +1112,7 @@ class OrdersApi extends base_1.BaseAPI {
1107
1112
  * @throws {RequiredError}
1108
1113
  */
1109
1114
  exportOrders(requestParameters, options) {
1110
- return (0, exports.OrdersApiFp)(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
1115
+ return (0, exports.OrdersApiFp)(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, requestParameters.dateFilterType, options).then((request) => request(this.axios, this.basePath));
1111
1116
  }
1112
1117
  /**
1113
1118
  * Get an order by a given ID.
@@ -1181,8 +1186,21 @@ class OrdersApi extends base_1.BaseAPI {
1181
1186
  }
1182
1187
  }
1183
1188
  exports.OrdersApi = OrdersApi;
1189
+ exports.ExportOrdersDateFilterTypeEnum = {
1190
+ CreatedAt: 'createdAt',
1191
+ UpdatedAt: 'updatedAt',
1192
+ PaidAt: 'paidAt',
1193
+ StatusChangedAt: 'statusChangedAt',
1194
+ CompletedAt: 'completedAt',
1195
+ RefundedAt: 'refundedAt',
1196
+ QuoteAt: 'quoteAt'
1197
+ };
1184
1198
  exports.GetOrdersDateFilterTypeEnum = {
1185
1199
  CreatedAt: 'createdAt',
1186
1200
  UpdatedAt: 'updatedAt',
1187
- StatusChangedAt: 'statusChangedAt'
1201
+ PaidAt: 'paidAt',
1202
+ StatusChangedAt: 'statusChangedAt',
1203
+ CompletedAt: 'completedAt',
1204
+ RefundedAt: 'refundedAt',
1205
+ QuoteAt: 'quoteAt'
1188
1206
  };
package/dist/base.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Orders API
2
+ * Orders
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
4
4
  *
5
- * The version of the OpenAPI document: 1.27.0
5
+ * The version of the OpenAPI document: 1.28.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Orders API
5
+ * Orders
6
6
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
7
7
  *
8
- * The version of the OpenAPI document: 1.27.0
8
+ * The version of the OpenAPI document: 1.28.2
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
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Orders API
2
+ * Orders
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
4
4
  *
5
- * The version of the OpenAPI document: 1.27.0
5
+ * The version of the OpenAPI document: 1.28.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Orders API
5
+ * Orders
6
6
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
7
7
  *
8
- * The version of the OpenAPI document: 1.27.0
8
+ * The version of the OpenAPI document: 1.28.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Orders API
2
+ * Orders
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
4
4
  *
5
- * The version of the OpenAPI document: 1.27.0
5
+ * The version of the OpenAPI document: 1.28.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  /* tslint:disable */
3
3
  /**
4
- * Orders API
4
+ * Orders
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
6
6
  *
7
- * The version of the OpenAPI document: 1.27.0
7
+ * The version of the OpenAPI document: 1.28.2
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
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Orders API
2
+ * Orders
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
4
4
  *
5
- * The version of the OpenAPI document: 1.27.0
5
+ * The version of the OpenAPI document: 1.28.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -930,10 +930,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
930
930
  * @param {string} start Start of the date range to filter by when orders were placed.
931
931
  * @param {string} [end] End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter.
932
932
  * @param {string} [search] Search term to filter based on order reference, customer name and email
933
+ * @param {ExportOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
933
934
  * @param {*} [options] Override http request option.
934
935
  * @throws {RequiredError}
935
936
  */
936
- exportOrders: (project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
937
+ exportOrders: (project: string, start: string, end?: string, search?: string, dateFilterType?: ExportOrdersDateFilterTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
937
938
  /**
938
939
  * Get an order by a given ID.
939
940
  * @summary Get order
@@ -1062,10 +1063,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
1062
1063
  * @param {string} start Start of the date range to filter by when orders were placed.
1063
1064
  * @param {string} [end] End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter.
1064
1065
  * @param {string} [search] Search term to filter based on order reference, customer name and email
1066
+ * @param {ExportOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
1065
1067
  * @param {*} [options] Override http request option.
1066
1068
  * @throws {RequiredError}
1067
1069
  */
1068
- exportOrders(project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
1070
+ exportOrders(project: string, start: string, end?: string, search?: string, dateFilterType?: ExportOrdersDateFilterTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
1069
1071
  /**
1070
1072
  * Get an order by a given ID.
1071
1073
  * @summary Get order
@@ -1332,6 +1334,10 @@ export interface OrdersApiExportOrdersRequest {
1332
1334
  * Search term to filter based on order reference, customer name and email
1333
1335
  */
1334
1336
  readonly search?: string;
1337
+ /**
1338
+ * Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
1339
+ */
1340
+ readonly dateFilterType?: ExportOrdersDateFilterTypeEnum;
1335
1341
  }
1336
1342
  /**
1337
1343
  * Request parameters for getOrder operation in OrdersApi.
@@ -1577,9 +1583,23 @@ export declare class OrdersApi extends BaseAPI {
1577
1583
  */
1578
1584
  retryPlatformPayment(requestParameters: OrdersApiRetryPlatformPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any, {}>>;
1579
1585
  }
1586
+ export declare const ExportOrdersDateFilterTypeEnum: {
1587
+ readonly CreatedAt: "createdAt";
1588
+ readonly UpdatedAt: "updatedAt";
1589
+ readonly PaidAt: "paidAt";
1590
+ readonly StatusChangedAt: "statusChangedAt";
1591
+ readonly CompletedAt: "completedAt";
1592
+ readonly RefundedAt: "refundedAt";
1593
+ readonly QuoteAt: "quoteAt";
1594
+ };
1595
+ export type ExportOrdersDateFilterTypeEnum = typeof ExportOrdersDateFilterTypeEnum[keyof typeof ExportOrdersDateFilterTypeEnum];
1580
1596
  export declare const GetOrdersDateFilterTypeEnum: {
1581
1597
  readonly CreatedAt: "createdAt";
1582
1598
  readonly UpdatedAt: "updatedAt";
1599
+ readonly PaidAt: "paidAt";
1583
1600
  readonly StatusChangedAt: "statusChangedAt";
1601
+ readonly CompletedAt: "completedAt";
1602
+ readonly RefundedAt: "refundedAt";
1603
+ readonly QuoteAt: "quoteAt";
1584
1604
  };
1585
1605
  export type GetOrdersDateFilterTypeEnum = typeof GetOrdersDateFilterTypeEnum[keyof typeof GetOrdersDateFilterTypeEnum];
package/dist/esm/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders API
4
+ * Orders
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
6
6
  *
7
- * The version of the OpenAPI document: 1.27.0
7
+ * The version of the OpenAPI document: 1.28.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -292,10 +292,11 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
292
292
  * @param {string} start Start of the date range to filter by when orders were placed.
293
293
  * @param {string} [end] End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter.
294
294
  * @param {string} [search] Search term to filter based on order reference, customer name and email
295
+ * @param {ExportOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
295
296
  * @param {*} [options] Override http request option.
296
297
  * @throws {RequiredError}
297
298
  */
298
- exportOrders: (project_1, start_1, end_1, search_1, ...args_1) => __awaiter(this, [project_1, start_1, end_1, search_1, ...args_1], void 0, function* (project, start, end, search, options = {}) {
299
+ exportOrders: (project_1, start_1, end_1, search_1, dateFilterType_1, ...args_1) => __awaiter(this, [project_1, start_1, end_1, search_1, dateFilterType_1, ...args_1], void 0, function* (project, start, end, search, dateFilterType, options = {}) {
299
300
  // verify required parameter 'project' is not null or undefined
300
301
  assertParamExists('exportOrders', 'project', project);
301
302
  // verify required parameter 'start' is not null or undefined
@@ -331,6 +332,9 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
331
332
  if (search !== undefined) {
332
333
  localVarQueryParameter['search'] = search;
333
334
  }
335
+ if (dateFilterType !== undefined) {
336
+ localVarQueryParameter['dateFilterType'] = dateFilterType;
337
+ }
334
338
  localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
335
339
  setSearchParams(localVarUrlObj, localVarQueryParameter);
336
340
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -775,13 +779,14 @@ export const OrdersApiFp = function (configuration) {
775
779
  * @param {string} start Start of the date range to filter by when orders were placed.
776
780
  * @param {string} [end] End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter.
777
781
  * @param {string} [search] Search term to filter based on order reference, customer name and email
782
+ * @param {ExportOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
778
783
  * @param {*} [options] Override http request option.
779
784
  * @throws {RequiredError}
780
785
  */
781
- exportOrders(project, start, end, search, options) {
786
+ exportOrders(project, start, end, search, dateFilterType, options) {
782
787
  return __awaiter(this, void 0, void 0, function* () {
783
788
  var _a, _b, _c;
784
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, start, end, search, options);
789
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, start, end, search, dateFilterType, options);
785
790
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
786
791
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrdersApi.exportOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
787
792
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -975,7 +980,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
975
980
  * @throws {RequiredError}
976
981
  */
977
982
  exportOrders(requestParameters, options) {
978
- return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
983
+ return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, requestParameters.dateFilterType, options).then((request) => request(axios, basePath));
979
984
  },
980
985
  /**
981
986
  * Get an order by a given ID.
@@ -1101,7 +1106,7 @@ export class OrdersApi extends BaseAPI {
1101
1106
  * @throws {RequiredError}
1102
1107
  */
1103
1108
  exportOrders(requestParameters, options) {
1104
- return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
1109
+ return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, requestParameters.dateFilterType, options).then((request) => request(this.axios, this.basePath));
1105
1110
  }
1106
1111
  /**
1107
1112
  * Get an order by a given ID.
@@ -1174,8 +1179,21 @@ export class OrdersApi extends BaseAPI {
1174
1179
  return OrdersApiFp(this.configuration).retryPlatformPayment(requestParameters.project, requestParameters.orderId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
1175
1180
  }
1176
1181
  }
1182
+ export const ExportOrdersDateFilterTypeEnum = {
1183
+ CreatedAt: 'createdAt',
1184
+ UpdatedAt: 'updatedAt',
1185
+ PaidAt: 'paidAt',
1186
+ StatusChangedAt: 'statusChangedAt',
1187
+ CompletedAt: 'completedAt',
1188
+ RefundedAt: 'refundedAt',
1189
+ QuoteAt: 'quoteAt'
1190
+ };
1177
1191
  export const GetOrdersDateFilterTypeEnum = {
1178
1192
  CreatedAt: 'createdAt',
1179
1193
  UpdatedAt: 'updatedAt',
1180
- StatusChangedAt: 'statusChangedAt'
1194
+ PaidAt: 'paidAt',
1195
+ StatusChangedAt: 'statusChangedAt',
1196
+ CompletedAt: 'completedAt',
1197
+ RefundedAt: 'refundedAt',
1198
+ QuoteAt: 'quoteAt'
1181
1199
  };
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Orders API
2
+ * Orders
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
4
4
  *
5
- * The version of the OpenAPI document: 1.27.0
5
+ * The version of the OpenAPI document: 1.28.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
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders API
4
+ * Orders
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
6
6
  *
7
- * The version of the OpenAPI document: 1.27.0
7
+ * The version of the OpenAPI document: 1.28.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Orders API
2
+ * Orders
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
4
4
  *
5
- * The version of the OpenAPI document: 1.27.0
5
+ * The version of the OpenAPI document: 1.28.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders API
4
+ * Orders
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
6
6
  *
7
- * The version of the OpenAPI document: 1.27.0
7
+ * The version of the OpenAPI document: 1.28.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Orders API
2
+ * Orders
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
4
4
  *
5
- * The version of the OpenAPI document: 1.27.0
5
+ * The version of the OpenAPI document: 1.28.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,9 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /**
3
- * Orders API
3
+ * Orders
4
4
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
5
5
  *
6
- * The version of the OpenAPI document: 1.27.0
6
+ * The version of the OpenAPI document: 1.28.2
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Orders API
2
+ * Orders
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
4
4
  *
5
- * The version of the OpenAPI document: 1.27.0
5
+ * The version of the OpenAPI document: 1.28.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
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders API
4
+ * Orders
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
6
6
  *
7
- * The version of the OpenAPI document: 1.27.0
7
+ * The version of the OpenAPI document: 1.28.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Orders API
2
+ * Orders
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
4
4
  *
5
- * The version of the OpenAPI document: 1.27.0
5
+ * The version of the OpenAPI document: 1.28.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Orders API
5
+ * Orders
6
6
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
7
7
  *
8
- * The version of the OpenAPI document: 1.27.0
8
+ * The version of the OpenAPI document: 1.28.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/OrdersApi.md CHANGED
@@ -286,12 +286,14 @@ let project: string; //The project identifier to scope the request to. (default
286
286
  let start: string; //Start of the date range to filter by when orders were placed. (default to undefined)
287
287
  let end: string; //End of date range filter. Which date field this applies to is controlled by the `dateFilterType` parameter. (optional) (default to undefined)
288
288
  let search: string; //Search term to filter based on order reference, customer name and email (optional) (default to undefined)
289
+ let dateFilterType: 'createdAt' | 'updatedAt' | 'paidAt' | 'statusChangedAt' | 'completedAt' | 'refundedAt' | 'quoteAt'; //Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query. (optional) (default to 'createdAt')
289
290
 
290
291
  const { status, data } = await apiInstance.exportOrders(
291
292
  project,
292
293
  start,
293
294
  end,
294
- search
295
+ search,
296
+ dateFilterType
295
297
  );
296
298
  ```
297
299
 
@@ -303,6 +305,7 @@ const { status, data } = await apiInstance.exportOrders(
303
305
  | **start** | [**string**] | Start of the date range to filter by when orders were placed. | defaults to undefined|
304
306
  | **end** | [**string**] | End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter. | (optional) defaults to undefined|
305
307
  | **search** | [**string**] | Search term to filter based on order reference, customer name and email | (optional) defaults to undefined|
308
+ | **dateFilterType** | [**&#39;createdAt&#39; | &#39;updatedAt&#39; | &#39;paidAt&#39; | &#39;statusChangedAt&#39; | &#39;completedAt&#39; | &#39;refundedAt&#39; | &#39;quoteAt&#39;**]**Array<&#39;createdAt&#39; &#124; &#39;updatedAt&#39; &#124; &#39;paidAt&#39; &#124; &#39;statusChangedAt&#39; &#124; &#39;completedAt&#39; &#124; &#39;refundedAt&#39; &#124; &#39;quoteAt&#39;>** | Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query. | (optional) defaults to 'createdAt'|
306
309
 
307
310
 
308
311
  ### Return type
@@ -478,7 +481,7 @@ let ids: Array<string>; //Filter to specific order IDs. Only orders matching the
478
481
  let statuses: Array<Status>; //Filter by order status. Only orders matching one of the given statuses will be returned. (optional) (default to undefined)
479
482
  let start: string; //Start of date range filter. Which date field this applies to is controlled by the `dateFilterType` parameter. (optional) (default to undefined)
480
483
  let end: string; //End of date range filter. Which date field this applies to is controlled by the `dateFilterType` parameter. (optional) (default to undefined)
481
- let dateFilterType: 'createdAt' | 'updatedAt' | 'statusChangedAt'; //Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query. (optional) (default to 'createdAt')
484
+ let dateFilterType: 'createdAt' | 'updatedAt' | 'paidAt' | 'statusChangedAt' | 'completedAt' | 'refundedAt' | 'quoteAt'; //Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query. (optional) (default to 'createdAt')
482
485
 
483
486
  const { status, data } = await apiInstance.getOrders(
484
487
  project,
@@ -507,7 +510,7 @@ const { status, data } = await apiInstance.getOrders(
507
510
  | **statuses** | **Array&lt;Status&gt;** | Filter by order status. Only orders matching one of the given statuses will be returned. | (optional) defaults to undefined|
508
511
  | **start** | [**string**] | Start of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter. | (optional) defaults to undefined|
509
512
  | **end** | [**string**] | End of date range filter. Which date field this applies to is controlled by the &#x60;dateFilterType&#x60; parameter. | (optional) defaults to undefined|
510
- | **dateFilterType** | [**&#39;createdAt&#39; | &#39;updatedAt&#39; | &#39;statusChangedAt&#39;**]**Array<&#39;createdAt&#39; &#124; &#39;updatedAt&#39; &#124; &#39;statusChangedAt&#39;>** | Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query. | (optional) defaults to 'createdAt'|
513
+ | **dateFilterType** | [**&#39;createdAt&#39; | &#39;updatedAt&#39; | &#39;paidAt&#39; | &#39;statusChangedAt&#39; | &#39;completedAt&#39; | &#39;refundedAt&#39; | &#39;quoteAt&#39;**]**Array<&#39;createdAt&#39; &#124; &#39;updatedAt&#39; &#124; &#39;paidAt&#39; &#124; &#39;statusChangedAt&#39; &#124; &#39;completedAt&#39; &#124; &#39;refundedAt&#39; &#124; &#39;quoteAt&#39;>** | Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query. | (optional) defaults to 'createdAt'|
511
514
 
512
515
 
513
516
  ### Return type
package/index.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders API
4
+ * Orders
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
6
6
  *
7
- * The version of the OpenAPI document: 1.27.0
7
+ * The version of the OpenAPI document: 1.28.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/orders",
3
- "version": "1.27.0",
3
+ "version": "1.28.2",
4
4
  "description": "OpenAPI client for @teemill/orders",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {