@sixb/client 0.2.6 → 0.2.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"users-hooks.d.ts","sourceRoot":"","sources":["../src/users-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,EAAgB,KAAK,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAGnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAEhD,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAC9F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,GAC/D,eAAe,GAAG;IAChB,oGAAoG;IACpG,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AAEH,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG;IAC7C,oGAAoG;IACpG,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,yFAAyF;AACzF,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,eAAoB;;;;mBAiGwzhsB,CAAC;iBAAwB,CAAC;;;;;;;;;mBAA1B,CAAC;iBAAwB,CAAC;;;;;;;;;;uBAA1B,CAAC;qBAAwB,CAAC;;;;;;;;;;;;2BAA1B,CAAC;yBAAwB,CAAC;;;;;;;;EArFh5hsB;AAED,0FAA0F;AAC1F,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE3E;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,GAA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A0F;AAC1F,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE3E;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,GAAE,cAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BnF;AA0BD;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,cAAc,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAIhG;AAED;;;GAGG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,eAAe,EACrB,OAAO,GAAE,cAAmB,GAC3B,cAAc,CAAC,eAAe,GAAG,IAAI,EAAE,KAAK,CAAC,CAI/C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sixb/client",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Type-safe SDK for Sixb API with TanStack Query hooks",
5
5
  "keywords": [
6
6
  "sixb",
@@ -73,7 +73,7 @@
73
73
  "prepack": "bun run build"
74
74
  },
75
75
  "dependencies": {
76
- "@sixb/core": "^0.2.6"
76
+ "@sixb/core": "^0.2.7"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@tanstack/react-query": "^5.0.0",
@@ -4863,6 +4863,10 @@ export type ListConnectorsResponses = {
4863
4863
  */
4864
4864
  200: Array<{
4865
4865
  id: string
4866
+ /**
4867
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
4868
+ */
4869
+ folder?: string
4866
4870
  type: string
4867
4871
  connection: {
4868
4872
  authentication: "oauth2"
@@ -4907,6 +4911,10 @@ export type GetConnectorResponses = {
4907
4911
  */
4908
4912
  200: {
4909
4913
  id: string
4914
+ /**
4915
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
4916
+ */
4917
+ folder?: string
4910
4918
  type: string
4911
4919
  connection: {
4912
4920
  authentication: "oauth2"
@@ -6438,6 +6446,10 @@ export type ListDatasetsResponses = {
6438
6446
  }>
6439
6447
  }
6440
6448
  kind: "dataset"
6449
+ /**
6450
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
6451
+ */
6452
+ folder?: string
6441
6453
  materialized: boolean
6442
6454
  latestVersion: {
6443
6455
  datasetId: string
@@ -6512,6 +6524,10 @@ export type GetDatasetResponses = {
6512
6524
  }>
6513
6525
  }
6514
6526
  kind: "dataset"
6527
+ /**
6528
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
6529
+ */
6530
+ folder?: string
6515
6531
  materialized: boolean
6516
6532
  latestVersion: {
6517
6533
  datasetId: string
@@ -6972,6 +6988,10 @@ export type ListSyncsResponses = {
6972
6988
  */
6973
6989
  200: Array<{
6974
6990
  id: string
6991
+ /**
6992
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
6993
+ */
6994
+ folder?: string
6975
6995
  mode: "snapshot" | "append" | "merge"
6976
6996
  connector: {
6977
6997
  id: string
@@ -7092,6 +7112,10 @@ export type GetSyncResponses = {
7092
7112
  */
7093
7113
  200: {
7094
7114
  id: string
7115
+ /**
7116
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
7117
+ */
7118
+ folder?: string
7095
7119
  mode: "snapshot" | "append" | "merge"
7096
7120
  connector: {
7097
7121
  id: string
@@ -7495,6 +7519,10 @@ export type ListPipelinesResponses = {
7495
7519
  */
7496
7520
  200: Array<{
7497
7521
  id: string
7522
+ /**
7523
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
7524
+ */
7525
+ folder?: string
7498
7526
  triggers: Array<{
7499
7527
  type: "schedule"
7500
7528
  scheduleId: string
@@ -7636,6 +7664,10 @@ export type GetPipelineResponses = {
7636
7664
  */
7637
7665
  200: {
7638
7666
  id: string
7667
+ /**
7668
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
7669
+ */
7670
+ folder?: string
7639
7671
  triggers: Array<{
7640
7672
  type: "schedule"
7641
7673
  scheduleId: string
@@ -8021,6 +8053,10 @@ export type ListWorkflowsResponses = {
8021
8053
  */
8022
8054
  200: Array<{
8023
8055
  id: string
8056
+ /**
8057
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
8058
+ */
8059
+ folder?: string
8024
8060
  input: {
8025
8061
  [key: string]:
8026
8062
  | string
@@ -8207,6 +8243,10 @@ export type GetWorkflowResponses = {
8207
8243
  */
8208
8244
  200: {
8209
8245
  id: string
8246
+ /**
8247
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
8248
+ */
8249
+ folder?: string
8210
8250
  input: {
8211
8251
  [key: string]:
8212
8252
  | string
@@ -10064,6 +10104,10 @@ export type ListRulesResponses = {
10064
10104
  200: Array<{
10065
10105
  kind: "rule"
10066
10106
  id: string
10107
+ /**
10108
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
10109
+ */
10110
+ folder?: string
10067
10111
  subject: {
10068
10112
  kind: "object"
10069
10113
  objectTypeId: string
@@ -10206,6 +10250,10 @@ export type GetRuleResponses = {
10206
10250
  200: {
10207
10251
  kind: "rule"
10208
10252
  id: string
10253
+ /**
10254
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
10255
+ */
10256
+ folder?: string
10209
10257
  subject: {
10210
10258
  kind: "object"
10211
10259
  objectTypeId: string
@@ -10862,6 +10910,10 @@ export type ListObjectTypesResponses = {
10862
10910
  */
10863
10911
  200: Array<{
10864
10912
  id: string
10913
+ /**
10914
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
10915
+ */
10916
+ folder?: string
10865
10917
  name: string
10866
10918
  description?: string
10867
10919
  extends?: string
@@ -10989,6 +11041,10 @@ export type GetObjectTypeResponses = {
10989
11041
  */
10990
11042
  200: {
10991
11043
  id: string
11044
+ /**
11045
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
11046
+ */
11047
+ folder?: string
10992
11048
  name: string
10993
11049
  description?: string
10994
11050
  extends?: string
@@ -11824,6 +11880,10 @@ export type ListActionsResponses = {
11824
11880
  */
11825
11881
  200: Array<{
11826
11882
  id: string
11883
+ /**
11884
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
11885
+ */
11886
+ folder?: string
11827
11887
  name: string
11828
11888
  description?: string
11829
11889
  objectTypeId?: string
@@ -11873,6 +11933,10 @@ export type GetActionResponses = {
11873
11933
  */
11874
11934
  200: {
11875
11935
  id: string
11936
+ /**
11937
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
11938
+ */
11939
+ folder?: string
11876
11940
  name: string
11877
11941
  description?: string
11878
11942
  objectTypeId?: string
@@ -14465,7 +14529,7 @@ export type ListAgentThreadMessagesResponses = {
14465
14529
  }
14466
14530
  >
14467
14531
  annotations: Array<{
14468
- code: "step_limit_reached" | "output_limit_reached"
14532
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
14469
14533
  severity: "warning" | "error"
14470
14534
  scope: "run"
14471
14535
  message: string
@@ -14737,7 +14801,7 @@ export type PostAgentThreadMessageResponses = {
14737
14801
  unvaluedCallCount: number
14738
14802
  }
14739
14803
  diagnostics?: Array<{
14740
- code: "step_limit_reached" | "output_limit_reached"
14804
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
14741
14805
  severity: "warning" | "error"
14742
14806
  scope: "run"
14743
14807
  message: string
@@ -16434,7 +16498,7 @@ export type EditAgentThreadMessageResponses = {
16434
16498
  unvaluedCallCount: number
16435
16499
  }
16436
16500
  diagnostics?: Array<{
16437
- code: "step_limit_reached" | "output_limit_reached"
16501
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
16438
16502
  severity: "warning" | "error"
16439
16503
  scope: "run"
16440
16504
  message: string
@@ -17002,7 +17066,7 @@ export type CancelAgentRunResponses = {
17002
17066
  unvaluedCallCount: number
17003
17067
  }
17004
17068
  diagnostics?: Array<{
17005
- code: "step_limit_reached" | "output_limit_reached"
17069
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
17006
17070
  severity: "warning" | "error"
17007
17071
  scope: "run"
17008
17072
  message: string
@@ -17210,7 +17274,7 @@ export type RetryAgentRunResponses = {
17210
17274
  unvaluedCallCount: number
17211
17275
  }
17212
17276
  diagnostics?: Array<{
17213
- code: "step_limit_reached" | "output_limit_reached"
17277
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
17214
17278
  severity: "warning" | "error"
17215
17279
  scope: "run"
17216
17280
  message: string
@@ -17478,7 +17542,7 @@ export type ListAgentThreadRunsResponses = {
17478
17542
  unvaluedCallCount: number
17479
17543
  }
17480
17544
  diagnostics?: Array<{
17481
- code: "step_limit_reached" | "output_limit_reached"
17545
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
17482
17546
  severity: "warning" | "error"
17483
17547
  scope: "run"
17484
17548
  message: string
@@ -17650,7 +17714,7 @@ export type GetAgentRunResponses = {
17650
17714
  unvaluedCallCount: number
17651
17715
  }
17652
17716
  diagnostics?: Array<{
17653
- code: "step_limit_reached" | "output_limit_reached"
17717
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
17654
17718
  severity: "warning" | "error"
17655
17719
  scope: "run"
17656
17720
  message: string
@@ -17834,7 +17898,7 @@ export type CancelAgentRunByIdResponses = {
17834
17898
  unvaluedCallCount: number
17835
17899
  }
17836
17900
  diagnostics?: Array<{
17837
- code: "step_limit_reached" | "output_limit_reached"
17901
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
17838
17902
  severity: "warning" | "error"
17839
17903
  scope: "run"
17840
17904
  message: string
@@ -19409,7 +19473,7 @@ export type DecideAgentApprovalResponses = {
19409
19473
  unvaluedCallCount: number
19410
19474
  }
19411
19475
  diagnostics?: Array<{
19412
- code: "step_limit_reached" | "output_limit_reached"
19476
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
19413
19477
  severity: "warning" | "error"
19414
19478
  scope: "run"
19415
19479
  message: string
@@ -20235,7 +20299,7 @@ export type ListObservedAgentThreadMessagesResponses = {
20235
20299
  }
20236
20300
  >
20237
20301
  annotations: Array<{
20238
- code: "step_limit_reached" | "output_limit_reached"
20302
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
20239
20303
  severity: "warning" | "error"
20240
20304
  scope: "run"
20241
20305
  message: string
@@ -20469,7 +20533,7 @@ export type ListObservedAgentThreadRunsResponses = {
20469
20533
  unvaluedCallCount: number
20470
20534
  }
20471
20535
  diagnostics?: Array<{
20472
- code: "step_limit_reached" | "output_limit_reached"
20536
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved"
20473
20537
  severity: "warning" | "error"
20474
20538
  scope: "run"
20475
20539
  message: string
@@ -28386,6 +28450,10 @@ export type ListProjectionsResponses = {
28386
28450
  objectProjections: Array<{
28387
28451
  _tag: "ObjectProjectionDefinition"
28388
28452
  id: string
28453
+ /**
28454
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
28455
+ */
28456
+ folder?: string
28389
28457
  objectTypeId: string
28390
28458
  datasetId: string
28391
28459
  properties: {
@@ -28589,6 +28657,10 @@ export type ListProjectionsResponses = {
28589
28657
  linkProjections: Array<{
28590
28658
  _tag: "LinkProjectionDefinition"
28591
28659
  id: string
28660
+ /**
28661
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
28662
+ */
28663
+ folder?: string
28592
28664
  linkId: string
28593
28665
  sourceObjectTypeId: string
28594
28666
  targetObjectTypeId: string
@@ -28773,6 +28845,10 @@ export type ListProjectionsResponses = {
28773
28845
  telemetryProjections: Array<{
28774
28846
  _tag: "TelemetryProjectionDefinition"
28775
28847
  id: string
28848
+ /**
28849
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
28850
+ */
28851
+ folder?: string
28776
28852
  objectTypeId: string
28777
28853
  datasetId: string
28778
28854
  objectIdField: string
@@ -28991,6 +29067,10 @@ export type GetProjectionResponses = {
28991
29067
  | {
28992
29068
  _tag: "ObjectProjectionDefinition"
28993
29069
  id: string
29070
+ /**
29071
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
29072
+ */
29073
+ folder?: string
28994
29074
  objectTypeId: string
28995
29075
  datasetId: string
28996
29076
  properties: {
@@ -29194,6 +29274,10 @@ export type GetProjectionResponses = {
29194
29274
  | {
29195
29275
  _tag: "LinkProjectionDefinition"
29196
29276
  id: string
29277
+ /**
29278
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
29279
+ */
29280
+ folder?: string
29197
29281
  linkId: string
29198
29282
  sourceObjectTypeId: string
29199
29283
  targetObjectTypeId: string
@@ -29378,6 +29462,10 @@ export type GetProjectionResponses = {
29378
29462
  | {
29379
29463
  _tag: "TelemetryProjectionDefinition"
29380
29464
  id: string
29465
+ /**
29466
+ * Folder below the definition's directory, such as `raw/erp`; absent at its top.
29467
+ */
29468
+ folder?: string
29381
29469
  objectTypeId: string
29382
29470
  datasetId: string
29383
29471
  objectIdField: string