@teemill/projects 1.16.0 → 1.18.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.
Files changed (166) hide show
  1. package/.openapi-generator/FILES +6 -23
  2. package/README.md +3 -3
  3. package/api.ts +2262 -0
  4. package/base.ts +86 -0
  5. package/common.ts +150 -0
  6. package/configuration.ts +110 -0
  7. package/dist/api.d.ts +1400 -0
  8. package/dist/api.js +1374 -0
  9. package/dist/base.d.ts +66 -0
  10. package/dist/base.js +65 -0
  11. package/dist/common.d.ts +65 -0
  12. package/dist/common.js +161 -0
  13. package/dist/configuration.d.ts +91 -0
  14. package/dist/configuration.js +43 -0
  15. package/dist/esm/api.d.ts +1400 -0
  16. package/dist/esm/api.js +1367 -0
  17. package/dist/esm/base.d.ts +66 -0
  18. package/dist/esm/base.js +60 -0
  19. package/dist/esm/common.d.ts +65 -0
  20. package/dist/esm/common.js +149 -0
  21. package/dist/esm/configuration.d.ts +91 -0
  22. package/dist/esm/configuration.js +39 -0
  23. package/dist/esm/index.d.ts +13 -3
  24. package/dist/esm/index.js +13 -3
  25. package/dist/index.d.ts +13 -3
  26. package/dist/index.js +15 -5
  27. package/git_push.sh +57 -0
  28. package/index.ts +18 -0
  29. package/package.json +14 -2
  30. package/tsconfig.json +4 -6
  31. package/dist/apis/ProjectsApi.d.ts +0 -255
  32. package/dist/apis/ProjectsApi.js +0 -748
  33. package/dist/apis/index.d.ts +0 -1
  34. package/dist/apis/index.js +0 -19
  35. package/dist/esm/apis/ProjectsApi.d.ts +0 -255
  36. package/dist/esm/apis/ProjectsApi.js +0 -744
  37. package/dist/esm/apis/index.d.ts +0 -1
  38. package/dist/esm/apis/index.js +0 -3
  39. package/dist/esm/models/ApiError.d.ts +0 -37
  40. package/dist/esm/models/ApiError.js +0 -42
  41. package/dist/esm/models/CreateInviteRequest.d.ts +0 -31
  42. package/dist/esm/models/CreateInviteRequest.js +0 -40
  43. package/dist/esm/models/CreateProjectRequest.d.ts +0 -43
  44. package/dist/esm/models/CreateProjectRequest.js +0 -44
  45. package/dist/esm/models/CreateUserRequest.d.ts +0 -56
  46. package/dist/esm/models/CreateUserRequest.js +0 -55
  47. package/dist/esm/models/CreateUserRequestAvatar.d.ts +0 -31
  48. package/dist/esm/models/CreateUserRequestAvatar.js +0 -43
  49. package/dist/esm/models/InstallTemplateRequest.d.ts +0 -31
  50. package/dist/esm/models/InstallTemplateRequest.js +0 -38
  51. package/dist/esm/models/Integration.d.ts +0 -49
  52. package/dist/esm/models/Integration.js +0 -47
  53. package/dist/esm/models/IntegrationInfo.d.ts +0 -49
  54. package/dist/esm/models/IntegrationInfo.js +0 -52
  55. package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
  56. package/dist/esm/models/IntegrationsResponse.js +0 -41
  57. package/dist/esm/models/LegacyProjectLogo.d.ts +0 -37
  58. package/dist/esm/models/LegacyProjectLogo.js +0 -44
  59. package/dist/esm/models/Project.d.ts +0 -65
  60. package/dist/esm/models/Project.js +0 -59
  61. package/dist/esm/models/ProjectInvite.d.ts +0 -56
  62. package/dist/esm/models/ProjectInvite.js +0 -57
  63. package/dist/esm/models/ProjectInvites.d.ts +0 -38
  64. package/dist/esm/models/ProjectInvites.js +0 -45
  65. package/dist/esm/models/ProjectLogo.d.ts +0 -39
  66. package/dist/esm/models/ProjectLogo.js +0 -44
  67. package/dist/esm/models/ProjectManager.d.ts +0 -44
  68. package/dist/esm/models/ProjectManager.js +0 -49
  69. package/dist/esm/models/ProjectUser.d.ts +0 -83
  70. package/dist/esm/models/ProjectUser.js +0 -75
  71. package/dist/esm/models/ProjectUserAvatar.d.ts +0 -31
  72. package/dist/esm/models/ProjectUserAvatar.js +0 -38
  73. package/dist/esm/models/ProjectUsers.d.ts +0 -38
  74. package/dist/esm/models/ProjectUsers.js +0 -45
  75. package/dist/esm/models/ProjectsResponse.d.ts +0 -32
  76. package/dist/esm/models/ProjectsResponse.js +0 -41
  77. package/dist/esm/models/SetupIntegrationRequest.d.ts +0 -31
  78. package/dist/esm/models/SetupIntegrationRequest.js +0 -40
  79. package/dist/esm/models/UpdateProjectRequest.d.ts +0 -38
  80. package/dist/esm/models/UpdateProjectRequest.js +0 -41
  81. package/dist/esm/models/UpdateUserRequest.d.ts +0 -56
  82. package/dist/esm/models/UpdateUserRequest.js +0 -52
  83. package/dist/esm/models/UpdateUserRequestAvatar.d.ts +0 -31
  84. package/dist/esm/models/UpdateUserRequestAvatar.js +0 -43
  85. package/dist/esm/models/index.d.ts +0 -18
  86. package/dist/esm/models/index.js +0 -20
  87. package/dist/esm/runtime.d.ts +0 -187
  88. package/dist/esm/runtime.js +0 -333
  89. package/dist/models/ApiError.d.ts +0 -37
  90. package/dist/models/ApiError.js +0 -49
  91. package/dist/models/CreateInviteRequest.d.ts +0 -31
  92. package/dist/models/CreateInviteRequest.js +0 -47
  93. package/dist/models/CreateProjectRequest.d.ts +0 -43
  94. package/dist/models/CreateProjectRequest.js +0 -51
  95. package/dist/models/CreateUserRequest.d.ts +0 -56
  96. package/dist/models/CreateUserRequest.js +0 -62
  97. package/dist/models/CreateUserRequestAvatar.d.ts +0 -31
  98. package/dist/models/CreateUserRequestAvatar.js +0 -50
  99. package/dist/models/InstallTemplateRequest.d.ts +0 -31
  100. package/dist/models/InstallTemplateRequest.js +0 -45
  101. package/dist/models/Integration.d.ts +0 -49
  102. package/dist/models/Integration.js +0 -54
  103. package/dist/models/IntegrationInfo.d.ts +0 -49
  104. package/dist/models/IntegrationInfo.js +0 -59
  105. package/dist/models/IntegrationsResponse.d.ts +0 -32
  106. package/dist/models/IntegrationsResponse.js +0 -48
  107. package/dist/models/LegacyProjectLogo.d.ts +0 -37
  108. package/dist/models/LegacyProjectLogo.js +0 -51
  109. package/dist/models/Project.d.ts +0 -65
  110. package/dist/models/Project.js +0 -66
  111. package/dist/models/ProjectInvite.d.ts +0 -56
  112. package/dist/models/ProjectInvite.js +0 -64
  113. package/dist/models/ProjectInvites.d.ts +0 -38
  114. package/dist/models/ProjectInvites.js +0 -52
  115. package/dist/models/ProjectLogo.d.ts +0 -39
  116. package/dist/models/ProjectLogo.js +0 -51
  117. package/dist/models/ProjectManager.d.ts +0 -44
  118. package/dist/models/ProjectManager.js +0 -56
  119. package/dist/models/ProjectUser.d.ts +0 -83
  120. package/dist/models/ProjectUser.js +0 -82
  121. package/dist/models/ProjectUserAvatar.d.ts +0 -31
  122. package/dist/models/ProjectUserAvatar.js +0 -45
  123. package/dist/models/ProjectUsers.d.ts +0 -38
  124. package/dist/models/ProjectUsers.js +0 -52
  125. package/dist/models/ProjectsResponse.d.ts +0 -32
  126. package/dist/models/ProjectsResponse.js +0 -48
  127. package/dist/models/SetupIntegrationRequest.d.ts +0 -31
  128. package/dist/models/SetupIntegrationRequest.js +0 -47
  129. package/dist/models/UpdateProjectRequest.d.ts +0 -38
  130. package/dist/models/UpdateProjectRequest.js +0 -48
  131. package/dist/models/UpdateUserRequest.d.ts +0 -56
  132. package/dist/models/UpdateUserRequest.js +0 -59
  133. package/dist/models/UpdateUserRequestAvatar.d.ts +0 -31
  134. package/dist/models/UpdateUserRequestAvatar.js +0 -50
  135. package/dist/models/index.d.ts +0 -18
  136. package/dist/models/index.js +0 -36
  137. package/dist/runtime.d.ts +0 -187
  138. package/dist/runtime.js +0 -349
  139. package/src/apis/ProjectsApi.ts +0 -1085
  140. package/src/apis/index.ts +0 -3
  141. package/src/index.ts +0 -5
  142. package/src/models/ApiError.ts +0 -69
  143. package/src/models/CreateInviteRequest.ts +0 -61
  144. package/src/models/CreateProjectRequest.ts +0 -77
  145. package/src/models/CreateUserRequest.ts +0 -107
  146. package/src/models/CreateUserRequestAvatar.ts +0 -65
  147. package/src/models/InstallTemplateRequest.ts +0 -60
  148. package/src/models/Integration.ts +0 -85
  149. package/src/models/IntegrationInfo.ts +0 -93
  150. package/src/models/IntegrationsResponse.ts +0 -68
  151. package/src/models/LegacyProjectLogo.ts +0 -70
  152. package/src/models/Project.ts +0 -124
  153. package/src/models/ProjectInvite.ts +0 -104
  154. package/src/models/ProjectInvites.ts +0 -77
  155. package/src/models/ProjectLogo.ts +0 -70
  156. package/src/models/ProjectManager.ts +0 -86
  157. package/src/models/ProjectUser.ts +0 -142
  158. package/src/models/ProjectUserAvatar.ts +0 -60
  159. package/src/models/ProjectUsers.ts +0 -77
  160. package/src/models/ProjectsResponse.ts +0 -68
  161. package/src/models/SetupIntegrationRequest.ts +0 -61
  162. package/src/models/UpdateProjectRequest.ts +0 -75
  163. package/src/models/UpdateUserRequest.ts +0 -104
  164. package/src/models/UpdateUserRequestAvatar.ts +0 -65
  165. package/src/models/index.ts +0 -20
  166. package/src/runtime.ts +0 -441
