mailmeteor 0.0.65 → 0.1.0
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 +161 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +431 -198
- package/dist/index.mjs +161 -66
- 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 +66 -26
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +387 -184
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -321,6 +321,46 @@ export type PreviewResponse200 = {
|
|
|
321
321
|
consumed_balance: number;
|
|
322
322
|
credited_to_balance: number;
|
|
323
323
|
};
|
|
324
|
+
export type AddonsResponse200 = {
|
|
325
|
+
senders?: {
|
|
326
|
+
included_per_seat: number;
|
|
327
|
+
included_total: number;
|
|
328
|
+
used: number;
|
|
329
|
+
extra: {
|
|
330
|
+
price_amount: number;
|
|
331
|
+
currency: string;
|
|
332
|
+
quantity_per_addon: number;
|
|
333
|
+
interval: 'day' | 'week' | 'month' | 'year';
|
|
334
|
+
subscribed: number;
|
|
335
|
+
} | null;
|
|
336
|
+
};
|
|
337
|
+
email_warmups?: {
|
|
338
|
+
included_per_seat: number;
|
|
339
|
+
included_total: number;
|
|
340
|
+
used: number;
|
|
341
|
+
extra: {
|
|
342
|
+
price_amount: number;
|
|
343
|
+
currency: string;
|
|
344
|
+
quantity_per_addon: number;
|
|
345
|
+
interval: 'day' | 'week' | 'month' | 'year';
|
|
346
|
+
subscribed: number;
|
|
347
|
+
} | null;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
export type PreviewParams = {
|
|
351
|
+
addon: 'senders' | 'email_warmups';
|
|
352
|
+
};
|
|
353
|
+
export type AddonBody = {
|
|
354
|
+
quantity: number;
|
|
355
|
+
};
|
|
356
|
+
export type AddonParams = {
|
|
357
|
+
addon: 'senders' | 'email_warmups';
|
|
358
|
+
};
|
|
359
|
+
export type AddonResponse200 = Array<{
|
|
360
|
+
id: string;
|
|
361
|
+
email: string;
|
|
362
|
+
usage: number;
|
|
363
|
+
}>;
|
|
324
364
|
export type ContactListsBody = {
|
|
325
365
|
owner: string;
|
|
326
366
|
name: string;
|
|
@@ -584,46 +624,6 @@ export type ContactsResponse200 = {
|
|
|
584
624
|
object: 'contact';
|
|
585
625
|
}>;
|
|
586
626
|
};
|
|
587
|
-
export type AddonsResponse200 = {
|
|
588
|
-
senders?: {
|
|
589
|
-
included_per_seat: number;
|
|
590
|
-
included_total: number;
|
|
591
|
-
used: number;
|
|
592
|
-
extra: {
|
|
593
|
-
price_amount: number;
|
|
594
|
-
currency: string;
|
|
595
|
-
quantity_per_addon: number;
|
|
596
|
-
interval: 'day' | 'week' | 'month' | 'year';
|
|
597
|
-
subscribed: number;
|
|
598
|
-
} | null;
|
|
599
|
-
};
|
|
600
|
-
email_warmups?: {
|
|
601
|
-
included_per_seat: number;
|
|
602
|
-
included_total: number;
|
|
603
|
-
used: number;
|
|
604
|
-
extra: {
|
|
605
|
-
price_amount: number;
|
|
606
|
-
currency: string;
|
|
607
|
-
quantity_per_addon: number;
|
|
608
|
-
interval: 'day' | 'week' | 'month' | 'year';
|
|
609
|
-
subscribed: number;
|
|
610
|
-
} | null;
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
export type PreviewParams = {
|
|
614
|
-
addon: 'senders' | 'email_warmups';
|
|
615
|
-
};
|
|
616
|
-
export type AddonBody = {
|
|
617
|
-
quantity: number;
|
|
618
|
-
};
|
|
619
|
-
export type AddonParams = {
|
|
620
|
-
addon: 'senders' | 'email_warmups';
|
|
621
|
-
};
|
|
622
|
-
export type AddonResponse200 = Array<{
|
|
623
|
-
id: string;
|
|
624
|
-
email: string;
|
|
625
|
-
usage: number;
|
|
626
|
-
}>;
|
|
627
627
|
export type PipelineConversationsQuery = {
|
|
628
628
|
status?: Array<'to_reply' | 'to_follow_up' | 'waiting' | 'archived'>;
|
|
629
629
|
campaign?: string;
|
|
@@ -737,6 +737,7 @@ export type PipelineConversationIdResponse200 = {
|
|
|
737
737
|
};
|
|
738
738
|
export type MessagesQuery = {
|
|
739
739
|
owner?: string;
|
|
740
|
+
format?: 'full' | 'metadata';
|
|
740
741
|
};
|
|
741
742
|
export type MessagesParams = {
|
|
742
743
|
pipeline_conversation_id: string;
|
|
@@ -770,8 +771,8 @@ export type MessagesResponse200 = {
|
|
|
770
771
|
}>;
|
|
771
772
|
subject: string | null;
|
|
772
773
|
snippet: string;
|
|
773
|
-
body
|
|
774
|
-
attachments
|
|
774
|
+
body?: string;
|
|
775
|
+
attachments?: Array<{
|
|
775
776
|
content_id: string | null;
|
|
776
777
|
inline: boolean;
|
|
777
778
|
name: string;
|
|
@@ -1060,20 +1061,23 @@ export type ConnectParams = {
|
|
|
1060
1061
|
integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail' | 'smtp';
|
|
1061
1062
|
account_id: string;
|
|
1062
1063
|
};
|
|
1064
|
+
export type DisconnectBody = {
|
|
1065
|
+
reason?: string;
|
|
1066
|
+
};
|
|
1063
1067
|
export type DisconnectParams = {
|
|
1064
1068
|
integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail' | 'smtp';
|
|
1065
1069
|
account_id: string;
|
|
1066
1070
|
};
|
|
1067
1071
|
export type JobsBody = {
|
|
1068
1072
|
owner?: string;
|
|
1069
|
-
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
|
|
1070
|
-
data
|
|
1073
|
+
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email' | 'pipelines_sync';
|
|
1074
|
+
data?: {
|
|
1071
1075
|
[key: string]: unknown;
|
|
1072
1076
|
};
|
|
1073
1077
|
};
|
|
1074
1078
|
export type JobsResponse202 = {
|
|
1075
1079
|
owner: string;
|
|
1076
|
-
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
|
|
1080
|
+
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email' | 'pipelines_sync';
|
|
1077
1081
|
data: {
|
|
1078
1082
|
[key: string]: unknown;
|
|
1079
1083
|
};
|
|
@@ -1099,7 +1103,7 @@ export type JobIdParams = {
|
|
|
1099
1103
|
};
|
|
1100
1104
|
export type JobIdResponse200 = {
|
|
1101
1105
|
owner: string;
|
|
1102
|
-
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
|
|
1106
|
+
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email' | 'pipelines_sync';
|
|
1103
1107
|
data: {
|
|
1104
1108
|
[key: string]: unknown;
|
|
1105
1109
|
};
|
|
@@ -1117,6 +1121,52 @@ export type JobIdResponse200 = {
|
|
|
1117
1121
|
[key: string]: unknown;
|
|
1118
1122
|
} | null;
|
|
1119
1123
|
};
|
|
1124
|
+
export type AutomationsBody = {
|
|
1125
|
+
owner?: string;
|
|
1126
|
+
name: string;
|
|
1127
|
+
draft_definition?: {
|
|
1128
|
+
[key: string]: unknown;
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
export type AutomationsResponse201 = {
|
|
1132
|
+
owner: string;
|
|
1133
|
+
name: string;
|
|
1134
|
+
draft_definition: {
|
|
1135
|
+
[key: string]: unknown;
|
|
1136
|
+
};
|
|
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
|
+
export type AutomationIdQuery = {
|
|
1145
|
+
owner?: string;
|
|
1146
|
+
};
|
|
1147
|
+
export type AutomationIdParams = {
|
|
1148
|
+
automation_id: string;
|
|
1149
|
+
};
|
|
1150
|
+
export type AutomationIdResponse200 = {
|
|
1151
|
+
owner: string;
|
|
1152
|
+
name: string;
|
|
1153
|
+
draft_definition: {
|
|
1154
|
+
[key: string]: unknown;
|
|
1155
|
+
};
|
|
1156
|
+
id: string;
|
|
1157
|
+
object: 'automation';
|
|
1158
|
+
status: 'draft' | 'active' | 'paused';
|
|
1159
|
+
published_version: number | null;
|
|
1160
|
+
created_at: number;
|
|
1161
|
+
updated_at: number;
|
|
1162
|
+
};
|
|
1163
|
+
export type AutomationIdBody = {
|
|
1164
|
+
owner?: string;
|
|
1165
|
+
name?: string;
|
|
1166
|
+
draft_definition?: {
|
|
1167
|
+
[key: string]: unknown;
|
|
1168
|
+
};
|
|
1169
|
+
};
|
|
1120
1170
|
export type OpenapiJsonResponse200 = unknown;
|
|
1121
1171
|
export type UsersRetrieveData = {
|
|
1122
1172
|
body?: never;
|
|
@@ -1809,6 +1859,137 @@ export type BillingSubscriptionPreviewUpdateResponses = {
|
|
|
1809
1859
|
};
|
|
1810
1860
|
};
|
|
1811
1861
|
export type BillingSubscriptionPreviewUpdateResponse = BillingSubscriptionPreviewUpdateResponses[keyof BillingSubscriptionPreviewUpdateResponses];
|
|
1862
|
+
export type BillingAddonsGetAddonsData = {
|
|
1863
|
+
body?: never;
|
|
1864
|
+
path?: never;
|
|
1865
|
+
query?: never;
|
|
1866
|
+
url: '/billing/addons';
|
|
1867
|
+
};
|
|
1868
|
+
export type BillingAddonsGetAddonsErrors = {
|
|
1869
|
+
/**
|
|
1870
|
+
* Error response
|
|
1871
|
+
*/
|
|
1872
|
+
default: ErrorResponse;
|
|
1873
|
+
};
|
|
1874
|
+
export type BillingAddonsGetAddonsError = BillingAddonsGetAddonsErrors[keyof BillingAddonsGetAddonsErrors];
|
|
1875
|
+
export type BillingAddonsGetAddonsResponses = {
|
|
1876
|
+
/**
|
|
1877
|
+
* Response
|
|
1878
|
+
*/
|
|
1879
|
+
200: {
|
|
1880
|
+
senders?: {
|
|
1881
|
+
included_per_seat: number;
|
|
1882
|
+
included_total: number;
|
|
1883
|
+
used: number;
|
|
1884
|
+
extra: {
|
|
1885
|
+
price_amount: number;
|
|
1886
|
+
currency: string;
|
|
1887
|
+
quantity_per_addon: number;
|
|
1888
|
+
interval: 'day' | 'week' | 'month' | 'year';
|
|
1889
|
+
subscribed: number;
|
|
1890
|
+
} | null;
|
|
1891
|
+
};
|
|
1892
|
+
email_warmups?: {
|
|
1893
|
+
included_per_seat: number;
|
|
1894
|
+
included_total: number;
|
|
1895
|
+
used: number;
|
|
1896
|
+
extra: {
|
|
1897
|
+
price_amount: number;
|
|
1898
|
+
currency: string;
|
|
1899
|
+
quantity_per_addon: number;
|
|
1900
|
+
interval: 'day' | 'week' | 'month' | 'year';
|
|
1901
|
+
subscribed: number;
|
|
1902
|
+
} | null;
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
};
|
|
1906
|
+
export type BillingAddonsGetAddonsResponse = BillingAddonsGetAddonsResponses[keyof BillingAddonsGetAddonsResponses];
|
|
1907
|
+
export type BillingAddonsPreviewUpdateData = {
|
|
1908
|
+
body: {
|
|
1909
|
+
quantity: number;
|
|
1910
|
+
};
|
|
1911
|
+
path: {
|
|
1912
|
+
addon: 'senders' | 'email_warmups';
|
|
1913
|
+
};
|
|
1914
|
+
query?: never;
|
|
1915
|
+
url: '/billing/addons/{addon}/preview';
|
|
1916
|
+
};
|
|
1917
|
+
export type BillingAddonsPreviewUpdateErrors = {
|
|
1918
|
+
/**
|
|
1919
|
+
* Error response
|
|
1920
|
+
*/
|
|
1921
|
+
default: ErrorResponse;
|
|
1922
|
+
};
|
|
1923
|
+
export type BillingAddonsPreviewUpdateError = BillingAddonsPreviewUpdateErrors[keyof BillingAddonsPreviewUpdateErrors];
|
|
1924
|
+
export type BillingAddonsPreviewUpdateResponses = {
|
|
1925
|
+
/**
|
|
1926
|
+
* Response
|
|
1927
|
+
*/
|
|
1928
|
+
200: {
|
|
1929
|
+
discount_percents: Array<number>;
|
|
1930
|
+
total_excluding_tax: number;
|
|
1931
|
+
total: number;
|
|
1932
|
+
amount_due: number;
|
|
1933
|
+
added_from_balance: number;
|
|
1934
|
+
consumed_balance: number;
|
|
1935
|
+
credited_to_balance: number;
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1938
|
+
export type BillingAddonsPreviewUpdateResponse = BillingAddonsPreviewUpdateResponses[keyof BillingAddonsPreviewUpdateResponses];
|
|
1939
|
+
export type BillingAddonsGetAddonUsagesData = {
|
|
1940
|
+
body?: never;
|
|
1941
|
+
path: {
|
|
1942
|
+
addon: 'senders' | 'email_warmups';
|
|
1943
|
+
};
|
|
1944
|
+
query?: never;
|
|
1945
|
+
url: '/billing/addons/{addon}';
|
|
1946
|
+
};
|
|
1947
|
+
export type BillingAddonsGetAddonUsagesErrors = {
|
|
1948
|
+
/**
|
|
1949
|
+
* Error response
|
|
1950
|
+
*/
|
|
1951
|
+
default: ErrorResponse;
|
|
1952
|
+
};
|
|
1953
|
+
export type BillingAddonsGetAddonUsagesError = BillingAddonsGetAddonUsagesErrors[keyof BillingAddonsGetAddonUsagesErrors];
|
|
1954
|
+
export type BillingAddonsGetAddonUsagesResponses = {
|
|
1955
|
+
/**
|
|
1956
|
+
* Response
|
|
1957
|
+
*/
|
|
1958
|
+
200: Array<{
|
|
1959
|
+
id: string;
|
|
1960
|
+
email: string;
|
|
1961
|
+
usage: number;
|
|
1962
|
+
}>;
|
|
1963
|
+
};
|
|
1964
|
+
export type BillingAddonsGetAddonUsagesResponse = BillingAddonsGetAddonUsagesResponses[keyof BillingAddonsGetAddonUsagesResponses];
|
|
1965
|
+
export type BillingAddonsUpdateData = {
|
|
1966
|
+
body: {
|
|
1967
|
+
quantity: number;
|
|
1968
|
+
};
|
|
1969
|
+
path: {
|
|
1970
|
+
addon: 'senders' | 'email_warmups';
|
|
1971
|
+
};
|
|
1972
|
+
query?: never;
|
|
1973
|
+
url: '/billing/addons/{addon}';
|
|
1974
|
+
};
|
|
1975
|
+
export type BillingAddonsUpdateErrors = {
|
|
1976
|
+
/**
|
|
1977
|
+
* Error response
|
|
1978
|
+
*/
|
|
1979
|
+
default: ErrorResponse;
|
|
1980
|
+
};
|
|
1981
|
+
export type BillingAddonsUpdateError = BillingAddonsUpdateErrors[keyof BillingAddonsUpdateErrors];
|
|
1982
|
+
export type BillingAddonsUpdateResponses = {
|
|
1983
|
+
/**
|
|
1984
|
+
* Response
|
|
1985
|
+
*/
|
|
1986
|
+
200: {
|
|
1987
|
+
status: 'confirmation_required' | 'success' | 'payment_failed';
|
|
1988
|
+
client_secret?: string;
|
|
1989
|
+
failure_code?: string;
|
|
1990
|
+
};
|
|
1991
|
+
};
|
|
1992
|
+
export type BillingAddonsUpdateResponse = BillingAddonsUpdateResponses[keyof BillingAddonsUpdateResponses];
|
|
1812
1993
|
export type ContactListsCreateData = {
|
|
1813
1994
|
body: {
|
|
1814
1995
|
owner: string;
|
|
@@ -2452,137 +2633,6 @@ export type ContactsResubscribeResponses = {
|
|
|
2452
2633
|
};
|
|
2453
2634
|
};
|
|
2454
2635
|
export type ContactsResubscribeResponse = ContactsResubscribeResponses[keyof ContactsResubscribeResponses];
|
|
2455
|
-
export type BillingAddonsGetAddonsData = {
|
|
2456
|
-
body?: never;
|
|
2457
|
-
path?: never;
|
|
2458
|
-
query?: never;
|
|
2459
|
-
url: '/billing/addons';
|
|
2460
|
-
};
|
|
2461
|
-
export type BillingAddonsGetAddonsErrors = {
|
|
2462
|
-
/**
|
|
2463
|
-
* Error response
|
|
2464
|
-
*/
|
|
2465
|
-
default: ErrorResponse;
|
|
2466
|
-
};
|
|
2467
|
-
export type BillingAddonsGetAddonsError = BillingAddonsGetAddonsErrors[keyof BillingAddonsGetAddonsErrors];
|
|
2468
|
-
export type BillingAddonsGetAddonsResponses = {
|
|
2469
|
-
/**
|
|
2470
|
-
* Response
|
|
2471
|
-
*/
|
|
2472
|
-
200: {
|
|
2473
|
-
senders?: {
|
|
2474
|
-
included_per_seat: number;
|
|
2475
|
-
included_total: number;
|
|
2476
|
-
used: number;
|
|
2477
|
-
extra: {
|
|
2478
|
-
price_amount: number;
|
|
2479
|
-
currency: string;
|
|
2480
|
-
quantity_per_addon: number;
|
|
2481
|
-
interval: 'day' | 'week' | 'month' | 'year';
|
|
2482
|
-
subscribed: number;
|
|
2483
|
-
} | null;
|
|
2484
|
-
};
|
|
2485
|
-
email_warmups?: {
|
|
2486
|
-
included_per_seat: number;
|
|
2487
|
-
included_total: number;
|
|
2488
|
-
used: number;
|
|
2489
|
-
extra: {
|
|
2490
|
-
price_amount: number;
|
|
2491
|
-
currency: string;
|
|
2492
|
-
quantity_per_addon: number;
|
|
2493
|
-
interval: 'day' | 'week' | 'month' | 'year';
|
|
2494
|
-
subscribed: number;
|
|
2495
|
-
} | null;
|
|
2496
|
-
};
|
|
2497
|
-
};
|
|
2498
|
-
};
|
|
2499
|
-
export type BillingAddonsGetAddonsResponse = BillingAddonsGetAddonsResponses[keyof BillingAddonsGetAddonsResponses];
|
|
2500
|
-
export type BillingAddonsPreviewUpdateData = {
|
|
2501
|
-
body: {
|
|
2502
|
-
quantity: number;
|
|
2503
|
-
};
|
|
2504
|
-
path: {
|
|
2505
|
-
addon: 'senders' | 'email_warmups';
|
|
2506
|
-
};
|
|
2507
|
-
query?: never;
|
|
2508
|
-
url: '/billing/addons/{addon}/preview';
|
|
2509
|
-
};
|
|
2510
|
-
export type BillingAddonsPreviewUpdateErrors = {
|
|
2511
|
-
/**
|
|
2512
|
-
* Error response
|
|
2513
|
-
*/
|
|
2514
|
-
default: ErrorResponse;
|
|
2515
|
-
};
|
|
2516
|
-
export type BillingAddonsPreviewUpdateError = BillingAddonsPreviewUpdateErrors[keyof BillingAddonsPreviewUpdateErrors];
|
|
2517
|
-
export type BillingAddonsPreviewUpdateResponses = {
|
|
2518
|
-
/**
|
|
2519
|
-
* Response
|
|
2520
|
-
*/
|
|
2521
|
-
200: {
|
|
2522
|
-
discount_percents: Array<number>;
|
|
2523
|
-
total_excluding_tax: number;
|
|
2524
|
-
total: number;
|
|
2525
|
-
amount_due: number;
|
|
2526
|
-
added_from_balance: number;
|
|
2527
|
-
consumed_balance: number;
|
|
2528
|
-
credited_to_balance: number;
|
|
2529
|
-
};
|
|
2530
|
-
};
|
|
2531
|
-
export type BillingAddonsPreviewUpdateResponse = BillingAddonsPreviewUpdateResponses[keyof BillingAddonsPreviewUpdateResponses];
|
|
2532
|
-
export type BillingAddonsGetAddonUsagesData = {
|
|
2533
|
-
body?: never;
|
|
2534
|
-
path: {
|
|
2535
|
-
addon: 'senders' | 'email_warmups';
|
|
2536
|
-
};
|
|
2537
|
-
query?: never;
|
|
2538
|
-
url: '/billing/addons/{addon}';
|
|
2539
|
-
};
|
|
2540
|
-
export type BillingAddonsGetAddonUsagesErrors = {
|
|
2541
|
-
/**
|
|
2542
|
-
* Error response
|
|
2543
|
-
*/
|
|
2544
|
-
default: ErrorResponse;
|
|
2545
|
-
};
|
|
2546
|
-
export type BillingAddonsGetAddonUsagesError = BillingAddonsGetAddonUsagesErrors[keyof BillingAddonsGetAddonUsagesErrors];
|
|
2547
|
-
export type BillingAddonsGetAddonUsagesResponses = {
|
|
2548
|
-
/**
|
|
2549
|
-
* Response
|
|
2550
|
-
*/
|
|
2551
|
-
200: Array<{
|
|
2552
|
-
id: string;
|
|
2553
|
-
email: string;
|
|
2554
|
-
usage: number;
|
|
2555
|
-
}>;
|
|
2556
|
-
};
|
|
2557
|
-
export type BillingAddonsGetAddonUsagesResponse = BillingAddonsGetAddonUsagesResponses[keyof BillingAddonsGetAddonUsagesResponses];
|
|
2558
|
-
export type BillingAddonsUpdateData = {
|
|
2559
|
-
body: {
|
|
2560
|
-
quantity: number;
|
|
2561
|
-
};
|
|
2562
|
-
path: {
|
|
2563
|
-
addon: 'senders' | 'email_warmups';
|
|
2564
|
-
};
|
|
2565
|
-
query?: never;
|
|
2566
|
-
url: '/billing/addons/{addon}';
|
|
2567
|
-
};
|
|
2568
|
-
export type BillingAddonsUpdateErrors = {
|
|
2569
|
-
/**
|
|
2570
|
-
* Error response
|
|
2571
|
-
*/
|
|
2572
|
-
default: ErrorResponse;
|
|
2573
|
-
};
|
|
2574
|
-
export type BillingAddonsUpdateError = BillingAddonsUpdateErrors[keyof BillingAddonsUpdateErrors];
|
|
2575
|
-
export type BillingAddonsUpdateResponses = {
|
|
2576
|
-
/**
|
|
2577
|
-
* Response
|
|
2578
|
-
*/
|
|
2579
|
-
200: {
|
|
2580
|
-
status: 'confirmation_required' | 'success' | 'payment_failed';
|
|
2581
|
-
client_secret?: string;
|
|
2582
|
-
failure_code?: string;
|
|
2583
|
-
};
|
|
2584
|
-
};
|
|
2585
|
-
export type BillingAddonsUpdateResponse = BillingAddonsUpdateResponses[keyof BillingAddonsUpdateResponses];
|
|
2586
2636
|
export type PipelineConversationsListData = {
|
|
2587
2637
|
body?: never;
|
|
2588
2638
|
path?: never;
|
|
@@ -2827,6 +2877,7 @@ export type PipelineConversationsListMessagesData = {
|
|
|
2827
2877
|
};
|
|
2828
2878
|
query?: {
|
|
2829
2879
|
owner?: string;
|
|
2880
|
+
format?: 'full' | 'metadata';
|
|
2830
2881
|
};
|
|
2831
2882
|
url: '/pipeline_conversations/{pipeline_conversation_id}/messages';
|
|
2832
2883
|
};
|
|
@@ -2870,8 +2921,8 @@ export type PipelineConversationsListMessagesResponses = {
|
|
|
2870
2921
|
}>;
|
|
2871
2922
|
subject: string | null;
|
|
2872
2923
|
snippet: string;
|
|
2873
|
-
body
|
|
2874
|
-
attachments
|
|
2924
|
+
body?: string;
|
|
2925
|
+
attachments?: Array<{
|
|
2875
2926
|
content_id: string | null;
|
|
2876
2927
|
inline: boolean;
|
|
2877
2928
|
name: string;
|
|
@@ -3361,7 +3412,9 @@ export type IntegrationsConnectAccountResponses = {
|
|
|
3361
3412
|
};
|
|
3362
3413
|
export type IntegrationsConnectAccountResponse = IntegrationsConnectAccountResponses[keyof IntegrationsConnectAccountResponses];
|
|
3363
3414
|
export type IntegrationsDisconnectAccountData = {
|
|
3364
|
-
body
|
|
3415
|
+
body: {
|
|
3416
|
+
reason?: string;
|
|
3417
|
+
};
|
|
3365
3418
|
path: {
|
|
3366
3419
|
integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail' | 'smtp';
|
|
3367
3420
|
account_id: string;
|
|
@@ -3386,8 +3439,8 @@ export type IntegrationsDisconnectAccountResponse = IntegrationsDisconnectAccoun
|
|
|
3386
3439
|
export type JobsCreateData = {
|
|
3387
3440
|
body: {
|
|
3388
3441
|
owner?: string;
|
|
3389
|
-
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
|
|
3390
|
-
data
|
|
3442
|
+
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email' | 'pipelines_sync';
|
|
3443
|
+
data?: {
|
|
3391
3444
|
[key: string]: unknown;
|
|
3392
3445
|
};
|
|
3393
3446
|
};
|
|
@@ -3408,7 +3461,7 @@ export type JobsCreateResponses = {
|
|
|
3408
3461
|
*/
|
|
3409
3462
|
202: {
|
|
3410
3463
|
owner: string;
|
|
3411
|
-
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
|
|
3464
|
+
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email' | 'pipelines_sync';
|
|
3412
3465
|
data: {
|
|
3413
3466
|
[key: string]: unknown;
|
|
3414
3467
|
};
|
|
@@ -3451,7 +3504,7 @@ export type JobsRetrieveResponses = {
|
|
|
3451
3504
|
*/
|
|
3452
3505
|
200: {
|
|
3453
3506
|
owner: string;
|
|
3454
|
-
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
|
|
3507
|
+
action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email' | 'pipelines_sync';
|
|
3455
3508
|
data: {
|
|
3456
3509
|
[key: string]: unknown;
|
|
3457
3510
|
};
|
|
@@ -3471,6 +3524,156 @@ export type JobsRetrieveResponses = {
|
|
|
3471
3524
|
};
|
|
3472
3525
|
};
|
|
3473
3526
|
export type JobsRetrieveResponse = JobsRetrieveResponses[keyof JobsRetrieveResponses];
|
|
3527
|
+
export type AutomationsCreateData = {
|
|
3528
|
+
body: {
|
|
3529
|
+
owner?: string;
|
|
3530
|
+
name: string;
|
|
3531
|
+
draft_definition?: {
|
|
3532
|
+
[key: string]: unknown;
|
|
3533
|
+
};
|
|
3534
|
+
};
|
|
3535
|
+
path?: never;
|
|
3536
|
+
query?: never;
|
|
3537
|
+
url: '/automations';
|
|
3538
|
+
};
|
|
3539
|
+
export type AutomationsCreateErrors = {
|
|
3540
|
+
/**
|
|
3541
|
+
* Error response
|
|
3542
|
+
*/
|
|
3543
|
+
default: ErrorResponse;
|
|
3544
|
+
};
|
|
3545
|
+
export type AutomationsCreateError = AutomationsCreateErrors[keyof AutomationsCreateErrors];
|
|
3546
|
+
export type AutomationsCreateResponses = {
|
|
3547
|
+
/**
|
|
3548
|
+
* Response
|
|
3549
|
+
*/
|
|
3550
|
+
201: {
|
|
3551
|
+
owner: string;
|
|
3552
|
+
name: string;
|
|
3553
|
+
draft_definition: {
|
|
3554
|
+
[key: string]: unknown;
|
|
3555
|
+
};
|
|
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
|
+
export type AutomationsCreateResponse = AutomationsCreateResponses[keyof AutomationsCreateResponses];
|
|
3565
|
+
export type AutomationsDelData = {
|
|
3566
|
+
body?: never;
|
|
3567
|
+
path: {
|
|
3568
|
+
automation_id: string;
|
|
3569
|
+
};
|
|
3570
|
+
query?: {
|
|
3571
|
+
owner?: string;
|
|
3572
|
+
};
|
|
3573
|
+
url: '/automations/{automation_id}';
|
|
3574
|
+
};
|
|
3575
|
+
export type AutomationsDelErrors = {
|
|
3576
|
+
/**
|
|
3577
|
+
* Error response
|
|
3578
|
+
*/
|
|
3579
|
+
default: ErrorResponse;
|
|
3580
|
+
};
|
|
3581
|
+
export type AutomationsDelError = AutomationsDelErrors[keyof AutomationsDelErrors];
|
|
3582
|
+
export type AutomationsDelResponses = {
|
|
3583
|
+
/**
|
|
3584
|
+
* Response
|
|
3585
|
+
*/
|
|
3586
|
+
200: {
|
|
3587
|
+
owner: string;
|
|
3588
|
+
name: string;
|
|
3589
|
+
draft_definition: {
|
|
3590
|
+
[key: string]: unknown;
|
|
3591
|
+
};
|
|
3592
|
+
id: string;
|
|
3593
|
+
object: 'automation';
|
|
3594
|
+
status: 'draft' | 'active' | 'paused';
|
|
3595
|
+
published_version: number | null;
|
|
3596
|
+
created_at: number;
|
|
3597
|
+
updated_at: number;
|
|
3598
|
+
};
|
|
3599
|
+
};
|
|
3600
|
+
export type AutomationsDelResponse = AutomationsDelResponses[keyof AutomationsDelResponses];
|
|
3601
|
+
export type AutomationsRetrieveData = {
|
|
3602
|
+
body?: never;
|
|
3603
|
+
path: {
|
|
3604
|
+
automation_id: string;
|
|
3605
|
+
};
|
|
3606
|
+
query?: {
|
|
3607
|
+
owner?: string;
|
|
3608
|
+
};
|
|
3609
|
+
url: '/automations/{automation_id}';
|
|
3610
|
+
};
|
|
3611
|
+
export type AutomationsRetrieveErrors = {
|
|
3612
|
+
/**
|
|
3613
|
+
* Error response
|
|
3614
|
+
*/
|
|
3615
|
+
default: ErrorResponse;
|
|
3616
|
+
};
|
|
3617
|
+
export type AutomationsRetrieveError = AutomationsRetrieveErrors[keyof AutomationsRetrieveErrors];
|
|
3618
|
+
export type AutomationsRetrieveResponses = {
|
|
3619
|
+
/**
|
|
3620
|
+
* Response
|
|
3621
|
+
*/
|
|
3622
|
+
200: {
|
|
3623
|
+
owner: string;
|
|
3624
|
+
name: string;
|
|
3625
|
+
draft_definition: {
|
|
3626
|
+
[key: string]: unknown;
|
|
3627
|
+
};
|
|
3628
|
+
id: string;
|
|
3629
|
+
object: 'automation';
|
|
3630
|
+
status: 'draft' | 'active' | 'paused';
|
|
3631
|
+
published_version: number | null;
|
|
3632
|
+
created_at: number;
|
|
3633
|
+
updated_at: number;
|
|
3634
|
+
};
|
|
3635
|
+
};
|
|
3636
|
+
export type AutomationsRetrieveResponse = AutomationsRetrieveResponses[keyof AutomationsRetrieveResponses];
|
|
3637
|
+
export type AutomationsUpdateData = {
|
|
3638
|
+
body: {
|
|
3639
|
+
owner?: string;
|
|
3640
|
+
name?: string;
|
|
3641
|
+
draft_definition?: {
|
|
3642
|
+
[key: string]: unknown;
|
|
3643
|
+
};
|
|
3644
|
+
};
|
|
3645
|
+
path: {
|
|
3646
|
+
automation_id: string;
|
|
3647
|
+
};
|
|
3648
|
+
query?: never;
|
|
3649
|
+
url: '/automations/{automation_id}';
|
|
3650
|
+
};
|
|
3651
|
+
export type AutomationsUpdateErrors = {
|
|
3652
|
+
/**
|
|
3653
|
+
* Error response
|
|
3654
|
+
*/
|
|
3655
|
+
default: ErrorResponse;
|
|
3656
|
+
};
|
|
3657
|
+
export type AutomationsUpdateError = AutomationsUpdateErrors[keyof AutomationsUpdateErrors];
|
|
3658
|
+
export type AutomationsUpdateResponses = {
|
|
3659
|
+
/**
|
|
3660
|
+
* Response
|
|
3661
|
+
*/
|
|
3662
|
+
200: {
|
|
3663
|
+
owner: string;
|
|
3664
|
+
name: string;
|
|
3665
|
+
draft_definition: {
|
|
3666
|
+
[key: string]: unknown;
|
|
3667
|
+
};
|
|
3668
|
+
id: string;
|
|
3669
|
+
object: 'automation';
|
|
3670
|
+
status: 'draft' | 'active' | 'paused';
|
|
3671
|
+
published_version: number | null;
|
|
3672
|
+
created_at: number;
|
|
3673
|
+
updated_at: number;
|
|
3674
|
+
};
|
|
3675
|
+
};
|
|
3676
|
+
export type AutomationsUpdateResponse = AutomationsUpdateResponses[keyof AutomationsUpdateResponses];
|
|
3474
3677
|
export type GetOpenapiJsonData = {
|
|
3475
3678
|
body?: never;
|
|
3476
3679
|
path?: never;
|