@stackframe/stack-shared 2.8.56 → 2.8.59

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 +6 -0
  2. package/dist/apps/apps-config.d.ts +6 -0
  3. package/dist/apps/apps-config.js +6 -0
  4. package/dist/apps/apps-config.js.map +1 -1
  5. package/dist/config/migrate-catalogs-to-product-lines.d.mts +12 -0
  6. package/dist/config/migrate-catalogs-to-product-lines.d.ts +12 -0
  7. package/dist/config/migrate-catalogs-to-product-lines.js +211 -0
  8. package/dist/config/migrate-catalogs-to-product-lines.js.map +1 -0
  9. package/dist/config/schema-fuzzer.test.js +20 -6
  10. package/dist/config/schema-fuzzer.test.js.map +1 -1
  11. package/dist/config/schema.d.mts +296 -224
  12. package/dist/config/schema.d.ts +296 -224
  13. package/dist/config/schema.js +46 -8
  14. package/dist/config/schema.js.map +1 -1
  15. package/dist/esm/apps/apps-config.js +6 -0
  16. package/dist/esm/apps/apps-config.js.map +1 -1
  17. package/dist/esm/config/migrate-catalogs-to-product-lines.js +186 -0
  18. package/dist/esm/config/migrate-catalogs-to-product-lines.js.map +1 -0
  19. package/dist/esm/config/schema-fuzzer.test.js +20 -6
  20. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  21. package/dist/esm/config/schema.js +47 -9
  22. package/dist/esm/config/schema.js.map +1 -1
  23. package/dist/esm/interface/admin-interface.js +49 -1
  24. package/dist/esm/interface/admin-interface.js.map +1 -1
  25. package/dist/esm/interface/client-interface.js +124 -25
  26. package/dist/esm/interface/client-interface.js.map +1 -1
  27. package/dist/esm/interface/crud/current-user.js +5 -2
  28. package/dist/esm/interface/crud/current-user.js.map +1 -1
  29. package/dist/esm/interface/crud/email-outbox.js +204 -0
  30. package/dist/esm/interface/crud/email-outbox.js.map +1 -0
  31. package/dist/esm/interface/crud/emails.js +0 -2
  32. package/dist/esm/interface/crud/emails.js.map +1 -1
  33. package/dist/esm/interface/crud/products.js +12 -1
  34. package/dist/esm/interface/crud/products.js.map +1 -1
  35. package/dist/esm/interface/crud/projects.js +3 -1
  36. package/dist/esm/interface/crud/projects.js.map +1 -1
  37. package/dist/esm/interface/crud/users.js +9 -2
  38. package/dist/esm/interface/crud/users.js.map +1 -1
  39. package/dist/esm/interface/server-interface.js +54 -0
  40. package/dist/esm/interface/server-interface.js.map +1 -1
  41. package/dist/esm/known-errors.js +69 -1
  42. package/dist/esm/known-errors.js.map +1 -1
  43. package/dist/esm/schema-fields.js +27 -3
  44. package/dist/esm/schema-fields.js.map +1 -1
  45. package/dist/esm/sessions.js +72 -8
  46. package/dist/esm/sessions.js.map +1 -1
  47. package/dist/esm/utils/env.js +13 -2
  48. package/dist/esm/utils/env.js.map +1 -1
  49. package/dist/esm/utils/esbuild.js +50 -21
  50. package/dist/esm/utils/esbuild.js.map +1 -1
  51. package/dist/esm/utils/globals.js +12 -0
  52. package/dist/esm/utils/globals.js.map +1 -1
  53. package/dist/esm/utils/paginated-lists.js +153 -23
  54. package/dist/esm/utils/paginated-lists.js.map +1 -1
  55. package/dist/esm/utils/paginated-lists.test.js +842 -0
  56. package/dist/esm/utils/paginated-lists.test.js.map +1 -0
  57. package/dist/esm/utils/proxies.js +28 -1
  58. package/dist/esm/utils/proxies.js.map +1 -1
  59. package/dist/esm/utils/react.js +7 -3
  60. package/dist/esm/utils/react.js.map +1 -1
  61. package/dist/esm/utils/results.js.map +1 -1
  62. package/dist/index.d.mts +1 -1
  63. package/dist/index.d.ts +1 -1
  64. package/dist/interface/admin-interface.d.mts +26 -3
  65. package/dist/interface/admin-interface.d.ts +26 -3
  66. package/dist/interface/admin-interface.js +49 -1
  67. package/dist/interface/admin-interface.js.map +1 -1
  68. package/dist/interface/client-interface.d.mts +36 -0
  69. package/dist/interface/client-interface.d.ts +36 -0
  70. package/dist/interface/client-interface.js +124 -25
  71. package/dist/interface/client-interface.js.map +1 -1
  72. package/dist/interface/crud/current-user.d.mts +23 -6
  73. package/dist/interface/crud/current-user.d.ts +23 -6
  74. package/dist/interface/crud/current-user.js +5 -2
  75. package/dist/interface/crud/current-user.js.map +1 -1
  76. package/dist/interface/crud/email-outbox.d.mts +1075 -0
  77. package/dist/interface/crud/email-outbox.d.ts +1075 -0
  78. package/dist/interface/crud/email-outbox.js +241 -0
  79. package/dist/interface/crud/email-outbox.js.map +1 -0
  80. package/dist/interface/crud/emails.d.mts +0 -34
  81. package/dist/interface/crud/emails.d.ts +0 -34
  82. package/dist/interface/crud/emails.js +0 -2
  83. package/dist/interface/crud/emails.js.map +1 -1
  84. package/dist/interface/crud/products.d.mts +77 -0
  85. package/dist/interface/crud/products.d.ts +77 -0
  86. package/dist/interface/crud/products.js +12 -1
  87. package/dist/interface/crud/products.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 +70 -66
  91. package/dist/interface/crud/projects.d.ts +70 -66
  92. package/dist/interface/crud/projects.js +3 -1
  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 +52 -0
  101. package/dist/interface/server-interface.d.ts +52 -0
  102. package/dist/interface/server-interface.js +54 -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 +20 -1
  107. package/dist/known-errors.d.ts +20 -1
  108. package/dist/known-errors.js +69 -1
  109. package/dist/known-errors.js.map +1 -1
  110. package/dist/schema-fields.d.mts +38 -5
  111. package/dist/schema-fields.d.ts +38 -5
  112. package/dist/schema-fields.js +33 -3
  113. package/dist/schema-fields.js.map +1 -1
  114. package/dist/sessions.d.mts +35 -4
  115. package/dist/sessions.d.ts +35 -4
  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 +5 -4
  148. package/CHANGELOG.md +0 -1354
  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
