@hexclave/shared 1.0.65 → 1.0.67

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 (103) hide show
  1. package/dist/{admin-interface-DpRVOD-m.d.ts → admin-interface-0fhNIT4c.d.ts} +11 -11
  2. package/dist/{admin-interface-DpRVOD-m.d.ts.map → admin-interface-0fhNIT4c.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-1yiWGq9z.d.ts → admin-metrics-bsOkw4YQ.d.ts} +15 -15
  4. package/dist/{admin-metrics-1yiWGq9z.d.ts.map → admin-metrics-bsOkw4YQ.d.ts.map} +1 -1
  5. package/dist/ai/llms/llms.js +1 -1
  6. package/dist/ai/llms/llms.js.map +1 -1
  7. package/dist/ai/unified-prompts/reminders.js +2 -3
  8. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  9. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  10. package/dist/apps/apps-config.d.ts +6 -0
  11. package/dist/apps/apps-config.d.ts.map +1 -1
  12. package/dist/apps/apps-config.js +6 -0
  13. package/dist/apps/apps-config.js.map +1 -1
  14. package/dist/{client-interface-DuVu82ry.d.ts → client-interface-DvkciaL0.d.ts} +10 -10
  15. package/dist/{client-interface-DuVu82ry.d.ts.map → client-interface-DvkciaL0.d.ts.map} +1 -1
  16. package/dist/config/schema.d.ts +1 -1
  17. package/dist/config-authoring.d.ts +1 -1
  18. package/dist/{current-user-BCkMYzHx.d.ts → current-user-BBoN3hsn.d.ts} +17 -17
  19. package/dist/{current-user-BCkMYzHx.d.ts.map → current-user-BBoN3hsn.d.ts.map} +1 -1
  20. package/dist/{email-outbox-BRZiK0ZG.d.ts → email-outbox-CqzwInBL.d.ts} +313 -313
  21. package/dist/{email-outbox-BRZiK0ZG.d.ts.map → email-outbox-CqzwInBL.d.ts.map} +1 -1
  22. package/dist/esm/ai/llms/llms.js +1 -1
  23. package/dist/esm/ai/llms/llms.js.map +1 -1
  24. package/dist/esm/ai/unified-prompts/reminders.js +2 -3
  25. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  26. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  27. package/dist/esm/apps/apps-config.d.ts +6 -0
  28. package/dist/esm/apps/apps-config.d.ts.map +1 -1
  29. package/dist/esm/apps/apps-config.js +6 -0
  30. package/dist/esm/apps/apps-config.js.map +1 -1
  31. package/dist/esm/config/schema.d.ts +93 -93
  32. package/dist/esm/interface/admin-metrics.d.ts +14 -14
  33. package/dist/esm/interface/conversations.d.ts +37 -37
  34. package/dist/esm/interface/crud/current-user.d.ts +16 -16
  35. package/dist/esm/interface/crud/email-outbox.d.ts +312 -312
  36. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  37. package/dist/esm/interface/crud/products.d.ts +23 -23
  38. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  39. package/dist/esm/interface/crud/projects.d.ts +59 -59
  40. package/dist/esm/interface/crud/team-member-profiles.d.ts +32 -32
  41. package/dist/esm/interface/crud/transactions.d.ts +29 -29
  42. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  43. package/dist/esm/interface/crud/users.d.ts +22 -22
  44. package/dist/esm/interface/plan-usage.d.ts +1 -1
  45. package/dist/esm/interface/webhooks.d.ts +4 -4
  46. package/dist/esm/known-errors.d.ts +4 -4
  47. package/dist/esm/schema-fields.d.ts +8 -8
  48. package/dist/esm/sessions.d.ts +8 -8
  49. package/dist/helpers/password.d.ts +1 -1
  50. package/dist/helpers/production-mode.d.ts +1 -1
  51. package/dist/index.d.ts +4 -4
  52. package/dist/interface/admin-interface.d.ts +2 -2
  53. package/dist/interface/admin-metrics.d.ts +1 -1
  54. package/dist/interface/client-interface.d.ts +1 -1
  55. package/dist/interface/conversations.d.ts +37 -37
  56. package/dist/interface/crud/current-user.d.ts +1 -1
  57. package/dist/interface/crud/email-outbox.d.ts +1 -1
  58. package/dist/interface/crud/invoices.d.ts +1 -1
  59. package/dist/interface/crud/products.d.ts +1 -1
  60. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  61. package/dist/interface/crud/projects.d.ts +1 -1
  62. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  63. package/dist/interface/crud/transactions.d.ts +1 -1
  64. package/dist/interface/crud/users.d.ts +1 -1
  65. package/dist/interface/plan-usage.d.ts +1 -1
  66. package/dist/interface/server-interface.d.ts +1 -1
  67. package/dist/interface/webhooks.d.ts +1 -1
  68. package/dist/{invoices-BGLLnTlR.d.ts → invoices-CHo9YKbI.d.ts} +3 -3
  69. package/dist/{invoices-BGLLnTlR.d.ts.map → invoices-CHo9YKbI.d.ts.map} +1 -1
  70. package/dist/{known-errors-Bhd0JAgh.d.ts → known-errors-Bm4a61wL.d.ts} +5 -5
  71. package/dist/{known-errors-Bhd0JAgh.d.ts.map → known-errors-Bm4a61wL.d.ts.map} +1 -1
  72. package/dist/known-errors.d.ts +1 -1
  73. package/dist/{plan-usage-COq9I00z.d.ts → plan-usage-BaDxcLZ1.d.ts} +2 -2
  74. package/dist/{plan-usage-COq9I00z.d.ts.map → plan-usage-BaDxcLZ1.d.ts.map} +1 -1
  75. package/dist/{products-BkPf1X78.d.ts → products-D4o8A2W0.d.ts} +24 -24
  76. package/dist/{products-BkPf1X78.d.ts.map → products-D4o8A2W0.d.ts.map} +1 -1
  77. package/dist/{project-api-keys-CK9SIo0q.d.ts → project-api-keys--7V5X_UW.d.ts} +5 -5
  78. package/dist/{project-api-keys-CK9SIo0q.d.ts.map → project-api-keys--7V5X_UW.d.ts.map} +1 -1
  79. package/dist/{projects-CVqfljhv.d.ts → projects-BX5Y50kJ.d.ts} +60 -60
  80. package/dist/{projects-CVqfljhv.d.ts.map → projects-BX5Y50kJ.d.ts.map} +1 -1
  81. package/dist/{schema-3X-2xYMA.d.ts → schema-KigK8FiY.d.ts} +94 -94
  82. package/dist/{schema-3X-2xYMA.d.ts.map → schema-KigK8FiY.d.ts.map} +1 -1
  83. package/dist/{schema-fields-D_5cu_1S.d.ts → schema-fields-DZtDQEEO.d.ts} +9 -9
  84. package/dist/{schema-fields-D_5cu_1S.d.ts.map → schema-fields-DZtDQEEO.d.ts.map} +1 -1
  85. package/dist/schema-fields.d.ts +1 -1
  86. package/dist/{server-interface-D4qaM0LE.d.ts → server-interface-Ra_vIHP4.d.ts} +8 -8
  87. package/dist/{server-interface-D4qaM0LE.d.ts.map → server-interface-Ra_vIHP4.d.ts.map} +1 -1
  88. package/dist/{sessions-Cu_D5stb.d.ts → sessions-CI-0TBQb.d.ts} +10 -10
  89. package/dist/{sessions-Cu_D5stb.d.ts.map → sessions-CI-0TBQb.d.ts.map} +1 -1
  90. package/dist/sessions.d.ts +1 -1
  91. package/dist/{team-member-profiles-CgYXR-Rx.d.ts → team-member-profiles-BoDEqx-0.d.ts} +33 -33
  92. package/dist/{team-member-profiles-CgYXR-Rx.d.ts.map → team-member-profiles-BoDEqx-0.d.ts.map} +1 -1
  93. package/dist/{transactions-7q13mxhG.d.ts → transactions-CHNUJ42J.d.ts} +30 -30
  94. package/dist/transactions-CHNUJ42J.d.ts.map +1 -0
  95. package/dist/{users-7MKfEyyq.d.ts → users-DHNRwoSz.d.ts} +24 -24
  96. package/dist/{users-7MKfEyyq.d.ts.map → users-DHNRwoSz.d.ts.map} +1 -1
  97. package/dist/{webhooks-C5gG85Ce.d.ts → webhooks-8Ts1Clcb.d.ts} +5 -5
  98. package/dist/{webhooks-C5gG85Ce.d.ts.map → webhooks-8Ts1Clcb.d.ts.map} +1 -1
  99. package/package.json +1 -1
  100. package/src/ai/llms/llms.ts +1 -1
  101. package/src/ai/unified-prompts/reminders.ts +2 -3
  102. package/src/apps/apps-config.ts +6 -0
  103. package/dist/transactions-7q13mxhG.d.ts.map +0 -1
