@stackframe/stack-shared 2.8.35 → 2.8.39

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 (126) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/config/schema.d.mts +240 -104
  3. package/dist/config/schema.d.ts +240 -104
  4. package/dist/config/schema.js +61 -27
  5. package/dist/config/schema.js.map +1 -1
  6. package/dist/esm/config/schema.js +61 -27
  7. package/dist/esm/config/schema.js.map +1 -1
  8. package/dist/esm/helpers/vault/client-side.js +46 -0
  9. package/dist/esm/helpers/vault/client-side.js.map +1 -0
  10. package/dist/esm/helpers/vault/server-side.js +96 -0
  11. package/dist/esm/helpers/vault/server-side.js.map +1 -0
  12. package/dist/esm/hooks/use-hover.js +71 -0
  13. package/dist/esm/hooks/use-hover.js.map +1 -0
  14. package/dist/esm/interface/admin-interface.js +74 -5
  15. package/dist/esm/interface/admin-interface.js.map +1 -1
  16. package/dist/esm/interface/client-interface.js +29 -26
  17. package/dist/esm/interface/client-interface.js.map +1 -1
  18. package/dist/esm/interface/crud/oauth-providers.js +2 -0
  19. package/dist/esm/interface/crud/oauth-providers.js.map +1 -1
  20. package/dist/esm/interface/crud/transactions.js +21 -0
  21. package/dist/esm/interface/crud/transactions.js.map +1 -0
  22. package/dist/esm/interface/server-interface.js +43 -7
  23. package/dist/esm/interface/server-interface.js.map +1 -1
  24. package/dist/esm/known-errors.js +58 -1
  25. package/dist/esm/known-errors.js.map +1 -1
  26. package/dist/esm/schema-fields.js +6 -3
  27. package/dist/esm/schema-fields.js.map +1 -1
  28. package/dist/esm/utils/arrays.js +25 -0
  29. package/dist/esm/utils/arrays.js.map +1 -1
  30. package/dist/esm/utils/bytes.js +1 -2
  31. package/dist/esm/utils/bytes.js.map +1 -1
  32. package/dist/esm/utils/crypto.js +83 -2
  33. package/dist/esm/utils/crypto.js.map +1 -1
  34. package/dist/esm/utils/esbuild.js +63 -6
  35. package/dist/esm/utils/esbuild.js.map +1 -1
  36. package/dist/esm/utils/jwt.js +16 -1
  37. package/dist/esm/utils/jwt.js.map +1 -1
  38. package/dist/esm/utils/numbers.js +14 -9
  39. package/dist/esm/utils/numbers.js.map +1 -1
  40. package/dist/esm/utils/promises.js +2 -1
  41. package/dist/esm/utils/promises.js.map +1 -1
  42. package/dist/esm/utils/react.js +7 -3
  43. package/dist/esm/utils/react.js.map +1 -1
  44. package/dist/esm/utils/types.js.map +1 -1
  45. package/dist/helpers/password.d.mts +4 -4
  46. package/dist/helpers/password.d.ts +4 -4
  47. package/dist/helpers/vault/client-side.d.mts +14 -0
  48. package/dist/helpers/vault/client-side.d.ts +14 -0
  49. package/dist/helpers/vault/client-side.js +73 -0
  50. package/dist/helpers/vault/client-side.js.map +1 -0
  51. package/dist/helpers/vault/server-side.d.mts +7 -0
  52. package/dist/helpers/vault/server-side.d.ts +7 -0
  53. package/dist/helpers/vault/server-side.js +115 -0
  54. package/dist/helpers/vault/server-side.js.map +1 -0
  55. package/dist/hooks/use-hover.d.mts +6 -0
  56. package/dist/hooks/use-hover.d.ts +6 -0
  57. package/dist/hooks/use-hover.js +96 -0
  58. package/dist/hooks/use-hover.js.map +1 -0
  59. package/dist/index.d.mts +6 -4
  60. package/dist/index.d.ts +6 -4
  61. package/dist/interface/admin-interface.d.mts +45 -8
  62. package/dist/interface/admin-interface.d.ts +45 -8
  63. package/dist/interface/admin-interface.js +74 -5
  64. package/dist/interface/admin-interface.js.map +1 -1
  65. package/dist/interface/client-interface.d.mts +5 -21
  66. package/dist/interface/client-interface.d.ts +5 -21
  67. package/dist/interface/client-interface.js +29 -26
  68. package/dist/interface/client-interface.js.map +1 -1
  69. package/dist/interface/crud/current-user.d.mts +1 -1
  70. package/dist/interface/crud/current-user.d.ts +1 -1
  71. package/dist/interface/crud/oauth-providers.d.mts +8 -0
  72. package/dist/interface/crud/oauth-providers.d.ts +8 -0
  73. package/dist/interface/crud/oauth-providers.js +1 -0
  74. package/dist/interface/crud/oauth-providers.js.map +1 -1
  75. package/dist/interface/crud/project-api-keys.d.mts +4 -4
  76. package/dist/interface/crud/project-api-keys.d.ts +4 -4
  77. package/dist/interface/crud/team-member-profiles.d.mts +2 -2
  78. package/dist/interface/crud/team-member-profiles.d.ts +2 -2
  79. package/dist/interface/crud/transactions.d.mts +56 -0
  80. package/dist/interface/crud/transactions.d.ts +56 -0
  81. package/dist/interface/crud/transactions.js +46 -0
  82. package/dist/interface/crud/transactions.js.map +1 -0
  83. package/dist/interface/crud/users.d.mts +2 -2
  84. package/dist/interface/crud/users.d.ts +2 -2
  85. package/dist/interface/server-interface.d.mts +10 -43
  86. package/dist/interface/server-interface.d.ts +10 -43
  87. package/dist/interface/server-interface.js +43 -7
  88. package/dist/interface/server-interface.js.map +1 -1
  89. package/dist/known-errors.d.mts +15 -0
  90. package/dist/known-errors.d.ts +15 -0
  91. package/dist/known-errors.js +58 -1
  92. package/dist/known-errors.js.map +1 -1
  93. package/dist/schema-fields.d.mts +4 -3
  94. package/dist/schema-fields.d.ts +4 -3
  95. package/dist/schema-fields.js +7 -3
  96. package/dist/schema-fields.js.map +1 -1
  97. package/dist/utils/arrays.d.mts +6 -1
  98. package/dist/utils/arrays.d.ts +6 -1
  99. package/dist/utils/arrays.js +30 -0
  100. package/dist/utils/arrays.js.map +1 -1
  101. package/dist/utils/bytes.js +1 -2
  102. package/dist/utils/bytes.js.map +1 -1
  103. package/dist/utils/crypto.d.mts +31 -1
  104. package/dist/utils/crypto.d.ts +31 -1
  105. package/dist/utils/crypto.js +87 -2
  106. package/dist/utils/crypto.js.map +1 -1
  107. package/dist/utils/esbuild.d.mts +1 -0
  108. package/dist/utils/esbuild.d.ts +1 -0
  109. package/dist/utils/esbuild.js +63 -6
  110. package/dist/utils/esbuild.js.map +1 -1
  111. package/dist/utils/jwt.d.mts +34 -1
  112. package/dist/utils/jwt.d.ts +34 -1
  113. package/dist/utils/jwt.js +16 -0
  114. package/dist/utils/jwt.js.map +1 -1
  115. package/dist/utils/numbers.js +14 -9
  116. package/dist/utils/numbers.js.map +1 -1
  117. package/dist/utils/promises.d.mts +1 -1
  118. package/dist/utils/promises.d.ts +1 -1
  119. package/dist/utils/promises.js +2 -1
  120. package/dist/utils/promises.js.map +1 -1
  121. package/dist/utils/react.js +7 -3
  122. package/dist/utils/react.js.map +1 -1
  123. package/dist/utils/types.d.mts +10 -1
  124. package/dist/utils/types.d.ts +10 -1
  125. package/dist/utils/types.js.map +1 -1
  126. package/package.json +4 -2
