@sixb/client 0.1.8 → 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 (38) hide show
  1. package/dist/browser.js +47 -47
  2. package/dist/browser.js.map +2 -2
  3. package/dist/{chunk-n4160ht2.js → chunk-62nthgkf.js} +169 -169
  4. package/dist/{chunk-n4160ht2.js.map → chunk-62nthgkf.js.map} +2 -2
  5. package/dist/{chunk-0g4bg41z.js → chunk-6pmyt76w.js} +86 -86
  6. package/dist/{chunk-0g4bg41z.js.map → chunk-6pmyt76w.js.map} +2 -2
  7. package/dist/{chunk-se1tydhh.js → chunk-cs98dfbc.js} +20 -20
  8. package/dist/{chunk-se1tydhh.js.map → chunk-cs98dfbc.js.map} +2 -2
  9. package/dist/{chunk-cmfd585n.js → chunk-d0m9gz29.js} +6 -6
  10. package/dist/{chunk-cmfd585n.js.map → chunk-d0m9gz29.js.map} +2 -2
  11. package/dist/{chunk-x6pk2xhn.js → chunk-dp68jpeq.js} +19 -19
  12. package/dist/{chunk-x6pk2xhn.js.map → chunk-dp68jpeq.js.map} +2 -2
  13. package/dist/{chunk-v8q8185t.js → chunk-rvaq39w5.js} +34 -34
  14. package/dist/{chunk-v8q8185t.js.map → chunk-rvaq39w5.js.map} +2 -2
  15. package/dist/{chunk-mpgzkmwc.js → chunk-tyym13kq.js} +10 -10
  16. package/dist/{chunk-mpgzkmwc.js.map → chunk-tyym13kq.js.map} +2 -2
  17. package/dist/connectors/queries.d.ts +8 -0
  18. package/dist/connectors/queries.d.ts.map +1 -1
  19. package/dist/generated/@tanstack/react-query.gen.d.ts +800 -9
  20. package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
  21. package/dist/generated/types.gen.d.ts +139 -0
  22. package/dist/generated/types.gen.d.ts.map +1 -1
  23. package/dist/hooks.js +693 -693
  24. package/dist/hooks.js.map +2 -2
  25. package/dist/index.js +373 -373
  26. package/dist/index.js.map +1 -1
  27. package/dist/logs.js +18 -18
  28. package/dist/logs.js.map +1 -1
  29. package/dist/models.js +292 -292
  30. package/dist/models.js.map +1 -1
  31. package/dist/query.js +11 -11
  32. package/dist/query.js.map +1 -1
  33. package/package.json +3 -3
  34. package/src/generated/types.gen.ts +148 -0
  35. /package/dist/{chunk-trpg18dp.js → chunk-0ka9ykez.js} +0 -0
  36. /package/dist/{chunk-trpg18dp.js.map → chunk-0ka9ykez.js.map} +0 -0
  37. /package/dist/{chunk-3gvmb0w6.js → chunk-65zz479s.js} +0 -0
  38. /package/dist/{chunk-3gvmb0w6.js.map → chunk-65zz479s.js.map} +0 -0
package/dist/query.js CHANGED
@@ -1,16 +1,16 @@
1
1
  // @bun
2
2
  import {
3
- SixbQueryError,
4
- createHttpQueryExecutor,
5
- objects
6
- } from "./chunk-se1tydhh.js";
7
- import"./chunk-v8q8185t.js";
8
- import"./chunk-3gvmb0w6.js";
9
- import"./chunk-n4160ht2.js";
3
+ SixbQueryError2,
4
+ objects2,
5
+ createHttpQueryExecutor2
6
+ } from "./chunk-cs98dfbc.js";
7
+ import"./chunk-rvaq39w5.js";
8
+ import"./chunk-65zz479s.js";
9
+ import"./chunk-62nthgkf.js";
10
10
  export {
11
- objects,
12
- createHttpQueryExecutor,
13
- SixbQueryError
11
+ SixbQueryError2 as SixbQueryError,
12
+ createHttpQueryExecutor2 as createHttpQueryExecutor,
13
+ objects2 as objects
14
14
  };
15
15
 
