@better-auth-ui/react 1.6.30 → 1.6.31

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.
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { authMutationKeys as a, authQueryKeys as o } from "@better-auth-ui/core"
4
4
  import { mutationOptions as s, queryOptions as c, skipToken as l, useMutation as u, useQuery as d, useQueryClient as f } from "@tanstack/react-query";
5
5
  import { useCallback as p, useEffect as ee, useId as te, useSyncExternalStore as ne } from "react";
6
6
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
7
- import { apiKeyMutationKeys as re, apiKeyQueryKeys as g, deleteUserMutationKeys as ie, lastLoginMethodLocalization as ae, lastLoginMethodPlugin as oe, magicLinkMutationKeys as se, multiSessionMutationKeys as ce, multiSessionQueryKeys as _, organizationMutationKeys as v, organizationPlugin as le, organizationQueryKeys as y, passkeyMutationKeys as b, passkeyQueryKeys as x, usernameMutationKeys as ue } from "@better-auth-ui/core/plugins";
7
+ import { apiKeyMutationKeys as re, apiKeyQueryKeys as g, deleteUserMutationKeys as ie, deviceAuthorizationMutationKeys as _, lastLoginMethodLocalization as ae, lastLoginMethodPlugin as oe, magicLinkMutationKeys as se, multiSessionMutationKeys as ce, multiSessionQueryKeys as v, organizationMutationKeys as y, organizationPlugin as le, organizationQueryKeys as b, passkeyMutationKeys as x, passkeyQueryKeys as S, usernameMutationKeys as ue } from "@better-auth-ui/core/plugins";
8
8
  //#region src/components/icons/apple.tsx