package/dist/api.d.ts ADDED
@@ -0,0 +1,1400 @@
1
+ /**
2
+ * Projects API
3
+ * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 1.18.0
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiError
20
+ */
21
+ export interface ApiError {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiError
26
+ */
27
+ 'code'?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiError
32
+ */
33
+ 'message': string;
34
+ }
35
+ /**
36
+ *
37
+ * @export
38
+ * @interface CreateInviteRequest
39
+ */
40
+ export interface CreateInviteRequest {
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof CreateInviteRequest
45
+ */
46
+ 'email': string;
47
+ }
48
+ /**
49
+ *
50
+ * @export
51
+ * @interface CreateProjectRequest
52
+ */
53
+ export interface CreateProjectRequest {
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof CreateProjectRequest
58
+ */
59
+ 'name': string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof CreateProjectRequest
64
+ */
65
+ 'template'?: string;
66
+ /**
67
+ *
68
+ * @type {object}
69
+ * @memberof CreateProjectRequest
70
+ */
71
+ 'config'?: object;
72
+ }
73
+ /**
74
+ *
75
+ * @export
76
+ * @interface InstallTemplateRequest
77
+ */
78
+ export interface InstallTemplateRequest {
79
+ /**
80
+ *
81
+ * @type {object}
82
+ * @memberof InstallTemplateRequest
83
+ */
84
+ 'config'?: object;
85
+ }
86
+ /**
87
+ *
88
+ * @export
89
+ * @interface Integration
90
+ */
91
+ export interface Integration {
92
+ /**
93
+ *
94
+ * @type {number}
95
+ * @memberof Integration
96
+ */
97
+ 'id'?: number;
98
+ /**
99
+ *
100
+ * @type {string}
101
+ * @memberof Integration
102
+ */
103
+ 'code': string;
104
+ /**
105
+ *
106
+ * @type {object}
107
+ * @memberof Integration
108
+ */
109
+ 'config': object;
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof Integration
114
+ */
115
+ 'setupAt'?: string;
116
+ }
117
+ /**
118
+ *
119
+ * @export
120
+ * @interface IntegrationsResponse
121
+ */
122
+ export interface IntegrationsResponse {
123
+ /**
124
+ *
125
+ * @type {Array<Integration>}
126
+ * @memberof IntegrationsResponse
127
+ */
128
+ 'integrations': Array<Integration>;
129
+ }
130
+ /**
131
+ *
132
+ * @export
133
+ * @interface LegacyProjectLogo
134
+ */
135
+ export interface LegacyProjectLogo {
136
+ /**
137
+ *
138
+ * @type {string}
139
+ * @memberof LegacyProjectLogo
140
+ */
141
+ 'url': string;
142
+ /**
143
+ *
144
+ * @type {string}
145
+ * @memberof LegacyProjectLogo
146
+ */
147
+ 'backgroundColor': string;
148
+ }
149
+ /**
150
+ *
151
+ * @export
152
+ * @interface Project
153
+ */
154
+ export interface Project {
155
+ /**
156
+ *
157
+ * @type {string}
158
+ * @memberof Project
159
+ */
160
+ 'id': string;
161
+ /**
162
+ *
163
+ * @type {string}
164
+ * @memberof Project
165
+ */
166
+ 'name': string;
167
+ /**
168
+ *
169
+ * @type {LegacyProjectLogo}
170
+ * @memberof Project
171
+ * @deprecated
172
+ */
173
+ 'logo': LegacyProjectLogo | null;
174
+ /**
175
+ *
176
+ * @type {Array<ProjectLogo>}
177
+ * @memberof Project
178
+ */
179
+ 'logos': Array<ProjectLogo>;
180
+ /**
181
+ *
182
+ * @type {ProjectManager}
183
+ * @memberof Project
184
+ */
185
+ 'manager'?: ProjectManager | null;
186
+ /**
187
+ *
188
+ * @type {Array<string>}
189
+ * @memberof Project
190
+ */
191
+ 'integrations'?: Array<string>;
192
+ /**
193
+ *
194
+ * @type {ProjectCurrency}
195
+ * @memberof Project
196
+ */
197
+ 'currency'?: ProjectCurrency | null;
198
+ }
199
+ /**
200
+ *
201
+ * @export
202
+ * @interface ProjectCurrency
203
+ */
204
+ export interface ProjectCurrency {
205
+ /**
206
+ *
207
+ * @type {string}
208
+ * @memberof ProjectCurrency
209
+ */
210
+ 'code': string;
211
+ /**
212
+ *
213
+ * @type {string}
214
+ * @memberof ProjectCurrency
215
+ */
216
+ 'symbol': string;
217
+ }
218
+ /**
219
+ *
220
+ * @export
221
+ * @interface ProjectInvite
222
+ */
223
+ export interface ProjectInvite {
224
+ /**
225
+ *
226
+ * @type {string}
227
+ * @memberof ProjectInvite
228
+ */
229
+ 'id': string;
230
+ /**
231
+ *
232
+ * @type {string}
233
+ * @memberof ProjectInvite
234
+ */
235
+ 'inviteeEmail': string;
236
+ /**
237
+ *
238
+ * @type {string}
239
+ * @memberof ProjectInvite
240
+ */
241
+ 'createdAt': string;
242
+ /**
243
+ *
244
+ * @type {string}
245
+ * @memberof ProjectInvite
246
+ */
247
+ 'expiresAt': string;
248
+ /**
249
+ *
250
+ * @type {ProjectUser}
251
+ * @memberof ProjectInvite
252
+ */
253
+ 'inviter': ProjectUser;
254
+ }
255
+ /**
256
+ *
257
+ * @export
258
+ * @interface ProjectInvites
259
+ */
260
+ export interface ProjectInvites {
261
+ /**
262
+ *
263
+ * @type {Array<ProjectInvite>}
264
+ * @memberof ProjectInvites
265
+ */
266
+ 'invites': Array<ProjectInvite>;
267
+ /**
268
+ * The token referencing the next page number
269
+ * @type {number}
270
+ * @memberof ProjectInvites
271
+ */
272
+ 'nextPageToken': number | null;
273
+ }
274
+ /**
275
+ *
276
+ * @export
277
+ * @interface ProjectLogo
278
+ */
279
+ export interface ProjectLogo {
280
+ /**
281
+ *
282
+ * @type {string}
283
+ * @memberof ProjectLogo
284
+ */
285
+ 'url': string;
286
+ /**
287
+ *
288
+ * @type {{ [key: string]: string; }}
289
+ * @memberof ProjectLogo
290
+ */
291
+ 'meta': {
292
+ [key: string]: string;
293
+ };
294
+ }
295
+ /**
296
+ *
297
+ * @export
298
+ * @interface ProjectManager
299
+ */
300
+ export interface ProjectManager {
301
+ /**
302
+ *
303
+ * @type {string}
304
+ * @memberof ProjectManager
305
+ */
306
+ 'id': string;
307
+ /**
308
+ *
309
+ * @type {string}
310
+ * @memberof ProjectManager
311
+ */
312
+ 'name': string;
313
+ /**
314
+ *
315
+ * @type {Array<ProjectLogo>}
316
+ * @memberof ProjectManager
317
+ */
318
+ 'logos': Array<ProjectLogo>;
319
+ }
320
+ /**
321
+ *
322
+ * @export
323
+ * @interface ProjectUser
324
+ */
325
+ export interface ProjectUser {
326
+ /**
327
+ *
328
+ * @type {string}
329
+ * @memberof ProjectUser
330
+ */
331
+ 'id': string;
332
+ /**
333
+ *
334
+ * @type {string}
335
+ * @memberof ProjectUser
336
+ */
337
+ 'userRef': string;
338
+ /**
339
+ *
340
+ * @type {string}
341
+ * @memberof ProjectUser
342
+ */
343
+ 'type'?: ProjectUserTypeEnum;
344
+ /**
345
+ *
346
+ * @type {string}
347
+ * @memberof ProjectUser
348
+ */
349
+ 'firstName': string | null;
350
+ /**
351
+ *
352
+ * @type {string}
353
+ * @memberof ProjectUser
354
+ */
355
+ 'lastName': string | null;
356
+ /**
357
+ *
358
+ * @type {string}
359
+ * @memberof ProjectUser
360
+ */
361
+ 'username': string | null;
362
+ /**
363
+ *
364
+ * @type {string}
365
+ * @memberof ProjectUser
366
+ */
367
+ 'email': string;
368
+ /**
369
+ *
370
+ * @type {ProjectUserAvatar}
371
+ * @memberof ProjectUser
372
+ */
373
+ 'avatar': ProjectUserAvatar;
374
+ }
375
+ export declare const ProjectUserTypeEnum: {
376
+ readonly User: "user";
377
+ readonly Service: "service";
378
+ readonly Ghost: "ghost";
379
+ };
380
+ export type ProjectUserTypeEnum = typeof ProjectUserTypeEnum[keyof typeof ProjectUserTypeEnum];
381
+ /**
382
+ *
383
+ * @export
384
+ * @interface ProjectUserAvatar
385
+ */
386
+ export interface ProjectUserAvatar {
387
+ /**
388
+ *
389
+ * @type {string}
390
+ * @memberof ProjectUserAvatar
391
+ */
392
+ 'original'?: string | null;
393
+ }
394
+ /**
395
+ *
396
+ * @export
397
+ * @interface ProjectUsers
398
+ */
399
+ export interface ProjectUsers {
400
+ /**
401
+ *
402
+ * @type {Array<ProjectUser>}
403
+ * @memberof ProjectUsers
404
+ */
405
+ 'users': Array<ProjectUser>;
406
+ /**
407
+ * The token referencing the next page number
408
+ * @type {number}
409
+ * @memberof ProjectUsers
410
+ */
411
+ 'nextPageToken': number | null;
412
+ }
413
+ /**
414
+ *
415
+ * @export
416
+ * @interface ProjectsResponse
417
+ */
418
+ export interface ProjectsResponse {
419
+ /**
420
+ *
421
+ * @type {Array<Project>}
422
+ * @memberof ProjectsResponse
423
+ */
424
+ 'projects': Array<Project>;
425
+ }
426
+ /**
427
+ *
428
+ * @export
429
+ * @interface SetupIntegrationRequest
430
+ */
431
+ export interface SetupIntegrationRequest {
432
+ /**
433
+ *
434
+ * @type {object}
435
+ * @memberof SetupIntegrationRequest
436
+ */
437
+ 'config': object;
438
+ }
439
+ /**
440
+ *
441
+ * @export
442
+ * @interface UpdateProjectRequest
443
+ */
444
+ export interface UpdateProjectRequest {
445
+ /**
446
+ *
447
+ * @type {string}
448
+ * @memberof UpdateProjectRequest
449
+ */
450
+ 'name'?: string;
451
+ /**
452
+ *
453
+ * @type {Array<ProjectLogo>}
454
+ * @memberof UpdateProjectRequest
455
+ */
456
+ 'logos'?: Array<ProjectLogo>;
457
+ }
458
+ /**
459
+ * ProjectsApi - axios parameter creator
460
+ * @export
461
+ */
462
+ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
463
+ /**
464
+ * Creates an invite for the project
465
+ * @summary Creates an invite
466
+ * @param {string} project Projects unique identifier
467
+ * @param {CreateInviteRequest} createInviteRequest Request body to invite user
468
+ * @param {*} [options] Override http request option.
469
+ * @throws {RequiredError}
470
+ */
471
+ createInvite: (project: string, createInviteRequest: CreateInviteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
472
+ /**
473
+ * Create a new projects
474
+ * @summary Create project
475
+ * @param {CreateProjectRequest} createProjectRequest Project to create
476
+ * @param {*} [options] Override http request option.
477
+ * @throws {RequiredError}
478
+ */
479
+ createProject: (createProjectRequest: CreateProjectRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
480
+ /**
481
+ * Deletes an invite to the project
482
+ * @summary Deletes an invite
483
+ * @param {string} project Projects unique identifier
484
+ * @param {string} invite The unique id of the invite
485
+ * @param {*} [options] Override http request option.
486
+ * @throws {RequiredError}
487
+ */
488
+ deleteInvite: (project: string, invite: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
489
+ /**
490
+ * Delete a project
491
+ * @summary Delete project
492
+ * @param {string} project Projects unique identifier
493
+ * @param {*} [options] Override http request option.
494
+ * @throws {RequiredError}
495
+ */
496
+ deleteProject: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
497
+ /**
498
+ * Delete a project user by ID
499
+ * @summary Delete a user by ID
500
+ * @param {string} project Projects unique identifier
501
+ * @param {string} user the unique id of the user
502
+ * @param {*} [options] Override http request option.
503
+ * @throws {RequiredError}
504
+ */
505
+ deleteUser: (project: string, user: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
506
+ /**
507
+ * Get an integration
508
+ * @summary Get integration
509
+ * @param {string} project Projects unique identifier
510
+ * @param {string} integration Integrations unique code
511
+ * @param {*} [options] Override http request option.
512
+ * @throws {RequiredError}
513
+ */
514
+ getIntegration: (project: string, integration: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
515
+ /**
516
+ * List all integrations installed on a project
517
+ * @summary List integrations
518
+ * @param {string} project Projects unique identifier
519
+ * @param {string} [withUninstalled] Include soft deleted integrations
520
+ * @param {*} [options] Override http request option.
521
+ * @throws {RequiredError}
522
+ */
523
+ getIntegrations: (project: string, withUninstalled?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
524
+ /**
525
+ * List the invites associated with a project
526
+ * @summary List Invites
527
+ * @param {string} project Projects unique identifier
528
+ * @param {string} [search] Search term used to filter results by
529
+ * @param {number} [pageToken] Page reference token
530
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it could be smaller if there are less records than the max page size.
531
+ * @param {*} [options] Override http request option.
532
+ * @throws {RequiredError}
533
+ */
534
+ getInvites: (project: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
535
+ /**
536
+ * Get a project
537
+ * @summary Get project
538
+ * @param {string} project Projects unique identifier
539
+ * @param {*} [options] Override http request option.
540
+ * @throws {RequiredError}
541
+ */
542
+ getProject: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
543
+ /**
544
+ * List all projects available
545
+ * @summary List projects
546
+ * @param {*} [options] Override http request option.
547
+ * @throws {RequiredError}
548
+ */
549
+ getProjects: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
550
+ /**
551
+ * Get a project user by id
552
+ * @summary Get a user
553
+ * @param {string} project Projects unique identifier
554
+ * @param {string} user the unique id of the user
555
+ * @param {*} [options] Override http request option.
556
+ * @throws {RequiredError}
557
+ */
558
+ getUser: (project: string, user: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
559
+ /**
560
+ * List the users associated with a project
561
+ * @summary List project users
562
+ * @param {string} project Projects unique identifier
563
+ * @param {string} [search] Search term used to filter results by
564
+ * @param {number} [pageToken] Page reference token
565
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it could be smaller if there are less records than the max page size.
566
+ * @param {*} [options] Override http request option.
567
+ * @throws {RequiredError}
568
+ */
569
+ getUsers: (project: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
570
+ /**
571
+ * Install an integration on the project
572
+ * @summary Install integration
573
+ * @param {string} project Projects unique identifier
574
+ * @param {string} integration Integrations unique code
575
+ * @param {*} [options] Override http request option.
576
+ * @throws {RequiredError}
577
+ */
578
+ installIntegration: (project: string, integration: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
579
+ /**
580
+ * Install an integration template on the project
581
+ * @summary Install integration template
582
+ * @param {string} project Projects unique identifier
583
+ * @param {string} template Templates unique code
584
+ * @param {InstallTemplateRequest} installTemplateRequest Request body to install template
585
+ * @param {*} [options] Override http request option.
586
+ * @throws {RequiredError}
587
+ */
588
+ installTemplate: (project: string, template: string, installTemplateRequest: InstallTemplateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
589
+ /**
590
+ * Setup an integration on the project
591
+ * @summary Setup integration
592
+ * @param {string} project Projects unique identifier
593
+ * @param {string} integration Integrations unique code
594
+ * @param {SetupIntegrationRequest} setupIntegrationRequest Request body to setup integration
595
+ * @param {*} [options] Override http request option.
596
+ * @throws {RequiredError}
597
+ */
598
+ setupIntegration: (project: string, integration: string, setupIntegrationRequest: SetupIntegrationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
599
+ /**
600
+ * Uninstall a projects integration
601
+ * @summary Uninstall integration
602
+ * @param {string} project Projects unique identifier
603
+ * @param {string} integration Integrations unique code
604
+ * @param {*} [options] Override http request option.
605
+ * @throws {RequiredError}
606
+ */
607
+ uninstallIntegration: (project: string, integration: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
608
+ /**
609
+ * Update a project
610
+ * @summary Update project
611
+ * @param {string} project Projects unique identifier
612
+ * @param {UpdateProjectRequest} updateProjectRequest Updated project data
613
+ * @param {*} [options] Override http request option.
614
+ * @throws {RequiredError}
615
+ */
616
+ updateProject: (project: string, updateProjectRequest: UpdateProjectRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
617
+ };
618
+ /**
619
+ * ProjectsApi - functional programming interface
620
+ * @export
621
+ */
622
+ export declare const ProjectsApiFp: (configuration?: Configuration) => {
623
+ /**
624
+ * Creates an invite for the project
625
+ * @summary Creates an invite
626
+ * @param {string} project Projects unique identifier
627
+ * @param {CreateInviteRequest} createInviteRequest Request body to invite user
628
+ * @param {*} [options] Override http request option.
629
+ * @throws {RequiredError}
630
+ */
631
+ createInvite(project: string, createInviteRequest: CreateInviteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectInvite>>;
632
+ /**
633
+ * Create a new projects
634
+ * @summary Create project
635
+ * @param {CreateProjectRequest} createProjectRequest Project to create
636
+ * @param {*} [options] Override http request option.
637
+ * @throws {RequiredError}
638
+ */
639
+ createProject(createProjectRequest: CreateProjectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Project>>;
640
+ /**
641
+ * Deletes an invite to the project
642
+ * @summary Deletes an invite
643
+ * @param {string} project Projects unique identifier
644
+ * @param {string} invite The unique id of the invite
645
+ * @param {*} [options] Override http request option.
646
+ * @throws {RequiredError}
647
+ */
648
+ deleteInvite(project: string, invite: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
649
+ /**
650
+ * Delete a project
651
+ * @summary Delete project
652
+ * @param {string} project Projects unique identifier
653
+ * @param {*} [options] Override http request option.
654
+ * @throws {RequiredError}
655
+ */
656
+ deleteProject(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
657
+ /**
658
+ * Delete a project user by ID
659
+ * @summary Delete a user by ID
660
+ * @param {string} project Projects unique identifier
661
+ * @param {string} user the unique id of the user
662
+ * @param {*} [options] Override http request option.
663
+ * @throws {RequiredError}
664
+ */
665
+ deleteUser(project: string, user: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
666
+ /**
667
+ * Get an integration
668
+ * @summary Get integration
669
+ * @param {string} project Projects unique identifier
670
+ * @param {string} integration Integrations unique code
671
+ * @param {*} [options] Override http request option.
672
+ * @throws {RequiredError}
673
+ */
674
+ getIntegration(project: string, integration: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Integration>>;
675
+ /**
676
+ * List all integrations installed on a project
677
+ * @summary List integrations
678
+ * @param {string} project Projects unique identifier
679
+ * @param {string} [withUninstalled] Include soft deleted integrations
680
+ * @param {*} [options] Override http request option.
681
+ * @throws {RequiredError}
682
+ */
683
+ getIntegrations(project: string, withUninstalled?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationsResponse>>;
684
+ /**
685
+ * List the invites associated with a project
686
+ * @summary List Invites
687
+ * @param {string} project Projects unique identifier
688
+ * @param {string} [search] Search term used to filter results by
689
+ * @param {number} [pageToken] Page reference token
690
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it could be smaller if there are less records than the max page size.
691
+ * @param {*} [options] Override http request option.
692
+ * @throws {RequiredError}
693
+ */
694
+ getInvites(project: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectInvites>>;
695
+ /**
696
+ * Get a project
697
+ * @summary Get project
698
+ * @param {string} project Projects unique identifier
699
+ * @param {*} [options] Override http request option.
700
+ * @throws {RequiredError}
701
+ */
702
+ getProject(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Project>>;
703
+ /**
704
+ * List all projects available
705
+ * @summary List projects
706
+ * @param {*} [options] Override http request option.
707
+ * @throws {RequiredError}
708
+ */
709
+ getProjects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>>;
710
+ /**
711
+ * Get a project user by id
712
+ * @summary Get a user
713
+ * @param {string} project Projects unique identifier
714
+ * @param {string} user the unique id of the user
715
+ * @param {*} [options] Override http request option.
716
+ * @throws {RequiredError}
717
+ */
718
+ getUser(project: string, user: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectUser>>;
719
+ /**
720
+ * List the users associated with a project
721
+ * @summary List project users
722
+ * @param {string} project Projects unique identifier
723
+ * @param {string} [search] Search term used to filter results by
724
+ * @param {number} [pageToken] Page reference token
725
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it could be smaller if there are less records than the max page size.
726
+ * @param {*} [options] Override http request option.
727
+ * @throws {RequiredError}
728
+ */
729
+ getUsers(project: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectUsers>>;
730
+ /**
731
+ * Install an integration on the project
732
+ * @summary Install integration
733
+ * @param {string} project Projects unique identifier
734
+ * @param {string} integration Integrations unique code
735
+ * @param {*} [options] Override http request option.
736
+ * @throws {RequiredError}
737
+ */
738
+ installIntegration(project: string, integration: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Integration>>;
739
+ /**
740
+ * Install an integration template on the project
741
+ * @summary Install integration template
742
+ * @param {string} project Projects unique identifier
743
+ * @param {string} template Templates unique code
744
+ * @param {InstallTemplateRequest} installTemplateRequest Request body to install template
745
+ * @param {*} [options] Override http request option.
746
+ * @throws {RequiredError}
747
+ */
748
+ installTemplate(project: string, template: string, installTemplateRequest: InstallTemplateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationsResponse>>;
749
+ /**
750
+ * Setup an integration on the project
751
+ * @summary Setup integration
752
+ * @param {string} project Projects unique identifier
753
+ * @param {string} integration Integrations unique code
754
+ * @param {SetupIntegrationRequest} setupIntegrationRequest Request body to setup integration
755
+ * @param {*} [options] Override http request option.
756
+ * @throws {RequiredError}
757
+ */
758
+ setupIntegration(project: string, integration: string, setupIntegrationRequest: SetupIntegrationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Integration>>;
759
+ /**
760
+ * Uninstall a projects integration
761
+ * @summary Uninstall integration
762
+ * @param {string} project Projects unique identifier
763
+ * @param {string} integration Integrations unique code
764
+ * @param {*} [options] Override http request option.
765
+ * @throws {RequiredError}
766
+ */
767
+ uninstallIntegration(project: string, integration: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
768
+ /**
769
+ * Update a project
770
+ * @summary Update project
771
+ * @param {string} project Projects unique identifier
772
+ * @param {UpdateProjectRequest} updateProjectRequest Updated project data
773
+ * @param {*} [options] Override http request option.
774
+ * @throws {RequiredError}
775
+ */
776
+ updateProject(project: string, updateProjectRequest: UpdateProjectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Project>>;
777
+ };
778
+ /**
779
+ * ProjectsApi - factory interface
780
+ * @export
781
+ */
782
+ export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
783
+ /**
784
+ * Creates an invite for the project
785
+ * @summary Creates an invite
786
+ * @param {ProjectsApiCreateInviteRequest} requestParameters Request parameters.
787
+ * @param {*} [options] Override http request option.
788
+ * @throws {RequiredError}
789
+ */
790
+ createInvite(requestParameters: ProjectsApiCreateInviteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectInvite>;
791
+ /**
792
+ * Create a new projects
793
+ * @summary Create project
794
+ * @param {ProjectsApiCreateProjectRequest} requestParameters Request parameters.
795
+ * @param {*} [options] Override http request option.
796
+ * @throws {RequiredError}
797
+ */
798
+ createProject(requestParameters: ProjectsApiCreateProjectRequest, options?: RawAxiosRequestConfig): AxiosPromise<Project>;
799
+ /**
800
+ * Deletes an invite to the project
801
+ * @summary Deletes an invite
802
+ * @param {ProjectsApiDeleteInviteRequest} requestParameters Request parameters.
803
+ * @param {*} [options] Override http request option.
804
+ * @throws {RequiredError}
805
+ */
806
+ deleteInvite(requestParameters: ProjectsApiDeleteInviteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
807
+ /**
808
+ * Delete a project
809
+ * @summary Delete project
810
+ * @param {ProjectsApiDeleteProjectRequest} requestParameters Request parameters.
811
+ * @param {*} [options] Override http request option.
812
+ * @throws {RequiredError}
813
+ */
814
+ deleteProject(requestParameters: ProjectsApiDeleteProjectRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
815
+ /**
816
+ * Delete a project user by ID
817
+ * @summary Delete a user by ID
818
+ * @param {ProjectsApiDeleteUserRequest} requestParameters Request parameters.
819
+ * @param {*} [options] Override http request option.
820
+ * @throws {RequiredError}
821
+ */
822
+ deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
823
+ /**
824
+ * Get an integration
825
+ * @summary Get integration
826
+ * @param {ProjectsApiGetIntegrationRequest} requestParameters Request parameters.
827
+ * @param {*} [options] Override http request option.
828
+ * @throws {RequiredError}
829
+ */
830
+ getIntegration(requestParameters: ProjectsApiGetIntegrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Integration>;
831
+ /**
832
+ * List all integrations installed on a project
833
+ * @summary List integrations
834
+ * @param {ProjectsApiGetIntegrationsRequest} requestParameters Request parameters.
835
+ * @param {*} [options] Override http request option.
836
+ * @throws {RequiredError}
837
+ */
838
+ getIntegrations(requestParameters: ProjectsApiGetIntegrationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationsResponse>;
839
+ /**
840
+ * List the invites associated with a project
841
+ * @summary List Invites
842
+ * @param {ProjectsApiGetInvitesRequest} requestParameters Request parameters.
843
+ * @param {*} [options] Override http request option.
844
+ * @throws {RequiredError}
845
+ */
846
+ getInvites(requestParameters: ProjectsApiGetInvitesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectInvites>;
847
+ /**
848
+ * Get a project
849
+ * @summary Get project
850
+ * @param {ProjectsApiGetProjectRequest} requestParameters Request parameters.
851
+ * @param {*} [options] Override http request option.
852
+ * @throws {RequiredError}
853
+ */
854
+ getProject(requestParameters: ProjectsApiGetProjectRequest, options?: RawAxiosRequestConfig): AxiosPromise<Project>;
855
+ /**
856
+ * List all projects available
857
+ * @summary List projects
858
+ * @param {*} [options] Override http request option.
859
+ * @throws {RequiredError}
860
+ */
861
+ getProjects(options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse>;
862
+ /**
863
+ * Get a project user by id
864
+ * @summary Get a user
865
+ * @param {ProjectsApiGetUserRequest} requestParameters Request parameters.
866
+ * @param {*} [options] Override http request option.
867
+ * @throws {RequiredError}
868
+ */
869
+ getUser(requestParameters: ProjectsApiGetUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser>;
870
+ /**
871
+ * List the users associated with a project
872
+ * @summary List project users
873
+ * @param {ProjectsApiGetUsersRequest} requestParameters Request parameters.
874
+ * @param {*} [options] Override http request option.
875
+ * @throws {RequiredError}
876
+ */
877
+ getUsers(requestParameters: ProjectsApiGetUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUsers>;
878
+ /**
879
+ * Install an integration on the project
880
+ * @summary Install integration
881
+ * @param {ProjectsApiInstallIntegrationRequest} requestParameters Request parameters.
882
+ * @param {*} [options] Override http request option.
883
+ * @throws {RequiredError}
884
+ */
885
+ installIntegration(requestParameters: ProjectsApiInstallIntegrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Integration>;
886
+ /**
887
+ * Install an integration template on the project
888
+ * @summary Install integration template
889
+ * @param {ProjectsApiInstallTemplateRequest} requestParameters Request parameters.
890
+ * @param {*} [options] Override http request option.
891
+ * @throws {RequiredError}
892
+ */
893
+ installTemplate(requestParameters: ProjectsApiInstallTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationsResponse>;
894
+ /**
895
+ * Setup an integration on the project
896
+ * @summary Setup integration
897
+ * @param {ProjectsApiSetupIntegrationRequest} requestParameters Request parameters.
898
+ * @param {*} [options] Override http request option.
899
+ * @throws {RequiredError}
900
+ */
901
+ setupIntegration(requestParameters: ProjectsApiSetupIntegrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Integration>;
902
+ /**
903
+ * Uninstall a projects integration
904
+ * @summary Uninstall integration
905
+ * @param {ProjectsApiUninstallIntegrationRequest} requestParameters Request parameters.
906
+ * @param {*} [options] Override http request option.
907
+ * @throws {RequiredError}
908
+ */
909
+ uninstallIntegration(requestParameters: ProjectsApiUninstallIntegrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
910
+ /**
911
+ * Update a project
912
+ * @summary Update project
913
+ * @param {ProjectsApiUpdateProjectRequest} requestParameters Request parameters.
914
+ * @param {*} [options] Override http request option.
915
+ * @throws {RequiredError}
916
+ */
917
+ updateProject(requestParameters: ProjectsApiUpdateProjectRequest, options?: RawAxiosRequestConfig): AxiosPromise<Project>;
918
+ };
919
+ /**
920
+ * Request parameters for createInvite operation in ProjectsApi.
921
+ * @export
922
+ * @interface ProjectsApiCreateInviteRequest
923
+ */
924
+ export interface ProjectsApiCreateInviteRequest {
925
+ /**
926
+ * Projects unique identifier
927
+ * @type {string}
928
+ * @memberof ProjectsApiCreateInvite
929
+ */
930
+ readonly project: string;
931
+ /**
932
+ * Request body to invite user
933
+ * @type {CreateInviteRequest}
934
+ * @memberof ProjectsApiCreateInvite
935
+ */
936
+ readonly createInviteRequest: CreateInviteRequest;
937
+ }
938
+ /**
939
+ * Request parameters for createProject operation in ProjectsApi.
940
+ * @export
941
+ * @interface ProjectsApiCreateProjectRequest
942
+ */
943
+ export interface ProjectsApiCreateProjectRequest {
944
+ /**
945
+ * Project to create
946
+ * @type {CreateProjectRequest}
947
+ * @memberof ProjectsApiCreateProject
948
+ */
949
+ readonly createProjectRequest: CreateProjectRequest;
950
+ }
951
+ /**
952
+ * Request parameters for deleteInvite operation in ProjectsApi.
953
+ * @export
954
+ * @interface ProjectsApiDeleteInviteRequest
955
+ */
956
+ export interface ProjectsApiDeleteInviteRequest {
957
+ /**
958
+ * Projects unique identifier
959
+ * @type {string}
960
+ * @memberof ProjectsApiDeleteInvite
961
+ */
962
+ readonly project: string;
963
+ /**
964
+ * The unique id of the invite
965
+ * @type {string}
966
+ * @memberof ProjectsApiDeleteInvite
967
+ */
968
+ readonly invite: string;
969
+ }
970
+ /**
971
+ * Request parameters for deleteProject operation in ProjectsApi.
972
+ * @export
973
+ * @interface ProjectsApiDeleteProjectRequest
974
+ */
975
+ export interface ProjectsApiDeleteProjectRequest {
976
+ /**
977
+ * Projects unique identifier
978
+ * @type {string}
979
+ * @memberof ProjectsApiDeleteProject
980
+ */
981
+ readonly project: string;
982
+ }
983
+ /**
984
+ * Request parameters for deleteUser operation in ProjectsApi.
985
+ * @export
986
+ * @interface ProjectsApiDeleteUserRequest
987
+ */
988
+ export interface ProjectsApiDeleteUserRequest {
989
+ /**
990
+ * Projects unique identifier
991
+ * @type {string}
992
+ * @memberof ProjectsApiDeleteUser
993
+ */
994
+ readonly project: string;
995
+ /**
996
+ * the unique id of the user
997
+ * @type {string}
998
+ * @memberof ProjectsApiDeleteUser
999
+ */
1000
+ readonly user: string;
1001
+ }
1002
+ /**
1003
+ * Request parameters for getIntegration operation in ProjectsApi.
1004
+ * @export
1005
+ * @interface ProjectsApiGetIntegrationRequest
1006
+ */
1007
+ export interface ProjectsApiGetIntegrationRequest {
1008
+ /**
1009
+ * Projects unique identifier
1010
+ * @type {string}
1011
+ * @memberof ProjectsApiGetIntegration
1012
+ */
1013
+ readonly project: string;
1014
+ /**
1015
+ * Integrations unique code
1016
+ * @type {string}
1017
+ * @memberof ProjectsApiGetIntegration
1018
+ */
1019
+ readonly integration: string;
1020
+ }
1021
+ /**
1022
+ * Request parameters for getIntegrations operation in ProjectsApi.
1023
+ * @export
1024
+ * @interface ProjectsApiGetIntegrationsRequest
1025
+ */
1026
+ export interface ProjectsApiGetIntegrationsRequest {
1027
+ /**
1028
+ * Projects unique identifier
1029
+ * @type {string}
1030
+ * @memberof ProjectsApiGetIntegrations
1031
+ */
1032
+ readonly project: string;
1033
+ /**
1034
+ * Include soft deleted integrations
1035
+ * @type {string}
1036
+ * @memberof ProjectsApiGetIntegrations
1037
+ */
1038
+ readonly withUninstalled?: string;
1039
+ }
1040
+ /**
1041
+ * Request parameters for getInvites operation in ProjectsApi.
1042
+ * @export
1043
+ * @interface ProjectsApiGetInvitesRequest
1044
+ */
1045
+ export interface ProjectsApiGetInvitesRequest {
1046
+ /**
1047
+ * Projects unique identifier
1048
+ * @type {string}
1049
+ * @memberof ProjectsApiGetInvites
1050
+ */
1051
+ readonly project: string;
1052
+ /**
1053
+ * Search term used to filter results by
1054
+ * @type {string}
1055
+ * @memberof ProjectsApiGetInvites
1056
+ */
1057
+ readonly search?: string;
1058
+ /**
1059
+ * Page reference token
1060
+ * @type {number}
1061
+ * @memberof ProjectsApiGetInvites
1062
+ */
1063
+ readonly pageToken?: number;
1064
+ /**
1065
+ * Max page size. This is the maximum page size that will be returned, but it could be smaller if there are less records than the max page size.
1066
+ * @type {number}
1067
+ * @memberof ProjectsApiGetInvites
1068
+ */
1069
+ readonly pageSize?: number;
1070
+ }
1071
+ /**
1072
+ * Request parameters for getProject operation in ProjectsApi.
1073
+ * @export
1074
+ * @interface ProjectsApiGetProjectRequest
1075
+ */
1076
+ export interface ProjectsApiGetProjectRequest {
1077
+ /**
1078
+ * Projects unique identifier
1079
+ * @type {string}
1080
+ * @memberof ProjectsApiGetProject
1081
+ */
1082
+ readonly project: string;
1083
+ }
1084
+ /**
1085
+ * Request parameters for getUser operation in ProjectsApi.
1086
+ * @export
1087
+ * @interface ProjectsApiGetUserRequest
1088
+ */
1089
+ export interface ProjectsApiGetUserRequest {
1090
+ /**
1091
+ * Projects unique identifier
1092
+ * @type {string}
1093
+ * @memberof ProjectsApiGetUser
1094
+ */
1095
+ readonly project: string;
1096
+ /**
1097
+ * the unique id of the user
1098
+ * @type {string}
1099
+ * @memberof ProjectsApiGetUser
1100
+ */
1101
+ readonly user: string;
1102
+ }
1103
+ /**
1104
+ * Request parameters for getUsers operation in ProjectsApi.
1105
+ * @export
1106
+ * @interface ProjectsApiGetUsersRequest
1107
+ */
1108
+ export interface ProjectsApiGetUsersRequest {
1109
+ /**
1110
+ * Projects unique identifier
1111
+ * @type {string}
1112
+ * @memberof ProjectsApiGetUsers
1113
+ */
1114
+ readonly project: string;
1115
+ /**
1116
+ * Search term used to filter results by
1117
+ * @type {string}
1118
+ * @memberof ProjectsApiGetUsers
1119
+ */
1120
+ readonly search?: string;
1121
+ /**
1122
+ * Page reference token
1123
+ * @type {number}
1124
+ * @memberof ProjectsApiGetUsers
1125
+ */
1126
+ readonly pageToken?: number;
1127
+ /**
1128
+ * Max page size. This is the maximum page size that will be returned, but it could be smaller if there are less records than the max page size.
1129
+ * @type {number}
1130
+ * @memberof ProjectsApiGetUsers
1131
+ */
1132
+ readonly pageSize?: number;
1133
+ }
1134
+ /**
1135
+ * Request parameters for installIntegration operation in ProjectsApi.
1136
+ * @export
1137
+ * @interface ProjectsApiInstallIntegrationRequest
1138
+ */
1139
+ export interface ProjectsApiInstallIntegrationRequest {
1140
+ /**
1141
+ * Projects unique identifier
1142
+ * @type {string}
1143
+ * @memberof ProjectsApiInstallIntegration
1144
+ */
1145
+ readonly project: string;
1146
+ /**
1147
+ * Integrations unique code
1148
+ * @type {string}
1149
+ * @memberof ProjectsApiInstallIntegration
1150
+ */
1151
+ readonly integration: string;
1152
+ }
1153
+ /**
1154
+ * Request parameters for installTemplate operation in ProjectsApi.
1155
+ * @export
1156
+ * @interface ProjectsApiInstallTemplateRequest
1157
+ */
1158
+ export interface ProjectsApiInstallTemplateRequest {
1159
+ /**
1160
+ * Projects unique identifier
1161
+ * @type {string}
1162
+ * @memberof ProjectsApiInstallTemplate
1163
+ */
1164
+ readonly project: string;
1165
+ /**
1166
+ * Templates unique code
1167
+ * @type {string}
1168
+ * @memberof ProjectsApiInstallTemplate
1169
+ */
1170
+ readonly template: string;
1171
+ /**
1172
+ * Request body to install template
1173
+ * @type {InstallTemplateRequest}
1174
+ * @memberof ProjectsApiInstallTemplate
1175
+ */
1176
+ readonly installTemplateRequest: InstallTemplateRequest;
1177
+ }
1178
+ /**
1179
+ * Request parameters for setupIntegration operation in ProjectsApi.
1180
+ * @export
1181
+ * @interface ProjectsApiSetupIntegrationRequest
1182
+ */
1183
+ export interface ProjectsApiSetupIntegrationRequest {
1184
+ /**
1185
+ * Projects unique identifier
1186
+ * @type {string}
1187
+ * @memberof ProjectsApiSetupIntegration
1188
+ */
1189
+ readonly project: string;
1190
+ /**
1191
+ * Integrations unique code
1192
+ * @type {string}
1193
+ * @memberof ProjectsApiSetupIntegration
1194
+ */
1195
+ readonly integration: string;
1196
+ /**
1197
+ * Request body to setup integration
1198
+ * @type {SetupIntegrationRequest}
1199
+ * @memberof ProjectsApiSetupIntegration
1200
+ */
1201
+ readonly setupIntegrationRequest: SetupIntegrationRequest;
1202
+ }
1203
+ /**
1204
+ * Request parameters for uninstallIntegration operation in ProjectsApi.
1205
+ * @export
1206
+ * @interface ProjectsApiUninstallIntegrationRequest
1207
+ */
1208
+ export interface ProjectsApiUninstallIntegrationRequest {
1209
+ /**
1210
+ * Projects unique identifier
1211
+ * @type {string}
1212
+ * @memberof ProjectsApiUninstallIntegration
1213
+ */
1214
+ readonly project: string;
1215
+ /**
1216
+ * Integrations unique code
1217
+ * @type {string}
1218
+ * @memberof ProjectsApiUninstallIntegration
1219
+ */
1220
+ readonly integration: string;
1221
+ }
1222
+ /**
1223
+ * Request parameters for updateProject operation in ProjectsApi.
1224
+ * @export
1225
+ * @interface ProjectsApiUpdateProjectRequest
1226
+ */
1227
+ export interface ProjectsApiUpdateProjectRequest {
1228
+ /**
1229
+ * Projects unique identifier
1230
+ * @type {string}
1231
+ * @memberof ProjectsApiUpdateProject
1232
+ */
1233
+ readonly project: string;
1234
+ /**
1235
+ * Updated project data
1236
+ * @type {UpdateProjectRequest}
1237
+ * @memberof ProjectsApiUpdateProject
1238
+ */
1239
+ readonly updateProjectRequest: UpdateProjectRequest;
1240
+ }
1241
+ /**
1242
+ * ProjectsApi - object-oriented interface
1243
+ * @export
1244
+ * @class ProjectsApi
1245
+ * @extends {BaseAPI}
1246
+ */
1247
+ export declare class ProjectsApi extends BaseAPI {
1248
+ /**
1249
+ * Creates an invite for the project
1250
+ * @summary Creates an invite
1251
+ * @param {ProjectsApiCreateInviteRequest} requestParameters Request parameters.
1252
+ * @param {*} [options] Override http request option.
1253
+ * @throws {RequiredError}
1254
+ * @memberof ProjectsApi
1255
+ */
1256
+ createInvite(requestParameters: ProjectsApiCreateInviteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInvite, any>>;
1257
+ /**
1258
+ * Create a new projects
1259
+ * @summary Create project
1260
+ * @param {ProjectsApiCreateProjectRequest} requestParameters Request parameters.
1261
+ * @param {*} [options] Override http request option.
1262
+ * @throws {RequiredError}
1263
+ * @memberof ProjectsApi
1264
+ */
1265
+ createProject(requestParameters: ProjectsApiCreateProjectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Project, any>>;
1266
+ /**
1267
+ * Deletes an invite to the project
1268
+ * @summary Deletes an invite
1269
+ * @param {ProjectsApiDeleteInviteRequest} requestParameters Request parameters.
1270
+ * @param {*} [options] Override http request option.
1271
+ * @throws {RequiredError}
1272
+ * @memberof ProjectsApi
1273
+ */
1274
+ deleteInvite(requestParameters: ProjectsApiDeleteInviteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1275
+ /**
1276
+ * Delete a project
1277
+ * @summary Delete project
1278
+ * @param {ProjectsApiDeleteProjectRequest} requestParameters Request parameters.
1279
+ * @param {*} [options] Override http request option.
1280
+ * @throws {RequiredError}
1281
+ * @memberof ProjectsApi
1282
+ */
1283
+ deleteProject(requestParameters: ProjectsApiDeleteProjectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1284
+ /**
1285
+ * Delete a project user by ID
1286
+ * @summary Delete a user by ID
1287
+ * @param {ProjectsApiDeleteUserRequest} requestParameters Request parameters.
1288
+ * @param {*} [options] Override http request option.
1289
+ * @throws {RequiredError}
1290
+ * @memberof ProjectsApi
1291
+ */
1292
+ deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1293
+ /**
1294
+ * Get an integration
1295
+ * @summary Get integration
1296
+ * @param {ProjectsApiGetIntegrationRequest} requestParameters Request parameters.
1297
+ * @param {*} [options] Override http request option.
1298
+ * @throws {RequiredError}
1299
+ * @memberof ProjectsApi
1300
+ */
1301
+ getIntegration(requestParameters: ProjectsApiGetIntegrationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Integration, any>>;
1302
+ /**
1303
+ * List all integrations installed on a project
1304
+ * @summary List integrations
1305
+ * @param {ProjectsApiGetIntegrationsRequest} requestParameters Request parameters.
1306
+ * @param {*} [options] Override http request option.
1307
+ * @throws {RequiredError}
1308
+ * @memberof ProjectsApi
1309
+ */
1310
+ getIntegrations(requestParameters: ProjectsApiGetIntegrationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationsResponse, any>>;
1311
+ /**
1312
+ * List the invites associated with a project
1313
+ * @summary List Invites
1314
+ * @param {ProjectsApiGetInvitesRequest} requestParameters Request parameters.
1315
+ * @param {*} [options] Override http request option.
1316
+ * @throws {RequiredError}
1317
+ * @memberof ProjectsApi
1318
+ */
1319
+ getInvites(requestParameters: ProjectsApiGetInvitesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInvites, any>>;
1320
+ /**
1321
+ * Get a project
1322
+ * @summary Get project
1323
+ * @param {ProjectsApiGetProjectRequest} requestParameters Request parameters.
1324
+ * @param {*} [options] Override http request option.
1325
+ * @throws {RequiredError}
1326
+ * @memberof ProjectsApi
1327
+ */
1328
+ getProject(requestParameters: ProjectsApiGetProjectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Project, any>>;
1329
+ /**
1330
+ * List all projects available
1331
+ * @summary List projects
1332
+ * @param {*} [options] Override http request option.
1333
+ * @throws {RequiredError}
1334
+ * @memberof ProjectsApi
1335
+ */
1336
+ getProjects(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectsResponse, any>>;
1337
+ /**
1338
+ * Get a project user by id
1339
+ * @summary Get a user
1340
+ * @param {ProjectsApiGetUserRequest} requestParameters Request parameters.
1341
+ * @param {*} [options] Override http request option.
1342
+ * @throws {RequiredError}
1343
+ * @memberof ProjectsApi
1344
+ */
1345
+ getUser(requestParameters: ProjectsApiGetUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectUser, any>>;
1346
+ /**
1347
+ * List the users associated with a project
1348
+ * @summary List project users
1349
+ * @param {ProjectsApiGetUsersRequest} requestParameters Request parameters.
1350
+ * @param {*} [options] Override http request option.
1351
+ * @throws {RequiredError}
1352
+ * @memberof ProjectsApi
1353
+ */
1354
+ getUsers(requestParameters: ProjectsApiGetUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectUsers, any>>;
1355
+ /**
1356
+ * Install an integration on the project
1357
+ * @summary Install integration
1358
+ * @param {ProjectsApiInstallIntegrationRequest} requestParameters Request parameters.
1359
+ * @param {*} [options] Override http request option.
1360
+ * @throws {RequiredError}
1361
+ * @memberof ProjectsApi
1362
+ */
1363
+ installIntegration(requestParameters: ProjectsApiInstallIntegrationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Integration, any>>;
1364
+ /**
1365
+ * Install an integration template on the project
1366
+ * @summary Install integration template
1367
+ * @param {ProjectsApiInstallTemplateRequest} requestParameters Request parameters.
1368
+ * @param {*} [options] Override http request option.
1369
+ * @throws {RequiredError}
1370
+ * @memberof ProjectsApi
1371
+ */
1372
+ installTemplate(requestParameters: ProjectsApiInstallTemplateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationsResponse, any>>;
1373
+ /**
1374
+ * Setup an integration on the project
1375
+ * @summary Setup integration
1376
+ * @param {ProjectsApiSetupIntegrationRequest} requestParameters Request parameters.
1377
+ * @param {*} [options] Override http request option.
1378
+ * @throws {RequiredError}
1379
+ * @memberof ProjectsApi
1380
+ */
1381
+ setupIntegration(requestParameters: ProjectsApiSetupIntegrationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Integration, any>>;
1382
+ /**
1383
+ * Uninstall a projects integration
1384
+ * @summary Uninstall integration
1385
+ * @param {ProjectsApiUninstallIntegrationRequest} requestParameters Request parameters.
1386
+ * @param {*} [options] Override http request option.
1387
+ * @throws {RequiredError}
1388
+ * @memberof ProjectsApi
1389
+ */
1390
+ uninstallIntegration(requestParameters: ProjectsApiUninstallIntegrationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1391
+ /**
1392
+ * Update a project
1393
+ * @summary Update project
1394
+ * @param {ProjectsApiUpdateProjectRequest} requestParameters Request parameters.
1395
+ * @param {*} [options] Override http request option.
1396
+ * @throws {RequiredError}
1397
+ * @memberof ProjectsApi
1398
+ */
1399
+ updateProject(requestParameters: ProjectsApiUpdateProjectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Project, any>>;
1400
+ }