16
- //# debugId=E025D89BCBB267DA64756E2164756E21
16
+ //# debugId=DCC82FCC758C29DF64756E2164756E21
package/dist/query.js.map CHANGED
@@ -4,6 +4,6 @@
4
4
  "sourcesContent": [
5
5
  ],
6
6
  "mappings": "",
7
- "debugId": "E025D89BCBB267DA64756E2164756E21",
7
+ "debugId": "DCC82FCC758C29DF64756E2164756E21",
8
8
  "names": []
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sixb/client",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Type-safe SDK for Sixb API with TanStack Query hooks",
5
5
  "keywords": [
6
6
  "sixb",
@@ -67,7 +67,7 @@
67
67
  "prepack": "bun run build"
68
68
  },
69
69
  "dependencies": {
70
- "@sixb/core": "^0.1.8"
70
+ "@sixb/core": "^0.1.9"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "@tanstack/react-query": "^5.0.0",
@@ -95,7 +95,7 @@
95
95
  },
96
96
  "license": "MIT",
97
97
  "engines": {
98
- "bun": ">=1.3.0"
98
+ "bun": ">=1.4.2"
99
99
  },
100
100
  "publishConfig": {
101
101
  "access": "public"
@@ -2000,6 +2000,20 @@ export type ListAiModelCallsResponses = {
2000
2000
  recordedAt: string
2001
2001
  }
2002
2002
  attribution?:
2003
+ | {
2004
+ kind: "request"
2005
+ requestId: string
2006
+ }
2007
+ | {
2008
+ kind: "action"
2009
+ actionId: string
2010
+ actionRunId: string
2011
+ }
2012
+ | {
2013
+ kind: "workflow"
2014
+ workflowId: string
2015
+ workflowRunId: string
2016
+ }
2003
2017
  | {
2004
2018
  kind: "agent"
2005
2019
  agentRunId: string
@@ -2783,6 +2797,20 @@ export type ListAiModelCallGroupsResponses = {
2783
2797
  items: Array<{
2784
2798
  executionId: string
2785
2799
  attribution?:
2800
+ | {
2801
+ kind: "request"
2802
+ requestId: string
2803
+ }
2804
+ | {
2805
+ kind: "action"
2806
+ actionId: string
2807
+ actionRunId: string
2808
+ }
2809
+ | {
2810
+ kind: "workflow"
2811
+ workflowId: string
2812
+ workflowRunId: string
2813
+ }
2786
2814
  | {
2787
2815
  kind: "agent"
2788
2816
  agentRunId: string
@@ -2817,6 +2845,20 @@ export type ListAiModelCallGroupsResponses = {
2817
2845
  executions: Array<{
2818
2846
  executionId: string
2819
2847
  attribution?:
2848
+ | {
2849
+ kind: "request"
2850
+ requestId: string
2851
+ }
2852
+ | {
2853
+ kind: "action"
2854
+ actionId: string
2855
+ actionRunId: string
2856
+ }
2857
+ | {
2858
+ kind: "workflow"
2859
+ workflowId: string
2860
+ workflowRunId: string
2861
+ }
2820
2862
  | {
2821
2863
  kind: "agent"
2822
2864
  agentRunId: string
@@ -3552,6 +3594,8 @@ export type GetConnectorConnectionRunResponses = {
3552
3594
  [key: string]: unknown
3553
3595
  }
3554
3596
  | null
3597
+ httpStatus?: number
3598
+ redacted?: true
3555
3599
  truncated?: true
3556
3600
  }
3557
3601
  finishedAt: string
@@ -3760,6 +3804,8 @@ export type AddConnectorConnectionResponses = {
3760
3804
  [key: string]: unknown
3761
3805
  }
3762
3806
  | null
3807
+ httpStatus?: number
3808
+ redacted?: true
3763
3809
  truncated?: true
3764
3810
  }
3765
3811
  finishedAt: string
@@ -3969,6 +4015,8 @@ export type SelectConnectorConnectionRunAccountResponses = {
3969
4015
  [key: string]: unknown
3970
4016
  }
3971
4017
  | null
4018
+ httpStatus?: number
4019
+ redacted?: true
3972
4020
  truncated?: true
3973
4021
  }
3974
4022
  finishedAt: string
@@ -4571,6 +4619,8 @@ export type ListSyncsResponses = {
4571
4619
  [key: string]: unknown
4572
4620
  }
4573
4621
  | null
4622
+ httpStatus?: number
4623
+ redacted?: true
4574
4624
  truncated?: true
4575
4625
  }
4576
4626
  } | null
@@ -4678,6 +4728,8 @@ export type GetSyncResponses = {
4678
4728
  [key: string]: unknown
4679
4729
  }
4680
4730
  | null
4731
+ httpStatus?: number
4732
+ redacted?: true
4681
4733
  truncated?: true
4682
4734
  }
4683
4735
  } | null
@@ -4762,6 +4814,8 @@ export type ListSyncRunsResponses = {
4762
4814
  [key: string]: unknown
4763
4815
  }
4764
4816
  | null
4817
+ httpStatus?: number
4818
+ redacted?: true
4765
4819
  truncated?: true
4766
4820
  }
