@stackframe/stack-shared 2.8.55 → 2.8.58

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 (154) hide show
  1. package/dist/apps/apps-config.d.mts +7 -1
  2. package/dist/apps/apps-config.d.ts +7 -1
  3. package/dist/apps/apps-config.js +7 -1
  4. package/dist/apps/apps-config.js.map +1 -1
  5. package/dist/config/schema-fuzzer.test.js +3 -0
  6. package/dist/config/schema-fuzzer.test.js.map +1 -1
  7. package/dist/config/schema.d.mts +162 -114
  8. package/dist/config/schema.d.ts +162 -114
  9. package/dist/config/schema.js +7 -0
  10. package/dist/config/schema.js.map +1 -1
  11. package/dist/esm/apps/apps-config.js +7 -1
  12. package/dist/esm/apps/apps-config.js.map +1 -1
  13. package/dist/esm/config/schema-fuzzer.test.js +3 -0
  14. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  15. package/dist/esm/config/schema.js +7 -0
  16. package/dist/esm/config/schema.js.map +1 -1
  17. package/dist/esm/interface/admin-interface.js +49 -1
  18. package/dist/esm/interface/admin-interface.js.map +1 -1
  19. package/dist/esm/interface/client-interface.js +13 -4
  20. package/dist/esm/interface/client-interface.js.map +1 -1
  21. package/dist/esm/interface/crud/current-user.js +5 -2
  22. package/dist/esm/interface/crud/current-user.js.map +1 -1
  23. package/dist/esm/interface/crud/email-outbox.js +204 -0
  24. package/dist/esm/interface/crud/email-outbox.js.map +1 -0
  25. package/dist/esm/interface/crud/emails.js +6 -3
  26. package/dist/esm/interface/crud/emails.js.map +1 -1
  27. package/dist/esm/interface/crud/notification-preferences.js +13 -1
  28. package/dist/esm/interface/crud/notification-preferences.js.map +1 -1
  29. package/dist/esm/interface/crud/oauth-providers.js +10 -5
  30. package/dist/esm/interface/crud/oauth-providers.js.map +1 -1
  31. package/dist/esm/interface/crud/projects.js +9 -4
  32. package/dist/esm/interface/crud/projects.js.map +1 -1
  33. package/dist/esm/interface/crud/users.js +9 -2
  34. package/dist/esm/interface/crud/users.js.map +1 -1
  35. package/dist/esm/interface/server-interface.js +16 -0
  36. package/dist/esm/interface/server-interface.js.map +1 -1
  37. package/dist/esm/known-errors.js +45 -1
  38. package/dist/esm/known-errors.js.map +1 -1
  39. package/dist/esm/schema-fields.js +26 -2
  40. package/dist/esm/schema-fields.js.map +1 -1
  41. package/dist/esm/sessions.js +72 -8
  42. package/dist/esm/sessions.js.map +1 -1
  43. package/dist/esm/utils/env.js +13 -2
  44. package/dist/esm/utils/env.js.map +1 -1
  45. package/dist/esm/utils/esbuild.js +50 -21
  46. package/dist/esm/utils/esbuild.js.map +1 -1
  47. package/dist/esm/utils/globals.js +12 -0
  48. package/dist/esm/utils/globals.js.map +1 -1
  49. package/dist/esm/utils/paginated-lists.js +153 -23
  50. package/dist/esm/utils/paginated-lists.js.map +1 -1
  51. package/dist/esm/utils/paginated-lists.test.js +842 -0
  52. package/dist/esm/utils/paginated-lists.test.js.map +1 -0
  53. package/dist/esm/utils/proxies.js +28 -1
  54. package/dist/esm/utils/proxies.js.map +1 -1
  55. package/dist/esm/utils/react.js +7 -3
  56. package/dist/esm/utils/react.js.map +1 -1
  57. package/dist/esm/utils/results.js.map +1 -1
  58. package/dist/index.d.mts +1 -1
  59. package/dist/index.d.ts +1 -1
  60. package/dist/interface/admin-interface.d.mts +26 -3
  61. package/dist/interface/admin-interface.d.ts +26 -3
  62. package/dist/interface/admin-interface.js +49 -1
  63. package/dist/interface/admin-interface.js.map +1 -1
  64. package/dist/interface/client-interface.d.mts +5 -0
  65. package/dist/interface/client-interface.d.ts +5 -0
  66. package/dist/interface/client-interface.js +13 -4
  67. package/dist/interface/client-interface.js.map +1 -1
  68. package/dist/interface/crud/current-user.d.mts +23 -6
  69. package/dist/interface/crud/current-user.d.ts +23 -6
  70. package/dist/interface/crud/current-user.js +5 -2
  71. package/dist/interface/crud/current-user.js.map +1 -1
  72. package/dist/interface/crud/email-outbox.d.mts +1075 -0
  73. package/dist/interface/crud/email-outbox.d.ts +1075 -0
  74. package/dist/interface/crud/email-outbox.js +241 -0
  75. package/dist/interface/crud/email-outbox.js.map +1 -0
  76. package/dist/interface/crud/emails.d.mts +5 -34
  77. package/dist/interface/crud/emails.d.ts +5 -34
  78. package/dist/interface/crud/emails.js +6 -3
  79. package/dist/interface/crud/emails.js.map +1 -1
  80. package/dist/interface/crud/notification-preferences.d.mts +12 -0
  81. package/dist/interface/crud/notification-preferences.d.ts +12 -0
  82. package/dist/interface/crud/notification-preferences.js +13 -1
  83. package/dist/interface/crud/notification-preferences.js.map +1 -1
  84. package/dist/interface/crud/oauth-providers.d.mts +5 -0
  85. package/dist/interface/crud/oauth-providers.d.ts +5 -0
  86. package/dist/interface/crud/oauth-providers.js +10 -5
  87. package/dist/interface/crud/oauth-providers.js.map +1 -1
  88. package/dist/interface/crud/project-api-keys.d.mts +1 -1
  89. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  90. package/dist/interface/crud/projects.d.mts +73 -66
  91. package/dist/interface/crud/projects.d.ts +73 -66
  92. package/dist/interface/crud/projects.js +9 -4
  93. package/dist/interface/crud/projects.js.map +1 -1
  94. package/dist/interface/crud/team-member-profiles.d.mts +28 -12
  95. package/dist/interface/crud/team-member-profiles.d.ts +28 -12
  96. package/dist/interface/crud/users.d.mts +38 -6
  97. package/dist/interface/crud/users.d.ts +38 -6
  98. package/dist/interface/crud/users.js +9 -2
  99. package/dist/interface/crud/users.js.map +1 -1
  100. package/dist/interface/server-interface.d.mts +29 -0
  101. package/dist/interface/server-interface.d.ts +29 -0
  102. package/dist/interface/server-interface.js +16 -0
  103. package/dist/interface/server-interface.js.map +1 -1
  104. package/dist/interface/webhooks.d.mts +18 -2
  105. package/dist/interface/webhooks.d.ts +18 -2
  106. package/dist/known-errors.d.mts +14 -1
  107. package/dist/known-errors.d.ts +14 -1
  108. package/dist/known-errors.js +45 -1
  109. package/dist/known-errors.js.map +1 -1
  110. package/dist/schema-fields.d.mts +34 -1
  111. package/dist/schema-fields.d.ts +34 -1
  112. package/dist/schema-fields.js +32 -2
  113. package/dist/schema-fields.js.map +1 -1
  114. package/dist/sessions.d.mts +36 -5
  115. package/dist/sessions.d.ts +36 -5
  116. package/dist/sessions.js +72 -8
  117. package/dist/sessions.js.map +1 -1
  118. package/dist/utils/env.d.mts +2 -1
  119. package/dist/utils/env.d.ts +2 -1
  120. package/dist/utils/env.js +13 -1
  121. package/dist/utils/env.js.map +1 -1
  122. package/dist/utils/esbuild.js +49 -20
  123. package/dist/utils/esbuild.js.map +1 -1
  124. package/dist/utils/globals.d.mts +6 -1
  125. package/dist/utils/globals.d.ts +6 -1
  126. package/dist/utils/globals.js +13 -0
  127. package/dist/utils/globals.js.map +1 -1
  128. package/dist/utils/paginated-lists.d.mts +269 -12
  129. package/dist/utils/paginated-lists.d.ts +269 -12
  130. package/dist/utils/paginated-lists.js +153 -23
  131. package/dist/utils/paginated-lists.js.map +1 -1
  132. package/dist/utils/paginated-lists.test.d.mts +2 -0
  133. package/dist/utils/paginated-lists.test.d.ts +2 -0
  134. package/dist/utils/paginated-lists.test.js +844 -0
  135. package/dist/utils/paginated-lists.test.js.map +1 -0
  136. package/dist/utils/proxies.d.mts +8 -1
  137. package/dist/utils/proxies.d.ts +8 -1
  138. package/dist/utils/proxies.js +30 -2
  139. package/dist/utils/proxies.js.map +1 -1
  140. package/dist/utils/react.d.mts +1 -1
  141. package/dist/utils/react.d.ts +1 -1
  142. package/dist/utils/react.js +7 -3
  143. package/dist/utils/react.js.map +1 -1
  144. package/dist/utils/results.d.mts +5 -5
  145. package/dist/utils/results.d.ts +5 -5
  146. package/dist/utils/results.js.map +1 -1
  147. package/package.json +2 -1
  148. package/CHANGELOG.md +0 -1348
  149. package/dist/esm/interface/crud/config.js +0 -40
  150. package/dist/esm/interface/crud/config.js.map +0 -1
  151. package/dist/interface/crud/config.d.mts +0 -49
  152. package/dist/interface/crud/config.d.ts +0 -49
  153. package/dist/interface/crud/config.js +0 -79
  154. package/dist/interface/crud/config.js.map +0 -1
