@hexclave/shared 1.0.0 → 1.0.1
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/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 +192 -188
- 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/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 +192 -188
- 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/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 +11 -11
- package/dist/esm/interface/crud/current-user.d.ts +9 -9
- package/dist/esm/interface/crud/email-outbox.d.ts +184 -184
- package/dist/esm/interface/crud/products.d.ts +15 -15
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/esm/interface/crud/projects.d.ts +28 -28
- package/dist/esm/interface/crud/team-member-profiles.d.ts +20 -20
- package/dist/esm/interface/crud/transactions.d.ts +21 -21
- 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 +2 -2
- package/dist/esm/known-errors.d.ts +5 -5
- 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/sessions.d.ts +7 -7
- 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/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/{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 +11 -11
- package/dist/interface/crud/current-user.d.ts +9 -9
- package/dist/interface/crud/email-outbox.d.ts +184 -184
- package/dist/interface/crud/products.d.ts +15 -15
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/interface/crud/projects.d.ts +28 -28
- package/dist/interface/crud/team-member-profiles.d.ts +20 -20
- package/dist/interface/crud/transactions.d.ts +21 -21
- 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 +2 -2
- package/dist/known-errors.d.ts +5 -5
- 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/sessions.d.ts +7 -7
- 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/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
package/dist/config/schema.d.ts
CHANGED
|
@@ -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" | "users" | "apiKeys" | "apps" | "domains" | "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;
|
|
@@ -178,8 +147,8 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
178
147
|
};
|
|
179
148
|
signUpRules: Record<string, {
|
|
180
149
|
displayName?: string | undefined;
|
|
181
|
-
priority?: number | undefined;
|
|
182
150
|
enabled?: boolean | undefined;
|
|
151
|
+
priority?: number | undefined;
|
|
183
152
|
condition?: string | undefined;
|
|
184
153
|
action: {
|
|
185
154
|
message?: string | 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
|
+
users: {
|
|
191
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
192
|
+
};
|
|
193
|
+
apiKeys: {
|
|
194
|
+
enabled: {
|
|
195
|
+
team?: boolean | undefined;
|
|
196
|
+
user?: boolean | undefined;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
apps: {
|
|
200
|
+
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", {
|
|
201
|
+
enabled?: boolean | undefined;
|
|
202
|
+
}>;
|
|
203
|
+
};
|
|
204
|
+
domains: {};
|
|
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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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;
|
|
@@ -387,8 +356,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
387
356
|
};
|
|
388
357
|
signUpRules: Record<string, {
|
|
389
358
|
displayName?: string | undefined;
|
|
390
|
-
priority?: number | undefined;
|
|
391
359
|
enabled?: boolean | undefined;
|
|
360
|
+
priority?: number | undefined;
|
|
392
361
|
condition?: string | undefined;
|
|
393
362
|
action: {
|
|
394
363
|
message?: string | 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
|
+
users: {
|
|
400
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
401
|
+
};
|
|
402
|
+
apiKeys: {
|
|
403
|
+
enabled: {
|
|
404
|
+
team?: boolean | undefined;
|
|
405
|
+
user?: boolean | undefined;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
apps: {
|
|
409
|
+
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", {
|
|
410
|
+
enabled?: boolean | undefined;
|
|
411
|
+
}>;
|
|
412
|
+
};
|
|
413
|
+
domains: {};
|
|
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;
|
|
@@ -494,8 +487,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
494
487
|
};
|
|
495
488
|
signUpRules: Record<string, {
|
|
496
489
|
displayName?: string | undefined;
|
|
497
|
-
priority?: number | undefined;
|
|
498
490
|
enabled?: boolean | undefined;
|
|
491
|
+
priority?: number | undefined;
|
|
499
492
|
condition?: string | undefined;
|
|
500
493
|
action: {
|
|
501
494
|
message?: string | 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,9 +533,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
539
533
|
}>;
|
|
540
534
|
}, "server"> & {
|
|
541
535
|
server: {
|
|
536
|
+
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
542
537
|
password?: string | undefined;
|
|
543
538
|
isShared?: boolean | undefined;
|
|
544
|
-
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
545
539
|
host?: string | undefined;
|
|
546
540
|
port?: number | undefined;
|
|
547
541
|
username?: 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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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;
|
|
@@ -1131,8 +1101,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1131
1101
|
};
|
|
1132
1102
|
signUpRules: Record<string, {
|
|
1133
1103
|
displayName?: string | undefined;
|
|
1134
|
-
priority?: number | undefined;
|
|
1135
1104
|
enabled?: boolean | undefined;
|
|
1105
|
+
priority?: number | undefined;
|
|
1136
1106
|
condition?: string | undefined;
|
|
1137
1107
|
action: {
|
|
1138
1108
|
message?: string | 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
|
+
users: {
|
|
1145
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
1146
|
+
};
|
|
1147
|
+
apiKeys: {
|
|
1148
|
+
enabled: {
|
|
1149
|
+
team?: boolean | undefined;
|
|
1150
|
+
user?: boolean | undefined;
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
apps: {
|
|
1154
|
+
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", {
|
|
1155
|
+
enabled?: boolean | undefined;
|
|
1156
|
+
}>;
|
|
1157
|
+
};
|
|
1158
|
+
domains: {};
|
|
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;
|
|
@@ -1238,8 +1232,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1238
1232
|
};
|
|
1239
1233
|
signUpRules: Record<string, {
|
|
1240
1234
|
displayName?: string | undefined;
|
|
1241
|
-
priority?: number | undefined;
|
|
1242
1235
|
enabled?: boolean | undefined;
|
|
1236
|
+
priority?: number | undefined;
|
|
1243
1237
|
condition?: string | undefined;
|
|
1244
1238
|
action: {
|
|
1245
1239
|
message?: string | 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,9 +1278,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1283
1278
|
}>;
|
|
1284
1279
|
}, "server"> & {
|
|
1285
1280
|
server: {
|
|
1281
|
+
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
1286
1282
|
password?: string | undefined;
|
|
1287
1283
|
isShared?: boolean | undefined;
|
|
1288
|
-
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
1289
1284
|
host?: string | undefined;
|
|
1290
1285
|
port?: number | undefined;
|
|
1291
1286
|
username?: 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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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" | "users" | "apiKeys" | "apps" | "domains" | "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: {
|
|
@@ -2060,18 +2064,18 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2060
2064
|
};
|
|
2061
2065
|
signUpRules: Record<string, {
|
|
2062
2066
|
displayName: string | undefined;
|
|
2063
|
-
priority: number;
|
|
2064
2067
|
enabled: boolean;
|
|
2068
|
+
priority: number;
|
|
2065
2069
|
condition: string | undefined;
|
|
2066
2070
|
action: {
|
|
2067
|
-
type: "allow" | "reject" | "restrict" | "log";
|
|
2068
2071
|
message: string | undefined;
|
|
2072
|
+
type: "allow" | "reject" | "restrict" | "log";
|
|
2069
2073
|
};
|
|
2070
2074
|
}>;
|
|
2075
|
+
allowSignUp: boolean;
|
|
2071
2076
|
password: {
|
|
2072
2077
|
allowSignIn: boolean;
|
|
2073
2078
|
};
|
|
2074
|
-
allowSignUp: boolean;
|
|
2075
2079
|
otp: {
|
|
2076
2080
|
allowSignIn: boolean;
|
|
2077
2081
|
};
|
|
@@ -2096,9 +2100,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2096
2100
|
};
|
|
2097
2101
|
};
|
|
2098
2102
|
server: {
|
|
2103
|
+
provider: "resend" | "smtp" | "managed";
|
|
2099
2104
|
password: string | undefined;
|
|
2100
2105
|
isShared: boolean;
|
|
2101
|
-
provider: "resend" | "smtp" | "managed";
|
|
2102
2106
|
host: string | undefined;
|
|
2103
2107
|
port: number | undefined;
|
|
2104
2108
|
username: string | undefined;
|
|
@@ -2129,12 +2133,12 @@ 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]: {
|
|
2136
|
-
repeat: "never" | [number, "day" | "week" | "month" | "year"];
|
|
2137
2140
|
quantity: number;
|
|
2141
|
+
repeat: "never" | [number, "day" | "week" | "month" | "year"];
|
|
2138
2142
|
expires: "never" | "when-purchase-expires" | "when-repeated";
|
|
2139
2143
|
};
|
|
2140
2144
|
};
|
|
@@ -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,27 +2203,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2196
2203
|
};
|
|
2197
2204
|
};
|
|
2198
2205
|
};
|
|
2199
|
-
onboarding: {
|
|
2200
|
-
requireEmailVerification: boolean;
|
|
2201
|
-
};
|
|
2202
|
-
apiKeys: {
|
|
2203
|
-
enabled: {
|
|
2204
|
-
user: boolean;
|
|
2205
|
-
team: boolean;
|
|
2206
|
-
};
|
|
2207
|
-
};
|
|
2208
|
-
domains: {
|
|
2209
|
-
allowLocalhost: boolean;
|
|
2210
|
-
trustedDomains: {
|
|
2211
|
-
[x: string]: {
|
|
2212
|
-
baseUrl: string | undefined;
|
|
2213
|
-
handlerPath: string;
|
|
2214
|
-
};
|
|
2215
|
-
};
|
|
2216
|
-
};
|
|
2217
|
-
users: {
|
|
2218
|
-
allowClientUserDeletion: boolean;
|
|
2219
|
-
};
|
|
2220
2206
|
analytics: {
|
|
2221
2207
|
queryFolders: {
|
|
2222
2208
|
[x: string]: {
|
|
@@ -2232,6 +2218,24 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2232
2218
|
};
|
|
2233
2219
|
};
|
|
2234
2220
|
};
|
|
2221
|
+
users: {
|
|
2222
|
+
allowClientUserDeletion: boolean;
|
|
2223
|
+
};
|
|
2224
|
+
apiKeys: {
|
|
2225
|
+
enabled: {
|
|
2226
|
+
team: boolean;
|
|
2227
|
+
user: boolean;
|
|
2228
|
+
};
|
|
2229
|
+
};
|
|
2230
|
+
domains: {
|
|
2231
|
+
allowLocalhost: boolean;
|
|
2232
|
+
trustedDomains: {
|
|
2233
|
+
[x: string]: {
|
|
2234
|
+
baseUrl: string | undefined;
|
|
2235
|
+
handlerPath: string;
|
|
2236
|
+
};
|
|
2237
|
+
};
|
|
2238
|
+
};
|
|
2235
2239
|
dbSync: {
|
|
2236
2240
|
externalDatabases: {
|
|
2237
2241
|
[x: string]: {
|