@hexclave/shared 1.0.19 → 1.0.20

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 (73) hide show
  1. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -5
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  4. package/dist/config/schema-fuzzer.test.js +4 -1
  5. package/dist/config/schema-fuzzer.test.js.map +1 -1
  6. package/dist/config/schema.d.ts +192 -183
  7. package/dist/config/schema.d.ts.map +1 -1
  8. package/dist/config/schema.js +7 -3
  9. package/dist/config/schema.js.map +1 -1
  10. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  11. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -5
  12. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  13. package/dist/esm/config/schema-fuzzer.test.js +4 -1
  14. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  15. package/dist/esm/config/schema.d.ts +192 -183
  16. package/dist/esm/config/schema.d.ts.map +1 -1
  17. package/dist/esm/config/schema.js +8 -4
  18. package/dist/esm/config/schema.js.map +1 -1
  19. package/dist/esm/interface/admin-metrics.d.ts +10 -10
  20. package/dist/esm/interface/conversations.d.ts +8 -8
  21. package/dist/esm/interface/crud/current-user.d.ts +5 -5
  22. package/dist/esm/interface/crud/email-outbox.d.ts +250 -250
  23. package/dist/esm/interface/crud/products.d.ts +15 -15
  24. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  25. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  26. package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
  27. package/dist/esm/interface/crud/transactions.d.ts +21 -21
  28. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  29. package/dist/esm/interface/crud/users.d.ts +4 -4
  30. package/dist/esm/interface/page-component-versions.d.ts.map +1 -1
  31. package/dist/esm/interface/page-component-versions.js +20 -4
  32. package/dist/esm/interface/page-component-versions.js.map +1 -1
  33. package/dist/esm/known-errors.d.ts +5 -5
  34. package/dist/esm/schema-fields.d.ts +8 -6
  35. package/dist/esm/schema-fields.d.ts.map +1 -1
  36. package/dist/esm/schema-fields.js +9 -1
  37. package/dist/esm/schema-fields.js.map +1 -1
  38. package/dist/esm/sessions.d.ts +7 -7
  39. package/dist/esm/utils/oauth.d.ts +8 -1
  40. package/dist/esm/utils/oauth.d.ts.map +1 -1
  41. package/dist/esm/utils/oauth.js +7 -1
  42. package/dist/esm/utils/oauth.js.map +1 -1
  43. package/dist/interface/admin-metrics.d.ts +10 -10
  44. package/dist/interface/conversations.d.ts +8 -8
  45. package/dist/interface/crud/current-user.d.ts +5 -5
  46. package/dist/interface/crud/email-outbox.d.ts +250 -250
  47. package/dist/interface/crud/products.d.ts +15 -15
  48. package/dist/interface/crud/products.d.ts.map +1 -1
  49. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  50. package/dist/interface/crud/team-member-profiles.d.ts +8 -8
  51. package/dist/interface/crud/transactions.d.ts +21 -21
  52. package/dist/interface/crud/transactions.d.ts.map +1 -1
  53. package/dist/interface/crud/users.d.ts +4 -4
  54. package/dist/interface/page-component-versions.d.ts.map +1 -1
  55. package/dist/interface/page-component-versions.js +20 -4
  56. package/dist/interface/page-component-versions.js.map +1 -1
  57. package/dist/known-errors.d.ts +5 -5
  58. package/dist/schema-fields.d.ts +8 -6
  59. package/dist/schema-fields.d.ts.map +1 -1
  60. package/dist/schema-fields.js +10 -0
  61. package/dist/schema-fields.js.map +1 -1
  62. package/dist/sessions.d.ts +7 -7
  63. package/dist/utils/oauth.d.ts +8 -1
  64. package/dist/utils/oauth.d.ts.map +1 -1
  65. package/dist/utils/oauth.js +7 -0
  66. package/dist/utils/oauth.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +4 -5
  69. package/src/config/schema-fuzzer.test.ts +3 -0
  70. package/src/config/schema.ts +9 -4
  71. package/src/interface/page-component-versions.ts +20 -4
  72. package/src/schema-fields.ts +2 -0
  73. package/src/utils/oauth.tsx +8 -0
@@ -36,7 +36,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
36
36
  } | undefined;
37
37
  productLines: Record<string, {
38
38
  displayName?: string | undefined;
39
- customerType?: "user" | "team" | "custom" | undefined;
39
+ customerType?: "team" | "user" | "custom" | undefined;
40
40
  }>;
