@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
|
}[];
|
|
@@ -8,20 +8,19 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
8
8
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
9
9
|
} | null;
|
|
10
10
|
primary_email: string | null;
|
|
11
|
-
display_name: string | null;
|
|
12
11
|
client_metadata: {} | null;
|
|
13
12
|
client_read_only_metadata: {} | null;
|
|
14
13
|
id: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
is_restricted: boolean;
|
|
18
|
-
requires_totp_mfa: boolean;
|
|
14
|
+
primary_email_verified: boolean;
|
|
15
|
+
display_name: string | null;
|
|
19
16
|
profile_image_url: string | null;
|
|
17
|
+
selected_team_id: string | null;
|
|
20
18
|
signed_up_at_millis: number;
|
|
21
|
-
primary_email_verified: boolean;
|
|
22
19
|
has_password: boolean;
|
|
23
20
|
otp_auth_enabled: boolean;
|
|
24
21
|
passkey_auth_enabled: boolean;
|
|
22
|
+
is_anonymous: boolean;
|
|
23
|
+
is_restricted: boolean;
|
|
25
24
|
restricted_by_admin: boolean;
|
|
26
25
|
restricted_by_admin_reason: string | null;
|
|
27
26
|
oauth_providers: {
|
|
@@ -30,12 +29,13 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
30
29
|
account_id: string;
|
|
31
30
|
}[];
|
|
32
31
|
auth_with_email: boolean;
|
|
32
|
+
requires_totp_mfa: boolean;
|
|
33
33
|
} & {
|
|
34
34
|
selected_team: {
|
|
35
35
|
client_metadata?: {} | null | undefined;
|
|
36
36
|
client_read_only_metadata?: {} | null | undefined;
|
|
37
|
-
display_name: string;
|
|
38
37
|
id: string;
|
|
38
|
+
display_name: string;
|
|
39
39
|
profile_image_url: string | null;
|
|
40
40
|
} | null;
|
|
41
41
|
}, yup$1.AnyObject, {
|
|
@@ -90,10 +90,10 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
90
90
|
client_metadata?: {} | null | undefined;
|
|
91
91
|
client_read_only_metadata?: {} | null | undefined;
|
|
92
92
|
server_metadata?: {} | null | undefined;
|
|
93
|
-
display_name: string;
|
|
94
93
|
id: string;
|
|
95
|
-
|
|
94
|
+
display_name: string;
|
|
96
95
|
profile_image_url: string | null;
|
|
96
|
+
created_at_millis: number;
|
|
97
97
|
} | null;
|
|
98
98
|
selected_team_id: string | null;
|
|
99
99
|
profile_image_url: string | null;
|
|
@@ -173,10 +173,10 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
173
173
|
}, "">;
|
|
174
174
|
clientUpdateSchema: yup$1.ObjectSchema<{
|
|
175
175
|
primary_email: string | null | undefined;
|
|
176
|
-
display_name: string | null | undefined;
|
|
177
176
|
client_metadata: {} | null | undefined;
|
|
178
|
-
|
|
177
|
+
display_name: string | null | undefined;
|
|
179
178
|
profile_image_url: string | null | undefined;
|
|
179
|
+
selected_team_id: string | null | undefined;
|
|
180
180
|
otp_auth_enabled: boolean | undefined;
|
|
181
181
|
passkey_auth_enabled: boolean | undefined;
|
|
182
182
|
totp_secret_base64: string | null | undefined;
|
|
@@ -161,8 +161,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
161
161
|
} | {
|
|
162
162
|
status: "scheduled";
|
|
163
163
|
id: string;
|
|
164
|
-
subject: string;
|
|
165
164
|
created_at_millis: number;
|
|
165
|
+
subject: string;
|
|
166
166
|
html: string | null;
|
|
167
167
|
text: string | null;
|
|
168
168
|
updated_at_millis: number;
|
|
@@ -207,8 +207,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
207
207
|
} | {
|
|
208
208
|
status: "queued";
|
|
209
209
|
id: string;
|
|
210
|
-
subject: string;
|
|
211
210
|
created_at_millis: number;
|
|
211
|
+
subject: string;
|
|
212
212
|
html: string | null;
|
|
213
213
|
text: string | null;
|
|
214
214
|
updated_at_millis: number;
|
|
@@ -253,8 +253,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
253
253
|
} | {
|
|
254
254
|
status: "sending";
|
|
255
255
|
id: string;
|
|
256
|
-
subject: string;
|
|
257
256
|
created_at_millis: number;
|
|
257
|
+
subject: string;
|
|
258
258
|
html: string | null;
|
|
259
259
|
text: string | null;
|
|
260
260
|
updated_at_millis: number;
|
|
@@ -300,8 +300,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
300
300
|
} | {
|
|
301
301
|
status: "server-error";
|
|
302
302
|
id: string;
|
|
303
|
-
subject: string;
|
|
304
303
|
created_at_millis: number;
|
|
304
|
+
subject: string;
|
|
305
305
|
html: string | null;
|
|
306
306
|
text: string | null;
|
|
307
307
|
updated_at_millis: number;
|
|
@@ -399,8 +399,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
399
399
|
} | {
|
|
400
400
|
status: "bounced";
|
|
401
401
|
id: string;
|
|
402
|
-
subject: string;
|
|
403
402
|
created_at_millis: number;
|
|
403
|
+
subject: string;
|
|
404
404
|
html: string | null;
|
|
405
405
|
text: string | null;
|
|
406
406
|
updated_at_millis: number;
|
|
@@ -447,8 +447,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
447
447
|
} | {
|
|
448
448
|
status: "delivery-delayed";
|
|
449
449
|
id: string;
|
|
450
|
-
subject: string;
|
|
451
450
|
created_at_millis: number;
|
|
451
|
+
subject: string;
|
|
452
452
|
html: string | null;
|
|
453
453
|
text: string | null;
|
|
454
454
|
updated_at_millis: number;
|
|
@@ -495,8 +495,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
495
495
|
} | {
|
|
496
496
|
status: "sent";
|
|
497
497
|
id: string;
|
|
498
|
-
subject: string;
|
|
499
498
|
created_at_millis: number;
|
|
499
|
+
subject: string;
|
|
500
500
|
html: string | null;
|
|
501
501
|
text: string | null;
|
|
502
502
|
updated_at_millis: number;
|
|
@@ -544,8 +544,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
544
544
|
} | {
|
|
545
545
|
status: "opened";
|
|
546
546
|
id: string;
|
|
547
|
-
subject: string;
|
|
548
547
|
created_at_millis: number;
|
|
548
|
+
subject: string;
|
|
549
549
|
html: string | null;
|
|
550
550
|
text: string | null;
|
|
551
551
|
updated_at_millis: number;
|
|
@@ -594,8 +594,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
594
594
|
} | {
|
|
595
595
|
status: "clicked";
|
|
596
596
|
id: string;
|
|
597
|
-
subject: string;
|
|
598
597
|
created_at_millis: number;
|
|
598
|
+
subject: string;
|
|
599
599
|
html: string | null;
|
|
600
600
|
text: string | null;
|
|
601
601
|
updated_at_millis: number;
|
|
@@ -644,8 +644,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
644
644
|
} | {
|
|
645
645
|
status: "marked-as-spam";
|
|
646
646
|
id: string;
|
|
647
|
-
subject: string;
|
|
648
647
|
created_at_millis: number;
|
|
648
|
+
subject: string;
|
|
649
649
|
html: string | null;
|
|
650
650
|
text: string | null;
|
|
651
651
|
updated_at_millis: number;
|
|
@@ -881,8 +881,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
881
881
|
} | {
|
|
882
882
|
status: "scheduled";
|
|
883
883
|
id: string;
|
|
884
|
-
subject: string;
|
|
885
884
|
created_at_millis: number;
|
|
885
|
+
subject: string;
|
|
886
886
|
html: string | null;
|
|
887
887
|
text: string | null;
|
|
888
888
|
updated_at_millis: number;
|
|
@@ -927,8 +927,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
927
927
|
} | {
|
|
928
928
|
status: "queued";
|
|
929
929
|
id: string;
|
|
930
|
-
subject: string;
|
|
931
930
|
created_at_millis: number;
|
|
931
|
+
subject: string;
|
|
932
932
|
html: string | null;
|
|
933
933
|
text: string | null;
|
|
934
934
|
updated_at_millis: number;
|
|
@@ -973,8 +973,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
973
973
|
} | {
|
|
974
974
|
status: "sending";
|
|
975
975
|
id: string;
|
|
976
|
-
subject: string;
|
|
977
976
|
created_at_millis: number;
|
|
977
|
+
subject: string;
|
|
978
978
|
html: string | null;
|
|
979
979
|
text: string | null;
|
|
980
980
|
updated_at_millis: number;
|
|
@@ -1020,8 +1020,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1020
1020
|
} | {
|
|
1021
1021
|
status: "server-error";
|
|
1022
1022
|
id: string;
|
|
1023
|
-
subject: string;
|
|
1024
1023
|
created_at_millis: number;
|
|
1024
|
+
subject: string;
|
|
1025
1025
|
html: string | null;
|
|
1026
1026
|
text: string | null;
|
|
1027
1027
|
updated_at_millis: number;
|
|
@@ -1119,8 +1119,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1119
1119
|
} | {
|
|
1120
1120
|
status: "bounced";
|
|
1121
1121
|
id: string;
|
|
1122
|
-
subject: string;
|
|
1123
1122
|
created_at_millis: number;
|
|
1123
|
+
subject: string;
|
|
1124
1124
|
html: string | null;
|
|
1125
1125
|
text: string | null;
|
|
1126
1126
|
updated_at_millis: number;
|
|
@@ -1167,8 +1167,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1167
1167
|
} | {
|
|
1168
1168
|
status: "delivery-delayed";
|
|
1169
1169
|
id: string;
|
|
1170
|
-
subject: string;
|
|
1171
1170
|
created_at_millis: number;
|
|
1171
|
+
subject: string;
|
|
1172
1172
|
html: string | null;
|
|
1173
1173
|
text: string | null;
|
|
1174
1174
|
updated_at_millis: number;
|
|
@@ -1215,8 +1215,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1215
1215
|
} | {
|
|
1216
1216
|
status: "sent";
|
|
1217
1217
|
id: string;
|
|
1218
|
-
subject: string;
|
|
1219
1218
|
created_at_millis: number;
|
|
1219
|
+
subject: string;
|
|
1220
1220
|
html: string | null;
|
|
1221
1221
|
text: string | null;
|
|
1222
1222
|
updated_at_millis: number;
|
|
@@ -1264,8 +1264,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1264
1264
|
} | {
|
|
1265
1265
|
status: "opened";
|
|
1266
1266
|
id: string;
|
|
1267
|
-
subject: string;
|
|
1268
1267
|
created_at_millis: number;
|
|
1268
|
+
subject: string;
|
|
1269
1269
|
html: string | null;
|
|
1270
1270
|
text: string | null;
|
|
1271
1271
|
updated_at_millis: number;
|
|
@@ -1314,8 +1314,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1314
1314
|
} | {
|
|
1315
1315
|
status: "clicked";
|
|
1316
1316
|
id: string;
|
|
1317
|
-
subject: string;
|
|
1318
1317
|
created_at_millis: number;
|
|
1318
|
+
subject: string;
|
|
1319
1319
|
html: string | null;
|
|
1320
1320
|
text: string | null;
|
|
1321
1321
|
updated_at_millis: number;
|
|
@@ -1364,8 +1364,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1364
1364
|
} | {
|
|
1365
1365
|
status: "marked-as-spam";
|
|
1366
1366
|
id: string;
|
|
1367
|
-
subject: string;
|
|
1368
1367
|
created_at_millis: number;
|
|
1368
|
+
subject: string;
|
|
1369
1369
|
html: string | null;
|
|
1370
1370
|
text: string | null;
|
|
1371
1371
|
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?: 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?: 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?: 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?: DayInterval | undefined;
|
|
25
26
|
free_trial?: DayInterval | undefined;
|
|
26
27
|
}>;
|
|
27
|
-
display_name: string;
|
|
28
28
|
included_items: Record<string, {
|
|
29
29
|
quantity?: number | undefined;
|
|
30
30
|
repeat?: "never" | 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?: 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?: 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?: 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?: DayInterval | undefined;
|
|
60
61
|
free_trial?: DayInterval | undefined;
|
|
61
62
|
}>;
|
|
62
|
-
display_name: string;
|
|
63
63
|
included_items: Record<string, {
|
|
64
64
|
quantity?: number | undefined;
|
|
65
65
|
repeat?: "never" | 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?: 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?: 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?: 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?: DayInterval | undefined;
|
|
123
124
|
free_trial?: DayInterval | undefined;
|
|
124
125
|
}>;
|
|
125
|
-
display_name: string;
|
|
126
126
|
included_items: Record<string, {
|
|
127
127
|
quantity?: number | undefined;
|
|
128
128
|
repeat?: "never" | 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?: 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?: 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?: 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?: DayInterval | undefined;
|
|
151
153
|
free_trial?: DayInterval | undefined;
|
|
152
154
|
}>;
|
|
153
|
-
display_name: string;
|
|
154
155
|
included_items: Record<string, {
|
|
155
156
|
quantity?: number | undefined;
|
|
156
157
|
repeat?: "never" | 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,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"}
|
|
@@ -80,8 +80,8 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
80
80
|
}, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
81
81
|
user_id: string;
|
|
82
82
|
type: "user";
|
|
83
|
-
description: string;
|
|
84
83
|
id: string;
|
|
84
|
+
description: string;
|
|
85
85
|
created_at_millis: number;
|
|
86
86
|
expires_at_millis: number | undefined;
|
|
87
87
|
manually_revoked_at_millis: number | undefined;
|
|
@@ -178,8 +178,8 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
178
178
|
}, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
179
179
|
type: "team";
|
|
180
180
|
team_id: string;
|
|
181
|
-
description: string;
|
|
182
181
|
id: string;
|
|
182
|
+
description: string;
|
|
183
183
|
created_at_millis: number;
|
|
184
184
|
expires_at_millis: number | undefined;
|
|
185
185
|
manually_revoked_at_millis: number | undefined;
|