samva 0.51.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 +5 -2
- package/README.md +1 -0
- package/dist/client/sdk.gen.d.ts +67 -28
- package/dist/client/sdk.gen.js +157 -29
- package/dist/client/types.gen.d.ts +520 -281
- package/dist/effect/campaigns.d.ts +56 -56
- 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/generated/agents.js +4 -4
- package/dist/effect/generated/campaigns.d.ts +18 -6
- package/dist/effect/generated/campaigns.js +2 -6
- package/dist/effect/generated/email.js +3 -3
- 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 +20 -20
- package/dist/effect/generated/messages.d.ts +1 -882
- package/dist/effect/generated/messages.js +4 -243
- 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/scheduled-messages.js +1 -1
- package/dist/effect/generated/shared.d.ts +1138 -257
- package/dist/effect/generated/shared.js +321 -82
- 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 +2 -1
- package/dist/effect/integrations-catalog.d.ts +92 -4
- package/dist/effect/integrations.d.ts +40 -8
- package/dist/effect/internal/client.js +25 -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/journeys.d.ts +148 -148
- package/dist/effect/logs.d.ts +149 -0
- package/dist/effect/logs.js +18 -0
- package/dist/effect/mailboxes.d.ts +156 -150
- package/dist/effect/mailboxes.js +1 -1
- package/dist/effect/newsletter-domains.d.ts +2 -2
- package/dist/effect/whatsapp-setup-links.d.ts +2 -2
- package/dist/effect/whatsapp.d.ts +73 -3
- 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 +3 -1
- package/dist/promises/client.js +3 -1
- package/dist/promises/errors.gen.d.ts +2 -0
- package/dist/promises/errors.gen.js +137 -34
- 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/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;
|
|
@@ -2469,7 +2463,7 @@ export type CreateTemplateFromBriefPayload = {
|
|
|
2469
2463
|
*/
|
|
2470
2464
|
brief: string;
|
|
2471
2465
|
/**
|
|
2472
|
-
* 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.
|
|
2473
2467
|
*/
|
|
2474
2468
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
2475
2469
|
name?: string | null | undefined;
|
|
@@ -2497,7 +2491,7 @@ export type SuggestTemplateStartersPayload = {
|
|
|
2497
2491
|
*/
|
|
2498
2492
|
brief: string;
|
|
2499
2493
|
/**
|
|
2500
|
-
* 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.
|
|
2501
2495
|
*/
|
|
2502
2496
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
2503
2497
|
};
|
|
@@ -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;
|
|
@@ -5743,107 +5732,142 @@ export type OperationPage = {
|
|
|
5743
5732
|
items: Array<Operation>;
|
|
5744
5733
|
nextCursor: string | null;
|
|
5745
5734
|
};
|
|
5746
|
-
export type
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
recipientCount: number;
|
|
5767
|
-
content: {
|
|
5768
|
-
source: "inline" | "template";
|
|
5769
|
-
subject: string;
|
|
5770
|
-
hasHtml: boolean;
|
|
5771
|
-
hasText: boolean;
|
|
5772
|
-
};
|
|
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;
|
|
5773
5755
|
};
|
|
5774
|
-
export type
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
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;
|
|
5783
5772
|
};
|
|
5784
|
-
export type
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
attachments?: EmailAttachments | undefined;
|
|
5789
|
-
publicationId?: TemplatePublicationId | undefined;
|
|
5790
|
-
inputContractId?: TemplateInputContractId | undefined;
|
|
5791
|
-
templateId?: TemplateId | null | undefined;
|
|
5792
|
-
templateSlug?: string | null | undefined;
|
|
5793
|
-
templateData?: TemplateDataWritable | undefined;
|
|
5794
|
-
locale?: RenderLocale | undefined;
|
|
5795
|
-
timeZone?: RenderTimeZone | undefined;
|
|
5796
|
-
inReplyToMessageId?: MessageId | null | undefined;
|
|
5797
|
-
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;
|
|
5798
5777
|
/**
|
|
5799
|
-
* The
|
|
5778
|
+
* The acting user, or null when unavailable. Present only for callers authenticated with a member session or a member-authorized OAuth token.
|
|
5800
5779
|
*/
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
footer?: EmailFooterOverride | undefined;
|
|
5804
|
-
headers?: EmailCustomHeadersWritable | null | undefined;
|
|
5780
|
+
user?: LogUser | null | undefined;
|
|
5781
|
+
client: SubmissionClient | null;
|
|
5805
5782
|
};
|
|
5806
|
-
export type
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
waitReason: "rate" | "daily-quota" | "domain-health" | "sending-paused" | "upstream-unavailable" | "retry" | "campaign-paused" | "domain-warming" | "onboarding-review" | "content-review" | "screening-unavailable" | null;
|
|
5810
|
-
reviewExpectedAt: string | null;
|
|
5811
|
-
skippedRecipients: Array<SkippedRecipient>;
|
|
5812
|
-
createdAt: string;
|
|
5783
|
+
export type SubmissionClient = {
|
|
5784
|
+
surface: "typescript-promise" | "typescript-effect" | "cli" | "mcp";
|
|
5785
|
+
version: string;
|
|
5813
5786
|
};
|
|
5814
|
-
export type
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
export type WhatsAppSendMessagePayload = {
|
|
5819
|
-
conversationId?: ConversationId | null | undefined;
|
|
5820
|
-
metadata?: MessageMetadataWritable | undefined;
|
|
5821
|
-
channel: "whatsapp";
|
|
5822
|
-
to: WhatsAppRecipients;
|
|
5823
|
-
whatsapp: WhatsAppContentWritable;
|
|
5787
|
+
export type LogUser = {
|
|
5788
|
+
id: UserId;
|
|
5789
|
+
email: string;
|
|
5790
|
+
name: string;
|
|
5824
5791
|
};
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
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";
|
|
5834
5802
|
};
|
|
5835
|
-
export type
|
|
5836
|
-
|
|
5803
|
+
export type LogSender = {
|
|
5804
|
+
address: string;
|
|
5837
5805
|
name: string | null;
|
|
5838
5806
|
};
|
|
5839
|
-
export type
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
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
|
+
}>;
|
|
5847
5871
|
};
|
|
5848
5872
|
export type MessageContent = {
|
|
5849
5873
|
text?: string | null | undefined;
|
|
@@ -6102,6 +6126,116 @@ export type SmsMessageContent = {
|
|
|
6102
6126
|
unicode?: boolean | null | undefined;
|
|
6103
6127
|
parts?: number | null | undefined;
|
|
6104
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
|
+
};
|
|
6105
6239
|
export type MessageDeliveryList = {
|
|
6106
6240
|
id: MessageId;
|
|
6107
6241
|
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
@@ -6188,10 +6322,6 @@ export type MessageSubmission = {
|
|
|
6188
6322
|
userId: UserId | null;
|
|
6189
6323
|
client: SubmissionClient | null;
|
|
6190
6324
|
};
|
|
6191
|
-
export type SubmissionClient = {
|
|
6192
|
-
surface: "typescript-promise" | "typescript-effect" | "cli" | "mcp";
|
|
6193
|
-
version: string;
|
|
6194
|
-
};
|
|
6195
6325
|
export type SubmissionCredential = {
|
|
6196
6326
|
kind: "api_key";
|
|
6197
6327
|
apiKeyId: ApiKeyId | null;
|
|
@@ -6497,7 +6627,7 @@ export type MessagesSendData = {
|
|
|
6497
6627
|
body: EmailSendMessagePayload | SmsSendMessagePayload | WhatsAppSendMessagePayload;
|
|
6498
6628
|
headers?: {
|
|
6499
6629
|
/**
|
|
6500
|
-
* 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.
|
|
6501
6631
|
*/
|
|
6502
6632
|
"idempotency-key"?: string | undefined;
|
|
6503
6633
|
};
|
|
@@ -7036,14 +7166,118 @@ export type MessagesGetEventsErrors = {
|
|
|
7036
7166
|
*/
|
|
7037
7167
|
504: GatewayTimeoutError;
|
|
7038
7168
|
};
|
|
7039
|
-
export type MessagesGetEventsError = MessagesGetEventsErrors[keyof MessagesGetEventsErrors];
|
|
7040
|
-
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 = {
|
|
7041
7275
|
/**
|
|
7042
|
-
*
|
|
7276
|
+
* LogDetail
|
|
7043
7277
|
*/
|
|
7044
|
-
200:
|
|
7278
|
+
200: LogDetail;
|
|
7045
7279
|
};
|
|
7046
|
-
export type
|
|
7280
|
+
export type LogsGetResponse = LogsGetResponses[keyof LogsGetResponses];
|
|
7047
7281
|
export type OperationsListData = {
|
|
7048
7282
|
body?: never;
|
|
7049
7283
|
path?: never;
|
|
@@ -7473,9 +7707,9 @@ export type CampaignsPreviewErrors = {
|
|
|
7473
7707
|
*/
|
|
7474
7708
|
401: UnauthorizedError;
|
|
7475
7709
|
/**
|
|
7476
|
-
*
|
|
7710
|
+
* ForbiddenError
|
|
7477
7711
|
*/
|
|
7478
|
-
403:
|
|
7712
|
+
403: ForbiddenError;
|
|
7479
7713
|
/**
|
|
7480
7714
|
* ResourceNotFoundError
|
|
7481
7715
|
*/
|
|
@@ -7533,9 +7767,9 @@ export type CampaignsSendTestErrors = {
|
|
|
7533
7767
|
*/
|
|
7534
7768
|
402: PaymentRequiredError;
|
|
7535
7769
|
/**
|
|
7536
|
-
* ForbiddenError | OnboardingReviewRequiredError
|
|
7770
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
7537
7771
|
*/
|
|
7538
|
-
403: ForbiddenError | OnboardingReviewRequiredError
|
|
7772
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
7539
7773
|
/**
|
|
7540
7774
|
* ResourceNotFoundError
|
|
7541
7775
|
*/
|
|
@@ -14260,9 +14494,9 @@ export type JourneysCreateErrors = {
|
|
|
14260
14494
|
*/
|
|
14261
14495
|
402: PaymentRequiredError;
|
|
14262
14496
|
/**
|
|
14263
|
-
*
|
|
14497
|
+
* ForbiddenError
|
|
14264
14498
|
*/
|
|
14265
|
-
403:
|
|
14499
|
+
403: ForbiddenError;
|
|
14266
14500
|
/**
|
|
14267
14501
|
* ResourceNotFoundError
|
|
14268
14502
|
*/
|
|
@@ -14465,9 +14699,9 @@ export type JourneysReplaceDraftErrors = {
|
|
|
14465
14699
|
*/
|
|
14466
14700
|
402: PaymentRequiredError;
|
|
14467
14701
|
/**
|
|
14468
|
-
*
|
|
14702
|
+
* ForbiddenError
|
|
14469
14703
|
*/
|
|
14470
|
-
403:
|
|
14704
|
+
403: ForbiddenError;
|
|
14471
14705
|
/**
|
|
14472
14706
|
* ResourceNotFoundError
|
|
14473
14707
|
*/
|
|
@@ -14525,9 +14759,9 @@ export type JourneysPublishErrors = {
|
|
|
14525
14759
|
*/
|
|
14526
14760
|
402: PaymentRequiredError;
|
|
14527
14761
|
/**
|
|
14528
|
-
*
|
|
14762
|
+
* ForbiddenError
|
|
14529
14763
|
*/
|
|
14530
|
-
403:
|
|
14764
|
+
403: ForbiddenError;
|
|
14531
14765
|
/**
|
|
14532
14766
|
* ResourceNotFoundError
|
|
14533
14767
|
*/
|
|
@@ -14633,9 +14867,9 @@ export type JourneysResumeErrors = {
|
|
|
14633
14867
|
*/
|
|
14634
14868
|
402: PaymentRequiredError;
|
|
14635
14869
|
/**
|
|
14636
|
-
*
|
|
14870
|
+
* ForbiddenError
|
|
14637
14871
|
*/
|
|
14638
|
-
403:
|
|
14872
|
+
403: ForbiddenError;
|
|
14639
14873
|
/**
|
|
14640
14874
|
* ResourceNotFoundError
|
|
14641
14875
|
*/
|
|
@@ -15875,9 +16109,9 @@ export type IntegrationCatalogRecipeConnectionHandoffErrors = {
|
|
|
15875
16109
|
*/
|
|
15876
16110
|
401: UnauthorizedError;
|
|
15877
16111
|
/**
|
|
15878
|
-
* ForbiddenError
|
|
16112
|
+
* ForbiddenError
|
|
15879
16113
|
*/
|
|
15880
|
-
403: ForbiddenError
|
|
16114
|
+
403: ForbiddenError;
|
|
15881
16115
|
/**
|
|
15882
16116
|
* ResourceNotFoundError
|
|
15883
16117
|
*/
|
|
@@ -16131,9 +16365,9 @@ export type IntegrationCatalogRecipeSetupActivateErrors = {
|
|
|
16131
16365
|
*/
|
|
16132
16366
|
402: PaymentRequiredError;
|
|
16133
16367
|
/**
|
|
16134
|
-
* ForbiddenError
|
|
16368
|
+
* ForbiddenError
|
|
16135
16369
|
*/
|
|
16136
|
-
403: ForbiddenError
|
|
16370
|
+
403: ForbiddenError;
|
|
16137
16371
|
/**
|
|
16138
16372
|
* ResourceNotFoundError
|
|
16139
16373
|
*/
|
|
@@ -16244,9 +16478,9 @@ export type IntegrationCatalogRecipeWhatsAppChallengeBeginErrors = {
|
|
|
16244
16478
|
*/
|
|
16245
16479
|
401: UnauthorizedError;
|
|
16246
16480
|
/**
|
|
16247
|
-
* ForbiddenError
|
|
16481
|
+
* ForbiddenError
|
|
16248
16482
|
*/
|
|
16249
|
-
403: ForbiddenError
|
|
16483
|
+
403: ForbiddenError;
|
|
16250
16484
|
/**
|
|
16251
16485
|
* ResourceNotFoundError
|
|
16252
16486
|
*/
|
|
@@ -16295,9 +16529,9 @@ export type IntegrationCatalogRecipeWhatsAppChallengeGetErrors = {
|
|
|
16295
16529
|
*/
|
|
16296
16530
|
401: UnauthorizedError;
|
|
16297
16531
|
/**
|
|
16298
|
-
* ForbiddenError
|
|
16532
|
+
* ForbiddenError
|
|
16299
16533
|
*/
|
|
16300
|
-
403: ForbiddenError
|
|
16534
|
+
403: ForbiddenError;
|
|
16301
16535
|
/**
|
|
16302
16536
|
* ResourceNotFoundError
|
|
16303
16537
|
*/
|
|
@@ -16348,9 +16582,9 @@ export type IntegrationCatalogRecipeWhatsAppChallengeConfirmErrors = {
|
|
|
16348
16582
|
*/
|
|
16349
16583
|
401: UnauthorizedError;
|
|
16350
16584
|
/**
|
|
16351
|
-
* ForbiddenError
|
|
16585
|
+
* ForbiddenError
|
|
16352
16586
|
*/
|
|
16353
|
-
403: ForbiddenError
|
|
16587
|
+
403: ForbiddenError;
|
|
16354
16588
|
/**
|
|
16355
16589
|
* ResourceNotFoundError
|
|
16356
16590
|
*/
|
|
@@ -16425,9 +16659,9 @@ export type IntegrationCatalogRecipeTestErrors = {
|
|
|
16425
16659
|
*/
|
|
16426
16660
|
402: PaymentRequiredError;
|
|
16427
16661
|
/**
|
|
16428
|
-
* ForbiddenError |
|
|
16662
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16429
16663
|
*/
|
|
16430
|
-
403: ForbiddenError |
|
|
16664
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16431
16665
|
/**
|
|
16432
16666
|
* ResourceNotFoundError
|
|
16433
16667
|
*/
|
|
@@ -16681,8 +16915,8 @@ export type IntegrationCatalogSearchData = {
|
|
|
16681
16915
|
key?: IntegrationKey | undefined;
|
|
16682
16916
|
query?: string | undefined;
|
|
16683
16917
|
category?: "commerce" | "payments" | "shipping" | "calendar" | "crm" | "helpdesk" | "knowledge" | "forms" | "accounting" | "reviews" | "productivity" | "dns" | "channel" | "other" | undefined;
|
|
16684
|
-
|
|
16685
|
-
|
|
16918
|
+
limit?: number | null | undefined;
|
|
16919
|
+
cursor?: string | undefined;
|
|
16686
16920
|
};
|
|
16687
16921
|
url: "/v1/integrations/catalog/search";
|
|
16688
16922
|
};
|
|
@@ -16857,8 +17091,8 @@ export type IntegrationsListToolsData = {
|
|
|
16857
17091
|
integrationId: IntegrationId;
|
|
16858
17092
|
};
|
|
16859
17093
|
query?: {
|
|
16860
|
-
|
|
16861
|
-
|
|
17094
|
+
limit?: number | null | undefined;
|
|
17095
|
+
cursor?: string | undefined;
|
|
16862
17096
|
};
|
|
16863
17097
|
url: "/v1/integrations/{integrationId}/tools";
|
|
16864
17098
|
};
|
|
@@ -16902,11 +17136,8 @@ export type IntegrationsListToolsResponses = {
|
|
|
16902
17136
|
* Success
|
|
16903
17137
|
*/
|
|
16904
17138
|
200: {
|
|
16905
|
-
nextOffset: number | null;
|
|
16906
|
-
total: number;
|
|
16907
|
-
revision: string;
|
|
16908
|
-
offset: number;
|
|
16909
17139
|
items: Array<IntegrationToolView>;
|
|
17140
|
+
nextCursor: string | null;
|
|
16910
17141
|
};
|
|
16911
17142
|
};
|
|
16912
17143
|
export type IntegrationsListToolsResponse = IntegrationsListToolsResponses[keyof IntegrationsListToolsResponses];
|
|
@@ -17158,9 +17389,9 @@ export type SubscriptionsSubscribeErrors = {
|
|
|
17158
17389
|
*/
|
|
17159
17390
|
402: PaymentRequiredError;
|
|
17160
17391
|
/**
|
|
17161
|
-
* ForbiddenError | OnboardingReviewRequiredError
|
|
17392
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
17162
17393
|
*/
|
|
17163
|
-
403: ForbiddenError | OnboardingReviewRequiredError
|
|
17394
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
17164
17395
|
/**
|
|
17165
17396
|
* ResourceNotFoundError
|
|
17166
17397
|
*/
|
|
@@ -18713,9 +18944,9 @@ export type NewslettersListErrors = {
|
|
|
18713
18944
|
*/
|
|
18714
18945
|
401: UnauthorizedError;
|
|
18715
18946
|
/**
|
|
18716
|
-
* ForbiddenError
|
|
18947
|
+
* ForbiddenError
|
|
18717
18948
|
*/
|
|
18718
|
-
403: ForbiddenError
|
|
18949
|
+
403: ForbiddenError;
|
|
18719
18950
|
/**
|
|
18720
18951
|
* ResourceNotFoundError
|
|
18721
18952
|
*/
|
|
@@ -18773,9 +19004,9 @@ export type NewslettersCreateErrors = {
|
|
|
18773
19004
|
*/
|
|
18774
19005
|
401: UnauthorizedError;
|
|
18775
19006
|
/**
|
|
18776
|
-
* ForbiddenError
|
|
19007
|
+
* ForbiddenError
|
|
18777
19008
|
*/
|
|
18778
|
-
403: ForbiddenError
|
|
19009
|
+
403: ForbiddenError;
|
|
18779
19010
|
/**
|
|
18780
19011
|
* ResourceNotFoundError
|
|
18781
19012
|
*/
|
|
@@ -18826,9 +19057,9 @@ export type NewslettersRemoveErrors = {
|
|
|
18826
19057
|
*/
|
|
18827
19058
|
401: UnauthorizedError;
|
|
18828
19059
|
/**
|
|
18829
|
-
* ForbiddenError
|
|
19060
|
+
* ForbiddenError
|
|
18830
19061
|
*/
|
|
18831
|
-
403: ForbiddenError
|
|
19062
|
+
403: ForbiddenError;
|
|
18832
19063
|
/**
|
|
18833
19064
|
* ResourceNotFoundError
|
|
18834
19065
|
*/
|
|
@@ -18878,9 +19109,9 @@ export type NewslettersGetErrors = {
|
|
|
18878
19109
|
*/
|
|
18879
19110
|
401: UnauthorizedError;
|
|
18880
19111
|
/**
|
|
18881
|
-
* ForbiddenError
|
|
19112
|
+
* ForbiddenError
|
|
18882
19113
|
*/
|
|
18883
|
-
403: ForbiddenError
|
|
19114
|
+
403: ForbiddenError;
|
|
18884
19115
|
/**
|
|
18885
19116
|
* ResourceNotFoundError
|
|
18886
19117
|
*/
|
|
@@ -18934,9 +19165,9 @@ export type NewslettersUpdateErrors = {
|
|
|
18934
19165
|
*/
|
|
18935
19166
|
401: UnauthorizedError;
|
|
18936
19167
|
/**
|
|
18937
|
-
* ForbiddenError
|
|
19168
|
+
* ForbiddenError
|
|
18938
19169
|
*/
|
|
18939
|
-
403: ForbiddenError
|
|
19170
|
+
403: ForbiddenError;
|
|
18940
19171
|
/**
|
|
18941
19172
|
* ResourceNotFoundError
|
|
18942
19173
|
*/
|
|
@@ -18984,9 +19215,9 @@ export type NewsletterIssuesListErrors = {
|
|
|
18984
19215
|
*/
|
|
18985
19216
|
401: UnauthorizedError;
|
|
18986
19217
|
/**
|
|
18987
|
-
* ForbiddenError
|
|
19218
|
+
* ForbiddenError
|
|
18988
19219
|
*/
|
|
18989
|
-
403: ForbiddenError
|
|
19220
|
+
403: ForbiddenError;
|
|
18990
19221
|
/**
|
|
18991
19222
|
* ResourceNotFoundError
|
|
18992
19223
|
*/
|
|
@@ -19048,9 +19279,9 @@ export type NewsletterIssuesUpdateErrors = {
|
|
|
19048
19279
|
*/
|
|
19049
19280
|
401: UnauthorizedError;
|
|
19050
19281
|
/**
|
|
19051
|
-
* ForbiddenError
|
|
19282
|
+
* ForbiddenError
|
|
19052
19283
|
*/
|
|
19053
|
-
403: ForbiddenError
|
|
19284
|
+
403: ForbiddenError;
|
|
19054
19285
|
/**
|
|
19055
19286
|
* ResourceNotFoundError
|
|
19056
19287
|
*/
|
|
@@ -19204,9 +19435,9 @@ export type NewsletterIssuesCreateErrors = {
|
|
|
19204
19435
|
*/
|
|
19205
19436
|
401: UnauthorizedError;
|
|
19206
19437
|
/**
|
|
19207
|
-
* ForbiddenError
|
|
19438
|
+
* ForbiddenError
|
|
19208
19439
|
*/
|
|
19209
|
-
403: ForbiddenError
|
|
19440
|
+
403: ForbiddenError;
|
|
19210
19441
|
/**
|
|
19211
19442
|
* ResourceNotFoundError
|
|
19212
19443
|
*/
|
|
@@ -19350,9 +19581,9 @@ export type NewsletterIssuesOpenErrors = {
|
|
|
19350
19581
|
*/
|
|
19351
19582
|
401: UnauthorizedError;
|
|
19352
19583
|
/**
|
|
19353
|
-
* ForbiddenError
|
|
19584
|
+
* ForbiddenError
|
|
19354
19585
|
*/
|
|
19355
|
-
403: ForbiddenError
|
|
19586
|
+
403: ForbiddenError;
|
|
19356
19587
|
/**
|
|
19357
19588
|
* ResourceNotFoundError
|
|
19358
19589
|
*/
|
|
@@ -19502,9 +19733,9 @@ export type NewsletterIssuesGetErrors = {
|
|
|
19502
19733
|
*/
|
|
19503
19734
|
401: UnauthorizedError;
|
|
19504
19735
|
/**
|
|
19505
|
-
* ForbiddenError
|
|
19736
|
+
* ForbiddenError
|
|
19506
19737
|
*/
|
|
19507
|
-
403: ForbiddenError
|
|
19738
|
+
403: ForbiddenError;
|
|
19508
19739
|
/**
|
|
19509
19740
|
* ResourceNotFoundError
|
|
19510
19741
|
*/
|
|
@@ -19565,9 +19796,9 @@ export type NewsletterIssuesRemoveErrors = {
|
|
|
19565
19796
|
*/
|
|
19566
19797
|
401: UnauthorizedError;
|
|
19567
19798
|
/**
|
|
19568
|
-
* ForbiddenError
|
|
19799
|
+
* ForbiddenError
|
|
19569
19800
|
*/
|
|
19570
|
-
403: ForbiddenError
|
|
19801
|
+
403: ForbiddenError;
|
|
19571
19802
|
/**
|
|
19572
19803
|
* ResourceNotFoundError
|
|
19573
19804
|
*/
|
|
@@ -19718,9 +19949,9 @@ export type NewsletterIssuesSaveErrors = {
|
|
|
19718
19949
|
*/
|
|
19719
19950
|
401: UnauthorizedError;
|
|
19720
19951
|
/**
|
|
19721
|
-
* ForbiddenError
|
|
19952
|
+
* ForbiddenError
|
|
19722
19953
|
*/
|
|
19723
|
-
403: ForbiddenError
|
|
19954
|
+
403: ForbiddenError;
|
|
19724
19955
|
/**
|
|
19725
19956
|
* ResourceNotFoundError
|
|
19726
19957
|
*/
|
|
@@ -19835,9 +20066,9 @@ export type NewsletterIssuesCheckErrors = {
|
|
|
19835
20066
|
*/
|
|
19836
20067
|
401: UnauthorizedError;
|
|
19837
20068
|
/**
|
|
19838
|
-
* ForbiddenError
|
|
20069
|
+
* ForbiddenError
|
|
19839
20070
|
*/
|
|
19840
|
-
403: ForbiddenError
|
|
20071
|
+
403: ForbiddenError;
|
|
19841
20072
|
/**
|
|
19842
20073
|
* ResourceNotFoundError
|
|
19843
20074
|
*/
|
|
@@ -19983,9 +20214,9 @@ export type NewsletterIssuesRenderErrors = {
|
|
|
19983
20214
|
*/
|
|
19984
20215
|
401: UnauthorizedError;
|
|
19985
20216
|
/**
|
|
19986
|
-
* ForbiddenError
|
|
20217
|
+
* ForbiddenError
|
|
19987
20218
|
*/
|
|
19988
|
-
403: ForbiddenError
|
|
20219
|
+
403: ForbiddenError;
|
|
19989
20220
|
/**
|
|
19990
20221
|
* ResourceNotFoundError
|
|
19991
20222
|
*/
|
|
@@ -20194,9 +20425,9 @@ export type NewsletterIssuesHeadErrors = {
|
|
|
20194
20425
|
*/
|
|
20195
20426
|
401: UnauthorizedError;
|
|
20196
20427
|
/**
|
|
20197
|
-
* ForbiddenError
|
|
20428
|
+
* ForbiddenError
|
|
20198
20429
|
*/
|
|
20199
|
-
403: ForbiddenError
|
|
20430
|
+
403: ForbiddenError;
|
|
20200
20431
|
/**
|
|
20201
20432
|
* ResourceNotFoundError
|
|
20202
20433
|
*/
|
|
@@ -20254,9 +20485,9 @@ export type NewsletterIssuesHistoryErrors = {
|
|
|
20254
20485
|
*/
|
|
20255
20486
|
401: UnauthorizedError;
|
|
20256
20487
|
/**
|
|
20257
|
-
* ForbiddenError
|
|
20488
|
+
* ForbiddenError
|
|
20258
20489
|
*/
|
|
20259
|
-
403: ForbiddenError
|
|
20490
|
+
403: ForbiddenError;
|
|
20260
20491
|
/**
|
|
20261
20492
|
* ResourceNotFoundError
|
|
20262
20493
|
*/
|
|
@@ -20321,9 +20552,9 @@ export type NewsletterDomainsListErrors = {
|
|
|
20321
20552
|
*/
|
|
20322
20553
|
401: UnauthorizedError;
|
|
20323
20554
|
/**
|
|
20324
|
-
* ForbiddenError
|
|
20555
|
+
* ForbiddenError
|
|
20325
20556
|
*/
|
|
20326
|
-
403: ForbiddenError
|
|
20557
|
+
403: ForbiddenError;
|
|
20327
20558
|
/**
|
|
20328
20559
|
* ResourceNotFoundError
|
|
20329
20560
|
*/
|
|
@@ -20376,9 +20607,9 @@ export type NewsletterDomainsAddErrors = {
|
|
|
20376
20607
|
*/
|
|
20377
20608
|
401: UnauthorizedError;
|
|
20378
20609
|
/**
|
|
20379
|
-
* ForbiddenError
|
|
20610
|
+
* ForbiddenError
|
|
20380
20611
|
*/
|
|
20381
|
-
403: ForbiddenError
|
|
20612
|
+
403: ForbiddenError;
|
|
20382
20613
|
/**
|
|
20383
20614
|
* ResourceNotFoundError
|
|
20384
20615
|
*/
|
|
@@ -20450,9 +20681,9 @@ export type NewsletterDomainsRemoveErrors = {
|
|
|
20450
20681
|
*/
|
|
20451
20682
|
401: UnauthorizedError;
|
|
20452
20683
|
/**
|
|
20453
|
-
* ForbiddenError
|
|
20684
|
+
* ForbiddenError
|
|
20454
20685
|
*/
|
|
20455
|
-
403: ForbiddenError
|
|
20686
|
+
403: ForbiddenError;
|
|
20456
20687
|
/**
|
|
20457
20688
|
* ResourceNotFoundError
|
|
20458
20689
|
*/
|
|
@@ -20521,9 +20752,9 @@ export type NewsletterDomainsGetErrors = {
|
|
|
20521
20752
|
*/
|
|
20522
20753
|
401: UnauthorizedError;
|
|
20523
20754
|
/**
|
|
20524
|
-
* ForbiddenError
|
|
20755
|
+
* ForbiddenError
|
|
20525
20756
|
*/
|
|
20526
|
-
403: ForbiddenError
|
|
20757
|
+
403: ForbiddenError;
|
|
20527
20758
|
/**
|
|
20528
20759
|
* ResourceNotFoundError
|
|
20529
20760
|
*/
|
|
@@ -21602,7 +21833,7 @@ export type TemplatesSuggestStartersData = {
|
|
|
21602
21833
|
*/
|
|
21603
21834
|
brief: string;
|
|
21604
21835
|
/**
|
|
21605
|
-
* 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.
|
|
21606
21837
|
*/
|
|
21607
21838
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
21608
21839
|
};
|
|
@@ -21651,7 +21882,7 @@ export type TemplatesCreateFromBriefData = {
|
|
|
21651
21882
|
*/
|
|
21652
21883
|
brief: string;
|
|
21653
21884
|
/**
|
|
21654
|
-
* 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.
|
|
21655
21886
|
*/
|
|
21656
21887
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
21657
21888
|
name?: string | null | undefined;
|
|
@@ -28082,7 +28313,7 @@ export type MailboxesListOrganizationThreadsData = {
|
|
|
28082
28313
|
senders?: string | Array<string> | undefined;
|
|
28083
28314
|
excludeTrash?: boolean | null | undefined;
|
|
28084
28315
|
/**
|
|
28085
|
-
* 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.
|
|
28086
28317
|
*/
|
|
28087
28318
|
q?: string | undefined;
|
|
28088
28319
|
state?: "active" | "done" | undefined;
|
|
@@ -28091,6 +28322,10 @@ export type MailboxesListOrganizationThreadsData = {
|
|
|
28091
28322
|
unread?: boolean | null | undefined;
|
|
28092
28323
|
starred?: boolean | null | undefined;
|
|
28093
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;
|
|
28094
28329
|
mailboxId?: MailboxId | Array<MailboxId> | undefined;
|
|
28095
28330
|
kind?: "personal" | "shared" | undefined;
|
|
28096
28331
|
conversation?: ConversationId | undefined;
|
|
@@ -28149,7 +28384,7 @@ export type MailboxesListThreadsData = {
|
|
|
28149
28384
|
senders?: string | Array<string> | undefined;
|
|
28150
28385
|
excludeTrash?: boolean | null | undefined;
|
|
28151
28386
|
/**
|
|
28152
|
-
* 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.
|
|
28153
28388
|
*/
|
|
28154
28389
|
q?: string | undefined;
|
|
28155
28390
|
state?: "active" | "done" | undefined;
|
|
@@ -28158,6 +28393,10 @@ export type MailboxesListThreadsData = {
|
|
|
28158
28393
|
unread?: boolean | null | undefined;
|
|
28159
28394
|
starred?: boolean | null | undefined;
|
|
28160
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;
|
|
28161
28400
|
};
|
|
28162
28401
|
url: "/v1/mailboxes/{id}/threads";
|
|
28163
28402
|
};
|
|
@@ -28873,9 +29112,9 @@ export type MailboxesSendMessageErrors = {
|
|
|
28873
29112
|
*/
|
|
28874
29113
|
402: PaymentRequiredError;
|
|
28875
29114
|
/**
|
|
28876
|
-
*
|
|
29115
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
28877
29116
|
*/
|
|
28878
|
-
403:
|
|
29117
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
28879
29118
|
/**
|
|
28880
29119
|
* ResourceNotFoundError
|
|
28881
29120
|
*/
|
|
@@ -29144,9 +29383,9 @@ export type MailboxesReplyErrors = {
|
|
|
29144
29383
|
*/
|
|
29145
29384
|
402: PaymentRequiredError;
|
|
29146
29385
|
/**
|
|
29147
|
-
*
|
|
29386
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
29148
29387
|
*/
|
|
29149
|
-
403:
|
|
29388
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
29150
29389
|
/**
|
|
29151
29390
|
* ResourceNotFoundError
|
|
29152
29391
|
*/
|
|
@@ -29221,9 +29460,9 @@ export type MailboxesReplyAllErrors = {
|
|
|
29221
29460
|
*/
|
|
29222
29461
|
402: PaymentRequiredError;
|
|
29223
29462
|
/**
|
|
29224
|
-
*
|
|
29463
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
29225
29464
|
*/
|
|
29226
|
-
403:
|
|
29465
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
29227
29466
|
/**
|
|
29228
29467
|
* ResourceNotFoundError
|
|
29229
29468
|
*/
|
|
@@ -29305,9 +29544,9 @@ export type MailboxesForwardErrors = {
|
|
|
29305
29544
|
*/
|
|
29306
29545
|
402: PaymentRequiredError;
|
|
29307
29546
|
/**
|
|
29308
|
-
*
|
|
29547
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError
|
|
29309
29548
|
*/
|
|
29310
|
-
403:
|
|
29549
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError;
|
|
29311
29550
|
/**
|
|
29312
29551
|
* ResourceNotFoundError
|
|
29313
29552
|
*/
|
|
@@ -30021,9 +30260,9 @@ export type MailboxesSendDraftErrors = {
|
|
|
30021
30260
|
*/
|
|
30022
30261
|
402: PaymentRequiredError;
|
|
30023
30262
|
/**
|
|
30024
|
-
*
|
|
30263
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
30025
30264
|
*/
|
|
30026
|
-
403:
|
|
30265
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
30027
30266
|
/**
|
|
30028
30267
|
* ResourceNotFoundError
|
|
30029
30268
|
*/
|
|
@@ -30192,9 +30431,9 @@ export type MailboxesCancelActionErrors = {
|
|
|
30192
30431
|
*/
|
|
30193
30432
|
402: PaymentRequiredError;
|
|
30194
30433
|
/**
|
|
30195
|
-
*
|
|
30434
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError
|
|
30196
30435
|
*/
|
|
30197
|
-
403:
|
|
30436
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError;
|
|
30198
30437
|
/**
|
|
30199
30438
|
* ResourceNotFoundError
|
|
30200
30439
|
*/
|
|
@@ -30263,9 +30502,9 @@ export type MailboxesRetryActionErrors = {
|
|
|
30263
30502
|
*/
|
|
30264
30503
|
402: PaymentRequiredError;
|
|
30265
30504
|
/**
|
|
30266
|
-
*
|
|
30505
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
30267
30506
|
*/
|
|
30268
|
-
403:
|
|
30507
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
30269
30508
|
/**
|
|
30270
30509
|
* ResourceNotFoundError
|
|
30271
30510
|
*/
|
|
@@ -30341,9 +30580,9 @@ export type MailboxesApproveActionErrors = {
|
|
|
30341
30580
|
*/
|
|
30342
30581
|
402: PaymentRequiredError;
|
|
30343
30582
|
/**
|
|
30344
|
-
*
|
|
30583
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
30345
30584
|
*/
|
|
30346
|
-
403:
|
|
30585
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
30347
30586
|
/**
|
|
30348
30587
|
* ResourceNotFoundError
|
|
30349
30588
|
*/
|
|
@@ -31575,9 +31814,9 @@ export type WhatsappGetStatsErrors = {
|
|
|
31575
31814
|
*/
|
|
31576
31815
|
401: UnauthorizedError;
|
|
31577
31816
|
/**
|
|
31578
|
-
*
|
|
31817
|
+
* ForbiddenError
|
|
31579
31818
|
*/
|
|
31580
|
-
403:
|
|
31819
|
+
403: ForbiddenError;
|
|
31581
31820
|
/**
|
|
31582
31821
|
* ValidationError
|
|
31583
31822
|
*/
|
|
@@ -31629,9 +31868,9 @@ export type WhatsappGetTemplateStatsErrors = {
|
|
|
31629
31868
|
*/
|
|
31630
31869
|
401: UnauthorizedError;
|
|
31631
31870
|
/**
|
|
31632
|
-
*
|
|
31871
|
+
* ForbiddenError
|
|
31633
31872
|
*/
|
|
31634
|
-
403:
|
|
31873
|
+
403: ForbiddenError;
|
|
31635
31874
|
/**
|
|
31636
31875
|
* ValidationError
|
|
31637
31876
|
*/
|
|
@@ -31672,9 +31911,9 @@ export type WhatsappGetServiceWindowStatusErrors = {
|
|
|
31672
31911
|
*/
|
|
31673
31912
|
401: UnauthorizedError;
|
|
31674
31913
|
/**
|
|
31675
|
-
*
|
|
31914
|
+
* ForbiddenError
|
|
31676
31915
|
*/
|
|
31677
|
-
403:
|
|
31916
|
+
403: ForbiddenError;
|
|
31678
31917
|
/**
|
|
31679
31918
|
* ResourceNotFoundError
|
|
31680
31919
|
*/
|
|
@@ -31724,9 +31963,9 @@ export type WhatsappGetServiceWindowBillingErrors = {
|
|
|
31724
31963
|
*/
|
|
31725
31964
|
401: UnauthorizedError;
|
|
31726
31965
|
/**
|
|
31727
|
-
*
|
|
31966
|
+
* ForbiddenError
|
|
31728
31967
|
*/
|
|
31729
|
-
403:
|
|
31968
|
+
403: ForbiddenError;
|
|
31730
31969
|
/**
|
|
31731
31970
|
* ResourceNotFoundError
|
|
31732
31971
|
*/
|
|
@@ -31775,9 +32014,9 @@ export type WhatsappGetMediaDownloadUrlErrors = {
|
|
|
31775
32014
|
*/
|
|
31776
32015
|
401: UnauthorizedError;
|
|
31777
32016
|
/**
|
|
31778
|
-
*
|
|
32017
|
+
* ForbiddenError
|
|
31779
32018
|
*/
|
|
31780
|
-
403:
|
|
32019
|
+
403: ForbiddenError;
|
|
31781
32020
|
/**
|
|
31782
32021
|
* ResourceNotFoundError
|
|
31783
32022
|
*/
|
|
@@ -31810,8 +32049,8 @@ export type WhatsappListBusinessAccountsData = {
|
|
|
31810
32049
|
body?: never;
|
|
31811
32050
|
path?: never;
|
|
31812
32051
|
query?: {
|
|
31813
|
-
page?: number | null | undefined;
|
|
31814
32052
|
limit?: number | null | undefined;
|
|
32053
|
+
cursor?: string | undefined;
|
|
31815
32054
|
isActive?: boolean | null | undefined;
|
|
31816
32055
|
verificationStatus?: "pending" | "verified" | "failed" | "suspended" | undefined;
|
|
31817
32056
|
namespaceId?: NamespaceId | undefined;
|
|
@@ -31828,9 +32067,9 @@ export type WhatsappListBusinessAccountsErrors = {
|
|
|
31828
32067
|
*/
|
|
31829
32068
|
401: UnauthorizedError;
|
|
31830
32069
|
/**
|
|
31831
|
-
* ForbiddenError
|
|
32070
|
+
* ForbiddenError
|
|
31832
32071
|
*/
|
|
31833
|
-
403: ForbiddenError
|
|
32072
|
+
403: ForbiddenError;
|
|
31834
32073
|
/**
|
|
31835
32074
|
* ValidationError
|
|
31836
32075
|
*/
|
|
@@ -31877,7 +32116,7 @@ export type WhatsappListBusinessAccountsResponses = {
|
|
|
31877
32116
|
createdAt: string;
|
|
31878
32117
|
updatedAt: string;
|
|
31879
32118
|
}>;
|
|
31880
|
-
|
|
32119
|
+
nextCursor: string | null;
|
|
31881
32120
|
};
|
|
31882
32121
|
};
|
|
31883
32122
|
export type WhatsappListBusinessAccountsResponse = WhatsappListBusinessAccountsResponses[keyof WhatsappListBusinessAccountsResponses];
|
|
@@ -31906,9 +32145,9 @@ export type WhatsappConnectBusinessAccountErrors = {
|
|
|
31906
32145
|
*/
|
|
31907
32146
|
402: PaymentRequiredError;
|
|
31908
32147
|
/**
|
|
31909
|
-
* ForbiddenError
|
|
32148
|
+
* ForbiddenError
|
|
31910
32149
|
*/
|
|
31911
|
-
403: ForbiddenError
|
|
32150
|
+
403: ForbiddenError;
|
|
31912
32151
|
/**
|
|
31913
32152
|
* ResourceNotFoundError
|
|
31914
32153
|
*/
|
|
@@ -31986,9 +32225,9 @@ export type WhatsappDisconnectBusinessAccountErrors = {
|
|
|
31986
32225
|
*/
|
|
31987
32226
|
401: UnauthorizedError;
|
|
31988
32227
|
/**
|
|
31989
|
-
*
|
|
32228
|
+
* ForbiddenError
|
|
31990
32229
|
*/
|
|
31991
|
-
403:
|
|
32230
|
+
403: ForbiddenError;
|
|
31992
32231
|
/**
|
|
31993
32232
|
* ResourceNotFoundError
|
|
31994
32233
|
*/
|
|
@@ -32034,9 +32273,9 @@ export type WhatsappGetBusinessAccountErrors = {
|
|
|
32034
32273
|
*/
|
|
32035
32274
|
401: UnauthorizedError;
|
|
32036
32275
|
/**
|
|
32037
|
-
*
|
|
32276
|
+
* ForbiddenError
|
|
32038
32277
|
*/
|
|
32039
|
-
403:
|
|
32278
|
+
403: ForbiddenError;
|
|
32040
32279
|
/**
|
|
32041
32280
|
* ResourceNotFoundError
|
|
32042
32281
|
*/
|
|
@@ -32109,9 +32348,9 @@ export type WhatsappUpdateBusinessAccountErrors = {
|
|
|
32109
32348
|
*/
|
|
32110
32349
|
401: UnauthorizedError;
|
|
32111
32350
|
/**
|
|
32112
|
-
*
|
|
32351
|
+
* ForbiddenError
|
|
32113
32352
|
*/
|
|
32114
|
-
403:
|
|
32353
|
+
403: ForbiddenError;
|
|
32115
32354
|
/**
|
|
32116
32355
|
* ResourceNotFoundError
|
|
32117
32356
|
*/
|
|
@@ -32181,9 +32420,9 @@ export type WhatsappSetDefaultBusinessAccountErrors = {
|
|
|
32181
32420
|
*/
|
|
32182
32421
|
401: UnauthorizedError;
|
|
32183
32422
|
/**
|
|
32184
|
-
*
|
|
32423
|
+
* ForbiddenError
|
|
32185
32424
|
*/
|
|
32186
|
-
403:
|
|
32425
|
+
403: ForbiddenError;
|
|
32187
32426
|
/**
|
|
32188
32427
|
* ResourceNotFoundError
|
|
32189
32428
|
*/
|
|
@@ -32253,9 +32492,9 @@ export type WhatsappSyncAccountStatusErrors = {
|
|
|
32253
32492
|
*/
|
|
32254
32493
|
401: UnauthorizedError;
|
|
32255
32494
|
/**
|
|
32256
|
-
*
|
|
32495
|
+
* ForbiddenError
|
|
32257
32496
|
*/
|
|
32258
|
-
403:
|
|
32497
|
+
403: ForbiddenError;
|
|
32259
32498
|
/**
|
|
32260
32499
|
* ResourceNotFoundError
|
|
32261
32500
|
*/
|
|
@@ -32309,9 +32548,9 @@ export type WhatsappFlowsListErrors = {
|
|
|
32309
32548
|
*/
|
|
32310
32549
|
401: UnauthorizedError;
|
|
32311
32550
|
/**
|
|
32312
|
-
*
|
|
32551
|
+
* ForbiddenError
|
|
32313
32552
|
*/
|
|
32314
|
-
403:
|
|
32553
|
+
403: ForbiddenError;
|
|
32315
32554
|
/**
|
|
32316
32555
|
* ValidationError
|
|
32317
32556
|
*/
|
|
@@ -32353,9 +32592,9 @@ export type WhatsappFlowsCreateErrors = {
|
|
|
32353
32592
|
*/
|
|
32354
32593
|
401: UnauthorizedError;
|
|
32355
32594
|
/**
|
|
32356
|
-
*
|
|
32595
|
+
* ForbiddenError
|
|
32357
32596
|
*/
|
|
32358
|
-
403:
|
|
32597
|
+
403: ForbiddenError;
|
|
32359
32598
|
/**
|
|
32360
32599
|
* ResourceNotFoundError
|
|
32361
32600
|
*/
|
|
@@ -32403,9 +32642,9 @@ export type WhatsappFlowsGetErrors = {
|
|
|
32403
32642
|
*/
|
|
32404
32643
|
401: UnauthorizedError;
|
|
32405
32644
|
/**
|
|
32406
|
-
*
|
|
32645
|
+
* ForbiddenError
|
|
32407
32646
|
*/
|
|
32408
|
-
403:
|
|
32647
|
+
403: ForbiddenError;
|
|
32409
32648
|
/**
|
|
32410
32649
|
* ResourceNotFoundError
|
|
32411
32650
|
*/
|
|
@@ -32449,9 +32688,9 @@ export type WhatsappFlowsListVersionsErrors = {
|
|
|
32449
32688
|
*/
|
|
32450
32689
|
401: UnauthorizedError;
|
|
32451
32690
|
/**
|
|
32452
|
-
*
|
|
32691
|
+
* ForbiddenError
|
|
32453
32692
|
*/
|
|
32454
|
-
403:
|
|
32693
|
+
403: ForbiddenError;
|
|
32455
32694
|
/**
|
|
32456
32695
|
* ResourceNotFoundError
|
|
32457
32696
|
*/
|
|
@@ -32498,9 +32737,9 @@ export type WhatsappFlowsRecordVersionErrors = {
|
|
|
32498
32737
|
*/
|
|
32499
32738
|
401: UnauthorizedError;
|
|
32500
32739
|
/**
|
|
32501
|
-
*
|
|
32740
|
+
* ForbiddenError
|
|
32502
32741
|
*/
|
|
32503
|
-
403:
|
|
32742
|
+
403: ForbiddenError;
|
|
32504
32743
|
/**
|
|
32505
32744
|
* ResourceNotFoundError
|
|
32506
32745
|
*/
|
|
@@ -32552,9 +32791,9 @@ export type WhatsappFlowsListRegistrationsErrors = {
|
|
|
32552
32791
|
*/
|
|
32553
32792
|
401: UnauthorizedError;
|
|
32554
32793
|
/**
|
|
32555
|
-
*
|
|
32794
|
+
* ForbiddenError
|
|
32556
32795
|
*/
|
|
32557
|
-
403:
|
|
32796
|
+
403: ForbiddenError;
|
|
32558
32797
|
/**
|
|
32559
32798
|
* ResourceNotFoundError
|
|
32560
32799
|
*/
|
|
@@ -32600,9 +32839,9 @@ export type WhatsappFlowsRegisterErrors = {
|
|
|
32600
32839
|
*/
|
|
32601
32840
|
401: UnauthorizedError;
|
|
32602
32841
|
/**
|
|
32603
|
-
*
|
|
32842
|
+
* ForbiddenError
|
|
32604
32843
|
*/
|
|
32605
|
-
403:
|
|
32844
|
+
403: ForbiddenError;
|
|
32606
32845
|
/**
|
|
32607
32846
|
* ResourceNotFoundError
|
|
32608
32847
|
*/
|
|
@@ -32654,9 +32893,9 @@ export type WhatsappFlowsRotateEncryptionKeyErrors = {
|
|
|
32654
32893
|
*/
|
|
32655
32894
|
401: UnauthorizedError;
|
|
32656
32895
|
/**
|
|
32657
|
-
*
|
|
32896
|
+
* ForbiddenError
|
|
32658
32897
|
*/
|
|
32659
|
-
403:
|
|
32898
|
+
403: ForbiddenError;
|
|
32660
32899
|
/**
|
|
32661
32900
|
* ResourceNotFoundError
|
|
32662
32901
|
*/
|
|
@@ -32706,9 +32945,9 @@ export type WhatsappFlowsSetEndpointErrors = {
|
|
|
32706
32945
|
*/
|
|
32707
32946
|
401: UnauthorizedError;
|
|
32708
32947
|
/**
|
|
32709
|
-
*
|
|
32948
|
+
* ForbiddenError
|
|
32710
32949
|
*/
|
|
32711
|
-
403:
|
|
32950
|
+
403: ForbiddenError;
|
|
32712
32951
|
/**
|
|
32713
32952
|
* ResourceNotFoundError
|
|
32714
32953
|
*/
|
|
@@ -32752,9 +32991,9 @@ export type WhatsappFlowsRotateEndpointSecretErrors = {
|
|
|
32752
32991
|
*/
|
|
32753
32992
|
401: UnauthorizedError;
|
|
32754
32993
|
/**
|
|
32755
|
-
*
|
|
32994
|
+
* ForbiddenError
|
|
32756
32995
|
*/
|
|
32757
|
-
403:
|
|
32996
|
+
403: ForbiddenError;
|
|
32758
32997
|
/**
|
|
32759
32998
|
* ResourceNotFoundError
|
|
32760
32999
|
*/
|
|
@@ -32801,9 +33040,9 @@ export type WhatsappSetupLinksListErrors = {
|
|
|
32801
33040
|
*/
|
|
32802
33041
|
401: UnauthorizedError;
|
|
32803
33042
|
/**
|
|
32804
|
-
* ForbiddenError
|
|
33043
|
+
* ForbiddenError
|
|
32805
33044
|
*/
|
|
32806
|
-
403: ForbiddenError
|
|
33045
|
+
403: ForbiddenError;
|
|
32807
33046
|
/**
|
|
32808
33047
|
* ValidationError
|
|
32809
33048
|
*/
|
|
@@ -32850,9 +33089,9 @@ export type WhatsappSetupLinksCreateErrors = {
|
|
|
32850
33089
|
*/
|
|
32851
33090
|
402: PaymentRequiredError;
|
|
32852
33091
|
/**
|
|
32853
|
-
* ForbiddenError
|
|
33092
|
+
* ForbiddenError
|
|
32854
33093
|
*/
|
|
32855
|
-
403: ForbiddenError
|
|
33094
|
+
403: ForbiddenError;
|
|
32856
33095
|
/**
|
|
32857
33096
|
* ResourceNotFoundError
|
|
32858
33097
|
*/
|
|
@@ -32900,9 +33139,9 @@ export type WhatsappSetupLinksGetErrors = {
|
|
|
32900
33139
|
*/
|
|
32901
33140
|
401: UnauthorizedError;
|
|
32902
33141
|
/**
|
|
32903
|
-
*
|
|
33142
|
+
* ForbiddenError
|
|
32904
33143
|
*/
|
|
32905
|
-
403:
|
|
33144
|
+
403: ForbiddenError;
|
|
32906
33145
|
/**
|
|
32907
33146
|
* ResourceNotFoundError
|
|
32908
33147
|
*/
|
|
@@ -32946,9 +33185,9 @@ export type WhatsappSetupLinksRevokeErrors = {
|
|
|
32946
33185
|
*/
|
|
32947
33186
|
401: UnauthorizedError;
|
|
32948
33187
|
/**
|
|
32949
|
-
*
|
|
33188
|
+
* ForbiddenError
|
|
32950
33189
|
*/
|
|
32951
|
-
403:
|
|
33190
|
+
403: ForbiddenError;
|
|
32952
33191
|
/**
|
|
32953
33192
|
* ResourceNotFoundError
|
|
32954
33193
|
*/
|
|
@@ -32996,9 +33235,9 @@ export type TemplateRegistrationsListErrors = {
|
|
|
32996
33235
|
*/
|
|
32997
33236
|
401: UnauthorizedError;
|
|
32998
33237
|
/**
|
|
32999
|
-
*
|
|
33238
|
+
* ForbiddenError
|
|
33000
33239
|
*/
|
|
33001
|
-
403:
|
|
33240
|
+
403: ForbiddenError;
|
|
33002
33241
|
/**
|
|
33003
33242
|
* ResourceNotFoundError
|
|
33004
33243
|
*/
|
|
@@ -33049,9 +33288,9 @@ export type TemplateRegistrationsSubmitErrors = {
|
|
|
33049
33288
|
*/
|
|
33050
33289
|
401: UnauthorizedError;
|
|
33051
33290
|
/**
|
|
33052
|
-
* ForbiddenError
|
|
33291
|
+
* ForbiddenError
|
|
33053
33292
|
*/
|
|
33054
|
-
403: ForbiddenError
|
|
33293
|
+
403: ForbiddenError;
|
|
33055
33294
|
/**
|
|
33056
33295
|
* ResourceNotFoundError
|
|
33057
33296
|
*/
|
|
@@ -33108,9 +33347,9 @@ export type TemplateRegistrationsGetErrors = {
|
|
|
33108
33347
|
*/
|
|
33109
33348
|
401: UnauthorizedError;
|
|
33110
33349
|
/**
|
|
33111
|
-
*
|
|
33350
|
+
* ForbiddenError
|
|
33112
33351
|
*/
|
|
33113
|
-
403:
|
|
33352
|
+
403: ForbiddenError;
|
|
33114
33353
|
/**
|
|
33115
33354
|
* ResourceNotFoundError
|
|
33116
33355
|
*/
|