@@ -83,11 +83,11 @@ declare const userApiKeysCreateInputSchema: yup.ObjectSchema<{
83
83
  declare const userApiKeysCreateOutputSchema: yup.ObjectSchema<{
84
84
  type: "user";
85
85
  description: string;
86
+ user_id: string;
86
87
  id: string;
87
88
  created_at_millis: number;
88
89
  expires_at_millis: number | undefined;
89
90
  manually_revoked_at_millis: number | undefined;
90
- user_id: string;
91
91
  is_public: boolean;
92
92
  } & {
93
93
  value: string;
@@ -83,11 +83,11 @@ declare const userApiKeysCreateInputSchema: yup.ObjectSchema<{
83
83
  declare const userApiKeysCreateOutputSchema: yup.ObjectSchema<{
84
84
  type: "user";
85
85
  description: string;
86
+ user_id: string;
86
87
  id: string;
87
88
  created_at_millis: number;
88
89
  expires_at_millis: number | undefined;
89
90
  manually_revoked_at_millis: number | undefined;
90
- user_id: string;
91
91
  is_public: boolean;
92
92
  } & {
93
93
  value: 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;
@@ -546,15 +549,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
546
549
  is_production_mode: boolean;
547
550
  owner_team_id: string | null;
548
551
  config: {
549
- allow_localhost: boolean;
550
- sign_up_enabled: boolean;
551
- credential_enabled: boolean;
552
- magic_link_enabled: boolean;
553
- passkey_enabled: boolean;
554
- client_team_creation_enabled: boolean;
555
- client_user_deletion_enabled: boolean;
556
- allow_user_api_keys: boolean;
557
- allow_team_api_keys: boolean;
558
552
  oauth_providers: {
559
553
  client_id?: string | undefined;
560
554
  client_secret?: string | undefined;
@@ -564,6 +558,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
564
558
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
565
559
  provider_config_id: string;
566
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;
567
570
  enabled_oauth_providers: {
568
571
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
569
572
  }[];
@@ -572,10 +575,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
572
575
  handler_path: string;
573
576
  }[];
574
577
  email_config: {
578
+ password?: string | undefined;
575
579
  host?: string | undefined;
576
580
  port?: number | undefined;
577
581
  username?: string | undefined;
578
- password?: string | undefined;
579
582
  sender_name?: string | undefined;
580
583
  sender_email?: string | undefined;
581
584
  type: "shared" | "standard";
@@ -643,6 +646,14 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
643
646
  logo_full_dark_mode_url: string | null | undefined;
644
647
  is_production_mode: boolean | undefined;
645
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;
646
657
  allow_localhost?: boolean | undefined;
647
658
  sign_up_enabled?: boolean | undefined;
648
659
  credential_enabled?: boolean | undefined;
@@ -652,23 +663,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
652
663
  client_user_deletion_enabled?: boolean | undefined;
653
664
  allow_user_api_keys?: boolean | undefined;
654
665
  allow_team_api_keys?: boolean | undefined;
655
- oauth_providers?: {
656
- client_id?: string | undefined;
657
- client_secret?: string | undefined;
658
- facebook_config_id?: string | undefined;
659
- microsoft_tenant_id?: string | undefined;
660
- type: "shared" | "standard";
661
- id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
662
- }[] | undefined;
663
666
  domains?: {
664
667
  domain: string;
665
668
  handler_path: string;
666
669
  }[] | undefined;
667
670
  email_config?: {
671
+ password?: string | undefined;
668
672
  host?: string | undefined;
669
673
  port?: number | undefined;
670
674
  username?: string | undefined;
671
- password?: string | undefined;
672
675
  sender_name?: string | undefined;
673
676
  sender_email?: string | undefined;
674
677
  type: "shared" | "standard";
@@ -685,6 +688,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
685
688
  id: string;
686
689
  }[] | undefined;
687
690
  oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
691
+ require_email_verification?: boolean | undefined;
688
692
  } | undefined;
689
693
  } & {
690
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;
@@ -546,15 +549,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
546
549
  is_production_mode: boolean;
547
550
  owner_team_id: string | null;
548
551
  config: {
549
- allow_localhost: boolean;
550
- sign_up_enabled: boolean;
551
- credential_enabled: boolean;
552
- magic_link_enabled: boolean;
553
- passkey_enabled: boolean;
554
- client_team_creation_enabled: boolean;
555
- client_user_deletion_enabled: boolean;
556
- allow_user_api_keys: boolean;
557
- allow_team_api_keys: boolean;
558
552
  oauth_providers: {
559
553
  client_id?: string | undefined;
560
554
  client_secret?: string | undefined;
@@ -564,6 +558,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
564
558
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
565
559
  provider_config_id: string;
566
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;
567
570
  enabled_oauth_providers: {
568
571
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
569
572
  }[];
@@ -572,10 +575,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
572
575
  handler_path: string;
573
576
  }[];
574
577
  email_config: {
578
+ password?: string | undefined;
575
579
  host?: string | undefined;
576
580
  port?: number | undefined;
577
581
  username?: string | undefined;
578
- password?: string | undefined;
579
582
  sender_name?: string | undefined;
580
583
  sender_email?: string | undefined;
581
584
  type: "shared" | "standard";
@@ -643,6 +646,14 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
643
646
  logo_full_dark_mode_url: string | null | undefined;
644
647
  is_production_mode: boolean | undefined;
645
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;
646
657
  allow_localhost?: boolean | undefined;
647
658
  sign_up_enabled?: boolean | undefined;
648
659
  credential_enabled?: boolean | undefined;
@@ -652,23 +663,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
652
663
  client_user_deletion_enabled?: boolean | undefined;
653
664
  allow_user_api_keys?: boolean | undefined;
654
665
  allow_team_api_keys?: boolean | undefined;
655
- oauth_providers?: {
656
- client_id?: string | undefined;
657
- client_secret?: string | undefined;
658
- facebook_config_id?: string | undefined;
659
- microsoft_tenant_id?: string | undefined;
660
- type: "shared" | "standard";
661
- id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
662
- }[] | undefined;
663
666
  domains?: {
664
667
  domain: string;
665
668
  handler_path: string;
666
669
  }[] | undefined;
667
670
  email_config?: {
671
+ password?: string | undefined;
668
672
  host?: string | undefined;
669
673
  port?: number | undefined;
670
674
  username?: string | undefined;
671
- password?: string | undefined;
672
675
  sender_name?: string | undefined;
673
676
  sender_email?: string | undefined;
674
677
  type: "shared" | "standard";
@@ -685,6 +688,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
685
688
  id: string;
686
689
  }[] | undefined;
687
690
  oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
691
+ require_email_verification?: boolean | undefined;
688
692
  } | undefined;
689
693
  } & {
690
694
  display_name: string;