@sixb/client 0.1.7 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/api.d.ts +5 -0
  2. package/dist/api.d.ts.map +1 -1
  3. package/dist/browser.d.ts +18 -1
  4. package/dist/browser.d.ts.map +1 -1
  5. package/dist/browser.js +201 -56
  6. package/dist/browser.js.map +3 -3
  7. package/dist/{chunk-r8p88mbg.js → chunk-62nthgkf.js} +263 -181
  8. package/dist/chunk-62nthgkf.js.map +19 -0
  9. package/dist/chunk-65zz479s.js +23 -0
  10. package/dist/chunk-65zz479s.js.map +10 -0
  11. package/dist/{chunk-dcebhkmz.js → chunk-6pmyt76w.js} +103 -83
  12. package/dist/chunk-6pmyt76w.js.map +17 -0
  13. package/dist/{chunk-p0xrjaz6.js → chunk-cs98dfbc.js} +20 -20
  14. package/dist/{chunk-p0xrjaz6.js.map → chunk-cs98dfbc.js.map} +2 -2
  15. package/dist/{chunk-h80qj1f8.js → chunk-d0m9gz29.js} +19 -4
  16. package/dist/chunk-d0m9gz29.js.map +10 -0
  17. package/dist/{chunk-m4by7m5r.js → chunk-dp68jpeq.js} +32 -15
  18. package/dist/chunk-dp68jpeq.js.map +12 -0
  19. package/dist/chunk-rvaq39w5.js +215 -0
  20. package/dist/chunk-rvaq39w5.js.map +10 -0
  21. package/dist/{chunk-mpgzkmwc.js → chunk-tyym13kq.js} +10 -10
  22. package/dist/{chunk-mpgzkmwc.js.map → chunk-tyym13kq.js.map} +2 -2
  23. package/dist/client-authority.d.ts +6 -0
  24. package/dist/client-authority.d.ts.map +1 -0
  25. package/dist/connectors/queries.d.ts +8 -0
  26. package/dist/connectors/queries.d.ts.map +1 -1
  27. package/dist/events-builder.d.ts.map +1 -1
  28. package/dist/generated/@tanstack/react-query.gen.d.ts +1195 -135
  29. package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
  30. package/dist/generated/index.d.ts +2 -2
  31. package/dist/generated/index.d.ts.map +1 -1
  32. package/dist/generated/sdk.gen.d.ts +25 -1
  33. package/dist/generated/sdk.gen.d.ts.map +1 -1
  34. package/dist/generated/types.gen.d.ts +501 -3
  35. package/dist/generated/types.gen.d.ts.map +1 -1
  36. package/dist/hooks.js +783 -669
  37. package/dist/hooks.js.map +3 -3
  38. package/dist/index.js +373 -358
  39. package/dist/index.js.map +1 -1
  40. package/dist/logs-builder.d.ts.map +1 -1
  41. package/dist/logs.js +18 -17
  42. package/dist/logs.js.map +1 -1
  43. package/dist/models.js +292 -280
  44. package/dist/models.js.map +1 -1
  45. package/dist/query.js +11 -10
  46. package/dist/query.js.map +1 -1
  47. package/dist/ws-socket.d.ts.map +1 -1
  48. package/package.json +3 -3
  49. package/src/api.ts +92 -3
  50. package/src/browser.ts +257 -48
  51. package/src/client-authority.ts +31 -0
  52. package/src/events-builder.ts +18 -1
  53. package/src/generated/@tanstack/react-query.gen.ts +229 -0
  54. package/src/generated/index.ts +36 -0
  55. package/src/generated/sdk.gen.ts +178 -12
  56. package/src/generated/types.gen.ts +550 -3
  57. package/src/logs-builder.ts +14 -1
  58. package/src/ws-socket.ts +11 -0
  59. package/dist/chunk-b3bfdm80.js +0 -160
  60. package/dist/chunk-b3bfdm80.js.map +0 -10
  61. package/dist/chunk-dcebhkmz.js.map +0 -17
  62. package/dist/chunk-h80qj1f8.js.map +0 -10
  63. package/dist/chunk-m4by7m5r.js.map +0 -12
  64. package/dist/chunk-r8p88mbg.js.map +0 -19
  65. /package/dist/{chunk-trpg18dp.js → chunk-0ka9ykez.js} +0 -0
  66. /package/dist/{chunk-trpg18dp.js.map → chunk-0ka9ykez.js.map} +0 -0