@@ -48,15 +48,6 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
48
48
  is_production_mode: boolean;
49
49
  owner_team_id: string | null;
50
50
  config: {
51
- allow_localhost: boolean;
52
- sign_up_enabled: boolean;
53
- credential_enabled: boolean;
54
- magic_link_enabled: boolean;
55
- passkey_enabled: boolean;
56
- client_team_creation_enabled: boolean;
57
- client_user_deletion_enabled: boolean;
58
- allow_user_api_keys: boolean;
59
- allow_team_api_keys: boolean;
60
51
  oauth_providers: {
61
52
  client_id?: string | undefined;
62
53
  client_secret?: string | undefined;
@@ -66,6 +57,15 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
66
57
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
67
58
  provider_config_id: string;
68
59
  }[];
60
+ allow_localhost: boolean;
61
+ sign_up_enabled: boolean;
62
+ credential_enabled: boolean;
63
+ magic_link_enabled: boolean;
64
+ passkey_enabled: boolean;
65
+ client_team_creation_enabled: boolean;
66
+ client_user_deletion_enabled: boolean;
67
+ allow_user_api_keys: boolean;
68
+ allow_team_api_keys: boolean;
69
69
  enabled_oauth_providers: {
70
70
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
71
71
  }[];
@@ -74,10 +74,10 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
74
74
  handler_path: string;
75
75
  }[];
