@hexclave/shared 1.0.53 → 1.0.54

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 (100) hide show
  1. package/dist/{admin-interface-D9wMduWc.d.ts → admin-interface-DuboQXpC.d.ts} +11 -11
  2. package/dist/{admin-interface-D9wMduWc.d.ts.map → admin-interface-DuboQXpC.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-bsOkw4YQ.d.ts → admin-metrics-IxLyJ-cP.d.ts} +18 -18
  4. package/dist/{admin-metrics-bsOkw4YQ.d.ts.map → admin-metrics-IxLyJ-cP.d.ts.map} +1 -1
  5. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -4
  6. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  7. package/dist/{client-interface-BQz4jNAC.d.ts → client-interface-Ca6UZywk.d.ts} +9 -9
  8. package/dist/{client-interface-BQz4jNAC.d.ts.map → client-interface-Ca6UZywk.d.ts.map} +1 -1
  9. package/dist/config/schema.d.ts +1 -1
  10. package/dist/config-authoring.d.ts +1 -1
  11. package/dist/config-rendering.d.ts +9 -1
  12. package/dist/config-rendering.d.ts.map +1 -1
  13. package/dist/config-rendering.js +2 -2
  14. package/dist/config-rendering.js.map +1 -1
  15. package/dist/{current-user-BBoN3hsn.d.ts → current-user-DNxac4sS.d.ts} +15 -15
  16. package/dist/{current-user-BBoN3hsn.d.ts.map → current-user-DNxac4sS.d.ts.map} +1 -1
  17. package/dist/dates-BRAvSk6L.d.ts.map +1 -1
  18. package/dist/{email-outbox-B1wmVPRG.d.ts → email-outbox-ILs0LlGd.d.ts} +185 -185
  19. package/dist/{email-outbox-B1wmVPRG.d.ts.map → email-outbox-ILs0LlGd.d.ts.map} +1 -1
  20. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -4
  21. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  22. package/dist/esm/config/schema.d.ts +99 -99
  23. package/dist/esm/config-rendering.d.ts +9 -1
  24. package/dist/esm/config-rendering.d.ts.map +1 -1
  25. package/dist/esm/config-rendering.js +2 -3
  26. package/dist/esm/config-rendering.js.map +1 -1
  27. package/dist/esm/interface/admin-metrics.d.ts +17 -17
  28. package/dist/esm/interface/conversations.d.ts +10 -10
  29. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  30. package/dist/esm/interface/crud/email-outbox.d.ts +184 -184
  31. package/dist/esm/interface/crud/products.d.ts +17 -17
  32. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  33. package/dist/esm/interface/crud/projects.d.ts +28 -28
  34. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  35. package/dist/esm/interface/crud/transactions.d.ts +15 -15
  36. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  37. package/dist/esm/interface/crud/users.d.ts +16 -16
  38. package/dist/esm/interface/plan-usage.d.ts +1 -1
  39. package/dist/esm/interface/webhooks.d.ts +2 -2
  40. package/dist/esm/known-errors.d.ts +3 -3
  41. package/dist/esm/package.json +18 -0
  42. package/dist/esm/schema-fields.d.ts +5 -5
  43. package/dist/esm/sessions.d.ts +8 -8
  44. package/dist/esm/utils/dates.d.ts.map +1 -1
  45. package/dist/esm/utils/dates.js +2 -1
  46. package/dist/esm/utils/dates.js.map +1 -1
  47. package/dist/helpers/password.d.ts +1 -1
  48. package/dist/helpers/production-mode.d.ts +1 -1
  49. package/dist/index.d.ts +4 -4
  50. package/dist/interface/admin-interface.d.ts +2 -2
  51. package/dist/interface/admin-metrics.d.ts +1 -1
  52. package/dist/interface/client-interface.d.ts +1 -1
  53. package/dist/interface/conversations.d.ts +10 -10
  54. package/dist/interface/crud/current-user.d.ts +1 -1
  55. package/dist/interface/crud/email-outbox.d.ts +1 -1
  56. package/dist/interface/crud/products.d.ts +1 -1
  57. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  58. package/dist/interface/crud/projects.d.ts +1 -1
  59. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  60. package/dist/interface/crud/transactions.d.ts +1 -1
  61. package/dist/interface/crud/users.d.ts +1 -1
  62. package/dist/interface/plan-usage.d.ts +1 -1
  63. package/dist/interface/server-interface.d.ts +1 -1
  64. package/dist/interface/webhooks.d.ts +1 -1
  65. package/dist/{known-errors-Bm4a61wL.d.ts → known-errors-g7JC8z58.d.ts} +4 -4
  66. package/dist/{known-errors-Bm4a61wL.d.ts.map → known-errors-g7JC8z58.d.ts.map} +1 -1
  67. package/dist/known-errors.d.ts +1 -1
  68. package/dist/{plan-usage-BaDxcLZ1.d.ts → plan-usage-D0kWw4HR.d.ts} +2 -2
  69. package/dist/{plan-usage-BaDxcLZ1.d.ts.map → plan-usage-D0kWw4HR.d.ts.map} +1 -1
  70. package/dist/{products-D4o8A2W0.d.ts → products-C98fCS-1.d.ts} +18 -18
  71. package/dist/{products-D4o8A2W0.d.ts.map → products-C98fCS-1.d.ts.map} +1 -1
  72. package/dist/{project-api-keys--7V5X_UW.d.ts → project-api-keys-P97ElZZe.d.ts} +5 -5
  73. package/dist/{project-api-keys--7V5X_UW.d.ts.map → project-api-keys-P97ElZZe.d.ts.map} +1 -1
  74. package/dist/{projects-CFTNXRfG.d.ts → projects-BM2a4sfO.d.ts} +29 -29
  75. package/dist/{projects-CFTNXRfG.d.ts.map → projects-BM2a4sfO.d.ts.map} +1 -1
  76. package/dist/{schema-DV0SQUbY.d.ts → schema-Bq1TSMFV.d.ts} +100 -100
  77. package/dist/{schema-DV0SQUbY.d.ts.map → schema-Bq1TSMFV.d.ts.map} +1 -1
  78. package/dist/{schema-fields-DZtDQEEO.d.ts → schema-fields-Cch3V5nd.d.ts} +6 -6
  79. package/dist/{schema-fields-DZtDQEEO.d.ts.map → schema-fields-Cch3V5nd.d.ts.map} +1 -1
  80. package/dist/schema-fields.d.ts +1 -1
  81. package/dist/{server-interface-BjY-eS4Q.d.ts → server-interface-yKuDPrQI.d.ts} +8 -8
  82. package/dist/{server-interface-BjY-eS4Q.d.ts.map → server-interface-yKuDPrQI.d.ts.map} +1 -1
  83. package/dist/{sessions-CI-0TBQb.d.ts → sessions-DCTyJhi3.d.ts} +10 -10
  84. package/dist/{sessions-CI-0TBQb.d.ts.map → sessions-DCTyJhi3.d.ts.map} +1 -1
  85. package/dist/sessions.d.ts +1 -1
  86. package/dist/{team-member-profiles-BoDEqx-0.d.ts → team-member-profiles-CaD1OJqt.d.ts} +25 -25
  87. package/dist/{team-member-profiles-BoDEqx-0.d.ts.map → team-member-profiles-CaD1OJqt.d.ts.map} +1 -1
  88. package/dist/{transactions-CHNUJ42J.d.ts → transactions-CrAZLdGo.d.ts} +16 -16
  89. package/dist/transactions-CrAZLdGo.d.ts.map +1 -0
  90. package/dist/{users-DHNRwoSz.d.ts → users-DSpJgn9Z.d.ts} +18 -18
  91. package/dist/{users-DHNRwoSz.d.ts.map → users-DSpJgn9Z.d.ts.map} +1 -1
  92. package/dist/utils/dates.js +2 -1
  93. package/dist/utils/dates.js.map +1 -1
  94. package/dist/{webhooks-8Ts1Clcb.d.ts → webhooks-_aXIgZBW.d.ts} +3 -3
  95. package/dist/{webhooks-8Ts1Clcb.d.ts.map → webhooks-_aXIgZBW.d.ts.map} +1 -1
  96. package/package.json +1 -1
  97. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +4 -4
  98. package/src/config-rendering.ts +5 -6
  99. package/src/utils/dates.tsx +22 -1
  100. package/dist/transactions-CHNUJ42J.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?: "team" | "user" | "custom" | undefined;
