@adcp/client 3.7.1 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/adcp.js +42 -3
- package/dist/lib/adapters/content-standards-adapter.d.ts +106 -0
- package/dist/lib/adapters/content-standards-adapter.d.ts.map +1 -0
- package/dist/lib/adapters/content-standards-adapter.js +199 -0
- package/dist/lib/adapters/content-standards-adapter.js.map +1 -0
- package/dist/lib/adapters/index.d.ts +18 -0
- package/dist/lib/adapters/index.d.ts.map +1 -0
- package/dist/lib/adapters/index.js +41 -0
- package/dist/lib/adapters/index.js.map +1 -0
- package/dist/lib/adapters/property-list-adapter.d.ts +123 -0
- package/dist/lib/adapters/property-list-adapter.d.ts.map +1 -0
- package/dist/lib/adapters/property-list-adapter.js +212 -0
- package/dist/lib/adapters/property-list-adapter.js.map +1 -0
- package/dist/lib/adapters/proposal-manager.d.ts +142 -0
- package/dist/lib/adapters/proposal-manager.d.ts.map +1 -0
- package/dist/lib/adapters/proposal-manager.js +184 -0
- package/dist/lib/adapters/proposal-manager.js.map +1 -0
- package/dist/lib/adapters/si-session-manager.d.ts +161 -0
- package/dist/lib/adapters/si-session-manager.d.ts.map +1 -0
- package/dist/lib/adapters/si-session-manager.js +320 -0
- package/dist/lib/adapters/si-session-manager.js.map +1 -0
- package/dist/lib/agents/index.generated.d.ts +109 -33
- package/dist/lib/agents/index.generated.d.ts.map +1 -1
- package/dist/lib/agents/index.generated.js +162 -36
- package/dist/lib/agents/index.generated.js.map +1 -1
- package/dist/lib/core/ADCPMultiAgentClient.d.ts +5 -7
- package/dist/lib/core/ADCPMultiAgentClient.d.ts.map +1 -1
- package/dist/lib/core/ADCPMultiAgentClient.js +47 -35
- package/dist/lib/core/ADCPMultiAgentClient.js.map +1 -1
- package/dist/lib/core/AgentClient.d.ts +13 -6
- package/dist/lib/core/AgentClient.d.ts.map +1 -1
- package/dist/lib/core/AgentClient.js +23 -13
- package/dist/lib/core/AgentClient.js.map +1 -1
- package/dist/lib/core/AsyncHandler.d.ts +1 -2
- package/dist/lib/core/AsyncHandler.d.ts.map +1 -1
- package/dist/lib/core/AsyncHandler.js +0 -3
- package/dist/lib/core/AsyncHandler.js.map +1 -1
- package/dist/lib/core/ResponseValidator.d.ts.map +1 -1
- package/dist/lib/core/ResponseValidator.js +0 -1
- package/dist/lib/core/ResponseValidator.js.map +1 -1
- package/dist/lib/core/SingleAgentClient.d.ts +102 -10
- package/dist/lib/core/SingleAgentClient.d.ts.map +1 -1
- package/dist/lib/core/SingleAgentClient.js +244 -17
- package/dist/lib/core/SingleAgentClient.js.map +1 -1
- package/dist/lib/discovery/property-crawler.d.ts +13 -2
- package/dist/lib/discovery/property-crawler.d.ts.map +1 -1
- package/dist/lib/discovery/property-crawler.js +48 -13
- package/dist/lib/discovery/property-crawler.js.map +1 -1
- package/dist/lib/discovery/types.d.ts +7 -1
- package/dist/lib/discovery/types.d.ts.map +1 -1
- package/dist/lib/index.d.ts +13 -4
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +79 -5
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/types/core.generated.d.ts +502 -238
- package/dist/lib/types/core.generated.d.ts.map +1 -1
- package/dist/lib/types/core.generated.js +2 -2
- package/dist/lib/types/core.generated.js.map +1 -1
- package/dist/lib/types/schemas.generated.d.ts +7237 -2284
- package/dist/lib/types/schemas.generated.d.ts.map +1 -1
- package/dist/lib/types/schemas.generated.js +1368 -461
- package/dist/lib/types/schemas.generated.js.map +1 -1
- package/dist/lib/types/tools.generated.d.ts +3128 -507
- package/dist/lib/types/tools.generated.d.ts.map +1 -1
- package/dist/lib/types/tools.generated.js +1 -1
- package/dist/lib/types/tools.generated.js.map +1 -1
- package/dist/lib/utils/capabilities.d.ts +98 -0
- package/dist/lib/utils/capabilities.d.ts.map +1 -0
- package/dist/lib/utils/capabilities.js +155 -0
- package/dist/lib/utils/capabilities.js.map +1 -0
- package/dist/lib/utils/creative-adapter.d.ts +87 -0
- package/dist/lib/utils/creative-adapter.d.ts.map +1 -0
- package/dist/lib/utils/creative-adapter.js +125 -0
- package/dist/lib/utils/creative-adapter.js.map +1 -0
- package/dist/lib/utils/format-assets.d.ts +4 -16
- package/dist/lib/utils/format-assets.d.ts.map +1 -1
- package/dist/lib/utils/format-assets.js +16 -14
- package/dist/lib/utils/format-assets.js.map +1 -1
- package/dist/lib/utils/format-renders.d.ts +82 -0
- package/dist/lib/utils/format-renders.d.ts.map +1 -0
- package/dist/lib/utils/format-renders.js +137 -0
- package/dist/lib/utils/format-renders.js.map +1 -0
- package/dist/lib/utils/index.d.ts +2 -1
- package/dist/lib/utils/index.d.ts.map +1 -1
- package/dist/lib/utils/index.js +13 -3
- package/dist/lib/utils/index.js.map +1 -1
- package/dist/lib/utils/preview-normalizer.d.ts +109 -0
- package/dist/lib/utils/preview-normalizer.d.ts.map +1 -0
- package/dist/lib/utils/preview-normalizer.js +122 -0
- package/dist/lib/utils/preview-normalizer.js.map +1 -0
- package/dist/lib/utils/pricing-adapter.d.ts +121 -0
- package/dist/lib/utils/pricing-adapter.d.ts.map +1 -0
- package/dist/lib/utils/pricing-adapter.js +213 -0
- package/dist/lib/utils/pricing-adapter.js.map +1 -0
- package/dist/lib/utils/response-unwrapper.d.ts +2 -2
- package/dist/lib/utils/response-unwrapper.d.ts.map +1 -1
- package/dist/lib/utils/response-unwrapper.js +2 -2
- package/dist/lib/utils/response-unwrapper.js.map +1 -1
- package/dist/lib/version.d.ts +15 -7
- package/dist/lib/version.d.ts.map +1 -1
- package/dist/lib/version.js +20 -11
- package/dist/lib/version.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Generated Zod v4 schemas from TypeScript types
|
|
3
|
-
// Generated at: 2026-01-
|
|
3
|
+
// Generated at: 2026-01-26T17:02:14.278Z
|
|
4
4
|
// Sources:
|
|
5
5
|
// - core.generated.ts (core types)
|
|
6
6
|
// - tools.generated.ts (tool types)
|
|
@@ -8,44 +8,51 @@
|
|
|
8
8
|
// These schemas provide runtime validation for AdCP data structures
|
|
9
9
|
// Generated using ts-to-zod from TypeScript type definitions
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.GetSignalsRequestSchema = exports.
|
|
11
|
+
exports.ReportingCapabilitiesSchema = exports.MeasurementSchema = exports.PricingOptionSchema = exports.PlacementSchema = exports.PublisherPropertySelectorSchema = exports.LandingPageRequirementSchema = exports.CoBrandingRequirementSchema = exports.AvailableMetricSchema = exports.ReportingFrequencySchema = exports.FlatRatePricingOptionSchema = exports.CPPPricingOptionSchema = exports.CPVPricingOptionSchema = exports.CPCVPricingOptionSchema = exports.CPCPricingOptionSchema = exports.VCPMPricingOptionSchema = exports.CPMPricingOptionSchema = exports.DeliveryTypeSchema = exports.PropertyTagSchema = exports.PropertyIDSchema = exports.BrandManifestSchema = exports.OfferingSchema = exports.PromotedProductsSchema = exports.URLAssetSchema = exports.DAASTAssetSchema = exports.VASTAssetSchema = exports.JavaScriptAssetSchema = exports.CSSAssetSchema = exports.HTMLAssetSchema = exports.TextAssetSchema = exports.AudioAssetSchema = exports.VideoAssetSchema = exports.ImageAssetSchema = exports.CreativeStatusSchema = exports.URLAssetTypeSchema = exports.AssetContentTypeSchema = exports.DAASTVersion1Schema = exports.DAASTTrackingEventSchema = exports.DAASTVersionSchema = exports.VASTVersion1Schema = exports.VASTTrackingEventSchema = exports.VASTVersionSchema = exports.JavaScriptModuleTypeSchema = exports.FrequencyCapSchema = exports.FormatIDSchema = exports.CreativeAssignmentSchema = exports.ExtensionObjectSchema = exports.PostalCodeSystemSchema = exports.MetroAreaSystemSchema = exports.PacingSchema = exports.MediaBuyStatusSchema = void 0;
|
|
12
|
+
exports.PackageSchema = exports.PromotedOfferingsSchema = exports.CreativeAssetSchema = exports.TargetingOverlaySchema = exports.ReportingWebhookSchema = exports.AuthenticationSchemeSchema = exports.StartTimingSchema = exports.BrandManifestReference1Schema = exports.FormatID3Schema = exports.CreativeAgentCapabilitySchema = exports.AssetContentType1Schema = exports.FormatIDParameterSchema = exports.ListCreativeFormatsRequestSchema = exports.ProposalSchema = exports.MediaBuyFeaturesSchema = exports.PropertyListReferenceSchema = exports.GeographicTargetingLevelSchema = exports.MediaChannelSchema = exports.FormatCategorySchema = exports.BrandManifestReferenceSchema = exports.SyncCreativesAsyncSubmittedSchema = exports.SyncCreativesAsyncInputRequiredSchema = exports.SyncCreativesAsyncWorkingSchema = exports.SyncCreativesErrorSchema = exports.SyncCreativesSuccessSchema = exports.UpdateMediaBuyAsyncSubmittedSchema = exports.UpdateMediaBuyAsyncInputRequiredSchema = exports.UpdateMediaBuyAsyncWorkingSchema = exports.UpdateMediaBuyErrorSchema = exports.CreateMediaBuyAsyncSubmittedSchema = exports.CreateMediaBuyAsyncInputRequiredSchema = exports.CreateMediaBuyAsyncWorkingSchema = exports.CreateMediaBuyErrorSchema = exports.GetProductsAsyncSubmittedSchema = exports.GetProductsAsyncInputRequiredSchema = exports.GetProductsAsyncWorkingSchema = exports.ProductAllocationSchema = exports.ContextObjectSchema = exports.ErrorSchema = exports.ProductSchema = exports.CreativeActionSchema = exports.TaskStatusSchema = exports.AdCPDomainSchema = exports.TaskTypeSchema = exports.PropertySchema = exports.PropertyIdentifierTypesSchema = exports.PropertyTypeSchema = exports.FormatID2Schema = exports.FormatID1Schema = exports.CreativePolicySchema = void 0;
|
|
13
|
+
exports.DeletePropertyListRequestSchema = exports.ListPropertyListsRequestSchema = exports.GetPropertyListRequestSchema = exports.PropertyListFiltersSchema = exports.FeatureRequirementSchema = exports.IdentifierSchema = exports.PublisherPropertyIDsSourceSchema = exports.PublisherTagsSourceSchema = exports.ActivateSignalErrorSchema = exports.ActivateSignalSuccessSchema = exports.ActivateSignalRequestSchema = exports.DeploymentSchema = exports.ActivationKey1Schema = exports.ActivationKeySchema = exports.SignalFiltersSchema = exports.SignalCatalogTypeSchema = exports.DestinationSchema = exports.PreviewBatchResultErrorSchema = exports.PreviewBatchResultSuccessSchema = exports.PreviewCreativeSingleResponseSchema = exports.PreviewRenderSchema = exports.PreviewOutputFormat2Schema = exports.PreviewOutputFormat1Schema = exports.CreativeManifest1Schema = exports.PreviewOutputFormatSchema = exports.BuildCreativeErrorSchema = exports.BuildCreativeSuccessSchema = exports.WebhookAssetSchema = exports.CreativeManifestSchema = exports.WebhookSecurityMethodSchema = exports.WebhookResponseTypeSchema = exports.HTTPMethodSchema = exports.ProvidePerformanceFeedbackErrorSchema = exports.ProvidePerformanceFeedbackSuccessSchema = exports.FeedbackSourceSchema = exports.MetricTypeSchema = exports.DeliveryMetricsSchema = exports.PricingModel1Schema = exports.PricingModelSchema = exports.GetMediaBuyDeliveryRequestSchema = exports.UpdateMediaBuySuccessSchema = exports.PackageUpdateSchema = exports.ListCreativesResponseSchema = exports.SubAssetSchema = exports.CreativeFiltersSchema = exports.SortDirectionSchema = exports.CreativeSortFieldSchema = exports.SyncCreativesResponseSchema = exports.PushNotificationConfigSchema = exports.ValidationModeSchema = void 0;
|
|
14
|
+
exports.GetSignalsResponseSchema = exports.GetSignalsRequestSchema = exports.PreviewCreativeBatchResponseSchema = exports.PreviewCreativeRequestSchema = exports.BuildCreativeResponseSchema = exports.BuildCreativeRequestSchema = exports.ProvidePerformanceFeedbackResponseSchema = exports.ProvidePerformanceFeedbackRequestSchema = exports.GetMediaBuyDeliveryResponseSchema = exports.UpdateMediaBuyRequestSchema = exports.ListCreativesRequestSchema = exports.SyncCreativesRequestSchema = exports.CreateMediaBuyResponseSchema = exports.PackageRequestSchema = exports.FormatSchema = exports.ProductFiltersSchema = exports.CreateMediaBuySuccessSchema = exports.UpdateMediaBuyResponseSchema = exports.GetProductsResponseSchema = exports.MediaBuySchema = exports.GetAdCPCapabilitiesResponseSchema = exports.GetAdCPCapabilitiesRequestSchema = exports.SITerminateSessionResponseSchema = exports.SITerminateSessionRequestSchema = exports.SISendMessageResponseSchema = exports.SISendMessageRequestSchema = exports.SIInitiateSessionResponseSchema = exports.SIUIElementSchema = exports.SICapabilitiesSchema = exports.SIIdentitySchema = exports.SIGetOfferingResponseSchema = exports.SIGetOfferingRequestSchema = exports.GetMediaBuyArtifactsResponseSchema = exports.GetMediaBuyArtifactsRequestSchema = exports.ValidateContentDeliveryResponseSchema = exports.ValidateContentDeliveryRequestSchema = exports.CalibrateContentResponseSchema = exports.CalibrateContentRequestSchema = exports.UpdateContentStandardsResponseSchema = exports.UpdateContentStandardsRequestSchema = exports.CreateContentStandardsResponseSchema = exports.Artifact1Schema = exports.ContentStandardsSchema = exports.GetContentStandardsRequestSchema = exports.ArtifactSchema = exports.AssetAccess2Schema = exports.AssetAccess1Schema = exports.AssetAccessSchema = exports.ListContentStandardsRequestSchema = exports.DeletePropertyListResponseSchema = void 0;
|
|
15
|
+
exports.CreatePropertyListResponseSchema = exports.CreatePropertyListRequestSchema = exports.PreviewCreativeResponseSchema = exports.CreateMediaBuyRequestSchema = exports.ListCreativeFormatsResponseSchema = exports.GetProductsRequestSchema = exports.MCPWebhookPayloadSchema = exports.AdCPAsyncResponseDataSchema = exports.SIInitiateSessionRequestSchema = exports.CreateContentStandardsRequestSchema = exports.GetContentStandardsResponseSchema = exports.ListContentStandardsResponseSchema = exports.ListPropertyListsResponseSchema = exports.GetPropertyListResponseSchema = exports.UpdatePropertyListResponseSchema = exports.UpdatePropertyListRequestSchema = exports.PropertyListSchema = exports.BasePropertySourceSchema = exports.DirectIdentifiersSourceSchema = exports.ActivateSignalResponseSchema = void 0;
|
|
15
16
|
// Generated by ts-to-zod
|
|
16
17
|
const zod_1 = require("zod");
|
|
17
18
|
exports.MediaBuyStatusSchema = zod_1.z.union([zod_1.z.literal("pending_activation"), zod_1.z.literal("active"), zod_1.z.literal("paused"), zod_1.z.literal("completed")]);
|
|
18
19
|
exports.PacingSchema = zod_1.z.union([zod_1.z.literal("even"), zod_1.z.literal("asap"), zod_1.z.literal("front_loaded")]);
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
20
|
+
exports.MetroAreaSystemSchema = zod_1.z.union([zod_1.z.literal("nielsen_dma"), zod_1.z.literal("uk_itl1"), zod_1.z.literal("uk_itl2"), zod_1.z.literal("eurostat_nuts2"), zod_1.z.literal("custom")]);
|
|
21
|
+
exports.PostalCodeSystemSchema = zod_1.z.union([zod_1.z.literal("us_zip"), zod_1.z.literal("us_zip_plus_four"), zod_1.z.literal("gb_outward"), zod_1.z.literal("gb_full"), zod_1.z.literal("ca_fsa"), zod_1.z.literal("ca_full"), zod_1.z.literal("de_plz"), zod_1.z.literal("fr_code_postal"), zod_1.z.literal("au_postcode")]);
|
|
22
|
+
exports.ExtensionObjectSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()]));
|
|
23
|
+
exports.CreativeAssignmentSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
21
24
|
creative_id: zod_1.z.string(),
|
|
22
25
|
weight: zod_1.z.number().nullish(),
|
|
23
26
|
placement_ids: zod_1.z.array(zod_1.z.string()).nullish()
|
|
24
27
|
}));
|
|
25
|
-
exports.FormatIDSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
28
|
+
exports.FormatIDSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
26
29
|
agent_url: zod_1.z.string(),
|
|
27
30
|
id: zod_1.z.string(),
|
|
28
31
|
width: zod_1.z.number().nullish(),
|
|
29
32
|
height: zod_1.z.number().nullish(),
|
|
30
33
|
duration_ms: zod_1.z.number().nullish()
|
|
31
34
|
}));
|
|
32
|
-
exports.FrequencyCapSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
35
|
+
exports.FrequencyCapSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
33
36
|
suppress_minutes: zod_1.z.number()
|
|
34
37
|
}));
|
|
38
|
+
exports.JavaScriptModuleTypeSchema = zod_1.z.union([zod_1.z.literal("esm"), zod_1.z.literal("commonjs"), zod_1.z.literal("script")]);
|
|
35
39
|
exports.VASTVersionSchema = zod_1.z.union([zod_1.z.literal("2.0"), zod_1.z.literal("3.0"), zod_1.z.literal("4.0"), zod_1.z.literal("4.1"), zod_1.z.literal("4.2")]);
|
|
36
40
|
exports.VASTTrackingEventSchema = zod_1.z.union([zod_1.z.literal("start"), zod_1.z.literal("firstQuartile"), zod_1.z.literal("midpoint"), zod_1.z.literal("thirdQuartile"), zod_1.z.literal("complete"), zod_1.z.literal("impression"), zod_1.z.literal("click"), zod_1.z.literal("pause"), zod_1.z.literal("resume"), zod_1.z.literal("skip"), zod_1.z.literal("mute"), zod_1.z.literal("unmute"), zod_1.z.literal("fullscreen"), zod_1.z.literal("exitFullscreen"), zod_1.z.literal("playerExpand"), zod_1.z.literal("playerCollapse")]);
|
|
37
41
|
exports.VASTVersion1Schema = zod_1.z.union([zod_1.z.literal("2.0"), zod_1.z.literal("3.0"), zod_1.z.literal("4.0"), zod_1.z.literal("4.1"), zod_1.z.literal("4.2")]);
|
|
38
42
|
exports.DAASTVersionSchema = zod_1.z.union([zod_1.z.literal("1.0"), zod_1.z.literal("1.1")]);
|
|
39
43
|
exports.DAASTTrackingEventSchema = zod_1.z.union([zod_1.z.literal("start"), zod_1.z.literal("firstQuartile"), zod_1.z.literal("midpoint"), zod_1.z.literal("thirdQuartile"), zod_1.z.literal("complete"), zod_1.z.literal("impression"), zod_1.z.literal("pause"), zod_1.z.literal("resume"), zod_1.z.literal("skip"), zod_1.z.literal("mute"), zod_1.z.literal("unmute")]);
|
|
40
44
|
exports.DAASTVersion1Schema = zod_1.z.union([zod_1.z.literal("1.0"), zod_1.z.literal("1.1")]);
|
|
41
|
-
exports.
|
|
45
|
+
exports.AssetContentTypeSchema = zod_1.z.union([zod_1.z.literal("image"), zod_1.z.literal("video"), zod_1.z.literal("audio"), zod_1.z.literal("text"), zod_1.z.literal("markdown"), zod_1.z.literal("html"), zod_1.z.literal("css"), zod_1.z.literal("javascript"), zod_1.z.literal("vast"), zod_1.z.literal("daast"), zod_1.z.literal("promoted_offerings"), zod_1.z.literal("url"), zod_1.z.literal("webhook")]);
|
|
46
|
+
exports.URLAssetTypeSchema = zod_1.z.union([zod_1.z.literal("clickthrough"), zod_1.z.literal("tracker_pixel"), zod_1.z.literal("tracker_script")]);
|
|
47
|
+
exports.CreativeStatusSchema = zod_1.z.union([zod_1.z.literal("processing"), zod_1.z.literal("approved"), zod_1.z.literal("rejected"), zod_1.z.literal("pending_review"), zod_1.z.literal("archived")]);
|
|
48
|
+
exports.ImageAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
42
49
|
url: zod_1.z.string(),
|
|
43
50
|
width: zod_1.z.number(),
|
|
44
51
|
height: zod_1.z.number(),
|
|
45
52
|
format: zod_1.z.string().nullish(),
|
|
46
53
|
alt_text: zod_1.z.string().nullish()
|
|
47
54
|
}));
|
|
48
|
-
exports.VideoAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
55
|
+
exports.VideoAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
49
56
|
url: zod_1.z.string(),
|
|
50
57
|
width: zod_1.z.number(),
|
|
51
58
|
height: zod_1.z.number(),
|
|
@@ -53,32 +60,36 @@ exports.VideoAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).a
|
|
|
53
60
|
format: zod_1.z.string().nullish(),
|
|
54
61
|
bitrate_kbps: zod_1.z.number().nullish()
|
|
55
62
|
}));
|
|
56
|
-
exports.AudioAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
63
|
+
exports.AudioAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
57
64
|
url: zod_1.z.string(),
|
|
58
65
|
duration_ms: zod_1.z.number().nullish(),
|
|
59
66
|
format: zod_1.z.string().nullish(),
|
|
60
67
|
bitrate_kbps: zod_1.z.number().nullish()
|
|
61
68
|
}));
|
|
62
|
-
exports.TextAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
69
|
+
exports.TextAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
63
70
|
content: zod_1.z.string(),
|
|
64
71
|
language: zod_1.z.string().nullish()
|
|
65
72
|
}));
|
|
66
|
-
exports.HTMLAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
73
|
+
exports.HTMLAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
67
74
|
content: zod_1.z.string(),
|
|
68
75
|
version: zod_1.z.string().nullish()
|
|
69
76
|
}));
|
|
70
|
-
exports.CSSAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
77
|
+
exports.CSSAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
71
78
|
content: zod_1.z.string(),
|
|
72
79
|
media: zod_1.z.string().nullish()
|
|
73
80
|
}));
|
|
74
|
-
exports.
|
|
81
|
+
exports.JavaScriptAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
82
|
+
content: zod_1.z.string(),
|
|
83
|
+
module_type: exports.JavaScriptModuleTypeSchema.nullish()
|
|
84
|
+
}));
|
|
85
|
+
exports.VASTAssetSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
75
86
|
delivery_type: zod_1.z.literal("url"),
|
|
76
87
|
url: zod_1.z.string(),
|
|
77
88
|
vast_version: exports.VASTVersionSchema.nullish(),
|
|
78
89
|
vpaid_enabled: zod_1.z.boolean().nullish(),
|
|
79
90
|
duration_ms: zod_1.z.number().nullish(),
|
|
80
91
|
tracking_events: zod_1.z.array(exports.VASTTrackingEventSchema).nullish()
|
|
81
|
-
})), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
92
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
82
93
|
delivery_type: zod_1.z.literal("inline"),
|
|
83
94
|
content: zod_1.z.string(),
|
|
84
95
|
vast_version: exports.VASTVersion1Schema.nullish(),
|
|
@@ -86,14 +97,14 @@ exports.VASTAssetSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.
|
|
|
86
97
|
duration_ms: zod_1.z.number().nullish(),
|
|
87
98
|
tracking_events: zod_1.z.array(exports.VASTTrackingEventSchema).nullish()
|
|
88
99
|
}))]);
|
|
89
|
-
exports.DAASTAssetSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
100
|
+
exports.DAASTAssetSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
90
101
|
delivery_type: zod_1.z.literal("url"),
|
|
91
102
|
url: zod_1.z.string(),
|
|
92
103
|
daast_version: exports.DAASTVersionSchema.nullish(),
|
|
93
104
|
duration_ms: zod_1.z.number().nullish(),
|
|
94
105
|
tracking_events: zod_1.z.array(exports.DAASTTrackingEventSchema).nullish(),
|
|
95
106
|
companion_ads: zod_1.z.boolean().nullish()
|
|
96
|
-
})), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
107
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
97
108
|
delivery_type: zod_1.z.literal("inline"),
|
|
98
109
|
content: zod_1.z.string(),
|
|
99
110
|
daast_version: exports.DAASTVersion1Schema.nullish(),
|
|
@@ -101,108 +112,218 @@ exports.DAASTAssetSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1
|
|
|
101
112
|
tracking_events: zod_1.z.array(exports.DAASTTrackingEventSchema).nullish(),
|
|
102
113
|
companion_ads: zod_1.z.boolean().nullish()
|
|
103
114
|
}))]);
|
|
104
|
-
exports.
|
|
105
|
-
|
|
115
|
+
exports.URLAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
116
|
+
url: zod_1.z.string(),
|
|
117
|
+
url_type: exports.URLAssetTypeSchema.nullish(),
|
|
118
|
+
description: zod_1.z.string().nullish()
|
|
119
|
+
}));
|
|
120
|
+
exports.PromotedProductsSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
106
121
|
manifest_skus: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
107
122
|
manifest_tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
108
123
|
manifest_category: zod_1.z.string().nullish(),
|
|
109
124
|
manifest_query: zod_1.z.string().nullish()
|
|
110
125
|
}));
|
|
111
|
-
exports.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
126
|
+
exports.OfferingSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
127
|
+
offering_id: zod_1.z.string(),
|
|
128
|
+
name: zod_1.z.string(),
|
|
129
|
+
description: zod_1.z.string().nullish(),
|
|
130
|
+
tagline: zod_1.z.string().nullish(),
|
|
131
|
+
valid_from: zod_1.z.string().nullish(),
|
|
132
|
+
valid_to: zod_1.z.string().nullish(),
|
|
133
|
+
checkout_url: zod_1.z.string().nullish(),
|
|
134
|
+
landing_url: zod_1.z.string().nullish(),
|
|
135
|
+
assets: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()]))).nullish(),
|
|
136
|
+
portfolio_ref: zod_1.z.string().nullish(),
|
|
137
|
+
keywords: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
138
|
+
categories: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
139
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
140
|
+
}));
|
|
141
|
+
exports.BrandManifestSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
142
|
+
url: zod_1.z.string().nullish(),
|
|
143
|
+
privacy_policy_url: zod_1.z.string().nullish(),
|
|
144
|
+
name: zod_1.z.string(),
|
|
145
|
+
logos: zod_1.z.array(zod_1.z.object({
|
|
146
|
+
url: zod_1.z.string(),
|
|
147
|
+
tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
148
|
+
width: zod_1.z.number().nullish(),
|
|
149
|
+
height: zod_1.z.number().nullish()
|
|
150
|
+
})).nullish(),
|
|
151
|
+
colors: zod_1.z.object({
|
|
152
|
+
primary: zod_1.z.string().nullish(),
|
|
153
|
+
secondary: zod_1.z.string().nullish(),
|
|
154
|
+
accent: zod_1.z.string().nullish(),
|
|
155
|
+
background: zod_1.z.string().nullish(),
|
|
156
|
+
text: zod_1.z.string().nullish()
|
|
157
|
+
}).nullish(),
|
|
158
|
+
fonts: zod_1.z.object({
|
|
159
|
+
primary: zod_1.z.string().nullish(),
|
|
160
|
+
secondary: zod_1.z.string().nullish(),
|
|
161
|
+
font_urls: zod_1.z.array(zod_1.z.string()).nullish()
|
|
162
|
+
}).nullish(),
|
|
163
|
+
tone: zod_1.z.string().nullish(),
|
|
164
|
+
voice: zod_1.z.object({
|
|
165
|
+
provider: zod_1.z.string().nullish(),
|
|
166
|
+
voice_id: zod_1.z.string().nullish(),
|
|
167
|
+
settings: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
168
|
+
}).nullish(),
|
|
169
|
+
avatar: zod_1.z.object({
|
|
170
|
+
provider: zod_1.z.string().nullish(),
|
|
171
|
+
avatar_id: zod_1.z.string().nullish(),
|
|
172
|
+
settings: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
173
|
+
}).nullish(),
|
|
174
|
+
tagline: zod_1.z.string().nullish(),
|
|
175
|
+
assets: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
176
|
+
asset_id: zod_1.z.string(),
|
|
177
|
+
asset_type: exports.AssetContentTypeSchema,
|
|
178
|
+
url: zod_1.z.string(),
|
|
179
|
+
tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
180
|
+
name: zod_1.z.string().nullish(),
|
|
181
|
+
description: zod_1.z.string().nullish(),
|
|
182
|
+
width: zod_1.z.number().nullish(),
|
|
183
|
+
height: zod_1.z.number().nullish(),
|
|
184
|
+
duration_seconds: zod_1.z.number().nullish(),
|
|
185
|
+
file_size_bytes: zod_1.z.number().nullish(),
|
|
186
|
+
format: zod_1.z.string().nullish(),
|
|
187
|
+
metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
188
|
+
}))).nullish(),
|
|
189
|
+
product_catalog: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
190
|
+
feed_url: zod_1.z.string(),
|
|
191
|
+
feed_format: zod_1.z.union([zod_1.z.literal("google_merchant_center"), zod_1.z.literal("facebook_catalog"), zod_1.z.literal("openai_product_feed"), zod_1.z.literal("custom")]).nullish(),
|
|
192
|
+
categories: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
193
|
+
last_updated: zod_1.z.string().nullish(),
|
|
194
|
+
update_frequency: zod_1.z.union([zod_1.z.literal("realtime"), zod_1.z.literal("hourly"), zod_1.z.literal("daily"), zod_1.z.literal("weekly")]).nullish(),
|
|
195
|
+
agentic_checkout: zod_1.z.object({
|
|
196
|
+
endpoint: zod_1.z.string(),
|
|
197
|
+
spec: zod_1.z.literal("openai_agentic_checkout_v1"),
|
|
198
|
+
supported_payment_providers: zod_1.z.array(zod_1.z.string()).nullish()
|
|
199
|
+
}).nullish()
|
|
200
|
+
})).nullish(),
|
|
201
|
+
disclaimers: zod_1.z.array(zod_1.z.object({
|
|
202
|
+
text: zod_1.z.string(),
|
|
203
|
+
context: zod_1.z.string().nullish(),
|
|
204
|
+
required: zod_1.z.boolean().nullish()
|
|
205
|
+
})).nullish(),
|
|
206
|
+
industry: zod_1.z.string().nullish(),
|
|
207
|
+
target_audience: zod_1.z.string().nullish(),
|
|
208
|
+
contact: zod_1.z.object({
|
|
209
|
+
email: zod_1.z.string().nullish(),
|
|
210
|
+
phone: zod_1.z.string().nullish()
|
|
211
|
+
}).nullish(),
|
|
212
|
+
metadata: zod_1.z.object({
|
|
213
|
+
created_date: zod_1.z.string().nullish(),
|
|
214
|
+
updated_date: zod_1.z.string().nullish(),
|
|
215
|
+
version: zod_1.z.string().nullish()
|
|
216
|
+
}).nullish()
|
|
121
217
|
}));
|
|
122
|
-
exports.
|
|
218
|
+
exports.PropertyIDSchema = zod_1.z.string();
|
|
219
|
+
exports.PropertyTagSchema = zod_1.z.string();
|
|
220
|
+
exports.DeliveryTypeSchema = zod_1.z.union([zod_1.z.literal("guaranteed"), zod_1.z.literal("non_guaranteed")]);
|
|
221
|
+
exports.CPMPricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
123
222
|
pricing_option_id: zod_1.z.string(),
|
|
124
223
|
pricing_model: zod_1.z.literal("cpm"),
|
|
125
224
|
currency: zod_1.z.string(),
|
|
126
|
-
|
|
225
|
+
fixed_price: zod_1.z.number().nullish(),
|
|
226
|
+
floor_price: zod_1.z.number().nullish(),
|
|
127
227
|
price_guidance: zod_1.z.object({
|
|
128
|
-
floor: zod_1.z.number(),
|
|
129
228
|
p25: zod_1.z.number().nullish(),
|
|
130
229
|
p50: zod_1.z.number().nullish(),
|
|
131
230
|
p75: zod_1.z.number().nullish(),
|
|
132
231
|
p90: zod_1.z.number().nullish()
|
|
133
|
-
}),
|
|
134
|
-
min_spend_per_package: zod_1.z.number().nullish()
|
|
135
|
-
}));
|
|
136
|
-
exports.VCPMFixedRatePricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
137
|
-
pricing_option_id: zod_1.z.string(),
|
|
138
|
-
pricing_model: zod_1.z.literal("vcpm"),
|
|
139
|
-
rate: zod_1.z.number(),
|
|
140
|
-
currency: zod_1.z.string(),
|
|
141
|
-
is_fixed: zod_1.z.literal(true),
|
|
232
|
+
}).nullish(),
|
|
142
233
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
143
234
|
}));
|
|
144
|
-
exports.
|
|
235
|
+
exports.VCPMPricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
145
236
|
pricing_option_id: zod_1.z.string(),
|
|
146
237
|
pricing_model: zod_1.z.literal("vcpm"),
|
|
147
238
|
currency: zod_1.z.string(),
|
|
148
|
-
|
|
239
|
+
fixed_price: zod_1.z.number().nullish(),
|
|
240
|
+
floor_price: zod_1.z.number().nullish(),
|
|
149
241
|
price_guidance: zod_1.z.object({
|
|
150
|
-
floor: zod_1.z.number(),
|
|
151
242
|
p25: zod_1.z.number().nullish(),
|
|
152
243
|
p50: zod_1.z.number().nullish(),
|
|
153
244
|
p75: zod_1.z.number().nullish(),
|
|
154
245
|
p90: zod_1.z.number().nullish()
|
|
155
|
-
}),
|
|
246
|
+
}).nullish(),
|
|
156
247
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
157
248
|
}));
|
|
158
|
-
exports.CPCPricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
249
|
+
exports.CPCPricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
159
250
|
pricing_option_id: zod_1.z.string(),
|
|
160
251
|
pricing_model: zod_1.z.literal("cpc"),
|
|
161
|
-
rate: zod_1.z.number(),
|
|
162
252
|
currency: zod_1.z.string(),
|
|
163
|
-
|
|
253
|
+
fixed_price: zod_1.z.number().nullish(),
|
|
254
|
+
floor_price: zod_1.z.number().nullish(),
|
|
255
|
+
price_guidance: zod_1.z.object({
|
|
256
|
+
p25: zod_1.z.number().nullish(),
|
|
257
|
+
p50: zod_1.z.number().nullish(),
|
|
258
|
+
p75: zod_1.z.number().nullish(),
|
|
259
|
+
p90: zod_1.z.number().nullish()
|
|
260
|
+
}).nullish(),
|
|
164
261
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
165
262
|
}));
|
|
166
|
-
exports.CPCVPricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
263
|
+
exports.CPCVPricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
167
264
|
pricing_option_id: zod_1.z.string(),
|
|
168
265
|
pricing_model: zod_1.z.literal("cpcv"),
|
|
169
|
-
rate: zod_1.z.number(),
|
|
170
266
|
currency: zod_1.z.string(),
|
|
171
|
-
|
|
267
|
+
fixed_price: zod_1.z.number().nullish(),
|
|
268
|
+
floor_price: zod_1.z.number().nullish(),
|
|
269
|
+
price_guidance: zod_1.z.object({
|
|
270
|
+
p25: zod_1.z.number().nullish(),
|
|
271
|
+
p50: zod_1.z.number().nullish(),
|
|
272
|
+
p75: zod_1.z.number().nullish(),
|
|
273
|
+
p90: zod_1.z.number().nullish()
|
|
274
|
+
}).nullish(),
|
|
172
275
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
173
276
|
}));
|
|
174
|
-
exports.CPVPricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
277
|
+
exports.CPVPricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
175
278
|
pricing_option_id: zod_1.z.string(),
|
|
176
279
|
pricing_model: zod_1.z.literal("cpv"),
|
|
177
|
-
rate: zod_1.z.number(),
|
|
178
280
|
currency: zod_1.z.string(),
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
281
|
+
fixed_price: zod_1.z.number().nullish(),
|
|
282
|
+
floor_price: zod_1.z.number().nullish(),
|
|
283
|
+
price_guidance: zod_1.z.object({
|
|
284
|
+
p25: zod_1.z.number().nullish(),
|
|
285
|
+
p50: zod_1.z.number().nullish(),
|
|
286
|
+
p75: zod_1.z.number().nullish(),
|
|
287
|
+
p90: zod_1.z.number().nullish()
|
|
288
|
+
}).nullish(),
|
|
289
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
290
|
+
view_threshold: zod_1.z.union([zod_1.z.number(), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
182
291
|
duration_seconds: zod_1.z.number()
|
|
183
292
|
}))])
|
|
184
293
|
})),
|
|
185
294
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
186
295
|
}));
|
|
187
|
-
exports.CPPPricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
296
|
+
exports.CPPPricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
188
297
|
pricing_option_id: zod_1.z.string(),
|
|
189
298
|
pricing_model: zod_1.z.literal("cpp"),
|
|
190
|
-
rate: zod_1.z.number(),
|
|
191
299
|
currency: zod_1.z.string(),
|
|
192
|
-
|
|
193
|
-
|
|
300
|
+
fixed_price: zod_1.z.number().nullish(),
|
|
301
|
+
floor_price: zod_1.z.number().nullish(),
|
|
302
|
+
price_guidance: zod_1.z.object({
|
|
303
|
+
p25: zod_1.z.number().nullish(),
|
|
304
|
+
p50: zod_1.z.number().nullish(),
|
|
305
|
+
p75: zod_1.z.number().nullish(),
|
|
306
|
+
p90: zod_1.z.number().nullish()
|
|
307
|
+
}).nullish(),
|
|
308
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
194
309
|
demographic: zod_1.z.string(),
|
|
195
310
|
min_points: zod_1.z.number().nullish()
|
|
196
311
|
})),
|
|
197
312
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
198
313
|
}));
|
|
199
|
-
exports.FlatRatePricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
314
|
+
exports.FlatRatePricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
200
315
|
pricing_option_id: zod_1.z.string(),
|
|
201
316
|
pricing_model: zod_1.z.literal("flat_rate"),
|
|
202
|
-
rate: zod_1.z.number(),
|
|
203
317
|
currency: zod_1.z.string(),
|
|
204
|
-
|
|
205
|
-
|
|
318
|
+
fixed_price: zod_1.z.number().nullish(),
|
|
319
|
+
floor_price: zod_1.z.number().nullish(),
|
|
320
|
+
price_guidance: zod_1.z.object({
|
|
321
|
+
p25: zod_1.z.number().nullish(),
|
|
322
|
+
p50: zod_1.z.number().nullish(),
|
|
323
|
+
p75: zod_1.z.number().nullish(),
|
|
324
|
+
p90: zod_1.z.number().nullish()
|
|
325
|
+
}).nullish(),
|
|
326
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
206
327
|
duration_hours: zod_1.z.number().nullish(),
|
|
207
328
|
sov_percentage: zod_1.z.number().nullish(),
|
|
208
329
|
loop_duration_seconds: zod_1.z.number().nullish(),
|
|
@@ -213,51 +334,191 @@ exports.FlatRatePricingOptionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.u
|
|
|
213
334
|
})).nullish(),
|
|
214
335
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
215
336
|
}));
|
|
216
|
-
exports.
|
|
337
|
+
exports.ReportingFrequencySchema = zod_1.z.union([zod_1.z.literal("hourly"), zod_1.z.literal("daily"), zod_1.z.literal("monthly")]);
|
|
338
|
+
exports.AvailableMetricSchema = zod_1.z.union([zod_1.z.literal("impressions"), zod_1.z.literal("spend"), zod_1.z.literal("clicks"), zod_1.z.literal("ctr"), zod_1.z.literal("video_completions"), zod_1.z.literal("completion_rate"), zod_1.z.literal("conversions"), zod_1.z.literal("viewability"), zod_1.z.literal("engagement_rate")]);
|
|
339
|
+
exports.CoBrandingRequirementSchema = zod_1.z.union([zod_1.z.literal("required"), zod_1.z.literal("optional"), zod_1.z.literal("none")]);
|
|
340
|
+
exports.LandingPageRequirementSchema = zod_1.z.union([zod_1.z.literal("any"), zod_1.z.literal("retailer_site_only"), zod_1.z.literal("must_include_retailer")]);
|
|
341
|
+
exports.PublisherPropertySelectorSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
342
|
+
publisher_domain: zod_1.z.string(),
|
|
343
|
+
selection_type: zod_1.z.literal("all")
|
|
344
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
345
|
+
publisher_domain: zod_1.z.string(),
|
|
346
|
+
selection_type: zod_1.z.literal("by_id"),
|
|
347
|
+
property_ids: zod_1.z.array(exports.PropertyIDSchema)
|
|
348
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
349
|
+
publisher_domain: zod_1.z.string(),
|
|
350
|
+
selection_type: zod_1.z.literal("by_tag"),
|
|
351
|
+
property_tags: zod_1.z.array(exports.PropertyTagSchema)
|
|
352
|
+
}))]);
|
|
353
|
+
exports.PlacementSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
217
354
|
placement_id: zod_1.z.string(),
|
|
218
355
|
name: zod_1.z.string(),
|
|
219
356
|
description: zod_1.z.string().nullish(),
|
|
220
357
|
format_ids: zod_1.z.array(exports.FormatIDSchema).nullish()
|
|
221
358
|
}));
|
|
222
|
-
exports.PricingOptionSchema = zod_1.z.union([exports.
|
|
223
|
-
exports.MeasurementSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
359
|
+
exports.PricingOptionSchema = zod_1.z.union([exports.CPMPricingOptionSchema, exports.VCPMPricingOptionSchema, exports.CPCPricingOptionSchema, exports.CPCVPricingOptionSchema, exports.CPVPricingOptionSchema, exports.CPPPricingOptionSchema, exports.FlatRatePricingOptionSchema]);
|
|
360
|
+
exports.MeasurementSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
224
361
|
type: zod_1.z.string(),
|
|
225
362
|
attribution: zod_1.z.string(),
|
|
226
363
|
window: zod_1.z.string().nullish(),
|
|
227
364
|
reporting: zod_1.z.string()
|
|
228
365
|
}));
|
|
229
|
-
exports.
|
|
366
|
+
exports.ReportingCapabilitiesSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
367
|
+
available_reporting_frequencies: zod_1.z.array(exports.ReportingFrequencySchema),
|
|
368
|
+
expected_delay_minutes: zod_1.z.number(),
|
|
369
|
+
timezone: zod_1.z.string(),
|
|
370
|
+
supports_webhooks: zod_1.z.boolean(),
|
|
371
|
+
available_metrics: zod_1.z.array(exports.AvailableMetricSchema)
|
|
372
|
+
}));
|
|
373
|
+
exports.CreativePolicySchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
374
|
+
co_branding: exports.CoBrandingRequirementSchema,
|
|
375
|
+
landing_page: exports.LandingPageRequirementSchema,
|
|
376
|
+
templates_available: zod_1.z.boolean()
|
|
377
|
+
}));
|
|
378
|
+
exports.FormatID1Schema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
230
379
|
agent_url: zod_1.z.string(),
|
|
231
380
|
id: zod_1.z.string(),
|
|
232
381
|
width: zod_1.z.number().nullish(),
|
|
233
382
|
height: zod_1.z.number().nullish(),
|
|
234
383
|
duration_ms: zod_1.z.number().nullish()
|
|
235
384
|
}));
|
|
236
|
-
exports.FormatID2Schema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
385
|
+
exports.FormatID2Schema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
237
386
|
agent_url: zod_1.z.string(),
|
|
238
387
|
id: zod_1.z.string(),
|
|
239
388
|
width: zod_1.z.number().nullish(),
|
|
240
389
|
height: zod_1.z.number().nullish(),
|
|
241
390
|
duration_ms: zod_1.z.number().nullish()
|
|
242
391
|
}));
|
|
243
|
-
exports.
|
|
244
|
-
exports.AvailableMetricSchema = zod_1.z.union([zod_1.z.literal("impressions"), zod_1.z.literal("spend"), zod_1.z.literal("clicks"), zod_1.z.literal("ctr"), zod_1.z.literal("video_completions"), zod_1.z.literal("completion_rate"), zod_1.z.literal("conversions"), zod_1.z.literal("viewability"), zod_1.z.literal("engagement_rate")]);
|
|
245
|
-
exports.CoBrandingRequirementSchema = zod_1.z.union([zod_1.z.literal("required"), zod_1.z.literal("optional"), zod_1.z.literal("none")]);
|
|
246
|
-
exports.LandingPageRequirementSchema = zod_1.z.union([zod_1.z.literal("any"), zod_1.z.literal("retailer_site_only"), zod_1.z.literal("must_include_retailer")]);
|
|
392
|
+
exports.PropertyTypeSchema = zod_1.z.union([zod_1.z.literal("website"), zod_1.z.literal("mobile_app"), zod_1.z.literal("ctv_app"), zod_1.z.literal("desktop_app"), zod_1.z.literal("dooh"), zod_1.z.literal("podcast"), zod_1.z.literal("radio"), zod_1.z.literal("streaming_audio")]);
|
|
247
393
|
exports.PropertyIdentifierTypesSchema = zod_1.z.union([zod_1.z.literal("domain"), zod_1.z.literal("subdomain"), zod_1.z.literal("network_id"), zod_1.z.literal("ios_bundle"), zod_1.z.literal("android_package"), zod_1.z.literal("apple_app_store_id"), zod_1.z.literal("google_play_id"), zod_1.z.literal("roku_store_id"), zod_1.z.literal("fire_tv_asin"), zod_1.z.literal("samsung_app_id"), zod_1.z.literal("apple_tv_bundle"), zod_1.z.literal("bundle_id"), zod_1.z.literal("venue_id"), zod_1.z.literal("screen_id"), zod_1.z.literal("openooh_venue_type"), zod_1.z.literal("rss_url"), zod_1.z.literal("apple_podcast_id"), zod_1.z.literal("spotify_show_id"), zod_1.z.literal("podcast_guid")]);
|
|
248
|
-
exports.
|
|
249
|
-
exports.
|
|
250
|
-
exports.
|
|
394
|
+
exports.PropertySchema = zod_1.z.object({
|
|
395
|
+
property_id: exports.PropertyIDSchema.nullish(),
|
|
396
|
+
property_type: exports.PropertyTypeSchema,
|
|
397
|
+
name: zod_1.z.string(),
|
|
398
|
+
identifiers: zod_1.z.array(zod_1.z.object({
|
|
399
|
+
type: exports.PropertyIdentifierTypesSchema,
|
|
400
|
+
value: zod_1.z.string()
|
|
401
|
+
})),
|
|
402
|
+
tags: zod_1.z.array(exports.PropertyTagSchema).nullish(),
|
|
403
|
+
publisher_domain: zod_1.z.string().nullish()
|
|
404
|
+
});
|
|
405
|
+
exports.TaskTypeSchema = zod_1.z.union([zod_1.z.literal("create_media_buy"), zod_1.z.literal("update_media_buy"), zod_1.z.literal("sync_creatives"), zod_1.z.literal("activate_signal"), zod_1.z.literal("get_signals"), zod_1.z.literal("create_property_list"), zod_1.z.literal("update_property_list"), zod_1.z.literal("get_property_list"), zod_1.z.literal("list_property_lists"), zod_1.z.literal("delete_property_list")]);
|
|
406
|
+
exports.AdCPDomainSchema = zod_1.z.union([zod_1.z.literal("media-buy"), zod_1.z.literal("signals"), zod_1.z.literal("governance"), zod_1.z.literal("creative")]);
|
|
407
|
+
exports.TaskStatusSchema = zod_1.z.union([zod_1.z.literal("submitted"), zod_1.z.literal("working"), zod_1.z.literal("input-required"), zod_1.z.literal("completed"), zod_1.z.literal("canceled"), zod_1.z.literal("failed"), zod_1.z.literal("rejected"), zod_1.z.literal("auth-required"), zod_1.z.literal("unknown")]);
|
|
251
408
|
exports.CreativeActionSchema = zod_1.z.union([zod_1.z.literal("created"), zod_1.z.literal("updated"), zod_1.z.literal("unchanged"), zod_1.z.literal("failed"), zod_1.z.literal("deleted")]);
|
|
252
|
-
exports.
|
|
409
|
+
exports.ProductSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
410
|
+
product_id: zod_1.z.string(),
|
|
411
|
+
name: zod_1.z.string(),
|
|
412
|
+
description: zod_1.z.string(),
|
|
413
|
+
publisher_properties: zod_1.z.array(exports.PublisherPropertySelectorSchema),
|
|
414
|
+
format_ids: zod_1.z.array(exports.FormatIDSchema),
|
|
415
|
+
placements: zod_1.z.array(exports.PlacementSchema).nullish(),
|
|
416
|
+
delivery_type: exports.DeliveryTypeSchema,
|
|
417
|
+
pricing_options: zod_1.z.array(exports.PricingOptionSchema),
|
|
418
|
+
estimated_exposures: zod_1.z.number().nullish(),
|
|
419
|
+
measurement: exports.MeasurementSchema.nullish(),
|
|
420
|
+
delivery_measurement: zod_1.z.object({
|
|
421
|
+
provider: zod_1.z.string(),
|
|
422
|
+
notes: zod_1.z.string().nullish()
|
|
423
|
+
}),
|
|
424
|
+
reporting_capabilities: exports.ReportingCapabilitiesSchema.nullish(),
|
|
425
|
+
creative_policy: exports.CreativePolicySchema.nullish(),
|
|
426
|
+
is_custom: zod_1.z.boolean().nullish(),
|
|
427
|
+
brief_relevance: zod_1.z.string().nullish(),
|
|
428
|
+
expires_at: zod_1.z.string().nullish(),
|
|
429
|
+
product_card: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
430
|
+
format_id: exports.FormatID1Schema,
|
|
431
|
+
manifest: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()]))
|
|
432
|
+
})).nullish(),
|
|
433
|
+
product_card_detailed: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
434
|
+
format_id: exports.FormatID2Schema,
|
|
435
|
+
manifest: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()]))
|
|
436
|
+
})).nullish(),
|
|
437
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
438
|
+
}));
|
|
439
|
+
exports.ErrorSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
253
440
|
code: zod_1.z.string(),
|
|
254
441
|
message: zod_1.z.string(),
|
|
255
442
|
field: zod_1.z.string().nullish(),
|
|
256
443
|
suggestion: zod_1.z.string().nullish(),
|
|
257
444
|
retry_after: zod_1.z.number().nullish(),
|
|
258
|
-
details: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).nullish()
|
|
445
|
+
details: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
446
|
+
}));
|
|
447
|
+
exports.ContextObjectSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()]));
|
|
448
|
+
exports.ProductAllocationSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
449
|
+
product_id: zod_1.z.string(),
|
|
450
|
+
allocation_percentage: zod_1.z.number(),
|
|
451
|
+
pricing_option_id: zod_1.z.string().nullish(),
|
|
452
|
+
rationale: zod_1.z.string().nullish(),
|
|
453
|
+
sequence: zod_1.z.number().nullish(),
|
|
454
|
+
tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
455
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
456
|
+
}));
|
|
457
|
+
exports.GetProductsAsyncWorkingSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
458
|
+
percentage: zod_1.z.number().nullish(),
|
|
459
|
+
current_step: zod_1.z.string().nullish(),
|
|
460
|
+
total_steps: zod_1.z.number().nullish(),
|
|
461
|
+
step_number: zod_1.z.number().nullish(),
|
|
462
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
463
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
464
|
+
}));
|
|
465
|
+
exports.GetProductsAsyncInputRequiredSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
466
|
+
reason: zod_1.z.union([zod_1.z.literal("CLARIFICATION_NEEDED"), zod_1.z.literal("BUDGET_REQUIRED")]).nullish(),
|
|
467
|
+
partial_results: zod_1.z.array(exports.ProductSchema).nullish(),
|
|
468
|
+
suggestions: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
469
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
470
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
471
|
+
}));
|
|
472
|
+
exports.GetProductsAsyncSubmittedSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
473
|
+
estimated_completion: zod_1.z.string().nullish(),
|
|
474
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
475
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
476
|
+
}));
|
|
477
|
+
exports.CreateMediaBuyErrorSchema = zod_1.z.object({
|
|
478
|
+
errors: zod_1.z.array(exports.ErrorSchema),
|
|
479
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
480
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
481
|
+
});
|
|
482
|
+
exports.CreateMediaBuyAsyncWorkingSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
483
|
+
percentage: zod_1.z.number().nullish(),
|
|
484
|
+
current_step: zod_1.z.string().nullish(),
|
|
485
|
+
total_steps: zod_1.z.number().nullish(),
|
|
486
|
+
step_number: zod_1.z.number().nullish(),
|
|
487
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
488
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
489
|
+
}));
|
|
490
|
+
exports.CreateMediaBuyAsyncInputRequiredSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
491
|
+
reason: zod_1.z.union([zod_1.z.literal("APPROVAL_REQUIRED"), zod_1.z.literal("BUDGET_EXCEEDS_LIMIT")]).nullish(),
|
|
492
|
+
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
493
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
494
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
495
|
+
}));
|
|
496
|
+
exports.CreateMediaBuyAsyncSubmittedSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
497
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
498
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
499
|
+
}));
|
|
500
|
+
exports.UpdateMediaBuyErrorSchema = zod_1.z.object({
|
|
501
|
+
errors: zod_1.z.array(exports.ErrorSchema),
|
|
502
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
503
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
504
|
+
});
|
|
505
|
+
exports.UpdateMediaBuyAsyncWorkingSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
506
|
+
percentage: zod_1.z.number().nullish(),
|
|
507
|
+
current_step: zod_1.z.string().nullish(),
|
|
508
|
+
total_steps: zod_1.z.number().nullish(),
|
|
509
|
+
step_number: zod_1.z.number().nullish(),
|
|
510
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
511
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
512
|
+
}));
|
|
513
|
+
exports.UpdateMediaBuyAsyncInputRequiredSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
514
|
+
reason: zod_1.z.union([zod_1.z.literal("APPROVAL_REQUIRED"), zod_1.z.literal("CHANGE_CONFIRMATION")]).nullish(),
|
|
515
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
516
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
517
|
+
}));
|
|
518
|
+
exports.UpdateMediaBuyAsyncSubmittedSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
519
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
520
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
259
521
|
}));
|
|
260
|
-
exports.ContextObjectSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown());
|
|
261
522
|
exports.SyncCreativesSuccessSchema = zod_1.z.object({
|
|
262
523
|
dry_run: zod_1.z.boolean().nullish(),
|
|
263
524
|
creatives: zod_1.z.array(zod_1.z.object({
|
|
@@ -280,104 +541,71 @@ exports.SyncCreativesErrorSchema = zod_1.z.object({
|
|
|
280
541
|
context: exports.ContextObjectSchema.nullish(),
|
|
281
542
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
282
543
|
});
|
|
283
|
-
exports.
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
secondary: zod_1.z.string().nullish(),
|
|
302
|
-
font_urls: zod_1.z.array(zod_1.z.string()).nullish()
|
|
303
|
-
}).nullish(),
|
|
304
|
-
tone: zod_1.z.string().nullish(),
|
|
305
|
-
tagline: zod_1.z.string().nullish(),
|
|
306
|
-
assets: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
307
|
-
asset_id: zod_1.z.string(),
|
|
308
|
-
asset_type: exports.AssetContentTypeSchema,
|
|
309
|
-
url: zod_1.z.string(),
|
|
310
|
-
tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
311
|
-
name: zod_1.z.string().nullish(),
|
|
312
|
-
description: zod_1.z.string().nullish(),
|
|
313
|
-
width: zod_1.z.number().nullish(),
|
|
314
|
-
height: zod_1.z.number().nullish(),
|
|
315
|
-
duration_seconds: zod_1.z.number().nullish(),
|
|
316
|
-
file_size_bytes: zod_1.z.number().nullish(),
|
|
317
|
-
format: zod_1.z.string().nullish(),
|
|
318
|
-
metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).nullish()
|
|
319
|
-
}))).nullish(),
|
|
320
|
-
product_catalog: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
321
|
-
feed_url: zod_1.z.string(),
|
|
322
|
-
feed_format: zod_1.z.union([zod_1.z.literal("google_merchant_center"), zod_1.z.literal("facebook_catalog"), zod_1.z.literal("custom")]).nullish(),
|
|
323
|
-
categories: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
324
|
-
last_updated: zod_1.z.string().nullish(),
|
|
325
|
-
update_frequency: zod_1.z.union([zod_1.z.literal("realtime"), zod_1.z.literal("hourly"), zod_1.z.literal("daily"), zod_1.z.literal("weekly")]).nullish()
|
|
326
|
-
})).nullish(),
|
|
327
|
-
disclaimers: zod_1.z.array(zod_1.z.object({
|
|
328
|
-
text: zod_1.z.string(),
|
|
329
|
-
context: zod_1.z.string().nullish(),
|
|
330
|
-
required: zod_1.z.boolean().nullish()
|
|
331
|
-
})).nullish(),
|
|
332
|
-
industry: zod_1.z.string().nullish(),
|
|
333
|
-
target_audience: zod_1.z.string().nullish(),
|
|
334
|
-
contact: zod_1.z.object({
|
|
335
|
-
email: zod_1.z.string().nullish(),
|
|
336
|
-
phone: zod_1.z.string().nullish()
|
|
337
|
-
}).nullish(),
|
|
338
|
-
metadata: zod_1.z.object({
|
|
339
|
-
created_date: zod_1.z.string().nullish(),
|
|
340
|
-
updated_date: zod_1.z.string().nullish(),
|
|
341
|
-
version: zod_1.z.string().nullish()
|
|
342
|
-
}).nullish()
|
|
544
|
+
exports.SyncCreativesAsyncWorkingSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
545
|
+
percentage: zod_1.z.number().nullish(),
|
|
546
|
+
current_step: zod_1.z.string().nullish(),
|
|
547
|
+
total_steps: zod_1.z.number().nullish(),
|
|
548
|
+
step_number: zod_1.z.number().nullish(),
|
|
549
|
+
creatives_processed: zod_1.z.number().nullish(),
|
|
550
|
+
creatives_total: zod_1.z.number().nullish(),
|
|
551
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
552
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
553
|
+
}));
|
|
554
|
+
exports.SyncCreativesAsyncInputRequiredSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
555
|
+
reason: zod_1.z.union([zod_1.z.literal("APPROVAL_REQUIRED"), zod_1.z.literal("ASSET_CONFIRMATION"), zod_1.z.literal("FORMAT_CLARIFICATION")]).nullish(),
|
|
556
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
557
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
558
|
+
}));
|
|
559
|
+
exports.SyncCreativesAsyncSubmittedSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
560
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
561
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
343
562
|
}));
|
|
344
563
|
exports.BrandManifestReferenceSchema = zod_1.z.union([exports.BrandManifestSchema, zod_1.z.string()]);
|
|
564
|
+
exports.FormatCategorySchema = zod_1.z.union([zod_1.z.literal("audio"), zod_1.z.literal("video"), zod_1.z.literal("display"), zod_1.z.literal("native"), zod_1.z.literal("dooh"), zod_1.z.literal("rich_media"), zod_1.z.literal("universal")]);
|
|
565
|
+
exports.MediaChannelSchema = zod_1.z.union([zod_1.z.literal("display"), zod_1.z.literal("olv"), zod_1.z.literal("social"), zod_1.z.literal("search"), zod_1.z.literal("ctv"), zod_1.z.literal("linear_tv"), zod_1.z.literal("radio"), zod_1.z.literal("streaming_audio"), zod_1.z.literal("podcast"), zod_1.z.literal("dooh"), zod_1.z.literal("ooh"), zod_1.z.literal("print"), zod_1.z.literal("cinema"), zod_1.z.literal("email"), zod_1.z.literal("gaming"), zod_1.z.literal("retail_media"), zod_1.z.literal("influencer"), zod_1.z.literal("affiliate"), zod_1.z.literal("product_placement")]);
|
|
566
|
+
exports.GeographicTargetingLevelSchema = zod_1.z.union([zod_1.z.literal("country"), zod_1.z.literal("region"), zod_1.z.literal("metro"), zod_1.z.literal("postal_area")]);
|
|
345
567
|
exports.PropertyListReferenceSchema = zod_1.z.object({
|
|
346
568
|
agent_url: zod_1.z.string(),
|
|
347
569
|
list_id: zod_1.z.string(),
|
|
348
570
|
auth_token: zod_1.z.string().nullish()
|
|
349
571
|
});
|
|
350
|
-
exports.
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
publisher_domain: zod_1.z.string(),
|
|
355
|
-
selection_type: zod_1.z.literal("by_id"),
|
|
356
|
-
property_ids: zod_1.z.array(exports.PropertyIDSchema)
|
|
357
|
-
})), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
358
|
-
publisher_domain: zod_1.z.string(),
|
|
359
|
-
selection_type: zod_1.z.literal("by_tag"),
|
|
360
|
-
property_tags: zod_1.z.array(exports.PropertyTagSchema)
|
|
361
|
-
}))]);
|
|
362
|
-
exports.ReportingCapabilitiesSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
363
|
-
available_reporting_frequencies: zod_1.z.array(exports.ReportingFrequencySchema),
|
|
364
|
-
expected_delay_minutes: zod_1.z.number(),
|
|
365
|
-
timezone: zod_1.z.string(),
|
|
366
|
-
supports_webhooks: zod_1.z.boolean(),
|
|
367
|
-
available_metrics: zod_1.z.array(exports.AvailableMetricSchema)
|
|
572
|
+
exports.MediaBuyFeaturesSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.boolean(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
573
|
+
inline_creative_management: zod_1.z.boolean().nullish(),
|
|
574
|
+
property_list_filtering: zod_1.z.boolean().nullish(),
|
|
575
|
+
content_standards: zod_1.z.boolean().nullish()
|
|
368
576
|
}));
|
|
369
|
-
exports.
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
577
|
+
exports.ProposalSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
578
|
+
proposal_id: zod_1.z.string(),
|
|
579
|
+
name: zod_1.z.string(),
|
|
580
|
+
description: zod_1.z.string().nullish(),
|
|
581
|
+
allocations: zod_1.z.array(exports.ProductAllocationSchema),
|
|
582
|
+
expires_at: zod_1.z.string().nullish(),
|
|
583
|
+
total_budget_guidance: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
584
|
+
min: zod_1.z.number().nullish(),
|
|
585
|
+
recommended: zod_1.z.number().nullish(),
|
|
586
|
+
max: zod_1.z.number().nullish(),
|
|
587
|
+
currency: zod_1.z.string().nullish()
|
|
588
|
+
})).nullish(),
|
|
589
|
+
brief_alignment: zod_1.z.string().nullish(),
|
|
590
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
373
591
|
}));
|
|
374
|
-
exports.
|
|
375
|
-
|
|
592
|
+
exports.ListCreativeFormatsRequestSchema = zod_1.z.object({
|
|
593
|
+
format_ids: zod_1.z.array(exports.FormatIDSchema).nullish(),
|
|
594
|
+
type: exports.FormatCategorySchema.nullish(),
|
|
595
|
+
asset_types: zod_1.z.array(exports.AssetContentTypeSchema).nullish(),
|
|
596
|
+
max_width: zod_1.z.number().nullish(),
|
|
597
|
+
max_height: zod_1.z.number().nullish(),
|
|
598
|
+
min_width: zod_1.z.number().nullish(),
|
|
599
|
+
min_height: zod_1.z.number().nullish(),
|
|
600
|
+
is_responsive: zod_1.z.boolean().nullish(),
|
|
601
|
+
name_search: zod_1.z.string().nullish(),
|
|
602
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
603
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
604
|
+
});
|
|
376
605
|
exports.FormatIDParameterSchema = zod_1.z.union([zod_1.z.literal("dimensions"), zod_1.z.literal("duration")]);
|
|
377
606
|
exports.AssetContentType1Schema = zod_1.z.union([zod_1.z.literal("image"), zod_1.z.literal("video"), zod_1.z.literal("audio"), zod_1.z.literal("text"), zod_1.z.literal("markdown"), zod_1.z.literal("html"), zod_1.z.literal("css"), zod_1.z.literal("javascript"), zod_1.z.literal("vast"), zod_1.z.literal("daast"), zod_1.z.literal("promoted_offerings"), zod_1.z.literal("url"), zod_1.z.literal("webhook")]);
|
|
378
|
-
exports.
|
|
379
|
-
exports.
|
|
380
|
-
exports.FormatID3Schema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
607
|
+
exports.CreativeAgentCapabilitySchema = zod_1.z.union([zod_1.z.literal("validation"), zod_1.z.literal("assembly"), zod_1.z.literal("generation"), zod_1.z.literal("preview")]);
|
|
608
|
+
exports.FormatID3Schema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
381
609
|
agent_url: zod_1.z.string(),
|
|
382
610
|
id: zod_1.z.string(),
|
|
383
611
|
width: zod_1.z.number().nullish(),
|
|
@@ -387,59 +615,58 @@ exports.FormatID3Schema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).an
|
|
|
387
615
|
exports.BrandManifestReference1Schema = zod_1.z.union([exports.BrandManifestSchema, zod_1.z.string()]);
|
|
388
616
|
exports.StartTimingSchema = zod_1.z.union([zod_1.z.literal("asap"), zod_1.z.string()]);
|
|
389
617
|
exports.AuthenticationSchemeSchema = zod_1.z.union([zod_1.z.literal("Bearer"), zod_1.z.literal("HMAC-SHA256")]);
|
|
390
|
-
exports.
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
618
|
+
exports.ReportingWebhookSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
619
|
+
url: zod_1.z.string(),
|
|
620
|
+
token: zod_1.z.string().nullish(),
|
|
621
|
+
authentication: zod_1.z.object({
|
|
622
|
+
schemes: zod_1.z.tuple([exports.AuthenticationSchemeSchema]),
|
|
623
|
+
credentials: zod_1.z.string()
|
|
624
|
+
}),
|
|
625
|
+
reporting_frequency: zod_1.z.union([zod_1.z.literal("hourly"), zod_1.z.literal("daily"), zod_1.z.literal("monthly")]),
|
|
626
|
+
requested_metrics: zod_1.z.array(exports.AvailableMetricSchema).nullish()
|
|
627
|
+
}));
|
|
628
|
+
exports.TargetingOverlaySchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
629
|
+
geo_countries: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
630
|
+
geo_regions: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
631
|
+
geo_metros: zod_1.z.array(zod_1.z.object({
|
|
632
|
+
system: exports.MetroAreaSystemSchema,
|
|
633
|
+
values: zod_1.z.array(zod_1.z.string())
|
|
634
|
+
})).nullish(),
|
|
635
|
+
geo_postal_areas: zod_1.z.array(zod_1.z.object({
|
|
636
|
+
system: exports.PostalCodeSystemSchema,
|
|
637
|
+
values: zod_1.z.array(zod_1.z.string())
|
|
638
|
+
})).nullish(),
|
|
395
639
|
axe_include_segment: zod_1.z.string().nullish(),
|
|
396
640
|
axe_exclude_segment: zod_1.z.string().nullish(),
|
|
397
641
|
frequency_cap: exports.FrequencyCapSchema.nullish()
|
|
398
642
|
}));
|
|
399
|
-
exports.CreativeAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
643
|
+
exports.CreativeAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
400
644
|
creative_id: zod_1.z.string(),
|
|
401
645
|
name: zod_1.z.string(),
|
|
402
646
|
format_id: exports.FormatID1Schema,
|
|
403
|
-
assets: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
404
|
-
inputs: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
647
|
+
assets: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])),
|
|
648
|
+
inputs: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
405
649
|
name: zod_1.z.string(),
|
|
406
|
-
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).nullish(),
|
|
650
|
+
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()])).nullish(),
|
|
407
651
|
context_description: zod_1.z.string().nullish()
|
|
408
652
|
}))).nullish(),
|
|
409
653
|
tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
410
|
-
|
|
654
|
+
status: exports.CreativeStatusSchema.nullish(),
|
|
411
655
|
weight: zod_1.z.number().nullish(),
|
|
412
656
|
placement_ids: zod_1.z.array(zod_1.z.string()).nullish()
|
|
413
657
|
}));
|
|
414
|
-
exports.
|
|
415
|
-
content: zod_1.z.string(),
|
|
416
|
-
module_type: exports.JavaScriptModuleTypeSchema.nullish()
|
|
417
|
-
}));
|
|
418
|
-
exports.PromotedOfferingsSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
658
|
+
exports.PromotedOfferingsSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
419
659
|
brand_manifest: exports.BrandManifestReferenceSchema,
|
|
660
|
+
si_agent_url: zod_1.z.string().nullish(),
|
|
420
661
|
product_selectors: exports.PromotedProductsSchema.nullish(),
|
|
421
|
-
offerings: zod_1.z.array(
|
|
422
|
-
|
|
423
|
-
description: zod_1.z.string().nullish(),
|
|
424
|
-
assets: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.unknown())).nullish()
|
|
425
|
-
}))).nullish(),
|
|
426
|
-
asset_selectors: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
662
|
+
offerings: zod_1.z.array(exports.OfferingSchema).nullish(),
|
|
663
|
+
asset_selectors: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
427
664
|
tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
428
665
|
asset_types: zod_1.z.array(zod_1.z.union([zod_1.z.literal("image"), zod_1.z.literal("video"), zod_1.z.literal("audio"), zod_1.z.literal("vast"), zod_1.z.literal("daast"), zod_1.z.literal("text"), zod_1.z.literal("url"), zod_1.z.literal("html"), zod_1.z.literal("css"), zod_1.z.literal("javascript"), zod_1.z.literal("webhook")])).nullish(),
|
|
429
|
-
exclude_tags: zod_1.z.array(zod_1.z.string()).nullish()
|
|
430
|
-
})).nullish()
|
|
431
|
-
}));
|
|
432
|
-
exports.
|
|
433
|
-
url: zod_1.z.string(),
|
|
434
|
-
url_type: exports.URLAssetTypeSchema.nullish(),
|
|
435
|
-
description: zod_1.z.string().nullish()
|
|
436
|
-
}));
|
|
437
|
-
exports.CreateMediaBuyErrorSchema = zod_1.z.object({
|
|
438
|
-
errors: zod_1.z.array(exports.ErrorSchema),
|
|
439
|
-
context: exports.ContextObjectSchema.nullish(),
|
|
440
|
-
ext: exports.ExtensionObjectSchema.nullish()
|
|
441
|
-
});
|
|
442
|
-
exports.PackageSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
666
|
+
exclude_tags: zod_1.z.array(zod_1.z.string()).nullish()
|
|
667
|
+
})).nullish()
|
|
668
|
+
}));
|
|
669
|
+
exports.PackageSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
443
670
|
package_id: zod_1.z.string(),
|
|
444
671
|
buyer_ref: zod_1.z.string().nullish(),
|
|
445
672
|
product_id: zod_1.z.string().nullish(),
|
|
@@ -466,14 +693,29 @@ exports.PushNotificationConfigSchema = zod_1.z.object({
|
|
|
466
693
|
exports.SyncCreativesResponseSchema = zod_1.z.union([exports.SyncCreativesSuccessSchema, exports.SyncCreativesErrorSchema]);
|
|
467
694
|
exports.CreativeSortFieldSchema = zod_1.z.union([zod_1.z.literal("created_date"), zod_1.z.literal("updated_date"), zod_1.z.literal("name"), zod_1.z.literal("status"), zod_1.z.literal("assignment_count"), zod_1.z.literal("performance_score")]);
|
|
468
695
|
exports.SortDirectionSchema = zod_1.z.union([zod_1.z.literal("asc"), zod_1.z.literal("desc")]);
|
|
469
|
-
exports.
|
|
470
|
-
|
|
471
|
-
|
|
696
|
+
exports.CreativeFiltersSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
697
|
+
formats: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
698
|
+
statuses: zod_1.z.array(exports.CreativeStatusSchema).nullish(),
|
|
699
|
+
tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
700
|
+
tags_any: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
701
|
+
name_contains: zod_1.z.string().nullish(),
|
|
702
|
+
creative_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
703
|
+
created_after: zod_1.z.string().nullish(),
|
|
704
|
+
created_before: zod_1.z.string().nullish(),
|
|
705
|
+
updated_after: zod_1.z.string().nullish(),
|
|
706
|
+
updated_before: zod_1.z.string().nullish(),
|
|
707
|
+
assigned_to_packages: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
708
|
+
media_buy_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
709
|
+
buyer_refs: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
710
|
+
unassigned: zod_1.z.boolean().nullish(),
|
|
711
|
+
has_performance_data: zod_1.z.boolean().nullish()
|
|
712
|
+
}));
|
|
713
|
+
exports.SubAssetSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
472
714
|
asset_kind: zod_1.z.literal("media"),
|
|
473
715
|
asset_type: zod_1.z.string(),
|
|
474
716
|
asset_id: zod_1.z.string(),
|
|
475
717
|
content_uri: zod_1.z.string()
|
|
476
|
-
})), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
718
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
477
719
|
asset_kind: zod_1.z.literal("text"),
|
|
478
720
|
asset_type: zod_1.z.string(),
|
|
479
721
|
asset_id: zod_1.z.string(),
|
|
@@ -509,9 +751,8 @@ exports.ListCreativesResponseSchema = zod_1.z.object({
|
|
|
509
751
|
assignment_count: zod_1.z.number(),
|
|
510
752
|
assigned_packages: zod_1.z.array(zod_1.z.object({
|
|
511
753
|
package_id: zod_1.z.string(),
|
|
512
|
-
|
|
513
|
-
assigned_date: zod_1.z.string()
|
|
514
|
-
status: zod_1.z.union([zod_1.z.literal("active"), zod_1.z.literal("paused"), zod_1.z.literal("ended")])
|
|
754
|
+
buyer_ref: zod_1.z.string().nullish(),
|
|
755
|
+
assigned_date: zod_1.z.string()
|
|
515
756
|
})).nullish()
|
|
516
757
|
}).nullish(),
|
|
517
758
|
performance: zod_1.z.object({
|
|
@@ -526,6 +767,7 @@ exports.ListCreativesResponseSchema = zod_1.z.object({
|
|
|
526
767
|
})),
|
|
527
768
|
format_summary: zod_1.z.record(zod_1.z.string(), zod_1.z.number()).nullish(),
|
|
528
769
|
status_summary: zod_1.z.object({
|
|
770
|
+
processing: zod_1.z.number().nullish(),
|
|
529
771
|
approved: zod_1.z.number().nullish(),
|
|
530
772
|
pending_review: zod_1.z.number().nullish(),
|
|
531
773
|
rejected: zod_1.z.number().nullish(),
|
|
@@ -534,17 +776,19 @@ exports.ListCreativesResponseSchema = zod_1.z.object({
|
|
|
534
776
|
context: exports.ContextObjectSchema.nullish(),
|
|
535
777
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
536
778
|
});
|
|
537
|
-
exports.
|
|
538
|
-
|
|
779
|
+
exports.PackageUpdateSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
780
|
+
package_id: zod_1.z.string().nullish(),
|
|
539
781
|
buyer_ref: zod_1.z.string().nullish(),
|
|
782
|
+
budget: zod_1.z.number().nullish(),
|
|
783
|
+
pacing: exports.PacingSchema.nullish(),
|
|
784
|
+
bid_price: zod_1.z.number().nullish(),
|
|
785
|
+
impressions: zod_1.z.number().nullish(),
|
|
540
786
|
paused: zod_1.z.boolean().nullish(),
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
push_notification_config: exports.PushNotificationConfigSchema.nullish(),
|
|
545
|
-
context: exports.ContextObjectSchema.nullish(),
|
|
787
|
+
targeting_overlay: exports.TargetingOverlaySchema.nullish(),
|
|
788
|
+
creative_assignments: zod_1.z.array(exports.CreativeAssignmentSchema).nullish(),
|
|
789
|
+
creatives: zod_1.z.array(exports.CreativeAssetSchema).nullish(),
|
|
546
790
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
547
|
-
});
|
|
791
|
+
})).and(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])));
|
|
548
792
|
exports.UpdateMediaBuySuccessSchema = zod_1.z.object({
|
|
549
793
|
media_buy_id: zod_1.z.string(),
|
|
550
794
|
buyer_ref: zod_1.z.string(),
|
|
@@ -553,11 +797,6 @@ exports.UpdateMediaBuySuccessSchema = zod_1.z.object({
|
|
|
553
797
|
context: exports.ContextObjectSchema.nullish(),
|
|
554
798
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
555
799
|
});
|
|
556
|
-
exports.UpdateMediaBuyErrorSchema = zod_1.z.object({
|
|
557
|
-
errors: zod_1.z.array(exports.ErrorSchema),
|
|
558
|
-
context: exports.ContextObjectSchema.nullish(),
|
|
559
|
-
ext: exports.ExtensionObjectSchema.nullish()
|
|
560
|
-
});
|
|
561
800
|
exports.GetMediaBuyDeliveryRequestSchema = zod_1.z.object({
|
|
562
801
|
media_buy_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
563
802
|
buyer_refs: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
@@ -568,7 +807,8 @@ exports.GetMediaBuyDeliveryRequestSchema = zod_1.z.object({
|
|
|
568
807
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
569
808
|
});
|
|
570
809
|
exports.PricingModelSchema = zod_1.z.union([zod_1.z.literal("cpm"), zod_1.z.literal("vcpm"), zod_1.z.literal("cpc"), zod_1.z.literal("cpcv"), zod_1.z.literal("cpv"), zod_1.z.literal("cpp"), zod_1.z.literal("flat_rate")]);
|
|
571
|
-
exports.
|
|
810
|
+
exports.PricingModel1Schema = zod_1.z.union([zod_1.z.literal("cpm"), zod_1.z.literal("vcpm"), zod_1.z.literal("cpc"), zod_1.z.literal("cpcv"), zod_1.z.literal("cpv"), zod_1.z.literal("cpp"), zod_1.z.literal("flat_rate")]);
|
|
811
|
+
exports.DeliveryMetricsSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
572
812
|
impressions: zod_1.z.number().nullish(),
|
|
573
813
|
spend: zod_1.z.number().nullish(),
|
|
574
814
|
clicks: zod_1.z.number().nullish(),
|
|
@@ -587,13 +827,13 @@ exports.DeliveryMetricsSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown
|
|
|
587
827
|
q3_views: zod_1.z.number().nullish(),
|
|
588
828
|
q4_views: zod_1.z.number().nullish()
|
|
589
829
|
}).nullish(),
|
|
590
|
-
dooh_metrics: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
830
|
+
dooh_metrics: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
591
831
|
loop_plays: zod_1.z.number().nullish(),
|
|
592
832
|
screens_used: zod_1.z.number().nullish(),
|
|
593
833
|
screen_time_seconds: zod_1.z.number().nullish(),
|
|
594
834
|
sov_achieved: zod_1.z.number().nullish(),
|
|
595
835
|
calculation_notes: zod_1.z.string().nullish(),
|
|
596
|
-
venue_breakdown: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
836
|
+
venue_breakdown: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
597
837
|
venue_id: zod_1.z.string(),
|
|
598
838
|
venue_name: zod_1.z.string().nullish(),
|
|
599
839
|
venue_type: zod_1.z.string().nullish(),
|
|
@@ -603,30 +843,8 @@ exports.DeliveryMetricsSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown
|
|
|
603
843
|
}))).nullish()
|
|
604
844
|
})).nullish()
|
|
605
845
|
}));
|
|
606
|
-
exports.PricingModel1Schema = zod_1.z.union([zod_1.z.literal("cpm"), zod_1.z.literal("vcpm"), zod_1.z.literal("cpc"), zod_1.z.literal("cpcv"), zod_1.z.literal("cpv"), zod_1.z.literal("cpp"), zod_1.z.literal("flat_rate")]);
|
|
607
|
-
exports.ListAuthorizedPropertiesRequestSchema = zod_1.z.object({
|
|
608
|
-
publisher_domains: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
609
|
-
context: exports.ContextObjectSchema.nullish(),
|
|
610
|
-
ext: exports.ExtensionObjectSchema.nullish()
|
|
611
|
-
});
|
|
612
|
-
exports.AdvertisingChannelsSchema = zod_1.z.union([zod_1.z.literal("display"), zod_1.z.literal("video"), zod_1.z.literal("audio"), zod_1.z.literal("native"), zod_1.z.literal("dooh"), zod_1.z.literal("ctv"), zod_1.z.literal("podcast"), zod_1.z.literal("retail"), zod_1.z.literal("social")]);
|
|
613
846
|
exports.MetricTypeSchema = zod_1.z.union([zod_1.z.literal("overall_performance"), zod_1.z.literal("conversion_rate"), zod_1.z.literal("brand_lift"), zod_1.z.literal("click_through_rate"), zod_1.z.literal("completion_rate"), zod_1.z.literal("viewability"), zod_1.z.literal("brand_safety"), zod_1.z.literal("cost_efficiency")]);
|
|
614
847
|
exports.FeedbackSourceSchema = zod_1.z.union([zod_1.z.literal("buyer_attribution"), zod_1.z.literal("third_party_measurement"), zod_1.z.literal("platform_analytics"), zod_1.z.literal("verification_partner")]);
|
|
615
|
-
exports.ProvidePerformanceFeedbackRequest1Schema = zod_1.z.object({
|
|
616
|
-
media_buy_id: zod_1.z.string().nullish(),
|
|
617
|
-
buyer_ref: zod_1.z.string().nullish(),
|
|
618
|
-
measurement_period: zod_1.z.object({
|
|
619
|
-
start: zod_1.z.string(),
|
|
620
|
-
end: zod_1.z.string()
|
|
621
|
-
}).nullish(),
|
|
622
|
-
performance_index: zod_1.z.number().nullish(),
|
|
623
|
-
package_id: zod_1.z.string().nullish(),
|
|
624
|
-
creative_id: zod_1.z.string().nullish(),
|
|
625
|
-
metric_type: exports.MetricTypeSchema.nullish(),
|
|
626
|
-
feedback_source: exports.FeedbackSourceSchema.nullish(),
|
|
627
|
-
context: exports.ContextObjectSchema.nullish(),
|
|
628
|
-
ext: exports.ExtensionObjectSchema.nullish()
|
|
629
|
-
});
|
|
630
848
|
exports.ProvidePerformanceFeedbackSuccessSchema = zod_1.z.object({
|
|
631
849
|
success: zod_1.z.literal(true),
|
|
632
850
|
context: exports.ContextObjectSchema.nullish(),
|
|
@@ -637,15 +855,28 @@ exports.ProvidePerformanceFeedbackErrorSchema = zod_1.z.object({
|
|
|
637
855
|
context: exports.ContextObjectSchema.nullish(),
|
|
638
856
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
639
857
|
});
|
|
640
|
-
exports.
|
|
858
|
+
exports.HTTPMethodSchema = zod_1.z.union([zod_1.z.literal("GET"), zod_1.z.literal("POST")]);
|
|
859
|
+
exports.WebhookResponseTypeSchema = zod_1.z.union([zod_1.z.literal("html"), zod_1.z.literal("json"), zod_1.z.literal("xml"), zod_1.z.literal("javascript")]);
|
|
860
|
+
exports.WebhookSecurityMethodSchema = zod_1.z.union([zod_1.z.literal("hmac_sha256"), zod_1.z.literal("api_key"), zod_1.z.literal("none")]);
|
|
861
|
+
exports.CreativeManifestSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
641
862
|
format_id: exports.FormatIDSchema,
|
|
642
863
|
promoted_offering: zod_1.z.string().nullish(),
|
|
643
|
-
assets: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
864
|
+
assets: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])),
|
|
644
865
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
645
866
|
}));
|
|
646
|
-
exports.
|
|
647
|
-
|
|
648
|
-
exports.
|
|
867
|
+
exports.WebhookAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
868
|
+
url: zod_1.z.string(),
|
|
869
|
+
method: exports.HTTPMethodSchema.nullish(),
|
|
870
|
+
timeout_ms: zod_1.z.number().nullish(),
|
|
871
|
+
supported_macros: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
872
|
+
required_macros: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
873
|
+
response_type: exports.WebhookResponseTypeSchema,
|
|
874
|
+
security: zod_1.z.object({
|
|
875
|
+
method: exports.WebhookSecurityMethodSchema,
|
|
876
|
+
hmac_header: zod_1.z.string().nullish(),
|
|
877
|
+
api_key_header: zod_1.z.string().nullish()
|
|
878
|
+
})
|
|
879
|
+
}));
|
|
649
880
|
exports.BuildCreativeSuccessSchema = zod_1.z.object({
|
|
650
881
|
creative_manifest: exports.CreativeManifestSchema,
|
|
651
882
|
context: exports.ContextObjectSchema.nullish(),
|
|
@@ -657,15 +888,15 @@ exports.BuildCreativeErrorSchema = zod_1.z.object({
|
|
|
657
888
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
658
889
|
});
|
|
659
890
|
exports.PreviewOutputFormatSchema = zod_1.z.union([zod_1.z.literal("url"), zod_1.z.literal("html")]);
|
|
660
|
-
exports.CreativeManifest1Schema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
891
|
+
exports.CreativeManifest1Schema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
661
892
|
format_id: exports.FormatID1Schema,
|
|
662
893
|
promoted_offering: zod_1.z.string().nullish(),
|
|
663
|
-
assets: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
894
|
+
assets: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])),
|
|
664
895
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
665
896
|
}));
|
|
666
897
|
exports.PreviewOutputFormat1Schema = zod_1.z.union([zod_1.z.literal("url"), zod_1.z.literal("html")]);
|
|
667
898
|
exports.PreviewOutputFormat2Schema = zod_1.z.union([zod_1.z.literal("url"), zod_1.z.literal("html")]);
|
|
668
|
-
exports.PreviewRenderSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
899
|
+
exports.PreviewRenderSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
669
900
|
render_id: zod_1.z.string(),
|
|
670
901
|
output_format: zod_1.z.literal("url"),
|
|
671
902
|
preview_url: zod_1.z.string(),
|
|
@@ -680,7 +911,7 @@ exports.PreviewRenderSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zo
|
|
|
680
911
|
supports_fullscreen: zod_1.z.boolean().nullish(),
|
|
681
912
|
csp_policy: zod_1.z.string().nullish()
|
|
682
913
|
}).nullish()
|
|
683
|
-
})), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
914
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
684
915
|
render_id: zod_1.z.string(),
|
|
685
916
|
output_format: zod_1.z.literal("html"),
|
|
686
917
|
preview_html: zod_1.z.string(),
|
|
@@ -695,7 +926,7 @@ exports.PreviewRenderSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zo
|
|
|
695
926
|
supports_fullscreen: zod_1.z.boolean().nullish(),
|
|
696
927
|
csp_policy: zod_1.z.string().nullish()
|
|
697
928
|
}).nullish()
|
|
698
|
-
})), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
929
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
699
930
|
render_id: zod_1.z.string(),
|
|
700
931
|
output_format: zod_1.z.literal("both"),
|
|
701
932
|
preview_url: zod_1.z.string(),
|
|
@@ -712,39 +943,61 @@ exports.PreviewRenderSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zo
|
|
|
712
943
|
csp_policy: zod_1.z.string().nullish()
|
|
713
944
|
}).nullish()
|
|
714
945
|
}))]);
|
|
946
|
+
exports.PreviewCreativeSingleResponseSchema = zod_1.z.object({
|
|
947
|
+
response_type: zod_1.z.literal("single"),
|
|
948
|
+
previews: zod_1.z.array(zod_1.z.object({
|
|
949
|
+
preview_id: zod_1.z.string(),
|
|
950
|
+
renders: zod_1.z.array(exports.PreviewRenderSchema),
|
|
951
|
+
input: zod_1.z.object({
|
|
952
|
+
name: zod_1.z.string(),
|
|
953
|
+
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()])).nullish(),
|
|
954
|
+
context_description: zod_1.z.string().nullish()
|
|
955
|
+
})
|
|
956
|
+
})),
|
|
957
|
+
interactive_url: zod_1.z.string().nullish(),
|
|
958
|
+
expires_at: zod_1.z.string(),
|
|
959
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
960
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
961
|
+
});
|
|
715
962
|
exports.PreviewBatchResultSuccessSchema = zod_1.z.object({
|
|
716
963
|
success: zod_1.z.literal(true).nullish()
|
|
717
964
|
});
|
|
718
965
|
exports.PreviewBatchResultErrorSchema = zod_1.z.object({
|
|
719
966
|
success: zod_1.z.literal(false).nullish()
|
|
720
967
|
});
|
|
721
|
-
exports.DestinationSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
968
|
+
exports.DestinationSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
722
969
|
type: zod_1.z.literal("platform"),
|
|
723
970
|
platform: zod_1.z.string(),
|
|
724
971
|
account: zod_1.z.string().nullish()
|
|
725
|
-
})), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
972
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
726
973
|
type: zod_1.z.literal("agent"),
|
|
727
974
|
agent_url: zod_1.z.string(),
|
|
728
975
|
account: zod_1.z.string().nullish()
|
|
729
976
|
}))]);
|
|
730
|
-
exports.
|
|
977
|
+
exports.SignalCatalogTypeSchema = zod_1.z.union([zod_1.z.literal("marketplace"), zod_1.z.literal("custom"), zod_1.z.literal("owned")]);
|
|
978
|
+
exports.SignalFiltersSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
979
|
+
catalog_types: zod_1.z.array(exports.SignalCatalogTypeSchema).nullish(),
|
|
980
|
+
data_providers: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
981
|
+
max_cpm: zod_1.z.number().nullish(),
|
|
982
|
+
min_coverage_percentage: zod_1.z.number().nullish()
|
|
983
|
+
}));
|
|
984
|
+
exports.ActivationKeySchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
731
985
|
type: zod_1.z.literal("segment_id"),
|
|
732
986
|
segment_id: zod_1.z.string()
|
|
733
|
-
})), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
987
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
734
988
|
type: zod_1.z.literal("key_value"),
|
|
735
989
|
key: zod_1.z.string(),
|
|
736
990
|
value: zod_1.z.string()
|
|
737
991
|
}))]);
|
|
738
|
-
exports.ActivationKey1Schema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
992
|
+
exports.ActivationKey1Schema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
739
993
|
type: zod_1.z.literal("segment_id"),
|
|
740
994
|
segment_id: zod_1.z.string()
|
|
741
|
-
})), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
995
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
742
996
|
type: zod_1.z.literal("key_value"),
|
|
743
997
|
key: zod_1.z.string(),
|
|
744
998
|
value: zod_1.z.string()
|
|
745
999
|
}))]);
|
|
746
|
-
exports.
|
|
747
|
-
exports.DeploymentSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
1000
|
+
exports.DeploymentSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
748
1001
|
type: zod_1.z.literal("platform"),
|
|
749
1002
|
platform: zod_1.z.string(),
|
|
750
1003
|
account: zod_1.z.string().nullish(),
|
|
@@ -752,7 +1005,7 @@ exports.DeploymentSchema = zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1
|
|
|
752
1005
|
activation_key: exports.ActivationKeySchema.nullish(),
|
|
753
1006
|
estimated_activation_duration_minutes: zod_1.z.number().nullish(),
|
|
754
1007
|
deployed_at: zod_1.z.string().nullish()
|
|
755
|
-
})), zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
1008
|
+
})), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
756
1009
|
type: zod_1.z.literal("agent"),
|
|
757
1010
|
agent_url: zod_1.z.string(),
|
|
758
1011
|
account: zod_1.z.string().nullish(),
|
|
@@ -777,6 +1030,622 @@ exports.ActivateSignalErrorSchema = zod_1.z.object({
|
|
|
777
1030
|
context: exports.ContextObjectSchema.nullish(),
|
|
778
1031
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
779
1032
|
});
|
|
1033
|
+
exports.PublisherTagsSourceSchema = zod_1.z.object({
|
|
1034
|
+
selection_type: zod_1.z.literal("publisher_tags"),
|
|
1035
|
+
publisher_domain: zod_1.z.string(),
|
|
1036
|
+
tags: zod_1.z.array(exports.PropertyTagSchema)
|
|
1037
|
+
});
|
|
1038
|
+
exports.PublisherPropertyIDsSourceSchema = zod_1.z.object({
|
|
1039
|
+
selection_type: zod_1.z.literal("publisher_ids"),
|
|
1040
|
+
publisher_domain: zod_1.z.string(),
|
|
1041
|
+
property_ids: zod_1.z.array(exports.PropertyIDSchema)
|
|
1042
|
+
});
|
|
1043
|
+
exports.IdentifierSchema = zod_1.z.object({
|
|
1044
|
+
type: exports.PropertyIdentifierTypesSchema,
|
|
1045
|
+
value: zod_1.z.string()
|
|
1046
|
+
});
|
|
1047
|
+
exports.FeatureRequirementSchema = zod_1.z.object({
|
|
1048
|
+
feature_id: zod_1.z.string(),
|
|
1049
|
+
min_value: zod_1.z.number().nullish(),
|
|
1050
|
+
max_value: zod_1.z.number().nullish(),
|
|
1051
|
+
allowed_values: zod_1.z.array(zod_1.z.unknown()).nullish(),
|
|
1052
|
+
if_not_covered: zod_1.z.union([zod_1.z.literal("exclude"), zod_1.z.literal("include")]).nullish()
|
|
1053
|
+
});
|
|
1054
|
+
exports.PropertyListFiltersSchema = zod_1.z.object({
|
|
1055
|
+
countries_all: zod_1.z.array(zod_1.z.string()),
|
|
1056
|
+
channels_any: zod_1.z.array(exports.MediaChannelSchema),
|
|
1057
|
+
property_types: zod_1.z.array(exports.PropertyTypeSchema).nullish(),
|
|
1058
|
+
feature_requirements: zod_1.z.array(exports.FeatureRequirementSchema).nullish(),
|
|
1059
|
+
exclude_identifiers: zod_1.z.array(exports.IdentifierSchema).nullish()
|
|
1060
|
+
});
|
|
1061
|
+
exports.GetPropertyListRequestSchema = zod_1.z.object({
|
|
1062
|
+
list_id: zod_1.z.string(),
|
|
1063
|
+
resolve: zod_1.z.boolean().nullish(),
|
|
1064
|
+
max_results: zod_1.z.number().nullish(),
|
|
1065
|
+
cursor: zod_1.z.string().nullish(),
|
|
1066
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1067
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1068
|
+
});
|
|
1069
|
+
exports.ListPropertyListsRequestSchema = zod_1.z.object({
|
|
1070
|
+
principal: zod_1.z.string().nullish(),
|
|
1071
|
+
name_contains: zod_1.z.string().nullish(),
|
|
1072
|
+
max_results: zod_1.z.number().nullish(),
|
|
1073
|
+
cursor: zod_1.z.string().nullish(),
|
|
1074
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1075
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1076
|
+
});
|
|
1077
|
+
exports.DeletePropertyListRequestSchema = zod_1.z.object({
|
|
1078
|
+
list_id: zod_1.z.string(),
|
|
1079
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1080
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1081
|
+
});
|
|
1082
|
+
exports.DeletePropertyListResponseSchema = zod_1.z.object({
|
|
1083
|
+
deleted: zod_1.z.boolean(),
|
|
1084
|
+
list_id: zod_1.z.string(),
|
|
1085
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1086
|
+
});
|
|
1087
|
+
exports.ListContentStandardsRequestSchema = zod_1.z.object({
|
|
1088
|
+
channels: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
1089
|
+
languages: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1090
|
+
countries: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1091
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1092
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1093
|
+
});
|
|
1094
|
+
exports.AssetAccessSchema = zod_1.z.union([zod_1.z.object({
|
|
1095
|
+
method: zod_1.z.literal("bearer_token"),
|
|
1096
|
+
token: zod_1.z.string()
|
|
1097
|
+
}), zod_1.z.object({
|
|
1098
|
+
method: zod_1.z.literal("service_account"),
|
|
1099
|
+
provider: zod_1.z.union([zod_1.z.literal("gcp"), zod_1.z.literal("aws")]),
|
|
1100
|
+
credentials: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
1101
|
+
}), zod_1.z.object({
|
|
1102
|
+
method: zod_1.z.literal("signed_url")
|
|
1103
|
+
})]);
|
|
1104
|
+
exports.AssetAccess1Schema = zod_1.z.union([zod_1.z.object({
|
|
1105
|
+
method: zod_1.z.literal("bearer_token"),
|
|
1106
|
+
token: zod_1.z.string()
|
|
1107
|
+
}), zod_1.z.object({
|
|
1108
|
+
method: zod_1.z.literal("service_account"),
|
|
1109
|
+
provider: zod_1.z.union([zod_1.z.literal("gcp"), zod_1.z.literal("aws")]),
|
|
1110
|
+
credentials: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
1111
|
+
}), zod_1.z.object({
|
|
1112
|
+
method: zod_1.z.literal("signed_url")
|
|
1113
|
+
})]);
|
|
1114
|
+
exports.AssetAccess2Schema = zod_1.z.union([zod_1.z.object({
|
|
1115
|
+
method: zod_1.z.literal("bearer_token"),
|
|
1116
|
+
token: zod_1.z.string()
|
|
1117
|
+
}), zod_1.z.object({
|
|
1118
|
+
method: zod_1.z.literal("service_account"),
|
|
1119
|
+
provider: zod_1.z.union([zod_1.z.literal("gcp"), zod_1.z.literal("aws")]),
|
|
1120
|
+
credentials: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
1121
|
+
}), zod_1.z.object({
|
|
1122
|
+
method: zod_1.z.literal("signed_url")
|
|
1123
|
+
})]);
|
|
1124
|
+
exports.ArtifactSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1125
|
+
property_id: exports.IdentifierSchema,
|
|
1126
|
+
artifact_id: zod_1.z.string(),
|
|
1127
|
+
variant_id: zod_1.z.string().nullish(),
|
|
1128
|
+
format_id: exports.FormatIDSchema.nullish(),
|
|
1129
|
+
url: zod_1.z.string().nullish(),
|
|
1130
|
+
published_time: zod_1.z.string().nullish(),
|
|
1131
|
+
last_update_time: zod_1.z.string().nullish(),
|
|
1132
|
+
assets: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
1133
|
+
type: zod_1.z.literal("text"),
|
|
1134
|
+
role: zod_1.z.union([zod_1.z.literal("title"), zod_1.z.literal("paragraph"), zod_1.z.literal("heading"), zod_1.z.literal("caption"), zod_1.z.literal("quote"), zod_1.z.literal("list_item"), zod_1.z.literal("description")]).nullish(),
|
|
1135
|
+
content: zod_1.z.string(),
|
|
1136
|
+
language: zod_1.z.string().nullish(),
|
|
1137
|
+
heading_level: zod_1.z.number().nullish()
|
|
1138
|
+
}), zod_1.z.object({
|
|
1139
|
+
type: zod_1.z.literal("image"),
|
|
1140
|
+
url: zod_1.z.string(),
|
|
1141
|
+
access: exports.AssetAccessSchema.nullish(),
|
|
1142
|
+
alt_text: zod_1.z.string().nullish(),
|
|
1143
|
+
caption: zod_1.z.string().nullish(),
|
|
1144
|
+
width: zod_1.z.number().nullish(),
|
|
1145
|
+
height: zod_1.z.number().nullish()
|
|
1146
|
+
}), zod_1.z.object({
|
|
1147
|
+
type: zod_1.z.literal("video"),
|
|
1148
|
+
url: zod_1.z.string(),
|
|
1149
|
+
access: exports.AssetAccess1Schema.nullish(),
|
|
1150
|
+
duration_ms: zod_1.z.number().nullish(),
|
|
1151
|
+
transcript: zod_1.z.string().nullish(),
|
|
1152
|
+
transcript_source: zod_1.z.union([zod_1.z.literal("original_script"), zod_1.z.literal("subtitles"), zod_1.z.literal("closed_captions"), zod_1.z.literal("dub"), zod_1.z.literal("generated")]).nullish(),
|
|
1153
|
+
thumbnail_url: zod_1.z.string().nullish()
|
|
1154
|
+
}), zod_1.z.object({
|
|
1155
|
+
type: zod_1.z.literal("audio"),
|
|
1156
|
+
url: zod_1.z.string(),
|
|
1157
|
+
access: exports.AssetAccess2Schema.nullish(),
|
|
1158
|
+
duration_ms: zod_1.z.number().nullish(),
|
|
1159
|
+
transcript: zod_1.z.string().nullish(),
|
|
1160
|
+
transcript_source: zod_1.z.union([zod_1.z.literal("original_script"), zod_1.z.literal("closed_captions"), zod_1.z.literal("generated")]).nullish()
|
|
1161
|
+
})])),
|
|
1162
|
+
metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1163
|
+
canonical: zod_1.z.string().nullish(),
|
|
1164
|
+
author: zod_1.z.string().nullish(),
|
|
1165
|
+
keywords: zod_1.z.string().nullish(),
|
|
1166
|
+
open_graph: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
1167
|
+
twitter_card: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
1168
|
+
json_ld: zod_1.z.array(zod_1.z.object({})).nullish()
|
|
1169
|
+
})).nullish(),
|
|
1170
|
+
identifiers: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1171
|
+
apple_podcast_id: zod_1.z.string().nullish(),
|
|
1172
|
+
spotify_show_id: zod_1.z.string().nullish(),
|
|
1173
|
+
podcast_guid: zod_1.z.string().nullish(),
|
|
1174
|
+
youtube_video_id: zod_1.z.string().nullish(),
|
|
1175
|
+
rss_url: zod_1.z.string().nullish()
|
|
1176
|
+
})).nullish()
|
|
1177
|
+
}));
|
|
1178
|
+
exports.GetContentStandardsRequestSchema = zod_1.z.object({
|
|
1179
|
+
standards_id: zod_1.z.string(),
|
|
1180
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1181
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1182
|
+
});
|
|
1183
|
+
exports.ContentStandardsSchema = zod_1.z.object({
|
|
1184
|
+
standards_id: zod_1.z.string(),
|
|
1185
|
+
name: zod_1.z.string().nullish(),
|
|
1186
|
+
countries_all: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1187
|
+
channels_any: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
1188
|
+
languages_any: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1189
|
+
policy: zod_1.z.string().nullish(),
|
|
1190
|
+
calibration_exemplars: zod_1.z.object({
|
|
1191
|
+
pass: zod_1.z.array(exports.ArtifactSchema).nullish(),
|
|
1192
|
+
fail: zod_1.z.array(exports.ArtifactSchema).nullish()
|
|
1193
|
+
}).nullish(),
|
|
1194
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1195
|
+
});
|
|
1196
|
+
exports.Artifact1Schema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1197
|
+
property_id: exports.IdentifierSchema,
|
|
1198
|
+
artifact_id: zod_1.z.string(),
|
|
1199
|
+
variant_id: zod_1.z.string().nullish(),
|
|
1200
|
+
format_id: exports.FormatIDSchema.nullish(),
|
|
1201
|
+
url: zod_1.z.string().nullish(),
|
|
1202
|
+
published_time: zod_1.z.string().nullish(),
|
|
1203
|
+
last_update_time: zod_1.z.string().nullish(),
|
|
1204
|
+
assets: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
1205
|
+
type: zod_1.z.literal("text"),
|
|
1206
|
+
role: zod_1.z.union([zod_1.z.literal("title"), zod_1.z.literal("paragraph"), zod_1.z.literal("heading"), zod_1.z.literal("caption"), zod_1.z.literal("quote"), zod_1.z.literal("list_item"), zod_1.z.literal("description")]).nullish(),
|
|
1207
|
+
content: zod_1.z.string(),
|
|
1208
|
+
language: zod_1.z.string().nullish(),
|
|
1209
|
+
heading_level: zod_1.z.number().nullish()
|
|
1210
|
+
}), zod_1.z.object({
|
|
1211
|
+
type: zod_1.z.literal("image"),
|
|
1212
|
+
url: zod_1.z.string(),
|
|
1213
|
+
access: exports.AssetAccessSchema.nullish(),
|
|
1214
|
+
alt_text: zod_1.z.string().nullish(),
|
|
1215
|
+
caption: zod_1.z.string().nullish(),
|
|
1216
|
+
width: zod_1.z.number().nullish(),
|
|
1217
|
+
height: zod_1.z.number().nullish()
|
|
1218
|
+
}), zod_1.z.object({
|
|
1219
|
+
type: zod_1.z.literal("video"),
|
|
1220
|
+
url: zod_1.z.string(),
|
|
1221
|
+
access: exports.AssetAccess1Schema.nullish(),
|
|
1222
|
+
duration_ms: zod_1.z.number().nullish(),
|
|
1223
|
+
transcript: zod_1.z.string().nullish(),
|
|
1224
|
+
transcript_source: zod_1.z.union([zod_1.z.literal("original_script"), zod_1.z.literal("subtitles"), zod_1.z.literal("closed_captions"), zod_1.z.literal("dub"), zod_1.z.literal("generated")]).nullish(),
|
|
1225
|
+
thumbnail_url: zod_1.z.string().nullish()
|
|
1226
|
+
}), zod_1.z.object({
|
|
1227
|
+
type: zod_1.z.literal("audio"),
|
|
1228
|
+
url: zod_1.z.string(),
|
|
1229
|
+
access: exports.AssetAccess2Schema.nullish(),
|
|
1230
|
+
duration_ms: zod_1.z.number().nullish(),
|
|
1231
|
+
transcript: zod_1.z.string().nullish(),
|
|
1232
|
+
transcript_source: zod_1.z.union([zod_1.z.literal("original_script"), zod_1.z.literal("closed_captions"), zod_1.z.literal("generated")]).nullish()
|
|
1233
|
+
})])),
|
|
1234
|
+
metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1235
|
+
canonical: zod_1.z.string().nullish(),
|
|
1236
|
+
author: zod_1.z.string().nullish(),
|
|
1237
|
+
keywords: zod_1.z.string().nullish(),
|
|
1238
|
+
open_graph: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
1239
|
+
twitter_card: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
1240
|
+
json_ld: zod_1.z.array(zod_1.z.object({})).nullish()
|
|
1241
|
+
})).nullish(),
|
|
1242
|
+
identifiers: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1243
|
+
apple_podcast_id: zod_1.z.string().nullish(),
|
|
1244
|
+
spotify_show_id: zod_1.z.string().nullish(),
|
|
1245
|
+
podcast_guid: zod_1.z.string().nullish(),
|
|
1246
|
+
youtube_video_id: zod_1.z.string().nullish(),
|
|
1247
|
+
rss_url: zod_1.z.string().nullish()
|
|
1248
|
+
})).nullish()
|
|
1249
|
+
}));
|
|
1250
|
+
exports.CreateContentStandardsResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
1251
|
+
standards_id: zod_1.z.string(),
|
|
1252
|
+
errors: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
1253
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1254
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1255
|
+
}), zod_1.z.object({
|
|
1256
|
+
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1257
|
+
conflicting_standards_id: zod_1.z.string().nullish(),
|
|
1258
|
+
standards_id: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
1259
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1260
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1261
|
+
})]);
|
|
1262
|
+
exports.UpdateContentStandardsRequestSchema = zod_1.z.object({
|
|
1263
|
+
standards_id: zod_1.z.string(),
|
|
1264
|
+
scope: zod_1.z.object({
|
|
1265
|
+
countries_all: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1266
|
+
channels_any: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
1267
|
+
languages_any: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1268
|
+
description: zod_1.z.string().nullish()
|
|
1269
|
+
}).nullish(),
|
|
1270
|
+
policy: zod_1.z.string().nullish(),
|
|
1271
|
+
calibration_exemplars: zod_1.z.object({
|
|
1272
|
+
pass: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
1273
|
+
type: zod_1.z.literal("url"),
|
|
1274
|
+
value: zod_1.z.string(),
|
|
1275
|
+
language: zod_1.z.string().nullish()
|
|
1276
|
+
}), exports.ArtifactSchema])).nullish(),
|
|
1277
|
+
fail: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
1278
|
+
type: zod_1.z.literal("url"),
|
|
1279
|
+
value: zod_1.z.string(),
|
|
1280
|
+
language: zod_1.z.string().nullish()
|
|
1281
|
+
}), exports.Artifact1Schema])).nullish()
|
|
1282
|
+
}).nullish(),
|
|
1283
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1284
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1285
|
+
});
|
|
1286
|
+
exports.UpdateContentStandardsResponseSchema = zod_1.z.object({
|
|
1287
|
+
standards_id: zod_1.z.string().nullish(),
|
|
1288
|
+
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
1289
|
+
conflicting_standards_id: zod_1.z.string().nullish(),
|
|
1290
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1291
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1292
|
+
});
|
|
1293
|
+
exports.CalibrateContentRequestSchema = zod_1.z.object({
|
|
1294
|
+
standards_id: zod_1.z.string(),
|
|
1295
|
+
artifact: exports.ArtifactSchema
|
|
1296
|
+
});
|
|
1297
|
+
exports.CalibrateContentResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
1298
|
+
verdict: zod_1.z.union([zod_1.z.literal("pass"), zod_1.z.literal("fail")]),
|
|
1299
|
+
confidence: zod_1.z.number().nullish(),
|
|
1300
|
+
explanation: zod_1.z.string().nullish(),
|
|
1301
|
+
features: zod_1.z.array(zod_1.z.object({
|
|
1302
|
+
feature_id: zod_1.z.string(),
|
|
1303
|
+
status: zod_1.z.union([zod_1.z.literal("passed"), zod_1.z.literal("failed"), zod_1.z.literal("warning"), zod_1.z.literal("unevaluated")]),
|
|
1304
|
+
explanation: zod_1.z.string().nullish()
|
|
1305
|
+
})).nullish(),
|
|
1306
|
+
errors: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
1307
|
+
}), zod_1.z.object({
|
|
1308
|
+
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1309
|
+
verdict: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
1310
|
+
})]);
|
|
1311
|
+
exports.ValidateContentDeliveryRequestSchema = zod_1.z.object({
|
|
1312
|
+
standards_id: zod_1.z.string(),
|
|
1313
|
+
records: zod_1.z.array(zod_1.z.object({
|
|
1314
|
+
record_id: zod_1.z.string(),
|
|
1315
|
+
media_buy_id: zod_1.z.string().nullish(),
|
|
1316
|
+
timestamp: zod_1.z.string().nullish(),
|
|
1317
|
+
artifact: exports.ArtifactSchema,
|
|
1318
|
+
country: zod_1.z.string().nullish(),
|
|
1319
|
+
channel: zod_1.z.string().nullish(),
|
|
1320
|
+
brand_context: zod_1.z.object({
|
|
1321
|
+
brand_id: zod_1.z.string().nullish(),
|
|
1322
|
+
sku_id: zod_1.z.string().nullish()
|
|
1323
|
+
}).nullish()
|
|
1324
|
+
})),
|
|
1325
|
+
feature_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1326
|
+
include_passed: zod_1.z.boolean().nullish(),
|
|
1327
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1328
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1329
|
+
});
|
|
1330
|
+
exports.ValidateContentDeliveryResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
1331
|
+
summary: zod_1.z.object({
|
|
1332
|
+
total_records: zod_1.z.number(),
|
|
1333
|
+
passed_records: zod_1.z.number(),
|
|
1334
|
+
failed_records: zod_1.z.number()
|
|
1335
|
+
}),
|
|
1336
|
+
results: zod_1.z.array(zod_1.z.object({
|
|
1337
|
+
record_id: zod_1.z.string(),
|
|
1338
|
+
verdict: zod_1.z.union([zod_1.z.literal("pass"), zod_1.z.literal("fail")]),
|
|
1339
|
+
features: zod_1.z.array(zod_1.z.object({
|
|
1340
|
+
feature_id: zod_1.z.string(),
|
|
1341
|
+
status: zod_1.z.union([zod_1.z.literal("passed"), zod_1.z.literal("failed"), zod_1.z.literal("warning"), zod_1.z.literal("unevaluated")]),
|
|
1342
|
+
value: zod_1.z.unknown().nullish(),
|
|
1343
|
+
message: zod_1.z.string().nullish(),
|
|
1344
|
+
rule_id: zod_1.z.string().nullish()
|
|
1345
|
+
})).nullish()
|
|
1346
|
+
})),
|
|
1347
|
+
errors: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
1348
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1349
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1350
|
+
}), zod_1.z.object({
|
|
1351
|
+
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1352
|
+
summary: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
1353
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1354
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1355
|
+
})]);
|
|
1356
|
+
exports.GetMediaBuyArtifactsRequestSchema = zod_1.z.object({
|
|
1357
|
+
media_buy_id: zod_1.z.string(),
|
|
1358
|
+
package_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1359
|
+
sampling: zod_1.z.object({
|
|
1360
|
+
rate: zod_1.z.number().nullish(),
|
|
1361
|
+
method: zod_1.z.union([zod_1.z.literal("random"), zod_1.z.literal("stratified"), zod_1.z.literal("recent"), zod_1.z.literal("failures_only")]).nullish()
|
|
1362
|
+
}).nullish(),
|
|
1363
|
+
time_range: zod_1.z.object({
|
|
1364
|
+
start: zod_1.z.string().nullish(),
|
|
1365
|
+
end: zod_1.z.string().nullish()
|
|
1366
|
+
}).nullish(),
|
|
1367
|
+
limit: zod_1.z.number().nullish(),
|
|
1368
|
+
cursor: zod_1.z.string().nullish(),
|
|
1369
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1370
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1371
|
+
});
|
|
1372
|
+
exports.GetMediaBuyArtifactsResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
1373
|
+
media_buy_id: zod_1.z.string(),
|
|
1374
|
+
artifacts: zod_1.z.array(zod_1.z.object({
|
|
1375
|
+
record_id: zod_1.z.string(),
|
|
1376
|
+
timestamp: zod_1.z.string().nullish(),
|
|
1377
|
+
package_id: zod_1.z.string().nullish(),
|
|
1378
|
+
artifact: exports.ArtifactSchema,
|
|
1379
|
+
country: zod_1.z.string().nullish(),
|
|
1380
|
+
channel: zod_1.z.string().nullish(),
|
|
1381
|
+
brand_context: zod_1.z.object({
|
|
1382
|
+
brand_id: zod_1.z.string().nullish(),
|
|
1383
|
+
sku_id: zod_1.z.string().nullish()
|
|
1384
|
+
}).nullish(),
|
|
1385
|
+
local_verdict: zod_1.z.union([zod_1.z.literal("pass"), zod_1.z.literal("fail"), zod_1.z.literal("unevaluated")]).nullish()
|
|
1386
|
+
})),
|
|
1387
|
+
sampling_info: zod_1.z.object({
|
|
1388
|
+
total_deliveries: zod_1.z.number().nullish(),
|
|
1389
|
+
sampled_count: zod_1.z.number().nullish(),
|
|
1390
|
+
effective_rate: zod_1.z.number().nullish(),
|
|
1391
|
+
method: zod_1.z.union([zod_1.z.literal("random"), zod_1.z.literal("stratified"), zod_1.z.literal("recent"), zod_1.z.literal("failures_only")]).nullish()
|
|
1392
|
+
}).nullish(),
|
|
1393
|
+
pagination: zod_1.z.object({
|
|
1394
|
+
cursor: zod_1.z.string().nullish(),
|
|
1395
|
+
has_more: zod_1.z.boolean().nullish()
|
|
1396
|
+
}).nullish(),
|
|
1397
|
+
errors: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
1398
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1399
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1400
|
+
}), zod_1.z.object({
|
|
1401
|
+
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1402
|
+
media_buy_id: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
1403
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1404
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1405
|
+
})]);
|
|
1406
|
+
exports.SIGetOfferingRequestSchema = zod_1.z.object({
|
|
1407
|
+
offering_id: zod_1.z.string(),
|
|
1408
|
+
context: zod_1.z.string().nullish(),
|
|
1409
|
+
include_products: zod_1.z.boolean().nullish(),
|
|
1410
|
+
product_limit: zod_1.z.number().nullish(),
|
|
1411
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1412
|
+
});
|
|
1413
|
+
exports.SIGetOfferingResponseSchema = zod_1.z.object({
|
|
1414
|
+
available: zod_1.z.boolean(),
|
|
1415
|
+
offering_token: zod_1.z.string().nullish(),
|
|
1416
|
+
ttl_seconds: zod_1.z.number().nullish(),
|
|
1417
|
+
checked_at: zod_1.z.string().nullish(),
|
|
1418
|
+
offering: zod_1.z.object({
|
|
1419
|
+
offering_id: zod_1.z.string().nullish(),
|
|
1420
|
+
title: zod_1.z.string().nullish(),
|
|
1421
|
+
summary: zod_1.z.string().nullish(),
|
|
1422
|
+
tagline: zod_1.z.string().nullish(),
|
|
1423
|
+
expires_at: zod_1.z.string().nullish(),
|
|
1424
|
+
price_hint: zod_1.z.string().nullish(),
|
|
1425
|
+
image_url: zod_1.z.string().nullish(),
|
|
1426
|
+
landing_url: zod_1.z.string().nullish()
|
|
1427
|
+
}).nullish(),
|
|
1428
|
+
matching_products: zod_1.z.array(zod_1.z.object({
|
|
1429
|
+
product_id: zod_1.z.string(),
|
|
1430
|
+
name: zod_1.z.string(),
|
|
1431
|
+
price: zod_1.z.string().nullish(),
|
|
1432
|
+
original_price: zod_1.z.string().nullish(),
|
|
1433
|
+
image_url: zod_1.z.string().nullish(),
|
|
1434
|
+
availability_summary: zod_1.z.string().nullish(),
|
|
1435
|
+
url: zod_1.z.string().nullish()
|
|
1436
|
+
})).nullish(),
|
|
1437
|
+
total_matching: zod_1.z.number().nullish(),
|
|
1438
|
+
unavailable_reason: zod_1.z.string().nullish(),
|
|
1439
|
+
alternative_offering_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1440
|
+
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
1441
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1442
|
+
});
|
|
1443
|
+
exports.SIIdentitySchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1444
|
+
consent_granted: zod_1.z.boolean(),
|
|
1445
|
+
consent_timestamp: zod_1.z.string().nullish(),
|
|
1446
|
+
consent_scope: zod_1.z.array(zod_1.z.union([zod_1.z.literal("name"), zod_1.z.literal("email"), zod_1.z.literal("shipping_address"), zod_1.z.literal("phone"), zod_1.z.literal("locale")])).nullish(),
|
|
1447
|
+
privacy_policy_acknowledged: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1448
|
+
brand_policy_url: zod_1.z.string().nullish(),
|
|
1449
|
+
brand_policy_version: zod_1.z.string().nullish()
|
|
1450
|
+
})).nullish(),
|
|
1451
|
+
user: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1452
|
+
email: zod_1.z.string().nullish(),
|
|
1453
|
+
name: zod_1.z.string().nullish(),
|
|
1454
|
+
locale: zod_1.z.string().nullish(),
|
|
1455
|
+
phone: zod_1.z.string().nullish(),
|
|
1456
|
+
shipping_address: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1457
|
+
street: zod_1.z.string().nullish(),
|
|
1458
|
+
city: zod_1.z.string().nullish(),
|
|
1459
|
+
state: zod_1.z.string().nullish(),
|
|
1460
|
+
postal_code: zod_1.z.string().nullish(),
|
|
1461
|
+
country: zod_1.z.string().nullish()
|
|
1462
|
+
})).nullish()
|
|
1463
|
+
})).nullish(),
|
|
1464
|
+
anonymous_session_id: zod_1.z.string().nullish()
|
|
1465
|
+
}));
|
|
1466
|
+
exports.SICapabilitiesSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1467
|
+
modalities: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1468
|
+
conversational: zod_1.z.boolean().nullish(),
|
|
1469
|
+
voice: zod_1.z.union([zod_1.z.boolean(), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1470
|
+
provider: zod_1.z.string().nullish(),
|
|
1471
|
+
voice_id: zod_1.z.string().nullish()
|
|
1472
|
+
}))]).nullish(),
|
|
1473
|
+
video: zod_1.z.union([zod_1.z.boolean(), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1474
|
+
formats: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1475
|
+
max_duration_seconds: zod_1.z.number().nullish()
|
|
1476
|
+
}))]).nullish(),
|
|
1477
|
+
avatar: zod_1.z.union([zod_1.z.boolean(), zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1478
|
+
provider: zod_1.z.string().nullish(),
|
|
1479
|
+
avatar_id: zod_1.z.string().nullish()
|
|
1480
|
+
}))]).nullish()
|
|
1481
|
+
})).nullish(),
|
|
1482
|
+
components: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1483
|
+
standard: zod_1.z.array(zod_1.z.union([zod_1.z.literal("text"), zod_1.z.literal("link"), zod_1.z.literal("image"), zod_1.z.literal("product_card"), zod_1.z.literal("carousel"), zod_1.z.literal("action_button")])).nullish(),
|
|
1484
|
+
extensions: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
1485
|
+
})).nullish(),
|
|
1486
|
+
commerce: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1487
|
+
acp_checkout: zod_1.z.boolean().nullish()
|
|
1488
|
+
})).nullish()
|
|
1489
|
+
}));
|
|
1490
|
+
exports.SIUIElementSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1491
|
+
type: zod_1.z.union([zod_1.z.literal("text"), zod_1.z.literal("link"), zod_1.z.literal("image"), zod_1.z.literal("product_card"), zod_1.z.literal("carousel"), zod_1.z.literal("action_button"), zod_1.z.literal("app_handoff"), zod_1.z.literal("integration_actions")]),
|
|
1492
|
+
data: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
1493
|
+
})));
|
|
1494
|
+
exports.SIInitiateSessionResponseSchema = zod_1.z.object({
|
|
1495
|
+
session_id: zod_1.z.string(),
|
|
1496
|
+
response: zod_1.z.object({
|
|
1497
|
+
message: zod_1.z.string().nullish(),
|
|
1498
|
+
ui_elements: zod_1.z.array(exports.SIUIElementSchema).nullish()
|
|
1499
|
+
}).nullish(),
|
|
1500
|
+
negotiated_capabilities: exports.SICapabilitiesSchema.nullish(),
|
|
1501
|
+
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
1502
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1503
|
+
});
|
|
1504
|
+
exports.SISendMessageRequestSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
1505
|
+
session_id: zod_1.z.string(),
|
|
1506
|
+
message: zod_1.z.string().nullish(),
|
|
1507
|
+
action_response: zod_1.z.object({
|
|
1508
|
+
action: zod_1.z.string().nullish(),
|
|
1509
|
+
payload: zod_1.z.object({}).nullish()
|
|
1510
|
+
}).nullish(),
|
|
1511
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1512
|
+
}));
|
|
1513
|
+
exports.SISendMessageResponseSchema = zod_1.z.object({
|
|
1514
|
+
session_id: zod_1.z.string(),
|
|
1515
|
+
response: zod_1.z.object({
|
|
1516
|
+
message: zod_1.z.string().nullish(),
|
|
1517
|
+
ui_elements: zod_1.z.array(exports.SIUIElementSchema).nullish()
|
|
1518
|
+
}).nullish(),
|
|
1519
|
+
session_status: zod_1.z.union([zod_1.z.literal("active"), zod_1.z.literal("pending_handoff"), zod_1.z.literal("complete")]),
|
|
1520
|
+
handoff: zod_1.z.object({
|
|
1521
|
+
type: zod_1.z.union([zod_1.z.literal("transaction"), zod_1.z.literal("complete")]).nullish(),
|
|
1522
|
+
intent: zod_1.z.object({
|
|
1523
|
+
action: zod_1.z.string().nullish(),
|
|
1524
|
+
product: zod_1.z.object({}).nullish(),
|
|
1525
|
+
price: zod_1.z.object({
|
|
1526
|
+
amount: zod_1.z.number().nullish(),
|
|
1527
|
+
currency: zod_1.z.string().nullish()
|
|
1528
|
+
}).nullish()
|
|
1529
|
+
}).nullish(),
|
|
1530
|
+
context_for_checkout: zod_1.z.object({
|
|
1531
|
+
conversation_summary: zod_1.z.string().nullish(),
|
|
1532
|
+
applied_offers: zod_1.z.array(zod_1.z.string()).nullish()
|
|
1533
|
+
}).nullish()
|
|
1534
|
+
}).nullish(),
|
|
1535
|
+
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
1536
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1537
|
+
});
|
|
1538
|
+
exports.SITerminateSessionRequestSchema = zod_1.z.object({
|
|
1539
|
+
session_id: zod_1.z.string(),
|
|
1540
|
+
reason: zod_1.z.union([zod_1.z.literal("handoff_transaction"), zod_1.z.literal("handoff_complete"), zod_1.z.literal("user_exit"), zod_1.z.literal("session_timeout"), zod_1.z.literal("host_terminated")]),
|
|
1541
|
+
termination_context: zod_1.z.object({
|
|
1542
|
+
summary: zod_1.z.string().nullish(),
|
|
1543
|
+
transaction_intent: zod_1.z.object({
|
|
1544
|
+
action: zod_1.z.union([zod_1.z.literal("purchase"), zod_1.z.literal("subscribe")]).nullish(),
|
|
1545
|
+
product: zod_1.z.object({}).nullish()
|
|
1546
|
+
}).nullish(),
|
|
1547
|
+
cause: zod_1.z.string().nullish()
|
|
1548
|
+
}).nullish(),
|
|
1549
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1550
|
+
});
|
|
1551
|
+
exports.SITerminateSessionResponseSchema = zod_1.z.object({
|
|
1552
|
+
session_id: zod_1.z.string(),
|
|
1553
|
+
terminated: zod_1.z.boolean(),
|
|
1554
|
+
acp_handoff: zod_1.z.object({
|
|
1555
|
+
checkout_url: zod_1.z.string().nullish(),
|
|
1556
|
+
checkout_token: zod_1.z.string().nullish(),
|
|
1557
|
+
product: zod_1.z.object({}).nullish()
|
|
1558
|
+
}).nullish(),
|
|
1559
|
+
follow_up: zod_1.z.object({
|
|
1560
|
+
action: zod_1.z.union([zod_1.z.literal("save_for_later"), zod_1.z.literal("set_reminder"), zod_1.z.literal("subscribe_updates"), zod_1.z.literal("none")]).nullish(),
|
|
1561
|
+
data: zod_1.z.object({}).nullish()
|
|
1562
|
+
}).nullish(),
|
|
1563
|
+
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
1564
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1565
|
+
});
|
|
1566
|
+
exports.GetAdCPCapabilitiesRequestSchema = zod_1.z.object({
|
|
1567
|
+
protocols: zod_1.z.array(zod_1.z.union([zod_1.z.literal("media_buy"), zod_1.z.literal("signals"), zod_1.z.literal("sponsored_intelligence")])).nullish(),
|
|
1568
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1569
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1570
|
+
});
|
|
1571
|
+
exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
1572
|
+
adcp: zod_1.z.object({
|
|
1573
|
+
major_versions: zod_1.z.array(zod_1.z.number())
|
|
1574
|
+
}),
|
|
1575
|
+
supported_protocols: zod_1.z.array(zod_1.z.union([zod_1.z.literal("media_buy"), zod_1.z.literal("signals"), zod_1.z.literal("governance"), zod_1.z.literal("sponsored_intelligence")])),
|
|
1576
|
+
media_buy: zod_1.z.object({
|
|
1577
|
+
features: exports.MediaBuyFeaturesSchema.nullish(),
|
|
1578
|
+
execution: zod_1.z.object({
|
|
1579
|
+
axe_integrations: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1580
|
+
creative_specs: zod_1.z.object({
|
|
1581
|
+
vast_versions: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1582
|
+
mraid_versions: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1583
|
+
vpaid: zod_1.z.boolean().nullish(),
|
|
1584
|
+
simid: zod_1.z.boolean().nullish()
|
|
1585
|
+
}).nullish(),
|
|
1586
|
+
targeting: zod_1.z.object({
|
|
1587
|
+
geo_countries: zod_1.z.boolean().nullish(),
|
|
1588
|
+
geo_regions: zod_1.z.boolean().nullish(),
|
|
1589
|
+
geo_metros: zod_1.z.object({
|
|
1590
|
+
nielsen_dma: zod_1.z.boolean().nullish(),
|
|
1591
|
+
uk_itl1: zod_1.z.boolean().nullish(),
|
|
1592
|
+
uk_itl2: zod_1.z.boolean().nullish(),
|
|
1593
|
+
eurostat_nuts2: zod_1.z.boolean().nullish()
|
|
1594
|
+
}).nullish(),
|
|
1595
|
+
geo_postal_areas: zod_1.z.object({
|
|
1596
|
+
us_zip: zod_1.z.boolean().nullish(),
|
|
1597
|
+
us_zip_plus_four: zod_1.z.boolean().nullish(),
|
|
1598
|
+
gb_outward: zod_1.z.boolean().nullish(),
|
|
1599
|
+
gb_full: zod_1.z.boolean().nullish(),
|
|
1600
|
+
ca_fsa: zod_1.z.boolean().nullish(),
|
|
1601
|
+
ca_full: zod_1.z.boolean().nullish(),
|
|
1602
|
+
de_plz: zod_1.z.boolean().nullish(),
|
|
1603
|
+
fr_code_postal: zod_1.z.boolean().nullish(),
|
|
1604
|
+
au_postcode: zod_1.z.boolean().nullish()
|
|
1605
|
+
}).nullish()
|
|
1606
|
+
}).nullish()
|
|
1607
|
+
}).nullish(),
|
|
1608
|
+
portfolio: zod_1.z.object({
|
|
1609
|
+
publisher_domains: zod_1.z.array(zod_1.z.string()),
|
|
1610
|
+
primary_channels: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
1611
|
+
primary_countries: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1612
|
+
description: zod_1.z.string().nullish(),
|
|
1613
|
+
advertising_policies: zod_1.z.string().nullish()
|
|
1614
|
+
}).nullish()
|
|
1615
|
+
}).nullish(),
|
|
1616
|
+
signals: zod_1.z.object({
|
|
1617
|
+
features: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.boolean(), zod_1.z.undefined()])).nullish()
|
|
1618
|
+
}).nullish(),
|
|
1619
|
+
governance: zod_1.z.object({
|
|
1620
|
+
property_features: zod_1.z.array(zod_1.z.object({
|
|
1621
|
+
feature_id: zod_1.z.string(),
|
|
1622
|
+
type: zod_1.z.union([zod_1.z.literal("binary"), zod_1.z.literal("quantitative"), zod_1.z.literal("categorical")]),
|
|
1623
|
+
range: zod_1.z.object({
|
|
1624
|
+
min: zod_1.z.number(),
|
|
1625
|
+
max: zod_1.z.number()
|
|
1626
|
+
}).nullish(),
|
|
1627
|
+
categories: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1628
|
+
description: zod_1.z.string().nullish(),
|
|
1629
|
+
methodology_url: zod_1.z.string().nullish()
|
|
1630
|
+
})).nullish()
|
|
1631
|
+
}).nullish(),
|
|
1632
|
+
sponsored_intelligence: zod_1.z.object({
|
|
1633
|
+
endpoint: zod_1.z.object({
|
|
1634
|
+
transports: zod_1.z.array(zod_1.z.object({
|
|
1635
|
+
type: zod_1.z.union([zod_1.z.literal("mcp"), zod_1.z.literal("a2a")]),
|
|
1636
|
+
url: zod_1.z.string()
|
|
1637
|
+
})),
|
|
1638
|
+
preferred: zod_1.z.union([zod_1.z.literal("mcp"), zod_1.z.literal("a2a")]).nullish()
|
|
1639
|
+
}),
|
|
1640
|
+
capabilities: exports.SICapabilitiesSchema,
|
|
1641
|
+
brand_manifest_url: zod_1.z.string().nullish()
|
|
1642
|
+
}).nullish(),
|
|
1643
|
+
extensions_supported: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1644
|
+
last_updated: zod_1.z.string().nullish(),
|
|
1645
|
+
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
1646
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1647
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1648
|
+
});
|
|
780
1649
|
exports.MediaBuySchema = zod_1.z.object({
|
|
781
1650
|
media_buy_id: zod_1.z.string(),
|
|
782
1651
|
buyer_ref: zod_1.z.string().nullish(),
|
|
@@ -789,47 +1658,15 @@ exports.MediaBuySchema = zod_1.z.object({
|
|
|
789
1658
|
updated_at: zod_1.z.string().nullish(),
|
|
790
1659
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
791
1660
|
});
|
|
792
|
-
exports.
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
placements: zod_1.z.array(exports.PlacementSchema).nullish(),
|
|
799
|
-
delivery_type: exports.DeliveryTypeSchema,
|
|
800
|
-
pricing_options: zod_1.z.array(exports.PricingOptionSchema),
|
|
801
|
-
estimated_exposures: zod_1.z.number().nullish(),
|
|
802
|
-
measurement: exports.MeasurementSchema.nullish(),
|
|
803
|
-
delivery_measurement: zod_1.z.object({
|
|
804
|
-
provider: zod_1.z.string(),
|
|
805
|
-
notes: zod_1.z.string().nullish()
|
|
806
|
-
}),
|
|
807
|
-
reporting_capabilities: exports.ReportingCapabilitiesSchema.nullish(),
|
|
808
|
-
creative_policy: exports.CreativePolicySchema.nullish(),
|
|
809
|
-
is_custom: zod_1.z.boolean().nullish(),
|
|
810
|
-
brief_relevance: zod_1.z.string().nullish(),
|
|
811
|
-
expires_at: zod_1.z.string().nullish(),
|
|
812
|
-
product_card: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
813
|
-
format_id: exports.FormatID1Schema,
|
|
814
|
-
manifest: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown())
|
|
815
|
-
})).nullish(),
|
|
816
|
-
product_card_detailed: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
817
|
-
format_id: exports.FormatID2Schema,
|
|
818
|
-
manifest: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown())
|
|
819
|
-
})).nullish(),
|
|
1661
|
+
exports.GetProductsResponseSchema = zod_1.z.object({
|
|
1662
|
+
products: zod_1.z.array(exports.ProductSchema),
|
|
1663
|
+
proposals: zod_1.z.array(exports.ProposalSchema).nullish(),
|
|
1664
|
+
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
1665
|
+
property_list_applied: zod_1.z.boolean().nullish(),
|
|
1666
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
820
1667
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
821
|
-
}));
|
|
822
|
-
exports.PropertySchema = zod_1.z.object({
|
|
823
|
-
property_id: exports.PropertyIDSchema.nullish(),
|
|
824
|
-
property_type: exports.PropertyTypeSchema,
|
|
825
|
-
name: zod_1.z.string(),
|
|
826
|
-
identifiers: zod_1.z.array(zod_1.z.object({
|
|
827
|
-
type: exports.PropertyIdentifierTypesSchema,
|
|
828
|
-
value: zod_1.z.string()
|
|
829
|
-
})),
|
|
830
|
-
tags: zod_1.z.array(exports.PropertyTagSchema).nullish(),
|
|
831
|
-
publisher_domain: zod_1.z.string().nullish()
|
|
832
1668
|
});
|
|
1669
|
+
exports.UpdateMediaBuyResponseSchema = zod_1.z.union([exports.UpdateMediaBuySuccessSchema, exports.UpdateMediaBuyErrorSchema]);
|
|
833
1670
|
exports.CreateMediaBuySuccessSchema = zod_1.z.object({
|
|
834
1671
|
media_buy_id: zod_1.z.string(),
|
|
835
1672
|
buyer_ref: zod_1.z.string(),
|
|
@@ -838,15 +1675,7 @@ exports.CreateMediaBuySuccessSchema = zod_1.z.object({
|
|
|
838
1675
|
context: exports.ContextObjectSchema.nullish(),
|
|
839
1676
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
840
1677
|
});
|
|
841
|
-
exports.
|
|
842
|
-
exports.GetProductsResponseSchema = zod_1.z.object({
|
|
843
|
-
products: zod_1.z.array(exports.ProductSchema),
|
|
844
|
-
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
845
|
-
property_list_applied: zod_1.z.boolean().nullish(),
|
|
846
|
-
context: exports.ContextObjectSchema.nullish(),
|
|
847
|
-
ext: exports.ExtensionObjectSchema.nullish()
|
|
848
|
-
});
|
|
849
|
-
exports.ProductFiltersSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
1678
|
+
exports.ProductFiltersSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
850
1679
|
delivery_type: exports.DeliveryTypeSchema.nullish(),
|
|
851
1680
|
is_fixed_price: zod_1.z.boolean().nullish(),
|
|
852
1681
|
format_types: zod_1.z.array(exports.FormatCategorySchema).nullish(),
|
|
@@ -855,63 +1684,40 @@ exports.ProductFiltersSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown(
|
|
|
855
1684
|
min_exposures: zod_1.z.number().nullish(),
|
|
856
1685
|
start_date: zod_1.z.string().nullish(),
|
|
857
1686
|
end_date: zod_1.z.string().nullish(),
|
|
858
|
-
budget_range: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).nullish(),
|
|
1687
|
+
budget_range: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
859
1688
|
countries: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
860
|
-
|
|
1689
|
+
regions: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1690
|
+
metros: zod_1.z.array(zod_1.z.object({
|
|
1691
|
+
system: exports.MetroAreaSystemSchema,
|
|
1692
|
+
code: zod_1.z.string()
|
|
1693
|
+
})).nullish(),
|
|
1694
|
+
channels: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
1695
|
+
required_axe_integrations: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1696
|
+
required_features: exports.MediaBuyFeaturesSchema.nullish(),
|
|
1697
|
+
required_geo_targeting: zod_1.z.array(zod_1.z.object({
|
|
1698
|
+
level: exports.GeographicTargetingLevelSchema,
|
|
1699
|
+
system: zod_1.z.string().nullish()
|
|
1700
|
+
})).nullish()
|
|
861
1701
|
}));
|
|
862
|
-
exports.
|
|
863
|
-
format_ids: zod_1.z.array(exports.FormatIDSchema).nullish(),
|
|
864
|
-
type: exports.FormatCategorySchema.nullish(),
|
|
865
|
-
asset_types: zod_1.z.array(exports.AssetContentTypeSchema).nullish(),
|
|
866
|
-
max_width: zod_1.z.number().nullish(),
|
|
867
|
-
max_height: zod_1.z.number().nullish(),
|
|
868
|
-
min_width: zod_1.z.number().nullish(),
|
|
869
|
-
min_height: zod_1.z.number().nullish(),
|
|
870
|
-
is_responsive: zod_1.z.boolean().nullish(),
|
|
871
|
-
name_search: zod_1.z.string().nullish(),
|
|
872
|
-
context: exports.ContextObjectSchema.nullish(),
|
|
873
|
-
ext: exports.ExtensionObjectSchema.nullish()
|
|
874
|
-
});
|
|
875
|
-
exports.FormatSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
1702
|
+
exports.FormatSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
876
1703
|
format_id: exports.FormatIDSchema,
|
|
877
1704
|
name: zod_1.z.string(),
|
|
878
1705
|
description: zod_1.z.string().nullish(),
|
|
879
|
-
preview_image: zod_1.z.string().nullish(),
|
|
880
1706
|
example_url: zod_1.z.string().nullish(),
|
|
881
1707
|
type: exports.FormatCategorySchema,
|
|
882
1708
|
accepts_parameters: zod_1.z.array(exports.FormatIDParameterSchema).nullish(),
|
|
883
|
-
renders: zod_1.z.tuple([zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()), zod_1.z.object({
|
|
1709
|
+
renders: zod_1.z.tuple([zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])), zod_1.z.object({
|
|
884
1710
|
parameters_from_format_id: zod_1.z.literal(true)
|
|
885
|
-
})])]).rest(zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()), zod_1.z.object({
|
|
1711
|
+
})])]).rest(zod_1.z.union([zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])), zod_1.z.object({
|
|
886
1712
|
parameters_from_format_id: zod_1.z.literal(true)
|
|
887
1713
|
})])).nullish(),
|
|
888
|
-
assets_required: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
889
|
-
item_type: zod_1.z.literal("individual"),
|
|
890
|
-
asset_id: zod_1.z.string(),
|
|
891
|
-
asset_type: exports.AssetContentTypeSchema,
|
|
892
|
-
asset_role: zod_1.z.string().nullish(),
|
|
893
|
-
required: zod_1.z.boolean().nullish(),
|
|
894
|
-
requirements: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).nullish()
|
|
895
|
-
}), zod_1.z.object({
|
|
896
|
-
item_type: zod_1.z.literal("repeatable_group"),
|
|
897
|
-
asset_group_id: zod_1.z.string(),
|
|
898
|
-
min_count: zod_1.z.number(),
|
|
899
|
-
max_count: zod_1.z.number(),
|
|
900
|
-
assets: zod_1.z.array(zod_1.z.object({
|
|
901
|
-
asset_id: zod_1.z.string(),
|
|
902
|
-
asset_type: exports.AssetContentType1Schema,
|
|
903
|
-
asset_role: zod_1.z.string().nullish(),
|
|
904
|
-
required: zod_1.z.boolean().nullish(),
|
|
905
|
-
requirements: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).nullish()
|
|
906
|
-
}))
|
|
907
|
-
})])).nullish(),
|
|
908
1714
|
assets: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
909
1715
|
item_type: zod_1.z.literal("individual"),
|
|
910
1716
|
asset_id: zod_1.z.string(),
|
|
911
|
-
asset_type: exports.
|
|
1717
|
+
asset_type: exports.AssetContentTypeSchema,
|
|
912
1718
|
asset_role: zod_1.z.string().nullish(),
|
|
913
1719
|
required: zod_1.z.boolean(),
|
|
914
|
-
requirements: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).nullish()
|
|
1720
|
+
requirements: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
915
1721
|
}), zod_1.z.object({
|
|
916
1722
|
item_type: zod_1.z.literal("repeatable_group"),
|
|
917
1723
|
asset_group_id: zod_1.z.string(),
|
|
@@ -920,25 +1726,25 @@ exports.FormatSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(z
|
|
|
920
1726
|
max_count: zod_1.z.number(),
|
|
921
1727
|
assets: zod_1.z.array(zod_1.z.object({
|
|
922
1728
|
asset_id: zod_1.z.string(),
|
|
923
|
-
asset_type: exports.
|
|
1729
|
+
asset_type: exports.AssetContentType1Schema,
|
|
924
1730
|
asset_role: zod_1.z.string().nullish(),
|
|
925
1731
|
required: zod_1.z.boolean(),
|
|
926
|
-
requirements: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).nullish()
|
|
1732
|
+
requirements: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish()
|
|
927
1733
|
}))
|
|
928
1734
|
})])).nullish(),
|
|
929
|
-
delivery: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).nullish(),
|
|
1735
|
+
delivery: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
930
1736
|
supported_macros: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
931
1737
|
output_format_ids: zod_1.z.array(exports.FormatID1Schema).nullish(),
|
|
932
|
-
format_card: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
1738
|
+
format_card: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
933
1739
|
format_id: exports.FormatID2Schema,
|
|
934
|
-
manifest: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown())
|
|
1740
|
+
manifest: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()]))
|
|
935
1741
|
})).nullish(),
|
|
936
|
-
format_card_detailed: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
1742
|
+
format_card_detailed: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
937
1743
|
format_id: exports.FormatID3Schema,
|
|
938
|
-
manifest: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown())
|
|
1744
|
+
manifest: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()]))
|
|
939
1745
|
})).nullish()
|
|
940
1746
|
}));
|
|
941
|
-
exports.PackageRequestSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
1747
|
+
exports.PackageRequestSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).and(zod_1.z.object({
|
|
942
1748
|
buyer_ref: zod_1.z.string(),
|
|
943
1749
|
product_id: zod_1.z.string(),
|
|
944
1750
|
format_ids: zod_1.z.array(exports.FormatIDSchema).nullish(),
|
|
@@ -949,7 +1755,7 @@ exports.PackageRequestSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown(
|
|
|
949
1755
|
impressions: zod_1.z.number().nullish(),
|
|
950
1756
|
paused: zod_1.z.boolean().nullish(),
|
|
951
1757
|
targeting_overlay: exports.TargetingOverlaySchema.nullish(),
|
|
952
|
-
|
|
1758
|
+
creative_assignments: zod_1.z.array(exports.CreativeAssignmentSchema).nullish(),
|
|
953
1759
|
creatives: zod_1.z.array(exports.CreativeAssetSchema).nullish(),
|
|
954
1760
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
955
1761
|
}));
|
|
@@ -965,27 +1771,35 @@ exports.SyncCreativesRequestSchema = zod_1.z.object({
|
|
|
965
1771
|
context: exports.ContextObjectSchema.nullish(),
|
|
966
1772
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
967
1773
|
});
|
|
968
|
-
exports.
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
1774
|
+
exports.ListCreativesRequestSchema = zod_1.z.object({
|
|
1775
|
+
filters: exports.CreativeFiltersSchema.nullish(),
|
|
1776
|
+
sort: zod_1.z.object({
|
|
1777
|
+
field: exports.CreativeSortFieldSchema.nullish(),
|
|
1778
|
+
direction: exports.SortDirectionSchema.nullish()
|
|
1779
|
+
}).nullish(),
|
|
1780
|
+
pagination: zod_1.z.object({
|
|
1781
|
+
limit: zod_1.z.number().nullish(),
|
|
1782
|
+
offset: zod_1.z.number().nullish()
|
|
1783
|
+
}).nullish(),
|
|
1784
|
+
include_assignments: zod_1.z.boolean().nullish(),
|
|
1785
|
+
include_performance: zod_1.z.boolean().nullish(),
|
|
1786
|
+
include_sub_assets: zod_1.z.boolean().nullish(),
|
|
1787
|
+
fields: zod_1.z.array(zod_1.z.union([zod_1.z.literal("creative_id"), zod_1.z.literal("name"), zod_1.z.literal("format"), zod_1.z.literal("status"), zod_1.z.literal("created_date"), zod_1.z.literal("updated_date"), zod_1.z.literal("tags"), zod_1.z.literal("assignments"), zod_1.z.literal("performance"), zod_1.z.literal("sub_assets")])).nullish(),
|
|
1788
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1789
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1790
|
+
});
|
|
1791
|
+
exports.UpdateMediaBuyRequestSchema = zod_1.z.object({
|
|
1792
|
+
media_buy_id: zod_1.z.string().nullish(),
|
|
1793
|
+
buyer_ref: zod_1.z.string().nullish(),
|
|
1794
|
+
paused: zod_1.z.boolean().nullish(),
|
|
1795
|
+
start_time: exports.StartTimingSchema.nullish(),
|
|
1796
|
+
end_time: zod_1.z.string().nullish(),
|
|
1797
|
+
packages: zod_1.z.array(exports.PackageUpdateSchema).nullish(),
|
|
1798
|
+
reporting_webhook: exports.ReportingWebhookSchema.nullish(),
|
|
1799
|
+
push_notification_config: exports.PushNotificationConfigSchema.nullish(),
|
|
1800
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1801
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1802
|
+
}).and(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])));
|
|
989
1803
|
exports.GetMediaBuyDeliveryResponseSchema = zod_1.z.object({
|
|
990
1804
|
notification_type: zod_1.z.union([zod_1.z.literal("scheduled"), zod_1.z.literal("final"), zod_1.z.literal("delayed"), zod_1.z.literal("adjusted")]).nullish(),
|
|
991
1805
|
partial_data: zod_1.z.boolean().nullish(),
|
|
@@ -1034,18 +1848,21 @@ exports.GetMediaBuyDeliveryResponseSchema = zod_1.z.object({
|
|
|
1034
1848
|
context: exports.ContextObjectSchema.nullish(),
|
|
1035
1849
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1036
1850
|
});
|
|
1037
|
-
exports.
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1851
|
+
exports.ProvidePerformanceFeedbackRequestSchema = zod_1.z.object({
|
|
1852
|
+
media_buy_id: zod_1.z.string().nullish(),
|
|
1853
|
+
buyer_ref: zod_1.z.string().nullish(),
|
|
1854
|
+
measurement_period: zod_1.z.object({
|
|
1855
|
+
start: zod_1.z.string(),
|
|
1856
|
+
end: zod_1.z.string()
|
|
1857
|
+
}).nullish(),
|
|
1858
|
+
performance_index: zod_1.z.number().nullish(),
|
|
1859
|
+
package_id: zod_1.z.string().nullish(),
|
|
1860
|
+
creative_id: zod_1.z.string().nullish(),
|
|
1861
|
+
metric_type: exports.MetricTypeSchema.nullish(),
|
|
1862
|
+
feedback_source: exports.FeedbackSourceSchema.nullish(),
|
|
1045
1863
|
context: exports.ContextObjectSchema.nullish(),
|
|
1046
1864
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1047
|
-
});
|
|
1048
|
-
exports.ProvidePerformanceFeedbackRequestSchema = exports.ProvidePerformanceFeedbackRequest1Schema;
|
|
1865
|
+
}).and(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])));
|
|
1049
1866
|
exports.ProvidePerformanceFeedbackResponseSchema = zod_1.z.union([exports.ProvidePerformanceFeedbackSuccessSchema, exports.ProvidePerformanceFeedbackErrorSchema]);
|
|
1050
1867
|
exports.BuildCreativeRequestSchema = zod_1.z.object({
|
|
1051
1868
|
message: zod_1.z.string().nullish(),
|
|
@@ -1054,19 +1871,6 @@ exports.BuildCreativeRequestSchema = zod_1.z.object({
|
|
|
1054
1871
|
context: exports.ContextObjectSchema.nullish(),
|
|
1055
1872
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1056
1873
|
});
|
|
1057
|
-
exports.WebhookAssetSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).and(zod_1.z.object({
|
|
1058
|
-
url: zod_1.z.string(),
|
|
1059
|
-
method: exports.HTTPMethodSchema.nullish(),
|
|
1060
|
-
timeout_ms: zod_1.z.number().nullish(),
|
|
1061
|
-
supported_macros: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1062
|
-
required_macros: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1063
|
-
response_type: exports.WebhookResponseTypeSchema,
|
|
1064
|
-
security: zod_1.z.object({
|
|
1065
|
-
method: exports.WebhookSecurityMethodSchema,
|
|
1066
|
-
hmac_header: zod_1.z.string().nullish(),
|
|
1067
|
-
api_key_header: zod_1.z.string().nullish()
|
|
1068
|
-
})
|
|
1069
|
-
}));
|
|
1070
1874
|
exports.BuildCreativeResponseSchema = zod_1.z.union([exports.BuildCreativeSuccessSchema, exports.BuildCreativeErrorSchema]);
|
|
1071
1875
|
exports.PreviewCreativeRequestSchema = zod_1.z.union([zod_1.z.object({
|
|
1072
1876
|
request_type: zod_1.z.literal("single"),
|
|
@@ -1074,7 +1878,7 @@ exports.PreviewCreativeRequestSchema = zod_1.z.union([zod_1.z.object({
|
|
|
1074
1878
|
creative_manifest: exports.CreativeManifestSchema,
|
|
1075
1879
|
inputs: zod_1.z.array(zod_1.z.object({
|
|
1076
1880
|
name: zod_1.z.string(),
|
|
1077
|
-
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).nullish(),
|
|
1881
|
+
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()])).nullish(),
|
|
1078
1882
|
context_description: zod_1.z.string().nullish()
|
|
1079
1883
|
})).nullish(),
|
|
1080
1884
|
template_id: zod_1.z.string().nullish(),
|
|
@@ -1088,7 +1892,7 @@ exports.PreviewCreativeRequestSchema = zod_1.z.union([zod_1.z.object({
|
|
|
1088
1892
|
creative_manifest: exports.CreativeManifest1Schema,
|
|
1089
1893
|
inputs: zod_1.z.array(zod_1.z.object({
|
|
1090
1894
|
name: zod_1.z.string(),
|
|
1091
|
-
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).nullish(),
|
|
1895
|
+
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()])).nullish(),
|
|
1092
1896
|
context_description: zod_1.z.string().nullish()
|
|
1093
1897
|
})).nullish(),
|
|
1094
1898
|
template_id: zod_1.z.string().nullish(),
|
|
@@ -1098,34 +1902,23 @@ exports.PreviewCreativeRequestSchema = zod_1.z.union([zod_1.z.object({
|
|
|
1098
1902
|
context: exports.ContextObjectSchema.nullish(),
|
|
1099
1903
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1100
1904
|
})]);
|
|
1101
|
-
exports.PreviewCreativeSingleResponseSchema = zod_1.z.object({
|
|
1102
|
-
response_type: zod_1.z.literal("single"),
|
|
1103
|
-
previews: zod_1.z.array(zod_1.z.object({
|
|
1104
|
-
preview_id: zod_1.z.string(),
|
|
1105
|
-
renders: zod_1.z.array(exports.PreviewRenderSchema),
|
|
1106
|
-
input: zod_1.z.object({
|
|
1107
|
-
name: zod_1.z.string(),
|
|
1108
|
-
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).nullish(),
|
|
1109
|
-
context_description: zod_1.z.string().nullish()
|
|
1110
|
-
})
|
|
1111
|
-
})),
|
|
1112
|
-
interactive_url: zod_1.z.string().nullish(),
|
|
1113
|
-
expires_at: zod_1.z.string(),
|
|
1114
|
-
context: exports.ContextObjectSchema.nullish(),
|
|
1115
|
-
ext: exports.ExtensionObjectSchema.nullish()
|
|
1116
|
-
});
|
|
1117
1905
|
exports.PreviewCreativeBatchResponseSchema = zod_1.z.object({
|
|
1118
1906
|
response_type: zod_1.z.literal("batch"),
|
|
1119
1907
|
results: zod_1.z.array(zod_1.z.union([exports.PreviewBatchResultSuccessSchema, exports.PreviewBatchResultErrorSchema])),
|
|
1120
1908
|
context: exports.ContextObjectSchema.nullish(),
|
|
1121
1909
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1122
1910
|
});
|
|
1123
|
-
exports.
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
})
|
|
1911
|
+
exports.GetSignalsRequestSchema = zod_1.z.object({
|
|
1912
|
+
signal_spec: zod_1.z.string(),
|
|
1913
|
+
deliver_to: zod_1.z.object({
|
|
1914
|
+
deployments: zod_1.z.array(exports.DestinationSchema),
|
|
1915
|
+
countries: zod_1.z.array(zod_1.z.string())
|
|
1916
|
+
}),
|
|
1917
|
+
filters: exports.SignalFiltersSchema.nullish(),
|
|
1918
|
+
max_results: zod_1.z.number().nullish(),
|
|
1919
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1920
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1921
|
+
});
|
|
1129
1922
|
exports.GetSignalsResponseSchema = zod_1.z.object({
|
|
1130
1923
|
signals: zod_1.z.array(zod_1.z.object({
|
|
1131
1924
|
signal_agent_segment_id: zod_1.z.string(),
|
|
@@ -1145,8 +1938,129 @@ exports.GetSignalsResponseSchema = zod_1.z.object({
|
|
|
1145
1938
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1146
1939
|
});
|
|
1147
1940
|
exports.ActivateSignalResponseSchema = zod_1.z.union([exports.ActivateSignalSuccessSchema, exports.ActivateSignalErrorSchema]);
|
|
1941
|
+
exports.DirectIdentifiersSourceSchema = zod_1.z.object({
|
|
1942
|
+
selection_type: zod_1.z.literal("identifiers"),
|
|
1943
|
+
identifiers: zod_1.z.array(exports.IdentifierSchema)
|
|
1944
|
+
});
|
|
1945
|
+
exports.BasePropertySourceSchema = zod_1.z.union([exports.PublisherTagsSourceSchema, exports.PublisherPropertyIDsSourceSchema, exports.DirectIdentifiersSourceSchema]);
|
|
1946
|
+
exports.PropertyListSchema = zod_1.z.object({
|
|
1947
|
+
list_id: zod_1.z.string(),
|
|
1948
|
+
name: zod_1.z.string(),
|
|
1949
|
+
description: zod_1.z.string().nullish(),
|
|
1950
|
+
principal: zod_1.z.string().nullish(),
|
|
1951
|
+
base_properties: zod_1.z.array(exports.BasePropertySourceSchema).nullish(),
|
|
1952
|
+
filters: exports.PropertyListFiltersSchema.nullish(),
|
|
1953
|
+
brand_manifest: exports.BrandManifestSchema.nullish(),
|
|
1954
|
+
webhook_url: zod_1.z.string().nullish(),
|
|
1955
|
+
cache_duration_hours: zod_1.z.number().nullish(),
|
|
1956
|
+
created_at: zod_1.z.string().nullish(),
|
|
1957
|
+
updated_at: zod_1.z.string().nullish(),
|
|
1958
|
+
property_count: zod_1.z.number().nullish()
|
|
1959
|
+
});
|
|
1960
|
+
exports.UpdatePropertyListRequestSchema = zod_1.z.object({
|
|
1961
|
+
list_id: zod_1.z.string(),
|
|
1962
|
+
name: zod_1.z.string().nullish(),
|
|
1963
|
+
description: zod_1.z.string().nullish(),
|
|
1964
|
+
base_properties: zod_1.z.array(exports.BasePropertySourceSchema).nullish(),
|
|
1965
|
+
filters: exports.PropertyListFiltersSchema.nullish(),
|
|
1966
|
+
brand_manifest: exports.BrandManifestSchema.nullish(),
|
|
1967
|
+
webhook_url: zod_1.z.string().nullish(),
|
|
1968
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
1969
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1970
|
+
});
|
|
1971
|
+
exports.UpdatePropertyListResponseSchema = zod_1.z.object({
|
|
1972
|
+
list: exports.PropertyListSchema,
|
|
1973
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1974
|
+
});
|
|
1975
|
+
exports.GetPropertyListResponseSchema = zod_1.z.object({
|
|
1976
|
+
list: exports.PropertyListSchema,
|
|
1977
|
+
identifiers: zod_1.z.array(exports.IdentifierSchema).nullish(),
|
|
1978
|
+
total_count: zod_1.z.number().nullish(),
|
|
1979
|
+
returned_count: zod_1.z.number().nullish(),
|
|
1980
|
+
pagination: zod_1.z.object({
|
|
1981
|
+
has_more: zod_1.z.boolean().nullish(),
|
|
1982
|
+
cursor: zod_1.z.string().nullish()
|
|
1983
|
+
}).nullish(),
|
|
1984
|
+
resolved_at: zod_1.z.string().nullish(),
|
|
1985
|
+
cache_valid_until: zod_1.z.string().nullish(),
|
|
1986
|
+
coverage_gaps: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.array(exports.IdentifierSchema), zod_1.z.undefined()])).nullish(),
|
|
1987
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1988
|
+
});
|
|
1989
|
+
exports.ListPropertyListsResponseSchema = zod_1.z.object({
|
|
1990
|
+
lists: zod_1.z.array(exports.PropertyListSchema),
|
|
1991
|
+
total_count: zod_1.z.number().nullish(),
|
|
1992
|
+
returned_count: zod_1.z.number().nullish(),
|
|
1993
|
+
pagination: zod_1.z.object({
|
|
1994
|
+
has_more: zod_1.z.boolean().nullish(),
|
|
1995
|
+
cursor: zod_1.z.string().nullish()
|
|
1996
|
+
}).nullish(),
|
|
1997
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
1998
|
+
});
|
|
1999
|
+
exports.ListContentStandardsResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
2000
|
+
standards: zod_1.z.array(exports.ContentStandardsSchema),
|
|
2001
|
+
errors: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
2002
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
2003
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
2004
|
+
}), zod_1.z.object({
|
|
2005
|
+
errors: zod_1.z.array(exports.ErrorSchema),
|
|
2006
|
+
standards: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
2007
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
2008
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
2009
|
+
})]);
|
|
2010
|
+
exports.GetContentStandardsResponseSchema = zod_1.z.union([exports.ContentStandardsSchema, zod_1.z.object({
|
|
2011
|
+
errors: zod_1.z.array(exports.ErrorSchema),
|
|
2012
|
+
standards_id: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
2013
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
2014
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
2015
|
+
})]);
|
|
2016
|
+
exports.CreateContentStandardsRequestSchema = zod_1.z.object({
|
|
2017
|
+
scope: zod_1.z.object({
|
|
2018
|
+
countries_all: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2019
|
+
channels_any: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
2020
|
+
languages_any: zod_1.z.array(zod_1.z.string()),
|
|
2021
|
+
description: zod_1.z.string().nullish()
|
|
2022
|
+
}),
|
|
2023
|
+
policy: zod_1.z.string(),
|
|
2024
|
+
calibration_exemplars: zod_1.z.object({
|
|
2025
|
+
pass: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
2026
|
+
type: zod_1.z.literal("url"),
|
|
2027
|
+
value: zod_1.z.string(),
|
|
2028
|
+
language: zod_1.z.string().nullish()
|
|
2029
|
+
}), exports.ArtifactSchema])).nullish(),
|
|
2030
|
+
fail: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
2031
|
+
type: zod_1.z.literal("url"),
|
|
2032
|
+
value: zod_1.z.string(),
|
|
2033
|
+
language: zod_1.z.string().nullish()
|
|
2034
|
+
}), exports.Artifact1Schema])).nullish()
|
|
2035
|
+
}).nullish(),
|
|
2036
|
+
context: exports.ContextObjectSchema.nullish(),
|
|
2037
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
2038
|
+
});
|
|
2039
|
+
exports.SIInitiateSessionRequestSchema = zod_1.z.object({
|
|
2040
|
+
context: zod_1.z.string(),
|
|
2041
|
+
identity: exports.SIIdentitySchema,
|
|
2042
|
+
media_buy_id: zod_1.z.string().nullish(),
|
|
2043
|
+
placement: zod_1.z.string().nullish(),
|
|
2044
|
+
offering_id: zod_1.z.string().nullish(),
|
|
2045
|
+
supported_capabilities: exports.SICapabilitiesSchema.nullish(),
|
|
2046
|
+
offering_token: zod_1.z.string().nullish(),
|
|
2047
|
+
ext: exports.ExtensionObjectSchema.nullish()
|
|
2048
|
+
});
|
|
2049
|
+
exports.AdCPAsyncResponseDataSchema = zod_1.z.union([exports.GetProductsResponseSchema, exports.GetProductsAsyncWorkingSchema, exports.GetProductsAsyncInputRequiredSchema, exports.GetProductsAsyncSubmittedSchema, exports.CreateMediaBuyResponseSchema, exports.CreateMediaBuyAsyncWorkingSchema, exports.CreateMediaBuyAsyncInputRequiredSchema, exports.CreateMediaBuyAsyncSubmittedSchema, exports.UpdateMediaBuyResponseSchema, exports.UpdateMediaBuyAsyncWorkingSchema, exports.UpdateMediaBuyAsyncInputRequiredSchema, exports.UpdateMediaBuyAsyncSubmittedSchema, exports.SyncCreativesResponseSchema, exports.SyncCreativesAsyncWorkingSchema, exports.SyncCreativesAsyncInputRequiredSchema, exports.SyncCreativesAsyncSubmittedSchema]);
|
|
2050
|
+
exports.MCPWebhookPayloadSchema = zod_1.z.object({
|
|
2051
|
+
operation_id: zod_1.z.string().nullish(),
|
|
2052
|
+
task_id: zod_1.z.string(),
|
|
2053
|
+
task_type: exports.TaskTypeSchema,
|
|
2054
|
+
domain: exports.AdCPDomainSchema.nullish(),
|
|
2055
|
+
status: exports.TaskStatusSchema,
|
|
2056
|
+
timestamp: zod_1.z.string(),
|
|
2057
|
+
message: zod_1.z.string().nullish(),
|
|
2058
|
+
context_id: zod_1.z.string().nullish(),
|
|
2059
|
+
result: exports.AdCPAsyncResponseDataSchema.nullish()
|
|
2060
|
+
});
|
|
1148
2061
|
exports.GetProductsRequestSchema = zod_1.z.object({
|
|
1149
2062
|
brief: zod_1.z.string().nullish(),
|
|
2063
|
+
proposal_id: zod_1.z.string().nullish(),
|
|
1150
2064
|
brand_manifest: exports.BrandManifestReferenceSchema.nullish(),
|
|
1151
2065
|
filters: exports.ProductFiltersSchema.nullish(),
|
|
1152
2066
|
property_list: exports.PropertyListReferenceSchema.nullish(),
|
|
@@ -1166,51 +2080,44 @@ exports.ListCreativeFormatsResponseSchema = zod_1.z.object({
|
|
|
1166
2080
|
});
|
|
1167
2081
|
exports.CreateMediaBuyRequestSchema = zod_1.z.object({
|
|
1168
2082
|
buyer_ref: zod_1.z.string(),
|
|
1169
|
-
|
|
2083
|
+
proposal_id: zod_1.z.string().nullish(),
|
|
2084
|
+
total_budget: zod_1.z.object({
|
|
2085
|
+
amount: zod_1.z.number(),
|
|
2086
|
+
currency: zod_1.z.string()
|
|
2087
|
+
}).nullish(),
|
|
2088
|
+
packages: zod_1.z.array(exports.PackageRequestSchema).nullish(),
|
|
1170
2089
|
brand_manifest: exports.BrandManifestReference1Schema,
|
|
1171
2090
|
po_number: zod_1.z.string().nullish(),
|
|
1172
2091
|
start_time: exports.StartTimingSchema,
|
|
1173
2092
|
end_time: zod_1.z.string(),
|
|
1174
|
-
reporting_webhook:
|
|
2093
|
+
reporting_webhook: exports.ReportingWebhookSchema.nullish(),
|
|
2094
|
+
artifact_webhook: zod_1.z.object({
|
|
1175
2095
|
url: zod_1.z.string(),
|
|
1176
2096
|
token: zod_1.z.string().nullish(),
|
|
1177
2097
|
authentication: zod_1.z.object({
|
|
1178
2098
|
schemes: zod_1.z.union([zod_1.z.tuple([]), zod_1.z.tuple([exports.AuthenticationSchemeSchema])]),
|
|
1179
2099
|
credentials: zod_1.z.string()
|
|
1180
2100
|
}),
|
|
1181
|
-
|
|
1182
|
-
|
|
2101
|
+
delivery_mode: zod_1.z.union([zod_1.z.literal("realtime"), zod_1.z.literal("batched")]),
|
|
2102
|
+
batch_frequency: zod_1.z.union([zod_1.z.literal("hourly"), zod_1.z.literal("daily")]).nullish(),
|
|
2103
|
+
sampling_rate: zod_1.z.number().nullish()
|
|
1183
2104
|
}).nullish(),
|
|
1184
2105
|
context: exports.ContextObjectSchema.nullish(),
|
|
1185
2106
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1186
2107
|
});
|
|
1187
|
-
exports.
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
limit: zod_1.z.number().nullish(),
|
|
1195
|
-
offset: zod_1.z.number().nullish()
|
|
1196
|
-
}).nullish(),
|
|
1197
|
-
include_assignments: zod_1.z.boolean().nullish(),
|
|
1198
|
-
include_performance: zod_1.z.boolean().nullish(),
|
|
1199
|
-
include_sub_assets: zod_1.z.boolean().nullish(),
|
|
1200
|
-
fields: zod_1.z.array(zod_1.z.union([zod_1.z.literal("creative_id"), zod_1.z.literal("name"), zod_1.z.literal("format"), zod_1.z.literal("status"), zod_1.z.literal("created_date"), zod_1.z.literal("updated_date"), zod_1.z.literal("tags"), zod_1.z.literal("assignments"), zod_1.z.literal("performance"), zod_1.z.literal("sub_assets")])).nullish(),
|
|
2108
|
+
exports.PreviewCreativeResponseSchema = zod_1.z.union([exports.PreviewCreativeSingleResponseSchema, exports.PreviewCreativeBatchResponseSchema]);
|
|
2109
|
+
exports.CreatePropertyListRequestSchema = zod_1.z.object({
|
|
2110
|
+
name: zod_1.z.string(),
|
|
2111
|
+
description: zod_1.z.string().nullish(),
|
|
2112
|
+
base_properties: zod_1.z.array(exports.BasePropertySourceSchema).nullish(),
|
|
2113
|
+
filters: exports.PropertyListFiltersSchema.nullish(),
|
|
2114
|
+
brand_manifest: exports.BrandManifestSchema.nullish(),
|
|
1201
2115
|
context: exports.ContextObjectSchema.nullish(),
|
|
1202
2116
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1203
2117
|
});
|
|
1204
|
-
exports.
|
|
1205
|
-
exports.
|
|
1206
|
-
|
|
1207
|
-
deliver_to: zod_1.z.object({
|
|
1208
|
-
deployments: zod_1.z.array(exports.DestinationSchema),
|
|
1209
|
-
countries: zod_1.z.array(zod_1.z.string())
|
|
1210
|
-
}),
|
|
1211
|
-
filters: exports.SignalFiltersSchema.nullish(),
|
|
1212
|
-
max_results: zod_1.z.number().nullish(),
|
|
1213
|
-
context: exports.ContextObjectSchema.nullish(),
|
|
2118
|
+
exports.CreatePropertyListResponseSchema = zod_1.z.object({
|
|
2119
|
+
list: exports.PropertyListSchema,
|
|
2120
|
+
auth_token: zod_1.z.string(),
|
|
1214
2121
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1215
2122
|
});
|
|
1216
2123
|
//# sourceMappingURL=schemas.generated.js.map
|