mailmeteor 0.0.4 → 0.0.6
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 +182 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +811 -1
- package/dist/index.mjs +182 -7
- 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 +83 -5
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +674 -0
- 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
|
@@ -193,6 +193,210 @@ export type ContactListIdResponse200 = {
|
|
|
193
193
|
export type ContactListIdBody = {
|
|
194
194
|
remove_contacts?: boolean;
|
|
195
195
|
};
|
|
196
|
+
export type ContactsBody = {
|
|
197
|
+
owner: string;
|
|
198
|
+
contact_list?: string;
|
|
199
|
+
};
|
|
200
|
+
export type ContactsResponse201 = {
|
|
201
|
+
owner: string;
|
|
202
|
+
email: string;
|
|
203
|
+
domain: string;
|
|
204
|
+
created_at: number;
|
|
205
|
+
updated_at?: number;
|
|
206
|
+
deleted?: boolean;
|
|
207
|
+
deleted_at?: number;
|
|
208
|
+
blocked?: boolean;
|
|
209
|
+
blocked_at?: number;
|
|
210
|
+
unsubscribed?: boolean;
|
|
211
|
+
unsubscribed_at?: number;
|
|
212
|
+
contact_lists?: Array<string>;
|
|
213
|
+
properties?: {
|
|
214
|
+
[key: string]: string;
|
|
215
|
+
};
|
|
216
|
+
notes?: string;
|
|
217
|
+
metadata?: {
|
|
218
|
+
[key: string]: string;
|
|
219
|
+
};
|
|
220
|
+
id: string;
|
|
221
|
+
object: 'contact';
|
|
222
|
+
};
|
|
223
|
+
export type BatchBody = {
|
|
224
|
+
contacts: Array<{
|
|
225
|
+
owner: string;
|
|
226
|
+
email: string;
|
|
227
|
+
blocked?: boolean;
|
|
228
|
+
unsubscribed?: boolean;
|
|
229
|
+
contact_lists?: Array<string>;
|
|
230
|
+
properties?: {
|
|
231
|
+
[key: string]: string;
|
|
232
|
+
};
|
|
233
|
+
notes?: string;
|
|
234
|
+
metadata?: {
|
|
235
|
+
[key: string]: string;
|
|
236
|
+
};
|
|
237
|
+
}>;
|
|
238
|
+
};
|
|
239
|
+
export type BatchResponse201 = {
|
|
240
|
+
ok: true;
|
|
241
|
+
status: 'done';
|
|
242
|
+
message: string;
|
|
243
|
+
};
|
|
244
|
+
export type BatchResponse202 = {
|
|
245
|
+
ok: true;
|
|
246
|
+
status: 'running';
|
|
247
|
+
message: string;
|
|
248
|
+
};
|
|
249
|
+
export type BatchLegacyBody = unknown;
|
|
250
|
+
export type BatchLegacyResponse201 = unknown;
|
|
251
|
+
export type ContactIdParams = {
|
|
252
|
+
contact_id: string;
|
|
253
|
+
};
|
|
254
|
+
export type ContactIdResponse200 = {
|
|
255
|
+
owner: string;
|
|
256
|
+
email: string;
|
|
257
|
+
domain: string;
|
|
258
|
+
created_at: number;
|
|
259
|
+
updated_at?: number;
|
|
260
|
+
deleted?: boolean;
|
|
261
|
+
deleted_at?: number;
|
|
262
|
+
blocked?: boolean;
|
|
263
|
+
blocked_at?: number;
|
|
264
|
+
unsubscribed?: boolean;
|
|
265
|
+
unsubscribed_at?: number;
|
|
266
|
+
contact_lists?: Array<string>;
|
|
267
|
+
properties?: {
|
|
268
|
+
[key: string]: string;
|
|
269
|
+
};
|
|
270
|
+
notes?: string;
|
|
271
|
+
metadata?: {
|
|
272
|
+
[key: string]: string;
|
|
273
|
+
};
|
|
274
|
+
id: string;
|
|
275
|
+
object: 'contact';
|
|
276
|
+
};
|
|
277
|
+
export type ContactIdBody = {
|
|
278
|
+
blocked?: boolean;
|
|
279
|
+
unsubscribed?: boolean;
|
|
280
|
+
contact_lists?: Array<string>;
|
|
281
|
+
properties?: {
|
|
282
|
+
[key: string]: string;
|
|
283
|
+
};
|
|
284
|
+
notes?: string;
|
|
285
|
+
metadata?: {
|
|
286
|
+
[key: string]: string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
export type BlockParams = {
|
|
290
|
+
contact_id: string;
|
|
291
|
+
};
|
|
292
|
+
export type BlockResponse200 = {
|
|
293
|
+
owner: string;
|
|
294
|
+
email: string;
|
|
295
|
+
domain: string;
|
|
296
|
+
created_at: number;
|
|
297
|
+
updated_at?: number;
|
|
298
|
+
deleted?: boolean;
|
|
299
|
+
deleted_at?: number;
|
|
300
|
+
blocked?: boolean;
|
|
301
|
+
blocked_at?: number;
|
|
302
|
+
unsubscribed?: boolean;
|
|
303
|
+
unsubscribed_at?: number;
|
|
304
|
+
contact_lists?: Array<string>;
|
|
305
|
+
properties?: {
|
|
306
|
+
[key: string]: string;
|
|
307
|
+
};
|
|
308
|
+
notes?: string;
|
|
309
|
+
metadata?: {
|
|
310
|
+
[key: string]: string;
|
|
311
|
+
};
|
|
312
|
+
id: string;
|
|
313
|
+
object: 'contact';
|
|
314
|
+
};
|
|
315
|
+
export type UnblockParams = {
|
|
316
|
+
contact_id: string;
|
|
317
|
+
};
|
|
318
|
+
export type UnblockResponse200 = {
|
|
319
|
+
owner: string;
|
|
320
|
+
email: string;
|
|
321
|
+
domain: string;
|
|
322
|
+
created_at: number;
|
|
323
|
+
updated_at?: number;
|
|
324
|
+
deleted?: boolean;
|
|
325
|
+
deleted_at?: number;
|
|
326
|
+
blocked?: boolean;
|
|
327
|
+
blocked_at?: number;
|
|
328
|
+
unsubscribed?: boolean;
|
|
329
|
+
unsubscribed_at?: number;
|
|
330
|
+
contact_lists?: Array<string>;
|
|
331
|
+
properties?: {
|
|
332
|
+
[key: string]: string;
|
|
333
|
+
};
|
|
334
|
+
notes?: string;
|
|
335
|
+
metadata?: {
|
|
336
|
+
[key: string]: string;
|
|
337
|
+
};
|
|
338
|
+
id: string;
|
|
339
|
+
object: 'contact';
|
|
340
|
+
};
|
|
341
|
+
export type ResubscribeParams = {
|
|
342
|
+
contact_id: string;
|
|
343
|
+
};
|
|
344
|
+
export type ResubscribeResponse200 = {
|
|
345
|
+
owner: string;
|
|
346
|
+
email: string;
|
|
347
|
+
domain: string;
|
|
348
|
+
created_at: number;
|
|
349
|
+
updated_at?: number;
|
|
350
|
+
deleted?: boolean;
|
|
351
|
+
deleted_at?: number;
|
|
352
|
+
blocked?: boolean;
|
|
353
|
+
blocked_at?: number;
|
|
354
|
+
unsubscribed?: boolean;
|
|
355
|
+
unsubscribed_at?: number;
|
|
356
|
+
contact_lists?: Array<string>;
|
|
357
|
+
properties?: {
|
|
358
|
+
[key: string]: string;
|
|
359
|
+
};
|
|
360
|
+
notes?: string;
|
|
361
|
+
metadata?: {
|
|
362
|
+
[key: string]: string;
|
|
363
|
+
};
|
|
364
|
+
id: string;
|
|
365
|
+
object: 'contact';
|
|
366
|
+
};
|
|
367
|
+
export type ContactsQuery = {
|
|
368
|
+
owner: string;
|
|
369
|
+
limit?: number;
|
|
370
|
+
email?: string;
|
|
371
|
+
unsubscribed?: boolean | null;
|
|
372
|
+
contact_list?: string;
|
|
373
|
+
};
|
|
374
|
+
export type ContactsResponse200 = {
|
|
375
|
+
object: 'list';
|
|
376
|
+
data: Array<{
|
|
377
|
+
owner: string;
|
|
378
|
+
email: string;
|
|
379
|
+
domain: string;
|
|
380
|
+
created_at: number;
|
|
381
|
+
updated_at?: number;
|
|
382
|
+
deleted?: boolean;
|
|
383
|
+
deleted_at?: number;
|
|
384
|
+
blocked?: boolean;
|
|
385
|
+
blocked_at?: number;
|
|
386
|
+
unsubscribed?: boolean;
|
|
387
|
+
unsubscribed_at?: number;
|
|
388
|
+
contact_lists?: Array<string>;
|
|
389
|
+
properties?: {
|
|
390
|
+
[key: string]: string;
|
|
391
|
+
};
|
|
392
|
+
notes?: string;
|
|
393
|
+
metadata?: {
|
|
394
|
+
[key: string]: string;
|
|
395
|
+
};
|
|
396
|
+
id: string;
|
|
397
|
+
object: 'contact';
|
|
398
|
+
}>;
|
|
399
|
+
};
|
|
196
400
|
export type AddonsResponse200 = {
|
|
197
401
|
senders?: {
|
|
198
402
|
included_per_seat: number;
|
|
@@ -845,6 +1049,476 @@ export type ContactListsUpdateResponses = {
|
|
|
845
1049
|
};
|
|
846
1050
|
};
|
|
847
1051
|
export type ContactListsUpdateResponse = ContactListsUpdateResponses[keyof ContactListsUpdateResponses];
|
|
1052
|
+
export type ContactsDelAllData = {
|
|
1053
|
+
body?: {
|
|
1054
|
+
owner: string;
|
|
1055
|
+
contact_list?: string;
|
|
1056
|
+
};
|
|
1057
|
+
path?: never;
|
|
1058
|
+
query?: never;
|
|
1059
|
+
url: '/contacts';
|
|
1060
|
+
};
|
|
1061
|
+
export type ContactsDelAllErrors = {
|
|
1062
|
+
/**
|
|
1063
|
+
* Error response
|
|
1064
|
+
*/
|
|
1065
|
+
default: ErrorResponse;
|
|
1066
|
+
};
|
|
1067
|
+
export type ContactsDelAllError = ContactsDelAllErrors[keyof ContactsDelAllErrors];
|
|
1068
|
+
export type ContactsDelAllResponses = {
|
|
1069
|
+
/**
|
|
1070
|
+
* Response
|
|
1071
|
+
*/
|
|
1072
|
+
204: void;
|
|
1073
|
+
};
|
|
1074
|
+
export type ContactsDelAllResponse = ContactsDelAllResponses[keyof ContactsDelAllResponses];
|
|
1075
|
+
export type ContactsListData = {
|
|
1076
|
+
body?: never;
|
|
1077
|
+
path?: never;
|
|
1078
|
+
query: {
|
|
1079
|
+
owner: string;
|
|
1080
|
+
limit?: number;
|
|
1081
|
+
email?: string;
|
|
1082
|
+
unsubscribed?: boolean | null;
|
|
1083
|
+
contact_list?: string;
|
|
1084
|
+
};
|
|
1085
|
+
url: '/contacts';
|
|
1086
|
+
};
|
|
1087
|
+
export type ContactsListErrors = {
|
|
1088
|
+
/**
|
|
1089
|
+
* Error response
|
|
1090
|
+
*/
|
|
1091
|
+
default: ErrorResponse;
|
|
1092
|
+
};
|
|
1093
|
+
export type ContactsListError = ContactsListErrors[keyof ContactsListErrors];
|
|
1094
|
+
export type ContactsListResponses = {
|
|
1095
|
+
/**
|
|
1096
|
+
* Response
|
|
1097
|
+
*/
|
|
1098
|
+
200: {
|
|
1099
|
+
object: 'list';
|
|
1100
|
+
data: Array<{
|
|
1101
|
+
owner: string;
|
|
1102
|
+
email: string;
|
|
1103
|
+
domain: string;
|
|
1104
|
+
created_at: number;
|
|
1105
|
+
updated_at?: number;
|
|
1106
|
+
deleted?: boolean;
|
|
1107
|
+
deleted_at?: number;
|
|
1108
|
+
blocked?: boolean;
|
|
1109
|
+
blocked_at?: number;
|
|
1110
|
+
unsubscribed?: boolean;
|
|
1111
|
+
unsubscribed_at?: number;
|
|
1112
|
+
contact_lists?: Array<string>;
|
|
1113
|
+
properties?: {
|
|
1114
|
+
[key: string]: string;
|
|
1115
|
+
};
|
|
1116
|
+
notes?: string;
|
|
1117
|
+
metadata?: {
|
|
1118
|
+
[key: string]: string;
|
|
1119
|
+
};
|
|
1120
|
+
id: string;
|
|
1121
|
+
object: 'contact';
|
|
1122
|
+
}>;
|
|
1123
|
+
};
|
|
1124
|
+
};
|
|
1125
|
+
export type ContactsListResponse = ContactsListResponses[keyof ContactsListResponses];
|
|
1126
|
+
export type ContactsCreateData = {
|
|
1127
|
+
body?: {
|
|
1128
|
+
owner: string;
|
|
1129
|
+
email: string;
|
|
1130
|
+
blocked?: boolean;
|
|
1131
|
+
unsubscribed?: boolean;
|
|
1132
|
+
contact_lists?: Array<string>;
|
|
1133
|
+
properties?: {
|
|
1134
|
+
[key: string]: string;
|
|
1135
|
+
};
|
|
1136
|
+
notes?: string;
|
|
1137
|
+
metadata?: {
|
|
1138
|
+
[key: string]: string;
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
path?: never;
|
|
1142
|
+
query?: never;
|
|
1143
|
+
url: '/contacts';
|
|
1144
|
+
};
|
|
1145
|
+
export type ContactsCreateErrors = {
|
|
1146
|
+
/**
|
|
1147
|
+
* Error response
|
|
1148
|
+
*/
|
|
1149
|
+
default: ErrorResponse;
|
|
1150
|
+
};
|
|
1151
|
+
export type ContactsCreateError = ContactsCreateErrors[keyof ContactsCreateErrors];
|
|
1152
|
+
export type ContactsCreateResponses = {
|
|
1153
|
+
/**
|
|
1154
|
+
* Response
|
|
1155
|
+
*/
|
|
1156
|
+
201: {
|
|
1157
|
+
owner: string;
|
|
1158
|
+
email: string;
|
|
1159
|
+
domain: string;
|
|
1160
|
+
created_at: number;
|
|
1161
|
+
updated_at?: number;
|
|
1162
|
+
deleted?: boolean;
|
|
1163
|
+
deleted_at?: number;
|
|
1164
|
+
blocked?: boolean;
|
|
1165
|
+
blocked_at?: number;
|
|
1166
|
+
unsubscribed?: boolean;
|
|
1167
|
+
unsubscribed_at?: number;
|
|
1168
|
+
contact_lists?: Array<string>;
|
|
1169
|
+
properties?: {
|
|
1170
|
+
[key: string]: string;
|
|
1171
|
+
};
|
|
1172
|
+
notes?: string;
|
|
1173
|
+
metadata?: {
|
|
1174
|
+
[key: string]: string;
|
|
1175
|
+
};
|
|
1176
|
+
id: string;
|
|
1177
|
+
object: 'contact';
|
|
1178
|
+
};
|
|
1179
|
+
};
|
|
1180
|
+
export type ContactsCreateResponse = ContactsCreateResponses[keyof ContactsCreateResponses];
|
|
1181
|
+
export type ContactsBatchCreateData = {
|
|
1182
|
+
body?: {
|
|
1183
|
+
contacts: Array<{
|
|
1184
|
+
owner: string;
|
|
1185
|
+
email: string;
|
|
1186
|
+
blocked?: boolean;
|
|
1187
|
+
unsubscribed?: boolean;
|
|
1188
|
+
contact_lists?: Array<string>;
|
|
1189
|
+
properties?: {
|
|
1190
|
+
[key: string]: string;
|
|
1191
|
+
};
|
|
1192
|
+
notes?: string;
|
|
1193
|
+
metadata?: {
|
|
1194
|
+
[key: string]: string;
|
|
1195
|
+
};
|
|
1196
|
+
}>;
|
|
1197
|
+
};
|
|
1198
|
+
path?: never;
|
|
1199
|
+
query?: never;
|
|
1200
|
+
url: '/contacts/batch';
|
|
1201
|
+
};
|
|
1202
|
+
export type ContactsBatchCreateErrors = {
|
|
1203
|
+
/**
|
|
1204
|
+
* Error response
|
|
1205
|
+
*/
|
|
1206
|
+
default: ErrorResponse;
|
|
1207
|
+
};
|
|
1208
|
+
export type ContactsBatchCreateError = ContactsBatchCreateErrors[keyof ContactsBatchCreateErrors];
|
|
1209
|
+
export type ContactsBatchCreateResponses = {
|
|
1210
|
+
/**
|
|
1211
|
+
* Response
|
|
1212
|
+
*/
|
|
1213
|
+
201: {
|
|
1214
|
+
ok: true;
|
|
1215
|
+
status: 'done';
|
|
1216
|
+
message: string;
|
|
1217
|
+
};
|
|
1218
|
+
/**
|
|
1219
|
+
* Response
|
|
1220
|
+
*/
|
|
1221
|
+
202: {
|
|
1222
|
+
ok: true;
|
|
1223
|
+
status: 'running';
|
|
1224
|
+
message: string;
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
export type ContactsBatchCreateResponse = ContactsBatchCreateResponses[keyof ContactsBatchCreateResponses];
|
|
1228
|
+
export type ContactsBatchCreate2Data = {
|
|
1229
|
+
body?: unknown;
|
|
1230
|
+
path?: never;
|
|
1231
|
+
query?: never;
|
|
1232
|
+
url: '/contacts/batch_legacy';
|
|
1233
|
+
};
|
|
1234
|
+
export type ContactsBatchCreate2Errors = {
|
|
1235
|
+
/**
|
|
1236
|
+
* Error response
|
|
1237
|
+
*/
|
|
1238
|
+
default: ErrorResponse;
|
|
1239
|
+
};
|
|
1240
|
+
export type ContactsBatchCreate2Error = ContactsBatchCreate2Errors[keyof ContactsBatchCreate2Errors];
|
|
1241
|
+
export type ContactsBatchCreate2Responses = {
|
|
1242
|
+
/**
|
|
1243
|
+
* Response
|
|
1244
|
+
*/
|
|
1245
|
+
201: unknown;
|
|
1246
|
+
};
|
|
1247
|
+
export type ContactsDelData = {
|
|
1248
|
+
body?: never;
|
|
1249
|
+
path: {
|
|
1250
|
+
contact_id: string;
|
|
1251
|
+
};
|
|
1252
|
+
query?: never;
|
|
1253
|
+
url: '/contacts/{contact_id}';
|
|
1254
|
+
};
|
|
1255
|
+
export type ContactsDelErrors = {
|
|
1256
|
+
/**
|
|
1257
|
+
* Error response
|
|
1258
|
+
*/
|
|
1259
|
+
default: ErrorResponse;
|
|
1260
|
+
};
|
|
1261
|
+
export type ContactsDelError = ContactsDelErrors[keyof ContactsDelErrors];
|
|
1262
|
+
export type ContactsDelResponses = {
|
|
1263
|
+
/**
|
|
1264
|
+
* Response
|
|
1265
|
+
*/
|
|
1266
|
+
200: {
|
|
1267
|
+
owner: string;
|
|
1268
|
+
email: string;
|
|
1269
|
+
domain: string;
|
|
1270
|
+
created_at: number;
|
|
1271
|
+
updated_at?: number;
|
|
1272
|
+
deleted?: boolean;
|
|
1273
|
+
deleted_at?: number;
|
|
1274
|
+
blocked?: boolean;
|
|
1275
|
+
blocked_at?: number;
|
|
1276
|
+
unsubscribed?: boolean;
|
|
1277
|
+
unsubscribed_at?: number;
|
|
1278
|
+
contact_lists?: Array<string>;
|
|
1279
|
+
properties?: {
|
|
1280
|
+
[key: string]: string;
|
|
1281
|
+
};
|
|
1282
|
+
notes?: string;
|
|
1283
|
+
metadata?: {
|
|
1284
|
+
[key: string]: string;
|
|
1285
|
+
};
|
|
1286
|
+
id: string;
|
|
1287
|
+
object: 'contact';
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
export type ContactsDelResponse = ContactsDelResponses[keyof ContactsDelResponses];
|
|
1291
|
+
export type ContactsRetrieveData = {
|
|
1292
|
+
body?: never;
|
|
1293
|
+
path: {
|
|
1294
|
+
contact_id: string;
|
|
1295
|
+
};
|
|
1296
|
+
query?: never;
|
|
1297
|
+
url: '/contacts/{contact_id}';
|
|
1298
|
+
};
|
|
1299
|
+
export type ContactsRetrieveErrors = {
|
|
1300
|
+
/**
|
|
1301
|
+
* Error response
|
|
1302
|
+
*/
|
|
1303
|
+
default: ErrorResponse;
|
|
1304
|
+
};
|
|
1305
|
+
export type ContactsRetrieveError = ContactsRetrieveErrors[keyof ContactsRetrieveErrors];
|
|
1306
|
+
export type ContactsRetrieveResponses = {
|
|
1307
|
+
/**
|
|
1308
|
+
* Response
|
|
1309
|
+
*/
|
|
1310
|
+
200: {
|
|
1311
|
+
owner: string;
|
|
1312
|
+
email: string;
|
|
1313
|
+
domain: string;
|
|
1314
|
+
created_at: number;
|
|
1315
|
+
updated_at?: number;
|
|
1316
|
+
deleted?: boolean;
|
|
1317
|
+
deleted_at?: number;
|
|
1318
|
+
blocked?: boolean;
|
|
1319
|
+
blocked_at?: number;
|
|
1320
|
+
unsubscribed?: boolean;
|
|
1321
|
+
unsubscribed_at?: number;
|
|
1322
|
+
contact_lists?: Array<string>;
|
|
1323
|
+
properties?: {
|
|
1324
|
+
[key: string]: string;
|
|
1325
|
+
};
|
|
1326
|
+
notes?: string;
|
|
1327
|
+
metadata?: {
|
|
1328
|
+
[key: string]: string;
|
|
1329
|
+
};
|
|
1330
|
+
id: string;
|
|
1331
|
+
object: 'contact';
|
|
1332
|
+
};
|
|
1333
|
+
};
|
|
1334
|
+
export type ContactsRetrieveResponse = ContactsRetrieveResponses[keyof ContactsRetrieveResponses];
|
|
1335
|
+
export type ContactsUpdateData = {
|
|
1336
|
+
body?: {
|
|
1337
|
+
blocked?: boolean;
|
|
1338
|
+
unsubscribed?: boolean;
|
|
1339
|
+
contact_lists?: Array<string>;
|
|
1340
|
+
properties?: {
|
|
1341
|
+
[key: string]: string;
|
|
1342
|
+
};
|
|
1343
|
+
notes?: string;
|
|
1344
|
+
metadata?: {
|
|
1345
|
+
[key: string]: string;
|
|
1346
|
+
};
|
|
1347
|
+
};
|
|
1348
|
+
path: {
|
|
1349
|
+
contact_id: string;
|
|
1350
|
+
};
|
|
1351
|
+
query?: never;
|
|
1352
|
+
url: '/contacts/{contact_id}';
|
|
1353
|
+
};
|
|
1354
|
+
export type ContactsUpdateErrors = {
|
|
1355
|
+
/**
|
|
1356
|
+
* Error response
|
|
1357
|
+
*/
|
|
1358
|
+
default: ErrorResponse;
|
|
1359
|
+
};
|
|
1360
|
+
export type ContactsUpdateError = ContactsUpdateErrors[keyof ContactsUpdateErrors];
|
|
1361
|
+
export type ContactsUpdateResponses = {
|
|
1362
|
+
/**
|
|
1363
|
+
* Response
|
|
1364
|
+
*/
|
|
1365
|
+
200: {
|
|
1366
|
+
owner: string;
|
|
1367
|
+
email: string;
|
|
1368
|
+
domain: string;
|
|
1369
|
+
created_at: number;
|
|
1370
|
+
updated_at?: number;
|
|
1371
|
+
deleted?: boolean;
|
|
1372
|
+
deleted_at?: number;
|
|
1373
|
+
blocked?: boolean;
|
|
1374
|
+
blocked_at?: number;
|
|
1375
|
+
unsubscribed?: boolean;
|
|
1376
|
+
unsubscribed_at?: number;
|
|
1377
|
+
contact_lists?: Array<string>;
|
|
1378
|
+
properties?: {
|
|
1379
|
+
[key: string]: string;
|
|
1380
|
+
};
|
|
1381
|
+
notes?: string;
|
|
1382
|
+
metadata?: {
|
|
1383
|
+
[key: string]: string;
|
|
1384
|
+
};
|
|
1385
|
+
id: string;
|
|
1386
|
+
object: 'contact';
|
|
1387
|
+
};
|
|
1388
|
+
};
|
|
1389
|
+
export type ContactsUpdateResponse = ContactsUpdateResponses[keyof ContactsUpdateResponses];
|
|
1390
|
+
export type ContactsBlockData = {
|
|
1391
|
+
body?: never;
|
|
1392
|
+
path: {
|
|
1393
|
+
contact_id: string;
|
|
1394
|
+
};
|
|
1395
|
+
query?: never;
|
|
1396
|
+
url: '/contacts/{contact_id}/block';
|
|
1397
|
+
};
|
|
1398
|
+
export type ContactsBlockErrors = {
|
|
1399
|
+
/**
|
|
1400
|
+
* Error response
|
|
1401
|
+
*/
|
|
1402
|
+
default: ErrorResponse;
|
|
1403
|
+
};
|
|
1404
|
+
export type ContactsBlockError = ContactsBlockErrors[keyof ContactsBlockErrors];
|
|
1405
|
+
export type ContactsBlockResponses = {
|
|
1406
|
+
/**
|
|
1407
|
+
* Response
|
|
1408
|
+
*/
|
|
1409
|
+
200: {
|
|
1410
|
+
owner: string;
|
|
1411
|
+
email: string;
|
|
1412
|
+
domain: string;
|
|
1413
|
+
created_at: number;
|
|
1414
|
+
updated_at?: number;
|
|
1415
|
+
deleted?: boolean;
|
|
1416
|
+
deleted_at?: number;
|
|
1417
|
+
blocked?: boolean;
|
|
1418
|
+
blocked_at?: number;
|
|
1419
|
+
unsubscribed?: boolean;
|
|
1420
|
+
unsubscribed_at?: number;
|
|
1421
|
+
contact_lists?: Array<string>;
|
|
1422
|
+
properties?: {
|
|
1423
|
+
[key: string]: string;
|
|
1424
|
+
};
|
|
1425
|
+
notes?: string;
|
|
1426
|
+
metadata?: {
|
|
1427
|
+
[key: string]: string;
|
|
1428
|
+
};
|
|
1429
|
+
id: string;
|
|
1430
|
+
object: 'contact';
|
|
1431
|
+
};
|
|
1432
|
+
};
|
|
1433
|
+
export type ContactsBlockResponse = ContactsBlockResponses[keyof ContactsBlockResponses];
|
|
1434
|
+
export type ContactsUnblockData = {
|
|
1435
|
+
body?: never;
|
|
1436
|
+
path: {
|
|
1437
|
+
contact_id: string;
|
|
1438
|
+
};
|
|
1439
|
+
query?: never;
|
|
1440
|
+
url: '/contacts/{contact_id}/unblock';
|
|
1441
|
+
};
|
|
1442
|
+
export type ContactsUnblockErrors = {
|
|
1443
|
+
/**
|
|
1444
|
+
* Error response
|
|
1445
|
+
*/
|
|
1446
|
+
default: ErrorResponse;
|
|
1447
|
+
};
|
|
1448
|
+
export type ContactsUnblockError = ContactsUnblockErrors[keyof ContactsUnblockErrors];
|
|
1449
|
+
export type ContactsUnblockResponses = {
|
|
1450
|
+
/**
|
|
1451
|
+
* Response
|
|
1452
|
+
*/
|
|
1453
|
+
200: {
|
|
1454
|
+
owner: string;
|
|
1455
|
+
email: string;
|
|
1456
|
+
domain: string;
|
|
1457
|
+
created_at: number;
|
|
1458
|
+
updated_at?: number;
|
|
1459
|
+
deleted?: boolean;
|
|
1460
|
+
deleted_at?: number;
|
|
1461
|
+
blocked?: boolean;
|
|
1462
|
+
blocked_at?: number;
|
|
1463
|
+
unsubscribed?: boolean;
|
|
1464
|
+
unsubscribed_at?: number;
|
|
1465
|
+
contact_lists?: Array<string>;
|
|
1466
|
+
properties?: {
|
|
1467
|
+
[key: string]: string;
|
|
1468
|
+
};
|
|
1469
|
+
notes?: string;
|
|
1470
|
+
metadata?: {
|
|
1471
|
+
[key: string]: string;
|
|
1472
|
+
};
|
|
1473
|
+
id: string;
|
|
1474
|
+
object: 'contact';
|
|
1475
|
+
};
|
|
1476
|
+
};
|
|
1477
|
+
export type ContactsUnblockResponse = ContactsUnblockResponses[keyof ContactsUnblockResponses];
|
|
1478
|
+
export type ContactsResubscribeData = {
|
|
1479
|
+
body?: never;
|
|
1480
|
+
path: {
|
|
1481
|
+
contact_id: string;
|
|
1482
|
+
};
|
|
1483
|
+
query?: never;
|
|
1484
|
+
url: '/contacts/{contact_id}/resubscribe';
|
|
1485
|
+
};
|
|
1486
|
+
export type ContactsResubscribeErrors = {
|
|
1487
|
+
/**
|
|
1488
|
+
* Error response
|
|
1489
|
+
*/
|
|
1490
|
+
default: ErrorResponse;
|
|
1491
|
+
};
|
|
1492
|
+
export type ContactsResubscribeError = ContactsResubscribeErrors[keyof ContactsResubscribeErrors];
|
|
1493
|
+
export type ContactsResubscribeResponses = {
|
|
1494
|
+
/**
|
|
1495
|
+
* Response
|
|
1496
|
+
*/
|
|
1497
|
+
200: {
|
|
1498
|
+
owner: string;
|
|
1499
|
+
email: string;
|
|
1500
|
+
domain: string;
|
|
1501
|
+
created_at: number;
|
|
1502
|
+
updated_at?: number;
|
|
1503
|
+
deleted?: boolean;
|
|
1504
|
+
deleted_at?: number;
|
|
1505
|
+
blocked?: boolean;
|
|
1506
|
+
blocked_at?: number;
|
|
1507
|
+
unsubscribed?: boolean;
|
|
1508
|
+
unsubscribed_at?: number;
|
|
1509
|
+
contact_lists?: Array<string>;
|
|
1510
|
+
properties?: {
|
|
1511
|
+
[key: string]: string;
|
|
1512
|
+
};
|
|
1513
|
+
notes?: string;
|
|
1514
|
+
metadata?: {
|
|
1515
|
+
[key: string]: string;
|
|
1516
|
+
};
|
|
1517
|
+
id: string;
|
|
1518
|
+
object: 'contact';
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
export type ContactsResubscribeResponse = ContactsResubscribeResponses[keyof ContactsResubscribeResponses];
|
|
848
1522
|
export type BillingAddonsGetAddonsData = {
|
|
849
1523
|
body?: never;
|
|
850
1524
|
path?: never;
|