@teemill/projects 1.25.0 → 1.27.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 +552 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +359 -1
- package/dist/api.js +307 -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 +359 -1
- package/dist/esm/api.js +307 -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/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage PodOS Projects
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.27.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -80,6 +80,120 @@ export interface AuthResponse {
|
|
|
80
80
|
*/
|
|
81
81
|
'auth'?: Array<Auth>;
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @export
|
|
86
|
+
* @interface Bookmark
|
|
87
|
+
*/
|
|
88
|
+
export interface Bookmark {
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof Bookmark
|
|
93
|
+
*/
|
|
94
|
+
'id': string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof Bookmark
|
|
99
|
+
*/
|
|
100
|
+
'title': string | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {BookmarkData}
|
|
104
|
+
* @memberof Bookmark
|
|
105
|
+
*/
|
|
106
|
+
'data': BookmarkData;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @type BookmarkData
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export type BookmarkData = BookmarkRoute | BookmarkUrl;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @export
|
|
117
|
+
* @interface BookmarkRoute
|
|
118
|
+
*/
|
|
119
|
+
export interface BookmarkRoute {
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {BookmarkRouteRoute}
|
|
123
|
+
* @memberof BookmarkRoute
|
|
124
|
+
*/
|
|
125
|
+
'route': BookmarkRouteRoute;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @export
|
|
130
|
+
* @interface BookmarkRouteRoute
|
|
131
|
+
*/
|
|
132
|
+
export interface BookmarkRouteRoute {
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof BookmarkRouteRoute
|
|
137
|
+
*/
|
|
138
|
+
'name': string;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {{ [key: string]: any; }}
|
|
142
|
+
* @memberof BookmarkRouteRoute
|
|
143
|
+
*/
|
|
144
|
+
'params'?: { [key: string]: any; };
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {{ [key: string]: any; }}
|
|
148
|
+
* @memberof BookmarkRouteRoute
|
|
149
|
+
*/
|
|
150
|
+
'query'?: { [key: string]: any; };
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @export
|
|
155
|
+
* @interface BookmarkUrl
|
|
156
|
+
*/
|
|
157
|
+
export interface BookmarkUrl {
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof BookmarkUrl
|
|
162
|
+
*/
|
|
163
|
+
'url': string;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @export
|
|
168
|
+
* @interface Bookmarks
|
|
169
|
+
*/
|
|
170
|
+
export interface Bookmarks {
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @type {Array<Bookmark>}
|
|
174
|
+
* @memberof Bookmarks
|
|
175
|
+
*/
|
|
176
|
+
'bookmarks': Array<Bookmark>;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @export
|
|
181
|
+
* @interface CreateBookmarkRequest
|
|
182
|
+
*/
|
|
183
|
+
export interface CreateBookmarkRequest {
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof CreateBookmarkRequest
|
|
188
|
+
*/
|
|
189
|
+
'title'?: string;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {BookmarkData}
|
|
193
|
+
* @memberof CreateBookmarkRequest
|
|
194
|
+
*/
|
|
195
|
+
'data': BookmarkData;
|
|
196
|
+
}
|
|
83
197
|
/**
|
|
84
198
|
*
|
|
85
199
|
* @export
|
|
@@ -587,6 +701,12 @@ export interface Task {
|
|
|
587
701
|
* @memberof Task
|
|
588
702
|
*/
|
|
589
703
|
'sortOrder': number;
|
|
704
|
+
/**
|
|
705
|
+
* The code of the chat channel associated with the task
|
|
706
|
+
* @type {string}
|
|
707
|
+
* @memberof Task
|
|
708
|
+
*/
|
|
709
|
+
'chatChannel': string | null;
|
|
590
710
|
}
|
|
591
711
|
|
|
592
712
|
|
|
@@ -675,6 +795,25 @@ export interface TemplatesResponse {
|
|
|
675
795
|
*/
|
|
676
796
|
'templates': Array<Template>;
|
|
677
797
|
}
|
|
798
|
+
/**
|
|
799
|
+
*
|
|
800
|
+
* @export
|
|
801
|
+
* @interface UpdateBookmarkRequest
|
|
802
|
+
*/
|
|
803
|
+
export interface UpdateBookmarkRequest {
|
|
804
|
+
/**
|
|
805
|
+
*
|
|
806
|
+
* @type {string}
|
|
807
|
+
* @memberof UpdateBookmarkRequest
|
|
808
|
+
*/
|
|
809
|
+
'title'?: string;
|
|
810
|
+
/**
|
|
811
|
+
*
|
|
812
|
+
* @type {BookmarkData}
|
|
813
|
+
* @memberof UpdateBookmarkRequest
|
|
814
|
+
*/
|
|
815
|
+
'data'?: BookmarkData;
|
|
816
|
+
}
|
|
678
817
|
/**
|
|
679
818
|
*
|
|
680
819
|
* @export
|
|
@@ -782,6 +921,53 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
782
921
|
options: localVarRequestOptions,
|
|
783
922
|
};
|
|
784
923
|
},
|
|
924
|
+
/**
|
|
925
|
+
* Create a bookmark in the project
|
|
926
|
+
* @summary Create bookmark
|
|
927
|
+
* @param {string} project Projects unique identifier
|
|
928
|
+
* @param {CreateBookmarkRequest} createBookmarkRequest Create a new bookmark in the project
|
|
929
|
+
* @param {*} [options] Override http request option.
|
|
930
|
+
* @throws {RequiredError}
|
|
931
|
+
*/
|
|
932
|
+
createBookmark: async (project: string, createBookmarkRequest: CreateBookmarkRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
933
|
+
// verify required parameter 'project' is not null or undefined
|
|
934
|
+
assertParamExists('createBookmark', 'project', project)
|
|
935
|
+
// verify required parameter 'createBookmarkRequest' is not null or undefined
|
|
936
|
+
assertParamExists('createBookmark', 'createBookmarkRequest', createBookmarkRequest)
|
|
937
|
+
const localVarPath = `/v1/projects/{project}/bookmarks`
|
|
938
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
939
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
940
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
941
|
+
let baseOptions;
|
|
942
|
+
if (configuration) {
|
|
943
|
+
baseOptions = configuration.baseOptions;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
947
|
+
const localVarHeaderParameter = {} as any;
|
|
948
|
+
const localVarQueryParameter = {} as any;
|
|
949
|
+
|
|
950
|
+
// authentication session-oauth required
|
|
951
|
+
// oauth required
|
|
952
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
953
|
+
|
|
954
|
+
// authentication api-key required
|
|
955
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
960
|
+
|
|
961
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
962
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
963
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
964
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createBookmarkRequest, localVarRequestOptions, configuration)
|
|
965
|
+
|
|
966
|
+
return {
|
|
967
|
+
url: toPathString(localVarUrlObj),
|
|
968
|
+
options: localVarRequestOptions,
|
|
969
|
+
};
|
|
970
|
+
},
|
|
785
971
|
/**
|
|
786
972
|
* Creates an invite for the project
|
|
787
973
|
* @summary Creates an invite
|
|
@@ -953,6 +1139,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
953
1139
|
|
|
954
1140
|
|
|
955
1141
|
|
|
1142
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1143
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1144
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1145
|
+
|
|
1146
|
+
return {
|
|
1147
|
+
url: toPathString(localVarUrlObj),
|
|
1148
|
+
options: localVarRequestOptions,
|
|
1149
|
+
};
|
|
1150
|
+
},
|
|
1151
|
+
/**
|
|
1152
|
+
* Delete a bookmark in the project
|
|
1153
|
+
* @summary Delete bookmark
|
|
1154
|
+
* @param {string} project Projects unique identifier
|
|
1155
|
+
* @param {string} id The unique id of the bookmark
|
|
1156
|
+
* @param {*} [options] Override http request option.
|
|
1157
|
+
* @throws {RequiredError}
|
|
1158
|
+
*/
|
|
1159
|
+
deleteBookmark: async (project: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1160
|
+
// verify required parameter 'project' is not null or undefined
|
|
1161
|
+
assertParamExists('deleteBookmark', 'project', project)
|
|
1162
|
+
// verify required parameter 'id' is not null or undefined
|
|
1163
|
+
assertParamExists('deleteBookmark', 'id', id)
|
|
1164
|
+
const localVarPath = `/v1/projects/{project}/bookmarks/{id}`
|
|
1165
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1166
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1167
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1168
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1169
|
+
let baseOptions;
|
|
1170
|
+
if (configuration) {
|
|
1171
|
+
baseOptions = configuration.baseOptions;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
1175
|
+
const localVarHeaderParameter = {} as any;
|
|
1176
|
+
const localVarQueryParameter = {} as any;
|
|
1177
|
+
|
|
1178
|
+
// authentication session-oauth required
|
|
1179
|
+
// oauth required
|
|
1180
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1181
|
+
|
|
1182
|
+
// authentication api-key required
|
|
1183
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
|
|
956
1187
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
957
1188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
958
1189
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1648,6 +1879,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1648
1879
|
options: localVarRequestOptions,
|
|
1649
1880
|
};
|
|
1650
1881
|
},
|
|
1882
|
+
/**
|
|
1883
|
+
* List the bookmarks in the project
|
|
1884
|
+
* @summary List bookmarks
|
|
1885
|
+
* @param {string} project Projects unique identifier
|
|
1886
|
+
* @param {*} [options] Override http request option.
|
|
1887
|
+
* @throws {RequiredError}
|
|
1888
|
+
*/
|
|
1889
|
+
listBookmarks: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1890
|
+
// verify required parameter 'project' is not null or undefined
|
|
1891
|
+
assertParamExists('listBookmarks', 'project', project)
|
|
1892
|
+
const localVarPath = `/v1/projects/{project}/bookmarks`
|
|
1893
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
1894
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1895
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1896
|
+
let baseOptions;
|
|
1897
|
+
if (configuration) {
|
|
1898
|
+
baseOptions = configuration.baseOptions;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1902
|
+
const localVarHeaderParameter = {} as any;
|
|
1903
|
+
const localVarQueryParameter = {} as any;
|
|
1904
|
+
|
|
1905
|
+
// authentication session-oauth required
|
|
1906
|
+
// oauth required
|
|
1907
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1908
|
+
|
|
1909
|
+
// authentication api-key required
|
|
1910
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1911
|
+
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1915
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1916
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1917
|
+
|
|
1918
|
+
return {
|
|
1919
|
+
url: toPathString(localVarUrlObj),
|
|
1920
|
+
options: localVarRequestOptions,
|
|
1921
|
+
};
|
|
1922
|
+
},
|
|
1651
1923
|
/**
|
|
1652
1924
|
* List the tasks in the workflow
|
|
1653
1925
|
* @summary List Tasks
|
|
@@ -1785,6 +2057,57 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1785
2057
|
options: localVarRequestOptions,
|
|
1786
2058
|
};
|
|
1787
2059
|
},
|
|
2060
|
+
/**
|
|
2061
|
+
* Update a bookmark in the project
|
|
2062
|
+
* @summary Update bookmark
|
|
2063
|
+
* @param {string} project Projects unique identifier
|
|
2064
|
+
* @param {string} id The unique id of the bookmark
|
|
2065
|
+
* @param {UpdateBookmarkRequest} updateBookmarkRequest Update a bookmark in the project
|
|
2066
|
+
* @param {*} [options] Override http request option.
|
|
2067
|
+
* @throws {RequiredError}
|
|
2068
|
+
*/
|
|
2069
|
+
updateBookmark: async (project: string, id: string, updateBookmarkRequest: UpdateBookmarkRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2070
|
+
// verify required parameter 'project' is not null or undefined
|
|
2071
|
+
assertParamExists('updateBookmark', 'project', project)
|
|
2072
|
+
// verify required parameter 'id' is not null or undefined
|
|
2073
|
+
assertParamExists('updateBookmark', 'id', id)
|
|
2074
|
+
// verify required parameter 'updateBookmarkRequest' is not null or undefined
|
|
2075
|
+
assertParamExists('updateBookmark', 'updateBookmarkRequest', updateBookmarkRequest)
|
|
2076
|
+
const localVarPath = `/v1/projects/{project}/bookmarks/{id}`
|
|
2077
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
2078
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2079
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2080
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2081
|
+
let baseOptions;
|
|
2082
|
+
if (configuration) {
|
|
2083
|
+
baseOptions = configuration.baseOptions;
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
2087
|
+
const localVarHeaderParameter = {} as any;
|
|
2088
|
+
const localVarQueryParameter = {} as any;
|
|
2089
|
+
|
|
2090
|
+
// authentication session-oauth required
|
|
2091
|
+
// oauth required
|
|
2092
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2093
|
+
|
|
2094
|
+
// authentication api-key required
|
|
2095
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2096
|
+
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2100
|
+
|
|
2101
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2102
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2103
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2104
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateBookmarkRequest, localVarRequestOptions, configuration)
|
|
2105
|
+
|
|
2106
|
+
return {
|
|
2107
|
+
url: toPathString(localVarUrlObj),
|
|
2108
|
+
options: localVarRequestOptions,
|
|
2109
|
+
};
|
|
2110
|
+
},
|
|
1788
2111
|
/**
|
|
1789
2112
|
* Update an integration on the project
|
|
1790
2113
|
* @summary Update integration
|
|
@@ -1955,6 +2278,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1955
2278
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createAuth']?.[localVarOperationServerIndex]?.url;
|
|
1956
2279
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1957
2280
|
},
|
|
2281
|
+
/**
|
|
2282
|
+
* Create a bookmark in the project
|
|
2283
|
+
* @summary Create bookmark
|
|
2284
|
+
* @param {string} project Projects unique identifier
|
|
2285
|
+
* @param {CreateBookmarkRequest} createBookmarkRequest Create a new bookmark in the project
|
|
2286
|
+
* @param {*} [options] Override http request option.
|
|
2287
|
+
* @throws {RequiredError}
|
|
2288
|
+
*/
|
|
2289
|
+
async createBookmark(project: string, createBookmarkRequest: CreateBookmarkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Bookmark>> {
|
|
2290
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createBookmark(project, createBookmarkRequest, options);
|
|
2291
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2292
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createBookmark']?.[localVarOperationServerIndex]?.url;
|
|
2293
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2294
|
+
},
|
|
1958
2295
|
/**
|
|
1959
2296
|
* Creates an invite for the project
|
|
1960
2297
|
* @summary Creates an invite
|
|
@@ -2010,6 +2347,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2010
2347
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteAuth']?.[localVarOperationServerIndex]?.url;
|
|
2011
2348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2012
2349
|
},
|
|
2350
|
+
/**
|
|
2351
|
+
* Delete a bookmark in the project
|
|
2352
|
+
* @summary Delete bookmark
|
|
2353
|
+
* @param {string} project Projects unique identifier
|
|
2354
|
+
* @param {string} id The unique id of the bookmark
|
|
2355
|
+
* @param {*} [options] Override http request option.
|
|
2356
|
+
* @throws {RequiredError}
|
|
2357
|
+
*/
|
|
2358
|
+
async deleteBookmark(project: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2359
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBookmark(project, id, options);
|
|
2360
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2361
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteBookmark']?.[localVarOperationServerIndex]?.url;
|
|
2362
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2363
|
+
},
|
|
2013
2364
|
/**
|
|
2014
2365
|
* Deletes an invite to the project
|
|
2015
2366
|
* @summary Deletes an invite
|
|
@@ -2220,6 +2571,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2220
2571
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.installTemplate']?.[localVarOperationServerIndex]?.url;
|
|
2221
2572
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2222
2573
|
},
|
|
2574
|
+
/**
|
|
2575
|
+
* List the bookmarks in the project
|
|
2576
|
+
* @summary List bookmarks
|
|
2577
|
+
* @param {string} project Projects unique identifier
|
|
2578
|
+
* @param {*} [options] Override http request option.
|
|
2579
|
+
* @throws {RequiredError}
|
|
2580
|
+
*/
|
|
2581
|
+
async listBookmarks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Bookmarks>> {
|
|
2582
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBookmarks(project, options);
|
|
2583
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2584
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listBookmarks']?.[localVarOperationServerIndex]?.url;
|
|
2585
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2586
|
+
},
|
|
2223
2587
|
/**
|
|
2224
2588
|
* List the tasks in the workflow
|
|
2225
2589
|
* @summary List Tasks
|
|
@@ -2262,6 +2626,21 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2262
2626
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.uninstallIntegration']?.[localVarOperationServerIndex]?.url;
|
|
2263
2627
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2264
2628
|
},
|
|
2629
|
+
/**
|
|
2630
|
+
* Update a bookmark in the project
|
|
2631
|
+
* @summary Update bookmark
|
|
2632
|
+
* @param {string} project Projects unique identifier
|
|
2633
|
+
* @param {string} id The unique id of the bookmark
|
|
2634
|
+
* @param {UpdateBookmarkRequest} updateBookmarkRequest Update a bookmark in the project
|
|
2635
|
+
* @param {*} [options] Override http request option.
|
|
2636
|
+
* @throws {RequiredError}
|
|
2637
|
+
*/
|
|
2638
|
+
async updateBookmark(project: string, id: string, updateBookmarkRequest: UpdateBookmarkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Bookmark>> {
|
|
2639
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBookmark(project, id, updateBookmarkRequest, options);
|
|
2640
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2641
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateBookmark']?.[localVarOperationServerIndex]?.url;
|
|
2642
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2643
|
+
},
|
|
2265
2644
|
/**
|
|
2266
2645
|
* Update an integration on the project
|
|
2267
2646
|
* @summary Update integration
|
|
@@ -2326,6 +2705,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2326
2705
|
createAuth(requestParameters: ProjectsApiCreateAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<Auth> {
|
|
2327
2706
|
return localVarFp.createAuth(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2328
2707
|
},
|
|
2708
|
+
/**
|
|
2709
|
+
* Create a bookmark in the project
|
|
2710
|
+
* @summary Create bookmark
|
|
2711
|
+
* @param {ProjectsApiCreateBookmarkRequest} requestParameters Request parameters.
|
|
2712
|
+
* @param {*} [options] Override http request option.
|
|
2713
|
+
* @throws {RequiredError}
|
|
2714
|
+
*/
|
|
2715
|
+
createBookmark(requestParameters: ProjectsApiCreateBookmarkRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmark> {
|
|
2716
|
+
return localVarFp.createBookmark(requestParameters.project, requestParameters.createBookmarkRequest, options).then((request) => request(axios, basePath));
|
|
2717
|
+
},
|
|
2329
2718
|
/**
|
|
2330
2719
|
* Creates an invite for the project
|
|
2331
2720
|
* @summary Creates an invite
|
|
@@ -2366,6 +2755,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2366
2755
|
deleteAuth(requestParameters: ProjectsApiDeleteAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2367
2756
|
return localVarFp.deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(axios, basePath));
|
|
2368
2757
|
},
|
|
2758
|
+
/**
|
|
2759
|
+
* Delete a bookmark in the project
|
|
2760
|
+
* @summary Delete bookmark
|
|
2761
|
+
* @param {ProjectsApiDeleteBookmarkRequest} requestParameters Request parameters.
|
|
2762
|
+
* @param {*} [options] Override http request option.
|
|
2763
|
+
* @throws {RequiredError}
|
|
2764
|
+
*/
|
|
2765
|
+
deleteBookmark(requestParameters: ProjectsApiDeleteBookmarkRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2766
|
+
return localVarFp.deleteBookmark(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2767
|
+
},
|
|
2369
2768
|
/**
|
|
2370
2769
|
* Deletes an invite to the project
|
|
2371
2770
|
* @summary Deletes an invite
|
|
@@ -2516,6 +2915,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2516
2915
|
installTemplate(requestParameters: ProjectsApiInstallTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationsResponse> {
|
|
2517
2916
|
return localVarFp.installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(axios, basePath));
|
|
2518
2917
|
},
|
|
2918
|
+
/**
|
|
2919
|
+
* List the bookmarks in the project
|
|
2920
|
+
* @summary List bookmarks
|
|
2921
|
+
* @param {ProjectsApiListBookmarksRequest} requestParameters Request parameters.
|
|
2922
|
+
* @param {*} [options] Override http request option.
|
|
2923
|
+
* @throws {RequiredError}
|
|
2924
|
+
*/
|
|
2925
|
+
listBookmarks(requestParameters: ProjectsApiListBookmarksRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmarks> {
|
|
2926
|
+
return localVarFp.listBookmarks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2927
|
+
},
|
|
2519
2928
|
/**
|
|
2520
2929
|
* List the tasks in the workflow
|
|
2521
2930
|
* @summary List Tasks
|
|
@@ -2546,6 +2955,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2546
2955
|
uninstallIntegration(requestParameters: ProjectsApiUninstallIntegrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2547
2956
|
return localVarFp.uninstallIntegration(requestParameters.project, requestParameters.integration, options).then((request) => request(axios, basePath));
|
|
2548
2957
|
},
|
|
2958
|
+
/**
|
|
2959
|
+
* Update a bookmark in the project
|
|
2960
|
+
* @summary Update bookmark
|
|
2961
|
+
* @param {ProjectsApiUpdateBookmarkRequest} requestParameters Request parameters.
|
|
2962
|
+
* @param {*} [options] Override http request option.
|
|
2963
|
+
* @throws {RequiredError}
|
|
2964
|
+
*/
|
|
2965
|
+
updateBookmark(requestParameters: ProjectsApiUpdateBookmarkRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmark> {
|
|
2966
|
+
return localVarFp.updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(axios, basePath));
|
|
2967
|
+
},
|
|
2549
2968
|
/**
|
|
2550
2969
|
* Update an integration on the project
|
|
2551
2970
|
* @summary Update integration
|
|
@@ -2593,6 +3012,27 @@ export interface ProjectsApiCreateAuthRequest {
|
|
|
2593
3012
|
readonly project: string
|
|
2594
3013
|
}
|
|
2595
3014
|
|
|
3015
|
+
/**
|
|
3016
|
+
* Request parameters for createBookmark operation in ProjectsApi.
|
|
3017
|
+
* @export
|
|
3018
|
+
* @interface ProjectsApiCreateBookmarkRequest
|
|
3019
|
+
*/
|
|
3020
|
+
export interface ProjectsApiCreateBookmarkRequest {
|
|
3021
|
+
/**
|
|
3022
|
+
* Projects unique identifier
|
|
3023
|
+
* @type {string}
|
|
3024
|
+
* @memberof ProjectsApiCreateBookmark
|
|
3025
|
+
*/
|
|
3026
|
+
readonly project: string
|
|
3027
|
+
|
|
3028
|
+
/**
|
|
3029
|
+
* Create a new bookmark in the project
|
|
3030
|
+
* @type {CreateBookmarkRequest}
|
|
3031
|
+
* @memberof ProjectsApiCreateBookmark
|
|
3032
|
+
*/
|
|
3033
|
+
readonly createBookmarkRequest: CreateBookmarkRequest
|
|
3034
|
+
}
|
|
3035
|
+
|
|
2596
3036
|
/**
|
|
2597
3037
|
* Request parameters for createInvite operation in ProjectsApi.
|
|
2598
3038
|
* @export
|
|
@@ -2670,6 +3110,27 @@ export interface ProjectsApiDeleteAuthRequest {
|
|
|
2670
3110
|
readonly auth: string
|
|
2671
3111
|
}
|
|
2672
3112
|
|
|
3113
|
+
/**
|
|
3114
|
+
* Request parameters for deleteBookmark operation in ProjectsApi.
|
|
3115
|
+
* @export
|
|
3116
|
+
* @interface ProjectsApiDeleteBookmarkRequest
|
|
3117
|
+
*/
|
|
3118
|
+
export interface ProjectsApiDeleteBookmarkRequest {
|
|
3119
|
+
/**
|
|
3120
|
+
* Projects unique identifier
|
|
3121
|
+
* @type {string}
|
|
3122
|
+
* @memberof ProjectsApiDeleteBookmark
|
|
3123
|
+
*/
|
|
3124
|
+
readonly project: string
|
|
3125
|
+
|
|
3126
|
+
/**
|
|
3127
|
+
* The unique id of the bookmark
|
|
3128
|
+
* @type {string}
|
|
3129
|
+
* @memberof ProjectsApiDeleteBookmark
|
|
3130
|
+
*/
|
|
3131
|
+
readonly id: string
|
|
3132
|
+
}
|
|
3133
|
+
|
|
2673
3134
|
/**
|
|
2674
3135
|
* Request parameters for deleteInvite operation in ProjectsApi.
|
|
2675
3136
|
* @export
|
|
@@ -2985,6 +3446,20 @@ export interface ProjectsApiInstallTemplateRequest {
|
|
|
2985
3446
|
readonly installTemplateRequest: InstallTemplateRequest
|
|
2986
3447
|
}
|
|
2987
3448
|
|
|
3449
|
+
/**
|
|
3450
|
+
* Request parameters for listBookmarks operation in ProjectsApi.
|
|
3451
|
+
* @export
|
|
3452
|
+
* @interface ProjectsApiListBookmarksRequest
|
|
3453
|
+
*/
|
|
3454
|
+
export interface ProjectsApiListBookmarksRequest {
|
|
3455
|
+
/**
|
|
3456
|
+
* Projects unique identifier
|
|
3457
|
+
* @type {string}
|
|
3458
|
+
* @memberof ProjectsApiListBookmarks
|
|
3459
|
+
*/
|
|
3460
|
+
readonly project: string
|
|
3461
|
+
}
|
|
3462
|
+
|
|
2988
3463
|
/**
|
|
2989
3464
|
* Request parameters for listTasks operation in ProjectsApi.
|
|
2990
3465
|
* @export
|
|
@@ -3048,6 +3523,34 @@ export interface ProjectsApiUninstallIntegrationRequest {
|
|
|
3048
3523
|
readonly integration: string
|
|
3049
3524
|
}
|
|
3050
3525
|
|
|
3526
|
+
/**
|
|
3527
|
+
* Request parameters for updateBookmark operation in ProjectsApi.
|
|
3528
|
+
* @export
|
|
3529
|
+
* @interface ProjectsApiUpdateBookmarkRequest
|
|
3530
|
+
*/
|
|
3531
|
+
export interface ProjectsApiUpdateBookmarkRequest {
|
|
3532
|
+
/**
|
|
3533
|
+
* Projects unique identifier
|
|
3534
|
+
* @type {string}
|
|
3535
|
+
* @memberof ProjectsApiUpdateBookmark
|
|
3536
|
+
*/
|
|
3537
|
+
readonly project: string
|
|
3538
|
+
|
|
3539
|
+
/**
|
|
3540
|
+
* The unique id of the bookmark
|
|
3541
|
+
* @type {string}
|
|
3542
|
+
* @memberof ProjectsApiUpdateBookmark
|
|
3543
|
+
*/
|
|
3544
|
+
readonly id: string
|
|
3545
|
+
|
|
3546
|
+
/**
|
|
3547
|
+
* Update a bookmark in the project
|
|
3548
|
+
* @type {UpdateBookmarkRequest}
|
|
3549
|
+
* @memberof ProjectsApiUpdateBookmark
|
|
3550
|
+
*/
|
|
3551
|
+
readonly updateBookmarkRequest: UpdateBookmarkRequest
|
|
3552
|
+
}
|
|
3553
|
+
|
|
3051
3554
|
/**
|
|
3052
3555
|
* Request parameters for updateIntegration operation in ProjectsApi.
|
|
3053
3556
|
* @export
|
|
@@ -3144,6 +3647,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
3144
3647
|
return ProjectsApiFp(this.configuration).createAuth(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
3145
3648
|
}
|
|
3146
3649
|
|
|
3650
|
+
/**
|
|
3651
|
+
* Create a bookmark in the project
|
|
3652
|
+
* @summary Create bookmark
|
|
3653
|
+
* @param {ProjectsApiCreateBookmarkRequest} requestParameters Request parameters.
|
|
3654
|
+
* @param {*} [options] Override http request option.
|
|
3655
|
+
* @throws {RequiredError}
|
|
3656
|
+
* @memberof ProjectsApi
|
|
3657
|
+
*/
|
|
3658
|
+
public createBookmark(requestParameters: ProjectsApiCreateBookmarkRequest, options?: RawAxiosRequestConfig) {
|
|
3659
|
+
return ProjectsApiFp(this.configuration).createBookmark(requestParameters.project, requestParameters.createBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3660
|
+
}
|
|
3661
|
+
|
|
3147
3662
|
/**
|
|
3148
3663
|
* Creates an invite for the project
|
|
3149
3664
|
* @summary Creates an invite
|
|
@@ -3192,6 +3707,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
3192
3707
|
return ProjectsApiFp(this.configuration).deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(this.axios, this.basePath));
|
|
3193
3708
|
}
|
|
3194
3709
|
|
|
3710
|
+
/**
|
|
3711
|
+
* Delete a bookmark in the project
|
|
3712
|
+
* @summary Delete bookmark
|
|
3713
|
+
* @param {ProjectsApiDeleteBookmarkRequest} requestParameters Request parameters.
|
|
3714
|
+
* @param {*} [options] Override http request option.
|
|
3715
|
+
* @throws {RequiredError}
|
|
3716
|
+
* @memberof ProjectsApi
|
|
3717
|
+
*/
|
|
3718
|
+
public deleteBookmark(requestParameters: ProjectsApiDeleteBookmarkRequest, options?: RawAxiosRequestConfig) {
|
|
3719
|
+
return ProjectsApiFp(this.configuration).deleteBookmark(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3195
3722
|
/**
|
|
3196
3723
|
* Deletes an invite to the project
|
|
3197
3724
|
* @summary Deletes an invite
|
|
@@ -3372,6 +3899,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
3372
3899
|
return ProjectsApiFp(this.configuration).installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3373
3900
|
}
|
|
3374
3901
|
|
|
3902
|
+
/**
|
|
3903
|
+
* List the bookmarks in the project
|
|
3904
|
+
* @summary List bookmarks
|
|
3905
|
+
* @param {ProjectsApiListBookmarksRequest} requestParameters Request parameters.
|
|
3906
|
+
* @param {*} [options] Override http request option.
|
|
3907
|
+
* @throws {RequiredError}
|
|
3908
|
+
* @memberof ProjectsApi
|
|
3909
|
+
*/
|
|
3910
|
+
public listBookmarks(requestParameters: ProjectsApiListBookmarksRequest, options?: RawAxiosRequestConfig) {
|
|
3911
|
+
return ProjectsApiFp(this.configuration).listBookmarks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3375
3914
|
/**
|
|
3376
3915
|
* List the tasks in the workflow
|
|
3377
3916
|
* @summary List Tasks
|
|
@@ -3408,6 +3947,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
3408
3947
|
return ProjectsApiFp(this.configuration).uninstallIntegration(requestParameters.project, requestParameters.integration, options).then((request) => request(this.axios, this.basePath));
|
|
3409
3948
|
}
|
|
3410
3949
|
|
|
3950
|
+
/**
|
|
3951
|
+
* Update a bookmark in the project
|
|
3952
|
+
* @summary Update bookmark
|
|
3953
|
+
* @param {ProjectsApiUpdateBookmarkRequest} requestParameters Request parameters.
|
|
3954
|
+
* @param {*} [options] Override http request option.
|
|
3955
|
+
* @throws {RequiredError}
|
|
3956
|
+
* @memberof ProjectsApi
|
|
3957
|
+
*/
|
|
3958
|
+
public updateBookmark(requestParameters: ProjectsApiUpdateBookmarkRequest, options?: RawAxiosRequestConfig) {
|
|
3959
|
+
return ProjectsApiFp(this.configuration).updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3960
|
+
}
|
|
3961
|
+
|
|
3411
3962
|
/**
|
|
3412
3963
|
* Update an integration on the project
|
|
3413
3964
|
* @summary Update integration
|