@coscine/api-client 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +232 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +232 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/api.js +1 -1
- package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/base.js +1 -1
- package/dist/lib/Coscine.Api.Project/common.js +1 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Project/index.js +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +281 -2
- package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +1 -1
- package/dist/lib/Coscine.Api.Resources/common.js +1 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Resources/index.js +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/common.js +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +1 -1
- package/dist/lib/Coscine.Api.User/api.js +1 -1
- package/dist/lib/Coscine.Api.User/base.js +1 -1
- package/dist/lib/Coscine.Api.User/common.js +1 -1
- package/dist/lib/Coscine.Api.User/configuration.js +1 -1
- package/dist/lib/Coscine.Api.User/index.js +1 -1
- package/dist/lib/apis.js +23 -21
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/index.js +2 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api.Project/api.d.ts +31 -1
- package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/api.d.ts +730 -2
- package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
- package/dist/types/Coscine.Api.User/api.d.ts +1 -1
- package/dist/types/Coscine.Api.User/base.d.ts +1 -1
- package/dist/types/Coscine.Api.User/common.d.ts +1 -1
- package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.User/index.d.ts +1 -1
- package/dist/types/apis.d.ts +5 -0
- package/dist/types/index.d.ts +10 -0
- package/package.json +2 -9
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Resources
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,6 +12,80 @@
|
|
|
12
12
|
import { Configuration } from './configuration';
|
|
13
13
|
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
14
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
|
+
}
|
|
15
89
|
/**
|
|
16
90
|
*
|
|
17
91
|
* @export
|
|
@@ -25,6 +99,85 @@ export interface ColumnsObject {
|
|
|
25
99
|
*/
|
|
26
100
|
always?: Array<string>;
|
|
27
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
|
+
}
|
|
28
181
|
/**
|
|
29
182
|
*
|
|
30
183
|
* @export
|
|
@@ -88,6 +241,55 @@ export interface LicenseObject {
|
|
|
88
241
|
*/
|
|
89
242
|
displayName?: string | null;
|
|
90
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
|
+
}
|
|
91
293
|
/**
|
|
92
294
|
*
|
|
93
295
|
* @export
|
|
@@ -107,6 +309,338 @@ export interface MetadataView {
|
|
|
107
309
|
*/
|
|
108
310
|
editableKey?: boolean;
|
|
109
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
|
+
}
|
|
110
644
|
/**
|
|
111
645
|
*
|
|
112
646
|
* @export
|
|
@@ -267,6 +801,12 @@ export interface ResourceObject {
|
|
|
267
801
|
* @memberof ResourceObject
|
|
268
802
|
*/
|
|
269
803
|
fixedValues?: any | null;
|
|
804
|
+
/**
|
|
805
|
+
*
|
|
806
|
+
* @type {string}
|
|
807
|
+
* @memberof ResourceObject
|
|
808
|
+
*/
|
|
809
|
+
dateCreated?: string | null;
|
|
270
810
|
/**
|
|
271
811
|
*
|
|
272
812
|
* @type {string}
|
|
@@ -279,6 +819,12 @@ export interface ResourceObject {
|
|
|
279
819
|
* @memberof ResourceObject
|
|
280
820
|
*/
|
|
281
821
|
archived?: boolean;
|
|
822
|
+
/**
|
|
823
|
+
*
|
|
824
|
+
* @type {boolean}
|
|
825
|
+
* @memberof ResourceObject
|
|
826
|
+
*/
|
|
827
|
+
deleted?: boolean;
|
|
282
828
|
}
|
|
283
829
|
/**
|
|
284
830
|
*
|
|
@@ -461,7 +1007,44 @@ export declare enum ResourceTypeStatus {
|
|
|
461
1007
|
Active = "active"
|
|
462
1008
|
}
|
|
463
1009
|
/**
|
|
464
|
-
*
|
|
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.
|
|
465
1048
|
* @export
|
|
466
1049
|
* @interface UpdateResourceObject
|
|
467
1050
|
*/
|
|
@@ -492,6 +1075,151 @@ export interface VisibilityObject {
|
|
|
492
1075
|
*/
|
|
493
1076
|
displayName?: string | null;
|
|
494
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
|
+
}
|
|
495
1223
|
/**
|
|
496
1224
|
* ResourceApi - axios parameter creator
|
|
497
1225
|
* @export
|