@@ -35,15 +35,16 @@ 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
- stackable?: boolean | undefined;
42
41
  displayName?: string | undefined;
43
42
  serverOnly?: boolean | undefined;
44
43
  freeTrial?: import("../utils/dates").DayInterval | undefined;
45
44
  productLineId?: string | undefined;
46
45
  isAddOnTo?: false | Record<string, true> | undefined;
46
+ stackable?: boolean | undefined;
47
+ customerType: "team" | "user" | "custom";
47
48
  prices: Record<string, {
48
49
  USD?: string | undefined;
49
50
  EUR?: string | undefined;
@@ -56,7 +57,6 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
56
57
  serverOnly?: boolean | undefined;
57
58
  freeTrial?: import("../utils/dates").DayInterval | undefined;
58
59
  }>;
59
- customerType: "user" | "team" | "custom";
60
60
  includedItems: Record<string, {
61
61
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
62
62
  expires?: "never" | "when-purchase-expires" | "when-repeated" | 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;
@@ -95,7 +95,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
95
95
  sourceOfTruth: {
96
96
  type: "hosted";
97
97
  };
98
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
98
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
99
99
  payments?: {
100
100
  blockNewPurchases?: boolean | undefined;
101
101
  autoPay?: {
@@ -103,19 +103,20 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
103
103
  } | undefined;
104
104
  items: Record<string, {
105
105
  displayName?: string | undefined;
106
- customerType?: "user" | "team" | "custom" | undefined;
106
+ customerType?: "team" | "user" | "custom" | undefined;
107
107
  }>;
108
108
  productLines: Record<string, {
109
109
  displayName?: string | undefined;
110
- customerType?: "user" | "team" | "custom" | undefined;
110
+ customerType?: "team" | "user" | "custom" | undefined;
111
111
  }>;
112
112
  products: Record<string, {
113
- stackable?: boolean | undefined;
114
113
  displayName?: string | undefined;
115
114
  serverOnly?: boolean | undefined;
116
115
  freeTrial?: import("../utils/dates").DayInterval | undefined;
117
116
  productLineId?: string | undefined;
118
117
  isAddOnTo?: false | Record<string, true> | undefined;
118
+ stackable?: boolean | undefined;
119
+ customerType: "team" | "user" | "custom";
119
120
  prices: Record<string, {
120
121
  USD?: string | undefined;
121
122
  EUR?: string | undefined;
@@ -128,7 +129,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
128
129
  serverOnly?: boolean | undefined;
129
130
  freeTrial?: import("../utils/dates").DayInterval | undefined;
130
131
  }>;
131
- customerType: "user" | "team" | "custom";
132
132
  includedItems: Record<string, {
133
133
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
134
134
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -142,10 +142,10 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
142
142
  password: {
143
143
  allowSignIn?: boolean | undefined;
144
144
  };
145
- passkey: {
145
+ otp: {
146
146
  allowSignIn?: boolean | undefined;
147
147
  };
148
- otp: {
148
+ passkey: {
149
149
  allowSignIn?: boolean | undefined;
150
150
  };
151
151
  oauth: {
@@ -157,8 +157,8 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
157
157
  }>;
158
158
  };
159
159
  signUpRules: Record<string, {
160
- enabled?: boolean | undefined;
161
160
  displayName?: string | undefined;
161
+ enabled?: boolean | undefined;
162
162
  priority?: number | undefined;
163
163
  condition?: string | undefined;
164
164
  action: {
@@ -207,27 +207,27 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
207
207
  rootDirectory?: string | undefined;
208
208
  type: "vercel";
209
209
  env: Record<string, {
210
+ type?: "secret" | "connection" | undefined;
210
211
  key?: string | undefined;
211
212
  value?: string | undefined;
212
- type?: "secret" | "connection" | undefined;
213
213
  }>;
214
214
  }>;
215
215
  };
216
- domains: {};
217
216
  users: {
218
217
  allowClientUserDeletion?: boolean | undefined;
219
218
  };
220
219
  apiKeys: {
221
220
  enabled: {
222
- user?: boolean | undefined;
223
221
  team?: boolean | undefined;
222
+ user?: boolean | undefined;
224
223
  };
225
224
  };
226
225
  apps: {
227
- 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" | "deployments-alpha", {
226
+ installed: Record<"gtm" | "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" | "deployments-alpha", {
228
227
  enabled?: boolean | undefined;
229
228
  }>;
230
229
  };
230
+ domains: {};
231
231
  dataVault: {
232
232
  stores: Record<string, {
233
233
  displayName?: string | undefined;
@@ -238,7 +238,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
238
238
  project: {
239
239
  requirePublishableClientKey: undefined;
240
240
  };
241
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
241
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
242
242
  rbac: {
243
243
  permissions: undefined;
244
244
  defaultPermissions: {
@@ -313,7 +313,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
313
313
  sourceOfTruth: {
314
314
  type: "hosted";
315
315
  };
316
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
316
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
317
317
  payments?: {
318
318
  blockNewPurchases?: boolean | undefined;
319
319
  autoPay?: {
@@ -321,19 +321,20 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
321
321
  } | undefined;
322
322
  items: Record<string, {
323
323
  displayName?: string | undefined;
324
- customerType?: "user" | "team" | "custom" | undefined;
324
+ customerType?: "team" | "user" | "custom" | undefined;
325
325
  }>;
326
326
  productLines: Record<string, {
327
327
  displayName?: string | undefined;
328
- customerType?: "user" | "team" | "custom" | undefined;
328
+ customerType?: "team" | "user" | "custom" | undefined;
329
329
  }>;
330
330
  products: Record<string, {
331
- stackable?: boolean | undefined;
332
331
  displayName?: string | undefined;
333
332
  serverOnly?: boolean | undefined;
334
333
  freeTrial?: import("../utils/dates").DayInterval | undefined;
335
334
  productLineId?: string | undefined;
336
335
  isAddOnTo?: false | Record<string, true> | undefined;
336
+ stackable?: boolean | undefined;
337
+ customerType: "team" | "user" | "custom";
337
338
  prices: Record<string, {
338
339
  USD?: string | undefined;
339
340
  EUR?: string | undefined;
@@ -346,7 +347,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
346
347
  serverOnly?: boolean | undefined;
347
348
  freeTrial?: import("../utils/dates").DayInterval | undefined;
348
349
  }>;
349
- customerType: "user" | "team" | "custom";
350
350
  includedItems: Record<string, {
351
351
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
352
352
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -360,10 +360,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
360
360
  password: {
361
361
  allowSignIn?: boolean | undefined;
362
362
  };
363
- passkey: {
363
+ otp: {
364
364
  allowSignIn?: boolean | undefined;
365
365
  };
366
- otp: {
366
+ passkey: {
367
367
  allowSignIn?: boolean | undefined;
368
368
  };
369
369
  oauth: {
@@ -375,8 +375,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
375
375
  }>;
376
376
  };
377
377
  signUpRules: Record<string, {
378
- enabled?: boolean | undefined;
379
378
  displayName?: string | undefined;
379
+ enabled?: boolean | undefined;
380
380
  priority?: number | undefined;
381
381
  condition?: string | undefined;
382
382
  action: {
@@ -425,27 +425,27 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
425
425
  rootDirectory?: string | undefined;
426
426
  type: "vercel";
427
427
  env: Record<string, {
428
+ type?: "secret" | "connection" | undefined;
428
429
  key?: string | undefined;
429
430
  value?: string | undefined;
430
- type?: "secret" | "connection" | undefined;
431
431
  }>;
432
432
  }>;
433
433
  };
434
- domains: {};
435
434
  users: {
436
435
  allowClientUserDeletion?: boolean | undefined;
437
436
  };
438
437
  apiKeys: {
439
438
  enabled: {
440
- user?: boolean | undefined;
441
439
  team?: boolean | undefined;
440
+ user?: boolean | undefined;
442
441
  };
443
442
  };
444
443
  apps: {
445
- 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" | "deployments-alpha", {
444
+ installed: Record<"gtm" | "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" | "deployments-alpha", {
446
445
  enabled?: boolean | undefined;
447
446
  }>;
448
447
  };
448
+ domains: {};
449
449
  dataVault: {
450
450
  stores: Record<string, {
451
451
  displayName?: string | undefined;
@@ -459,19 +459,20 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
459
459
  } | undefined;
460
460
  items: Record<string, {
461
461
  displayName?: string | undefined;
462
- customerType?: "user" | "team" | "custom" | undefined;
462
+ customerType?: "team" | "user" | "custom" | undefined;
463
463
  }>;
464
464
  productLines: Record<string, {
465
465
  displayName?: string | undefined;
466
- customerType?: "user" | "team" | "custom" | undefined;
466
+ customerType?: "team" | "user" | "custom" | undefined;
467
467
  }>;
468
468
  products: Record<string, {
469
- stackable?: boolean | undefined;
470
469
  displayName?: string | undefined;
471
470
  serverOnly?: boolean | undefined;
472
471
  freeTrial?: import("../utils/dates").DayInterval | undefined;
473
472
  productLineId?: string | undefined;
474
473
  isAddOnTo?: false | Record<string, true> | undefined;
474
+ stackable?: boolean | undefined;
475
+ customerType: "team" | "user" | "custom";
475
476
  prices: Record<string, {
476
477
  USD?: string | undefined;
477
478
  EUR?: string | undefined;
@@ -484,7 +485,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
484
485
  serverOnly?: boolean | undefined;
485
486
  freeTrial?: import("../utils/dates").DayInterval | undefined;
486
487
  }>;
487
- customerType: "user" | "team" | "custom";
488
488
  includedItems: Record<string, {
489
489
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
490
490
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -500,10 +500,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
500
500
  password: {
501
501
  allowSignIn?: boolean | undefined;
502
502
  };
503
- passkey: {
503
+ otp: {
504
504
  allowSignIn?: boolean | undefined;
505
505
  };
506
- otp: {
506
+ passkey: {
507
507
  allowSignIn?: boolean | undefined;
508
508
  };
509
509
  oauth: {
@@ -515,8 +515,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
515
515
  }>;
516
516
  };
517
517
  signUpRules: Record<string, {
518
- enabled?: boolean | undefined;
519
518
  displayName?: string | undefined;
519
+ enabled?: boolean | undefined;
520
520
  priority?: number | undefined;
521
521
  condition?: string | undefined;
522
522
  action: {
@@ -535,8 +535,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
535
535
  }, "providers"> & {
536
536
  providers: Record<string, {
537
537
  type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
538
- scope?: string | undefined;
539
538
  displayName?: string | undefined;
539
+ scope?: string | undefined;
540
540
  allowSignIn?: boolean | undefined;
541
541
  allowConnectedAccounts?: boolean | undefined;
542
542
  isShared?: boolean | undefined;
@@ -578,10 +578,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
578
578
  server: {
579
579
  provider?: "resend" | "smtp" | "managed" | undefined;
580
580
  password?: string | undefined;
581
+ isShared?: boolean | undefined;
581
582
  host?: string | undefined;
582
583
  port?: number | undefined;
583
584
  username?: string | undefined;
584
- isShared?: boolean | undefined;
585
585
  senderName?: string | undefined;
586
586
  senderEmail?: string | undefined;
587
587
  managedSubdomain?: string | undefined;
@@ -610,7 +610,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
610
610
  project: {
611
611
  requirePublishableClientKey: undefined;
612
612
  };
613
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
613
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
614
614
  rbac: {
615
615
  permissions: undefined;
616
616
  defaultPermissions: {
@@ -683,7 +683,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
683
683
  project: {
684
684
  requirePublishableClientKey: undefined;
685
685
  };
686
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
686
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
687
687
  rbac: {
688
688
  permissions: undefined;
689
689
  defaultPermissions: {
@@ -756,7 +756,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
756
756
  project: {
757
757
  requirePublishableClientKey: undefined;
758
758
  };
759
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
759
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
760
760
  rbac: {
761
761
  permissions: undefined;
762
762
  defaultPermissions: {
@@ -832,7 +832,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
832
832
  project: {
833
833
  requirePublishableClientKey: undefined;
834
834
  };
835
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
835
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
836
836
  rbac: {
837
837
  permissions: undefined;
838
838
  defaultPermissions: {
@@ -918,7 +918,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
918
918
  project: {
919
919
  requirePublishableClientKey: undefined;
920
920
  };
921
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
921
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
922
922
  rbac: {
923
923
  permissions: undefined;
924
924
  defaultPermissions: {
@@ -994,7 +994,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
994
994
  project: {
995
995
  requirePublishableClientKey: undefined;
996
996
  };
997
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
997
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
998
998
  rbac: {
999
999
  permissions: undefined;
1000
1000
  defaultPermissions: {
@@ -1079,7 +1079,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1079
1079
  sourceOfTruth: {
1080
1080
  type: "hosted";
1081
1081
  };
1082
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1082
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1083
1083
  payments?: {
1084
1084
  blockNewPurchases?: boolean | undefined;
1085
1085
  autoPay?: {
@@ -1087,19 +1087,20 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1087
1087
  } | undefined;
1088
1088
  items: Record<string, {
1089
1089
  displayName?: string | undefined;
1090
- customerType?: "user" | "team" | "custom" | undefined;
1090
+ customerType?: "team" | "user" | "custom" | undefined;
1091
1091
  }>;
1092
1092
  productLines: Record<string, {
1093
1093
  displayName?: string | undefined;
1094
- customerType?: "user" | "team" | "custom" | undefined;
1094
+ customerType?: "team" | "user" | "custom" | undefined;
1095
1095
  }>;
1096
1096
  products: Record<string, {
1097
- stackable?: boolean | undefined;
1098
1097
  displayName?: string | undefined;
1099
1098
  serverOnly?: boolean | undefined;
1100
1099
  freeTrial?: import("../utils/dates").DayInterval | undefined;
1101
1100
  productLineId?: string | undefined;
1102
1101
  isAddOnTo?: false | Record<string, true> | undefined;
1102
+ stackable?: boolean | undefined;
1103
+ customerType: "team" | "user" | "custom";
1103
1104
  prices: Record<string, {
1104
1105
  USD?: string | undefined;
1105
1106
  EUR?: string | undefined;
@@ -1112,7 +1113,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1112
1113
  serverOnly?: boolean | undefined;
1113
1114
  freeTrial?: import("../utils/dates").DayInterval | undefined;
1114
1115
  }>;
1115
- customerType: "user" | "team" | "custom";
1116
1116
  includedItems: Record<string, {
1117
1117
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
1118
1118
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -1126,10 +1126,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1126
1126
  password: {
1127
1127
  allowSignIn?: boolean | undefined;
1128
1128
  };
1129
- passkey: {
1129
+ otp: {
1130
1130
  allowSignIn?: boolean | undefined;
1131
1131
  };
1132
- otp: {
1132
+ passkey: {
1133
1133
  allowSignIn?: boolean | undefined;
1134
1134
  };
1135
1135
  oauth: {
@@ -1141,8 +1141,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1141
1141
  }>;
1142
1142
  };
1143
1143
  signUpRules: Record<string, {
1144
- enabled?: boolean | undefined;
1145
1144
  displayName?: string | undefined;
1145
+ enabled?: boolean | undefined;
1146
1146
  priority?: number | undefined;
1147
1147
  condition?: string | undefined;
1148
1148
  action: {
@@ -1191,27 +1191,27 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1191
1191
  rootDirectory?: string | undefined;
1192
1192
  type: "vercel";
1193
1193
  env: Record<string, {
1194
+ type?: "secret" | "connection" | undefined;
1194
1195
  key?: string | undefined;
1195
1196
  value?: string | undefined;
1196
- type?: "secret" | "connection" | undefined;
1197
1197
  }>;
1198
1198
  }>;
1199
1199
  };
1200
- domains: {};
1201
1200
  users: {
1202
1201
  allowClientUserDeletion?: boolean | undefined;
1203
1202
  };
1204
1203
  apiKeys: {
1205
1204
  enabled: {
1206
- user?: boolean | undefined;
1207
1205
  team?: boolean | undefined;
1206
+ user?: boolean | undefined;
1208
1207
  };
1209
1208
  };
1210
1209
  apps: {
1211
- 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" | "deployments-alpha", {
1210
+ installed: Record<"gtm" | "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" | "deployments-alpha", {
1212
1211
  enabled?: boolean | undefined;
1213
1212
  }>;
1214
1213
  };
1214
+ domains: {};
1215
1215
  dataVault: {
1216
1216
  stores: Record<string, {
1217
1217
  displayName?: string | undefined;
@@ -1225,19 +1225,20 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1225
1225
  } | undefined;
1226
1226
  items: Record<string, {
1227
1227
  displayName?: string | undefined;
1228
- customerType?: "user" | "team" | "custom" | undefined;
1228
+ customerType?: "team" | "user" | "custom" | undefined;
1229
1229
  }>;
1230
1230
  productLines: Record<string, {
1231
1231
  displayName?: string | undefined;
1232
- customerType?: "user" | "team" | "custom" | undefined;
1232
+ customerType?: "team" | "user" | "custom" | undefined;
1233
1233
  }>;
1234
1234
  products: Record<string, {
1235
- stackable?: boolean | undefined;
1236
1235
  displayName?: string | undefined;
1237
1236
  serverOnly?: boolean | undefined;
1238
1237
  freeTrial?: import("../utils/dates").DayInterval | undefined;
1239
1238
  productLineId?: string | undefined;
1240
1239
  isAddOnTo?: false | Record<string, true> | undefined;
1240
+ stackable?: boolean | undefined;
1241
+ customerType: "team" | "user" | "custom";
1241
1242
  prices: Record<string, {
1242
1243
  USD?: string | undefined;
1243
1244
  EUR?: string | undefined;
@@ -1250,7 +1251,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1250
1251
  serverOnly?: boolean | undefined;
1251
1252
  freeTrial?: import("../utils/dates").DayInterval | undefined;
1252
1253
  }>;
1253
- customerType: "user" | "team" | "custom";
1254
1254
  includedItems: Record<string, {
1255
1255
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
1256
1256
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -1266,10 +1266,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1266
1266
  password: {
1267
1267
  allowSignIn?: boolean | undefined;
1268
1268
  };
1269
- passkey: {
1269
+ otp: {
1270
1270
  allowSignIn?: boolean | undefined;
1271
1271
  };
1272
- otp: {
1272
+ passkey: {
1273
1273
  allowSignIn?: boolean | undefined;
1274
1274
  };
1275
1275
  oauth: {
@@ -1281,8 +1281,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1281
1281
  }>;
1282
1282
  };
1283
1283
  signUpRules: Record<string, {
1284
- enabled?: boolean | undefined;
1285
1284
  displayName?: string | undefined;
1285
+ enabled?: boolean | undefined;
1286
1286
  priority?: number | undefined;
1287
1287
  condition?: string | undefined;
1288
1288
  action: {
@@ -1301,8 +1301,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1301
1301
  }, "providers"> & {
1302
1302
  providers: Record<string, {
1303
1303
  type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
1304
- scope?: string | undefined;
1305
1304
  displayName?: string | undefined;
1305
+ scope?: string | undefined;
1306
1306
  allowSignIn?: boolean | undefined;
1307
1307
  allowConnectedAccounts?: boolean | undefined;
1308
1308
  isShared?: boolean | undefined;
@@ -1344,10 +1344,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1344
1344
  server: {
1345
1345
  provider?: "resend" | "smtp" | "managed" | undefined;
1346
1346
  password?: string | undefined;
1347
+ isShared?: boolean | undefined;
1347
1348
  host?: string | undefined;
1348
1349
  port?: number | undefined;
1349
1350
  username?: string | undefined;
1350
- isShared?: boolean | undefined;
1351
1351
  senderName?: string | undefined;
1352
1352
  senderEmail?: string | undefined;
1353
1353
  managedSubdomain?: string | undefined;
@@ -1376,7 +1376,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1376
1376
  project: {
1377
1377
  requirePublishableClientKey: undefined;
1378
1378
  };
1379
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1379
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1380
1380
  rbac: {
1381
1381
  permissions: undefined;
1382
1382
  defaultPermissions: {
@@ -1449,7 +1449,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1449
1449
  project: {
1450
1450
  requirePublishableClientKey: undefined;
1451
1451
  };
1452
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1452
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1453
1453
  rbac: {
1454
1454
  permissions: undefined;
1455
1455
  defaultPermissions: {
@@ -1522,7 +1522,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1522
1522
  project: {
1523
1523
  requirePublishableClientKey: undefined;
1524
1524
  };
1525
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1525
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1526
1526
  rbac: {
1527
1527
  permissions: undefined;
1528
1528
  defaultPermissions: {
@@ -1598,7 +1598,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1598
1598
  project: {
1599
1599
  requirePublishableClientKey: undefined;
1600
1600
  };
1601
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1601
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1602
1602
  rbac: {
1603
1603
  permissions: undefined;
1604
1604
  defaultPermissions: {
@@ -1684,7 +1684,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1684
1684
  project: {
1685
1685
  requirePublishableClientKey: undefined;
1686
1686
  };
1687
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1687
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1688
1688
  rbac: {
1689
1689
  permissions: undefined;
1690
1690
  defaultPermissions: {
@@ -1760,7 +1760,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1760
1760
  project: {
1761
1761
  requirePublishableClientKey: undefined;
1762
1762
  };
1763
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1763
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1764
1764
  rbac: {
1765
1765
  permissions: undefined;
1766
1766
  defaultPermissions: {
@@ -2122,8 +2122,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2122
2122
  auth: {
2123
2123
  oauth: {
2124
2124
  providers: Record<string, {
2125
- scope?: string | undefined;
2126
2125
  displayName?: string | undefined;
2126
+ scope?: string | undefined;
2127
2127
  issuerUrl?: string | undefined;
2128
2128
  type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
2129
2129
  allowSignIn: boolean;
@@ -2143,23 +2143,23 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2143
2143
  accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
2144
2144
  };
2145
2145
  signUpRules: Record<string, {
2146
- enabled: boolean;
2147
2146
  displayName: string | undefined;
2147
+ enabled: boolean;
2148
2148
  priority: number;
2149
2149
  condition: string | undefined;
2150
2150
  action: {
2151
- type: "allow" | "reject" | "restrict" | "log";
2152
2151
  message: string | undefined;
2152
+ type: "allow" | "reject" | "restrict" | "log";
2153
2153
  };
2154
2154
  }>;
2155
+ allowSignUp: boolean;
2155
2156
  password: {
2156
2157
  allowSignIn: boolean;
2157
2158
  };
2158
- passkey: {
2159
+ otp: {
2159
2160
  allowSignIn: boolean;
2160
2161
  };
2161
- allowSignUp: boolean;
2162
- otp: {
2162
+ passkey: {
2163
2163
  allowSignIn: boolean;
2164
2164
  };
2165
2165
  signUpRulesDefaultAction: string;
@@ -2182,10 +2182,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2182
2182
  server: {
2183
2183
  provider: "resend" | "smtp" | "managed";
2184
2184
  password: string | undefined;
2185
+ isShared: boolean;
2185
2186
  host: string | undefined;
2186
2187
  port: number | undefined;
2187
2188
  username: string | undefined;
2188
- isShared: boolean;
2189
2189
  senderName: string | undefined;
2190
2190
  senderEmail: string | undefined;
2191
2191
  managedSubdomain: string | undefined;
@@ -2209,16 +2209,16 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2209
2209
  }> & {
2210
2210
  serverOnly: boolean;
2211
2211
  }>;
2212
- stackable: boolean | undefined;
2213
2212
  displayName: string;
2214
2213
  serverOnly: boolean;
2215
2214
  freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2216
2215
  productLineId: string | undefined;
2217
- customerType: "user" | "team" | "custom";
2216
+ customerType: "team" | "user" | "custom";
2217
+ stackable: boolean | undefined;
2218
2218
  includedItems: {
2219
2219
  [x: string]: {
2220
- repeat: "never" | [number, "day" | "week" | "month" | "year"];
2221
2220
  quantity: number;
2221
+ repeat: "never" | [number, "day" | "week" | "month" | "year"];
2222
2222
  expires: "never" | "when-purchase-expires" | "when-repeated";
2223
2223
  };
2224
2224
  };
@@ -2226,7 +2226,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2226
2226
  items: {
2227
2227
  [x: string]: {
2228
2228
  displayName: string;
2229
- customerType: "user" | "team" | "custom";
2229
+ customerType: "team" | "user" | "custom";
2230
2230
  };
2231
2231
  };
2232
2232
  blockNewPurchases: boolean;
@@ -2236,7 +2236,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2236
2236
  productLines: {
2237
2237
  [x: string]: {
2238
2238
  displayName: string | undefined;
2239
- customerType: "user" | "team" | "custom" | undefined;
2239
+ customerType: "team" | "user" | "custom" | undefined;
2240
2240
  };
2241
2241
  };
2242
2242
  testMode: boolean;
@@ -2309,14 +2309,23 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2309
2309
  rootDirectory: string | undefined;
2310
2310
  env: {
2311
2311
  [x: string]: {
2312
+ type: "secret" | "connection" | undefined;
2312
2313
  key: string | undefined;
2313
2314
  value: string | undefined;
2314
- type: "secret" | "connection" | undefined;
2315
2315
  };
2316
2316
  };
2317
2317
  };
2318
2318
  };
2319
2319
  };
2320
+ users: {
2321
+ allowClientUserDeletion: boolean;
2322
+ };
2323
+ apiKeys: {
2324
+ enabled: {
2325
+ team: boolean;
2326
+ user: boolean;
2327
+ };
2328
+ };
2320
2329
  domains: {
2321
2330
  allowLocalhost: boolean;
2322
2331
  trustedDomains: {
@@ -2326,15 +2335,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2326
2335
  };
2327
2336
  };
2328
2337
  };
2329
- users: {
2330
- allowClientUserDeletion: boolean;
2331
- };
2332
- apiKeys: {
2333
- enabled: {
2334
- user: boolean;
2335
- team: boolean;
2336
- };
2337
- };
2338
2338
  dataVault: {
2339
2339
  stores: {
2340
2340
  [x: string]: {