@cesar-richard/git-connector-sdk 1.64.0 → 1.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -572,6 +572,44 @@ on upstream unreachable (e.g. expired GitLab NSC cookie).
572
572
  - Modern browsers (no Node-only APIs).
573
573
  - ESM only.
574
574
 
575
+ ## User identities
576
+
577
+ Group multiple `(provider, login)` aliases under one canonical identity. Filter
578
+ any `?author`-supporting endpoint by identity instead of login.
579
+
580
+ ```ts
581
+ // List identities (paginated, with optional search)
582
+ const { data } = await client.GET("/v1/identities", {
583
+ params: { query: { limit: 50, q: "thomas" } },
584
+ });
585
+
586
+ // Create one with initial aliases
587
+ const { data: created } = await client.POST("/v1/identities", {
588
+ body: {
589
+ displayName: "Thomas",
590
+ aliases: [
591
+ { provider: "github", login: "tfi90" },
592
+ { provider: "gitlab", login: "70666666" },
593
+ ],
594
+ },
595
+ });
596
+
597
+ // Attach an alias later — moves it from another identity if needed
598
+ await client.POST("/v1/identities/{id}/aliases", {
599
+ params: { path: { id: created.id } },
600
+ body: { provider: "github", login: "anotherlogin" },
601
+ });
602
+
603
+ // Filter work items / events / activities / deliverables by identity
604
+ const { data: workItems } = await client.GET("/v1/work-items", {
605
+ params: { query: { identity: String(created.id), withIdentity: "1" } },
606
+ });
607
+ // Each work item now carries `authorIdentity: { id, displayName } | null`.
608
+ ```
609
+
610
+ `?identity` and `?author` are mutually exclusive: passing both returns 400.
611
+ `?withIdentity=1` opts into the `authorIdentity` field on each item.
612
+
575
613
  ## Related
576
614
 
577
615
  - **Server / control UI:** [git-connector](https://github.com/cesar-richard-ei/git-connector)
package/dist/schema.d.ts CHANGED
@@ -132,6 +132,70 @@ export interface paths {
132
132
  patch?: never;
133
133
  trace?: never;
134
134
  };
135
+ "/v1/identities": {
136
+ parameters: {
137
+ query?: never;
138
+ header?: never;
139
+ path?: never;
140
+ cookie?: never;
141
+ };
142
+ get: operations["getV1Identities"];
143
+ put?: never;
144
+ post: operations["postV1Identities"];
145
+ delete?: never;
146
+ options?: never;
147
+ head?: never;
148
+ patch?: never;
149
+ trace?: never;
150
+ };
151
+ "/v1/identities/{id}": {
152
+ parameters: {
153
+ query?: never;
154
+ header?: never;
155
+ path?: never;
156
+ cookie?: never;
157
+ };
158
+ get: operations["getV1IdentitiesById"];
159
+ put?: never;
160
+ post?: never;
161
+ delete: operations["deleteV1IdentitiesById"];
162
+ options?: never;
163
+ head?: never;
164
+ patch: operations["patchV1IdentitiesById"];
165
+ trace?: never;
166
+ };
167
+ "/v1/identities/{id}/aliases": {
168
+ parameters: {
169
+ query?: never;
170
+ header?: never;
171
+ path?: never;
172
+ cookie?: never;
173
+ };
174
+ get?: never;
175
+ put?: never;
176
+ post: operations["postV1IdentitiesByIdAliases"];
177
+ delete?: never;
178
+ options?: never;
179
+ head?: never;
180
+ patch?: never;
181
+ trace?: never;
182
+ };
183
+ "/v1/identities/{id}/aliases/{provider}/{login}": {
184
+ parameters: {
185
+ query?: never;
186
+ header?: never;
187
+ path?: never;
188
+ cookie?: never;
189
+ };
190
+ get?: never;
191
+ put?: never;
192
+ post?: never;
193
+ delete: operations["deleteV1IdentitiesByIdAliasesByProviderByLogin"];
194
+ options?: never;
195
+ head?: never;
196
+ patch?: never;
197
+ trace?: never;
198
+ };
135
199
  }
136
200
  export type webhooks = Record<string, never>;
