@coscine/api-client 2.11.0 → 3.0.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 (140) hide show
  1. package/README.md +36 -11
  2. package/dist/index.js +4230 -4029
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.umd.js +4238 -4036
  5. package/dist/index.umd.js.map +1 -1
  6. package/dist/lib/Coscine.Api/api.js +6792 -0
  7. package/dist/lib/Coscine.Api/api.js.map +1 -0
  8. package/dist/lib/{Coscine.Api.Organization → Coscine.Api}/base.js +5 -5
  9. package/dist/lib/Coscine.Api/base.js.map +1 -0
  10. package/dist/lib/{Coscine.Api.Metadata → Coscine.Api}/common.js +4 -4
  11. package/dist/lib/Coscine.Api/common.js.map +1 -0
  12. package/dist/lib/{Coscine.Api.Metadata → Coscine.Api}/configuration.js +4 -4
  13. package/dist/lib/Coscine.Api/configuration.js.map +1 -0
  14. package/dist/lib/{Coscine.Api.Organization → Coscine.Api}/index.js +4 -4
  15. package/dist/lib/Coscine.Api/index.js.map +1 -0
  16. package/dist/lib/apis.js +65 -63
  17. package/dist/lib/apis.js.map +1 -1
  18. package/dist/lib/index.js +10 -9
  19. package/dist/lib/index.js.map +1 -1
  20. package/dist/types/Coscine.Api/api.d.ts +7160 -0
  21. package/dist/types/{Coscine.Api.Notices → Coscine.Api}/base.d.ts +4 -4
  22. package/dist/types/{Coscine.Api.Organization → Coscine.Api}/common.d.ts +4 -4
  23. package/dist/types/{Coscine.Api.Metadata → Coscine.Api}/configuration.d.ts +4 -4
  24. package/dist/types/Coscine.Api/index.d.ts +13 -0
  25. package/dist/types/apis.d.ts +104 -88
  26. package/dist/types/index.d.ts +209 -177
  27. package/package.json +3 -3
  28. package/dist/lib/Coscine.Api.Metadata/api.js +0 -450
  29. package/dist/lib/Coscine.Api.Metadata/api.js.map +0 -1
  30. package/dist/lib/Coscine.Api.Metadata/base.js +0 -65
  31. package/dist/lib/Coscine.Api.Metadata/base.js.map +0 -1
  32. package/dist/lib/Coscine.Api.Metadata/common.js.map +0 -1
  33. package/dist/lib/Coscine.Api.Metadata/configuration.js.map +0 -1
  34. package/dist/lib/Coscine.Api.Metadata/index.js +0 -32
  35. package/dist/lib/Coscine.Api.Metadata/index.js.map +0 -1
  36. package/dist/lib/Coscine.Api.Notices/api.js +0 -207
  37. package/dist/lib/Coscine.Api.Notices/api.js.map +0 -1
  38. package/dist/lib/Coscine.Api.Notices/base.js +0 -65
  39. package/dist/lib/Coscine.Api.Notices/base.js.map +0 -1
  40. package/dist/lib/Coscine.Api.Notices/common.js +0 -153
  41. package/dist/lib/Coscine.Api.Notices/common.js.map +0 -1
  42. package/dist/lib/Coscine.Api.Notices/configuration.js +0 -43
  43. package/dist/lib/Coscine.Api.Notices/configuration.js.map +0 -1
  44. package/dist/lib/Coscine.Api.Notices/index.js +0 -32
  45. package/dist/lib/Coscine.Api.Notices/index.js.map +0 -1
  46. package/dist/lib/Coscine.Api.Organization/api.js +0 -398
  47. package/dist/lib/Coscine.Api.Organization/api.js.map +0 -1
  48. package/dist/lib/Coscine.Api.Organization/base.js.map +0 -1
  49. package/dist/lib/Coscine.Api.Organization/common.js +0 -153
  50. package/dist/lib/Coscine.Api.Organization/common.js.map +0 -1
  51. package/dist/lib/Coscine.Api.Organization/configuration.js +0 -43
  52. package/dist/lib/Coscine.Api.Organization/configuration.js.map +0 -1
  53. package/dist/lib/Coscine.Api.Organization/index.js.map +0 -1
  54. package/dist/lib/Coscine.Api.Pid/api.js +0 -204
  55. package/dist/lib/Coscine.Api.Pid/api.js.map +0 -1
  56. package/dist/lib/Coscine.Api.Pid/base.js +0 -65
  57. package/dist/lib/Coscine.Api.Pid/base.js.map +0 -1
  58. package/dist/lib/Coscine.Api.Pid/common.js +0 -153
  59. package/dist/lib/Coscine.Api.Pid/common.js.map +0 -1
  60. package/dist/lib/Coscine.Api.Pid/configuration.js +0 -43
  61. package/dist/lib/Coscine.Api.Pid/configuration.js.map +0 -1
  62. package/dist/lib/Coscine.Api.Pid/index.js +0 -32
  63. package/dist/lib/Coscine.Api.Pid/index.js.map +0 -1
  64. package/dist/lib/Coscine.Api.Project/api.js +0 -2117
  65. package/dist/lib/Coscine.Api.Project/api.js.map +0 -1
  66. package/dist/lib/Coscine.Api.Project/base.js +0 -65
  67. package/dist/lib/Coscine.Api.Project/base.js.map +0 -1
  68. package/dist/lib/Coscine.Api.Project/common.js +0 -153
  69. package/dist/lib/Coscine.Api.Project/common.js.map +0 -1
  70. package/dist/lib/Coscine.Api.Project/configuration.js +0 -43
  71. package/dist/lib/Coscine.Api.Project/configuration.js.map +0 -1
  72. package/dist/lib/Coscine.Api.Project/index.js +0 -32
  73. package/dist/lib/Coscine.Api.Project/index.js.map +0 -1
  74. package/dist/lib/Coscine.Api.Resources/api.js +0 -1307
  75. package/dist/lib/Coscine.Api.Resources/api.js.map +0 -1
  76. package/dist/lib/Coscine.Api.Resources/base.js +0 -65
  77. package/dist/lib/Coscine.Api.Resources/base.js.map +0 -1
  78. package/dist/lib/Coscine.Api.Resources/common.js +0 -153
  79. package/dist/lib/Coscine.Api.Resources/common.js.map +0 -1
  80. package/dist/lib/Coscine.Api.Resources/configuration.js +0 -43
  81. package/dist/lib/Coscine.Api.Resources/configuration.js.map +0 -1
  82. package/dist/lib/Coscine.Api.Resources/index.js +0 -32
  83. package/dist/lib/Coscine.Api.Resources/index.js.map +0 -1
  84. package/dist/lib/Coscine.Api.Token/api.js +0 -385
  85. package/dist/lib/Coscine.Api.Token/api.js.map +0 -1
  86. package/dist/lib/Coscine.Api.Token/base.js +0 -65
  87. package/dist/lib/Coscine.Api.Token/base.js.map +0 -1
  88. package/dist/lib/Coscine.Api.Token/common.js +0 -153
  89. package/dist/lib/Coscine.Api.Token/common.js.map +0 -1
  90. package/dist/lib/Coscine.Api.Token/configuration.js +0 -43
  91. package/dist/lib/Coscine.Api.Token/configuration.js.map +0 -1
  92. package/dist/lib/Coscine.Api.Token/index.js +0 -32
  93. package/dist/lib/Coscine.Api.Token/index.js.map +0 -1
  94. package/dist/lib/Coscine.Api.User/api.js +0 -965
  95. package/dist/lib/Coscine.Api.User/api.js.map +0 -1
  96. package/dist/lib/Coscine.Api.User/base.js +0 -65
  97. package/dist/lib/Coscine.Api.User/base.js.map +0 -1
  98. package/dist/lib/Coscine.Api.User/common.js +0 -153
  99. package/dist/lib/Coscine.Api.User/common.js.map +0 -1
  100. package/dist/lib/Coscine.Api.User/configuration.js +0 -43
  101. package/dist/lib/Coscine.Api.User/configuration.js.map +0 -1
  102. package/dist/lib/Coscine.Api.User/index.js +0 -32
  103. package/dist/lib/Coscine.Api.User/index.js.map +0 -1
  104. package/dist/types/Coscine.Api.Metadata/api.d.ts +0 -299
  105. package/dist/types/Coscine.Api.Metadata/base.d.ts +0 -55
  106. package/dist/types/Coscine.Api.Metadata/common.d.ts +0 -65
  107. package/dist/types/Coscine.Api.Metadata/index.d.ts +0 -13
  108. package/dist/types/Coscine.Api.Notices/api.d.ts +0 -153
  109. package/dist/types/Coscine.Api.Notices/common.d.ts +0 -65
  110. package/dist/types/Coscine.Api.Notices/configuration.d.ts +0 -83
  111. package/dist/types/Coscine.Api.Notices/index.d.ts +0 -13
  112. package/dist/types/Coscine.Api.Organization/api.d.ts +0 -256
  113. package/dist/types/Coscine.Api.Organization/base.d.ts +0 -55
  114. package/dist/types/Coscine.Api.Organization/configuration.d.ts +0 -83
  115. package/dist/types/Coscine.Api.Organization/index.d.ts +0 -13
  116. package/dist/types/Coscine.Api.Pid/api.d.ts +0 -149
  117. package/dist/types/Coscine.Api.Pid/base.d.ts +0 -55
  118. package/dist/types/Coscine.Api.Pid/common.d.ts +0 -65
  119. package/dist/types/Coscine.Api.Pid/configuration.d.ts +0 -83
  120. package/dist/types/Coscine.Api.Pid/index.d.ts +0 -13
  121. package/dist/types/Coscine.Api.Project/api.d.ts +0 -1870
  122. package/dist/types/Coscine.Api.Project/base.d.ts +0 -55
  123. package/dist/types/Coscine.Api.Project/common.d.ts +0 -65
  124. package/dist/types/Coscine.Api.Project/configuration.d.ts +0 -83
  125. package/dist/types/Coscine.Api.Project/index.d.ts +0 -13
  126. package/dist/types/Coscine.Api.Resources/api.d.ts +0 -1733
  127. package/dist/types/Coscine.Api.Resources/base.d.ts +0 -55
  128. package/dist/types/Coscine.Api.Resources/common.d.ts +0 -65
  129. package/dist/types/Coscine.Api.Resources/configuration.d.ts +0 -83
  130. package/dist/types/Coscine.Api.Resources/index.d.ts +0 -13
  131. package/dist/types/Coscine.Api.Token/api.d.ts +0 -316
  132. package/dist/types/Coscine.Api.Token/base.d.ts +0 -55
  133. package/dist/types/Coscine.Api.Token/common.d.ts +0 -65
  134. package/dist/types/Coscine.Api.Token/configuration.d.ts +0 -83
  135. package/dist/types/Coscine.Api.Token/index.d.ts +0 -13
  136. package/dist/types/Coscine.Api.User/api.d.ts +0 -745
  137. package/dist/types/Coscine.Api.User/base.d.ts +0 -55
  138. package/dist/types/Coscine.Api.User/common.d.ts +0 -65
  139. package/dist/types/Coscine.Api.User/configuration.d.ts +0 -83
  140. package/dist/types/Coscine.Api.User/index.d.ts +0 -13
