@hexclave/shared 1.0.58 → 1.0.60
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/{admin-interface-Do9G1zZ8.d.ts → admin-interface-BxUHaniY.d.ts} +11 -11
- package/dist/{admin-interface-Do9G1zZ8.d.ts.map → admin-interface-BxUHaniY.d.ts.map} +1 -1
- package/dist/{admin-metrics-bsOkw4YQ.d.ts → admin-metrics-DQ7vvSym.d.ts} +16 -16
- package/dist/{admin-metrics-bsOkw4YQ.d.ts.map → admin-metrics-DQ7vvSym.d.ts.map} +1 -1
- package/dist/{client-interface-DvkciaL0.d.ts → client-interface-D-cO5E3C.d.ts} +10 -10
- package/dist/{client-interface-DvkciaL0.d.ts.map → client-interface-D-cO5E3C.d.ts.map} +1 -1
- package/dist/config/schema.d.ts +1 -1
- package/dist/config-authoring.d.ts +1 -1
- package/dist/{current-user-BBoN3hsn.d.ts → current-user-Cg6by3KK.d.ts} +13 -13
- package/dist/{current-user-BBoN3hsn.d.ts.map → current-user-Cg6by3KK.d.ts.map} +1 -1
- package/dist/{email-outbox-D_wbK759.d.ts → email-outbox-B3lyx4Eg.d.ts} +229 -229
- package/dist/{email-outbox-D_wbK759.d.ts.map → email-outbox-B3lyx4Eg.d.ts.map} +1 -1
- package/dist/esm/config/schema.d.ts +195 -195
- package/dist/esm/interface/admin-metrics.d.ts +15 -15
- package/dist/esm/interface/conversations.d.ts +36 -36
- package/dist/esm/interface/crud/current-user.d.ts +12 -12
- package/dist/esm/interface/crud/email-outbox.d.ts +228 -228
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/products.d.ts +23 -23
- package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/esm/interface/crud/projects.d.ts +59 -59
- package/dist/esm/interface/crud/team-member-profiles.d.ts +26 -26
- package/dist/esm/interface/crud/transactions.d.ts +20 -20
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +16 -16
- package/dist/esm/interface/plan-usage.d.ts +2 -2
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/known-errors.d.ts +1 -1
- package/dist/esm/schema-fields.d.ts +4 -4
- package/dist/esm/sessions.d.ts +11 -11
- package/dist/helpers/password.d.ts +1 -1
- package/dist/helpers/production-mode.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/interface/admin-interface.d.ts +2 -2
- package/dist/interface/admin-metrics.d.ts +1 -1
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/conversations.d.ts +36 -36
- package/dist/interface/crud/current-user.d.ts +1 -1
- package/dist/interface/crud/email-outbox.d.ts +1 -1
- package/dist/interface/crud/invoices.d.ts +1 -1
- package/dist/interface/crud/products.d.ts +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +1 -1
- package/dist/interface/crud/projects.d.ts +1 -1
- package/dist/interface/crud/team-member-profiles.d.ts +1 -1
- package/dist/interface/crud/transactions.d.ts +1 -1
- package/dist/interface/crud/users.d.ts +1 -1
- package/dist/interface/plan-usage.d.ts +1 -1
- package/dist/interface/server-interface.d.ts +1 -1
- package/dist/interface/webhooks.d.ts +1 -1
- package/dist/{invoices-CHo9YKbI.d.ts → invoices-BGLLnTlR.d.ts} +3 -3
- package/dist/{invoices-CHo9YKbI.d.ts.map → invoices-BGLLnTlR.d.ts.map} +1 -1
- package/dist/{known-errors-Bm4a61wL.d.ts → known-errors-BFf8SVm8.d.ts} +2 -2
- package/dist/{known-errors-Bm4a61wL.d.ts.map → known-errors-BFf8SVm8.d.ts.map} +1 -1
- package/dist/known-errors.d.ts +1 -1
- package/dist/{plan-usage-BaDxcLZ1.d.ts → plan-usage-Dw09F0sh.d.ts} +3 -3
- package/dist/{plan-usage-BaDxcLZ1.d.ts.map → plan-usage-Dw09F0sh.d.ts.map} +1 -1
- package/dist/{products-D4o8A2W0.d.ts → products-Cwn7_4uD.d.ts} +24 -24
- package/dist/{products-D4o8A2W0.d.ts.map → products-Cwn7_4uD.d.ts.map} +1 -1
- package/dist/{project-api-keys--7V5X_UW.d.ts → project-api-keys-CXTBQ2IZ.d.ts} +5 -5
- package/dist/{project-api-keys--7V5X_UW.d.ts.map → project-api-keys-CXTBQ2IZ.d.ts.map} +1 -1
- package/dist/{projects-BX5Y50kJ.d.ts → projects-Cw80wrT7.d.ts} +60 -60
- package/dist/{projects-BX5Y50kJ.d.ts.map → projects-Cw80wrT7.d.ts.map} +1 -1
- package/dist/{schema-BvjIkl-K.d.ts → schema-DGZfskAR.d.ts} +196 -196
- package/dist/{schema-BvjIkl-K.d.ts.map → schema-DGZfskAR.d.ts.map} +1 -1
- package/dist/{schema-fields-DZtDQEEO.d.ts → schema-fields-DPaAnhmc.d.ts} +5 -5
- package/dist/{schema-fields-DZtDQEEO.d.ts.map → schema-fields-DPaAnhmc.d.ts.map} +1 -1
- package/dist/schema-fields.d.ts +1 -1
- package/dist/{server-interface-Ra_vIHP4.d.ts → server-interface-BXeSO8Wj.d.ts} +8 -8
- package/dist/{server-interface-Ra_vIHP4.d.ts.map → server-interface-BXeSO8Wj.d.ts.map} +1 -1
- package/dist/{sessions-CI-0TBQb.d.ts → sessions-B7755rIu.d.ts} +13 -13
- package/dist/{sessions-CI-0TBQb.d.ts.map → sessions-B7755rIu.d.ts.map} +1 -1
- package/dist/sessions.d.ts +1 -1
- package/dist/{team-member-profiles-BoDEqx-0.d.ts → team-member-profiles-B9sAsj4g.d.ts} +27 -27
- package/dist/{team-member-profiles-BoDEqx-0.d.ts.map → team-member-profiles-B9sAsj4g.d.ts.map} +1 -1
- package/dist/{transactions-CHNUJ42J.d.ts → transactions-Brdmr3jE.d.ts} +21 -21
- package/dist/transactions-Brdmr3jE.d.ts.map +1 -0
- package/dist/{users-DHNRwoSz.d.ts → users-ydVQVHD_.d.ts} +18 -18
- package/dist/{users-DHNRwoSz.d.ts.map → users-ydVQVHD_.d.ts.map} +1 -1
- package/dist/{webhooks-8Ts1Clcb.d.ts → webhooks-ByXrdSOx.d.ts} +3 -3
- package/dist/{webhooks-8Ts1Clcb.d.ts.map → webhooks-ByXrdSOx.d.ts.map} +1 -1
- package/package.json +1 -1
- package/dist/transactions-CHNUJ42J.d.ts.map +0 -1
|
@@ -39,13 +39,12 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
|
|
|
39
39
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
products: Record<string, {
|
|
42
|
+
stackable?: boolean | undefined;
|
|
42
43
|
displayName?: string | undefined;
|
|
43
44
|
serverOnly?: boolean | undefined;
|
|
44
45
|
freeTrial?: DayInterval | undefined;
|
|
45
46
|
productLineId?: string | undefined;
|
|
46
47
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
47
|
-
stackable?: boolean | undefined;
|
|
48
|
-
customerType: "team" | "user" | "custom";
|
|
49
48
|
prices: Record<string, {
|
|
50
49
|
USD?: string | undefined;
|
|
51
50
|
EUR?: string | undefined;
|
|
@@ -58,6 +57,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
|
|
|
58
57
|
serverOnly?: boolean | undefined;
|
|
59
58
|
freeTrial?: DayInterval | undefined;
|
|
60
59
|
}>;
|
|
60
|
+
customerType: "team" | "user" | "custom";
|
|
61
61
|
includedItems: Record<string, {
|
|
62
62
|
repeat?: "never" | DayInterval | undefined;
|
|
63
63
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | 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>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
88
88
|
payments?: {
|
|
89
89
|
blockNewPurchases?: boolean | undefined;
|
|
90
90
|
autoPay?: {
|
|
@@ -99,13 +99,12 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
99
99
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
100
100
|
}>;
|
|
101
101
|
products: Record<string, {
|
|
102
|
+
stackable?: boolean | undefined;
|
|
102
103
|
displayName?: string | undefined;
|
|
103
104
|
serverOnly?: boolean | undefined;
|
|
104
105
|
freeTrial?: DayInterval | undefined;
|
|
105
106
|
productLineId?: string | undefined;
|
|
106
107
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
107
|
-
stackable?: boolean | undefined;
|
|
108
|
-
customerType: "team" | "user" | "custom";
|
|
109
108
|
prices: Record<string, {
|
|
110
109
|
USD?: string | undefined;
|
|
111
110
|
EUR?: string | undefined;
|
|
@@ -118,6 +117,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
118
117
|
serverOnly?: boolean | undefined;
|
|
119
118
|
freeTrial?: DayInterval | undefined;
|
|
120
119
|
}>;
|
|
120
|
+
customerType: "team" | "user" | "custom";
|
|
121
121
|
includedItems: Record<string, {
|
|
122
122
|
repeat?: "never" | DayInterval | undefined;
|
|
123
123
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -125,40 +125,10 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
125
125
|
}>;
|
|
126
126
|
}>;
|
|
127
127
|
} | undefined;
|
|
128
|
-
users: {
|
|
129
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
130
|
-
};
|
|
131
128
|
teams: {
|
|
132
129
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
133
130
|
allowClientTeamCreation?: boolean | undefined;
|
|
134
131
|
};
|
|
135
|
-
rbac: {
|
|
136
|
-
permissions: Record<string, {
|
|
137
|
-
description?: string | undefined;
|
|
138
|
-
scope?: "team" | "project" | undefined;
|
|
139
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
140
|
-
} | undefined>;
|
|
141
|
-
defaultPermissions: {
|
|
142
|
-
teamCreator: Record<string, true | undefined>;
|
|
143
|
-
teamMember: Record<string, true | undefined>;
|
|
144
|
-
signUp: Record<string, true | undefined>;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
onboarding: {
|
|
148
|
-
requireEmailVerification?: boolean | undefined;
|
|
149
|
-
};
|
|
150
|
-
apiKeys: {
|
|
151
|
-
enabled: {
|
|
152
|
-
team?: boolean | undefined;
|
|
153
|
-
user?: boolean | undefined;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
apps: {
|
|
157
|
-
installed: Record<"teams" | "rbac" | "onboarding" | "payments" | "authentication" | "fraud-protection" | "analytics" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
|
|
158
|
-
enabled?: boolean | undefined;
|
|
159
|
-
}>;
|
|
160
|
-
};
|
|
161
|
-
domains: {};
|
|
162
132
|
auth: {
|
|
163
133
|
allowSignUp?: boolean | undefined;
|
|
164
134
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -168,9 +138,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
168
138
|
otp: {
|
|
169
139
|
allowSignIn?: boolean | undefined;
|
|
170
140
|
};
|
|
171
|
-
passkey: {
|
|
172
|
-
allowSignIn?: boolean | undefined;
|
|
173
|
-
};
|
|
174
141
|
oauth: {
|
|
175
142
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
176
143
|
providers: Record<string, {
|
|
@@ -179,9 +146,12 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
179
146
|
allowConnectedAccounts?: boolean | undefined;
|
|
180
147
|
}>;
|
|
181
148
|
};
|
|
149
|
+
passkey: {
|
|
150
|
+
allowSignIn?: boolean | undefined;
|
|
151
|
+
};
|
|
182
152
|
signUpRules: Record<string, {
|
|
183
|
-
displayName?: string | undefined;
|
|
184
153
|
enabled?: boolean | undefined;
|
|
154
|
+
displayName?: string | undefined;
|
|
185
155
|
priority?: number | undefined;
|
|
186
156
|
condition?: string | undefined;
|
|
187
157
|
action: {
|
|
@@ -190,6 +160,21 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
190
160
|
};
|
|
191
161
|
}>;
|
|
192
162
|
};
|
|
163
|
+
onboarding: {
|
|
164
|
+
requireEmailVerification?: 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
|
+
};
|
|
177
|
+
};
|
|
193
178
|
emails: {
|
|
194
179
|
selectedThemeId?: string | undefined;
|
|
195
180
|
themes: Record<string, {
|
|
@@ -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<"teams" | "authentication" | "fraud-protection" | "analytics" | "onboarding" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
|
|
202
|
+
enabled?: boolean | undefined;
|
|
203
|
+
}>;
|
|
204
|
+
};
|
|
205
205
|
dataVault: {
|
|
206
206
|
stores: Record<string, {
|
|
207
207
|
displayName?: string | undefined;
|
|
@@ -212,7 +212,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
212
212
|
project: {
|
|
213
213
|
requirePublishableClientKey: undefined;
|
|
214
214
|
};
|
|
215
|
-
}, string>, "
|
|
215
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
216
216
|
rbac: {
|
|
217
217
|
permissions: undefined;
|
|
218
218
|
defaultPermissions: {
|
|
@@ -284,7 +284,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
284
284
|
sourceOfTruth: {
|
|
285
285
|
type: "hosted";
|
|
286
286
|
};
|
|
287
|
-
}, string>, "
|
|
287
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
288
288
|
payments?: {
|
|
289
289
|
blockNewPurchases?: boolean | undefined;
|
|
290
290
|
autoPay?: {
|
|
@@ -299,13 +299,12 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
299
299
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
300
300
|
}>;
|
|
301
301
|
products: Record<string, {
|
|
302
|
+
stackable?: boolean | undefined;
|
|
302
303
|
displayName?: string | undefined;
|
|
303
304
|
serverOnly?: boolean | undefined;
|
|
304
305
|
freeTrial?: DayInterval | undefined;
|
|
305
306
|
productLineId?: string | undefined;
|
|
306
307
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
307
|
-
stackable?: boolean | undefined;
|
|
308
|
-
customerType: "team" | "user" | "custom";
|
|
309
308
|
prices: Record<string, {
|
|
310
309
|
USD?: string | undefined;
|
|
311
310
|
EUR?: string | undefined;
|
|
@@ -318,6 +317,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
318
317
|
serverOnly?: boolean | undefined;
|
|
319
318
|
freeTrial?: DayInterval | undefined;
|
|
320
319
|
}>;
|
|
320
|
+
customerType: "team" | "user" | "custom";
|
|
321
321
|
includedItems: Record<string, {
|
|
322
322
|
repeat?: "never" | DayInterval | undefined;
|
|
323
323
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -325,40 +325,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
325
325
|
}>;
|
|
326
326
|
}>;
|
|
327
327
|
} | undefined;
|
|
328
|
-
users: {
|
|
329
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
330
|
-
};
|
|
331
328
|
teams: {
|
|
332
329
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
333
330
|
allowClientTeamCreation?: boolean | undefined;
|
|
334
331
|
};
|
|
335
|
-
rbac: {
|
|
336
|
-
permissions: Record<string, {
|
|
337
|
-
description?: string | undefined;
|
|
338
|
-
scope?: "team" | "project" | undefined;
|
|
339
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
340
|
-
} | undefined>;
|
|
341
|
-
defaultPermissions: {
|
|
342
|
-
teamCreator: Record<string, true | undefined>;
|
|
343
|
-
teamMember: Record<string, true | undefined>;
|
|
344
|
-
signUp: Record<string, true | undefined>;
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
onboarding: {
|
|
348
|
-
requireEmailVerification?: boolean | undefined;
|
|
349
|
-
};
|
|
350
|
-
apiKeys: {
|
|
351
|
-
enabled: {
|
|
352
|
-
team?: boolean | undefined;
|
|
353
|
-
user?: boolean | undefined;
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
apps: {
|
|
357
|
-
installed: Record<"teams" | "rbac" | "onboarding" | "payments" | "authentication" | "fraud-protection" | "analytics" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
|
|
358
|
-
enabled?: boolean | undefined;
|
|
359
|
-
}>;
|
|
360
|
-
};
|
|
361
|
-
domains: {};
|
|
362
332
|
auth: {
|
|
363
333
|
allowSignUp?: boolean | undefined;
|
|
364
334
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -368,9 +338,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
368
338
|
otp: {
|
|
369
339
|
allowSignIn?: boolean | undefined;
|
|
370
340
|
};
|
|
371
|
-
passkey: {
|
|
372
|
-
allowSignIn?: boolean | undefined;
|
|
373
|
-
};
|
|
374
341
|
oauth: {
|
|
375
342
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
376
343
|
providers: Record<string, {
|
|
@@ -379,9 +346,12 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
379
346
|
allowConnectedAccounts?: boolean | undefined;
|
|
380
347
|
}>;
|
|
381
348
|
};
|
|
349
|
+
passkey: {
|
|
350
|
+
allowSignIn?: boolean | undefined;
|
|
351
|
+
};
|
|
382
352
|
signUpRules: Record<string, {
|
|
383
|
-
displayName?: string | undefined;
|
|
384
353
|
enabled?: boolean | undefined;
|
|
354
|
+
displayName?: string | undefined;
|
|
385
355
|
priority?: number | undefined;
|
|
386
356
|
condition?: string | undefined;
|
|
387
357
|
action: {
|
|
@@ -390,6 +360,21 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
390
360
|
};
|
|
391
361
|
}>;
|
|
392
362
|
};
|
|
363
|
+
onboarding: {
|
|
364
|
+
requireEmailVerification?: boolean | undefined;
|
|
365
|
+
};
|
|
366
|
+
rbac: {
|
|
367
|
+
permissions: Record<string, {
|
|
368
|
+
description?: string | undefined;
|
|
369
|
+
scope?: "team" | "project" | undefined;
|
|
370
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
371
|
+
} | undefined>;
|
|
372
|
+
defaultPermissions: {
|
|
373
|
+
teamCreator: Record<string, true | undefined>;
|
|
374
|
+
teamMember: Record<string, true | undefined>;
|
|
375
|
+
signUp: Record<string, true | undefined>;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
393
378
|
emails: {
|
|
394
379
|
selectedThemeId?: string | undefined;
|
|
395
380
|
themes: Record<string, {
|
|
@@ -402,12 +387,27 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
402
387
|
tsxSource: string;
|
|
403
388
|
}>;
|
|
404
389
|
};
|
|
390
|
+
domains: {};
|
|
391
|
+
users: {
|
|
392
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
393
|
+
};
|
|
394
|
+
apiKeys: {
|
|
395
|
+
enabled: {
|
|
396
|
+
team?: boolean | undefined;
|
|
397
|
+
user?: boolean | undefined;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
apps: {
|
|
401
|
+
installed: Record<"teams" | "authentication" | "fraud-protection" | "analytics" | "onboarding" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
|
|
402
|
+
enabled?: boolean | undefined;
|
|
403
|
+
}>;
|
|
404
|
+
};
|
|
405
405
|
dataVault: {
|
|
406
406
|
stores: Record<string, {
|
|
407
407
|
displayName?: string | undefined;
|
|
408
408
|
}>;
|
|
409
409
|
};
|
|
410
|
-
}>, "
|
|
410
|
+
}>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
|
|
411
411
|
payments?: (Omit<{
|
|
412
412
|
blockNewPurchases?: boolean | undefined;
|
|
413
413
|
autoPay?: {
|
|
@@ -422,13 +422,12 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
422
422
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
423
423
|
}>;
|
|
424
424
|
products: Record<string, {
|
|
425
|
+
stackable?: boolean | undefined;
|
|
425
426
|
displayName?: string | undefined;
|
|
426
427
|
serverOnly?: boolean | undefined;
|
|
427
428
|
freeTrial?: DayInterval | undefined;
|
|
428
429
|
productLineId?: string | undefined;
|
|
429
430
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
430
|
-
stackable?: boolean | undefined;
|
|
431
|
-
customerType: "team" | "user" | "custom";
|
|
432
431
|
prices: Record<string, {
|
|
433
432
|
USD?: string | undefined;
|
|
434
433
|
EUR?: string | undefined;
|
|
@@ -441,6 +440,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
441
440
|
serverOnly?: boolean | undefined;
|
|
442
441
|
freeTrial?: DayInterval | undefined;
|
|
443
442
|
}>;
|
|
443
|
+
customerType: "team" | "user" | "custom";
|
|
444
444
|
includedItems: Record<string, {
|
|
445
445
|
repeat?: "never" | DayInterval | undefined;
|
|
446
446
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -450,13 +450,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
450
450
|
}, "testMode"> & {
|
|
451
451
|
testMode?: boolean | undefined;
|
|
452
452
|
}) | undefined;
|
|
453
|
-
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
454
|
-
allowLocalhost?: boolean | undefined;
|
|
455
|
-
trustedDomains: Record<string, {
|
|
456
|
-
baseUrl?: string | undefined;
|
|
457
|
-
handlerPath?: string | undefined;
|
|
458
|
-
}>;
|
|
459
|
-
};
|
|
460
453
|
auth: Omit<{
|
|
461
454
|
allowSignUp?: boolean | undefined;
|
|
462
455
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -466,9 +459,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
466
459
|
otp: {
|
|
467
460
|
allowSignIn?: boolean | undefined;
|
|
468
461
|
};
|
|
469
|
-
passkey: {
|
|
470
|
-
allowSignIn?: boolean | undefined;
|
|
471
|
-
};
|
|
472
462
|
oauth: {
|
|
473
463
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
474
464
|
providers: Record<string, {
|
|
@@ -477,9 +467,12 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
477
467
|
allowConnectedAccounts?: boolean | undefined;
|
|
478
468
|
}>;
|
|
479
469
|
};
|
|
470
|
+
passkey: {
|
|
471
|
+
allowSignIn?: boolean | undefined;
|
|
472
|
+
};
|
|
480
473
|
signUpRules: Record<string, {
|
|
481
|
-
displayName?: string | undefined;
|
|
482
474
|
enabled?: boolean | undefined;
|
|
475
|
+
displayName?: string | undefined;
|
|
483
476
|
priority?: number | undefined;
|
|
484
477
|
condition?: string | undefined;
|
|
485
478
|
action: {
|
|
@@ -498,8 +491,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
498
491
|
}, "providers"> & {
|
|
499
492
|
providers: Record<string, {
|
|
500
493
|
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
|
|
501
|
-
displayName?: string | undefined;
|
|
502
494
|
scope?: string | undefined;
|
|
495
|
+
displayName?: string | undefined;
|
|
503
496
|
allowSignIn?: boolean | undefined;
|
|
504
497
|
allowConnectedAccounts?: boolean | undefined;
|
|
505
498
|
isShared?: boolean | undefined;
|
|
@@ -539,18 +532,25 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
539
532
|
}>;
|
|
540
533
|
}, "server"> & {
|
|
541
534
|
server: {
|
|
542
|
-
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
543
535
|
password?: string | undefined;
|
|
544
|
-
|
|
536
|
+
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
545
537
|
host?: string | undefined;
|
|
546
538
|
port?: number | undefined;
|
|
547
539
|
username?: string | undefined;
|
|
540
|
+
isShared?: boolean | undefined;
|
|
548
541
|
senderName?: string | undefined;
|
|
549
542
|
senderEmail?: string | undefined;
|
|
550
543
|
managedSubdomain?: string | undefined;
|
|
551
544
|
managedSenderLocalPart?: string | undefined;
|
|
552
545
|
};
|
|
553
546
|
};
|
|
547
|
+
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
548
|
+
allowLocalhost?: boolean | undefined;
|
|
549
|
+
trustedDomains: Record<string, {
|
|
550
|
+
baseUrl?: string | undefined;
|
|
551
|
+
handlerPath?: string | undefined;
|
|
552
|
+
}>;
|
|
553
|
+
};
|
|
554
554
|
customDashboards: Record<string, {
|
|
555
555
|
displayName: string;
|
|
556
556
|
tsxSource: string;
|
|
@@ -566,7 +566,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
566
566
|
project: {
|
|
567
567
|
requirePublishableClientKey: undefined;
|
|
568
568
|
};
|
|
569
|
-
}, string>, "
|
|
569
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
570
570
|
rbac: {
|
|
571
571
|
permissions: undefined;
|
|
572
572
|
defaultPermissions: {
|
|
@@ -630,13 +630,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
630
630
|
dataVault: {
|
|
631
631
|
stores: undefined;
|
|
632
632
|
};
|
|
633
|
-
}>, "
|
|
633
|
+
}>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
|
|
634
634
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
635
635
|
sourceOfTruth: undefined;
|
|
636
636
|
project: {
|
|
637
637
|
requirePublishableClientKey: undefined;
|
|
638
638
|
};
|
|
639
|
-
}, string>, "
|
|
639
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
640
640
|
rbac: {
|
|
641
641
|
permissions: undefined;
|
|
642
642
|
defaultPermissions: {
|
|
@@ -706,7 +706,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
706
706
|
project: {
|
|
707
707
|
requirePublishableClientKey: undefined;
|
|
708
708
|
};
|
|
709
|
-
}, string>, "
|
|
709
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
710
710
|
rbac: {
|
|
711
711
|
permissions: undefined;
|
|
712
712
|
defaultPermissions: {
|
|
@@ -779,7 +779,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
779
779
|
project: {
|
|
780
780
|
requirePublishableClientKey: undefined;
|
|
781
781
|
};
|
|
782
|
-
}, string>, "
|
|
782
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
783
783
|
rbac: {
|
|
784
784
|
permissions: undefined;
|
|
785
785
|
defaultPermissions: {
|
|
@@ -862,7 +862,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
862
862
|
project: {
|
|
863
863
|
requirePublishableClientKey: undefined;
|
|
864
864
|
};
|
|
865
|
-
}, string>, "
|
|
865
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
866
866
|
rbac: {
|
|
867
867
|
permissions: undefined;
|
|
868
868
|
defaultPermissions: {
|
|
@@ -935,7 +935,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
935
935
|
project: {
|
|
936
936
|
requirePublishableClientKey: undefined;
|
|
937
937
|
};
|
|
938
|
-
}, string>, "
|
|
938
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
939
939
|
rbac: {
|
|
940
940
|
permissions: undefined;
|
|
941
941
|
defaultPermissions: {
|
|
@@ -1017,7 +1017,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1017
1017
|
sourceOfTruth: {
|
|
1018
1018
|
type: "hosted";
|
|
1019
1019
|
};
|
|
1020
|
-
}, string>, "
|
|
1020
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1021
1021
|
payments?: {
|
|
1022
1022
|
blockNewPurchases?: boolean | undefined;
|
|
1023
1023
|
autoPay?: {
|
|
@@ -1032,13 +1032,12 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1032
1032
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
1033
1033
|
}>;
|
|
1034
1034
|
products: Record<string, {
|
|
1035
|
+
stackable?: boolean | undefined;
|
|
1035
1036
|
displayName?: string | undefined;
|
|
1036
1037
|
serverOnly?: boolean | undefined;
|
|
1037
1038
|
freeTrial?: DayInterval | undefined;
|
|
1038
1039
|
productLineId?: string | undefined;
|
|
1039
1040
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
1040
|
-
stackable?: boolean | undefined;
|
|
1041
|
-
customerType: "team" | "user" | "custom";
|
|
1042
1041
|
prices: Record<string, {
|
|
1043
1042
|
USD?: string | undefined;
|
|
1044
1043
|
EUR?: string | undefined;
|
|
@@ -1051,6 +1050,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1051
1050
|
serverOnly?: boolean | undefined;
|
|
1052
1051
|
freeTrial?: DayInterval | undefined;
|
|
1053
1052
|
}>;
|
|
1053
|
+
customerType: "team" | "user" | "custom";
|
|
1054
1054
|
includedItems: Record<string, {
|
|
1055
1055
|
repeat?: "never" | DayInterval | undefined;
|
|
1056
1056
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -1058,40 +1058,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1058
1058
|
}>;
|
|
1059
1059
|
}>;
|
|
1060
1060
|
} | undefined;
|
|
1061
|
-
users: {
|
|
1062
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
1063
|
-
};
|
|
1064
1061
|
teams: {
|
|
1065
1062
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
1066
1063
|
allowClientTeamCreation?: boolean | undefined;
|
|
1067
1064
|
};
|
|
1068
|
-
rbac: {
|
|
1069
|
-
permissions: Record<string, {
|
|
1070
|
-
description?: string | undefined;
|
|
1071
|
-
scope?: "team" | "project" | undefined;
|
|
1072
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
1073
|
-
} | undefined>;
|
|
1074
|
-
defaultPermissions: {
|
|
1075
|
-
teamCreator: Record<string, true | undefined>;
|
|
1076
|
-
teamMember: Record<string, true | undefined>;
|
|
1077
|
-
signUp: Record<string, true | undefined>;
|
|
1078
|
-
};
|
|
1079
|
-
};
|
|
1080
|
-
onboarding: {
|
|
1081
|
-
requireEmailVerification?: boolean | undefined;
|
|
1082
|
-
};
|
|
1083
|
-
apiKeys: {
|
|
1084
|
-
enabled: {
|
|
1085
|
-
team?: boolean | undefined;
|
|
1086
|
-
user?: boolean | undefined;
|
|
1087
|
-
};
|
|
1088
|
-
};
|
|
1089
|
-
apps: {
|
|
1090
|
-
installed: Record<"teams" | "rbac" | "onboarding" | "payments" | "authentication" | "fraud-protection" | "analytics" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
|
|
1091
|
-
enabled?: boolean | undefined;
|
|
1092
|
-
}>;
|
|
1093
|
-
};
|
|
1094
|
-
domains: {};
|
|
1095
1065
|
auth: {
|
|
1096
1066
|
allowSignUp?: boolean | undefined;
|
|
1097
1067
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -1101,9 +1071,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1101
1071
|
otp: {
|
|
1102
1072
|
allowSignIn?: boolean | undefined;
|
|
1103
1073
|
};
|
|
1104
|
-
passkey: {
|
|
1105
|
-
allowSignIn?: boolean | undefined;
|
|
1106
|
-
};
|
|
1107
1074
|
oauth: {
|
|
1108
1075
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
1109
1076
|
providers: Record<string, {
|
|
@@ -1112,9 +1079,12 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1112
1079
|
allowConnectedAccounts?: boolean | undefined;
|
|
1113
1080
|
}>;
|
|
1114
1081
|
};
|
|
1082
|
+
passkey: {
|
|
1083
|
+
allowSignIn?: boolean | undefined;
|
|
1084
|
+
};
|
|
1115
1085
|
signUpRules: Record<string, {
|
|
1116
|
-
displayName?: string | undefined;
|
|
1117
1086
|
enabled?: boolean | undefined;
|
|
1087
|
+
displayName?: string | undefined;
|
|
1118
1088
|
priority?: number | undefined;
|
|
1119
1089
|
condition?: string | undefined;
|
|
1120
1090
|
action: {
|
|
@@ -1123,6 +1093,21 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1123
1093
|
};
|
|
1124
1094
|
}>;
|
|
1125
1095
|
};
|
|
1096
|
+
onboarding: {
|
|
1097
|
+
requireEmailVerification?: boolean | undefined;
|
|
1098
|
+
};
|
|
1099
|
+
rbac: {
|
|
1100
|
+
permissions: Record<string, {
|
|
1101
|
+
description?: string | undefined;
|
|
1102
|
+
scope?: "team" | "project" | undefined;
|
|
1103
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
1104
|
+
} | undefined>;
|
|
1105
|
+
defaultPermissions: {
|
|
1106
|
+
teamCreator: Record<string, true | undefined>;
|
|
1107
|
+
teamMember: Record<string, true | undefined>;
|
|
1108
|
+
signUp: Record<string, true | undefined>;
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1126
1111
|
emails: {
|
|
1127
1112
|
selectedThemeId?: string | undefined;
|
|
1128
1113
|
themes: Record<string, {
|
|
@@ -1135,12 +1120,27 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1135
1120
|
tsxSource: string;
|
|
1136
1121
|
}>;
|
|
1137
1122
|
};
|
|
1123
|
+
domains: {};
|
|
1124
|
+
users: {
|
|
1125
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
1126
|
+
};
|
|
1127
|
+
apiKeys: {
|
|
1128
|
+
enabled: {
|
|
1129
|
+
team?: boolean | undefined;
|
|
1130
|
+
user?: boolean | undefined;
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
apps: {
|
|
1134
|
+
installed: Record<"teams" | "authentication" | "fraud-protection" | "analytics" | "onboarding" | "rbac" | "api-keys" | "payments" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "clickmaps" | "session-replays" | "cli-auth", {
|
|
1135
|
+
enabled?: boolean | undefined;
|
|
1136
|
+
}>;
|
|
1137
|
+
};
|
|
1138
1138
|
dataVault: {
|
|
1139
1139
|
stores: Record<string, {
|
|
1140
1140
|
displayName?: string | undefined;
|
|
1141
1141
|
}>;
|
|
1142
1142
|
};
|
|
1143
|
-
}>, "
|
|
1143
|
+
}>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
|
|
1144
1144
|
payments?: (Omit<{
|
|
1145
1145
|
blockNewPurchases?: boolean | undefined;
|
|
1146
1146
|
autoPay?: {
|
|
@@ -1155,13 +1155,12 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1155
1155
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
1156
1156
|
}>;
|
|
1157
1157
|
products: Record<string, {
|
|
1158
|
+
stackable?: boolean | undefined;
|
|
1158
1159
|
displayName?: string | undefined;
|
|
1159
1160
|
serverOnly?: boolean | undefined;
|
|
1160
1161
|
freeTrial?: DayInterval | undefined;
|
|
1161
1162
|
productLineId?: string | undefined;
|
|
1162
1163
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
1163
|
-
stackable?: boolean | undefined;
|
|
1164
|
-
customerType: "team" | "user" | "custom";
|
|
1165
1164
|
prices: Record<string, {
|
|
1166
1165
|
USD?: string | undefined;
|
|
1167
1166
|
EUR?: string | undefined;
|
|
@@ -1174,6 +1173,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1174
1173
|
serverOnly?: boolean | undefined;
|
|
1175
1174
|
freeTrial?: DayInterval | undefined;
|
|
1176
1175
|
}>;
|
|
1176
|
+
customerType: "team" | "user" | "custom";
|
|
1177
1177
|
includedItems: Record<string, {
|
|
1178
1178
|
repeat?: "never" | DayInterval | undefined;
|
|
1179
1179
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -1183,13 +1183,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1183
1183
|
}, "testMode"> & {
|
|
1184
1184
|
testMode?: boolean | undefined;
|
|
1185
1185
|
}) | undefined;
|
|
1186
|
-
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
1187
|
-
allowLocalhost?: boolean | undefined;
|
|
1188
|
-
trustedDomains: Record<string, {
|
|
1189
|
-
baseUrl?: string | undefined;
|
|
1190
|
-
handlerPath?: string | undefined;
|
|
1191
|
-
}>;
|
|
1192
|
-
};
|
|
1193
1186
|
auth: Omit<{
|
|
1194
1187
|
allowSignUp?: boolean | undefined;
|
|
1195
1188
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -1199,9 +1192,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1199
1192
|
otp: {
|
|
1200
1193
|
allowSignIn?: boolean | undefined;
|
|
1201
1194
|
};
|
|
1202
|
-
passkey: {
|
|
1203
|
-
allowSignIn?: boolean | undefined;
|
|
1204
|
-
};
|
|
1205
1195
|
oauth: {
|
|
1206
1196
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
1207
1197
|
providers: Record<string, {
|
|
@@ -1210,9 +1200,12 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1210
1200
|
allowConnectedAccounts?: boolean | undefined;
|
|
1211
1201
|
}>;
|
|
1212
1202
|
};
|
|
1203
|
+
passkey: {
|
|
1204
|
+
allowSignIn?: boolean | undefined;
|
|
1205
|
+
};
|
|
1213
1206
|
signUpRules: Record<string, {
|
|
1214
|
-
displayName?: string | undefined;
|
|
1215
1207
|
enabled?: boolean | undefined;
|
|
1208
|
+
displayName?: string | undefined;
|
|
1216
1209
|
priority?: number | undefined;
|
|
1217
1210
|
condition?: string | undefined;
|
|
1218
1211
|
action: {
|
|
@@ -1231,8 +1224,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1231
1224
|
}, "providers"> & {
|
|
1232
1225
|
providers: Record<string, {
|
|
1233
1226
|
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
|
|
1234
|
-
displayName?: string | undefined;
|
|
1235
1227
|
scope?: string | undefined;
|
|
1228
|
+
displayName?: string | undefined;
|
|
1236
1229
|
allowSignIn?: boolean | undefined;
|
|
1237
1230
|
allowConnectedAccounts?: boolean | undefined;
|
|
1238
1231
|
isShared?: boolean | undefined;
|
|
@@ -1272,18 +1265,25 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1272
1265
|
}>;
|
|
1273
1266
|
}, "server"> & {
|
|
1274
1267
|
server: {
|
|
1275
|
-
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
1276
1268
|
password?: string | undefined;
|
|
1277
|
-
|
|
1269
|
+
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
1278
1270
|
host?: string | undefined;
|
|
1279
1271
|
port?: number | undefined;
|
|
1280
1272
|
username?: string | undefined;
|
|
1273
|
+
isShared?: boolean | undefined;
|
|
1281
1274
|
senderName?: string | undefined;
|
|
1282
1275
|
senderEmail?: string | undefined;
|
|
1283
1276
|
managedSubdomain?: string | undefined;
|
|
1284
1277
|
managedSenderLocalPart?: string | undefined;
|
|
1285
1278
|
};
|
|
1286
1279
|
};
|
|
1280
|
+
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
1281
|
+
allowLocalhost?: boolean | undefined;
|
|
1282
|
+
trustedDomains: Record<string, {
|
|
1283
|
+
baseUrl?: string | undefined;
|
|
1284
|
+
handlerPath?: string | undefined;
|
|
1285
|
+
}>;
|
|
1286
|
+
};
|
|
1287
1287
|
customDashboards: Record<string, {
|
|
1288
1288
|
displayName: string;
|
|
1289
1289
|
tsxSource: string;
|
|
@@ -1299,7 +1299,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1299
1299
|
project: {
|
|
1300
1300
|
requirePublishableClientKey: undefined;
|
|
1301
1301
|
};
|
|
1302
|
-
}, string>, "
|
|
1302
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1303
1303
|
rbac: {
|
|
1304
1304
|
permissions: undefined;
|
|
1305
1305
|
defaultPermissions: {
|
|
@@ -1363,13 +1363,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1363
1363
|
dataVault: {
|
|
1364
1364
|
stores: undefined;
|
|
1365
1365
|
};
|
|
1366
|
-
}>, "
|
|
1366
|
+
}>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
|
|
1367
1367
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
1368
1368
|
sourceOfTruth: undefined;
|
|
1369
1369
|
project: {
|
|
1370
1370
|
requirePublishableClientKey: undefined;
|
|
1371
1371
|
};
|
|
1372
|
-
}, string>, "
|
|
1372
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1373
1373
|
rbac: {
|
|
1374
1374
|
permissions: undefined;
|
|
1375
1375
|
defaultPermissions: {
|
|
@@ -1439,7 +1439,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1439
1439
|
project: {
|
|
1440
1440
|
requirePublishableClientKey: undefined;
|
|
1441
1441
|
};
|
|
1442
|
-
}, string>, "
|
|
1442
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1443
1443
|
rbac: {
|
|
1444
1444
|
permissions: undefined;
|
|
1445
1445
|
defaultPermissions: {
|
|
@@ -1512,7 +1512,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1512
1512
|
project: {
|
|
1513
1513
|
requirePublishableClientKey: undefined;
|
|
1514
1514
|
};
|
|
1515
|
-
}, string>, "
|
|
1515
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1516
1516
|
rbac: {
|
|
1517
1517
|
permissions: undefined;
|
|
1518
1518
|
defaultPermissions: {
|
|
@@ -1595,7 +1595,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1595
1595
|
project: {
|
|
1596
1596
|
requirePublishableClientKey: undefined;
|
|
1597
1597
|
};
|
|
1598
|
-
}, string>, "
|
|
1598
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1599
1599
|
rbac: {
|
|
1600
1600
|
permissions: undefined;
|
|
1601
1601
|
defaultPermissions: {
|
|
@@ -1668,7 +1668,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1668
1668
|
project: {
|
|
1669
1669
|
requirePublishableClientKey: undefined;
|
|
1670
1670
|
};
|
|
1671
|
-
}, string>, "
|
|
1671
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1672
1672
|
rbac: {
|
|
1673
1673
|
permissions: undefined;
|
|
1674
1674
|
defaultPermissions: {
|
|
@@ -2012,8 +2012,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2012
2012
|
auth: {
|
|
2013
2013
|
oauth: {
|
|
2014
2014
|
providers: Record<string, {
|
|
2015
|
-
displayName?: string | undefined;
|
|
2016
2015
|
scope?: string | undefined;
|
|
2016
|
+
displayName?: string | undefined;
|
|
2017
2017
|
issuerUrl?: string | undefined;
|
|
2018
2018
|
type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
|
|
2019
2019
|
allowSignIn: boolean;
|
|
@@ -2033,16 +2033,15 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2033
2033
|
accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
|
|
2034
2034
|
};
|
|
2035
2035
|
signUpRules: Record<string, {
|
|
2036
|
-
displayName: string | undefined;
|
|
2037
2036
|
enabled: boolean;
|
|
2037
|
+
displayName: string | undefined;
|
|
2038
2038
|
priority: number;
|
|
2039
2039
|
condition: string | undefined;
|
|
2040
2040
|
action: {
|
|
2041
|
-
message: string | undefined;
|
|
2042
2041
|
type: "allow" | "reject" | "restrict" | "log";
|
|
2042
|
+
message: string | undefined;
|
|
2043
2043
|
};
|
|
2044
2044
|
}>;
|
|
2045
|
-
allowSignUp: boolean;
|
|
2046
2045
|
password: {
|
|
2047
2046
|
allowSignIn: boolean;
|
|
2048
2047
|
};
|
|
@@ -2052,6 +2051,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2052
2051
|
passkey: {
|
|
2053
2052
|
allowSignIn: boolean;
|
|
2054
2053
|
};
|
|
2054
|
+
allowSignUp: boolean;
|
|
2055
2055
|
signUpRulesDefaultAction: string;
|
|
2056
2056
|
};
|
|
2057
2057
|
emails: {
|
|
@@ -2070,12 +2070,12 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2070
2070
|
};
|
|
2071
2071
|
};
|
|
2072
2072
|
server: {
|
|
2073
|
-
provider: "resend" | "smtp" | "managed";
|
|
2074
2073
|
password: string | undefined;
|
|
2075
|
-
|
|
2074
|
+
provider: "resend" | "smtp" | "managed";
|
|
2076
2075
|
host: string | undefined;
|
|
2077
2076
|
port: number | undefined;
|
|
2078
2077
|
username: string | undefined;
|
|
2078
|
+
isShared: boolean;
|
|
2079
2079
|
senderName: string | undefined;
|
|
2080
2080
|
senderEmail: string | undefined;
|
|
2081
2081
|
managedSubdomain: string | undefined;
|
|
@@ -2099,16 +2099,16 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2099
2099
|
}> & {
|
|
2100
2100
|
serverOnly: boolean;
|
|
2101
2101
|
}>;
|
|
2102
|
+
stackable: boolean | undefined;
|
|
2102
2103
|
displayName: string;
|
|
2103
2104
|
serverOnly: boolean;
|
|
2104
2105
|
freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
2105
2106
|
productLineId: string | undefined;
|
|
2106
2107
|
customerType: "team" | "user" | "custom";
|
|
2107
|
-
stackable: boolean | undefined;
|
|
2108
2108
|
includedItems: {
|
|
2109
2109
|
[x: string]: {
|
|
2110
|
-
quantity: number;
|
|
2111
2110
|
repeat: "never" | [number, "day" | "week" | "month" | "year"];
|
|
2111
|
+
quantity: number;
|
|
2112
2112
|
expires: "never" | "when-purchase-expires" | "when-repeated";
|
|
2113
2113
|
};
|
|
2114
2114
|
};
|
|
@@ -2144,13 +2144,28 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2144
2144
|
} & {
|
|
2145
2145
|
readonly type: "hosted";
|
|
2146
2146
|
};
|
|
2147
|
-
users: {
|
|
2148
|
-
allowClientUserDeletion: boolean;
|
|
2149
|
-
};
|
|
2150
2147
|
teams: {
|
|
2151
2148
|
createPersonalTeamOnSignUp: boolean;
|
|
2152
2149
|
allowClientTeamCreation: boolean;
|
|
2153
2150
|
};
|
|
2151
|
+
analytics: {
|
|
2152
|
+
queryFolders: {
|
|
2153
|
+
[x: string]: {
|
|
2154
|
+
displayName: string;
|
|
2155
|
+
sortOrder: number;
|
|
2156
|
+
queries: {
|
|
2157
|
+
[x: string]: {
|
|
2158
|
+
description: string | undefined;
|
|
2159
|
+
displayName: string;
|
|
2160
|
+
sqlQuery: string;
|
|
2161
|
+
};
|
|
2162
|
+
};
|
|
2163
|
+
};
|
|
2164
|
+
};
|
|
2165
|
+
};
|
|
2166
|
+
onboarding: {
|
|
2167
|
+
requireEmailVerification: boolean;
|
|
2168
|
+
};
|
|
2154
2169
|
rbac: {
|
|
2155
2170
|
permissions: {
|
|
2156
2171
|
[x: string]: {
|
|
@@ -2173,15 +2188,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2173
2188
|
};
|
|
2174
2189
|
};
|
|
2175
2190
|
};
|
|
2176
|
-
onboarding: {
|
|
2177
|
-
requireEmailVerification: boolean;
|
|
2178
|
-
};
|
|
2179
|
-
apiKeys: {
|
|
2180
|
-
enabled: {
|
|
2181
|
-
team: boolean;
|
|
2182
|
-
user: boolean;
|
|
2183
|
-
};
|
|
2184
|
-
};
|
|
2185
2191
|
domains: {
|
|
2186
2192
|
allowLocalhost: boolean;
|
|
2187
2193
|
trustedDomains: {
|
|
@@ -2191,19 +2197,13 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2191
2197
|
};
|
|
2192
2198
|
};
|
|
2193
2199
|
};
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
description: string | undefined;
|
|
2202
|
-
displayName: string;
|
|
2203
|
-
sqlQuery: string;
|
|
2204
|
-
};
|
|
2205
|
-
};
|
|
2206
|
-
};
|
|
2200
|
+
users: {
|
|
2201
|
+
allowClientUserDeletion: boolean;
|
|
2202
|
+
};
|
|
2203
|
+
apiKeys: {
|
|
2204
|
+
enabled: {
|
|
2205
|
+
team: boolean;
|
|
2206
|
+
user: boolean;
|
|
2207
2207
|
};
|
|
2208
2208
|
};
|
|
2209
2209
|
dataVault: {
|
|
@@ -2286,4 +2286,4 @@ type OrganizationRenderedConfig = Expand<Awaited<ReturnType<typeof sanitizeOrgan
|
|
|
2286
2286
|
type CompleteConfig = OrganizationRenderedConfig;
|
|
2287
2287
|
//#endregion
|
|
2288
2288
|
export { branchConfigSchema as A, sanitizeEnvironmentConfig as B, ValidatedToHaveNoConfigOverrideErrors as C, applyOrganizationDefaults as D, applyEnvironmentDefaults as E, getIncompleteConfigWarnings as F, sanitizeProjectConfig as H, migrateConfigOverride as I, organizationConfigSchema as L, configLevels as M, environmentConfigSchema as N, applyProjectDefaults as O, getConfigOverrideErrors as P, projectConfigSchema as R, ProjectRenderedConfig as S, applyBranchDefaults as T, sanitizeOrganizationConfig as V, OrganizationRenderedConfig as _, BranchRenderedConfig as a, ProjectConfigOverrideOverride as b, EnvironmentConfigNormalizedOverride as c, EnvironmentIncompleteConfig as d, EnvironmentRenderedConfig as f, OrganizationIncompleteConfig as g, OrganizationConfigOverrideOverride as h, BranchIncompleteConfig as i, branchPaymentsSchema as j, assertNoConfigOverrideErrors as k, EnvironmentConfigOverride as l, OrganizationConfigOverride as m, BranchConfigOverride as n, CompleteConfig as o, OrganizationConfigNormalizedOverride as p, BranchConfigOverrideOverride as r, ConfigLevel as s, BranchConfigNormalizedOverride as t, EnvironmentConfigOverrideOverride as u, ProjectConfigNormalizedOverride as v, ValidatedToHaveNoIncompleteConfigWarnings as w, ProjectIncompleteConfig as x, ProjectConfigOverride as y, sanitizeBranchConfig as z };
|
|
2289
|
-
//# sourceMappingURL=schema-
|
|
2289
|
+
//# sourceMappingURL=schema-DGZfskAR.d.ts.map
|