@hexclave/shared 1.0.54 → 1.0.55

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 (93) hide show
  1. package/dist/{admin-interface-DuboQXpC.d.ts → admin-interface-DIt0PvhC.d.ts} +11 -11
  2. package/dist/{admin-interface-DuboQXpC.d.ts.map → admin-interface-DIt0PvhC.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-IxLyJ-cP.d.ts → admin-metrics-bsOkw4YQ.d.ts} +18 -18
  4. package/dist/{admin-metrics-IxLyJ-cP.d.ts.map → admin-metrics-bsOkw4YQ.d.ts.map} +1 -1
  5. package/dist/ai/unified-prompts/reminders.js +1 -1
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/{client-interface-Ca6UZywk.d.ts → client-interface-BQz4jNAC.d.ts} +9 -9
  8. package/dist/{client-interface-Ca6UZywk.d.ts.map → client-interface-BQz4jNAC.d.ts.map} +1 -1
  9. package/dist/config/schema-fuzzer.test.js +1 -1
  10. package/dist/config/schema.d.ts +1 -1
  11. package/dist/config/schema.js +1 -1
  12. package/dist/config-authoring.d.ts +1 -1
  13. package/dist/{current-user-DNxac4sS.d.ts → current-user-BBoN3hsn.d.ts} +15 -15
  14. package/dist/{current-user-DNxac4sS.d.ts.map → current-user-BBoN3hsn.d.ts.map} +1 -1
  15. package/dist/{email-outbox-ILs0LlGd.d.ts → email-outbox-CqzwInBL.d.ts} +95 -95
  16. package/dist/{email-outbox-ILs0LlGd.d.ts.map → email-outbox-CqzwInBL.d.ts.map} +1 -1
  17. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  18. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  19. package/dist/esm/config/schema-fuzzer.test.js +1 -1
  20. package/dist/esm/config/schema.d.ts +99 -99
  21. package/dist/esm/config/schema.js +1 -1
  22. package/dist/esm/interface/admin-interface.js +1 -1
  23. package/dist/esm/interface/admin-metrics.d.ts +17 -17
  24. package/dist/esm/interface/client-interface.js +2 -2
  25. package/dist/esm/interface/conversations.d.ts +10 -10
  26. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  27. package/dist/esm/interface/crud/email-outbox.d.ts +94 -94
  28. package/dist/esm/interface/crud/products.d.ts +17 -17
  29. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  30. package/dist/esm/interface/crud/projects.d.ts +28 -28
  31. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  32. package/dist/esm/interface/crud/transactions.d.ts +15 -15
  33. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  34. package/dist/esm/interface/crud/users.d.ts +16 -16
  35. package/dist/esm/interface/plan-usage.d.ts +2 -2
  36. package/dist/esm/interface/server-interface.js +1 -1
  37. package/dist/esm/interface/webhooks.d.ts +2 -2
  38. package/dist/esm/known-errors.d.ts +3 -3
  39. package/dist/esm/schema-fields.d.ts +5 -5
  40. package/dist/esm/sessions.d.ts +8 -8
  41. package/dist/helpers/password.d.ts +1 -1
  42. package/dist/helpers/production-mode.d.ts +1 -1
  43. package/dist/index.d.ts +4 -4
  44. package/dist/interface/admin-interface.d.ts +2 -2
  45. package/dist/interface/admin-interface.js +1 -1
  46. package/dist/interface/admin-metrics.d.ts +1 -1
  47. package/dist/interface/client-interface.d.ts +1 -1
  48. package/dist/interface/client-interface.js +2 -2
  49. package/dist/interface/conversations.d.ts +10 -10
  50. package/dist/interface/crud/current-user.d.ts +1 -1
  51. package/dist/interface/crud/email-outbox.d.ts +1 -1
  52. package/dist/interface/crud/products.d.ts +1 -1
  53. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  54. package/dist/interface/crud/projects.d.ts +1 -1
  55. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  56. package/dist/interface/crud/transactions.d.ts +1 -1
  57. package/dist/interface/crud/users.d.ts +1 -1
  58. package/dist/interface/plan-usage.d.ts +1 -1
  59. package/dist/interface/server-interface.d.ts +1 -1
  60. package/dist/interface/server-interface.js +1 -1
  61. package/dist/interface/webhooks.d.ts +1 -1
  62. package/dist/{known-errors-g7JC8z58.d.ts → known-errors-Bm4a61wL.d.ts} +4 -4
  63. package/dist/{known-errors-g7JC8z58.d.ts.map → known-errors-Bm4a61wL.d.ts.map} +1 -1
  64. package/dist/known-errors.d.ts +1 -1
  65. package/dist/{plan-usage-D0kWw4HR.d.ts → plan-usage-BO2GsKlN.d.ts} +3 -3
  66. package/dist/{plan-usage-D0kWw4HR.d.ts.map → plan-usage-BO2GsKlN.d.ts.map} +1 -1
  67. package/dist/{products-C98fCS-1.d.ts → products-D4o8A2W0.d.ts} +18 -18
  68. package/dist/{products-C98fCS-1.d.ts.map → products-D4o8A2W0.d.ts.map} +1 -1
  69. package/dist/{project-api-keys-P97ElZZe.d.ts → project-api-keys--7V5X_UW.d.ts} +5 -5
  70. package/dist/{project-api-keys-P97ElZZe.d.ts.map → project-api-keys--7V5X_UW.d.ts.map} +1 -1
  71. package/dist/{projects-BM2a4sfO.d.ts → projects-CFTNXRfG.d.ts} +29 -29
  72. package/dist/{projects-BM2a4sfO.d.ts.map → projects-CFTNXRfG.d.ts.map} +1 -1
  73. package/dist/{schema-Bq1TSMFV.d.ts → schema-CLmaZetm.d.ts} +100 -100
  74. package/dist/{schema-Bq1TSMFV.d.ts.map → schema-CLmaZetm.d.ts.map} +1 -1
  75. package/dist/{schema-fields-Cch3V5nd.d.ts → schema-fields-DZtDQEEO.d.ts} +6 -6
  76. package/dist/{schema-fields-Cch3V5nd.d.ts.map → schema-fields-DZtDQEEO.d.ts.map} +1 -1
  77. package/dist/schema-fields.d.ts +1 -1
  78. package/dist/{server-interface-yKuDPrQI.d.ts → server-interface-BjY-eS4Q.d.ts} +8 -8
  79. package/dist/{server-interface-yKuDPrQI.d.ts.map → server-interface-BjY-eS4Q.d.ts.map} +1 -1
  80. package/dist/{sessions-DCTyJhi3.d.ts → sessions-CI-0TBQb.d.ts} +10 -10
  81. package/dist/{sessions-DCTyJhi3.d.ts.map → sessions-CI-0TBQb.d.ts.map} +1 -1
  82. package/dist/sessions.d.ts +1 -1
  83. package/dist/{team-member-profiles-CaD1OJqt.d.ts → team-member-profiles-BoDEqx-0.d.ts} +25 -25
  84. package/dist/{team-member-profiles-CaD1OJqt.d.ts.map → team-member-profiles-BoDEqx-0.d.ts.map} +1 -1
  85. package/dist/{transactions-CrAZLdGo.d.ts → transactions-CHNUJ42J.d.ts} +16 -16
  86. package/dist/transactions-CHNUJ42J.d.ts.map +1 -0
  87. package/dist/{users-DSpJgn9Z.d.ts → users-DHNRwoSz.d.ts} +18 -18
  88. package/dist/{users-DSpJgn9Z.d.ts.map → users-DHNRwoSz.d.ts.map} +1 -1
  89. package/dist/{webhooks-_aXIgZBW.d.ts → webhooks-8Ts1Clcb.d.ts} +3 -3
  90. package/dist/{webhooks-_aXIgZBW.d.ts.map → webhooks-8Ts1Clcb.d.ts.map} +1 -1
  91. package/package.json +1 -1
  92. package/src/ai/unified-prompts/reminders.ts +1 -1
  93. package/dist/transactions-CrAZLdGo.d.ts.map +0 -1