@@ -1,1733 +0,0 @@
1
- /**
2
- * Coscine.Api.Resources
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 3.5.0
6
- *
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 { Configuration } from './configuration';
13
- import { AxiosPromise, AxiosInstance } from 'axios';
14
- import { RequestArgs, BaseAPI } from './base';
15
- /**
16
- *
17
- * @export
18
- * @interface Access
19
- */
20
- export interface Access {
21
- /**
22
- *
23
- * @type {number}
24
- * @memberof Access
25
- */
26
- access_level?: number;
27
- /**
28
- *
29
- * @type {number}
30
- * @memberof Access
31
- */
32
- notification_level?: number;
33
- }
34
- /**
35
- *
36
- * @export
37
- * @interface Branch
38
- */
39
- export interface Branch {
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof Branch
44
- */
45
- name?: string | null;
46
- /**
47
- *
48
- * @type {boolean}
49
- * @memberof Branch
50
- */
51
- merged?: boolean;
52
- /**
53
- *
54
- * @type {boolean}
55
- * @memberof Branch
56
- */
57
- _protected?: boolean;
58
- /**
59
- *
60
- * @type {boolean}
61
- * @memberof Branch
62
- */
63
- _default?: boolean;
64
- /**
65
- *
66
- * @type {boolean}
67
- * @memberof Branch
68
- */
69
- developers_can_push?: boolean;
70
- /**
71
- *
72
- * @type {boolean}
73
- * @memberof Branch
74
- */
75
- developers_can_merge?: boolean;
76
- /**
77
- *
78
- * @type {boolean}
79
- * @memberof Branch
80
- */
81
- can_push?: boolean;
82
- /**
83
- *
84
- * @type {Commit}
85
- * @memberof Branch
86
- */
87
- commit?: Commit | null;
88
- }
89
- /**
90
- *
91
- * @export
92
- * @interface ColumnsObject
93
- */
94
- export interface ColumnsObject {
95
- /**
96
- *
97
- * @type {Array<string>}
98
- * @memberof ColumnsObject
99
- */
100
- always?: Array<string>;
101
- }
102
- /**
103
- *
104
- * @export
105
- * @interface Commit
106
- */
107
- export interface Commit {
108
- /**
109
- *
110
- * @type {string}
111
- * @memberof Commit
112
- */
113
- id?: string | null;
114
- /**
115
- *
116
- * @type {string}
117
- * @memberof Commit
118
- */
119
- short_id?: string | null;
120
- /**
121
- *
122
- * @type {string}
123
- * @memberof Commit
124
- */
125
- title?: string | null;
126
- /**
127
- *
128
- * @type {string}
129
- * @memberof Commit
130
- */
131
- created_at?: string | null;
132
- /**
133
- *
134
- * @type {Array<string>}
135
- * @memberof Commit
136
- */
137
- parent_ids?: Array<string> | null;
138
- /**
139
- *
140
- * @type {string}
141
- * @memberof Commit
142
- */
143
- message?: string | null;
144
- /**
145
- *
146
- * @type {string}
147
- * @memberof Commit
148
- */
149
- author_name?: string | null;
150
- /**
151
- *
152
- * @type {string}
153
- * @memberof Commit
154
- */
155
- author_email?: string | null;
156
- /**
157
- *
158
- * @type {string}
159
- * @memberof Commit
160
- */
161
- authored_date?: string | null;
162
- /**
163
- *
164
- * @type {string}
165
- * @memberof Commit
166
- */
167
- committer_name?: string | null;
168
- /**
169
- *
170
- * @type {string}
171
- * @memberof Commit
172
- */
173
- committer_email?: string | null;
174
- /**
175
- *
176
- * @type {string}
177
- * @memberof Commit
178
- */
179
- committed_date?: string | null;
180
- }
181
- /**
182
- *
183
- * @export
184
- * @interface DisciplineObject
185
- */
186
- export interface DisciplineObject {
187
- /**
188
- *
189
- * @type {string}
190
- * @memberof DisciplineObject
191
- */
192
- id?: string;
193
- /**
194
- *
195
- * @type {string}
196
- * @memberof DisciplineObject
197
- */
198
- url?: string | null;
199
- /**
200
- *
201
- * @type {string}
202
- * @memberof DisciplineObject
203
- */
204
- displayNameDe?: string | null;
205
- /**
206
- *
207
- * @type {string}
208
- * @memberof DisciplineObject
209
- */
210
- displayNameEn?: string | null;
211
- }
212
- /**
213
- *
214
- * @export
215
- * @interface EntriesView
216
- */
217
- export interface EntriesView {
218
- /**
219
- *
220
- * @type {ColumnsObject}
221
- * @memberof EntriesView
222
- */
223
- columns?: ColumnsObject;
224
- }
225
- /**
226
- *
227
- * @export
228
- * @interface LicenseObject
229
- */
230
- export interface LicenseObject {
231
- /**
232
- *
233
- * @type {string}
234
- * @memberof LicenseObject
235
- */
236
- id?: string;
237
- /**
238
- *
239
- * @type {string}
240
- * @memberof LicenseObject
241
- */
242
- displayName?: string | null;
243
- }
244
- /**
245
- *
246
- * @export
247
- * @interface Links
248
- */
249
- export interface Links {
250
- /**
251
- *
252
- * @type {string}
253
- * @memberof Links
254
- */
255
- members?: string | null;
256
- /**
257
- *
258
- * @type {string}
259
- * @memberof Links
260
- */
261
- issues?: string | null;
262
- /**
263
- *
264
- * @type {string}
265
- * @memberof Links
266
- */
267
- events?: string | null;
268
- /**
269
- *
270
- * @type {string}
271
- * @memberof Links
272
- */
273
- labels?: string | null;
274
- /**
275
- *
276
- * @type {string}
277
- * @memberof Links
278
- */
279
- repo_branches?: string | null;
280
- /**
281
- *
282
- * @type {string}
283
- * @memberof Links
284
- */
285
- merge_requests?: string | null;
286
- /**
287
- *
288
- * @type {string}
289
- * @memberof Links
290
- */
291
- self?: string | null;
292
- }
293
- /**
294
- *
295
- * @export
296
- * @interface MetadataView
297
- */
298
- export interface MetadataView {
299
- /**
300
- *
301
- * @type {boolean}
302
- * @memberof MetadataView
303
- */
304
- editableDataUrl?: boolean;
305
- /**
306
- *
307
- * @type {boolean}
308
- * @memberof MetadataView
309
- */
310
- editableKey?: boolean;
311
- }
312
- /**
313
- *
314
- * @export
315
- * @interface Namespace
316
- */
317
- export interface Namespace {
318
- /**
319
- *
320
- * @type {number}
321
- * @memberof Namespace
322
- */
323
- id?: number;
324
- /**
325
- *
326
- * @type {string}
327
- * @memberof Namespace
328
- */
329
- name?: string | null;
330
- /**
331
- *
332
- * @type {string}
333
- * @memberof Namespace
334
- */
335
- full_path?: string | null;
336
- /**
337
- *
338
- * @type {string}
339
- * @memberof Namespace
340
- */
341
- kind?: string | null;
342
- /**
343
- *
344
- * @type {string}
345
- * @memberof Namespace
346
- */
347
- path?: string | null;
348
- }
349
- /**
350
- *
351
- * @export
352
- * @interface Owner
353
- */
354
- export interface Owner {
355
- /**
356
- *
357
- * @type {number}
358
- * @memberof Owner
359
- */
360
- id?: number;
361
- /**
362
- *
363
- * @type {string}
364
- * @memberof Owner
365
- */
366
- created_at?: string;
367
- /**
368
- *
369
- * @type {string}
370
- * @memberof Owner
371
- */
372
- name?: string | null;
373
- }
374
- /**
375
- *
376
- * @export
377
- * @interface Permissions
378
- */
379
- export interface Permissions {
380
- /**
381
- *
382
- * @type {Access}
383
- * @memberof Permissions
384
- */
385
- group_access?: Access | null;
386
- /**
387
- *
388
- * @type {Access}
389
- * @memberof Permissions
390
- */
391
- project_access?: Access | null;
392
- }
393
- /**
394
- *
395
- * @export
396
- * @interface Project
397
- */
398
- export interface Project {
399
- /**
400
- *
401
- * @type {string}
402
- * @memberof Project
403
- */
404
- last_activity_at?: string | null;
405
- /**
406
- *
407
- * @type {string}
408
- * @memberof Project
409
- */
410
- description?: string | null;
411
- /**
412
- *
413
- * @type {boolean}
414
- * @memberof Project
415
- */
416
- container_registry_enabled?: boolean;
417
- /**
418
- *
419
- * @type {boolean}
420
- * @memberof Project
421
- */
422
- archived?: boolean;
423
- /**
424
- *
425
- * @type {Links}
426
- * @memberof Project
427
- */
428
- _links?: Links | null;
429
- /**
430
- *
431
- * @type {string}
432
- * @memberof Project
433
- */
434
- avatar_url?: string | null;
435
- /**
436
- *
437
- * @type {number}
438
- * @memberof Project
439
- */
440
- creator_id?: number;
441
- /**
442
- *
443
- * @type {string}
444
- * @memberof Project
445
- */
446
- created_at?: string | null;
447
- /**
448
- *
449
- * @type {string}
450
- * @memberof Project
451
- */
452
- default_branch?: string | null;
453
- /**
454
- *
455
- * @type {string}
456
- * @memberof Project
457
- */
458
- import_error?: string | null;
459
- /**
460
- *
461
- * @type {string}
462
- * @memberof Project
463
- */
464
- http_url_to_repo?: string | null;
465
- /**
466
- *
467
- * @type {number}
468
- * @memberof Project
469
- */
470
- forks_count?: number;
471
- /**
472
- *
473
- * @type {number}
474
- * @memberof Project
475
- */
476
- id?: number;
477
- /**
478
- *
479
- * @type {boolean}
480
- * @memberof Project
481
- */
482
- issues_enabled?: boolean;
483
- /**
484
- *
485
- * @type {string}
486
- * @memberof Project
487
- */
488
- import_status?: string | null;
489
- /**
490
- *
491
- * @type {boolean}
492
- * @memberof Project
493
- */
494
- jobs_enabled?: boolean;
495
- /**
496
- *
497
- * @type {Owner}
498
- * @memberof Project
499
- */
500
- owner?: Owner | null;
501
- /**
502
- *
503
- * @type {Namespace}
504
- * @memberof Project
505
- */
506
- namespace?: Namespace | null;
507
- /**
508
- *
509
- * @type {string}
510
- * @memberof Project
511
- */
512
- name?: string | null;
513
- /**
514
- *
515
- * @type {boolean}
516
- * @memberof Project
517
- */
518
- merge_requests_enabled?: boolean;
519
- /**
520
- *
521
- * @type {string}
522
- * @memberof Project
523
- */
524
- name_with_namespace?: string | null;
525
- /**
526
- *
527
- * @type {boolean}
528
- * @memberof Project
529
- */
530
- only_allow_merge_if_pipeline_succeeds?: boolean | null;
531
- /**
532
- *
533
- * @type {boolean}
534
- * @memberof Project
535
- */
536
- only_allow_merge_if_all_discussions_are_resolved?: boolean | null;
537
- /**
538
- *
539
- * @type {number}
540
- * @memberof Project
541
- */
542
- open_issues_count?: number;
543
- /**
544
- *
545
- * @type {boolean}
546
- * @memberof Project
547
- */
548
- public_jobs?: boolean;
549
- /**
550
- *
551
- * @type {string}
552
- * @memberof Project
553
- */
554
- path_with_namespace?: string | null;
555
- /**
556
- *
557
- * @type {string}
558
- * @memberof Project
559
- */
560
- path?: string | null;
561
- /**
562
- *
563
- * @type {Permissions}
564
- * @memberof Project
565
- */
566
- permissions?: Permissions | null;
567
- /**
568
- *
569
- * @type {string}
570
- * @memberof Project
571
- */
572
- runners_token?: string | null;
573
- /**
574
- *
575
- * @type {boolean}
576
- * @memberof Project
577
- */
578
- request_access_enabled?: boolean;
579
- /**
580
- *
581
- * @type {boolean}
582
- * @memberof Project
583
- */
584
- shared_runners_enabled?: boolean;
585
- /**
586
- *
587
- * @type {Statistics}
588
- * @memberof Project
589
- */
590
- statistics?: Statistics | null;
591
- /**
592
- *
593
- * @type {string}
594
- * @memberof Project
595
- */
596
- ssh_url_to_repo?: string | null;
597
- /**
598
- *
599
- * @type {boolean}
600
- * @memberof Project
601
- */
602
- snippets_enabled?: boolean;
603
- /**
604
- *
605
- * @type {number}
606
- * @memberof Project
607
- */
608
- star_count?: number;
609
- /**
610
- *
611
- * @type {ProjectVisibilityLevel}
612
- * @memberof Project
613
- */
614
- visibility?: ProjectVisibilityLevel;
615
- /**
616
- *
617
- * @type {Array<string>}
618
- * @memberof Project
619
- */
620
- tag_list?: Array<string> | null;
621
- /**
622
- *
623
- * @type {string}
624
- * @memberof Project
625
- */
626
- web_url?: string | null;
627
- /**
628
- *
629
- * @type {boolean}
630
- * @memberof Project
631
- */
632
- wiki_enabled?: boolean;
633
- }
634
- /**
635
- *
636
- * @export
637
- * @enum {string}
638
- */
639
- export declare enum ProjectVisibilityLevel {
640
- NUMBER_0 = 0,
641
- NUMBER_1 = 1,
642
- NUMBER_2 = 2
643
- }
644
- /**
645
- *
646
- * @export
647
- * @interface QuotaDimObject
648
- */
649
- export interface QuotaDimObject {
650
- /**
651
- *
652
- * @type {number}
653
- * @memberof QuotaDimObject
654
- */
655
- value?: number;
656
- /**
657
- *
658
- * @type {QuotaUnit}
659
- * @memberof QuotaDimObject
660
- */
661
- unit?: QuotaUnit;
662
- }
663
- /**
664
- *
665
- * @export
666
- * @enum {string}
667
- */
668
- export declare enum QuotaUnit {
669
- Byte = "https://qudt.org/vocab/unit/BYTE",
670
- KibiByte = "https://qudt.org/vocab/unit/KibiBYTE",
671
- MebiByte = "https://qudt.org/vocab/unit/MebiBYTE",
672
- GibiByte = "https://qudt.org/vocab/unit/GibiBYTE",
673
- TebiByte = "https://qudt.org/vocab/unit/TebiBYTE",
674
- PebiByte = "https://qudt.org/vocab/unit/PebiBYTE"
675
- }
676
- /**
677
- *
678
- * @export
679
- * @interface ResourceContentObject
680
- */
681
- export interface ResourceContentObject {
682
- /**
683
- *
684
- * @type {boolean}
685
- * @memberof ResourceContentObject
686
- */
687
- readOnly?: boolean;
688
- /**
689
- *
690
- * @type {MetadataView}
691
- * @memberof ResourceContentObject
692
- */
693
- metadataView?: MetadataView;
694
- /**
695
- *
696
- * @type {EntriesView}
697
- * @memberof ResourceContentObject
698
- */
699
- entriesView?: EntriesView;
700
- }
701
- /**
702
- *
703
- * @export
704
- * @interface ResourceCreateObject
705
- */
706
- export interface ResourceCreateObject {
707
- /**
708
- *
709
- * @type {Array<Array<string>>}
710
- * @memberof ResourceCreateObject
711
- */
712
- components?: Array<Array<string>>;
713
- }
714
- /**
715
- *
716
- * @export
717
- * @interface ResourceObject
718
- */
719
- export interface ResourceObject {
720
- /**
721
- *
722
- * @type {string}
723
- * @memberof ResourceObject
724
- */
725
- id?: string;
726
- /**
727
- *
728
- * @type {string}
729
- * @memberof ResourceObject
730
- */
731
- pid?: string | null;
732
- /**
733
- *
734
- * @type {string}
735
- * @memberof ResourceObject
736
- */
737
- displayName?: string | null;
738
- /**
739
- *
740
- * @type {string}
741
- * @memberof ResourceObject
742
- */
743
- resourceName?: string | null;
744
- /**
745
- *
746
- * @type {string}
747
- * @memberof ResourceObject
748
- */
749
- description?: string | null;
750
- /**
751
- *
752
- * @type {string}
753
- * @memberof ResourceObject
754
- */
755
- keywords?: string | null;
756
- /**
757
- *
758
- * @type {string}
759
- * @memberof ResourceObject
760
- */
761
- usageRights?: string | null;
762
- /**
763
- *
764
- * @type {ResourceTypeObject}
765
- * @memberof ResourceObject
766
- */
767
- type?: ResourceTypeObject | null;
768
- /**
769
- *
770
- * @type {Array<DisciplineObject>}
771
- * @memberof ResourceObject
772
- */
773
- disciplines?: Array<DisciplineObject> | null;
774
- /**
775
- *
776
- * @type {VisibilityObject}
777
- * @memberof ResourceObject
778
- */
779
- visibility?: VisibilityObject | null;
780
- /**
781
- *
782
- * @type {LicenseObject}
783
- * @memberof ResourceObject
784
- */
785
- license?: LicenseObject | null;
786
- /**
787
- *
788
- * @type {any}
789
- * @memberof ResourceObject
790
- */
791
- resourceTypeOption?: any | null;
792
- /**
793
- *
794
- * @type {string}
795
- * @memberof ResourceObject
796
- */
797
- applicationProfile?: string | null;
798
- /**
799
- *
800
- * @type {any}
801
- * @memberof ResourceObject
802
- */
803
- fixedValues?: any | null;
804
- /**
805
- *
806
- * @type {string}
807
- * @memberof ResourceObject
808
- */
809
- dateCreated?: string | null;
810
- /**
811
- *
812
- * @type {string}
813
- * @memberof ResourceObject
814
- */
815
- creator?: string | null;
816
- /**
817
- *
818
- * @type {boolean}
819
- * @memberof ResourceObject
820
- */
821
- archived?: boolean;
822
- /**
823
- *
824
- * @type {boolean}
825
- * @memberof ResourceObject
826
- */
827
- deleted?: boolean;
828
- }
829
- /**
830
- *
831
- * @export
832
- * @interface ResourceQuotaReturnObject
833
- */
834
- export interface ResourceQuotaReturnObject {
835
- /**
836
- *
837
- * @type {string}
838
- * @memberof ResourceQuotaReturnObject
839
- */
840
- id?: string;
841
- /**
842
- *
843
- * @type {string}
844
- * @memberof ResourceQuotaReturnObject
845
- */
846
- name?: string | null;
847
- /**
848
- *
849
- * @type {QuotaDimObject}
850
- * @memberof ResourceQuotaReturnObject
851
- */
852
- used?: QuotaDimObject | null;
853
- /**
854
- *
855
- * @type {number}
856
- * @memberof ResourceQuotaReturnObject
857
- */
858
- usedPercentage?: number;
859
- /**
860
- *
861
- * @type {QuotaDimObject}
862
- * @memberof ResourceQuotaReturnObject
863
- */
864
- reserved?: QuotaDimObject | null;
865
- }
866
- /**
867
- *
868
- * @export
869
- * @interface ResourceTypeInformation
870
- */
871
- export interface ResourceTypeInformation {
872
- /**
873
- *
874
- * @type {boolean}
875
- * @memberof ResourceTypeInformation
876
- */
877
- isEnabled?: boolean;
878
- /**
879
- *
880
- * @type {ResourceTypeStatus}
881
- * @memberof ResourceTypeInformation
882
- */
883
- status?: ResourceTypeStatus;
884
- /**
885
- *
886
- * @type {boolean}
887
- * @memberof ResourceTypeInformation
888
- */
889
- canCreate?: boolean;
890
- /**
891
- *
892
- * @type {boolean}
893
- * @memberof ResourceTypeInformation
894
- */
895
- canRead?: boolean;
896
- /**
897
- *
898
- * @type {boolean}
899
- * @memberof ResourceTypeInformation
900
- */
901
- canSetResourceReadonly?: boolean;
902
- /**
903
- *
904
- * @type {boolean}
905
- * @memberof ResourceTypeInformation
906
- */
907
- canUpdate?: boolean;
908
- /**
909
- *
910
- * @type {boolean}
911
- * @memberof ResourceTypeInformation
912
- */
913
- canUpdateResource?: boolean;
914
- /**
915
- *
916
- * @type {boolean}
917
- * @memberof ResourceTypeInformation
918
- */
919
- canDelete?: boolean;
920
- /**
921
- *
922
- * @type {boolean}
923
- * @memberof ResourceTypeInformation
924
- */
925
- canDeleteResource?: boolean;
926
- /**
927
- *
928
- * @type {boolean}
929
- * @memberof ResourceTypeInformation
930
- */
931
- canList?: boolean;
932
- /**
933
- *
934
- * @type {boolean}
935
- * @memberof ResourceTypeInformation
936
- */
937
- canCreateLinks?: boolean;
938
- /**
939
- *
940
- * @type {boolean}
941
- * @memberof ResourceTypeInformation
942
- */
943
- isArchived?: boolean;
944
- /**
945
- *
946
- * @type {boolean}
947
- * @memberof ResourceTypeInformation
948
- */
949
- isQuotaAvailable?: boolean;
950
- /**
951
- *
952
- * @type {boolean}
953
- * @memberof ResourceTypeInformation
954
- */
955
- isQuotaAdjustable?: boolean;
956
- /**
957
- *
958
- * @type {string}
959
- * @memberof ResourceTypeInformation
960
- */
961
- displayName?: string | null;
962
- /**
963
- *
964
- * @type {string}
965
- * @memberof ResourceTypeInformation
966
- */
967
- id?: string;
968
- /**
969
- *
970
- * @type {ResourceCreateObject}
971
- * @memberof ResourceTypeInformation
972
- */
973
- resourceCreate?: ResourceCreateObject;
974
- /**
975
- *
976
- * @type {ResourceContentObject}
977
- * @memberof ResourceTypeInformation
978
- */
979
- resourceContent?: ResourceContentObject;
980
- }
981
- /**
982
- *
983
- * @export
984
- * @interface ResourceTypeObject
985
- */
986
- export interface ResourceTypeObject {
987
- /**
988
- *
989
- * @type {string}
990
- * @memberof ResourceTypeObject
991
- */
992
- id?: string;
993
- /**
994
- *
995
- * @type {string}
996
- * @memberof ResourceTypeObject
997
- */
998
- displayName?: string | null;
999
- }
1000
- /**
1001
- *
1002
- * @export
1003
- * @enum {string}
1004
- */
1005
- export declare enum ResourceTypeStatus {
1006
- Hidden = "hidden",
1007
- Active = "active"
1008
- }
1009
- /**
1010
- *
1011
- * @export
1012
- * @interface Statistics
1013
- */
1014
- export interface Statistics {
1015
- /**
1016
- *
1017
- * @type {number}
1018
- * @memberof Statistics
1019
- */
1020
- job_artifacts_size?: number;
1021
- /**
1022
- *
1023
- * @type {number}
1024
- * @memberof Statistics
1025
- */
1026
- repository_size?: number;
1027
- /**
1028
- *
1029
- * @type {number}
1030
- * @memberof Statistics
1031
- */
1032
- commit_count?: number;
1033
- /**
1034
- *
1035
- * @type {number}
1036
- * @memberof Statistics
1037
- */
1038
- lfs_objects_size?: number;
1039
- /**
1040
- *
1041
- * @type {number}
1042
- * @memberof Statistics
1043
- */
1044
- storage_size?: number;
1045
- }
1046
- /**
1047
- * Parameter object containing the update information.
1048
- * @export
1049
- * @interface UpdateResourceObject
1050
- */
1051
- export interface UpdateResourceObject {
1052
- /**
1053
- * New reserved quota value to set for the selected resource in GiB.
1054
- * @type {number}
1055
- * @memberof UpdateResourceObject
1056
- */
1057
- reservedGiB?: number;
1058
- }
1059
- /**
1060
- *
1061
- * @export
1062
- * @interface VisibilityObject
1063
- */
1064
- export interface VisibilityObject {
1065
- /**
1066
- *
1067
- * @type {string}
1068
- * @memberof VisibilityObject
1069
- */
1070
- id?: string;
1071
- /**
1072
- *
1073
- * @type {string}
1074
- * @memberof VisibilityObject
1075
- */
1076
- displayName?: string | null;
1077
- }
1078
- /**
1079
- * GitLabApi - axios parameter creator
1080
- * @export
1081
- */
1082
- export declare const GitLabApiAxiosParamCreator: (configuration?: Configuration) => {
1083
- /**
1084
- *
1085
- * @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials.
1086
- * @param {string} [domain] Domain/Host of the GitLab Provider
1087
- * @param {string} [accessToken] GitLab Project or Group Access Token
1088
- * @param {*} [options] Override http request option.
1089
- * @throws {RequiredError}
1090
- */
1091
- gitLabGetAllProjects: (domain?: string, accessToken?: string, options?: any) => Promise<RequestArgs>;
1092
- /**
1093
- *
1094
- * @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials.
1095
- * @param {number} projectId GitLab Project Identifier
1096
- * @param {string} [domain] Domain/Host of the GitLab Provider
1097
- * @param {string} [accessToken] GitLab Project or Group Access Token
1098
- * @param {*} [options] Override http request option.
1099
- * @throws {RequiredError}
1100
- */
1101
- gitLabGetBranchesForProject: (projectId: number, domain?: string, accessToken?: string, options?: any) => Promise<RequestArgs>;
1102
- /**
1103
- *
1104
- * @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials.
1105
- * @param {number} projectId GitLab Project Identifier
1106
- * @param {string} [domain] Domain/Host of the GitLab Provider
1107
- * @param {string} [accessToken] GitLab Project or Group Access Token
1108
- * @param {*} [options] Override http request option.
1109
- * @throws {RequiredError}
1110
- */
1111
- gitLabGetProject: (projectId: number, domain?: string, accessToken?: string, options?: any) => Promise<RequestArgs>;
1112
- };
1113
- /**
1114
- * GitLabApi - functional programming interface
1115
- * @export
1116
- */
1117
- export declare const GitLabApiFp: (configuration?: Configuration) => {
1118
- /**
1119
- *
1120
- * @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials.
1121
- * @param {string} [domain] Domain/Host of the GitLab Provider
1122
- * @param {string} [accessToken] GitLab Project or Group Access Token
1123
- * @param {*} [options] Override http request option.
1124
- * @throws {RequiredError}
1125
- */
1126
- gitLabGetAllProjects(domain?: string, accessToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Project>>>;
1127
- /**
1128
- *
1129
- * @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials.
1130
- * @param {number} projectId GitLab Project Identifier
1131
- * @param {string} [domain] Domain/Host of the GitLab Provider
1132
- * @param {string} [accessToken] GitLab Project or Group Access Token
1133
- * @param {*} [options] Override http request option.
1134
- * @throws {RequiredError}
1135
- */
1136
- gitLabGetBranchesForProject(projectId: number, domain?: string, accessToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Branch>>>;
1137
- /**
1138
- *
1139
- * @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials.
1140
- * @param {number} projectId GitLab Project Identifier
1141
- * @param {string} [domain] Domain/Host of the GitLab Provider
1142
- * @param {string} [accessToken] GitLab Project or Group Access Token
1143
- * @param {*} [options] Override http request option.
1144
- * @throws {RequiredError}
1145
- */
1146
- gitLabGetProject(projectId: number, domain?: string, accessToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Project>>;
1147
- };
1148
- /**
1149
- * GitLabApi - factory interface
1150
- * @export
1151
- */
1152
- export declare const GitLabApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1153
- /**
1154
- *
1155
- * @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials.
1156
- * @param {string} [domain] Domain/Host of the GitLab Provider
1157
- * @param {string} [accessToken] GitLab Project or Group Access Token
1158
- * @param {*} [options] Override http request option.
1159
- * @throws {RequiredError}
1160
- */
1161
- gitLabGetAllProjects(domain?: string, accessToken?: string, options?: any): AxiosPromise<Array<Project>>;
1162
- /**
1163
- *
1164
- * @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials.
1165
- * @param {number} projectId GitLab Project Identifier
1166
- * @param {string} [domain] Domain/Host of the GitLab Provider
1167
- * @param {string} [accessToken] GitLab Project or Group Access Token
1168
- * @param {*} [options] Override http request option.
1169
- * @throws {RequiredError}
1170
- */
1171
- gitLabGetBranchesForProject(projectId: number, domain?: string, accessToken?: string, options?: any): AxiosPromise<Array<Branch>>;
1172
- /**
1173
- *
1174
- * @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials.
1175
- * @param {number} projectId GitLab Project Identifier
1176
- * @param {string} [domain] Domain/Host of the GitLab Provider
1177
- * @param {string} [accessToken] GitLab Project or Group Access Token
1178
- * @param {*} [options] Override http request option.
1179
- * @throws {RequiredError}
1180
- */
1181
- gitLabGetProject(projectId: number, domain?: string, accessToken?: string, options?: any): AxiosPromise<Project>;
1182
- };
1183
- /**
1184
- * GitLabApi - object-oriented interface
1185
- * @export
1186
- * @class GitLabApi
1187
- * @extends {BaseAPI}
1188
- */
1189
- export declare class GitLabApi extends BaseAPI {
1190
- /**
1191
- *
1192
- * @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials.
1193
- * @param {string} [domain] Domain/Host of the GitLab Provider
1194
- * @param {string} [accessToken] GitLab Project or Group Access Token
1195
- * @param {*} [options] Override http request option.
1196
- * @throws {RequiredError}
1197
- * @memberof GitLabApi
1198
- */
1199
- gitLabGetAllProjects(domain?: string, accessToken?: string, options?: any): Promise<import("axios").AxiosResponse<Project[]>>;
1200
- /**
1201
- *
1202
- * @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials.
1203
- * @param {number} projectId GitLab Project Identifier
1204
- * @param {string} [domain] Domain/Host of the GitLab Provider
1205
- * @param {string} [accessToken] GitLab Project or Group Access Token
1206
- * @param {*} [options] Override http request option.
1207
- * @throws {RequiredError}
1208
- * @memberof GitLabApi
1209
- */
1210
- gitLabGetBranchesForProject(projectId: number, domain?: string, accessToken?: string, options?: any): Promise<import("axios").AxiosResponse<Branch[]>>;
1211
- /**
1212
- *
1213
- * @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials.
1214
- * @param {number} projectId GitLab Project Identifier
1215
- * @param {string} [domain] Domain/Host of the GitLab Provider
1216
- * @param {string} [accessToken] GitLab Project or Group Access Token
1217
- * @param {*} [options] Override http request option.
1218
- * @throws {RequiredError}
1219
- * @memberof GitLabApi
1220
- */
1221
- gitLabGetProject(projectId: number, domain?: string, accessToken?: string, options?: any): Promise<import("axios").AxiosResponse<Project>>;
1222
- }
1223
- /**
1224
- * ResourceApi - axios parameter creator
1225
- * @export
1226
- */
1227
- export declare const ResourceApiAxiosParamCreator: (configuration?: Configuration) => {
1228
- /**
1229
- *
1230
- * @summary Deletes a resource.
1231
- * @param {string} id A GUID as a string that identifies the resource.
1232
- * @param {*} [options] Override http request option.
1233
- * @throws {RequiredError}
1234
- */
1235
- resourceDelete: (id: string, options?: any) => Promise<RequestArgs>;
1236
- /**
1237
- *
1238
- * @summary Returns the resource with a specified id.
1239
- * @param {string} id The resource id.
1240
- * @param {*} [options] Override http request option.
1241
- * @throws {RequiredError}
1242
- */
1243
- resourceGet: (id: string, options?: any) => Promise<RequestArgs>;
1244
- /**
1245
- *
1246
- * @summary Returns a list of all resources the current user has access to.
1247
- * @param {*} [options] Override http request option.
1248
- * @throws {RequiredError}
1249
- */
1250
- resourceIndex: (options?: any) => Promise<RequestArgs>;
1251
- /**
1252
- *
1253
- * @summary Returns whether or not the current user is creator of a specified resource.
1254
- * @param {string} id The resource id.
1255
- * @param {*} [options] Override http request option.
1256
- * @throws {RequiredError}
1257
- */
1258
- resourceIsUserResourceCreator: (id: string, options?: any) => Promise<RequestArgs>;
1259
- /**
1260
- *
1261
- * @summary Sets a read only status of a given resource.
1262
- * @param {string} id A GUID as a string that identifies the resource.
1263
- * @param {boolean} [status] A boolean value that specifies if the resource is archived.
1264
- * @param {*} [options] Override http request option.
1265
- * @throws {RequiredError}
1266
- */
1267
- resourceSetResourceReadonly: (id: string, status?: boolean, options?: any) => Promise<RequestArgs>;
1268
- /**
1269
- *
1270
- * @summary Stores the provided resource object in a specified project.
1271
- * @param {string} projectId A GUID as a string that identifies the resource.
1272
- * @param {ResourceObject} resourceObject Entry representing the user
1273
- * @param {*} [options] Override http request option.
1274
- * @throws {RequiredError}
1275
- */
1276
- resourceStoreToProject: (projectId: string, resourceObject: ResourceObject, options?: any) => Promise<RequestArgs>;
1277
- /**
1278
- *
1279
- * @summary Updates a resource.
1280
- * @param {string} id The resource id.
1281
- * @param {ResourceObject} resourceObject Entry representing the user
1282
- * @param {*} [options] Override http request option.
1283
- * @throws {RequiredError}
1284
- */
1285
- resourceUpdate: (id: string, resourceObject: ResourceObject, options?: any) => Promise<RequestArgs>;
1286
- };
1287
- /**
1288
- * ResourceApi - functional programming interface
1289
- * @export
1290
- */
1291
- export declare const ResourceApiFp: (configuration?: Configuration) => {
1292
- /**
1293
- *
1294
- * @summary Deletes a resource.
1295
- * @param {string} id A GUID as a string that identifies the resource.
1296
- * @param {*} [options] Override http request option.
1297
- * @throws {RequiredError}
1298
- */
1299
- resourceDelete(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1300
- /**
1301
- *
1302
- * @summary Returns the resource with a specified id.
1303
- * @param {string} id The resource id.
1304
- * @param {*} [options] Override http request option.
1305
- * @throws {RequiredError}
1306
- */
1307
- resourceGet(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1308
- /**
1309
- *
1310
- * @summary Returns a list of all resources the current user has access to.
1311
- * @param {*} [options] Override http request option.
1312
- * @throws {RequiredError}
1313
- */
1314
- resourceIndex(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1315
- /**
1316
- *
1317
- * @summary Returns whether or not the current user is creator of a specified resource.
1318
- * @param {string} id The resource id.
1319
- * @param {*} [options] Override http request option.
1320
- * @throws {RequiredError}
1321
- */
1322
- resourceIsUserResourceCreator(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1323
- /**
1324
- *
1325
- * @summary Sets a read only status of a given resource.
1326
- * @param {string} id A GUID as a string that identifies the resource.
1327
- * @param {boolean} [status] A boolean value that specifies if the resource is archived.
1328
- * @param {*} [options] Override http request option.
1329
- * @throws {RequiredError}
1330
- */
1331
- resourceSetResourceReadonly(id: string, status?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1332
- /**
1333
- *
1334
- * @summary Stores the provided resource object in a specified project.
1335
- * @param {string} projectId A GUID as a string that identifies the resource.
1336
- * @param {ResourceObject} resourceObject Entry representing the user
1337
- * @param {*} [options] Override http request option.
1338
- * @throws {RequiredError}
1339
- */
1340
- resourceStoreToProject(projectId: string, resourceObject: ResourceObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1341
- /**
1342
- *
1343
- * @summary Updates a resource.
1344
- * @param {string} id The resource id.
1345
- * @param {ResourceObject} resourceObject Entry representing the user
1346
- * @param {*} [options] Override http request option.
1347
- * @throws {RequiredError}
1348
- */
1349
- resourceUpdate(id: string, resourceObject: ResourceObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1350
- };
1351
- /**
1352
- * ResourceApi - factory interface
1353
- * @export
1354
- */
1355
- export declare const ResourceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1356
- /**
1357
- *
1358
- * @summary Deletes a resource.
1359
- * @param {string} id A GUID as a string that identifies the resource.
1360
- * @param {*} [options] Override http request option.
1361
- * @throws {RequiredError}
1362
- */
1363
- resourceDelete(id: string, options?: any): AxiosPromise<any>;
1364
- /**
1365
- *
1366
- * @summary Returns the resource with a specified id.
1367
- * @param {string} id The resource id.
1368
- * @param {*} [options] Override http request option.
1369
- * @throws {RequiredError}
1370
- */
1371
- resourceGet(id: string, options?: any): AxiosPromise<any>;
1372
- /**
1373
- *
1374
- * @summary Returns a list of all resources the current user has access to.
1375
- * @param {*} [options] Override http request option.
1376
- * @throws {RequiredError}
1377
- */
1378
- resourceIndex(options?: any): AxiosPromise<any>;
1379
- /**
1380
- *
1381
- * @summary Returns whether or not the current user is creator of a specified resource.
1382
- * @param {string} id The resource id.
1383
- * @param {*} [options] Override http request option.
1384
- * @throws {RequiredError}
1385
- */
1386
- resourceIsUserResourceCreator(id: string, options?: any): AxiosPromise<any>;
1387
- /**
1388
- *
1389
- * @summary Sets a read only status of a given resource.
1390
- * @param {string} id A GUID as a string that identifies the resource.
1391
- * @param {boolean} [status] A boolean value that specifies if the resource is archived.
1392
- * @param {*} [options] Override http request option.
1393
- * @throws {RequiredError}
1394
- */
1395
- resourceSetResourceReadonly(id: string, status?: boolean, options?: any): AxiosPromise<any>;
1396
- /**
1397
- *
1398
- * @summary Stores the provided resource object in a specified project.
1399
- * @param {string} projectId A GUID as a string that identifies the resource.
1400
- * @param {ResourceObject} resourceObject Entry representing the user
1401
- * @param {*} [options] Override http request option.
1402
- * @throws {RequiredError}
1403
- */
1404
- resourceStoreToProject(projectId: string, resourceObject: ResourceObject, options?: any): AxiosPromise<any>;
1405
- /**
1406
- *
1407
- * @summary Updates a resource.
1408
- * @param {string} id The resource id.
1409
- * @param {ResourceObject} resourceObject Entry representing the user
1410
- * @param {*} [options] Override http request option.
1411
- * @throws {RequiredError}
1412
- */
1413
- resourceUpdate(id: string, resourceObject: ResourceObject, options?: any): AxiosPromise<any>;
1414
- };
1415
- /**
1416
- * ResourceApi - object-oriented interface
1417
- * @export
1418
- * @class ResourceApi
1419
- * @extends {BaseAPI}
1420
- */
1421
- export declare class ResourceApi extends BaseAPI {
1422
- /**
1423
- *
1424
- * @summary Deletes a resource.
1425
- * @param {string} id A GUID as a string that identifies the resource.
1426
- * @param {*} [options] Override http request option.
1427
- * @throws {RequiredError}
1428
- * @memberof ResourceApi
1429
- */
1430
- resourceDelete(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
1431
- /**
1432
- *
1433
- * @summary Returns the resource with a specified id.
1434
- * @param {string} id The resource id.
1435
- * @param {*} [options] Override http request option.
1436
- * @throws {RequiredError}
1437
- * @memberof ResourceApi
1438
- */
1439
- resourceGet(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
1440
- /**
1441
- *
1442
- * @summary Returns a list of all resources the current user has access to.
1443
- * @param {*} [options] Override http request option.
1444
- * @throws {RequiredError}
1445
- * @memberof ResourceApi
1446
- */
1447
- resourceIndex(options?: any): Promise<import("axios").AxiosResponse<any>>;
1448
- /**
1449
- *
1450
- * @summary Returns whether or not the current user is creator of a specified resource.
1451
- * @param {string} id The resource id.
1452
- * @param {*} [options] Override http request option.
1453
- * @throws {RequiredError}
1454
- * @memberof ResourceApi
1455
- */
1456
- resourceIsUserResourceCreator(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
1457
- /**
1458
- *
1459
- * @summary Sets a read only status of a given resource.
1460
- * @param {string} id A GUID as a string that identifies the resource.
1461
- * @param {boolean} [status] A boolean value that specifies if the resource is archived.
1462
- * @param {*} [options] Override http request option.
1463
- * @throws {RequiredError}
1464
- * @memberof ResourceApi
1465
- */
1466
- resourceSetResourceReadonly(id: string, status?: boolean, options?: any): Promise<import("axios").AxiosResponse<any>>;
1467
- /**
1468
- *
1469
- * @summary Stores the provided resource object in a specified project.
1470
- * @param {string} projectId A GUID as a string that identifies the resource.
1471
- * @param {ResourceObject} resourceObject Entry representing the user
1472
- * @param {*} [options] Override http request option.
1473
- * @throws {RequiredError}
1474
- * @memberof ResourceApi
1475
- */
1476
- resourceStoreToProject(projectId: string, resourceObject: ResourceObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1477
- /**
1478
- *
1479
- * @summary Updates a resource.
1480
- * @param {string} id The resource id.
1481
- * @param {ResourceObject} resourceObject Entry representing the user
1482
- * @param {*} [options] Override http request option.
1483
- * @throws {RequiredError}
1484
- * @memberof ResourceApi
1485
- */
1486
- resourceUpdate(id: string, resourceObject: ResourceObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1487
- }
1488
- /**
1489
- * ResourceQuotaApi - axios parameter creator
1490
- * @export
1491
- */
1492
- export declare const ResourceQuotaApiAxiosParamCreator: (configuration?: Configuration) => {
1493
- /**
1494
- *
1495
- * @summary Retrieves the resource used and reserved quota for an individual resource.
1496
- * @param {string} id Id of the resource.
1497
- * @param {*} [options] Override http request option.
1498
- * @throws {RequiredError}
1499
- */
1500
- resourceQuotaGetResourceQuota: (id: string, options?: any) => Promise<RequestArgs>;
1501
- /**
1502
- *
1503
- * @summary Updates the resource quota for an individual resource.
1504
- * @param {string} id Id of the resource.
1505
- * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
1506
- * @param {*} [options] Override http request option.
1507
- * @throws {RequiredError}
1508
- */
1509
- resourceQuotaUpdateResourceQuota: (id: string, updateResourceObject: UpdateResourceObject, options?: any) => Promise<RequestArgs>;
1510
- };
1511
- /**
1512
- * ResourceQuotaApi - functional programming interface
1513
- * @export
1514
- */
1515
- export declare const ResourceQuotaApiFp: (configuration?: Configuration) => {
1516
- /**
1517
- *
1518
- * @summary Retrieves the resource used and reserved quota for an individual resource.
1519
- * @param {string} id Id of the resource.
1520
- * @param {*} [options] Override http request option.
1521
- * @throws {RequiredError}
1522
- */
1523
- resourceQuotaGetResourceQuota(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceQuotaReturnObject>>;
1524
- /**
1525
- *
1526
- * @summary Updates the resource quota for an individual resource.
1527
- * @param {string} id Id of the resource.
1528
- * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
1529
- * @param {*} [options] Override http request option.
1530
- * @throws {RequiredError}
1531
- */
1532
- resourceQuotaUpdateResourceQuota(id: string, updateResourceObject: UpdateResourceObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1533
- };
1534
- /**
1535
- * ResourceQuotaApi - factory interface
1536
- * @export
1537
- */
1538
- export declare const ResourceQuotaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1539
- /**
1540
- *
1541
- * @summary Retrieves the resource used and reserved quota for an individual resource.
1542
- * @param {string} id Id of the resource.
1543
- * @param {*} [options] Override http request option.
1544
- * @throws {RequiredError}
1545
- */
1546
- resourceQuotaGetResourceQuota(id: string, options?: any): AxiosPromise<ResourceQuotaReturnObject>;
1547
- /**
1548
- *
1549
- * @summary Updates the resource quota for an individual resource.
1550
- * @param {string} id Id of the resource.
1551
- * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
1552
- * @param {*} [options] Override http request option.
1553
- * @throws {RequiredError}
1554
- */
1555
- resourceQuotaUpdateResourceQuota(id: string, updateResourceObject: UpdateResourceObject, options?: any): AxiosPromise<any>;
1556
- };
1557
- /**
1558
- * ResourceQuotaApi - object-oriented interface
1559
- * @export
1560
- * @class ResourceQuotaApi
1561
- * @extends {BaseAPI}
1562
- */
1563
- export declare class ResourceQuotaApi extends BaseAPI {
1564
- /**
1565
- *
1566
- * @summary Retrieves the resource used and reserved quota for an individual resource.
1567
- * @param {string} id Id of the resource.
1568
- * @param {*} [options] Override http request option.
1569
- * @throws {RequiredError}
1570
- * @memberof ResourceQuotaApi
1571
- */
1572
- resourceQuotaGetResourceQuota(id: string, options?: any): Promise<import("axios").AxiosResponse<ResourceQuotaReturnObject>>;
1573
- /**
1574
- *
1575
- * @summary Updates the resource quota for an individual resource.
1576
- * @param {string} id Id of the resource.
1577
- * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
1578
- * @param {*} [options] Override http request option.
1579
- * @throws {RequiredError}
1580
- * @memberof ResourceQuotaApi
1581
- */
1582
- resourceQuotaUpdateResourceQuota(id: string, updateResourceObject: UpdateResourceObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1583
- }
1584
- /**
1585
- * ResourceTypeApi - axios parameter creator
1586
- * @export
1587
- */
1588
- export declare const ResourceTypeApiAxiosParamCreator: (configuration?: Configuration) => {
1589
- /**
1590
- *
1591
- * @summary Returns all enabled resource types.
1592
- * @param {*} [options] Override http request option.
1593
- * @throws {RequiredError}
1594
- */
1595
- resourceTypeGetEnabledResourceTypes: (options?: any) => Promise<RequestArgs>;
1596
- /**
1597
- *
1598
- * @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
1599
- * @param {string} id Id of the project
1600
- * @param {*} [options] Override http request option.
1601
- * @throws {RequiredError}
1602
- */
1603
- resourceTypeGetEnabledResourceTypesAll: (id: string, options?: any) => Promise<RequestArgs>;
1604
- /**
1605
- *
1606
- * @summary Returns all fields of the specified resource type.
1607
- * @param {string} id A GUID as a string that identifies the resource.
1608
- * @param {*} [options] Override http request option.
1609
- * @throws {RequiredError}
1610
- */
1611
- resourceTypeGetResourceType: (id: string, options?: any) => Promise<RequestArgs>;
1612
- /**
1613
- *
1614
- * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
1615
- * @param {*} [options] Override http request option.
1616
- * @throws {RequiredError}
1617
- */
1618
- resourceTypeGetResourceTypes: (options?: any) => Promise<RequestArgs>;
1619
- };
1620
- /**
1621
- * ResourceTypeApi - functional programming interface
1622
- * @export
1623
- */
1624
- export declare const ResourceTypeApiFp: (configuration?: Configuration) => {
1625
- /**
1626
- *
1627
- * @summary Returns all enabled resource types.
1628
- * @param {*} [options] Override http request option.
1629
- * @throws {RequiredError}
1630
- */
1631
- resourceTypeGetEnabledResourceTypes(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ResourceTypeInformation>>>;
1632
- /**
1633
- *
1634
- * @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
1635
- * @param {string} id Id of the project
1636
- * @param {*} [options] Override http request option.
1637
- * @throws {RequiredError}
1638
- */
1639
- resourceTypeGetEnabledResourceTypesAll(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ResourceTypeInformation>>>;
1640
- /**
1641
- *
1642
- * @summary Returns all fields of the specified resource type.
1643
- * @param {string} id A GUID as a string that identifies the resource.
1644
- * @param {*} [options] Override http request option.
1645
- * @throws {RequiredError}
1646
- */
1647
- resourceTypeGetResourceType(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceTypeInformation>>;
1648
- /**
1649
- *
1650
- * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
1651
- * @param {*} [options] Override http request option.
1652
- * @throws {RequiredError}
1653
- */
1654
- resourceTypeGetResourceTypes(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ResourceTypeInformation>>>;
1655
- };
1656
- /**
1657
- * ResourceTypeApi - factory interface
1658
- * @export
1659
- */
1660
- export declare const ResourceTypeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1661
- /**
1662
- *
1663
- * @summary Returns all enabled resource types.
1664
- * @param {*} [options] Override http request option.
1665
- * @throws {RequiredError}
1666
- */
1667
- resourceTypeGetEnabledResourceTypes(options?: any): AxiosPromise<Array<ResourceTypeInformation>>;
1668
- /**
1669
- *
1670
- * @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
1671
- * @param {string} id Id of the project
1672
- * @param {*} [options] Override http request option.
1673
- * @throws {RequiredError}
1674
- */
1675
- resourceTypeGetEnabledResourceTypesAll(id: string, options?: any): AxiosPromise<Array<ResourceTypeInformation>>;
1676
- /**
1677
- *
1678
- * @summary Returns all fields of the specified resource type.
1679
- * @param {string} id A GUID as a string that identifies the resource.
1680
- * @param {*} [options] Override http request option.
1681
- * @throws {RequiredError}
1682
- */
1683
- resourceTypeGetResourceType(id: string, options?: any): AxiosPromise<ResourceTypeInformation>;
1684
- /**
1685
- *
1686
- * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
1687
- * @param {*} [options] Override http request option.
1688
- * @throws {RequiredError}
1689
- */
1690
- resourceTypeGetResourceTypes(options?: any): AxiosPromise<Array<ResourceTypeInformation>>;
1691
- };
1692
- /**
1693
- * ResourceTypeApi - object-oriented interface
1694
- * @export
1695
- * @class ResourceTypeApi
1696
- * @extends {BaseAPI}
1697
- */
1698
- export declare class ResourceTypeApi extends BaseAPI {
1699
- /**
1700
- *
1701
- * @summary Returns all enabled resource types.
1702
- * @param {*} [options] Override http request option.
1703
- * @throws {RequiredError}
1704
- * @memberof ResourceTypeApi
1705
- */
1706
- resourceTypeGetEnabledResourceTypes(options?: any): Promise<import("axios").AxiosResponse<ResourceTypeInformation[]>>;
1707
- /**
1708
- *
1709
- * @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
1710
- * @param {string} id Id of the project
1711
- * @param {*} [options] Override http request option.
1712
- * @throws {RequiredError}
1713
- * @memberof ResourceTypeApi
1714
- */
1715
- resourceTypeGetEnabledResourceTypesAll(id: string, options?: any): Promise<import("axios").AxiosResponse<ResourceTypeInformation[]>>;
1716
- /**
1717
- *
1718
- * @summary Returns all fields of the specified resource type.
1719
- * @param {string} id A GUID as a string that identifies the resource.
1720
- * @param {*} [options] Override http request option.
1721
- * @throws {RequiredError}
1722
- * @memberof ResourceTypeApi
1723
- */
1724
- resourceTypeGetResourceType(id: string, options?: any): Promise<import("axios").AxiosResponse<ResourceTypeInformation>>;
1725
- /**
1726
- *
1727
- * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
1728
- * @param {*} [options] Override http request option.
1729
- * @throws {RequiredError}
1730
- * @memberof ResourceTypeApi
1731
- */
1732
- resourceTypeGetResourceTypes(options?: any): Promise<import("axios").AxiosResponse<ResourceTypeInformation[]>>;
1733
- }