@hexclave/shared 1.0.45 → 1.0.46
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-B-UjGQ0i.d.ts → admin-interface-DQcggLpw.d.ts} +11 -11
- package/dist/{admin-interface-B-UjGQ0i.d.ts.map → admin-interface-DQcggLpw.d.ts.map} +1 -1
- package/dist/{admin-metrics-1yiWGq9z.d.ts → admin-metrics-bsOkw4YQ.d.ts} +15 -15
- package/dist/{admin-metrics-1yiWGq9z.d.ts.map → admin-metrics-bsOkw4YQ.d.ts.map} +1 -1
- package/dist/{client-interface-DjVtlQix.d.ts → client-interface-BQz4jNAC.d.ts} +10 -10
- package/dist/{client-interface-DjVtlQix.d.ts.map → client-interface-BQz4jNAC.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-BCkMYzHx.d.ts → current-user-BBoN3hsn.d.ts} +17 -17
- package/dist/{current-user-BCkMYzHx.d.ts.map → current-user-BBoN3hsn.d.ts.map} +1 -1
- package/dist/dates-BRAvSk6L.d.ts +40 -0
- package/dist/{dates-B6ne9iOR.d.ts.map → dates-BRAvSk6L.d.ts.map} +1 -1
- package/dist/{email-outbox-BRZiK0ZG.d.ts → email-outbox-CYmVerum.d.ts} +225 -225
- package/dist/{email-outbox-BRZiK0ZG.d.ts.map → email-outbox-CYmVerum.d.ts.map} +1 -1
- package/dist/esm/config/schema.d.ts +116 -116
- package/dist/esm/interface/admin-metrics.d.ts +14 -14
- package/dist/esm/interface/conversations.d.ts +37 -37
- package/dist/esm/interface/crud/current-user.d.ts +16 -16
- package/dist/esm/interface/crud/email-outbox.d.ts +224 -224
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/products.d.ts +21 -21
- 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 +32 -32
- package/dist/esm/interface/crud/transactions.d.ts +17 -17
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +22 -22
- package/dist/esm/interface/plan-usage.d.ts +1 -1
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/esm/known-errors.d.ts +3 -3
- package/dist/esm/schema-fields.d.ts +12 -12
- package/dist/esm/schema-fields.d.ts.map +1 -1
- package/dist/esm/schema-fields.js +2 -2
- package/dist/esm/schema-fields.js.map +1 -1
- package/dist/esm/sessions.d.ts +9 -9
- package/dist/esm/utils/currencies.d.ts +16 -1
- package/dist/esm/utils/currencies.d.ts.map +1 -1
- package/dist/esm/utils/currencies.js +24 -1
- package/dist/esm/utils/currencies.js.map +1 -1
- package/dist/esm/utils/dates.d.ts +18 -1
- package/dist/esm/utils/dates.d.ts.map +1 -1
- package/dist/esm/utils/dates.js +36 -15
- package/dist/esm/utils/dates.js.map +1 -1
- 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 +37 -37
- 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-BGLLnTlR.d.ts → invoices-CHo9YKbI.d.ts} +3 -3
- package/dist/{invoices-BGLLnTlR.d.ts.map → invoices-CHo9YKbI.d.ts.map} +1 -1
- package/dist/{known-errors-g7JC8z58.d.ts → known-errors-Bm4a61wL.d.ts} +4 -4
- package/dist/{known-errors-g7JC8z58.d.ts.map → known-errors-Bm4a61wL.d.ts.map} +1 -1
- package/dist/known-errors.d.ts +1 -1
- package/dist/{plan-usage-BigvGIcT.d.ts → plan-usage-ChUZqQWw.d.ts} +2 -2
- package/dist/{plan-usage-BigvGIcT.d.ts.map → plan-usage-ChUZqQWw.d.ts.map} +1 -1
- package/dist/{products-D_fcxfR0.d.ts → products-D4o8A2W0.d.ts} +23 -23
- package/dist/{products-D_fcxfR0.d.ts.map → products-D4o8A2W0.d.ts.map} +1 -1
- package/dist/{project-api-keys-OQqmKtMS.d.ts → project-api-keys--7V5X_UW.d.ts} +5 -5
- package/dist/{project-api-keys-OQqmKtMS.d.ts.map → project-api-keys--7V5X_UW.d.ts.map} +1 -1
- package/dist/{projects-C42SVFvm.d.ts → projects-CFTNXRfG.d.ts} +60 -60
- package/dist/{projects-C42SVFvm.d.ts.map → projects-CFTNXRfG.d.ts.map} +1 -1
- package/dist/{schema-Bgy-GC70.d.ts → schema-Daq0b_sf.d.ts} +118 -118
- package/dist/{schema-Bgy-GC70.d.ts.map → schema-Daq0b_sf.d.ts.map} +1 -1
- package/dist/{schema-fields-BljhsWsa.d.ts → schema-fields-DZtDQEEO.d.ts} +14 -14
- package/dist/schema-fields-DZtDQEEO.d.ts.map +1 -0
- package/dist/schema-fields.d.ts +1 -1
- package/dist/schema-fields.js +2 -2
- package/dist/schema-fields.js.map +1 -1
- package/dist/{server-interface-C1W1tZ_y.d.ts → server-interface-BjY-eS4Q.d.ts} +8 -8
- package/dist/{server-interface-C1W1tZ_y.d.ts.map → server-interface-BjY-eS4Q.d.ts.map} +1 -1
- package/dist/{sessions-C0nM8bE_.d.ts → sessions-CI-0TBQb.d.ts} +11 -11
- package/dist/{sessions-C0nM8bE_.d.ts.map → sessions-CI-0TBQb.d.ts.map} +1 -1
- package/dist/sessions.d.ts +1 -1
- package/dist/{team-member-profiles-CgYXR-Rx.d.ts → team-member-profiles-BoDEqx-0.d.ts} +33 -33
- package/dist/{team-member-profiles-CgYXR-Rx.d.ts.map → team-member-profiles-BoDEqx-0.d.ts.map} +1 -1
- package/dist/{transactions-BomBBiph.d.ts → transactions-CHNUJ42J.d.ts} +19 -19
- package/dist/transactions-CHNUJ42J.d.ts.map +1 -0
- package/dist/{users-7MKfEyyq.d.ts → users-DHNRwoSz.d.ts} +24 -24
- package/dist/{users-7MKfEyyq.d.ts.map → users-DHNRwoSz.d.ts.map} +1 -1
- package/dist/utils/currencies.d.ts +16 -1
- package/dist/utils/currencies.d.ts.map +1 -1
- package/dist/utils/currencies.js +24 -0
- package/dist/utils/currencies.js.map +1 -1
- package/dist/utils/dates.d.ts +2 -2
- package/dist/utils/dates.js +36 -14
- package/dist/utils/dates.js.map +1 -1
- package/dist/{webhooks-C5gG85Ce.d.ts → webhooks-8Ts1Clcb.d.ts} +5 -5
- package/dist/{webhooks-C5gG85Ce.d.ts.map → webhooks-8Ts1Clcb.d.ts.map} +1 -1
- package/package.json +1 -1
- package/src/schema-fields.ts +13 -2
- package/src/utils/currencies.tsx +69 -0
- package/src/utils/dates.tsx +104 -15
- package/dist/dates-B6ne9iOR.d.ts +0 -23
- package/dist/schema-fields-BljhsWsa.d.ts.map +0 -1
- package/dist/transactions-BomBBiph.d.ts.map +0 -1
|
@@ -3,7 +3,7 @@ import * as yup$1 from "yup";
|
|
|
3
3
|
//#region src/interface/crud/invoices.d.ts
|
|
4
4
|
declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
|
|
5
5
|
created_at_millis: number;
|
|
6
|
-
status: "
|
|
6
|
+
status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
|
|
7
7
|
amount_total: number;
|
|
8
8
|
hosted_invoice_url: string | null;
|
|
9
9
|
}, yup$1.AnyObject, {
|
|
@@ -15,8 +15,8 @@ declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
|
|
|
15
15
|
type CustomerInvoiceRead = yup$1.InferType<typeof customerInvoiceReadSchema>;
|
|
16
16
|
declare const customerInvoicesListResponseSchema: yup$1.ObjectSchema<{
|
|
17
17
|
items: {
|
|
18
|
+
status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
|
|
18
19
|
created_at_millis: number;
|
|
19
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
20
20
|
amount_total: number;
|
|
21
21
|
hosted_invoice_url: string | null;
|
|
22
22
|
}[];
|
|
@@ -5,16 +5,14 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
5
5
|
id: string | null;
|
|
6
6
|
quantity: number;
|
|
7
7
|
product: {
|
|
8
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
8
9
|
client_metadata?: {} | null | undefined;
|
|
9
10
|
client_read_only_metadata?: {} | null | undefined;
|
|
10
11
|
server_metadata?: {} | null | undefined;
|
|
11
|
-
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
12
|
-
display_name: string;
|
|
13
12
|
server_only: boolean;
|
|
14
|
-
customer_type: "
|
|
13
|
+
customer_type: "team" | "user" | "custom";
|
|
15
14
|
stackable: boolean;
|
|
16
15
|
prices: Record<string, {
|
|
17
|
-
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
18
16
|
USD?: string | undefined;
|
|
19
17
|
EUR?: string | undefined;
|
|
20
18
|
GBP?: string | undefined;
|
|
@@ -23,10 +21,12 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
23
21
|
AUD?: string | undefined;
|
|
24
22
|
CAD?: string | undefined;
|
|
25
23
|
interval?: import("../../utils/dates").DayInterval | undefined;
|
|
24
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
26
25
|
}>;
|
|
26
|
+
display_name: string;
|
|
27
27
|
included_items: Record<string, {
|
|
28
|
-
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
29
28
|
quantity?: number | undefined;
|
|
29
|
+
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
30
30
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
};
|
|
@@ -40,16 +40,14 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
40
40
|
switch_options: {
|
|
41
41
|
product_id: string;
|
|
42
42
|
product: {
|
|
43
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
43
44
|
client_metadata?: {} | null | undefined;
|
|
44
45
|
client_read_only_metadata?: {} | null | undefined;
|
|
45
46
|
server_metadata?: {} | null | undefined;
|
|
46
|
-
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
47
|
-
display_name: string;
|
|
48
47
|
server_only: boolean;
|
|
49
|
-
customer_type: "
|
|
48
|
+
customer_type: "team" | "user" | "custom";
|
|
50
49
|
stackable: boolean;
|
|
51
50
|
prices: Record<string, {
|
|
52
|
-
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
53
51
|
USD?: string | undefined;
|
|
54
52
|
EUR?: string | undefined;
|
|
55
53
|
GBP?: string | undefined;
|
|
@@ -58,10 +56,12 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
58
56
|
AUD?: string | undefined;
|
|
59
57
|
CAD?: string | undefined;
|
|
60
58
|
interval?: import("../../utils/dates").DayInterval | undefined;
|
|
59
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
61
60
|
}>;
|
|
61
|
+
display_name: string;
|
|
62
62
|
included_items: Record<string, {
|
|
63
|
-
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
64
63
|
quantity?: number | undefined;
|
|
64
|
+
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
65
65
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
66
66
|
}>;
|
|
67
67
|
};
|
|
@@ -103,16 +103,14 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
103
103
|
switch_options?: {
|
|
104
104
|
product_id: string;
|
|
105
105
|
product: {
|
|
106
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
106
107
|
client_metadata?: {} | null | undefined;
|
|
107
108
|
client_read_only_metadata?: {} | null | undefined;
|
|
108
109
|
server_metadata?: {} | null | undefined;
|
|
109
|
-
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
110
|
-
display_name: string;
|
|
111
110
|
server_only: boolean;
|
|
112
|
-
customer_type: "
|
|
111
|
+
customer_type: "team" | "user" | "custom";
|
|
113
112
|
stackable: boolean;
|
|
114
113
|
prices: Record<string, {
|
|
115
|
-
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
116
114
|
USD?: string | undefined;
|
|
117
115
|
EUR?: string | undefined;
|
|
118
116
|
GBP?: string | undefined;
|
|
@@ -121,27 +119,26 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
121
119
|
AUD?: string | undefined;
|
|
122
120
|
CAD?: string | undefined;
|
|
123
121
|
interval?: import("../../utils/dates").DayInterval | undefined;
|
|
122
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
124
123
|
}>;
|
|
124
|
+
display_name: string;
|
|
125
125
|
included_items: Record<string, {
|
|
126
|
-
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
127
126
|
quantity?: number | undefined;
|
|
127
|
+
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
128
128
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
129
129
|
}>;
|
|
130
130
|
};
|
|
131
131
|
}[] | undefined;
|
|
132
|
-
id: string | null;
|
|
133
132
|
quantity: number;
|
|
134
133
|
product: {
|
|
134
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
135
135
|
client_metadata?: {} | null | undefined;
|
|
136
136
|
client_read_only_metadata?: {} | null | undefined;
|
|
137
137
|
server_metadata?: {} | null | undefined;
|
|
138
|
-
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
139
|
-
display_name: string;
|
|
140
138
|
server_only: boolean;
|
|
141
|
-
customer_type: "
|
|
139
|
+
customer_type: "team" | "user" | "custom";
|
|
142
140
|
stackable: boolean;
|
|
143
141
|
prices: Record<string, {
|
|
144
|
-
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
145
142
|
USD?: string | undefined;
|
|
146
143
|
EUR?: string | undefined;
|
|
147
144
|
GBP?: string | undefined;
|
|
@@ -150,13 +147,16 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
150
147
|
AUD?: string | undefined;
|
|
151
148
|
CAD?: string | undefined;
|
|
152
149
|
interval?: import("../../utils/dates").DayInterval | undefined;
|
|
150
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
153
151
|
}>;
|
|
152
|
+
display_name: string;
|
|
154
153
|
included_items: Record<string, {
|
|
155
|
-
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
156
154
|
quantity?: number | undefined;
|
|
155
|
+
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
157
156
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
158
157
|
}>;
|
|
159
158
|
};
|
|
159
|
+
id: string | null;
|
|
160
160
|
}[];
|
|
161
161
|
is_paginated: boolean;
|
|
162
162
|
pagination: {
|
|
@@ -78,9 +78,9 @@ declare const userApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
78
78
|
is_public: undefined;
|
|
79
79
|
user_id: undefined;
|
|
80
80
|
}, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
81
|
-
description: string;
|
|
82
|
-
type: "user";
|
|
83
81
|
user_id: string;
|
|
82
|
+
type: "user";
|
|
83
|
+
description: string;
|
|
84
84
|
id: string;
|
|
85
85
|
created_at_millis: number;
|
|
86
86
|
expires_at_millis: number | undefined;
|
|
@@ -176,11 +176,11 @@ declare const teamApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
176
176
|
is_public: undefined;
|
|
177
177
|
team_id: undefined;
|
|
178
178
|
}, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
179
|
-
description: string;
|
|
180
179
|
type: "team";
|
|
180
|
+
team_id: string;
|
|
181
|
+
description: string;
|
|
181
182
|
id: string;
|
|
182
183
|
created_at_millis: number;
|
|
183
|
-
team_id: string;
|
|
184
184
|
expires_at_millis: number | undefined;
|
|
185
185
|
manually_revoked_at_millis: number | undefined;
|
|
186
186
|
is_public: boolean;
|
|
@@ -2,7 +2,7 @@ import { CrudTypeOf } from "../../crud.js";
|
|
|
2
2
|
|
|
3
3
|
//#region src/interface/crud/projects.d.ts
|
|
4
4
|
declare const emailConfigSchema: import("yup").ObjectSchema<{
|
|
5
|
-
type: "
|
|
5
|
+
type: "shared" | "standard";
|
|
6
6
|
host: string | undefined;
|
|
7
7
|
port: number | undefined;
|
|
8
8
|
username: string | undefined;
|
|
@@ -19,7 +19,7 @@ declare const emailConfigSchema: import("yup").ObjectSchema<{
|
|
|
19
19
|
sender_email: undefined;
|
|
20
20
|
}, "">;
|
|
21
21
|
declare const emailConfigWithoutPasswordSchema: import("yup").ObjectSchema<{
|
|
22
|
-
type: "
|
|
22
|
+
type: "shared" | "standard";
|
|
23
23
|
host: string | undefined;
|
|
24
24
|
port: number | undefined;
|
|
25
25
|
username: string | undefined;
|
|
@@ -50,7 +50,7 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
|
|
|
50
50
|
onboarding_state: {
|
|
51
51
|
selected_config_choice: "create-new" | "link-existing";
|
|
52
52
|
selected_apps: string[];
|
|
53
|
-
selected_sign_in_methods: ("google" | "github" | "microsoft" | "
|
|
53
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
54
54
|
selected_email_theme_id: string | null;
|
|
55
55
|
selected_payments_country: "US" | "OTHER";
|
|
56
56
|
} | null | undefined;
|
|
@@ -61,13 +61,17 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
|
|
|
61
61
|
message: string;
|
|
62
62
|
}[];
|
|
63
63
|
config: {
|
|
64
|
+
domains: {
|
|
65
|
+
domain: string;
|
|
66
|
+
handler_path: string;
|
|
67
|
+
}[];
|
|
64
68
|
oauth_providers: {
|
|
65
69
|
client_id?: string | undefined;
|
|
66
70
|
client_secret?: string | undefined;
|
|
67
71
|
facebook_config_id?: string | undefined;
|
|
68
72
|
microsoft_tenant_id?: string | undefined;
|
|
69
73
|
apple_bundle_ids?: string[] | undefined;
|
|
70
|
-
type: "
|
|
74
|
+
type: "shared" | "standard";
|
|
71
75
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
72
76
|
provider_config_id: string;
|
|
73
77
|
}[];
|
|
@@ -83,10 +87,6 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
|
|
|
83
87
|
enabled_oauth_providers: {
|
|
84
88
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
85
89
|
}[];
|
|
86
|
-
domains: {
|
|
87
|
-
domain: string;
|
|
88
|
-
handler_path: string;
|
|
89
|
-
}[];
|
|
90
90
|
email_config: {
|
|
91
91
|
password?: string | undefined;
|
|
92
92
|
host?: string | undefined;
|
|
@@ -94,7 +94,7 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
|
|
|
94
94
|
username?: string | undefined;
|
|
95
95
|
sender_name?: string | undefined;
|
|
96
96
|
sender_email?: string | undefined;
|
|
97
|
-
type: "
|
|
97
|
+
type: "shared" | "standard";
|
|
98
98
|
};
|
|
99
99
|
email_theme: string;
|
|
100
100
|
create_team_on_sign_up: boolean;
|
|
@@ -173,6 +173,10 @@ declare const projectsCrudClientReadSchema: import("yup").ObjectSchema<{
|
|
|
173
173
|
message: string;
|
|
174
174
|
}[];
|
|
175
175
|
config: {
|
|
176
|
+
domains: {
|
|
177
|
+
domain: string;
|
|
178
|
+
handler_path: string;
|
|
179
|
+
}[];
|
|
176
180
|
allow_localhost: boolean;
|
|
177
181
|
sign_up_enabled: boolean;
|
|
178
182
|
credential_enabled: boolean;
|
|
@@ -185,10 +189,6 @@ declare const projectsCrudClientReadSchema: import("yup").ObjectSchema<{
|
|
|
185
189
|
enabled_oauth_providers: {
|
|
186
190
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
187
191
|
}[];
|
|
188
|
-
domains: {
|
|
189
|
-
domain: string;
|
|
190
|
-
handler_path: string;
|
|
191
|
-
}[];
|
|
192
192
|
};
|
|
193
193
|
}, import("yup").AnyObject, {
|
|
194
194
|
id: undefined;
|
|
@@ -223,18 +223,22 @@ declare const projectsCrudAdminUpdateSchema: import("yup").ObjectSchema<{
|
|
|
223
223
|
onboarding_state: {
|
|
224
224
|
selected_config_choice: "create-new" | "link-existing";
|
|
225
225
|
selected_apps: string[];
|
|
226
|
-
selected_sign_in_methods: ("google" | "github" | "microsoft" | "
|
|
226
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
227
227
|
selected_email_theme_id: string | null;
|
|
228
228
|
selected_payments_country: "US" | "OTHER";
|
|
229
229
|
} | null | undefined;
|
|
230
230
|
config: {
|
|
231
|
+
domains?: {
|
|
232
|
+
domain: string;
|
|
233
|
+
handler_path: string;
|
|
234
|
+
}[] | undefined;
|
|
231
235
|
oauth_providers?: {
|
|
232
236
|
client_id?: string | undefined;
|
|
233
237
|
client_secret?: string | undefined;
|
|
234
238
|
facebook_config_id?: string | undefined;
|
|
235
239
|
microsoft_tenant_id?: string | undefined;
|
|
236
240
|
apple_bundle_ids?: string[] | undefined;
|
|
237
|
-
type: "
|
|
241
|
+
type: "shared" | "standard";
|
|
238
242
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
239
243
|
}[] | undefined;
|
|
240
244
|
allow_localhost?: boolean | undefined;
|
|
@@ -246,10 +250,6 @@ declare const projectsCrudAdminUpdateSchema: import("yup").ObjectSchema<{
|
|
|
246
250
|
client_user_deletion_enabled?: boolean | undefined;
|
|
247
251
|
allow_user_api_keys?: boolean | undefined;
|
|
248
252
|
allow_team_api_keys?: boolean | undefined;
|
|
249
|
-
domains?: {
|
|
250
|
-
domain: string;
|
|
251
|
-
handler_path: string;
|
|
252
|
-
}[] | undefined;
|
|
253
253
|
email_config?: {
|
|
254
254
|
password?: string | undefined;
|
|
255
255
|
host?: string | undefined;
|
|
@@ -257,7 +257,7 @@ declare const projectsCrudAdminUpdateSchema: import("yup").ObjectSchema<{
|
|
|
257
257
|
username?: string | undefined;
|
|
258
258
|
sender_name?: string | undefined;
|
|
259
259
|
sender_email?: string | undefined;
|
|
260
|
-
type: "
|
|
260
|
+
type: "shared" | "standard";
|
|
261
261
|
} | undefined;
|
|
262
262
|
email_theme?: string | undefined;
|
|
263
263
|
create_team_on_sign_up?: boolean | undefined;
|
|
@@ -303,18 +303,22 @@ declare const projectsCrudAdminCreateSchema: import("yup").ObjectSchema<{
|
|
|
303
303
|
onboarding_state: {
|
|
304
304
|
selected_config_choice: "create-new" | "link-existing";
|
|
305
305
|
selected_apps: string[];
|
|
306
|
-
selected_sign_in_methods: ("google" | "github" | "microsoft" | "
|
|
306
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
307
307
|
selected_email_theme_id: string | null;
|
|
308
308
|
selected_payments_country: "US" | "OTHER";
|
|
309
309
|
} | null | undefined;
|
|
310
310
|
config: {
|
|
311
|
+
domains?: {
|
|
312
|
+
domain: string;
|
|
313
|
+
handler_path: string;
|
|
314
|
+
}[] | undefined;
|
|
311
315
|
oauth_providers?: {
|
|
312
316
|
client_id?: string | undefined;
|
|
313
317
|
client_secret?: string | undefined;
|
|
314
318
|
facebook_config_id?: string | undefined;
|
|
315
319
|
microsoft_tenant_id?: string | undefined;
|
|
316
320
|
apple_bundle_ids?: string[] | undefined;
|
|
317
|
-
type: "
|
|
321
|
+
type: "shared" | "standard";
|
|
318
322
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
319
323
|
}[] | undefined;
|
|
320
324
|
allow_localhost?: boolean | undefined;
|
|
@@ -326,10 +330,6 @@ declare const projectsCrudAdminCreateSchema: import("yup").ObjectSchema<{
|
|
|
326
330
|
client_user_deletion_enabled?: boolean | undefined;
|
|
327
331
|
allow_user_api_keys?: boolean | undefined;
|
|
328
332
|
allow_team_api_keys?: boolean | undefined;
|
|
329
|
-
domains?: {
|
|
330
|
-
domain: string;
|
|
331
|
-
handler_path: string;
|
|
332
|
-
}[] | undefined;
|
|
333
333
|
email_config?: {
|
|
334
334
|
password?: string | undefined;
|
|
335
335
|
host?: string | undefined;
|
|
@@ -337,7 +337,7 @@ declare const projectsCrudAdminCreateSchema: import("yup").ObjectSchema<{
|
|
|
337
337
|
username?: string | undefined;
|
|
338
338
|
sender_name?: string | undefined;
|
|
339
339
|
sender_email?: string | undefined;
|
|
340
|
-
type: "
|
|
340
|
+
type: "shared" | "standard";
|
|
341
341
|
} | undefined;
|
|
342
342
|
email_theme?: string | undefined;
|
|
343
343
|
create_team_on_sign_up?: boolean | undefined;
|
|
@@ -389,6 +389,10 @@ declare const clientProjectsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
389
389
|
message: string;
|
|
390
390
|
}[];
|
|
391
391
|
config: {
|
|
392
|
+
domains: {
|
|
393
|
+
domain: string;
|
|
394
|
+
handler_path: string;
|
|
395
|
+
}[];
|
|
392
396
|
allow_localhost: boolean;
|
|
393
397
|
sign_up_enabled: boolean;
|
|
394
398
|
credential_enabled: boolean;
|
|
@@ -401,10 +405,6 @@ declare const clientProjectsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
401
405
|
enabled_oauth_providers: {
|
|
402
406
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
403
407
|
}[];
|
|
404
|
-
domains: {
|
|
405
|
-
domain: string;
|
|
406
|
-
handler_path: string;
|
|
407
|
-
}[];
|
|
408
408
|
};
|
|
409
409
|
}, import("yup").AnyObject, {
|
|
410
410
|
id: undefined;
|
|
@@ -453,7 +453,7 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
453
453
|
onboarding_state: {
|
|
454
454
|
selected_config_choice: "create-new" | "link-existing";
|
|
455
455
|
selected_apps: string[];
|
|
456
|
-
selected_sign_in_methods: ("google" | "github" | "microsoft" | "
|
|
456
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
457
457
|
selected_email_theme_id: string | null;
|
|
458
458
|
selected_payments_country: "US" | "OTHER";
|
|
459
459
|
} | null | undefined;
|
|
@@ -464,13 +464,17 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
464
464
|
message: string;
|
|
465
465
|
}[];
|
|
466
466
|
config: {
|
|
467
|
+
domains: {
|
|
468
|
+
domain: string;
|
|
469
|
+
handler_path: string;
|
|
470
|
+
}[];
|
|
467
471
|
oauth_providers: {
|
|
468
472
|
client_id?: string | undefined;
|
|
469
473
|
client_secret?: string | undefined;
|
|
470
474
|
facebook_config_id?: string | undefined;
|
|
471
475
|
microsoft_tenant_id?: string | undefined;
|
|
472
476
|
apple_bundle_ids?: string[] | undefined;
|
|
473
|
-
type: "
|
|
477
|
+
type: "shared" | "standard";
|
|
474
478
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
475
479
|
provider_config_id: string;
|
|
476
480
|
}[];
|
|
@@ -486,10 +490,6 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
486
490
|
enabled_oauth_providers: {
|
|
487
491
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
488
492
|
}[];
|
|
489
|
-
domains: {
|
|
490
|
-
domain: string;
|
|
491
|
-
handler_path: string;
|
|
492
|
-
}[];
|
|
493
493
|
email_config: {
|
|
494
494
|
password?: string | undefined;
|
|
495
495
|
host?: string | undefined;
|
|
@@ -497,7 +497,7 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
497
497
|
username?: string | undefined;
|
|
498
498
|
sender_name?: string | undefined;
|
|
499
499
|
sender_email?: string | undefined;
|
|
500
|
-
type: "
|
|
500
|
+
type: "shared" | "standard";
|
|
501
501
|
};
|
|
502
502
|
email_theme: string;
|
|
503
503
|
create_team_on_sign_up: boolean;
|
|
@@ -578,18 +578,22 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
578
578
|
onboarding_state: {
|
|
579
579
|
selected_config_choice: "create-new" | "link-existing";
|
|
580
580
|
selected_apps: string[];
|
|
581
|
-
selected_sign_in_methods: ("google" | "github" | "microsoft" | "
|
|
581
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
582
582
|
selected_email_theme_id: string | null;
|
|
583
583
|
selected_payments_country: "US" | "OTHER";
|
|
584
584
|
} | null | undefined;
|
|
585
585
|
config: {
|
|
586
|
+
domains?: {
|
|
587
|
+
domain: string;
|
|
588
|
+
handler_path: string;
|
|
589
|
+
}[] | undefined;
|
|
586
590
|
oauth_providers?: {
|
|
587
591
|
client_id?: string | undefined;
|
|
588
592
|
client_secret?: string | undefined;
|
|
589
593
|
facebook_config_id?: string | undefined;
|
|
590
594
|
microsoft_tenant_id?: string | undefined;
|
|
591
595
|
apple_bundle_ids?: string[] | undefined;
|
|
592
|
-
type: "
|
|
596
|
+
type: "shared" | "standard";
|
|
593
597
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
594
598
|
}[] | undefined;
|
|
595
599
|
allow_localhost?: boolean | undefined;
|
|
@@ -601,10 +605,6 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
601
605
|
client_user_deletion_enabled?: boolean | undefined;
|
|
602
606
|
allow_user_api_keys?: boolean | undefined;
|
|
603
607
|
allow_team_api_keys?: boolean | undefined;
|
|
604
|
-
domains?: {
|
|
605
|
-
domain: string;
|
|
606
|
-
handler_path: string;
|
|
607
|
-
}[] | undefined;
|
|
608
608
|
email_config?: {
|
|
609
609
|
password?: string | undefined;
|
|
610
610
|
host?: string | undefined;
|
|
@@ -612,7 +612,7 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
612
612
|
username?: string | undefined;
|
|
613
613
|
sender_name?: string | undefined;
|
|
614
614
|
sender_email?: string | undefined;
|
|
615
|
-
type: "
|
|
615
|
+
type: "shared" | "standard";
|
|
616
616
|
} | undefined;
|
|
617
617
|
email_theme?: string | undefined;
|
|
618
618
|
create_team_on_sign_up?: boolean | undefined;
|
|
@@ -686,7 +686,7 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
|
|
|
686
686
|
onboarding_state: {
|
|
687
687
|
selected_config_choice: "create-new" | "link-existing";
|
|
688
688
|
selected_apps: string[];
|
|
689
|
-
selected_sign_in_methods: ("google" | "github" | "microsoft" | "
|
|
689
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
690
690
|
selected_email_theme_id: string | null;
|
|
691
691
|
selected_payments_country: "US" | "OTHER";
|
|
692
692
|
} | null | undefined;
|
|
@@ -697,13 +697,17 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
|
|
|
697
697
|
message: string;
|
|
698
698
|
}[];
|
|
699
699
|
config: {
|
|
700
|
+
domains: {
|
|
701
|
+
domain: string;
|
|
702
|
+
handler_path: string;
|
|
703
|
+
}[];
|
|
700
704
|
oauth_providers: {
|
|
701
705
|
client_id?: string | undefined;
|
|
702
706
|
client_secret?: string | undefined;
|
|
703
707
|
facebook_config_id?: string | undefined;
|
|
704
708
|
microsoft_tenant_id?: string | undefined;
|
|
705
709
|
apple_bundle_ids?: string[] | undefined;
|
|
706
|
-
type: "
|
|
710
|
+
type: "shared" | "standard";
|
|
707
711
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
708
712
|
provider_config_id: string;
|
|
709
713
|
}[];
|
|
@@ -719,10 +723,6 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
|
|
|
719
723
|
enabled_oauth_providers: {
|
|
720
724
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
721
725
|
}[];
|
|
722
|
-
domains: {
|
|
723
|
-
domain: string;
|
|
724
|
-
handler_path: string;
|
|
725
|
-
}[];
|
|
726
726
|
email_config: {
|
|
727
727
|
password?: string | undefined;
|
|
728
728
|
host?: string | undefined;
|
|
@@ -730,7 +730,7 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
|
|
|
730
730
|
username?: string | undefined;
|
|
731
731
|
sender_name?: string | undefined;
|
|
732
732
|
sender_email?: string | undefined;
|
|
733
|
-
type: "
|
|
733
|
+
type: "shared" | "standard";
|
|
734
734
|
};
|
|
735
735
|
email_theme: string;
|
|
736
736
|
create_team_on_sign_up: boolean;
|
|
@@ -811,18 +811,22 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
|
|
|
811
811
|
onboarding_state: {
|
|
812
812
|
selected_config_choice: "create-new" | "link-existing";
|
|
813
813
|
selected_apps: string[];
|
|
814
|
-
selected_sign_in_methods: ("google" | "github" | "microsoft" | "
|
|
814
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
815
815
|
selected_email_theme_id: string | null;
|
|
816
816
|
selected_payments_country: "US" | "OTHER";
|
|
817
817
|
} | null | undefined;
|
|
818
818
|
config: {
|
|
819
|
+
domains?: {
|
|
820
|
+
domain: string;
|
|
821
|
+
handler_path: string;
|
|
822
|
+
}[] | undefined;
|
|
819
823
|
oauth_providers?: {
|
|
820
824
|
client_id?: string | undefined;
|
|
821
825
|
client_secret?: string | undefined;
|
|
822
826
|
facebook_config_id?: string | undefined;
|
|
823
827
|
microsoft_tenant_id?: string | undefined;
|
|
824
828
|
apple_bundle_ids?: string[] | undefined;
|
|
825
|
-
type: "
|
|
829
|
+
type: "shared" | "standard";
|
|
826
830
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
827
831
|
}[] | undefined;
|
|
828
832
|
allow_localhost?: boolean | undefined;
|
|
@@ -834,10 +838,6 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
|
|
|
834
838
|
client_user_deletion_enabled?: boolean | undefined;
|
|
835
839
|
allow_user_api_keys?: boolean | undefined;
|
|
836
840
|
allow_team_api_keys?: boolean | undefined;
|
|
837
|
-
domains?: {
|
|
838
|
-
domain: string;
|
|
839
|
-
handler_path: string;
|
|
840
|
-
}[] | undefined;
|
|
841
841
|
email_config?: {
|
|
842
842
|
password?: string | undefined;
|
|
843
843
|
host?: string | undefined;
|
|
@@ -845,7 +845,7 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
|
|
|
845
845
|
username?: string | undefined;
|
|
846
846
|
sender_name?: string | undefined;
|
|
847
847
|
sender_email?: string | undefined;
|
|
848
|
-
type: "
|
|
848
|
+
type: "shared" | "standard";
|
|
849
849
|
} | undefined;
|
|
850
850
|
email_theme?: string | undefined;
|
|
851
851
|
create_team_on_sign_up?: boolean | undefined;
|