resend 6.10.0-preview-workflows.3 → 6.10.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.d.mts CHANGED
@@ -4,6 +4,7 @@ import * as React$1 from "react";
4
4
  interface ApiKey {
5
5
  created_at: string;
6
6
  id: string;
7
+ last_used_at: string | null;
7
8
  name: string;
8
9
  }
9
10
  //#endregion
@@ -226,7 +227,7 @@ type ListApiKeysOptions = PaginationOptions;
226
227
  type ListApiKeysResponseSuccess = {
227
228
  object: 'list';
228
229
  has_more: boolean;
229
- data: Pick<ApiKey, 'name' | 'id' | 'created_at'>[];
230
+ data: Pick<ApiKey, 'name' | 'id' | 'created_at' | 'last_used_at'>[];
230
231
  };
231
232
  type ListApiKeysResponse = Response<ListApiKeysResponseSuccess>;
232
233
  //#endregion
@@ -234,211 +235,6 @@ type ListApiKeysResponse = Response<ListApiKeysResponseSuccess>;
234
235
  type RemoveApiKeyResponseSuccess = {};
235
236
  type RemoveApiKeyResponse = Response<RemoveApiKeyResponseSuccess>;
236
237
  //#endregion
237
- //#region src/automations/interfaces/automation-step.interface.d.ts
238
- type ConditionRule = {
239
- type: 'rule';
240
- field: string;
241
- operator: 'eq' | 'neq';
242
- value: string | number | boolean | null;
243
- } | {
244
- type: 'rule';
245
- field: string;
246
- operator: 'gt' | 'gte' | 'lt' | 'lte';
247
- value: number;
248
- } | {
249
- type: 'rule';
250
- field: string;
251
- operator: 'contains' | 'starts_with' | 'ends_with';
252
- value: string;
253
- } | {
254
- type: 'rule';
255
- field: string;
256
- operator: 'exists' | 'is_empty';
257
- } | {
258
- type: 'and';
259
- rules: ConditionRule[];
260
- } | {
261
- type: 'or';
262
- rules: ConditionRule[];
263
- };
264
- type TemplateVariableValue = string | number | boolean | {
265
- var: string;
266
- } | Record<string, string | number | boolean> | Array<string | number | boolean | Record<string, string | number | boolean>>;
267
- interface TriggerStepConfig {
268
- eventName: string;
269
- }
270
- interface DelayStepConfig {
271
- seconds: number;
272
- }
273
- interface SendEmailStepConfig {
274
- templateId: string;
275
- subject?: string;
276
- from?: string;
277
- replyTo?: string;
278
- variables?: Record<string, TemplateVariableValue>;
279
- }
280
- interface WaitForEventStepConfig {
281
- eventName: string;
282
- timeoutSeconds?: number;
283
- filterRule?: ConditionRule;
284
- }
285
- type ConditionStepConfig = ConditionRule;
286
- type AutomationStep = {
287
- ref: string;
288
- type: 'trigger';
289
- config: TriggerStepConfig;
290
- } | {
291
- ref: string;
292
- type: 'delay';
293
- config: DelayStepConfig;
294
- } | {
295
- ref: string;
296
- type: 'send_email';
297
- config: SendEmailStepConfig;
298
- } | {
299
- ref: string;
300
- type: 'wait_for_event';
301
- config: WaitForEventStepConfig;
302
- } | {
303
- ref: string;
304
- type: 'condition';
305
- config: ConditionStepConfig;
306
- };
307
- type AutomationEdgeType = 'default' | 'condition_met' | 'condition_not_met' | 'timeout' | 'event_received';
308
- interface AutomationEdge {
309
- from: string;
310
- to: string;
311
- edgeType?: AutomationEdgeType;
312
- }
313
- type AutomationStepType = AutomationStep['type'];
314
- interface AutomationResponseStep {
315
- id: string;
316
- type: AutomationStepType;
317
- config: Record<string, unknown>;
318
- }
319
- interface AutomationResponseEdge {
320
- id: string;
321
- from_step_id: string;
322
- to_step_id: string;
323
- edge_type: AutomationEdgeType;
324
- }
325
- //#endregion
326
- //#region src/automation-run-steps/interfaces/automation-run-step.d.ts
327
- type AutomationRunStepStatus = 'pending' | 'running' | 'completed' | 'failed' | 'skipped' | 'waiting';
328
- interface AutomationRunStep {
329
- object: 'automation_run_step';
330
- id: string;
331
- step_id: string;
332
- type: AutomationStepType;
333
- config: Record<string, unknown>;
334
- status: AutomationRunStepStatus;
335
- started_at: string | null;
336
- completed_at: string | null;
337
- created_at: string;
338
- }
339
- type AutomationRunStepItem = Pick<AutomationRunStep, 'id' | 'step_id' | 'type' | 'status' | 'started_at' | 'completed_at' | 'created_at'>;
340
- //#endregion
341
- //#region src/automation-run-steps/interfaces/get-automation-run-step.interface.d.ts
342
- interface GetAutomationRunStepOptions {
343
- automationId: string;
344
- runId: string;
345
- stepId: string;
346
- }
347
- type GetAutomationRunStepResponseSuccess = AutomationRunStep;
348
- type GetAutomationRunStepResponse = Response<GetAutomationRunStepResponseSuccess>;
349
- //#endregion
350
- //#region src/automation-run-steps/interfaces/list-automation-run-steps.interface.d.ts
351
- type ListAutomationRunStepsOptions = PaginationOptions & {
352
- automationId: string;
353
- runId: string;
354
- };
355
- type ListAutomationRunStepsResponseSuccess = PaginatedData<AutomationRunStepItem[]>;
356
- type ListAutomationRunStepsResponse = Response<ListAutomationRunStepsResponseSuccess>;
357
- //#endregion
358
- //#region src/automation-runs/interfaces/automation-run.d.ts
359
- interface AutomationRunTrigger {
360
- event_name: string;
361
- payload?: Record<string, unknown>;
362
- }
363
- type AutomationRunStatus = 'running' | 'completed' | 'failed' | 'cancelled';
364
- interface AutomationRun {
365
- object: 'automation_run';
366
- id: string;
367
- status: AutomationRunStatus;
368
- trigger: AutomationRunTrigger | null;
369
- started_at: string | null;
370
- completed_at: string | null;
371
- created_at: string;
372
- }
373
- type AutomationRunItem = Pick<AutomationRun, 'id' | 'status' | 'trigger' | 'started_at' | 'completed_at' | 'created_at'>;
374
- //#endregion
375
- //#region src/automation-runs/interfaces/get-automation-run.interface.d.ts
376
- interface GetAutomationRunOptions {
377
- automationId: string;
378
- runId: string;
379
- }
380
- type GetAutomationRunResponseSuccess = AutomationRun;
381
- type GetAutomationRunResponse = Response<GetAutomationRunResponseSuccess>;
382
- //#endregion
383
- //#region src/automation-runs/interfaces/list-automation-runs.interface.d.ts
384
- type ListAutomationRunsOptions = PaginationOptions & {
385
- automationId: string;
386
- };
387
- type ListAutomationRunsResponseSuccess = PaginatedData<AutomationRunItem[]>;
388
- type ListAutomationRunsResponse = Response<ListAutomationRunsResponseSuccess>;
389
- //#endregion
390
- //#region src/automations/interfaces/automation.d.ts
391
- interface Automation {
392
- id: string;
393
- name: string;
394
- status: 'enabled' | 'disabled';
395
- created_at: string;
396
- updated_at: string | null;
397
- }
398
- type AutomationStatus = Automation['status'];
399
- //#endregion
400
- //#region src/automations/interfaces/create-automation-options.interface.d.ts
401
- interface CreateAutomationOptions {
402
- name: string;
403
- status?: AutomationStatus;
404
- steps: AutomationStep[];
405
- edges: AutomationEdge[];
406
- }
407
- interface CreateAutomationResponseSuccess {
408
- object: 'automation';
409
- id: string;
410
- }
411
- type CreateAutomationResponse = Response<CreateAutomationResponseSuccess>;
412
- //#endregion
413
- //#region src/automations/interfaces/get-automation.interface.d.ts
414
- interface GetAutomationResponseSuccess extends Automation {
415
- object: 'automation';
416
- steps: AutomationResponseStep[];
417
- edges: AutomationResponseEdge[];
418
- }
419
- type GetAutomationResponse = Response<GetAutomationResponseSuccess>;
420
- //#endregion
421
- //#region src/automations/interfaces/list-automation.interface.d.ts
422
- type ListAutomationsOptions = PaginationOptions;
423
- type ListAutomationsResponseSuccess = PaginatedData<Automation[]>;
424
- type ListAutomationsResponse = Response<ListAutomationsResponseSuccess>;
425
- //#endregion
426
- //#region src/automations/interfaces/remove-automation.interface.d.ts
427
- interface RemoveAutomationResponseSuccess extends Pick<Automation, 'id'> {
428
- object: 'automation';
429
- deleted: boolean;
430
- }
431
- type RemoveAutomationResponse = Response<RemoveAutomationResponseSuccess>;
432
- //#endregion
433
- //#region src/automations/interfaces/update-automation.interface.d.ts
434
- interface UpdateAutomationOptions {
435
- status: AutomationStatus;
436
- }
437
- interface UpdateAutomationResponseSuccess extends Pick<Automation, 'id' | 'status'> {
438
- object: 'automation';
439
- }
440
- type UpdateAutomationResponse = Response<UpdateAutomationResponseSuccess>;
441
- //#endregion
442
238
  //#region src/emails/interfaces/create-email-options.interface.d.ts
