@teemill/projects 1.24.1 → 1.26.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 +1069 -6
- package/base.ts +3 -3
- package/common.ts +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +671 -3
- package/dist/api.js +623 -4
- package/dist/base.d.ts +3 -3
- package/dist/base.js +3 -3
- package/dist/common.d.ts +3 -3
- package/dist/common.js +3 -3
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +3 -3
- package/dist/esm/api.d.ts +671 -3
- package/dist/esm/api.js +622 -3
- package/dist/esm/base.d.ts +3 -3
- package/dist/esm/base.js +3 -3
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +3 -3
- package/dist/esm/configuration.d.ts +3 -3
- package/dist/esm/configuration.js +3 -3
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/index.ts +3 -3
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Projects API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Projects
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 1.26.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* 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
|
|
@@ -132,6 +246,27 @@ export interface CreateProjectRequest {
|
|
|
132
246
|
}
|
|
133
247
|
|
|
134
248
|
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @export
|
|
252
|
+
* @interface CreateTaskRequest
|
|
253
|
+
*/
|
|
254
|
+
export interface CreateTaskRequest {
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {string}
|
|
258
|
+
* @memberof CreateTaskRequest
|
|
259
|
+
*/
|
|
260
|
+
'content': string;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @type {TaskStatus}
|
|
264
|
+
* @memberof CreateTaskRequest
|
|
265
|
+
*/
|
|
266
|
+
'status': TaskStatus;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
|
|
135
270
|
/**
|
|
136
271
|
*
|
|
137
272
|
* @export
|
|
@@ -233,6 +368,19 @@ export interface LegacyProjectLogo {
|
|
|
233
368
|
*/
|
|
234
369
|
'backgroundColor': string;
|
|
235
370
|
}
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @export
|
|
374
|
+
* @interface ListTasksResponse
|
|
375
|
+
*/
|
|
376
|
+
export interface ListTasksResponse {
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @type {Array<Task>}
|
|
380
|
+
* @memberof ListTasksResponse
|
|
381
|
+
*/
|
|
382
|
+
'tasks': Array<Task>;
|
|
383
|
+
}
|
|
236
384
|
/**
|
|
237
385
|
*
|
|
238
386
|
* @export
|
|
@@ -523,6 +671,55 @@ export interface ProjectsResponse {
|
|
|
523
671
|
*/
|
|
524
672
|
'projects': Array<Project>;
|
|
525
673
|
}
|
|
674
|
+
/**
|
|
675
|
+
*
|
|
676
|
+
* @export
|
|
677
|
+
* @interface Task
|
|
678
|
+
*/
|
|
679
|
+
export interface Task {
|
|
680
|
+
/**
|
|
681
|
+
*
|
|
682
|
+
* @type {string}
|
|
683
|
+
* @memberof Task
|
|
684
|
+
*/
|
|
685
|
+
'id': string;
|
|
686
|
+
/**
|
|
687
|
+
*
|
|
688
|
+
* @type {string}
|
|
689
|
+
* @memberof Task
|
|
690
|
+
*/
|
|
691
|
+
'content': string;
|
|
692
|
+
/**
|
|
693
|
+
*
|
|
694
|
+
* @type {TaskStatus}
|
|
695
|
+
* @memberof Task
|
|
696
|
+
*/
|
|
697
|
+
'status': TaskStatus;
|
|
698
|
+
/**
|
|
699
|
+
* The position of the task in its status group
|
|
700
|
+
* @type {number}
|
|
701
|
+
* @memberof Task
|
|
702
|
+
*/
|
|
703
|
+
'sortOrder': number;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
*
|
|
709
|
+
* @export
|
|
710
|
+
* @enum {string}
|
|
711
|
+
*/
|
|
712
|
+
|
|
713
|
+
export const TaskStatus = {
|
|
714
|
+
Nice: 'nice',
|
|
715
|
+
Need: 'need',
|
|
716
|
+
Doing: 'doing',
|
|
717
|
+
Done: 'done'
|
|
718
|
+
} as const;
|
|
719
|
+
|
|
720
|
+
export type TaskStatus = typeof TaskStatus[keyof typeof TaskStatus];
|
|
721
|
+
|
|
722
|
+
|
|
526
723
|
/**
|
|
527
724
|
*
|
|
528
725
|
* @export
|
|
@@ -592,6 +789,25 @@ export interface TemplatesResponse {
|
|
|
592
789
|
*/
|
|
593
790
|
'templates': Array<Template>;
|
|
594
791
|
}
|
|
792
|
+
/**
|
|
793
|
+
*
|
|
794
|
+
* @export
|
|
795
|
+
* @interface UpdateBookmarkRequest
|
|
796
|
+
*/
|
|
797
|
+
export interface UpdateBookmarkRequest {
|
|
798
|
+
/**
|
|
799
|
+
*
|
|
800
|
+
* @type {string}
|
|
801
|
+
* @memberof UpdateBookmarkRequest
|
|
802
|
+
*/
|
|
803
|
+
'title'?: string;
|
|
804
|
+
/**
|
|
805
|
+
*
|
|
806
|
+
* @type {BookmarkData}
|
|
807
|
+
* @memberof UpdateBookmarkRequest
|
|
808
|
+
*/
|
|
809
|
+
'data'?: BookmarkData;
|
|
810
|
+
}
|
|
595
811
|
/**
|
|
596
812
|
*
|
|
597
813
|
* @export
|
|
@@ -624,6 +840,33 @@ export interface UpdateProjectRequest {
|
|
|
624
840
|
*/
|
|
625
841
|
'logos'?: Array<ProjectLogo>;
|
|
626
842
|
}
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @export
|
|
846
|
+
* @interface UpdateTaskRequest
|
|
847
|
+
*/
|
|
848
|
+
export interface UpdateTaskRequest {
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @type {string}
|
|
852
|
+
* @memberof UpdateTaskRequest
|
|
853
|
+
*/
|
|
854
|
+
'content'?: string;
|
|
855
|
+
/**
|
|
856
|
+
*
|
|
857
|
+
* @type {TaskStatus}
|
|
858
|
+
* @memberof UpdateTaskRequest
|
|
859
|
+
*/
|
|
860
|
+
'status'?: TaskStatus;
|
|
861
|
+
/**
|
|
862
|
+
* The position of the task in its status group
|
|
863
|
+
* @type {number}
|
|
864
|
+
* @memberof UpdateTaskRequest
|
|
865
|
+
*/
|
|
866
|
+
'sortOrder'?: number;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
|
|
627
870
|
|
|
628
871
|
/**
|
|
629
872
|
* ProjectsApi - axios parameter creator
|
|
@@ -672,6 +915,53 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
672
915
|
options: localVarRequestOptions,
|
|
673
916
|
};
|
|
674
917
|
},
|
|
918
|
+
/**
|
|
919
|
+
* Create a bookmark in the project
|
|
920
|
+
* @summary Create bookmark
|
|
921
|
+
* @param {string} project Projects unique identifier
|
|
922
|
+
* @param {CreateBookmarkRequest} createBookmarkRequest Create a new bookmark in the project
|
|
923
|
+
* @param {*} [options] Override http request option.
|
|
924
|
+
* @throws {RequiredError}
|
|
925
|
+
*/
|
|
926
|
+
createBookmark: async (project: string, createBookmarkRequest: CreateBookmarkRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
927
|
+
// verify required parameter 'project' is not null or undefined
|
|
928
|
+
assertParamExists('createBookmark', 'project', project)
|
|
929
|
+
// verify required parameter 'createBookmarkRequest' is not null or undefined
|
|
930
|
+
assertParamExists('createBookmark', 'createBookmarkRequest', createBookmarkRequest)
|
|
931
|
+
const localVarPath = `/v1/projects/{project}/bookmarks`
|
|
932
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
933
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
934
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
935
|
+
let baseOptions;
|
|
936
|
+
if (configuration) {
|
|
937
|
+
baseOptions = configuration.baseOptions;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
941
|
+
const localVarHeaderParameter = {} as any;
|
|
942
|
+
const localVarQueryParameter = {} as any;
|
|
943
|
+
|
|
944
|
+
// authentication session-oauth required
|
|
945
|
+
// oauth required
|
|
946
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
947
|
+
|
|
948
|
+
// authentication api-key required
|
|
949
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
954
|
+
|
|
955
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
956
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
957
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
958
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createBookmarkRequest, localVarRequestOptions, configuration)
|
|
959
|
+
|
|
960
|
+
return {
|
|
961
|
+
url: toPathString(localVarUrlObj),
|
|
962
|
+
options: localVarRequestOptions,
|
|
963
|
+
};
|
|
964
|
+
},
|
|
675
965
|
/**
|
|
676
966
|
* Creates an invite for the project
|
|
677
967
|
* @summary Creates an invite
|
|
@@ -762,6 +1052,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
762
1052
|
options: localVarRequestOptions,
|
|
763
1053
|
};
|
|
764
1054
|
},
|
|
1055
|
+
/**
|
|
1056
|
+
* Create a new task in the workflow
|
|
1057
|
+
* @summary Create Task
|
|
1058
|
+
* @param {string} project Projects unique identifier
|
|
1059
|
+
* @param {CreateTaskRequest} [createTaskRequest] Create a new task in the workflow
|
|
1060
|
+
* @param {*} [options] Override http request option.
|
|
1061
|
+
* @throws {RequiredError}
|
|
1062
|
+
*/
|
|
1063
|
+
createTask: async (project: string, createTaskRequest?: CreateTaskRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1064
|
+
// verify required parameter 'project' is not null or undefined
|
|
1065
|
+
assertParamExists('createTask', 'project', project)
|
|
1066
|
+
const localVarPath = `/v1/projects/{project}/tasks`
|
|
1067
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
1068
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1069
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1070
|
+
let baseOptions;
|
|
1071
|
+
if (configuration) {
|
|
1072
|
+
baseOptions = configuration.baseOptions;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1076
|
+
const localVarHeaderParameter = {} as any;
|
|
1077
|
+
const localVarQueryParameter = {} as any;
|
|
1078
|
+
|
|
1079
|
+
// authentication session-oauth required
|
|
1080
|
+
// oauth required
|
|
1081
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1082
|
+
|
|
1083
|
+
// authentication api-key required
|
|
1084
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1089
|
+
|
|
1090
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1091
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1092
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1093
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTaskRequest, localVarRequestOptions, configuration)
|
|
1094
|
+
|
|
1095
|
+
return {
|
|
1096
|
+
url: toPathString(localVarUrlObj),
|
|
1097
|
+
options: localVarRequestOptions,
|
|
1098
|
+
};
|
|
1099
|
+
},
|
|
765
1100
|
/**
|
|
766
1101
|
* Delete an auth token for the project
|
|
767
1102
|
* @summary Delete auth token
|
|
@@ -798,6 +1133,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
798
1133
|
|
|
799
1134
|
|
|
800
1135
|
|
|
1136
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1137
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1138
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1139
|
+
|
|
1140
|
+
return {
|
|
1141
|
+
url: toPathString(localVarUrlObj),
|
|
1142
|
+
options: localVarRequestOptions,
|
|
1143
|
+
};
|
|
1144
|
+
},
|
|
1145
|
+
/**
|
|
1146
|
+
* Delete a bookmark in the project
|
|
1147
|
+
* @summary Delete bookmark
|
|
1148
|
+
* @param {string} project Projects unique identifier
|
|
1149
|
+
* @param {string} id The unique id of the bookmark
|
|
1150
|
+
* @param {*} [options] Override http request option.
|
|
1151
|
+
* @throws {RequiredError}
|
|
1152
|
+
*/
|
|
1153
|
+
deleteBookmark: async (project: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1154
|
+
// verify required parameter 'project' is not null or undefined
|
|
1155
|
+
assertParamExists('deleteBookmark', 'project', project)
|
|
1156
|
+
// verify required parameter 'id' is not null or undefined
|
|
1157
|
+
assertParamExists('deleteBookmark', 'id', id)
|
|
1158
|
+
const localVarPath = `/v1/projects/{project}/bookmarks/{id}`
|
|
1159
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1160
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1163
|
+
let baseOptions;
|
|
1164
|
+
if (configuration) {
|
|
1165
|
+
baseOptions = configuration.baseOptions;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
1169
|
+
const localVarHeaderParameter = {} as any;
|
|
1170
|
+
const localVarQueryParameter = {} as any;
|
|
1171
|
+
|
|
1172
|
+
// authentication session-oauth required
|
|
1173
|
+
// oauth required
|
|
1174
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1175
|
+
|
|
1176
|
+
// authentication api-key required
|
|
1177
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
|
|
801
1181
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
802
1182
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
1183
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -884,6 +1264,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
884
1264
|
|
|
885
1265
|
|
|
886
1266
|
|
|
1267
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1268
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1269
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1270
|
+
|
|
1271
|
+
return {
|
|
1272
|
+
url: toPathString(localVarUrlObj),
|
|
1273
|
+
options: localVarRequestOptions,
|
|
1274
|
+
};
|
|
1275
|
+
},
|
|
1276
|
+
/**
|
|
1277
|
+
* Delete a task in the workflow
|
|
1278
|
+
* @summary Delete Task
|
|
1279
|
+
* @param {string} project Projects unique identifier
|
|
1280
|
+
* @param {string} id The unique id of the task
|
|
1281
|
+
* @param {*} [options] Override http request option.
|
|
1282
|
+
* @throws {RequiredError}
|
|
1283
|
+
*/
|
|
1284
|
+
deleteTask: async (project: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1285
|
+
// verify required parameter 'project' is not null or undefined
|
|
1286
|
+
assertParamExists('deleteTask', 'project', project)
|
|
1287
|
+
// verify required parameter 'id' is not null or undefined
|
|
1288
|
+
assertParamExists('deleteTask', 'id', id)
|
|
1289
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
1290
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1291
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1294
|
+
let baseOptions;
|
|
1295
|
+
if (configuration) {
|
|
1296
|
+
baseOptions = configuration.baseOptions;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
1300
|
+
const localVarHeaderParameter = {} as any;
|
|
1301
|
+
const localVarQueryParameter = {} as any;
|
|
1302
|
+
|
|
1303
|
+
// authentication session-oauth required
|
|
1304
|
+
// oauth required
|
|
1305
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1306
|
+
|
|
1307
|
+
// authentication api-key required
|
|
1308
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
|
|
887
1312
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
888
1313
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
889
1314
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1448,6 +1873,88 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1448
1873
|
options: localVarRequestOptions,
|
|
1449
1874
|
};
|
|
1450
1875
|
},
|
|
1876
|
+
/**
|
|
1877
|
+
* List the bookmarks in the project
|
|
1878
|
+
* @summary List bookmarks
|
|
1879
|
+
* @param {string} project Projects unique identifier
|
|
1880
|
+
* @param {*} [options] Override http request option.
|
|
1881
|
+
* @throws {RequiredError}
|
|
1882
|
+
*/
|
|
1883
|
+
listBookmarks: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1884
|
+
// verify required parameter 'project' is not null or undefined
|
|
1885
|
+
assertParamExists('listBookmarks', 'project', project)
|
|
1886
|
+
const localVarPath = `/v1/projects/{project}/bookmarks`
|
|
1887
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
1888
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1889
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1890
|
+
let baseOptions;
|
|
1891
|
+
if (configuration) {
|
|
1892
|
+
baseOptions = configuration.baseOptions;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1896
|
+
const localVarHeaderParameter = {} as any;
|
|
1897
|
+
const localVarQueryParameter = {} as any;
|
|
1898
|
+
|
|
1899
|
+
// authentication session-oauth required
|
|
1900
|
+
// oauth required
|
|
1901
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1902
|
+
|
|
1903
|
+
// authentication api-key required
|
|
1904
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1909
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1910
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1911
|
+
|
|
1912
|
+
return {
|
|
1913
|
+
url: toPathString(localVarUrlObj),
|
|
1914
|
+
options: localVarRequestOptions,
|
|
1915
|
+
};
|
|
1916
|
+
},
|
|
1917
|
+
/**
|
|
1918
|
+
* List the tasks in the workflow
|
|
1919
|
+
* @summary List Tasks
|
|
1920
|
+
* @param {string} project Projects unique identifier
|
|
1921
|
+
* @param {*} [options] Override http request option.
|
|
1922
|
+
* @throws {RequiredError}
|
|
1923
|
+
*/
|
|
1924
|
+
listTasks: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1925
|
+
// verify required parameter 'project' is not null or undefined
|
|
1926
|
+
assertParamExists('listTasks', 'project', project)
|
|
1927
|
+
const localVarPath = `/v1/projects/{project}/tasks`
|
|
1928
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
1929
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1930
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1931
|
+
let baseOptions;
|
|
1932
|
+
if (configuration) {
|
|
1933
|
+
baseOptions = configuration.baseOptions;
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1937
|
+
const localVarHeaderParameter = {} as any;
|
|
1938
|
+
const localVarQueryParameter = {} as any;
|
|
1939
|
+
|
|
1940
|
+
// authentication session-oauth required
|
|
1941
|
+
// oauth required
|
|
1942
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1943
|
+
|
|
1944
|
+
// authentication api-key required
|
|
1945
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1946
|
+
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1950
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1951
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1952
|
+
|
|
1953
|
+
return {
|
|
1954
|
+
url: toPathString(localVarUrlObj),
|
|
1955
|
+
options: localVarRequestOptions,
|
|
1956
|
+
};
|
|
1957
|
+
},
|
|
1451
1958
|
/**
|
|
1452
1959
|
* Setup an integration on the project
|
|
1453
1960
|
* @summary Setup integration
|
|
@@ -1544,6 +2051,57 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1544
2051
|
options: localVarRequestOptions,
|
|
1545
2052
|
};
|
|
1546
2053
|
},
|
|
2054
|
+
/**
|
|
2055
|
+
* Update a bookmark in the project
|
|
2056
|
+
* @summary Update bookmark
|
|
2057
|
+
* @param {string} project Projects unique identifier
|
|
2058
|
+
* @param {string} id The unique id of the bookmark
|
|
2059
|
+
* @param {UpdateBookmarkRequest} updateBookmarkRequest Update a bookmark in the project
|
|
2060
|
+
* @param {*} [options] Override http request option.
|
|
2061
|
+
* @throws {RequiredError}
|
|
2062
|
+
*/
|
|
2063
|
+
updateBookmark: async (project: string, id: string, updateBookmarkRequest: UpdateBookmarkRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2064
|
+
// verify required parameter 'project' is not null or undefined
|
|
2065
|
+
assertParamExists('updateBookmark', 'project', project)
|
|
2066
|
+
// verify required parameter 'id' is not null or undefined
|
|
2067
|
+
assertParamExists('updateBookmark', 'id', id)
|
|
2068
|
+
// verify required parameter 'updateBookmarkRequest' is not null or undefined
|
|
2069
|
+
assertParamExists('updateBookmark', 'updateBookmarkRequest', updateBookmarkRequest)
|
|
2070
|
+
const localVarPath = `/v1/projects/{project}/bookmarks/{id}`
|
|
2071
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
2072
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2073
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2074
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2075
|
+
let baseOptions;
|
|
2076
|
+
if (configuration) {
|
|
2077
|
+
baseOptions = configuration.baseOptions;
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
2081
|
+
const localVarHeaderParameter = {} as any;
|
|
2082
|
+
const localVarQueryParameter = {} as any;
|
|
2083
|
+
|
|
2084
|
+
// authentication session-oauth required
|
|
2085
|
+
// oauth required
|
|
2086
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2087
|
+
|
|
2088
|
+
// authentication api-key required
|
|
2089
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
|
|
2093
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2094
|
+
|
|
2095
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2096
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2097
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2098
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateBookmarkRequest, localVarRequestOptions, configuration)
|
|
2099
|
+
|
|
2100
|
+
return {
|
|
2101
|
+
url: toPathString(localVarUrlObj),
|
|
2102
|
+
options: localVarRequestOptions,
|
|
2103
|
+
};
|
|
2104
|
+
},
|
|
1547
2105
|
/**
|
|
1548
2106
|
* Update an integration on the project
|
|
1549
2107
|
* @summary Update integration
|
|
@@ -1637,6 +2195,55 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1637
2195
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1638
2196
|
localVarRequestOptions.data = serializeDataIfNeeded(updateProjectRequest, localVarRequestOptions, configuration)
|
|
1639
2197
|
|
|
2198
|
+
return {
|
|
2199
|
+
url: toPathString(localVarUrlObj),
|
|
2200
|
+
options: localVarRequestOptions,
|
|
2201
|
+
};
|
|
2202
|
+
},
|
|
2203
|
+
/**
|
|
2204
|
+
* Update a task in the workflow
|
|
2205
|
+
* @summary Update Task
|
|
2206
|
+
* @param {string} project Projects unique identifier
|
|
2207
|
+
* @param {string} id The unique id of the task
|
|
2208
|
+
* @param {UpdateTaskRequest} [updateTaskRequest] Update a task in the workflow
|
|
2209
|
+
* @param {*} [options] Override http request option.
|
|
2210
|
+
* @throws {RequiredError}
|
|
2211
|
+
*/
|
|
2212
|
+
updateTask: async (project: string, id: string, updateTaskRequest?: UpdateTaskRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2213
|
+
// verify required parameter 'project' is not null or undefined
|
|
2214
|
+
assertParamExists('updateTask', 'project', project)
|
|
2215
|
+
// verify required parameter 'id' is not null or undefined
|
|
2216
|
+
assertParamExists('updateTask', 'id', id)
|
|
2217
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
2218
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
2219
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2221
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2222
|
+
let baseOptions;
|
|
2223
|
+
if (configuration) {
|
|
2224
|
+
baseOptions = configuration.baseOptions;
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
2228
|
+
const localVarHeaderParameter = {} as any;
|
|
2229
|
+
const localVarQueryParameter = {} as any;
|
|
2230
|
+
|
|
2231
|
+
// authentication session-oauth required
|
|
2232
|
+
// oauth required
|
|
2233
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2234
|
+
|
|
2235
|
+
// authentication api-key required
|
|
2236
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
|
|
2240
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2241
|
+
|
|
2242
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2243
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2244
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2245
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTaskRequest, localVarRequestOptions, configuration)
|
|
2246
|
+
|
|
1640
2247
|
return {
|
|
1641
2248
|
url: toPathString(localVarUrlObj),
|
|
1642
2249
|
options: localVarRequestOptions,
|
|
@@ -1665,6 +2272,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1665
2272
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createAuth']?.[localVarOperationServerIndex]?.url;
|
|
1666
2273
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1667
2274
|
},
|
|
2275
|
+
/**
|
|
2276
|
+
* Create a bookmark in the project
|
|
2277
|
+
* @summary Create bookmark
|
|
2278
|
+
* @param {string} project Projects unique identifier
|
|
2279
|
+
* @param {CreateBookmarkRequest} createBookmarkRequest Create a new bookmark in the project
|
|
2280
|
+
* @param {*} [options] Override http request option.
|
|
2281
|
+
* @throws {RequiredError}
|
|
2282
|
+
*/
|
|
2283
|
+
async createBookmark(project: string, createBookmarkRequest: CreateBookmarkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Bookmark>> {
|
|
2284
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createBookmark(project, createBookmarkRequest, options);
|
|
2285
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2286
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createBookmark']?.[localVarOperationServerIndex]?.url;
|
|
2287
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2288
|
+
},
|
|
1668
2289
|
/**
|
|
1669
2290
|
* Creates an invite for the project
|
|
1670
2291
|
* @summary Creates an invite
|
|
@@ -1686,10 +2307,24 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1686
2307
|
* @param {*} [options] Override http request option.
|
|
1687
2308
|
* @throws {RequiredError}
|
|
1688
2309
|
*/
|
|
1689
|
-
async createProject(createProjectRequest: CreateProjectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Project>> {
|
|
1690
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createProject(createProjectRequest, options);
|
|
2310
|
+
async createProject(createProjectRequest: CreateProjectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Project>> {
|
|
2311
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createProject(createProjectRequest, options);
|
|
2312
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2313
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createProject']?.[localVarOperationServerIndex]?.url;
|
|
2314
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2315
|
+
},
|
|
2316
|
+
/**
|
|
2317
|
+
* Create a new task in the workflow
|
|
2318
|
+
* @summary Create Task
|
|
2319
|
+
* @param {string} project Projects unique identifier
|
|
2320
|
+
* @param {CreateTaskRequest} [createTaskRequest] Create a new task in the workflow
|
|
2321
|
+
* @param {*} [options] Override http request option.
|
|
2322
|
+
* @throws {RequiredError}
|
|
2323
|
+
*/
|
|
2324
|
+
async createTask(project: string, createTaskRequest?: CreateTaskRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>> {
|
|
2325
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createTask(project, createTaskRequest, options);
|
|
1691
2326
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1692
|
-
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.
|
|
2327
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createTask']?.[localVarOperationServerIndex]?.url;
|
|
1693
2328
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1694
2329
|
},
|
|
1695
2330
|
/**
|
|
@@ -1706,6 +2341,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1706
2341
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteAuth']?.[localVarOperationServerIndex]?.url;
|
|
1707
2342
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1708
2343
|
},
|
|
2344
|
+
/**
|
|
2345
|
+
* Delete a bookmark in the project
|
|
2346
|
+
* @summary Delete bookmark
|
|
2347
|
+
* @param {string} project Projects unique identifier
|
|
2348
|
+
* @param {string} id The unique id of the bookmark
|
|
2349
|
+
* @param {*} [options] Override http request option.
|
|
2350
|
+
* @throws {RequiredError}
|
|
2351
|
+
*/
|
|
2352
|
+
async deleteBookmark(project: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2353
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBookmark(project, id, options);
|
|
2354
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2355
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteBookmark']?.[localVarOperationServerIndex]?.url;
|
|
2356
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2357
|
+
},
|
|
1709
2358
|
/**
|
|
1710
2359
|
* Deletes an invite to the project
|
|
1711
2360
|
* @summary Deletes an invite
|
|
@@ -1733,6 +2382,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1733
2382
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteProject']?.[localVarOperationServerIndex]?.url;
|
|
1734
2383
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1735
2384
|
},
|
|
2385
|
+
/**
|
|
2386
|
+
* Delete a task in the workflow
|
|
2387
|
+
* @summary Delete Task
|
|
2388
|
+
* @param {string} project Projects unique identifier
|
|
2389
|
+
* @param {string} id The unique id of the task
|
|
2390
|
+
* @param {*} [options] Override http request option.
|
|
2391
|
+
* @throws {RequiredError}
|
|
2392
|
+
*/
|
|
2393
|
+
async deleteTask(project: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTask(project, id, options);
|
|
2395
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2396
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteTask']?.[localVarOperationServerIndex]?.url;
|
|
2397
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2398
|
+
},
|
|
1736
2399
|
/**
|
|
1737
2400
|
* Delete a project user by ID
|
|
1738
2401
|
* @summary Delete a user by ID
|
|
@@ -1902,6 +2565,32 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1902
2565
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.installTemplate']?.[localVarOperationServerIndex]?.url;
|
|
1903
2566
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1904
2567
|
},
|
|
2568
|
+
/**
|
|
2569
|
+
* List the bookmarks in the project
|
|
2570
|
+
* @summary List bookmarks
|
|
2571
|
+
* @param {string} project Projects unique identifier
|
|
2572
|
+
* @param {*} [options] Override http request option.
|
|
2573
|
+
* @throws {RequiredError}
|
|
2574
|
+
*/
|
|
2575
|
+
async listBookmarks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Bookmarks>> {
|
|
2576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBookmarks(project, options);
|
|
2577
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2578
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listBookmarks']?.[localVarOperationServerIndex]?.url;
|
|
2579
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2580
|
+
},
|
|
2581
|
+
/**
|
|
2582
|
+
* List the tasks in the workflow
|
|
2583
|
+
* @summary List Tasks
|
|
2584
|
+
* @param {string} project Projects unique identifier
|
|
2585
|
+
* @param {*} [options] Override http request option.
|
|
2586
|
+
* @throws {RequiredError}
|
|
2587
|
+
*/
|
|
2588
|
+
async listTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponse>> {
|
|
2589
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(project, options);
|
|
2590
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2591
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listTasks']?.[localVarOperationServerIndex]?.url;
|
|
2592
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2593
|
+
},
|
|
1905
2594
|
/**
|
|
1906
2595
|
* Setup an integration on the project
|
|
1907
2596
|
* @summary Setup integration
|
|
@@ -1931,6 +2620,21 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1931
2620
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.uninstallIntegration']?.[localVarOperationServerIndex]?.url;
|
|
1932
2621
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1933
2622
|
},
|
|
2623
|
+
/**
|
|
2624
|
+
* Update a bookmark in the project
|
|
2625
|
+
* @summary Update bookmark
|
|
2626
|
+
* @param {string} project Projects unique identifier
|
|
2627
|
+
* @param {string} id The unique id of the bookmark
|
|
2628
|
+
* @param {UpdateBookmarkRequest} updateBookmarkRequest Update a bookmark in the project
|
|
2629
|
+
* @param {*} [options] Override http request option.
|
|
2630
|
+
* @throws {RequiredError}
|
|
2631
|
+
*/
|
|
2632
|
+
async updateBookmark(project: string, id: string, updateBookmarkRequest: UpdateBookmarkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Bookmark>> {
|
|
2633
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBookmark(project, id, updateBookmarkRequest, options);
|
|
2634
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2635
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateBookmark']?.[localVarOperationServerIndex]?.url;
|
|
2636
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2637
|
+
},
|
|
1934
2638
|
/**
|
|
1935
2639
|
* Update an integration on the project
|
|
1936
2640
|
* @summary Update integration
|
|
@@ -1960,6 +2664,21 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1960
2664
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateProject']?.[localVarOperationServerIndex]?.url;
|
|
1961
2665
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1962
2666
|
},
|
|
2667
|
+
/**
|
|
2668
|
+
* Update a task in the workflow
|
|
2669
|
+
* @summary Update Task
|
|
2670
|
+
* @param {string} project Projects unique identifier
|
|
2671
|
+
* @param {string} id The unique id of the task
|
|
2672
|
+
* @param {UpdateTaskRequest} [updateTaskRequest] Update a task in the workflow
|
|
2673
|
+
* @param {*} [options] Override http request option.
|
|
2674
|
+
* @throws {RequiredError}
|
|
2675
|
+
*/
|
|
2676
|
+
async updateTask(project: string, id: string, updateTaskRequest?: UpdateTaskRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>> {
|
|
2677
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTask(project, id, updateTaskRequest, options);
|
|
2678
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2679
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateTask']?.[localVarOperationServerIndex]?.url;
|
|
2680
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2681
|
+
},
|
|
1963
2682
|
}
|
|
1964
2683
|
};
|
|
1965
2684
|
|
|
@@ -1980,6 +2699,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1980
2699
|
createAuth(requestParameters: ProjectsApiCreateAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<Auth> {
|
|
1981
2700
|
return localVarFp.createAuth(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1982
2701
|
},
|
|
2702
|
+
/**
|
|
2703
|
+
* Create a bookmark in the project
|
|
2704
|
+
* @summary Create bookmark
|
|
2705
|
+
* @param {ProjectsApiCreateBookmarkRequest} requestParameters Request parameters.
|
|
2706
|
+
* @param {*} [options] Override http request option.
|
|
2707
|
+
* @throws {RequiredError}
|
|
2708
|
+
*/
|
|
2709
|
+
createBookmark(requestParameters: ProjectsApiCreateBookmarkRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmark> {
|
|
2710
|
+
return localVarFp.createBookmark(requestParameters.project, requestParameters.createBookmarkRequest, options).then((request) => request(axios, basePath));
|
|
2711
|
+
},
|
|
1983
2712
|
/**
|
|
1984
2713
|
* Creates an invite for the project
|
|
1985
2714
|
* @summary Creates an invite
|
|
@@ -2000,6 +2729,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2000
2729
|
createProject(requestParameters: ProjectsApiCreateProjectRequest, options?: RawAxiosRequestConfig): AxiosPromise<Project> {
|
|
2001
2730
|
return localVarFp.createProject(requestParameters.createProjectRequest, options).then((request) => request(axios, basePath));
|
|
2002
2731
|
},
|
|
2732
|
+
/**
|
|
2733
|
+
* Create a new task in the workflow
|
|
2734
|
+
* @summary Create Task
|
|
2735
|
+
* @param {ProjectsApiCreateTaskRequest} requestParameters Request parameters.
|
|
2736
|
+
* @param {*} [options] Override http request option.
|
|
2737
|
+
* @throws {RequiredError}
|
|
2738
|
+
*/
|
|
2739
|
+
createTask(requestParameters: ProjectsApiCreateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
|
|
2740
|
+
return localVarFp.createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(axios, basePath));
|
|
2741
|
+
},
|
|
2003
2742
|
/**
|
|
2004
2743
|
* Delete an auth token for the project
|
|
2005
2744
|
* @summary Delete auth token
|
|
@@ -2010,6 +2749,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2010
2749
|
deleteAuth(requestParameters: ProjectsApiDeleteAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2011
2750
|
return localVarFp.deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(axios, basePath));
|
|
2012
2751
|
},
|
|
2752
|
+
/**
|
|
2753
|
+
* Delete a bookmark in the project
|
|
2754
|
+
* @summary Delete bookmark
|
|
2755
|
+
* @param {ProjectsApiDeleteBookmarkRequest} requestParameters Request parameters.
|
|
2756
|
+
* @param {*} [options] Override http request option.
|
|
2757
|
+
* @throws {RequiredError}
|
|
2758
|
+
*/
|
|
2759
|
+
deleteBookmark(requestParameters: ProjectsApiDeleteBookmarkRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2760
|
+
return localVarFp.deleteBookmark(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2761
|
+
},
|
|
2013
2762
|
/**
|
|
2014
2763
|
* Deletes an invite to the project
|
|
2015
2764
|
* @summary Deletes an invite
|
|
@@ -2030,6 +2779,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2030
2779
|
deleteProject(requestParameters: ProjectsApiDeleteProjectRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2031
2780
|
return localVarFp.deleteProject(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2032
2781
|
},
|
|
2782
|
+
/**
|
|
2783
|
+
* Delete a task in the workflow
|
|
2784
|
+
* @summary Delete Task
|
|
2785
|
+
* @param {ProjectsApiDeleteTaskRequest} requestParameters Request parameters.
|
|
2786
|
+
* @param {*} [options] Override http request option.
|
|
2787
|
+
* @throws {RequiredError}
|
|
2788
|
+
*/
|
|
2789
|
+
deleteTask(requestParameters: ProjectsApiDeleteTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2790
|
+
return localVarFp.deleteTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2791
|
+
},
|
|
2033
2792
|
/**
|
|
2034
2793
|
* Delete a project user by ID
|
|
2035
2794
|
* @summary Delete a user by ID
|
|
@@ -2150,6 +2909,26 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2150
2909
|
installTemplate(requestParameters: ProjectsApiInstallTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationsResponse> {
|
|
2151
2910
|
return localVarFp.installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(axios, basePath));
|
|
2152
2911
|
},
|
|
2912
|
+
/**
|
|
2913
|
+
* List the bookmarks in the project
|
|
2914
|
+
* @summary List bookmarks
|
|
2915
|
+
* @param {ProjectsApiListBookmarksRequest} requestParameters Request parameters.
|
|
2916
|
+
* @param {*} [options] Override http request option.
|
|
2917
|
+
* @throws {RequiredError}
|
|
2918
|
+
*/
|
|
2919
|
+
listBookmarks(requestParameters: ProjectsApiListBookmarksRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmarks> {
|
|
2920
|
+
return localVarFp.listBookmarks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2921
|
+
},
|
|
2922
|
+
/**
|
|
2923
|
+
* List the tasks in the workflow
|
|
2924
|
+
* @summary List Tasks
|
|
2925
|
+
* @param {ProjectsApiListTasksRequest} requestParameters Request parameters.
|
|
2926
|
+
* @param {*} [options] Override http request option.
|
|
2927
|
+
* @throws {RequiredError}
|
|
2928
|
+
*/
|
|
2929
|
+
listTasks(requestParameters: ProjectsApiListTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse> {
|
|
2930
|
+
return localVarFp.listTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2931
|
+
},
|
|
2153
2932
|
/**
|
|
2154
2933
|
* Setup an integration on the project
|
|
2155
2934
|
* @summary Setup integration
|
|
@@ -2170,6 +2949,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2170
2949
|
uninstallIntegration(requestParameters: ProjectsApiUninstallIntegrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2171
2950
|
return localVarFp.uninstallIntegration(requestParameters.project, requestParameters.integration, options).then((request) => request(axios, basePath));
|
|
2172
2951
|
},
|
|
2952
|
+
/**
|
|
2953
|
+
* Update a bookmark in the project
|
|
2954
|
+
* @summary Update bookmark
|
|
2955
|
+
* @param {ProjectsApiUpdateBookmarkRequest} requestParameters Request parameters.
|
|
2956
|
+
* @param {*} [options] Override http request option.
|
|
2957
|
+
* @throws {RequiredError}
|
|
2958
|
+
*/
|
|
2959
|
+
updateBookmark(requestParameters: ProjectsApiUpdateBookmarkRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmark> {
|
|
2960
|
+
return localVarFp.updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(axios, basePath));
|
|
2961
|
+
},
|
|
2173
2962
|
/**
|
|
2174
2963
|
* Update an integration on the project
|
|
2175
2964
|
* @summary Update integration
|
|
@@ -2190,6 +2979,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2190
2979
|
updateProject(requestParameters: ProjectsApiUpdateProjectRequest, options?: RawAxiosRequestConfig): AxiosPromise<Project> {
|
|
2191
2980
|
return localVarFp.updateProject(requestParameters.project, requestParameters.updateProjectRequest, options).then((request) => request(axios, basePath));
|
|
2192
2981
|
},
|
|
2982
|
+
/**
|
|
2983
|
+
* Update a task in the workflow
|
|
2984
|
+
* @summary Update Task
|
|
2985
|
+
* @param {ProjectsApiUpdateTaskRequest} requestParameters Request parameters.
|
|
2986
|
+
* @param {*} [options] Override http request option.
|
|
2987
|
+
* @throws {RequiredError}
|
|
2988
|
+
*/
|
|
2989
|
+
updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
|
|
2990
|
+
return localVarFp.updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(axios, basePath));
|
|
2991
|
+
},
|
|
2193
2992
|
};
|
|
2194
2993
|
};
|
|
2195
2994
|
|
|
@@ -2207,6 +3006,27 @@ export interface ProjectsApiCreateAuthRequest {
|
|
|
2207
3006
|
readonly project: string
|
|
2208
3007
|
}
|
|
2209
3008
|
|
|
3009
|
+
/**
|
|
3010
|
+
* Request parameters for createBookmark operation in ProjectsApi.
|
|
3011
|
+
* @export
|
|
3012
|
+
* @interface ProjectsApiCreateBookmarkRequest
|
|
3013
|
+
*/
|
|
3014
|
+
export interface ProjectsApiCreateBookmarkRequest {
|
|
3015
|
+
/**
|
|
3016
|
+
* Projects unique identifier
|
|
3017
|
+
* @type {string}
|
|
3018
|
+
* @memberof ProjectsApiCreateBookmark
|
|
3019
|
+
*/
|
|
3020
|
+
readonly project: string
|
|
3021
|
+
|
|
3022
|
+
/**
|
|
3023
|
+
* Create a new bookmark in the project
|
|
3024
|
+
* @type {CreateBookmarkRequest}
|
|
3025
|
+
* @memberof ProjectsApiCreateBookmark
|
|
3026
|
+
*/
|
|
3027
|
+
readonly createBookmarkRequest: CreateBookmarkRequest
|
|
3028
|
+
}
|
|
3029
|
+
|
|
2210
3030
|
/**
|
|
2211
3031
|
* Request parameters for createInvite operation in ProjectsApi.
|
|
2212
3032
|
* @export
|
|
@@ -2242,6 +3062,27 @@ export interface ProjectsApiCreateProjectRequest {
|
|
|
2242
3062
|
readonly createProjectRequest: CreateProjectRequest
|
|
2243
3063
|
}
|
|
2244
3064
|
|
|
3065
|
+
/**
|
|
3066
|
+
* Request parameters for createTask operation in ProjectsApi.
|
|
3067
|
+
* @export
|
|
3068
|
+
* @interface ProjectsApiCreateTaskRequest
|
|
3069
|
+
*/
|
|
3070
|
+
export interface ProjectsApiCreateTaskRequest {
|
|
3071
|
+
/**
|
|
3072
|
+
* Projects unique identifier
|
|
3073
|
+
* @type {string}
|
|
3074
|
+
* @memberof ProjectsApiCreateTask
|
|
3075
|
+
*/
|
|
3076
|
+
readonly project: string
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
* Create a new task in the workflow
|
|
3080
|
+
* @type {CreateTaskRequest}
|
|
3081
|
+
* @memberof ProjectsApiCreateTask
|
|
3082
|
+
*/
|
|
3083
|
+
readonly createTaskRequest?: CreateTaskRequest
|
|
3084
|
+
}
|
|
3085
|
+
|
|
2245
3086
|
/**
|
|
2246
3087
|
* Request parameters for deleteAuth operation in ProjectsApi.
|
|
2247
3088
|
* @export
|
|
@@ -2263,6 +3104,27 @@ export interface ProjectsApiDeleteAuthRequest {
|
|
|
2263
3104
|
readonly auth: string
|
|
2264
3105
|
}
|
|
2265
3106
|
|
|
3107
|
+
/**
|
|
3108
|
+
* Request parameters for deleteBookmark operation in ProjectsApi.
|
|
3109
|
+
* @export
|
|
3110
|
+
* @interface ProjectsApiDeleteBookmarkRequest
|
|
3111
|
+
*/
|
|
3112
|
+
export interface ProjectsApiDeleteBookmarkRequest {
|
|
3113
|
+
/**
|
|
3114
|
+
* Projects unique identifier
|
|
3115
|
+
* @type {string}
|
|
3116
|
+
* @memberof ProjectsApiDeleteBookmark
|
|
3117
|
+
*/
|
|
3118
|
+
readonly project: string
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
* The unique id of the bookmark
|
|
3122
|
+
* @type {string}
|
|
3123
|
+
* @memberof ProjectsApiDeleteBookmark
|
|
3124
|
+
*/
|
|
3125
|
+
readonly id: string
|
|
3126
|
+
}
|
|
3127
|
+
|
|
2266
3128
|
/**
|
|
2267
3129
|
* Request parameters for deleteInvite operation in ProjectsApi.
|
|
2268
3130
|
* @export
|
|
@@ -2298,6 +3160,27 @@ export interface ProjectsApiDeleteProjectRequest {
|
|
|
2298
3160
|
readonly project: string
|
|
2299
3161
|
}
|
|
2300
3162
|
|
|
3163
|
+
/**
|
|
3164
|
+
* Request parameters for deleteTask operation in ProjectsApi.
|
|
3165
|
+
* @export
|
|
3166
|
+
* @interface ProjectsApiDeleteTaskRequest
|
|
3167
|
+
*/
|
|
3168
|
+
export interface ProjectsApiDeleteTaskRequest {
|
|
3169
|
+
/**
|
|
3170
|
+
* Projects unique identifier
|
|
3171
|
+
* @type {string}
|
|
3172
|
+
* @memberof ProjectsApiDeleteTask
|
|
3173
|
+
*/
|
|
3174
|
+
readonly project: string
|
|
3175
|
+
|
|
3176
|
+
/**
|
|
3177
|
+
* The unique id of the task
|
|
3178
|
+
* @type {string}
|
|
3179
|
+
* @memberof ProjectsApiDeleteTask
|
|
3180
|
+
*/
|
|
3181
|
+
readonly id: string
|
|
3182
|
+
}
|
|
3183
|
+
|
|
2301
3184
|
/**
|
|
2302
3185
|
* Request parameters for deleteUser operation in ProjectsApi.
|
|
2303
3186
|
* @export
|
|
@@ -2557,6 +3440,34 @@ export interface ProjectsApiInstallTemplateRequest {
|
|
|
2557
3440
|
readonly installTemplateRequest: InstallTemplateRequest
|
|
2558
3441
|
}
|
|
2559
3442
|
|
|
3443
|
+
/**
|
|
3444
|
+
* Request parameters for listBookmarks operation in ProjectsApi.
|
|
3445
|
+
* @export
|
|
3446
|
+
* @interface ProjectsApiListBookmarksRequest
|
|
3447
|
+
*/
|
|
3448
|
+
export interface ProjectsApiListBookmarksRequest {
|
|
3449
|
+
/**
|
|
3450
|
+
* Projects unique identifier
|
|
3451
|
+
* @type {string}
|
|
3452
|
+
* @memberof ProjectsApiListBookmarks
|
|
3453
|
+
*/
|
|
3454
|
+
readonly project: string
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
/**
|
|
3458
|
+
* Request parameters for listTasks operation in ProjectsApi.
|
|
3459
|
+
* @export
|
|
3460
|
+
* @interface ProjectsApiListTasksRequest
|
|
3461
|
+
*/
|
|
3462
|
+
export interface ProjectsApiListTasksRequest {
|
|
3463
|
+
/**
|
|
3464
|
+
* Projects unique identifier
|
|
3465
|
+
* @type {string}
|
|
3466
|
+
* @memberof ProjectsApiListTasks
|
|
3467
|
+
*/
|
|
3468
|
+
readonly project: string
|
|
3469
|
+
}
|
|
3470
|
+
|
|
2560
3471
|
/**
|
|
2561
3472
|
* Request parameters for setupIntegration operation in ProjectsApi.
|
|
2562
3473
|
* @export
|
|
@@ -2606,6 +3517,34 @@ export interface ProjectsApiUninstallIntegrationRequest {
|
|
|
2606
3517
|
readonly integration: string
|
|
2607
3518
|
}
|
|
2608
3519
|
|
|
3520
|
+
/**
|
|
3521
|
+
* Request parameters for updateBookmark operation in ProjectsApi.
|
|
3522
|
+
* @export
|
|
3523
|
+
* @interface ProjectsApiUpdateBookmarkRequest
|
|
3524
|
+
*/
|
|
3525
|
+
export interface ProjectsApiUpdateBookmarkRequest {
|
|
3526
|
+
/**
|
|
3527
|
+
* Projects unique identifier
|
|
3528
|
+
* @type {string}
|
|
3529
|
+
* @memberof ProjectsApiUpdateBookmark
|
|
3530
|
+
*/
|
|
3531
|
+
readonly project: string
|
|
3532
|
+
|
|
3533
|
+
/**
|
|
3534
|
+
* The unique id of the bookmark
|
|
3535
|
+
* @type {string}
|
|
3536
|
+
* @memberof ProjectsApiUpdateBookmark
|
|
3537
|
+
*/
|
|
3538
|
+
readonly id: string
|
|
3539
|
+
|
|
3540
|
+
/**
|
|
3541
|
+
* Update a bookmark in the project
|
|
3542
|
+
* @type {UpdateBookmarkRequest}
|
|
3543
|
+
* @memberof ProjectsApiUpdateBookmark
|
|
3544
|
+
*/
|
|
3545
|
+
readonly updateBookmarkRequest: UpdateBookmarkRequest
|
|
3546
|
+
}
|
|
3547
|
+
|
|
2609
3548
|
/**
|
|
2610
3549
|
* Request parameters for updateIntegration operation in ProjectsApi.
|
|
2611
3550
|
* @export
|
|
@@ -2655,6 +3594,34 @@ export interface ProjectsApiUpdateProjectRequest {
|
|
|
2655
3594
|
readonly updateProjectRequest: UpdateProjectRequest
|
|
2656
3595
|
}
|
|
2657
3596
|
|
|
3597
|
+
/**
|
|
3598
|
+
* Request parameters for updateTask operation in ProjectsApi.
|
|
3599
|
+
* @export
|
|
3600
|
+
* @interface ProjectsApiUpdateTaskRequest
|
|
3601
|
+
*/
|
|
3602
|
+
export interface ProjectsApiUpdateTaskRequest {
|
|
3603
|
+
/**
|
|
3604
|
+
* Projects unique identifier
|
|
3605
|
+
* @type {string}
|
|
3606
|
+
* @memberof ProjectsApiUpdateTask
|
|
3607
|
+
*/
|
|
3608
|
+
readonly project: string
|
|
3609
|
+
|
|
3610
|
+
/**
|
|
3611
|
+
* The unique id of the task
|
|
3612
|
+
* @type {string}
|
|
3613
|
+
* @memberof ProjectsApiUpdateTask
|
|
3614
|
+
*/
|
|
3615
|
+
readonly id: string
|
|
3616
|
+
|
|
3617
|
+
/**
|
|
3618
|
+
* Update a task in the workflow
|
|
3619
|
+
* @type {UpdateTaskRequest}
|
|
3620
|
+
* @memberof ProjectsApiUpdateTask
|
|
3621
|
+
*/
|
|
3622
|
+
readonly updateTaskRequest?: UpdateTaskRequest
|
|
3623
|
+
}
|
|
3624
|
+
|
|
2658
3625
|
/**
|
|
2659
3626
|
* ProjectsApi - object-oriented interface
|
|
2660
3627
|
* @export
|
|
@@ -2674,6 +3641,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2674
3641
|
return ProjectsApiFp(this.configuration).createAuth(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2675
3642
|
}
|
|
2676
3643
|
|
|
3644
|
+
/**
|
|
3645
|
+
* Create a bookmark in the project
|
|
3646
|
+
* @summary Create bookmark
|
|
3647
|
+
* @param {ProjectsApiCreateBookmarkRequest} requestParameters Request parameters.
|
|
3648
|
+
* @param {*} [options] Override http request option.
|
|
3649
|
+
* @throws {RequiredError}
|
|
3650
|
+
* @memberof ProjectsApi
|
|
3651
|
+
*/
|
|
3652
|
+
public createBookmark(requestParameters: ProjectsApiCreateBookmarkRequest, options?: RawAxiosRequestConfig) {
|
|
3653
|
+
return ProjectsApiFp(this.configuration).createBookmark(requestParameters.project, requestParameters.createBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3654
|
+
}
|
|
3655
|
+
|
|
2677
3656
|
/**
|
|
2678
3657
|
* Creates an invite for the project
|
|
2679
3658
|
* @summary Creates an invite
|
|
@@ -2698,6 +3677,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2698
3677
|
return ProjectsApiFp(this.configuration).createProject(requestParameters.createProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2699
3678
|
}
|
|
2700
3679
|
|
|
3680
|
+
/**
|
|
3681
|
+
* Create a new task in the workflow
|
|
3682
|
+
* @summary Create Task
|
|
3683
|
+
* @param {ProjectsApiCreateTaskRequest} requestParameters Request parameters.
|
|
3684
|
+
* @param {*} [options] Override http request option.
|
|
3685
|
+
* @throws {RequiredError}
|
|
3686
|
+
* @memberof ProjectsApi
|
|
3687
|
+
*/
|
|
3688
|
+
public createTask(requestParameters: ProjectsApiCreateTaskRequest, options?: RawAxiosRequestConfig) {
|
|
3689
|
+
return ProjectsApiFp(this.configuration).createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3690
|
+
}
|
|
3691
|
+
|
|
2701
3692
|
/**
|
|
2702
3693
|
* Delete an auth token for the project
|
|
2703
3694
|
* @summary Delete auth token
|
|
@@ -2710,6 +3701,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2710
3701
|
return ProjectsApiFp(this.configuration).deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(this.axios, this.basePath));
|
|
2711
3702
|
}
|
|
2712
3703
|
|
|
3704
|
+
/**
|
|
3705
|
+
* Delete a bookmark in the project
|
|
3706
|
+
* @summary Delete bookmark
|
|
3707
|
+
* @param {ProjectsApiDeleteBookmarkRequest} requestParameters Request parameters.
|
|
3708
|
+
* @param {*} [options] Override http request option.
|
|
3709
|
+
* @throws {RequiredError}
|
|
3710
|
+
* @memberof ProjectsApi
|
|
3711
|
+
*/
|
|
3712
|
+
public deleteBookmark(requestParameters: ProjectsApiDeleteBookmarkRequest, options?: RawAxiosRequestConfig) {
|
|
3713
|
+
return ProjectsApiFp(this.configuration).deleteBookmark(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
3714
|
+
}
|
|
3715
|
+
|
|
2713
3716
|
/**
|
|
2714
3717
|
* Deletes an invite to the project
|
|
2715
3718
|
* @summary Deletes an invite
|
|
@@ -2734,6 +3737,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2734
3737
|
return ProjectsApiFp(this.configuration).deleteProject(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2735
3738
|
}
|
|
2736
3739
|
|
|
3740
|
+
/**
|
|
3741
|
+
* Delete a task in the workflow
|
|
3742
|
+
* @summary Delete Task
|
|
3743
|
+
* @param {ProjectsApiDeleteTaskRequest} requestParameters Request parameters.
|
|
3744
|
+
* @param {*} [options] Override http request option.
|
|
3745
|
+
* @throws {RequiredError}
|
|
3746
|
+
* @memberof ProjectsApi
|
|
3747
|
+
*/
|
|
3748
|
+
public deleteTask(requestParameters: ProjectsApiDeleteTaskRequest, options?: RawAxiosRequestConfig) {
|
|
3749
|
+
return ProjectsApiFp(this.configuration).deleteTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
3750
|
+
}
|
|
3751
|
+
|
|
2737
3752
|
/**
|
|
2738
3753
|
* Delete a project user by ID
|
|
2739
3754
|
* @summary Delete a user by ID
|
|
@@ -2878,6 +3893,30 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2878
3893
|
return ProjectsApiFp(this.configuration).installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2879
3894
|
}
|
|
2880
3895
|
|
|
3896
|
+
/**
|
|
3897
|
+
* List the bookmarks in the project
|
|
3898
|
+
* @summary List bookmarks
|
|
3899
|
+
* @param {ProjectsApiListBookmarksRequest} requestParameters Request parameters.
|
|
3900
|
+
* @param {*} [options] Override http request option.
|
|
3901
|
+
* @throws {RequiredError}
|
|
3902
|
+
* @memberof ProjectsApi
|
|
3903
|
+
*/
|
|
3904
|
+
public listBookmarks(requestParameters: ProjectsApiListBookmarksRequest, options?: RawAxiosRequestConfig) {
|
|
3905
|
+
return ProjectsApiFp(this.configuration).listBookmarks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
3906
|
+
}
|
|
3907
|
+
|
|
3908
|
+
/**
|
|
3909
|
+
* List the tasks in the workflow
|
|
3910
|
+
* @summary List Tasks
|
|
3911
|
+
* @param {ProjectsApiListTasksRequest} requestParameters Request parameters.
|
|
3912
|
+
* @param {*} [options] Override http request option.
|
|
3913
|
+
* @throws {RequiredError}
|
|
3914
|
+
* @memberof ProjectsApi
|
|
3915
|
+
*/
|
|
3916
|
+
public listTasks(requestParameters: ProjectsApiListTasksRequest, options?: RawAxiosRequestConfig) {
|
|
3917
|
+
return ProjectsApiFp(this.configuration).listTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
3918
|
+
}
|
|
3919
|
+
|
|
2881
3920
|
/**
|
|
2882
3921
|
* Setup an integration on the project
|
|
2883
3922
|
* @summary Setup integration
|
|
@@ -2902,6 +3941,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2902
3941
|
return ProjectsApiFp(this.configuration).uninstallIntegration(requestParameters.project, requestParameters.integration, options).then((request) => request(this.axios, this.basePath));
|
|
2903
3942
|
}
|
|
2904
3943
|
|
|
3944
|
+
/**
|
|
3945
|
+
* Update a bookmark in the project
|
|
3946
|
+
* @summary Update bookmark
|
|
3947
|
+
* @param {ProjectsApiUpdateBookmarkRequest} requestParameters Request parameters.
|
|
3948
|
+
* @param {*} [options] Override http request option.
|
|
3949
|
+
* @throws {RequiredError}
|
|
3950
|
+
* @memberof ProjectsApi
|
|
3951
|
+
*/
|
|
3952
|
+
public updateBookmark(requestParameters: ProjectsApiUpdateBookmarkRequest, options?: RawAxiosRequestConfig) {
|
|
3953
|
+
return ProjectsApiFp(this.configuration).updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3954
|
+
}
|
|
3955
|
+
|
|
2905
3956
|
/**
|
|
2906
3957
|
* Update an integration on the project
|
|
2907
3958
|
* @summary Update integration
|
|
@@ -2925,6 +3976,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2925
3976
|
public updateProject(requestParameters: ProjectsApiUpdateProjectRequest, options?: RawAxiosRequestConfig) {
|
|
2926
3977
|
return ProjectsApiFp(this.configuration).updateProject(requestParameters.project, requestParameters.updateProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2927
3978
|
}
|
|
3979
|
+
|
|
3980
|
+
/**
|
|
3981
|
+
* Update a task in the workflow
|
|
3982
|
+
* @summary Update Task
|
|
3983
|
+
* @param {ProjectsApiUpdateTaskRequest} requestParameters Request parameters.
|
|
3984
|
+
* @param {*} [options] Override http request option.
|
|
3985
|
+
* @throws {RequiredError}
|
|
3986
|
+
* @memberof ProjectsApi
|
|
3987
|
+
*/
|
|
3988
|
+
public updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig) {
|
|
3989
|
+
return ProjectsApiFp(this.configuration).updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3990
|
+
}
|
|
2928
3991
|
}
|
|
2929
3992
|
|
|
2930
3993
|
|