@teemill/projects 1.23.1 → 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 +356 -8
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +212 -5
- package/dist/api.js +233 -8
- 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 +212 -5
- package/dist/esm/api.js +233 -8
- 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};
|
|
@@ -999,10 +1170,11 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
999
1170
|
/**
|
|
1000
1171
|
* List all projects available
|
|
1001
1172
|
* @summary List projects
|
|
1173
|
+
* @param {string} [project] What project it is
|
|
1002
1174
|
* @param {*} [options] Override http request option.
|
|
1003
1175
|
* @throws {RequiredError}
|
|
1004
1176
|
*/
|
|
1005
|
-
getProjects: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1177
|
+
getProjects: async (project?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1006
1178
|
const localVarPath = `/v1/projects`;
|
|
1007
1179
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1008
1180
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1022,6 +1194,10 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1022
1194
|
// authentication api-key required
|
|
1023
1195
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1024
1196
|
|
|
1197
|
+
if (project !== undefined) {
|
|
1198
|
+
localVarQueryParameter['project'] = project;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1025
1201
|
|
|
1026
1202
|
|
|
1027
1203
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1476,6 +1652,19 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1476
1652
|
export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
1477
1653
|
const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration)
|
|
1478
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
|
+
},
|
|
1479
1668
|
/**
|
|
1480
1669
|
* Creates an invite for the project
|
|
1481
1670
|
* @summary Creates an invite
|
|
@@ -1503,6 +1692,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1503
1692
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createProject']?.[localVarOperationServerIndex]?.url;
|
|
1504
1693
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1505
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
|
+
},
|
|
1506
1709
|
/**
|
|
1507
1710
|
* Deletes an invite to the project
|
|
1508
1711
|
* @summary Deletes an invite
|
|
@@ -1544,6 +1747,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1544
1747
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteUser']?.[localVarOperationServerIndex]?.url;
|
|
1545
1748
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1546
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
|
+
},
|
|
1547
1763
|
/**
|
|
1548
1764
|
* Get an integration
|
|
1549
1765
|
* @summary Get integration
|
|
@@ -1604,11 +1820,12 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1604
1820
|
/**
|
|
1605
1821
|
* List all projects available
|
|
1606
1822
|
* @summary List projects
|
|
1823
|
+
* @param {string} [project] What project it is
|
|
1607
1824
|
* @param {*} [options] Override http request option.
|
|
1608
1825
|
* @throws {RequiredError}
|
|
1609
1826
|
*/
|
|
1610
|
-
async getProjects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>> {
|
|
1611
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjects(options);
|
|
1827
|
+
async getProjects(project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>> {
|
|
1828
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjects(project, options);
|
|
1612
1829
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1613
1830
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getProjects']?.[localVarOperationServerIndex]?.url;
|
|
1614
1831
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1753,6 +1970,16 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1753
1970
|
export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1754
1971
|
const localVarFp = ProjectsApiFp(configuration)
|
|
1755
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
|
+
},
|
|
1756
1983
|
/**
|
|
1757
1984
|
* Creates an invite for the project
|
|
1758
1985
|
* @summary Creates an invite
|
|
@@ -1773,6 +2000,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1773
2000
|
createProject(requestParameters: ProjectsApiCreateProjectRequest, options?: RawAxiosRequestConfig): AxiosPromise<Project> {
|
|
1774
2001
|
return localVarFp.createProject(requestParameters.createProjectRequest, options).then((request) => request(axios, basePath));
|
|
1775
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
|
+
},
|
|
1776
2013
|
/**
|
|
1777
2014
|
* Deletes an invite to the project
|
|
1778
2015
|
* @summary Deletes an invite
|
|
@@ -1803,6 +2040,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1803
2040
|
deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1804
2041
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1805
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
|
+
},
|
|
1806
2053
|
/**
|
|
1807
2054
|
* Get an integration
|
|
1808
2055
|
* @summary Get integration
|
|
@@ -1846,11 +2093,12 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1846
2093
|
/**
|
|
1847
2094
|
* List all projects available
|
|
1848
2095
|
* @summary List projects
|
|
2096
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1849
2097
|
* @param {*} [options] Override http request option.
|
|
1850
2098
|
* @throws {RequiredError}
|
|
1851
2099
|
*/
|
|
1852
|
-
getProjects(options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse> {
|
|
1853
|
-
return localVarFp.getProjects(options).then((request) => request(axios, basePath));
|
|
2100
|
+
getProjects(requestParameters: ProjectsApiGetProjectsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse> {
|
|
2101
|
+
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1854
2102
|
},
|
|
1855
2103
|
/**
|
|
1856
2104
|
* List all templates available
|
|
@@ -1945,6 +2193,20 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1945
2193
|
};
|
|
1946
2194
|
};
|
|
1947
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
|
+
|
|
1948
2210
|
/**
|
|
1949
2211
|
* Request parameters for createInvite operation in ProjectsApi.
|
|
1950
2212
|
* @export
|
|
@@ -1980,6 +2242,27 @@ export interface ProjectsApiCreateProjectRequest {
|
|
|
1980
2242
|
readonly createProjectRequest: CreateProjectRequest
|
|
1981
2243
|
}
|
|
1982
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
|
+
|
|
1983
2266
|
/**
|
|
1984
2267
|
* Request parameters for deleteInvite operation in ProjectsApi.
|
|
1985
2268
|
* @export
|
|
@@ -2036,6 +2319,20 @@ export interface ProjectsApiDeleteUserRequest {
|
|
|
2036
2319
|
readonly user: string
|
|
2037
2320
|
}
|
|
2038
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
|
+
|
|
2039
2336
|
/**
|
|
2040
2337
|
* Request parameters for getIntegration operation in ProjectsApi.
|
|
2041
2338
|
* @export
|
|
@@ -2127,6 +2424,20 @@ export interface ProjectsApiGetProjectRequest {
|
|
|
2127
2424
|
readonly project: string
|
|
2128
2425
|
}
|
|
2129
2426
|
|
|
2427
|
+
/**
|
|
2428
|
+
* Request parameters for getProjects operation in ProjectsApi.
|
|
2429
|
+
* @export
|
|
2430
|
+
* @interface ProjectsApiGetProjectsRequest
|
|
2431
|
+
*/
|
|
2432
|
+
export interface ProjectsApiGetProjectsRequest {
|
|
2433
|
+
/**
|
|
2434
|
+
* What project it is
|
|
2435
|
+
* @type {string}
|
|
2436
|
+
* @memberof ProjectsApiGetProjects
|
|
2437
|
+
*/
|
|
2438
|
+
readonly project?: string
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2130
2441
|
/**
|
|
2131
2442
|
* Request parameters for getTemplates operation in ProjectsApi.
|
|
2132
2443
|
* @export
|
|
@@ -2351,6 +2662,18 @@ export interface ProjectsApiUpdateProjectRequest {
|
|
|
2351
2662
|
* @extends {BaseAPI}
|
|
2352
2663
|
*/
|
|
2353
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
|
+
|
|
2354
2677
|
/**
|
|
2355
2678
|
* Creates an invite for the project
|
|
2356
2679
|
* @summary Creates an invite
|
|
@@ -2375,6 +2698,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2375
2698
|
return ProjectsApiFp(this.configuration).createProject(requestParameters.createProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2376
2699
|
}
|
|
2377
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
|
+
|
|
2378
2713
|
/**
|
|
2379
2714
|
* Deletes an invite to the project
|
|
2380
2715
|
* @summary Deletes an invite
|
|
@@ -2411,6 +2746,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2411
2746
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
2412
2747
|
}
|
|
2413
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
|
+
|
|
2414
2761
|
/**
|
|
2415
2762
|
* Get an integration
|
|
2416
2763
|
* @summary Get integration
|
|
@@ -2462,12 +2809,13 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2462
2809
|
/**
|
|
2463
2810
|
* List all projects available
|
|
2464
2811
|
* @summary List projects
|
|
2812
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
2465
2813
|
* @param {*} [options] Override http request option.
|
|
2466
2814
|
* @throws {RequiredError}
|
|
2467
2815
|
* @memberof ProjectsApi
|
|
2468
2816
|
*/
|
|
2469
|
-
public getProjects(options?: RawAxiosRequestConfig) {
|
|
2470
|
-
return ProjectsApiFp(this.configuration).getProjects(options).then((request) => request(this.axios, this.basePath));
|
|
2817
|
+
public getProjects(requestParameters: ProjectsApiGetProjectsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
2818
|
+
return ProjectsApiFp(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2471
2819
|
}
|
|
2472
2820
|
|
|
2473
2821
|
/**
|
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).
|