4767
4821
  }>
@@ -4938,6 +4992,8 @@ export type ListPipelinesResponses = {
4938
4992
  [key: string]: unknown
4939
4993
  }
4940
4994
  | null
4995
+ httpStatus?: number
4996
+ redacted?: true
4941
4997
  truncated?: true
4942
4998
  }
4943
4999
  } | null
@@ -5076,6 +5132,8 @@ export type GetPipelineResponses = {
5076
5132
  [key: string]: unknown
5077
5133
  }
5078
5134
  | null
5135
+ httpStatus?: number
5136
+ redacted?: true
5079
5137
  truncated?: true
5080
5138
  }
5081
5139
  } | null
@@ -5154,6 +5212,8 @@ export type ListPipelineRunsResponses = {
5154
5212
  [key: string]: unknown
5155
5213
  }
5156
5214
  | null
5215
+ httpStatus?: number
5216
+ redacted?: true
5157
5217
  truncated?: true
5158
5218
  }
5159
5219
  }>
@@ -5234,6 +5294,8 @@ export type GetPipelineRunResponses = {
5234
5294
  [key: string]: unknown
5235
5295
  }
5236
5296
  | null
5297
+ httpStatus?: number
5298
+ redacted?: true
5237
5299
  truncated?: true
5238
5300
  }
5239
5301
  }
@@ -5278,6 +5340,8 @@ export type GetPipelineRunResponses = {
5278
5340
  [key: string]: unknown
5279
5341
  }
5280
5342
  | null
5343
+ httpStatus?: number
5344
+ redacted?: true
5281
5345
  truncated?: true
5282
5346
  }
5283
5347
  }>
@@ -5492,6 +5556,8 @@ export type ListWorkflowsResponses = {
5492
5556
  [key: string]: unknown
5493
5557
  }
5494
5558
  | null
5559
+ httpStatus?: number
5560
+ redacted?: true
5495
5561
  truncated?: true
5496
5562
  }
5497
5563
  requestedBy: {
@@ -5676,6 +5742,8 @@ export type GetWorkflowResponses = {
5676
5742
  [key: string]: unknown
5677
5743
  }
5678
5744
  | null
5745
+ httpStatus?: number
5746
+ redacted?: true
5679
5747
  truncated?: true
5680
5748
  }
5681
5749
  requestedBy: {
@@ -6183,6 +6251,8 @@ export type ListWorkflowRunsResponses = {
6183
6251
  [key: string]: unknown
6184
6252
  }
6185
6253
  | null
6254
+ httpStatus?: number
6255
+ redacted?: true
6186
6256
  truncated?: true
6187
6257
  }
6188
6258
  requestedBy: {
@@ -6264,6 +6334,8 @@ export type GetWorkflowRunResponses = {
6264
6334
  [key: string]: unknown
6265
6335
  }
6266
6336
  | null
6337
+ httpStatus?: number
6338
+ redacted?: true
6267
6339
  truncated?: true
6268
6340
  }
