@redonvn/zalo-ads-sdk 0.2.14 → 0.2.15
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.mts +166 -1
- package/dist/index.d.ts +166 -1
- package/dist/index.js +749 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +730 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4138,6 +4138,8 @@ declare class ZaloCampaignsService {
|
|
|
4138
4138
|
renameCampaign: typeof validateRenameCampaignParams;
|
|
4139
4139
|
changeStatus: typeof validateChangeCampaignStatusParams;
|
|
4140
4140
|
duplicateAd: typeof validateDuplicateAdParams;
|
|
4141
|
+
validateCropCoordinates: typeof validateCropCoordinates;
|
|
4142
|
+
validateUploadCropAdImage: typeof validateCropCoordinates;
|
|
4141
4143
|
};
|
|
4142
4144
|
static readonly validator: {
|
|
4143
4145
|
createCampaign: typeof validateCreateCampaignPayload;
|
|
@@ -4145,6 +4147,8 @@ declare class ZaloCampaignsService {
|
|
|
4145
4147
|
renameCampaign: typeof validateRenameCampaignParams;
|
|
4146
4148
|
changeStatus: typeof validateChangeCampaignStatusParams;
|
|
4147
4149
|
duplicateAd: typeof validateDuplicateAdParams;
|
|
4150
|
+
validateCropCoordinates: typeof validateCropCoordinates;
|
|
4151
|
+
validateUploadCropAdImage: typeof validateCropCoordinates;
|
|
4148
4152
|
};
|
|
4149
4153
|
constructor(client: ZaloSdkHttpClient);
|
|
4150
4154
|
updateVideoAd(request: ZaloAdsUpdateVideoAdRequest, options?: RequestOptions): Promise<ZaloAdsUpdateVideoAdResponse>;
|
|
@@ -4256,6 +4260,7 @@ declare class ZaloAccountService {
|
|
|
4256
4260
|
declare class ZaloAudiencesService {
|
|
4257
4261
|
protected readonly client: ZaloSdkHttpClient;
|
|
4258
4262
|
static readonly validator: {
|
|
4263
|
+
readonly createCustomAudience: typeof validateCreateCustomAudienceRequest;
|
|
4259
4264
|
readonly createSavedAudience: typeof validateCreateSavedAudienceRequest;
|
|
4260
4265
|
readonly createPhoneAudience: typeof validateCreatePhoneAudienceRequest;
|
|
4261
4266
|
readonly createLookalikeAudience: typeof validateCreateLookalikeAudienceRequest;
|
|
@@ -4263,6 +4268,9 @@ declare class ZaloAudiencesService {
|
|
|
4263
4268
|
readonly createMessageOaEventAudience: typeof validateCreateMessageOaEventAudienceRequest;
|
|
4264
4269
|
readonly createMessagePersonalEventAudience: typeof validateCreateMessagePersonalEventAudienceRequest;
|
|
4265
4270
|
readonly estimateAudience: typeof validateEstimateAudienceRequest;
|
|
4271
|
+
readonly uploadPhoneList: typeof validateUploadCustomAudiencePhoneListRequest;
|
|
4272
|
+
readonly validateUploadPhoneList: typeof validateUploadCustomAudiencePhoneListRequest;
|
|
4273
|
+
readonly validateUploadCustomAudiencePhoneList: typeof validateUploadCustomAudiencePhoneListRequest;
|
|
4266
4274
|
};
|
|
4267
4275
|
constructor(client: ZaloSdkHttpClient);
|
|
4268
4276
|
postApiAdEstimateaudience(request: ZaloAdsPostApiAdEstimateaudienceRequest, options?: RequestOptions): Promise<ZaloAdsPostApiAdEstimateaudienceResponse>;
|
|
@@ -5063,6 +5071,7 @@ declare function validateUpdateInstantPageRequest(input: unknown): ValidationRes
|
|
|
5063
5071
|
declare function validateListInstantPageLeadsRequest(input: unknown): ValidationResult<ZaloInstantPagesListInstantPageLeadsRequest>;
|
|
5064
5072
|
declare function validateListOfficialAccountsRequest(input?: unknown): ValidationResult<ZaloInstantPagesListOfficialAccountsRequest>;
|
|
5065
5073
|
declare function validateUpsertInstantPageFormRequest(input: unknown): ValidationResult<ZaloInstantPagesUpsertInstantPageFormRequest>;
|
|
5074
|
+
declare function validateUpdateInstantPageSharesRequest(input: unknown): ValidationResult<ZaloInstantPagesUpdateInstantPageSharesRequest>;
|
|
5066
5075
|
declare const ZaloInstantPagesValidator: {
|
|
5067
5076
|
validateCreateInstantPage: typeof validateCreateInstantPageRequest;
|
|
5068
5077
|
validateCloneInstantPage: typeof validateCloneInstantPageRequest;
|
|
@@ -5071,6 +5080,8 @@ declare const ZaloInstantPagesValidator: {
|
|
|
5071
5080
|
validateListInstantPageEditHistory: typeof validateListInstantPageEditHistoryRequest;
|
|
5072
5081
|
validateListInstantPageFormRecords: typeof validateListInstantPageFormRecordsRequest;
|
|
5073
5082
|
validateListInstantPageShares: typeof validateListInstantPageSharesRequest;
|
|
5083
|
+
validateUpdateInstantPageShares: typeof validateUpdateInstantPageSharesRequest;
|
|
5084
|
+
validateUpdateShares: typeof validateUpdateInstantPageSharesRequest;
|
|
5074
5085
|
validateListInstantPageUsers: typeof validateListInstantPageUsersRequest;
|
|
5075
5086
|
validateListMiniPageTemplates: typeof validateListMiniPageTemplatesRequest;
|
|
5076
5087
|
validateSearchInstantPages: typeof validateSearchInstantPagesRequest;
|
|
@@ -5176,6 +5187,20 @@ declare function validateListFormLeadsRequest(input: unknown): ValidationResult<
|
|
|
5176
5187
|
labelIds?: string;
|
|
5177
5188
|
isCommerce?: boolean;
|
|
5178
5189
|
}>;
|
|
5190
|
+
/**
|
|
5191
|
+
* Kiểm tra tính hợp lệ của yêu cầu bật/tắt nhận thông báo khách hàng tiềm năng (POST /client/manage/api/manageForm/enable, disable).
|
|
5192
|
+
*/
|
|
5193
|
+
declare function validateToggleLeadNotificationRequest(input: unknown): ValidationResult<{
|
|
5194
|
+
formId: string;
|
|
5195
|
+
}>;
|
|
5196
|
+
/**
|
|
5197
|
+
* Kiểm tra tính hợp lệ của yêu cầu cập nhật chu kỳ thông báo khách hàng tiềm năng (POST /client/manage/api/manageForm/updateInterval).
|
|
5198
|
+
*/
|
|
5199
|
+
declare function validateUpdateLeadNotificationIntervalRequest(input: unknown): ValidationResult<{
|
|
5200
|
+
oaId: string;
|
|
5201
|
+
formId: string;
|
|
5202
|
+
interval: number;
|
|
5203
|
+
}>;
|
|
5179
5204
|
/**
|
|
5180
5205
|
* Gom nhóm toàn bộ Validators cho Form & Lead APIs.
|
|
5181
5206
|
*/
|
|
@@ -5183,6 +5208,10 @@ declare const ZaloFormsValidator: {
|
|
|
5183
5208
|
readonly createForm: typeof validateCreateFormRequest;
|
|
5184
5209
|
readonly listFormsByOfficialAccount: typeof validateListFormsByOfficialAccountRequest;
|
|
5185
5210
|
readonly listFormLeads: typeof validateListFormLeadsRequest;
|
|
5211
|
+
readonly enableLeadNotification: typeof validateToggleLeadNotificationRequest;
|
|
5212
|
+
readonly disableLeadNotification: typeof validateToggleLeadNotificationRequest;
|
|
5213
|
+
readonly updateLeadNotificationInterval: typeof validateUpdateLeadNotificationIntervalRequest;
|
|
5214
|
+
readonly validateLeadNotificationInterval: typeof validateUpdateLeadNotificationIntervalRequest;
|
|
5186
5215
|
};
|
|
5187
5216
|
|
|
5188
5217
|
declare class ZaloFormsService {
|
|
@@ -5191,11 +5220,19 @@ declare class ZaloFormsService {
|
|
|
5191
5220
|
readonly createForm: typeof validateCreateFormRequest;
|
|
5192
5221
|
readonly listFormsByOfficialAccount: typeof validateListFormsByOfficialAccountRequest;
|
|
5193
5222
|
readonly listFormLeads: typeof validateListFormLeadsRequest;
|
|
5223
|
+
readonly enableLeadNotification: typeof validateToggleLeadNotificationRequest;
|
|
5224
|
+
readonly disableLeadNotification: typeof validateToggleLeadNotificationRequest;
|
|
5225
|
+
readonly updateLeadNotificationInterval: typeof validateUpdateLeadNotificationIntervalRequest;
|
|
5226
|
+
readonly validateLeadNotificationInterval: typeof validateUpdateLeadNotificationIntervalRequest;
|
|
5194
5227
|
};
|
|
5195
5228
|
static readonly validator: {
|
|
5196
5229
|
readonly createForm: typeof validateCreateFormRequest;
|
|
5197
5230
|
readonly listFormsByOfficialAccount: typeof validateListFormsByOfficialAccountRequest;
|
|
5198
5231
|
readonly listFormLeads: typeof validateListFormLeadsRequest;
|
|
5232
|
+
readonly enableLeadNotification: typeof validateToggleLeadNotificationRequest;
|
|
5233
|
+
readonly disableLeadNotification: typeof validateToggleLeadNotificationRequest;
|
|
5234
|
+
readonly updateLeadNotificationInterval: typeof validateUpdateLeadNotificationIntervalRequest;
|
|
5235
|
+
readonly validateLeadNotificationInterval: typeof validateUpdateLeadNotificationIntervalRequest;
|
|
5199
5236
|
};
|
|
5200
5237
|
constructor(client: ZaloSdkHttpClient);
|
|
5201
5238
|
/**
|
|
@@ -5239,6 +5276,8 @@ declare class ZaloInstantPagesService {
|
|
|
5239
5276
|
validateListInstantPageEditHistory: typeof validateListInstantPageEditHistoryRequest;
|
|
5240
5277
|
validateListInstantPageFormRecords: typeof validateListInstantPageFormRecordsRequest;
|
|
5241
5278
|
validateListInstantPageShares: typeof validateListInstantPageSharesRequest;
|
|
5279
|
+
validateUpdateInstantPageShares: typeof validateUpdateInstantPageSharesRequest;
|
|
5280
|
+
validateUpdateShares: typeof validateUpdateInstantPageSharesRequest;
|
|
5242
5281
|
validateListInstantPageUsers: typeof validateListInstantPageUsersRequest;
|
|
5243
5282
|
validateListMiniPageTemplates: typeof validateListMiniPageTemplatesRequest;
|
|
5244
5283
|
validateSearchInstantPages: typeof validateSearchInstantPagesRequest;
|
|
@@ -5864,10 +5903,19 @@ declare function validateEstimateAudienceRequest(input: unknown): ValidationResu
|
|
|
5864
5903
|
priceType: number;
|
|
5865
5904
|
number: string;
|
|
5866
5905
|
}>;
|
|
5906
|
+
/**
|
|
5907
|
+
* Kiểm tra tính hợp lệ của tệp danh sách số điện thoại tải lên Zalo Ads (POST /api/ad/uploadPhoneList).
|
|
5908
|
+
*/
|
|
5909
|
+
declare function validateUploadCustomAudiencePhoneListRequest(input: unknown): ValidationResult<ZaloAdsUploadCustomAudiencePhoneListRequest>;
|
|
5910
|
+
/**
|
|
5911
|
+
* Router kiểm tra tính hợp lệ dữ liệu tạo Custom Audience tổng hợp theo caType (POST /api/ad/audience).
|
|
5912
|
+
*/
|
|
5913
|
+
declare function validateCreateCustomAudienceRequest(input: unknown): ValidationResult<ZaloAdsCreateCustomAudienceRequest>;
|
|
5867
5914
|
/**
|
|
5868
5915
|
* Gom nhóm toàn bộ Validators cho Targeting & Audiences APIs.
|
|
5869
5916
|
*/
|
|
5870
5917
|
declare const ZaloAudiencesValidator: {
|
|
5918
|
+
readonly createCustomAudience: typeof validateCreateCustomAudienceRequest;
|
|
5871
5919
|
readonly createSavedAudience: typeof validateCreateSavedAudienceRequest;
|
|
5872
5920
|
readonly createPhoneAudience: typeof validateCreatePhoneAudienceRequest;
|
|
5873
5921
|
readonly createLookalikeAudience: typeof validateCreateLookalikeAudienceRequest;
|
|
@@ -5875,6 +5923,9 @@ declare const ZaloAudiencesValidator: {
|
|
|
5875
5923
|
readonly createMessageOaEventAudience: typeof validateCreateMessageOaEventAudienceRequest;
|
|
5876
5924
|
readonly createMessagePersonalEventAudience: typeof validateCreateMessagePersonalEventAudienceRequest;
|
|
5877
5925
|
readonly estimateAudience: typeof validateEstimateAudienceRequest;
|
|
5926
|
+
readonly uploadPhoneList: typeof validateUploadCustomAudiencePhoneListRequest;
|
|
5927
|
+
readonly validateUploadPhoneList: typeof validateUploadCustomAudiencePhoneListRequest;
|
|
5928
|
+
readonly validateUploadCustomAudiencePhoneList: typeof validateUploadCustomAudiencePhoneListRequest;
|
|
5878
5929
|
};
|
|
5879
5930
|
|
|
5880
5931
|
/**
|
|
@@ -5956,12 +6007,18 @@ declare function validateDuplicateAdParams(params: {
|
|
|
5956
6007
|
adid?: number;
|
|
5957
6008
|
adId?: number;
|
|
5958
6009
|
}): CampaignValidationResult;
|
|
6010
|
+
/**
|
|
6011
|
+
* 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).
|
|
6012
|
+
*/
|
|
6013
|
+
declare function validateCropCoordinates(input: unknown): CampaignValidationResult<ZaloAdsUpdateNewAdsRequest>;
|
|
5959
6014
|
declare const ZaloCampaignsValidator: {
|
|
5960
6015
|
createCampaign: typeof validateCreateCampaignPayload;
|
|
5961
6016
|
updateAd: typeof validateUpdateAdPayload;
|
|
5962
6017
|
renameCampaign: typeof validateRenameCampaignParams;
|
|
5963
6018
|
changeStatus: typeof validateChangeCampaignStatusParams;
|
|
5964
6019
|
duplicateAd: typeof validateDuplicateAdParams;
|
|
6020
|
+
validateCropCoordinates: typeof validateCropCoordinates;
|
|
6021
|
+
validateUploadCropAdImage: typeof validateCropCoordinates;
|
|
5965
6022
|
};
|
|
5966
6023
|
|
|
5967
6024
|
/**
|
|
@@ -6066,4 +6123,112 @@ declare class ZaloConversionsValidator {
|
|
|
6066
6123
|
static validateCreateConversion(payload: any): ConversionValidationResult;
|
|
6067
6124
|
}
|
|
6068
6125
|
|
|
6069
|
-
export { ALLOWED_CTAS_PER_AD_TYPE, ALL_ZALO_ADS_DOMAINS, AutomatedRuleActionTypeEnum, AutomatedRuleConditionFieldEnum, AutomatedRuleFrequencyEnum, AutomatedRuleOperatorEnum, AutomatedRuleScopeEnum, AutomatedRuleTimeRangeEnum, type AutomatedRuleValidationResult, type BodyType, type CampaignValidationResult, ConversionLabelEnum, ConversionUrlTypeEnum, type ConversionValidationResult, type FileDownloadResponse, type FileInput, type HttpMethod, type MediaValidationResult, MemoryZaloSessionStore, type MemoryZaloSessionStoreOptions, type OperationDefinition, RedisZaloSessionStore, type RedisZaloSessionStoreOptions, type RequestOptions, TieredZaloSessionStore, type TieredZaloSessionStoreOptions, VALID_AD_TYPES, VALID_CAMPAIGN_TYPES, type ValidateAdOptions, type ValidateCampaignOptions, type ValidateImageInput, type ValidateVideoInput, type ValidationResult, ZALO_NEW_REGION_PROVINCE_CODES, ZALO_PROVINCE_MERGE_MAPPING, ZALO_REGION_PROVINCE_CODES, 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 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 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, 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, type ZaloRedisLikeClient, ZaloReportsService, 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, validateCreateFlowRequest, validateCreateFormEventAudienceRequest, validateCreateFormRequest, validateCreateInstantPageRequest, validateCreateLookalikeAudienceRequest, validateCreateMessageOaEventAudienceRequest, validateCreateMessagePersonalEventAudienceRequest, validateCreatePhoneAudienceRequest, validateCreateSavedAudienceRequest, validateDuplicateAdParams, validateEstimateAudienceRequest, validateGetInstantPageDetailRequest, validateGetInstantPageSharedUserRequest, validateListFlowsByOfficialAccountRequest, validateListFormLeadsRequest, validateListFormsByOfficialAccountRequest, validateListInstantPageEditHistoryRequest, validateListInstantPageFormRecordsRequest, validateListInstantPageLeadsRequest, validateListInstantPageSharesRequest, validateListInstantPageUsersRequest, validateListMiniPageTemplatesRequest, validateListOfficialAccountsRequest, validateRenameCampaignParams, validateSearchInstantPagesRequest, validateUpdateAdPayload, validateUpdateFlowRequest, validateUpdateInstantPageRequest, validateUpsertInstantPageFormRequest };
|
|
6126
|
+
/**
|
|
6127
|
+
* Bộ kiểm tra tính hợp lệ dữ liệu (Request Validators) cho các API Zalo Profile Ads (https://profile.ads.zalo.me):
|
|
6128
|
+
* 1. createOaPage (POST /ajax/create-page)
|
|
6129
|
+
* 2. uploadOaAvatar (POST /ajax/upload-avatar)
|
|
6130
|
+
* 3. uploadOaCover (POST /ajax/upload-cover)
|
|
6131
|
+
*
|
|
6132
|
+
* Tích hợp toàn bộ quy chuẩn, danh mục 22 SubCategories, 34 Provinces, định dạng CCCD/SĐT,
|
|
6133
|
+
* và chính sách xét duyệt Official Account cửa hàng/doanh nghiệp.
|
|
6134
|
+
*/
|
|
6135
|
+
|
|
6136
|
+
/**
|
|
6137
|
+
* Danh mục 22 mã SubCategory chuẩn trên Zalo Ads Profile
|
|
6138
|
+
*/
|
|
6139
|
+
declare const ZALO_PROFILE_ADS_SUB_CATEGORIES: Record<number, string>;
|
|
6140
|
+
/**
|
|
6141
|
+
* Danh mục 34 Tỉnh/Thành phố chuẩn trên Zalo Ads Profile (GET /ajax/get-province)
|
|
6142
|
+
*/
|
|
6143
|
+
declare const ZALO_PROFILE_ADS_PROVINCES: Record<number, string>;
|
|
6144
|
+
/**
|
|
6145
|
+
* Biểu thức Regex kiểm tra số điện thoại di động Việt Nam (10 số, đầu 03, 05, 07, 08, 09 hoặc 843, 845,...)
|
|
6146
|
+
*/
|
|
6147
|
+
declare const VIETNAM_PHONE_REGEX: RegExp;
|
|
6148
|
+
declare function validateCreateOaPageRequest(input: unknown): ValidationResult<ZaloProfileAdsCreateOaPageRequest>;
|
|
6149
|
+
interface ValidateUploadMediaOptions {
|
|
6150
|
+
mediaType: "avatar" | "cover";
|
|
6151
|
+
maxSizeBytes?: number;
|
|
6152
|
+
minWidth?: number;
|
|
6153
|
+
minHeight?: number;
|
|
6154
|
+
}
|
|
6155
|
+
declare function validateUploadMediaRequest(input: unknown, options: ValidateUploadMediaOptions): ValidationResult<{
|
|
6156
|
+
file: unknown;
|
|
6157
|
+
isNew?: string;
|
|
6158
|
+
option?: string;
|
|
6159
|
+
}>;
|
|
6160
|
+
/**
|
|
6161
|
+
* ZaloProfileAdsValidator: Gom nhóm các hàm xác thực cho Zalo Profile Ads
|
|
6162
|
+
*/
|
|
6163
|
+
declare const ZaloProfileAdsValidator: {
|
|
6164
|
+
validateCreateOaPage: typeof validateCreateOaPageRequest;
|
|
6165
|
+
validateUploadMedia: typeof validateUploadMediaRequest;
|
|
6166
|
+
validateUploadAvatar: (input: unknown) => ValidationResult<{
|
|
6167
|
+
file: unknown;
|
|
6168
|
+
isNew?: string;
|
|
6169
|
+
option?: string;
|
|
6170
|
+
}>;
|
|
6171
|
+
validateUploadCover: (input: unknown) => ValidationResult<{
|
|
6172
|
+
file: unknown;
|
|
6173
|
+
isNew?: string;
|
|
6174
|
+
option?: string;
|
|
6175
|
+
}>;
|
|
6176
|
+
};
|
|
6177
|
+
|
|
6178
|
+
/**
|
|
6179
|
+
* Bộ kiểm tra tính hợp lệ dữ liệu (Request Validators) cho các API Báo cáo (Reports) trên Zalo Ads:
|
|
6180
|
+
* 1. upsertCustomReport (POST /api/report/upsertCustomReport)
|
|
6181
|
+
* 2. validateDateRangeReport: Xác thực khoảng thời gian truy vấn báo cáo (v2/v3 campaigns, ads, unique-user, demographics)
|
|
6182
|
+
*
|
|
6183
|
+
* Tích hợp quy chuẩn giới hạn thời gian tối đa 90 ngày của Zalo Ads Report Engine,
|
|
6184
|
+
* định dạng Unix timestamp giây/mili-giây và danh mục các cột chỉ số báo cáo.
|
|
6185
|
+
*/
|
|
6186
|
+
|
|
6187
|
+
/**
|
|
6188
|
+
* 90 ngày tính bằng giây (90 * 24 * 3600)
|
|
6189
|
+
*/
|
|
6190
|
+
declare const MAX_REPORT_RANGE_SECONDS: number;
|
|
6191
|
+
/**
|
|
6192
|
+
* 90 ngày tính bằng mili-giây
|
|
6193
|
+
*/
|
|
6194
|
+
declare const MAX_REPORT_RANGE_MS: number;
|
|
6195
|
+
declare function validateUpsertCustomReportRequest(input: unknown): ValidationResult<ZaloAdsUpsertCustomReportRequest>;
|
|
6196
|
+
interface DateRangeReportQuery {
|
|
6197
|
+
startDate?: number;
|
|
6198
|
+
endDate?: number;
|
|
6199
|
+
from?: number;
|
|
6200
|
+
to?: number;
|
|
6201
|
+
campaignId?: number;
|
|
6202
|
+
[key: string]: unknown;
|
|
6203
|
+
}
|
|
6204
|
+
interface CleanDateRangeReport {
|
|
6205
|
+
startDate: number;
|
|
6206
|
+
endDate: number;
|
|
6207
|
+
isMilliseconds: boolean;
|
|
6208
|
+
campaignId?: number;
|
|
6209
|
+
}
|
|
6210
|
+
declare function validateDateRangeReportRequest(input: unknown): ValidationResult<CleanDateRangeReport>;
|
|
6211
|
+
/**
|
|
6212
|
+
* ZaloReportsValidator: Gom nhóm các hàm xác thực cho Zalo Ads Reporting
|
|
6213
|
+
*/
|
|
6214
|
+
declare const ZaloReportsValidator: {
|
|
6215
|
+
validateUpsertCustomReport: typeof validateUpsertCustomReportRequest;
|
|
6216
|
+
validateDateRangeReport: typeof validateDateRangeReportRequest;
|
|
6217
|
+
};
|
|
6218
|
+
|
|
6219
|
+
/**
|
|
6220
|
+
* Bộ kiểm tra tính hợp lệ dữ liệu (Request Validators) cho các API Thư viện Media trên Zalo Ads:
|
|
6221
|
+
* 1. saveMedia (POST /api/media/save)
|
|
6222
|
+
*
|
|
6223
|
+
* Kiểm tra cấu trúc metadata lưu trữ Media (Name, Type: 1-Ảnh / 2-Video, Settings: Url, Width, Height, Duration, ThumbUrl).
|
|
6224
|
+
*/
|
|
6225
|
+
|
|
6226
|
+
declare function validateSaveMediaRequest(input: unknown): ValidationResult<ZaloAdsMediaSavePayloadDto>;
|
|
6227
|
+
/**
|
|
6228
|
+
* ZaloMediaValidator: Gom nhóm các hàm xác thực cho Thư viện Media
|
|
6229
|
+
*/
|
|
6230
|
+
declare const ZaloMediaValidator: {
|
|
6231
|
+
validateSaveMedia: typeof validateSaveMediaRequest;
|
|
6232
|
+
};
|
|
6233
|
+
|
|
6234
|
+
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, 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 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 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 };
|