@hexclave/shared 1.0.54 → 1.0.56

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 (121) hide show
  1. package/dist/{admin-interface-DuboQXpC.d.ts → admin-interface-sca4FCAt.d.ts} +11 -11
  2. package/dist/{admin-interface-DuboQXpC.d.ts.map → admin-interface-sca4FCAt.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-IxLyJ-cP.d.ts → admin-metrics-BTgqWZXI.d.ts} +18 -18
  4. package/dist/{admin-metrics-IxLyJ-cP.d.ts.map → admin-metrics-BTgqWZXI.d.ts.map} +1 -1
  5. package/dist/ai/hexclave-ask.d.ts +37 -0
  6. package/dist/ai/hexclave-ask.d.ts.map +1 -0
  7. package/dist/ai/hexclave-ask.js +120 -0
  8. package/dist/ai/hexclave-ask.js.map +1 -0
  9. package/dist/ai/hexclave-ask.test.d.ts +1 -0
  10. package/dist/ai/hexclave-ask.test.js +46 -0
  11. package/dist/ai/hexclave-ask.test.js.map +1 -0
  12. package/dist/ai/unified-prompts/reminders.js +4 -4
  13. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  14. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  15. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  16. package/dist/ai/unified-prompts/skill-site-prompt.js +2 -2
  17. package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  18. package/dist/{client-interface-Ca6UZywk.d.ts → client-interface-BQakINAH.d.ts} +10 -10
  19. package/dist/{client-interface-Ca6UZywk.d.ts.map → client-interface-BQakINAH.d.ts.map} +1 -1
  20. package/dist/config/schema.d.ts +1 -1
  21. package/dist/config-authoring.d.ts +1 -1
  22. package/dist/{current-user-DNxac4sS.d.ts → current-user-DosTPiF7.d.ts} +16 -16
  23. package/dist/{current-user-DNxac4sS.d.ts.map → current-user-DosTPiF7.d.ts.map} +1 -1
  24. package/dist/{email-outbox-ILs0LlGd.d.ts → email-outbox-C07KfbmL.d.ts} +155 -155
  25. package/dist/{email-outbox-ILs0LlGd.d.ts.map → email-outbox-C07KfbmL.d.ts.map} +1 -1
  26. package/dist/esm/ai/hexclave-ask.d.ts +37 -0
  27. package/dist/esm/ai/hexclave-ask.d.ts.map +1 -0
  28. package/dist/esm/ai/hexclave-ask.js +117 -0
  29. package/dist/esm/ai/hexclave-ask.js.map +1 -0
  30. package/dist/esm/ai/hexclave-ask.test.d.ts +1 -0
  31. package/dist/esm/ai/hexclave-ask.test.js +47 -0
  32. package/dist/esm/ai/hexclave-ask.test.js.map +1 -0
  33. package/dist/esm/ai/unified-prompts/reminders.js +4 -4
  34. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  35. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  36. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  37. package/dist/esm/ai/unified-prompts/skill-site-prompt.js +2 -2
  38. package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  39. package/dist/esm/config/schema.d.ts +112 -112
  40. package/dist/esm/interface/admin-interface.js +1 -1
  41. package/dist/esm/interface/admin-metrics.d.ts +17 -17
  42. package/dist/esm/interface/client-interface.js +1 -1
  43. package/dist/esm/interface/conversations.d.ts +36 -36
  44. package/dist/esm/interface/crud/current-user.d.ts +15 -15
  45. package/dist/esm/interface/crud/email-outbox.d.ts +154 -154
  46. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  47. package/dist/esm/interface/crud/products.d.ts +20 -20
  48. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  49. package/dist/esm/interface/crud/projects.d.ts +94 -94
  50. package/dist/esm/interface/crud/team-member-profiles.d.ts +30 -30
  51. package/dist/esm/interface/crud/transactions.d.ts +23 -23
  52. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  53. package/dist/esm/interface/crud/users.d.ts +14 -14
  54. package/dist/esm/interface/plan-usage.d.ts +2 -2
  55. package/dist/esm/interface/server-interface.js +1 -1
  56. package/dist/esm/interface/webhooks.d.ts +2 -2
  57. package/dist/esm/known-errors.d.ts +4 -4
  58. package/dist/esm/schema-fields.d.ts +5 -5
  59. package/dist/esm/sessions.d.ts +1 -1
  60. package/dist/esm/utils/promises.js +1 -1
  61. package/dist/helpers/password.d.ts +1 -1
  62. package/dist/helpers/production-mode.d.ts +1 -1
  63. package/dist/index.d.ts +4 -4
  64. package/dist/interface/admin-interface.d.ts +2 -2
  65. package/dist/interface/admin-interface.js +1 -1
  66. package/dist/interface/admin-metrics.d.ts +1 -1
  67. package/dist/interface/client-interface.d.ts +1 -1
  68. package/dist/interface/client-interface.js +1 -1
  69. package/dist/interface/conversations.d.ts +36 -36
  70. package/dist/interface/crud/current-user.d.ts +1 -1
  71. package/dist/interface/crud/email-outbox.d.ts +1 -1
  72. package/dist/interface/crud/invoices.d.ts +1 -1
  73. package/dist/interface/crud/products.d.ts +1 -1
  74. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  75. package/dist/interface/crud/projects.d.ts +1 -1
  76. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  77. package/dist/interface/crud/transactions.d.ts +1 -1
  78. package/dist/interface/crud/users.d.ts +1 -1
  79. package/dist/interface/plan-usage.d.ts +1 -1
  80. package/dist/interface/server-interface.d.ts +1 -1
  81. package/dist/interface/server-interface.js +1 -1
  82. package/dist/interface/webhooks.d.ts +1 -1
  83. package/dist/{invoices-CHo9YKbI.d.ts → invoices-U65KzAZX.d.ts} +3 -3
  84. package/dist/{invoices-CHo9YKbI.d.ts.map → invoices-U65KzAZX.d.ts.map} +1 -1
  85. package/dist/{known-errors-g7JC8z58.d.ts → known-errors-BFf8SVm8.d.ts} +5 -5
  86. package/dist/{known-errors-g7JC8z58.d.ts.map → known-errors-BFf8SVm8.d.ts.map} +1 -1
  87. package/dist/known-errors.d.ts +1 -1
  88. package/dist/{plan-usage-D0kWw4HR.d.ts → plan-usage-CFwV688o.d.ts} +3 -3
  89. package/dist/{plan-usage-D0kWw4HR.d.ts.map → plan-usage-CFwV688o.d.ts.map} +1 -1
  90. package/dist/{products-C98fCS-1.d.ts → products-DzedG6oU.d.ts} +21 -21
  91. package/dist/{products-C98fCS-1.d.ts.map → products-DzedG6oU.d.ts.map} +1 -1
  92. package/dist/{project-api-keys-P97ElZZe.d.ts → project-api-keys-Di2ENRam.d.ts} +5 -5
  93. package/dist/{project-api-keys-P97ElZZe.d.ts.map → project-api-keys-Di2ENRam.d.ts.map} +1 -1
  94. package/dist/{projects-BM2a4sfO.d.ts → projects-W2I5ueag.d.ts} +95 -95
  95. package/dist/{projects-BM2a4sfO.d.ts.map → projects-W2I5ueag.d.ts.map} +1 -1
  96. package/dist/{schema-Bq1TSMFV.d.ts → schema-BXM8B2V2.d.ts} +113 -113
  97. package/dist/{schema-Bq1TSMFV.d.ts.map → schema-BXM8B2V2.d.ts.map} +1 -1
  98. package/dist/{schema-fields-Cch3V5nd.d.ts → schema-fields-DhryPaD4.d.ts} +6 -6
  99. package/dist/{schema-fields-Cch3V5nd.d.ts.map → schema-fields-DhryPaD4.d.ts.map} +1 -1
  100. package/dist/schema-fields.d.ts +1 -1
  101. package/dist/{server-interface-yKuDPrQI.d.ts → server-interface--aZDYxx4.d.ts} +8 -8
  102. package/dist/{server-interface-yKuDPrQI.d.ts.map → server-interface--aZDYxx4.d.ts.map} +1 -1
  103. package/dist/{sessions-DCTyJhi3.d.ts → sessions-CKNkS48M.d.ts} +3 -3
  104. package/dist/{sessions-DCTyJhi3.d.ts.map → sessions-CKNkS48M.d.ts.map} +1 -1
  105. package/dist/sessions.d.ts +1 -1
  106. package/dist/{team-member-profiles-CaD1OJqt.d.ts → team-member-profiles-BhcD2OP5.d.ts} +31 -31
  107. package/dist/{team-member-profiles-CaD1OJqt.d.ts.map → team-member-profiles-BhcD2OP5.d.ts.map} +1 -1
  108. package/dist/{transactions-CrAZLdGo.d.ts → transactions-icyjJzs-.d.ts} +24 -24
  109. package/dist/transactions-icyjJzs-.d.ts.map +1 -0
  110. package/dist/{users-DSpJgn9Z.d.ts → users-DMNuqLTW.d.ts} +16 -16
  111. package/dist/{users-DSpJgn9Z.d.ts.map → users-DMNuqLTW.d.ts.map} +1 -1
  112. package/dist/utils/promises.js +1 -1
  113. package/dist/{webhooks-_aXIgZBW.d.ts → webhooks-8Ts1Clcb.d.ts} +3 -3
  114. package/dist/{webhooks-_aXIgZBW.d.ts.map → webhooks-8Ts1Clcb.d.ts.map} +1 -1
  115. package/package.json +1 -1
  116. package/src/ai/hexclave-ask.test.ts +50 -0
  117. package/src/ai/hexclave-ask.ts +175 -0
  118. package/src/ai/unified-prompts/reminders.ts +4 -4
  119. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -1
  120. package/src/ai/unified-prompts/skill-site-prompt.ts +2 -2
  121. 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" | "domains" | "users" | "apiKeys" | "apps" | "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,19 +124,15 @@ 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;