41
41
  products: Record<string, {
42
42
  displayName?: string | undefined;
@@ -45,7 +45,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
45
45
  productLineId?: string | undefined;
46
46
  isAddOnTo?: false | Record<string, true> | undefined;
47
47
  stackable?: boolean | undefined;
48
- customerType: "user" | "team" | "custom";
48
+ customerType: "team" | "user" | "custom";
49
49
  prices: Record<string, {
50
50
  USD?: string | undefined;
51
51
  EUR?: string | undefined;
@@ -66,7 +66,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
66
66
  }>;
67
67
  items: Record<string, {
68
68
  displayName?: string | undefined;
69
- customerType?: "user" | "team" | "custom" | undefined;
69
+ customerType?: "team" | "user" | "custom" | undefined;
70
70
  }>;
71
71
  } | undefined, yup$1.AnyObject, {
72
72
  blockNewPurchases: undefined;
@@ -84,7 +84,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
84
84
  sourceOfTruth: {
85
85
  type: "hosted";
86
86
  };
87
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
87
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
88
88
  payments?: {
89
89
  blockNewPurchases?: boolean | undefined;
90
90
  autoPay?: {
@@ -92,11 +92,11 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
92
92
  } | undefined;
93
93
  items: Record<string, {
94
94
  displayName?: string | undefined;
95
- customerType?: "user" | "team" | "custom" | undefined;
95
+ customerType?: "team" | "user" | "custom" | undefined;
96
96
  }>;
97
97
  productLines: Record<string, {
98
98
  displayName?: string | undefined;
99
- customerType?: "user" | "team" | "custom" | undefined;
99
+ customerType?: "team" | "user" | "custom" | undefined;
100
100
  }>;
101
101
  products: Record<string, {
102
102
  displayName?: string | undefined;
@@ -105,7 +105,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
105
105
  productLineId?: string | undefined;
106
106
  isAddOnTo?: false | Record<string, true> | undefined;
107
107
  stackable?: boolean | undefined;
108
- customerType: "user" | "team" | "custom";
108
+ customerType: "team" | "user" | "custom";
109
109
  prices: Record<string, {
110
110
  USD?: string | undefined;
111
111
  EUR?: string | undefined;
@@ -125,33 +125,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
125
125
  }>;
126
126
  }>;
127
127
  } | undefined;
128
- rbac: {
129
- permissions: Record<string, {
130
- description?: string | undefined;
131
- scope?: "project" | "team" | undefined;
132
- containedPermissionIds?: Record<string, true | undefined> | undefined;
133
- } | undefined>;
134
- defaultPermissions: {
135
- teamCreator: Record<string, true | undefined>;
136
- teamMember: Record<string, true | undefined>;
137
- signUp: Record<string, true | undefined>;
138
- };
139
- };
140
- onboarding: {
141
- requireEmailVerification?: boolean | undefined;
142
- };
143
- apiKeys: {
144
- enabled: {
145
- user?: boolean | undefined;
146
- team?: boolean | undefined;
147
- };
148
- };
149
- apps: {
150
- installed: Record<"rbac" | "onboarding" | "payments" | "teams" | "authentication" | "fraud-protection" | "analytics" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays", {
151
- enabled?: boolean | undefined;
152
- }>;
153
- };
154
- domains: {};
155
128
  auth: {
156
129
  allowSignUp?: boolean | undefined;
157
130
  signUpRulesDefaultAction?: string | undefined;
@@ -167,7 +140,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
167
140
  oauth: {
168
141
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
169
142
  providers: Record<string, {
170
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
143
+ type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
171
144
  allowSignIn?: boolean | undefined;
172
145
  allowConnectedAccounts?: boolean | undefined;
173
146
  }>;
@@ -183,12 +156,24 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
183
156
  };
184
157
  }>;
185
158
  };
159
+ onboarding: {
160
+ requireEmailVerification?: boolean | undefined;
161
+ };
186
162
  teams: {
187
163
  createPersonalTeamOnSignUp?: boolean | undefined;
188
164
  allowClientTeamCreation?: boolean | undefined;
189
165
  };
190
- users: {
191
- allowClientUserDeletion?: boolean | undefined;
166
+ rbac: {
167
+ permissions: Record<string, {
168
+ description?: string | undefined;
169
+ scope?: "team" | "project" | undefined;
170
+ containedPermissionIds?: Record<string, true | undefined> | undefined;
171
+ } | undefined>;
172
+ defaultPermissions: {
173
+ teamCreator: Record<string, true | undefined>;
174
+ teamMember: Record<string, true | undefined>;
175
+ signUp: Record<string, true | undefined>;
176
+ };
192
177
  };
193
178
  emails: {
194
179
  selectedThemeId?: string | undefined;
@@ -202,6 +187,21 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
202
187
  tsxSource: string;
203
188
  }>;
204
189
  };