443
239
  interface EmailRenderOptions$1 {
444
240
  /**
@@ -1320,77 +1116,32 @@ type ListReceivingEmailsResponse = {
1320
1116
  error: ErrorResponse;
1321
1117
  };
1322
1118
  //#endregion
1323
- //#region src/events/interfaces/event.d.ts
1324
- type EventSchemaType = 'string' | 'number' | 'boolean' | 'date';
1325
- type EventSchemaMap = Record<string, EventSchemaType>;
1326
- interface Event {
1119
+ //#region src/logs/interfaces/log.d.ts
1120
+ interface Log {
1327
1121
  id: string;
1328
- name: string;
1329
- schema: EventSchemaMap | null;
1330
1122
  created_at: string;
1331
- updated_at: string | null;
1332
- }
1333
- //#endregion
1334
- //#region src/events/interfaces/create-event.interface.d.ts
1335
- interface CreateEventOptions {
1336
- name: string;
1337
- schema?: EventSchemaMap | null;
1338
- }
1339
- interface CreateEventResponseSuccess {
1340
- object: 'event';
1341
- id: string;
1342
- }
1343
- type CreateEventResponse = Response<CreateEventResponseSuccess>;
1344
- //#endregion
1345
- //#region src/events/interfaces/get-event.interface.d.ts
1346
- interface GetEventResponseSuccess extends Event {
1347
- object: 'event';
1348
- }
1349
- type GetEventResponse = Response<GetEventResponseSuccess>;
1350
- //#endregion
1351
- //#region src/events/interfaces/list-events.interface.d.ts
1352
- type ListEventsOptions = PaginationOptions;
1353
- interface ListEventsResponseSuccess {
1123
+ endpoint: string;
1124
+ method: string;
1125
+ response_status: number;
1126
+ user_agent: string | null;
1127
+ request_body: unknown;
1128
+ response_body: unknown;
1129
+ }
1130
+ //#endregion
1131
+ //#region src/logs/interfaces/get-log.interface.d.ts
1132
+ type GetLogResponseSuccess = {
1133
+ object: 'log';
1134
+ } & Log;
1135
+ type GetLogResponse = Response<GetLogResponseSuccess>;
1136
+ //#endregion
1137
+ //#region src/logs/interfaces/list-logs.interface.d.ts
1138
+ type ListLogsOptions = PaginationOptions;
1139
+ type ListLogsResponseSuccess = {
1354
1140
  object: 'list';
1355
1141
  has_more: boolean;
1356
- data: Event[];
1357
- }
1358
- type ListEventsResponse = Response<ListEventsResponseSuccess>;
1359
- //#endregion
1360
- //#region src/events/interfaces/remove-event.interface.d.ts
1361
- interface RemoveEventResponseSuccess extends Pick<Event, 'id'> {
1362
- object: 'event';
1363
- deleted: boolean;
1364
- }
1365
- type RemoveEventResponse = Response<RemoveEventResponseSuccess>;
1366
- //#endregion
1367
- //#region src/events/interfaces/send-event.interface.d.ts
1368
- type SendEventOptions = {
1369
- event: string;
1370
- contactId: string;
1371
- email?: never;
1372
- payload?: Record<string, unknown>;
1373
- } | {
1374
- event: string;
1375
- email: string;
1376
- contactId?: never;
1377
- payload?: Record<string, unknown>;
1142
+ data: Pick<Log, 'id' | 'created_at' | 'endpoint' | 'method' | 'response_status' | 'user_agent'>[];
1378
1143
  };
1379
- interface SendEventResponseSuccess {
1380
- object: 'event';
1381
- event: string;
1382
- }
1383
- type SendEventResponse = Response<SendEventResponseSuccess>;
1384
- //#endregion
1385
- //#region src/events/interfaces/update-event.interface.d.ts
1386
- interface UpdateEventOptions {
1387
- schema: EventSchemaMap | null;
1388
- }
1389
- interface UpdateEventResponseSuccess {
1390
- object: 'event';
1391
- id: string;
1392
- }
1393
- type UpdateEventResponse = Response<UpdateEventResponseSuccess>;
1144
+ type ListLogsResponse = Response<ListLogsResponseSuccess>;
1394
1145
  //#endregion
1395
1146
  //#region src/api-keys/api-keys.d.ts
1396
1147
  declare class ApiKeys {
@@ -1401,35 +1152,6 @@ declare class ApiKeys {
1401
1152
  remove(id: string): Promise<RemoveApiKeyResponse>;
1402
1153
  }
1403
1154
  //#endregion
1404
- //#region src/automation-run-steps/automation-run-steps.d.ts
1405
- declare class AutomationRunSteps {
1406
- private readonly resend;
1407
- constructor(resend: Resend);
1408
- get(options: GetAutomationRunStepOptions): Promise<GetAutomationRunStepResponse>;
1409
- list(options: ListAutomationRunStepsOptions): Promise<ListAutomationRunStepsResponse>;
1410
- }
1411
- //#endregion
1412
- //#region src/automation-runs/automation-runs.d.ts
1413
- declare class AutomationRuns {
1414
- private readonly resend;
1415
- readonly steps: AutomationRunSteps;
1416
- constructor(resend: Resend);
1417
- get(options: GetAutomationRunOptions): Promise<GetAutomationRunResponse>;
1418
- list(options: ListAutomationRunsOptions): Promise<ListAutomationRunsResponse>;
1419
- }
1420
- //#endregion
1421
- //#region src/automations/automations.d.ts
1422
- declare class Automations {
1423
- private readonly resend;
1424
- readonly runs: AutomationRuns;
1425
- constructor(resend: Resend);
1426
- create(payload: CreateAutomationOptions): Promise<CreateAutomationResponse>;
1427
- list(options?: ListAutomationsOptions): Promise<ListAutomationsResponse>;
1428
- get(id: string): Promise<GetAutomationResponse>;
1429
- remove(id: string): Promise<RemoveAutomationResponse>;
1430
- update(id: string, payload: UpdateAutomationOptions): Promise<UpdateAutomationResponse>;
1431
- }
1432
- //#endregion
1433
1155
  //#region src/batch/batch.d.ts
1434
1156
  declare class Batch {
1435
1157
  private readonly resend;
@@ -1546,16 +1268,12 @@ declare class Emails {
1546
1268
  cancel(id: string): Promise<CancelEmailResponse>;
1547
1269
  }
1548
1270
  //#endregion
1549
- //#region src/events/events.d.ts
1550
- declare class Events {
1271
+ //#region src/logs/logs.d.ts
1272
+ declare class Logs {
1551
1273
  private readonly resend;
1552
1274
  constructor(resend: Resend);
1553
- send(payload: SendEventOptions): Promise<SendEventResponse>;
1554
- create(payload: CreateEventOptions): Promise<CreateEventResponse>;
1555
- get(identifier: string): Promise<GetEventResponse>;
1556
- list(options?: ListEventsOptions): Promise<ListEventsResponse>;
1557
- update(identifier: string, payload: UpdateEventOptions): Promise<UpdateEventResponse>;
1558
- remove(identifier: string): Promise<RemoveEventResponse>;
1275
+ list(options?: ListLogsOptions): Promise<ListLogsResponse>;
1276
+ get(id: string): Promise<GetLogResponse>;
1559
1277
  }
1560
1278
  //#endregion
1561
1279
  //#region src/segments/interfaces/create-segment-options.interface.d.ts
@@ -2047,14 +1765,13 @@ declare class Resend {
2047
1765
  * @deprecated Use segments instead
2048
1766
  */
2049
1767
  readonly audiences: Segments;
2050
- readonly automations: Automations;
2051
1768
  readonly batch: Batch;
2052
1769
  readonly broadcasts: Broadcasts;
2053
1770
  readonly contacts: Contacts;
2054
1771
  readonly contactProperties: ContactProperties;
2055
1772
  readonly domains: Domains;
2056
1773
  readonly emails: Emails;
2057
- readonly events: Events;
1774
+ readonly logs: Logs;
2058
1775
  readonly webhooks: Webhooks;
2059
1776
  readonly templates: Templates;
2060
1777
  readonly topics: Topics;
@@ -2067,4 +1784,4 @@ declare class Resend {
2067
1784
  delete<T>(path: string, query?: unknown): Promise<Response<T>>;
2068
1785
  }
2069
1786
  //#endregion
2070
- export { AddContactSegmentOptions, AddContactSegmentResponse, AddContactSegmentResponseSuccess, ApiContactProperty, ApiKey, Attachment, AttachmentData, Automation, AutomationEdge, AutomationEdgeType, AutomationResponseEdge, AutomationResponseStep, AutomationRun, AutomationRunItem, AutomationRunStatus, AutomationRunStep, AutomationRunStepItem, AutomationRunStepStatus, AutomationRunTrigger, AutomationStatus, AutomationStep, AutomationStepType, Broadcast, CancelEmailResponse, CancelEmailResponseSuccess, ConditionRule, ConditionStepConfig, Contact, ContactCreatedEvent, ContactDeletedEvent, ContactProperty, ContactSegmentsBaseOptions, ContactTopic, ContactUpdatedEvent, CreateApiKeyOptions, CreateApiKeyRequestOptions, CreateApiKeyResponse, CreateApiKeyResponseSuccess, CreateAutomationOptions, CreateAutomationResponse, CreateAutomationResponseSuccess, CreateBatchEmailOptions, CreateBatchOptions, CreateBatchRequestOptions, CreateBatchResponse, CreateBatchSuccessResponse, CreateBroadcastOptions, CreateBroadcastRequestOptions, CreateBroadcastResponse, CreateBroadcastResponseSuccess, CreateContactOptions, CreateContactPropertyApiOptions, CreateContactPropertyOptions, CreateContactPropertyResponse, CreateContactPropertyResponseSuccess, CreateContactRequestOptions, CreateContactResponse, CreateContactResponseSuccess, CreateDomainOptions, CreateDomainRequestOptions, CreateDomainResponse, CreateDomainResponseSuccess, CreateEmailOptions, CreateEmailRequestOptions, CreateEmailResponse, CreateEmailResponseSuccess, CreateEventOptions, CreateEventResponse, CreateEventResponseSuccess, CreateSegmentOptions, CreateSegmentRequestOptions, CreateSegmentResponse, CreateSegmentResponseSuccess, CreateTemplateOptions, CreateTemplateRequestOptions, CreateTemplateResponse, CreateTemplateResponseSuccess, CreateTopicOptions, CreateTopicResponse, CreateTopicResponseSuccess, CreateWebhookOptions, CreateWebhookRequestOptions, CreateWebhookResponse, CreateWebhookResponseSuccess, DelayStepConfig, Domain, DomainApiOptions, DomainCapabilities, DomainCapabilityStatus, DomainCreatedEvent, DomainDeletedEvent, DomainDkimRecord, DomainNameservers, DomainRecords, DomainRegion, DomainSpfRecord, DomainStatus, DomainUpdatedEvent, DuplicateTemplateResponse, DuplicateTemplateResponseSuccess, EmailApiAttachment, EmailApiOptions, EmailBouncedEvent, EmailClickedEvent, EmailComplainedEvent, EmailDeliveredEvent, EmailDeliveryDelayedEvent, EmailFailedEvent, EmailOpenedEvent, EmailReceivedEvent, EmailScheduledEvent, EmailSentEvent, EmailSuppressedEvent, type ErrorResponse, Event, EventSchemaMap, EventSchemaType, ForwardReceivingEmailOptions, ForwardReceivingEmailResponse, ForwardReceivingEmailResponseSuccess, GetAttachmentOptions, GetAttachmentResponse, GetAttachmentResponseSuccess, GetAutomationResponse, GetAutomationResponseSuccess, GetAutomationRunOptions, GetAutomationRunResponse, GetAutomationRunResponseSuccess, GetAutomationRunStepOptions, GetAutomationRunStepResponse, GetAutomationRunStepResponseSuccess, GetBroadcastResponse, GetBroadcastResponseSuccess, GetContactOptions, GetContactPropertyResponse, GetContactPropertyResponseSuccess, GetContactResponse, GetContactResponseSuccess, GetDomainResponse, GetDomainResponseSuccess, GetEmailResponse, GetEmailResponseSuccess, GetEventResponse, GetEventResponseSuccess, GetOptions, GetReceivingEmailResponse, GetReceivingEmailResponseSuccess, GetSegmentResponse, GetSegmentResponseSuccess, GetTemplateResponse, GetTemplateResponseSuccess, GetTopicOptions, GetTopicResponse, GetTopicResponseSuccess, GetWebhookResponse, GetWebhookResponseSuccess, IdempotentRequest, InboundAttachment, LegacyCreateContactOptions, ListApiKeysOptions, ListApiKeysResponse, ListApiKeysResponseSuccess, ListAttachmentsOptions, ListAttachmentsResponse, ListAttachmentsResponseSuccess, ListAutomationRunStepsOptions, ListAutomationRunStepsResponse, ListAutomationRunStepsResponseSuccess, ListAutomationRunsOptions, ListAutomationRunsResponse, ListAutomationRunsResponseSuccess, ListAutomationsOptions, ListAutomationsResponse, ListAutomationsResponseSuccess, ListBroadcastsOptions, ListBroadcastsResponse, ListBroadcastsResponseSuccess, ListContactPropertiesOptions, ListContactPropertiesResponse, ListContactPropertiesResponseSuccess, ListContactSegmentsOptions, ListContactSegmentsResponse, ListContactSegmentsResponseSuccess, ListContactTopicsOptions, ListContactTopicsRequestOptions, ListContactTopicsResponse, ListContactTopicsResponseSuccess, ListContactsOptions, ListContactsResponse, ListContactsResponseSuccess, ListDomainsOptions, ListDomainsResponse, ListDomainsResponseSuccess, ListEmail, ListEmailsOptions, ListEmailsResponse, ListEmailsResponseSuccess, ListEventsOptions, ListEventsResponse, ListEventsResponseSuccess, ListReceivingEmail, ListReceivingEmailsOptions, ListReceivingEmailsResponse, ListReceivingEmailsResponseSuccess, ListSegmentsOptions, ListSegmentsResponse, ListSegmentsResponseSuccess, ListTemplatesOptions, ListTemplatesResponse, ListTemplatesResponseSuccess, ListTopicsResponse, ListTopicsResponseSuccess, ListWebhooksOptions, ListWebhooksResponse, ListWebhooksResponseSuccess, PaginatedData, PaginationOptions, PatchOptions, PostOptions, PublishTemplateResponse, PublishTemplateResponseSuccess, PutOptions, ReceivingRecord, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveAutomationResponse, RemoveAutomationResponseSuccess, RemoveBroadcastResponse, RemoveBroadcastResponseSuccess, RemoveContactOptions, RemoveContactPropertyResponse, RemoveContactPropertyResponseSuccess, RemoveContactSegmentOptions, RemoveContactSegmentResponse, RemoveContactSegmentResponseSuccess, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, RemoveEventResponse, RemoveEventResponseSuccess, RemoveSegmentResponse, RemoveSegmentResponseSuccess, RemoveTemplateResponse, RemoveTemplateResponseSuccess, RemoveTopicResponse, RemoveTopicResponseSuccess, RemoveWebhookResponse, RemoveWebhookResponseSuccess, RequireAtLeastOne, Resend, type Response, Segment, SelectingField, SendBroadcastOptions, SendBroadcastRequestOptions, SendBroadcastResponse, SendBroadcastResponseSuccess, SendEmailStepConfig, SendEventOptions, SendEventResponse, SendEventResponseSuccess, Tag, Template, TemplateVariable, TemplateVariableValue, Topic, TriggerStepConfig, UpdateAutomationOptions, UpdateAutomationResponse, UpdateAutomationResponseSuccess, UpdateBroadcastOptions, UpdateBroadcastResponse, UpdateBroadcastResponseSuccess, UpdateContactOptions, UpdateContactPropertyApiOptions, UpdateContactPropertyOptions, UpdateContactPropertyResponse, UpdateContactPropertyResponseSuccess, UpdateContactResponse, UpdateContactResponseSuccess, UpdateContactTopicsOptions, UpdateContactTopicsRequestOptions, UpdateContactTopicsResponse, UpdateContactTopicsResponseSuccess, UpdateDomainsOptions, UpdateDomainsResponse, UpdateDomainsResponseSuccess, UpdateEmailOptions, UpdateEmailResponse, UpdateEmailResponseSuccess, UpdateEventOptions, UpdateEventResponse, UpdateEventResponseSuccess, UpdateTemplateOptions, UpdateTemplateResponse, UpdateTemplateResponseSuccess, UpdateTopicOptions, UpdateTopicResponse, UpdateTopicResponseSuccess, UpdateWebhookOptions, UpdateWebhookResponse, UpdateWebhookResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess, WaitForEventStepConfig, Webhook, WebhookEvent, WebhookEventPayload };
1787
+ export { AddContactSegmentOptions, AddContactSegmentResponse, AddContactSegmentResponseSuccess, ApiContactProperty, ApiKey, Attachment, AttachmentData, Broadcast, CancelEmailResponse, CancelEmailResponseSuccess, Contact, ContactCreatedEvent, ContactDeletedEvent, ContactProperty, ContactSegmentsBaseOptions, ContactTopic, ContactUpdatedEvent, CreateApiKeyOptions, CreateApiKeyRequestOptions, CreateApiKeyResponse, CreateApiKeyResponseSuccess, CreateBatchEmailOptions, CreateBatchOptions, CreateBatchRequestOptions, CreateBatchResponse, CreateBatchSuccessResponse, CreateBroadcastOptions, CreateBroadcastRequestOptions, CreateBroadcastResponse, CreateBroadcastResponseSuccess, CreateContactOptions, CreateContactPropertyApiOptions, CreateContactPropertyOptions, CreateContactPropertyResponse, CreateContactPropertyResponseSuccess, CreateContactRequestOptions, CreateContactResponse, CreateContactResponseSuccess, CreateDomainOptions, CreateDomainRequestOptions, CreateDomainResponse, CreateDomainResponseSuccess, CreateEmailOptions, CreateEmailRequestOptions, CreateEmailResponse, CreateEmailResponseSuccess, CreateSegmentOptions, CreateSegmentRequestOptions, CreateSegmentResponse, CreateSegmentResponseSuccess, CreateTemplateOptions, CreateTemplateRequestOptions, CreateTemplateResponse, CreateTemplateResponseSuccess, CreateTopicOptions, CreateTopicResponse, CreateTopicResponseSuccess, CreateWebhookOptions, CreateWebhookRequestOptions, CreateWebhookResponse, CreateWebhookResponseSuccess, Domain, DomainApiOptions, DomainCapabilities, DomainCapabilityStatus, DomainCreatedEvent, DomainDeletedEvent, DomainDkimRecord, DomainNameservers, DomainRecords, DomainRegion, DomainSpfRecord, DomainStatus, DomainUpdatedEvent, DuplicateTemplateResponse, DuplicateTemplateResponseSuccess, EmailApiAttachment, EmailApiOptions, EmailBouncedEvent, EmailClickedEvent, EmailComplainedEvent, EmailDeliveredEvent, EmailDeliveryDelayedEvent, EmailFailedEvent, EmailOpenedEvent, EmailReceivedEvent, EmailScheduledEvent, EmailSentEvent, EmailSuppressedEvent, type ErrorResponse, ForwardReceivingEmailOptions, ForwardReceivingEmailResponse, ForwardReceivingEmailResponseSuccess, GetAttachmentOptions, GetAttachmentResponse, GetAttachmentResponseSuccess, GetBroadcastResponse, GetBroadcastResponseSuccess, GetContactOptions, GetContactPropertyResponse, GetContactPropertyResponseSuccess, GetContactResponse, GetContactResponseSuccess, GetDomainResponse, GetDomainResponseSuccess, GetEmailResponse, GetEmailResponseSuccess, GetLogResponse, GetLogResponseSuccess, GetOptions, GetReceivingEmailResponse, GetReceivingEmailResponseSuccess, GetSegmentResponse, GetSegmentResponseSuccess, GetTemplateResponse, GetTemplateResponseSuccess, GetTopicOptions, GetTopicResponse, GetTopicResponseSuccess, GetWebhookResponse, GetWebhookResponseSuccess, IdempotentRequest, InboundAttachment, LegacyCreateContactOptions, ListApiKeysOptions, ListApiKeysResponse, ListApiKeysResponseSuccess, ListAttachmentsOptions, ListAttachmentsResponse, ListAttachmentsResponseSuccess, ListBroadcastsOptions, ListBroadcastsResponse, ListBroadcastsResponseSuccess, ListContactPropertiesOptions, ListContactPropertiesResponse, ListContactPropertiesResponseSuccess, ListContactSegmentsOptions, ListContactSegmentsResponse, ListContactSegmentsResponseSuccess, ListContactTopicsOptions, ListContactTopicsRequestOptions, ListContactTopicsResponse, ListContactTopicsResponseSuccess, ListContactsOptions, ListContactsResponse, ListContactsResponseSuccess, ListDomainsOptions, ListDomainsResponse, ListDomainsResponseSuccess, ListEmail, ListEmailsOptions, ListEmailsResponse, ListEmailsResponseSuccess, ListLogsOptions, ListLogsResponse, ListLogsResponseSuccess, ListReceivingEmail, ListReceivingEmailsOptions, ListReceivingEmailsResponse, ListReceivingEmailsResponseSuccess, ListSegmentsOptions, ListSegmentsResponse, ListSegmentsResponseSuccess, ListTemplatesOptions, ListTemplatesResponse, ListTemplatesResponseSuccess, ListTopicsResponse, ListTopicsResponseSuccess, ListWebhooksOptions, ListWebhooksResponse, ListWebhooksResponseSuccess, Log, PaginatedData, PaginationOptions, PatchOptions, PostOptions, PublishTemplateResponse, PublishTemplateResponseSuccess, PutOptions, ReceivingRecord, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveBroadcastResponse, RemoveBroadcastResponseSuccess, RemoveContactOptions, RemoveContactPropertyResponse, RemoveContactPropertyResponseSuccess, RemoveContactSegmentOptions, RemoveContactSegmentResponse, RemoveContactSegmentResponseSuccess, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, RemoveSegmentResponse, RemoveSegmentResponseSuccess, RemoveTemplateResponse, RemoveTemplateResponseSuccess, RemoveTopicResponse, RemoveTopicResponseSuccess, RemoveWebhookResponse, RemoveWebhookResponseSuccess, RequireAtLeastOne, Resend, type Response, Segment, SelectingField, SendBroadcastOptions, SendBroadcastRequestOptions, SendBroadcastResponse, SendBroadcastResponseSuccess, Tag, Template, TemplateVariable, Topic, UpdateBroadcastOptions, UpdateBroadcastResponse, UpdateBroadcastResponseSuccess, UpdateContactOptions, UpdateContactPropertyApiOptions, UpdateContactPropertyOptions, UpdateContactPropertyResponse, UpdateContactPropertyResponseSuccess, UpdateContactResponse, UpdateContactResponseSuccess, UpdateContactTopicsOptions, UpdateContactTopicsRequestOptions, UpdateContactTopicsResponse, UpdateContactTopicsResponseSuccess, UpdateDomainsOptions, UpdateDomainsResponse, UpdateDomainsResponseSuccess, UpdateEmailOptions, UpdateEmailResponse, UpdateEmailResponseSuccess, UpdateTemplateOptions, UpdateTemplateResponse, UpdateTemplateResponseSuccess, UpdateTopicOptions, UpdateTopicResponse, UpdateTopicResponseSuccess, UpdateWebhookOptions, UpdateWebhookResponse, UpdateWebhookResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess, Webhook, WebhookEvent, WebhookEventPayload };