@stackframe/stack-shared 2.8.44 → 2.8.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,8 +38,8 @@ declare const branchPaymentsSchema: yup.ObjectSchema<{
38
38
  displayName?: string | undefined;
39
39
  }>;
40
40
  products: Record<string, {
41
- displayName?: string | undefined;
42
41
  catalogId?: string | undefined;
42
+ displayName?: string | undefined;
43
43
  isAddOnTo?: false | Record<string, true> | undefined;
44
44
  freeTrial?: DayInterval | undefined;
45
45
  serverOnly?: boolean | undefined;
@@ -86,33 +86,7 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
86
86
  type: "postgres";
87
87
  connectionString: string;
88
88
  };
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
- };
89
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
116
90
  auth: {
117
91
  allowSignUp?: boolean | undefined;
118
92
  password: {
@@ -133,6 +107,22 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
133
107
  }>;
134
108
  };
135
109
  };
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
+ };
136
126
  payments: {
137
127
  autoPay?: {
138
128
  interval?: DayInterval | undefined;
@@ -146,8 +136,8 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
146
136
  displayName?: string | undefined;
147
137
  }>;
148
138
  products: Record<string, {
149
- displayName?: string | undefined;
150
139
  catalogId?: string | undefined;
140
+ displayName?: string | undefined;
151
141
  isAddOnTo?: false | Record<string, true> | undefined;
152
142
  freeTrial?: DayInterval | undefined;
153
143
  serverOnly?: boolean | undefined;
@@ -172,20 +162,6 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
172
162
  }>;
173
163
  }>;
174
164
  };
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
- };
189
165
  emails: {
190
166
  selectedThemeId?: string | undefined;
191
167
  themes: Record<string, {
@@ -198,6 +174,30 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
198
174
  tsxSource: string;
199
175
  }>;
200
176
  };
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>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
208
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
209
209
  rbac: {
210
210
  permissions: undefined;
211
211
  defaultPermissions: {
@@ -280,33 +280,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
280
280
  type: "postgres";
281
281
  connectionString: string;
282
282
  };
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
- };
283
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
310
284
  auth: {
311
285
  allowSignUp?: boolean | undefined;
312
286
  password: {
@@ -327,6 +301,22 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
327
301
  }>;
328
302
  };
329
303
  };
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
+ };
330
320
  payments: {
331
321
  autoPay?: {
332
322
  interval?: DayInterval | undefined;
@@ -340,8 +330,8 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
340
330
  displayName?: string | undefined;
341
331
  }>;
342
332
  products: Record<string, {
343
- displayName?: string | undefined;
344
333
  catalogId?: string | undefined;
334
+ displayName?: string | undefined;
345
335
  isAddOnTo?: false | Record<string, true> | undefined;
346
336
  freeTrial?: DayInterval | undefined;
347
337
  serverOnly?: boolean | undefined;
@@ -366,20 +356,6 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
366
356
  }>;
367
357
  }>;
368
358
  };
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
- };
383
359
  emails: {
384
360
  selectedThemeId?: string | undefined;
385
361
  themes: Record<string, {
@@ -392,20 +368,36 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
392
368
  tsxSource: string;
393
369
  }>;
394
370
  };
