@hexclave/shared 1.0.0 → 1.0.2
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/llms/llms.d.ts +17 -0
- package/dist/ai/llms/llms.d.ts.map +1 -0
- package/dist/ai/llms/llms.js +36 -0
- package/dist/ai/llms/llms.js.map +1 -0
- package/dist/ai/unified-prompts/reminders.js +2 -2
- package/dist/ai/unified-prompts/reminders.js.map +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 +3 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts +7 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.js +6 -5
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts +172 -0
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts.map +1 -0
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js +280 -0
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js.map +1 -0
- package/dist/ai/unified-prompts/skill-site-prompt.d.ts +2 -1
- package/dist/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js +36 -32
- package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/config/schema-fuzzer.test.js +1 -0
- package/dist/config/schema-fuzzer.test.js.map +1 -1
- package/dist/config/schema.d.ts +201 -197
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +6 -0
- package/dist/config/schema.js.map +1 -1
- package/dist/config-authoring.d.ts +5 -1
- package/dist/config-authoring.d.ts.map +1 -1
- package/dist/config-authoring.js +5 -0
- package/dist/config-authoring.js.map +1 -1
- package/dist/config-rendering.d.ts +6 -6
- package/dist/config-rendering.d.ts.map +1 -1
- package/dist/config-rendering.js +25 -17
- package/dist/config-rendering.js.map +1 -1
- package/dist/esm/ai/llms/llms.d.ts +17 -0
- package/dist/esm/ai/llms/llms.d.ts.map +1 -0
- package/dist/esm/ai/llms/llms.js +30 -0
- package/dist/esm/ai/llms/llms.js.map +1 -0
- package/dist/esm/ai/unified-prompts/reminders.js +2 -2
- package/dist/esm/ai/unified-prompts/reminders.js.map +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 +3 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts +7 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.js +4 -4
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts +173 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts.map +1 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js +279 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js.map +1 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt.d.ts +2 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js +36 -33
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/esm/config/schema-fuzzer.test.js +1 -0
- package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
- package/dist/esm/config/schema.d.ts +201 -197
- package/dist/esm/config/schema.d.ts.map +1 -1
- package/dist/esm/config/schema.js +6 -0
- package/dist/esm/config/schema.js.map +1 -1
- package/dist/esm/config-authoring.d.ts +5 -1
- package/dist/esm/config-authoring.d.ts.map +1 -1
- package/dist/esm/config-authoring.js +5 -1
- package/dist/esm/config-authoring.js.map +1 -1
- package/dist/esm/config-rendering.d.ts +6 -6
- package/dist/esm/config-rendering.d.ts.map +1 -1
- package/dist/esm/config-rendering.js +25 -17
- package/dist/esm/config-rendering.js.map +1 -1
- package/dist/esm/hooks/use-hover.d.ts +1 -1
- package/dist/esm/hooks/use-hover.d.ts.map +1 -1
- package/dist/esm/hooks/use-hover.js.map +1 -1
- package/dist/esm/interface/admin-interface.js +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +8 -8
- package/dist/esm/interface/client-interface.js +1 -1
- package/dist/esm/interface/conversations.d.ts +32 -32
- package/dist/esm/interface/crud/current-user.d.ts +8 -8
- package/dist/esm/interface/crud/email-outbox.d.ts +218 -218
- package/dist/esm/interface/crud/products.d.ts +20 -20
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +3 -3
- package/dist/esm/interface/crud/projects.d.ts +36 -36
- package/dist/esm/interface/crud/team-member-profiles.d.ts +16 -16
- package/dist/esm/interface/crud/transactions.d.ts +23 -23
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +14 -14
- package/dist/esm/interface/server-interface.js +1 -1
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/esm/known-errors.d.ts +7 -7
- package/dist/esm/schema-fields.d.ts +7 -6
- package/dist/esm/schema-fields.d.ts.map +1 -1
- package/dist/esm/schema-fields.js +5 -1
- package/dist/esm/schema-fields.js.map +1 -1
- package/dist/esm/stack-config-file.js.map +1 -1
- package/dist/esm/utils/cloud-hosts.d.ts +42 -0
- package/dist/esm/utils/cloud-hosts.d.ts.map +1 -0
- package/dist/esm/utils/cloud-hosts.js +92 -0
- package/dist/esm/utils/cloud-hosts.js.map +1 -0
- package/dist/esm/utils/errors.d.ts +9 -2
- package/dist/esm/utils/errors.d.ts.map +1 -1
- package/dist/esm/utils/errors.js +16 -5
- package/dist/esm/utils/errors.js.map +1 -1
- package/dist/esm/utils/promises.js +1 -1
- package/dist/esm/utils/react.d.ts.map +1 -1
- package/dist/esm/utils/react.js +4 -4
- package/dist/esm/utils/react.js.map +1 -1
- package/dist/esm/utils/redirect-urls.d.ts.map +1 -1
- package/dist/esm/utils/redirect-urls.js +3 -3
- package/dist/esm/utils/redirect-urls.js.map +1 -1
- package/dist/esm/utils/urls.d.ts.map +1 -1
- package/dist/esm/utils/urls.js +2 -2
- package/dist/esm/utils/urls.js.map +1 -1
- package/dist/hooks/use-hover.d.ts +1 -1
- package/dist/hooks/use-hover.d.ts.map +1 -1
- package/dist/hooks/use-hover.js.map +1 -1
- package/dist/{index-D9ysacya.d.ts → index-fQbeILq7.d.ts} +1 -1
- package/dist/{index-D9ysacya.d.ts.map → index-fQbeILq7.d.ts.map} +1 -1
- package/dist/interface/admin-interface.js +1 -1
- package/dist/interface/admin-metrics.d.ts +8 -8
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/client-interface.js +1 -1
- package/dist/interface/conversations.d.ts +32 -32
- package/dist/interface/crud/current-user.d.ts +8 -8
- package/dist/interface/crud/email-outbox.d.ts +218 -218
- package/dist/interface/crud/products.d.ts +20 -20
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +3 -3
- package/dist/interface/crud/projects.d.ts +36 -36
- package/dist/interface/crud/team-member-profiles.d.ts +16 -16
- package/dist/interface/crud/transactions.d.ts +23 -23
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +14 -14
- package/dist/interface/server-interface.js +1 -1
- package/dist/interface/webhooks.d.ts +4 -4
- package/dist/known-errors.d.ts +7 -7
- package/dist/schema-fields.d.ts +7 -6
- package/dist/schema-fields.d.ts.map +1 -1
- package/dist/schema-fields.js +5 -0
- package/dist/schema-fields.js.map +1 -1
- package/dist/stack-config-file.js.map +1 -1
- package/dist/utils/cloud-hosts.d.ts +42 -0
- package/dist/utils/cloud-hosts.d.ts.map +1 -0
- package/dist/utils/cloud-hosts.js +97 -0
- package/dist/utils/cloud-hosts.js.map +1 -0
- package/dist/utils/errors.d.ts +9 -2
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js +16 -4
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/passkey.d.ts +1 -1
- package/dist/utils/promises.js +1 -1
- package/dist/utils/react.d.ts.map +1 -1
- package/dist/utils/react.js +4 -4
- package/dist/utils/react.js.map +1 -1
- package/dist/utils/redirect-urls.d.ts.map +1 -1
- package/dist/utils/redirect-urls.js +3 -3
- package/dist/utils/redirect-urls.js.map +1 -1
- package/dist/utils/urls.d.ts.map +1 -1
- package/dist/utils/urls.js +2 -2
- package/dist/utils/urls.js.map +1 -1
- package/package.json +1 -1
|
@@ -36,7 +36,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
|
|
|
36
36
|
} | undefined;
|
|
37
37
|
productLines: Record<string, {
|
|
38
38
|
displayName?: string | undefined;
|
|
39
|
-
customerType?: "
|
|
39
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
products: Record<string, {
|
|
42
42
|
displayName?: string | undefined;
|
|
@@ -45,7 +45,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
|
|
|
45
45
|
productLineId?: string | undefined;
|
|
46
46
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
47
47
|
stackable?: boolean | undefined;
|
|
48
|
-
customerType: "
|
|
48
|
+
customerType: "team" | "user" | "custom";
|
|
49
49
|
prices: Record<string, {
|
|
50
50
|
USD?: string | undefined;
|
|
51
51
|
EUR?: string | undefined;
|
|
@@ -66,7 +66,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
|
|
|
66
66
|
}>;
|
|
67
67
|
items: Record<string, {
|
|
68
68
|
displayName?: string | undefined;
|
|
69
|
-
customerType?: "
|
|
69
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
} | undefined, yup$1.AnyObject, {
|
|
72
72
|
blockNewPurchases: undefined;
|
|
@@ -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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
88
88
|
payments?: {
|
|
89
89
|
blockNewPurchases?: boolean | undefined;
|
|
90
90
|
autoPay?: {
|
|
@@ -92,11 +92,11 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
92
92
|
} | undefined;
|
|
93
93
|
items: Record<string, {
|
|
94
94
|
displayName?: string | undefined;
|
|
95
|
-
customerType?: "
|
|
95
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
96
96
|
}>;
|
|
97
97
|
productLines: Record<string, {
|
|
98
98
|
displayName?: string | undefined;
|
|
99
|
-
customerType?: "
|
|
99
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
100
100
|
}>;
|
|
101
101
|
products: Record<string, {
|
|
102
102
|
displayName?: string | undefined;
|
|
@@ -105,7 +105,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
105
105
|
productLineId?: string | undefined;
|
|
106
106
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
107
107
|
stackable?: boolean | undefined;
|
|
108
|
-
customerType: "
|
|
108
|
+
customerType: "team" | "user" | "custom";
|
|
109
109
|
prices: Record<string, {
|
|
110
110
|
USD?: string | undefined;
|
|
111
111
|
EUR?: string | undefined;
|
|
@@ -125,37 +125,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
125
125
|
}>;
|
|
126
126
|
}>;
|
|
127
127
|
} | undefined;
|
|
128
|
-
teams: {
|
|
129
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
130
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
131
|
-
};
|
|
132
|
-
rbac: {
|
|
133
|
-
permissions: Record<string, {
|
|
134
|
-
description?: string | undefined;
|
|
135
|
-
scope?: "project" | "team" | undefined;
|
|
136
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
137
|
-
} | undefined>;
|
|
138
|
-
defaultPermissions: {
|
|
139
|
-
teamCreator: Record<string, true | undefined>;
|
|
140
|
-
teamMember: Record<string, true | undefined>;
|
|
141
|
-
signUp: Record<string, true | undefined>;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
onboarding: {
|
|
145
|
-
requireEmailVerification?: boolean | undefined;
|
|
146
|
-
};
|
|
147
|
-
apiKeys: {
|
|
148
|
-
enabled: {
|
|
149
|
-
user?: boolean | undefined;
|
|
150
|
-
team?: boolean | undefined;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
apps: {
|
|
154
|
-
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", {
|
|
155
|
-
enabled?: boolean | undefined;
|
|
156
|
-
}>;
|
|
157
|
-
};
|
|
158
|
-
domains: {};
|
|
159
128
|
auth: {
|
|
160
129
|
allowSignUp?: boolean | undefined;
|
|
161
130
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -165,9 +134,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
165
134
|
otp: {
|
|
166
135
|
allowSignIn?: boolean | undefined;
|
|
167
136
|
};
|
|
168
|
-
passkey: {
|
|
169
|
-
allowSignIn?: boolean | undefined;
|
|
170
|
-
};
|
|
171
137
|
oauth: {
|
|
172
138
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
173
139
|
providers: Record<string, {
|
|
@@ -176,6 +142,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
176
142
|
allowConnectedAccounts?: boolean | undefined;
|
|
177
143
|
}>;
|
|
178
144
|
};
|
|
145
|
+
passkey: {
|
|
146
|
+
allowSignIn?: boolean | undefined;
|
|
147
|
+
};
|
|
179
148
|
signUpRules: Record<string, {
|
|
180
149
|
displayName?: string | undefined;
|
|
181
150
|
priority?: number | undefined;
|
|
@@ -187,8 +156,24 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
187
156
|
};
|
|
188
157
|
}>;
|
|
189
158
|
};
|
|
190
|
-
|
|
191
|
-
|
|
159
|
+
onboarding: {
|
|
160
|
+
requireEmailVerification?: boolean | undefined;
|
|
161
|
+
};
|
|
162
|
+
teams: {
|
|
163
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
164
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
165
|
+
};
|
|
166
|
+
rbac: {
|
|
167
|
+
permissions: Record<string, {
|
|
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
|
+
};
|
|
192
177
|
};
|
|
193
178
|
emails: {
|
|
194
179
|
selectedThemeId?: string | undefined;
|
|
@@ -202,6 +187,21 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
202
187
|
tsxSource: string;
|
|
203
188
|
}>;
|
|
204
189
|
};
|
|
190
|
+
domains: {};
|
|
191
|
+
users: {
|
|
192
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
193
|
+
};
|
|
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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "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>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
297
297
|
payments?: {
|
|
298
298
|
blockNewPurchases?: boolean | undefined;
|
|
299
299
|
autoPay?: {
|
|
@@ -301,11 +301,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
301
301
|
} | undefined;
|
|
302
302
|
items: Record<string, {
|
|
303
303
|
displayName?: string | undefined;
|
|
304
|
-
customerType?: "
|
|
304
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
305
305
|
}>;
|
|
306
306
|
productLines: Record<string, {
|
|
307
307
|
displayName?: string | undefined;
|
|
308
|
-
customerType?: "
|
|
308
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
309
309
|
}>;
|
|
310
310
|
products: Record<string, {
|
|
311
311
|
displayName?: string | undefined;
|
|
@@ -314,7 +314,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
314
314
|
productLineId?: string | undefined;
|
|
315
315
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
316
316
|
stackable?: boolean | undefined;
|
|
317
|
-
customerType: "
|
|
317
|
+
customerType: "team" | "user" | "custom";
|
|
318
318
|
prices: Record<string, {
|
|
319
319
|
USD?: string | undefined;
|
|
320
320
|
EUR?: string | undefined;
|
|
@@ -334,37 +334,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
334
334
|
}>;
|
|
335
335
|
}>;
|
|
336
336
|
} | undefined;
|
|
337
|
-
teams: {
|
|
338
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
339
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
340
|
-
};
|
|
341
|
-
rbac: {
|
|
342
|
-
permissions: Record<string, {
|
|
343
|
-
description?: string | undefined;
|
|
344
|
-
scope?: "project" | "team" | undefined;
|
|
345
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
346
|
-
} | undefined>;
|
|
347
|
-
defaultPermissions: {
|
|
348
|
-
teamCreator: Record<string, true | undefined>;
|
|
349
|
-
teamMember: Record<string, true | undefined>;
|
|
350
|
-
signUp: Record<string, true | undefined>;
|
|
351
|
-
};
|
|
352
|
-
};
|
|
353
|
-
onboarding: {
|
|
354
|
-
requireEmailVerification?: boolean | undefined;
|
|
355
|
-
};
|
|
356
|
-
apiKeys: {
|
|
357
|
-
enabled: {
|
|
358
|
-
user?: boolean | undefined;
|
|
359
|
-
team?: boolean | undefined;
|
|
360
|
-
};
|
|
361
|
-
};
|
|
362
|
-
apps: {
|
|
363
|
-
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", {
|
|
364
|
-
enabled?: boolean | undefined;
|
|
365
|
-
}>;
|
|
366
|
-
};
|
|
367
|
-
domains: {};
|
|
368
337
|
auth: {
|
|
369
338
|
allowSignUp?: boolean | undefined;
|
|
370
339
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -374,9 +343,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
374
343
|
otp: {
|
|
375
344
|
allowSignIn?: boolean | undefined;
|
|
376
345
|
};
|
|
377
|
-
passkey: {
|
|
378
|
-
allowSignIn?: boolean | undefined;
|
|
379
|
-
};
|
|
380
346
|
oauth: {
|
|
381
347
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
382
348
|
providers: Record<string, {
|
|
@@ -385,6 +351,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
385
351
|
allowConnectedAccounts?: boolean | undefined;
|
|
386
352
|
}>;
|
|
387
353
|
};
|
|
354
|
+
passkey: {
|
|
355
|
+
allowSignIn?: boolean | undefined;
|
|
356
|
+
};
|
|
388
357
|
signUpRules: Record<string, {
|
|
389
358
|
displayName?: string | undefined;
|
|
390
359
|
priority?: number | undefined;
|
|
@@ -396,8 +365,24 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
396
365
|
};
|
|
397
366
|
}>;
|
|
398
367
|
};
|
|
399
|
-
|
|
400
|
-
|
|
368
|
+
onboarding: {
|
|
369
|
+
requireEmailVerification?: boolean | undefined;
|
|
370
|
+
};
|
|
371
|
+
teams: {
|
|
372
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
373
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
374
|
+
};
|
|
375
|
+
rbac: {
|
|
376
|
+
permissions: Record<string, {
|
|
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
|
+
};
|
|
401
386
|
};
|
|
402
387
|
emails: {
|
|
403
388
|
selectedThemeId?: string | undefined;
|
|
@@ -411,6 +396,21 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
411
396
|
tsxSource: string;
|
|
412
397
|
}>;
|
|
413
398
|
};
|
|
399
|
+
domains: {};
|
|
400
|
+
users: {
|
|
401
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
402
|
+
};
|
|
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
|
+
}>, "auth" | "payments" | "emails" | "analytics" | "domains" | "customDashboards"> & {
|
|
426
426
|
payments?: (Omit<{
|
|
427
427
|
blockNewPurchases?: boolean | undefined;
|
|
428
428
|
autoPay?: {
|
|
@@ -430,11 +430,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
430
430
|
} | undefined;
|
|
431
431
|
items: Record<string, {
|
|
432
432
|
displayName?: string | undefined;
|
|
433
|
-
customerType?: "
|
|
433
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
434
434
|
}>;
|
|
435
435
|
productLines: Record<string, {
|
|
436
436
|
displayName?: string | undefined;
|
|
437
|
-
customerType?: "
|
|
437
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
438
438
|
}>;
|
|
439
439
|
products: Record<string, {
|
|
440
440
|
displayName?: string | undefined;
|
|
@@ -443,7 +443,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
443
443
|
productLineId?: string | undefined;
|
|
444
444
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
445
445
|
stackable?: boolean | undefined;
|
|
446
|
-
customerType: "
|
|
446
|
+
customerType: "team" | "user" | "custom";
|
|
447
447
|
prices: Record<string, {
|
|
448
448
|
USD?: string | undefined;
|
|
449
449
|
EUR?: string | undefined;
|
|
@@ -465,13 +465,6 @@ 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
|
-
};
|
|
475
468
|
auth: Omit<{
|
|
476
469
|
allowSignUp?: boolean | undefined;
|
|
477
470
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -481,9 +474,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
481
474
|
otp: {
|
|
482
475
|
allowSignIn?: boolean | undefined;
|
|
483
476
|
};
|
|
484
|
-
passkey: {
|
|
485
|
-
allowSignIn?: boolean | undefined;
|
|
486
|
-
};
|
|
487
477
|
oauth: {
|
|
488
478
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
489
479
|
providers: Record<string, {
|
|
@@ -492,6 +482,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
492
482
|
allowConnectedAccounts?: boolean | undefined;
|
|
493
483
|
}>;
|
|
494
484
|
};
|
|
485
|
+
passkey: {
|
|
486
|
+
allowSignIn?: boolean | undefined;
|
|
487
|
+
};
|
|
495
488
|
signUpRules: Record<string, {
|
|
496
489
|
displayName?: string | undefined;
|
|
497
490
|
priority?: number | undefined;
|
|
@@ -518,6 +511,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
518
511
|
isShared?: boolean | undefined;
|
|
519
512
|
clientId?: string | undefined;
|
|
520
513
|
clientSecret?: string | undefined;
|
|
514
|
+
customCallbackUrl?: string | undefined;
|
|
521
515
|
facebookConfigId?: string | undefined;
|
|
522
516
|
microsoftTenantId?: string | undefined;
|
|
523
517
|
appleBundles?: Record<string, {
|
|
@@ -539,12 +533,12 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
539
533
|
}>;
|
|
540
534
|
}, "server"> & {
|
|
541
535
|
server: {
|
|
542
|
-
password?: string | undefined;
|
|
543
|
-
isShared?: boolean | undefined;
|
|
544
536
|
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
537
|
+
password?: string | undefined;
|
|
545
538
|
host?: string | undefined;
|
|
546
539
|
port?: number | undefined;
|
|
547
540
|
username?: string | undefined;
|
|
541
|
+
isShared?: boolean | undefined;
|
|
548
542
|
senderName?: string | undefined;
|
|
549
543
|
senderEmail?: string | undefined;
|
|
550
544
|
managedSubdomain?: string | undefined;
|
|
@@ -562,6 +556,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
562
556
|
}>;
|
|
563
557
|
}>;
|
|
564
558
|
};
|
|
559
|
+
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
560
|
+
allowLocalhost?: boolean | undefined;
|
|
561
|
+
trustedDomains: Record<string, {
|
|
562
|
+
baseUrl?: string | undefined;
|
|
563
|
+
handlerPath?: string | undefined;
|
|
564
|
+
}>;
|
|
565
|
+
};
|
|
565
566
|
customDashboards: Record<string, {
|
|
566
567
|
displayName: string;
|
|
567
568
|
tsxSource: string;
|
|
@@ -571,7 +572,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
571
572
|
project: {
|
|
572
573
|
requirePublishableClientKey: undefined;
|
|
573
574
|
};
|
|
574
|
-
}, string>, "
|
|
575
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
575
576
|
rbac: {
|
|
576
577
|
permissions: undefined;
|
|
577
578
|
defaultPermissions: {
|
|
@@ -638,13 +639,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
638
639
|
dataVault: {
|
|
639
640
|
stores: undefined;
|
|
640
641
|
};
|
|
641
|
-
}>, "
|
|
642
|
+
}>, "auth" | "payments" | "emails" | "analytics" | "domains" | "customDashboards"> & {
|
|
642
643
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
643
644
|
sourceOfTruth: undefined;
|
|
644
645
|
project: {
|
|
645
646
|
requirePublishableClientKey: undefined;
|
|
646
647
|
};
|
|
647
|
-
}, string>, "
|
|
648
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
648
649
|
rbac: {
|
|
649
650
|
permissions: undefined;
|
|
650
651
|
defaultPermissions: {
|
|
@@ -717,7 +718,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
717
718
|
project: {
|
|
718
719
|
requirePublishableClientKey: undefined;
|
|
719
720
|
};
|
|
720
|
-
}, string>, "
|
|
721
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
721
722
|
rbac: {
|
|
722
723
|
permissions: undefined;
|
|
723
724
|
defaultPermissions: {
|
|
@@ -793,7 +794,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
793
794
|
project: {
|
|
794
795
|
requirePublishableClientKey: undefined;
|
|
795
796
|
};
|
|
796
|
-
}, string>, "
|
|
797
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
797
798
|
rbac: {
|
|
798
799
|
permissions: undefined;
|
|
799
800
|
defaultPermissions: {
|
|
@@ -879,7 +880,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
879
880
|
project: {
|
|
880
881
|
requirePublishableClientKey: undefined;
|
|
881
882
|
};
|
|
882
|
-
}, string>, "
|
|
883
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
883
884
|
rbac: {
|
|
884
885
|
permissions: undefined;
|
|
885
886
|
defaultPermissions: {
|
|
@@ -955,7 +956,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
955
956
|
project: {
|
|
956
957
|
requirePublishableClientKey: undefined;
|
|
957
958
|
};
|
|
958
|
-
}, string>, "
|
|
959
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
959
960
|
rbac: {
|
|
960
961
|
permissions: undefined;
|
|
961
962
|
defaultPermissions: {
|
|
@@ -1037,7 +1038,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1037
1038
|
sourceOfTruth: {
|
|
1038
1039
|
type: "hosted";
|
|
1039
1040
|
};
|
|
1040
|
-
}, string>, "
|
|
1041
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
1041
1042
|
payments?: {
|
|
1042
1043
|
blockNewPurchases?: boolean | undefined;
|
|
1043
1044
|
autoPay?: {
|
|
@@ -1045,11 +1046,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1045
1046
|
} | undefined;
|
|
1046
1047
|
items: Record<string, {
|
|
1047
1048
|
displayName?: string | undefined;
|
|
1048
|
-
customerType?: "
|
|
1049
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
1049
1050
|
}>;
|
|
1050
1051
|
productLines: Record<string, {
|
|
1051
1052
|
displayName?: string | undefined;
|
|
1052
|
-
customerType?: "
|
|
1053
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
1053
1054
|
}>;
|
|
1054
1055
|
products: Record<string, {
|
|
1055
1056
|
displayName?: string | undefined;
|
|
@@ -1058,7 +1059,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1058
1059
|
productLineId?: string | undefined;
|
|
1059
1060
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
1060
1061
|
stackable?: boolean | undefined;
|
|
1061
|
-
customerType: "
|
|
1062
|
+
customerType: "team" | "user" | "custom";
|
|
1062
1063
|
prices: Record<string, {
|
|
1063
1064
|
USD?: string | undefined;
|
|
1064
1065
|
EUR?: string | undefined;
|
|
@@ -1078,37 +1079,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1078
1079
|
}>;
|
|
1079
1080
|
}>;
|
|
1080
1081
|
} | undefined;
|
|
1081
|
-
teams: {
|
|
1082
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
1083
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
1084
|
-
};
|
|
1085
|
-
rbac: {
|
|
1086
|
-
permissions: Record<string, {
|
|
1087
|
-
description?: string | undefined;
|
|
1088
|
-
scope?: "project" | "team" | undefined;
|
|
1089
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
1090
|
-
} | undefined>;
|
|
1091
|
-
defaultPermissions: {
|
|
1092
|
-
teamCreator: Record<string, true | undefined>;
|
|
1093
|
-
teamMember: Record<string, true | undefined>;
|
|
1094
|
-
signUp: Record<string, true | undefined>;
|
|
1095
|
-
};
|
|
1096
|
-
};
|
|
1097
|
-
onboarding: {
|
|
1098
|
-
requireEmailVerification?: boolean | undefined;
|
|
1099
|
-
};
|
|
1100
|
-
apiKeys: {
|
|
1101
|
-
enabled: {
|
|
1102
|
-
user?: boolean | undefined;
|
|
1103
|
-
team?: boolean | undefined;
|
|
1104
|
-
};
|
|
1105
|
-
};
|
|
1106
|
-
apps: {
|
|
1107
|
-
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", {
|
|
1108
|
-
enabled?: boolean | undefined;
|
|
1109
|
-
}>;
|
|
1110
|
-
};
|
|
1111
|
-
domains: {};
|
|
1112
1082
|
auth: {
|
|
1113
1083
|
allowSignUp?: boolean | undefined;
|
|
1114
1084
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -1118,9 +1088,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1118
1088
|
otp: {
|
|
1119
1089
|
allowSignIn?: boolean | undefined;
|
|
1120
1090
|
};
|
|
1121
|
-
passkey: {
|
|
1122
|
-
allowSignIn?: boolean | undefined;
|
|
1123
|
-
};
|
|
1124
1091
|
oauth: {
|
|
1125
1092
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
1126
1093
|
providers: Record<string, {
|
|
@@ -1129,6 +1096,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1129
1096
|
allowConnectedAccounts?: boolean | undefined;
|
|
1130
1097
|
}>;
|
|
1131
1098
|
};
|
|
1099
|
+
passkey: {
|
|
1100
|
+
allowSignIn?: boolean | undefined;
|
|
1101
|
+
};
|
|
1132
1102
|
signUpRules: Record<string, {
|
|
1133
1103
|
displayName?: string | undefined;
|
|
1134
1104
|
priority?: number | undefined;
|
|
@@ -1140,8 +1110,24 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1140
1110
|
};
|
|
1141
1111
|
}>;
|
|
1142
1112
|
};
|
|
1143
|
-
|
|
1144
|
-
|
|
1113
|
+
onboarding: {
|
|
1114
|
+
requireEmailVerification?: boolean | undefined;
|
|
1115
|
+
};
|
|
1116
|
+
teams: {
|
|
1117
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
1118
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
1119
|
+
};
|
|
1120
|
+
rbac: {
|
|
1121
|
+
permissions: Record<string, {
|
|
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
|
+
};
|
|
1145
1131
|
};
|
|
1146
1132
|
emails: {
|
|
1147
1133
|
selectedThemeId?: string | undefined;
|
|
@@ -1155,6 +1141,21 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1155
1141
|
tsxSource: string;
|
|
1156
1142
|
}>;
|
|
1157
1143
|
};
|
|
1144
|
+
domains: {};
|
|
1145
|
+
users: {
|
|
1146
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
1147
|
+
};
|
|
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
|
+
};
|
|
1158
1159
|
dbSync: {
|
|
1159
1160
|
externalDatabases: Record<string, {
|
|
1160
1161
|
connectionString?: string | undefined;
|
|
@@ -1166,7 +1167,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1166
1167
|
displayName?: string | undefined;
|
|
1167
1168
|
}>;
|
|
1168
1169
|
};
|
|
1169
|
-
}>, "
|
|
1170
|
+
}>, "auth" | "payments" | "emails" | "analytics" | "domains" | "customDashboards"> & {
|
|
1170
1171
|
payments?: (Omit<{
|
|
1171
1172
|
blockNewPurchases?: boolean | undefined;
|
|
1172
1173
|
autoPay?: {
|
|
@@ -1174,11 +1175,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1174
1175
|
} | undefined;
|
|
1175
1176
|
items: Record<string, {
|
|
1176
1177
|
displayName?: string | undefined;
|
|
1177
|
-
customerType?: "
|
|
1178
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
1178
1179
|
}>;
|
|
1179
1180
|
productLines: Record<string, {
|
|
1180
1181
|
displayName?: string | undefined;
|
|
1181
|
-
customerType?: "
|
|
1182
|
+
customerType?: "team" | "user" | "custom" | undefined;
|
|
1182
1183
|
}>;
|
|
1183
1184
|
products: Record<string, {
|
|
1184
1185
|
displayName?: string | undefined;
|
|
@@ -1187,7 +1188,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1187
1188
|
productLineId?: string | undefined;
|
|
1188
1189
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
1189
1190
|
stackable?: boolean | undefined;
|
|
1190
|
-
customerType: "
|
|
1191
|
+
customerType: "team" | "user" | "custom";
|
|
1191
1192
|
prices: Record<string, {
|
|
1192
1193
|
USD?: string | undefined;
|
|
1193
1194
|
EUR?: string | undefined;
|
|
@@ -1209,13 +1210,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1209
1210
|
}, "testMode"> & {
|
|
1210
1211
|
testMode?: boolean | undefined;
|
|
1211
1212
|
}) | undefined;
|
|
1212
|
-
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
1213
|
-
allowLocalhost?: boolean | undefined;
|
|
1214
|
-
trustedDomains: Record<string, {
|
|
1215
|
-
baseUrl?: string | undefined;
|
|
1216
|
-
handlerPath?: string | undefined;
|
|
1217
|
-
}>;
|
|
1218
|
-
};
|
|
1219
1213
|
auth: Omit<{
|
|
1220
1214
|
allowSignUp?: boolean | undefined;
|
|
1221
1215
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -1225,9 +1219,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1225
1219
|
otp: {
|
|
1226
1220
|
allowSignIn?: boolean | undefined;
|
|
1227
1221
|
};
|
|
1228
|
-
passkey: {
|
|
1229
|
-
allowSignIn?: boolean | undefined;
|
|
1230
|
-
};
|
|
1231
1222
|
oauth: {
|
|
1232
1223
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
1233
1224
|
providers: Record<string, {
|
|
@@ -1236,6 +1227,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1236
1227
|
allowConnectedAccounts?: boolean | undefined;
|
|
1237
1228
|
}>;
|
|
1238
1229
|
};
|
|
1230
|
+
passkey: {
|
|
1231
|
+
allowSignIn?: boolean | undefined;
|
|
1232
|
+
};
|
|
1239
1233
|
signUpRules: Record<string, {
|
|
1240
1234
|
displayName?: string | undefined;
|
|
1241
1235
|
priority?: number | undefined;
|
|
@@ -1262,6 +1256,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1262
1256
|
isShared?: boolean | undefined;
|
|
1263
1257
|
clientId?: string | undefined;
|
|
1264
1258
|
clientSecret?: string | undefined;
|
|
1259
|
+
customCallbackUrl?: string | undefined;
|
|
1265
1260
|
facebookConfigId?: string | undefined;
|
|
1266
1261
|
microsoftTenantId?: string | undefined;
|
|
1267
1262
|
appleBundles?: Record<string, {
|
|
@@ -1283,12 +1278,12 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1283
1278
|
}>;
|
|
1284
1279
|
}, "server"> & {
|
|
1285
1280
|
server: {
|
|
1286
|
-
password?: string | undefined;
|
|
1287
|
-
isShared?: boolean | undefined;
|
|
1288
1281
|
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
1282
|
+
password?: string | undefined;
|
|
1289
1283
|
host?: string | undefined;
|
|
1290
1284
|
port?: number | undefined;
|
|
1291
1285
|
username?: string | undefined;
|
|
1286
|
+
isShared?: boolean | undefined;
|
|
1292
1287
|
senderName?: string | undefined;
|
|
1293
1288
|
senderEmail?: string | undefined;
|
|
1294
1289
|
managedSubdomain?: string | undefined;
|
|
@@ -1306,6 +1301,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1306
1301
|
}>;
|
|
1307
1302
|
}>;
|
|
1308
1303
|
};
|
|
1304
|
+
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
1305
|
+
allowLocalhost?: boolean | undefined;
|
|
1306
|
+
trustedDomains: Record<string, {
|
|
1307
|
+
baseUrl?: string | undefined;
|
|
1308
|
+
handlerPath?: string | undefined;
|
|
1309
|
+
}>;
|
|
1310
|
+
};
|
|
1309
1311
|
customDashboards: Record<string, {
|
|
1310
1312
|
displayName: string;
|
|
1311
1313
|
tsxSource: string;
|
|
@@ -1315,7 +1317,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1315
1317
|
project: {
|
|
1316
1318
|
requirePublishableClientKey: undefined;
|
|
1317
1319
|
};
|
|
1318
|
-
}, string>, "
|
|
1320
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
1319
1321
|
rbac: {
|
|
1320
1322
|
permissions: undefined;
|
|
1321
1323
|
defaultPermissions: {
|
|
@@ -1382,13 +1384,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1382
1384
|
dataVault: {
|
|
1383
1385
|
stores: undefined;
|
|
1384
1386
|
};
|
|
1385
|
-
}>, "
|
|
1387
|
+
}>, "auth" | "payments" | "emails" | "analytics" | "domains" | "customDashboards"> & {
|
|
1386
1388
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
1387
1389
|
sourceOfTruth: undefined;
|
|
1388
1390
|
project: {
|
|
1389
1391
|
requirePublishableClientKey: undefined;
|
|
1390
1392
|
};
|
|
1391
|
-
}, string>, "
|
|
1393
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
1392
1394
|
rbac: {
|
|
1393
1395
|
permissions: undefined;
|
|
1394
1396
|
defaultPermissions: {
|
|
@@ -1461,7 +1463,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1461
1463
|
project: {
|
|
1462
1464
|
requirePublishableClientKey: undefined;
|
|
1463
1465
|
};
|
|
1464
|
-
}, string>, "
|
|
1466
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
1465
1467
|
rbac: {
|
|
1466
1468
|
permissions: undefined;
|
|
1467
1469
|
defaultPermissions: {
|
|
@@ -1537,7 +1539,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1537
1539
|
project: {
|
|
1538
1540
|
requirePublishableClientKey: undefined;
|
|
1539
1541
|
};
|
|
1540
|
-
}, string>, "
|
|
1542
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
1541
1543
|
rbac: {
|
|
1542
1544
|
permissions: undefined;
|
|
1543
1545
|
defaultPermissions: {
|
|
@@ -1623,7 +1625,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1623
1625
|
project: {
|
|
1624
1626
|
requirePublishableClientKey: undefined;
|
|
1625
1627
|
};
|
|
1626
|
-
}, string>, "
|
|
1628
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
1627
1629
|
rbac: {
|
|
1628
1630
|
permissions: undefined;
|
|
1629
1631
|
defaultPermissions: {
|
|
@@ -1699,7 +1701,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1699
1701
|
project: {
|
|
1700
1702
|
requirePublishableClientKey: undefined;
|
|
1701
1703
|
};
|
|
1702
|
-
}, string>, "
|
|
1704
|
+
}, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dbSync" | "dataVault"> & {
|
|
1703
1705
|
rbac: {
|
|
1704
1706
|
permissions: undefined;
|
|
1705
1707
|
defaultPermissions: {
|
|
@@ -1846,6 +1848,7 @@ declare const organizationConfigDefaults: {
|
|
|
1846
1848
|
allowConnectedAccounts: false;
|
|
1847
1849
|
clientId: undefined;
|
|
1848
1850
|
clientSecret: undefined;
|
|
1851
|
+
customCallbackUrl: undefined;
|
|
1849
1852
|
facebookConfigId: undefined;
|
|
1850
1853
|
microsoftTenantId: undefined;
|
|
1851
1854
|
appleBundles: undefined;
|
|
@@ -2048,6 +2051,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2048
2051
|
isShared: boolean;
|
|
2049
2052
|
clientId: string | undefined;
|
|
2050
2053
|
clientSecret: string | undefined;
|
|
2054
|
+
customCallbackUrl: string | undefined;
|
|
2051
2055
|
facebookConfigId: string | undefined;
|
|
2052
2056
|
microsoftTenantId: string | undefined;
|
|
2053
2057
|
appleBundles: {
|
|
@@ -2071,13 +2075,13 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2071
2075
|
password: {
|
|
2072
2076
|
allowSignIn: boolean;
|
|
2073
2077
|
};
|
|
2074
|
-
allowSignUp: boolean;
|
|
2075
2078
|
otp: {
|
|
2076
2079
|
allowSignIn: boolean;
|
|
2077
2080
|
};
|
|
2078
2081
|
passkey: {
|
|
2079
2082
|
allowSignIn: boolean;
|
|
2080
2083
|
};
|
|
2084
|
+
allowSignUp: boolean;
|
|
2081
2085
|
signUpRulesDefaultAction: string;
|
|
2082
2086
|
};
|
|
2083
2087
|
emails: {
|
|
@@ -2096,12 +2100,12 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2096
2100
|
};
|
|
2097
2101
|
};
|
|
2098
2102
|
server: {
|
|
2099
|
-
password: string | undefined;
|
|
2100
|
-
isShared: boolean;
|
|
2101
2103
|
provider: "resend" | "smtp" | "managed";
|
|
2104
|
+
password: string | undefined;
|
|
2102
2105
|
host: string | undefined;
|
|
2103
2106
|
port: number | undefined;
|
|
2104
2107
|
username: string | undefined;
|
|
2108
|
+
isShared: boolean;
|
|
2105
2109
|
senderName: string | undefined;
|
|
2106
2110
|
senderEmail: string | undefined;
|
|
2107
2111
|
managedSubdomain: string | undefined;
|
|
@@ -2129,7 +2133,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2129
2133
|
serverOnly: boolean;
|
|
2130
2134
|
freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
2131
2135
|
productLineId: string | undefined;
|
|
2132
|
-
customerType: "
|
|
2136
|
+
customerType: "team" | "user" | "custom";
|
|
2133
2137
|
stackable: boolean | undefined;
|
|
2134
2138
|
includedItems: {
|
|
2135
2139
|
[x: string]: {
|
|
@@ -2142,7 +2146,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2142
2146
|
items: {
|
|
2143
2147
|
[x: string]: {
|
|
2144
2148
|
displayName: string;
|
|
2145
|
-
customerType: "
|
|
2149
|
+
customerType: "team" | "user" | "custom";
|
|
2146
2150
|
};
|
|
2147
2151
|
};
|
|
2148
2152
|
blockNewPurchases: boolean;
|
|
@@ -2152,7 +2156,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2152
2156
|
productLines: {
|
|
2153
2157
|
[x: string]: {
|
|
2154
2158
|
displayName: string | undefined;
|
|
2155
|
-
customerType: "
|
|
2159
|
+
customerType: "team" | "user" | "custom" | undefined;
|
|
2156
2160
|
};
|
|
2157
2161
|
};
|
|
2158
2162
|
testMode: boolean;
|
|
@@ -2170,6 +2174,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2170
2174
|
} & {
|
|
2171
2175
|
readonly type: "hosted";
|
|
2172
2176
|
};
|
|
2177
|
+
onboarding: {
|
|
2178
|
+
requireEmailVerification: boolean;
|
|
2179
|
+
};
|
|
2173
2180
|
teams: {
|
|
2174
2181
|
createPersonalTeamOnSignUp: boolean;
|
|
2175
2182
|
allowClientTeamCreation: boolean;
|
|
@@ -2178,7 +2185,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2178
2185
|
permissions: {
|
|
2179
2186
|
[x: string]: {
|
|
2180
2187
|
description: string | undefined;
|
|
2181
|
-
scope: "
|
|
2188
|
+
scope: "team" | "project" | undefined;
|
|
2182
2189
|
containedPermissionIds: {
|
|
2183
2190
|
[x: string]: true | undefined;
|
|
2184
2191
|
};
|
|
@@ -2196,13 +2203,19 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2196
2203
|
};
|
|
2197
2204
|
};
|
|
2198
2205
|
};
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
+
analytics: {
|
|
2207
|
+
queryFolders: {
|
|
2208
|
+
[x: string]: {
|
|
2209
|
+
displayName: string;
|
|
2210
|
+
sortOrder: number;
|
|
2211
|
+
queries: {
|
|
2212
|
+
[x: string]: {
|
|
2213
|
+
description: string | undefined;
|
|
2214
|
+
displayName: string;
|
|
2215
|
+
sqlQuery: string;
|
|
2216
|
+
};
|
|
2217
|
+
};
|
|
2218
|
+
};
|
|
2206
2219
|
};
|
|
2207
2220
|
};
|
|
2208
2221
|
domains: {
|
|
@@ -2217,19 +2230,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2217
2230
|
users: {
|
|
2218
2231
|
allowClientUserDeletion: boolean;
|
|
2219
2232
|
};
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
sortOrder: number;
|
|
2225
|
-
queries: {
|
|
2226
|
-
[x: string]: {
|
|
2227
|
-
description: string | undefined;
|
|
2228
|
-
displayName: string;
|
|
2229
|
-
sqlQuery: string;
|
|
2230
|
-
};
|
|
2231
|
-
};
|
|
2232
|
-
};
|
|
2233
|
+
apiKeys: {
|
|
2234
|
+
enabled: {
|
|
2235
|
+
team: boolean;
|
|
2236
|
+
user: boolean;
|
|
2233
2237
|
};
|
|
2234
2238
|
};
|
|
2235
2239
|
dbSync: {
|