@sixb/client 0.1.12 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-streams.d.ts +7 -2
- package/dist/agent-streams.d.ts.map +1 -1
- package/dist/api.d.ts +8 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/base-url.d.ts +2 -0
- package/dist/base-url.d.ts.map +1 -0
- package/dist/browser.js +7 -7
- package/dist/browser.js.map +3 -3
- package/dist/{chunk-sjb188se.js → chunk-1d0xnr6p.js} +38 -7
- package/dist/chunk-1d0xnr6p.js.map +10 -0
- package/dist/{chunk-bsy1hg20.js → chunk-50rkzhcy.js} +23 -30
- package/dist/chunk-50rkzhcy.js.map +10 -0
- package/dist/{chunk-hx3n4fer.js → chunk-6k1hzwk1.js} +13 -11
- package/dist/chunk-6k1hzwk1.js.map +17 -0
- package/dist/{chunk-e8qjsvha.js → chunk-hdgztpzs.js} +364 -71
- package/dist/chunk-hdgztpzs.js.map +19 -0
- package/dist/{chunk-tyym13kq.js → chunk-jh4ts8mt.js} +3 -1
- package/dist/chunk-jh4ts8mt.js.map +10 -0
- package/dist/{chunk-kh20z2mt.js → chunk-nkx0fxxn.js} +2 -2
- package/dist/chunk-nkx0fxxn.js.map +10 -0
- package/dist/{chunk-t50n91tk.js → chunk-tgyh8wz9.js} +7 -6
- package/dist/chunk-tgyh8wz9.js.map +12 -0
- package/dist/chunk-ys86w6hc.js +277 -0
- package/dist/chunk-ys86w6hc.js.map +12 -0
- package/dist/client-authority.d.ts +4 -0
- package/dist/client-authority.d.ts.map +1 -1
- package/dist/connectors/queries.d.ts.map +1 -1
- package/dist/events-builder.d.ts +2 -2
- package/dist/events-builder.d.ts.map +1 -1
- package/dist/events-transport.d.ts +4 -1
- package/dist/events-transport.d.ts.map +1 -1
- package/dist/generated/@tanstack/react-query.gen.d.ts +934 -341
- package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/sdk.gen.d.ts +5 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +336 -79
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.js +29 -12
- package/dist/hooks.js.map +6 -6
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -10
- package/dist/index.js.map +1 -1
- package/dist/logs-builder.d.ts +1 -1
- package/dist/logs-builder.d.ts.map +1 -1
- package/dist/logs-transport.d.ts +4 -1
- package/dist/logs-transport.d.ts.map +1 -1
- package/dist/logs.js +4 -4
- package/dist/models.d.ts +2 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +5 -3
- package/dist/models.js.map +1 -1
- package/dist/query-hooks.d.ts +3 -21
- package/dist/query-hooks.d.ts.map +1 -1
- package/dist/query.d.ts +2 -4
- package/dist/query.d.ts.map +1 -1
- package/dist/query.js +4 -4
- package/dist/session.d.ts +56 -0
- package/dist/session.d.ts.map +1 -0
- package/dist/useAgentActivityStream.d.ts +3 -0
- package/dist/useAgentActivityStream.d.ts.map +1 -1
- package/dist/useAgentRunStream.d.ts +4 -1
- package/dist/useAgentRunStream.d.ts.map +1 -1
- package/dist/ws-socket.d.ts +3 -0
- package/dist/ws-socket.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/agent-streams.ts +11 -4
- package/src/api.ts +37 -32
- package/src/base-url.ts +30 -0
- package/src/browser.ts +1 -1
- package/src/client-authority.ts +19 -0
- package/src/events-builder.ts +5 -9
- package/src/events-transport.ts +6 -2
- package/src/generated/@tanstack/react-query.gen.ts +31 -0
- package/src/generated/index.ts +6 -0
- package/src/generated/sdk.gen.ts +376 -69
- package/src/generated/types.gen.ts +433 -75
- package/src/index.ts +13 -1
- package/src/logs-builder.ts +2 -2
- package/src/logs-transport.ts +6 -2
- package/src/models.ts +4 -2
- package/src/query-hooks.ts +2 -17
- package/src/query.ts +6 -11
- package/src/session.ts +316 -0
- package/src/useAgentActivityStream.ts +6 -2
- package/src/useAgentRunStream.ts +7 -3
- package/src/ws-socket.ts +62 -5
- package/dist/chunk-65zz479s.js +0 -23
- package/dist/chunk-65zz479s.js.map +0 -10
- package/dist/chunk-bsy1hg20.js.map +0 -10
- package/dist/chunk-e8qjsvha.js.map +0 -19
- package/dist/chunk-hx3n4fer.js.map +0 -17
- package/dist/chunk-kh20z2mt.js.map +0 -10
- package/dist/chunk-sjb188se.js.map +0 -10
- package/dist/chunk-t50n91tk.js.map +0 -12
- package/dist/chunk-tyym13kq.js.map +0 -10
|
@@ -237,8 +237,6 @@ export type ObjectQuerySortField = {
|
|
|
237
237
|
export type CreateDeviceAuthorizationData = {
|
|
238
238
|
body: {
|
|
239
239
|
clientName: string;
|
|
240
|
-
tokenName: string;
|
|
241
|
-
expiresIn?: "90d";
|
|
242
240
|
};
|
|
243
241
|
path?: never;
|
|
244
242
|
query?: never;
|
|
@@ -286,11 +284,41 @@ export type ExchangeDeviceAuthorizationResponses = {
|
|
|
286
284
|
} | {
|
|
287
285
|
status: "expired";
|
|
288
286
|
} | {
|
|
289
|
-
status: "approved";
|
|
290
287
|
accessToken: string;
|
|
288
|
+
refreshToken: string;
|
|
289
|
+
expiresIn: number;
|
|
290
|
+
status: "approved";
|
|
291
291
|
};
|
|
292
292
|
};
|
|
293
293
|
export type ExchangeDeviceAuthorizationResponse = ExchangeDeviceAuthorizationResponses[keyof ExchangeDeviceAuthorizationResponses];
|
|
294
|
+
export type RefreshAuthSessionData = {
|
|
295
|
+
body: {
|
|
296
|
+
refreshToken: string;
|
|
297
|
+
};
|
|
298
|
+
path?: never;
|
|
299
|
+
query?: never;
|
|
300
|
+
url: "/api/auth/refresh";
|
|
301
|
+
};
|
|
302
|
+
export type RefreshAuthSessionErrors = {
|
|
303
|
+
/**
|
|
304
|
+
* Response for status 401
|
|
305
|
+
*/
|
|
306
|
+
401: {
|
|
307
|
+
error: string;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
export type RefreshAuthSessionError = RefreshAuthSessionErrors[keyof RefreshAuthSessionErrors];
|
|
311
|
+
export type RefreshAuthSessionResponses = {
|
|
312
|
+
/**
|
|
313
|
+
* Response for status 200
|
|
314
|
+
*/
|
|
315
|
+
200: {
|
|
316
|
+
accessToken: string;
|
|
317
|
+
refreshToken: string;
|
|
318
|
+
expiresIn: number;
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
export type RefreshAuthSessionResponse = RefreshAuthSessionResponses[keyof RefreshAuthSessionResponses];
|
|
294
322
|
export type GetAuthSessionData = {
|
|
295
323
|
body?: never;
|
|
296
324
|
path?: never;
|
|
@@ -305,7 +333,7 @@ export type GetAuthSessionResponses = {
|
|
|
305
333
|
authenticated: false;
|
|
306
334
|
} | {
|
|
307
335
|
authenticated: true;
|
|
308
|
-
csrfToken
|
|
336
|
+
csrfToken?: string;
|
|
309
337
|
applicationAccess: {
|
|
310
338
|
allowed: boolean;
|
|
311
339
|
audience: "atlas" | "app";
|
|
@@ -370,13 +398,14 @@ export type ListAuthSessionsResponses = {
|
|
|
370
398
|
200: {
|
|
371
399
|
sessions: Array<{
|
|
372
400
|
id: string;
|
|
373
|
-
audience
|
|
401
|
+
audience?: "atlas" | "app";
|
|
374
402
|
current: boolean;
|
|
375
403
|
createdAt: string;
|
|
376
404
|
expiresAt: string;
|
|
377
405
|
lastSeenAt?: string;
|
|
378
406
|
userAgent?: string;
|
|
379
407
|
ipAddress?: string;
|
|
408
|
+
clientName?: string;
|
|
380
409
|
}>;
|
|
381
410
|
};
|
|
382
411
|
};
|
|
@@ -515,8 +544,10 @@ export type ListAuthAccessTokensResponses = {
|
|
|
515
544
|
name: string;
|
|
516
545
|
kind: "personal" | "serviceAccount";
|
|
517
546
|
status: "active" | "expired" | "revoked";
|
|
518
|
-
|
|
519
|
-
|
|
547
|
+
subject: {
|
|
548
|
+
type: "user" | "serviceAccount";
|
|
549
|
+
id: string;
|
|
550
|
+
};
|
|
520
551
|
subjectLabel?: string;
|
|
521
552
|
groupIds?: Array<string>;
|
|
522
553
|
createdAt: string;
|
|
@@ -576,8 +607,10 @@ export type CreateAuthPersonalAccessTokenResponses = {
|
|
|
576
607
|
name: string;
|
|
577
608
|
kind: "personal" | "serviceAccount";
|
|
578
609
|
status: "active" | "expired" | "revoked";
|
|
579
|
-
|
|
580
|
-
|
|
610
|
+
subject: {
|
|
611
|
+
type: "user" | "serviceAccount";
|
|
612
|
+
id: string;
|
|
613
|
+
};
|
|
581
614
|
subjectLabel?: string;
|
|
582
615
|
groupIds?: Array<string>;
|
|
583
616
|
createdAt: string;
|
|
@@ -636,8 +669,10 @@ export type RevokeAuthAccessTokenResponses = {
|
|
|
636
669
|
name: string;
|
|
637
670
|
kind: "personal" | "serviceAccount";
|
|
638
671
|
status: "active" | "expired" | "revoked";
|
|
639
|
-
|
|
640
|
-
|
|
672
|
+
subject: {
|
|
673
|
+
type: "user" | "serviceAccount";
|
|
674
|
+
id: string;
|
|
675
|
+
};
|
|
641
676
|
subjectLabel?: string;
|
|
642
677
|
groupIds?: Array<string>;
|
|
643
678
|
createdAt: string;
|
|
@@ -846,8 +881,10 @@ export type ListAuthServiceAccountAccessTokensResponses = {
|
|
|
846
881
|
name: string;
|
|
847
882
|
kind: "personal" | "serviceAccount";
|
|
848
883
|
status: "active" | "expired" | "revoked";
|
|
849
|
-
|
|
850
|
-
|
|
884
|
+
subject: {
|
|
885
|
+
type: "user" | "serviceAccount";
|
|
886
|
+
id: string;
|
|
887
|
+
};
|
|
851
888
|
subjectLabel?: string;
|
|
852
889
|
groupIds?: Array<string>;
|
|
853
890
|
createdAt: string;
|
|
@@ -915,8 +952,10 @@ export type CreateAuthServiceAccountAccessTokenResponses = {
|
|
|
915
952
|
name: string;
|
|
916
953
|
kind: "personal" | "serviceAccount";
|
|
917
954
|
status: "active" | "expired" | "revoked";
|
|
918
|
-
|
|
919
|
-
|
|
955
|
+
subject: {
|
|
956
|
+
type: "user" | "serviceAccount";
|
|
957
|
+
id: string;
|
|
958
|
+
};
|
|
920
959
|
subjectLabel?: string;
|
|
921
960
|
groupIds?: Array<string>;
|
|
922
961
|
createdAt: string;
|
|
@@ -976,8 +1015,10 @@ export type RevokeAuthServiceAccountAccessTokenResponses = {
|
|
|
976
1015
|
name: string;
|
|
977
1016
|
kind: "personal" | "serviceAccount";
|
|
978
1017
|
status: "active" | "expired" | "revoked";
|
|
979
|
-
|
|
980
|
-
|
|
1018
|
+
subject: {
|
|
1019
|
+
type: "user" | "serviceAccount";
|
|
1020
|
+
id: string;
|
|
1021
|
+
};
|
|
981
1022
|
subjectLabel?: string;
|
|
982
1023
|
groupIds?: Array<string>;
|
|
983
1024
|
createdAt: string;
|
|
@@ -1328,6 +1369,7 @@ export type ListAuthMembersResponses = {
|
|
|
1328
1369
|
updatedAt: string;
|
|
1329
1370
|
};
|
|
1330
1371
|
groupIds: Array<string>;
|
|
1372
|
+
managedGroupIds: Array<string>;
|
|
1331
1373
|
capabilities: {
|
|
1332
1374
|
assignGroups: boolean;
|
|
1333
1375
|
suspend: boolean;
|
|
@@ -1398,6 +1440,7 @@ export type UpdateAuthMemberGroupsResponses = {
|
|
|
1398
1440
|
updatedAt: string;
|
|
1399
1441
|
};
|
|
1400
1442
|
groupIds: Array<string>;
|
|
1443
|
+
managedGroupIds: Array<string>;
|
|
1401
1444
|
};
|
|
1402
1445
|
};
|
|
1403
1446
|
};
|
|
@@ -1453,6 +1496,7 @@ export type SuspendAuthMemberResponses = {
|
|
|
1453
1496
|
updatedAt: string;
|
|
1454
1497
|
};
|
|
1455
1498
|
groupIds: Array<string>;
|
|
1499
|
+
managedGroupIds: Array<string>;
|
|
1456
1500
|
};
|
|
1457
1501
|
};
|
|
1458
1502
|
};
|
|
@@ -1508,6 +1552,7 @@ export type ReactivateAuthMemberResponses = {
|
|
|
1508
1552
|
updatedAt: string;
|
|
1509
1553
|
};
|
|
1510
1554
|
groupIds: Array<string>;
|
|
1555
|
+
managedGroupIds: Array<string>;
|
|
1511
1556
|
};
|
|
1512
1557
|
};
|
|
1513
1558
|
};
|
|
@@ -4943,8 +4988,8 @@ export type ListWorkflowsResponses = {
|
|
|
4943
4988
|
truncated?: true;
|
|
4944
4989
|
};
|
|
4945
4990
|
requestedBy: {
|
|
4946
|
-
|
|
4947
|
-
|
|
4991
|
+
type: "user" | "serviceAccount" | "system";
|
|
4992
|
+
id: string;
|
|
4948
4993
|
};
|
|
4949
4994
|
} | null;
|
|
4950
4995
|
}>;
|
|
@@ -5060,8 +5105,8 @@ export type GetWorkflowResponses = {
|
|
|
5060
5105
|
truncated?: true;
|
|
5061
5106
|
};
|
|
5062
5107
|
requestedBy: {
|
|
5063
|
-
|
|
5064
|
-
|
|
5108
|
+
type: "user" | "serviceAccount" | "system";
|
|
5109
|
+
id: string;
|
|
5065
5110
|
};
|
|
5066
5111
|
} | null;
|
|
5067
5112
|
};
|
|
@@ -5131,8 +5176,8 @@ export type ListWorkflowInterventionsResponses = {
|
|
|
5131
5176
|
expiresAt?: string;
|
|
5132
5177
|
submittedAt?: string;
|
|
5133
5178
|
submittedBy?: {
|
|
5134
|
-
|
|
5135
|
-
|
|
5179
|
+
type: "user" | "serviceAccount" | "system";
|
|
5180
|
+
id: string;
|
|
5136
5181
|
};
|
|
5137
5182
|
response?: {
|
|
5138
5183
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -5141,8 +5186,8 @@ export type ListWorkflowInterventionsResponses = {
|
|
|
5141
5186
|
};
|
|
5142
5187
|
cancelledAt?: string;
|
|
5143
5188
|
cancelledBy?: {
|
|
5144
|
-
|
|
5145
|
-
|
|
5189
|
+
type: "user" | "serviceAccount" | "system";
|
|
5190
|
+
id: string;
|
|
5146
5191
|
};
|
|
5147
5192
|
expiredAt?: string;
|
|
5148
5193
|
}>;
|
|
@@ -5209,8 +5254,8 @@ export type GetWorkflowInterventionResponses = {
|
|
|
5209
5254
|
expiresAt?: string;
|
|
5210
5255
|
submittedAt?: string;
|
|
5211
5256
|
submittedBy?: {
|
|
5212
|
-
|
|
5213
|
-
|
|
5257
|
+
type: "user" | "serviceAccount" | "system";
|
|
5258
|
+
id: string;
|
|
5214
5259
|
};
|
|
5215
5260
|
response?: {
|
|
5216
5261
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -5219,8 +5264,8 @@ export type GetWorkflowInterventionResponses = {
|
|
|
5219
5264
|
};
|
|
5220
5265
|
cancelledAt?: string;
|
|
5221
5266
|
cancelledBy?: {
|
|
5222
|
-
|
|
5223
|
-
|
|
5267
|
+
type: "user" | "serviceAccount" | "system";
|
|
5268
|
+
id: string;
|
|
5224
5269
|
};
|
|
5225
5270
|
expiredAt?: string;
|
|
5226
5271
|
};
|
|
@@ -5291,8 +5336,8 @@ export type SubmitWorkflowInterventionResponses = {
|
|
|
5291
5336
|
expiresAt?: string;
|
|
5292
5337
|
submittedAt?: string;
|
|
5293
5338
|
submittedBy?: {
|
|
5294
|
-
|
|
5295
|
-
|
|
5339
|
+
type: "user" | "serviceAccount" | "system";
|
|
5340
|
+
id: string;
|
|
5296
5341
|
};
|
|
5297
5342
|
response?: {
|
|
5298
5343
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -5301,8 +5346,8 @@ export type SubmitWorkflowInterventionResponses = {
|
|
|
5301
5346
|
};
|
|
5302
5347
|
cancelledAt?: string;
|
|
5303
5348
|
cancelledBy?: {
|
|
5304
|
-
|
|
5305
|
-
|
|
5349
|
+
type: "user" | "serviceAccount" | "system";
|
|
5350
|
+
id: string;
|
|
5306
5351
|
};
|
|
5307
5352
|
expiredAt?: string;
|
|
5308
5353
|
};
|
|
@@ -5371,8 +5416,8 @@ export type CancelWorkflowInterventionResponses = {
|
|
|
5371
5416
|
expiresAt?: string;
|
|
5372
5417
|
submittedAt?: string;
|
|
5373
5418
|
submittedBy?: {
|
|
5374
|
-
|
|
5375
|
-
|
|
5419
|
+
type: "user" | "serviceAccount" | "system";
|
|
5420
|
+
id: string;
|
|
5376
5421
|
};
|
|
5377
5422
|
response?: {
|
|
5378
5423
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -5381,8 +5426,8 @@ export type CancelWorkflowInterventionResponses = {
|
|
|
5381
5426
|
};
|
|
5382
5427
|
cancelledAt?: string;
|
|
5383
5428
|
cancelledBy?: {
|
|
5384
|
-
|
|
5385
|
-
|
|
5429
|
+
type: "user" | "serviceAccount" | "system";
|
|
5430
|
+
id: string;
|
|
5386
5431
|
};
|
|
5387
5432
|
expiredAt?: string;
|
|
5388
5433
|
};
|
|
@@ -5447,8 +5492,8 @@ export type ListWorkflowRunsResponses = {
|
|
|
5447
5492
|
truncated?: true;
|
|
5448
5493
|
};
|
|
5449
5494
|
requestedBy: {
|
|
5450
|
-
|
|
5451
|
-
|
|
5495
|
+
type: "user" | "serviceAccount" | "system";
|
|
5496
|
+
id: string;
|
|
5452
5497
|
};
|
|
5453
5498
|
}>;
|
|
5454
5499
|
hasMore: boolean;
|
|
@@ -5514,8 +5559,8 @@ export type GetWorkflowRunResponses = {
|
|
|
5514
5559
|
truncated?: true;
|
|
5515
5560
|
};
|
|
5516
5561
|
requestedBy: {
|
|
5517
|
-
|
|
5518
|
-
|
|
5562
|
+
type: "user" | "serviceAccount" | "system";
|
|
5563
|
+
id: string;
|
|
5519
5564
|
};
|
|
5520
5565
|
input: {
|
|
5521
5566
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -5855,8 +5900,8 @@ export type CancelWorkflowRunResponses = {
|
|
|
5855
5900
|
truncated?: true;
|
|
5856
5901
|
};
|
|
5857
5902
|
requestedBy: {
|
|
5858
|
-
|
|
5859
|
-
|
|
5903
|
+
type: "user" | "serviceAccount" | "system";
|
|
5904
|
+
id: string;
|
|
5860
5905
|
};
|
|
5861
5906
|
input: {
|
|
5862
5907
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -6834,6 +6879,15 @@ export type ListObjectTypesResponses = {
|
|
|
6834
6879
|
facet?: boolean;
|
|
6835
6880
|
weight?: number;
|
|
6836
6881
|
};
|
|
6882
|
+
/**
|
|
6883
|
+
* What object queries accept for this property, resolved from its schema and query metadata.
|
|
6884
|
+
*/
|
|
6885
|
+
capabilities: {
|
|
6886
|
+
operators: Array<"eq" | "neq" | "lt" | "lte" | "gt" | "gte" | "in" | "exists" | "contains">;
|
|
6887
|
+
sortable: boolean;
|
|
6888
|
+
facet: boolean;
|
|
6889
|
+
text: boolean;
|
|
6890
|
+
};
|
|
6837
6891
|
}>;
|
|
6838
6892
|
search?: {
|
|
6839
6893
|
title?: string;
|
|
@@ -6944,6 +6998,15 @@ export type GetObjectTypeResponses = {
|
|
|
6944
6998
|
facet?: boolean;
|
|
6945
6999
|
weight?: number;
|
|
6946
7000
|
};
|
|
7001
|
+
/**
|
|
7002
|
+
* What object queries accept for this property, resolved from its schema and query metadata.
|
|
7003
|
+
*/
|
|
7004
|
+
capabilities: {
|
|
7005
|
+
operators: Array<"eq" | "neq" | "lt" | "lte" | "gt" | "gte" | "in" | "exists" | "contains">;
|
|
7006
|
+
sortable: boolean;
|
|
7007
|
+
facet: boolean;
|
|
7008
|
+
text: boolean;
|
|
7009
|
+
};
|
|
6947
7010
|
}>;
|
|
6948
7011
|
search?: {
|
|
6949
7012
|
title?: string;
|
|
@@ -7617,6 +7680,12 @@ export type CreateFileUploadErrors = {
|
|
|
7617
7680
|
400: {
|
|
7618
7681
|
error: string;
|
|
7619
7682
|
};
|
|
7683
|
+
/**
|
|
7684
|
+
* Response for status 501
|
|
7685
|
+
*/
|
|
7686
|
+
501: {
|
|
7687
|
+
error: string;
|
|
7688
|
+
};
|
|
7620
7689
|
};
|
|
7621
7690
|
export type CreateFileUploadError = CreateFileUploadErrors[keyof CreateFileUploadErrors];
|
|
7622
7691
|
export type CreateFileUploadResponses = {
|
|
@@ -7680,6 +7749,12 @@ export type UploadFileContentErrors = {
|
|
|
7680
7749
|
410: {
|
|
7681
7750
|
error: string;
|
|
7682
7751
|
};
|
|
7752
|
+
/**
|
|
7753
|
+
* Response for status 501
|
|
7754
|
+
*/
|
|
7755
|
+
501: {
|
|
7756
|
+
error: string;
|
|
7757
|
+
};
|
|
7683
7758
|
};
|
|
7684
7759
|
export type UploadFileContentError = UploadFileContentErrors[keyof UploadFileContentErrors];
|
|
7685
7760
|
export type UploadFileContentResponses = {
|
|
@@ -7725,6 +7800,12 @@ export type SignFileUploadPartErrors = {
|
|
|
7725
7800
|
410: {
|
|
7726
7801
|
error: string;
|
|
7727
7802
|
};
|
|
7803
|
+
/**
|
|
7804
|
+
* Response for status 501
|
|
7805
|
+
*/
|
|
7806
|
+
501: {
|
|
7807
|
+
error: string;
|
|
7808
|
+
};
|
|
7728
7809
|
};
|
|
7729
7810
|
export type SignFileUploadPartError = SignFileUploadPartErrors[keyof SignFileUploadPartErrors];
|
|
7730
7811
|
export type SignFileUploadPartResponses = {
|
|
@@ -7782,6 +7863,12 @@ export type CompleteFileUploadErrors = {
|
|
|
7782
7863
|
410: {
|
|
7783
7864
|
error: string;
|
|
7784
7865
|
};
|
|
7866
|
+
/**
|
|
7867
|
+
* Response for status 501
|
|
7868
|
+
*/
|
|
7869
|
+
501: {
|
|
7870
|
+
error: string;
|
|
7871
|
+
};
|
|
7785
7872
|
};
|
|
7786
7873
|
export type CompleteFileUploadError = CompleteFileUploadErrors[keyof CompleteFileUploadErrors];
|
|
7787
7874
|
export type CompleteFileUploadResponses = {
|
|
@@ -7831,6 +7918,12 @@ export type AbortFileUploadErrors = {
|
|
|
7831
7918
|
410: {
|
|
7832
7919
|
error: string;
|
|
7833
7920
|
};
|
|
7921
|
+
/**
|
|
7922
|
+
* Response for status 501
|
|
7923
|
+
*/
|
|
7924
|
+
501: {
|
|
7925
|
+
error: string;
|
|
7926
|
+
};
|
|
7834
7927
|
};
|
|
7835
7928
|
export type AbortFileUploadError = AbortFileUploadErrors[keyof AbortFileUploadErrors];
|
|
7836
7929
|
export type AbortFileUploadResponses = {
|
|
@@ -7895,7 +7988,7 @@ export type ListActionRunsResponses = {
|
|
|
7895
7988
|
startedAt?: string;
|
|
7896
7989
|
finishedAt?: string;
|
|
7897
7990
|
error?: {
|
|
7898
|
-
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed";
|
|
7991
|
+
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed" | "action.read_conflict";
|
|
7899
7992
|
message: string;
|
|
7900
7993
|
retryable: boolean;
|
|
7901
7994
|
at: string;
|
|
@@ -7964,7 +8057,7 @@ export type GetActionRunResponses = {
|
|
|
7964
8057
|
startedAt?: string;
|
|
7965
8058
|
finishedAt?: string;
|
|
7966
8059
|
error?: {
|
|
7967
|
-
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed";
|
|
8060
|
+
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed" | "action.read_conflict";
|
|
7968
8061
|
message: string;
|
|
7969
8062
|
retryable: boolean;
|
|
7970
8063
|
at: string;
|
|
@@ -7993,7 +8086,7 @@ export type GetActionRunResponses = {
|
|
|
7993
8086
|
status: "failed";
|
|
7994
8087
|
completedAt: string;
|
|
7995
8088
|
error: {
|
|
7996
|
-
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed";
|
|
8089
|
+
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed" | "action.read_conflict";
|
|
7997
8090
|
message: string;
|
|
7998
8091
|
retryable: boolean;
|
|
7999
8092
|
at: string;
|
|
@@ -8014,7 +8107,7 @@ export type GetActionRunResponses = {
|
|
|
8014
8107
|
status: "failed";
|
|
8015
8108
|
completedAt: string;
|
|
8016
8109
|
error: {
|
|
8017
|
-
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed";
|
|
8110
|
+
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed" | "action.read_conflict";
|
|
8018
8111
|
message: string;
|
|
8019
8112
|
retryable: boolean;
|
|
8020
8113
|
at: string;
|
|
@@ -9669,10 +9762,6 @@ export type ListEventsResponses = {
|
|
|
9669
9762
|
schemaVersion: 1;
|
|
9670
9763
|
projectId: string;
|
|
9671
9764
|
occurredAt: string;
|
|
9672
|
-
actor?: {
|
|
9673
|
-
type: "user" | "serviceAccount" | "system";
|
|
9674
|
-
id: string;
|
|
9675
|
-
};
|
|
9676
9765
|
partitionKey: string;
|
|
9677
9766
|
origin: {
|
|
9678
9767
|
kind: "action";
|
|
@@ -9701,6 +9790,34 @@ export type ListEventsResponses = {
|
|
|
9701
9790
|
batchOrdinal: number;
|
|
9702
9791
|
};
|
|
9703
9792
|
};
|
|
9793
|
+
/**
|
|
9794
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
9795
|
+
*/
|
|
9796
|
+
requestedBy?: {
|
|
9797
|
+
type: "user" | "serviceAccount";
|
|
9798
|
+
id: string;
|
|
9799
|
+
};
|
|
9800
|
+
executor: {
|
|
9801
|
+
type: "request";
|
|
9802
|
+
requestId: string;
|
|
9803
|
+
} | {
|
|
9804
|
+
type: "primitive";
|
|
9805
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
9806
|
+
id: string;
|
|
9807
|
+
runId: string;
|
|
9808
|
+
} | {
|
|
9809
|
+
type: "agent";
|
|
9810
|
+
runId: string;
|
|
9811
|
+
} | {
|
|
9812
|
+
type: "kernel";
|
|
9813
|
+
operation: {
|
|
9814
|
+
type: "ontology.recover";
|
|
9815
|
+
recoveryId: string;
|
|
9816
|
+
} | {
|
|
9817
|
+
type: "ontology.indexVectors";
|
|
9818
|
+
indexingId: string;
|
|
9819
|
+
};
|
|
9820
|
+
};
|
|
9704
9821
|
commitId: string;
|
|
9705
9822
|
commitOrdinal: number;
|
|
9706
9823
|
type: "object.created";
|
|
@@ -9754,10 +9871,6 @@ export type ListEventsResponses = {
|
|
|
9754
9871
|
schemaVersion: 1;
|
|
9755
9872
|
projectId: string;
|
|
9756
9873
|
occurredAt: string;
|
|
9757
|
-
actor?: {
|
|
9758
|
-
type: "user" | "serviceAccount" | "system";
|
|
9759
|
-
id: string;
|
|
9760
|
-
};
|
|
9761
9874
|
partitionKey: string;
|
|
9762
9875
|
origin: {
|
|
9763
9876
|
kind: "action";
|
|
@@ -9786,6 +9899,34 @@ export type ListEventsResponses = {
|
|
|
9786
9899
|
batchOrdinal: number;
|
|
9787
9900
|
};
|
|
9788
9901
|
};
|
|
9902
|
+
/**
|
|
9903
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
9904
|
+
*/
|
|
9905
|
+
requestedBy?: {
|
|
9906
|
+
type: "user" | "serviceAccount";
|
|
9907
|
+
id: string;
|
|
9908
|
+
};
|
|
9909
|
+
executor: {
|
|
9910
|
+
type: "request";
|
|
9911
|
+
requestId: string;
|
|
9912
|
+
} | {
|
|
9913
|
+
type: "primitive";
|
|
9914
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
9915
|
+
id: string;
|
|
9916
|
+
runId: string;
|
|
9917
|
+
} | {
|
|
9918
|
+
type: "agent";
|
|
9919
|
+
runId: string;
|
|
9920
|
+
} | {
|
|
9921
|
+
type: "kernel";
|
|
9922
|
+
operation: {
|
|
9923
|
+
type: "ontology.recover";
|
|
9924
|
+
recoveryId: string;
|
|
9925
|
+
} | {
|
|
9926
|
+
type: "ontology.indexVectors";
|
|
9927
|
+
indexingId: string;
|
|
9928
|
+
};
|
|
9929
|
+
};
|
|
9789
9930
|
commitId: string;
|
|
9790
9931
|
commitOrdinal: number;
|
|
9791
9932
|
type: "object.updated";
|
|
@@ -9839,10 +9980,6 @@ export type ListEventsResponses = {
|
|
|
9839
9980
|
schemaVersion: 1;
|
|
9840
9981
|
projectId: string;
|
|
9841
9982
|
occurredAt: string;
|
|
9842
|
-
actor?: {
|
|
9843
|
-
type: "user" | "serviceAccount" | "system";
|
|
9844
|
-
id: string;
|
|
9845
|
-
};
|
|
9846
9983
|
partitionKey: string;
|
|
9847
9984
|
origin: {
|
|
9848
9985
|
kind: "action";
|
|
@@ -9871,6 +10008,34 @@ export type ListEventsResponses = {
|
|
|
9871
10008
|
batchOrdinal: number;
|
|
9872
10009
|
};
|
|
9873
10010
|
};
|
|
10011
|
+
/**
|
|
10012
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
10013
|
+
*/
|
|
10014
|
+
requestedBy?: {
|
|
10015
|
+
type: "user" | "serviceAccount";
|
|
10016
|
+
id: string;
|
|
10017
|
+
};
|
|
10018
|
+
executor: {
|
|
10019
|
+
type: "request";
|
|
10020
|
+
requestId: string;
|
|
10021
|
+
} | {
|
|
10022
|
+
type: "primitive";
|
|
10023
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10024
|
+
id: string;
|
|
10025
|
+
runId: string;
|
|
10026
|
+
} | {
|
|
10027
|
+
type: "agent";
|
|
10028
|
+
runId: string;
|
|
10029
|
+
} | {
|
|
10030
|
+
type: "kernel";
|
|
10031
|
+
operation: {
|
|
10032
|
+
type: "ontology.recover";
|
|
10033
|
+
recoveryId: string;
|
|
10034
|
+
} | {
|
|
10035
|
+
type: "ontology.indexVectors";
|
|
10036
|
+
indexingId: string;
|
|
10037
|
+
};
|
|
10038
|
+
};
|
|
9874
10039
|
commitId: string;
|
|
9875
10040
|
commitOrdinal: number;
|
|
9876
10041
|
type: "object.deleted";
|
|
@@ -9919,10 +10084,6 @@ export type ListEventsResponses = {
|
|
|
9919
10084
|
schemaVersion: 1;
|
|
9920
10085
|
projectId: string;
|
|
9921
10086
|
occurredAt: string;
|
|
9922
|
-
actor?: {
|
|
9923
|
-
type: "user" | "serviceAccount" | "system";
|
|
9924
|
-
id: string;
|
|
9925
|
-
};
|
|
9926
10087
|
partitionKey: string;
|
|
9927
10088
|
origin: {
|
|
9928
10089
|
kind: "action";
|
|
@@ -9951,6 +10112,34 @@ export type ListEventsResponses = {
|
|
|
9951
10112
|
batchOrdinal: number;
|
|
9952
10113
|
};
|
|
9953
10114
|
};
|
|
10115
|
+
/**
|
|
10116
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
10117
|
+
*/
|
|
10118
|
+
requestedBy?: {
|
|
10119
|
+
type: "user" | "serviceAccount";
|
|
10120
|
+
id: string;
|
|
10121
|
+
};
|
|
10122
|
+
executor: {
|
|
10123
|
+
type: "request";
|
|
10124
|
+
requestId: string;
|
|
10125
|
+
} | {
|
|
10126
|
+
type: "primitive";
|
|
10127
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10128
|
+
id: string;
|
|
10129
|
+
runId: string;
|
|
10130
|
+
} | {
|
|
10131
|
+
type: "agent";
|
|
10132
|
+
runId: string;
|
|
10133
|
+
} | {
|
|
10134
|
+
type: "kernel";
|
|
10135
|
+
operation: {
|
|
10136
|
+
type: "ontology.recover";
|
|
10137
|
+
recoveryId: string;
|
|
10138
|
+
} | {
|
|
10139
|
+
type: "ontology.indexVectors";
|
|
10140
|
+
indexingId: string;
|
|
10141
|
+
};
|
|
10142
|
+
};
|
|
9954
10143
|
commitId: string;
|
|
9955
10144
|
commitOrdinal: number;
|
|
9956
10145
|
type: "telemetry.appended";
|
|
@@ -9974,10 +10163,6 @@ export type ListEventsResponses = {
|
|
|
9974
10163
|
schemaVersion: 1;
|
|
9975
10164
|
projectId: string;
|
|
9976
10165
|
occurredAt: string;
|
|
9977
|
-
actor?: {
|
|
9978
|
-
type: "user" | "serviceAccount" | "system";
|
|
9979
|
-
id: string;
|
|
9980
|
-
};
|
|
9981
10166
|
partitionKey: string;
|
|
9982
10167
|
origin: {
|
|
9983
10168
|
kind: "action";
|
|
@@ -10006,6 +10191,34 @@ export type ListEventsResponses = {
|
|
|
10006
10191
|
batchOrdinal: number;
|
|
10007
10192
|
};
|
|
10008
10193
|
};
|
|
10194
|
+
/**
|
|
10195
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
10196
|
+
*/
|
|
10197
|
+
requestedBy?: {
|
|
10198
|
+
type: "user" | "serviceAccount";
|
|
10199
|
+
id: string;
|
|
10200
|
+
};
|
|
10201
|
+
executor: {
|
|
10202
|
+
type: "request";
|
|
10203
|
+
requestId: string;
|
|
10204
|
+
} | {
|
|
10205
|
+
type: "primitive";
|
|
10206
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10207
|
+
id: string;
|
|
10208
|
+
runId: string;
|
|
10209
|
+
} | {
|
|
10210
|
+
type: "agent";
|
|
10211
|
+
runId: string;
|
|
10212
|
+
} | {
|
|
10213
|
+
type: "kernel";
|
|
10214
|
+
operation: {
|
|
10215
|
+
type: "ontology.recover";
|
|
10216
|
+
recoveryId: string;
|
|
10217
|
+
} | {
|
|
10218
|
+
type: "ontology.indexVectors";
|
|
10219
|
+
indexingId: string;
|
|
10220
|
+
};
|
|
10221
|
+
};
|
|
10009
10222
|
commitId: string;
|
|
10010
10223
|
commitOrdinal: number;
|
|
10011
10224
|
type: "link.created";
|
|
@@ -10062,10 +10275,6 @@ export type ListEventsResponses = {
|
|
|
10062
10275
|
schemaVersion: 1;
|
|
10063
10276
|
projectId: string;
|
|
10064
10277
|
occurredAt: string;
|
|
10065
|
-
actor?: {
|
|
10066
|
-
type: "user" | "serviceAccount" | "system";
|
|
10067
|
-
id: string;
|
|
10068
|
-
};
|
|
10069
10278
|
partitionKey: string;
|
|
10070
10279
|
origin: {
|
|
10071
10280
|
kind: "action";
|
|
@@ -10094,6 +10303,34 @@ export type ListEventsResponses = {
|
|
|
10094
10303
|
batchOrdinal: number;
|
|
10095
10304
|
};
|
|
10096
10305
|
};
|
|
10306
|
+
/**
|
|
10307
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
10308
|
+
*/
|
|
10309
|
+
requestedBy?: {
|
|
10310
|
+
type: "user" | "serviceAccount";
|
|
10311
|
+
id: string;
|
|
10312
|
+
};
|
|
10313
|
+
executor: {
|
|
10314
|
+
type: "request";
|
|
10315
|
+
requestId: string;
|
|
10316
|
+
} | {
|
|
10317
|
+
type: "primitive";
|
|
10318
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10319
|
+
id: string;
|
|
10320
|
+
runId: string;
|
|
10321
|
+
} | {
|
|
10322
|
+
type: "agent";
|
|
10323
|
+
runId: string;
|
|
10324
|
+
} | {
|
|
10325
|
+
type: "kernel";
|
|
10326
|
+
operation: {
|
|
10327
|
+
type: "ontology.recover";
|
|
10328
|
+
recoveryId: string;
|
|
10329
|
+
} | {
|
|
10330
|
+
type: "ontology.indexVectors";
|
|
10331
|
+
indexingId: string;
|
|
10332
|
+
};
|
|
10333
|
+
};
|
|
10097
10334
|
commitId: string;
|
|
10098
10335
|
commitOrdinal: number;
|
|
10099
10336
|
type: "link.updated";
|
|
@@ -10150,10 +10387,6 @@ export type ListEventsResponses = {
|
|
|
10150
10387
|
schemaVersion: 1;
|
|
10151
10388
|
projectId: string;
|
|
10152
10389
|
occurredAt: string;
|
|
10153
|
-
actor?: {
|
|
10154
|
-
type: "user" | "serviceAccount" | "system";
|
|
10155
|
-
id: string;
|
|
10156
|
-
};
|
|
10157
10390
|
partitionKey: string;
|
|
10158
10391
|
origin: {
|
|
10159
10392
|
kind: "action";
|
|
@@ -10182,6 +10415,34 @@ export type ListEventsResponses = {
|
|
|
10182
10415
|
batchOrdinal: number;
|
|
10183
10416
|
};
|
|
10184
10417
|
};
|
|
10418
|
+
/**
|
|
10419
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
10420
|
+
*/
|
|
10421
|
+
requestedBy?: {
|
|
10422
|
+
type: "user" | "serviceAccount";
|
|
10423
|
+
id: string;
|
|
10424
|
+
};
|
|
10425
|
+
executor: {
|
|
10426
|
+
type: "request";
|
|
10427
|
+
requestId: string;
|
|
10428
|
+
} | {
|
|
10429
|
+
type: "primitive";
|
|
10430
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10431
|
+
id: string;
|
|
10432
|
+
runId: string;
|
|
10433
|
+
} | {
|
|
10434
|
+
type: "agent";
|
|
10435
|
+
runId: string;
|
|
10436
|
+
} | {
|
|
10437
|
+
type: "kernel";
|
|
10438
|
+
operation: {
|
|
10439
|
+
type: "ontology.recover";
|
|
10440
|
+
recoveryId: string;
|
|
10441
|
+
} | {
|
|
10442
|
+
type: "ontology.indexVectors";
|
|
10443
|
+
indexingId: string;
|
|
10444
|
+
};
|
|
10445
|
+
};
|
|
10185
10446
|
commitId: string;
|
|
10186
10447
|
commitOrdinal: number;
|
|
10187
10448
|
type: "link.deleted";
|
|
@@ -10233,10 +10494,6 @@ export type ListEventsResponses = {
|
|
|
10233
10494
|
schemaVersion: 1;
|
|
10234
10495
|
projectId: string;
|
|
10235
10496
|
occurredAt: string;
|
|
10236
|
-
actor?: {
|
|
10237
|
-
type: "user" | "serviceAccount" | "system";
|
|
10238
|
-
id: string;
|
|
10239
|
-
};
|
|
10240
10497
|
partitionKey: string;
|
|
10241
10498
|
correlationId?: string;
|
|
10242
10499
|
causationId?: string;
|