@sixb/client 0.1.7 → 0.1.9

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.
Files changed (66) hide show
  1. package/dist/api.d.ts +5 -0
  2. package/dist/api.d.ts.map +1 -1
  3. package/dist/browser.d.ts +18 -1
  4. package/dist/browser.d.ts.map +1 -1
  5. package/dist/browser.js +201 -56
  6. package/dist/browser.js.map +3 -3
  7. package/dist/{chunk-r8p88mbg.js → chunk-62nthgkf.js} +263 -181
  8. package/dist/chunk-62nthgkf.js.map +19 -0
  9. package/dist/chunk-65zz479s.js +23 -0
  10. package/dist/chunk-65zz479s.js.map +10 -0
  11. package/dist/{chunk-dcebhkmz.js → chunk-6pmyt76w.js} +103 -83
  12. package/dist/chunk-6pmyt76w.js.map +17 -0
  13. package/dist/{chunk-p0xrjaz6.js → chunk-cs98dfbc.js} +20 -20
  14. package/dist/{chunk-p0xrjaz6.js.map → chunk-cs98dfbc.js.map} +2 -2
  15. package/dist/{chunk-h80qj1f8.js → chunk-d0m9gz29.js} +19 -4
  16. package/dist/chunk-d0m9gz29.js.map +10 -0
  17. package/dist/{chunk-m4by7m5r.js → chunk-dp68jpeq.js} +32 -15
  18. package/dist/chunk-dp68jpeq.js.map +12 -0
  19. package/dist/chunk-rvaq39w5.js +215 -0
  20. package/dist/chunk-rvaq39w5.js.map +10 -0
  21. package/dist/{chunk-mpgzkmwc.js → chunk-tyym13kq.js} +10 -10
  22. package/dist/{chunk-mpgzkmwc.js.map → chunk-tyym13kq.js.map} +2 -2
  23. package/dist/client-authority.d.ts +6 -0
  24. package/dist/client-authority.d.ts.map +1 -0
  25. package/dist/connectors/queries.d.ts +8 -0
  26. package/dist/connectors/queries.d.ts.map +1 -1
  27. package/dist/events-builder.d.ts.map +1 -1
  28. package/dist/generated/@tanstack/react-query.gen.d.ts +1195 -135
  29. package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
  30. package/dist/generated/index.d.ts +2 -2
  31. package/dist/generated/index.d.ts.map +1 -1
  32. package/dist/generated/sdk.gen.d.ts +25 -1
  33. package/dist/generated/sdk.gen.d.ts.map +1 -1
  34. package/dist/generated/types.gen.d.ts +501 -3
  35. package/dist/generated/types.gen.d.ts.map +1 -1
  36. package/dist/hooks.js +783 -669
  37. package/dist/hooks.js.map +3 -3
  38. package/dist/index.js +373 -358
  39. package/dist/index.js.map +1 -1
  40. package/dist/logs-builder.d.ts.map +1 -1
  41. package/dist/logs.js +18 -17
  42. package/dist/logs.js.map +1 -1
  43. package/dist/models.js +292 -280
  44. package/dist/models.js.map +1 -1
  45. package/dist/query.js +11 -10
  46. package/dist/query.js.map +1 -1
  47. package/dist/ws-socket.d.ts.map +1 -1
  48. package/package.json +3 -3
  49. package/src/api.ts +92 -3
  50. package/src/browser.ts +257 -48
  51. package/src/client-authority.ts +31 -0
  52. package/src/events-builder.ts +18 -1
  53. package/src/generated/@tanstack/react-query.gen.ts +229 -0
  54. package/src/generated/index.ts +36 -0
  55. package/src/generated/sdk.gen.ts +178 -12
  56. package/src/generated/types.gen.ts +550 -3
  57. package/src/logs-builder.ts +14 -1
  58. package/src/ws-socket.ts +11 -0
  59. package/dist/chunk-b3bfdm80.js +0 -160
  60. package/dist/chunk-b3bfdm80.js.map +0 -10
  61. package/dist/chunk-dcebhkmz.js.map +0 -17
  62. package/dist/chunk-h80qj1f8.js.map +0 -10
  63. package/dist/chunk-m4by7m5r.js.map +0 -12
  64. package/dist/chunk-r8p88mbg.js.map +0 -19
  65. /package/dist/{chunk-trpg18dp.js → chunk-0ka9ykez.js} +0 -0
  66. /package/dist/{chunk-trpg18dp.js.map → chunk-0ka9ykez.js.map} +0 -0
@@ -1764,6 +1764,17 @@ export type ListAiModelCallsResponses = {
1764
1764
  recordedAt: string;
1765
1765
  };
