@hexclave/shared 1.0.40 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/unified-prompts/reminders.js +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -0
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/config/schema.d.ts +200 -200
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/config/schema.d.ts +200 -200
- package/dist/esm/interface/admin-metrics.d.ts +10 -10
- package/dist/esm/interface/conversations.d.ts +10 -10
- package/dist/esm/interface/crud/current-user.d.ts +11 -11
- package/dist/esm/interface/crud/email-outbox.d.ts +20 -20
- package/dist/esm/interface/crud/products.d.ts +13 -13
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/esm/interface/crud/projects.d.ts +35 -35
- package/dist/esm/interface/crud/team-member-profiles.d.ts +22 -22
- package/dist/esm/interface/crud/transactions.d.ts +6 -6
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +18 -18
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/esm/schema-fields.d.ts +11 -11
- package/dist/esm/sessions.d.ts +5 -5
- package/dist/interface/admin-metrics.d.ts +10 -10
- package/dist/interface/conversations.d.ts +10 -10
- package/dist/interface/crud/current-user.d.ts +11 -11
- package/dist/interface/crud/email-outbox.d.ts +20 -20
- package/dist/interface/crud/products.d.ts +13 -13
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/interface/crud/projects.d.ts +35 -35
- package/dist/interface/crud/team-member-profiles.d.ts +22 -22
- package/dist/interface/crud/transactions.d.ts +6 -6
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +18 -18
- package/dist/interface/webhooks.d.ts +4 -4
- package/dist/schema-fields.d.ts +11 -11
- package/dist/sessions.d.ts +5 -5
- package/package.json +1 -1
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -0
package/dist/config/schema.d.ts
CHANGED
|
@@ -35,18 +35,21 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
|
|
|
35
35
|
interval?: DayInterval | undefined;
|
|
36
36
|
} | undefined;
|
|
37
37
|
productLines: Record<string, {
|
|
38
|
-
displayName?: string | undefined;
|
|
39
38
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
39
|
+
displayName?: string | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
products: Record<string, {
|
|
42
|
-
displayName?: string | undefined;
|
|
43
|
-
serverOnly?: boolean | undefined;
|
|
44
|
-
freeTrial?: DayInterval | undefined;
|
|
45
42
|
productLineId?: string | undefined;
|
|
43
|
+
displayName?: string | undefined;
|
|
46
44
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
45
|
+
freeTrial?: DayInterval | undefined;
|
|
46
|
+
serverOnly?: boolean | undefined;
|
|
47
47
|
stackable?: boolean | undefined;
|
|
48
48
|
customerType: "team" | "user" | "custom";
|
|
49
49
|
prices: Record<string, {
|
|
50
|
+
interval?: DayInterval | undefined;
|
|
51
|
+
freeTrial?: DayInterval | undefined;
|
|
52
|
+
serverOnly?: boolean | undefined;
|
|
50
53
|
USD?: string | undefined;
|
|
51
54
|
EUR?: string | undefined;
|
|
52
55
|
GBP?: string | undefined;
|
|
@@ -54,9 +57,6 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
|
|
|
54
57
|
INR?: string | undefined;
|
|
55
58
|
AUD?: string | undefined;
|
|
56
59
|
CAD?: string | undefined;
|
|
57
|
-
interval?: DayInterval | undefined;
|
|
58
|
-
serverOnly?: boolean | undefined;
|
|
59
|
-
freeTrial?: DayInterval | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
includedItems: Record<string, {
|
|
62
62
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -65,8 +65,8 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
|
|
|
65
65
|
}>;
|
|
66
66
|
}>;
|
|
67
67
|
items: Record<string, {
|
|
68
|
-
displayName?: string | undefined;
|
|
69
68
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
69
|
+
displayName?: string | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
} | undefined, yup$1.AnyObject, {
|
|
72
72
|
blockNewPurchases: undefined;
|
|
@@ -84,29 +84,32 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
84
84
|
sourceOfTruth: {
|
|
85
85
|
type: "hosted";
|
|
86
86
|
};
|
|
87
|
-
}, string>, "
|
|
87
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
88
88
|
payments?: {
|
|
89
89
|
blockNewPurchases?: boolean | undefined;
|
|
90
90
|
autoPay?: {
|
|
91
91
|
interval?: DayInterval | undefined;
|
|
92
92
|
} | undefined;
|
|
93
93
|
items: Record<string, {
|
|
94
|
-
displayName?: string | undefined;
|
|
95
94
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
95
|
+
displayName?: string | undefined;
|
|
96
96
|
}>;
|
|
97
97
|
productLines: Record<string, {
|
|
98
|
-
displayName?: string | undefined;
|
|
99
98
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
99
|
+
displayName?: string | undefined;
|
|
100
100
|
}>;
|
|
101
101
|
products: Record<string, {
|
|
102
|
-
displayName?: string | undefined;
|
|
103
|
-
serverOnly?: boolean | undefined;
|
|
104
|
-
freeTrial?: DayInterval | undefined;
|
|
105
102
|
productLineId?: string | undefined;
|
|
103
|
+
displayName?: string | undefined;
|
|
106
104
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
105
|
+
freeTrial?: DayInterval | undefined;
|
|
106
|
+
serverOnly?: boolean | undefined;
|
|
107
107
|
stackable?: boolean | undefined;
|
|
108
108
|
customerType: "team" | "user" | "custom";
|
|
109
109
|
prices: Record<string, {
|
|
110
|
+
interval?: DayInterval | undefined;
|
|
111
|
+
freeTrial?: DayInterval | undefined;
|
|
112
|
+
serverOnly?: boolean | undefined;
|
|
110
113
|
USD?: string | undefined;
|
|
111
114
|
EUR?: string | undefined;
|
|
112
115
|
GBP?: string | undefined;
|
|
@@ -114,9 +117,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
114
117
|
INR?: string | undefined;
|
|
115
118
|
AUD?: string | undefined;
|
|
116
119
|
CAD?: string | undefined;
|
|
117
|
-
interval?: DayInterval | undefined;
|
|
118
|
-
serverOnly?: boolean | undefined;
|
|
119
|
-
freeTrial?: DayInterval | undefined;
|
|
120
120
|
}>;
|
|
121
121
|
includedItems: Record<string, {
|
|
122
122
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -125,13 +125,37 @@ 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
|
};
|
|
132
|
+
rbac: {
|
|
133
|
+
permissions: Record<string, {
|
|
134
|
+
description?: string | undefined;
|
|
135
|
+
scope?: "team" | "project" | undefined;
|
|
136
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
137
|
+
} | undefined>;
|
|
138
|
+
defaultPermissions: {
|
|
139
|
+
teamCreator: Record<string, true | undefined>;
|
|
140
|
+
teamMember: Record<string, true | undefined>;
|
|
141
|
+
signUp: Record<string, true | undefined>;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
onboarding: {
|
|
145
|
+
requireEmailVerification?: boolean | undefined;
|
|
146
|
+
};
|
|
147
|
+
apiKeys: {
|
|
148
|
+
enabled: {
|
|
149
|
+
team?: boolean | undefined;
|
|
150
|
+
user?: boolean | undefined;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
apps: {
|
|
154
|
+
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", {
|
|
155
|
+
enabled?: boolean | undefined;
|
|
156
|
+
}>;
|
|
157
|
+
};
|
|
158
|
+
domains: {};
|
|
135
159
|
auth: {
|
|
136
160
|
allowSignUp?: boolean | undefined;
|
|
137
161
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -163,20 +187,8 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
163
187
|
};
|
|
164
188
|
}>;
|
|
165
189
|
};
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
};
|
|
169
|
-
rbac: {
|
|
170
|
-
permissions: Record<string, {
|
|
171
|
-
description?: string | undefined;
|
|
172
|
-
scope?: "team" | "project" | undefined;
|
|
173
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
174
|
-
} | undefined>;
|
|
175
|
-
defaultPermissions: {
|
|
176
|
-
teamCreator: Record<string, true | undefined>;
|
|
177
|
-
teamMember: Record<string, true | undefined>;
|
|
178
|
-
signUp: Record<string, true | undefined>;
|
|
179
|
-
};
|
|
190
|
+
users: {
|
|
191
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
180
192
|
};
|
|
181
193
|
emails: {
|
|
182
194
|
selectedThemeId?: string | undefined;
|
|
@@ -190,18 +202,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
190
202
|
tsxSource: string;
|
|
191
203
|
}>;
|
|
192
204
|
};
|
|
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", {
|
|
201
|
-
enabled?: boolean | undefined;
|
|
202
|
-
}>;
|
|
203
|
-
};
|
|
204
|
-
domains: {};
|
|
205
205
|
dbSync: {
|
|
206
206
|
externalDatabases: Record<string, {
|
|
207
207
|
connectionString?: string | undefined;
|
|
@@ -218,7 +218,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
218
218
|
project: {
|
|
219
219
|
requirePublishableClientKey: undefined;
|
|
220
220
|
};
|
|
221
|
-
}, string>, "
|
|
221
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
222
222
|
rbac: {
|
|
223
223
|
permissions: undefined;
|
|
224
224
|
defaultPermissions: {
|
|
@@ -293,29 +293,32 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
293
293
|
sourceOfTruth: {
|
|
294
294
|
type: "hosted";
|
|
295
295
|
};
|
|
296
|
-
}, string>, "
|
|
296
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
297
297
|
payments?: {
|
|
298
298
|
blockNewPurchases?: boolean | undefined;
|
|
299
299
|
autoPay?: {
|
|
300
300
|
interval?: DayInterval | undefined;
|
|
301
301
|
} | undefined;
|
|
302
302
|
items: Record<string, {
|
|
303
|
-
displayName?: string | undefined;
|
|
304
303
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
304
|
+
displayName?: string | undefined;
|
|
305
305
|
}>;
|
|
306
306
|
productLines: Record<string, {
|
|
307
|
-
displayName?: string | undefined;
|
|
308
307
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
308
|
+
displayName?: string | undefined;
|
|
309
309
|
}>;
|
|
310
310
|
products: Record<string, {
|
|
311
|
-
displayName?: string | undefined;
|
|
312
|
-
serverOnly?: boolean | undefined;
|
|
313
|
-
freeTrial?: DayInterval | undefined;
|
|
314
311
|
productLineId?: string | undefined;
|
|
312
|
+
displayName?: string | undefined;
|
|
315
313
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
314
|
+
freeTrial?: DayInterval | undefined;
|
|
315
|
+
serverOnly?: boolean | undefined;
|
|
316
316
|
stackable?: boolean | undefined;
|
|
317
317
|
customerType: "team" | "user" | "custom";
|
|
318
318
|
prices: Record<string, {
|
|
319
|
+
interval?: DayInterval | undefined;
|
|
320
|
+
freeTrial?: DayInterval | undefined;
|
|
321
|
+
serverOnly?: boolean | undefined;
|
|
319
322
|
USD?: string | undefined;
|
|
320
323
|
EUR?: string | undefined;
|
|
321
324
|
GBP?: string | undefined;
|
|
@@ -323,9 +326,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
323
326
|
INR?: string | undefined;
|
|
324
327
|
AUD?: string | undefined;
|
|
325
328
|
CAD?: string | undefined;
|
|
326
|
-
interval?: DayInterval | undefined;
|
|
327
|
-
serverOnly?: boolean | undefined;
|
|
328
|
-
freeTrial?: DayInterval | undefined;
|
|
329
329
|
}>;
|
|
330
330
|
includedItems: Record<string, {
|
|
331
331
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -334,13 +334,37 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
334
334
|
}>;
|
|
335
335
|
}>;
|
|
336
336
|
} | undefined;
|
|
337
|
-
users: {
|
|
338
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
339
|
-
};
|
|
340
337
|
teams: {
|
|
341
338
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
342
339
|
allowClientTeamCreation?: boolean | undefined;
|
|
343
340
|
};
|
|
341
|
+
rbac: {
|
|
342
|
+
permissions: Record<string, {
|
|
343
|
+
description?: string | undefined;
|
|
344
|
+
scope?: "team" | "project" | undefined;
|
|
345
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
346
|
+
} | undefined>;
|
|
347
|
+
defaultPermissions: {
|
|
348
|
+
teamCreator: Record<string, true | undefined>;
|
|
349
|
+
teamMember: Record<string, true | undefined>;
|
|
350
|
+
signUp: Record<string, true | undefined>;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
onboarding: {
|
|
354
|
+
requireEmailVerification?: boolean | undefined;
|
|
355
|
+
};
|
|
356
|
+
apiKeys: {
|
|
357
|
+
enabled: {
|
|
358
|
+
team?: boolean | undefined;
|
|
359
|
+
user?: boolean | undefined;
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
apps: {
|
|
363
|
+
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", {
|
|
364
|
+
enabled?: boolean | undefined;
|
|
365
|
+
}>;
|
|
366
|
+
};
|
|
367
|
+
domains: {};
|
|
344
368
|
auth: {
|
|
345
369
|
allowSignUp?: boolean | undefined;
|
|
346
370
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -372,20 +396,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
372
396
|
};
|
|
373
397
|
}>;
|
|
374
398
|
};
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
};
|
|
378
|
-
rbac: {
|
|
379
|
-
permissions: Record<string, {
|
|
380
|
-
description?: string | undefined;
|
|
381
|
-
scope?: "team" | "project" | undefined;
|
|
382
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
383
|
-
} | undefined>;
|
|
384
|
-
defaultPermissions: {
|
|
385
|
-
teamCreator: Record<string, true | undefined>;
|
|
386
|
-
teamMember: Record<string, true | undefined>;
|
|
387
|
-
signUp: Record<string, true | undefined>;
|
|
388
|
-
};
|
|
399
|
+
users: {
|
|
400
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
389
401
|
};
|
|
390
402
|
emails: {
|
|
391
403
|
selectedThemeId?: string | undefined;
|
|
@@ -399,18 +411,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
399
411
|
tsxSource: string;
|
|
400
412
|
}>;
|
|
401
413
|
};
|
|
402
|
-
apiKeys: {
|
|
403
|
-
enabled: {
|
|
404
|
-
team?: boolean | undefined;
|
|
405
|
-
user?: boolean | undefined;
|
|
406
|
-
};
|
|
407
|
-
};
|
|
408
|
-
apps: {
|
|
409
|
-
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", {
|
|
410
|
-
enabled?: boolean | undefined;
|
|
411
|
-
}>;
|
|
412
|
-
};
|
|
413
|
-
domains: {};
|
|
414
414
|
dbSync: {
|
|
415
415
|
externalDatabases: Record<string, {
|
|
416
416
|
connectionString?: string | undefined;
|
|
@@ -422,29 +422,32 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
422
422
|
displayName?: string | undefined;
|
|
423
423
|
}>;
|
|
424
424
|
};
|
|
425
|
-
}>, "
|
|
425
|
+
}>, "domains" | "auth" | "payments" | "analytics" | "emails" | "customDashboards"> & {
|
|
426
426
|
payments?: (Omit<{
|
|
427
427
|
blockNewPurchases?: boolean | undefined;
|
|
428
428
|
autoPay?: {
|
|
429
429
|
interval?: DayInterval | undefined;
|
|
430
430
|
} | undefined;
|
|
431
431
|
items: Record<string, {
|
|
432
|
-
displayName?: string | undefined;
|
|
433
432
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
433
|
+
displayName?: string | undefined;
|
|
434
434
|
}>;
|
|
435
435
|
productLines: Record<string, {
|
|
436
|
-
displayName?: string | undefined;
|
|
437
436
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
437
|
+
displayName?: string | undefined;
|
|
438
438
|
}>;
|
|
439
439
|
products: Record<string, {
|
|
440
|
-
displayName?: string | undefined;
|
|
441
|
-
serverOnly?: boolean | undefined;
|
|
442
|
-
freeTrial?: DayInterval | undefined;
|
|
443
440
|
productLineId?: string | undefined;
|
|
441
|
+
displayName?: string | undefined;
|
|
444
442
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
443
|
+
freeTrial?: DayInterval | undefined;
|
|
444
|
+
serverOnly?: boolean | undefined;
|
|
445
445
|
stackable?: boolean | undefined;
|
|
446
446
|
customerType: "team" | "user" | "custom";
|
|
447
447
|
prices: Record<string, {
|
|
448
|
+
interval?: DayInterval | undefined;
|
|
449
|
+
freeTrial?: DayInterval | undefined;
|
|
450
|
+
serverOnly?: boolean | undefined;
|
|
448
451
|
USD?: string | undefined;
|
|
449
452
|
EUR?: string | undefined;
|
|
450
453
|
GBP?: string | undefined;
|
|
@@ -452,9 +455,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
452
455
|
INR?: string | undefined;
|
|
453
456
|
AUD?: string | undefined;
|
|
454
457
|
CAD?: string | undefined;
|
|
455
|
-
interval?: DayInterval | undefined;
|
|
456
|
-
serverOnly?: boolean | undefined;
|
|
457
|
-
freeTrial?: DayInterval | undefined;
|
|
458
458
|
}>;
|
|
459
459
|
includedItems: Record<string, {
|
|
460
460
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -465,6 +465,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
465
465
|
}, "testMode"> & {
|
|
466
466
|
testMode?: boolean | undefined;
|
|
467
467
|
}) | undefined;
|
|
468
|
+
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
469
|
+
allowLocalhost?: boolean | undefined;
|
|
470
|
+
trustedDomains: Record<string, {
|
|
471
|
+
baseUrl?: string | undefined;
|
|
472
|
+
handlerPath?: string | undefined;
|
|
473
|
+
}>;
|
|
474
|
+
};
|
|
468
475
|
auth: Omit<{
|
|
469
476
|
allowSignUp?: boolean | undefined;
|
|
470
477
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -559,13 +566,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
559
566
|
managedSenderLocalPart?: string | undefined;
|
|
560
567
|
};
|
|
561
568
|
};
|
|
562
|
-
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
563
|
-
allowLocalhost?: boolean | undefined;
|
|
564
|
-
trustedDomains: Record<string, {
|
|
565
|
-
baseUrl?: string | undefined;
|
|
566
|
-
handlerPath?: string | undefined;
|
|
567
|
-
}>;
|
|
568
|
-
};
|
|
569
569
|
customDashboards: Record<string, {
|
|
570
570
|
displayName: string;
|
|
571
571
|
tsxSource: string;
|
|
@@ -575,7 +575,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
575
575
|
project: {
|
|
576
576
|
requirePublishableClientKey: undefined;
|
|
577
577
|
};
|
|
578
|
-
}, string>, "
|
|
578
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
579
579
|
rbac: {
|
|
580
580
|
permissions: undefined;
|
|
581
581
|
defaultPermissions: {
|
|
@@ -642,13 +642,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
642
642
|
dataVault: {
|
|
643
643
|
stores: undefined;
|
|
644
644
|
};
|
|
645
|
-
}>, "
|
|
645
|
+
}>, "domains" | "auth" | "payments" | "analytics" | "emails" | "customDashboards"> & {
|
|
646
646
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
647
647
|
sourceOfTruth: undefined;
|
|
648
648
|
project: {
|
|
649
649
|
requirePublishableClientKey: undefined;
|
|
650
650
|
};
|
|
651
|
-
}, string>, "
|
|
651
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
652
652
|
rbac: {
|
|
653
653
|
permissions: undefined;
|
|
654
654
|
defaultPermissions: {
|
|
@@ -721,7 +721,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
721
721
|
project: {
|
|
722
722
|
requirePublishableClientKey: undefined;
|
|
723
723
|
};
|
|
724
|
-
}, string>, "
|
|
724
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
725
725
|
rbac: {
|
|
726
726
|
permissions: undefined;
|
|
727
727
|
defaultPermissions: {
|
|
@@ -797,7 +797,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
797
797
|
project: {
|
|
798
798
|
requirePublishableClientKey: undefined;
|
|
799
799
|
};
|
|
800
|
-
}, string>, "
|
|
800
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
801
801
|
rbac: {
|
|
802
802
|
permissions: undefined;
|
|
803
803
|
defaultPermissions: {
|
|
@@ -883,7 +883,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
883
883
|
project: {
|
|
884
884
|
requirePublishableClientKey: undefined;
|
|
885
885
|
};
|
|
886
|
-
}, string>, "
|
|
886
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
887
887
|
rbac: {
|
|
888
888
|
permissions: undefined;
|
|
889
889
|
defaultPermissions: {
|
|
@@ -959,7 +959,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
959
959
|
project: {
|
|
960
960
|
requirePublishableClientKey: undefined;
|
|
961
961
|
};
|
|
962
|
-
}, string>, "
|
|
962
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
963
963
|
rbac: {
|
|
964
964
|
permissions: undefined;
|
|
965
965
|
defaultPermissions: {
|
|
@@ -1041,29 +1041,32 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1041
1041
|
sourceOfTruth: {
|
|
1042
1042
|
type: "hosted";
|
|
1043
1043
|
};
|
|
1044
|
-
}, string>, "
|
|
1044
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1045
1045
|
payments?: {
|
|
1046
1046
|
blockNewPurchases?: boolean | undefined;
|
|
1047
1047
|
autoPay?: {
|
|
1048
1048
|
interval?: DayInterval | undefined;
|
|
1049
1049
|
} | undefined;
|
|
1050
1050
|
items: Record<string, {
|
|
1051
|
-
displayName?: string | undefined;
|
|
1052
1051
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
1052
|
+
displayName?: string | undefined;
|
|
1053
1053
|
}>;
|
|
1054
1054
|
productLines: Record<string, {
|
|
1055
|
-
displayName?: string | undefined;
|
|
1056
1055
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
1056
|
+
displayName?: string | undefined;
|
|
1057
1057
|
}>;
|
|
1058
1058
|
products: Record<string, {
|
|
1059
|
-
displayName?: string | undefined;
|
|
1060
|
-
serverOnly?: boolean | undefined;
|
|
1061
|
-
freeTrial?: DayInterval | undefined;
|
|
1062
1059
|
productLineId?: string | undefined;
|
|
1060
|
+
displayName?: string | undefined;
|
|
1063
1061
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
1062
|
+
freeTrial?: DayInterval | undefined;
|
|
1063
|
+
serverOnly?: boolean | undefined;
|
|
1064
1064
|
stackable?: boolean | undefined;
|
|
1065
1065
|
customerType: "team" | "user" | "custom";
|
|
1066
1066
|
prices: Record<string, {
|
|
1067
|
+
interval?: DayInterval | undefined;
|
|
1068
|
+
freeTrial?: DayInterval | undefined;
|
|
1069
|
+
serverOnly?: boolean | undefined;
|
|
1067
1070
|
USD?: string | undefined;
|
|
1068
1071
|
EUR?: string | undefined;
|
|
1069
1072
|
GBP?: string | undefined;
|
|
@@ -1071,9 +1074,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1071
1074
|
INR?: string | undefined;
|
|
1072
1075
|
AUD?: string | undefined;
|
|
1073
1076
|
CAD?: string | undefined;
|
|
1074
|
-
interval?: DayInterval | undefined;
|
|
1075
|
-
serverOnly?: boolean | undefined;
|
|
1076
|
-
freeTrial?: DayInterval | undefined;
|
|
1077
1077
|
}>;
|
|
1078
1078
|
includedItems: Record<string, {
|
|
1079
1079
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -1082,13 +1082,37 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1082
1082
|
}>;
|
|
1083
1083
|
}>;
|
|
1084
1084
|
} | undefined;
|
|
1085
|
-
users: {
|
|
1086
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
1087
|
-
};
|
|
1088
1085
|
teams: {
|
|
1089
1086
|
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
1090
1087
|
allowClientTeamCreation?: boolean | undefined;
|
|
1091
1088
|
};
|
|
1089
|
+
rbac: {
|
|
1090
|
+
permissions: Record<string, {
|
|
1091
|
+
description?: string | undefined;
|
|
1092
|
+
scope?: "team" | "project" | undefined;
|
|
1093
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
1094
|
+
} | undefined>;
|
|
1095
|
+
defaultPermissions: {
|
|
1096
|
+
teamCreator: Record<string, true | undefined>;
|
|
1097
|
+
teamMember: Record<string, true | undefined>;
|
|
1098
|
+
signUp: Record<string, true | undefined>;
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
onboarding: {
|
|
1102
|
+
requireEmailVerification?: boolean | undefined;
|
|
1103
|
+
};
|
|
1104
|
+
apiKeys: {
|
|
1105
|
+
enabled: {
|
|
1106
|
+
team?: boolean | undefined;
|
|
1107
|
+
user?: boolean | undefined;
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
apps: {
|
|
1111
|
+
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", {
|
|
1112
|
+
enabled?: boolean | undefined;
|
|
1113
|
+
}>;
|
|
1114
|
+
};
|
|
1115
|
+
domains: {};
|
|
1092
1116
|
auth: {
|
|
1093
1117
|
allowSignUp?: boolean | undefined;
|
|
1094
1118
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -1120,20 +1144,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1120
1144
|
};
|
|
1121
1145
|
}>;
|
|
1122
1146
|
};
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
};
|
|
1126
|
-
rbac: {
|
|
1127
|
-
permissions: Record<string, {
|
|
1128
|
-
description?: string | undefined;
|
|
1129
|
-
scope?: "team" | "project" | undefined;
|
|
1130
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
1131
|
-
} | undefined>;
|
|
1132
|
-
defaultPermissions: {
|
|
1133
|
-
teamCreator: Record<string, true | undefined>;
|
|
1134
|
-
teamMember: Record<string, true | undefined>;
|
|
1135
|
-
signUp: Record<string, true | undefined>;
|
|
1136
|
-
};
|
|
1147
|
+
users: {
|
|
1148
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
1137
1149
|
};
|
|
1138
1150
|
emails: {
|
|
1139
1151
|
selectedThemeId?: string | undefined;
|
|
@@ -1147,18 +1159,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1147
1159
|
tsxSource: string;
|
|
1148
1160
|
}>;
|
|
1149
1161
|
};
|
|
1150
|
-
apiKeys: {
|
|
1151
|
-
enabled: {
|
|
1152
|
-
team?: boolean | undefined;
|
|
1153
|
-
user?: boolean | undefined;
|
|
1154
|
-
};
|
|
1155
|
-
};
|
|
1156
|
-
apps: {
|
|
1157
|
-
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", {
|
|
1158
|
-
enabled?: boolean | undefined;
|
|
1159
|
-
}>;
|
|
1160
|
-
};
|
|
1161
|
-
domains: {};
|
|
1162
1162
|
dbSync: {
|
|
1163
1163
|
externalDatabases: Record<string, {
|
|
1164
1164
|
connectionString?: string | undefined;
|
|
@@ -1170,29 +1170,32 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1170
1170
|
displayName?: string | undefined;
|
|
1171
1171
|
}>;
|
|
1172
1172
|
};
|
|
1173
|
-
}>, "
|
|
1173
|
+
}>, "domains" | "auth" | "payments" | "analytics" | "emails" | "customDashboards"> & {
|
|
1174
1174
|
payments?: (Omit<{
|
|
1175
1175
|
blockNewPurchases?: boolean | undefined;
|
|
1176
1176
|
autoPay?: {
|
|
1177
1177
|
interval?: DayInterval | undefined;
|
|
1178
1178
|
} | undefined;
|
|
1179
1179
|
items: Record<string, {
|
|
1180
|
-
displayName?: string | undefined;
|
|
1181
1180
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
1181
|
+
displayName?: string | undefined;
|
|
1182
1182
|
}>;
|
|
1183
1183
|
productLines: Record<string, {
|
|
1184
|
-
displayName?: string | undefined;
|
|
1185
1184
|
customerType?: "team" | "user" | "custom" | undefined;
|
|
1185
|
+
displayName?: string | undefined;
|
|
1186
1186
|
}>;
|
|
1187
1187
|
products: Record<string, {
|
|
1188
|
-
displayName?: string | undefined;
|
|
1189
|
-
serverOnly?: boolean | undefined;
|
|
1190
|
-
freeTrial?: DayInterval | undefined;
|
|
1191
1188
|
productLineId?: string | undefined;
|
|
1189
|
+
displayName?: string | undefined;
|
|
1192
1190
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
1191
|
+
freeTrial?: DayInterval | undefined;
|
|
1192
|
+
serverOnly?: boolean | undefined;
|
|
1193
1193
|
stackable?: boolean | undefined;
|
|
1194
1194
|
customerType: "team" | "user" | "custom";
|
|
1195
1195
|
prices: Record<string, {
|
|
1196
|
+
interval?: DayInterval | undefined;
|
|
1197
|
+
freeTrial?: DayInterval | undefined;
|
|
1198
|
+
serverOnly?: boolean | undefined;
|
|
1196
1199
|
USD?: string | undefined;
|
|
1197
1200
|
EUR?: string | undefined;
|
|
1198
1201
|
GBP?: string | undefined;
|
|
@@ -1200,9 +1203,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1200
1203
|
INR?: string | undefined;
|
|
1201
1204
|
AUD?: string | undefined;
|
|
1202
1205
|
CAD?: string | undefined;
|
|
1203
|
-
interval?: DayInterval | undefined;
|
|
1204
|
-
serverOnly?: boolean | undefined;
|
|
1205
|
-
freeTrial?: DayInterval | undefined;
|
|
1206
1206
|
}>;
|
|
1207
1207
|
includedItems: Record<string, {
|
|
1208
1208
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -1213,6 +1213,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1213
1213
|
}, "testMode"> & {
|
|
1214
1214
|
testMode?: boolean | undefined;
|
|
1215
1215
|
}) | undefined;
|
|
1216
|
+
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
1217
|
+
allowLocalhost?: boolean | undefined;
|
|
1218
|
+
trustedDomains: Record<string, {
|
|
1219
|
+
baseUrl?: string | undefined;
|
|
1220
|
+
handlerPath?: string | undefined;
|
|
1221
|
+
}>;
|
|
1222
|
+
};
|
|
1216
1223
|
auth: Omit<{
|
|
1217
1224
|
allowSignUp?: boolean | undefined;
|
|
1218
1225
|
signUpRulesDefaultAction?: string | undefined;
|
|
@@ -1307,13 +1314,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1307
1314
|
managedSenderLocalPart?: string | undefined;
|
|
1308
1315
|
};
|
|
1309
1316
|
};
|
|
1310
|
-
domains: Omit<{}, "allowLocalhost" | "trustedDomains"> & {
|
|
1311
|
-
allowLocalhost?: boolean | undefined;
|
|
1312
|
-
trustedDomains: Record<string, {
|
|
1313
|
-
baseUrl?: string | undefined;
|
|
1314
|
-
handlerPath?: string | undefined;
|
|
1315
|
-
}>;
|
|
1316
|
-
};
|
|
1317
1317
|
customDashboards: Record<string, {
|
|
1318
1318
|
displayName: string;
|
|
1319
1319
|
tsxSource: string;
|
|
@@ -1323,7 +1323,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1323
1323
|
project: {
|
|
1324
1324
|
requirePublishableClientKey: undefined;
|
|
1325
1325
|
};
|
|
1326
|
-
}, string>, "
|
|
1326
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1327
1327
|
rbac: {
|
|
1328
1328
|
permissions: undefined;
|
|
1329
1329
|
defaultPermissions: {
|
|
@@ -1390,13 +1390,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1390
1390
|
dataVault: {
|
|
1391
1391
|
stores: undefined;
|
|
1392
1392
|
};
|
|
1393
|
-
}>, "
|
|
1393
|
+
}>, "domains" | "auth" | "payments" | "analytics" | "emails" | "customDashboards"> & {
|
|
1394
1394
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
1395
1395
|
sourceOfTruth: undefined;
|
|
1396
1396
|
project: {
|
|
1397
1397
|
requirePublishableClientKey: undefined;
|
|
1398
1398
|
};
|
|
1399
|
-
}, string>, "
|
|
1399
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1400
1400
|
rbac: {
|
|
1401
1401
|
permissions: undefined;
|
|
1402
1402
|
defaultPermissions: {
|
|
@@ -1469,7 +1469,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1469
1469
|
project: {
|
|
1470
1470
|
requirePublishableClientKey: undefined;
|
|
1471
1471
|
};
|
|
1472
|
-
}, string>, "
|
|
1472
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1473
1473
|
rbac: {
|
|
1474
1474
|
permissions: undefined;
|
|
1475
1475
|
defaultPermissions: {
|
|
@@ -1545,7 +1545,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1545
1545
|
project: {
|
|
1546
1546
|
requirePublishableClientKey: undefined;
|
|
1547
1547
|
};
|
|
1548
|
-
}, string>, "
|
|
1548
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1549
1549
|
rbac: {
|
|
1550
1550
|
permissions: undefined;
|
|
1551
1551
|
defaultPermissions: {
|
|
@@ -1631,7 +1631,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1631
1631
|
project: {
|
|
1632
1632
|
requirePublishableClientKey: undefined;
|
|
1633
1633
|
};
|
|
1634
|
-
}, string>, "
|
|
1634
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1635
1635
|
rbac: {
|
|
1636
1636
|
permissions: undefined;
|
|
1637
1637
|
defaultPermissions: {
|
|
@@ -1707,7 +1707,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1707
1707
|
project: {
|
|
1708
1708
|
requirePublishableClientKey: undefined;
|
|
1709
1709
|
};
|
|
1710
|
-
}, string>, "
|
|
1710
|
+
}, string>, "teams" | "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1711
1711
|
rbac: {
|
|
1712
1712
|
permissions: undefined;
|
|
1713
1713
|
defaultPermissions: {
|
|
@@ -2081,10 +2081,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2081
2081
|
type: "allow" | "reject" | "restrict" | "log";
|
|
2082
2082
|
};
|
|
2083
2083
|
}>;
|
|
2084
|
-
allowSignUp: boolean;
|
|
2085
2084
|
password: {
|
|
2086
2085
|
allowSignIn: boolean;
|
|
2087
2086
|
};
|
|
2087
|
+
allowSignUp: boolean;
|
|
2088
2088
|
otp: {
|
|
2089
2089
|
allowSignIn: boolean;
|
|
2090
2090
|
};
|
|
@@ -2125,6 +2125,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2125
2125
|
products: Record<string, {
|
|
2126
2126
|
isAddOnTo: false | Record<string, true>;
|
|
2127
2127
|
prices: Record<string, Partial<{
|
|
2128
|
+
interval: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
2129
|
+
freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
2130
|
+
serverOnly: boolean;
|
|
2128
2131
|
USD: string | undefined;
|
|
2129
2132
|
EUR: string | undefined;
|
|
2130
2133
|
GBP: string | undefined;
|
|
@@ -2132,17 +2135,14 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2132
2135
|
INR: string | undefined;
|
|
2133
2136
|
AUD: string | undefined;
|
|
2134
2137
|
CAD: string | undefined;
|
|
2135
|
-
interval: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
2136
|
-
serverOnly: boolean;
|
|
2137
|
-
freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
2138
2138
|
}> & {
|
|
2139
2139
|
serverOnly: boolean;
|
|
2140
2140
|
}>;
|
|
2141
|
-
displayName: string;
|
|
2142
|
-
serverOnly: boolean;
|
|
2143
|
-
freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
2144
2141
|
productLineId: string | undefined;
|
|
2145
2142
|
customerType: "team" | "user" | "custom";
|
|
2143
|
+
displayName: string;
|
|
2144
|
+
freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
2145
|
+
serverOnly: boolean;
|
|
2146
2146
|
stackable: boolean | undefined;
|
|
2147
2147
|
includedItems: {
|
|
2148
2148
|
[x: string]: {
|
|
@@ -2152,20 +2152,20 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2152
2152
|
};
|
|
2153
2153
|
};
|
|
2154
2154
|
}>;
|
|
2155
|
+
blockNewPurchases: boolean;
|
|
2155
2156
|
items: {
|
|
2156
2157
|
[x: string]: {
|
|
2157
|
-
displayName: string;
|
|
2158
2158
|
customerType: "team" | "user" | "custom";
|
|
2159
|
+
displayName: string;
|
|
2159
2160
|
};
|
|
2160
2161
|
};
|
|
2161
|
-
blockNewPurchases: boolean;
|
|
2162
2162
|
autoPay: {
|
|
2163
2163
|
interval?: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
2164
2164
|
} | undefined;
|
|
2165
2165
|
productLines: {
|
|
2166
2166
|
[x: string]: {
|
|
2167
|
-
displayName: string | undefined;
|
|
2168
2167
|
customerType: "team" | "user" | "custom" | undefined;
|
|
2168
|
+
displayName: string | undefined;
|
|
2169
2169
|
};
|
|
2170
2170
|
};
|
|
2171
2171
|
testMode: boolean;
|
|
@@ -2183,31 +2183,10 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2183
2183
|
} & {
|
|
2184
2184
|
readonly type: "hosted";
|
|
2185
2185
|
};
|
|
2186
|
-
users: {
|
|
2187
|
-
allowClientUserDeletion: boolean;
|
|
2188
|
-
};
|
|
2189
2186
|
teams: {
|
|
2190
2187
|
createPersonalTeamOnSignUp: boolean;
|
|
2191
2188
|
allowClientTeamCreation: boolean;
|
|
2192
2189
|
};
|
|
2193
|
-
analytics: {
|
|
2194
|
-
queryFolders: {
|
|
2195
|
-
[x: string]: {
|
|
2196
|
-
displayName: string;
|
|
2197
|
-
sortOrder: number;
|
|
2198
|
-
queries: {
|
|
2199
|
-
[x: string]: {
|
|
2200
|
-
description: string | undefined;
|
|
2201
|
-
displayName: string;
|
|
2202
|
-
sqlQuery: string;
|
|
2203
|
-
};
|
|
2204
|
-
};
|
|
2205
|
-
};
|
|
2206
|
-
};
|
|
2207
|
-
};
|
|
2208
|
-
onboarding: {
|
|
2209
|
-
requireEmailVerification: boolean;
|
|
2210
|
-
};
|
|
2211
2190
|
rbac: {
|
|
2212
2191
|
permissions: {
|
|
2213
2192
|
[x: string]: {
|
|
@@ -2230,6 +2209,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2230
2209
|
};
|
|
2231
2210
|
};
|
|
2232
2211
|
};
|
|
2212
|
+
onboarding: {
|
|
2213
|
+
requireEmailVerification: boolean;
|
|
2214
|
+
};
|
|
2233
2215
|
apiKeys: {
|
|
2234
2216
|
enabled: {
|
|
2235
2217
|
team: boolean;
|
|
@@ -2245,6 +2227,24 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2245
2227
|
};
|
|
2246
2228
|
};
|
|
2247
2229
|
};
|
|
2230
|
+
users: {
|
|
2231
|
+
allowClientUserDeletion: boolean;
|
|
2232
|
+
};
|
|
2233
|
+
analytics: {
|
|
2234
|
+
queryFolders: {
|
|
2235
|
+
[x: string]: {
|
|
2236
|
+
displayName: string;
|
|
2237
|
+
sortOrder: number;
|
|
2238
|
+
queries: {
|
|
2239
|
+
[x: string]: {
|
|
2240
|
+
description: string | undefined;
|
|
2241
|
+
displayName: string;
|
|
2242
|
+
sqlQuery: string;
|
|
2243
|
+
};
|
|
2244
|
+
};
|
|
2245
|
+
};
|
|
2246
|
+
};
|
|
2247
|
+
};
|
|
2248
2248
|
dbSync: {
|
|
2249
2249
|
externalDatabases: {
|
|
2250
2250
|
[x: string]: {
|