@hexclave/shared 1.0.54 → 1.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/{admin-interface-DuboQXpC.d.ts → admin-interface-DIt0PvhC.d.ts} +11 -11
  2. package/dist/{admin-interface-DuboQXpC.d.ts.map → admin-interface-DIt0PvhC.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-IxLyJ-cP.d.ts → admin-metrics-bsOkw4YQ.d.ts} +18 -18
  4. package/dist/{admin-metrics-IxLyJ-cP.d.ts.map → admin-metrics-bsOkw4YQ.d.ts.map} +1 -1
  5. package/dist/ai/unified-prompts/reminders.js +1 -1
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/{client-interface-Ca6UZywk.d.ts → client-interface-BQz4jNAC.d.ts} +9 -9
  8. package/dist/{client-interface-Ca6UZywk.d.ts.map → client-interface-BQz4jNAC.d.ts.map} +1 -1
  9. package/dist/config/schema-fuzzer.test.js +1 -1
  10. package/dist/config/schema.d.ts +1 -1
  11. package/dist/config/schema.js +1 -1
  12. package/dist/config-authoring.d.ts +1 -1
  13. package/dist/{current-user-DNxac4sS.d.ts → current-user-BBoN3hsn.d.ts} +15 -15
  14. package/dist/{current-user-DNxac4sS.d.ts.map → current-user-BBoN3hsn.d.ts.map} +1 -1
  15. package/dist/{email-outbox-ILs0LlGd.d.ts → email-outbox-CqzwInBL.d.ts} +95 -95
  16. package/dist/{email-outbox-ILs0LlGd.d.ts.map → email-outbox-CqzwInBL.d.ts.map} +1 -1
  17. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  18. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  19. package/dist/esm/config/schema-fuzzer.test.js +1 -1
  20. package/dist/esm/config/schema.d.ts +99 -99
  21. package/dist/esm/config/schema.js +1 -1
  22. package/dist/esm/interface/admin-interface.js +1 -1
  23. package/dist/esm/interface/admin-metrics.d.ts +17 -17
  24. package/dist/esm/interface/client-interface.js +2 -2
  25. package/dist/esm/interface/conversations.d.ts +10 -10
  26. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  27. package/dist/esm/interface/crud/email-outbox.d.ts +94 -94
  28. package/dist/esm/interface/crud/products.d.ts +17 -17
  29. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  30. package/dist/esm/interface/crud/projects.d.ts +28 -28
  31. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  32. package/dist/esm/interface/crud/transactions.d.ts +15 -15
  33. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  34. package/dist/esm/interface/crud/users.d.ts +16 -16
  35. package/dist/esm/interface/plan-usage.d.ts +2 -2
  36. package/dist/esm/interface/server-interface.js +1 -1
  37. package/dist/esm/interface/webhooks.d.ts +2 -2
  38. package/dist/esm/known-errors.d.ts +3 -3
  39. package/dist/esm/schema-fields.d.ts +5 -5
  40. package/dist/esm/sessions.d.ts +8 -8
  41. package/dist/helpers/password.d.ts +1 -1
  42. package/dist/helpers/production-mode.d.ts +1 -1
  43. package/dist/index.d.ts +4 -4
  44. package/dist/interface/admin-interface.d.ts +2 -2
  45. package/dist/interface/admin-interface.js +1 -1
  46. package/dist/interface/admin-metrics.d.ts +1 -1
  47. package/dist/interface/client-interface.d.ts +1 -1
  48. package/dist/interface/client-interface.js +2 -2
  49. package/dist/interface/conversations.d.ts +10 -10
  50. package/dist/interface/crud/current-user.d.ts +1 -1
  51. package/dist/interface/crud/email-outbox.d.ts +1 -1
  52. package/dist/interface/crud/products.d.ts +1 -1
  53. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  54. package/dist/interface/crud/projects.d.ts +1 -1
  55. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  56. package/dist/interface/crud/transactions.d.ts +1 -1
  57. package/dist/interface/crud/users.d.ts +1 -1
  58. package/dist/interface/plan-usage.d.ts +1 -1
  59. package/dist/interface/server-interface.d.ts +1 -1
  60. package/dist/interface/server-interface.js +1 -1
  61. package/dist/interface/webhooks.d.ts +1 -1
  62. package/dist/{known-errors-g7JC8z58.d.ts → known-errors-Bm4a61wL.d.ts} +4 -4
  63. package/dist/{known-errors-g7JC8z58.d.ts.map → known-errors-Bm4a61wL.d.ts.map} +1 -1
  64. package/dist/known-errors.d.ts +1 -1
  65. package/dist/{plan-usage-D0kWw4HR.d.ts → plan-usage-BO2GsKlN.d.ts} +3 -3
  66. package/dist/{plan-usage-D0kWw4HR.d.ts.map → plan-usage-BO2GsKlN.d.ts.map} +1 -1
  67. package/dist/{products-C98fCS-1.d.ts → products-D4o8A2W0.d.ts} +18 -18
  68. package/dist/{products-C98fCS-1.d.ts.map → products-D4o8A2W0.d.ts.map} +1 -1
  69. package/dist/{project-api-keys-P97ElZZe.d.ts → project-api-keys--7V5X_UW.d.ts} +5 -5
  70. package/dist/{project-api-keys-P97ElZZe.d.ts.map → project-api-keys--7V5X_UW.d.ts.map} +1 -1
  71. package/dist/{projects-BM2a4sfO.d.ts → projects-CFTNXRfG.d.ts} +29 -29
  72. package/dist/{projects-BM2a4sfO.d.ts.map → projects-CFTNXRfG.d.ts.map} +1 -1
  73. package/dist/{schema-Bq1TSMFV.d.ts → schema-CLmaZetm.d.ts} +100 -100
  74. package/dist/{schema-Bq1TSMFV.d.ts.map → schema-CLmaZetm.d.ts.map} +1 -1
  75. package/dist/{schema-fields-Cch3V5nd.d.ts → schema-fields-DZtDQEEO.d.ts} +6 -6
  76. package/dist/{schema-fields-Cch3V5nd.d.ts.map → schema-fields-DZtDQEEO.d.ts.map} +1 -1
  77. package/dist/schema-fields.d.ts +1 -1
  78. package/dist/{server-interface-yKuDPrQI.d.ts → server-interface-BjY-eS4Q.d.ts} +8 -8
  79. package/dist/{server-interface-yKuDPrQI.d.ts.map → server-interface-BjY-eS4Q.d.ts.map} +1 -1
  80. package/dist/{sessions-DCTyJhi3.d.ts → sessions-CI-0TBQb.d.ts} +10 -10
  81. package/dist/{sessions-DCTyJhi3.d.ts.map → sessions-CI-0TBQb.d.ts.map} +1 -1
  82. package/dist/sessions.d.ts +1 -1
  83. package/dist/{team-member-profiles-CaD1OJqt.d.ts → team-member-profiles-BoDEqx-0.d.ts} +25 -25
  84. package/dist/{team-member-profiles-CaD1OJqt.d.ts.map → team-member-profiles-BoDEqx-0.d.ts.map} +1 -1
  85. package/dist/{transactions-CrAZLdGo.d.ts → transactions-CHNUJ42J.d.ts} +16 -16
  86. package/dist/transactions-CHNUJ42J.d.ts.map +1 -0
  87. package/dist/{users-DSpJgn9Z.d.ts → users-DHNRwoSz.d.ts} +18 -18
  88. package/dist/{users-DSpJgn9Z.d.ts.map → users-DHNRwoSz.d.ts.map} +1 -1
  89. package/dist/{webhooks-_aXIgZBW.d.ts → webhooks-8Ts1Clcb.d.ts} +3 -3
  90. package/dist/{webhooks-_aXIgZBW.d.ts.map → webhooks-8Ts1Clcb.d.ts.map} +1 -1
  91. package/package.json +1 -1
  92. package/src/ai/unified-prompts/reminders.ts +1 -1
  93. package/dist/transactions-CrAZLdGo.d.ts.map +0 -1