6269
6341
  requestedBy: {
@@ -6349,6 +6421,8 @@ export type GetWorkflowRunResponses = {
6349
6421
  [key: string]: unknown
6350
6422
  }
6351
6423
  | null
6424
+ httpStatus?: number
6425
+ redacted?: true
6352
6426
  truncated?: true
6353
6427
  }
6354
6428
  agentExecution?: {
@@ -6668,6 +6742,8 @@ export type GetWorkflowAgentNodeExecutionResponses = {
6668
6742
  [key: string]: unknown
6669
6743
  }
6670
6744
  | null
6745
+ httpStatus?: number
6746
+ redacted?: true
6671
6747
  truncated?: true
6672
6748
  }
6673
6749
  createdAt: string
@@ -6746,6 +6822,8 @@ export type CancelWorkflowRunResponses = {
6746
6822
  [key: string]: unknown
6747
6823
  }
6748
6824
  | null
6825
+ httpStatus?: number
6826
+ redacted?: true
6749
6827
  truncated?: true
6750
6828
  }
6751
6829
  requestedBy: {
@@ -6831,6 +6909,8 @@ export type CancelWorkflowRunResponses = {
6831
6909
  [key: string]: unknown
6832
6910
  }
6833
6911
  | null
6912
+ httpStatus?: number
6913
+ redacted?: true
6834
6914
  truncated?: true
6835
6915
  }
6836
6916
  agentExecution?: {
@@ -9055,6 +9135,8 @@ export type ListActionRunsResponses = {
9055
9135
  | "effects"
9056
9136
  | "cancelled"
9057
9137
  }
9138
+ httpStatus?: number
9139
+ redacted?: true
9058
9140
  truncated?: true
9059
9141
  }
9060
9142
  }>
@@ -9149,6 +9231,8 @@ export type GetActionRunResponses = {
9149
9231
  | "effects"
9150
9232
  | "cancelled"
9151
9233
  }
9234
+ httpStatus?: number
9235
+ redacted?: true
9152
9236
  truncated?: true
9153
9237
  }
9154
9238
  params: {
@@ -9188,6 +9272,8 @@ export type GetActionRunResponses = {
9188
9272
  runId: string
9189
9273
  phase: "writeback"
9190
9274
  }
9275
+ httpStatus?: number
9276
+ redacted?: true
9191
9277
  truncated?: true
9192
9278
  }
9193
9279
  }
@@ -9213,6 +9299,8 @@ export type GetActionRunResponses = {
9213
9299
  runId: string
9214
9300
  phase: "effects"
9215
9301
  }
9302
+ httpStatus?: number
9303
+ redacted?: true
9216
9304
  truncated?: true
9217
9305
  }
9218
9306
  }
@@ -10028,6 +10116,8 @@ export type PostAgentThreadMessageResponses = {
10028
10116
  [key: string]: unknown
10029
10117
  }
10030
10118
  | null
10119
+ httpStatus?: number
10120
+ redacted?: true
10031
10121
  truncated?: true
10032
10122
  }
10033
10123
  attempt: number
@@ -10281,6 +10371,8 @@ export type CancelAgentRunResponses = {
10281
10371
  [key: string]: unknown
10282
10372
  }
10283
10373
  | null
10374
+ httpStatus?: number
10375
+ redacted?: true
10284
10376
  truncated?: true
10285
10377
  }
10286
10378
  attempt: number
@@ -10451,6 +10543,8 @@ export type RetryAgentRunResponses = {
10451
10543
  [key: string]: unknown
10452
10544
  }
10453
10545
  | null
10546
+ httpStatus?: number
10547
+ redacted?: true
10454
10548
  truncated?: true
10455
10549
  }
10456
10550
  attempt: number
@@ -10597,6 +10691,8 @@ export type ListAgentThreadRunsResponses = {
10597
10691
  [key: string]: unknown
10598
10692
  }
10599
10693
  | null
10694
+ httpStatus?: number
10695
+ redacted?: true
10600
10696
  truncated?: true
10601
10697
  }
10602
10698
  attempt: number
@@ -10740,6 +10836,8 @@ export type GetAgentRunResponses = {
10740
10836
  [key: string]: unknown
10741
10837
  }
10742
10838
  | null
10839
+ httpStatus?: number
10840
+ redacted?: true
10743
10841
  truncated?: true
