mailmeteor 0.0.66 → 0.1.1
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/index.cjs +125 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +370 -27
- package/dist/index.mjs +125 -5
- package/dist/index.mjs.map +1 -1
- package/dist/types/generated-sdk/index.d.ts +2 -2
- package/dist/types/generated-sdk/index.d.ts.map +1 -1
- package/dist/types/generated-sdk/sdk.gen.d.ts +54 -3
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +292 -25
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -673,30 +673,11 @@ export type PipelineConversationsResponse200 = {
|
|
|
673
673
|
}>;
|
|
674
674
|
};
|
|
675
675
|
export type CountQuery = {
|
|
676
|
-
status?: Array<'to_reply' | 'to_follow_up' | 'waiting' | 'archived'>;
|
|
677
|
-
campaign?: string;
|
|
678
|
-
provider?: 'gmail' | 'outlook' | 'zohomail';
|
|
679
|
-
thread_id?: string;
|
|
680
|
-
last_activity_after?: number | null;
|
|
681
|
-
last_activity_before?: number | null;
|
|
682
|
-
followups?: {
|
|
683
|
-
exists: boolean;
|
|
684
|
-
};
|
|
685
|
-
read_at?: {
|
|
686
|
-
exists: boolean;
|
|
687
|
-
};
|
|
688
|
-
events?: Array<'open' | 'click' | 'bounce' | 'unsubscribe'>;
|
|
689
676
|
owner?: string;
|
|
690
|
-
|
|
677
|
+
status?: 'draft' | 'active' | 'paused';
|
|
691
678
|
};
|
|
692
679
|
export type CountResponse200 = {
|
|
693
680
|
total: number;
|
|
694
|
-
data?: {
|
|
695
|
-
to_reply: number;
|
|
696
|
-
to_follow_up: number;
|
|
697
|
-
waiting: number;
|
|
698
|
-
archived: number;
|
|
699
|
-
};
|
|
700
681
|
};
|
|
701
682
|
export type SyncBody = {
|
|
702
683
|
owner?: string;
|
|
@@ -737,6 +718,7 @@ export type PipelineConversationIdResponse200 = {
|
|
|
737
718
|
};
|
|
738
719
|
export type MessagesQuery = {
|
|
739
720
|
owner?: string;
|
|
721
|
+
format?: 'full' | 'metadata';
|
|
740
722
|
};
|
|
741
723
|
export type MessagesParams = {
|
|
742
724
|
pipeline_conversation_id: string;
|
|
@@ -770,8 +752,8 @@ export type MessagesResponse200 = {
|
|
|
770
752
|
}>;
|
|
771
753
|
subject: string | null;
|
|
772
754
|
snippet: string;
|
|
773
|
-
body
|
|
774
|
-
attachments
|
|
755
|
+
body?: string;
|
|
756
|
+
attachments?: Array<{
|
|
775
757
|
content_id: string | null;
|
|
776
758
|
inline: boolean;
|
|
777
759
|
name: string;
|
|
@@ -1060,6 +1042,9 @@ export type ConnectParams = {
|
|
|
1060
1042
|
integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail' | 'smtp';
|
|
1061
1043
|
account_id: string;
|
|
1062
1044
|
};
|
|
1045
|
+
export type DisconnectBody = {
|
|
1046
|
+
reason?: string;
|
|
1047
|
+
};
|
|
1063
1048
|
export type DisconnectParams = {
|
|
1064
1049
|
integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail' | 'smtp';
|
|
1065
1050
|
account_id: string;
|
|
@@ -1117,6 +1102,72 @@ export type JobIdResponse200 = {
|
|
|
1117
1102
|
[key: string]: unknown;
|
|
1118
1103
|
} | null;
|
|
1119
1104
|
};
|
|
1105
|
+
export type AutomationsBody = {
|
|
1106
|
+
owner?: string;
|
|
1107
|
+
name: string;
|
|
1108
|
+
draft_definition?: {
|
|
1109
|
+
[key: string]: unknown;
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
1112
|
+
export type AutomationsResponse201 = {
|
|
1113
|
+
owner: string;
|
|
1114
|
+
name: string;
|
|
1115
|
+
draft_definition: {
|
|
1116
|
+
[key: string]: unknown;
|
|
1117
|
+
};
|
|
1118
|
+
id: string;
|
|
1119
|
+
object: 'automation';
|
|
1120
|
+
status: 'draft' | 'active' | 'paused';
|
|
1121
|
+
published_version: number | null;
|
|
1122
|
+
created_at: number;
|
|
1123
|
+
updated_at: number;
|
|
1124
|
+
};
|
|
1125
|
+
export type AutomationsQuery = {
|
|
1126
|
+
owner?: string;
|
|
1127
|
+
status?: 'draft' | 'active' | 'paused';
|
|
1128
|
+
limit?: number;
|
|
1129
|
+
starting_after?: string;
|
|
1130
|
+
ending_before?: string;
|
|
1131
|
+
};
|
|
1132
|
+
export type AutomationsResponse200 = {
|
|
1133
|
+
object: 'list';
|
|
1134
|
+
data: Array<{
|
|
1135
|
+
owner: string;
|
|
1136
|
+
name: string;
|
|
1137
|
+
id: string;
|
|
1138
|
+
object: 'automation';
|
|
1139
|
+
status: 'draft' | 'active' | 'paused';
|
|
1140
|
+
published_version: number | null;
|
|
1141
|
+
created_at: number;
|
|
1142
|
+
updated_at: number;
|
|
1143
|
+
}>;
|
|
1144
|
+
};
|
|
1145
|
+
export type AutomationIdQuery = {
|
|
1146
|
+
owner?: string;
|
|
1147
|
+
};
|
|
1148
|
+
export type AutomationIdParams = {
|
|
1149
|
+
automation_id: string;
|
|
1150
|
+
};
|
|
1151
|
+
export type AutomationIdResponse200 = {
|
|
1152
|
+
owner: string;
|
|
1153
|
+
name: string;
|
|
1154
|
+
draft_definition: {
|
|
1155
|
+
[key: string]: unknown;
|
|
1156
|
+
};
|
|
1157
|
+
id: string;
|
|
1158
|
+
object: 'automation';
|
|
1159
|
+
status: 'draft' | 'active' | 'paused';
|
|
1160
|
+
published_version: number | null;
|
|
1161
|
+
created_at: number;
|
|
1162
|
+
updated_at: number;
|
|
1163
|
+
};
|
|
1164
|
+
export type AutomationIdBody = {
|
|
1165
|
+
owner?: string;
|
|
1166
|
+
name?: string;
|
|
1167
|
+
draft_definition?: {
|
|
1168
|
+
[key: string]: unknown;
|
|
1169
|
+
};
|
|
1170
|
+
};
|
|
1120
1171
|
export type OpenapiJsonResponse200 = unknown;
|
|
1121
1172
|
export type UsersRetrieveData = {
|
|
1122
1173
|
body?: never;
|
|
@@ -2827,6 +2878,7 @@ export type PipelineConversationsListMessagesData = {
|
|
|
2827
2878
|
};
|
|
2828
2879
|
query?: {
|
|
2829
2880
|
owner?: string;
|
|
2881
|
+
format?: 'full' | 'metadata';
|
|
2830
2882
|
};
|
|
2831
2883
|
url: '/pipeline_conversations/{pipeline_conversation_id}/messages';
|
|
2832
2884
|
};
|
|
@@ -2870,8 +2922,8 @@ export type PipelineConversationsListMessagesResponses = {
|
|
|
2870
2922
|
}>;
|
|
2871
2923
|
subject: string | null;
|
|
2872
2924
|
snippet: string;
|
|
2873
|
-
body
|
|
2874
|
-
attachments
|
|
2925
|
+
body?: string;
|
|
2926
|
+
attachments?: Array<{
|
|
2875
2927
|
content_id: string | null;
|
|
2876
2928
|
inline: boolean;
|
|
2877
2929
|
name: string;
|
|
@@ -3361,7 +3413,9 @@ export type IntegrationsConnectAccountResponses = {
|
|
|
3361
3413
|
};
|
|
3362
3414
|
export type IntegrationsConnectAccountResponse = IntegrationsConnectAccountResponses[keyof IntegrationsConnectAccountResponses];
|
|
3363
3415
|
export type IntegrationsDisconnectAccountData = {
|
|
3364
|
-
body
|
|
3416
|
+
body: {
|
|
3417
|
+
reason?: string;
|
|
3418
|
+
};
|
|
3365
3419
|
path: {
|
|
3366
3420
|
integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail' | 'smtp';
|
|
3367
3421
|
account_id: string;
|
|
@@ -3471,6 +3525,219 @@ export type JobsRetrieveResponses = {
|
|
|
3471
3525
|
};
|
|
3472
3526
|
};
|
|
3473
3527
|
export type JobsRetrieveResponse = JobsRetrieveResponses[keyof JobsRetrieveResponses];
|
|
3528
|
+
export type AutomationsListData = {
|
|
3529
|
+
body?: never;
|
|
3530
|
+
path?: never;
|
|
3531
|
+
query?: {
|
|
3532
|
+
owner?: string;
|
|
3533
|
+
status?: 'draft' | 'active' | 'paused';
|
|
3534
|
+
limit?: number;
|
|
3535
|
+
starting_after?: string;
|
|
3536
|
+
ending_before?: string;
|
|
3537
|
+
};
|
|
3538
|
+
url: '/automations';
|
|
3539
|
+
};
|
|
3540
|
+
export type AutomationsListErrors = {
|
|
3541
|
+
/**
|
|
3542
|
+
* Error response
|
|
3543
|
+
*/
|
|
3544
|
+
default: ErrorResponse;
|
|
3545
|
+
};
|
|
3546
|
+
export type AutomationsListError = AutomationsListErrors[keyof AutomationsListErrors];
|
|
3547
|
+
export type AutomationsListResponses = {
|
|
3548
|
+
/**
|
|
3549
|
+
* Response
|
|
3550
|
+
*/
|
|
3551
|
+
200: {
|
|
3552
|
+
object: 'list';
|
|
3553
|
+
data: Array<{
|
|
3554
|
+
owner: string;
|
|
3555
|
+
name: string;
|
|
3556
|
+
id: string;
|
|
3557
|
+
object: 'automation';
|
|
3558
|
+
status: 'draft' | 'active' | 'paused';
|
|
3559
|
+
published_version: number | null;
|
|
3560
|
+
created_at: number;
|
|
3561
|
+
updated_at: number;
|
|
3562
|
+
}>;
|
|
3563
|
+
};
|
|
3564
|
+
};
|
|
3565
|
+
export type AutomationsListResponse = AutomationsListResponses[keyof AutomationsListResponses];
|
|
3566
|
+
export type AutomationsCreateData = {
|
|
3567
|
+
body: {
|
|
3568
|
+
owner?: string;
|
|
3569
|
+
name: string;
|
|
3570
|
+
draft_definition?: {
|
|
3571
|
+
[key: string]: unknown;
|
|
3572
|
+
};
|
|
3573
|
+
};
|
|
3574
|
+
path?: never;
|
|
3575
|
+
query?: never;
|
|
3576
|
+
url: '/automations';
|
|
3577
|
+
};
|
|
3578
|
+
export type AutomationsCreateErrors = {
|
|
3579
|
+
/**
|
|
3580
|
+
* Error response
|
|
3581
|
+
*/
|
|
3582
|
+
default: ErrorResponse;
|
|
3583
|
+
};
|
|
3584
|
+
export type AutomationsCreateError = AutomationsCreateErrors[keyof AutomationsCreateErrors];
|
|
3585
|
+
export type AutomationsCreateResponses = {
|
|
3586
|
+
/**
|
|
3587
|
+
* Response
|
|
3588
|
+
*/
|
|
3589
|
+
201: {
|
|
3590
|
+
owner: string;
|
|
3591
|
+
name: string;
|
|
3592
|
+
draft_definition: {
|
|
3593
|
+
[key: string]: unknown;
|
|
3594
|
+
};
|
|
3595
|
+
id: string;
|
|
3596
|
+
object: 'automation';
|
|
3597
|
+
status: 'draft' | 'active' | 'paused';
|
|
3598
|
+
published_version: number | null;
|
|
3599
|
+
created_at: number;
|
|
3600
|
+
updated_at: number;
|
|
3601
|
+
};
|
|
3602
|
+
};
|
|
3603
|
+
export type AutomationsCreateResponse = AutomationsCreateResponses[keyof AutomationsCreateResponses];
|
|
3604
|
+
export type AutomationsCountData = {
|
|
3605
|
+
body?: never;
|
|
3606
|
+
path?: never;
|
|
3607
|
+
query?: {
|
|
3608
|
+
owner?: string;
|
|
3609
|
+
status?: 'draft' | 'active' | 'paused';
|
|
3610
|
+
};
|
|
3611
|
+
url: '/automations/count';
|
|
3612
|
+
};
|
|
3613
|
+
export type AutomationsCountErrors = {
|
|
3614
|
+
/**
|
|
3615
|
+
* Error response
|
|
3616
|
+
*/
|
|
3617
|
+
default: ErrorResponse;
|
|
3618
|
+
};
|
|
3619
|
+
export type AutomationsCountError = AutomationsCountErrors[keyof AutomationsCountErrors];
|
|
3620
|
+
export type AutomationsCountResponses = {
|
|
3621
|
+
/**
|
|
3622
|
+
* Response
|
|
3623
|
+
*/
|
|
3624
|
+
200: {
|
|
3625
|
+
total: number;
|
|
3626
|
+
};
|
|
3627
|
+
};
|
|
3628
|
+
export type AutomationsCountResponse = AutomationsCountResponses[keyof AutomationsCountResponses];
|
|
3629
|
+
export type AutomationsDelData = {
|
|
3630
|
+
body?: never;
|
|
3631
|
+
path: {
|
|
3632
|
+
automation_id: string;
|
|
3633
|
+
};
|
|
3634
|
+
query?: {
|
|
3635
|
+
owner?: string;
|
|
3636
|
+
};
|
|
3637
|
+
url: '/automations/{automation_id}';
|
|
3638
|
+
};
|
|
3639
|
+
export type AutomationsDelErrors = {
|
|
3640
|
+
/**
|
|
3641
|
+
* Error response
|
|
3642
|
+
*/
|
|
3643
|
+
default: ErrorResponse;
|
|
3644
|
+
};
|
|
3645
|
+
export type AutomationsDelError = AutomationsDelErrors[keyof AutomationsDelErrors];
|
|
3646
|
+
export type AutomationsDelResponses = {
|
|
3647
|
+
/**
|
|
3648
|
+
* Response
|
|
3649
|
+
*/
|
|
3650
|
+
200: {
|
|
3651
|
+
owner: string;
|
|
3652
|
+
name: string;
|
|
3653
|
+
draft_definition: {
|
|
3654
|
+
[key: string]: unknown;
|
|
3655
|
+
};
|
|
3656
|
+
id: string;
|
|
3657
|
+
object: 'automation';
|
|
3658
|
+
status: 'draft' | 'active' | 'paused';
|
|
3659
|
+
published_version: number | null;
|
|
3660
|
+
created_at: number;
|
|
3661
|
+
updated_at: number;
|
|
3662
|
+
};
|
|
3663
|
+
};
|
|
3664
|
+
export type AutomationsDelResponse = AutomationsDelResponses[keyof AutomationsDelResponses];
|
|
3665
|
+
export type AutomationsRetrieveData = {
|
|
3666
|
+
body?: never;
|
|
3667
|
+
path: {
|
|
3668
|
+
automation_id: string;
|
|
3669
|
+
};
|
|
3670
|
+
query?: {
|
|
3671
|
+
owner?: string;
|
|
3672
|
+
};
|
|
3673
|
+
url: '/automations/{automation_id}';
|
|
3674
|
+
};
|
|
3675
|
+
export type AutomationsRetrieveErrors = {
|
|
3676
|
+
/**
|
|
3677
|
+
* Error response
|
|
3678
|
+
*/
|
|
3679
|
+
default: ErrorResponse;
|
|
3680
|
+
};
|
|
3681
|
+
export type AutomationsRetrieveError = AutomationsRetrieveErrors[keyof AutomationsRetrieveErrors];
|
|
3682
|
+
export type AutomationsRetrieveResponses = {
|
|
3683
|
+
/**
|
|
3684
|
+
* Response
|
|
3685
|
+
*/
|
|
3686
|
+
200: {
|
|
3687
|
+
owner: string;
|
|
3688
|
+
name: string;
|
|
3689
|
+
draft_definition: {
|
|
3690
|
+
[key: string]: unknown;
|
|
3691
|
+
};
|
|
3692
|
+
id: string;
|
|
3693
|
+
object: 'automation';
|
|
3694
|
+
status: 'draft' | 'active' | 'paused';
|
|
3695
|
+
published_version: number | null;
|
|
3696
|
+
created_at: number;
|
|
3697
|
+
updated_at: number;
|
|
3698
|
+
};
|
|
3699
|
+
};
|
|
3700
|
+
export type AutomationsRetrieveResponse = AutomationsRetrieveResponses[keyof AutomationsRetrieveResponses];
|
|
3701
|
+
export type AutomationsUpdateData = {
|
|
3702
|
+
body: {
|
|
3703
|
+
owner?: string;
|
|
3704
|
+
name?: string;
|
|
3705
|
+
draft_definition?: {
|
|
3706
|
+
[key: string]: unknown;
|
|
3707
|
+
};
|
|
3708
|
+
};
|
|
3709
|
+
path: {
|
|
3710
|
+
automation_id: string;
|
|
3711
|
+
};
|
|
3712
|
+
query?: never;
|
|
3713
|
+
url: '/automations/{automation_id}';
|
|
3714
|
+
};
|
|
3715
|
+
export type AutomationsUpdateErrors = {
|
|
3716
|
+
/**
|
|
3717
|
+
* Error response
|
|
3718
|
+
*/
|
|
3719
|
+
default: ErrorResponse;
|
|
3720
|
+
};
|
|
3721
|
+
export type AutomationsUpdateError = AutomationsUpdateErrors[keyof AutomationsUpdateErrors];
|
|
3722
|
+
export type AutomationsUpdateResponses = {
|
|
3723
|
+
/**
|
|
3724
|
+
* Response
|
|
3725
|
+
*/
|
|
3726
|
+
200: {
|
|
3727
|
+
owner: string;
|
|
3728
|
+
name: string;
|
|
3729
|
+
draft_definition: {
|
|
3730
|
+
[key: string]: unknown;
|
|
3731
|
+
};
|
|
3732
|
+
id: string;
|
|
3733
|
+
object: 'automation';
|
|
3734
|
+
status: 'draft' | 'active' | 'paused';
|
|
3735
|
+
published_version: number | null;
|
|
3736
|
+
created_at: number;
|
|
3737
|
+
updated_at: number;
|
|
3738
|
+
};
|
|
3739
|
+
};
|
|
3740
|
+
export type AutomationsUpdateResponse = AutomationsUpdateResponses[keyof AutomationsUpdateResponses];
|
|
3474
3741
|
export type GetOpenapiJsonData = {
|
|
3475
3742
|
body?: never;
|
|
3476
3743
|
path?: never;
|