@hexclave/shared 1.0.43 → 1.0.45

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 (115) hide show
  1. package/dist/{admin-interface-Bv8rBJo-.d.ts → admin-interface-B-UjGQ0i.d.ts} +11 -13
  2. package/dist/admin-interface-B-UjGQ0i.d.ts.map +1 -0
  3. package/dist/{admin-metrics-DyW8_G82.d.ts → admin-metrics-1yiWGq9z.d.ts} +10 -10
  4. package/dist/{admin-metrics-DyW8_G82.d.ts.map → admin-metrics-1yiWGq9z.d.ts.map} +1 -1
  5. package/dist/ai/unified-prompts/reminders.js +2 -2
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/{client-interface-CGrvUtX0.d.ts → client-interface-DjVtlQix.d.ts} +10 -10
  8. package/dist/{client-interface-CGrvUtX0.d.ts.map → client-interface-DjVtlQix.d.ts.map} +1 -1
  9. package/dist/config/schema-fuzzer.test.js +0 -4
  10. package/dist/config/schema-fuzzer.test.js.map +1 -1
  11. package/dist/config/schema.d.ts +1 -1
  12. package/dist/config/schema.js +9 -8
  13. package/dist/config/schema.js.map +1 -1
  14. package/dist/config-authoring.d.ts +1 -1
  15. package/dist/{current-user-Dvf8Ttjo.d.ts → current-user-BCkMYzHx.d.ts} +15 -15
  16. package/dist/{current-user-Dvf8Ttjo.d.ts.map → current-user-BCkMYzHx.d.ts.map} +1 -1
  17. package/dist/{email-outbox-BVqBaXpn.d.ts → email-outbox-BRZiK0ZG.d.ts} +199 -199
  18. package/dist/{email-outbox-BVqBaXpn.d.ts.map → email-outbox-BRZiK0ZG.d.ts.map} +1 -1
  19. package/dist/esm/ai/unified-prompts/reminders.js +2 -1
  20. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  21. package/dist/esm/config/schema-fuzzer.test.js +0 -4
  22. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  23. package/dist/esm/config/schema.d.ts +135 -174
  24. package/dist/esm/config/schema.d.ts.map +1 -1
  25. package/dist/esm/config/schema.js +9 -8
  26. package/dist/esm/config/schema.js.map +1 -1
  27. package/dist/esm/interface/admin-interface.d.ts +0 -2
  28. package/dist/esm/interface/admin-interface.d.ts.map +1 -1
  29. package/dist/esm/interface/admin-interface.js +0 -12
  30. package/dist/esm/interface/admin-interface.js.map +1 -1
  31. package/dist/esm/interface/admin-metrics.d.ts +9 -9
  32. package/dist/esm/interface/conversations.d.ts +7 -7
  33. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  34. package/dist/esm/interface/crud/email-outbox.d.ts +198 -198
  35. package/dist/esm/interface/crud/invoices.d.ts +1 -1
  36. package/dist/esm/interface/crud/products.d.ts +21 -21
  37. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  38. package/dist/esm/interface/crud/projects.d.ts +23 -23
  39. package/dist/esm/interface/crud/team-member-profiles.d.ts +22 -22
  40. package/dist/esm/interface/crud/transactions.d.ts +17 -17
  41. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  42. package/dist/esm/interface/crud/users.d.ts +12 -12
  43. package/dist/esm/interface/plan-usage.d.ts +2 -2
  44. package/dist/esm/interface/server-interface.d.ts +2 -0
  45. package/dist/esm/interface/server-interface.d.ts.map +1 -1
  46. package/dist/esm/interface/server-interface.js +12 -0
  47. package/dist/esm/interface/server-interface.js.map +1 -1
  48. package/dist/esm/interface/webhooks.d.ts +2 -2
  49. package/dist/esm/known-errors.d.ts +3 -3
  50. package/dist/esm/schema-fields.d.ts +12 -12
  51. package/dist/esm/sessions.d.ts +9 -9
  52. package/dist/helpers/password.d.ts +1 -1
  53. package/dist/helpers/production-mode.d.ts +1 -1
  54. package/dist/index.d.ts +4 -4
  55. package/dist/interface/admin-interface.d.ts +2 -2
  56. package/dist/interface/admin-interface.js +0 -12
  57. package/dist/interface/admin-interface.js.map +1 -1
  58. package/dist/interface/admin-metrics.d.ts +1 -1
  59. package/dist/interface/client-interface.d.ts +1 -1
  60. package/dist/interface/conversations.d.ts +7 -7
  61. package/dist/interface/crud/current-user.d.ts +1 -1
  62. package/dist/interface/crud/email-outbox.d.ts +1 -1
  63. package/dist/interface/crud/invoices.d.ts +1 -1
  64. package/dist/interface/crud/products.d.ts +1 -1
  65. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  66. package/dist/interface/crud/projects.d.ts +1 -1
  67. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  68. package/dist/interface/crud/transactions.d.ts +1 -1
  69. package/dist/interface/crud/users.d.ts +1 -1
  70. package/dist/interface/plan-usage.d.ts +1 -1
  71. package/dist/interface/server-interface.d.ts +1 -1
  72. package/dist/interface/server-interface.js +12 -0
  73. package/dist/interface/server-interface.js.map +1 -1
  74. package/dist/interface/webhooks.d.ts +1 -1
  75. package/dist/{invoices-U65KzAZX.d.ts → invoices-BGLLnTlR.d.ts} +2 -2
  76. package/dist/{invoices-U65KzAZX.d.ts.map → invoices-BGLLnTlR.d.ts.map} +1 -1
  77. package/dist/{known-errors-Bm4a61wL.d.ts → known-errors-g7JC8z58.d.ts} +4 -4
  78. package/dist/{known-errors-Bm4a61wL.d.ts.map → known-errors-g7JC8z58.d.ts.map} +1 -1
  79. package/dist/known-errors.d.ts +1 -1
  80. package/dist/{plan-usage-DfDoj5K4.d.ts → plan-usage-BigvGIcT.d.ts} +3 -3
  81. package/dist/{plan-usage-DfDoj5K4.d.ts.map → plan-usage-BigvGIcT.d.ts.map} +1 -1
  82. package/dist/{products-Bs74ld-v.d.ts → products-D_fcxfR0.d.ts} +22 -22
  83. package/dist/{products-Bs74ld-v.d.ts.map → products-D_fcxfR0.d.ts.map} +1 -1
  84. package/dist/{project-api-keys--7V5X_UW.d.ts → project-api-keys-OQqmKtMS.d.ts} +5 -5
  85. package/dist/{project-api-keys--7V5X_UW.d.ts.map → project-api-keys-OQqmKtMS.d.ts.map} +1 -1
  86. package/dist/{projects-CgFGB3nO.d.ts → projects-C42SVFvm.d.ts} +24 -24
  87. package/dist/{projects-CgFGB3nO.d.ts.map → projects-C42SVFvm.d.ts.map} +1 -1
  88. package/dist/{schema-01nWxmb4.d.ts → schema-Bgy-GC70.d.ts} +136 -175
  89. package/dist/schema-Bgy-GC70.d.ts.map +1 -0
  90. package/dist/{schema-fields-DqGQ4kF7.d.ts → schema-fields-BljhsWsa.d.ts} +13 -13
  91. package/dist/{schema-fields-DqGQ4kF7.d.ts.map → schema-fields-BljhsWsa.d.ts.map} +1 -1
  92. package/dist/schema-fields.d.ts +1 -1
  93. package/dist/{server-interface-BUPG1kor.d.ts → server-interface-C1W1tZ_y.d.ts} +10 -8
  94. package/dist/server-interface-C1W1tZ_y.d.ts.map +1 -0
  95. package/dist/{sessions-d8qtvBUB.d.ts → sessions-C0nM8bE_.d.ts} +11 -11
  96. package/dist/{sessions-d8qtvBUB.d.ts.map → sessions-C0nM8bE_.d.ts.map} +1 -1
  97. package/dist/sessions.d.ts +1 -1
  98. package/dist/{team-member-profiles-uTluO8XI.d.ts → team-member-profiles-CgYXR-Rx.d.ts} +23 -23
  99. package/dist/{team-member-profiles-uTluO8XI.d.ts.map → team-member-profiles-CgYXR-Rx.d.ts.map} +1 -1
  100. package/dist/{transactions-DhnbvGH5.d.ts → transactions-BomBBiph.d.ts} +18 -18
  101. package/dist/transactions-BomBBiph.d.ts.map +1 -0
  102. package/dist/{users-CmBBuF00.d.ts → users-7MKfEyyq.d.ts} +14 -14
  103. package/dist/{users-CmBBuF00.d.ts.map → users-7MKfEyyq.d.ts.map} +1 -1
  104. package/dist/{webhooks-ByXrdSOx.d.ts → webhooks-C5gG85Ce.d.ts} +3 -3
  105. package/dist/{webhooks-ByXrdSOx.d.ts.map → webhooks-C5gG85Ce.d.ts.map} +1 -1
  106. package/package.json +1 -1
  107. package/src/ai/unified-prompts/reminders.ts +1 -0
  108. package/src/config/schema-fuzzer.test.ts +11 -11
  109. package/src/config/schema.ts +35 -14
  110. package/src/interface/admin-interface.ts +0 -20
  111. package/src/interface/server-interface.ts +20 -0
  112. package/dist/admin-interface-Bv8rBJo-.d.ts.map +0 -1
  113. package/dist/schema-01nWxmb4.d.ts.map +0 -1
  114. package/dist/server-interface-BUPG1kor.d.ts.map +0 -1
  115. package/dist/transactions-DhnbvGH5.d.ts.map +0 -1