395
- dataVault: {
396
- stores: Record<string, {
371
+ workflows: {
372
+ availableWorkflows: Record<string, {
373
+ enabled?: boolean | undefined;
397
374
  displayName?: string | undefined;
375
+ tsSource?: string | undefined;
398
376
  }>;
399
377
  };
400
- }>, "domains" | "auth" | "emails"> & {
401
- domains: Omit<{
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: {
402
390
  allowLocalhost?: boolean | undefined;
403
- }, "trustedDomains"> & {
404
- trustedDomains: Record<string, {
405
- baseUrl?: string | undefined;
406
- handlerPath?: string | undefined;
391
+ };
392
+ users: {
393
+ allowClientUserDeletion?: boolean | undefined;
394
+ };
395
+ dataVault: {
396
+ stores: Record<string, {
397
+ displayName?: string | undefined;
407
398
  }>;
408
399
  };
400
+ }>, "auth" | "emails" | "domains"> & {
409
401
  auth: Omit<{
410
402
  allowSignUp?: boolean | undefined;
411
403
  password: {
@@ -469,9 +461,17 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
469
461
  senderEmail?: string | undefined;
470
462
  };
471
463
  };
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>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
474
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "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
- }>, "domains" | "auth" | "emails"> & {
538
+ }>, "auth" | "emails" | "domains"> & {
539
539
  auth: Omit<NonNullable<Omit<Omit<{
540
540
  sourceOfTruth: undefined;
541
- }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
541
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "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>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
608
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "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>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
678
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "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>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
756
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
757
757
  rbac: {
758
758
  permissions: undefined;
759
759
  defaultPermissions: {
@@ -831,33 +831,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
831
831
  type: "postgres";
832
832
  connectionString: string;
833
833
  };
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
- };
834
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "dataVault"> & {
861
835
  auth: {
862
836
  allowSignUp?: boolean | undefined;
863
837
  password: {
@@ -878,6 +852,22 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
878
852
  }>;
879
853
  };
880
854
  };
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
+ };
881
871
  payments: {
882
872
  autoPay?: {
883
873
  interval?: DayInterval | undefined;
@@ -891,8 +881,8 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
891
881
  displayName?: string | undefined;
892
882
  }>;
893
883
  products: Record<string, {
894
- displayName?: string | undefined;
895
884
  catalogId?: string | undefined;
885
+ displayName?: string | undefined;
896
886
  isAddOnTo?: false | Record<string, true> | undefined;
897
887
  freeTrial?: DayInterval | undefined;
898
888
  serverOnly?: boolean | undefined;
@@ -917,20 +907,6 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
917
907
  }>;
918
908
  }>;
919
909
  };
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
- };
934
910
  emails: {
935
911
  selectedThemeId?: string | undefined;
936
912
  themes: Record<string, {
@@ -943,20 +919,36 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
943
919
  tsxSource: string;
944
920
  }>;
945
921
  };
946
- dataVault: {
947
- stores: Record<string, {
922
+ workflows: {
923
+ availableWorkflows: Record<string, {
924
+ enabled?: boolean | undefined;
948
925
  displayName?: string | undefined;
926
+ tsSource?: string | undefined;
949
927
  }>;
950
928
  };
951
- }>, "domains" | "auth" | "emails"> & {
952
- domains: Omit<{
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: {
953
941
  allowLocalhost?: boolean | undefined;
954
- }, "trustedDomains"> & {
955
- trustedDomains: Record<string, {
956
- baseUrl?: string | undefined;
957
- handlerPath?: string | undefined;
942
+ };
943
+ users: {
944
+ allowClientUserDeletion?: boolean | undefined;
945
+ };
946
+ dataVault: {
947
+ stores: Record<string, {
948
+ displayName?: string | undefined;
958
949
  }>;
959
950
  };
951
+ }>, "auth" | "emails" | "domains"> & {
960
952
  auth: Omit<{
961
953
  allowSignUp?: boolean | undefined;
962
954
  password: {
@@ -1020,9 +1012,17 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1020
1012
  senderEmail?: string | undefined;
1021
1013
  };
1022
1014
  };
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>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
1025
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "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
- }>, "domains" | "auth" | "emails"> & {
1089
+ }>, "auth" | "emails" | "domains"> & {
1090
1090
  auth: Omit<NonNullable<Omit<Omit<{
1091
1091
  sourceOfTruth: undefined;
1092
- }, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
1092
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "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>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
1159
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "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>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
1229
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "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>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
1307
+ }, string>, "auth" | "teams" | "rbac" | "payments" | "emails" | "workflows" | "apiKeys" | "apps" | "domains" | "users" | "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" | "rbac" | "payments" | "workflows" | "teams" | "authentication" | "api-keys" | "emails" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
1405
+ readonly installed: Record<"neon" | "authentication" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "email-api" | "data-vault" | "workflows" | "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
- displayName: string;
1670
1669
  catalogId: string | undefined;
1670
+ displayName: string;
1671
1671
  customerType: "team" | "user" | "custom";
1672
1672
  freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
1673
1673
  serverOnly: boolean;
@@ -1717,11 +1717,42 @@ 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
+ };
1720
1751
  rbac: {
1721
1752
  permissions: {
1722
1753
  [x: string]: {
1723
1754
  description: string | undefined;
1724
- scope: "team" | "project" | undefined;
1755
+ scope: "project" | "team" | undefined;
1725
1756
  containedPermissionIds: {
1726
1757
  [x: string]: true | undefined;
1727
1758
  };
@@ -1739,6 +1770,15 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1739
1770
  };
1740
1771
  };
1741
1772
  };
1773
+ workflows: {
1774
+ availableWorkflows: {
1775
+ [x: string]: {
1776
+ enabled: boolean;
1777
+ displayName: string;
1778
+ tsSource: string;
1779
+ };
1780
+ };
1781
+ };
1742
1782
  apiKeys: {
1743
1783
  enabled: {
1744
1784
  team: boolean;
@@ -1750,24 +1790,21 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1750
1790
  neon: {
1751
1791
  enabled: boolean;
1752
1792
  };
1753
- rbac: {
1754
- enabled: boolean;
1755
- };
1756
- payments: {
1757
- enabled: boolean;
1758
- };
1759
- workflows: {
1793
+ authentication: {
1760
1794
  enabled: boolean;
1761
1795
  };
1762
1796
  teams: {
1763
1797
  enabled: boolean;
1764
1798
  };
1765
- authentication: {
1799
+ rbac: {
1766
1800
  enabled: boolean;
1767
1801
  };
1768
1802
  "api-keys": {
1769
1803
  enabled: boolean;
1770
1804
  };
1805
+ payments: {
1806
+ enabled: boolean;
1807
+ };
1771
1808
  emails: {
1772
1809
  enabled: boolean;
1773
1810
  };
@@ -1777,6 +1814,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1777
1814
  "data-vault": {
1778
1815
  enabled: boolean;
1779
1816
  };
1817
+ workflows: {
1818
+ enabled: boolean;
1819
+ };
1780
1820
  webhooks: {
1781
1821
  enabled: boolean;
1782
1822
  };
@@ -1803,46 +1843,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1803
1843
  };
1804
1844
  };
1805
1845
  };
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
  };