10744
10842
  }
10745
10843
  attempt: number
@@ -12218,6 +12316,8 @@ export type ListProjectionsResponses = {
12218
12316
  [key: string]: unknown
12219
12317
  }
12220
12318
  | null
12319
+ httpStatus?: number
12320
+ redacted?: true
12221
12321
  truncated?: true
12222
12322
  }
12223
12323
  identity: {
@@ -12271,6 +12371,8 @@ export type ListProjectionsResponses = {
12271
12371
  [key: string]: unknown
12272
12372
  }
12273
12373
  | null
12374
+ httpStatus?: number
12375
+ redacted?: true
12274
12376
  truncated?: true
12275
12377
  }
12276
12378
  identity: {
@@ -12325,6 +12427,8 @@ export type ListProjectionsResponses = {
12325
12427
  [key: string]: unknown
12326
12428
  }
12327
12429
  | null
12430
+ httpStatus?: number
12431
+ redacted?: true
12328
12432
  truncated?: true
12329
12433
  }
12330
12434
  identity: {
@@ -12390,6 +12494,8 @@ export type ListProjectionsResponses = {
12390
12494
  [key: string]: unknown
12391
12495
  }
12392
12496
  | null
12497
+ httpStatus?: number
12498
+ redacted?: true
12393
12499
  truncated?: true
12394
12500
  }
12395
12501
  identity: {
@@ -12443,6 +12549,8 @@ export type ListProjectionsResponses = {
12443
12549
  [key: string]: unknown
12444
12550
  }
12445
12551
  | null
12552
+ httpStatus?: number
12553
+ redacted?: true
12446
12554
  truncated?: true
12447
12555
  }
12448
12556
  identity: {
@@ -12497,6 +12605,8 @@ export type ListProjectionsResponses = {
12497
12605
  [key: string]: unknown
12498
12606
  }
12499
12607
  | null
12608
+ httpStatus?: number
12609
+ redacted?: true
12500
12610
  truncated?: true
12501
12611
  }
12502
12612
  identity: {
@@ -12566,6 +12676,8 @@ export type ListProjectionsResponses = {
12566
12676
  [key: string]: unknown
12567
12677
  }
12568
12678
  | null
12679
+ httpStatus?: number
12680
+ redacted?: true
12569
12681
  truncated?: true
12570
12682
  }
12571
12683
  identity: {
@@ -12619,6 +12731,8 @@ export type ListProjectionsResponses = {
12619
12731
  [key: string]: unknown
12620
12732
  }
12621
12733
  | null
12734
+ httpStatus?: number
12735
+ redacted?: true
12622
12736
  truncated?: true
12623
12737
  }
12624
12738
  identity: {
@@ -12673,6 +12787,8 @@ export type ListProjectionsResponses = {
12673
12787
  [key: string]: unknown
12674
12788
  }
12675
12789
  | null
12790
+ httpStatus?: number
12791
+ redacted?: true
12676
12792
  truncated?: true
12677
12793
  }
12678
12794
  identity: {
@@ -12783,6 +12899,8 @@ export type GetProjectionResponses = {
12783
12899
  [key: string]: unknown
12784
12900
  }
12785
12901
  | null
12902
+ httpStatus?: number
12903
+ redacted?: true
12786
12904
  truncated?: true
12787
12905
  }
12788
12906
  identity: {
@@ -12836,6 +12954,8 @@ export type GetProjectionResponses = {
12836
12954
  [key: string]: unknown
12837
12955
  }
12838
12956
  | null
12957
+ httpStatus?: number
12958
+ redacted?: true
12839
12959
  truncated?: true
12840
12960
  }
12841
12961
  identity: {
@@ -12890,6 +13010,8 @@ export type GetProjectionResponses = {
12890
13010
  [key: string]: unknown
12891
13011
  }
12892
13012
  | null
13013
+ httpStatus?: number
13014
+ redacted?: true
12893
13015
  truncated?: true
12894
13016
  }
12895
13017
  identity: {
@@ -12955,6 +13077,8 @@ export type GetProjectionResponses = {
12955
13077
  [key: string]: unknown
12956
13078
  }
12957
13079
  | null
13080
+ httpStatus?: number
13081
+ redacted?: true
12958
13082
  truncated?: true
12959
13083
  }
