@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
|
@@ -38,13 +38,12 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
|
|
|
38
38
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
39
39
|
}>;
|
|
40
40
|
products: Record<string, {
|
|
41
|
+
stackable?: boolean | undefined;
|
|
41
42
|
displayName?: string | undefined;
|
|
42
43
|
serverOnly?: boolean | undefined;
|
|
43
44
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
44
45
|
productLineId?: string | undefined;
|
|
45
46
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
46
|
-
stackable?: boolean | undefined;
|
|
47
|
-
customerType: "team" | "user" | "custom";
|
|
48
47
|
prices: Record<string, {
|
|
49
48
|
USD?: string | undefined;
|
|
50
49
|
EUR?: string | undefined;
|
|
@@ -57,6 +56,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
|
|
|
57
56
|
serverOnly?: boolean | undefined;
|
|
58
57
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
59
58
|
}>;
|
|
59
|
+
customerType: "team" | "user" | "custom";
|
|
60
60
|
includedItems: Record<string, {
|
|
61
61
|
repeat?: "never" | import("../utils/dates").DayInterval | undefined;
|
|
62
62
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -83,7 +83,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
83
83
|
sourceOfTruth: {
|
|
84
84
|
type: "hosted";
|
|
85
85
|
};
|
|
86
|
-
}, string>, "
|
|
86
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
87
87
|
payments?: {
|
|
88
88
|
blockNewPurchases?: boolean | undefined;
|
|
89
89
|
autoPay?: {
|
|
@@ -98,13 +98,12 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
98
98
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
99
99
|
}>;
|
|
100
100
|
products: Record<string, {
|
|
101
|
+
stackable?: boolean | undefined;
|
|
101
102
|
displayName?: string | undefined;
|
|
102
103
|
serverOnly?: boolean | undefined;
|
|
103
104
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
104
105
|
productLineId?: string | undefined;
|
|
105
106
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
106
|
-
stackable?: boolean | undefined;
|
|
107
|
-
customerType: "team" | "user" | "custom";
|
|
108
107
|
prices: Record<string, {
|
|
109
108
|
USD?: string | undefined;
|
|
110
109
|
EUR?: string | undefined;
|
|
@@ -117,6 +116,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
117
116
|
serverOnly?: boolean | undefined;
|
|
118
117
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
119
118
|
}>;
|
|
119
|
+
customerType: "team" | "user" | "custom";
|
|
120
120
|
includedItems: Record<string, {
|
|
121
121
|
repeat?: "never" | import("../utils/dates").DayInterval | undefined;
|
|
122
122
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -124,40 +124,10 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
124
124
|
}>;
|
|
125
125
|
}>;
|
|
126
126
|
} | undefined;
|
|
127
|
-
users: {
|
|
128
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
129
|
-
};
|
|
130
127
|
teams: {
|
|
131
128
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
132
129
|
allowClientTeamCreation?: boolean | undefined;
|
|
133
130
|
};
|
|
134
|
-
rbac: {
|
|
135
|
-
permissions: Record<string, {
|
|
136
|
-
description?: string | undefined;
|
|
137
|
-
scope?: "team" | "project" | undefined;
|
|
138
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
139
|
-
} | undefined>;
|
|
140
|
-
defaultPermissions: {
|
|
141
|
-
teamCreator: Record<string, true | undefined>;
|
|
142
|
-
teamMember: Record<string, true | undefined>;
|
|
143
|
-
signUp: Record<string, true | undefined>;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
onboarding: {
|
|
147
|
-
requireEmailVerification?: boolean | undefined;
|
|
148
|
-
};
|
|
149
|
-
apiKeys: {
|
|
150
|
-
enabled: {
|
|
151
|
-
team?: boolean | undefined;
|
|
152
|
-
user?: boolean | undefined;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
apps: {
|
|
156
|
-
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", {
|
|
157
|
-
enabled?: boolean | undefined;
|
|
158
|
-
}>;
|
|
159
|
-
};
|
|
160
|
-
domains: {};
|
|
161
131
|
auth: {
|
|
162
132
|
allowSignUp?: boolean | undefined;
|
|
163
133
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -167,9 +137,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
167
137
|
otp: {
|
|
168
138
|
allowSignIn?: boolean | undefined;
|
|
169
139
|
};
|
|
170
|
-
passkey: {
|
|
171
|
-
allowSignIn?: boolean | undefined;
|
|
172
|
-
};
|
|
173
140
|
oauth: {
|
|
174
141
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
175
142
|
providers: Record<string, {
|
|
@@ -178,9 +145,12 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
178
145
|
allowConnectedAccounts?: boolean | undefined;
|
|
179
146
|
}>;
|
|
180
147
|
};
|
|
148
|
+
passkey: {
|
|
149
|
+
allowSignIn?: boolean | undefined;
|
|
150
|
+
};
|
|
181
151
|
signUpRules: Record<string, {
|
|
182
|
-
displayName?: string | undefined;
|
|
183
152
|
enabled?: boolean | undefined;
|
|
153
|
+
displayName?: string | undefined;
|
|
184
154
|
priority?: number | undefined;
|
|
185
155
|
condition?: string | undefined;
|
|
186
156
|
action: {
|
|
@@ -189,6 +159,21 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
189
159
|
};
|
|
190
160
|
}>;
|
|
191
161
|
};
|
|
162
|
+
onboarding: {
|
|
163
|
+
requireEmailVerification?: boolean | undefined;
|
|
164
|
+
};
|
|
165
|
+
rbac: {
|
|
166
|
+
permissions: Record<string, {
|
|
167
|
+
description?: string | undefined;
|
|
168
|
+
scope?: "team" | "project" | undefined;
|
|
169
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
170
|
+
} | undefined>;
|
|
171
|
+
defaultPermissions: {
|
|
172
|
+
teamCreator: Record<string, true | undefined>;
|
|
173
|
+
teamMember: Record<string, true | undefined>;
|
|
174
|
+
signUp: Record<string, true | undefined>;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
192
177
|
emails: {
|
|
193
178
|
selectedThemeId?: string | undefined;
|
|
194
179
|
themes: Record<string, {
|
|
@@ -201,6 +186,21 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
201
186
|
tsxSource: string;
|
|
202
187
|
}>;
|
|
203
188
|
};
|
|
189
|
+
domains: {};
|
|
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<"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", {
|
|
201
|
+
enabled?: boolean | undefined;
|
|
202
|
+
}>;
|
|
203
|
+
};
|
|
204
204
|
dataVault: {
|
|
205
205
|
stores: Record<string, {
|
|
206
206
|
displayName?: string | undefined;
|
|
@@ -211,7 +211,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
211
211
|
project: {
|
|
212
212
|
requirePublishableClientKey: undefined;
|
|
213
213
|
};
|
|
214
|
-
}, string>, "
|
|
214
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
215
215
|
rbac: {
|
|
216
216
|
permissions: undefined;
|
|
217
217
|
defaultPermissions: {
|
|
@@ -283,7 +283,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
283
283
|
sourceOfTruth: {
|
|
284
284
|
type: "hosted";
|
|
285
285
|
};
|
|
286
|
-
}, string>, "
|
|
286
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
287
287
|
payments?: {
|
|
288
288
|
blockNewPurchases?: boolean | undefined;
|
|
289
289
|
autoPay?: {
|
|
@@ -298,13 +298,12 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
298
298
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
299
299
|
}>;
|
|
300
300
|
products: Record<string, {
|
|
301
|
+
stackable?: boolean | undefined;
|
|
301
302
|
displayName?: string | undefined;
|
|
302
303
|
serverOnly?: boolean | undefined;
|
|
303
304
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
304
305
|
productLineId?: string | undefined;
|
|
305
306
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
306
|
-
stackable?: boolean | undefined;
|
|
307
|
-
customerType: "team" | "user" | "custom";
|
|
308
307
|
prices: Record<string, {
|
|
309
308
|
USD?: string | undefined;
|
|
310
309
|
EUR?: string | undefined;
|
|
@@ -317,6 +316,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
317
316
|
serverOnly?: boolean | undefined;
|
|
318
317
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
319
318
|
}>;
|
|
319
|
+
customerType: "team" | "user" | "custom";
|
|
320
320
|
includedItems: Record<string, {
|
|
321
321
|
repeat?: "never" | import("../utils/dates").DayInterval | undefined;
|
|
322
322
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -324,40 +324,10 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
324
324
|
}>;
|
|
325
325
|
}>;
|
|
326
326
|
} | undefined;
|
|
327
|
-
users: {
|
|
328
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
329
|
-
};
|
|
330
327
|
teams: {
|
|
331
328
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
332
329
|
allowClientTeamCreation?: boolean | undefined;
|
|
333
330
|
};
|
|
334
|
-
rbac: {
|
|
335
|
-
permissions: Record<string, {
|
|
336
|
-
description?: string | undefined;
|
|
337
|
-
scope?: "team" | "project" | undefined;
|
|
338
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
339
|
-
} | undefined>;
|
|
340
|
-
defaultPermissions: {
|
|
341
|
-
teamCreator: Record<string, true | undefined>;
|
|
342
|
-
teamMember: Record<string, true | undefined>;
|
|
343
|
-
signUp: Record<string, true | undefined>;
|
|
344
|
-
};
|
|
345
|
-
};
|
|
346
|
-
onboarding: {
|
|
347
|
-
requireEmailVerification?: boolean | undefined;
|
|
348
|
-
};
|
|
349
|
-
apiKeys: {
|
|
350
|
-
enabled: {
|
|
351
|
-
team?: boolean | undefined;
|
|
352
|
-
user?: boolean | undefined;
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
apps: {
|
|
356
|
-
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", {
|
|
357
|
-
enabled?: boolean | undefined;
|
|
358
|
-
}>;
|
|
359
|
-
};
|
|
360
|
-
domains: {};
|
|
361
331
|
auth: {
|
|
362
332
|
allowSignUp?: boolean | undefined;
|
|
363
333
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -367,9 +337,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
367
337
|
otp: {
|
|
368
338
|
allowSignIn?: boolean | undefined;
|
|
369
339
|
};
|
|
370
|
-
passkey: {
|
|
371
|
-
allowSignIn?: boolean | undefined;
|
|
372
|
-
};
|
|
373
340
|
oauth: {
|
|
374
341
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
375
342
|
providers: Record<string, {
|
|
@@ -378,9 +345,12 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
378
345
|
allowConnectedAccounts?: boolean | undefined;
|
|
379
346
|
}>;
|
|
380
347
|
};
|
|
348
|
+
passkey: {
|
|
349
|
+
allowSignIn?: boolean | undefined;
|
|
350
|
+
};
|
|
381
351
|
signUpRules: Record<string, {
|
|
382
|
-
displayName?: string | undefined;
|
|
383
352
|
enabled?: boolean | undefined;
|
|
353
|
+
displayName?: string | undefined;
|
|
384
354
|
priority?: number | undefined;
|
|
385
355
|
condition?: string | undefined;
|
|
386
356
|
action: {
|
|
@@ -389,6 +359,21 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
389
359
|
};
|
|
390
360
|
}>;
|
|
391
361
|
};
|
|
362
|
+
onboarding: {
|
|
363
|
+
requireEmailVerification?: boolean | undefined;
|
|
364
|
+
};
|
|
365
|
+
rbac: {
|
|
366
|
+
permissions: Record<string, {
|
|
367
|
+
description?: string | undefined;
|
|
368
|
+
scope?: "team" | "project" | undefined;
|
|
369
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
370
|
+
} | undefined>;
|
|
371
|
+
defaultPermissions: {
|
|
372
|
+
teamCreator: Record<string, true | undefined>;
|
|
373
|
+
teamMember: Record<string, true | undefined>;
|
|
374
|
+
signUp: Record<string, true | undefined>;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
392
377
|
emails: {
|
|
393
378
|
selectedThemeId?: string | undefined;
|
|
394
379
|
themes: Record<string, {
|
|
@@ -401,12 +386,27 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
401
386
|
tsxSource: string;
|
|
402
387
|
}>;
|
|
403
388
|
};
|
|
389
|
+
domains: {};
|
|
390
|
+
users: {
|
|
391
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
392
|
+
};
|
|
393
|
+
apiKeys: {
|
|
394
|
+
enabled: {
|
|
395
|
+
team?: boolean | undefined;
|
|
396
|
+
user?: boolean | undefined;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
apps: {
|
|
400
|
+
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", {
|
|
401
|
+
enabled?: boolean | undefined;
|
|
402
|
+
}>;
|
|
403
|
+
};
|
|
404
404
|
dataVault: {
|
|
405
405
|
stores: Record<string, {
|
|
406
406
|
displayName?: string | undefined;
|
|
407
407
|
}>;
|
|
408
408
|
};
|
|
409
|
-
}>, "
|
|
409
|
+
}>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
|
|
410
410
|
payments?: (Omit<{
|
|
411
411
|
blockNewPurchases?: boolean | undefined;
|
|
412
412
|
autoPay?: {
|
|
@@ -421,13 +421,12 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
421
421
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
422
422
|
}>;
|
|
423
423
|
products: Record<string, {
|
|
424
|
+
stackable?: boolean | undefined;
|
|
424
425
|
displayName?: string | undefined;
|
|
425
426
|
serverOnly?: boolean | undefined;
|
|
426
427
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
427
428
|
productLineId?: string | undefined;
|
|
428
429
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
429
|
-
stackable?: boolean | undefined;
|
|
430
|
-
customerType: "team" | "user" | "custom";
|
|
431
430
|
prices: Record<string, {
|
|
432
431
|
USD?: string | undefined;
|
|
433
432
|
EUR?: string | undefined;
|
|
@@ -440,6 +439,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
440
439
|
serverOnly?: boolean | undefined;
|
|
441
440
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
442
441
|
}>;
|
|
442
|
+
customerType: "team" | "user" | "custom";
|
|
443
443
|
includedItems: Record<string, {
|
|
444
444
|
repeat?: "never" | import("../utils/dates").DayInterval | undefined;
|
|
445
445
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -449,13 +449,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
449
449
|
}, "testMode"> & {
|
|
450
450
|
testMode?: boolean | undefined;
|
|
451
451
|
}) | undefined;
|
|
452
|
-
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
453
|
-
allowLocalhost?: boolean | undefined;
|
|
454
|
-
trustedDomains: Record<string, {
|
|
455
|
-
baseUrl?: string | undefined;
|
|
456
|
-
handlerPath?: string | undefined;
|
|
457
|
-
}>;
|
|
458
|
-
};
|
|
459
452
|
auth: Omit<{
|
|
460
453
|
allowSignUp?: boolean | undefined;
|
|
461
454
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -465,9 +458,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
465
458
|
otp: {
|
|
466
459
|
allowSignIn?: boolean | undefined;
|
|
467
460
|
};
|
|
468
|
-
passkey: {
|
|
469
|
-
allowSignIn?: boolean | undefined;
|
|
470
|
-
};
|
|
471
461
|
oauth: {
|
|
472
462
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
473
463
|
providers: Record<string, {
|
|
@@ -476,9 +466,12 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
476
466
|
allowConnectedAccounts?: boolean | undefined;
|
|
477
467
|
}>;
|
|
478
468
|
};
|
|
469
|
+
passkey: {
|
|
470
|
+
allowSignIn?: boolean | undefined;
|
|
471
|
+
};
|
|
479
472
|
signUpRules: Record<string, {
|
|
480
|
-
displayName?: string | undefined;
|
|
481
473
|
enabled?: boolean | undefined;
|
|
474
|
+
displayName?: string | undefined;
|
|
482
475
|
priority?: number | undefined;
|
|
483
476
|
condition?: string | undefined;
|
|
484
477
|
action: {
|
|
@@ -497,8 +490,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
497
490
|
}, "providers"> & {
|
|
498
491
|
providers: Record<string, {
|
|
499
492
|
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
|
|
500
|
-
displayName?: string | undefined;
|
|
501
493
|
scope?: string | undefined;
|
|
494
|
+
displayName?: string | undefined;
|
|
502
495
|
allowSignIn?: boolean | undefined;
|
|
503
496
|
allowConnectedAccounts?: boolean | undefined;
|
|
504
497
|
isShared?: boolean | undefined;
|
|
@@ -538,18 +531,25 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
538
531
|
}>;
|
|
539
532
|
}, "server"> & {
|
|
540
533
|
server: {
|
|
541
|
-
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
542
534
|
password?: string | undefined;
|
|
543
|
-
|
|
535
|
+
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
544
536
|
host?: string | undefined;
|
|
545
537
|
port?: number | undefined;
|
|
546
538
|
username?: string | undefined;
|
|
539
|
+
isShared?: boolean | undefined;
|
|
547
540
|
senderName?: string | undefined;
|
|
548
541
|
senderEmail?: string | undefined;
|
|
549
542
|
managedSubdomain?: string | undefined;
|
|
550
543
|
managedSenderLocalPart?: string | undefined;
|
|
551
544
|
};
|
|
552
545
|
};
|
|
546
|
+
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
547
|
+
allowLocalhost?: boolean | undefined;
|
|
548
|
+
trustedDomains: Record<string, {
|
|
549
|
+
baseUrl?: string | undefined;
|
|
550
|
+
handlerPath?: string | undefined;
|
|
551
|
+
}>;
|
|
552
|
+
};
|
|
553
553
|
customDashboards: Record<string, {
|
|
554
554
|
displayName: string;
|
|
555
555
|
tsxSource: string;
|
|
@@ -565,7 +565,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
565
565
|
project: {
|
|
566
566
|
requirePublishableClientKey: undefined;
|
|
567
567
|
};
|
|
568
|
-
}, string>, "
|
|
568
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
569
569
|
rbac: {
|
|
570
570
|
permissions: undefined;
|
|
571
571
|
defaultPermissions: {
|
|
@@ -629,13 +629,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
629
629
|
dataVault: {
|
|
630
630
|
stores: undefined;
|
|
631
631
|
};
|
|
632
|
-
}>, "
|
|
632
|
+
}>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
|
|
633
633
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
634
634
|
sourceOfTruth: undefined;
|
|
635
635
|
project: {
|
|
636
636
|
requirePublishableClientKey: undefined;
|
|
637
637
|
};
|
|
638
|
-
}, string>, "
|
|
638
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
639
639
|
rbac: {
|
|
640
640
|
permissions: undefined;
|
|
641
641
|
defaultPermissions: {
|
|
@@ -705,7 +705,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
705
705
|
project: {
|
|
706
706
|
requirePublishableClientKey: undefined;
|
|
707
707
|
};
|
|
708
|
-
}, string>, "
|
|
708
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
709
709
|
rbac: {
|
|
710
710
|
permissions: undefined;
|
|
711
711
|
defaultPermissions: {
|
|
@@ -778,7 +778,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
778
778
|
project: {
|
|
779
779
|
requirePublishableClientKey: undefined;
|
|
780
780
|
};
|
|
781
|
-
}, string>, "
|
|
781
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
782
782
|
rbac: {
|
|
783
783
|
permissions: undefined;
|
|
784
784
|
defaultPermissions: {
|
|
@@ -861,7 +861,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
861
861
|
project: {
|
|
862
862
|
requirePublishableClientKey: undefined;
|
|
863
863
|
};
|
|
864
|
-
}, string>, "
|
|
864
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
865
865
|
rbac: {
|
|
866
866
|
permissions: undefined;
|
|
867
867
|
defaultPermissions: {
|
|
@@ -934,7 +934,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
934
934
|
project: {
|
|
935
935
|
requirePublishableClientKey: undefined;
|
|
936
936
|
};
|
|
937
|
-
}, string>, "
|
|
937
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
938
938
|
rbac: {
|
|
939
939
|
permissions: undefined;
|
|
940
940
|
defaultPermissions: {
|
|
@@ -1016,7 +1016,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1016
1016
|
sourceOfTruth: {
|
|
1017
1017
|
type: "hosted";
|
|
1018
1018
|
};
|
|
1019
|
-
}, string>, "
|
|
1019
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1020
1020
|
payments?: {
|
|
1021
1021
|
blockNewPurchases?: boolean | undefined;
|
|
1022
1022
|
autoPay?: {
|
|
@@ -1031,13 +1031,12 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1031
1031
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
1032
1032
|
}>;
|
|
1033
1033
|
products: Record<string, {
|
|
1034
|
+
stackable?: boolean | undefined;
|
|
1034
1035
|
displayName?: string | undefined;
|
|
1035
1036
|
serverOnly?: boolean | undefined;
|
|
1036
1037
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
1037
1038
|
productLineId?: string | undefined;
|
|
1038
1039
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
1039
|
-
stackable?: boolean | undefined;
|
|
1040
|
-
customerType: "team" | "user" | "custom";
|
|
1041
1040
|
prices: Record<string, {
|
|
1042
1041
|
USD?: string | undefined;
|
|
1043
1042
|
EUR?: string | undefined;
|
|
@@ -1050,6 +1049,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1050
1049
|
serverOnly?: boolean | undefined;
|
|
1051
1050
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
1052
1051
|
}>;
|
|
1052
|
+
customerType: "team" | "user" | "custom";
|
|
1053
1053
|
includedItems: Record<string, {
|
|
1054
1054
|
repeat?: "never" | import("../utils/dates").DayInterval | undefined;
|
|
1055
1055
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -1057,40 +1057,10 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1057
1057
|
}>;
|
|
1058
1058
|
}>;
|
|
1059
1059
|
} | undefined;
|
|
1060
|
-
users: {
|
|
1061
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
1062
|
-
};
|
|
1063
1060
|
teams: {
|
|
1064
1061
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
1065
1062
|
allowClientTeamCreation?: boolean | undefined;
|
|
1066
1063
|
};
|
|
1067
|
-
rbac: {
|
|
1068
|
-
permissions: Record<string, {
|
|
1069
|
-
description?: string | undefined;
|
|
1070
|
-
scope?: "team" | "project" | undefined;
|
|
1071
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
1072
|
-
} | undefined>;
|
|
1073
|
-
defaultPermissions: {
|
|
1074
|
-
teamCreator: Record<string, true | undefined>;
|
|
1075
|
-
teamMember: Record<string, true | undefined>;
|
|
1076
|
-
signUp: Record<string, true | undefined>;
|
|
1077
|
-
};
|
|
1078
|
-
};
|
|
1079
|
-
onboarding: {
|
|
1080
|
-
requireEmailVerification?: boolean | undefined;
|
|
1081
|
-
};
|
|
1082
|
-
apiKeys: {
|
|
1083
|
-
enabled: {
|
|
1084
|
-
team?: boolean | undefined;
|
|
1085
|
-
user?: boolean | undefined;
|
|
1086
|
-
};
|
|
1087
|
-
};
|
|
1088
|
-
apps: {
|
|
1089
|
-
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", {
|
|
1090
|
-
enabled?: boolean | undefined;
|
|
1091
|
-
}>;
|
|
1092
|
-
};
|
|
1093
|
-
domains: {};
|
|
1094
1064
|
auth: {
|
|
1095
1065
|
allowSignUp?: boolean | undefined;
|
|
1096
1066
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -1100,9 +1070,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1100
1070
|
otp: {
|
|
1101
1071
|
allowSignIn?: boolean | undefined;
|
|
1102
1072
|
};
|
|
1103
|
-
passkey: {
|
|
1104
|
-
allowSignIn?: boolean | undefined;
|
|
1105
|
-
};
|
|
1106
1073
|
oauth: {
|
|
1107
1074
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
1108
1075
|
providers: Record<string, {
|
|
@@ -1111,9 +1078,12 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1111
1078
|
allowConnectedAccounts?: boolean | undefined;
|
|
1112
1079
|
}>;
|
|
1113
1080
|
};
|
|
1081
|
+
passkey: {
|
|
1082
|
+
allowSignIn?: boolean | undefined;
|
|
1083
|
+
};
|
|
1114
1084
|
signUpRules: Record<string, {
|
|
1115
|
-
displayName?: string | undefined;
|
|
1116
1085
|
enabled?: boolean | undefined;
|
|
1086
|
+
displayName?: string | undefined;
|
|
1117
1087
|
priority?: number | undefined;
|
|
1118
1088
|
condition?: string | undefined;
|
|
1119
1089
|
action: {
|
|
@@ -1122,6 +1092,21 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1122
1092
|
};
|
|
1123
1093
|
}>;
|
|
1124
1094
|
};
|
|
1095
|
+
onboarding: {
|
|
1096
|
+
requireEmailVerification?: boolean | undefined;
|
|
1097
|
+
};
|
|
1098
|
+
rbac: {
|
|
1099
|
+
permissions: Record<string, {
|
|
1100
|
+
description?: string | undefined;
|
|
1101
|
+
scope?: "team" | "project" | undefined;
|
|
1102
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
1103
|
+
} | undefined>;
|
|
1104
|
+
defaultPermissions: {
|
|
1105
|
+
teamCreator: Record<string, true | undefined>;
|
|
1106
|
+
teamMember: Record<string, true | undefined>;
|
|
1107
|
+
signUp: Record<string, true | undefined>;
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1125
1110
|
emails: {
|
|
1126
1111
|
selectedThemeId?: string | undefined;
|
|
1127
1112
|
themes: Record<string, {
|
|
@@ -1134,12 +1119,27 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1134
1119
|
tsxSource: string;
|
|
1135
1120
|
}>;
|
|
1136
1121
|
};
|
|
1122
|
+
domains: {};
|
|
1123
|
+
users: {
|
|
1124
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
1125
|
+
};
|
|
1126
|
+
apiKeys: {
|
|
1127
|
+
enabled: {
|
|
1128
|
+
team?: boolean | undefined;
|
|
1129
|
+
user?: boolean | undefined;
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
apps: {
|
|
1133
|
+
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", {
|
|
1134
|
+
enabled?: boolean | undefined;
|
|
1135
|
+
}>;
|
|
1136
|
+
};
|
|
1137
1137
|
dataVault: {
|
|
1138
1138
|
stores: Record<string, {
|
|
1139
1139
|
displayName?: string | undefined;
|
|
1140
1140
|
}>;
|
|
1141
1141
|
};
|
|
1142
|
-
}>, "
|
|
1142
|
+
}>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
|
|
1143
1143
|
payments?: (Omit<{
|
|
1144
1144
|
blockNewPurchases?: boolean | undefined;
|
|
1145
1145
|
autoPay?: {
|
|
@@ -1154,13 +1154,12 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1154
1154
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
1155
1155
|
}>;
|
|
1156
1156
|
products: Record<string, {
|
|
1157
|
+
stackable?: boolean | undefined;
|
|
1157
1158
|
displayName?: string | undefined;
|
|
1158
1159
|
serverOnly?: boolean | undefined;
|
|
1159
1160
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
1160
1161
|
productLineId?: string | undefined;
|
|
1161
1162
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
1162
|
-
stackable?: boolean | undefined;
|
|
1163
|
-
customerType: "team" | "user" | "custom";
|
|
1164
1163
|
prices: Record<string, {
|
|
1165
1164
|
USD?: string | undefined;
|
|
1166
1165
|
EUR?: string | undefined;
|
|
@@ -1173,6 +1172,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1173
1172
|
serverOnly?: boolean | undefined;
|
|
1174
1173
|
freeTrial?: import("../utils/dates").DayInterval | undefined;
|
|
1175
1174
|
}>;
|
|
1175
|
+
customerType: "team" | "user" | "custom";
|
|
1176
1176
|
includedItems: Record<string, {
|
|
1177
1177
|
repeat?: "never" | import("../utils/dates").DayInterval | undefined;
|
|
1178
1178
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
@@ -1182,13 +1182,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1182
1182
|
}, "testMode"> & {
|
|
1183
1183
|
testMode?: boolean | undefined;
|
|
1184
1184
|
}) | undefined;
|
|
1185
|
-
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
1186
|
-
allowLocalhost?: boolean | undefined;
|
|
1187
|
-
trustedDomains: Record<string, {
|
|
1188
|
-
baseUrl?: string | undefined;
|
|
1189
|
-
handlerPath?: string | undefined;
|
|
1190
|
-
}>;
|
|
1191
|
-
};
|
|
1192
1185
|
auth: Omit<{
|
|
1193
1186
|
allowSignUp?: boolean | undefined;
|
|
1194
1187
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -1198,9 +1191,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1198
1191
|
otp: {
|
|
1199
1192
|
allowSignIn?: boolean | undefined;
|
|
1200
1193
|
};
|
|
1201
|
-
passkey: {
|
|
1202
|
-
allowSignIn?: boolean | undefined;
|
|
1203
|
-
};
|
|
1204
1194
|
oauth: {
|
|
1205
1195
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
1206
1196
|
providers: Record<string, {
|
|
@@ -1209,9 +1199,12 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1209
1199
|
allowConnectedAccounts?: boolean | undefined;
|
|
1210
1200
|
}>;
|
|
1211
1201
|
};
|
|
1202
|
+
passkey: {
|
|
1203
|
+
allowSignIn?: boolean | undefined;
|
|
1204
|
+
};
|
|
1212
1205
|
signUpRules: Record<string, {
|
|
1213
|
-
displayName?: string | undefined;
|
|
1214
1206
|
enabled?: boolean | undefined;
|
|
1207
|
+
displayName?: string | undefined;
|
|
1215
1208
|
priority?: number | undefined;
|
|
1216
1209
|
condition?: string | undefined;
|
|
1217
1210
|
action: {
|
|
@@ -1230,8 +1223,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1230
1223
|
}, "providers"> & {
|
|
1231
1224
|
providers: Record<string, {
|
|
1232
1225
|
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
|
|
1233
|
-
displayName?: string | undefined;
|
|
1234
1226
|
scope?: string | undefined;
|
|
1227
|
+
displayName?: string | undefined;
|
|
1235
1228
|
allowSignIn?: boolean | undefined;
|
|
1236
1229
|
allowConnectedAccounts?: boolean | undefined;
|
|
1237
1230
|
isShared?: boolean | undefined;
|
|
@@ -1271,18 +1264,25 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1271
1264
|
}>;
|
|
1272
1265
|
}, "server"> & {
|
|
1273
1266
|
server: {
|
|
1274
|
-
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
1275
1267
|
password?: string | undefined;
|
|
1276
|
-
|
|
1268
|
+
provider?: "resend" | "smtp" | "managed" | undefined;
|
|
1277
1269
|
host?: string | undefined;
|
|
1278
1270
|
port?: number | undefined;
|
|
1279
1271
|
username?: string | undefined;
|
|
1272
|
+
isShared?: boolean | undefined;
|
|
1280
1273
|
senderName?: string | undefined;
|
|
1281
1274
|
senderEmail?: string | undefined;
|
|
1282
1275
|
managedSubdomain?: string | undefined;
|
|
1283
1276
|
managedSenderLocalPart?: string | undefined;
|
|
1284
1277
|
};
|
|
1285
1278
|
};
|
|
1279
|
+
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
1280
|
+
allowLocalhost?: boolean | undefined;
|
|
1281
|
+
trustedDomains: Record<string, {
|
|
1282
|
+
baseUrl?: string | undefined;
|
|
1283
|
+
handlerPath?: string | undefined;
|
|
1284
|
+
}>;
|
|
1285
|
+
};
|
|
1286
1286
|
customDashboards: Record<string, {
|
|
1287
1287
|
displayName: string;
|
|
1288
1288
|
tsxSource: string;
|
|
@@ -1298,7 +1298,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1298
1298
|
project: {
|
|
1299
1299
|
requirePublishableClientKey: undefined;
|
|
1300
1300
|
};
|
|
1301
|
-
}, string>, "
|
|
1301
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1302
1302
|
rbac: {
|
|
1303
1303
|
permissions: undefined;
|
|
1304
1304
|
defaultPermissions: {
|
|
@@ -1362,13 +1362,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1362
1362
|
dataVault: {
|
|
1363
1363
|
stores: undefined;
|
|
1364
1364
|
};
|
|
1365
|
-
}>, "
|
|
1365
|
+
}>, "auth" | "analytics" | "payments" | "emails" | "domains" | "customDashboards" | "dbSync"> & {
|
|
1366
1366
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
1367
1367
|
sourceOfTruth: undefined;
|
|
1368
1368
|
project: {
|
|
1369
1369
|
requirePublishableClientKey: undefined;
|
|
1370
1370
|
};
|
|
1371
|
-
}, string>, "
|
|
1371
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1372
1372
|
rbac: {
|
|
1373
1373
|
permissions: undefined;
|
|
1374
1374
|
defaultPermissions: {
|
|
@@ -1438,7 +1438,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1438
1438
|
project: {
|
|
1439
1439
|
requirePublishableClientKey: undefined;
|
|
1440
1440
|
};
|
|
1441
|
-
}, string>, "
|
|
1441
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1442
1442
|
rbac: {
|
|
1443
1443
|
permissions: undefined;
|
|
1444
1444
|
defaultPermissions: {
|
|
@@ -1511,7 +1511,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1511
1511
|
project: {
|
|
1512
1512
|
requirePublishableClientKey: undefined;
|
|
1513
1513
|
};
|
|
1514
|
-
}, string>, "
|
|
1514
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1515
1515
|
rbac: {
|
|
1516
1516
|
permissions: undefined;
|
|
1517
1517
|
defaultPermissions: {
|
|
@@ -1594,7 +1594,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1594
1594
|
project: {
|
|
1595
1595
|
requirePublishableClientKey: undefined;
|
|
1596
1596
|
};
|
|
1597
|
-
}, string>, "
|
|
1597
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1598
1598
|
rbac: {
|
|
1599
1599
|
permissions: undefined;
|
|
1600
1600
|
defaultPermissions: {
|
|
@@ -1667,7 +1667,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1667
1667
|
project: {
|
|
1668
1668
|
requirePublishableClientKey: undefined;
|
|
1669
1669
|
};
|
|
1670
|
-
}, string>, "
|
|
1670
|
+
}, string>, "teams" | "auth" | "onboarding" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
|
|
1671
1671
|
rbac: {
|
|
1672
1672
|
permissions: undefined;
|
|
1673
1673
|
defaultPermissions: {
|
|
@@ -2011,8 +2011,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2011
2011
|
auth: {
|
|
2012
2012
|
oauth: {
|
|
2013
2013
|
providers: Record<string, {
|
|
2014
|
-
displayName?: string | undefined;
|
|
2015
2014
|
scope?: string | undefined;
|
|
2015
|
+
displayName?: string | undefined;
|
|
2016
2016
|
issuerUrl?: string | undefined;
|
|
2017
2017
|
type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
|
|
2018
2018
|
allowSignIn: boolean;
|
|
@@ -2032,16 +2032,15 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2032
2032
|
accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
|
|
2033
2033
|
};
|
|
2034
2034
|
signUpRules: Record<string, {
|
|
2035
|
-
displayName: string | undefined;
|
|
2036
2035
|
enabled: boolean;
|
|
2036
|
+
displayName: string | undefined;
|
|
2037
2037
|
priority: number;
|
|
2038
2038
|
condition: string | undefined;
|
|
2039
2039
|
action: {
|
|
2040
|
-
message: string | undefined;
|
|
2041
2040
|
type: "allow" | "reject" | "restrict" | "log";
|
|
2041
|
+
message: string | undefined;
|
|
2042
2042
|
};
|
|
2043
2043
|
}>;
|
|
2044
|
-
allowSignUp: boolean;
|
|
2045
2044
|
password: {
|
|
2046
2045
|
allowSignIn: boolean;
|
|
2047
2046
|
};
|
|
@@ -2051,6 +2050,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2051
2050
|
passkey: {
|
|
2052
2051
|
allowSignIn: boolean;
|
|
2053
2052
|
};
|
|
2053
|
+
allowSignUp: boolean;
|
|
2054
2054
|
signUpRulesDefaultAction: string;
|
|
2055
2055
|
};
|
|
2056
2056
|
emails: {
|
|
@@ -2069,12 +2069,12 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2069
2069
|
};
|
|
2070
2070
|
};
|
|
2071
2071
|
server: {
|
|
2072
|
-
provider: "resend" | "smtp" | "managed";
|
|
2073
2072
|
password: string | undefined;
|
|
2074
|
-
|
|
2073
|
+
provider: "resend" | "smtp" | "managed";
|
|
2075
2074
|
host: string | undefined;
|
|
2076
2075
|
port: number | undefined;
|
|
2077
2076
|
username: string | undefined;
|
|
2077
|
+
isShared: boolean;
|
|
2078
2078
|
senderName: string | undefined;
|
|
2079
2079
|
senderEmail: string | undefined;
|
|
2080
2080
|
managedSubdomain: string | undefined;
|
|
@@ -2098,16 +2098,16 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2098
2098
|
}> & {
|
|
2099
2099
|
serverOnly: boolean;
|
|
2100
2100
|
}>;
|
|
2101
|
+
stackable: boolean | undefined;
|
|
2101
2102
|
displayName: string;
|
|
2102
2103
|
serverOnly: boolean;
|
|
2103
2104
|
freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
2104
2105
|
productLineId: string | undefined;
|
|
2105
2106
|
customerType: "team" | "user" | "custom";
|
|
2106
|
-
stackable: boolean | undefined;
|
|
2107
2107
|
includedItems: {
|
|
2108
2108
|
[x: string]: {
|
|
2109
|
-
quantity: number;
|
|
2110
2109
|
repeat: "never" | [number, "day" | "week" | "month" | "year"];
|
|
2110
|
+
quantity: number;
|
|
2111
2111
|
expires: "never" | "when-purchase-expires" | "when-repeated";
|
|
2112
2112
|
};
|
|
2113
2113
|
};
|
|
@@ -2143,13 +2143,28 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2143
2143
|
} & {
|
|
2144
2144
|
readonly type: "hosted";
|
|
2145
2145
|
};
|
|
2146
|
-
users: {
|
|
2147
|
-
allowClientUserDeletion: boolean;
|
|
2148
|
-
};
|
|
2149
2146
|
teams: {
|
|
2150
2147
|
createPersonalTeamOnSignUp: boolean;
|
|
2151
2148
|
allowClientTeamCreation: boolean;
|
|
2152
2149
|
};
|
|
2150
|
+
analytics: {
|
|
2151
|
+
queryFolders: {
|
|
2152
|
+
[x: string]: {
|
|
2153
|
+
displayName: string;
|
|
2154
|
+
sortOrder: number;
|
|
2155
|
+
queries: {
|
|
2156
|
+
[x: string]: {
|
|
2157
|
+
description: string | undefined;
|
|
2158
|
+
displayName: string;
|
|
2159
|
+
sqlQuery: string;
|
|
2160
|
+
};
|
|
2161
|
+
};
|
|
2162
|
+
};
|
|
2163
|
+
};
|
|
2164
|
+
};
|
|
2165
|
+
onboarding: {
|
|
2166
|
+
requireEmailVerification: boolean;
|
|
2167
|
+
};
|
|
2153
2168
|
rbac: {
|
|
2154
2169
|
permissions: {
|
|
2155
2170
|
[x: string]: {
|
|
@@ -2172,15 +2187,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2172
2187
|
};
|
|
2173
2188
|
};
|
|
2174
2189
|
};
|
|
2175
|
-
onboarding: {
|
|
2176
|
-
requireEmailVerification: boolean;
|
|
2177
|
-
};
|
|
2178
|
-
apiKeys: {
|
|
2179
|
-
enabled: {
|
|
2180
|
-
team: boolean;
|
|
2181
|
-
user: boolean;
|
|
2182
|
-
};
|
|
2183
|
-
};
|
|
2184
2190
|
domains: {
|
|
2185
2191
|
allowLocalhost: boolean;
|
|
2186
2192
|
trustedDomains: {
|
|
@@ -2190,19 +2196,13 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2190
2196
|
};
|
|
2191
2197
|
};
|
|
2192
2198
|
};
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
description: string | undefined;
|
|
2201
|
-
displayName: string;
|
|
2202
|
-
sqlQuery: string;
|
|
2203
|
-
};
|
|
2204
|
-
};
|
|
2205
|
-
};
|
|
2199
|
+
users: {
|
|
2200
|
+
allowClientUserDeletion: boolean;
|
|
2201
|
+
};
|
|
2202
|
+
apiKeys: {
|
|
2203
|
+
enabled: {
|
|
2204
|
+
team: boolean;
|
|
2205
|
+
user: boolean;
|
|
2206
2206
|
};
|
|
2207
2207
|
};
|
|
2208
2208
|
dataVault: {
|