@@ -35,7 +35,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
35
35
  } | undefined;
36
36
  productLines: Record<string, {
37
37
  displayName?: string | undefined;
38
- customerType?: "user" | "team" | "custom" | undefined;
38
+ customerType?: "team" | "user" | "custom" | undefined;
39
39
  }>;
40
40
  products: Record<string, {
41
41
  displayName?: string | undefined;
@@ -44,7 +44,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
44
44
  productLineId?: string | undefined;
45
45
  isAddOnTo?: false | Record<string, true> | undefined;
46
46
  stackable?: boolean | undefined;
47
- customerType: "user" | "team" | "custom";
47
+ customerType: "team" | "user" | "custom";
48
48
  prices: Record<string, {
49
49
  USD?: string | undefined;
50
50
  EUR?: string | undefined;
@@ -65,7 +65,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
65
65
  }>;
66
66
  items: Record<string, {
67
67
  displayName?: string | undefined;
68
- customerType?: "user" | "team" | "custom" | undefined;
68
+ customerType?: "team" | "user" | "custom" | undefined;
69
69
  }>;
70
70
  } | undefined, yup$1.AnyObject, {
71
71
  blockNewPurchases: undefined;
@@ -83,7 +83,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
83
83
  sourceOfTruth: {
84
84
  type: "hosted";
85
85
  };
86
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
86
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
87
87
  payments?: {
88
88
  blockNewPurchases?: boolean | undefined;
89
89
  autoPay?: {
@@ -91,11 +91,11 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
91
91
  } | undefined;
92
92
  items: Record<string, {
93
93
  displayName?: string | undefined;
94
- customerType?: "user" | "team" | "custom" | undefined;
94
+ customerType?: "team" | "user" | "custom" | undefined;
95
95
  }>;
96
96
  productLines: Record<string, {
97
97
  displayName?: string | undefined;
98
- customerType?: "user" | "team" | "custom" | undefined;
98
+ customerType?: "team" | "user" | "custom" | undefined;
99
99
  }>;
100
100
  products: Record<string, {
101
101
  displayName?: string | undefined;
@@ -104,7 +104,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
104
104
  productLineId?: string | undefined;
105
105
  isAddOnTo?: false | Record<string, true> | undefined;
106
106
  stackable?: boolean | undefined;
107
- customerType: "user" | "team" | "custom";
107
+ customerType: "team" | "user" | "custom";
108
108
  prices: Record<string, {
109
109
  USD?: string | undefined;
110
110
  EUR?: string | undefined;
@@ -124,13 +124,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
124
124
  }>;
125
125
  }>;
126
126
  } | undefined;
127
- users: {
128
- allowClientUserDeletion?: boolean | undefined;
129
- };
130
- teams: {
131
- createPersonalTeamOnSignUp?: boolean | undefined;
132
- allowClientTeamCreation?: boolean | undefined;
133
- };
134
127
  auth: {
135
128
  allowSignUp?: boolean | undefined;
136
129
  signUpRulesDefaultAction?: string | undefined;
@@ -140,6 +133,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
140
133
  otp: {
141
134
  allowSignIn?: boolean | undefined;
142
135
  };
136
+ passkey: {
137
+ allowSignIn?: boolean | undefined;
138
+ };
143
139
  oauth: {
144
140
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
145
141
  providers: Record<string, {
@@ -148,13 +144,10 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
148
144
  allowConnectedAccounts?: boolean | undefined;
149
145
  }>;
150
146
  };
151
- passkey: {
152
- allowSignIn?: boolean | undefined;
153
- };
154
147
  signUpRules: Record<string, {
155
148
  displayName?: string | undefined;
156
- priority?: number | undefined;
157
149
  enabled?: boolean | undefined;
150
+ priority?: number | undefined;
158
151
  condition?: string | undefined;
159
152
  action: {
160
153
  message?: string | undefined;
@@ -165,6 +158,10 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
165
158
  onboarding: {
166
159
  requireEmailVerification?: boolean | undefined;
167
160
  };
161
+ teams: {
162
+ createPersonalTeamOnSignUp?: boolean | undefined;
163
+ allowClientTeamCreation?: boolean | undefined;
164
+ };
168
165
  rbac: {
169
166
  permissions: Record<string, {
170
167
  description?: string | undefined;
@@ -191,16 +188,19 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
191
188
  };
192
189
  apiKeys: {
193
190
  enabled: {
194
- user?: boolean | undefined;
195
191
  team?: boolean | undefined;
192
+ user?: boolean | undefined;
196
193
  };
197
194
  };
198
195
  apps: {
199
- installed: Record<"teams" | "authentication" | "fraud-protection" | "analytics" | "onboarding" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
196
+ installed: Record<"authentication" | "fraud-protection" | "analytics" | "onboarding" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
200
197
  enabled?: boolean | undefined;
201
198
  }>;
202
199
  };
203
200
  domains: {};
201
+ users: {
202
+ allowClientUserDeletion?: boolean | undefined;
203
+ };
204
204
  dataVault: {
205
205
  stores: Record<string, {
206
206
  displayName?: string | undefined;
@@ -211,7 +211,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
211
211
  project: {
212
212
  requirePublishableClientKey: undefined;
213
213
  };
214
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
214
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
215
215
  rbac: {
216
216
  permissions: undefined;
217
217
  defaultPermissions: {
@@ -283,7 +283,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
283
283
  sourceOfTruth: {
284
284
  type: "hosted";
285
285
  };
286
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
286
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
287
287
  payments?: {
288
288
  blockNewPurchases?: boolean | undefined;
289
289
  autoPay?: {
@@ -291,11 +291,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
291
291
  } | undefined;
292
292
  items: Record<string, {
293
293
  displayName?: string | undefined;
294
- customerType?: "user" | "team" | "custom" | undefined;
294
+ customerType?: "team" | "user" | "custom" | undefined;
295
295
  }>;
296
296
  productLines: Record<string, {
297
297
  displayName?: string | undefined;
298
- customerType?: "user" | "team" | "custom" | undefined;
298
+ customerType?: "team" | "user" | "custom" | undefined;
299
299
  }>;
300
300
  products: Record<string, {
301
301
  displayName?: string | undefined;
@@ -304,7 +304,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
304
304
  productLineId?: string | undefined;
305
305
  isAddOnTo?: false | Record<string, true> | undefined;
306
306
  stackable?: boolean | undefined;
307
- customerType: "user" | "team" | "custom";
307
+ customerType: "team" | "user" | "custom";
308
308
  prices: Record<string, {
309
309
  USD?: string | undefined;
310
310
  EUR?: string | undefined;
@@ -324,13 +324,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
324
324
  }>;
325
325
  }>;
326
326
  } | undefined;
327
- users: {
328
- allowClientUserDeletion?: boolean | undefined;
329
- };
330
- teams: {
331
- createPersonalTeamOnSignUp?: boolean | undefined;
332
- allowClientTeamCreation?: boolean | undefined;
333
- };
334
327
  auth: {
335
328
  allowSignUp?: boolean | undefined;
336
329
  signUpRulesDefaultAction?: string | undefined;
@@ -340,6 +333,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
340
333
  otp: {
341
334
  allowSignIn?: boolean | undefined;
342
335
  };
336
+ passkey: {
337
+ allowSignIn?: boolean | undefined;
338
+ };
343
339
  oauth: {
344
340
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
345
341
  providers: Record<string, {
@@ -348,13 +344,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
348
344
  allowConnectedAccounts?: boolean | undefined;
349
345
  }>;
350
346
  };
351
- passkey: {
352
- allowSignIn?: boolean | undefined;
353
- };
354
347
  signUpRules: Record<string, {
355
348
  displayName?: string | undefined;
356
- priority?: number | undefined;
357
349
  enabled?: boolean | undefined;
350
+ priority?: number | undefined;
358
351
  condition?: string | undefined;
359
352
  action: {
360
353
  message?: string | undefined;
@@ -365,6 +358,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
365
358
  onboarding: {
366
359
  requireEmailVerification?: boolean | undefined;
367
360
  };
361
+ teams: {
362
+ createPersonalTeamOnSignUp?: boolean | undefined;
363
+ allowClientTeamCreation?: boolean | undefined;
364
+ };
368
365
  rbac: {
369
366
  permissions: Record<string, {
370
367
  description?: string | undefined;
@@ -391,16 +388,19 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
391
388
  };
392
389
  apiKeys: {
393
390
  enabled: {
394
- user?: boolean | undefined;
395
391
  team?: boolean | undefined;
392
+ user?: boolean | undefined;
396
393
  };
397
394
  };
398
395
  apps: {
399
- installed: Record<"teams" | "authentication" | "fraud-protection" | "analytics" | "onboarding" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
396
+ installed: Record<"authentication" | "fraud-protection" | "analytics" | "onboarding" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
400
397
  enabled?: boolean | undefined;
401
398
  }>;
402
399
  };
403
400
  domains: {};
401
+ users: {
402
+ allowClientUserDeletion?: boolean | undefined;
403
+ };
404
404
  dataVault: {
405
405
  stores: Record<string, {
406
406
  displayName?: string | undefined;
@@ -414,11 +414,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
414
414
  } | undefined;
415
415
  items: Record<string, {
416
416
  displayName?: string | undefined;
417
- customerType?: "user" | "team" | "custom" | undefined;
417
+ customerType?: "team" | "user" | "custom" | undefined;
418
418
  }>;
419
419
  productLines: Record<string, {
420
420
  displayName?: string | undefined;
421
- customerType?: "user" | "team" | "custom" | undefined;
421
+ customerType?: "team" | "user" | "custom" | undefined;
422
422
  }>;
423
423
  products: Record<string, {
424
424
  displayName?: string | undefined;
@@ -427,7 +427,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
427
427
  productLineId?: string | undefined;
428
428
  isAddOnTo?: false | Record<string, true> | undefined;
429
429
  stackable?: boolean | undefined;
430
- customerType: "user" | "team" | "custom";
430
+ customerType: "team" | "user" | "custom";
431
431
  prices: Record<string, {
432
432
  USD?: string | undefined;
433
433
  EUR?: string | undefined;
@@ -458,6 +458,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
458
458
  otp: {
459
459
  allowSignIn?: boolean | undefined;
460
460
  };
461
+ passkey: {
462
+ allowSignIn?: boolean | undefined;
463
+ };
461
464
  oauth: {
462
465
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
463
466
  providers: Record<string, {
@@ -466,13 +469,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
466
469
  allowConnectedAccounts?: boolean | undefined;
467
470
  }>;
468
471
  };
469
- passkey: {
470
- allowSignIn?: boolean | undefined;
471
- };
472
472
  signUpRules: Record<string, {
473
473
  displayName?: string | undefined;
474
- priority?: number | undefined;
475
474
  enabled?: boolean | undefined;
475
+ priority?: number | undefined;
476
476
  condition?: string | undefined;
477
477
  action: {
478
478
  message?: string | undefined;
@@ -512,8 +512,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
512
512
  displayName?: string | undefined;
513
513
  sortOrder?: number | undefined;
514
514
  queries: Record<string, {
515
- displayName?: string | undefined;
516
515
  description?: string | undefined;
516
+ displayName?: string | undefined;
517
517
  sqlQuery?: string | undefined;
518
518
  }>;
519
519
  }>;
@@ -565,7 +565,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
565
565
  project: {
566
566
  requirePublishableClientKey: undefined;
567
567
  };
568
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
568
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
569
569
  rbac: {
570
570
  permissions: undefined;
571
571
  defaultPermissions: {
@@ -635,7 +635,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
635
635
  project: {
636
636
  requirePublishableClientKey: undefined;
637
637
  };
638
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
638
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
639
639
  rbac: {
640
640
  permissions: undefined;
641
641
  defaultPermissions: {
@@ -705,7 +705,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
705
705
  project: {
706
706
  requirePublishableClientKey: undefined;
707
707
  };
708
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
708
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
709
709
  rbac: {
710
710
  permissions: undefined;
711
711
  defaultPermissions: {
@@ -778,7 +778,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
778
778
  project: {
779
779
  requirePublishableClientKey: undefined;
780
780
  };
781
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
781
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
782
782
  rbac: {
783
783
  permissions: undefined;
784
784
  defaultPermissions: {
@@ -861,7 +861,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
861
861
  project: {
862
862
  requirePublishableClientKey: undefined;
863
863
  };
864
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
864
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
865
865
  rbac: {
866
866
  permissions: undefined;
867
867
  defaultPermissions: {
@@ -934,7 +934,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
934
934
  project: {
935
935
  requirePublishableClientKey: undefined;
936
936
  };
937
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
937
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
938
938
  rbac: {
939
939
  permissions: undefined;
940
940
  defaultPermissions: {
@@ -1016,7 +1016,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1016
1016
  sourceOfTruth: {
1017
1017
  type: "hosted";
1018
1018
  };
1019
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1019
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1020
1020
  payments?: {
1021
1021
  blockNewPurchases?: boolean | undefined;
1022
1022
  autoPay?: {
@@ -1024,11 +1024,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1024
1024
  } | undefined;
1025
1025
  items: Record<string, {
1026
1026
  displayName?: string | undefined;
1027
- customerType?: "user" | "team" | "custom" | undefined;
1027
+ customerType?: "team" | "user" | "custom" | undefined;
1028
1028
  }>;
1029
1029
  productLines: Record<string, {
1030
1030
  displayName?: string | undefined;
1031
- customerType?: "user" | "team" | "custom" | undefined;
1031
+ customerType?: "team" | "user" | "custom" | undefined;
1032
1032
  }>;
1033
1033
  products: Record<string, {
1034
1034
  displayName?: string | undefined;
@@ -1037,7 +1037,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1037
1037
  productLineId?: string | undefined;
1038
1038
  isAddOnTo?: false | Record<string, true> | undefined;
1039
1039
  stackable?: boolean | undefined;
1040
- customerType: "user" | "team" | "custom";
1040
+ customerType: "team" | "user" | "custom";
1041
1041
  prices: Record<string, {
1042
1042
  USD?: string | undefined;
1043
1043
  EUR?: string | undefined;
@@ -1057,13 +1057,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1057
1057
  }>;
1058
1058
  }>;
1059
1059
  } | undefined;
1060
- users: {
1061
- allowClientUserDeletion?: boolean | undefined;
1062
- };
1063
- teams: {
1064
- createPersonalTeamOnSignUp?: boolean | undefined;
1065
- allowClientTeamCreation?: boolean | undefined;
1066
- };
1067
1060
  auth: {
1068
1061
  allowSignUp?: boolean | undefined;
1069
1062
  signUpRulesDefaultAction?: string | undefined;
@@ -1073,6 +1066,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1073
1066
  otp: {
1074
1067
  allowSignIn?: boolean | undefined;
1075
1068
  };
1069
+ passkey: {
1070
+ allowSignIn?: boolean | undefined;
1071
+ };
1076
1072
  oauth: {
1077
1073
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1078
1074
  providers: Record<string, {
@@ -1081,13 +1077,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1081
1077
  allowConnectedAccounts?: boolean | undefined;
1082
1078
  }>;
1083
1079
  };
1084
- passkey: {
1085
- allowSignIn?: boolean | undefined;
1086
- };
1087
1080
  signUpRules: Record<string, {
1088
1081
  displayName?: string | undefined;
1089
- priority?: number | undefined;
1090
1082
  enabled?: boolean | undefined;
1083
+ priority?: number | undefined;
1091
1084
  condition?: string | undefined;
1092
1085
  action: {
1093
1086
  message?: string | undefined;
@@ -1098,6 +1091,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1098
1091
  onboarding: {
1099
1092
  requireEmailVerification?: boolean | undefined;
1100
1093
  };
1094
+ teams: {
1095
+ createPersonalTeamOnSignUp?: boolean | undefined;
1096
+ allowClientTeamCreation?: boolean | undefined;
1097
+ };
1101
1098
  rbac: {
1102
1099
  permissions: Record<string, {
1103
1100
  description?: string | undefined;
@@ -1124,16 +1121,19 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1124
1121
  };
1125
1122
  apiKeys: {
1126
1123
  enabled: {
1127
- user?: boolean | undefined;
1128
1124
  team?: boolean | undefined;
1125
+ user?: boolean | undefined;
1129
1126
  };
1130
1127
  };
1131
1128
  apps: {
1132
- installed: Record<"teams" | "authentication" | "fraud-protection" | "analytics" | "onboarding" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
1129
+ installed: Record<"authentication" | "fraud-protection" | "analytics" | "onboarding" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
1133
1130
  enabled?: boolean | undefined;
1134
1131
  }>;
1135
1132
  };
1136
1133
  domains: {};
1134
+ users: {
1135
+ allowClientUserDeletion?: boolean | undefined;
1136
+ };
1137
1137
  dataVault: {
1138
1138
  stores: Record<string, {
1139
1139
  displayName?: string | undefined;
@@ -1147,11 +1147,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1147
1147
  } | undefined;
1148
1148
  items: Record<string, {
1149
1149
  displayName?: string | undefined;
1150
- customerType?: "user" | "team" | "custom" | undefined;
1150
+ customerType?: "team" | "user" | "custom" | undefined;
1151
1151
  }>;
1152
1152
  productLines: Record<string, {
1153
1153
  displayName?: string | undefined;
1154
- customerType?: "user" | "team" | "custom" | undefined;
1154
+ customerType?: "team" | "user" | "custom" | undefined;
1155
1155
  }>;
1156
1156
  products: Record<string, {
1157
1157
  displayName?: string | undefined;
@@ -1160,7 +1160,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1160
1160
  productLineId?: string | undefined;
1161
1161
  isAddOnTo?: false | Record<string, true> | undefined;
1162
1162
  stackable?: boolean | undefined;
1163
- customerType: "user" | "team" | "custom";
1163
+ customerType: "team" | "user" | "custom";
1164
1164
  prices: Record<string, {
1165
1165
  USD?: string | undefined;
1166
1166
  EUR?: string | undefined;
@@ -1191,6 +1191,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1191
1191
  otp: {
1192
1192
  allowSignIn?: boolean | undefined;
1193
1193
  };
1194
+ passkey: {
1195
+ allowSignIn?: boolean | undefined;
1196
+ };
1194
1197
  oauth: {
1195
1198
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1196
1199
  providers: Record<string, {
@@ -1199,13 +1202,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1199
1202
  allowConnectedAccounts?: boolean | undefined;
1200
1203
  }>;
1201
1204
  };
1202
- passkey: {
1203
- allowSignIn?: boolean | undefined;
1204
- };
1205
1205
  signUpRules: Record<string, {
1206
1206
  displayName?: string | undefined;
1207
- priority?: number | undefined;
1208
1207
  enabled?: boolean | undefined;
1208
+ priority?: number | undefined;
1209
1209
  condition?: string | undefined;
1210
1210
  action: {
1211
1211
  message?: string | undefined;
@@ -1245,8 +1245,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1245
1245
  displayName?: string | undefined;
1246
1246
  sortOrder?: number | undefined;
1247
1247
  queries: Record<string, {
1248
- displayName?: string | undefined;
1249
1248
  description?: string | undefined;
1249
+ displayName?: string | undefined;
1250
1250
  sqlQuery?: string | undefined;
1251
1251
  }>;
1252
1252
  }>;
@@ -1298,7 +1298,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1298
1298
  project: {
1299
1299
  requirePublishableClientKey: undefined;
1300
1300
  };
1301
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1301
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1302
1302
  rbac: {
1303
1303
  permissions: undefined;
1304
1304
  defaultPermissions: {
@@ -1368,7 +1368,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1368
1368
  project: {
1369
1369
  requirePublishableClientKey: undefined;
1370
1370
  };
1371
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1371
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1372
1372
  rbac: {
1373
1373
  permissions: undefined;
1374
1374
  defaultPermissions: {
@@ -1438,7 +1438,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1438
1438
  project: {
1439
1439
  requirePublishableClientKey: undefined;
1440
1440
  };
1441
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1441
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1442
1442
  rbac: {
1443
1443
  permissions: undefined;
1444
1444
  defaultPermissions: {
@@ -1511,7 +1511,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1511
1511
  project: {
1512
1512
  requirePublishableClientKey: undefined;
1513
1513
  };
1514
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1514
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1515
1515
  rbac: {
1516
1516
  permissions: undefined;
1517
1517
  defaultPermissions: {
@@ -1594,7 +1594,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1594
1594
  project: {
1595
1595
  requirePublishableClientKey: undefined;
1596
1596
  };
1597
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1597
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1598
1598
  rbac: {
1599
1599
  permissions: undefined;
1600
1600
  defaultPermissions: {
@@ -1667,7 +1667,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1667
1667
  project: {
1668
1668
  requirePublishableClientKey: undefined;
1669
1669
  };
1670
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1670
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1671
1671
  rbac: {
1672
1672
  permissions: undefined;
1673
1673
  defaultPermissions: {
@@ -2033,14 +2033,15 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2033
2033
  };
2034
2034
  signUpRules: Record<string, {
2035
2035
  displayName: string | undefined;
2036
- priority: number;
2037
2036
  enabled: boolean;
2037
+ priority: number;
2038
2038
  condition: string | undefined;
2039
2039
  action: {
2040
- type: "allow" | "reject" | "restrict" | "log";
2041
2040
  message: string | undefined;
2041
+ type: "allow" | "reject" | "restrict" | "log";
2042
2042
  };
2043
2043
  }>;
2044
+ allowSignUp: boolean;
2044
2045
  password: {
2045
2046
  allowSignIn: boolean;
2046
2047
  };
@@ -2050,7 +2051,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2050
2051
  passkey: {
2051
2052
  allowSignIn: boolean;
2052
2053
  };
2053
- allowSignUp: boolean;
2054
2054
  signUpRulesDefaultAction: string;
2055
2055
  };
2056
2056
  emails: {
@@ -2102,12 +2102,12 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2102
2102
  serverOnly: boolean;
2103
2103
  freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2104
2104
  productLineId: string | undefined;
2105
- customerType: "user" | "team" | "custom";
2105
+ customerType: "team" | "user" | "custom";
2106
2106
  stackable: boolean | undefined;
2107
2107
  includedItems: {
2108
2108
  [x: string]: {
2109
- repeat: "never" | [number, "day" | "week" | "month" | "year"];
2110
2109
  quantity: number;
2110
+ repeat: "never" | [number, "day" | "week" | "month" | "year"];
2111
2111
  expires: "never" | "when-purchase-expires" | "when-repeated";
2112
2112
  };
2113
2113
  };
@@ -2115,7 +2115,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2115
2115
  items: {
2116
2116
  [x: string]: {
2117
2117
  displayName: string;
2118
- customerType: "user" | "team" | "custom";
2118
+ customerType: "team" | "user" | "custom";
2119
2119
  };
2120
2120
  };
2121
2121
  blockNewPurchases: boolean;
@@ -2125,7 +2125,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2125
2125
  productLines: {
2126
2126
  [x: string]: {
2127
2127
  displayName: string | undefined;
2128
- customerType: "user" | "team" | "custom" | undefined;
2128
+ customerType: "team" | "user" | "custom" | undefined;
2129
2129
  };
2130
2130
  };
2131
2131
  testMode: boolean;
@@ -2143,13 +2143,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2143
2143
  } & {
2144
2144
  readonly type: "hosted";
2145
2145
  };
2146
- users: {
2147
- allowClientUserDeletion: boolean;
2148
- };
2149
- teams: {
2150
- createPersonalTeamOnSignUp: boolean;
2151
- allowClientTeamCreation: boolean;
2152
- };
2153
2146
  analytics: {
2154
2147
  queryFolders: {
2155
2148
  [x: string]: {
@@ -2157,8 +2150,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2157
2150
  sortOrder: number;
2158
2151
  queries: {
2159
2152
  [x: string]: {
2160
- displayName: string;
2161
2153
  description: string | undefined;
2154
+ displayName: string;
2162
2155
  sqlQuery: string;
2163
2156
  };
2164
2157
  };
@@ -2168,6 +2161,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2168
2161
  onboarding: {
2169
2162
  requireEmailVerification: boolean;
2170
2163
  };
2164
+ teams: {
2165
+ createPersonalTeamOnSignUp: boolean;
2166
+ allowClientTeamCreation: boolean;
2167
+ };
2171
2168
  rbac: {
2172
2169
  permissions: {
2173
2170
  [x: string]: {
@@ -2192,8 +2189,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2192
2189
  };
2193
2190
  apiKeys: {
2194
2191
  enabled: {
2195
- user: boolean;
2196
2192
  team: boolean;
2193
+ user: boolean;
2197
2194
  };
2198
2195
  };
2199
2196
  domains: {
@@ -2205,6 +2202,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2205
2202
  };
2206
2203
  };
2207
2204
  };
2205
+ users: {
2206
+ allowClientUserDeletion: boolean;
2207
+ };
2208
2208
  dataVault: {
2209
2209
  stores: {
2210
2210
  [x: string]: {