@teemill/website 0.6.0 → 0.7.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 +228 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +153 -1
- package/dist/api.js +128 -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 +1 -1
- package/dist/esm/api.d.ts +153 -1
- package/dist/esm/api.js +123 -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 +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/website@0.
|
|
1
|
+
## @teemill/website@0.7.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/website@0.
|
|
39
|
+
npm install @teemill/website@0.7.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your Teemill Website 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.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -262,6 +262,25 @@ export interface Image {
|
|
|
262
262
|
*/
|
|
263
263
|
'updatedAt'?: string;
|
|
264
264
|
}
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @export
|
|
268
|
+
* @interface ListRoutesResponse
|
|
269
|
+
*/
|
|
270
|
+
export interface ListRoutesResponse {
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @type {Array<Route>}
|
|
274
|
+
* @memberof ListRoutesResponse
|
|
275
|
+
*/
|
|
276
|
+
'routes': Array<Route>;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @type {number}
|
|
280
|
+
* @memberof ListRoutesResponse
|
|
281
|
+
*/
|
|
282
|
+
'nextPageToken': number;
|
|
283
|
+
}
|
|
265
284
|
/**
|
|
266
285
|
*
|
|
267
286
|
* @export
|
|
@@ -604,6 +623,43 @@ export interface ProductWarehouseProduct {
|
|
|
604
623
|
*/
|
|
605
624
|
'gfnProductRef'?: string;
|
|
606
625
|
}
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @export
|
|
629
|
+
* @interface Route
|
|
630
|
+
*/
|
|
631
|
+
export interface Route {
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @type {string}
|
|
635
|
+
* @memberof Route
|
|
636
|
+
*/
|
|
637
|
+
'url': string;
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @type {string}
|
|
641
|
+
* @memberof Route
|
|
642
|
+
*/
|
|
643
|
+
'title': string;
|
|
644
|
+
/**
|
|
645
|
+
*
|
|
646
|
+
* @type {string}
|
|
647
|
+
* @memberof Route
|
|
648
|
+
*/
|
|
649
|
+
'image': string | null;
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @type {string}
|
|
653
|
+
* @memberof Route
|
|
654
|
+
*/
|
|
655
|
+
'type': string;
|
|
656
|
+
/**
|
|
657
|
+
*
|
|
658
|
+
* @type {boolean}
|
|
659
|
+
* @memberof Route
|
|
660
|
+
*/
|
|
661
|
+
'published': boolean;
|
|
662
|
+
}
|
|
607
663
|
/**
|
|
608
664
|
* SEO metadata for the product
|
|
609
665
|
* @export
|
|
@@ -1810,3 +1866,174 @@ export class PaymentApi extends BaseAPI {
|
|
|
1810
1866
|
|
|
1811
1867
|
|
|
1812
1868
|
|
|
1869
|
+
/**
|
|
1870
|
+
* RoutesApi - axios parameter creator
|
|
1871
|
+
* @export
|
|
1872
|
+
*/
|
|
1873
|
+
export const RoutesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1874
|
+
return {
|
|
1875
|
+
/**
|
|
1876
|
+
*
|
|
1877
|
+
* @summary List routes
|
|
1878
|
+
* @param {string} project What project it is
|
|
1879
|
+
* @param {number} [pageToken] Page reference token
|
|
1880
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1881
|
+
* @param {string} [search] Search term to filter results
|
|
1882
|
+
* @param {*} [options] Override http request option.
|
|
1883
|
+
* @throws {RequiredError}
|
|
1884
|
+
*/
|
|
1885
|
+
listRoutes: async (project: string, pageToken?: number, pageSize?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1886
|
+
// verify required parameter 'project' is not null or undefined
|
|
1887
|
+
assertParamExists('listRoutes', 'project', project)
|
|
1888
|
+
const localVarPath = `/v1/website/routes`;
|
|
1889
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1890
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1891
|
+
let baseOptions;
|
|
1892
|
+
if (configuration) {
|
|
1893
|
+
baseOptions = configuration.baseOptions;
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1897
|
+
const localVarHeaderParameter = {} as any;
|
|
1898
|
+
const localVarQueryParameter = {} as any;
|
|
1899
|
+
|
|
1900
|
+
// authentication session-oauth required
|
|
1901
|
+
// oauth required
|
|
1902
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1903
|
+
|
|
1904
|
+
// authentication api-key required
|
|
1905
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1906
|
+
|
|
1907
|
+
if (project !== undefined) {
|
|
1908
|
+
localVarQueryParameter['project'] = project;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
if (pageToken !== undefined) {
|
|
1912
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
if (pageSize !== undefined) {
|
|
1916
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
if (search !== undefined) {
|
|
1920
|
+
localVarQueryParameter['search'] = search;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1926
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1927
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1928
|
+
|
|
1929
|
+
return {
|
|
1930
|
+
url: toPathString(localVarUrlObj),
|
|
1931
|
+
options: localVarRequestOptions,
|
|
1932
|
+
};
|
|
1933
|
+
},
|
|
1934
|
+
}
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* RoutesApi - functional programming interface
|
|
1939
|
+
* @export
|
|
1940
|
+
*/
|
|
1941
|
+
export const RoutesApiFp = function(configuration?: Configuration) {
|
|
1942
|
+
const localVarAxiosParamCreator = RoutesApiAxiosParamCreator(configuration)
|
|
1943
|
+
return {
|
|
1944
|
+
/**
|
|
1945
|
+
*
|
|
1946
|
+
* @summary List routes
|
|
1947
|
+
* @param {string} project What project it is
|
|
1948
|
+
* @param {number} [pageToken] Page reference token
|
|
1949
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1950
|
+
* @param {string} [search] Search term to filter results
|
|
1951
|
+
* @param {*} [options] Override http request option.
|
|
1952
|
+
* @throws {RequiredError}
|
|
1953
|
+
*/
|
|
1954
|
+
async listRoutes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRoutesResponse>> {
|
|
1955
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRoutes(project, pageToken, pageSize, search, options);
|
|
1956
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1957
|
+
const localVarOperationServerBasePath = operationServerMap['RoutesApi.listRoutes']?.[localVarOperationServerIndex]?.url;
|
|
1958
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1959
|
+
},
|
|
1960
|
+
}
|
|
1961
|
+
};
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* RoutesApi - factory interface
|
|
1965
|
+
* @export
|
|
1966
|
+
*/
|
|
1967
|
+
export const RoutesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1968
|
+
const localVarFp = RoutesApiFp(configuration)
|
|
1969
|
+
return {
|
|
1970
|
+
/**
|
|
1971
|
+
*
|
|
1972
|
+
* @summary List routes
|
|
1973
|
+
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
1974
|
+
* @param {*} [options] Override http request option.
|
|
1975
|
+
* @throws {RequiredError}
|
|
1976
|
+
*/
|
|
1977
|
+
listRoutes(requestParameters: RoutesApiListRoutesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListRoutesResponse> {
|
|
1978
|
+
return localVarFp.listRoutes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1979
|
+
},
|
|
1980
|
+
};
|
|
1981
|
+
};
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* Request parameters for listRoutes operation in RoutesApi.
|
|
1985
|
+
* @export
|
|
1986
|
+
* @interface RoutesApiListRoutesRequest
|
|
1987
|
+
*/
|
|
1988
|
+
export interface RoutesApiListRoutesRequest {
|
|
1989
|
+
/**
|
|
1990
|
+
* What project it is
|
|
1991
|
+
* @type {string}
|
|
1992
|
+
* @memberof RoutesApiListRoutes
|
|
1993
|
+
*/
|
|
1994
|
+
readonly project: string
|
|
1995
|
+
|
|
1996
|
+
/**
|
|
1997
|
+
* Page reference token
|
|
1998
|
+
* @type {number}
|
|
1999
|
+
* @memberof RoutesApiListRoutes
|
|
2000
|
+
*/
|
|
2001
|
+
readonly pageToken?: number
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2005
|
+
* @type {number}
|
|
2006
|
+
* @memberof RoutesApiListRoutes
|
|
2007
|
+
*/
|
|
2008
|
+
readonly pageSize?: number
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* Search term to filter results
|
|
2012
|
+
* @type {string}
|
|
2013
|
+
* @memberof RoutesApiListRoutes
|
|
2014
|
+
*/
|
|
2015
|
+
readonly search?: string
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
/**
|
|
2019
|
+
* RoutesApi - object-oriented interface
|
|
2020
|
+
* @export
|
|
2021
|
+
* @class RoutesApi
|
|
2022
|
+
* @extends {BaseAPI}
|
|
2023
|
+
*/
|
|
2024
|
+
export class RoutesApi extends BaseAPI {
|
|
2025
|
+
/**
|
|
2026
|
+
*
|
|
2027
|
+
* @summary List routes
|
|
2028
|
+
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
2029
|
+
* @param {*} [options] Override http request option.
|
|
2030
|
+
* @throws {RequiredError}
|
|
2031
|
+
* @memberof RoutesApi
|
|
2032
|
+
*/
|
|
2033
|
+
public listRoutes(requestParameters: RoutesApiListRoutesRequest, options?: RawAxiosRequestConfig) {
|
|
2034
|
+
return RoutesApiFp(this.configuration).listRoutes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
|
|
2039
|
+
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
5
5
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
5
5
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
3
3
|
* Manage your Teemill Website 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.7.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -245,6 +245,25 @@ export interface Image {
|
|
|
245
245
|
*/
|
|
246
246
|
'updatedAt'?: string;
|
|
247
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @export
|
|
251
|
+
* @interface ListRoutesResponse
|
|
252
|
+
*/
|
|
253
|
+
export interface ListRoutesResponse {
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @type {Array<Route>}
|
|
257
|
+
* @memberof ListRoutesResponse
|
|
258
|
+
*/
|
|
259
|
+
'routes': Array<Route>;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {number}
|
|
263
|
+
* @memberof ListRoutesResponse
|
|
264
|
+
*/
|
|
265
|
+
'nextPageToken': number;
|
|
266
|
+
}
|
|
248
267
|
/**
|
|
249
268
|
*
|
|
250
269
|
* @export
|
|
@@ -583,6 +602,43 @@ export interface ProductWarehouseProduct {
|
|
|
583
602
|
*/
|
|
584
603
|
'gfnProductRef'?: string;
|
|
585
604
|
}
|
|
605
|
+
/**
|
|
606
|
+
*
|
|
607
|
+
* @export
|
|
608
|
+
* @interface Route
|
|
609
|
+
*/
|
|
610
|
+
export interface Route {
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @type {string}
|
|
614
|
+
* @memberof Route
|
|
615
|
+
*/
|
|
616
|
+
'url': string;
|
|
617
|
+
/**
|
|
618
|
+
*
|
|
619
|
+
* @type {string}
|
|
620
|
+
* @memberof Route
|
|
621
|
+
*/
|
|
622
|
+
'title': string;
|
|
623
|
+
/**
|
|
624
|
+
*
|
|
625
|
+
* @type {string}
|
|
626
|
+
* @memberof Route
|
|
627
|
+
*/
|
|
628
|
+
'image': string | null;
|
|
629
|
+
/**
|
|
630
|
+
*
|
|
631
|
+
* @type {string}
|
|
632
|
+
* @memberof Route
|
|
633
|
+
*/
|
|
634
|
+
'type': string;
|
|
635
|
+
/**
|
|
636
|
+
*
|
|
637
|
+
* @type {boolean}
|
|
638
|
+
* @memberof Route
|
|
639
|
+
*/
|
|
640
|
+
'published': boolean;
|
|
641
|
+
}
|
|
586
642
|
/**
|
|
587
643
|
* SEO metadata for the product
|
|
588
644
|
* @export
|
|
@@ -1404,3 +1460,99 @@ export declare class PaymentApi extends BaseAPI {
|
|
|
1404
1460
|
*/
|
|
1405
1461
|
getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentAccount, any>>;
|
|
1406
1462
|
}
|
|
1463
|
+
/**
|
|
1464
|
+
* RoutesApi - axios parameter creator
|
|
1465
|
+
* @export
|
|
1466
|
+
*/
|
|
1467
|
+
export declare const RoutesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1468
|
+
/**
|
|
1469
|
+
*
|
|
1470
|
+
* @summary List routes
|
|
1471
|
+
* @param {string} project What project it is
|
|
1472
|
+
* @param {number} [pageToken] Page reference token
|
|
1473
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1474
|
+
* @param {string} [search] Search term to filter results
|
|
1475
|
+
* @param {*} [options] Override http request option.
|
|
1476
|
+
* @throws {RequiredError}
|
|
1477
|
+
*/
|
|
1478
|
+
listRoutes: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1479
|
+
};
|
|
1480
|
+
/**
|
|
1481
|
+
* RoutesApi - functional programming interface
|
|
1482
|
+
* @export
|
|
1483
|
+
*/
|
|
1484
|
+
export declare const RoutesApiFp: (configuration?: Configuration) => {
|
|
1485
|
+
/**
|
|
1486
|
+
*
|
|
1487
|
+
* @summary List routes
|
|
1488
|
+
* @param {string} project What project it is
|
|
1489
|
+
* @param {number} [pageToken] Page reference token
|
|
1490
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1491
|
+
* @param {string} [search] Search term to filter results
|
|
1492
|
+
* @param {*} [options] Override http request option.
|
|
1493
|
+
* @throws {RequiredError}
|
|
1494
|
+
*/
|
|
1495
|
+
listRoutes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRoutesResponse>>;
|
|
1496
|
+
};
|
|
1497
|
+
/**
|
|
1498
|
+
* RoutesApi - factory interface
|
|
1499
|
+
* @export
|
|
1500
|
+
*/
|
|
1501
|
+
export declare const RoutesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1502
|
+
/**
|
|
1503
|
+
*
|
|
1504
|
+
* @summary List routes
|
|
1505
|
+
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
1506
|
+
* @param {*} [options] Override http request option.
|
|
1507
|
+
* @throws {RequiredError}
|
|
1508
|
+
*/
|
|
1509
|
+
listRoutes(requestParameters: RoutesApiListRoutesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListRoutesResponse>;
|
|
1510
|
+
};
|
|
1511
|
+
/**
|
|
1512
|
+
* Request parameters for listRoutes operation in RoutesApi.
|
|
1513
|
+
* @export
|
|
1514
|
+
* @interface RoutesApiListRoutesRequest
|
|
1515
|
+
*/
|
|
1516
|
+
export interface RoutesApiListRoutesRequest {
|
|
1517
|
+
/**
|
|
1518
|
+
* What project it is
|
|
1519
|
+
* @type {string}
|
|
1520
|
+
* @memberof RoutesApiListRoutes
|
|
1521
|
+
*/
|
|
1522
|
+
readonly project: string;
|
|
1523
|
+
/**
|
|
1524
|
+
* Page reference token
|
|
1525
|
+
* @type {number}
|
|
1526
|
+
* @memberof RoutesApiListRoutes
|
|
1527
|
+
*/
|
|
1528
|
+
readonly pageToken?: number;
|
|
1529
|
+
/**
|
|
1530
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1531
|
+
* @type {number}
|
|
1532
|
+
* @memberof RoutesApiListRoutes
|
|
1533
|
+
*/
|
|
1534
|
+
readonly pageSize?: number;
|
|
1535
|
+
/**
|
|
1536
|
+
* Search term to filter results
|
|
1537
|
+
* @type {string}
|
|
1538
|
+
* @memberof RoutesApiListRoutes
|
|
1539
|
+
*/
|
|
1540
|
+
readonly search?: string;
|
|
1541
|
+
}
|
|
1542
|
+
/**
|
|
1543
|
+
* RoutesApi - object-oriented interface
|
|
1544
|
+
* @export
|
|
1545
|
+
* @class RoutesApi
|
|
1546
|
+
* @extends {BaseAPI}
|
|
1547
|
+
*/
|
|
1548
|
+
export declare class RoutesApi extends BaseAPI {
|
|
1549
|
+
/**
|
|
1550
|
+
*
|
|
1551
|
+
* @summary List routes
|
|
1552
|
+
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
1553
|
+
* @param {*} [options] Override http request option.
|
|
1554
|
+
* @throws {RequiredError}
|
|
1555
|
+
* @memberof RoutesApi
|
|
1556
|
+
*/
|
|
1557
|
+
listRoutes(requestParameters: RoutesApiListRoutesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRoutesResponse, any>>;
|
|
1558
|
+
}
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Website API
|
|
6
6
|
* Manage your Teemill Website 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.7.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.MenuApi = exports.MenuApiFactory = exports.MenuApiFp = exports.MenuApiAxiosParamCreator = exports.CrossSellApi = exports.CrossSellApiFactory = exports.CrossSellApiFp = exports.CrossSellApiAxiosParamCreator = exports.PriceCurrencyCodeEnum = exports.PaymentAccountMethodEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
25
|
+
exports.RoutesApi = exports.RoutesApiFactory = exports.RoutesApiFp = exports.RoutesApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.MenuApi = exports.MenuApiFactory = exports.MenuApiFp = exports.MenuApiAxiosParamCreator = exports.CrossSellApi = exports.CrossSellApiFactory = exports.CrossSellApiFp = exports.CrossSellApiAxiosParamCreator = exports.PriceCurrencyCodeEnum = exports.PaymentAccountMethodEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -702,3 +702,129 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
exports.PaymentApi = PaymentApi;
|
|
705
|
+
/**
|
|
706
|
+
* RoutesApi - axios parameter creator
|
|
707
|
+
* @export
|
|
708
|
+
*/
|
|
709
|
+
const RoutesApiAxiosParamCreator = function (configuration) {
|
|
710
|
+
return {
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @summary List routes
|
|
714
|
+
* @param {string} project What project it is
|
|
715
|
+
* @param {number} [pageToken] Page reference token
|
|
716
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
717
|
+
* @param {string} [search] Search term to filter results
|
|
718
|
+
* @param {*} [options] Override http request option.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
*/
|
|
721
|
+
listRoutes: (project_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, options = {}) {
|
|
722
|
+
// verify required parameter 'project' is not null or undefined
|
|
723
|
+
(0, common_1.assertParamExists)('listRoutes', 'project', project);
|
|
724
|
+
const localVarPath = `/v1/website/routes`;
|
|
725
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
726
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
727
|
+
let baseOptions;
|
|
728
|
+
if (configuration) {
|
|
729
|
+
baseOptions = configuration.baseOptions;
|
|
730
|
+
}
|
|
731
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
732
|
+
const localVarHeaderParameter = {};
|
|
733
|
+
const localVarQueryParameter = {};
|
|
734
|
+
// authentication session-oauth required
|
|
735
|
+
// oauth required
|
|
736
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
737
|
+
// authentication api-key required
|
|
738
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
739
|
+
if (project !== undefined) {
|
|
740
|
+
localVarQueryParameter['project'] = project;
|
|
741
|
+
}
|
|
742
|
+
if (pageToken !== undefined) {
|
|
743
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
744
|
+
}
|
|
745
|
+
if (pageSize !== undefined) {
|
|
746
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
747
|
+
}
|
|
748
|
+
if (search !== undefined) {
|
|
749
|
+
localVarQueryParameter['search'] = search;
|
|
750
|
+
}
|
|
751
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
752
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
753
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
754
|
+
return {
|
|
755
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
756
|
+
options: localVarRequestOptions,
|
|
757
|
+
};
|
|
758
|
+
}),
|
|
759
|
+
};
|
|
760
|
+
};
|
|
761
|
+
exports.RoutesApiAxiosParamCreator = RoutesApiAxiosParamCreator;
|
|
762
|
+
/**
|
|
763
|
+
* RoutesApi - functional programming interface
|
|
764
|
+
* @export
|
|
765
|
+
*/
|
|
766
|
+
const RoutesApiFp = function (configuration) {
|
|
767
|
+
const localVarAxiosParamCreator = (0, exports.RoutesApiAxiosParamCreator)(configuration);
|
|
768
|
+
return {
|
|
769
|
+
/**
|
|
770
|
+
*
|
|
771
|
+
* @summary List routes
|
|
772
|
+
* @param {string} project What project it is
|
|
773
|
+
* @param {number} [pageToken] Page reference token
|
|
774
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
775
|
+
* @param {string} [search] Search term to filter results
|
|
776
|
+
* @param {*} [options] Override http request option.
|
|
777
|
+
* @throws {RequiredError}
|
|
778
|
+
*/
|
|
779
|
+
listRoutes(project, pageToken, pageSize, search, options) {
|
|
780
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
781
|
+
var _a, _b, _c;
|
|
782
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listRoutes(project, pageToken, pageSize, search, options);
|
|
783
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
784
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RoutesApi.listRoutes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
785
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
786
|
+
});
|
|
787
|
+
},
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
exports.RoutesApiFp = RoutesApiFp;
|
|
791
|
+
/**
|
|
792
|
+
* RoutesApi - factory interface
|
|
793
|
+
* @export
|
|
794
|
+
*/
|
|
795
|
+
const RoutesApiFactory = function (configuration, basePath, axios) {
|
|
796
|
+
const localVarFp = (0, exports.RoutesApiFp)(configuration);
|
|
797
|
+
return {
|
|
798
|
+
/**
|
|
799
|
+
*
|
|
800
|
+
* @summary List routes
|
|
801
|
+
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
802
|
+
* @param {*} [options] Override http request option.
|
|
803
|
+
* @throws {RequiredError}
|
|
804
|
+
*/
|
|
805
|
+
listRoutes(requestParameters, options) {
|
|
806
|
+
return localVarFp.listRoutes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
807
|
+
},
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
exports.RoutesApiFactory = RoutesApiFactory;
|
|
811
|
+
/**
|
|
812
|
+
* RoutesApi - object-oriented interface
|
|
813
|
+
* @export
|
|
814
|
+
* @class RoutesApi
|
|
815
|
+
* @extends {BaseAPI}
|
|
816
|
+
*/
|
|
817
|
+
class RoutesApi extends base_1.BaseAPI {
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @summary List routes
|
|
821
|
+
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
822
|
+
* @param {*} [options] Override http request option.
|
|
823
|
+
* @throws {RequiredError}
|
|
824
|
+
* @memberof RoutesApi
|
|
825
|
+
*/
|
|
826
|
+
listRoutes(requestParameters, options) {
|
|
827
|
+
return (0, exports.RoutesApiFp)(this.configuration).listRoutes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
exports.RoutesApi = RoutesApi;
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
6
6
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
3
3
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
6
6
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
3
3
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
6
6
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
3
3
|
* Manage your Teemill Website 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.7.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -245,6 +245,25 @@ export interface Image {
|
|
|
245
245
|
*/
|
|
246
246
|
'updatedAt'?: string;
|
|
247
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @export
|
|
251
|
+
* @interface ListRoutesResponse
|
|
252
|
+
*/
|
|
253
|
+
export interface ListRoutesResponse {
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @type {Array<Route>}
|
|
257
|
+
* @memberof ListRoutesResponse
|
|
258
|
+
*/
|
|
259
|
+
'routes': Array<Route>;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {number}
|
|
263
|
+
* @memberof ListRoutesResponse
|
|
264
|
+
*/
|
|
265
|
+
'nextPageToken': number;
|
|
266
|
+
}
|
|
248
267
|
/**
|
|
249
268
|
*
|
|
250
269
|
* @export
|
|
@@ -583,6 +602,43 @@ export interface ProductWarehouseProduct {
|
|
|
583
602
|
*/
|
|
584
603
|
'gfnProductRef'?: string;
|
|
585
604
|
}
|
|
605
|
+
/**
|
|
606
|
+
*
|
|
607
|
+
* @export
|
|
608
|
+
* @interface Route
|
|
609
|
+
*/
|
|
610
|
+
export interface Route {
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @type {string}
|
|
614
|
+
* @memberof Route
|
|
615
|
+
*/
|
|
616
|
+
'url': string;
|
|
617
|
+
/**
|
|
618
|
+
*
|
|
619
|
+
* @type {string}
|
|
620
|
+
* @memberof Route
|
|
621
|
+
*/
|
|
622
|
+
'title': string;
|
|
623
|
+
/**
|
|
624
|
+
*
|
|
625
|
+
* @type {string}
|
|
626
|
+
* @memberof Route
|
|
627
|
+
*/
|
|
628
|
+
'image': string | null;
|
|
629
|
+
/**
|
|
630
|
+
*
|
|
631
|
+
* @type {string}
|
|
632
|
+
* @memberof Route
|
|
633
|
+
*/
|
|
634
|
+
'type': string;
|
|
635
|
+
/**
|
|
636
|
+
*
|
|
637
|
+
* @type {boolean}
|
|
638
|
+
* @memberof Route
|
|
639
|
+
*/
|
|
640
|
+
'published': boolean;
|
|
641
|
+
}
|
|
586
642
|
/**
|
|
587
643
|
* SEO metadata for the product
|
|
588
644
|
* @export
|
|
@@ -1404,3 +1460,99 @@ export declare class PaymentApi extends BaseAPI {
|
|
|
1404
1460
|
*/
|
|
1405
1461
|
getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentAccount, any>>;
|
|
1406
1462
|
}
|
|
1463
|
+
/**
|
|
1464
|
+
* RoutesApi - axios parameter creator
|
|
1465
|
+
* @export
|
|
1466
|
+
*/
|
|
1467
|
+
export declare const RoutesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1468
|
+
/**
|
|
1469
|
+
*
|
|
1470
|
+
* @summary List routes
|
|
1471
|
+
* @param {string} project What project it is
|
|
1472
|
+
* @param {number} [pageToken] Page reference token
|
|
1473
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1474
|
+
* @param {string} [search] Search term to filter results
|
|
1475
|
+
* @param {*} [options] Override http request option.
|
|
1476
|
+
* @throws {RequiredError}
|
|
1477
|
+
*/
|
|
1478
|
+
listRoutes: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1479
|
+
};
|
|
1480
|
+
/**
|
|
1481
|
+
* RoutesApi - functional programming interface
|
|
1482
|
+
* @export
|
|
1483
|
+
*/
|
|
1484
|
+
export declare const RoutesApiFp: (configuration?: Configuration) => {
|
|
1485
|
+
/**
|
|
1486
|
+
*
|
|
1487
|
+
* @summary List routes
|
|
1488
|
+
* @param {string} project What project it is
|
|
1489
|
+
* @param {number} [pageToken] Page reference token
|
|
1490
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1491
|
+
* @param {string} [search] Search term to filter results
|
|
1492
|
+
* @param {*} [options] Override http request option.
|
|
1493
|
+
* @throws {RequiredError}
|
|
1494
|
+
*/
|
|
1495
|
+
listRoutes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRoutesResponse>>;
|
|
1496
|
+
};
|
|
1497
|
+
/**
|
|
1498
|
+
* RoutesApi - factory interface
|
|
1499
|
+
* @export
|
|
1500
|
+
*/
|
|
1501
|
+
export declare const RoutesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1502
|
+
/**
|
|
1503
|
+
*
|
|
1504
|
+
* @summary List routes
|
|
1505
|
+
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
1506
|
+
* @param {*} [options] Override http request option.
|
|
1507
|
+
* @throws {RequiredError}
|
|
1508
|
+
*/
|
|
1509
|
+
listRoutes(requestParameters: RoutesApiListRoutesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListRoutesResponse>;
|
|
1510
|
+
};
|
|
1511
|
+
/**
|
|
1512
|
+
* Request parameters for listRoutes operation in RoutesApi.
|
|
1513
|
+
* @export
|
|
1514
|
+
* @interface RoutesApiListRoutesRequest
|
|
1515
|
+
*/
|
|
1516
|
+
export interface RoutesApiListRoutesRequest {
|
|
1517
|
+
/**
|
|
1518
|
+
* What project it is
|
|
1519
|
+
* @type {string}
|
|
1520
|
+
* @memberof RoutesApiListRoutes
|
|
1521
|
+
*/
|
|
1522
|
+
readonly project: string;
|
|
1523
|
+
/**
|
|
1524
|
+
* Page reference token
|
|
1525
|
+
* @type {number}
|
|
1526
|
+
* @memberof RoutesApiListRoutes
|
|
1527
|
+
*/
|
|
1528
|
+
readonly pageToken?: number;
|
|
1529
|
+
/**
|
|
1530
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1531
|
+
* @type {number}
|
|
1532
|
+
* @memberof RoutesApiListRoutes
|
|
1533
|
+
*/
|
|
1534
|
+
readonly pageSize?: number;
|
|
1535
|
+
/**
|
|
1536
|
+
* Search term to filter results
|
|
1537
|
+
* @type {string}
|
|
1538
|
+
* @memberof RoutesApiListRoutes
|
|
1539
|
+
*/
|
|
1540
|
+
readonly search?: string;
|
|
1541
|
+
}
|
|
1542
|
+
/**
|
|
1543
|
+
* RoutesApi - object-oriented interface
|
|
1544
|
+
* @export
|
|
1545
|
+
* @class RoutesApi
|
|
1546
|
+
* @extends {BaseAPI}
|
|
1547
|
+
*/
|
|
1548
|
+
export declare class RoutesApi extends BaseAPI {
|
|
1549
|
+
/**
|
|
1550
|
+
*
|
|
1551
|
+
* @summary List routes
|
|
1552
|
+
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
1553
|
+
* @param {*} [options] Override http request option.
|
|
1554
|
+
* @throws {RequiredError}
|
|
1555
|
+
* @memberof RoutesApi
|
|
1556
|
+
*/
|
|
1557
|
+
listRoutes(requestParameters: RoutesApiListRoutesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRoutesResponse, any>>;
|
|
1558
|
+
}
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your Teemill Website 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.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -687,3 +687,125 @@ export class PaymentApi extends BaseAPI {
|
|
|
687
687
|
return PaymentApiFp(this.configuration).getStripePaymentAccount(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
|
+
/**
|
|
691
|
+
* RoutesApi - axios parameter creator
|
|
692
|
+
* @export
|
|
693
|
+
*/
|
|
694
|
+
export const RoutesApiAxiosParamCreator = function (configuration) {
|
|
695
|
+
return {
|
|
696
|
+
/**
|
|
697
|
+
*
|
|
698
|
+
* @summary List routes
|
|
699
|
+
* @param {string} project What project it is
|
|
700
|
+
* @param {number} [pageToken] Page reference token
|
|
701
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
702
|
+
* @param {string} [search] Search term to filter results
|
|
703
|
+
* @param {*} [options] Override http request option.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
*/
|
|
706
|
+
listRoutes: (project_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, options = {}) {
|
|
707
|
+
// verify required parameter 'project' is not null or undefined
|
|
708
|
+
assertParamExists('listRoutes', 'project', project);
|
|
709
|
+
const localVarPath = `/v1/website/routes`;
|
|
710
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
711
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
712
|
+
let baseOptions;
|
|
713
|
+
if (configuration) {
|
|
714
|
+
baseOptions = configuration.baseOptions;
|
|
715
|
+
}
|
|
716
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
717
|
+
const localVarHeaderParameter = {};
|
|
718
|
+
const localVarQueryParameter = {};
|
|
719
|
+
// authentication session-oauth required
|
|
720
|
+
// oauth required
|
|
721
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
722
|
+
// authentication api-key required
|
|
723
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
724
|
+
if (project !== undefined) {
|
|
725
|
+
localVarQueryParameter['project'] = project;
|
|
726
|
+
}
|
|
727
|
+
if (pageToken !== undefined) {
|
|
728
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
729
|
+
}
|
|
730
|
+
if (pageSize !== undefined) {
|
|
731
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
732
|
+
}
|
|
733
|
+
if (search !== undefined) {
|
|
734
|
+
localVarQueryParameter['search'] = search;
|
|
735
|
+
}
|
|
736
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
738
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
739
|
+
return {
|
|
740
|
+
url: toPathString(localVarUrlObj),
|
|
741
|
+
options: localVarRequestOptions,
|
|
742
|
+
};
|
|
743
|
+
}),
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
/**
|
|
747
|
+
* RoutesApi - functional programming interface
|
|
748
|
+
* @export
|
|
749
|
+
*/
|
|
750
|
+
export const RoutesApiFp = function (configuration) {
|
|
751
|
+
const localVarAxiosParamCreator = RoutesApiAxiosParamCreator(configuration);
|
|
752
|
+
return {
|
|
753
|
+
/**
|
|
754
|
+
*
|
|
755
|
+
* @summary List routes
|
|
756
|
+
* @param {string} project What project it is
|
|
757
|
+
* @param {number} [pageToken] Page reference token
|
|
758
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
759
|
+
* @param {string} [search] Search term to filter results
|
|
760
|
+
* @param {*} [options] Override http request option.
|
|
761
|
+
* @throws {RequiredError}
|
|
762
|
+
*/
|
|
763
|
+
listRoutes(project, pageToken, pageSize, search, options) {
|
|
764
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
765
|
+
var _a, _b, _c;
|
|
766
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listRoutes(project, pageToken, pageSize, search, options);
|
|
767
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
768
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RoutesApi.listRoutes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
769
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
770
|
+
});
|
|
771
|
+
},
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* RoutesApi - factory interface
|
|
776
|
+
* @export
|
|
777
|
+
*/
|
|
778
|
+
export const RoutesApiFactory = function (configuration, basePath, axios) {
|
|
779
|
+
const localVarFp = RoutesApiFp(configuration);
|
|
780
|
+
return {
|
|
781
|
+
/**
|
|
782
|
+
*
|
|
783
|
+
* @summary List routes
|
|
784
|
+
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
785
|
+
* @param {*} [options] Override http request option.
|
|
786
|
+
* @throws {RequiredError}
|
|
787
|
+
*/
|
|
788
|
+
listRoutes(requestParameters, options) {
|
|
789
|
+
return localVarFp.listRoutes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
790
|
+
},
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
/**
|
|
794
|
+
* RoutesApi - object-oriented interface
|
|
795
|
+
* @export
|
|
796
|
+
* @class RoutesApi
|
|
797
|
+
* @extends {BaseAPI}
|
|
798
|
+
*/
|
|
799
|
+
export class RoutesApi extends BaseAPI {
|
|
800
|
+
/**
|
|
801
|
+
*
|
|
802
|
+
* @summary List routes
|
|
803
|
+
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
804
|
+
* @param {*} [options] Override http request option.
|
|
805
|
+
* @throws {RequiredError}
|
|
806
|
+
* @memberof RoutesApi
|
|
807
|
+
*/
|
|
808
|
+
listRoutes(requestParameters, options) {
|
|
809
|
+
return RoutesApiFp(this.configuration).listRoutes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
810
|
+
}
|
|
811
|
+
}
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
5
5
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
3
3
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
5
5
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
3
3
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
5
5
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
3
3
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
5
5
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
3
3
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
6
6
|
* Manage your Teemill Website 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.7.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
|
* Website API
|
|
5
5
|
* Manage your Teemill Website 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.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|