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
|
@@ -525,6 +525,130 @@ const ShopifyShop = /* @__PURE__ */ (() => Schema.String.check(Schema.isMaxCodeP
|
|
|
525
525
|
expected: "a string matching the RegExp ^[a-z0-9][a-z0-9-]*\\.myshopify\\.com$",
|
|
526
526
|
identifier: "ShopifyShop"
|
|
527
527
|
})).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })))();
|
|
528
|
+
const SubmissionClient = /* @__PURE__ */ (() => Schema.Struct({
|
|
529
|
+
surface: Schema.Union([
|
|
530
|
+
Schema.Literal("typescript-promise"),
|
|
531
|
+
Schema.Literal("typescript-effect"),
|
|
532
|
+
Schema.Literal("cli"),
|
|
533
|
+
Schema.Literal("mcp")
|
|
534
|
+
]),
|
|
535
|
+
version: Schema.String
|
|
536
|
+
}).annotate({ identifier: "SubmissionClient" }))();
|
|
537
|
+
const DeliveryErrorDetails = /* @__PURE__ */ (() => Schema.Struct({
|
|
538
|
+
code: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
539
|
+
name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
540
|
+
message: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
541
|
+
details: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, Schema.Union([
|
|
542
|
+
Schema.String,
|
|
543
|
+
Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
544
|
+
Schema.Null
|
|
545
|
+
])), Schema.Null])),
|
|
546
|
+
retryable: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]))
|
|
547
|
+
}).annotate({ identifier: "DeliveryErrorDetails" }))();
|
|
548
|
+
const SmsMessageContent = /* @__PURE__ */ (() => Schema.Struct({
|
|
549
|
+
text: Schema.String,
|
|
550
|
+
unicode: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
551
|
+
parts: Schema.optionalKey(Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null]))
|
|
552
|
+
}).annotate({ identifier: "SmsMessageContent" }))();
|
|
553
|
+
const WhatsAppTextHeader = /* @__PURE__ */ (() => Schema.Struct({
|
|
554
|
+
type: Schema.Literal("text"),
|
|
555
|
+
text: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(60).annotate({ expected: "a string with at most 60 code points" })).check(Schema.isMaxLength(60).annotate({ expected: "a value with a length of at most 60" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))
|
|
556
|
+
}).annotate({ identifier: "WhatsAppTextHeader" }))();
|
|
557
|
+
const WhatsAppImageHeaderLink = /* @__PURE__ */ (() => Schema.Struct({
|
|
558
|
+
type: Schema.Literal("image"),
|
|
559
|
+
url: Schema.String
|
|
560
|
+
}).annotate({ identifier: "WhatsAppImageHeaderLink" }))();
|
|
561
|
+
const WhatsAppVideoHeaderLink = /* @__PURE__ */ (() => Schema.Struct({
|
|
562
|
+
type: Schema.Literal("video"),
|
|
563
|
+
url: Schema.String
|
|
564
|
+
}).annotate({ identifier: "WhatsAppVideoHeaderLink" }))();
|
|
565
|
+
const WhatsAppDocumentHeaderLink = /* @__PURE__ */ (() => Schema.Struct({
|
|
566
|
+
type: Schema.Literal("document"),
|
|
567
|
+
filename: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
568
|
+
url: Schema.String
|
|
569
|
+
}).annotate({ identifier: "WhatsAppDocumentHeaderLink" }))();
|
|
570
|
+
const WhatsAppReplyButton = /* @__PURE__ */ (() => Schema.Struct({
|
|
571
|
+
id: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
572
|
+
title: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(20).annotate({ expected: "a string with at most 20 code points" })).check(Schema.isMaxLength(20).annotate({ expected: "a value with a length of at most 20" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))
|
|
573
|
+
}).annotate({ identifier: "WhatsAppReplyButton" }))();
|
|
574
|
+
const WhatsAppListRow = /* @__PURE__ */ (() => Schema.Struct({
|
|
575
|
+
id: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
576
|
+
title: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(24).annotate({ expected: "a string with at most 24 code points" })).check(Schema.isMaxLength(24).annotate({ expected: "a value with a length of at most 24" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
577
|
+
description: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(72).annotate({ expected: "a string with at most 72 code points" })).check(Schema.isMaxLength(72).annotate({ expected: "a value with a length of at most 72" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })))
|
|
578
|
+
}).annotate({ identifier: "WhatsAppListRow" }))();
|
|
579
|
+
const WhatsAppFlowId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^waflow_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
580
|
+
expected: "a string matching the RegExp ^waflow_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
581
|
+
identifier: "WhatsAppFlowId"
|
|
582
|
+
})).pipe(Schema.brand("WhatsAppFlowId")))();
|
|
583
|
+
const WhatsAppFlowVersionId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^wafver_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
584
|
+
expected: "a string matching the RegExp ^wafver_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
585
|
+
identifier: "WhatsAppFlowVersionId"
|
|
586
|
+
})).pipe(Schema.brand("WhatsAppFlowVersionId")))();
|
|
587
|
+
const WhatsAppStoredLocation = /* @__PURE__ */ (() => Schema.Struct({
|
|
588
|
+
latitude: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
589
|
+
longitude: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
590
|
+
name: Schema.optionalKey(Schema.String),
|
|
591
|
+
address: Schema.optionalKey(Schema.String),
|
|
592
|
+
url: Schema.optionalKey(Schema.String)
|
|
593
|
+
}).annotate({ identifier: "WhatsAppStoredLocation" }))();
|
|
594
|
+
const WhatsAppStoredContactCard = /* @__PURE__ */ (() => Schema.Struct({
|
|
595
|
+
name: Schema.optionalKey(Schema.Struct({
|
|
596
|
+
formattedName: Schema.optionalKey(Schema.String),
|
|
597
|
+
firstName: Schema.optionalKey(Schema.String),
|
|
598
|
+
lastName: Schema.optionalKey(Schema.String),
|
|
599
|
+
middleName: Schema.optionalKey(Schema.String),
|
|
600
|
+
prefix: Schema.optionalKey(Schema.String),
|
|
601
|
+
suffix: Schema.optionalKey(Schema.String)
|
|
602
|
+
})),
|
|
603
|
+
phones: Schema.optionalKey(Schema.Array(Schema.Struct({
|
|
604
|
+
phone: Schema.optionalKey(Schema.String),
|
|
605
|
+
type: Schema.optionalKey(Schema.String),
|
|
606
|
+
waId: Schema.optionalKey(Schema.String)
|
|
607
|
+
}))),
|
|
608
|
+
emails: Schema.optionalKey(Schema.Array(Schema.Struct({
|
|
609
|
+
email: Schema.optionalKey(Schema.String),
|
|
610
|
+
type: Schema.optionalKey(Schema.String)
|
|
611
|
+
}))),
|
|
612
|
+
urls: Schema.optionalKey(Schema.Array(Schema.Struct({
|
|
613
|
+
url: Schema.optionalKey(Schema.String),
|
|
614
|
+
type: Schema.optionalKey(Schema.String)
|
|
615
|
+
}))),
|
|
616
|
+
org: Schema.optionalKey(Schema.Struct({
|
|
617
|
+
company: Schema.optionalKey(Schema.String),
|
|
618
|
+
department: Schema.optionalKey(Schema.String),
|
|
619
|
+
title: Schema.optionalKey(Schema.String)
|
|
620
|
+
})),
|
|
621
|
+
addresses: Schema.optionalKey(Schema.Array(Schema.Struct({
|
|
622
|
+
street: Schema.optionalKey(Schema.String),
|
|
623
|
+
city: Schema.optionalKey(Schema.String),
|
|
624
|
+
state: Schema.optionalKey(Schema.String),
|
|
625
|
+
zip: Schema.optionalKey(Schema.String),
|
|
626
|
+
country: Schema.optionalKey(Schema.String),
|
|
627
|
+
countryCode: Schema.optionalKey(Schema.String),
|
|
628
|
+
type: Schema.optionalKey(Schema.String)
|
|
629
|
+
}))),
|
|
630
|
+
birthday: Schema.optionalKey(Schema.String)
|
|
631
|
+
}).annotate({ identifier: "WhatsAppStoredContactCard" }))();
|
|
632
|
+
const WhatsAppReceivedReply = /* @__PURE__ */ (() => Schema.Struct({
|
|
633
|
+
type: Schema.Union([
|
|
634
|
+
Schema.Literal("button"),
|
|
635
|
+
Schema.Literal("list"),
|
|
636
|
+
Schema.Literal("template_button")
|
|
637
|
+
]),
|
|
638
|
+
id: Schema.String,
|
|
639
|
+
title: Schema.String,
|
|
640
|
+
description: Schema.optionalKey(Schema.String)
|
|
641
|
+
}).annotate({ identifier: "WhatsAppReceivedReply" }))();
|
|
642
|
+
const WhatsAppReceivedFlowResponse = /* @__PURE__ */ (() => Schema.Struct({
|
|
643
|
+
flowToken: Schema.Union([Schema.String, Schema.Null]),
|
|
644
|
+
submissionHandler: Schema.optionalKey(Schema.Literal("app")),
|
|
645
|
+
response: Schema.Record(Schema.String, JsonValue),
|
|
646
|
+
body: Schema.optionalKey(Schema.String)
|
|
647
|
+
}).annotate({ identifier: "WhatsAppReceivedFlowResponse" }))();
|
|
648
|
+
const WhatsAppStructuredContent = /* @__PURE__ */ (() => Schema.Struct({
|
|
649
|
+
type: Schema.String,
|
|
650
|
+
data: Schema.Record(Schema.String, JsonValue)
|
|
651
|
+
}).annotate({ identifier: "WhatsAppStructuredContent" }))();
|
|
528
652
|
const MailboxChannel = /* @__PURE__ */ (() => Schema.Union([
|
|
529
653
|
Schema.Literal("sms"),
|
|
530
654
|
Schema.Literal("whatsapp"),
|
|
@@ -661,6 +785,10 @@ const EmailSender = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({
|
|
|
661
785
|
}), Schema.Null]).annotate({ identifier: "EmailSender" }))();
|
|
662
786
|
const WhatsAppTextContent = /* @__PURE__ */ (() => Schema.Struct({ text: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(4096).annotate({ expected: "a string with at most 4096 code points" })).check(Schema.isMaxLength(4096).annotate({ expected: "a value with a length of at most 4096" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })) }).annotate({ identifier: "WhatsAppTextContent" }))();
|
|
663
787
|
const WhatsAppTemplateData = /* @__PURE__ */ (() => Schema.Record(Schema.String, JsonValue).annotate({ identifier: "WhatsAppTemplateData" }))();
|
|
788
|
+
const JsonObject_1 = /* @__PURE__ */ (() => Schema.Record(Schema.String, JsonValue).annotate({
|
|
789
|
+
description: "Initial screen data for a navigate Flow button.",
|
|
790
|
+
identifier: "JsonObject_1"
|
|
791
|
+
}))();
|
|
664
792
|
const WhatsAppImageLink = /* @__PURE__ */ (() => Schema.Struct({
|
|
665
793
|
type: Schema.Literal("image"),
|
|
666
794
|
caption: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
@@ -685,36 +813,6 @@ const WhatsAppStickerLink = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
685
813
|
type: Schema.Literal("sticker"),
|
|
686
814
|
url: Schema.String
|
|
687
815
|
}).annotate({ identifier: "WhatsAppStickerLink" }))();
|
|
688
|
-
const WhatsAppTextHeader = /* @__PURE__ */ (() => Schema.Struct({
|
|
689
|
-
type: Schema.Literal("text"),
|
|
690
|
-
text: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(60).annotate({ expected: "a string with at most 60 code points" })).check(Schema.isMaxLength(60).annotate({ expected: "a value with a length of at most 60" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))
|
|
691
|
-
}).annotate({ identifier: "WhatsAppTextHeader" }))();
|
|
692
|
-
const WhatsAppImageHeaderLink = /* @__PURE__ */ (() => Schema.Struct({
|
|
693
|
-
type: Schema.Literal("image"),
|
|
694
|
-
url: Schema.String
|
|
695
|
-
}).annotate({ identifier: "WhatsAppImageHeaderLink" }))();
|
|
696
|
-
const WhatsAppVideoHeaderLink = /* @__PURE__ */ (() => Schema.Struct({
|
|
697
|
-
type: Schema.Literal("video"),
|
|
698
|
-
url: Schema.String
|
|
699
|
-
}).annotate({ identifier: "WhatsAppVideoHeaderLink" }))();
|
|
700
|
-
const WhatsAppDocumentHeaderLink = /* @__PURE__ */ (() => Schema.Struct({
|
|
701
|
-
type: Schema.Literal("document"),
|
|
702
|
-
filename: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
703
|
-
url: Schema.String
|
|
704
|
-
}).annotate({ identifier: "WhatsAppDocumentHeaderLink" }))();
|
|
705
|
-
const WhatsAppReplyButton = /* @__PURE__ */ (() => Schema.Struct({
|
|
706
|
-
id: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
707
|
-
title: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(20).annotate({ expected: "a string with at most 20 code points" })).check(Schema.isMaxLength(20).annotate({ expected: "a value with a length of at most 20" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))
|
|
708
|
-
}).annotate({ identifier: "WhatsAppReplyButton" }))();
|
|
709
|
-
const WhatsAppListRow = /* @__PURE__ */ (() => Schema.Struct({
|
|
710
|
-
id: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
711
|
-
title: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(24).annotate({ expected: "a string with at most 24 code points" })).check(Schema.isMaxLength(24).annotate({ expected: "a value with a length of at most 24" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
712
|
-
description: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(72).annotate({ expected: "a string with at most 72 code points" })).check(Schema.isMaxLength(72).annotate({ expected: "a value with a length of at most 72" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })))
|
|
713
|
-
}).annotate({ identifier: "WhatsAppListRow" }))();
|
|
714
|
-
const WhatsAppFlowId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^waflow_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
715
|
-
expected: "a string matching the RegExp ^waflow_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
716
|
-
identifier: "WhatsAppFlowId"
|
|
717
|
-
})).pipe(Schema.brand("WhatsAppFlowId")))();
|
|
718
816
|
const WhatsAppLocation = /* @__PURE__ */ (() => Schema.Struct({
|
|
719
817
|
latitude: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })).check(Schema.isGreaterThanOrEqualTo(-90).annotate({ expected: "a value greater than or equal to -90" })).check(Schema.isLessThanOrEqualTo(90).annotate({ expected: "a value less than or equal to 90" })),
|
|
720
818
|
longitude: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })).check(Schema.isGreaterThanOrEqualTo(-180).annotate({ expected: "a value greater than or equal to -180" })).check(Schema.isLessThanOrEqualTo(180).annotate({ expected: "a value less than or equal to 180" })),
|
|
@@ -759,10 +857,6 @@ const WhatsAppContactCard = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
759
857
|
}))),
|
|
760
858
|
birthday: Schema.optionalKey(Schema.String)
|
|
761
859
|
}).annotate({ identifier: "WhatsAppContactCard" }))();
|
|
762
|
-
const WhatsAppFlowVersionId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^wafver_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
763
|
-
expected: "a string matching the RegExp ^wafver_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
764
|
-
identifier: "WhatsAppFlowVersionId"
|
|
765
|
-
})).pipe(Schema.brand("WhatsAppFlowVersionId")))();
|
|
766
860
|
const MessageDeliveryId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^mdel_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
767
861
|
expected: "a string matching the RegExp ^mdel_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
768
862
|
identifier: "MessageDeliveryId"
|
|
@@ -865,7 +959,10 @@ const ContactConsent = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
865
959
|
capturedAt: Schema.String,
|
|
866
960
|
proof: Schema.Union([JsonObject, Schema.Null])
|
|
867
961
|
}).annotate({ identifier: "ContactConsent" }))();
|
|
868
|
-
const JourneyWebhookConfig = /* @__PURE__ */ (() => Schema.Struct({
|
|
962
|
+
const JourneyWebhookConfig = /* @__PURE__ */ (() => Schema.Struct({
|
|
963
|
+
data: Schema.optionalKey(JsonObject),
|
|
964
|
+
eventBindings: Schema.optionalKey(Schema.Record(Schema.String, Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isPattern(new globalThis.RegExp("^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$" }))).check(Schema.isPropertyNames(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))).annotate({ expected: "an object with property names matching the schema" })))
|
|
965
|
+
}).annotate({ identifier: "JourneyWebhookConfig" }))();
|
|
869
966
|
const AccountLinks = /* @__PURE__ */ (() => Schema.Record(Schema.String, IntegrationAccountId).annotate({ identifier: "AccountLinks" }))();
|
|
870
967
|
const ContactEvent = /* @__PURE__ */ (() => Schema.Struct({
|
|
871
968
|
id: Schema.String,
|
|
@@ -880,17 +977,26 @@ const ContactEventReference = /* @__PURE__ */ (() => Schema.Union([
|
|
|
880
977
|
Schema.Struct({
|
|
881
978
|
id: ContactId,
|
|
882
979
|
externalId: Schema.optionalKey(Schema.Never),
|
|
883
|
-
email: Schema.optionalKey(Schema.Never)
|
|
980
|
+
email: Schema.optionalKey(Schema.Never),
|
|
981
|
+
phone: Schema.optionalKey(Schema.Never)
|
|
884
982
|
}),
|
|
885
983
|
Schema.Struct({
|
|
886
984
|
externalId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
887
985
|
id: Schema.optionalKey(Schema.Never),
|
|
888
|
-
email: Schema.optionalKey(Schema.Never)
|
|
986
|
+
email: Schema.optionalKey(Schema.Never),
|
|
987
|
+
phone: Schema.optionalKey(Schema.Never)
|
|
889
988
|
}),
|
|
890
989
|
Schema.Struct({
|
|
891
990
|
email: Schema.String,
|
|
892
991
|
id: Schema.optionalKey(Schema.Never),
|
|
893
|
-
externalId: Schema.optionalKey(Schema.Never)
|
|
992
|
+
externalId: Schema.optionalKey(Schema.Never),
|
|
993
|
+
phone: Schema.optionalKey(Schema.Never)
|
|
994
|
+
}),
|
|
995
|
+
Schema.Struct({
|
|
996
|
+
phone: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^\\+[1-9]\\d{1,14}$", "u")).annotate({ expected: "a string matching the RegExp ^\\+[1-9]\\d{1,14}$" })),
|
|
997
|
+
id: Schema.optionalKey(Schema.Never),
|
|
998
|
+
externalId: Schema.optionalKey(Schema.Never),
|
|
999
|
+
email: Schema.optionalKey(Schema.Never)
|
|
894
1000
|
})
|
|
895
1001
|
]).annotate({ identifier: "ContactEventReference" }))();
|
|
896
1002
|
const EmailRecipient = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({ contactId: ContactId }), Schema.Struct({
|
|
@@ -1107,6 +1213,15 @@ const UpdateWebhookPayload = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1107
1213
|
headers: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, Schema.String), Schema.Null])),
|
|
1108
1214
|
status: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("active"), Schema.Literal("disabled")]), Schema.Null]))
|
|
1109
1215
|
}).annotate({ identifier: "UpdateWebhookPayload" }))();
|
|
1216
|
+
const WhatsAppStoredReaction = /* @__PURE__ */ (() => Schema.Struct({
|
|
1217
|
+
messageId: Schema.Union([MessageId, Schema.Null]),
|
|
1218
|
+
providerMessageId: Schema.String,
|
|
1219
|
+
emoji: Schema.Union([Schema.String, Schema.Null])
|
|
1220
|
+
}).annotate({ identifier: "WhatsAppStoredReaction" }))();
|
|
1221
|
+
const WhatsAppMessageReference = /* @__PURE__ */ (() => Schema.Struct({
|
|
1222
|
+
messageId: Schema.Union([MessageId, Schema.Null]),
|
|
1223
|
+
providerMessageId: Schema.String
|
|
1224
|
+
}).annotate({ identifier: "WhatsAppMessageReference" }))();
|
|
1110
1225
|
const CreateMailboxChatDraftPayload = /* @__PURE__ */ (() => Schema.Struct({
|
|
1111
1226
|
channel: Schema.Union([Schema.Literal("whatsapp"), Schema.Literal("sms")]),
|
|
1112
1227
|
to: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1130,6 +1245,58 @@ const EmailAttachment = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1130
1245
|
contentType: Schema.String,
|
|
1131
1246
|
size: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(26214400).annotate({ expected: "a value less than or equal to 26214400" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" }))
|
|
1132
1247
|
}).annotate({ identifier: "EmailAttachment" }))();
|
|
1248
|
+
const WhatsAppImageHeaderUpload = /* @__PURE__ */ (() => Schema.Struct({
|
|
1249
|
+
type: Schema.Literal("image"),
|
|
1250
|
+
mediaId: MediaId
|
|
1251
|
+
}).annotate({ identifier: "WhatsAppImageHeaderUpload" }))();
|
|
1252
|
+
const WhatsAppVideoHeaderUpload = /* @__PURE__ */ (() => Schema.Struct({
|
|
1253
|
+
type: Schema.Literal("video"),
|
|
1254
|
+
mediaId: MediaId
|
|
1255
|
+
}).annotate({ identifier: "WhatsAppVideoHeaderUpload" }))();
|
|
1256
|
+
const WhatsAppDocumentHeaderUpload = /* @__PURE__ */ (() => Schema.Struct({
|
|
1257
|
+
type: Schema.Literal("document"),
|
|
1258
|
+
filename: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1259
|
+
mediaId: MediaId
|
|
1260
|
+
}).annotate({ identifier: "WhatsAppDocumentHeaderUpload" }))();
|
|
1261
|
+
const WhatsAppStoredMedia = /* @__PURE__ */ (() => Schema.Union([
|
|
1262
|
+
Schema.Struct({
|
|
1263
|
+
type: Schema.Union([
|
|
1264
|
+
Schema.Literal("image"),
|
|
1265
|
+
Schema.Literal("video"),
|
|
1266
|
+
Schema.Literal("audio"),
|
|
1267
|
+
Schema.Literal("document"),
|
|
1268
|
+
Schema.Literal("sticker")
|
|
1269
|
+
]),
|
|
1270
|
+
url: Schema.String,
|
|
1271
|
+
caption: Schema.optionalKey(Schema.String),
|
|
1272
|
+
filename: Schema.optionalKey(Schema.String)
|
|
1273
|
+
}),
|
|
1274
|
+
Schema.Struct({
|
|
1275
|
+
type: Schema.Union([
|
|
1276
|
+
Schema.Literal("image"),
|
|
1277
|
+
Schema.Literal("video"),
|
|
1278
|
+
Schema.Literal("audio"),
|
|
1279
|
+
Schema.Literal("document"),
|
|
1280
|
+
Schema.Literal("sticker")
|
|
1281
|
+
]),
|
|
1282
|
+
mediaId: MediaId,
|
|
1283
|
+
caption: Schema.optionalKey(Schema.String),
|
|
1284
|
+
filename: Schema.optionalKey(Schema.String)
|
|
1285
|
+
}),
|
|
1286
|
+
Schema.Struct({
|
|
1287
|
+
type: Schema.Union([
|
|
1288
|
+
Schema.Literal("image"),
|
|
1289
|
+
Schema.Literal("video"),
|
|
1290
|
+
Schema.Literal("audio"),
|
|
1291
|
+
Schema.Literal("document"),
|
|
1292
|
+
Schema.Literal("sticker")
|
|
1293
|
+
]),
|
|
1294
|
+
providerMediaId: Schema.String,
|
|
1295
|
+
mimeType: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1296
|
+
caption: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1297
|
+
filename: Schema.optionalKey(Schema.String)
|
|
1298
|
+
})
|
|
1299
|
+
]).annotate({ identifier: "WhatsAppStoredMedia" }))();
|
|
1133
1300
|
const WhatsAppImageUpload = /* @__PURE__ */ (() => Schema.Struct({
|
|
1134
1301
|
type: Schema.Literal("image"),
|
|
1135
1302
|
caption: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
@@ -1154,19 +1321,6 @@ const WhatsAppStickerUpload = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1154
1321
|
type: Schema.Literal("sticker"),
|
|
1155
1322
|
mediaId: MediaId
|
|
1156
1323
|
}).annotate({ identifier: "WhatsAppStickerUpload" }))();
|
|
1157
|
-
const WhatsAppImageHeaderUpload = /* @__PURE__ */ (() => Schema.Struct({
|
|
1158
|
-
type: Schema.Literal("image"),
|
|
1159
|
-
mediaId: MediaId
|
|
1160
|
-
}).annotate({ identifier: "WhatsAppImageHeaderUpload" }))();
|
|
1161
|
-
const WhatsAppVideoHeaderUpload = /* @__PURE__ */ (() => Schema.Struct({
|
|
1162
|
-
type: Schema.Literal("video"),
|
|
1163
|
-
mediaId: MediaId
|
|
1164
|
-
}).annotate({ identifier: "WhatsAppVideoHeaderUpload" }))();
|
|
1165
|
-
const WhatsAppDocumentHeaderUpload = /* @__PURE__ */ (() => Schema.Struct({
|
|
1166
|
-
type: Schema.Literal("document"),
|
|
1167
|
-
filename: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1168
|
-
mediaId: MediaId
|
|
1169
|
-
}).annotate({ identifier: "WhatsAppDocumentHeaderUpload" }))();
|
|
1170
1324
|
const SkippedRecipient = /* @__PURE__ */ (() => Schema.Struct({
|
|
1171
1325
|
address: Schema.String,
|
|
1172
1326
|
reason: Schema.Union([
|
|
@@ -1266,7 +1420,8 @@ const JourneySendEmailConfig = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1266
1420
|
template: Schema.Union([TemplateId, Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" }))]),
|
|
1267
1421
|
publicationId: Schema.optionalKey(TemplatePublicationId),
|
|
1268
1422
|
senderId: Schema.optionalKey(EmailSenderId),
|
|
1269
|
-
templateData: Schema.optionalKey(JsonObject)
|
|
1423
|
+
templateData: Schema.optionalKey(JsonObject),
|
|
1424
|
+
eventBindings: Schema.optionalKey(Schema.Record(Schema.String, Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isPattern(new globalThis.RegExp("^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$" }))).check(Schema.isPropertyNames(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))).annotate({ expected: "an object with property names matching the schema" })))
|
|
1270
1425
|
}).annotate({ identifier: "JourneySendEmailConfig" }))();
|
|
1271
1426
|
const SendFeedback = /* @__PURE__ */ (() => Schema.Struct({
|
|
1272
1427
|
message: Schema.String.annotate({ description: "What happened and what you expected, in plain language (at most 4000 characters)." }).check(Schema.isMaxCodePoints(4e3).annotate({ expected: "a string with at most 4000 code points" })).check(Schema.isPattern(new globalThis.RegExp("\\S", "u")).annotate({ expected: "a string matching the RegExp \\S" })).check(Schema.isMaxLength(4e3).annotate({ expected: "a value with a length of at most 4000" })),
|
|
@@ -1316,6 +1471,36 @@ const JourneyComparison = /* @__PURE__ */ (() => Schema.Union([
|
|
|
1316
1471
|
JourneyStringComparison,
|
|
1317
1472
|
JourneyPresenceComparison
|
|
1318
1473
|
]).annotate({ identifier: "JourneyComparison" }))();
|
|
1474
|
+
const WhatsAppListSection = /* @__PURE__ */ (() => Schema.Struct({
|
|
1475
|
+
title: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(24).annotate({ expected: "a string with at most 24 code points" })).check(Schema.isMaxLength(24).annotate({ expected: "a value with a length of at most 24" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1476
|
+
rows: Schema.Array(WhatsAppListRow).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
|
|
1477
|
+
}).annotate({ identifier: "WhatsAppListSection" }))();
|
|
1478
|
+
const WhatsAppFlowMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
1479
|
+
type: Schema.Literal("flow"),
|
|
1480
|
+
header: Schema.optionalKey(WhatsAppTextHeader),
|
|
1481
|
+
body: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1482
|
+
footer: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(60).annotate({ expected: "a string with at most 60 code points" })).check(Schema.isMaxLength(60).annotate({ expected: "a value with a length of at most 60" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1483
|
+
flowId: WhatsAppFlowId,
|
|
1484
|
+
cta: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(30).annotate({ expected: "a string with at most 30 code points" })).check(Schema.isMaxLength(30).annotate({ expected: "a value with a length of at most 30" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1485
|
+
token: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1486
|
+
action: Schema.optionalKey(Schema.Union([Schema.Literal("navigate"), Schema.Literal("data_exchange")])),
|
|
1487
|
+
screen: Schema.optionalKey(Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z_]{1,100}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z_]{1,100}$" }))),
|
|
1488
|
+
data: Schema.optionalKey(Schema.Record(Schema.String, JsonValue))
|
|
1489
|
+
}).annotate({ identifier: "WhatsAppFlowMessage" }))();
|
|
1490
|
+
const WhatsAppStoredFlowMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
1491
|
+
type: Schema.Literal("flow"),
|
|
1492
|
+
header: Schema.optionalKey(WhatsAppTextHeader),
|
|
1493
|
+
body: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1494
|
+
footer: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(60).annotate({ expected: "a string with at most 60 code points" })).check(Schema.isMaxLength(60).annotate({ expected: "a value with a length of at most 60" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1495
|
+
flowId: WhatsAppFlowId,
|
|
1496
|
+
cta: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(30).annotate({ expected: "a string with at most 30 code points" })).check(Schema.isMaxLength(30).annotate({ expected: "a value with a length of at most 30" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1497
|
+
token: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1498
|
+
action: Schema.optionalKey(Schema.Union([Schema.Literal("navigate"), Schema.Literal("data_exchange")])),
|
|
1499
|
+
screen: Schema.optionalKey(Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z_]{1,100}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z_]{1,100}$" }))),
|
|
1500
|
+
data: Schema.optionalKey(Schema.Record(Schema.String, JsonValue)),
|
|
1501
|
+
flowVersionId: WhatsAppFlowVersionId,
|
|
1502
|
+
providerFlowId: Schema.String
|
|
1503
|
+
}).annotate({ identifier: "WhatsAppStoredFlowMessage" }))();
|
|
1319
1504
|
const CreateMailboxEndpointPayload = /* @__PURE__ */ (() => Schema.Struct({
|
|
1320
1505
|
channel: MailboxChannel,
|
|
1321
1506
|
address: Schema.String,
|
|
@@ -1386,29 +1571,15 @@ const MailboxSendOutcome = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1386
1571
|
const WhatsAppTemplateIdContent = /* @__PURE__ */ (() => Schema.Struct({
|
|
1387
1572
|
templateId: TemplateId,
|
|
1388
1573
|
templateData: Schema.optionalKey(WhatsAppTemplateData),
|
|
1389
|
-
flowToken: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })))
|
|
1574
|
+
flowToken: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1575
|
+
flowActionData: Schema.optionalKey(JsonObject_1)
|
|
1390
1576
|
}).annotate({ identifier: "WhatsAppTemplateIdContent" }))();
|
|
1391
1577
|
const WhatsAppTemplateSlugContent = /* @__PURE__ */ (() => Schema.Struct({
|
|
1392
1578
|
templateSlug: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
1393
1579
|
templateData: Schema.optionalKey(WhatsAppTemplateData),
|
|
1394
|
-
flowToken: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })))
|
|
1580
|
+
flowToken: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1581
|
+
flowActionData: Schema.optionalKey(JsonObject_1)
|
|
1395
1582
|
}).annotate({ identifier: "WhatsAppTemplateSlugContent" }))();
|
|
1396
|
-
const WhatsAppListSection = /* @__PURE__ */ (() => Schema.Struct({
|
|
1397
|
-
title: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(24).annotate({ expected: "a string with at most 24 code points" })).check(Schema.isMaxLength(24).annotate({ expected: "a value with a length of at most 24" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1398
|
-
rows: Schema.Array(WhatsAppListRow).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
|
|
1399
|
-
}).annotate({ identifier: "WhatsAppListSection" }))();
|
|
1400
|
-
const WhatsAppFlowMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
1401
|
-
type: Schema.Literal("flow"),
|
|
1402
|
-
header: Schema.optionalKey(WhatsAppTextHeader),
|
|
1403
|
-
body: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1404
|
-
footer: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(60).annotate({ expected: "a string with at most 60 code points" })).check(Schema.isMaxLength(60).annotate({ expected: "a value with a length of at most 60" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1405
|
-
flowId: WhatsAppFlowId,
|
|
1406
|
-
cta: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(30).annotate({ expected: "a string with at most 30 code points" })).check(Schema.isMaxLength(30).annotate({ expected: "a value with a length of at most 30" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1407
|
-
token: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1408
|
-
action: Schema.optionalKey(Schema.Union([Schema.Literal("navigate"), Schema.Literal("data_exchange")])),
|
|
1409
|
-
screen: Schema.optionalKey(Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z_]{1,100}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z_]{1,100}$" }))),
|
|
1410
|
-
data: Schema.optionalKey(Schema.Record(Schema.String, JsonValue))
|
|
1411
|
-
}).annotate({ identifier: "WhatsAppFlowMessage" }))();
|
|
1412
1583
|
const WhatsAppLocationContent = /* @__PURE__ */ (() => Schema.Struct({ location: WhatsAppLocation }).annotate({ identifier: "WhatsAppLocationContent" }))();
|
|
1413
1584
|
const WhatsAppContactsContent = /* @__PURE__ */ (() => Schema.Struct({ contacts: Schema.Array(WhatsAppContactCard).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(257).annotate({ expected: "a value with a length of at most 257" })) }).annotate({ identifier: "WhatsAppContactsContent" }))();
|
|
1414
1585
|
const Operation = /* @__PURE__ */ (() => Schema.Struct({
|
|
@@ -1614,14 +1785,14 @@ const ReplyMailboxEmailPayload = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1614
1785
|
html: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1615
1786
|
attachments: Schema.optionalKey(Schema.Union([Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" })), Schema.Null]))
|
|
1616
1787
|
}).annotate({ identifier: "ReplyMailboxEmailPayload" }))();
|
|
1788
|
+
const WhatsAppImageHeader = /* @__PURE__ */ (() => Schema.Union([WhatsAppImageHeaderLink, WhatsAppImageHeaderUpload]).annotate({ identifier: "WhatsAppImageHeader" }))();
|
|
1789
|
+
const WhatsAppVideoHeader = /* @__PURE__ */ (() => Schema.Union([WhatsAppVideoHeaderLink, WhatsAppVideoHeaderUpload]).annotate({ identifier: "WhatsAppVideoHeader" }))();
|
|
1790
|
+
const WhatsAppDocumentHeader = /* @__PURE__ */ (() => Schema.Union([WhatsAppDocumentHeaderLink, WhatsAppDocumentHeaderUpload]).annotate({ identifier: "WhatsAppDocumentHeader" }))();
|
|
1617
1791
|
const WhatsAppImage = /* @__PURE__ */ (() => Schema.Union([WhatsAppImageLink, WhatsAppImageUpload]).annotate({ identifier: "WhatsAppImage" }))();
|
|
1618
1792
|
const WhatsAppVideo = /* @__PURE__ */ (() => Schema.Union([WhatsAppVideoLink, WhatsAppVideoUpload]).annotate({ identifier: "WhatsAppVideo" }))();
|
|
1619
1793
|
const WhatsAppAudio = /* @__PURE__ */ (() => Schema.Union([WhatsAppAudioLink, WhatsAppAudioUpload]).annotate({ identifier: "WhatsAppAudio" }))();
|
|
1620
1794
|
const WhatsAppDocument = /* @__PURE__ */ (() => Schema.Union([WhatsAppDocumentLink, WhatsAppDocumentUpload]).annotate({ identifier: "WhatsAppDocument" }))();
|
|
1621
1795
|
const WhatsAppSticker = /* @__PURE__ */ (() => Schema.Union([WhatsAppStickerLink, WhatsAppStickerUpload]).annotate({ identifier: "WhatsAppSticker" }))();
|
|
1622
|
-
const WhatsAppImageHeader = /* @__PURE__ */ (() => Schema.Union([WhatsAppImageHeaderLink, WhatsAppImageHeaderUpload]).annotate({ identifier: "WhatsAppImageHeader" }))();
|
|
1623
|
-
const WhatsAppVideoHeader = /* @__PURE__ */ (() => Schema.Union([WhatsAppVideoHeaderLink, WhatsAppVideoHeaderUpload]).annotate({ identifier: "WhatsAppVideoHeader" }))();
|
|
1624
|
-
const WhatsAppDocumentHeader = /* @__PURE__ */ (() => Schema.Union([WhatsAppDocumentHeaderLink, WhatsAppDocumentHeaderUpload]).annotate({ identifier: "WhatsAppDocumentHeader" }))();
|
|
1625
1796
|
const WhatsAppTemplateBindings = /* @__PURE__ */ (() => Schema.Record(Schema.String, WhatsAppTemplateBinding).annotate({ description: "Template parameters filled per recipient: parameter name to the contact field it reads." }).check(Schema.isPropertyNames(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))).annotate({
|
|
1626
1797
|
expected: "an object with property names matching the schema",
|
|
1627
1798
|
identifier: "WhatsAppTemplateBindings"
|
|
@@ -1638,6 +1809,10 @@ const JourneyTrigger = /* @__PURE__ */ (() => Schema.Union([
|
|
|
1638
1809
|
]).annotate({ identifier: "JourneyTrigger" }))();
|
|
1639
1810
|
const JourneyWaitForEventConfig = /* @__PURE__ */ (() => Schema.Struct({
|
|
1640
1811
|
eventName: JourneyEventName,
|
|
1812
|
+
correlation: Schema.optionalKey(Schema.Struct({
|
|
1813
|
+
eventProperty: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isPattern(new globalThis.RegExp("^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$" })),
|
|
1814
|
+
entryProperty: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isPattern(new globalThis.RegExp("^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$" }))
|
|
1815
|
+
})),
|
|
1641
1816
|
timeoutSeconds: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(7776e3).annotate({ expected: "a value less than or equal to 7776000" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" }))
|
|
1642
1817
|
}).annotate({ identifier: "JourneyWaitForEventConfig" }))();
|
|
1643
1818
|
const JourneyEventPredicate = /* @__PURE__ */ (() => Schema.Struct({
|
|
@@ -1676,6 +1851,19 @@ const JourneyCustomFieldPredicate = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1676
1851
|
key: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
1677
1852
|
comparison: JourneyComparison
|
|
1678
1853
|
}).annotate({ identifier: "JourneyCustomFieldPredicate" }))();
|
|
1854
|
+
const JourneyEntryEventPropertyPredicate = /* @__PURE__ */ (() => Schema.Struct({
|
|
1855
|
+
type: Schema.Literal("entry_event_property"),
|
|
1856
|
+
property: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isPattern(new globalThis.RegExp("^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$" })),
|
|
1857
|
+
comparison: JourneyComparison
|
|
1858
|
+
}).annotate({ identifier: "JourneyEntryEventPropertyPredicate" }))();
|
|
1859
|
+
const WhatsAppListMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
1860
|
+
type: Schema.Literal("list"),
|
|
1861
|
+
header: Schema.optionalKey(WhatsAppTextHeader),
|
|
1862
|
+
body: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(4096).annotate({ expected: "a string with at most 4096 code points" })).check(Schema.isMaxLength(4096).annotate({ expected: "a value with a length of at most 4096" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1863
|
+
footer: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(60).annotate({ expected: "a string with at most 60 code points" })).check(Schema.isMaxLength(60).annotate({ expected: "a value with a length of at most 60" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1864
|
+
button: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(20).annotate({ expected: "a string with at most 20 code points" })).check(Schema.isMaxLength(20).annotate({ expected: "a value with a length of at most 20" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1865
|
+
sections: Schema.Array(WhatsAppListSection).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" }))
|
|
1866
|
+
}).annotate({ identifier: "WhatsAppListMessage" }))();
|
|
1679
1867
|
const MailboxSendReceipt = /* @__PURE__ */ (() => Schema.Struct({
|
|
1680
1868
|
actionId: MailboxActionId,
|
|
1681
1869
|
draftId: Schema.Union([MailboxDraftId, Schema.Null]),
|
|
@@ -1713,14 +1901,6 @@ const MailboxSendReceipt = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1713
1901
|
createdAt: Schema.String,
|
|
1714
1902
|
updatedAt: Schema.String
|
|
1715
1903
|
}).annotate({ identifier: "MailboxSendReceipt" }))();
|
|
1716
|
-
const WhatsAppListMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
1717
|
-
type: Schema.Literal("list"),
|
|
1718
|
-
header: Schema.optionalKey(WhatsAppTextHeader),
|
|
1719
|
-
body: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(4096).annotate({ expected: "a string with at most 4096 code points" })).check(Schema.isMaxLength(4096).annotate({ expected: "a value with a length of at most 4096" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1720
|
-
footer: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(60).annotate({ expected: "a string with at most 60 code points" })).check(Schema.isMaxLength(60).annotate({ expected: "a value with a length of at most 60" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
|
|
1721
|
-
button: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(20).annotate({ expected: "a string with at most 20 code points" })).check(Schema.isMaxLength(20).annotate({ expected: "a value with a length of at most 20" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1722
|
-
sections: Schema.Array(WhatsAppListSection).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" }))
|
|
1723
|
-
}).annotate({ identifier: "WhatsAppListMessage" }))();
|
|
1724
1904
|
const OperationAccepted = /* @__PURE__ */ (() => Schema.Struct({
|
|
1725
1905
|
operation: Operation,
|
|
1726
1906
|
links: Schema.Struct({
|
|
@@ -1801,6 +1981,12 @@ const EmailContent = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1801
1981
|
footer: Schema.optionalKey(EmailFooterOverride),
|
|
1802
1982
|
headers: Schema.optionalKey(Schema.Union([EmailCustomHeaders, Schema.Null]))
|
|
1803
1983
|
}).annotate({ identifier: "EmailContent" }))();
|
|
1984
|
+
const WhatsAppInteractiveHeader = /* @__PURE__ */ (() => Schema.Union([
|
|
1985
|
+
WhatsAppTextHeader,
|
|
1986
|
+
WhatsAppImageHeader,
|
|
1987
|
+
WhatsAppVideoHeader,
|
|
1988
|
+
WhatsAppDocumentHeader
|
|
1989
|
+
]).annotate({ identifier: "WhatsAppInteractiveHeader" }))();
|
|
1804
1990
|
const WhatsAppOutboundMedia = /* @__PURE__ */ (() => Schema.Union([
|
|
1805
1991
|
WhatsAppImage,
|
|
1806
1992
|
WhatsAppVideo,
|
|
@@ -1808,12 +1994,6 @@ const WhatsAppOutboundMedia = /* @__PURE__ */ (() => Schema.Union([
|
|
|
1808
1994
|
WhatsAppDocument,
|
|
1809
1995
|
WhatsAppSticker
|
|
1810
1996
|
]).annotate({ identifier: "WhatsAppOutboundMedia" }))();
|
|
1811
|
-
const WhatsAppInteractiveHeader = /* @__PURE__ */ (() => Schema.Union([
|
|
1812
|
-
WhatsAppTextHeader,
|
|
1813
|
-
WhatsAppImageHeader,
|
|
1814
|
-
WhatsAppVideoHeader,
|
|
1815
|
-
WhatsAppDocumentHeader
|
|
1816
|
-
]).annotate({ identifier: "WhatsAppInteractiveHeader" }))();
|
|
1817
1997
|
const WhatsAppTemplateDispatch = /* @__PURE__ */ (() => Schema.Struct({
|
|
1818
1998
|
template: Schema.Union([TemplateId, Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" }))]),
|
|
1819
1999
|
templateData: Schema.optionalKey(WhatsAppTemplateDispatchData),
|
|
@@ -1829,7 +2009,8 @@ const JourneySendWhatsAppConfig = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1829
2009
|
registrationId: TemplateRegistrationId,
|
|
1830
2010
|
templateChannelVariantId: TemplateChannelVariantId
|
|
1831
2011
|
})),
|
|
1832
|
-
eventBindings: Schema.optionalKey(Schema.Record(Schema.String, Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isPattern(new globalThis.RegExp("^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$" }))).check(Schema.isPropertyNames(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))).annotate({ expected: "an object with property names matching the schema" })))
|
|
2012
|
+
eventBindings: Schema.optionalKey(Schema.Record(Schema.String, Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isPattern(new globalThis.RegExp("^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$" }))).check(Schema.isPropertyNames(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))).annotate({ expected: "an object with property names matching the schema" }))),
|
|
2013
|
+
flowActionDataBinding: Schema.optionalKey(Schema.String.annotate({ description: "Entry-event property path to the JSON object that initializes a navigate Flow button." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isPattern(new globalThis.RegExp("^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$" })))
|
|
1833
2014
|
}).annotate({ identifier: "JourneySendWhatsAppConfig" }))();
|
|
1834
2015
|
const JourneyWaitForEventNode = /* @__PURE__ */ (() => Schema.Struct({
|
|
1835
2016
|
type: Schema.Literal("wait_for_event"),
|
|
@@ -1840,7 +2021,8 @@ const JourneyPredicate = /* @__PURE__ */ (() => Schema.Union([
|
|
|
1840
2021
|
JourneyTagPredicate,
|
|
1841
2022
|
JourneyPropertyPredicate,
|
|
1842
2023
|
JourneyCustomFieldPredicate,
|
|
1843
|
-
JourneyEventPredicate
|
|
2024
|
+
JourneyEventPredicate,
|
|
2025
|
+
JourneyEntryEventPropertyPredicate
|
|
1844
2026
|
]).annotate({ identifier: "JourneyPredicate" }))();
|
|
1845
2027
|
var MailboxSendRefusedError = class extends Schema.TaggedError()("MailboxSendRefusedError", Schema.Struct({
|
|
1846
2028
|
message: Schema.String,
|
|
@@ -1879,7 +2061,6 @@ const EmailSendMessagePayload = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1879
2061
|
from: Schema.optionalKey(EmailSender),
|
|
1880
2062
|
email: EmailContent
|
|
1881
2063
|
}).annotate({ identifier: "EmailSendMessagePayload" }))();
|
|
1882
|
-
const WhatsAppMediaContent = /* @__PURE__ */ (() => Schema.Struct({ media: WhatsAppOutboundMedia }).annotate({ identifier: "WhatsAppMediaContent" }))();
|
|
1883
2064
|
const WhatsAppButtonsMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
1884
2065
|
type: Schema.Literal("buttons"),
|
|
1885
2066
|
header: Schema.optionalKey(WhatsAppInteractiveHeader),
|
|
@@ -1895,6 +2076,7 @@ const WhatsAppCtaUrlMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1895
2076
|
displayText: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(20).annotate({ expected: "a string with at most 20 code points" })).check(Schema.isMaxLength(20).annotate({ expected: "a value with a length of at most 20" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" })),
|
|
1896
2077
|
url: Schema.String
|
|
1897
2078
|
}).annotate({ identifier: "WhatsAppCtaUrlMessage" }))();
|
|
2079
|
+
const WhatsAppMediaContent = /* @__PURE__ */ (() => Schema.Struct({ media: WhatsAppOutboundMedia }).annotate({ identifier: "WhatsAppMediaContent" }))();
|
|
1898
2080
|
const WhatsAppCampaignContentInput = /* @__PURE__ */ (() => Schema.Struct({
|
|
1899
2081
|
channel: Schema.Literal("whatsapp"),
|
|
1900
2082
|
whatsapp: WhatsAppTemplateDispatch,
|
|
@@ -1942,6 +2124,12 @@ const AgentModuleManifest = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1942
2124
|
events: Schema.Array(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z][A-Za-z0-9_.-]*$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z][A-Za-z0-9_.-]*$" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" }))).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })),
|
|
1943
2125
|
schedules: Schema.Array(Schema.String.check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isPattern(new globalThis.RegExp("^\\S+\\s+\\S+\\s+\\S+\\s+\\S+\\s+\\S+$", "u")).annotate({ expected: "a string matching the RegExp ^\\S+\\s+\\S+\\s+\\S+\\s+\\S+\\s+\\S+$" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" }))).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" }))
|
|
1944
2126
|
}).annotate({ identifier: "AgentModuleManifest" }))();
|
|
2127
|
+
const WhatsAppStoredInteractive = /* @__PURE__ */ (() => Schema.Union([
|
|
2128
|
+
WhatsAppButtonsMessage,
|
|
2129
|
+
WhatsAppListMessage,
|
|
2130
|
+
WhatsAppCtaUrlMessage,
|
|
2131
|
+
WhatsAppStoredFlowMessage
|
|
2132
|
+
]).annotate({ identifier: "WhatsAppStoredInteractive" }))();
|
|
1945
2133
|
const WhatsAppInteractive = /* @__PURE__ */ (() => Schema.Union([
|
|
1946
2134
|
WhatsAppButtonsMessage,
|
|
1947
2135
|
WhatsAppListMessage,
|
|
@@ -1961,12 +2149,98 @@ const AgentModuleBundle = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1961
2149
|
source: Schema.String,
|
|
1962
2150
|
manifest: AgentModuleManifest
|
|
1963
2151
|
}).annotate({ identifier: "AgentModuleBundle" }))();
|
|
2152
|
+
const WhatsAppMessageContent = /* @__PURE__ */ (() => Schema.Struct({
|
|
2153
|
+
appHandlesFlowSubmission: Schema.optionalKey(Schema.Literal(true)),
|
|
2154
|
+
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2155
|
+
template: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
2156
|
+
name: Schema.String,
|
|
2157
|
+
language: Schema.String,
|
|
2158
|
+
components: Schema.Array(Schema.Struct({
|
|
2159
|
+
type: Schema.Union([
|
|
2160
|
+
Schema.Literal("header"),
|
|
2161
|
+
Schema.Literal("body"),
|
|
2162
|
+
Schema.Literal("footer"),
|
|
2163
|
+
Schema.Literal("button")
|
|
2164
|
+
]),
|
|
2165
|
+
sub_type: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
2166
|
+
Schema.Literal("url"),
|
|
2167
|
+
Schema.Literal("quick_reply"),
|
|
2168
|
+
Schema.Literal("copy_code"),
|
|
2169
|
+
Schema.Literal("flow")
|
|
2170
|
+
]), Schema.Null])),
|
|
2171
|
+
index: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2172
|
+
parameters: Schema.Array(Schema.Struct({
|
|
2173
|
+
type: Schema.Union([
|
|
2174
|
+
Schema.Literal("text"),
|
|
2175
|
+
Schema.Literal("currency"),
|
|
2176
|
+
Schema.Literal("date_time"),
|
|
2177
|
+
Schema.Literal("image"),
|
|
2178
|
+
Schema.Literal("document"),
|
|
2179
|
+
Schema.Literal("video"),
|
|
2180
|
+
Schema.Literal("coupon_code"),
|
|
2181
|
+
Schema.Literal("action")
|
|
2182
|
+
]),
|
|
2183
|
+
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2184
|
+
currency: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
2185
|
+
fallback_value: Schema.String,
|
|
2186
|
+
code: Schema.String,
|
|
2187
|
+
amount_1000: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" }))
|
|
2188
|
+
}), Schema.Null])),
|
|
2189
|
+
date_time: Schema.optionalKey(Schema.Union([Schema.Struct({ fallback_value: Schema.String }), Schema.Null])),
|
|
2190
|
+
image: Schema.optionalKey(Schema.Union([Schema.Struct({ link: Schema.String }), Schema.Null])),
|
|
2191
|
+
document: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
2192
|
+
link: Schema.String,
|
|
2193
|
+
filename: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
2194
|
+
}), Schema.Null])),
|
|
2195
|
+
video: Schema.optionalKey(Schema.Union([Schema.Struct({ link: Schema.String }), Schema.Null])),
|
|
2196
|
+
coupon_code: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2197
|
+
action: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
2198
|
+
flow_token: Schema.String,
|
|
2199
|
+
flow_action_data: Schema.optionalKey(JsonObject)
|
|
2200
|
+
}), Schema.Null]))
|
|
2201
|
+
}))
|
|
2202
|
+
}))
|
|
2203
|
+
}), Schema.Null])),
|
|
2204
|
+
interactive: Schema.optionalKey(WhatsAppStoredInteractive),
|
|
2205
|
+
media: Schema.optionalKey(Schema.Union([WhatsAppStoredMedia, Schema.Null])),
|
|
2206
|
+
reaction: Schema.optionalKey(WhatsAppStoredReaction),
|
|
2207
|
+
location: Schema.optionalKey(WhatsAppStoredLocation),
|
|
2208
|
+
contacts: Schema.optionalKey(Schema.Array(WhatsAppStoredContactCard)),
|
|
2209
|
+
reply: Schema.optionalKey(WhatsAppReceivedReply),
|
|
2210
|
+
flowResponse: Schema.optionalKey(WhatsAppReceivedFlowResponse),
|
|
2211
|
+
context: Schema.optionalKey(WhatsAppMessageReference)
|
|
2212
|
+
}).annotate({ identifier: "WhatsAppMessageContent" }))();
|
|
1964
2213
|
const WhatsAppInteractiveContent = /* @__PURE__ */ (() => Schema.Struct({ interactive: WhatsAppInteractive }).annotate({ identifier: "WhatsAppInteractiveContent" }))();
|
|
1965
2214
|
const JourneyBranchNode = /* @__PURE__ */ (() => Schema.Struct({
|
|
1966
2215
|
type: Schema.Literal("branch"),
|
|
1967
2216
|
config: JourneyEmptyConfig,
|
|
1968
2217
|
next: Schema.Array(JourneyBranchEdge).check(Schema.isMinLength(2).annotate({ expected: "a value with a length of at least 2" }))
|
|
1969
2218
|
}).annotate({ identifier: "JourneyBranchNode" }))();
|
|
2219
|
+
const MessageContent = /* @__PURE__ */ (() => Schema.Struct({
|
|
2220
|
+
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2221
|
+
html: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2222
|
+
markdown: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2223
|
+
sms: Schema.optionalKey(Schema.Union([SmsMessageContent, Schema.Null])),
|
|
2224
|
+
whatsapp: Schema.optionalKey(Schema.Union([WhatsAppMessageContent, Schema.Null])),
|
|
2225
|
+
email: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
2226
|
+
subject: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2227
|
+
html: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2228
|
+
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2229
|
+
headers: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, Schema.String), Schema.Null])),
|
|
2230
|
+
tracking: Schema.optionalKey(EmailTrackingOverrideV1),
|
|
2231
|
+
attachments: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Struct({
|
|
2232
|
+
filename: Schema.String,
|
|
2233
|
+
contentId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2234
|
+
isInline: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2235
|
+
content: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2236
|
+
mediaId: Schema.optionalKey(Schema.Union([MediaId, Schema.Null])),
|
|
2237
|
+
contentType: Schema.String,
|
|
2238
|
+
size: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" }))
|
|
2239
|
+
})), Schema.Null]))
|
|
2240
|
+
}), Schema.Null])),
|
|
2241
|
+
structured: Schema.optionalKey(Schema.Union([WhatsAppStructuredContent, Schema.Null])),
|
|
2242
|
+
metadata: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, JsonValue), Schema.Null]))
|
|
2243
|
+
}).annotate({ identifier: "MessageContent" }))();
|
|
1970
2244
|
const WhatsAppContent = /* @__PURE__ */ (() => Schema.Union([
|
|
1971
2245
|
WhatsAppTextContent,
|
|
1972
2246
|
WhatsAppTemplateIdContent,
|
|
@@ -2006,10 +2280,13 @@ const JourneyDefinition = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
2006
2280
|
nodes: Schema.Record(Schema.String, JourneyNode).check(Schema.isMinProperties(1).annotate({ expected: "a value with at least 1 entry" })).check(Schema.isMaxProperties(200).annotate({ expected: "a value with at most 200 entries" })),
|
|
2007
2281
|
goal: Schema.optionalKey(JourneyGoal),
|
|
2008
2282
|
reentry: Schema.optionalKey(Schema.Boolean),
|
|
2009
|
-
enrollment: Schema.optionalKey(Schema.Struct({
|
|
2283
|
+
enrollment: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
2010
2284
|
type: Schema.Literal("shopify_order"),
|
|
2011
2285
|
shop: ShopifyShop
|
|
2012
|
-
})
|
|
2286
|
+
}), Schema.Struct({
|
|
2287
|
+
type: Schema.Literal("event_property"),
|
|
2288
|
+
property: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isPattern(new globalThis.RegExp("^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$" }))
|
|
2289
|
+
})]))
|
|
2013
2290
|
}).annotate({ identifier: "JourneyDefinition" }))();
|
|
2014
2291
|
const __recursive_JsonValue = Schema.Union([
|
|
2015
2292
|
Schema.String,
|
|
@@ -2024,6 +2301,6 @@ const ApiKeySecurity = HttpApiSecurity.apiKey({
|
|
|
2024
2301
|
in: "header"
|
|
2025
2302
|
});
|
|
2026
2303
|
var ApiKeySecurityMiddleware = class extends HttpApiMiddleware.Service()("apiKey security", { security: { apiKey: ApiKeySecurity } }) {};
|
|
2027
|
-
export { AccountLinks, AccountStatus, AgentDefinition, AgentId, AgentIntegrationGrant, AgentModel, AgentModelChoice, AgentModuleBundle, AgentModuleManifest, AgentModuleTool, AgentName, AgentReasoning, AgentSetupJob, AgentToolScope, AnalyticsQueryError, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeyMailboxAccess, ApiKeyResourceAccess, ApiKeySecurity, ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, BrandAddress, BrandAddressRequiredError, BrandAssets, BrandFooter, BrandSocialLink, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignEmailInput, CampaignFooterRequiredError, CampaignFromInput, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, CatalogModelId, ClockTime, ConflictError, ContactConsent, ContactEvent, ContactEventReference, ContactGroupId, ContactId, ContactIdentity, ContactIdentityChannel, ContactIdentityId, ConversationId, CreateBrand, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CreateTemplatePayload, CreateWebhookPayload, CredentialsError, DeliveryUnavailableError, EmailAttachment, EmailAttachments, EmailBccRecipients, EmailCampaignContentInput, EmailCcRecipients, EmailChannelError, EmailContent, EmailCustomHeaders, EmailDomainId, EmailFooterOverride, EmailRecipient, EmailRecipients, EmailSendMessagePayload, EmailSender, EmailSenderId, EmailTrackingOverrideV1, ExtensionInstallationId, ExternalServiceError, FeedbackContext, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, IntegrationAccountId, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationStatus, IntegrationTool, InternalError, JourneyBranchEdge, JourneyBranchNode, JourneyComparison, JourneyCondition, JourneyContactCreatedTrigger, JourneyContactProperty, JourneyCustomEventName, JourneyCustomEventTrigger, JourneyCustomFieldPredicate, JourneyDefinition, JourneyEmptyConfig, JourneyEqualityComparison, JourneyEventName, JourneyEventPredicate, JourneyExitNode, JourneyGoal, JourneyGroupJoinedTrigger, JourneyId, JourneyName, JourneyNextEdge, JourneyNode, JourneyNodeId, JourneyNumericComparison, JourneyPredicate, JourneyPresenceComparison, JourneyPropertyPredicate, JourneySendEmailConfig, JourneySendEmailNode, JourneySendWhatsAppConfig, JourneyStatus, JourneyStringComparison, JourneyTagAddedTrigger, JourneyTagPredicate, JourneyTrigger, JourneyUpdateTagsConfig, JourneyUpdateTagsNode, JourneyWaitConfig, JourneyWaitEventEdge, JourneyWaitForEventConfig, JourneyWaitForEventNode, JourneyWaitNode, JourneyWebhookConfig, JourneyWebhookNode, JsonObject, JsonValue, KnowledgeSourceId, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageDeliveryId, MessageId, MessageMetadata, MessagePage, MessageSummary, MonthlySpendCapDollars, NamespaceId, NamespaceMetadata, NamespacePortalLinkMetadata, NamespaceResourceType, NewsletterId, OnboardingReviewRequiredError, Operation, OperationAccepted, OperationId, OperationResource, OperationResourceLink, OrganizationId, PaymentRequiredError, PolicyConfiguration, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicyRule, PolicyRuleMatch, PolicySubject, PolicyVersion, RateLimitedError, RecipeSetupReferences, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ReplyToAddresses, ResourceNotFoundError, SendFeedback, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SendsSeries, ServiceUnavailableError, ShareLinkUnavailable, ShopifyShop, SkippedRecipient, SlugTaken, SmsCampaignContentInput, SmsContent, SmsDispatchContent, SmsRecipient, SmsRecipients, SmsSendMessagePayload, SmsTemplateData, StoredEmailAttachments, StoredReplyToAddresses, SuccessResponse, TemplateChannelVariantId, TemplateData, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInUseError, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, TemplateSourceError, TemplateTrackingDefault, TestWebhookPayload, TimeZone, TopicContactByEmail, TopicContactById, TopicContactByPhone, TopicContactRef, TopicId, UnauthorizedError, UpdateBrand, UpdateTemplatePayload, UpdateWebhookPayload, UserId, ValidationError, WebhookEndpointId, Weekday, WhatsAppAudio, WhatsAppAudioLink, WhatsAppAudioUpload, WhatsAppBusinessAccountId, WhatsAppButtonsMessage, WhatsAppCampaignContentInput, WhatsAppChannelError, WhatsAppContactCard, WhatsAppContactsContent, WhatsAppContent, WhatsAppCtaUrlMessage, WhatsAppDocument, WhatsAppDocumentHeader, WhatsAppDocumentHeaderLink, WhatsAppDocumentHeaderUpload, WhatsAppDocumentLink, WhatsAppDocumentUpload, WhatsAppFlowId, WhatsAppFlowMessage, WhatsAppFlowVersionId, WhatsAppImage, WhatsAppImageHeader, WhatsAppImageHeaderLink, WhatsAppImageHeaderUpload, WhatsAppImageLink, WhatsAppImageUpload, WhatsAppInteractive, WhatsAppInteractiveContent, WhatsAppInteractiveHeader, WhatsAppJourneySendNode, WhatsAppListMessage, WhatsAppListRow, WhatsAppListSection, WhatsAppLocation, WhatsAppLocationContent, WhatsAppMediaContent, WhatsAppOutboundMedia, WhatsAppReaction, WhatsAppReactionContent, WhatsAppRecipient, WhatsAppRecipients, WhatsAppReplyButton, WhatsAppSendMessagePayload, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkMetadata, WhatsAppSetupLinkRedirectUrl, WhatsAppSetupLinkUnavailableError, WhatsAppSticker, WhatsAppStickerLink, WhatsAppStickerUpload, WhatsAppTemplateBinding, WhatsAppTemplateBindings, WhatsAppTemplateContactBinding, WhatsAppTemplateCustomFieldBinding, WhatsAppTemplateData, WhatsAppTemplateDispatch, WhatsAppTemplateDispatchData, WhatsAppTemplateIdContent, WhatsAppTemplateSlugContent, WhatsAppTextContent, WhatsAppTextHeader, WhatsAppVideo, WhatsAppVideoHeader, WhatsAppVideoHeaderLink, WhatsAppVideoHeaderUpload, WhatsAppVideoLink, WhatsAppVideoUpload, WorkingHours, WorkingHoursRange, AbsoluteInstant as __SamvaRuntimeAbsoluteInstant, NonEmptySensitiveString as __SamvaRuntimeNonEmptySensitiveString, SensitiveString as __SamvaRuntimeSensitiveString };
|
|
2304
|
+
export { AccountLinks, AccountStatus, AgentDefinition, AgentId, AgentIntegrationGrant, AgentModel, AgentModelChoice, AgentModuleBundle, AgentModuleManifest, AgentModuleTool, AgentName, AgentReasoning, AgentSetupJob, AgentToolScope, AnalyticsQueryError, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeyMailboxAccess, ApiKeyResourceAccess, ApiKeySecurity, ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, BrandAddress, BrandAddressRequiredError, BrandAssets, BrandFooter, BrandSocialLink, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignEmailInput, CampaignFooterRequiredError, CampaignFromInput, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, CatalogModelId, ClockTime, ConflictError, ContactConsent, ContactEvent, ContactEventReference, ContactGroupId, ContactId, ContactIdentity, ContactIdentityChannel, ContactIdentityId, ConversationId, CreateBrand, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CreateTemplatePayload, CreateWebhookPayload, CredentialsError, DeliveryErrorDetails, DeliveryUnavailableError, EmailAttachment, EmailAttachments, EmailBccRecipients, EmailCampaignContentInput, EmailCcRecipients, EmailChannelError, EmailContent, EmailCustomHeaders, EmailDomainId, EmailFooterOverride, EmailRecipient, EmailRecipients, EmailSendMessagePayload, EmailSender, EmailSenderId, EmailTrackingOverrideV1, ExtensionInstallationId, ExternalServiceError, FeedbackContext, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, IntegrationAccountId, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationStatus, IntegrationTool, InternalError, JourneyBranchEdge, JourneyBranchNode, JourneyComparison, JourneyCondition, JourneyContactCreatedTrigger, JourneyContactProperty, JourneyCustomEventName, JourneyCustomEventTrigger, JourneyCustomFieldPredicate, JourneyDefinition, JourneyEmptyConfig, JourneyEntryEventPropertyPredicate, JourneyEqualityComparison, JourneyEventName, JourneyEventPredicate, JourneyExitNode, JourneyGoal, JourneyGroupJoinedTrigger, JourneyId, JourneyName, JourneyNextEdge, JourneyNode, JourneyNodeId, JourneyNumericComparison, JourneyPredicate, JourneyPresenceComparison, JourneyPropertyPredicate, JourneySendEmailConfig, JourneySendEmailNode, JourneySendWhatsAppConfig, JourneyStatus, JourneyStringComparison, JourneyTagAddedTrigger, JourneyTagPredicate, JourneyTrigger, JourneyUpdateTagsConfig, JourneyUpdateTagsNode, JourneyWaitConfig, JourneyWaitEventEdge, JourneyWaitForEventConfig, JourneyWaitForEventNode, JourneyWaitNode, JourneyWebhookConfig, JourneyWebhookNode, JsonObject, JsonObject_1, JsonValue, KnowledgeSourceId, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageContent, MessageDeliveryId, MessageId, MessageMetadata, MessagePage, MessageSummary, MonthlySpendCapDollars, NamespaceId, NamespaceMetadata, NamespacePortalLinkMetadata, NamespaceResourceType, NewsletterId, OnboardingReviewRequiredError, Operation, OperationAccepted, OperationId, OperationResource, OperationResourceLink, OrganizationId, PaymentRequiredError, PolicyConfiguration, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicyRule, PolicyRuleMatch, PolicySubject, PolicyVersion, RateLimitedError, RecipeSetupReferences, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ReplyToAddresses, ResourceNotFoundError, SendFeedback, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SendsSeries, ServiceUnavailableError, ShareLinkUnavailable, ShopifyShop, SkippedRecipient, SlugTaken, SmsCampaignContentInput, SmsContent, SmsDispatchContent, SmsMessageContent, SmsRecipient, SmsRecipients, SmsSendMessagePayload, SmsTemplateData, StoredEmailAttachments, StoredReplyToAddresses, SubmissionClient, SuccessResponse, TemplateChannelVariantId, TemplateData, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInUseError, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, TemplateSourceError, TemplateTrackingDefault, TestWebhookPayload, TimeZone, TopicContactByEmail, TopicContactById, TopicContactByPhone, TopicContactRef, TopicId, UnauthorizedError, UpdateBrand, UpdateTemplatePayload, UpdateWebhookPayload, UserId, ValidationError, WebhookEndpointId, Weekday, WhatsAppAudio, WhatsAppAudioLink, WhatsAppAudioUpload, WhatsAppBusinessAccountId, WhatsAppButtonsMessage, WhatsAppCampaignContentInput, WhatsAppChannelError, WhatsAppContactCard, WhatsAppContactsContent, WhatsAppContent, WhatsAppCtaUrlMessage, WhatsAppDocument, WhatsAppDocumentHeader, WhatsAppDocumentHeaderLink, WhatsAppDocumentHeaderUpload, WhatsAppDocumentLink, WhatsAppDocumentUpload, WhatsAppFlowId, WhatsAppFlowMessage, WhatsAppFlowVersionId, WhatsAppImage, WhatsAppImageHeader, WhatsAppImageHeaderLink, WhatsAppImageHeaderUpload, WhatsAppImageLink, WhatsAppImageUpload, WhatsAppInteractive, WhatsAppInteractiveContent, WhatsAppInteractiveHeader, WhatsAppJourneySendNode, WhatsAppListMessage, WhatsAppListRow, WhatsAppListSection, WhatsAppLocation, WhatsAppLocationContent, WhatsAppMediaContent, WhatsAppMessageContent, WhatsAppMessageReference, WhatsAppOutboundMedia, WhatsAppReaction, WhatsAppReactionContent, WhatsAppReceivedFlowResponse, WhatsAppReceivedReply, WhatsAppRecipient, WhatsAppRecipients, WhatsAppReplyButton, WhatsAppSendMessagePayload, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkMetadata, WhatsAppSetupLinkRedirectUrl, WhatsAppSetupLinkUnavailableError, WhatsAppSticker, WhatsAppStickerLink, WhatsAppStickerUpload, WhatsAppStoredContactCard, WhatsAppStoredFlowMessage, WhatsAppStoredInteractive, WhatsAppStoredLocation, WhatsAppStoredMedia, WhatsAppStoredReaction, WhatsAppStructuredContent, WhatsAppTemplateBinding, WhatsAppTemplateBindings, WhatsAppTemplateContactBinding, WhatsAppTemplateCustomFieldBinding, WhatsAppTemplateData, WhatsAppTemplateDispatch, WhatsAppTemplateDispatchData, WhatsAppTemplateIdContent, WhatsAppTemplateSlugContent, WhatsAppTextContent, WhatsAppTextHeader, WhatsAppVideo, WhatsAppVideoHeader, WhatsAppVideoHeaderLink, WhatsAppVideoHeaderUpload, WhatsAppVideoLink, WhatsAppVideoUpload, WorkingHours, WorkingHoursRange, AbsoluteInstant as __SamvaRuntimeAbsoluteInstant, NonEmptySensitiveString as __SamvaRuntimeNonEmptySensitiveString, SensitiveString as __SamvaRuntimeSensitiveString };
|
|
2028
2305
|
|
|
2029
2306
|
//# sourceMappingURL=shared.js.map
|