9
9
  function de(e) {
10
10
  return /* @__PURE__ */ m("svg", {
@@ -171,7 +171,7 @@ function ve(e) {
171
171
  }
172
172
  //#endregion
173
173
  //#region src/components/icons/gitlab.tsx
174
- function S(e) {
174
+ function ye(e) {
175
175
  return /* @__PURE__ */ h("svg", {
176
176
  xmlns: "http://www.w3.org/2000/svg",
177
177
  viewBox: "0 0 128 128",
@@ -200,7 +200,7 @@ function S(e) {
200
200
  }
201
201
  //#endregion
202
202
  //#region src/components/icons/google.tsx
203
- function C(e) {
203
+ function be(e) {
204
204
  return /* @__PURE__ */ m("svg", {
205
205
  xmlns: "http://www.w3.org/2000/svg",
206
206
  viewBox: "0 0 16 16",
@@ -238,7 +238,7 @@ function C(e) {
238
238
  }
239
239
  //#endregion
240
240
  //#region src/components/icons/huggingface.tsx
241
- function w(e) {
241
+ function xe(e) {
242
242
  return /* @__PURE__ */ h("svg", {
243
243
  xmlns: "http://www.w3.org/2000/svg",
244
244
  viewBox: "0 0 256 238",
@@ -275,7 +275,7 @@ function w(e) {
275
275
  }
276
276
  //#endregion
277
277
  //#region src/components/icons/kakao.tsx
278
- function T(e) {
278
+ function Se(e) {
279
279
  return /* @__PURE__ */ m("svg", {
280
280
  xmlns: "http://www.w3.org/2000/svg",
281
281
  viewBox: "0 0 576 512",
@@ -290,7 +290,7 @@ function T(e) {
290
290
  }
291
291
  //#endregion
292
292
  //#region src/components/icons/kick.tsx
293
- function E(e) {
293
+ function Ce(e) {
294
294
  return /* @__PURE__ */ m("svg", {
295
295
  xmlns: "http://www.w3.org/2000/svg",
296
296
  viewBox: "0 0 512 512",
@@ -309,7 +309,7 @@ function E(e) {
309
309
  }
310
310
  //#endregion
311
311
  //#region src/components/icons/line.tsx
312
- function D(e) {
312
+ function we(e) {
313
313
  return /* @__PURE__ */ m("svg", {
314
314
  xmlns: "http://www.w3.org/2000/svg",
315
315
  viewBox: "0 0 24 24",
@@ -324,7 +324,7 @@ function D(e) {
324
324
  }
325
325
  //#endregion
326
326
  //#region src/components/icons/linear.tsx
327
- function O(e) {
327
+ function Te(e) {
328
328
  return /* @__PURE__ */ m("svg", {
329
329
  xmlns: "http://www.w3.org/2000/svg",
330
330
  viewBox: "0 0 24 24",
@@ -339,7 +339,7 @@ function O(e) {
339
339
  }
340
340
  //#endregion
341
341
  //#region src/components/icons/linkedin.tsx
342
- function k(e) {
342
+ function Ee(e) {
343
343
  return /* @__PURE__ */ m("svg", {
344
344
  xmlns: "http://www.w3.org/2000/svg",
345
345
  viewBox: "0 0 256 256",
@@ -371,7 +371,7 @@ function k(e) {
371
371
  }
372
372
  //#endregion
373
373
  //#region src/components/icons/microsoft.tsx
374
- function A(e) {
374
+ function C(e) {
375
375
  return /* @__PURE__ */ h("svg", {
376
376
  xmlns: "http://www.w3.org/2000/svg",
377
377
  viewBox: "0 0 256 256",
@@ -400,7 +400,7 @@ function A(e) {
400
400
  }
401
401
  //#endregion
402
402
  //#region src/components/icons/naver.tsx
403
- function j(e) {
403
+ function w(e) {
404
404
  return /* @__PURE__ */ m("svg", {
405
405
  xmlns: "http://www.w3.org/2000/svg",
406
406
  viewBox: "0 0 24 24",
@@ -415,7 +415,7 @@ function j(e) {
415
415
  }
416
416
  //#endregion
417
417
  //#region src/components/icons/notion.tsx
418
- function M(e) {
418
+ function T(e) {
419
419
  return /* @__PURE__ */ h("svg", {
420
420
  xmlns: "http://www.w3.org/2000/svg",
421
421
  viewBox: "0 0 256 268",
@@ -430,7 +430,7 @@ function M(e) {
430
430
  }
431
431
  //#endregion
432
432
  //#region src/components/icons/paybin.tsx
433
- function N(e) {
433
+ function E(e) {
434
434
  return /* @__PURE__ */ h("svg", {
435
435
  xmlns: "http://www.w3.org/2000/svg",
436
436
  viewBox: "0 0 34 34",
@@ -461,7 +461,7 @@ function N(e) {
461
461
  }
462
462
  //#endregion
463
463
  //#region src/components/icons/paypal.tsx
464
- function P(e) {
464
+ function D(e) {
465
465
  return /* @__PURE__ */ h("svg", {
466
466
  xmlns: "http://www.w3.org/2000/svg",
467
467
  viewBox: "0 0 256 302",
@@ -490,7 +490,7 @@ function P(e) {
490
490
  }
491
491
  //#endregion
492
492
  //#region src/components/icons/polar.tsx
493
- function F(e) {
493
+ function O(e) {
494
494
  return /* @__PURE__ */ m("svg", {
495
495
  xmlns: "http://www.w3.org/2000/svg",
496
496
  viewBox: "0 0 24 24",
@@ -513,7 +513,7 @@ function F(e) {
513
513
  }
514
514
  //#endregion
515
515
  //#region src/components/icons/railway.tsx
516
- function I(e) {
516
+ function k(e) {
517
517
  return /* @__PURE__ */ m("svg", {
518
518
  xmlns: "http://www.w3.org/2000/svg",
519
519
  viewBox: "0 0 24 24",
@@ -528,7 +528,7 @@ function I(e) {
528
528
  }
529
529
  //#endregion
530
530
  //#region src/components/icons/reddit.tsx
531
- function ye(e) {
531
+ function A(e) {
532
532
  return /* @__PURE__ */ h("svg", {
533
533
  xmlns: "http://www.w3.org/2000/svg",
534
534
  viewBox: "0 0 256 256",
@@ -548,7 +548,7 @@ function ye(e) {
548
548
  }
549
549
  //#endregion
550
550
  //#region src/components/icons/roblox.tsx
551
- function be(e) {
551
+ function j(e) {
552
552
  return /* @__PURE__ */ m("svg", {
553
553
  xmlns: "http://www.w3.org/2000/svg",
554
554
  viewBox: "0 0 500 500",
@@ -564,7 +564,7 @@ function be(e) {
564
564
  }
565
565
  //#endregion
566
566
  //#region src/components/icons/salesforce.tsx
567
- function xe(e) {
567
+ function M(e) {
568
568
  return /* @__PURE__ */ m("svg", {
569
569
  xmlns: "http://www.w3.org/2000/svg",
570
570
  viewBox: "0 0 24 24",
@@ -579,7 +579,7 @@ function xe(e) {
579
579
  }
580
580
  //#endregion
581
581
  //#region src/components/icons/slack.tsx
582
- function Se(e) {
582
+ function N(e) {
583
583
  return /* @__PURE__ */ h("svg", {
584
584
  xmlns: "http://www.w3.org/2000/svg",
585
585
  viewBox: "0 0 256 256",
@@ -608,7 +608,7 @@ function Se(e) {
608
608
  }
609
609
  //#endregion
610
610
  //#region src/components/icons/spotify.tsx
611
- function Ce(e) {
611
+ function P(e) {
612
612
  return /* @__PURE__ */ m("svg", {
613
613
  xmlns: "http://www.w3.org/2000/svg",
614
614
  viewBox: "0 0 256 256",
@@ -623,7 +623,7 @@ function Ce(e) {
623
623
  }
624
624
  //#endregion
625
625
  //#region src/components/icons/tiktok.tsx
626
- function we(e) {
626
+ function F(e) {
627
627
  return /* @__PURE__ */ h("svg", {
628
628
  xmlns: "http://www.w3.org/2000/svg",
629
629
  viewBox: "0 0 256 290",
@@ -645,7 +645,7 @@ function we(e) {
645
645
  }
646
646
  //#endregion
647
647
  //#region src/components/icons/twitch.tsx
648
- function Te(e) {
648
+ function De(e) {
649
649
  return /* @__PURE__ */ h("svg", {
650
650
  version: "1.1",
651
651
  viewBox: "0 0 2400 2800",
@@ -687,7 +687,7 @@ function Te(e) {
687
687
  }
688
688
  //#endregion
689
689
  //#region src/components/icons/vercel.tsx
690
- function Ee(e) {
690
+ function Oe(e) {
691
691
  return /* @__PURE__ */ m("svg", {
692
692
  xmlns: "http://www.w3.org/2000/svg",
693
693
  viewBox: "0 0 24 24",
@@ -702,7 +702,7 @@ function Ee(e) {
702
702
  }
703
703
  //#endregion
704
704
  //#region src/components/icons/vk.tsx
705
- function De(e) {
705
+ function ke(e) {
706
706
  return /* @__PURE__ */ m("svg", {
707
707
  xmlns: "http://www.w3.org/2000/svg",
708
708
  viewBox: "0 0 576 512",
@@ -717,7 +717,7 @@ function De(e) {
717
717
  }
718
718
  //#endregion
719
719
  //#region src/components/icons/wechat.tsx
720
- function Oe(e) {
720
+ function Ae(e) {
721
721
  return /* @__PURE__ */ m("svg", {
722
722
  xmlns: "http://www.w3.org/2000/svg",
723
723
  viewBox: "0 0 24 24",
@@ -732,7 +732,7 @@ function Oe(e) {
732
732
  }
733
733
  //#endregion
734
734
  //#region src/components/icons/x.tsx
735
- function ke(e) {
735
+ function je(e) {
736
736
  return /* @__PURE__ */ m("svg", {
737
737
  viewBox: "0 0 512 512",
738
738
  xmlns: "http://www.w3.org/2000/svg",
@@ -747,7 +747,7 @@ function ke(e) {
747
747
  }
748
748
  //#endregion
749
749
  //#region src/components/icons/zoom.tsx
750
- function Ae(e) {
750
+ function Me(e) {
751
751
  let t = te();
752
752
  return /* @__PURE__ */ h("svg", {
753
753
  xmlns: "http://www.w3.org/2000/svg",
@@ -814,7 +814,7 @@ function Ae(e) {
814
814
  }
815
815
  //#endregion
816
816
  //#region src/components/settings/account/theme-preview.tsx
817
- function je(e) {
817
+ function Ne(e) {
818
818
  return /* @__PURE__ */ h("svg", {
819
819
  fill: "none",
820
820
  viewBox: "0 0 240 117",
@@ -959,7 +959,7 @@ function je(e) {
959
959
  ]
960
960
  });
961
961
  }
962
- function Me(e) {
962
+ function Pe(e) {
963
963
  return /* @__PURE__ */ h("svg", {
964
964
  fill: "none",
965
965
  viewBox: "0 0 240 117",
@@ -1029,7 +1029,7 @@ function Me(e) {
1029
1029
  ]
1030
1030
  });
1031
1031
  }
1032
- function Ne(e) {
1032
+ function Fe(e) {
1033
1033
  return /* @__PURE__ */ h("svg", {
1034
1034
  fill: "none",
1035
1035
  viewBox: "0 0 240 117",
@@ -1101,7 +1101,7 @@ function Ne(e) {
1101
1101
  }
1102
1102
  //#endregion
1103
1103
  //#region src/queries/auth/session-query.ts
1104
- function L(e, t) {
1104
+ function I(e, t) {
1105
1105
  let n = o.session;
1106
1106
  return c({
1107
1107
  queryKey: n,
@@ -1115,11 +1115,11 @@ function L(e, t) {
1115
1115
  })
1116
1116
  });
1117
1117
  }
1118
- var Pe = (e, t, n) => e.ensureQueryData(L(t, n)), Fe = (e, t, n) => e.prefetchQuery(L(t, n)), Ie = (e, t, n) => e.fetchQuery(L(t, n));
1119
- function R(e, t = {}, n) {
1118
+ var Ie = (e, t, n) => e.ensureQueryData(I(t, n)), Le = (e, t, n) => e.prefetchQuery(I(t, n)), Re = (e, t, n) => e.fetchQuery(I(t, n));
1119
+ function L(e, t = {}, n) {
1120
1120
  let { query: r, fetchOptions: i, ...a } = t;
1121
1121
  return d({
1122
- ...L(e, {
1122
+ ...I(e, {
1123
1123
  query: r,
1124
1124
  fetchOptions: i
1125
1125
  }),
@@ -1128,8 +1128,8 @@ function R(e, t = {}, n) {
1128
1128
  }
1129
1129
  //#endregion
1130
1130
  //#region src/hooks/auth/use-authenticate.ts
1131
- function Le(e, t) {
1132
- let { basePaths: n, viewPaths: i, navigate: a } = r(), o = R(e, t);
1131
+ function ze(e, t) {
1132
+ let { basePaths: n, viewPaths: i, navigate: a } = r(), o = L(e, t);
1133
1133
  return ee(() => {
1134
1134
  if (o.data || o.isPending) return;
1135
1135
  let e = window.location.pathname + window.location.search, t = encodeURIComponent(e);
@@ -1147,21 +1147,21 @@ function Le(e, t) {
1147
1147
  }
1148
1148
  //#endregion
1149
1149
  //#region src/hooks/auth/use-last-login-method.ts
1150
- var Re = () => () => {}, ze = () => null;
1151
- function Be() {
1150
+ var Be = () => () => {}, Ve = () => null;
1151
+ function He() {
1152
1152
  let { authClient: e, plugins: t } = r(), n = t.find((e) => e.id === oe.id), i = {
1153
1153
  ...ae,
1154
1154
  ...n?.localization
1155
1155
  };
1156
1156
  return {
1157
- method: ne(Re, p(() => n ? e.getLastUsedLoginMethod?.() ?? null : null, [e, n]), ze),
1157
+ method: ne(Be, p(() => n ? e.getLastUsedLoginMethod?.() ?? null : null, [e, n]), Ve),
1158
1158
  localization: i
1159
1159
  };
1160
1160
  }
1161
1161
  //#endregion
1162
1162
  //#region src/hooks/auth/use-user.ts
1163
- function Ve(e, t) {
1164
- let { data: n, ...r } = R(e, t);
1163
+ function Ue(e, t) {
1164
+ let { data: n, ...r } = L(e, t);
1165
1165
  return {
1166
1166
  data: n?.user,
1167
1167
  ...r
@@ -1169,7 +1169,7 @@ function Ve(e, t) {
1169
1169
  }
1170
1170
  //#endregion
1171
1171
  //#region src/mutations/auth-mutation-options.ts
1172
- function He(e, t) {
1172
+ function R(e, t) {
1173
1173
  return s({
1174
1174
  mutationKey: t,
1175
1175
  mutationFn: (t) => {
@@ -1186,15 +1186,15 @@ function He(e, t) {
1186
1186
  }
1187
1187
  //#endregion
1188
1188
  //#region src/hooks/use-auth-mutation.ts
1189
- function Ue(e, t, n) {
1189
+ function We(e, t, n) {
1190
1190
  return u({
1191
- ...He(e, t),
1191
+ ...R(e, t),
1192
1192
  ...n
1193
1193
  });
1194
1194
  }
1195
1195
  //#endregion
1196
1196
  //#region src/queries/auth-query-options.ts
1197
- function We(e, t, n) {
1197
+ function Ge(e, t, n) {
1198
1198
  return c({
1199
1199
  queryKey: [...t, n?.query ?? null],
1200
1200
  queryFn: ({ signal: t }) => e({
@@ -1209,10 +1209,10 @@ function We(e, t, n) {
1209
1209
  }
1210
1210
  //#endregion
1211
1211
  //#region src/hooks/use-auth-query.ts
1212
- function Ge(e, t, n) {
1212
+ function Ke(e, t, n) {
1213
1213
  let { query: r, fetchOptions: i, ...a } = n ?? {};
1214
1214
  return d({
1215
- ...We(e, t, {
1215
+ ...Ge(e, t, {
1216
1216
  query: r,
1217
1217
  fetchOptions: i
1218
1218
  }),
@@ -1221,7 +1221,7 @@ function Ge(e, t, n) {
1221
1221
  }
1222
1222
  //#endregion
1223
1223
  //#region src/lib/provider-icons.ts
1224
- var Ke = {
1224
+ var qe = {
1225
1225
  apple: de,
1226
1226
  atlassian: fe,
1227
1227
  cognito: pe,
@@ -1230,37 +1230,37 @@ var Ke = {
1230
1230
  facebook: ge,
1231
1231
  figma: _e,
1232
1232
  github: ve,
1233
- gitlab: S,
1234
- google: C,
1235
- huggingface: w,
1236
- kakao: T,
1237
- kick: E,
1238
- line: D,
1239
- linear: O,
1240
- linkedin: k,
1241
- microsoft: A,
1242
- naver: j,
1243
- notion: M,
1244
- paybin: N,
1245
- paypal: P,
1246
- polar: F,
1247
- railway: I,
1248
- reddit: ye,
1249
- roblox: be,
1250
- salesforce: xe,
1251
- slack: Se,
1252
- spotify: Ce,
1253
- tiktok: we,
1254
- twitch: Te,
1255
- twitter: ke,
1256
- vercel: Ee,
1257
- vk: De,
1258
- wechat: Oe,
1259
- zoom: Ae
1233
+ gitlab: ye,
1234
+ google: be,
1235
+ huggingface: xe,
1236
+ kakao: Se,
1237
+ kick: Ce,
1238
+ line: we,
1239
+ linear: Te,
1240
+ linkedin: Ee,
1241
+ microsoft: C,
1242
+ naver: w,
1243
+ notion: T,
1244
+ paybin: E,
1245
+ paypal: D,
1246
+ polar: O,
1247
+ railway: k,
1248
+ reddit: A,
1249
+ roblox: j,
1250
+ salesforce: M,
1251
+ slack: N,
1252
+ spotify: P,
1253
+ tiktok: F,
1254
+ twitch: De,
1255
+ twitter: je,
1256
+ vercel: Oe,
1257
+ vk: ke,
1258
+ wechat: Ae,
1259
+ zoom: Me
1260
1260
  };
1261
1261
  //#endregion
1262
1262
  //#region src/mutations/api-key/create-api-key-mutation.ts
1263
- function qe(e) {
1263
+ function Je(e) {
1264
1264
  let t = re.create;
1265
1265
  return s({
1266
1266
  mutationKey: t,
@@ -1273,17 +1273,17 @@ function qe(e) {
1273
1273
  })
1274
1274
  });
1275
1275
  }
1276
- function Je(e, t, n) {
1277
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1276
+ function Ye(e, t, n) {
1277
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1278
1278
  return u({
1279
- ...qe(e),
1279
+ ...Je(e),
1280
1280
  ...t,
1281
1281
  meta: { awaits: [g.lists(i)] }
1282
1282
  }, n);
1283
1283
  }
1284
1284
  //#endregion
1285
1285
  //#region src/mutations/api-key/delete-api-key-mutation.ts
1286
- function Ye(e) {
1286
+ function Xe(e) {
1287
1287
  let t = re.delete;
1288
1288
  return s({
1289
1289
  mutationKey: t,
@@ -1296,17 +1296,17 @@ function Ye(e) {
1296
1296
  })
1297
1297
  });
1298
1298
  }
1299
- function Xe(e, t, n) {
1300
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1299
+ function Ze(e, t, n) {
1300
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1301
1301
  return u({
1302
- ...Ye(e),
1302
+ ...Xe(e),
1303
1303
  ...t,
1304
1304
  meta: { awaits: [g.lists(i)] }
1305
1305
  }, n);
1306
1306
  }
1307
1307
  //#endregion
1308
1308
  //#region src/mutations/auth/request-password-reset-mutation.ts
1309
- function Ze(e) {
1309
+ function Qe(e) {
1310
1310
  let t = a.requestPasswordReset;
1311
1311
  return s({
1312
1312
  mutationKey: t,
@@ -1319,15 +1319,15 @@ function Ze(e) {
1319
1319
  })
1320
1320
  });
1321
1321
  }
1322
- function Qe(e, t) {
1322
+ function $e(e, t) {
1323
1323
  return u({
1324
- ...Ze(e),
1324
+ ...Qe(e),
1325
1325
  ...t
1326
1326
  });
1327
1327
  }
1328
1328
  //#endregion
1329
1329
  //#region src/mutations/auth/reset-password-mutation.ts
1330
- function $e(e) {
1330
+ function et(e) {
1331
1331
  let t = a.resetPassword;
1332
1332
  return s({
1333
1333
  mutationKey: t,
@@ -1340,15 +1340,15 @@ function $e(e) {
1340
1340
  })
1341
1341
  });
1342
1342
  }
1343
- function et(e, t) {
1343
+ function tt(e, t) {
1344
1344
  return u({
1345
- ...$e(e),
1345
+ ...et(e),
1346
1346
  ...t
1347
1347
  });
1348
1348
  }
1349
1349
  //#endregion
1350
1350
  //#region src/mutations/auth/send-verification-email-mutation.ts
1351
- function tt(e) {
1351
+ function nt(e) {
1352
1352
  let t = a.sendVerificationEmail;
1353
1353
  return s({
1354
1354
  mutationKey: t,
@@ -1361,15 +1361,15 @@ function tt(e) {
1361
1361
  })
1362
1362
  });
1363
1363
  }
1364
- function nt(e, t) {
1364
+ function rt(e, t) {
1365
1365
  return u({
1366
- ...tt(e),
1366
+ ...nt(e),
1367
1367
  ...t
1368
1368
  });
1369
1369
  }
1370
1370
  //#endregion
1371
1371
  //#region src/mutations/auth/sign-in-email-mutation.ts
1372
- function rt(e) {
1372
+ function it(e) {
1373
1373
  let t = a.signIn.email;
1374
1374
  return s({
1375
1375
  mutationKey: t,
@@ -1382,16 +1382,16 @@ function rt(e) {
1382
1382
  })
1383
1383
  });
1384
1384
  }
1385
- function it(e, t, n) {
1385
+ function at(e, t, n) {
1386
1386
  return u({
1387
- ...rt(e),
1387
+ ...it(e),
1388
1388
  ...t,
1389
1389
  meta: { awaits: [o.session] }
1390
1390
  }, n);
1391
1391
  }
1392
1392
  //#endregion
1393
1393
  //#region src/mutations/auth/sign-in-social-mutation.ts
1394
- function at(e) {
1394
+ function ot(e) {
1395
1395
  let t = a.signIn.social;
1396
1396
  return s({
1397
1397
  mutationKey: t,
@@ -1404,15 +1404,15 @@ function at(e) {
1404
1404
  })
1405
1405
  });
1406
1406
  }
1407
- function ot(e, t) {
1407
+ function st(e, t) {
1408
1408
  return u({
1409
- ...at(e),
1409
+ ...ot(e),
1410
1410
  ...t
1411
1411
  });
1412
1412
  }
1413
1413
  //#endregion
1414
1414
  //#region src/mutations/auth/sign-out-mutation.ts
1415
- function st(e) {
1415
+ function ct(e) {
1416
1416
  let t = a.signOut;
1417
1417
  return s({
1418
1418
  mutationKey: t,
@@ -1425,10 +1425,10 @@ function st(e) {
1425
1425
  })
1426
1426
  });
1427
1427
  }
1428
- function ct(e, t, n) {
1428
+ function lt(e, t, n) {
1429
1429
  let r = f(n);
1430
1430
  return u({
1431
- ...st(e),
1431
+ ...ct(e),
1432
1432
  ...t,
1433
1433
  onSuccess: async (...e) => {
1434
1434
  r.removeQueries({ queryKey: o.all }), await t?.onSuccess?.(...e);
@@ -1437,7 +1437,7 @@ function ct(e, t, n) {
1437
1437
  }
1438
1438
  //#endregion
1439
1439
  //#region src/mutations/auth/sign-up-email-mutation.ts
1440
- function lt(e) {
1440
+ function ut(e) {
1441
1441
  let t = a.signUp.email;
1442
1442
  return s({
1443
1443
  mutationKey: t,
@@ -1450,16 +1450,49 @@ function lt(e) {
1450
1450
  })
1451
1451
  });
1452
1452
  }
1453
- function ut(e, t, n) {
1453
+ function dt(e, t, n) {
1454
1454
  return u({
1455
- ...lt(e),
1455
+ ...ut(e),
1456
1456
  ...t,
1457
1457
  meta: { awaits: [o.session] }
1458
1458
  }, n);
1459
1459
  }
1460
1460
  //#endregion
1461
+ //#region src/mutations/device-authorization/approve-device-mutation.ts
1462
+ function ft(e) {
1463
+ return R(e.device.approve, _.approve);
1464
+ }
1465
+ function pt(e, t) {
1466
+ return u({
1467
+ ...ft(e),
1468
+ ...t
1469
+ });
1470
+ }
1471
+ //#endregion
1472
+ //#region src/mutations/device-authorization/deny-device-mutation.ts
1473
+ function mt(e) {
1474
+ return R(e.device.deny, _.deny);
1475
+ }
1476
+ function ht(e, t) {
1477
+ return u({
1478
+ ...mt(e),
1479
+ ...t
1480
+ });
1481
+ }
1482
+ //#endregion
1483
+ //#region src/mutations/device-authorization/verify-device-code-mutation.ts
1484
+ function gt(e) {
1485
+ return R(e.device, _.verify);
1486
+ }
1487
+ function _t(e, t) {
1488
+ return u({
1489
+ ...gt(e),
1490
+ ...t
1491
+ });
1492
+ }
1493
+ //#endregion
1461
1494
  //#region src/mutations/magic-link/sign-in-magic-link-mutation.ts
1462
- function dt(e) {
1495
+ function vt(e) {
1463
1496
  let t = se.signIn;
1464
1497
  return s({
1465
1498
  mutationKey: t,
@@ -1472,15 +1505,15 @@ function dt(e) {
1472
1505
  })
1473
1506
  });
1474
1507
  }
1475
- function ft(e, t) {
1508
+ function yt(e, t) {
1476
1509
  return u({
1477
- ...dt(e),
1510
+ ...vt(e),
1478
1511
  ...t
1479
1512
  });
1480
1513
  }
1481
1514
  //#endregion
1482
1515
  //#region src/mutations/multi-session/revoke-multi-session-mutation.ts
1483
- function pt(e) {
1516
+ function bt(e) {
1484
1517
  let t = ce.revoke;
1485
1518
  return s({
1486
1519
  mutationKey: t,
@@ -1493,17 +1526,17 @@ function pt(e) {
1493
1526
  })
1494
1527
  });
1495
1528
  }
1496
- function mt(e, t, n) {
1497
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1529
+ function xt(e, t, n) {
1530
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1498
1531
  return u({
1499
- ...pt(e),
1532
+ ...bt(e),
1500
1533
  ...t,
1501
- meta: { awaits: [_.lists(i)] }
1534
+ meta: { awaits: [v.lists(i)] }
1502
1535
  }, n);
1503
1536
  }
1504
1537
  //#endregion
1505
1538
  //#region src/mutations/multi-session/set-active-session-mutation.ts
1506
- function z(e) {
1539
+ function St(e) {
1507
1540
  let t = ce.setActive;
1508
1541
  return s({
1509
1542
  mutationKey: t,
@@ -1516,18 +1549,18 @@ function z(e) {
1516
1549
  })
1517
1550
  });
1518
1551
  }
1519
- function ht(e, t, n) {
1520
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1552
+ function Ct(e, t, n) {
1553
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1521
1554
  return u({
1522
- ...z(e),
1555
+ ...St(e),
1523
1556
  ...t,
1524
- meta: { awaits: [o.session, _.lists(i)] }
1557
+ meta: { awaits: [o.session, v.lists(i)] }
1525
1558
  }, n);
1526
1559
  }
1527
1560
  //#endregion
1528
1561
  //#region src/mutations/organization/accept-invitation-mutation.ts
1529
- function gt(e) {
1530
- let t = v.acceptInvitation;
1562
+ function wt(e) {
1563
+ let t = y.acceptInvitation;
1531
1564
  return s({
1532
1565
  mutationKey: t,
1533
1566
  mutationFn: (t) => e.organization.acceptInvitation({
@@ -1539,21 +1572,21 @@ function gt(e) {
1539
1572
  })
1540
1573
  });
1541
1574
  }
1542
- function _t(e, t, n) {
1543
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1575
+ function Tt(e, t, n) {
1576
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1544
1577
  return u({
1545
- ...gt(e),
1578
+ ...wt(e),
1546
1579
  ...t,
1547
1580
  meta: {
1548
- awaits: [y.userInvitations.all(i), y.lists(i)],
1549
- invalidates: [y.fullDetails(i), y.activeOrganizations(i)]
1581
+ awaits: [b.userInvitations.all(i), b.lists(i)],
1582
+ invalidates: [b.fullDetails(i), b.activeOrganizations(i)]
1550
1583
  }
1551
1584
  }, n);
1552
1585
  }
1553
1586
  //#endregion
1554
1587
  //#region src/mutations/organization/cancel-invitation-mutation.ts
1555
- function vt(e) {
1556
- let t = v.cancelInvitation;
1588
+ function Et(e) {
1589
+ let t = y.cancelInvitation;
1557
1590
  return s({
1558
1591
  mutationKey: t,
1559
1592
  mutationFn: (t) => e.organization.cancelInvitation({
@@ -1565,18 +1598,18 @@ function vt(e) {
1565
1598
  })
1566
1599
  });
1567
1600
  }
1568
- function yt(e, t, n) {
1569
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1601
+ function Dt(e, t, n) {
1602
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1570
1603
  return u({
1571
- ...vt(e),
1604
+ ...Et(e),
1572
1605
  ...t,
1573
- meta: { awaits: [y.invitations.all(i), y.fullDetails(i)] }
1606
+ meta: { awaits: [b.invitations.all(i), b.fullDetails(i)] }
1574
1607
  }, n);
1575
1608
  }
1576
1609
  //#endregion
1577
1610
  //#region src/mutations/organization/check-slug-mutation.ts
1578
- function bt(e) {
1579
- let t = v.checkSlug;
1611
+ function Ot(e) {
1612
+ let t = y.checkSlug;
1580
1613
  return s({
1581
1614
  mutationKey: t,
1582
1615
  mutationFn: (t) => e.organization.checkSlug({
@@ -1588,16 +1621,16 @@ function bt(e) {
1588
1621
  })
1589
1622
  });
1590
1623
  }
1591
- function xt(e, t) {
1624
+ function kt(e, t) {
1592
1625
  return u({
1593
- ...bt(e),
1626
+ ...Ot(e),
1594
1627
  ...t
1595
1628
  });
1596
1629
  }
1597
1630
  //#endregion
1598
1631
  //#region src/mutations/organization/create-organization-mutation.ts
1599
- function St(e) {
1600
- let t = v.create;
1632
+ function At(e) {
1633
+ let t = y.create;
1601
1634
  return s({
1602
1635
  mutationKey: t,
1603
1636
  mutationFn: (t) => e.organization.create({
@@ -1609,21 +1642,21 @@ function St(e) {
1609
1642
  })
1610
1643
  });
1611
1644
  }
1612
- function Ct(e, t, n) {
1613
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1645
+ function jt(e, t, n) {
1646
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1614
1647
  return u({
1615
- ...St(e),
1648
+ ...At(e),
1616
1649
  ...t,
1617
1650
  meta: {
1618
- awaits: [y.lists(i)],
1619
- invalidates: [y.fullDetails(i), y.activeOrganizations(i)]
1651
+ awaits: [b.lists(i)],
1652
+ invalidates: [b.fullDetails(i), b.activeOrganizations(i)]
1620
1653
  }
1621
1654
  }, n);
1622
1655
  }
1623
1656
  //#endregion
1624
1657
  //#region src/mutations/organization/delete-organization-mutation.ts
1625
- function wt(e) {
1626
- let t = v.delete;
1658
+ function Mt(e) {
1659
+ let t = y.delete;
1627
1660
  return s({
1628
1661
  mutationKey: t,
1629
1662
  mutationFn: (t) => e.organization.delete({
@@ -1635,22 +1668,22 @@ function wt(e) {
1635
1668
  })
1636
1669
  });
1637
1670
  }
1638
- function Tt(e, t, n) {
1639
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1671
+ function Nt(e, t, n) {
1672
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1640
1673
  return u({
1641
- ...wt(e),
1674
+ ...Mt(e),
1642
1675
  ...t,
1643
1676
  meta: {
1644
- awaits: [y.lists(i)],
1645
- invalidates: [y.fullDetails(i), y.activeOrganizations(i)]
1677
+ awaits: [b.lists(i)],
1678
+ invalidates: [b.fullDetails(i), b.activeOrganizations(i)]
1646
1679
  }
1647
1680
  }, n);
1648
1681
  }
1649
1682
  //#endregion
1650
1683
  //#region src/queries/organization/active-organization-query.ts
1651
- function B(e, t, n) {
1684
+ function z(e, t, n) {
1652
1685
  return c({
1653
- queryKey: y.activeOrganization(t, n?.query),
1686
+ queryKey: b.activeOrganization(t, n?.query),
1654
1687
  queryFn: ({ signal: t }) => e.organization.getFullOrganization({
1655
1688
  ...n,
1656
1689
  fetchOptions: {
@@ -1661,9 +1694,9 @@ function B(e, t, n) {
1661
1694
  })
1662
1695
  });
1663
1696
  }
1664
- var Et = (e, t, n, r) => e.ensureQueryData(B(t, n, r)), Dt = (e, t, n, r) => e.prefetchQuery(B(t, n, r)), Ot = (e, t, n, r) => e.fetchQuery(B(t, n, r));
1665
- function V(e, t = {}, n) {
1666
- let { data: r } = R(e, void 0, n), a = r?.user.id, { slug: o } = i(le), { query: s, fetchOptions: c, ...u } = t, f = B(e, a, {
1697
+ var Pt = (e, t, n, r) => e.ensureQueryData(z(t, n, r)), Ft = (e, t, n, r) => e.prefetchQuery(z(t, n, r)), It = (e, t, n, r) => e.fetchQuery(z(t, n, r));
1698
+ function B(e, t = {}, n) {
1699
+ let { data: r } = L(e, void 0, n), a = r?.user.id, { slug: o } = i(le), { query: s, fetchOptions: c, ...u } = t, f = z(e, a, {
1667
1700
  fetchOptions: c,
1668
1701
  query: o ? { organizationSlug: o } : s
1669
1702
  });
@@ -1675,9 +1708,9 @@ function V(e, t = {}, n) {
1675
1708
  }
1676
1709
  //#endregion
1677
1710
  //#region src/queries/organization/full-organization-query.ts
1678
- function H(e, t, n) {
1711
+ function V(e, t, n) {
1679
1712
  return c({
1680
- queryKey: y.fullDetail(t, n?.query),
1713
+ queryKey: b.fullDetail(t, n?.query),
1681
1714
  queryFn: ({ signal: t }) => e.organization.getFullOrganization({
1682
1715
  ...n,
1683
1716
  fetchOptions: {
@@ -1688,9 +1721,9 @@ function H(e, t, n) {
1688
1721
  })
1689
1722
  });
1690
1723
  }
1691
- var kt = (e, t, n, r) => e.ensureQueryData(H(t, n, r)), At = (e, t, n, r) => e.prefetchQuery(H(t, n, r)), jt = (e, t, n, r) => e.fetchQuery(H(t, n, r));
1692
- function Mt(e, t = {}, n) {
1693
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = H(e, i, {
1724
+ var Lt = (e, t, n, r) => e.ensureQueryData(V(t, n, r)), Rt = (e, t, n, r) => e.prefetchQuery(V(t, n, r)), zt = (e, t, n, r) => e.fetchQuery(V(t, n, r));
1725
+ function Bt(e, t = {}, n) {
1726
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = V(e, i, {
1694
1727
  query: a,
1695
1728
  fetchOptions: o
1696
1729
  });
@@ -1702,10 +1735,10 @@ function Mt(e, t = {}, n) {
1702
1735
  }
1703
1736
  //#endregion
1704
1737
  //#region src/queries/organization/has-permission-query.ts
1705
- function U(e, t, n) {
1738
+ function H(e, t, n) {
1706
1739
  let { fetchOptions: r, ...i } = n;
1707
1740
  return c({
1708
- queryKey: y.permissions.has(t, i),
1741
+ queryKey: b.permissions.has(t, i),
1709
1742
  queryFn: ({ signal: t }) => e.organization.hasPermission({
1710
1743
  ...i,
1711
1744
  fetchOptions: {
@@ -1716,9 +1749,9 @@ function U(e, t, n) {
1716
1749
  })
1717
1750
  });
1718
1751
  }
1719
- var Nt = (e, t, n, r) => e.ensureQueryData(U(t, n, r)), Pt = (e, t, n, r) => e.prefetchQuery(U(t, n, r)), Ft = (e, t, n, r) => e.fetchQuery(U(t, n, r));
1720
- function It(e, t, n) {
1721
- let { data: r } = R(e, void 0, n), i = r?.user.id, { fetchOptions: a, permissions: o, organizationId: s, ...c } = t, { data: u } = V(e, { enabled: !s }, n), f = s ?? u?.id, p = U(e, i, {
1752
+ var Vt = (e, t, n, r) => e.ensureQueryData(H(t, n, r)), Ht = (e, t, n, r) => e.prefetchQuery(H(t, n, r)), Ut = (e, t, n, r) => e.fetchQuery(H(t, n, r));
1753
+ function Wt(e, t, n) {
1754
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { fetchOptions: a, permissions: o, organizationId: s, ...c } = t, { data: u } = B(e, { enabled: !s }, n), f = s ?? u?.id, p = H(e, i, {
1722
1755
  fetchOptions: a,
1723
1756
  organizationId: f,
1724
1757
  permissions: o
@@ -1731,9 +1764,9 @@ function It(e, t, n) {
1731
1764
  }
1732
1765
  //#endregion
1733
1766
  //#region src/queries/organization/list-invitations-query.ts
1734
- function W(e, t, n) {
1767
+ function U(e, t, n) {
1735
1768
  return c({
1736
- queryKey: y.invitations.list(t, n?.query),
1769
+ queryKey: b.invitations.list(t, n?.query),
1737
1770
  queryFn: ({ signal: t }) => e.organization.listInvitations({
1738
1771
  ...n,
1739
1772
  fetchOptions: {
@@ -1744,9 +1777,9 @@ function W(e, t, n) {
1744
1777
  })
1745
1778
  });
1746
1779
  }
1747
- var Lt = (e, t, n, r) => e.ensureQueryData(W(t, n, r)), Rt = (e, t, n, r) => e.prefetchQuery(W(t, n, r)), zt = (e, t, n, r) => e.fetchQuery(W(t, n, r));
1748
- function Bt(e, t = {}, n) {
1749
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, { data: c } = V(e, { enabled: !a?.organizationId }, n), u = a?.organizationId ?? c?.id, f = W(e, i, {
1780
+ var Gt = (e, t, n, r) => e.ensureQueryData(U(t, n, r)), Kt = (e, t, n, r) => e.prefetchQuery(U(t, n, r)), qt = (e, t, n, r) => e.fetchQuery(U(t, n, r));
1781
+ function Jt(e, t = {}, n) {
1782
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, { data: c } = B(e, { enabled: !a?.organizationId }, n), u = a?.organizationId ?? c?.id, f = U(e, i, {
1750
1783
  query: {
1751
1784
  ...a,
1752
1785
  organizationId: u
@@ -1761,9 +1794,9 @@ function Bt(e, t = {}, n) {
1761
1794
  }
1762
1795
  //#endregion
1763
1796
  //#region src/queries/organization/list-members-query.ts
1764
- function G(e, t, n) {
1797
+ function W(e, t, n) {
1765
1798
  return c({
1766
- queryKey: y.members.list(t, n?.query),
1799
+ queryKey: b.members.list(t, n?.query),
1767
1800
  queryFn: ({ signal: t }) => e.organization.listMembers({
1768
1801
  ...n,
1769
1802
  fetchOptions: {
@@ -1774,9 +1807,9 @@ function G(e, t, n) {
1774
1807
  })
1775
1808
  });
1776
1809
  }
1777
- var Vt = (e, t, n, r) => e.ensureQueryData(G(t, n, r)), Ht = (e, t, n, r) => e.prefetchQuery(G(t, n, r)), Ut = (e, t, n, r) => e.fetchQuery(G(t, n, r));
1778
- function Wt(e, t = {}, n) {
1779
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, { data: c } = V(e, { enabled: !a?.organizationId }, n), u = a?.organizationId ?? c?.id, f = G(e, i, {
1810
+ var Yt = (e, t, n, r) => e.ensureQueryData(W(t, n, r)), Xt = (e, t, n, r) => e.prefetchQuery(W(t, n, r)), Zt = (e, t, n, r) => e.fetchQuery(W(t, n, r));
1811
+ function Qt(e, t = {}, n) {
1812
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, { data: c } = B(e, { enabled: !a?.organizationId }, n), u = a?.organizationId ?? c?.id, f = W(e, i, {
1780
1813
  query: {
1781
1814
  ...a,
1782
1815
  organizationId: u
@@ -1791,9 +1824,9 @@ function Wt(e, t = {}, n) {
1791
1824
  }
1792
1825
  //#endregion
1793
1826
  //#region src/queries/organization/list-organizations-query.ts
1794
- function K(e, t, n) {
1827
+ function G(e, t, n) {
1795
1828
  return c({
1796
- queryKey: y.list(t, n?.query),
1829
+ queryKey: b.list(t, n?.query),
1797
1830
  queryFn: ({ signal: t }) => e.organization.list({
1798
1831
  ...n,
1799
1832
  fetchOptions: {
@@ -1804,9 +1837,9 @@ function K(e, t, n) {
1804
1837
  })
1805
1838
  });
1806
1839
  }
1807
- var Gt = (e, t, n, r) => e.ensureQueryData(K(t, n, r)), Kt = (e, t, n, r) => e.prefetchQuery(K(t, n, r)), qt = (e, t, n, r) => e.fetchQuery(K(t, n, r));
1808
- function Jt(e, t = {}, n) {
1809
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = K(e, i, {
1840
+ var $t = (e, t, n, r) => e.ensureQueryData(G(t, n, r)), en = (e, t, n, r) => e.prefetchQuery(G(t, n, r)), tn = (e, t, n, r) => e.fetchQuery(G(t, n, r));
1841
+ function nn(e, t = {}, n) {
1842
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = G(e, i, {
1810
1843
  query: a,
1811
1844
  fetchOptions: o
1812
1845
  });
@@ -1818,9 +1851,9 @@ function Jt(e, t = {}, n) {
1818
1851
  }
1819
1852
  //#endregion
1820
1853
  //#region src/queries/organization/list-user-invitations-query.ts
1821
- function q(e, t, n) {
1854
+ function K(e, t, n) {
1822
1855
  return c({
1823
- queryKey: y.userInvitations.list(t, n?.query),
1856
+ queryKey: b.userInvitations.list(t, n?.query),
1824
1857
  queryFn: ({ signal: t }) => e.organization.listUserInvitations({
1825
1858
  ...n,
1826
1859
  fetchOptions: {
@@ -1831,9 +1864,9 @@ function q(e, t, n) {
1831
1864
  })
1832
1865
  });
1833
1866
  }
1834
- var Yt = (e, t, n, r) => e.ensureQueryData(q(t, n, r)), Xt = (e, t, n, r) => e.prefetchQuery(q(t, n, r)), Zt = (e, t, n, r) => e.fetchQuery(q(t, n, r));
1835
- function Qt(e, t = {}, n) {
1836
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = q(e, i, {
1867
+ var rn = (e, t, n, r) => e.ensureQueryData(K(t, n, r)), an = (e, t, n, r) => e.prefetchQuery(K(t, n, r)), on = (e, t, n, r) => e.fetchQuery(K(t, n, r));
1868
+ function sn(e, t = {}, n) {
1869
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = K(e, i, {
1837
1870
  query: a,
1838
1871
  fetchOptions: o
1839
1872
  });
@@ -1845,8 +1878,8 @@ function Qt(e, t = {}, n) {
1845
1878
  }
1846
1879
  //#endregion
1847
1880
  //#region src/mutations/organization/invite-member-mutation.ts
1848
- function $t(e) {
1849
- let t = v.inviteMember;
1881
+ function cn(e) {
1882
+ let t = y.inviteMember;
1850
1883
  return s({
1851
1884
  mutationKey: t,
1852
1885
  mutationFn: (t) => e.organization.inviteMember({
@@ -1858,10 +1891,10 @@ function $t(e) {
1858
1891
  })
1859
1892
  });
1860
1893
  }
1861
- function en(e, t, n) {
1862
- let { data: r } = R(e, void 0, n), i = r?.user.id, { data: a } = V(e, void 0, n);
1894
+ function ln(e, t, n) {
1895
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { data: a } = B(e, void 0, n);
1863
1896
  return u({
1864
- ...$t(e),
1897
+ ...cn(e),
1865
1898
  ...t,
1866
1899
  mutationFn: (t) => e.organization.inviteMember({
1867
1900
  ...t,
@@ -1871,13 +1904,13 @@ function en(e, t, n) {
1871
1904
  throw: !0
1872
1905
  }
1873
1906
  }),
1874
- meta: { awaits: [y.invitations.all(i), y.fullDetails(i)] }
1907
+ meta: { awaits: [b.invitations.all(i), b.fullDetails(i)] }
1875
1908
  }, n);
1876
1909
  }
1877
1910
  //#endregion
1878
1911
  //#region src/mutations/organization/leave-organization-mutation.ts
1879
- function tn(e) {
1880
- let t = v.leave;
1912
+ function un(e) {
1913
+ let t = y.leave;
1881
1914
  return s({
1882
1915
  mutationKey: t,
1883
1916
  mutationFn: (t) => e.organization.leave({
@@ -1889,21 +1922,21 @@ function tn(e) {
1889
1922
  })
1890
1923
  });
1891
1924
  }
1892
- function nn(e, t, n) {
1893
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1925
+ function dn(e, t, n) {
1926
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1894
1927
  return u({
1895
- ...tn(e),
1928
+ ...un(e),
1896
1929
  ...t,
1897
1930
  meta: {
1898
- awaits: [y.members.all(i), y.fullDetails(i)],
1899
- invalidates: [y.lists(i), y.activeOrganizations(i)]
1931
+ awaits: [b.members.all(i), b.fullDetails(i)],
1932
+ invalidates: [b.lists(i), b.activeOrganizations(i)]
1900
1933
  }
1901
1934
  }, n);
1902
1935
  }
1903
1936
  //#endregion
1904
1937
  //#region src/mutations/organization/reject-invitation-mutation.ts
1905
- function rn(e) {
1906
- let t = v.rejectInvitation;
1938
+ function fn(e) {
1939
+ let t = y.rejectInvitation;
1907
1940
  return s({
1908
1941
  mutationKey: t,
1909
1942
  mutationFn: (t) => e.organization.rejectInvitation({
@@ -1915,18 +1948,18 @@ function rn(e) {
1915
1948
  })
1916
1949
  });
1917
1950
  }
1918
- function an(e, t, n) {
1919
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1951
+ function pn(e, t, n) {
1952
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1920
1953
  return u({
1921
- ...rn(e),
1954
+ ...fn(e),
1922
1955
  ...t,
1923
- meta: { awaits: [y.userInvitations.all(i)] }
1956
+ meta: { awaits: [b.userInvitations.all(i)] }
1924
1957
  }, n);
1925
1958
  }
1926
1959
  //#endregion
1927
1960
  //#region src/mutations/organization/remove-member-mutation.ts
1928
- function on(e) {
1929
- let t = v.removeMember;
1961
+ function mn(e) {
1962
+ let t = y.removeMember;
1930
1963
  return s({
1931
1964
  mutationKey: t,
1932
1965
  mutationFn: (t) => e.organization.removeMember({
@@ -1938,21 +1971,21 @@ function on(e) {
1938
1971
  })
1939
1972
  });
1940
1973
  }
1941
- function sn(e, t, n) {
1942
- let { data: r } = R(e, void 0, n), i = r?.user.id;
1974
+ function hn(e, t, n) {
1975
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
1943
1976
  return u({
1944
- ...on(e),
1977
+ ...mn(e),
1945
1978
  ...t,
1946
1979
  meta: {
1947
- awaits: [y.members.all(i), y.fullDetails(i)],
1948
- invalidates: [y.lists(i)]
1980
+ awaits: [b.members.all(i), b.fullDetails(i)],
1981
+ invalidates: [b.lists(i)]
1949
1982
  }
1950
1983
  }, n);
1951
1984
  }
1952
1985
  //#endregion
1953
1986
  //#region src/mutations/organization/set-active-organization-mutation.ts
1954
- function cn(e) {
1955
- let t = v.setActive;
1987
+ function gn(e) {
1988
+ let t = y.setActive;
1956
1989
  return s({
1957
1990
  mutationKey: t,
1958
1991
  mutationFn: (t) => e.organization.setActive({
@@ -1964,30 +1997,30 @@ function cn(e) {
1964
1997
  })
1965
1998
  });
1966
1999
  }
1967
- function ln(e, t, n) {
1968
- let { data: r } = R(e, void 0, n), i = r?.user.id, { data: a } = Jt(e, void 0, n);
2000
+ function _n(e, t, n) {
2001
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { data: a } = nn(e, void 0, n);
1969
2002
  return u({
1970
- ...cn(e),
2003
+ ...gn(e),
1971
2004
  ...t,
1972
2005
  onMutate: async (e, t) => {
1973
- await t.client.cancelQueries({ queryKey: y.activeOrganizations(i) });
1974
- let n = t.client.getQueriesData({ queryKey: y.activeOrganizations(i) });
1975
- if (e?.organizationId === null) return t.client.setQueriesData({ queryKey: y.activeOrganizations(i) }, null), { previousOrganizations: n };
2006
+ await t.client.cancelQueries({ queryKey: b.activeOrganizations(i) });
2007
+ let n = t.client.getQueriesData({ queryKey: b.activeOrganizations(i) });
2008
+ if (e?.organizationId === null) return t.client.setQueriesData({ queryKey: b.activeOrganizations(i) }, null), { previousOrganizations: n };
1976
2009
  let r = a?.find((t) => e?.organizationId !== void 0 && t.id === e.organizationId || e?.organizationSlug !== void 0 && t.slug === e.organizationSlug);
1977
- return r && t.client.setQueriesData({ queryKey: y.activeOrganizations(i) }, r), { previousOrganizations: n };
2010
+ return r && t.client.setQueriesData({ queryKey: b.activeOrganizations(i) }, r), { previousOrganizations: n };
1978
2011
  },
1979
2012
  onError: (e, n, r, i) => {
1980
2013
  let a = r?.previousOrganizations;
1981
2014
  if (a?.length && e.error) for (let [e, t] of a) i.client.setQueryData(e, t);
1982
2015
  return t?.onError?.(e, n, r, i);
1983
2016
  },
1984
- onSettled: async (e, n, r, a, o) => (await o.client.invalidateQueries({ queryKey: y.activeOrganizations(i) }), t?.onSettled?.(e, n, r, a, o))
2017
+ onSettled: async (e, n, r, a, o) => (await o.client.invalidateQueries({ queryKey: b.activeOrganizations(i) }), t?.onSettled?.(e, n, r, a, o))
1985
2018
  }, n);
1986
2019
  }
1987
2020
  //#endregion
1988
2021
  //#region src/mutations/organization/update-member-role-mutation.ts
1989
- function un(e) {
1990
- let t = v.updateMemberRole;
2022
+ function vn(e) {
2023
+ let t = y.updateMemberRole;
1991
2024
  return s({
1992
2025
  mutationKey: t,
1993
2026
  mutationFn: (t) => e.organization.updateMemberRole({
@@ -1999,10 +2032,10 @@ function un(e) {
1999
2032
  })
2000
2033
  });
2001
2034
  }
2002
- function dn(e, t, n) {
2003
- let { data: r } = R(e, void 0, n), i = r?.user.id, { data: a } = V(e, void 0, n);
2035
+ function yn(e, t, n) {
2036
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { data: a } = B(e, void 0, n);
2004
2037
  return u({
2005
- ...un(e),
2038
+ ...vn(e),
2006
2039
  ...t,
2007
2040
  mutationFn: (t) => e.organization.updateMemberRole({
2008
2041
  ...t,
@@ -2013,15 +2046,15 @@ function dn(e, t, n) {
2013
2046
  }
2014
2047
  }),
2015
2048
  meta: {
2016
- awaits: [y.members.all(i), y.fullDetails(i)],
2017
- invalidates: [y.permissions.all(i)]
2049
+ awaits: [b.members.all(i), b.fullDetails(i)],
2050
+ invalidates: [b.permissions.all(i)]
2018
2051
  }
2019
2052
  }, n);
2020
2053
  }
2021
2054
  //#endregion
2022
2055
  //#region src/mutations/organization/update-organization-mutation.ts
2023
- function fn(e) {
2024
- let t = v.update;
2056
+ function bn(e) {
2057
+ let t = y.update;
2025
2058
  return s({
2026
2059
  mutationKey: t,
2027
2060
  mutationFn: (t) => e.organization.update({
@@ -2033,10 +2066,10 @@ function fn(e) {
2033
2066
  })
2034
2067
  });
2035
2068
  }
2036
- function pn(e, t, n) {
2037
- let { data: r } = R(e, void 0, n), i = r?.user.id, { data: a } = V(e, void 0, n);
2069
+ function xn(e, t, n) {
2070
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { data: a } = B(e, void 0, n);
2038
2071
  return u({
2039
- ...fn(e),
2072
+ ...bn(e),
2040
2073
  ...t,
2041
2074
  mutationFn: (t) => e.organization.update({
2042
2075
  ...t,
@@ -2047,16 +2080,16 @@ function pn(e, t, n) {
2047
2080
  }
2048
2081
  }),
2049
2082
  meta: { awaits: [
2050
- y.lists(i),
2051
- y.fullDetails(i),
2052
- y.activeOrganizations(i)
2083
+ b.lists(i),
2084
+ b.fullDetails(i),
2085
+ b.activeOrganizations(i)
2053
2086
  ] }
2054
2087
  }, n);
2055
2088
  }
2056
2089
  //#endregion
2057
2090
  //#region src/mutations/passkey/add-passkey-mutation.ts
2058
- function mn(e) {
2059
- let t = b.addPasskey;
2091
+ function Sn(e) {
2092
+ let t = x.addPasskey;
2060
2093
  return s({
2061
2094
  mutationKey: t,
2062
2095
  mutationFn: (t) => e.passkey.addPasskey({
@@ -2068,18 +2101,18 @@ function mn(e) {
2068
2101
  })
2069
2102
  });
2070
2103
  }
2071
- function hn(e, t, n) {
2072
- let { data: r } = R(e, void 0, n), i = r?.user.id;
2104
+ function Cn(e, t, n) {
2105
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
2073
2106
  return u({
2074
- ...mn(e),
2107
+ ...Sn(e),
2075
2108
  ...t,
2076
- meta: { awaits: [x.lists(i)] }
2109
+ meta: { awaits: [S.lists(i)] }
2077
2110
  }, n);
2078
2111
  }
2079
2112
  //#endregion
2080
2113
  //#region src/mutations/passkey/delete-passkey-mutation.ts
2081
- function gn(e) {
2082
- let t = b.deletePasskey;
2114
+ function wn(e) {
2115
+ let t = x.deletePasskey;
2083
2116
  return s({
2084
2117
  mutationKey: t,
2085
2118
  mutationFn: (t) => e.passkey.deletePasskey({
@@ -2091,18 +2124,18 @@ function gn(e) {
2091
2124
  })
2092
2125
  });
2093
2126
  }
2094
- function _n(e, t, n) {
2095
- let { data: r } = R(e, void 0, n), i = r?.user.id;
2127
+ function Tn(e, t, n) {
2128
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
2096
2129
  return u({
2097
- ...gn(e),
2130
+ ...wn(e),
2098
2131
  ...t,
2099
- meta: { awaits: [x.lists(i)] }
2132
+ meta: { awaits: [S.lists(i)] }
2100
2133
  }, n);
2101
2134
  }
2102
2135
  //#endregion
2103
2136
  //#region src/mutations/passkey/sign-in-passkey-mutation.ts
2104
- function vn(e) {
2105
- let t = b.signIn;
2137
+ function En(e) {
2138
+ let t = x.signIn;
2106
2139
  return s({
2107
2140
  mutationKey: t,
2108
2141
  mutationFn: (t) => e.signIn.passkey({
@@ -2114,16 +2147,16 @@ function vn(e) {
2114
2147
  })
2115
2148
  });
2116
2149
  }
2117
- function yn(e, t, n) {
2150
+ function Dn(e, t, n) {
2118
2151
  return u({
2119
- ...vn(e),
2152
+ ...En(e),
2120
2153
  ...t,
2121
2154
  meta: { awaits: [o.session] }
2122
2155
  }, n);
2123
2156
  }
2124
2157
  //#endregion
2125
2158
  //#region src/mutations/settings/change-email-mutation.ts
2126
- function bn(e) {
2159
+ function On(e) {
2127
2160
  let t = a.changeEmail;
2128
2161
  return s({
2129
2162
  mutationKey: t,
@@ -2136,16 +2169,16 @@ function bn(e) {
2136
2169
  })
2137
2170
  });
2138
2171
  }
2139
- function xn(e, t, n) {
2172
+ function kn(e, t, n) {
2140
2173
  return u({
2141
- ...bn(e),
2174
+ ...On(e),
2142
2175
  ...t,
2143
2176
  meta: { awaits: [o.session] }
2144
2177
  }, n);
2145
2178
  }
2146
2179
  //#endregion
2147
2180
  //#region src/mutations/settings/change-password-mutation.ts
2148
- function Sn(e) {
2181
+ function An(e) {
2149
2182
  let t = a.changePassword;
2150
2183
  return s({
2151
2184
  mutationKey: t,
@@ -2158,15 +2191,15 @@ function Sn(e) {
2158
2191
  })
2159
2192
  });
2160
2193
  }
2161
- function Cn(e, t) {
2194
+ function jn(e, t) {
2162
2195
  return u({
2163
- ...Sn(e),
2196
+ ...An(e),
2164
2197
  ...t
2165
2198
  });
2166
2199
  }
2167
2200
  //#endregion
2168
2201
  //#region src/mutations/settings/delete-user-mutation.ts
2169
- function wn(e) {
2202
+ function Mn(e) {
2170
2203
  let t = ie.deleteUser;
2171
2204
  return s({
2172
2205
  mutationKey: t,
@@ -2179,15 +2212,15 @@ function wn(e) {
2179
2212
  })
2180
2213
  });
2181
2214
  }
2182
- function Tn(e, t) {
2215
+ function Nn(e, t) {
2183
2216
  return u({
2184
- ...wn(e),
2217
+ ...Mn(e),
2185
2218
  ...t
2186
2219
  });
2187
2220
  }
2188
2221
  //#endregion
2189
2222
  //#region src/mutations/settings/link-social-mutation.ts
2190
- function En(e) {
2223
+ function Pn(e) {
2191
2224
  let t = a.linkSocial;
2192
2225
  return s({
2193
2226
  mutationKey: t,
@@ -2200,15 +2233,15 @@ function En(e) {
2200
2233
  })
2201
2234
  });
2202
2235
  }
2203
- function Dn(e, t) {
2236
+ function Fn(e, t) {
2204
2237
  return u({
2205
- ...En(e),
2238
+ ...Pn(e),
2206
2239
  ...t
2207
2240
  });
2208
2241
  }
2209
2242
  //#endregion
2210
2243
  //#region src/mutations/settings/revoke-session-mutation.ts
2211
- function On(e) {
2244
+ function In(e) {
2212
2245
  let t = a.revokeSession;
2213
2246
  return s({
2214
2247
  mutationKey: t,
@@ -2221,17 +2254,17 @@ function On(e) {
2221
2254
  })
2222
2255
  });
2223
2256
  }
2224
- function kn(e, t, n) {
2225
- let { data: r } = R(e, void 0, n), i = r?.user.id;
2257
+ function Ln(e, t, n) {
2258
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
2226
2259
  return u({
2227
- ...On(e),
2260
+ ...In(e),
2228
2261
  ...t,
2229
2262
  meta: { awaits: [o.listSessions(i)] }
2230
2263
  }, n);
2231
2264
  }
2232
2265
  //#endregion
2233
2266
  //#region src/mutations/settings/unlink-account-mutation.ts
2234
- function An(e) {
2267
+ function q(e) {
2235
2268
  let t = a.unlinkAccount;
2236
2269
  return s({
2237
2270
  mutationKey: t,
@@ -2244,17 +2277,17 @@ function An(e) {
2244
2277
  })
2245
2278
  });
2246
2279
  }
2247
- function jn(e, t, n) {
2248
- let { data: r } = R(e, void 0, n), i = r?.user.id;
2280
+ function Rn(e, t, n) {
2281
+ let { data: r } = L(e, void 0, n), i = r?.user.id;
2249
2282
  return u({
2250
- ...An(e),
2283
+ ...q(e),
2251
2284
  ...t,
2252
2285
  meta: { awaits: [o.listAccounts(i)] }
2253
2286
  }, n);
2254
2287
  }
2255
2288
  //#endregion
2256
2289
  //#region src/mutations/settings/update-user-mutation.ts
2257
- function Mn(e) {
2290
+ function zn(e) {
2258
2291
  let t = a.updateUser;
2259
2292
  return s({
2260
2293
  mutationKey: t,
@@ -2267,16 +2300,16 @@ function Mn(e) {
2267
2300
  })
2268
2301
  });
2269
2302
  }
2270
- function Nn(e, t, n) {
2303
+ function Bn(e, t, n) {
2271
2304
  return u({
2272
- ...Mn(e),
2305
+ ...zn(e),
2273
2306
  ...t,
2274
2307
  meta: { awaits: [o.session] }
2275
2308
  }, n);
2276
2309
  }
2277
2310
  //#endregion
2278
2311
  //#region src/mutations/username/is-username-available-mutation.ts
2279
- function Pn(e) {
2312
+ function Vn(e) {
2280
2313
  let t = ue.isUsernameAvailable;
2281
2314
  return s({
2282
2315
  mutationKey: t,
@@ -2289,15 +2322,15 @@ function Pn(e) {
2289
2322
  })
2290
2323
  });
2291
2324
  }
2292
- function Fn(e, t) {
2325
+ function Hn(e, t) {
2293
2326
  return u({
2294
- ...Pn(e),
2327
+ ...Vn(e),
2295
2328
  ...t
2296
2329
  });
2297
2330
  }
2298
2331
  //#endregion
2299
2332
  //#region src/mutations/username/sign-in-username-mutation.ts
2300
- function In(e) {
2333
+ function Un(e) {
2301
2334
  let t = ue.signIn;
2302
2335
  return s({
2303
2336
  mutationKey: t,
@@ -2310,9 +2343,9 @@ function In(e) {
2310
2343
  })
2311
2344
  });
2312
2345
  }
2313
- function Ln(e, t, n) {
2346
+ function Wn(e, t, n) {
2314
2347
  return u({
2315
- ...In(e),
2348
+ ...Un(e),
2316
2349
  ...t,
2317
2350
  meta: { awaits: [o.session] }
2318
2351
  }, n);
@@ -2332,9 +2365,9 @@ function J(e, t, n) {
2332
2365
  })
2333
2366
  });
2334
2367
  }
2335
- var Rn = (e, t, n, r) => e.ensureQueryData(J(t, n, r)), zn = (e, t, n, r) => e.prefetchQuery(J(t, n, r)), Bn = (e, t, n, r) => e.fetchQuery(J(t, n, r));
2336
- function Vn(e, t = {}, n) {
2337
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = J(e, i, {
2368
+ var Gn = (e, t, n, r) => e.ensureQueryData(J(t, n, r)), Kn = (e, t, n, r) => e.prefetchQuery(J(t, n, r)), qn = (e, t, n, r) => e.fetchQuery(J(t, n, r));
2369
+ function Jn(e, t = {}, n) {
2370
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = J(e, i, {
2338
2371
  query: a,
2339
2372
  fetchOptions: o
2340
2373
  });
@@ -2348,7 +2381,7 @@ function Vn(e, t = {}, n) {
2348
2381
  //#region src/queries/multi-session/list-device-sessions-query.ts
2349
2382
  function Y(e, t, n) {
2350
2383
  return c({
2351
- queryKey: _.list(t, n?.query),
2384
+ queryKey: v.list(t, n?.query),
2352
2385
  queryFn: ({ signal: t }) => e.multiSession.listDeviceSessions({
2353
2386
  ...n,
2354
2387
  fetchOptions: {
@@ -2359,9 +2392,9 @@ function Y(e, t, n) {
2359
2392
  })
2360
2393
  });
2361
2394
  }
2362
- var Hn = (e, t, n, r) => e.ensureQueryData(Y(t, n, r)), Un = (e, t, n, r) => e.prefetchQuery(Y(t, n, r)), Wn = (e, t, n, r) => e.fetchQuery(Y(t, n, r));
2363
- function Gn(e, t = {}, n) {
2364
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = Y(e, i, {
2395
+ var Yn = (e, t, n, r) => e.ensureQueryData(Y(t, n, r)), Xn = (e, t, n, r) => e.prefetchQuery(Y(t, n, r)), Zn = (e, t, n, r) => e.fetchQuery(Y(t, n, r));
2396
+ function Qn(e, t = {}, n) {
2397
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = Y(e, i, {
2365
2398
  query: a,
2366
2399
  fetchOptions: o
2367
2400
  });
@@ -2375,7 +2408,7 @@ function Gn(e, t = {}, n) {
2375
2408
  //#region src/queries/passkey/list-passkeys-query.ts
2376
2409
  function X(e, t, n) {
2377
2410
  return c({
2378
- queryKey: x.list(t, n?.query),
2411
+ queryKey: S.list(t, n?.query),
2379
2412
  queryFn: ({ signal: t }) => e.passkey.listUserPasskeys({
2380
2413
  ...n,
2381
2414
  fetchOptions: {
@@ -2386,9 +2419,9 @@ function X(e, t, n) {
2386
2419
  })
2387
2420
  });
2388
2421
  }
2389
- var Kn = (e, t, n, r) => e.ensureQueryData(X(t, n, r)), qn = (e, t, n, r) => e.prefetchQuery(X(t, n, r)), Jn = (e, t, n, r) => e.fetchQuery(X(t, n, r));
2390
- function Yn(e, t = {}, n) {
2391
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = X(e, i, {
2422
+ var $n = (e, t, n, r) => e.ensureQueryData(X(t, n, r)), er = (e, t, n, r) => e.prefetchQuery(X(t, n, r)), tr = (e, t, n, r) => e.fetchQuery(X(t, n, r));
2423
+ function nr(e, t = {}, n) {
2424
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = X(e, i, {
2392
2425
  query: a,
2393
2426
  fetchOptions: o
2394
2427
  });
@@ -2413,9 +2446,9 @@ function Z(e, t, n) {
2413
2446
  })
2414
2447
  });
2415
2448
  }
2416
- var Xn = (e, t, n, r) => e.ensureQueryData(Z(t, n, r)), Zn = (e, t, n, r) => e.prefetchQuery(Z(t, n, r)), Qn = (e, t, n, r) => e.fetchQuery(Z(t, n, r));
2417
- function $n(e, t = {}, n) {
2418
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = Z(e, i, {
2449
+ var rr = (e, t, n, r) => e.ensureQueryData(Z(t, n, r)), ir = (e, t, n, r) => e.prefetchQuery(Z(t, n, r)), ar = (e, t, n, r) => e.fetchQuery(Z(t, n, r));
2450
+ function or(e, t = {}, n) {
2451
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = Z(e, i, {
2419
2452
  query: a,
2420
2453
  fetchOptions: o
2421
2454
  }), u = !!(i && a?.accountId);
@@ -2440,9 +2473,9 @@ function Q(e, t, n) {
2440
2473
  })
2441
2474
  });
2442
2475
  }
2443
- var er = (e, t, n, r) => e.ensureQueryData(Q(t, n, r)), tr = (e, t, n, r) => e.prefetchQuery(Q(t, n, r)), nr = (e, t, n, r) => e.fetchQuery(Q(t, n, r));
2444
- function rr(e, t = {}, n) {
2445
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = Q(e, i, {
2476
+ var sr = (e, t, n, r) => e.ensureQueryData(Q(t, n, r)), cr = (e, t, n, r) => e.prefetchQuery(Q(t, n, r)), lr = (e, t, n, r) => e.fetchQuery(Q(t, n, r));
2477
+ function ur(e, t = {}, n) {
2478
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = Q(e, i, {
2446
2479
  query: a,
2447
2480
  fetchOptions: o
2448
2481
  });
@@ -2467,9 +2500,9 @@ function $(e, t, n) {
2467
2500
  })
2468
2501
  });
2469
2502
  }
2470
- var ir = (e, t, n, r) => e.ensureQueryData($(t, n, r)), ar = (e, t, n, r) => e.prefetchQuery($(t, n, r)), or = (e, t, n, r) => e.fetchQuery($(t, n, r));
2471
- function sr(e, t = {}, n) {
2472
- let { data: r } = R(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = $(e, i, {
2503
+ var dr = (e, t, n, r) => e.ensureQueryData($(t, n, r)), fr = (e, t, n, r) => e.prefetchQuery($(t, n, r)), pr = (e, t, n, r) => e.fetchQuery($(t, n, r));
2504
+ function mr(e, t = {}, n) {
2505
+ let { data: r } = L(e, void 0, n), i = r?.user.id, { query: a, fetchOptions: o, ...s } = t, c = $(e, i, {
2473
2506
  query: a,
2474
2507
  fetchOptions: o
2475
2508
  });
@@ -2480,4 +2513,4 @@ function sr(e, t = {}, n) {
2480
2513
  }, n);
2481
2514
  }
2482
2515
  //#endregion
2483
- export { de as Apple, fe as Atlassian, n as AuthProvider, pe as Cognito, me as Discord, he as Dropbox, ge as Facebook, t as FetchOptionsProvider, _e as Figma, ve as GitHub, S as GitLab, C as Google, w as HuggingFace, T as Kakao, E as Kick, D as Line, O as Linear, k as LinkedIn, A as Microsoft, j as Naver, M as Notion, P as PayPal, N as Paybin, F as Polar, I as Railway, ye as Reddit, be as Roblox, xe as Salesforce, Se as Slack, Ce as Spotify, Ne as ThemePreviewDark, Me as ThemePreviewLight, je as ThemePreviewSystem, we as TikTok, Te as Twitch, De as VK, Ee as Vercel, Oe as WeChat, ke as X, Ae as Zoom, gt as acceptInvitationOptions, Z as accountInfoOptions, B as activeOrganizationOptions, mn as addPasskeyOptions, He as authMutationOptions, We as authQueryOptions, vt as cancelInvitationOptions, bn as changeEmailOptions, Sn as changePasswordOptions, bt as checkSlugOptions, qe as createApiKeyOptions, St as createOrganizationOptions, Ye as deleteApiKeyOptions, wt as deleteOrganizationOptions, gn as deletePasskeyOptions, wn as deleteUserOptions, Xn as ensureAccountInfo, Et as ensureActiveOrganization, kt as ensureFullOrganization, Nt as ensureHasPermission, er as ensureListAccounts, Rn as ensureListApiKeys, Hn as ensureListDeviceSessions, Lt as ensureListOrganizationInvitations, Vt as ensureListOrganizationMembers, Gt as ensureListOrganizations, Kn as ensureListPasskeys, ir as ensureListSessions, Yt as ensureListUserInvitations, Pe as ensureSession, Qn as fetchAccountInfo, Ot as fetchActiveOrganization, jt as fetchFullOrganization, Ft as fetchHasPermission, nr as fetchListAccounts, Bn as fetchListApiKeys, Wn as fetchListDeviceSessions, zt as fetchListOrganizationInvitations, Ut as fetchListOrganizationMembers, qt as fetchListOrganizations, Jn as fetchListPasskeys, or as fetchListSessions, Zt as fetchListUserInvitations, Ie as fetchSession, H as fullOrganizationOptions, U as hasPermissionOptions, $t as inviteMemberOptions, Pn as isUsernameAvailableOptions, tn as leaveOrganizationOptions, En as linkSocialOptions, Q as listAccountsOptions, J as listApiKeysOptions, Y as listDeviceSessionsOptions, W as listOrganizationInvitationsOptions, G as listOrganizationMembersOptions, K as listOrganizationsOptions, X as listPasskeysOptions, $ as listSessionsOptions, q as listUserInvitationsOptions, Zn as prefetchAccountInfo, Dt as prefetchActiveOrganization, At as prefetchFullOrganization, Pt as prefetchHasPermission, tr as prefetchListAccounts, zn as prefetchListApiKeys, Un as prefetchListDeviceSessions, Rt as prefetchListOrganizationInvitations, Ht as prefetchListOrganizationMembers, Kt as prefetchListOrganizations, qn as prefetchListPasskeys, ar as prefetchListSessions, Xt as prefetchListUserInvitations, Fe as prefetchSession, Ke as providerIcons, rn as rejectInvitationOptions, on as removeMemberOptions, Ze as requestPasswordResetOptions, $e as resetPasswordOptions, pt as revokeMultiSessionOptions, On as revokeSessionOptions, tt as sendVerificationEmailOptions, L as sessionOptions, cn as setActiveOrganizationOptions, z as setActiveSessionOptions, rt as signInEmailOptions, dt as signInMagicLinkOptions, vn as signInPasskeyOptions, at as signInSocialOptions, In as signInUsernameOptions, st as signOutOptions, lt as signUpEmailOptions, An as unlinkAccountOptions, un as updateMemberRoleOptions, fn as updateOrganizationOptions, Mn as updateUserOptions, _t as useAcceptInvitation, $n as useAccountInfo, V as useActiveOrganization, hn as useAddPasskey, r as useAuth, Ue as useAuthMutation, i as useAuthPlugin, Ge as useAuthQuery, Le as useAuthenticate, yt as useCancelInvitation, xn as useChangeEmail, Cn as useChangePassword, xt as useCheckSlug, Je as useCreateApiKey, Ct as useCreateOrganization, Xe as useDeleteApiKey, Tt as useDeleteOrganization, _n as useDeletePasskey, Tn as useDeleteUser, e as useFetchOptions, Mt as useFullOrganization, It as useHasPermission, en as useInviteMember, Fn as useIsUsernameAvailable, Be as useLastLoginMethod, nn as useLeaveOrganization, Dn as useLinkSocial, rr as useListAccounts, Vn as useListApiKeys, Gn as useListDeviceSessions, Bt as useListOrganizationInvitations, Wt as useListOrganizationMembers, Jt as useListOrganizations, Yn as useListPasskeys, sr as useListSessions, Qt as useListUserInvitations, an as useRejectInvitation, sn as useRemoveMember, Qe as useRequestPasswordReset, et as useResetPassword, mt as useRevokeMultiSession, kn as useRevokeSession, nt as useSendVerificationEmail, R as useSession, ln as useSetActiveOrganization, ht as useSetActiveSession, it as useSignInEmail, ft as useSignInMagicLink, yn as useSignInPasskey, ot as useSignInSocial, Ln as useSignInUsername, ct as useSignOut, ut as useSignUpEmail, jn as useUnlinkAccount, dn as useUpdateMemberRole, pn as useUpdateOrganization, Nn as useUpdateUser, Ve as useUser };
2516
+ export { de as Apple, fe as Atlassian, n as AuthProvider, pe as Cognito, me as Discord, he as Dropbox, ge as Facebook, t as FetchOptionsProvider, _e as Figma, ve as GitHub, ye as GitLab, be as Google, xe as HuggingFace, Se as Kakao, Ce as Kick, we as Line, Te as Linear, Ee as LinkedIn, C as Microsoft, w as Naver, T as Notion, D as PayPal, E as Paybin, O as Polar, k as Railway, A as Reddit, j as Roblox, M as Salesforce, N as Slack, P as Spotify, Fe as ThemePreviewDark, Pe as ThemePreviewLight, Ne as ThemePreviewSystem, F as TikTok, De as Twitch, ke as VK, Oe as Vercel, Ae as WeChat, je as X, Me as Zoom, wt as acceptInvitationOptions, Z as accountInfoOptions, z as activeOrganizationOptions, Sn as addPasskeyOptions, ft as approveDeviceOptions, R as authMutationOptions, Ge as authQueryOptions, Et as cancelInvitationOptions, On as changeEmailOptions, An as changePasswordOptions, Ot as checkSlugOptions, Je as createApiKeyOptions, At as createOrganizationOptions, Xe as deleteApiKeyOptions, Mt as deleteOrganizationOptions, wn as deletePasskeyOptions, Mn as deleteUserOptions, mt as denyDeviceOptions, rr as ensureAccountInfo, Pt as ensureActiveOrganization, Lt as ensureFullOrganization, Vt as ensureHasPermission, sr as ensureListAccounts, Gn as ensureListApiKeys, Yn as ensureListDeviceSessions, Gt as ensureListOrganizationInvitations, Yt as ensureListOrganizationMembers, $t as ensureListOrganizations, $n as ensureListPasskeys, dr as ensureListSessions, rn as ensureListUserInvitations, Ie as ensureSession, ar as fetchAccountInfo, It as fetchActiveOrganization, zt as fetchFullOrganization, Ut as fetchHasPermission, lr as fetchListAccounts, qn as fetchListApiKeys, Zn as fetchListDeviceSessions, qt as fetchListOrganizationInvitations, Zt as fetchListOrganizationMembers, tn as fetchListOrganizations, tr as fetchListPasskeys, pr as fetchListSessions, on as fetchListUserInvitations, Re as fetchSession, V as fullOrganizationOptions, H as hasPermissionOptions, cn as inviteMemberOptions, Vn as isUsernameAvailableOptions, un as leaveOrganizationOptions, Pn as linkSocialOptions, Q as listAccountsOptions, J as listApiKeysOptions, Y as listDeviceSessionsOptions, U as listOrganizationInvitationsOptions, W as listOrganizationMembersOptions, G as listOrganizationsOptions, X as listPasskeysOptions, $ as listSessionsOptions, K as listUserInvitationsOptions, ir as prefetchAccountInfo, Ft as prefetchActiveOrganization, Rt as prefetchFullOrganization, Ht as prefetchHasPermission, cr as prefetchListAccounts, Kn as prefetchListApiKeys, Xn as prefetchListDeviceSessions, Kt as prefetchListOrganizationInvitations, Xt as prefetchListOrganizationMembers, en as prefetchListOrganizations, er as prefetchListPasskeys, fr as prefetchListSessions, an as prefetchListUserInvitations, Le as prefetchSession, qe as providerIcons, fn as rejectInvitationOptions, mn as removeMemberOptions, Qe as requestPasswordResetOptions, et as resetPasswordOptions, bt as revokeMultiSessionOptions, In as revokeSessionOptions, nt as sendVerificationEmailOptions, I as sessionOptions, gn as setActiveOrganizationOptions, St as setActiveSessionOptions, it as signInEmailOptions, vt as signInMagicLinkOptions, En as signInPasskeyOptions, ot as signInSocialOptions, Un as signInUsernameOptions, ct as signOutOptions, ut as signUpEmailOptions, q as unlinkAccountOptions, vn as updateMemberRoleOptions, bn as updateOrganizationOptions, zn as updateUserOptions, Tt as useAcceptInvitation, or as useAccountInfo, B as useActiveOrganization, Cn as useAddPasskey, pt as useApproveDevice, r as useAuth, We as useAuthMutation, i as useAuthPlugin, Ke as useAuthQuery, ze as useAuthenticate, Dt as useCancelInvitation, kn as useChangeEmail, jn as useChangePassword, kt as useCheckSlug, Ye as useCreateApiKey, jt as useCreateOrganization, Ze as useDeleteApiKey, Nt as useDeleteOrganization, Tn as useDeletePasskey, Nn as useDeleteUser, ht as useDenyDevice, e as useFetchOptions, Bt as useFullOrganization, Wt as useHasPermission, ln as useInviteMember, Hn as useIsUsernameAvailable, He as useLastLoginMethod, dn as useLeaveOrganization, Fn as useLinkSocial, ur as useListAccounts, Jn as useListApiKeys, Qn as useListDeviceSessions, Jt as useListOrganizationInvitations, Qt as useListOrganizationMembers, nn as useListOrganizations, nr as useListPasskeys, mr as useListSessions, sn as useListUserInvitations, pn as useRejectInvitation, hn as useRemoveMember, $e as useRequestPasswordReset, tt as useResetPassword, xt as useRevokeMultiSession, Ln as useRevokeSession, rt as useSendVerificationEmail, L as useSession, _n as useSetActiveOrganization, Ct as useSetActiveSession, at as useSignInEmail, yt as useSignInMagicLink, Dn as useSignInPasskey, st as useSignInSocial, Wn as useSignInUsername, lt as useSignOut, dt as useSignUpEmail, Rn as useUnlinkAccount, yn as useUpdateMemberRole, xn as useUpdateOrganization, Bn as useUpdateUser, Ue as useUser, _t as useVerifyDeviceCode, gt as verifyDeviceCodeOptions };