@hexclave/shared 1.0.18 → 1.0.19
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 +10 -7
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -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 +238 -10
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/apps/apps-config.d.ts +7 -3
- package/dist/apps/apps-config.d.ts.map +1 -1
- package/dist/apps/apps-config.js +12 -4
- package/dist/apps/apps-config.js.map +1 -1
- package/dist/config/schema.d.ts +217 -217
- package/dist/esm/ai/unified-prompts/reminders.js +10 -7
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -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 +238 -11
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/esm/apps/apps-config.d.ts +7 -3
- package/dist/esm/apps/apps-config.d.ts.map +1 -1
- package/dist/esm/apps/apps-config.js +12 -5
- package/dist/esm/apps/apps-config.js.map +1 -1
- package/dist/esm/config/schema.d.ts +217 -217
- package/dist/esm/interface/admin-metrics.d.ts +15 -15
- package/dist/esm/interface/conversations.d.ts +12 -12
- package/dist/esm/interface/crud/current-user.d.ts +10 -10
- package/dist/esm/interface/crud/email-outbox.d.ts +146 -146
- package/dist/esm/interface/crud/products.d.ts +16 -16
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +6 -6
- package/dist/esm/interface/crud/projects.d.ts +35 -35
- package/dist/esm/interface/crud/team-member-profiles.d.ts +20 -20
- package/dist/esm/interface/crud/transactions.d.ts +21 -21
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +16 -16
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/esm/known-errors.d.ts +5 -5
- package/dist/esm/schema-fields.d.ts +5 -5
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/interface/admin-metrics.d.ts +15 -15
- package/dist/interface/conversations.d.ts +12 -12
- package/dist/interface/crud/current-user.d.ts +10 -10
- package/dist/interface/crud/email-outbox.d.ts +146 -146
- package/dist/interface/crud/products.d.ts +16 -16
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +6 -6
- package/dist/interface/crud/projects.d.ts +35 -35
- package/dist/interface/crud/team-member-profiles.d.ts +20 -20
- package/dist/interface/crud/transactions.d.ts +21 -21
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +16 -16
- package/dist/interface/webhooks.d.ts +4 -4
- package/dist/known-errors.d.ts +5 -5
- package/dist/schema-fields.d.ts +5 -5
- package/dist/sessions.d.ts +7 -7
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +10 -7
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +244 -10
- package/src/ai/unified-prompts/skill-site-prompt.ts +1 -1
- package/src/apps/apps-config.ts +13 -2
|
@@ -10,8 +10,6 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
10
10
|
client_metadata?: {} | null | undefined;
|
|
11
11
|
client_read_only_metadata?: {} | null | undefined;
|
|
12
12
|
server_metadata?: {} | null | undefined;
|
|
13
|
-
server_only: boolean;
|
|
14
|
-
customer_type: "team" | "user" | "custom";
|
|
15
13
|
stackable: boolean;
|
|
16
14
|
prices: Record<string, {
|
|
17
15
|
USD?: string | undefined;
|
|
@@ -25,9 +23,11 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
25
23
|
free_trial?: DayInterval | undefined;
|
|
26
24
|
}>;
|
|
27
25
|
display_name: string;
|
|
26
|
+
customer_type: "user" | "team" | "custom";
|
|
27
|
+
server_only: boolean;
|
|
28
28
|
included_items: Record<string, {
|
|
29
|
-
quantity?: number | undefined;
|
|
30
29
|
repeat?: "never" | DayInterval | undefined;
|
|
30
|
+
quantity?: number | undefined;
|
|
31
31
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
};
|
|
@@ -39,14 +39,11 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
39
39
|
is_cancelable: boolean;
|
|
40
40
|
} | null | undefined;
|
|
41
41
|
switch_options: {
|
|
42
|
-
product_id: string;
|
|
43
42
|
product: {
|
|
44
43
|
free_trial?: DayInterval | undefined;
|
|
45
44
|
client_metadata?: {} | null | undefined;
|
|
46
45
|
client_read_only_metadata?: {} | null | undefined;
|
|
47
46
|
server_metadata?: {} | null | undefined;
|
|
48
|
-
server_only: boolean;
|
|
49
|
-
customer_type: "team" | "user" | "custom";
|
|
50
47
|
stackable: boolean;
|
|
51
48
|
prices: Record<string, {
|
|
52
49
|
USD?: string | undefined;
|
|
@@ -60,12 +57,15 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
60
57
|
free_trial?: DayInterval | undefined;
|
|
61
58
|
}>;
|
|
62
59
|
display_name: string;
|
|
60
|
+
customer_type: "user" | "team" | "custom";
|
|
61
|
+
server_only: boolean;
|
|
63
62
|
included_items: Record<string, {
|
|
64
|
-
quantity?: number | undefined;
|
|
65
63
|
repeat?: "never" | DayInterval | undefined;
|
|
64
|
+
quantity?: number | undefined;
|
|
66
65
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
67
66
|
}>;
|
|
68
67
|
};
|
|
68
|
+
product_id: string;
|
|
69
69
|
}[] | undefined;
|
|
70
70
|
}, yup$1.AnyObject, {
|
|
71
71
|
id: undefined;
|
|
@@ -102,14 +102,11 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
102
102
|
is_cancelable: boolean;
|
|
103
103
|
} | null | undefined;
|
|
104
104
|
switch_options?: {
|
|
105
|
-
product_id: string;
|
|
106
105
|
product: {
|
|
107
106
|
free_trial?: DayInterval | undefined;
|
|
108
107
|
client_metadata?: {} | null | undefined;
|
|
109
108
|
client_read_only_metadata?: {} | null | undefined;
|
|
110
109
|
server_metadata?: {} | null | undefined;
|
|
111
|
-
server_only: boolean;
|
|
112
|
-
customer_type: "team" | "user" | "custom";
|
|
113
110
|
stackable: boolean;
|
|
114
111
|
prices: Record<string, {
|
|
115
112
|
USD?: string | undefined;
|
|
@@ -123,22 +120,21 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
123
120
|
free_trial?: DayInterval | undefined;
|
|
124
121
|
}>;
|
|
125
122
|
display_name: string;
|
|
123
|
+
customer_type: "user" | "team" | "custom";
|
|
124
|
+
server_only: boolean;
|
|
126
125
|
included_items: Record<string, {
|
|
127
|
-
quantity?: number | undefined;
|
|
128
126
|
repeat?: "never" | DayInterval | undefined;
|
|
127
|
+
quantity?: number | undefined;
|
|
129
128
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
130
129
|
}>;
|
|
131
130
|
};
|
|
131
|
+
product_id: string;
|
|
132
132
|
}[] | undefined;
|
|
133
|
-
quantity: number;
|
|
134
|
-
id: string | null;
|
|
135
133
|
product: {
|
|
136
134
|
free_trial?: DayInterval | undefined;
|
|
137
135
|
client_metadata?: {} | null | undefined;
|
|
138
136
|
client_read_only_metadata?: {} | null | undefined;
|
|
139
137
|
server_metadata?: {} | null | undefined;
|
|
140
|
-
server_only: boolean;
|
|
141
|
-
customer_type: "team" | "user" | "custom";
|
|
142
138
|
stackable: boolean;
|
|
143
139
|
prices: Record<string, {
|
|
144
140
|
USD?: string | undefined;
|
|
@@ -152,12 +148,16 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
152
148
|
free_trial?: DayInterval | undefined;
|
|
153
149
|
}>;
|
|
154
150
|
display_name: string;
|
|
151
|
+
customer_type: "user" | "team" | "custom";
|
|
152
|
+
server_only: boolean;
|
|
155
153
|
included_items: Record<string, {
|
|
156
|
-
quantity?: number | undefined;
|
|
157
154
|
repeat?: "never" | DayInterval | undefined;
|
|
155
|
+
quantity?: number | undefined;
|
|
158
156
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
159
157
|
}>;
|
|
160
158
|
};
|
|
159
|
+
quantity: number;
|
|
160
|
+
id: string | null;
|
|
161
161
|
}[];
|
|
162
162
|
is_paginated: boolean;
|
|
163
163
|
pagination: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA
|
|
1
|
+
{"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
|
|
@@ -78,12 +78,12 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
78
78
|
is_public: undefined;
|
|
79
79
|
user_id: undefined;
|
|
80
80
|
}, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
81
|
-
user_id: string;
|
|
82
81
|
type: "user";
|
|
83
|
-
id: string;
|
|
84
82
|
description: string;
|
|
85
|
-
|
|
83
|
+
id: string;
|
|
84
|
+
user_id: string;
|
|
86
85
|
created_at_millis: number;
|
|
86
|
+
expires_at_millis: number | undefined;
|
|
87
87
|
manually_revoked_at_millis: number | undefined;
|
|
88
88
|
is_public: boolean;
|
|
89
89
|
} & {
|
|
@@ -177,11 +177,11 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
177
177
|
team_id: undefined;
|
|
178
178
|
}, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
179
179
|
type: "team";
|
|
180
|
-
team_id: string;
|
|
181
|
-
id: string;
|
|
182
180
|
description: string;
|
|
183
|
-
|
|
181
|
+
id: string;
|
|
182
|
+
team_id: string;
|
|
184
183
|
created_at_millis: number;
|
|
184
|
+
expires_at_millis: number | undefined;
|
|
185
185
|
manually_revoked_at_millis: number | undefined;
|
|
186
186
|
is_public: boolean;
|
|
187
187
|
} & {
|
|
@@ -51,11 +51,15 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
51
51
|
onboarding_state: {
|
|
52
52
|
selected_config_choice: "create-new" | "link-existing";
|
|
53
53
|
selected_apps: string[];
|
|
54
|
-
selected_sign_in_methods: ("
|
|
54
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
55
55
|
selected_email_theme_id: string | null;
|
|
56
56
|
selected_payments_country: "US" | "OTHER";
|
|
57
57
|
} | null | undefined;
|
|
58
58
|
config: {
|
|
59
|
+
domains: {
|
|
60
|
+
domain: string;
|
|
61
|
+
handler_path: string;
|
|
62
|
+
}[];
|
|
59
63
|
oauth_providers: {
|
|
60
64
|
client_id?: string | undefined;
|
|
61
65
|
client_secret?: string | undefined;
|
|
@@ -66,10 +70,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
66
70
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
67
71
|
provider_config_id: string;
|
|
68
72
|
}[];
|
|
69
|
-
domains: {
|
|
70
|
-
domain: string;
|
|
71
|
-
handler_path: string;
|
|
72
|
-
}[];
|
|
73
73
|
allow_localhost: boolean;
|
|
74
74
|
sign_up_enabled: boolean;
|
|
75
75
|
credential_enabled: boolean;
|
|
@@ -204,11 +204,15 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
204
204
|
onboarding_state: {
|
|
205
205
|
selected_config_choice: "create-new" | "link-existing";
|
|
206
206
|
selected_apps: string[];
|
|
207
|
-
selected_sign_in_methods: ("
|
|
207
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
208
208
|
selected_email_theme_id: string | null;
|
|
209
209
|
selected_payments_country: "US" | "OTHER";
|
|
210
210
|
} | null | undefined;
|
|
211
211
|
config: {
|
|
212
|
+
domains?: {
|
|
213
|
+
domain: string;
|
|
214
|
+
handler_path: string;
|
|
215
|
+
}[] | undefined;
|
|
212
216
|
oauth_providers?: {
|
|
213
217
|
client_id?: string | undefined;
|
|
214
218
|
client_secret?: string | undefined;
|
|
@@ -218,10 +222,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
218
222
|
type: "shared" | "standard";
|
|
219
223
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
220
224
|
}[] | undefined;
|
|
221
|
-
domains?: {
|
|
222
|
-
domain: string;
|
|
223
|
-
handler_path: string;
|
|
224
|
-
}[] | undefined;
|
|
225
225
|
allow_localhost?: boolean | undefined;
|
|
226
226
|
sign_up_enabled?: boolean | undefined;
|
|
227
227
|
credential_enabled?: boolean | undefined;
|
|
@@ -284,11 +284,15 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
284
284
|
onboarding_state: {
|
|
285
285
|
selected_config_choice: "create-new" | "link-existing";
|
|
286
286
|
selected_apps: string[];
|
|
287
|
-
selected_sign_in_methods: ("
|
|
287
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
288
288
|
selected_email_theme_id: string | null;
|
|
289
289
|
selected_payments_country: "US" | "OTHER";
|
|
290
290
|
} | null | undefined;
|
|
291
291
|
config: {
|
|
292
|
+
domains?: {
|
|
293
|
+
domain: string;
|
|
294
|
+
handler_path: string;
|
|
295
|
+
}[] | undefined;
|
|
292
296
|
oauth_providers?: {
|
|
293
297
|
client_id?: string | undefined;
|
|
294
298
|
client_secret?: string | undefined;
|
|
@@ -298,10 +302,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
298
302
|
type: "shared" | "standard";
|
|
299
303
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
300
304
|
}[] | undefined;
|
|
301
|
-
domains?: {
|
|
302
|
-
domain: string;
|
|
303
|
-
handler_path: string;
|
|
304
|
-
}[] | undefined;
|
|
305
305
|
allow_localhost?: boolean | undefined;
|
|
306
306
|
sign_up_enabled?: boolean | undefined;
|
|
307
307
|
credential_enabled?: boolean | undefined;
|
|
@@ -424,11 +424,15 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
424
424
|
onboarding_state: {
|
|
425
425
|
selected_config_choice: "create-new" | "link-existing";
|
|
426
426
|
selected_apps: string[];
|
|
427
|
-
selected_sign_in_methods: ("
|
|
427
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
428
428
|
selected_email_theme_id: string | null;
|
|
429
429
|
selected_payments_country: "US" | "OTHER";
|
|
430
430
|
} | null | undefined;
|
|
431
431
|
config: {
|
|
432
|
+
domains: {
|
|
433
|
+
domain: string;
|
|
434
|
+
handler_path: string;
|
|
435
|
+
}[];
|
|
432
436
|
oauth_providers: {
|
|
433
437
|
client_id?: string | undefined;
|
|
434
438
|
client_secret?: string | undefined;
|
|
@@ -439,10 +443,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
439
443
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
440
444
|
provider_config_id: string;
|
|
441
445
|
}[];
|
|
442
|
-
domains: {
|
|
443
|
-
domain: string;
|
|
444
|
-
handler_path: string;
|
|
445
|
-
}[];
|
|
446
446
|
allow_localhost: boolean;
|
|
447
447
|
sign_up_enabled: boolean;
|
|
448
448
|
credential_enabled: boolean;
|
|
@@ -539,11 +539,15 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
539
539
|
onboarding_state: {
|
|
540
540
|
selected_config_choice: "create-new" | "link-existing";
|
|
541
541
|
selected_apps: string[];
|
|
542
|
-
selected_sign_in_methods: ("
|
|
542
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
543
543
|
selected_email_theme_id: string | null;
|
|
544
544
|
selected_payments_country: "US" | "OTHER";
|
|
545
545
|
} | null | undefined;
|
|
546
546
|
config: {
|
|
547
|
+
domains?: {
|
|
548
|
+
domain: string;
|
|
549
|
+
handler_path: string;
|
|
550
|
+
}[] | undefined;
|
|
547
551
|
oauth_providers?: {
|
|
548
552
|
client_id?: string | undefined;
|
|
549
553
|
client_secret?: string | undefined;
|
|
@@ -553,10 +557,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
553
557
|
type: "shared" | "standard";
|
|
554
558
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
555
559
|
}[] | undefined;
|
|
556
|
-
domains?: {
|
|
557
|
-
domain: string;
|
|
558
|
-
handler_path: string;
|
|
559
|
-
}[] | undefined;
|
|
560
560
|
allow_localhost?: boolean | undefined;
|
|
561
561
|
sign_up_enabled?: boolean | undefined;
|
|
562
562
|
credential_enabled?: boolean | undefined;
|
|
@@ -647,11 +647,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
647
647
|
onboarding_state: {
|
|
648
648
|
selected_config_choice: "create-new" | "link-existing";
|
|
649
649
|
selected_apps: string[];
|
|
650
|
-
selected_sign_in_methods: ("
|
|
650
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
651
651
|
selected_email_theme_id: string | null;
|
|
652
652
|
selected_payments_country: "US" | "OTHER";
|
|
653
653
|
} | null | undefined;
|
|
654
654
|
config: {
|
|
655
|
+
domains: {
|
|
656
|
+
domain: string;
|
|
657
|
+
handler_path: string;
|
|
658
|
+
}[];
|
|
655
659
|
oauth_providers: {
|
|
656
660
|
client_id?: string | undefined;
|
|
657
661
|
client_secret?: string | undefined;
|
|
@@ -662,10 +666,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
662
666
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
663
667
|
provider_config_id: string;
|
|
664
668
|
}[];
|
|
665
|
-
domains: {
|
|
666
|
-
domain: string;
|
|
667
|
-
handler_path: string;
|
|
668
|
-
}[];
|
|
669
669
|
allow_localhost: boolean;
|
|
670
670
|
sign_up_enabled: boolean;
|
|
671
671
|
credential_enabled: boolean;
|
|
@@ -762,11 +762,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
762
762
|
onboarding_state: {
|
|
763
763
|
selected_config_choice: "create-new" | "link-existing";
|
|
764
764
|
selected_apps: string[];
|
|
765
|
-
selected_sign_in_methods: ("
|
|
765
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
766
766
|
selected_email_theme_id: string | null;
|
|
767
767
|
selected_payments_country: "US" | "OTHER";
|
|
768
768
|
} | null | undefined;
|
|
769
769
|
config: {
|
|
770
|
+
domains?: {
|
|
771
|
+
domain: string;
|
|
772
|
+
handler_path: string;
|
|
773
|
+
}[] | undefined;
|
|
770
774
|
oauth_providers?: {
|
|
771
775
|
client_id?: string | undefined;
|
|
772
776
|
client_secret?: string | undefined;
|
|
@@ -776,10 +780,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
776
780
|
type: "shared" | "standard";
|
|
777
781
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
778
782
|
}[] | undefined;
|
|
779
|
-
domains?: {
|
|
780
|
-
domain: string;
|
|
781
|
-
handler_path: string;
|
|
782
|
-
}[] | undefined;
|
|
783
783
|
allow_localhost?: boolean | undefined;
|
|
784
784
|
sign_up_enabled?: boolean | undefined;
|
|
785
785
|
credential_enabled?: boolean | undefined;
|
|
@@ -20,40 +20,40 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
20
20
|
profile_image_url: string | null;
|
|
21
21
|
} & {
|
|
22
22
|
user: {
|
|
23
|
-
restricted_reason: {
|
|
24
|
-
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
25
|
-
} | null;
|
|
26
|
-
primary_email: string | null;
|
|
27
|
-
id: string;
|
|
28
23
|
display_name: string | null;
|
|
29
24
|
client_metadata: {} | null;
|
|
30
25
|
client_read_only_metadata: {} | null;
|
|
31
26
|
server_metadata: {} | null;
|
|
27
|
+
id: string;
|
|
32
28
|
selected_team_id: string | null;
|
|
33
29
|
is_anonymous: boolean;
|
|
34
30
|
is_restricted: boolean;
|
|
31
|
+
restricted_reason: {
|
|
32
|
+
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
33
|
+
} | null;
|
|
35
34
|
requires_totp_mfa: boolean;
|
|
35
|
+
primary_email: string | null;
|
|
36
|
+
country_code: string | null;
|
|
36
37
|
profile_image_url: string | null;
|
|
38
|
+
signed_up_at_millis: number;
|
|
39
|
+
last_active_at_millis: number;
|
|
37
40
|
primary_email_verified: boolean;
|
|
38
41
|
primary_email_auth_enabled: boolean;
|
|
39
42
|
selected_team: {
|
|
40
43
|
client_metadata?: {} | null | undefined;
|
|
41
44
|
client_read_only_metadata?: {} | null | undefined;
|
|
42
45
|
server_metadata?: {} | null | undefined;
|
|
43
|
-
id: string;
|
|
44
46
|
display_name: string;
|
|
45
|
-
|
|
47
|
+
id: string;
|
|
46
48
|
created_at_millis: number;
|
|
49
|
+
profile_image_url: string | null;
|
|
47
50
|
} | null;
|
|
48
|
-
signed_up_at_millis: number;
|
|
49
51
|
has_password: boolean;
|
|
50
52
|
otp_auth_enabled: boolean;
|
|
51
53
|
passkey_auth_enabled: boolean;
|
|
52
|
-
last_active_at_millis: number;
|
|
53
54
|
restricted_by_admin: boolean;
|
|
54
55
|
restricted_by_admin_reason: string | null;
|
|
55
56
|
restricted_by_admin_private_details: string | null;
|
|
56
|
-
country_code: string | null;
|
|
57
57
|
risk_scores: {
|
|
58
58
|
sign_up: {
|
|
59
59
|
bot: number;
|
|
@@ -143,40 +143,40 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
|
|
|
143
143
|
profile_image_url: string | null;
|
|
144
144
|
} & {
|
|
145
145
|
user: {
|
|
146
|
-
restricted_reason: {
|
|
147
|
-
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
148
|
-
} | null;
|
|
149
|
-
primary_email: string | null;
|
|
150
|
-
id: string;
|
|
151
146
|
display_name: string | null;
|
|
152
147
|
client_metadata: {} | null;
|
|
153
148
|
client_read_only_metadata: {} | null;
|
|
154
149
|
server_metadata: {} | null;
|
|
150
|
+
id: string;
|
|
155
151
|
selected_team_id: string | null;
|
|
156
152
|
is_anonymous: boolean;
|
|
157
153
|
is_restricted: boolean;
|
|
154
|
+
restricted_reason: {
|
|
155
|
+
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
156
|
+
} | null;
|
|
158
157
|
requires_totp_mfa: boolean;
|
|
158
|
+
primary_email: string | null;
|
|
159
|
+
country_code: string | null;
|
|
159
160
|
profile_image_url: string | null;
|
|
161
|
+
signed_up_at_millis: number;
|
|
162
|
+
last_active_at_millis: number;
|
|
160
163
|
primary_email_verified: boolean;
|
|
161
164
|
primary_email_auth_enabled: boolean;
|
|
162
165
|
selected_team: {
|
|
163
166
|
client_metadata?: {} | null | undefined;
|
|
164
167
|
client_read_only_metadata?: {} | null | undefined;
|
|
165
168
|
server_metadata?: {} | null | undefined;
|
|
166
|
-
id: string;
|
|
167
169
|
display_name: string;
|
|
168
|
-
|
|
170
|
+
id: string;
|
|
169
171
|
created_at_millis: number;
|
|
172
|
+
profile_image_url: string | null;
|
|
170
173
|
} | null;
|
|
171
|
-
signed_up_at_millis: number;
|
|
172
174
|
has_password: boolean;
|
|
173
175
|
otp_auth_enabled: boolean;
|
|
174
176
|
passkey_auth_enabled: boolean;
|
|
175
|
-
last_active_at_millis: number;
|
|
176
177
|
restricted_by_admin: boolean;
|
|
177
178
|
restricted_by_admin_reason: string | null;
|
|
178
179
|
restricted_by_admin_private_details: string | null;
|
|
179
|
-
country_code: string | null;
|
|
180
180
|
risk_scores: {
|
|
181
181
|
sign_up: {
|
|
182
182
|
bot: number;
|
|
@@ -5,8 +5,8 @@ import { InferType } from "yup";
|
|
|
5
5
|
//#region src/interface/crud/transactions.d.ts
|
|
6
6
|
declare const transactionEntrySchema: yup$1.MixedSchema<{
|
|
7
7
|
type: "money_transfer";
|
|
8
|
+
customer_type: "user" | "team" | "custom";
|
|
8
9
|
customer_id: string;
|
|
9
|
-
customer_type: "team" | "user" | "custom";
|
|
10
10
|
charged_amount: {
|
|
11
11
|
USD?: string | undefined;
|
|
12
12
|
EUR?: string | undefined;
|
|
@@ -23,27 +23,21 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
|
|
|
23
23
|
adjusted_entry_index: number | null;
|
|
24
24
|
} | {
|
|
25
25
|
type: "item_quantity_change";
|
|
26
|
+
quantity: number;
|
|
27
|
+
customer_type: "user" | "team" | "custom";
|
|
26
28
|
item_id: string;
|
|
27
29
|
customer_id: string;
|
|
28
|
-
quantity: number;
|
|
29
|
-
customer_type: "team" | "user" | "custom";
|
|
30
30
|
adjusted_transaction_id: string | null;
|
|
31
31
|
adjusted_entry_index: number | null;
|
|
32
32
|
} | {
|
|
33
33
|
one_time_purchase_id?: string | undefined;
|
|
34
34
|
subscription_id?: string | undefined;
|
|
35
35
|
type: "product_grant";
|
|
36
|
-
customer_id: string;
|
|
37
|
-
product_id: string | null;
|
|
38
|
-
quantity: number;
|
|
39
|
-
customer_type: "team" | "user" | "custom";
|
|
40
36
|
product: {
|
|
41
37
|
free_trial?: DayInterval | undefined;
|
|
42
38
|
client_metadata?: {} | null | undefined;
|
|
43
39
|
client_read_only_metadata?: {} | null | undefined;
|
|
44
40
|
server_metadata?: {} | null | undefined;
|
|
45
|
-
server_only: boolean;
|
|
46
|
-
customer_type: "team" | "user" | "custom";
|
|
47
41
|
stackable: boolean;
|
|
48
42
|
prices: Record<string, {
|
|
49
43
|
USD?: string | undefined;
|
|
@@ -57,12 +51,18 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
|
|
|
57
51
|
free_trial?: DayInterval | undefined;
|
|
58
52
|
}>;
|
|
59
53
|
display_name: string;
|
|
54
|
+
customer_type: "user" | "team" | "custom";
|
|
55
|
+
server_only: boolean;
|
|
60
56
|
included_items: Record<string, {
|
|
61
|
-
quantity?: number | undefined;
|
|
62
57
|
repeat?: "never" | DayInterval | undefined;
|
|
58
|
+
quantity?: number | undefined;
|
|
63
59
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
64
60
|
}>;
|
|
65
61
|
};
|
|
62
|
+
quantity: number;
|
|
63
|
+
customer_type: "user" | "team" | "custom";
|
|
64
|
+
customer_id: string;
|
|
65
|
+
product_id: string | null;
|
|
66
66
|
adjusted_transaction_id: string | null;
|
|
67
67
|
adjusted_entry_index: number | null;
|
|
68
68
|
price_id: string | null;
|
|
@@ -85,12 +85,12 @@ declare const transactionSchema: yup$1.ObjectSchema<{
|
|
|
85
85
|
created_at_millis: number;
|
|
86
86
|
effective_at_millis: number;
|
|
87
87
|
type: "purchase" | "subscription-cancellation" | "subscription-renewal" | "manual-item-quantity-change" | "refund" | "chargeback" | "product-change" | null;
|
|
88
|
-
customer_type: "
|
|
88
|
+
customer_type: "user" | "team" | "custom";
|
|
89
89
|
customer_id: string;
|
|
90
90
|
entries: ({
|
|
91
91
|
type: "money_transfer";
|
|
92
|
+
customer_type: "user" | "team" | "custom";
|
|
92
93
|
customer_id: string;
|
|
93
|
-
customer_type: "team" | "user" | "custom";
|
|
94
94
|
charged_amount: {
|
|
95
95
|
USD?: string | undefined;
|
|
96
96
|
EUR?: string | undefined;
|
|
@@ -107,27 +107,21 @@ declare const transactionSchema: yup$1.ObjectSchema<{
|
|
|
107
107
|
adjusted_entry_index: number | null;
|
|
108
108
|
} | {
|
|
109
109
|
type: "item_quantity_change";
|
|
110
|
+
quantity: number;
|
|
111
|
+
customer_type: "user" | "team" | "custom";
|
|
110
112
|
item_id: string;
|
|
111
113
|
customer_id: string;
|
|
112
|
-
quantity: number;
|
|
113
|
-
customer_type: "team" | "user" | "custom";
|
|
114
114
|
adjusted_transaction_id: string | null;
|
|
115
115
|
adjusted_entry_index: number | null;
|
|
116
116
|
} | {
|
|
117
117
|
one_time_purchase_id?: string | undefined;
|
|
118
118
|
subscription_id?: string | undefined;
|
|
119
119
|
type: "product_grant";
|
|
120
|
-
customer_id: string;
|
|
121
|
-
product_id: string | null;
|
|
122
|
-
quantity: number;
|
|
123
|
-
customer_type: "team" | "user" | "custom";
|
|
124
120
|
product: {
|
|
125
121
|
free_trial?: DayInterval | undefined;
|
|
126
122
|
client_metadata?: {} | null | undefined;
|
|
127
123
|
client_read_only_metadata?: {} | null | undefined;
|
|
128
124
|
server_metadata?: {} | null | undefined;
|
|
129
|
-
server_only: boolean;
|
|
130
|
-
customer_type: "team" | "user" | "custom";
|
|
131
125
|
stackable: boolean;
|
|
132
126
|
prices: Record<string, {
|
|
133
127
|
USD?: string | undefined;
|
|
@@ -141,12 +135,18 @@ declare const transactionSchema: yup$1.ObjectSchema<{
|
|
|
141
135
|
free_trial?: DayInterval | undefined;
|
|
142
136
|
}>;
|
|
143
137
|
display_name: string;
|
|
138
|
+
customer_type: "user" | "team" | "custom";
|
|
139
|
+
server_only: boolean;
|
|
144
140
|
included_items: Record<string, {
|
|
145
|
-
quantity?: number | undefined;
|
|
146
141
|
repeat?: "never" | DayInterval | undefined;
|
|
142
|
+
quantity?: number | undefined;
|
|
147
143
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
148
144
|
}>;
|
|
149
145
|
};
|
|
146
|
+
quantity: number;
|
|
147
|
+
customer_type: "user" | "team" | "custom";
|
|
148
|
+
customer_id: string;
|
|
149
|
+
product_id: string | null;
|
|
150
150
|
adjusted_transaction_id: string | null;
|
|
151
151
|
adjusted_entry_index: number | null;
|
|
152
152
|
price_id: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA
|
|
1
|
+
{"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
|