@sixb/client 0.1.11 → 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.
Files changed (98) hide show
  1. package/dist/agent-streams.d.ts +7 -2
  2. package/dist/agent-streams.d.ts.map +1 -1
  3. package/dist/api.d.ts +8 -1
  4. package/dist/api.d.ts.map +1 -1
  5. package/dist/base-url.d.ts +2 -0
  6. package/dist/base-url.d.ts.map +1 -0
  7. package/dist/browser.js +7 -7
  8. package/dist/browser.js.map +3 -3
  9. package/dist/{chunk-y4g6jrvs.js → chunk-1d0xnr6p.js} +38 -7
  10. package/dist/chunk-1d0xnr6p.js.map +10 -0
  11. package/dist/{chunk-f4qeqxz2.js → chunk-50rkzhcy.js} +23 -30
  12. package/dist/chunk-50rkzhcy.js.map +10 -0
  13. package/dist/{chunk-65mmaq7r.js → chunk-6k1hzwk1.js} +13 -11
  14. package/dist/chunk-6k1hzwk1.js.map +17 -0
  15. package/dist/{chunk-7bv57jcq.js → chunk-hdgztpzs.js} +372 -70
  16. package/dist/chunk-hdgztpzs.js.map +19 -0
  17. package/dist/{chunk-tyym13kq.js → chunk-jh4ts8mt.js} +3 -1
  18. package/dist/chunk-jh4ts8mt.js.map +10 -0
  19. package/dist/{chunk-qaacaq2e.js → chunk-nkx0fxxn.js} +6 -4
  20. package/dist/chunk-nkx0fxxn.js.map +10 -0
  21. package/dist/{chunk-65bdf9vw.js → chunk-tgyh8wz9.js} +7 -6
  22. package/dist/chunk-tgyh8wz9.js.map +12 -0
  23. package/dist/chunk-ys86w6hc.js +277 -0
  24. package/dist/chunk-ys86w6hc.js.map +12 -0
  25. package/dist/client-authority.d.ts +4 -0
  26. package/dist/client-authority.d.ts.map +1 -1
  27. package/dist/connectors/queries.d.ts.map +1 -1
  28. package/dist/events-builder.d.ts +2 -2
  29. package/dist/events-builder.d.ts.map +1 -1
  30. package/dist/events-transport.d.ts +4 -1
  31. package/dist/events-transport.d.ts.map +1 -1
  32. package/dist/generated/@tanstack/react-query.gen.d.ts +1555 -366
  33. package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
  34. package/dist/generated/index.d.ts +2 -2
  35. package/dist/generated/index.d.ts.map +1 -1
  36. package/dist/generated/sdk.gen.d.ts +9 -1
  37. package/dist/generated/sdk.gen.d.ts.map +1 -1
  38. package/dist/generated/types.gen.d.ts +594 -91
  39. package/dist/generated/types.gen.d.ts.map +1 -1
  40. package/dist/hooks.js +44 -12
  41. package/dist/hooks.js.map +6 -6
  42. package/dist/index.d.ts +2 -0
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +23 -10
  45. package/dist/index.js.map +1 -1
  46. package/dist/logs-builder.d.ts +1 -1
  47. package/dist/logs-builder.d.ts.map +1 -1
  48. package/dist/logs-transport.d.ts +4 -1
  49. package/dist/logs-transport.d.ts.map +1 -1
  50. package/dist/logs.js +4 -4
  51. package/dist/models.d.ts +2 -1
  52. package/dist/models.d.ts.map +1 -1
  53. package/dist/models.js +7 -3
  54. package/dist/models.js.map +1 -1
  55. package/dist/query-hooks.d.ts +3 -21
  56. package/dist/query-hooks.d.ts.map +1 -1
  57. package/dist/query.d.ts +2 -4
  58. package/dist/query.d.ts.map +1 -1
  59. package/dist/query.js +4 -4
  60. package/dist/session.d.ts +56 -0
  61. package/dist/session.d.ts.map +1 -0
  62. package/dist/useAgentActivityStream.d.ts +3 -0
  63. package/dist/useAgentActivityStream.d.ts.map +1 -1
  64. package/dist/useAgentRunStream.d.ts +4 -1
  65. package/dist/useAgentRunStream.d.ts.map +1 -1
  66. package/dist/ws-socket.d.ts +3 -0
  67. package/dist/ws-socket.d.ts.map +1 -1
  68. package/package.json +2 -2
  69. package/src/agent-streams.ts +11 -4
  70. package/src/api.ts +37 -32
  71. package/src/base-url.ts +30 -0
  72. package/src/browser.ts +1 -1
  73. package/src/client-authority.ts +19 -0
  74. package/src/events-builder.ts +5 -9
  75. package/src/events-transport.ts +6 -2
  76. package/src/generated/@tanstack/react-query.gen.ts +62 -0
  77. package/src/generated/index.ts +13 -0
  78. package/src/generated/sdk.gen.ts +398 -68
  79. package/src/generated/types.gen.ts +735 -87
  80. package/src/index.ts +13 -1
  81. package/src/logs-builder.ts +2 -2
  82. package/src/logs-transport.ts +6 -2
  83. package/src/models.ts +4 -2
  84. package/src/query-hooks.ts +2 -17
  85. package/src/query.ts +9 -12
  86. package/src/session.ts +316 -0
  87. package/src/useAgentActivityStream.ts +6 -2
  88. package/src/useAgentRunStream.ts +7 -3
  89. package/src/ws-socket.ts +62 -5
  90. package/dist/chunk-65bdf9vw.js.map +0 -12
  91. package/dist/chunk-65mmaq7r.js.map +0 -17
  92. package/dist/chunk-65zz479s.js +0 -23
  93. package/dist/chunk-65zz479s.js.map +0 -10
  94. package/dist/chunk-7bv57jcq.js.map +0 -19
  95. package/dist/chunk-f4qeqxz2.js.map +0 -10
  96. package/dist/chunk-qaacaq2e.js.map +0 -10
  97. package/dist/chunk-tyym13kq.js.map +0 -10
  98. package/dist/chunk-y4g6jrvs.js.map +0 -10
@@ -328,6 +328,12 @@ import type {
328
328
  ReauthorizeConnectorConnectionData,
329
329
  ReauthorizeConnectorConnectionErrors,
330
330
  ReauthorizeConnectorConnectionResponses,
331
+ RecreateAgentThreadSandboxData,
332
+ RecreateAgentThreadSandboxErrors,
333
+ RecreateAgentThreadSandboxResponses,
334
+ RefreshAuthSessionData,
335
+ RefreshAuthSessionErrors,
336
+ RefreshAuthSessionResponses,
331
337
  RemoveObjectLinkData,
332
338
  RemoveObjectLinkErrors,
333
339
  RemoveObjectLinkResponses,
@@ -462,6 +468,25 @@ export const exchangeDeviceAuthorization = <ThrowOnError extends boolean = false
462
468
  },
463
469
  })
464
470
 
471
+ /**
472
+ * Refresh a native client's session tokens
473
+ */
474
+ export const refreshAuthSession = <ThrowOnError extends boolean = false>(
475
+ options: Options<RefreshAuthSessionData, ThrowOnError>
476
+ ) =>
477
+ (options.client ?? client).post<
478
+ RefreshAuthSessionResponses,
479
+ RefreshAuthSessionErrors,
480
+ ThrowOnError
481
+ >({
482
+ url: "/api/auth/refresh",
483
+ ...options,
484
+ headers: {
485
+ "Content-Type": "application/json",
486
+ ...options.headers,
487
+ },
488
+ })
489
+
465
490
  /**
466
491
  * Get current auth session
467
492
  */
@@ -469,6 +494,7 @@ export const getAuthSession = <ThrowOnError extends boolean = false>(
469
494
  options?: Options<GetAuthSessionData, ThrowOnError>
470
495
  ) =>
471
496
  (options?.client ?? client).get<GetAuthSessionResponses, unknown, ThrowOnError>({
497
+ security: [{ scheme: "bearer", type: "http" }],
472
498
  url: "/api/auth/session",
473
499
  ...options,
474
500
  })
@@ -480,7 +506,10 @@ export const signOut = <ThrowOnError extends boolean = false>(
480
506
  options?: Options<SignOutData, ThrowOnError>
481
507
  ) =>
482
508
  (options?.client ?? client).post<SignOutResponses, SignOutErrors, ThrowOnError>({
483
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
509
+ security: [
510
+ { name: "x-sixb-csrf", type: "apiKey" },
511
+ { scheme: "bearer", type: "http" },
512
+ ],
484
513
  url: "/api/auth/sign-out",
485
514
  ...options,
486
515
  })
@@ -492,6 +521,7 @@ export const listAuthSessions = <ThrowOnError extends boolean = false>(
492
521
  options?: Options<ListAuthSessionsData, ThrowOnError>
493
522
  ) =>
494
523
  (options?.client ?? client).get<ListAuthSessionsResponses, ListAuthSessionsErrors, ThrowOnError>({
524
+ security: [{ scheme: "bearer", type: "http" }],
495
525
  url: "/api/auth/sessions",
496
526
  ...options,
497
527
  })
