@redonvn/zalo-ads-sdk 0.2.18 → 0.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -484,6 +484,341 @@ type ZaloInstantPageActive = 0 | 1;
484
484
  /**
485
485
  * Danh mục mã định danh các loại khối giao diện (Block Types) trong Instant Page Canvas (trường draft và content):
486
486
  */
487
+ /** Cấu trúc đối tượng hình ảnh lưu trữ trên CDN Zalo Ads (adtima-media.zascdn.me). */
488
+ interface ZaloMediaImage {
489
+ name: string;
490
+ url: string;
491
+ mediaId?: number;
492
+ }
493
+ /** Cấu trúc JSON Canvas chuẩn của một Instant Page trên Zalo Ads (page.ads.zalo.me). */
494
+ /** Khối 1: Trình chiếu ảnh / Video xoay vòng (Carousel Slider) */
495
+ interface InstantPageCarouselBlock {
496
+ id?: string;
497
+ type: 1 | ZaloInstantPageBlockType.CAROUSEL_SLIDER;
498
+ indexes: string[];
499
+ images: Record<string, ZaloMediaImage>;
500
+ videos?: Record<string, {
501
+ url: string;
502
+ name?: string;
503
+ thumbnail?: string;
504
+ }>;
505
+ textEditor?: {
506
+ delta?: {
507
+ ops: Array<{
508
+ insert: string;
509
+ attributes?: Record<string, unknown>;
510
+ }>;
511
+ };
512
+ outputHtml?: string;
513
+ };
514
+ [key: string]: unknown;
515
+ }
516
+ /** Khối 2: Đồng hồ đếm ngược Flash sale / Thời gian ưu đãi */
517
+ interface InstantPageCountdownBlock {
518
+ id?: string;
519
+ type: 2 | ZaloInstantPageBlockType.COUNTDOWN;
520
+ discountValue?: number;
521
+ countdownType?: number;
522
+ startDate?: number;
523
+ loopDays?: number;
524
+ label?: string;
525
+ labelDelta?: {
526
+ ops: Array<{
527
+ insert: string;
528
+ attributes?: Record<string, unknown>;
529
+ }>;
530
+ };
531
+ visibility?: {
532
+ days?: boolean;
533
+ hours?: boolean;
534
+ minutes?: boolean;
535
+ seconds?: boolean;
536
+ };
537
+ marginTop?: number;
538
+ marginBottom?: number;
539
+ visible?: boolean;
540
+ [key: string]: unknown;
541
+ }
542
+ /** Khối 4: Văn bản mô tả định dạng giàu (Rich Text / Quill Delta) */
543
+ interface InstantPageRichTextBlock {
544
+ id?: string;
545
+ type: 4 | ZaloInstantPageBlockType.RICH_TEXT;
546
+ delta?: {
547
+ ops: Array<{
548
+ insert: string;
549
+ attributes?: Record<string, unknown>;
550
+ }>;
551
+ };
552
+ outputHtml?: string;
553
+ marginTop?: number;
554
+ marginBottom?: number;
555
+ [key: string]: unknown;
556
+ }
557
+ /** Khối 6: Hình ảnh đơn hoặc Video minh họa sản phẩm (Hero Media) */
558
+ interface InstantPageHeroMediaBlock {
559
+ id?: string;
560
+ type: 6 | ZaloInstantPageBlockType.HERO_IMAGE;
561
+ mediaType?: "image" | "video";
562
+ image?: ZaloMediaImage;
563
+ videoSetting?: {
564
+ autoPlay?: boolean;
565
+ loop?: boolean;
566
+ };
567
+ [key: string]: unknown;
568
+ }
569
+ /** Khối 7: Form nhập Họ và tên khách hàng */
570
+ interface InstantPageFormNameBlock {
571
+ id?: string;
572
+ type: 7 | ZaloInstantPageBlockType.FORM_NAME;
573
+ formQuestion: {
574
+ type: number;
575
+ title: string;
576
+ isRequired?: boolean;
577
+ disable?: boolean;
578
+ answers: Array<{
579
+ type: number;
580
+ value?: string;
581
+ placeHolder?: string;
582
+ priority?: number;
583
+ }>;
584
+ description?: string;
585
+ priority?: number;
586
+ };
587
+ marginTop?: number;
588
+ marginBottom?: number;
589
+ [key: string]: unknown;
590
+ }
591
+ /** Khối 8: Nút CTA đặt hàng cố định chân trang hoặc mở form popup */
592
+ interface InstantPageStickyButtonBlock {
593
+ id?: string;
594
+ type: 8 | ZaloInstantPageBlockType.ORDER_CTA_BUTTON;
595
+ content2: string;
596
+ background?: string;
597
+ borderColor?: string;
598
+ borderRadius?: number;
599
+ borderSize?: number;
600
+ showBorder?: boolean;
601
+ formPopup?: boolean;
602
+ fixedPosition?: boolean;
603
+ image?: ZaloMediaImage;
604
+ [key: string]: unknown;
605
+ }
606
+ /** Khối 9: Form nhập Số điện thoại liên hệ */
607
+ interface InstantPageFormPhoneBlock {
608
+ id?: string;
609
+ type: 9 | ZaloInstantPageBlockType.FORM_PHONE;
610
+ formQuestion: {
611
+ type: number;
612
+ title: string;
613
+ isRequired?: boolean;
614
+ disable?: boolean;
615
+ answers: Array<{
616
+ type: number;
617
+ value?: string;
618
+ placeHolder?: string;
619
+ priority?: number;
620
+ }>;
621
+ description?: string;
622
+ priority?: number;
623
+ };
624
+ marginTop?: number;
625
+ marginBottom?: number;
626
+ [key: string]: unknown;
627
+ }
628
+ /** Khối 10: Form nhập Địa chỉ giao hàng */
629
+ interface InstantPageFormAddressBlock {
630
+ id?: string;
631
+ type: 10 | ZaloInstantPageBlockType.FORM_ADDRESS;
632
+ formQuestion: {
633
+ type: number;
634
+ title: string;
635
+ isRequired?: boolean;
636
+ disable?: boolean;
637
+ answers: Array<{
638
+ type: number;
639
+ value?: string;
640
+ placeHolder?: string;
641
+ priority?: number;
642
+ }>;
643
+ description?: string;
644
+ priority?: number;
645
+ };
646
+ marginTop?: number;
647
+ marginBottom?: number;
648
+ [key: string]: unknown;
649
+ }
650
+ /** Khối 14: Chân trang thương hiệu (Địa chỉ, Hotline, Email, Website) */
651
+ interface InstantPageFooterBlock {
652
+ id?: string;
653
+ type: 14 | ZaloInstantPageBlockType.FOOTER;
654
+ backgroundColor?: string;
655
+ textDelta?: {
656
+ ops: Array<{
657
+ insert: string;
658
+ attributes?: Record<string, unknown>;
659
+ }>;
660
+ };
661
+ textHtml?: string;
662
+ detailings?: Array<{
663
+ image?: ZaloMediaImage;
664
+ textDelta?: {
665
+ ops: Array<{
666
+ insert: string;
667
+ }>;
668
+ };
669
+ textHtml?: string;
670
+ }>;
671
+ [key: string]: unknown;
672
+ }
673
+ /** Khối 16: Form chọn Số lượng mua */
674
+ interface InstantPageQuantityBlock {
675
+ id?: string;
676
+ type: 16 | ZaloInstantPageBlockType.FORM_QUANTITY;
677
+ formQuestion: {
678
+ type: number;
679
+ title: string;
680
+ isRequired?: boolean;
681
+ disable?: boolean;
682
+ answers: Array<{
683
+ type: number;
684
+ value?: string;
685
+ priority?: number;
686
+ }>;
687
+ description?: string;
688
+ priority?: number;
689
+ };
690
+ marginTop?: number;
691
+ marginBottom?: number;
692
+ [key: string]: unknown;
693
+ }
694
+ /** Khối 18: Phân loại / Biến thể sản phẩm (Màu sắc, Size, Combo) */
695
+ interface InstantPageProductVariantBlock {
696
+ id?: string;
697
+ type: 18 | ZaloInstantPageBlockType.PRODUCT_VARIANT;
698
+ visible?: boolean;
699
+ formQuestion: {
700
+ type: number;
701
+ title: string;
702
+ isRequired?: boolean;
703
+ disable?: boolean;
704
+ answers: Array<{
705
+ type: number;
706
+ value: string;
707
+ priority?: number;
708
+ }>;
709
+ description?: string;
710
+ priority?: number;
711
+ };
712
+ marginTop?: number;
713
+ marginBottom?: number;
714
+ [key: string]: unknown;
715
+ }
716
+ /** Khối 19: Tiêu đề sản phẩm & Giá bán */
717
+ interface InstantPageProductTitlePriceBlock {
718
+ id?: string;
719
+ type: 19 | ZaloInstantPageBlockType.PRODUCT_TITLE_PRICE;
720
+ name: string;
721
+ price: number;
722
+ rawPrice?: number;
723
+ marginTop?: number;
724
+ marginBottom?: number;
725
+ [key: string]: unknown;
726
+ }
727
+ /** Khối 20: Danh sách câu hỏi gợi ý nhanh (FAQ pills) */
728
+ interface InstantPageQuickQuestionsBlock {
729
+ id?: string;
730
+ type: 20 | ZaloInstantPageBlockType.QUICK_QUESTIONS;
731
+ list: string[];
732
+ marginTop?: number;
733
+ marginBottom?: number;
734
+ [key: string]: unknown;
735
+ }
736
+ /** Khối 21: Nút / Khung gửi tin nhắn trực tiếp đến Zalo OA */
737
+ interface InstantPageDefaultMessageBlock {
738
+ id?: string;
739
+ type: 21 | ZaloInstantPageBlockType.MESSAGE_CTA_BUTTON;
740
+ content: string;
741
+ marginTop?: number;
742
+ marginBottom?: number;
743
+ [key: string]: unknown;
744
+ }
745
+ /** Khối 23: Nút gọi Hotline liên hệ nhanh */
746
+ interface InstantPageCallHotlineBlock {
747
+ id?: string;
748
+ type: 23 | ZaloInstantPageBlockType.CALL_HOTLINE_BUTTON;
749
+ content: string;
750
+ phone: string;
751
+ actionType?: string;
752
+ background?: string;
753
+ color?: string;
754
+ borderColor?: string;
755
+ borderRadius?: number;
756
+ borderSize?: number;
757
+ showBorder?: boolean;
758
+ fixedPosition?: boolean;
759
+ visible?: boolean;
760
+ image?: ZaloMediaImage;
761
+ marginTop?: number;
762
+ marginBottom?: number;
763
+ [key: string]: unknown;
764
+ }
765
+ /** Khối 25: Bảng thông số kỹ thuật 2 cột (Key-Value) */
766
+ interface InstantPageKeyValueTableBlock {
767
+ id?: string;
768
+ type: 25 | ZaloInstantPageBlockType.KEY_VALUE_TABLE;
769
+ rows: Array<{
770
+ id: number;
771
+ left: string;
772
+ right: string;
773
+ }>;
774
+ [key: string]: unknown;
775
+ }
776
+ /** Khối 27: Điều khoản đồng thuận thu thập dữ liệu cá nhân (NĐ 13) */
777
+ interface InstantPageConsentNoticeBlock {
778
+ id?: string;
779
+ type: 27 | ZaloInstantPageBlockType.CONSENT_NOTICE;
780
+ useCustomConsent?: boolean;
781
+ [key: string]: unknown;
782
+ }
783
+ /** Khối 28: Thông tin Mini Shop TMĐT (Logo & Tên Shop) */
784
+ interface InstantPageShopInfoBlock {
785
+ id?: string;
786
+ type: 28 | ZaloInstantPageBlockType.SHOP_INFO;
787
+ name: string;
788
+ image: ZaloMediaImage;
789
+ [key: string]: unknown;
790
+ }
791
+ /** Khối 29: Mô tả giới thiệu sản phẩm TMĐT */
792
+ interface InstantPageShopDescriptionBlock {
793
+ id?: string;
794
+ type: 29 | ZaloInstantPageBlockType.SHOP_DESCRIPTION;
795
+ delta: {
796
+ ops: Array<{
797
+ insert: string;
798
+ attributes?: Record<string, unknown>;
799
+ }>;
800
+ };
801
+ outputHtml: string;
802
+ length: number;
803
+ [key: string]: unknown;
804
+ }
805
+ /** Discriminated Union cho toàn bộ 19 loại Block giao diện trên Zalo Instant Page */
806
+ type InstantPageBlock = InstantPageCarouselBlock | InstantPageCountdownBlock | InstantPageRichTextBlock | InstantPageHeroMediaBlock | InstantPageFormNameBlock | InstantPageStickyButtonBlock | InstantPageFormPhoneBlock | InstantPageFormAddressBlock | InstantPageFooterBlock | InstantPageQuantityBlock | InstantPageProductVariantBlock | InstantPageProductTitlePriceBlock | InstantPageQuickQuestionsBlock | InstantPageDefaultMessageBlock | InstantPageCallHotlineBlock | InstantPageKeyValueTableBlock | InstantPageConsentNoticeBlock | InstantPageShopInfoBlock | InstantPageShopDescriptionBlock;
807
+ /** Cấu trúc JSON Canvas chuẩn của một Instant Page trên Zalo Ads (page.ads.zalo.me). */
808
+ interface InstantPageCanvas<TBlock = InstantPageBlock> {
809
+ /** Phiên bản schema của canvas (thường là 1 hoặc '1') */
810
+ version: string | number;
811
+ /** Danh sách ID các khối giao diện theo thứ tự hiển thị */
812
+ renderList: string[];
813
+ /** Bảng tra cứu dữ liệu chi tiết của từng khối giao diện, index bằng ID khối */
814
+ data: Record<string, TBlock>;
815
+ /** Số khối ghim cố định ở đầu trang */
816
+ freezedTop?: number;
817
+ /** Số khối ghim cố định ở cuối chân trang (ví dụ: nút đặt hàng hoặc khung chat) */
818
+ freezedBottom?: number;
819
+ /** Tiêu đề hiển thị trên thanh header mobile */
820
+ pageTitle?: string;
821
+ }
487
822
  declare enum ZaloInstantPageBlockType {
488
823
  /** Slide ảnh/video banner trình chiếu sản phẩm */
489
824
  CAROUSEL_SLIDER = 1,
@@ -520,7 +855,11 @@ declare enum ZaloInstantPageBlockType {
520
855
  /** Bảng thông số / Ưu đãi 2 cột (Key-Value rows) */
521
856
  KEY_VALUE_TABLE = 25,
522
857
  /** Điều khoản đồng thuận thu thập dữ liệu cá nhân theo NĐ 13 */
523
- CONSENT_NOTICE = 27
858
+ CONSENT_NOTICE = 27,
859
+ /** Đầu trang TMĐT: Logo & Tên Mini Shop (Template 5) */
860
+ SHOP_INFO = 28,
861
+ /** Đoạn giới thiệu mô tả sản phẩm TMĐT (Template 5) */
862
+ SHOP_DESCRIPTION = 29
524
863
  }
525
864
  /** Sao chép một Instant Page hiện có và trả về bản Instant Page mới cùng toàn bộ draft được sao chép. Đây là mutation tool thuộc lane zalo-ads-content; dùng khi cần tạo bản làm việc độc lập trước khi chỉnh sửa nội dung hoặc trạng thái. Bản sao có id và publicId mới, không ghi đè Instant Page nguồn. */
526
865
  type ZaloInstantPagesCloneInstantPageRequest = {
@@ -867,7 +1206,7 @@ type ZaloInstantPagesUpdateInstantPageRequest = {
867
1206
  * 18: PRODUCT_VARIANT | 19: PRODUCT_TITLE_PRICE | 20: QUICK_QUESTIONS | 21: MESSAGE_CTA_BUTTON |
868
1207
  * 22: SECTION_HEADING | 23: CALL_HOTLINE_BUTTON | 25: KEY_VALUE_TABLE | 27: CONSENT_NOTICE
869
1208
  */
870
- draft?: string;
1209
+ draft?: string | InstantPageCanvas;
871
1210
  /** Thao tác bật/tắt Instant Page: 0 là tắt, 1 là bật. BẮT BUỘC là số nguyên 0 | 1, không truyền kiểu boolean. */
872
1211
  active?: ZaloInstantPageActive;
873
1212
  /** Mã trạng thái của Instant Page: 1 = Lưu bản nháp (Draft), 2 = Xuất bản chính thức (Published). */
@@ -876,7 +1215,7 @@ type ZaloInstantPagesUpdateInstantPageRequest = {
876
1215
  * Chuỗi JSON cấu hình nội dung chính thức đang chạy ở Production của Instant Page (sau khi xuất bản).
877
1216
  * Chỉ gửi khi xuất bản chính thức (status = 2). Cấu trúc tương tự draft.
878
1217
  */
879
- content?: string;
1218
+ content?: string | InstantPageCanvas;
880
1219
  };
881
1220
  type ZaloInstantPagesUpdateInstantPageResponse = {
882
1221
  /** Thông điệp kết quả nếu API trả envelope có msg. */
@@ -1706,6 +2045,80 @@ interface ZaloAdsCampaignCreatePayloadDto {
1706
2045
  campaignId: number;
1707
2046
  adId: number;
1708
2047
  }
2048
+ /** Payload tạo chiến dịch Quảng cáo Commerce (Shop) */
2049
+ interface ZaloAdsCreateCommerceCampaignPayloadDto {
2050
+ /** Tên hiển thị của chiến dịch */
2051
+ name: string;
2052
+ /** ID Zalo Official Account (OA ID) liên kết (bắt buộc > 0) */
2053
+ pageId: number;
2054
+ /** ID sản phẩm Zalo Shop liên kết (tùy chọn; mặc định -1 nếu không gắn) */
2055
+ productId?: number;
2056
+ [key: string]: unknown;
2057
+ }
2058
+ /** Payload tạo chiến dịch Quảng cáo Display */
2059
+ interface ZaloAdsCreateDisplayCampaignPayloadDto {
2060
+ /** Tên hiển thị của chiến dịch */
2061
+ name: string;
2062
+ /** ID Zalo OA (tùy chọn; mặc định -1) */
2063
+ pageId?: number;
2064
+ /** URL trang đích của quảng cáo (tùy chọn) */
2065
+ targetUrl?: string;
2066
+ [key: string]: unknown;
2067
+ }
2068
+ /** Payload tạo chiến dịch Quảng cáo Website */
2069
+ interface ZaloAdsCreateWebsiteCampaignPayloadDto {
2070
+ /** Tên hiển thị của chiến dịch */
2071
+ name: string;
2072
+ /** URL trang đích của website (bắt buộc) */
2073
+ targetUrl: string;
2074
+ /** ID Zalo OA (tùy chọn; không bắt buộc) */
2075
+ pageId?: number;
2076
+ [key: string]: unknown;
2077
+ }
2078
+ /** Payload tạo chiến dịch Quảng cáo Biểu mẫu (Lead Form) */
2079
+ interface ZaloAdsCreateFormCampaignPayloadDto {
2080
+ /** Tên hiển thị của chiến dịch */
2081
+ name: string;
2082
+ /** ID Zalo Official Account sở hữu Form (bắt buộc > 0) */
2083
+ pageId: number;
2084
+ [key: string]: unknown;
2085
+ }
2086
+ /** Payload tạo chiến dịch Quảng cáo Tin nhắn (Message) */
2087
+ interface ZaloAdsCreateMessageCampaignPayloadDto {
2088
+ /** Tên hiển thị của chiến dịch */
2089
+ name: string;
2090
+ /** ID Zalo Official Account nhận tin nhắn (bắt buộc > 0) */
2091
+ pageId: number;
2092
+ [key: string]: unknown;
2093
+ }
2094
+ /** Payload tạo chiến dịch Quảng cáo Tăng người quan tâm Zalo Official Account */
2095
+ interface ZaloAdsCreateOfficialAccountCampaignPayloadDto {
2096
+ /** Tên hiển thị của chiến dịch */
2097
+ name: string;
2098
+ /** ID Zalo Official Account cần tăng lượt quan tâm (bắt buộc > 0) */
2099
+ pageId: number;
2100
+ [key: string]: unknown;
2101
+ }
2102
+ /** Payload tạo chiến dịch Quảng cáo Bài viết OA */
2103
+ interface ZaloAdsCreateArticleCampaignPayloadDto {
2104
+ /** Tên hiển thị của chiến dịch */
2105
+ name: string;
2106
+ /** ID Zalo Official Account sở hữu bài viết (bắt buộc > 0) */
2107
+ pageId: number;
2108
+ /** ID bài viết trên Zalo OA lấy từ getOwnedArticles (bắt buộc > 0) */
2109
+ articleId: number;
2110
+ [key: string]: unknown;
2111
+ }
2112
+ /** Payload tạo chiến dịch Quảng cáo Video */
2113
+ interface ZaloAdsCreateVideoCampaignPayloadDto {
2114
+ /** Tên hiển thị của chiến dịch */
2115
+ name: string;
2116
+ /** URL trang đích của website khi click vào video (bắt buộc) */
2117
+ targetUrl: string;
2118
+ /** ID Zalo OA (tùy chọn; không bắt buộc) */
2119
+ pageId?: number;
2120
+ [key: string]: unknown;
2121
+ }
1709
2122
  interface ZaloAdsFormSectionTableItemDto {
1710
2123
  key: string;
1711
2124
  value: string;
@@ -4185,6 +4598,22 @@ declare class ZaloCampaignsService {
4185
4598
  duplicateAd: typeof validateDuplicateAdParams;
4186
4599
  validateCropCoordinates: typeof validateCropCoordinates;
4187
4600
  validateUploadCropAdImage: typeof validateCropCoordinates;
4601
+ createCommerceCampaign: typeof validateCreateCommerceCampaign;
4602
+ createDisplayCampaign: typeof validateCreateDisplayCampaign;
4603
+ createWebsiteCampaign: typeof validateCreateWebsiteCampaign;
4604
+ createFormCampaign: typeof validateCreateFormCampaign;
4605
+ createMessageCampaign: typeof validateCreateMessageCampaign;
4606
+ createOfficialAccountCampaign: typeof validateCreateOfficialAccountCampaign;
4607
+ createArticleCampaign: typeof validateCreateArticleCampaign;
4608
+ createVideoCampaign: typeof validateCreateVideoCampaign;
4609
+ updateWebsiteAd: typeof validateUpdateWebsiteAd;
4610
+ updateDisplayAd: typeof validateUpdateDisplayAd;
4611
+ updateVideoAd: typeof validateUpdateVideoAd;
4612
+ updateCommerceAd: typeof validateUpdateCommerceAd;
4613
+ updateFormAd: typeof validateUpdateFormAd;
4614
+ updateMessageAd: typeof validateUpdateMessageAd;
4615
+ updateOfficialAccountAd: typeof validateUpdateOfficialAccountAd;
4616
+ updateArticleAd: typeof validateUpdateArticleAd;
4188
4617
  };
4189
4618
  static readonly validator: {
4190
4619
  createCampaign: typeof validateCreateCampaignPayload;
@@ -4194,6 +4623,22 @@ declare class ZaloCampaignsService {
4194
4623
  duplicateAd: typeof validateDuplicateAdParams;
4195
4624
  validateCropCoordinates: typeof validateCropCoordinates;
4196
4625
  validateUploadCropAdImage: typeof validateCropCoordinates;
4626
+ createCommerceCampaign: typeof validateCreateCommerceCampaign;
4627
+ createDisplayCampaign: typeof validateCreateDisplayCampaign;
4628
+ createWebsiteCampaign: typeof validateCreateWebsiteCampaign;
4629
+ createFormCampaign: typeof validateCreateFormCampaign;
4630
+ createMessageCampaign: typeof validateCreateMessageCampaign;
4631
+ createOfficialAccountCampaign: typeof validateCreateOfficialAccountCampaign;
4632
+ createArticleCampaign: typeof validateCreateArticleCampaign;
4633
+ createVideoCampaign: typeof validateCreateVideoCampaign;
4634
+ updateWebsiteAd: typeof validateUpdateWebsiteAd;
4635
+ updateDisplayAd: typeof validateUpdateDisplayAd;
4636
+ updateVideoAd: typeof validateUpdateVideoAd;
4637
+ updateCommerceAd: typeof validateUpdateCommerceAd;
4638
+ updateFormAd: typeof validateUpdateFormAd;
4639
+ updateMessageAd: typeof validateUpdateMessageAd;
4640
+ updateOfficialAccountAd: typeof validateUpdateOfficialAccountAd;
4641
+ updateArticleAd: typeof validateUpdateArticleAd;
4197
4642
  };
4198
4643
  constructor(client: ZaloSdkHttpClient);
4199
4644
  updateVideoAd(request: ZaloAdsUpdateVideoAdRequest, options?: RequestOptions): Promise<ZaloAdsUpdateVideoAdResponse>;
@@ -5117,6 +5562,14 @@ declare function validateListInstantPageSharesRequest(input: unknown): Validatio
5117
5562
  declare function validateListInstantPageUsersRequest(input?: unknown): ValidationResult<ZaloInstantPagesListInstantPageUsersRequest>;
5118
5563
  declare function validateListMiniPageTemplatesRequest(input?: unknown): ValidationResult<ZaloInstantPagesListMiniPageTemplatesRequest>;
5119
5564
  declare function validateSearchInstantPagesRequest(input?: unknown): ValidationResult<ZaloInstantPagesSearchInstantPagesRequest>;
5565
+ /**
5566
+ * Làm sạch key của dictionary data (khử dấu ngoặc kép thừa do parse lỗi hoặc serialize nhầm, ví dụ: '"1"' -> '1').
5567
+ */
5568
+ declare function sanitizeCanvasKeys(data: Record<string, unknown>): Record<string, unknown>;
5569
+ /**
5570
+ * Kiểm tra tính hợp lệ toàn vẹn của một Canvas Instant Page (renderList, data matching, block rules).
5571
+ */
5572
+ declare function validateInstantPageCanvas(input: unknown, isPublishing?: boolean): ValidationResult<InstantPageCanvas>;
5120
5573
  declare function validateUpdateInstantPageRequest(input: unknown): ValidationResult<ZaloInstantPagesUpdateInstantPageRequest>;
5121
5574
  declare function validateListInstantPageLeadsRequest(input: unknown): ValidationResult<ZaloInstantPagesListInstantPageLeadsRequest>;
5122
5575
  declare function validateListOfficialAccountsRequest(input?: unknown): ValidationResult<ZaloInstantPagesListOfficialAccountsRequest>;
@@ -5850,6 +6303,45 @@ declare class ZaloAdsIntegrationManager {
5850
6303
  get poolSize(): number;
5851
6304
  }
5852
6305
 
6306
+ /**
6307
+ * Factory tiện ích khởi tạo cấu trúc Instant Page Canvas hợp lệ cho Zalo Ads.
6308
+ * Tự động nạp sẵn (hydrate) các giá trị mặc định chuẩn chỉnh (thương hiệu, logo, hình ảnh, văn bản Quill),
6309
+ * đảm bảo 100% trang đích khi tạo không bao giờ bị lỗi viền đỏ (data-section-error="true")
6310
+ * hay lỗi crash React khi mở trên domain page.ads.zalo.me.
6311
+ */
6312
+
6313
+ interface HydrateInstantPageOptions {
6314
+ /** Tên thương hiệu / Shop (từ 2 - 30 ký tự) */
6315
+ brandName?: string;
6316
+ /** URL ảnh logo thương hiệu (kích thước tối thiểu 150x150) */
6317
+ brandLogoUrl?: string;
6318
+ /** Tên sản phẩm / dịch vụ chính */
6319
+ productName?: string;
6320
+ /** Giá bán sản phẩm (VND) */
6321
+ price?: number;
6322
+ /** Giá niêm yết / giá gốc (VND) */
6323
+ rawPrice?: number;
6324
+ /** Đoạn mô tả giới thiệu chi tiết sản phẩm / dịch vụ */
6325
+ description?: string;
6326
+ /** Danh sách URL ảnh sản phẩm trình chiếu Carousel (tối thiểu 1 ảnh) */
6327
+ carouselImages?: Array<{
6328
+ url: string;
6329
+ name?: string;
6330
+ }>;
6331
+ /** Tin nhắn mẫu gửi tới Zalo Official Account */
6332
+ defaultMessage?: string;
6333
+ /** Số hotline liên hệ */
6334
+ hotline?: string;
6335
+ /** Địa chỉ doanh nghiệp */
6336
+ address?: string;
6337
+ }
6338
+ declare class InstantPageFactory {
6339
+ /**
6340
+ * Khởi tạo Canvas hoàn chỉnh từ Template ID (1, 3, 4, 5) được điền sẵn dữ liệu hợp lệ.
6341
+ */
6342
+ static createFromTemplate(templateId: 1 | 3 | 4 | 5 | number, options?: HydrateInstantPageOptions): InstantPageCanvas;
6343
+ }
6344
+
5853
6345
  /**
5854
6346
  * Bộ kiểm tra tính hợp lệ dữ liệu (Request Validators) cho các API Zalo Message Flows:
5855
6347
  * 1. listFlowsByOfficialAccount (GET /api/flow/getByOaId)
@@ -6074,6 +6566,56 @@ declare function validateDuplicateAdParams(params: {
6074
6566
  * Kiểm tra tính hợp lệ của tham số cắt/tải ảnh quảng cáo (POST /api/ads/upload-crop / updateNewAds).
6075
6567
  */
6076
6568
  declare function validateCropCoordinates(input: unknown): CampaignValidationResult<ZaloAdsUpdateNewAdsRequest>;
6569
+ /**
6570
+ * 1. Kiểm tra tính hợp lệ khi tạo mới Quảng cáo Commerce (Shop)
6571
+ * Bắt buộc: "Tên chiến dịch" (name) và tài khoản OA chọn từ "Danh sách tài khoản OA" (pageId > 0).
6572
+ */
6573
+ declare function validateCreateCommerceCampaign(payload: Partial<ZaloAdsCreateCommerceCampaignPayloadDto>, options?: ValidateCampaignOptions): CampaignValidationResult;
6574
+ /**
6575
+ * 2. Kiểm tra tính hợp lệ khi tạo mới Quảng cáo Display
6576
+ * Bắt buộc: "Tên chiến dịch" (name).
6577
+ */
6578
+ declare function validateCreateDisplayCampaign(payload: Partial<ZaloAdsCreateDisplayCampaignPayloadDto>, options?: ValidateCampaignOptions): CampaignValidationResult;
6579
+ /**
6580
+ * 3. Kiểm tra tính hợp lệ khi tạo mới Quảng cáo Website
6581
+ * Bắt buộc: "Tên chiến dịch" (name), "Liên kết website" (targetUrl).
6582
+ * Tùy chọn: Tài khoản OA ("Danh sách tài khoản OA" - không bắt buộc).
6583
+ */
6584
+ declare function validateCreateWebsiteCampaign(payload: Partial<ZaloAdsCreateWebsiteCampaignPayloadDto>, options?: ValidateCampaignOptions): CampaignValidationResult;
6585
+ /**
6586
+ * 4. Kiểm tra tính hợp lệ khi tạo mới Quảng cáo Form (Biểu mẫu)
6587
+ * Bắt buộc: "Tên chiến dịch" (name), tài khoản OA trong "Danh sách tài khoản OA" (pageId > 0).
6588
+ */
6589
+ declare function validateCreateFormCampaign(payload: Partial<ZaloAdsCreateFormCampaignPayloadDto>, options?: ValidateCampaignOptions): CampaignValidationResult;
6590
+ /**
6591
+ * 5. Kiểm tra tính hợp lệ khi tạo mới Quảng cáo Tin nhắn
6592
+ * Bắt buộc: "Tên chiến dịch" (name), tài khoản OA trong "Danh sách tài khoản OA" (pageId > 0).
6593
+ */
6594
+ declare function validateCreateMessageCampaign(payload: Partial<ZaloAdsCreateMessageCampaignPayloadDto>, options?: ValidateCampaignOptions): CampaignValidationResult;
6595
+ /**
6596
+ * 6. Kiểm tra tính hợp lệ khi tạo mới Quảng cáo Zalo Official Account
6597
+ * Bắt buộc: "Tên chiến dịch" (name), tài khoản OA trong "Danh sách tài khoản OA" (pageId > 0).
6598
+ */
6599
+ declare function validateCreateOfficialAccountCampaign(payload: Partial<ZaloAdsCreateOfficialAccountCampaignPayloadDto>, options?: ValidateCampaignOptions): CampaignValidationResult;
6600
+ /**
6601
+ * 7. Kiểm tra tính hợp lệ khi tạo mới Quảng cáo Bài viết
6602
+ * Bắt buộc: "Tên chiến dịch" (name), tài khoản OA trong "Danh sách tài khoản OA" (pageId > 0), bài viết trong "Danh sách bài viết của OA đó" (articleId > 0).
6603
+ */
6604
+ declare function validateCreateArticleCampaign(payload: Partial<ZaloAdsCreateArticleCampaignPayloadDto>, options?: ValidateCampaignOptions): CampaignValidationResult;
6605
+ /**
6606
+ * 8. Kiểm tra tính hợp lệ khi tạo mới Quảng cáo Video
6607
+ * Bắt buộc: "Tên chiến dịch" (name), "Liên kết Website" (targetUrl).
6608
+ * Tùy chọn: Tài khoản OA trong "Danh sách tài khoản OA" (không bắt buộc).
6609
+ */
6610
+ declare function validateCreateVideoCampaign(payload: Partial<ZaloAdsCreateVideoCampaignPayloadDto>, options?: ValidateCampaignOptions): CampaignValidationResult;
6611
+ declare function validateUpdateWebsiteAd(payload: Partial<ZaloAdsAdUpdatePayloadDto>, options?: ValidateAdOptions): CampaignValidationResult;
6612
+ declare function validateUpdateDisplayAd(payload: Partial<ZaloAdsAdUpdatePayloadDto>, options?: ValidateAdOptions): CampaignValidationResult;
6613
+ declare function validateUpdateVideoAd(payload: Partial<ZaloAdsAdUpdatePayloadDto>, options?: ValidateAdOptions): CampaignValidationResult;
6614
+ declare function validateUpdateCommerceAd(payload: Partial<ZaloAdsAdUpdatePayloadDto>, options?: ValidateAdOptions): CampaignValidationResult;
6615
+ declare function validateUpdateFormAd(payload: Partial<ZaloAdsAdUpdatePayloadDto>, options?: ValidateAdOptions): CampaignValidationResult;
6616
+ declare function validateUpdateMessageAd(payload: Partial<ZaloAdsAdUpdatePayloadDto>, options?: ValidateAdOptions): CampaignValidationResult;
6617
+ declare function validateUpdateOfficialAccountAd(payload: Partial<ZaloAdsAdUpdatePayloadDto>, options?: ValidateAdOptions): CampaignValidationResult;
6618
+ declare function validateUpdateArticleAd(payload: Partial<ZaloAdsAdUpdatePayloadDto>, options?: ValidateAdOptions): CampaignValidationResult;
6077
6619
  declare const ZaloCampaignsValidator: {
6078
6620
  createCampaign: typeof validateCreateCampaignPayload;
6079
6621
  updateAd: typeof validateUpdateAdPayload;
@@ -6082,6 +6624,22 @@ declare const ZaloCampaignsValidator: {
6082
6624
  duplicateAd: typeof validateDuplicateAdParams;
6083
6625
  validateCropCoordinates: typeof validateCropCoordinates;
6084
6626
  validateUploadCropAdImage: typeof validateCropCoordinates;
6627
+ createCommerceCampaign: typeof validateCreateCommerceCampaign;
6628
+ createDisplayCampaign: typeof validateCreateDisplayCampaign;
6629
+ createWebsiteCampaign: typeof validateCreateWebsiteCampaign;
6630
+ createFormCampaign: typeof validateCreateFormCampaign;
6631
+ createMessageCampaign: typeof validateCreateMessageCampaign;
6632
+ createOfficialAccountCampaign: typeof validateCreateOfficialAccountCampaign;
6633
+ createArticleCampaign: typeof validateCreateArticleCampaign;
6634
+ createVideoCampaign: typeof validateCreateVideoCampaign;
6635
+ updateWebsiteAd: typeof validateUpdateWebsiteAd;
6636
+ updateDisplayAd: typeof validateUpdateDisplayAd;
6637
+ updateVideoAd: typeof validateUpdateVideoAd;
6638
+ updateCommerceAd: typeof validateUpdateCommerceAd;
6639
+ updateFormAd: typeof validateUpdateFormAd;
6640
+ updateMessageAd: typeof validateUpdateMessageAd;
6641
+ updateOfficialAccountAd: typeof validateUpdateOfficialAccountAd;
6642
+ updateArticleAd: typeof validateUpdateArticleAd;
6085
6643
  };
6086
6644
 
6087
6645
  /**
@@ -6294,4 +6852,4 @@ declare const ZaloMediaValidator: {
6294
6852
  validateSaveMedia: typeof validateSaveMediaRequest;
6295
6853
  };
6296
6854
 
6297
- export { ALLOWED_CTAS_PER_AD_TYPE, ALL_ZALO_ADS_DOMAINS, AutomatedRuleActionTypeEnum, AutomatedRuleConditionFieldEnum, AutomatedRuleFrequencyEnum, AutomatedRuleOperatorEnum, AutomatedRuleScopeEnum, AutomatedRuleTimeRangeEnum, type AutomatedRuleValidationResult, type BodyType, type CampaignValidationResult, type CleanDateRangeReport, ConversionLabelEnum, ConversionUrlTypeEnum, type ConversionValidationResult, type DateRangeReportQuery, type FileDownloadResponse, type FileInput, type HttpMethod, MAX_REPORT_RANGE_MS, MAX_REPORT_RANGE_SECONDS, type MediaValidationResult, MemoryZaloSessionStore, type MemoryZaloSessionStoreOptions, type OperationDefinition, RedisZaloSessionStore, type RedisZaloSessionStoreOptions, type RequestOptions, TieredZaloSessionStore, type TieredZaloSessionStoreOptions, VALID_AD_TYPES, VALID_CAMPAIGN_TYPES, VIETNAM_PHONE_REGEX, type ValidateAdOptions, type ValidateCampaignOptions, type ValidateImageInput, type ValidateUploadMediaOptions, type ValidateVideoInput, type ValidationResult, ZALO_NEW_REGION_PROVINCE_CODES, ZALO_PROFILE_ADS_PROVINCES, ZALO_PROFILE_ADS_SUB_CATEGORIES, ZALO_PROVINCE_MERGE_MAPPING, ZALO_REGION_PROVINCE_CODES, type ZaloAccountScope, ZaloAccountService, type ZaloAdsAccessorItemDto, type ZaloAdsAccountAgencyInfoDto, ZaloAdsIntegrationManager as ZaloAdsAccountPool, ZaloAdsActionType, type ZaloAdsAdAppInfoSettingsDto, type ZaloAdsAdImageSettingsDto, type ZaloAdsAdInfoSettingsDto, type ZaloAdsAdLocationSettingsDto, type ZaloAdsAdMultiImageItemDto, type ZaloAdsAdMutationResultDto, type ZaloAdsAdPriceSettingsDto, type ZaloAdsAdReportItemDto, type ZaloAdsAdSettingsDto, type ZaloAdsAdTargetingLocationContainerDto, type ZaloAdsAdTargetingProvinceItemDto, type ZaloAdsAdTargetingRegionItemDto, type ZaloAdsAdTargetingSettingsDto, type ZaloAdsAdUpdatePayloadDto, type ZaloAdsAdZVideoSettingsDto, ZaloAdsAgeRangeId, type ZaloAdsAgencyEmployeeItemDto, type ZaloAdsAutomatedRuleActionDto, type ZaloAdsAutomatedRuleAppliedItemDto, type ZaloAdsAutomatedRuleConditionDto, type ZaloAdsAutomatedRuleScheduleDto, ZaloAdsBudgetScheduleType, type ZaloAdsBudgetScheduleTypeValue, type ZaloAdsCampaignCreatePayloadDto, type ZaloAdsCampaignDetailExtendDto, type ZaloAdsCampaignReportItemDto, ZaloAdsCampaignStatus, type ZaloAdsCampaignStatusValue, type ZaloAdsChangeAutomatedRuleStatusRequest, type ZaloAdsChangeAutomatedRuleStatusResponse, type ZaloAdsChangeCampaignStatusRequest, type ZaloAdsChangeCampaignStatusResponse, type ZaloAdsClientRequest, type ZaloAdsCommerceFormAudienceTargetingDto, type ZaloAdsConversionElementSelectorDto, type ZaloAdsConversionItemDto, type ZaloAdsConversionNameItemDto, type ZaloAdsCreateArticleCampaignRequest, type ZaloAdsCreateArticleCampaignResponse, type ZaloAdsCreateAutomatedRuleRequest, type ZaloAdsCreateAutomatedRuleResponse, type ZaloAdsCreateCommerceCampaignRequest, type ZaloAdsCreateCommerceCampaignResponse, type ZaloAdsCreateCommerceFormAudienceRequest, type ZaloAdsCreateCommerceFormAudienceResponse, type ZaloAdsCreateConversionRequest, type ZaloAdsCreateConversionResponse, type ZaloAdsCreateCustomAudienceRequest, type ZaloAdsCreateCustomAudienceResponse, type ZaloAdsCreateDisplayCampaignRequest, type ZaloAdsCreateDisplayCampaignResponse, type ZaloAdsCreateEcommerceCampaignRequest, type ZaloAdsCreateEcommerceCampaignResponse, ZaloAdsCreateFlowRequest, ZaloAdsCreateFlowResponse, type ZaloAdsCreateFormCampaignRequest, type ZaloAdsCreateFormCampaignResponse, type ZaloAdsCreateFormEventAudienceRequest, type ZaloAdsCreateFormEventAudienceResponse, type ZaloAdsCreateFormLeadAudienceRequest, type ZaloAdsCreateFormLeadAudienceResponse, type ZaloAdsCreateFormPayloadDto, type ZaloAdsCreateFormRequest, type ZaloAdsCreateFormResponse, type ZaloAdsCreateLeadSignalAudienceRequest, type ZaloAdsCreateLeadSignalAudienceResponse, type ZaloAdsCreateLookalikeAudienceRequest, type ZaloAdsCreateLookalikeAudienceResponse, type ZaloAdsCreateMessageCampaignRequest, type ZaloAdsCreateMessageCampaignResponse, type ZaloAdsCreateMessageOaEventAudienceRequest, type ZaloAdsCreateMessageOaEventAudienceResponse, type ZaloAdsCreateMessageOaLeadAudienceRequest, type ZaloAdsCreateMessageOaLeadAudienceResponse, type ZaloAdsCreateMessagePersonalEventAudienceRequest, type ZaloAdsCreateMessagePersonalEventAudienceResponse, type ZaloAdsCreateOaCampaignRequest, type ZaloAdsCreateOaCampaignResponse, type ZaloAdsCreateOfficialAccountCampaignRequest, type ZaloAdsCreateOfficialAccountCampaignResponse, type ZaloAdsCreatePhoneAudienceRequest, type ZaloAdsCreatePhoneAudienceResponse, ZaloAdsCreatePostCampaignRequest, ZaloAdsCreatePostCampaignResponse, type ZaloAdsCreateSavedAudienceRequest, type ZaloAdsCreateSavedAudienceResponse, type ZaloAdsCreateSpellCheckV3JobRequest, type ZaloAdsCreateSpellCheckV3JobResponse, type ZaloAdsCreateVideoCampaignRequest, type ZaloAdsCreateVideoCampaignResponse, type ZaloAdsCreateWebsiteCampaignRequest, type ZaloAdsCreateWebsiteCampaignResponse, type ZaloAdsDeleteAutomatedRuleRequest, type ZaloAdsDeleteAutomatedRuleResponse, type ZaloAdsDeleteCampaignRequest, type ZaloAdsDeleteCampaignResponse, type ZaloAdsDeleteConversionRequest, type ZaloAdsDeleteConversionResponse, type ZaloAdsDeleteCustomAudienceRequest, type ZaloAdsDeleteCustomAudienceResponse, type ZaloAdsDeleteCustomReportRequest, type ZaloAdsDeleteCustomReportResponse, ZaloAdsDeliveryType, type ZaloAdsDeliveryTypeValue, type ZaloAdsDomain, type ZaloAdsDownloadReportRequest, type ZaloAdsDownloadReportResponse, type ZaloAdsDuplicateAdRequest, type ZaloAdsDuplicateAdResponse, type ZaloAdsFileGroupItemDto, ZaloAdsFlowButtonDto, ZaloAdsFlowChildMessageDto, ZaloAdsFlowMessageDto, type ZaloAdsFormAnswerDto, type ZaloAdsFormEventAudienceTargetingDto, type ZaloAdsFormLeadAudienceTargetingDto, type ZaloAdsFormQuestionDto, type ZaloAdsFormQuestionUiDto, type ZaloAdsFormSectionContentDto, type ZaloAdsFormSectionDto, type ZaloAdsFormSectionImageItemDto, type ZaloAdsFormSectionTableItemDto, type ZaloAdsGetAdByIdRequest, type ZaloAdsGetAdByIdResponse, type ZaloAdsGetAdChangeLogRequest, type ZaloAdsGetAdChangeLogResponse, type ZaloAdsGetApiAdGetlistadadvancetargetingRequest, type ZaloAdsGetApiAdGetlistadadvancetargetingResponse, type ZaloAdsGetApiBaAccountAllaccessorsRequest, type ZaloAdsGetApiBaAccountAllaccessorsResponse, type ZaloAdsGetApiBaAccountAllgrantedmembersRequest, type ZaloAdsGetApiBaAccountAllgrantedmembersResponse, type ZaloAdsGetApiBaAgencyEmployeesRequest, type ZaloAdsGetApiBaAgencyEmployeesResponse, type ZaloAdsGetApiConversionAllRequest, type ZaloAdsGetApiConversionAllResponse, type ZaloAdsGetApiConversionStandardEventsRequest, type ZaloAdsGetApiConversionStandardEventsResponse, type ZaloAdsGetApiCustomAudienceAllRequest, type ZaloAdsGetApiCustomAudienceAllResponse, type ZaloAdsGetApiFilegroupsRequest, type ZaloAdsGetApiFilegroupsResponse, type ZaloAdsGetApiLpNewsRequest, type ZaloAdsGetApiLpNewsResponse, type ZaloAdsGetApiMediaItemsRequest, type ZaloAdsGetApiMediaItemsResponse, type ZaloAdsGetApiMemberFilesRequest, type ZaloAdsGetApiMemberFilesResponse, type ZaloAdsGetApiNotifiesHeaderRequest, type ZaloAdsGetApiNotifiesHeaderResponse, type ZaloAdsGetApiPaymentTransactionHistoryRequest, type ZaloAdsGetApiPaymentTransactionHistoryResponse, type ZaloAdsGetApiPlaceGetalldistrictsRequest, type ZaloAdsGetApiPlaceGetalldistrictsResponse, type ZaloAdsGetApiSpellCheckV2Request, type ZaloAdsGetApiSpellCheckV2Response, type ZaloAdsGetApiWhoamiRequest, type ZaloAdsGetApiWhoamiResponse, type ZaloAdsGetAutomatedRuleDetailRequest, type ZaloAdsGetAutomatedRuleDetailResponse, type ZaloAdsGetAutomatedRuleHistoryRequest, type ZaloAdsGetAutomatedRuleHistoryResponse, type ZaloAdsGetDemographicsReportRequest, type ZaloAdsGetDemographicsReportResponse, type ZaloAdsGetReportOverviewRequest, type ZaloAdsGetReportOverviewResponse, type ZaloAdsGetReportapiV2AdsRequest, type ZaloAdsGetReportapiV2AdsResponse, type ZaloAdsGetReportapiV2CampaignsRequest, type ZaloAdsGetReportapiV2CampaignsResponse, type ZaloAdsGetReportapiV2UniqueUserRequest, type ZaloAdsGetReportapiV2UniqueUserResponse, type ZaloAdsGetReportapiV3CampaignsRequest, type ZaloAdsGetReportapiV3CampaignsResponse, type ZaloAdsGetSpellCheckV3JobRequest, type ZaloAdsGetSpellCheckV3JobResponse, type ZaloAdsGetZaapiCampaignReportcampaignRequest, type ZaloAdsGetZaapiCampaignReportcampaignResponse, type ZaloAdsGetZaapiCheckcamphasmanyadsRequest, type ZaloAdsGetZaapiCheckcamphasmanyadsResponse, type ZaloAdsGetZaapiGetadsfromcampaignidRequest, type ZaloAdsGetZaapiGetadsfromcampaignidResponse, type ZaloAdsGetZaapiGetallpagesRequest, type ZaloAdsGetZaapiGetallpagesResponse, type ZaloAdsGetZaapiGetownedarticlesRequest, type ZaloAdsGetZaapiGetownedarticlesResponse, type ZaloAdsGetZaapiGetownedpagesRequest, type ZaloAdsGetZaapiGetownedpagesResponse, type ZaloAdsGrantedMemberItemDto, ZaloAdsImageRatio, type ZaloAdsImageRatioValue, ZaloAdsIntegrationManager, type ZaloAdsIntegrationManagerOptions, type ZaloAdsLeadSignalAudienceTargetingDto, type ZaloAdsLeadSignalOaItem, type ZaloAdsListAgencyCustomersWithBudgetRequest, type ZaloAdsListAgencyCustomersWithBudgetResponse, type ZaloAdsListAutomatedRulesRequest, type ZaloAdsListAutomatedRulesResponse, type ZaloAdsListConversionNamesRequest, type ZaloAdsListConversionNamesResponse, type ZaloAdsListCustomReportsRequest, type ZaloAdsListCustomReportsResponse, type ZaloAdsListFlowsByOfficialAccountRequest, type ZaloAdsListFlowsByOfficialAccountResponse, type ZaloAdsListFormsByOfficialAccountRequest, type ZaloAdsListFormsByOfficialAccountResponse, type ZaloAdsListLeadSignalOasResponse, type ZaloAdsListMiniPagesByTemplateRequest, type ZaloAdsListMiniPagesByTemplateResponse, type ZaloAdsListPersonalPixelLabelsRequest, type ZaloAdsListPersonalPixelLabelsResponse, type ZaloAdsListReportFiltersRequest, type ZaloAdsListReportFiltersResponse, type ZaloAdsLookalikeAudienceTargetingDto, type ZaloAdsLpNewsButtonDto, type ZaloAdsLpNewsItemDto, type ZaloAdsMediaSavePayloadDto, type ZaloAdsMediaSaveSettingsDto, type ZaloAdsMemberFileItemDto, ZaloAdsMessageAdUpdateDataDto, type ZaloAdsMessageOaEventAudienceTargetingDto, type ZaloAdsMessageOaLeadAudienceTargetingDto, type ZaloAdsMessagePersonalEventAudienceTargetingDto, type ZaloAdsNotifyHeaderItemDto, ZaloAdsOsId, type ZaloAdsOsIdValue, type ZaloAdsOwnedArticleItemDto, type ZaloAdsOwnedPageExtraInfoDto, type ZaloAdsOwnedPageItemDto, type ZaloAdsOwnedPageLocationDto, type ZaloAdsPageConfigDto, type ZaloAdsPaymentTransactionItemDto, type ZaloAdsPhoneAudienceTargetingDto, type ZaloAdsPostApiAdEstimateaudienceRequest, type ZaloAdsPostApiAdEstimateaudienceResponse, type ZaloAdsPostApiMediaSaveRequest, type ZaloAdsPostApiMediaSaveResponse, type ZaloAdsPostApiMemberUploadImageRequest, type ZaloAdsPostApiMemberUploadImageResponse, type ZaloAdsPostZaapiDeleteadRequest, type ZaloAdsPostZaapiDeleteadResponse, ZaloAdsPriceLimitType, type ZaloAdsPriceLimitTypeValue, ZaloAdsPriceType, type ZaloAdsPriceTypeValue, ZaloAdsProvinceCode, type ZaloAdsProvinceCodeValue, ZaloAdsRegionId, type ZaloAdsRegionIdValue, type ZaloAdsRenameCampaignRequest, type ZaloAdsRenameCampaignResponse, ZaloAdsSdk, type ZaloAdsSdkOptions, ZaloAdsService, type ZaloAdsSpellCheckIssueDto, type ZaloAdsSpellCheckViolationDto, ZaloAdsSpendingMethod, type ZaloAdsSpendingMethodValue, type ZaloAdsStandardEventItemDto, type ZaloAdsUniqueUserReportDataDto, type ZaloAdsUpdateArticleAdRequest, type ZaloAdsUpdateArticleAdResponse, type ZaloAdsUpdateAutomatedRuleRequest, type ZaloAdsUpdateAutomatedRuleResponse, type ZaloAdsUpdateCommerceAdRequest, type ZaloAdsUpdateCommerceAdResponse, type ZaloAdsUpdateDisplayAdRequest, type ZaloAdsUpdateDisplayAdResponse, type ZaloAdsUpdateEcommerceAdRequest, type ZaloAdsUpdateEcommerceAdResponse, type ZaloAdsUpdateFlowRequest, type ZaloAdsUpdateFlowResponse, type ZaloAdsUpdateFormAdRequest, type ZaloAdsUpdateFormAdResponse, ZaloAdsUpdateMessageAdRequest, ZaloAdsUpdateMessageAdResponse, type ZaloAdsUpdateNewAdsRequest, type ZaloAdsUpdateNewAdsResponse, type ZaloAdsUpdateOaAdRequest, type ZaloAdsUpdateOaAdResponse, type ZaloAdsUpdateOfficialAccountAdRequest, type ZaloAdsUpdateOfficialAccountAdResponse, type ZaloAdsUpdatePostAdRequest, type ZaloAdsUpdatePostAdResponse, ZaloAdsUpdateVideoAdRequest, ZaloAdsUpdateVideoAdResponse, type ZaloAdsUpdateWebsiteAdRequest, type ZaloAdsUpdateWebsiteAdResponse, type ZaloAdsUploadCustomAudiencePhoneListRequest, type ZaloAdsUploadCustomAudiencePhoneListResponse, type ZaloAdsUploadVideoRequest, type ZaloAdsUploadVideoResponse, type ZaloAdsUpsertCustomReportRequest, type ZaloAdsUpsertCustomReportResponse, ZaloAdsUseConversion, type ZaloAdsUseConversionValue, ZaloAdsVideoSrc, type ZaloAdsVideoSrcValue, type ZaloAdsWhoamiProfile, ZaloAdsXTemplates, type ZaloAdsXTemplatesValue, type ZaloAdsZaapiCampaignReportItemDto, ZaloAudiencesService, ZaloAudiencesValidator, type ZaloAuthDomain, ZaloAuthManager, ZaloAutomatedRulesService, ZaloAutomatedRulesValidator, ZaloCampaignsService, ZaloCampaignsValidator, type ZaloChatWidgetGetChatWidgetLoginConfigRequest, type ZaloChatWidgetGetChatWidgetLoginConfigResponse, type ZaloChatWidgetGetLoginConfigRequest, type ZaloChatWidgetGetLoginConfigResponse, ZaloChatWidgetService, ZaloConversionsService, ZaloConversionsValidator, type ZaloCreateFormCleanPayload, type ZaloCreateFormRequestInput, type ZaloDomainSession, ZaloFlowsService, ZaloFlowsValidator, type ZaloFormQuestionAnswerInput, type ZaloFormQuestionInput, type ZaloFormSectionInput, type ZaloFormSessionProfile, type ZaloFormsAudienceExclusionTargetingItem, type ZaloFormsAuthSessionOaItem, type ZaloFormsConversationLeadItem, type ZaloFormsDisableFormLeadNotificationRequest, type ZaloFormsDisableFormLeadNotificationResponse, type ZaloFormsEnableFormLeadNotificationRequest, type ZaloFormsEnableFormLeadNotificationResponse, type ZaloFormsExportFormLeadReportRequest, type ZaloFormsExportFormLeadReportResponse, type ZaloFormsGetAuthSessionResponse, type ZaloFormsLeadAnswerItem, type ZaloFormsLeadItem, type ZaloFormsListAudienceExclusionTargetingRequest, type ZaloFormsListAudienceExclusionTargetingResponse, type ZaloFormsListConversationLeadsRequest, type ZaloFormsListConversationLeadsResponse, type ZaloFormsListFormLeadsRequest, type ZaloFormsListFormLeadsResponse, type ZaloFormsListManagedFormsByOfficialAccountRequest, type ZaloFormsListManagedFormsByOfficialAccountResponse, type ZaloFormsListScenariosByOfficialAccountRequest, type ZaloFormsListScenariosByOfficialAccountResponse, type ZaloFormsListSimpleFormsByOfficialAccountRequest, type ZaloFormsListSimpleFormsByOfficialAccountResponse, type ZaloFormsScenarioItem, ZaloFormsService, type ZaloFormsTrackManageFormEventRequest, type ZaloFormsTrackManageFormEventResponse, type ZaloFormsUpdateFormLeadNotificationIntervalRequest, type ZaloFormsUpdateFormLeadNotificationIntervalResponse, ZaloFormsValidator, type ZaloInstantPageActive, ZaloInstantPageBlockType, ZaloInstantPageSharePermission, type ZaloInstantPageSharePermissionValue, type ZaloInstantPageStatus, type ZaloInstantPagesCloneInstantPageRequest, type ZaloInstantPagesCloneInstantPageResponse, type ZaloInstantPagesCreateInstantPageRequest, type ZaloInstantPagesCreateInstantPageResponse, type ZaloInstantPagesFormRecordItem, type ZaloInstantPagesGetInstantPageDetailRequest, type ZaloInstantPagesGetInstantPageDetailResponse, type ZaloInstantPagesGetInstantPageSharedUserRequest, type ZaloInstantPagesGetInstantPageSharedUserResponse, type ZaloInstantPagesListInstantPageEditHistoryRequest, type ZaloInstantPagesListInstantPageEditHistoryResponse, type ZaloInstantPagesListInstantPageFormRecordsRequest, type ZaloInstantPagesListInstantPageFormRecordsResponse, type ZaloInstantPagesListInstantPageLeadsRequest, type ZaloInstantPagesListInstantPageLeadsResponse, type ZaloInstantPagesListInstantPageSharesRequest, type ZaloInstantPagesListInstantPageSharesResponse, type ZaloInstantPagesListInstantPageUsersRequest, type ZaloInstantPagesListInstantPageUsersResponse, type ZaloInstantPagesListMiniPageTemplatesRequest, type ZaloInstantPagesListMiniPageTemplatesResponse, type ZaloInstantPagesListOfficialAccountsRequest, type ZaloInstantPagesListOfficialAccountsResponse, type ZaloInstantPagesOfficialAccountItem, type ZaloInstantPagesSearchInstantPagesRequest, type ZaloInstantPagesSearchInstantPagesResponse, ZaloInstantPagesService, type ZaloInstantPagesShareMemberDto, type ZaloInstantPagesUpdateInstantPageRequest, type ZaloInstantPagesUpdateInstantPageResponse, type ZaloInstantPagesUpdateInstantPageSharesRequest, type ZaloInstantPagesUpdateInstantPageSharesResponse, type ZaloInstantPagesUpsertInstantPageFormRequest, type ZaloInstantPagesUpsertInstantPageFormResponse, ZaloInstantPagesValidator, type ZaloIntegrationCredentials, type ZaloIntegrationVerificationResult, ZaloMediaService, ZaloMediaValidator, type ZaloPlaySessionPayload, type ZaloProfileAdsAdministrativeItem, type ZaloProfileAdsCreateOaPageRequest, type ZaloProfileAdsCreateOaPageResponse, type ZaloProfileAdsGetDistrictsRequest, type ZaloProfileAdsGetDistrictsResponse, type ZaloProfileAdsGetProvincesResponse, type ZaloProfileAdsProvinceId, ZaloProfileAdsService, type ZaloProfileAdsSubCategoryId, type ZaloProfileAdsUploadOaAvatarRequest, type ZaloProfileAdsUploadOaAvatarResponse, type ZaloProfileAdsUploadOaCoverRequest, type ZaloProfileAdsUploadOaCoverResponse, ZaloProfileAdsValidator, type ZaloRedisLikeClient, ZaloReportsService, ZaloReportsValidator, type ZaloSdkAuth, type ZaloSdkAuthContext, ZaloSdkError, ZaloSdkHttpClient, type ZaloSessionStore, type ZaloSsoAuthOptions, type ZaloUploadAndSaveImageRequest, type ZaloUploadAndSaveImageResult, type ZaloUploadAndSaveVideoRequest, type ZaloUploadAndSaveVideoResult, type ZaloWidgetAPIGetOfficialAccountInfoRequest, type ZaloWidgetAPIGetOfficialAccountInfoResponse, type ZaloWidgetAPIGetWidgetUserProfileRequest, type ZaloWidgetAPIGetWidgetUserProfileResponse, type ZaloWidgetAPIListStickerCategoriesRequest, type ZaloWidgetAPIListStickerCategoriesResponse, type ZaloWidgetAPIListStickersByCategoryRequest, type ZaloWidgetAPIListStickersByCategoryResponse, ZaloWidgetApiService, computeZpsidFingerprint, createZaloSsoAuth, decodePlaySessionJwt, ZaloAdsSdk as default, defaultSharedMemorySessionStore, deriveAccountKeyFromZpsid, parseZaloCookieInput, validateChangeCampaignStatusParams, validateCloneInstantPageRequest, validateCreateCampaignPayload, validateCreateCustomAudienceRequest, validateCreateFlowRequest, validateCreateFormEventAudienceRequest, validateCreateFormRequest, validateCreateInstantPageRequest, validateCreateLookalikeAudienceRequest, validateCreateMessageOaEventAudienceRequest, validateCreateMessagePersonalEventAudienceRequest, validateCreateOaPageRequest, validateCreatePhoneAudienceRequest, validateCreateSavedAudienceRequest, validateCropCoordinates, validateDateRangeReportRequest, validateDuplicateAdParams, validateEstimateAudienceRequest, validateGetInstantPageDetailRequest, validateGetInstantPageSharedUserRequest, validateListFlowsByOfficialAccountRequest, validateListFormLeadsRequest, validateListFormsByOfficialAccountRequest, validateListInstantPageEditHistoryRequest, validateListInstantPageFormRecordsRequest, validateListInstantPageLeadsRequest, validateListInstantPageSharesRequest, validateListInstantPageUsersRequest, validateListMiniPageTemplatesRequest, validateListOfficialAccountsRequest, validateRenameCampaignParams, validateSaveMediaRequest, validateSearchInstantPagesRequest, validateToggleLeadNotificationRequest, validateUpdateAdPayload, validateUpdateFlowRequest, validateUpdateInstantPageRequest, validateUpdateInstantPageSharesRequest, validateUpdateLeadNotificationIntervalRequest, validateUploadCustomAudiencePhoneListRequest, validateUploadMediaRequest, validateUpsertCustomReportRequest, validateUpsertInstantPageFormRequest };
6855
+ export { ALLOWED_CTAS_PER_AD_TYPE, ALL_ZALO_ADS_DOMAINS, AutomatedRuleActionTypeEnum, AutomatedRuleConditionFieldEnum, AutomatedRuleFrequencyEnum, AutomatedRuleOperatorEnum, AutomatedRuleScopeEnum, AutomatedRuleTimeRangeEnum, type AutomatedRuleValidationResult, type BodyType, type CampaignValidationResult, type CleanDateRangeReport, ConversionLabelEnum, ConversionUrlTypeEnum, type ConversionValidationResult, type DateRangeReportQuery, type FileDownloadResponse, type FileInput, type HttpMethod, type HydrateInstantPageOptions, type InstantPageBlock, type InstantPageCallHotlineBlock, type InstantPageCanvas, type InstantPageCarouselBlock, type InstantPageConsentNoticeBlock, type InstantPageCountdownBlock, type InstantPageDefaultMessageBlock, InstantPageFactory, type InstantPageFooterBlock, type InstantPageFormAddressBlock, type InstantPageFormNameBlock, type InstantPageFormPhoneBlock, type InstantPageHeroMediaBlock, type InstantPageKeyValueTableBlock, type InstantPageProductTitlePriceBlock, type InstantPageProductVariantBlock, type InstantPageQuantityBlock, type InstantPageQuickQuestionsBlock, type InstantPageRichTextBlock, type InstantPageShopDescriptionBlock, type InstantPageShopInfoBlock, type InstantPageStickyButtonBlock, MAX_REPORT_RANGE_MS, MAX_REPORT_RANGE_SECONDS, type MediaValidationResult, MemoryZaloSessionStore, type MemoryZaloSessionStoreOptions, type OperationDefinition, RedisZaloSessionStore, type RedisZaloSessionStoreOptions, type RequestOptions, TieredZaloSessionStore, type TieredZaloSessionStoreOptions, VALID_AD_TYPES, VALID_CAMPAIGN_TYPES, VIETNAM_PHONE_REGEX, type ValidateAdOptions, type ValidateCampaignOptions, type ValidateImageInput, type ValidateUploadMediaOptions, type ValidateVideoInput, type ValidationResult, ZALO_NEW_REGION_PROVINCE_CODES, ZALO_PROFILE_ADS_PROVINCES, ZALO_PROFILE_ADS_SUB_CATEGORIES, ZALO_PROVINCE_MERGE_MAPPING, ZALO_REGION_PROVINCE_CODES, type ZaloAccountScope, ZaloAccountService, type ZaloAdsAccessorItemDto, type ZaloAdsAccountAgencyInfoDto, ZaloAdsIntegrationManager as ZaloAdsAccountPool, ZaloAdsActionType, type ZaloAdsAdAppInfoSettingsDto, type ZaloAdsAdImageSettingsDto, type ZaloAdsAdInfoSettingsDto, type ZaloAdsAdLocationSettingsDto, type ZaloAdsAdMultiImageItemDto, type ZaloAdsAdMutationResultDto, type ZaloAdsAdPriceSettingsDto, type ZaloAdsAdReportItemDto, type ZaloAdsAdSettingsDto, type ZaloAdsAdTargetingLocationContainerDto, type ZaloAdsAdTargetingProvinceItemDto, type ZaloAdsAdTargetingRegionItemDto, type ZaloAdsAdTargetingSettingsDto, type ZaloAdsAdUpdatePayloadDto, type ZaloAdsAdZVideoSettingsDto, ZaloAdsAgeRangeId, type ZaloAdsAgencyEmployeeItemDto, type ZaloAdsAutomatedRuleActionDto, type ZaloAdsAutomatedRuleAppliedItemDto, type ZaloAdsAutomatedRuleConditionDto, type ZaloAdsAutomatedRuleScheduleDto, ZaloAdsBudgetScheduleType, type ZaloAdsBudgetScheduleTypeValue, type ZaloAdsCampaignCreatePayloadDto, type ZaloAdsCampaignDetailExtendDto, type ZaloAdsCampaignReportItemDto, ZaloAdsCampaignStatus, type ZaloAdsCampaignStatusValue, type ZaloAdsChangeAutomatedRuleStatusRequest, type ZaloAdsChangeAutomatedRuleStatusResponse, type ZaloAdsChangeCampaignStatusRequest, type ZaloAdsChangeCampaignStatusResponse, type ZaloAdsClientRequest, type ZaloAdsCommerceFormAudienceTargetingDto, type ZaloAdsConversionElementSelectorDto, type ZaloAdsConversionItemDto, type ZaloAdsConversionNameItemDto, type ZaloAdsCreateArticleCampaignPayloadDto, type ZaloAdsCreateArticleCampaignRequest, type ZaloAdsCreateArticleCampaignResponse, type ZaloAdsCreateAutomatedRuleRequest, type ZaloAdsCreateAutomatedRuleResponse, type ZaloAdsCreateCommerceCampaignPayloadDto, type ZaloAdsCreateCommerceCampaignRequest, type ZaloAdsCreateCommerceCampaignResponse, type ZaloAdsCreateCommerceFormAudienceRequest, type ZaloAdsCreateCommerceFormAudienceResponse, type ZaloAdsCreateConversionRequest, type ZaloAdsCreateConversionResponse, type ZaloAdsCreateCustomAudienceRequest, type ZaloAdsCreateCustomAudienceResponse, type ZaloAdsCreateDisplayCampaignPayloadDto, type ZaloAdsCreateDisplayCampaignRequest, type ZaloAdsCreateDisplayCampaignResponse, type ZaloAdsCreateEcommerceCampaignRequest, type ZaloAdsCreateEcommerceCampaignResponse, ZaloAdsCreateFlowRequest, ZaloAdsCreateFlowResponse, type ZaloAdsCreateFormCampaignPayloadDto, type ZaloAdsCreateFormCampaignRequest, type ZaloAdsCreateFormCampaignResponse, type ZaloAdsCreateFormEventAudienceRequest, type ZaloAdsCreateFormEventAudienceResponse, type ZaloAdsCreateFormLeadAudienceRequest, type ZaloAdsCreateFormLeadAudienceResponse, type ZaloAdsCreateFormPayloadDto, type ZaloAdsCreateFormRequest, type ZaloAdsCreateFormResponse, type ZaloAdsCreateLeadSignalAudienceRequest, type ZaloAdsCreateLeadSignalAudienceResponse, type ZaloAdsCreateLookalikeAudienceRequest, type ZaloAdsCreateLookalikeAudienceResponse, type ZaloAdsCreateMessageCampaignPayloadDto, type ZaloAdsCreateMessageCampaignRequest, type ZaloAdsCreateMessageCampaignResponse, type ZaloAdsCreateMessageOaEventAudienceRequest, type ZaloAdsCreateMessageOaEventAudienceResponse, type ZaloAdsCreateMessageOaLeadAudienceRequest, type ZaloAdsCreateMessageOaLeadAudienceResponse, type ZaloAdsCreateMessagePersonalEventAudienceRequest, type ZaloAdsCreateMessagePersonalEventAudienceResponse, type ZaloAdsCreateOaCampaignRequest, type ZaloAdsCreateOaCampaignResponse, type ZaloAdsCreateOfficialAccountCampaignPayloadDto, type ZaloAdsCreateOfficialAccountCampaignRequest, type ZaloAdsCreateOfficialAccountCampaignResponse, type ZaloAdsCreatePhoneAudienceRequest, type ZaloAdsCreatePhoneAudienceResponse, ZaloAdsCreatePostCampaignRequest, ZaloAdsCreatePostCampaignResponse, type ZaloAdsCreateSavedAudienceRequest, type ZaloAdsCreateSavedAudienceResponse, type ZaloAdsCreateSpellCheckV3JobRequest, type ZaloAdsCreateSpellCheckV3JobResponse, type ZaloAdsCreateVideoCampaignPayloadDto, type ZaloAdsCreateVideoCampaignRequest, type ZaloAdsCreateVideoCampaignResponse, type ZaloAdsCreateWebsiteCampaignPayloadDto, type ZaloAdsCreateWebsiteCampaignRequest, type ZaloAdsCreateWebsiteCampaignResponse, type ZaloAdsDeleteAutomatedRuleRequest, type ZaloAdsDeleteAutomatedRuleResponse, type ZaloAdsDeleteCampaignRequest, type ZaloAdsDeleteCampaignResponse, type ZaloAdsDeleteConversionRequest, type ZaloAdsDeleteConversionResponse, type ZaloAdsDeleteCustomAudienceRequest, type ZaloAdsDeleteCustomAudienceResponse, type ZaloAdsDeleteCustomReportRequest, type ZaloAdsDeleteCustomReportResponse, ZaloAdsDeliveryType, type ZaloAdsDeliveryTypeValue, type ZaloAdsDomain, type ZaloAdsDownloadReportRequest, type ZaloAdsDownloadReportResponse, type ZaloAdsDuplicateAdRequest, type ZaloAdsDuplicateAdResponse, type ZaloAdsFileGroupItemDto, ZaloAdsFlowButtonDto, ZaloAdsFlowChildMessageDto, ZaloAdsFlowMessageDto, type ZaloAdsFormAnswerDto, type ZaloAdsFormEventAudienceTargetingDto, type ZaloAdsFormLeadAudienceTargetingDto, type ZaloAdsFormQuestionDto, type ZaloAdsFormQuestionUiDto, type ZaloAdsFormSectionContentDto, type ZaloAdsFormSectionDto, type ZaloAdsFormSectionImageItemDto, type ZaloAdsFormSectionTableItemDto, type ZaloAdsGetAdByIdRequest, type ZaloAdsGetAdByIdResponse, type ZaloAdsGetAdChangeLogRequest, type ZaloAdsGetAdChangeLogResponse, type ZaloAdsGetApiAdGetlistadadvancetargetingRequest, type ZaloAdsGetApiAdGetlistadadvancetargetingResponse, type ZaloAdsGetApiBaAccountAllaccessorsRequest, type ZaloAdsGetApiBaAccountAllaccessorsResponse, type ZaloAdsGetApiBaAccountAllgrantedmembersRequest, type ZaloAdsGetApiBaAccountAllgrantedmembersResponse, type ZaloAdsGetApiBaAgencyEmployeesRequest, type ZaloAdsGetApiBaAgencyEmployeesResponse, type ZaloAdsGetApiConversionAllRequest, type ZaloAdsGetApiConversionAllResponse, type ZaloAdsGetApiConversionStandardEventsRequest, type ZaloAdsGetApiConversionStandardEventsResponse, type ZaloAdsGetApiCustomAudienceAllRequest, type ZaloAdsGetApiCustomAudienceAllResponse, type ZaloAdsGetApiFilegroupsRequest, type ZaloAdsGetApiFilegroupsResponse, type ZaloAdsGetApiLpNewsRequest, type ZaloAdsGetApiLpNewsResponse, type ZaloAdsGetApiMediaItemsRequest, type ZaloAdsGetApiMediaItemsResponse, type ZaloAdsGetApiMemberFilesRequest, type ZaloAdsGetApiMemberFilesResponse, type ZaloAdsGetApiNotifiesHeaderRequest, type ZaloAdsGetApiNotifiesHeaderResponse, type ZaloAdsGetApiPaymentTransactionHistoryRequest, type ZaloAdsGetApiPaymentTransactionHistoryResponse, type ZaloAdsGetApiPlaceGetalldistrictsRequest, type ZaloAdsGetApiPlaceGetalldistrictsResponse, type ZaloAdsGetApiSpellCheckV2Request, type ZaloAdsGetApiSpellCheckV2Response, type ZaloAdsGetApiWhoamiRequest, type ZaloAdsGetApiWhoamiResponse, type ZaloAdsGetAutomatedRuleDetailRequest, type ZaloAdsGetAutomatedRuleDetailResponse, type ZaloAdsGetAutomatedRuleHistoryRequest, type ZaloAdsGetAutomatedRuleHistoryResponse, type ZaloAdsGetDemographicsReportRequest, type ZaloAdsGetDemographicsReportResponse, type ZaloAdsGetReportOverviewRequest, type ZaloAdsGetReportOverviewResponse, type ZaloAdsGetReportapiV2AdsRequest, type ZaloAdsGetReportapiV2AdsResponse, type ZaloAdsGetReportapiV2CampaignsRequest, type ZaloAdsGetReportapiV2CampaignsResponse, type ZaloAdsGetReportapiV2UniqueUserRequest, type ZaloAdsGetReportapiV2UniqueUserResponse, type ZaloAdsGetReportapiV3CampaignsRequest, type ZaloAdsGetReportapiV3CampaignsResponse, type ZaloAdsGetSpellCheckV3JobRequest, type ZaloAdsGetSpellCheckV3JobResponse, type ZaloAdsGetZaapiCampaignReportcampaignRequest, type ZaloAdsGetZaapiCampaignReportcampaignResponse, type ZaloAdsGetZaapiCheckcamphasmanyadsRequest, type ZaloAdsGetZaapiCheckcamphasmanyadsResponse, type ZaloAdsGetZaapiGetadsfromcampaignidRequest, type ZaloAdsGetZaapiGetadsfromcampaignidResponse, type ZaloAdsGetZaapiGetallpagesRequest, type ZaloAdsGetZaapiGetallpagesResponse, type ZaloAdsGetZaapiGetownedarticlesRequest, type ZaloAdsGetZaapiGetownedarticlesResponse, type ZaloAdsGetZaapiGetownedpagesRequest, type ZaloAdsGetZaapiGetownedpagesResponse, type ZaloAdsGrantedMemberItemDto, ZaloAdsImageRatio, type ZaloAdsImageRatioValue, ZaloAdsIntegrationManager, type ZaloAdsIntegrationManagerOptions, type ZaloAdsLeadSignalAudienceTargetingDto, type ZaloAdsLeadSignalOaItem, type ZaloAdsListAgencyCustomersWithBudgetRequest, type ZaloAdsListAgencyCustomersWithBudgetResponse, type ZaloAdsListAutomatedRulesRequest, type ZaloAdsListAutomatedRulesResponse, type ZaloAdsListConversionNamesRequest, type ZaloAdsListConversionNamesResponse, type ZaloAdsListCustomReportsRequest, type ZaloAdsListCustomReportsResponse, type ZaloAdsListFlowsByOfficialAccountRequest, type ZaloAdsListFlowsByOfficialAccountResponse, type ZaloAdsListFormsByOfficialAccountRequest, type ZaloAdsListFormsByOfficialAccountResponse, type ZaloAdsListLeadSignalOasResponse, type ZaloAdsListMiniPagesByTemplateRequest, type ZaloAdsListMiniPagesByTemplateResponse, type ZaloAdsListPersonalPixelLabelsRequest, type ZaloAdsListPersonalPixelLabelsResponse, type ZaloAdsListReportFiltersRequest, type ZaloAdsListReportFiltersResponse, type ZaloAdsLookalikeAudienceTargetingDto, type ZaloAdsLpNewsButtonDto, type ZaloAdsLpNewsItemDto, type ZaloAdsMediaSavePayloadDto, type ZaloAdsMediaSaveSettingsDto, type ZaloAdsMemberFileItemDto, ZaloAdsMessageAdUpdateDataDto, type ZaloAdsMessageOaEventAudienceTargetingDto, type ZaloAdsMessageOaLeadAudienceTargetingDto, type ZaloAdsMessagePersonalEventAudienceTargetingDto, type ZaloAdsNotifyHeaderItemDto, ZaloAdsOsId, type ZaloAdsOsIdValue, type ZaloAdsOwnedArticleItemDto, type ZaloAdsOwnedPageExtraInfoDto, type ZaloAdsOwnedPageItemDto, type ZaloAdsOwnedPageLocationDto, type ZaloAdsPageConfigDto, type ZaloAdsPaymentTransactionItemDto, type ZaloAdsPhoneAudienceTargetingDto, type ZaloAdsPostApiAdEstimateaudienceRequest, type ZaloAdsPostApiAdEstimateaudienceResponse, type ZaloAdsPostApiMediaSaveRequest, type ZaloAdsPostApiMediaSaveResponse, type ZaloAdsPostApiMemberUploadImageRequest, type ZaloAdsPostApiMemberUploadImageResponse, type ZaloAdsPostZaapiDeleteadRequest, type ZaloAdsPostZaapiDeleteadResponse, ZaloAdsPriceLimitType, type ZaloAdsPriceLimitTypeValue, ZaloAdsPriceType, type ZaloAdsPriceTypeValue, ZaloAdsProvinceCode, type ZaloAdsProvinceCodeValue, ZaloAdsRegionId, type ZaloAdsRegionIdValue, type ZaloAdsRenameCampaignRequest, type ZaloAdsRenameCampaignResponse, ZaloAdsSdk, type ZaloAdsSdkOptions, ZaloAdsService, type ZaloAdsSpellCheckIssueDto, type ZaloAdsSpellCheckViolationDto, ZaloAdsSpendingMethod, type ZaloAdsSpendingMethodValue, type ZaloAdsStandardEventItemDto, type ZaloAdsUniqueUserReportDataDto, type ZaloAdsUpdateArticleAdRequest, type ZaloAdsUpdateArticleAdResponse, type ZaloAdsUpdateAutomatedRuleRequest, type ZaloAdsUpdateAutomatedRuleResponse, type ZaloAdsUpdateCommerceAdRequest, type ZaloAdsUpdateCommerceAdResponse, type ZaloAdsUpdateDisplayAdRequest, type ZaloAdsUpdateDisplayAdResponse, type ZaloAdsUpdateEcommerceAdRequest, type ZaloAdsUpdateEcommerceAdResponse, type ZaloAdsUpdateFlowRequest, type ZaloAdsUpdateFlowResponse, type ZaloAdsUpdateFormAdRequest, type ZaloAdsUpdateFormAdResponse, ZaloAdsUpdateMessageAdRequest, ZaloAdsUpdateMessageAdResponse, type ZaloAdsUpdateNewAdsRequest, type ZaloAdsUpdateNewAdsResponse, type ZaloAdsUpdateOaAdRequest, type ZaloAdsUpdateOaAdResponse, type ZaloAdsUpdateOfficialAccountAdRequest, type ZaloAdsUpdateOfficialAccountAdResponse, type ZaloAdsUpdatePostAdRequest, type ZaloAdsUpdatePostAdResponse, ZaloAdsUpdateVideoAdRequest, ZaloAdsUpdateVideoAdResponse, type ZaloAdsUpdateWebsiteAdRequest, type ZaloAdsUpdateWebsiteAdResponse, type ZaloAdsUploadCustomAudiencePhoneListRequest, type ZaloAdsUploadCustomAudiencePhoneListResponse, type ZaloAdsUploadVideoRequest, type ZaloAdsUploadVideoResponse, type ZaloAdsUpsertCustomReportRequest, type ZaloAdsUpsertCustomReportResponse, ZaloAdsUseConversion, type ZaloAdsUseConversionValue, ZaloAdsVideoSrc, type ZaloAdsVideoSrcValue, type ZaloAdsWhoamiProfile, ZaloAdsXTemplates, type ZaloAdsXTemplatesValue, type ZaloAdsZaapiCampaignReportItemDto, ZaloAudiencesService, ZaloAudiencesValidator, type ZaloAuthDomain, ZaloAuthManager, ZaloAutomatedRulesService, ZaloAutomatedRulesValidator, ZaloCampaignsService, ZaloCampaignsValidator, type ZaloChatWidgetGetChatWidgetLoginConfigRequest, type ZaloChatWidgetGetChatWidgetLoginConfigResponse, type ZaloChatWidgetGetLoginConfigRequest, type ZaloChatWidgetGetLoginConfigResponse, ZaloChatWidgetService, ZaloConversionsService, ZaloConversionsValidator, type ZaloCreateFormCleanPayload, type ZaloCreateFormRequestInput, type ZaloDomainSession, ZaloFlowsService, ZaloFlowsValidator, type ZaloFormQuestionAnswerInput, type ZaloFormQuestionInput, type ZaloFormSectionInput, type ZaloFormSessionProfile, type ZaloFormsAudienceExclusionTargetingItem, type ZaloFormsAuthSessionOaItem, type ZaloFormsConversationLeadItem, type ZaloFormsDisableFormLeadNotificationRequest, type ZaloFormsDisableFormLeadNotificationResponse, type ZaloFormsEnableFormLeadNotificationRequest, type ZaloFormsEnableFormLeadNotificationResponse, type ZaloFormsExportFormLeadReportRequest, type ZaloFormsExportFormLeadReportResponse, type ZaloFormsGetAuthSessionResponse, type ZaloFormsLeadAnswerItem, type ZaloFormsLeadItem, type ZaloFormsListAudienceExclusionTargetingRequest, type ZaloFormsListAudienceExclusionTargetingResponse, type ZaloFormsListConversationLeadsRequest, type ZaloFormsListConversationLeadsResponse, type ZaloFormsListFormLeadsRequest, type ZaloFormsListFormLeadsResponse, type ZaloFormsListManagedFormsByOfficialAccountRequest, type ZaloFormsListManagedFormsByOfficialAccountResponse, type ZaloFormsListScenariosByOfficialAccountRequest, type ZaloFormsListScenariosByOfficialAccountResponse, type ZaloFormsListSimpleFormsByOfficialAccountRequest, type ZaloFormsListSimpleFormsByOfficialAccountResponse, type ZaloFormsScenarioItem, ZaloFormsService, type ZaloFormsTrackManageFormEventRequest, type ZaloFormsTrackManageFormEventResponse, type ZaloFormsUpdateFormLeadNotificationIntervalRequest, type ZaloFormsUpdateFormLeadNotificationIntervalResponse, ZaloFormsValidator, type ZaloInstantPageActive, ZaloInstantPageBlockType, ZaloInstantPageSharePermission, type ZaloInstantPageSharePermissionValue, type ZaloInstantPageStatus, type ZaloInstantPagesCloneInstantPageRequest, type ZaloInstantPagesCloneInstantPageResponse, type ZaloInstantPagesCreateInstantPageRequest, type ZaloInstantPagesCreateInstantPageResponse, type ZaloInstantPagesFormRecordItem, type ZaloInstantPagesGetInstantPageDetailRequest, type ZaloInstantPagesGetInstantPageDetailResponse, type ZaloInstantPagesGetInstantPageSharedUserRequest, type ZaloInstantPagesGetInstantPageSharedUserResponse, type ZaloInstantPagesListInstantPageEditHistoryRequest, type ZaloInstantPagesListInstantPageEditHistoryResponse, type ZaloInstantPagesListInstantPageFormRecordsRequest, type ZaloInstantPagesListInstantPageFormRecordsResponse, type ZaloInstantPagesListInstantPageLeadsRequest, type ZaloInstantPagesListInstantPageLeadsResponse, type ZaloInstantPagesListInstantPageSharesRequest, type ZaloInstantPagesListInstantPageSharesResponse, type ZaloInstantPagesListInstantPageUsersRequest, type ZaloInstantPagesListInstantPageUsersResponse, type ZaloInstantPagesListMiniPageTemplatesRequest, type ZaloInstantPagesListMiniPageTemplatesResponse, type ZaloInstantPagesListOfficialAccountsRequest, type ZaloInstantPagesListOfficialAccountsResponse, type ZaloInstantPagesOfficialAccountItem, type ZaloInstantPagesSearchInstantPagesRequest, type ZaloInstantPagesSearchInstantPagesResponse, ZaloInstantPagesService, type ZaloInstantPagesShareMemberDto, type ZaloInstantPagesUpdateInstantPageRequest, type ZaloInstantPagesUpdateInstantPageResponse, type ZaloInstantPagesUpdateInstantPageSharesRequest, type ZaloInstantPagesUpdateInstantPageSharesResponse, type ZaloInstantPagesUpsertInstantPageFormRequest, type ZaloInstantPagesUpsertInstantPageFormResponse, ZaloInstantPagesValidator, type ZaloIntegrationCredentials, type ZaloIntegrationVerificationResult, type ZaloMediaImage, ZaloMediaService, ZaloMediaValidator, type ZaloPlaySessionPayload, type ZaloProfileAdsAdministrativeItem, type ZaloProfileAdsCreateOaPageRequest, type ZaloProfileAdsCreateOaPageResponse, type ZaloProfileAdsGetDistrictsRequest, type ZaloProfileAdsGetDistrictsResponse, type ZaloProfileAdsGetProvincesResponse, type ZaloProfileAdsProvinceId, ZaloProfileAdsService, type ZaloProfileAdsSubCategoryId, type ZaloProfileAdsUploadOaAvatarRequest, type ZaloProfileAdsUploadOaAvatarResponse, type ZaloProfileAdsUploadOaCoverRequest, type ZaloProfileAdsUploadOaCoverResponse, ZaloProfileAdsValidator, type ZaloRedisLikeClient, ZaloReportsService, ZaloReportsValidator, type ZaloSdkAuth, type ZaloSdkAuthContext, ZaloSdkError, ZaloSdkHttpClient, type ZaloSessionStore, type ZaloSsoAuthOptions, type ZaloUploadAndSaveImageRequest, type ZaloUploadAndSaveImageResult, type ZaloUploadAndSaveVideoRequest, type ZaloUploadAndSaveVideoResult, type ZaloWidgetAPIGetOfficialAccountInfoRequest, type ZaloWidgetAPIGetOfficialAccountInfoResponse, type ZaloWidgetAPIGetWidgetUserProfileRequest, type ZaloWidgetAPIGetWidgetUserProfileResponse, type ZaloWidgetAPIListStickerCategoriesRequest, type ZaloWidgetAPIListStickerCategoriesResponse, type ZaloWidgetAPIListStickersByCategoryRequest, type ZaloWidgetAPIListStickersByCategoryResponse, ZaloWidgetApiService, computeZpsidFingerprint, createZaloSsoAuth, decodePlaySessionJwt, ZaloAdsSdk as default, defaultSharedMemorySessionStore, deriveAccountKeyFromZpsid, parseZaloCookieInput, sanitizeCanvasKeys, validateChangeCampaignStatusParams, validateCloneInstantPageRequest, validateCreateArticleCampaign, validateCreateCampaignPayload, validateCreateCommerceCampaign, validateCreateCustomAudienceRequest, validateCreateDisplayCampaign, validateCreateFlowRequest, validateCreateFormCampaign, validateCreateFormEventAudienceRequest, validateCreateFormRequest, validateCreateInstantPageRequest, validateCreateLookalikeAudienceRequest, validateCreateMessageCampaign, validateCreateMessageOaEventAudienceRequest, validateCreateMessagePersonalEventAudienceRequest, validateCreateOaPageRequest, validateCreateOfficialAccountCampaign, validateCreatePhoneAudienceRequest, validateCreateSavedAudienceRequest, validateCreateVideoCampaign, validateCreateWebsiteCampaign, validateCropCoordinates, validateDateRangeReportRequest, validateDuplicateAdParams, validateEstimateAudienceRequest, validateGetInstantPageDetailRequest, validateGetInstantPageSharedUserRequest, validateInstantPageCanvas, validateListFlowsByOfficialAccountRequest, validateListFormLeadsRequest, validateListFormsByOfficialAccountRequest, validateListInstantPageEditHistoryRequest, validateListInstantPageFormRecordsRequest, validateListInstantPageLeadsRequest, validateListInstantPageSharesRequest, validateListInstantPageUsersRequest, validateListMiniPageTemplatesRequest, validateListOfficialAccountsRequest, validateRenameCampaignParams, validateSaveMediaRequest, validateSearchInstantPagesRequest, validateToggleLeadNotificationRequest, validateUpdateAdPayload, validateUpdateArticleAd, validateUpdateCommerceAd, validateUpdateDisplayAd, validateUpdateFlowRequest, validateUpdateFormAd, validateUpdateInstantPageRequest, validateUpdateInstantPageSharesRequest, validateUpdateLeadNotificationIntervalRequest, validateUpdateMessageAd, validateUpdateOfficialAccountAd, validateUpdateVideoAd, validateUpdateWebsiteAd, validateUploadCustomAudiencePhoneListRequest, validateUploadMediaRequest, validateUpsertCustomReportRequest, validateUpsertInstantPageFormRequest };