137
201
  export interface components {
@@ -151,6 +215,10 @@ export interface components {
151
215
  createdAt: string;
152
216
  updatedAt: string;
153
217
  mergedAt: string | null;
218
+ authorIdentity?: {
219
+ id: string | number;
220
+ displayName: string;
221
+ } | null;
154
222
  }[];
155
223
  total: string | number;
156
224
  limit: string | number;
@@ -170,6 +238,10 @@ export interface components {
170
238
  createdAt: string;
171
239
  updatedAt: string;
172
240
  mergedAt: string | null;
241
+ authorIdentity?: {
242
+ id: string | number;
243
+ displayName: string;
244
+ } | null;
173
245
  };
174
246
  ActivityIteration: {
175
247
  id: string | number;
@@ -178,6 +250,10 @@ export interface components {
178
250
  dueDate: string | null;
179
251
  state: "upcoming" | "current" | "closed" | "unknown";
180
252
  };
253
+ AliasCreate: {
254
+ provider: "github" | "gitlab";
255
+ login: string;
256
+ };
181
257
  Comment: {
182
258
  id: string;
183
259
  source: "github" | "gitlab";
@@ -341,6 +417,10 @@ export interface components {
341
417
  attributable: boolean;
342
418
  }[];
343
419
  };
420
+ authorIdentity?: {
421
+ id: string | number;
422
+ displayName: string;
423
+ } | null;
344
424
  };
345
425
  DeliverablesListResponse: {
346
426
  issues: {
@@ -467,6 +547,10 @@ export interface components {
467
547
  attributable: boolean;
468
548
  }[];
469
549
  };
550
+ authorIdentity?: {
551
+ id: string | number;
552
+ displayName: string;
553
+ } | null;
470
554
  }[];
471
555
  };
472
556
  DeliveryRules: {
@@ -505,6 +589,10 @@ export interface components {
505
589
  name: string | null;
506
590
  email: string | null;
507
591
  };
592
+ authorIdentity?: {
593
+ id: string | number;
594
+ displayName: string;
595
+ } | null;
508
596
  }[];
509
597
  total: string | number;
510
598
  nextCursor: string | null;
@@ -530,6 +618,68 @@ export interface components {
530
618
  name: string | null;
531
619
  email: string | null;
532
620
  };
621
+ authorIdentity?: {
622
+ id: string | number;
623
+ displayName: string;
624
+ } | null;
625
+ };
626
+ IdentitiesListResponse: {
627
+ identities: {
628
+ id: string | number;
629
+ displayName: string;
630
+ email: string | null;
631
+ avatarUrl: string | null;
632
+ aliases: {
633
+ provider: "github" | "gitlab";
634
+ login: string;
635
+ createdAt: string;
636
+ }[];
637
+ createdAt: string;
638
+ updatedAt: string;
639
+ }[];
640
+ total: string | number;
641
+ limit: string | number;
642
+ offset: string | number;
643
+ };
644
+ Identity: {
645
+ id: string | number;
646
+ displayName: string;
647
+ email: string | null;
648
+ avatarUrl: string | null;
649
+ aliases: {
650
+ provider: "github" | "gitlab";
651
+ login: string;
652
+ createdAt: string;
653
+ }[];
654
+ createdAt: string;
655
+ updatedAt: string;
656
+ };
657
+ IdentityAlias: {
658
+ provider: "github" | "gitlab";
659
+ login: string;
660
+ createdAt: string;
661
+ };
662
+ IdentityAliasInit: {
663
+ provider: "github" | "gitlab";
664
+ login: string;
665
+ };
666
+ IdentityCreate: {
667
+ displayName: string;
668
+ email?: string | null;
669
+ avatarUrl?: string | null;
670
+ aliases?: {
671
+ provider: "github" | "gitlab";
672
+ login: string;
673
+ }[];
674
+ };
675
+ IdentityPatch: {
676
+ displayName?: string;
677
+ email?: string | null;
678
+ avatarUrl?: string | null;
679
+ };
680
+ IdentitySummary: {
681
+ id: string | number;
682
+ displayName: string;
533
683
  };
534
684
  IterationWithCount: {
535
685
  id: string | number;
@@ -860,6 +1010,10 @@ export interface components {
860
1010
  parentType: "issue" | "pr" | "mr";
861
1011
  parentNumber: string | number;
862
1012
  }[];
1013
+ authorIdentity?: {
1014
+ id: string | number;
1015
+ displayName: string;
1016
+ } | null;
863
1017
  };
