@happyvertical/smrt-projects 0.40.64 → 0.40.66
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 +1 -1
- package/dist/manifest.json +1 -1
- package/dist/smrt-knowledge.json +1914 -91
- package/package.json +16 -16
package/dist/smrt-knowledge.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
+
"sensitiveFieldsExcluded": true,
|
|
3
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
4
5
|
"packageName": "@happyvertical/smrt-projects",
|
|
5
|
-
"packageVersion": "0.40.
|
|
6
|
+
"packageVersion": "0.40.66",
|
|
6
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
7
8
|
"agentDocPath": "AGENTS.md",
|
|
8
9
|
"sourceHashes": {
|
|
9
|
-
"manifest": "
|
|
10
|
-
"packageJson": "
|
|
10
|
+
"manifest": "6640c91b498d3769bfec83253d2601aa0a91ab4bc900c8ba8929f23a758621cd",
|
|
11
|
+
"packageJson": "4ca79cf42a952beeb70a730cbc694486446f4bd1b1557df69ed00e3fb6f91525",
|
|
11
12
|
"agents": "413522a1eeb6062d2011e201074bf783cc501b21d07ca616aacc062db486fe7d"
|
|
12
13
|
},
|
|
13
14
|
"exports": [
|
|
@@ -78,6 +79,17 @@
|
|
|
78
79
|
"methods": [
|
|
79
80
|
"listForRequest"
|
|
80
81
|
],
|
|
82
|
+
"methodSignatures": [
|
|
83
|
+
{
|
|
84
|
+
"name": "listForRequest",
|
|
85
|
+
"async": true,
|
|
86
|
+
"params": [
|
|
87
|
+
"tenantId: string",
|
|
88
|
+
"requestId: string"
|
|
89
|
+
],
|
|
90
|
+
"returns": "Promise<DevelopmentRequestHistory[]>"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
81
93
|
"surfaces": [],
|
|
82
94
|
"relationshipFeatures": [
|
|
83
95
|
"uuidColumns"
|
|
@@ -100,6 +112,44 @@
|
|
|
100
112
|
"listForProject",
|
|
101
113
|
"transitionStatus"
|
|
102
114
|
],
|
|
115
|
+
"methodSignatures": [
|
|
116
|
+
{
|
|
117
|
+
"name": "createManaged",
|
|
118
|
+
"async": true,
|
|
119
|
+
"params": [
|
|
120
|
+
"input: any"
|
|
121
|
+
],
|
|
122
|
+
"returns": "Promise<DevelopmentRequest>"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "listByIntegrationRequester",
|
|
126
|
+
"async": true,
|
|
127
|
+
"params": [
|
|
128
|
+
"input: object"
|
|
129
|
+
],
|
|
130
|
+
"returns": "Promise<DevelopmentRequest[]>"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "listForProject",
|
|
134
|
+
"async": true,
|
|
135
|
+
"params": [
|
|
136
|
+
"tenantId: string",
|
|
137
|
+
"projectId: string",
|
|
138
|
+
"status?: DevelopmentRequestStatus"
|
|
139
|
+
],
|
|
140
|
+
"returns": "Promise<DevelopmentRequest[]>"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "transitionStatus",
|
|
144
|
+
"async": true,
|
|
145
|
+
"params": [
|
|
146
|
+
"tenantId: string",
|
|
147
|
+
"requestId: string",
|
|
148
|
+
"transition: DevelopmentRequestTransitionInput"
|
|
149
|
+
],
|
|
150
|
+
"returns": "Promise<DevelopmentRequest>"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
103
153
|
"surfaces": [],
|
|
104
154
|
"relationshipFeatures": [
|
|
105
155
|
"uuidColumns"
|
|
@@ -130,6 +180,105 @@
|
|
|
130
180
|
"findWithGlobals",
|
|
131
181
|
"findWithUnincorporatedFeedback"
|
|
132
182
|
],
|
|
183
|
+
"methodSignatures": [
|
|
184
|
+
{
|
|
185
|
+
"name": "batchSync",
|
|
186
|
+
"async": true,
|
|
187
|
+
"params": [
|
|
188
|
+
"repository: Repository",
|
|
189
|
+
"options?: object"
|
|
190
|
+
],
|
|
191
|
+
"returns": "Promise<Issue[]>"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "discover",
|
|
195
|
+
"async": true,
|
|
196
|
+
"params": [
|
|
197
|
+
"options: object"
|
|
198
|
+
],
|
|
199
|
+
"returns": "Promise<Issue[]>"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "findByAssignee",
|
|
203
|
+
"async": true,
|
|
204
|
+
"params": [
|
|
205
|
+
"assignee: string",
|
|
206
|
+
"repositoryId?: string"
|
|
207
|
+
],
|
|
208
|
+
"returns": "Promise<Issue[]>"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "findByLabel",
|
|
212
|
+
"async": true,
|
|
213
|
+
"params": [
|
|
214
|
+
"label: string",
|
|
215
|
+
"repositoryId?: string"
|
|
216
|
+
],
|
|
217
|
+
"returns": "Promise<Issue[]>"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "findByNumber",
|
|
221
|
+
"async": true,
|
|
222
|
+
"params": [
|
|
223
|
+
"repositoryId: string",
|
|
224
|
+
"number: number"
|
|
225
|
+
],
|
|
226
|
+
"returns": "Promise<Issue | null>"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "findByRepository",
|
|
230
|
+
"async": true,
|
|
231
|
+
"params": [
|
|
232
|
+
"repositoryId: string"
|
|
233
|
+
],
|
|
234
|
+
"returns": "Promise<Issue[]>"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "findByTenant",
|
|
238
|
+
"async": true,
|
|
239
|
+
"params": [
|
|
240
|
+
"tenantId: string"
|
|
241
|
+
],
|
|
242
|
+
"returns": "Promise<Issue[]>"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "findGlobal",
|
|
246
|
+
"async": true,
|
|
247
|
+
"returns": "Promise<Issue[]>"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "findNeedingReview",
|
|
251
|
+
"async": true,
|
|
252
|
+
"params": [
|
|
253
|
+
"repositoryId?: string"
|
|
254
|
+
],
|
|
255
|
+
"returns": "Promise<Issue[]>"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "findOpen",
|
|
259
|
+
"async": true,
|
|
260
|
+
"params": [
|
|
261
|
+
"repositoryId?: string"
|
|
262
|
+
],
|
|
263
|
+
"returns": "Promise<Issue[]>"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "findWithGlobals",
|
|
267
|
+
"async": true,
|
|
268
|
+
"params": [
|
|
269
|
+
"tenantId: string"
|
|
270
|
+
],
|
|
271
|
+
"returns": "Promise<Issue[]>"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "findWithUnincorporatedFeedback",
|
|
275
|
+
"async": true,
|
|
276
|
+
"params": [
|
|
277
|
+
"repositoryId?: string"
|
|
278
|
+
],
|
|
279
|
+
"returns": "Promise<Issue[]>"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
133
282
|
"surfaces": [],
|
|
134
283
|
"relationshipFeatures": [
|
|
135
284
|
"uuidColumns"
|
|
@@ -149,6 +298,17 @@
|
|
|
149
298
|
"methods": [
|
|
150
299
|
"listForIntegration"
|
|
151
300
|
],
|
|
301
|
+
"methodSignatures": [
|
|
302
|
+
{
|
|
303
|
+
"name": "listForIntegration",
|
|
304
|
+
"async": true,
|
|
305
|
+
"params": [
|
|
306
|
+
"tenantId: string",
|
|
307
|
+
"integrationId: string"
|
|
308
|
+
],
|
|
309
|
+
"returns": "Promise<ProjectIntegrationAudit[]>"
|
|
310
|
+
}
|
|
311
|
+
],
|
|
152
312
|
"surfaces": [],
|
|
153
313
|
"relationshipFeatures": [
|
|
154
314
|
"uuidColumns"
|
|
@@ -173,6 +333,60 @@
|
|
|
173
333
|
"revoke",
|
|
174
334
|
"rotate"
|
|
175
335
|
],
|
|
336
|
+
"methodSignatures": [
|
|
337
|
+
{
|
|
338
|
+
"name": "authenticate",
|
|
339
|
+
"async": true,
|
|
340
|
+
"params": [
|
|
341
|
+
"credential: string"
|
|
342
|
+
],
|
|
343
|
+
"returns": "Promise<ProjectIntegration | null>"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "findActive",
|
|
347
|
+
"async": true,
|
|
348
|
+
"params": [
|
|
349
|
+
"tenantId: string",
|
|
350
|
+
"integrationId: string"
|
|
351
|
+
],
|
|
352
|
+
"returns": "Promise<ProjectIntegration | null>"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "listForProject",
|
|
356
|
+
"async": true,
|
|
357
|
+
"params": [
|
|
358
|
+
"tenantId: string",
|
|
359
|
+
"projectId: string"
|
|
360
|
+
],
|
|
361
|
+
"returns": "Promise<ProjectIntegration[]>"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "provision",
|
|
365
|
+
"async": true,
|
|
366
|
+
"params": [
|
|
367
|
+
"input: object"
|
|
368
|
+
],
|
|
369
|
+
"returns": "Promise<object>"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "revoke",
|
|
373
|
+
"async": true,
|
|
374
|
+
"params": [
|
|
375
|
+
"tenantId: string",
|
|
376
|
+
"integrationId: string"
|
|
377
|
+
],
|
|
378
|
+
"returns": "Promise<ProjectIntegration>"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"name": "rotate",
|
|
382
|
+
"async": true,
|
|
383
|
+
"params": [
|
|
384
|
+
"tenantId: string",
|
|
385
|
+
"integrationId: string"
|
|
386
|
+
],
|
|
387
|
+
"returns": "Promise<object>"
|
|
388
|
+
}
|
|
389
|
+
],
|
|
176
390
|
"surfaces": [],
|
|
177
391
|
"relationshipFeatures": [
|
|
178
392
|
"uuidColumns"
|
|
@@ -201,6 +415,86 @@
|
|
|
201
415
|
"getStatistics",
|
|
202
416
|
"syncAll"
|
|
203
417
|
],
|
|
418
|
+
"methodSignatures": [
|
|
419
|
+
{
|
|
420
|
+
"name": "findByOwner",
|
|
421
|
+
"async": true,
|
|
422
|
+
"params": [
|
|
423
|
+
"owner: string"
|
|
424
|
+
],
|
|
425
|
+
"returns": "Promise<Project[]>"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"name": "findByProvider",
|
|
429
|
+
"async": true,
|
|
430
|
+
"params": [
|
|
431
|
+
"providerType: ProjectProviderType"
|
|
432
|
+
],
|
|
433
|
+
"returns": "Promise<Project[]>"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "findByTenant",
|
|
437
|
+
"async": true,
|
|
438
|
+
"params": [
|
|
439
|
+
"tenantId: string"
|
|
440
|
+
],
|
|
441
|
+
"returns": "Promise<Project[]>"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "findByTitle",
|
|
445
|
+
"async": true,
|
|
446
|
+
"params": [
|
|
447
|
+
"title: string"
|
|
448
|
+
],
|
|
449
|
+
"returns": "Promise<Project | null>"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "findGlobal",
|
|
453
|
+
"async": true,
|
|
454
|
+
"returns": "Promise<Project[]>"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "findWithGlobals",
|
|
458
|
+
"async": true,
|
|
459
|
+
"params": [
|
|
460
|
+
"tenantId: string"
|
|
461
|
+
],
|
|
462
|
+
"returns": "Promise<Project[]>"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "findWithItemsInStatus",
|
|
466
|
+
"async": true,
|
|
467
|
+
"params": [
|
|
468
|
+
"status: string"
|
|
469
|
+
],
|
|
470
|
+
"returns": "Promise<Project[]>"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "getOrCreate",
|
|
474
|
+
"async": true,
|
|
475
|
+
"params": [
|
|
476
|
+
"projectId: string",
|
|
477
|
+
"options?: object"
|
|
478
|
+
],
|
|
479
|
+
"returns": "Promise<Project>"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"name": "getStatistics",
|
|
483
|
+
"async": true,
|
|
484
|
+
"params": [
|
|
485
|
+
"projectId: string"
|
|
486
|
+
],
|
|
487
|
+
"returns": "Promise<object>"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "syncAll",
|
|
491
|
+
"async": true,
|
|
492
|
+
"params": [
|
|
493
|
+
"options?: object"
|
|
494
|
+
],
|
|
495
|
+
"returns": "Promise<Project[]>"
|
|
496
|
+
}
|
|
497
|
+
],
|
|
204
498
|
"surfaces": [],
|
|
205
499
|
"relationshipFeatures": [
|
|
206
500
|
"uuidColumns"
|
|
@@ -232,6 +526,113 @@
|
|
|
232
526
|
"findReadyToMerge",
|
|
233
527
|
"findWithGlobals"
|
|
234
528
|
],
|
|
529
|
+
"methodSignatures": [
|
|
530
|
+
{
|
|
531
|
+
"name": "batchSync",
|
|
532
|
+
"async": true,
|
|
533
|
+
"params": [
|
|
534
|
+
"repository: Repository",
|
|
535
|
+
"options?: object"
|
|
536
|
+
],
|
|
537
|
+
"returns": "Promise<PullRequest[]>"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "discover",
|
|
541
|
+
"async": true,
|
|
542
|
+
"params": [
|
|
543
|
+
"options: object"
|
|
544
|
+
],
|
|
545
|
+
"returns": "Promise<PullRequest[]>"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "findAIReadyToMerge",
|
|
549
|
+
"async": true,
|
|
550
|
+
"params": [
|
|
551
|
+
"repositoryId?: string"
|
|
552
|
+
],
|
|
553
|
+
"returns": "Promise<PullRequest[]>"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "findByBranch",
|
|
557
|
+
"async": true,
|
|
558
|
+
"params": [
|
|
559
|
+
"branch: string",
|
|
560
|
+
"repositoryId?: string"
|
|
561
|
+
],
|
|
562
|
+
"returns": "Promise<PullRequest[]>"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "findByNumber",
|
|
566
|
+
"async": true,
|
|
567
|
+
"params": [
|
|
568
|
+
"repositoryId: string",
|
|
569
|
+
"number: number"
|
|
570
|
+
],
|
|
571
|
+
"returns": "Promise<PullRequest | null>"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "findByRepository",
|
|
575
|
+
"async": true,
|
|
576
|
+
"params": [
|
|
577
|
+
"repositoryId: string"
|
|
578
|
+
],
|
|
579
|
+
"returns": "Promise<PullRequest[]>"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "findBySize",
|
|
583
|
+
"async": true,
|
|
584
|
+
"params": [
|
|
585
|
+
"size: 'xs' | 's' | 'm' | 'l' | 'xl'",
|
|
586
|
+
"repositoryId?: string"
|
|
587
|
+
],
|
|
588
|
+
"returns": "Promise<PullRequest[]>"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "findByTenant",
|
|
592
|
+
"async": true,
|
|
593
|
+
"params": [
|
|
594
|
+
"tenantId: string"
|
|
595
|
+
],
|
|
596
|
+
"returns": "Promise<PullRequest[]>"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "findDrafts",
|
|
600
|
+
"async": true,
|
|
601
|
+
"params": [
|
|
602
|
+
"repositoryId?: string"
|
|
603
|
+
],
|
|
604
|
+
"returns": "Promise<PullRequest[]>"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"name": "findGlobal",
|
|
608
|
+
"async": true,
|
|
609
|
+
"returns": "Promise<PullRequest[]>"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"name": "findOpen",
|
|
613
|
+
"async": true,
|
|
614
|
+
"params": [
|
|
615
|
+
"repositoryId?: string"
|
|
616
|
+
],
|
|
617
|
+
"returns": "Promise<PullRequest[]>"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"name": "findReadyToMerge",
|
|
621
|
+
"async": true,
|
|
622
|
+
"params": [
|
|
623
|
+
"repositoryId?: string"
|
|
624
|
+
],
|
|
625
|
+
"returns": "Promise<PullRequest[]>"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "findWithGlobals",
|
|
629
|
+
"async": true,
|
|
630
|
+
"params": [
|
|
631
|
+
"tenantId: string"
|
|
632
|
+
],
|
|
633
|
+
"returns": "Promise<PullRequest[]>"
|
|
634
|
+
}
|
|
635
|
+
],
|
|
235
636
|
"surfaces": [],
|
|
236
637
|
"relationshipFeatures": [
|
|
237
638
|
"uuidColumns"
|
|
@@ -259,6 +660,77 @@
|
|
|
259
660
|
"getOrCreate",
|
|
260
661
|
"syncAll"
|
|
261
662
|
],
|
|
663
|
+
"methodSignatures": [
|
|
664
|
+
{
|
|
665
|
+
"name": "findByFullName",
|
|
666
|
+
"async": true,
|
|
667
|
+
"params": [
|
|
668
|
+
"owner: string",
|
|
669
|
+
"name: string"
|
|
670
|
+
],
|
|
671
|
+
"returns": "Promise<Repository | null>"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "findByOwner",
|
|
675
|
+
"async": true,
|
|
676
|
+
"params": [
|
|
677
|
+
"owner: string"
|
|
678
|
+
],
|
|
679
|
+
"returns": "Promise<Repository[]>"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"name": "findByProvider",
|
|
683
|
+
"async": true,
|
|
684
|
+
"params": [
|
|
685
|
+
"providerType: RepositoryProviderType"
|
|
686
|
+
],
|
|
687
|
+
"returns": "Promise<Repository[]>"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "findByTenant",
|
|
691
|
+
"async": true,
|
|
692
|
+
"params": [
|
|
693
|
+
"tenantId: string"
|
|
694
|
+
],
|
|
695
|
+
"returns": "Promise<Repository[]>"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "findGlobal",
|
|
699
|
+
"async": true,
|
|
700
|
+
"returns": "Promise<Repository[]>"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"name": "findWithGlobals",
|
|
704
|
+
"async": true,
|
|
705
|
+
"params": [
|
|
706
|
+
"tenantId: string"
|
|
707
|
+
],
|
|
708
|
+
"returns": "Promise<Repository[]>"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"name": "findWithOpenIssues",
|
|
712
|
+
"async": true,
|
|
713
|
+
"returns": "Promise<Repository[]>"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "getOrCreate",
|
|
717
|
+
"async": true,
|
|
718
|
+
"params": [
|
|
719
|
+
"owner: string",
|
|
720
|
+
"name: string",
|
|
721
|
+
"options?: object"
|
|
722
|
+
],
|
|
723
|
+
"returns": "Promise<Repository>"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"name": "syncAll",
|
|
727
|
+
"async": true,
|
|
728
|
+
"params": [
|
|
729
|
+
"options?: object"
|
|
730
|
+
],
|
|
731
|
+
"returns": "Promise<Repository[]>"
|
|
732
|
+
}
|
|
733
|
+
],
|
|
262
734
|
"surfaces": [],
|
|
263
735
|
"relationshipFeatures": [
|
|
264
736
|
"uuidColumns"
|
|
@@ -291,19 +763,22 @@
|
|
|
291
763
|
"name": "commentId",
|
|
292
764
|
"type": "text",
|
|
293
765
|
"required": false,
|
|
294
|
-
"columnType": "TEXT"
|
|
766
|
+
"columnType": "TEXT",
|
|
767
|
+
"default": ""
|
|
295
768
|
},
|
|
296
769
|
{
|
|
297
770
|
"name": "body",
|
|
298
771
|
"type": "text",
|
|
299
772
|
"required": false,
|
|
300
|
-
"columnType": "TEXT"
|
|
773
|
+
"columnType": "TEXT",
|
|
774
|
+
"default": ""
|
|
301
775
|
},
|
|
302
776
|
{
|
|
303
777
|
"name": "author",
|
|
304
778
|
"type": "text",
|
|
305
779
|
"required": false,
|
|
306
|
-
"columnType": "TEXT"
|
|
780
|
+
"columnType": "TEXT",
|
|
781
|
+
"default": ""
|
|
307
782
|
},
|
|
308
783
|
{
|
|
309
784
|
"name": "createdAt",
|
|
@@ -321,7 +796,8 @@
|
|
|
321
796
|
"name": "url",
|
|
322
797
|
"type": "text",
|
|
323
798
|
"required": false,
|
|
324
|
-
"columnType": "TEXT"
|
|
799
|
+
"columnType": "TEXT",
|
|
800
|
+
"default": ""
|
|
325
801
|
}
|
|
326
802
|
],
|
|
327
803
|
"relationships": [
|
|
@@ -341,6 +817,43 @@
|
|
|
341
817
|
"requestsChanges",
|
|
342
818
|
"summarize"
|
|
343
819
|
],
|
|
820
|
+
"methodSignatures": [
|
|
821
|
+
{
|
|
822
|
+
"name": "extractActionItems",
|
|
823
|
+
"async": true,
|
|
824
|
+
"returns": "Promise<string[]>"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "getSentiment",
|
|
828
|
+
"async": true,
|
|
829
|
+
"returns": "Promise<'positive' | 'negative' | 'neutral'>"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "isApproval",
|
|
833
|
+
"async": true,
|
|
834
|
+
"returns": "Promise<boolean>"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "isQuestion",
|
|
838
|
+
"async": true,
|
|
839
|
+
"returns": "Promise<boolean>"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "requestsChanges",
|
|
843
|
+
"async": true,
|
|
844
|
+
"returns": "Promise<boolean>"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"name": "summarize",
|
|
848
|
+
"async": true,
|
|
849
|
+
"returns": "Promise<string>"
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
"tenant": {
|
|
853
|
+
"scoped": true,
|
|
854
|
+
"mode": "optional",
|
|
855
|
+
"field": "tenantId"
|
|
856
|
+
},
|
|
344
857
|
"surfaces": [
|
|
345
858
|
{
|
|
346
859
|
"kind": "api",
|
|
@@ -408,7 +921,8 @@
|
|
|
408
921
|
"name": "projectId",
|
|
409
922
|
"type": "text",
|
|
410
923
|
"required": false,
|
|
411
|
-
"columnType": "TEXT"
|
|
924
|
+
"columnType": "TEXT",
|
|
925
|
+
"default": ""
|
|
412
926
|
},
|
|
413
927
|
{
|
|
414
928
|
"name": "integrationId",
|
|
@@ -421,55 +935,64 @@
|
|
|
421
935
|
"name": "requesterId",
|
|
422
936
|
"type": "text",
|
|
423
937
|
"required": false,
|
|
424
|
-
"columnType": "TEXT"
|
|
938
|
+
"columnType": "TEXT",
|
|
939
|
+
"default": ""
|
|
425
940
|
},
|
|
426
941
|
{
|
|
427
942
|
"name": "participantId",
|
|
428
943
|
"type": "text",
|
|
429
944
|
"required": false,
|
|
430
|
-
"columnType": "TEXT"
|
|
945
|
+
"columnType": "TEXT",
|
|
946
|
+
"default": ""
|
|
431
947
|
},
|
|
432
948
|
{
|
|
433
949
|
"name": "type",
|
|
434
950
|
"type": "text",
|
|
435
951
|
"required": false,
|
|
436
|
-
"columnType": "TEXT"
|
|
952
|
+
"columnType": "TEXT",
|
|
953
|
+
"default": "feature"
|
|
437
954
|
},
|
|
438
955
|
{
|
|
439
956
|
"name": "description",
|
|
440
957
|
"type": "text",
|
|
441
958
|
"required": false,
|
|
442
|
-
"columnType": "TEXT"
|
|
959
|
+
"columnType": "TEXT",
|
|
960
|
+
"default": ""
|
|
443
961
|
},
|
|
444
962
|
{
|
|
445
963
|
"name": "evidence",
|
|
446
964
|
"type": "text",
|
|
447
965
|
"required": false,
|
|
448
|
-
"columnType": "TEXT"
|
|
966
|
+
"columnType": "TEXT",
|
|
967
|
+
"default": "[]"
|
|
449
968
|
},
|
|
450
969
|
{
|
|
451
970
|
"name": "visibility",
|
|
452
971
|
"type": "text",
|
|
453
972
|
"required": false,
|
|
454
|
-
"columnType": "TEXT"
|
|
973
|
+
"columnType": "TEXT",
|
|
974
|
+
"default": "requester"
|
|
455
975
|
},
|
|
456
976
|
{
|
|
457
977
|
"name": "origin",
|
|
458
978
|
"type": "text",
|
|
459
979
|
"required": false,
|
|
460
|
-
"columnType": "TEXT"
|
|
980
|
+
"columnType": "TEXT",
|
|
981
|
+
"default": "managed-app"
|
|
461
982
|
},
|
|
462
983
|
{
|
|
463
984
|
"name": "discussion",
|
|
464
985
|
"type": "text",
|
|
465
986
|
"required": false,
|
|
466
|
-
"columnType": "TEXT"
|
|
987
|
+
"columnType": "TEXT",
|
|
988
|
+
"default": ""
|
|
467
989
|
},
|
|
468
990
|
{
|
|
469
991
|
"name": "status",
|
|
470
992
|
"type": "text",
|
|
471
993
|
"required": false,
|
|
472
|
-
"columnType": "TEXT"
|
|
994
|
+
"columnType": "TEXT",
|
|
995
|
+
"default": "submitted"
|
|
473
996
|
}
|
|
474
997
|
],
|
|
475
998
|
"relationships": [
|
|
@@ -486,6 +1009,29 @@
|
|
|
486
1009
|
"initialize",
|
|
487
1010
|
"setEvidence"
|
|
488
1011
|
],
|
|
1012
|
+
"methodSignatures": [
|
|
1013
|
+
{
|
|
1014
|
+
"name": "getEvidence",
|
|
1015
|
+
"returns": "DevelopmentRequestEvidence[]"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "initialize",
|
|
1019
|
+
"async": true,
|
|
1020
|
+
"returns": "Promise"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "setEvidence",
|
|
1024
|
+
"params": [
|
|
1025
|
+
"value: DevelopmentRequestEvidence[] | string"
|
|
1026
|
+
],
|
|
1027
|
+
"returns": "void"
|
|
1028
|
+
}
|
|
1029
|
+
],
|
|
1030
|
+
"tenant": {
|
|
1031
|
+
"scoped": true,
|
|
1032
|
+
"mode": "required",
|
|
1033
|
+
"field": "tenantId"
|
|
1034
|
+
},
|
|
489
1035
|
"surfaces": [],
|
|
490
1036
|
"relationshipFeatures": [
|
|
491
1037
|
"foreignKey",
|
|
@@ -519,25 +1065,29 @@
|
|
|
519
1065
|
"name": "fromStatus",
|
|
520
1066
|
"type": "text",
|
|
521
1067
|
"required": false,
|
|
522
|
-
"columnType": "TEXT"
|
|
1068
|
+
"columnType": "TEXT",
|
|
1069
|
+
"default": ""
|
|
523
1070
|
},
|
|
524
1071
|
{
|
|
525
1072
|
"name": "toStatus",
|
|
526
1073
|
"type": "text",
|
|
527
1074
|
"required": false,
|
|
528
|
-
"columnType": "TEXT"
|
|
1075
|
+
"columnType": "TEXT",
|
|
1076
|
+
"default": "submitted"
|
|
529
1077
|
},
|
|
530
1078
|
{
|
|
531
1079
|
"name": "actorType",
|
|
532
1080
|
"type": "text",
|
|
533
1081
|
"required": false,
|
|
534
|
-
"columnType": "TEXT"
|
|
1082
|
+
"columnType": "TEXT",
|
|
1083
|
+
"default": "system"
|
|
535
1084
|
},
|
|
536
1085
|
{
|
|
537
1086
|
"name": "actorId",
|
|
538
1087
|
"type": "text",
|
|
539
1088
|
"required": false,
|
|
540
|
-
"columnType": "TEXT"
|
|
1089
|
+
"columnType": "TEXT",
|
|
1090
|
+
"default": ""
|
|
541
1091
|
},
|
|
542
1092
|
{
|
|
543
1093
|
"name": "note",
|
|
@@ -556,6 +1106,11 @@
|
|
|
556
1106
|
}
|
|
557
1107
|
],
|
|
558
1108
|
"methods": [],
|
|
1109
|
+
"tenant": {
|
|
1110
|
+
"scoped": true,
|
|
1111
|
+
"mode": "required",
|
|
1112
|
+
"field": "tenantId"
|
|
1113
|
+
},
|
|
559
1114
|
"surfaces": [],
|
|
560
1115
|
"relationshipFeatures": [
|
|
561
1116
|
"foreignKey",
|
|
@@ -601,55 +1156,64 @@
|
|
|
601
1156
|
"name": "number",
|
|
602
1157
|
"type": "integer",
|
|
603
1158
|
"required": false,
|
|
604
|
-
"columnType": "INTEGER"
|
|
1159
|
+
"columnType": "INTEGER",
|
|
1160
|
+
"default": 0
|
|
605
1161
|
},
|
|
606
1162
|
{
|
|
607
1163
|
"name": "nodeId",
|
|
608
1164
|
"type": "text",
|
|
609
1165
|
"required": false,
|
|
610
|
-
"columnType": "TEXT"
|
|
1166
|
+
"columnType": "TEXT",
|
|
1167
|
+
"default": ""
|
|
611
1168
|
},
|
|
612
1169
|
{
|
|
613
1170
|
"name": "title",
|
|
614
1171
|
"type": "text",
|
|
615
1172
|
"required": false,
|
|
616
|
-
"columnType": "TEXT"
|
|
1173
|
+
"columnType": "TEXT",
|
|
1174
|
+
"default": ""
|
|
617
1175
|
},
|
|
618
1176
|
{
|
|
619
1177
|
"name": "body",
|
|
620
1178
|
"type": "text",
|
|
621
1179
|
"required": false,
|
|
622
|
-
"columnType": "TEXT"
|
|
1180
|
+
"columnType": "TEXT",
|
|
1181
|
+
"default": ""
|
|
623
1182
|
},
|
|
624
1183
|
{
|
|
625
1184
|
"name": "state",
|
|
626
1185
|
"type": "text",
|
|
627
1186
|
"required": false,
|
|
628
|
-
"columnType": "TEXT"
|
|
1187
|
+
"columnType": "TEXT",
|
|
1188
|
+
"default": "open"
|
|
629
1189
|
},
|
|
630
1190
|
{
|
|
631
1191
|
"name": "author",
|
|
632
1192
|
"type": "text",
|
|
633
1193
|
"required": false,
|
|
634
|
-
"columnType": "TEXT"
|
|
1194
|
+
"columnType": "TEXT",
|
|
1195
|
+
"default": ""
|
|
635
1196
|
},
|
|
636
1197
|
{
|
|
637
1198
|
"name": "labels",
|
|
638
1199
|
"type": "json",
|
|
639
1200
|
"required": false,
|
|
640
|
-
"columnType": "JSON"
|
|
1201
|
+
"columnType": "JSON",
|
|
1202
|
+
"default": []
|
|
641
1203
|
},
|
|
642
1204
|
{
|
|
643
1205
|
"name": "assignees",
|
|
644
1206
|
"type": "json",
|
|
645
1207
|
"required": false,
|
|
646
|
-
"columnType": "JSON"
|
|
1208
|
+
"columnType": "JSON",
|
|
1209
|
+
"default": []
|
|
647
1210
|
},
|
|
648
1211
|
{
|
|
649
1212
|
"name": "commentsCount",
|
|
650
1213
|
"type": "integer",
|
|
651
1214
|
"required": false,
|
|
652
|
-
"columnType": "INTEGER"
|
|
1215
|
+
"columnType": "INTEGER",
|
|
1216
|
+
"default": 0
|
|
653
1217
|
},
|
|
654
1218
|
{
|
|
655
1219
|
"name": "lastSyncedAt",
|
|
@@ -661,13 +1225,15 @@
|
|
|
661
1225
|
"name": "originalBody",
|
|
662
1226
|
"type": "text",
|
|
663
1227
|
"required": false,
|
|
664
|
-
"columnType": "TEXT"
|
|
1228
|
+
"columnType": "TEXT",
|
|
1229
|
+
"default": ""
|
|
665
1230
|
},
|
|
666
1231
|
{
|
|
667
1232
|
"name": "synthesisCount",
|
|
668
1233
|
"type": "integer",
|
|
669
1234
|
"required": false,
|
|
670
|
-
"columnType": "INTEGER"
|
|
1235
|
+
"columnType": "INTEGER",
|
|
1236
|
+
"default": 0
|
|
671
1237
|
}
|
|
672
1238
|
],
|
|
673
1239
|
"relationships": [
|
|
@@ -739,6 +1305,379 @@
|
|
|
739
1305
|
"toPlainObject",
|
|
740
1306
|
"toPublicJSON"
|
|
741
1307
|
],
|
|
1308
|
+
"methodSignatures": [
|
|
1309
|
+
{
|
|
1310
|
+
"name": "_setLoadedRelationship",
|
|
1311
|
+
"params": [
|
|
1312
|
+
"fieldName: string",
|
|
1313
|
+
"value: any"
|
|
1314
|
+
],
|
|
1315
|
+
"returns": "void"
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"name": "addComment",
|
|
1319
|
+
"async": true,
|
|
1320
|
+
"params": [
|
|
1321
|
+
"body: string"
|
|
1322
|
+
],
|
|
1323
|
+
"returns": "Promise<Comment>"
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
"name": "addLabels",
|
|
1327
|
+
"async": true,
|
|
1328
|
+
"params": [
|
|
1329
|
+
"labels: string[]"
|
|
1330
|
+
],
|
|
1331
|
+
"returns": "Promise<void>"
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"name": "assign",
|
|
1335
|
+
"async": true,
|
|
1336
|
+
"params": [
|
|
1337
|
+
"assignees: string[]"
|
|
1338
|
+
],
|
|
1339
|
+
"returns": "Promise<void>"
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"name": "classifyConstraintError",
|
|
1343
|
+
"static": true,
|
|
1344
|
+
"params": [
|
|
1345
|
+
"message: string"
|
|
1346
|
+
],
|
|
1347
|
+
"returns": "'unique' | 'not_null' | null"
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"name": "clearCache",
|
|
1351
|
+
"returns": "void"
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"name": "clearEmbeddings",
|
|
1355
|
+
"async": true,
|
|
1356
|
+
"returns": "Promise<void>"
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"name": "close",
|
|
1360
|
+
"async": true,
|
|
1361
|
+
"returns": "Promise<void>"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"name": "delete",
|
|
1365
|
+
"async": true,
|
|
1366
|
+
"returns": "Promise<void>"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "describe",
|
|
1370
|
+
"async": true,
|
|
1371
|
+
"params": [
|
|
1372
|
+
"options?: AiOperationOptions"
|
|
1373
|
+
],
|
|
1374
|
+
"returns": "any"
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"name": "destroy",
|
|
1378
|
+
"returns": "void"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"name": "do",
|
|
1382
|
+
"async": true,
|
|
1383
|
+
"params": [
|
|
1384
|
+
"instructions: string",
|
|
1385
|
+
"options?: AiOperationOptions"
|
|
1386
|
+
],
|
|
1387
|
+
"returns": "any"
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"name": "executeToolCall",
|
|
1391
|
+
"async": true,
|
|
1392
|
+
"params": [
|
|
1393
|
+
"toolCall: ToolCall"
|
|
1394
|
+
],
|
|
1395
|
+
"returns": "Promise<ToolCallResult>"
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"name": "forget",
|
|
1399
|
+
"async": true,
|
|
1400
|
+
"params": [
|
|
1401
|
+
"options: object"
|
|
1402
|
+
],
|
|
1403
|
+
"returns": "Promise<void>"
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
"name": "forgetScope",
|
|
1407
|
+
"async": true,
|
|
1408
|
+
"params": [
|
|
1409
|
+
"options: object"
|
|
1410
|
+
],
|
|
1411
|
+
"returns": "Promise<number>"
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"name": "generateEmbeddings",
|
|
1415
|
+
"async": true,
|
|
1416
|
+
"params": [
|
|
1417
|
+
"options?: GenerateEmbeddingsOptions"
|
|
1418
|
+
],
|
|
1419
|
+
"returns": "Promise<void>"
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"name": "getAiUsageSnapshot",
|
|
1423
|
+
"returns": "AiUsageSnapshot | undefined"
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"name": "getAvailableTools",
|
|
1427
|
+
"returns": "AITool[]"
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"name": "getClient",
|
|
1431
|
+
"async": true,
|
|
1432
|
+
"returns": "Promise<IRepository>"
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
"name": "getComments",
|
|
1436
|
+
"async": true,
|
|
1437
|
+
"returns": "Promise<Comment[]>"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"name": "getEmbedding",
|
|
1441
|
+
"async": true,
|
|
1442
|
+
"params": [
|
|
1443
|
+
"fieldName: string",
|
|
1444
|
+
"model?: string"
|
|
1445
|
+
],
|
|
1446
|
+
"returns": "Promise<number[] | null>"
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"name": "getFields",
|
|
1450
|
+
"async": true,
|
|
1451
|
+
"returns": "Promise<any>"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"name": "getId",
|
|
1455
|
+
"async": true,
|
|
1456
|
+
"returns": "any"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"name": "getRelated",
|
|
1460
|
+
"async": true,
|
|
1461
|
+
"params": [
|
|
1462
|
+
"fieldName: string",
|
|
1463
|
+
"opts?: LoadRelatedOptions"
|
|
1464
|
+
],
|
|
1465
|
+
"returns": "Promise<any>"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "getRepository",
|
|
1469
|
+
"async": true,
|
|
1470
|
+
"returns": "Promise<Repository>"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"name": "getSavedId",
|
|
1474
|
+
"async": true,
|
|
1475
|
+
"returns": "any"
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"name": "getSlug",
|
|
1479
|
+
"async": true,
|
|
1480
|
+
"returns": "any"
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"name": "getUrl",
|
|
1484
|
+
"returns": "string"
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "hasStaleEmbeddings",
|
|
1488
|
+
"async": true,
|
|
1489
|
+
"returns": "Promise<boolean>"
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "incorporateFeedback",
|
|
1493
|
+
"async": true,
|
|
1494
|
+
"params": [
|
|
1495
|
+
"options?: IncorporateFeedbackOptions"
|
|
1496
|
+
],
|
|
1497
|
+
"returns": "Promise<IncorporateFeedbackResult>"
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "initialize",
|
|
1501
|
+
"async": true,
|
|
1502
|
+
"returns": "Promise"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"name": "is",
|
|
1506
|
+
"async": true,
|
|
1507
|
+
"params": [
|
|
1508
|
+
"criteria: string",
|
|
1509
|
+
"options?: AiOperationOptions"
|
|
1510
|
+
],
|
|
1511
|
+
"returns": "any"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "isBugReport",
|
|
1515
|
+
"async": true,
|
|
1516
|
+
"returns": "Promise<boolean>"
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"name": "isFeatureRequest",
|
|
1520
|
+
"async": true,
|
|
1521
|
+
"returns": "Promise<boolean>"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"name": "isRelatedLoaded",
|
|
1525
|
+
"params": [
|
|
1526
|
+
"fieldName: string"
|
|
1527
|
+
],
|
|
1528
|
+
"returns": "boolean"
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"name": "isSaved",
|
|
1532
|
+
"async": true,
|
|
1533
|
+
"returns": "any"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "listAiUsage",
|
|
1537
|
+
"async": true,
|
|
1538
|
+
"params": [
|
|
1539
|
+
"options?: AiUsageListOptions"
|
|
1540
|
+
],
|
|
1541
|
+
"returns": "Promise<SmrtAiUsageRecord[]>"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"name": "loadDataFromDb",
|
|
1545
|
+
"async": true,
|
|
1546
|
+
"params": [
|
|
1547
|
+
"data: Record<string>"
|
|
1548
|
+
],
|
|
1549
|
+
"returns": "any"
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"name": "loadFromId",
|
|
1553
|
+
"async": true,
|
|
1554
|
+
"returns": "any"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "loadFromSlug",
|
|
1558
|
+
"async": true,
|
|
1559
|
+
"returns": "any"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "loadRelated",
|
|
1563
|
+
"async": true,
|
|
1564
|
+
"params": [
|
|
1565
|
+
"fieldName: string",
|
|
1566
|
+
"opts?: LoadRelatedOptions"
|
|
1567
|
+
],
|
|
1568
|
+
"returns": "Promise<any>"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"name": "loadRelatedMany",
|
|
1572
|
+
"async": true,
|
|
1573
|
+
"params": [
|
|
1574
|
+
"fieldName: string",
|
|
1575
|
+
"opts?: LoadRelatedOptions"
|
|
1576
|
+
],
|
|
1577
|
+
"returns": "Promise<any[]>"
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"name": "markAsPersisted",
|
|
1581
|
+
"returns": "void"
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"name": "needsReview",
|
|
1585
|
+
"async": true,
|
|
1586
|
+
"returns": "Promise<boolean>"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"name": "recall",
|
|
1590
|
+
"async": true,
|
|
1591
|
+
"params": [
|
|
1592
|
+
"options: object"
|
|
1593
|
+
],
|
|
1594
|
+
"returns": "Promise"
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"name": "recallAll",
|
|
1598
|
+
"async": true,
|
|
1599
|
+
"params": [
|
|
1600
|
+
"options?: object"
|
|
1601
|
+
],
|
|
1602
|
+
"returns": "Promise<Map<string>>"
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"name": "remember",
|
|
1606
|
+
"async": true,
|
|
1607
|
+
"params": [
|
|
1608
|
+
"options: object"
|
|
1609
|
+
],
|
|
1610
|
+
"returns": "Promise<void>"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"name": "removeLabel",
|
|
1614
|
+
"async": true,
|
|
1615
|
+
"params": [
|
|
1616
|
+
"label: string"
|
|
1617
|
+
],
|
|
1618
|
+
"returns": "Promise<void>"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"name": "requireInsertOnSave",
|
|
1622
|
+
"returns": "void"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "resetAiUsage",
|
|
1626
|
+
"returns": "void"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"name": "rollback",
|
|
1630
|
+
"async": true,
|
|
1631
|
+
"returns": "Promise<object>"
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
"name": "save",
|
|
1635
|
+
"async": true,
|
|
1636
|
+
"returns": "any"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"name": "suggestLabels",
|
|
1640
|
+
"async": true,
|
|
1641
|
+
"returns": "Promise<string[]>"
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"name": "summarizeAiUsage",
|
|
1645
|
+
"async": true,
|
|
1646
|
+
"params": [
|
|
1647
|
+
"options?: AiUsageSummaryOptions"
|
|
1648
|
+
],
|
|
1649
|
+
"returns": "Promise<Record<string, AiUsageStats>>"
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"name": "sync",
|
|
1653
|
+
"async": true,
|
|
1654
|
+
"params": [
|
|
1655
|
+
"options?: SyncOptions"
|
|
1656
|
+
],
|
|
1657
|
+
"returns": "Promise"
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"name": "toJSON",
|
|
1661
|
+
"returns": "any"
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
"name": "toPlainObject",
|
|
1665
|
+
"returns": "Record<string>"
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"name": "toPublicJSON",
|
|
1669
|
+
"params": [
|
|
1670
|
+
"options?: PublicJsonOptions"
|
|
1671
|
+
],
|
|
1672
|
+
"returns": "Record<string>"
|
|
1673
|
+
}
|
|
1674
|
+
],
|
|
1675
|
+
"tenant": {
|
|
1676
|
+
"scoped": true,
|
|
1677
|
+
"mode": "optional",
|
|
1678
|
+
"field": "tenantId"
|
|
1679
|
+
},
|
|
1680
|
+
"tableStrategy": "sti",
|
|
742
1681
|
"surfaces": [
|
|
743
1682
|
{
|
|
744
1683
|
"kind": "api",
|
|
@@ -853,19 +1792,22 @@
|
|
|
853
1792
|
"name": "name",
|
|
854
1793
|
"type": "text",
|
|
855
1794
|
"required": false,
|
|
856
|
-
"columnType": "TEXT"
|
|
1795
|
+
"columnType": "TEXT",
|
|
1796
|
+
"default": ""
|
|
857
1797
|
},
|
|
858
1798
|
{
|
|
859
1799
|
"name": "color",
|
|
860
1800
|
"type": "text",
|
|
861
1801
|
"required": false,
|
|
862
|
-
"columnType": "TEXT"
|
|
1802
|
+
"columnType": "TEXT",
|
|
1803
|
+
"default": ""
|
|
863
1804
|
},
|
|
864
1805
|
{
|
|
865
1806
|
"name": "description",
|
|
866
1807
|
"type": "text",
|
|
867
1808
|
"required": false,
|
|
868
|
-
"columnType": "TEXT"
|
|
1809
|
+
"columnType": "TEXT",
|
|
1810
|
+
"default": ""
|
|
869
1811
|
}
|
|
870
1812
|
],
|
|
871
1813
|
"relationships": [
|
|
@@ -887,6 +1829,42 @@
|
|
|
887
1829
|
"isTypeLabel",
|
|
888
1830
|
"updateInRepository"
|
|
889
1831
|
],
|
|
1832
|
+
"methodSignatures": [
|
|
1833
|
+
{
|
|
1834
|
+
"name": "createInRepository",
|
|
1835
|
+
"async": true,
|
|
1836
|
+
"returns": "Promise<void>"
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"name": "getCategory",
|
|
1840
|
+
"returns": "'type' | 'priority' | 'status' | 'area' | 'other'"
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
"name": "getHexColor",
|
|
1844
|
+
"returns": "string"
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"name": "getPriorityLevel",
|
|
1848
|
+
"returns": "number | null"
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"name": "isPriorityLabel",
|
|
1852
|
+
"returns": "boolean"
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"name": "isStatusLabel",
|
|
1856
|
+
"returns": "boolean"
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"name": "isTypeLabel",
|
|
1860
|
+
"returns": "boolean"
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"name": "updateInRepository",
|
|
1864
|
+
"async": true,
|
|
1865
|
+
"returns": "Promise<void>"
|
|
1866
|
+
}
|
|
1867
|
+
],
|
|
890
1868
|
"surfaces": [
|
|
891
1869
|
{
|
|
892
1870
|
"kind": "api",
|
|
@@ -1002,73 +1980,85 @@
|
|
|
1002
1980
|
"name": "projectId",
|
|
1003
1981
|
"type": "text",
|
|
1004
1982
|
"required": false,
|
|
1005
|
-
"columnType": "TEXT"
|
|
1983
|
+
"columnType": "TEXT",
|
|
1984
|
+
"default": ""
|
|
1006
1985
|
},
|
|
1007
1986
|
{
|
|
1008
1987
|
"name": "projectNumber",
|
|
1009
1988
|
"type": "integer",
|
|
1010
1989
|
"required": false,
|
|
1011
|
-
"columnType": "INTEGER"
|
|
1990
|
+
"columnType": "INTEGER",
|
|
1991
|
+
"default": 0
|
|
1012
1992
|
},
|
|
1013
1993
|
{
|
|
1014
1994
|
"name": "title",
|
|
1015
1995
|
"type": "text",
|
|
1016
1996
|
"required": false,
|
|
1017
|
-
"columnType": "TEXT"
|
|
1997
|
+
"columnType": "TEXT",
|
|
1998
|
+
"default": ""
|
|
1018
1999
|
},
|
|
1019
2000
|
{
|
|
1020
2001
|
"name": "description",
|
|
1021
2002
|
"type": "text",
|
|
1022
2003
|
"required": false,
|
|
1023
|
-
"columnType": "TEXT"
|
|
2004
|
+
"columnType": "TEXT",
|
|
2005
|
+
"default": ""
|
|
1024
2006
|
},
|
|
1025
2007
|
{
|
|
1026
2008
|
"name": "owner",
|
|
1027
2009
|
"type": "text",
|
|
1028
2010
|
"required": false,
|
|
1029
|
-
"columnType": "TEXT"
|
|
2011
|
+
"columnType": "TEXT",
|
|
2012
|
+
"default": ""
|
|
1030
2013
|
},
|
|
1031
2014
|
{
|
|
1032
2015
|
"name": "url",
|
|
1033
2016
|
"type": "text",
|
|
1034
2017
|
"required": false,
|
|
1035
|
-
"columnType": "TEXT"
|
|
2018
|
+
"columnType": "TEXT",
|
|
2019
|
+
"default": ""
|
|
1036
2020
|
},
|
|
1037
2021
|
{
|
|
1038
2022
|
"name": "providerType",
|
|
1039
2023
|
"type": "text",
|
|
1040
2024
|
"required": false,
|
|
1041
|
-
"columnType": "TEXT"
|
|
2025
|
+
"columnType": "TEXT",
|
|
2026
|
+
"default": "github"
|
|
1042
2027
|
},
|
|
1043
2028
|
{
|
|
1044
2029
|
"name": "tokenConfigKey",
|
|
1045
2030
|
"type": "text",
|
|
1046
2031
|
"required": false,
|
|
1047
|
-
"columnType": "TEXT"
|
|
2032
|
+
"columnType": "TEXT",
|
|
2033
|
+
"default": "GITHUB_TOKEN"
|
|
1048
2034
|
},
|
|
1049
2035
|
{
|
|
1050
2036
|
"name": "statuses",
|
|
1051
2037
|
"type": "json",
|
|
1052
2038
|
"required": false,
|
|
1053
|
-
"columnType": "JSON"
|
|
2039
|
+
"columnType": "JSON",
|
|
2040
|
+
"default": []
|
|
1054
2041
|
},
|
|
1055
2042
|
{
|
|
1056
2043
|
"name": "fields",
|
|
1057
2044
|
"type": "json",
|
|
1058
2045
|
"required": false,
|
|
1059
|
-
"columnType": "JSON"
|
|
2046
|
+
"columnType": "JSON",
|
|
2047
|
+
"default": []
|
|
1060
2048
|
},
|
|
1061
2049
|
{
|
|
1062
2050
|
"name": "statusFieldId",
|
|
1063
2051
|
"type": "text",
|
|
1064
2052
|
"required": false,
|
|
1065
|
-
"columnType": "TEXT"
|
|
2053
|
+
"columnType": "TEXT",
|
|
2054
|
+
"default": ""
|
|
1066
2055
|
},
|
|
1067
2056
|
{
|
|
1068
2057
|
"name": "statusOptions",
|
|
1069
2058
|
"type": "json",
|
|
1070
2059
|
"required": false,
|
|
1071
|
-
"columnType": "JSON"
|
|
2060
|
+
"columnType": "JSON",
|
|
2061
|
+
"default": {}
|
|
1072
2062
|
},
|
|
1073
2063
|
{
|
|
1074
2064
|
"name": "lastSyncedAt",
|
|
@@ -1095,6 +2085,123 @@
|
|
|
1095
2085
|
"updateItemField",
|
|
1096
2086
|
"updateItemStatus"
|
|
1097
2087
|
],
|
|
2088
|
+
"methodSignatures": [
|
|
2089
|
+
{
|
|
2090
|
+
"name": "addItem",
|
|
2091
|
+
"async": true,
|
|
2092
|
+
"params": [
|
|
2093
|
+
"item: Issue | PullRequest"
|
|
2094
|
+
],
|
|
2095
|
+
"returns": "Promise<ProjectItem>"
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
"name": "analyzeHealth",
|
|
2099
|
+
"async": true,
|
|
2100
|
+
"returns": "Promise<string>"
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "clearClient",
|
|
2104
|
+
"returns": "void"
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
"name": "getByTitle",
|
|
2108
|
+
"async": true,
|
|
2109
|
+
"static": true,
|
|
2110
|
+
"params": [
|
|
2111
|
+
"title: string",
|
|
2112
|
+
"options?: SmrtObjectOptions"
|
|
2113
|
+
],
|
|
2114
|
+
"returns": "Promise<Project | null>"
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
"name": "getClient",
|
|
2118
|
+
"async": true,
|
|
2119
|
+
"returns": "Promise<IProject>"
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"name": "getFields",
|
|
2123
|
+
"async": true,
|
|
2124
|
+
"returns": "Promise<ProjectField[]>"
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"name": "getItem",
|
|
2128
|
+
"async": true,
|
|
2129
|
+
"params": [
|
|
2130
|
+
"itemId: string"
|
|
2131
|
+
],
|
|
2132
|
+
"returns": "Promise<ProjectItem | null>"
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"name": "getItemsByStatus",
|
|
2136
|
+
"async": true,
|
|
2137
|
+
"params": [
|
|
2138
|
+
"status: string"
|
|
2139
|
+
],
|
|
2140
|
+
"returns": "Promise<ProjectItem[]>"
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"name": "getStatuses",
|
|
2144
|
+
"async": true,
|
|
2145
|
+
"returns": "Promise<ProjectStatus[]>"
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
"name": "listItems",
|
|
2149
|
+
"async": true,
|
|
2150
|
+
"params": [
|
|
2151
|
+
"filters?: ItemFilters"
|
|
2152
|
+
],
|
|
2153
|
+
"returns": "Promise<ProjectItem[]>"
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"name": "moveItem",
|
|
2157
|
+
"async": true,
|
|
2158
|
+
"params": [
|
|
2159
|
+
"item: Issue | PullRequest",
|
|
2160
|
+
"status: string"
|
|
2161
|
+
],
|
|
2162
|
+
"returns": "Promise<void>"
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"name": "removeItem",
|
|
2166
|
+
"async": true,
|
|
2167
|
+
"params": [
|
|
2168
|
+
"itemId: string"
|
|
2169
|
+
],
|
|
2170
|
+
"returns": "Promise<void>"
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"name": "sync",
|
|
2174
|
+
"async": true,
|
|
2175
|
+
"params": [
|
|
2176
|
+
"options?: SyncOptions"
|
|
2177
|
+
],
|
|
2178
|
+
"returns": "Promise"
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
"name": "updateItemField",
|
|
2182
|
+
"async": true,
|
|
2183
|
+
"params": [
|
|
2184
|
+
"itemId: string",
|
|
2185
|
+
"fieldId: string",
|
|
2186
|
+
"value: any"
|
|
2187
|
+
],
|
|
2188
|
+
"returns": "Promise<void>"
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"name": "updateItemStatus",
|
|
2192
|
+
"async": true,
|
|
2193
|
+
"params": [
|
|
2194
|
+
"itemId: string",
|
|
2195
|
+
"status: string"
|
|
2196
|
+
],
|
|
2197
|
+
"returns": "Promise<void>"
|
|
2198
|
+
}
|
|
2199
|
+
],
|
|
2200
|
+
"tenant": {
|
|
2201
|
+
"scoped": true,
|
|
2202
|
+
"mode": "optional",
|
|
2203
|
+
"field": "tenantId"
|
|
2204
|
+
},
|
|
1098
2205
|
"surfaces": [
|
|
1099
2206
|
{
|
|
1100
2207
|
"kind": "api",
|
|
@@ -1219,31 +2326,29 @@
|
|
|
1219
2326
|
"name": "projectId",
|
|
1220
2327
|
"type": "text",
|
|
1221
2328
|
"required": false,
|
|
1222
|
-
"columnType": "TEXT"
|
|
2329
|
+
"columnType": "TEXT",
|
|
2330
|
+
"default": ""
|
|
1223
2331
|
},
|
|
1224
2332
|
{
|
|
1225
2333
|
"name": "name",
|
|
1226
2334
|
"type": "text",
|
|
1227
2335
|
"required": false,
|
|
1228
|
-
"columnType": "TEXT"
|
|
1229
|
-
|
|
1230
|
-
{
|
|
1231
|
-
"name": "credentialHash",
|
|
1232
|
-
"type": "text",
|
|
1233
|
-
"required": false,
|
|
1234
|
-
"columnType": "TEXT"
|
|
2336
|
+
"columnType": "TEXT",
|
|
2337
|
+
"default": ""
|
|
1235
2338
|
},
|
|
1236
2339
|
{
|
|
1237
2340
|
"name": "capabilities",
|
|
1238
2341
|
"type": "json",
|
|
1239
2342
|
"required": false,
|
|
1240
|
-
"columnType": "JSON"
|
|
2343
|
+
"columnType": "JSON",
|
|
2344
|
+
"default": []
|
|
1241
2345
|
},
|
|
1242
2346
|
{
|
|
1243
2347
|
"name": "status",
|
|
1244
2348
|
"type": "text",
|
|
1245
2349
|
"required": false,
|
|
1246
|
-
"columnType": "TEXT"
|
|
2350
|
+
"columnType": "TEXT",
|
|
2351
|
+
"default": "active"
|
|
1247
2352
|
},
|
|
1248
2353
|
{
|
|
1249
2354
|
"name": "revokedAt",
|
|
@@ -1257,6 +2362,29 @@
|
|
|
1257
2362
|
"hasCapability",
|
|
1258
2363
|
"isActive"
|
|
1259
2364
|
],
|
|
2365
|
+
"methodSignatures": [
|
|
2366
|
+
{
|
|
2367
|
+
"name": "hasCapability",
|
|
2368
|
+
"params": [
|
|
2369
|
+
"capability: ProjectIntegrationCapability"
|
|
2370
|
+
],
|
|
2371
|
+
"returns": "boolean"
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
"name": "isActive",
|
|
2375
|
+
"returns": "boolean"
|
|
2376
|
+
}
|
|
2377
|
+
],
|
|
2378
|
+
"tenant": {
|
|
2379
|
+
"scoped": true,
|
|
2380
|
+
"mode": "required",
|
|
2381
|
+
"field": "tenantId"
|
|
2382
|
+
},
|
|
2383
|
+
"conflictColumns": [
|
|
2384
|
+
"tenant_id",
|
|
2385
|
+
"project_id",
|
|
2386
|
+
"name"
|
|
2387
|
+
],
|
|
1260
2388
|
"surfaces": [
|
|
1261
2389
|
{
|
|
1262
2390
|
"kind": "api",
|
|
@@ -1330,7 +2458,8 @@
|
|
|
1330
2458
|
"name": "action",
|
|
1331
2459
|
"type": "text",
|
|
1332
2460
|
"required": false,
|
|
1333
|
-
"columnType": "TEXT"
|
|
2461
|
+
"columnType": "TEXT",
|
|
2462
|
+
"default": "created"
|
|
1334
2463
|
},
|
|
1335
2464
|
{
|
|
1336
2465
|
"name": "note",
|
|
@@ -1349,6 +2478,11 @@
|
|
|
1349
2478
|
}
|
|
1350
2479
|
],
|
|
1351
2480
|
"methods": [],
|
|
2481
|
+
"tenant": {
|
|
2482
|
+
"scoped": true,
|
|
2483
|
+
"mode": "required",
|
|
2484
|
+
"field": "tenantId"
|
|
2485
|
+
},
|
|
1352
2486
|
"surfaces": [],
|
|
1353
2487
|
"relationshipFeatures": [
|
|
1354
2488
|
"foreignKey",
|
|
@@ -1394,55 +2528,64 @@
|
|
|
1394
2528
|
"name": "number",
|
|
1395
2529
|
"type": "integer",
|
|
1396
2530
|
"required": false,
|
|
1397
|
-
"columnType": "INTEGER"
|
|
2531
|
+
"columnType": "INTEGER",
|
|
2532
|
+
"default": 0
|
|
1398
2533
|
},
|
|
1399
2534
|
{
|
|
1400
2535
|
"name": "nodeId",
|
|
1401
2536
|
"type": "text",
|
|
1402
2537
|
"required": false,
|
|
1403
|
-
"columnType": "TEXT"
|
|
2538
|
+
"columnType": "TEXT",
|
|
2539
|
+
"default": ""
|
|
1404
2540
|
},
|
|
1405
2541
|
{
|
|
1406
2542
|
"name": "title",
|
|
1407
2543
|
"type": "text",
|
|
1408
2544
|
"required": false,
|
|
1409
|
-
"columnType": "TEXT"
|
|
2545
|
+
"columnType": "TEXT",
|
|
2546
|
+
"default": ""
|
|
1410
2547
|
},
|
|
1411
2548
|
{
|
|
1412
2549
|
"name": "body",
|
|
1413
2550
|
"type": "text",
|
|
1414
2551
|
"required": false,
|
|
1415
|
-
"columnType": "TEXT"
|
|
2552
|
+
"columnType": "TEXT",
|
|
2553
|
+
"default": ""
|
|
1416
2554
|
},
|
|
1417
2555
|
{
|
|
1418
2556
|
"name": "state",
|
|
1419
2557
|
"type": "text",
|
|
1420
2558
|
"required": false,
|
|
1421
|
-
"columnType": "TEXT"
|
|
2559
|
+
"columnType": "TEXT",
|
|
2560
|
+
"default": "open"
|
|
1422
2561
|
},
|
|
1423
2562
|
{
|
|
1424
2563
|
"name": "author",
|
|
1425
2564
|
"type": "text",
|
|
1426
2565
|
"required": false,
|
|
1427
|
-
"columnType": "TEXT"
|
|
2566
|
+
"columnType": "TEXT",
|
|
2567
|
+
"default": ""
|
|
1428
2568
|
},
|
|
1429
2569
|
{
|
|
1430
2570
|
"name": "labels",
|
|
1431
2571
|
"type": "json",
|
|
1432
2572
|
"required": false,
|
|
1433
|
-
"columnType": "JSON"
|
|
2573
|
+
"columnType": "JSON",
|
|
2574
|
+
"default": []
|
|
1434
2575
|
},
|
|
1435
2576
|
{
|
|
1436
2577
|
"name": "assignees",
|
|
1437
2578
|
"type": "json",
|
|
1438
2579
|
"required": false,
|
|
1439
|
-
"columnType": "JSON"
|
|
2580
|
+
"columnType": "JSON",
|
|
2581
|
+
"default": []
|
|
1440
2582
|
},
|
|
1441
2583
|
{
|
|
1442
2584
|
"name": "commentsCount",
|
|
1443
2585
|
"type": "integer",
|
|
1444
2586
|
"required": false,
|
|
1445
|
-
"columnType": "INTEGER"
|
|
2587
|
+
"columnType": "INTEGER",
|
|
2588
|
+
"default": 0
|
|
1446
2589
|
},
|
|
1447
2590
|
{
|
|
1448
2591
|
"name": "lastSyncedAt",
|
|
@@ -1454,31 +2597,36 @@
|
|
|
1454
2597
|
"name": "originalBody",
|
|
1455
2598
|
"type": "text",
|
|
1456
2599
|
"required": false,
|
|
1457
|
-
"columnType": "TEXT"
|
|
2600
|
+
"columnType": "TEXT",
|
|
2601
|
+
"default": ""
|
|
1458
2602
|
},
|
|
1459
2603
|
{
|
|
1460
2604
|
"name": "synthesisCount",
|
|
1461
2605
|
"type": "integer",
|
|
1462
2606
|
"required": false,
|
|
1463
|
-
"columnType": "INTEGER"
|
|
2607
|
+
"columnType": "INTEGER",
|
|
2608
|
+
"default": 0
|
|
1464
2609
|
},
|
|
1465
2610
|
{
|
|
1466
2611
|
"name": "headRef",
|
|
1467
2612
|
"type": "text",
|
|
1468
2613
|
"required": false,
|
|
1469
|
-
"columnType": "TEXT"
|
|
2614
|
+
"columnType": "TEXT",
|
|
2615
|
+
"default": ""
|
|
1470
2616
|
},
|
|
1471
2617
|
{
|
|
1472
2618
|
"name": "baseRef",
|
|
1473
2619
|
"type": "text",
|
|
1474
2620
|
"required": false,
|
|
1475
|
-
"columnType": "TEXT"
|
|
2621
|
+
"columnType": "TEXT",
|
|
2622
|
+
"default": ""
|
|
1476
2623
|
},
|
|
1477
2624
|
{
|
|
1478
2625
|
"name": "merged",
|
|
1479
2626
|
"type": "boolean",
|
|
1480
2627
|
"required": false,
|
|
1481
|
-
"columnType": "BOOLEAN"
|
|
2628
|
+
"columnType": "BOOLEAN",
|
|
2629
|
+
"default": false
|
|
1482
2630
|
},
|
|
1483
2631
|
{
|
|
1484
2632
|
"name": "mergedAt",
|
|
@@ -1490,31 +2638,36 @@
|
|
|
1490
2638
|
"name": "mergeable",
|
|
1491
2639
|
"type": "boolean",
|
|
1492
2640
|
"required": false,
|
|
1493
|
-
"columnType": "BOOLEAN"
|
|
2641
|
+
"columnType": "BOOLEAN",
|
|
2642
|
+
"default": true
|
|
1494
2643
|
},
|
|
1495
2644
|
{
|
|
1496
2645
|
"name": "draft",
|
|
1497
2646
|
"type": "boolean",
|
|
1498
2647
|
"required": false,
|
|
1499
|
-
"columnType": "BOOLEAN"
|
|
2648
|
+
"columnType": "BOOLEAN",
|
|
2649
|
+
"default": false
|
|
1500
2650
|
},
|
|
1501
2651
|
{
|
|
1502
2652
|
"name": "additions",
|
|
1503
2653
|
"type": "integer",
|
|
1504
2654
|
"required": false,
|
|
1505
|
-
"columnType": "INTEGER"
|
|
2655
|
+
"columnType": "INTEGER",
|
|
2656
|
+
"default": 0
|
|
1506
2657
|
},
|
|
1507
2658
|
{
|
|
1508
2659
|
"name": "deletions",
|
|
1509
2660
|
"type": "integer",
|
|
1510
2661
|
"required": false,
|
|
1511
|
-
"columnType": "INTEGER"
|
|
2662
|
+
"columnType": "INTEGER",
|
|
2663
|
+
"default": 0
|
|
1512
2664
|
},
|
|
1513
2665
|
{
|
|
1514
2666
|
"name": "changedFiles",
|
|
1515
2667
|
"type": "integer",
|
|
1516
2668
|
"required": false,
|
|
1517
|
-
"columnType": "INTEGER"
|
|
2669
|
+
"columnType": "INTEGER",
|
|
2670
|
+
"default": 0
|
|
1518
2671
|
}
|
|
1519
2672
|
],
|
|
1520
2673
|
"relationships": [
|
|
@@ -1595,6 +2748,429 @@
|
|
|
1595
2748
|
"toPlainObject",
|
|
1596
2749
|
"toPublicJSON"
|
|
1597
2750
|
],
|
|
2751
|
+
"methodSignatures": [
|
|
2752
|
+
{
|
|
2753
|
+
"name": "_setLoadedRelationship",
|
|
2754
|
+
"params": [
|
|
2755
|
+
"fieldName: string",
|
|
2756
|
+
"value: any"
|
|
2757
|
+
],
|
|
2758
|
+
"returns": "void"
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2761
|
+
"name": "addComment",
|
|
2762
|
+
"async": true,
|
|
2763
|
+
"params": [
|
|
2764
|
+
"body: string"
|
|
2765
|
+
],
|
|
2766
|
+
"returns": "Promise<Comment>"
|
|
2767
|
+
},
|
|
2768
|
+
{
|
|
2769
|
+
"name": "addLabels",
|
|
2770
|
+
"async": true,
|
|
2771
|
+
"params": [
|
|
2772
|
+
"labels: string[]"
|
|
2773
|
+
],
|
|
2774
|
+
"returns": "Promise<void>"
|
|
2775
|
+
},
|
|
2776
|
+
{
|
|
2777
|
+
"name": "assign",
|
|
2778
|
+
"async": true,
|
|
2779
|
+
"params": [
|
|
2780
|
+
"assignees: string[]"
|
|
2781
|
+
],
|
|
2782
|
+
"returns": "Promise<void>"
|
|
2783
|
+
},
|
|
2784
|
+
{
|
|
2785
|
+
"name": "classifyConstraintError",
|
|
2786
|
+
"static": true,
|
|
2787
|
+
"params": [
|
|
2788
|
+
"message: string"
|
|
2789
|
+
],
|
|
2790
|
+
"returns": "'unique' | 'not_null' | null"
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
"name": "clearCache",
|
|
2794
|
+
"returns": "void"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"name": "clearEmbeddings",
|
|
2798
|
+
"async": true,
|
|
2799
|
+
"returns": "Promise<void>"
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
"name": "close",
|
|
2803
|
+
"async": true,
|
|
2804
|
+
"returns": "Promise<void>"
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
"name": "convertToDraft",
|
|
2808
|
+
"async": true,
|
|
2809
|
+
"returns": "Promise<void>"
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
"name": "delete",
|
|
2813
|
+
"async": true,
|
|
2814
|
+
"returns": "Promise<void>"
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
"name": "describe",
|
|
2818
|
+
"async": true,
|
|
2819
|
+
"params": [
|
|
2820
|
+
"options?: AiOperationOptions"
|
|
2821
|
+
],
|
|
2822
|
+
"returns": "any"
|
|
2823
|
+
},
|
|
2824
|
+
{
|
|
2825
|
+
"name": "destroy",
|
|
2826
|
+
"returns": "void"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "do",
|
|
2830
|
+
"async": true,
|
|
2831
|
+
"params": [
|
|
2832
|
+
"instructions: string",
|
|
2833
|
+
"options?: AiOperationOptions"
|
|
2834
|
+
],
|
|
2835
|
+
"returns": "any"
|
|
2836
|
+
},
|
|
2837
|
+
{
|
|
2838
|
+
"name": "executeToolCall",
|
|
2839
|
+
"async": true,
|
|
2840
|
+
"params": [
|
|
2841
|
+
"toolCall: ToolCall"
|
|
2842
|
+
],
|
|
2843
|
+
"returns": "Promise<ToolCallResult>"
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"name": "findLinkedIssue",
|
|
2847
|
+
"async": true,
|
|
2848
|
+
"returns": "Promise<Issue | null>"
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
"name": "forget",
|
|
2852
|
+
"async": true,
|
|
2853
|
+
"params": [
|
|
2854
|
+
"options: object"
|
|
2855
|
+
],
|
|
2856
|
+
"returns": "Promise<void>"
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
"name": "forgetScope",
|
|
2860
|
+
"async": true,
|
|
2861
|
+
"params": [
|
|
2862
|
+
"options: object"
|
|
2863
|
+
],
|
|
2864
|
+
"returns": "Promise<number>"
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
"name": "generateEmbeddings",
|
|
2868
|
+
"async": true,
|
|
2869
|
+
"params": [
|
|
2870
|
+
"options?: GenerateEmbeddingsOptions"
|
|
2871
|
+
],
|
|
2872
|
+
"returns": "Promise<void>"
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"name": "getAiUsageSnapshot",
|
|
2876
|
+
"returns": "AiUsageSnapshot | undefined"
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"name": "getAvailableTools",
|
|
2880
|
+
"returns": "AITool[]"
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"name": "getChangeSize",
|
|
2884
|
+
"returns": "'xs' | 's' | 'm' | 'l' | 'xl'"
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
"name": "getClient",
|
|
2888
|
+
"async": true,
|
|
2889
|
+
"returns": "Promise<IRepository>"
|
|
2890
|
+
},
|
|
2891
|
+
{
|
|
2892
|
+
"name": "getComments",
|
|
2893
|
+
"async": true,
|
|
2894
|
+
"returns": "Promise<Comment[]>"
|
|
2895
|
+
},
|
|
2896
|
+
{
|
|
2897
|
+
"name": "getEmbedding",
|
|
2898
|
+
"async": true,
|
|
2899
|
+
"params": [
|
|
2900
|
+
"fieldName: string",
|
|
2901
|
+
"model?: string"
|
|
2902
|
+
],
|
|
2903
|
+
"returns": "Promise<number[] | null>"
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
"name": "getFields",
|
|
2907
|
+
"async": true,
|
|
2908
|
+
"returns": "Promise<any>"
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
"name": "getId",
|
|
2912
|
+
"async": true,
|
|
2913
|
+
"returns": "any"
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"name": "getRelated",
|
|
2917
|
+
"async": true,
|
|
2918
|
+
"params": [
|
|
2919
|
+
"fieldName: string",
|
|
2920
|
+
"opts?: LoadRelatedOptions"
|
|
2921
|
+
],
|
|
2922
|
+
"returns": "Promise<any>"
|
|
2923
|
+
},
|
|
2924
|
+
{
|
|
2925
|
+
"name": "getRepository",
|
|
2926
|
+
"async": true,
|
|
2927
|
+
"returns": "Promise<Repository>"
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"name": "getSavedId",
|
|
2931
|
+
"async": true,
|
|
2932
|
+
"returns": "any"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "getSlug",
|
|
2936
|
+
"async": true,
|
|
2937
|
+
"returns": "any"
|
|
2938
|
+
},
|
|
2939
|
+
{
|
|
2940
|
+
"name": "getUrl",
|
|
2941
|
+
"returns": "string"
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
"name": "hasStaleEmbeddings",
|
|
2945
|
+
"async": true,
|
|
2946
|
+
"returns": "Promise<boolean>"
|
|
2947
|
+
},
|
|
2948
|
+
{
|
|
2949
|
+
"name": "incorporateFeedback",
|
|
2950
|
+
"async": true,
|
|
2951
|
+
"params": [
|
|
2952
|
+
"options?: IncorporateFeedbackOptions"
|
|
2953
|
+
],
|
|
2954
|
+
"returns": "Promise<IncorporateFeedbackResult>"
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
"name": "initialize",
|
|
2958
|
+
"async": true,
|
|
2959
|
+
"returns": "Promise"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
"name": "is",
|
|
2963
|
+
"async": true,
|
|
2964
|
+
"params": [
|
|
2965
|
+
"criteria: string",
|
|
2966
|
+
"options?: AiOperationOptions"
|
|
2967
|
+
],
|
|
2968
|
+
"returns": "any"
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"name": "isBugReport",
|
|
2972
|
+
"async": true,
|
|
2973
|
+
"returns": "Promise<boolean>"
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
"name": "isFeatureRequest",
|
|
2977
|
+
"async": true,
|
|
2978
|
+
"returns": "Promise<boolean>"
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"name": "isReadyToMerge",
|
|
2982
|
+
"async": true,
|
|
2983
|
+
"returns": "Promise<boolean>"
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
"name": "isRelatedLoaded",
|
|
2987
|
+
"params": [
|
|
2988
|
+
"fieldName: string"
|
|
2989
|
+
],
|
|
2990
|
+
"returns": "boolean"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"name": "isSaved",
|
|
2994
|
+
"async": true,
|
|
2995
|
+
"returns": "any"
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"name": "listAiUsage",
|
|
2999
|
+
"async": true,
|
|
3000
|
+
"params": [
|
|
3001
|
+
"options?: AiUsageListOptions"
|
|
3002
|
+
],
|
|
3003
|
+
"returns": "Promise<SmrtAiUsageRecord[]>"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"name": "loadDataFromDb",
|
|
3007
|
+
"async": true,
|
|
3008
|
+
"params": [
|
|
3009
|
+
"data: Record<string>"
|
|
3010
|
+
],
|
|
3011
|
+
"returns": "any"
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
"name": "loadFromId",
|
|
3015
|
+
"async": true,
|
|
3016
|
+
"returns": "any"
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
"name": "loadFromSlug",
|
|
3020
|
+
"async": true,
|
|
3021
|
+
"returns": "any"
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
"name": "loadRelated",
|
|
3025
|
+
"async": true,
|
|
3026
|
+
"params": [
|
|
3027
|
+
"fieldName: string",
|
|
3028
|
+
"opts?: LoadRelatedOptions"
|
|
3029
|
+
],
|
|
3030
|
+
"returns": "Promise<any>"
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"name": "loadRelatedMany",
|
|
3034
|
+
"async": true,
|
|
3035
|
+
"params": [
|
|
3036
|
+
"fieldName: string",
|
|
3037
|
+
"opts?: LoadRelatedOptions"
|
|
3038
|
+
],
|
|
3039
|
+
"returns": "Promise<any[]>"
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
"name": "markAsPersisted",
|
|
3043
|
+
"returns": "void"
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
"name": "markReady",
|
|
3047
|
+
"async": true,
|
|
3048
|
+
"returns": "Promise<void>"
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"name": "merge",
|
|
3052
|
+
"async": true,
|
|
3053
|
+
"params": [
|
|
3054
|
+
"method?: MergeMethod"
|
|
3055
|
+
],
|
|
3056
|
+
"returns": "Promise<void>"
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
"name": "needsReview",
|
|
3060
|
+
"async": true,
|
|
3061
|
+
"returns": "Promise<boolean>"
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
"name": "recall",
|
|
3065
|
+
"async": true,
|
|
3066
|
+
"params": [
|
|
3067
|
+
"options: object"
|
|
3068
|
+
],
|
|
3069
|
+
"returns": "Promise"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"name": "recallAll",
|
|
3073
|
+
"async": true,
|
|
3074
|
+
"params": [
|
|
3075
|
+
"options?: object"
|
|
3076
|
+
],
|
|
3077
|
+
"returns": "Promise<Map<string>>"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"name": "remember",
|
|
3081
|
+
"async": true,
|
|
3082
|
+
"params": [
|
|
3083
|
+
"options: object"
|
|
3084
|
+
],
|
|
3085
|
+
"returns": "Promise<void>"
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"name": "removeLabel",
|
|
3089
|
+
"async": true,
|
|
3090
|
+
"params": [
|
|
3091
|
+
"label: string"
|
|
3092
|
+
],
|
|
3093
|
+
"returns": "Promise<void>"
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"name": "requestReviewers",
|
|
3097
|
+
"async": true,
|
|
3098
|
+
"params": [
|
|
3099
|
+
"reviewers: string[]"
|
|
3100
|
+
],
|
|
3101
|
+
"returns": "Promise<void>"
|
|
3102
|
+
},
|
|
3103
|
+
{
|
|
3104
|
+
"name": "requireInsertOnSave",
|
|
3105
|
+
"returns": "void"
|
|
3106
|
+
},
|
|
3107
|
+
{
|
|
3108
|
+
"name": "resetAiUsage",
|
|
3109
|
+
"returns": "void"
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
"name": "rollback",
|
|
3113
|
+
"async": true,
|
|
3114
|
+
"returns": "Promise<object>"
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "save",
|
|
3118
|
+
"async": true,
|
|
3119
|
+
"returns": "any"
|
|
3120
|
+
},
|
|
3121
|
+
{
|
|
3122
|
+
"name": "suggestLabels",
|
|
3123
|
+
"async": true,
|
|
3124
|
+
"returns": "Promise<string[]>"
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
"name": "suggestReviewers",
|
|
3128
|
+
"async": true,
|
|
3129
|
+
"returns": "Promise<string[]>"
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"name": "summarize",
|
|
3133
|
+
"async": true,
|
|
3134
|
+
"returns": "Promise<string>"
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"name": "summarizeAiUsage",
|
|
3138
|
+
"async": true,
|
|
3139
|
+
"params": [
|
|
3140
|
+
"options?: AiUsageSummaryOptions"
|
|
3141
|
+
],
|
|
3142
|
+
"returns": "Promise<Record<string, AiUsageStats>>"
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
"name": "sync",
|
|
3146
|
+
"async": true,
|
|
3147
|
+
"params": [
|
|
3148
|
+
"options?: SyncOptions"
|
|
3149
|
+
],
|
|
3150
|
+
"returns": "Promise"
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"name": "toJSON",
|
|
3154
|
+
"returns": "any"
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
"name": "toPlainObject",
|
|
3158
|
+
"returns": "Record<string>"
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
"name": "toPublicJSON",
|
|
3162
|
+
"params": [
|
|
3163
|
+
"options?: PublicJsonOptions"
|
|
3164
|
+
],
|
|
3165
|
+
"returns": "Record<string>"
|
|
3166
|
+
}
|
|
3167
|
+
],
|
|
3168
|
+
"tenant": {
|
|
3169
|
+
"scoped": true,
|
|
3170
|
+
"mode": "optional",
|
|
3171
|
+
"field": "tenantId"
|
|
3172
|
+
},
|
|
3173
|
+
"tableStrategy": "sti",
|
|
1598
3174
|
"surfaces": [
|
|
1599
3175
|
{
|
|
1600
3176
|
"kind": "api",
|
|
@@ -1720,55 +3296,64 @@
|
|
|
1720
3296
|
"name": "owner",
|
|
1721
3297
|
"type": "text",
|
|
1722
3298
|
"required": false,
|
|
1723
|
-
"columnType": "TEXT"
|
|
3299
|
+
"columnType": "TEXT",
|
|
3300
|
+
"default": ""
|
|
1724
3301
|
},
|
|
1725
3302
|
{
|
|
1726
3303
|
"name": "name",
|
|
1727
3304
|
"type": "text",
|
|
1728
3305
|
"required": false,
|
|
1729
|
-
"columnType": "TEXT"
|
|
3306
|
+
"columnType": "TEXT",
|
|
3307
|
+
"default": ""
|
|
1730
3308
|
},
|
|
1731
3309
|
{
|
|
1732
3310
|
"name": "fullName",
|
|
1733
3311
|
"type": "text",
|
|
1734
3312
|
"required": false,
|
|
1735
|
-
"columnType": "TEXT"
|
|
3313
|
+
"columnType": "TEXT",
|
|
3314
|
+
"default": ""
|
|
1736
3315
|
},
|
|
1737
3316
|
{
|
|
1738
3317
|
"name": "description",
|
|
1739
3318
|
"type": "text",
|
|
1740
3319
|
"required": false,
|
|
1741
|
-
"columnType": "TEXT"
|
|
3320
|
+
"columnType": "TEXT",
|
|
3321
|
+
"default": ""
|
|
1742
3322
|
},
|
|
1743
3323
|
{
|
|
1744
3324
|
"name": "defaultBranch",
|
|
1745
3325
|
"type": "text",
|
|
1746
3326
|
"required": false,
|
|
1747
|
-
"columnType": "TEXT"
|
|
3327
|
+
"columnType": "TEXT",
|
|
3328
|
+
"default": "main"
|
|
1748
3329
|
},
|
|
1749
3330
|
{
|
|
1750
3331
|
"name": "isPrivate",
|
|
1751
3332
|
"type": "boolean",
|
|
1752
3333
|
"required": false,
|
|
1753
|
-
"columnType": "BOOLEAN"
|
|
3334
|
+
"columnType": "BOOLEAN",
|
|
3335
|
+
"default": false
|
|
1754
3336
|
},
|
|
1755
3337
|
{
|
|
1756
3338
|
"name": "providerType",
|
|
1757
3339
|
"type": "text",
|
|
1758
3340
|
"required": false,
|
|
1759
|
-
"columnType": "TEXT"
|
|
3341
|
+
"columnType": "TEXT",
|
|
3342
|
+
"default": "github"
|
|
1760
3343
|
},
|
|
1761
3344
|
{
|
|
1762
3345
|
"name": "baseUrl",
|
|
1763
3346
|
"type": "text",
|
|
1764
3347
|
"required": false,
|
|
1765
|
-
"columnType": "TEXT"
|
|
3348
|
+
"columnType": "TEXT",
|
|
3349
|
+
"default": ""
|
|
1766
3350
|
},
|
|
1767
3351
|
{
|
|
1768
3352
|
"name": "tokenConfigKey",
|
|
1769
3353
|
"type": "text",
|
|
1770
3354
|
"required": false,
|
|
1771
|
-
"columnType": "TEXT"
|
|
3355
|
+
"columnType": "TEXT",
|
|
3356
|
+
"default": "GITHUB_TOKEN"
|
|
1772
3357
|
},
|
|
1773
3358
|
{
|
|
1774
3359
|
"name": "lastSyncedAt",
|
|
@@ -1790,6 +3375,86 @@
|
|
|
1790
3375
|
"summarizeActivity",
|
|
1791
3376
|
"sync"
|
|
1792
3377
|
],
|
|
3378
|
+
"methodSignatures": [
|
|
3379
|
+
{
|
|
3380
|
+
"name": "clearClient",
|
|
3381
|
+
"returns": "void"
|
|
3382
|
+
},
|
|
3383
|
+
{
|
|
3384
|
+
"name": "createIssue",
|
|
3385
|
+
"async": true,
|
|
3386
|
+
"params": [
|
|
3387
|
+
"data: CreateIssueInput"
|
|
3388
|
+
],
|
|
3389
|
+
"returns": "Promise<Issue>"
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
"name": "createPullRequest",
|
|
3393
|
+
"async": true,
|
|
3394
|
+
"params": [
|
|
3395
|
+
"data: CreatePRInput"
|
|
3396
|
+
],
|
|
3397
|
+
"returns": "Promise<PullRequest>"
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
"name": "getByFullName",
|
|
3401
|
+
"async": true,
|
|
3402
|
+
"static": true,
|
|
3403
|
+
"params": [
|
|
3404
|
+
"owner: string",
|
|
3405
|
+
"name: string",
|
|
3406
|
+
"options?: SmrtObjectOptions"
|
|
3407
|
+
],
|
|
3408
|
+
"returns": "Promise<Repository | null>"
|
|
3409
|
+
},
|
|
3410
|
+
{
|
|
3411
|
+
"name": "getClient",
|
|
3412
|
+
"async": true,
|
|
3413
|
+
"returns": "Promise<IRepository>"
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"name": "getIssues",
|
|
3417
|
+
"async": true,
|
|
3418
|
+
"params": [
|
|
3419
|
+
"filters?: SearchFilters"
|
|
3420
|
+
],
|
|
3421
|
+
"returns": "Promise<Issue[]>"
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"name": "getPullRequests",
|
|
3425
|
+
"async": true,
|
|
3426
|
+
"params": [
|
|
3427
|
+
"filters?: SearchFilters"
|
|
3428
|
+
],
|
|
3429
|
+
"returns": "Promise<PullRequest[]>"
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
"name": "hasOpenIssuesMatching",
|
|
3433
|
+
"async": true,
|
|
3434
|
+
"params": [
|
|
3435
|
+
"criteria: string"
|
|
3436
|
+
],
|
|
3437
|
+
"returns": "Promise<boolean>"
|
|
3438
|
+
},
|
|
3439
|
+
{
|
|
3440
|
+
"name": "summarizeActivity",
|
|
3441
|
+
"async": true,
|
|
3442
|
+
"returns": "Promise<string>"
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"name": "sync",
|
|
3446
|
+
"async": true,
|
|
3447
|
+
"params": [
|
|
3448
|
+
"options?: SyncOptions"
|
|
3449
|
+
],
|
|
3450
|
+
"returns": "Promise"
|
|
3451
|
+
}
|
|
3452
|
+
],
|
|
3453
|
+
"tenant": {
|
|
3454
|
+
"scoped": true,
|
|
3455
|
+
"mode": "optional",
|
|
3456
|
+
"field": "tenantId"
|
|
3457
|
+
},
|
|
1793
3458
|
"surfaces": [
|
|
1794
3459
|
{
|
|
1795
3460
|
"kind": "api",
|
|
@@ -1940,6 +3605,16 @@
|
|
|
1940
3605
|
}
|
|
1941
3606
|
],
|
|
1942
3607
|
"methods": [],
|
|
3608
|
+
"tenant": {
|
|
3609
|
+
"scoped": true,
|
|
3610
|
+
"mode": "required",
|
|
3611
|
+
"field": "tenantId"
|
|
3612
|
+
},
|
|
3613
|
+
"conflictColumns": [
|
|
3614
|
+
"request_id",
|
|
3615
|
+
"work_item_type",
|
|
3616
|
+
"work_item_id"
|
|
3617
|
+
],
|
|
1943
3618
|
"surfaces": [],
|
|
1944
3619
|
"relationshipFeatures": [
|
|
1945
3620
|
"foreignKey",
|
|
@@ -1986,7 +3661,8 @@
|
|
|
1986
3661
|
"name": "sequence",
|
|
1987
3662
|
"type": "integer",
|
|
1988
3663
|
"required": false,
|
|
1989
|
-
"columnType": "INTEGER"
|
|
3664
|
+
"columnType": "INTEGER",
|
|
3665
|
+
"default": 0
|
|
1990
3666
|
},
|
|
1991
3667
|
{
|
|
1992
3668
|
"name": "type",
|
|
@@ -2016,7 +3692,8 @@
|
|
|
2016
3692
|
"name": "deliveryAttempts",
|
|
2017
3693
|
"type": "integer",
|
|
2018
3694
|
"required": false,
|
|
2019
|
-
"columnType": "INTEGER"
|
|
3695
|
+
"columnType": "INTEGER",
|
|
3696
|
+
"default": 0
|
|
2020
3697
|
},
|
|
2021
3698
|
{
|
|
2022
3699
|
"name": "lastDeliveryError",
|
|
@@ -2042,6 +3719,15 @@
|
|
|
2042
3719
|
}
|
|
2043
3720
|
],
|
|
2044
3721
|
"methods": [],
|
|
3722
|
+
"tenant": {
|
|
3723
|
+
"scoped": true,
|
|
3724
|
+
"mode": "required",
|
|
3725
|
+
"field": "tenantId"
|
|
3726
|
+
},
|
|
3727
|
+
"conflictColumns": [
|
|
3728
|
+
"integration_id",
|
|
3729
|
+
"idempotency_key"
|
|
3730
|
+
],
|
|
2045
3731
|
"surfaces": [],
|
|
2046
3732
|
"relationshipFeatures": [
|
|
2047
3733
|
"foreignKey",
|
|
@@ -2130,6 +3816,15 @@
|
|
|
2130
3816
|
}
|
|
2131
3817
|
],
|
|
2132
3818
|
"methods": [],
|
|
3819
|
+
"tenant": {
|
|
3820
|
+
"scoped": true,
|
|
3821
|
+
"mode": "required",
|
|
3822
|
+
"field": "tenantId"
|
|
3823
|
+
},
|
|
3824
|
+
"conflictColumns": [
|
|
3825
|
+
"request_id",
|
|
3826
|
+
"preview_id"
|
|
3827
|
+
],
|
|
2133
3828
|
"surfaces": [],
|
|
2134
3829
|
"relationshipFeatures": [
|
|
2135
3830
|
"foreignKey",
|
|
@@ -2230,6 +3925,11 @@
|
|
|
2230
3925
|
}
|
|
2231
3926
|
],
|
|
2232
3927
|
"methods": [],
|
|
3928
|
+
"tenant": {
|
|
3929
|
+
"scoped": true,
|
|
3930
|
+
"mode": "required",
|
|
3931
|
+
"field": "tenantId"
|
|
3932
|
+
},
|
|
2233
3933
|
"surfaces": [],
|
|
2234
3934
|
"relationshipFeatures": [
|
|
2235
3935
|
"foreignKey",
|
|
@@ -2306,6 +4006,11 @@
|
|
|
2306
4006
|
}
|
|
2307
4007
|
],
|
|
2308
4008
|
"methods": [],
|
|
4009
|
+
"tenant": {
|
|
4010
|
+
"scoped": true,
|
|
4011
|
+
"mode": "required",
|
|
4012
|
+
"field": "tenantId"
|
|
4013
|
+
},
|
|
2309
4014
|
"surfaces": [],
|
|
2310
4015
|
"relationshipFeatures": [
|
|
2311
4016
|
"foreignKey",
|
|
@@ -2486,7 +4191,8 @@
|
|
|
2486
4191
|
"name": "durationSeconds",
|
|
2487
4192
|
"type": "integer",
|
|
2488
4193
|
"required": false,
|
|
2489
|
-
"columnType": "INTEGER"
|
|
4194
|
+
"columnType": "INTEGER",
|
|
4195
|
+
"default": 0
|
|
2490
4196
|
},
|
|
2491
4197
|
{
|
|
2492
4198
|
"name": "evidence",
|
|
@@ -2625,6 +4331,49 @@
|
|
|
2625
4331
|
"setEvidence",
|
|
2626
4332
|
"setMetadata"
|
|
2627
4333
|
],
|
|
4334
|
+
"methodSignatures": [
|
|
4335
|
+
{
|
|
4336
|
+
"name": "durationHours",
|
|
4337
|
+
"returns": "number"
|
|
4338
|
+
},
|
|
4339
|
+
{
|
|
4340
|
+
"name": "getEvidence",
|
|
4341
|
+
"returns": "ServiceEvidence[]"
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"name": "getMetadata",
|
|
4345
|
+
"returns": "Record<string>"
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
"name": "initialize",
|
|
4349
|
+
"async": true,
|
|
4350
|
+
"returns": "Promise"
|
|
4351
|
+
},
|
|
4352
|
+
{
|
|
4353
|
+
"name": "save",
|
|
4354
|
+
"async": true,
|
|
4355
|
+
"returns": "Promise"
|
|
4356
|
+
},
|
|
4357
|
+
{
|
|
4358
|
+
"name": "setEvidence",
|
|
4359
|
+
"params": [
|
|
4360
|
+
"value: ServiceEvidence[]"
|
|
4361
|
+
],
|
|
4362
|
+
"returns": "void"
|
|
4363
|
+
},
|
|
4364
|
+
{
|
|
4365
|
+
"name": "setMetadata",
|
|
4366
|
+
"params": [
|
|
4367
|
+
"value: Record<string>"
|
|
4368
|
+
],
|
|
4369
|
+
"returns": "void"
|
|
4370
|
+
}
|
|
4371
|
+
],
|
|
4372
|
+
"tenant": {
|
|
4373
|
+
"scoped": true,
|
|
4374
|
+
"mode": "optional",
|
|
4375
|
+
"field": "tenantId"
|
|
4376
|
+
},
|
|
2628
4377
|
"surfaces": [
|
|
2629
4378
|
{
|
|
2630
4379
|
"kind": "api",
|
|
@@ -2700,7 +4449,8 @@
|
|
|
2700
4449
|
"name": "amount",
|
|
2701
4450
|
"type": "decimal",
|
|
2702
4451
|
"required": false,
|
|
2703
|
-
"columnType": "REAL"
|
|
4452
|
+
"columnType": "REAL",
|
|
4453
|
+
"default": 0
|
|
2704
4454
|
},
|
|
2705
4455
|
{
|
|
2706
4456
|
"name": "currency",
|
|
@@ -2752,6 +4502,26 @@
|
|
|
2752
4502
|
"initialize",
|
|
2753
4503
|
"save"
|
|
2754
4504
|
],
|
|
4505
|
+
"methodSignatures": [
|
|
4506
|
+
{
|
|
4507
|
+
"name": "initialize",
|
|
4508
|
+
"async": true,
|
|
4509
|
+
"returns": "Promise"
|
|
4510
|
+
},
|
|
4511
|
+
{
|
|
4512
|
+
"name": "save",
|
|
4513
|
+
"async": true,
|
|
4514
|
+
"returns": "Promise"
|
|
4515
|
+
}
|
|
4516
|
+
],
|
|
4517
|
+
"tenant": {
|
|
4518
|
+
"scoped": true,
|
|
4519
|
+
"mode": "optional",
|
|
4520
|
+
"field": "tenantId"
|
|
4521
|
+
},
|
|
4522
|
+
"conflictColumns": [
|
|
4523
|
+
"time_entry_id"
|
|
4524
|
+
],
|
|
2755
4525
|
"surfaces": [
|
|
2756
4526
|
{
|
|
2757
4527
|
"kind": "api",
|
|
@@ -2826,7 +4596,8 @@
|
|
|
2826
4596
|
"name": "amount",
|
|
2827
4597
|
"type": "decimal",
|
|
2828
4598
|
"required": false,
|
|
2829
|
-
"columnType": "REAL"
|
|
4599
|
+
"columnType": "REAL",
|
|
4600
|
+
"default": 0
|
|
2830
4601
|
},
|
|
2831
4602
|
{
|
|
2832
4603
|
"name": "currency",
|
|
@@ -2866,6 +4637,26 @@
|
|
|
2866
4637
|
"initialize",
|
|
2867
4638
|
"save"
|
|
2868
4639
|
],
|
|
4640
|
+
"methodSignatures": [
|
|
4641
|
+
{
|
|
4642
|
+
"name": "initialize",
|
|
4643
|
+
"async": true,
|
|
4644
|
+
"returns": "Promise"
|
|
4645
|
+
},
|
|
4646
|
+
{
|
|
4647
|
+
"name": "save",
|
|
4648
|
+
"async": true,
|
|
4649
|
+
"returns": "Promise"
|
|
4650
|
+
}
|
|
4651
|
+
],
|
|
4652
|
+
"tenant": {
|
|
4653
|
+
"scoped": true,
|
|
4654
|
+
"mode": "optional",
|
|
4655
|
+
"field": "tenantId"
|
|
4656
|
+
},
|
|
4657
|
+
"conflictColumns": [
|
|
4658
|
+
"time_entry_id"
|
|
4659
|
+
],
|
|
2869
4660
|
"surfaces": [
|
|
2870
4661
|
{
|
|
2871
4662
|
"kind": "api",
|
|
@@ -2930,6 +4721,38 @@
|
|
|
2930
4721
|
"forWork",
|
|
2931
4722
|
"pendingApproval"
|
|
2932
4723
|
],
|
|
4724
|
+
"methodSignatures": [
|
|
4725
|
+
{
|
|
4726
|
+
"name": "forCase",
|
|
4727
|
+
"async": true,
|
|
4728
|
+
"params": [
|
|
4729
|
+
"caseId: string"
|
|
4730
|
+
],
|
|
4731
|
+
"returns": "Promise<ServiceTimeEntry[]>"
|
|
4732
|
+
},
|
|
4733
|
+
{
|
|
4734
|
+
"name": "forSpecialist",
|
|
4735
|
+
"async": true,
|
|
4736
|
+
"params": [
|
|
4737
|
+
"specialistId: string"
|
|
4738
|
+
],
|
|
4739
|
+
"returns": "Promise<ServiceTimeEntry[]>"
|
|
4740
|
+
},
|
|
4741
|
+
{
|
|
4742
|
+
"name": "forWork",
|
|
4743
|
+
"async": true,
|
|
4744
|
+
"params": [
|
|
4745
|
+
"workRefType: string",
|
|
4746
|
+
"workRefId: string"
|
|
4747
|
+
],
|
|
4748
|
+
"returns": "Promise<ServiceTimeEntry[]>"
|
|
4749
|
+
},
|
|
4750
|
+
{
|
|
4751
|
+
"name": "pendingApproval",
|
|
4752
|
+
"async": true,
|
|
4753
|
+
"returns": "Promise<ServiceTimeEntry[]>"
|
|
4754
|
+
}
|
|
4755
|
+
],
|
|
2933
4756
|
"surfaces": [],
|
|
2934
4757
|
"relationshipFeatures": [
|
|
2935
4758
|
"uuidColumns"
|