76
76
  email_config: {
77
+ password?: string | undefined;
77
78
  host?: string | undefined;
78
79
  port?: number | undefined;
79
80
  username?: string | undefined;
80
- password?: string | undefined;
81
81
  sender_name?: string | undefined;
82
82
  sender_email?: string | undefined;
83
83
  type: "shared" | "standard";
@@ -181,6 +181,14 @@ declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{
181
181
  logo_full_dark_mode_url: string | null | undefined;
182
182
  is_production_mode: boolean | undefined;
183
183
  config: {
184
+ oauth_providers?: {
185
+ client_id?: string | undefined;
186
+ client_secret?: string | undefined;
187
+ facebook_config_id?: string | undefined;
188
+ microsoft_tenant_id?: string | undefined;
189
+ type: "shared" | "standard";
190
+ id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
191
+ }[] | undefined;
184
192
  allow_localhost?: boolean | undefined;
185
193
  sign_up_enabled?: boolean | undefined;
186
194
  credential_enabled?: boolean | undefined;
@@ -190,23 +198,15 @@ declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{
190
198
  client_user_deletion_enabled?: boolean | undefined;
191
199
  allow_user_api_keys?: boolean | undefined;
192
200
  allow_team_api_keys?: boolean | undefined;
193
- oauth_providers?: {
194
- client_id?: string | undefined;
195
- client_secret?: string | undefined;
196
- facebook_config_id?: string | undefined;
197
- microsoft_tenant_id?: string | undefined;
198
- type: "shared" | "standard";
199
- id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
200
- }[] | undefined;
201
201
  domains?: {
202
202
  domain: string;
203
203
  handler_path: string;
204
204
  }[] | undefined;
205
205
  email_config?: {
206
+ password?: string | undefined;
206
207
  host?: string | undefined;
207
208
  port?: number | undefined;
208
209
  username?: string | undefined;
209
- password?: string | undefined;
210
210
  sender_name?: string | undefined;
211
211
  sender_email?: string | undefined;
212
212
  type: "shared" | "standard";
@@ -223,6 +223,7 @@ declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{
223
223
  id: string;
224
224
  }[] | undefined;
225
225
  oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
226
+ require_email_verification?: boolean | undefined;
226
227
  } | undefined;
227
228
  }, yup.AnyObject, {
228
229
  display_name: undefined;
@@ -243,6 +244,14 @@ declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{
243
244
  logo_full_dark_mode_url: string | null | undefined;
244
245
  is_production_mode: boolean | undefined;
245
246
  config: {
247
+ oauth_providers?: {
248
+ client_id?: string | undefined;
249
+ client_secret?: string | undefined;
250
+ facebook_config_id?: string | undefined;
251
+ microsoft_tenant_id?: string | undefined;
252
+ type: "shared" | "standard";
253
+ id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
254
+ }[] | undefined;
246
255
  allow_localhost?: boolean | undefined;
247
256
  sign_up_enabled?: boolean | undefined;
248
257
  credential_enabled?: boolean | undefined;
@@ -252,23 +261,15 @@ declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{
252
261
  client_user_deletion_enabled?: boolean | undefined;
253
262
  allow_user_api_keys?: boolean | undefined;
254
263
  allow_team_api_keys?: boolean | undefined;
255
- oauth_providers?: {
256
- client_id?: string | undefined;
257
- client_secret?: string | undefined;
258
- facebook_config_id?: string | undefined;
259
- microsoft_tenant_id?: string | undefined;
260
- type: "shared" | "standard";
261
- id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
262
- }[] | undefined;
263
264
  domains?: {
264
265
  domain: string;
265
266
  handler_path: string;
266
267
  }[] | undefined;
267
268
  email_config?: {
269
+ password?: string | undefined;
268
270
  host?: string | undefined;
269
271
  port?: number | undefined;
270
272
  username?: string | undefined;
271
- password?: string | undefined;
272
273
  sender_name?: string | undefined;
273
274
  sender_email?: string | undefined;
274
275
  type: "shared" | "standard";
@@ -285,6 +286,7 @@ declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{
285
286
  id: string;
286
287
  }[] | undefined;
287
288
  oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
289
+ require_email_verification?: boolean | undefined;
288
290
  } | undefined;
289
291
  } & {
290
292
  display_name: string;
@@ -360,15 +362,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
360
362
  is_production_mode: boolean;
361
363
  owner_team_id: string | null;
362
364
  config: {
363
- allow_localhost: boolean;
364
- sign_up_enabled: boolean;
365
- credential_enabled: boolean;
366
- magic_link_enabled: boolean;
367
- passkey_enabled: boolean;
368
- client_team_creation_enabled: boolean;
369
- client_user_deletion_enabled: boolean;
370
- allow_user_api_keys: boolean;
371
- allow_team_api_keys: boolean;
372
365
  oauth_providers: {
373
366
  client_id?: string | undefined;
374
367
  client_secret?: string | undefined;
@@ -378,6 +371,15 @@ declare const projectsCrud: CrudSchemaFromOptions<{
378
371
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
379
372
  provider_config_id: string;
380
373
  }[];
374
+ allow_localhost: boolean;
375
+ sign_up_enabled: boolean;
376
+ credential_enabled: boolean;
377
+ magic_link_enabled: boolean;
378
+ passkey_enabled: boolean;
379
+ client_team_creation_enabled: boolean;
380
+ client_user_deletion_enabled: boolean;
381
+ allow_user_api_keys: boolean;
382
+ allow_team_api_keys: boolean;
381
383
  enabled_oauth_providers: {
382
384
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
383
385
  }[];
@@ -386,10 +388,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
386
388
  handler_path: string;
387
389
  }[];
388
390
  email_config: {
391
+ password?: string | undefined;
389
392
  host?: string | undefined;
390
393
  port?: number | undefined;
391
394
  username?: string | undefined;
392
- password?: string | undefined;
393
395
  sender_name?: string | undefined;
394
396
  sender_email?: string | undefined;
395
397
  type: "shared" | "standard";
@@ -457,6 +459,14 @@ declare const projectsCrud: CrudSchemaFromOptions<{
457
459
  logo_full_dark_mode_url: string | null | undefined;
458
460
  is_production_mode: boolean | undefined;
459
461
  config: {
462
+ oauth_providers?: {
463
+ client_id?: string | undefined;
464
+ client_secret?: string | undefined;
465
+ facebook_config_id?: string | undefined;
466
+ microsoft_tenant_id?: string | undefined;
467
+ type: "shared" | "standard";
468
+ id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
469
+ }[] | undefined;
460
470
  allow_localhost?: boolean | undefined;
461
471
  sign_up_enabled?: boolean | undefined;
462
472
  credential_enabled?: boolean | undefined;
@@ -466,23 +476,15 @@ declare const projectsCrud: CrudSchemaFromOptions<{
466
476
  client_user_deletion_enabled?: boolean | undefined;
467
477
  allow_user_api_keys?: boolean | undefined;
468
478
  allow_team_api_keys?: boolean | undefined;
469
- oauth_providers?: {
470
- client_id?: string | undefined;
471
- client_secret?: string | undefined;
472
- facebook_config_id?: string | undefined;
473
- microsoft_tenant_id?: string | undefined;
474
- type: "shared" | "standard";
475
- id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
476
- }[] | undefined;
477
479
  domains?: {
478
480
  domain: string;
479
481
  handler_path: string;
480
482
  }[] | undefined;
481
483
  email_config?: {
484
+ password?: string | undefined;
482
485
  host?: string | undefined;
483
486
  port?: number | undefined;
484
487
  username?: string | undefined;
485
- password?: string | undefined;
486
488
  sender_name?: string | undefined;
487
489
  sender_email?: string | undefined;
488
490
  type: "shared" | "standard";
@@ -499,6 +501,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
499
501
  id: string;
500
502
  }[] | undefined;
501
503
  oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
504
+ require_email_verification?: boolean | undefined;
502
505
  } | undefined;
503
506
  }, yup.AnyObject, {
504
507
  display_name: undefined;
@@ -516,16 +519,19 @@ declare const projectsCrud: CrudSchemaFromOptions<{
516
519
  summary: string;
517
520
  description: string;
518
521
  tags: string[];
522
+ hidden: true;
519
523
  };
520
524
  adminUpdate: {
521
525
  summary: string;
522
526
  description: string;
523
527
  tags: string[];
528
+ hidden: true;
524
529
  };
525
530
  adminDelete: {
526
531
  summary: string;
527
532
  description: string;
528
533
  tags: string[];
534
+ hidden: true;
529
535
  };
530
536
  };
531
537
  }>;
@@ -543,15 +549,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
543
549
  is_production_mode: boolean;
544
550
  owner_team_id: string | null;
545
551
  config: {
546
- allow_localhost: boolean;
547
- sign_up_enabled: boolean;
548
- credential_enabled: boolean;
549
- magic_link_enabled: boolean;
550
- passkey_enabled: boolean;
551
- client_team_creation_enabled: boolean;
552
- client_user_deletion_enabled: boolean;
553
- allow_user_api_keys: boolean;
554
- allow_team_api_keys: boolean;
555
552
  oauth_providers: {
556
553
  client_id?: string | undefined;
557
554
  client_secret?: string | undefined;
@@ -561,6 +558,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
561
558
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
562
559
  provider_config_id: string;
563
560
  }[];
561
+ allow_localhost: boolean;
562
+ sign_up_enabled: boolean;
563
+ credential_enabled: boolean;
564
+ magic_link_enabled: boolean;
565
+ passkey_enabled: boolean;
566
+ client_team_creation_enabled: boolean;
567
+ client_user_deletion_enabled: boolean;
568
+ allow_user_api_keys: boolean;
569
+ allow_team_api_keys: boolean;
564
570
  enabled_oauth_providers: {
565
571
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
566
572
  }[];
@@ -569,10 +575,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
569
575
  handler_path: string;
570
576
  }[];
571
577
  email_config: {
578
+ password?: string | undefined;
572
579
  host?: string | undefined;
573
580
  port?: number | undefined;
574
581
  username?: string | undefined;
575
- password?: string | undefined;
576
582
  sender_name?: string | undefined;
577
583
  sender_email?: string | undefined;
578
584
  type: "shared" | "standard";
@@ -640,6 +646,14 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
640
646
  logo_full_dark_mode_url: string | null | undefined;
641
647
  is_production_mode: boolean | undefined;
642
648
  config: {
649
+ oauth_providers?: {
650
+ client_id?: string | undefined;
651
+ client_secret?: string | undefined;
652
+ facebook_config_id?: string | undefined;
653
+ microsoft_tenant_id?: string | undefined;
654
+ type: "shared" | "standard";
655
+ id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
656
+ }[] | undefined;
643
657
  allow_localhost?: boolean | undefined;
644
658
  sign_up_enabled?: boolean | undefined;
645
659
  credential_enabled?: boolean | undefined;
@@ -649,23 +663,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
649
663
  client_user_deletion_enabled?: boolean | undefined;
650
664
  allow_user_api_keys?: boolean | undefined;
651
665
  allow_team_api_keys?: boolean | undefined;
652
- oauth_providers?: {
653
- client_id?: string | undefined;
654
- client_secret?: string | undefined;
655
- facebook_config_id?: string | undefined;
656
- microsoft_tenant_id?: string | undefined;
657
- type: "shared" | "standard";
658
- id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
659
- }[] | undefined;
660
666
  domains?: {
661
667
  domain: string;
662
668
  handler_path: string;
663
669
  }[] | undefined;
664
670
  email_config?: {
671
+ password?: string | undefined;
665
672
  host?: string | undefined;
666
673
  port?: number | undefined;
667
674
  username?: string | undefined;
668
- password?: string | undefined;
669
675
  sender_name?: string | undefined;
670
676
  sender_email?: string | undefined;
671
677
  type: "shared" | "standard";
@@ -682,6 +688,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
682
688
  id: string;
683
689
  }[] | undefined;
684
690
  oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
691
+ require_email_verification?: boolean | undefined;
685
692
  } | undefined;
686
693
  } & {
687
694
  display_name: string;
@@ -48,15 +48,6 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
48
48
  is_production_mode: boolean;
49
49
  owner_team_id: string | null;
50
50
  config: {
51
- allow_localhost: boolean;
52
- sign_up_enabled: boolean;
53
- credential_enabled: boolean;
54
- magic_link_enabled: boolean;
55
- passkey_enabled: boolean;
56
- client_team_creation_enabled: boolean;
57
- client_user_deletion_enabled: boolean;
58
- allow_user_api_keys: boolean;
59
- allow_team_api_keys: boolean;
60
51
  oauth_providers: {
61
52
  client_id?: string | undefined;
62
53
  client_secret?: string | undefined;
@@ -66,6 +57,15 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
66
57
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
67
58
  provider_config_id: string;
68
59
  }[];
60
+ allow_localhost: boolean;
61
+ sign_up_enabled: boolean;
62
+ credential_enabled: boolean;
63
+ magic_link_enabled: boolean;
64
+ passkey_enabled: boolean;
65
+ client_team_creation_enabled: boolean;
66
+ client_user_deletion_enabled: boolean;
67
+ allow_user_api_keys: boolean;
68
+ allow_team_api_keys: boolean;
69
69
  enabled_oauth_providers: {
70
70
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
71
71
  }[];
@@ -74,10 +74,10 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
74
74
  handler_path: string;
75
75
  }[];
76
76
  email_config: {
77
+ password?: string | undefined;
77
78
  host?: string | undefined;
78
79
  port?: number | undefined;
79
80
  username?: string | undefined;
80
- password?: string | undefined;
81
81
  sender_name?: string | undefined;
82
82
  sender_email?: string | undefined;
83
83
  type: "shared" | "standard";
@@ -181,6 +181,14 @@ declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{
181
181
  logo_full_dark_mode_url: string | null | undefined;
182
182
  is_production_mode: boolean | undefined;
183
183
  config: {
184
+ oauth_providers?: {
185
+ client_id?: string | undefined;
186
+ client_secret?: string | undefined;
187
+ facebook_config_id?: string | undefined;
188
+ microsoft_tenant_id?: string | undefined;
189
+ type: "shared" | "standard";
190
+ id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
191
+ }[] | undefined;
184
192
  allow_localhost?: boolean | undefined;
185
193
  sign_up_enabled?: boolean | undefined;
186
194
  credential_enabled?: boolean | undefined;
@@ -190,23 +198,15 @@ declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{
190
198
  client_user_deletion_enabled?: boolean | undefined;
191
199
  allow_user_api_keys?: boolean | undefined;
192
200
  allow_team_api_keys?: boolean | undefined;
193
- oauth_providers?: {
194
- client_id?: string | undefined;
195
- client_secret?: string | undefined;
196
- facebook_config_id?: string | undefined;
197
- microsoft_tenant_id?: string | undefined;
198
- type: "shared" | "standard";
199
- id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
200
- }[] | undefined;
201
201
  domains?: {
202
202
  domain: string;
203
203
  handler_path: string;
204
204
  }[] | undefined;
205
205
  email_config?: {
206
+ password?: string | undefined;
206
207
  host?: string | undefined;
207
208
  port?: number | undefined;
208
209
  username?: string | undefined;
209
- password?: string | undefined;
210
210
  sender_name?: string | undefined;
211
211
  sender_email?: string | undefined;
212
212
  type: "shared" | "standard";
@@ -223,6 +223,7 @@ declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{
223
223
  id: string;
224
224
  }[] | undefined;
225
225
  oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
226
+ require_email_verification?: boolean | undefined;
226
227
  } | undefined;
227
228
  }, yup.AnyObject, {
228
229
  display_name: undefined;
@@ -243,6 +244,14 @@ declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{
243
244
  logo_full_dark_mode_url: string | null | undefined;
244
245
  is_production_mode: boolean | undefined;
245
246
  config: {
247
+ oauth_providers?: {
248
+ client_id?: string | undefined;
249
+ client_secret?: string | undefined;
250
+ facebook_config_id?: string | undefined;
251
+ microsoft_tenant_id?: string | undefined;
252
+ type: "shared" | "standard";
253
+ id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
254
+ }[] | undefined;
246
255
  allow_localhost?: boolean | undefined;
247
256
  sign_up_enabled?: boolean | undefined;
248
257
  credential_enabled?: boolean | undefined;
@@ -252,23 +261,15 @@ declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{
252
261
  client_user_deletion_enabled?: boolean | undefined;
253
262
  allow_user_api_keys?: boolean | undefined;
254
263
  allow_team_api_keys?: boolean | undefined;
255
- oauth_providers?: {
256
- client_id?: string | undefined;
257
- client_secret?: string | undefined;
258
- facebook_config_id?: string | undefined;
259
- microsoft_tenant_id?: string | undefined;
260
- type: "shared" | "standard";
261
- id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
262
- }[] | undefined;
263
264
  domains?: {
264
265
  domain: string;
265
266
  handler_path: string;
266
267
  }[] | undefined;
267
268
  email_config?: {
269
+ password?: string | undefined;
268
270
  host?: string | undefined;
269
271
  port?: number | undefined;
270
272
  username?: string | undefined;
271
- password?: string | undefined;
272
273
  sender_name?: string | undefined;
273
274
  sender_email?: string | undefined;
274
275
  type: "shared" | "standard";
@@ -285,6 +286,7 @@ declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{
285
286
  id: string;
286
287
  }[] | undefined;
287
288
  oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
289
+ require_email_verification?: boolean | undefined;
288
290
  } | undefined;
289
291
  } & {
290
292
  display_name: string;
@@ -360,15 +362,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
360
362
  is_production_mode: boolean;
361
363
  owner_team_id: string | null;
362
364
  config: {
363
- allow_localhost: boolean;
364
- sign_up_enabled: boolean;
365
- credential_enabled: boolean;
366
- magic_link_enabled: boolean;
367
- passkey_enabled: boolean;
368
- client_team_creation_enabled: boolean;
369
- client_user_deletion_enabled: boolean;
370
- allow_user_api_keys: boolean;
371
- allow_team_api_keys: boolean;
372
365
  oauth_providers: {
373
366
  client_id?: string | undefined;
374
367
  client_secret?: string | undefined;
@@ -378,6 +371,15 @@ declare const projectsCrud: CrudSchemaFromOptions<{
378
371
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
379
372
  provider_config_id: string;
380
373
  }[];
374
+ allow_localhost: boolean;
375
+ sign_up_enabled: boolean;
376
+ credential_enabled: boolean;
377
+ magic_link_enabled: boolean;
378
+ passkey_enabled: boolean;
379
+ client_team_creation_enabled: boolean;
380
+ client_user_deletion_enabled: boolean;
381
+ allow_user_api_keys: boolean;
382
+ allow_team_api_keys: boolean;
381
383
  enabled_oauth_providers: {
382
384
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
383
385
  }[];
@@ -386,10 +388,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
386
388
  handler_path: string;
387
389
  }[];
388
390
  email_config: {
391
+ password?: string | undefined;
389
392
  host?: string | undefined;
390
393
  port?: number | undefined;
391
394
  username?: string | undefined;
392
- password?: string | undefined;
393
395
  sender_name?: string | undefined;
394
396
  sender_email?: string | undefined;
395
397
  type: "shared" | "standard";
@@ -457,6 +459,14 @@ declare const projectsCrud: CrudSchemaFromOptions<{
457
459
  logo_full_dark_mode_url: string | null | undefined;
458
460
  is_production_mode: boolean | undefined;
459
461
  config: {
462
+ oauth_providers?: {
463
+ client_id?: string | undefined;
464
+ client_secret?: string | undefined;
465
+ facebook_config_id?: string | undefined;
466
+ microsoft_tenant_id?: string | undefined;
467
+ type: "shared" | "standard";
468
+ id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
469
+ }[] | undefined;
460
470
  allow_localhost?: boolean | undefined;
461
471
  sign_up_enabled?: boolean | undefined;
462
472
  credential_enabled?: boolean | undefined;
@@ -466,23 +476,15 @@ declare const projectsCrud: CrudSchemaFromOptions<{
466
476
  client_user_deletion_enabled?: boolean | undefined;
467
477
  allow_user_api_keys?: boolean | undefined;
468
478
  allow_team_api_keys?: boolean | undefined;
469
- oauth_providers?: {
470
- client_id?: string | undefined;
471
- client_secret?: string | undefined;
472
- facebook_config_id?: string | undefined;
473
- microsoft_tenant_id?: string | undefined;
474
- type: "shared" | "standard";
475
- id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
476
- }[] | undefined;
477
479
  domains?: {
478
480
  domain: string;
479
481
  handler_path: string;
480
482
  }[] | undefined;
481
483
  email_config?: {
484
+ password?: string | undefined;
482
485
  host?: string | undefined;
483
486
  port?: number | undefined;
484
487
  username?: string | undefined;
485
- password?: string | undefined;
486
488
  sender_name?: string | undefined;
487
489
  sender_email?: string | undefined;
488
490
  type: "shared" | "standard";
@@ -499,6 +501,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
499
501
  id: string;
500
502
  }[] | undefined;
501
503
  oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
504
+ require_email_verification?: boolean | undefined;
502
505
  } | undefined;
503
506
  }, yup.AnyObject, {
504
507
  display_name: undefined;
@@ -516,16 +519,19 @@ declare const projectsCrud: CrudSchemaFromOptions<{
516
519
  summary: string;
517
520
  description: string;
518
521
  tags: string[];
522
+ hidden: true;
519
523
  };
520
524
  adminUpdate: {
521
525
  summary: string;
522
526
  description: string;
523
527
  tags: string[];
528
+ hidden: true;
524
529
  };
525
530
  adminDelete: {
526
531
  summary: string;
527
532
  description: string;
528
533
  tags: string[];
534
+ hidden: true;
529
535
  };
530
536
  };
531
537
  }>;
@@ -543,15 +549,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
543
549
  is_production_mode: boolean;
544
550
  owner_team_id: string | null;
545
551
  config: {
546
- allow_localhost: boolean;
547
- sign_up_enabled: boolean;
548
- credential_enabled: boolean;
549
- magic_link_enabled: boolean;
550
- passkey_enabled: boolean;
551
- client_team_creation_enabled: boolean;
552
- client_user_deletion_enabled: boolean;
553
- allow_user_api_keys: boolean;
554
- allow_team_api_keys: boolean;
555
552
  oauth_providers: {
556
553
  client_id?: string | undefined;
557
554
  client_secret?: string | undefined;
@@ -561,6 +558,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
561
558
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
562
559
  provider_config_id: string;
563
560
  }[];
561
+ allow_localhost: boolean;
562
+ sign_up_enabled: boolean;
563
+ credential_enabled: boolean;
564
+ magic_link_enabled: boolean;
565
+ passkey_enabled: boolean;
566
+ client_team_creation_enabled: boolean;
567
+ client_user_deletion_enabled: boolean;
568
+ allow_user_api_keys: boolean;
569
+ allow_team_api_keys: boolean;
564
570
  enabled_oauth_providers: {
565
571
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
566
572
  }[];
@@ -569,10 +575,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
569
575
  handler_path: string;
570
576
  }[];
571
577
  email_config: {
578
+ password?: string | undefined;
572
579
  host?: string | undefined;
573
580
  port?: number | undefined;
574
581
  username?: string | undefined;
575
- password?: string | undefined;
576
582
  sender_name?: string | undefined;
577
583
  sender_email?: string | undefined;
578
584
  type: "shared" | "standard";
@@ -640,6 +646,14 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
640
646
  logo_full_dark_mode_url: string | null | undefined;
641
647
  is_production_mode: boolean | undefined;
642
648
  config: {
649
+ oauth_providers?: {
650
+ client_id?: string | undefined;
651
+ client_secret?: string | undefined;
652
+ facebook_config_id?: string | undefined;
653
+ microsoft_tenant_id?: string | undefined;
654
+ type: "shared" | "standard";
655
+ id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
656
+ }[] | undefined;
643
657
  allow_localhost?: boolean | undefined;
644
658
  sign_up_enabled?: boolean | undefined;
645
659
  credential_enabled?: boolean | undefined;
@@ -649,23 +663,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
649
663
  client_user_deletion_enabled?: boolean | undefined;
650
664
  allow_user_api_keys?: boolean | undefined;
651
665
  allow_team_api_keys?: boolean | undefined;
652
- oauth_providers?: {
653
- client_id?: string | undefined;
654
- client_secret?: string | undefined;
655
- facebook_config_id?: string | undefined;
656
- microsoft_tenant_id?: string | undefined;
657
- type: "shared" | "standard";
658
- id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
659
- }[] | undefined;
660
666
  domains?: {
661
667
  domain: string;
662
668
  handler_path: string;
663
669
  }[] | undefined;
664
670
  email_config?: {
671
+ password?: string | undefined;
665
672
  host?: string | undefined;
666
673
  port?: number | undefined;
667
674
  username?: string | undefined;
668
- password?: string | undefined;
669
675
  sender_name?: string | undefined;
670
676
  sender_email?: string | undefined;
671
677
  type: "shared" | "standard";
@@ -682,6 +688,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
682
688
  id: string;
683
689
  }[] | undefined;
684
690
  oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
691
+ require_email_verification?: boolean | undefined;
685
692
  } | undefined;
686
693
  } & {
687
694
  display_name: string;