864
1018
  WorkItemListResponse: {
865
1019
  items: {
@@ -998,6 +1152,10 @@ export interface components {
998
1152
  parentType: "issue" | "pr" | "mr";
999
1153
  parentNumber: string | number;
1000
1154
  }[];
1155
+ authorIdentity?: {
1156
+ id: string | number;
1157
+ displayName: string;
1158
+ } | null;
1001
1159
  }[];
1002
1160
  total: string | number;
1003
1161
  limit: string | number;
@@ -1036,6 +1194,10 @@ export interface operations {
1036
1194
  reviewerIs?: string;
1037
1195
  /** @description Login (case-insensitive) used to compute linkedActivities[].reviewStatus. When the viewer is in a PR's requested reviewers and no verdict is active, reviewStatus is 'open-awaiting-my-review' instead of 'open-awaiting-other-review'. */
1038
1196
  viewer?: string;
1197
+ /** @description Filter by user identity ID (resolves to all aliases). Mutually exclusive with ?author. */
1198
+ identity?: string;
1199
+ /** @description When '1', enriches each item with `authorIdentity: { id, displayName } | null`. */
1200
+ withIdentity?: string;
1039
1201
  };
1040
1202
  header?: never;
1041
1203
  path?: never;
@@ -1185,6 +1347,10 @@ export interface operations {
1185
1347
  parentType: "issue" | "pr" | "mr";
1186
1348
  parentNumber: string | number;
1187
1349
  }[];
1350
+ authorIdentity?: {
1351
+ id: string | number;
1352
+ displayName: string;
1353
+ } | null;
1188
1354
  }[];
1189
1355
  total: string | number;
1190
1356
  limit: string | number;
@@ -1327,6 +1493,10 @@ export interface operations {
1327
1493
  parentType: "issue" | "pr" | "mr";
1328
1494
  parentNumber: string | number;
1329
1495
  }[];
1496
+ authorIdentity?: {
1497
+ id: string | number;
1498
+ displayName: string;
1499
+ } | null;
1330
1500
  }[];
1331
1501
  total: string | number;
1332
1502
  limit: string | number;
@@ -1469,6 +1639,10 @@ export interface operations {
1469
1639
  parentType: "issue" | "pr" | "mr";
1470
1640
  parentNumber: string | number;
1471
1641
  }[];
1642
+ authorIdentity?: {
1643
+ id: string | number;
1644
+ displayName: string;
1645
+ } | null;
1472
1646
  }[];
1473
1647
  total: string | number;
1474
1648
  limit: string | number;
@@ -1476,6 +1650,38 @@ export interface operations {
1476
1650
  };
1477
1651
  };
1478
1652
  };
1653
+ 400: {
1654
+ headers: {
1655
+ [name: string]: unknown;
1656
+ };
1657
+ content: {
1658
+ "application/json": {
1659
+ error: string;
1660
+ };
1661
+ "multipart/form-data": {
1662
+ error: string;
1663
+ };
1664
+ "text/plain": {
1665
+ error: string;
1666
+ };
1667
+ };
1668
+ };
1669
+ 404: {
1670
+ headers: {
1671
+ [name: string]: unknown;
1672
+ };
1673
+ content: {
1674
+ "application/json": {
1675
+ error: string;
1676
+ };
1677
+ "multipart/form-data": {
1678
+ error: string;
1679
+ };
1680
+ "text/plain": {
1681
+ error: string;
1682
+ };
1683
+ };
1684
+ };
1479
1685
  };
1480
1686
  };
1481
1687
  "getV1Work-itemsBySourceByProjectKeyByNumber": {
@@ -1635,6 +1841,10 @@ export interface operations {
1635
1841
  parentType: "issue" | "pr" | "mr";
1636
1842
  parentNumber: string | number;
1637
1843
  }[];
1844
+ authorIdentity?: {
1845
+ id: string | number;
1846
+ displayName: string;
1847
+ } | null;
1638
1848
  };
1639
1849
  "multipart/form-data": {
1640
1850
  id: string;
@@ -1772,6 +1982,10 @@ export interface operations {
1772
1982
  parentType: "issue" | "pr" | "mr";
1773
1983
  parentNumber: string | number;
1774
1984
  }[];
1985
+ authorIdentity?: {
1986
+ id: string | number;
1987
+ displayName: string;
1988
+ } | null;
1775
1989
  };
1776
1990
  "text/plain": {
1777
1991
  id: string;
@@ -1909,6 +2123,10 @@ export interface operations {
1909
2123
  parentType: "issue" | "pr" | "mr";
1910
2124
  parentNumber: string | number;
1911
2125
  }[];
2126
+ authorIdentity?: {
2127
+ id: string | number;
2128
+ displayName: string;
2129
+ } | null;
1912
2130
  };
1913
2131
  };
1914
2132
  };
@@ -1999,6 +2217,10 @@ export interface operations {
1999
2217
  to?: string;
2000
2218
  /** @description Filter by author (case-insensitive). */
2001
2219
  user?: string;
2220
+ /** @description Filter by user identity ID (resolves to all aliases). Mutually exclusive with ?user. */
2221
+ identity?: string;
2222
+ /** @description When '1', enriches each event with `authorIdentity: { id, displayName } | null`. */
2223
+ withIdentity?: string;
2002
2224
  repo?: string;
2003
2225
  /** @description CSV: commit,comment,review,state-transition */
2004
2226
  type?: string;
@@ -2044,6 +2266,10 @@ export interface operations {
2044
2266
  name: string | null;
2045
2267
  email: string | null;
2046
2268
  };
2269
+ authorIdentity?: {
2270
+ id: string | number;
2271
+ displayName: string;
2272
+ } | null;
2047
2273
  }[];
