@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
@@ -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
- serverOnly?: boolean | undefined;
43
- freeTrial?: import("../utils/dates").DayInterval | undefined;
44
43
  productLineId?: string | undefined;
45
44
  isAddOnTo?: false | Record<string, true> | undefined;
46
- stackable?: boolean | undefined;
47
- customerType: "team" | "user" | "custom";
45
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
46
+ serverOnly?: boolean | undefined;
48
47
  prices: Record<string, {
49
48
  USD?: string | undefined;
50
49
  EUR?: string | undefined;
@@ -54,9 +53,10 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
54
53
  AUD?: string | undefined;
55
54
  CAD?: string | undefined;
56
55
  interval?: import("../utils/dates").DayInterval | undefined;
57
- serverOnly?: boolean | undefined;
58
56
  freeTrial?: import("../utils/dates").DayInterval | undefined;
57
+ serverOnly?: boolean | 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;
@@ -83,7 +83,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
83
83
  sourceOfTruth: {
84
84
  type: "hosted";
85
85
  };
86
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
86
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
87
87
  payments?: {
88
88
  blockNewPurchases?: boolean | undefined;
89
89
  autoPay?: {
@@ -91,20 +91,19 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
91
91
  } | undefined;
92
92
  items: Record<string, {
93
93
  displayName?: string | undefined;
94
- customerType?: "team" | "user" | "custom" | undefined;
94
+ customerType?: "user" | "team" | "custom" | undefined;
95
95
  }>;
96
96
  productLines: Record<string, {
97
97
  displayName?: string | undefined;
98
- customerType?: "team" | "user" | "custom" | undefined;
98
+ customerType?: "user" | "team" | "custom" | undefined;
99
99
  }>;
100
100
  products: Record<string, {
101
+ stackable?: boolean | undefined;
101
102
  displayName?: string | undefined;
102
- serverOnly?: boolean | undefined;
103
- freeTrial?: import("../utils/dates").DayInterval | undefined;
104
103
  productLineId?: string | undefined;
105
104
  isAddOnTo?: false | Record<string, true> | undefined;
106
- stackable?: boolean | undefined;
107
- customerType: "team" | "user" | "custom";
105
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
106
+ serverOnly?: boolean | undefined;
108
107
  prices: Record<string, {
109
108
  USD?: string | undefined;
110
109
  EUR?: string | undefined;
@@ -114,9 +113,10 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
114
113
  AUD?: string | undefined;
115
114
  CAD?: string | undefined;
116
115
  interval?: import("../utils/dates").DayInterval | undefined;
117
- serverOnly?: boolean | undefined;
118
116
  freeTrial?: import("../utils/dates").DayInterval | undefined;
117
+ serverOnly?: boolean | undefined;
119
118
  }>;
119
+ customerType: "user" | "team" | "custom";
120
120
  includedItems: Record<string, {
121
121
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
122
122
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -130,6 +130,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
130
130
  password: {
131
131
  allowSignIn?: boolean | undefined;
132
132
  };
133
+ passkey: {
134
+ allowSignIn?: boolean | undefined;
135
+ };
133
136
  otp: {
134
137
  allowSignIn?: boolean | undefined;
135
138
  };
@@ -141,12 +144,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
141
144
  allowConnectedAccounts?: boolean | undefined;
142
145
  }>;
143
146
  };
144
- passkey: {
145
- allowSignIn?: boolean | undefined;
146
- };
147
147
  signUpRules: Record<string, {
148
- displayName?: string | undefined;
149
148
  enabled?: boolean | undefined;
149
+ displayName?: string | undefined;
150
150
  priority?: number | undefined;
151
151
  condition?: string | undefined;
152
152
  action: {
@@ -186,14 +186,11 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
186
186
  tsxSource: string;
187
187
  }>;
188
188
  };
189
- users: {
190
- allowClientUserDeletion?: boolean | undefined;
191
- };
192
189
  domains: {};
193
190
  apiKeys: {
194
191
  enabled: {
195
- team?: boolean | undefined;
196
192
  user?: boolean | undefined;
193
+ team?: boolean | undefined;
197
194
  };
198
195
  };
199
196
  apps: {
@@ -201,11 +198,8 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
201
198
  enabled?: boolean | undefined;
202
199
  }>;
203
200
  };
204
- dbSync: {
205
- externalDatabases: Record<string, {
206
- connectionString?: string | undefined;
207
- type: "postgres";
208
- }>;
201
+ users: {
202
+ allowClientUserDeletion?: boolean | undefined;
209
203
  };
210
204
  dataVault: {
211
205
  stores: Record<string, {
@@ -217,7 +211,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
217
211
  project: {
218
212
  requirePublishableClientKey: undefined;
219
213
  };
220
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
214
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
221
215
  rbac: {
222
216
  permissions: undefined;
223
217
  defaultPermissions: {
@@ -278,9 +272,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
278
272
  products: undefined;
279
273
  items: undefined;
280
274
  };
281
- dbSync: {
282
- externalDatabases: undefined;
283
- };
284
275
  dataVault: {
285
276
  stores: undefined;
286
277
  };
@@ -292,7 +283,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
292
283
  sourceOfTruth: {
293
284
  type: "hosted";
294
285
  };
295
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
286
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
296
287
  payments?: {
297
288
  blockNewPurchases?: boolean | undefined;
298
289
  autoPay?: {
@@ -300,20 +291,19 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
300
291
  } | undefined;
301
292
  items: Record<string, {
302
293
  displayName?: string | undefined;
303
- customerType?: "team" | "user" | "custom" | undefined;
294
+ customerType?: "user" | "team" | "custom" | undefined;
304
295
  }>;
305
296
  productLines: Record<string, {
306
297
  displayName?: string | undefined;
307
- customerType?: "team" | "user" | "custom" | undefined;
298
+ customerType?: "user" | "team" | "custom" | undefined;
308
299
  }>;
309
300
  products: Record<string, {
301
+ stackable?: boolean | undefined;
310
302
  displayName?: string | undefined;
311
- serverOnly?: boolean | undefined;
312
- freeTrial?: import("../utils/dates").DayInterval | undefined;
313
303
  productLineId?: string | undefined;
314
304
  isAddOnTo?: false | Record<string, true> | undefined;
315
- stackable?: boolean | undefined;
316
- customerType: "team" | "user" | "custom";
305
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
306
+ serverOnly?: boolean | undefined;
317
307
  prices: Record<string, {
318
308
  USD?: string | undefined;
319
309
  EUR?: string | undefined;
@@ -323,9 +313,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
323
313
  AUD?: string | undefined;
324
314
  CAD?: string | undefined;
325
315
  interval?: import("../utils/dates").DayInterval | undefined;
326
- serverOnly?: boolean | undefined;
327
316
  freeTrial?: import("../utils/dates").DayInterval | undefined;
317
+ serverOnly?: boolean | undefined;
328
318
  }>;
319
+ customerType: "user" | "team" | "custom";
329
320
  includedItems: Record<string, {
330
321
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
331
322
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -339,6 +330,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
339
330
  password: {
340
331
  allowSignIn?: boolean | undefined;
341
332
  };
333
+ passkey: {
334
+ allowSignIn?: boolean | undefined;
335
+ };
342
336
  otp: {
343
337
  allowSignIn?: boolean | undefined;
344
338
  };
@@ -350,12 +344,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
350
344
  allowConnectedAccounts?: boolean | undefined;
351
345
  }>;
352
346
  };
353
- passkey: {
354
- allowSignIn?: boolean | undefined;
355
- };
356
347
  signUpRules: Record<string, {
357
- displayName?: string | undefined;
358
348
  enabled?: boolean | undefined;
349
+ displayName?: string | undefined;
359
350
  priority?: number | undefined;
360
351
  condition?: string | undefined;
361
352
  action: {
@@ -395,14 +386,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
395
386
  tsxSource: string;
396
387
  }>;
397
388
  };
398
- users: {
399
- allowClientUserDeletion?: boolean | undefined;
400
- };
401
389
  domains: {};
402
390
  apiKeys: {
403
391
  enabled: {
404
- team?: boolean | undefined;
405
392
  user?: boolean | undefined;
393
+ team?: boolean | undefined;
406
394
  };
407
395
  };
408
396
  apps: {
@@ -410,18 +398,15 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
410
398
  enabled?: boolean | undefined;
411
399
  }>;
412
400
  };
413
- dbSync: {
414
- externalDatabases: Record<string, {
415
- connectionString?: string | undefined;
416
- type: "postgres";
417
- }>;
401
+ users: {
402
+ allowClientUserDeletion?: boolean | undefined;
418
403
  };
419
404
  dataVault: {
420
405
  stores: Record<string, {
421
406
  displayName?: string | undefined;
422
407
  }>;
423
408
  };
424
- }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
409
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
425
410
  payments?: (Omit<{
426
411
  blockNewPurchases?: boolean | undefined;
427
412
  autoPay?: {
@@ -429,20 +414,19 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
429
414
  } | undefined;
430
415
  items: Record<string, {
431
416
  displayName?: string | undefined;
432
- customerType?: "team" | "user" | "custom" | undefined;
417
+ customerType?: "user" | "team" | "custom" | undefined;
433
418
  }>;
434
419
  productLines: Record<string, {
435
420
  displayName?: string | undefined;
436
- customerType?: "team" | "user" | "custom" | undefined;
421
+ customerType?: "user" | "team" | "custom" | undefined;
437
422
  }>;
438
423
  products: Record<string, {
424
+ stackable?: boolean | undefined;
439
425
  displayName?: string | undefined;
440
- serverOnly?: boolean | undefined;
441
- freeTrial?: import("../utils/dates").DayInterval | undefined;
442
426
  productLineId?: string | undefined;
443
427
  isAddOnTo?: false | Record<string, true> | undefined;
444
- stackable?: boolean | undefined;
445
- customerType: "team" | "user" | "custom";
428
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
429
+ serverOnly?: boolean | undefined;
446
430
  prices: Record<string, {
447
431
  USD?: string | undefined;
448
432
  EUR?: string | undefined;
@@ -452,9 +436,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
452
436
  AUD?: string | undefined;
453
437
  CAD?: string | undefined;
454
438
  interval?: import("../utils/dates").DayInterval | undefined;
455
- serverOnly?: boolean | undefined;
456
439
  freeTrial?: import("../utils/dates").DayInterval | undefined;
440
+ serverOnly?: boolean | undefined;
457
441
  }>;
442
+ customerType: "user" | "team" | "custom";
458
443
  includedItems: Record<string, {
459
444
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
460
445
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -470,6 +455,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
470
455
  password: {
471
456
  allowSignIn?: boolean | undefined;
472
457
  };
458
+ passkey: {
459
+ allowSignIn?: boolean | undefined;
460
+ };
473
461
  otp: {
474
462
  allowSignIn?: boolean | undefined;
475
463
  };
@@ -481,12 +469,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
481
469
  allowConnectedAccounts?: boolean | undefined;
482
470
  }>;
483
471
  };
484
- passkey: {
485
- allowSignIn?: boolean | undefined;
486
- };
487
472
  signUpRules: Record<string, {
488
- displayName?: string | undefined;
489
473
  enabled?: boolean | undefined;
474
+ displayName?: string | undefined;
490
475
  priority?: number | undefined;
491
476
  condition?: string | undefined;
492
477
  action: {
@@ -505,8 +490,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
505
490
  }, "providers"> & {
506
491
  providers: Record<string, {
507
492
  type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
508
- displayName?: string | undefined;
509
493
  scope?: string | undefined;
494
+ displayName?: string | undefined;
510
495
  allowSignIn?: boolean | undefined;
511
496
  allowConnectedAccounts?: boolean | undefined;
512
497
  isShared?: boolean | undefined;
@@ -569,12 +554,18 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
569
554
  displayName: string;
570
555
  tsxSource: string;
571
556
  }>;
557
+ dbSync: {
558
+ externalDatabases: Record<string, {
559
+ connectionString?: string | undefined;
560
+ type: "postgres";
561
+ }>;
562
+ };
572
563
  }, yup$1.AnyObject, Omit<NonNullable<Omit<Omit<{
573
564
  sourceOfTruth: undefined;
574
565
  project: {
575
566
  requirePublishableClientKey: undefined;
576
567
  };
577
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
568
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
578
569
  rbac: {
579
570
  permissions: undefined;
580
571
  defaultPermissions: {
@@ -635,19 +626,16 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
635
626
  products: undefined;
636
627
  items: undefined;
637
628
  };
638
- dbSync: {
639
- externalDatabases: undefined;
640
- };
641
629
  dataVault: {
642
630
  stores: undefined;
643
631
  };
644
- }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
632
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
645
633
  auth: Omit<NonNullable<Omit<Omit<{
646
634
  sourceOfTruth: undefined;
647
635
  project: {
648
636
  requirePublishableClientKey: undefined;
649
637
  };
650
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
638
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
651
639
  rbac: {
652
640
  permissions: undefined;
653
641
  defaultPermissions: {
@@ -708,9 +696,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
708
696
  products: undefined;
709
697
  items: undefined;
710
698
  };
711
- dbSync: {
712
- externalDatabases: undefined;
713
- };
714
699
  dataVault: {
715
700
  stores: undefined;
716
701
  };
@@ -720,7 +705,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
720
705
  project: {
721
706
  requirePublishableClientKey: undefined;
722
707
  };
723
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
708
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
724
709
  rbac: {
725
710
  permissions: undefined;
726
711
  defaultPermissions: {
@@ -781,9 +766,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
781
766
  products: undefined;
782
767
  items: undefined;
783
768
  };
784
- dbSync: {
785
- externalDatabases: undefined;
786
- };
787
769
  dataVault: {
788
770
  stores: undefined;
789
771
  };
@@ -796,7 +778,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
796
778
  project: {
797
779
  requirePublishableClientKey: undefined;
798
780
  };
799
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
781
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
800
782
  rbac: {
801
783
  permissions: undefined;
802
784
  defaultPermissions: {
@@ -857,9 +839,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
857
839
  products: undefined;
858
840
  items: undefined;
859
841
  };
860
- dbSync: {
861
- externalDatabases: undefined;
862
- };
863
842
  dataVault: {
864
843
  stores: undefined;
865
844
  };
@@ -882,7 +861,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
882
861
  project: {
883
862
  requirePublishableClientKey: undefined;
884
863
  };
885
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
864
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
886
865
  rbac: {
887
866
  permissions: undefined;
888
867
  defaultPermissions: {
@@ -943,9 +922,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
943
922
  products: undefined;
944
923
  items: undefined;
945
924
  };
946
- dbSync: {
947
- externalDatabases: undefined;
948
- };
949
925
  dataVault: {
950
926
  stores: undefined;
951
927
  };
@@ -958,7 +934,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
958
934
  project: {
959
935
  requirePublishableClientKey: undefined;
960
936
  };
961
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
937
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
962
938
  rbac: {
963
939
  permissions: undefined;
964
940
  defaultPermissions: {
@@ -1019,15 +995,15 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
1019
995
  products: undefined;
1020
996
  items: undefined;
1021
997
  };
1022
- dbSync: {
1023
- externalDatabases: undefined;
1024
- };
1025
998
  dataVault: {
1026
999
  stores: undefined;
1027
1000
  };
1028
1001
  }>, "testMode"> & {
1029
1002
  testMode: undefined;
1030
1003
  };
1004
+ dbSync: {
1005
+ externalDatabases: undefined;
1006
+ };
1031
1007
  analytics: {
1032
1008
  queryFolders: undefined;
1033
1009
  };
@@ -1040,7 +1016,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1040
1016
  sourceOfTruth: {
1041
1017
  type: "hosted";
1042
1018
  };
1043
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1019
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1044
1020
  payments?: {
1045
1021
  blockNewPurchases?: boolean | undefined;
1046
1022
  autoPay?: {
@@ -1048,20 +1024,19 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1048
1024
  } | undefined;
1049
1025
  items: Record<string, {
1050
1026
  displayName?: string | undefined;
1051
- customerType?: "team" | "user" | "custom" | undefined;
1027
+ customerType?: "user" | "team" | "custom" | undefined;
1052
1028
  }>;
1053
1029
  productLines: Record<string, {
1054
1030
  displayName?: string | undefined;
1055
- customerType?: "team" | "user" | "custom" | undefined;
1031
+ customerType?: "user" | "team" | "custom" | undefined;
1056
1032
  }>;
1057
1033
  products: Record<string, {
1034
+ stackable?: boolean | undefined;
1058
1035
  displayName?: string | undefined;
1059
- serverOnly?: boolean | undefined;
1060
- freeTrial?: import("../utils/dates").DayInterval | undefined;
1061
1036
  productLineId?: string | undefined;
1062
1037
  isAddOnTo?: false | Record<string, true> | undefined;
1063
- stackable?: boolean | undefined;
1064
- customerType: "team" | "user" | "custom";
1038
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
1039
+ serverOnly?: boolean | undefined;
1065
1040
  prices: Record<string, {
1066
1041
  USD?: string | undefined;
1067
1042
  EUR?: string | undefined;
@@ -1071,9 +1046,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1071
1046
  AUD?: string | undefined;
1072
1047
  CAD?: string | undefined;
1073
1048
  interval?: import("../utils/dates").DayInterval | undefined;
1074
- serverOnly?: boolean | undefined;
1075
1049
  freeTrial?: import("../utils/dates").DayInterval | undefined;
1050
+ serverOnly?: boolean | undefined;
1076
1051
  }>;
1052
+ customerType: "user" | "team" | "custom";
1077
1053
  includedItems: Record<string, {
1078
1054
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
1079
1055
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -1087,6 +1063,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1087
1063
  password: {
1088
1064
  allowSignIn?: boolean | undefined;
1089
1065
  };
1066
+ passkey: {
1067
+ allowSignIn?: boolean | undefined;
1068
+ };
1090
1069
  otp: {
1091
1070
  allowSignIn?: boolean | undefined;
1092
1071
  };
@@ -1098,12 +1077,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1098
1077
  allowConnectedAccounts?: boolean | undefined;
1099
1078
  }>;
1100
1079
  };
1101
- passkey: {
1102
- allowSignIn?: boolean | undefined;
1103
- };
1104
1080
  signUpRules: Record<string, {
1105
- displayName?: string | undefined;
1106
1081
  enabled?: boolean | undefined;
1082
+ displayName?: string | undefined;
1107
1083
  priority?: number | undefined;
1108
1084
  condition?: string | undefined;
1109
1085
  action: {
@@ -1143,14 +1119,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1143
1119
  tsxSource: string;
1144
1120
  }>;
1145
1121
  };
1146
- users: {
1147
- allowClientUserDeletion?: boolean | undefined;
1148
- };
1149
1122
  domains: {};
1150
1123
  apiKeys: {
1151
1124
  enabled: {
1152
- team?: boolean | undefined;
1153
1125
  user?: boolean | undefined;
1126
+ team?: boolean | undefined;
1154
1127
  };
1155
1128
  };
1156
1129
  apps: {
@@ -1158,18 +1131,15 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1158
1131
  enabled?: boolean | undefined;
1159
1132
  }>;
1160
1133
  };
1161
- dbSync: {
1162
- externalDatabases: Record<string, {
1163
- connectionString?: string | undefined;
1164
- type: "postgres";
1165
- }>;
1134
+ users: {
1135
+ allowClientUserDeletion?: boolean | undefined;
1166
1136
  };
1167
1137
  dataVault: {
1168
1138
  stores: Record<string, {
1169
1139
  displayName?: string | undefined;
1170
1140
  }>;
1171
1141
  };
1172
- }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
1142
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
1173
1143
  payments?: (Omit<{
1174
1144
  blockNewPurchases?: boolean | undefined;
1175
1145
  autoPay?: {
@@ -1177,20 +1147,19 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1177
1147
  } | undefined;
1178
1148
  items: Record<string, {
1179
1149
  displayName?: string | undefined;
1180
- customerType?: "team" | "user" | "custom" | undefined;
1150
+ customerType?: "user" | "team" | "custom" | undefined;
1181
1151
  }>;
1182
1152
  productLines: Record<string, {
1183
1153
  displayName?: string | undefined;
1184
- customerType?: "team" | "user" | "custom" | undefined;
1154
+ customerType?: "user" | "team" | "custom" | undefined;
1185
1155
  }>;
1186
1156
  products: Record<string, {
1157
+ stackable?: boolean | undefined;
1187
1158
  displayName?: string | undefined;
1188
- serverOnly?: boolean | undefined;
1189
- freeTrial?: import("../utils/dates").DayInterval | undefined;
1190
1159
  productLineId?: string | undefined;
1191
1160
  isAddOnTo?: false | Record<string, true> | undefined;
1192
- stackable?: boolean | undefined;
1193
- customerType: "team" | "user" | "custom";
1161
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
1162
+ serverOnly?: boolean | undefined;
1194
1163
  prices: Record<string, {
1195
1164
  USD?: string | undefined;
1196
1165
  EUR?: string | undefined;
@@ -1200,9 +1169,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1200
1169
  AUD?: string | undefined;
1201
1170
  CAD?: string | undefined;
1202
1171
  interval?: import("../utils/dates").DayInterval | undefined;
1203
- serverOnly?: boolean | undefined;
1204
1172
  freeTrial?: import("../utils/dates").DayInterval | undefined;
1173
+ serverOnly?: boolean | undefined;
1205
1174
  }>;
1175
+ customerType: "user" | "team" | "custom";
1206
1176
  includedItems: Record<string, {
1207
1177
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
1208
1178
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -1218,6 +1188,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1218
1188
  password: {
1219
1189
  allowSignIn?: boolean | undefined;
1220
1190
  };
1191
+ passkey: {
1192
+ allowSignIn?: boolean | undefined;
1193
+ };
1221
1194
  otp: {
1222
1195
  allowSignIn?: boolean | undefined;
1223
1196
  };
@@ -1229,12 +1202,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1229
1202
  allowConnectedAccounts?: boolean | undefined;
1230
1203
  }>;
1231
1204
  };
1232
- passkey: {
1233
- allowSignIn?: boolean | undefined;
1234
- };
1235
1205
  signUpRules: Record<string, {
1236
- displayName?: string | undefined;
1237
1206
  enabled?: boolean | undefined;
1207
+ displayName?: string | undefined;
1238
1208
  priority?: number | undefined;
1239
1209
  condition?: string | undefined;
1240
1210
  action: {
@@ -1253,8 +1223,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1253
1223
  }, "providers"> & {
1254
1224
  providers: Record<string, {
1255
1225
  type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
1256
- displayName?: string | undefined;
1257
1226
  scope?: string | undefined;
1227
+ displayName?: string | undefined;
1258
1228
  allowSignIn?: boolean | undefined;
1259
1229
  allowConnectedAccounts?: boolean | undefined;
1260
1230
  isShared?: boolean | undefined;
@@ -1317,12 +1287,18 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1317
1287
  displayName: string;
1318
1288
  tsxSource: string;
1319
1289
  }>;
1290
+ dbSync: {
1291
+ externalDatabases: Record<string, {
1292
+ connectionString?: string | undefined;
1293
+ type: "postgres";
1294
+ }>;
1295
+ };
1320
1296
  }>, never> & {}, yup$1.AnyObject, Omit<NonNullable<Omit<NonNullable<Omit<Omit<{
1321
1297
  sourceOfTruth: undefined;
1322
1298
  project: {
1323
1299
  requirePublishableClientKey: undefined;
1324
1300
  };
1325
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1301
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1326
1302
  rbac: {
1327
1303
  permissions: undefined;
1328
1304
  defaultPermissions: {
@@ -1383,19 +1359,16 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1383
1359
  products: undefined;
1384
1360
  items: undefined;
1385
1361
  };
1386
- dbSync: {
1387
- externalDatabases: undefined;
1388
- };
1389
1362
  dataVault: {
1390
1363
  stores: undefined;
1391
1364
  };
1392
- }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
1365
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
1393
1366
  auth: Omit<NonNullable<Omit<Omit<{
1394
1367
  sourceOfTruth: undefined;
1395
1368
  project: {
1396
1369
  requirePublishableClientKey: undefined;
1397
1370
  };
1398
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1371
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1399
1372
  rbac: {
1400
1373
  permissions: undefined;
1401
1374
  defaultPermissions: {
@@ -1456,9 +1429,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1456
1429
  products: undefined;
1457
1430
  items: undefined;
1458
1431
  };
1459
- dbSync: {
1460
- externalDatabases: undefined;
1461
- };
1462
1432
  dataVault: {
1463
1433
  stores: undefined;
1464
1434
  };
@@ -1468,7 +1438,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1468
1438
  project: {
1469
1439
  requirePublishableClientKey: undefined;
1470
1440
  };
1471
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1441
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1472
1442
  rbac: {
1473
1443
  permissions: undefined;
1474
1444
  defaultPermissions: {
@@ -1529,9 +1499,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1529
1499
  products: undefined;
1530
1500
  items: undefined;
1531
1501
  };
1532
- dbSync: {
1533
- externalDatabases: undefined;
1534
- };
1535
1502
  dataVault: {
1536
1503
  stores: undefined;
1537
1504
  };
@@ -1544,7 +1511,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1544
1511
  project: {
1545
1512
  requirePublishableClientKey: undefined;
1546
1513
  };
1547
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1514
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1548
1515
  rbac: {
1549
1516
  permissions: undefined;
1550
1517
  defaultPermissions: {
@@ -1605,9 +1572,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1605
1572
  products: undefined;
1606
1573
  items: undefined;
1607
1574
  };
1608
- dbSync: {
1609
- externalDatabases: undefined;
1610
- };
1611
1575
  dataVault: {
1612
1576
  stores: undefined;
1613
1577
  };
@@ -1630,7 +1594,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1630
1594
  project: {
1631
1595
  requirePublishableClientKey: undefined;
1632
1596
  };
1633
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1597
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1634
1598
  rbac: {
1635
1599
  permissions: undefined;
1636
1600
  defaultPermissions: {
@@ -1691,9 +1655,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1691
1655
  products: undefined;
1692
1656
  items: undefined;
1693
1657
  };
1694
- dbSync: {
1695
- externalDatabases: undefined;
1696
- };
1697
1658
  dataVault: {
1698
1659
  stores: undefined;
1699
1660
  };
@@ -1706,7 +1667,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1706
1667
  project: {
1707
1668
  requirePublishableClientKey: undefined;
1708
1669
  };
1709
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "domains" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
1670
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1710
1671
  rbac: {
1711
1672
  permissions: undefined;
1712
1673
  defaultPermissions: {
@@ -1767,15 +1728,15 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1767
1728
  products: undefined;
1768
1729
  items: undefined;
1769
1730
  };
1770
- dbSync: {
1771
- externalDatabases: undefined;
1772
- };
1773
1731
  dataVault: {
1774
1732
  stores: undefined;
1775
1733
  };
1776
1734
  }>, "testMode"> & {
1777
1735
  testMode: undefined;
1778
1736
  };
1737
+ dbSync: {
1738
+ externalDatabases: undefined;
1739
+ };
1779
1740
  analytics: {
1780
1741
  queryFolders: undefined;
1781
1742
  };
@@ -2050,8 +2011,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2050
2011
  auth: {
2051
2012
  oauth: {
2052
2013
  providers: Record<string, {
2053
- displayName?: string | undefined;
2054
2014
  scope?: string | undefined;
2015
+ displayName?: string | undefined;
2055
2016
  issuerUrl?: string | undefined;
2056
2017
  type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
2057
2018
  allowSignIn: boolean;
@@ -2071,22 +2032,22 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2071
2032
  accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
2072
2033
  };
2073
2034
  signUpRules: Record<string, {
2074
- displayName: string | undefined;
2075
2035
  enabled: boolean;
2036
+ displayName: string | undefined;
2076
2037
  priority: number;
2077
2038
  condition: string | undefined;
2078
2039
  action: {
2079
- message: string | undefined;
2080
2040
  type: "allow" | "reject" | "restrict" | "log";
2041
+ message: string | undefined;
2081
2042
  };
2082
2043
  }>;
2083
2044
  password: {
2084
2045
  allowSignIn: boolean;
2085
2046
  };
2086
- otp: {
2047
+ passkey: {
2087
2048
  allowSignIn: boolean;
2088
2049
  };
2089
- passkey: {
2050
+ otp: {
2090
2051
  allowSignIn: boolean;
2091
2052
  };
2092
2053
  allowSignUp: boolean;
@@ -2132,21 +2093,21 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2132
2093
  AUD: string | undefined;
2133
2094
  CAD: string | undefined;
2134
2095
  interval: [number, "day" | "week" | "month" | "year"] | undefined;
2135
- serverOnly: boolean;
2136
2096
  freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2097
+ serverOnly: boolean;
2137
2098
  }> & {
2138
2099
  serverOnly: boolean;
2139
2100
  }>;
2101
+ stackable: boolean | undefined;
2140
2102
  displayName: string;
2141
- serverOnly: boolean;
2142
- freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2143
2103
  productLineId: string | undefined;
2144
- customerType: "team" | "user" | "custom";
2145
- stackable: boolean | undefined;
2104
+ customerType: "user" | "team" | "custom";
2105
+ freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2106
+ serverOnly: boolean;
2146
2107
  includedItems: {
2147
2108
  [x: string]: {
2148
- quantity: number;
2149
2109
  repeat: "never" | [number, "day" | "week" | "month" | "year"];
2110
+ quantity: number;
2150
2111
  expires: "never" | "when-purchase-expires" | "when-repeated";
2151
2112
  };
2152
2113
  };
@@ -2154,7 +2115,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2154
2115
  items: {
2155
2116
  [x: string]: {
2156
2117
  displayName: string;
2157
- customerType: "team" | "user" | "custom";
2118
+ customerType: "user" | "team" | "custom";
2158
2119
  };
2159
2120
  };
2160
2121
  blockNewPurchases: boolean;
@@ -2164,7 +2125,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2164
2125
  productLines: {
2165
2126
  [x: string]: {
2166
2127
  displayName: string | undefined;
2167
- customerType: "team" | "user" | "custom" | undefined;
2128
+ customerType: "user" | "team" | "custom" | undefined;
2168
2129
  };
2169
2130
  };
2170
2131
  testMode: boolean;
@@ -2226,9 +2187,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2226
2187
  };
2227
2188
  };
2228
2189
  };
2229
- users: {
2230
- allowClientUserDeletion: boolean;
2231
- };
2232
2190
  domains: {
2233
2191
  allowLocalhost: boolean;
2234
2192
  trustedDomains: {
@@ -2240,17 +2198,12 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2240
2198
  };
2241
2199
  apiKeys: {
2242
2200
  enabled: {
2243
- team: boolean;
2244
2201
  user: boolean;
2202
+ team: boolean;
2245
2203
  };
2246
2204
  };
2247
- dbSync: {
2248
- externalDatabases: {
2249
- [x: string]: {
2250
- type: "postgres" | undefined;
2251
- connectionString: string | undefined;
2252
- };
2253
- };
2205
+ users: {
2206
+ allowClientUserDeletion: boolean;
2254
2207
  };
2255
2208
  dataVault: {
2256
2209
  stores: {
@@ -2265,6 +2218,14 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2265
2218
  tsxSource: string;
2266
2219
  };
2267
2220
  };
2221
+ dbSync: {
2222
+ externalDatabases: {
2223
+ [x: string]: {
2224
+ type: "postgres" | undefined;
2225
+ connectionString: string | undefined;
2226
+ };
2227
+ };
2228
+ };
2268
2229
  }>;
2269
2230
  /**
2270
2231
  * Does not require a base config, and hence solely relies on the override itself to validate the config. If it returns