@teemill/platform 0.11.0 → 0.12.1

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.11.0
1
+ ## @teemill/platform@0.12.1
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.11.0 --save
39
+ npm install @teemill/platform@0.12.1 --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
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1002,6 +1002,24 @@ export interface Platform {
1002
1002
  * @memberof Platform
1003
1003
  */
1004
1004
  'clientGiftWrapAvailable': boolean;
1005
+ /**
1006
+ * The subscription fee for the platform
1007
+ * @type {number}
1008
+ * @memberof Platform
1009
+ */
1010
+ 'storeSubscriptionFee': number;
1011
+ /**
1012
+ * The order handling fee for the platform
1013
+ * @type {number}
1014
+ * @memberof Platform
1015
+ */
1016
+ 'orderHandlingFee': number;
1017
+ /**
1018
+ * The item handling fee for the platform
1019
+ * @type {number}
1020
+ * @memberof Platform
1021
+ */
1022
+ 'itemHandlingFee': number;
1005
1023
  }
1006
1024
  /**
1007
1025
  *
@@ -1391,6 +1409,24 @@ export interface UpdatePlatformRequest {
1391
1409
  * @memberof UpdatePlatformRequest
1392
1410
  */
1393
1411
  'clientGiftWrapAvailable'?: boolean;
1412
+ /**
1413
+ *
1414
+ * @type {number}
1415
+ * @memberof UpdatePlatformRequest
1416
+ */
1417
+ 'storeSubscriptionFee'?: number;
1418
+ /**
1419
+ *
1420
+ * @type {number}
1421
+ * @memberof UpdatePlatformRequest
1422
+ */
1423
+ 'orderHandlingFee'?: number;
1424
+ /**
1425
+ *
1426
+ * @type {number}
1427
+ * @memberof UpdatePlatformRequest
1428
+ */
1429
+ 'itemHandlingFee'?: number;
1394
1430
  }
1395
1431
  /**
1396
1432
  *
@@ -1774,10 +1810,13 @@ export const CustomersApiAxiosParamCreator = function (configuration?: Configura
1774
1810
  * @summary List customers
1775
1811
  * @param {string} project Project unique identifier
1776
1812
  * @param {string} platformId The platform identifier
1813
+ * @param {number} [pageToken] Page reference token
1814
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1815
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1777
1816
  * @param {*} [options] Override http request option.
1778
1817
  * @throws {RequiredError}
1779
1818
  */