2048
2274
  total: string | number;
2049
2275
  nextCursor: string | null;
@@ -2070,6 +2296,10 @@ export interface operations {
2070
2296
  name: string | null;
2071
2297
  email: string | null;
2072
2298
  };
2299
+ authorIdentity?: {
2300
+ id: string | number;
2301
+ displayName: string;
2302
+ } | null;
2073
2303
  }[];
2074
2304
  total: string | number;
2075
2305
  nextCursor: string | null;
@@ -2096,6 +2326,10 @@ export interface operations {
2096
2326
  name: string | null;
2097
2327
  email: string | null;
2098
2328
  };
2329
+ authorIdentity?: {
2330
+ id: string | number;
2331
+ displayName: string;
2332
+ } | null;
2099
2333
  }[];
2100
2334
  total: string | number;
2101
2335
  nextCursor: string | null;
@@ -2118,6 +2352,22 @@ export interface operations {
2118
2352
  };
2119
2353
  };
2120
2354
  };
2355
+ 404: {
2356
+ headers: {
2357
+ [name: string]: unknown;
2358
+ };
2359
+ content: {
2360
+ "application/json": {
2361
+ error: string;
2362
+ };
2363
+ "multipart/form-data": {
2364
+ error: string;
2365
+ };
2366
+ "text/plain": {
2367
+ error: string;
2368
+ };
2369
+ };
2370
+ };
2121
2371
  };
2122
2372
  };
2123
2373
  getV1Activities: {
@@ -2125,6 +2375,10 @@ export interface operations {
2125
2375
  query?: {
2126
2376
  /** @description Exact match (case-insensitive) on the activity author's GitHub/GitLab login. Does NOT match display names. */
2127
2377
  author?: string;
2378
+ /** @description Filter by user identity ID (resolves to all aliases). Mutually exclusive with ?author. */
2379
+ identity?: string;
2380
+ /** @description When '1', enriches each activity with `authorIdentity: { id, displayName } | null`. */
2381
+ withIdentity?: string;
2128
2382
  /** @description CSV: open,draft,merged,closed,unknown. Default returns all states. */
2129
2383
  state?: string;
2130
2384
  /** @description CSV: pr,mr,issue. Default returns all. */
@@ -2167,6 +2421,10 @@ export interface operations {
2167
2421
  createdAt: string;
2168
2422
  updatedAt: string;
2169
2423
  mergedAt: string | null;
2424
+ authorIdentity?: {
2425
+ id: string | number;
2426
+ displayName: string;
2427
+ } | null;
2170
2428
  }[];
2171
2429
  total: string | number;
2172
2430
  limit: string | number;
@@ -2187,6 +2445,10 @@ export interface operations {
2187
2445
  createdAt: string;
2188
2446
  updatedAt: string;
2189
2447
  mergedAt: string | null;
2448
+ authorIdentity?: {
2449
+ id: string | number;
2450
+ displayName: string;
2451
+ } | null;
2190
2452
  }[];
2191
2453
  total: string | number;
2192
2454
  limit: string | number;
@@ -2207,6 +2469,10 @@ export interface operations {
2207
2469
  createdAt: string;
2208
2470
  updatedAt: string;
2209
2471
  mergedAt: string | null;
2472
+ authorIdentity?: {
2473
+ id: string | number;
2474
+ displayName: string;
2475
+ } | null;
2210
2476
  }[];
2211
2477
  total: string | number;
2212
2478
  limit: string | number;
@@ -2214,6 +2480,38 @@ export interface operations {
2214
2480
  };
2215
2481
  };
2216
2482
  };
2483
+ 400: {
2484
+ headers: {
2485
+ [name: string]: unknown;
2486
+ };
2487
+ content: {
2488
+ "application/json": {
2489
+ error: string;
2490
+ };
2491
+ "multipart/form-data": {
2492
+ error: string;
2493
+ };
2494
+ "text/plain": {
2495
+ error: string;
2496
+ };
2497
+ };
2498
+ };
2499
+ 404: {
2500
+ headers: {
2501
+ [name: string]: unknown;
2502
+ };
2503
+ content: {
2504
+ "application/json": {
2505
+ error: string;
2506
+ };
2507
+ "multipart/form-data": {
2508
+ error: string;
2509
+ };
2510
+ "text/plain": {
2511
+ error: string;
2512
+ };
2513
+ };
2514
+ };
2217
2515
  };
2218
2516
  };