137
130
  password: {
138
131
  allowSignIn?: boolean | undefined;
139
132
  };
133
+ passkey: {
134
+ allowSignIn?: boolean | undefined;
135
+ };
140
136
  otp: {
141
137
  allowSignIn?: boolean | undefined;
142
138
  };
@@ -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;
@@ -189,18 +186,21 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
189
186
  tsxSource: string;
190
187
  }>;
191
188
  };
189
+ domains: {};
190
+ users: {
191
+ allowClientUserDeletion?: boolean | undefined;
192
+ };
192
193
  apiKeys: {
193
194
  enabled: {
194
- user?: boolean | undefined;
195
195
  team?: boolean | undefined;
196
+ user?: boolean | undefined;
196
197
  };
197
198
  };
198
199
  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", {
200
+ 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
201
  enabled?: boolean | undefined;
201
202
  }>;
202
203
  };
203
- domains: {};
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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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,19 +324,15 @@ 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;
337
330
  password: {
338
331
  allowSignIn?: boolean | undefined;
339
332
  };
333
+ passkey: {
334
+ allowSignIn?: boolean | undefined;
335
+ };
340
336
  otp: {
341
337
  allowSignIn?: boolean | undefined;
342
338
  };
@@ -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;
@@ -389,18 +386,21 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
389
386
  tsxSource: string;