1780
- listCustomers: async (project: string, platformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1819
+ listCustomers: async (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1781
1820
  // verify required parameter 'project' is not null or undefined
1782
1821
  assertParamExists('listCustomers', 'project', project)
1783
1822
  // verify required parameter 'platformId' is not null or undefined
@@ -1806,6 +1845,18 @@ export const CustomersApiAxiosParamCreator = function (configuration?: Configura
1806
1845
  localVarQueryParameter['project'] = project;
1807
1846
  }
1808
1847
 
1848
+ if (pageToken !== undefined) {
1849
+ localVarQueryParameter['pageToken'] = pageToken;
1850
+ }
1851
+
1852
+ if (pageSize !== undefined) {
1853
+ localVarQueryParameter['pageSize'] = pageSize;
1854
+ }
1855
+
1856
+ if (search !== undefined) {
1857
+ localVarQueryParameter['search'] = search;
1858
+ }
1859
+
1809
1860
 
1810
1861
 
1811
1862
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1861,11 +1912,14 @@ export const CustomersApiFp = function(configuration?: Configuration) {
1861
1912
  * @summary List customers
1862
1913
  * @param {string} project Project unique identifier
1863
1914
  * @param {string} platformId The platform identifier
1915
+ * @param {number} [pageToken] Page reference token
1916
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1917
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1864
1918
  * @param {*} [options] Override http request option.
1865
1919
  * @throws {RequiredError}
1866
1920
  */
1867
- async listCustomers(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>> {
1868
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomers(project, platformId, options);
1921
+ async listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>> {
1922
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomers(project, platformId, pageToken, pageSize, search, options);
1869
1923
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1870
1924
  const localVarOperationServerBasePath = operationServerMap['CustomersApi.listCustomers']?.[localVarOperationServerIndex]?.url;
1871
1925
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1908,7 +1962,7 @@ export const CustomersApiFactory = function (configuration?: Configuration, base
1908
1962
  * @throws {RequiredError}
1909
1963
  */
1910
1964
  listCustomers(requestParameters: CustomersApiListCustomersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CustomersResponse> {
1911
- return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
1965
+ return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
1912
1966
  },
1913
1967
  };
1914
1968
  };
@@ -1981,6 +2035,27 @@ export interface CustomersApiListCustomersRequest {
1981
2035
  * @memberof CustomersApiListCustomers
1982
2036
  */
1983
2037
  readonly platformId: string
2038
+
2039
+ /**
2040
+ * Page reference token
2041
+ * @type {number}
2042
+ * @memberof CustomersApiListCustomers
2043
+ */
2044
+ readonly pageToken?: number
2045
+
2046
+ /**
2047
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2048
+ * @type {number}
2049
+ * @memberof CustomersApiListCustomers
2050
+ */
2051
+ readonly pageSize?: number
2052
+
2053
+ /**
2054
+ * Search term to filter based on order reference, customer name and email
2055
+ * @type {string}
2056
+ * @memberof CustomersApiListCustomers
2057
+ */
2058
+ readonly search?: string
1984
2059
  }
1985
2060
 
1986
2061
  /**
@@ -2023,7 +2098,7 @@ export class CustomersApi extends BaseAPI {
2023
2098
  * @memberof CustomersApi
2024
2099
  */
2025
2100
  public listCustomers(requestParameters: CustomersApiListCustomersRequest, options?: RawAxiosRequestConfig) {
2026
- return CustomersApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
2101
+ return CustomersApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2027
2102
  }
2028
2103
  }
2029
2104
 
@@ -3254,10 +3329,13 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
3254
3329
  * @summary List customers
3255
3330
  * @param {string} project Project unique identifier
3256
3331
  * @param {string} platformId The platform identifier
3332
+ * @param {number} [pageToken] Page reference token
3333
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3334
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
3257
3335
  * @param {*} [options] Override http request option.
3258
3336
  * @throws {RequiredError}
3259
3337
  */
3260
- listCustomers: async (project: string, platformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3338
+ listCustomers: async (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3261
3339
  // verify required parameter 'project' is not null or undefined
3262
3340
  assertParamExists('listCustomers', 'project', project)
3263
3341
  // verify required parameter 'platformId' is not null or undefined
@@ -3286,6 +3364,18 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
3286
3364
  localVarQueryParameter['project'] = project;
3287
3365
  }
3288
3366
 
3367
+ if (pageToken !== undefined) {
3368
+ localVarQueryParameter['pageToken'] = pageToken;
3369
+ }
3370
+
3371
+ if (pageSize !== undefined) {
3372
+ localVarQueryParameter['pageSize'] = pageSize;
3373
+ }
3374
+
3375
+ if (search !== undefined) {
3376
+ localVarQueryParameter['search'] = search;
3377
+ }
3378
+
3289
3379
 
3290
3380
 
3291
3381
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3717,11 +3807,14 @@ export const PlatformApiFp = function(configuration?: Configuration) {
3717
3807
  * @summary List customers
3718
3808
  * @param {string} project Project unique identifier
3719
3809
  * @param {string} platformId The platform identifier
3810
+ * @param {number} [pageToken] Page reference token
3811
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3812
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
3720
3813
  * @param {*} [options] Override http request option.
3721
3814
  * @throws {RequiredError}
3722
3815
  */
3723
- async listCustomers(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>> {
3724
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomers(project, platformId, options);
3816
+ async listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>> {
3817
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomers(project, platformId, pageToken, pageSize, search, options);
3725
3818
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3726
3819
  const localVarOperationServerBasePath = operationServerMap['PlatformApi.listCustomers']?.[localVarOperationServerIndex]?.url;
3727
3820
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3895,7 +3988,7 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
3895
3988
  * @throws {RequiredError}
3896
3989
  */
3897
3990
  listCustomers(requestParameters: PlatformApiListCustomersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CustomersResponse> {
3898
- return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
3991
+ return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
3899
3992
  },
3900
3993
  /**
3901
3994
  * Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
@@ -4158,6 +4251,27 @@ export interface PlatformApiListCustomersRequest {
4158
4251
  * @memberof PlatformApiListCustomers
4159
4252
  */
4160
4253
  readonly platformId: string
4254
+
4255
+ /**
4256
+ * Page reference token
4257
+ * @type {number}
4258
+ * @memberof PlatformApiListCustomers
4259
+ */
4260
+ readonly pageToken?: number
4261
+
4262
+ /**
4263
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
4264
+ * @type {number}
4265
+ * @memberof PlatformApiListCustomers
4266
+ */
4267
+ readonly pageSize?: number
4268
+
4269
+ /**
4270
+ * Search term to filter based on order reference, customer name and email
4271
+ * @type {string}
4272
+ * @memberof PlatformApiListCustomers
4273
+ */
4274
+ readonly search?: string
4161
4275
  }
4162
4276
 
4163
4277
  /**
@@ -4442,7 +4556,7 @@ export class PlatformApi extends BaseAPI {
4442
4556
  * @memberof PlatformApi
4443
4557
  */
4444
4558
  public listCustomers(requestParameters: PlatformApiListCustomersRequest, options?: RawAxiosRequestConfig) {
4445
- return PlatformApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
4559
+ return PlatformApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
4446
4560
  }
4447
4561
 
4448
4562
  /**
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  *
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
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  *
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
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -92,7 +92,7 @@ export class Configuration {
92
92
  this.baseOptions = {
93
93
  headers: {
94
94
  ...param.baseOptions?.headers,
95
- 'User-Agent': "OpenAPI-Generator/0.11.0/typescript-axios"
95
+ 'User-Agent': "OpenAPI-Generator/0.12.1/typescript-axios"
96
96
  },
97
97
  ...param.baseOptions
98
98
  };
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -980,6 +980,24 @@ export interface Platform {
980
980
  * @memberof Platform
981
981
  */
982
982
  'clientGiftWrapAvailable': boolean;
983
+ /**
984
+ * The subscription fee for the platform
985
+ * @type {number}
986
+ * @memberof Platform
987
+ */
988
+ 'storeSubscriptionFee': number;
989
+ /**
990
+ * The order handling fee for the platform
991
+ * @type {number}
992
+ * @memberof Platform
993
+ */
994
+ 'orderHandlingFee': number;
995
+ /**
996
+ * The item handling fee for the platform
997
+ * @type {number}
998
+ * @memberof Platform
999
+ */
1000
+ 'itemHandlingFee': number;
983
1001
  }
984
1002
  /**
985
1003
  *
@@ -1366,6 +1384,24 @@ export interface UpdatePlatformRequest {
1366
1384
  * @memberof UpdatePlatformRequest
1367
1385
  */
1368
1386
  'clientGiftWrapAvailable'?: boolean;
1387
+ /**
1388
+ *
1389
+ * @type {number}
1390
+ * @memberof UpdatePlatformRequest
1391
+ */
1392
+ 'storeSubscriptionFee'?: number;
1393
+ /**
1394
+ *
1395
+ * @type {number}
1396
+ * @memberof UpdatePlatformRequest
1397
+ */
1398
+ 'orderHandlingFee'?: number;
1399
+ /**
1400
+ *
1401
+ * @type {number}
1402
+ * @memberof UpdatePlatformRequest
1403
+ */
1404
+ 'itemHandlingFee'?: number;
1369
1405
  }
1370
1406
  /**
1371
1407
  *
@@ -1665,10 +1701,13 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
1665
1701
  * @summary List customers
1666
1702
  * @param {string} project Project unique identifier
1667
1703
  * @param {string} platformId The platform identifier
1704
+ * @param {number} [pageToken] Page reference token
1705
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1706
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1668
1707
  * @param {*} [options] Override http request option.
1669
1708
  * @throws {RequiredError}
1670
1709
  */
1671
- listCustomers: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1710
+ listCustomers: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1672
1711
  };
1673
1712
  /**
1674
1713
  * CustomersApi - functional programming interface
@@ -1699,10 +1738,13 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
1699
1738
  * @summary List customers
1700
1739
  * @param {string} project Project unique identifier
1701
1740
  * @param {string} platformId The platform identifier
1741
+ * @param {number} [pageToken] Page reference token
1742
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1743
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1702
1744
  * @param {*} [options] Override http request option.
1703
1745
  * @throws {RequiredError}
1704
1746
  */
1705
- listCustomers(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
1747
+ listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
1706
1748
  };
1707
1749
  /**
1708
1750
  * CustomersApi - factory interface
@@ -1796,6 +1838,24 @@ export interface CustomersApiListCustomersRequest {
1796
1838
  * @memberof CustomersApiListCustomers
1797
1839
  */
1798
1840
  readonly platformId: string;
1841
+ /**
1842
+ * Page reference token
1843
+ * @type {number}
1844
+ * @memberof CustomersApiListCustomers
1845
+ */
1846
+ readonly pageToken?: number;
1847
+ /**
1848
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
1849
+ * @type {number}
1850
+ * @memberof CustomersApiListCustomers
1851
+ */
1852
+ readonly pageSize?: number;
1853
+ /**
1854
+ * Search term to filter based on order reference, customer name and email
1855
+ * @type {string}
1856
+ * @memberof CustomersApiListCustomers
1857
+ */
1858
+ readonly search?: string;
1799
1859
  }
1800
1860
  /**
1801
1861
  * CustomersApi - object-oriented interface
@@ -2365,10 +2425,13 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
2365
2425
  * @summary List customers
2366
2426
  * @param {string} project Project unique identifier
2367
2427
  * @param {string} platformId The platform identifier
2428
+ * @param {number} [pageToken] Page reference token
2429
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2430
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
2368
2431
  * @param {*} [options] Override http request option.
2369
2432
  * @throws {RequiredError}
2370
2433
  */
2371
- listCustomers: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2434
+ listCustomers: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2372
2435
  /**
2373
2436
  * Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
2374
2437
  * @summary List orders
@@ -2505,10 +2568,13 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
2505
2568
  * @summary List customers
2506
2569
  * @param {string} project Project unique identifier
2507
2570
  * @param {string} platformId The platform identifier
2571
+ * @param {number} [pageToken] Page reference token
2572
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2573
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
2508
2574
  * @param {*} [options] Override http request option.
2509
2575
  * @throws {RequiredError}
2510
2576
  */
2511
- listCustomers(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
2577
+ listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
2512
2578
  /**
2513
2579
  * Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
2514
2580
  * @summary List orders
@@ -2863,6 +2929,24 @@ export interface PlatformApiListCustomersRequest {
2863
2929
  * @memberof PlatformApiListCustomers
2864
2930
  */
2865
2931
  readonly platformId: string;
2932
+ /**
2933
+ * Page reference token
2934
+ * @type {number}
2935
+ * @memberof PlatformApiListCustomers
2936
+ */
2937
+ readonly pageToken?: number;
2938
+ /**
2939
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2940
+ * @type {number}
2941
+ * @memberof PlatformApiListCustomers
2942
+ */
2943
+ readonly pageSize?: number;
2944
+ /**
2945
+ * Search term to filter based on order reference, customer name and email
2946
+ * @type {string}
2947
+ * @memberof PlatformApiListCustomers
2948
+ */
2949
+ readonly search?: string;
2866
2950
  }
2867
2951
  /**
2868
2952
  * Request parameters for listOrders operation in PlatformApi.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.11.0
8
+ * The version of the OpenAPI document: 0.12.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -164,10 +164,13 @@ const CustomersApiAxiosParamCreator = function (configuration) {
164
164
  * @summary List customers
165
165
  * @param {string} project Project unique identifier
166
166
  * @param {string} platformId The platform identifier
167
+ * @param {number} [pageToken] Page reference token
168
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
169
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
167
170
  * @param {*} [options] Override http request option.
168
171
  * @throws {RequiredError}
169
172
  */
170
- listCustomers: (project_1, platformId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, ...args_1], void 0, function* (project, platformId, options = {}) {
173
+ listCustomers: (project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, platformId, pageToken, pageSize, search, options = {}) {
171
174
  // verify required parameter 'project' is not null or undefined
172
175
  (0, common_1.assertParamExists)('listCustomers', 'project', project);
173
176
  // verify required parameter 'platformId' is not null or undefined
@@ -191,6 +194,15 @@ const CustomersApiAxiosParamCreator = function (configuration) {
191
194
  if (project !== undefined) {
192
195
  localVarQueryParameter['project'] = project;
193
196
  }
197
+ if (pageToken !== undefined) {
198
+ localVarQueryParameter['pageToken'] = pageToken;
199
+ }
200
+ if (pageSize !== undefined) {
201
+ localVarQueryParameter['pageSize'] = pageSize;
202
+ }
203
+ if (search !== undefined) {
204
+ localVarQueryParameter['search'] = search;
205
+ }
194
206
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
195
207
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
196
208
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -249,13 +261,16 @@ const CustomersApiFp = function (configuration) {
249
261
  * @summary List customers
250
262
  * @param {string} project Project unique identifier
251
263
  * @param {string} platformId The platform identifier
264
+ * @param {number} [pageToken] Page reference token
265
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
266
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
252
267
  * @param {*} [options] Override http request option.
253
268
  * @throws {RequiredError}
254
269
  */
255
- listCustomers(project, platformId, options) {
270
+ listCustomers(project, platformId, pageToken, pageSize, search, options) {
256
271
  return __awaiter(this, void 0, void 0, function* () {
257
272
  var _a, _b, _c;
258
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomers(project, platformId, options);
273
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomers(project, platformId, pageToken, pageSize, search, options);
259
274
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
260
275
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CustomersApi.listCustomers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
261
276
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -299,7 +314,7 @@ const CustomersApiFactory = function (configuration, basePath, axios) {
299
314
  * @throws {RequiredError}
300
315
  */
301
316
  listCustomers(requestParameters, options) {
302
- return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
317
+ return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
303
318
  },
304
319
  };
305
320
  };
@@ -342,7 +357,7 @@ class CustomersApi extends base_1.BaseAPI {
342
357
  * @memberof CustomersApi
343
358
  */
344
359
  listCustomers(requestParameters, options) {
345
- return (0, exports.CustomersApiFp)(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
360
+ return (0, exports.CustomersApiFp)(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
346
361
  }
347
362
  }
348
363
  exports.CustomersApi = CustomersApi;
@@ -1249,10 +1264,13 @@ const PlatformApiAxiosParamCreator = function (configuration) {
1249
1264
  * @summary List customers
1250
1265
  * @param {string} project Project unique identifier
1251
1266
  * @param {string} platformId The platform identifier
1267
+ * @param {number} [pageToken] Page reference token
1268
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1269
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1252
1270
  * @param {*} [options] Override http request option.
1253
1271
  * @throws {RequiredError}
1254
1272
  */
1255
- listCustomers: (project_1, platformId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, ...args_1], void 0, function* (project, platformId, options = {}) {
1273
+ listCustomers: (project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, platformId, pageToken, pageSize, search, options = {}) {
1256
1274
  // verify required parameter 'project' is not null or undefined
1257
1275
  (0, common_1.assertParamExists)('listCustomers', 'project', project);
1258
1276
  // verify required parameter 'platformId' is not null or undefined
@@ -1276,6 +1294,15 @@ const PlatformApiAxiosParamCreator = function (configuration) {
1276
1294
  if (project !== undefined) {
1277
1295
  localVarQueryParameter['project'] = project;
1278
1296
  }
1297
+ if (pageToken !== undefined) {
1298
+ localVarQueryParameter['pageToken'] = pageToken;
1299
+ }
1300
+ if (pageSize !== undefined) {
1301
+ localVarQueryParameter['pageSize'] = pageSize;
1302
+ }
1303
+ if (search !== undefined) {
1304
+ localVarQueryParameter['search'] = search;
1305
+ }
1279
1306
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1280
1307
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1281
1308
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1676,13 +1703,16 @@ const PlatformApiFp = function (configuration) {
1676
1703
  * @summary List customers
1677
1704
  * @param {string} project Project unique identifier
1678
1705
  * @param {string} platformId The platform identifier
1706
+ * @param {number} [pageToken] Page reference token
1707
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1708
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1679
1709
  * @param {*} [options] Override http request option.
1680
1710
  * @throws {RequiredError}
1681
1711
  */
1682
- listCustomers(project, platformId, options) {
1712
+ listCustomers(project, platformId, pageToken, pageSize, search, options) {
1683
1713
  return __awaiter(this, void 0, void 0, function* () {
1684
1714
  var _a, _b, _c;
1685
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomers(project, platformId, options);
1715
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomers(project, platformId, pageToken, pageSize, search, options);
1686
1716
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1687
1717
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.listCustomers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1688
1718
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1872,7 +1902,7 @@ const PlatformApiFactory = function (configuration, basePath, axios) {
1872
1902
  * @throws {RequiredError}
1873
1903
  */
1874
1904
  listCustomers(requestParameters, options) {
1875
- return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
1905
+ return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
1876
1906
  },
1877
1907
  /**
1878
1908
  * Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
@@ -2020,7 +2050,7 @@ class PlatformApi extends base_1.BaseAPI {
2020
2050
  * @memberof PlatformApi
2021
2051
  */
2022
2052
  listCustomers(requestParameters, options) {
2023
- return (0, exports.PlatformApiFp)(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
2053
+ return (0, exports.PlatformApiFp)(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2024
2054
  }
2025
2055
  /**
2026
2056
  * Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.11.0
8
+ * The version of the OpenAPI document: 0.12.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.11.0
8
+ * The version of the OpenAPI document: 0.12.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.11.0
8
+ * The version of the OpenAPI document: 0.12.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.accessToken = param.accessToken;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.11.0/typescript-axios" }) }, param.baseOptions);
26
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.12.1/typescript-axios" }) }, param.baseOptions);
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -980,6 +980,24 @@ export interface Platform {
980
980
  * @memberof Platform
981
981
  */
982
982
  'clientGiftWrapAvailable': boolean;
983
+ /**
984
+ * The subscription fee for the platform
985
+ * @type {number}
986
+ * @memberof Platform
987
+ */
988
+ 'storeSubscriptionFee': number;
989
+ /**
990
+ * The order handling fee for the platform
991
+ * @type {number}
992
+ * @memberof Platform
993
+ */
994
+ 'orderHandlingFee': number;
995
+ /**
996
+ * The item handling fee for the platform
997
+ * @type {number}
998
+ * @memberof Platform
999
+ */
1000
+ 'itemHandlingFee': number;
983
1001
  }
984
1002
  /**
985
1003
  *
@@ -1366,6 +1384,24 @@ export interface UpdatePlatformRequest {
1366
1384
  * @memberof UpdatePlatformRequest
1367
1385
  */
1368
1386
  'clientGiftWrapAvailable'?: boolean;
1387
+ /**
1388
+ *
1389
+ * @type {number}
1390
+ * @memberof UpdatePlatformRequest
1391
+ */
1392
+ 'storeSubscriptionFee'?: number;
1393
+ /**
1394
+ *
1395
+ * @type {number}
1396
+ * @memberof UpdatePlatformRequest
1397
+ */
1398
+ 'orderHandlingFee'?: number;
1399
+ /**
1400
+ *
1401
+ * @type {number}
1402
+ * @memberof UpdatePlatformRequest
1403
+ */
1404
+ 'itemHandlingFee'?: number;
1369
1405
  }
1370
1406
  /**
1371
1407
  *
@@ -1665,10 +1701,13 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
1665
1701
  * @summary List customers
1666
1702
  * @param {string} project Project unique identifier
1667
1703
  * @param {string} platformId The platform identifier
1704
+ * @param {number} [pageToken] Page reference token
1705
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1706
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1668
1707
  * @param {*} [options] Override http request option.
1669
1708
  * @throws {RequiredError}
1670
1709
  */
1671
- listCustomers: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1710
+ listCustomers: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1672
1711
  };
1673
1712
  /**
1674
1713
  * CustomersApi - functional programming interface
@@ -1699,10 +1738,13 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
1699
1738
  * @summary List customers
1700
1739
  * @param {string} project Project unique identifier
1701
1740
  * @param {string} platformId The platform identifier
1741
+ * @param {number} [pageToken] Page reference token
1742
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1743
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1702
1744
  * @param {*} [options] Override http request option.
1703
1745
  * @throws {RequiredError}
1704
1746
  */
1705
- listCustomers(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
1747
+ listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
1706
1748
  };
1707
1749
  /**
1708
1750
  * CustomersApi - factory interface
@@ -1796,6 +1838,24 @@ export interface CustomersApiListCustomersRequest {
1796
1838
  * @memberof CustomersApiListCustomers
1797
1839
  */
1798
1840
  readonly platformId: string;
1841
+ /**
1842
+ * Page reference token
1843
+ * @type {number}
1844
+ * @memberof CustomersApiListCustomers
1845
+ */
1846
+ readonly pageToken?: number;
1847
+ /**
1848
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
1849
+ * @type {number}
1850
+ * @memberof CustomersApiListCustomers
1851
+ */
1852
+ readonly pageSize?: number;
1853
+ /**
1854
+ * Search term to filter based on order reference, customer name and email
1855
+ * @type {string}
1856
+ * @memberof CustomersApiListCustomers
1857
+ */
1858
+ readonly search?: string;
1799
1859
  }
1800
1860
  /**
1801
1861
  * CustomersApi - object-oriented interface
@@ -2365,10 +2425,13 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
2365
2425
  * @summary List customers
2366
2426
  * @param {string} project Project unique identifier
2367
2427
  * @param {string} platformId The platform identifier
2428
+ * @param {number} [pageToken] Page reference token
2429
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2430
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
2368
2431
  * @param {*} [options] Override http request option.
2369
2432
  * @throws {RequiredError}
2370
2433
  */
2371
- listCustomers: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2434
+ listCustomers: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2372
2435
  /**
2373
2436
  * Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
2374
2437
  * @summary List orders
@@ -2505,10 +2568,13 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
2505
2568
  * @summary List customers
2506
2569
  * @param {string} project Project unique identifier
2507
2570
  * @param {string} platformId The platform identifier
2571
+ * @param {number} [pageToken] Page reference token
2572
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2573
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
2508
2574
  * @param {*} [options] Override http request option.
2509
2575
  * @throws {RequiredError}
2510
2576
  */
2511
- listCustomers(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
2577
+ listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
2512
2578
  /**
2513
2579
  * Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
2514
2580
  * @summary List orders
@@ -2863,6 +2929,24 @@ export interface PlatformApiListCustomersRequest {
2863
2929
  * @memberof PlatformApiListCustomers
2864
2930
  */
2865
2931
  readonly platformId: string;
2932
+ /**
2933
+ * Page reference token
2934
+ * @type {number}
2935
+ * @memberof PlatformApiListCustomers
2936
+ */
2937
+ readonly pageToken?: number;
2938
+ /**
2939
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2940
+ * @type {number}
2941
+ * @memberof PlatformApiListCustomers
2942
+ */
2943
+ readonly pageSize?: number;
2944
+ /**
2945
+ * Search term to filter based on order reference, customer name and email
2946
+ * @type {string}
2947
+ * @memberof PlatformApiListCustomers
2948
+ */
2949
+ readonly search?: string;
2866
2950
  }
2867
2951
  /**
2868
2952
  * Request parameters for listOrders operation in PlatformApi.
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -161,10 +161,13 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
161
161
  * @summary List customers
162
162
  * @param {string} project Project unique identifier
163
163
  * @param {string} platformId The platform identifier
164
+ * @param {number} [pageToken] Page reference token
165
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
166
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
164
167
  * @param {*} [options] Override http request option.
165
168
  * @throws {RequiredError}
166
169
  */
167
- listCustomers: (project_1, platformId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, ...args_1], void 0, function* (project, platformId, options = {}) {
170
+ listCustomers: (project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, platformId, pageToken, pageSize, search, options = {}) {
168
171
  // verify required parameter 'project' is not null or undefined
169
172
  assertParamExists('listCustomers', 'project', project);
170
173
  // verify required parameter 'platformId' is not null or undefined
@@ -188,6 +191,15 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
188
191
  if (project !== undefined) {
189
192
  localVarQueryParameter['project'] = project;
190
193
  }
194
+ if (pageToken !== undefined) {
195
+ localVarQueryParameter['pageToken'] = pageToken;
196
+ }
197
+ if (pageSize !== undefined) {
198
+ localVarQueryParameter['pageSize'] = pageSize;
199
+ }
200
+ if (search !== undefined) {
201
+ localVarQueryParameter['search'] = search;
202
+ }
191
203
  setSearchParams(localVarUrlObj, localVarQueryParameter);
192
204
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
193
205
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -245,13 +257,16 @@ export const CustomersApiFp = function (configuration) {
245
257
  * @summary List customers
246
258
  * @param {string} project Project unique identifier
247
259
  * @param {string} platformId The platform identifier
260
+ * @param {number} [pageToken] Page reference token
261
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
262
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
248
263
  * @param {*} [options] Override http request option.
249
264
  * @throws {RequiredError}
250
265
  */
251
- listCustomers(project, platformId, options) {
266
+ listCustomers(project, platformId, pageToken, pageSize, search, options) {
252
267
  return __awaiter(this, void 0, void 0, function* () {
253
268
  var _a, _b, _c;
254
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomers(project, platformId, options);
269
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomers(project, platformId, pageToken, pageSize, search, options);
255
270
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
256
271
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomersApi.listCustomers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
257
272
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -294,7 +309,7 @@ export const CustomersApiFactory = function (configuration, basePath, axios) {
294
309
  * @throws {RequiredError}
295
310
  */
296
311
  listCustomers(requestParameters, options) {
297
- return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
312
+ return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
298
313
  },
299
314
  };
300
315
  };
@@ -336,7 +351,7 @@ export class CustomersApi extends BaseAPI {
336
351
  * @memberof CustomersApi
337
352
  */
338
353
  listCustomers(requestParameters, options) {
339
- return CustomersApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
354
+ return CustomersApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
340
355
  }
341
356
  }
342
357
  /**
@@ -1238,10 +1253,13 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
1238
1253
  * @summary List customers
1239
1254
  * @param {string} project Project unique identifier
1240
1255
  * @param {string} platformId The platform identifier
1256
+ * @param {number} [pageToken] Page reference token
1257
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1258
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1241
1259
  * @param {*} [options] Override http request option.
1242
1260
  * @throws {RequiredError}
1243
1261
  */
1244
- listCustomers: (project_1, platformId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, ...args_1], void 0, function* (project, platformId, options = {}) {
1262
+ listCustomers: (project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, platformId, pageToken, pageSize, search, options = {}) {
1245
1263
  // verify required parameter 'project' is not null or undefined
1246
1264
  assertParamExists('listCustomers', 'project', project);
1247
1265
  // verify required parameter 'platformId' is not null or undefined
@@ -1265,6 +1283,15 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
1265
1283
  if (project !== undefined) {
1266
1284
  localVarQueryParameter['project'] = project;
1267
1285
  }
1286
+ if (pageToken !== undefined) {
1287
+ localVarQueryParameter['pageToken'] = pageToken;
1288
+ }
1289
+ if (pageSize !== undefined) {
1290
+ localVarQueryParameter['pageSize'] = pageSize;
1291
+ }
1292
+ if (search !== undefined) {
1293
+ localVarQueryParameter['search'] = search;
1294
+ }
1268
1295
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1269
1296
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1270
1297
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1664,13 +1691,16 @@ export const PlatformApiFp = function (configuration) {
1664
1691
  * @summary List customers
1665
1692
  * @param {string} project Project unique identifier
1666
1693
  * @param {string} platformId The platform identifier
1694
+ * @param {number} [pageToken] Page reference token
1695
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1696
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1667
1697
  * @param {*} [options] Override http request option.
1668
1698
  * @throws {RequiredError}
1669
1699
  */
1670
- listCustomers(project, platformId, options) {
1700
+ listCustomers(project, platformId, pageToken, pageSize, search, options) {
1671
1701
  return __awaiter(this, void 0, void 0, function* () {
1672
1702
  var _a, _b, _c;
1673
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomers(project, platformId, options);
1703
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomers(project, platformId, pageToken, pageSize, search, options);
1674
1704
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1675
1705
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.listCustomers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1676
1706
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1859,7 +1889,7 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
1859
1889
  * @throws {RequiredError}
1860
1890
  */
1861
1891
  listCustomers(requestParameters, options) {
1862
- return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
1892
+ return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
1863
1893
  },
1864
1894
  /**
1865
1895
  * Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
@@ -2006,7 +2036,7 @@ export class PlatformApi extends BaseAPI {
2006
2036
  * @memberof PlatformApi
2007
2037
  */
2008
2038
  listCustomers(requestParameters, options) {
2009
- return PlatformApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
2039
+ return PlatformApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2010
2040
  }
2011
2041
  /**
2012
2042
  * Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@ export class Configuration {
20
20
  this.accessToken = param.accessToken;
21
21
  this.basePath = param.basePath;
22
22
  this.serverIndex = param.serverIndex;
23
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.11.0/typescript-axios" }) }, param.baseOptions);
23
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.12.1/typescript-axios" }) }, param.baseOptions);
24
24
  this.formDataCtor = param.formDataCtor;
25
25
  }
26
26
  /**
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  *
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
7
7
  *
8
- * The version of the OpenAPI document: 0.11.0
8
+ * The version of the OpenAPI document: 0.12.1
9
9
  *
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
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/platform",
3
- "version": "0.11.0",
3
+ "version": "0.12.1",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {