@stackframe/stack-shared 2.8.45 → 2.8.47

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.
@@ -38,8 +38,8 @@ declare const branchPaymentsSchema: yup.ObjectSchema<{
38
38
  displayName?: string | undefined;
39
39
  }>;
40
40
  products: Record<string, {
41
- catalogId?: string | undefined;
42
41
  displayName?: string | undefined;
42
+ catalogId?: string | undefined;
43
43
  isAddOnTo?: false | Record<string, true> | undefined;
44
44
  freeTrial?: DayInterval | undefined;
45
45
  serverOnly?: boolean | undefined;
@@ -86,7 +86,33 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
86
86
  type: "postgres";
87
87
  connectionString: string;
88
88
  };
89
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
89
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
90
+ rbac: {
91
+ permissions: Record<string, {
92
+ description?: string | undefined;
93
+ scope?: "team" | "project" | undefined;
94
+ containedPermissionIds?: Record<string, true | undefined> | undefined;
95
+ } | undefined>;
96
+ defaultPermissions: {
97
+ teamCreator: Record<string, true | undefined>;
98
+ teamMember: Record<string, true | undefined>;
99
+ signUp: Record<string, true | undefined>;
100
+ };
101
+ };
102
+ apiKeys: {
103
+ enabled: {
104
+ team?: boolean | undefined;
105
+ user?: boolean | undefined;
106
+ };
107
+ };
108
+ apps: {
109
+ installed: Record<"neon" | "rbac" | "payments" | "workflows" | "teams" | "authentication" | "api-keys" | "emails" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
110
+ enabled?: boolean | undefined;
111
+ }>;
112
+ };
113
+ domains: {
114
+ allowLocalhost?: boolean | undefined;
115
+ };
90
116
  auth: {
91
117
  allowSignUp?: boolean | undefined;
92
118
  password: {
@@ -107,22 +133,6 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
107
133
  }>;
108
134
  };
109
135
  };
110
- teams: {
111
- createPersonalTeamOnSignUp?: boolean | undefined;
112
- allowClientTeamCreation?: boolean | undefined;
113
- };
114
- rbac: {
115
- permissions: Record<string, {
116
- description?: string | undefined;
117
- scope?: "project" | "team" | undefined;
118
- containedPermissionIds?: Record<string, true | undefined> | undefined;
119
- } | undefined>;
120
- defaultPermissions: {
121
- teamCreator: Record<string, true | undefined>;
122
- teamMember: Record<string, true | undefined>;
123
- signUp: Record<string, true | undefined>;
124
- };
125
- };
126
136
  payments: {
127
137
  autoPay?: {
128
138
  interval?: DayInterval | undefined;
@@ -136,8 +146,8 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
136
146
  displayName?: string | undefined;
137
147
  }>;
138
148
  products: Record<string, {
139
- catalogId?: string | undefined;
140
149
  displayName?: string | undefined;
150
+ catalogId?: string | undefined;
141
151
  isAddOnTo?: false | Record<string, true> | undefined;
142
152
  freeTrial?: DayInterval | undefined;
143
153
  serverOnly?: boolean | undefined;
@@ -162,6 +172,20 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
162
172
  }>;
163
173
  }>;
164
174
  };
175
+ workflows: {
176
+ availableWorkflows: Record<string, {
177
+ enabled?: boolean | undefined;
178
+ displayName?: string | undefined;
179
+ tsSource?: string | undefined;
180
+ }>;
181
+ };
182
+ teams: {
183
+ createPersonalTeamOnSignUp?: boolean | undefined;
184
+ allowClientTeamCreation?: boolean | undefined;
185
+ };
186
+ users: {
187
+ allowClientUserDeletion?: boolean | undefined;
188
+ };
165
189
  emails: {
166
190
  selectedThemeId?: string | undefined;
167
191
  themes: Record<string, {
@@ -174,30 +198,6 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
174
198
  tsxSource: string;
175
199
  }>;
176
200
  };
177
- workflows: {
178
- availableWorkflows: Record<string, {
179
- enabled?: boolean | undefined;
180
- displayName?: string | undefined;
181
- tsSource?: string | undefined;
182
- }>;
183
- };
184
- apiKeys: {
185
- enabled: {
186
- team?: boolean | undefined;
187
- user?: boolean | undefined;
188
- };
189
- };
190
- apps: {
191
- installed: Record<"neon" | "authentication" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "email-api" | "data-vault" | "workflows" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
192
- enabled?: boolean | undefined;
193
- }>;
194
- };
195
- domains: {
196
- allowLocalhost?: boolean | undefined;
197
- };
198
- users: {
199
- allowClientUserDeletion?: boolean | undefined;
200
- };
201
201
  dataVault: {
202
202
  stores: Record<string, {
203
203
  displayName?: string | undefined;
@@ -205,7 +205,7 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
205
205
  };
206
206
  }, yup.AnyObject, Omit<Omit<{
207
207
  sourceOfTruth: undefined;
208
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
208
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
209
209
  rbac: {
210
210
  permissions: undefined;
211
211
  defaultPermissions: {
@@ -280,7 +280,33 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
280
280
  type: "postgres";
281
281
  connectionString: string;
282
282
  };
283
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
283
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
284
+ rbac: {
285
+ permissions: Record<string, {
286
+ description?: string | undefined;
287
+ scope?: "team" | "project" | undefined;
288
+ containedPermissionIds?: Record<string, true | undefined> | undefined;
289
+ } | undefined>;
290
+ defaultPermissions: {
291
+ teamCreator: Record<string, true | undefined>;
292
+ teamMember: Record<string, true | undefined>;
293
+ signUp: Record<string, true | undefined>;
294
+ };
295
+ };
296
+ apiKeys: {
297
+ enabled: {
298
+ team?: boolean | undefined;
299
+ user?: boolean | undefined;
300
+ };
301
+ };
302
+ apps: {
303
+ installed: Record<"neon" | "rbac" | "payments" | "workflows" | "teams" | "authentication" | "api-keys" | "emails" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
304
+ enabled?: boolean | undefined;
305
+ }>;
306
+ };
307
+ domains: {
308
+ allowLocalhost?: boolean | undefined;
309
+ };
284
310
  auth: {
285
311
  allowSignUp?: boolean | undefined;
286
312
  password: {
@@ -301,22 +327,6 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
301
327
  }>;
302
328
  };
303
329
  };
304
- teams: {
305
- createPersonalTeamOnSignUp?: boolean | undefined;
306
- allowClientTeamCreation?: boolean | undefined;
307
- };
308
- rbac: {
309
- permissions: Record<string, {
310
- description?: string | undefined;
311
- scope?: "project" | "team" | undefined;
312
- containedPermissionIds?: Record<string, true | undefined> | undefined;
313
- } | undefined>;
314
- defaultPermissions: {
315
- teamCreator: Record<string, true | undefined>;
316
- teamMember: Record<string, true | undefined>;
317
- signUp: Record<string, true | undefined>;
318
- };
319
- };
320
330
  payments: {
321
331
  autoPay?: {
322
332
  interval?: DayInterval | undefined;
@@ -330,8 +340,8 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
330
340
  displayName?: string | undefined;
331
341
  }>;
332
342
  products: Record<string, {
333
- catalogId?: string | undefined;
334
343
  displayName?: string | undefined;
344
+ catalogId?: string | undefined;
335
345
  isAddOnTo?: false | Record<string, true> | undefined;
336
346
  freeTrial?: DayInterval | undefined;
337
347
  serverOnly?: boolean | undefined;
@@ -356,6 +366,20 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
356
366
  }>;
357
367
  }>;
358
368
  };
369
+ workflows: {
370
+ availableWorkflows: Record<string, {
371
+ enabled?: boolean | undefined;
372
+ displayName?: string | undefined;
373
+ tsSource?: string | undefined;
374
+ }>;
375
+ };
376
+ teams: {
377
+ createPersonalTeamOnSignUp?: boolean | undefined;
378
+ allowClientTeamCreation?: boolean | undefined;
379
+ };
380
+ users: {
381
+ allowClientUserDeletion?: boolean | undefined;
382
+ };
359
383
  emails: {
360
384
  selectedThemeId?: string | undefined;
361
385
  themes: Record<string, {
@@ -368,36 +392,20 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
368
392
  tsxSource: string;
369
393
  }>;
370
394
  };
