samva 0.50.0 → 0.52.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/AGENTS.md +49 -5
- package/README.md +137 -7
- package/dist/client/sdk.gen.d.ts +78 -38
- package/dist/client/sdk.gen.js +1554 -967
- package/dist/client/types.gen.d.ts +541 -291
- package/dist/effect/agents.d.ts +4 -4
- package/dist/effect/api-keys.d.ts +4 -6
- package/dist/effect/campaigns.d.ts +222 -230
- package/dist/effect/categories.d.ts +2 -2
- package/dist/effect/categories.js +6 -4
- package/dist/effect/contact-groups.d.ts +4 -4
- package/dist/effect/contacts.d.ts +8 -8
- package/dist/effect/conversations.d.ts +4 -4
- package/dist/effect/descriptors/integrations-catalog.d.ts +1 -1
- package/dist/effect/descriptors/integrations-catalog.js +1 -1
- package/dist/effect/descriptors/integrations.d.ts +1 -1
- package/dist/effect/descriptors/integrations.js +1 -1
- package/dist/effect/descriptors/logs.d.ts +21 -0
- package/dist/effect/descriptors/logs.js +23 -0
- package/dist/effect/descriptors/whats-app.d.ts +1 -1
- package/dist/effect/descriptors/whats-app.js +1 -1
- package/dist/effect/email.d.ts +17 -16
- package/dist/effect/errors.d.ts +1 -0
- package/dist/effect/errors.js +2 -1
- package/dist/effect/generated/agents.js +4 -4
- package/dist/effect/generated/api-keys.d.ts +0 -15
- package/dist/effect/generated/api-keys.js +1 -2
- package/dist/effect/generated/campaigns.d.ts +18 -68
- package/dist/effect/generated/campaigns.js +5 -15
- package/dist/effect/generated/email.d.ts +10 -3
- package/dist/effect/generated/email.js +6 -5
- package/dist/effect/generated/index.d.ts +3 -1
- package/dist/effect/generated/integrations-catalog.d.ts +93 -49
- package/dist/effect/generated/integrations-catalog.js +17 -28
- package/dist/effect/generated/integrations.d.ts +20 -40
- package/dist/effect/generated/integrations.js +9 -13
- package/dist/effect/generated/journeys.d.ts +61 -13
- package/dist/effect/generated/journeys.js +5 -5
- package/dist/effect/generated/logs.d.ts +2311 -0
- package/dist/effect/generated/logs.js +312 -0
- package/dist/effect/generated/mailboxes.d.ts +30 -24
- package/dist/effect/generated/mailboxes.js +25 -25
- package/dist/effect/generated/messages.d.ts +1 -882
- package/dist/effect/generated/messages.js +4 -243
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/newsletter-domains.d.ts +61 -13
- package/dist/effect/generated/newsletter-domains.js +5 -5
- package/dist/effect/generated/newsletter-issues.d.ts +166 -34
- package/dist/effect/generated/newsletter-issues.js +12 -12
- package/dist/effect/generated/newsletters.d.ts +76 -16
- package/dist/effect/generated/newsletters.js +6 -6
- package/dist/effect/generated/organizations.js +1 -1
- package/dist/effect/generated/policies.js +2 -2
- package/dist/effect/generated/scheduled-messages.d.ts +0 -26
- package/dist/effect/generated/scheduled-messages.js +2 -4
- package/dist/effect/generated/shared.d.ts +1139 -257
- package/dist/effect/generated/shared.js +323 -83
- package/dist/effect/generated/subscriptions.d.ts +4 -4
- package/dist/effect/generated/subscriptions.js +2 -6
- package/dist/effect/generated/template-registrations.d.ts +46 -10
- package/dist/effect/generated/template-registrations.js +4 -4
- package/dist/effect/generated/templates.js +2 -2
- package/dist/effect/generated/whats-app-flows.d.ts +151 -31
- package/dist/effect/generated/whats-app-flows.js +11 -11
- package/dist/effect/generated/whats-app-setup-links.d.ts +61 -13
- package/dist/effect/generated/whats-app-setup-links.js +5 -5
- package/dist/effect/generated/whats-app.d.ts +187 -65
- package/dist/effect/generated/whats-app.js +18 -24
- package/dist/effect/generated-metadata.d.ts +15 -3
- package/dist/effect/generated-metadata.js +375 -349
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +3 -1
- package/dist/effect/integrations-catalog.d.ts +92 -4
- package/dist/effect/integrations.d.ts +42 -10
- package/dist/effect/internal/client.d.ts +19 -2
- package/dist/effect/internal/client.js +35 -5
- package/dist/effect/internal/email-sender.d.ts +4 -4
- package/dist/effect/internal/email-sender.js +5 -3
- package/dist/effect/internal/log-events.d.ts +19 -0
- package/dist/effect/internal/log-events.js +53 -0
- package/dist/effect/internal/mailbox-events.d.ts +6 -2
- package/dist/effect/internal/mailbox-events.js +4 -3
- package/dist/effect/internal/operation.d.ts +11 -0
- package/dist/effect/internal/operation.js +10 -6
- package/dist/effect/internal/send.d.ts +4 -0
- package/dist/effect/internal/send.js +11 -8
- package/dist/effect/internal/timeout.d.ts +16 -0
- package/dist/effect/internal/timeout.js +20 -0
- package/dist/effect/journeys.d.ts +4 -4
- package/dist/effect/logs.d.ts +149 -0
- package/dist/effect/logs.js +18 -0
- package/dist/effect/mailboxes.d.ts +184 -178
- package/dist/effect/mailboxes.js +1 -1
- package/dist/effect/messages.d.ts +5 -5
- package/dist/effect/namespaces.d.ts +4 -4
- package/dist/effect/newsletter-domains.d.ts +2 -2
- package/dist/effect/operations.d.ts +2 -2
- package/dist/effect/scheduled-messages.d.ts +2 -6
- package/dist/effect/templates.d.ts +6 -6
- package/dist/effect/topics.d.ts +4 -4
- package/dist/effect/webhooks.d.ts +4 -4
- package/dist/effect/whatsapp-setup-links.d.ts +2 -2
- package/dist/effect/whatsapp.d.ts +73 -3
- package/dist/index.js +2 -2
- package/dist/mailbox-events.d.ts +50 -3
- package/dist/mailbox-events.js +38 -19
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +8 -1
- package/dist/promises/client.js +15 -9
- package/dist/promises/errors.gen.d.ts +14 -1
- package/dist/promises/errors.gen.js +158 -36
- package/dist/promises/index.js +2 -2
- package/dist/promises/request.d.ts +31 -2
- package/dist/promises/request.js +42 -7
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-id.d.ts +3 -0
- package/dist/request-id.js +7 -0
- package/dist/request-policy.d.ts +9 -0
- package/dist/request-policy.js +16 -1
- package/dist/service-map.d.ts +14 -3
- package/package.json +6 -2
|
@@ -28,11 +28,6 @@ export type ForbiddenError = {
|
|
|
28
28
|
_tag: "ForbiddenError";
|
|
29
29
|
message: string;
|
|
30
30
|
};
|
|
31
|
-
export type FlagDisabledError = {
|
|
32
|
-
_tag: "FlagDisabledError";
|
|
33
|
-
flag: string;
|
|
34
|
-
message: string;
|
|
35
|
-
};
|
|
36
31
|
export type InternalError = {
|
|
37
32
|
_tag: "InternalError";
|
|
38
33
|
message: string;
|
|
@@ -297,12 +292,6 @@ export type CreateWhatsAppFlowPayload = {
|
|
|
297
292
|
handle: string;
|
|
298
293
|
categories: Array<"SIGN_UP" | "SIGN_IN" | "APPOINTMENT_BOOKING" | "LEAD_GENERATION" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "SURVEY" | "OTHER">;
|
|
299
294
|
};
|
|
300
|
-
export type PaginationMeta = {
|
|
301
|
-
page: number;
|
|
302
|
-
limit: number;
|
|
303
|
-
total: number;
|
|
304
|
-
totalPages: number;
|
|
305
|
-
};
|
|
306
295
|
export type MessageDeliveryId = string;
|
|
307
296
|
export type MoneyAmount = {
|
|
308
297
|
amount: string;
|
|
@@ -386,6 +375,11 @@ export type CreateNamespacePortalLinkPayload = {
|
|
|
386
375
|
metadata?: NamespacePortalLinkMetadata | null | undefined;
|
|
387
376
|
expiresIn?: number | null | undefined;
|
|
388
377
|
};
|
|
378
|
+
export type FlagDisabledError = {
|
|
379
|
+
_tag: "FlagDisabledError";
|
|
380
|
+
flag: string;
|
|
381
|
+
message: string;
|
|
382
|
+
};
|
|
389
383
|
export type NamespaceResource = {
|
|
390
384
|
type: NamespaceResourceType;
|
|
391
385
|
id: string;
|
|
@@ -806,11 +800,6 @@ export type SenderNotReadyError = {
|
|
|
806
800
|
sender: string;
|
|
807
801
|
retryAfterSeconds?: number | null | undefined;
|
|
808
802
|
};
|
|
809
|
-
export type WhatsAppServiceWindowClosedError = {
|
|
810
|
-
_tag: "WhatsAppServiceWindowClosedError";
|
|
811
|
-
message: string;
|
|
812
|
-
closedAt: string | null;
|
|
813
|
-
};
|
|
814
803
|
export type OnboardingReviewRequiredError = {
|
|
815
804
|
_tag: "OnboardingReviewRequiredError";
|
|
816
805
|
message: string;
|
|
@@ -825,6 +814,11 @@ export type MailboxSendRefusedError = {
|
|
|
825
814
|
message: string;
|
|
826
815
|
receipt: MailboxSendReceipt;
|
|
827
816
|
};
|
|
817
|
+
export type WhatsAppServiceWindowClosedError = {
|
|
818
|
+
_tag: "WhatsAppServiceWindowClosedError";
|
|
819
|
+
message: string;
|
|
820
|
+
closedAt: string | null;
|
|
821
|
+
};
|
|
828
822
|
export type MailboxPendingAction = MailboxSendAction | MailboxNonSendAction;
|
|
829
823
|
export type ApproveMailboxActionPayload = {
|
|
830
824
|
reviewRound: PolicyReviewRound;
|
|
@@ -1842,7 +1836,6 @@ export type ApiKeyWithSecret = {
|
|
|
1842
1836
|
export type ApiKeyOwner = {
|
|
1843
1837
|
id: string;
|
|
1844
1838
|
name: string;
|
|
1845
|
-
email: string;
|
|
1846
1839
|
};
|
|
1847
1840
|
export type ApiKey = {
|
|
1848
1841
|
id: string;
|
|
@@ -2470,7 +2463,7 @@ export type CreateTemplateFromBriefPayload = {
|
|
|
2470
2463
|
*/
|
|
2471
2464
|
brief: string;
|
|
2472
2465
|
/**
|
|
2473
|
-
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters
|
|
2466
|
+
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters.
|
|
2474
2467
|
*/
|
|
2475
2468
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
2476
2469
|
name?: string | null | undefined;
|
|
@@ -2498,7 +2491,7 @@ export type SuggestTemplateStartersPayload = {
|
|
|
2498
2491
|
*/
|
|
2499
2492
|
brief: string;
|
|
2500
2493
|
/**
|
|
2501
|
-
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters
|
|
2494
|
+
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters.
|
|
2502
2495
|
*/
|
|
2503
2496
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
2504
2497
|
};
|
|
@@ -2954,6 +2947,7 @@ export type FromAddressRequiredError = {
|
|
|
2954
2947
|
_tag: "FromAddressRequiredError";
|
|
2955
2948
|
message: string;
|
|
2956
2949
|
verifiedDomains: Array<string>;
|
|
2950
|
+
addresses: Array<string>;
|
|
2957
2951
|
};
|
|
2958
2952
|
export type ExternalServiceError = {
|
|
2959
2953
|
_tag: "ExternalServiceError";
|
|
@@ -2991,8 +2985,7 @@ export type Integration = {
|
|
|
2991
2985
|
answerWithoutApproval: AnswerWithoutApproval;
|
|
2992
2986
|
tools: Array<IntegrationToolView>;
|
|
2993
2987
|
toolPage: {
|
|
2994
|
-
|
|
2995
|
-
total: number;
|
|
2988
|
+
nextCursor: string | null;
|
|
2996
2989
|
revision: string;
|
|
2997
2990
|
};
|
|
2998
2991
|
installedBy: UserId | null;
|
|
@@ -3066,8 +3059,7 @@ export type IntegrationCatalogConnection = {
|
|
|
3066
3059
|
};
|
|
3067
3060
|
export type IntegrationCatalogSearchPage = {
|
|
3068
3061
|
items: Array<IntegrationCatalogSearchEntry>;
|
|
3069
|
-
|
|
3070
|
-
nextOffset: number | null;
|
|
3062
|
+
nextCursor: string | null;
|
|
3071
3063
|
};
|
|
3072
3064
|
export type IntegrationCatalogSearchEntry = {
|
|
3073
3065
|
key: IntegrationKey;
|
|
@@ -3109,10 +3101,7 @@ export type RecipeReadinessResponse = {
|
|
|
3109
3101
|
ready: boolean;
|
|
3110
3102
|
channel: "email" | "whatsapp";
|
|
3111
3103
|
availability: {
|
|
3112
|
-
|
|
3113
|
-
journeys: boolean;
|
|
3114
|
-
whatsapp: boolean;
|
|
3115
|
-
plan: "granted" | "denied" | "unreachable" | "disabled" | null;
|
|
3104
|
+
plan: "granted" | "denied" | "unreachable" | null;
|
|
3116
3105
|
};
|
|
3117
3106
|
shopify: {
|
|
3118
3107
|
id: IntegrationAccountId;
|
|
@@ -4801,6 +4790,10 @@ export type EmailDomainDetailed = {
|
|
|
4801
4790
|
namespaceId: NamespaceId | null;
|
|
4802
4791
|
shared: boolean;
|
|
4803
4792
|
isDefault: boolean;
|
|
4793
|
+
/**
|
|
4794
|
+
* True once a removal was accepted. Removal runs in the background: the domain stays listed and sends nothing while its provider teardown finishes, then it reads as not found.
|
|
4795
|
+
*/
|
|
4796
|
+
deleting: boolean;
|
|
4804
4797
|
deliverability: DeliverabilityFacts;
|
|
4805
4798
|
createdAt: string;
|
|
4806
4799
|
updatedAt: string;
|
|
@@ -4943,6 +4936,10 @@ export type EmailDomainPage = {
|
|
|
4943
4936
|
namespaceId: NamespaceId | null;
|
|
4944
4937
|
shared: boolean;
|
|
4945
4938
|
isDefault: boolean;
|
|
4939
|
+
/**
|
|
4940
|
+
* True once a removal was accepted. Removal runs in the background: the domain stays listed and sends nothing while its provider teardown finishes, then it reads as not found.
|
|
4941
|
+
*/
|
|
4942
|
+
deleting: boolean;
|
|
4946
4943
|
deliverability: DeliverabilityFacts;
|
|
4947
4944
|
series: SendsSeries;
|
|
4948
4945
|
createdAt: string;
|
|
@@ -5040,9 +5037,10 @@ export type CampaignRun = {
|
|
|
5040
5037
|
holdUntil: string | null;
|
|
5041
5038
|
capacityWarning: string | null;
|
|
5042
5039
|
lastContactId: string | null;
|
|
5040
|
+
/**
|
|
5041
|
+
* The user id of the member who created it; for an API key, the key owner's user id. Never an email address.
|
|
5042
|
+
*/
|
|
5043
5043
|
createdBy: string | null;
|
|
5044
|
-
actorEmail: string;
|
|
5045
|
-
memberRole: string;
|
|
5046
5044
|
createdAt: string;
|
|
5047
5045
|
updatedAt: string;
|
|
5048
5046
|
};
|
|
@@ -5254,9 +5252,10 @@ export type Campaign = {
|
|
|
5254
5252
|
policy: CampaignPolicy;
|
|
5255
5253
|
definition: CampaignDefinitionSummary;
|
|
5256
5254
|
latestRun: CampaignLatestRun | null;
|
|
5255
|
+
/**
|
|
5256
|
+
* The user id of the member who created it; for an API key, the key owner's user id. Never an email address.
|
|
5257
|
+
*/
|
|
5257
5258
|
createdBy: string | null;
|
|
5258
|
-
actorEmail: string;
|
|
5259
|
-
memberRole: string;
|
|
5260
5259
|
createdAt: string;
|
|
5261
5260
|
updatedAt: string;
|
|
5262
5261
|
};
|
|
@@ -5343,9 +5342,10 @@ export type CampaignListItem = {
|
|
|
5343
5342
|
policy: CampaignPolicy;
|
|
5344
5343
|
definition: CampaignDefinitionSummary;
|
|
5345
5344
|
latestRun: CampaignLatestRun | null;
|
|
5345
|
+
/**
|
|
5346
|
+
* The user id of the member who created it; for an API key, the key owner's user id. Never an email address.
|
|
5347
|
+
*/
|
|
5346
5348
|
createdBy: string | null;
|
|
5347
|
-
actorEmail: string;
|
|
5348
|
-
memberRole: string;
|
|
5349
5349
|
createdAt: string;
|
|
5350
5350
|
updatedAt: string;
|
|
5351
5351
|
series: SendsSeries;
|
|
@@ -5376,9 +5376,10 @@ export type ScheduledMessage = {
|
|
|
5376
5376
|
referenceId: string | null;
|
|
5377
5377
|
failureReason: string | null;
|
|
5378
5378
|
attempts: number;
|
|
5379
|
+
/**
|
|
5380
|
+
* The user id of the member who created it; for an API key, the key owner's user id. Never an email address.
|
|
5381
|
+
*/
|
|
5379
5382
|
createdBy: string | null;
|
|
5380
|
-
actorEmail: string;
|
|
5381
|
-
memberRole: string;
|
|
5382
5383
|
createdAt: string;
|
|
5383
5384
|
updatedAt: string;
|
|
5384
5385
|
};
|
|
@@ -5731,107 +5732,142 @@ export type OperationPage = {
|
|
|
5731
5732
|
items: Array<Operation>;
|
|
5732
5733
|
nextCursor: string | null;
|
|
5733
5734
|
};
|
|
5734
|
-
export type
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
recipientCount: number;
|
|
5755
|
-
content: {
|
|
5756
|
-
source: "inline" | "template";
|
|
5757
|
-
subject: string;
|
|
5758
|
-
hasHtml: boolean;
|
|
5759
|
-
hasText: boolean;
|
|
5760
|
-
};
|
|
5735
|
+
export type LogDetail = MessageLogDetail | RejectedLogDetail;
|
|
5736
|
+
export type RejectedLogDetail = {
|
|
5737
|
+
kind: "rejected";
|
|
5738
|
+
line: LogLine;
|
|
5739
|
+
apiRequest: LogApiRequest | null;
|
|
5740
|
+
requestBody: string | null;
|
|
5741
|
+
responseBody: string | null;
|
|
5742
|
+
};
|
|
5743
|
+
export type LogApiRequest = {
|
|
5744
|
+
requestId?: string | null | undefined;
|
|
5745
|
+
method?: string | null | undefined;
|
|
5746
|
+
endpoint?: string | null | undefined;
|
|
5747
|
+
headers?: {
|
|
5748
|
+
[key: string]: string;
|
|
5749
|
+
} | null | undefined;
|
|
5750
|
+
query?: {
|
|
5751
|
+
[key: string]: string;
|
|
5752
|
+
} | null | undefined;
|
|
5753
|
+
ipAddress?: string | null | undefined;
|
|
5754
|
+
userAgent?: string | null | undefined;
|
|
5761
5755
|
};
|
|
5762
|
-
export type
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5756
|
+
export type LogLine = {
|
|
5757
|
+
id: string;
|
|
5758
|
+
cursor: string;
|
|
5759
|
+
timestamp: string;
|
|
5760
|
+
event: "accepted" | "waiting" | "received" | "rejected" | "created" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained" | "replied" | "forwarded" | "deleted" | "archived" | "marked_spam" | "agent_processing_started" | "agent_processing_completed" | "agent_handoff" | "agent_escalation" | "opened" | "clicked" | "unsubscribed" | "whatsapp_read" | "whatsapp_deleted" | "retry_scheduled" | "retry_attempted" | "cost_calculated";
|
|
5761
|
+
messageId: MessageId | null;
|
|
5762
|
+
channel: "sms" | "whatsapp" | "email" | null;
|
|
5763
|
+
direction: "outbound" | "inbound";
|
|
5764
|
+
origin: "direct" | "campaign" | "scheduled" | "mailbox" | "forwarding" | "journey" | "businessApp" | null;
|
|
5765
|
+
from: LogSender | null;
|
|
5766
|
+
recipient: string | null;
|
|
5767
|
+
subject: string | null;
|
|
5768
|
+
submission: LogSubmission | null;
|
|
5769
|
+
requestId: string | null;
|
|
5770
|
+
reason: string | null;
|
|
5771
|
+
errorTag: string | null;
|
|
5771
5772
|
};
|
|
5772
|
-
export type
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
attachments?: EmailAttachments | undefined;
|
|
5777
|
-
publicationId?: TemplatePublicationId | undefined;
|
|
5778
|
-
inputContractId?: TemplateInputContractId | undefined;
|
|
5779
|
-
templateId?: TemplateId | null | undefined;
|
|
5780
|
-
templateSlug?: string | null | undefined;
|
|
5781
|
-
templateData?: TemplateDataWritable | undefined;
|
|
5782
|
-
locale?: RenderLocale | undefined;
|
|
5783
|
-
timeZone?: RenderTimeZone | undefined;
|
|
5784
|
-
inReplyToMessageId?: MessageId | null | undefined;
|
|
5785
|
-
replyTo?: ReplyToAddresses | undefined;
|
|
5773
|
+
export type LogSubmission = {
|
|
5774
|
+
origin: "direct" | "campaign" | "scheduled" | "mailbox" | "forwarding" | "journey" | "businessApp";
|
|
5775
|
+
transport: "http" | "smtp" | null;
|
|
5776
|
+
credential: LogCredential | null;
|
|
5786
5777
|
/**
|
|
5787
|
-
* The
|
|
5778
|
+
* The acting user, or null when unavailable. Present only for callers authenticated with a member session or a member-authorized OAuth token.
|
|
5788
5779
|
*/
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
footer?: EmailFooterOverride | undefined;
|
|
5792
|
-
headers?: EmailCustomHeadersWritable | null | undefined;
|
|
5780
|
+
user?: LogUser | null | undefined;
|
|
5781
|
+
client: SubmissionClient | null;
|
|
5793
5782
|
};
|
|
5794
|
-
export type
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
waitReason: "rate" | "daily-quota" | "domain-health" | "sending-paused" | "upstream-unavailable" | "retry" | "campaign-paused" | "domain-warming" | "onboarding-review" | "content-review" | "screening-unavailable" | null;
|
|
5798
|
-
reviewExpectedAt: string | null;
|
|
5799
|
-
skippedRecipients: Array<SkippedRecipient>;
|
|
5800
|
-
createdAt: string;
|
|
5783
|
+
export type SubmissionClient = {
|
|
5784
|
+
surface: "typescript-promise" | "typescript-effect" | "cli" | "mcp";
|
|
5785
|
+
version: string;
|
|
5801
5786
|
};
|
|
5802
|
-
export type
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
export type WhatsAppSendMessagePayload = {
|
|
5807
|
-
conversationId?: ConversationId | null | undefined;
|
|
5808
|
-
metadata?: MessageMetadataWritable | undefined;
|
|
5809
|
-
channel: "whatsapp";
|
|
5810
|
-
to: WhatsAppRecipients;
|
|
5811
|
-
whatsapp: WhatsAppContentWritable;
|
|
5787
|
+
export type LogUser = {
|
|
5788
|
+
id: UserId;
|
|
5789
|
+
email: string;
|
|
5790
|
+
name: string;
|
|
5812
5791
|
};
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5792
|
+
export type LogCredential = {
|
|
5793
|
+
kind: "api_key";
|
|
5794
|
+
apiKeyId: ApiKeyId | null;
|
|
5795
|
+
name: string | null;
|
|
5796
|
+
} | {
|
|
5797
|
+
kind: "oauth";
|
|
5798
|
+
clientId: string | null;
|
|
5799
|
+
name: string | null;
|
|
5800
|
+
} | {
|
|
5801
|
+
kind: "session";
|
|
5822
5802
|
};
|
|
5823
|
-
export type
|
|
5824
|
-
|
|
5803
|
+
export type LogSender = {
|
|
5804
|
+
address: string;
|
|
5825
5805
|
name: string | null;
|
|
5826
5806
|
};
|
|
5827
|
-
export type
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5807
|
+
export type MessageLogDetail = {
|
|
5808
|
+
kind: "message";
|
|
5809
|
+
requestBody: string | null;
|
|
5810
|
+
responseBody: string | null;
|
|
5811
|
+
deliveries: Array<{
|
|
5812
|
+
scheduling: {
|
|
5813
|
+
dueAt: string;
|
|
5814
|
+
expiresAt: string;
|
|
5815
|
+
waitReason: "rate" | "daily-quota" | "domain-health" | "sending-paused" | "upstream-unavailable" | "retry" | "campaign-paused" | "domain-warming" | "onboarding-review" | "content-review" | "screening-unavailable" | null;
|
|
5816
|
+
reviewExpectedAt: string | null;
|
|
5817
|
+
} | null;
|
|
5818
|
+
id: string;
|
|
5819
|
+
messageId: string;
|
|
5820
|
+
recipientId: string | null;
|
|
5821
|
+
channel: "sms" | "whatsapp" | "email";
|
|
5822
|
+
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
5823
|
+
attemptCount: number;
|
|
5824
|
+
maxAttempts: number;
|
|
5825
|
+
queuedAt: string | null;
|
|
5826
|
+
claimedAt: string | null;
|
|
5827
|
+
lastAttemptAt: string | null;
|
|
5828
|
+
nextRetryAt: string | null;
|
|
5829
|
+
sentAt: string | null;
|
|
5830
|
+
deliveredAt: string | null;
|
|
5831
|
+
readAt: string | null;
|
|
5832
|
+
failedAt: string | null;
|
|
5833
|
+
terminalAt: string | null;
|
|
5834
|
+
errorCode: string | null;
|
|
5835
|
+
errorMessage: string | null;
|
|
5836
|
+
errorDetails: DeliveryErrorDetails | null;
|
|
5837
|
+
cost: string;
|
|
5838
|
+
currency: string;
|
|
5839
|
+
idempotencyKey: string | null;
|
|
5840
|
+
createdAt: string;
|
|
5841
|
+
updatedAt: string;
|
|
5842
|
+
}>;
|
|
5843
|
+
messageId: MessageId;
|
|
5844
|
+
channel: "sms" | "whatsapp" | "email";
|
|
5845
|
+
direction: "outbound" | "inbound";
|
|
5846
|
+
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
5847
|
+
recipients: Array<{
|
|
5848
|
+
id: string;
|
|
5849
|
+
address: string;
|
|
5850
|
+
}>;
|
|
5851
|
+
recipientCount: number;
|
|
5852
|
+
from: LogSender | null;
|
|
5853
|
+
submission: LogSubmission | null;
|
|
5854
|
+
subject: string | null;
|
|
5855
|
+
acceptedAt: string | null;
|
|
5856
|
+
createdAt: string;
|
|
5857
|
+
updatedAt: string;
|
|
5858
|
+
campaign: LogCampaign | null;
|
|
5859
|
+
content: MessageContent;
|
|
5860
|
+
apiRequest: LogApiRequest | null;
|
|
5861
|
+
statusTimeline: LogStatusTimeline;
|
|
5862
|
+
};
|
|
5863
|
+
export type LogStatusTimeline = {
|
|
5864
|
+
availability: "recorded" | "unavailable";
|
|
5865
|
+
entries: Array<{
|
|
5866
|
+
status: string;
|
|
5867
|
+
at: string;
|
|
5868
|
+
reason: string | null;
|
|
5869
|
+
recipientId: string | null;
|
|
5870
|
+
}>;
|
|
5835
5871
|
};
|
|
5836
5872
|
export type MessageContent = {
|
|
5837
5873
|
text?: string | null | undefined;
|
|
@@ -6090,6 +6126,116 @@ export type SmsMessageContent = {
|
|
|
6090
6126
|
unicode?: boolean | null | undefined;
|
|
6091
6127
|
parts?: number | null | undefined;
|
|
6092
6128
|
};
|
|
6129
|
+
export type LogCampaign = {
|
|
6130
|
+
runId: string;
|
|
6131
|
+
name: string;
|
|
6132
|
+
};
|
|
6133
|
+
export type DeliveryErrorDetails = {
|
|
6134
|
+
code?: string | null | undefined;
|
|
6135
|
+
name?: string | null | undefined;
|
|
6136
|
+
message?: string | null | undefined;
|
|
6137
|
+
details?: {
|
|
6138
|
+
[key: string]: string | number | null;
|
|
6139
|
+
} | null | undefined;
|
|
6140
|
+
retryable?: boolean | null | undefined;
|
|
6141
|
+
};
|
|
6142
|
+
export type MessageLogPage = {
|
|
6143
|
+
items: Array<LogLine>;
|
|
6144
|
+
nextCursor: string | null;
|
|
6145
|
+
};
|
|
6146
|
+
export type MessageEventPage = {
|
|
6147
|
+
items: Array<{
|
|
6148
|
+
id: MessageEventId;
|
|
6149
|
+
messageId: MessageId;
|
|
6150
|
+
eventType: string;
|
|
6151
|
+
status: string;
|
|
6152
|
+
timestamp: string;
|
|
6153
|
+
metadata?: {
|
|
6154
|
+
[key: string]: JsonValue;
|
|
6155
|
+
} | null | undefined;
|
|
6156
|
+
}>;
|
|
6157
|
+
nextCursor: string | null;
|
|
6158
|
+
};
|
|
6159
|
+
export type MessageEventId = string;
|
|
6160
|
+
export type ValidateEmailResponse = {
|
|
6161
|
+
valid: true;
|
|
6162
|
+
from: {
|
|
6163
|
+
email: string;
|
|
6164
|
+
name: string | null;
|
|
6165
|
+
};
|
|
6166
|
+
recipientCount: number;
|
|
6167
|
+
content: {
|
|
6168
|
+
source: "inline" | "template";
|
|
6169
|
+
subject: string;
|
|
6170
|
+
hasHtml: boolean;
|
|
6171
|
+
hasText: boolean;
|
|
6172
|
+
};
|
|
6173
|
+
};
|
|
6174
|
+
export type EmailSendMessagePayload = {
|
|
6175
|
+
conversationId?: ConversationId | null | undefined;
|
|
6176
|
+
metadata?: MessageMetadataWritable | undefined;
|
|
6177
|
+
channel: "email";
|
|
6178
|
+
to: EmailRecipients;
|
|
6179
|
+
cc?: EmailCcRecipients | undefined;
|
|
6180
|
+
bcc?: EmailBccRecipients | undefined;
|
|
6181
|
+
from?: EmailSender | undefined;
|
|
6182
|
+
email: EmailContent;
|
|
6183
|
+
};
|
|
6184
|
+
export type EmailContent = {
|
|
6185
|
+
subject?: string | null | undefined;
|
|
6186
|
+
html?: string | null | undefined;
|
|
6187
|
+
text?: string | null | undefined;
|
|
6188
|
+
attachments?: EmailAttachments | undefined;
|
|
6189
|
+
publicationId?: TemplatePublicationId | undefined;
|
|
6190
|
+
inputContractId?: TemplateInputContractId | undefined;
|
|
6191
|
+
templateId?: TemplateId | null | undefined;
|
|
6192
|
+
templateSlug?: string | null | undefined;
|
|
6193
|
+
templateData?: TemplateDataWritable | undefined;
|
|
6194
|
+
locale?: RenderLocale | undefined;
|
|
6195
|
+
timeZone?: RenderTimeZone | undefined;
|
|
6196
|
+
inReplyToMessageId?: MessageId | null | undefined;
|
|
6197
|
+
replyTo?: ReplyToAddresses | undefined;
|
|
6198
|
+
/**
|
|
6199
|
+
* The topic for this send. Omit to inherit the template topic; null disables topic inheritance for a direct send. Campaigns require a topic.
|
|
6200
|
+
*/
|
|
6201
|
+
topicId?: TopicId | null | undefined;
|
|
6202
|
+
tracking?: EmailTrackingOverrideV1 | undefined;
|
|
6203
|
+
footer?: EmailFooterOverride | undefined;
|
|
6204
|
+
headers?: EmailCustomHeadersWritable | null | undefined;
|
|
6205
|
+
};
|
|
6206
|
+
export type MessageReceipt = {
|
|
6207
|
+
id: MessageId;
|
|
6208
|
+
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
6209
|
+
waitReason: "rate" | "daily-quota" | "domain-health" | "sending-paused" | "upstream-unavailable" | "retry" | "campaign-paused" | "domain-warming" | "onboarding-review" | "content-review" | "screening-unavailable" | null;
|
|
6210
|
+
reviewExpectedAt: string | null;
|
|
6211
|
+
skippedRecipients: Array<SkippedRecipient>;
|
|
6212
|
+
createdAt: string;
|
|
6213
|
+
};
|
|
6214
|
+
export type SendMessagePayload = EmailSendMessagePayload | SmsSendMessagePayload | WhatsAppSendMessagePayload;
|
|
6215
|
+
/**
|
|
6216
|
+
* Send WhatsApp messages from your connected business account.
|
|
6217
|
+
*/
|
|
6218
|
+
export type WhatsAppSendMessagePayload = {
|
|
6219
|
+
conversationId?: ConversationId | null | undefined;
|
|
6220
|
+
metadata?: MessageMetadataWritable | undefined;
|
|
6221
|
+
channel: "whatsapp";
|
|
6222
|
+
to: WhatsAppRecipients;
|
|
6223
|
+
whatsapp: WhatsAppContentWritable;
|
|
6224
|
+
};
|
|
6225
|
+
/**
|
|
6226
|
+
* The payload is accepted by the contract today and the endpoint answers 403 until the channel launches for your organization.
|
|
6227
|
+
*/
|
|
6228
|
+
export type SmsSendMessagePayload = {
|
|
6229
|
+
conversationId?: ConversationId | null | undefined;
|
|
6230
|
+
metadata?: MessageMetadataWritable | undefined;
|
|
6231
|
+
channel: "sms";
|
|
6232
|
+
to: SmsRecipients;
|
|
6233
|
+
sms: SmsContentWritable;
|
|
6234
|
+
};
|
|
6235
|
+
export type EmailAddress = {
|
|
6236
|
+
email: string;
|
|
6237
|
+
name: string | null;
|
|
6238
|
+
};
|
|
6093
6239
|
export type MessageDeliveryList = {
|
|
6094
6240
|
id: MessageId;
|
|
6095
6241
|
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
@@ -6176,10 +6322,6 @@ export type MessageSubmission = {
|
|
|
6176
6322
|
userId: UserId | null;
|
|
6177
6323
|
client: SubmissionClient | null;
|
|
6178
6324
|
};
|
|
6179
|
-
export type SubmissionClient = {
|
|
6180
|
-
surface: "typescript-promise" | "typescript-effect" | "cli" | "mcp";
|
|
6181
|
-
version: string;
|
|
6182
|
-
};
|
|
6183
6325
|
export type SubmissionCredential = {
|
|
6184
6326
|
kind: "api_key";
|
|
6185
6327
|
apiKeyId: ApiKeyId | null;
|
|
@@ -6485,7 +6627,7 @@ export type MessagesSendData = {
|
|
|
6485
6627
|
body: EmailSendMessagePayload | SmsSendMessagePayload | WhatsAppSendMessagePayload;
|
|
6486
6628
|
headers?: {
|
|
6487
6629
|
/**
|
|
6488
|
-
* Optional org-scoped key that makes a send idempotent. Repeating a request with the same key and identical payload replays the original 201 response
|
|
6630
|
+
* Optional org-scoped key that makes a send idempotent. Repeating a request with the same key and identical payload replays the original 201 response after the first send succeeds. While it is in progress, wait for Retry-After and retry with the same key and body. Reusing the key with different content also returns 409, without a retry hint.
|
|
6489
6631
|
*/
|
|
6490
6632
|
"idempotency-key"?: string | undefined;
|
|
6491
6633
|
};
|
|
@@ -7024,14 +7166,118 @@ export type MessagesGetEventsErrors = {
|
|
|
7024
7166
|
*/
|
|
7025
7167
|
504: GatewayTimeoutError;
|
|
7026
7168
|
};
|
|
7027
|
-
export type MessagesGetEventsError = MessagesGetEventsErrors[keyof MessagesGetEventsErrors];
|
|
7028
|
-
export type MessagesGetEventsResponses = {
|
|
7169
|
+
export type MessagesGetEventsError = MessagesGetEventsErrors[keyof MessagesGetEventsErrors];
|
|
7170
|
+
export type MessagesGetEventsResponses = {
|
|
7171
|
+
/**
|
|
7172
|
+
* MessageEventPage
|
|
7173
|
+
*/
|
|
7174
|
+
200: MessageEventPage;
|
|
7175
|
+
};
|
|
7176
|
+
export type MessagesGetEventsResponse = MessagesGetEventsResponses[keyof MessagesGetEventsResponses];
|
|
7177
|
+
export type LogsListData = {
|
|
7178
|
+
body?: never;
|
|
7179
|
+
path?: never;
|
|
7180
|
+
query?: {
|
|
7181
|
+
limit?: number | null | undefined;
|
|
7182
|
+
cursor?: string | undefined;
|
|
7183
|
+
after?: string | undefined;
|
|
7184
|
+
orderBy?: "timestamp" | "recorded" | undefined;
|
|
7185
|
+
order?: "asc" | "desc" | undefined;
|
|
7186
|
+
since?: string | undefined;
|
|
7187
|
+
until?: string | undefined;
|
|
7188
|
+
status?: string | undefined;
|
|
7189
|
+
event?: string | undefined;
|
|
7190
|
+
channel?: "sms" | "whatsapp" | "email" | undefined;
|
|
7191
|
+
direction?: "outbound" | "inbound" | undefined;
|
|
7192
|
+
origin?: "direct" | "campaign" | "scheduled" | "mailbox" | "forwarding" | "journey" | "businessApp" | undefined;
|
|
7193
|
+
credential?: string | undefined;
|
|
7194
|
+
from?: string | undefined;
|
|
7195
|
+
messageId?: MessageId | undefined;
|
|
7196
|
+
mailboxId?: MailboxId | undefined;
|
|
7197
|
+
requestId?: string | undefined;
|
|
7198
|
+
};
|
|
7199
|
+
url: "/v1/logs";
|
|
7200
|
+
};
|
|
7201
|
+
export type LogsListErrors = {
|
|
7202
|
+
/**
|
|
7203
|
+
* MalformedRequestError
|
|
7204
|
+
*/
|
|
7205
|
+
400: MalformedRequestError;
|
|
7206
|
+
/**
|
|
7207
|
+
* UnauthorizedError
|
|
7208
|
+
*/
|
|
7209
|
+
401: UnauthorizedError;
|
|
7210
|
+
/**
|
|
7211
|
+
* ForbiddenError
|
|
7212
|
+
*/
|
|
7213
|
+
403: ForbiddenError;
|
|
7214
|
+
/**
|
|
7215
|
+
* ValidationError
|
|
7216
|
+
*/
|
|
7217
|
+
422: ValidationError;
|
|
7218
|
+
/**
|
|
7219
|
+
* InternalError
|
|
7220
|
+
*/
|
|
7221
|
+
500: InternalError;
|
|
7222
|
+
/**
|
|
7223
|
+
* GatewayTimeoutError
|
|
7224
|
+
*/
|
|
7225
|
+
504: GatewayTimeoutError;
|
|
7226
|
+
};
|
|
7227
|
+
export type LogsListError = LogsListErrors[keyof LogsListErrors];
|
|
7228
|
+
export type LogsListResponses = {
|
|
7229
|
+
/**
|
|
7230
|
+
* MessageLogPage
|
|
7231
|
+
*/
|
|
7232
|
+
200: MessageLogPage;
|
|
7233
|
+
};
|
|
7234
|
+
export type LogsListResponse = LogsListResponses[keyof LogsListResponses];
|
|
7235
|
+
export type LogsGetData = {
|
|
7236
|
+
body?: never;
|
|
7237
|
+
path: {
|
|
7238
|
+
id: MessageId | string;
|
|
7239
|
+
};
|
|
7240
|
+
query?: never;
|
|
7241
|
+
url: "/v1/logs/{id}";
|
|
7242
|
+
};
|
|
7243
|
+
export type LogsGetErrors = {
|
|
7244
|
+
/**
|
|
7245
|
+
* MalformedRequestError
|
|
7246
|
+
*/
|
|
7247
|
+
400: MalformedRequestError;
|
|
7248
|
+
/**
|
|
7249
|
+
* UnauthorizedError
|
|
7250
|
+
*/
|
|
7251
|
+
401: UnauthorizedError;
|
|
7252
|
+
/**
|
|
7253
|
+
* ForbiddenError
|
|
7254
|
+
*/
|
|
7255
|
+
403: ForbiddenError;
|
|
7256
|
+
/**
|
|
7257
|
+
* ResourceNotFoundError
|
|
7258
|
+
*/
|
|
7259
|
+
404: ResourceNotFoundError;
|
|
7260
|
+
/**
|
|
7261
|
+
* ValidationError
|
|
7262
|
+
*/
|
|
7263
|
+
422: ValidationError;
|
|
7264
|
+
/**
|
|
7265
|
+
* InternalError
|
|
7266
|
+
*/
|
|
7267
|
+
500: InternalError;
|
|
7268
|
+
/**
|
|
7269
|
+
* GatewayTimeoutError
|
|
7270
|
+
*/
|
|
7271
|
+
504: GatewayTimeoutError;
|
|
7272
|
+
};
|
|
7273
|
+
export type LogsGetError = LogsGetErrors[keyof LogsGetErrors];
|
|
7274
|
+
export type LogsGetResponses = {
|
|
7029
7275
|
/**
|
|
7030
|
-
*
|
|
7276
|
+
* LogDetail
|
|
7031
7277
|
*/
|
|
7032
|
-
200:
|
|
7278
|
+
200: LogDetail;
|
|
7033
7279
|
};
|
|
7034
|
-
export type
|
|
7280
|
+
export type LogsGetResponse = LogsGetResponses[keyof LogsGetResponses];
|
|
7035
7281
|
export type OperationsListData = {
|
|
7036
7282
|
body?: never;
|
|
7037
7283
|
path?: never;
|
|
@@ -7461,9 +7707,9 @@ export type CampaignsPreviewErrors = {
|
|
|
7461
7707
|
*/
|
|
7462
7708
|
401: UnauthorizedError;
|
|
7463
7709
|
/**
|
|
7464
|
-
*
|
|
7710
|
+
* ForbiddenError
|
|
7465
7711
|
*/
|
|
7466
|
-
403:
|
|
7712
|
+
403: ForbiddenError;
|
|
7467
7713
|
/**
|
|
7468
7714
|
* ResourceNotFoundError
|
|
7469
7715
|
*/
|
|
@@ -7521,9 +7767,9 @@ export type CampaignsSendTestErrors = {
|
|
|
7521
7767
|
*/
|
|
7522
7768
|
402: PaymentRequiredError;
|
|
7523
7769
|
/**
|
|
7524
|
-
* ForbiddenError | OnboardingReviewRequiredError
|
|
7770
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
7525
7771
|
*/
|
|
7526
|
-
403: ForbiddenError | OnboardingReviewRequiredError
|
|
7772
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
7527
7773
|
/**
|
|
7528
7774
|
* ResourceNotFoundError
|
|
7529
7775
|
*/
|
|
@@ -9151,7 +9397,6 @@ export type EmailCompleteDomainConnectResponses = {
|
|
|
9151
9397
|
export type EmailCompleteDomainConnectResponse = EmailCompleteDomainConnectResponses[keyof EmailCompleteDomainConnectResponses];
|
|
9152
9398
|
export type EmailEnableReceivingData = {
|
|
9153
9399
|
body: {
|
|
9154
|
-
domain: string;
|
|
9155
9400
|
catchAll?: boolean | null | undefined;
|
|
9156
9401
|
endpointId?: WebhookEndpointId | null | undefined;
|
|
9157
9402
|
addresses?: Array<string> | null | undefined;
|
|
@@ -14249,9 +14494,9 @@ export type JourneysCreateErrors = {
|
|
|
14249
14494
|
*/
|
|
14250
14495
|
402: PaymentRequiredError;
|
|
14251
14496
|
/**
|
|
14252
|
-
*
|
|
14497
|
+
* ForbiddenError
|
|
14253
14498
|
*/
|
|
14254
|
-
403:
|
|
14499
|
+
403: ForbiddenError;
|
|
14255
14500
|
/**
|
|
14256
14501
|
* ResourceNotFoundError
|
|
14257
14502
|
*/
|
|
@@ -14454,9 +14699,9 @@ export type JourneysReplaceDraftErrors = {
|
|
|
14454
14699
|
*/
|
|
14455
14700
|
402: PaymentRequiredError;
|
|
14456
14701
|
/**
|
|
14457
|
-
*
|
|
14702
|
+
* ForbiddenError
|
|
14458
14703
|
*/
|
|
14459
|
-
403:
|
|
14704
|
+
403: ForbiddenError;
|
|
14460
14705
|
/**
|
|
14461
14706
|
* ResourceNotFoundError
|
|
14462
14707
|
*/
|
|
@@ -14514,9 +14759,9 @@ export type JourneysPublishErrors = {
|
|
|
14514
14759
|
*/
|
|
14515
14760
|
402: PaymentRequiredError;
|
|
14516
14761
|
/**
|
|
14517
|
-
*
|
|
14762
|
+
* ForbiddenError
|
|
14518
14763
|
*/
|
|
14519
|
-
403:
|
|
14764
|
+
403: ForbiddenError;
|
|
14520
14765
|
/**
|
|
14521
14766
|
* ResourceNotFoundError
|
|
14522
14767
|
*/
|
|
@@ -14622,9 +14867,9 @@ export type JourneysResumeErrors = {
|
|
|
14622
14867
|
*/
|
|
14623
14868
|
402: PaymentRequiredError;
|
|
14624
14869
|
/**
|
|
14625
|
-
*
|
|
14870
|
+
* ForbiddenError
|
|
14626
14871
|
*/
|
|
14627
|
-
403:
|
|
14872
|
+
403: ForbiddenError;
|
|
14628
14873
|
/**
|
|
14629
14874
|
* ResourceNotFoundError
|
|
14630
14875
|
*/
|
|
@@ -15864,9 +16109,9 @@ export type IntegrationCatalogRecipeConnectionHandoffErrors = {
|
|
|
15864
16109
|
*/
|
|
15865
16110
|
401: UnauthorizedError;
|
|
15866
16111
|
/**
|
|
15867
|
-
* ForbiddenError
|
|
16112
|
+
* ForbiddenError
|
|
15868
16113
|
*/
|
|
15869
|
-
403: ForbiddenError
|
|
16114
|
+
403: ForbiddenError;
|
|
15870
16115
|
/**
|
|
15871
16116
|
* ResourceNotFoundError
|
|
15872
16117
|
*/
|
|
@@ -16120,9 +16365,9 @@ export type IntegrationCatalogRecipeSetupActivateErrors = {
|
|
|
16120
16365
|
*/
|
|
16121
16366
|
402: PaymentRequiredError;
|
|
16122
16367
|
/**
|
|
16123
|
-
* ForbiddenError
|
|
16368
|
+
* ForbiddenError
|
|
16124
16369
|
*/
|
|
16125
|
-
403: ForbiddenError
|
|
16370
|
+
403: ForbiddenError;
|
|
16126
16371
|
/**
|
|
16127
16372
|
* ResourceNotFoundError
|
|
16128
16373
|
*/
|
|
@@ -16233,9 +16478,9 @@ export type IntegrationCatalogRecipeWhatsAppChallengeBeginErrors = {
|
|
|
16233
16478
|
*/
|
|
16234
16479
|
401: UnauthorizedError;
|
|
16235
16480
|
/**
|
|
16236
|
-
* ForbiddenError
|
|
16481
|
+
* ForbiddenError
|
|
16237
16482
|
*/
|
|
16238
|
-
403: ForbiddenError
|
|
16483
|
+
403: ForbiddenError;
|
|
16239
16484
|
/**
|
|
16240
16485
|
* ResourceNotFoundError
|
|
16241
16486
|
*/
|
|
@@ -16284,9 +16529,9 @@ export type IntegrationCatalogRecipeWhatsAppChallengeGetErrors = {
|
|
|
16284
16529
|
*/
|
|
16285
16530
|
401: UnauthorizedError;
|
|
16286
16531
|
/**
|
|
16287
|
-
* ForbiddenError
|
|
16532
|
+
* ForbiddenError
|
|
16288
16533
|
*/
|
|
16289
|
-
403: ForbiddenError
|
|
16534
|
+
403: ForbiddenError;
|
|
16290
16535
|
/**
|
|
16291
16536
|
* ResourceNotFoundError
|
|
16292
16537
|
*/
|
|
@@ -16337,9 +16582,9 @@ export type IntegrationCatalogRecipeWhatsAppChallengeConfirmErrors = {
|
|
|
16337
16582
|
*/
|
|
16338
16583
|
401: UnauthorizedError;
|
|
16339
16584
|
/**
|
|
16340
|
-
* ForbiddenError
|
|
16585
|
+
* ForbiddenError
|
|
16341
16586
|
*/
|
|
16342
|
-
403: ForbiddenError
|
|
16587
|
+
403: ForbiddenError;
|
|
16343
16588
|
/**
|
|
16344
16589
|
* ResourceNotFoundError
|
|
16345
16590
|
*/
|
|
@@ -16414,9 +16659,9 @@ export type IntegrationCatalogRecipeTestErrors = {
|
|
|
16414
16659
|
*/
|
|
16415
16660
|
402: PaymentRequiredError;
|
|
16416
16661
|
/**
|
|
16417
|
-
* ForbiddenError |
|
|
16662
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16418
16663
|
*/
|
|
16419
|
-
403: ForbiddenError |
|
|
16664
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16420
16665
|
/**
|
|
16421
16666
|
* ResourceNotFoundError
|
|
16422
16667
|
*/
|
|
@@ -16670,8 +16915,8 @@ export type IntegrationCatalogSearchData = {
|
|
|
16670
16915
|
key?: IntegrationKey | undefined;
|
|
16671
16916
|
query?: string | undefined;
|
|
16672
16917
|
category?: "commerce" | "payments" | "shipping" | "calendar" | "crm" | "helpdesk" | "knowledge" | "forms" | "accounting" | "reviews" | "productivity" | "dns" | "channel" | "other" | undefined;
|
|
16673
|
-
|
|
16674
|
-
|
|
16918
|
+
limit?: number | null | undefined;
|
|
16919
|
+
cursor?: string | undefined;
|
|
16675
16920
|
};
|
|
16676
16921
|
url: "/v1/integrations/catalog/search";
|
|
16677
16922
|
};
|
|
@@ -16846,8 +17091,8 @@ export type IntegrationsListToolsData = {
|
|
|
16846
17091
|
integrationId: IntegrationId;
|
|
16847
17092
|
};
|
|
16848
17093
|
query?: {
|
|
16849
|
-
|
|
16850
|
-
|
|
17094
|
+
limit?: number | null | undefined;
|
|
17095
|
+
cursor?: string | undefined;
|
|
16851
17096
|
};
|
|
16852
17097
|
url: "/v1/integrations/{integrationId}/tools";
|
|
16853
17098
|
};
|
|
@@ -16891,11 +17136,8 @@ export type IntegrationsListToolsResponses = {
|
|
|
16891
17136
|
* Success
|
|
16892
17137
|
*/
|
|
16893
17138
|
200: {
|
|
16894
|
-
nextOffset: number | null;
|
|
16895
|
-
total: number;
|
|
16896
|
-
revision: string;
|
|
16897
|
-
offset: number;
|
|
16898
17139
|
items: Array<IntegrationToolView>;
|
|
17140
|
+
nextCursor: string | null;
|
|
16899
17141
|
};
|
|
16900
17142
|
};
|
|
16901
17143
|
export type IntegrationsListToolsResponse = IntegrationsListToolsResponses[keyof IntegrationsListToolsResponses];
|
|
@@ -17147,9 +17389,9 @@ export type SubscriptionsSubscribeErrors = {
|
|
|
17147
17389
|
*/
|
|
17148
17390
|
402: PaymentRequiredError;
|
|
17149
17391
|
/**
|
|
17150
|
-
* ForbiddenError | OnboardingReviewRequiredError
|
|
17392
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
17151
17393
|
*/
|
|
17152
|
-
403: ForbiddenError | OnboardingReviewRequiredError
|
|
17394
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
17153
17395
|
/**
|
|
17154
17396
|
* ResourceNotFoundError
|
|
17155
17397
|
*/
|
|
@@ -18702,9 +18944,9 @@ export type NewslettersListErrors = {
|
|
|
18702
18944
|
*/
|
|
18703
18945
|
401: UnauthorizedError;
|
|
18704
18946
|
/**
|
|
18705
|
-
* ForbiddenError
|
|
18947
|
+
* ForbiddenError
|
|
18706
18948
|
*/
|
|
18707
|
-
403: ForbiddenError
|
|
18949
|
+
403: ForbiddenError;
|
|
18708
18950
|
/**
|
|
18709
18951
|
* ResourceNotFoundError
|
|
18710
18952
|
*/
|
|
@@ -18762,9 +19004,9 @@ export type NewslettersCreateErrors = {
|
|
|
18762
19004
|
*/
|
|
18763
19005
|
401: UnauthorizedError;
|
|
18764
19006
|
/**
|
|
18765
|
-
* ForbiddenError
|
|
19007
|
+
* ForbiddenError
|
|
18766
19008
|
*/
|
|
18767
|
-
403: ForbiddenError
|
|
19009
|
+
403: ForbiddenError;
|
|
18768
19010
|
/**
|
|
18769
19011
|
* ResourceNotFoundError
|
|
18770
19012
|
*/
|
|
@@ -18815,9 +19057,9 @@ export type NewslettersRemoveErrors = {
|
|
|
18815
19057
|
*/
|
|
18816
19058
|
401: UnauthorizedError;
|
|
18817
19059
|
/**
|
|
18818
|
-
* ForbiddenError
|
|
19060
|
+
* ForbiddenError
|
|
18819
19061
|
*/
|
|
18820
|
-
403: ForbiddenError
|
|
19062
|
+
403: ForbiddenError;
|
|
18821
19063
|
/**
|
|
18822
19064
|
* ResourceNotFoundError
|
|
18823
19065
|
*/
|
|
@@ -18867,9 +19109,9 @@ export type NewslettersGetErrors = {
|
|
|
18867
19109
|
*/
|
|
18868
19110
|
401: UnauthorizedError;
|
|
18869
19111
|
/**
|
|
18870
|
-
* ForbiddenError
|
|
19112
|
+
* ForbiddenError
|
|
18871
19113
|
*/
|
|
18872
|
-
403: ForbiddenError
|
|
19114
|
+
403: ForbiddenError;
|
|
18873
19115
|
/**
|
|
18874
19116
|
* ResourceNotFoundError
|
|
18875
19117
|
*/
|
|
@@ -18923,9 +19165,9 @@ export type NewslettersUpdateErrors = {
|
|
|
18923
19165
|
*/
|
|
18924
19166
|
401: UnauthorizedError;
|
|
18925
19167
|
/**
|
|
18926
|
-
* ForbiddenError
|
|
19168
|
+
* ForbiddenError
|
|
18927
19169
|
*/
|
|
18928
|
-
403: ForbiddenError
|
|
19170
|
+
403: ForbiddenError;
|
|
18929
19171
|
/**
|
|
18930
19172
|
* ResourceNotFoundError
|
|
18931
19173
|
*/
|
|
@@ -18973,9 +19215,9 @@ export type NewsletterIssuesListErrors = {
|
|
|
18973
19215
|
*/
|
|
18974
19216
|
401: UnauthorizedError;
|
|
18975
19217
|
/**
|
|
18976
|
-
* ForbiddenError
|
|
19218
|
+
* ForbiddenError
|
|
18977
19219
|
*/
|
|
18978
|
-
403: ForbiddenError
|
|
19220
|
+
403: ForbiddenError;
|
|
18979
19221
|
/**
|
|
18980
19222
|
* ResourceNotFoundError
|
|
18981
19223
|
*/
|
|
@@ -19037,9 +19279,9 @@ export type NewsletterIssuesUpdateErrors = {
|
|
|
19037
19279
|
*/
|
|
19038
19280
|
401: UnauthorizedError;
|
|
19039
19281
|
/**
|
|
19040
|
-
* ForbiddenError
|
|
19282
|
+
* ForbiddenError
|
|
19041
19283
|
*/
|
|
19042
|
-
403: ForbiddenError
|
|
19284
|
+
403: ForbiddenError;
|
|
19043
19285
|
/**
|
|
19044
19286
|
* ResourceNotFoundError
|
|
19045
19287
|
*/
|
|
@@ -19193,9 +19435,9 @@ export type NewsletterIssuesCreateErrors = {
|
|
|
19193
19435
|
*/
|
|
19194
19436
|
401: UnauthorizedError;
|
|
19195
19437
|
/**
|
|
19196
|
-
* ForbiddenError
|
|
19438
|
+
* ForbiddenError
|
|
19197
19439
|
*/
|
|
19198
|
-
403: ForbiddenError
|
|
19440
|
+
403: ForbiddenError;
|
|
19199
19441
|
/**
|
|
19200
19442
|
* ResourceNotFoundError
|
|
19201
19443
|
*/
|
|
@@ -19339,9 +19581,9 @@ export type NewsletterIssuesOpenErrors = {
|
|
|
19339
19581
|
*/
|
|
19340
19582
|
401: UnauthorizedError;
|
|
19341
19583
|
/**
|
|
19342
|
-
* ForbiddenError
|
|
19584
|
+
* ForbiddenError
|
|
19343
19585
|
*/
|
|
19344
|
-
403: ForbiddenError
|
|
19586
|
+
403: ForbiddenError;
|
|
19345
19587
|
/**
|
|
19346
19588
|
* ResourceNotFoundError
|
|
19347
19589
|
*/
|
|
@@ -19491,9 +19733,9 @@ export type NewsletterIssuesGetErrors = {
|
|
|
19491
19733
|
*/
|
|
19492
19734
|
401: UnauthorizedError;
|
|
19493
19735
|
/**
|
|
19494
|
-
* ForbiddenError
|
|
19736
|
+
* ForbiddenError
|
|
19495
19737
|
*/
|
|
19496
|
-
403: ForbiddenError
|
|
19738
|
+
403: ForbiddenError;
|
|
19497
19739
|
/**
|
|
19498
19740
|
* ResourceNotFoundError
|
|
19499
19741
|
*/
|
|
@@ -19554,9 +19796,9 @@ export type NewsletterIssuesRemoveErrors = {
|
|
|
19554
19796
|
*/
|
|
19555
19797
|
401: UnauthorizedError;
|
|
19556
19798
|
/**
|
|
19557
|
-
* ForbiddenError
|
|
19799
|
+
* ForbiddenError
|
|
19558
19800
|
*/
|
|
19559
|
-
403: ForbiddenError
|
|
19801
|
+
403: ForbiddenError;
|
|
19560
19802
|
/**
|
|
19561
19803
|
* ResourceNotFoundError
|
|
19562
19804
|
*/
|
|
@@ -19707,9 +19949,9 @@ export type NewsletterIssuesSaveErrors = {
|
|
|
19707
19949
|
*/
|
|
19708
19950
|
401: UnauthorizedError;
|
|
19709
19951
|
/**
|
|
19710
|
-
* ForbiddenError
|
|
19952
|
+
* ForbiddenError
|
|
19711
19953
|
*/
|
|
19712
|
-
403: ForbiddenError
|
|
19954
|
+
403: ForbiddenError;
|
|
19713
19955
|
/**
|
|
19714
19956
|
* ResourceNotFoundError
|
|
19715
19957
|
*/
|
|
@@ -19824,9 +20066,9 @@ export type NewsletterIssuesCheckErrors = {
|
|
|
19824
20066
|
*/
|
|
19825
20067
|
401: UnauthorizedError;
|
|
19826
20068
|
/**
|
|
19827
|
-
* ForbiddenError
|
|
20069
|
+
* ForbiddenError
|
|
19828
20070
|
*/
|
|
19829
|
-
403: ForbiddenError
|
|
20071
|
+
403: ForbiddenError;
|
|
19830
20072
|
/**
|
|
19831
20073
|
* ResourceNotFoundError
|
|
19832
20074
|
*/
|
|
@@ -19972,9 +20214,9 @@ export type NewsletterIssuesRenderErrors = {
|
|
|
19972
20214
|
*/
|
|
19973
20215
|
401: UnauthorizedError;
|
|
19974
20216
|
/**
|
|
19975
|
-
* ForbiddenError
|
|
20217
|
+
* ForbiddenError
|
|
19976
20218
|
*/
|
|
19977
|
-
403: ForbiddenError
|
|
20219
|
+
403: ForbiddenError;
|
|
19978
20220
|
/**
|
|
19979
20221
|
* ResourceNotFoundError
|
|
19980
20222
|
*/
|
|
@@ -20183,9 +20425,9 @@ export type NewsletterIssuesHeadErrors = {
|
|
|
20183
20425
|
*/
|
|
20184
20426
|
401: UnauthorizedError;
|
|
20185
20427
|
/**
|
|
20186
|
-
* ForbiddenError
|
|
20428
|
+
* ForbiddenError
|
|
20187
20429
|
*/
|
|
20188
|
-
403: ForbiddenError
|
|
20430
|
+
403: ForbiddenError;
|
|
20189
20431
|
/**
|
|
20190
20432
|
* ResourceNotFoundError
|
|
20191
20433
|
*/
|
|
@@ -20243,9 +20485,9 @@ export type NewsletterIssuesHistoryErrors = {
|
|
|
20243
20485
|
*/
|
|
20244
20486
|
401: UnauthorizedError;
|
|
20245
20487
|
/**
|
|
20246
|
-
* ForbiddenError
|
|
20488
|
+
* ForbiddenError
|
|
20247
20489
|
*/
|
|
20248
|
-
403: ForbiddenError
|
|
20490
|
+
403: ForbiddenError;
|
|
20249
20491
|
/**
|
|
20250
20492
|
* ResourceNotFoundError
|
|
20251
20493
|
*/
|
|
@@ -20310,9 +20552,9 @@ export type NewsletterDomainsListErrors = {
|
|
|
20310
20552
|
*/
|
|
20311
20553
|
401: UnauthorizedError;
|
|
20312
20554
|
/**
|
|
20313
|
-
* ForbiddenError
|
|
20555
|
+
* ForbiddenError
|
|
20314
20556
|
*/
|
|
20315
|
-
403: ForbiddenError
|
|
20557
|
+
403: ForbiddenError;
|
|
20316
20558
|
/**
|
|
20317
20559
|
* ResourceNotFoundError
|
|
20318
20560
|
*/
|
|
@@ -20365,9 +20607,9 @@ export type NewsletterDomainsAddErrors = {
|
|
|
20365
20607
|
*/
|
|
20366
20608
|
401: UnauthorizedError;
|
|
20367
20609
|
/**
|
|
20368
|
-
* ForbiddenError
|
|
20610
|
+
* ForbiddenError
|
|
20369
20611
|
*/
|
|
20370
|
-
403: ForbiddenError
|
|
20612
|
+
403: ForbiddenError;
|
|
20371
20613
|
/**
|
|
20372
20614
|
* ResourceNotFoundError
|
|
20373
20615
|
*/
|
|
@@ -20439,9 +20681,9 @@ export type NewsletterDomainsRemoveErrors = {
|
|
|
20439
20681
|
*/
|
|
20440
20682
|
401: UnauthorizedError;
|
|
20441
20683
|
/**
|
|
20442
|
-
* ForbiddenError
|
|
20684
|
+
* ForbiddenError
|
|
20443
20685
|
*/
|
|
20444
|
-
403: ForbiddenError
|
|
20686
|
+
403: ForbiddenError;
|
|
20445
20687
|
/**
|
|
20446
20688
|
* ResourceNotFoundError
|
|
20447
20689
|
*/
|
|
@@ -20510,9 +20752,9 @@ export type NewsletterDomainsGetErrors = {
|
|
|
20510
20752
|
*/
|
|
20511
20753
|
401: UnauthorizedError;
|
|
20512
20754
|
/**
|
|
20513
|
-
* ForbiddenError
|
|
20755
|
+
* ForbiddenError
|
|
20514
20756
|
*/
|
|
20515
|
-
403: ForbiddenError
|
|
20757
|
+
403: ForbiddenError;
|
|
20516
20758
|
/**
|
|
20517
20759
|
* ResourceNotFoundError
|
|
20518
20760
|
*/
|
|
@@ -21591,7 +21833,7 @@ export type TemplatesSuggestStartersData = {
|
|
|
21591
21833
|
*/
|
|
21592
21834
|
brief: string;
|
|
21593
21835
|
/**
|
|
21594
|
-
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters
|
|
21836
|
+
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters.
|
|
21595
21837
|
*/
|
|
21596
21838
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
21597
21839
|
};
|
|
@@ -21640,7 +21882,7 @@ export type TemplatesCreateFromBriefData = {
|
|
|
21640
21882
|
*/
|
|
21641
21883
|
brief: string;
|
|
21642
21884
|
/**
|
|
21643
|
-
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters
|
|
21885
|
+
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters.
|
|
21644
21886
|
*/
|
|
21645
21887
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
21646
21888
|
name?: string | null | undefined;
|
|
@@ -28071,7 +28313,7 @@ export type MailboxesListOrganizationThreadsData = {
|
|
|
28071
28313
|
senders?: string | Array<string> | undefined;
|
|
28072
28314
|
excludeTrash?: boolean | null | undefined;
|
|
28073
28315
|
/**
|
|
28074
|
-
* Search subjects, participants, message text, and attachment filenames by semantic and keyword relevance. Filters narrow the search. Returns up to 100 best-matching threads across cursor pages
|
|
28316
|
+
* Search subjects, participants, message text, and attachment filenames by semantic and keyword relevance. Filters narrow the search. Returns up to 100 best-matching threads across cursor pages. With no search, the list uses its requested sort order. New mail can take a few seconds to become searchable. Attachment contents are not searched.
|
|
28075
28317
|
*/
|
|
28076
28318
|
q?: string | undefined;
|
|
28077
28319
|
state?: "active" | "done" | undefined;
|
|
@@ -28080,6 +28322,10 @@ export type MailboxesListOrganizationThreadsData = {
|
|
|
28080
28322
|
unread?: boolean | null | undefined;
|
|
28081
28323
|
starred?: boolean | null | undefined;
|
|
28082
28324
|
snoozed?: boolean | null | undefined;
|
|
28325
|
+
/**
|
|
28326
|
+
* With snoozed=true and no q, list earliest wake first, then thread ID ascending. Keep the same order when passing back a cursor. Search results use relevance order.
|
|
28327
|
+
*/
|
|
28328
|
+
order?: "wake" | undefined;
|
|
28083
28329
|
mailboxId?: MailboxId | Array<MailboxId> | undefined;
|
|
28084
28330
|
kind?: "personal" | "shared" | undefined;
|
|
28085
28331
|
conversation?: ConversationId | undefined;
|
|
@@ -28138,7 +28384,7 @@ export type MailboxesListThreadsData = {
|
|
|
28138
28384
|
senders?: string | Array<string> | undefined;
|
|
28139
28385
|
excludeTrash?: boolean | null | undefined;
|
|
28140
28386
|
/**
|
|
28141
|
-
* Search subjects, participants, message text, and attachment filenames by semantic and keyword relevance. Filters narrow the search. Returns up to 100 best-matching threads across cursor pages
|
|
28387
|
+
* Search subjects, participants, message text, and attachment filenames by semantic and keyword relevance. Filters narrow the search. Returns up to 100 best-matching threads across cursor pages. With no search, the list uses its requested sort order. New mail can take a few seconds to become searchable. Attachment contents are not searched.
|
|
28142
28388
|
*/
|
|
28143
28389
|
q?: string | undefined;
|
|
28144
28390
|
state?: "active" | "done" | undefined;
|
|
@@ -28147,6 +28393,10 @@ export type MailboxesListThreadsData = {
|
|
|
28147
28393
|
unread?: boolean | null | undefined;
|
|
28148
28394
|
starred?: boolean | null | undefined;
|
|
28149
28395
|
snoozed?: boolean | null | undefined;
|
|
28396
|
+
/**
|
|
28397
|
+
* With snoozed=true and no q, list earliest wake first, then thread ID ascending. Keep the same order when passing back a cursor. Search results use relevance order.
|
|
28398
|
+
*/
|
|
28399
|
+
order?: "wake" | undefined;
|
|
28150
28400
|
};
|
|
28151
28401
|
url: "/v1/mailboxes/{id}/threads";
|
|
28152
28402
|
};
|
|
@@ -28862,9 +29112,9 @@ export type MailboxesSendMessageErrors = {
|
|
|
28862
29112
|
*/
|
|
28863
29113
|
402: PaymentRequiredError;
|
|
28864
29114
|
/**
|
|
28865
|
-
*
|
|
29115
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
28866
29116
|
*/
|
|
28867
|
-
403:
|
|
29117
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
28868
29118
|
/**
|
|
28869
29119
|
* ResourceNotFoundError
|
|
28870
29120
|
*/
|
|
@@ -29133,9 +29383,9 @@ export type MailboxesReplyErrors = {
|
|
|
29133
29383
|
*/
|
|
29134
29384
|
402: PaymentRequiredError;
|
|
29135
29385
|
/**
|
|
29136
|
-
*
|
|
29386
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
29137
29387
|
*/
|
|
29138
|
-
403:
|
|
29388
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
29139
29389
|
/**
|
|
29140
29390
|
* ResourceNotFoundError
|
|
29141
29391
|
*/
|
|
@@ -29210,9 +29460,9 @@ export type MailboxesReplyAllErrors = {
|
|
|
29210
29460
|
*/
|
|
29211
29461
|
402: PaymentRequiredError;
|
|
29212
29462
|
/**
|
|
29213
|
-
*
|
|
29463
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
29214
29464
|
*/
|
|
29215
|
-
403:
|
|
29465
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
29216
29466
|
/**
|
|
29217
29467
|
* ResourceNotFoundError
|
|
29218
29468
|
*/
|
|
@@ -29294,9 +29544,9 @@ export type MailboxesForwardErrors = {
|
|
|
29294
29544
|
*/
|
|
29295
29545
|
402: PaymentRequiredError;
|
|
29296
29546
|
/**
|
|
29297
|
-
*
|
|
29547
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError
|
|
29298
29548
|
*/
|
|
29299
|
-
403:
|
|
29549
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError;
|
|
29300
29550
|
/**
|
|
29301
29551
|
* ResourceNotFoundError
|
|
29302
29552
|
*/
|
|
@@ -30010,9 +30260,9 @@ export type MailboxesSendDraftErrors = {
|
|
|
30010
30260
|
*/
|
|
30011
30261
|
402: PaymentRequiredError;
|
|
30012
30262
|
/**
|
|
30013
|
-
*
|
|
30263
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
30014
30264
|
*/
|
|
30015
|
-
403:
|
|
30265
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
30016
30266
|
/**
|
|
30017
30267
|
* ResourceNotFoundError
|
|
30018
30268
|
*/
|
|
@@ -30181,9 +30431,9 @@ export type MailboxesCancelActionErrors = {
|
|
|
30181
30431
|
*/
|
|
30182
30432
|
402: PaymentRequiredError;
|
|
30183
30433
|
/**
|
|
30184
|
-
*
|
|
30434
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError
|
|
30185
30435
|
*/
|
|
30186
|
-
403:
|
|
30436
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError;
|
|
30187
30437
|
/**
|
|
30188
30438
|
* ResourceNotFoundError
|
|
30189
30439
|
*/
|
|
@@ -30252,9 +30502,9 @@ export type MailboxesRetryActionErrors = {
|
|
|
30252
30502
|
*/
|
|
30253
30503
|
402: PaymentRequiredError;
|
|
30254
30504
|
/**
|
|
30255
|
-
*
|
|
30505
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
30256
30506
|
*/
|
|
30257
|
-
403:
|
|
30507
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
30258
30508
|
/**
|
|
30259
30509
|
* ResourceNotFoundError
|
|
30260
30510
|
*/
|
|
@@ -30330,9 +30580,9 @@ export type MailboxesApproveActionErrors = {
|
|
|
30330
30580
|
*/
|
|
30331
30581
|
402: PaymentRequiredError;
|
|
30332
30582
|
/**
|
|
30333
|
-
*
|
|
30583
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
30334
30584
|
*/
|
|
30335
|
-
403:
|
|
30585
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
30336
30586
|
/**
|
|
30337
30587
|
* ResourceNotFoundError
|
|
30338
30588
|
*/
|
|
@@ -31564,9 +31814,9 @@ export type WhatsappGetStatsErrors = {
|
|
|
31564
31814
|
*/
|
|
31565
31815
|
401: UnauthorizedError;
|
|
31566
31816
|
/**
|
|
31567
|
-
*
|
|
31817
|
+
* ForbiddenError
|
|
31568
31818
|
*/
|
|
31569
|
-
403:
|
|
31819
|
+
403: ForbiddenError;
|
|
31570
31820
|
/**
|
|
31571
31821
|
* ValidationError
|
|
31572
31822
|
*/
|
|
@@ -31618,9 +31868,9 @@ export type WhatsappGetTemplateStatsErrors = {
|
|
|
31618
31868
|
*/
|
|
31619
31869
|
401: UnauthorizedError;
|
|
31620
31870
|
/**
|
|
31621
|
-
*
|
|
31871
|
+
* ForbiddenError
|
|
31622
31872
|
*/
|
|
31623
|
-
403:
|
|
31873
|
+
403: ForbiddenError;
|
|
31624
31874
|
/**
|
|
31625
31875
|
* ValidationError
|
|
31626
31876
|
*/
|
|
@@ -31661,9 +31911,9 @@ export type WhatsappGetServiceWindowStatusErrors = {
|
|
|
31661
31911
|
*/
|
|
31662
31912
|
401: UnauthorizedError;
|
|
31663
31913
|
/**
|
|
31664
|
-
*
|
|
31914
|
+
* ForbiddenError
|
|
31665
31915
|
*/
|
|
31666
|
-
403:
|
|
31916
|
+
403: ForbiddenError;
|
|
31667
31917
|
/**
|
|
31668
31918
|
* ResourceNotFoundError
|
|
31669
31919
|
*/
|
|
@@ -31713,9 +31963,9 @@ export type WhatsappGetServiceWindowBillingErrors = {
|
|
|
31713
31963
|
*/
|
|
31714
31964
|
401: UnauthorizedError;
|
|
31715
31965
|
/**
|
|
31716
|
-
*
|
|
31966
|
+
* ForbiddenError
|
|
31717
31967
|
*/
|
|
31718
|
-
403:
|
|
31968
|
+
403: ForbiddenError;
|
|
31719
31969
|
/**
|
|
31720
31970
|
* ResourceNotFoundError
|
|
31721
31971
|
*/
|
|
@@ -31764,9 +32014,9 @@ export type WhatsappGetMediaDownloadUrlErrors = {
|
|
|
31764
32014
|
*/
|
|
31765
32015
|
401: UnauthorizedError;
|
|
31766
32016
|
/**
|
|
31767
|
-
*
|
|
32017
|
+
* ForbiddenError
|
|
31768
32018
|
*/
|
|
31769
|
-
403:
|
|
32019
|
+
403: ForbiddenError;
|
|
31770
32020
|
/**
|
|
31771
32021
|
* ResourceNotFoundError
|
|
31772
32022
|
*/
|
|
@@ -31799,8 +32049,8 @@ export type WhatsappListBusinessAccountsData = {
|
|
|
31799
32049
|
body?: never;
|
|
31800
32050
|
path?: never;
|
|
31801
32051
|
query?: {
|
|
31802
|
-
page?: number | null | undefined;
|
|
31803
32052
|
limit?: number | null | undefined;
|
|
32053
|
+
cursor?: string | undefined;
|
|
31804
32054
|
isActive?: boolean | null | undefined;
|
|
31805
32055
|
verificationStatus?: "pending" | "verified" | "failed" | "suspended" | undefined;
|
|
31806
32056
|
namespaceId?: NamespaceId | undefined;
|
|
@@ -31817,9 +32067,9 @@ export type WhatsappListBusinessAccountsErrors = {
|
|
|
31817
32067
|
*/
|
|
31818
32068
|
401: UnauthorizedError;
|
|
31819
32069
|
/**
|
|
31820
|
-
* ForbiddenError
|
|
32070
|
+
* ForbiddenError
|
|
31821
32071
|
*/
|
|
31822
|
-
403: ForbiddenError
|
|
32072
|
+
403: ForbiddenError;
|
|
31823
32073
|
/**
|
|
31824
32074
|
* ValidationError
|
|
31825
32075
|
*/
|
|
@@ -31866,7 +32116,7 @@ export type WhatsappListBusinessAccountsResponses = {
|
|
|
31866
32116
|
createdAt: string;
|
|
31867
32117
|
updatedAt: string;
|
|
31868
32118
|
}>;
|
|
31869
|
-
|
|
32119
|
+
nextCursor: string | null;
|
|
31870
32120
|
};
|
|
31871
32121
|
};
|
|
31872
32122
|
export type WhatsappListBusinessAccountsResponse = WhatsappListBusinessAccountsResponses[keyof WhatsappListBusinessAccountsResponses];
|
|
@@ -31895,9 +32145,9 @@ export type WhatsappConnectBusinessAccountErrors = {
|
|
|
31895
32145
|
*/
|
|
31896
32146
|
402: PaymentRequiredError;
|
|
31897
32147
|
/**
|
|
31898
|
-
* ForbiddenError
|
|
32148
|
+
* ForbiddenError
|
|
31899
32149
|
*/
|
|
31900
|
-
403: ForbiddenError
|
|
32150
|
+
403: ForbiddenError;
|
|
31901
32151
|
/**
|
|
31902
32152
|
* ResourceNotFoundError
|
|
31903
32153
|
*/
|
|
@@ -31975,9 +32225,9 @@ export type WhatsappDisconnectBusinessAccountErrors = {
|
|
|
31975
32225
|
*/
|
|
31976
32226
|
401: UnauthorizedError;
|
|
31977
32227
|
/**
|
|
31978
|
-
*
|
|
32228
|
+
* ForbiddenError
|
|
31979
32229
|
*/
|
|
31980
|
-
403:
|
|
32230
|
+
403: ForbiddenError;
|
|
31981
32231
|
/**
|
|
31982
32232
|
* ResourceNotFoundError
|
|
31983
32233
|
*/
|
|
@@ -32023,9 +32273,9 @@ export type WhatsappGetBusinessAccountErrors = {
|
|
|
32023
32273
|
*/
|
|
32024
32274
|
401: UnauthorizedError;
|
|
32025
32275
|
/**
|
|
32026
|
-
*
|
|
32276
|
+
* ForbiddenError
|
|
32027
32277
|
*/
|
|
32028
|
-
403:
|
|
32278
|
+
403: ForbiddenError;
|
|
32029
32279
|
/**
|
|
32030
32280
|
* ResourceNotFoundError
|
|
32031
32281
|
*/
|
|
@@ -32098,9 +32348,9 @@ export type WhatsappUpdateBusinessAccountErrors = {
|
|
|
32098
32348
|
*/
|
|
32099
32349
|
401: UnauthorizedError;
|
|
32100
32350
|
/**
|
|
32101
|
-
*
|
|
32351
|
+
* ForbiddenError
|
|
32102
32352
|
*/
|
|
32103
|
-
403:
|
|
32353
|
+
403: ForbiddenError;
|
|
32104
32354
|
/**
|
|
32105
32355
|
* ResourceNotFoundError
|
|
32106
32356
|
*/
|
|
@@ -32170,9 +32420,9 @@ export type WhatsappSetDefaultBusinessAccountErrors = {
|
|
|
32170
32420
|
*/
|
|
32171
32421
|
401: UnauthorizedError;
|
|
32172
32422
|
/**
|
|
32173
|
-
*
|
|
32423
|
+
* ForbiddenError
|
|
32174
32424
|
*/
|
|
32175
|
-
403:
|
|
32425
|
+
403: ForbiddenError;
|
|
32176
32426
|
/**
|
|
32177
32427
|
* ResourceNotFoundError
|
|
32178
32428
|
*/
|
|
@@ -32242,9 +32492,9 @@ export type WhatsappSyncAccountStatusErrors = {
|
|
|
32242
32492
|
*/
|
|
32243
32493
|
401: UnauthorizedError;
|
|
32244
32494
|
/**
|
|
32245
|
-
*
|
|
32495
|
+
* ForbiddenError
|
|
32246
32496
|
*/
|
|
32247
|
-
403:
|
|
32497
|
+
403: ForbiddenError;
|
|
32248
32498
|
/**
|
|
32249
32499
|
* ResourceNotFoundError
|
|
32250
32500
|
*/
|
|
@@ -32298,9 +32548,9 @@ export type WhatsappFlowsListErrors = {
|
|
|
32298
32548
|
*/
|
|
32299
32549
|
401: UnauthorizedError;
|
|
32300
32550
|
/**
|
|
32301
|
-
*
|
|
32551
|
+
* ForbiddenError
|
|
32302
32552
|
*/
|
|
32303
|
-
403:
|
|
32553
|
+
403: ForbiddenError;
|
|
32304
32554
|
/**
|
|
32305
32555
|
* ValidationError
|
|
32306
32556
|
*/
|
|
@@ -32342,9 +32592,9 @@ export type WhatsappFlowsCreateErrors = {
|
|
|
32342
32592
|
*/
|
|
32343
32593
|
401: UnauthorizedError;
|
|
32344
32594
|
/**
|
|
32345
|
-
*
|
|
32595
|
+
* ForbiddenError
|
|
32346
32596
|
*/
|
|
32347
|
-
403:
|
|
32597
|
+
403: ForbiddenError;
|
|
32348
32598
|
/**
|
|
32349
32599
|
* ResourceNotFoundError
|
|
32350
32600
|
*/
|
|
@@ -32392,9 +32642,9 @@ export type WhatsappFlowsGetErrors = {
|
|
|
32392
32642
|
*/
|
|
32393
32643
|
401: UnauthorizedError;
|
|
32394
32644
|
/**
|
|
32395
|
-
*
|
|
32645
|
+
* ForbiddenError
|
|
32396
32646
|
*/
|
|
32397
|
-
403:
|
|
32647
|
+
403: ForbiddenError;
|
|
32398
32648
|
/**
|
|
32399
32649
|
* ResourceNotFoundError
|
|
32400
32650
|
*/
|
|
@@ -32438,9 +32688,9 @@ export type WhatsappFlowsListVersionsErrors = {
|
|
|
32438
32688
|
*/
|
|
32439
32689
|
401: UnauthorizedError;
|
|
32440
32690
|
/**
|
|
32441
|
-
*
|
|
32691
|
+
* ForbiddenError
|
|
32442
32692
|
*/
|
|
32443
|
-
403:
|
|
32693
|
+
403: ForbiddenError;
|
|
32444
32694
|
/**
|
|
32445
32695
|
* ResourceNotFoundError
|
|
32446
32696
|
*/
|
|
@@ -32487,9 +32737,9 @@ export type WhatsappFlowsRecordVersionErrors = {
|
|
|
32487
32737
|
*/
|
|
32488
32738
|
401: UnauthorizedError;
|
|
32489
32739
|
/**
|
|
32490
|
-
*
|
|
32740
|
+
* ForbiddenError
|
|
32491
32741
|
*/
|
|
32492
|
-
403:
|
|
32742
|
+
403: ForbiddenError;
|
|
32493
32743
|
/**
|
|
32494
32744
|
* ResourceNotFoundError
|
|
32495
32745
|
*/
|
|
@@ -32541,9 +32791,9 @@ export type WhatsappFlowsListRegistrationsErrors = {
|
|
|
32541
32791
|
*/
|
|
32542
32792
|
401: UnauthorizedError;
|
|
32543
32793
|
/**
|
|
32544
|
-
*
|
|
32794
|
+
* ForbiddenError
|
|
32545
32795
|
*/
|
|
32546
|
-
403:
|
|
32796
|
+
403: ForbiddenError;
|
|
32547
32797
|
/**
|
|
32548
32798
|
* ResourceNotFoundError
|
|
32549
32799
|
*/
|
|
@@ -32589,9 +32839,9 @@ export type WhatsappFlowsRegisterErrors = {
|
|
|
32589
32839
|
*/
|
|
32590
32840
|
401: UnauthorizedError;
|
|
32591
32841
|
/**
|
|
32592
|
-
*
|
|
32842
|
+
* ForbiddenError
|
|
32593
32843
|
*/
|
|
32594
|
-
403:
|
|
32844
|
+
403: ForbiddenError;
|
|
32595
32845
|
/**
|
|
32596
32846
|
* ResourceNotFoundError
|
|
32597
32847
|
*/
|
|
@@ -32643,9 +32893,9 @@ export type WhatsappFlowsRotateEncryptionKeyErrors = {
|
|
|
32643
32893
|
*/
|
|
32644
32894
|
401: UnauthorizedError;
|
|
32645
32895
|
/**
|
|
32646
|
-
*
|
|
32896
|
+
* ForbiddenError
|
|
32647
32897
|
*/
|
|
32648
|
-
403:
|
|
32898
|
+
403: ForbiddenError;
|
|
32649
32899
|
/**
|
|
32650
32900
|
* ResourceNotFoundError
|
|
32651
32901
|
*/
|
|
@@ -32695,9 +32945,9 @@ export type WhatsappFlowsSetEndpointErrors = {
|
|
|
32695
32945
|
*/
|
|
32696
32946
|
401: UnauthorizedError;
|
|
32697
32947
|
/**
|
|
32698
|
-
*
|
|
32948
|
+
* ForbiddenError
|
|
32699
32949
|
*/
|
|
32700
|
-
403:
|
|
32950
|
+
403: ForbiddenError;
|
|
32701
32951
|
/**
|
|
32702
32952
|
* ResourceNotFoundError
|
|
32703
32953
|
*/
|
|
@@ -32741,9 +32991,9 @@ export type WhatsappFlowsRotateEndpointSecretErrors = {
|
|
|
32741
32991
|
*/
|
|
32742
32992
|
401: UnauthorizedError;
|
|
32743
32993
|
/**
|
|
32744
|
-
*
|
|
32994
|
+
* ForbiddenError
|
|
32745
32995
|
*/
|
|
32746
|
-
403:
|
|
32996
|
+
403: ForbiddenError;
|
|
32747
32997
|
/**
|
|
32748
32998
|
* ResourceNotFoundError
|
|
32749
32999
|
*/
|
|
@@ -32790,9 +33040,9 @@ export type WhatsappSetupLinksListErrors = {
|
|
|
32790
33040
|
*/
|
|
32791
33041
|
401: UnauthorizedError;
|
|
32792
33042
|
/**
|
|
32793
|
-
* ForbiddenError
|
|
33043
|
+
* ForbiddenError
|
|
32794
33044
|
*/
|
|
32795
|
-
403: ForbiddenError
|
|
33045
|
+
403: ForbiddenError;
|
|
32796
33046
|
/**
|
|
32797
33047
|
* ValidationError
|
|
32798
33048
|
*/
|
|
@@ -32839,9 +33089,9 @@ export type WhatsappSetupLinksCreateErrors = {
|
|
|
32839
33089
|
*/
|
|
32840
33090
|
402: PaymentRequiredError;
|
|
32841
33091
|
/**
|
|
32842
|
-
* ForbiddenError
|
|
33092
|
+
* ForbiddenError
|
|
32843
33093
|
*/
|
|
32844
|
-
403: ForbiddenError
|
|
33094
|
+
403: ForbiddenError;
|
|
32845
33095
|
/**
|
|
32846
33096
|
* ResourceNotFoundError
|
|
32847
33097
|
*/
|
|
@@ -32889,9 +33139,9 @@ export type WhatsappSetupLinksGetErrors = {
|
|
|
32889
33139
|
*/
|
|
32890
33140
|
401: UnauthorizedError;
|
|
32891
33141
|
/**
|
|
32892
|
-
*
|
|
33142
|
+
* ForbiddenError
|
|
32893
33143
|
*/
|
|
32894
|
-
403:
|
|
33144
|
+
403: ForbiddenError;
|
|
32895
33145
|
/**
|
|
32896
33146
|
* ResourceNotFoundError
|
|
32897
33147
|
*/
|
|
@@ -32935,9 +33185,9 @@ export type WhatsappSetupLinksRevokeErrors = {
|
|
|
32935
33185
|
*/
|
|
32936
33186
|
401: UnauthorizedError;
|
|
32937
33187
|
/**
|
|
32938
|
-
*
|
|
33188
|
+
* ForbiddenError
|
|
32939
33189
|
*/
|
|
32940
|
-
403:
|
|
33190
|
+
403: ForbiddenError;
|
|
32941
33191
|
/**
|
|
32942
33192
|
* ResourceNotFoundError
|
|
32943
33193
|
*/
|
|
@@ -32985,9 +33235,9 @@ export type TemplateRegistrationsListErrors = {
|
|
|
32985
33235
|
*/
|
|
32986
33236
|
401: UnauthorizedError;
|
|
32987
33237
|
/**
|
|
32988
|
-
*
|
|
33238
|
+
* ForbiddenError
|
|
32989
33239
|
*/
|
|
32990
|
-
403:
|
|
33240
|
+
403: ForbiddenError;
|
|
32991
33241
|
/**
|
|
32992
33242
|
* ResourceNotFoundError
|
|
32993
33243
|
*/
|
|
@@ -33038,9 +33288,9 @@ export type TemplateRegistrationsSubmitErrors = {
|
|
|
33038
33288
|
*/
|
|
33039
33289
|
401: UnauthorizedError;
|
|
33040
33290
|
/**
|
|
33041
|
-
* ForbiddenError
|
|
33291
|
+
* ForbiddenError
|
|
33042
33292
|
*/
|
|
33043
|
-
403: ForbiddenError
|
|
33293
|
+
403: ForbiddenError;
|
|
33044
33294
|
/**
|
|
33045
33295
|
* ResourceNotFoundError
|
|
33046
33296
|
*/
|
|
@@ -33097,9 +33347,9 @@ export type TemplateRegistrationsGetErrors = {
|
|
|
33097
33347
|
*/
|
|
33098
33348
|
401: UnauthorizedError;
|
|
33099
33349
|
/**
|
|
33100
|
-
*
|
|
33350
|
+
* ForbiddenError
|
|
33101
33351
|
*/
|
|
33102
|
-
403:
|
|
33352
|
+
403: ForbiddenError;
|
|
33103
33353
|
/**
|
|
33104
33354
|
* ResourceNotFoundError
|
|
33105
33355
|
*/
|