@@ -36,7 +36,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
36
36
  } | undefined;
37
37
  productLines: Record<string, {
38
38
  displayName?: string | undefined;
39
- customerType?: "user" | "team" | "custom" | undefined;
39
+ customerType?: "team" | "user" | "custom" | undefined;
40
40
  }>;
41
41
  products: Record<string, {
42
42
  displayName?: string | undefined;
@@ -45,7 +45,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
45
45
  productLineId?: string | undefined;
46
46
  isAddOnTo?: false | Record<string, true> | undefined;
47
47
  stackable?: boolean | undefined;
48
- customerType: "user" | "team" | "custom";
48
+ customerType: "team" | "user" | "custom";
49
49
  prices: Record<string, {
50
50
  USD?: string | undefined;
51
51
  EUR?: string | undefined;
@@ -66,7 +66,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
66
66
  }>;
67
67
  items: Record<string, {
68
68
  displayName?: string | undefined;
69
- customerType?: "user" | "team" | "custom" | undefined;
69
+ customerType?: "team" | "user" | "custom" | undefined;
70
70
  }>;
71
71
  } | undefined, yup$1.AnyObject, {
72
72
  blockNewPurchases: undefined;
@@ -84,7 +84,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
84
84
  sourceOfTruth: {
85
85
  type: "hosted";
86
86
  };
87
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
87
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
88
88
  payments?: {
89
89
  blockNewPurchases?: boolean | undefined;
90
90
  autoPay?: {
@@ -92,11 +92,11 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
92
92
  } | undefined;
93
93
  items: Record<string, {
94
94
  displayName?: string | undefined;
95
- customerType?: "user" | "team" | "custom" | undefined;
95
+ customerType?: "team" | "user" | "custom" | undefined;
96
96
  }>;
97
97
  productLines: Record<string, {
98
98
  displayName?: string | undefined;
99
- customerType?: "user" | "team" | "custom" | undefined;
99
+ customerType?: "team" | "user" | "custom" | undefined;
100
100
  }>;
101
101
  products: Record<string, {
102
102
  displayName?: string | undefined;
@@ -105,7 +105,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
105
105
  productLineId?: string | undefined;
106
106
  isAddOnTo?: false | Record<string, true> | undefined;
107
107
  stackable?: boolean | undefined;
108
- customerType: "user" | "team" | "custom";
108
+ customerType: "team" | "user" | "custom";
109
109
  prices: Record<string, {
110
110
  USD?: string | undefined;
111
111
  EUR?: string | undefined;
@@ -125,13 +125,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
125
125
  }>;
126
126
  }>;
127
127
  } | undefined;
128
- users: {
129
- allowClientUserDeletion?: boolean | undefined;
130
- };
131
- teams: {
132
- createPersonalTeamOnSignUp?: boolean | undefined;
133
- allowClientTeamCreation?: boolean | undefined;
134
- };
135
128
  auth: {
136
129
  allowSignUp?: boolean | undefined;
137
130
  signUpRulesDefaultAction?: string | undefined;
@@ -141,6 +134,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
141
134
  otp: {
142
135
  allowSignIn?: boolean | undefined;
143
136
  };
137
+ passkey: {
138
+ allowSignIn?: boolean | undefined;
139
+ };
144
140
  oauth: {
145
141
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
146
142
  providers: Record<string, {
@@ -149,13 +145,10 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
149
145
  allowConnectedAccounts?: boolean | undefined;
150
146
  }>;
151
147
  };
152
- passkey: {
153
- allowSignIn?: boolean | undefined;
154
- };
155
148
  signUpRules: Record<string, {
156
149
  displayName?: string | undefined;
157
- priority?: number | undefined;
158
150
  enabled?: boolean | undefined;
151
+ priority?: number | undefined;
159
152
  condition?: string | undefined;
160
153
  action: {
161
154
  message?: string | undefined;
@@ -166,6 +159,10 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
166
159
  onboarding: {
167
160
  requireEmailVerification?: boolean | undefined;
168
161
  };
162
+ teams: {
163
+ createPersonalTeamOnSignUp?: boolean | undefined;
164
+ allowClientTeamCreation?: boolean | undefined;
165
+ };
169
166
  rbac: {
170
167
  permissions: Record<string, {
171
168
  description?: string | undefined;
@@ -192,16 +189,19 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
192
189
  };
193
190
  apiKeys: {
194
191
  enabled: {
195
- user?: boolean | undefined;
196
192
  team?: boolean | undefined;
193
+ user?: boolean | undefined;
197
194
  };
198
195
  };
199
196
  apps: {
200
- 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", {
197
+ 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", {
201
198
  enabled?: boolean | undefined;
202
199
  }>;
203
200
  };
204
201
  domains: {};
202
+ users: {
203
+ allowClientUserDeletion?: boolean | undefined;
204
+ };
205
205
  dataVault: {
206
206
  stores: Record<string, {
207
207
  displayName?: string | undefined;
@@ -212,7 +212,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
212
212
  project: {
213
213
  requirePublishableClientKey: undefined;
214
214
  };
215
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
215
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
216
216
  rbac: {
217
217
  permissions: undefined;
218
218
  defaultPermissions: {
@@ -284,7 +284,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
284
284
  sourceOfTruth: {
285
285
  type: "hosted";
286
286
  };
287
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
287
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
288
288
  payments?: {
289
289
  blockNewPurchases?: boolean | undefined;
290
290
  autoPay?: {
@@ -292,11 +292,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
292
292
  } | undefined;
293
293
  items: Record<string, {
294
294
  displayName?: string | undefined;
295
- customerType?: "user" | "team" | "custom" | undefined;
295
+ customerType?: "team" | "user" | "custom" | undefined;
296
296
  }>;
297
297
  productLines: Record<string, {
298
298
  displayName?: string | undefined;
299
- customerType?: "user" | "team" | "custom" | undefined;
299
+ customerType?: "team" | "user" | "custom" | undefined;
300
300
  }>;
301
301
  products: Record<string, {
302
302
  displayName?: string | undefined;
@@ -305,7 +305,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
305
305
  productLineId?: string | undefined;
306
306
  isAddOnTo?: false | Record<string, true> | undefined;
307
307
  stackable?: boolean | undefined;
308
- customerType: "user" | "team" | "custom";
308
+ customerType: "team" | "user" | "custom";
309
309
  prices: Record<string, {
310
310
  USD?: string | undefined;
311
311
  EUR?: string | undefined;
@@ -325,13 +325,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
325
325
  }>;
326
326
  }>;
327
327
  } | undefined;
328
- users: {
329
- allowClientUserDeletion?: boolean | undefined;
330
- };
331
- teams: {
332
- createPersonalTeamOnSignUp?: boolean | undefined;
333
- allowClientTeamCreation?: boolean | undefined;
334
- };
335
328
  auth: {
336
329
  allowSignUp?: boolean | undefined;
337
330
  signUpRulesDefaultAction?: string | undefined;
@@ -341,6 +334,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
341
334
  otp: {
342
335
  allowSignIn?: boolean | undefined;
343
336
  };
337
+ passkey: {
338
+ allowSignIn?: boolean | undefined;
339
+ };
344
340
  oauth: {
345
341
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
346
342
  providers: Record<string, {
@@ -349,13 +345,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
349
345
  allowConnectedAccounts?: boolean | undefined;
350
346
  }>;
351
347
  };
352
- passkey: {
353
- allowSignIn?: boolean | undefined;
354
- };
355
348
  signUpRules: Record<string, {
356
349
  displayName?: string | undefined;
357
- priority?: number | undefined;
358
350
  enabled?: boolean | undefined;
351
+ priority?: number | undefined;
359
352
  condition?: string | undefined;
360
353
  action: {
361
354
  message?: string | undefined;
@@ -366,6 +359,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
366
359
  onboarding: {
367
360
  requireEmailVerification?: boolean | undefined;
368
361
  };
362
+ teams: {
363
+ createPersonalTeamOnSignUp?: boolean | undefined;
364
+ allowClientTeamCreation?: boolean | undefined;
365
+ };
369
366
  rbac: {
370
367
  permissions: Record<string, {
371
368
  description?: string | undefined;
@@ -392,16 +389,19 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
392
389
  };
393
390
  apiKeys: {
394
391
  enabled: {
395
- user?: boolean | undefined;
396
392
  team?: boolean | undefined;
393
+ user?: boolean | undefined;
397
394
  };
398
395
  };
399
396
  apps: {
400
- 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", {
397
+ 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", {
401
398
  enabled?: boolean | undefined;
402
399
  }>;
403
400
  };
404
401
  domains: {};
402
+ users: {
403
+ allowClientUserDeletion?: boolean | undefined;
404
+ };
405
405
  dataVault: {
406
406
  stores: Record<string, {
407
407
  displayName?: string | undefined;
@@ -415,11 +415,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
415
415
  } | undefined;
416
416
  items: Record<string, {
417
417
  displayName?: string | undefined;
418
- customerType?: "user" | "team" | "custom" | undefined;
418
+ customerType?: "team" | "user" | "custom" | undefined;
419
419
  }>;
420
420
  productLines: Record<string, {
421
421
  displayName?: string | undefined;
422
- customerType?: "user" | "team" | "custom" | undefined;
422
+ customerType?: "team" | "user" | "custom" | undefined;
423
423
  }>;
424
424
  products: Record<string, {
425
425
  displayName?: string | undefined;
@@ -428,7 +428,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
428
428
  productLineId?: string | undefined;
429
429
  isAddOnTo?: false | Record<string, true> | undefined;
430
430
  stackable?: boolean | undefined;
431
- customerType: "user" | "team" | "custom";
431
+ customerType: "team" | "user" | "custom";
432
432
  prices: Record<string, {
433
433
  USD?: string | undefined;
434
434
  EUR?: string | undefined;
@@ -459,6 +459,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
459
459
  otp: {
460
460
  allowSignIn?: boolean | undefined;
461
461
  };
462
+ passkey: {
463
+ allowSignIn?: boolean | undefined;
464
+ };
462
465
  oauth: {
463
466
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
464
467
  providers: Record<string, {
@@ -467,13 +470,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
467
470
  allowConnectedAccounts?: boolean | undefined;
468
471
  }>;
469
472
  };
470
- passkey: {
471
- allowSignIn?: boolean | undefined;
472
- };
473
473
  signUpRules: Record<string, {
474
474
  displayName?: string | undefined;
475
- priority?: number | undefined;
476
475
  enabled?: boolean | undefined;
476
+ priority?: number | undefined;
477
477
  condition?: string | undefined;
478
478
  action: {
479
479
  message?: string | undefined;
@@ -513,8 +513,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
513
513
  displayName?: string | undefined;
514
514
  sortOrder?: number | undefined;
515
515
  queries: Record<string, {
516
- displayName?: string | undefined;
517
516
  description?: string | undefined;
517
+ displayName?: string | undefined;
518
518
  sqlQuery?: string | undefined;
519
519
  }>;
520
520
  }>;
@@ -566,7 +566,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
566
566
  project: {
567
567
  requirePublishableClientKey: undefined;
568
568
  };
569
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
569
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
570
570
  rbac: {
571
571
  permissions: undefined;
572
572
  defaultPermissions: {
@@ -636,7 +636,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
636
636
  project: {
637
637
  requirePublishableClientKey: undefined;
638
638
  };
639
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
639
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
640
640
  rbac: {
641
641
  permissions: undefined;
642
642
  defaultPermissions: {
@@ -706,7 +706,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
706
706
  project: {
707
707
  requirePublishableClientKey: undefined;
708
708
  };
709
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
709
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
710
710
  rbac: {
711
711
  permissions: undefined;
712
712
  defaultPermissions: {
@@ -779,7 +779,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
779
779
  project: {
780
780
  requirePublishableClientKey: undefined;
781
781
  };
782
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
782
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
783
783
  rbac: {
784
784
  permissions: undefined;
785
785
  defaultPermissions: {
@@ -862,7 +862,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
862
862
  project: {
863
863
  requirePublishableClientKey: undefined;
864
864
  };
865
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
865
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
866
866
  rbac: {
867
867
  permissions: undefined;
868
868
  defaultPermissions: {
@@ -935,7 +935,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
935
935
  project: {
936
936
  requirePublishableClientKey: undefined;
937
937
  };
938
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
938
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
939
939
  rbac: {
940
940
  permissions: undefined;
941
941
  defaultPermissions: {
@@ -1017,7 +1017,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1017
1017
  sourceOfTruth: {
1018
1018
  type: "hosted";
1019
1019
  };
1020
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1020
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1021
1021
  payments?: {
1022
1022
  blockNewPurchases?: boolean | undefined;
1023
1023
  autoPay?: {
@@ -1025,11 +1025,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1025
1025
  } | undefined;
1026
1026
  items: Record<string, {
1027
1027
  displayName?: string | undefined;
1028
- customerType?: "user" | "team" | "custom" | undefined;
1028
+ customerType?: "team" | "user" | "custom" | undefined;
1029
1029
  }>;
1030
1030
  productLines: Record<string, {
1031
1031
  displayName?: string | undefined;
1032
- customerType?: "user" | "team" | "custom" | undefined;
1032
+ customerType?: "team" | "user" | "custom" | undefined;
1033
1033
  }>;
1034
1034
  products: Record<string, {
1035
1035
  displayName?: string | undefined;
@@ -1038,7 +1038,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1038
1038
  productLineId?: string | undefined;
1039
1039
  isAddOnTo?: false | Record<string, true> | undefined;
1040
1040
  stackable?: boolean | undefined;
1041
- customerType: "user" | "team" | "custom";
1041
+ customerType: "team" | "user" | "custom";
1042
1042
  prices: Record<string, {
1043
1043
  USD?: string | undefined;
1044
1044
  EUR?: string | undefined;
@@ -1058,13 +1058,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1058
1058
  }>;
1059
1059
  }>;
1060
1060
  } | undefined;
1061
- users: {
1062
- allowClientUserDeletion?: boolean | undefined;
1063
- };
1064
- teams: {
1065
- createPersonalTeamOnSignUp?: boolean | undefined;
1066
- allowClientTeamCreation?: boolean | undefined;
1067
- };
1068
1061
  auth: {
1069
1062
  allowSignUp?: boolean | undefined;
1070
1063
  signUpRulesDefaultAction?: string | undefined;
@@ -1074,6 +1067,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1074
1067
  otp: {
1075
1068
  allowSignIn?: boolean | undefined;
1076
1069
  };
1070
+ passkey: {
1071
+ allowSignIn?: boolean | undefined;
1072
+ };
1077
1073
  oauth: {
1078
1074
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1079
1075
  providers: Record<string, {
@@ -1082,13 +1078,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1082
1078
  allowConnectedAccounts?: boolean | undefined;
1083
1079
  }>;
1084
1080
  };
1085
- passkey: {
1086
- allowSignIn?: boolean | undefined;
1087
- };
1088
1081
  signUpRules: Record<string, {
1089
1082
  displayName?: string | undefined;
1090
- priority?: number | undefined;
1091
1083
  enabled?: boolean | undefined;
1084
+ priority?: number | undefined;
1092
1085
  condition?: string | undefined;
1093
1086
  action: {
1094
1087
  message?: string | undefined;
@@ -1099,6 +1092,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1099
1092
  onboarding: {
1100
1093
  requireEmailVerification?: boolean | undefined;
1101
1094
  };
1095
+ teams: {
1096
+ createPersonalTeamOnSignUp?: boolean | undefined;
1097
+ allowClientTeamCreation?: boolean | undefined;
1098
+ };
1102
1099
  rbac: {
1103
1100
  permissions: Record<string, {
1104
1101
  description?: string | undefined;
@@ -1125,16 +1122,19 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1125
1122
  };
1126
1123
  apiKeys: {
1127
1124
  enabled: {
1128
- user?: boolean | undefined;
1129
1125
  team?: boolean | undefined;
1126
+ user?: boolean | undefined;
1130
1127
  };
1131
1128
  };
1132
1129
  apps: {
1133
- 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", {
1130
+ 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", {
1134
1131
  enabled?: boolean | undefined;
1135
1132
  }>;
1136
1133
  };
1137
1134
  domains: {};
1135
+ users: {
1136
+ allowClientUserDeletion?: boolean | undefined;
1137
+ };
1138
1138
  dataVault: {
1139
1139
  stores: Record<string, {
1140
1140
  displayName?: string | undefined;
@@ -1148,11 +1148,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1148
1148
  } | undefined;
1149
1149
  items: Record<string, {
1150
1150
  displayName?: string | undefined;
1151
- customerType?: "user" | "team" | "custom" | undefined;
1151
+ customerType?: "team" | "user" | "custom" | undefined;
1152
1152
  }>;
1153
1153
  productLines: Record<string, {
1154
1154
  displayName?: string | undefined;
1155
- customerType?: "user" | "team" | "custom" | undefined;
1155
+ customerType?: "team" | "user" | "custom" | undefined;
1156
1156
  }>;
1157
1157
  products: Record<string, {
1158
1158
  displayName?: string | undefined;
@@ -1161,7 +1161,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1161
1161
  productLineId?: string | undefined;
1162
1162
  isAddOnTo?: false | Record<string, true> | undefined;
1163
1163
  stackable?: boolean | undefined;
1164
- customerType: "user" | "team" | "custom";
1164
+ customerType: "team" | "user" | "custom";
1165
1165
  prices: Record<string, {
1166
1166
  USD?: string | undefined;
1167
1167
  EUR?: string | undefined;
@@ -1192,6 +1192,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1192
1192
  otp: {
1193
1193
  allowSignIn?: boolean | undefined;
1194
1194
  };
1195
+ passkey: {
1196
+ allowSignIn?: boolean | undefined;
1197
+ };
1195
1198
  oauth: {
1196
1199
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1197
1200
  providers: Record<string, {
@@ -1200,13 +1203,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1200
1203
  allowConnectedAccounts?: boolean | undefined;
1201
1204
  }>;
1202
1205
  };
1203
- passkey: {
1204
- allowSignIn?: boolean | undefined;
1205
- };
1206
1206
  signUpRules: Record<string, {
1207
1207
  displayName?: string | undefined;
1208
- priority?: number | undefined;
1209
1208
  enabled?: boolean | undefined;
1209
+ priority?: number | undefined;
1210
1210
  condition?: string | undefined;
1211
1211
  action: {
1212
1212
  message?: string | undefined;
@@ -1246,8 +1246,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1246
1246
  displayName?: string | undefined;
1247
1247
  sortOrder?: number | undefined;
1248
1248
  queries: Record<string, {
1249
- displayName?: string | undefined;
1250
1249
  description?: string | undefined;
1250
+ displayName?: string | undefined;
1251
1251
  sqlQuery?: string | undefined;
1252
1252
  }>;
1253
1253
  }>;
@@ -1299,7 +1299,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1299
1299
  project: {
1300
1300
  requirePublishableClientKey: undefined;
1301
1301
  };
1302
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1302
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1303
1303
  rbac: {
1304
1304
  permissions: undefined;
1305
1305
  defaultPermissions: {
@@ -1369,7 +1369,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1369
1369
  project: {
1370
1370
  requirePublishableClientKey: undefined;
1371
1371
  };
1372
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1372
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1373
1373
  rbac: {
1374
1374
  permissions: undefined;
1375
1375
  defaultPermissions: {
@@ -1439,7 +1439,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1439
1439
  project: {
1440
1440
  requirePublishableClientKey: undefined;
1441
1441
  };
1442
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1442
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1443
1443
  rbac: {
1444
1444
  permissions: undefined;
1445
1445
  defaultPermissions: {
@@ -1512,7 +1512,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1512
1512
  project: {
1513
1513
  requirePublishableClientKey: undefined;
1514
1514
  };
1515
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1515
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1516
1516
  rbac: {
1517
1517
  permissions: undefined;
1518
1518
  defaultPermissions: {
@@ -1595,7 +1595,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1595
1595
  project: {
1596
1596
  requirePublishableClientKey: undefined;
1597
1597
  };
1598
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1598
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1599
1599
  rbac: {
1600
1600
  permissions: undefined;
1601
1601
  defaultPermissions: {
@@ -1668,7 +1668,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1668
1668
  project: {
1669
1669
  requirePublishableClientKey: undefined;
1670
1670
  };
1671
- }, string>, "users" | "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dataVault"> & {
1671
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1672
1672
  rbac: {
1673
1673
  permissions: undefined;
1674
1674
  defaultPermissions: {
@@ -2034,14 +2034,15 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2034
2034
  };
2035
2035
  signUpRules: Record<string, {
2036
2036
  displayName: string | undefined;
2037
- priority: number;
2038
2037
  enabled: boolean;
2038
+ priority: number;
2039
2039
  condition: string | undefined;
2040
2040
  action: {
2041
- type: "allow" | "reject" | "restrict" | "log";
2042
2041
  message: string | undefined;
2042
+ type: "allow" | "reject" | "restrict" | "log";
2043
2043
  };
2044
2044
  }>;
2045
+ allowSignUp: boolean;
2045
2046
  password: {
2046
2047
  allowSignIn: boolean;
2047
2048
  };
@@ -2051,7 +2052,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2051
2052
  passkey: {
2052
2053
  allowSignIn: boolean;
2053
2054
  };
2054
- allowSignUp: boolean;
2055
2055
  signUpRulesDefaultAction: string;
2056
2056
  };
2057
2057
  emails: {
@@ -2103,12 +2103,12 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2103
2103
  serverOnly: boolean;
2104
2104
  freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2105
2105
  productLineId: string | undefined;
2106
- customerType: "user" | "team" | "custom";
2106
+ customerType: "team" | "user" | "custom";
2107
2107
  stackable: boolean | undefined;
2108
2108
  includedItems: {
2109
2109
  [x: string]: {
2110
- repeat: "never" | [number, "day" | "week" | "month" | "year"];
2111
2110
  quantity: number;
2111
+ repeat: "never" | [number, "day" | "week" | "month" | "year"];
2112
2112
  expires: "never" | "when-purchase-expires" | "when-repeated";
2113
2113
  };
2114
2114
  };
@@ -2116,7 +2116,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2116
2116
  items: {
2117
2117
  [x: string]: {
2118
2118
  displayName: string;
2119
- customerType: "user" | "team" | "custom";
2119
+ customerType: "team" | "user" | "custom";
2120
2120
  };
2121
2121
  };
2122
2122
  blockNewPurchases: boolean;
@@ -2126,7 +2126,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2126
2126
  productLines: {
2127
2127
  [x: string]: {
2128
2128
  displayName: string | undefined;
2129
- customerType: "user" | "team" | "custom" | undefined;
2129
+ customerType: "team" | "user" | "custom" | undefined;
2130
2130
  };
2131
2131
  };
2132
2132
  testMode: boolean;
@@ -2144,13 +2144,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2144
2144
  } & {
2145
2145
  readonly type: "hosted";
2146
2146
  };
2147
- users: {
2148
- allowClientUserDeletion: boolean;
2149
- };
2150
- teams: {
2151
- createPersonalTeamOnSignUp: boolean;
2152
- allowClientTeamCreation: boolean;
2153
- };
2154
2147
  analytics: {
2155
2148
  queryFolders: {
2156
2149
  [x: string]: {
@@ -2158,8 +2151,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2158
2151
  sortOrder: number;
2159
2152
  queries: {
2160
2153
  [x: string]: {
2161
- displayName: string;
2162
2154
  description: string | undefined;
2155
+ displayName: string;
2163
2156
  sqlQuery: string;
2164
2157
  };
2165
2158
  };
@@ -2169,6 +2162,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2169
2162
  onboarding: {
2170
2163
  requireEmailVerification: boolean;
2171
2164
  };
2165
+ teams: {
2166
+ createPersonalTeamOnSignUp: boolean;
2167
+ allowClientTeamCreation: boolean;
2168
+ };
2172
2169
  rbac: {
2173
2170
  permissions: {
2174
2171
  [x: string]: {
@@ -2193,8 +2190,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2193
2190
  };
2194
2191
  apiKeys: {
2195
2192
  enabled: {
2196
- user: boolean;
2197
2193
  team: boolean;
2194
+ user: boolean;
2198
2195
  };
2199
2196
  };
2200
2197
  domains: {
@@ -2206,6 +2203,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2206
2203
  };
2207
2204
  };
2208
2205
  };
2206
+ users: {
2207
+ allowClientUserDeletion: boolean;
2208
+ };
2209
2209
  dataVault: {
2210
2210
  stores: {
2211
2211
  [x: string]: {
@@ -2286,4 +2286,4 @@ type OrganizationRenderedConfig = Expand<Awaited<ReturnType<typeof sanitizeOrgan
2286
2286
  type CompleteConfig = OrganizationRenderedConfig;
2287
2287
  //#endregion
2288
2288
  export { branchConfigSchema as A, sanitizeEnvironmentConfig as B, ValidatedToHaveNoConfigOverrideErrors as C, applyOrganizationDefaults as D, applyEnvironmentDefaults as E, getIncompleteConfigWarnings as F, sanitizeProjectConfig as H, migrateConfigOverride as I, organizationConfigSchema as L, configLevels as M, environmentConfigSchema as N, applyProjectDefaults as O, getConfigOverrideErrors as P, projectConfigSchema as R, ProjectRenderedConfig as S, applyBranchDefaults as T, sanitizeOrganizationConfig as V, OrganizationRenderedConfig as _, BranchRenderedConfig as a, ProjectConfigOverrideOverride as b, EnvironmentConfigNormalizedOverride as c, EnvironmentIncompleteConfig as d, EnvironmentRenderedConfig as f, OrganizationIncompleteConfig as g, OrganizationConfigOverrideOverride as h, BranchIncompleteConfig as i, branchPaymentsSchema as j, assertNoConfigOverrideErrors as k, EnvironmentConfigOverride as l, OrganizationConfigOverride as m, BranchConfigOverride as n, CompleteConfig as o, OrganizationConfigNormalizedOverride as p, BranchConfigOverrideOverride as r, ConfigLevel as s, BranchConfigNormalizedOverride as t, EnvironmentConfigOverrideOverride as u, ProjectConfigNormalizedOverride as v, ValidatedToHaveNoIncompleteConfigWarnings as w, ProjectIncompleteConfig as x, ProjectConfigOverride as y, sanitizeBranchConfig as z };
2289
- //# sourceMappingURL=schema-Bq1TSMFV.d.ts.map
2289
+ //# sourceMappingURL=schema-CLmaZetm.d.ts.map