371
- workflows: {
372
- availableWorkflows: Record<string, {
373
- enabled?: boolean | undefined;
395
+ dataVault: {
396
+ stores: Record<string, {
374
397
  displayName?: string | undefined;
375
- tsSource?: string | undefined;
376
398
  }>;
377
399
  };
378
- apiKeys: {
379
- enabled: {
380
- team?: boolean | undefined;
381
- user?: boolean | undefined;
382
- };
383
- };
384
- apps: {
385
- installed: Record<"neon" | "authentication" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "email-api" | "data-vault" | "workflows" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
386
- enabled?: boolean | undefined;
387
- }>;
388
- };
389
- domains: {
400
+ }>, "domains" | "auth" | "emails"> & {
401
+ domains: Omit<{
390
402
  allowLocalhost?: boolean | undefined;
391
- };
392
- users: {
393
- allowClientUserDeletion?: boolean | undefined;
394
- };
395
- dataVault: {
396
- stores: Record<string, {
397
- displayName?: string | undefined;
403
+ }, "trustedDomains"> & {
404
+ trustedDomains: Record<string, {
405
+ baseUrl?: string | undefined;
406
+ handlerPath?: string | undefined;
398
407
  }>;
399
408
  };
400
- }>, "auth" | "emails" | "domains"> & {
401
409
  auth: Omit<{
402
410
  allowSignUp?: boolean | undefined;
403
411
  password: {
@@ -461,17 +469,9 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
461
469
  senderEmail?: string | undefined;
462
470
  };
463
471
  };
464
- domains: Omit<{
465
- allowLocalhost?: boolean | undefined;
466
- }, "trustedDomains"> & {
467
- trustedDomains: Record<string, {
468
- baseUrl?: string | undefined;
469
- handlerPath?: string | undefined;
470
- }>;
471
- };
472
472
  }, yup.AnyObject, Omit<NonNullable<Omit<Omit<{
473
473
  sourceOfTruth: undefined;
474
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
474
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
475
475
  rbac: {
476
476
  permissions: undefined;
477
477
  defaultPermissions: {
@@ -535,10 +535,10 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
535
535
  workflows: {
536
536
  availableWorkflows: undefined;
537
537
  };
538
- }>, "auth" | "emails" | "domains"> & {
538
+ }>, "domains" | "auth" | "emails"> & {
539
539
  auth: Omit<NonNullable<Omit<Omit<{
540
540
  sourceOfTruth: undefined;
541
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
541
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
542
542
  rbac: {
543
543
  permissions: undefined;
544
544
  defaultPermissions: {
@@ -605,7 +605,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
605
605
  }>, "oauth"> & {
606
606
  oauth: Omit<NonNullable<Omit<Omit<{
607
607
  sourceOfTruth: undefined;
608
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
608
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
609
609
  rbac: {
610
610
  permissions: undefined;
611
611
  defaultPermissions: {
@@ -675,7 +675,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
675
675
  };
676
676
  emails: Omit<NonNullable<Omit<Omit<{
677
677
  sourceOfTruth: undefined;
678
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
678
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
679
679
  rbac: {
680
680
  permissions: undefined;
681
681
  defaultPermissions: {
@@ -753,7 +753,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
753
753
  };
754
754
  domains: Omit<NonNullable<Omit<Omit<{
755
755
  sourceOfTruth: undefined;
756
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
756
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
757
757
  rbac: {
758
758
  permissions: undefined;
759
759
  defaultPermissions: {
@@ -831,7 +831,33 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
831
831
  type: "postgres";
832
832
  connectionString: string;
833
833
  };
834
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
834
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
835
+ rbac: {
836
+ permissions: Record<string, {
837
+ description?: string | undefined;
838
+ scope?: "team" | "project" | undefined;
839
+ containedPermissionIds?: Record<string, true | undefined> | undefined;
840
+ } | undefined>;
841
+ defaultPermissions: {
842
+ teamCreator: Record<string, true | undefined>;
843
+ teamMember: Record<string, true | undefined>;
844
+ signUp: Record<string, true | undefined>;
845
+ };
846
+ };
847
+ apiKeys: {
848
+ enabled: {
849
+ team?: boolean | undefined;
850
+ user?: boolean | undefined;
851
+ };
852
+ };
853
+ apps: {
854
+ installed: Record<"neon" | "rbac" | "payments" | "workflows" | "teams" | "authentication" | "api-keys" | "emails" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
855
+ enabled?: boolean | undefined;
856
+ }>;
857
+ };
858
+ domains: {
859
+ allowLocalhost?: boolean | undefined;
860
+ };
835
861
  auth: {
836
862
  allowSignUp?: boolean | undefined;
837
863
  password: {
@@ -852,22 +878,6 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
852
878
  }>;
853
879
  };
854
880
  };
855
- teams: {
856
- createPersonalTeamOnSignUp?: boolean | undefined;
857
- allowClientTeamCreation?: boolean | undefined;
858
- };
859
- rbac: {
860
- permissions: Record<string, {
861
- description?: string | undefined;
862
- scope?: "project" | "team" | undefined;
863
- containedPermissionIds?: Record<string, true | undefined> | undefined;
864
- } | undefined>;
865
- defaultPermissions: {
866
- teamCreator: Record<string, true | undefined>;
867
- teamMember: Record<string, true | undefined>;
868
- signUp: Record<string, true | undefined>;
869
- };
870
- };
871
881
  payments: {
872
882
  autoPay?: {
873
883
  interval?: DayInterval | undefined;
@@ -881,8 +891,8 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
881
891
  displayName?: string | undefined;
882
892
  }>;
883
893
  products: Record<string, {
884
- catalogId?: string | undefined;
885
894
  displayName?: string | undefined;
895
+ catalogId?: string | undefined;
886
896
  isAddOnTo?: false | Record<string, true> | undefined;
887
897
  freeTrial?: DayInterval | undefined;
888
898
  serverOnly?: boolean | undefined;
@@ -907,6 +917,20 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
907
917
  }>;
908
918
  }>;
909
919
  };
920
+ workflows: {
921
+ availableWorkflows: Record<string, {
922
+ enabled?: boolean | undefined;
923
+ displayName?: string | undefined;
924
+ tsSource?: string | undefined;
925
+ }>;
926
+ };
927
+ teams: {
928
+ createPersonalTeamOnSignUp?: boolean | undefined;
929
+ allowClientTeamCreation?: boolean | undefined;
930
+ };
931
+ users: {
932
+ allowClientUserDeletion?: boolean | undefined;
933
+ };
910
934
  emails: {
911
935
  selectedThemeId?: string | undefined;
912
936
  themes: Record<string, {
@@ -919,36 +943,20 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
919
943
  tsxSource: string;
920
944
  }>;
921
945
  };
922
- workflows: {
923
- availableWorkflows: Record<string, {
924
- enabled?: boolean | undefined;
946
+ dataVault: {
947
+ stores: Record<string, {
925
948
  displayName?: string | undefined;
926
- tsSource?: string | undefined;
927
949
  }>;
928
950
  };
929
- apiKeys: {
930
- enabled: {
931
- team?: boolean | undefined;
932
- user?: boolean | undefined;
933
- };
934
- };
935
- apps: {
936
- installed: Record<"neon" | "authentication" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "email-api" | "data-vault" | "workflows" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
937
- enabled?: boolean | undefined;
938
- }>;
939
- };
940
- domains: {
951
+ }>, "domains" | "auth" | "emails"> & {
952
+ domains: Omit<{
941
953
  allowLocalhost?: boolean | undefined;
942
- };
943
- users: {
944
- allowClientUserDeletion?: boolean | undefined;
945
- };
946
- dataVault: {
947
- stores: Record<string, {
948
- displayName?: string | undefined;
954
+ }, "trustedDomains"> & {
955
+ trustedDomains: Record<string, {
956
+ baseUrl?: string | undefined;
957
+ handlerPath?: string | undefined;
949
958
  }>;
950
959
  };
951
- }>, "auth" | "emails" | "domains"> & {
952
960
  auth: Omit<{
953
961
  allowSignUp?: boolean | undefined;
954
962
  password: {
@@ -1012,17 +1020,9 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1012
1020
  senderEmail?: string | undefined;
1013
1021
  };
1014
1022
  };
1015
- domains: Omit<{
1016
- allowLocalhost?: boolean | undefined;
1017
- }, "trustedDomains"> & {
1018
- trustedDomains: Record<string, {
1019
- baseUrl?: string | undefined;
1020
- handlerPath?: string | undefined;
1021
- }>;
1022
- };
1023
1023
  }>, never> & {}, yup.AnyObject, Omit<NonNullable<Omit<NonNullable<Omit<Omit<{
1024
1024
  sourceOfTruth: undefined;
1025
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1025
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
1026
1026
  rbac: {
1027
1027
  permissions: undefined;
1028
1028
  defaultPermissions: {
@@ -1086,10 +1086,10 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1086
1086
  workflows: {
1087
1087
  availableWorkflows: undefined;
1088
1088
  };
1089
- }>, "auth" | "emails" | "domains"> & {
1089
+ }>, "domains" | "auth" | "emails"> & {
1090
1090
  auth: Omit<NonNullable<Omit<Omit<{
1091
1091
  sourceOfTruth: undefined;
1092
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1092
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
1093
1093
  rbac: {
1094
1094
  permissions: undefined;
1095
1095
  defaultPermissions: {
@@ -1156,7 +1156,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1156
1156
  }>, "oauth"> & {
1157
1157
  oauth: Omit<NonNullable<Omit<Omit<{
1158
1158
  sourceOfTruth: undefined;
1159
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1159
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
1160
1160
  rbac: {
1161
1161
  permissions: undefined;
1162
1162
  defaultPermissions: {
@@ -1226,7 +1226,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1226
1226
  };
1227
1227
  emails: Omit<NonNullable<Omit<Omit<{
1228
1228
  sourceOfTruth: undefined;
1229
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1229
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
1230
1230
  rbac: {
1231
1231
  permissions: undefined;
1232
1232
  defaultPermissions: {
@@ -1304,7 +1304,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1304
1304
  };
1305
1305
  domains: Omit<NonNullable<Omit<Omit<{
1306
1306
  sourceOfTruth: undefined;
1307
- }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
1307
+ }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
1308
1308
  rbac: {
1309
1309
  permissions: undefined;
1310
1310
  defaultPermissions: {
@@ -1402,7 +1402,7 @@ declare const organizationConfigDefaults: {
1402
1402
  };
1403
1403
  };
1404
1404
  readonly apps: {
1405
- readonly installed: Record<"neon" | "authentication" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "email-api" | "data-vault" | "workflows" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
1405
+ readonly installed: Record<"neon" | "rbac" | "payments" | "workflows" | "teams" | "authentication" | "api-keys" | "emails" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
1406
1406
  enabled: false;
1407
1407
  }>;
1408
1408
  };
@@ -1666,8 +1666,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1666
1666
  AUD?: string | undefined;
1667
1667
  CAD?: string | undefined;
1668
1668
  }>;
1669
- catalogId: string | undefined;
1670
1669
  displayName: string;
1670
+ catalogId: string | undefined;
1671
1671
  customerType: "team" | "user" | "custom";
1672
1672
  freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
1673
1673
  serverOnly: boolean;
@@ -1717,42 +1717,11 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1717
1717
  readonly connectionStrings?: undefined;
1718
1718
  readonly connectionString?: undefined;
1719
1719
  });
1720
- auth: {
1721
- allowSignUp: boolean;
1722
- password: {
1723
- allowSignIn: boolean;
1724
- };
1725
- otp: {
1726
- allowSignIn: boolean;
1727
- };
1728
- passkey: {
1729
- allowSignIn: boolean;
1730
- };
1731
- oauth: {
1732
- accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
1733
- providers: {
1734
- [x: string]: {
1735
- type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
1736
- allowSignIn: boolean;
1737
- allowConnectedAccounts: boolean;
1738
- isShared: boolean;
1739
- clientId: string | undefined;
1740
- clientSecret: string | undefined;
1741
- facebookConfigId: string | undefined;
1742
- microsoftTenantId: string | undefined;
1743
- };
1744
- };
1745
- };
1746
- };
1747
- teams: {
1748
- createPersonalTeamOnSignUp: boolean;
1749
- allowClientTeamCreation: boolean;
1750
- };
1751
1720
  rbac: {
1752
1721
  permissions: {
1753
1722
  [x: string]: {
1754
1723
  description: string | undefined;
1755
- scope: "project" | "team" | undefined;
1724
+ scope: "team" | "project" | undefined;
1756
1725
  containedPermissionIds: {
1757
1726
  [x: string]: true | undefined;
1758
1727
  };
@@ -1770,15 +1739,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1770
1739
  };
1771
1740
  };
1772
1741
  };
1773
- workflows: {
1774
- availableWorkflows: {
1775
- [x: string]: {
1776
- enabled: boolean;
1777
- displayName: string;
1778
- tsSource: string;
1779
- };
1780
- };
1781
- };
1782
1742
  apiKeys: {
1783
1743
  enabled: {
1784
1744
  team: boolean;
@@ -1790,19 +1750,22 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1790
1750
  neon: {
1791
1751
  enabled: boolean;
1792
1752
  };
1793
- authentication: {
1753
+ rbac: {
1794
1754
  enabled: boolean;
1795
1755
  };
1796
- teams: {
1756
+ payments: {
1797
1757
  enabled: boolean;
1798
1758
  };
1799
- rbac: {
1759
+ workflows: {
1800
1760
  enabled: boolean;
1801
1761
  };
1802
- "api-keys": {
1762
+ teams: {
1803
1763
  enabled: boolean;
1804
1764
  };
1805
- payments: {
1765
+ authentication: {
1766
+ enabled: boolean;
1767
+ };
1768
+ "api-keys": {
1806
1769
  enabled: boolean;
1807
1770
  };
1808
1771
  emails: {
@@ -1814,9 +1777,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1814
1777
  "data-vault": {
1815
1778
  enabled: boolean;
1816
1779
  };
1817
- workflows: {
1818
- enabled: boolean;
1819
- };
1820
1780
  webhooks: {
1821
1781
  enabled: boolean;
1822
1782
  };
@@ -1843,6 +1803,46 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1843
1803
  };
1844
1804
  };
1845
1805
  };
1806
+ auth: {
1807
+ allowSignUp: boolean;
1808
+ password: {
1809
+ allowSignIn: boolean;
1810
+ };
1811
+ otp: {
1812
+ allowSignIn: boolean;
1813
+ };
1814
+ passkey: {
1815
+ allowSignIn: boolean;
1816
+ };
1817
+ oauth: {
1818
+ accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
1819
+ providers: {
1820
+ [x: string]: {
1821
+ type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
1822
+ allowSignIn: boolean;
1823
+ allowConnectedAccounts: boolean;
1824
+ isShared: boolean;
1825
+ clientId: string | undefined;
1826
+ clientSecret: string | undefined;
1827
+ facebookConfigId: string | undefined;
1828
+ microsoftTenantId: string | undefined;
1829
+ };
1830
+ };
1831
+ };
1832
+ };
1833
+ workflows: {
1834
+ availableWorkflows: {
1835
+ [x: string]: {
1836
+ enabled: boolean;
1837
+ displayName: string;
1838
+ tsSource: string;
1839
+ };
1840
+ };
1841
+ };
1842
+ teams: {
1843
+ createPersonalTeamOnSignUp: boolean;
1844
+ allowClientTeamCreation: boolean;
1845
+ };
1846
1846
  users: {
1847
1847
  allowClientUserDeletion: boolean;
1848
1848
  };