2219
2517
  getV1Deliverables: {
@@ -2227,6 +2525,10 @@ export interface operations {
2227
2525
  projectKey?: string;
2228
2526
  /** @description CSV of author login aliases (case-insensitive). When set, only issues attributable to one of the aliases are returned and `attribution` is populated; when absent, all window deliverables are returned with `attribution: null`. */
2229
2527
  author?: string;
2528
+ /** @description Filter by user identity ID (resolves to all aliases for attribution). Mutually exclusive with ?author. */
2529
+ identity?: string;
2530
+ /** @description When '1', attaches `authorIdentity: null` on each issue (placeholder until deliverablesCompute exposes the attributed login — see CR-553). */
2531
+ withIdentity?: string;
2230
2532
  /** @description github | gitlab. */
2231
2533
  source?: string;
2232
2534
  };
@@ -2366,6 +2668,10 @@ export interface operations {
2366
2668
  attributable: boolean;
2367
2669
  }[];
2368
2670
  };
2671
+ authorIdentity?: {
2672
+ id: string | number;
2673
+ displayName: string;
2674
+ } | null;
2369
2675
  }[];
2370
2676
  };
2371
2677
  "multipart/form-data": {
@@ -2493,6 +2799,10 @@ export interface operations {
2493
2799
  attributable: boolean;
2494
2800
  }[];
2495
2801
  };
2802
+ authorIdentity?: {
2803
+ id: string | number;
2804
+ displayName: string;
2805
+ } | null;
2496
2806
  }[];
2497
2807
  };
2498
2808
  "text/plain": {
@@ -2620,6 +2930,10 @@ export interface operations {
2620
2930
  attributable: boolean;
2621
2931
  }[];
2622
2932
  };
2933
+ authorIdentity?: {
2934
+ id: string | number;
2935
+ displayName: string;
2936
+ } | null;
2623
2937
  }[];
2624
2938
  };
2625
2939
  };
@@ -2640,6 +2954,22 @@ export interface operations {
2640
2954
  };
2641
2955
  };
2642
2956
  };
2957
+ 404: {
2958
+ headers: {
2959
+ [name: string]: unknown;
2960
+ };
2961
+ content: {
2962
+ "application/json": {
2963
+ error: string;
2964
+ };
2965
+ "multipart/form-data": {
2966
+ error: string;
2967
+ };
2968
+ "text/plain": {
2969
+ error: string;
2970
+ };
2971
+ };
2972
+ };
2643
2973
  };
2644
2974
  };
2645
2975
  "getV1ProjectsBySourceByProjectKeyDelivery-rules": {
@@ -2853,4 +3183,577 @@ export interface operations {
2853
3183
  };
2854
3184
  };
2855
3185
  };
