@sixb/client 0.1.12 → 0.1.14

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-sjb188se.js → chunk-1d0xnr6p.js} +38 -7
  10. package/dist/chunk-1d0xnr6p.js.map +10 -0
  11. package/dist/{chunk-bsy1hg20.js → chunk-50rkzhcy.js} +23 -30
  12. package/dist/chunk-50rkzhcy.js.map +10 -0
  13. package/dist/{chunk-hx3n4fer.js → chunk-6k1hzwk1.js} +13 -11
  14. package/dist/chunk-6k1hzwk1.js.map +17 -0
  15. package/dist/{chunk-e8qjsvha.js → chunk-hdgztpzs.js} +364 -71
  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-kh20z2mt.js → chunk-nkx0fxxn.js} +2 -2
  20. package/dist/chunk-nkx0fxxn.js.map +10 -0
  21. package/dist/{chunk-t50n91tk.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 +934 -341
  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 +5 -1
  37. package/dist/generated/sdk.gen.d.ts.map +1 -1
  38. package/dist/generated/types.gen.d.ts +336 -79
  39. package/dist/generated/types.gen.d.ts.map +1 -1
  40. package/dist/hooks.js +29 -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 +21 -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 +5 -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 +31 -0
  77. package/src/generated/index.ts +6 -0
  78. package/src/generated/sdk.gen.ts +376 -69
  79. package/src/generated/types.gen.ts +433 -75
  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 +6 -11
  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-65zz479s.js +0 -23
  91. package/dist/chunk-65zz479s.js.map +0 -10
  92. package/dist/chunk-bsy1hg20.js.map +0 -10
  93. package/dist/chunk-e8qjsvha.js.map +0 -19
  94. package/dist/chunk-hx3n4fer.js.map +0 -17
  95. package/dist/chunk-kh20z2mt.js.map +0 -10
  96. package/dist/chunk-sjb188se.js.map +0 -10
  97. package/dist/chunk-t50n91tk.js.map +0 -12
  98. package/dist/chunk-tyym13kq.js.map +0 -10
@@ -331,6 +331,9 @@ import type {
331
331
  RecreateAgentThreadSandboxData,
332
332
  RecreateAgentThreadSandboxErrors,
333
333
  RecreateAgentThreadSandboxResponses,
334
+ RefreshAuthSessionData,
335
+ RefreshAuthSessionErrors,
336
+ RefreshAuthSessionResponses,
334
337
  RemoveObjectLinkData,
335
338
  RemoveObjectLinkErrors,
336
339
  RemoveObjectLinkResponses,
@@ -465,6 +468,25 @@ export const exchangeDeviceAuthorization = <ThrowOnError extends boolean = false
465
468
  },
466
469
  })
467
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
+
468
490
  /**
469
491
  * Get current auth session
470
492
  */
@@ -472,6 +494,7 @@ export const getAuthSession = <ThrowOnError extends boolean = false>(
472
494
  options?: Options<GetAuthSessionData, ThrowOnError>
473
495
  ) =>
474
496
  (options?.client ?? client).get<GetAuthSessionResponses, unknown, ThrowOnError>({
497
+ security: [{ scheme: "bearer", type: "http" }],
475
498
  url: "/api/auth/session",
476
499
  ...options,
477
500
  })
@@ -483,7 +506,10 @@ export const signOut = <ThrowOnError extends boolean = false>(
483
506
  options?: Options<SignOutData, ThrowOnError>
484
507
  ) =>
485
508
  (options?.client ?? client).post<SignOutResponses, SignOutErrors, ThrowOnError>({
486
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
509
+ security: [
510
+ { name: "x-sixb-csrf", type: "apiKey" },
511
+ { scheme: "bearer", type: "http" },
512
+ ],
487
513
  url: "/api/auth/sign-out",
488
514
  ...options,
489
515
  })
@@ -495,6 +521,7 @@ export const listAuthSessions = <ThrowOnError extends boolean = false>(
495
521
  options?: Options<ListAuthSessionsData, ThrowOnError>
496
522
  ) =>
497
523
  (options?.client ?? client).get<ListAuthSessionsResponses, ListAuthSessionsErrors, ThrowOnError>({
524
+ security: [{ scheme: "bearer", type: "http" }],
498
525
  url: "/api/auth/sessions",
499
526
  ...options,
500
527
  })
