@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
|
@@ -150,8 +150,8 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
|
|
|
150
150
|
activity: number;
|
|
151
151
|
}[];
|
|
152
152
|
daily_emails_by_status: {
|
|
153
|
-
error: number;
|
|
154
153
|
ok: number;
|
|
154
|
+
error: number;
|
|
155
155
|
date: string;
|
|
156
156
|
in_progress: number;
|
|
157
157
|
}[];
|
|
@@ -159,8 +159,8 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
|
|
|
159
159
|
recent_emails: {
|
|
160
160
|
status: string;
|
|
161
161
|
id: string;
|
|
162
|
-
subject: string;
|
|
163
162
|
created_at_millis: number;
|
|
163
|
+
subject: string;
|
|
164
164
|
}[];
|
|
165
165
|
deliverability_status: {
|
|
166
166
|
error: number;
|
|
@@ -392,8 +392,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
|
|
|
392
392
|
kind: "team_user_hour_of_week" | "session_replay_clicks";
|
|
393
393
|
cells: {
|
|
394
394
|
value: number;
|
|
395
|
-
hour: number;
|
|
396
395
|
weekday: number;
|
|
396
|
+
hour: number;
|
|
397
397
|
}[];
|
|
398
398
|
sampling: number;
|
|
399
399
|
routes: {
|
|
@@ -404,8 +404,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
|
|
|
404
404
|
}[];
|
|
405
405
|
users: {
|
|
406
406
|
primary_email: string | null;
|
|
407
|
-
display_name: string | null;
|
|
408
407
|
id: string;
|
|
408
|
+
display_name: string | null;
|
|
409
409
|
profile_image_url: string | null;
|
|
410
410
|
clicks: number;
|
|
411
411
|
replays: number;
|
|
@@ -444,8 +444,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
|
|
|
444
444
|
}, "">;
|
|
445
445
|
declare const MetricsActiveUsersByCountrySchema: yup.MixedSchema<Record<string, {
|
|
446
446
|
primary_email: string | null;
|
|
447
|
-
display_name: string | null;
|
|
448
447
|
id: string;
|
|
448
|
+
display_name: string | null;
|
|
449
449
|
profile_image_url: string | null;
|
|
450
450
|
signed_up_at_millis: number;
|
|
451
451
|
last_active_at_millis: number | null;
|
|
@@ -472,24 +472,24 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
472
472
|
users_by_country: Record<string, number>;
|
|
473
473
|
active_users_by_country: Record<string, {
|
|
474
474
|
primary_email: string | null;
|
|
475
|
-
display_name: string | null;
|
|
476
475
|
id: string;
|
|
476
|
+
display_name: string | null;
|
|
477
477
|
profile_image_url: string | null;
|
|
478
478
|
signed_up_at_millis: number;
|
|
479
479
|
last_active_at_millis: number | null;
|
|
480
480
|
}[]>;
|
|
481
481
|
recently_registered: {
|
|
482
482
|
primary_email: string | null;
|
|
483
|
-
display_name: string | null;
|
|
484
483
|
id: string;
|
|
484
|
+
display_name: string | null;
|
|
485
485
|
profile_image_url: string | null;
|
|
486
486
|
signed_up_at_millis: number;
|
|
487
487
|
last_active_at_millis: number | null;
|
|
488
488
|
}[];
|
|
489
489
|
recently_active: {
|
|
490
490
|
primary_email: string | null;
|
|
491
|
-
display_name: string | null;
|
|
492
491
|
id: string;
|
|
492
|
+
display_name: string | null;
|
|
493
493
|
profile_image_url: string | null;
|
|
494
494
|
signed_up_at_millis: number;
|
|
495
495
|
last_active_at_millis: number | null;
|
|
@@ -563,8 +563,8 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
563
563
|
emails_by_status: Record<string, number>;
|
|
564
564
|
total_emails: number;
|
|
565
565
|
daily_emails_by_status: {
|
|
566
|
-
error: number;
|
|
567
566
|
ok: number;
|
|
567
|
+
error: number;
|
|
568
568
|
date: string;
|
|
569
569
|
in_progress: number;
|
|
570
570
|
}[];
|
|
@@ -572,8 +572,8 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
572
572
|
recent_emails: {
|
|
573
573
|
status: string;
|
|
574
574
|
id: string;
|
|
575
|
-
subject: string;
|
|
576
575
|
created_at_millis: number;
|
|
576
|
+
subject: string;
|
|
577
577
|
}[];
|
|
578
578
|
deliverability_status: {
|
|
579
579
|
error: number;
|
|
@@ -49,7 +49,7 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
|
|
|
49
49
|
userPrimaryEmail: string | null;
|
|
50
50
|
userProfileImageUrl: string | null;
|
|
51
51
|
subject: string;
|
|
52
|
-
status: "
|
|
52
|
+
status: "open" | "pending" | "closed";
|
|
53
53
|
priority: "low" | "normal" | "high" | "urgent";
|
|
54
54
|
source: "email" | "manual" | "chat" | "api";
|
|
55
55
|
lastMessageType: "message" | "internal-note" | "status-change";
|
|
@@ -129,7 +129,7 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
|
|
|
129
129
|
userId: string | null;
|
|
130
130
|
teamId: string | null;
|
|
131
131
|
subject: string;
|
|
132
|
-
status: "
|
|
132
|
+
status: "open" | "pending" | "closed";
|
|
133
133
|
priority: "low" | "normal" | "high" | "urgent";
|
|
134
134
|
source: "email" | "manual" | "chat" | "api";
|
|
135
135
|
messageType: "message" | "internal-note" | "status-change";
|
|
@@ -139,8 +139,8 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
|
|
|
139
139
|
createdAt: string;
|
|
140
140
|
sender: {
|
|
141
141
|
type: "user" | "agent" | "system";
|
|
142
|
-
displayName: string | null;
|
|
143
142
|
id: string | null;
|
|
143
|
+
displayName: string | null;
|
|
144
144
|
primaryEmail: string | null;
|
|
145
145
|
};
|
|
146
146
|
}, yup$1.AnyObject, {
|
|
@@ -173,8 +173,7 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
173
173
|
lastOutboundAt?: string | null | undefined;
|
|
174
174
|
closedAt?: string | null | undefined;
|
|
175
175
|
recordMetadata?: {} | null | undefined;
|
|
176
|
-
status: "
|
|
177
|
-
subject: string;
|
|
176
|
+
status: "open" | "pending" | "closed";
|
|
178
177
|
priority: "low" | "normal" | "high" | "urgent";
|
|
179
178
|
conversationId: string;
|
|
180
179
|
userId: string | null;
|
|
@@ -182,6 +181,7 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
182
181
|
userDisplayName: string | null;
|
|
183
182
|
userPrimaryEmail: string | null;
|
|
184
183
|
userProfileImageUrl: string | null;
|
|
184
|
+
subject: string;
|
|
185
185
|
source: "email" | "manual" | "chat" | "api";
|
|
186
186
|
lastMessageType: "message" | "internal-note" | "status-change";
|
|
187
187
|
preview: string | null;
|
|
@@ -211,8 +211,7 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
211
211
|
lastOutboundAt?: string | null | undefined;
|
|
212
212
|
closedAt?: string | null | undefined;
|
|
213
213
|
recordMetadata?: {} | null | undefined;
|
|
214
|
-
status: "
|
|
215
|
-
subject: string;
|
|
214
|
+
status: "open" | "pending" | "closed";
|
|
216
215
|
priority: "low" | "normal" | "high" | "urgent";
|
|
217
216
|
conversationId: string;
|
|
218
217
|
userId: string | null;
|
|
@@ -220,6 +219,7 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
220
219
|
userDisplayName: string | null;
|
|
221
220
|
userPrimaryEmail: string | null;
|
|
222
221
|
userProfileImageUrl: string | null;
|
|
222
|
+
subject: string;
|
|
223
223
|
source: "email" | "manual" | "chat" | "api";
|
|
224
224
|
lastMessageType: "message" | "internal-note" | "status-change";
|
|
225
225
|
preview: string | null;
|
|
@@ -236,13 +236,13 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
236
236
|
};
|
|
237
237
|
};
|
|
238
238
|
messages: {
|
|
239
|
-
status: "
|
|
239
|
+
status: "open" | "pending" | "closed";
|
|
240
240
|
id: string;
|
|
241
|
-
subject: string;
|
|
242
241
|
priority: "low" | "normal" | "high" | "urgent";
|
|
243
242
|
conversationId: string;
|
|
244
243
|
userId: string | null;
|
|
245
244
|
teamId: string | null;
|
|
245
|
+
subject: string;
|
|
246
246
|
source: "email" | "manual" | "chat" | "api";
|
|
247
247
|
metadata: {} | null;
|
|
248
248
|
createdAt: string;
|
|
@@ -251,8 +251,8 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
251
251
|
attachments: {}[];
|
|
252
252
|
sender: {
|
|
253
253
|
type: "user" | "agent" | "system";
|
|
254
|
-
displayName: string | null;
|
|
255
254
|
id: string | null;
|
|
255
|
+
displayName: string | null;
|
|
256
256
|
primaryEmail: string | null;
|
|
257
257
|
};
|
|
258
258
|
}[];
|
|
@@ -9,20 +9,19 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
9
9
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
10
10
|
} | null;
|
|
11
11
|
primary_email: string | null;
|
|
12
|
-
display_name: string | null;
|
|
13
12
|
client_metadata: {} | null;
|
|
14
13
|
client_read_only_metadata: {} | null;
|
|
15
14
|
id: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
is_restricted: boolean;
|
|
19
|
-
requires_totp_mfa: boolean;
|
|
15
|
+
primary_email_verified: boolean;
|
|
16
|
+
display_name: string | null;
|
|
20
17
|
profile_image_url: string | null;
|
|
18
|
+
selected_team_id: string | null;
|
|
21
19
|
signed_up_at_millis: number;
|
|
22
|
-
primary_email_verified: boolean;
|
|
23
20
|
has_password: boolean;
|
|
24
21
|
otp_auth_enabled: boolean;
|
|
25
22
|
passkey_auth_enabled: boolean;
|
|
23
|
+
is_anonymous: boolean;
|
|
24
|
+
is_restricted: boolean;
|
|
26
25
|
restricted_by_admin: boolean;
|
|
27
26
|
restricted_by_admin_reason: string | null;
|
|
28
27
|
oauth_providers: {
|
|
@@ -31,12 +30,13 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
31
30
|
account_id: string;
|
|
32
31
|
}[];
|
|
33
32
|
auth_with_email: boolean;
|
|
33
|
+
requires_totp_mfa: boolean;
|
|
34
34
|
} & {
|
|
35
35
|
selected_team: {
|
|
36
36
|
client_metadata?: {} | null | undefined;
|
|
37
37
|
client_read_only_metadata?: {} | null | undefined;
|
|
38
|
-
display_name: string;
|
|
39
38
|
id: string;
|
|
39
|
+
display_name: string;
|
|
40
40
|
profile_image_url: string | null;
|
|
41
41
|
} | null;
|
|
42
42
|
}, yup$1.AnyObject, {
|
|
@@ -91,10 +91,10 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
91
91
|
client_metadata?: {} | null | undefined;
|
|
92
92
|
client_read_only_metadata?: {} | null | undefined;
|
|
93
93
|
server_metadata?: {} | null | undefined;
|
|
94
|
-
display_name: string;
|
|
95
94
|
id: string;
|
|
96
|
-
|
|
95
|
+
display_name: string;
|
|
97
96
|
profile_image_url: string | null;
|
|
97
|
+
created_at_millis: number;
|
|
98
98
|
} | null;
|
|
99
99
|
selected_team_id: string | null;
|
|
100
100
|
profile_image_url: string | null;
|
|
@@ -174,10 +174,10 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
174
174
|
}, "">;
|
|
175
175
|
clientUpdateSchema: yup$1.ObjectSchema<{
|
|
176
176
|
primary_email: string | null | undefined;
|
|
177
|
-
display_name: string | null | undefined;
|
|
178
177
|
client_metadata: {} | null | undefined;
|
|
179
|
-
|
|
178
|
+
display_name: string | null | undefined;
|
|
180
179
|
profile_image_url: string | null | undefined;
|
|
180
|
+
selected_team_id: string | null | undefined;
|
|
181
181
|
otp_auth_enabled: boolean | undefined;
|
|
182
182
|
passkey_auth_enabled: boolean | undefined;
|
|
183
183
|
totp_secret_base64: string | null | undefined;
|
|
@@ -162,8 +162,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
162
162
|
} | {
|
|
163
163
|
status: "scheduled";
|
|
164
164
|
id: string;
|
|
165
|
-
subject: string;
|
|
166
165
|
created_at_millis: number;
|
|
166
|
+
subject: string;
|
|
167
167
|
html: string | null;
|
|
168
168
|
text: string | null;
|
|
169
169
|
updated_at_millis: number;
|
|
@@ -208,8 +208,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
208
208
|
} | {
|
|
209
209
|
status: "queued";
|
|
210
210
|
id: string;
|
|
211
|
-
subject: string;
|
|
212
211
|
created_at_millis: number;
|
|
212
|
+
subject: string;
|
|
213
213
|
html: string | null;
|
|
214
214
|
text: string | null;
|
|
215
215
|
updated_at_millis: number;
|
|
@@ -254,8 +254,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
254
254
|
} | {
|
|
255
255
|
status: "sending";
|
|
256
256
|
id: string;
|
|
257
|
-
subject: string;
|
|
258
257
|
created_at_millis: number;
|
|
258
|
+
subject: string;
|
|
259
259
|
html: string | null;
|
|
260
260
|
text: string | null;
|
|
261
261
|
updated_at_millis: number;
|
|
@@ -301,8 +301,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
301
301
|
} | {
|
|
302
302
|
status: "server-error";
|
|
303
303
|
id: string;
|
|
304
|
-
subject: string;
|
|
305
304
|
created_at_millis: number;
|
|
305
|
+
subject: string;
|
|
306
306
|
html: string | null;
|
|
307
307
|
text: string | null;
|
|
308
308
|
updated_at_millis: number;
|
|
@@ -400,8 +400,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
400
400
|
} | {
|
|
401
401
|
status: "bounced";
|
|
402
402
|
id: string;
|
|
403
|
-
subject: string;
|
|
404
403
|
created_at_millis: number;
|
|
404
|
+
subject: string;
|
|
405
405
|
html: string | null;
|
|
406
406
|
text: string | null;
|
|
407
407
|
updated_at_millis: number;
|
|
@@ -448,8 +448,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
448
448
|
} | {
|
|
449
449
|
status: "delivery-delayed";
|
|
450
450
|
id: string;
|
|
451
|
-
subject: string;
|
|
452
451
|
created_at_millis: number;
|
|
452
|
+
subject: string;
|
|
453
453
|
html: string | null;
|
|
454
454
|
text: string | null;
|
|
455
455
|
updated_at_millis: number;
|
|
@@ -496,8 +496,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
496
496
|
} | {
|
|
497
497
|
status: "sent";
|
|
498
498
|
id: string;
|
|
499
|
-
subject: string;
|
|
500
499
|
created_at_millis: number;
|
|
500
|
+
subject: string;
|
|
501
501
|
html: string | null;
|
|
502
502
|
text: string | null;
|
|
503
503
|
updated_at_millis: number;
|
|
@@ -545,8 +545,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
545
545
|
} | {
|
|
546
546
|
status: "opened";
|
|
547
547
|
id: string;
|
|
548
|
-
subject: string;
|
|
549
548
|
created_at_millis: number;
|
|
549
|
+
subject: string;
|
|
550
550
|
html: string | null;
|
|
551
551
|
text: string | null;
|
|
552
552
|
updated_at_millis: number;
|
|
@@ -595,8 +595,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
595
595
|
} | {
|
|
596
596
|
status: "clicked";
|
|
597
597
|
id: string;
|
|
598
|
-
subject: string;
|
|
599
598
|
created_at_millis: number;
|
|
599
|
+
subject: string;
|
|
600
600
|
html: string | null;
|
|
601
601
|
text: string | null;
|
|
602
602
|
updated_at_millis: number;
|
|
@@ -645,8 +645,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
645
645
|
} | {
|
|
646
646
|
status: "marked-as-spam";
|
|
647
647
|
id: string;
|
|
648
|
-
subject: string;
|
|
649
648
|
created_at_millis: number;
|
|
649
|
+
subject: string;
|
|
650
650
|
html: string | null;
|
|
651
651
|
text: string | null;
|
|
652
652
|
updated_at_millis: number;
|
|
@@ -882,8 +882,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
882
882
|
} | {
|
|
883
883
|
status: "scheduled";
|
|
884
884
|
id: string;
|
|
885
|
-
subject: string;
|
|
886
885
|
created_at_millis: number;
|
|
886
|
+
subject: string;
|
|
887
887
|
html: string | null;
|
|
888
888
|
text: string | null;
|
|
889
889
|
updated_at_millis: number;
|
|
@@ -928,8 +928,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
928
928
|
} | {
|
|
929
929
|
status: "queued";
|
|
930
930
|
id: string;
|
|
931
|
-
subject: string;
|
|
932
931
|
created_at_millis: number;
|
|
932
|
+
subject: string;
|
|
933
933
|
html: string | null;
|
|
934
934
|
text: string | null;
|
|
935
935
|
updated_at_millis: number;
|
|
@@ -974,8 +974,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
974
974
|
} | {
|
|
975
975
|
status: "sending";
|
|
976
976
|
id: string;
|
|
977
|
-
subject: string;
|
|
978
977
|
created_at_millis: number;
|
|
978
|
+
subject: string;
|
|
979
979
|
html: string | null;
|
|
980
980
|
text: string | null;
|
|
981
981
|
updated_at_millis: number;
|
|
@@ -1021,8 +1021,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1021
1021
|
} | {
|
|
1022
1022
|
status: "server-error";
|
|
1023
1023
|
id: string;
|
|
1024
|
-
subject: string;
|
|
1025
1024
|
created_at_millis: number;
|
|
1025
|
+
subject: string;
|
|
1026
1026
|
html: string | null;
|
|
1027
1027
|
text: string | null;
|
|
1028
1028
|
updated_at_millis: number;
|
|
@@ -1120,8 +1120,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1120
1120
|
} | {
|
|
1121
1121
|
status: "bounced";
|
|
1122
1122
|
id: string;
|
|
1123
|
-
subject: string;
|
|
1124
1123
|
created_at_millis: number;
|
|
1124
|
+
subject: string;
|
|
1125
1125
|
html: string | null;
|
|
1126
1126
|
text: string | null;
|
|
1127
1127
|
updated_at_millis: number;
|
|
@@ -1168,8 +1168,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1168
1168
|
} | {
|
|
1169
1169
|
status: "delivery-delayed";
|
|
1170
1170
|
id: string;
|
|
1171
|
-
subject: string;
|
|
1172
1171
|
created_at_millis: number;
|
|
1172
|
+
subject: string;
|
|
1173
1173
|
html: string | null;
|
|
1174
1174
|
text: string | null;
|
|
1175
1175
|
updated_at_millis: number;
|
|
@@ -1216,8 +1216,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1216
1216
|
} | {
|
|
1217
1217
|
status: "sent";
|
|
1218
1218
|
id: string;
|
|
1219
|
-
subject: string;
|
|
1220
1219
|
created_at_millis: number;
|
|
1220
|
+
subject: string;
|
|
1221
1221
|
html: string | null;
|
|
1222
1222
|
text: string | null;
|
|
1223
1223
|
updated_at_millis: number;
|
|
@@ -1265,8 +1265,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1265
1265
|
} | {
|
|
1266
1266
|
status: "opened";
|
|
1267
1267
|
id: string;
|
|
1268
|
-
subject: string;
|
|
1269
1268
|
created_at_millis: number;
|
|
1269
|
+
subject: string;
|
|
1270
1270
|
html: string | null;
|
|
1271
1271
|
text: string | null;
|
|
1272
1272
|
updated_at_millis: number;
|
|
@@ -1315,8 +1315,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1315
1315
|
} | {
|
|
1316
1316
|
status: "clicked";
|
|
1317
1317
|
id: string;
|
|
1318
|
-
subject: string;
|
|
1319
1318
|
created_at_millis: number;
|
|
1319
|
+
subject: string;
|
|
1320
1320
|
html: string | null;
|
|
1321
1321
|
text: string | null;
|
|
1322
1322
|
updated_at_millis: number;
|
|
@@ -1365,8 +1365,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1365
1365
|
} | {
|
|
1366
1366
|
status: "marked-as-spam";
|
|
1367
1367
|
id: string;
|
|
1368
|
-
subject: string;
|
|
1369
1368
|
created_at_millis: number;
|
|
1369
|
+
subject: string;
|
|
1370
1370
|
html: string | null;
|
|
1371
1371
|
text: string | null;
|
|
1372
1372
|
updated_at_millis: number;
|
|
@@ -6,14 +6,16 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
6
6
|
id: string | null;
|
|
7
7
|
quantity: number;
|
|
8
8
|
product: {
|
|
9
|
-
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
10
9
|
client_metadata?: {} | null | undefined;
|
|
11
10
|
client_read_only_metadata?: {} | null | undefined;
|
|
12
11
|
server_metadata?: {} | null | undefined;
|
|
12
|
+
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
13
13
|
server_only: boolean;
|
|
14
14
|
customer_type: "team" | "user" | "custom";
|
|
15
|
+
display_name: string;
|
|
15
16
|
stackable: boolean;
|
|
16
17
|
prices: Record<string, {
|
|
18
|
+
interval?: ______utils_dates0.DayInterval | undefined;
|
|
17
19
|
USD?: string | undefined;
|
|
18
20
|
EUR?: string | undefined;
|
|
19
21
|
GBP?: string | undefined;
|
|
@@ -21,10 +23,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
21
23
|
INR?: string | undefined;
|
|
22
24
|
AUD?: string | undefined;
|
|
23
25
|
CAD?: string | undefined;
|
|
24
|
-
interval?: ______utils_dates0.DayInterval | undefined;
|
|
25
26
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
26
27
|
}>;
|
|
27
|
-
display_name: string;
|
|
28
28
|
included_items: Record<string, {
|
|
29
29
|
quantity?: number | undefined;
|
|
30
30
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
@@ -41,14 +41,16 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
41
41
|
switch_options: {
|
|
42
42
|
product_id: string;
|
|
43
43
|
product: {
|
|
44
|
-
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
45
44
|
client_metadata?: {} | null | undefined;
|
|
46
45
|
client_read_only_metadata?: {} | null | undefined;
|
|
47
46
|
server_metadata?: {} | null | undefined;
|
|
47
|
+
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
48
48
|
server_only: boolean;
|
|
49
49
|
customer_type: "team" | "user" | "custom";
|
|
50
|
+
display_name: string;
|
|
50
51
|
stackable: boolean;
|
|
51
52
|
prices: Record<string, {
|
|
53
|
+
interval?: ______utils_dates0.DayInterval | undefined;
|
|
52
54
|
USD?: string | undefined;
|
|
53
55
|
EUR?: string | undefined;
|
|
54
56
|
GBP?: string | undefined;
|
|
@@ -56,10 +58,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
56
58
|
INR?: string | undefined;
|
|
57
59
|
AUD?: string | undefined;
|
|
58
60
|
CAD?: string | undefined;
|
|
59
|
-
interval?: ______utils_dates0.DayInterval | undefined;
|
|
60
61
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
61
62
|
}>;
|
|
62
|
-
display_name: string;
|
|
63
63
|
included_items: Record<string, {
|
|
64
64
|
quantity?: number | undefined;
|
|
65
65
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
@@ -104,14 +104,16 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
104
104
|
switch_options?: {
|
|
105
105
|
product_id: string;
|
|
106
106
|
product: {
|
|
107
|
-
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
108
107
|
client_metadata?: {} | null | undefined;
|
|
109
108
|
client_read_only_metadata?: {} | null | undefined;
|
|
110
109
|
server_metadata?: {} | null | undefined;
|
|
110
|
+
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
111
111
|
server_only: boolean;
|
|
112
112
|
customer_type: "team" | "user" | "custom";
|
|
113
|
+
display_name: string;
|
|
113
114
|
stackable: boolean;
|
|
114
115
|
prices: Record<string, {
|
|
116
|
+
interval?: ______utils_dates0.DayInterval | undefined;
|
|
115
117
|
USD?: string | undefined;
|
|
116
118
|
EUR?: string | undefined;
|
|
117
119
|
GBP?: string | undefined;
|
|
@@ -119,10 +121,8 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
119
121
|
INR?: string | undefined;
|
|
120
122
|
AUD?: string | undefined;
|
|
121
123
|
CAD?: string | undefined;
|
|
122
|
-
interval?: ______utils_dates0.DayInterval | undefined;
|
|
123
124
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
124
125
|
}>;
|
|
125
|
-
display_name: string;
|
|
126
126
|
included_items: Record<string, {
|
|
127
127
|
quantity?: number | undefined;
|
|
128
128
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
@@ -131,15 +131,18 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
131
131
|
};
|
|
132
132
|
}[] | undefined;
|
|
133
133
|
quantity: number;
|
|
134
|
+
id: string | null;
|
|
134
135
|
product: {
|
|
135
|
-
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
136
136
|
client_metadata?: {} | null | undefined;
|
|
137
137
|
client_read_only_metadata?: {} | null | undefined;
|
|
138
138
|
server_metadata?: {} | null | undefined;
|
|
139
|
+
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
139
140
|
server_only: boolean;
|
|
140
141
|
customer_type: "team" | "user" | "custom";
|
|
142
|
+
display_name: string;
|
|
141
143
|
stackable: boolean;
|
|
142
144
|
prices: Record<string, {
|
|
145
|
+
interval?: ______utils_dates0.DayInterval | undefined;
|
|
143
146
|
USD?: string | undefined;
|
|
144
147
|
EUR?: string | undefined;
|
|
145
148
|
GBP?: string | undefined;
|
|
@@ -147,17 +150,14 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
147
150
|
INR?: string | undefined;
|
|
148
151
|
AUD?: string | undefined;
|
|
149
152
|
CAD?: string | undefined;
|
|
150
|
-
interval?: ______utils_dates0.DayInterval | undefined;
|
|
151
153
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
152
154
|
}>;
|
|
153
|
-
display_name: string;
|
|
154
155
|
included_items: Record<string, {
|
|
155
156
|
quantity?: number | undefined;
|
|
156
157
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
157
158
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
158
159
|
}>;
|
|
159
160
|
};
|
|
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
|
|
1
|
+
{"version":3,"file":"products.d.ts","names":[],"sources":["../../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;;;;iBAc1B,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;qBAMnC,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
|
|
@@ -81,8 +81,8 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
81
81
|
}, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
82
82
|
user_id: string;
|
|
83
83
|
type: "user";
|
|
84
|
-
description: string;
|
|
85
84
|
id: string;
|
|
85
|
+
description: string;
|
|
86
86
|
created_at_millis: number;
|
|
87
87
|
expires_at_millis: number | undefined;
|
|
88
88
|
manually_revoked_at_millis: number | undefined;
|
|
@@ -179,8 +179,8 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
179
179
|
}, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
180
180
|
type: "team";
|
|
181
181
|
team_id: string;
|
|
182
|
-
description: string;
|
|
183
182
|
id: string;
|
|
183
|
+
description: string;
|
|
184
184
|
created_at_millis: number;
|
|
185
185
|
expires_at_millis: number | undefined;
|
|
186
186
|
manually_revoked_at_millis: number | undefined;
|