samva 0.11.0 → 0.13.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/{categories-DvsHUJtX.js → categories-Bcwq5jPV.js} +5 -1
- package/dist/client/sdk.gen.d.ts +48 -21
- package/dist/client/types.gen.d.ts +340 -64
- package/dist/{client-8YXjfsVc.js → client-DYPNDvVU.js} +330 -75
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +1 -1
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.d.ts +0 -3
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.d.ts +40 -8
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/email.d.ts +87 -2
- package/dist/effect/email.js +7 -3
- package/dist/effect/extension-installations.d.ts +66 -0
- package/dist/effect/extension-installations.js +5 -3
- package/dist/effect/extensions.js +1 -1
- package/dist/effect/feedback.js +2 -2
- package/dist/effect/generated-metadata.d.ts +4 -0
- package/dist/effect/generated.d.ts +1312 -162
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +5 -4
- package/dist/effect/internal/client.d.ts +14 -0
- package/dist/effect/internal/operation.d.ts +5 -2
- package/dist/effect/mailboxes.d.ts +6 -6
- package/dist/effect/mailboxes.js +2 -2
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +2 -2
- package/dist/effect/messages.js +1 -1
- package/dist/effect/namespaces.js +1 -1
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/retry.js +1 -1
- package/dist/effect/scheduled-messages.d.ts +1 -1
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.js +2 -2
- package/dist/effect/unsubscribe-groups.js +1 -1
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +4 -3
- package/dist/inline-attachments-B56eS0MF.js +121 -0
- package/dist/inline-attachments.d.ts +65 -0
- package/dist/{mailbox-events-CcWm8lO4.js → mailbox-events-CsbF35vH.js} +18 -6
- package/dist/mailbox-events.d.ts +8 -5
- package/dist/{mailboxes-4gJMAJh4.js → mailboxes-D3Kx7elM.js} +4 -4
- package/dist/{operation-BuyvAsZ1.js → operation-B_Ty1LG-.js} +45 -3
- package/dist/promises/errors.gen.d.ts +14 -2
- package/dist/promises/index.d.ts +1 -0
- package/dist/promises/index.js +4 -3
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-CqAmI39P.js → promises-D9FJyU0q.js} +178 -20
- package/dist/service-map.d.ts +15 -0
- package/package.json +2 -2
- package/dist/client-attribution-Ct2FKITg.js +0 -9
|
@@ -94,6 +94,36 @@ export type ExtensionVersionRef = {
|
|
|
94
94
|
};
|
|
95
95
|
export type ExtensionVersionId = string;
|
|
96
96
|
export type ExtensionId = string;
|
|
97
|
+
export type UpgradeExtensionResponse = {
|
|
98
|
+
installation: ExtensionInstallation;
|
|
99
|
+
fromVersion: ExtensionVersionRef;
|
|
100
|
+
toVersion: ExtensionVersionRef;
|
|
101
|
+
permissionDiff: ExtensionPermissionDiff;
|
|
102
|
+
dryRun: boolean;
|
|
103
|
+
versionChange: ExtensionVersionChange | null;
|
|
104
|
+
};
|
|
105
|
+
export type ExtensionVersionChange = {
|
|
106
|
+
id: string;
|
|
107
|
+
organizationId: OrganizationId;
|
|
108
|
+
installationId: ExtensionInstallationId;
|
|
109
|
+
extensionId: ExtensionId;
|
|
110
|
+
fromVersion: ExtensionVersionRef;
|
|
111
|
+
toVersion: ExtensionVersionRef;
|
|
112
|
+
permissionDiff: ExtensionPermissionDiff;
|
|
113
|
+
changedBy: UserId;
|
|
114
|
+
changedAt: string;
|
|
115
|
+
};
|
|
116
|
+
export type UserId = string;
|
|
117
|
+
export type ExtensionPermissionDiff = {
|
|
118
|
+
added: Array<"permission:read" | "permission:update" | "permission:send" | "permission:quarantine.read" | "event:mailbox.message.received" | "event:mailbox.message.sent" | "event:mailbox.action.pending_approval" | "event:mailbox.message.quarantined" | "event:mailbox.message.released" | "event:mailbox.message.discarded">;
|
|
119
|
+
removed: Array<"permission:read" | "permission:update" | "permission:send" | "permission:quarantine.read" | "event:mailbox.message.received" | "event:mailbox.message.sent" | "event:mailbox.action.pending_approval" | "event:mailbox.message.quarantined" | "event:mailbox.message.released" | "event:mailbox.message.discarded">;
|
|
120
|
+
};
|
|
121
|
+
export type OrganizationId = string;
|
|
122
|
+
export type UpgradeExtensionPayload = {
|
|
123
|
+
version?: string | ExtensionVersionId | null | undefined;
|
|
124
|
+
acceptPermissions?: Array<"permission:read" | "permission:update" | "permission:send" | "permission:quarantine.read" | "event:mailbox.message.received" | "event:mailbox.message.sent" | "event:mailbox.action.pending_approval" | "event:mailbox.message.quarantined" | "event:mailbox.message.released" | "event:mailbox.message.discarded"> | null | undefined;
|
|
125
|
+
dryRun?: boolean | null | undefined;
|
|
126
|
+
};
|
|
97
127
|
export type SuccessResponse = {
|
|
98
128
|
success: boolean;
|
|
99
129
|
};
|
|
@@ -274,6 +304,17 @@ export type BillingProviderError = {
|
|
|
274
304
|
_tag: "BillingProviderError";
|
|
275
305
|
message: string;
|
|
276
306
|
};
|
|
307
|
+
export type SenderNotReadyError = {
|
|
308
|
+
_tag: "SenderNotReadyError";
|
|
309
|
+
message: string;
|
|
310
|
+
sender: string;
|
|
311
|
+
retryAfterSeconds?: number | null | undefined;
|
|
312
|
+
};
|
|
313
|
+
export type RateLimitedError = {
|
|
314
|
+
_tag: "RateLimitedError";
|
|
315
|
+
message: string;
|
|
316
|
+
retryAfterSeconds: number;
|
|
317
|
+
};
|
|
277
318
|
export type PaymentRequiredError = {
|
|
278
319
|
_tag: "PaymentRequiredError";
|
|
279
320
|
message: string;
|
|
@@ -281,6 +322,15 @@ export type PaymentRequiredError = {
|
|
|
281
322
|
currentUsage: number;
|
|
282
323
|
limit: number;
|
|
283
324
|
};
|
|
325
|
+
export type OnboardingReviewRequiredError = {
|
|
326
|
+
_tag: "OnboardingReviewRequiredError";
|
|
327
|
+
message: string;
|
|
328
|
+
code: "review_required" | "review_in_progress" | "information_required" | "review_rejected" | "identity_review_required" | "identity_review_rejected" | "identity_changed";
|
|
329
|
+
decision: "undecided" | "approved" | "rejected";
|
|
330
|
+
stage: "collecting" | "automated_review" | "manual_review" | "information_requested" | "complete";
|
|
331
|
+
nextAction: "wait_for_review" | "provide_information" | "verify_sending_identity" | "reapply" | "contact_support";
|
|
332
|
+
identityId?: string | null | undefined;
|
|
333
|
+
};
|
|
284
334
|
export type MailboxActionPage = {
|
|
285
335
|
items: Array<MailboxAction>;
|
|
286
336
|
nextCursor: string | null;
|
|
@@ -668,7 +718,6 @@ export type CreateMailboxGrantPayload = {
|
|
|
668
718
|
role: MailboxGrantRole;
|
|
669
719
|
sendMode?: MailboxSendMode | null | undefined;
|
|
670
720
|
};
|
|
671
|
-
export type UserId = string;
|
|
672
721
|
export type MailboxGrantPage = {
|
|
673
722
|
items: Array<MailboxGrant>;
|
|
674
723
|
nextCursor: string | null;
|
|
@@ -871,11 +920,6 @@ export type ApiKeyPage = {
|
|
|
871
920
|
items: Array<ApiKey>;
|
|
872
921
|
nextCursor: string | null;
|
|
873
922
|
};
|
|
874
|
-
export type RateLimitedError = {
|
|
875
|
-
_tag: "RateLimitedError";
|
|
876
|
-
message: string;
|
|
877
|
-
retryAfterSeconds: number;
|
|
878
|
-
};
|
|
879
923
|
export type OperationAccepted = {
|
|
880
924
|
operation: Operation;
|
|
881
925
|
links: {
|
|
@@ -1124,7 +1168,6 @@ export type CreateBrand = {
|
|
|
1124
1168
|
export type BrandList = {
|
|
1125
1169
|
items: Array<Brand>;
|
|
1126
1170
|
};
|
|
1127
|
-
export type OrganizationId = string;
|
|
1128
1171
|
export type TemplateProjectId = string;
|
|
1129
1172
|
export type TemplateId = string;
|
|
1130
1173
|
export type TemplateInputContractId = string;
|
|
@@ -1407,25 +1450,6 @@ export type BulkUpdateResult = {
|
|
|
1407
1450
|
updated: number;
|
|
1408
1451
|
failed: number;
|
|
1409
1452
|
};
|
|
1410
|
-
export type UnknownRecord = {
|
|
1411
|
-
[key: string]: JsonValue;
|
|
1412
|
-
};
|
|
1413
|
-
export type Contact = {
|
|
1414
|
-
id: ContactId;
|
|
1415
|
-
name: string;
|
|
1416
|
-
displayName: string | null;
|
|
1417
|
-
avatar: string | null;
|
|
1418
|
-
status: "active" | "paused" | "blocked" | "archived";
|
|
1419
|
-
statusReason: string | null;
|
|
1420
|
-
externalId: string | null;
|
|
1421
|
-
identities: Array<ContactIdentity>;
|
|
1422
|
-
profile: ContactProfile | null;
|
|
1423
|
-
preferences: ContactPreferences | null;
|
|
1424
|
-
tags: Array<string>;
|
|
1425
|
-
metadata: JsonObject | null;
|
|
1426
|
-
createdAt: string;
|
|
1427
|
-
updatedAt: string;
|
|
1428
|
-
};
|
|
1429
1453
|
export type JsonObject = {
|
|
1430
1454
|
[key: string]: JsonValue;
|
|
1431
1455
|
};
|
|
@@ -1459,14 +1483,30 @@ export type ContactLocation = {
|
|
|
1459
1483
|
city: string;
|
|
1460
1484
|
timezone: string;
|
|
1461
1485
|
};
|
|
1462
|
-
export type ContactTags = {
|
|
1463
|
-
tags: [string, ...Array<string>];
|
|
1464
|
-
};
|
|
1465
1486
|
export type ContactIdentityInput = {
|
|
1466
1487
|
channel: "email";
|
|
1467
1488
|
identifier: string;
|
|
1468
1489
|
verified?: boolean | null | undefined;
|
|
1469
1490
|
};
|
|
1491
|
+
export type Contact = {
|
|
1492
|
+
id: ContactId;
|
|
1493
|
+
name: string;
|
|
1494
|
+
displayName: string | null;
|
|
1495
|
+
avatar: string | null;
|
|
1496
|
+
status: "active" | "paused" | "blocked" | "archived";
|
|
1497
|
+
statusReason: string | null;
|
|
1498
|
+
externalId: string | null;
|
|
1499
|
+
identities: Array<ContactIdentity>;
|
|
1500
|
+
profile: ContactProfile | null;
|
|
1501
|
+
preferences: ContactPreferences | null;
|
|
1502
|
+
tags: Array<string>;
|
|
1503
|
+
metadata: JsonObject | null;
|
|
1504
|
+
createdAt: string;
|
|
1505
|
+
updatedAt: string;
|
|
1506
|
+
};
|
|
1507
|
+
export type ContactTags = {
|
|
1508
|
+
tags: [string, ...Array<string>];
|
|
1509
|
+
};
|
|
1470
1510
|
export type ContactProfileUpdate = {
|
|
1471
1511
|
firstName?: string | null | null | undefined;
|
|
1472
1512
|
lastName?: string | null | null | undefined;
|
|
@@ -1549,6 +1589,9 @@ export type ConversationContext = {
|
|
|
1549
1589
|
workflowData?: UnknownRecord | null | undefined;
|
|
1550
1590
|
} | null | undefined;
|
|
1551
1591
|
};
|
|
1592
|
+
export type UnknownRecord = {
|
|
1593
|
+
[key: string]: JsonValue;
|
|
1594
|
+
};
|
|
1552
1595
|
export type ConversationContacts = {
|
|
1553
1596
|
contactIds: [ContactId, ...Array<ContactId>];
|
|
1554
1597
|
};
|
|
@@ -1775,6 +1818,7 @@ export type ForwardingRuleList = {
|
|
|
1775
1818
|
id: EmailForwardingRuleId;
|
|
1776
1819
|
name: string;
|
|
1777
1820
|
description: string | null;
|
|
1821
|
+
domainId: EmailDomainId | null;
|
|
1778
1822
|
sourcePattern: string | null;
|
|
1779
1823
|
forwardTo: Array<string>;
|
|
1780
1824
|
preserveHeaders: boolean;
|
|
@@ -1918,6 +1962,7 @@ export type CustomTrackingStatus = {
|
|
|
1918
1962
|
hostname: string;
|
|
1919
1963
|
region: string;
|
|
1920
1964
|
sslStatus: string | null;
|
|
1965
|
+
certificate: CustomTrackingCertificate | null;
|
|
1921
1966
|
dnsRecords: {
|
|
1922
1967
|
tracking: CustomTrackingDnsRecord | null;
|
|
1923
1968
|
dcvDelegation: CustomTrackingDnsRecord | null;
|
|
@@ -1932,6 +1977,45 @@ export type CustomTrackingDnsRecord = {
|
|
|
1932
1977
|
type: string;
|
|
1933
1978
|
value: string;
|
|
1934
1979
|
};
|
|
1980
|
+
export type CustomTrackingCertificate = {
|
|
1981
|
+
reason: {
|
|
1982
|
+
code: "initializing" | "awaiting-hostname" | "awaiting-dcv" | "issuing" | "caa-blocked" | "validation-error" | "timed-out" | "verifying-route" | "ready" | "provider-unreachable";
|
|
1983
|
+
message: string;
|
|
1984
|
+
};
|
|
1985
|
+
lastCheckedAt: string | null;
|
|
1986
|
+
nextCheckAt: string | null;
|
|
1987
|
+
};
|
|
1988
|
+
export type ReceivingStatus = {
|
|
1989
|
+
domain: string;
|
|
1990
|
+
receivingHost: string;
|
|
1991
|
+
sending: {
|
|
1992
|
+
satisfied: boolean;
|
|
1993
|
+
phase: "dns-setup" | "provisioning" | "verifying" | "ready" | "degraded" | "failed";
|
|
1994
|
+
};
|
|
1995
|
+
destination: {
|
|
1996
|
+
satisfied: boolean;
|
|
1997
|
+
endpointId: WebhookEndpointId | null;
|
|
1998
|
+
forwardingRules: number;
|
|
1999
|
+
mailboxes: number;
|
|
2000
|
+
};
|
|
2001
|
+
receiving: {
|
|
2002
|
+
satisfied: boolean;
|
|
2003
|
+
catchAll: boolean;
|
|
2004
|
+
};
|
|
2005
|
+
mx: {
|
|
2006
|
+
satisfied: boolean;
|
|
2007
|
+
state: "pointing-here" | "elsewhere" | "missing" | "unknown";
|
|
2008
|
+
expected: {
|
|
2009
|
+
exchange: string;
|
|
2010
|
+
priority: number;
|
|
2011
|
+
};
|
|
2012
|
+
current: Array<{
|
|
2013
|
+
exchange: string;
|
|
2014
|
+
priority: number;
|
|
2015
|
+
}>;
|
|
2016
|
+
};
|
|
2017
|
+
ready: boolean;
|
|
2018
|
+
};
|
|
1935
2019
|
export type DomainConnectCompleteResult = {
|
|
1936
2020
|
status: "applied" | "cancelled" | "failed" | "invalid";
|
|
1937
2021
|
};
|
|
@@ -2438,15 +2522,6 @@ export type DeliveryUnavailableError = {
|
|
|
2438
2522
|
message: string;
|
|
2439
2523
|
retryAfterSeconds: number;
|
|
2440
2524
|
};
|
|
2441
|
-
export type OnboardingReviewRequiredError = {
|
|
2442
|
-
_tag: "OnboardingReviewRequiredError";
|
|
2443
|
-
message: string;
|
|
2444
|
-
code: "review_required" | "review_in_progress" | "information_required" | "review_rejected" | "identity_review_required" | "identity_review_rejected" | "identity_changed";
|
|
2445
|
-
decision: "undecided" | "approved" | "rejected";
|
|
2446
|
-
stage: "collecting" | "automated_review" | "manual_review" | "information_requested" | "complete";
|
|
2447
|
-
nextAction: "wait_for_review" | "provide_information" | "verify_sending_identity" | "reapply" | "contact_support";
|
|
2448
|
-
identityId?: string | null | undefined;
|
|
2449
|
-
};
|
|
2450
2525
|
export type MessageReceipt = {
|
|
2451
2526
|
id: MessageId;
|
|
2452
2527
|
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
@@ -2667,9 +2742,9 @@ export type MessagesSendErrors = {
|
|
|
2667
2742
|
*/
|
|
2668
2743
|
502: BillingProviderError | ExternalServiceError;
|
|
2669
2744
|
/**
|
|
2670
|
-
* DeliveryUnavailableError
|
|
2745
|
+
* SenderNotReadyError | DeliveryUnavailableError
|
|
2671
2746
|
*/
|
|
2672
|
-
503: DeliveryUnavailableError;
|
|
2747
|
+
503: SenderNotReadyError | DeliveryUnavailableError;
|
|
2673
2748
|
/**
|
|
2674
2749
|
* GatewayTimeoutError
|
|
2675
2750
|
*/
|
|
@@ -3021,6 +3096,10 @@ export type MessagesValidateEmailErrors = {
|
|
|
3021
3096
|
* InternalError
|
|
3022
3097
|
*/
|
|
3023
3098
|
500: InternalError;
|
|
3099
|
+
/**
|
|
3100
|
+
* SenderNotReadyError
|
|
3101
|
+
*/
|
|
3102
|
+
503: SenderNotReadyError;
|
|
3024
3103
|
/**
|
|
3025
3104
|
* GatewayTimeoutError
|
|
3026
3105
|
*/
|
|
@@ -3477,6 +3556,10 @@ export type ScheduledMessagesResumeErrors = {
|
|
|
3477
3556
|
* ExternalServiceError
|
|
3478
3557
|
*/
|
|
3479
3558
|
502: ExternalServiceError;
|
|
3559
|
+
/**
|
|
3560
|
+
* SenderNotReadyError
|
|
3561
|
+
*/
|
|
3562
|
+
503: SenderNotReadyError;
|
|
3480
3563
|
/**
|
|
3481
3564
|
* GatewayTimeoutError
|
|
3482
3565
|
*/
|
|
@@ -3797,6 +3880,10 @@ export type CampaignsScheduleRunErrors = {
|
|
|
3797
3880
|
* ExternalServiceError
|
|
3798
3881
|
*/
|
|
3799
3882
|
502: ExternalServiceError;
|
|
3883
|
+
/**
|
|
3884
|
+
* SenderNotReadyError
|
|
3885
|
+
*/
|
|
3886
|
+
503: SenderNotReadyError;
|
|
3800
3887
|
/**
|
|
3801
3888
|
* GatewayTimeoutError
|
|
3802
3889
|
*/
|
|
@@ -4907,6 +4994,48 @@ export type EmailEnableReceivingResponses = {
|
|
|
4907
4994
|
};
|
|
4908
4995
|
};
|
|
4909
4996
|
export type EmailEnableReceivingResponse = EmailEnableReceivingResponses[keyof EmailEnableReceivingResponses];
|
|
4997
|
+
export type EmailGetReceivingStatusData = {
|
|
4998
|
+
body?: never;
|
|
4999
|
+
path: {
|
|
5000
|
+
id: EmailDomainId;
|
|
5001
|
+
};
|
|
5002
|
+
query?: never;
|
|
5003
|
+
url: "/v1/email/domains/{id}/receiving-status";
|
|
5004
|
+
};
|
|
5005
|
+
export type EmailGetReceivingStatusErrors = {
|
|
5006
|
+
/**
|
|
5007
|
+
* UnauthorizedError
|
|
5008
|
+
*/
|
|
5009
|
+
401: UnauthorizedError;
|
|
5010
|
+
/**
|
|
5011
|
+
* ForbiddenError
|
|
5012
|
+
*/
|
|
5013
|
+
403: ForbiddenError;
|
|
5014
|
+
/**
|
|
5015
|
+
* ResourceNotFoundError
|
|
5016
|
+
*/
|
|
5017
|
+
404: ResourceNotFoundError;
|
|
5018
|
+
/**
|
|
5019
|
+
* ValidationError
|
|
5020
|
+
*/
|
|
5021
|
+
422: ValidationError;
|
|
5022
|
+
/**
|
|
5023
|
+
* InternalError
|
|
5024
|
+
*/
|
|
5025
|
+
500: InternalError;
|
|
5026
|
+
/**
|
|
5027
|
+
* GatewayTimeoutError
|
|
5028
|
+
*/
|
|
5029
|
+
504: GatewayTimeoutError;
|
|
5030
|
+
};
|
|
5031
|
+
export type EmailGetReceivingStatusError = EmailGetReceivingStatusErrors[keyof EmailGetReceivingStatusErrors];
|
|
5032
|
+
export type EmailGetReceivingStatusResponses = {
|
|
5033
|
+
/**
|
|
5034
|
+
* ReceivingStatus
|
|
5035
|
+
*/
|
|
5036
|
+
200: ReceivingStatus;
|
|
5037
|
+
};
|
|
5038
|
+
export type EmailGetReceivingStatusResponse = EmailGetReceivingStatusResponses[keyof EmailGetReceivingStatusResponses];
|
|
4910
5039
|
export type EmailSetDefaultDomainData = {
|
|
4911
5040
|
body?: never;
|
|
4912
5041
|
path: {
|
|
@@ -5224,6 +5353,56 @@ export type EmailEnableCustomTrackingResponses = {
|
|
|
5224
5353
|
200: CustomTrackingStatus;
|
|
5225
5354
|
};
|
|
5226
5355
|
export type EmailEnableCustomTrackingResponse = EmailEnableCustomTrackingResponses[keyof EmailEnableCustomTrackingResponses];
|
|
5356
|
+
export type EmailRecheckCustomTrackingData = {
|
|
5357
|
+
body?: never;
|
|
5358
|
+
path: {
|
|
5359
|
+
id: EmailDomainId;
|
|
5360
|
+
};
|
|
5361
|
+
query?: never;
|
|
5362
|
+
url: "/v1/email/domains/{id}/custom-tracking/recheck";
|
|
5363
|
+
};
|
|
5364
|
+
export type EmailRecheckCustomTrackingErrors = {
|
|
5365
|
+
/**
|
|
5366
|
+
* UnauthorizedError
|
|
5367
|
+
*/
|
|
5368
|
+
401: UnauthorizedError;
|
|
5369
|
+
/**
|
|
5370
|
+
* ForbiddenError
|
|
5371
|
+
*/
|
|
5372
|
+
403: ForbiddenError;
|
|
5373
|
+
/**
|
|
5374
|
+
* ResourceNotFoundError
|
|
5375
|
+
*/
|
|
5376
|
+
404: ResourceNotFoundError;
|
|
5377
|
+
/**
|
|
5378
|
+
* ConflictError
|
|
5379
|
+
*/
|
|
5380
|
+
409: ConflictError;
|
|
5381
|
+
/**
|
|
5382
|
+
* ValidationError
|
|
5383
|
+
*/
|
|
5384
|
+
422: ValidationError;
|
|
5385
|
+
/**
|
|
5386
|
+
* InternalError
|
|
5387
|
+
*/
|
|
5388
|
+
500: InternalError;
|
|
5389
|
+
/**
|
|
5390
|
+
* EmailChannelError
|
|
5391
|
+
*/
|
|
5392
|
+
502: EmailChannelError;
|
|
5393
|
+
/**
|
|
5394
|
+
* GatewayTimeoutError
|
|
5395
|
+
*/
|
|
5396
|
+
504: GatewayTimeoutError;
|
|
5397
|
+
};
|
|
5398
|
+
export type EmailRecheckCustomTrackingError = EmailRecheckCustomTrackingErrors[keyof EmailRecheckCustomTrackingErrors];
|
|
5399
|
+
export type EmailRecheckCustomTrackingResponses = {
|
|
5400
|
+
/**
|
|
5401
|
+
* CustomTrackingStatus
|
|
5402
|
+
*/
|
|
5403
|
+
200: CustomTrackingStatus;
|
|
5404
|
+
};
|
|
5405
|
+
export type EmailRecheckCustomTrackingResponse = EmailRecheckCustomTrackingResponses[keyof EmailRecheckCustomTrackingResponses];
|
|
5227
5406
|
export type EmailGetCustomTrackingDomainConnectData = {
|
|
5228
5407
|
body?: never;
|
|
5229
5408
|
path: {
|
|
@@ -5703,7 +5882,7 @@ export type EmailGetStatsResponses = {
|
|
|
5703
5882
|
export type EmailGetStatsResponse = EmailGetStatsResponses[keyof EmailGetStatsResponses];
|
|
5704
5883
|
export type EmailEnableCatchAllData = {
|
|
5705
5884
|
body: {
|
|
5706
|
-
endpointId
|
|
5885
|
+
endpointId?: WebhookEndpointId | null | undefined;
|
|
5707
5886
|
};
|
|
5708
5887
|
path: {
|
|
5709
5888
|
id: EmailDomainId;
|
|
@@ -8529,16 +8708,18 @@ export type ContactsBulkImportData = {
|
|
|
8529
8708
|
body: {
|
|
8530
8709
|
contacts: Array<{
|
|
8531
8710
|
name: string;
|
|
8532
|
-
|
|
8533
|
-
|
|
8711
|
+
displayName?: string | null | null | undefined;
|
|
8712
|
+
avatar?: string | null | null | undefined;
|
|
8713
|
+
identities?: Array<ContactIdentityInput> | null | undefined;
|
|
8714
|
+
profile?: ContactProfile | null | null | undefined;
|
|
8715
|
+
preferences?: ContactPreferences | null | null | undefined;
|
|
8534
8716
|
tags?: Array<string> | null | undefined;
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
customFields?: UnknownRecord | null | undefined;
|
|
8717
|
+
status?: "active" | "paused" | "blocked" | "archived" | null | undefined;
|
|
8718
|
+
statusReason?: string | null | null | undefined;
|
|
8719
|
+
externalId?: string | null | null | undefined;
|
|
8720
|
+
metadata?: JsonObject | null | null | undefined;
|
|
8540
8721
|
}>;
|
|
8541
|
-
|
|
8722
|
+
onConflict?: "skip" | "update" | null | undefined;
|
|
8542
8723
|
};
|
|
8543
8724
|
path?: never;
|
|
8544
8725
|
query?: never;
|
|
@@ -9340,8 +9521,6 @@ export type ContactGroupsEvaluateDynamicResponse = ContactGroupsEvaluateDynamicR
|
|
|
9340
9521
|
export type ContactGroupsPreviewData = {
|
|
9341
9522
|
body: {
|
|
9342
9523
|
criteria: {
|
|
9343
|
-
contactTypes?: Array<string> | null | undefined;
|
|
9344
|
-
capabilities?: Array<string> | null | undefined;
|
|
9345
9524
|
tags?: Array<string> | null | undefined;
|
|
9346
9525
|
channels?: Array<string> | null | undefined;
|
|
9347
9526
|
match?: "all" | "any" | null | undefined;
|
|
@@ -9388,7 +9567,6 @@ export type ContactGroupsPreviewResponses = {
|
|
|
9388
9567
|
sample: Array<{
|
|
9389
9568
|
id: ContactId;
|
|
9390
9569
|
name: string;
|
|
9391
|
-
type: string;
|
|
9392
9570
|
status: string;
|
|
9393
9571
|
}>;
|
|
9394
9572
|
};
|
|
@@ -15873,9 +16051,9 @@ export type MailboxesSendMessageErrors = {
|
|
|
15873
16051
|
*/
|
|
15874
16052
|
402: PaymentRequiredError;
|
|
15875
16053
|
/**
|
|
15876
|
-
* ForbiddenError
|
|
16054
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
15877
16055
|
*/
|
|
15878
|
-
403: ForbiddenError;
|
|
16056
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
15879
16057
|
/**
|
|
15880
16058
|
* ResourceNotFoundError
|
|
15881
16059
|
*/
|
|
@@ -15888,6 +16066,10 @@ export type MailboxesSendMessageErrors = {
|
|
|
15888
16066
|
* ValidationError
|
|
15889
16067
|
*/
|
|
15890
16068
|
422: ValidationError;
|
|
16069
|
+
/**
|
|
16070
|
+
* RateLimitedError
|
|
16071
|
+
*/
|
|
16072
|
+
429: RateLimitedError;
|
|
15891
16073
|
/**
|
|
15892
16074
|
* InternalError
|
|
15893
16075
|
*/
|
|
@@ -15896,6 +16078,10 @@ export type MailboxesSendMessageErrors = {
|
|
|
15896
16078
|
* BillingProviderError
|
|
15897
16079
|
*/
|
|
15898
16080
|
502: BillingProviderError;
|
|
16081
|
+
/**
|
|
16082
|
+
* SenderNotReadyError
|
|
16083
|
+
*/
|
|
16084
|
+
503: SenderNotReadyError;
|
|
15899
16085
|
/**
|
|
15900
16086
|
* GatewayTimeoutError
|
|
15901
16087
|
*/
|
|
@@ -16067,9 +16253,9 @@ export type MailboxesReplyErrors = {
|
|
|
16067
16253
|
*/
|
|
16068
16254
|
402: PaymentRequiredError;
|
|
16069
16255
|
/**
|
|
16070
|
-
* ForbiddenError
|
|
16256
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16071
16257
|
*/
|
|
16072
|
-
403: ForbiddenError;
|
|
16258
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16073
16259
|
/**
|
|
16074
16260
|
* ResourceNotFoundError
|
|
16075
16261
|
*/
|
|
@@ -16082,6 +16268,10 @@ export type MailboxesReplyErrors = {
|
|
|
16082
16268
|
* ValidationError
|
|
16083
16269
|
*/
|
|
16084
16270
|
422: ValidationError;
|
|
16271
|
+
/**
|
|
16272
|
+
* RateLimitedError
|
|
16273
|
+
*/
|
|
16274
|
+
429: RateLimitedError;
|
|
16085
16275
|
/**
|
|
16086
16276
|
* InternalError
|
|
16087
16277
|
*/
|
|
@@ -16090,6 +16280,10 @@ export type MailboxesReplyErrors = {
|
|
|
16090
16280
|
* BillingProviderError
|
|
16091
16281
|
*/
|
|
16092
16282
|
502: BillingProviderError;
|
|
16283
|
+
/**
|
|
16284
|
+
* SenderNotReadyError
|
|
16285
|
+
*/
|
|
16286
|
+
503: SenderNotReadyError;
|
|
16093
16287
|
/**
|
|
16094
16288
|
* GatewayTimeoutError
|
|
16095
16289
|
*/
|
|
@@ -16131,9 +16325,9 @@ export type MailboxesReplyAllErrors = {
|
|
|
16131
16325
|
*/
|
|
16132
16326
|
402: PaymentRequiredError;
|
|
16133
16327
|
/**
|
|
16134
|
-
* ForbiddenError
|
|
16328
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16135
16329
|
*/
|
|
16136
|
-
403: ForbiddenError;
|
|
16330
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16137
16331
|
/**
|
|
16138
16332
|
* ResourceNotFoundError
|
|
16139
16333
|
*/
|
|
@@ -16146,6 +16340,10 @@ export type MailboxesReplyAllErrors = {
|
|
|
16146
16340
|
* ValidationError
|
|
16147
16341
|
*/
|
|
16148
16342
|
422: ValidationError;
|
|
16343
|
+
/**
|
|
16344
|
+
* RateLimitedError
|
|
16345
|
+
*/
|
|
16346
|
+
429: RateLimitedError;
|
|
16149
16347
|
/**
|
|
16150
16348
|
* InternalError
|
|
16151
16349
|
*/
|
|
@@ -16154,6 +16352,10 @@ export type MailboxesReplyAllErrors = {
|
|
|
16154
16352
|
* BillingProviderError
|
|
16155
16353
|
*/
|
|
16156
16354
|
502: BillingProviderError;
|
|
16355
|
+
/**
|
|
16356
|
+
* SenderNotReadyError
|
|
16357
|
+
*/
|
|
16358
|
+
503: SenderNotReadyError;
|
|
16157
16359
|
/**
|
|
16158
16360
|
* GatewayTimeoutError
|
|
16159
16361
|
*/
|
|
@@ -16196,9 +16398,9 @@ export type MailboxesForwardErrors = {
|
|
|
16196
16398
|
*/
|
|
16197
16399
|
402: PaymentRequiredError;
|
|
16198
16400
|
/**
|
|
16199
|
-
* ForbiddenError
|
|
16401
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16200
16402
|
*/
|
|
16201
|
-
403: ForbiddenError;
|
|
16403
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16202
16404
|
/**
|
|
16203
16405
|
* ResourceNotFoundError
|
|
16204
16406
|
*/
|
|
@@ -16211,6 +16413,10 @@ export type MailboxesForwardErrors = {
|
|
|
16211
16413
|
* ValidationError
|
|
16212
16414
|
*/
|
|
16213
16415
|
422: ValidationError;
|
|
16416
|
+
/**
|
|
16417
|
+
* RateLimitedError
|
|
16418
|
+
*/
|
|
16419
|
+
429: RateLimitedError;
|
|
16214
16420
|
/**
|
|
16215
16421
|
* InternalError
|
|
16216
16422
|
*/
|
|
@@ -16219,6 +16425,10 @@ export type MailboxesForwardErrors = {
|
|
|
16219
16425
|
* BillingProviderError
|
|
16220
16426
|
*/
|
|
16221
16427
|
502: BillingProviderError;
|
|
16428
|
+
/**
|
|
16429
|
+
* SenderNotReadyError
|
|
16430
|
+
*/
|
|
16431
|
+
503: SenderNotReadyError;
|
|
16222
16432
|
/**
|
|
16223
16433
|
* GatewayTimeoutError
|
|
16224
16434
|
*/
|
|
@@ -16639,9 +16849,9 @@ export type MailboxesSendDraftErrors = {
|
|
|
16639
16849
|
*/
|
|
16640
16850
|
402: PaymentRequiredError;
|
|
16641
16851
|
/**
|
|
16642
|
-
* ForbiddenError
|
|
16852
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16643
16853
|
*/
|
|
16644
|
-
403: ForbiddenError;
|
|
16854
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16645
16855
|
/**
|
|
16646
16856
|
* ResourceNotFoundError
|
|
16647
16857
|
*/
|
|
@@ -16654,6 +16864,10 @@ export type MailboxesSendDraftErrors = {
|
|
|
16654
16864
|
* ValidationError
|
|
16655
16865
|
*/
|
|
16656
16866
|
422: ValidationError;
|
|
16867
|
+
/**
|
|
16868
|
+
* RateLimitedError
|
|
16869
|
+
*/
|
|
16870
|
+
429: RateLimitedError;
|
|
16657
16871
|
/**
|
|
16658
16872
|
* InternalError
|
|
16659
16873
|
*/
|
|
@@ -16662,6 +16876,10 @@ export type MailboxesSendDraftErrors = {
|
|
|
16662
16876
|
* BillingProviderError
|
|
16663
16877
|
*/
|
|
16664
16878
|
502: BillingProviderError;
|
|
16879
|
+
/**
|
|
16880
|
+
* SenderNotReadyError
|
|
16881
|
+
*/
|
|
16882
|
+
503: SenderNotReadyError;
|
|
16665
16883
|
/**
|
|
16666
16884
|
* GatewayTimeoutError
|
|
16667
16885
|
*/
|
|
@@ -16742,9 +16960,9 @@ export type MailboxesApproveActionErrors = {
|
|
|
16742
16960
|
*/
|
|
16743
16961
|
402: PaymentRequiredError;
|
|
16744
16962
|
/**
|
|
16745
|
-
* ForbiddenError
|
|
16963
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16746
16964
|
*/
|
|
16747
|
-
403: ForbiddenError;
|
|
16965
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16748
16966
|
/**
|
|
16749
16967
|
* ResourceNotFoundError
|
|
16750
16968
|
*/
|
|
@@ -16757,6 +16975,10 @@ export type MailboxesApproveActionErrors = {
|
|
|
16757
16975
|
* ValidationError
|
|
16758
16976
|
*/
|
|
16759
16977
|
422: ValidationError;
|
|
16978
|
+
/**
|
|
16979
|
+
* RateLimitedError
|
|
16980
|
+
*/
|
|
16981
|
+
429: RateLimitedError;
|
|
16760
16982
|
/**
|
|
16761
16983
|
* InternalError
|
|
16762
16984
|
*/
|
|
@@ -16765,6 +16987,10 @@ export type MailboxesApproveActionErrors = {
|
|
|
16765
16987
|
* BillingProviderError
|
|
16766
16988
|
*/
|
|
16767
16989
|
502: BillingProviderError;
|
|
16990
|
+
/**
|
|
16991
|
+
* SenderNotReadyError
|
|
16992
|
+
*/
|
|
16993
|
+
503: SenderNotReadyError;
|
|
16768
16994
|
/**
|
|
16769
16995
|
* GatewayTimeoutError
|
|
16770
16996
|
*/
|
|
@@ -17524,6 +17750,56 @@ export type ExtensionInstallationsGetResponses = {
|
|
|
17524
17750
|
200: ExtensionInstallation;
|
|
17525
17751
|
};
|
|
17526
17752
|
export type ExtensionInstallationsGetResponse = ExtensionInstallationsGetResponses[keyof ExtensionInstallationsGetResponses];
|
|
17753
|
+
export type ExtensionInstallationsUpgradeData = {
|
|
17754
|
+
body: {
|
|
17755
|
+
version?: string | ExtensionVersionId | null | undefined;
|
|
17756
|
+
acceptPermissions?: Array<"permission:read" | "permission:update" | "permission:send" | "permission:quarantine.read" | "event:mailbox.message.received" | "event:mailbox.message.sent" | "event:mailbox.action.pending_approval" | "event:mailbox.message.quarantined" | "event:mailbox.message.released" | "event:mailbox.message.discarded"> | null | undefined;
|
|
17757
|
+
dryRun?: boolean | null | undefined;
|
|
17758
|
+
};
|
|
17759
|
+
path: {
|
|
17760
|
+
id: ExtensionInstallationId;
|
|
17761
|
+
};
|
|
17762
|
+
query?: never;
|
|
17763
|
+
url: "/v1/extension-installations/{id}/upgrade";
|
|
17764
|
+
};
|
|
17765
|
+
export type ExtensionInstallationsUpgradeErrors = {
|
|
17766
|
+
/**
|
|
17767
|
+
* UnauthorizedError
|
|
17768
|
+
*/
|
|
17769
|
+
401: UnauthorizedError;
|
|
17770
|
+
/**
|
|
17771
|
+
* ForbiddenError
|
|
17772
|
+
*/
|
|
17773
|
+
403: ForbiddenError;
|
|
17774
|
+
/**
|
|
17775
|
+
* ResourceNotFoundError
|
|
17776
|
+
*/
|
|
17777
|
+
404: ResourceNotFoundError;
|
|
17778
|
+
/**
|
|
17779
|
+
* ConflictError
|
|
17780
|
+
*/
|
|
17781
|
+
409: ConflictError;
|
|
17782
|
+
/**
|
|
17783
|
+
* ValidationError
|
|
17784
|
+
*/
|
|
17785
|
+
422: ValidationError;
|
|
17786
|
+
/**
|
|
17787
|
+
* InternalError
|
|
17788
|
+
*/
|
|
17789
|
+
500: InternalError;
|
|
17790
|
+
/**
|
|
17791
|
+
* GatewayTimeoutError
|
|
17792
|
+
*/
|
|
17793
|
+
504: GatewayTimeoutError;
|
|
17794
|
+
};
|
|
17795
|
+
export type ExtensionInstallationsUpgradeError = ExtensionInstallationsUpgradeErrors[keyof ExtensionInstallationsUpgradeErrors];
|
|
17796
|
+
export type ExtensionInstallationsUpgradeResponses = {
|
|
17797
|
+
/**
|
|
17798
|
+
* UpgradeExtensionResponse
|
|
17799
|
+
*/
|
|
17800
|
+
200: UpgradeExtensionResponse;
|
|
17801
|
+
};
|
|
17802
|
+
export type ExtensionInstallationsUpgradeResponse = ExtensionInstallationsUpgradeResponses[keyof ExtensionInstallationsUpgradeResponses];
|
|
17527
17803
|
export type ExtensionInstallationsDisableData = {
|
|
17528
17804
|
body?: never;
|
|
17529
17805
|
path: {
|