390
387
  }>;
391
388
  };
389
+ domains: {};
390
+ users: {
391
+ allowClientUserDeletion?: boolean | undefined;
392
+ };
392
393
  apiKeys: {
393
394
  enabled: {
394
- user?: boolean | undefined;
395
395
  team?: boolean | undefined;
396
+ user?: boolean | undefined;
396
397
  };
397
398
  };
398
399
  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", {
400
+ 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
401
  enabled?: boolean | undefined;
401
402
  }>;
402
403
  };
403
- domains: {};
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;
@@ -455,6 +455,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
455
455
  password: {
456
456
  allowSignIn?: boolean | undefined;
457
457
  };
458
+ passkey: {
459
+ allowSignIn?: boolean | undefined;
460
+ };
458
461
  otp: {
459
462
  allowSignIn?: boolean | undefined;
460
463
  };
@@ -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
  }>;
@@ -532,11 +532,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
532
532
  }, "server"> & {
533
533
  server: {
534
534
  provider?: "resend" | "smtp" | "managed" | undefined;
535
- password?: string | undefined;
536
- isShared?: boolean | undefined;
537
535
  host?: string | undefined;
538
536
  port?: number | undefined;
539
537
  username?: string | undefined;
538
+ password?: string | undefined;
539
+ isShared?: boolean | undefined;
540
540
  senderName?: string | undefined;
541
541
  senderEmail?: string | undefined;
542
542
  managedSubdomain?: string | undefined;
@@ -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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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,19 +1057,15 @@ 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;
1070
1063
  password: {
1071
1064
  allowSignIn?: boolean | undefined;
1072
1065
  };
1066
+ passkey: {
1067
+ allowSignIn?: boolean | undefined;
1068
+ };
1073
1069
  otp: {
1074
1070
  allowSignIn?: boolean | undefined;
1075
1071
  };
@@ -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;
@@ -1122,18 +1119,21 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1122
1119
  tsxSource: string;
1123
1120
  }>;
1124
1121
  };
