@hexclave/shared 1.0.12 → 1.0.13

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.
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../chunk-BE-pF4vm.js');
3
- let ______utils_strings_js = require("../../utils/strings.js");
4
3
  let ______apps_apps_config_js = require("../../apps/apps-config.js");
4
+ let ______utils_strings_js = require("../../utils/strings.js");
5
5
 
6
6
  //#region src/ai/unified-prompts/reminders.ts
7
7
  const remindersPrompt = ______utils_strings_js.deindent`
@@ -84,7 +84,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
84
84
  sourceOfTruth: {
85
85
  type: "hosted";
86
86
  };
87
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
87
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
88
88
  payments?: {
89
89
  blockNewPurchases?: boolean | undefined;
90
90
  autoPay?: {
@@ -125,13 +125,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
125
125
  }>;
126
126
  }>;
127
127
  } | undefined;
128
- users: {
129
- allowClientUserDeletion?: boolean | undefined;
130
- };
131
- teams: {
132
- createPersonalTeamOnSignUp?: boolean | undefined;
133
- allowClientTeamCreation?: boolean | undefined;
134
- };
135
128
  rbac: {
136
129
  permissions: Record<string, {
137
130
  description?: string | undefined;
@@ -154,7 +147,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
154
147
  };
155
148
  };
156
149
  apps: {
157
- installed: Record<"teams" | "rbac" | "onboarding" | "payments" | "authentication" | "fraud-protection" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
150
+ installed: Record<"rbac" | "onboarding" | "payments" | "teams" | "authentication" | "fraud-protection" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
158
151
  enabled?: boolean | undefined;
159
152
  }>;
160
153
  };
@@ -168,6 +161,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
168
161
  otp: {
169
162
  allowSignIn?: boolean | undefined;
170
163
  };
164
+ passkey: {
165
+ allowSignIn?: boolean | undefined;
166
+ };
171
167
  oauth: {
172
168
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
173
169
  providers: Record<string, {
@@ -176,9 +172,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
176
172
  allowConnectedAccounts?: boolean | undefined;
177
173
  }>;
178
174
  };
179
- passkey: {
180
- allowSignIn?: boolean | undefined;
181
- };
182
175
  signUpRules: Record<string, {
183
176
  displayName?: string | undefined;
184
177
  enabled?: boolean | undefined;
@@ -190,6 +183,13 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
190
183
  };
191
184
  }>;
192
185
  };
186
+ teams: {
187
+ createPersonalTeamOnSignUp?: boolean | undefined;
188
+ allowClientTeamCreation?: boolean | undefined;
189
+ };
190
+ users: {
191
+ allowClientUserDeletion?: boolean | undefined;
192
+ };
193
193
  emails: {
194
194
  selectedThemeId?: string | undefined;
195
195
  themes: Record<string, {
@@ -218,7 +218,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
218
218
  project: {
219
219
  requirePublishableClientKey: undefined;
220
220
  };
221
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
221
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
222
222
  rbac: {
223
223
  permissions: undefined;
224
224
  defaultPermissions: {
@@ -293,7 +293,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
293
293
  sourceOfTruth: {
294
294
  type: "hosted";
295
295
  };
296
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
296
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
297
297
  payments?: {
298
298
  blockNewPurchases?: boolean | undefined;
299
299
  autoPay?: {
@@ -334,13 +334,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
334
334
  }>;
335
335
  }>;
336
336
  } | undefined;
337
- users: {
338
- allowClientUserDeletion?: boolean | undefined;
339
- };
340
- teams: {
341
- createPersonalTeamOnSignUp?: boolean | undefined;
342
- allowClientTeamCreation?: boolean | undefined;
343
- };
344
337
  rbac: {
345
338
  permissions: Record<string, {
346
339
  description?: string | undefined;
@@ -363,7 +356,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
363
356
  };
364
357
  };
365
358
  apps: {
366
- installed: Record<"teams" | "rbac" | "onboarding" | "payments" | "authentication" | "fraud-protection" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
359
+ installed: Record<"rbac" | "onboarding" | "payments" | "teams" | "authentication" | "fraud-protection" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
367
360
  enabled?: boolean | undefined;
368
361
  }>;
369
362
  };
@@ -377,6 +370,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
377
370
  otp: {
378
371
  allowSignIn?: boolean | undefined;
379
372
  };
373
+ passkey: {
374
+ allowSignIn?: boolean | undefined;
375
+ };
380
376
  oauth: {
381
377
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
382
378
  providers: Record<string, {
@@ -385,9 +381,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
385
381
  allowConnectedAccounts?: boolean | undefined;
386
382
  }>;
387
383
  };
388
- passkey: {
389
- allowSignIn?: boolean | undefined;
390
- };
391
384
  signUpRules: Record<string, {
392
385
  displayName?: string | undefined;
393
386
  enabled?: boolean | undefined;
@@ -399,6 +392,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
399
392
  };
400
393
  }>;
401
394
  };
395
+ teams: {
396
+ createPersonalTeamOnSignUp?: boolean | undefined;
397
+ allowClientTeamCreation?: boolean | undefined;
398
+ };
399
+ users: {
400
+ allowClientUserDeletion?: boolean | undefined;
401
+ };
402
402
  emails: {
403
403
  selectedThemeId?: string | undefined;
404
404
  themes: Record<string, {
@@ -481,6 +481,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
481
481
  otp: {
482
482
  allowSignIn?: boolean | undefined;
483
483
  };
484
+ passkey: {
485
+ allowSignIn?: boolean | undefined;
486
+ };
484
487
  oauth: {
485
488
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
486
489
  providers: Record<string, {
@@ -489,9 +492,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
489
492
  allowConnectedAccounts?: boolean | undefined;
490
493
  }>;
491
494
  };
492
- passkey: {
493
- allowSignIn?: boolean | undefined;
494
- };
495
495
  signUpRules: Record<string, {
496
496
  displayName?: string | undefined;
497
497
  enabled?: boolean | undefined;
@@ -572,7 +572,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
572
572
  project: {
573
573
  requirePublishableClientKey: undefined;
574
574
  };
575
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
575
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
576
576
  rbac: {
577
577
  permissions: undefined;
578
578
  defaultPermissions: {
@@ -645,7 +645,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
645
645
  project: {
646
646
  requirePublishableClientKey: undefined;
647
647
  };
648
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
648
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
649
649
  rbac: {
650
650
  permissions: undefined;
651
651
  defaultPermissions: {
@@ -718,7 +718,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
718
718
  project: {
719
719
  requirePublishableClientKey: undefined;
720
720
  };
721
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
721
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
722
722
  rbac: {
723
723
  permissions: undefined;
724
724
  defaultPermissions: {
@@ -794,7 +794,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
794
794
  project: {
795
795
  requirePublishableClientKey: undefined;
796
796
  };
797
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
797
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
798
798
  rbac: {
799
799
  permissions: undefined;
800
800
  defaultPermissions: {
@@ -880,7 +880,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
880
880
  project: {
881
881
  requirePublishableClientKey: undefined;
882
882
  };
883
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
883
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
884
884
  rbac: {
885
885
  permissions: undefined;
886
886
  defaultPermissions: {
@@ -956,7 +956,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
956
956
  project: {
957
957
  requirePublishableClientKey: undefined;
958
958
  };
959
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
959
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
960
960
  rbac: {
961
961
  permissions: undefined;
962
962
  defaultPermissions: {
@@ -1038,7 +1038,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1038
1038
  sourceOfTruth: {
1039
1039
  type: "hosted";
1040
1040
  };
1041
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
1041
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1042
1042
  payments?: {
1043
1043
  blockNewPurchases?: boolean | undefined;
1044
1044
  autoPay?: {
@@ -1079,13 +1079,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1079
1079
  }>;
1080
1080
  }>;
1081
1081
  } | undefined;
1082
- users: {
1083
- allowClientUserDeletion?: boolean | undefined;
1084
- };
1085
- teams: {
1086
- createPersonalTeamOnSignUp?: boolean | undefined;
1087
- allowClientTeamCreation?: boolean | undefined;
1088
- };
1089
1082
  rbac: {
1090
1083
  permissions: Record<string, {
1091
1084
  description?: string | undefined;
@@ -1108,7 +1101,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1108
1101
  };
1109
1102
  };
1110
1103
  apps: {
1111
- installed: Record<"teams" | "rbac" | "onboarding" | "payments" | "authentication" | "fraud-protection" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
1104
+ installed: Record<"rbac" | "onboarding" | "payments" | "teams" | "authentication" | "fraud-protection" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
1112
1105
  enabled?: boolean | undefined;
1113
1106
  }>;
1114
1107
  };
@@ -1122,6 +1115,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1122
1115
  otp: {
1123
1116
  allowSignIn?: boolean | undefined;
1124
1117
  };
1118
+ passkey: {
1119
+ allowSignIn?: boolean | undefined;
1120
+ };
1125
1121
  oauth: {
1126
1122
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1127
1123
  providers: Record<string, {
@@ -1130,9 +1126,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1130
1126
  allowConnectedAccounts?: boolean | undefined;
1131
1127
  }>;
1132
1128
  };
1133
- passkey: {
1134
- allowSignIn?: boolean | undefined;
1135
- };
1136
1129
  signUpRules: Record<string, {
1137
1130
  displayName?: string | undefined;
1138
1131
  enabled?: boolean | undefined;
@@ -1144,6 +1137,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1144
1137
  };
1145
1138
  }>;
1146
1139
  };
1140
+ teams: {
1141
+ createPersonalTeamOnSignUp?: boolean | undefined;
1142
+ allowClientTeamCreation?: boolean | undefined;
1143
+ };
1144
+ users: {
1145
+ allowClientUserDeletion?: boolean | undefined;
1146
+ };
1147
1147
  emails: {
1148
1148
  selectedThemeId?: string | undefined;
1149
1149
  themes: Record<string, {
@@ -1226,6 +1226,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1226
1226
  otp: {
1227
1227
  allowSignIn?: boolean | undefined;
1228
1228
  };
1229
+ passkey: {
1230
+ allowSignIn?: boolean | undefined;
1231
+ };
1229
1232
  oauth: {
1230
1233
  accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
1231
1234
  providers: Record<string, {
@@ -1234,9 +1237,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1234
1237
  allowConnectedAccounts?: boolean | undefined;
1235
1238
  }>;
1236
1239
  };
1237
- passkey: {
1238
- allowSignIn?: boolean | undefined;
1239
- };
1240
1240
  signUpRules: Record<string, {
1241
1241
  displayName?: string | undefined;
1242
1242
  enabled?: boolean | undefined;
@@ -1317,7 +1317,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1317
1317
  project: {
1318
1318
  requirePublishableClientKey: undefined;
1319
1319
  };
1320
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
1320
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1321
1321
  rbac: {
1322
1322
  permissions: undefined;
1323
1323
  defaultPermissions: {
@@ -1390,7 +1390,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1390
1390
  project: {
1391
1391
  requirePublishableClientKey: undefined;
1392
1392
  };
1393
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
1393
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1394
1394
  rbac: {
1395
1395
  permissions: undefined;
1396
1396
  defaultPermissions: {
@@ -1463,7 +1463,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1463
1463
  project: {
1464
1464
  requirePublishableClientKey: undefined;
1465
1465
  };
1466
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
1466
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1467
1467
  rbac: {
1468
1468
  permissions: undefined;
1469
1469
  defaultPermissions: {
@@ -1539,7 +1539,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1539
1539
  project: {
1540
1540
  requirePublishableClientKey: undefined;
1541
1541
  };
1542
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
1542
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1543
1543
  rbac: {
1544
1544
  permissions: undefined;
1545
1545
  defaultPermissions: {
@@ -1625,7 +1625,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1625
1625
  project: {
1626
1626
  requirePublishableClientKey: undefined;
1627
1627
  };
1628
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
1628
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1629
1629
  rbac: {
1630
1630
  permissions: undefined;
1631
1631
  defaultPermissions: {
@@ -1701,7 +1701,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1701
1701
  project: {
1702
1702
  requirePublishableClientKey: undefined;
1703
1703
  };
1704
- }, string>, "users" | "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "emails" | "dbSync" | "dataVault"> & {
1704
+ }, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
1705
1705
  rbac: {
1706
1706
  permissions: undefined;
1707
1707
  defaultPermissions: {
@@ -2068,10 +2068,11 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2068
2068
  priority: number;
2069
2069
  condition: string | undefined;
2070
2070
  action: {
2071
- type: "allow" | "reject" | "restrict" | "log";
2072
2071
  message: string | undefined;
2072
+ type: "allow" | "reject" | "restrict" | "log";
2073
2073
  };
2074
2074
  }>;
2075
+ allowSignUp: boolean;
2075
2076
  password: {
2076
2077
  allowSignIn: boolean;
2077
2078
  };
@@ -2081,7 +2082,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2081
2082
  passkey: {
2082
2083
  allowSignIn: boolean;
2083
2084
  };
2084
- allowSignUp: boolean;
2085
2085
  signUpRulesDefaultAction: string;
2086
2086
  };
2087
2087
  emails: {
@@ -2174,13 +2174,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2174
2174
  } & {
2175
2175
  readonly type: "hosted";
2176
2176
  };
2177
- users: {
2178
- allowClientUserDeletion: boolean;
2179
- };
2180
- teams: {
2181
- createPersonalTeamOnSignUp: boolean;
2182
- allowClientTeamCreation: boolean;
2183
- };
2184
2177
  rbac: {
2185
2178
  permissions: {
2186
2179
  [x: string]: {
@@ -2221,6 +2214,13 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2221
2214
  };
2222
2215
  };
2223
2216
  };
2217
+ teams: {
2218
+ createPersonalTeamOnSignUp: boolean;
2219
+ allowClientTeamCreation: boolean;
2220
+ };
2221
+ users: {
2222
+ allowClientUserDeletion: boolean;
2223
+ };
2224
2224
  analytics: {
2225
2225
  queryFolders: {
2226
2226
  [x: string]: {
@@ -1,5 +1,5 @@
1
- import { deindent } from "../../utils/strings.js";
2
1
  import { ALL_APPS } from "../../apps/apps-config.js";
2
+ import { deindent } from "../../utils/strings.js";
3
3
 
4
4
  //#region src/ai/unified-prompts/reminders.ts
5
5
  const remindersPrompt = deindent`