@@ -510,7 +537,10 @@ export const revokeAuthSession = <ThrowOnError extends boolean = false>(
510
537
  RevokeAuthSessionErrors,
511
538
  ThrowOnError
512
539
  >({
513
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
540
+ security: [
541
+ { name: "x-sixb-csrf", type: "apiKey" },
542
+ { scheme: "bearer", type: "http" },
543
+ ],
514
544
  url: "/api/auth/sessions/{sessionId}/revoke",
515
545
  ...options,
516
546
  })
@@ -522,7 +552,10 @@ export const signOutAll = <ThrowOnError extends boolean = false>(
522
552
  options?: Options<SignOutAllData, ThrowOnError>
523
553
  ) =>
524
554
  (options?.client ?? client).post<SignOutAllResponses, SignOutAllErrors, ThrowOnError>({
525
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
555
+ security: [
556
+ { name: "x-sixb-csrf", type: "apiKey" },
557
+ { scheme: "bearer", type: "http" },
558
+ ],
526
559
  url: "/api/auth/sign-out-all",
527
560
  ...options,
528
561
  })
@@ -538,7 +571,10 @@ export const getAuthAccessManagementOptions = <ThrowOnError extends boolean = fa
538
571
  GetAuthAccessManagementOptionsErrors,
539
572
  ThrowOnError
540
573
  >({
541
- security: [{ scheme: "bearer", type: "http" }],
574
+ security: [
575
+ { scheme: "bearer", type: "http" },
576
+ { scheme: "bearer", type: "http" },
577
+ ],
542
578
  url: "/api/auth/access-management-options",
543
579
  ...options,
544
580
  })
@@ -554,7 +590,10 @@ export const listAuthAccessTokens = <ThrowOnError extends boolean = false>(
554
590
  ListAuthAccessTokensErrors,
555
591
  ThrowOnError
556
592
  >({
557
- security: [{ scheme: "bearer", type: "http" }],
593
+ security: [
594
+ { scheme: "bearer", type: "http" },
595
+ { scheme: "bearer", type: "http" },
596
+ ],
558
597
  url: "/api/auth/access-tokens",
559
598
  ...options,
560
599
  })
@@ -573,6 +612,7 @@ export const createAuthPersonalAccessToken = <ThrowOnError extends boolean = fal
573
612
  security: [
574
613
  { name: "x-sixb-csrf", type: "apiKey" },
575
614
  { scheme: "bearer", type: "http" },
615
+ { scheme: "bearer", type: "http" },
576
616
  ],
577
617
  url: "/api/auth/access-tokens",
578
618
  ...options,
@@ -596,6 +636,7 @@ export const revokeAuthAccessToken = <ThrowOnError extends boolean = false>(
596
636
  security: [
597
637
  { name: "x-sixb-csrf", type: "apiKey" },
598
638
  { scheme: "bearer", type: "http" },
639
+ { scheme: "bearer", type: "http" },
599
640
  ],
600
641
  url: "/api/auth/access-tokens/{tokenId}/revoke",
601
642
  ...options,
@@ -612,7 +653,10 @@ export const listAuthServiceAccounts = <ThrowOnError extends boolean = false>(
612
653
  ListAuthServiceAccountsErrors,
613
654
  ThrowOnError
614
655
  >({
615
- security: [{ scheme: "bearer", type: "http" }],
656
+ security: [
657
+ { scheme: "bearer", type: "http" },
658
+ { scheme: "bearer", type: "http" },
659
+ ],
616
660
  url: "/api/auth/service-accounts",
617
661
  ...options,
618
662
  })
@@ -631,6 +675,7 @@ export const createAuthServiceAccount = <ThrowOnError extends boolean = false>(
631
675
  security: [
632
676
  { name: "x-sixb-csrf", type: "apiKey" },
633
677
  { scheme: "bearer", type: "http" },
678
+ { scheme: "bearer", type: "http" },
634
679
  ],
635
680
  url: "/api/auth/service-accounts",
636
681
  ...options,
@@ -654,6 +699,7 @@ export const disableAuthServiceAccount = <ThrowOnError extends boolean = false>(
654
699
  security: [
655
700
  { name: "x-sixb-csrf", type: "apiKey" },
656
701
  { scheme: "bearer", type: "http" },
702
+ { scheme: "bearer", type: "http" },
657
703
  ],
658
704
  url: "/api/auth/service-accounts/{serviceAccountId}/disable",
659
705
  ...options,
@@ -670,7 +716,10 @@ export const listAuthServiceAccountAccessTokens = <ThrowOnError extends boolean
670
716
  ListAuthServiceAccountAccessTokensErrors,
671
717
  ThrowOnError
672
718
  >({
673
- security: [{ scheme: "bearer", type: "http" }],
719
+ security: [
720
+ { scheme: "bearer", type: "http" },
721
+ { scheme: "bearer", type: "http" },
722
+ ],
674
723
  url: "/api/auth/service-accounts/{serviceAccountId}/access-tokens",
675
724
  ...options,
676
725
  })
@@ -689,6 +738,7 @@ export const createAuthServiceAccountAccessToken = <ThrowOnError extends boolean
689
738
  security: [
690
739
  { name: "x-sixb-csrf", type: "apiKey" },
691
740
  { scheme: "bearer", type: "http" },
741
+ { scheme: "bearer", type: "http" },
692
742
  ],
693
743
  url: "/api/auth/service-accounts/{serviceAccountId}/access-tokens",
694
744
  ...options,
@@ -712,6 +762,7 @@ export const revokeAuthServiceAccountAccessToken = <ThrowOnError extends boolean
712
762
  security: [
713
763
  { name: "x-sixb-csrf", type: "apiKey" },
714
764
  { scheme: "bearer", type: "http" },
765
+ { scheme: "bearer", type: "http" },
715
766
  ],
716
767
  url: "/api/auth/service-accounts/{serviceAccountId}/access-tokens/{tokenId}/revoke",
717
768
  ...options,
@@ -727,7 +778,11 @@ export const listAuthInvitations = <ThrowOnError extends boolean = false>(
727
778
  ListAuthInvitationsResponses,
728
779
  ListAuthInvitationsErrors,
729
780
  ThrowOnError
730
- >({ url: "/api/auth/invitations", ...options })
781
+ >({
782
+ security: [{ scheme: "bearer", type: "http" }],
783
+ url: "/api/auth/invitations",
784
+ ...options,
785
+ })
731
786
 
732
787
  /**
733
788
  * Create an auth invitation
@@ -740,7 +795,10 @@ export const createAuthInvitation = <ThrowOnError extends boolean = false>(
740
795
  CreateAuthInvitationErrors,
741
796
  ThrowOnError
742
797
  >({
743
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
798
+ security: [
799
+ { name: "x-sixb-csrf", type: "apiKey" },
800
+ { scheme: "bearer", type: "http" },
801
+ ],
744
802
  url: "/api/auth/invitations",
745
803
  ...options,
746
804
  headers: {
@@ -759,7 +817,11 @@ export const getAuthInvitationOptions = <ThrowOnError extends boolean = false>(
759
817
  GetAuthInvitationOptionsResponses,
760
818
  GetAuthInvitationOptionsErrors,
761
819
  ThrowOnError
762
- >({ url: "/api/auth/invitation-options", ...options })
820
+ >({
821
+ security: [{ scheme: "bearer", type: "http" }],
822
+ url: "/api/auth/invitation-options",
823
+ ...options,
824
+ })
763
825
 
764
826
  /**
765
827
  * Revoke an auth invitation
@@ -772,7 +834,10 @@ export const revokeAuthInvitation = <ThrowOnError extends boolean = false>(
772
834
  RevokeAuthInvitationErrors,
773
835
  ThrowOnError
774
836
  >({
775
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
837
+ security: [
838
+ { name: "x-sixb-csrf", type: "apiKey" },
839
+ { scheme: "bearer", type: "http" },
840
+ ],
776
841
  url: "/api/auth/invitations/{invitationId}/revoke",
777
842
  ...options,
778
843
  })
@@ -787,7 +852,11 @@ export const getAuthMembershipOptions = <ThrowOnError extends boolean = false>(
787
852
  GetAuthMembershipOptionsResponses,
788
853
  GetAuthMembershipOptionsErrors,
789
854
  ThrowOnError
790
- >({ url: "/api/auth/membership-options", ...options })
855
+ >({
856
+ security: [{ scheme: "bearer", type: "http" }],
857
+ url: "/api/auth/membership-options",
858
+ ...options,
859
+ })
791
860
 
792
861
  /**
793
862
  * List auth members
@@ -796,6 +865,7 @@ export const listAuthMembers = <ThrowOnError extends boolean = false>(
796
865
  options?: Options<ListAuthMembersData, ThrowOnError>
797
866
  ) =>
798
867
  (options?.client ?? client).get<ListAuthMembersResponses, ListAuthMembersErrors, ThrowOnError>({
868
+ security: [{ scheme: "bearer", type: "http" }],
799
869
  url: "/api/auth/members",
800
870
  ...options,
801
871
  })
@@ -811,7 +881,10 @@ export const updateAuthMemberGroups = <ThrowOnError extends boolean = false>(
811
881
  UpdateAuthMemberGroupsErrors,
812
882
  ThrowOnError
813
883
  >({
814
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
884
+ security: [
885
+ { name: "x-sixb-csrf", type: "apiKey" },
886
+ { scheme: "bearer", type: "http" },
887
+ ],
815
888
  url: "/api/auth/members/{userId}/groups",
816
889
  ...options,
817
890
  headers: {
@@ -831,7 +904,10 @@ export const suspendAuthMember = <ThrowOnError extends boolean = false>(
831
904
  SuspendAuthMemberErrors,
832
905
  ThrowOnError
833
906
  >({
834
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
907
+ security: [
908
+ { name: "x-sixb-csrf", type: "apiKey" },
909
+ { scheme: "bearer", type: "http" },
910
+ ],
835
911
  url: "/api/auth/members/{userId}/suspend",
836
912
  ...options,
837
913
  })
@@ -847,7 +923,10 @@ export const reactivateAuthMember = <ThrowOnError extends boolean = false>(
847
923
  ReactivateAuthMemberErrors,
848
924
  ThrowOnError
849
925
  >({
850
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
926
+ security: [
927
+ { name: "x-sixb-csrf", type: "apiKey" },
928
+ { scheme: "bearer", type: "http" },
929
+ ],
851
930
  url: "/api/auth/members/{userId}/reactivate",
852
931
  ...options,
853
932
  })
@@ -863,7 +942,10 @@ export const getAiAccountingOverview = <ThrowOnError extends boolean = false>(
863
942
  GetAiAccountingOverviewErrors,
864
943
  ThrowOnError
865
944
  >({
866
- security: [{ scheme: "bearer", type: "http" }],
945
+ security: [
946
+ { scheme: "bearer", type: "http" },
947
+ { scheme: "bearer", type: "http" },
948
+ ],
867
949
  url: "/api/ai/accounting/overview",
868
950
  ...options,
869
951
  })
@@ -875,7 +957,10 @@ export const listAiModelCalls = <ThrowOnError extends boolean = false>(
875
957
  options: Options<ListAiModelCallsData, ThrowOnError>
876
958
  ) =>
877
959
  (options.client ?? client).get<ListAiModelCallsResponses, ListAiModelCallsErrors, ThrowOnError>({
878
- security: [{ scheme: "bearer", type: "http" }],
960
+ security: [
961
+ { scheme: "bearer", type: "http" },
962
+ { scheme: "bearer", type: "http" },
963
+ ],
879
964
  url: "/api/ai/model-calls",
880
965
  ...options,
881
966
  })
@@ -891,7 +976,10 @@ export const listAiLimitPolicies = <ThrowOnError extends boolean = false>(
891
976
  ListAiLimitPoliciesErrors,
892
977
  ThrowOnError
893
978
  >({
894
- security: [{ scheme: "bearer", type: "http" }],
979
+ security: [
980
+ { scheme: "bearer", type: "http" },
981
+ { scheme: "bearer", type: "http" },
982
+ ],
895
983
  url: "/api/ai/limits",
896
984
  ...options,
897
985
  })
@@ -910,6 +998,7 @@ export const createAiLimitPolicy = <ThrowOnError extends boolean = false>(
910
998
  security: [
911
999
  { name: "x-sixb-csrf", type: "apiKey" },
912
1000
  { scheme: "bearer", type: "http" },
1001
+ { scheme: "bearer", type: "http" },
913
1002
  ],
914
1003
  url: "/api/ai/limits",
915
1004
  ...options,
@@ -926,7 +1015,10 @@ export const getAiLimitStatus = <ThrowOnError extends boolean = false>(
926
1015
  options?: Options<GetAiLimitStatusData, ThrowOnError>
927
1016
  ) =>
928
1017
  (options?.client ?? client).get<GetAiLimitStatusResponses, GetAiLimitStatusErrors, ThrowOnError>({
929
- security: [{ scheme: "bearer", type: "http" }],
1018
+ security: [
1019
+ { scheme: "bearer", type: "http" },
1020
+ { scheme: "bearer", type: "http" },
1021
+ ],
930
1022
  url: "/api/ai/limits/status",
931
1023
  ...options,
932
1024
  })
@@ -944,7 +1036,10 @@ export const getAiLimitSubjectOptions = <ThrowOnError extends boolean = false>(
944
1036
  GetAiLimitSubjectOptionsErrors,
945
1037
  ThrowOnError
946
1038
  >({
947
- security: [{ scheme: "bearer", type: "http" }],
1039
+ security: [
1040
+ { scheme: "bearer", type: "http" },
1041
+ { scheme: "bearer", type: "http" },
1042
+ ],
948
1043
  url: "/api/ai/limits/subjects",
949
1044
  ...options,
950
1045
  })
@@ -963,6 +1058,7 @@ export const deleteAiLimitPolicy = <ThrowOnError extends boolean = false>(
963
1058
  security: [
964
1059
  { name: "x-sixb-csrf", type: "apiKey" },
965
1060
  { scheme: "bearer", type: "http" },
1061
+ { scheme: "bearer", type: "http" },
966
1062
  ],
967
1063
  url: "/api/ai/limits/{limitId}",
968
1064
  ...options,
@@ -982,6 +1078,7 @@ export const updateAiLimitPolicy = <ThrowOnError extends boolean = false>(
982
1078
  security: [
983
1079
  { name: "x-sixb-csrf", type: "apiKey" },
984
1080
  { scheme: "bearer", type: "http" },
1081
+ { scheme: "bearer", type: "http" },
985
1082
  ],
986
1083
  url: "/api/ai/limits/{limitId}",
987
1084
  ...options,
@@ -1002,7 +1099,10 @@ export const listAiModelCallGroups = <ThrowOnError extends boolean = false>(
1002
1099
  ListAiModelCallGroupsErrors,
1003
1100
  ThrowOnError
1004
1101
  >({
1005
- security: [{ scheme: "bearer", type: "http" }],
1102
+ security: [
1103
+ { scheme: "bearer", type: "http" },
1104
+ { scheme: "bearer", type: "http" },
1105
+ ],
1006
1106
  url: "/api/ai/model-call-groups",
1007
1107
  ...options,
1008
1108
  })
@@ -1014,7 +1114,10 @@ export const getProjectInfo = <ThrowOnError extends boolean = false>(
1014
1114
  options?: Options<GetProjectInfoData, ThrowOnError>
1015
1115
  ) =>
1016
1116
  (options?.client ?? client).get<GetProjectInfoResponses, unknown, ThrowOnError>({
1017
- security: [{ scheme: "bearer", type: "http" }],
1117
+ security: [
1118
+ { scheme: "bearer", type: "http" },
1119
+ { scheme: "bearer", type: "http" },
1120
+ ],
1018
1121
  url: "/api/project",
1019
1122
  ...options,
1020
1123
  })
@@ -1026,6 +1129,7 @@ export const getStatus = <ThrowOnError extends boolean = false>(
1026
1129
  options?: Options<GetStatusData, ThrowOnError>
1027
1130
  ) =>
1028
1131
  (options?.client ?? client).get<GetStatusResponses, unknown, ThrowOnError>({
1132
+ security: [{ scheme: "bearer", type: "http" }],
1029
1133
  url: "/api/status",
1030
1134
  ...options,
1031
1135
  })
@@ -1037,6 +1141,7 @@ export const listConnectors = <ThrowOnError extends boolean = false>(
1037
1141
  options?: Options<ListConnectorsData, ThrowOnError>
1038
1142
  ) =>
1039
1143
  (options?.client ?? client).get<ListConnectorsResponses, unknown, ThrowOnError>({
1144
+ security: [{ scheme: "bearer", type: "http" }],
1040
1145
  url: "/api/connectors",
1041
1146
  ...options,
1042
1147
  })
@@ -1048,6 +1153,7 @@ export const getConnector = <ThrowOnError extends boolean = false>(
1048
1153
  options: Options<GetConnectorData, ThrowOnError>
1049
1154
  ) =>
1050
1155
  (options.client ?? client).get<GetConnectorResponses, GetConnectorErrors, ThrowOnError>({
1156
+ security: [{ scheme: "bearer", type: "http" }],
1051
1157
  url: "/api/connectors/{connectorId}",
1052
1158
  ...options,
1053
1159
  })
@@ -1062,7 +1168,11 @@ export const listConnectorConnections = <ThrowOnError extends boolean = false>(
1062
1168
  ListConnectorConnectionsResponses,
1063
1169
  ListConnectorConnectionsErrors,
1064
1170
  ThrowOnError
1065
- >({ url: "/api/connectors/{connectorId}/connections", ...options })
1171
+ >({
1172
+ security: [{ scheme: "bearer", type: "http" }],
1173
+ url: "/api/connectors/{connectorId}/connections",
1174
+ ...options,
1175
+ })
1066
1176
 
1067
1177
  /**
1068
1178
  * Disconnect a connector account
@@ -1075,7 +1185,10 @@ export const disconnectConnectorConnection = <ThrowOnError extends boolean = fal
1075
1185
  DisconnectConnectorConnectionErrors,
1076
1186
  ThrowOnError
1077
1187
  >({
1078
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1188
+ security: [
1189
+ { name: "x-sixb-csrf", type: "apiKey" },
1190
+ { scheme: "bearer", type: "http" },
1191
+ ],
1079
1192
  url: "/api/connectors/{connectorId}/connections/{connectionId}",
1080
1193
  ...options,
1081
1194
  })
@@ -1091,7 +1204,10 @@ export const revokeConnectorConnection = <ThrowOnError extends boolean = false>(
1091
1204
  RevokeConnectorConnectionErrors,
1092
1205
  ThrowOnError
1093
1206
  >({
1094
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1207
+ security: [
1208
+ { name: "x-sixb-csrf", type: "apiKey" },
1209
+ { scheme: "bearer", type: "http" },
1210
+ ],
1095
1211
  url: "/api/connectors/{connectorId}/connections/{connectionId}/revoke",
1096
1212
  ...options,
1097
1213
  })
@@ -1106,7 +1222,11 @@ export const listPendingConnectorConnectionRuns = <ThrowOnError extends boolean
1106
1222
  ListPendingConnectorConnectionRunsResponses,
1107
1223
  ListPendingConnectorConnectionRunsErrors,
1108
1224
  ThrowOnError
1109
- >({ url: "/api/connectors/{connectorId}/connection-runs", ...options })
1225
+ >({
1226
+ security: [{ scheme: "bearer", type: "http" }],
1227
+ url: "/api/connectors/{connectorId}/connection-runs",
1228
+ ...options,
1229
+ })
1110
1230
 
1111
1231
  /**
1112
1232
  * Start a connector connection run
@@ -1119,7 +1239,10 @@ export const startConnectorConnectionRun = <ThrowOnError extends boolean = false
1119
1239
  StartConnectorConnectionRunErrors,
1120
1240
  ThrowOnError
1121
1241
  >({
1122
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1242
+ security: [
1243
+ { name: "x-sixb-csrf", type: "apiKey" },
1244
+ { scheme: "bearer", type: "http" },
1245
+ ],
1123
1246
  url: "/api/connectors/{connectorId}/connection-runs",
1124
1247
  ...options,
1125
1248
  headers: {
@@ -1138,7 +1261,11 @@ export const getConnectorConnectionRun = <ThrowOnError extends boolean = false>(
1138
1261
  GetConnectorConnectionRunResponses,
1139
1262
  GetConnectorConnectionRunErrors,
1140
1263
  ThrowOnError
1141
- >({ 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
+ })
1142
1269
 
1143
1270
  /**
1144
1271
  * Add a connector connection from an existing authorization
@@ -1151,7 +1278,10 @@ export const addConnectorConnection = <ThrowOnError extends boolean = false>(
1151
1278
  AddConnectorConnectionErrors,
1152
1279
  ThrowOnError
1153
1280
  >({
1154
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1281
+ security: [
1282
+ { name: "x-sixb-csrf", type: "apiKey" },
1283
+ { scheme: "bearer", type: "http" },
1284
+ ],
1155
1285
  url: "/api/connectors/{connectorId}/connections/{connectionId}/connection-runs",
1156
1286
  ...options,
1157
1287
  headers: {
@@ -1171,7 +1301,10 @@ export const selectConnectorConnectionRunAccount = <ThrowOnError extends boolean
1171
1301
  SelectConnectorConnectionRunAccountErrors,
1172
1302
  ThrowOnError
1173
1303
  >({
1174
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1304
+ security: [
1305
+ { name: "x-sixb-csrf", type: "apiKey" },
1306
+ { scheme: "bearer", type: "http" },
1307
+ ],
1175
1308
  url: "/api/connectors/{connectorId}/connection-runs/{runId}/selection",
1176
1309
  ...options,
1177
1310
  headers: {
@@ -1191,7 +1324,10 @@ export const reauthorizeConnectorConnection = <ThrowOnError extends boolean = fa
1191
1324
  ReauthorizeConnectorConnectionErrors,
1192
1325
  ThrowOnError
1193
1326
  >({
1194
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1327
+ security: [
1328
+ { name: "x-sixb-csrf", type: "apiKey" },
1329
+ { scheme: "bearer", type: "http" },
1330
+ ],
1195
1331
  url: "/api/connectors/{connectorId}/connections/{connectionId}/reauthorize",
1196
1332
  ...options,
1197
1333
  headers: {
@@ -1207,6 +1343,7 @@ export const listDatasets = <ThrowOnError extends boolean = false>(
1207
1343
  options?: Options<ListDatasetsData, ThrowOnError>
1208
1344
  ) =>
1209
1345
  (options?.client ?? client).get<ListDatasetsResponses, ListDatasetsErrors, ThrowOnError>({
1346
+ security: [{ scheme: "bearer", type: "http" }],
1210
1347
  url: "/api/datasets",
1211
1348
  ...options,
1212
1349
  })
@@ -1218,6 +1355,7 @@ export const getDataset = <ThrowOnError extends boolean = false>(
1218
1355
  options: Options<GetDatasetData, ThrowOnError>
1219
1356
  ) =>
1220
1357
  (options.client ?? client).get<GetDatasetResponses, GetDatasetErrors, ThrowOnError>({
1358
+ security: [{ scheme: "bearer", type: "http" }],
1221
1359
  url: "/api/datasets/{datasetId}",
1222
1360
  ...options,
1223
1361
  })
@@ -1232,7 +1370,11 @@ export const listDatasetVersions = <ThrowOnError extends boolean = false>(
1232
1370
  ListDatasetVersionsResponses,
1233
1371
  ListDatasetVersionsErrors,
1234
1372
  ThrowOnError
1235
- >({ url: "/api/datasets/{datasetId}/versions", ...options })
1373
+ >({
1374
+ security: [{ scheme: "bearer", type: "http" }],
1375
+ url: "/api/datasets/{datasetId}/versions",
1376
+ ...options,
1377
+ })
1236
1378
 
1237
1379
  /**
1238
1380
  * Get dataset version
@@ -1241,7 +1383,11 @@ export const getDatasetVersion = <ThrowOnError extends boolean = false>(
1241
1383
  options: Options<GetDatasetVersionData, ThrowOnError>
1242
1384
  ) =>
1243
1385
  (options.client ?? client).get<GetDatasetVersionResponses, GetDatasetVersionErrors, ThrowOnError>(
1244
- { url: "/api/datasets/{datasetId}/versions/{versionId}", ...options }
1386
+ {
1387
+ security: [{ scheme: "bearer", type: "http" }],
1388
+ url: "/api/datasets/{datasetId}/versions/{versionId}",
1389
+ ...options,
1390
+ }
1245
1391
  )
1246
1392
 
1247
1393
  /**
@@ -1251,6 +1397,7 @@ export const listDatasetRows = <ThrowOnError extends boolean = false>(
1251
1397
  options: Options<ListDatasetRowsData, ThrowOnError>
1252
1398
  ) =>
1253
1399
  (options.client ?? client).get<ListDatasetRowsResponses, ListDatasetRowsErrors, ThrowOnError>({
1400
+ security: [{ scheme: "bearer", type: "http" }],
1254
1401
  url: "/api/datasets/{datasetId}/rows",
1255
1402
  ...options,
1256
1403
  })
@@ -1262,6 +1409,7 @@ export const listSyncs = <ThrowOnError extends boolean = false>(
1262
1409
  options?: Options<ListSyncsData, ThrowOnError>
1263
1410
  ) =>
1264
1411
  (options?.client ?? client).get<ListSyncsResponses, unknown, ThrowOnError>({
1412
+ security: [{ scheme: "bearer", type: "http" }],
1265
1413
  url: "/api/syncs",
1266
1414
  ...options,
1267
1415
  })
@@ -1273,6 +1421,7 @@ export const getSync = <ThrowOnError extends boolean = false>(
1273
1421
  options: Options<GetSyncData, ThrowOnError>
1274
1422
  ) =>
1275
1423
  (options.client ?? client).get<GetSyncResponses, GetSyncErrors, ThrowOnError>({
1424
+ security: [{ scheme: "bearer", type: "http" }],
1276
1425
  url: "/api/syncs/{syncId}",
1277
1426
  ...options,
1278
1427
  })
@@ -1284,6 +1433,7 @@ export const listSyncRuns = <ThrowOnError extends boolean = false>(
1284
1433
  options?: Options<ListSyncRunsData, ThrowOnError>
1285
1434
  ) =>
1286
1435
  (options?.client ?? client).get<ListSyncRunsResponses, ListSyncRunsErrors, ThrowOnError>({
1436
+ security: [{ scheme: "bearer", type: "http" }],
1287
1437
  url: "/api/sync-runs",
1288
1438
  ...options,
1289
1439
  })
@@ -1295,7 +1445,10 @@ export const requestSyncRun = <ThrowOnError extends boolean = false>(
1295
1445
  options: Options<RequestSyncRunData, ThrowOnError>
1296
1446
  ) =>
1297
1447
  (options.client ?? client).post<RequestSyncRunResponses, RequestSyncRunErrors, ThrowOnError>({
1298
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1448
+ security: [
1449
+ { name: "x-sixb-csrf", type: "apiKey" },
1450
+ { scheme: "bearer", type: "http" },
1451
+ ],
1299
1452
  url: "/api/syncs/{syncId}/runs",
1300
1453
  ...options,
1301
1454
  headers: {
@@ -1311,6 +1464,7 @@ export const listPipelines = <ThrowOnError extends boolean = false>(
1311
1464
  options?: Options<ListPipelinesData, ThrowOnError>
1312
1465
  ) =>
1313
1466
  (options?.client ?? client).get<ListPipelinesResponses, unknown, ThrowOnError>({
1467
+ security: [{ scheme: "bearer", type: "http" }],
1314
1468
  url: "/api/pipelines",
1315
1469
  ...options,
1316
1470
  })
@@ -1322,6 +1476,7 @@ export const getPipeline = <ThrowOnError extends boolean = false>(
1322
1476
  options: Options<GetPipelineData, ThrowOnError>
1323
1477
  ) =>
1324
1478
  (options.client ?? client).get<GetPipelineResponses, GetPipelineErrors, ThrowOnError>({
1479
+ security: [{ scheme: "bearer", type: "http" }],
1325
1480
  url: "/api/pipelines/{pipelineId}",
1326
1481
  ...options,
1327
1482
  })
@@ -1333,6 +1488,7 @@ export const listPipelineRuns = <ThrowOnError extends boolean = false>(
1333
1488
  options?: Options<ListPipelineRunsData, ThrowOnError>
1334
1489
  ) =>
1335
1490
  (options?.client ?? client).get<ListPipelineRunsResponses, ListPipelineRunsErrors, ThrowOnError>({
1491
+ security: [{ scheme: "bearer", type: "http" }],
1336
1492
  url: "/api/pipeline-runs",
1337
1493
  ...options,
1338
1494
  })
@@ -1344,6 +1500,7 @@ export const getPipelineRun = <ThrowOnError extends boolean = false>(
1344
1500
  options: Options<GetPipelineRunData, ThrowOnError>
1345
1501
  ) =>
1346
1502
  (options.client ?? client).get<GetPipelineRunResponses, GetPipelineRunErrors, ThrowOnError>({
1503
+ security: [{ scheme: "bearer", type: "http" }],
1347
1504
  url: "/api/pipeline-runs/{runId}",
1348
1505
  ...options,
1349
1506
  })
@@ -1359,7 +1516,10 @@ export const requestPipelineRun = <ThrowOnError extends boolean = false>(
1359
1516
  RequestPipelineRunErrors,
1360
1517
  ThrowOnError
1361
1518
  >({
1362
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1519
+ security: [
1520
+ { name: "x-sixb-csrf", type: "apiKey" },
1521
+ { scheme: "bearer", type: "http" },
1522
+ ],
1363
1523
  url: "/api/pipelines/{pipelineId}/runs",
1364
1524
  ...options,
1365
1525
  })
@@ -1371,7 +1531,10 @@ export const listWorkflows = <ThrowOnError extends boolean = false>(
1371
1531
  options?: Options<ListWorkflowsData, ThrowOnError>
1372
1532
  ) =>
1373
1533
  (options?.client ?? client).get<ListWorkflowsResponses, unknown, ThrowOnError>({
1374
- security: [{ scheme: "bearer", type: "http" }],
1534
+ security: [
1535
+ { scheme: "bearer", type: "http" },
1536
+ { scheme: "bearer", type: "http" },
1537
+ ],
1375
1538
  url: "/api/workflows",
1376
1539
  ...options,
1377
1540
  })
@@ -1383,7 +1546,10 @@ export const getWorkflow = <ThrowOnError extends boolean = false>(
1383
1546
  options: Options<GetWorkflowData, ThrowOnError>
1384
1547
  ) =>
1385
1548
  (options.client ?? client).get<GetWorkflowResponses, GetWorkflowErrors, ThrowOnError>({
1386
- security: [{ scheme: "bearer", type: "http" }],
1549
+ security: [
1550
+ { scheme: "bearer", type: "http" },
1551
+ { scheme: "bearer", type: "http" },
1552
+ ],
1387
1553
  url: "/api/workflows/{workflowId}",
1388
1554
  ...options,
1389
1555
  })
@@ -1398,7 +1564,11 @@ export const listWorkflowInterventions = <ThrowOnError extends boolean = false>(
1398
1564
  ListWorkflowInterventionsResponses,
1399
1565
  ListWorkflowInterventionsErrors,
1400
1566
  ThrowOnError
1401
- >({ url: "/api/workflow-interventions", ...options })
1567
+ >({
1568
+ security: [{ scheme: "bearer", type: "http" }],
1569
+ url: "/api/workflow-interventions",
1570
+ ...options,
1571
+ })
1402
1572
 
1403
1573
  /**
1404
1574
  * Get workflow intervention detail
@@ -1410,7 +1580,11 @@ export const getWorkflowIntervention = <ThrowOnError extends boolean = false>(
1410
1580
  GetWorkflowInterventionResponses,
1411
1581
  GetWorkflowInterventionErrors,
1412
1582
  ThrowOnError
1413
- >({ url: "/api/workflow-interventions/{interventionId}", ...options })
1583
+ >({
1584
+ security: [{ scheme: "bearer", type: "http" }],
1585
+ url: "/api/workflow-interventions/{interventionId}",
1586
+ ...options,
1587
+ })
1414
1588
 
1415
1589
  /**
1416
1590
  * Submit a workflow intervention response
@@ -1423,7 +1597,10 @@ export const submitWorkflowIntervention = <ThrowOnError extends boolean = false>
1423
1597
  SubmitWorkflowInterventionErrors,
1424
1598
  ThrowOnError
1425
1599
  >({
1426
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1600
+ security: [
1601
+ { name: "x-sixb-csrf", type: "apiKey" },
1602
+ { scheme: "bearer", type: "http" },
1603
+ ],
1427
1604
  url: "/api/workflow-interventions/{interventionId}/submit",
1428
1605
  ...options,
1429
1606
  headers: {
@@ -1443,7 +1620,10 @@ export const cancelWorkflowIntervention = <ThrowOnError extends boolean = false>
1443
1620
  CancelWorkflowInterventionErrors,
1444
1621
  ThrowOnError
1445
1622
  >({
1446
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1623
+ security: [
1624
+ { name: "x-sixb-csrf", type: "apiKey" },
1625
+ { scheme: "bearer", type: "http" },
1626
+ ],
1447
1627
  url: "/api/workflow-interventions/{interventionId}/cancel",
1448
1628
  ...options,
1449
1629
  headers: {
@@ -1459,7 +1639,10 @@ export const listWorkflowRuns = <ThrowOnError extends boolean = false>(
1459
1639
  options?: Options<ListWorkflowRunsData, ThrowOnError>
1460
1640
  ) =>
1461
1641
  (options?.client ?? client).get<ListWorkflowRunsResponses, ListWorkflowRunsErrors, ThrowOnError>({
1462
- security: [{ scheme: "bearer", type: "http" }],
1642
+ security: [
1643
+ { scheme: "bearer", type: "http" },
1644
+ { scheme: "bearer", type: "http" },
1645
+ ],
1463
1646
  url: "/api/workflow-runs",
1464
1647
  ...options,
1465
1648
  })
@@ -1471,7 +1654,10 @@ export const getWorkflowRun = <ThrowOnError extends boolean = false>(
1471
1654
  options: Options<GetWorkflowRunData, ThrowOnError>
1472
1655
  ) =>
1473
1656
  (options.client ?? client).get<GetWorkflowRunResponses, GetWorkflowRunErrors, ThrowOnError>({
1474
- security: [{ scheme: "bearer", type: "http" }],
1657
+ security: [
1658
+ { scheme: "bearer", type: "http" },
1659
+ { scheme: "bearer", type: "http" },
1660
+ ],
1475
1661
  url: "/api/workflow-runs/{runId}",
1476
1662
  ...options,
1477
1663
  })
@@ -1487,7 +1673,10 @@ export const getWorkflowAgentNodeExecution = <ThrowOnError extends boolean = fal
1487
1673
  GetWorkflowAgentNodeExecutionErrors,
1488
1674
  ThrowOnError
1489
1675
  >({
1490
- security: [{ scheme: "bearer", type: "http" }],
1676
+ security: [
1677
+ { scheme: "bearer", type: "http" },
1678
+ { scheme: "bearer", type: "http" },
1679
+ ],
1491
1680
  url: "/api/workflow-runs/{runId}/nodes/{nodeKey}/agent-execution",
1492
1681
  ...options,
1493
1682
  })
@@ -1506,6 +1695,7 @@ export const cancelWorkflowRun = <ThrowOnError extends boolean = false>(
1506
1695
  security: [
1507
1696
  { name: "x-sixb-csrf", type: "apiKey" },
1508
1697
  { scheme: "bearer", type: "http" },
1698
+ { scheme: "bearer", type: "http" },
1509
1699
  ],
1510
1700
  url: "/api/workflow-runs/{runId}/cancel",
1511
1701
  ...options,
@@ -1526,7 +1716,10 @@ export const getWorkflowRunFileContent = <ThrowOnError extends boolean = false>(
1526
1716
  GetWorkflowRunFileContentErrors,
1527
1717
  ThrowOnError
1528
1718
  >({
1529
- security: [{ scheme: "bearer", type: "http" }],
1719
+ security: [
1720
+ { scheme: "bearer", type: "http" },
1721
+ { scheme: "bearer", type: "http" },
1722
+ ],
1530
1723
  url: "/api/workflow-runs/{runId}/files/content",
1531
1724
  ...options,
1532
1725
  })
@@ -1542,7 +1735,10 @@ export const headWorkflowRunFileContent = <ThrowOnError extends boolean = false>
1542
1735
  HeadWorkflowRunFileContentErrors,
1543
1736
  ThrowOnError
1544
1737
  >({
1545
- security: [{ scheme: "bearer", type: "http" }],
1738
+ security: [
1739
+ { scheme: "bearer", type: "http" },
1740
+ { scheme: "bearer", type: "http" },
1741
+ ],
1546
1742
  url: "/api/workflow-runs/{runId}/files/content",
1547
1743
  ...options,
1548
1744
  })
@@ -1558,7 +1754,10 @@ export const getWorkflowNodeRunFileContent = <ThrowOnError extends boolean = fal
1558
1754
  GetWorkflowNodeRunFileContentErrors,
1559
1755
  ThrowOnError
1560
1756
  >({
1561
- security: [{ scheme: "bearer", type: "http" }],
1757
+ security: [
1758
+ { scheme: "bearer", type: "http" },
1759
+ { scheme: "bearer", type: "http" },
1760
+ ],
1562
1761
  url: "/api/workflow-runs/{runId}/nodes/{nodeKey}/files/content",
1563
1762
  ...options,
1564
1763
  })
@@ -1574,7 +1773,10 @@ export const headWorkflowNodeRunFileContent = <ThrowOnError extends boolean = fa
1574
1773
  HeadWorkflowNodeRunFileContentErrors,
1575
1774
  ThrowOnError
1576
1775
  >({
1577
- security: [{ scheme: "bearer", type: "http" }],
1776
+ security: [
1777
+ { scheme: "bearer", type: "http" },
1778
+ { scheme: "bearer", type: "http" },
1779
+ ],
1578
1780
  url: "/api/workflow-runs/{runId}/nodes/{nodeKey}/files/content",
1579
1781
  ...options,
1580
1782
  })
@@ -1593,6 +1795,7 @@ export const requestWorkflowRun = <ThrowOnError extends boolean = false>(
1593
1795
  security: [
1594
1796
  { name: "x-sixb-csrf", type: "apiKey" },
1595
1797
  { scheme: "bearer", type: "http" },
1798
+ { scheme: "bearer", type: "http" },
1596
1799
  ],
1597
1800
  url: "/api/workflows/{workflowId}/runs",
1598
1801
  ...options,
@@ -1609,6 +1812,7 @@ export const listRules = <ThrowOnError extends boolean = false>(
1609
1812
  options?: Options<ListRulesData, ThrowOnError>
1610
1813
  ) =>
1611
1814
  (options?.client ?? client).get<ListRulesResponses, unknown, ThrowOnError>({
1815
+ security: [{ scheme: "bearer", type: "http" }],
1612
1816
  url: "/api/rules",
1613
1817
  ...options,
1614
1818
  })
@@ -1620,6 +1824,7 @@ export const getRule = <ThrowOnError extends boolean = false>(
1620
1824
  options: Options<GetRuleData, ThrowOnError>
1621
1825
  ) =>
1622
1826
  (options.client ?? client).get<GetRuleResponses, GetRuleErrors, ThrowOnError>({
1827
+ security: [{ scheme: "bearer", type: "http" }],
1623
1828
  url: "/api/rules/{ruleId}",
1624
1829
  ...options,
1625
1830
  })
@@ -1631,6 +1836,7 @@ export const listRuleStates = <ThrowOnError extends boolean = false>(
1631
1836
  options?: Options<ListRuleStatesData, ThrowOnError>
1632
1837
  ) =>
1633
1838
  (options?.client ?? client).get<ListRuleStatesResponses, ListRuleStatesErrors, ThrowOnError>({
1839
+ security: [{ scheme: "bearer", type: "http" }],
1634
1840
  url: "/api/rule-states",
1635
1841
  ...options,
1636
1842
  })
@@ -1646,7 +1852,10 @@ export const listSharedAccessGrants = <ThrowOnError extends boolean = false>(
1646
1852
  ListSharedAccessGrantsErrors,
1647
1853
  ThrowOnError
1648
1854
  >({
1649
- security: [{ scheme: "bearer", type: "http" }],
1855
+ security: [
1856
+ { scheme: "bearer", type: "http" },
1857
+ { scheme: "bearer", type: "http" },
1858
+ ],
1650
1859
  url: "/api/share-grants",
1651
1860
  ...options,
1652
1861
  })
@@ -1665,6 +1874,7 @@ export const issueSharedAccessGrant = <ThrowOnError extends boolean = false>(
1665
1874
  security: [
1666
1875
  { name: "x-sixb-csrf", type: "apiKey" },
1667
1876
  { scheme: "bearer", type: "http" },
1877
+ { scheme: "bearer", type: "http" },
1668
1878
  ],
1669
1879
  url: "/api/share-grants",
1670
1880
  ...options,
@@ -1688,6 +1898,7 @@ export const revokeSharedAccessGrant = <ThrowOnError extends boolean = false>(
1688
1898
  security: [
1689
1899
  { name: "x-sixb-csrf", type: "apiKey" },
1690
1900
  { scheme: "bearer", type: "http" },
1901
+ { scheme: "bearer", type: "http" },
1691
1902
  ],
1692
1903
  url: "/api/share-grants/{grantId}",
1693
1904
  ...options,
@@ -1748,6 +1959,7 @@ export const listObjectTypes = <ThrowOnError extends boolean = false>(
1748
1959
  ) =>
1749
1960
  (options?.client ?? client).get<ListObjectTypesResponses, unknown, ThrowOnError>({
1750
1961
  security: [
1962
+ { scheme: "bearer", type: "http" },
1751
1963
  { scheme: "bearer", type: "http" },
1752
1964
  { name: "x-sixb-share-grant", type: "apiKey" },
1753
1965
  ],
@@ -1763,6 +1975,7 @@ export const getObjectType = <ThrowOnError extends boolean = false>(
1763
1975
  ) =>
1764
1976
  (options.client ?? client).get<GetObjectTypeResponses, GetObjectTypeErrors, ThrowOnError>({
1765
1977
  security: [
1978
+ { scheme: "bearer", type: "http" },
1766
1979
  { scheme: "bearer", type: "http" },
1767
1980
  { name: "x-sixb-share-grant", type: "apiKey" },
1768
1981
  ],
@@ -1778,6 +1991,7 @@ export const searchObjects = <ThrowOnError extends boolean = false>(
1778
1991
  ) =>
1779
1992
  (options.client ?? client).get<SearchObjectsResponses, SearchObjectsErrors, ThrowOnError>({
1780
1993
  security: [
1994
+ { scheme: "bearer", type: "http" },
1781
1995
  { scheme: "bearer", type: "http" },
1782
1996
  { name: "x-sixb-share-grant", type: "apiKey" },
1783
1997
  ],
@@ -1793,6 +2007,7 @@ export const listObjects = <ThrowOnError extends boolean = false>(
1793
2007
  ) =>
1794
2008
  (options?.client ?? client).get<ListObjectsResponses, ListObjectsErrors, ThrowOnError>({
1795
2009
  security: [
2010
+ { scheme: "bearer", type: "http" },
1796
2011
  { scheme: "bearer", type: "http" },
1797
2012
  { name: "x-sixb-share-grant", type: "apiKey" },
1798
2013
  ],
@@ -1810,6 +2025,7 @@ export const queryObjects = <ThrowOnError extends boolean = false>(
1810
2025
  security: [
1811
2026
  { name: "x-sixb-csrf", type: "apiKey" },
1812
2027
  { scheme: "bearer", type: "http" },
2028
+ { scheme: "bearer", type: "http" },
1813
2029
  { name: "x-sixb-share-grant", type: "apiKey" },
1814
2030
  ],
1815
2031
  url: "/api/objects/query",
@@ -1830,6 +2046,7 @@ export const queryObjectLinks = <ThrowOnError extends boolean = false>(
1830
2046
  security: [
1831
2047
  { name: "x-sixb-csrf", type: "apiKey" },
1832
2048
  { scheme: "bearer", type: "http" },
2049
+ { scheme: "bearer", type: "http" },
1833
2050
  { name: "x-sixb-share-grant", type: "apiKey" },
1834
2051
  ],
1835
2052
  url: "/api/objects/query/links",
@@ -1850,6 +2067,7 @@ export const countObjects = <ThrowOnError extends boolean = false>(
1850
2067
  security: [
1851
2068
  { name: "x-sixb-csrf", type: "apiKey" },
1852
2069
  { scheme: "bearer", type: "http" },
2070
+ { scheme: "bearer", type: "http" },
1853
2071
  { name: "x-sixb-share-grant", type: "apiKey" },
1854
2072
  ],
1855
2073
  url: "/api/objects/query/count",
@@ -1870,6 +2088,7 @@ export const existsObjects = <ThrowOnError extends boolean = false>(
1870
2088
  security: [
1871
2089
  { name: "x-sixb-csrf", type: "apiKey" },
1872
2090
  { scheme: "bearer", type: "http" },
2091
+ { scheme: "bearer", type: "http" },
1873
2092
  { name: "x-sixb-share-grant", type: "apiKey" },
1874
2093
  ],
1875
2094
  url: "/api/objects/query/exists",
@@ -1890,6 +2109,7 @@ export const facetObjects = <ThrowOnError extends boolean = false>(
1890
2109
  security: [
1891
2110
  { name: "x-sixb-csrf", type: "apiKey" },
1892
2111
  { scheme: "bearer", type: "http" },
2112
+ { scheme: "bearer", type: "http" },
1893
2113
  { name: "x-sixb-share-grant", type: "apiKey" },
1894
2114
  ],
1895
2115
  url: "/api/objects/query/facets",
@@ -1912,6 +2132,7 @@ export const getObjectFileContent = <ThrowOnError extends boolean = false>(
1912
2132
  ThrowOnError
1913
2133
  >({
1914
2134
  security: [
2135
+ { scheme: "bearer", type: "http" },
1915
2136
  { scheme: "bearer", type: "http" },
1916
2137
  { name: "x-sixb-share-grant", type: "apiKey" },
1917
2138
  ],
@@ -1931,6 +2152,7 @@ export const headObjectFileContent = <ThrowOnError extends boolean = false>(
1931
2152
  ThrowOnError
1932
2153
  >({
1933
2154
  security: [
2155
+ { scheme: "bearer", type: "http" },
1934
2156
  { scheme: "bearer", type: "http" },
1935
2157
  { name: "x-sixb-share-grant", type: "apiKey" },
1936
2158
  ],
@@ -1946,6 +2168,7 @@ export const getObject = <ThrowOnError extends boolean = false>(
1946
2168
  ) =>
1947
2169
  (options.client ?? client).get<GetObjectResponses, GetObjectErrors, ThrowOnError>({
1948
2170
  security: [
2171
+ { scheme: "bearer", type: "http" },
1949
2172
  { scheme: "bearer", type: "http" },
1950
2173
  { name: "x-sixb-share-grant", type: "apiKey" },
1951
2174
  ],
@@ -1963,6 +2186,7 @@ export const upsertObject = <ThrowOnError extends boolean = false>(
1963
2186
  security: [
1964
2187
  { name: "x-sixb-csrf", type: "apiKey" },
1965
2188
  { scheme: "bearer", type: "http" },
2189
+ { scheme: "bearer", type: "http" },
1966
2190
  ],
1967
2191
  url: "/api/objects/{objectTypeId}/{objectId}",
1968
2192
  ...options,
@@ -1980,6 +2204,7 @@ export const listActions = <ThrowOnError extends boolean = false>(
1980
2204
  ) =>
1981
2205
  (options?.client ?? client).get<ListActionsResponses, unknown, ThrowOnError>({
1982
2206
  security: [
2207
+ { scheme: "bearer", type: "http" },
1983
2208
  { scheme: "bearer", type: "http" },
1984
2209
  { name: "x-sixb-share-grant", type: "apiKey" },
1985
2210
  ],
@@ -1995,6 +2220,7 @@ export const getAction = <ThrowOnError extends boolean = false>(
1995
2220
  ) =>
1996
2221
  (options.client ?? client).get<GetActionResponses, GetActionErrors, ThrowOnError>({
1997
2222
  security: [
2223
+ { scheme: "bearer", type: "http" },
1998
2224
  { scheme: "bearer", type: "http" },
1999
2225
  { name: "x-sixb-share-grant", type: "apiKey" },
2000
2226
  ],
@@ -2012,6 +2238,7 @@ export const requestAction = <ThrowOnError extends boolean = false>(
2012
2238
  security: [
2013
2239
  { name: "x-sixb-csrf", type: "apiKey" },
2014
2240
  { scheme: "bearer", type: "http" },
2241
+ { scheme: "bearer", type: "http" },
2015
2242
  { name: "x-sixb-share-grant", type: "apiKey" },
2016
2243
  ],
2017
2244
  url: "/api/actions/{actionId}",
@@ -2033,6 +2260,7 @@ export const uploadFileRaw = <ThrowOnError extends boolean = false>(
2033
2260
  security: [
2034
2261
  { name: "x-sixb-csrf", type: "apiKey" },
2035
2262
  { scheme: "bearer", type: "http" },
2263
+ { scheme: "bearer", type: "http" },
2036
2264
  ],
2037
2265
  url: "/api/files",
2038
2266
  ...options,
@@ -2049,7 +2277,10 @@ export const createFileUpload = <ThrowOnError extends boolean = false>(
2049
2277
  options: Options<CreateFileUploadData, ThrowOnError>
2050
2278
  ) =>
2051
2279
  (options.client ?? client).post<CreateFileUploadResponses, CreateFileUploadErrors, ThrowOnError>({
2052
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2280
+ security: [
2281
+ { name: "x-sixb-csrf", type: "apiKey" },
2282
+ { scheme: "bearer", type: "http" },
2283
+ ],
2053
2284
  url: "/api/files/uploads",
2054
2285
  ...options,
2055
2286
  headers: {
@@ -2067,7 +2298,10 @@ export const uploadFileContent = <ThrowOnError extends boolean = false>(
2067
2298
  (options.client ?? client).put<UploadFileContentResponses, UploadFileContentErrors, ThrowOnError>(
2068
2299
  {
2069
2300
  bodySerializer: null,
2070
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2301
+ security: [
2302
+ { name: "x-sixb-csrf", type: "apiKey" },
2303
+ { scheme: "bearer", type: "http" },
2304
+ ],
2071
2305
  url: "/api/files/uploads/{uploadId}/content",
2072
2306
  ...options,
2073
2307
  headers: {
@@ -2088,7 +2322,10 @@ export const signFileUploadPart = <ThrowOnError extends boolean = false>(
2088
2322
  SignFileUploadPartErrors,
2089
2323
  ThrowOnError
2090
2324
  >({
2091
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2325
+ security: [
2326
+ { name: "x-sixb-csrf", type: "apiKey" },
2327
+ { scheme: "bearer", type: "http" },
2328
+ ],
2092
2329
  url: "/api/files/uploads/{uploadId}/parts/{partNumber}",
2093
2330
  ...options,
2094
2331
  })
@@ -2104,7 +2341,10 @@ export const completeFileUpload = <ThrowOnError extends boolean = false>(
2104
2341
  CompleteFileUploadErrors,
2105
2342
  ThrowOnError
2106
2343
  >({
2107
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2344
+ security: [
2345
+ { name: "x-sixb-csrf", type: "apiKey" },
2346
+ { scheme: "bearer", type: "http" },
2347
+ ],
2108
2348
  url: "/api/files/uploads/{uploadId}/complete",
2109
2349
  ...options,
2110
2350
  headers: {
@@ -2120,7 +2360,10 @@ export const abortFileUpload = <ThrowOnError extends boolean = false>(
2120
2360
  options: Options<AbortFileUploadData, ThrowOnError>
2121
2361
  ) =>
2122
2362
  (options.client ?? client).post<AbortFileUploadResponses, AbortFileUploadErrors, ThrowOnError>({
2123
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2363
+ security: [
2364
+ { name: "x-sixb-csrf", type: "apiKey" },
2365
+ { scheme: "bearer", type: "http" },
2366
+ ],
2124
2367
  url: "/api/files/uploads/{uploadId}/abort",
2125
2368
  ...options,
2126
2369
  })
@@ -2132,7 +2375,10 @@ export const listActionRuns = <ThrowOnError extends boolean = false>(
2132
2375
  options?: Options<ListActionRunsData, ThrowOnError>
2133
2376
  ) =>
2134
2377
  (options?.client ?? client).get<ListActionRunsResponses, ListActionRunsErrors, ThrowOnError>({
2135
- security: [{ scheme: "bearer", type: "http" }],
2378
+ security: [
2379
+ { scheme: "bearer", type: "http" },
2380
+ { scheme: "bearer", type: "http" },
2381
+ ],
2136
2382
  url: "/api/action-runs",
2137
2383
  ...options,
2138
2384
  })
@@ -2145,6 +2391,7 @@ export const getActionRun = <ThrowOnError extends boolean = false>(
2145
2391
  ) =>
2146
2392
  (options.client ?? client).get<GetActionRunResponses, GetActionRunErrors, ThrowOnError>({
2147
2393
  security: [
2394
+ { scheme: "bearer", type: "http" },
2148
2395
  { scheme: "bearer", type: "http" },
2149
2396
  { name: "x-sixb-share-grant", type: "apiKey" },
2150
2397
  ],
@@ -2163,7 +2410,10 @@ export const getActionRunFileContent = <ThrowOnError extends boolean = false>(
2163
2410
  GetActionRunFileContentErrors,
2164
2411
  ThrowOnError
2165
2412
  >({
2166
- security: [{ scheme: "bearer", type: "http" }],
2413
+ security: [
2414
+ { scheme: "bearer", type: "http" },
2415
+ { scheme: "bearer", type: "http" },
2416
+ ],
2167
2417
  url: "/api/action-runs/{runId}/files/content",
2168
2418
  ...options,
2169
2419
  })
@@ -2179,7 +2429,10 @@ export const headActionRunFileContent = <ThrowOnError extends boolean = false>(
2179
2429
  HeadActionRunFileContentErrors,
2180
2430
  ThrowOnError
2181
2431
  >({
2182
- security: [{ scheme: "bearer", type: "http" }],
2432
+ security: [
2433
+ { scheme: "bearer", type: "http" },
2434
+ { scheme: "bearer", type: "http" },
2435
+ ],
2183
2436
  url: "/api/action-runs/{runId}/files/content",
2184
2437
  ...options,
2185
2438
  })
@@ -2191,6 +2444,7 @@ export const getAgent = <ThrowOnError extends boolean = false>(
2191
2444
  options?: Options<GetAgentData, ThrowOnError>
2192
2445
  ) =>
2193
2446
  (options?.client ?? client).get<GetAgentResponses, GetAgentErrors, ThrowOnError>({
2447
+ security: [{ scheme: "bearer", type: "http" }],
2194
2448
  url: "/api/agent",
2195
2449
  ...options,
2196
2450
  })
@@ -2202,6 +2456,7 @@ export const listAgentThreads = <ThrowOnError extends boolean = false>(
2202
2456
  options?: Options<ListAgentThreadsData, ThrowOnError>
2203
2457
  ) =>
2204
2458
  (options?.client ?? client).get<ListAgentThreadsResponses, ListAgentThreadsErrors, ThrowOnError>({
2459
+ security: [{ scheme: "bearer", type: "http" }],
2205
2460
  url: "/api/agent-threads",
2206
2461
  ...options,
2207
2462
  })
@@ -2217,7 +2472,10 @@ export const createAgentThread = <ThrowOnError extends boolean = false>(
2217
2472
  CreateAgentThreadErrors,
2218
2473
  ThrowOnError
2219
2474
  >({
2220
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2475
+ security: [
2476
+ { name: "x-sixb-csrf", type: "apiKey" },
2477
+ { scheme: "bearer", type: "http" },
2478
+ ],
2221
2479
  url: "/api/agent-threads",
2222
2480
  ...options,
2223
2481
  headers: {
@@ -2233,6 +2491,7 @@ export const getAgentThread = <ThrowOnError extends boolean = false>(
2233
2491
  options: Options<GetAgentThreadData, ThrowOnError>
2234
2492
  ) =>
2235
2493
  (options.client ?? client).get<GetAgentThreadResponses, GetAgentThreadErrors, ThrowOnError>({
2494
+ security: [{ scheme: "bearer", type: "http" }],
2236
2495
  url: "/api/agent-threads/{threadId}",
2237
2496
  ...options,
2238
2497
  })
@@ -2248,7 +2507,10 @@ export const recreateAgentThreadSandbox = <ThrowOnError extends boolean = false>
2248
2507
  RecreateAgentThreadSandboxErrors,
2249
2508
  ThrowOnError
2250
2509
  >({
2251
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2510
+ security: [
2511
+ { name: "x-sixb-csrf", type: "apiKey" },
2512
+ { scheme: "bearer", type: "http" },
2513
+ ],
2252
2514
  url: "/api/agent-threads/{threadId}/sandbox/recreate",
2253
2515
  ...options,
2254
2516
  headers: {
@@ -2267,7 +2529,11 @@ export const listAgentThreadMessages = <ThrowOnError extends boolean = false>(
2267
2529
  ListAgentThreadMessagesResponses,
2268
2530
  ListAgentThreadMessagesErrors,
2269
2531
  ThrowOnError
2270
- >({ url: "/api/agent-threads/{threadId}/messages", ...options })
2532
+ >({
2533
+ security: [{ scheme: "bearer", type: "http" }],
2534
+ url: "/api/agent-threads/{threadId}/messages",
2535
+ ...options,
2536
+ })
2271
2537
 
2272
2538
  /**
2273
2539
  * Post an agent thread message
@@ -2280,7 +2546,10 @@ export const postAgentThreadMessage = <ThrowOnError extends boolean = false>(
2280
2546
  PostAgentThreadMessageErrors,
2281
2547
  ThrowOnError
2282
2548
  >({
2283
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2549
+ security: [
2550
+ { name: "x-sixb-csrf", type: "apiKey" },
2551
+ { scheme: "bearer", type: "http" },
2552
+ ],
2284
2553
  url: "/api/agent-threads/{threadId}/messages",
2285
2554
  ...options,
2286
2555
  headers: {
@@ -2300,7 +2569,10 @@ export const getAgentMessageFileContent = <ThrowOnError extends boolean = false>
2300
2569
  GetAgentMessageFileContentErrors,
2301
2570
  ThrowOnError
2302
2571
  >({
2303
- security: [{ scheme: "bearer", type: "http" }],
2572
+ security: [
2573
+ { scheme: "bearer", type: "http" },
2574
+ { scheme: "bearer", type: "http" },
2575
+ ],
2304
2576
  url: "/api/agent-threads/{threadId}/messages/{messageId}/files/content",
2305
2577
  ...options,
2306
2578
  })
@@ -2316,7 +2588,10 @@ export const headAgentMessageFileContent = <ThrowOnError extends boolean = false
2316
2588
  HeadAgentMessageFileContentErrors,
2317
2589
  ThrowOnError
2318
2590
  >({
2319
- security: [{ scheme: "bearer", type: "http" }],
2591
+ security: [
2592
+ { scheme: "bearer", type: "http" },
2593
+ { scheme: "bearer", type: "http" },
2594
+ ],
2320
2595
  url: "/api/agent-threads/{threadId}/messages/{messageId}/files/content",
2321
2596
  ...options,
2322
2597
  })
@@ -2328,7 +2603,10 @@ export const cancelAgentRun = <ThrowOnError extends boolean = false>(
2328
2603
  options: Options<CancelAgentRunData, ThrowOnError>
2329
2604
  ) =>
2330
2605
  (options.client ?? client).post<CancelAgentRunResponses, CancelAgentRunErrors, ThrowOnError>({
2331
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2606
+ security: [
2607
+ { name: "x-sixb-csrf", type: "apiKey" },
2608
+ { scheme: "bearer", type: "http" },
2609
+ ],
2332
2610
  url: "/api/agent-threads/{threadId}/cancel",
2333
2611
  ...options,
2334
2612
  headers: {
@@ -2344,7 +2622,10 @@ export const retryAgentRun = <ThrowOnError extends boolean = false>(
2344
2622
  options: Options<RetryAgentRunData, ThrowOnError>
2345
2623
  ) =>
2346
2624
  (options.client ?? client).post<RetryAgentRunResponses, RetryAgentRunErrors, ThrowOnError>({
2347
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
2625
+ security: [
2626
+ { name: "x-sixb-csrf", type: "apiKey" },
2627
+ { scheme: "bearer", type: "http" },
2628
+ ],
2348
2629
  url: "/api/agent-threads/{threadId}/runs/{runId}/retry",
2349
2630
  ...options,
2350
2631
  })
@@ -2359,7 +2640,11 @@ export const listAgentThreadRuns = <ThrowOnError extends boolean = false>(
2359
2640
  ListAgentThreadRunsResponses,
2360
2641
  ListAgentThreadRunsErrors,
2361
2642
  ThrowOnError
2362
- >({ url: "/api/agent-threads/{threadId}/runs", ...options })
2643
+ >({
2644
+ security: [{ scheme: "bearer", type: "http" }],
2645
+ url: "/api/agent-threads/{threadId}/runs",
2646
+ ...options,
2647
+ })
2363
2648
 
2364
2649
  /**
2365
2650
  * Get agent run
@@ -2368,6 +2653,7 @@ export const getAgentRun = <ThrowOnError extends boolean = false>(
2368
2653
  options: Options<GetAgentRunData, ThrowOnError>
2369
2654
  ) =>
2370
2655
  (options.client ?? client).get<GetAgentRunResponses, GetAgentRunErrors, ThrowOnError>({
2656
+ security: [{ scheme: "bearer", type: "http" }],
2371
2657
  url: "/api/agent-runs/{runId}",
2372
2658
  ...options,
2373
2659
  })
@@ -2379,6 +2665,7 @@ export const listModels = <ThrowOnError extends boolean = false>(
2379
2665
  options?: Options<ListModelsData, ThrowOnError>
2380
2666
  ) =>
2381
2667
  (options?.client ?? client).get<ListModelsResponses, unknown, ThrowOnError>({
2668
+ security: [{ scheme: "bearer", type: "http" }],
2382
2669
  url: "/api/models",
2383
2670
  ...options,
2384
2671
  })
@@ -2397,6 +2684,7 @@ export const removeObjectLink = <ThrowOnError extends boolean = false>(
2397
2684
  security: [
2398
2685
  { name: "x-sixb-csrf", type: "apiKey" },
2399
2686
  { scheme: "bearer", type: "http" },
2687
+ { scheme: "bearer", type: "http" },
2400
2688
  ],
2401
2689
  url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}",
2402
2690
  ...options,
@@ -2412,6 +2700,7 @@ export const upsertObjectLink = <ThrowOnError extends boolean = false>(
2412
2700
  security: [
2413
2701
  { name: "x-sixb-csrf", type: "apiKey" },
2414
2702
  { scheme: "bearer", type: "http" },
2703
+ { scheme: "bearer", type: "http" },
2415
2704
  ],
2416
2705
  url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}",
2417
2706
  ...options,
@@ -2431,6 +2720,7 @@ export const appendTelemetry = <ThrowOnError extends boolean = false>(
2431
2720
  security: [
2432
2721
  { name: "x-sixb-csrf", type: "apiKey" },
2433
2722
  { scheme: "bearer", type: "http" },
2723
+ { scheme: "bearer", type: "http" },
2434
2724
  ],
2435
2725
  url: "/api/objects/{objectTypeId}/{objectId}/telemetry/{propertyId}",
2436
2726
  ...options,
@@ -2454,6 +2744,7 @@ export const getBulkTelemetryHistory = <ThrowOnError extends boolean = false>(
2454
2744
  security: [
2455
2745
  { name: "x-sixb-csrf", type: "apiKey" },
2456
2746
  { scheme: "bearer", type: "http" },
2747
+ { scheme: "bearer", type: "http" },
2457
2748
  { name: "x-sixb-share-grant", type: "apiKey" },
2458
2749
  ],
2459
2750
  url: "/api/telemetry/history",
@@ -2476,6 +2767,7 @@ export const getTelemetryHistory = <ThrowOnError extends boolean = false>(
2476
2767
  ThrowOnError
2477
2768
  >({
2478
2769
  security: [
2770
+ { scheme: "bearer", type: "http" },
2479
2771
  { scheme: "bearer", type: "http" },
2480
2772
  { name: "x-sixb-share-grant", type: "apiKey" },
2481
2773
  ],
@@ -2495,6 +2787,7 @@ export const getLatestTelemetry = <ThrowOnError extends boolean = false>(
2495
2787
  ThrowOnError
2496
2788
  >({
2497
2789
  security: [
2790
+ { scheme: "bearer", type: "http" },
2498
2791
  { scheme: "bearer", type: "http" },
2499
2792
  { name: "x-sixb-share-grant", type: "apiKey" },
2500
2793
  ],
@@ -2509,7 +2802,10 @@ export const listEvents = <ThrowOnError extends boolean = false>(
2509
2802
  options?: Options<ListEventsData, ThrowOnError>
2510
2803
  ) =>
2511
2804
  (options?.client ?? client).get<ListEventsResponses, ListEventsErrors, ThrowOnError>({
2512
- security: [{ scheme: "bearer", type: "http" }],
2805
+ security: [
2806
+ { scheme: "bearer", type: "http" },
2807
+ { scheme: "bearer", type: "http" },
2808
+ ],
2513
2809
  url: "/api/events",
2514
2810
  ...options,
2515
2811
  })
@@ -2521,7 +2817,10 @@ export const listLogs = <ThrowOnError extends boolean = false>(
2521
2817
  options?: Options<ListLogsData, ThrowOnError>
2522
2818
  ) =>
2523
2819
  (options?.client ?? client).get<ListLogsResponses, ListLogsErrors, ThrowOnError>({
2524
- security: [{ scheme: "bearer", type: "http" }],
2820
+ security: [
2821
+ { scheme: "bearer", type: "http" },
2822
+ { scheme: "bearer", type: "http" },
2823
+ ],
2525
2824
  url: "/api/logs",
2526
2825
  ...options,
2527
2826
  })
@@ -2533,6 +2832,7 @@ export const listProjections = <ThrowOnError extends boolean = false>(
2533
2832
  options?: Options<ListProjectionsData, ThrowOnError>
2534
2833
  ) =>
2535
2834
  (options?.client ?? client).get<ListProjectionsResponses, unknown, ThrowOnError>({
2835
+ security: [{ scheme: "bearer", type: "http" }],
2536
2836
  url: "/api/projections",
2537
2837
  ...options,
2538
2838
  })
@@ -2544,6 +2844,7 @@ export const getProjection = <ThrowOnError extends boolean = false>(
2544
2844
  options: Options<GetProjectionData, ThrowOnError>
2545
2845
  ) =>
2546
2846
  (options.client ?? client).get<GetProjectionResponses, GetProjectionErrors, ThrowOnError>({
2847
+ security: [{ scheme: "bearer", type: "http" }],
2547
2848
  url: "/api/projections/{projectionId}",
2548
2849
  ...options,
2549
2850
  })
@@ -2558,7 +2859,11 @@ export const listProjectionRuns = <ThrowOnError extends boolean = false>(
2558
2859
  ListProjectionRunsResponses,
2559
2860
  ListProjectionRunsErrors,
2560
2861
  ThrowOnError
2561
- >({ url: "/api/projection-runs", ...options })
2862
+ >({
2863
+ security: [{ scheme: "bearer", type: "http" }],
2864
+ url: "/api/projection-runs",
2865
+ ...options,
2866
+ })
2562
2867
 
2563
2868
  /**
2564
2869
  * Get a projection run by id
@@ -2567,6 +2872,7 @@ export const getProjectionRun = <ThrowOnError extends boolean = false>(
2567
2872
  options: Options<GetProjectionRunData, ThrowOnError>
2568
2873
  ) =>
2569
2874
  (options.client ?? client).get<GetProjectionRunResponses, GetProjectionRunErrors, ThrowOnError>({
2875
+ security: [{ scheme: "bearer", type: "http" }],
2570
2876
  url: "/api/projection-runs/{runId}",
2571
2877
  ...options,
2572
2878
  })
@@ -2578,6 +2884,7 @@ export const listWebhookRuns = <ThrowOnError extends boolean = false>(
2578
2884
  options?: Options<ListWebhookRunsData, ThrowOnError>
2579
2885
  ) =>
2580
2886
  (options?.client ?? client).get<ListWebhookRunsResponses, ListWebhookRunsErrors, ThrowOnError>({
2887
+ security: [{ scheme: "bearer", type: "http" }],
2581
2888
  url: "/api/webhook-runs",
2582
2889
  ...options,
2583
2890
  })