12960
13084
  identity: {
@@ -13008,6 +13132,8 @@ export type GetProjectionResponses = {
13008
13132
  [key: string]: unknown
13009
13133
  }
13010
13134
  | null
13135
+ httpStatus?: number
13136
+ redacted?: true
13011
13137
  truncated?: true
13012
13138
  }
13013
13139
  identity: {
@@ -13062,6 +13188,8 @@ export type GetProjectionResponses = {
13062
13188
  [key: string]: unknown
13063
13189
  }
13064
13190
  | null
13191
+ httpStatus?: number
13192
+ redacted?: true
13065
13193
  truncated?: true
13066
13194
  }
13067
13195
  identity: {
@@ -13131,6 +13259,8 @@ export type GetProjectionResponses = {
13131
13259
  [key: string]: unknown
13132
13260
  }
13133
13261
  | null
13262
+ httpStatus?: number
13263
+ redacted?: true
13134
13264
  truncated?: true
13135
13265
  }
13136
13266
  identity: {
@@ -13184,6 +13314,8 @@ export type GetProjectionResponses = {
13184
13314
  [key: string]: unknown
13185
13315
  }
13186
13316
  | null
13317
+ httpStatus?: number
13318
+ redacted?: true
13187
13319
  truncated?: true
13188
13320
  }
13189
13321
  identity: {
@@ -13238,6 +13370,8 @@ export type GetProjectionResponses = {
13238
13370
  [key: string]: unknown
13239
13371
  }
13240
13372
  | null
13373
+ httpStatus?: number
13374
+ redacted?: true
13241
13375
  truncated?: true
13242
13376
  }
13243
13377
  identity: {
@@ -13338,6 +13472,8 @@ export type ListProjectionRunsResponses = {
13338
13472
  [key: string]: unknown
13339
13473
  }
13340
13474
  | null
13475
+ httpStatus?: number
13476
+ redacted?: true
13341
13477
  truncated?: true
13342
13478
  }
13343
13479
  identity: {
@@ -13391,6 +13527,8 @@ export type ListProjectionRunsResponses = {
13391
13527
  [key: string]: unknown
13392
13528
  }
13393
13529
  | null
13530
+ httpStatus?: number
13531
+ redacted?: true
13394
13532
  truncated?: true
13395
13533
  }
13396
13534
  identity: {
@@ -13445,6 +13583,8 @@ export type ListProjectionRunsResponses = {
13445
13583
  [key: string]: unknown
13446
13584
  }
13447
13585
  | null
13586
+ httpStatus?: number
13587
+ redacted?: true
13448
13588
  truncated?: true
13449
13589
  }
13450
13590
  identity: {
@@ -13544,6 +13684,8 @@ export type GetProjectionRunResponses = {
13544
13684
  [key: string]: unknown
13545
13685
  }
13546
13686
  | null
13687
+ httpStatus?: number
13688
+ redacted?: true
13547
13689
  truncated?: true
13548
13690
  }
13549
13691
  identity: {
@@ -13597,6 +13739,8 @@ export type GetProjectionRunResponses = {
13597
13739
  [key: string]: unknown
13598
13740
  }
13599
13741
  | null
13742
+ httpStatus?: number
13743
+ redacted?: true
13600
13744
  truncated?: true
13601
13745
  }
13602
13746
  identity: {
@@ -13651,6 +13795,8 @@ export type GetProjectionRunResponses = {
13651
13795
  [key: string]: unknown
13652
13796
  }
13653
13797
  | null
13798
+ httpStatus?: number
13799
+ redacted?: true
13654
13800
  truncated?: true
13655
13801
  }
13656
13802
  identity: {
@@ -13744,6 +13890,8 @@ export type ListWebhookRunsResponses = {
13744
13890
  [key: string]: unknown
13745
13891
  }
13746
13892
  | null
13893
+ httpStatus?: number
13894
+ redacted?: true
13747
13895
  truncated?: true
13748
13896
  }
13749
13897
  }>
File without changes
File without changes