38
+ customerType?: "user" | "team" | "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: "team" | "user" | "custom";
47
+ customerType: "user" | "team" | "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?: "team" | "user" | "custom" | undefined;
68
+ customerType?: "user" | "team" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
86
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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?: "team" | "user" | "custom" | undefined;
94
+ customerType?: "user" | "team" | "custom" | undefined;
95
95
  }>;
96
96
  productLines: Record<string, {
97
97
  displayName?: string | undefined;
98
- customerType?: "team" | "user" | "custom" | undefined;
98
+ customerType?: "user" | "team" | "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: "team" | "user" | "custom";
107
+ customerType: "user" | "team" | "custom";
108
108
  prices: Record<string, {
109
109
  USD?: string | undefined;
110
110
  EUR?: string | undefined;
@@ -124,6 +124,13 @@ 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
+ };
127
134
  auth: {
128
135
  allowSignUp?: boolean | undefined;
129
136
  signUpRulesDefaultAction?: string | undefined;
@@ -133,9 +140,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
133
140
  otp: {
134
141
  allowSignIn?: boolean | undefined;
135
142
  };
136
- passkey: {
137
- allowSignIn?: boolean | undefined;
138
- };
139
143
  oauth: {
140
144
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
141
145
  providers: Record<string, {
@@ -144,10 +148,13 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
144
148
  allowConnectedAccounts?: boolean | undefined;
145
149
  }>;
146
150
  };
151
+ passkey: {
152
+ allowSignIn?: boolean | undefined;
153
+ };
147
154
  signUpRules: Record<string, {
148
155
  displayName?: string | undefined;
149
- enabled?: boolean | undefined;
150
156
  priority?: number | undefined;
157
+ enabled?: boolean | undefined;
151
158
  condition?: string | undefined;
152
159
  action: {
153
160
  message?: string | undefined;
@@ -158,10 +165,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
158
165
  onboarding: {
159
166
  requireEmailVerification?: boolean | undefined;
160
167
  };
161
- teams: {
162
- createPersonalTeamOnSignUp?: boolean | undefined;
163
- allowClientTeamCreation?: boolean | undefined;
164
- };
165
168
  rbac: {
166
169
  permissions: Record<string, {
167
170
  description?: string | undefined;
@@ -186,17 +189,14 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
186
189
  tsxSource: string;
187
190
  }>;
188
191
  };
189
- users: {
190
- allowClientUserDeletion?: boolean | undefined;
191
- };
192
192
  apiKeys: {
193
193
  enabled: {
194
- team?: boolean | undefined;
195
194
  user?: boolean | undefined;
195
+ team?: boolean | undefined;
196
196
  };
197
197
  };
198
198
  apps: {
199
- 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", {
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", {
200
200
  enabled?: boolean | undefined;
201
201
  }>;
202
202
  };
@@ -211,7 +211,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
211
211
  project: {
212
212
  requirePublishableClientKey: undefined;
213
213
  };
214
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
214
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
286
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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?: "team" | "user" | "custom" | undefined;
294
+ customerType?: "user" | "team" | "custom" | undefined;
295
295
  }>;
296
296
  productLines: Record<string, {
297
297
  displayName?: string | undefined;
298
- customerType?: "team" | "user" | "custom" | undefined;
298
+ customerType?: "user" | "team" | "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: "team" | "user" | "custom";
307
+ customerType: "user" | "team" | "custom";
308
308
  prices: Record<string, {
309
309
  USD?: string | undefined;
310
310
  EUR?: string | undefined;
@@ -324,6 +324,13 @@ 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
+ };
327
334
  auth: {
328
335
  allowSignUp?: boolean | undefined;
329
336
  signUpRulesDefaultAction?: string | undefined;
@@ -333,9 +340,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
333
340
  otp: {
334
341
  allowSignIn?: boolean | undefined;
335
342
  };
336
- passkey: {
337
- allowSignIn?: boolean | undefined;
338
- };
339
343
  oauth: {
340
344
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
341
345
  providers: Record<string, {
@@ -344,10 +348,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
344
348
  allowConnectedAccounts?: boolean | undefined;
345
349
  }>;
346
350
  };
351
+ passkey: {
352
+ allowSignIn?: boolean | undefined;
353
+ };
347
354
  signUpRules: Record<string, {
348
355
  displayName?: string | undefined;
349
- enabled?: boolean | undefined;
350
356
  priority?: number | undefined;
357
+ enabled?: boolean | undefined;
351
358
  condition?: string | undefined;
352
359
  action: {
353
360
  message?: string | undefined;
@@ -358,10 +365,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
358
365
  onboarding: {
359
366
  requireEmailVerification?: boolean | undefined;
360
367
  };
361
- teams: {
362
- createPersonalTeamOnSignUp?: boolean | undefined;
363
- allowClientTeamCreation?: boolean | undefined;
364
- };
365
368
  rbac: {
366
369
  permissions: Record<string, {
367
370
  description?: string | undefined;
@@ -386,17 +389,14 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
386
389
  tsxSource: string;
387
390
  }>;
388
391
  };
389
- users: {
390
- allowClientUserDeletion?: boolean | undefined;
391
- };
392
392
  apiKeys: {
393
393
  enabled: {
394
- team?: boolean | undefined;
395
394
  user?: boolean | undefined;
395
+ team?: boolean | undefined;
396
396
  };
397
397
  };
398
398
  apps: {
399
- 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", {
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", {
400
400
  enabled?: boolean | undefined;
401
401
  }>;
402
402
  };
@@ -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?: "team" | "user" | "custom" | undefined;
417
+ customerType?: "user" | "team" | "custom" | undefined;
418
418
  }>;
419
419
  productLines: Record<string, {
420
420
  displayName?: string | undefined;
421
- customerType?: "team" | "user" | "custom" | undefined;
421
+ customerType?: "user" | "team" | "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: "team" | "user" | "custom";
430
+ customerType: "user" | "team" | "custom";
431
431
  prices: Record<string, {
432
432
  USD?: string | undefined;
433
433
  EUR?: string | undefined;
@@ -458,9 +458,6 @@ 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
- };
464
461
  oauth: {
465
462
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
466
463
  providers: Record<string, {
@@ -469,10 +466,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
469
466
  allowConnectedAccounts?: boolean | undefined;
470
467
  }>;
471
468
  };
469
+ passkey: {
470
+ allowSignIn?: boolean | undefined;
471
+ };
472
472
  signUpRules: Record<string, {
473
473
  displayName?: string | undefined;
474
- enabled?: boolean | undefined;
475
474
  priority?: number | undefined;
475
+ enabled?: boolean | 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
- description?: string | undefined;
516
515
  displayName?: string | undefined;
516
+ description?: 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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
568
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
638
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
708
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
781
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
864
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
937
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1019
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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?: "team" | "user" | "custom" | undefined;
1027
+ customerType?: "user" | "team" | "custom" | undefined;
1028
1028
  }>;
1029
1029
  productLines: Record<string, {
1030
1030
  displayName?: string | undefined;
1031
- customerType?: "team" | "user" | "custom" | undefined;
1031
+ customerType?: "user" | "team" | "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: "team" | "user" | "custom";
1040
+ customerType: "user" | "team" | "custom";
1041
1041
  prices: Record<string, {
1042
1042
  USD?: string | undefined;
1043
1043
  EUR?: string | undefined;
@@ -1057,6 +1057,13 @@ 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
+ };
1060
1067
  auth: {
1061
1068
  allowSignUp?: boolean | undefined;
1062
1069
  signUpRulesDefaultAction?: string | undefined;
@@ -1066,9 +1073,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1066
1073
  otp: {
1067
1074
  allowSignIn?: boolean | undefined;
1068
1075
  };
1069
- passkey: {
1070
- allowSignIn?: boolean | undefined;
1071
- };
1072
1076
  oauth: {
1073
1077
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1074
1078
  providers: Record<string, {
@@ -1077,10 +1081,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1077
1081
  allowConnectedAccounts?: boolean | undefined;
1078
1082
  }>;
1079
1083
  };
1084
+ passkey: {
1085
+ allowSignIn?: boolean | undefined;
1086
+ };
1080
1087
  signUpRules: Record<string, {
1081
1088
  displayName?: string | undefined;
1082
- enabled?: boolean | undefined;
1083
1089
  priority?: number | undefined;
1090
+ enabled?: boolean | undefined;
1084
1091
  condition?: string | undefined;
1085
1092
  action: {
1086
1093
  message?: string | undefined;
@@ -1091,10 +1098,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1091
1098
  onboarding: {
1092
1099
  requireEmailVerification?: boolean | undefined;
1093
1100
  };
1094
- teams: {
1095
- createPersonalTeamOnSignUp?: boolean | undefined;
1096
- allowClientTeamCreation?: boolean | undefined;
1097
- };
1098
1101
  rbac: {
1099
1102
  permissions: Record<string, {
1100
1103
  description?: string | undefined;
@@ -1119,17 +1122,14 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1119
1122
  tsxSource: string;
1120
1123
  }>;
1121
1124
  };
1122
- users: {
1123
- allowClientUserDeletion?: boolean | undefined;
1124
- };
1125
1125
  apiKeys: {
1126
1126
  enabled: {
1127
- team?: boolean | undefined;
1128
1127
  user?: boolean | undefined;
1128
+ team?: boolean | undefined;
1129
1129
  };
1130
1130
  };
1131
1131
  apps: {
1132
- 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", {
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", {
1133
1133
  enabled?: boolean | undefined;
1134
1134
  }>;
1135
1135
  };
@@ -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?: "team" | "user" | "custom" | undefined;
1150
+ customerType?: "user" | "team" | "custom" | undefined;
1151
1151
  }>;
1152
1152
  productLines: Record<string, {
1153
1153
  displayName?: string | undefined;
1154
- customerType?: "team" | "user" | "custom" | undefined;
1154
+ customerType?: "user" | "team" | "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: "team" | "user" | "custom";
1163
+ customerType: "user" | "team" | "custom";
1164
1164
  prices: Record<string, {
1165
1165
  USD?: string | undefined;
1166
1166
  EUR?: string | undefined;
@@ -1191,9 +1191,6 @@ 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
- };
1197
1194
  oauth: {
1198
1195
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1199
1196
  providers: Record<string, {
@@ -1202,10 +1199,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1202
1199
  allowConnectedAccounts?: boolean | undefined;
1203
1200
  }>;
1204
1201
  };
1202
+ passkey: {
1203
+ allowSignIn?: boolean | undefined;
1204
+ };
1205
1205
  signUpRules: Record<string, {
1206
1206
  displayName?: string | undefined;
1207
- enabled?: boolean | undefined;
1208
1207
  priority?: number | undefined;
1208
+ enabled?: boolean | 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
- description?: string | undefined;
1249
1248
  displayName?: string | undefined;
1249
+ description?: 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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1301
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1371
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1441
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1514
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1597
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1670
+ }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1671
1671
  rbac: {
1672
1672
  permissions: undefined;
1673
1673
  defaultPermissions: {
@@ -2033,15 +2033,14 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2033
2033
  };
2034
2034
  signUpRules: Record<string, {
2035
2035
  displayName: string | undefined;
2036
- enabled: boolean;
2037
2036
  priority: number;
2037
+ enabled: boolean;
2038
2038
  condition: string | undefined;
2039
2039
  action: {
2040
- message: string | undefined;
2041
2040
  type: "allow" | "reject" | "restrict" | "log";
2041
+ message: string | undefined;
2042
2042
  };
2043
2043
  }>;
2044
- allowSignUp: boolean;
2045
2044
  password: {
2046
2045
  allowSignIn: boolean;
2047
2046
  };
@@ -2051,6 +2050,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2051
2050
  passkey: {
2052
2051
  allowSignIn: boolean;
2053
2052
  };
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: "team" | "user" | "custom";
2105
+ customerType: "user" | "team" | "custom";
2106
2106
  stackable: boolean | undefined;
2107
2107
  includedItems: {
2108
2108
  [x: string]: {
2109
- quantity: number;
2110
2109
  repeat: "never" | [number, "day" | "week" | "month" | "year"];
2110
+ quantity: number;
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: "team" | "user" | "custom";
2118
+ customerType: "user" | "team" | "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: "team" | "user" | "custom" | undefined;
2128
+ customerType: "user" | "team" | "custom" | undefined;
2129
2129
  };
2130
2130
  };
2131
2131
  testMode: boolean;
@@ -2143,6 +2143,13 @@ 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
+ };
2146
2153
  analytics: {
2147
2154
  queryFolders: {
2148
2155
  [x: string]: {
@@ -2150,8 +2157,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2150
2157
  sortOrder: number;
2151
2158
  queries: {
2152
2159
  [x: string]: {
2153
- description: string | undefined;
2154
2160
  displayName: string;
2161
+ description: string | undefined;
2155
2162
  sqlQuery: string;
2156
2163
  };
2157
2164
  };
@@ -2161,10 +2168,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2161
2168
  onboarding: {
2162
2169
  requireEmailVerification: boolean;
2163
2170
  };
2164
- teams: {
2165
- createPersonalTeamOnSignUp: boolean;
2166
- allowClientTeamCreation: boolean;
2167
- };
2168
2171
  rbac: {
2169
2172
  permissions: {
2170
2173
  [x: string]: {
@@ -2187,13 +2190,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2187
2190
  };
2188
2191
  };
2189
2192
  };
2190
- users: {
2191
- allowClientUserDeletion: boolean;
2192
- };
2193
2193
  apiKeys: {
2194
2194
  enabled: {
2195
- team: boolean;
2196
2195
  user: boolean;
2196
+ team: boolean;
2197
2197
  };
2198
2198
  };
2199
2199
  domains: {