@cesar-richard/git-connector-sdk 4.8.3 → 4.9.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/schema.d.ts +371 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -132,6 +132,22 @@ export interface paths {
|
|
|
132
132
|
patch: operations["patchV1ProjectsBySourceByProjectKeyDelivery-rules"];
|
|
133
133
|
trace?: never;
|
|
134
134
|
};
|
|
135
|
+
"/v1/applications/{slug}/delivery-rules": {
|
|
136
|
+
parameters: {
|
|
137
|
+
query?: never;
|
|
138
|
+
header?: never;
|
|
139
|
+
path?: never;
|
|
140
|
+
cookie?: never;
|
|
141
|
+
};
|
|
142
|
+
get: operations["getV1ApplicationsBySlugDelivery-rules"];
|
|
143
|
+
put?: never;
|
|
144
|
+
post?: never;
|
|
145
|
+
delete?: never;
|
|
146
|
+
options?: never;
|
|
147
|
+
head?: never;
|
|
148
|
+
patch: operations["patchV1ApplicationsBySlugDelivery-rules"];
|
|
149
|
+
trace?: never;
|
|
150
|
+
};
|
|
135
151
|
"/v1/projects": {
|
|
136
152
|
parameters: {
|
|
137
153
|
query?: never;
|
|
@@ -228,6 +244,22 @@ export interface paths {
|
|
|
228
244
|
patch?: never;
|
|
229
245
|
trace?: never;
|
|
230
246
|
};
|
|
247
|
+
"/v1/applications": {
|
|
248
|
+
parameters: {
|
|
249
|
+
query?: never;
|
|
250
|
+
header?: never;
|
|
251
|
+
path?: never;
|
|
252
|
+
cookie?: never;
|
|
253
|
+
};
|
|
254
|
+
get: operations["getV1Applications"];
|
|
255
|
+
put?: never;
|
|
256
|
+
post?: never;
|
|
257
|
+
delete?: never;
|
|
258
|
+
options?: never;
|
|
259
|
+
head?: never;
|
|
260
|
+
patch?: never;
|
|
261
|
+
trace?: never;
|
|
262
|
+
};
|
|
231
263
|
}
|
|
232
264
|
export type webhooks = Record<string, never>;
|
|
233
265
|
export interface components {
|
|
@@ -288,6 +320,8 @@ export interface components {
|
|
|
288
320
|
mergedBy: string | null;
|
|
289
321
|
/** @description Branch merged INTO. The source side is `branch`. */
|
|
290
322
|
targetBranch: string | null;
|
|
323
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
324
|
+
applications: string[];
|
|
291
325
|
number: string | number;
|
|
292
326
|
title: string;
|
|
293
327
|
body: string | null;
|
|
@@ -393,6 +427,8 @@ export interface components {
|
|
|
393
427
|
mergedBy: string | null;
|
|
394
428
|
/** @description Branch merged INTO. The source side is `branch`. */
|
|
395
429
|
targetBranch: string | null;
|
|
430
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
431
|
+
applications: string[];
|
|
396
432
|
number: string | number;
|
|
397
433
|
title: string;
|
|
398
434
|
body: string | null;
|
|
@@ -450,6 +486,59 @@ export interface components {
|
|
|
450
486
|
provider: "github" | "gitlab";
|
|
451
487
|
login: string;
|
|
452
488
|
};
|
|
489
|
+
ApplicationCodeRepoRef: {
|
|
490
|
+
provider: "github" | "gitlab";
|
|
491
|
+
projectKey: string;
|
|
492
|
+
};
|
|
493
|
+
ApplicationDeliveryRules: {
|
|
494
|
+
applicationSlug: string;
|
|
495
|
+
/** @description Labels whose addition marks an issue delivered FOR THIS APPLICATION. Non-empty means these rules replace the tracker's for every issue the application claims; empty means the application declares nothing and its tracker's rules stay in force. */
|
|
496
|
+
deliveryLabels: string[];
|
|
497
|
+
/** @description Labels marking an issue in progress for this application. Only read when `deliveryLabels` is non-empty — a rule set with no delivery label cannot decide a delivery and never shadows the tracker's. */
|
|
498
|
+
openedLabels: string[];
|
|
499
|
+
updatedAt: string | null;
|
|
500
|
+
};
|
|
501
|
+
ApplicationIssueRepoRef: {
|
|
502
|
+
provider: "github" | "gitlab";
|
|
503
|
+
projectKey: string;
|
|
504
|
+
isDefault: boolean;
|
|
505
|
+
};
|
|
506
|
+
ApplicationSummary: {
|
|
507
|
+
slug: string;
|
|
508
|
+
name: string;
|
|
509
|
+
/** @description Code repos (PR/MR source) this application owns. */
|
|
510
|
+
codeRepos: {
|
|
511
|
+
provider: "github" | "gitlab";
|
|
512
|
+
projectKey: string;
|
|
513
|
+
}[];
|
|
514
|
+
/** @description Issue trackers linked to this application. `isDefault` marks the tracker a bare `#N` in one of its code repos resolves to. */
|
|
515
|
+
issueRepos: {
|
|
516
|
+
provider: "github" | "gitlab";
|
|
517
|
+
projectKey: string;
|
|
518
|
+
isDefault: boolean;
|
|
519
|
+
}[];
|
|
520
|
+
/** @description Issue-tracker labels that claim an issue for this application, independent of any PR/MR link. */
|
|
521
|
+
labels: string[];
|
|
522
|
+
};
|
|
523
|
+
ApplicationsListResponse: {
|
|
524
|
+
applications: {
|
|
525
|
+
slug: string;
|
|
526
|
+
name: string;
|
|
527
|
+
/** @description Code repos (PR/MR source) this application owns. */
|
|
528
|
+
codeRepos: {
|
|
529
|
+
provider: "github" | "gitlab";
|
|
530
|
+
projectKey: string;
|
|
531
|
+
}[];
|
|
532
|
+
/** @description Issue trackers linked to this application. `isDefault` marks the tracker a bare `#N` in one of its code repos resolves to. */
|
|
533
|
+
issueRepos: {
|
|
534
|
+
provider: "github" | "gitlab";
|
|
535
|
+
projectKey: string;
|
|
536
|
+
isDefault: boolean;
|
|
537
|
+
}[];
|
|
538
|
+
/** @description Issue-tracker labels that claim an issue for this application, independent of any PR/MR link. */
|
|
539
|
+
labels: string[];
|
|
540
|
+
}[];
|
|
541
|
+
};
|
|
453
542
|
CiPipelineEventMeta: {
|
|
454
543
|
runId?: (string | number) | null;
|
|
455
544
|
sha?: string | null;
|
|
@@ -781,6 +870,8 @@ export interface components {
|
|
|
781
870
|
healthStatus: string | null;
|
|
782
871
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
783
872
|
severity: string | null;
|
|
873
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
874
|
+
applications: string[];
|
|
784
875
|
iteration: {
|
|
785
876
|
id: string | number;
|
|
786
877
|
title: string;
|
|
@@ -1052,6 +1143,8 @@ export interface components {
|
|
|
1052
1143
|
healthStatus: string | null;
|
|
1053
1144
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
1054
1145
|
severity: string | null;
|
|
1146
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
1147
|
+
applications: string[];
|
|
1055
1148
|
iteration: {
|
|
1056
1149
|
id: string | number;
|
|
1057
1150
|
title: string;
|
|
@@ -1978,6 +2071,8 @@ export interface components {
|
|
|
1978
2071
|
healthStatus: string | null;
|
|
1979
2072
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
1980
2073
|
severity: string | null;
|
|
2074
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
2075
|
+
applications: string[];
|
|
1981
2076
|
iteration: {
|
|
1982
2077
|
id: string | number;
|
|
1983
2078
|
title: string;
|
|
@@ -2213,6 +2308,8 @@ export interface components {
|
|
|
2213
2308
|
healthStatus: string | null;
|
|
2214
2309
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
2215
2310
|
severity: string | null;
|
|
2311
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
2312
|
+
applications: string[];
|
|
2216
2313
|
iteration: {
|
|
2217
2314
|
id: string | number;
|
|
2218
2315
|
title: string;
|
|
@@ -2428,6 +2525,8 @@ export interface operations {
|
|
|
2428
2525
|
viewer?: string;
|
|
2429
2526
|
/** @description Filter by user identity ID (resolves to all aliases). Mutually exclusive with ?author. */
|
|
2430
2527
|
identity?: string;
|
|
2528
|
+
/** @description Filter by application slug (see /v1/applications). An unknown slug returns 404, never an empty list. Combines freely with ?author/?identity — orthogonal to them, unlike their mutual exclusivity with each other. */
|
|
2529
|
+
application?: string;
|
|
2431
2530
|
/** @description When '1', enriches each item with `authorIdentity: { id, displayName } | null`. */
|
|
2432
2531
|
withIdentity?: string;
|
|
2433
2532
|
};
|
|
@@ -2501,6 +2600,8 @@ export interface operations {
|
|
|
2501
2600
|
healthStatus: string | null;
|
|
2502
2601
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
2503
2602
|
severity: string | null;
|
|
2603
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
2604
|
+
applications: string[];
|
|
2504
2605
|
iteration: {
|
|
2505
2606
|
id: string | number;
|
|
2506
2607
|
title: string;
|
|
@@ -2740,6 +2841,8 @@ export interface operations {
|
|
|
2740
2841
|
healthStatus: string | null;
|
|
2741
2842
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
2742
2843
|
severity: string | null;
|
|
2844
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
2845
|
+
applications: string[];
|
|
2743
2846
|
iteration: {
|
|
2744
2847
|
id: string | number;
|
|
2745
2848
|
title: string;
|
|
@@ -2979,6 +3082,8 @@ export interface operations {
|
|
|
2979
3082
|
healthStatus: string | null;
|
|
2980
3083
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
2981
3084
|
severity: string | null;
|
|
3085
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
3086
|
+
applications: string[];
|
|
2982
3087
|
iteration: {
|
|
2983
3088
|
id: string | number;
|
|
2984
3089
|
title: string;
|
|
@@ -3274,6 +3379,8 @@ export interface operations {
|
|
|
3274
3379
|
healthStatus: string | null;
|
|
3275
3380
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
3276
3381
|
severity: string | null;
|
|
3382
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
3383
|
+
applications: string[];
|
|
3277
3384
|
iteration: {
|
|
3278
3385
|
id: string | number;
|
|
3279
3386
|
title: string;
|
|
@@ -3508,6 +3615,8 @@ export interface operations {
|
|
|
3508
3615
|
healthStatus: string | null;
|
|
3509
3616
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
3510
3617
|
severity: string | null;
|
|
3618
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
3619
|
+
applications: string[];
|
|
3511
3620
|
iteration: {
|
|
3512
3621
|
id: string | number;
|
|
3513
3622
|
title: string;
|
|
@@ -3742,6 +3851,8 @@ export interface operations {
|
|
|
3742
3851
|
healthStatus: string | null;
|
|
3743
3852
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
3744
3853
|
severity: string | null;
|
|
3854
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
3855
|
+
applications: string[];
|
|
3745
3856
|
iteration: {
|
|
3746
3857
|
id: string | number;
|
|
3747
3858
|
title: string;
|
|
@@ -4011,6 +4122,8 @@ export interface operations {
|
|
|
4011
4122
|
user?: string;
|
|
4012
4123
|
/** @description Filter by user identity ID (resolves to all aliases). Mutually exclusive with ?user. */
|
|
4013
4124
|
identity?: string;
|
|
4125
|
+
/** @description Filter by application slug (see /v1/applications): restricts to events whose repo is one of the application's CODE repos ONLY. LIMITATION: an issue claimed solely by a label (no code-repo link) has no events of its own here — events live on code repos, never on the issue tracker — so this filter is narrower than the `applications` field on /v1/work-items and /v1/activities, which also honours the label signal. An unknown slug returns 404, never an empty list. Combines freely with ?user/?identity. */
|
|
4126
|
+
application?: string;
|
|
4014
4127
|
/** @description When '1', enriches each event with `authorIdentity: { id, displayName } | null`. */
|
|
4015
4128
|
withIdentity?: string;
|
|
4016
4129
|
repo?: string;
|
|
@@ -4783,6 +4896,8 @@ export interface operations {
|
|
|
4783
4896
|
author?: string;
|
|
4784
4897
|
/** @description Filter by user identity ID (resolves to all aliases). Mutually exclusive with ?author. */
|
|
4785
4898
|
identity?: string;
|
|
4899
|
+
/** @description Filter by application slug (see /v1/applications). An unknown slug returns 404, never an empty list. Combines freely with ?author/?identity/?requestedReviewer — orthogonal to them. */
|
|
4900
|
+
application?: string;
|
|
4786
4901
|
/** @description When '1', enriches each activity with `authorIdentity: { id, displayName } | null`. */
|
|
4787
4902
|
withIdentity?: string;
|
|
4788
4903
|
/** @description CSV of GitHub/GitLab logins requested as reviewers (case-insensitive, OR within, AND with the other filters). Answers 'what is waiting on this person's review?' — including PR/MR not linked to any issue, which `linkedActivities[]` on /v1/work-items cannot reach. Distinct from /v1/work-items' `reviewerIs`, which matches items ALREADY reviewed rather than awaiting review. Mutually exclusive with ?reviewerIdentity. */
|
|
@@ -4874,6 +4989,8 @@ export interface operations {
|
|
|
4874
4989
|
mergedBy: string | null;
|
|
4875
4990
|
/** @description Branch merged INTO. The source side is `branch`. */
|
|
4876
4991
|
targetBranch: string | null;
|
|
4992
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
4993
|
+
applications: string[];
|
|
4877
4994
|
number: string | number;
|
|
4878
4995
|
title: string;
|
|
4879
4996
|
body: string | null;
|
|
@@ -4980,6 +5097,8 @@ export interface operations {
|
|
|
4980
5097
|
mergedBy: string | null;
|
|
4981
5098
|
/** @description Branch merged INTO. The source side is `branch`. */
|
|
4982
5099
|
targetBranch: string | null;
|
|
5100
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
5101
|
+
applications: string[];
|
|
4983
5102
|
number: string | number;
|
|
4984
5103
|
title: string;
|
|
4985
5104
|
body: string | null;
|
|
@@ -5086,6 +5205,8 @@ export interface operations {
|
|
|
5086
5205
|
mergedBy: string | null;
|
|
5087
5206
|
/** @description Branch merged INTO. The source side is `branch`. */
|
|
5088
5207
|
targetBranch: string | null;
|
|
5208
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
5209
|
+
applications: string[];
|
|
5089
5210
|
number: string | number;
|
|
5090
5211
|
title: string;
|
|
5091
5212
|
body: string | null;
|
|
@@ -5185,6 +5306,8 @@ export interface operations {
|
|
|
5185
5306
|
author?: string;
|
|
5186
5307
|
/** @description Filter by user identity ID (resolves to all aliases for attribution). Mutually exclusive with ?author. */
|
|
5187
5308
|
identity?: string;
|
|
5309
|
+
/** @description Filter by application slug (see /v1/applications). An unknown slug returns 404, never an empty list. Combines freely with ?author/?identity. */
|
|
5310
|
+
application?: string;
|
|
5188
5311
|
/** @description When '1', attaches `authorIdentity: null` on each issue (placeholder until deliverablesCompute exposes the attributed login — see CR-553). */
|
|
5189
5312
|
withIdentity?: string;
|
|
5190
5313
|
/** @description github | gitlab. */
|
|
@@ -5443,6 +5566,8 @@ export interface operations {
|
|
|
5443
5566
|
healthStatus: string | null;
|
|
5444
5567
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
5445
5568
|
severity: string | null;
|
|
5569
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
5570
|
+
applications: string[];
|
|
5446
5571
|
iteration: {
|
|
5447
5572
|
id: string | number;
|
|
5448
5573
|
title: string;
|
|
@@ -5715,6 +5840,8 @@ export interface operations {
|
|
|
5715
5840
|
healthStatus: string | null;
|
|
5716
5841
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
5717
5842
|
severity: string | null;
|
|
5843
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
5844
|
+
applications: string[];
|
|
5718
5845
|
iteration: {
|
|
5719
5846
|
id: string | number;
|
|
5720
5847
|
title: string;
|
|
@@ -5987,6 +6114,8 @@ export interface operations {
|
|
|
5987
6114
|
healthStatus: string | null;
|
|
5988
6115
|
/** @description Incident severity. Meaningful when `issueType === 'incident'`. */
|
|
5989
6116
|
severity: string | null;
|
|
6117
|
+
/** @description Slugs of the applications (see /v1/applications) that claim this item, in the order declared in the application config. A code-repo item (PR/MR) is claimed by the application that declares its repo; an issue is claimed by label match (declared `issueLabels`) OR by being referenced through a CONFIRMED link from a PR/MR in one of the application's code repos OR by being hosted in one of those code repos itself (the GitHub shape where the code repo is also the tracker) — the signals are a union, so the array can hold more than one slug. ORDER IS SIGNIFICANT: the array is in application-config order, and the FIRST slug is the application whose delivery rules govern this issue (its own rules per field, falling back to the tracker's field by field — see GET /v1/applications/{slug}/delivery-rules). Empty array when the item is not attached to any application, in which case the tracker's rules govern. */
|
|
6118
|
+
applications: string[];
|
|
5990
6119
|
iteration: {
|
|
5991
6120
|
id: string | number;
|
|
5992
6121
|
title: string;
|
|
@@ -6152,6 +6281,173 @@ export interface operations {
|
|
|
6152
6281
|
};
|
|
6153
6282
|
};
|
|
6154
6283
|
};
|
|
6284
|
+
"getV1ApplicationsBySlugDelivery-rules": {
|
|
6285
|
+
parameters: {
|
|
6286
|
+
query?: never;
|
|
6287
|
+
header?: never;
|
|
6288
|
+
path: {
|
|
6289
|
+
slug: string;
|
|
6290
|
+
};
|
|
6291
|
+
cookie?: never;
|
|
6292
|
+
};
|
|
6293
|
+
requestBody?: never;
|
|
6294
|
+
responses: {
|
|
6295
|
+
200: {
|
|
6296
|
+
headers: {
|
|
6297
|
+
[name: string]: unknown;
|
|
6298
|
+
};
|
|
6299
|
+
content: {
|
|
6300
|
+
"application/json": {
|
|
6301
|
+
applicationSlug: string;
|
|
6302
|
+
/** @description Labels whose addition marks an issue delivered FOR THIS APPLICATION. Non-empty means these rules replace the tracker's for every issue the application claims; empty means the application declares nothing and its tracker's rules stay in force. */
|
|
6303
|
+
deliveryLabels: string[];
|
|
6304
|
+
/** @description Labels marking an issue in progress for this application. Only read when `deliveryLabels` is non-empty — a rule set with no delivery label cannot decide a delivery and never shadows the tracker's. */
|
|
6305
|
+
openedLabels: string[];
|
|
6306
|
+
updatedAt: string | null;
|
|
6307
|
+
};
|
|
6308
|
+
"multipart/form-data": {
|
|
6309
|
+
applicationSlug: string;
|
|
6310
|
+
/** @description Labels whose addition marks an issue delivered FOR THIS APPLICATION. Non-empty means these rules replace the tracker's for every issue the application claims; empty means the application declares nothing and its tracker's rules stay in force. */
|
|
6311
|
+
deliveryLabels: string[];
|
|
6312
|
+
/** @description Labels marking an issue in progress for this application. Only read when `deliveryLabels` is non-empty — a rule set with no delivery label cannot decide a delivery and never shadows the tracker's. */
|
|
6313
|
+
openedLabels: string[];
|
|
6314
|
+
updatedAt: string | null;
|
|
6315
|
+
};
|
|
6316
|
+
"text/plain": {
|
|
6317
|
+
applicationSlug: string;
|
|
6318
|
+
/** @description Labels whose addition marks an issue delivered FOR THIS APPLICATION. Non-empty means these rules replace the tracker's for every issue the application claims; empty means the application declares nothing and its tracker's rules stay in force. */
|
|
6319
|
+
deliveryLabels: string[];
|
|
6320
|
+
/** @description Labels marking an issue in progress for this application. Only read when `deliveryLabels` is non-empty — a rule set with no delivery label cannot decide a delivery and never shadows the tracker's. */
|
|
6321
|
+
openedLabels: string[];
|
|
6322
|
+
updatedAt: string | null;
|
|
6323
|
+
};
|
|
6324
|
+
};
|
|
6325
|
+
};
|
|
6326
|
+
400: {
|
|
6327
|
+
headers: {
|
|
6328
|
+
[name: string]: unknown;
|
|
6329
|
+
};
|
|
6330
|
+
content: {
|
|
6331
|
+
"application/json": {
|
|
6332
|
+
error: string;
|
|
6333
|
+
};
|
|
6334
|
+
"multipart/form-data": {
|
|
6335
|
+
error: string;
|
|
6336
|
+
};
|
|
6337
|
+
"text/plain": {
|
|
6338
|
+
error: string;
|
|
6339
|
+
};
|
|
6340
|
+
};
|
|
6341
|
+
};
|
|
6342
|
+
404: {
|
|
6343
|
+
headers: {
|
|
6344
|
+
[name: string]: unknown;
|
|
6345
|
+
};
|
|
6346
|
+
content: {
|
|
6347
|
+
"application/json": {
|
|
6348
|
+
error: string;
|
|
6349
|
+
};
|
|
6350
|
+
"multipart/form-data": {
|
|
6351
|
+
error: string;
|
|
6352
|
+
};
|
|
6353
|
+
"text/plain": {
|
|
6354
|
+
error: string;
|
|
6355
|
+
};
|
|
6356
|
+
};
|
|
6357
|
+
};
|
|
6358
|
+
};
|
|
6359
|
+
};
|
|
6360
|
+
"patchV1ApplicationsBySlugDelivery-rules": {
|
|
6361
|
+
parameters: {
|
|
6362
|
+
query?: never;
|
|
6363
|
+
header?: never;
|
|
6364
|
+
path: {
|
|
6365
|
+
slug: string;
|
|
6366
|
+
};
|
|
6367
|
+
cookie?: never;
|
|
6368
|
+
};
|
|
6369
|
+
requestBody: {
|
|
6370
|
+
content: {
|
|
6371
|
+
"application/json": {
|
|
6372
|
+
deliveryLabels?: string[];
|
|
6373
|
+
openedLabels?: string[];
|
|
6374
|
+
};
|
|
6375
|
+
"multipart/form-data": {
|
|
6376
|
+
deliveryLabels?: string[];
|
|
6377
|
+
openedLabels?: string[];
|
|
6378
|
+
};
|
|
6379
|
+
"text/plain": {
|
|
6380
|
+
deliveryLabels?: string[];
|
|
6381
|
+
openedLabels?: string[];
|
|
6382
|
+
};
|
|
6383
|
+
};
|
|
6384
|
+
};
|
|
6385
|
+
responses: {
|
|
6386
|
+
200: {
|
|
6387
|
+
headers: {
|
|
6388
|
+
[name: string]: unknown;
|
|
6389
|
+
};
|
|
6390
|
+
content: {
|
|
6391
|
+
"application/json": {
|
|
6392
|
+
applicationSlug: string;
|
|
6393
|
+
/** @description Labels whose addition marks an issue delivered FOR THIS APPLICATION. Non-empty means these rules replace the tracker's for every issue the application claims; empty means the application declares nothing and its tracker's rules stay in force. */
|
|
6394
|
+
deliveryLabels: string[];
|
|
6395
|
+
/** @description Labels marking an issue in progress for this application. Only read when `deliveryLabels` is non-empty — a rule set with no delivery label cannot decide a delivery and never shadows the tracker's. */
|
|
6396
|
+
openedLabels: string[];
|
|
6397
|
+
updatedAt: string | null;
|
|
6398
|
+
};
|
|
6399
|
+
"multipart/form-data": {
|
|
6400
|
+
applicationSlug: string;
|
|
6401
|
+
/** @description Labels whose addition marks an issue delivered FOR THIS APPLICATION. Non-empty means these rules replace the tracker's for every issue the application claims; empty means the application declares nothing and its tracker's rules stay in force. */
|
|
6402
|
+
deliveryLabels: string[];
|
|
6403
|
+
/** @description Labels marking an issue in progress for this application. Only read when `deliveryLabels` is non-empty — a rule set with no delivery label cannot decide a delivery and never shadows the tracker's. */
|
|
6404
|
+
openedLabels: string[];
|
|
6405
|
+
updatedAt: string | null;
|
|
6406
|
+
};
|
|
6407
|
+
"text/plain": {
|
|
6408
|
+
applicationSlug: string;
|
|
6409
|
+
/** @description Labels whose addition marks an issue delivered FOR THIS APPLICATION. Non-empty means these rules replace the tracker's for every issue the application claims; empty means the application declares nothing and its tracker's rules stay in force. */
|
|
6410
|
+
deliveryLabels: string[];
|
|
6411
|
+
/** @description Labels marking an issue in progress for this application. Only read when `deliveryLabels` is non-empty — a rule set with no delivery label cannot decide a delivery and never shadows the tracker's. */
|
|
6412
|
+
openedLabels: string[];
|
|
6413
|
+
updatedAt: string | null;
|
|
6414
|
+
};
|
|
6415
|
+
};
|
|
6416
|
+
};
|
|
6417
|
+
400: {
|
|
6418
|
+
headers: {
|
|
6419
|
+
[name: string]: unknown;
|
|
6420
|
+
};
|
|
6421
|
+
content: {
|
|
6422
|
+
"application/json": {
|
|
6423
|
+
error: string;
|
|
6424
|
+
};
|
|
6425
|
+
"multipart/form-data": {
|
|
6426
|
+
error: string;
|
|
6427
|
+
};
|
|
6428
|
+
"text/plain": {
|
|
6429
|
+
error: string;
|
|
6430
|
+
};
|
|
6431
|
+
};
|
|
6432
|
+
};
|
|
6433
|
+
404: {
|
|
6434
|
+
headers: {
|
|
6435
|
+
[name: string]: unknown;
|
|
6436
|
+
};
|
|
6437
|
+
content: {
|
|
6438
|
+
"application/json": {
|
|
6439
|
+
error: string;
|
|
6440
|
+
};
|
|
6441
|
+
"multipart/form-data": {
|
|
6442
|
+
error: string;
|
|
6443
|
+
};
|
|
6444
|
+
"text/plain": {
|
|
6445
|
+
error: string;
|
|
6446
|
+
};
|
|
6447
|
+
};
|
|
6448
|
+
};
|
|
6449
|
+
};
|
|
6450
|
+
};
|
|
6155
6451
|
getV1Projects: {
|
|
6156
6452
|
parameters: {
|
|
6157
6453
|
query?: never;
|
|
@@ -6927,4 +7223,79 @@ export interface operations {
|
|
|
6927
7223
|
};
|
|
6928
7224
|
};
|
|
6929
7225
|
};
|
|
7226
|
+
getV1Applications: {
|
|
7227
|
+
parameters: {
|
|
7228
|
+
query?: never;
|
|
7229
|
+
header?: never;
|
|
7230
|
+
path?: never;
|
|
7231
|
+
cookie?: never;
|
|
7232
|
+
};
|
|
7233
|
+
requestBody?: never;
|
|
7234
|
+
responses: {
|
|
7235
|
+
200: {
|
|
7236
|
+
headers: {
|
|
7237
|
+
[name: string]: unknown;
|
|
7238
|
+
};
|
|
7239
|
+
content: {
|
|
7240
|
+
"application/json": {
|
|
7241
|
+
applications: {
|
|
7242
|
+
slug: string;
|
|
7243
|
+
name: string;
|
|
7244
|
+
/** @description Code repos (PR/MR source) this application owns. */
|
|
7245
|
+
codeRepos: {
|
|
7246
|
+
provider: "github" | "gitlab";
|
|
7247
|
+
projectKey: string;
|
|
7248
|
+
}[];
|
|
7249
|
+
/** @description Issue trackers linked to this application. `isDefault` marks the tracker a bare `#N` in one of its code repos resolves to. */
|
|
7250
|
+
issueRepos: {
|
|
7251
|
+
provider: "github" | "gitlab";
|
|
7252
|
+
projectKey: string;
|
|
7253
|
+
isDefault: boolean;
|
|
7254
|
+
}[];
|
|
7255
|
+
/** @description Issue-tracker labels that claim an issue for this application, independent of any PR/MR link. */
|
|
7256
|
+
labels: string[];
|
|
7257
|
+
}[];
|
|
7258
|
+
};
|
|
7259
|
+
"multipart/form-data": {
|
|
7260
|
+
applications: {
|
|
7261
|
+
slug: string;
|
|
7262
|
+
name: string;
|
|
7263
|
+
/** @description Code repos (PR/MR source) this application owns. */
|
|
7264
|
+
codeRepos: {
|
|
7265
|
+
provider: "github" | "gitlab";
|
|
7266
|
+
projectKey: string;
|
|
7267
|
+
}[];
|
|
7268
|
+
/** @description Issue trackers linked to this application. `isDefault` marks the tracker a bare `#N` in one of its code repos resolves to. */
|
|
7269
|
+
issueRepos: {
|
|
7270
|
+
provider: "github" | "gitlab";
|
|
7271
|
+
projectKey: string;
|
|
7272
|
+
isDefault: boolean;
|
|
7273
|
+
}[];
|
|
7274
|
+
/** @description Issue-tracker labels that claim an issue for this application, independent of any PR/MR link. */
|
|
7275
|
+
labels: string[];
|
|
7276
|
+
}[];
|
|
7277
|
+
};
|
|
7278
|
+
"text/plain": {
|
|
7279
|
+
applications: {
|
|
7280
|
+
slug: string;
|
|
7281
|
+
name: string;
|
|
7282
|
+
/** @description Code repos (PR/MR source) this application owns. */
|
|
7283
|
+
codeRepos: {
|
|
7284
|
+
provider: "github" | "gitlab";
|
|
7285
|
+
projectKey: string;
|
|
7286
|
+
}[];
|
|
7287
|
+
/** @description Issue trackers linked to this application. `isDefault` marks the tracker a bare `#N` in one of its code repos resolves to. */
|
|
7288
|
+
issueRepos: {
|
|
7289
|
+
provider: "github" | "gitlab";
|
|
7290
|
+
projectKey: string;
|
|
7291
|
+
isDefault: boolean;
|
|
7292
|
+
}[];
|
|
7293
|
+
/** @description Issue-tracker labels that claim an issue for this application, independent of any PR/MR link. */
|
|
7294
|
+
labels: string[];
|
|
7295
|
+
}[];
|
|
7296
|
+
};
|
|
7297
|
+
};
|
|
7298
|
+
};
|
|
7299
|
+
};
|
|
7300
|
+
};
|
|
6930
7301
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cesar-richard/git-connector-sdk",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.0",
|
|
4
4
|
"description": "TypeScript SDK for the git-connector v1 API (work items + iterations aggregated from GitHub/GitLab). Version published on npm tracks server releases.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|