1122
+ domains: {};
1123
+ users: {
1124
+ allowClientUserDeletion?: boolean | undefined;
1125
+ };
1125
1126
  apiKeys: {
1126
1127
  enabled: {
1127
- user?: boolean | undefined;
1128
1128
  team?: boolean | undefined;
1129
+ user?: boolean | undefined;
1129
1130
  };
1130
1131
  };
1131
1132
  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", {
1133
+ 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
1134
  enabled?: boolean | undefined;
1134
1135
  }>;
1135
1136
  };
1136
- domains: {};
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;
@@ -1188,6 +1188,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1188
1188
  password: {
1189
1189
  allowSignIn?: boolean | undefined;
1190
1190
  };
1191
+ passkey: {
1192
+ allowSignIn?: boolean | undefined;
1193
+ };
1191
1194
  otp: {
1192
1195
  allowSignIn?: boolean | undefined;
1193
1196
  };
@@ -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
  }>;
@@ -1265,11 +1265,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1265
1265
  }, "server"> & {
1266
1266
  server: {
1267
1267
  provider?: "resend" | "smtp" | "managed" | undefined;
1268
- password?: string | undefined;
1269
- isShared?: boolean | undefined;
1270
1268
  host?: string | undefined;
1271
1269
  port?: number | undefined;
1272
1270
  username?: string | undefined;
1271
+ password?: string | undefined;
1272
+ isShared?: boolean | undefined;
1273
1273
  senderName?: string | undefined;
1274
1274
  senderEmail?: string | undefined;
1275
1275
  managedSubdomain?: string | undefined;
@@ -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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "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" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1671
1671
  rbac: {
1672
1672
  permissions: undefined;
1673
1673
  defaultPermissions: {
@@ -2033,8 +2033,8 @@ 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
2040
  type: "allow" | "reject" | "restrict" | "log";
@@ -2044,10 +2044,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2044
2044
  password: {
2045
2045
  allowSignIn: boolean;
2046
2046
  };
2047
- otp: {
2047
+ passkey: {
2048
2048
  allowSignIn: boolean;
2049
2049
  };
2050
- passkey: {
2050
+ otp: {
2051
2051
  allowSignIn: boolean;
2052
2052
  };
2053
2053
  allowSignUp: boolean;
@@ -2070,11 +2070,11 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2070
2070
  };
2071
2071
  server: {
2072
2072
  provider: "resend" | "smtp" | "managed";
2073
- password: string | undefined;
2074
- isShared: boolean;
2075
2073
  host: string | undefined;
2076
2074
  port: number | undefined;
2077
2075
  username: string | undefined;
2076
+ password: string | undefined;
2077
+ isShared: boolean;
2078
2078
  senderName: string | undefined;
2079
2079
  senderEmail: string | undefined;
2080
2080
  managedSubdomain: string | undefined;
@@ -2102,7 +2102,7 @@ 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]: {
@@ -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]: {
@@ -2190,12 +2187,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2190
2187
  };
2191
2188
  };
2192
2189
  };
2193
- apiKeys: {
2194
- enabled: {
2195
- user: boolean;
2196
- team: boolean;
2197
- };
2198
- };
2199
2190
  domains: {
2200
2191
  allowLocalhost: boolean;
2201
2192
  trustedDomains: {
@@ -2205,6 +2196,15 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2205
2196
  };
2206
2197
  };
2207
2198
  };
2199
+ users: {
2200
+ allowClientUserDeletion: boolean;
2201
+ };
2202
+ apiKeys: {
2203
+ enabled: {
2204
+ team: boolean;
2205
+ user: boolean;
2206
+ };
2207
+ };
2208
2208
  dataVault: {
2209
2209
  stores: {
2210
2210
  [x: string]: {