190
+ users: {
191
+ allowClientUserDeletion?: boolean | undefined;
192
+ };
193
+ apiKeys: {
194
+ enabled: {
195
+ team?: boolean | undefined;
196
+ user?: boolean | undefined;
197
+ };
198
+ };
199
+ apps: {
200
+ installed: Record<"authentication" | "fraud-protection" | "analytics" | "onboarding" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays", {
201
+ enabled?: boolean | undefined;
202
+ }>;
203
+ };
204
+ domains: {};
205
205
  dbSync: {
206
206
  externalDatabases: Record<string, {
207
207
  connectionString?: string | undefined;
@@ -218,7 +218,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
218
218
  project: {
219
219
  requirePublishableClientKey: undefined;
220
220
  };
221
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
221
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
222
222
  rbac: {
223
223
  permissions: undefined;
224
224
  defaultPermissions: {
@@ -293,7 +293,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
293
293
  sourceOfTruth: {
294
294
  type: "hosted";
295
295
  };
296
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
296
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
297
297
  payments?: {
298
298
  blockNewPurchases?: boolean | undefined;
299
299
  autoPay?: {
@@ -301,11 +301,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
301
301
  } | undefined;
302
302
  items: Record<string, {
303
303
  displayName?: string | undefined;
304
- customerType?: "user" | "team" | "custom" | undefined;
304
+ customerType?: "team" | "user" | "custom" | undefined;
305
305
  }>;
306
306
  productLines: Record<string, {
307
307
  displayName?: string | undefined;
308
- customerType?: "user" | "team" | "custom" | undefined;
308
+ customerType?: "team" | "user" | "custom" | undefined;
309
309
  }>;
310
310
  products: Record<string, {
311
311
  displayName?: string | undefined;
@@ -314,7 +314,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
314
314
  productLineId?: string | undefined;
315
315
  isAddOnTo?: false | Record<string, true> | undefined;
316
316
  stackable?: boolean | undefined;
317
- customerType: "user" | "team" | "custom";
317
+ customerType: "team" | "user" | "custom";
318
318
  prices: Record<string, {
319
319
  USD?: string | undefined;
320
320
  EUR?: string | undefined;
@@ -334,33 +334,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
334
334
  }>;
335
335
  }>;
336
336
  } | undefined;
337
- rbac: {
338
- permissions: Record<string, {
339
- description?: string | undefined;
340
- scope?: "project" | "team" | undefined;
341
- containedPermissionIds?: Record<string, true | undefined> | undefined;
342
- } | undefined>;
343
- defaultPermissions: {
344
- teamCreator: Record<string, true | undefined>;
345
- teamMember: Record<string, true | undefined>;
346
- signUp: Record<string, true | undefined>;
347
- };
348
- };
349
- onboarding: {
350
- requireEmailVerification?: boolean | undefined;
351
- };
352
- apiKeys: {
353
- enabled: {
354
- user?: boolean | undefined;
355
- team?: boolean | undefined;
356
- };
357
- };
358
- apps: {
359
- installed: Record<"rbac" | "onboarding" | "payments" | "teams" | "authentication" | "fraud-protection" | "analytics" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays", {
360
- enabled?: boolean | undefined;
361
- }>;
362
- };
363
- domains: {};
364
337
  auth: {
365
338
  allowSignUp?: boolean | undefined;
366
339
  signUpRulesDefaultAction?: string | undefined;
@@ -376,7 +349,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
376
349
  oauth: {
377
350
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
378
351
  providers: Record<string, {
379
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
352
+ type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
380
353
  allowSignIn?: boolean | undefined;
381
354
  allowConnectedAccounts?: boolean | undefined;
382
355
  }>;
@@ -392,12 +365,24 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
392
365
  };
393
366
  }>;
394
367
  };
368
+ onboarding: {
369
+ requireEmailVerification?: boolean | undefined;
370
+ };
395
371
  teams: {
396
372
  createPersonalTeamOnSignUp?: boolean | undefined;
397
373
  allowClientTeamCreation?: boolean | undefined;
398
374
  };
399
- users: {
400
- allowClientUserDeletion?: boolean | undefined;
375
+ rbac: {
376
+ permissions: Record<string, {
377
+ description?: string | undefined;
378
+ scope?: "team" | "project" | undefined;
379
+ containedPermissionIds?: Record<string, true | undefined> | undefined;
380
+ } | undefined>;
381
+ defaultPermissions: {
382
+ teamCreator: Record<string, true | undefined>;
383
+ teamMember: Record<string, true | undefined>;
384
+ signUp: Record<string, true | undefined>;
385
+ };
401
386
  };
402
387
  emails: {
403
388
  selectedThemeId?: string | undefined;
@@ -411,6 +396,21 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
411
396
  tsxSource: string;
412
397
  }>;
413
398
  };
399
+ users: {
400
+ allowClientUserDeletion?: boolean | undefined;
401
+ };
402
+ apiKeys: {
403
+ enabled: {
404
+ team?: boolean | undefined;
405
+ user?: boolean | undefined;
406
+ };
407
+ };
408
+ apps: {
409
+ installed: Record<"authentication" | "fraud-protection" | "analytics" | "onboarding" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays", {
410
+ enabled?: boolean | undefined;
411
+ }>;
412
+ };
413
+ domains: {};
414
414
  dbSync: {
415
415
  externalDatabases: Record<string, {
416
416
  connectionString?: string | undefined;
@@ -422,7 +422,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
422
422
  displayName?: string | undefined;
423
423
  }>;
424
424
  };
425
- }>, "domains" | "auth" | "payments" | "analytics" | "emails" | "customDashboards"> & {
425
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
426
426
  payments?: (Omit<{
427
427
  blockNewPurchases?: boolean | undefined;
428
428
  autoPay?: {
@@ -430,11 +430,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
430
430
  } | undefined;
431
431
  items: Record<string, {
432
432
  displayName?: string | undefined;
433
- customerType?: "user" | "team" | "custom" | undefined;
433
+ customerType?: "team" | "user" | "custom" | undefined;
434
434
  }>;
435
435
  productLines: Record<string, {
436
436
  displayName?: string | undefined;
437
- customerType?: "user" | "team" | "custom" | undefined;
437
+ customerType?: "team" | "user" | "custom" | undefined;
438
438
  }>;
439
439
  products: Record<string, {
440
440
  displayName?: string | undefined;
@@ -443,7 +443,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
443
443
  productLineId?: string | undefined;
444
444
  isAddOnTo?: false | Record<string, true> | undefined;
445
445
  stackable?: boolean | undefined;
446
- customerType: "user" | "team" | "custom";
446
+ customerType: "team" | "user" | "custom";
447
447
  prices: Record<string, {
448
448
  USD?: string | undefined;
449
449
  EUR?: string | undefined;
@@ -465,13 +465,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
465
465
  }, "testMode"> & {
466
466
  testMode?: boolean | undefined;
467
467
  }) | undefined;
468
- domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
469
- allowLocalhost?: boolean | undefined;
470
- trustedDomains: Record<string, {
471
- baseUrl?: string | undefined;
472
- handlerPath?: string | undefined;
473
- }>;
474
- };
475
468
  auth: Omit<{
476
469
  allowSignUp?: boolean | undefined;
477
470
  signUpRulesDefaultAction?: string | undefined;
@@ -487,7 +480,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
487
480
  oauth: {
488
481
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
489
482
  providers: Record<string, {
490
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
483
+ type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
491
484
  allowSignIn?: boolean | undefined;
492
485
  allowConnectedAccounts?: boolean | undefined;
493
486
  }>;
@@ -506,13 +499,15 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
506
499
  oauth: Omit<{
507
500
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
508
501
  providers: Record<string, {
509
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
502
+ type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
510
503
  allowSignIn?: boolean | undefined;
511
504
  allowConnectedAccounts?: boolean | undefined;
512
505
  }>;
513
506
  }, "providers"> & {
514
507
  providers: Record<string, {
515
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
508
+ type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
509
+ displayName?: string | undefined;
510
+ scope?: string | undefined;
516
511
  allowSignIn?: boolean | undefined;
517
512
  allowConnectedAccounts?: boolean | undefined;
518
513
  isShared?: boolean | undefined;
@@ -524,6 +519,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
524
519
  appleBundles?: Record<string, {
525
520
  bundleId: string;
526
521
  }> | undefined;
522
+ issuerUrl?: string | undefined;
527
523
  }>;
528
524
  };
529
525
  };
@@ -551,9 +547,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
551
547
  }>;
552
548
  }, "server"> & {
553
549
  server: {
550
+ provider?: "resend" | "smtp" | "managed" | undefined;
554
551
  password?: string | undefined;
555
552
  isShared?: boolean | undefined;
556
- provider?: "resend" | "smtp" | "managed" | undefined;
557
553
  host?: string | undefined;
558
554
  port?: number | undefined;
559
555
  username?: string | undefined;
@@ -563,6 +559,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
563
559
  managedSenderLocalPart?: string | undefined;
564
560
  };
565
561
  };
562
+ domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
563
+ allowLocalhost?: boolean | undefined;
564
+ trustedDomains: Record<string, {
565
+ baseUrl?: string | undefined;
566
+ handlerPath?: string | undefined;
567
+ }>;
568
+ };
566
569
  customDashboards: Record<string, {
567
570
  displayName: string;
568
571
  tsxSource: string;
@@ -572,7 +575,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
572
575
  project: {
573
576
  requirePublishableClientKey: undefined;
574
577
  };
575
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
578
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
576
579
  rbac: {
577
580
  permissions: undefined;
578
581
  defaultPermissions: {
@@ -639,13 +642,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
639
642
  dataVault: {
640
643
  stores: undefined;
641
644
  };
642
- }>, "domains" | "auth" | "payments" | "analytics" | "emails" | "customDashboards"> & {
645
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
643
646
  auth: Omit<NonNullable<Omit<Omit<{
644
647
  sourceOfTruth: undefined;
645
648
  project: {
646
649
  requirePublishableClientKey: undefined;
647
650
  };
648
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
651
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
649
652
  rbac: {
650
653
  permissions: undefined;
651
654
  defaultPermissions: {
@@ -718,7 +721,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
718
721
  project: {
719
722
  requirePublishableClientKey: undefined;
720
723
  };
721
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
724
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
722
725
  rbac: {
723
726
  permissions: undefined;
724
727
  defaultPermissions: {
@@ -794,7 +797,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
794
797
  project: {
795
798
  requirePublishableClientKey: undefined;
796
799
  };
797
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
800
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
798
801
  rbac: {
799
802
  permissions: undefined;
800
803
  defaultPermissions: {
@@ -880,7 +883,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
880
883
  project: {
881
884
  requirePublishableClientKey: undefined;
882
885
  };
883
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
886
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
884
887
  rbac: {
885
888
  permissions: undefined;
886
889
  defaultPermissions: {
@@ -956,7 +959,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
956
959
  project: {
957
960
  requirePublishableClientKey: undefined;
958
961
  };
959
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
962
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
960
963
  rbac: {
961
964
  permissions: undefined;
962
965
  defaultPermissions: {
@@ -1038,7 +1041,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1038
1041
  sourceOfTruth: {
1039
1042
  type: "hosted";
1040
1043
  };
1041
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1044
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1042
1045
  payments?: {
1043
1046
  blockNewPurchases?: boolean | undefined;
1044
1047
  autoPay?: {
@@ -1046,11 +1049,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1046
1049
  } | undefined;
1047
1050
  items: Record<string, {
1048
1051
  displayName?: string | undefined;
1049
- customerType?: "user" | "team" | "custom" | undefined;
1052
+ customerType?: "team" | "user" | "custom" | undefined;
1050
1053
  }>;
1051
1054
  productLines: Record<string, {
1052
1055
  displayName?: string | undefined;
1053
- customerType?: "user" | "team" | "custom" | undefined;
1056
+ customerType?: "team" | "user" | "custom" | undefined;
1054
1057
  }>;
1055
1058
  products: Record<string, {
1056
1059
  displayName?: string | undefined;
@@ -1059,7 +1062,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1059
1062
  productLineId?: string | undefined;
1060
1063
  isAddOnTo?: false | Record<string, true> | undefined;
1061
1064
  stackable?: boolean | undefined;
1062
- customerType: "user" | "team" | "custom";
1065
+ customerType: "team" | "user" | "custom";
1063
1066
  prices: Record<string, {
1064
1067
  USD?: string | undefined;
1065
1068
  EUR?: string | undefined;
@@ -1079,33 +1082,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1079
1082
  }>;
1080
1083
  }>;
1081
1084
  } | undefined;
1082
- rbac: {
1083
- permissions: Record<string, {
1084
- description?: string | undefined;
1085
- scope?: "project" | "team" | undefined;
1086
- containedPermissionIds?: Record<string, true | undefined> | undefined;
1087
- } | undefined>;
1088
- defaultPermissions: {
1089
- teamCreator: Record<string, true | undefined>;
1090
- teamMember: Record<string, true | undefined>;
1091
- signUp: Record<string, true | undefined>;
1092
- };
1093
- };
1094
- onboarding: {
1095
- requireEmailVerification?: boolean | undefined;
1096
- };
1097
- apiKeys: {
1098
- enabled: {
1099
- user?: boolean | undefined;
1100
- team?: boolean | undefined;
1101
- };
1102
- };
1103
- apps: {
1104
- installed: Record<"rbac" | "onboarding" | "payments" | "teams" | "authentication" | "fraud-protection" | "analytics" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays", {
1105
- enabled?: boolean | undefined;
1106
- }>;
1107
- };
1108
- domains: {};
1109
1085
  auth: {
1110
1086
  allowSignUp?: boolean | undefined;
1111
1087
  signUpRulesDefaultAction?: string | undefined;
@@ -1121,7 +1097,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1121
1097
  oauth: {
1122
1098
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1123
1099
  providers: Record<string, {
1124
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
1100
+ type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
1125
1101
  allowSignIn?: boolean | undefined;
1126
1102
  allowConnectedAccounts?: boolean | undefined;
1127
1103
  }>;
@@ -1137,12 +1113,24 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1137
1113
  };
1138
1114
  }>;
1139
1115
  };
1116
+ onboarding: {
1117
+ requireEmailVerification?: boolean | undefined;
1118
+ };
1140
1119
  teams: {
1141
1120
  createPersonalTeamOnSignUp?: boolean | undefined;
1142
1121
  allowClientTeamCreation?: boolean | undefined;
1143
1122
  };
1144
- users: {
1145
- allowClientUserDeletion?: boolean | undefined;
1123
+ rbac: {
1124
+ permissions: Record<string, {
1125
+ description?: string | undefined;
1126
+ scope?: "team" | "project" | undefined;
1127
+ containedPermissionIds?: Record<string, true | undefined> | undefined;
1128
+ } | undefined>;
1129
+ defaultPermissions: {
1130
+ teamCreator: Record<string, true | undefined>;
1131
+ teamMember: Record<string, true | undefined>;
1132
+ signUp: Record<string, true | undefined>;
1133
+ };
1146
1134
  };
1147
1135
  emails: {
1148
1136
  selectedThemeId?: string | undefined;
@@ -1156,6 +1144,21 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1156
1144
  tsxSource: string;
1157
1145
  }>;
1158
1146
  };
1147
+ users: {
1148
+ allowClientUserDeletion?: boolean | undefined;
1149
+ };
1150
+ apiKeys: {
1151
+ enabled: {
1152
+ team?: boolean | undefined;
1153
+ user?: boolean | undefined;
1154
+ };
1155
+ };
1156
+ apps: {
1157
+ installed: Record<"authentication" | "fraud-protection" | "analytics" | "onboarding" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays", {
1158
+ enabled?: boolean | undefined;
1159
+ }>;
1160
+ };
1161
+ domains: {};
1159
1162
  dbSync: {
1160
1163
  externalDatabases: Record<string, {
1161
1164
  connectionString?: string | undefined;
@@ -1167,7 +1170,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1167
1170
  displayName?: string | undefined;
1168
1171
  }>;
1169
1172
  };
1170
- }>, "domains" | "auth" | "payments" | "analytics" | "emails" | "customDashboards"> & {
1173
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
1171
1174
  payments?: (Omit<{
1172
1175
  blockNewPurchases?: boolean | undefined;
1173
1176
  autoPay?: {
@@ -1175,11 +1178,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1175
1178
  } | undefined;
1176
1179
  items: Record<string, {
1177
1180
  displayName?: string | undefined;
1178
- customerType?: "user" | "team" | "custom" | undefined;
1181
+ customerType?: "team" | "user" | "custom" | undefined;
1179
1182
  }>;
1180
1183
  productLines: Record<string, {
1181
1184
  displayName?: string | undefined;
1182
- customerType?: "user" | "team" | "custom" | undefined;
1185
+ customerType?: "team" | "user" | "custom" | undefined;
1183
1186
  }>;
1184
1187
  products: Record<string, {
1185
1188
  displayName?: string | undefined;
@@ -1188,7 +1191,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1188
1191
  productLineId?: string | undefined;
1189
1192
  isAddOnTo?: false | Record<string, true> | undefined;
1190
1193
  stackable?: boolean | undefined;
1191
- customerType: "user" | "team" | "custom";
1194
+ customerType: "team" | "user" | "custom";
1192
1195
  prices: Record<string, {
1193
1196
  USD?: string | undefined;
1194
1197
  EUR?: string | undefined;
@@ -1210,13 +1213,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1210
1213
  }, "testMode"> & {
1211
1214
  testMode?: boolean | undefined;
1212
1215
  }) | undefined;
1213
- domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
1214
- allowLocalhost?: boolean | undefined;
1215
- trustedDomains: Record<string, {
1216
- baseUrl?: string | undefined;
1217
- handlerPath?: string | undefined;
1218
- }>;
1219
- };
1220
1216
  auth: Omit<{
1221
1217
  allowSignUp?: boolean | undefined;
1222
1218
  signUpRulesDefaultAction?: string | undefined;
@@ -1232,7 +1228,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1232
1228
  oauth: {
1233
1229
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1234
1230
  providers: Record<string, {
1235
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
1231
+ type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
1236
1232
  allowSignIn?: boolean | undefined;
1237
1233
  allowConnectedAccounts?: boolean | undefined;
1238
1234
  }>;
@@ -1251,13 +1247,15 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1251
1247
  oauth: Omit<{
1252
1248
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1253
1249
  providers: Record<string, {
1254
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
1250
+ type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
1255
1251
  allowSignIn?: boolean | undefined;
1256
1252
  allowConnectedAccounts?: boolean | undefined;
1257
1253
  }>;
1258
1254
  }, "providers"> & {
1259
1255
  providers: Record<string, {
1260
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
1256
+ type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
1257
+ displayName?: string | undefined;
1258
+ scope?: string | undefined;
1261
1259
  allowSignIn?: boolean | undefined;
1262
1260
  allowConnectedAccounts?: boolean | undefined;
1263
1261
  isShared?: boolean | undefined;
@@ -1269,6 +1267,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1269
1267
  appleBundles?: Record<string, {
1270
1268
  bundleId: string;
1271
1269
  }> | undefined;
1270
+ issuerUrl?: string | undefined;
1272
1271
  }>;
1273
1272
  };
1274
1273
  };
@@ -1296,9 +1295,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1296
1295
  }>;
1297
1296
  }, "server"> & {
1298
1297
  server: {
1298
+ provider?: "resend" | "smtp" | "managed" | undefined;
1299
1299
  password?: string | undefined;
1300
1300
  isShared?: boolean | undefined;
1301
- provider?: "resend" | "smtp" | "managed" | undefined;
1302
1301
  host?: string | undefined;
1303
1302
  port?: number | undefined;
1304
1303
  username?: string | undefined;
@@ -1308,6 +1307,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1308
1307
  managedSenderLocalPart?: string | undefined;
1309
1308
  };
1310
1309
  };
1310
+ domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
1311
+ allowLocalhost?: boolean | undefined;
1312
+ trustedDomains: Record<string, {
1313
+ baseUrl?: string | undefined;
1314
+ handlerPath?: string | undefined;
1315
+ }>;
1316
+ };
1311
1317
  customDashboards: Record<string, {
1312
1318
  displayName: string;
1313
1319
  tsxSource: string;
@@ -1317,7 +1323,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1317
1323
  project: {
1318
1324
  requirePublishableClientKey: undefined;
1319
1325
  };
1320
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1326
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1321
1327
  rbac: {
1322
1328
  permissions: undefined;
1323
1329
  defaultPermissions: {
@@ -1384,13 +1390,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1384
1390
  dataVault: {
1385
1391
  stores: undefined;
1386
1392
  };
1387
- }>, "domains" | "auth" | "payments" | "analytics" | "emails" | "customDashboards"> & {
1393
+ }>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards"> & {
1388
1394
  auth: Omit<NonNullable<Omit<Omit<{
1389
1395
  sourceOfTruth: undefined;
1390
1396
  project: {
1391
1397
  requirePublishableClientKey: undefined;
1392
1398
  };
1393
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1399
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1394
1400
  rbac: {
1395
1401
  permissions: undefined;
1396
1402
  defaultPermissions: {
@@ -1463,7 +1469,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1463
1469
  project: {
1464
1470
  requirePublishableClientKey: undefined;
1465
1471
  };
1466
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1472
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1467
1473
  rbac: {
1468
1474
  permissions: undefined;
1469
1475
  defaultPermissions: {
@@ -1539,7 +1545,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1539
1545
  project: {
1540
1546
  requirePublishableClientKey: undefined;
1541
1547
  };
1542
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1548
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1543
1549
  rbac: {
1544
1550
  permissions: undefined;
1545
1551
  defaultPermissions: {
@@ -1625,7 +1631,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1625
1631
  project: {
1626
1632
  requirePublishableClientKey: undefined;
1627
1633
  };
1628
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1634
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1629
1635
  rbac: {
1630
1636
  permissions: undefined;
1631
1637
  defaultPermissions: {
@@ -1701,7 +1707,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1701
1707
  project: {
1702
1708
  requirePublishableClientKey: undefined;
1703
1709
  };
1704
- }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1710
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1705
1711
  rbac: {
1706
1712
  permissions: undefined;
1707
1713
  defaultPermissions: {
@@ -2045,7 +2051,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2045
2051
  auth: {
2046
2052
  oauth: {
2047
2053
  providers: Record<string, {
2048
- type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
2054
+ displayName?: string | undefined;
2055
+ scope?: string | undefined;
2056
+ issuerUrl?: string | undefined;
2057
+ type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
2049
2058
  allowSignIn: boolean;
2050
2059
  allowConnectedAccounts: boolean;
2051
2060
  isShared: boolean;
@@ -2068,8 +2077,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2068
2077
  priority: number;
2069
2078
  condition: string | undefined;
2070
2079
  action: {
2071
- type: "allow" | "reject" | "restrict" | "log";
2072
2080
  message: string | undefined;
2081
+ type: "allow" | "reject" | "restrict" | "log";
2073
2082
  };
2074
2083
  }>;
2075
2084
  allowSignUp: boolean;
@@ -2100,9 +2109,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2100
2109
  };
2101
2110
  };
2102
2111
  server: {
2112
+ provider: "resend" | "smtp" | "managed";
2103
2113
  password: string | undefined;
2104
2114
  isShared: boolean;
2105
- provider: "resend" | "smtp" | "managed";
2106
2115
  host: string | undefined;
2107
2116
  port: number | undefined;
2108
2117
  username: string | undefined;
@@ -2133,12 +2142,12 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2133
2142
  serverOnly: boolean;
2134
2143
  freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2135
2144
  productLineId: string | undefined;
2136
- customerType: "user" | "team" | "custom";
2145
+ customerType: "team" | "user" | "custom";
2137
2146
  stackable: boolean | undefined;
2138
2147
  includedItems: {
2139
2148
  [x: string]: {
2140
- repeat: "never" | [number, "day" | "week" | "month" | "year"];
2141
2149
  quantity: number;
2150
+ repeat: "never" | [number, "day" | "week" | "month" | "year"];
2142
2151
  expires: "never" | "when-purchase-expires" | "when-repeated";
2143
2152
  };
2144
2153
  };
@@ -2146,7 +2155,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2146
2155
  items: {
2147
2156
  [x: string]: {
2148
2157
  displayName: string;
2149
- customerType: "user" | "team" | "custom";
2158
+ customerType: "team" | "user" | "custom";
2150
2159
  };
2151
2160
  };
2152
2161
  blockNewPurchases: boolean;
@@ -2156,7 +2165,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2156
2165
  productLines: {
2157
2166
  [x: string]: {
2158
2167
  displayName: string | undefined;
2159
- customerType: "user" | "team" | "custom" | undefined;
2168
+ customerType: "team" | "user" | "custom" | undefined;
2160
2169
  };
2161
2170
  };
2162
2171
  testMode: boolean;
@@ -2174,11 +2183,33 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2174
2183
  } & {
2175
2184
  readonly type: "hosted";
2176
2185
  };
2186
+ analytics: {
2187
+ queryFolders: {
2188
+ [x: string]: {
2189
+ displayName: string;
2190
+ sortOrder: number;
2191
+ queries: {
2192
+ [x: string]: {
2193
+ description: string | undefined;
2194
+ displayName: string;
2195
+ sqlQuery: string;
2196
+ };
2197
+ };
2198
+ };
2199
+ };
2200
+ };
2201
+ onboarding: {
2202
+ requireEmailVerification: boolean;
2203
+ };
2204
+ teams: {
2205
+ createPersonalTeamOnSignUp: boolean;
2206
+ allowClientTeamCreation: boolean;
2207
+ };
2177
2208
  rbac: {
2178
2209
  permissions: {
2179
2210
  [x: string]: {
2180
2211
  description: string | undefined;
2181
- scope: "project" | "team" | undefined;
2212
+ scope: "team" | "project" | undefined;
2182
2213
  containedPermissionIds: {
2183
2214
  [x: string]: true | undefined;
2184
2215
  };
@@ -2196,13 +2227,13 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2196
2227
  };
2197
2228
  };
2198
2229
  };
2199
- onboarding: {
2200
- requireEmailVerification: boolean;
2230
+ users: {
2231
+ allowClientUserDeletion: boolean;
2201
2232
  };
2202
2233
  apiKeys: {
2203
2234
  enabled: {
2204
- user: boolean;
2205
2235
  team: boolean;
2236
+ user: boolean;
2206
2237
  };
2207
2238
  };
2208
2239
  domains: {
@@ -2214,28 +2245,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2214
2245
  };
2215
2246
  };
2216
2247
  };
2217
- teams: {
2218
- createPersonalTeamOnSignUp: boolean;
2219
- allowClientTeamCreation: boolean;
2220
- };
2221
- users: {
2222
- allowClientUserDeletion: boolean;
2223
- };
2224
- analytics: {
2225
- queryFolders: {
2226
- [x: string]: {
2227
- displayName: string;
2228
- sortOrder: number;
2229
- queries: {
2230
- [x: string]: {
2231
- description: string | undefined;
2232
- displayName: string;
2233
- sqlQuery: string;
2234
- };
2235
- };
2236
- };
2237
- };
2238
- };
2239
2248
  dbSync: {
2240
2249
  externalDatabases: {
2241
2250
  [x: string]: {