@@ -217,16 +217,16 @@ var serializeArrayParam = ({
217
217
  value
218
218
  }) => {
219
219
  if (!explode) {
220
- const joinedValues2 = (allowReserved ? value : value.map((v) => encodeURIComponent(v))).join(separatorArrayNoExplode(style));
220
+ const joinedValues = (allowReserved ? value : value.map((v) => encodeURIComponent(v))).join(separatorArrayNoExplode(style));
221
221
  switch (style) {
222
222
  case "label":
223
- return `.${joinedValues2}`;
223
+ return `.${joinedValues}`;
224
224
  case "matrix":
225
- return `;${name}=${joinedValues2}`;
225
+ return `;${name}=${joinedValues}`;
226
226
  case "simple":
227
- return joinedValues2;
227
+ return joinedValues;
228
228
  default:
229
- return `${name}=${joinedValues2}`;
229
+ return `${name}=${joinedValues}`;
230
230
  }
231
231
  }
232
232
  const separator = separatorArrayExplode(style);
@@ -271,16 +271,16 @@ var serializeObjectParam = ({
271
271
  Object.entries(value).forEach(([key, v]) => {
272
272
  values = [...values, key, allowReserved ? v : encodeURIComponent(v)];
273
273
  });
274
- const joinedValues2 = values.join(",");
274
+ const joinedValues = values.join(",");
275
275
  switch (style) {
276
276
  case "form":
277
- return `${name}=${joinedValues2}`;
277
+ return `${name}=${joinedValues}`;
278
278
  case "label":
279
- return `.${joinedValues2}`;
279
+ return `.${joinedValues}`;
280
280
  case "matrix":
281
- return `;${name}=${joinedValues2}`;
281
+ return `;${name}=${joinedValues}`;
282
282
  default:
283
- return joinedValues2;
283
+ return joinedValues;
284
284
  }
285
285
  }
286
286
  const separator = separatorObjectExplode(style);
@@ -617,8 +617,8 @@ var createConfig = (override = {}) => ({
617
617
  var createClient = (config = {}) => {
618
618
  let _config = mergeConfigs(createConfig(), config);
619
619
  const getConfig = () => ({ ..._config });
620
- const setConfig = (config2) => {
621
- _config = mergeConfigs(_config, config2);
620
+ const setConfig = (config) => {
621
+ _config = mergeConfigs(_config, config);
622
622
  return getConfig();
623
623
  };
624
624
  const interceptors = createInterceptors();
@@ -655,40 +655,40 @@ var createClient = (config = {}) => {
655
655
  ...opts,
656
656
  body: getValidRequestBody(opts)
657
657
  };
658
- let request2 = new Request(url, requestInit);
658
+ let request = new Request(url, requestInit);
659
659
  for (const fn of interceptors.request.fns) {
660
660
  if (fn) {
661
- request2 = await fn(request2, opts);
661
+ request = await fn(request, opts);
662
662
  }
663
663
  }
664
664
  const _fetch = opts.fetch;
665
665
  let response;
666
666
  try {
667
- response = await _fetch(request2);
668
- } catch (error2) {
669
- let finalError2 = error2;
667
+ response = await _fetch(request);
668
+ } catch (error) {
669
+ let finalError = error;
670
670
  for (const fn of interceptors.error.fns) {
671
671
  if (fn) {
672
- finalError2 = await fn(error2, undefined, request2, opts);
672
+ finalError = await fn(error, undefined, request, opts);
673
673
  }
674
674
  }
675
- finalError2 = finalError2 || {};
675
+ finalError = finalError || {};
676
676
  if (opts.throwOnError) {
677
- throw finalError2;
677
+ throw finalError;
678
678
  }
679
679
  return opts.responseStyle === "data" ? undefined : {
680
- error: finalError2,
681
- request: request2,
680
+ error: finalError,
681
+ request,
682
682
  response: undefined
683
683
  };
684
684
  }
685
685
  for (const fn of interceptors.response.fns) {
686
686
  if (fn) {
687
- response = await fn(response, request2, opts);
687
+ response = await fn(response, request, opts);
688
688
  }
689
689
  }
690
690
  const result = {
691
- request: request2,
691
+ request,
692
692
  response
693
693
  };
694
694
  if (response.ok) {
@@ -758,7 +758,7 @@ var createClient = (config = {}) => {
758
758
  let finalError = error;
759
759
  for (const fn of interceptors.error.fns) {
760
760
  if (fn) {
761
- finalError = await fn(error, response, request2, opts);
761
+ finalError = await fn(error, response, request, opts);
762
762
  }
763
763
  }
764
764
  finalError = finalError || {};
@@ -778,14 +778,14 @@ var createClient = (config = {}) => {
778
778
  body: opts.body,
779
779
  headers: opts.headers,
780
780
  method,
781
- onRequest: async (url2, init) => {
782
- let request2 = new Request(url2, init);
781
+ onRequest: async (url, init) => {
782
+ let request = new Request(url, init);
783
783
  for (const fn of interceptors.request.fns) {
784
784
  if (fn) {
785
- request2 = await fn(request2, opts);
785
+ request = await fn(request, opts);
786
786
  }
787
787
  }
788
- return request2;
788
+ return request;
789
789
  },
790
790
  serializedBody: getValidRequestBody(opts),
791
791
  url
@@ -820,10 +820,10 @@ var createClient = (config = {}) => {
820
820
  };
821
821
  };
822
822
  // src/generated/client.gen.ts
823
- var client = createClient(createConfig());
823
+ var client2 = createClient(createConfig());
824
824
 
825
825
  // src/generated/sdk.gen.ts
826
- var createDeviceAuthorization = (options) => (options.client ?? client).post({
826
+ var createDeviceAuthorization2 = (options) => (options.client ?? client2).post({
827
827
  url: "/api/auth/device-authorizations",
828
828
  ...options,
829
829
  headers: {
@@ -831,7 +831,7 @@ var createDeviceAuthorization = (options) => (options.client ?? client).post({
831
831
  ...options.headers
832
832
  }
833
833
  });
834
- var exchangeDeviceAuthorization = (options) => (options.client ?? client).post({
834
+ var exchangeDeviceAuthorization2 = (options) => (options.client ?? client2).post({
835
835
  url: "/api/auth/device-authorizations/token",
836
836
  ...options,
837
837
  headers: {
@@ -839,40 +839,40 @@ var exchangeDeviceAuthorization = (options) => (options.client ?? client).post({
839
839
  ...options.headers
840
840
  }
841
841
  });
842
- var getAuthSession = (options) => (options?.client ?? client).get({
842
+ var getAuthSession2 = (options) => (options?.client ?? client2).get({
843
843
  url: "/api/auth/session",
844
844
  ...options
845
845
  });
846
- var signOut = (options) => (options?.client ?? client).post({
846
+ var signOut2 = (options) => (options?.client ?? client2).post({
847
847
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
848
848
  url: "/api/auth/sign-out",
849
849
  ...options
850
850
  });
851
- var listAuthSessions = (options) => (options?.client ?? client).get({
851
+ var listAuthSessions2 = (options) => (options?.client ?? client2).get({
852
852
  url: "/api/auth/sessions",
853
853
  ...options
854
854
  });
855
- var revokeAuthSession = (options) => (options.client ?? client).post({
855
+ var revokeAuthSession2 = (options) => (options.client ?? client2).post({
856
856
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
857
857
  url: "/api/auth/sessions/{sessionId}/revoke",
858
858
  ...options
859
859
  });
860
- var signOutAll = (options) => (options?.client ?? client).post({
860
+ var signOutAll2 = (options) => (options?.client ?? client2).post({
861
861
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
862
862
  url: "/api/auth/sign-out-all",
863
863
  ...options
864
864
  });
865
- var getAuthAccessManagementOptions = (options) => (options?.client ?? client).get({
865
+ var getAuthAccessManagementOptions2 = (options) => (options?.client ?? client2).get({
866
866
  security: [{ scheme: "bearer", type: "http" }],
867
867
  url: "/api/auth/access-management-options",
868
868
  ...options
869
869
  });
870
- var listAuthAccessTokens = (options) => (options?.client ?? client).get({
870
+ var listAuthAccessTokens2 = (options) => (options?.client ?? client2).get({
871
871
  security: [{ scheme: "bearer", type: "http" }],
872
872
  url: "/api/auth/access-tokens",
873
873
  ...options
874
874
  });
875
- var createAuthPersonalAccessToken = (options) => (options.client ?? client).post({
875
+ var createAuthPersonalAccessToken2 = (options) => (options.client ?? client2).post({
876
876
  security: [
877
877
  { name: "x-sixb-csrf", type: "apiKey" },
878
878
  { scheme: "bearer", type: "http" }
@@ -884,7 +884,7 @@ var createAuthPersonalAccessToken = (options) => (options.client ?? client).post
884
884
  ...options.headers
885
885
  }
886
886
  });
887
- var revokeAuthAccessToken = (options) => (options.client ?? client).post({
887
+ var revokeAuthAccessToken2 = (options) => (options.client ?? client2).post({
888
888
  security: [
889
889
  { name: "x-sixb-csrf", type: "apiKey" },
890
890
  { scheme: "bearer", type: "http" }
@@ -892,12 +892,12 @@ var revokeAuthAccessToken = (options) => (options.client ?? client).post({
892
892
  url: "/api/auth/access-tokens/{tokenId}/revoke",
893
893
  ...options
894
894
  });
895
- var listAuthServiceAccounts = (options) => (options?.client ?? client).get({
895
+ var listAuthServiceAccounts2 = (options) => (options?.client ?? client2).get({
896
896
  security: [{ scheme: "bearer", type: "http" }],
897
897
  url: "/api/auth/service-accounts",
898
898
  ...options
899
899
  });
900
- var createAuthServiceAccount = (options) => (options.client ?? client).post({
900
+ var createAuthServiceAccount2 = (options) => (options.client ?? client2).post({
901
901
  security: [
902
902
  { name: "x-sixb-csrf", type: "apiKey" },
903
903
  { scheme: "bearer", type: "http" }
@@ -909,7 +909,7 @@ var createAuthServiceAccount = (options) => (options.client ?? client).post({
909
909
  ...options.headers
910
910
  }
911
911
  });
912
- var disableAuthServiceAccount = (options) => (options.client ?? client).post({
912
+ var disableAuthServiceAccount2 = (options) => (options.client ?? client2).post({
913
913
  security: [
914
914
  { name: "x-sixb-csrf", type: "apiKey" },
915
915
  { scheme: "bearer", type: "http" }
@@ -917,12 +917,12 @@ var disableAuthServiceAccount = (options) => (options.client ?? client).post({
917
917
  url: "/api/auth/service-accounts/{serviceAccountId}/disable",
918
918
  ...options
919
919
  });
920
- var listAuthServiceAccountAccessTokens = (options) => (options.client ?? client).get({
920
+ var listAuthServiceAccountAccessTokens2 = (options) => (options.client ?? client2).get({
921
921
  security: [{ scheme: "bearer", type: "http" }],
922
922
  url: "/api/auth/service-accounts/{serviceAccountId}/access-tokens",
923
923
  ...options
924
924
  });
925
- var createAuthServiceAccountAccessToken = (options) => (options.client ?? client).post({
925
+ var createAuthServiceAccountAccessToken2 = (options) => (options.client ?? client2).post({
926
926
  security: [
927
927
  { name: "x-sixb-csrf", type: "apiKey" },
928
928
  { scheme: "bearer", type: "http" }
@@ -934,7 +934,7 @@ var createAuthServiceAccountAccessToken = (options) => (options.client ?? client
934
934
  ...options.headers
935
935
  }
936
936
  });
937
- var revokeAuthServiceAccountAccessToken = (options) => (options.client ?? client).post({
937
+ var revokeAuthServiceAccountAccessToken2 = (options) => (options.client ?? client2).post({
938
938
  security: [
939
939
  { name: "x-sixb-csrf", type: "apiKey" },
940
940
  { scheme: "bearer", type: "http" }
@@ -942,8 +942,8 @@ var revokeAuthServiceAccountAccessToken = (options) => (options.client ?? client
942
942
  url: "/api/auth/service-accounts/{serviceAccountId}/access-tokens/{tokenId}/revoke",
943
943
  ...options
944
944
  });
945
- var listAuthInvitations = (options) => (options?.client ?? client).get({ url: "/api/auth/invitations", ...options });
946
- var createAuthInvitation = (options) => (options.client ?? client).post({
945
+ var listAuthInvitations2 = (options) => (options?.client ?? client2).get({ url: "/api/auth/invitations", ...options });
946
+ var createAuthInvitation2 = (options) => (options.client ?? client2).post({
947
947
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
948
948
  url: "/api/auth/invitations",
949
949
  ...options,
@@ -952,18 +952,18 @@ var createAuthInvitation = (options) => (options.client ?? client).post({
952
952
  ...options.headers
953
953
  }
954
954
  });
955
- var getAuthInvitationOptions = (options) => (options?.client ?? client).get({ url: "/api/auth/invitation-options", ...options });
956
- var revokeAuthInvitation = (options) => (options.client ?? client).post({
955
+ var getAuthInvitationOptions2 = (options) => (options?.client ?? client2).get({ url: "/api/auth/invitation-options", ...options });
956
+ var revokeAuthInvitation2 = (options) => (options.client ?? client2).post({
957
957
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
958
958
  url: "/api/auth/invitations/{invitationId}/revoke",
959
959
  ...options
960
960
  });
961
- var getAuthMembershipOptions = (options) => (options?.client ?? client).get({ url: "/api/auth/membership-options", ...options });
962
- var listAuthMembers = (options) => (options?.client ?? client).get({
961
+ var getAuthMembershipOptions2 = (options) => (options?.client ?? client2).get({ url: "/api/auth/membership-options", ...options });
962
+ var listAuthMembers2 = (options) => (options?.client ?? client2).get({
963
963
  url: "/api/auth/members",
964
964
  ...options
965
965
  });
966
- var updateAuthMemberGroups = (options) => (options.client ?? client).patch({
966
+ var updateAuthMemberGroups2 = (options) => (options.client ?? client2).patch({
967
967
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
968
968
  url: "/api/auth/members/{userId}/groups",
969
969
  ...options,
@@ -972,32 +972,32 @@ var updateAuthMemberGroups = (options) => (options.client ?? client).patch({
972
972
  ...options.headers
973
973
  }
974
974
  });
975
- var suspendAuthMember = (options) => (options.client ?? client).post({
975
+ var suspendAuthMember2 = (options) => (options.client ?? client2).post({
976
976
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
977
977
  url: "/api/auth/members/{userId}/suspend",
978
978
  ...options
979
979
  });
980
- var reactivateAuthMember = (options) => (options.client ?? client).post({
980
+ var reactivateAuthMember2 = (options) => (options.client ?? client2).post({
981
981
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
982
982
  url: "/api/auth/members/{userId}/reactivate",
983
983
  ...options
984
984
  });
985
- var getAiAccountingOverview = (options) => (options.client ?? client).get({
985
+ var getAiAccountingOverview2 = (options) => (options.client ?? client2).get({
986
986
  security: [{ scheme: "bearer", type: "http" }],
987
987
  url: "/api/ai/accounting/overview",
988
988
  ...options
989
989
  });
990
- var listAiModelCalls = (options) => (options.client ?? client).get({
990
+ var listAiModelCalls2 = (options) => (options.client ?? client2).get({
991
991
  security: [{ scheme: "bearer", type: "http" }],
992
992
  url: "/api/ai/model-calls",
993
993
  ...options
994
994
  });
995
- var listAiLimitPolicies = (options) => (options?.client ?? client).get({
995
+ var listAiLimitPolicies2 = (options) => (options?.client ?? client2).get({
996
996
  security: [{ scheme: "bearer", type: "http" }],
997
997
  url: "/api/ai/limits",
998
998
  ...options
999
999
  });
1000
- var createAiLimitPolicy = (options) => (options.client ?? client).post({
1000
+ var createAiLimitPolicy2 = (options) => (options.client ?? client2).post({
1001
1001
  security: [
1002
1002
  { name: "x-sixb-csrf", type: "apiKey" },
1003
1003
  { scheme: "bearer", type: "http" }
@@ -1009,17 +1009,17 @@ var createAiLimitPolicy = (options) => (options.client ?? client).post({
1009
1009
  ...options.headers
1010
1010
  }
1011
1011
  });
1012
- var getAiLimitStatus = (options) => (options?.client ?? client).get({
1012
+ var getAiLimitStatus2 = (options) => (options?.client ?? client2).get({
1013
1013
  security: [{ scheme: "bearer", type: "http" }],
1014
1014
  url: "/api/ai/limits/status",
1015
1015
  ...options
1016
1016
  });
1017
- var getAiLimitSubjectOptions = (options) => (options?.client ?? client).get({
1017
+ var getAiLimitSubjectOptions2 = (options) => (options?.client ?? client2).get({
1018
1018
  security: [{ scheme: "bearer", type: "http" }],
1019
1019
  url: "/api/ai/limits/subjects",
1020
1020
  ...options
1021
1021
  });
1022
- var deleteAiLimitPolicy = (options) => (options.client ?? client).delete({
1022
+ var deleteAiLimitPolicy2 = (options) => (options.client ?? client2).delete({
1023
1023
  security: [
1024
1024
  { name: "x-sixb-csrf", type: "apiKey" },
1025
1025
  { scheme: "bearer", type: "http" }
@@ -1027,7 +1027,7 @@ var deleteAiLimitPolicy = (options) => (options.client ?? client).delete({
1027
1027
  url: "/api/ai/limits/{limitId}",
1028
1028
  ...options
1029
1029
  });
1030
- var updateAiLimitPolicy = (options) => (options.client ?? client).put({
1030
+ var updateAiLimitPolicy2 = (options) => (options.client ?? client2).put({
1031
1031
  security: [
1032
1032
  { name: "x-sixb-csrf", type: "apiKey" },
1033
1033
  { scheme: "bearer", type: "http" }
@@ -1039,40 +1039,40 @@ var updateAiLimitPolicy = (options) => (options.client ?? client).put({
1039
1039
  ...options.headers
1040
1040
  }
1041
1041
  });
1042
- var listAiModelCallGroups = (options) => (options.client ?? client).get({
1042
+ var listAiModelCallGroups2 = (options) => (options.client ?? client2).get({
1043
1043
  security: [{ scheme: "bearer", type: "http" }],
1044
1044
  url: "/api/ai/model-call-groups",
1045
1045
  ...options
1046
1046
  });
1047
- var getProjectInfo = (options) => (options?.client ?? client).get({
1047
+ var getProjectInfo2 = (options) => (options?.client ?? client2).get({
1048
1048
  security: [{ scheme: "bearer", type: "http" }],
1049
1049
  url: "/api/project",
1050
1050
  ...options
1051
1051
  });
1052
- var getStatus = (options) => (options?.client ?? client).get({
1052
+ var getStatus2 = (options) => (options?.client ?? client2).get({
1053
1053
  url: "/api/status",
1054
1054
  ...options
1055
1055
  });
1056
- var listConnectors = (options) => (options?.client ?? client).get({
1056
+ var listConnectors2 = (options) => (options?.client ?? client2).get({
1057
1057
  url: "/api/connectors",
1058
1058
  ...options
1059
1059
  });
1060
- var getConnector = (options) => (options.client ?? client).get({
1060
+ var getConnector2 = (options) => (options.client ?? client2).get({
1061
1061
  url: "/api/connectors/{connectorId}",
1062
1062
  ...options
1063
1063
  });
1064
- var listConnectorConnections = (options) => (options.client ?? client).get({ url: "/api/connectors/{connectorId}/connections", ...options });
1065
- var disconnectConnectorConnection = (options) => (options.client ?? client).delete({
1064
+ var listConnectorConnections2 = (options) => (options.client ?? client2).get({ url: "/api/connectors/{connectorId}/connections", ...options });
1065
+ var disconnectConnectorConnection2 = (options) => (options.client ?? client2).delete({
1066
1066
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1067
1067
  url: "/api/connectors/{connectorId}/connections/{connectionId}",
1068
1068
  ...options
1069
1069
  });
1070
- var revokeConnectorConnection = (options) => (options.client ?? client).post({
1070
+ var revokeConnectorConnection2 = (options) => (options.client ?? client2).post({
1071
1071
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1072
1072
  url: "/api/connectors/{connectorId}/connections/{connectionId}/revoke",
1073
1073
  ...options
1074
1074
  });
1075
- var startConnectorConnectionRun = (options) => (options.client ?? client).post({
1075
+ var startConnectorConnectionRun2 = (options) => (options.client ?? client2).post({
1076
1076
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1077
1077
  url: "/api/connectors/{connectorId}/connection-runs",
1078
1078
  ...options,
@@ -1081,8 +1081,8 @@ var startConnectorConnectionRun = (options) => (options.client ?? client).post({
1081
1081
  ...options.headers
1082
1082
  }
1083
1083
  });
1084
- var getConnectorConnectionRun = (options) => (options.client ?? client).get({ url: "/api/connectors/{connectorId}/connection-runs/{runId}", ...options });
1085
- var addConnectorConnection = (options) => (options.client ?? client).post({
1084
+ var getConnectorConnectionRun2 = (options) => (options.client ?? client2).get({ url: "/api/connectors/{connectorId}/connection-runs/{runId}", ...options });
1085
+ var addConnectorConnection2 = (options) => (options.client ?? client2).post({
1086
1086
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1087
1087
  url: "/api/connectors/{connectorId}/connections/{connectionId}/connection-runs",
1088
1088
  ...options,
@@ -1091,7 +1091,7 @@ var addConnectorConnection = (options) => (options.client ?? client).post({
1091
1091
  ...options.headers
1092
1092
  }
1093
1093
  });
1094
- var selectConnectorConnectionRunAccount = (options) => (options.client ?? client).post({
1094
+ var selectConnectorConnectionRunAccount2 = (options) => (options.client ?? client2).post({
1095
1095
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1096
1096
  url: "/api/connectors/{connectorId}/connection-runs/{runId}/selection",
1097
1097
  ...options,
@@ -1100,7 +1100,7 @@ var selectConnectorConnectionRunAccount = (options) => (options.client ?? client
1100
1100
  ...options.headers
1101
1101
  }
1102
1102
  });
1103
- var reauthorizeConnectorConnection = (options) => (options.client ?? client).post({
1103
+ var reauthorizeConnectorConnection2 = (options) => (options.client ?? client2).post({
1104
1104
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1105
1105
  url: "/api/connectors/{connectorId}/connections/{connectionId}/reauthorize",
1106
1106
  ...options,
@@ -1109,33 +1109,33 @@ var reauthorizeConnectorConnection = (options) => (options.client ?? client).pos
1109
1109
  ...options.headers
1110
1110
  }
1111
1111
  });
1112
- var listDatasets = (options) => (options?.client ?? client).get({
1112
+ var listDatasets2 = (options) => (options?.client ?? client2).get({
1113
1113
  url: "/api/datasets",
1114
1114
  ...options
1115
1115
  });
1116
- var getDataset = (options) => (options.client ?? client).get({
1116
+ var getDataset2 = (options) => (options.client ?? client2).get({
1117
1117
  url: "/api/datasets/{datasetId}",
1118
1118
  ...options
1119
1119
  });
1120
- var listDatasetVersions = (options) => (options.client ?? client).get({ url: "/api/datasets/{datasetId}/versions", ...options });
1121
- var getDatasetVersion = (options) => (options.client ?? client).get({ url: "/api/datasets/{datasetId}/versions/{versionId}", ...options });
1122
- var listDatasetRows = (options) => (options.client ?? client).get({
1120
+ var listDatasetVersions2 = (options) => (options.client ?? client2).get({ url: "/api/datasets/{datasetId}/versions", ...options });
1121
+ var getDatasetVersion2 = (options) => (options.client ?? client2).get({ url: "/api/datasets/{datasetId}/versions/{versionId}", ...options });
1122
+ var listDatasetRows2 = (options) => (options.client ?? client2).get({
1123
1123
  url: "/api/datasets/{datasetId}/rows",
1124
1124
  ...options
1125
1125
  });
1126
- var listSyncs = (options) => (options?.client ?? client).get({
1126
+ var listSyncs2 = (options) => (options?.client ?? client2).get({
1127
1127
  url: "/api/syncs",
1128
1128
  ...options
1129
1129
  });
1130
- var getSync = (options) => (options.client ?? client).get({
1130
+ var getSync2 = (options) => (options.client ?? client2).get({
1131
1131
  url: "/api/syncs/{syncId}",
1132
1132
  ...options
1133
1133
  });
1134
- var listSyncRuns = (options) => (options?.client ?? client).get({
1134
+ var listSyncRuns2 = (options) => (options?.client ?? client2).get({
1135
1135
  url: "/api/sync-runs",
1136
1136
  ...options
1137
1137
  });
1138
- var requestSyncRun = (options) => (options.client ?? client).post({
1138
+ var requestSyncRun2 = (options) => (options.client ?? client2).post({
1139
1139
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1140
1140
  url: "/api/syncs/{syncId}/runs",
1141
1141
  ...options,
@@ -1144,40 +1144,40 @@ var requestSyncRun = (options) => (options.client ?? client).post({
1144
1144
  ...options.headers
1145
1145
  }
1146
1146
  });
1147
- var listPipelines = (options) => (options?.client ?? client).get({
1147
+ var listPipelines2 = (options) => (options?.client ?? client2).get({
1148
1148
  url: "/api/pipelines",
1149
1149
  ...options
1150
1150
  });
1151
- var getPipeline = (options) => (options.client ?? client).get({
1151
+ var getPipeline2 = (options) => (options.client ?? client2).get({
1152
1152
  url: "/api/pipelines/{pipelineId}",
1153
1153
  ...options
1154
1154
  });
1155
- var listPipelineRuns = (options) => (options?.client ?? client).get({
1155
+ var listPipelineRuns2 = (options) => (options?.client ?? client2).get({
1156
1156
  url: "/api/pipeline-runs",
1157
1157
  ...options
1158
1158
  });
1159
- var getPipelineRun = (options) => (options.client ?? client).get({
1159
+ var getPipelineRun2 = (options) => (options.client ?? client2).get({
1160
1160
  url: "/api/pipeline-runs/{runId}",
1161
1161
  ...options
1162
1162
  });
1163
- var requestPipelineRun = (options) => (options.client ?? client).post({
1163
+ var requestPipelineRun2 = (options) => (options.client ?? client2).post({
1164
1164
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1165
1165
  url: "/api/pipelines/{pipelineId}/runs",
1166
1166
  ...options
1167
1167
  });
1168
- var listWorkflows = (options) => (options?.client ?? client).get({
1168
+ var listWorkflows2 = (options) => (options?.client ?? client2).get({
1169
1169
  security: [{ scheme: "bearer", type: "http" }],
1170
1170
  url: "/api/workflows",
1171
1171
  ...options
1172
1172
  });
1173
- var getWorkflow = (options) => (options.client ?? client).get({
1173
+ var getWorkflow2 = (options) => (options.client ?? client2).get({
1174
1174
  security: [{ scheme: "bearer", type: "http" }],
1175
1175
  url: "/api/workflows/{workflowId}",
1176
1176
  ...options
1177
1177
  });
1178
- var listWorkflowInterventions = (options) => (options?.client ?? client).get({ url: "/api/workflow-interventions", ...options });
1179
- var getWorkflowIntervention = (options) => (options.client ?? client).get({ url: "/api/workflow-interventions/{interventionId}", ...options });
1180
- var submitWorkflowIntervention = (options) => (options.client ?? client).post({
1178
+ var listWorkflowInterventions2 = (options) => (options?.client ?? client2).get({ url: "/api/workflow-interventions", ...options });
1179
+ var getWorkflowIntervention2 = (options) => (options.client ?? client2).get({ url: "/api/workflow-interventions/{interventionId}", ...options });
1180
+ var submitWorkflowIntervention2 = (options) => (options.client ?? client2).post({
1181
1181
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1182
1182
  url: "/api/workflow-interventions/{interventionId}/submit",
1183
1183
  ...options,
@@ -1186,7 +1186,7 @@ var submitWorkflowIntervention = (options) => (options.client ?? client).post({
1186
1186
  ...options.headers
1187
1187
  }
1188
1188
  });
1189
- var cancelWorkflowIntervention = (options) => (options.client ?? client).post({
1189
+ var cancelWorkflowIntervention2 = (options) => (options.client ?? client2).post({
1190
1190
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1191
1191
  url: "/api/workflow-interventions/{interventionId}/cancel",
1192
1192
  ...options,
@@ -1195,22 +1195,22 @@ var cancelWorkflowIntervention = (options) => (options.client ?? client).post({
1195
1195
  ...options.headers
1196
1196
  }
1197
1197
  });
1198
- var listWorkflowRuns = (options) => (options?.client ?? client).get({
1198
+ var listWorkflowRuns2 = (options) => (options?.client ?? client2).get({
1199
1199
  security: [{ scheme: "bearer", type: "http" }],
1200
1200
  url: "/api/workflow-runs",
1201
1201
  ...options
1202
1202
  });
1203
- var getWorkflowRun = (options) => (options.client ?? client).get({
1203
+ var getWorkflowRun2 = (options) => (options.client ?? client2).get({
1204
1204
  security: [{ scheme: "bearer", type: "http" }],
1205
1205
  url: "/api/workflow-runs/{runId}",
1206
1206
  ...options
1207
1207
  });
1208
- var getWorkflowAgentNodeExecution = (options) => (options.client ?? client).get({
1208
+ var getWorkflowAgentNodeExecution2 = (options) => (options.client ?? client2).get({
1209
1209
  security: [{ scheme: "bearer", type: "http" }],
1210
1210
  url: "/api/workflow-runs/{runId}/nodes/{nodeKey}/agent-execution",
1211
1211
  ...options
1212
1212
  });
1213
- var cancelWorkflowRun = (options) => (options.client ?? client).post({
1213
+ var cancelWorkflowRun2 = (options) => (options.client ?? client2).post({
1214
1214
  security: [
1215
1215
  { name: "x-sixb-csrf", type: "apiKey" },
1216
1216
  { scheme: "bearer", type: "http" }
@@ -1222,27 +1222,27 @@ var cancelWorkflowRun = (options) => (options.client ?? client).post({
1222
1222
  ...options.headers
1223
1223
  }
1224
1224
  });
1225
- var getWorkflowRunFileContent = (options) => (options.client ?? client).get({
1225
+ var getWorkflowRunFileContent2 = (options) => (options.client ?? client2).get({
1226
1226
  security: [{ scheme: "bearer", type: "http" }],
1227
1227
  url: "/api/workflow-runs/{runId}/files/content",
1228
1228
  ...options
1229
1229
  });
1230
- var headWorkflowRunFileContent = (options) => (options.client ?? client).head({
1230
+ var headWorkflowRunFileContent2 = (options) => (options.client ?? client2).head({
1231
1231
  security: [{ scheme: "bearer", type: "http" }],
1232
1232
  url: "/api/workflow-runs/{runId}/files/content",
1233
1233
  ...options
1234
1234
  });
1235
- var getWorkflowNodeRunFileContent = (options) => (options.client ?? client).get({
1235
+ var getWorkflowNodeRunFileContent2 = (options) => (options.client ?? client2).get({
1236
1236
  security: [{ scheme: "bearer", type: "http" }],
1237
1237
  url: "/api/workflow-runs/{runId}/nodes/{nodeKey}/files/content",
1238
1238
  ...options
1239
1239
  });
1240
- var headWorkflowNodeRunFileContent = (options) => (options.client ?? client).head({
1240
+ var headWorkflowNodeRunFileContent2 = (options) => (options.client ?? client2).head({
1241
1241
  security: [{ scheme: "bearer", type: "http" }],
1242
1242
  url: "/api/workflow-runs/{runId}/nodes/{nodeKey}/files/content",
1243
1243
  ...options
1244
1244
  });
1245
- var requestWorkflowRun = (options) => (options.client ?? client).post({
1245
+ var requestWorkflowRun2 = (options) => (options.client ?? client2).post({
1246
1246
  security: [
1247
1247
  { name: "x-sixb-csrf", type: "apiKey" },
1248
1248
  { scheme: "bearer", type: "http" }
@@ -1254,42 +1254,94 @@ var requestWorkflowRun = (options) => (options.client ?? client).post({
1254
1254
  ...options.headers
1255
1255
  }
1256
1256
  });
1257
- var listRules = (options) => (options?.client ?? client).get({
1257
+ var listRules2 = (options) => (options?.client ?? client2).get({
1258
1258
  url: "/api/rules",
1259
1259
  ...options
1260
1260
  });
1261
- var getRule = (options) => (options.client ?? client).get({
1261
+ var getRule2 = (options) => (options.client ?? client2).get({
1262
1262
  url: "/api/rules/{ruleId}",
1263
1263
  ...options
1264
1264
  });
1265
- var listRuleStates = (options) => (options?.client ?? client).get({
1265
+ var listRuleStates2 = (options) => (options?.client ?? client2).get({
1266
1266
  url: "/api/rule-states",
1267
1267
  ...options
1268
1268
  });
1269
- var listObjectTypes = (options) => (options?.client ?? client).get({
1269
+ var listSharedAccessGrants2 = (options) => (options.client ?? client2).get({
1270
1270
  security: [{ scheme: "bearer", type: "http" }],
1271
+ url: "/api/share-grants",
1272
+ ...options
1273
+ });
1274
+ var issueSharedAccessGrant2 = (options) => (options.client ?? client2).post({
1275
+ security: [
1276
+ { name: "x-sixb-csrf", type: "apiKey" },
1277
+ { scheme: "bearer", type: "http" }
1278
+ ],
1279
+ url: "/api/share-grants",
1280
+ ...options,
1281
+ headers: {
1282
+ "Content-Type": "application/json",
1283
+ ...options.headers
1284
+ }
1285
+ });
1286
+ var revokeSharedAccessGrant2 = (options) => (options.client ?? client2).delete({
1287
+ security: [
1288
+ { name: "x-sixb-csrf", type: "apiKey" },
1289
+ { scheme: "bearer", type: "http" }
1290
+ ],
1291
+ url: "/api/share-grants/{grantId}",
1292
+ ...options
1293
+ });
1294
+ var exchangeSharedAccess2 = (options) => (options.client ?? client2).post({
1295
+ url: "/api/shared-access/{grantId}/exchange",
1296
+ ...options,
1297
+ headers: {
1298
+ "Content-Type": "application/json",
1299
+ ...options.headers
1300
+ }
1301
+ });
1302
+ var getSharedAccessSession2 = (options) => (options.client ?? client2).get({ url: "/api/shared-access/{grantId}/session", ...options });
1303
+ var signOutSharedAccess2 = (options) => (options.client ?? client2).post({
1304
+ security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1305
+ url: "/api/shared-access/{grantId}/sign-out",
1306
+ ...options
1307
+ });
1308
+ var listObjectTypes2 = (options) => (options?.client ?? client2).get({
1309
+ security: [
1310
+ { scheme: "bearer", type: "http" },
1311
+ { name: "x-sixb-share-grant", type: "apiKey" }
1312
+ ],
1271
1313
  url: "/api/object-types",
1272
1314
  ...options
1273
1315
  });
1274
- var getObjectType = (options) => (options.client ?? client).get({
1275
- security: [{ scheme: "bearer", type: "http" }],
1316
+ var getObjectType2 = (options) => (options.client ?? client2).get({
1317
+ security: [
1318
+ { scheme: "bearer", type: "http" },
1319
+ { name: "x-sixb-share-grant", type: "apiKey" }
1320
+ ],
1276
1321
  url: "/api/object-types/{objectTypeId}",
1277
1322
  ...options
1278
1323
  });
1279
- var searchObjects = (options) => (options.client ?? client).get({
1280
- security: [{ scheme: "bearer", type: "http" }],
1324
+ var searchObjects2 = (options) => (options.client ?? client2).get({
1325
+ security: [
1326
+ { scheme: "bearer", type: "http" },
1327
+ { name: "x-sixb-share-grant", type: "apiKey" }
1328
+ ],
1281
1329
  url: "/api/objects/search",
1282
1330
  ...options
1283
1331
  });
1284
- var listObjects = (options) => (options?.client ?? client).get({
1285
- security: [{ scheme: "bearer", type: "http" }],
1332
+ var listObjects2 = (options) => (options?.client ?? client2).get({
1333
+ security: [
1334
+ { scheme: "bearer", type: "http" },
1335
+ { name: "x-sixb-share-grant", type: "apiKey" }
1336
+ ],
1286
1337
  url: "/api/objects",
1287
1338
  ...options
1288
1339
  });
1289
- var queryObjects = (options) => (options.client ?? client).post({
1340
+ var queryObjects2 = (options) => (options.client ?? client2).post({
1290
1341
  security: [
1291
1342
  { name: "x-sixb-csrf", type: "apiKey" },
1292
- { scheme: "bearer", type: "http" }
1343
+ { scheme: "bearer", type: "http" },
1344
+ { name: "x-sixb-share-grant", type: "apiKey" }
1293
1345
  ],
1294
1346
  url: "/api/objects/query",
1295
1347
  ...options,
@@ -1298,10 +1350,11 @@ var queryObjects = (options) => (options.client ?? client).post({
1298
1350
  ...options.headers
1299
1351
  }
1300
1352
  });
1301
- var queryObjectLinks = (options) => (options.client ?? client).post({
1353
+ var queryObjectLinks2 = (options) => (options.client ?? client2).post({
1302
1354
  security: [
1303
1355
  { name: "x-sixb-csrf", type: "apiKey" },
1304
- { scheme: "bearer", type: "http" }
1356
+ { scheme: "bearer", type: "http" },
1357
+ { name: "x-sixb-share-grant", type: "apiKey" }
1305
1358
  ],
1306
1359
  url: "/api/objects/query/links",
1307
1360
  ...options,
@@ -1310,10 +1363,11 @@ var queryObjectLinks = (options) => (options.client ?? client).post({
1310
1363
  ...options.headers
1311
1364
  }
1312
1365
  });
1313
- var countObjects = (options) => (options.client ?? client).post({
1366
+ var countObjects2 = (options) => (options.client ?? client2).post({
1314
1367
  security: [
1315
1368
  { name: "x-sixb-csrf", type: "apiKey" },
1316
- { scheme: "bearer", type: "http" }
1369
+ { scheme: "bearer", type: "http" },
1370
+ { name: "x-sixb-share-grant", type: "apiKey" }
1317
1371
  ],
1318
1372
  url: "/api/objects/query/count",
1319
1373
  ...options,
@@ -1322,10 +1376,11 @@ var countObjects = (options) => (options.client ?? client).post({
1322
1376
  ...options.headers
1323
1377
  }
1324
1378
  });
1325
- var existsObjects = (options) => (options.client ?? client).post({
1379
+ var existsObjects2 = (options) => (options.client ?? client2).post({
1326
1380
  security: [
1327
1381
  { name: "x-sixb-csrf", type: "apiKey" },
1328
- { scheme: "bearer", type: "http" }
1382
+ { scheme: "bearer", type: "http" },
1383
+ { name: "x-sixb-share-grant", type: "apiKey" }
1329
1384
  ],
1330
1385
  url: "/api/objects/query/exists",
1331
1386
  ...options,
@@ -1334,10 +1389,11 @@ var existsObjects = (options) => (options.client ?? client).post({
1334
1389
  ...options.headers
1335
1390
  }
1336
1391
  });
1337
- var facetObjects = (options) => (options.client ?? client).post({
1392
+ var facetObjects2 = (options) => (options.client ?? client2).post({
1338
1393
  security: [
1339
1394
  { name: "x-sixb-csrf", type: "apiKey" },
1340
- { scheme: "bearer", type: "http" }
1395
+ { scheme: "bearer", type: "http" },
1396
+ { name: "x-sixb-share-grant", type: "apiKey" }
1341
1397
  ],
1342
1398
  url: "/api/objects/query/facets",
1343
1399
  ...options,
@@ -1346,22 +1402,31 @@ var facetObjects = (options) => (options.client ?? client).post({
1346
1402
  ...options.headers
1347
1403
  }
1348
1404
  });
1349
- var getObjectFileContent = (options) => (options.client ?? client).get({
1350
- security: [{ scheme: "bearer", type: "http" }],
1405
+ var getObjectFileContent2 = (options) => (options.client ?? client2).get({
1406
+ security: [
1407
+ { scheme: "bearer", type: "http" },
1408
+ { name: "x-sixb-share-grant", type: "apiKey" }
1409
+ ],
1351
1410
  url: "/api/objects/{objectTypeId}/{objectId}/files/content",
1352
1411
  ...options
1353
1412
  });
1354
- var headObjectFileContent = (options) => (options.client ?? client).head({
1355
- security: [{ scheme: "bearer", type: "http" }],
1413
+ var headObjectFileContent2 = (options) => (options.client ?? client2).head({
1414
+ security: [
1415
+ { scheme: "bearer", type: "http" },
1416
+ { name: "x-sixb-share-grant", type: "apiKey" }
1417
+ ],
1356
1418
  url: "/api/objects/{objectTypeId}/{objectId}/files/content",
1357
1419
  ...options
1358
1420
  });
1359
- var getObject = (options) => (options.client ?? client).get({
1360
- security: [{ scheme: "bearer", type: "http" }],
1421
+ var getObject2 = (options) => (options.client ?? client2).get({
1422
+ security: [
1423
+ { scheme: "bearer", type: "http" },
1424
+ { name: "x-sixb-share-grant", type: "apiKey" }
1425
+ ],
1361
1426
  url: "/api/objects/{objectTypeId}/{objectId}",
1362
1427
  ...options
1363
1428
  });
1364
- var upsertObject = (options) => (options.client ?? client).put({
1429
+ var upsertObject2 = (options) => (options.client ?? client2).put({
1365
1430
  security: [
1366
1431
  { name: "x-sixb-csrf", type: "apiKey" },
1367
1432
  { scheme: "bearer", type: "http" }
@@ -1373,20 +1438,27 @@ var upsertObject = (options) => (options.client ?? client).put({
1373
1438
  ...options.headers
1374
1439
  }
1375
1440
  });
1376
- var listActions = (options) => (options?.client ?? client).get({
1377
- security: [{ scheme: "bearer", type: "http" }],
1441
+ var listActions2 = (options) => (options?.client ?? client2).get({
1442
+ security: [
1443
+ { scheme: "bearer", type: "http" },
1444
+ { name: "x-sixb-share-grant", type: "apiKey" }
1445
+ ],
1378
1446
  url: "/api/actions",
1379
1447
  ...options
1380
1448
  });
1381
- var getAction = (options) => (options.client ?? client).get({
1382
- security: [{ scheme: "bearer", type: "http" }],
1449
+ var getAction2 = (options) => (options.client ?? client2).get({
1450
+ security: [
1451
+ { scheme: "bearer", type: "http" },
1452
+ { name: "x-sixb-share-grant", type: "apiKey" }
1453
+ ],
1383
1454
  url: "/api/actions/{actionId}",
1384
1455
  ...options
1385
1456
  });
1386
- var requestAction = (options) => (options.client ?? client).post({
1457
+ var requestAction2 = (options) => (options.client ?? client2).post({
1387
1458
  security: [
1388
1459
  { name: "x-sixb-csrf", type: "apiKey" },
1389
- { scheme: "bearer", type: "http" }
1460
+ { scheme: "bearer", type: "http" },
1461
+ { name: "x-sixb-share-grant", type: "apiKey" }
1390
1462
  ],
1391
1463
  url: "/api/actions/{actionId}",
1392
1464
  ...options,
@@ -1395,7 +1467,7 @@ var requestAction = (options) => (options.client ?? client).post({
1395
1467
  ...options.headers
1396
1468
  }
1397
1469
  });
1398
- var uploadFileRaw = (options) => (options.client ?? client).post({
1470
+ var uploadFileRaw2 = (options) => (options.client ?? client2).post({
1399
1471
  ...formDataBodySerializer,
1400
1472
  security: [
1401
1473
  { name: "x-sixb-csrf", type: "apiKey" },
@@ -1408,7 +1480,7 @@ var uploadFileRaw = (options) => (options.client ?? client).post({
1408
1480
  ...options.headers
1409
1481
  }
1410
1482
  });
1411
- var createFileUpload = (options) => (options.client ?? client).post({
1483
+ var createFileUpload2 = (options) => (options.client ?? client2).post({
1412
1484
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1413
1485
  url: "/api/files/uploads",
1414
1486
  ...options,
@@ -1417,7 +1489,7 @@ var createFileUpload = (options) => (options.client ?? client).post({
1417
1489
  ...options.headers
1418
1490
  }
1419
1491
  });
1420
- var uploadFileContent = (options) => (options.client ?? client).put({
1492
+ var uploadFileContent2 = (options) => (options.client ?? client2).put({
1421
1493
  bodySerializer: null,
1422
1494
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1423
1495
  url: "/api/files/uploads/{uploadId}/content",
@@ -1427,12 +1499,12 @@ var uploadFileContent = (options) => (options.client ?? client).put({
1427
1499
  ...options.headers
1428
1500
  }
1429
1501
  });
1430
- var signFileUploadPart = (options) => (options.client ?? client).post({
1502
+ var signFileUploadPart2 = (options) => (options.client ?? client2).post({
1431
1503
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1432
1504
  url: "/api/files/uploads/{uploadId}/parts/{partNumber}",
1433
1505
  ...options
1434
1506
  });
1435
- var completeFileUpload = (options) => (options.client ?? client).post({
1507
+ var completeFileUpload2 = (options) => (options.client ?? client2).post({
1436
1508
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1437
1509
  url: "/api/files/uploads/{uploadId}/complete",
1438
1510
  ...options,
@@ -1441,40 +1513,43 @@ var completeFileUpload = (options) => (options.client ?? client).post({
1441
1513
  ...options.headers
1442
1514
  }
1443
1515
  });
1444
- var abortFileUpload = (options) => (options.client ?? client).post({
1516
+ var abortFileUpload2 = (options) => (options.client ?? client2).post({
1445
1517
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1446
1518
  url: "/api/files/uploads/{uploadId}/abort",
1447
1519
  ...options
1448
1520
  });
1449
- var listActionRuns = (options) => (options?.client ?? client).get({
1521
+ var listActionRuns2 = (options) => (options?.client ?? client2).get({
1450
1522
  security: [{ scheme: "bearer", type: "http" }],
1451
1523
  url: "/api/action-runs",
1452
1524
  ...options
1453
1525
  });
1454
- var getActionRun = (options) => (options.client ?? client).get({
1455
- security: [{ scheme: "bearer", type: "http" }],
1526
+ var getActionRun2 = (options) => (options.client ?? client2).get({
1527
+ security: [
1528
+ { scheme: "bearer", type: "http" },
1529
+ { name: "x-sixb-share-grant", type: "apiKey" }
1530
+ ],
1456
1531
  url: "/api/action-runs/{runId}",
1457
1532
  ...options
1458
1533
  });
1459
- var getActionRunFileContent = (options) => (options.client ?? client).get({
1534
+ var getActionRunFileContent2 = (options) => (options.client ?? client2).get({
1460
1535
  security: [{ scheme: "bearer", type: "http" }],
1461
1536
  url: "/api/action-runs/{runId}/files/content",
1462
1537
  ...options
1463
1538
  });
1464
- var headActionRunFileContent = (options) => (options.client ?? client).head({
1539
+ var headActionRunFileContent2 = (options) => (options.client ?? client2).head({
1465
1540
  security: [{ scheme: "bearer", type: "http" }],
1466
1541
  url: "/api/action-runs/{runId}/files/content",
1467
1542
  ...options
1468
1543
  });
1469
- var getAgent = (options) => (options?.client ?? client).get({
1544
+ var getAgent2 = (options) => (options?.client ?? client2).get({
1470
1545
  url: "/api/agent",
1471
1546
  ...options
1472
1547
  });
1473
- var listAgentThreads = (options) => (options?.client ?? client).get({
1548
+ var listAgentThreads2 = (options) => (options?.client ?? client2).get({
1474
1549
  url: "/api/agent-threads",
1475
1550
  ...options
1476
1551
  });
1477
- var createAgentThread = (options) => (options.client ?? client).post({
1552
+ var createAgentThread2 = (options) => (options.client ?? client2).post({
1478
1553
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1479
1554
  url: "/api/agent-threads",
1480
1555
  ...options,
@@ -1483,12 +1558,12 @@ var createAgentThread = (options) => (options.client ?? client).post({
1483
1558
  ...options.headers
1484
1559
  }
1485
1560
  });
1486
- var getAgentThread = (options) => (options.client ?? client).get({
1561
+ var getAgentThread2 = (options) => (options.client ?? client2).get({
1487
1562
  url: "/api/agent-threads/{threadId}",
1488
1563
  ...options
1489
1564
  });
1490
- var listAgentThreadMessages = (options) => (options.client ?? client).get({ url: "/api/agent-threads/{threadId}/messages", ...options });
1491
- var postAgentThreadMessage = (options) => (options.client ?? client).post({
1565
+ var listAgentThreadMessages2 = (options) => (options.client ?? client2).get({ url: "/api/agent-threads/{threadId}/messages", ...options });
1566
+ var postAgentThreadMessage2 = (options) => (options.client ?? client2).post({
1492
1567
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1493
1568
  url: "/api/agent-threads/{threadId}/messages",
1494
1569
  ...options,
@@ -1497,17 +1572,17 @@ var postAgentThreadMessage = (options) => (options.client ?? client).post({
1497
1572
  ...options.headers
1498
1573
  }
1499
1574
  });
1500
- var getAgentMessageFileContent = (options) => (options.client ?? client).get({
1575
+ var getAgentMessageFileContent2 = (options) => (options.client ?? client2).get({
1501
1576
  security: [{ scheme: "bearer", type: "http" }],
1502
1577
  url: "/api/agent-threads/{threadId}/messages/{messageId}/files/content",
1503
1578
  ...options
1504
1579
  });
1505
- var headAgentMessageFileContent = (options) => (options.client ?? client).head({
1580
+ var headAgentMessageFileContent2 = (options) => (options.client ?? client2).head({
1506
1581
  security: [{ scheme: "bearer", type: "http" }],
1507
1582
  url: "/api/agent-threads/{threadId}/messages/{messageId}/files/content",
1508
1583
  ...options
1509
1584
  });
1510
- var cancelAgentRun = (options) => (options.client ?? client).post({
1585
+ var cancelAgentRun2 = (options) => (options.client ?? client2).post({
1511
1586
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1512
1587
  url: "/api/agent-threads/{threadId}/cancel",
1513
1588
  ...options,
@@ -1516,21 +1591,21 @@ var cancelAgentRun = (options) => (options.client ?? client).post({
1516
1591
  ...options.headers
1517
1592
  }
1518
1593
  });
1519
- var retryAgentRun = (options) => (options.client ?? client).post({
1594
+ var retryAgentRun2 = (options) => (options.client ?? client2).post({
1520
1595
  security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1521
1596
  url: "/api/agent-threads/{threadId}/runs/{runId}/retry",
1522
1597
  ...options
1523
1598
  });
1524
- var listAgentThreadRuns = (options) => (options.client ?? client).get({ url: "/api/agent-threads/{threadId}/runs", ...options });
1525
- var getAgentRun = (options) => (options.client ?? client).get({
1599
+ var listAgentThreadRuns2 = (options) => (options.client ?? client2).get({ url: "/api/agent-threads/{threadId}/runs", ...options });
1600
+ var getAgentRun2 = (options) => (options.client ?? client2).get({
1526
1601
  url: "/api/agent-runs/{runId}",
1527
1602
  ...options
1528
1603
  });
1529
- var listModels = (options) => (options?.client ?? client).get({
1604
+ var listModels2 = (options) => (options?.client ?? client2).get({
1530
1605
  url: "/api/models",
1531
1606
  ...options
1532
1607
  });
1533
- var removeObjectLink = (options) => (options.client ?? client).delete({
1608
+ var removeObjectLink2 = (options) => (options.client ?? client2).delete({
1534
1609
  security: [
1535
1610
  { name: "x-sixb-csrf", type: "apiKey" },
1536
1611
  { scheme: "bearer", type: "http" }
@@ -1538,7 +1613,7 @@ var removeObjectLink = (options) => (options.client ?? client).delete({
1538
1613
  url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}",
1539
1614
  ...options
1540
1615
  });
1541
- var upsertObjectLink = (options) => (options.client ?? client).put({
1616
+ var upsertObjectLink2 = (options) => (options.client ?? client2).put({
1542
1617
  security: [
1543
1618
  { name: "x-sixb-csrf", type: "apiKey" },
1544
1619
  { scheme: "bearer", type: "http" }
@@ -1550,7 +1625,7 @@ var upsertObjectLink = (options) => (options.client ?? client).put({
1550
1625
  ...options.headers
1551
1626
  }
1552
1627
  });
1553
- var appendTelemetry = (options) => (options.client ?? client).post({
1628
+ var appendTelemetry2 = (options) => (options.client ?? client2).post({
1554
1629
  security: [
1555
1630
  { name: "x-sixb-csrf", type: "apiKey" },
1556
1631
  { scheme: "bearer", type: "http" }
@@ -1562,10 +1637,11 @@ var appendTelemetry = (options) => (options.client ?? client).post({
1562
1637
  ...options.headers
1563
1638
  }
1564
1639
  });
1565
- var getBulkTelemetryHistory = (options) => (options.client ?? client).post({
1640
+ var getBulkTelemetryHistory2 = (options) => (options.client ?? client2).post({
1566
1641
  security: [
1567
1642
  { name: "x-sixb-csrf", type: "apiKey" },
1568
- { scheme: "bearer", type: "http" }
1643
+ { scheme: "bearer", type: "http" },
1644
+ { name: "x-sixb-share-grant", type: "apiKey" }
1569
1645
  ],
1570
1646
  url: "/api/telemetry/history",
1571
1647
  ...options,
@@ -1574,44 +1650,50 @@ var getBulkTelemetryHistory = (options) => (options.client ?? client).post({
1574
1650
  ...options.headers
1575
1651
  }
1576
1652
  });
1577
- var getTelemetryHistory = (options) => (options.client ?? client).get({
1578
- security: [{ scheme: "bearer", type: "http" }],
1653
+ var getTelemetryHistory2 = (options) => (options.client ?? client2).get({
1654
+ security: [
1655
+ { scheme: "bearer", type: "http" },
1656
+ { name: "x-sixb-share-grant", type: "apiKey" }
1657
+ ],
1579
1658
  url: "/api/objects/{objectTypeId}/{objectId}/telemetry/{propertyId}/history",
1580
1659
  ...options
1581
1660
  });
1582
- var getLatestTelemetry = (options) => (options.client ?? client).get({
1583
- security: [{ scheme: "bearer", type: "http" }],
1661
+ var getLatestTelemetry2 = (options) => (options.client ?? client2).get({
1662
+ security: [
1663
+ { scheme: "bearer", type: "http" },
1664
+ { name: "x-sixb-share-grant", type: "apiKey" }
1665
+ ],
1584
1666
  url: "/api/objects/{objectTypeId}/{objectId}/telemetry/{propertyId}/latest",
1585
1667
  ...options
1586
1668
  });
1587
- var listEvents = (options) => (options?.client ?? client).get({
1669
+ var listEvents2 = (options) => (options?.client ?? client2).get({
1588
1670
  security: [{ scheme: "bearer", type: "http" }],
1589
1671
  url: "/api/events",
1590
1672
  ...options
1591
1673
  });
1592
- var listLogs = (options) => (options?.client ?? client).get({
1674
+ var listLogs2 = (options) => (options?.client ?? client2).get({
1593
1675
  security: [{ scheme: "bearer", type: "http" }],
1594
1676
  url: "/api/logs",
1595
1677
  ...options
1596
1678
  });
1597
- var listProjections = (options) => (options?.client ?? client).get({
1679
+ var listProjections2 = (options) => (options?.client ?? client2).get({
1598
1680
  url: "/api/projections",
1599
1681
  ...options
1600
1682
  });
1601
- var getProjection = (options) => (options.client ?? client).get({
1683
+ var getProjection2 = (options) => (options.client ?? client2).get({
1602
1684
  url: "/api/projections/{projectionId}",
1603
1685
  ...options
1604
1686
  });
1605
- var listProjectionRuns = (options) => (options?.client ?? client).get({ url: "/api/projection-runs", ...options });
1606
- var getProjectionRun = (options) => (options.client ?? client).get({
1687
+ var listProjectionRuns2 = (options) => (options?.client ?? client2).get({ url: "/api/projection-runs", ...options });
1688
+ var getProjectionRun2 = (options) => (options.client ?? client2).get({
1607
1689
  url: "/api/projection-runs/{runId}",
1608
1690
  ...options
1609
1691
  });
1610
- var listWebhookRuns = (options) => (options?.client ?? client).get({
1692
+ var listWebhookRuns2 = (options) => (options?.client ?? client2).get({
1611
1693
  url: "/api/webhook-runs",
1612
1694
  ...options
1613
1695
  });
1614
1696
 
1615
- export { createConfig, createClient, client, createDeviceAuthorization, exchangeDeviceAuthorization, getAuthSession, signOut, listAuthSessions, revokeAuthSession, signOutAll, getAuthAccessManagementOptions, listAuthAccessTokens, createAuthPersonalAccessToken, revokeAuthAccessToken, listAuthServiceAccounts, createAuthServiceAccount, disableAuthServiceAccount, listAuthServiceAccountAccessTokens, createAuthServiceAccountAccessToken, revokeAuthServiceAccountAccessToken, listAuthInvitations, createAuthInvitation, getAuthInvitationOptions, revokeAuthInvitation, getAuthMembershipOptions, listAuthMembers, updateAuthMemberGroups, suspendAuthMember, reactivateAuthMember, getAiAccountingOverview, listAiModelCalls, listAiLimitPolicies, createAiLimitPolicy, getAiLimitStatus, getAiLimitSubjectOptions, deleteAiLimitPolicy, updateAiLimitPolicy, listAiModelCallGroups, getProjectInfo, getStatus, listConnectors, getConnector, listConnectorConnections, disconnectConnectorConnection, revokeConnectorConnection, startConnectorConnectionRun, getConnectorConnectionRun, addConnectorConnection, selectConnectorConnectionRunAccount, reauthorizeConnectorConnection, listDatasets, getDataset, listDatasetVersions, getDatasetVersion, listDatasetRows, listSyncs, getSync, listSyncRuns, requestSyncRun, listPipelines, getPipeline, listPipelineRuns, getPipelineRun, requestPipelineRun, listWorkflows, getWorkflow, listWorkflowInterventions, getWorkflowIntervention, submitWorkflowIntervention, cancelWorkflowIntervention, listWorkflowRuns, getWorkflowRun, getWorkflowAgentNodeExecution, cancelWorkflowRun, getWorkflowRunFileContent, headWorkflowRunFileContent, getWorkflowNodeRunFileContent, headWorkflowNodeRunFileContent, requestWorkflowRun, listRules, getRule, listRuleStates, listObjectTypes, getObjectType, searchObjects, listObjects, queryObjects, queryObjectLinks, countObjects, existsObjects, facetObjects, getObjectFileContent, headObjectFileContent, getObject, upsertObject, listActions, getAction, requestAction, uploadFileRaw, createFileUpload, uploadFileContent, signFileUploadPart, completeFileUpload, abortFileUpload, listActionRuns, getActionRun, getActionRunFileContent, headActionRunFileContent, getAgent, listAgentThreads, createAgentThread, getAgentThread, listAgentThreadMessages, postAgentThreadMessage, getAgentMessageFileContent, headAgentMessageFileContent, cancelAgentRun, retryAgentRun, listAgentThreadRuns, getAgentRun, listModels, removeObjectLink, upsertObjectLink, appendTelemetry, getBulkTelemetryHistory, getTelemetryHistory, getLatestTelemetry, listEvents, listLogs, listProjections, getProjection, listProjectionRuns, getProjectionRun, listWebhookRuns };
1697
+ export { createConfig, createClient, client2, createDeviceAuthorization2, exchangeDeviceAuthorization2, getAuthSession2, signOut2, listAuthSessions2, revokeAuthSession2, signOutAll2, getAuthAccessManagementOptions2, listAuthAccessTokens2, createAuthPersonalAccessToken2, revokeAuthAccessToken2, listAuthServiceAccounts2, createAuthServiceAccount2, disableAuthServiceAccount2, listAuthServiceAccountAccessTokens2, createAuthServiceAccountAccessToken2, revokeAuthServiceAccountAccessToken2, listAuthInvitations2, createAuthInvitation2, getAuthInvitationOptions2, revokeAuthInvitation2, getAuthMembershipOptions2, listAuthMembers2, updateAuthMemberGroups2, suspendAuthMember2, reactivateAuthMember2, getAiAccountingOverview2, listAiModelCalls2, listAiLimitPolicies2, createAiLimitPolicy2, getAiLimitStatus2, getAiLimitSubjectOptions2, deleteAiLimitPolicy2, updateAiLimitPolicy2, listAiModelCallGroups2, getProjectInfo2, getStatus2, listConnectors2, getConnector2, listConnectorConnections2, disconnectConnectorConnection2, revokeConnectorConnection2, startConnectorConnectionRun2, getConnectorConnectionRun2, addConnectorConnection2, selectConnectorConnectionRunAccount2, reauthorizeConnectorConnection2, listDatasets2, getDataset2, listDatasetVersions2, getDatasetVersion2, listDatasetRows2, listSyncs2, getSync2, listSyncRuns2, requestSyncRun2, listPipelines2, getPipeline2, listPipelineRuns2, getPipelineRun2, requestPipelineRun2, listWorkflows2, getWorkflow2, listWorkflowInterventions2, getWorkflowIntervention2, submitWorkflowIntervention2, cancelWorkflowIntervention2, listWorkflowRuns2, getWorkflowRun2, getWorkflowAgentNodeExecution2, cancelWorkflowRun2, getWorkflowRunFileContent2, headWorkflowRunFileContent2, getWorkflowNodeRunFileContent2, headWorkflowNodeRunFileContent2, requestWorkflowRun2, listRules2, getRule2, listRuleStates2, listSharedAccessGrants2, issueSharedAccessGrant2, revokeSharedAccessGrant2, exchangeSharedAccess2, getSharedAccessSession2, signOutSharedAccess2, listObjectTypes2, getObjectType2, searchObjects2, listObjects2, queryObjects2, queryObjectLinks2, countObjects2, existsObjects2, facetObjects2, getObjectFileContent2, headObjectFileContent2, getObject2, upsertObject2, listActions2, getAction2, requestAction2, uploadFileRaw2, createFileUpload2, uploadFileContent2, signFileUploadPart2, completeFileUpload2, abortFileUpload2, listActionRuns2, getActionRun2, getActionRunFileContent2, headActionRunFileContent2, getAgent2, listAgentThreads2, createAgentThread2, getAgentThread2, listAgentThreadMessages2, postAgentThreadMessage2, getAgentMessageFileContent2, headAgentMessageFileContent2, cancelAgentRun2, retryAgentRun2, listAgentThreadRuns2, getAgentRun2, listModels2, removeObjectLink2, upsertObjectLink2, appendTelemetry2, getBulkTelemetryHistory2, getTelemetryHistory2, getLatestTelemetry2, listEvents2, listLogs2, listProjections2, getProjection2, listProjectionRuns2, getProjectionRun2, listWebhookRuns2 };
1616
1698
 
1617
- //# debugId=E5D5A778CD821D7A64756E2164756E21
1699
+ //# debugId=D6E083076A709EE264756E2164756E21