@@ -36,16 +36,15 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
36
36
  } | undefined;
37
37
  productLines: Record<string, {
38
38
  displayName?: string | undefined;
39
- customerType?: "team" | "user" | "custom" | undefined;
39
+ customerType?: "user" | "team" | "custom" | undefined;
40
40
  }>;
41
41
  products: Record<string, {
42
+ stackable?: boolean | undefined;
42
43
  displayName?: string | undefined;
43
- serverOnly?: boolean | undefined;
44
- freeTrial?: DayInterval | undefined;
45
44
  productLineId?: string | undefined;
46
45
  isAddOnTo?: false | Record<string, true> | undefined;
47
- stackable?: boolean | undefined;
48
- customerType: "team" | "user" | "custom";
46
+ freeTrial?: DayInterval | undefined;
47
+ serverOnly?: boolean | undefined;
49
48
  prices: Record<string, {
50
49
  USD?: string | undefined;
51
50
  EUR?: string | undefined;
@@ -55,9 +54,10 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
55
54
  AUD?: string | undefined;
56
55
  CAD?: string | undefined;
57
56
  interval?: DayInterval | undefined;
58
- serverOnly?: boolean | undefined;
59
57
  freeTrial?: DayInterval | undefined;
58
+ serverOnly?: boolean | undefined;
60
59
  }>;
60
+ customerType: "user" | "team" | "custom";
61
61
  includedItems: Record<string, {
62
62
  repeat?: "never" | DayInterval | undefined;
63
63
  expires?: "never" | "when-purchase-expires" | "when-repeated" | 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?: "team" | "user" | "custom" | undefined;
69
+ customerType?: "user" | "team" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
87
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
88
88
  payments?: {
89
89
  blockNewPurchases?: boolean | undefined;
90
90
  autoPay?: {
@@ -92,20 +92,19 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
92
92
  } | undefined;
93
93
  items: Record<string, {
94
94
  displayName?: string | undefined;
95
- customerType?: "team" | "user" | "custom" | undefined;
95
+ customerType?: "user" | "team" | "custom" | undefined;
96
96
  }>;
97
97
  productLines: Record<string, {
98
98
  displayName?: string | undefined;
99
- customerType?: "team" | "user" | "custom" | undefined;
99
+ customerType?: "user" | "team" | "custom" | undefined;
100
100
  }>;
101
101
  products: Record<string, {
102
+ stackable?: boolean | undefined;
102
103
  displayName?: string | undefined;
103
- serverOnly?: boolean | undefined;
104
- freeTrial?: DayInterval | undefined;
105
104
  productLineId?: string | undefined;
106
105
  isAddOnTo?: false | Record<string, true> | undefined;
107
- stackable?: boolean | undefined;
108
- customerType: "team" | "user" | "custom";
106
+ freeTrial?: DayInterval | undefined;
107
+ serverOnly?: boolean | undefined;
109
108
  prices: Record<string, {
110
109
  USD?: string | undefined;
111
110
  EUR?: string | undefined;
@@ -115,9 +114,10 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
115
114
  AUD?: string | undefined;
116
115
  CAD?: string | undefined;
117
116
  interval?: DayInterval | undefined;
118
- serverOnly?: boolean | undefined;
119
117
  freeTrial?: DayInterval | undefined;
118
+ serverOnly?: boolean | undefined;
120
119
  }>;
120
+ customerType: "user" | "team" | "custom";
121
121
  includedItems: Record<string, {
122
122
  repeat?: "never" | DayInterval | undefined;
123
123
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -131,6 +131,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
131
131
  password: {
132
132
  allowSignIn?: boolean | undefined;
133
133
  };
134
+ passkey: {
135
+ allowSignIn?: boolean | undefined;
136
+ };
134
137
  otp: {
135
138
  allowSignIn?: boolean | undefined;
136
139
  };
@@ -142,12 +145,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
142
145
  allowConnectedAccounts?: boolean | undefined;
143
146
  }>;
144
147
  };
145
- passkey: {
146
- allowSignIn?: boolean | undefined;
147
- };
148
148
  signUpRules: Record<string, {
149
- displayName?: string | undefined;
150
149
  enabled?: boolean | undefined;
150
+ displayName?: string | undefined;
151
151
  priority?: number | undefined;
152
152
  condition?: string | undefined;
153
153
  action: {
@@ -187,14 +187,11 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
187
187
  tsxSource: string;
188
188
  }>;
189
189
  };
190
- users: {
191
- allowClientUserDeletion?: boolean | undefined;
192
- };
193
190
  domains: {};
194
191
  apiKeys: {
195
192
  enabled: {
196
- team?: boolean | undefined;
197
193
  user?: boolean | undefined;
194
+ team?: boolean | undefined;
198
195
  };
199
196
  };
200
197
  apps: {
@@ -202,11 +199,8 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
202
199
  enabled?: boolean | undefined;
203
200
  }>;
204
201
  };
205
- dbSync: {
206
- externalDatabases: Record<string, {
207
- connectionString?: string | undefined;
208
- type: "postgres";
209
- }>;
202
+ users: {
203
+ allowClientUserDeletion?: boolean | undefined;
210
204
  };
211
205
  dataVault: {
212
206
  stores: Record<string, {
@@ -218,7 +212,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
218
212
  project: {
219
213
  requirePublishableClientKey: undefined;
220
214
  };
221
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
215
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
222
216
  rbac: {
223
217
  permissions: undefined;
224
218
  defaultPermissions: {
@@ -279,9 +273,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
279
273
  products: undefined;
280
274
  items: undefined;
281
275
  };
282
- dbSync: {
283
- externalDatabases: undefined;
284
- };
285
276
  dataVault: {
286
277
  stores: undefined;
287
278
  };
@@ -293,7 +284,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
293
284
  sourceOfTruth: {
294
285
  type: "hosted";
295
286
  };
296
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
287
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
297
288
  payments?: {
298
289
  blockNewPurchases?: boolean | undefined;
299
290
  autoPay?: {
@@ -301,20 +292,19 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
301
292
  } | undefined;
302
293
  items: Record<string, {
303
294
  displayName?: string | undefined;
304
- customerType?: "team" | "user" | "custom" | undefined;
295
+ customerType?: "user" | "team" | "custom" | undefined;
305
296
  }>;
306
297
  productLines: Record<string, {
307
298
  displayName?: string | undefined;
308
- customerType?: "team" | "user" | "custom" | undefined;
299
+ customerType?: "user" | "team" | "custom" | undefined;
309
300
  }>;
310
301
  products: Record<string, {
302
+ stackable?: boolean | undefined;
311
303
  displayName?: string | undefined;
312
- serverOnly?: boolean | undefined;
313
- freeTrial?: DayInterval | undefined;
314
304
  productLineId?: string | undefined;
315
305
  isAddOnTo?: false | Record<string, true> | undefined;
316
- stackable?: boolean | undefined;
317
- customerType: "team" | "user" | "custom";
306
+ freeTrial?: DayInterval | undefined;
307
+ serverOnly?: boolean | undefined;
318
308
  prices: Record<string, {
319
309
  USD?: string | undefined;
320
310
  EUR?: string | undefined;
@@ -324,9 +314,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
324
314
  AUD?: string | undefined;
325
315
  CAD?: string | undefined;
326
316
  interval?: DayInterval | undefined;
327
- serverOnly?: boolean | undefined;
328
317
  freeTrial?: DayInterval | undefined;
318
+ serverOnly?: boolean | undefined;
329
319
  }>;
320
+ customerType: "user" | "team" | "custom";
330
321
  includedItems: Record<string, {
331
322
  repeat?: "never" | DayInterval | undefined;
332
323
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -340,6 +331,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
340
331
  password: {
341
332
  allowSignIn?: boolean | undefined;
342
333
  };
334
+ passkey: {
335
+ allowSignIn?: boolean | undefined;
336
+ };
343
337
  otp: {
344
338
  allowSignIn?: boolean | undefined;
345
339
  };
@@ -351,12 +345,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
351
345
  allowConnectedAccounts?: boolean | undefined;
352
346
  }>;
353
347
  };
354
- passkey: {
355
- allowSignIn?: boolean | undefined;
356
- };
357
348
  signUpRules: Record<string, {
358
- displayName?: string | undefined;
359
349
  enabled?: boolean | undefined;
350
+ displayName?: string | undefined;
360
351
  priority?: number | undefined;
361
352
  condition?: string | undefined;
362
353
  action: {
@@ -396,14 +387,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
396
387
  tsxSource: string;
397
388
  }>;
398
389
  };
399
- users: {
400
- allowClientUserDeletion?: boolean | undefined;
401
- };
402
390
  domains: {};
403
391
  apiKeys: {
404
392
  enabled: {
405
- team?: boolean | undefined;
406
393
  user?: boolean | undefined;
394
+ team?: boolean | undefined;
407
395
  };
408
396
  };
409
397
  apps: {
@@ -411,18 +399,15 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
411
399
  enabled?: boolean | undefined;
412
400
  }>;
413
401
  };
414
- dbSync: {
415
- externalDatabases: Record<string, {
416
- connectionString?: string | undefined;
417
- type: "postgres";
418
- }>;
402
+ users: {
403
+ allowClientUserDeletion?: boolean | undefined;
419
404
  };
420
405
  dataVault: {
421
406
  stores: Record<string, {
422
407
  displayName?: string | undefined;
423
408
  }>;
424
409
  };
425
- }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
410
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
426
411
  payments?: (Omit<{
427
412
  blockNewPurchases?: boolean | undefined;
428
413
  autoPay?: {
@@ -430,20 +415,19 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
430
415
  } | undefined;
431
416
  items: Record<string, {
432
417
  displayName?: string | undefined;
433
- customerType?: "team" | "user" | "custom" | undefined;
418
+ customerType?: "user" | "team" | "custom" | undefined;
434
419
  }>;
435
420
  productLines: Record<string, {
436
421
  displayName?: string | undefined;
437
- customerType?: "team" | "user" | "custom" | undefined;
422
+ customerType?: "user" | "team" | "custom" | undefined;
438
423
  }>;
439
424
  products: Record<string, {
425
+ stackable?: boolean | undefined;
440
426
  displayName?: string | undefined;
441
- serverOnly?: boolean | undefined;
442
- freeTrial?: DayInterval | undefined;
443
427
  productLineId?: string | undefined;
444
428
  isAddOnTo?: false | Record<string, true> | undefined;
445
- stackable?: boolean | undefined;
446
- customerType: "team" | "user" | "custom";
429
+ freeTrial?: DayInterval | undefined;
430
+ serverOnly?: boolean | undefined;
447
431
  prices: Record<string, {
448
432
  USD?: string | undefined;
449
433
  EUR?: string | undefined;
@@ -453,9 +437,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
453
437
  AUD?: string | undefined;
454
438
  CAD?: string | undefined;
455
439
  interval?: DayInterval | undefined;
456
- serverOnly?: boolean | undefined;
457
440
  freeTrial?: DayInterval | undefined;
441
+ serverOnly?: boolean | undefined;
458
442
  }>;
443
+ customerType: "user" | "team" | "custom";
459
444
  includedItems: Record<string, {
460
445
  repeat?: "never" | DayInterval | undefined;
461
446
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -471,6 +456,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
471
456
  password: {
472
457
  allowSignIn?: boolean | undefined;
473
458
  };
459
+ passkey: {
460
+ allowSignIn?: boolean | undefined;
461
+ };
474
462
  otp: {
475
463
  allowSignIn?: boolean | undefined;
476
464
  };
@@ -482,12 +470,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
482
470
  allowConnectedAccounts?: boolean | undefined;
483
471
  }>;
484
472
  };
485
- passkey: {
486
- allowSignIn?: boolean | undefined;
487
- };
488
473
  signUpRules: Record<string, {
489
- displayName?: string | undefined;
490
474
  enabled?: boolean | undefined;
475
+ displayName?: string | undefined;
491
476
  priority?: number | undefined;
492
477
  condition?: string | undefined;
493
478
  action: {
@@ -506,8 +491,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
506
491
  }, "providers"> & {
507
492
  providers: Record<string, {
508
493
  type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
509
- displayName?: string | undefined;
510
494
  scope?: string | undefined;
495
+ displayName?: string | undefined;
511
496
  allowSignIn?: boolean | undefined;
512
497
  allowConnectedAccounts?: boolean | undefined;
513
498
  isShared?: boolean | undefined;
@@ -570,12 +555,18 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
570
555
  displayName: string;
571
556
  tsxSource: string;
572
557
  }>;
558
+ dbSync: {
559
+ externalDatabases: Record<string, {
560
+ connectionString?: string | undefined;
561
+ type: "postgres";
562
+ }>;
563
+ };
573
564
  }, yup$1.AnyObject, Omit<NonNullable<Omit<Omit<{
574
565
  sourceOfTruth: undefined;
575
566
  project: {
576
567
  requirePublishableClientKey: undefined;
577
568
  };
578
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
569
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
579
570
  rbac: {
580
571
  permissions: undefined;
581
572
  defaultPermissions: {
@@ -636,19 +627,16 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
636
627
  products: undefined;
637
628
  items: undefined;
638
629
  };
639
- dbSync: {
640
- externalDatabases: undefined;
641
- };
642
630
  dataVault: {
643
631
  stores: undefined;
644
632
  };
645
- }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
633
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
646
634
  auth: Omit<NonNullable<Omit<Omit<{
647
635
  sourceOfTruth: undefined;
648
636
  project: {
649
637
  requirePublishableClientKey: undefined;
650
638
  };
651
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
639
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
652
640
  rbac: {
653
641
  permissions: undefined;
654
642
  defaultPermissions: {
@@ -709,9 +697,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
709
697
  products: undefined;
710
698
  items: undefined;
711
699
  };
712
- dbSync: {
713
- externalDatabases: undefined;
714
- };
715
700
  dataVault: {
716
701
  stores: undefined;
717
702
  };
@@ -721,7 +706,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
721
706
  project: {
722
707
  requirePublishableClientKey: undefined;
723
708
  };
724
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
709
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
725
710
  rbac: {
726
711
  permissions: undefined;
727
712
  defaultPermissions: {
@@ -782,9 +767,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
782
767
  products: undefined;
783
768
  items: undefined;
784
769
  };
785
- dbSync: {
786
- externalDatabases: undefined;
787
- };
788
770
  dataVault: {
789
771
  stores: undefined;
790
772
  };
@@ -797,7 +779,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
797
779
  project: {
798
780
  requirePublishableClientKey: undefined;
799
781
  };
800
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
782
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
801
783
  rbac: {
802
784
  permissions: undefined;
803
785
  defaultPermissions: {
@@ -858,9 +840,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
858
840
  products: undefined;
859
841
  items: undefined;
860
842
  };
861
- dbSync: {
862
- externalDatabases: undefined;
863
- };
864
843
  dataVault: {
865
844
  stores: undefined;
866
845
  };
@@ -883,7 +862,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
883
862
  project: {
884
863
  requirePublishableClientKey: undefined;
885
864
  };
886
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
865
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
887
866
  rbac: {
888
867
  permissions: undefined;
889
868
  defaultPermissions: {
@@ -944,9 +923,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
944
923
  products: undefined;
945
924
  items: undefined;
946
925
  };
947
- dbSync: {
948
- externalDatabases: undefined;
949
- };
950
926
  dataVault: {
951
927
  stores: undefined;
952
928
  };
@@ -959,7 +935,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
959
935
  project: {
960
936
  requirePublishableClientKey: undefined;
961
937
  };
962
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
938
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
963
939
  rbac: {
964
940
  permissions: undefined;
965
941
  defaultPermissions: {
@@ -1020,15 +996,15 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
1020
996
  products: undefined;
1021
997
  items: undefined;
1022
998
  };
1023
- dbSync: {
1024
- externalDatabases: undefined;
1025
- };
1026
999
  dataVault: {
1027
1000
  stores: undefined;
1028
1001
  };
1029
1002
  }>, "testMode"> & {
1030
1003
  testMode: undefined;
1031
1004
  };
1005
+ dbSync: {
1006
+ externalDatabases: undefined;
1007
+ };
1032
1008
  analytics: {
1033
1009
  queryFolders: undefined;
1034
1010
  };
@@ -1041,7 +1017,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1041
1017
  sourceOfTruth: {
1042
1018
  type: "hosted";
1043
1019
  };
1044
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1020
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1045
1021
  payments?: {
1046
1022
  blockNewPurchases?: boolean | undefined;
1047
1023
  autoPay?: {
@@ -1049,20 +1025,19 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1049
1025
  } | undefined;
1050
1026
  items: Record<string, {
1051
1027
  displayName?: string | undefined;
1052
- customerType?: "team" | "user" | "custom" | undefined;
1028
+ customerType?: "user" | "team" | "custom" | undefined;
1053
1029
  }>;
1054
1030
  productLines: Record<string, {
1055
1031
  displayName?: string | undefined;
1056
- customerType?: "team" | "user" | "custom" | undefined;
1032
+ customerType?: "user" | "team" | "custom" | undefined;
1057
1033
  }>;
1058
1034
  products: Record<string, {
1035
+ stackable?: boolean | undefined;
1059
1036
  displayName?: string | undefined;
1060
- serverOnly?: boolean | undefined;
1061
- freeTrial?: DayInterval | undefined;
1062
1037
  productLineId?: string | undefined;
1063
1038
  isAddOnTo?: false | Record<string, true> | undefined;
1064
- stackable?: boolean | undefined;
1065
- customerType: "team" | "user" | "custom";
1039
+ freeTrial?: DayInterval | undefined;
1040
+ serverOnly?: boolean | undefined;
1066
1041
  prices: Record<string, {
1067
1042
  USD?: string | undefined;
1068
1043
  EUR?: string | undefined;
@@ -1072,9 +1047,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1072
1047
  AUD?: string | undefined;
1073
1048
  CAD?: string | undefined;
1074
1049
  interval?: DayInterval | undefined;
1075
- serverOnly?: boolean | undefined;
1076
1050
  freeTrial?: DayInterval | undefined;
1051
+ serverOnly?: boolean | undefined;
1077
1052
  }>;
1053
+ customerType: "user" | "team" | "custom";
1078
1054
  includedItems: Record<string, {
1079
1055
  repeat?: "never" | DayInterval | undefined;
1080
1056
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -1088,6 +1064,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1088
1064
  password: {
1089
1065
  allowSignIn?: boolean | undefined;
1090
1066
  };
1067
+ passkey: {
1068
+ allowSignIn?: boolean | undefined;
1069
+ };
1091
1070
  otp: {
1092
1071
  allowSignIn?: boolean | undefined;
1093
1072
  };
@@ -1099,12 +1078,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1099
1078
  allowConnectedAccounts?: boolean | undefined;
1100
1079
  }>;
1101
1080
  };
1102
- passkey: {
1103
- allowSignIn?: boolean | undefined;
1104
- };
1105
1081
  signUpRules: Record<string, {
1106
- displayName?: string | undefined;
1107
1082
  enabled?: boolean | undefined;
1083
+ displayName?: string | undefined;
1108
1084
  priority?: number | undefined;
1109
1085
  condition?: string | undefined;
1110
1086
  action: {
@@ -1144,14 +1120,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1144
1120
  tsxSource: string;
1145
1121
  }>;
1146
1122
  };
1147
- users: {
1148
- allowClientUserDeletion?: boolean | undefined;
1149
- };
1150
1123
  domains: {};
1151
1124
  apiKeys: {
1152
1125
  enabled: {
1153
- team?: boolean | undefined;
1154
1126
  user?: boolean | undefined;
1127
+ team?: boolean | undefined;
1155
1128
  };
1156
1129
  };
1157
1130
  apps: {
@@ -1159,18 +1132,15 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1159
1132
  enabled?: boolean | undefined;
1160
1133
  }>;
1161
1134
  };
1162
- dbSync: {
1163
- externalDatabases: Record<string, {
1164
- connectionString?: string | undefined;
1165
- type: "postgres";
1166
- }>;
1135
+ users: {
1136
+ allowClientUserDeletion?: boolean | undefined;
1167
1137
  };
1168
1138
  dataVault: {
1169
1139
  stores: Record<string, {
1170
1140
  displayName?: string | undefined;
1171
1141
  }>;
1172
1142
  };
1173
- }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
1143
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
1174
1144
  payments?: (Omit<{
1175
1145
  blockNewPurchases?: boolean | undefined;
1176
1146
  autoPay?: {
@@ -1178,20 +1148,19 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1178
1148
  } | undefined;
1179
1149
  items: Record<string, {
1180
1150
  displayName?: string | undefined;
1181
- customerType?: "team" | "user" | "custom" | undefined;
1151
+ customerType?: "user" | "team" | "custom" | undefined;
1182
1152
  }>;
1183
1153
  productLines: Record<string, {
1184
1154
  displayName?: string | undefined;
1185
- customerType?: "team" | "user" | "custom" | undefined;
1155
+ customerType?: "user" | "team" | "custom" | undefined;
1186
1156
  }>;
1187
1157
  products: Record<string, {
1158
+ stackable?: boolean | undefined;
1188
1159
  displayName?: string | undefined;
1189
- serverOnly?: boolean | undefined;
1190
- freeTrial?: DayInterval | undefined;
1191
1160
  productLineId?: string | undefined;
1192
1161
  isAddOnTo?: false | Record<string, true> | undefined;
1193
- stackable?: boolean | undefined;
1194
- customerType: "team" | "user" | "custom";
1162
+ freeTrial?: DayInterval | undefined;
1163
+ serverOnly?: boolean | undefined;
1195
1164
  prices: Record<string, {
1196
1165
  USD?: string | undefined;
1197
1166
  EUR?: string | undefined;
@@ -1201,9 +1170,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1201
1170
  AUD?: string | undefined;
1202
1171
  CAD?: string | undefined;
1203
1172
  interval?: DayInterval | undefined;
1204
- serverOnly?: boolean | undefined;
1205
1173
  freeTrial?: DayInterval | undefined;
1174
+ serverOnly?: boolean | undefined;
1206
1175
  }>;
1176
+ customerType: "user" | "team" | "custom";
1207
1177
  includedItems: Record<string, {
1208
1178
  repeat?: "never" | DayInterval | undefined;
1209
1179
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -1219,6 +1189,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1219
1189
  password: {
1220
1190
  allowSignIn?: boolean | undefined;
1221
1191
  };
1192
+ passkey: {
1193
+ allowSignIn?: boolean | undefined;
1194
+ };
1222
1195
  otp: {
1223
1196
  allowSignIn?: boolean | undefined;
1224
1197
  };
@@ -1230,12 +1203,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1230
1203
  allowConnectedAccounts?: boolean | undefined;
1231
1204
  }>;
1232
1205
  };
1233
- passkey: {
1234
- allowSignIn?: boolean | undefined;
1235
- };
1236
1206
  signUpRules: Record<string, {
1237
- displayName?: string | undefined;
1238
1207
  enabled?: boolean | undefined;
1208
+ displayName?: string | undefined;
1239
1209
  priority?: number | undefined;
1240
1210
  condition?: string | undefined;
1241
1211
  action: {
@@ -1254,8 +1224,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1254
1224
  }, "providers"> & {
1255
1225
  providers: Record<string, {
1256
1226
  type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
1257
- displayName?: string | undefined;
1258
1227
  scope?: string | undefined;
1228
+ displayName?: string | undefined;
1259
1229
  allowSignIn?: boolean | undefined;
1260
1230
  allowConnectedAccounts?: boolean | undefined;
1261
1231
  isShared?: boolean | undefined;
@@ -1318,12 +1288,18 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1318
1288
  displayName: string;
1319
1289
  tsxSource: string;
1320
1290
  }>;
1291
+ dbSync: {
1292
+ externalDatabases: Record<string, {
1293
+ connectionString?: string | undefined;
1294
+ type: "postgres";
1295
+ }>;
1296
+ };
1321
1297
  }>, never> & {}, yup$1.AnyObject, Omit<NonNullable<Omit<NonNullable<Omit<Omit<{
1322
1298
  sourceOfTruth: undefined;
1323
1299
  project: {
1324
1300
  requirePublishableClientKey: undefined;
1325
1301
  };
1326
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1302
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1327
1303
  rbac: {
1328
1304
  permissions: undefined;
1329
1305
  defaultPermissions: {
@@ -1384,19 +1360,16 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1384
1360
  products: undefined;
1385
1361
  items: undefined;
1386
1362
  };
1387
- dbSync: {
1388
- externalDatabases: undefined;
1389
- };
1390
1363
  dataVault: {
1391
1364
  stores: undefined;
1392
1365
  };
1393
- }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
1366
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
1394
1367
  auth: Omit<NonNullable<Omit<Omit<{
1395
1368
  sourceOfTruth: undefined;
1396
1369
  project: {
1397
1370
  requirePublishableClientKey: undefined;
1398
1371
  };
1399
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1372
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1400
1373
  rbac: {
1401
1374
  permissions: undefined;
1402
1375
  defaultPermissions: {
@@ -1457,9 +1430,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1457
1430
  products: undefined;
1458
1431
  items: undefined;
1459
1432
  };
1460
- dbSync: {
1461
- externalDatabases: undefined;
1462
- };
1463
1433
  dataVault: {
1464
1434
  stores: undefined;
1465
1435
  };
@@ -1469,7 +1439,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1469
1439
  project: {
1470
1440
  requirePublishableClientKey: undefined;
1471
1441
  };
1472
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1442
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1473
1443
  rbac: {
1474
1444
  permissions: undefined;
1475
1445
  defaultPermissions: {
@@ -1530,9 +1500,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1530
1500
  products: undefined;
1531
1501
  items: undefined;
1532
1502
  };
1533
- dbSync: {
1534
- externalDatabases: undefined;
1535
- };
1536
1503
  dataVault: {
1537
1504
  stores: undefined;
1538
1505
  };
@@ -1545,7 +1512,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1545
1512
  project: {
1546
1513
  requirePublishableClientKey: undefined;
1547
1514
  };
1548
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1515
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1549
1516
  rbac: {
1550
1517
  permissions: undefined;
1551
1518
  defaultPermissions: {
@@ -1606,9 +1573,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1606
1573
  products: undefined;
1607
1574
  items: undefined;
1608
1575
  };
1609
- dbSync: {
1610
- externalDatabases: undefined;
1611
- };
1612
1576
  dataVault: {
1613
1577
  stores: undefined;
1614
1578
  };
@@ -1631,7 +1595,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1631
1595
  project: {
1632
1596
  requirePublishableClientKey: undefined;
1633
1597
  };
1634
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1598
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1635
1599
  rbac: {
1636
1600
  permissions: undefined;
1637
1601
  defaultPermissions: {
@@ -1692,9 +1656,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1692
1656
  products: undefined;
1693
1657
  items: undefined;
1694
1658
  };
1695
- dbSync: {
1696
- externalDatabases: undefined;
1697
- };
1698
1659
  dataVault: {
1699
1660
  stores: undefined;
1700
1661
  };
@@ -1707,7 +1668,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1707
1668
  project: {
1708
1669
  requirePublishableClientKey: undefined;
1709
1670
  };
1710
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1671
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1711
1672
  rbac: {
1712
1673
  permissions: undefined;
1713
1674
  defaultPermissions: {
@@ -1768,15 +1729,15 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1768
1729
  products: undefined;
1769
1730
  items: undefined;
1770
1731
  };
1771
- dbSync: {
1772
- externalDatabases: undefined;
1773
- };
1774
1732
  dataVault: {
1775
1733
  stores: undefined;
1776
1734
  };
1777
1735
  }>, "testMode"> & {
1778
1736
  testMode: undefined;
1779
1737
  };
1738
+ dbSync: {
1739
+ externalDatabases: undefined;
1740
+ };
1780
1741
  analytics: {
1781
1742
  queryFolders: undefined;
1782
1743
  };
@@ -2051,8 +2012,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2051
2012
  auth: {
2052
2013
  oauth: {
2053
2014
  providers: Record<string, {
2054
- displayName?: string | undefined;
2055
2015
  scope?: string | undefined;
2016
+ displayName?: string | undefined;
2056
2017
  issuerUrl?: string | undefined;
2057
2018
  type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
2058
2019
  allowSignIn: boolean;
@@ -2072,22 +2033,22 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2072
2033
  accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
2073
2034
  };
2074
2035
  signUpRules: Record<string, {
2075
- displayName: string | undefined;
2076
2036
  enabled: boolean;
2037
+ displayName: string | undefined;
2077
2038
  priority: number;
2078
2039
  condition: string | undefined;
2079
2040
  action: {
2080
- message: string | undefined;
2081
2041
  type: "allow" | "reject" | "restrict" | "log";
2042
+ message: string | undefined;
2082
2043
  };
2083
2044
  }>;
2084
2045
  password: {
2085
2046
  allowSignIn: boolean;
2086
2047
  };
2087
- otp: {
2048
+ passkey: {
2088
2049
  allowSignIn: boolean;
2089
2050
  };
2090
- passkey: {
2051
+ otp: {
2091
2052
  allowSignIn: boolean;
2092
2053
  };
2093
2054
  allowSignUp: boolean;
@@ -2133,21 +2094,21 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2133
2094
  AUD: string | undefined;
2134
2095
  CAD: string | undefined;
2135
2096
  interval: [number, "day" | "week" | "month" | "year"] | undefined;
2136
- serverOnly: boolean;
2137
2097
  freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2098
+ serverOnly: boolean;
2138
2099
  }> & {
2139
2100
  serverOnly: boolean;
2140
2101
  }>;
2102
+ stackable: boolean | undefined;
2141
2103
  displayName: string;
2142
- serverOnly: boolean;
2143
- freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2144
2104
  productLineId: string | undefined;
2145
- customerType: "team" | "user" | "custom";
2146
- stackable: boolean | undefined;
2105
+ customerType: "user" | "team" | "custom";
2106
+ freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2107
+ serverOnly: boolean;
2147
2108
  includedItems: {
2148
2109
  [x: string]: {
2149
- quantity: number;
2150
2110
  repeat: "never" | [number, "day" | "week" | "month" | "year"];
2111
+ quantity: number;
2151
2112
  expires: "never" | "when-purchase-expires" | "when-repeated";
2152
2113
  };
2153
2114
  };
@@ -2155,7 +2116,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2155
2116
  items: {
2156
2117
  [x: string]: {
2157
2118
  displayName: string;
2158
- customerType: "team" | "user" | "custom";
2119
+ customerType: "user" | "team" | "custom";
2159
2120
  };
2160
2121
  };
2161
2122
  blockNewPurchases: boolean;
@@ -2165,7 +2126,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2165
2126
  productLines: {
2166
2127
  [x: string]: {
2167
2128
  displayName: string | undefined;
2168
- customerType: "team" | "user" | "custom" | undefined;
2129
+ customerType: "user" | "team" | "custom" | undefined;
2169
2130
  };
2170
2131
  };
2171
2132
  testMode: boolean;
@@ -2227,9 +2188,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2227
2188
  };
2228
2189
  };
2229
2190
  };
2230
- users: {
2231
- allowClientUserDeletion: boolean;
2232
- };
2233
2191
  domains: {
2234
2192
  allowLocalhost: boolean;
2235
2193
  trustedDomains: {
@@ -2241,17 +2199,12 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2241
2199
  };
2242
2200
  apiKeys: {
2243
2201
  enabled: {
2244
- team: boolean;
2245
2202
  user: boolean;
2203
+ team: boolean;
2246
2204
  };
2247
2205
  };
2248
- dbSync: {
2249
- externalDatabases: {
2250
- [x: string]: {
2251
- type: "postgres" | undefined;
2252
- connectionString: string | undefined;
2253
- };
2254
- };
2206
+ users: {
2207
+ allowClientUserDeletion: boolean;
2255
2208
  };
2256
2209
  dataVault: {
2257
2210
  stores: {
@@ -2266,6 +2219,14 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2266
2219
  tsxSource: string;
2267
2220
  };
2268
2221
  };
2222
+ dbSync: {
2223
+ externalDatabases: {
2224
+ [x: string]: {
2225
+ type: "postgres" | undefined;
2226
+ connectionString: string | undefined;
2227
+ };
2228
+ };
2229
+ };
2269
2230
  }>;
2270
2231
  /**
2271
2232
  * Does not require a base config, and hence solely relies on the override itself to validate the config. If it returns
@@ -2325,4 +2286,4 @@ type OrganizationRenderedConfig = Expand<Awaited<ReturnType<typeof sanitizeOrgan
2325
2286
  type CompleteConfig = OrganizationRenderedConfig;
2326
2287
  //#endregion
2327
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 };
2328
- //# sourceMappingURL=schema-01nWxmb4.d.ts.map
2289
+ //# sourceMappingURL=schema-Bgy-GC70.d.ts.map