@teemill/platform 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +37 -11
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +21 -5
- package/dist/api.js +21 -11
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +21 -5
- package/dist/esm/api.js +21 -11
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/platform@0.
|
|
1
|
+
## @teemill/platform@0.8.0
|
|
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/platform@0.
|
|
39
|
+
npm install @teemill/platform@0.8.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -817,10 +817,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
817
817
|
* @param {string} platformId The platform identifier
|
|
818
818
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
819
819
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
820
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
820
821
|
* @param {*} [options] Override http request option.
|
|
821
822
|
* @throws {RequiredError}
|
|
822
823
|
*/
|
|
823
|
-
exportOrders: async (project: string, platformId: string, start: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
824
|
+
exportOrders: async (project: string, platformId: string, start: string, end?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
824
825
|
// verify required parameter 'project' is not null or undefined
|
|
825
826
|
assertParamExists('exportOrders', 'project', project)
|
|
826
827
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -863,6 +864,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
863
864
|
end;
|
|
864
865
|
}
|
|
865
866
|
|
|
867
|
+
if (search !== undefined) {
|
|
868
|
+
localVarQueryParameter['search'] = search;
|
|
869
|
+
}
|
|
870
|
+
|
|
866
871
|
|
|
867
872
|
|
|
868
873
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1182,11 +1187,12 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
1182
1187
|
* @param {string} platformId The platform identifier
|
|
1183
1188
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1184
1189
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1190
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1185
1191
|
* @param {*} [options] Override http request option.
|
|
1186
1192
|
* @throws {RequiredError}
|
|
1187
1193
|
*/
|
|
1188
|
-
async exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1189
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, options);
|
|
1194
|
+
async exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1195
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, search, options);
|
|
1190
1196
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1191
1197
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.exportOrders']?.[localVarOperationServerIndex]?.url;
|
|
1192
1198
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1289,7 +1295,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
1289
1295
|
* @throws {RequiredError}
|
|
1290
1296
|
*/
|
|
1291
1297
|
exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1292
|
-
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
1298
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1293
1299
|
},
|
|
1294
1300
|
/**
|
|
1295
1301
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
@@ -1377,6 +1383,13 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1377
1383
|
* @memberof OrdersApiExportOrders
|
|
1378
1384
|
*/
|
|
1379
1385
|
readonly end?: string
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Search term to filter based on order reference, customer name and email
|
|
1389
|
+
* @type {string}
|
|
1390
|
+
* @memberof OrdersApiExportOrders
|
|
1391
|
+
*/
|
|
1392
|
+
readonly search?: string
|
|
1380
1393
|
}
|
|
1381
1394
|
|
|
1382
1395
|
/**
|
|
@@ -1570,7 +1583,7 @@ export class OrdersApi extends BaseAPI {
|
|
|
1570
1583
|
* @memberof OrdersApi
|
|
1571
1584
|
*/
|
|
1572
1585
|
public exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
1573
|
-
return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
1586
|
+
return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
1574
1587
|
}
|
|
1575
1588
|
|
|
1576
1589
|
/**
|
|
@@ -1649,10 +1662,11 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1649
1662
|
* @param {string} platformId The platform identifier
|
|
1650
1663
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1651
1664
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1665
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1652
1666
|
* @param {*} [options] Override http request option.
|
|
1653
1667
|
* @throws {RequiredError}
|
|
1654
1668
|
*/
|
|
1655
|
-
exportOrders: async (project: string, platformId: string, start: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1669
|
+
exportOrders: async (project: string, platformId: string, start: string, end?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1656
1670
|
// verify required parameter 'project' is not null or undefined
|
|
1657
1671
|
assertParamExists('exportOrders', 'project', project)
|
|
1658
1672
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -1695,6 +1709,10 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1695
1709
|
end;
|
|
1696
1710
|
}
|
|
1697
1711
|
|
|
1712
|
+
if (search !== undefined) {
|
|
1713
|
+
localVarQueryParameter['search'] = search;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1698
1716
|
|
|
1699
1717
|
|
|
1700
1718
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2108,11 +2126,12 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
2108
2126
|
* @param {string} platformId The platform identifier
|
|
2109
2127
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
2110
2128
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
2129
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
2111
2130
|
* @param {*} [options] Override http request option.
|
|
2112
2131
|
* @throws {RequiredError}
|
|
2113
2132
|
*/
|
|
2114
|
-
async exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
2115
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, options);
|
|
2133
|
+
async exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
2134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, search, options);
|
|
2116
2135
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2117
2136
|
const localVarOperationServerBasePath = operationServerMap['PlatformApi.exportOrders']?.[localVarOperationServerIndex]?.url;
|
|
2118
2137
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2242,7 +2261,7 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
2242
2261
|
* @throws {RequiredError}
|
|
2243
2262
|
*/
|
|
2244
2263
|
exportOrders(requestParameters: PlatformApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
2245
|
-
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
2264
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
2246
2265
|
},
|
|
2247
2266
|
/**
|
|
2248
2267
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
@@ -2350,6 +2369,13 @@ export interface PlatformApiExportOrdersRequest {
|
|
|
2350
2369
|
* @memberof PlatformApiExportOrders
|
|
2351
2370
|
*/
|
|
2352
2371
|
readonly end?: string
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* Search term to filter based on order reference, customer name and email
|
|
2375
|
+
* @type {string}
|
|
2376
|
+
* @memberof PlatformApiExportOrders
|
|
2377
|
+
*/
|
|
2378
|
+
readonly search?: string
|
|
2353
2379
|
}
|
|
2354
2380
|
|
|
2355
2381
|
/**
|
|
@@ -2578,7 +2604,7 @@ export class PlatformApi extends BaseAPI {
|
|
|
2578
2604
|
* @memberof PlatformApi
|
|
2579
2605
|
*/
|
|
2580
2606
|
public exportOrders(requestParameters: PlatformApiExportOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
2581
|
-
return PlatformApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
2607
|
+
return PlatformApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
2582
2608
|
}
|
|
2583
2609
|
|
|
2584
2610
|
/**
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -799,10 +799,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
799
799
|
* @param {string} platformId The platform identifier
|
|
800
800
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
801
801
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
802
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
802
803
|
* @param {*} [options] Override http request option.
|
|
803
804
|
* @throws {RequiredError}
|
|
804
805
|
*/
|
|
805
|
-
exportOrders: (project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
806
|
+
exportOrders: (project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
806
807
|
/**
|
|
807
808
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
808
809
|
* @summary Get fulfillment
|
|
@@ -871,10 +872,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
871
872
|
* @param {string} platformId The platform identifier
|
|
872
873
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
873
874
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
875
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
874
876
|
* @param {*} [options] Override http request option.
|
|
875
877
|
* @throws {RequiredError}
|
|
876
878
|
*/
|
|
877
|
-
exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
879
|
+
exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
878
880
|
/**
|
|
879
881
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
880
882
|
* @summary Get fulfillment
|
|
@@ -1015,6 +1017,12 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1015
1017
|
* @memberof OrdersApiExportOrders
|
|
1016
1018
|
*/
|
|
1017
1019
|
readonly end?: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Search term to filter based on order reference, customer name and email
|
|
1022
|
+
* @type {string}
|
|
1023
|
+
* @memberof OrdersApiExportOrders
|
|
1024
|
+
*/
|
|
1025
|
+
readonly search?: string;
|
|
1018
1026
|
}
|
|
1019
1027
|
/**
|
|
1020
1028
|
* Request parameters for getFulfillment operation in OrdersApi.
|
|
@@ -1245,10 +1253,11 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1245
1253
|
* @param {string} platformId The platform identifier
|
|
1246
1254
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1247
1255
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1256
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1248
1257
|
* @param {*} [options] Override http request option.
|
|
1249
1258
|
* @throws {RequiredError}
|
|
1250
1259
|
*/
|
|
1251
|
-
exportOrders: (project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1260
|
+
exportOrders: (project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1252
1261
|
/**
|
|
1253
1262
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1254
1263
|
* @summary Get fulfillment
|
|
@@ -1334,10 +1343,11 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
|
|
|
1334
1343
|
* @param {string} platformId The platform identifier
|
|
1335
1344
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1336
1345
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1346
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1337
1347
|
* @param {*} [options] Override http request option.
|
|
1338
1348
|
* @throws {RequiredError}
|
|
1339
1349
|
*/
|
|
1340
|
-
exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1350
|
+
exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1341
1351
|
/**
|
|
1342
1352
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1343
1353
|
* @summary Get fulfillment
|
|
@@ -1511,6 +1521,12 @@ export interface PlatformApiExportOrdersRequest {
|
|
|
1511
1521
|
* @memberof PlatformApiExportOrders
|
|
1512
1522
|
*/
|
|
1513
1523
|
readonly end?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* Search term to filter based on order reference, customer name and email
|
|
1526
|
+
* @type {string}
|
|
1527
|
+
* @memberof PlatformApiExportOrders
|
|
1528
|
+
*/
|
|
1529
|
+
readonly search?: string;
|
|
1514
1530
|
}
|
|
1515
1531
|
/**
|
|
1516
1532
|
* Request parameters for getFulfillment operation in PlatformApi.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -54,10 +54,11 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
54
54
|
* @param {string} platformId The platform identifier
|
|
55
55
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
56
56
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
57
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
57
58
|
* @param {*} [options] Override http request option.
|
|
58
59
|
* @throws {RequiredError}
|
|
59
60
|
*/
|
|
60
|
-
exportOrders: (project_1, platformId_1, start_1, end_1, ...args_1) => __awaiter(this, [project_1, platformId_1, start_1, end_1, ...args_1], void 0, function* (project, platformId, start, end, options = {}) {
|
|
61
|
+
exportOrders: (project_1, platformId_1, start_1, end_1, search_1, ...args_1) => __awaiter(this, [project_1, platformId_1, start_1, end_1, search_1, ...args_1], void 0, function* (project, platformId, start, end, search, options = {}) {
|
|
61
62
|
// verify required parameter 'project' is not null or undefined
|
|
62
63
|
(0, common_1.assertParamExists)('exportOrders', 'project', project);
|
|
63
64
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -93,6 +94,9 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
93
94
|
end.toISOString() :
|
|
94
95
|
end;
|
|
95
96
|
}
|
|
97
|
+
if (search !== undefined) {
|
|
98
|
+
localVarQueryParameter['search'] = search;
|
|
99
|
+
}
|
|
96
100
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
97
101
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
98
102
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -363,13 +367,14 @@ const OrdersApiFp = function (configuration) {
|
|
|
363
367
|
* @param {string} platformId The platform identifier
|
|
364
368
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
365
369
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
370
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
366
371
|
* @param {*} [options] Override http request option.
|
|
367
372
|
* @throws {RequiredError}
|
|
368
373
|
*/
|
|
369
|
-
exportOrders(project, platformId, start, end, options) {
|
|
374
|
+
exportOrders(project, platformId, start, end, search, options) {
|
|
370
375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
371
376
|
var _a, _b, _c;
|
|
372
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, platformId, start, end, options);
|
|
377
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, platformId, start, end, search, options);
|
|
373
378
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
374
379
|
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;
|
|
375
380
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -488,7 +493,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
488
493
|
* @throws {RequiredError}
|
|
489
494
|
*/
|
|
490
495
|
exportOrders(requestParameters, options) {
|
|
491
|
-
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
496
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
492
497
|
},
|
|
493
498
|
/**
|
|
494
499
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
@@ -559,7 +564,7 @@ class OrdersApi extends base_1.BaseAPI {
|
|
|
559
564
|
* @memberof OrdersApi
|
|
560
565
|
*/
|
|
561
566
|
exportOrders(requestParameters, options) {
|
|
562
|
-
return (0, exports.OrdersApiFp)(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
567
|
+
return (0, exports.OrdersApiFp)(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
563
568
|
}
|
|
564
569
|
/**
|
|
565
570
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
@@ -631,10 +636,11 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
631
636
|
* @param {string} platformId The platform identifier
|
|
632
637
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
633
638
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
639
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
634
640
|
* @param {*} [options] Override http request option.
|
|
635
641
|
* @throws {RequiredError}
|
|
636
642
|
*/
|
|
637
|
-
exportOrders: (project_1, platformId_1, start_1, end_1, ...args_1) => __awaiter(this, [project_1, platformId_1, start_1, end_1, ...args_1], void 0, function* (project, platformId, start, end, options = {}) {
|
|
643
|
+
exportOrders: (project_1, platformId_1, start_1, end_1, search_1, ...args_1) => __awaiter(this, [project_1, platformId_1, start_1, end_1, search_1, ...args_1], void 0, function* (project, platformId, start, end, search, options = {}) {
|
|
638
644
|
// verify required parameter 'project' is not null or undefined
|
|
639
645
|
(0, common_1.assertParamExists)('exportOrders', 'project', project);
|
|
640
646
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -670,6 +676,9 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
670
676
|
end.toISOString() :
|
|
671
677
|
end;
|
|
672
678
|
}
|
|
679
|
+
if (search !== undefined) {
|
|
680
|
+
localVarQueryParameter['search'] = search;
|
|
681
|
+
}
|
|
673
682
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
674
683
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
675
684
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1017,13 +1026,14 @@ const PlatformApiFp = function (configuration) {
|
|
|
1017
1026
|
* @param {string} platformId The platform identifier
|
|
1018
1027
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1019
1028
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1029
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1020
1030
|
* @param {*} [options] Override http request option.
|
|
1021
1031
|
* @throws {RequiredError}
|
|
1022
1032
|
*/
|
|
1023
|
-
exportOrders(project, platformId, start, end, options) {
|
|
1033
|
+
exportOrders(project, platformId, start, end, search, options) {
|
|
1024
1034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1025
1035
|
var _a, _b, _c;
|
|
1026
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, platformId, start, end, options);
|
|
1036
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, platformId, start, end, search, options);
|
|
1027
1037
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1028
1038
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.exportOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1029
1039
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1175,7 +1185,7 @@ const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
1175
1185
|
* @throws {RequiredError}
|
|
1176
1186
|
*/
|
|
1177
1187
|
exportOrders(requestParameters, options) {
|
|
1178
|
-
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
1188
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1179
1189
|
},
|
|
1180
1190
|
/**
|
|
1181
1191
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
@@ -1266,7 +1276,7 @@ class PlatformApi extends base_1.BaseAPI {
|
|
|
1266
1276
|
* @memberof PlatformApi
|
|
1267
1277
|
*/
|
|
1268
1278
|
exportOrders(requestParameters, options) {
|
|
1269
|
-
return (0, exports.PlatformApiFp)(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
1279
|
+
return (0, exports.PlatformApiFp)(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
1270
1280
|
}
|
|
1271
1281
|
/**
|
|
1272
1282
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* 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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -799,10 +799,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
799
799
|
* @param {string} platformId The platform identifier
|
|
800
800
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
801
801
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
802
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
802
803
|
* @param {*} [options] Override http request option.
|
|
803
804
|
* @throws {RequiredError}
|
|
804
805
|
*/
|
|
805
|
-
exportOrders: (project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
806
|
+
exportOrders: (project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
806
807
|
/**
|
|
807
808
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
808
809
|
* @summary Get fulfillment
|
|
@@ -871,10 +872,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
871
872
|
* @param {string} platformId The platform identifier
|
|
872
873
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
873
874
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
875
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
874
876
|
* @param {*} [options] Override http request option.
|
|
875
877
|
* @throws {RequiredError}
|
|
876
878
|
*/
|
|
877
|
-
exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
879
|
+
exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
878
880
|
/**
|
|
879
881
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
880
882
|
* @summary Get fulfillment
|
|
@@ -1015,6 +1017,12 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1015
1017
|
* @memberof OrdersApiExportOrders
|
|
1016
1018
|
*/
|
|
1017
1019
|
readonly end?: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Search term to filter based on order reference, customer name and email
|
|
1022
|
+
* @type {string}
|
|
1023
|
+
* @memberof OrdersApiExportOrders
|
|
1024
|
+
*/
|
|
1025
|
+
readonly search?: string;
|
|
1018
1026
|
}
|
|
1019
1027
|
/**
|
|
1020
1028
|
* Request parameters for getFulfillment operation in OrdersApi.
|
|
@@ -1245,10 +1253,11 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1245
1253
|
* @param {string} platformId The platform identifier
|
|
1246
1254
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1247
1255
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1256
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1248
1257
|
* @param {*} [options] Override http request option.
|
|
1249
1258
|
* @throws {RequiredError}
|
|
1250
1259
|
*/
|
|
1251
|
-
exportOrders: (project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1260
|
+
exportOrders: (project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1252
1261
|
/**
|
|
1253
1262
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1254
1263
|
* @summary Get fulfillment
|
|
@@ -1334,10 +1343,11 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
|
|
|
1334
1343
|
* @param {string} platformId The platform identifier
|
|
1335
1344
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1336
1345
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1346
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1337
1347
|
* @param {*} [options] Override http request option.
|
|
1338
1348
|
* @throws {RequiredError}
|
|
1339
1349
|
*/
|
|
1340
|
-
exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1350
|
+
exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1341
1351
|
/**
|
|
1342
1352
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1343
1353
|
* @summary Get fulfillment
|
|
@@ -1511,6 +1521,12 @@ export interface PlatformApiExportOrdersRequest {
|
|
|
1511
1521
|
* @memberof PlatformApiExportOrders
|
|
1512
1522
|
*/
|
|
1513
1523
|
readonly end?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* Search term to filter based on order reference, customer name and email
|
|
1526
|
+
* @type {string}
|
|
1527
|
+
* @memberof PlatformApiExportOrders
|
|
1528
|
+
*/
|
|
1529
|
+
readonly search?: string;
|
|
1514
1530
|
}
|
|
1515
1531
|
/**
|
|
1516
1532
|
* Request parameters for getFulfillment operation in PlatformApi.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -51,10 +51,11 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
51
51
|
* @param {string} platformId The platform identifier
|
|
52
52
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
53
53
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
54
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
54
55
|
* @param {*} [options] Override http request option.
|
|
55
56
|
* @throws {RequiredError}
|
|
56
57
|
*/
|
|
57
|
-
exportOrders: (project_1, platformId_1, start_1, end_1, ...args_1) => __awaiter(this, [project_1, platformId_1, start_1, end_1, ...args_1], void 0, function* (project, platformId, start, end, options = {}) {
|
|
58
|
+
exportOrders: (project_1, platformId_1, start_1, end_1, search_1, ...args_1) => __awaiter(this, [project_1, platformId_1, start_1, end_1, search_1, ...args_1], void 0, function* (project, platformId, start, end, search, options = {}) {
|
|
58
59
|
// verify required parameter 'project' is not null or undefined
|
|
59
60
|
assertParamExists('exportOrders', 'project', project);
|
|
60
61
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -90,6 +91,9 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
90
91
|
end.toISOString() :
|
|
91
92
|
end;
|
|
92
93
|
}
|
|
94
|
+
if (search !== undefined) {
|
|
95
|
+
localVarQueryParameter['search'] = search;
|
|
96
|
+
}
|
|
93
97
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
94
98
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
95
99
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -359,13 +363,14 @@ export const OrdersApiFp = function (configuration) {
|
|
|
359
363
|
* @param {string} platformId The platform identifier
|
|
360
364
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
361
365
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
366
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
362
367
|
* @param {*} [options] Override http request option.
|
|
363
368
|
* @throws {RequiredError}
|
|
364
369
|
*/
|
|
365
|
-
exportOrders(project, platformId, start, end, options) {
|
|
370
|
+
exportOrders(project, platformId, start, end, search, options) {
|
|
366
371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
367
372
|
var _a, _b, _c;
|
|
368
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, platformId, start, end, options);
|
|
373
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, platformId, start, end, search, options);
|
|
369
374
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
370
375
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrdersApi.exportOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
371
376
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -483,7 +488,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
483
488
|
* @throws {RequiredError}
|
|
484
489
|
*/
|
|
485
490
|
exportOrders(requestParameters, options) {
|
|
486
|
-
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
491
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
487
492
|
},
|
|
488
493
|
/**
|
|
489
494
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
@@ -553,7 +558,7 @@ export class OrdersApi extends BaseAPI {
|
|
|
553
558
|
* @memberof OrdersApi
|
|
554
559
|
*/
|
|
555
560
|
exportOrders(requestParameters, options) {
|
|
556
|
-
return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
561
|
+
return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
557
562
|
}
|
|
558
563
|
/**
|
|
559
564
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
@@ -624,10 +629,11 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
624
629
|
* @param {string} platformId The platform identifier
|
|
625
630
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
626
631
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
632
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
627
633
|
* @param {*} [options] Override http request option.
|
|
628
634
|
* @throws {RequiredError}
|
|
629
635
|
*/
|
|
630
|
-
exportOrders: (project_1, platformId_1, start_1, end_1, ...args_1) => __awaiter(this, [project_1, platformId_1, start_1, end_1, ...args_1], void 0, function* (project, platformId, start, end, options = {}) {
|
|
636
|
+
exportOrders: (project_1, platformId_1, start_1, end_1, search_1, ...args_1) => __awaiter(this, [project_1, platformId_1, start_1, end_1, search_1, ...args_1], void 0, function* (project, platformId, start, end, search, options = {}) {
|
|
631
637
|
// verify required parameter 'project' is not null or undefined
|
|
632
638
|
assertParamExists('exportOrders', 'project', project);
|
|
633
639
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -663,6 +669,9 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
663
669
|
end.toISOString() :
|
|
664
670
|
end;
|
|
665
671
|
}
|
|
672
|
+
if (search !== undefined) {
|
|
673
|
+
localVarQueryParameter['search'] = search;
|
|
674
|
+
}
|
|
666
675
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
667
676
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
668
677
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1009,13 +1018,14 @@ export const PlatformApiFp = function (configuration) {
|
|
|
1009
1018
|
* @param {string} platformId The platform identifier
|
|
1010
1019
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1011
1020
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1021
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1012
1022
|
* @param {*} [options] Override http request option.
|
|
1013
1023
|
* @throws {RequiredError}
|
|
1014
1024
|
*/
|
|
1015
|
-
exportOrders(project, platformId, start, end, options) {
|
|
1025
|
+
exportOrders(project, platformId, start, end, search, options) {
|
|
1016
1026
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1017
1027
|
var _a, _b, _c;
|
|
1018
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, platformId, start, end, options);
|
|
1028
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, platformId, start, end, search, options);
|
|
1019
1029
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1020
1030
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.exportOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1021
1031
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1166,7 +1176,7 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
1166
1176
|
* @throws {RequiredError}
|
|
1167
1177
|
*/
|
|
1168
1178
|
exportOrders(requestParameters, options) {
|
|
1169
|
-
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
1179
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1170
1180
|
},
|
|
1171
1181
|
/**
|
|
1172
1182
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
@@ -1256,7 +1266,7 @@ export class PlatformApi extends BaseAPI {
|
|
|
1256
1266
|
* @memberof PlatformApi
|
|
1257
1267
|
*/
|
|
1258
1268
|
exportOrders(requestParameters, options) {
|
|
1259
|
-
return PlatformApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
1269
|
+
return PlatformApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
1260
1270
|
}
|
|
1261
1271
|
/**
|
|
1262
1272
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|