@@ -507,7 +537,10 @@ export const revokeAuthSession = <ThrowOnError extends boolean = false>(
507
537
  RevokeAuthSessionErrors,
508
538
  ThrowOnError
509
539
  >({
510
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
540
+ security: [
541
+ { name: "x-sixb-csrf", type: "apiKey" },
542
+ { scheme: "bearer", type: "http" },
543
+ ],
511
544
  url: "/api/auth/sessions/{sessionId}/revoke",
512
545
  ...options,
513
546
  })
@@ -519,7 +552,10 @@ export const signOutAll = <ThrowOnError extends boolean = false>(
519
552
  options?: Options<SignOutAllData, ThrowOnError>
520
553
  ) =>
521
554
  (options?.client ?? client).post<SignOutAllResponses, SignOutAllErrors, ThrowOnError>({
522
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
555
+ security: [
556
+ { name: "x-sixb-csrf", type: "apiKey" },
557
+ { scheme: "bearer", type: "http" },
558
+ ],
523
559
  url: "/api/auth/sign-out-all",
524
560
  ...options,
525
561
  })
@@ -535,7 +571,10 @@ export const getAuthAccessManagementOptions = <ThrowOnError extends boolean = fa
535
571
  GetAuthAccessManagementOptionsErrors,
536
572
  ThrowOnError
537
573
  >({
538
- security: [{ scheme: "bearer", type: "http" }],
574
+ security: [
575
+ { scheme: "bearer", type: "http" },
576
+ { scheme: "bearer", type: "http" },
577
+ ],
539
578
  url: "/api/auth/access-management-options",
540
579
  ...options,
541
580
  })
@@ -551,7 +590,10 @@ export const listAuthAccessTokens = <ThrowOnError extends boolean = false>(
551
590
  ListAuthAccessTokensErrors,
552
591
  ThrowOnError
553
592
  >({
554
- security: [{ scheme: "bearer", type: "http" }],
593
+ security: [
594
+ { scheme: "bearer", type: "http" },
595
+ { scheme: "bearer", type: "http" },
596
+ ],
555
597
  url: "/api/auth/access-tokens",
556
598
  ...options,
557
599
  })
@@ -570,6 +612,7 @@ export const createAuthPersonalAccessToken = <ThrowOnError extends boolean = fal
570
612
  security: [
571
613
  { name: "x-sixb-csrf", type: "apiKey" },
572
614
  { scheme: "bearer", type: "http" },
615
+ { scheme: "bearer", type: "http" },
573
616
  ],
574
617
  url: "/api/auth/access-tokens",
575
618
  ...options,
@@ -593,6 +636,7 @@ export const revokeAuthAccessToken = <ThrowOnError extends boolean = false>(
593
636
  security: [
594
637
  { name: "x-sixb-csrf", type: "apiKey" },
595
638
  { scheme: "bearer", type: "http" },
639
+ { scheme: "bearer", type: "http" },
596
640
  ],
597
641
  url: "/api/auth/access-tokens/{tokenId}/revoke",
598
642
  ...options,
@@ -609,7 +653,10 @@ export const listAuthServiceAccounts = <ThrowOnError extends boolean = false>(
609
653
  ListAuthServiceAccountsErrors,
610
654
  ThrowOnError
611
655
  >({
612
- security: [{ scheme: "bearer", type: "http" }],
656
+ security: [
657
+ { scheme: "bearer", type: "http" },
658
+ { scheme: "bearer", type: "http" },
659
+ ],
613
660
  url: "/api/auth/service-accounts",
614
661
  ...options,
615
662
  })
@@ -628,6 +675,7 @@ export const createAuthServiceAccount = <ThrowOnError extends boolean = false>(
628
675
  security: [
629
676
  { name: "x-sixb-csrf", type: "apiKey" },
630
677
  { scheme: "bearer", type: "http" },
678
+ { scheme: "bearer", type: "http" },
631
679
  ],
632
680
  url: "/api/auth/service-accounts",
633
681
  ...options,
@@ -651,6 +699,7 @@ export const disableAuthServiceAccount = <ThrowOnError extends boolean = false>(
651
699
  security: [
652
700
  { name: "x-sixb-csrf", type: "apiKey" },
653
701
  { scheme: "bearer", type: "http" },
702
+ { scheme: "bearer", type: "http" },
654
703
  ],
655
704
  url: "/api/auth/service-accounts/{serviceAccountId}/disable",
656
705
  ...options,
@@ -667,7 +716,10 @@ export const listAuthServiceAccountAccessTokens = <ThrowOnError extends boolean
667
716
  ListAuthServiceAccountAccessTokensErrors,
668
717
  ThrowOnError
669
718
  >({
670
- security: [{ scheme: "bearer", type: "http" }],
719
+ security: [
720
+ { scheme: "bearer", type: "http" },
721
+ { scheme: "bearer", type: "http" },
722
+ ],
671
723
  url: "/api/auth/service-accounts/{serviceAccountId}/access-tokens",
672
724
  ...options,
673
725
  })
@@ -686,6 +738,7 @@ export const createAuthServiceAccountAccessToken = <ThrowOnError extends boolean
686
738
  security: [
687
739
  { name: "x-sixb-csrf", type: "apiKey" },
688
740
  { scheme: "bearer", type: "http" },
741
+ { scheme: "bearer", type: "http" },
689
742
  ],
690
743
  url: "/api/auth/service-accounts/{serviceAccountId}/access-tokens",
691
744
  ...options,
@@ -709,6 +762,7 @@ export const revokeAuthServiceAccountAccessToken = <ThrowOnError extends boolean
709
762
  security: [
710
763
  { name: "x-sixb-csrf", type: "apiKey" },
711
764
  { scheme: "bearer", type: "http" },
765
+ { scheme: "bearer", type: "http" },
712
766
  ],
713
767
  url: "/api/auth/service-accounts/{serviceAccountId}/access-tokens/{tokenId}/revoke",
714
768
  ...options,
@@ -724,7 +778,11 @@ export const listAuthInvitations = <ThrowOnError extends boolean = false>(
724
778
  ListAuthInvitationsResponses,
725
779
  ListAuthInvitationsErrors,
726
780
  ThrowOnError
727
- >({ url: "/api/auth/invitations", ...options })
781
+ >({
782
+ security: [{ scheme: "bearer", type: "http" }],
783
+ url: "/api/auth/invitations",
784
+ ...options,
785
+ })
728
786
 
729
787
  /**
730
788
  * Create an auth invitation
@@ -737,7 +795,10 @@ export const createAuthInvitation = <ThrowOnError extends boolean = false>(
737
795
  CreateAuthInvitationErrors,
738
796
  ThrowOnError
739
797
  >({
740
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
798
+ security: [
799
+ { name: "x-sixb-csrf", type: "apiKey" },
800
+ { scheme: "bearer", type: "http" },
801
+ ],
741
802
  url: "/api/auth/invitations",
742
803
  ...options,
743
804
  headers: {
@@ -756,7 +817,11 @@ export const getAuthInvitationOptions = <ThrowOnError extends boolean = false>(
756
817
  GetAuthInvitationOptionsResponses,
757
818
  GetAuthInvitationOptionsErrors,
758
819
  ThrowOnError
759
- >({ url: "/api/auth/invitation-options", ...options })
820
+ >({
821
+ security: [{ scheme: "bearer", type: "http" }],
822
+ url: "/api/auth/invitation-options",
823
+ ...options,
824
+ })
760
825
 
761
826
  /**
762
827
  * Revoke an auth invitation
@@ -769,7 +834,10 @@ export const revokeAuthInvitation = <ThrowOnError extends boolean = false>(
769
834
  RevokeAuthInvitationErrors,
770
835
  ThrowOnError
771
836
  >({
772
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
837
+ security: [
838
+ { name: "x-sixb-csrf", type: "apiKey" },
839
+ { scheme: "bearer", type: "http" },
840
+ ],
773
841
  url: "/api/auth/invitations/{invitationId}/revoke",
774
842
  ...options,
775
843
  })
@@ -784,7 +852,11 @@ export const getAuthMembershipOptions = <ThrowOnError extends boolean = false>(
784
852
  GetAuthMembershipOptionsResponses,
785
853
  GetAuthMembershipOptionsErrors,
786
854
  ThrowOnError
787
- >({ url: "/api/auth/membership-options", ...options })
855
+ >({
856
+ security: [{ scheme: "bearer", type: "http" }],
857
+ url: "/api/auth/membership-options",
858
+ ...options,
859
+ })
788
860
 
789
861
  /**
790
862
  * List auth members
@@ -793,6 +865,7 @@ export const listAuthMembers = <ThrowOnError extends boolean = false>(
793
865
  options?: Options<ListAuthMembersData, ThrowOnError>
794
866
  ) =>
795
867
  (options?.client ?? client).get<ListAuthMembersResponses, ListAuthMembersErrors, ThrowOnError>({
868
+ security: [{ scheme: "bearer", type: "http" }],
796
869
  url: "/api/auth/members",
797
870
  ...options,
798
871
  })
@@ -808,7 +881,10 @@ export const updateAuthMemberGroups = <ThrowOnError extends boolean = false>(
808
881
  UpdateAuthMemberGroupsErrors,
809
882
  ThrowOnError
810
883
  >({
811
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
884
+ security: [
885
+ { name: "x-sixb-csrf", type: "apiKey" },
886
+ { scheme: "bearer", type: "http" },
887
+ ],
812
888
  url: "/api/auth/members/{userId}/groups",
813
889
  ...options,
814
890
  headers: {
@@ -828,7 +904,10 @@ export const suspendAuthMember = <ThrowOnError extends boolean = false>(
828
904
  SuspendAuthMemberErrors,
829
905
  ThrowOnError
830
906
  >({
831
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
907
+ security: [
908
+ { name: "x-sixb-csrf", type: "apiKey" },
909
+ { scheme: "bearer", type: "http" },
910
+ ],
832
911
  url: "/api/auth/members/{userId}/suspend",
833
912
  ...options,
834
913
  })
@@ -844,7 +923,10 @@ export const reactivateAuthMember = <ThrowOnError extends boolean = false>(
844
923
  ReactivateAuthMemberErrors,
845
924
  ThrowOnError
846
925
  >({
847
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
926
+ security: [
927
+ { name: "x-sixb-csrf", type: "apiKey" },
928
+ { scheme: "bearer", type: "http" },
929
+ ],
848
930
  url: "/api/auth/members/{userId}/reactivate",
849
931
  ...options,
850
932
  })
@@ -860,7 +942,10 @@ export const getAiAccountingOverview = <ThrowOnError extends boolean = false>(
860
942
  GetAiAccountingOverviewErrors,
861
943
  ThrowOnError
862
944
  >({
863
- security: [{ scheme: "bearer", type: "http" }],
945
+ security: [
946
+ { scheme: "bearer", type: "http" },
947
+ { scheme: "bearer", type: "http" },
948
+ ],
864
949
  url: "/api/ai/accounting/overview",
865
950
  ...options,
866
951
  })
@@ -872,7 +957,10 @@ export const listAiModelCalls = <ThrowOnError extends boolean = false>(
872
957
  options: Options<ListAiModelCallsData, ThrowOnError>
873
958
  ) =>
874
959
  (options.client ?? client).get<ListAiModelCallsResponses, ListAiModelCallsErrors, ThrowOnError>({
875
- security: [{ scheme: "bearer", type: "http" }],
960
+ security: [
961
+ { scheme: "bearer", type: "http" },
962
+ { scheme: "bearer", type: "http" },
963
+ ],
876
964
  url: "/api/ai/model-calls",
877
965
  ...options,
878
966
  })
@@ -888,7 +976,10 @@ export const listAiLimitPolicies = <ThrowOnError extends boolean = false>(
888
976
  ListAiLimitPoliciesErrors,
889
977
  ThrowOnError
890
978
  >({
891
- security: [{ scheme: "bearer", type: "http" }],
979
+ security: [
980
+ { scheme: "bearer", type: "http" },
981
+ { scheme: "bearer", type: "http" },
982
+ ],
892
983
  url: "/api/ai/limits",
893
984
  ...options,
894
985
  })
@@ -907,6 +998,7 @@ export const createAiLimitPolicy = <ThrowOnError extends boolean = false>(
907
998
  security: [
908
999
  { name: "x-sixb-csrf", type: "apiKey" },
909
1000
  { scheme: "bearer", type: "http" },
1001
+ { scheme: "bearer", type: "http" },
910
1002
  ],
911
1003
  url: "/api/ai/limits",
912
1004
  ...options,
@@ -923,7 +1015,10 @@ export const getAiLimitStatus = <ThrowOnError extends boolean = false>(
923
1015
  options?: Options<GetAiLimitStatusData, ThrowOnError>
924
1016
  ) =>
925
1017
  (options?.client ?? client).get<GetAiLimitStatusResponses, GetAiLimitStatusErrors, ThrowOnError>({
926
- security: [{ scheme: "bearer", type: "http" }],
1018
+ security: [
1019
+ { scheme: "bearer", type: "http" },
1020
+ { scheme: "bearer", type: "http" },
1021
+ ],
927
1022
  url: "/api/ai/limits/status",
928
1023
  ...options,
929
1024
  })
@@ -941,7 +1036,10 @@ export const getAiLimitSubjectOptions = <ThrowOnError extends boolean = false>(
941
1036
  GetAiLimitSubjectOptionsErrors,
942
1037
  ThrowOnError
943
1038
  >({
944
- security: [{ scheme: "bearer", type: "http" }],
1039
+ security: [
1040
+ { scheme: "bearer", type: "http" },
1041
+ { scheme: "bearer", type: "http" },
1042
+ ],
945
1043
  url: "/api/ai/limits/subjects",
946
1044
  ...options,
947
1045
  })
@@ -960,6 +1058,7 @@ export const deleteAiLimitPolicy = <ThrowOnError extends boolean = false>(
960
1058
  security: [
961
1059
  { name: "x-sixb-csrf", type: "apiKey" },
962
1060
  { scheme: "bearer", type: "http" },
1061
+ { scheme: "bearer", type: "http" },
963
1062
  ],
964
1063
  url: "/api/ai/limits/{limitId}",
965
1064
  ...options,
@@ -979,6 +1078,7 @@ export const updateAiLimitPolicy = <ThrowOnError extends boolean = false>(
979
1078
  security: [
980
1079
  { name: "x-sixb-csrf", type: "apiKey" },
981
1080
  { scheme: "bearer", type: "http" },
1081
+ { scheme: "bearer", type: "http" },
982
1082
  ],
983
1083
  url: "/api/ai/limits/{limitId}",
984
1084
  ...options,
@@ -999,7 +1099,10 @@ export const listAiModelCallGroups = <ThrowOnError extends boolean = false>(
999
1099
  ListAiModelCallGroupsErrors,
1000
1100
  ThrowOnError
1001
1101
  >({
1002
- security: [{ scheme: "bearer", type: "http" }],
1102
+ security: [
1103
+ { scheme: "bearer", type: "http" },
1104
+ { scheme: "bearer", type: "http" },
1105
+ ],
1003
1106
  url: "/api/ai/model-call-groups",
1004
1107
  ...options,
1005
1108
  })
@@ -1011,7 +1114,10 @@ export const getProjectInfo = <ThrowOnError extends boolean = false>(
1011
1114
  options?: Options<GetProjectInfoData, ThrowOnError>
1012
1115
  ) =>
1013
1116
  (options?.client ?? client).get<GetProjectInfoResponses, unknown, ThrowOnError>({
1014
- security: [{ scheme: "bearer", type: "http" }],
1117
+ security: [
1118
+ { scheme: "bearer", type: "http" },
1119
+ { scheme: "bearer", type: "http" },
1120
+ ],
1015
1121
  url: "/api/project",
1016
1122
  ...options,
1017
1123
  })
@@ -1023,6 +1129,7 @@ export const getStatus = <ThrowOnError extends boolean = false>(
1023
1129
  options?: Options<GetStatusData, ThrowOnError>
1024
1130
  ) =>
1025
1131
  (options?.client ?? client).get<GetStatusResponses, unknown, ThrowOnError>({
1132
+ security: [{ scheme: "bearer", type: "http" }],
1026
1133
  url: "/api/status",
1027
1134
  ...options,
1028
1135
  })
@@ -1034,6 +1141,7 @@ export const listConnectors = <ThrowOnError extends boolean = false>(
1034
1141
  options?: Options<ListConnectorsData, ThrowOnError>
1035
1142
  ) =>
1036
1143
  (options?.client ?? client).get<ListConnectorsResponses, unknown, ThrowOnError>({
1144
+ security: [{ scheme: "bearer", type: "http" }],
1037
1145
  url: "/api/connectors",
1038
1146
  ...options,
1039
1147
  })
@@ -1045,6 +1153,7 @@ export const getConnector = <ThrowOnError extends boolean = false>(
1045
1153
  options: Options<GetConnectorData, ThrowOnError>
1046
1154
  ) =>
1047
1155
  (options.client ?? client).get<GetConnectorResponses, GetConnectorErrors, ThrowOnError>({
1156
+ security: [{ scheme: "bearer", type: "http" }],
1048
1157
  url: "/api/connectors/{connectorId}",
1049
1158
  ...options,
1050
1159
  })
@@ -1059,7 +1168,11 @@ export const listConnectorConnections = <ThrowOnError extends boolean = false>(
1059
1168
  ListConnectorConnectionsResponses,
1060
1169
  ListConnectorConnectionsErrors,
1061
1170
  ThrowOnError
1062
- >({ url: "/api/connectors/{connectorId}/connections", ...options })
1171
+ >({
1172
+ security: [{ scheme: "bearer", type: "http" }],
1173
+ url: "/api/connectors/{connectorId}/connections",
1174
+ ...options,
1175
+ })
1063
1176
 
1064
1177
  /**
1065
1178
  * Disconnect a connector account
@@ -1072,7 +1185,10 @@ export const disconnectConnectorConnection = <ThrowOnError extends boolean = fal
1072
1185
  DisconnectConnectorConnectionErrors,
1073
1186
  ThrowOnError
1074
1187
  >({
1075
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1188
+ security: [
1189
+ { name: "x-sixb-csrf", type: "apiKey" },
1190
+ { scheme: "bearer", type: "http" },
1191
+ ],
1076
1192
  url: "/api/connectors/{connectorId}/connections/{connectionId}",
1077
1193
  ...options,
1078
1194
  })
@@ -1088,7 +1204,10 @@ export const revokeConnectorConnection = <ThrowOnError extends boolean = false>(
1088
1204
  RevokeConnectorConnectionErrors,
1089
1205
  ThrowOnError
1090
1206
  >({
1091
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1207
+ security: [
1208
+ { name: "x-sixb-csrf", type: "apiKey" },
1209
+ { scheme: "bearer", type: "http" },
1210
+ ],
1092
1211
  url: "/api/connectors/{connectorId}/connections/{connectionId}/revoke",
1093
1212
  ...options,
1094
1213
  })
@@ -1103,7 +1222,11 @@ export const listPendingConnectorConnectionRuns = <ThrowOnError extends boolean
1103
1222
  ListPendingConnectorConnectionRunsResponses,
1104
1223
  ListPendingConnectorConnectionRunsErrors,
1105
1224
  ThrowOnError
1106
- >({ url: "/api/connectors/{connectorId}/connection-runs", ...options })
1225
+ >({
1226
+ security: [{ scheme: "bearer", type: "http" }],
1227
+ url: "/api/connectors/{connectorId}/connection-runs",
1228
+ ...options,
1229
+ })
1107
1230
 
1108
1231
  /**
1109
1232
  * Start a connector connection run
@@ -1116,7 +1239,10 @@ export const startConnectorConnectionRun = <ThrowOnError extends boolean = false
1116
1239
  StartConnectorConnectionRunErrors,
1117
1240
  ThrowOnError
1118
1241
  >({
1119
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1242
+ security: [
1243
+ { name: "x-sixb-csrf", type: "apiKey" },
1244
+ { scheme: "bearer", type: "http" },
1245
+ ],
1120
1246
  url: "/api/connectors/{connectorId}/connection-runs",
1121
1247
  ...options,
1122
1248
  headers: {
@@ -1135,7 +1261,11 @@ export const getConnectorConnectionRun = <ThrowOnError extends boolean = false>(
1135
1261
  GetConnectorConnectionRunResponses,
1136
1262
  GetConnectorConnectionRunErrors,
1137
1263
  ThrowOnError
1138
- >({ url: "/api/connectors/{connectorId}/connection-runs/{runId}", ...options })
1264
+ >({
1265
+ security: [{ scheme: "bearer", type: "http" }],
1266
+ url: "/api/connectors/{connectorId}/connection-runs/{runId}",
1267
+ ...options,
1268
+ })
1139
1269
 
1140
1270
  /**
1141
1271
  * Add a connector connection from an existing authorization
@@ -1148,7 +1278,10 @@ export const addConnectorConnection = <ThrowOnError extends boolean = false>(
1148
1278
  AddConnectorConnectionErrors,
1149
1279
  ThrowOnError
1150
1280
  >({
1151
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1281
+ security: [
1282
+ { name: "x-sixb-csrf", type: "apiKey" },
1283
+ { scheme: "bearer", type: "http" },
1284
+ ],
1152
1285
  url: "/api/connectors/{connectorId}/connections/{connectionId}/connection-runs",
1153
1286
  ...options,
1154
1287
  headers: {
@@ -1168,7 +1301,10 @@ export const selectConnectorConnectionRunAccount = <ThrowOnError extends boolean
1168
1301
  SelectConnectorConnectionRunAccountErrors,
1169
1302
  ThrowOnError
1170
1303
  >({
1171
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1304
+ security: [
1305
+ { name: "x-sixb-csrf", type: "apiKey" },
1306
+ { scheme: "bearer", type: "http" },
1307
+ ],
1172
1308
  url: "/api/connectors/{connectorId}/connection-runs/{runId}/selection",
1173
1309
  ...options,
1174
1310
  headers: {
@@ -1188,7 +1324,10 @@ export const reauthorizeConnectorConnection = <ThrowOnError extends boolean = fa
1188
1324
  ReauthorizeConnectorConnectionErrors,
1189
1325
  ThrowOnError
1190
1326
  >({
1191
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1327
+ security: [
1328
+ { name: "x-sixb-csrf", type: "apiKey" },
1329
+ { scheme: "bearer", type: "http" },
1330
+ ],
1192
1331
  url: "/api/connectors/{connectorId}/connections/{connectionId}/reauthorize",
1193
1332
  ...options,
1194
1333
  headers: {
@@ -1204,6 +1343,7 @@ export const listDatasets = <ThrowOnError extends boolean = false>(
1204
1343
  options?: Options<ListDatasetsData, ThrowOnError>
1205
1344
  ) =>
1206
1345
  (options?.client ?? client).get<ListDatasetsResponses, ListDatasetsErrors, ThrowOnError>({
1346
+ security: [{ scheme: "bearer", type: "http" }],
1207
1347
  url: "/api/datasets",
1208
1348
  ...options,
1209
1349
  })
@@ -1215,6 +1355,7 @@ export const getDataset = <ThrowOnError extends boolean = false>(
1215
1355
  options: Options<GetDatasetData, ThrowOnError>
1216
1356
  ) =>
1217
1357
  (options.client ?? client).get<GetDatasetResponses, GetDatasetErrors, ThrowOnError>({
1358
+ security: [{ scheme: "bearer", type: "http" }],
1218
1359
  url: "/api/datasets/{datasetId}",
1219
1360
  ...options,
1220
1361
  })
@@ -1229,7 +1370,11 @@ export const listDatasetVersions = <ThrowOnError extends boolean = false>(
1229
1370
  ListDatasetVersionsResponses,
1230
1371
  ListDatasetVersionsErrors,
1231
1372
  ThrowOnError
1232
- >({ url: "/api/datasets/{datasetId}/versions", ...options })
1373
+ >({
1374
+ security: [{ scheme: "bearer", type: "http" }],
1375
+ url: "/api/datasets/{datasetId}/versions",
1376
+ ...options,
1377
+ })
1233
1378
 
1234
1379
  /**
1235
1380
  * Get dataset version
@@ -1238,7 +1383,11 @@ export const getDatasetVersion = <ThrowOnError extends boolean = false>(
1238
1383
  options: Options<GetDatasetVersionData, ThrowOnError>
1239
1384
  ) =>
1240
1385
  (options.client ?? client).get<GetDatasetVersionResponses, GetDatasetVersionErrors, ThrowOnError>(
1241
- { url: "/api/datasets/{datasetId}/versions/{versionId}", ...options }
1386
+ {
1387
+ security: [{ scheme: "bearer", type: "http" }],
1388
+ url: "/api/datasets/{datasetId}/versions/{versionId}",
1389
+ ...options,
1390
+ }
1242
1391
  )
1243
1392
 
1244
1393
  /**
@@ -1248,6 +1397,7 @@ export const listDatasetRows = <ThrowOnError extends boolean = false>(
1248
1397
  options: Options<ListDatasetRowsData, ThrowOnError>
1249
1398
  ) =>
1250
1399
  (options.client ?? client).get<ListDatasetRowsResponses, ListDatasetRowsErrors, ThrowOnError>({
1400
+ security: [{ scheme: "bearer", type: "http" }],
1251
1401
  url: "/api/datasets/{datasetId}/rows",
1252
1402
  ...options,
1253
1403
  })
@@ -1259,6 +1409,7 @@ export const listSyncs = <ThrowOnError extends boolean = false>(
1259
1409
  options?: Options<ListSyncsData, ThrowOnError>
1260
1410
  ) =>
1261
1411
  (options?.client ?? client).get<ListSyncsResponses, unknown, ThrowOnError>({
1412
+ security: [{ scheme: "bearer", type: "http" }],
1262
1413
  url: "/api/syncs",
1263
1414
  ...options,
1264
1415
  })
@@ -1270,6 +1421,7 @@ export const getSync = <ThrowOnError extends boolean = false>(
1270
1421
  options: Options<GetSyncData, ThrowOnError>
1271
1422
  ) =>
1272
1423
  (options.client ?? client).get<GetSyncResponses, GetSyncErrors, ThrowOnError>({
1424
+ security: [{ scheme: "bearer", type: "http" }],
1273
1425
  url: "/api/syncs/{syncId}",
1274
1426
  ...options,
1275
1427
  })
@@ -1281,6 +1433,7 @@ export const listSyncRuns = <ThrowOnError extends boolean = false>(
1281
1433
  options?: Options<ListSyncRunsData, ThrowOnError>
1282
1434
  ) =>
1283
1435
  (options?.client ?? client).get<ListSyncRunsResponses, ListSyncRunsErrors, ThrowOnError>({
1436
+ security: [{ scheme: "bearer", type: "http" }],
1284
1437
  url: "/api/sync-runs",
1285
1438
  ...options,
1286
1439
  })
@@ -1292,7 +1445,10 @@ export const requestSyncRun = <ThrowOnError extends boolean = false>(
1292
1445
  options: Options<RequestSyncRunData, ThrowOnError>
1293
1446
  ) =>
1294
1447
  (options.client ?? client).post<RequestSyncRunResponses, RequestSyncRunErrors, ThrowOnError>({
1295
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1448
+ security: [
1449
+ { name: "x-sixb-csrf", type: "apiKey" },
1450
+ { scheme: "bearer", type: "http" },
1451
+ ],
1296
1452
  url: "/api/syncs/{syncId}/runs",
1297
1453
  ...options,
1298
1454
  headers: {
@@ -1308,6 +1464,7 @@ export const listPipelines = <ThrowOnError extends boolean = false>(
1308
1464
  options?: Options<ListPipelinesData, ThrowOnError>
1309
1465
  ) =>
1310
1466
  (options?.client ?? client).get<ListPipelinesResponses, unknown, ThrowOnError>({
1467
+ security: [{ scheme: "bearer", type: "http" }],
1311
1468
  url: "/api/pipelines",
1312
1469
  ...options,
1313
1470
  })
@@ -1319,6 +1476,7 @@ export const getPipeline = <ThrowOnError extends boolean = false>(
1319
1476
  options: Options<GetPipelineData, ThrowOnError>
1320
1477
  ) =>
1321
1478
  (options.client ?? client).get<GetPipelineResponses, GetPipelineErrors, ThrowOnError>({
1479
+ security: [{ scheme: "bearer", type: "http" }],
1322
1480
  url: "/api/pipelines/{pipelineId}",
1323
1481
  ...options,
1324
1482
  })
@@ -1330,6 +1488,7 @@ export const listPipelineRuns = <ThrowOnError extends boolean = false>(
1330
1488
  options?: Options<ListPipelineRunsData, ThrowOnError>
1331
1489
  ) =>
1332
1490
  (options?.client ?? client).get<ListPipelineRunsResponses, ListPipelineRunsErrors, ThrowOnError>({
1491
+ security: [{ scheme: "bearer", type: "http" }],
1333
1492
  url: "/api/pipeline-runs",
1334
1493
  ...options,
1335
1494
  })
@@ -1341,6 +1500,7 @@ export const getPipelineRun = <ThrowOnError extends boolean = false>(
1341
1500
  options: Options<GetPipelineRunData, ThrowOnError>
1342
1501
  ) =>
1343
1502
  (options.client ?? client).get<GetPipelineRunResponses, GetPipelineRunErrors, ThrowOnError>({
1503
+ security: [{ scheme: "bearer", type: "http" }],
1344
1504
  url: "/api/pipeline-runs/{runId}",
1345
1505
  ...options,
1346
1506
  })
@@ -1356,7 +1516,10 @@ export const requestPipelineRun = <ThrowOnError extends boolean = false>(
1356
1516
  RequestPipelineRunErrors,
1357
1517
  ThrowOnError
1358
1518
  >({
1359
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1519
+ security: [
1520
+ { name: "x-sixb-csrf", type: "apiKey" },
1521
+ { scheme: "bearer", type: "http" },
1522
+ ],
1360
1523
  url: "/api/pipelines/{pipelineId}/runs",
1361
1524
  ...options,
1362
1525
  })
@@ -1368,7 +1531,10 @@ export const listWorkflows = <ThrowOnError extends boolean = false>(
1368
1531
  options?: Options<ListWorkflowsData, ThrowOnError>
1369
1532
  ) =>
1370
1533
  (options?.client ?? client).get<ListWorkflowsResponses, unknown, ThrowOnError>({
1371
- security: [{ scheme: "bearer", type: "http" }],
1534
+ security: [
1535
+ { scheme: "bearer", type: "http" },
1536
+ { scheme: "bearer", type: "http" },
1537
+ ],
1372
1538
  url: "/api/workflows",
1373
1539
  ...options,
1374
1540
  })
@@ -1380,7 +1546,10 @@ export const getWorkflow = <ThrowOnError extends boolean = false>(
1380
1546
  options: Options<GetWorkflowData, ThrowOnError>
1381
1547
  ) =>
1382
1548
  (options.client ?? client).get<GetWorkflowResponses, GetWorkflowErrors, ThrowOnError>({
1383
- security: [{ scheme: "bearer", type: "http" }],
1549
+ security: [
1550
+ { scheme: "bearer", type: "http" },
1551
+ { scheme: "bearer", type: "http" },
1552
+ ],
1384
1553
  url: "/api/workflows/{workflowId}",
1385
1554
  ...options,
1386
1555
  })
@@ -1395,7 +1564,11 @@ export const listWorkflowInterventions = <ThrowOnError extends boolean = false>(
1395
1564
  ListWorkflowInterventionsResponses,
1396
1565
  ListWorkflowInterventionsErrors,
1397
1566
  ThrowOnError
1398
- >({ url: "/api/workflow-interventions", ...options })
1567
+ >({
1568
+ security: [{ scheme: "bearer", type: "http" }],
1569
+ url: "/api/workflow-interventions",
1570
+ ...options,
1571
+ })
1399
1572
 
1400
1573
  /**
1401
1574
  * Get workflow intervention detail
@@ -1407,7 +1580,11 @@ export const getWorkflowIntervention = <ThrowOnError extends boolean = false>(
1407
1580
  GetWorkflowInterventionResponses,
1408
1581
  GetWorkflowInterventionErrors,
1409
1582
  ThrowOnError
1410
- >({ url: "/api/workflow-interventions/{interventionId}", ...options })
1583
+ >({
1584
+ security: [{ scheme: "bearer", type: "http" }],
1585
+ url: "/api/workflow-interventions/{interventionId}",
1586
+ ...options,
1587
+ })
1411
1588
 
1412
1589
  /**
1413
1590
  * Submit a workflow intervention response
@@ -1420,7 +1597,10 @@ export const submitWorkflowIntervention = <ThrowOnError extends boolean = false>
1420
1597
  SubmitWorkflowInterventionErrors,
1421
1598
  ThrowOnError
1422
1599
  >({
1423
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1600
+ security: [
1601
+ { name: "x-sixb-csrf", type: "apiKey" },
1602
+ { scheme: "bearer", type: "http" },
1603
+ ],
1424
1604
  url: "/api/workflow-interventions/{interventionId}/submit",
1425
1605
  ...options,
1426
1606
  headers: {
@@ -1440,7 +1620,10 @@ export const cancelWorkflowIntervention = <ThrowOnError extends boolean = false>
1440
1620
  CancelWorkflowInterventionErrors,
1441
1621
  ThrowOnError
1442
1622
  >({
1443
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1623
+ security: [
1624
+ { name: "x-sixb-csrf", type: "apiKey" },
1625
+ { scheme: "bearer", type: "http" },
1626
+ ],
1444
1627
  url: "/api/workflow-interventions/{interventionId}/cancel",
1445
1628
  ...options,
1446
1629
  headers: {
@@ -1456,7 +1639,10 @@ export const listWorkflowRuns = <ThrowOnError extends boolean = false>(
1456
1639
  options?: Options<ListWorkflowRunsData, ThrowOnError>
1457
1640
  ) =>
1458
1641
  (options?.client ?? client).get<ListWorkflowRunsResponses, ListWorkflowRunsErrors, ThrowOnError>({
1459
- security: [{ scheme: "bearer", type: "http" }],
1642
+ security: [
1643
+ { scheme: "bearer", type: "http" },
1644
+ { scheme: "bearer", type: "http" },
1645
+ ],
1460
1646
  url: "/api/workflow-runs",
1461
1647
  ...options,
1462
1648
  })
@@ -1468,7 +1654,10 @@ export const getWorkflowRun = <ThrowOnError extends boolean = false>(
1468
1654
  options: Options<GetWorkflowRunData, ThrowOnError>
1469
1655
  ) =>
1470
1656
  (options.client ?? client).get<GetWorkflowRunResponses, GetWorkflowRunErrors, ThrowOnError>({
1471
- security: [{ scheme: "bearer", type: "http" }],
1657
+ security: [
1658
+ { scheme: "bearer", type: "http" },
1659
+ { scheme: "bearer", type: "http" },
1660
+ ],
1472
1661
  url: "/api/workflow-runs/{runId}",
1473
1662
  ...options,
1474
1663
  })
@@ -1484,7 +1673,10 @@ export const getWorkflowAgentNodeExecution = <ThrowOnError extends boolean = fal
1484
1673
  GetWorkflowAgentNodeExecutionErrors,
1485
1674
  ThrowOnError
1486
1675
  >({
1487
- security: [{ scheme: "bearer", type: "http" }],
1676
+ security: [
1677
+ { scheme: "bearer", type: "http" },
1678
+ { scheme: "bearer", type: "http" },
1679
+ ],
1488
1680
  url: "/api/workflow-runs/{runId}/nodes/{nodeKey}/agent-execution",
1489
1681
  ...options,
1490
1682
  })
@@ -1503,6 +1695,7 @@ export const cancelWorkflowRun = <ThrowOnError extends boolean = false>(
1503
1695
  security: [
1504
1696
  { name: "x-sixb-csrf", type: "apiKey" },
1505
1697
  { scheme: "bearer", type: "http" },
1698
+ { scheme: "bearer", type: "http" },
1506
1699
  ],
1507
1700
  url: "/api/workflow-runs/{runId}/cancel",
1508
1701
  ...options,
@@ -1523,7 +1716,10 @@ export const getWorkflowRunFileContent = <ThrowOnError extends boolean = false>(
1523
1716
  GetWorkflowRunFileContentErrors,
1524
1717
  ThrowOnError
1525
1718
  >({
1526
- security: [{ scheme: "bearer", type: "http" }],
1719
+ security: [
1720
+ { scheme: "bearer", type: "http" },
1721
+ { scheme: "bearer", type: "http" },
1722
+ ],
1527
1723
  url: "/api/workflow-runs/{runId}/files/content",
1528
1724
  ...options,
1529
1725
  })
@@ -1539,7 +1735,10 @@ export const headWorkflowRunFileContent = <ThrowOnError extends boolean = false>
1539
1735
  HeadWorkflowRunFileContentErrors,
1540
1736
  ThrowOnError
1541
1737
  >({
1542
- security: [{ scheme: "bearer", type: "http" }],
1738
+ security: [
1739
+ { scheme: "bearer", type: "http" },
1740
+ { scheme: "bearer", type: "http" },
1741
+ ],
1543
1742
  url: "/api/workflow-runs/{runId}/files/content",
1544
1743
  ...options,
1545
1744
  })
@@ -1555,7 +1754,10 @@ export const getWorkflowNodeRunFileContent = <ThrowOnError extends boolean = fal
1555
1754
  GetWorkflowNodeRunFileContentErrors,
1556
1755
  ThrowOnError
1557
1756
  >({
1558
- security: [{ scheme: "bearer", type: "http" }],
1757
+ security: [
1758
+ { scheme: "bearer", type: "http" },
1759
+ { scheme: "bearer", type: "http" },
1760
+ ],
1559
1761
  url: "/api/workflow-runs/{runId}/nodes/{nodeKey}/files/content",
1560
1762
  ...options,
1561
1763
  })
@@ -1571,7 +1773,10 @@ export const headWorkflowNodeRunFileContent = <ThrowOnError extends boolean = fa
1571
1773
  HeadWorkflowNodeRunFileContentErrors,
1572
1774
  ThrowOnError
1573
1775
  >({
1574
- security: [{ scheme: "bearer", type: "http" }],
1776
+ security: [
1777
+ { scheme: "bearer", type: "http" },
1778
+ { scheme: "bearer", type: "http" },
1779
+ ],
1575
1780
  url: "/api/workflow-runs/{runId}/nodes/{nodeKey}/files/content",
1576
1781
  ...options,
1577
1782
  })
@@ -1590,6 +1795,7 @@ export const requestWorkflowRun = <ThrowOnError extends boolean = false>(
1590
1795
  security: [
1591
1796
  { name: "x-sixb-csrf", type: "apiKey" },
1592
1797
  { scheme: "bearer", type: "http" },
1798
+ { scheme: "bearer", type: "http" },
1593
1799
  ],
1594
1800
  url: "/api/workflows/{workflowId}/runs",
1595
1801
  ...options,
@@ -1606,6 +1812,7 @@ export const listRules = <ThrowOnError extends boolean = false>(
1606
1812
  options?: Options<ListRulesData, ThrowOnError>
1607
1813
  ) =>
1608
1814
  (options?.client ?? client).get<ListRulesResponses, unknown, ThrowOnError>({
1815
+ security: [{ scheme: "bearer", type: "http" }],
1609
1816
  url: "/api/rules",
1610
1817
  ...options,
1611
1818
  })
@@ -1617,6 +1824,7 @@ export const getRule = <ThrowOnError extends boolean = false>(
1617
1824
  options: Options<GetRuleData, ThrowOnError>
1618
1825
  ) =>
1619
1826
  (options.client ?? client).get<GetRuleResponses, GetRuleErrors, ThrowOnError>({
1827
+ security: [{ scheme: "bearer", type: "http" }],
1620
1828
  url: "/api/rules/{ruleId}",
1621
1829
  ...options,
1622
1830
  })
@@ -1628,6 +1836,7 @@ export const listRuleStates = <ThrowOnError extends boolean = false>(
1628
1836
  options?: Options<ListRuleStatesData, ThrowOnError>
1629
1837
  ) =>
1630
1838
  (options?.client ?? client).get<ListRuleStatesResponses, ListRuleStatesErrors, ThrowOnError>({
1839
+ security: [{ scheme: "bearer", type: "http" }],
1631
1840
  url: "/api/rule-states",
1632
1841
  ...options,
1633
1842
  })
@@ -1643,7 +1852,10 @@ export const listSharedAccessGrants = <ThrowOnError extends boolean = false>(
1643
1852
  ListSharedAccessGrantsErrors,
1644
1853
  ThrowOnError
1645
1854
  >({
1646
- security: [{ scheme: "bearer", type: "http" }],
1855
+ security: [
1856
+ { scheme: "bearer", type: "http" },
1857
+ { scheme: "bearer", type: "http" },
1858
+ ],
1647
1859
  url: "/api/share-grants",
1648
1860
  ...options,
1649
1861
  })
@@ -1662,6 +1874,7 @@ export const issueSharedAccessGrant = <ThrowOnError extends boolean = false>(
1662
1874
  security: [
1663
1875
  { name: "x-sixb-csrf", type: "apiKey" },
1664
1876
  { scheme: "bearer", type: "http" },
1877
+ { scheme: "bearer", type: "http" },
1665
1878
  ],
1666
1879
  url: "/api/share-grants",
1667
1880
  ...options,
@@ -1685,6 +1898,7 @@ export const revokeSharedAccessGrant = <ThrowOnError extends boolean = false>(
1685
1898
  security: [
1686
1899
  { name: "x-sixb-csrf", type: "apiKey" },
1687
1900
  { scheme: "bearer", type: "http" },
1901
+ { scheme: "bearer", type: "http" },
1688
1902
  ],
1689
1903
  url: "/api/share-grants/{grantId}",
1690
1904
  ...options,
@@ -1745,6 +1959,7 @@ export const listObjectTypes = <ThrowOnError extends boolean = false>(
1745
1959
  ) =>
1746
1960
  (options?.client ?? client).get<ListObjectTypesResponses, unknown, ThrowOnError>({
1747
1961
  security: [
1962
+ { scheme: "bearer", type: "http" },
1748
1963
  { scheme: "bearer", type: "http" },
1749
1964
  { name: "x-sixb-share-grant", type: "apiKey" },
1750
1965
  ],
@@ -1760,6 +1975,7 @@ export const getObjectType = <ThrowOnError extends boolean = false>(
1760
1975
  ) =>
1761
1976
  (options.client ?? client).get<GetObjectTypeResponses, GetObjectTypeErrors, ThrowOnError>({
1762
1977
  security: [
1978
+ { scheme: "bearer", type: "http" },
1763
1979
  { scheme: "bearer", type: "http" },
1764
1980
  { name: "x-sixb-share-grant", type: "apiKey" },
1765
1981
  ],
@@ -1775,6 +1991,7 @@ export const searchObjects = <ThrowOnError extends boolean = false>(
1775
1991
  ) =>
1776
1992
  (options.client ?? client).get<SearchObjectsResponses, SearchObjectsErrors, ThrowOnError>({
1777
1993
  security: [
1994
+ { scheme: "bearer", type: "http" },
1778
1995
  { scheme: "bearer", type: "http" },
1779
1996
  { name: "x-sixb-share-grant", type: "apiKey" },
1780
1997
  ],
@@ -1790,6 +2007,7 @@ export const listObjects = <ThrowOnError extends boolean = false>(
1790
2007
  ) =>
1791
2008
  (options?.client ?? client).get<ListObjectsResponses, ListObjectsErrors, ThrowOnError>({
1792
2009
  security: [
2010
+ { scheme: "bearer", type: "http" },
1793
2011
  { scheme: "bearer", type: "http" },
1794
2012
  { name: "x-sixb-share-grant", type: "apiKey" },
1795
2013
  ],
@@ -1807,6 +2025,7 @@ export const queryObjects = <ThrowOnError extends boolean = false>(
1807
2025
  security: [
1808
2026
  { name: "x-sixb-csrf", type: "apiKey" },
1809
2027
  { scheme: "bearer", type: "http" },
2028
+ { scheme: "bearer", type: "http" },
1810
2029
  { name: "x-sixb-share-grant", type: "apiKey" },
1811
2030
  ],
1812
2031
  url: "/api/objects/query",
@@ -1827,6 +2046,7 @@ export const queryObjectLinks = <ThrowOnError extends boolean = false>(
1827
2046
  security: [
1828
2047
  { name: "x-sixb-csrf", type: "apiKey" },
1829
2048
  { scheme: "bearer", type: "http" },
2049
+ { scheme: "bearer", type: "http" },
1830
2050
  { name: "x-sixb-share-grant", type: "apiKey" },
1831
2051
  ],
1832
2052
  url: "/api/objects/query/links",
@@ -1847,6 +2067,7 @@ export const countObjects = <ThrowOnError extends boolean = false>(
1847
2067
  security: [
1848
2068
  { name: "x-sixb-csrf", type: "apiKey" },
1849
2069
  { scheme: "bearer", type: "http" },
2070
+ { scheme: "bearer", type: "http" },
1850
2071
  { name: "x-sixb-share-grant", type: "apiKey" },
1851
2072
  ],
1852
2073
  url: "/api/objects/query/count",
@@ -1867,6 +2088,7 @@ export const existsObjects = <ThrowOnError extends boolean = false>(
1867
2088
  security: [
1868
2089
  { name: "x-sixb-csrf", type: "apiKey" },
1869
2090
  { scheme: "bearer", type: "http" },
2091
+ { scheme: "bearer", type: "http" },
1870
2092
  { name: "x-sixb-share-grant", type: "apiKey" },
1871
2093
  ],
1872
2094
  url: "/api/objects/query/exists",
@@ -1887,6 +2109,7 @@ export const facetObjects = <ThrowOnError extends boolean = false>(
1887
2109
  security: [
1888
2110
  { name: "x-sixb-csrf", type: "apiKey" },
1889
2111
  { scheme: "bearer", type: "http" },
2112
+ { scheme: "bearer", type: "http" },
1890
2113
  { name: "x-sixb-share-grant", type: "apiKey" },
1891
2114
  ],
1892
2115
  url: "/api/objects/query/facets",
@@ -1909,6 +2132,7 @@ export const getObjectFileContent = <ThrowOnError extends boolean = false>(
1909
2132
  ThrowOnError
1910
2133
  >({
1911
2134
  security: [
2135
+ { scheme: "bearer", type: "http" },
1912
2136
  { scheme: "bearer", type: "http" },
1913
2137
  { name: "x-sixb-share-grant", type: "apiKey" },
1914
2138
  ],
@@ -1928,6 +2152,7 @@ export const headObjectFileContent = <ThrowOnError extends boolean = false>(
1928
2152
  ThrowOnError
1929
2153
  >({
1930
2154
  security: [
2155
+ { scheme: "bearer", type: "http" },
1931
2156
  { scheme: "bearer", type: "http" },
1932
2157
  { name: "x-sixb-share-grant", type: "apiKey" },
1933
2158
  ],
@@ -1943,6 +2168,7 @@ export const getObject = <ThrowOnError extends boolean = false>(
1943
2168
  ) =>
1944
2169
  (options.client ?? client).get<GetObjectResponses, GetObjectErrors, ThrowOnError>({
1945
2170
  security: [
2171
+ { scheme: "bearer", type: "http" },
1946
2172
  { scheme: "bearer", type: "http" },
1947
2173
  { name: "x-sixb-share-grant", type: "apiKey" },
1948
2174
  ],
@@ -1960,6 +2186,7 @@ export const upsertObject = <ThrowOnError extends boolean = false>(
1960
2186
  security: [
1961
2187
  { name: "x-sixb-csrf", type: "apiKey" },
1962
2188
  { scheme: "bearer", type: "http" },
2189
+ { scheme: "bearer", type: "http" },
1963
2190
  ],
1964
2191
  url: "/api/objects/{objectTypeId}/{objectId}",
1965
2192
  ...options,
@@ -1977,6 +2204,7 @@ export const listActions = <ThrowOnError extends boolean = false>(
1977
2204
  ) =>
1978
2205
  (options?.client ?? client).get<ListActionsResponses, unknown, ThrowOnError>({
1979
2206
  security: [
2207
+ { scheme: "bearer", type: "http" },
1980
2208
  { scheme: "bearer", type: "http" },
1981
2209
  { name: "x-sixb-share-grant", type: "apiKey" },
1982
2210
  ],
@@ -1992,6 +2220,7 @@ export const getAction = <ThrowOnError extends boolean = false>(
1992
2220
  ) =>
1993
2221
  (options.client ?? client).get<GetActionResponses, GetActionErrors, ThrowOnError>({
1994
2222
  security: [
2223
+ { scheme: "bearer", type: "http" },
1995
2224
  { scheme: "bearer", type: "http" },
1996
2225
  { name: "x-sixb-share-grant", type: "apiKey" },
1997
2226
  ],
@@ -2009,6 +2238,7 @@ export const requestAction = <ThrowOnError extends boolean = false>(
2009
2238
  security: [
2010
2239
  { name: "x-sixb-csrf", type: "apiKey" },
2011
2240
  { scheme: "bearer", type: "http" },
2241
+ { scheme: "bearer", type: "http" },
2012
2242
  { name: "x-sixb-share-grant", type: "apiKey" },
2013
2243
  ],
2014
2244
  url: "/api/actions/{actionId}",
@@ -2030,6 +2260,7 @@ export const uploadFileRaw = <ThrowOnError extends boolean = false>(
2030
2260
  security: [
2031
2261
  { name: "x-sixb-csrf", type: "apiKey" },
2032
2262
  { scheme: "bearer", type: "http" },
2263
+ { scheme: "bearer", type: "http" },
2033
2264
  ],
2034
2265
  url: "/api/files",
2035
2266
  ...options,
@@ -2046,7 +2277,10 @@ export const createFileUpload = <ThrowOnError extends boolean = false>(
2046
2277
  options: Options<CreateFileUploadData, ThrowOnError>
2047
2278
  ) =>
2048
2279
  (options.client ?? client).post<CreateFileUploadResponses, CreateFileUploadErrors, ThrowOnError>({
2049
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2280
+ security: [
2281
+ { name: "x-sixb-csrf", type: "apiKey" },
2282
+ { scheme: "bearer", type: "http" },
2283
+ ],
2050
2284
  url: "/api/files/uploads",
2051
2285
  ...options,
2052
2286
  headers: {
@@ -2064,7 +2298,10 @@ export const uploadFileContent = <ThrowOnError extends boolean = false>(
2064
2298
  (options.client ?? client).put<UploadFileContentResponses, UploadFileContentErrors, ThrowOnError>(
2065
2299
  {
2066
2300
  bodySerializer: null,
2067
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2301
+ security: [
2302
+ { name: "x-sixb-csrf", type: "apiKey" },
2303
+ { scheme: "bearer", type: "http" },
2304
+ ],
2068
2305
  url: "/api/files/uploads/{uploadId}/content",
2069
2306
  ...options,
2070
2307
  headers: {
@@ -2085,7 +2322,10 @@ export const signFileUploadPart = <ThrowOnError extends boolean = false>(
2085
2322
  SignFileUploadPartErrors,
2086
2323
  ThrowOnError
2087
2324
  >({
2088
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2325
+ security: [
2326
+ { name: "x-sixb-csrf", type: "apiKey" },
2327
+ { scheme: "bearer", type: "http" },
2328
+ ],
2089
2329
  url: "/api/files/uploads/{uploadId}/parts/{partNumber}",
2090
2330
  ...options,
2091
2331
  })
@@ -2101,7 +2341,10 @@ export const completeFileUpload = <ThrowOnError extends boolean = false>(
2101
2341
  CompleteFileUploadErrors,
2102
2342
  ThrowOnError
2103
2343
  >({
2104
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2344
+ security: [
2345
+ { name: "x-sixb-csrf", type: "apiKey" },
2346
+ { scheme: "bearer", type: "http" },
2347
+ ],
2105
2348
  url: "/api/files/uploads/{uploadId}/complete",
2106
2349
  ...options,
2107
2350
  headers: {
@@ -2117,7 +2360,10 @@ export const abortFileUpload = <ThrowOnError extends boolean = false>(
2117
2360
  options: Options<AbortFileUploadData, ThrowOnError>
2118
2361
  ) =>
2119
2362
  (options.client ?? client).post<AbortFileUploadResponses, AbortFileUploadErrors, ThrowOnError>({
2120
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2363
+ security: [
2364
+ { name: "x-sixb-csrf", type: "apiKey" },
2365
+ { scheme: "bearer", type: "http" },
2366
+ ],
2121
2367
  url: "/api/files/uploads/{uploadId}/abort",
2122
2368
  ...options,
2123
2369
  })
@@ -2129,7 +2375,10 @@ export const listActionRuns = <ThrowOnError extends boolean = false>(
2129
2375
  options?: Options<ListActionRunsData, ThrowOnError>
2130
2376
  ) =>
2131
2377
  (options?.client ?? client).get<ListActionRunsResponses, ListActionRunsErrors, ThrowOnError>({
2132
- security: [{ scheme: "bearer", type: "http" }],
2378
+ security: [
2379
+ { scheme: "bearer", type: "http" },
2380
+ { scheme: "bearer", type: "http" },
2381
+ ],
2133
2382
  url: "/api/action-runs",
2134
2383
  ...options,
2135
2384
  })
@@ -2142,6 +2391,7 @@ export const getActionRun = <ThrowOnError extends boolean = false>(
2142
2391
  ) =>
2143
2392
  (options.client ?? client).get<GetActionRunResponses, GetActionRunErrors, ThrowOnError>({
2144
2393
  security: [
2394
+ { scheme: "bearer", type: "http" },
2145
2395
  { scheme: "bearer", type: "http" },
2146
2396
  { name: "x-sixb-share-grant", type: "apiKey" },
2147
2397
  ],
@@ -2160,7 +2410,10 @@ export const getActionRunFileContent = <ThrowOnError extends boolean = false>(
2160
2410
  GetActionRunFileContentErrors,
2161
2411
  ThrowOnError
2162
2412
  >({
2163
- security: [{ scheme: "bearer", type: "http" }],
2413
+ security: [
2414
+ { scheme: "bearer", type: "http" },
2415
+ { scheme: "bearer", type: "http" },
2416
+ ],
2164
2417
  url: "/api/action-runs/{runId}/files/content",
2165
2418
  ...options,
2166
2419
  })
@@ -2176,7 +2429,10 @@ export const headActionRunFileContent = <ThrowOnError extends boolean = false>(
2176
2429
  HeadActionRunFileContentErrors,
2177
2430
  ThrowOnError
2178
2431
  >({
2179
- security: [{ scheme: "bearer", type: "http" }],
2432
+ security: [
2433
+ { scheme: "bearer", type: "http" },
2434
+ { scheme: "bearer", type: "http" },
2435
+ ],
2180
2436
  url: "/api/action-runs/{runId}/files/content",
2181
2437
  ...options,
2182
2438
  })
@@ -2188,6 +2444,7 @@ export const getAgent = <ThrowOnError extends boolean = false>(
2188
2444
  options?: Options<GetAgentData, ThrowOnError>
2189
2445
  ) =>
2190
2446
  (options?.client ?? client).get<GetAgentResponses, GetAgentErrors, ThrowOnError>({
2447
+ security: [{ scheme: "bearer", type: "http" }],
2191
2448
  url: "/api/agent",
2192
2449
  ...options,
2193
2450
  })
@@ -2199,6 +2456,7 @@ export const listAgentThreads = <ThrowOnError extends boolean = false>(
2199
2456
  options?: Options<ListAgentThreadsData, ThrowOnError>
2200
2457
  ) =>
2201
2458
  (options?.client ?? client).get<ListAgentThreadsResponses, ListAgentThreadsErrors, ThrowOnError>({
2459
+ security: [{ scheme: "bearer", type: "http" }],
2202
2460
  url: "/api/agent-threads",
2203
2461
  ...options,
2204
2462
  })
@@ -2214,7 +2472,10 @@ export const createAgentThread = <ThrowOnError extends boolean = false>(
2214
2472
  CreateAgentThreadErrors,
2215
2473
  ThrowOnError
2216
2474
  >({
2217
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2475
+ security: [
2476
+ { name: "x-sixb-csrf", type: "apiKey" },
2477
+ { scheme: "bearer", type: "http" },
2478
+ ],
2218
2479
  url: "/api/agent-threads",
2219
2480
  ...options,
2220
2481
  headers: {
@@ -2230,10 +2491,34 @@ export const getAgentThread = <ThrowOnError extends boolean = false>(
2230
2491
  options: Options<GetAgentThreadData, ThrowOnError>
2231
2492
  ) =>
2232
2493
  (options.client ?? client).get<GetAgentThreadResponses, GetAgentThreadErrors, ThrowOnError>({
2494
+ security: [{ scheme: "bearer", type: "http" }],
2233
2495
  url: "/api/agent-threads/{threadId}",
2234
2496
  ...options,
2235
2497
  })
2236
2498
 
2499
+ /**
2500
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
2501
+ */
2502
+ export const recreateAgentThreadSandbox = <ThrowOnError extends boolean = false>(
2503
+ options: Options<RecreateAgentThreadSandboxData, ThrowOnError>
2504
+ ) =>
2505
+ (options.client ?? client).post<
2506
+ RecreateAgentThreadSandboxResponses,
2507
+ RecreateAgentThreadSandboxErrors,
2508
+ ThrowOnError
2509
+ >({
2510
+ security: [
2511
+ { name: "x-sixb-csrf", type: "apiKey" },
2512
+ { scheme: "bearer", type: "http" },
2513
+ ],
2514
+ url: "/api/agent-threads/{threadId}/sandbox/recreate",
2515
+ ...options,
2516
+ headers: {
2517
+ "Content-Type": "application/json",
2518
+ ...options.headers,
2519
+ },
2520
+ })
2521
+
2237
2522
  /**
2238
2523
  * List agent thread messages
2239
2524
  */
@@ -2244,7 +2529,11 @@ export const listAgentThreadMessages = <ThrowOnError extends boolean = false>(
2244
2529
  ListAgentThreadMessagesResponses,
2245
2530
  ListAgentThreadMessagesErrors,
2246
2531
  ThrowOnError
2247
- >({ url: "/api/agent-threads/{threadId}/messages", ...options })
2532
+ >({
2533
+ security: [{ scheme: "bearer", type: "http" }],
2534
+ url: "/api/agent-threads/{threadId}/messages",
2535
+ ...options,
2536
+ })
2248
2537
 
2249
2538
  /**
2250
2539
  * Post an agent thread message
@@ -2257,7 +2546,10 @@ export const postAgentThreadMessage = <ThrowOnError extends boolean = false>(
2257
2546
  PostAgentThreadMessageErrors,
2258
2547
  ThrowOnError
2259
2548
  >({
2260
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2549
+ security: [
2550
+ { name: "x-sixb-csrf", type: "apiKey" },
2551
+ { scheme: "bearer", type: "http" },
2552
+ ],
2261
2553
  url: "/api/agent-threads/{threadId}/messages",
2262
2554
  ...options,
2263
2555
  headers: {
@@ -2277,7 +2569,10 @@ export const getAgentMessageFileContent = <ThrowOnError extends boolean = false>
2277
2569
  GetAgentMessageFileContentErrors,
2278
2570
  ThrowOnError
2279
2571
  >({
2280
- security: [{ scheme: "bearer", type: "http" }],
2572
+ security: [
2573
+ { scheme: "bearer", type: "http" },
2574
+ { scheme: "bearer", type: "http" },
2575
+ ],
2281
2576
  url: "/api/agent-threads/{threadId}/messages/{messageId}/files/content",
2282
2577
  ...options,
2283
2578
  })
@@ -2293,7 +2588,10 @@ export const headAgentMessageFileContent = <ThrowOnError extends boolean = false
2293
2588
  HeadAgentMessageFileContentErrors,
2294
2589
  ThrowOnError
2295
2590
  >({
2296
- security: [{ scheme: "bearer", type: "http" }],
2591
+ security: [
2592
+ { scheme: "bearer", type: "http" },
2593
+ { scheme: "bearer", type: "http" },
2594
+ ],
2297
2595
  url: "/api/agent-threads/{threadId}/messages/{messageId}/files/content",
2298
2596
  ...options,
2299
2597
  })
@@ -2305,7 +2603,10 @@ export const cancelAgentRun = <ThrowOnError extends boolean = false>(
2305
2603
  options: Options<CancelAgentRunData, ThrowOnError>
2306
2604
  ) =>
2307
2605
  (options.client ?? client).post<CancelAgentRunResponses, CancelAgentRunErrors, ThrowOnError>({
2308
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2606
+ security: [
2607
+ { name: "x-sixb-csrf", type: "apiKey" },
2608
+ { scheme: "bearer", type: "http" },
2609
+ ],
2309
2610
  url: "/api/agent-threads/{threadId}/cancel",
2310
2611
  ...options,
2311
2612
  headers: {
@@ -2321,7 +2622,10 @@ export const retryAgentRun = <ThrowOnError extends boolean = false>(
2321
2622
  options: Options<RetryAgentRunData, ThrowOnError>
2322
2623
  ) =>
2323
2624
  (options.client ?? client).post<RetryAgentRunResponses, RetryAgentRunErrors, ThrowOnError>({
2324
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2625
+ security: [
2626
+ { name: "x-sixb-csrf", type: "apiKey" },
2627
+ { scheme: "bearer", type: "http" },
2628
+ ],
2325
2629
  url: "/api/agent-threads/{threadId}/runs/{runId}/retry",
2326
2630
  ...options,
2327
2631
  })
@@ -2336,7 +2640,11 @@ export const listAgentThreadRuns = <ThrowOnError extends boolean = false>(
2336
2640
  ListAgentThreadRunsResponses,
2337
2641
  ListAgentThreadRunsErrors,
2338
2642
  ThrowOnError
2339
- >({ url: "/api/agent-threads/{threadId}/runs", ...options })
2643
+ >({
2644
+ security: [{ scheme: "bearer", type: "http" }],
2645
+ url: "/api/agent-threads/{threadId}/runs",
2646
+ ...options,
2647
+ })
2340
2648
 
2341
2649
  /**
2342
2650
  * Get agent run
@@ -2345,6 +2653,7 @@ export const getAgentRun = <ThrowOnError extends boolean = false>(
2345
2653
  options: Options<GetAgentRunData, ThrowOnError>
2346
2654
  ) =>
2347
2655
  (options.client ?? client).get<GetAgentRunResponses, GetAgentRunErrors, ThrowOnError>({
2656
+ security: [{ scheme: "bearer", type: "http" }],
2348
2657
  url: "/api/agent-runs/{runId}",
2349
2658
  ...options,
2350
2659
  })
@@ -2356,6 +2665,7 @@ export const listModels = <ThrowOnError extends boolean = false>(
2356
2665
  options?: Options<ListModelsData, ThrowOnError>
2357
2666
  ) =>
2358
2667
  (options?.client ?? client).get<ListModelsResponses, unknown, ThrowOnError>({
2668
+ security: [{ scheme: "bearer", type: "http" }],
2359
2669
  url: "/api/models",
2360
2670
  ...options,
2361
2671
  })
@@ -2374,6 +2684,7 @@ export const removeObjectLink = <ThrowOnError extends boolean = false>(
2374
2684
  security: [
2375
2685
  { name: "x-sixb-csrf", type: "apiKey" },
2376
2686
  { scheme: "bearer", type: "http" },
2687
+ { scheme: "bearer", type: "http" },
2377
2688
  ],
2378
2689
  url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}",
2379
2690
  ...options,
@@ -2389,6 +2700,7 @@ export const upsertObjectLink = <ThrowOnError extends boolean = false>(
2389
2700
  security: [
2390
2701
  { name: "x-sixb-csrf", type: "apiKey" },
2391
2702
  { scheme: "bearer", type: "http" },
2703
+ { scheme: "bearer", type: "http" },
2392
2704
  ],
2393
2705
  url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}",
2394
2706
  ...options,
@@ -2408,6 +2720,7 @@ export const appendTelemetry = <ThrowOnError extends boolean = false>(
2408
2720
  security: [
2409
2721
  { name: "x-sixb-csrf", type: "apiKey" },
2410
2722
  { scheme: "bearer", type: "http" },
2723
+ { scheme: "bearer", type: "http" },
2411
2724
  ],
2412
2725
  url: "/api/objects/{objectTypeId}/{objectId}/telemetry/{propertyId}",
2413
2726
  ...options,
@@ -2431,6 +2744,7 @@ export const getBulkTelemetryHistory = <ThrowOnError extends boolean = false>(
2431
2744
  security: [
2432
2745
  { name: "x-sixb-csrf", type: "apiKey" },
2433
2746
  { scheme: "bearer", type: "http" },
2747
+ { scheme: "bearer", type: "http" },
2434
2748
  { name: "x-sixb-share-grant", type: "apiKey" },
2435
2749
  ],
2436
2750
  url: "/api/telemetry/history",
@@ -2453,6 +2767,7 @@ export const getTelemetryHistory = <ThrowOnError extends boolean = false>(
2453
2767
  ThrowOnError
2454
2768
  >({
2455
2769
  security: [
2770
+ { scheme: "bearer", type: "http" },
2456
2771
  { scheme: "bearer", type: "http" },
2457
2772
  { name: "x-sixb-share-grant", type: "apiKey" },
2458
2773
  ],
@@ -2472,6 +2787,7 @@ export const getLatestTelemetry = <ThrowOnError extends boolean = false>(
2472
2787
  ThrowOnError
2473
2788
  >({
2474
2789
  security: [
2790
+ { scheme: "bearer", type: "http" },
2475
2791
  { scheme: "bearer", type: "http" },
2476
2792
  { name: "x-sixb-share-grant", type: "apiKey" },
2477
2793
  ],
@@ -2486,7 +2802,10 @@ export const listEvents = <ThrowOnError extends boolean = false>(
2486
2802
  options?: Options<ListEventsData, ThrowOnError>
2487
2803
  ) =>
2488
2804
  (options?.client ?? client).get<ListEventsResponses, ListEventsErrors, ThrowOnError>({
2489
- security: [{ scheme: "bearer", type: "http" }],
2805
+ security: [
2806
+ { scheme: "bearer", type: "http" },
2807
+ { scheme: "bearer", type: "http" },
2808
+ ],
2490
2809
  url: "/api/events",
2491
2810
  ...options,
2492
2811
  })
@@ -2498,7 +2817,10 @@ export const listLogs = <ThrowOnError extends boolean = false>(
2498
2817
  options?: Options<ListLogsData, ThrowOnError>
2499
2818
  ) =>
2500
2819
  (options?.client ?? client).get<ListLogsResponses, ListLogsErrors, ThrowOnError>({
2501
- security: [{ scheme: "bearer", type: "http" }],
2820
+ security: [
2821
+ { scheme: "bearer", type: "http" },
2822
+ { scheme: "bearer", type: "http" },
2823
+ ],
2502
2824
  url: "/api/logs",
2503
2825
  ...options,
2504
2826
  })
@@ -2510,6 +2832,7 @@ export const listProjections = <ThrowOnError extends boolean = false>(
2510
2832
  options?: Options<ListProjectionsData, ThrowOnError>
2511
2833
  ) =>
2512
2834
  (options?.client ?? client).get<ListProjectionsResponses, unknown, ThrowOnError>({
2835
+ security: [{ scheme: "bearer", type: "http" }],
2513
2836
  url: "/api/projections",
2514
2837
  ...options,
2515
2838
  })
@@ -2521,6 +2844,7 @@ export const getProjection = <ThrowOnError extends boolean = false>(
2521
2844
  options: Options<GetProjectionData, ThrowOnError>
2522
2845
  ) =>
2523
2846
  (options.client ?? client).get<GetProjectionResponses, GetProjectionErrors, ThrowOnError>({
2847
+ security: [{ scheme: "bearer", type: "http" }],
2524
2848
  url: "/api/projections/{projectionId}",
2525
2849
  ...options,
2526
2850
  })
@@ -2535,7 +2859,11 @@ export const listProjectionRuns = <ThrowOnError extends boolean = false>(
2535
2859
  ListProjectionRunsResponses,
2536
2860
  ListProjectionRunsErrors,
2537
2861
  ThrowOnError
2538
- >({ url: "/api/projection-runs", ...options })
2862
+ >({
2863
+ security: [{ scheme: "bearer", type: "http" }],
2864
+ url: "/api/projection-runs",
2865
+ ...options,
2866
+ })
2539
2867
 
2540
2868
  /**
2541
2869
  * Get a projection run by id
@@ -2544,6 +2872,7 @@ export const getProjectionRun = <ThrowOnError extends boolean = false>(
2544
2872
  options: Options<GetProjectionRunData, ThrowOnError>
2545
2873
  ) =>
2546
2874
  (options.client ?? client).get<GetProjectionRunResponses, GetProjectionRunErrors, ThrowOnError>({
2875
+ security: [{ scheme: "bearer", type: "http" }],
2547
2876
  url: "/api/projection-runs/{runId}",
2548
2877
  ...options,
2549
2878
  })
@@ -2555,6 +2884,7 @@ export const listWebhookRuns = <ThrowOnError extends boolean = false>(
2555
2884
  options?: Options<ListWebhookRunsData, ThrowOnError>
2556
2885
  ) =>
2557
2886
  (options?.client ?? client).get<ListWebhookRunsResponses, ListWebhookRunsErrors, ThrowOnError>({
2887
+ security: [{ scheme: "bearer", type: "http" }],
2558
2888
  url: "/api/webhook-runs",
2559
2889
  ...options,
2560
2890
  })