samva 0.51.0 → 0.53.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 +82 -36
- package/dist/client/sdk.gen.js +192 -57
- package/dist/client/types.gen.d.ts +607 -291
- 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/events.d.ts +16 -0
- 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/events.d.ts +48 -0
- package/dist/effect/generated/events.js +1 -1
- 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 +1113 -67
- package/dist/effect/generated/journeys.js +14 -8
- package/dist/effect/generated/logs.d.ts +2323 -0
- package/dist/effect/generated/logs.js +312 -0
- package/dist/effect/generated/mailboxes.d.ts +38 -24
- package/dist/effect/generated/mailboxes.js +22 -21
- package/dist/effect/generated/messages.d.ts +11 -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.d.ts +36 -0
- package/dist/effect/generated/scheduled-messages.js +1 -1
- package/dist/effect/generated/shared.d.ts +1706 -442
- package/dist/effect/generated/shared.js +370 -93
- 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 +173 -35
- package/dist/effect/generated/whats-app-flows.js +19 -17
- 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 +212 -146
- package/dist/effect/logs.d.ts +149 -0
- package/dist/effect/logs.js +18 -0
- package/dist/effect/mailboxes.d.ts +158 -150
- package/dist/effect/mailboxes.js +1 -1
- package/dist/effect/newsletter-domains.d.ts +2 -2
- package/dist/effect/scheduled-messages.d.ts +66 -0
- package/dist/effect/whatsapp-flows.d.ts +30 -0
- 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;
|
|
@@ -272,6 +267,14 @@ export type WhatsAppFlowVersion = {
|
|
|
272
267
|
export type RecordWhatsAppFlowVersionPayload = {
|
|
273
268
|
commitSha: string;
|
|
274
269
|
expectedWorkspaceRevision: string;
|
|
270
|
+
} | {
|
|
271
|
+
flowJson: JsonObject;
|
|
272
|
+
};
|
|
273
|
+
export type JsonObject = {
|
|
274
|
+
[key: string]: JsonValue;
|
|
275
|
+
};
|
|
276
|
+
export type JsonObjectWritable = {
|
|
277
|
+
[key: string]: JsonValueWritable | undefined;
|
|
275
278
|
};
|
|
276
279
|
export type WhatsAppFlow = {
|
|
277
280
|
id: WhatsAppFlowId;
|
|
@@ -279,6 +282,7 @@ export type WhatsAppFlow = {
|
|
|
279
282
|
handle: string;
|
|
280
283
|
path: string;
|
|
281
284
|
categories: Array<"SIGN_UP" | "SIGN_IN" | "APPOINTMENT_BOOKING" | "LEAD_GENERATION" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "SURVEY" | "OTHER">;
|
|
285
|
+
submissionHandler?: "agent" | "app" | undefined;
|
|
282
286
|
endpoint: WhatsAppFlowEndpoint | null;
|
|
283
287
|
currentVersion: WhatsAppFlowVersion | null;
|
|
284
288
|
createdAt: string;
|
|
@@ -296,12 +300,7 @@ export type CreateWhatsAppFlowPayload = {
|
|
|
296
300
|
projectId: TemplateProjectId;
|
|
297
301
|
handle: string;
|
|
298
302
|
categories: Array<"SIGN_UP" | "SIGN_IN" | "APPOINTMENT_BOOKING" | "LEAD_GENERATION" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "SURVEY" | "OTHER">;
|
|
299
|
-
|
|
300
|
-
export type PaginationMeta = {
|
|
301
|
-
page: number;
|
|
302
|
-
limit: number;
|
|
303
|
-
total: number;
|
|
304
|
-
totalPages: number;
|
|
303
|
+
submissionHandler?: "agent" | "app" | undefined;
|
|
305
304
|
};
|
|
306
305
|
export type MessageDeliveryId = string;
|
|
307
306
|
export type MoneyAmount = {
|
|
@@ -386,6 +385,11 @@ export type CreateNamespacePortalLinkPayload = {
|
|
|
386
385
|
metadata?: NamespacePortalLinkMetadata | null | undefined;
|
|
387
386
|
expiresIn?: number | null | undefined;
|
|
388
387
|
};
|
|
388
|
+
export type FlagDisabledError = {
|
|
389
|
+
_tag: "FlagDisabledError";
|
|
390
|
+
flag: string;
|
|
391
|
+
message: string;
|
|
392
|
+
};
|
|
389
393
|
export type NamespaceResource = {
|
|
390
394
|
type: NamespaceResourceType;
|
|
391
395
|
id: string;
|
|
@@ -750,12 +754,6 @@ export type MailboxChatTemplate = {
|
|
|
750
754
|
templateChannelVariantId: TemplateChannelVariantId;
|
|
751
755
|
templateData: JsonObject | null;
|
|
752
756
|
};
|
|
753
|
-
export type JsonObject = {
|
|
754
|
-
[key: string]: JsonValue;
|
|
755
|
-
};
|
|
756
|
-
export type JsonObjectWritable = {
|
|
757
|
-
[key: string]: JsonValueWritable | undefined;
|
|
758
|
-
};
|
|
759
757
|
export type MailboxSmsEndpointBinding = {
|
|
760
758
|
channel: "sms";
|
|
761
759
|
phoneNumberId: SmsPhoneNumberId;
|
|
@@ -806,11 +804,6 @@ export type SenderNotReadyError = {
|
|
|
806
804
|
sender: string;
|
|
807
805
|
retryAfterSeconds?: number | null | undefined;
|
|
808
806
|
};
|
|
809
|
-
export type WhatsAppServiceWindowClosedError = {
|
|
810
|
-
_tag: "WhatsAppServiceWindowClosedError";
|
|
811
|
-
message: string;
|
|
812
|
-
closedAt: string | null;
|
|
813
|
-
};
|
|
814
807
|
export type OnboardingReviewRequiredError = {
|
|
815
808
|
_tag: "OnboardingReviewRequiredError";
|
|
816
809
|
message: string;
|
|
@@ -825,6 +818,11 @@ export type MailboxSendRefusedError = {
|
|
|
825
818
|
message: string;
|
|
826
819
|
receipt: MailboxSendReceipt;
|
|
827
820
|
};
|
|
821
|
+
export type WhatsAppServiceWindowClosedError = {
|
|
822
|
+
_tag: "WhatsAppServiceWindowClosedError";
|
|
823
|
+
message: string;
|
|
824
|
+
closedAt: string | null;
|
|
825
|
+
};
|
|
828
826
|
export type MailboxPendingAction = MailboxSendAction | MailboxNonSendAction;
|
|
829
827
|
export type ApproveMailboxActionPayload = {
|
|
830
828
|
reviewRound: PolicyReviewRound;
|
|
@@ -1090,6 +1088,7 @@ export type MailboxChatMessage = {
|
|
|
1090
1088
|
template: MailboxChatMessageTemplate | null;
|
|
1091
1089
|
summary: string | null;
|
|
1092
1090
|
contextMessageId: MessageId | null;
|
|
1091
|
+
flowSubmissionHandledBy?: "app" | undefined;
|
|
1093
1092
|
};
|
|
1094
1093
|
export type MailboxChatMessageTemplate = {
|
|
1095
1094
|
name: string;
|
|
@@ -2469,7 +2468,7 @@ export type CreateTemplateFromBriefPayload = {
|
|
|
2469
2468
|
*/
|
|
2470
2469
|
brief: string;
|
|
2471
2470
|
/**
|
|
2472
|
-
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters
|
|
2471
|
+
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters.
|
|
2473
2472
|
*/
|
|
2474
2473
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
2475
2474
|
name?: string | null | undefined;
|
|
@@ -2497,7 +2496,7 @@ export type SuggestTemplateStartersPayload = {
|
|
|
2497
2496
|
*/
|
|
2498
2497
|
brief: string;
|
|
2499
2498
|
/**
|
|
2500
|
-
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters
|
|
2499
|
+
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters.
|
|
2501
2500
|
*/
|
|
2502
2501
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
2503
2502
|
};
|
|
@@ -2991,8 +2990,7 @@ export type Integration = {
|
|
|
2991
2990
|
answerWithoutApproval: AnswerWithoutApproval;
|
|
2992
2991
|
tools: Array<IntegrationToolView>;
|
|
2993
2992
|
toolPage: {
|
|
2994
|
-
|
|
2995
|
-
total: number;
|
|
2993
|
+
nextCursor: string | null;
|
|
2996
2994
|
revision: string;
|
|
2997
2995
|
};
|
|
2998
2996
|
installedBy: UserId | null;
|
|
@@ -3066,8 +3064,7 @@ export type IntegrationCatalogConnection = {
|
|
|
3066
3064
|
};
|
|
3067
3065
|
export type IntegrationCatalogSearchPage = {
|
|
3068
3066
|
items: Array<IntegrationCatalogSearchEntry>;
|
|
3069
|
-
|
|
3070
|
-
nextOffset: number | null;
|
|
3067
|
+
nextCursor: string | null;
|
|
3071
3068
|
};
|
|
3072
3069
|
export type IntegrationCatalogSearchEntry = {
|
|
3073
3070
|
key: IntegrationKey;
|
|
@@ -3109,10 +3106,7 @@ export type RecipeReadinessResponse = {
|
|
|
3109
3106
|
ready: boolean;
|
|
3110
3107
|
channel: "email" | "whatsapp";
|
|
3111
3108
|
availability: {
|
|
3112
|
-
|
|
3113
|
-
journeys: boolean;
|
|
3114
|
-
whatsapp: boolean;
|
|
3115
|
-
plan: "granted" | "denied" | "unreachable" | "disabled" | null;
|
|
3109
|
+
plan: "granted" | "denied" | "unreachable" | null;
|
|
3116
3110
|
};
|
|
3117
3111
|
shopify: {
|
|
3118
3112
|
id: IntegrationAccountId;
|
|
@@ -3660,6 +3654,7 @@ export type RunAgentTestPayload = {
|
|
|
3660
3654
|
};
|
|
3661
3655
|
export type JourneyRunDetail = {
|
|
3662
3656
|
id: JourneyRunId;
|
|
3657
|
+
namespaceId?: NamespaceId | null | undefined;
|
|
3663
3658
|
journeyId: JourneyId;
|
|
3664
3659
|
version: number;
|
|
3665
3660
|
contactId: ContactId;
|
|
@@ -3700,6 +3695,7 @@ export type JourneyRunPage = {
|
|
|
3700
3695
|
};
|
|
3701
3696
|
export type JourneyRun = {
|
|
3702
3697
|
id: JourneyRunId;
|
|
3698
|
+
namespaceId?: NamespaceId | null | undefined;
|
|
3703
3699
|
journeyId: JourneyId;
|
|
3704
3700
|
version: number;
|
|
3705
3701
|
contactId: ContactId;
|
|
@@ -3747,6 +3743,9 @@ export type JourneyDefinition = {
|
|
|
3747
3743
|
enrollment?: {
|
|
3748
3744
|
type: "shopify_order";
|
|
3749
3745
|
shop: ShopifyShop;
|
|
3746
|
+
} | {
|
|
3747
|
+
type: "event_property";
|
|
3748
|
+
property: string;
|
|
3750
3749
|
} | undefined;
|
|
3751
3750
|
};
|
|
3752
3751
|
export type JourneyDefinitionWritable = {
|
|
@@ -3760,6 +3759,9 @@ export type JourneyDefinitionWritable = {
|
|
|
3760
3759
|
enrollment?: {
|
|
3761
3760
|
type: "shopify_order";
|
|
3762
3761
|
shop: ShopifyShop;
|
|
3762
|
+
} | {
|
|
3763
|
+
type: "event_property";
|
|
3764
|
+
property: string;
|
|
3763
3765
|
} | undefined;
|
|
3764
3766
|
};
|
|
3765
3767
|
export type ShopifyShop = string;
|
|
@@ -3793,9 +3795,15 @@ export type JourneyNextEdge = {
|
|
|
3793
3795
|
};
|
|
3794
3796
|
export type JourneyWebhookConfig = {
|
|
3795
3797
|
data?: JsonObject | undefined;
|
|
3798
|
+
eventBindings?: {
|
|
3799
|
+
[key: string]: string;
|
|
3800
|
+
} | undefined;
|
|
3796
3801
|
};
|
|
3797
3802
|
export type JourneyWebhookConfigWritable = {
|
|
3798
3803
|
data?: JsonObjectWritable | undefined;
|
|
3804
|
+
eventBindings?: {
|
|
3805
|
+
[key: string]: string | undefined;
|
|
3806
|
+
} | undefined;
|
|
3799
3807
|
};
|
|
3800
3808
|
export type JourneyUpdateTagsNode = {
|
|
3801
3809
|
type: "update_tags";
|
|
@@ -3819,15 +3827,10 @@ export type JourneyCondition = {
|
|
|
3819
3827
|
match: "all" | "any";
|
|
3820
3828
|
predicates: [JourneyPredicate, ...Array<JourneyPredicate>];
|
|
3821
3829
|
};
|
|
3822
|
-
export type JourneyPredicate = JourneyTagPredicate | JourneyPropertyPredicate | JourneyCustomFieldPredicate | JourneyEventPredicate;
|
|
3823
|
-
export type
|
|
3824
|
-
type: "
|
|
3825
|
-
|
|
3826
|
-
occurred: boolean;
|
|
3827
|
-
};
|
|
3828
|
-
export type JourneyCustomFieldPredicate = {
|
|
3829
|
-
type: "custom_field";
|
|
3830
|
-
key: string;
|
|
3830
|
+
export type JourneyPredicate = JourneyTagPredicate | JourneyPropertyPredicate | JourneyCustomFieldPredicate | JourneyEventPredicate | JourneyEntryEventPropertyPredicate;
|
|
3831
|
+
export type JourneyEntryEventPropertyPredicate = {
|
|
3832
|
+
type: "entry_event_property";
|
|
3833
|
+
property: string;
|
|
3831
3834
|
comparison: JourneyComparison;
|
|
3832
3835
|
};
|
|
3833
3836
|
export type JourneyComparison = JourneyEqualityComparison | JourneyNumericComparison | JourneyStringComparison | JourneyPresenceComparison;
|
|
@@ -3846,6 +3849,16 @@ export type JourneyEqualityComparison = {
|
|
|
3846
3849
|
operator: "eq" | "neq";
|
|
3847
3850
|
value: string | number | boolean | null;
|
|
3848
3851
|
};
|
|
3852
|
+
export type JourneyEventPredicate = {
|
|
3853
|
+
type: "event";
|
|
3854
|
+
eventName: JourneyEventName;
|
|
3855
|
+
occurred: boolean;
|
|
3856
|
+
};
|
|
3857
|
+
export type JourneyCustomFieldPredicate = {
|
|
3858
|
+
type: "custom_field";
|
|
3859
|
+
key: string;
|
|
3860
|
+
comparison: JourneyComparison;
|
|
3861
|
+
};
|
|
3849
3862
|
export type JourneyPropertyPredicate = {
|
|
3850
3863
|
type: "property";
|
|
3851
3864
|
field: JourneyContactProperty;
|
|
@@ -3868,6 +3881,10 @@ export type JourneyWaitEventEdge = {
|
|
|
3868
3881
|
};
|
|
3869
3882
|
export type JourneyWaitForEventConfig = {
|
|
3870
3883
|
eventName: JourneyEventName;
|
|
3884
|
+
correlation?: {
|
|
3885
|
+
eventProperty: string;
|
|
3886
|
+
entryProperty: string;
|
|
3887
|
+
} | undefined;
|
|
3871
3888
|
timeoutSeconds: number;
|
|
3872
3889
|
};
|
|
3873
3890
|
export type JourneyWaitNode = {
|
|
@@ -3900,6 +3917,10 @@ export type JourneySendWhatsAppConfig = {
|
|
|
3900
3917
|
eventBindings?: {
|
|
3901
3918
|
[key: string]: string;
|
|
3902
3919
|
} | undefined;
|
|
3920
|
+
/**
|
|
3921
|
+
* Entry-event property path to the JSON object that initializes a navigate Flow button.
|
|
3922
|
+
*/
|
|
3923
|
+
flowActionDataBinding?: string | undefined;
|
|
3903
3924
|
};
|
|
3904
3925
|
export type JourneySendWhatsAppConfigWritable = {
|
|
3905
3926
|
template: TemplateId | string;
|
|
@@ -3913,6 +3934,10 @@ export type JourneySendWhatsAppConfigWritable = {
|
|
|
3913
3934
|
eventBindings?: {
|
|
3914
3935
|
[key: string]: string | undefined;
|
|
3915
3936
|
} | undefined;
|
|
3937
|
+
/**
|
|
3938
|
+
* Entry-event property path to the JSON object that initializes a navigate Flow button.
|
|
3939
|
+
*/
|
|
3940
|
+
flowActionDataBinding?: string | undefined;
|
|
3916
3941
|
};
|
|
3917
3942
|
export type WhatsAppTemplateDispatchData = {
|
|
3918
3943
|
[key: string]: JsonValue;
|
|
@@ -3935,12 +3960,18 @@ export type JourneySendEmailConfig = {
|
|
|
3935
3960
|
publicationId?: TemplatePublicationId | undefined;
|
|
3936
3961
|
senderId?: EmailSenderId | undefined;
|
|
3937
3962
|
templateData?: JsonObject | undefined;
|
|
3963
|
+
eventBindings?: {
|
|
3964
|
+
[key: string]: string;
|
|
3965
|
+
} | undefined;
|
|
3938
3966
|
};
|
|
3939
3967
|
export type JourneySendEmailConfigWritable = {
|
|
3940
3968
|
template: TemplateId | string;
|
|
3941
3969
|
publicationId?: TemplatePublicationId | undefined;
|
|
3942
3970
|
senderId?: EmailSenderId | undefined;
|
|
3943
3971
|
templateData?: JsonObjectWritable | undefined;
|
|
3972
|
+
eventBindings?: {
|
|
3973
|
+
[key: string]: string | undefined;
|
|
3974
|
+
} | undefined;
|
|
3944
3975
|
};
|
|
3945
3976
|
export type JourneyTrigger = JourneyCustomEventTrigger | JourneyContactCreatedTrigger | JourneyTagAddedTrigger | JourneyGroupJoinedTrigger;
|
|
3946
3977
|
export type JourneyGroupJoinedTrigger = {
|
|
@@ -3960,6 +3991,7 @@ export type JourneyCustomEventTrigger = {
|
|
|
3960
3991
|
};
|
|
3961
3992
|
export type Journey = {
|
|
3962
3993
|
id: JourneyId;
|
|
3994
|
+
namespaceId?: NamespaceId | null | undefined;
|
|
3963
3995
|
name: string;
|
|
3964
3996
|
status: JourneyStatus;
|
|
3965
3997
|
revision: string;
|
|
@@ -3986,6 +4018,7 @@ export type UpdateJourneyPayload = {
|
|
|
3986
4018
|
export type JourneyName = string;
|
|
3987
4019
|
export type CreateJourneyPayload = {
|
|
3988
4020
|
name: JourneyName;
|
|
4021
|
+
namespaceId?: NamespaceId | undefined;
|
|
3989
4022
|
definition: JourneyDefinition;
|
|
3990
4023
|
};
|
|
3991
4024
|
export type JourneyPage = {
|
|
@@ -3994,6 +4027,7 @@ export type JourneyPage = {
|
|
|
3994
4027
|
};
|
|
3995
4028
|
export type JourneyListItem = {
|
|
3996
4029
|
id: JourneyId;
|
|
4030
|
+
namespaceId?: NamespaceId | null | undefined;
|
|
3997
4031
|
name: string;
|
|
3998
4032
|
status: JourneyStatus;
|
|
3999
4033
|
publishedVersion: number | null;
|
|
@@ -4038,14 +4072,22 @@ export type ContactEventReference = {
|
|
|
4038
4072
|
id: ContactId;
|
|
4039
4073
|
externalId?: never | undefined;
|
|
4040
4074
|
email?: never | undefined;
|
|
4075
|
+
phone?: never | undefined;
|
|
4041
4076
|
} | {
|
|
4042
4077
|
externalId: string;
|
|
4043
4078
|
id?: never | undefined;
|
|
4044
4079
|
email?: never | undefined;
|
|
4080
|
+
phone?: never | undefined;
|
|
4045
4081
|
} | {
|
|
4046
4082
|
email: string;
|
|
4047
4083
|
id?: never | undefined;
|
|
4048
4084
|
externalId?: never | undefined;
|
|
4085
|
+
phone?: never | undefined;
|
|
4086
|
+
} | {
|
|
4087
|
+
phone: string;
|
|
4088
|
+
id?: never | undefined;
|
|
4089
|
+
externalId?: never | undefined;
|
|
4090
|
+
email?: never | undefined;
|
|
4049
4091
|
};
|
|
4050
4092
|
export type ContactGroupMembershipPage = {
|
|
4051
4093
|
items: Array<{
|
|
@@ -5564,11 +5606,25 @@ export type WhatsAppTemplateSlugContent = {
|
|
|
5564
5606
|
templateSlug: string;
|
|
5565
5607
|
templateData?: WhatsAppTemplateData | undefined;
|
|
5566
5608
|
flowToken?: string | undefined;
|
|
5609
|
+
flowActionData?: JsonObject1 | undefined;
|
|
5567
5610
|
};
|
|
5568
5611
|
export type WhatsAppTemplateSlugContentWritable = {
|
|
5569
5612
|
templateSlug: string;
|
|
5570
5613
|
templateData?: WhatsAppTemplateDataWritable | undefined;
|
|
5571
5614
|
flowToken?: string | undefined;
|
|
5615
|
+
flowActionData?: JsonObject1Writable | undefined;
|
|
5616
|
+
};
|
|
5617
|
+
/**
|
|
5618
|
+
* Initial screen data for a navigate Flow button.
|
|
5619
|
+
*/
|
|
5620
|
+
export type JsonObject1 = {
|
|
5621
|
+
[key: string]: JsonValue;
|
|
5622
|
+
};
|
|
5623
|
+
/**
|
|
5624
|
+
* Initial screen data for a navigate Flow button.
|
|
5625
|
+
*/
|
|
5626
|
+
export type JsonObject1Writable = {
|
|
5627
|
+
[key: string]: JsonValueWritable | undefined;
|
|
5572
5628
|
};
|
|
5573
5629
|
export type WhatsAppTemplateData = {
|
|
5574
5630
|
[key: string]: JsonValue;
|
|
@@ -5580,11 +5636,13 @@ export type WhatsAppTemplateIdContent = {
|
|
|
5580
5636
|
templateId: TemplateId;
|
|
5581
5637
|
templateData?: WhatsAppTemplateData | undefined;
|
|
5582
5638
|
flowToken?: string | undefined;
|
|
5639
|
+
flowActionData?: JsonObject1 | undefined;
|
|
5583
5640
|
};
|
|
5584
5641
|
export type WhatsAppTemplateIdContentWritable = {
|
|
5585
5642
|
templateId: TemplateId;
|
|
5586
5643
|
templateData?: WhatsAppTemplateDataWritable | undefined;
|
|
5587
5644
|
flowToken?: string | undefined;
|
|
5645
|
+
flowActionData?: JsonObject1Writable | undefined;
|
|
5588
5646
|
};
|
|
5589
5647
|
export type WhatsAppTextContent = {
|
|
5590
5648
|
text: string;
|
|
@@ -5743,107 +5801,142 @@ export type OperationPage = {
|
|
|
5743
5801
|
items: Array<Operation>;
|
|
5744
5802
|
nextCursor: string | null;
|
|
5745
5803
|
};
|
|
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
|
-
};
|
|
5804
|
+
export type LogDetail = MessageLogDetail | RejectedLogDetail;
|
|
5805
|
+
export type RejectedLogDetail = {
|
|
5806
|
+
kind: "rejected";
|
|
5807
|
+
line: LogLine;
|
|
5808
|
+
apiRequest: LogApiRequest | null;
|
|
5809
|
+
requestBody: string | null;
|
|
5810
|
+
responseBody: string | null;
|
|
5811
|
+
};
|
|
5812
|
+
export type LogApiRequest = {
|
|
5813
|
+
requestId?: string | null | undefined;
|
|
5814
|
+
method?: string | null | undefined;
|
|
5815
|
+
endpoint?: string | null | undefined;
|
|
5816
|
+
headers?: {
|
|
5817
|
+
[key: string]: string;
|
|
5818
|
+
} | null | undefined;
|
|
5819
|
+
query?: {
|
|
5820
|
+
[key: string]: string;
|
|
5821
|
+
} | null | undefined;
|
|
5822
|
+
ipAddress?: string | null | undefined;
|
|
5823
|
+
userAgent?: string | null | undefined;
|
|
5773
5824
|
};
|
|
5774
|
-
export type
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5825
|
+
export type LogLine = {
|
|
5826
|
+
id: string;
|
|
5827
|
+
cursor: string;
|
|
5828
|
+
timestamp: string;
|
|
5829
|
+
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";
|
|
5830
|
+
messageId: MessageId | null;
|
|
5831
|
+
channel: "sms" | "whatsapp" | "email" | null;
|
|
5832
|
+
direction: "outbound" | "inbound";
|
|
5833
|
+
origin: "direct" | "campaign" | "scheduled" | "mailbox" | "forwarding" | "journey" | "businessApp" | null;
|
|
5834
|
+
from: LogSender | null;
|
|
5835
|
+
recipient: string | null;
|
|
5836
|
+
subject: string | null;
|
|
5837
|
+
submission: LogSubmission | null;
|
|
5838
|
+
requestId: string | null;
|
|
5839
|
+
reason: string | null;
|
|
5840
|
+
errorTag: string | null;
|
|
5783
5841
|
};
|
|
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;
|
|
5842
|
+
export type LogSubmission = {
|
|
5843
|
+
origin: "direct" | "campaign" | "scheduled" | "mailbox" | "forwarding" | "journey" | "businessApp";
|
|
5844
|
+
transport: "http" | "smtp" | null;
|
|
5845
|
+
credential: LogCredential | null;
|
|
5798
5846
|
/**
|
|
5799
|
-
* The
|
|
5847
|
+
* The acting user, or null when unavailable. Present only for callers authenticated with a member session or a member-authorized OAuth token.
|
|
5800
5848
|
*/
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
footer?: EmailFooterOverride | undefined;
|
|
5804
|
-
headers?: EmailCustomHeadersWritable | null | undefined;
|
|
5849
|
+
user?: LogUser | null | undefined;
|
|
5850
|
+
client: SubmissionClient | null;
|
|
5805
5851
|
};
|
|
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;
|
|
5852
|
+
export type SubmissionClient = {
|
|
5853
|
+
surface: "typescript-promise" | "typescript-effect" | "cli" | "mcp";
|
|
5854
|
+
version: string;
|
|
5813
5855
|
};
|
|
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;
|
|
5856
|
+
export type LogUser = {
|
|
5857
|
+
id: UserId;
|
|
5858
|
+
email: string;
|
|
5859
|
+
name: string;
|
|
5824
5860
|
};
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5861
|
+
export type LogCredential = {
|
|
5862
|
+
kind: "api_key";
|
|
5863
|
+
apiKeyId: ApiKeyId | null;
|
|
5864
|
+
name: string | null;
|
|
5865
|
+
} | {
|
|
5866
|
+
kind: "oauth";
|
|
5867
|
+
clientId: string | null;
|
|
5868
|
+
name: string | null;
|
|
5869
|
+
} | {
|
|
5870
|
+
kind: "session";
|
|
5834
5871
|
};
|
|
5835
|
-
export type
|
|
5836
|
-
|
|
5872
|
+
export type LogSender = {
|
|
5873
|
+
address: string;
|
|
5837
5874
|
name: string | null;
|
|
5838
5875
|
};
|
|
5839
|
-
export type
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5876
|
+
export type MessageLogDetail = {
|
|
5877
|
+
kind: "message";
|
|
5878
|
+
requestBody: string | null;
|
|
5879
|
+
responseBody: string | null;
|
|
5880
|
+
deliveries: Array<{
|
|
5881
|
+
scheduling: {
|
|
5882
|
+
dueAt: string;
|
|
5883
|
+
expiresAt: string;
|
|
5884
|
+
waitReason: "rate" | "daily-quota" | "domain-health" | "sending-paused" | "upstream-unavailable" | "retry" | "campaign-paused" | "domain-warming" | "onboarding-review" | "content-review" | "screening-unavailable" | null;
|
|
5885
|
+
reviewExpectedAt: string | null;
|
|
5886
|
+
} | null;
|
|
5887
|
+
id: string;
|
|
5888
|
+
messageId: string;
|
|
5889
|
+
recipientId: string | null;
|
|
5890
|
+
channel: "sms" | "whatsapp" | "email";
|
|
5891
|
+
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
5892
|
+
attemptCount: number;
|
|
5893
|
+
maxAttempts: number;
|
|
5894
|
+
queuedAt: string | null;
|
|
5895
|
+
claimedAt: string | null;
|
|
5896
|
+
lastAttemptAt: string | null;
|
|
5897
|
+
nextRetryAt: string | null;
|
|
5898
|
+
sentAt: string | null;
|
|
5899
|
+
deliveredAt: string | null;
|
|
5900
|
+
readAt: string | null;
|
|
5901
|
+
failedAt: string | null;
|
|
5902
|
+
terminalAt: string | null;
|
|
5903
|
+
errorCode: string | null;
|
|
5904
|
+
errorMessage: string | null;
|
|
5905
|
+
errorDetails: DeliveryErrorDetails | null;
|
|
5906
|
+
cost: string;
|
|
5907
|
+
currency: string;
|
|
5908
|
+
idempotencyKey: string | null;
|
|
5909
|
+
createdAt: string;
|
|
5910
|
+
updatedAt: string;
|
|
5911
|
+
}>;
|
|
5912
|
+
messageId: MessageId;
|
|
5913
|
+
channel: "sms" | "whatsapp" | "email";
|
|
5914
|
+
direction: "outbound" | "inbound";
|
|
5915
|
+
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
5916
|
+
recipients: Array<{
|
|
5917
|
+
id: string;
|
|
5918
|
+
address: string;
|
|
5919
|
+
}>;
|
|
5920
|
+
recipientCount: number;
|
|
5921
|
+
from: LogSender | null;
|
|
5922
|
+
submission: LogSubmission | null;
|
|
5923
|
+
subject: string | null;
|
|
5924
|
+
acceptedAt: string | null;
|
|
5925
|
+
createdAt: string;
|
|
5926
|
+
updatedAt: string;
|
|
5927
|
+
campaign: LogCampaign | null;
|
|
5928
|
+
content: MessageContent;
|
|
5929
|
+
apiRequest: LogApiRequest | null;
|
|
5930
|
+
statusTimeline: LogStatusTimeline;
|
|
5931
|
+
};
|
|
5932
|
+
export type LogStatusTimeline = {
|
|
5933
|
+
availability: "recorded" | "unavailable";
|
|
5934
|
+
entries: Array<{
|
|
5935
|
+
status: string;
|
|
5936
|
+
at: string;
|
|
5937
|
+
reason: string | null;
|
|
5938
|
+
recipientId: string | null;
|
|
5939
|
+
}>;
|
|
5847
5940
|
};
|
|
5848
5941
|
export type MessageContent = {
|
|
5849
5942
|
text?: string | null | undefined;
|
|
@@ -5881,6 +5974,7 @@ export type WhatsAppStructuredContent = {
|
|
|
5881
5974
|
};
|
|
5882
5975
|
};
|
|
5883
5976
|
export type WhatsAppMessageContent = {
|
|
5977
|
+
appHandlesFlowSubmission?: true | undefined;
|
|
5884
5978
|
text?: string | null | undefined;
|
|
5885
5979
|
template?: {
|
|
5886
5980
|
name: string;
|
|
@@ -5913,6 +6007,7 @@ export type WhatsAppMessageContent = {
|
|
|
5913
6007
|
coupon_code?: string | null | undefined;
|
|
5914
6008
|
action?: {
|
|
5915
6009
|
flow_token: string;
|
|
6010
|
+
flow_action_data?: JsonObject | undefined;
|
|
5916
6011
|
} | null | undefined;
|
|
5917
6012
|
}>;
|
|
5918
6013
|
}>;
|
|
@@ -5932,6 +6027,7 @@ export type WhatsAppMessageReference = {
|
|
|
5932
6027
|
};
|
|
5933
6028
|
export type WhatsAppReceivedFlowResponse = {
|
|
5934
6029
|
flowToken: string | null;
|
|
6030
|
+
submissionHandler?: "app" | undefined;
|
|
5935
6031
|
response: {
|
|
5936
6032
|
[key: string]: JsonValue;
|
|
5937
6033
|
};
|
|
@@ -6102,6 +6198,116 @@ export type SmsMessageContent = {
|
|
|
6102
6198
|
unicode?: boolean | null | undefined;
|
|
6103
6199
|
parts?: number | null | undefined;
|
|
6104
6200
|
};
|
|
6201
|
+
export type LogCampaign = {
|
|
6202
|
+
runId: string;
|
|
6203
|
+
name: string;
|
|
6204
|
+
};
|
|
6205
|
+
export type DeliveryErrorDetails = {
|
|
6206
|
+
code?: string | null | undefined;
|
|
6207
|
+
name?: string | null | undefined;
|
|
6208
|
+
message?: string | null | undefined;
|
|
6209
|
+
details?: {
|
|
6210
|
+
[key: string]: string | number | null;
|
|
6211
|
+
} | null | undefined;
|
|
6212
|
+
retryable?: boolean | null | undefined;
|
|
6213
|
+
};
|
|
6214
|
+
export type MessageLogPage = {
|
|
6215
|
+
items: Array<LogLine>;
|
|
6216
|
+
nextCursor: string | null;
|
|
6217
|
+
};
|
|
6218
|
+
export type MessageEventPage = {
|
|
6219
|
+
items: Array<{
|
|
6220
|
+
id: MessageEventId;
|
|
6221
|
+
messageId: MessageId;
|
|
6222
|
+
eventType: string;
|
|
6223
|
+
status: string;
|
|
6224
|
+
timestamp: string;
|
|
6225
|
+
metadata?: {
|
|
6226
|
+
[key: string]: JsonValue;
|
|
6227
|
+
} | null | undefined;
|
|
6228
|
+
}>;
|
|
6229
|
+
nextCursor: string | null;
|
|
6230
|
+
};
|
|
6231
|
+
export type MessageEventId = string;
|
|
6232
|
+
export type ValidateEmailResponse = {
|
|
6233
|
+
valid: true;
|
|
6234
|
+
from: {
|
|
6235
|
+
email: string;
|
|
6236
|
+
name: string | null;
|
|
6237
|
+
};
|
|
6238
|
+
recipientCount: number;
|
|
6239
|
+
content: {
|
|
6240
|
+
source: "inline" | "template";
|
|
6241
|
+
subject: string;
|
|
6242
|
+
hasHtml: boolean;
|
|
6243
|
+
hasText: boolean;
|
|
6244
|
+
};
|
|
6245
|
+
};
|
|
6246
|
+
export type EmailSendMessagePayload = {
|
|
6247
|
+
conversationId?: ConversationId | null | undefined;
|
|
6248
|
+
metadata?: MessageMetadataWritable | undefined;
|
|
6249
|
+
channel: "email";
|
|
6250
|
+
to: EmailRecipients;
|
|
6251
|
+
cc?: EmailCcRecipients | undefined;
|
|
6252
|
+
bcc?: EmailBccRecipients | undefined;
|
|
6253
|
+
from?: EmailSender | undefined;
|
|
6254
|
+
email: EmailContent;
|
|
6255
|
+
};
|
|
6256
|
+
export type EmailContent = {
|
|
6257
|
+
subject?: string | null | undefined;
|
|
6258
|
+
html?: string | null | undefined;
|
|
6259
|
+
text?: string | null | undefined;
|
|
6260
|
+
attachments?: EmailAttachments | undefined;
|
|
6261
|
+
publicationId?: TemplatePublicationId | undefined;
|
|
6262
|
+
inputContractId?: TemplateInputContractId | undefined;
|
|
6263
|
+
templateId?: TemplateId | null | undefined;
|
|
6264
|
+
templateSlug?: string | null | undefined;
|
|
6265
|
+
templateData?: TemplateDataWritable | undefined;
|
|
6266
|
+
locale?: RenderLocale | undefined;
|
|
6267
|
+
timeZone?: RenderTimeZone | undefined;
|
|
6268
|
+
inReplyToMessageId?: MessageId | null | undefined;
|
|
6269
|
+
replyTo?: ReplyToAddresses | undefined;
|
|
6270
|
+
/**
|
|
6271
|
+
* The topic for this send. Omit to inherit the template topic; null disables topic inheritance for a direct send. Campaigns require a topic.
|
|
6272
|
+
*/
|
|
6273
|
+
topicId?: TopicId | null | undefined;
|
|
6274
|
+
tracking?: EmailTrackingOverrideV1 | undefined;
|
|
6275
|
+
footer?: EmailFooterOverride | undefined;
|
|
6276
|
+
headers?: EmailCustomHeadersWritable | null | undefined;
|
|
6277
|
+
};
|
|
6278
|
+
export type MessageReceipt = {
|
|
6279
|
+
id: MessageId;
|
|
6280
|
+
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
6281
|
+
waitReason: "rate" | "daily-quota" | "domain-health" | "sending-paused" | "upstream-unavailable" | "retry" | "campaign-paused" | "domain-warming" | "onboarding-review" | "content-review" | "screening-unavailable" | null;
|
|
6282
|
+
reviewExpectedAt: string | null;
|
|
6283
|
+
skippedRecipients: Array<SkippedRecipient>;
|
|
6284
|
+
createdAt: string;
|
|
6285
|
+
};
|
|
6286
|
+
export type SendMessagePayload = EmailSendMessagePayload | SmsSendMessagePayload | WhatsAppSendMessagePayload;
|
|
6287
|
+
/**
|
|
6288
|
+
* Send WhatsApp messages from your connected business account.
|
|
6289
|
+
*/
|
|
6290
|
+
export type WhatsAppSendMessagePayload = {
|
|
6291
|
+
conversationId?: ConversationId | null | undefined;
|
|
6292
|
+
metadata?: MessageMetadataWritable | undefined;
|
|
6293
|
+
channel: "whatsapp";
|
|
6294
|
+
to: WhatsAppRecipients;
|
|
6295
|
+
whatsapp: WhatsAppContentWritable;
|
|
6296
|
+
};
|
|
6297
|
+
/**
|
|
6298
|
+
* The payload is accepted by the contract today and the endpoint answers 403 until the channel launches for your organization.
|
|
6299
|
+
*/
|
|
6300
|
+
export type SmsSendMessagePayload = {
|
|
6301
|
+
conversationId?: ConversationId | null | undefined;
|
|
6302
|
+
metadata?: MessageMetadataWritable | undefined;
|
|
6303
|
+
channel: "sms";
|
|
6304
|
+
to: SmsRecipients;
|
|
6305
|
+
sms: SmsContentWritable;
|
|
6306
|
+
};
|
|
6307
|
+
export type EmailAddress = {
|
|
6308
|
+
email: string;
|
|
6309
|
+
name: string | null;
|
|
6310
|
+
};
|
|
6105
6311
|
export type MessageDeliveryList = {
|
|
6106
6312
|
id: MessageId;
|
|
6107
6313
|
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
@@ -6188,10 +6394,6 @@ export type MessageSubmission = {
|
|
|
6188
6394
|
userId: UserId | null;
|
|
6189
6395
|
client: SubmissionClient | null;
|
|
6190
6396
|
};
|
|
6191
|
-
export type SubmissionClient = {
|
|
6192
|
-
surface: "typescript-promise" | "typescript-effect" | "cli" | "mcp";
|
|
6193
|
-
version: string;
|
|
6194
|
-
};
|
|
6195
6397
|
export type SubmissionCredential = {
|
|
6196
6398
|
kind: "api_key";
|
|
6197
6399
|
apiKeyId: ApiKeyId | null;
|
|
@@ -6497,7 +6699,7 @@ export type MessagesSendData = {
|
|
|
6497
6699
|
body: EmailSendMessagePayload | SmsSendMessagePayload | WhatsAppSendMessagePayload;
|
|
6498
6700
|
headers?: {
|
|
6499
6701
|
/**
|
|
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
|
|
6702
|
+
* 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
6703
|
*/
|
|
6502
6704
|
"idempotency-key"?: string | undefined;
|
|
6503
6705
|
};
|
|
@@ -7044,6 +7246,110 @@ export type MessagesGetEventsResponses = {
|
|
|
7044
7246
|
200: MessageEventPage;
|
|
7045
7247
|
};
|
|
7046
7248
|
export type MessagesGetEventsResponse = MessagesGetEventsResponses[keyof MessagesGetEventsResponses];
|
|
7249
|
+
export type LogsListData = {
|
|
7250
|
+
body?: never;
|
|
7251
|
+
path?: never;
|
|
7252
|
+
query?: {
|
|
7253
|
+
limit?: number | null | undefined;
|
|
7254
|
+
cursor?: string | undefined;
|
|
7255
|
+
after?: string | undefined;
|
|
7256
|
+
orderBy?: "timestamp" | "recorded" | undefined;
|
|
7257
|
+
order?: "asc" | "desc" | undefined;
|
|
7258
|
+
since?: string | undefined;
|
|
7259
|
+
until?: string | undefined;
|
|
7260
|
+
status?: string | undefined;
|
|
7261
|
+
event?: string | undefined;
|
|
7262
|
+
channel?: "sms" | "whatsapp" | "email" | undefined;
|
|
7263
|
+
direction?: "outbound" | "inbound" | undefined;
|
|
7264
|
+
origin?: "direct" | "campaign" | "scheduled" | "mailbox" | "forwarding" | "journey" | "businessApp" | undefined;
|
|
7265
|
+
credential?: string | undefined;
|
|
7266
|
+
from?: string | undefined;
|
|
7267
|
+
messageId?: MessageId | undefined;
|
|
7268
|
+
mailboxId?: MailboxId | undefined;
|
|
7269
|
+
requestId?: string | undefined;
|
|
7270
|
+
};
|
|
7271
|
+
url: "/v1/logs";
|
|
7272
|
+
};
|
|
7273
|
+
export type LogsListErrors = {
|
|
7274
|
+
/**
|
|
7275
|
+
* MalformedRequestError
|
|
7276
|
+
*/
|
|
7277
|
+
400: MalformedRequestError;
|
|
7278
|
+
/**
|
|
7279
|
+
* UnauthorizedError
|
|
7280
|
+
*/
|
|
7281
|
+
401: UnauthorizedError;
|
|
7282
|
+
/**
|
|
7283
|
+
* ForbiddenError
|
|
7284
|
+
*/
|
|
7285
|
+
403: ForbiddenError;
|
|
7286
|
+
/**
|
|
7287
|
+
* ValidationError
|
|
7288
|
+
*/
|
|
7289
|
+
422: ValidationError;
|
|
7290
|
+
/**
|
|
7291
|
+
* InternalError
|
|
7292
|
+
*/
|
|
7293
|
+
500: InternalError;
|
|
7294
|
+
/**
|
|
7295
|
+
* GatewayTimeoutError
|
|
7296
|
+
*/
|
|
7297
|
+
504: GatewayTimeoutError;
|
|
7298
|
+
};
|
|
7299
|
+
export type LogsListError = LogsListErrors[keyof LogsListErrors];
|
|
7300
|
+
export type LogsListResponses = {
|
|
7301
|
+
/**
|
|
7302
|
+
* MessageLogPage
|
|
7303
|
+
*/
|
|
7304
|
+
200: MessageLogPage;
|
|
7305
|
+
};
|
|
7306
|
+
export type LogsListResponse = LogsListResponses[keyof LogsListResponses];
|
|
7307
|
+
export type LogsGetData = {
|
|
7308
|
+
body?: never;
|
|
7309
|
+
path: {
|
|
7310
|
+
id: MessageId | string;
|
|
7311
|
+
};
|
|
7312
|
+
query?: never;
|
|
7313
|
+
url: "/v1/logs/{id}";
|
|
7314
|
+
};
|
|
7315
|
+
export type LogsGetErrors = {
|
|
7316
|
+
/**
|
|
7317
|
+
* MalformedRequestError
|
|
7318
|
+
*/
|
|
7319
|
+
400: MalformedRequestError;
|
|
7320
|
+
/**
|
|
7321
|
+
* UnauthorizedError
|
|
7322
|
+
*/
|
|
7323
|
+
401: UnauthorizedError;
|
|
7324
|
+
/**
|
|
7325
|
+
* ForbiddenError
|
|
7326
|
+
*/
|
|
7327
|
+
403: ForbiddenError;
|
|
7328
|
+
/**
|
|
7329
|
+
* ResourceNotFoundError
|
|
7330
|
+
*/
|
|
7331
|
+
404: ResourceNotFoundError;
|
|
7332
|
+
/**
|
|
7333
|
+
* ValidationError
|
|
7334
|
+
*/
|
|
7335
|
+
422: ValidationError;
|
|
7336
|
+
/**
|
|
7337
|
+
* InternalError
|
|
7338
|
+
*/
|
|
7339
|
+
500: InternalError;
|
|
7340
|
+
/**
|
|
7341
|
+
* GatewayTimeoutError
|
|
7342
|
+
*/
|
|
7343
|
+
504: GatewayTimeoutError;
|
|
7344
|
+
};
|
|
7345
|
+
export type LogsGetError = LogsGetErrors[keyof LogsGetErrors];
|
|
7346
|
+
export type LogsGetResponses = {
|
|
7347
|
+
/**
|
|
7348
|
+
* LogDetail
|
|
7349
|
+
*/
|
|
7350
|
+
200: LogDetail;
|
|
7351
|
+
};
|
|
7352
|
+
export type LogsGetResponse = LogsGetResponses[keyof LogsGetResponses];
|
|
7047
7353
|
export type OperationsListData = {
|
|
7048
7354
|
body?: never;
|
|
7049
7355
|
path?: never;
|
|
@@ -7473,9 +7779,9 @@ export type CampaignsPreviewErrors = {
|
|
|
7473
7779
|
*/
|
|
7474
7780
|
401: UnauthorizedError;
|
|
7475
7781
|
/**
|
|
7476
|
-
*
|
|
7782
|
+
* ForbiddenError
|
|
7477
7783
|
*/
|
|
7478
|
-
403:
|
|
7784
|
+
403: ForbiddenError;
|
|
7479
7785
|
/**
|
|
7480
7786
|
* ResourceNotFoundError
|
|
7481
7787
|
*/
|
|
@@ -7533,9 +7839,9 @@ export type CampaignsSendTestErrors = {
|
|
|
7533
7839
|
*/
|
|
7534
7840
|
402: PaymentRequiredError;
|
|
7535
7841
|
/**
|
|
7536
|
-
* ForbiddenError | OnboardingReviewRequiredError
|
|
7842
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
7537
7843
|
*/
|
|
7538
|
-
403: ForbiddenError | OnboardingReviewRequiredError
|
|
7844
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
7539
7845
|
/**
|
|
7540
7846
|
* ResourceNotFoundError
|
|
7541
7847
|
*/
|
|
@@ -14197,6 +14503,7 @@ export type JourneysListData = {
|
|
|
14197
14503
|
body?: never;
|
|
14198
14504
|
path?: never;
|
|
14199
14505
|
query?: {
|
|
14506
|
+
namespaceId?: NamespaceId | undefined;
|
|
14200
14507
|
status?: JourneyStatus | undefined;
|
|
14201
14508
|
limit?: number | null | undefined;
|
|
14202
14509
|
cursor?: string | undefined;
|
|
@@ -14240,6 +14547,7 @@ export type JourneysListResponse = JourneysListResponses[keyof JourneysListRespo
|
|
|
14240
14547
|
export type JourneysCreateData = {
|
|
14241
14548
|
body: {
|
|
14242
14549
|
name: JourneyName;
|
|
14550
|
+
namespaceId?: NamespaceId | undefined;
|
|
14243
14551
|
definition: JourneyDefinitionWritable;
|
|
14244
14552
|
};
|
|
14245
14553
|
path?: never;
|
|
@@ -14260,9 +14568,9 @@ export type JourneysCreateErrors = {
|
|
|
14260
14568
|
*/
|
|
14261
14569
|
402: PaymentRequiredError;
|
|
14262
14570
|
/**
|
|
14263
|
-
*
|
|
14571
|
+
* ForbiddenError
|
|
14264
14572
|
*/
|
|
14265
|
-
403:
|
|
14573
|
+
403: ForbiddenError;
|
|
14266
14574
|
/**
|
|
14267
14575
|
* ResourceNotFoundError
|
|
14268
14576
|
*/
|
|
@@ -14465,9 +14773,9 @@ export type JourneysReplaceDraftErrors = {
|
|
|
14465
14773
|
*/
|
|
14466
14774
|
402: PaymentRequiredError;
|
|
14467
14775
|
/**
|
|
14468
|
-
*
|
|
14776
|
+
* ForbiddenError
|
|
14469
14777
|
*/
|
|
14470
|
-
403:
|
|
14778
|
+
403: ForbiddenError;
|
|
14471
14779
|
/**
|
|
14472
14780
|
* ResourceNotFoundError
|
|
14473
14781
|
*/
|
|
@@ -14525,9 +14833,9 @@ export type JourneysPublishErrors = {
|
|
|
14525
14833
|
*/
|
|
14526
14834
|
402: PaymentRequiredError;
|
|
14527
14835
|
/**
|
|
14528
|
-
*
|
|
14836
|
+
* ForbiddenError
|
|
14529
14837
|
*/
|
|
14530
|
-
403:
|
|
14838
|
+
403: ForbiddenError;
|
|
14531
14839
|
/**
|
|
14532
14840
|
* ResourceNotFoundError
|
|
14533
14841
|
*/
|
|
@@ -14633,9 +14941,9 @@ export type JourneysResumeErrors = {
|
|
|
14633
14941
|
*/
|
|
14634
14942
|
402: PaymentRequiredError;
|
|
14635
14943
|
/**
|
|
14636
|
-
*
|
|
14944
|
+
* ForbiddenError
|
|
14637
14945
|
*/
|
|
14638
|
-
403:
|
|
14946
|
+
403: ForbiddenError;
|
|
14639
14947
|
/**
|
|
14640
14948
|
* ResourceNotFoundError
|
|
14641
14949
|
*/
|
|
@@ -15875,9 +16183,9 @@ export type IntegrationCatalogRecipeConnectionHandoffErrors = {
|
|
|
15875
16183
|
*/
|
|
15876
16184
|
401: UnauthorizedError;
|
|
15877
16185
|
/**
|
|
15878
|
-
* ForbiddenError
|
|
16186
|
+
* ForbiddenError
|
|
15879
16187
|
*/
|
|
15880
|
-
403: ForbiddenError
|
|
16188
|
+
403: ForbiddenError;
|
|
15881
16189
|
/**
|
|
15882
16190
|
* ResourceNotFoundError
|
|
15883
16191
|
*/
|
|
@@ -16131,9 +16439,9 @@ export type IntegrationCatalogRecipeSetupActivateErrors = {
|
|
|
16131
16439
|
*/
|
|
16132
16440
|
402: PaymentRequiredError;
|
|
16133
16441
|
/**
|
|
16134
|
-
* ForbiddenError
|
|
16442
|
+
* ForbiddenError
|
|
16135
16443
|
*/
|
|
16136
|
-
403: ForbiddenError
|
|
16444
|
+
403: ForbiddenError;
|
|
16137
16445
|
/**
|
|
16138
16446
|
* ResourceNotFoundError
|
|
16139
16447
|
*/
|
|
@@ -16244,9 +16552,9 @@ export type IntegrationCatalogRecipeWhatsAppChallengeBeginErrors = {
|
|
|
16244
16552
|
*/
|
|
16245
16553
|
401: UnauthorizedError;
|
|
16246
16554
|
/**
|
|
16247
|
-
* ForbiddenError
|
|
16555
|
+
* ForbiddenError
|
|
16248
16556
|
*/
|
|
16249
|
-
403: ForbiddenError
|
|
16557
|
+
403: ForbiddenError;
|
|
16250
16558
|
/**
|
|
16251
16559
|
* ResourceNotFoundError
|
|
16252
16560
|
*/
|
|
@@ -16295,9 +16603,9 @@ export type IntegrationCatalogRecipeWhatsAppChallengeGetErrors = {
|
|
|
16295
16603
|
*/
|
|
16296
16604
|
401: UnauthorizedError;
|
|
16297
16605
|
/**
|
|
16298
|
-
* ForbiddenError
|
|
16606
|
+
* ForbiddenError
|
|
16299
16607
|
*/
|
|
16300
|
-
403: ForbiddenError
|
|
16608
|
+
403: ForbiddenError;
|
|
16301
16609
|
/**
|
|
16302
16610
|
* ResourceNotFoundError
|
|
16303
16611
|
*/
|
|
@@ -16348,9 +16656,9 @@ export type IntegrationCatalogRecipeWhatsAppChallengeConfirmErrors = {
|
|
|
16348
16656
|
*/
|
|
16349
16657
|
401: UnauthorizedError;
|
|
16350
16658
|
/**
|
|
16351
|
-
* ForbiddenError
|
|
16659
|
+
* ForbiddenError
|
|
16352
16660
|
*/
|
|
16353
|
-
403: ForbiddenError
|
|
16661
|
+
403: ForbiddenError;
|
|
16354
16662
|
/**
|
|
16355
16663
|
* ResourceNotFoundError
|
|
16356
16664
|
*/
|
|
@@ -16425,9 +16733,9 @@ export type IntegrationCatalogRecipeTestErrors = {
|
|
|
16425
16733
|
*/
|
|
16426
16734
|
402: PaymentRequiredError;
|
|
16427
16735
|
/**
|
|
16428
|
-
* ForbiddenError |
|
|
16736
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16429
16737
|
*/
|
|
16430
|
-
403: ForbiddenError |
|
|
16738
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16431
16739
|
/**
|
|
16432
16740
|
* ResourceNotFoundError
|
|
16433
16741
|
*/
|
|
@@ -16681,8 +16989,8 @@ export type IntegrationCatalogSearchData = {
|
|
|
16681
16989
|
key?: IntegrationKey | undefined;
|
|
16682
16990
|
query?: string | undefined;
|
|
16683
16991
|
category?: "commerce" | "payments" | "shipping" | "calendar" | "crm" | "helpdesk" | "knowledge" | "forms" | "accounting" | "reviews" | "productivity" | "dns" | "channel" | "other" | undefined;
|
|
16684
|
-
|
|
16685
|
-
|
|
16992
|
+
limit?: number | null | undefined;
|
|
16993
|
+
cursor?: string | undefined;
|
|
16686
16994
|
};
|
|
16687
16995
|
url: "/v1/integrations/catalog/search";
|
|
16688
16996
|
};
|
|
@@ -16857,8 +17165,8 @@ export type IntegrationsListToolsData = {
|
|
|
16857
17165
|
integrationId: IntegrationId;
|
|
16858
17166
|
};
|
|
16859
17167
|
query?: {
|
|
16860
|
-
|
|
16861
|
-
|
|
17168
|
+
limit?: number | null | undefined;
|
|
17169
|
+
cursor?: string | undefined;
|
|
16862
17170
|
};
|
|
16863
17171
|
url: "/v1/integrations/{integrationId}/tools";
|
|
16864
17172
|
};
|
|
@@ -16902,11 +17210,8 @@ export type IntegrationsListToolsResponses = {
|
|
|
16902
17210
|
* Success
|
|
16903
17211
|
*/
|
|
16904
17212
|
200: {
|
|
16905
|
-
nextOffset: number | null;
|
|
16906
|
-
total: number;
|
|
16907
|
-
revision: string;
|
|
16908
|
-
offset: number;
|
|
16909
17213
|
items: Array<IntegrationToolView>;
|
|
17214
|
+
nextCursor: string | null;
|
|
16910
17215
|
};
|
|
16911
17216
|
};
|
|
16912
17217
|
export type IntegrationsListToolsResponse = IntegrationsListToolsResponses[keyof IntegrationsListToolsResponses];
|
|
@@ -17158,9 +17463,9 @@ export type SubscriptionsSubscribeErrors = {
|
|
|
17158
17463
|
*/
|
|
17159
17464
|
402: PaymentRequiredError;
|
|
17160
17465
|
/**
|
|
17161
|
-
* ForbiddenError | OnboardingReviewRequiredError
|
|
17466
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
17162
17467
|
*/
|
|
17163
|
-
403: ForbiddenError | OnboardingReviewRequiredError
|
|
17468
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
17164
17469
|
/**
|
|
17165
17470
|
* ResourceNotFoundError
|
|
17166
17471
|
*/
|
|
@@ -18713,9 +19018,9 @@ export type NewslettersListErrors = {
|
|
|
18713
19018
|
*/
|
|
18714
19019
|
401: UnauthorizedError;
|
|
18715
19020
|
/**
|
|
18716
|
-
* ForbiddenError
|
|
19021
|
+
* ForbiddenError
|
|
18717
19022
|
*/
|
|
18718
|
-
403: ForbiddenError
|
|
19023
|
+
403: ForbiddenError;
|
|
18719
19024
|
/**
|
|
18720
19025
|
* ResourceNotFoundError
|
|
18721
19026
|
*/
|
|
@@ -18773,9 +19078,9 @@ export type NewslettersCreateErrors = {
|
|
|
18773
19078
|
*/
|
|
18774
19079
|
401: UnauthorizedError;
|
|
18775
19080
|
/**
|
|
18776
|
-
* ForbiddenError
|
|
19081
|
+
* ForbiddenError
|
|
18777
19082
|
*/
|
|
18778
|
-
403: ForbiddenError
|
|
19083
|
+
403: ForbiddenError;
|
|
18779
19084
|
/**
|
|
18780
19085
|
* ResourceNotFoundError
|
|
18781
19086
|
*/
|
|
@@ -18826,9 +19131,9 @@ export type NewslettersRemoveErrors = {
|
|
|
18826
19131
|
*/
|
|
18827
19132
|
401: UnauthorizedError;
|
|
18828
19133
|
/**
|
|
18829
|
-
* ForbiddenError
|
|
19134
|
+
* ForbiddenError
|
|
18830
19135
|
*/
|
|
18831
|
-
403: ForbiddenError
|
|
19136
|
+
403: ForbiddenError;
|
|
18832
19137
|
/**
|
|
18833
19138
|
* ResourceNotFoundError
|
|
18834
19139
|
*/
|
|
@@ -18878,9 +19183,9 @@ export type NewslettersGetErrors = {
|
|
|
18878
19183
|
*/
|
|
18879
19184
|
401: UnauthorizedError;
|
|
18880
19185
|
/**
|
|
18881
|
-
* ForbiddenError
|
|
19186
|
+
* ForbiddenError
|
|
18882
19187
|
*/
|
|
18883
|
-
403: ForbiddenError
|
|
19188
|
+
403: ForbiddenError;
|
|
18884
19189
|
/**
|
|
18885
19190
|
* ResourceNotFoundError
|
|
18886
19191
|
*/
|
|
@@ -18934,9 +19239,9 @@ export type NewslettersUpdateErrors = {
|
|
|
18934
19239
|
*/
|
|
18935
19240
|
401: UnauthorizedError;
|
|
18936
19241
|
/**
|
|
18937
|
-
* ForbiddenError
|
|
19242
|
+
* ForbiddenError
|
|
18938
19243
|
*/
|
|
18939
|
-
403: ForbiddenError
|
|
19244
|
+
403: ForbiddenError;
|
|
18940
19245
|
/**
|
|
18941
19246
|
* ResourceNotFoundError
|
|
18942
19247
|
*/
|
|
@@ -18984,9 +19289,9 @@ export type NewsletterIssuesListErrors = {
|
|
|
18984
19289
|
*/
|
|
18985
19290
|
401: UnauthorizedError;
|
|
18986
19291
|
/**
|
|
18987
|
-
* ForbiddenError
|
|
19292
|
+
* ForbiddenError
|
|
18988
19293
|
*/
|
|
18989
|
-
403: ForbiddenError
|
|
19294
|
+
403: ForbiddenError;
|
|
18990
19295
|
/**
|
|
18991
19296
|
* ResourceNotFoundError
|
|
18992
19297
|
*/
|
|
@@ -19048,9 +19353,9 @@ export type NewsletterIssuesUpdateErrors = {
|
|
|
19048
19353
|
*/
|
|
19049
19354
|
401: UnauthorizedError;
|
|
19050
19355
|
/**
|
|
19051
|
-
* ForbiddenError
|
|
19356
|
+
* ForbiddenError
|
|
19052
19357
|
*/
|
|
19053
|
-
403: ForbiddenError
|
|
19358
|
+
403: ForbiddenError;
|
|
19054
19359
|
/**
|
|
19055
19360
|
* ResourceNotFoundError
|
|
19056
19361
|
*/
|
|
@@ -19204,9 +19509,9 @@ export type NewsletterIssuesCreateErrors = {
|
|
|
19204
19509
|
*/
|
|
19205
19510
|
401: UnauthorizedError;
|
|
19206
19511
|
/**
|
|
19207
|
-
* ForbiddenError
|
|
19512
|
+
* ForbiddenError
|
|
19208
19513
|
*/
|
|
19209
|
-
403: ForbiddenError
|
|
19514
|
+
403: ForbiddenError;
|
|
19210
19515
|
/**
|
|
19211
19516
|
* ResourceNotFoundError
|
|
19212
19517
|
*/
|
|
@@ -19350,9 +19655,9 @@ export type NewsletterIssuesOpenErrors = {
|
|
|
19350
19655
|
*/
|
|
19351
19656
|
401: UnauthorizedError;
|
|
19352
19657
|
/**
|
|
19353
|
-
* ForbiddenError
|
|
19658
|
+
* ForbiddenError
|
|
19354
19659
|
*/
|
|
19355
|
-
403: ForbiddenError
|
|
19660
|
+
403: ForbiddenError;
|
|
19356
19661
|
/**
|
|
19357
19662
|
* ResourceNotFoundError
|
|
19358
19663
|
*/
|
|
@@ -19502,9 +19807,9 @@ export type NewsletterIssuesGetErrors = {
|
|
|
19502
19807
|
*/
|
|
19503
19808
|
401: UnauthorizedError;
|
|
19504
19809
|
/**
|
|
19505
|
-
* ForbiddenError
|
|
19810
|
+
* ForbiddenError
|
|
19506
19811
|
*/
|
|
19507
|
-
403: ForbiddenError
|
|
19812
|
+
403: ForbiddenError;
|
|
19508
19813
|
/**
|
|
19509
19814
|
* ResourceNotFoundError
|
|
19510
19815
|
*/
|
|
@@ -19565,9 +19870,9 @@ export type NewsletterIssuesRemoveErrors = {
|
|
|
19565
19870
|
*/
|
|
19566
19871
|
401: UnauthorizedError;
|
|
19567
19872
|
/**
|
|
19568
|
-
* ForbiddenError
|
|
19873
|
+
* ForbiddenError
|
|
19569
19874
|
*/
|
|
19570
|
-
403: ForbiddenError
|
|
19875
|
+
403: ForbiddenError;
|
|
19571
19876
|
/**
|
|
19572
19877
|
* ResourceNotFoundError
|
|
19573
19878
|
*/
|
|
@@ -19718,9 +20023,9 @@ export type NewsletterIssuesSaveErrors = {
|
|
|
19718
20023
|
*/
|
|
19719
20024
|
401: UnauthorizedError;
|
|
19720
20025
|
/**
|
|
19721
|
-
* ForbiddenError
|
|
20026
|
+
* ForbiddenError
|
|
19722
20027
|
*/
|
|
19723
|
-
403: ForbiddenError
|
|
20028
|
+
403: ForbiddenError;
|
|
19724
20029
|
/**
|
|
19725
20030
|
* ResourceNotFoundError
|
|
19726
20031
|
*/
|
|
@@ -19835,9 +20140,9 @@ export type NewsletterIssuesCheckErrors = {
|
|
|
19835
20140
|
*/
|
|
19836
20141
|
401: UnauthorizedError;
|
|
19837
20142
|
/**
|
|
19838
|
-
* ForbiddenError
|
|
20143
|
+
* ForbiddenError
|
|
19839
20144
|
*/
|
|
19840
|
-
403: ForbiddenError
|
|
20145
|
+
403: ForbiddenError;
|
|
19841
20146
|
/**
|
|
19842
20147
|
* ResourceNotFoundError
|
|
19843
20148
|
*/
|
|
@@ -19983,9 +20288,9 @@ export type NewsletterIssuesRenderErrors = {
|
|
|
19983
20288
|
*/
|
|
19984
20289
|
401: UnauthorizedError;
|
|
19985
20290
|
/**
|
|
19986
|
-
* ForbiddenError
|
|
20291
|
+
* ForbiddenError
|
|
19987
20292
|
*/
|
|
19988
|
-
403: ForbiddenError
|
|
20293
|
+
403: ForbiddenError;
|
|
19989
20294
|
/**
|
|
19990
20295
|
* ResourceNotFoundError
|
|
19991
20296
|
*/
|
|
@@ -20194,9 +20499,9 @@ export type NewsletterIssuesHeadErrors = {
|
|
|
20194
20499
|
*/
|
|
20195
20500
|
401: UnauthorizedError;
|
|
20196
20501
|
/**
|
|
20197
|
-
* ForbiddenError
|
|
20502
|
+
* ForbiddenError
|
|
20198
20503
|
*/
|
|
20199
|
-
403: ForbiddenError
|
|
20504
|
+
403: ForbiddenError;
|
|
20200
20505
|
/**
|
|
20201
20506
|
* ResourceNotFoundError
|
|
20202
20507
|
*/
|
|
@@ -20254,9 +20559,9 @@ export type NewsletterIssuesHistoryErrors = {
|
|
|
20254
20559
|
*/
|
|
20255
20560
|
401: UnauthorizedError;
|
|
20256
20561
|
/**
|
|
20257
|
-
* ForbiddenError
|
|
20562
|
+
* ForbiddenError
|
|
20258
20563
|
*/
|
|
20259
|
-
403: ForbiddenError
|
|
20564
|
+
403: ForbiddenError;
|
|
20260
20565
|
/**
|
|
20261
20566
|
* ResourceNotFoundError
|
|
20262
20567
|
*/
|
|
@@ -20321,9 +20626,9 @@ export type NewsletterDomainsListErrors = {
|
|
|
20321
20626
|
*/
|
|
20322
20627
|
401: UnauthorizedError;
|
|
20323
20628
|
/**
|
|
20324
|
-
* ForbiddenError
|
|
20629
|
+
* ForbiddenError
|
|
20325
20630
|
*/
|
|
20326
|
-
403: ForbiddenError
|
|
20631
|
+
403: ForbiddenError;
|
|
20327
20632
|
/**
|
|
20328
20633
|
* ResourceNotFoundError
|
|
20329
20634
|
*/
|
|
@@ -20376,9 +20681,9 @@ export type NewsletterDomainsAddErrors = {
|
|
|
20376
20681
|
*/
|
|
20377
20682
|
401: UnauthorizedError;
|
|
20378
20683
|
/**
|
|
20379
|
-
* ForbiddenError
|
|
20684
|
+
* ForbiddenError
|
|
20380
20685
|
*/
|
|
20381
|
-
403: ForbiddenError
|
|
20686
|
+
403: ForbiddenError;
|
|
20382
20687
|
/**
|
|
20383
20688
|
* ResourceNotFoundError
|
|
20384
20689
|
*/
|
|
@@ -20450,9 +20755,9 @@ export type NewsletterDomainsRemoveErrors = {
|
|
|
20450
20755
|
*/
|
|
20451
20756
|
401: UnauthorizedError;
|
|
20452
20757
|
/**
|
|
20453
|
-
* ForbiddenError
|
|
20758
|
+
* ForbiddenError
|
|
20454
20759
|
*/
|
|
20455
|
-
403: ForbiddenError
|
|
20760
|
+
403: ForbiddenError;
|
|
20456
20761
|
/**
|
|
20457
20762
|
* ResourceNotFoundError
|
|
20458
20763
|
*/
|
|
@@ -20521,9 +20826,9 @@ export type NewsletterDomainsGetErrors = {
|
|
|
20521
20826
|
*/
|
|
20522
20827
|
401: UnauthorizedError;
|
|
20523
20828
|
/**
|
|
20524
|
-
* ForbiddenError
|
|
20829
|
+
* ForbiddenError
|
|
20525
20830
|
*/
|
|
20526
|
-
403: ForbiddenError
|
|
20831
|
+
403: ForbiddenError;
|
|
20527
20832
|
/**
|
|
20528
20833
|
* ResourceNotFoundError
|
|
20529
20834
|
*/
|
|
@@ -21602,7 +21907,7 @@ export type TemplatesSuggestStartersData = {
|
|
|
21602
21907
|
*/
|
|
21603
21908
|
brief: string;
|
|
21604
21909
|
/**
|
|
21605
|
-
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters
|
|
21910
|
+
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters.
|
|
21606
21911
|
*/
|
|
21607
21912
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
21608
21913
|
};
|
|
@@ -21651,7 +21956,7 @@ export type TemplatesCreateFromBriefData = {
|
|
|
21651
21956
|
*/
|
|
21652
21957
|
brief: string;
|
|
21653
21958
|
/**
|
|
21654
|
-
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters
|
|
21959
|
+
* The channel to start a template for. Defaults to email. WhatsApp starts from Samva's WhatsApp starters.
|
|
21655
21960
|
*/
|
|
21656
21961
|
channel?: "email" | "whatsapp" | null | undefined;
|
|
21657
21962
|
name?: string | null | undefined;
|
|
@@ -28082,7 +28387,7 @@ export type MailboxesListOrganizationThreadsData = {
|
|
|
28082
28387
|
senders?: string | Array<string> | undefined;
|
|
28083
28388
|
excludeTrash?: boolean | null | undefined;
|
|
28084
28389
|
/**
|
|
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
|
|
28390
|
+
* 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
28391
|
*/
|
|
28087
28392
|
q?: string | undefined;
|
|
28088
28393
|
state?: "active" | "done" | undefined;
|
|
@@ -28091,6 +28396,10 @@ export type MailboxesListOrganizationThreadsData = {
|
|
|
28091
28396
|
unread?: boolean | null | undefined;
|
|
28092
28397
|
starred?: boolean | null | undefined;
|
|
28093
28398
|
snoozed?: boolean | null | undefined;
|
|
28399
|
+
/**
|
|
28400
|
+
* 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.
|
|
28401
|
+
*/
|
|
28402
|
+
order?: "wake" | undefined;
|
|
28094
28403
|
mailboxId?: MailboxId | Array<MailboxId> | undefined;
|
|
28095
28404
|
kind?: "personal" | "shared" | undefined;
|
|
28096
28405
|
conversation?: ConversationId | undefined;
|
|
@@ -28149,7 +28458,7 @@ export type MailboxesListThreadsData = {
|
|
|
28149
28458
|
senders?: string | Array<string> | undefined;
|
|
28150
28459
|
excludeTrash?: boolean | null | undefined;
|
|
28151
28460
|
/**
|
|
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
|
|
28461
|
+
* 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
28462
|
*/
|
|
28154
28463
|
q?: string | undefined;
|
|
28155
28464
|
state?: "active" | "done" | undefined;
|
|
@@ -28158,6 +28467,10 @@ export type MailboxesListThreadsData = {
|
|
|
28158
28467
|
unread?: boolean | null | undefined;
|
|
28159
28468
|
starred?: boolean | null | undefined;
|
|
28160
28469
|
snoozed?: boolean | null | undefined;
|
|
28470
|
+
/**
|
|
28471
|
+
* 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.
|
|
28472
|
+
*/
|
|
28473
|
+
order?: "wake" | undefined;
|
|
28161
28474
|
};
|
|
28162
28475
|
url: "/v1/mailboxes/{id}/threads";
|
|
28163
28476
|
};
|
|
@@ -28873,9 +29186,9 @@ export type MailboxesSendMessageErrors = {
|
|
|
28873
29186
|
*/
|
|
28874
29187
|
402: PaymentRequiredError;
|
|
28875
29188
|
/**
|
|
28876
|
-
*
|
|
29189
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
28877
29190
|
*/
|
|
28878
|
-
403:
|
|
29191
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
28879
29192
|
/**
|
|
28880
29193
|
* ResourceNotFoundError
|
|
28881
29194
|
*/
|
|
@@ -29144,9 +29457,9 @@ export type MailboxesReplyErrors = {
|
|
|
29144
29457
|
*/
|
|
29145
29458
|
402: PaymentRequiredError;
|
|
29146
29459
|
/**
|
|
29147
|
-
*
|
|
29460
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
29148
29461
|
*/
|
|
29149
|
-
403:
|
|
29462
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
29150
29463
|
/**
|
|
29151
29464
|
* ResourceNotFoundError
|
|
29152
29465
|
*/
|
|
@@ -29221,9 +29534,9 @@ export type MailboxesReplyAllErrors = {
|
|
|
29221
29534
|
*/
|
|
29222
29535
|
402: PaymentRequiredError;
|
|
29223
29536
|
/**
|
|
29224
|
-
*
|
|
29537
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
29225
29538
|
*/
|
|
29226
|
-
403:
|
|
29539
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
29227
29540
|
/**
|
|
29228
29541
|
* ResourceNotFoundError
|
|
29229
29542
|
*/
|
|
@@ -29305,9 +29618,9 @@ export type MailboxesForwardErrors = {
|
|
|
29305
29618
|
*/
|
|
29306
29619
|
402: PaymentRequiredError;
|
|
29307
29620
|
/**
|
|
29308
|
-
*
|
|
29621
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError
|
|
29309
29622
|
*/
|
|
29310
|
-
403:
|
|
29623
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError;
|
|
29311
29624
|
/**
|
|
29312
29625
|
* ResourceNotFoundError
|
|
29313
29626
|
*/
|
|
@@ -30021,9 +30334,9 @@ export type MailboxesSendDraftErrors = {
|
|
|
30021
30334
|
*/
|
|
30022
30335
|
402: PaymentRequiredError;
|
|
30023
30336
|
/**
|
|
30024
|
-
*
|
|
30337
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
30025
30338
|
*/
|
|
30026
|
-
403:
|
|
30339
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
30027
30340
|
/**
|
|
30028
30341
|
* ResourceNotFoundError
|
|
30029
30342
|
*/
|
|
@@ -30192,9 +30505,9 @@ export type MailboxesCancelActionErrors = {
|
|
|
30192
30505
|
*/
|
|
30193
30506
|
402: PaymentRequiredError;
|
|
30194
30507
|
/**
|
|
30195
|
-
*
|
|
30508
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError
|
|
30196
30509
|
*/
|
|
30197
|
-
403:
|
|
30510
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError;
|
|
30198
30511
|
/**
|
|
30199
30512
|
* ResourceNotFoundError
|
|
30200
30513
|
*/
|
|
@@ -30263,9 +30576,9 @@ export type MailboxesRetryActionErrors = {
|
|
|
30263
30576
|
*/
|
|
30264
30577
|
402: PaymentRequiredError;
|
|
30265
30578
|
/**
|
|
30266
|
-
*
|
|
30579
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
30267
30580
|
*/
|
|
30268
|
-
403:
|
|
30581
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
30269
30582
|
/**
|
|
30270
30583
|
* ResourceNotFoundError
|
|
30271
30584
|
*/
|
|
@@ -30341,9 +30654,9 @@ export type MailboxesApproveActionErrors = {
|
|
|
30341
30654
|
*/
|
|
30342
30655
|
402: PaymentRequiredError;
|
|
30343
30656
|
/**
|
|
30344
|
-
*
|
|
30657
|
+
* MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError
|
|
30345
30658
|
*/
|
|
30346
|
-
403:
|
|
30659
|
+
403: MailboxSendRefusedError | OnboardingReviewRequiredError | ForbiddenError | FlagDisabledError;
|
|
30347
30660
|
/**
|
|
30348
30661
|
* ResourceNotFoundError
|
|
30349
30662
|
*/
|
|
@@ -31575,9 +31888,9 @@ export type WhatsappGetStatsErrors = {
|
|
|
31575
31888
|
*/
|
|
31576
31889
|
401: UnauthorizedError;
|
|
31577
31890
|
/**
|
|
31578
|
-
*
|
|
31891
|
+
* ForbiddenError
|
|
31579
31892
|
*/
|
|
31580
|
-
403:
|
|
31893
|
+
403: ForbiddenError;
|
|
31581
31894
|
/**
|
|
31582
31895
|
* ValidationError
|
|
31583
31896
|
*/
|
|
@@ -31629,9 +31942,9 @@ export type WhatsappGetTemplateStatsErrors = {
|
|
|
31629
31942
|
*/
|
|
31630
31943
|
401: UnauthorizedError;
|
|
31631
31944
|
/**
|
|
31632
|
-
*
|
|
31945
|
+
* ForbiddenError
|
|
31633
31946
|
*/
|
|
31634
|
-
403:
|
|
31947
|
+
403: ForbiddenError;
|
|
31635
31948
|
/**
|
|
31636
31949
|
* ValidationError
|
|
31637
31950
|
*/
|
|
@@ -31672,9 +31985,9 @@ export type WhatsappGetServiceWindowStatusErrors = {
|
|
|
31672
31985
|
*/
|
|
31673
31986
|
401: UnauthorizedError;
|
|
31674
31987
|
/**
|
|
31675
|
-
*
|
|
31988
|
+
* ForbiddenError
|
|
31676
31989
|
*/
|
|
31677
|
-
403:
|
|
31990
|
+
403: ForbiddenError;
|
|
31678
31991
|
/**
|
|
31679
31992
|
* ResourceNotFoundError
|
|
31680
31993
|
*/
|
|
@@ -31724,9 +32037,9 @@ export type WhatsappGetServiceWindowBillingErrors = {
|
|
|
31724
32037
|
*/
|
|
31725
32038
|
401: UnauthorizedError;
|
|
31726
32039
|
/**
|
|
31727
|
-
*
|
|
32040
|
+
* ForbiddenError
|
|
31728
32041
|
*/
|
|
31729
|
-
403:
|
|
32042
|
+
403: ForbiddenError;
|
|
31730
32043
|
/**
|
|
31731
32044
|
* ResourceNotFoundError
|
|
31732
32045
|
*/
|
|
@@ -31775,9 +32088,9 @@ export type WhatsappGetMediaDownloadUrlErrors = {
|
|
|
31775
32088
|
*/
|
|
31776
32089
|
401: UnauthorizedError;
|
|
31777
32090
|
/**
|
|
31778
|
-
*
|
|
32091
|
+
* ForbiddenError
|
|
31779
32092
|
*/
|
|
31780
|
-
403:
|
|
32093
|
+
403: ForbiddenError;
|
|
31781
32094
|
/**
|
|
31782
32095
|
* ResourceNotFoundError
|
|
31783
32096
|
*/
|
|
@@ -31810,8 +32123,8 @@ export type WhatsappListBusinessAccountsData = {
|
|
|
31810
32123
|
body?: never;
|
|
31811
32124
|
path?: never;
|
|
31812
32125
|
query?: {
|
|
31813
|
-
page?: number | null | undefined;
|
|
31814
32126
|
limit?: number | null | undefined;
|
|
32127
|
+
cursor?: string | undefined;
|
|
31815
32128
|
isActive?: boolean | null | undefined;
|
|
31816
32129
|
verificationStatus?: "pending" | "verified" | "failed" | "suspended" | undefined;
|
|
31817
32130
|
namespaceId?: NamespaceId | undefined;
|
|
@@ -31828,9 +32141,9 @@ export type WhatsappListBusinessAccountsErrors = {
|
|
|
31828
32141
|
*/
|
|
31829
32142
|
401: UnauthorizedError;
|
|
31830
32143
|
/**
|
|
31831
|
-
* ForbiddenError
|
|
32144
|
+
* ForbiddenError
|
|
31832
32145
|
*/
|
|
31833
|
-
403: ForbiddenError
|
|
32146
|
+
403: ForbiddenError;
|
|
31834
32147
|
/**
|
|
31835
32148
|
* ValidationError
|
|
31836
32149
|
*/
|
|
@@ -31877,7 +32190,7 @@ export type WhatsappListBusinessAccountsResponses = {
|
|
|
31877
32190
|
createdAt: string;
|
|
31878
32191
|
updatedAt: string;
|
|
31879
32192
|
}>;
|
|
31880
|
-
|
|
32193
|
+
nextCursor: string | null;
|
|
31881
32194
|
};
|
|
31882
32195
|
};
|
|
31883
32196
|
export type WhatsappListBusinessAccountsResponse = WhatsappListBusinessAccountsResponses[keyof WhatsappListBusinessAccountsResponses];
|
|
@@ -31906,9 +32219,9 @@ export type WhatsappConnectBusinessAccountErrors = {
|
|
|
31906
32219
|
*/
|
|
31907
32220
|
402: PaymentRequiredError;
|
|
31908
32221
|
/**
|
|
31909
|
-
* ForbiddenError
|
|
32222
|
+
* ForbiddenError
|
|
31910
32223
|
*/
|
|
31911
|
-
403: ForbiddenError
|
|
32224
|
+
403: ForbiddenError;
|
|
31912
32225
|
/**
|
|
31913
32226
|
* ResourceNotFoundError
|
|
31914
32227
|
*/
|
|
@@ -31986,9 +32299,9 @@ export type WhatsappDisconnectBusinessAccountErrors = {
|
|
|
31986
32299
|
*/
|
|
31987
32300
|
401: UnauthorizedError;
|
|
31988
32301
|
/**
|
|
31989
|
-
*
|
|
32302
|
+
* ForbiddenError
|
|
31990
32303
|
*/
|
|
31991
|
-
403:
|
|
32304
|
+
403: ForbiddenError;
|
|
31992
32305
|
/**
|
|
31993
32306
|
* ResourceNotFoundError
|
|
31994
32307
|
*/
|
|
@@ -32034,9 +32347,9 @@ export type WhatsappGetBusinessAccountErrors = {
|
|
|
32034
32347
|
*/
|
|
32035
32348
|
401: UnauthorizedError;
|
|
32036
32349
|
/**
|
|
32037
|
-
*
|
|
32350
|
+
* ForbiddenError
|
|
32038
32351
|
*/
|
|
32039
|
-
403:
|
|
32352
|
+
403: ForbiddenError;
|
|
32040
32353
|
/**
|
|
32041
32354
|
* ResourceNotFoundError
|
|
32042
32355
|
*/
|
|
@@ -32109,9 +32422,9 @@ export type WhatsappUpdateBusinessAccountErrors = {
|
|
|
32109
32422
|
*/
|
|
32110
32423
|
401: UnauthorizedError;
|
|
32111
32424
|
/**
|
|
32112
|
-
*
|
|
32425
|
+
* ForbiddenError
|
|
32113
32426
|
*/
|
|
32114
|
-
403:
|
|
32427
|
+
403: ForbiddenError;
|
|
32115
32428
|
/**
|
|
32116
32429
|
* ResourceNotFoundError
|
|
32117
32430
|
*/
|
|
@@ -32181,9 +32494,9 @@ export type WhatsappSetDefaultBusinessAccountErrors = {
|
|
|
32181
32494
|
*/
|
|
32182
32495
|
401: UnauthorizedError;
|
|
32183
32496
|
/**
|
|
32184
|
-
*
|
|
32497
|
+
* ForbiddenError
|
|
32185
32498
|
*/
|
|
32186
|
-
403:
|
|
32499
|
+
403: ForbiddenError;
|
|
32187
32500
|
/**
|
|
32188
32501
|
* ResourceNotFoundError
|
|
32189
32502
|
*/
|
|
@@ -32253,9 +32566,9 @@ export type WhatsappSyncAccountStatusErrors = {
|
|
|
32253
32566
|
*/
|
|
32254
32567
|
401: UnauthorizedError;
|
|
32255
32568
|
/**
|
|
32256
|
-
*
|
|
32569
|
+
* ForbiddenError
|
|
32257
32570
|
*/
|
|
32258
|
-
403:
|
|
32571
|
+
403: ForbiddenError;
|
|
32259
32572
|
/**
|
|
32260
32573
|
* ResourceNotFoundError
|
|
32261
32574
|
*/
|
|
@@ -32309,9 +32622,9 @@ export type WhatsappFlowsListErrors = {
|
|
|
32309
32622
|
*/
|
|
32310
32623
|
401: UnauthorizedError;
|
|
32311
32624
|
/**
|
|
32312
|
-
*
|
|
32625
|
+
* ForbiddenError
|
|
32313
32626
|
*/
|
|
32314
|
-
403:
|
|
32627
|
+
403: ForbiddenError;
|
|
32315
32628
|
/**
|
|
32316
32629
|
* ValidationError
|
|
32317
32630
|
*/
|
|
@@ -32338,6 +32651,7 @@ export type WhatsappFlowsCreateData = {
|
|
|
32338
32651
|
projectId: TemplateProjectId;
|
|
32339
32652
|
handle: string;
|
|
32340
32653
|
categories: Array<"SIGN_UP" | "SIGN_IN" | "APPOINTMENT_BOOKING" | "LEAD_GENERATION" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "SURVEY" | "OTHER">;
|
|
32654
|
+
submissionHandler?: "agent" | "app" | undefined;
|
|
32341
32655
|
};
|
|
32342
32656
|
path?: never;
|
|
32343
32657
|
query?: never;
|
|
@@ -32353,9 +32667,9 @@ export type WhatsappFlowsCreateErrors = {
|
|
|
32353
32667
|
*/
|
|
32354
32668
|
401: UnauthorizedError;
|
|
32355
32669
|
/**
|
|
32356
|
-
*
|
|
32670
|
+
* ForbiddenError
|
|
32357
32671
|
*/
|
|
32358
|
-
403:
|
|
32672
|
+
403: ForbiddenError;
|
|
32359
32673
|
/**
|
|
32360
32674
|
* ResourceNotFoundError
|
|
32361
32675
|
*/
|
|
@@ -32403,9 +32717,9 @@ export type WhatsappFlowsGetErrors = {
|
|
|
32403
32717
|
*/
|
|
32404
32718
|
401: UnauthorizedError;
|
|
32405
32719
|
/**
|
|
32406
|
-
*
|
|
32720
|
+
* ForbiddenError
|
|
32407
32721
|
*/
|
|
32408
|
-
403:
|
|
32722
|
+
403: ForbiddenError;
|
|
32409
32723
|
/**
|
|
32410
32724
|
* ResourceNotFoundError
|
|
32411
32725
|
*/
|
|
@@ -32449,9 +32763,9 @@ export type WhatsappFlowsListVersionsErrors = {
|
|
|
32449
32763
|
*/
|
|
32450
32764
|
401: UnauthorizedError;
|
|
32451
32765
|
/**
|
|
32452
|
-
*
|
|
32766
|
+
* ForbiddenError
|
|
32453
32767
|
*/
|
|
32454
|
-
403:
|
|
32768
|
+
403: ForbiddenError;
|
|
32455
32769
|
/**
|
|
32456
32770
|
* ResourceNotFoundError
|
|
32457
32771
|
*/
|
|
@@ -32481,6 +32795,8 @@ export type WhatsappFlowsRecordVersionData = {
|
|
|
32481
32795
|
body: {
|
|
32482
32796
|
commitSha: string;
|
|
32483
32797
|
expectedWorkspaceRevision: string;
|
|
32798
|
+
} | {
|
|
32799
|
+
flowJson: JsonObjectWritable;
|
|
32484
32800
|
};
|
|
32485
32801
|
path: {
|
|
32486
32802
|
id: WhatsAppFlowId;
|
|
@@ -32498,9 +32814,9 @@ export type WhatsappFlowsRecordVersionErrors = {
|
|
|
32498
32814
|
*/
|
|
32499
32815
|
401: UnauthorizedError;
|
|
32500
32816
|
/**
|
|
32501
|
-
*
|
|
32817
|
+
* ForbiddenError
|
|
32502
32818
|
*/
|
|
32503
|
-
403:
|
|
32819
|
+
403: ForbiddenError;
|
|
32504
32820
|
/**
|
|
32505
32821
|
* ResourceNotFoundError
|
|
32506
32822
|
*/
|
|
@@ -32552,9 +32868,9 @@ export type WhatsappFlowsListRegistrationsErrors = {
|
|
|
32552
32868
|
*/
|
|
32553
32869
|
401: UnauthorizedError;
|
|
32554
32870
|
/**
|
|
32555
|
-
*
|
|
32871
|
+
* ForbiddenError
|
|
32556
32872
|
*/
|
|
32557
|
-
403:
|
|
32873
|
+
403: ForbiddenError;
|
|
32558
32874
|
/**
|
|
32559
32875
|
* ResourceNotFoundError
|
|
32560
32876
|
*/
|
|
@@ -32600,9 +32916,9 @@ export type WhatsappFlowsRegisterErrors = {
|
|
|
32600
32916
|
*/
|
|
32601
32917
|
401: UnauthorizedError;
|
|
32602
32918
|
/**
|
|
32603
|
-
*
|
|
32919
|
+
* ForbiddenError
|
|
32604
32920
|
*/
|
|
32605
|
-
403:
|
|
32921
|
+
403: ForbiddenError;
|
|
32606
32922
|
/**
|
|
32607
32923
|
* ResourceNotFoundError
|
|
32608
32924
|
*/
|
|
@@ -32654,9 +32970,9 @@ export type WhatsappFlowsRotateEncryptionKeyErrors = {
|
|
|
32654
32970
|
*/
|
|
32655
32971
|
401: UnauthorizedError;
|
|
32656
32972
|
/**
|
|
32657
|
-
*
|
|
32973
|
+
* ForbiddenError
|
|
32658
32974
|
*/
|
|
32659
|
-
403:
|
|
32975
|
+
403: ForbiddenError;
|
|
32660
32976
|
/**
|
|
32661
32977
|
* ResourceNotFoundError
|
|
32662
32978
|
*/
|
|
@@ -32706,9 +33022,9 @@ export type WhatsappFlowsSetEndpointErrors = {
|
|
|
32706
33022
|
*/
|
|
32707
33023
|
401: UnauthorizedError;
|
|
32708
33024
|
/**
|
|
32709
|
-
*
|
|
33025
|
+
* ForbiddenError
|
|
32710
33026
|
*/
|
|
32711
|
-
403:
|
|
33027
|
+
403: ForbiddenError;
|
|
32712
33028
|
/**
|
|
32713
33029
|
* ResourceNotFoundError
|
|
32714
33030
|
*/
|
|
@@ -32752,9 +33068,9 @@ export type WhatsappFlowsRotateEndpointSecretErrors = {
|
|
|
32752
33068
|
*/
|
|
32753
33069
|
401: UnauthorizedError;
|
|
32754
33070
|
/**
|
|
32755
|
-
*
|
|
33071
|
+
* ForbiddenError
|
|
32756
33072
|
*/
|
|
32757
|
-
403:
|
|
33073
|
+
403: ForbiddenError;
|
|
32758
33074
|
/**
|
|
32759
33075
|
* ResourceNotFoundError
|
|
32760
33076
|
*/
|
|
@@ -32801,9 +33117,9 @@ export type WhatsappSetupLinksListErrors = {
|
|
|
32801
33117
|
*/
|
|
32802
33118
|
401: UnauthorizedError;
|
|
32803
33119
|
/**
|
|
32804
|
-
* ForbiddenError
|
|
33120
|
+
* ForbiddenError
|
|
32805
33121
|
*/
|
|
32806
|
-
403: ForbiddenError
|
|
33122
|
+
403: ForbiddenError;
|
|
32807
33123
|
/**
|
|
32808
33124
|
* ValidationError
|
|
32809
33125
|
*/
|
|
@@ -32850,9 +33166,9 @@ export type WhatsappSetupLinksCreateErrors = {
|
|
|
32850
33166
|
*/
|
|
32851
33167
|
402: PaymentRequiredError;
|
|
32852
33168
|
/**
|
|
32853
|
-
* ForbiddenError
|
|
33169
|
+
* ForbiddenError
|
|
32854
33170
|
*/
|
|
32855
|
-
403: ForbiddenError
|
|
33171
|
+
403: ForbiddenError;
|
|
32856
33172
|
/**
|
|
32857
33173
|
* ResourceNotFoundError
|
|
32858
33174
|
*/
|
|
@@ -32900,9 +33216,9 @@ export type WhatsappSetupLinksGetErrors = {
|
|
|
32900
33216
|
*/
|
|
32901
33217
|
401: UnauthorizedError;
|
|
32902
33218
|
/**
|
|
32903
|
-
*
|
|
33219
|
+
* ForbiddenError
|
|
32904
33220
|
*/
|
|
32905
|
-
403:
|
|
33221
|
+
403: ForbiddenError;
|
|
32906
33222
|
/**
|
|
32907
33223
|
* ResourceNotFoundError
|
|
32908
33224
|
*/
|
|
@@ -32946,9 +33262,9 @@ export type WhatsappSetupLinksRevokeErrors = {
|
|
|
32946
33262
|
*/
|
|
32947
33263
|
401: UnauthorizedError;
|
|
32948
33264
|
/**
|
|
32949
|
-
*
|
|
33265
|
+
* ForbiddenError
|
|
32950
33266
|
*/
|
|
32951
|
-
403:
|
|
33267
|
+
403: ForbiddenError;
|
|
32952
33268
|
/**
|
|
32953
33269
|
* ResourceNotFoundError
|
|
32954
33270
|
*/
|
|
@@ -32996,9 +33312,9 @@ export type TemplateRegistrationsListErrors = {
|
|
|
32996
33312
|
*/
|
|
32997
33313
|
401: UnauthorizedError;
|
|
32998
33314
|
/**
|
|
32999
|
-
*
|
|
33315
|
+
* ForbiddenError
|
|
33000
33316
|
*/
|
|
33001
|
-
403:
|
|
33317
|
+
403: ForbiddenError;
|
|
33002
33318
|
/**
|
|
33003
33319
|
* ResourceNotFoundError
|
|
33004
33320
|
*/
|
|
@@ -33049,9 +33365,9 @@ export type TemplateRegistrationsSubmitErrors = {
|
|
|
33049
33365
|
*/
|
|
33050
33366
|
401: UnauthorizedError;
|
|
33051
33367
|
/**
|
|
33052
|
-
* ForbiddenError
|
|
33368
|
+
* ForbiddenError
|
|
33053
33369
|
*/
|
|
33054
|
-
403: ForbiddenError
|
|
33370
|
+
403: ForbiddenError;
|
|
33055
33371
|
/**
|
|
33056
33372
|
* ResourceNotFoundError
|
|
33057
33373
|
*/
|
|
@@ -33108,9 +33424,9 @@ export type TemplateRegistrationsGetErrors = {
|
|
|
33108
33424
|
*/
|
|
33109
33425
|
401: UnauthorizedError;
|
|
33110
33426
|
/**
|
|
33111
|
-
*
|
|
33427
|
+
* ForbiddenError
|
|
33112
33428
|
*/
|
|
33113
|
-
403:
|
|
33429
|
+
403: ForbiddenError;
|
|
33114
33430
|
/**
|
|
33115
33431
|
* ResourceNotFoundError
|
|
33116
33432
|
*/
|