resend 6.10.0-preview-workflows.1 → 6.10.0-preview-workflows.2
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 +140 -120
- package/dist/index.d.cts +252 -17
- package/dist/index.d.mts +252 -17
- package/dist/index.mjs +133 -108
- package/package.json +23 -21
package/dist/index.d.cts
CHANGED
|
@@ -234,6 +234,211 @@ type ListApiKeysResponse = Response<ListApiKeysResponseSuccess>;
|
|
|
234
234
|
type RemoveApiKeyResponseSuccess = {};
|
|
235
235
|
type RemoveApiKeyResponse = Response<RemoveApiKeyResponseSuccess>;
|
|
236
236
|
//#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
|
|
237
442
|
//#region src/emails/interfaces/create-email-options.interface.d.ts
|
|
238
443
|
interface EmailRenderOptions$1 {
|
|
239
444
|
/**
|
|
@@ -1197,6 +1402,35 @@ declare class ApiKeys {
|
|
|
1197
1402
|
remove(id: string): Promise<RemoveApiKeyResponse>;
|
|
1198
1403
|
}
|
|
1199
1404
|
//#endregion
|
|
1405
|
+
//#region src/automation-run-steps/automation-run-steps.d.ts
|
|
1406
|
+
declare class AutomationRunSteps {
|
|
1407
|
+
private readonly resend;
|
|
1408
|
+
constructor(resend: Resend);
|
|
1409
|
+
get(options: GetAutomationRunStepOptions): Promise<GetAutomationRunStepResponse>;
|
|
1410
|
+
list(options: ListAutomationRunStepsOptions): Promise<ListAutomationRunStepsResponse>;
|
|
1411
|
+
}
|
|
1412
|
+
//#endregion
|
|
1413
|
+
//#region src/automation-runs/automation-runs.d.ts
|
|
1414
|
+
declare class AutomationRuns {
|
|
1415
|
+
private readonly resend;
|
|
1416
|
+
readonly steps: AutomationRunSteps;
|
|
1417
|
+
constructor(resend: Resend);
|
|
1418
|
+
get(options: GetAutomationRunOptions): Promise<GetAutomationRunResponse>;
|
|
1419
|
+
list(options: ListAutomationRunsOptions): Promise<ListAutomationRunsResponse>;
|
|
1420
|
+
}
|
|
1421
|
+
//#endregion
|
|
1422
|
+
//#region src/automations/automations.d.ts
|
|
1423
|
+
declare class Automations {
|
|
1424
|
+
private readonly resend;
|
|
1425
|
+
readonly runs: AutomationRuns;
|
|
1426
|
+
constructor(resend: Resend);
|
|
1427
|
+
create(payload: CreateAutomationOptions): Promise<CreateAutomationResponse>;
|
|
1428
|
+
list(options?: ListAutomationsOptions): Promise<ListAutomationsResponse>;
|
|
1429
|
+
get(id: string): Promise<GetAutomationResponse>;
|
|
1430
|
+
remove(id: string): Promise<RemoveAutomationResponse>;
|
|
1431
|
+
update(id: string, payload: UpdateAutomationOptions): Promise<UpdateAutomationResponse>;
|
|
1432
|
+
}
|
|
1433
|
+
//#endregion
|
|
1200
1434
|
//#region src/batch/batch.d.ts
|
|
1201
1435
|
declare class Batch {
|
|
1202
1436
|
private readonly resend;
|
|
@@ -1805,7 +2039,7 @@ declare class Webhooks {
|
|
|
1805
2039
|
}
|
|
1806
2040
|
//#endregion
|
|
1807
2041
|
//#region src/workflows/interfaces/workflow-step.interface.d.ts
|
|
1808
|
-
type ConditionRule = {
|
|
2042
|
+
type ConditionRule$1 = {
|
|
1809
2043
|
type: 'rule';
|
|
1810
2044
|
field: string;
|
|
1811
2045
|
operator: 'eq' | 'neq';
|
|
@@ -1826,53 +2060,53 @@ type ConditionRule = {
|
|
|
1826
2060
|
operator: 'exists' | 'is_empty';
|
|
1827
2061
|
} | {
|
|
1828
2062
|
type: 'and';
|
|
1829
|
-
rules: ConditionRule[];
|
|
2063
|
+
rules: ConditionRule$1[];
|
|
1830
2064
|
} | {
|
|
1831
2065
|
type: 'or';
|
|
1832
|
-
rules: ConditionRule[];
|
|
2066
|
+
rules: ConditionRule$1[];
|
|
1833
2067
|
};
|
|
1834
|
-
type TemplateVariableValue = string | number | boolean | {
|
|
2068
|
+
type TemplateVariableValue$1 = string | number | boolean | {
|
|
1835
2069
|
var: string;
|
|
1836
2070
|
} | Record<string, string | number | boolean> | Array<string | number | boolean | Record<string, string | number | boolean>>;
|
|
1837
|
-
interface TriggerStepConfig {
|
|
2071
|
+
interface TriggerStepConfig$1 {
|
|
1838
2072
|
eventName: string;
|
|
1839
2073
|
}
|
|
1840
|
-
interface DelayStepConfig {
|
|
2074
|
+
interface DelayStepConfig$1 {
|
|
1841
2075
|
seconds: number;
|
|
1842
2076
|
}
|
|
1843
|
-
interface SendEmailStepConfig {
|
|
2077
|
+
interface SendEmailStepConfig$1 {
|
|
1844
2078
|
templateId: string;
|
|
1845
2079
|
subject?: string;
|
|
1846
2080
|
from?: string;
|
|
1847
2081
|
replyTo?: string;
|
|
1848
|
-
variables?: Record<string, TemplateVariableValue>;
|
|
2082
|
+
variables?: Record<string, TemplateVariableValue$1>;
|
|
1849
2083
|
}
|
|
1850
|
-
interface WaitForEventStepConfig {
|
|
2084
|
+
interface WaitForEventStepConfig$1 {
|
|
1851
2085
|
eventName: string;
|
|
1852
2086
|
timeoutSeconds?: number;
|
|
1853
|
-
filterRule?: ConditionRule;
|
|
2087
|
+
filterRule?: ConditionRule$1;
|
|
1854
2088
|
}
|
|
1855
|
-
type ConditionStepConfig = ConditionRule;
|
|
2089
|
+
type ConditionStepConfig$1 = ConditionRule$1;
|
|
1856
2090
|
type WorkflowStep = {
|
|
1857
2091
|
ref: string;
|
|
1858
2092
|
type: 'trigger';
|
|
1859
|
-
config: TriggerStepConfig;
|
|
2093
|
+
config: TriggerStepConfig$1;
|
|
1860
2094
|
} | {
|
|
1861
2095
|
ref: string;
|
|
1862
2096
|
type: 'delay';
|
|
1863
|
-
config: DelayStepConfig;
|
|
2097
|
+
config: DelayStepConfig$1;
|
|
1864
2098
|
} | {
|
|
1865
2099
|
ref: string;
|
|
1866
2100
|
type: 'send_email';
|
|
1867
|
-
config: SendEmailStepConfig;
|
|
2101
|
+
config: SendEmailStepConfig$1;
|
|
1868
2102
|
} | {
|
|
1869
2103
|
ref: string;
|
|
1870
2104
|
type: 'wait_for_event';
|
|
1871
|
-
config: WaitForEventStepConfig;
|
|
2105
|
+
config: WaitForEventStepConfig$1;
|
|
1872
2106
|
} | {
|
|
1873
2107
|
ref: string;
|
|
1874
2108
|
type: 'condition';
|
|
1875
|
-
config: ConditionStepConfig;
|
|
2109
|
+
config: ConditionStepConfig$1;
|
|
1876
2110
|
};
|
|
1877
2111
|
type WorkflowEdgeType = 'default' | 'condition_met' | 'condition_not_met' | 'timeout' | 'event_received';
|
|
1878
2112
|
interface WorkflowEdge {
|
|
@@ -2048,6 +2282,7 @@ declare class Resend {
|
|
|
2048
2282
|
* @deprecated Use segments instead
|
|
2049
2283
|
*/
|
|
2050
2284
|
readonly audiences: Segments;
|
|
2285
|
+
readonly automations: Automations;
|
|
2051
2286
|
readonly batch: Batch;
|
|
2052
2287
|
readonly broadcasts: Broadcasts;
|
|
2053
2288
|
readonly contacts: Contacts;
|
|
@@ -2068,4 +2303,4 @@ declare class Resend {
|
|
|
2068
2303
|
delete<T>(path: string, query?: unknown): Promise<Response<T>>;
|
|
2069
2304
|
}
|
|
2070
2305
|
//#endregion
|
|
2071
|
-
export { AddContactSegmentOptions, AddContactSegmentResponse, AddContactSegmentResponseSuccess, ApiContactProperty, ApiKey, Attachment, AttachmentData, Broadcast, CancelEmailResponse, CancelEmailResponseSuccess, ConditionRule, ConditionStepConfig, 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, CreateEventOptions, CreateEventResponse, CreateEventResponseSuccess, CreateSegmentOptions, CreateSegmentRequestOptions, CreateSegmentResponse, CreateSegmentResponseSuccess, CreateTemplateOptions, CreateTemplateRequestOptions, CreateTemplateResponse, CreateTemplateResponseSuccess, CreateTopicOptions, CreateTopicResponse, CreateTopicResponseSuccess, CreateWebhookOptions, CreateWebhookRequestOptions, CreateWebhookResponse, CreateWebhookResponseSuccess, CreateWorkflowOptions, CreateWorkflowResponse, CreateWorkflowResponseSuccess, 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, 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, GetWorkflowResponse, GetWorkflowResponseSuccess, GetWorkflowRunOptions, GetWorkflowRunResponse, GetWorkflowRunResponseSuccess, GetWorkflowRunStepOptions, GetWorkflowRunStepResponse, GetWorkflowRunStepResponseSuccess, 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, ListEventsOptions, ListEventsResponse, ListEventsResponseSuccess, ListReceivingEmail, ListReceivingEmailsOptions, ListReceivingEmailsResponse, ListReceivingEmailsResponseSuccess, ListSegmentsOptions, ListSegmentsResponse, ListSegmentsResponseSuccess, ListTemplatesOptions, ListTemplatesResponse, ListTemplatesResponseSuccess, ListTopicsResponse, ListTopicsResponseSuccess, ListWebhooksOptions, ListWebhooksResponse, ListWebhooksResponseSuccess, ListWorkflowRunStepsOptions, ListWorkflowRunStepsResponse, ListWorkflowRunStepsResponseSuccess, ListWorkflowRunsOptions, ListWorkflowRunsResponse, ListWorkflowRunsResponseSuccess, ListWorkflowsOptions, ListWorkflowsResponse, ListWorkflowsResponseSuccess, PaginatedData, PaginationOptions, PatchOptions, PostOptions, PublishTemplateResponse, PublishTemplateResponseSuccess, PutOptions, ReceivingRecord, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveBroadcastResponse, RemoveBroadcastResponseSuccess, RemoveContactOptions, RemoveContactPropertyResponse, RemoveContactPropertyResponseSuccess, RemoveContactSegmentOptions, RemoveContactSegmentResponse, RemoveContactSegmentResponseSuccess, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, RemoveEventResponse, RemoveEventResponseSuccess, RemoveSegmentResponse, RemoveSegmentResponseSuccess, RemoveTemplateResponse, RemoveTemplateResponseSuccess, RemoveTopicResponse, RemoveTopicResponseSuccess, RemoveWebhookResponse, RemoveWebhookResponseSuccess, RemoveWorkflowResponse, RemoveWorkflowResponseSuccess, RequireAtLeastOne, Resend, type Response, Segment, SelectingField, SendBroadcastOptions, SendBroadcastRequestOptions, SendBroadcastResponse, SendBroadcastResponseSuccess, SendEmailStepConfig, SendEventOptions, SendEventResponse, SendEventResponseSuccess, Tag, Template, TemplateVariable, TemplateVariableValue, Topic, TriggerStepConfig, 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, UpdateWorkflowOptions, UpdateWorkflowResponse, UpdateWorkflowResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess, WaitForEventStepConfig, Webhook, WebhookEvent, WebhookEventPayload, Workflow, WorkflowEdge, WorkflowEdgeType, WorkflowResponseEdge, WorkflowResponseStep, WorkflowRun, WorkflowRunItem, WorkflowRunStatus, WorkflowRunStep, WorkflowRunStepItem, WorkflowRunStepStatus, WorkflowRunTrigger, WorkflowStatus, WorkflowStep, WorkflowStepType };
|
|
2306
|
+
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, CreateWorkflowOptions, CreateWorkflowResponse, CreateWorkflowResponseSuccess, 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, GetWorkflowResponse, GetWorkflowResponseSuccess, GetWorkflowRunOptions, GetWorkflowRunResponse, GetWorkflowRunResponseSuccess, GetWorkflowRunStepOptions, GetWorkflowRunStepResponse, GetWorkflowRunStepResponseSuccess, 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, ListWorkflowRunStepsOptions, ListWorkflowRunStepsResponse, ListWorkflowRunStepsResponseSuccess, ListWorkflowRunsOptions, ListWorkflowRunsResponse, ListWorkflowRunsResponseSuccess, ListWorkflowsOptions, ListWorkflowsResponse, ListWorkflowsResponseSuccess, 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, RemoveWorkflowResponse, RemoveWorkflowResponseSuccess, 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, UpdateWorkflowOptions, UpdateWorkflowResponse, UpdateWorkflowResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess, WaitForEventStepConfig, Webhook, WebhookEvent, WebhookEventPayload, Workflow, WorkflowEdge, WorkflowEdgeType, WorkflowResponseEdge, WorkflowResponseStep, WorkflowRun, WorkflowRunItem, WorkflowRunStatus, WorkflowRunStep, WorkflowRunStepItem, WorkflowRunStepStatus, WorkflowRunTrigger, WorkflowStatus, WorkflowStep, WorkflowStepType };
|