@@ -37,17 +37,14 @@ declare const branchPaymentsSchema: yup.ObjectSchema<{
37
37
  displayName?: string | undefined;
38
38
  }>;
39
39
  offers: Record<string, {
40
- groupId?: string | undefined;
41
40
  displayName?: string | undefined;
42
- isAddOnTo?: false | Record<string, true> | undefined;
43
- freeTrial?: DayInterval | undefined;
44
41
  serverOnly?: boolean | undefined;
42
+ freeTrial?: DayInterval | undefined;
43
+ groupId?: string | undefined;
44
+ isAddOnTo?: false | Record<string, true> | undefined;
45
45
  stackable?: boolean | undefined;
46
46
  customerType: "team" | "user" | "custom";
47
47
  prices: "include-by-default" | Record<string, {
48
- interval?: DayInterval | undefined;
49
- freeTrial?: DayInterval | undefined;
50
- serverOnly?: boolean | undefined;
51
48
  USD?: string | undefined;
52
49
  EUR?: string | undefined;
53
50
  GBP?: string | undefined;
@@ -55,6 +52,9 @@ declare const branchPaymentsSchema: yup.ObjectSchema<{
55
52
  INR?: string | undefined;
56
53
  AUD?: string | undefined;
57
54
  CAD?: string | undefined;
55
+ interval?: DayInterval | undefined;
56
+ serverOnly?: boolean | undefined;
57
+ freeTrial?: DayInterval | undefined;
58
58
  }>;
59
59
  includedItems: Record<string, {
60
60
  repeat?: "never" | DayInterval | undefined;
@@ -84,11 +84,18 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
84
84
  type: "postgres";
85
85
  connectionString: string;
86
86
  };
87
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
87
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
88
+ domains: {
89
+ allowLocalhost?: boolean | undefined;
90
+ };
91
+ teams: {
92
+ createPersonalTeamOnSignUp?: boolean | undefined;
93
+ allowClientTeamCreation?: boolean | undefined;
94
+ };
88
95
  rbac: {
89
96
  permissions: Record<string, {
90
97
  description?: string | undefined;
91
- scope?: "project" | "team" | undefined;
98
+ scope?: "team" | "project" | undefined;
92
99
  containedPermissionIds?: Record<string, true | undefined> | undefined;
93
100
  } | undefined>;
94
101
  defaultPermissions: {
@@ -103,9 +110,6 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
103
110
  user?: boolean | undefined;
104
111
  };
105
112
  };
106
- domains: {
107
- allowLocalhost?: boolean | undefined;
108
- };
109
113
  auth: {
110
114
  allowSignUp?: boolean | undefined;
111
115
  password: {
@@ -120,7 +124,7 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
120
124
  oauth: {
121
125
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
122
126
  providers: Record<string, {
123
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
127
+ type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
124
128
  allowSignIn?: boolean | undefined;
125
129
  allowConnectedAccounts?: boolean | undefined;
126
130
  }>;
@@ -138,17 +142,14 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
138
142
  displayName?: string | undefined;
139
143
  }>;
140
144
  offers: Record<string, {
141
- groupId?: string | undefined;
142
145
  displayName?: string | undefined;
143
- isAddOnTo?: false | Record<string, true> | undefined;
144
- freeTrial?: DayInterval | undefined;
145
146
  serverOnly?: boolean | undefined;
147
+ freeTrial?: DayInterval | undefined;
148
+ groupId?: string | undefined;
149
+ isAddOnTo?: false | Record<string, true> | undefined;
146
150
  stackable?: boolean | undefined;
147
151
  customerType: "team" | "user" | "custom";
148
152
  prices: "include-by-default" | Record<string, {
149
- interval?: DayInterval | undefined;
150
- freeTrial?: DayInterval | undefined;
151
- serverOnly?: boolean | undefined;
152
153
  USD?: string | undefined;
153
154
  EUR?: string | undefined;
154
155
  GBP?: string | undefined;
@@ -156,6 +157,9 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
156
157
  INR?: string | undefined;
157
158
  AUD?: string | undefined;
158
159
  CAD?: string | undefined;
160
+ interval?: DayInterval | undefined;
161
+ serverOnly?: boolean | undefined;
162
+ freeTrial?: DayInterval | undefined;
159
163
  }>;
160
164
  includedItems: Record<string, {
161
165
  repeat?: "never" | DayInterval | undefined;
@@ -164,9 +168,12 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
164
168
  }>;
165
169
  }>;
166
170
  };
167
- teams: {
168
- createPersonalTeamOnSignUp?: boolean | undefined;
169
- allowClientTeamCreation?: boolean | undefined;
171
+ workflows: {
172
+ availableWorkflows: Record<string, {
173
+ displayName?: string | undefined;
174
+ enabled?: boolean | undefined;
175
+ tsSource?: string | undefined;
176
+ }>;
170
177
  };
171
178
  users: {
172
179
  allowClientUserDeletion?: boolean | undefined;
@@ -183,9 +190,14 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
183
190
  tsxSource: string;
184
191
  }>;
185
192
  };
193
+ dataVault: {
194
+ stores: Record<string, {
195
+ displayName?: string | undefined;
196
+ }>;
197
+ };
186
198
  }, yup.AnyObject, Omit<Omit<{
187
199
  sourceOfTruth: undefined;
188
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
200
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
189
201
  rbac: {
190
202
  permissions: undefined;
191
203
  defaultPermissions: {
@@ -239,6 +251,12 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
239
251
  offers: undefined;
240
252
  items: undefined;
241
253
  };
254
+ dataVault: {
255
+ stores: undefined;
256
+ };
257
+ workflows: {
258
+ availableWorkflows: undefined;
259
+ };
242
260
  }, "">;
243
261
  declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
244
262
  sourceOfTruth: {
@@ -250,11 +268,18 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
250
268
  type: "postgres";
251
269
  connectionString: string;
252
270
  };
253
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
271
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
272
+ domains: {
273
+ allowLocalhost?: boolean | undefined;
274
+ };
275
+ teams: {
276
+ createPersonalTeamOnSignUp?: boolean | undefined;
277
+ allowClientTeamCreation?: boolean | undefined;
278
+ };
254
279
  rbac: {
255
280
  permissions: Record<string, {
256
281
  description?: string | undefined;
257
- scope?: "project" | "team" | undefined;
282
+ scope?: "team" | "project" | undefined;
258
283
  containedPermissionIds?: Record<string, true | undefined> | undefined;
259
284
  } | undefined>;
260
285
  defaultPermissions: {
@@ -269,9 +294,6 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
269
294
  user?: boolean | undefined;
270
295
  };
271
296
  };
272
- domains: {
273
- allowLocalhost?: boolean | undefined;
274
- };
275
297
  auth: {
276
298
  allowSignUp?: boolean | undefined;
277
299
  password: {
@@ -286,7 +308,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
286
308
  oauth: {
287
309
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
288
310
  providers: Record<string, {
289
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
311
+ type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
290
312
  allowSignIn?: boolean | undefined;
291
313
  allowConnectedAccounts?: boolean | undefined;
292
314
  }>;
@@ -304,17 +326,14 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
304
326
  displayName?: string | undefined;
305
327
  }>;
306
328
  offers: Record<string, {
307
- groupId?: string | undefined;
308
329
  displayName?: string | undefined;
309
- isAddOnTo?: false | Record<string, true> | undefined;
310
- freeTrial?: DayInterval | undefined;
311
330
  serverOnly?: boolean | undefined;
331
+ freeTrial?: DayInterval | undefined;
332
+ groupId?: string | undefined;
333
+ isAddOnTo?: false | Record<string, true> | undefined;
312
334
  stackable?: boolean | undefined;
313
335
  customerType: "team" | "user" | "custom";
314
336
  prices: "include-by-default" | Record<string, {
315
- interval?: DayInterval | undefined;
316
- freeTrial?: DayInterval | undefined;
317
- serverOnly?: boolean | undefined;
318
337
  USD?: string | undefined;
319
338
  EUR?: string | undefined;
320
339
  GBP?: string | undefined;
@@ -322,6 +341,9 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
322
341
  INR?: string | undefined;
323
342
  AUD?: string | undefined;
324
343
  CAD?: string | undefined;
344
+ interval?: DayInterval | undefined;
345
+ serverOnly?: boolean | undefined;
346
+ freeTrial?: DayInterval | undefined;
325
347
  }>;
326
348
  includedItems: Record<string, {
327
349
  repeat?: "never" | DayInterval | undefined;
@@ -330,9 +352,12 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
330
352
  }>;
331
353
  }>;
332
354
  };
333
- teams: {
334
- createPersonalTeamOnSignUp?: boolean | undefined;
335
- allowClientTeamCreation?: boolean | undefined;
355
+ workflows: {
356
+ availableWorkflows: Record<string, {
357
+ displayName?: string | undefined;
358
+ enabled?: boolean | undefined;
359
+ tsSource?: string | undefined;
360
+ }>;
336
361
  };
337
362
  users: {
338
363
  allowClientUserDeletion?: boolean | undefined;
@@ -349,6 +374,11 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
349
374
  tsxSource: string;
350
375
  }>;
351
376
  };
377
+ dataVault: {
378
+ stores: Record<string, {
379
+ displayName?: string | undefined;
380
+ }>;
381
+ };
352
382
  }>, "domains" | "auth" | "emails"> & {
353
383
  domains: Omit<{
354
384
  allowLocalhost?: boolean | undefined;
@@ -372,7 +402,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
372
402
  oauth: {
373
403
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
374
404
  providers: Record<string, {
375
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
405
+ type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
376
406
  allowSignIn?: boolean | undefined;
377
407
  allowConnectedAccounts?: boolean | undefined;
378
408
  }>;
@@ -381,18 +411,18 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
381
411
  oauth: Omit<{
382
412
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
383
413
  providers: Record<string, {
384
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
414
+ type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
385
415
  allowSignIn?: boolean | undefined;
386
416
  allowConnectedAccounts?: boolean | undefined;
387
417
  }>;
388
418
  }, "providers"> & {
389
419
  providers: Record<string, {
390
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
420
+ type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
421
+ clientId?: string | undefined;
422
+ clientSecret?: string | undefined;
391
423
  allowSignIn?: boolean | undefined;
392
424
  allowConnectedAccounts?: boolean | undefined;
393
425
  isShared?: boolean | undefined;
394
- clientId?: string | undefined;
395
- clientSecret?: string | undefined;
396
426
  facebookConfigId?: string | undefined;
397
427
  microsoftTenantId?: string | undefined;
398
428
  }>;
@@ -411,18 +441,19 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
411
441
  }>;
412
442
  }, "server"> & {
413
443
  server: {
414
- password?: string | undefined;
415
- isShared?: boolean | undefined;
416
444
  host?: string | undefined;
417
445
  port?: number | undefined;
418
446
  username?: string | undefined;
447
+ password?: string | undefined;
448
+ isShared?: boolean | undefined;
449
+ provider?: "resend" | "smtp" | undefined;
419
450
  senderName?: string | undefined;
420
451
  senderEmail?: string | undefined;
421
452
  };
422
453
  };
423
454
  }, yup.AnyObject, Omit<NonNullable<Omit<Omit<{
424
455
  sourceOfTruth: undefined;
425
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
456
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
426
457
  rbac: {
427
458
  permissions: undefined;
428
459
  defaultPermissions: {
@@ -476,10 +507,16 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
476
507
  offers: undefined;
477
508
  items: undefined;
478
509
  };
510
+ dataVault: {
511
+ stores: undefined;
512
+ };
513
+ workflows: {
514
+ availableWorkflows: undefined;
515
+ };
479
516
  }>, "domains" | "auth" | "emails"> & {
480
517
  auth: Omit<NonNullable<Omit<Omit<{
481
518
  sourceOfTruth: undefined;
482
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
519
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
483
520
  rbac: {
484
521
  permissions: undefined;
485
522
  defaultPermissions: {
@@ -533,10 +570,16 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
533
570
  offers: undefined;
534
571
  items: undefined;
535
572
  };
573
+ dataVault: {
574
+ stores: undefined;
575
+ };
576
+ workflows: {
577
+ availableWorkflows: undefined;
578
+ };
536
579
  }>, "oauth"> & {
537
580
  oauth: Omit<NonNullable<Omit<Omit<{
538
581
  sourceOfTruth: undefined;
539
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
582
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
540
583
  rbac: {
541
584
  permissions: undefined;
542
585
  defaultPermissions: {
@@ -590,13 +633,19 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
590
633
  offers: undefined;
591
634
  items: undefined;
592
635
  };
636
+ dataVault: {
637
+ stores: undefined;
638
+ };
639
+ workflows: {
640
+ availableWorkflows: undefined;
641
+ };
593
642
  }>, "providers"> & {
594
643
  providers: undefined;
595
644
  };
596
645
  };
597
646
  emails: Omit<NonNullable<Omit<Omit<{
598
647
  sourceOfTruth: undefined;
599
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
648
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
600
649
  rbac: {
601
650
  permissions: undefined;
602
651
  defaultPermissions: {
@@ -650,9 +699,16 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
650
699
  offers: undefined;
651
700
  items: undefined;
652
701
  };
702
+ dataVault: {
703
+ stores: undefined;
704
+ };
705
+ workflows: {
706
+ availableWorkflows: undefined;
707
+ };
653
708
  }>, "server"> & {
654
709
  server: {
655
710
  isShared: undefined;
711
+ provider: undefined;
656
712
  host: undefined;
657
713
  port: undefined;
658
714
  username: undefined;
@@ -663,7 +719,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
663
719
  };
664
720
  domains: Omit<NonNullable<Omit<Omit<{
665
721
  sourceOfTruth: undefined;
666
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
722
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
667
723
  rbac: {
668
724
  permissions: undefined;
669
725
  defaultPermissions: {
@@ -717,6 +773,12 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
717
773
  offers: undefined;
718
774
  items: undefined;
719
775
  };
776
+ dataVault: {
777
+ stores: undefined;
778
+ };
779
+ workflows: {
780
+ availableWorkflows: undefined;
781
+ };
720
782
  }>, "trustedDomains"> & {
721
783
  trustedDomains: undefined;
722
784
  };
@@ -731,11 +793,18 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
731
793
  type: "postgres";
732
794
  connectionString: string;
733
795
  };
734
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
796
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
797
+ domains: {
798
+ allowLocalhost?: boolean | undefined;
799
+ };
800
+ teams: {
801
+ createPersonalTeamOnSignUp?: boolean | undefined;
802
+ allowClientTeamCreation?: boolean | undefined;
803
+ };
735
804
  rbac: {
736
805
  permissions: Record<string, {
737
806
  description?: string | undefined;
738
- scope?: "project" | "team" | undefined;
807
+ scope?: "team" | "project" | undefined;
739
808
  containedPermissionIds?: Record<string, true | undefined> | undefined;
740
809
  } | undefined>;
741
810
  defaultPermissions: {
@@ -750,9 +819,6 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
750
819
  user?: boolean | undefined;
751
820
  };
752
821
  };
753
- domains: {
754
- allowLocalhost?: boolean | undefined;
755
- };
756
822
  auth: {
757
823
  allowSignUp?: boolean | undefined;
758
824
  password: {
@@ -767,7 +833,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
767
833
  oauth: {
768
834
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
769
835
  providers: Record<string, {
770
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
836
+ type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
771
837
  allowSignIn?: boolean | undefined;
772
838
  allowConnectedAccounts?: boolean | undefined;
773
839
  }>;
@@ -785,17 +851,14 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
785
851
  displayName?: string | undefined;
786
852
  }>;
787
853
  offers: Record<string, {
788
- groupId?: string | undefined;
789
854
  displayName?: string | undefined;
790
- isAddOnTo?: false | Record<string, true> | undefined;
791
- freeTrial?: DayInterval | undefined;
792
855
  serverOnly?: boolean | undefined;
856
+ freeTrial?: DayInterval | undefined;
857
+ groupId?: string | undefined;
858
+ isAddOnTo?: false | Record<string, true> | undefined;
793
859
  stackable?: boolean | undefined;
794
860
  customerType: "team" | "user" | "custom";
795
861
  prices: "include-by-default" | Record<string, {
796
- interval?: DayInterval | undefined;
797
- freeTrial?: DayInterval | undefined;
798
- serverOnly?: boolean | undefined;
799
862
  USD?: string | undefined;
800
863
  EUR?: string | undefined;
801
864
  GBP?: string | undefined;
@@ -803,6 +866,9 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
803
866
  INR?: string | undefined;
804
867
  AUD?: string | undefined;
805
868
  CAD?: string | undefined;
869
+ interval?: DayInterval | undefined;
870
+ serverOnly?: boolean | undefined;
871
+ freeTrial?: DayInterval | undefined;
806
872
  }>;
807
873
  includedItems: Record<string, {
808
874
  repeat?: "never" | DayInterval | undefined;
@@ -811,9 +877,12 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
811
877
  }>;
812
878
  }>;
813
879
  };
814
- teams: {
815
- createPersonalTeamOnSignUp?: boolean | undefined;
816
- allowClientTeamCreation?: boolean | undefined;
880
+ workflows: {
881
+ availableWorkflows: Record<string, {
882
+ displayName?: string | undefined;
883
+ enabled?: boolean | undefined;
884
+ tsSource?: string | undefined;
885
+ }>;
817
886
  };
818
887
  users: {
819
888
  allowClientUserDeletion?: boolean | undefined;
@@ -830,6 +899,11 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
830
899
  tsxSource: string;
831
900
  }>;
832
901
  };
902
+ dataVault: {
903
+ stores: Record<string, {
904
+ displayName?: string | undefined;
905
+ }>;
906
+ };
833
907
  }>, "domains" | "auth" | "emails"> & {
834
908
  domains: Omit<{
835
909
  allowLocalhost?: boolean | undefined;
@@ -853,7 +927,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
853
927
  oauth: {
854
928
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
855
929
  providers: Record<string, {
856
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
930
+ type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
857
931
  allowSignIn?: boolean | undefined;
858
932
  allowConnectedAccounts?: boolean | undefined;
859
933
  }>;
@@ -862,18 +936,18 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
862
936
  oauth: Omit<{
863
937
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
864
938
  providers: Record<string, {
865
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
939
+ type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
866
940
  allowSignIn?: boolean | undefined;
867
941
  allowConnectedAccounts?: boolean | undefined;
868
942
  }>;
869
943
  }, "providers"> & {
870
944
  providers: Record<string, {
871
- type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
945
+ type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
946
+ clientId?: string | undefined;
947
+ clientSecret?: string | undefined;
872
948
  allowSignIn?: boolean | undefined;
873
949
  allowConnectedAccounts?: boolean | undefined;
874
950
  isShared?: boolean | undefined;
875
- clientId?: string | undefined;
876
- clientSecret?: string | undefined;
877
951
  facebookConfigId?: string | undefined;
878
952
  microsoftTenantId?: string | undefined;
879
953
  }>;
@@ -892,18 +966,19 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
892
966
  }>;
893
967
  }, "server"> & {
894
968
  server: {
895
- password?: string | undefined;
896
- isShared?: boolean | undefined;
897
969
  host?: string | undefined;
898
970
  port?: number | undefined;
899
971
  username?: string | undefined;
972
+ password?: string | undefined;
973
+ isShared?: boolean | undefined;
974
+ provider?: "resend" | "smtp" | undefined;
900
975
  senderName?: string | undefined;
901
976
  senderEmail?: string | undefined;
902
977
  };
903
978
  };
904
979
  }>, never> & {}, yup.AnyObject, Omit<NonNullable<Omit<NonNullable<Omit<Omit<{
905
980
  sourceOfTruth: undefined;
906
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
981
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
907
982
  rbac: {
908
983
  permissions: undefined;
909
984
  defaultPermissions: {
@@ -957,10 +1032,16 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
957
1032
  offers: undefined;
958
1033
  items: undefined;
959
1034
  };
1035
+ dataVault: {
1036
+ stores: undefined;
1037
+ };
1038
+ workflows: {
1039
+ availableWorkflows: undefined;
1040
+ };
960
1041
  }>, "domains" | "auth" | "emails"> & {
961
1042
  auth: Omit<NonNullable<Omit<Omit<{
962
1043
  sourceOfTruth: undefined;
963
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
1044
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
964
1045
  rbac: {
965
1046
  permissions: undefined;
966
1047
  defaultPermissions: {
@@ -1014,10 +1095,16 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1014
1095
  offers: undefined;
1015
1096
  items: undefined;
1016
1097
  };
1098
+ dataVault: {
1099
+ stores: undefined;
1100
+ };
1101
+ workflows: {
1102
+ availableWorkflows: undefined;
1103
+ };
1017
1104
  }>, "oauth"> & {
1018
1105
  oauth: Omit<NonNullable<Omit<Omit<{
1019
1106
  sourceOfTruth: undefined;
1020
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
1107
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
1021
1108
  rbac: {
1022
1109
  permissions: undefined;
1023
1110
  defaultPermissions: {
@@ -1071,13 +1158,19 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1071
1158
  offers: undefined;
1072
1159
  items: undefined;
1073
1160
  };
1161
+ dataVault: {
1162
+ stores: undefined;
1163
+ };
1164
+ workflows: {
1165
+ availableWorkflows: undefined;
1166
+ };
1074
1167
  }>, "providers"> & {
1075
1168
  providers: undefined;
1076
1169
  };
1077
1170
  };
1078
1171
  emails: Omit<NonNullable<Omit<Omit<{
1079
1172
  sourceOfTruth: undefined;
1080
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
1173
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
1081
1174
  rbac: {
1082
1175
  permissions: undefined;
1083
1176
  defaultPermissions: {
@@ -1131,9 +1224,16 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1131
1224
  offers: undefined;
1132
1225
  items: undefined;
1133
1226
  };
1227
+ dataVault: {
1228
+ stores: undefined;
1229
+ };
1230
+ workflows: {
1231
+ availableWorkflows: undefined;
1232
+ };
1134
1233
  }>, "server"> & {
1135
1234
  server: {
1136
1235
  isShared: undefined;
1236
+ provider: undefined;
1137
1237
  host: undefined;
1138
1238
  port: undefined;
1139
1239
  username: undefined;
@@ -1144,7 +1244,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1144
1244
  };
1145
1245
  domains: Omit<NonNullable<Omit<Omit<{
1146
1246
  sourceOfTruth: undefined;
1147
- }, string>, "rbac" | "apiKeys" | "domains" | "auth" | "payments" | "teams" | "users" | "emails"> & {
1247
+ }, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "workflows" | "users" | "emails" | "dataVault"> & {
1148
1248
  rbac: {
1149
1249
  permissions: undefined;
1150
1250
  defaultPermissions: {
@@ -1198,6 +1298,12 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
1198
1298
  offers: undefined;
1199
1299
  items: undefined;
1200
1300
  };
1301
+ dataVault: {
1302
+ stores: undefined;
1303
+ };
1304
+ workflows: {
1305
+ availableWorkflows: undefined;
1306
+ };
1201
1307
  }>, "trustedDomains"> & {
1202
1308
  trustedDomains: undefined;
1203
1309
  };
@@ -1273,6 +1379,7 @@ declare const organizationConfigDefaults: {
1273
1379
  readonly emails: {
1274
1380
  readonly server: {
1275
1381
  readonly isShared: true;
1382
+ readonly provider: "smtp";
1276
1383
  readonly host: undefined;
1277
1384
  readonly port: undefined;
1278
1385
  readonly username: undefined;
@@ -1362,6 +1469,18 @@ declare const organizationConfigDefaults: {
1362
1469
  readonly customerType: "user";
1363
1470
  };
1364
1471
  };
1472
+ readonly dataVault: {
1473
+ readonly stores: (key: string) => {
1474
+ displayName: string;
1475
+ };
1476
+ };
1477
+ readonly workflows: {
1478
+ readonly availableWorkflows: (key: string) => {
1479
+ displayName: string;
1480
+ tsSource: string;
1481
+ enabled: false;
1482
+ };
1483
+ };
1365
1484
  };
1366
1485
  type ReplaceFunctionsWithObjects<T> = T & (T extends (arg: infer K extends string) => infer R ? Record<K, R> & object : unknown);
1367
1486
  type DeepReplaceFunctionsWithObjects<T> = T extends object ? {
@@ -1452,11 +1571,12 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1452
1571
  };
1453
1572
  };
1454
1573
  server: {
1455
- password: string | undefined;
1456
- isShared: boolean;
1457
1574
  host: string | undefined;
1458
1575
  port: number | undefined;
1459
1576
  username: string | undefined;
1577
+ password: string | undefined;
1578
+ isShared: boolean;
1579
+ provider: "resend" | "smtp";
1460
1580
  senderName: string | undefined;
1461
1581
  senderEmail: string | undefined;
1462
1582
  };
@@ -1465,9 +1585,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1465
1585
  offers: Record<string, {
1466
1586
  isAddOnTo: false | Record<string, true>;
1467
1587
  prices: "include-by-default" | Record<string, {
1468
- interval?: [number, "day" | "week" | "month" | "year"] | undefined;
1469
- freeTrial?: [number, "day" | "week" | "month" | "year"] | undefined;
1470
- serverOnly: boolean;
1471
1588
  USD?: string | undefined;
1472
1589
  EUR?: string | undefined;
1473
1590
  GBP?: string | undefined;
@@ -1475,16 +1592,19 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1475
1592
  INR?: string | undefined;
1476
1593
  AUD?: string | undefined;
1477
1594
  CAD?: string | undefined;
1595
+ interval?: [number, "day" | "week" | "year" | "month"] | undefined;
1596
+ serverOnly: boolean;
1597
+ freeTrial?: [number, "day" | "week" | "year" | "month"] | undefined;
1478
1598
  }>;
1479
- groupId: string | undefined;
1480
1599
  displayName: string;
1481
- customerType: "team" | "user" | "custom";
1482
- freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
1483
1600
  serverOnly: boolean;
1601
+ freeTrial: [number, "day" | "week" | "year" | "month"] | undefined;
1602
+ groupId: string | undefined;
1603
+ customerType: "team" | "user" | "custom";
1484
1604
  stackable: boolean | undefined;
1485
1605
  includedItems: {
1486
1606
  [x: string]: {
1487
- repeat: "never" | [number, "day" | "week" | "month" | "year"];
1607
+ repeat: "never" | [number, "day" | "week" | "year" | "month"];
1488
1608
  quantity: number;
1489
1609
  expires: "never" | "when-purchase-expires" | "when-repeated";
1490
1610
  };
@@ -1497,7 +1617,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1497
1617
  };
1498
1618
  };
1499
1619
  autoPay: {
1500
- interval?: [number, "day" | "week" | "month" | "year"] | undefined;
1620
+ interval?: [number, "day" | "week" | "year" | "month"] | undefined;
1501
1621
  } | undefined;
1502
1622
  groups: {
1503
1623
  [x: string]: {
@@ -1507,10 +1627,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1507
1627
  };
1508
1628
  sourceOfTruth: {
1509
1629
  type: "hosted" | "neon" | "postgres";
1630
+ connectionString: string | undefined;
1510
1631
  connectionStrings: {
1511
1632
  [x: string]: string | undefined;
1512
1633
  } | undefined;
1513
- connectionString: string | undefined;
1514
1634
  } & ({
1515
1635
  readonly type: "neon";
1516
1636
  readonly connectionStrings: {
@@ -1526,11 +1646,24 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1526
1646
  readonly connectionStrings?: undefined;
1527
1647
  readonly connectionString?: undefined;
1528
1648
  });
1649
+ domains: {
1650
+ allowLocalhost: boolean;
1651
+ trustedDomains: {
1652
+ [x: string]: {
1653
+ baseUrl: string | undefined;
1654
+ handlerPath: string;
1655
+ };
1656
+ };
1657
+ };
1658
+ teams: {
1659
+ createPersonalTeamOnSignUp: boolean;
1660
+ allowClientTeamCreation: boolean;
1661
+ };
1529
1662
  rbac: {
1530
1663
  permissions: {
1531
1664
  [x: string]: {
1532
1665
  description: string | undefined;
1533
- scope: "project" | "team" | undefined;
1666
+ scope: "team" | "project" | undefined;
1534
1667
  containedPermissionIds: {
1535
1668
  [x: string]: true | undefined;
1536
1669
  };
@@ -1554,20 +1687,11 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1554
1687
  user: boolean;
1555
1688
  };
1556
1689
  };
1557
- domains: {
1558
- allowLocalhost: boolean;
1559
- trustedDomains: {
1560
- [x: string]: {
1561
- baseUrl: string | undefined;
1562
- handlerPath: string;
1563
- };
1564
- };
1565
- };
1566
1690
  auth: {
1567
- allowSignUp: boolean;
1568
1691
  password: {
1569
1692
  allowSignIn: boolean;
1570
1693
  };
1694
+ allowSignUp: boolean;
1571
1695
  otp: {
1572
1696
  allowSignIn: boolean;
1573
1697
  };
@@ -1578,25 +1702,37 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
1578
1702
  accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
1579
1703
  providers: {
1580
1704
  [x: string]: {
1581
- type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
1705
+ type: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
1706
+ clientId: string | undefined;
1707
+ clientSecret: string | undefined;
1582
1708
  allowSignIn: boolean;
1583
1709
  allowConnectedAccounts: boolean;
1584
1710
  isShared: boolean;
1585
- clientId: string | undefined;
1586
- clientSecret: string | undefined;
1587
1711
  facebookConfigId: string | undefined;
1588
1712
  microsoftTenantId: string | undefined;
1589
1713
  };
1590
1714
  };
1591
1715
  };
1592
1716
  };
1593
- teams: {
1594
- createPersonalTeamOnSignUp: boolean;
1595
- allowClientTeamCreation: boolean;
1717
+ workflows: {
1718
+ availableWorkflows: {
1719
+ [x: string]: {
1720
+ displayName: string;
1721
+ enabled: boolean;
1722
+ tsSource: string;
1723
+ };
1724
+ };
1596
1725
  };
1597
1726
  users: {
1598
1727
  allowClientUserDeletion: boolean;
1599
1728
  };
1729
+ dataVault: {
1730
+ stores: {
1731
+ [x: string]: {
1732
+ displayName: string;
1733
+ };
1734
+ };
1735
+ };
1600
1736
  }>;
1601
1737
  /**
1602
1738
  * Does not require a base config, and hence solely relies on the override itself to validate the config. If it returns