@teemill/projects 1.23.2 → 1.24.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 +327 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +191 -1
- package/dist/api.js +219 -1
- 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 +191 -1
- package/dist/esm/api.js +219 -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/projects@1.
|
|
1
|
+
## @teemill/projects@1.24.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/projects@1.
|
|
39
|
+
npm install @teemill/projects@1.24.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -42,6 +42,44 @@ export interface ApiError {
|
|
|
42
42
|
*/
|
|
43
43
|
'message': string;
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @interface Auth
|
|
49
|
+
*/
|
|
50
|
+
export interface Auth {
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Auth
|
|
55
|
+
*/
|
|
56
|
+
'id'?: string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof Auth
|
|
61
|
+
*/
|
|
62
|
+
'projectId'?: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof Auth
|
|
67
|
+
*/
|
|
68
|
+
'token'?: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @export
|
|
73
|
+
* @interface AuthResponse
|
|
74
|
+
*/
|
|
75
|
+
export interface AuthResponse {
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<Auth>}
|
|
79
|
+
* @memberof AuthResponse
|
|
80
|
+
*/
|
|
81
|
+
'auth'?: Array<Auth>;
|
|
82
|
+
}
|
|
45
83
|
/**
|
|
46
84
|
*
|
|
47
85
|
* @export
|
|
@@ -244,6 +282,12 @@ export interface Project {
|
|
|
244
282
|
* @memberof Project
|
|
245
283
|
*/
|
|
246
284
|
'currency'?: ProjectCurrency | null;
|
|
285
|
+
/**
|
|
286
|
+
* The public API key for the project which can be used to access basic information about the project such as the store url
|
|
287
|
+
* @type {string}
|
|
288
|
+
* @memberof Project
|
|
289
|
+
*/
|
|
290
|
+
'publicKey': string;
|
|
247
291
|
}
|
|
248
292
|
/**
|
|
249
293
|
*
|
|
@@ -587,6 +631,47 @@ export interface UpdateProjectRequest {
|
|
|
587
631
|
*/
|
|
588
632
|
export const ProjectsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
589
633
|
return {
|
|
634
|
+
/**
|
|
635
|
+
* Create an auth token for the project
|
|
636
|
+
* @summary Create auth token
|
|
637
|
+
* @param {string} project Projects unique identifier
|
|
638
|
+
* @param {*} [options] Override http request option.
|
|
639
|
+
* @throws {RequiredError}
|
|
640
|
+
*/
|
|
641
|
+
createAuth: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
642
|
+
// verify required parameter 'project' is not null or undefined
|
|
643
|
+
assertParamExists('createAuth', 'project', project)
|
|
644
|
+
const localVarPath = `/v1/projects/{project}/auth`
|
|
645
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
646
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
647
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
648
|
+
let baseOptions;
|
|
649
|
+
if (configuration) {
|
|
650
|
+
baseOptions = configuration.baseOptions;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
654
|
+
const localVarHeaderParameter = {} as any;
|
|
655
|
+
const localVarQueryParameter = {} as any;
|
|
656
|
+
|
|
657
|
+
// authentication session-oauth required
|
|
658
|
+
// oauth required
|
|
659
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
660
|
+
|
|
661
|
+
// authentication api-key required
|
|
662
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
667
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
668
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
669
|
+
|
|
670
|
+
return {
|
|
671
|
+
url: toPathString(localVarUrlObj),
|
|
672
|
+
options: localVarRequestOptions,
|
|
673
|
+
};
|
|
674
|
+
},
|
|
590
675
|
/**
|
|
591
676
|
* Creates an invite for the project
|
|
592
677
|
* @summary Creates an invite
|
|
@@ -677,6 +762,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
677
762
|
options: localVarRequestOptions,
|
|
678
763
|
};
|
|
679
764
|
},
|
|
765
|
+
/**
|
|
766
|
+
* Delete an auth token for the project
|
|
767
|
+
* @summary Delete auth token
|
|
768
|
+
* @param {string} project Projects unique identifier
|
|
769
|
+
* @param {string} auth The unique id of the auth token
|
|
770
|
+
* @param {*} [options] Override http request option.
|
|
771
|
+
* @throws {RequiredError}
|
|
772
|
+
*/
|
|
773
|
+
deleteAuth: async (project: string, auth: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
774
|
+
// verify required parameter 'project' is not null or undefined
|
|
775
|
+
assertParamExists('deleteAuth', 'project', project)
|
|
776
|
+
// verify required parameter 'auth' is not null or undefined
|
|
777
|
+
assertParamExists('deleteAuth', 'auth', auth)
|
|
778
|
+
const localVarPath = `/v1/projects/{project}/auth/{auth}`
|
|
779
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
780
|
+
.replace(`{${"auth"}}`, encodeURIComponent(String(auth)));
|
|
781
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
782
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
783
|
+
let baseOptions;
|
|
784
|
+
if (configuration) {
|
|
785
|
+
baseOptions = configuration.baseOptions;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
789
|
+
const localVarHeaderParameter = {} as any;
|
|
790
|
+
const localVarQueryParameter = {} as any;
|
|
791
|
+
|
|
792
|
+
// authentication session-oauth required
|
|
793
|
+
// oauth required
|
|
794
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
795
|
+
|
|
796
|
+
// authentication api-key required
|
|
797
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
802
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
804
|
+
|
|
805
|
+
return {
|
|
806
|
+
url: toPathString(localVarUrlObj),
|
|
807
|
+
options: localVarRequestOptions,
|
|
808
|
+
};
|
|
809
|
+
},
|
|
680
810
|
/**
|
|
681
811
|
* Deletes an invite to the project
|
|
682
812
|
* @summary Deletes an invite
|
|
@@ -799,6 +929,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
799
929
|
|
|
800
930
|
|
|
801
931
|
|
|
932
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
933
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
934
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
935
|
+
|
|
936
|
+
return {
|
|
937
|
+
url: toPathString(localVarUrlObj),
|
|
938
|
+
options: localVarRequestOptions,
|
|
939
|
+
};
|
|
940
|
+
},
|
|
941
|
+
/**
|
|
942
|
+
* Lists the auth tokens for the project
|
|
943
|
+
* @summary List auth tokens
|
|
944
|
+
* @param {string} project Projects unique identifier
|
|
945
|
+
* @param {*} [options] Override http request option.
|
|
946
|
+
* @throws {RequiredError}
|
|
947
|
+
*/
|
|
948
|
+
getAuth: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
949
|
+
// verify required parameter 'project' is not null or undefined
|
|
950
|
+
assertParamExists('getAuth', 'project', project)
|
|
951
|
+
const localVarPath = `/v1/projects/{project}/auth`
|
|
952
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
953
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
954
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
955
|
+
let baseOptions;
|
|
956
|
+
if (configuration) {
|
|
957
|
+
baseOptions = configuration.baseOptions;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
961
|
+
const localVarHeaderParameter = {} as any;
|
|
962
|
+
const localVarQueryParameter = {} as any;
|
|
963
|
+
|
|
964
|
+
// authentication session-oauth required
|
|
965
|
+
// oauth required
|
|
966
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
967
|
+
|
|
968
|
+
// authentication api-key required
|
|
969
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
|
|
802
973
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
803
974
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
804
975
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1481,6 +1652,19 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1481
1652
|
export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
1482
1653
|
const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration)
|
|
1483
1654
|
return {
|
|
1655
|
+
/**
|
|
1656
|
+
* Create an auth token for the project
|
|
1657
|
+
* @summary Create auth token
|
|
1658
|
+
* @param {string} project Projects unique identifier
|
|
1659
|
+
* @param {*} [options] Override http request option.
|
|
1660
|
+
* @throws {RequiredError}
|
|
1661
|
+
*/
|
|
1662
|
+
async createAuth(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Auth>> {
|
|
1663
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAuth(project, options);
|
|
1664
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1665
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createAuth']?.[localVarOperationServerIndex]?.url;
|
|
1666
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1667
|
+
},
|
|
1484
1668
|
/**
|
|
1485
1669
|
* Creates an invite for the project
|
|
1486
1670
|
* @summary Creates an invite
|
|
@@ -1508,6 +1692,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1508
1692
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createProject']?.[localVarOperationServerIndex]?.url;
|
|
1509
1693
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1510
1694
|
},
|
|
1695
|
+
/**
|
|
1696
|
+
* Delete an auth token for the project
|
|
1697
|
+
* @summary Delete auth token
|
|
1698
|
+
* @param {string} project Projects unique identifier
|
|
1699
|
+
* @param {string} auth The unique id of the auth token
|
|
1700
|
+
* @param {*} [options] Override http request option.
|
|
1701
|
+
* @throws {RequiredError}
|
|
1702
|
+
*/
|
|
1703
|
+
async deleteAuth(project: string, auth: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1704
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAuth(project, auth, options);
|
|
1705
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1706
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteAuth']?.[localVarOperationServerIndex]?.url;
|
|
1707
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1708
|
+
},
|
|
1511
1709
|
/**
|
|
1512
1710
|
* Deletes an invite to the project
|
|
1513
1711
|
* @summary Deletes an invite
|
|
@@ -1549,6 +1747,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1549
1747
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteUser']?.[localVarOperationServerIndex]?.url;
|
|
1550
1748
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1551
1749
|
},
|
|
1750
|
+
/**
|
|
1751
|
+
* Lists the auth tokens for the project
|
|
1752
|
+
* @summary List auth tokens
|
|
1753
|
+
* @param {string} project Projects unique identifier
|
|
1754
|
+
* @param {*} [options] Override http request option.
|
|
1755
|
+
* @throws {RequiredError}
|
|
1756
|
+
*/
|
|
1757
|
+
async getAuth(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResponse>> {
|
|
1758
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAuth(project, options);
|
|
1759
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1760
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getAuth']?.[localVarOperationServerIndex]?.url;
|
|
1761
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1762
|
+
},
|
|
1552
1763
|
/**
|
|
1553
1764
|
* Get an integration
|
|
1554
1765
|
* @summary Get integration
|
|
@@ -1759,6 +1970,16 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1759
1970
|
export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1760
1971
|
const localVarFp = ProjectsApiFp(configuration)
|
|
1761
1972
|
return {
|
|
1973
|
+
/**
|
|
1974
|
+
* Create an auth token for the project
|
|
1975
|
+
* @summary Create auth token
|
|
1976
|
+
* @param {ProjectsApiCreateAuthRequest} requestParameters Request parameters.
|
|
1977
|
+
* @param {*} [options] Override http request option.
|
|
1978
|
+
* @throws {RequiredError}
|
|
1979
|
+
*/
|
|
1980
|
+
createAuth(requestParameters: ProjectsApiCreateAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<Auth> {
|
|
1981
|
+
return localVarFp.createAuth(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1982
|
+
},
|
|
1762
1983
|
/**
|
|
1763
1984
|
* Creates an invite for the project
|
|
1764
1985
|
* @summary Creates an invite
|
|
@@ -1779,6 +2000,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1779
2000
|
createProject(requestParameters: ProjectsApiCreateProjectRequest, options?: RawAxiosRequestConfig): AxiosPromise<Project> {
|
|
1780
2001
|
return localVarFp.createProject(requestParameters.createProjectRequest, options).then((request) => request(axios, basePath));
|
|
1781
2002
|
},
|
|
2003
|
+
/**
|
|
2004
|
+
* Delete an auth token for the project
|
|
2005
|
+
* @summary Delete auth token
|
|
2006
|
+
* @param {ProjectsApiDeleteAuthRequest} requestParameters Request parameters.
|
|
2007
|
+
* @param {*} [options] Override http request option.
|
|
2008
|
+
* @throws {RequiredError}
|
|
2009
|
+
*/
|
|
2010
|
+
deleteAuth(requestParameters: ProjectsApiDeleteAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2011
|
+
return localVarFp.deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(axios, basePath));
|
|
2012
|
+
},
|
|
1782
2013
|
/**
|
|
1783
2014
|
* Deletes an invite to the project
|
|
1784
2015
|
* @summary Deletes an invite
|
|
@@ -1809,6 +2040,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1809
2040
|
deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1810
2041
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1811
2042
|
},
|
|
2043
|
+
/**
|
|
2044
|
+
* Lists the auth tokens for the project
|
|
2045
|
+
* @summary List auth tokens
|
|
2046
|
+
* @param {ProjectsApiGetAuthRequest} requestParameters Request parameters.
|
|
2047
|
+
* @param {*} [options] Override http request option.
|
|
2048
|
+
* @throws {RequiredError}
|
|
2049
|
+
*/
|
|
2050
|
+
getAuth(requestParameters: ProjectsApiGetAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResponse> {
|
|
2051
|
+
return localVarFp.getAuth(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2052
|
+
},
|
|
1812
2053
|
/**
|
|
1813
2054
|
* Get an integration
|
|
1814
2055
|
* @summary Get integration
|
|
@@ -1952,6 +2193,20 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1952
2193
|
};
|
|
1953
2194
|
};
|
|
1954
2195
|
|
|
2196
|
+
/**
|
|
2197
|
+
* Request parameters for createAuth operation in ProjectsApi.
|
|
2198
|
+
* @export
|
|
2199
|
+
* @interface ProjectsApiCreateAuthRequest
|
|
2200
|
+
*/
|
|
2201
|
+
export interface ProjectsApiCreateAuthRequest {
|
|
2202
|
+
/**
|
|
2203
|
+
* Projects unique identifier
|
|
2204
|
+
* @type {string}
|
|
2205
|
+
* @memberof ProjectsApiCreateAuth
|
|
2206
|
+
*/
|
|
2207
|
+
readonly project: string
|
|
2208
|
+
}
|
|
2209
|
+
|
|
1955
2210
|
/**
|
|
1956
2211
|
* Request parameters for createInvite operation in ProjectsApi.
|
|
1957
2212
|
* @export
|
|
@@ -1987,6 +2242,27 @@ export interface ProjectsApiCreateProjectRequest {
|
|
|
1987
2242
|
readonly createProjectRequest: CreateProjectRequest
|
|
1988
2243
|
}
|
|
1989
2244
|
|
|
2245
|
+
/**
|
|
2246
|
+
* Request parameters for deleteAuth operation in ProjectsApi.
|
|
2247
|
+
* @export
|
|
2248
|
+
* @interface ProjectsApiDeleteAuthRequest
|
|
2249
|
+
*/
|
|
2250
|
+
export interface ProjectsApiDeleteAuthRequest {
|
|
2251
|
+
/**
|
|
2252
|
+
* Projects unique identifier
|
|
2253
|
+
* @type {string}
|
|
2254
|
+
* @memberof ProjectsApiDeleteAuth
|
|
2255
|
+
*/
|
|
2256
|
+
readonly project: string
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* The unique id of the auth token
|
|
2260
|
+
* @type {string}
|
|
2261
|
+
* @memberof ProjectsApiDeleteAuth
|
|
2262
|
+
*/
|
|
2263
|
+
readonly auth: string
|
|
2264
|
+
}
|
|
2265
|
+
|
|
1990
2266
|
/**
|
|
1991
2267
|
* Request parameters for deleteInvite operation in ProjectsApi.
|
|
1992
2268
|
* @export
|
|
@@ -2043,6 +2319,20 @@ export interface ProjectsApiDeleteUserRequest {
|
|
|
2043
2319
|
readonly user: string
|
|
2044
2320
|
}
|
|
2045
2321
|
|
|
2322
|
+
/**
|
|
2323
|
+
* Request parameters for getAuth operation in ProjectsApi.
|
|
2324
|
+
* @export
|
|
2325
|
+
* @interface ProjectsApiGetAuthRequest
|
|
2326
|
+
*/
|
|
2327
|
+
export interface ProjectsApiGetAuthRequest {
|
|
2328
|
+
/**
|
|
2329
|
+
* Projects unique identifier
|
|
2330
|
+
* @type {string}
|
|
2331
|
+
* @memberof ProjectsApiGetAuth
|
|
2332
|
+
*/
|
|
2333
|
+
readonly project: string
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2046
2336
|
/**
|
|
2047
2337
|
* Request parameters for getIntegration operation in ProjectsApi.
|
|
2048
2338
|
* @export
|
|
@@ -2372,6 +2662,18 @@ export interface ProjectsApiUpdateProjectRequest {
|
|
|
2372
2662
|
* @extends {BaseAPI}
|
|
2373
2663
|
*/
|
|
2374
2664
|
export class ProjectsApi extends BaseAPI {
|
|
2665
|
+
/**
|
|
2666
|
+
* Create an auth token for the project
|
|
2667
|
+
* @summary Create auth token
|
|
2668
|
+
* @param {ProjectsApiCreateAuthRequest} requestParameters Request parameters.
|
|
2669
|
+
* @param {*} [options] Override http request option.
|
|
2670
|
+
* @throws {RequiredError}
|
|
2671
|
+
* @memberof ProjectsApi
|
|
2672
|
+
*/
|
|
2673
|
+
public createAuth(requestParameters: ProjectsApiCreateAuthRequest, options?: RawAxiosRequestConfig) {
|
|
2674
|
+
return ProjectsApiFp(this.configuration).createAuth(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2375
2677
|
/**
|
|
2376
2678
|
* Creates an invite for the project
|
|
2377
2679
|
* @summary Creates an invite
|
|
@@ -2396,6 +2698,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2396
2698
|
return ProjectsApiFp(this.configuration).createProject(requestParameters.createProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2397
2699
|
}
|
|
2398
2700
|
|
|
2701
|
+
/**
|
|
2702
|
+
* Delete an auth token for the project
|
|
2703
|
+
* @summary Delete auth token
|
|
2704
|
+
* @param {ProjectsApiDeleteAuthRequest} requestParameters Request parameters.
|
|
2705
|
+
* @param {*} [options] Override http request option.
|
|
2706
|
+
* @throws {RequiredError}
|
|
2707
|
+
* @memberof ProjectsApi
|
|
2708
|
+
*/
|
|
2709
|
+
public deleteAuth(requestParameters: ProjectsApiDeleteAuthRequest, options?: RawAxiosRequestConfig) {
|
|
2710
|
+
return ProjectsApiFp(this.configuration).deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(this.axios, this.basePath));
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2399
2713
|
/**
|
|
2400
2714
|
* Deletes an invite to the project
|
|
2401
2715
|
* @summary Deletes an invite
|
|
@@ -2432,6 +2746,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2432
2746
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
2433
2747
|
}
|
|
2434
2748
|
|
|
2749
|
+
/**
|
|
2750
|
+
* Lists the auth tokens for the project
|
|
2751
|
+
* @summary List auth tokens
|
|
2752
|
+
* @param {ProjectsApiGetAuthRequest} requestParameters Request parameters.
|
|
2753
|
+
* @param {*} [options] Override http request option.
|
|
2754
|
+
* @throws {RequiredError}
|
|
2755
|
+
* @memberof ProjectsApi
|
|
2756
|
+
*/
|
|
2757
|
+
public getAuth(requestParameters: ProjectsApiGetAuthRequest, options?: RawAxiosRequestConfig) {
|
|
2758
|
+
return ProjectsApiFp(this.configuration).getAuth(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2435
2761
|
/**
|
|
2436
2762
|
* Get an integration
|
|
2437
2763
|
* @summary Get integration
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.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
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.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
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|