1766
1766
  attribution?: {
1767
+ kind: "request";
1768
+ requestId: string;
1769
+ } | {
1770
+ kind: "action";
1771
+ actionId: string;
1772
+ actionRunId: string;
1773
+ } | {
1774
+ kind: "workflow";
1775
+ workflowId: string;
1776
+ workflowRunId: string;
1777
+ } | {
1767
1778
  kind: "agent";
1768
1779
  agentRunId: string;
1769
1780
  threadId: string;
@@ -2384,6 +2395,17 @@ export type ListAiModelCallGroupsResponses = {
2384
2395
  items: Array<{
2385
2396
  executionId: string;
2386
2397
  attribution?: {
2398
+ kind: "request";
2399
+ requestId: string;
2400
+ } | {
2401
+ kind: "action";
2402
+ actionId: string;
2403
+ actionRunId: string;
2404
+ } | {
2405
+ kind: "workflow";
2406
+ workflowId: string;
2407
+ workflowRunId: string;
2408
+ } | {
2387
2409
  kind: "agent";
2388
2410
  agentRunId: string;
2389
2411
  threadId: string;
@@ -2415,6 +2437,17 @@ export type ListAiModelCallGroupsResponses = {
2415
2437
  executions: Array<{
2416
2438
  executionId: string;
2417
2439
  attribution?: {
2440
+ kind: "request";
2441
+ requestId: string;
2442
+ } | {
2443
+ kind: "action";
2444
+ actionId: string;
2445
+ actionRunId: string;
2446
+ } | {
2447
+ kind: "workflow";
2448
+ workflowId: string;
2449
+ workflowRunId: string;
2450
+ } | {
2418
2451
  kind: "agent";
2419
2452
  agentRunId: string;
2420
2453
  threadId: string;
@@ -3062,6 +3095,8 @@ export type GetConnectorConnectionRunResponses = {
3062
3095
  details?: string | number | boolean | Array<unknown> | {
3063
3096
  [key: string]: unknown;
3064
3097
  } | null;
3098
+ httpStatus?: number;
3099
+ redacted?: true;
3065
3100
  truncated?: true;
3066
3101
  };
3067
3102
  finishedAt: string;
@@ -3236,6 +3271,8 @@ export type AddConnectorConnectionResponses = {
3236
3271
  details?: string | number | boolean | Array<unknown> | {
3237
3272
  [key: string]: unknown;
3238
3273
  } | null;
3274
+ httpStatus?: number;
3275
+ redacted?: true;
3239
3276
  truncated?: true;
3240
3277
  };
3241
3278
  finishedAt: string;
@@ -3411,6 +3448,8 @@ export type SelectConnectorConnectionRunAccountResponses = {
3411
3448
  details?: string | number | boolean | Array<unknown> | {
3412
3449
  [key: string]: unknown;
3413
3450
  } | null;
3451
+ httpStatus?: number;
3452
+ redacted?: true;
3414
3453
  truncated?: true;
3415
3454
  };
3416
3455
  finishedAt: string;
@@ -3557,6 +3596,7 @@ export type ListDatasetsResponses = {
3557
3596
  id: string;
3558
3597
  description?: string;
3559
3598
  primaryKey?: string | Array<string>;
3599
+ sequenceBy?: string;
3560
3600
  partitionBy?: Array<string>;
3561
3601
  schema: {
3562
3602
  columns: Array<{
@@ -3616,6 +3656,7 @@ export type GetDatasetResponses = {
3616
3656
  id: string;
3617
3657
  description?: string;
3618
3658
  primaryKey?: string | Array<string>;
3659
+ sequenceBy?: string;
3619
3660
  partitionBy?: Array<string>;
3620
3661
  schema: {
3621
3662
  columns: Array<{
@@ -3688,7 +3729,7 @@ export type ListDatasetVersionsResponses = {
3688
3729
  }>;
3689
3730
  };
3690
3731
  producer?: {
3691
- kind: "sync" | "pipeline";
3732
+ kind: "sync" | "pipeline" | "ingest";
3692
3733
  id?: string;
3693
3734
  runId?: string;
3694
3735
  };
@@ -3749,7 +3790,7 @@ export type GetDatasetVersionResponses = {
3749
3790
  }>;
3750
3791
  };
3751
3792
  producer?: {
3752
- kind: "sync" | "pipeline";
3793
+ kind: "sync" | "pipeline" | "ingest";
3753
3794
  id?: string;
3754
3795
  runId?: string;
3755
3796
  };
@@ -3815,7 +3856,7 @@ export type ListDatasetRowsResponses = {
3815
3856
  }>;
3816
3857
  };
3817
3858
  producer?: {
3818
- kind: "sync" | "pipeline";
3859
+ kind: "sync" | "pipeline" | "ingest";
3819
3860
  id?: string;
3820
3861
  runId?: string;
3821
3862
  };
@@ -3861,6 +3902,7 @@ export type ListSyncsResponses = {
3861
3902
  id: string;
3862
3903
  description?: string;
3863
3904
  primaryKey?: string | Array<string>;
3905
+ sequenceBy?: string;
3864
3906
  partitionBy?: Array<string>;
3865
3907
  schema: {
3866
3908
  columns: Array<{
@@ -3903,6 +3945,8 @@ export type ListSyncsResponses = {
3903
3945
  details?: string | number | boolean | Array<unknown> | {
3904
3946
  [key: string]: unknown;
3905
3947
  } | null;
3948
+ httpStatus?: number;
3949
+ redacted?: true;
3906
3950
  truncated?: true;
3907
3951
  };
3908
3952
  } | null;
@@ -3943,6 +3987,7 @@ export type GetSyncResponses = {
3943
3987
  id: string;
3944
3988
  description?: string;
3945
3989
  primaryKey?: string | Array<string>;
3990
+ sequenceBy?: string;
3946
3991
  partitionBy?: Array<string>;
3947
3992
  schema: {
3948
3993
  columns: Array<{
@@ -3985,6 +4030,8 @@ export type GetSyncResponses = {
3985
4030
  details?: string | number | boolean | Array<unknown> | {
3986
4031
  [key: string]: unknown;
3987
4032
  } | null;
4033
+ httpStatus?: number;
4034
+ redacted?: true;
3988
4035
  truncated?: true;
3989
4036
  };
3990
4037
  } | null;
@@ -4054,6 +4101,8 @@ export type ListSyncRunsResponses = {
4054
4101
  details?: string | number | boolean | Array<unknown> | {
4055
4102
  [key: string]: unknown;
4056
4103
  } | null;
4104
+ httpStatus?: number;
4105
+ redacted?: true;
4057
4106
  truncated?: true;
4058
4107
  };
4059
4108
  }>;
@@ -4141,6 +4190,7 @@ export type ListPipelinesResponses = {
4141
4190
  id: string;
4142
4191
  description?: string;
4143
4192
  primaryKey?: string | Array<string>;
4193
+ sequenceBy?: string;
4144
4194
  partitionBy?: Array<string>;
4145
4195
  schema: {
4146
4196
  columns: Array<{
@@ -4155,6 +4205,7 @@ export type ListPipelinesResponses = {
4155
4205
  id: string;
4156
4206
  description?: string;
4157
4207
  primaryKey?: string | Array<string>;
4208
+ sequenceBy?: string;
4158
4209
  partitionBy?: Array<string>;
4159
4210
  schema: {
4160
4211
  columns: Array<{
@@ -4190,6 +4241,8 @@ export type ListPipelinesResponses = {
4190
4241
  details?: string | number | boolean | Array<unknown> | {
4191
4242
  [key: string]: unknown;
4192
4243
  } | null;
4244
+ httpStatus?: number;
4245
+ redacted?: true;
4193
4246
  truncated?: true;
4194
4247
  };
4195
4248
  } | null;
@@ -4242,6 +4295,7 @@ export type GetPipelineResponses = {
4242
4295
  id: string;
4243
4296
  description?: string;
4244
4297
  primaryKey?: string | Array<string>;
4298
+ sequenceBy?: string;
4245
4299
  partitionBy?: Array<string>;
4246
4300
  schema: {
4247
4301
  columns: Array<{
@@ -4256,6 +4310,7 @@ export type GetPipelineResponses = {
4256
4310
  id: string;
4257
4311
  description?: string;
4258
4312
  primaryKey?: string | Array<string>;
4313
+ sequenceBy?: string;
4259
4314
  partitionBy?: Array<string>;
4260
4315
  schema: {
4261
4316
  columns: Array<{
@@ -4291,6 +4346,8 @@ export type GetPipelineResponses = {
4291
4346
  details?: string | number | boolean | Array<unknown> | {
4292
4347
  [key: string]: unknown;
4293
4348
  } | null;
4349
+ httpStatus?: number;
4350
+ redacted?: true;
4294
4351
  truncated?: true;
4295
4352
  };
4296
4353
  } | null;
@@ -4354,6 +4411,8 @@ export type ListPipelineRunsResponses = {
4354
4411
  details?: string | number | boolean | Array<unknown> | {
4355
4412
  [key: string]: unknown;
4356
4413
  } | null;
4414
+ httpStatus?: number;
4415
+ redacted?: true;
4357
4416
  truncated?: true;
4358
4417
  };
4359
4418
  }>;
@@ -4419,6 +4478,8 @@ export type GetPipelineRunResponses = {
4419
4478
  details?: string | number | boolean | Array<unknown> | {
4420
4479
  [key: string]: unknown;
4421
4480
  } | null;
4481
+ httpStatus?: number;
4482
+ redacted?: true;
4422
4483
  truncated?: true;
4423
4484
  };
4424
4485
  };
@@ -4453,6 +4514,8 @@ export type GetPipelineRunResponses = {
4453
4514
  details?: string | number | boolean | Array<unknown> | {
4454
4515
  [key: string]: unknown;
4455
4516
  } | null;
4517
+ httpStatus?: number;
4518
+ redacted?: true;
4456
4519
  truncated?: true;
4457
4520
  };
4458
4521
  }>;
@@ -4594,6 +4657,8 @@ export type ListWorkflowsResponses = {
4594
4657
  details?: string | number | boolean | Array<unknown> | {
4595
4658
  [key: string]: unknown;
4596
4659
  } | null;
4660
+ httpStatus?: number;
4661
+ redacted?: true;
4597
4662
  truncated?: true;
4598
4663
  };
4599
4664
  requestedBy: {
@@ -4709,6 +4774,8 @@ export type GetWorkflowResponses = {
4709
4774
  details?: string | number | boolean | Array<unknown> | {
4710
4775
  [key: string]: unknown;
4711
4776
  } | null;
4777
+ httpStatus?: number;
4778
+ redacted?: true;
4712
4779
  truncated?: true;
4713
4780
  };
4714
4781
  requestedBy: {
@@ -5094,6 +5161,8 @@ export type ListWorkflowRunsResponses = {
5094
5161
  details?: string | number | boolean | Array<unknown> | {
5095
5162
  [key: string]: unknown;
5096
5163
  } | null;
5164
+ httpStatus?: number;
5165
+ redacted?: true;
5097
5166
  truncated?: true;
5098
5167
  };
5099
5168
  requestedBy: {
@@ -5159,6 +5228,8 @@ export type GetWorkflowRunResponses = {
5159
5228
  details?: string | number | boolean | Array<unknown> | {
5160
5229
  [key: string]: unknown;
5161
5230
  } | null;
5231
+ httpStatus?: number;
5232
+ redacted?: true;
5162
5233
  truncated?: true;
5163
5234
  };
5164
5235
  requestedBy: {
@@ -5209,6 +5280,8 @@ export type GetWorkflowRunResponses = {
5209
5280
  details?: string | number | boolean | Array<unknown> | {
5210
5281
  [key: string]: unknown;
5211
5282
  } | null;
5283
+ httpStatus?: number;
5284
+ redacted?: true;
5212
5285
  truncated?: true;
5213
5286
  };
5214
5287
  agentExecution?: {
@@ -5433,6 +5506,8 @@ export type GetWorkflowAgentNodeExecutionResponses = {
5433
5506
  details?: string | number | boolean | Array<unknown> | {
5434
5507
  [key: string]: unknown;
5435
5508
  } | null;
5509
+ httpStatus?: number;
5510
+ redacted?: true;
5436
5511
  truncated?: true;
5437
5512
  };
5438
5513
  createdAt: string;
@@ -5494,6 +5569,8 @@ export type CancelWorkflowRunResponses = {
5494
5569
  details?: string | number | boolean | Array<unknown> | {
5495
5570
  [key: string]: unknown;
5496
5571
  } | null;
5572
+ httpStatus?: number;
5573
+ redacted?: true;
5497
5574
  truncated?: true;
5498
5575
  };
5499
5576
  requestedBy: {
@@ -5544,6 +5621,8 @@ export type CancelWorkflowRunResponses = {
5544
5621
  details?: string | number | boolean | Array<unknown> | {
5545
5622
  [key: string]: unknown;
5546
5623
  } | null;
5624
+ httpStatus?: number;
5625
+ redacted?: true;
5547
5626
  truncated?: true;
5548
5627
  };
5549
5628
  agentExecution?: {
@@ -6072,6 +6151,357 @@ export type ListRuleStatesResponses = {
6072
6151
  };
6073
6152
  };
6074
6153
  export type ListRuleStatesResponse = ListRuleStatesResponses[keyof ListRuleStatesResponses];
6154
+ export type ListSharedAccessGrantsData = {
6155
+ body?: never;
6156
+ path?: never;
6157
+ query: {
6158
+ definitionId: string;
6159
+ primaryId?: string;
6160
+ includeRevoked?: boolean;
6161
+ includeExpired?: boolean;
6162
+ limit?: number;
6163
+ offset?: number;
6164
+ };
6165
+ url: "/api/share-grants";
6166
+ };
6167
+ export type ListSharedAccessGrantsErrors = {
6168
+ /**
6169
+ * Response for status 400
6170
+ */
6171
+ 400: {
6172
+ error: string;
6173
+ };
6174
+ /**
6175
+ * Response for status 401
6176
+ */
6177
+ 401: {
6178
+ error: string;
6179
+ };
6180
+ /**
6181
+ * Response for status 403
6182
+ */
6183
+ 403: {
6184
+ error: string;
6185
+ };
6186
+ /**
6187
+ * Response for status 404
6188
+ */
6189
+ 404: {
6190
+ error: string;
6191
+ };
6192
+ /**
6193
+ * Response for status 500
6194
+ */
6195
+ 500: {
6196
+ error: string;
6197
+ };
6198
+ /**
6199
+ * Response for status 501
6200
+ */
6201
+ 501: {
6202
+ error: string;
6203
+ };
6204
+ };
6205
+ export type ListSharedAccessGrantsError = ListSharedAccessGrantsErrors[keyof ListSharedAccessGrantsErrors];
6206
+ export type ListSharedAccessGrantsResponses = {
6207
+ /**
6208
+ * Response for status 200
6209
+ */
6210
+ 200: {
6211
+ grants: Array<{
6212
+ id: string;
6213
+ definitionId: string;
6214
+ target: {
6215
+ objectTypeId: string;
6216
+ primaryId: string;
6217
+ };
6218
+ issuedBy: {
6219
+ type: "user" | "serviceAccount";
6220
+ id: string;
6221
+ };
6222
+ destinationPath: string;
6223
+ createdAt: string;
6224
+ expiresAt: string;
6225
+ revokedAt?: string;
6226
+ revokedBy?: {
6227
+ type: "user" | "serviceAccount" | "system";
6228
+ id: string;
6229
+ };
6230
+ }>;
6231
+ hasMore: boolean;
6232
+ total: number;
6233
+ };
6234
+ };
6235
+ export type ListSharedAccessGrantsResponse = ListSharedAccessGrantsResponses[keyof ListSharedAccessGrantsResponses];
6236
+ export type IssueSharedAccessGrantData = {
6237
+ body: {
6238
+ definitionId: string;
6239
+ target: {
6240
+ objectTypeId: string;
6241
+ primaryId: string;
6242
+ };
6243
+ destinationPath: string;
6244
+ expiresAt: string;
6245
+ };
6246
+ path?: never;
6247
+ query?: never;
6248
+ url: "/api/share-grants";
6249
+ };
6250
+ export type IssueSharedAccessGrantErrors = {
6251
+ /**
6252
+ * Response for status 400
6253
+ */
6254
+ 400: {
6255
+ error: string;
6256
+ };
6257
+ /**
6258
+ * Response for status 401
6259
+ */
6260
+ 401: {
6261
+ error: string;
6262
+ };
6263
+ /**
6264
+ * Response for status 403
6265
+ */
6266
+ 403: {
6267
+ error: string;
6268
+ };
6269
+ /**
6270
+ * Response for status 404
6271
+ */
6272
+ 404: {
6273
+ error: string;
6274
+ };
6275
+ /**
6276
+ * Response for status 500
6277
+ */
6278
+ 500: {
6279
+ error: string;
6280
+ };
6281
+ /**
6282
+ * Response for status 501
6283
+ */
6284
+ 501: {
6285
+ error: string;
6286
+ };
6287
+ };
6288
+ export type IssueSharedAccessGrantError = IssueSharedAccessGrantErrors[keyof IssueSharedAccessGrantErrors];
6289
+ export type IssueSharedAccessGrantResponses = {
6290
+ /**
6291
+ * Response for status 201
6292
+ */
6293
+ 201: {
6294
+ grant: {
6295
+ id: string;
6296
+ definitionId: string;
6297
+ target: {
6298
+ objectTypeId: string;
6299
+ primaryId: string;
6300
+ };
6301
+ issuedBy: {
6302
+ type: "user" | "serviceAccount";
6303
+ id: string;
6304
+ };
6305
+ destinationPath: string;
6306
+ createdAt: string;
6307
+ expiresAt: string;
6308
+ revokedAt?: string;
6309
+ revokedBy?: {
6310
+ type: "user" | "serviceAccount" | "system";
6311
+ id: string;
6312
+ };
6313
+ };
6314
+ url: string;
6315
+ };
6316
+ };
6317
+ export type IssueSharedAccessGrantResponse = IssueSharedAccessGrantResponses[keyof IssueSharedAccessGrantResponses];
6318
+ export type RevokeSharedAccessGrantData = {
6319
+ body?: never;
6320
+ path: {
6321
+ grantId: string;
6322
+ };
6323
+ query?: never;
6324
+ url: "/api/share-grants/{grantId}";
6325
+ };
6326
+ export type RevokeSharedAccessGrantErrors = {
6327
+ /**
6328
+ * Response for status 400
6329
+ */
6330
+ 400: {
6331
+ error: string;
6332
+ };
6333
+ /**
6334
+ * Response for status 401
6335
+ */
6336
+ 401: {
6337
+ error: string;
6338
+ };
6339
+ /**
6340
+ * Response for status 403
6341
+ */
6342
+ 403: {
6343
+ error: string;
6344
+ };
6345
+ /**
6346
+ * Response for status 404
6347
+ */
6348
+ 404: {
6349
+ error: string;
6350
+ };
6351
+ /**
6352
+ * Response for status 500
6353
+ */
6354
+ 500: {
6355
+ error: string;
6356
+ };
6357
+ /**
6358
+ * Response for status 501
6359
+ */
6360
+ 501: {
6361
+ error: string;
6362
+ };
6363
+ };
6364
+ export type RevokeSharedAccessGrantError = RevokeSharedAccessGrantErrors[keyof RevokeSharedAccessGrantErrors];
6365
+ export type RevokeSharedAccessGrantResponses = {
6366
+ /**
6367
+ * Response for status 200
6368
+ */
6369
+ 200: {
6370
+ grant: {
6371
+ id: string;
6372
+ definitionId: string;
6373
+ target: {
6374
+ objectTypeId: string;
6375
+ primaryId: string;
6376
+ };
6377
+ issuedBy: {
6378
+ type: "user" | "serviceAccount";
6379
+ id: string;
6380
+ };
6381
+ destinationPath: string;
6382
+ createdAt: string;
6383
+ expiresAt: string;
6384
+ revokedAt?: string;
6385
+ revokedBy?: {
6386
+ type: "user" | "serviceAccount" | "system";
6387
+ id: string;
6388
+ };
6389
+ };
6390
+ };
6391
+ };
6392
+ export type RevokeSharedAccessGrantResponse = RevokeSharedAccessGrantResponses[keyof RevokeSharedAccessGrantResponses];
6393
+ export type ExchangeSharedAccessData = {
6394
+ body: {
6395
+ secret: string;
6396
+ };
6397
+ path: {
6398
+ grantId: string;
6399
+ };
6400
+ query?: never;
6401
+ url: "/api/shared-access/{grantId}/exchange";
6402
+ };
6403
+ export type ExchangeSharedAccessErrors = {
6404
+ /**
6405
+ * Response for status 401
6406
+ */
6407
+ 401: {
6408
+ error: string;
6409
+ };
6410
+ /**
6411
+ * Response for status 503
6412
+ */
6413
+ 503: {
6414
+ error: string;
6415
+ };
6416
+ };
6417
+ export type ExchangeSharedAccessError = ExchangeSharedAccessErrors[keyof ExchangeSharedAccessErrors];
6418
+ export type ExchangeSharedAccessResponses = {
6419
+ /**
6420
+ * Response for status 200
6421
+ */
6422
+ 200: {
6423
+ grantId: string;
6424
+ destinationPath: string;
6425
+ expiresAt: string;
6426
+ absoluteExpiresAt: string;
6427
+ csrfToken: string;
6428
+ };
6429
+ };
6430
+ export type ExchangeSharedAccessResponse = ExchangeSharedAccessResponses[keyof ExchangeSharedAccessResponses];
6431
+ export type GetSharedAccessSessionData = {
6432
+ body?: never;
6433
+ path: {
6434
+ grantId: string;
6435
+ };
6436
+ query?: never;
6437
+ url: "/api/shared-access/{grantId}/session";
6438
+ };
6439
+ export type GetSharedAccessSessionErrors = {
6440
+ /**
6441
+ * Response for status 401
6442
+ */
6443
+ 401: {
6444
+ error: string;
6445
+ };
6446
+ /**
6447
+ * Response for status 503
6448
+ */
6449
+ 503: {
6450
+ error: string;
6451
+ };
6452
+ };
6453
+ export type GetSharedAccessSessionError = GetSharedAccessSessionErrors[keyof GetSharedAccessSessionErrors];
6454
+ export type GetSharedAccessSessionResponses = {
6455
+ /**
6456
+ * Response for status 200
6457
+ */
6458
+ 200: {
6459
+ grantId: string;
6460
+ destinationPath: string;
6461
+ expiresAt: string;
6462
+ absoluteExpiresAt: string;
6463
+ csrfToken: string;
6464
+ };
6465
+ };
6466
+ export type GetSharedAccessSessionResponse = GetSharedAccessSessionResponses[keyof GetSharedAccessSessionResponses];
6467
+ export type SignOutSharedAccessData = {
6468
+ body?: never;
6469
+ path: {
6470
+ grantId: string;
6471
+ };
6472
+ query?: never;
6473
+ url: "/api/shared-access/{grantId}/sign-out";
6474
+ };
6475
+ export type SignOutSharedAccessErrors = {
6476
+ /**
6477
+ * Response for status 401
6478
+ */
6479
+ 401: {
6480
+ error: string;
6481
+ };
6482
+ /**
6483
+ * Response for status 403
6484
+ */
6485
+ 403: {
6486
+ error: string;
6487
+ };
6488
+ /**
6489
+ * Response for status 503
6490
+ */
6491
+ 503: {
6492
+ error: string;
6493
+ };
6494
+ };
6495
+ export type SignOutSharedAccessError = SignOutSharedAccessErrors[keyof SignOutSharedAccessErrors];
6496
+ export type SignOutSharedAccessResponses = {
6497
+ /**
6498
+ * Response for status 200
6499
+ */
6500
+ 200: {
6501
+ signedOut: true;
6502
+ };
6503
+ };
6504
+ export type SignOutSharedAccessResponse = SignOutSharedAccessResponses[keyof SignOutSharedAccessResponses];
6075
6505
  export type ListObjectTypesData = {
6076
6506
  body?: never;
6077
6507
  path?: never;
@@ -7137,6 +7567,8 @@ export type ListActionRunsResponses = {
7137
7567
  runId: string;
7138
7568
  phase: "request" | "enqueue" | "validation" | "writeback" | "edits" | "commit" | "effects" | "cancelled";
7139
7569
  };
7570
+ httpStatus?: number;
7571
+ redacted?: true;
7140
7572
  truncated?: true;
7141
7573
  };
7142
7574
  }>;
@@ -7204,6 +7636,8 @@ export type GetActionRunResponses = {
7204
7636
  runId: string;
7205
7637
  phase: "request" | "enqueue" | "validation" | "writeback" | "edits" | "commit" | "effects" | "cancelled";
7206
7638
  };
7639
+ httpStatus?: number;
7640
+ redacted?: true;
7207
7641
  truncated?: true;
7208
7642
  };
7209
7643
  params: {
@@ -7231,6 +7665,8 @@ export type GetActionRunResponses = {
7231
7665
  runId: string;
7232
7666
  phase: "writeback";
7233
7667
  };
7668
+ httpStatus?: number;
7669
+ redacted?: true;
7234
7670
  truncated?: true;
7235
7671
  };
7236
7672
  };
@@ -7250,6 +7686,8 @@ export type GetActionRunResponses = {
7250
7686
  runId: string;
7251
7687
  phase: "effects";
7252
7688
  };
7689
+ httpStatus?: number;
7690
+ redacted?: true;
7253
7691
  truncated?: true;
7254
7692
  };
7255
7693
  };
@@ -7880,6 +8318,8 @@ export type PostAgentThreadMessageResponses = {
7880
8318
  details?: string | number | boolean | Array<unknown> | {
7881
8319
  [key: string]: unknown;
7882
8320
  } | null;
8321
+ httpStatus?: number;
8322
+ redacted?: true;
7883
8323
  truncated?: true;
7884
8324
  };
7885
8325
  attempt: number;
@@ -8081,6 +8521,8 @@ export type CancelAgentRunResponses = {
8081
8521
  details?: string | number | boolean | Array<unknown> | {
8082
8522
  [key: string]: unknown;
8083
8523
  } | null;
8524
+ httpStatus?: number;
8525
+ redacted?: true;
8084
8526
  truncated?: true;
8085
8527
  };
8086
8528
  attempt: number;
@@ -8206,6 +8648,8 @@ export type RetryAgentRunResponses = {
8206
8648
  details?: string | number | boolean | Array<unknown> | {
8207
8649
  [key: string]: unknown;
8208
8650
  } | null;
8651
+ httpStatus?: number;
8652
+ redacted?: true;
8209
8653
  truncated?: true;
8210
8654
  };
8211
8655
  attempt: number;
@@ -8313,6 +8757,8 @@ export type ListAgentThreadRunsResponses = {
8313
8757
  details?: string | number | boolean | Array<unknown> | {
8314
8758
  [key: string]: unknown;
8315
8759
  } | null;
8760
+ httpStatus?: number;
8761
+ redacted?: true;
8316
8762
  truncated?: true;
8317
8763
  };
8318
8764
  attempt: number;
@@ -8416,6 +8862,8 @@ export type GetAgentRunResponses = {
8416
8862
  details?: string | number | boolean | Array<unknown> | {
8417
8863
  [key: string]: unknown;
8418
8864
  } | null;
8865
+ httpStatus?: number;
8866
+ redacted?: true;
8419
8867
  truncated?: true;
8420
8868
  };
8421
8869
  attempt: number;
@@ -9499,6 +9947,8 @@ export type ListProjectionsResponses = {
9499
9947
  details?: string | number | boolean | Array<unknown> | {
9500
9948
  [key: string]: unknown;
9501
9949
  } | null;
9950
+ httpStatus?: number;
9951
+ redacted?: true;
9502
9952
  truncated?: true;
9503
9953
  };
9504
9954
  identity: {
@@ -9541,6 +9991,8 @@ export type ListProjectionsResponses = {
9541
9991
  details?: string | number | boolean | Array<unknown> | {
9542
9992
  [key: string]: unknown;
9543
9993
  } | null;
9994
+ httpStatus?: number;
9995
+ redacted?: true;
9544
9996
  truncated?: true;
9545
9997
  };
9546
9998
  identity: {
@@ -9584,6 +10036,8 @@ export type ListProjectionsResponses = {
9584
10036
  details?: string | number | boolean | Array<unknown> | {
9585
10037
  [key: string]: unknown;
9586
10038
  } | null;
10039
+ httpStatus?: number;
10040
+ redacted?: true;
9587
10041
  truncated?: true;
9588
10042
  };
9589
10043
  identity: {
@@ -9637,6 +10091,8 @@ export type ListProjectionsResponses = {
9637
10091
  details?: string | number | boolean | Array<unknown> | {
9638
10092
  [key: string]: unknown;
9639
10093
  } | null;
10094
+ httpStatus?: number;
10095
+ redacted?: true;
9640
10096
  truncated?: true;
9641
10097
  };
9642
10098
  identity: {
@@ -9679,6 +10135,8 @@ export type ListProjectionsResponses = {
9679
10135
  details?: string | number | boolean | Array<unknown> | {
9680
10136
  [key: string]: unknown;
9681
10137
  } | null;
10138
+ httpStatus?: number;
10139
+ redacted?: true;
9682
10140
  truncated?: true;
9683
10141
  };
9684
10142
  identity: {
@@ -9722,6 +10180,8 @@ export type ListProjectionsResponses = {
9722
10180
  details?: string | number | boolean | Array<unknown> | {
9723
10181
  [key: string]: unknown;
9724
10182
  } | null;
10183
+ httpStatus?: number;
10184
+ redacted?: true;
9725
10185
  truncated?: true;
9726
10186
  };
9727
10187
  identity: {
@@ -9779,6 +10239,8 @@ export type ListProjectionsResponses = {
9779
10239
  details?: string | number | boolean | Array<unknown> | {
9780
10240
  [key: string]: unknown;
9781
10241
  } | null;
10242
+ httpStatus?: number;
10243
+ redacted?: true;
9782
10244
  truncated?: true;
9783
10245
  };
9784
10246
  identity: {
@@ -9821,6 +10283,8 @@ export type ListProjectionsResponses = {
9821
10283
  details?: string | number | boolean | Array<unknown> | {
9822
10284
  [key: string]: unknown;
9823
10285
  } | null;
10286
+ httpStatus?: number;
10287
+ redacted?: true;
9824
10288
  truncated?: true;
9825
10289
  };
9826
10290
  identity: {
@@ -9864,6 +10328,8 @@ export type ListProjectionsResponses = {
9864
10328
  details?: string | number | boolean | Array<unknown> | {
9865
10329
  [key: string]: unknown;
9866
10330
  } | null;
10331
+ httpStatus?: number;
10332
+ redacted?: true;
9867
10333
  truncated?: true;
9868
10334
  };
9869
10335
  identity: {
@@ -9954,6 +10420,8 @@ export type GetProjectionResponses = {
9954
10420
  details?: string | number | boolean | Array<unknown> | {
9955
10421
  [key: string]: unknown;
9956
10422
  } | null;
10423
+ httpStatus?: number;
10424
+ redacted?: true;
9957
10425
  truncated?: true;
9958
10426
  };
9959
10427
  identity: {
@@ -9996,6 +10464,8 @@ export type GetProjectionResponses = {
9996
10464
  details?: string | number | boolean | Array<unknown> | {
9997
10465
  [key: string]: unknown;
9998
10466
  } | null;
10467
+ httpStatus?: number;
10468
+ redacted?: true;
9999
10469
  truncated?: true;
10000
10470
  };
10001
10471
  identity: {
@@ -10039,6 +10509,8 @@ export type GetProjectionResponses = {
10039
10509
  details?: string | number | boolean | Array<unknown> | {
10040
10510
  [key: string]: unknown;
10041
10511
  } | null;
10512
+ httpStatus?: number;
10513
+ redacted?: true;
10042
10514
  truncated?: true;
10043
10515
  };
10044
10516
  identity: {
@@ -10091,6 +10563,8 @@ export type GetProjectionResponses = {
10091
10563
  details?: string | number | boolean | Array<unknown> | {
10092
10564
  [key: string]: unknown;
10093
10565
  } | null;
10566
+ httpStatus?: number;
10567
+ redacted?: true;
10094
10568
  truncated?: true;
10095
10569
  };
10096
10570
  identity: {
@@ -10133,6 +10607,8 @@ export type GetProjectionResponses = {
10133
10607
  details?: string | number | boolean | Array<unknown> | {
10134
10608
  [key: string]: unknown;
10135
10609
  } | null;
10610
+ httpStatus?: number;
10611
+ redacted?: true;
10136
10612
  truncated?: true;
10137
10613
  };
10138
10614
  identity: {
@@ -10176,6 +10652,8 @@ export type GetProjectionResponses = {
10176
10652
  details?: string | number | boolean | Array<unknown> | {
10177
10653
  [key: string]: unknown;
10178
10654
  } | null;
10655
+ httpStatus?: number;
10656
+ redacted?: true;
10179
10657
  truncated?: true;
10180
10658
  };
10181
10659
  identity: {
@@ -10232,6 +10710,8 @@ export type GetProjectionResponses = {
10232
10710
  details?: string | number | boolean | Array<unknown> | {
10233
10711
  [key: string]: unknown;
10234
10712
  } | null;
10713
+ httpStatus?: number;
10714
+ redacted?: true;
10235
10715
  truncated?: true;
10236
10716
  };
10237
10717
  identity: {
@@ -10274,6 +10754,8 @@ export type GetProjectionResponses = {
10274
10754
  details?: string | number | boolean | Array<unknown> | {
10275
10755
  [key: string]: unknown;
10276
10756
  } | null;
10757
+ httpStatus?: number;
10758
+ redacted?: true;
10277
10759
  truncated?: true;
10278
10760
  };
10279
10761
  identity: {
@@ -10317,6 +10799,8 @@ export type GetProjectionResponses = {
10317
10799
  details?: string | number | boolean | Array<unknown> | {
10318
10800
  [key: string]: unknown;
10319
10801
  } | null;
10802
+ httpStatus?: number;
10803
+ redacted?: true;
10320
10804
  truncated?: true;
10321
10805
  };
10322
10806
  identity: {
@@ -10400,6 +10884,8 @@ export type ListProjectionRunsResponses = {
10400
10884
  details?: string | number | boolean | Array<unknown> | {
10401
10885
  [key: string]: unknown;
10402
10886
  } | null;
10887
+ httpStatus?: number;
10888
+ redacted?: true;
10403
10889
  truncated?: true;
10404
10890
  };
10405
10891
  identity: {
@@ -10442,6 +10928,8 @@ export type ListProjectionRunsResponses = {
10442
10928
  details?: string | number | boolean | Array<unknown> | {
10443
10929
  [key: string]: unknown;
10444
10930
  } | null;
10931
+ httpStatus?: number;
10932
+ redacted?: true;
10445
10933
  truncated?: true;
10446
10934
  };
10447
10935
  identity: {
@@ -10485,6 +10973,8 @@ export type ListProjectionRunsResponses = {
10485
10973
  details?: string | number | boolean | Array<unknown> | {
10486
10974
  [key: string]: unknown;
10487
10975
  } | null;
10976
+ httpStatus?: number;
10977
+ redacted?: true;
10488
10978
  truncated?: true;
10489
10979
  };
10490
10980
  identity: {
@@ -10566,6 +11056,8 @@ export type GetProjectionRunResponses = {
10566
11056
  details?: string | number | boolean | Array<unknown> | {
10567
11057
  [key: string]: unknown;
10568
11058
  } | null;
11059
+ httpStatus?: number;
11060
+ redacted?: true;
10569
11061
  truncated?: true;
10570
11062
  };
10571
11063
  identity: {
@@ -10608,6 +11100,8 @@ export type GetProjectionRunResponses = {
10608
11100
  details?: string | number | boolean | Array<unknown> | {
10609
11101
  [key: string]: unknown;
10610
11102
  } | null;
11103
+ httpStatus?: number;
11104
+ redacted?: true;
10611
11105
  truncated?: true;
10612
11106
  };
10613
11107
  identity: {
@@ -10651,6 +11145,8 @@ export type GetProjectionRunResponses = {
10651
11145
  details?: string | number | boolean | Array<unknown> | {
10652
11146
  [key: string]: unknown;
10653
11147
  } | null;
11148
+ httpStatus?: number;
11149
+ redacted?: true;
10654
11150
  truncated?: true;
10655
11151
  };
10656
11152
  identity: {
@@ -10733,6 +11229,8 @@ export type ListWebhookRunsResponses = {
10733
11229
  details?: string | number | boolean | Array<unknown> | {
10734
11230
  [key: string]: unknown;
10735
11231
  } | null;
11232
+ httpStatus?: number;
11233
+ redacted?: true;
10736
11234
  truncated?: true;
10737
11235
  };
10738
11236
  }>;