@sixb/client 0.1.12 → 0.1.13
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 +1019 -365
- 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 +332 -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 +429 -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;
|
|
@@ -4943,8 +4984,8 @@ export type ListWorkflowsResponses = {
|
|
|
4943
4984
|
truncated?: true;
|
|
4944
4985
|
};
|
|
4945
4986
|
requestedBy: {
|
|
4946
|
-
|
|
4947
|
-
|
|
4987
|
+
type: "user" | "serviceAccount" | "system";
|
|
4988
|
+
id: string;
|
|
4948
4989
|
};
|
|
4949
4990
|
} | null;
|
|
4950
4991
|
}>;
|
|
@@ -5060,8 +5101,8 @@ export type GetWorkflowResponses = {
|
|
|
5060
5101
|
truncated?: true;
|
|
5061
5102
|
};
|
|
5062
5103
|
requestedBy: {
|
|
5063
|
-
|
|
5064
|
-
|
|
5104
|
+
type: "user" | "serviceAccount" | "system";
|
|
5105
|
+
id: string;
|
|
5065
5106
|
};
|
|
5066
5107
|
} | null;
|
|
5067
5108
|
};
|
|
@@ -5131,8 +5172,8 @@ export type ListWorkflowInterventionsResponses = {
|
|
|
5131
5172
|
expiresAt?: string;
|
|
5132
5173
|
submittedAt?: string;
|
|
5133
5174
|
submittedBy?: {
|
|
5134
|
-
|
|
5135
|
-
|
|
5175
|
+
type: "user" | "serviceAccount" | "system";
|
|
5176
|
+
id: string;
|
|
5136
5177
|
};
|
|
5137
5178
|
response?: {
|
|
5138
5179
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -5141,8 +5182,8 @@ export type ListWorkflowInterventionsResponses = {
|
|
|
5141
5182
|
};
|
|
5142
5183
|
cancelledAt?: string;
|
|
5143
5184
|
cancelledBy?: {
|
|
5144
|
-
|
|
5145
|
-
|
|
5185
|
+
type: "user" | "serviceAccount" | "system";
|
|
5186
|
+
id: string;
|
|
5146
5187
|
};
|
|
5147
5188
|
expiredAt?: string;
|
|
5148
5189
|
}>;
|
|
@@ -5209,8 +5250,8 @@ export type GetWorkflowInterventionResponses = {
|
|
|
5209
5250
|
expiresAt?: string;
|
|
5210
5251
|
submittedAt?: string;
|
|
5211
5252
|
submittedBy?: {
|
|
5212
|
-
|
|
5213
|
-
|
|
5253
|
+
type: "user" | "serviceAccount" | "system";
|
|
5254
|
+
id: string;
|
|
5214
5255
|
};
|
|
5215
5256
|
response?: {
|
|
5216
5257
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -5219,8 +5260,8 @@ export type GetWorkflowInterventionResponses = {
|
|
|
5219
5260
|
};
|
|
5220
5261
|
cancelledAt?: string;
|
|
5221
5262
|
cancelledBy?: {
|
|
5222
|
-
|
|
5223
|
-
|
|
5263
|
+
type: "user" | "serviceAccount" | "system";
|
|
5264
|
+
id: string;
|
|
5224
5265
|
};
|
|
5225
5266
|
expiredAt?: string;
|
|
5226
5267
|
};
|
|
@@ -5291,8 +5332,8 @@ export type SubmitWorkflowInterventionResponses = {
|
|
|
5291
5332
|
expiresAt?: string;
|
|
5292
5333
|
submittedAt?: string;
|
|
5293
5334
|
submittedBy?: {
|
|
5294
|
-
|
|
5295
|
-
|
|
5335
|
+
type: "user" | "serviceAccount" | "system";
|
|
5336
|
+
id: string;
|
|
5296
5337
|
};
|
|
5297
5338
|
response?: {
|
|
5298
5339
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -5301,8 +5342,8 @@ export type SubmitWorkflowInterventionResponses = {
|
|
|
5301
5342
|
};
|
|
5302
5343
|
cancelledAt?: string;
|
|
5303
5344
|
cancelledBy?: {
|
|
5304
|
-
|
|
5305
|
-
|
|
5345
|
+
type: "user" | "serviceAccount" | "system";
|
|
5346
|
+
id: string;
|
|
5306
5347
|
};
|
|
5307
5348
|
expiredAt?: string;
|
|
5308
5349
|
};
|
|
@@ -5371,8 +5412,8 @@ export type CancelWorkflowInterventionResponses = {
|
|
|
5371
5412
|
expiresAt?: string;
|
|
5372
5413
|
submittedAt?: string;
|
|
5373
5414
|
submittedBy?: {
|
|
5374
|
-
|
|
5375
|
-
|
|
5415
|
+
type: "user" | "serviceAccount" | "system";
|
|
5416
|
+
id: string;
|
|
5376
5417
|
};
|
|
5377
5418
|
response?: {
|
|
5378
5419
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -5381,8 +5422,8 @@ export type CancelWorkflowInterventionResponses = {
|
|
|
5381
5422
|
};
|
|
5382
5423
|
cancelledAt?: string;
|
|
5383
5424
|
cancelledBy?: {
|
|
5384
|
-
|
|
5385
|
-
|
|
5425
|
+
type: "user" | "serviceAccount" | "system";
|
|
5426
|
+
id: string;
|
|
5386
5427
|
};
|
|
5387
5428
|
expiredAt?: string;
|
|
5388
5429
|
};
|
|
@@ -5447,8 +5488,8 @@ export type ListWorkflowRunsResponses = {
|
|
|
5447
5488
|
truncated?: true;
|
|
5448
5489
|
};
|
|
5449
5490
|
requestedBy: {
|
|
5450
|
-
|
|
5451
|
-
|
|
5491
|
+
type: "user" | "serviceAccount" | "system";
|
|
5492
|
+
id: string;
|
|
5452
5493
|
};
|
|
5453
5494
|
}>;
|
|
5454
5495
|
hasMore: boolean;
|
|
@@ -5514,8 +5555,8 @@ export type GetWorkflowRunResponses = {
|
|
|
5514
5555
|
truncated?: true;
|
|
5515
5556
|
};
|
|
5516
5557
|
requestedBy: {
|
|
5517
|
-
|
|
5518
|
-
|
|
5558
|
+
type: "user" | "serviceAccount" | "system";
|
|
5559
|
+
id: string;
|
|
5519
5560
|
};
|
|
5520
5561
|
input: {
|
|
5521
5562
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -5855,8 +5896,8 @@ export type CancelWorkflowRunResponses = {
|
|
|
5855
5896
|
truncated?: true;
|
|
5856
5897
|
};
|
|
5857
5898
|
requestedBy: {
|
|
5858
|
-
|
|
5859
|
-
|
|
5899
|
+
type: "user" | "serviceAccount" | "system";
|
|
5900
|
+
id: string;
|
|
5860
5901
|
};
|
|
5861
5902
|
input: {
|
|
5862
5903
|
[key: string]: string | number | boolean | Array<unknown> | {
|
|
@@ -6834,6 +6875,15 @@ export type ListObjectTypesResponses = {
|
|
|
6834
6875
|
facet?: boolean;
|
|
6835
6876
|
weight?: number;
|
|
6836
6877
|
};
|
|
6878
|
+
/**
|
|
6879
|
+
* What object queries accept for this property, resolved from its schema and query metadata.
|
|
6880
|
+
*/
|
|
6881
|
+
capabilities: {
|
|
6882
|
+
operators: Array<"eq" | "neq" | "lt" | "lte" | "gt" | "gte" | "in" | "exists" | "contains">;
|
|
6883
|
+
sortable: boolean;
|
|
6884
|
+
facet: boolean;
|
|
6885
|
+
text: boolean;
|
|
6886
|
+
};
|
|
6837
6887
|
}>;
|
|
6838
6888
|
search?: {
|
|
6839
6889
|
title?: string;
|
|
@@ -6944,6 +6994,15 @@ export type GetObjectTypeResponses = {
|
|
|
6944
6994
|
facet?: boolean;
|
|
6945
6995
|
weight?: number;
|
|
6946
6996
|
};
|
|
6997
|
+
/**
|
|
6998
|
+
* What object queries accept for this property, resolved from its schema and query metadata.
|
|
6999
|
+
*/
|
|
7000
|
+
capabilities: {
|
|
7001
|
+
operators: Array<"eq" | "neq" | "lt" | "lte" | "gt" | "gte" | "in" | "exists" | "contains">;
|
|
7002
|
+
sortable: boolean;
|
|
7003
|
+
facet: boolean;
|
|
7004
|
+
text: boolean;
|
|
7005
|
+
};
|
|
6947
7006
|
}>;
|
|
6948
7007
|
search?: {
|
|
6949
7008
|
title?: string;
|
|
@@ -7617,6 +7676,12 @@ export type CreateFileUploadErrors = {
|
|
|
7617
7676
|
400: {
|
|
7618
7677
|
error: string;
|
|
7619
7678
|
};
|
|
7679
|
+
/**
|
|
7680
|
+
* Response for status 501
|
|
7681
|
+
*/
|
|
7682
|
+
501: {
|
|
7683
|
+
error: string;
|
|
7684
|
+
};
|
|
7620
7685
|
};
|
|
7621
7686
|
export type CreateFileUploadError = CreateFileUploadErrors[keyof CreateFileUploadErrors];
|
|
7622
7687
|
export type CreateFileUploadResponses = {
|
|
@@ -7680,6 +7745,12 @@ export type UploadFileContentErrors = {
|
|
|
7680
7745
|
410: {
|
|
7681
7746
|
error: string;
|
|
7682
7747
|
};
|
|
7748
|
+
/**
|
|
7749
|
+
* Response for status 501
|
|
7750
|
+
*/
|
|
7751
|
+
501: {
|
|
7752
|
+
error: string;
|
|
7753
|
+
};
|
|
7683
7754
|
};
|
|
7684
7755
|
export type UploadFileContentError = UploadFileContentErrors[keyof UploadFileContentErrors];
|
|
7685
7756
|
export type UploadFileContentResponses = {
|
|
@@ -7725,6 +7796,12 @@ export type SignFileUploadPartErrors = {
|
|
|
7725
7796
|
410: {
|
|
7726
7797
|
error: string;
|
|
7727
7798
|
};
|
|
7799
|
+
/**
|
|
7800
|
+
* Response for status 501
|
|
7801
|
+
*/
|
|
7802
|
+
501: {
|
|
7803
|
+
error: string;
|
|
7804
|
+
};
|
|
7728
7805
|
};
|
|
7729
7806
|
export type SignFileUploadPartError = SignFileUploadPartErrors[keyof SignFileUploadPartErrors];
|
|
7730
7807
|
export type SignFileUploadPartResponses = {
|
|
@@ -7782,6 +7859,12 @@ export type CompleteFileUploadErrors = {
|
|
|
7782
7859
|
410: {
|
|
7783
7860
|
error: string;
|
|
7784
7861
|
};
|
|
7862
|
+
/**
|
|
7863
|
+
* Response for status 501
|
|
7864
|
+
*/
|
|
7865
|
+
501: {
|
|
7866
|
+
error: string;
|
|
7867
|
+
};
|
|
7785
7868
|
};
|
|
7786
7869
|
export type CompleteFileUploadError = CompleteFileUploadErrors[keyof CompleteFileUploadErrors];
|
|
7787
7870
|
export type CompleteFileUploadResponses = {
|
|
@@ -7831,6 +7914,12 @@ export type AbortFileUploadErrors = {
|
|
|
7831
7914
|
410: {
|
|
7832
7915
|
error: string;
|
|
7833
7916
|
};
|
|
7917
|
+
/**
|
|
7918
|
+
* Response for status 501
|
|
7919
|
+
*/
|
|
7920
|
+
501: {
|
|
7921
|
+
error: string;
|
|
7922
|
+
};
|
|
7834
7923
|
};
|
|
7835
7924
|
export type AbortFileUploadError = AbortFileUploadErrors[keyof AbortFileUploadErrors];
|
|
7836
7925
|
export type AbortFileUploadResponses = {
|
|
@@ -7895,7 +7984,7 @@ export type ListActionRunsResponses = {
|
|
|
7895
7984
|
startedAt?: string;
|
|
7896
7985
|
finishedAt?: string;
|
|
7897
7986
|
error?: {
|
|
7898
|
-
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed";
|
|
7987
|
+
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed" | "action.read_conflict";
|
|
7899
7988
|
message: string;
|
|
7900
7989
|
retryable: boolean;
|
|
7901
7990
|
at: string;
|
|
@@ -7964,7 +8053,7 @@ export type GetActionRunResponses = {
|
|
|
7964
8053
|
startedAt?: string;
|
|
7965
8054
|
finishedAt?: string;
|
|
7966
8055
|
error?: {
|
|
7967
|
-
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed";
|
|
8056
|
+
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed" | "action.read_conflict";
|
|
7968
8057
|
message: string;
|
|
7969
8058
|
retryable: boolean;
|
|
7970
8059
|
at: string;
|
|
@@ -7993,7 +8082,7 @@ export type GetActionRunResponses = {
|
|
|
7993
8082
|
status: "failed";
|
|
7994
8083
|
completedAt: string;
|
|
7995
8084
|
error: {
|
|
7996
|
-
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed";
|
|
8085
|
+
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed" | "action.read_conflict";
|
|
7997
8086
|
message: string;
|
|
7998
8087
|
retryable: boolean;
|
|
7999
8088
|
at: string;
|
|
@@ -8014,7 +8103,7 @@ export type GetActionRunResponses = {
|
|
|
8014
8103
|
status: "failed";
|
|
8015
8104
|
completedAt: string;
|
|
8016
8105
|
error: {
|
|
8017
|
-
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed";
|
|
8106
|
+
code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "action.phase_failed" | "action.read_conflict";
|
|
8018
8107
|
message: string;
|
|
8019
8108
|
retryable: boolean;
|
|
8020
8109
|
at: string;
|
|
@@ -9669,10 +9758,6 @@ export type ListEventsResponses = {
|
|
|
9669
9758
|
schemaVersion: 1;
|
|
9670
9759
|
projectId: string;
|
|
9671
9760
|
occurredAt: string;
|
|
9672
|
-
actor?: {
|
|
9673
|
-
type: "user" | "serviceAccount" | "system";
|
|
9674
|
-
id: string;
|
|
9675
|
-
};
|
|
9676
9761
|
partitionKey: string;
|
|
9677
9762
|
origin: {
|
|
9678
9763
|
kind: "action";
|
|
@@ -9701,6 +9786,34 @@ export type ListEventsResponses = {
|
|
|
9701
9786
|
batchOrdinal: number;
|
|
9702
9787
|
};
|
|
9703
9788
|
};
|
|
9789
|
+
/**
|
|
9790
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
9791
|
+
*/
|
|
9792
|
+
requestedBy?: {
|
|
9793
|
+
type: "user" | "serviceAccount";
|
|
9794
|
+
id: string;
|
|
9795
|
+
};
|
|
9796
|
+
executor: {
|
|
9797
|
+
type: "request";
|
|
9798
|
+
requestId: string;
|
|
9799
|
+
} | {
|
|
9800
|
+
type: "primitive";
|
|
9801
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
9802
|
+
id: string;
|
|
9803
|
+
runId: string;
|
|
9804
|
+
} | {
|
|
9805
|
+
type: "agent";
|
|
9806
|
+
runId: string;
|
|
9807
|
+
} | {
|
|
9808
|
+
type: "kernel";
|
|
9809
|
+
operation: {
|
|
9810
|
+
type: "ontology.recover";
|
|
9811
|
+
recoveryId: string;
|
|
9812
|
+
} | {
|
|
9813
|
+
type: "ontology.indexVectors";
|
|
9814
|
+
indexingId: string;
|
|
9815
|
+
};
|
|
9816
|
+
};
|
|
9704
9817
|
commitId: string;
|
|
9705
9818
|
commitOrdinal: number;
|
|
9706
9819
|
type: "object.created";
|
|
@@ -9754,10 +9867,6 @@ export type ListEventsResponses = {
|
|
|
9754
9867
|
schemaVersion: 1;
|
|
9755
9868
|
projectId: string;
|
|
9756
9869
|
occurredAt: string;
|
|
9757
|
-
actor?: {
|
|
9758
|
-
type: "user" | "serviceAccount" | "system";
|
|
9759
|
-
id: string;
|
|
9760
|
-
};
|
|
9761
9870
|
partitionKey: string;
|
|
9762
9871
|
origin: {
|
|
9763
9872
|
kind: "action";
|
|
@@ -9786,6 +9895,34 @@ export type ListEventsResponses = {
|
|
|
9786
9895
|
batchOrdinal: number;
|
|
9787
9896
|
};
|
|
9788
9897
|
};
|
|
9898
|
+
/**
|
|
9899
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
9900
|
+
*/
|
|
9901
|
+
requestedBy?: {
|
|
9902
|
+
type: "user" | "serviceAccount";
|
|
9903
|
+
id: string;
|
|
9904
|
+
};
|
|
9905
|
+
executor: {
|
|
9906
|
+
type: "request";
|
|
9907
|
+
requestId: string;
|
|
9908
|
+
} | {
|
|
9909
|
+
type: "primitive";
|
|
9910
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
9911
|
+
id: string;
|
|
9912
|
+
runId: string;
|
|
9913
|
+
} | {
|
|
9914
|
+
type: "agent";
|
|
9915
|
+
runId: string;
|
|
9916
|
+
} | {
|
|
9917
|
+
type: "kernel";
|
|
9918
|
+
operation: {
|
|
9919
|
+
type: "ontology.recover";
|
|
9920
|
+
recoveryId: string;
|
|
9921
|
+
} | {
|
|
9922
|
+
type: "ontology.indexVectors";
|
|
9923
|
+
indexingId: string;
|
|
9924
|
+
};
|
|
9925
|
+
};
|
|
9789
9926
|
commitId: string;
|
|
9790
9927
|
commitOrdinal: number;
|
|
9791
9928
|
type: "object.updated";
|
|
@@ -9839,10 +9976,6 @@ export type ListEventsResponses = {
|
|
|
9839
9976
|
schemaVersion: 1;
|
|
9840
9977
|
projectId: string;
|
|
9841
9978
|
occurredAt: string;
|
|
9842
|
-
actor?: {
|
|
9843
|
-
type: "user" | "serviceAccount" | "system";
|
|
9844
|
-
id: string;
|
|
9845
|
-
};
|
|
9846
9979
|
partitionKey: string;
|
|
9847
9980
|
origin: {
|
|
9848
9981
|
kind: "action";
|
|
@@ -9871,6 +10004,34 @@ export type ListEventsResponses = {
|
|
|
9871
10004
|
batchOrdinal: number;
|
|
9872
10005
|
};
|
|
9873
10006
|
};
|
|
10007
|
+
/**
|
|
10008
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
10009
|
+
*/
|
|
10010
|
+
requestedBy?: {
|
|
10011
|
+
type: "user" | "serviceAccount";
|
|
10012
|
+
id: string;
|
|
10013
|
+
};
|
|
10014
|
+
executor: {
|
|
10015
|
+
type: "request";
|
|
10016
|
+
requestId: string;
|
|
10017
|
+
} | {
|
|
10018
|
+
type: "primitive";
|
|
10019
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10020
|
+
id: string;
|
|
10021
|
+
runId: string;
|
|
10022
|
+
} | {
|
|
10023
|
+
type: "agent";
|
|
10024
|
+
runId: string;
|
|
10025
|
+
} | {
|
|
10026
|
+
type: "kernel";
|
|
10027
|
+
operation: {
|
|
10028
|
+
type: "ontology.recover";
|
|
10029
|
+
recoveryId: string;
|
|
10030
|
+
} | {
|
|
10031
|
+
type: "ontology.indexVectors";
|
|
10032
|
+
indexingId: string;
|
|
10033
|
+
};
|
|
10034
|
+
};
|
|
9874
10035
|
commitId: string;
|
|
9875
10036
|
commitOrdinal: number;
|
|
9876
10037
|
type: "object.deleted";
|
|
@@ -9919,10 +10080,6 @@ export type ListEventsResponses = {
|
|
|
9919
10080
|
schemaVersion: 1;
|
|
9920
10081
|
projectId: string;
|
|
9921
10082
|
occurredAt: string;
|
|
9922
|
-
actor?: {
|
|
9923
|
-
type: "user" | "serviceAccount" | "system";
|
|
9924
|
-
id: string;
|
|
9925
|
-
};
|
|
9926
10083
|
partitionKey: string;
|
|
9927
10084
|
origin: {
|
|
9928
10085
|
kind: "action";
|
|
@@ -9951,6 +10108,34 @@ export type ListEventsResponses = {
|
|
|
9951
10108
|
batchOrdinal: number;
|
|
9952
10109
|
};
|
|
9953
10110
|
};
|
|
10111
|
+
/**
|
|
10112
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
10113
|
+
*/
|
|
10114
|
+
requestedBy?: {
|
|
10115
|
+
type: "user" | "serviceAccount";
|
|
10116
|
+
id: string;
|
|
10117
|
+
};
|
|
10118
|
+
executor: {
|
|
10119
|
+
type: "request";
|
|
10120
|
+
requestId: string;
|
|
10121
|
+
} | {
|
|
10122
|
+
type: "primitive";
|
|
10123
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10124
|
+
id: string;
|
|
10125
|
+
runId: string;
|
|
10126
|
+
} | {
|
|
10127
|
+
type: "agent";
|
|
10128
|
+
runId: string;
|
|
10129
|
+
} | {
|
|
10130
|
+
type: "kernel";
|
|
10131
|
+
operation: {
|
|
10132
|
+
type: "ontology.recover";
|
|
10133
|
+
recoveryId: string;
|
|
10134
|
+
} | {
|
|
10135
|
+
type: "ontology.indexVectors";
|
|
10136
|
+
indexingId: string;
|
|
10137
|
+
};
|
|
10138
|
+
};
|
|
9954
10139
|
commitId: string;
|
|
9955
10140
|
commitOrdinal: number;
|
|
9956
10141
|
type: "telemetry.appended";
|
|
@@ -9974,10 +10159,6 @@ export type ListEventsResponses = {
|
|
|
9974
10159
|
schemaVersion: 1;
|
|
9975
10160
|
projectId: string;
|
|
9976
10161
|
occurredAt: string;
|
|
9977
|
-
actor?: {
|
|
9978
|
-
type: "user" | "serviceAccount" | "system";
|
|
9979
|
-
id: string;
|
|
9980
|
-
};
|
|
9981
10162
|
partitionKey: string;
|
|
9982
10163
|
origin: {
|
|
9983
10164
|
kind: "action";
|
|
@@ -10006,6 +10187,34 @@ export type ListEventsResponses = {
|
|
|
10006
10187
|
batchOrdinal: number;
|
|
10007
10188
|
};
|
|
10008
10189
|
};
|
|
10190
|
+
/**
|
|
10191
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
10192
|
+
*/
|
|
10193
|
+
requestedBy?: {
|
|
10194
|
+
type: "user" | "serviceAccount";
|
|
10195
|
+
id: string;
|
|
10196
|
+
};
|
|
10197
|
+
executor: {
|
|
10198
|
+
type: "request";
|
|
10199
|
+
requestId: string;
|
|
10200
|
+
} | {
|
|
10201
|
+
type: "primitive";
|
|
10202
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10203
|
+
id: string;
|
|
10204
|
+
runId: string;
|
|
10205
|
+
} | {
|
|
10206
|
+
type: "agent";
|
|
10207
|
+
runId: string;
|
|
10208
|
+
} | {
|
|
10209
|
+
type: "kernel";
|
|
10210
|
+
operation: {
|
|
10211
|
+
type: "ontology.recover";
|
|
10212
|
+
recoveryId: string;
|
|
10213
|
+
} | {
|
|
10214
|
+
type: "ontology.indexVectors";
|
|
10215
|
+
indexingId: string;
|
|
10216
|
+
};
|
|
10217
|
+
};
|
|
10009
10218
|
commitId: string;
|
|
10010
10219
|
commitOrdinal: number;
|
|
10011
10220
|
type: "link.created";
|
|
@@ -10062,10 +10271,6 @@ export type ListEventsResponses = {
|
|
|
10062
10271
|
schemaVersion: 1;
|
|
10063
10272
|
projectId: string;
|
|
10064
10273
|
occurredAt: string;
|
|
10065
|
-
actor?: {
|
|
10066
|
-
type: "user" | "serviceAccount" | "system";
|
|
10067
|
-
id: string;
|
|
10068
|
-
};
|
|
10069
10274
|
partitionKey: string;
|
|
10070
10275
|
origin: {
|
|
10071
10276
|
kind: "action";
|
|
@@ -10094,6 +10299,34 @@ export type ListEventsResponses = {
|
|
|
10094
10299
|
batchOrdinal: number;
|
|
10095
10300
|
};
|
|
10096
10301
|
};
|
|
10302
|
+
/**
|
|
10303
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
10304
|
+
*/
|
|
10305
|
+
requestedBy?: {
|
|
10306
|
+
type: "user" | "serviceAccount";
|
|
10307
|
+
id: string;
|
|
10308
|
+
};
|
|
10309
|
+
executor: {
|
|
10310
|
+
type: "request";
|
|
10311
|
+
requestId: string;
|
|
10312
|
+
} | {
|
|
10313
|
+
type: "primitive";
|
|
10314
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10315
|
+
id: string;
|
|
10316
|
+
runId: string;
|
|
10317
|
+
} | {
|
|
10318
|
+
type: "agent";
|
|
10319
|
+
runId: string;
|
|
10320
|
+
} | {
|
|
10321
|
+
type: "kernel";
|
|
10322
|
+
operation: {
|
|
10323
|
+
type: "ontology.recover";
|
|
10324
|
+
recoveryId: string;
|
|
10325
|
+
} | {
|
|
10326
|
+
type: "ontology.indexVectors";
|
|
10327
|
+
indexingId: string;
|
|
10328
|
+
};
|
|
10329
|
+
};
|
|
10097
10330
|
commitId: string;
|
|
10098
10331
|
commitOrdinal: number;
|
|
10099
10332
|
type: "link.updated";
|
|
@@ -10150,10 +10383,6 @@ export type ListEventsResponses = {
|
|
|
10150
10383
|
schemaVersion: 1;
|
|
10151
10384
|
projectId: string;
|
|
10152
10385
|
occurredAt: string;
|
|
10153
|
-
actor?: {
|
|
10154
|
-
type: "user" | "serviceAccount" | "system";
|
|
10155
|
-
id: string;
|
|
10156
|
-
};
|
|
10157
10386
|
partitionKey: string;
|
|
10158
10387
|
origin: {
|
|
10159
10388
|
kind: "action";
|
|
@@ -10182,6 +10411,34 @@ export type ListEventsResponses = {
|
|
|
10182
10411
|
batchOrdinal: number;
|
|
10183
10412
|
};
|
|
10184
10413
|
};
|
|
10414
|
+
/**
|
|
10415
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
10416
|
+
*/
|
|
10417
|
+
requestedBy?: {
|
|
10418
|
+
type: "user" | "serviceAccount";
|
|
10419
|
+
id: string;
|
|
10420
|
+
};
|
|
10421
|
+
executor: {
|
|
10422
|
+
type: "request";
|
|
10423
|
+
requestId: string;
|
|
10424
|
+
} | {
|
|
10425
|
+
type: "primitive";
|
|
10426
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10427
|
+
id: string;
|
|
10428
|
+
runId: string;
|
|
10429
|
+
} | {
|
|
10430
|
+
type: "agent";
|
|
10431
|
+
runId: string;
|
|
10432
|
+
} | {
|
|
10433
|
+
type: "kernel";
|
|
10434
|
+
operation: {
|
|
10435
|
+
type: "ontology.recover";
|
|
10436
|
+
recoveryId: string;
|
|
10437
|
+
} | {
|
|
10438
|
+
type: "ontology.indexVectors";
|
|
10439
|
+
indexingId: string;
|
|
10440
|
+
};
|
|
10441
|
+
};
|
|
10185
10442
|
commitId: string;
|
|
10186
10443
|
commitOrdinal: number;
|
|
10187
10444
|
type: "link.deleted";
|
|
@@ -10233,10 +10490,6 @@ export type ListEventsResponses = {
|
|
|
10233
10490
|
schemaVersion: 1;
|
|
10234
10491
|
projectId: string;
|
|
10235
10492
|
occurredAt: string;
|
|
10236
|
-
actor?: {
|
|
10237
|
-
type: "user" | "serviceAccount" | "system";
|
|
10238
|
-
id: string;
|
|
10239
|
-
};
|
|
10240
10493
|
partitionKey: string;
|
|
10241
10494
|
correlationId?: string;
|
|
10242
10495
|
causationId?: string;
|