@hexclave/shared 1.0.11 → 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.
- package/dist/ai/unified-prompts/reminders.js +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -2
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/config/schema.d.ts +165 -165
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -2
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/config/schema.d.ts +165 -165
- package/dist/esm/interface/admin-metrics.d.ts +2 -2
- package/dist/esm/interface/conversations.d.ts +8 -8
- package/dist/esm/interface/crud/current-user.d.ts +7 -7
- package/dist/esm/interface/crud/email-outbox.d.ts +246 -246
- package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/esm/interface/crud/projects.d.ts +99 -99
- package/dist/esm/interface/crud/team-member-profiles.d.ts +14 -14
- package/dist/esm/interface/crud/users.d.ts +6 -6
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/interface/admin-metrics.d.ts +2 -2
- package/dist/interface/conversations.d.ts +8 -8
- package/dist/interface/crud/current-user.d.ts +7 -7
- package/dist/interface/crud/email-outbox.d.ts +246 -246
- package/dist/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/interface/crud/projects.d.ts +99 -99
- package/dist/interface/crud/team-member-profiles.d.ts +14 -14
- package/dist/interface/crud/users.d.ts +6 -6
- package/dist/interface/webhooks.d.ts +2 -2
- package/package.json +1 -1
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -2
|
@@ -84,7 +84,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
84
84
|
sourceOfTruth: {
|
|
85
85
|
type: "hosted";
|
|
86
86
|
};
|
|
87
|
-
}, string>, "
|
|
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,6 +125,33 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
125
125
|
}>;
|
|
126
126
|
}>;
|
|
127
127
|
} | undefined;
|
|
128
|
+
rbac: {
|
|
129
|
+
permissions: Record<string, {
|
|
130
|
+
description?: string | undefined;
|
|
131
|
+
scope?: "team" | "project" | undefined;
|
|
132
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
133
|
+
} | undefined>;
|
|
134
|
+
defaultPermissions: {
|
|
135
|
+
teamCreator: Record<string, true | undefined>;
|
|
136
|
+
teamMember: Record<string, true | undefined>;
|
|
137
|
+
signUp: Record<string, true | undefined>;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
onboarding: {
|
|
141
|
+
requireEmailVerification?: boolean | undefined;
|
|
142
|
+
};
|
|
143
|
+
apiKeys: {
|
|
144
|
+
enabled: {
|
|
145
|
+
team?: boolean | undefined;
|
|
146
|
+
user?: boolean | undefined;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
apps: {
|
|
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", {
|
|
151
|
+
enabled?: boolean | undefined;
|
|
152
|
+
}>;
|
|
153
|
+
};
|
|
154
|
+
domains: {};
|
|
128
155
|
auth: {
|
|
129
156
|
allowSignUp?: boolean | undefined;
|
|
130
157
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -134,6 +161,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
134
161
|
otp: {
|
|
135
162
|
allowSignIn?: boolean | undefined;
|
|
136
163
|
};
|
|
164
|
+
passkey: {
|
|
165
|
+
allowSignIn?: boolean | undefined;
|
|
166
|
+
};
|
|
137
167
|
oauth: {
|
|
138
168
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
139
169
|
providers: Record<string, {
|
|
@@ -142,9 +172,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
142
172
|
allowConnectedAccounts?: boolean | undefined;
|
|
143
173
|
}>;
|
|
144
174
|
};
|
|
145
|
-
passkey: {
|
|
146
|
-
allowSignIn?: boolean | undefined;
|
|
147
|
-
};
|
|
148
175
|
signUpRules: Record<string, {
|
|
149
176
|
displayName?: string | undefined;
|
|
150
177
|
enabled?: boolean | undefined;
|
|
@@ -156,24 +183,12 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
156
183
|
};
|
|
157
184
|
}>;
|
|
158
185
|
};
|
|
159
|
-
onboarding: {
|
|
160
|
-
requireEmailVerification?: boolean | undefined;
|
|
161
|
-
};
|
|
162
186
|
teams: {
|
|
163
187
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
164
188
|
allowClientTeamCreation?: boolean | undefined;
|
|
165
189
|
};
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
description?: string | undefined;
|
|
169
|
-
scope?: "team" | "project" | undefined;
|
|
170
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
171
|
-
} | undefined>;
|
|
172
|
-
defaultPermissions: {
|
|
173
|
-
teamCreator: Record<string, true | undefined>;
|
|
174
|
-
teamMember: Record<string, true | undefined>;
|
|
175
|
-
signUp: Record<string, true | undefined>;
|
|
176
|
-
};
|
|
190
|
+
users: {
|
|
191
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
177
192
|
};
|
|
178
193
|
emails: {
|
|
179
194
|
selectedThemeId?: string | undefined;
|
|
@@ -187,21 +202,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
187
202
|
tsxSource: string;
|
|
188
203
|
}>;
|
|
189
204
|
};
|
|
190
|
-
users: {
|
|
191
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
192
|
-
};
|
|
193
|
-
domains: {};
|
|
194
|
-
apiKeys: {
|
|
195
|
-
enabled: {
|
|
196
|
-
team?: boolean | undefined;
|
|
197
|
-
user?: boolean | undefined;
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
apps: {
|
|
201
|
-
installed: Record<"authentication" | "fraud-protection" | "onboarding" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
|
|
202
|
-
enabled?: boolean | undefined;
|
|
203
|
-
}>;
|
|
204
|
-
};
|
|
205
205
|
dbSync: {
|
|
206
206
|
externalDatabases: Record<string, {
|
|
207
207
|
connectionString?: string | undefined;
|
|
@@ -218,7 +218,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
218
218
|
project: {
|
|
219
219
|
requirePublishableClientKey: undefined;
|
|
220
220
|
};
|
|
221
|
-
}, string>, "
|
|
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>, "
|
|
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,6 +334,33 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
334
334
|
}>;
|
|
335
335
|
}>;
|
|
336
336
|
} | undefined;
|
|
337
|
+
rbac: {
|
|
338
|
+
permissions: Record<string, {
|
|
339
|
+
description?: string | undefined;
|
|
340
|
+
scope?: "team" | "project" | undefined;
|
|
341
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
342
|
+
} | undefined>;
|
|
343
|
+
defaultPermissions: {
|
|
344
|
+
teamCreator: Record<string, true | undefined>;
|
|
345
|
+
teamMember: Record<string, true | undefined>;
|
|
346
|
+
signUp: Record<string, true | undefined>;
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
onboarding: {
|
|
350
|
+
requireEmailVerification?: boolean | undefined;
|
|
351
|
+
};
|
|
352
|
+
apiKeys: {
|
|
353
|
+
enabled: {
|
|
354
|
+
team?: boolean | undefined;
|
|
355
|
+
user?: boolean | undefined;
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
apps: {
|
|
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", {
|
|
360
|
+
enabled?: boolean | undefined;
|
|
361
|
+
}>;
|
|
362
|
+
};
|
|
363
|
+
domains: {};
|
|
337
364
|
auth: {
|
|
338
365
|
allowSignUp?: boolean | undefined;
|
|
339
366
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -343,6 +370,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
343
370
|
otp: {
|
|
344
371
|
allowSignIn?: boolean | undefined;
|
|
345
372
|
};
|
|
373
|
+
passkey: {
|
|
374
|
+
allowSignIn?: boolean | undefined;
|
|
375
|
+
};
|
|
346
376
|
oauth: {
|
|
347
377
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
348
378
|
providers: Record<string, {
|
|
@@ -351,9 +381,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
351
381
|
allowConnectedAccounts?: boolean | undefined;
|
|
352
382
|
}>;
|
|
353
383
|
};
|
|
354
|
-
passkey: {
|
|
355
|
-
allowSignIn?: boolean | undefined;
|
|
356
|
-
};
|
|
357
384
|
signUpRules: Record<string, {
|
|
358
385
|
displayName?: string | undefined;
|
|
359
386
|
enabled?: boolean | undefined;
|
|
@@ -365,24 +392,12 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
365
392
|
};
|
|
366
393
|
}>;
|
|
367
394
|
};
|
|
368
|
-
onboarding: {
|
|
369
|
-
requireEmailVerification?: boolean | undefined;
|
|
370
|
-
};
|
|
371
395
|
teams: {
|
|
372
396
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
373
397
|
allowClientTeamCreation?: boolean | undefined;
|
|
374
398
|
};
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
description?: string | undefined;
|
|
378
|
-
scope?: "team" | "project" | undefined;
|
|
379
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
380
|
-
} | undefined>;
|
|
381
|
-
defaultPermissions: {
|
|
382
|
-
teamCreator: Record<string, true | undefined>;
|
|
383
|
-
teamMember: Record<string, true | undefined>;
|
|
384
|
-
signUp: Record<string, true | undefined>;
|
|
385
|
-
};
|
|
399
|
+
users: {
|
|
400
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
386
401
|
};
|
|
387
402
|
emails: {
|
|
388
403
|
selectedThemeId?: string | undefined;
|
|
@@ -396,21 +411,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
396
411
|
tsxSource: string;
|
|
397
412
|
}>;
|
|
398
413
|
};
|
|
399
|
-
users: {
|
|
400
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
401
|
-
};
|
|
402
|
-
domains: {};
|
|
403
|
-
apiKeys: {
|
|
404
|
-
enabled: {
|
|
405
|
-
team?: boolean | undefined;
|
|
406
|
-
user?: boolean | undefined;
|
|
407
|
-
};
|
|
408
|
-
};
|
|
409
|
-
apps: {
|
|
410
|
-
installed: Record<"authentication" | "fraud-protection" | "onboarding" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
|
|
411
|
-
enabled?: boolean | undefined;
|
|
412
|
-
}>;
|
|
413
|
-
};
|
|
414
414
|
dbSync: {
|
|
415
415
|
externalDatabases: Record<string, {
|
|
416
416
|
connectionString?: string | undefined;
|
|
@@ -422,7 +422,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
422
422
|
displayName?: string | undefined;
|
|
423
423
|
}>;
|
|
424
424
|
};
|
|
425
|
-
}>, "
|
|
425
|
+
}>, "domains" | "auth" | "payments" | "emails" | "analytics" | "customDashboards"> & {
|
|
426
426
|
payments?: (Omit<{
|
|
427
427
|
blockNewPurchases?: boolean | undefined;
|
|
428
428
|
autoPay?: {
|
|
@@ -465,6 +465,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
465
465
|
}, "testMode"> & {
|
|
466
466
|
testMode?: boolean | undefined;
|
|
467
467
|
}) | undefined;
|
|
468
|
+
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
469
|
+
allowLocalhost?: boolean | undefined;
|
|
470
|
+
trustedDomains: Record<string, {
|
|
471
|
+
baseUrl?: string | undefined;
|
|
472
|
+
handlerPath?: string | undefined;
|
|
473
|
+
}>;
|
|
474
|
+
};
|
|
468
475
|
auth: Omit<{
|
|
469
476
|
allowSignUp?: boolean | undefined;
|
|
470
477
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -474,6 +481,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
474
481
|
otp: {
|
|
475
482
|
allowSignIn?: boolean | undefined;
|
|
476
483
|
};
|
|
484
|
+
passkey: {
|
|
485
|
+
allowSignIn?: boolean | undefined;
|
|
486
|
+
};
|
|
477
487
|
oauth: {
|
|
478
488
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
479
489
|
providers: Record<string, {
|
|
@@ -482,9 +492,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
482
492
|
allowConnectedAccounts?: boolean | undefined;
|
|
483
493
|
}>;
|
|
484
494
|
};
|
|
485
|
-
passkey: {
|
|
486
|
-
allowSignIn?: boolean | undefined;
|
|
487
|
-
};
|
|
488
495
|
signUpRules: Record<string, {
|
|
489
496
|
displayName?: string | undefined;
|
|
490
497
|
enabled?: boolean | undefined;
|
|
@@ -535,10 +542,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
535
542
|
server: {
|
|
536
543
|
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
537
544
|
password?: string | undefined;
|
|
545
|
+
isShared?: boolean | undefined;
|
|
538
546
|
host?: string | undefined;
|
|
539
547
|
port?: number | undefined;
|
|
540
548
|
username?: string | undefined;
|
|
541
|
-
isShared?: boolean | undefined;
|
|
542
549
|
senderName?: string | undefined;
|
|
543
550
|
senderEmail?: string | undefined;
|
|
544
551
|
managedSubdomain?: string | undefined;
|
|
@@ -556,13 +563,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
556
563
|
}>;
|
|
557
564
|
}>;
|
|
558
565
|
};
|
|
559
|
-
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
560
|
-
allowLocalhost?: boolean | undefined;
|
|
561
|
-
trustedDomains: Record<string, {
|
|
562
|
-
baseUrl?: string | undefined;
|
|
563
|
-
handlerPath?: string | undefined;
|
|
564
|
-
}>;
|
|
565
|
-
};
|
|
566
566
|
customDashboards: Record<string, {
|
|
567
567
|
displayName: string;
|
|
568
568
|
tsxSource: string;
|
|
@@ -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>, "
|
|
575
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
576
576
|
rbac: {
|
|
577
577
|
permissions: undefined;
|
|
578
578
|
defaultPermissions: {
|
|
@@ -639,13 +639,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
639
639
|
dataVault: {
|
|
640
640
|
stores: undefined;
|
|
641
641
|
};
|
|
642
|
-
}>, "
|
|
642
|
+
}>, "domains" | "auth" | "payments" | "emails" | "analytics" | "customDashboards"> & {
|
|
643
643
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
644
644
|
sourceOfTruth: undefined;
|
|
645
645
|
project: {
|
|
646
646
|
requirePublishableClientKey: undefined;
|
|
647
647
|
};
|
|
648
|
-
}, string>, "
|
|
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>, "
|
|
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>, "
|
|
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>, "
|
|
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>, "
|
|
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>, "
|
|
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,6 +1079,33 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1079
1079
|
}>;
|
|
1080
1080
|
}>;
|
|
1081
1081
|
} | undefined;
|
|
1082
|
+
rbac: {
|
|
1083
|
+
permissions: Record<string, {
|
|
1084
|
+
description?: string | undefined;
|
|
1085
|
+
scope?: "team" | "project" | undefined;
|
|
1086
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
1087
|
+
} | undefined>;
|
|
1088
|
+
defaultPermissions: {
|
|
1089
|
+
teamCreator: Record<string, true | undefined>;
|
|
1090
|
+
teamMember: Record<string, true | undefined>;
|
|
1091
|
+
signUp: Record<string, true | undefined>;
|
|
1092
|
+
};
|
|
1093
|
+
};
|
|
1094
|
+
onboarding: {
|
|
1095
|
+
requireEmailVerification?: boolean | undefined;
|
|
1096
|
+
};
|
|
1097
|
+
apiKeys: {
|
|
1098
|
+
enabled: {
|
|
1099
|
+
team?: boolean | undefined;
|
|
1100
|
+
user?: boolean | undefined;
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
apps: {
|
|
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", {
|
|
1105
|
+
enabled?: boolean | undefined;
|
|
1106
|
+
}>;
|
|
1107
|
+
};
|
|
1108
|
+
domains: {};
|
|
1082
1109
|
auth: {
|
|
1083
1110
|
allowSignUp?: boolean | undefined;
|
|
1084
1111
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -1088,6 +1115,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1088
1115
|
otp: {
|
|
1089
1116
|
allowSignIn?: boolean | undefined;
|
|
1090
1117
|
};
|
|
1118
|
+
passkey: {
|
|
1119
|
+
allowSignIn?: boolean | undefined;
|
|
1120
|
+
};
|
|
1091
1121
|
oauth: {
|
|
1092
1122
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
1093
1123
|
providers: Record<string, {
|
|
@@ -1096,9 +1126,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1096
1126
|
allowConnectedAccounts?: boolean | undefined;
|
|
1097
1127
|
}>;
|
|
1098
1128
|
};
|
|
1099
|
-
passkey: {
|
|
1100
|
-
allowSignIn?: boolean | undefined;
|
|
1101
|
-
};
|
|
1102
1129
|
signUpRules: Record<string, {
|
|
1103
1130
|
displayName?: string | undefined;
|
|
1104
1131
|
enabled?: boolean | undefined;
|
|
@@ -1110,24 +1137,12 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1110
1137
|
};
|
|
1111
1138
|
}>;
|
|
1112
1139
|
};
|
|
1113
|
-
onboarding: {
|
|
1114
|
-
requireEmailVerification?: boolean | undefined;
|
|
1115
|
-
};
|
|
1116
1140
|
teams: {
|
|
1117
1141
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
1118
1142
|
allowClientTeamCreation?: boolean | undefined;
|
|
1119
1143
|
};
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
description?: string | undefined;
|
|
1123
|
-
scope?: "team" | "project" | undefined;
|
|
1124
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
1125
|
-
} | undefined>;
|
|
1126
|
-
defaultPermissions: {
|
|
1127
|
-
teamCreator: Record<string, true | undefined>;
|
|
1128
|
-
teamMember: Record<string, true | undefined>;
|
|
1129
|
-
signUp: Record<string, true | undefined>;
|
|
1130
|
-
};
|
|
1144
|
+
users: {
|
|
1145
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
1131
1146
|
};
|
|
1132
1147
|
emails: {
|
|
1133
1148
|
selectedThemeId?: string | undefined;
|
|
@@ -1141,21 +1156,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1141
1156
|
tsxSource: string;
|
|
1142
1157
|
}>;
|
|
1143
1158
|
};
|
|
1144
|
-
users: {
|
|
1145
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
1146
|
-
};
|
|
1147
|
-
domains: {};
|
|
1148
|
-
apiKeys: {
|
|
1149
|
-
enabled: {
|
|
1150
|
-
team?: boolean | undefined;
|
|
1151
|
-
user?: boolean | undefined;
|
|
1152
|
-
};
|
|
1153
|
-
};
|
|
1154
|
-
apps: {
|
|
1155
|
-
installed: Record<"authentication" | "fraud-protection" | "onboarding" | "teams" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
|
|
1156
|
-
enabled?: boolean | undefined;
|
|
1157
|
-
}>;
|
|
1158
|
-
};
|
|
1159
1159
|
dbSync: {
|
|
1160
1160
|
externalDatabases: Record<string, {
|
|
1161
1161
|
connectionString?: string | undefined;
|
|
@@ -1167,7 +1167,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1167
1167
|
displayName?: string | undefined;
|
|
1168
1168
|
}>;
|
|
1169
1169
|
};
|
|
1170
|
-
}>, "
|
|
1170
|
+
}>, "domains" | "auth" | "payments" | "emails" | "analytics" | "customDashboards"> & {
|
|
1171
1171
|
payments?: (Omit<{
|
|
1172
1172
|
blockNewPurchases?: boolean | undefined;
|
|
1173
1173
|
autoPay?: {
|
|
@@ -1210,6 +1210,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1210
1210
|
}, "testMode"> & {
|
|
1211
1211
|
testMode?: boolean | undefined;
|
|
1212
1212
|
}) | undefined;
|
|
1213
|
+
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
1214
|
+
allowLocalhost?: boolean | undefined;
|
|
1215
|
+
trustedDomains: Record<string, {
|
|
1216
|
+
baseUrl?: string | undefined;
|
|
1217
|
+
handlerPath?: string | undefined;
|
|
1218
|
+
}>;
|
|
1219
|
+
};
|
|
1213
1220
|
auth: Omit<{
|
|
1214
1221
|
allowSignUp?: boolean | undefined;
|
|
1215
1222
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -1219,6 +1226,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1219
1226
|
otp: {
|
|
1220
1227
|
allowSignIn?: boolean | undefined;
|
|
1221
1228
|
};
|
|
1229
|
+
passkey: {
|
|
1230
|
+
allowSignIn?: boolean | undefined;
|
|
1231
|
+
};
|
|
1222
1232
|
oauth: {
|
|
1223
1233
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
1224
1234
|
providers: Record<string, {
|
|
@@ -1227,9 +1237,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1227
1237
|
allowConnectedAccounts?: boolean | undefined;
|
|
1228
1238
|
}>;
|
|
1229
1239
|
};
|
|
1230
|
-
passkey: {
|
|
1231
|
-
allowSignIn?: boolean | undefined;
|
|
1232
|
-
};
|
|
1233
1240
|
signUpRules: Record<string, {
|
|
1234
1241
|
displayName?: string | undefined;
|
|
1235
1242
|
enabled?: boolean | undefined;
|
|
@@ -1280,10 +1287,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1280
1287
|
server: {
|
|
1281
1288
|
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
1282
1289
|
password?: string | undefined;
|
|
1290
|
+
isShared?: boolean | undefined;
|
|
1283
1291
|
host?: string | undefined;
|
|
1284
1292
|
port?: number | undefined;
|
|
1285
1293
|
username?: string | undefined;
|
|
1286
|
-
isShared?: boolean | undefined;
|
|
1287
1294
|
senderName?: string | undefined;
|
|
1288
1295
|
senderEmail?: string | undefined;
|
|
1289
1296
|
managedSubdomain?: string | undefined;
|
|
@@ -1301,13 +1308,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1301
1308
|
}>;
|
|
1302
1309
|
}>;
|
|
1303
1310
|
};
|
|
1304
|
-
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
1305
|
-
allowLocalhost?: boolean | undefined;
|
|
1306
|
-
trustedDomains: Record<string, {
|
|
1307
|
-
baseUrl?: string | undefined;
|
|
1308
|
-
handlerPath?: string | undefined;
|
|
1309
|
-
}>;
|
|
1310
|
-
};
|
|
1311
1311
|
customDashboards: Record<string, {
|
|
1312
1312
|
displayName: string;
|
|
1313
1313
|
tsxSource: string;
|
|
@@ -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>, "
|
|
1320
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1321
1321
|
rbac: {
|
|
1322
1322
|
permissions: undefined;
|
|
1323
1323
|
defaultPermissions: {
|
|
@@ -1384,13 +1384,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1384
1384
|
dataVault: {
|
|
1385
1385
|
stores: undefined;
|
|
1386
1386
|
};
|
|
1387
|
-
}>, "
|
|
1387
|
+
}>, "domains" | "auth" | "payments" | "emails" | "analytics" | "customDashboards"> & {
|
|
1388
1388
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
1389
1389
|
sourceOfTruth: undefined;
|
|
1390
1390
|
project: {
|
|
1391
1391
|
requirePublishableClientKey: undefined;
|
|
1392
1392
|
};
|
|
1393
|
-
}, string>, "
|
|
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>, "
|
|
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>, "
|
|
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>, "
|
|
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>, "
|
|
1704
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1705
1705
|
rbac: {
|
|
1706
1706
|
permissions: undefined;
|
|
1707
1707
|
defaultPermissions: {
|
|
@@ -2072,6 +2072,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2072
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: {
|
|
@@ -2102,10 +2102,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2102
2102
|
server: {
|
|
2103
2103
|
provider: "resend" | "smtp" | "managed";
|
|
2104
2104
|
password: string | undefined;
|
|
2105
|
+
isShared: boolean;
|
|
2105
2106
|
host: string | undefined;
|
|
2106
2107
|
port: number | undefined;
|
|
2107
2108
|
username: string | undefined;
|
|
2108
|
-
isShared: boolean;
|
|
2109
2109
|
senderName: string | undefined;
|
|
2110
2110
|
senderEmail: string | undefined;
|
|
2111
2111
|
managedSubdomain: string | undefined;
|
|
@@ -2174,13 +2174,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2174
2174
|
} & {
|
|
2175
2175
|
readonly type: "hosted";
|
|
2176
2176
|
};
|
|
2177
|
-
onboarding: {
|
|
2178
|
-
requireEmailVerification: boolean;
|
|
2179
|
-
};
|
|
2180
|
-
teams: {
|
|
2181
|
-
createPersonalTeamOnSignUp: boolean;
|
|
2182
|
-
allowClientTeamCreation: boolean;
|
|
2183
|
-
};
|
|
2184
2177
|
rbac: {
|
|
2185
2178
|
permissions: {
|
|
2186
2179
|
[x: string]: {
|
|
@@ -2203,6 +2196,31 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2203
2196
|
};
|
|
2204
2197
|
};
|
|
2205
2198
|
};
|
|
2199
|
+
onboarding: {
|
|
2200
|
+
requireEmailVerification: boolean;
|
|
2201
|
+
};
|
|
2202
|
+
apiKeys: {
|
|
2203
|
+
enabled: {
|
|
2204
|
+
team: boolean;
|
|
2205
|
+
user: boolean;
|
|
2206
|
+
};
|
|
2207
|
+
};
|
|
2208
|
+
domains: {
|
|
2209
|
+
allowLocalhost: boolean;
|
|
2210
|
+
trustedDomains: {
|
|
2211
|
+
[x: string]: {
|
|
2212
|
+
baseUrl: string | undefined;
|
|
2213
|
+
handlerPath: string;
|
|
2214
|
+
};
|
|
2215
|
+
};
|
|
2216
|
+
};
|
|
2217
|
+
teams: {
|
|
2218
|
+
createPersonalTeamOnSignUp: boolean;
|
|
2219
|
+
allowClientTeamCreation: boolean;
|
|
2220
|
+
};
|
|
2221
|
+
users: {
|
|
2222
|
+
allowClientUserDeletion: boolean;
|
|
2223
|
+
};
|
|
2206
2224
|
analytics: {
|
|
2207
2225
|
queryFolders: {
|
|
2208
2226
|
[x: string]: {
|
|
@@ -2218,24 +2236,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2218
2236
|
};
|
|
2219
2237
|
};
|
|
2220
2238
|
};
|
|
2221
|
-
users: {
|
|
2222
|
-
allowClientUserDeletion: boolean;
|
|
2223
|
-
};
|
|
2224
|
-
domains: {
|
|
2225
|
-
allowLocalhost: boolean;
|
|
2226
|
-
trustedDomains: {
|
|
2227
|
-
[x: string]: {
|
|
2228
|
-
baseUrl: string | undefined;
|
|
2229
|
-
handlerPath: string;
|
|
2230
|
-
};
|
|
2231
|
-
};
|
|
2232
|
-
};
|
|
2233
|
-
apiKeys: {
|
|
2234
|
-
enabled: {
|
|
2235
|
-
team: boolean;
|
|
2236
|
-
user: boolean;
|
|
2237
|
-
};
|
|
2238
|
-
};
|
|
2239
2239
|
dbSync: {
|
|
2240
2240
|
externalDatabases: {
|
|
2241
2241
|
[x: string]: {
|