@teemill/platform 0.10.0 → 0.11.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 +749 -6
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +8 -2
- package/dist/api.d.ts +417 -1
- package/dist/api.js +518 -2
- 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 +3 -2
- package/dist/esm/api.d.ts +417 -1
- package/dist/esm/api.js +513 -1
- 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 +3 -2
- 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/base.ts
CHANGED
package/common.ts
CHANGED
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -89,7 +89,13 @@ export class Configuration {
|
|
|
89
89
|
this.accessToken = param.accessToken;
|
|
90
90
|
this.basePath = param.basePath;
|
|
91
91
|
this.serverIndex = param.serverIndex;
|
|
92
|
-
this.baseOptions =
|
|
92
|
+
this.baseOptions = {
|
|
93
|
+
headers: {
|
|
94
|
+
...param.baseOptions?.headers,
|
|
95
|
+
'User-Agent': "OpenAPI-Generator/0.11.0/typescript-axios"
|
|
96
|
+
},
|
|
97
|
+
...param.baseOptions
|
|
98
|
+
};
|
|
93
99
|
this.formDataCtor = param.formDataCtor;
|
|
94
100
|
}
|
|
95
101
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.11.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -162,6 +162,56 @@ export interface ContactInformation {
|
|
|
162
162
|
*/
|
|
163
163
|
'phone'?: string | null;
|
|
164
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* The customer that has placed an order on your platform
|
|
167
|
+
* @export
|
|
168
|
+
* @interface Customer
|
|
169
|
+
*/
|
|
170
|
+
export interface Customer {
|
|
171
|
+
/**
|
|
172
|
+
* Unique object identifier
|
|
173
|
+
* @type {string}
|
|
174
|
+
* @memberof Customer
|
|
175
|
+
*/
|
|
176
|
+
'id': string;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {string}
|
|
180
|
+
* @memberof Customer
|
|
181
|
+
*/
|
|
182
|
+
'email': string;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof Customer
|
|
187
|
+
*/
|
|
188
|
+
'firstName'?: string;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {string}
|
|
192
|
+
* @memberof Customer
|
|
193
|
+
*/
|
|
194
|
+
'lastName'?: string;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @export
|
|
199
|
+
* @interface CustomersResponse
|
|
200
|
+
*/
|
|
201
|
+
export interface CustomersResponse {
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {Array<Customer>}
|
|
205
|
+
* @memberof CustomersResponse
|
|
206
|
+
*/
|
|
207
|
+
'customers': Array<Customer>;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {number}
|
|
211
|
+
* @memberof CustomersResponse
|
|
212
|
+
*/
|
|
213
|
+
'nextPageToken'?: number | null;
|
|
214
|
+
}
|
|
165
215
|
/**
|
|
166
216
|
*
|
|
167
217
|
* @export
|
|
@@ -1586,6 +1636,202 @@ export interface VariantPackedDimensions {
|
|
|
1586
1636
|
*/
|
|
1587
1637
|
'depth'?: number;
|
|
1588
1638
|
}
|
|
1639
|
+
/**
|
|
1640
|
+
* CustomersApi - axios parameter creator
|
|
1641
|
+
* @export
|
|
1642
|
+
*/
|
|
1643
|
+
export declare const CustomersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1644
|
+
/**
|
|
1645
|
+
* Export customers as a CSV file
|
|
1646
|
+
* @summary Export customers
|
|
1647
|
+
* @param {string} project Project unique identifier
|
|
1648
|
+
* @param {string} platformId The platform identifier
|
|
1649
|
+
* @param {*} [options] Override http request option.
|
|
1650
|
+
* @throws {RequiredError}
|
|
1651
|
+
*/
|
|
1652
|
+
exportCustomers: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1653
|
+
/**
|
|
1654
|
+
* Get a customer for a platform by a given customer ID.
|
|
1655
|
+
* @summary Get customer
|
|
1656
|
+
* @param {string} project Project unique identifier
|
|
1657
|
+
* @param {string} platformId The platform identifier
|
|
1658
|
+
* @param {string} customerId The customer identifier
|
|
1659
|
+
* @param {*} [options] Override http request option.
|
|
1660
|
+
* @throws {RequiredError}
|
|
1661
|
+
*/
|
|
1662
|
+
getCustomer: (project: string, platformId: string, customerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1663
|
+
/**
|
|
1664
|
+
* List customers for a platform
|
|
1665
|
+
* @summary List customers
|
|
1666
|
+
* @param {string} project Project unique identifier
|
|
1667
|
+
* @param {string} platformId The platform identifier
|
|
1668
|
+
* @param {*} [options] Override http request option.
|
|
1669
|
+
* @throws {RequiredError}
|
|
1670
|
+
*/
|
|
1671
|
+
listCustomers: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1672
|
+
};
|
|
1673
|
+
/**
|
|
1674
|
+
* CustomersApi - functional programming interface
|
|
1675
|
+
* @export
|
|
1676
|
+
*/
|
|
1677
|
+
export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
1678
|
+
/**
|
|
1679
|
+
* Export customers as a CSV file
|
|
1680
|
+
* @summary Export customers
|
|
1681
|
+
* @param {string} project Project unique identifier
|
|
1682
|
+
* @param {string} platformId The platform identifier
|
|
1683
|
+
* @param {*} [options] Override http request option.
|
|
1684
|
+
* @throws {RequiredError}
|
|
1685
|
+
*/
|
|
1686
|
+
exportCustomers(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1687
|
+
/**
|
|
1688
|
+
* Get a customer for a platform by a given customer ID.
|
|
1689
|
+
* @summary Get customer
|
|
1690
|
+
* @param {string} project Project unique identifier
|
|
1691
|
+
* @param {string} platformId The platform identifier
|
|
1692
|
+
* @param {string} customerId The customer identifier
|
|
1693
|
+
* @param {*} [options] Override http request option.
|
|
1694
|
+
* @throws {RequiredError}
|
|
1695
|
+
*/
|
|
1696
|
+
getCustomer(project: string, platformId: string, customerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>>;
|
|
1697
|
+
/**
|
|
1698
|
+
* List customers for a platform
|
|
1699
|
+
* @summary List customers
|
|
1700
|
+
* @param {string} project Project unique identifier
|
|
1701
|
+
* @param {string} platformId The platform identifier
|
|
1702
|
+
* @param {*} [options] Override http request option.
|
|
1703
|
+
* @throws {RequiredError}
|
|
1704
|
+
*/
|
|
1705
|
+
listCustomers(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
|
|
1706
|
+
};
|
|
1707
|
+
/**
|
|
1708
|
+
* CustomersApi - factory interface
|
|
1709
|
+
* @export
|
|
1710
|
+
*/
|
|
1711
|
+
export declare const CustomersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1712
|
+
/**
|
|
1713
|
+
* Export customers as a CSV file
|
|
1714
|
+
* @summary Export customers
|
|
1715
|
+
* @param {CustomersApiExportCustomersRequest} requestParameters Request parameters.
|
|
1716
|
+
* @param {*} [options] Override http request option.
|
|
1717
|
+
* @throws {RequiredError}
|
|
1718
|
+
*/
|
|
1719
|
+
exportCustomers(requestParameters: CustomersApiExportCustomersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1720
|
+
/**
|
|
1721
|
+
* Get a customer for a platform by a given customer ID.
|
|
1722
|
+
* @summary Get customer
|
|
1723
|
+
* @param {CustomersApiGetCustomerRequest} requestParameters Request parameters.
|
|
1724
|
+
* @param {*} [options] Override http request option.
|
|
1725
|
+
* @throws {RequiredError}
|
|
1726
|
+
*/
|
|
1727
|
+
getCustomer(requestParameters: CustomersApiGetCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<Customer>;
|
|
1728
|
+
/**
|
|
1729
|
+
* List customers for a platform
|
|
1730
|
+
* @summary List customers
|
|
1731
|
+
* @param {CustomersApiListCustomersRequest} requestParameters Request parameters.
|
|
1732
|
+
* @param {*} [options] Override http request option.
|
|
1733
|
+
* @throws {RequiredError}
|
|
1734
|
+
*/
|
|
1735
|
+
listCustomers(requestParameters: CustomersApiListCustomersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CustomersResponse>;
|
|
1736
|
+
};
|
|
1737
|
+
/**
|
|
1738
|
+
* Request parameters for exportCustomers operation in CustomersApi.
|
|
1739
|
+
* @export
|
|
1740
|
+
* @interface CustomersApiExportCustomersRequest
|
|
1741
|
+
*/
|
|
1742
|
+
export interface CustomersApiExportCustomersRequest {
|
|
1743
|
+
/**
|
|
1744
|
+
* Project unique identifier
|
|
1745
|
+
* @type {string}
|
|
1746
|
+
* @memberof CustomersApiExportCustomers
|
|
1747
|
+
*/
|
|
1748
|
+
readonly project: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* The platform identifier
|
|
1751
|
+
* @type {string}
|
|
1752
|
+
* @memberof CustomersApiExportCustomers
|
|
1753
|
+
*/
|
|
1754
|
+
readonly platformId: string;
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
* Request parameters for getCustomer operation in CustomersApi.
|
|
1758
|
+
* @export
|
|
1759
|
+
* @interface CustomersApiGetCustomerRequest
|
|
1760
|
+
*/
|
|
1761
|
+
export interface CustomersApiGetCustomerRequest {
|
|
1762
|
+
/**
|
|
1763
|
+
* Project unique identifier
|
|
1764
|
+
* @type {string}
|
|
1765
|
+
* @memberof CustomersApiGetCustomer
|
|
1766
|
+
*/
|
|
1767
|
+
readonly project: string;
|
|
1768
|
+
/**
|
|
1769
|
+
* The platform identifier
|
|
1770
|
+
* @type {string}
|
|
1771
|
+
* @memberof CustomersApiGetCustomer
|
|
1772
|
+
*/
|
|
1773
|
+
readonly platformId: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* The customer identifier
|
|
1776
|
+
* @type {string}
|
|
1777
|
+
* @memberof CustomersApiGetCustomer
|
|
1778
|
+
*/
|
|
1779
|
+
readonly customerId: string;
|
|
1780
|
+
}
|
|
1781
|
+
/**
|
|
1782
|
+
* Request parameters for listCustomers operation in CustomersApi.
|
|
1783
|
+
* @export
|
|
1784
|
+
* @interface CustomersApiListCustomersRequest
|
|
1785
|
+
*/
|
|
1786
|
+
export interface CustomersApiListCustomersRequest {
|
|
1787
|
+
/**
|
|
1788
|
+
* Project unique identifier
|
|
1789
|
+
* @type {string}
|
|
1790
|
+
* @memberof CustomersApiListCustomers
|
|
1791
|
+
*/
|
|
1792
|
+
readonly project: string;
|
|
1793
|
+
/**
|
|
1794
|
+
* The platform identifier
|
|
1795
|
+
* @type {string}
|
|
1796
|
+
* @memberof CustomersApiListCustomers
|
|
1797
|
+
*/
|
|
1798
|
+
readonly platformId: string;
|
|
1799
|
+
}
|
|
1800
|
+
/**
|
|
1801
|
+
* CustomersApi - object-oriented interface
|
|
1802
|
+
* @export
|
|
1803
|
+
* @class CustomersApi
|
|
1804
|
+
* @extends {BaseAPI}
|
|
1805
|
+
*/
|
|
1806
|
+
export declare class CustomersApi extends BaseAPI {
|
|
1807
|
+
/**
|
|
1808
|
+
* Export customers as a CSV file
|
|
1809
|
+
* @summary Export customers
|
|
1810
|
+
* @param {CustomersApiExportCustomersRequest} requestParameters Request parameters.
|
|
1811
|
+
* @param {*} [options] Override http request option.
|
|
1812
|
+
* @throws {RequiredError}
|
|
1813
|
+
* @memberof CustomersApi
|
|
1814
|
+
*/
|
|
1815
|
+
exportCustomers(requestParameters: CustomersApiExportCustomersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
1816
|
+
/**
|
|
1817
|
+
* Get a customer for a platform by a given customer ID.
|
|
1818
|
+
* @summary Get customer
|
|
1819
|
+
* @param {CustomersApiGetCustomerRequest} requestParameters Request parameters.
|
|
1820
|
+
* @param {*} [options] Override http request option.
|
|
1821
|
+
* @throws {RequiredError}
|
|
1822
|
+
* @memberof CustomersApi
|
|
1823
|
+
*/
|
|
1824
|
+
getCustomer(requestParameters: CustomersApiGetCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Customer, any>>;
|
|
1825
|
+
/**
|
|
1826
|
+
* List customers for a platform
|
|
1827
|
+
* @summary List customers
|
|
1828
|
+
* @param {CustomersApiListCustomersRequest} requestParameters Request parameters.
|
|
1829
|
+
* @param {*} [options] Override http request option.
|
|
1830
|
+
* @throws {RequiredError}
|
|
1831
|
+
* @memberof CustomersApi
|
|
1832
|
+
*/
|
|
1833
|
+
listCustomers(requestParameters: CustomersApiListCustomersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomersResponse, any>>;
|
|
1834
|
+
}
|
|
1589
1835
|
/**
|
|
1590
1836
|
* OrdersApi - axios parameter creator
|
|
1591
1837
|
* @export
|
|
@@ -2045,6 +2291,15 @@ export declare class OrdersApi extends BaseAPI {
|
|
|
2045
2291
|
* @export
|
|
2046
2292
|
*/
|
|
2047
2293
|
export declare const PlatformApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2294
|
+
/**
|
|
2295
|
+
* Export customers as a CSV file
|
|
2296
|
+
* @summary Export customers
|
|
2297
|
+
* @param {string} project Project unique identifier
|
|
2298
|
+
* @param {string} platformId The platform identifier
|
|
2299
|
+
* @param {*} [options] Override http request option.
|
|
2300
|
+
* @throws {RequiredError}
|
|
2301
|
+
*/
|
|
2302
|
+
exportCustomers: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2048
2303
|
/**
|
|
2049
2304
|
* Export orders as a CSV file
|
|
2050
2305
|
* @summary Export orders
|
|
@@ -2057,6 +2312,16 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2057
2312
|
* @throws {RequiredError}
|
|
2058
2313
|
*/
|
|
2059
2314
|
exportOrders: (project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2315
|
+
/**
|
|
2316
|
+
* Get a customer for a platform by a given customer ID.
|
|
2317
|
+
* @summary Get customer
|
|
2318
|
+
* @param {string} project Project unique identifier
|
|
2319
|
+
* @param {string} platformId The platform identifier
|
|
2320
|
+
* @param {string} customerId The customer identifier
|
|
2321
|
+
* @param {*} [options] Override http request option.
|
|
2322
|
+
* @throws {RequiredError}
|
|
2323
|
+
*/
|
|
2324
|
+
getCustomer: (project: string, platformId: string, customerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2060
2325
|
/**
|
|
2061
2326
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
2062
2327
|
* @summary Get fulfillment
|
|
@@ -2095,6 +2360,15 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2095
2360
|
* @throws {RequiredError}
|
|
2096
2361
|
*/
|
|
2097
2362
|
listAvailableFulfillers: (project: string, platformId: string, fulfillmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2363
|
+
/**
|
|
2364
|
+
* List customers for a platform
|
|
2365
|
+
* @summary List customers
|
|
2366
|
+
* @param {string} project Project unique identifier
|
|
2367
|
+
* @param {string} platformId The platform identifier
|
|
2368
|
+
* @param {*} [options] Override http request option.
|
|
2369
|
+
* @throws {RequiredError}
|
|
2370
|
+
*/
|
|
2371
|
+
listCustomers: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2098
2372
|
/**
|
|
2099
2373
|
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
2100
2374
|
* @summary List orders
|
|
@@ -2157,6 +2431,15 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2157
2431
|
* @export
|
|
2158
2432
|
*/
|
|
2159
2433
|
export declare const PlatformApiFp: (configuration?: Configuration) => {
|
|
2434
|
+
/**
|
|
2435
|
+
* Export customers as a CSV file
|
|
2436
|
+
* @summary Export customers
|
|
2437
|
+
* @param {string} project Project unique identifier
|
|
2438
|
+
* @param {string} platformId The platform identifier
|
|
2439
|
+
* @param {*} [options] Override http request option.
|
|
2440
|
+
* @throws {RequiredError}
|
|
2441
|
+
*/
|
|
2442
|
+
exportCustomers(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
2160
2443
|
/**
|
|
2161
2444
|
* Export orders as a CSV file
|
|
2162
2445
|
* @summary Export orders
|
|
@@ -2169,6 +2452,16 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
|
|
|
2169
2452
|
* @throws {RequiredError}
|
|
2170
2453
|
*/
|
|
2171
2454
|
exportOrders(project: string, platformId: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
2455
|
+
/**
|
|
2456
|
+
* Get a customer for a platform by a given customer ID.
|
|
2457
|
+
* @summary Get customer
|
|
2458
|
+
* @param {string} project Project unique identifier
|
|
2459
|
+
* @param {string} platformId The platform identifier
|
|
2460
|
+
* @param {string} customerId The customer identifier
|
|
2461
|
+
* @param {*} [options] Override http request option.
|
|
2462
|
+
* @throws {RequiredError}
|
|
2463
|
+
*/
|
|
2464
|
+
getCustomer(project: string, platformId: string, customerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>>;
|
|
2172
2465
|
/**
|
|
2173
2466
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
2174
2467
|
* @summary Get fulfillment
|
|
@@ -2207,6 +2500,15 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
|
|
|
2207
2500
|
* @throws {RequiredError}
|
|
2208
2501
|
*/
|
|
2209
2502
|
listAvailableFulfillers(project: string, platformId: string, fulfillmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FulfillersResponse>>;
|
|
2503
|
+
/**
|
|
2504
|
+
* List customers for a platform
|
|
2505
|
+
* @summary List customers
|
|
2506
|
+
* @param {string} project Project unique identifier
|
|
2507
|
+
* @param {string} platformId The platform identifier
|
|
2508
|
+
* @param {*} [options] Override http request option.
|
|
2509
|
+
* @throws {RequiredError}
|
|
2510
|
+
*/
|
|
2511
|
+
listCustomers(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
|
|
2210
2512
|
/**
|
|
2211
2513
|
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
2212
2514
|
* @summary List orders
|
|
@@ -2269,6 +2571,14 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
|
|
|
2269
2571
|
* @export
|
|
2270
2572
|
*/
|
|
2271
2573
|
export declare const PlatformApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2574
|
+
/**
|
|
2575
|
+
* Export customers as a CSV file
|
|
2576
|
+
* @summary Export customers
|
|
2577
|
+
* @param {PlatformApiExportCustomersRequest} requestParameters Request parameters.
|
|
2578
|
+
* @param {*} [options] Override http request option.
|
|
2579
|
+
* @throws {RequiredError}
|
|
2580
|
+
*/
|
|
2581
|
+
exportCustomers(requestParameters: PlatformApiExportCustomersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
2272
2582
|
/**
|
|
2273
2583
|
* Export orders as a CSV file
|
|
2274
2584
|
* @summary Export orders
|
|
@@ -2277,6 +2587,14 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
|
|
|
2277
2587
|
* @throws {RequiredError}
|
|
2278
2588
|
*/
|
|
2279
2589
|
exportOrders(requestParameters: PlatformApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
2590
|
+
/**
|
|
2591
|
+
* Get a customer for a platform by a given customer ID.
|
|
2592
|
+
* @summary Get customer
|
|
2593
|
+
* @param {PlatformApiGetCustomerRequest} requestParameters Request parameters.
|
|
2594
|
+
* @param {*} [options] Override http request option.
|
|
2595
|
+
* @throws {RequiredError}
|
|
2596
|
+
*/
|
|
2597
|
+
getCustomer(requestParameters: PlatformApiGetCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<Customer>;
|
|
2280
2598
|
/**
|
|
2281
2599
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
2282
2600
|
* @summary Get fulfillment
|
|
@@ -2309,6 +2627,14 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
|
|
|
2309
2627
|
* @throws {RequiredError}
|
|
2310
2628
|
*/
|
|
2311
2629
|
listAvailableFulfillers(requestParameters: PlatformApiListAvailableFulfillersRequest, options?: RawAxiosRequestConfig): AxiosPromise<FulfillersResponse>;
|
|
2630
|
+
/**
|
|
2631
|
+
* List customers for a platform
|
|
2632
|
+
* @summary List customers
|
|
2633
|
+
* @param {PlatformApiListCustomersRequest} requestParameters Request parameters.
|
|
2634
|
+
* @param {*} [options] Override http request option.
|
|
2635
|
+
* @throws {RequiredError}
|
|
2636
|
+
*/
|
|
2637
|
+
listCustomers(requestParameters: PlatformApiListCustomersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CustomersResponse>;
|
|
2312
2638
|
/**
|
|
2313
2639
|
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
2314
2640
|
* @summary List orders
|
|
@@ -2350,6 +2676,25 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
|
|
|
2350
2676
|
*/
|
|
2351
2677
|
updateVariant(requestParameters: PlatformApiUpdateVariantRequest, options?: RawAxiosRequestConfig): AxiosPromise<Variant>;
|
|
2352
2678
|
};
|
|
2679
|
+
/**
|
|
2680
|
+
* Request parameters for exportCustomers operation in PlatformApi.
|
|
2681
|
+
* @export
|
|
2682
|
+
* @interface PlatformApiExportCustomersRequest
|
|
2683
|
+
*/
|
|
2684
|
+
export interface PlatformApiExportCustomersRequest {
|
|
2685
|
+
/**
|
|
2686
|
+
* Project unique identifier
|
|
2687
|
+
* @type {string}
|
|
2688
|
+
* @memberof PlatformApiExportCustomers
|
|
2689
|
+
*/
|
|
2690
|
+
readonly project: string;
|
|
2691
|
+
/**
|
|
2692
|
+
* The platform identifier
|
|
2693
|
+
* @type {string}
|
|
2694
|
+
* @memberof PlatformApiExportCustomers
|
|
2695
|
+
*/
|
|
2696
|
+
readonly platformId: string;
|
|
2697
|
+
}
|
|
2353
2698
|
/**
|
|
2354
2699
|
* Request parameters for exportOrders operation in PlatformApi.
|
|
2355
2700
|
* @export
|
|
@@ -2387,6 +2732,31 @@ export interface PlatformApiExportOrdersRequest {
|
|
|
2387
2732
|
*/
|
|
2388
2733
|
readonly search?: string;
|
|
2389
2734
|
}
|
|
2735
|
+
/**
|
|
2736
|
+
* Request parameters for getCustomer operation in PlatformApi.
|
|
2737
|
+
* @export
|
|
2738
|
+
* @interface PlatformApiGetCustomerRequest
|
|
2739
|
+
*/
|
|
2740
|
+
export interface PlatformApiGetCustomerRequest {
|
|
2741
|
+
/**
|
|
2742
|
+
* Project unique identifier
|
|
2743
|
+
* @type {string}
|
|
2744
|
+
* @memberof PlatformApiGetCustomer
|
|
2745
|
+
*/
|
|
2746
|
+
readonly project: string;
|
|
2747
|
+
/**
|
|
2748
|
+
* The platform identifier
|
|
2749
|
+
* @type {string}
|
|
2750
|
+
* @memberof PlatformApiGetCustomer
|
|
2751
|
+
*/
|
|
2752
|
+
readonly platformId: string;
|
|
2753
|
+
/**
|
|
2754
|
+
* The customer identifier
|
|
2755
|
+
* @type {string}
|
|
2756
|
+
* @memberof PlatformApiGetCustomer
|
|
2757
|
+
*/
|
|
2758
|
+
readonly customerId: string;
|
|
2759
|
+
}
|
|
2390
2760
|
/**
|
|
2391
2761
|
* Request parameters for getFulfillment operation in PlatformApi.
|
|
2392
2762
|
* @export
|
|
@@ -2475,6 +2845,25 @@ export interface PlatformApiListAvailableFulfillersRequest {
|
|
|
2475
2845
|
*/
|
|
2476
2846
|
readonly fulfillmentId: string;
|
|
2477
2847
|
}
|
|
2848
|
+
/**
|
|
2849
|
+
* Request parameters for listCustomers operation in PlatformApi.
|
|
2850
|
+
* @export
|
|
2851
|
+
* @interface PlatformApiListCustomersRequest
|
|
2852
|
+
*/
|
|
2853
|
+
export interface PlatformApiListCustomersRequest {
|
|
2854
|
+
/**
|
|
2855
|
+
* Project unique identifier
|
|
2856
|
+
* @type {string}
|
|
2857
|
+
* @memberof PlatformApiListCustomers
|
|
2858
|
+
*/
|
|
2859
|
+
readonly project: string;
|
|
2860
|
+
/**
|
|
2861
|
+
* The platform identifier
|
|
2862
|
+
* @type {string}
|
|
2863
|
+
* @memberof PlatformApiListCustomers
|
|
2864
|
+
*/
|
|
2865
|
+
readonly platformId: string;
|
|
2866
|
+
}
|
|
2478
2867
|
/**
|
|
2479
2868
|
* Request parameters for listOrders operation in PlatformApi.
|
|
2480
2869
|
* @export
|
|
@@ -2643,6 +3032,15 @@ export interface PlatformApiUpdateVariantRequest {
|
|
|
2643
3032
|
* @extends {BaseAPI}
|
|
2644
3033
|
*/
|
|
2645
3034
|
export declare class PlatformApi extends BaseAPI {
|
|
3035
|
+
/**
|
|
3036
|
+
* Export customers as a CSV file
|
|
3037
|
+
* @summary Export customers
|
|
3038
|
+
* @param {PlatformApiExportCustomersRequest} requestParameters Request parameters.
|
|
3039
|
+
* @param {*} [options] Override http request option.
|
|
3040
|
+
* @throws {RequiredError}
|
|
3041
|
+
* @memberof PlatformApi
|
|
3042
|
+
*/
|
|
3043
|
+
exportCustomers(requestParameters: PlatformApiExportCustomersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
2646
3044
|
/**
|
|
2647
3045
|
* Export orders as a CSV file
|
|
2648
3046
|
* @summary Export orders
|
|
@@ -2652,6 +3050,15 @@ export declare class PlatformApi extends BaseAPI {
|
|
|
2652
3050
|
* @memberof PlatformApi
|
|
2653
3051
|
*/
|
|
2654
3052
|
exportOrders(requestParameters: PlatformApiExportOrdersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
3053
|
+
/**
|
|
3054
|
+
* Get a customer for a platform by a given customer ID.
|
|
3055
|
+
* @summary Get customer
|
|
3056
|
+
* @param {PlatformApiGetCustomerRequest} requestParameters Request parameters.
|
|
3057
|
+
* @param {*} [options] Override http request option.
|
|
3058
|
+
* @throws {RequiredError}
|
|
3059
|
+
* @memberof PlatformApi
|
|
3060
|
+
*/
|
|
3061
|
+
getCustomer(requestParameters: PlatformApiGetCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Customer, any>>;
|
|
2655
3062
|
/**
|
|
2656
3063
|
* Get a fulfillment for a platform by a given fulfillment ID.
|
|
2657
3064
|
* @summary Get fulfillment
|
|
@@ -2688,6 +3095,15 @@ export declare class PlatformApi extends BaseAPI {
|
|
|
2688
3095
|
* @memberof PlatformApi
|
|
2689
3096
|
*/
|
|
2690
3097
|
listAvailableFulfillers(requestParameters: PlatformApiListAvailableFulfillersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FulfillersResponse, any>>;
|
|
3098
|
+
/**
|
|
3099
|
+
* List customers for a platform
|
|
3100
|
+
* @summary List customers
|
|
3101
|
+
* @param {PlatformApiListCustomersRequest} requestParameters Request parameters.
|
|
3102
|
+
* @param {*} [options] Override http request option.
|
|
3103
|
+
* @throws {RequiredError}
|
|
3104
|
+
* @memberof PlatformApi
|
|
3105
|
+
*/
|
|
3106
|
+
listCustomers(requestParameters: PlatformApiListCustomersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomersResponse, any>>;
|
|
2691
3107
|
/**
|
|
2692
3108
|
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
2693
3109
|
* @summary List orders
|