@teemill/platform 0.7.0 → 0.9.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 +49 -11
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +33 -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 +33 -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.9.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.9.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.9.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -637,6 +637,12 @@ export interface Platform {
|
|
|
637
637
|
* @memberof Platform
|
|
638
638
|
*/
|
|
639
639
|
'favicon': string | null;
|
|
640
|
+
/**
|
|
641
|
+
*
|
|
642
|
+
* @type {boolean}
|
|
643
|
+
* @memberof Platform
|
|
644
|
+
*/
|
|
645
|
+
'clientGiftWrapAvailable': boolean;
|
|
640
646
|
}
|
|
641
647
|
/**
|
|
642
648
|
*
|
|
@@ -783,6 +789,12 @@ export interface UpdatePlatformRequest {
|
|
|
783
789
|
* @memberof UpdatePlatformRequest
|
|
784
790
|
*/
|
|
785
791
|
'favicon'?: string;
|
|
792
|
+
/**
|
|
793
|
+
*
|
|
794
|
+
* @type {boolean}
|
|
795
|
+
* @memberof UpdatePlatformRequest
|
|
796
|
+
*/
|
|
797
|
+
'clientGiftWrapAvailable'?: boolean;
|
|
786
798
|
}
|
|
787
799
|
/**
|
|
788
800
|
*
|
|
@@ -817,10 +829,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
817
829
|
* @param {string} platformId The platform identifier
|
|
818
830
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
819
831
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
832
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
820
833
|
* @param {*} [options] Override http request option.
|
|
821
834
|
* @throws {RequiredError}
|
|
822
835
|
*/
|
|
823
|
-
exportOrders: async (project: string, platformId: string, start: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
836
|
+
exportOrders: async (project: string, platformId: string, start: string, end?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
824
837
|
// verify required parameter 'project' is not null or undefined
|
|
825
838
|
assertParamExists('exportOrders', 'project', project)
|
|
826
839
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -863,6 +876,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
863
876
|
end;
|
|
864
877
|
}
|
|
865
878
|
|
|
879
|
+
if (search !== undefined) {
|
|
880
|
+
localVarQueryParameter['search'] = search;
|
|
881
|
+
}
|
|
882
|
+
|
|
866
883
|
|
|
867
884
|
|
|
868
885
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1182,11 +1199,12 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
1182
1199
|
* @param {string} platformId The platform identifier
|
|
1183
1200
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1184
1201
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1202
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1185
1203
|
* @param {*} [options] Override http request option.
|
|
1186
1204
|
* @throws {RequiredError}
|
|
1187
1205
|
*/
|
|
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);
|
|
1206
|
+
async exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1207
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, search, options);
|
|
1190
1208
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1191
1209
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.exportOrders']?.[localVarOperationServerIndex]?.url;
|
|
1192
1210
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1289,7 +1307,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
1289
1307
|
* @throws {RequiredError}
|
|
1290
1308
|
*/
|
|
1291
1309
|
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));
|
|
1310
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1293
1311
|
},
|
|
1294
1312
|
/**
|
|
1295
1313
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
@@ -1377,6 +1395,13 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1377
1395
|
* @memberof OrdersApiExportOrders
|
|
1378
1396
|
*/
|
|
1379
1397
|
readonly end?: string
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* Search term to filter based on order reference, customer name and email
|
|
1401
|
+
* @type {string}
|
|
1402
|
+
* @memberof OrdersApiExportOrders
|
|
1403
|
+
*/
|
|
1404
|
+
readonly search?: string
|
|
1380
1405
|
}
|
|
1381
1406
|
|
|
1382
1407
|
/**
|
|
@@ -1570,7 +1595,7 @@ export class OrdersApi extends BaseAPI {
|
|
|
1570
1595
|
* @memberof OrdersApi
|
|
1571
1596
|
*/
|
|
1572
1597
|
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));
|
|
1598
|
+
return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
1574
1599
|
}
|
|
1575
1600
|
|
|
1576
1601
|
/**
|
|
@@ -1649,10 +1674,11 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1649
1674
|
* @param {string} platformId The platform identifier
|
|
1650
1675
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1651
1676
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1677
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1652
1678
|
* @param {*} [options] Override http request option.
|
|
1653
1679
|
* @throws {RequiredError}
|
|
1654
1680
|
*/
|
|
1655
|
-
exportOrders: async (project: string, platformId: string, start: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1681
|
+
exportOrders: async (project: string, platformId: string, start: string, end?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1656
1682
|
// verify required parameter 'project' is not null or undefined
|
|
1657
1683
|
assertParamExists('exportOrders', 'project', project)
|
|
1658
1684
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -1695,6 +1721,10 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1695
1721
|
end;
|
|
1696
1722
|
}
|
|
1697
1723
|
|
|
1724
|
+
if (search !== undefined) {
|
|
1725
|
+
localVarQueryParameter['search'] = search;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1698
1728
|
|
|
1699
1729
|
|
|
1700
1730
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2108,11 +2138,12 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
2108
2138
|
* @param {string} platformId The platform identifier
|
|
2109
2139
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
2110
2140
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
2141
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
2111
2142
|
* @param {*} [options] Override http request option.
|
|
2112
2143
|
* @throws {RequiredError}
|
|
2113
2144
|
*/
|
|
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);
|
|
2145
|
+
async exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
2146
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, search, options);
|
|
2116
2147
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2117
2148
|
const localVarOperationServerBasePath = operationServerMap['PlatformApi.exportOrders']?.[localVarOperationServerIndex]?.url;
|
|
2118
2149
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2242,7 +2273,7 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
2242
2273
|
* @throws {RequiredError}
|
|
2243
2274
|
*/
|
|
2244
2275
|
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));
|
|
2276
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
2246
2277
|
},
|
|
2247
2278
|
/**
|
|
2248
2279
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
@@ -2350,6 +2381,13 @@ export interface PlatformApiExportOrdersRequest {
|
|
|
2350
2381
|
* @memberof PlatformApiExportOrders
|
|
2351
2382
|
*/
|
|
2352
2383
|
readonly end?: string
|
|
2384
|
+
|
|
2385
|
+
/**
|
|
2386
|
+
* Search term to filter based on order reference, customer name and email
|
|
2387
|
+
* @type {string}
|
|
2388
|
+
* @memberof PlatformApiExportOrders
|
|
2389
|
+
*/
|
|
2390
|
+
readonly search?: string
|
|
2353
2391
|
}
|
|
2354
2392
|
|
|
2355
2393
|
/**
|
|
@@ -2578,7 +2616,7 @@ export class PlatformApi extends BaseAPI {
|
|
|
2578
2616
|
* @memberof PlatformApi
|
|
2579
2617
|
*/
|
|
2580
2618
|
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));
|
|
2619
|
+
return PlatformApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
2582
2620
|
}
|
|
2583
2621
|
|
|
2584
2622
|
/**
|
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.9.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.9.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.9.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.9.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -619,6 +619,12 @@ export interface Platform {
|
|
|
619
619
|
* @memberof Platform
|
|
620
620
|
*/
|
|
621
621
|
'favicon': string | null;
|
|
622
|
+
/**
|
|
623
|
+
*
|
|
624
|
+
* @type {boolean}
|
|
625
|
+
* @memberof Platform
|
|
626
|
+
*/
|
|
627
|
+
'clientGiftWrapAvailable': boolean;
|
|
622
628
|
}
|
|
623
629
|
/**
|
|
624
630
|
*
|
|
@@ -765,6 +771,12 @@ export interface UpdatePlatformRequest {
|
|
|
765
771
|
* @memberof UpdatePlatformRequest
|
|
766
772
|
*/
|
|
767
773
|
'favicon'?: string;
|
|
774
|
+
/**
|
|
775
|
+
*
|
|
776
|
+
* @type {boolean}
|
|
777
|
+
* @memberof UpdatePlatformRequest
|
|
778
|
+
*/
|
|
779
|
+
'clientGiftWrapAvailable'?: boolean;
|
|
768
780
|
}
|
|
769
781
|
/**
|
|
770
782
|
*
|
|
@@ -799,10 +811,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
799
811
|
* @param {string} platformId The platform identifier
|
|
800
812
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
801
813
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
814
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
802
815
|
* @param {*} [options] Override http request option.
|
|
803
816
|
* @throws {RequiredError}
|
|
804
817
|
*/
|
|
805
|
-
exportOrders: (project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
818
|
+
exportOrders: (project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
806
819
|
/**
|
|
807
820
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
808
821
|
* @summary Get fulfillment
|
|
@@ -871,10 +884,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
871
884
|
* @param {string} platformId The platform identifier
|
|
872
885
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
873
886
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
887
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
874
888
|
* @param {*} [options] Override http request option.
|
|
875
889
|
* @throws {RequiredError}
|
|
876
890
|
*/
|
|
877
|
-
exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
891
|
+
exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
878
892
|
/**
|
|
879
893
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
880
894
|
* @summary Get fulfillment
|
|
@@ -1015,6 +1029,12 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1015
1029
|
* @memberof OrdersApiExportOrders
|
|
1016
1030
|
*/
|
|
1017
1031
|
readonly end?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* Search term to filter based on order reference, customer name and email
|
|
1034
|
+
* @type {string}
|
|
1035
|
+
* @memberof OrdersApiExportOrders
|
|
1036
|
+
*/
|
|
1037
|
+
readonly search?: string;
|
|
1018
1038
|
}
|
|
1019
1039
|
/**
|
|
1020
1040
|
* Request parameters for getFulfillment operation in OrdersApi.
|
|
@@ -1245,10 +1265,11 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1245
1265
|
* @param {string} platformId The platform identifier
|
|
1246
1266
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1247
1267
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1268
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1248
1269
|
* @param {*} [options] Override http request option.
|
|
1249
1270
|
* @throws {RequiredError}
|
|
1250
1271
|
*/
|
|
1251
|
-
exportOrders: (project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1272
|
+
exportOrders: (project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1252
1273
|
/**
|
|
1253
1274
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1254
1275
|
* @summary Get fulfillment
|
|
@@ -1334,10 +1355,11 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
|
|
|
1334
1355
|
* @param {string} platformId The platform identifier
|
|
1335
1356
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1336
1357
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1358
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1337
1359
|
* @param {*} [options] Override http request option.
|
|
1338
1360
|
* @throws {RequiredError}
|
|
1339
1361
|
*/
|
|
1340
|
-
exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1362
|
+
exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1341
1363
|
/**
|
|
1342
1364
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1343
1365
|
* @summary Get fulfillment
|
|
@@ -1511,6 +1533,12 @@ export interface PlatformApiExportOrdersRequest {
|
|
|
1511
1533
|
* @memberof PlatformApiExportOrders
|
|
1512
1534
|
*/
|
|
1513
1535
|
readonly end?: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Search term to filter based on order reference, customer name and email
|
|
1538
|
+
* @type {string}
|
|
1539
|
+
* @memberof PlatformApiExportOrders
|
|
1540
|
+
*/
|
|
1541
|
+
readonly search?: string;
|
|
1514
1542
|
}
|
|
1515
1543
|
/**
|
|
1516
1544
|
* 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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -619,6 +619,12 @@ export interface Platform {
|
|
|
619
619
|
* @memberof Platform
|
|
620
620
|
*/
|
|
621
621
|
'favicon': string | null;
|
|
622
|
+
/**
|
|
623
|
+
*
|
|
624
|
+
* @type {boolean}
|
|
625
|
+
* @memberof Platform
|
|
626
|
+
*/
|
|
627
|
+
'clientGiftWrapAvailable': boolean;
|
|
622
628
|
}
|
|
623
629
|
/**
|
|
624
630
|
*
|
|
@@ -765,6 +771,12 @@ export interface UpdatePlatformRequest {
|
|
|
765
771
|
* @memberof UpdatePlatformRequest
|
|
766
772
|
*/
|
|
767
773
|
'favicon'?: string;
|
|
774
|
+
/**
|
|
775
|
+
*
|
|
776
|
+
* @type {boolean}
|
|
777
|
+
* @memberof UpdatePlatformRequest
|
|
778
|
+
*/
|
|
779
|
+
'clientGiftWrapAvailable'?: boolean;
|
|
768
780
|
}
|
|
769
781
|
/**
|
|
770
782
|
*
|
|
@@ -799,10 +811,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
799
811
|
* @param {string} platformId The platform identifier
|
|
800
812
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
801
813
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
814
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
802
815
|
* @param {*} [options] Override http request option.
|
|
803
816
|
* @throws {RequiredError}
|
|
804
817
|
*/
|
|
805
|
-
exportOrders: (project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
818
|
+
exportOrders: (project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
806
819
|
/**
|
|
807
820
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
808
821
|
* @summary Get fulfillment
|
|
@@ -871,10 +884,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
871
884
|
* @param {string} platformId The platform identifier
|
|
872
885
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
873
886
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
887
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
874
888
|
* @param {*} [options] Override http request option.
|
|
875
889
|
* @throws {RequiredError}
|
|
876
890
|
*/
|
|
877
|
-
exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
891
|
+
exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
878
892
|
/**
|
|
879
893
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
880
894
|
* @summary Get fulfillment
|
|
@@ -1015,6 +1029,12 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1015
1029
|
* @memberof OrdersApiExportOrders
|
|
1016
1030
|
*/
|
|
1017
1031
|
readonly end?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* Search term to filter based on order reference, customer name and email
|
|
1034
|
+
* @type {string}
|
|
1035
|
+
* @memberof OrdersApiExportOrders
|
|
1036
|
+
*/
|
|
1037
|
+
readonly search?: string;
|
|
1018
1038
|
}
|
|
1019
1039
|
/**
|
|
1020
1040
|
* Request parameters for getFulfillment operation in OrdersApi.
|
|
@@ -1245,10 +1265,11 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1245
1265
|
* @param {string} platformId The platform identifier
|
|
1246
1266
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1247
1267
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1268
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1248
1269
|
* @param {*} [options] Override http request option.
|
|
1249
1270
|
* @throws {RequiredError}
|
|
1250
1271
|
*/
|
|
1251
|
-
exportOrders: (project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1272
|
+
exportOrders: (project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1252
1273
|
/**
|
|
1253
1274
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1254
1275
|
* @summary Get fulfillment
|
|
@@ -1334,10 +1355,11 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
|
|
|
1334
1355
|
* @param {string} platformId The platform identifier
|
|
1335
1356
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1336
1357
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1358
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1337
1359
|
* @param {*} [options] Override http request option.
|
|
1338
1360
|
* @throws {RequiredError}
|
|
1339
1361
|
*/
|
|
1340
|
-
exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1362
|
+
exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1341
1363
|
/**
|
|
1342
1364
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
1343
1365
|
* @summary Get fulfillment
|
|
@@ -1511,6 +1533,12 @@ export interface PlatformApiExportOrdersRequest {
|
|
|
1511
1533
|
* @memberof PlatformApiExportOrders
|
|
1512
1534
|
*/
|
|
1513
1535
|
readonly end?: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Search term to filter based on order reference, customer name and email
|
|
1538
|
+
* @type {string}
|
|
1539
|
+
* @memberof PlatformApiExportOrders
|
|
1540
|
+
*/
|
|
1541
|
+
readonly search?: string;
|
|
1514
1542
|
}
|
|
1515
1543
|
/**
|
|
1516
1544
|
* 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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|