@hexclave/shared 1.0.64 → 1.0.65

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 (94) hide show
  1. package/dist/{admin-interface-DaxVUjl4.d.ts → admin-interface-DpRVOD-m.d.ts} +11 -11
  2. package/dist/{admin-interface-DaxVUjl4.d.ts.map → admin-interface-DpRVOD-m.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-bsOkw4YQ.d.ts → admin-metrics-1yiWGq9z.d.ts} +15 -15
  4. package/dist/{admin-metrics-bsOkw4YQ.d.ts.map → admin-metrics-1yiWGq9z.d.ts.map} +1 -1
  5. package/dist/ai/unified-prompts/reminders.js +1 -0
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  8. package/dist/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js +1 -1
  9. package/dist/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js.map +1 -1
  10. package/dist/{client-interface-DvkciaL0.d.ts → client-interface-DuVu82ry.d.ts} +10 -10
  11. package/dist/{client-interface-DvkciaL0.d.ts.map → client-interface-DuVu82ry.d.ts.map} +1 -1
  12. package/dist/config/schema.d.ts +1 -1
  13. package/dist/config-authoring.d.ts +1 -1
  14. package/dist/{current-user-BBoN3hsn.d.ts → current-user-BCkMYzHx.d.ts} +17 -17
  15. package/dist/{current-user-BBoN3hsn.d.ts.map → current-user-BCkMYzHx.d.ts.map} +1 -1
  16. package/dist/{email-outbox-B1wmVPRG.d.ts → email-outbox-BRZiK0ZG.d.ts} +221 -221
  17. package/dist/{email-outbox-B1wmVPRG.d.ts.map → email-outbox-BRZiK0ZG.d.ts.map} +1 -1
  18. package/dist/esm/ai/unified-prompts/reminders.js +1 -0
  19. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  20. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  21. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js +1 -1
  22. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js.map +1 -1
  23. package/dist/esm/config/schema.d.ts +90 -90
  24. package/dist/esm/interface/admin-metrics.d.ts +14 -14
  25. package/dist/esm/interface/conversations.d.ts +37 -37
  26. package/dist/esm/interface/crud/current-user.d.ts +16 -16
  27. package/dist/esm/interface/crud/email-outbox.d.ts +220 -220
  28. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  29. package/dist/esm/interface/crud/products.d.ts +23 -23
  30. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  31. package/dist/esm/interface/crud/projects.d.ts +59 -59
  32. package/dist/esm/interface/crud/team-member-profiles.d.ts +32 -32
  33. package/dist/esm/interface/crud/transactions.d.ts +29 -29
  34. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  35. package/dist/esm/interface/crud/users.d.ts +22 -22
  36. package/dist/esm/interface/plan-usage.d.ts +1 -1
  37. package/dist/esm/interface/webhooks.d.ts +4 -4
  38. package/dist/esm/known-errors.d.ts +4 -4
  39. package/dist/esm/schema-fields.d.ts +8 -8
  40. package/dist/esm/sessions.d.ts +8 -8
  41. package/dist/helpers/password.d.ts +1 -1
  42. package/dist/helpers/production-mode.d.ts +1 -1
  43. package/dist/index.d.ts +4 -4
  44. package/dist/interface/admin-interface.d.ts +2 -2
  45. package/dist/interface/admin-metrics.d.ts +1 -1
  46. package/dist/interface/client-interface.d.ts +1 -1
  47. package/dist/interface/conversations.d.ts +37 -37
  48. package/dist/interface/crud/current-user.d.ts +1 -1
  49. package/dist/interface/crud/email-outbox.d.ts +1 -1
  50. package/dist/interface/crud/invoices.d.ts +1 -1
  51. package/dist/interface/crud/products.d.ts +1 -1
  52. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  53. package/dist/interface/crud/projects.d.ts +1 -1
  54. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  55. package/dist/interface/crud/transactions.d.ts +1 -1
  56. package/dist/interface/crud/users.d.ts +1 -1
  57. package/dist/interface/plan-usage.d.ts +1 -1
  58. package/dist/interface/server-interface.d.ts +1 -1
  59. package/dist/interface/webhooks.d.ts +1 -1
  60. package/dist/{invoices-CHo9YKbI.d.ts → invoices-BGLLnTlR.d.ts} +3 -3
  61. package/dist/{invoices-CHo9YKbI.d.ts.map → invoices-BGLLnTlR.d.ts.map} +1 -1
  62. package/dist/{known-errors-Bm4a61wL.d.ts → known-errors-Bhd0JAgh.d.ts} +5 -5
  63. package/dist/{known-errors-Bm4a61wL.d.ts.map → known-errors-Bhd0JAgh.d.ts.map} +1 -1
  64. package/dist/known-errors.d.ts +1 -1
  65. package/dist/{plan-usage-BaDxcLZ1.d.ts → plan-usage-COq9I00z.d.ts} +2 -2
  66. package/dist/{plan-usage-BaDxcLZ1.d.ts.map → plan-usage-COq9I00z.d.ts.map} +1 -1
  67. package/dist/{products-D4o8A2W0.d.ts → products-BkPf1X78.d.ts} +24 -24
  68. package/dist/{products-D4o8A2W0.d.ts.map → products-BkPf1X78.d.ts.map} +1 -1
  69. package/dist/{project-api-keys--7V5X_UW.d.ts → project-api-keys-CK9SIo0q.d.ts} +5 -5
  70. package/dist/{project-api-keys--7V5X_UW.d.ts.map → project-api-keys-CK9SIo0q.d.ts.map} +1 -1
  71. package/dist/{projects-BX5Y50kJ.d.ts → projects-CVqfljhv.d.ts} +60 -60
  72. package/dist/{projects-BX5Y50kJ.d.ts.map → projects-CVqfljhv.d.ts.map} +1 -1
  73. package/dist/{schema-dJ_7rUCO.d.ts → schema-3X-2xYMA.d.ts} +91 -91
  74. package/dist/{schema-dJ_7rUCO.d.ts.map → schema-3X-2xYMA.d.ts.map} +1 -1
  75. package/dist/{schema-fields-DZtDQEEO.d.ts → schema-fields-D_5cu_1S.d.ts} +9 -9
  76. package/dist/{schema-fields-DZtDQEEO.d.ts.map → schema-fields-D_5cu_1S.d.ts.map} +1 -1
  77. package/dist/schema-fields.d.ts +1 -1
  78. package/dist/{server-interface-Ra_vIHP4.d.ts → server-interface-D4qaM0LE.d.ts} +8 -8
  79. package/dist/{server-interface-Ra_vIHP4.d.ts.map → server-interface-D4qaM0LE.d.ts.map} +1 -1
  80. package/dist/{sessions-CI-0TBQb.d.ts → sessions-Cu_D5stb.d.ts} +10 -10
  81. package/dist/{sessions-CI-0TBQb.d.ts.map → sessions-Cu_D5stb.d.ts.map} +1 -1
  82. package/dist/sessions.d.ts +1 -1
  83. package/dist/{team-member-profiles-BoDEqx-0.d.ts → team-member-profiles-CgYXR-Rx.d.ts} +33 -33
  84. package/dist/{team-member-profiles-BoDEqx-0.d.ts.map → team-member-profiles-CgYXR-Rx.d.ts.map} +1 -1
  85. package/dist/{transactions-CHNUJ42J.d.ts → transactions-7q13mxhG.d.ts} +30 -30
  86. package/dist/transactions-7q13mxhG.d.ts.map +1 -0
  87. package/dist/{users-DHNRwoSz.d.ts → users-7MKfEyyq.d.ts} +24 -24
  88. package/dist/{users-DHNRwoSz.d.ts.map → users-7MKfEyyq.d.ts.map} +1 -1
  89. package/dist/{webhooks-8Ts1Clcb.d.ts → webhooks-C5gG85Ce.d.ts} +5 -5
  90. package/dist/{webhooks-8Ts1Clcb.d.ts.map → webhooks-C5gG85Ce.d.ts.map} +1 -1
  91. package/package.json +1 -1
  92. package/src/ai/unified-prompts/reminders.ts +1 -0
  93. package/src/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.ts +1 -1
  94. package/dist/transactions-CHNUJ42J.d.ts.map +0 -1
