@ellipsis-dev/sdk 0.37.0 → 0.43.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 +4 -3
- package/dist/index.d.ts +166 -317
- package/dist/index.js +88 -320
- package/dist/store/index.d.ts +9 -3
- package/dist/store/index.js +10 -2
- package/dist/stream/index.d.ts +1 -1
- package/dist/{types-BXbnHOQe.d.ts → types-BAJ82SH6.d.ts} +838 -2675
- package/package.json +1 -1
- package/schema/collection_frames.schema.json +360 -25
- package/schema/frames.schema.json +373 -25
- package/schema/lifecycle.schema.json +13 -0
- package/schema/openapi.v1.json +2580 -5745
- package/schema/trigger_fields.schema.json +6 -1
|
@@ -82,6 +82,26 @@ interface paths {
|
|
|
82
82
|
patch?: never;
|
|
83
83
|
trace?: never;
|
|
84
84
|
};
|
|
85
|
+
'/v1/account/api-requests': {
|
|
86
|
+
parameters: {
|
|
87
|
+
query?: never;
|
|
88
|
+
header?: never;
|
|
89
|
+
path?: never;
|
|
90
|
+
cookie?: never;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* List Api Requests
|
|
94
|
+
* @description List requests made to the API with API keys, user tokens, and session tokens, newest first.
|
|
95
|
+
*/
|
|
96
|
+
get: operations['list_api_requests'];
|
|
97
|
+
put?: never;
|
|
98
|
+
post?: never;
|
|
99
|
+
delete?: never;
|
|
100
|
+
options?: never;
|
|
101
|
+
head?: never;
|
|
102
|
+
patch?: never;
|
|
103
|
+
trace?: never;
|
|
104
|
+
};
|
|
85
105
|
'/v1/account/audit-log': {
|
|
86
106
|
parameters: {
|
|
87
107
|
query?: never;
|
|
@@ -138,90 +158,8 @@ interface paths {
|
|
|
138
158
|
* card. No payment-method identifier or card details are exposed.
|
|
139
159
|
*/
|
|
140
160
|
get: operations['get_auto_recharge'];
|
|
141
|
-
/**
|
|
142
|
-
* Update Auto Recharge
|
|
143
|
-
* @description Set your automatic credit recharge policy.
|
|
144
|
-
*
|
|
145
|
-
* Requires a human account administrator; API keys and session tokens
|
|
146
|
-
* cannot change this policy. Supply enabled explicitly. Saving amounts
|
|
147
|
-
* with enabled=false keeps recharge off; enabling requires a saved card.
|
|
148
|
-
* A recharge buys `amount` of credit and charges the platform fee in
|
|
149
|
-
* addition. Amounts and thresholds are millicents in whole cents.
|
|
150
|
-
*/
|
|
151
|
-
put: operations['update_auto_recharge'];
|
|
152
|
-
post?: never;
|
|
153
|
-
delete?: never;
|
|
154
|
-
options?: never;
|
|
155
|
-
head?: never;
|
|
156
|
-
patch?: never;
|
|
157
|
-
trace?: never;
|
|
158
|
-
};
|
|
159
|
-
'/v1/account/billing/card-setup': {
|
|
160
|
-
parameters: {
|
|
161
|
-
query?: never;
|
|
162
|
-
header?: never;
|
|
163
|
-
path?: never;
|
|
164
|
-
cookie?: never;
|
|
165
|
-
};
|
|
166
|
-
get?: never;
|
|
167
|
-
put?: never;
|
|
168
|
-
/**
|
|
169
|
-
* Create Card Setup Session
|
|
170
|
-
* @description Save a card through Stripe's hosted setup flow.
|
|
171
|
-
*
|
|
172
|
-
* Requires a human account administrator. Open the returned URL to
|
|
173
|
-
* finish setup and return to Billing. Saving a card does not enable
|
|
174
|
-
* auto-recharge or buy credit.
|
|
175
|
-
*/
|
|
176
|
-
post: operations['create_card_setup_session'];
|
|
177
|
-
delete?: never;
|
|
178
|
-
options?: never;
|
|
179
|
-
head?: never;
|
|
180
|
-
patch?: never;
|
|
181
|
-
trace?: never;
|
|
182
|
-
};
|
|
183
|
-
'/v1/account/billing/checkout': {
|
|
184
|
-
parameters: {
|
|
185
|
-
query?: never;
|
|
186
|
-
header?: never;
|
|
187
|
-
path?: never;
|
|
188
|
-
cookie?: never;
|
|
189
|
-
};
|
|
190
|
-
get?: never;
|
|
191
|
-
put?: never;
|
|
192
|
-
/**
|
|
193
|
-
* Create Credit Checkout Session
|
|
194
|
-
* @description Buy prepaid credit through Stripe's hosted checkout.
|
|
195
|
-
*
|
|
196
|
-
* Requires a human account administrator. Open the returned URL to
|
|
197
|
-
* complete payment. Credit is granted only after payment succeeds;
|
|
198
|
-
* the platform fee is charged in addition to `amount`. Returning
|
|
199
|
-
* to Billing carries the checkout session ID for receipt lookup.
|
|
200
|
-
*/
|
|
201
|
-
post: operations['create_credit_checkout_session'];
|
|
202
|
-
delete?: never;
|
|
203
|
-
options?: never;
|
|
204
|
-
head?: never;
|
|
205
|
-
patch?: never;
|
|
206
|
-
trace?: never;
|
|
207
|
-
};
|
|
208
|
-
'/v1/account/billing/claim-signup-credit': {
|
|
209
|
-
parameters: {
|
|
210
|
-
query?: never;
|
|
211
|
-
header?: never;
|
|
212
|
-
path?: never;
|
|
213
|
-
cookie?: never;
|
|
214
|
-
};
|
|
215
|
-
get?: never;
|
|
216
161
|
put?: never;
|
|
217
|
-
|
|
218
|
-
* Claim Signup Credit
|
|
219
|
-
* @description The "Claim $100" button. Runs the same idempotent billing
|
|
220
|
-
* bootstrap that otherwise fires lazily at the first session (Stripe
|
|
221
|
-
* customer + usage subscription + the signup grant). A repeat call is
|
|
222
|
-
* a no-op that returns the current state.
|
|
223
|
-
*/
|
|
224
|
-
post: operations['claim_signup_credit'];
|
|
162
|
+
post?: never;
|
|
225
163
|
delete?: never;
|
|
226
164
|
options?: never;
|
|
227
165
|
head?: never;
|
|
@@ -381,60 +319,6 @@ interface paths {
|
|
|
381
319
|
patch?: never;
|
|
382
320
|
trace?: never;
|
|
383
321
|
};
|
|
384
|
-
'/v1/account/notifications/test-email': {
|
|
385
|
-
parameters: {
|
|
386
|
-
query?: never;
|
|
387
|
-
header?: never;
|
|
388
|
-
path?: never;
|
|
389
|
-
cookie?: never;
|
|
390
|
-
};
|
|
391
|
-
get?: never;
|
|
392
|
-
put?: never;
|
|
393
|
-
/**
|
|
394
|
-
* Send Test Notification Email
|
|
395
|
-
* @description Send the alert email template to one address with sample data,
|
|
396
|
-
* so a typo'd finance alias is caught by a human instead of failing
|
|
397
|
-
* silently when a real alert fires.
|
|
398
|
-
*/
|
|
399
|
-
post: operations['send_test_notification_email'];
|
|
400
|
-
delete?: never;
|
|
401
|
-
options?: never;
|
|
402
|
-
head?: never;
|
|
403
|
-
patch?: never;
|
|
404
|
-
trace?: never;
|
|
405
|
-
};
|
|
406
|
-
'/v1/account/onboarding': {
|
|
407
|
-
parameters: {
|
|
408
|
-
query?: never;
|
|
409
|
-
header?: never;
|
|
410
|
-
path?: never;
|
|
411
|
-
cookie?: never;
|
|
412
|
-
};
|
|
413
|
-
/**
|
|
414
|
-
* Get Account Onboarding
|
|
415
|
-
* @description Read the account's saved onboarding answers, or null before setup.
|
|
416
|
-
*/
|
|
417
|
-
get: operations['get_account_onboarding'];
|
|
418
|
-
put?: never;
|
|
419
|
-
post?: never;
|
|
420
|
-
delete?: never;
|
|
421
|
-
options?: never;
|
|
422
|
-
head?: never;
|
|
423
|
-
/**
|
|
424
|
-
* Update Account Onboarding
|
|
425
|
-
* @description Save supplied onboarding answers, preserving omitted answers.
|
|
426
|
-
*
|
|
427
|
-
* Organizations can save their work email before selecting use cases.
|
|
428
|
-
* Saving use cases requires a valid organization work email and at
|
|
429
|
-
* least one choice. When Other is the only choice, describe it.
|
|
430
|
-
* Personal accounts save a null work email. This does not change the
|
|
431
|
-
* billing contact email. Session tokens cannot update answers.
|
|
432
|
-
* Supplying an organization work email requires a human user and sends
|
|
433
|
-
* a Slack Connect invitation. Slack failures do not undo saved answers.
|
|
434
|
-
*/
|
|
435
|
-
patch: operations['update_account_onboarding'];
|
|
436
|
-
trace?: never;
|
|
437
|
-
};
|
|
438
322
|
'/v1/account/settings': {
|
|
439
323
|
parameters: {
|
|
440
324
|
query?: never;
|
|
@@ -616,13 +500,14 @@ interface paths {
|
|
|
616
500
|
};
|
|
617
501
|
/**
|
|
618
502
|
* Get Agent Metrics
|
|
619
|
-
* @description Return an agent's session distribution
|
|
620
|
-
* by id or by name.
|
|
503
|
+
* @description Return an agent's session distribution, trailing spend, and
|
|
504
|
+
* usage over a window, by id or by name.
|
|
621
505
|
*
|
|
622
506
|
* `samples` carries one entry per finished session (duration, cost,
|
|
623
507
|
* tokens) for distributions; `spend_windows` carries what the
|
|
624
508
|
* agent's sessions cost over the last 1, 7, and 28 days against
|
|
625
|
-
* its budget for each window
|
|
509
|
+
* its budget for each window; `buckets` splits start to end by
|
|
510
|
+
* `interval`, chosen from the window's length.
|
|
626
511
|
*/
|
|
627
512
|
get: operations['get_agent_metrics'];
|
|
628
513
|
put?: never;
|
|
@@ -758,86 +643,6 @@ interface paths {
|
|
|
758
643
|
patch?: never;
|
|
759
644
|
trace?: never;
|
|
760
645
|
};
|
|
761
|
-
'/v1/analytics/metrics': {
|
|
762
|
-
parameters: {
|
|
763
|
-
query?: never;
|
|
764
|
-
header?: never;
|
|
765
|
-
path?: never;
|
|
766
|
-
cookie?: never;
|
|
767
|
-
};
|
|
768
|
-
/**
|
|
769
|
-
* Get Analytics Metrics
|
|
770
|
-
* @description Return PR and review analytics metrics.
|
|
771
|
-
*
|
|
772
|
-
* The same data as the analytics dashboard.
|
|
773
|
-
*
|
|
774
|
-
* Windowing: pass explicit start/end, or days (default: the last
|
|
775
|
-
* 30 days). `interval` names the width of each entry in `series`,
|
|
776
|
-
* chosen from the window's length. account_type in all|user|bot
|
|
777
|
-
* scopes the authors (bot = the apps/agents). Available to all
|
|
778
|
-
* credential types: the responses expose the organization's own
|
|
779
|
-
* GitHub PR/review activity, no secrets.
|
|
780
|
-
*/
|
|
781
|
-
get: operations['get_analytics_metrics'];
|
|
782
|
-
put?: never;
|
|
783
|
-
post?: never;
|
|
784
|
-
delete?: never;
|
|
785
|
-
options?: never;
|
|
786
|
-
head?: never;
|
|
787
|
-
patch?: never;
|
|
788
|
-
trace?: never;
|
|
789
|
-
};
|
|
790
|
-
'/v1/analytics/pull-requests': {
|
|
791
|
-
parameters: {
|
|
792
|
-
query?: never;
|
|
793
|
-
header?: never;
|
|
794
|
-
path?: never;
|
|
795
|
-
cookie?: never;
|
|
796
|
-
};
|
|
797
|
-
/**
|
|
798
|
-
* Get Analytics Pull Requests
|
|
799
|
-
* @description Return pull-request analytics.
|
|
800
|
-
*
|
|
801
|
-
* Windowing: pass explicit start/end, or days (default: the last
|
|
802
|
-
* 30 days). `interval` names the width of each entry in `series`,
|
|
803
|
-
* chosen from the window's length. account_type in all|user|bot
|
|
804
|
-
* scopes the authors.
|
|
805
|
-
*/
|
|
806
|
-
get: operations['get_analytics_pull_requests'];
|
|
807
|
-
put?: never;
|
|
808
|
-
post?: never;
|
|
809
|
-
delete?: never;
|
|
810
|
-
options?: never;
|
|
811
|
-
head?: never;
|
|
812
|
-
patch?: never;
|
|
813
|
-
trace?: never;
|
|
814
|
-
};
|
|
815
|
-
'/v1/analytics/reviews': {
|
|
816
|
-
parameters: {
|
|
817
|
-
query?: never;
|
|
818
|
-
header?: never;
|
|
819
|
-
path?: never;
|
|
820
|
-
cookie?: never;
|
|
821
|
-
};
|
|
822
|
-
/**
|
|
823
|
-
* Get Analytics Reviews
|
|
824
|
-
* @description Return pull request review analytics.
|
|
825
|
-
*
|
|
826
|
-
* account_type scopes reviewers (bot|user|all) — e.g. "what apps
|
|
827
|
-
* review the most PRs?" is the reviewer facets here with
|
|
828
|
-
* account_type=bot. Windowing: pass explicit start/end, or days
|
|
829
|
-
* (default: the last 30 days). `interval` names the width of each
|
|
830
|
-
* entry in `series`, chosen from the window's length.
|
|
831
|
-
*/
|
|
832
|
-
get: operations['get_analytics_reviews'];
|
|
833
|
-
put?: never;
|
|
834
|
-
post?: never;
|
|
835
|
-
delete?: never;
|
|
836
|
-
options?: never;
|
|
837
|
-
head?: never;
|
|
838
|
-
patch?: never;
|
|
839
|
-
trace?: never;
|
|
840
|
-
};
|
|
841
646
|
'/v1/auth/cli/poll': {
|
|
842
647
|
parameters: {
|
|
843
648
|
query?: never;
|
|
@@ -990,8 +795,8 @@ interface paths {
|
|
|
990
795
|
* Get Handler Metrics
|
|
991
796
|
* @description Return session counts and accumulated spend for a saved handler.
|
|
992
797
|
*
|
|
993
|
-
* Filters only by session creation time.
|
|
994
|
-
*
|
|
798
|
+
* Filters only by session creation time. `buckets` splits the window
|
|
799
|
+
* by `interval`, chosen from the window's length. Counts use the current turn and conversation state, so an open
|
|
995
800
|
* conversation awaiting another message remains active. Spend includes the selected sessions' full
|
|
996
801
|
* accumulated cost, including activity after the creation-time window.
|
|
997
802
|
* Only sessions carrying this exact saved handler id are counted;
|
|
@@ -1276,23 +1081,6 @@ interface paths {
|
|
|
1276
1081
|
patch?: never;
|
|
1277
1082
|
trace?: never;
|
|
1278
1083
|
};
|
|
1279
|
-
'/v1/integrations/slack/operations-channel': {
|
|
1280
|
-
parameters: {
|
|
1281
|
-
query?: never;
|
|
1282
|
-
header?: never;
|
|
1283
|
-
path?: never;
|
|
1284
|
-
cookie?: never;
|
|
1285
|
-
};
|
|
1286
|
-
get?: never;
|
|
1287
|
-
put?: never;
|
|
1288
|
-
/** Create Operations Channel */
|
|
1289
|
-
post: operations['create_operations_channel'];
|
|
1290
|
-
delete?: never;
|
|
1291
|
-
options?: never;
|
|
1292
|
-
head?: never;
|
|
1293
|
-
patch?: never;
|
|
1294
|
-
trace?: never;
|
|
1295
|
-
};
|
|
1296
1084
|
'/v1/reviews': {
|
|
1297
1085
|
parameters: {
|
|
1298
1086
|
query?: never;
|
|
@@ -1448,23 +1236,6 @@ interface paths {
|
|
|
1448
1236
|
patch?: never;
|
|
1449
1237
|
trace?: never;
|
|
1450
1238
|
};
|
|
1451
|
-
'/v1/sessions/search': {
|
|
1452
|
-
parameters: {
|
|
1453
|
-
query?: never;
|
|
1454
|
-
header?: never;
|
|
1455
|
-
path?: never;
|
|
1456
|
-
cookie?: never;
|
|
1457
|
-
};
|
|
1458
|
-
/** Search Sessions */
|
|
1459
|
-
get: operations['search_sessions'];
|
|
1460
|
-
put?: never;
|
|
1461
|
-
post?: never;
|
|
1462
|
-
delete?: never;
|
|
1463
|
-
options?: never;
|
|
1464
|
-
head?: never;
|
|
1465
|
-
patch?: never;
|
|
1466
|
-
trace?: never;
|
|
1467
|
-
};
|
|
1468
1239
|
'/v1/sessions/stream-ticket': {
|
|
1469
1240
|
parameters: {
|
|
1470
1241
|
query?: never;
|
|
@@ -1503,13 +1274,28 @@ interface paths {
|
|
|
1503
1274
|
get: operations['get_session'];
|
|
1504
1275
|
/**
|
|
1505
1276
|
* Update Session
|
|
1506
|
-
* @description Archive or unarchive a session and return it.
|
|
1277
|
+
* @description Archive or unarchive a session, or set its summary, and return it.
|
|
1507
1278
|
*
|
|
1508
1279
|
* Set archived to true to record the current server time and the
|
|
1509
1280
|
* authenticated GitHub user. API-key requests record no user.
|
|
1510
1281
|
* Repeated archive requests preserve the original time and user.
|
|
1511
|
-
*
|
|
1512
|
-
*
|
|
1282
|
+
* Archiving stops the message in progress. An archived session takes
|
|
1283
|
+
* no messages (409 `session_archived`), and a reply on the Slack
|
|
1284
|
+
* thread, pull request, issue, or Linear issue it answers starts a
|
|
1285
|
+
* new session. A session is also archived when it closes and after
|
|
1286
|
+
* the account's `archive_inactive_sessions_days` without a message.
|
|
1287
|
+
* When the account sets session log retention, the session's
|
|
1288
|
+
* records, messages, and prompt are deleted that many days after it
|
|
1289
|
+
* was archived (`archived.deletes_at`). The session itself stays.
|
|
1290
|
+
*
|
|
1291
|
+
* Set archived to false to clear both fields and let the session
|
|
1292
|
+
* take messages again. 409 `session_superseded` when a newer session
|
|
1293
|
+
* now answers the same thread.
|
|
1294
|
+
*
|
|
1295
|
+
* Set summary to name the session. The summary's source becomes
|
|
1296
|
+
* `user`, and Ellipsis never replaces it with a generated one. With
|
|
1297
|
+
* both fields, the archive change applies first, and a refused
|
|
1298
|
+
* archive change leaves the summary as it was.
|
|
1513
1299
|
*
|
|
1514
1300
|
* Changes are delivered to session and session-list streams.
|
|
1515
1301
|
*/
|
|
@@ -1640,8 +1426,8 @@ interface paths {
|
|
|
1640
1426
|
* Send Session Message
|
|
1641
1427
|
* @description Send a message to a session.
|
|
1642
1428
|
*
|
|
1643
|
-
* 409 for mention, non-interactive, closed, and
|
|
1644
|
-
* sessions. Returns the created message; a retried send with the
|
|
1429
|
+
* 409 for mention, non-interactive, closed, archived, and
|
|
1430
|
+
* out-of-budget sessions. Returns the created message; a retried send with the
|
|
1645
1431
|
* same idempotency_key returns the original one. The message is
|
|
1646
1432
|
* answered once the session's status is `idle` or `closed`.
|
|
1647
1433
|
*/
|
|
@@ -1742,65 +1528,52 @@ interface paths {
|
|
|
1742
1528
|
patch?: never;
|
|
1743
1529
|
trace?: never;
|
|
1744
1530
|
};
|
|
1745
|
-
'/v1/sessions/{id}
|
|
1531
|
+
'/v1/sessions/{session_id}/images/{id}': {
|
|
1746
1532
|
parameters: {
|
|
1747
1533
|
query?: never;
|
|
1748
1534
|
header?: never;
|
|
1749
1535
|
path?: never;
|
|
1750
1536
|
cookie?: never;
|
|
1751
1537
|
};
|
|
1752
|
-
get?: never;
|
|
1753
|
-
put?: never;
|
|
1754
1538
|
/**
|
|
1755
|
-
*
|
|
1756
|
-
* @description
|
|
1539
|
+
* Get Session Image
|
|
1540
|
+
* @description Return an image sent with a message to the session.
|
|
1757
1541
|
*
|
|
1758
|
-
*
|
|
1759
|
-
* interactive sessions.
|
|
1760
|
-
*
|
|
1761
|
-
* A session token may only push its own session's transcript.
|
|
1762
|
-
* Idempotent by transcript line uuid; tolerant of malformed lines.
|
|
1542
|
+
* Each message lists its images, with their IDs, in `images`.
|
|
1763
1543
|
*/
|
|
1764
|
-
|
|
1765
|
-
delete?: never;
|
|
1766
|
-
options?: never;
|
|
1767
|
-
head?: never;
|
|
1768
|
-
patch?: never;
|
|
1769
|
-
trace?: never;
|
|
1770
|
-
};
|
|
1771
|
-
'/v1/support/slack': {
|
|
1772
|
-
parameters: {
|
|
1773
|
-
query?: never;
|
|
1774
|
-
header?: never;
|
|
1775
|
-
path?: never;
|
|
1776
|
-
cookie?: never;
|
|
1777
|
-
};
|
|
1778
|
-
/** Get Slack Help */
|
|
1779
|
-
get: operations['get_slack_help'];
|
|
1544
|
+
get: operations['get_session_image'];
|
|
1780
1545
|
put?: never;
|
|
1781
|
-
|
|
1782
|
-
post: operations['request_slack_help'];
|
|
1546
|
+
post?: never;
|
|
1783
1547
|
delete?: never;
|
|
1784
1548
|
options?: never;
|
|
1785
1549
|
head?: never;
|
|
1786
1550
|
patch?: never;
|
|
1787
1551
|
trace?: never;
|
|
1788
1552
|
};
|
|
1789
|
-
'/v1/
|
|
1553
|
+
'/v1/user/settings': {
|
|
1790
1554
|
parameters: {
|
|
1791
1555
|
query?: never;
|
|
1792
1556
|
header?: never;
|
|
1793
1557
|
path?: never;
|
|
1794
1558
|
cookie?: never;
|
|
1795
1559
|
};
|
|
1796
|
-
|
|
1560
|
+
/**
|
|
1561
|
+
* Get User Settings
|
|
1562
|
+
* @description Get the signed in user's own settings.
|
|
1563
|
+
*/
|
|
1564
|
+
get: operations['get_user_settings'];
|
|
1797
1565
|
put?: never;
|
|
1798
|
-
|
|
1799
|
-
post: operations['invite_to_slack_help'];
|
|
1566
|
+
post?: never;
|
|
1800
1567
|
delete?: never;
|
|
1801
1568
|
options?: never;
|
|
1802
1569
|
head?: never;
|
|
1803
|
-
|
|
1570
|
+
/**
|
|
1571
|
+
* Patch User Settings
|
|
1572
|
+
* @description Change the signed in user's own settings.
|
|
1573
|
+
*
|
|
1574
|
+
* Only the keys sent change, and the response is every setting.
|
|
1575
|
+
*/
|
|
1576
|
+
patch: operations['patch_user_settings'];
|
|
1804
1577
|
trace?: never;
|
|
1805
1578
|
};
|
|
1806
1579
|
'/v1/user/tokens': {
|
|
@@ -2189,54 +1962,6 @@ interface components {
|
|
|
2189
1962
|
*/
|
|
2190
1963
|
window_days: number;
|
|
2191
1964
|
};
|
|
2192
|
-
/**
|
|
2193
|
-
* AccountOnboarding
|
|
2194
|
-
* @description How the installed account plans to use Ellipsis.
|
|
2195
|
-
*/
|
|
2196
|
-
AccountOnboarding: {
|
|
2197
|
-
/**
|
|
2198
|
-
* Cli Logged In
|
|
2199
|
-
* @description True once a member approves a CLI login for this account.
|
|
2200
|
-
* @default false
|
|
2201
|
-
*/
|
|
2202
|
-
cli_logged_in: boolean;
|
|
2203
|
-
/**
|
|
2204
|
-
* Finished
|
|
2205
|
-
* @description True once a member finishes onboarding for this account.
|
|
2206
|
-
* @default false
|
|
2207
|
-
*/
|
|
2208
|
-
finished: boolean;
|
|
2209
|
-
/** Other Use Case */
|
|
2210
|
-
other_use_case?: string | null;
|
|
2211
|
-
/** Use Cases */
|
|
2212
|
-
use_cases?: components['schemas']['AccountOnboardingUseCase'][];
|
|
2213
|
-
/**
|
|
2214
|
-
* Work Email
|
|
2215
|
-
* @description Required for organizations; saved as null for personal accounts. Separate from the account's billing contact email.
|
|
2216
|
-
*/
|
|
2217
|
-
work_email?: string | null;
|
|
2218
|
-
};
|
|
2219
|
-
/** AccountOnboardingResponse */
|
|
2220
|
-
AccountOnboardingResponse: {
|
|
2221
|
-
onboarding: components['schemas']['AccountOnboarding'] | null;
|
|
2222
|
-
/** @description Invitation outcome when a signed-in user saves an organization work email. Sent means this request confirmed a new invitation; saving answers still succeeds if Slack is unavailable. Null for reads and other updates. */
|
|
2223
|
-
slack_invitation?: components['schemas']['AccountOnboardingSlackInvitation'] | null;
|
|
2224
|
-
};
|
|
2225
|
-
/** AccountOnboardingSlackInvitation */
|
|
2226
|
-
AccountOnboardingSlackInvitation: {
|
|
2227
|
-
/** Error */
|
|
2228
|
-
error?: string | null;
|
|
2229
|
-
/**
|
|
2230
|
-
* Status
|
|
2231
|
-
* @enum {string}
|
|
2232
|
-
*/
|
|
2233
|
-
status: 'sent' | 'already_sent' | 'connected' | 'failed' | 'unknown';
|
|
2234
|
-
};
|
|
2235
|
-
/**
|
|
2236
|
-
* AccountOnboardingUseCase
|
|
2237
|
-
* @enum {string}
|
|
2238
|
-
*/
|
|
2239
|
-
AccountOnboardingUseCase: 'development' | 'automations' | 'software-factories' | 'code-review' | 'slack-agents' | 'other';
|
|
2240
1965
|
/** AccountResponse */
|
|
2241
1966
|
AccountResponse: {
|
|
2242
1967
|
/** Account Id */
|
|
@@ -2441,6 +2166,13 @@ interface components {
|
|
|
2441
2166
|
* @description An agent's session distribution and trailing spend.
|
|
2442
2167
|
*/
|
|
2443
2168
|
AgentMetricsResponse: {
|
|
2169
|
+
/**
|
|
2170
|
+
* Buckets
|
|
2171
|
+
* @description Sessions created and usage in each bucket of the window, oldest first, with zeros for buckets without either.
|
|
2172
|
+
*/
|
|
2173
|
+
buckets: components['schemas']['ConfigUsageBucket'][];
|
|
2174
|
+
/** @description The width of each bucket, chosen from the window's length. */
|
|
2175
|
+
interval: components['schemas']['SeriesInterval'];
|
|
2444
2176
|
/**
|
|
2445
2177
|
* Samples
|
|
2446
2178
|
* @description One entry per finished session, unordered.
|
|
@@ -2595,223 +2327,16 @@ interface components {
|
|
|
2595
2327
|
*/
|
|
2596
2328
|
next_cursor?: string | null;
|
|
2597
2329
|
};
|
|
2598
|
-
/**
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
* merged in the bucket.
|
|
2606
|
-
*/
|
|
2607
|
-
AnalyticsMetricsBucket: {
|
|
2608
|
-
/**
|
|
2609
|
-
* Active Contributors
|
|
2610
|
-
* @description Distinct authors who merged a pull request in this bucket.
|
|
2611
|
-
*/
|
|
2612
|
-
active_contributors: number;
|
|
2613
|
-
/**
|
|
2614
|
-
* Additions
|
|
2615
|
-
* @description Lines added across pull requests merged in this bucket.
|
|
2616
|
-
*/
|
|
2617
|
-
additions: number;
|
|
2618
|
-
/**
|
|
2619
|
-
* Approved
|
|
2620
|
-
* @description Approving reviews submitted in this bucket.
|
|
2621
|
-
*/
|
|
2622
|
-
approved: number;
|
|
2623
|
-
/**
|
|
2624
|
-
* Changes Requested
|
|
2625
|
-
* @description Changes-requested reviews submitted in this bucket.
|
|
2626
|
-
*/
|
|
2627
|
-
changes_requested: number;
|
|
2330
|
+
/** AnalyticsSettings */
|
|
2331
|
+
'AnalyticsSettings-Input': {
|
|
2332
|
+
/** Enabled */
|
|
2333
|
+
enabled?: boolean;
|
|
2334
|
+
};
|
|
2335
|
+
/** AnalyticsSettings */
|
|
2336
|
+
'AnalyticsSettings-Output': {
|
|
2628
2337
|
/**
|
|
2629
|
-
*
|
|
2630
|
-
* @
|
|
2631
|
-
*/
|
|
2632
|
-
commented: number;
|
|
2633
|
-
/**
|
|
2634
|
-
* Commits
|
|
2635
|
-
* @description Commits across pull requests merged in this bucket.
|
|
2636
|
-
*/
|
|
2637
|
-
commits: number;
|
|
2638
|
-
/**
|
|
2639
|
-
* Date
|
|
2640
|
-
* Format: date-time
|
|
2641
|
-
* @description When the bucket starts, in UTC.
|
|
2642
|
-
*/
|
|
2643
|
-
date: string;
|
|
2644
|
-
/**
|
|
2645
|
-
* Deletions
|
|
2646
|
-
* @description Lines deleted across pull requests merged in this bucket.
|
|
2647
|
-
*/
|
|
2648
|
-
deletions: number;
|
|
2649
|
-
/**
|
|
2650
|
-
* Prs Closed
|
|
2651
|
-
* @description Pull requests closed without merging in this bucket.
|
|
2652
|
-
*/
|
|
2653
|
-
prs_closed: number;
|
|
2654
|
-
/**
|
|
2655
|
-
* Prs Merged
|
|
2656
|
-
* @description Pull requests merged in this bucket.
|
|
2657
|
-
*/
|
|
2658
|
-
prs_merged: number;
|
|
2659
|
-
/**
|
|
2660
|
-
* Prs Opened
|
|
2661
|
-
* @description Pull requests opened in this bucket.
|
|
2662
|
-
*/
|
|
2663
|
-
prs_opened: number;
|
|
2664
|
-
/**
|
|
2665
|
-
* Review Comments
|
|
2666
|
-
* @description Inline review comments created in this bucket.
|
|
2667
|
-
*/
|
|
2668
|
-
review_comments: number;
|
|
2669
|
-
/**
|
|
2670
|
-
* Reviews
|
|
2671
|
-
* @description Reviews submitted in this bucket.
|
|
2672
|
-
*/
|
|
2673
|
-
reviews: number;
|
|
2674
|
-
/** @description Time-to-merge percentiles over pull requests merged in this bucket. */
|
|
2675
|
-
time_to_merge_hours: components['schemas']['DurationPercentiles'];
|
|
2676
|
-
};
|
|
2677
|
-
/**
|
|
2678
|
-
* AnalyticsMetricsTotals
|
|
2679
|
-
* @description Window-wide totals for the analytics overview.
|
|
2680
|
-
*/
|
|
2681
|
-
AnalyticsMetricsTotals: {
|
|
2682
|
-
/**
|
|
2683
|
-
* Active Contributors
|
|
2684
|
-
* @description Distinct authors who merged a pull request in the window.
|
|
2685
|
-
*/
|
|
2686
|
-
active_contributors: number;
|
|
2687
|
-
/**
|
|
2688
|
-
* Additions
|
|
2689
|
-
* @description Lines added across pull requests merged in the window.
|
|
2690
|
-
*/
|
|
2691
|
-
additions: number;
|
|
2692
|
-
/**
|
|
2693
|
-
* Approved
|
|
2694
|
-
* @description Approving reviews in the window.
|
|
2695
|
-
*/
|
|
2696
|
-
approved: number;
|
|
2697
|
-
/**
|
|
2698
|
-
* Changes Requested
|
|
2699
|
-
* @description Changes-requested reviews in the window.
|
|
2700
|
-
*/
|
|
2701
|
-
changes_requested: number;
|
|
2702
|
-
/**
|
|
2703
|
-
* Commented
|
|
2704
|
-
* @description Comment-only reviews in the window.
|
|
2705
|
-
*/
|
|
2706
|
-
commented: number;
|
|
2707
|
-
/**
|
|
2708
|
-
* Commits
|
|
2709
|
-
* @description Commits across pull requests merged in the window.
|
|
2710
|
-
*/
|
|
2711
|
-
commits: number;
|
|
2712
|
-
/**
|
|
2713
|
-
* Deletions
|
|
2714
|
-
* @description Lines deleted across pull requests merged in the window.
|
|
2715
|
-
*/
|
|
2716
|
-
deletions: number;
|
|
2717
|
-
/**
|
|
2718
|
-
* Median Time To First Review Hours
|
|
2719
|
-
* @description Median hours from opening a pull request to its first review, over pull requests reviewed in the window.
|
|
2720
|
-
*/
|
|
2721
|
-
median_time_to_first_review_hours: number;
|
|
2722
|
-
/**
|
|
2723
|
-
* Median Time To Merge Hours
|
|
2724
|
-
* @description Median hours from opening to merging, over pull requests merged in the window.
|
|
2725
|
-
*/
|
|
2726
|
-
median_time_to_merge_hours: number;
|
|
2727
|
-
/**
|
|
2728
|
-
* Open Prs
|
|
2729
|
-
* @description Pull requests opened in the window that are still open or draft.
|
|
2730
|
-
*/
|
|
2731
|
-
open_prs: number;
|
|
2732
|
-
/**
|
|
2733
|
-
* Prs Closed
|
|
2734
|
-
* @description Pull requests closed without merging in the window.
|
|
2735
|
-
*/
|
|
2736
|
-
prs_closed: number;
|
|
2737
|
-
/**
|
|
2738
|
-
* Prs Merged
|
|
2739
|
-
* @description Pull requests merged in the window.
|
|
2740
|
-
*/
|
|
2741
|
-
prs_merged: number;
|
|
2742
|
-
/**
|
|
2743
|
-
* Prs Opened
|
|
2744
|
-
* @description Pull requests opened in the window.
|
|
2745
|
-
*/
|
|
2746
|
-
prs_opened: number;
|
|
2747
|
-
/**
|
|
2748
|
-
* Prs Reviewed
|
|
2749
|
-
* @description Distinct pull requests that received at least one review in the window.
|
|
2750
|
-
*/
|
|
2751
|
-
prs_reviewed: number;
|
|
2752
|
-
/**
|
|
2753
|
-
* Review Comments
|
|
2754
|
-
* @description Inline review comments created in the window.
|
|
2755
|
-
*/
|
|
2756
|
-
review_comments: number;
|
|
2757
|
-
/**
|
|
2758
|
-
* Reviews
|
|
2759
|
-
* @description Reviews submitted in the window.
|
|
2760
|
-
*/
|
|
2761
|
-
reviews: number;
|
|
2762
|
-
};
|
|
2763
|
-
/**
|
|
2764
|
-
* AnalyticsRepoUsage
|
|
2765
|
-
* @description Per-repository shipped activity: pull requests merged in the window and
|
|
2766
|
-
* the lines they carried.
|
|
2767
|
-
*/
|
|
2768
|
-
AnalyticsRepoUsage: {
|
|
2769
|
-
/**
|
|
2770
|
-
* Active Contributors
|
|
2771
|
-
* @description Distinct authors who merged a pull request in this repository.
|
|
2772
|
-
*/
|
|
2773
|
-
active_contributors: number;
|
|
2774
|
-
/**
|
|
2775
|
-
* Additions
|
|
2776
|
-
* @description Lines added across merged pull requests in this repository.
|
|
2777
|
-
*/
|
|
2778
|
-
additions: number;
|
|
2779
|
-
/**
|
|
2780
|
-
* Ai Attributed Prs
|
|
2781
|
-
* @description Merged pull requests whose author is a bot.
|
|
2782
|
-
*/
|
|
2783
|
-
ai_attributed_prs: number;
|
|
2784
|
-
/**
|
|
2785
|
-
* Deletions
|
|
2786
|
-
* @description Lines deleted across merged pull requests in this repository.
|
|
2787
|
-
*/
|
|
2788
|
-
deletions: number;
|
|
2789
|
-
/**
|
|
2790
|
-
* Prs Merged
|
|
2791
|
-
* @description Pull requests merged in this repository in the window.
|
|
2792
|
-
*/
|
|
2793
|
-
prs_merged: number;
|
|
2794
|
-
/**
|
|
2795
|
-
* Repo Full Name
|
|
2796
|
-
* @description The repository's full "owner/name" identifier.
|
|
2797
|
-
*/
|
|
2798
|
-
repo_full_name: string;
|
|
2799
|
-
/**
|
|
2800
|
-
* Reviews
|
|
2801
|
-
* @description Reviews submitted in this repository in the window.
|
|
2802
|
-
*/
|
|
2803
|
-
reviews: number;
|
|
2804
|
-
};
|
|
2805
|
-
/** AnalyticsSettings */
|
|
2806
|
-
'AnalyticsSettings-Input': {
|
|
2807
|
-
/** Enabled */
|
|
2808
|
-
enabled?: boolean;
|
|
2809
|
-
};
|
|
2810
|
-
/** AnalyticsSettings */
|
|
2811
|
-
'AnalyticsSettings-Output': {
|
|
2812
|
-
/**
|
|
2813
|
-
* Enabled
|
|
2814
|
-
* @default false
|
|
2338
|
+
* Enabled
|
|
2339
|
+
* @default false
|
|
2815
2340
|
*/
|
|
2816
2341
|
enabled: boolean;
|
|
2817
2342
|
};
|
|
@@ -2832,26 +2357,80 @@ interface components {
|
|
|
2832
2357
|
revoked_at: string | null;
|
|
2833
2358
|
};
|
|
2834
2359
|
/**
|
|
2835
|
-
*
|
|
2836
|
-
* @
|
|
2360
|
+
* ApiRequest
|
|
2361
|
+
* @description One authenticated call to the API.
|
|
2837
2362
|
*/
|
|
2838
|
-
|
|
2363
|
+
ApiRequest: {
|
|
2364
|
+
/**
|
|
2365
|
+
* Created At
|
|
2366
|
+
* Format: date-time
|
|
2367
|
+
*/
|
|
2368
|
+
created_at: string;
|
|
2369
|
+
credential: components['schemas']['ApiRequestCredential'] | null;
|
|
2370
|
+
/** Duration Ms */
|
|
2371
|
+
duration_ms: number;
|
|
2372
|
+
/**
|
|
2373
|
+
* Id
|
|
2374
|
+
* @description The `X-Request-ID` header returned with the response.
|
|
2375
|
+
*/
|
|
2376
|
+
id: string;
|
|
2377
|
+
/** Method */
|
|
2378
|
+
method: string;
|
|
2379
|
+
/**
|
|
2380
|
+
* Operation
|
|
2381
|
+
* @description The operation id, such as `start_session`. Null when the path matched no route.
|
|
2382
|
+
*/
|
|
2383
|
+
operation: string | null;
|
|
2384
|
+
/** Path */
|
|
2385
|
+
path: string;
|
|
2386
|
+
/** Status Code */
|
|
2387
|
+
status_code: number;
|
|
2388
|
+
/** User Agent */
|
|
2389
|
+
user_agent: string | null;
|
|
2390
|
+
};
|
|
2839
2391
|
/**
|
|
2840
|
-
*
|
|
2841
|
-
* @description
|
|
2392
|
+
* ApiRequestCredential
|
|
2393
|
+
* @description The credential that authenticated a request.
|
|
2842
2394
|
*/
|
|
2843
|
-
|
|
2395
|
+
ApiRequestCredential: {
|
|
2844
2396
|
/**
|
|
2845
|
-
*
|
|
2846
|
-
* @description The
|
|
2397
|
+
* Id
|
|
2398
|
+
* @description The API key or user token id. For a session token, the session id.
|
|
2847
2399
|
*/
|
|
2848
|
-
|
|
2400
|
+
id: string | null;
|
|
2849
2401
|
/**
|
|
2850
|
-
*
|
|
2851
|
-
* @description
|
|
2402
|
+
* Name
|
|
2403
|
+
* @description The API key or user token name. Null for a session token.
|
|
2404
|
+
*/
|
|
2405
|
+
name: string | null;
|
|
2406
|
+
type: components['schemas']['ApiRequestCredentialType'];
|
|
2407
|
+
};
|
|
2408
|
+
/**
|
|
2409
|
+
* ApiRequestCredentialType
|
|
2410
|
+
* @enum {string}
|
|
2411
|
+
*/
|
|
2412
|
+
ApiRequestCredentialType: 'api_key' | 'user_token' | 'session_token';
|
|
2413
|
+
/** ApiRequestsListResponse */
|
|
2414
|
+
ApiRequestsListResponse: {
|
|
2415
|
+
/** Api Requests */
|
|
2416
|
+
api_requests: components['schemas']['ApiRequest'][];
|
|
2417
|
+
/**
|
|
2418
|
+
* Has More
|
|
2419
|
+
* @description Whether more results exist past this page.
|
|
2420
|
+
* @default false
|
|
2421
|
+
*/
|
|
2422
|
+
has_more: boolean;
|
|
2423
|
+
/**
|
|
2424
|
+
* Next Cursor
|
|
2425
|
+
* @description Pass as `cursor` to fetch the next page. Null on the last page. Opaque — echo it back rather than parsing it.
|
|
2852
2426
|
*/
|
|
2853
|
-
|
|
2427
|
+
next_cursor?: string | null;
|
|
2854
2428
|
};
|
|
2429
|
+
/**
|
|
2430
|
+
* AttributionType
|
|
2431
|
+
* @enum {string}
|
|
2432
|
+
*/
|
|
2433
|
+
AttributionType: 'github_user' | 'linear_user' | 'slack_user' | 'api_key';
|
|
2855
2434
|
/** AutoRechargeCard */
|
|
2856
2435
|
AutoRechargeCard: {
|
|
2857
2436
|
/**
|
|
@@ -2892,26 +2471,6 @@ interface components {
|
|
|
2892
2471
|
/** Threshold */
|
|
2893
2472
|
threshold: number;
|
|
2894
2473
|
};
|
|
2895
|
-
/** AutoRechargeUpdate */
|
|
2896
|
-
AutoRechargeUpdate: {
|
|
2897
|
-
/** Amount */
|
|
2898
|
-
amount: number;
|
|
2899
|
-
/**
|
|
2900
|
-
* Enabled
|
|
2901
|
-
* @description Explicit opt-in; enabling requires a saved card.
|
|
2902
|
-
*/
|
|
2903
|
-
enabled: boolean;
|
|
2904
|
-
/** Threshold */
|
|
2905
|
-
threshold: number;
|
|
2906
|
-
};
|
|
2907
|
-
/** BillingCheckout */
|
|
2908
|
-
BillingCheckout: {
|
|
2909
|
-
/**
|
|
2910
|
-
* Url
|
|
2911
|
-
* @description Stripe-hosted URL to open to complete this flow.
|
|
2912
|
-
*/
|
|
2913
|
-
url: string;
|
|
2914
|
-
};
|
|
2915
2474
|
/**
|
|
2916
2475
|
* BillingPeriodOption
|
|
2917
2476
|
* @description One selectable billing period. Dates are yyyy-MM-dd (UTC); period_end is
|
|
@@ -4751,47 +4310,25 @@ interface components {
|
|
|
4751
4310
|
window_days: number;
|
|
4752
4311
|
};
|
|
4753
4312
|
/**
|
|
4754
|
-
*
|
|
4755
|
-
* @description
|
|
4756
|
-
* line counts cover their merged pull requests; `reviews` counts reviews this
|
|
4757
|
-
* person also submitted.
|
|
4313
|
+
* ConfigUsageBucket
|
|
4314
|
+
* @description One bucket of a saved agent's or handler's sessions and usage.
|
|
4758
4315
|
*/
|
|
4759
|
-
|
|
4760
|
-
/**
|
|
4761
|
-
|
|
4762
|
-
* @description Lines added across their merged pull requests.
|
|
4763
|
-
*/
|
|
4764
|
-
additions: number;
|
|
4765
|
-
/**
|
|
4766
|
-
* Ai Attributed Prs
|
|
4767
|
-
* @description Their merged pull requests authored by a bot identity.
|
|
4768
|
-
*/
|
|
4769
|
-
ai_attributed_prs: number;
|
|
4770
|
-
/**
|
|
4771
|
-
* Avatar Url
|
|
4772
|
-
* @description The contributor's GitHub avatar URL.
|
|
4773
|
-
*/
|
|
4774
|
-
avatar_url: string | null;
|
|
4775
|
-
/**
|
|
4776
|
-
* Deletions
|
|
4777
|
-
* @description Lines deleted across their merged pull requests.
|
|
4778
|
-
*/
|
|
4779
|
-
deletions: number;
|
|
4780
|
-
/**
|
|
4781
|
-
* Login
|
|
4782
|
-
* @description The contributor's GitHub login.
|
|
4783
|
-
*/
|
|
4784
|
-
login: string;
|
|
4316
|
+
ConfigUsageBucket: {
|
|
4317
|
+
/** @description What the bucket's usage cost. */
|
|
4318
|
+
cost: components['schemas']['Cost'];
|
|
4785
4319
|
/**
|
|
4786
|
-
*
|
|
4787
|
-
*
|
|
4320
|
+
* Date
|
|
4321
|
+
* Format: date-time
|
|
4322
|
+
* @description When the bucket starts, in UTC.
|
|
4788
4323
|
*/
|
|
4789
|
-
|
|
4324
|
+
date: string;
|
|
4790
4325
|
/**
|
|
4791
|
-
*
|
|
4792
|
-
* @description
|
|
4326
|
+
* Sessions
|
|
4327
|
+
* @description Sessions created in the bucket.
|
|
4793
4328
|
*/
|
|
4794
|
-
|
|
4329
|
+
sessions: number;
|
|
4330
|
+
/** @description The tokens used in the bucket. */
|
|
4331
|
+
tokens: components['schemas']['Tokens'];
|
|
4795
4332
|
};
|
|
4796
4333
|
/**
|
|
4797
4334
|
* Cost
|
|
@@ -4937,14 +4474,6 @@ interface components {
|
|
|
4937
4474
|
*/
|
|
4938
4475
|
amount_paid: number;
|
|
4939
4476
|
};
|
|
4940
|
-
/** CreditPurchaseRequest */
|
|
4941
|
-
CreditPurchaseRequest: {
|
|
4942
|
-
/**
|
|
4943
|
-
* Amount
|
|
4944
|
-
* @description Credit to buy, in millicents, as a whole number of cents. The platform fee is added at checkout.
|
|
4945
|
-
*/
|
|
4946
|
-
amount: number;
|
|
4947
|
-
};
|
|
4948
4477
|
/**
|
|
4949
4478
|
* CronTrigger
|
|
4950
4479
|
* @description A schedule: `schedule` is a five-field cron expression in UTC.
|
|
@@ -5002,12 +4531,20 @@ interface components {
|
|
|
5002
4531
|
* @description Reserved; API request retention is not yet enforced.
|
|
5003
4532
|
*/
|
|
5004
4533
|
api_requests_days?: number | null;
|
|
4534
|
+
/**
|
|
4535
|
+
* Archive Inactive Sessions Days
|
|
4536
|
+
* @description Days without a message before a session is archived. A session is also archived when it closes. 1 to 90, default 7.
|
|
4537
|
+
*/
|
|
4538
|
+
archive_inactive_sessions_days?: number;
|
|
5005
4539
|
/**
|
|
5006
4540
|
* Environment Snapshots Days
|
|
5007
4541
|
* @description Retention of newly created reusable environment snapshots, up to 28 days from creation. Paused session workspaces have a separate lifetime.
|
|
5008
4542
|
*/
|
|
5009
4543
|
environment_snapshots_days?: number;
|
|
5010
|
-
/**
|
|
4544
|
+
/**
|
|
4545
|
+
* Session Logs Days
|
|
4546
|
+
* @description Days after a session is archived before its records and messages are deleted. The session itself stays. Null keeps them.
|
|
4547
|
+
*/
|
|
5011
4548
|
session_logs_days?: number | null;
|
|
5012
4549
|
/**
|
|
5013
4550
|
* Webhooks Days
|
|
@@ -5022,13 +4559,22 @@ interface components {
|
|
|
5022
4559
|
* @description Reserved; API request retention is not yet enforced.
|
|
5023
4560
|
*/
|
|
5024
4561
|
api_requests_days: number | null;
|
|
4562
|
+
/**
|
|
4563
|
+
* Archive Inactive Sessions Days
|
|
4564
|
+
* @description Days without a message before a session is archived. A session is also archived when it closes. 1 to 90, default 7.
|
|
4565
|
+
* @default 7
|
|
4566
|
+
*/
|
|
4567
|
+
archive_inactive_sessions_days: number;
|
|
5025
4568
|
/**
|
|
5026
4569
|
* Environment Snapshots Days
|
|
5027
4570
|
* @description Retention of newly created reusable environment snapshots, up to 28 days from creation. Paused session workspaces have a separate lifetime.
|
|
5028
4571
|
* @default 28
|
|
5029
4572
|
*/
|
|
5030
4573
|
environment_snapshots_days: number;
|
|
5031
|
-
/**
|
|
4574
|
+
/**
|
|
4575
|
+
* Session Logs Days
|
|
4576
|
+
* @description Days after a session is archived before its records and messages are deleted. The session itself stays. Null keeps them.
|
|
4577
|
+
*/
|
|
5032
4578
|
session_logs_days: number | null;
|
|
5033
4579
|
/**
|
|
5034
4580
|
* Webhooks Days
|
|
@@ -5140,38 +4686,6 @@ interface components {
|
|
|
5140
4686
|
/** Seconds */
|
|
5141
4687
|
seconds: number | null;
|
|
5142
4688
|
};
|
|
5143
|
-
/**
|
|
5144
|
-
* DurationPercentiles
|
|
5145
|
-
* @description Percentiles of a duration distribution, in hours. p0 = fastest,
|
|
5146
|
-
* p100 = slowest; the spread shows how merge latency varies.
|
|
5147
|
-
*/
|
|
5148
|
-
DurationPercentiles: {
|
|
5149
|
-
/**
|
|
5150
|
-
* P0
|
|
5151
|
-
* @description The fastest value, in hours.
|
|
5152
|
-
*/
|
|
5153
|
-
p0: number;
|
|
5154
|
-
/**
|
|
5155
|
-
* P100
|
|
5156
|
-
* @description The slowest value, in hours.
|
|
5157
|
-
*/
|
|
5158
|
-
p100: number;
|
|
5159
|
-
/**
|
|
5160
|
-
* P25
|
|
5161
|
-
* @description The 25th-percentile value, in hours.
|
|
5162
|
-
*/
|
|
5163
|
-
p25: number;
|
|
5164
|
-
/**
|
|
5165
|
-
* P50
|
|
5166
|
-
* @description The median value, in hours.
|
|
5167
|
-
*/
|
|
5168
|
-
p50: number;
|
|
5169
|
-
/**
|
|
5170
|
-
* P75
|
|
5171
|
-
* @description The 75th-percentile value, in hours.
|
|
5172
|
-
*/
|
|
5173
|
-
p75: number;
|
|
5174
|
-
};
|
|
5175
4689
|
/**
|
|
5176
4690
|
* EffortLevel
|
|
5177
4691
|
* @enum {string}
|
|
@@ -5874,7 +5388,7 @@ interface components {
|
|
|
5874
5388
|
ErrorInfo: {
|
|
5875
5389
|
/**
|
|
5876
5390
|
* Code
|
|
5877
|
-
* @description Stable machine-readable error code. Open vocabulary — handle unknown codes by HTTP status. Known values: account_blocked, budget_exceeds_ceiling, conflict, contact_email_required, failed_dependency, forbidden, internal_error, invalid_cursor, invalid_request, not_found, rate_limit_exceeded, rate_limited, session_budget_exhausted, session_closed, session_finished, session_harness_single_turn, session_mention_surface, session_non_interactive, session_not_spawner, unauthorized, unavailable, unsupported_session_combination, webhook_limit_reached, webhook_not_pending, webhook_ping_rate_limited, webhook_unverified, webhooks_unavailable.
|
|
5391
|
+
* @description Stable machine-readable error code. Open vocabulary — handle unknown codes by HTTP status. Known values: account_blocked, budget_exceeds_ceiling, conflict, contact_email_required, failed_dependency, forbidden, internal_error, invalid_cursor, invalid_request, not_found, rate_limit_exceeded, rate_limited, session_archived, session_budget_exhausted, session_closed, session_finished, session_harness_single_turn, session_mention_surface, session_non_interactive, session_not_spawner, session_superseded, unauthorized, unavailable, unsupported_session_combination, webhook_limit_reached, webhook_not_pending, webhook_ping_rate_limited, webhook_unverified, webhooks_unavailable.
|
|
5878
5392
|
*/
|
|
5879
5393
|
code: string;
|
|
5880
5394
|
/**
|
|
@@ -6216,105 +5730,6 @@ interface components {
|
|
|
6216
5730
|
} & {
|
|
6217
5731
|
[key: string]: unknown;
|
|
6218
5732
|
};
|
|
6219
|
-
/**
|
|
6220
|
-
* GetAnalyticsMetricsResponse
|
|
6221
|
-
* @description Organization-wide pull-request and review analytics, aggregated
|
|
6222
|
-
* server-side over the requested window and filters, with filter facets
|
|
6223
|
-
* derived from the unfiltered pull-request set.
|
|
6224
|
-
*/
|
|
6225
|
-
GetAnalyticsMetricsResponse: {
|
|
6226
|
-
/**
|
|
6227
|
-
* Available Authors
|
|
6228
|
-
* @description Author filter options from the unfiltered window.
|
|
6229
|
-
*/
|
|
6230
|
-
available_authors: components['schemas']['AuthorFacet'][];
|
|
6231
|
-
/**
|
|
6232
|
-
* Available Repos
|
|
6233
|
-
* @description Repository filter options from the unfiltered window.
|
|
6234
|
-
*/
|
|
6235
|
-
available_repos: components['schemas']['RepoFacet'][];
|
|
6236
|
-
/**
|
|
6237
|
-
* Contributors
|
|
6238
|
-
* @description Per-contributor breakdown, most merged pull requests first.
|
|
6239
|
-
*/
|
|
6240
|
-
contributors: components['schemas']['ContributorUsage'][];
|
|
6241
|
-
/** @description The width of each bucket in series, chosen from the window's length. */
|
|
6242
|
-
interval: components['schemas']['SeriesInterval'];
|
|
6243
|
-
/**
|
|
6244
|
-
* Repositories
|
|
6245
|
-
* @description Per-repository breakdown, most merged pull requests first.
|
|
6246
|
-
*/
|
|
6247
|
-
repositories: components['schemas']['AnalyticsRepoUsage'][];
|
|
6248
|
-
/**
|
|
6249
|
-
* Reviewers
|
|
6250
|
-
* @description Per-reviewer breakdown, most reviews first.
|
|
6251
|
-
*/
|
|
6252
|
-
reviewers: components['schemas']['ReviewerUsage'][];
|
|
6253
|
-
/**
|
|
6254
|
-
* Series
|
|
6255
|
-
* @description Buckets covering the window, oldest first, one interval wide each.
|
|
6256
|
-
*/
|
|
6257
|
-
series: components['schemas']['AnalyticsMetricsBucket'][];
|
|
6258
|
-
/** @description Window-wide totals. */
|
|
6259
|
-
totals: components['schemas']['AnalyticsMetricsTotals'];
|
|
6260
|
-
};
|
|
6261
|
-
/**
|
|
6262
|
-
* GetAnalyticsPullRequestsResponse
|
|
6263
|
-
* @description Pull-request analytics for the requested window: per-day trends with
|
|
6264
|
-
* human/bot splits, window totals, filter facets, and the most recent pull
|
|
6265
|
-
* requests.
|
|
6266
|
-
*/
|
|
6267
|
-
GetAnalyticsPullRequestsResponse: {
|
|
6268
|
-
/** @description Available filter options, from the unfiltered window. */
|
|
6269
|
-
facets: components['schemas']['PullRequestFacets'];
|
|
6270
|
-
/** @description The width of each bucket in series, chosen from the window's length. */
|
|
6271
|
-
interval: components['schemas']['SeriesInterval'];
|
|
6272
|
-
/**
|
|
6273
|
-
* Recent
|
|
6274
|
-
* @description The most recent pull requests, newest first, capped.
|
|
6275
|
-
*/
|
|
6276
|
-
recent: components['schemas']['RecentPullRequest'][];
|
|
6277
|
-
/**
|
|
6278
|
-
* Series
|
|
6279
|
-
* @description Buckets covering the window, oldest first, one interval wide each.
|
|
6280
|
-
*/
|
|
6281
|
-
series: components['schemas']['PullRequestsBucket'][];
|
|
6282
|
-
/** @description Window-wide totals. */
|
|
6283
|
-
totals: components['schemas']['PullRequestsTotals'];
|
|
6284
|
-
/**
|
|
6285
|
-
* Truncated
|
|
6286
|
-
* @description True when the window hit the scan limit and the figures undercount.
|
|
6287
|
-
*/
|
|
6288
|
-
truncated: boolean;
|
|
6289
|
-
};
|
|
6290
|
-
/**
|
|
6291
|
-
* GetAnalyticsReviewsResponse
|
|
6292
|
-
* @description Review analytics for the requested window: the review and inline-comment
|
|
6293
|
-
* feeds, per-day trends, full-set totals, and filter facets.
|
|
6294
|
-
*/
|
|
6295
|
-
GetAnalyticsReviewsResponse: {
|
|
6296
|
-
/** @description Available filter options. */
|
|
6297
|
-
facets: components['schemas']['ReviewFacets'];
|
|
6298
|
-
/** @description The width of each bucket in series, chosen from the window's length. */
|
|
6299
|
-
interval: components['schemas']['SeriesInterval'];
|
|
6300
|
-
/**
|
|
6301
|
-
* Review Comments
|
|
6302
|
-
* @description The inline-comment feed, newest first, capped.
|
|
6303
|
-
*/
|
|
6304
|
-
review_comments: components['schemas']['ReviewCommentListItem'][];
|
|
6305
|
-
/**
|
|
6306
|
-
* Reviews
|
|
6307
|
-
* @description The review feed, newest first, capped.
|
|
6308
|
-
*/
|
|
6309
|
-
reviews: components['schemas']['ReviewListItem'][];
|
|
6310
|
-
/**
|
|
6311
|
-
* Series
|
|
6312
|
-
* @description Buckets covering the window, oldest first, one interval wide each.
|
|
6313
|
-
*/
|
|
6314
|
-
series: components['schemas']['ReviewsBucket'][];
|
|
6315
|
-
/** @description Window-wide totals. */
|
|
6316
|
-
totals: components['schemas']['ReviewsTotals'];
|
|
6317
|
-
};
|
|
6318
5733
|
/**
|
|
6319
5734
|
* GetIntegrationsResponse
|
|
6320
5735
|
* @description Everything connected for the calling account, in one call. A key is
|
|
@@ -6417,16 +5832,10 @@ interface components {
|
|
|
6417
5832
|
tokens: components['schemas']['Tokens'];
|
|
6418
5833
|
};
|
|
6419
5834
|
'GithubAccountFilter-Input': {
|
|
6420
|
-
/**
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
exclude: string[];
|
|
6425
|
-
/**
|
|
6426
|
-
* Include
|
|
6427
|
-
* @default true
|
|
6428
|
-
*/
|
|
6429
|
-
include: string[] | boolean;
|
|
5835
|
+
/** Exclude */
|
|
5836
|
+
exclude?: string[];
|
|
5837
|
+
/** Include */
|
|
5838
|
+
include?: string[] | boolean;
|
|
6430
5839
|
} | boolean | string[];
|
|
6431
5840
|
'GithubAccountFilter-Output': {
|
|
6432
5841
|
/**
|
|
@@ -6968,10 +6377,31 @@ interface components {
|
|
|
6968
6377
|
private: boolean;
|
|
6969
6378
|
};
|
|
6970
6379
|
/**
|
|
6971
|
-
*
|
|
6972
|
-
* @description
|
|
6973
|
-
|
|
6974
|
-
|
|
6380
|
+
* GithubRepositorySnippet
|
|
6381
|
+
* @description A GitHub repository, named by its owner and name.
|
|
6382
|
+
*/
|
|
6383
|
+
GithubRepositorySnippet: {
|
|
6384
|
+
/**
|
|
6385
|
+
* Id
|
|
6386
|
+
* @description The GitHub repository id.
|
|
6387
|
+
*/
|
|
6388
|
+
id: number;
|
|
6389
|
+
/**
|
|
6390
|
+
* Name
|
|
6391
|
+
* @description The repository name.
|
|
6392
|
+
*/
|
|
6393
|
+
name: string;
|
|
6394
|
+
/**
|
|
6395
|
+
* Owner
|
|
6396
|
+
* @description The repository owner's login.
|
|
6397
|
+
*/
|
|
6398
|
+
owner: string;
|
|
6399
|
+
};
|
|
6400
|
+
/**
|
|
6401
|
+
* GithubRoutes
|
|
6402
|
+
* @description Which repositories one agent answers @ellipsis in. `"*"` means every one.
|
|
6403
|
+
*
|
|
6404
|
+
* `repositories` must be non-empty: an entry claiming nothing would be a config
|
|
6975
6405
|
* a customer wrote, committed, and that answers nowhere — the silent-config
|
|
6976
6406
|
* failure this file exists to avoid.
|
|
6977
6407
|
*/
|
|
@@ -7153,18 +6583,26 @@ interface components {
|
|
|
7153
6583
|
* @description Session counts and spend attributed to one saved handler.
|
|
7154
6584
|
*/
|
|
7155
6585
|
HandlerMetricsResponse: {
|
|
6586
|
+
/**
|
|
6587
|
+
* Buckets
|
|
6588
|
+
* @description Sessions created and usage in each bucket of the window, oldest first, with zeros for buckets without either.
|
|
6589
|
+
*/
|
|
6590
|
+
buckets: components['schemas']['ConfigUsageBucket'][];
|
|
7156
6591
|
/** @description What the selected sessions cost together. */
|
|
7157
6592
|
cost: components['schemas']['Cost'];
|
|
7158
6593
|
/**
|
|
7159
6594
|
* End
|
|
7160
|
-
*
|
|
6595
|
+
* Format: date-time
|
|
6596
|
+
* @description Exclusive session creation-time bound.
|
|
7161
6597
|
*/
|
|
7162
|
-
end: string
|
|
6598
|
+
end: string;
|
|
7163
6599
|
/**
|
|
7164
6600
|
* Handler Id
|
|
7165
6601
|
* @description The saved handler whose sessions are counted.
|
|
7166
6602
|
*/
|
|
7167
6603
|
handler_id: string;
|
|
6604
|
+
/** @description The width of each bucket, chosen from the window's length. */
|
|
6605
|
+
interval: components['schemas']['SeriesInterval'];
|
|
7168
6606
|
/** @description Current outcomes of sessions created in the window; outcome counts sum to total. */
|
|
7169
6607
|
sessions: components['schemas']['HandlerSessionCounts'];
|
|
7170
6608
|
/**
|
|
@@ -7174,9 +6612,10 @@ interface components {
|
|
|
7174
6612
|
spend_windows: components['schemas']['ConfigSpendWindow'][];
|
|
7175
6613
|
/**
|
|
7176
6614
|
* Start
|
|
7177
|
-
*
|
|
6615
|
+
* Format: date-time
|
|
6616
|
+
* @description Inclusive session creation-time bound.
|
|
7178
6617
|
*/
|
|
7179
|
-
start: string
|
|
6618
|
+
start: string;
|
|
7180
6619
|
};
|
|
7181
6620
|
/**
|
|
7182
6621
|
* HandlerService
|
|
@@ -7284,23 +6723,6 @@ interface components {
|
|
|
7284
6723
|
*/
|
|
7285
6724
|
media_type: 'image/png' | 'image/jpeg' | 'image/gif' | 'image/webp';
|
|
7286
6725
|
};
|
|
7287
|
-
/**
|
|
7288
|
-
* IngestTranscriptRequest
|
|
7289
|
-
* @description A batch of raw transcript lines pushed from inside a session's
|
|
7290
|
-
* environment.
|
|
7291
|
-
*/
|
|
7292
|
-
IngestTranscriptRequest: {
|
|
7293
|
-
/**
|
|
7294
|
-
* Lines
|
|
7295
|
-
* @description Raw on-disk transcript lines starting at `offset`.
|
|
7296
|
-
*/
|
|
7297
|
-
lines: string[];
|
|
7298
|
-
/**
|
|
7299
|
-
* Offset
|
|
7300
|
-
* @description The line offset the batch starts at.
|
|
7301
|
-
*/
|
|
7302
|
-
offset?: number;
|
|
7303
|
-
};
|
|
7304
6726
|
/**
|
|
7305
6727
|
* InputContract
|
|
7306
6728
|
* @description The typed input contract: what goes INTO a session (the trigger is
|
|
@@ -7682,7 +7104,31 @@ interface components {
|
|
|
7682
7104
|
* LinearIssueAction
|
|
7683
7105
|
* @enum {string}
|
|
7684
7106
|
*/
|
|
7685
|
-
LinearIssueAction: 'opened';
|
|
7107
|
+
LinearIssueAction: 'opened' | 'updated';
|
|
7108
|
+
/**
|
|
7109
|
+
* LinearIssueChanged
|
|
7110
|
+
* @description The fields an `updated` event watches. Every listed field must change in
|
|
7111
|
+
* the same edit.
|
|
7112
|
+
*/
|
|
7113
|
+
'LinearIssueChanged-Input': {
|
|
7114
|
+
assignee?: components['schemas']['LinearValueChange-Input'] | null;
|
|
7115
|
+
labels?: components['schemas']['LinearLabelsChange-Input'] | null;
|
|
7116
|
+
priority?: components['schemas']['LinearValueChange-Input'] | null;
|
|
7117
|
+
project?: components['schemas']['LinearValueChange-Input'] | null;
|
|
7118
|
+
state?: components['schemas']['LinearValueChange-Input'] | null;
|
|
7119
|
+
};
|
|
7120
|
+
/**
|
|
7121
|
+
* LinearIssueChanged
|
|
7122
|
+
* @description The fields an `updated` event watches. Every listed field must change in
|
|
7123
|
+
* the same edit.
|
|
7124
|
+
*/
|
|
7125
|
+
'LinearIssueChanged-Output': {
|
|
7126
|
+
assignee: components['schemas']['LinearValueChange-Output'] | null;
|
|
7127
|
+
labels: components['schemas']['LinearLabelsChange-Output'] | null;
|
|
7128
|
+
priority: components['schemas']['LinearValueChange-Output'] | null;
|
|
7129
|
+
project: components['schemas']['LinearValueChange-Output'] | null;
|
|
7130
|
+
state: components['schemas']['LinearValueChange-Output'] | null;
|
|
7131
|
+
};
|
|
7686
7132
|
/** LinearIssueEvent */
|
|
7687
7133
|
LinearIssueEvent: {
|
|
7688
7134
|
/** Action */
|
|
@@ -7702,6 +7148,26 @@ interface components {
|
|
|
7702
7148
|
/** Url */
|
|
7703
7149
|
url: string;
|
|
7704
7150
|
};
|
|
7151
|
+
/**
|
|
7152
|
+
* LinearLabelsChange
|
|
7153
|
+
* @description A change to the issue's labels. `added` matches when a listed label was
|
|
7154
|
+
* added and `removed` when a listed label was removed. `{}` is any label
|
|
7155
|
+
* change.
|
|
7156
|
+
*/
|
|
7157
|
+
'LinearLabelsChange-Input': {
|
|
7158
|
+
added?: components['schemas']['LinearValueFilter-Input'] | null;
|
|
7159
|
+
removed?: components['schemas']['LinearValueFilter-Input'] | null;
|
|
7160
|
+
};
|
|
7161
|
+
/**
|
|
7162
|
+
* LinearLabelsChange
|
|
7163
|
+
* @description A change to the issue's labels. `added` matches when a listed label was
|
|
7164
|
+
* added and `removed` when a listed label was removed. `{}` is any label
|
|
7165
|
+
* change.
|
|
7166
|
+
*/
|
|
7167
|
+
'LinearLabelsChange-Output': {
|
|
7168
|
+
added: components['schemas']['LinearValueFilter-Output'] | null;
|
|
7169
|
+
removed: components['schemas']['LinearValueFilter-Output'] | null;
|
|
7170
|
+
};
|
|
7705
7171
|
/**
|
|
7706
7172
|
* LinearRoutes
|
|
7707
7173
|
* @description Which Linear issues one agent answers @ellipsis on.
|
|
@@ -7771,6 +7237,44 @@ interface components {
|
|
|
7771
7237
|
*/
|
|
7772
7238
|
teams: components['schemas']['LinearTeam'][];
|
|
7773
7239
|
};
|
|
7240
|
+
/**
|
|
7241
|
+
* LinearValueChange
|
|
7242
|
+
* @description A change to one issue field. `from` matches the value before the change
|
|
7243
|
+
* and `to` the value after it. Leaving either out matches any value, so `{}`
|
|
7244
|
+
* is any change to the field.
|
|
7245
|
+
*/
|
|
7246
|
+
'LinearValueChange-Input': {
|
|
7247
|
+
from?: components['schemas']['LinearValueFilter-Input'] | null;
|
|
7248
|
+
to?: components['schemas']['LinearValueFilter-Input'] | null;
|
|
7249
|
+
};
|
|
7250
|
+
/**
|
|
7251
|
+
* LinearValueChange
|
|
7252
|
+
* @description A change to one issue field. `from` matches the value before the change
|
|
7253
|
+
* and `to` the value after it. Leaving either out matches any value, so `{}`
|
|
7254
|
+
* is any change to the field.
|
|
7255
|
+
*/
|
|
7256
|
+
'LinearValueChange-Output': {
|
|
7257
|
+
from: components['schemas']['LinearValueFilter-Output'] | null;
|
|
7258
|
+
to: components['schemas']['LinearValueFilter-Output'] | null;
|
|
7259
|
+
};
|
|
7260
|
+
'LinearValueFilter-Input': {
|
|
7261
|
+
/** Exclude */
|
|
7262
|
+
exclude?: string[];
|
|
7263
|
+
/** Include */
|
|
7264
|
+
include?: string[];
|
|
7265
|
+
} | string[] | string;
|
|
7266
|
+
'LinearValueFilter-Output': {
|
|
7267
|
+
/**
|
|
7268
|
+
* Exclude
|
|
7269
|
+
* @default []
|
|
7270
|
+
*/
|
|
7271
|
+
exclude: string[];
|
|
7272
|
+
/**
|
|
7273
|
+
* Include
|
|
7274
|
+
* @default []
|
|
7275
|
+
*/
|
|
7276
|
+
include: string[];
|
|
7277
|
+
} | string[] | string;
|
|
7774
7278
|
/**
|
|
7775
7279
|
* LinkAgentRequest
|
|
7776
7280
|
* @description Where to put the file of an agent being moved into a repository.
|
|
@@ -8600,20 +8104,6 @@ interface components {
|
|
|
8600
8104
|
[key: string]: unknown;
|
|
8601
8105
|
};
|
|
8602
8106
|
};
|
|
8603
|
-
/**
|
|
8604
|
-
* PatchAccountOnboardingRequest
|
|
8605
|
-
* @description Save supplied answers; omitted answers stay unchanged.
|
|
8606
|
-
*/
|
|
8607
|
-
PatchAccountOnboardingRequest: {
|
|
8608
|
-
/** Finished */
|
|
8609
|
-
finished?: boolean;
|
|
8610
|
-
/** Other Use Case */
|
|
8611
|
-
other_use_case?: string | null;
|
|
8612
|
-
/** Use Cases */
|
|
8613
|
-
use_cases?: components['schemas']['AccountOnboardingUseCase'][];
|
|
8614
|
-
/** Work Email */
|
|
8615
|
-
work_email?: string | null;
|
|
8616
|
-
};
|
|
8617
8107
|
/** PatchAccountRequest */
|
|
8618
8108
|
PatchAccountRequest: {
|
|
8619
8109
|
/** Can Start Sessions */
|
|
@@ -8631,6 +8121,22 @@ interface components {
|
|
|
8631
8121
|
data_retention?: components['schemas']['DataRetentionSettings-Input'] | null;
|
|
8632
8122
|
notifications?: components['schemas']['NotificationSettings'] | null;
|
|
8633
8123
|
};
|
|
8124
|
+
/**
|
|
8125
|
+
* PatchUserSettingsRequest
|
|
8126
|
+
* @description Change the keys sent; every other key stays as it is.
|
|
8127
|
+
*/
|
|
8128
|
+
PatchUserSettingsRequest: {
|
|
8129
|
+
web?: components['schemas']['PatchUserSettingsWeb'] | null;
|
|
8130
|
+
};
|
|
8131
|
+
/** PatchUserSettingsWeb */
|
|
8132
|
+
PatchUserSettingsWeb: {
|
|
8133
|
+
ui?: components['schemas']['PatchUserSettingsWebUi'] | null;
|
|
8134
|
+
};
|
|
8135
|
+
/** PatchUserSettingsWebUi */
|
|
8136
|
+
PatchUserSettingsWebUi: {
|
|
8137
|
+
density?: components['schemas']['UiSize'] | null;
|
|
8138
|
+
font_size?: components['schemas']['UiSize'] | null;
|
|
8139
|
+
};
|
|
8634
8140
|
/**
|
|
8635
8141
|
* PermissionsConfig
|
|
8636
8142
|
* @description What the agent is allowed to touch, per credential the platform mints
|
|
@@ -8701,7 +8207,7 @@ interface components {
|
|
|
8701
8207
|
* @description Why direct prompting is refused. Absent when prompting is allowed.
|
|
8702
8208
|
* @enum {string}
|
|
8703
8209
|
*/
|
|
8704
|
-
PromptBlockedReason: 'mention_surface' | 'non_interactive' | 'harness_single_turn' | 'budget_exhausted' | 'closed';
|
|
8210
|
+
PromptBlockedReason: 'mention_surface' | 'non_interactive' | 'harness_single_turn' | 'budget_exhausted' | 'closed' | 'archived';
|
|
8705
8211
|
/**
|
|
8706
8212
|
* PublicFeeSchedule
|
|
8707
8213
|
* @description Rates in millicents. purchase_fee_fraction is a fraction, for example 0.10.
|
|
@@ -8717,211 +8223,90 @@ interface components {
|
|
|
8717
8223
|
signup_credit: number;
|
|
8718
8224
|
};
|
|
8719
8225
|
/**
|
|
8720
|
-
*
|
|
8721
|
-
* @
|
|
8722
|
-
*/
|
|
8723
|
-
PullRequestAction: 'opened' | 'pushed' | 'merged' | 'closed' | 'review_submitted' | 'commented';
|
|
8724
|
-
/**
|
|
8725
|
-
* PullRequestAuthorFacet
|
|
8726
|
-
* @description An author filter option, counted over the unfiltered window.
|
|
8727
|
-
*/
|
|
8728
|
-
PullRequestAuthorFacet: {
|
|
8729
|
-
/**
|
|
8730
|
-
* Account Type
|
|
8731
|
-
* @description The author's GitHub account type (e.g. "User" or "Bot").
|
|
8732
|
-
*/
|
|
8733
|
-
account_type: string;
|
|
8734
|
-
/**
|
|
8735
|
-
* Author Id
|
|
8736
|
-
* @description The author's GitHub account id.
|
|
8737
|
-
*/
|
|
8738
|
-
author_id: number;
|
|
8739
|
-
/**
|
|
8740
|
-
* Avatar Url
|
|
8741
|
-
* @description The author's avatar URL.
|
|
8742
|
-
*/
|
|
8743
|
-
avatar_url: string;
|
|
8744
|
-
/**
|
|
8745
|
-
* Login
|
|
8746
|
-
* @description The author's GitHub login.
|
|
8747
|
-
*/
|
|
8748
|
-
login: string;
|
|
8749
|
-
/**
|
|
8750
|
-
* Prs
|
|
8751
|
-
* @description Unfiltered pull-request count in the window.
|
|
8752
|
-
*/
|
|
8753
|
-
prs: number;
|
|
8754
|
-
};
|
|
8755
|
-
/**
|
|
8756
|
-
* PullRequestFacets
|
|
8757
|
-
* @description The available filter options, derived from the unfiltered window.
|
|
8758
|
-
*/
|
|
8759
|
-
PullRequestFacets: {
|
|
8760
|
-
/**
|
|
8761
|
-
* Account Types
|
|
8762
|
-
* @description Author account types present in the window.
|
|
8763
|
-
*/
|
|
8764
|
-
account_types: string[];
|
|
8765
|
-
/**
|
|
8766
|
-
* Authors
|
|
8767
|
-
* @description Author filter options.
|
|
8768
|
-
*/
|
|
8769
|
-
authors: components['schemas']['PullRequestAuthorFacet'][];
|
|
8770
|
-
/**
|
|
8771
|
-
* Repos
|
|
8772
|
-
* @description Repository filter options.
|
|
8773
|
-
*/
|
|
8774
|
-
repos: components['schemas']['PullRequestRepoFacet'][];
|
|
8775
|
-
};
|
|
8776
|
-
/**
|
|
8777
|
-
* PullRequestRepoFacet
|
|
8778
|
-
* @description A repository filter option, counted over the unfiltered window so
|
|
8779
|
-
* options never vanish when filters are applied.
|
|
8780
|
-
*/
|
|
8781
|
-
PullRequestRepoFacet: {
|
|
8782
|
-
/**
|
|
8783
|
-
* Prs
|
|
8784
|
-
* @description Unfiltered pull-request count in the window.
|
|
8785
|
-
*/
|
|
8786
|
-
prs: number;
|
|
8787
|
-
/**
|
|
8788
|
-
* Repository Id
|
|
8789
|
-
* @description The repository's GitHub id.
|
|
8790
|
-
*/
|
|
8791
|
-
repository_id: number;
|
|
8792
|
-
/**
|
|
8793
|
-
* Repository Name
|
|
8794
|
-
* @description The repository's full "owner/name" identifier.
|
|
8795
|
-
*/
|
|
8796
|
-
repository_name: string;
|
|
8797
|
-
};
|
|
8798
|
-
/**
|
|
8799
|
-
* PullRequestsBucket
|
|
8800
|
-
* @description Pull-request activity in one bucket of the window. `prs`, `lines`,
|
|
8801
|
-
* `authors`, and `commits` count pull requests created in the bucket.
|
|
8802
|
-
* `merged` and `merge_time` cover pull requests merged in the bucket, and
|
|
8803
|
-
* `closed` counts pull requests closed without merging in the bucket.
|
|
8804
|
-
*
|
|
8805
|
-
* Each count of created pull requests also splits bots from humans. `*_bot`
|
|
8806
|
-
* counts pull requests whose author is a bot (a Bot account or a `[bot]`
|
|
8807
|
-
* login), and `*_human` is everything else, so the pair always sums to the
|
|
8808
|
-
* total.
|
|
8226
|
+
* PullRequest
|
|
8227
|
+
* @description A GitHub pull request. A session's pull requests are read live. A review's is kept as it was when the review ran.
|
|
8809
8228
|
*/
|
|
8810
|
-
|
|
8811
|
-
/**
|
|
8812
|
-
* Authors
|
|
8813
|
-
* @description Distinct pull-request authors active in this bucket, humans and bots.
|
|
8814
|
-
*/
|
|
8815
|
-
authors: number;
|
|
8229
|
+
PullRequest: {
|
|
8816
8230
|
/**
|
|
8817
|
-
*
|
|
8818
|
-
* @description
|
|
8819
|
-
*/
|
|
8820
|
-
authors_bot: number;
|
|
8821
|
-
/**
|
|
8822
|
-
* Authors Human
|
|
8823
|
-
* @description Distinct human authors active in this bucket.
|
|
8231
|
+
* Additions
|
|
8232
|
+
* @description Lines added, null until GitHub reports them.
|
|
8824
8233
|
*/
|
|
8825
|
-
|
|
8234
|
+
additions?: number | null;
|
|
8235
|
+
/** @description Who opened the pull request. */
|
|
8236
|
+
author: components['schemas']['GithubAccountSnippet'];
|
|
8237
|
+
/** @description The branch the changes merge into. */
|
|
8238
|
+
base: components['schemas']['PullRequestBranch'];
|
|
8826
8239
|
/**
|
|
8827
|
-
*
|
|
8828
|
-
* @description
|
|
8240
|
+
* Changed Files
|
|
8241
|
+
* @description Files changed, null until GitHub reports them.
|
|
8829
8242
|
*/
|
|
8830
|
-
|
|
8243
|
+
changed_files?: number | null;
|
|
8831
8244
|
/**
|
|
8832
8245
|
* Commits
|
|
8833
|
-
* @description
|
|
8834
|
-
*/
|
|
8835
|
-
commits: number;
|
|
8836
|
-
/**
|
|
8837
|
-
* Commits Bot
|
|
8838
|
-
* @description Commits across pull requests created by bot authors.
|
|
8246
|
+
* @description Commits, null until GitHub reports them.
|
|
8839
8247
|
*/
|
|
8840
|
-
|
|
8841
|
-
/**
|
|
8842
|
-
* Commits Human
|
|
8843
|
-
* @description Commits across pull requests created by human authors.
|
|
8844
|
-
*/
|
|
8845
|
-
commits_human: number;
|
|
8248
|
+
commits?: number | null;
|
|
8846
8249
|
/**
|
|
8847
|
-
*
|
|
8250
|
+
* Created At
|
|
8848
8251
|
* Format: date-time
|
|
8849
|
-
* @description When the bucket starts, in UTC.
|
|
8850
|
-
*/
|
|
8851
|
-
date: string;
|
|
8852
|
-
/**
|
|
8853
|
-
* Lines
|
|
8854
|
-
* @description Lines added plus deleted across pull requests created in this bucket.
|
|
8855
|
-
*/
|
|
8856
|
-
lines: number;
|
|
8857
|
-
/**
|
|
8858
|
-
* Lines Bot
|
|
8859
|
-
* @description Lines across pull requests created by bot authors.
|
|
8860
8252
|
*/
|
|
8861
|
-
|
|
8253
|
+
created_at: string;
|
|
8862
8254
|
/**
|
|
8863
|
-
*
|
|
8864
|
-
* @description Lines
|
|
8255
|
+
* Deletions
|
|
8256
|
+
* @description Lines deleted, null until GitHub reports them.
|
|
8865
8257
|
*/
|
|
8866
|
-
|
|
8867
|
-
/** @description
|
|
8868
|
-
|
|
8258
|
+
deletions?: number | null;
|
|
8259
|
+
/** @description The branch with the changes. */
|
|
8260
|
+
head: components['schemas']['PullRequestBranch'];
|
|
8869
8261
|
/**
|
|
8870
|
-
*
|
|
8871
|
-
* @description
|
|
8262
|
+
* Id
|
|
8263
|
+
* @description The pull request's GitHub id.
|
|
8872
8264
|
*/
|
|
8873
|
-
|
|
8265
|
+
id: number;
|
|
8266
|
+
/** Merged At */
|
|
8267
|
+
merged_at?: string | null;
|
|
8268
|
+
/** Number */
|
|
8269
|
+
number: number;
|
|
8270
|
+
/** @description The repository the pull request merges into. */
|
|
8271
|
+
repository: components['schemas']['GithubRepositorySnippet'];
|
|
8874
8272
|
/**
|
|
8875
|
-
*
|
|
8876
|
-
* @
|
|
8273
|
+
* Status
|
|
8274
|
+
* @enum {string}
|
|
8877
8275
|
*/
|
|
8878
|
-
|
|
8276
|
+
status: 'open' | 'draft' | 'merged' | 'closed';
|
|
8277
|
+
/** Title */
|
|
8278
|
+
title: string;
|
|
8879
8279
|
/**
|
|
8880
|
-
*
|
|
8881
|
-
*
|
|
8280
|
+
* Updated At
|
|
8281
|
+
* Format: date-time
|
|
8882
8282
|
*/
|
|
8883
|
-
|
|
8283
|
+
updated_at: string;
|
|
8884
8284
|
/**
|
|
8885
|
-
*
|
|
8886
|
-
* @description
|
|
8285
|
+
* Url
|
|
8286
|
+
* @description The pull request on GitHub.
|
|
8887
8287
|
*/
|
|
8888
|
-
|
|
8288
|
+
url: string;
|
|
8889
8289
|
};
|
|
8890
8290
|
/**
|
|
8891
|
-
*
|
|
8892
|
-
* @
|
|
8291
|
+
* PullRequestAction
|
|
8292
|
+
* @enum {string}
|
|
8293
|
+
*/
|
|
8294
|
+
PullRequestAction: 'opened' | 'pushed' | 'merged' | 'closed' | 'review_submitted' | 'commented';
|
|
8295
|
+
/**
|
|
8296
|
+
* PullRequestBranch
|
|
8297
|
+
* @description One side of a pull request, a branch and the commit it pointed at.
|
|
8893
8298
|
*/
|
|
8894
|
-
|
|
8895
|
-
/**
|
|
8896
|
-
* Active Authors
|
|
8897
|
-
* @description Distinct pull-request authors in the window.
|
|
8898
|
-
*/
|
|
8899
|
-
active_authors: number;
|
|
8900
|
-
/**
|
|
8901
|
-
* Commits
|
|
8902
|
-
* @description Total commits across pull requests in the window.
|
|
8903
|
-
*/
|
|
8904
|
-
commits: number;
|
|
8905
|
-
/**
|
|
8906
|
-
* Lines
|
|
8907
|
-
* @description Lines added plus deleted across pull requests in the window.
|
|
8908
|
-
*/
|
|
8909
|
-
lines: number;
|
|
8910
|
-
/**
|
|
8911
|
-
* Merge Time P50 Hours
|
|
8912
|
-
* @description Median hours to merge over all merged pull requests in the window; 0 when none merged.
|
|
8913
|
-
*/
|
|
8914
|
-
merge_time_p50_hours: number;
|
|
8299
|
+
PullRequestBranch: {
|
|
8915
8300
|
/**
|
|
8916
|
-
*
|
|
8917
|
-
* @description
|
|
8301
|
+
* Ref
|
|
8302
|
+
* @description The branch name.
|
|
8918
8303
|
*/
|
|
8919
|
-
|
|
8304
|
+
ref: string;
|
|
8920
8305
|
/**
|
|
8921
|
-
*
|
|
8922
|
-
* @description
|
|
8306
|
+
* Sha
|
|
8307
|
+
* @description The commit the branch pointed at.
|
|
8923
8308
|
*/
|
|
8924
|
-
|
|
8309
|
+
sha: string;
|
|
8925
8310
|
};
|
|
8926
8311
|
/**
|
|
8927
8312
|
* PutSecretsRequest
|
|
@@ -8947,7 +8332,7 @@ interface components {
|
|
|
8947
8332
|
/** Names */
|
|
8948
8333
|
names?: string[];
|
|
8949
8334
|
/** On */
|
|
8950
|
-
on
|
|
8335
|
+
on: components['schemas']['CheckRunAction'][];
|
|
8951
8336
|
repositories?: components['schemas']['RepositoryFilter-Input'];
|
|
8952
8337
|
};
|
|
8953
8338
|
/**
|
|
@@ -8966,12 +8351,7 @@ interface components {
|
|
|
8966
8351
|
* @default []
|
|
8967
8352
|
*/
|
|
8968
8353
|
names: string[];
|
|
8969
|
-
/**
|
|
8970
|
-
* On
|
|
8971
|
-
* @default [
|
|
8972
|
-
* "failed"
|
|
8973
|
-
* ]
|
|
8974
|
-
*/
|
|
8354
|
+
/** On */
|
|
8975
8355
|
on: components['schemas']['CheckRunAction'][];
|
|
8976
8356
|
repositories: components['schemas']['RepositoryFilter-Output'];
|
|
8977
8357
|
};
|
|
@@ -8986,7 +8366,7 @@ interface components {
|
|
|
8986
8366
|
branch?: string[];
|
|
8987
8367
|
for?: components['schemas']['GithubAccountSelector-Input'];
|
|
8988
8368
|
/** On */
|
|
8989
|
-
on
|
|
8369
|
+
on: components['schemas']['CheckSuiteAction'][];
|
|
8990
8370
|
repositories?: components['schemas']['RepositoryFilter-Input'];
|
|
8991
8371
|
};
|
|
8992
8372
|
/**
|
|
@@ -9005,12 +8385,7 @@ interface components {
|
|
|
9005
8385
|
*/
|
|
9006
8386
|
branch: string[];
|
|
9007
8387
|
for: components['schemas']['GithubAccountSelector-Output'];
|
|
9008
|
-
/**
|
|
9009
|
-
* On
|
|
9010
|
-
* @default [
|
|
9011
|
-
* "failed"
|
|
9012
|
-
* ]
|
|
9013
|
-
*/
|
|
8388
|
+
/** On */
|
|
9014
8389
|
on: components['schemas']['CheckSuiteAction'][];
|
|
9015
8390
|
repositories: components['schemas']['RepositoryFilter-Output'];
|
|
9016
8391
|
};
|
|
@@ -9035,22 +8410,47 @@ interface components {
|
|
|
9035
8410
|
on: components['schemas']['IssueAction'][];
|
|
9036
8411
|
repositories: components['schemas']['RepositoryFilter-Output'];
|
|
9037
8412
|
};
|
|
9038
|
-
/**
|
|
8413
|
+
/**
|
|
8414
|
+
* ReactLinearIssue
|
|
8415
|
+
* @description A Linear issue being created (`opened`) or changed (`updated`). An
|
|
8416
|
+
* `updated` event fires only when every field under `changed` changed in
|
|
8417
|
+
* one edit. `team`, `state`, `labels`, `project`, `assignee`, and
|
|
8418
|
+
* `priority` filter on the issue as it is after the event. `state` matches
|
|
8419
|
+
* a status name or a status type. `for` is the person who created or
|
|
8420
|
+
* changed the issue.
|
|
8421
|
+
*/
|
|
9039
8422
|
'ReactLinearIssue-Input': {
|
|
8423
|
+
assignee?: components['schemas']['LinearValueFilter-Input'] | null;
|
|
8424
|
+
changed?: components['schemas']['LinearIssueChanged-Input'] | null;
|
|
9040
8425
|
for?: components['schemas']['GithubAccountSelector-Input'];
|
|
8426
|
+
labels?: components['schemas']['LinearValueFilter-Input'] | null;
|
|
9041
8427
|
/** On */
|
|
9042
|
-
on
|
|
8428
|
+
on: components['schemas']['LinearIssueAction'][];
|
|
8429
|
+
priority?: components['schemas']['LinearValueFilter-Input'] | null;
|
|
8430
|
+
project?: components['schemas']['LinearValueFilter-Input'] | null;
|
|
8431
|
+
state?: components['schemas']['LinearValueFilter-Input'] | null;
|
|
8432
|
+
team?: components['schemas']['LinearValueFilter-Input'] | null;
|
|
9043
8433
|
};
|
|
9044
|
-
/**
|
|
8434
|
+
/**
|
|
8435
|
+
* ReactLinearIssue
|
|
8436
|
+
* @description A Linear issue being created (`opened`) or changed (`updated`). An
|
|
8437
|
+
* `updated` event fires only when every field under `changed` changed in
|
|
8438
|
+
* one edit. `team`, `state`, `labels`, `project`, `assignee`, and
|
|
8439
|
+
* `priority` filter on the issue as it is after the event. `state` matches
|
|
8440
|
+
* a status name or a status type. `for` is the person who created or
|
|
8441
|
+
* changed the issue.
|
|
8442
|
+
*/
|
|
9045
8443
|
'ReactLinearIssue-Output': {
|
|
8444
|
+
assignee: components['schemas']['LinearValueFilter-Output'] | null;
|
|
8445
|
+
changed: components['schemas']['LinearIssueChanged-Output'] | null;
|
|
9046
8446
|
for: components['schemas']['GithubAccountSelector-Output'];
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
* @default [
|
|
9050
|
-
* "opened"
|
|
9051
|
-
* ]
|
|
9052
|
-
*/
|
|
8447
|
+
labels: components['schemas']['LinearValueFilter-Output'] | null;
|
|
8448
|
+
/** On */
|
|
9053
8449
|
on: components['schemas']['LinearIssueAction'][];
|
|
8450
|
+
priority: components['schemas']['LinearValueFilter-Output'] | null;
|
|
8451
|
+
project: components['schemas']['LinearValueFilter-Output'] | null;
|
|
8452
|
+
state: components['schemas']['LinearValueFilter-Output'] | null;
|
|
8453
|
+
team: components['schemas']['LinearValueFilter-Output'] | null;
|
|
9054
8454
|
};
|
|
9055
8455
|
/** ReactPullRequest */
|
|
9056
8456
|
'ReactPullRequest-Input': {
|
|
@@ -9134,7 +8534,7 @@ interface components {
|
|
|
9134
8534
|
'ReactRelease-Input': {
|
|
9135
8535
|
for?: components['schemas']['GithubAccountSelector-Input'];
|
|
9136
8536
|
/** On */
|
|
9137
|
-
on
|
|
8537
|
+
on: components['schemas']['ReleaseAction'][];
|
|
9138
8538
|
/** Prerelease */
|
|
9139
8539
|
prerelease?: boolean | null;
|
|
9140
8540
|
repositories?: components['schemas']['RepositoryFilter-Input'];
|
|
@@ -9152,12 +8552,7 @@ interface components {
|
|
|
9152
8552
|
*/
|
|
9153
8553
|
'ReactRelease-Output': {
|
|
9154
8554
|
for: components['schemas']['GithubAccountSelector-Output'];
|
|
9155
|
-
/**
|
|
9156
|
-
* On
|
|
9157
|
-
* @default [
|
|
9158
|
-
* "published"
|
|
9159
|
-
* ]
|
|
9160
|
-
*/
|
|
8555
|
+
/** On */
|
|
9161
8556
|
on: components['schemas']['ReleaseAction'][];
|
|
9162
8557
|
/** Prerelease */
|
|
9163
8558
|
prerelease: boolean | null;
|
|
@@ -9198,7 +8593,7 @@ interface components {
|
|
|
9198
8593
|
/** Names */
|
|
9199
8594
|
names?: string[];
|
|
9200
8595
|
/** On */
|
|
9201
|
-
on
|
|
8596
|
+
on: components['schemas']['StatusAction'][];
|
|
9202
8597
|
repositories?: components['schemas']['RepositoryFilter-Input'];
|
|
9203
8598
|
};
|
|
9204
8599
|
/**
|
|
@@ -9217,12 +8612,7 @@ interface components {
|
|
|
9217
8612
|
* @default []
|
|
9218
8613
|
*/
|
|
9219
8614
|
names: string[];
|
|
9220
|
-
/**
|
|
9221
|
-
* On
|
|
9222
|
-
* @default [
|
|
9223
|
-
* "failed"
|
|
9224
|
-
* ]
|
|
9225
|
-
*/
|
|
8615
|
+
/** On */
|
|
9226
8616
|
on: components['schemas']['StatusAction'][];
|
|
9227
8617
|
repositories: components['schemas']['RepositoryFilter-Output'];
|
|
9228
8618
|
};
|
|
@@ -9298,7 +8688,7 @@ interface components {
|
|
|
9298
8688
|
/** Names */
|
|
9299
8689
|
names?: string[];
|
|
9300
8690
|
/** On */
|
|
9301
|
-
on
|
|
8691
|
+
on: components['schemas']['WorkflowRunAction'][];
|
|
9302
8692
|
repositories?: components['schemas']['RepositoryFilter-Input'];
|
|
9303
8693
|
};
|
|
9304
8694
|
/**
|
|
@@ -9317,155 +8707,40 @@ interface components {
|
|
|
9317
8707
|
* @default []
|
|
9318
8708
|
*/
|
|
9319
8709
|
names: string[];
|
|
9320
|
-
/**
|
|
9321
|
-
* On
|
|
9322
|
-
* @default [
|
|
9323
|
-
* "failed"
|
|
9324
|
-
* ]
|
|
9325
|
-
*/
|
|
8710
|
+
/** On */
|
|
9326
8711
|
on: components['schemas']['WorkflowRunAction'][];
|
|
9327
8712
|
repositories: components['schemas']['RepositoryFilter-Output'];
|
|
9328
8713
|
};
|
|
9329
8714
|
/**
|
|
9330
|
-
*
|
|
9331
|
-
* @description
|
|
8715
|
+
* ReleaseAction
|
|
8716
|
+
* @description What happened to a GitHub release. `published` is the one moment a
|
|
8717
|
+
* release becomes visible: a release or prerelease published directly, or a
|
|
8718
|
+
* draft published later. Edits, deletions, and unpublishes never fire.
|
|
8719
|
+
* @enum {string}
|
|
9332
8720
|
*/
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
8721
|
+
ReleaseAction: 'published';
|
|
8722
|
+
/** RepositoryBackfillStatus */
|
|
8723
|
+
RepositoryBackfillStatus: {
|
|
8724
|
+
/** Backfill Complete */
|
|
8725
|
+
backfill_complete: boolean;
|
|
8726
|
+
/** Repository Id */
|
|
8727
|
+
repository_id: number;
|
|
8728
|
+
};
|
|
8729
|
+
'RepositoryFilter-Input': {
|
|
8730
|
+
/** Exclude */
|
|
8731
|
+
exclude?: string[];
|
|
8732
|
+
/** Include */
|
|
8733
|
+
include?: string[];
|
|
8734
|
+
} | string[];
|
|
8735
|
+
'RepositoryFilter-Output': {
|
|
9344
8736
|
/**
|
|
9345
|
-
*
|
|
9346
|
-
* @
|
|
8737
|
+
* Exclude
|
|
8738
|
+
* @default []
|
|
9347
8739
|
*/
|
|
9348
|
-
|
|
8740
|
+
exclude: string[];
|
|
9349
8741
|
/**
|
|
9350
|
-
*
|
|
9351
|
-
*
|
|
9352
|
-
* @description When the pull request was opened.
|
|
9353
|
-
*/
|
|
9354
|
-
created_at: string;
|
|
9355
|
-
/**
|
|
9356
|
-
* Deletions
|
|
9357
|
-
* @description Lines deleted, when known.
|
|
9358
|
-
*/
|
|
9359
|
-
deletions: number | null;
|
|
9360
|
-
/**
|
|
9361
|
-
* Head Ref
|
|
9362
|
-
* @description The head branch name.
|
|
9363
|
-
*/
|
|
9364
|
-
head_ref: string;
|
|
9365
|
-
/**
|
|
9366
|
-
* Head Sha
|
|
9367
|
-
* @description The head commit SHA.
|
|
9368
|
-
*/
|
|
9369
|
-
head_sha: string;
|
|
9370
|
-
/**
|
|
9371
|
-
* Html Url
|
|
9372
|
-
* @description The pull request's URL on GitHub.
|
|
9373
|
-
*/
|
|
9374
|
-
html_url: string;
|
|
9375
|
-
/**
|
|
9376
|
-
* Id
|
|
9377
|
-
* @description The pull request's GitHub id.
|
|
9378
|
-
*/
|
|
9379
|
-
id: number;
|
|
9380
|
-
/**
|
|
9381
|
-
* Merged At
|
|
9382
|
-
* @description When the pull request was merged, or null.
|
|
9383
|
-
*/
|
|
9384
|
-
merged_at: string | null;
|
|
9385
|
-
/**
|
|
9386
|
-
* Number
|
|
9387
|
-
* @description The pull request number.
|
|
9388
|
-
*/
|
|
9389
|
-
number: number;
|
|
9390
|
-
/**
|
|
9391
|
-
* Repository Name
|
|
9392
|
-
* @description The repository's full "owner/name" identifier.
|
|
9393
|
-
*/
|
|
9394
|
-
repository_name: string;
|
|
9395
|
-
/**
|
|
9396
|
-
* Status
|
|
9397
|
-
* @description The derived status: open, draft, merged, or closed.
|
|
9398
|
-
*/
|
|
9399
|
-
status: string;
|
|
9400
|
-
/**
|
|
9401
|
-
* Title
|
|
9402
|
-
* @description The pull request title.
|
|
9403
|
-
*/
|
|
9404
|
-
title: string;
|
|
9405
|
-
/**
|
|
9406
|
-
* User Avatar Url
|
|
9407
|
-
* @description The author's avatar URL.
|
|
9408
|
-
*/
|
|
9409
|
-
user_avatar_url: string;
|
|
9410
|
-
/**
|
|
9411
|
-
* User Login
|
|
9412
|
-
* @description The author's GitHub login.
|
|
9413
|
-
*/
|
|
9414
|
-
user_login: string;
|
|
9415
|
-
};
|
|
9416
|
-
/**
|
|
9417
|
-
* ReleaseAction
|
|
9418
|
-
* @description What happened to a GitHub release. `published` is the one moment a
|
|
9419
|
-
* release becomes visible: a release or prerelease published directly, or a
|
|
9420
|
-
* draft published later. Edits, deletions, and unpublishes never fire.
|
|
9421
|
-
* @enum {string}
|
|
9422
|
-
*/
|
|
9423
|
-
ReleaseAction: 'published';
|
|
9424
|
-
/**
|
|
9425
|
-
* RepoFacet
|
|
9426
|
-
* @description A repository filter option, counted over the unfiltered window so
|
|
9427
|
-
* options never vanish when filters are applied.
|
|
9428
|
-
*/
|
|
9429
|
-
RepoFacet: {
|
|
9430
|
-
/**
|
|
9431
|
-
* Prs
|
|
9432
|
-
* @description Unfiltered pull-request count for this repository in the window.
|
|
9433
|
-
*/
|
|
9434
|
-
prs: number;
|
|
9435
|
-
/**
|
|
9436
|
-
* Repo Full Name
|
|
9437
|
-
* @description The repository's full "owner/name" identifier.
|
|
9438
|
-
*/
|
|
9439
|
-
repo_full_name: string;
|
|
9440
|
-
};
|
|
9441
|
-
/** RepositoryBackfillStatus */
|
|
9442
|
-
RepositoryBackfillStatus: {
|
|
9443
|
-
/** Backfill Complete */
|
|
9444
|
-
backfill_complete: boolean;
|
|
9445
|
-
/** Repository Id */
|
|
9446
|
-
repository_id: number;
|
|
9447
|
-
};
|
|
9448
|
-
'RepositoryFilter-Input': {
|
|
9449
|
-
/**
|
|
9450
|
-
* Exclude
|
|
9451
|
-
* @default []
|
|
9452
|
-
*/
|
|
9453
|
-
exclude: string[];
|
|
9454
|
-
/**
|
|
9455
|
-
* Include
|
|
9456
|
-
* @default []
|
|
9457
|
-
*/
|
|
9458
|
-
include: string[];
|
|
9459
|
-
} | string[];
|
|
9460
|
-
'RepositoryFilter-Output': {
|
|
9461
|
-
/**
|
|
9462
|
-
* Exclude
|
|
9463
|
-
* @default []
|
|
9464
|
-
*/
|
|
9465
|
-
exclude: string[];
|
|
9466
|
-
/**
|
|
9467
|
-
* Include
|
|
9468
|
-
* @default []
|
|
8742
|
+
* Include
|
|
8743
|
+
* @default []
|
|
9469
8744
|
*/
|
|
9470
8745
|
include: string[];
|
|
9471
8746
|
} | string[];
|
|
@@ -9504,6 +8779,11 @@ interface components {
|
|
|
9504
8779
|
Review: {
|
|
9505
8780
|
/** Base Sha */
|
|
9506
8781
|
base_sha: string;
|
|
8782
|
+
/**
|
|
8783
|
+
* Blocking
|
|
8784
|
+
* @description Blocking comments posted to GitHub.
|
|
8785
|
+
*/
|
|
8786
|
+
blocking: number;
|
|
9507
8787
|
/**
|
|
9508
8788
|
* Budget
|
|
9509
8789
|
* @description The reviewer sessions' spend budgets together, in millicents.
|
|
@@ -9524,11 +8804,6 @@ interface components {
|
|
|
9524
8804
|
event?: components['schemas']['CodeReviewEvent'] | null;
|
|
9525
8805
|
/** Finalized At */
|
|
9526
8806
|
finalized_at?: string | null;
|
|
9527
|
-
/**
|
|
9528
|
-
* Findings
|
|
9529
|
-
* @description Comments the reviewers returned, posted to GitHub or not.
|
|
9530
|
-
*/
|
|
9531
|
-
findings: number;
|
|
9532
8807
|
/**
|
|
9533
8808
|
* Github Review Id
|
|
9534
8809
|
* @description The GitHub review id once posted.
|
|
@@ -9541,8 +8816,14 @@ interface components {
|
|
|
9541
8816
|
head_sha: string;
|
|
9542
8817
|
/** Id */
|
|
9543
8818
|
id: string;
|
|
9544
|
-
|
|
9545
|
-
|
|
8819
|
+
/**
|
|
8820
|
+
* Non Blocking
|
|
8821
|
+
* @description Comments posted to GitHub that do not block.
|
|
8822
|
+
*/
|
|
8823
|
+
non_blocking: number;
|
|
8824
|
+
/** @description The pull request as it was when the review ran. Null for a review Ellipsis ran before it kept the pull request. */
|
|
8825
|
+
pull_request: components['schemas']['PullRequest'] | null;
|
|
8826
|
+
repository: components['schemas']['GithubRepositorySnippet'];
|
|
9546
8827
|
/** Reviewers */
|
|
9547
8828
|
reviewers: components['schemas']['ReviewReviewer'][];
|
|
9548
8829
|
/** @description running: reviewers are working. posted: one GitHub review was posted. empty: the review passed silently, so nothing was posted. failed: no reviewer finished or GitHub refused the review. */
|
|
@@ -9550,59 +8831,6 @@ interface components {
|
|
|
9550
8831
|
/** @description Tokens the reviewer sessions used together. */
|
|
9551
8832
|
tokens: components['schemas']['Tokens'];
|
|
9552
8833
|
};
|
|
9553
|
-
/**
|
|
9554
|
-
* ReviewActor
|
|
9555
|
-
* @description A GitHub account as it appears on a review or its parent pull
|
|
9556
|
-
* request.
|
|
9557
|
-
*/
|
|
9558
|
-
ReviewActor: {
|
|
9559
|
-
/**
|
|
9560
|
-
* Avatar Url
|
|
9561
|
-
* @description The account's avatar URL.
|
|
9562
|
-
*/
|
|
9563
|
-
avatar_url: string | null;
|
|
9564
|
-
/**
|
|
9565
|
-
* Id
|
|
9566
|
-
* @description The account's GitHub id.
|
|
9567
|
-
*/
|
|
9568
|
-
id: number | null;
|
|
9569
|
-
/**
|
|
9570
|
-
* Login
|
|
9571
|
-
* @description The account's GitHub login.
|
|
9572
|
-
*/
|
|
9573
|
-
login: string | null;
|
|
9574
|
-
/**
|
|
9575
|
-
* Type
|
|
9576
|
-
* @description The account type (e.g. "User" or "Bot").
|
|
9577
|
-
*/
|
|
9578
|
-
type: string | null;
|
|
9579
|
-
};
|
|
9580
|
-
/**
|
|
9581
|
-
* ReviewAuthorFacet
|
|
9582
|
-
* @description A reviewer filter option for the reviews view.
|
|
9583
|
-
*/
|
|
9584
|
-
ReviewAuthorFacet: {
|
|
9585
|
-
/**
|
|
9586
|
-
* Account Type
|
|
9587
|
-
* @description The reviewer's account type (e.g. "User" or "Bot").
|
|
9588
|
-
*/
|
|
9589
|
-
account_type: string | null;
|
|
9590
|
-
/**
|
|
9591
|
-
* Avatar Url
|
|
9592
|
-
* @description The reviewer's avatar URL.
|
|
9593
|
-
*/
|
|
9594
|
-
avatar_url: string | null;
|
|
9595
|
-
/**
|
|
9596
|
-
* Login
|
|
9597
|
-
* @description The reviewer's GitHub login.
|
|
9598
|
-
*/
|
|
9599
|
-
login: string;
|
|
9600
|
-
/**
|
|
9601
|
-
* Reviews
|
|
9602
|
-
* @description Reviews this person submitted.
|
|
9603
|
-
*/
|
|
9604
|
-
reviews: number;
|
|
9605
|
-
};
|
|
9606
8834
|
/** ReviewComment */
|
|
9607
8835
|
ReviewComment: {
|
|
9608
8836
|
/**
|
|
@@ -9632,80 +8860,6 @@ interface components {
|
|
|
9632
8860
|
/** @description posted: in the GitHub review. outside_range: on a line this reviewer had already covered. not_in_diff: on a line the pull request does not change. eligible: will post. */
|
|
9633
8861
|
status: components['schemas']['CodeReviewCommentStatus'];
|
|
9634
8862
|
};
|
|
9635
|
-
/**
|
|
9636
|
-
* ReviewCommentListItem
|
|
9637
|
-
* @description One inline review comment in the comment feed.
|
|
9638
|
-
*/
|
|
9639
|
-
ReviewCommentListItem: {
|
|
9640
|
-
/** @description Who authored the comment. */
|
|
9641
|
-
author: components['schemas']['ReviewActor'];
|
|
9642
|
-
/**
|
|
9643
|
-
* Base Ref
|
|
9644
|
-
* @description The parent pull request's base branch.
|
|
9645
|
-
*/
|
|
9646
|
-
base_ref: string;
|
|
9647
|
-
/**
|
|
9648
|
-
* Body Preview
|
|
9649
|
-
* @description The start of the comment body, trimmed for the feed.
|
|
9650
|
-
*/
|
|
9651
|
-
body_preview: string;
|
|
9652
|
-
/**
|
|
9653
|
-
* Created At
|
|
9654
|
-
* Format: date-time
|
|
9655
|
-
* @description When the comment was created.
|
|
9656
|
-
*/
|
|
9657
|
-
created_at: string;
|
|
9658
|
-
/**
|
|
9659
|
-
* Html Url
|
|
9660
|
-
* @description The comment's URL on GitHub.
|
|
9661
|
-
*/
|
|
9662
|
-
html_url: string;
|
|
9663
|
-
/**
|
|
9664
|
-
* Id
|
|
9665
|
-
* @description The comment's GitHub id.
|
|
9666
|
-
*/
|
|
9667
|
-
id: number;
|
|
9668
|
-
/**
|
|
9669
|
-
* Path
|
|
9670
|
-
* @description The file path the comment is anchored to, or null when GitHub can't place the comment in the diff.
|
|
9671
|
-
*/
|
|
9672
|
-
path: string | null;
|
|
9673
|
-
/**
|
|
9674
|
-
* Pr Html Url
|
|
9675
|
-
* @description The parent pull request's URL on GitHub.
|
|
9676
|
-
*/
|
|
9677
|
-
pr_html_url: string;
|
|
9678
|
-
/**
|
|
9679
|
-
* Pr Number
|
|
9680
|
-
* @description The parent pull request's number.
|
|
9681
|
-
*/
|
|
9682
|
-
pr_number: number;
|
|
9683
|
-
/**
|
|
9684
|
-
* Pr Status
|
|
9685
|
-
* @description The parent pull request's status: open, draft, merged, or closed.
|
|
9686
|
-
*/
|
|
9687
|
-
pr_status: string;
|
|
9688
|
-
/**
|
|
9689
|
-
* Pr Title
|
|
9690
|
-
* @description The parent pull request's title.
|
|
9691
|
-
*/
|
|
9692
|
-
pr_title: string;
|
|
9693
|
-
/**
|
|
9694
|
-
* Repo Full Name
|
|
9695
|
-
* @description The repository's full "owner/name" identifier.
|
|
9696
|
-
*/
|
|
9697
|
-
repo_full_name: string;
|
|
9698
|
-
/**
|
|
9699
|
-
* Thumbs Down
|
|
9700
|
-
* @description Thumbs-down reactions on the comment.
|
|
9701
|
-
*/
|
|
9702
|
-
thumbs_down: number;
|
|
9703
|
-
/**
|
|
9704
|
-
* Thumbs Up
|
|
9705
|
-
* @description Thumbs-up reactions on the comment.
|
|
9706
|
-
*/
|
|
9707
|
-
thumbs_up: number;
|
|
9708
|
-
};
|
|
9709
8863
|
/** ReviewComments */
|
|
9710
8864
|
ReviewComments: {
|
|
9711
8865
|
/**
|
|
@@ -9787,93 +8941,6 @@ interface components {
|
|
|
9787
8941
|
*/
|
|
9788
8942
|
configs: components['schemas']['ReviewConfig'][];
|
|
9789
8943
|
};
|
|
9790
|
-
/**
|
|
9791
|
-
* ReviewFacets
|
|
9792
|
-
* @description The available filter options for the reviews view.
|
|
9793
|
-
*/
|
|
9794
|
-
ReviewFacets: {
|
|
9795
|
-
/**
|
|
9796
|
-
* Authors
|
|
9797
|
-
* @description Reviewer filter options.
|
|
9798
|
-
*/
|
|
9799
|
-
authors: components['schemas']['ReviewAuthorFacet'][];
|
|
9800
|
-
/**
|
|
9801
|
-
* Repos
|
|
9802
|
-
* @description Repository filter options.
|
|
9803
|
-
*/
|
|
9804
|
-
repos: components['schemas']['ReviewRepoFacet'][];
|
|
9805
|
-
};
|
|
9806
|
-
/**
|
|
9807
|
-
* ReviewListItem
|
|
9808
|
-
* @description One pull-request review in the review feed.
|
|
9809
|
-
*/
|
|
9810
|
-
ReviewListItem: {
|
|
9811
|
-
/**
|
|
9812
|
-
* Base Ref
|
|
9813
|
-
* @description The parent pull request's base branch.
|
|
9814
|
-
*/
|
|
9815
|
-
base_ref: string;
|
|
9816
|
-
/**
|
|
9817
|
-
* Comment Count
|
|
9818
|
-
* @description Inline review comments tied to this review.
|
|
9819
|
-
*/
|
|
9820
|
-
comment_count: number;
|
|
9821
|
-
/**
|
|
9822
|
-
* Has Body
|
|
9823
|
-
* @description Whether the review carried a summary body, as opposed to inline comments only.
|
|
9824
|
-
*/
|
|
9825
|
-
has_body: boolean;
|
|
9826
|
-
/**
|
|
9827
|
-
* Html Url
|
|
9828
|
-
* @description The review's URL on GitHub.
|
|
9829
|
-
*/
|
|
9830
|
-
html_url: string;
|
|
9831
|
-
/**
|
|
9832
|
-
* Id
|
|
9833
|
-
* @description The review's GitHub id.
|
|
9834
|
-
*/
|
|
9835
|
-
id: number;
|
|
9836
|
-
/** @description The parent pull request's author. */
|
|
9837
|
-
pr_author: components['schemas']['ReviewActor'];
|
|
9838
|
-
/**
|
|
9839
|
-
* Pr Html Url
|
|
9840
|
-
* @description The parent pull request's URL on GitHub.
|
|
9841
|
-
*/
|
|
9842
|
-
pr_html_url: string;
|
|
9843
|
-
/**
|
|
9844
|
-
* Pr Number
|
|
9845
|
-
* @description The parent pull request's number.
|
|
9846
|
-
*/
|
|
9847
|
-
pr_number: number;
|
|
9848
|
-
/**
|
|
9849
|
-
* Pr Status
|
|
9850
|
-
* @description The parent pull request's status: open, draft, merged, or closed.
|
|
9851
|
-
*/
|
|
9852
|
-
pr_status: string;
|
|
9853
|
-
/**
|
|
9854
|
-
* Pr Title
|
|
9855
|
-
* @description The parent pull request's title.
|
|
9856
|
-
*/
|
|
9857
|
-
pr_title: string;
|
|
9858
|
-
/**
|
|
9859
|
-
* Repo Full Name
|
|
9860
|
-
* @description The repository's full "owner/name" identifier.
|
|
9861
|
-
*/
|
|
9862
|
-
repo_full_name: string;
|
|
9863
|
-
/** @description Who submitted the review. */
|
|
9864
|
-
reviewer: components['schemas']['ReviewActor'];
|
|
9865
|
-
/**
|
|
9866
|
-
* State
|
|
9867
|
-
* @description The review verdict: APPROVED, CHANGES_REQUESTED, COMMENTED, DISMISSED, or another GitHub review state.
|
|
9868
|
-
*/
|
|
9869
|
-
state: string;
|
|
9870
|
-
/**
|
|
9871
|
-
* Submitted At
|
|
9872
|
-
* Format: date-time
|
|
9873
|
-
* @description When the review was submitted.
|
|
9874
|
-
*/
|
|
9875
|
-
submitted_at: string;
|
|
9876
|
-
};
|
|
9877
8944
|
/**
|
|
9878
8945
|
* ReviewOutputConfig
|
|
9879
8946
|
* @description What the posted review is. A review passes when no reviewer returned a
|
|
@@ -9909,94 +8976,6 @@ interface components {
|
|
|
9909
8976
|
*/
|
|
9910
8977
|
summary: boolean;
|
|
9911
8978
|
};
|
|
9912
|
-
/** ReviewPullRequest */
|
|
9913
|
-
ReviewPullRequest: {
|
|
9914
|
-
/**
|
|
9915
|
-
* Additions
|
|
9916
|
-
* @description Lines added, as GitHub last reported them.
|
|
9917
|
-
*/
|
|
9918
|
-
additions?: number | null;
|
|
9919
|
-
/** @description Who opened the pull request; null until Ellipsis has stored it. */
|
|
9920
|
-
author?: components['schemas']['ReviewPullRequestAuthor'] | null;
|
|
9921
|
-
/**
|
|
9922
|
-
* Changed Files
|
|
9923
|
-
* @description Files changed, as GitHub last reported them.
|
|
9924
|
-
*/
|
|
9925
|
-
changed_files?: number | null;
|
|
9926
|
-
/**
|
|
9927
|
-
* Commits
|
|
9928
|
-
* @description Commits, as GitHub last reported them.
|
|
9929
|
-
*/
|
|
9930
|
-
commits?: number | null;
|
|
9931
|
-
/**
|
|
9932
|
-
* Deletions
|
|
9933
|
-
* @description Lines deleted, as GitHub last reported them.
|
|
9934
|
-
*/
|
|
9935
|
-
deletions?: number | null;
|
|
9936
|
-
/** Number */
|
|
9937
|
-
number: number;
|
|
9938
|
-
/**
|
|
9939
|
-
* Title
|
|
9940
|
-
* @description Null until Ellipsis has stored the pull request.
|
|
9941
|
-
*/
|
|
9942
|
-
title?: string | null;
|
|
9943
|
-
/**
|
|
9944
|
-
* Url
|
|
9945
|
-
* @description The pull request on GitHub; null when the repository is no longer on the account.
|
|
9946
|
-
*/
|
|
9947
|
-
url: string | null;
|
|
9948
|
-
};
|
|
9949
|
-
/** ReviewPullRequestAuthor */
|
|
9950
|
-
ReviewPullRequestAuthor: {
|
|
9951
|
-
/** Avatar Url */
|
|
9952
|
-
avatar_url: string;
|
|
9953
|
-
/**
|
|
9954
|
-
* Id
|
|
9955
|
-
* @description The account's GitHub id.
|
|
9956
|
-
*/
|
|
9957
|
-
id: number;
|
|
9958
|
-
/** Login */
|
|
9959
|
-
login: string;
|
|
9960
|
-
/**
|
|
9961
|
-
* Type
|
|
9962
|
-
* @description "User", "Organization", or "Bot".
|
|
9963
|
-
*/
|
|
9964
|
-
type: string;
|
|
9965
|
-
};
|
|
9966
|
-
/**
|
|
9967
|
-
* ReviewRepoFacet
|
|
9968
|
-
* @description A repository filter option for the reviews view.
|
|
9969
|
-
*/
|
|
9970
|
-
ReviewRepoFacet: {
|
|
9971
|
-
/**
|
|
9972
|
-
* Repository Name
|
|
9973
|
-
* @description The repository's full "owner/name" identifier.
|
|
9974
|
-
*/
|
|
9975
|
-
repository_name: string;
|
|
9976
|
-
/**
|
|
9977
|
-
* Reviews
|
|
9978
|
-
* @description Reviews in this repository.
|
|
9979
|
-
*/
|
|
9980
|
-
reviews: number;
|
|
9981
|
-
};
|
|
9982
|
-
/** ReviewRepository */
|
|
9983
|
-
ReviewRepository: {
|
|
9984
|
-
/**
|
|
9985
|
-
* Id
|
|
9986
|
-
* @description The GitHub repository id.
|
|
9987
|
-
*/
|
|
9988
|
-
id: number;
|
|
9989
|
-
/**
|
|
9990
|
-
* Name
|
|
9991
|
-
* @description The repository name.
|
|
9992
|
-
*/
|
|
9993
|
-
name: string;
|
|
9994
|
-
/**
|
|
9995
|
-
* Owner
|
|
9996
|
-
* @description The repository owner's login.
|
|
9997
|
-
*/
|
|
9998
|
-
owner: string;
|
|
9999
|
-
};
|
|
10000
8979
|
/** ReviewReviewer */
|
|
10001
8980
|
ReviewReviewer: {
|
|
10002
8981
|
/**
|
|
@@ -10042,6 +9021,11 @@ interface components {
|
|
|
10042
9021
|
ReviewSummary: {
|
|
10043
9022
|
/** Base Sha */
|
|
10044
9023
|
base_sha: string;
|
|
9024
|
+
/**
|
|
9025
|
+
* Blocking
|
|
9026
|
+
* @description Blocking comments posted to GitHub.
|
|
9027
|
+
*/
|
|
9028
|
+
blocking: number;
|
|
10045
9029
|
/**
|
|
10046
9030
|
* Created At
|
|
10047
9031
|
* Format: date-time
|
|
@@ -10053,11 +9037,6 @@ interface components {
|
|
|
10053
9037
|
event?: components['schemas']['CodeReviewEvent'] | null;
|
|
10054
9038
|
/** Finalized At */
|
|
10055
9039
|
finalized_at?: string | null;
|
|
10056
|
-
/**
|
|
10057
|
-
* Findings
|
|
10058
|
-
* @description Comments the reviewers returned, posted to GitHub or not.
|
|
10059
|
-
*/
|
|
10060
|
-
findings: number;
|
|
10061
9040
|
/**
|
|
10062
9041
|
* Github Review Id
|
|
10063
9042
|
* @description The GitHub review id once posted.
|
|
@@ -10070,8 +9049,14 @@ interface components {
|
|
|
10070
9049
|
head_sha: string;
|
|
10071
9050
|
/** Id */
|
|
10072
9051
|
id: string;
|
|
10073
|
-
|
|
10074
|
-
|
|
9052
|
+
/**
|
|
9053
|
+
* Non Blocking
|
|
9054
|
+
* @description Comments posted to GitHub that do not block.
|
|
9055
|
+
*/
|
|
9056
|
+
non_blocking: number;
|
|
9057
|
+
/** @description The pull request as it was when the review ran. Null for a review Ellipsis ran before it kept the pull request. */
|
|
9058
|
+
pull_request: components['schemas']['PullRequest'] | null;
|
|
9059
|
+
repository: components['schemas']['GithubRepositorySnippet'];
|
|
10075
9060
|
/** @description running: reviewers are working. posted: one GitHub review was posted. empty: the review passed silently, so nothing was posted. failed: no reviewer finished or GitHub refused the review. */
|
|
10076
9061
|
status: components['schemas']['CodeReviewStatus'];
|
|
10077
9062
|
};
|
|
@@ -10141,111 +9126,6 @@ interface components {
|
|
|
10141
9126
|
/** Max */
|
|
10142
9127
|
max?: number | null;
|
|
10143
9128
|
};
|
|
10144
|
-
/**
|
|
10145
|
-
* ReviewerUsage
|
|
10146
|
-
* @description A person who reviewed pull requests in the window.
|
|
10147
|
-
*/
|
|
10148
|
-
ReviewerUsage: {
|
|
10149
|
-
/**
|
|
10150
|
-
* Approved
|
|
10151
|
-
* @description Their approving reviews.
|
|
10152
|
-
*/
|
|
10153
|
-
approved: number;
|
|
10154
|
-
/**
|
|
10155
|
-
* Avatar Url
|
|
10156
|
-
* @description The reviewer's GitHub avatar URL.
|
|
10157
|
-
*/
|
|
10158
|
-
avatar_url: string | null;
|
|
10159
|
-
/**
|
|
10160
|
-
* Changes Requested
|
|
10161
|
-
* @description Their changes-requested reviews.
|
|
10162
|
-
*/
|
|
10163
|
-
changes_requested: number;
|
|
10164
|
-
/**
|
|
10165
|
-
* Comments
|
|
10166
|
-
* @description Inline review comments this person authored.
|
|
10167
|
-
*/
|
|
10168
|
-
comments: number;
|
|
10169
|
-
/**
|
|
10170
|
-
* Lines Reviewed
|
|
10171
|
-
* @description Lines added plus deleted across the distinct pull requests they reviewed.
|
|
10172
|
-
*/
|
|
10173
|
-
lines_reviewed: number;
|
|
10174
|
-
/**
|
|
10175
|
-
* Login
|
|
10176
|
-
* @description The reviewer's GitHub login.
|
|
10177
|
-
*/
|
|
10178
|
-
login: string;
|
|
10179
|
-
/**
|
|
10180
|
-
* Reviews
|
|
10181
|
-
* @description Reviews this person submitted in the window.
|
|
10182
|
-
*/
|
|
10183
|
-
reviews: number;
|
|
10184
|
-
};
|
|
10185
|
-
/**
|
|
10186
|
-
* ReviewsBucket
|
|
10187
|
-
* @description Review activity in one bucket of the window. Verdict counts and
|
|
10188
|
-
* distinct-reviewer counts come from the review feed (which is capped), and
|
|
10189
|
-
* comment counts come from the full, uncapped comment metrics.
|
|
10190
|
-
*/
|
|
10191
|
-
ReviewsBucket: {
|
|
10192
|
-
/**
|
|
10193
|
-
* Approved
|
|
10194
|
-
* @description Approving reviews in this bucket.
|
|
10195
|
-
*/
|
|
10196
|
-
approved: number;
|
|
10197
|
-
/**
|
|
10198
|
-
* Changes Requested
|
|
10199
|
-
* @description Changes-requested reviews in this bucket.
|
|
10200
|
-
*/
|
|
10201
|
-
changes_requested: number;
|
|
10202
|
-
/**
|
|
10203
|
-
* Commented
|
|
10204
|
-
* @description Comment-only reviews in this bucket.
|
|
10205
|
-
*/
|
|
10206
|
-
commented: number;
|
|
10207
|
-
/**
|
|
10208
|
-
* Comments
|
|
10209
|
-
* @description Inline review comments created in this bucket.
|
|
10210
|
-
*/
|
|
10211
|
-
comments: number;
|
|
10212
|
-
/**
|
|
10213
|
-
* Comments Bot
|
|
10214
|
-
* @description Inline review comments by bot authors in this bucket.
|
|
10215
|
-
*/
|
|
10216
|
-
comments_bot: number;
|
|
10217
|
-
/**
|
|
10218
|
-
* Comments Human
|
|
10219
|
-
* @description Inline review comments by human authors in this bucket.
|
|
10220
|
-
*/
|
|
10221
|
-
comments_human: number;
|
|
10222
|
-
/**
|
|
10223
|
-
* Date
|
|
10224
|
-
* Format: date-time
|
|
10225
|
-
* @description When the bucket starts, in UTC.
|
|
10226
|
-
*/
|
|
10227
|
-
date: string;
|
|
10228
|
-
/**
|
|
10229
|
-
* Reviewers Bot
|
|
10230
|
-
* @description Distinct bot reviewers in this bucket.
|
|
10231
|
-
*/
|
|
10232
|
-
reviewers_bot: number;
|
|
10233
|
-
/**
|
|
10234
|
-
* Reviewers Human
|
|
10235
|
-
* @description Distinct human reviewers in this bucket.
|
|
10236
|
-
*/
|
|
10237
|
-
reviewers_human: number;
|
|
10238
|
-
/**
|
|
10239
|
-
* Reviewers Total
|
|
10240
|
-
* @description Distinct reviewers in this bucket.
|
|
10241
|
-
*/
|
|
10242
|
-
reviewers_total: number;
|
|
10243
|
-
/**
|
|
10244
|
-
* Reviews
|
|
10245
|
-
* @description All reviews submitted in this bucket, regardless of verdict.
|
|
10246
|
-
*/
|
|
10247
|
-
reviews: number;
|
|
10248
|
-
};
|
|
10249
9129
|
/** ReviewsListResponse */
|
|
10250
9130
|
ReviewsListResponse: {
|
|
10251
9131
|
/**
|
|
@@ -10262,53 +9142,6 @@ interface components {
|
|
|
10262
9142
|
/** Reviews */
|
|
10263
9143
|
reviews: components['schemas']['ReviewSummary'][];
|
|
10264
9144
|
};
|
|
10265
|
-
/**
|
|
10266
|
-
* ReviewsTotals
|
|
10267
|
-
* @description Window-wide review totals, computed over the full set rather than the
|
|
10268
|
-
* capped feeds.
|
|
10269
|
-
*/
|
|
10270
|
-
ReviewsTotals: {
|
|
10271
|
-
/**
|
|
10272
|
-
* Comments
|
|
10273
|
-
* @description Inline review comments created in the window.
|
|
10274
|
-
*/
|
|
10275
|
-
comments: number;
|
|
10276
|
-
/**
|
|
10277
|
-
* Comments Bot
|
|
10278
|
-
* @description Inline review comments by bot authors.
|
|
10279
|
-
*/
|
|
10280
|
-
comments_bot: number;
|
|
10281
|
-
/**
|
|
10282
|
-
* Comments Human
|
|
10283
|
-
* @description Inline review comments by human authors.
|
|
10284
|
-
*/
|
|
10285
|
-
comments_human: number;
|
|
10286
|
-
/**
|
|
10287
|
-
* Prs
|
|
10288
|
-
* @description Distinct pull requests that received a review in the window.
|
|
10289
|
-
*/
|
|
10290
|
-
prs: number;
|
|
10291
|
-
/**
|
|
10292
|
-
* Reviewers
|
|
10293
|
-
* @description Distinct reviewers in the window.
|
|
10294
|
-
*/
|
|
10295
|
-
reviewers: number;
|
|
10296
|
-
/**
|
|
10297
|
-
* Reviews
|
|
10298
|
-
* @description Reviews submitted in the window (full count, not the capped feed).
|
|
10299
|
-
*/
|
|
10300
|
-
reviews: number;
|
|
10301
|
-
/**
|
|
10302
|
-
* Thumbs Down
|
|
10303
|
-
* @description Thumbs-down reactions across the window's review comments.
|
|
10304
|
-
*/
|
|
10305
|
-
thumbs_down: number;
|
|
10306
|
-
/**
|
|
10307
|
-
* Thumbs Up
|
|
10308
|
-
* @description Thumbs-up reactions across the window's review comments.
|
|
10309
|
-
*/
|
|
10310
|
-
thumbs_up: number;
|
|
10311
|
-
};
|
|
10312
9145
|
/**
|
|
10313
9146
|
* RunBudget
|
|
10314
9147
|
* @description Spend limit for one session.
|
|
@@ -10643,11 +9476,6 @@ interface components {
|
|
|
10643
9476
|
*/
|
|
10644
9477
|
message: string;
|
|
10645
9478
|
};
|
|
10646
|
-
/** SendTestNotificationEmailRequest */
|
|
10647
|
-
SendTestNotificationEmailRequest: {
|
|
10648
|
-
/** Email */
|
|
10649
|
-
email: string;
|
|
10650
|
-
};
|
|
10651
9479
|
/**
|
|
10652
9480
|
* SentryAction
|
|
10653
9481
|
* @enum {string}
|
|
@@ -10833,7 +9661,7 @@ interface components {
|
|
|
10833
9661
|
Session: {
|
|
10834
9662
|
/** @description The agent the session was started from, or null for a raw session started with POST /v1/sessions. */
|
|
10835
9663
|
agent: components['schemas']['SessionAgent'] | null;
|
|
10836
|
-
/** @description When and by whom the session was archived
|
|
9664
|
+
/** @description When and by whom the session was archived, or null when it isn't. A session is archived when it closes, after the account's archive_inactive_sessions_days without a message, or by PUT /v1/sessions/{id}. An archived session takes no messages, and a reply on the Slack thread, pull request, issue, or Linear issue it answers starts a new session. */
|
|
10837
9665
|
archived: components['schemas']['SessionArchived'] | null;
|
|
10838
9666
|
/** @description The principal this session is attributed to. */
|
|
10839
9667
|
attribution: components['schemas']['SessionAttribution'];
|
|
@@ -10847,6 +9675,11 @@ interface components {
|
|
|
10847
9675
|
claude_code: components['schemas']['ClaudeConfig-Output'] | null;
|
|
10848
9676
|
/** @description Codex input and native options. Set exactly one of claude_code, codex, or gemini. */
|
|
10849
9677
|
codex: components['schemas']['CodexConfig-Output'] | null;
|
|
9678
|
+
/**
|
|
9679
|
+
* Content Deleted At
|
|
9680
|
+
* @description When session log retention deleted the session's records, messages, and prompt, or null. The session's status, cost, tokens, and summary stay.
|
|
9681
|
+
*/
|
|
9682
|
+
content_deleted_at: string | null;
|
|
10850
9683
|
/** @description Whether the session can take more messages, and whether an agent is warm to answer one. */
|
|
10851
9684
|
conversation: components['schemas']['SessionConversation'];
|
|
10852
9685
|
/** @description What the session has cost so far. */
|
|
@@ -10891,6 +9724,8 @@ interface components {
|
|
|
10891
9724
|
parent: components['schemas']['SessionParent'] | null;
|
|
10892
9725
|
/** @description What the session may touch, per minted credential. */
|
|
10893
9726
|
permissions: components['schemas']['PermissionsConfig-Output'];
|
|
9727
|
+
/** @description The code review this session ran for; null unless the source is `code_review`. */
|
|
9728
|
+
review: components['schemas']['SessionReview'] | null;
|
|
10894
9729
|
/**
|
|
10895
9730
|
* Skills
|
|
10896
9731
|
* @description Skills installed for this session.
|
|
@@ -10910,6 +9745,11 @@ interface components {
|
|
|
10910
9745
|
* @description When the session was last updated.
|
|
10911
9746
|
*/
|
|
10912
9747
|
updated_at: string;
|
|
9748
|
+
/**
|
|
9749
|
+
* Wait Ms
|
|
9750
|
+
* @description Milliseconds from when the session was created to when it started, including any time it waited because your account already had its limit of sessions alive. Null until the session starts, and for sessions created before this field was added.
|
|
9751
|
+
*/
|
|
9752
|
+
wait_ms: number | null;
|
|
10913
9753
|
} & ({
|
|
10914
9754
|
claude_code: {
|
|
10915
9755
|
[key: string]: unknown;
|
|
@@ -11000,6 +9840,11 @@ interface components {
|
|
|
11000
9840
|
at: string;
|
|
11001
9841
|
/** @description The GitHub user who archived the session; null if unknown or unavailable. */
|
|
11002
9842
|
by: components['schemas']['GithubAccountSnippet'] | null;
|
|
9843
|
+
/**
|
|
9844
|
+
* Deletes At
|
|
9845
|
+
* @description When the session's records and messages are deleted, from the account's current session log retention. It moves when the retention changes. Null when the account keeps them or they're already deleted.
|
|
9846
|
+
*/
|
|
9847
|
+
deletes_at: string | null;
|
|
11003
9848
|
};
|
|
11004
9849
|
/**
|
|
11005
9850
|
* SessionAttribution
|
|
@@ -11612,6 +10457,11 @@ interface components {
|
|
|
11612
10457
|
* `[Image #N]` placeholder in the message body.
|
|
11613
10458
|
*/
|
|
11614
10459
|
SessionMessageImage: {
|
|
10460
|
+
/**
|
|
10461
|
+
* Id
|
|
10462
|
+
* @description The image's ID. `GET /v1/sessions/{session_id}/images/{id}` returns its bytes. Null when the image can't be fetched.
|
|
10463
|
+
*/
|
|
10464
|
+
id?: string | null;
|
|
11615
10465
|
/**
|
|
11616
10466
|
* Index
|
|
11617
10467
|
* @description 1-based position: the N in `[Image #N]`.
|
|
@@ -11674,11 +10524,9 @@ interface components {
|
|
|
11674
10524
|
SessionPrEntry: {
|
|
11675
10525
|
/** Number */
|
|
11676
10526
|
number: number;
|
|
11677
|
-
pull_request: components['schemas']['
|
|
10527
|
+
pull_request: components['schemas']['PullRequest'] | null;
|
|
11678
10528
|
/** Reviews */
|
|
11679
10529
|
reviews: components['schemas']['SessionPullRequestReview'][];
|
|
11680
|
-
/** Title */
|
|
11681
|
-
title: string | null;
|
|
11682
10530
|
/** Url */
|
|
11683
10531
|
url: string;
|
|
11684
10532
|
};
|
|
@@ -11698,108 +10546,24 @@ interface components {
|
|
|
11698
10546
|
/** Surface Name */
|
|
11699
10547
|
surface_name: string | null;
|
|
11700
10548
|
};
|
|
11701
|
-
/** SessionPullRequest */
|
|
11702
|
-
SessionPullRequest: {
|
|
11703
|
-
/** Additions */
|
|
11704
|
-
additions?: number | null;
|
|
11705
|
-
base: components['schemas']['SessionPullRequestBranch'];
|
|
11706
|
-
/** Changed Files */
|
|
11707
|
-
changed_files?: number | null;
|
|
11708
|
-
/** Commits */
|
|
11709
|
-
commits?: number | null;
|
|
11710
|
-
/**
|
|
11711
|
-
* Created At
|
|
11712
|
-
* Format: date-time
|
|
11713
|
-
*/
|
|
11714
|
-
created_at: string;
|
|
11715
|
-
/** Deletions */
|
|
11716
|
-
deletions?: number | null;
|
|
11717
|
-
/** Draft */
|
|
11718
|
-
draft: boolean | null;
|
|
11719
|
-
head: components['schemas']['SessionPullRequestBranch'];
|
|
11720
|
-
/** Html Url */
|
|
11721
|
-
html_url: string;
|
|
11722
|
-
/** Id */
|
|
11723
|
-
id: number;
|
|
11724
|
-
/** Merged At */
|
|
11725
|
-
merged_at: string | null;
|
|
11726
|
-
/** Number */
|
|
11727
|
-
number: number;
|
|
11728
|
-
/** State */
|
|
11729
|
-
state: string;
|
|
11730
|
-
/** Title */
|
|
11731
|
-
title: string;
|
|
11732
|
-
/**
|
|
11733
|
-
* Updated At
|
|
11734
|
-
* Format: date-time
|
|
11735
|
-
*/
|
|
11736
|
-
updated_at: string;
|
|
11737
|
-
};
|
|
11738
|
-
/** SessionPullRequestBranch */
|
|
11739
|
-
SessionPullRequestBranch: {
|
|
11740
|
-
/** Ref */
|
|
11741
|
-
ref: string;
|
|
11742
|
-
/** Sha */
|
|
11743
|
-
sha: string;
|
|
11744
|
-
};
|
|
11745
10549
|
/** SessionPullRequestReview */
|
|
11746
10550
|
SessionPullRequestReview: {
|
|
11747
10551
|
/** Body */
|
|
11748
10552
|
body: string | null;
|
|
11749
10553
|
/** Html Url */
|
|
11750
|
-
html_url: string;
|
|
11751
|
-
/** Id */
|
|
11752
|
-
id: number;
|
|
11753
|
-
/** State */
|
|
11754
|
-
state: string;
|
|
11755
|
-
/**
|
|
11756
|
-
* Submitted At
|
|
11757
|
-
* Format: date-time
|
|
11758
|
-
*/
|
|
11759
|
-
submitted_at: string;
|
|
11760
|
-
user: components['schemas']['GithubAccountSnippet'] | null;
|
|
11761
|
-
};
|
|
11762
|
-
/**
|
|
11763
|
-
* SessionPullRequestSummary
|
|
11764
|
-
* @description What a session list row says about a PR the session opened: the live
|
|
11765
|
-
* state and the size of the change, read from gh_prs at response time and
|
|
11766
|
-
* looked up by gh_pr_id (the identity — repo, number, url — rides on the
|
|
11767
|
-
* session's output_git). Counts are None until GitHub reports them.
|
|
11768
|
-
*/
|
|
11769
|
-
SessionPullRequestSummary: {
|
|
11770
|
-
/** Additions */
|
|
11771
|
-
additions: number | null;
|
|
11772
|
-
/** Changed Files */
|
|
11773
|
-
changed_files: number | null;
|
|
11774
|
-
/** Commits */
|
|
11775
|
-
commits: number | null;
|
|
11776
|
-
/** Deletions */
|
|
11777
|
-
deletions: number | null;
|
|
11778
|
-
/** Id */
|
|
11779
|
-
id: number;
|
|
11780
|
-
/**
|
|
11781
|
-
* Status
|
|
11782
|
-
* @enum {string}
|
|
11783
|
-
*/
|
|
11784
|
-
status: 'open' | 'draft' | 'merged' | 'closed';
|
|
11785
|
-
};
|
|
11786
|
-
SessionRecord: components['schemas']['ClaudeSessionRecord'] | components['schemas']['ClaudeNativeSessionRecord'] | components['schemas']['CodexSessionRecord'] | components['schemas']['CodexAppServerSessionRecord'] | components['schemas']['GeminiSessionRecord'] | components['schemas']['PlatformSessionRecord'] | components['schemas']['UnknownSessionRecord'];
|
|
11787
|
-
/** SessionRecordSearchHit */
|
|
11788
|
-
SessionRecordSearchHit: {
|
|
10554
|
+
html_url: string;
|
|
10555
|
+
/** Id */
|
|
10556
|
+
id: number;
|
|
10557
|
+
/** State */
|
|
10558
|
+
state: string;
|
|
11789
10559
|
/**
|
|
11790
|
-
*
|
|
10560
|
+
* Submitted At
|
|
11791
10561
|
* Format: date-time
|
|
11792
10562
|
*/
|
|
11793
|
-
|
|
11794
|
-
|
|
11795
|
-
id: string;
|
|
11796
|
-
/** Record Type */
|
|
11797
|
-
record_type: string;
|
|
11798
|
-
/** Snippet */
|
|
11799
|
-
snippet: string;
|
|
11800
|
-
/** Stream Seq */
|
|
11801
|
-
stream_seq: number;
|
|
10563
|
+
submitted_at: string;
|
|
10564
|
+
user: components['schemas']['GithubAccountSnippet'] | null;
|
|
11802
10565
|
};
|
|
10566
|
+
SessionRecord: components['schemas']['ClaudeSessionRecord'] | components['schemas']['ClaudeNativeSessionRecord'] | components['schemas']['CodexSessionRecord'] | components['schemas']['CodexAppServerSessionRecord'] | components['schemas']['GeminiSessionRecord'] | components['schemas']['PlatformSessionRecord'] | components['schemas']['UnknownSessionRecord'];
|
|
11803
10567
|
/**
|
|
11804
10568
|
* SessionRecordsListResponse
|
|
11805
10569
|
* @description A session's log: everything that happened, oldest first.
|
|
@@ -11835,30 +10599,17 @@ interface components {
|
|
|
11835
10599
|
/** @description The session. */
|
|
11836
10600
|
session: components['schemas']['Session'];
|
|
11837
10601
|
};
|
|
11838
|
-
/** SessionSearchResponse */
|
|
11839
|
-
SessionSearchResponse: {
|
|
11840
|
-
/** Results */
|
|
11841
|
-
results: components['schemas']['SessionSearchResult'][];
|
|
11842
|
-
};
|
|
11843
|
-
/** SessionSearchResult */
|
|
11844
|
-
SessionSearchResult: {
|
|
11845
|
-
/** Matched */
|
|
11846
|
-
matched: string[];
|
|
11847
|
-
/** Recap Snippet */
|
|
11848
|
-
recap_snippet: string | null;
|
|
11849
|
-
/** Record Hit Count */
|
|
11850
|
-
record_hit_count: number;
|
|
11851
|
-
/** Record Hits */
|
|
11852
|
-
record_hits: components['schemas']['SessionRecordSearchHit'][];
|
|
11853
|
-
session: components['schemas']['Session'];
|
|
11854
|
-
};
|
|
11855
10602
|
/**
|
|
11856
|
-
*
|
|
11857
|
-
* @description
|
|
11858
|
-
* text, the session recaps (summaries), or both.
|
|
11859
|
-
* @enum {string}
|
|
10603
|
+
* SessionReview
|
|
10604
|
+
* @description The code review a reviewer session ran for.
|
|
11860
10605
|
*/
|
|
11861
|
-
|
|
10606
|
+
SessionReview: {
|
|
10607
|
+
/**
|
|
10608
|
+
* Id
|
|
10609
|
+
* @description Identifier of the code review.
|
|
10610
|
+
*/
|
|
10611
|
+
id: string;
|
|
10612
|
+
};
|
|
11862
10613
|
/**
|
|
11863
10614
|
* SessionSource
|
|
11864
10615
|
* @description Where a session came from: the credential that started it (web app,
|
|
@@ -11915,7 +10666,15 @@ interface components {
|
|
|
11915
10666
|
* @description One-line description of what the session is doing.
|
|
11916
10667
|
*/
|
|
11917
10668
|
description: string;
|
|
10669
|
+
/** @description Where this summary came from. `prompt` is the first line of the prompt the session started with, `generated` is written by Ellipsis as the session runs, and `user` was set by a person and is never replaced by a generated one. */
|
|
10670
|
+
source: components['schemas']['SessionSummarySource'];
|
|
11918
10671
|
};
|
|
10672
|
+
/**
|
|
10673
|
+
* SessionSummarySource
|
|
10674
|
+
* @description Where a session's summary came from.
|
|
10675
|
+
* @enum {string}
|
|
10676
|
+
*/
|
|
10677
|
+
SessionSummarySource: 'prompt' | 'generated' | 'user';
|
|
11919
10678
|
/** SessionToolCount */
|
|
11920
10679
|
SessionToolCount: {
|
|
11921
10680
|
/** Calls */
|
|
@@ -11986,7 +10745,7 @@ interface components {
|
|
|
11986
10745
|
next_cursor?: string | null;
|
|
11987
10746
|
/** Pull Requests */
|
|
11988
10747
|
pull_requests?: {
|
|
11989
|
-
[key: string]: components['schemas']['
|
|
10748
|
+
[key: string]: components['schemas']['PullRequest'];
|
|
11990
10749
|
};
|
|
11991
10750
|
/**
|
|
11992
10751
|
* Sessions
|
|
@@ -12205,55 +10964,6 @@ interface components {
|
|
|
12205
10964
|
*/
|
|
12206
10965
|
updated_at: string;
|
|
12207
10966
|
};
|
|
12208
|
-
/** SlackHelpChannel */
|
|
12209
|
-
SlackHelpChannel: {
|
|
12210
|
-
/** Id */
|
|
12211
|
-
id: string;
|
|
12212
|
-
/** Name */
|
|
12213
|
-
name: string;
|
|
12214
|
-
};
|
|
12215
|
-
/** SlackHelpInvite */
|
|
12216
|
-
SlackHelpInvite: {
|
|
12217
|
-
/** Email */
|
|
12218
|
-
email: string;
|
|
12219
|
-
/** Error */
|
|
12220
|
-
error?: string | null;
|
|
12221
|
-
/** Joined At */
|
|
12222
|
-
joined_at?: string | null;
|
|
12223
|
-
/** Resend Available At */
|
|
12224
|
-
resend_available_at?: string | null;
|
|
12225
|
-
/** Sent At */
|
|
12226
|
-
sent_at?: string | null;
|
|
12227
|
-
/**
|
|
12228
|
-
* Status
|
|
12229
|
-
* @enum {string}
|
|
12230
|
-
*/
|
|
12231
|
-
status: 'sending' | 'sent' | 'accepted' | 'approval_pending' | 'joined' | 'failed' | 'expired' | 'declined' | 'unknown';
|
|
12232
|
-
};
|
|
12233
|
-
/** SlackHelpRequest */
|
|
12234
|
-
SlackHelpRequest: {
|
|
12235
|
-
/** Emails */
|
|
12236
|
-
emails: string[];
|
|
12237
|
-
/**
|
|
12238
|
-
* Resend
|
|
12239
|
-
* @description Explicitly resend an existing invitation after its cooldown. Accepted and joined invitations are not resent.
|
|
12240
|
-
*/
|
|
12241
|
-
resend?: boolean;
|
|
12242
|
-
};
|
|
12243
|
-
/** SlackHelpResponse */
|
|
12244
|
-
SlackHelpResponse: {
|
|
12245
|
-
channel: components['schemas']['SlackHelpChannel'];
|
|
12246
|
-
/** Invitations */
|
|
12247
|
-
invitations?: components['schemas']['SlackHelpInvite'][];
|
|
12248
|
-
/** Ok */
|
|
12249
|
-
ok: boolean;
|
|
12250
|
-
/**
|
|
12251
|
-
* Status
|
|
12252
|
-
* @default unknown
|
|
12253
|
-
* @enum {string}
|
|
12254
|
-
*/
|
|
12255
|
-
status: 'pending' | 'connected' | 'archived' | 'unknown';
|
|
12256
|
-
};
|
|
12257
10967
|
/**
|
|
12258
10968
|
* SlackIntegrationSummary
|
|
12259
10969
|
* @description The account's connected Slack workspace.
|
|
@@ -12682,17 +11392,12 @@ interface components {
|
|
|
12682
11392
|
*/
|
|
12683
11393
|
output_tokens: number;
|
|
12684
11394
|
};
|
|
12685
|
-
/**
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
|
|
12690
|
-
|
|
12691
|
-
/** Next Offset */
|
|
12692
|
-
next_offset: number;
|
|
12693
|
-
/** Skipped */
|
|
12694
|
-
skipped: number;
|
|
12695
|
-
};
|
|
11395
|
+
/**
|
|
11396
|
+
* UiSize
|
|
11397
|
+
* @description A step on the dashboard's five-step scale, shared by every size setting.
|
|
11398
|
+
* @enum {string}
|
|
11399
|
+
*/
|
|
11400
|
+
UiSize: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
12696
11401
|
/** UninstallGithubAppRequest */
|
|
12697
11402
|
UninstallGithubAppRequest: {
|
|
12698
11403
|
/** Confirm Account Login */
|
|
@@ -12786,14 +11491,19 @@ interface components {
|
|
|
12786
11491
|
};
|
|
12787
11492
|
/**
|
|
12788
11493
|
* UpdateSessionRequest
|
|
12789
|
-
* @description Set the session's archive state.
|
|
11494
|
+
* @description Set the session's archive state, its summary, or both.
|
|
12790
11495
|
*/
|
|
12791
11496
|
UpdateSessionRequest: {
|
|
12792
11497
|
/**
|
|
12793
11498
|
* Archived
|
|
12794
11499
|
* @description True to archive the session; false to unarchive it.
|
|
12795
11500
|
*/
|
|
12796
|
-
archived
|
|
11501
|
+
archived?: boolean | null;
|
|
11502
|
+
/**
|
|
11503
|
+
* Summary
|
|
11504
|
+
* @description A name for the session. It becomes the summary with source `user`, and Ellipsis never replaces it with a generated one.
|
|
11505
|
+
*/
|
|
11506
|
+
summary?: string | null;
|
|
12797
11507
|
};
|
|
12798
11508
|
/**
|
|
12799
11509
|
* UsageDay
|
|
@@ -12831,6 +11541,36 @@ interface components {
|
|
|
12831
11541
|
/** Space */
|
|
12832
11542
|
space: number;
|
|
12833
11543
|
};
|
|
11544
|
+
/**
|
|
11545
|
+
* UserSettings
|
|
11546
|
+
* @description One user's own settings.
|
|
11547
|
+
*/
|
|
11548
|
+
UserSettings: {
|
|
11549
|
+
web: components['schemas']['UserSettingsWeb'];
|
|
11550
|
+
};
|
|
11551
|
+
/**
|
|
11552
|
+
* UserSettingsWeb
|
|
11553
|
+
* @description Settings for the web dashboard.
|
|
11554
|
+
*/
|
|
11555
|
+
UserSettingsWeb: {
|
|
11556
|
+
ui: components['schemas']['UserSettingsWebUi'];
|
|
11557
|
+
};
|
|
11558
|
+
/**
|
|
11559
|
+
* UserSettingsWebUi
|
|
11560
|
+
* @description How the web dashboard looks.
|
|
11561
|
+
*/
|
|
11562
|
+
UserSettingsWebUi: {
|
|
11563
|
+
/**
|
|
11564
|
+
* @description How much padding the dashboard uses.
|
|
11565
|
+
* @default md
|
|
11566
|
+
*/
|
|
11567
|
+
density: components['schemas']['UiSize'];
|
|
11568
|
+
/**
|
|
11569
|
+
* @description How large the dashboard's text is.
|
|
11570
|
+
* @default md
|
|
11571
|
+
*/
|
|
11572
|
+
font_size: components['schemas']['UiSize'];
|
|
11573
|
+
};
|
|
12834
11574
|
/**
|
|
12835
11575
|
* UserTokenApi
|
|
12836
11576
|
* @description A user token as shown in listings -- never includes the secret.
|
|
@@ -13252,194 +11992,43 @@ interface components {
|
|
|
13252
11992
|
*/
|
|
13253
11993
|
created_at: string;
|
|
13254
11994
|
data: components['schemas']['WebhookSessionData'];
|
|
13255
|
-
/** Id */
|
|
13256
|
-
id: string;
|
|
13257
|
-
/**
|
|
13258
|
-
* @description discriminator enum property added by openapi-typescript
|
|
13259
|
-
* @enum {string}
|
|
13260
|
-
*/
|
|
13261
|
-
type: 'session.create';
|
|
13262
|
-
};
|
|
13263
|
-
/** WebhookSessionData */
|
|
13264
|
-
WebhookSessionData: {
|
|
13265
|
-
session: components['schemas']['Session'];
|
|
13266
|
-
};
|
|
13267
|
-
/**
|
|
13268
|
-
* WebhookState
|
|
13269
|
-
* @enum {string}
|
|
13270
|
-
*/
|
|
13271
|
-
WebhookState: 'unverified' | 'pending' | 'active';
|
|
13272
|
-
/** WebhooksListResponse */
|
|
13273
|
-
WebhooksListResponse: {
|
|
13274
|
-
/** Webhooks */
|
|
13275
|
-
webhooks: components['schemas']['Webhook'][];
|
|
13276
|
-
};
|
|
13277
|
-
/**
|
|
13278
|
-
* WorkflowRunAction
|
|
13279
|
-
* @description The state of a GitHub Actions workflow run when GitHub reports it. Before the run finishes it is the status, and `in_progress` is `started`. After it finishes it is the conclusion, `success` is `passed` and `failure` is `failed`. Every other value is the GitHub word.
|
|
13280
|
-
* @enum {string}
|
|
13281
|
-
*/
|
|
13282
|
-
WorkflowRunAction: 'requested' | 'queued' | 'waiting' | 'pending' | 'started' | 'passed' | 'failed' | 'timed_out' | 'cancelled' | 'skipped' | 'neutral' | 'action_required' | 'stale' | 'startup_failure';
|
|
13283
|
-
};
|
|
13284
|
-
responses: never;
|
|
13285
|
-
parameters: never;
|
|
13286
|
-
requestBodies: never;
|
|
13287
|
-
headers: never;
|
|
13288
|
-
pathItems: never;
|
|
13289
|
-
}
|
|
13290
|
-
interface operations {
|
|
13291
|
-
update_customer: {
|
|
13292
|
-
parameters: {
|
|
13293
|
-
query?: never;
|
|
13294
|
-
header?: {
|
|
13295
|
-
'user-agent'?: string | null;
|
|
13296
|
-
};
|
|
13297
|
-
path?: never;
|
|
13298
|
-
cookie?: never;
|
|
13299
|
-
};
|
|
13300
|
-
requestBody: {
|
|
13301
|
-
content: {
|
|
13302
|
-
'application/json': components['schemas']['PatchAccountRequest'];
|
|
13303
|
-
};
|
|
13304
|
-
};
|
|
13305
|
-
responses: {
|
|
13306
|
-
/** @description Successful Response */
|
|
13307
|
-
200: {
|
|
13308
|
-
headers: {
|
|
13309
|
-
[name: string]: unknown;
|
|
13310
|
-
};
|
|
13311
|
-
content: {
|
|
13312
|
-
'application/json': components['schemas']['AccountResponse'];
|
|
13313
|
-
};
|
|
13314
|
-
};
|
|
13315
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
13316
|
-
401: {
|
|
13317
|
-
headers: {
|
|
13318
|
-
[name: string]: unknown;
|
|
13319
|
-
};
|
|
13320
|
-
content: {
|
|
13321
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
13322
|
-
};
|
|
13323
|
-
};
|
|
13324
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
13325
|
-
403: {
|
|
13326
|
-
headers: {
|
|
13327
|
-
[name: string]: unknown;
|
|
13328
|
-
};
|
|
13329
|
-
content: {
|
|
13330
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
13331
|
-
};
|
|
13332
|
-
};
|
|
13333
|
-
/** @description Validation Error */
|
|
13334
|
-
422: {
|
|
13335
|
-
headers: {
|
|
13336
|
-
[name: string]: unknown;
|
|
13337
|
-
};
|
|
13338
|
-
content: {
|
|
13339
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
13340
|
-
};
|
|
13341
|
-
};
|
|
13342
|
-
};
|
|
13343
|
-
};
|
|
13344
|
-
get_customer_activity: {
|
|
13345
|
-
parameters: {
|
|
13346
|
-
query?: never;
|
|
13347
|
-
header?: {
|
|
13348
|
-
'user-agent'?: string | null;
|
|
13349
|
-
};
|
|
13350
|
-
path?: never;
|
|
13351
|
-
cookie?: never;
|
|
13352
|
-
};
|
|
13353
|
-
requestBody?: never;
|
|
13354
|
-
responses: {
|
|
13355
|
-
/** @description Successful Response */
|
|
13356
|
-
200: {
|
|
13357
|
-
headers: {
|
|
13358
|
-
[name: string]: unknown;
|
|
13359
|
-
};
|
|
13360
|
-
content: {
|
|
13361
|
-
'application/json': components['schemas']['AccountActivity'];
|
|
13362
|
-
};
|
|
13363
|
-
};
|
|
13364
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
13365
|
-
401: {
|
|
13366
|
-
headers: {
|
|
13367
|
-
[name: string]: unknown;
|
|
13368
|
-
};
|
|
13369
|
-
content: {
|
|
13370
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
13371
|
-
};
|
|
13372
|
-
};
|
|
13373
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
13374
|
-
403: {
|
|
13375
|
-
headers: {
|
|
13376
|
-
[name: string]: unknown;
|
|
13377
|
-
};
|
|
13378
|
-
content: {
|
|
13379
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
13380
|
-
};
|
|
13381
|
-
};
|
|
13382
|
-
/** @description Validation Error */
|
|
13383
|
-
422: {
|
|
13384
|
-
headers: {
|
|
13385
|
-
[name: string]: unknown;
|
|
13386
|
-
};
|
|
13387
|
-
content: {
|
|
13388
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
13389
|
-
};
|
|
13390
|
-
};
|
|
13391
|
-
};
|
|
13392
|
-
};
|
|
13393
|
-
list_api_keys: {
|
|
13394
|
-
parameters: {
|
|
13395
|
-
query?: never;
|
|
13396
|
-
header?: {
|
|
13397
|
-
'user-agent'?: string | null;
|
|
13398
|
-
};
|
|
13399
|
-
path?: never;
|
|
13400
|
-
cookie?: never;
|
|
13401
|
-
};
|
|
13402
|
-
requestBody?: never;
|
|
13403
|
-
responses: {
|
|
13404
|
-
/** @description Successful Response */
|
|
13405
|
-
200: {
|
|
13406
|
-
headers: {
|
|
13407
|
-
[name: string]: unknown;
|
|
13408
|
-
};
|
|
13409
|
-
content: {
|
|
13410
|
-
'application/json': components['schemas']['ListApiKeysResponse'];
|
|
13411
|
-
};
|
|
13412
|
-
};
|
|
13413
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
13414
|
-
401: {
|
|
13415
|
-
headers: {
|
|
13416
|
-
[name: string]: unknown;
|
|
13417
|
-
};
|
|
13418
|
-
content: {
|
|
13419
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
13420
|
-
};
|
|
13421
|
-
};
|
|
13422
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
13423
|
-
403: {
|
|
13424
|
-
headers: {
|
|
13425
|
-
[name: string]: unknown;
|
|
13426
|
-
};
|
|
13427
|
-
content: {
|
|
13428
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
13429
|
-
};
|
|
13430
|
-
};
|
|
13431
|
-
/** @description Validation Error */
|
|
13432
|
-
422: {
|
|
13433
|
-
headers: {
|
|
13434
|
-
[name: string]: unknown;
|
|
13435
|
-
};
|
|
13436
|
-
content: {
|
|
13437
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
13438
|
-
};
|
|
13439
|
-
};
|
|
11995
|
+
/** Id */
|
|
11996
|
+
id: string;
|
|
11997
|
+
/**
|
|
11998
|
+
* @description discriminator enum property added by openapi-typescript
|
|
11999
|
+
* @enum {string}
|
|
12000
|
+
*/
|
|
12001
|
+
type: 'session.create';
|
|
12002
|
+
};
|
|
12003
|
+
/** WebhookSessionData */
|
|
12004
|
+
WebhookSessionData: {
|
|
12005
|
+
session: components['schemas']['Session'];
|
|
12006
|
+
};
|
|
12007
|
+
/**
|
|
12008
|
+
* WebhookState
|
|
12009
|
+
* @enum {string}
|
|
12010
|
+
*/
|
|
12011
|
+
WebhookState: 'unverified' | 'pending' | 'active';
|
|
12012
|
+
/** WebhooksListResponse */
|
|
12013
|
+
WebhooksListResponse: {
|
|
12014
|
+
/** Webhooks */
|
|
12015
|
+
webhooks: components['schemas']['Webhook'][];
|
|
13440
12016
|
};
|
|
12017
|
+
/**
|
|
12018
|
+
* WorkflowRunAction
|
|
12019
|
+
* @description The state of a GitHub Actions workflow run when GitHub reports it. Before the run finishes it is the status, and `in_progress` is `started`. After it finishes it is the conclusion, `success` is `passed` and `failure` is `failed`. Every other value is the GitHub word.
|
|
12020
|
+
* @enum {string}
|
|
12021
|
+
*/
|
|
12022
|
+
WorkflowRunAction: 'requested' | 'queued' | 'waiting' | 'pending' | 'started' | 'passed' | 'failed' | 'timed_out' | 'cancelled' | 'skipped' | 'neutral' | 'action_required' | 'stale' | 'startup_failure';
|
|
13441
12023
|
};
|
|
13442
|
-
|
|
12024
|
+
responses: never;
|
|
12025
|
+
parameters: never;
|
|
12026
|
+
requestBodies: never;
|
|
12027
|
+
headers: never;
|
|
12028
|
+
pathItems: never;
|
|
12029
|
+
}
|
|
12030
|
+
interface operations {
|
|
12031
|
+
update_customer: {
|
|
13443
12032
|
parameters: {
|
|
13444
12033
|
query?: never;
|
|
13445
12034
|
header?: {
|
|
@@ -13450,109 +12039,9 @@ interface operations {
|
|
|
13450
12039
|
};
|
|
13451
12040
|
requestBody: {
|
|
13452
12041
|
content: {
|
|
13453
|
-
'application/json': components['schemas']['
|
|
13454
|
-
};
|
|
13455
|
-
};
|
|
13456
|
-
responses: {
|
|
13457
|
-
/** @description Successful Response */
|
|
13458
|
-
201: {
|
|
13459
|
-
headers: {
|
|
13460
|
-
[name: string]: unknown;
|
|
13461
|
-
};
|
|
13462
|
-
content: {
|
|
13463
|
-
'application/json': components['schemas']['CreateApiKeyResponse'];
|
|
13464
|
-
};
|
|
13465
|
-
};
|
|
13466
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
13467
|
-
401: {
|
|
13468
|
-
headers: {
|
|
13469
|
-
[name: string]: unknown;
|
|
13470
|
-
};
|
|
13471
|
-
content: {
|
|
13472
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
13473
|
-
};
|
|
13474
|
-
};
|
|
13475
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
13476
|
-
403: {
|
|
13477
|
-
headers: {
|
|
13478
|
-
[name: string]: unknown;
|
|
13479
|
-
};
|
|
13480
|
-
content: {
|
|
13481
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
13482
|
-
};
|
|
13483
|
-
};
|
|
13484
|
-
/** @description Validation Error */
|
|
13485
|
-
422: {
|
|
13486
|
-
headers: {
|
|
13487
|
-
[name: string]: unknown;
|
|
13488
|
-
};
|
|
13489
|
-
content: {
|
|
13490
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
13491
|
-
};
|
|
13492
|
-
};
|
|
13493
|
-
};
|
|
13494
|
-
};
|
|
13495
|
-
revoke_api_key: {
|
|
13496
|
-
parameters: {
|
|
13497
|
-
query?: never;
|
|
13498
|
-
header?: {
|
|
13499
|
-
'user-agent'?: string | null;
|
|
13500
|
-
};
|
|
13501
|
-
path: {
|
|
13502
|
-
id: string;
|
|
13503
|
-
};
|
|
13504
|
-
cookie?: never;
|
|
13505
|
-
};
|
|
13506
|
-
requestBody?: never;
|
|
13507
|
-
responses: {
|
|
13508
|
-
/** @description Successful Response */
|
|
13509
|
-
200: {
|
|
13510
|
-
headers: {
|
|
13511
|
-
[name: string]: unknown;
|
|
13512
|
-
};
|
|
13513
|
-
content: {
|
|
13514
|
-
'application/json': components['schemas']['TokenRevokedResponse'];
|
|
13515
|
-
};
|
|
13516
|
-
};
|
|
13517
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
13518
|
-
401: {
|
|
13519
|
-
headers: {
|
|
13520
|
-
[name: string]: unknown;
|
|
13521
|
-
};
|
|
13522
|
-
content: {
|
|
13523
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
13524
|
-
};
|
|
13525
|
-
};
|
|
13526
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
13527
|
-
403: {
|
|
13528
|
-
headers: {
|
|
13529
|
-
[name: string]: unknown;
|
|
13530
|
-
};
|
|
13531
|
-
content: {
|
|
13532
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
13533
|
-
};
|
|
13534
|
-
};
|
|
13535
|
-
/** @description Validation Error */
|
|
13536
|
-
422: {
|
|
13537
|
-
headers: {
|
|
13538
|
-
[name: string]: unknown;
|
|
13539
|
-
};
|
|
13540
|
-
content: {
|
|
13541
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
13542
|
-
};
|
|
13543
|
-
};
|
|
13544
|
-
};
|
|
13545
|
-
};
|
|
13546
|
-
get_customer_audit_log: {
|
|
13547
|
-
parameters: {
|
|
13548
|
-
query?: never;
|
|
13549
|
-
header?: {
|
|
13550
|
-
'user-agent'?: string | null;
|
|
12042
|
+
'application/json': components['schemas']['PatchAccountRequest'];
|
|
13551
12043
|
};
|
|
13552
|
-
path?: never;
|
|
13553
|
-
cookie?: never;
|
|
13554
12044
|
};
|
|
13555
|
-
requestBody?: never;
|
|
13556
12045
|
responses: {
|
|
13557
12046
|
/** @description Successful Response */
|
|
13558
12047
|
200: {
|
|
@@ -13560,7 +12049,7 @@ interface operations {
|
|
|
13560
12049
|
[name: string]: unknown;
|
|
13561
12050
|
};
|
|
13562
12051
|
content: {
|
|
13563
|
-
'application/json': components['schemas']['
|
|
12052
|
+
'application/json': components['schemas']['AccountResponse'];
|
|
13564
12053
|
};
|
|
13565
12054
|
};
|
|
13566
12055
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -13592,7 +12081,7 @@ interface operations {
|
|
|
13592
12081
|
};
|
|
13593
12082
|
};
|
|
13594
12083
|
};
|
|
13595
|
-
|
|
12084
|
+
get_customer_activity: {
|
|
13596
12085
|
parameters: {
|
|
13597
12086
|
query?: never;
|
|
13598
12087
|
header?: {
|
|
@@ -13609,7 +12098,7 @@ interface operations {
|
|
|
13609
12098
|
[name: string]: unknown;
|
|
13610
12099
|
};
|
|
13611
12100
|
content: {
|
|
13612
|
-
'application/json': components['schemas']['
|
|
12101
|
+
'application/json': components['schemas']['AccountActivity'];
|
|
13613
12102
|
};
|
|
13614
12103
|
};
|
|
13615
12104
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -13641,7 +12130,7 @@ interface operations {
|
|
|
13641
12130
|
};
|
|
13642
12131
|
};
|
|
13643
12132
|
};
|
|
13644
|
-
|
|
12133
|
+
list_api_keys: {
|
|
13645
12134
|
parameters: {
|
|
13646
12135
|
query?: never;
|
|
13647
12136
|
header?: {
|
|
@@ -13658,7 +12147,7 @@ interface operations {
|
|
|
13658
12147
|
[name: string]: unknown;
|
|
13659
12148
|
};
|
|
13660
12149
|
content: {
|
|
13661
|
-
'application/json': components['schemas']['
|
|
12150
|
+
'application/json': components['schemas']['ListApiKeysResponse'];
|
|
13662
12151
|
};
|
|
13663
12152
|
};
|
|
13664
12153
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -13690,7 +12179,7 @@ interface operations {
|
|
|
13690
12179
|
};
|
|
13691
12180
|
};
|
|
13692
12181
|
};
|
|
13693
|
-
|
|
12182
|
+
create_api_key: {
|
|
13694
12183
|
parameters: {
|
|
13695
12184
|
query?: never;
|
|
13696
12185
|
header?: {
|
|
@@ -13701,17 +12190,17 @@ interface operations {
|
|
|
13701
12190
|
};
|
|
13702
12191
|
requestBody: {
|
|
13703
12192
|
content: {
|
|
13704
|
-
'application/json': components['schemas']['
|
|
12193
|
+
'application/json': components['schemas']['CreateApiKeyRequest'];
|
|
13705
12194
|
};
|
|
13706
12195
|
};
|
|
13707
12196
|
responses: {
|
|
13708
12197
|
/** @description Successful Response */
|
|
13709
|
-
|
|
12198
|
+
201: {
|
|
13710
12199
|
headers: {
|
|
13711
12200
|
[name: string]: unknown;
|
|
13712
12201
|
};
|
|
13713
12202
|
content: {
|
|
13714
|
-
'application/json': components['schemas']['
|
|
12203
|
+
'application/json': components['schemas']['CreateApiKeyResponse'];
|
|
13715
12204
|
};
|
|
13716
12205
|
};
|
|
13717
12206
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -13732,35 +12221,37 @@ interface operations {
|
|
|
13732
12221
|
'application/json': components['schemas']['ErrorResponse'];
|
|
13733
12222
|
};
|
|
13734
12223
|
};
|
|
13735
|
-
/** @description Error
|
|
12224
|
+
/** @description Validation Error */
|
|
13736
12225
|
422: {
|
|
13737
12226
|
headers: {
|
|
13738
12227
|
[name: string]: unknown;
|
|
13739
12228
|
};
|
|
13740
12229
|
content: {
|
|
13741
|
-
'application/json': components['schemas']['
|
|
12230
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
13742
12231
|
};
|
|
13743
12232
|
};
|
|
13744
12233
|
};
|
|
13745
12234
|
};
|
|
13746
|
-
|
|
12235
|
+
revoke_api_key: {
|
|
13747
12236
|
parameters: {
|
|
13748
12237
|
query?: never;
|
|
13749
12238
|
header?: {
|
|
13750
12239
|
'user-agent'?: string | null;
|
|
13751
12240
|
};
|
|
13752
|
-
path
|
|
12241
|
+
path: {
|
|
12242
|
+
id: string;
|
|
12243
|
+
};
|
|
13753
12244
|
cookie?: never;
|
|
13754
12245
|
};
|
|
13755
12246
|
requestBody?: never;
|
|
13756
12247
|
responses: {
|
|
13757
12248
|
/** @description Successful Response */
|
|
13758
|
-
|
|
12249
|
+
200: {
|
|
13759
12250
|
headers: {
|
|
13760
12251
|
[name: string]: unknown;
|
|
13761
12252
|
};
|
|
13762
12253
|
content: {
|
|
13763
|
-
'application/json': components['schemas']['
|
|
12254
|
+
'application/json': components['schemas']['TokenRevokedResponse'];
|
|
13764
12255
|
};
|
|
13765
12256
|
};
|
|
13766
12257
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -13792,41 +12283,44 @@ interface operations {
|
|
|
13792
12283
|
};
|
|
13793
12284
|
};
|
|
13794
12285
|
};
|
|
13795
|
-
|
|
12286
|
+
list_api_requests: {
|
|
13796
12287
|
parameters: {
|
|
13797
|
-
query?:
|
|
12288
|
+
query?: {
|
|
12289
|
+
/** @description Only requests at or after this time. */
|
|
12290
|
+
start?: string | null;
|
|
12291
|
+
/** @description Only requests before this time. */
|
|
12292
|
+
end?: string | null;
|
|
12293
|
+
/** @description Only requests to these operations. */
|
|
12294
|
+
operation?: string[] | null;
|
|
12295
|
+
/** @description Only requests that returned these status codes. */
|
|
12296
|
+
status_code?: number[] | null;
|
|
12297
|
+
/** @description Only requests made with these credential types. */
|
|
12298
|
+
credential_type?: components['schemas']['ApiRequestCredentialType'][] | null;
|
|
12299
|
+
/** @description Only requests made with these API keys, user tokens, or sessions, by id. */
|
|
12300
|
+
credential_id?: string[] | null;
|
|
12301
|
+
limit?: number;
|
|
12302
|
+
/** @description The `next_cursor` of the previous page. */
|
|
12303
|
+
cursor?: string | null;
|
|
12304
|
+
};
|
|
13798
12305
|
header?: {
|
|
13799
12306
|
'user-agent'?: string | null;
|
|
13800
12307
|
};
|
|
13801
12308
|
path?: never;
|
|
13802
12309
|
cookie?: never;
|
|
13803
12310
|
};
|
|
13804
|
-
requestBody
|
|
13805
|
-
content: {
|
|
13806
|
-
'application/json': components['schemas']['CreditPurchaseRequest'];
|
|
13807
|
-
};
|
|
13808
|
-
};
|
|
12311
|
+
requestBody?: never;
|
|
13809
12312
|
responses: {
|
|
13810
12313
|
/** @description Successful Response */
|
|
13811
|
-
|
|
13812
|
-
headers: {
|
|
13813
|
-
[name: string]: unknown;
|
|
13814
|
-
};
|
|
13815
|
-
content: {
|
|
13816
|
-
'application/json': components['schemas']['BillingCheckout'];
|
|
13817
|
-
};
|
|
13818
|
-
};
|
|
13819
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
13820
|
-
401: {
|
|
12314
|
+
200: {
|
|
13821
12315
|
headers: {
|
|
13822
12316
|
[name: string]: unknown;
|
|
13823
12317
|
};
|
|
13824
12318
|
content: {
|
|
13825
|
-
'application/json': components['schemas']['
|
|
12319
|
+
'application/json': components['schemas']['ApiRequestsListResponse'];
|
|
13826
12320
|
};
|
|
13827
12321
|
};
|
|
13828
|
-
/** @description The
|
|
13829
|
-
|
|
12322
|
+
/** @description The request is invalid or combines incompatible fields. */
|
|
12323
|
+
400: {
|
|
13830
12324
|
headers: {
|
|
13831
12325
|
[name: string]: unknown;
|
|
13832
12326
|
};
|
|
@@ -13834,37 +12328,6 @@ interface operations {
|
|
|
13834
12328
|
'application/json': components['schemas']['ErrorResponse'];
|
|
13835
12329
|
};
|
|
13836
12330
|
};
|
|
13837
|
-
/** @description Validation Error */
|
|
13838
|
-
422: {
|
|
13839
|
-
headers: {
|
|
13840
|
-
[name: string]: unknown;
|
|
13841
|
-
};
|
|
13842
|
-
content: {
|
|
13843
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
13844
|
-
};
|
|
13845
|
-
};
|
|
13846
|
-
};
|
|
13847
|
-
};
|
|
13848
|
-
claim_signup_credit: {
|
|
13849
|
-
parameters: {
|
|
13850
|
-
query?: never;
|
|
13851
|
-
header?: {
|
|
13852
|
-
'user-agent'?: string | null;
|
|
13853
|
-
};
|
|
13854
|
-
path?: never;
|
|
13855
|
-
cookie?: never;
|
|
13856
|
-
};
|
|
13857
|
-
requestBody?: never;
|
|
13858
|
-
responses: {
|
|
13859
|
-
/** @description Successful Response */
|
|
13860
|
-
200: {
|
|
13861
|
-
headers: {
|
|
13862
|
-
[name: string]: unknown;
|
|
13863
|
-
};
|
|
13864
|
-
content: {
|
|
13865
|
-
'application/json': components['schemas']['BillingStatus'];
|
|
13866
|
-
};
|
|
13867
|
-
};
|
|
13868
12331
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
13869
12332
|
401: {
|
|
13870
12333
|
headers: {
|
|
@@ -13894,7 +12357,7 @@ interface operations {
|
|
|
13894
12357
|
};
|
|
13895
12358
|
};
|
|
13896
12359
|
};
|
|
13897
|
-
|
|
12360
|
+
get_customer_audit_log: {
|
|
13898
12361
|
parameters: {
|
|
13899
12362
|
query?: never;
|
|
13900
12363
|
header?: {
|
|
@@ -13911,7 +12374,7 @@ interface operations {
|
|
|
13911
12374
|
[name: string]: unknown;
|
|
13912
12375
|
};
|
|
13913
12376
|
content: {
|
|
13914
|
-
'application/json': components['schemas']['
|
|
12377
|
+
'application/json': components['schemas']['AccountAuditLogResponse'];
|
|
13915
12378
|
};
|
|
13916
12379
|
};
|
|
13917
12380
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -13943,7 +12406,7 @@ interface operations {
|
|
|
13943
12406
|
};
|
|
13944
12407
|
};
|
|
13945
12408
|
};
|
|
13946
|
-
|
|
12409
|
+
get_account_billing: {
|
|
13947
12410
|
parameters: {
|
|
13948
12411
|
query?: never;
|
|
13949
12412
|
header?: {
|
|
@@ -13960,7 +12423,7 @@ interface operations {
|
|
|
13960
12423
|
[name: string]: unknown;
|
|
13961
12424
|
};
|
|
13962
12425
|
content: {
|
|
13963
|
-
'application/json': components['schemas']['
|
|
12426
|
+
'application/json': components['schemas']['BillingStatus'];
|
|
13964
12427
|
};
|
|
13965
12428
|
};
|
|
13966
12429
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -13992,7 +12455,7 @@ interface operations {
|
|
|
13992
12455
|
};
|
|
13993
12456
|
};
|
|
13994
12457
|
};
|
|
13995
|
-
|
|
12458
|
+
get_auto_recharge: {
|
|
13996
12459
|
parameters: {
|
|
13997
12460
|
query?: never;
|
|
13998
12461
|
header?: {
|
|
@@ -14009,7 +12472,7 @@ interface operations {
|
|
|
14009
12472
|
[name: string]: unknown;
|
|
14010
12473
|
};
|
|
14011
12474
|
content: {
|
|
14012
|
-
'application/json': components['schemas']['
|
|
12475
|
+
'application/json': components['schemas']['AutoRechargeSettings'];
|
|
14013
12476
|
};
|
|
14014
12477
|
};
|
|
14015
12478
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -14041,15 +12504,13 @@ interface operations {
|
|
|
14041
12504
|
};
|
|
14042
12505
|
};
|
|
14043
12506
|
};
|
|
14044
|
-
|
|
12507
|
+
list_credit_grants: {
|
|
14045
12508
|
parameters: {
|
|
14046
12509
|
query?: never;
|
|
14047
12510
|
header?: {
|
|
14048
12511
|
'user-agent'?: string | null;
|
|
14049
12512
|
};
|
|
14050
|
-
path
|
|
14051
|
-
id: string;
|
|
14052
|
-
};
|
|
12513
|
+
path?: never;
|
|
14053
12514
|
cookie?: never;
|
|
14054
12515
|
};
|
|
14055
12516
|
requestBody?: never;
|
|
@@ -14060,7 +12521,7 @@ interface operations {
|
|
|
14060
12521
|
[name: string]: unknown;
|
|
14061
12522
|
};
|
|
14062
12523
|
content: {
|
|
14063
|
-
'application/json': components['schemas']['
|
|
12524
|
+
'application/json': components['schemas']['CreditGrantsResponse'];
|
|
14064
12525
|
};
|
|
14065
12526
|
};
|
|
14066
12527
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -14071,18 +12532,9 @@ interface operations {
|
|
|
14071
12532
|
content: {
|
|
14072
12533
|
'application/json': components['schemas']['ErrorResponse'];
|
|
14073
12534
|
};
|
|
14074
|
-
};
|
|
14075
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
14076
|
-
403: {
|
|
14077
|
-
headers: {
|
|
14078
|
-
[name: string]: unknown;
|
|
14079
|
-
};
|
|
14080
|
-
content: {
|
|
14081
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
14082
|
-
};
|
|
14083
|
-
};
|
|
14084
|
-
/** @description No such resource in your account. */
|
|
14085
|
-
404: {
|
|
12535
|
+
};
|
|
12536
|
+
/** @description The credential may not perform this action, or the account is blocked. */
|
|
12537
|
+
403: {
|
|
14086
12538
|
headers: {
|
|
14087
12539
|
[name: string]: unknown;
|
|
14088
12540
|
};
|
|
@@ -14101,7 +12553,7 @@ interface operations {
|
|
|
14101
12553
|
};
|
|
14102
12554
|
};
|
|
14103
12555
|
};
|
|
14104
|
-
|
|
12556
|
+
get_fee_schedule: {
|
|
14105
12557
|
parameters: {
|
|
14106
12558
|
query?: never;
|
|
14107
12559
|
header?: {
|
|
@@ -14118,7 +12570,7 @@ interface operations {
|
|
|
14118
12570
|
[name: string]: unknown;
|
|
14119
12571
|
};
|
|
14120
12572
|
content: {
|
|
14121
|
-
'application/json': components['schemas']['
|
|
12573
|
+
'application/json': components['schemas']['FeeScheduleResponse'];
|
|
14122
12574
|
};
|
|
14123
12575
|
};
|
|
14124
12576
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -14150,7 +12602,7 @@ interface operations {
|
|
|
14150
12602
|
};
|
|
14151
12603
|
};
|
|
14152
12604
|
};
|
|
14153
|
-
|
|
12605
|
+
get_credit_purchase_options: {
|
|
14154
12606
|
parameters: {
|
|
14155
12607
|
query?: never;
|
|
14156
12608
|
header?: {
|
|
@@ -14159,11 +12611,7 @@ interface operations {
|
|
|
14159
12611
|
path?: never;
|
|
14160
12612
|
cookie?: never;
|
|
14161
12613
|
};
|
|
14162
|
-
requestBody
|
|
14163
|
-
content: {
|
|
14164
|
-
'application/json': components['schemas']['BudgetUpdate'];
|
|
14165
|
-
};
|
|
14166
|
-
};
|
|
12614
|
+
requestBody?: never;
|
|
14167
12615
|
responses: {
|
|
14168
12616
|
/** @description Successful Response */
|
|
14169
12617
|
200: {
|
|
@@ -14171,7 +12619,7 @@ interface operations {
|
|
|
14171
12619
|
[name: string]: unknown;
|
|
14172
12620
|
};
|
|
14173
12621
|
content: {
|
|
14174
|
-
'application/json': components['schemas']['
|
|
12622
|
+
'application/json': components['schemas']['CreditPurchaseOptions'];
|
|
14175
12623
|
};
|
|
14176
12624
|
};
|
|
14177
12625
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -14203,13 +12651,15 @@ interface operations {
|
|
|
14203
12651
|
};
|
|
14204
12652
|
};
|
|
14205
12653
|
};
|
|
14206
|
-
|
|
12654
|
+
get_credit_purchase: {
|
|
14207
12655
|
parameters: {
|
|
14208
12656
|
query?: never;
|
|
14209
12657
|
header?: {
|
|
14210
12658
|
'user-agent'?: string | null;
|
|
14211
12659
|
};
|
|
14212
|
-
path
|
|
12660
|
+
path: {
|
|
12661
|
+
id: string;
|
|
12662
|
+
};
|
|
14213
12663
|
cookie?: never;
|
|
14214
12664
|
};
|
|
14215
12665
|
requestBody?: never;
|
|
@@ -14220,7 +12670,7 @@ interface operations {
|
|
|
14220
12670
|
[name: string]: unknown;
|
|
14221
12671
|
};
|
|
14222
12672
|
content: {
|
|
14223
|
-
'application/json': components['schemas']['
|
|
12673
|
+
'application/json': components['schemas']['CreditPurchaseReceipt'];
|
|
14224
12674
|
};
|
|
14225
12675
|
};
|
|
14226
12676
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -14241,6 +12691,15 @@ interface operations {
|
|
|
14241
12691
|
'application/json': components['schemas']['ErrorResponse'];
|
|
14242
12692
|
};
|
|
14243
12693
|
};
|
|
12694
|
+
/** @description No such resource in your account. */
|
|
12695
|
+
404: {
|
|
12696
|
+
headers: {
|
|
12697
|
+
[name: string]: unknown;
|
|
12698
|
+
};
|
|
12699
|
+
content: {
|
|
12700
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
12701
|
+
};
|
|
12702
|
+
};
|
|
14244
12703
|
/** @description Validation Error */
|
|
14245
12704
|
422: {
|
|
14246
12705
|
headers: {
|
|
@@ -14252,7 +12711,7 @@ interface operations {
|
|
|
14252
12711
|
};
|
|
14253
12712
|
};
|
|
14254
12713
|
};
|
|
14255
|
-
|
|
12714
|
+
get_account_budget: {
|
|
14256
12715
|
parameters: {
|
|
14257
12716
|
query?: never;
|
|
14258
12717
|
header?: {
|
|
@@ -14261,11 +12720,7 @@ interface operations {
|
|
|
14261
12720
|
path?: never;
|
|
14262
12721
|
cookie?: never;
|
|
14263
12722
|
};
|
|
14264
|
-
requestBody
|
|
14265
|
-
content: {
|
|
14266
|
-
'application/json': components['schemas']['SendTestNotificationEmailRequest'];
|
|
14267
|
-
};
|
|
14268
|
-
};
|
|
12723
|
+
requestBody?: never;
|
|
14269
12724
|
responses: {
|
|
14270
12725
|
/** @description Successful Response */
|
|
14271
12726
|
200: {
|
|
@@ -14273,7 +12728,7 @@ interface operations {
|
|
|
14273
12728
|
[name: string]: unknown;
|
|
14274
12729
|
};
|
|
14275
12730
|
content: {
|
|
14276
|
-
'application/json': components['schemas']['
|
|
12731
|
+
'application/json': components['schemas']['BudgetSummary'];
|
|
14277
12732
|
};
|
|
14278
12733
|
};
|
|
14279
12734
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -14305,7 +12760,7 @@ interface operations {
|
|
|
14305
12760
|
};
|
|
14306
12761
|
};
|
|
14307
12762
|
};
|
|
14308
|
-
|
|
12763
|
+
update_account_budget: {
|
|
14309
12764
|
parameters: {
|
|
14310
12765
|
query?: never;
|
|
14311
12766
|
header?: {
|
|
@@ -14314,7 +12769,11 @@ interface operations {
|
|
|
14314
12769
|
path?: never;
|
|
14315
12770
|
cookie?: never;
|
|
14316
12771
|
};
|
|
14317
|
-
requestBody
|
|
12772
|
+
requestBody: {
|
|
12773
|
+
content: {
|
|
12774
|
+
'application/json': components['schemas']['BudgetUpdate'];
|
|
12775
|
+
};
|
|
12776
|
+
};
|
|
14318
12777
|
responses: {
|
|
14319
12778
|
/** @description Successful Response */
|
|
14320
12779
|
200: {
|
|
@@ -14322,7 +12781,7 @@ interface operations {
|
|
|
14322
12781
|
[name: string]: unknown;
|
|
14323
12782
|
};
|
|
14324
12783
|
content: {
|
|
14325
|
-
'application/json': components['schemas']['
|
|
12784
|
+
'application/json': components['schemas']['BudgetSummary'];
|
|
14326
12785
|
};
|
|
14327
12786
|
};
|
|
14328
12787
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -14354,7 +12813,7 @@ interface operations {
|
|
|
14354
12813
|
};
|
|
14355
12814
|
};
|
|
14356
12815
|
};
|
|
14357
|
-
|
|
12816
|
+
list_account_models: {
|
|
14358
12817
|
parameters: {
|
|
14359
12818
|
query?: never;
|
|
14360
12819
|
header?: {
|
|
@@ -14363,11 +12822,7 @@ interface operations {
|
|
|
14363
12822
|
path?: never;
|
|
14364
12823
|
cookie?: never;
|
|
14365
12824
|
};
|
|
14366
|
-
requestBody
|
|
14367
|
-
content: {
|
|
14368
|
-
'application/json': components['schemas']['PatchAccountOnboardingRequest'];
|
|
14369
|
-
};
|
|
14370
|
-
};
|
|
12825
|
+
requestBody?: never;
|
|
14371
12826
|
responses: {
|
|
14372
12827
|
/** @description Successful Response */
|
|
14373
12828
|
200: {
|
|
@@ -14375,7 +12830,7 @@ interface operations {
|
|
|
14375
12830
|
[name: string]: unknown;
|
|
14376
12831
|
};
|
|
14377
12832
|
content: {
|
|
14378
|
-
'application/json': components['schemas']['
|
|
12833
|
+
'application/json': components['schemas']['ModelsListResponse'];
|
|
14379
12834
|
};
|
|
14380
12835
|
};
|
|
14381
12836
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -14396,13 +12851,13 @@ interface operations {
|
|
|
14396
12851
|
'application/json': components['schemas']['ErrorResponse'];
|
|
14397
12852
|
};
|
|
14398
12853
|
};
|
|
14399
|
-
/** @description Error
|
|
12854
|
+
/** @description Validation Error */
|
|
14400
12855
|
422: {
|
|
14401
12856
|
headers: {
|
|
14402
12857
|
[name: string]: unknown;
|
|
14403
12858
|
};
|
|
14404
12859
|
content: {
|
|
14405
|
-
'application/json': components['schemas']['
|
|
12860
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14406
12861
|
};
|
|
14407
12862
|
};
|
|
14408
12863
|
};
|
|
@@ -15084,7 +13539,12 @@ interface operations {
|
|
|
15084
13539
|
};
|
|
15085
13540
|
get_agent_metrics: {
|
|
15086
13541
|
parameters: {
|
|
15087
|
-
query
|
|
13542
|
+
query: {
|
|
13543
|
+
/** @description Inclusive start of the usage window. Naive timestamps use UTC. */
|
|
13544
|
+
start: string;
|
|
13545
|
+
/** @description Exclusive end of the usage window. Naive timestamps use UTC. */
|
|
13546
|
+
end: string;
|
|
13547
|
+
};
|
|
15088
13548
|
header?: {
|
|
15089
13549
|
'user-agent'?: string | null;
|
|
15090
13550
|
};
|
|
@@ -15131,13 +13591,13 @@ interface operations {
|
|
|
15131
13591
|
'application/json': components['schemas']['ErrorResponse'];
|
|
15132
13592
|
};
|
|
15133
13593
|
};
|
|
15134
|
-
/** @description
|
|
13594
|
+
/** @description A time bound is malformed, or start is not earlier than end. */
|
|
15135
13595
|
422: {
|
|
15136
13596
|
headers: {
|
|
15137
13597
|
[name: string]: unknown;
|
|
15138
13598
|
};
|
|
15139
13599
|
content: {
|
|
15140
|
-
'application/json': components['schemas']['
|
|
13600
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
15141
13601
|
};
|
|
15142
13602
|
};
|
|
15143
13603
|
};
|
|
@@ -15357,217 +13817,11 @@ interface operations {
|
|
|
15357
13817
|
[name: string]: unknown;
|
|
15358
13818
|
};
|
|
15359
13819
|
content: {
|
|
15360
|
-
'application/json': components['schemas']['AlertResponse'];
|
|
15361
|
-
};
|
|
15362
|
-
};
|
|
15363
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
15364
|
-
401: {
|
|
15365
|
-
headers: {
|
|
15366
|
-
[name: string]: unknown;
|
|
15367
|
-
};
|
|
15368
|
-
content: {
|
|
15369
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
15370
|
-
};
|
|
15371
|
-
};
|
|
15372
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
15373
|
-
403: {
|
|
15374
|
-
headers: {
|
|
15375
|
-
[name: string]: unknown;
|
|
15376
|
-
};
|
|
15377
|
-
content: {
|
|
15378
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
15379
|
-
};
|
|
15380
|
-
};
|
|
15381
|
-
/** @description No such alert in your account. */
|
|
15382
|
-
404: {
|
|
15383
|
-
headers: {
|
|
15384
|
-
[name: string]: unknown;
|
|
15385
|
-
};
|
|
15386
|
-
content: {
|
|
15387
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
15388
|
-
};
|
|
15389
|
-
};
|
|
15390
|
-
/** @description Validation Error */
|
|
15391
|
-
422: {
|
|
15392
|
-
headers: {
|
|
15393
|
-
[name: string]: unknown;
|
|
15394
|
-
};
|
|
15395
|
-
content: {
|
|
15396
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
15397
|
-
};
|
|
15398
|
-
};
|
|
15399
|
-
};
|
|
15400
|
-
};
|
|
15401
|
-
dismiss_alert: {
|
|
15402
|
-
parameters: {
|
|
15403
|
-
query?: never;
|
|
15404
|
-
header?: {
|
|
15405
|
-
'user-agent'?: string | null;
|
|
15406
|
-
};
|
|
15407
|
-
path: {
|
|
15408
|
-
id: string;
|
|
15409
|
-
};
|
|
15410
|
-
cookie?: never;
|
|
15411
|
-
};
|
|
15412
|
-
requestBody?: never;
|
|
15413
|
-
responses: {
|
|
15414
|
-
/** @description Successful Response */
|
|
15415
|
-
200: {
|
|
15416
|
-
headers: {
|
|
15417
|
-
[name: string]: unknown;
|
|
15418
|
-
};
|
|
15419
|
-
content: {
|
|
15420
|
-
'application/json': components['schemas']['AlertResponse'];
|
|
15421
|
-
};
|
|
15422
|
-
};
|
|
15423
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
15424
|
-
401: {
|
|
15425
|
-
headers: {
|
|
15426
|
-
[name: string]: unknown;
|
|
15427
|
-
};
|
|
15428
|
-
content: {
|
|
15429
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
15430
|
-
};
|
|
15431
|
-
};
|
|
15432
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
15433
|
-
403: {
|
|
15434
|
-
headers: {
|
|
15435
|
-
[name: string]: unknown;
|
|
15436
|
-
};
|
|
15437
|
-
content: {
|
|
15438
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
15439
|
-
};
|
|
15440
|
-
};
|
|
15441
|
-
/** @description No such alert in your account. */
|
|
15442
|
-
404: {
|
|
15443
|
-
headers: {
|
|
15444
|
-
[name: string]: unknown;
|
|
15445
|
-
};
|
|
15446
|
-
content: {
|
|
15447
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
15448
|
-
};
|
|
15449
|
-
};
|
|
15450
|
-
/** @description The alert is not open. */
|
|
15451
|
-
409: {
|
|
15452
|
-
headers: {
|
|
15453
|
-
[name: string]: unknown;
|
|
15454
|
-
};
|
|
15455
|
-
content: {
|
|
15456
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
15457
|
-
};
|
|
15458
|
-
};
|
|
15459
|
-
/** @description Validation Error */
|
|
15460
|
-
422: {
|
|
15461
|
-
headers: {
|
|
15462
|
-
[name: string]: unknown;
|
|
15463
|
-
};
|
|
15464
|
-
content: {
|
|
15465
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
15466
|
-
};
|
|
15467
|
-
};
|
|
15468
|
-
};
|
|
15469
|
-
};
|
|
15470
|
-
get_analytics_metrics: {
|
|
15471
|
-
parameters: {
|
|
15472
|
-
query?: {
|
|
15473
|
-
days?: number | null;
|
|
15474
|
-
start?: string | null;
|
|
15475
|
-
end?: string | null;
|
|
15476
|
-
/** @description Filter to repositories by "owner/name". */
|
|
15477
|
-
repo?: string[] | null;
|
|
15478
|
-
/** @description Filter by PR-author login(s). */
|
|
15479
|
-
author?: string[] | null;
|
|
15480
|
-
account_type?: string;
|
|
15481
|
-
/** @description Filter by parent-PR status (open|draft|merged|closed). */
|
|
15482
|
-
status?: string[] | null;
|
|
15483
|
-
};
|
|
15484
|
-
header?: {
|
|
15485
|
-
'user-agent'?: string | null;
|
|
15486
|
-
};
|
|
15487
|
-
path?: never;
|
|
15488
|
-
cookie?: never;
|
|
15489
|
-
};
|
|
15490
|
-
requestBody?: never;
|
|
15491
|
-
responses: {
|
|
15492
|
-
/** @description Successful Response */
|
|
15493
|
-
200: {
|
|
15494
|
-
headers: {
|
|
15495
|
-
[name: string]: unknown;
|
|
15496
|
-
};
|
|
15497
|
-
content: {
|
|
15498
|
-
'application/json': components['schemas']['GetAnalyticsMetricsResponse'];
|
|
15499
|
-
};
|
|
15500
|
-
};
|
|
15501
|
-
/** @description The time window is invalid: days combined with start, a non-positive days, or end not after start. */
|
|
15502
|
-
400: {
|
|
15503
|
-
headers: {
|
|
15504
|
-
[name: string]: unknown;
|
|
15505
|
-
};
|
|
15506
|
-
content: {
|
|
15507
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
15508
|
-
};
|
|
15509
|
-
};
|
|
15510
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
15511
|
-
401: {
|
|
15512
|
-
headers: {
|
|
15513
|
-
[name: string]: unknown;
|
|
15514
|
-
};
|
|
15515
|
-
content: {
|
|
15516
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
15517
|
-
};
|
|
15518
|
-
};
|
|
15519
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
15520
|
-
403: {
|
|
15521
|
-
headers: {
|
|
15522
|
-
[name: string]: unknown;
|
|
15523
|
-
};
|
|
15524
|
-
content: {
|
|
15525
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
15526
|
-
};
|
|
15527
|
-
};
|
|
15528
|
-
/** @description Validation Error */
|
|
15529
|
-
422: {
|
|
15530
|
-
headers: {
|
|
15531
|
-
[name: string]: unknown;
|
|
15532
|
-
};
|
|
15533
|
-
content: {
|
|
15534
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
15535
|
-
};
|
|
15536
|
-
};
|
|
15537
|
-
};
|
|
15538
|
-
};
|
|
15539
|
-
get_analytics_pull_requests: {
|
|
15540
|
-
parameters: {
|
|
15541
|
-
query?: {
|
|
15542
|
-
days?: number | null;
|
|
15543
|
-
start?: string | null;
|
|
15544
|
-
end?: string | null;
|
|
15545
|
-
/** @description Filter to repositories by "owner/name". */
|
|
15546
|
-
repo?: string[] | null;
|
|
15547
|
-
/** @description Filter by PR-author login(s). */
|
|
15548
|
-
author?: string[] | null;
|
|
15549
|
-
account_type?: string;
|
|
15550
|
-
status?: string[] | null;
|
|
15551
|
-
};
|
|
15552
|
-
header?: {
|
|
15553
|
-
'user-agent'?: string | null;
|
|
15554
|
-
};
|
|
15555
|
-
path?: never;
|
|
15556
|
-
cookie?: never;
|
|
15557
|
-
};
|
|
15558
|
-
requestBody?: never;
|
|
15559
|
-
responses: {
|
|
15560
|
-
/** @description Successful Response */
|
|
15561
|
-
200: {
|
|
15562
|
-
headers: {
|
|
15563
|
-
[name: string]: unknown;
|
|
15564
|
-
};
|
|
15565
|
-
content: {
|
|
15566
|
-
'application/json': components['schemas']['GetAnalyticsPullRequestsResponse'];
|
|
13820
|
+
'application/json': components['schemas']['AlertResponse'];
|
|
15567
13821
|
};
|
|
15568
13822
|
};
|
|
15569
|
-
/** @description The
|
|
15570
|
-
|
|
13823
|
+
/** @description The bearer token is missing, invalid, or revoked. */
|
|
13824
|
+
401: {
|
|
15571
13825
|
headers: {
|
|
15572
13826
|
[name: string]: unknown;
|
|
15573
13827
|
};
|
|
@@ -15575,8 +13829,8 @@ interface operations {
|
|
|
15575
13829
|
'application/json': components['schemas']['ErrorResponse'];
|
|
15576
13830
|
};
|
|
15577
13831
|
};
|
|
15578
|
-
/** @description The
|
|
15579
|
-
|
|
13832
|
+
/** @description The credential may not perform this action, or the account is blocked. */
|
|
13833
|
+
403: {
|
|
15580
13834
|
headers: {
|
|
15581
13835
|
[name: string]: unknown;
|
|
15582
13836
|
};
|
|
@@ -15584,8 +13838,8 @@ interface operations {
|
|
|
15584
13838
|
'application/json': components['schemas']['ErrorResponse'];
|
|
15585
13839
|
};
|
|
15586
13840
|
};
|
|
15587
|
-
/** @description
|
|
15588
|
-
|
|
13841
|
+
/** @description No such alert in your account. */
|
|
13842
|
+
404: {
|
|
15589
13843
|
headers: {
|
|
15590
13844
|
[name: string]: unknown;
|
|
15591
13845
|
};
|
|
@@ -15604,22 +13858,15 @@ interface operations {
|
|
|
15604
13858
|
};
|
|
15605
13859
|
};
|
|
15606
13860
|
};
|
|
15607
|
-
|
|
13861
|
+
dismiss_alert: {
|
|
15608
13862
|
parameters: {
|
|
15609
|
-
query?:
|
|
15610
|
-
days?: number | null;
|
|
15611
|
-
start?: string | null;
|
|
15612
|
-
end?: string | null;
|
|
15613
|
-
repo?: string[] | null;
|
|
15614
|
-
/** @description Filter by reviewer login(s). */
|
|
15615
|
-
author?: string[] | null;
|
|
15616
|
-
account_type?: string;
|
|
15617
|
-
review_state?: string[] | null;
|
|
15618
|
-
};
|
|
13863
|
+
query?: never;
|
|
15619
13864
|
header?: {
|
|
15620
13865
|
'user-agent'?: string | null;
|
|
15621
13866
|
};
|
|
15622
|
-
path
|
|
13867
|
+
path: {
|
|
13868
|
+
id: string;
|
|
13869
|
+
};
|
|
15623
13870
|
cookie?: never;
|
|
15624
13871
|
};
|
|
15625
13872
|
requestBody?: never;
|
|
@@ -15630,11 +13877,11 @@ interface operations {
|
|
|
15630
13877
|
[name: string]: unknown;
|
|
15631
13878
|
};
|
|
15632
13879
|
content: {
|
|
15633
|
-
'application/json': components['schemas']['
|
|
13880
|
+
'application/json': components['schemas']['AlertResponse'];
|
|
15634
13881
|
};
|
|
15635
13882
|
};
|
|
15636
|
-
/** @description The
|
|
15637
|
-
|
|
13883
|
+
/** @description The bearer token is missing, invalid, or revoked. */
|
|
13884
|
+
401: {
|
|
15638
13885
|
headers: {
|
|
15639
13886
|
[name: string]: unknown;
|
|
15640
13887
|
};
|
|
@@ -15642,8 +13889,8 @@ interface operations {
|
|
|
15642
13889
|
'application/json': components['schemas']['ErrorResponse'];
|
|
15643
13890
|
};
|
|
15644
13891
|
};
|
|
15645
|
-
/** @description The
|
|
15646
|
-
|
|
13892
|
+
/** @description The credential may not perform this action, or the account is blocked. */
|
|
13893
|
+
403: {
|
|
15647
13894
|
headers: {
|
|
15648
13895
|
[name: string]: unknown;
|
|
15649
13896
|
};
|
|
@@ -15651,8 +13898,17 @@ interface operations {
|
|
|
15651
13898
|
'application/json': components['schemas']['ErrorResponse'];
|
|
15652
13899
|
};
|
|
15653
13900
|
};
|
|
15654
|
-
/** @description
|
|
15655
|
-
|
|
13901
|
+
/** @description No such alert in your account. */
|
|
13902
|
+
404: {
|
|
13903
|
+
headers: {
|
|
13904
|
+
[name: string]: unknown;
|
|
13905
|
+
};
|
|
13906
|
+
content: {
|
|
13907
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
13908
|
+
};
|
|
13909
|
+
};
|
|
13910
|
+
/** @description The alert is not open. */
|
|
13911
|
+
409: {
|
|
15656
13912
|
headers: {
|
|
15657
13913
|
[name: string]: unknown;
|
|
15658
13914
|
};
|
|
@@ -16149,11 +14405,11 @@ interface operations {
|
|
|
16149
14405
|
};
|
|
16150
14406
|
get_handler_metrics: {
|
|
16151
14407
|
parameters: {
|
|
16152
|
-
query
|
|
14408
|
+
query: {
|
|
16153
14409
|
/** @description Inclusive session creation-time bound. Naive timestamps use UTC. */
|
|
16154
|
-
start
|
|
14410
|
+
start: string;
|
|
16155
14411
|
/** @description Exclusive session creation-time bound. Naive timestamps use UTC. */
|
|
16156
|
-
end
|
|
14412
|
+
end: string;
|
|
16157
14413
|
};
|
|
16158
14414
|
header?: {
|
|
16159
14415
|
'user-agent'?: string | null;
|
|
@@ -16886,55 +15142,6 @@ interface operations {
|
|
|
16886
15142
|
};
|
|
16887
15143
|
};
|
|
16888
15144
|
};
|
|
16889
|
-
create_operations_channel: {
|
|
16890
|
-
parameters: {
|
|
16891
|
-
query?: never;
|
|
16892
|
-
header?: {
|
|
16893
|
-
'user-agent'?: string | null;
|
|
16894
|
-
};
|
|
16895
|
-
path?: never;
|
|
16896
|
-
cookie?: never;
|
|
16897
|
-
};
|
|
16898
|
-
requestBody?: never;
|
|
16899
|
-
responses: {
|
|
16900
|
-
/** @description Successful Response */
|
|
16901
|
-
200: {
|
|
16902
|
-
headers: {
|
|
16903
|
-
[name: string]: unknown;
|
|
16904
|
-
};
|
|
16905
|
-
content: {
|
|
16906
|
-
'application/json': components['schemas']['SlackChannel'];
|
|
16907
|
-
};
|
|
16908
|
-
};
|
|
16909
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
16910
|
-
401: {
|
|
16911
|
-
headers: {
|
|
16912
|
-
[name: string]: unknown;
|
|
16913
|
-
};
|
|
16914
|
-
content: {
|
|
16915
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
16916
|
-
};
|
|
16917
|
-
};
|
|
16918
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
16919
|
-
403: {
|
|
16920
|
-
headers: {
|
|
16921
|
-
[name: string]: unknown;
|
|
16922
|
-
};
|
|
16923
|
-
content: {
|
|
16924
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
16925
|
-
};
|
|
16926
|
-
};
|
|
16927
|
-
/** @description Validation Error */
|
|
16928
|
-
422: {
|
|
16929
|
-
headers: {
|
|
16930
|
-
[name: string]: unknown;
|
|
16931
|
-
};
|
|
16932
|
-
content: {
|
|
16933
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
16934
|
-
};
|
|
16935
|
-
};
|
|
16936
|
-
};
|
|
16937
|
-
};
|
|
16938
15145
|
list_reviews: {
|
|
16939
15146
|
parameters: {
|
|
16940
15147
|
query?: {
|
|
@@ -17415,75 +15622,6 @@ interface operations {
|
|
|
17415
15622
|
};
|
|
17416
15623
|
};
|
|
17417
15624
|
};
|
|
17418
|
-
search_sessions: {
|
|
17419
|
-
parameters: {
|
|
17420
|
-
query: {
|
|
17421
|
-
q: string;
|
|
17422
|
-
scope?: components['schemas']['SessionSearchScope'];
|
|
17423
|
-
source?: components['schemas']['SessionSource'][] | null;
|
|
17424
|
-
/** @description Service whose mention or event started the session. */
|
|
17425
|
-
service?: components['schemas']['HandlerService'] | null;
|
|
17426
|
-
/** @description Exact saved handler id recorded when the session started. */
|
|
17427
|
-
handler?: string | null;
|
|
17428
|
-
/** @description Attributed GitHub user account ids. */
|
|
17429
|
-
author_id?: number[] | null;
|
|
17430
|
-
/** @description Saved agent ids (ORed with author_id). */
|
|
17431
|
-
agent_id?: string[] | null;
|
|
17432
|
-
session_ids?: string[] | null;
|
|
17433
|
-
/** @description "owner/name" (exact) or a bare repo name; ORed. */
|
|
17434
|
-
repo?: string[] | null;
|
|
17435
|
-
/** @description Keep only sessions in these statuses. */
|
|
17436
|
-
status?: components['schemas']['SessionStatus'][] | null;
|
|
17437
|
-
start?: string | null;
|
|
17438
|
-
end?: string | null;
|
|
17439
|
-
limit?: number;
|
|
17440
|
-
};
|
|
17441
|
-
header?: {
|
|
17442
|
-
'user-agent'?: string | null;
|
|
17443
|
-
};
|
|
17444
|
-
path?: never;
|
|
17445
|
-
cookie?: never;
|
|
17446
|
-
};
|
|
17447
|
-
requestBody?: never;
|
|
17448
|
-
responses: {
|
|
17449
|
-
/** @description Successful Response */
|
|
17450
|
-
200: {
|
|
17451
|
-
headers: {
|
|
17452
|
-
[name: string]: unknown;
|
|
17453
|
-
};
|
|
17454
|
-
content: {
|
|
17455
|
-
'application/json': components['schemas']['SessionSearchResponse'];
|
|
17456
|
-
};
|
|
17457
|
-
};
|
|
17458
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
17459
|
-
401: {
|
|
17460
|
-
headers: {
|
|
17461
|
-
[name: string]: unknown;
|
|
17462
|
-
};
|
|
17463
|
-
content: {
|
|
17464
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
17465
|
-
};
|
|
17466
|
-
};
|
|
17467
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
17468
|
-
403: {
|
|
17469
|
-
headers: {
|
|
17470
|
-
[name: string]: unknown;
|
|
17471
|
-
};
|
|
17472
|
-
content: {
|
|
17473
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
17474
|
-
};
|
|
17475
|
-
};
|
|
17476
|
-
/** @description Validation Error */
|
|
17477
|
-
422: {
|
|
17478
|
-
headers: {
|
|
17479
|
-
[name: string]: unknown;
|
|
17480
|
-
};
|
|
17481
|
-
content: {
|
|
17482
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
17483
|
-
};
|
|
17484
|
-
};
|
|
17485
|
-
};
|
|
17486
|
-
};
|
|
17487
15625
|
get_sessions_stream_ticket: {
|
|
17488
15626
|
parameters: {
|
|
17489
15627
|
query?: never;
|
|
@@ -17646,6 +15784,15 @@ interface operations {
|
|
|
17646
15784
|
'application/json': components['schemas']['ErrorResponse'];
|
|
17647
15785
|
};
|
|
17648
15786
|
};
|
|
15787
|
+
/** @description A newer session now answers the archived session's Slack thread, pull request, or issue. */
|
|
15788
|
+
409: {
|
|
15789
|
+
headers: {
|
|
15790
|
+
[name: string]: unknown;
|
|
15791
|
+
};
|
|
15792
|
+
content: {
|
|
15793
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
15794
|
+
};
|
|
15795
|
+
};
|
|
17649
15796
|
/** @description Validation Error */
|
|
17650
15797
|
422: {
|
|
17651
15798
|
headers: {
|
|
@@ -17941,7 +16088,7 @@ interface operations {
|
|
|
17941
16088
|
'application/json': components['schemas']['ErrorResponse'];
|
|
17942
16089
|
};
|
|
17943
16090
|
};
|
|
17944
|
-
/** @description The session cannot be messaged: it is closed, non-interactive, or steered from its triggering surface (mention). */
|
|
16091
|
+
/** @description The session cannot be messaged: it is closed, archived, non-interactive, or steered from its triggering surface (mention). */
|
|
17945
16092
|
409: {
|
|
17946
16093
|
headers: {
|
|
17947
16094
|
[name: string]: unknown;
|
|
@@ -18197,22 +16344,19 @@ interface operations {
|
|
|
18197
16344
|
};
|
|
18198
16345
|
};
|
|
18199
16346
|
};
|
|
18200
|
-
|
|
16347
|
+
get_session_image: {
|
|
18201
16348
|
parameters: {
|
|
18202
16349
|
query?: never;
|
|
18203
16350
|
header?: {
|
|
18204
16351
|
'user-agent'?: string | null;
|
|
18205
16352
|
};
|
|
18206
16353
|
path: {
|
|
16354
|
+
session_id: string;
|
|
18207
16355
|
id: string;
|
|
18208
16356
|
};
|
|
18209
16357
|
cookie?: never;
|
|
18210
16358
|
};
|
|
18211
|
-
requestBody
|
|
18212
|
-
content: {
|
|
18213
|
-
'application/json': components['schemas']['IngestTranscriptRequest'];
|
|
18214
|
-
};
|
|
18215
|
-
};
|
|
16359
|
+
requestBody?: never;
|
|
18216
16360
|
responses: {
|
|
18217
16361
|
/** @description Successful Response */
|
|
18218
16362
|
200: {
|
|
@@ -18220,7 +16364,7 @@ interface operations {
|
|
|
18220
16364
|
[name: string]: unknown;
|
|
18221
16365
|
};
|
|
18222
16366
|
content: {
|
|
18223
|
-
'application/json': components['schemas']['
|
|
16367
|
+
'application/json': components['schemas']['ImageAttachment'];
|
|
18224
16368
|
};
|
|
18225
16369
|
};
|
|
18226
16370
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -18241,7 +16385,7 @@ interface operations {
|
|
|
18241
16385
|
'application/json': components['schemas']['ErrorResponse'];
|
|
18242
16386
|
};
|
|
18243
16387
|
};
|
|
18244
|
-
/** @description No such session in your account. */
|
|
16388
|
+
/** @description No such session or image in your account. */
|
|
18245
16389
|
404: {
|
|
18246
16390
|
headers: {
|
|
18247
16391
|
[name: string]: unknown;
|
|
@@ -18250,15 +16394,6 @@ interface operations {
|
|
|
18250
16394
|
'application/json': components['schemas']['ErrorResponse'];
|
|
18251
16395
|
};
|
|
18252
16396
|
};
|
|
18253
|
-
/** @description No turn has started yet. */
|
|
18254
|
-
409: {
|
|
18255
|
-
headers: {
|
|
18256
|
-
[name: string]: unknown;
|
|
18257
|
-
};
|
|
18258
|
-
content: {
|
|
18259
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
18260
|
-
};
|
|
18261
|
-
};
|
|
18262
16397
|
/** @description Validation Error */
|
|
18263
16398
|
422: {
|
|
18264
16399
|
headers: {
|
|
@@ -18270,7 +16405,7 @@ interface operations {
|
|
|
18270
16405
|
};
|
|
18271
16406
|
};
|
|
18272
16407
|
};
|
|
18273
|
-
|
|
16408
|
+
get_user_settings: {
|
|
18274
16409
|
parameters: {
|
|
18275
16410
|
query?: never;
|
|
18276
16411
|
header?: {
|
|
@@ -18287,60 +16422,7 @@ interface operations {
|
|
|
18287
16422
|
[name: string]: unknown;
|
|
18288
16423
|
};
|
|
18289
16424
|
content: {
|
|
18290
|
-
'application/json': components['schemas']['
|
|
18291
|
-
};
|
|
18292
|
-
};
|
|
18293
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
18294
|
-
401: {
|
|
18295
|
-
headers: {
|
|
18296
|
-
[name: string]: unknown;
|
|
18297
|
-
};
|
|
18298
|
-
content: {
|
|
18299
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
18300
|
-
};
|
|
18301
|
-
};
|
|
18302
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
18303
|
-
403: {
|
|
18304
|
-
headers: {
|
|
18305
|
-
[name: string]: unknown;
|
|
18306
|
-
};
|
|
18307
|
-
content: {
|
|
18308
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
18309
|
-
};
|
|
18310
|
-
};
|
|
18311
|
-
/** @description Validation Error */
|
|
18312
|
-
422: {
|
|
18313
|
-
headers: {
|
|
18314
|
-
[name: string]: unknown;
|
|
18315
|
-
};
|
|
18316
|
-
content: {
|
|
18317
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
18318
|
-
};
|
|
18319
|
-
};
|
|
18320
|
-
};
|
|
18321
|
-
};
|
|
18322
|
-
request_slack_help: {
|
|
18323
|
-
parameters: {
|
|
18324
|
-
query?: never;
|
|
18325
|
-
header?: {
|
|
18326
|
-
'user-agent'?: string | null;
|
|
18327
|
-
};
|
|
18328
|
-
path?: never;
|
|
18329
|
-
cookie?: never;
|
|
18330
|
-
};
|
|
18331
|
-
requestBody: {
|
|
18332
|
-
content: {
|
|
18333
|
-
'application/json': components['schemas']['SlackHelpRequest'];
|
|
18334
|
-
};
|
|
18335
|
-
};
|
|
18336
|
-
responses: {
|
|
18337
|
-
/** @description Successful Response */
|
|
18338
|
-
201: {
|
|
18339
|
-
headers: {
|
|
18340
|
-
[name: string]: unknown;
|
|
18341
|
-
};
|
|
18342
|
-
content: {
|
|
18343
|
-
'application/json': components['schemas']['SlackHelpResponse'];
|
|
16425
|
+
'application/json': components['schemas']['UserSettings'];
|
|
18344
16426
|
};
|
|
18345
16427
|
};
|
|
18346
16428
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -18372,7 +16454,7 @@ interface operations {
|
|
|
18372
16454
|
};
|
|
18373
16455
|
};
|
|
18374
16456
|
};
|
|
18375
|
-
|
|
16457
|
+
patch_user_settings: {
|
|
18376
16458
|
parameters: {
|
|
18377
16459
|
query?: never;
|
|
18378
16460
|
header?: {
|
|
@@ -18383,7 +16465,7 @@ interface operations {
|
|
|
18383
16465
|
};
|
|
18384
16466
|
requestBody: {
|
|
18385
16467
|
content: {
|
|
18386
|
-
'application/json': components['schemas']['
|
|
16468
|
+
'application/json': components['schemas']['PatchUserSettingsRequest'];
|
|
18387
16469
|
};
|
|
18388
16470
|
};
|
|
18389
16471
|
responses: {
|
|
@@ -18393,7 +16475,7 @@ interface operations {
|
|
|
18393
16475
|
[name: string]: unknown;
|
|
18394
16476
|
};
|
|
18395
16477
|
content: {
|
|
18396
|
-
'application/json': components['schemas']['
|
|
16478
|
+
'application/json': components['schemas']['UserSettings'];
|
|
18397
16479
|
};
|
|
18398
16480
|
};
|
|
18399
16481
|
/** @description The bearer token is missing, invalid, or revoked. */
|
|
@@ -19468,7 +17550,7 @@ type Session = {
|
|
|
19468
17550
|
*/
|
|
19469
17551
|
agent: SessionAgent | null;
|
|
19470
17552
|
/**
|
|
19471
|
-
* When and by whom the session was archived
|
|
17553
|
+
* When and by whom the session was archived, or null when it isn't. A session is archived when it closes, after the account's archive_inactive_sessions_days without a message, or by PUT /v1/sessions/{id}. An archived session takes no messages, and a reply on the Slack thread, pull request, issue, or Linear issue it answers starts a new session.
|
|
19472
17554
|
*/
|
|
19473
17555
|
archived: SessionArchived | null;
|
|
19474
17556
|
attribution: SessionAttribution;
|
|
@@ -19484,6 +17566,10 @@ type Session = {
|
|
|
19484
17566
|
* Codex input and native options. Set exactly one of claude_code, codex, or gemini.
|
|
19485
17567
|
*/
|
|
19486
17568
|
codex: CodexConfig | null;
|
|
17569
|
+
/**
|
|
17570
|
+
* When session log retention deleted the session's records, messages, and prompt, or null. The session's status, cost, tokens, and summary stay.
|
|
17571
|
+
*/
|
|
17572
|
+
content_deleted_at: string | null;
|
|
19487
17573
|
conversation: SessionConversation;
|
|
19488
17574
|
cost: Cost;
|
|
19489
17575
|
/**
|
|
@@ -19530,6 +17616,10 @@ type Session = {
|
|
|
19530
17616
|
*/
|
|
19531
17617
|
parent: SessionParent | null;
|
|
19532
17618
|
permissions: PermissionsConfig1;
|
|
17619
|
+
/**
|
|
17620
|
+
* The code review this session ran for; null unless the source is `code_review`.
|
|
17621
|
+
*/
|
|
17622
|
+
review: SessionReview | null;
|
|
19533
17623
|
/**
|
|
19534
17624
|
* Skills installed for this session.
|
|
19535
17625
|
*/
|
|
@@ -19545,6 +17635,10 @@ type Session = {
|
|
|
19545
17635
|
* When the session was last updated.
|
|
19546
17636
|
*/
|
|
19547
17637
|
updated_at: string;
|
|
17638
|
+
/**
|
|
17639
|
+
* Milliseconds from when the session was created to when it started, including any time it waited because your account already had its limit of sessions alive. Null until the session starts, and for sessions created before this field was added.
|
|
17640
|
+
*/
|
|
17641
|
+
wait_ms: number | null;
|
|
19548
17642
|
} & ({
|
|
19549
17643
|
claude_code: {
|
|
19550
17644
|
[k: string]: unknown;
|
|
@@ -19646,7 +17740,11 @@ type RepositoryFilter = {
|
|
|
19646
17740
|
*/
|
|
19647
17741
|
type CheckSuiteAction = 'passed' | 'failed' | 'timed_out' | 'cancelled' | 'skipped' | 'neutral' | 'action_required' | 'stale' | 'startup_failure';
|
|
19648
17742
|
type IssueAction = 'opened' | 'closed' | 'commented';
|
|
19649
|
-
type
|
|
17743
|
+
type LinearValueFilter = {
|
|
17744
|
+
exclude: string[];
|
|
17745
|
+
include: string[];
|
|
17746
|
+
} | string[] | string;
|
|
17747
|
+
type LinearIssueAction = 'opened' | 'updated';
|
|
19650
17748
|
type PullRequestAction = 'opened' | 'pushed' | 'merged' | 'closed' | 'review_submitted' | 'commented';
|
|
19651
17749
|
/**
|
|
19652
17750
|
* What happened to a GitHub release. `published` is the one moment a
|
|
@@ -19668,7 +17766,7 @@ type AttributionType = 'github_user' | 'linear_user' | 'slack_user' | 'api_key';
|
|
|
19668
17766
|
/**
|
|
19669
17767
|
* Why direct prompting is refused. Absent when prompting is allowed.
|
|
19670
17768
|
*/
|
|
19671
|
-
type PromptBlockedReason = 'mention_surface' | 'non_interactive' | 'harness_single_turn' | 'budget_exhausted' | 'closed';
|
|
17769
|
+
type PromptBlockedReason = 'mention_surface' | 'non_interactive' | 'harness_single_turn' | 'budget_exhausted' | 'closed' | 'archived';
|
|
19672
17770
|
/**
|
|
19673
17771
|
* How a session's environment was chosen. None (the field is nullable)
|
|
19674
17772
|
* when the config carried an inline environment block and no resolution ran —
|
|
@@ -19694,6 +17792,10 @@ type SessionSource = 'react' | 'code_review' | 'web' | 'api' | 'cli' | 'mention'
|
|
|
19694
17792
|
* Where the session is. A message you sent is answered once the status is `idle` or `closed`; its `message_ended` record in GET /v1/sessions/{id}/records says how.
|
|
19695
17793
|
*/
|
|
19696
17794
|
type SessionStatus = 'queued' | 'preparing' | 'running' | 'idle' | 'closed';
|
|
17795
|
+
/**
|
|
17796
|
+
* Where this summary came from. `prompt` is the first line of the prompt the session started with, `generated` is written by Ellipsis as the session runs, and `user` was set by a person and is never replaced by a generated one.
|
|
17797
|
+
*/
|
|
17798
|
+
type SessionSummarySource = 'prompt' | 'generated' | 'user';
|
|
19697
17799
|
type SessionRecord$1 = ClaudeSessionRecord | ClaudeNativeSessionRecord | CodexSessionRecord | CodexAppServerSessionRecord | GeminiSessionRecord | PlatformSessionRecord | UnknownSessionRecord;
|
|
19698
17800
|
type CodexAppServerNotification = CodexThreadStarted | CodexTurnStarted | CodexTurnCompleted | CodexItemStarted | CodexItemCompleted | CodexTokenUsageUpdated | CodexAppServerError;
|
|
19699
17801
|
type CodexAppServerItem = CodexUserMessage | CodexAgentMessage | CodexReasoning | CodexPlan | CodexCommandExecution | CodexFileChange | CodexWebSearch | CodexMcpToolCall | CodexContextCompaction | CodexSubAgentActivity | CodexCollabAgentToolCall;
|
|
@@ -20223,9 +18325,53 @@ interface ReactIssue {
|
|
|
20223
18325
|
on: IssueAction[];
|
|
20224
18326
|
repositories: RepositoryFilter;
|
|
20225
18327
|
}
|
|
18328
|
+
/**
|
|
18329
|
+
* A Linear issue being created (`opened`) or changed (`updated`). An
|
|
18330
|
+
* `updated` event fires only when every field under `changed` changed in
|
|
18331
|
+
* one edit. `team`, `state`, `labels`, `project`, `assignee`, and
|
|
18332
|
+
* `priority` filter on the issue as it is after the event. `state` matches
|
|
18333
|
+
* a status name or a status type. `for` is the person who created or
|
|
18334
|
+
* changed the issue.
|
|
18335
|
+
*/
|
|
20226
18336
|
interface ReactLinearIssue {
|
|
18337
|
+
assignee: LinearValueFilter | null;
|
|
18338
|
+
changed: LinearIssueChanged | null;
|
|
20227
18339
|
for: GithubAccountSelector;
|
|
18340
|
+
labels: LinearValueFilter | null;
|
|
20228
18341
|
on: LinearIssueAction[];
|
|
18342
|
+
priority: LinearValueFilter | null;
|
|
18343
|
+
project: LinearValueFilter | null;
|
|
18344
|
+
state: LinearValueFilter | null;
|
|
18345
|
+
team: LinearValueFilter | null;
|
|
18346
|
+
}
|
|
18347
|
+
/**
|
|
18348
|
+
* The fields an `updated` event watches. Every listed field must change in
|
|
18349
|
+
* the same edit.
|
|
18350
|
+
*/
|
|
18351
|
+
interface LinearIssueChanged {
|
|
18352
|
+
assignee: LinearValueChange | null;
|
|
18353
|
+
labels: LinearLabelsChange | null;
|
|
18354
|
+
priority: LinearValueChange | null;
|
|
18355
|
+
project: LinearValueChange | null;
|
|
18356
|
+
state: LinearValueChange | null;
|
|
18357
|
+
}
|
|
18358
|
+
/**
|
|
18359
|
+
* A change to one issue field. `from` matches the value before the change
|
|
18360
|
+
* and `to` the value after it. Leaving either out matches any value, so `{}`
|
|
18361
|
+
* is any change to the field.
|
|
18362
|
+
*/
|
|
18363
|
+
interface LinearValueChange {
|
|
18364
|
+
from: LinearValueFilter | null;
|
|
18365
|
+
to: LinearValueFilter | null;
|
|
18366
|
+
}
|
|
18367
|
+
/**
|
|
18368
|
+
* A change to the issue's labels. `added` matches when a listed label was
|
|
18369
|
+
* added and `removed` when a listed label was removed. `{}` is any label
|
|
18370
|
+
* change.
|
|
18371
|
+
*/
|
|
18372
|
+
interface LinearLabelsChange {
|
|
18373
|
+
added: LinearValueFilter | null;
|
|
18374
|
+
removed: LinearValueFilter | null;
|
|
20229
18375
|
}
|
|
20230
18376
|
interface ReactPullRequest {
|
|
20231
18377
|
base: string[];
|
|
@@ -20296,6 +18442,10 @@ interface SessionArchived {
|
|
|
20296
18442
|
* The GitHub user who archived the session; null if unknown or unavailable.
|
|
20297
18443
|
*/
|
|
20298
18444
|
by: GithubAccountSnippet | null;
|
|
18445
|
+
/**
|
|
18446
|
+
* When the session's records and messages are deleted, from the account's current session log retention. It moves when the retention changes. Null when the account keeps them or they're already deleted.
|
|
18447
|
+
*/
|
|
18448
|
+
deletes_at: string | null;
|
|
20299
18449
|
}
|
|
20300
18450
|
/**
|
|
20301
18451
|
* Sometimes the GitHub API returns a user of github (can include bots)
|
|
@@ -20765,6 +18915,15 @@ interface PermissionsConfig1 {
|
|
|
20765
18915
|
ellipsis: (true | 'all') | EllipsisPermissions;
|
|
20766
18916
|
github: GithubPermissions;
|
|
20767
18917
|
}
|
|
18918
|
+
/**
|
|
18919
|
+
* The code review a reviewer session ran for.
|
|
18920
|
+
*/
|
|
18921
|
+
interface SessionReview {
|
|
18922
|
+
/**
|
|
18923
|
+
* Identifier of the code review.
|
|
18924
|
+
*/
|
|
18925
|
+
id: string;
|
|
18926
|
+
}
|
|
20768
18927
|
/**
|
|
20769
18928
|
* A live one-line summary of what the session is doing, refreshed
|
|
20770
18929
|
* every few steps while it runs.
|
|
@@ -20778,6 +18937,7 @@ interface SessionSummary {
|
|
|
20778
18937
|
* One-line description of what the session is doing.
|
|
20779
18938
|
*/
|
|
20780
18939
|
description: string;
|
|
18940
|
+
source: SessionSummarySource;
|
|
20781
18941
|
}
|
|
20782
18942
|
/**
|
|
20783
18943
|
* Tokens used, in total and by model.
|
|
@@ -21818,6 +19978,10 @@ interface SessionMessage {
|
|
|
21818
19978
|
* `[Image #N]` placeholder in the message body.
|
|
21819
19979
|
*/
|
|
21820
19980
|
interface SessionMessageImage {
|
|
19981
|
+
/**
|
|
19982
|
+
* The image's ID. `GET /v1/sessions/{session_id}/images/{id}` returns its bytes. Null when the image can't be fetched.
|
|
19983
|
+
*/
|
|
19984
|
+
id?: string | null;
|
|
21821
19985
|
/**
|
|
21822
19986
|
* 1-based position: the N in `[Image #N]`.
|
|
21823
19987
|
*/
|
|
@@ -22275,11 +20439,10 @@ type SessionsListResponse = components['schemas']['SessionsListResponse'];
|
|
|
22275
20439
|
type Review = components['schemas']['Review'];
|
|
22276
20440
|
type ReviewSummary = components['schemas']['ReviewSummary'];
|
|
22277
20441
|
type ReviewReviewer = components['schemas']['ReviewReviewer'];
|
|
22278
|
-
type
|
|
22279
|
-
type ReviewPullRequestAuthor = components['schemas']['ReviewPullRequestAuthor'];
|
|
20442
|
+
type PullRequest = components['schemas']['PullRequest'];
|
|
22280
20443
|
type ReviewComment = components['schemas']['ReviewComment'];
|
|
22281
20444
|
type ReviewsListResponse = components['schemas']['ReviewsListResponse'];
|
|
22282
20445
|
type ReviewConfig = components['schemas']['ReviewConfig'];
|
|
22283
20446
|
type ReviewConfigsListResponse = components['schemas']['ReviewConfigsListResponse'];
|
|
22284
20447
|
|
|
22285
|
-
export type { CodexMcpToolCallResult as $, AgentConfig as A, BudgetConfig as B, CheckRunAction as C, CodexCommandExecution as D, CodexCommandExecutionItem as E, CodexConfig as F, CodexContextCompaction as G, CodexEffortLevel as H, CodexErrorEvent as I, CodexErrorItem as J, CodexErrorParams as K, CodexEvent as L, CodexFileChange as M, CodexFileChangeItem as N, CodexFileUpdate as O, CodexItem as P, CodexItemCompleted as Q, CodexItemCompletedEvent as R, CodexItemParams as S, CodexItemStarted as T, CodexItemStartedEvent as U, CodexItemUpdatedEvent as V, CodexLocalImageInput as W, CodexMcpToolCall as X, CodexMcpToolCallAppContext as Y, CodexMcpToolCallError as Z, CodexMcpToolCallItem as _, AgentIdentity as a, GeminiToolError as a$, CodexPlan as a0, CodexReasoning as a1, CodexReasoningItem as a2, CodexSessionRecord as a3, CodexSubAgentActivity as a4, CodexTextInput as a5, CodexThread as a6, CodexThreadStarted as a7, CodexThreadStartedEvent as a8, CodexThreadStartedParams as a9, EffortLevel as aA, EllipsisGrant as aB, EllipsisPermissions as aC, EnvironmentBaseBuild as aD, EnvironmentConfig as aE, EnvironmentHooks as aF, EnvironmentHooks1 as aG, EnvironmentOutputPayload as aH, EnvironmentOutputRecord as aI, EnvironmentPhasePayload as aJ, EnvironmentPhaseRecord as aK, EnvironmentReadyPayload as aL, EnvironmentReadyRecord as aM, EnvironmentScript as aN, EnvironmentSource as aO, EnvironmentVariable as aP, ErrorFrame as aQ, ErrorReason as aR, GeminiConfig as aS, GeminiErrorEvent as aT, GeminiInitEvent as aU, GeminiMessageEvent as aV, GeminiModelStats as aW, GeminiResultEvent as aX, GeminiSessionRecord as aY, GeminiStreamEvent as aZ, GeminiStreamStats as a_, CodexThreadTokenUsage as aa, CodexTodoListItem as ab, CodexTokenUsageBreakdown as ac, CodexTokenUsageParams as ad, CodexTokenUsageUpdated as ae, CodexTurn as af, CodexTurnCompleted as ag, CodexTurnCompletedEvent as ah, CodexTurnError as ai, CodexTurnFailedEvent as aj, CodexTurnParams as ak, CodexTurnStarted as al, CodexTurnStartedEvent as am, CodexUsage as an, CodexUserInput as ao, CodexUserMessage as ap, CodexWebSearch as aq, CodexWebSearchItem as ar, ComputeConfig as as, ComputeConfig1 as at, ConfigMetadata as au, Cost as av, Cost1 as aw, CronTrigger as ax, DeltaFrame as ay, Duration as az, AttributionType as b,
|
|
20448
|
+
export type { CodexMcpToolCallResult as $, AgentConfig as A, BudgetConfig as B, CheckRunAction as C, CodexCommandExecution as D, CodexCommandExecutionItem as E, CodexConfig as F, CodexContextCompaction as G, CodexEffortLevel as H, CodexErrorEvent as I, CodexErrorItem as J, CodexErrorParams as K, CodexEvent as L, CodexFileChange as M, CodexFileChangeItem as N, CodexFileUpdate as O, CodexItem as P, CodexItemCompleted as Q, CodexItemCompletedEvent as R, CodexItemParams as S, CodexItemStarted as T, CodexItemStartedEvent as U, CodexItemUpdatedEvent as V, CodexLocalImageInput as W, CodexMcpToolCall as X, CodexMcpToolCallAppContext as Y, CodexMcpToolCallError as Z, CodexMcpToolCallItem as _, AgentIdentity as a, GeminiToolError as a$, CodexPlan as a0, CodexReasoning as a1, CodexReasoningItem as a2, CodexSessionRecord as a3, CodexSubAgentActivity as a4, CodexTextInput as a5, CodexThread as a6, CodexThreadStarted as a7, CodexThreadStartedEvent as a8, CodexThreadStartedParams as a9, EffortLevel as aA, EllipsisGrant as aB, EllipsisPermissions as aC, EnvironmentBaseBuild as aD, EnvironmentConfig as aE, EnvironmentHooks as aF, EnvironmentHooks1 as aG, EnvironmentOutputPayload as aH, EnvironmentOutputRecord as aI, EnvironmentPhasePayload as aJ, EnvironmentPhaseRecord as aK, EnvironmentReadyPayload as aL, EnvironmentReadyRecord as aM, EnvironmentScript as aN, EnvironmentSource as aO, EnvironmentVariable as aP, ErrorFrame as aQ, ErrorReason as aR, GeminiConfig as aS, GeminiErrorEvent as aT, GeminiInitEvent as aU, GeminiMessageEvent as aV, GeminiModelStats as aW, GeminiResultEvent as aX, GeminiSessionRecord as aY, GeminiStreamEvent as aZ, GeminiStreamStats as a_, CodexThreadTokenUsage as aa, CodexTodoListItem as ab, CodexTokenUsageBreakdown as ac, CodexTokenUsageParams as ad, CodexTokenUsageUpdated as ae, CodexTurn as af, CodexTurnCompleted as ag, CodexTurnCompletedEvent as ah, CodexTurnError as ai, CodexTurnFailedEvent as aj, CodexTurnParams as ak, CodexTurnStarted as al, CodexTurnStartedEvent as am, CodexUsage as an, CodexUserInput as ao, CodexUserMessage as ap, CodexWebSearch as aq, CodexWebSearchItem as ar, ComputeConfig as as, ComputeConfig1 as at, ConfigMetadata as au, Cost as av, Cost1 as aw, CronTrigger as ax, DeltaFrame as ay, Duration as az, AttributionType as b, ReactStatus as b$, GeminiToolResultEvent as b0, GeminiToolUseEvent as b1, GithubAccountFilter as b2, GithubAccountSelector as b3, GithubAccountSnippet as b4, GithubAccountType as b5, GithubCheckRunEvent as b6, GithubCheckSuiteEvent as b7, GithubIssueEvent as b8, GithubPermissions as b9, MessageEndedPayload as bA, MessageEndedRecord as bB, MessageQueuedPayload as bC, MessageQueuedRecord as bD, MessageRecord as bE, MessageRequeuedPayload as bF, MessageRequeuedRecord as bG, MessageStartedPayload as bH, MessageStartedRecord as bI, ModelLlmCostSplit as bJ, ModelTokenCounts as bK, OutputConfig as bL, PermissionsConfig as bM, PermissionsConfig1 as bN, PlatformSessionRecord as bO, PromptBlockedReason as bP, PullRequest as bQ, PullRequestAction as bR, ReactCheckRun as bS, ReactCheckSuite as bT, ReactIssue as bU, ReactLinearIssue as bV, ReactPullRequest as bW, ReactPush as bX, ReactRelease as bY, ReactSentry as bZ, ReactSlackChannel as b_, GithubPullRequestEvent as ba, GithubPushEvent as bb, GithubReleaseEvent as bc, GithubStatusEvent as bd, GithubWorkflowRunEvent as be, HandlerService as bf, HeartbeatFrame as bg, InputContract as bh, IssueAction as bi, LegacyAssistantPayload as bj, LegacyNativeUsage as bk, LegacyResultPayload as bl, Level as bm, LifecycleSessionRecord as bn, LinearIssueAction as bo, LinearIssueChanged as bp, LinearIssueEvent as bq, LinearLabelsChange as br, LinearValueChange as bs, LinearValueFilter as bt, LlmCost as bu, LlmCostSplit as bv, McpRemoteServer as bw, McpServerRef as bx, McpStdioServer as by, MemorySize as bz, components as c, SessionSummarySource as c$, ReactTrigger as c0, ReactWorkflowRun as c1, RecordsFrame as c2, ReleaseAction as c3, RepositoryFilter as c4, RepositoryRef as c5, Review as c6, ReviewComment as c7, ReviewConfig as c8, ReviewConfigsListResponse as c9, SessionConfig as cA, SessionConversation as cB, SessionConversationConfig as cC, SessionEnvironment as cD, SessionError as cE, SessionEventActor as cF, SessionFrame as cG, SessionGit as cH, SessionGitCommit as cI, SessionGitFile as cJ, SessionGitPr as cK, SessionGitRepo as cL, SessionHandler as cM, SessionMessage as cN, SessionMessageImage as cO, SessionMessageResponse as cP, SessionOutput as cQ, SessionParent as cR, SessionPrompting as cS, SessionRecord as cT, SessionRecordsListResponse as cU, SessionResponse as cV, SessionReview as cW, SessionSource as cX, SessionStatus as cY, SessionStreamFrame as cZ, SessionSummary as c_, ReviewReviewer as ca, ReviewSummary as cb, ReviewsListResponse as cc, SdkAssistantRecord as cd, SdkCacheCreation as ce, SdkContentBlock as cf, SdkRateLimitRecord as cg, SdkRecord as ch, SdkResultRecord as ci, SdkServerToolResultBlock as cj, SdkServerToolUseBlock as ck, SdkSystemRecord as cl, SdkTextBlock as cm, SdkThinkingBlock as cn, SdkToolResultBlock as co, SdkToolUseBlock as cp, SdkUserRecord as cq, SendSessionMessageRequest as cr, SentryAction as cs, SentryAlertEvent as ct, Session as cu, SessionAgent as cv, SessionArchived as cw, SessionAttribution as cx, SessionClosedPayload as cy, SessionClosedRecord as cz, CheckSuiteAction as d, SessionsListResponse as d0, SettingsRef as d1, SkillRef as d2, SlackChannelCreatedEvent as d3, SlackMessageEvent as d4, StatusAction as d5, StreamFrame as d6, TokenCounts as d7, Tokens as d8, Tokens1 as d9, TokensInfo as da, UnknownSessionRecord as db, UpdateSessionRequest as dc, WorkflowRunAction as dd, paths as de, ClaudeAssistantEvent as e, ClaudeAssistantMessage as f, ClaudeConfig as g, ClaudeConversationResetEvent as h, ClaudeNativeEvent as i, ClaudeNativeSessionRecord as j, ClaudeNativeUsage as k, ClaudeRateLimitEvent as l, ClaudeRateLimitInfo as m, ClaudeResultEvent as n, ClaudeSessionRecord as o, ClaudeSystemEvent as p, ClaudeUserEvent as q, ClaudeUserMessage as r, CodexAgentMessage as s, CodexAgentMessageItem as t, CodexAppServerError as u, CodexAppServerEvent as v, CodexAppServerItem as w, CodexAppServerNotification as x, CodexAppServerSessionRecord as y, CodexCollabAgentToolCall as z };
|