3186
+ getV1Identities: {
3187
+ parameters: {
3188
+ query?: {
3189
+ limit?: string;
3190
+ offset?: string;
3191
+ q?: string;
3192
+ };
3193
+ header?: never;
3194
+ path?: never;
3195
+ cookie?: never;
3196
+ };
3197
+ requestBody?: never;
3198
+ responses: {
3199
+ 200: {
3200
+ headers: {
3201
+ [name: string]: unknown;
3202
+ };
3203
+ content: {
3204
+ "application/json": {
3205
+ identities: {
3206
+ id: string | number;
3207
+ displayName: string;
3208
+ email: string | null;
3209
+ avatarUrl: string | null;
3210
+ aliases: {
3211
+ provider: "github" | "gitlab";
3212
+ login: string;
3213
+ createdAt: string;
3214
+ }[];
3215
+ createdAt: string;
3216
+ updatedAt: string;
3217
+ }[];
3218
+ total: string | number;
3219
+ limit: string | number;
3220
+ offset: string | number;
3221
+ };
3222
+ "multipart/form-data": {
3223
+ identities: {
3224
+ id: string | number;
3225
+ displayName: string;
3226
+ email: string | null;
3227
+ avatarUrl: string | null;
3228
+ aliases: {
3229
+ provider: "github" | "gitlab";
3230
+ login: string;
3231
+ createdAt: string;
3232
+ }[];
3233
+ createdAt: string;
3234
+ updatedAt: string;
3235
+ }[];
3236
+ total: string | number;
3237
+ limit: string | number;
3238
+ offset: string | number;
3239
+ };
3240
+ "text/plain": {
3241
+ identities: {
3242
+ id: string | number;
3243
+ displayName: string;
3244
+ email: string | null;
3245
+ avatarUrl: string | null;
3246
+ aliases: {
3247
+ provider: "github" | "gitlab";
3248
+ login: string;
3249
+ createdAt: string;
3250
+ }[];
3251
+ createdAt: string;
3252
+ updatedAt: string;
3253
+ }[];
3254
+ total: string | number;
3255
+ limit: string | number;
3256
+ offset: string | number;
3257
+ };
3258
+ };
3259
+ };
3260
+ };
3261
+ };
3262
+ postV1Identities: {
3263
+ parameters: {
3264
+ query?: never;
3265
+ header?: never;
3266
+ path?: never;
3267
+ cookie?: never;
3268
+ };
3269
+ requestBody: {
3270
+ content: {
3271
+ "application/json": {
3272
+ displayName: string;
3273
+ email?: string | null;
3274
+ avatarUrl?: string | null;
3275
+ aliases?: {
3276
+ provider: "github" | "gitlab";
3277
+ login: string;
3278
+ }[];
3279
+ };
3280
+ "multipart/form-data": {
3281
+ displayName: string;
3282
+ email?: string | null;
3283
+ avatarUrl?: string | null;
3284
+ aliases?: {
3285
+ provider: "github" | "gitlab";
3286
+ login: string;
3287
+ }[];
3288
+ };
3289
+ "text/plain": {
3290
+ displayName: string;
3291
+ email?: string | null;
3292
+ avatarUrl?: string | null;
3293
+ aliases?: {
3294
+ provider: "github" | "gitlab";
3295
+ login: string;
3296
+ }[];
3297
+ };
3298
+ };
3299
+ };
3300
+ responses: {
3301
+ 201: {
3302
+ headers: {
3303
+ [name: string]: unknown;
3304
+ };
3305
+ content: {
3306
+ "application/json": {
3307
+ id: string | number;
3308
+ displayName: string;
3309
+ email: string | null;
3310
+ avatarUrl: string | null;
3311
+ aliases: {
3312
+ provider: "github" | "gitlab";
3313
+ login: string;
3314
+ createdAt: string;
3315
+ }[];
3316
+ createdAt: string;
3317
+ updatedAt: string;
3318
+ };
3319
+ "multipart/form-data": {
3320
+ id: string | number;
3321
+ displayName: string;
3322
+ email: string | null;
3323
+ avatarUrl: string | null;
3324
+ aliases: {
3325
+ provider: "github" | "gitlab";
3326
+ login: string;
3327
+ createdAt: string;
3328
+ }[];
3329
+ createdAt: string;
3330
+ updatedAt: string;
3331
+ };
3332
+ "text/plain": {
3333
+ id: string | number;
3334
+ displayName: string;
3335
+ email: string | null;
3336
+ avatarUrl: string | null;
3337
+ aliases: {
3338
+ provider: "github" | "gitlab";
3339
+ login: string;
3340
+ createdAt: string;
3341
+ }[];
3342
+ createdAt: string;
3343
+ updatedAt: string;
3344
+ };
3345
+ };
3346
+ };
3347
+ };
3348
+ };
3349
+ getV1IdentitiesById: {
3350
+ parameters: {
3351
+ query?: never;
3352
+ header?: never;
3353
+ path: {
3354
+ id: string;
3355
+ };
3356
+ cookie?: never;
3357
+ };
3358
+ requestBody?: never;
3359
+ responses: {
3360
+ 200: {
3361
+ headers: {
3362
+ [name: string]: unknown;
3363
+ };
3364
+ content: {
3365
+ "application/json": {
3366
+ id: string | number;
3367
+ displayName: string;
3368
+ email: string | null;
3369
+ avatarUrl: string | null;
3370
+ aliases: {
3371
+ provider: "github" | "gitlab";
3372
+ login: string;
3373
+ createdAt: string;
3374
+ }[];
3375
+ createdAt: string;
3376
+ updatedAt: string;
3377
+ };
3378
+ "multipart/form-data": {
3379
+ id: string | number;
3380
+ displayName: string;
3381
+ email: string | null;
3382
+ avatarUrl: string | null;
3383
+ aliases: {
3384
+ provider: "github" | "gitlab";
3385
+ login: string;
3386
+ createdAt: string;
3387
+ }[];
3388
+ createdAt: string;
3389
+ updatedAt: string;
3390
+ };
3391
+ "text/plain": {
3392
+ id: string | number;
3393
+ displayName: string;
3394
+ email: string | null;
3395
+ avatarUrl: string | null;
3396
+ aliases: {
3397
+ provider: "github" | "gitlab";
3398
+ login: string;
3399
+ createdAt: string;
3400
+ }[];
3401
+ createdAt: string;
3402
+ updatedAt: string;
3403
+ };
3404
+ };
3405
+ };
3406
+ 400: {
3407
+ headers: {
3408
+ [name: string]: unknown;
3409
+ };
3410
+ content: {
3411
+ "application/json": {
3412
+ error: string;
3413
+ };
3414
+ "multipart/form-data": {
3415
+ error: string;
3416
+ };
3417
+ "text/plain": {
3418
+ error: string;
3419
+ };
3420
+ };
3421
+ };
3422
+ 404: {
3423
+ headers: {
3424
+ [name: string]: unknown;
3425
+ };
3426
+ content: {
3427
+ "application/json": {
3428
+ error: string;
3429
+ };
3430
+ "multipart/form-data": {
3431
+ error: string;
3432
+ };
3433
+ "text/plain": {
3434
+ error: string;
3435
+ };
3436
+ };
3437
+ };
3438
+ };
3439
+ };
3440
+ deleteV1IdentitiesById: {
3441
+ parameters: {
3442
+ query?: never;
3443
+ header?: never;
3444
+ path: {
3445
+ id: string;
3446
+ };
3447
+ cookie?: never;
3448
+ };
3449
+ requestBody?: never;
3450
+ responses: {
3451
+ 204: {
3452
+ headers: {
3453
+ [name: string]: unknown;
3454
+ };
3455
+ content?: never;
3456
+ };
3457
+ 400: {
3458
+ headers: {
3459
+ [name: string]: unknown;
3460
+ };
3461
+ content: {
3462
+ "application/json": {
3463
+ error: string;
3464
+ };
3465
+ "multipart/form-data": {
3466
+ error: string;
3467
+ };
3468
+ "text/plain": {
3469
+ error: string;
3470
+ };
3471
+ };
3472
+ };
3473
+ 404: {
3474
+ headers: {
3475
+ [name: string]: unknown;
3476
+ };
3477
+ content: {
3478
+ "application/json": {
3479
+ error: string;
3480
+ };
3481
+ "multipart/form-data": {
3482
+ error: string;
3483
+ };
3484
+ "text/plain": {
3485
+ error: string;
3486
+ };
3487
+ };
3488
+ };
3489
+ };
3490
+ };
3491
+ patchV1IdentitiesById: {
3492
+ parameters: {
3493
+ query?: never;
3494
+ header?: never;
3495
+ path: {
3496
+ id: string;
3497
+ };
3498
+ cookie?: never;
3499
+ };
3500
+ requestBody: {
3501
+ content: {
3502
+ "application/json": {
3503
+ displayName?: string;
3504
+ email?: string | null;
3505
+ avatarUrl?: string | null;
3506
+ };
3507
+ "multipart/form-data": {
3508
+ displayName?: string;
3509
+ email?: string | null;
3510
+ avatarUrl?: string | null;
3511
+ };
3512
+ "text/plain": {
3513
+ displayName?: string;
3514
+ email?: string | null;
3515
+ avatarUrl?: string | null;
3516
+ };
3517
+ };
3518
+ };
3519
+ responses: {
3520
+ 200: {
3521
+ headers: {
3522
+ [name: string]: unknown;
3523
+ };
3524
+ content: {
3525
+ "application/json": {
3526
+ id: string | number;
3527
+ displayName: string;
3528
+ email: string | null;
3529
+ avatarUrl: string | null;
3530
+ aliases: {
3531
+ provider: "github" | "gitlab";
3532
+ login: string;
3533
+ createdAt: string;
3534
+ }[];
3535
+ createdAt: string;
3536
+ updatedAt: string;
3537
+ };
3538
+ "multipart/form-data": {
3539
+ id: string | number;
3540
+ displayName: string;
3541
+ email: string | null;
3542
+ avatarUrl: string | null;
3543
+ aliases: {
3544
+ provider: "github" | "gitlab";
3545
+ login: string;
3546
+ createdAt: string;
3547
+ }[];
3548
+ createdAt: string;
3549
+ updatedAt: string;
3550
+ };
3551
+ "text/plain": {
3552
+ id: string | number;
3553
+ displayName: string;
3554
+ email: string | null;
3555
+ avatarUrl: string | null;
3556
+ aliases: {
3557
+ provider: "github" | "gitlab";
3558
+ login: string;
3559
+ createdAt: string;
3560
+ }[];
3561
+ createdAt: string;
3562
+ updatedAt: string;
3563
+ };
3564
+ };
3565
+ };
3566
+ 400: {
3567
+ headers: {
3568
+ [name: string]: unknown;
3569
+ };
3570
+ content: {
3571
+ "application/json": {
3572
+ error: string;
3573
+ };
3574
+ "multipart/form-data": {
3575
+ error: string;
3576
+ };
3577
+ "text/plain": {
3578
+ error: string;
3579
+ };
3580
+ };
3581
+ };
3582
+ 404: {
3583
+ headers: {
3584
+ [name: string]: unknown;
3585
+ };
3586
+ content: {
3587
+ "application/json": {
3588
+ error: string;
3589
+ };
3590
+ "multipart/form-data": {
3591
+ error: string;
3592
+ };
3593
+ "text/plain": {
3594
+ error: string;
3595
+ };
3596
+ };
3597
+ };
3598
+ };
3599
+ };
3600
+ postV1IdentitiesByIdAliases: {
3601
+ parameters: {
3602
+ query?: never;
3603
+ header?: never;
3604
+ path: {
3605
+ id: string;
3606
+ };
3607
+ cookie?: never;
3608
+ };
3609
+ requestBody: {
3610
+ content: {
3611
+ "application/json": {
3612
+ provider: "github" | "gitlab";
3613
+ login: string;
3614
+ };
3615
+ "multipart/form-data": {
3616
+ provider: "github" | "gitlab";
3617
+ login: string;
3618
+ };
3619
+ "text/plain": {
3620
+ provider: "github" | "gitlab";
3621
+ login: string;
3622
+ };
3623
+ };
3624
+ };
3625
+ responses: {
3626
+ 200: {
3627
+ headers: {
3628
+ [name: string]: unknown;
3629
+ };
3630
+ content: {
3631
+ "application/json": {
3632
+ id: string | number;
3633
+ displayName: string;
3634
+ email: string | null;
3635
+ avatarUrl: string | null;
3636
+ aliases: {
3637
+ provider: "github" | "gitlab";
3638
+ login: string;
3639
+ createdAt: string;
3640
+ }[];
3641
+ createdAt: string;
3642
+ updatedAt: string;
3643
+ };
3644
+ "multipart/form-data": {
3645
+ id: string | number;
3646
+ displayName: string;
3647
+ email: string | null;
3648
+ avatarUrl: string | null;
3649
+ aliases: {
3650
+ provider: "github" | "gitlab";
3651
+ login: string;
3652
+ createdAt: string;
3653
+ }[];
3654
+ createdAt: string;
3655
+ updatedAt: string;
3656
+ };
3657
+ "text/plain": {
3658
+ id: string | number;
3659
+ displayName: string;
3660
+ email: string | null;
3661
+ avatarUrl: string | null;
3662
+ aliases: {
3663
+ provider: "github" | "gitlab";
3664
+ login: string;
3665
+ createdAt: string;
3666
+ }[];
3667
+ createdAt: string;
3668
+ updatedAt: string;
3669
+ };
3670
+ };
3671
+ };
3672
+ 400: {
3673
+ headers: {
3674
+ [name: string]: unknown;
3675
+ };
3676
+ content: {
3677
+ "application/json": {
3678
+ error: string;
3679
+ };
3680
+ "multipart/form-data": {
3681
+ error: string;
3682
+ };
3683
+ "text/plain": {
3684
+ error: string;
3685
+ };
3686
+ };
3687
+ };
3688
+ 404: {
3689
+ headers: {
3690
+ [name: string]: unknown;
3691
+ };
3692
+ content: {
3693
+ "application/json": {
3694
+ error: string;
3695
+ };
3696
+ "multipart/form-data": {
3697
+ error: string;
3698
+ };
3699
+ "text/plain": {
3700
+ error: string;
3701
+ };
3702
+ };
3703
+ };
3704
+ };
3705
+ };
3706
+ deleteV1IdentitiesByIdAliasesByProviderByLogin: {
3707
+ parameters: {
3708
+ query?: never;
3709
+ header?: never;
3710
+ path: {
3711
+ id: string;
3712
+ provider: string;
3713
+ login: string;
3714
+ };
3715
+ cookie?: never;
3716
+ };
3717
+ requestBody?: never;
3718
+ responses: {
3719
+ 204: {
3720
+ headers: {
3721
+ [name: string]: unknown;
3722
+ };
3723
+ content?: never;
3724
+ };
3725
+ 400: {
3726
+ headers: {
3727
+ [name: string]: unknown;
3728
+ };
3729
+ content: {
3730
+ "application/json": {
3731
+ error: string;
3732
+ };
3733
+ "multipart/form-data": {
3734
+ error: string;
3735
+ };
3736
+ "text/plain": {
3737
+ error: string;
3738
+ };
3739
+ };
3740
+ };
3741
+ 404: {
3742
+ headers: {
3743
+ [name: string]: unknown;
3744
+ };
3745
+ content: {
3746
+ "application/json": {
3747
+ error: string;
3748
+ };
3749
+ "multipart/form-data": {
3750
+ error: string;
3751
+ };
3752
+ "text/plain": {
3753
+ error: string;
3754
+ };
3755
+ };
3756
+ };
3757
+ };
3758
+ };
2856
3759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cesar-richard/git-connector-sdk",
3
- "version": "1.64.0",
3
+ "version": "1.65.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": {