@@ -35,16 +35,15 @@ 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
+ stackable?: boolean | undefined;
41
42
  displayName?: string | undefined;
42
43
  serverOnly?: boolean | undefined;
43
44
  freeTrial?: import("../utils/dates").DayInterval | undefined;
44
45
  productLineId?: string | undefined;
45
46
  isAddOnTo?: false | Record<string, true> | undefined;
46
- stackable?: boolean | undefined;
47
- customerType: "team" | "user" | "custom";
48
47
  prices: Record<string, {
49
48
  USD?: string | undefined;
50
49
  EUR?: string | undefined;
@@ -57,6 +56,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
57
56
  serverOnly?: boolean | undefined;
58
57
  freeTrial?: import("../utils/dates").DayInterval | undefined;
59
58
  }>;
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?: "team" | "user" | "custom" | undefined;
68
+ customerType?: "user" | "team" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
98
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
99
99
  payments?: {
100
100
  blockNewPurchases?: boolean | undefined;
101
101
  autoPay?: {
@@ -103,20 +103,19 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
103
103
  } | undefined;
104
104
  items: Record<string, {
105
105
  displayName?: string | undefined;
106
- customerType?: "team" | "user" | "custom" | undefined;
106
+ customerType?: "user" | "team" | "custom" | undefined;
107
107
  }>;
108
108
  productLines: Record<string, {
109
109
  displayName?: string | undefined;
110
- customerType?: "team" | "user" | "custom" | undefined;
110
+ customerType?: "user" | "team" | "custom" | undefined;
111
111
  }>;
112
112
  products: Record<string, {
113
+ stackable?: boolean | undefined;
113
114
  displayName?: string | undefined;
114
115
  serverOnly?: boolean | undefined;
115
116
  freeTrial?: import("../utils/dates").DayInterval | undefined;
116
117
  productLineId?: string | undefined;
117
118
  isAddOnTo?: false | Record<string, true> | undefined;
118
- stackable?: boolean | undefined;
119
- customerType: "team" | "user" | "custom";
120
119
  prices: Record<string, {
121
120
  USD?: string | undefined;
122
121
  EUR?: string | undefined;
@@ -129,6 +128,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
129
128
  serverOnly?: boolean | undefined;
130
129
  freeTrial?: import("../utils/dates").DayInterval | undefined;
131
130
  }>;
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
- otp: {
145
+ passkey: {
146
146
  allowSignIn?: boolean | undefined;
147
147
  };
148
- passkey: {
148
+ otp: {
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
- displayName?: string | undefined;
161
160
  enabled?: boolean | undefined;
161
+ displayName?: string | undefined;
162
162
  priority?: number | undefined;
163
163
  condition?: string | undefined;
164
164
  action: {
@@ -207,19 +207,20 @@ 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;
211
210
  key?: string | undefined;
212
211
  value?: string | undefined;
212
+ type?: "secret" | "connection" | undefined;
213
213
  }>;
214
214
  }>;
215
215
  };
216
+ domains: {};
216
217
  users: {
217
218
  allowClientUserDeletion?: boolean | undefined;
218
219
  };
219
220
  apiKeys: {
220
221
  enabled: {
221
- team?: boolean | undefined;
222
222
  user?: boolean | undefined;
223
+ team?: boolean | undefined;
223
224
  };
224
225
  };
225
226
  apps: {
@@ -227,7 +228,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
227
228
  enabled?: boolean | undefined;
228
229
  }>;
229
230
  };
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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
241
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
316
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
317
317
  payments?: {
318
318
  blockNewPurchases?: boolean | undefined;
319
319
  autoPay?: {
@@ -321,20 +321,19 @@ 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?: "team" | "user" | "custom" | undefined;
324
+ customerType?: "user" | "team" | "custom" | undefined;
325
325
  }>;
326
326
  productLines: Record<string, {
327
327
  displayName?: string | undefined;
328
- customerType?: "team" | "user" | "custom" | undefined;
328
+ customerType?: "user" | "team" | "custom" | undefined;
329
329
  }>;
330
330
  products: Record<string, {
331
+ stackable?: boolean | undefined;
331
332
  displayName?: string | undefined;
332
333
  serverOnly?: boolean | undefined;
333
334
  freeTrial?: import("../utils/dates").DayInterval | undefined;
334
335
  productLineId?: string | undefined;
335
336
  isAddOnTo?: false | Record<string, true> | undefined;
336
- stackable?: boolean | undefined;
337
- customerType: "team" | "user" | "custom";
338
337
  prices: Record<string, {
339
338
  USD?: string | undefined;
340
339
  EUR?: string | undefined;
@@ -347,6 +346,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
347
346
  serverOnly?: boolean | undefined;
348
347
  freeTrial?: import("../utils/dates").DayInterval | undefined;
349
348
  }>;
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
- otp: {
363
+ passkey: {
364
364
  allowSignIn?: boolean | undefined;
365
365
  };
366
- passkey: {
366
+ otp: {
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
- displayName?: string | undefined;
379
378
  enabled?: boolean | undefined;
379
+ displayName?: string | undefined;
380
380
  priority?: number | undefined;
381
381
  condition?: string | undefined;
382
382
  action: {
@@ -425,19 +425,20 @@ 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;
429
428
  key?: string | undefined;
430
429
  value?: string | undefined;
430
+ type?: "secret" | "connection" | undefined;
431
431
  }>;
432
432
  }>;
433
433
  };
434
+ domains: {};
434
435
  users: {
435
436
  allowClientUserDeletion?: boolean | undefined;
436
437
  };
437
438
  apiKeys: {
438
439
  enabled: {
439
- team?: boolean | undefined;
440
440
  user?: boolean | undefined;
441
+ team?: boolean | undefined;
441
442
  };
442
443
  };
443
444
  apps: {
@@ -445,7 +446,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
445
446
  enabled?: boolean | undefined;
446
447
  }>;
447
448
  };
448
- domains: {};
449
449
  dataVault: {
450
450
  stores: Record<string, {
451
451
  displayName?: string | undefined;
@@ -459,20 +459,19 @@ 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?: "team" | "user" | "custom" | undefined;
462
+ customerType?: "user" | "team" | "custom" | undefined;
463
463
  }>;
464
464
  productLines: Record<string, {
465
465
  displayName?: string | undefined;
466
- customerType?: "team" | "user" | "custom" | undefined;
466
+ customerType?: "user" | "team" | "custom" | undefined;
467
467
  }>;
468
468
  products: Record<string, {
469
+ stackable?: boolean | undefined;
469
470
  displayName?: string | undefined;
470
471
  serverOnly?: boolean | undefined;
471
472
  freeTrial?: import("../utils/dates").DayInterval | undefined;
472
473
  productLineId?: string | undefined;
473
474
  isAddOnTo?: false | Record<string, true> | undefined;
474
- stackable?: boolean | undefined;
475
- customerType: "team" | "user" | "custom";
476
475
  prices: Record<string, {
477
476
  USD?: string | undefined;
478
477
  EUR?: string | undefined;
@@ -485,6 +484,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
485
484
  serverOnly?: boolean | undefined;
486
485
  freeTrial?: import("../utils/dates").DayInterval | undefined;
487
486
  }>;
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
- otp: {
503
+ passkey: {
504
504
  allowSignIn?: boolean | undefined;
505
505
  };
506
- passkey: {
506
+ otp: {
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
- displayName?: string | undefined;
519
518
  enabled?: boolean | undefined;
519
+ displayName?: string | 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
- displayName?: string | undefined;
539
538
  scope?: string | undefined;
539
+ displayName?: 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;
582
581
  host?: string | undefined;
583
582
  port?: number | undefined;
584
583
  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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
613
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
686
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
759
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
835
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
921
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
997
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1082
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1083
1083
  payments?: {
1084
1084
  blockNewPurchases?: boolean | undefined;
1085
1085
  autoPay?: {
@@ -1087,20 +1087,19 @@ 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?: "team" | "user" | "custom" | undefined;
1090
+ customerType?: "user" | "team" | "custom" | undefined;
1091
1091
  }>;
1092
1092
  productLines: Record<string, {
1093
1093
  displayName?: string | undefined;
1094
- customerType?: "team" | "user" | "custom" | undefined;
1094
+ customerType?: "user" | "team" | "custom" | undefined;
1095
1095
  }>;
1096
1096
  products: Record<string, {
1097
+ stackable?: boolean | undefined;
1097
1098
  displayName?: string | undefined;
1098
1099
  serverOnly?: boolean | undefined;
1099
1100
  freeTrial?: import("../utils/dates").DayInterval | undefined;
1100
1101
  productLineId?: string | undefined;
1101
1102
  isAddOnTo?: false | Record<string, true> | undefined;
1102
- stackable?: boolean | undefined;
1103
- customerType: "team" | "user" | "custom";
1104
1103
  prices: Record<string, {
1105
1104
  USD?: string | undefined;
1106
1105
  EUR?: string | undefined;
@@ -1113,6 +1112,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1113
1112
  serverOnly?: boolean | undefined;
1114
1113
  freeTrial?: import("../utils/dates").DayInterval | undefined;
1115
1114
  }>;
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
- otp: {
1129
+ passkey: {
1130
1130
  allowSignIn?: boolean | undefined;
1131
1131
  };
1132
- passkey: {
1132
+ otp: {
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
- displayName?: string | undefined;
1145
1144
  enabled?: boolean | undefined;
1145
+ displayName?: string | undefined;
1146
1146
  priority?: number | undefined;
1147
1147
  condition?: string | undefined;
1148
1148
  action: {
@@ -1191,19 +1191,20 @@ 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;
1195
1194
  key?: string | undefined;
1196
1195
  value?: string | undefined;
1196
+ type?: "secret" | "connection" | undefined;
1197
1197
  }>;
1198
1198
  }>;
1199
1199
  };
1200
+ domains: {};
1200
1201
  users: {
1201
1202
  allowClientUserDeletion?: boolean | undefined;
1202
1203
  };
1203
1204
  apiKeys: {
1204
1205
  enabled: {
1205
- team?: boolean | undefined;
1206
1206
  user?: boolean | undefined;
1207
+ team?: boolean | undefined;
1207
1208
  };
1208
1209
  };
1209
1210
  apps: {
@@ -1211,7 +1212,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1211
1212
  enabled?: boolean | undefined;
1212
1213
  }>;
1213
1214
  };
1214
- domains: {};
1215
1215
  dataVault: {
1216
1216
  stores: Record<string, {
1217
1217
  displayName?: string | undefined;
@@ -1225,20 +1225,19 @@ 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?: "team" | "user" | "custom" | undefined;
1228
+ customerType?: "user" | "team" | "custom" | undefined;
1229
1229
  }>;
1230
1230
  productLines: Record<string, {
1231
1231
  displayName?: string | undefined;
1232
- customerType?: "team" | "user" | "custom" | undefined;
1232
+ customerType?: "user" | "team" | "custom" | undefined;
1233
1233
  }>;
1234
1234
  products: Record<string, {
1235
+ stackable?: boolean | undefined;
1235
1236
  displayName?: string | undefined;
1236
1237
  serverOnly?: boolean | undefined;
1237
1238
  freeTrial?: import("../utils/dates").DayInterval | undefined;
1238
1239
  productLineId?: string | undefined;
1239
1240
  isAddOnTo?: false | Record<string, true> | undefined;
1240
- stackable?: boolean | undefined;
1241
- customerType: "team" | "user" | "custom";
1242
1241
  prices: Record<string, {
1243
1242
  USD?: string | undefined;
1244
1243
  EUR?: string | undefined;
@@ -1251,6 +1250,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1251
1250
  serverOnly?: boolean | undefined;
1252
1251
  freeTrial?: import("../utils/dates").DayInterval | undefined;
1253
1252
  }>;
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
- otp: {
1269
+ passkey: {
1270
1270
  allowSignIn?: boolean | undefined;
1271
1271
  };
1272
- passkey: {
1272
+ otp: {
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
- displayName?: string | undefined;
1285
1284
  enabled?: boolean | undefined;
1285
+ displayName?: string | 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
- displayName?: string | undefined;
1305
1304
  scope?: string | undefined;
1305
+ displayName?: 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;
1348
1347
  host?: string | undefined;
1349
1348
  port?: number | undefined;
1350
1349
  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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1379
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1452
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1525
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1601
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1687
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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" | "users" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1763
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "deployments-alpha" | "domains" | "users" | "apiKeys" | "apps" | "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
- displayName?: string | undefined;
2126
2125
  scope?: string | undefined;
2126
+ displayName?: 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
- displayName: string | undefined;
2147
2146
  enabled: boolean;
2147
+ displayName: string | undefined;
2148
2148
  priority: number;
2149
2149
  condition: string | undefined;
2150
2150
  action: {
2151
- message: string | undefined;
2152
2151
  type: "allow" | "reject" | "restrict" | "log";
2152
+ message: string | undefined;
2153
2153
  };
2154
2154
  }>;
2155
- allowSignUp: boolean;
2156
2155
  password: {
2157
2156
  allowSignIn: boolean;
2158
2157
  };
2159
- otp: {
2158
+ passkey: {
2160
2159
  allowSignIn: boolean;
2161
2160
  };
2162
- passkey: {
2161
+ allowSignUp: boolean;
2162
+ otp: {
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;
2186
2185
  host: string | undefined;
2187
2186
  port: number | undefined;
2188
2187
  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;
2212
2213
  displayName: string;
2213
2214
  serverOnly: boolean;
2214
2215
  freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2215
2216
  productLineId: string | undefined;
2216
- customerType: "team" | "user" | "custom";
2217
- stackable: boolean | undefined;
2217
+ customerType: "user" | "team" | "custom";
2218
2218
  includedItems: {
2219
2219
  [x: string]: {
2220
- quantity: number;
2221
2220
  repeat: "never" | [number, "day" | "week" | "month" | "year"];
2221
+ quantity: number;
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: "team" | "user" | "custom";
2229
+ customerType: "user" | "team" | "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: "team" | "user" | "custom" | undefined;
2239
+ customerType: "user" | "team" | "custom" | undefined;
2240
2240
  };
2241
2241
  };
2242
2242
  testMode: boolean;
@@ -2309,23 +2309,14 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2309
2309
  rootDirectory: string | undefined;
2310
2310
  env: {
2311
2311
  [x: string]: {
2312
- type: "secret" | "connection" | undefined;
2313
2312
  key: string | undefined;
2314
2313
  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
- };
2329
2320
  domains: {
2330
2321
  allowLocalhost: boolean;
2331
2322
  trustedDomains: {
@@ -2335,6 +2326,15 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2335
2326
  };
2336
2327
  };
2337
2328
  };
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]: {