@adcp/client 4.3.0 → 4.4.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/dist/lib/core/SingleAgentClient.d.ts.map +1 -1
- package/dist/lib/core/SingleAgentClient.js +3 -4
- package/dist/lib/core/SingleAgentClient.js.map +1 -1
- package/dist/lib/types/core.generated.d.ts +20 -3
- package/dist/lib/types/core.generated.d.ts.map +1 -1
- package/dist/lib/types/core.generated.js +1 -1
- package/dist/lib/types/schemas.generated.d.ts +6742 -6714
- package/dist/lib/types/schemas.generated.d.ts.map +1 -1
- package/dist/lib/types/schemas.generated.js +511 -505
- package/dist/lib/types/schemas.generated.js.map +1 -1
- package/dist/lib/types/tools.generated.d.ts +34 -13
- package/dist/lib/types/tools.generated.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Generated Zod v4 schemas from TypeScript types
|
|
3
|
-
// Generated at: 2026-03-
|
|
3
|
+
// Generated at: 2026-03-04T14:01:39.851Z
|
|
4
4
|
// Sources:
|
|
5
5
|
// - core.generated.ts (core types)
|
|
6
6
|
// - tools.generated.ts (tool types)
|
|
@@ -30,8 +30,8 @@ exports.PostalCodeSystemSchema = zod_1.z.union([zod_1.z.literal("us_zip"), zod_1
|
|
|
30
30
|
exports.DayOfWeekSchema = zod_1.z.union([zod_1.z.literal("monday"), zod_1.z.literal("tuesday"), zod_1.z.literal("wednesday"), zod_1.z.literal("thursday"), zod_1.z.literal("friday"), zod_1.z.literal("saturday"), zod_1.z.literal("sunday")]);
|
|
31
31
|
exports.DurationSchema = zod_1.z.object({
|
|
32
32
|
interval: zod_1.z.number(),
|
|
33
|
-
unit: zod_1.z.union([zod_1.z.literal("minutes"), zod_1.z.literal("hours"), zod_1.z.literal("days"), zod_1.z.literal("campaign")])
|
|
34
|
-
});
|
|
33
|
+
unit: zod_1.z.union([zod_1.z.literal("seconds"), zod_1.z.literal("minutes"), zod_1.z.literal("hours"), zod_1.z.literal("days"), zod_1.z.literal("campaign")])
|
|
34
|
+
}).passthrough();
|
|
35
35
|
exports.ReachUnitSchema = zod_1.z.union([zod_1.z.literal("individuals"), zod_1.z.literal("households"), zod_1.z.literal("devices"), zod_1.z.literal("accounts"), zod_1.z.literal("cookies"), zod_1.z.literal("custom")]);
|
|
36
36
|
exports.AgeVerificationMethodSchema = zod_1.z.union([zod_1.z.literal("facial_age_estimation"), zod_1.z.literal("id_document"), zod_1.z.literal("digital_id"), zod_1.z.literal("credit_card"), zod_1.z.literal("world_id")]);
|
|
37
37
|
exports.DevicePlatformSchema = zod_1.z.union([zod_1.z.literal("ios"), zod_1.z.literal("android"), zod_1.z.literal("windows"), zod_1.z.literal("macos"), zod_1.z.literal("linux"), zod_1.z.literal("chromeos"), zod_1.z.literal("tvos"), zod_1.z.literal("tizen"), zod_1.z.literal("webos"), zod_1.z.literal("fire_os"), zod_1.z.literal("roku_os"), zod_1.z.literal("unknown")]);
|
|
@@ -45,12 +45,12 @@ exports.OptimizationGoalSchema = zod_1.z.union([zod_1.z.object({
|
|
|
45
45
|
target: zod_1.z.union([zod_1.z.object({
|
|
46
46
|
kind: zod_1.z.literal("cost_per"),
|
|
47
47
|
value: zod_1.z.number()
|
|
48
|
-
}), zod_1.z.object({
|
|
48
|
+
}).passthrough(), zod_1.z.object({
|
|
49
49
|
kind: zod_1.z.literal("threshold_rate"),
|
|
50
50
|
value: zod_1.z.number()
|
|
51
|
-
})]).nullish(),
|
|
51
|
+
}).passthrough()]).nullish(),
|
|
52
52
|
priority: zod_1.z.number().nullish()
|
|
53
|
-
}), zod_1.z.object({
|
|
53
|
+
}).passthrough(), zod_1.z.object({
|
|
54
54
|
kind: zod_1.z.literal("event"),
|
|
55
55
|
event_sources: zod_1.z.array(zod_1.z.object({
|
|
56
56
|
event_source_id: zod_1.z.string(),
|
|
@@ -58,39 +58,39 @@ exports.OptimizationGoalSchema = zod_1.z.union([zod_1.z.object({
|
|
|
58
58
|
custom_event_name: zod_1.z.string().nullish(),
|
|
59
59
|
value_field: zod_1.z.string().nullish(),
|
|
60
60
|
value_factor: zod_1.z.number().nullish()
|
|
61
|
-
})),
|
|
61
|
+
}).passthrough()),
|
|
62
62
|
target: zod_1.z.union([zod_1.z.object({
|
|
63
63
|
kind: zod_1.z.literal("cost_per"),
|
|
64
64
|
value: zod_1.z.number()
|
|
65
|
-
}), zod_1.z.object({
|
|
65
|
+
}).passthrough(), zod_1.z.object({
|
|
66
66
|
kind: zod_1.z.literal("per_ad_spend"),
|
|
67
67
|
value: zod_1.z.number()
|
|
68
|
-
}), zod_1.z.object({
|
|
68
|
+
}).passthrough(), zod_1.z.object({
|
|
69
69
|
kind: zod_1.z.literal("maximize_value")
|
|
70
|
-
})]).nullish(),
|
|
70
|
+
}).passthrough()]).nullish(),
|
|
71
71
|
attribution_window: zod_1.z.object({
|
|
72
72
|
post_click: exports.DurationSchema,
|
|
73
73
|
post_view: exports.DurationSchema.nullish()
|
|
74
|
-
}).nullish(),
|
|
74
|
+
}).passthrough().nullish(),
|
|
75
75
|
priority: zod_1.z.number().nullish()
|
|
76
|
-
})]);
|
|
77
|
-
exports.ExtensionObjectSchema = zod_1.z.object({});
|
|
76
|
+
}).passthrough()]);
|
|
77
|
+
exports.ExtensionObjectSchema = zod_1.z.object({}).passthrough();
|
|
78
78
|
exports.BrandReferenceSchema = zod_1.z.object({
|
|
79
79
|
domain: zod_1.z.string(),
|
|
80
80
|
brand_id: exports.BrandIDSchema.nullish()
|
|
81
|
-
});
|
|
81
|
+
}).passthrough();
|
|
82
82
|
exports.FormatIDSchema = zod_1.z.object({
|
|
83
83
|
agent_url: zod_1.z.string(),
|
|
84
84
|
id: zod_1.z.string(),
|
|
85
85
|
width: zod_1.z.number().nullish(),
|
|
86
86
|
height: zod_1.z.number().nullish(),
|
|
87
87
|
duration_ms: zod_1.z.number().nullish()
|
|
88
|
-
});
|
|
88
|
+
}).passthrough();
|
|
89
89
|
exports.CreativeAssignmentSchema = zod_1.z.object({
|
|
90
90
|
creative_id: zod_1.z.string(),
|
|
91
91
|
weight: zod_1.z.number().nullish(),
|
|
92
92
|
placement_ids: zod_1.z.array(zod_1.z.string()).nullish()
|
|
93
|
-
});
|
|
93
|
+
}).passthrough();
|
|
94
94
|
exports.CatalogFieldMappingSchema = zod_1.z.object({
|
|
95
95
|
feed_field: zod_1.z.string().nullish(),
|
|
96
96
|
catalog_field: zod_1.z.string().nullish(),
|
|
@@ -103,25 +103,25 @@ exports.CatalogFieldMappingSchema = zod_1.z.object({
|
|
|
103
103
|
separator: zod_1.z.string().nullish(),
|
|
104
104
|
default: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])).nullish(),
|
|
105
105
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
106
|
-
});
|
|
106
|
+
}).passthrough();
|
|
107
107
|
exports.DaypartTargetSchema = zod_1.z.object({
|
|
108
108
|
days: zod_1.z.array(exports.DayOfWeekSchema),
|
|
109
109
|
start_hour: zod_1.z.number(),
|
|
110
110
|
end_hour: zod_1.z.number(),
|
|
111
111
|
label: zod_1.z.string().nullish()
|
|
112
|
-
});
|
|
112
|
+
}).passthrough();
|
|
113
113
|
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({
|
|
114
114
|
suppress: exports.DurationSchema.nullish(),
|
|
115
115
|
suppress_minutes: zod_1.z.number().nullish(),
|
|
116
116
|
max_impressions: zod_1.z.number().nullish(),
|
|
117
117
|
per: exports.ReachUnitSchema.nullish(),
|
|
118
118
|
window: exports.DurationSchema.nullish()
|
|
119
|
-
}));
|
|
119
|
+
}).passthrough());
|
|
120
120
|
exports.PropertyListReferenceSchema = zod_1.z.object({
|
|
121
121
|
agent_url: zod_1.z.string(),
|
|
122
122
|
list_id: zod_1.z.string(),
|
|
123
123
|
auth_token: zod_1.z.string().nullish()
|
|
124
|
-
});
|
|
124
|
+
}).passthrough();
|
|
125
125
|
exports.DigitalSourceTypeSchema = zod_1.z.union([zod_1.z.literal("digital_capture"), zod_1.z.literal("digital_creation"), zod_1.z.literal("trained_algorithmic_media"), zod_1.z.literal("composite_with_trained_algorithmic_media"), zod_1.z.literal("algorithmic_media"), zod_1.z.literal("composite_capture"), zod_1.z.literal("composite_synthetic"), zod_1.z.literal("human_edits"), zod_1.z.literal("data_driven_media")]);
|
|
126
126
|
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")]);
|
|
127
127
|
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")]);
|
|
@@ -131,16 +131,16 @@ exports.ProvenanceSchema = zod_1.z.object({
|
|
|
131
131
|
name: zod_1.z.string(),
|
|
132
132
|
version: zod_1.z.string().nullish(),
|
|
133
133
|
provider: zod_1.z.string().nullish()
|
|
134
|
-
}).nullish(),
|
|
134
|
+
}).passthrough().nullish(),
|
|
135
135
|
human_oversight: zod_1.z.union([zod_1.z.literal("none"), zod_1.z.literal("prompt_only"), zod_1.z.literal("selected"), zod_1.z.literal("edited"), zod_1.z.literal("directed")]).nullish(),
|
|
136
136
|
declared_by: zod_1.z.object({
|
|
137
137
|
agent_url: zod_1.z.string().nullish(),
|
|
138
138
|
role: zod_1.z.union([zod_1.z.literal("creator"), zod_1.z.literal("advertiser"), zod_1.z.literal("agency"), zod_1.z.literal("platform"), zod_1.z.literal("tool")])
|
|
139
|
-
}).nullish(),
|
|
139
|
+
}).passthrough().nullish(),
|
|
140
140
|
created_time: zod_1.z.string().nullish(),
|
|
141
141
|
c2pa: zod_1.z.object({
|
|
142
142
|
manifest_url: zod_1.z.string()
|
|
143
|
-
}).nullish(),
|
|
143
|
+
}).passthrough().nullish(),
|
|
144
144
|
disclosure: zod_1.z.object({
|
|
145
145
|
required: zod_1.z.boolean(),
|
|
146
146
|
jurisdictions: zod_1.z.array(zod_1.z.object({
|
|
@@ -148,17 +148,17 @@ exports.ProvenanceSchema = zod_1.z.object({
|
|
|
148
148
|
region: zod_1.z.string().nullish(),
|
|
149
149
|
regulation: zod_1.z.string(),
|
|
150
150
|
label_text: zod_1.z.string().nullish()
|
|
151
|
-
})).nullish()
|
|
152
|
-
}).nullish(),
|
|
151
|
+
}).passthrough()).nullish()
|
|
152
|
+
}).passthrough().nullish(),
|
|
153
153
|
verification: zod_1.z.array(zod_1.z.object({
|
|
154
154
|
verified_by: zod_1.z.string(),
|
|
155
155
|
verified_time: zod_1.z.string().nullish(),
|
|
156
156
|
result: zod_1.z.union([zod_1.z.literal("authentic"), zod_1.z.literal("ai_generated"), zod_1.z.literal("ai_modified"), zod_1.z.literal("inconclusive")]),
|
|
157
157
|
confidence: zod_1.z.number().nullish(),
|
|
158
158
|
details_url: zod_1.z.string().nullish()
|
|
159
|
-
})).nullish(),
|
|
159
|
+
}).passthrough()).nullish(),
|
|
160
160
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
161
|
-
});
|
|
161
|
+
}).passthrough();
|
|
162
162
|
exports.URLAssetTypeSchema = zod_1.z.union([zod_1.z.literal("clickthrough"), zod_1.z.literal("tracker_pixel"), zod_1.z.literal("tracker_script")]);
|
|
163
163
|
exports.JavaScriptModuleTypeSchema = zod_1.z.union([zod_1.z.literal("esm"), zod_1.z.literal("commonjs"), zod_1.z.literal("script")]);
|
|
164
164
|
exports.HTTPMethodSchema = zod_1.z.union([zod_1.z.literal("GET"), zod_1.z.literal("POST")]);
|
|
@@ -176,7 +176,7 @@ exports.CatalogSchema = zod_1.z.object({
|
|
|
176
176
|
url: zod_1.z.string().nullish(),
|
|
177
177
|
feed_format: exports.FeedFormatSchema.nullish(),
|
|
178
178
|
update_frequency: exports.UpdateFrequencySchema.nullish(),
|
|
179
|
-
items: zod_1.z.array(zod_1.z.object({})).nullish(),
|
|
179
|
+
items: zod_1.z.array(zod_1.z.object({}).passthrough()).nullish(),
|
|
180
180
|
ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
181
181
|
gtins: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
182
182
|
tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
@@ -185,7 +185,7 @@ exports.CatalogSchema = zod_1.z.object({
|
|
|
185
185
|
conversion_events: zod_1.z.array(exports.EventTypeSchema).nullish(),
|
|
186
186
|
content_id_type: exports.ContentIDTypeSchema.nullish(),
|
|
187
187
|
feed_field_mappings: zod_1.z.array(exports.CatalogFieldMappingSchema).nullish()
|
|
188
|
-
});
|
|
188
|
+
}).passthrough();
|
|
189
189
|
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")]);
|
|
190
190
|
exports.ImageAssetSchema = zod_1.z.object({
|
|
191
191
|
url: zod_1.z.string(),
|
|
@@ -194,7 +194,7 @@ exports.ImageAssetSchema = zod_1.z.object({
|
|
|
194
194
|
format: zod_1.z.string().nullish(),
|
|
195
195
|
alt_text: zod_1.z.string().nullish(),
|
|
196
196
|
provenance: exports.ProvenanceSchema.nullish()
|
|
197
|
-
});
|
|
197
|
+
}).passthrough();
|
|
198
198
|
exports.VideoAssetSchema = zod_1.z.object({
|
|
199
199
|
url: zod_1.z.string(),
|
|
200
200
|
width: zod_1.z.number(),
|
|
@@ -226,7 +226,7 @@ exports.VideoAssetSchema = zod_1.z.object({
|
|
|
226
226
|
transcript_url: zod_1.z.string().nullish(),
|
|
227
227
|
audio_description_url: zod_1.z.string().nullish(),
|
|
228
228
|
provenance: exports.ProvenanceSchema.nullish()
|
|
229
|
-
});
|
|
229
|
+
}).passthrough();
|
|
230
230
|
exports.AudioAssetSchema = zod_1.z.object({
|
|
231
231
|
url: zod_1.z.string(),
|
|
232
232
|
duration_ms: zod_1.z.number().nullish(),
|
|
@@ -241,7 +241,7 @@ exports.AudioAssetSchema = zod_1.z.object({
|
|
|
241
241
|
true_peak_dbfs: zod_1.z.number().nullish(),
|
|
242
242
|
transcript_url: zod_1.z.string().nullish(),
|
|
243
243
|
provenance: exports.ProvenanceSchema.nullish()
|
|
244
|
-
});
|
|
244
|
+
}).passthrough();
|
|
245
245
|
exports.VASTAssetSchema = zod_1.z.union([zod_1.z.object({
|
|
246
246
|
delivery_type: zod_1.z.literal("url"),
|
|
247
247
|
url: zod_1.z.string(),
|
|
@@ -252,7 +252,7 @@ exports.VASTAssetSchema = zod_1.z.union([zod_1.z.object({
|
|
|
252
252
|
captions_url: zod_1.z.string().nullish(),
|
|
253
253
|
audio_description_url: zod_1.z.string().nullish(),
|
|
254
254
|
provenance: exports.ProvenanceSchema.nullish()
|
|
255
|
-
}), zod_1.z.object({
|
|
255
|
+
}).passthrough(), zod_1.z.object({
|
|
256
256
|
delivery_type: zod_1.z.literal("inline"),
|
|
257
257
|
content: zod_1.z.string(),
|
|
258
258
|
vast_version: exports.VASTVersionSchema.nullish(),
|
|
@@ -262,18 +262,18 @@ exports.VASTAssetSchema = zod_1.z.union([zod_1.z.object({
|
|
|
262
262
|
captions_url: zod_1.z.string().nullish(),
|
|
263
263
|
audio_description_url: zod_1.z.string().nullish(),
|
|
264
264
|
provenance: exports.ProvenanceSchema.nullish()
|
|
265
|
-
})]);
|
|
265
|
+
}).passthrough()]);
|
|
266
266
|
exports.TextAssetSchema = zod_1.z.object({
|
|
267
267
|
content: zod_1.z.string(),
|
|
268
268
|
language: zod_1.z.string().nullish(),
|
|
269
269
|
provenance: exports.ProvenanceSchema.nullish()
|
|
270
|
-
});
|
|
270
|
+
}).passthrough();
|
|
271
271
|
exports.URLAssetSchema = zod_1.z.object({
|
|
272
272
|
url: zod_1.z.string(),
|
|
273
273
|
url_type: exports.URLAssetTypeSchema.nullish(),
|
|
274
274
|
description: zod_1.z.string().nullish(),
|
|
275
275
|
provenance: exports.ProvenanceSchema.nullish()
|
|
276
|
-
});
|
|
276
|
+
}).passthrough();
|
|
277
277
|
exports.HTMLAssetSchema = zod_1.z.object({
|
|
278
278
|
content: zod_1.z.string(),
|
|
279
279
|
version: zod_1.z.string().nullish(),
|
|
@@ -282,9 +282,9 @@ exports.HTMLAssetSchema = zod_1.z.object({
|
|
|
282
282
|
keyboard_navigable: zod_1.z.boolean().nullish(),
|
|
283
283
|
motion_control: zod_1.z.boolean().nullish(),
|
|
284
284
|
screen_reader_tested: zod_1.z.boolean().nullish()
|
|
285
|
-
}).nullish(),
|
|
285
|
+
}).passthrough().nullish(),
|
|
286
286
|
provenance: exports.ProvenanceSchema.nullish()
|
|
287
|
-
});
|
|
287
|
+
}).passthrough();
|
|
288
288
|
exports.JavaScriptAssetSchema = zod_1.z.object({
|
|
289
289
|
content: zod_1.z.string(),
|
|
290
290
|
module_type: exports.JavaScriptModuleTypeSchema.nullish(),
|
|
@@ -293,9 +293,9 @@ exports.JavaScriptAssetSchema = zod_1.z.object({
|
|
|
293
293
|
keyboard_navigable: zod_1.z.boolean().nullish(),
|
|
294
294
|
motion_control: zod_1.z.boolean().nullish(),
|
|
295
295
|
screen_reader_tested: zod_1.z.boolean().nullish()
|
|
296
|
-
}).nullish(),
|
|
296
|
+
}).passthrough().nullish(),
|
|
297
297
|
provenance: exports.ProvenanceSchema.nullish()
|
|
298
|
-
});
|
|
298
|
+
}).passthrough();
|
|
299
299
|
exports.WebhookAssetSchema = zod_1.z.object({
|
|
300
300
|
url: zod_1.z.string(),
|
|
301
301
|
method: exports.HTTPMethodSchema.nullish(),
|
|
@@ -307,14 +307,14 @@ exports.WebhookAssetSchema = zod_1.z.object({
|
|
|
307
307
|
method: exports.WebhookSecurityMethodSchema,
|
|
308
308
|
hmac_header: zod_1.z.string().nullish(),
|
|
309
309
|
api_key_header: zod_1.z.string().nullish()
|
|
310
|
-
}),
|
|
310
|
+
}).passthrough(),
|
|
311
311
|
provenance: exports.ProvenanceSchema.nullish()
|
|
312
|
-
});
|
|
312
|
+
}).passthrough();
|
|
313
313
|
exports.CSSAssetSchema = zod_1.z.object({
|
|
314
314
|
content: zod_1.z.string(),
|
|
315
315
|
media: zod_1.z.string().nullish(),
|
|
316
316
|
provenance: exports.ProvenanceSchema.nullish()
|
|
317
|
-
});
|
|
317
|
+
}).passthrough();
|
|
318
318
|
exports.DAASTAssetSchema = zod_1.z.union([zod_1.z.object({
|
|
319
319
|
delivery_type: zod_1.z.literal("url"),
|
|
320
320
|
url: zod_1.z.string(),
|
|
@@ -324,7 +324,7 @@ exports.DAASTAssetSchema = zod_1.z.union([zod_1.z.object({
|
|
|
324
324
|
companion_ads: zod_1.z.boolean().nullish(),
|
|
325
325
|
transcript_url: zod_1.z.string().nullish(),
|
|
326
326
|
provenance: exports.ProvenanceSchema.nullish()
|
|
327
|
-
}), zod_1.z.object({
|
|
327
|
+
}).passthrough(), zod_1.z.object({
|
|
328
328
|
delivery_type: zod_1.z.literal("inline"),
|
|
329
329
|
content: zod_1.z.string(),
|
|
330
330
|
daast_version: exports.DAASTVersionSchema.nullish(),
|
|
@@ -333,19 +333,19 @@ exports.DAASTAssetSchema = zod_1.z.union([zod_1.z.object({
|
|
|
333
333
|
companion_ads: zod_1.z.boolean().nullish(),
|
|
334
334
|
transcript_url: zod_1.z.string().nullish(),
|
|
335
335
|
provenance: exports.ProvenanceSchema.nullish()
|
|
336
|
-
})]);
|
|
336
|
+
}).passthrough()]);
|
|
337
337
|
exports.MarkdownAssetSchema = zod_1.z.object({
|
|
338
338
|
content: zod_1.z.string(),
|
|
339
339
|
language: zod_1.z.string().nullish(),
|
|
340
340
|
markdown_flavor: exports.MarkdownFlavorSchema.nullish(),
|
|
341
341
|
allow_raw_html: zod_1.z.boolean().nullish()
|
|
342
|
-
});
|
|
342
|
+
}).passthrough();
|
|
343
343
|
exports.CatalogAssetSchema = exports.CatalogSchema;
|
|
344
344
|
exports.ReferenceAssetSchema = zod_1.z.object({
|
|
345
345
|
url: zod_1.z.string(),
|
|
346
346
|
role: zod_1.z.union([zod_1.z.literal("style_reference"), zod_1.z.literal("product_shot"), zod_1.z.literal("mood_board"), zod_1.z.literal("example_creative"), zod_1.z.literal("logo"), zod_1.z.literal("strategy_doc"), zod_1.z.literal("storyboard")]),
|
|
347
347
|
description: zod_1.z.string().nullish()
|
|
348
|
-
});
|
|
348
|
+
}).passthrough();
|
|
349
349
|
exports.PropertyIDSchema = zod_1.z.string();
|
|
350
350
|
exports.PropertyTagSchema = zod_1.z.string();
|
|
351
351
|
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")]);
|
|
@@ -359,7 +359,7 @@ exports.CPAPricingOptionSchema = zod_1.z.object({
|
|
|
359
359
|
currency: zod_1.z.string(),
|
|
360
360
|
fixed_price: zod_1.z.number(),
|
|
361
361
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
362
|
-
});
|
|
362
|
+
}).passthrough();
|
|
363
363
|
exports.DemographicSystemSchema = zod_1.z.union([zod_1.z.literal("nielsen"), zod_1.z.literal("barb"), zod_1.z.literal("agf"), zod_1.z.literal("oztam"), zod_1.z.literal("mediametrie"), zod_1.z.literal("custom")]);
|
|
364
364
|
exports.ForecastRangeUnitSchema = zod_1.z.union([zod_1.z.literal("spend"), zod_1.z.literal("reach_freq"), zod_1.z.literal("weekly"), zod_1.z.literal("daily"), zod_1.z.literal("clicks"), zod_1.z.literal("conversions")]);
|
|
365
365
|
exports.ForecastMethodSchema = zod_1.z.union([zod_1.z.literal("estimate"), zod_1.z.literal("modeled"), zod_1.z.literal("guaranteed")]);
|
|
@@ -370,52 +370,52 @@ exports.LandingPageRequirementSchema = zod_1.z.union([zod_1.z.literal("any"), zo
|
|
|
370
370
|
exports.DataProviderSignalSelectorSchema = zod_1.z.union([zod_1.z.object({
|
|
371
371
|
data_provider_domain: zod_1.z.string(),
|
|
372
372
|
selection_type: zod_1.z.literal("all")
|
|
373
|
-
}), zod_1.z.object({
|
|
373
|
+
}).passthrough(), zod_1.z.object({
|
|
374
374
|
data_provider_domain: zod_1.z.string(),
|
|
375
375
|
selection_type: zod_1.z.literal("by_id"),
|
|
376
376
|
signal_ids: zod_1.z.array(zod_1.z.string())
|
|
377
|
-
}), zod_1.z.object({
|
|
377
|
+
}).passthrough(), zod_1.z.object({
|
|
378
378
|
data_provider_domain: zod_1.z.string(),
|
|
379
379
|
selection_type: zod_1.z.literal("by_tag"),
|
|
380
380
|
signal_tags: zod_1.z.array(zod_1.z.string())
|
|
381
|
-
})]);
|
|
381
|
+
}).passthrough()]);
|
|
382
382
|
exports.ActionSourceSchema = zod_1.z.union([zod_1.z.literal("website"), zod_1.z.literal("app"), zod_1.z.literal("offline"), zod_1.z.literal("phone_call"), zod_1.z.literal("chat"), zod_1.z.literal("email"), zod_1.z.literal("in_store"), zod_1.z.literal("system_generated"), zod_1.z.literal("other")]);
|
|
383
383
|
exports.PublisherPropertySelectorSchema = zod_1.z.union([zod_1.z.object({
|
|
384
384
|
publisher_domain: zod_1.z.string(),
|
|
385
385
|
selection_type: zod_1.z.literal("all")
|
|
386
|
-
}), zod_1.z.object({
|
|
386
|
+
}).passthrough(), zod_1.z.object({
|
|
387
387
|
publisher_domain: zod_1.z.string(),
|
|
388
388
|
selection_type: zod_1.z.literal("by_id"),
|
|
389
389
|
property_ids: zod_1.z.array(exports.PropertyIDSchema)
|
|
390
|
-
}), zod_1.z.object({
|
|
390
|
+
}).passthrough(), zod_1.z.object({
|
|
391
391
|
publisher_domain: zod_1.z.string(),
|
|
392
392
|
selection_type: zod_1.z.literal("by_tag"),
|
|
393
393
|
property_tags: zod_1.z.array(exports.PropertyTagSchema)
|
|
394
|
-
})]);
|
|
394
|
+
}).passthrough()]);
|
|
395
395
|
exports.PlacementSchema = zod_1.z.object({
|
|
396
396
|
placement_id: zod_1.z.string(),
|
|
397
397
|
name: zod_1.z.string(),
|
|
398
398
|
description: zod_1.z.string().nullish(),
|
|
399
399
|
format_ids: zod_1.z.array(exports.FormatIDSchema).nullish()
|
|
400
|
-
});
|
|
400
|
+
}).passthrough();
|
|
401
401
|
exports.OutcomeMeasurementSchema = zod_1.z.object({
|
|
402
402
|
type: zod_1.z.string(),
|
|
403
403
|
attribution: zod_1.z.string(),
|
|
404
404
|
window: exports.DurationSchema.nullish(),
|
|
405
405
|
reporting: zod_1.z.string()
|
|
406
|
-
});
|
|
406
|
+
}).passthrough();
|
|
407
407
|
exports.CreativePolicySchema = zod_1.z.object({
|
|
408
408
|
co_branding: exports.CoBrandingRequirementSchema,
|
|
409
409
|
landing_page: exports.LandingPageRequirementSchema,
|
|
410
410
|
templates_available: zod_1.z.boolean(),
|
|
411
411
|
provenance_required: zod_1.z.boolean().nullish()
|
|
412
|
-
});
|
|
412
|
+
}).passthrough();
|
|
413
413
|
exports.PriceGuidanceSchema = zod_1.z.object({
|
|
414
414
|
p25: zod_1.z.number().nullish(),
|
|
415
415
|
p50: zod_1.z.number().nullish(),
|
|
416
416
|
p75: zod_1.z.number().nullish(),
|
|
417
417
|
p90: zod_1.z.number().nullish()
|
|
418
|
-
});
|
|
418
|
+
}).passthrough();
|
|
419
419
|
exports.VCPMPricingOptionSchema = zod_1.z.object({
|
|
420
420
|
pricing_option_id: zod_1.z.string(),
|
|
421
421
|
pricing_model: zod_1.z.literal("vcpm"),
|
|
@@ -425,7 +425,7 @@ exports.VCPMPricingOptionSchema = zod_1.z.object({
|
|
|
425
425
|
max_bid: zod_1.z.boolean().nullish(),
|
|
426
426
|
price_guidance: exports.PriceGuidanceSchema.nullish(),
|
|
427
427
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
428
|
-
});
|
|
428
|
+
}).passthrough();
|
|
429
429
|
exports.CPCPricingOptionSchema = zod_1.z.object({
|
|
430
430
|
pricing_option_id: zod_1.z.string(),
|
|
431
431
|
pricing_model: zod_1.z.literal("cpc"),
|
|
@@ -435,7 +435,7 @@ exports.CPCPricingOptionSchema = zod_1.z.object({
|
|
|
435
435
|
max_bid: zod_1.z.boolean().nullish(),
|
|
436
436
|
price_guidance: exports.PriceGuidanceSchema.nullish(),
|
|
437
437
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
438
|
-
});
|
|
438
|
+
}).passthrough();
|
|
439
439
|
exports.CPCVPricingOptionSchema = zod_1.z.object({
|
|
440
440
|
pricing_option_id: zod_1.z.string(),
|
|
441
441
|
pricing_model: zod_1.z.literal("cpcv"),
|
|
@@ -445,7 +445,7 @@ exports.CPCVPricingOptionSchema = zod_1.z.object({
|
|
|
445
445
|
max_bid: zod_1.z.boolean().nullish(),
|
|
446
446
|
price_guidance: exports.PriceGuidanceSchema.nullish(),
|
|
447
447
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
448
|
-
});
|
|
448
|
+
}).passthrough();
|
|
449
449
|
exports.CPVPricingOptionSchema = zod_1.z.object({
|
|
450
450
|
pricing_option_id: zod_1.z.string(),
|
|
451
451
|
pricing_model: zod_1.z.literal("cpv"),
|
|
@@ -457,10 +457,10 @@ exports.CPVPricingOptionSchema = zod_1.z.object({
|
|
|
457
457
|
parameters: zod_1.z.object({
|
|
458
458
|
view_threshold: zod_1.z.union([zod_1.z.number(), zod_1.z.object({
|
|
459
459
|
duration_seconds: zod_1.z.number()
|
|
460
|
-
})])
|
|
461
|
-
}),
|
|
460
|
+
}).passthrough()])
|
|
461
|
+
}).passthrough(),
|
|
462
462
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
463
|
-
});
|
|
463
|
+
}).passthrough();
|
|
464
464
|
exports.CPPPricingOptionSchema = zod_1.z.object({
|
|
465
465
|
pricing_option_id: zod_1.z.string(),
|
|
466
466
|
pricing_model: zod_1.z.literal("cpp"),
|
|
@@ -472,9 +472,9 @@ exports.CPPPricingOptionSchema = zod_1.z.object({
|
|
|
472
472
|
demographic_system: exports.DemographicSystemSchema.nullish(),
|
|
473
473
|
demographic: zod_1.z.string(),
|
|
474
474
|
min_points: zod_1.z.number().nullish()
|
|
475
|
-
}),
|
|
475
|
+
}).passthrough(),
|
|
476
476
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
477
|
-
});
|
|
477
|
+
}).passthrough();
|
|
478
478
|
exports.FlatRatePricingOptionSchema = zod_1.z.object({
|
|
479
479
|
pricing_option_id: zod_1.z.string(),
|
|
480
480
|
pricing_model: zod_1.z.literal("flat_rate"),
|
|
@@ -490,9 +490,9 @@ exports.FlatRatePricingOptionSchema = zod_1.z.object({
|
|
|
490
490
|
venue_package: zod_1.z.string().nullish(),
|
|
491
491
|
estimated_impressions: zod_1.z.number().nullish(),
|
|
492
492
|
daypart: zod_1.z.string().nullish()
|
|
493
|
-
}).nullish(),
|
|
493
|
+
}).passthrough().nullish(),
|
|
494
494
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
495
|
-
});
|
|
495
|
+
}).passthrough();
|
|
496
496
|
exports.TimeBasedPricingOptionSchema = zod_1.z.object({
|
|
497
497
|
pricing_option_id: zod_1.z.string(),
|
|
498
498
|
pricing_model: zod_1.z.literal("time"),
|
|
@@ -504,20 +504,20 @@ exports.TimeBasedPricingOptionSchema = zod_1.z.object({
|
|
|
504
504
|
time_unit: zod_1.z.union([zod_1.z.literal("hour"), zod_1.z.literal("day"), zod_1.z.literal("week"), zod_1.z.literal("month")]),
|
|
505
505
|
min_duration: zod_1.z.number().nullish(),
|
|
506
506
|
max_duration: zod_1.z.number().nullish()
|
|
507
|
-
}),
|
|
507
|
+
}).passthrough(),
|
|
508
508
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
509
|
-
});
|
|
509
|
+
}).passthrough();
|
|
510
510
|
exports.ForecastRangeSchema = zod_1.z.object({
|
|
511
511
|
low: zod_1.z.number().nullish(),
|
|
512
512
|
mid: zod_1.z.number(),
|
|
513
513
|
high: zod_1.z.number().nullish()
|
|
514
|
-
});
|
|
514
|
+
}).passthrough();
|
|
515
515
|
exports.GeographicBreakdownSupportSchema = zod_1.z.object({
|
|
516
516
|
country: zod_1.z.boolean().nullish(),
|
|
517
517
|
region: zod_1.z.boolean().nullish(),
|
|
518
518
|
metro: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.boolean(), zod_1.z.undefined()])).nullish(),
|
|
519
519
|
postal_area: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.boolean(), zod_1.z.undefined()])).nullish()
|
|
520
|
-
});
|
|
520
|
+
}).passthrough();
|
|
521
521
|
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")]);
|
|
522
522
|
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")]);
|
|
523
523
|
exports.PropertySchema = zod_1.z.object({
|
|
@@ -527,11 +527,11 @@ exports.PropertySchema = zod_1.z.object({
|
|
|
527
527
|
identifiers: zod_1.z.array(zod_1.z.object({
|
|
528
528
|
type: exports.PropertyIdentifierTypesSchema,
|
|
529
529
|
value: zod_1.z.string()
|
|
530
|
-
})),
|
|
530
|
+
}).passthrough()),
|
|
531
531
|
tags: zod_1.z.array(exports.PropertyTagSchema).nullish(),
|
|
532
532
|
supported_channels: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
533
533
|
publisher_domain: zod_1.z.string().nullish()
|
|
534
|
-
});
|
|
534
|
+
}).passthrough();
|
|
535
535
|
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"), zod_1.z.literal("sync_accounts"), zod_1.z.literal("get_account_financials"), zod_1.z.literal("get_creative_delivery"), zod_1.z.literal("sync_event_sources"), zod_1.z.literal("sync_audiences"), zod_1.z.literal("sync_catalogs"), zod_1.z.literal("log_event")]);
|
|
536
536
|
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")]);
|
|
537
537
|
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")]);
|
|
@@ -544,15 +544,15 @@ exports.ErrorSchema = zod_1.z.object({
|
|
|
544
544
|
field: zod_1.z.string().nullish(),
|
|
545
545
|
suggestion: zod_1.z.string().nullish(),
|
|
546
546
|
retry_after: zod_1.z.number().nullish(),
|
|
547
|
-
details: zod_1.z.object({}).nullish(),
|
|
547
|
+
details: zod_1.z.object({}).passthrough().nullish(),
|
|
548
548
|
recovery: zod_1.z.union([zod_1.z.literal("transient"), zod_1.z.literal("correctable"), zod_1.z.literal("terminal")]).nullish()
|
|
549
|
-
});
|
|
549
|
+
}).passthrough();
|
|
550
550
|
exports.PaginationResponseSchema = zod_1.z.object({
|
|
551
551
|
has_more: zod_1.z.boolean(),
|
|
552
552
|
cursor: zod_1.z.string().nullish(),
|
|
553
553
|
total_count: zod_1.z.number().nullish()
|
|
554
|
-
});
|
|
555
|
-
exports.ContextObjectSchema = zod_1.z.object({});
|
|
554
|
+
}).passthrough();
|
|
555
|
+
exports.ContextObjectSchema = zod_1.z.object({}).passthrough();
|
|
556
556
|
exports.GetProductsAsyncWorkingSchema = zod_1.z.object({
|
|
557
557
|
percentage: zod_1.z.number().nullish(),
|
|
558
558
|
current_step: zod_1.z.string().nullish(),
|
|
@@ -560,12 +560,12 @@ exports.GetProductsAsyncWorkingSchema = zod_1.z.object({
|
|
|
560
560
|
step_number: zod_1.z.number().nullish(),
|
|
561
561
|
context: exports.ContextObjectSchema.nullish(),
|
|
562
562
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
563
|
-
});
|
|
563
|
+
}).passthrough();
|
|
564
564
|
exports.GetProductsAsyncSubmittedSchema = zod_1.z.object({
|
|
565
565
|
estimated_completion: zod_1.z.string().nullish(),
|
|
566
566
|
context: exports.ContextObjectSchema.nullish(),
|
|
567
567
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
568
|
-
});
|
|
568
|
+
}).passthrough();
|
|
569
569
|
exports.AccountSchema = zod_1.z.object({
|
|
570
570
|
account_id: zod_1.z.string(),
|
|
571
571
|
name: zod_1.z.string(),
|
|
@@ -580,21 +580,21 @@ exports.AccountSchema = zod_1.z.object({
|
|
|
580
580
|
credit_limit: zod_1.z.object({
|
|
581
581
|
amount: zod_1.z.number(),
|
|
582
582
|
currency: zod_1.z.string()
|
|
583
|
-
}).nullish(),
|
|
583
|
+
}).passthrough().nullish(),
|
|
584
584
|
setup: zod_1.z.object({
|
|
585
585
|
url: zod_1.z.string().nullish(),
|
|
586
586
|
message: zod_1.z.string(),
|
|
587
587
|
expires_at: zod_1.z.string().nullish()
|
|
588
|
-
}).nullish(),
|
|
588
|
+
}).passthrough().nullish(),
|
|
589
589
|
account_scope: zod_1.z.union([zod_1.z.literal("operator"), zod_1.z.literal("brand"), zod_1.z.literal("operator_brand"), zod_1.z.literal("agent")]).nullish(),
|
|
590
590
|
sandbox: zod_1.z.boolean().nullish(),
|
|
591
591
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
592
|
-
});
|
|
592
|
+
}).passthrough();
|
|
593
593
|
exports.CreateMediaBuyErrorSchema = zod_1.z.object({
|
|
594
594
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
595
595
|
context: exports.ContextObjectSchema.nullish(),
|
|
596
596
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
597
|
-
});
|
|
597
|
+
}).passthrough();
|
|
598
598
|
exports.CreateMediaBuyAsyncWorkingSchema = zod_1.z.object({
|
|
599
599
|
percentage: zod_1.z.number().nullish(),
|
|
600
600
|
current_step: zod_1.z.string().nullish(),
|
|
@@ -602,22 +602,22 @@ exports.CreateMediaBuyAsyncWorkingSchema = zod_1.z.object({
|
|
|
602
602
|
step_number: zod_1.z.number().nullish(),
|
|
603
603
|
context: exports.ContextObjectSchema.nullish(),
|
|
604
604
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
605
|
-
});
|
|
605
|
+
}).passthrough();
|
|
606
606
|
exports.CreateMediaBuyAsyncInputRequiredSchema = zod_1.z.object({
|
|
607
607
|
reason: zod_1.z.union([zod_1.z.literal("APPROVAL_REQUIRED"), zod_1.z.literal("BUDGET_EXCEEDS_LIMIT")]).nullish(),
|
|
608
608
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
609
609
|
context: exports.ContextObjectSchema.nullish(),
|
|
610
610
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
611
|
-
});
|
|
611
|
+
}).passthrough();
|
|
612
612
|
exports.CreateMediaBuyAsyncSubmittedSchema = zod_1.z.object({
|
|
613
613
|
context: exports.ContextObjectSchema.nullish(),
|
|
614
614
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
615
|
-
});
|
|
615
|
+
}).passthrough();
|
|
616
616
|
exports.UpdateMediaBuyErrorSchema = zod_1.z.object({
|
|
617
617
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
618
618
|
context: exports.ContextObjectSchema.nullish(),
|
|
619
619
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
620
|
-
});
|
|
620
|
+
}).passthrough();
|
|
621
621
|
exports.UpdateMediaBuyAsyncWorkingSchema = zod_1.z.object({
|
|
622
622
|
percentage: zod_1.z.number().nullish(),
|
|
623
623
|
current_step: zod_1.z.string().nullish(),
|
|
@@ -625,16 +625,16 @@ exports.UpdateMediaBuyAsyncWorkingSchema = zod_1.z.object({
|
|
|
625
625
|
step_number: zod_1.z.number().nullish(),
|
|
626
626
|
context: exports.ContextObjectSchema.nullish(),
|
|
627
627
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
628
|
-
});
|
|
628
|
+
}).passthrough();
|
|
629
629
|
exports.UpdateMediaBuyAsyncInputRequiredSchema = zod_1.z.object({
|
|
630
630
|
reason: zod_1.z.union([zod_1.z.literal("APPROVAL_REQUIRED"), zod_1.z.literal("CHANGE_CONFIRMATION")]).nullish(),
|
|
631
631
|
context: exports.ContextObjectSchema.nullish(),
|
|
632
632
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
633
|
-
});
|
|
633
|
+
}).passthrough();
|
|
634
634
|
exports.UpdateMediaBuyAsyncSubmittedSchema = zod_1.z.object({
|
|
635
635
|
context: exports.ContextObjectSchema.nullish(),
|
|
636
636
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
637
|
-
});
|
|
637
|
+
}).passthrough();
|
|
638
638
|
exports.SyncCreativesSuccessSchema = zod_1.z.object({
|
|
639
639
|
dry_run: zod_1.z.boolean().nullish(),
|
|
640
640
|
creatives: zod_1.z.array(zod_1.z.object({
|
|
@@ -649,16 +649,16 @@ exports.SyncCreativesSuccessSchema = zod_1.z.object({
|
|
|
649
649
|
expires_at: zod_1.z.string().nullish(),
|
|
650
650
|
assigned_to: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
651
651
|
assignment_errors: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()])).nullish()
|
|
652
|
-
})),
|
|
652
|
+
}).passthrough()),
|
|
653
653
|
sandbox: zod_1.z.boolean().nullish(),
|
|
654
654
|
context: exports.ContextObjectSchema.nullish(),
|
|
655
655
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
656
|
-
});
|
|
656
|
+
}).passthrough();
|
|
657
657
|
exports.SyncCreativesErrorSchema = zod_1.z.object({
|
|
658
658
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
659
659
|
context: exports.ContextObjectSchema.nullish(),
|
|
660
660
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
661
|
-
});
|
|
661
|
+
}).passthrough();
|
|
662
662
|
exports.SyncCreativesAsyncWorkingSchema = zod_1.z.object({
|
|
663
663
|
percentage: zod_1.z.number().nullish(),
|
|
664
664
|
current_step: zod_1.z.string().nullish(),
|
|
@@ -668,16 +668,16 @@ exports.SyncCreativesAsyncWorkingSchema = zod_1.z.object({
|
|
|
668
668
|
creatives_total: zod_1.z.number().nullish(),
|
|
669
669
|
context: exports.ContextObjectSchema.nullish(),
|
|
670
670
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
671
|
-
});
|
|
671
|
+
}).passthrough();
|
|
672
672
|
exports.SyncCreativesAsyncInputRequiredSchema = zod_1.z.object({
|
|
673
673
|
reason: zod_1.z.union([zod_1.z.literal("APPROVAL_REQUIRED"), zod_1.z.literal("ASSET_CONFIRMATION"), zod_1.z.literal("FORMAT_CLARIFICATION")]).nullish(),
|
|
674
674
|
context: exports.ContextObjectSchema.nullish(),
|
|
675
675
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
676
|
-
});
|
|
676
|
+
}).passthrough();
|
|
677
677
|
exports.SyncCreativesAsyncSubmittedSchema = zod_1.z.object({
|
|
678
678
|
context: exports.ContextObjectSchema.nullish(),
|
|
679
679
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
680
|
-
});
|
|
680
|
+
}).passthrough();
|
|
681
681
|
exports.SyncCatalogsSuccessSchema = zod_1.z.object({
|
|
682
682
|
dry_run: zod_1.z.boolean().nullish(),
|
|
683
683
|
catalogs: zod_1.z.array(zod_1.z.object({
|
|
@@ -692,22 +692,22 @@ exports.SyncCatalogsSuccessSchema = zod_1.z.object({
|
|
|
692
692
|
item_id: zod_1.z.string(),
|
|
693
693
|
status: exports.CatalogItemStatusSchema,
|
|
694
694
|
reasons: zod_1.z.array(zod_1.z.string()).nullish()
|
|
695
|
-
})).nullish(),
|
|
695
|
+
}).passthrough()).nullish(),
|
|
696
696
|
last_synced_at: zod_1.z.string().nullish(),
|
|
697
697
|
next_fetch_at: zod_1.z.string().nullish(),
|
|
698
698
|
changes: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
699
699
|
errors: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
700
700
|
warnings: zod_1.z.array(zod_1.z.string()).nullish()
|
|
701
|
-
})),
|
|
701
|
+
}).passthrough()),
|
|
702
702
|
sandbox: zod_1.z.boolean().nullish(),
|
|
703
703
|
context: exports.ContextObjectSchema.nullish(),
|
|
704
704
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
705
|
-
});
|
|
705
|
+
}).passthrough();
|
|
706
706
|
exports.SyncCatalogsErrorSchema = zod_1.z.object({
|
|
707
707
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
708
708
|
context: exports.ContextObjectSchema.nullish(),
|
|
709
709
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
710
|
-
});
|
|
710
|
+
}).passthrough();
|
|
711
711
|
exports.SyncCatalogsAsyncWorkingSchema = zod_1.z.object({
|
|
712
712
|
percentage: zod_1.z.number().nullish(),
|
|
713
713
|
current_step: zod_1.z.string().nullish(),
|
|
@@ -719,37 +719,37 @@ exports.SyncCatalogsAsyncWorkingSchema = zod_1.z.object({
|
|
|
719
719
|
items_total: zod_1.z.number().nullish(),
|
|
720
720
|
context: exports.ContextObjectSchema.nullish(),
|
|
721
721
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
722
|
-
});
|
|
722
|
+
}).passthrough();
|
|
723
723
|
exports.SyncCatalogsAsyncInputRequiredSchema = zod_1.z.object({
|
|
724
724
|
reason: zod_1.z.union([zod_1.z.literal("APPROVAL_REQUIRED"), zod_1.z.literal("FEED_VALIDATION"), zod_1.z.literal("ITEM_REVIEW"), zod_1.z.literal("FEED_ACCESS")]).nullish(),
|
|
725
725
|
context: exports.ContextObjectSchema.nullish(),
|
|
726
726
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
727
|
-
});
|
|
727
|
+
}).passthrough();
|
|
728
728
|
exports.SyncCatalogsAsyncSubmittedSchema = zod_1.z.object({
|
|
729
729
|
context: exports.ContextObjectSchema.nullish(),
|
|
730
730
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
731
|
-
});
|
|
731
|
+
}).passthrough();
|
|
732
732
|
exports.AccountReferenceSchema = zod_1.z.union([zod_1.z.object({
|
|
733
733
|
account_id: zod_1.z.string()
|
|
734
|
-
}), zod_1.z.object({
|
|
734
|
+
}).passthrough(), zod_1.z.object({
|
|
735
735
|
brand: exports.BrandReferenceSchema,
|
|
736
736
|
operator: zod_1.z.string()
|
|
737
|
-
})]);
|
|
737
|
+
}).passthrough()]);
|
|
738
738
|
exports.PaginationRequestSchema = zod_1.z.object({
|
|
739
739
|
max_results: zod_1.z.number().nullish(),
|
|
740
740
|
cursor: zod_1.z.string().nullish()
|
|
741
|
-
});
|
|
741
|
+
}).passthrough();
|
|
742
742
|
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")]);
|
|
743
743
|
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")]);
|
|
744
744
|
exports.SignalIDSchema = zod_1.z.union([zod_1.z.object({
|
|
745
745
|
source: zod_1.z.literal("catalog"),
|
|
746
746
|
data_provider_domain: zod_1.z.string(),
|
|
747
747
|
id: zod_1.z.string()
|
|
748
|
-
}), zod_1.z.object({
|
|
748
|
+
}).passthrough(), zod_1.z.object({
|
|
749
749
|
source: zod_1.z.literal("agent"),
|
|
750
750
|
agent_url: zod_1.z.string(),
|
|
751
751
|
id: zod_1.z.string()
|
|
752
|
-
})]);
|
|
752
|
+
}).passthrough()]);
|
|
753
753
|
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({
|
|
754
754
|
inline_creative_management: zod_1.z.boolean().nullish(),
|
|
755
755
|
property_list_filtering: zod_1.z.boolean().nullish(),
|
|
@@ -758,21 +758,21 @@ exports.MediaBuyFeaturesSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union(
|
|
|
758
758
|
audience_targeting: zod_1.z.boolean().nullish(),
|
|
759
759
|
catalog_management: zod_1.z.boolean().nullish(),
|
|
760
760
|
sandbox: zod_1.z.boolean().nullish()
|
|
761
|
-
}));
|
|
761
|
+
}).passthrough());
|
|
762
762
|
exports.SignalTargetingSchema = zod_1.z.union([zod_1.z.object({
|
|
763
763
|
signal_id: exports.SignalIDSchema,
|
|
764
764
|
value_type: zod_1.z.literal("binary"),
|
|
765
765
|
value: zod_1.z.boolean()
|
|
766
|
-
}), zod_1.z.object({
|
|
766
|
+
}).passthrough(), zod_1.z.object({
|
|
767
767
|
signal_id: exports.SignalIDSchema,
|
|
768
768
|
value_type: zod_1.z.literal("categorical"),
|
|
769
769
|
values: zod_1.z.array(zod_1.z.string())
|
|
770
|
-
}), zod_1.z.object({
|
|
770
|
+
}).passthrough(), zod_1.z.object({
|
|
771
771
|
signal_id: exports.SignalIDSchema,
|
|
772
772
|
value_type: zod_1.z.literal("numeric"),
|
|
773
773
|
min_value: zod_1.z.number().nullish(),
|
|
774
774
|
max_value: zod_1.z.number().nullish()
|
|
775
|
-
})]);
|
|
775
|
+
}).passthrough()]);
|
|
776
776
|
exports.CPMPricingOptionSchema = zod_1.z.object({
|
|
777
777
|
pricing_option_id: zod_1.z.string(),
|
|
778
778
|
pricing_model: zod_1.z.literal("cpm"),
|
|
@@ -782,7 +782,7 @@ exports.CPMPricingOptionSchema = zod_1.z.object({
|
|
|
782
782
|
max_bid: zod_1.z.boolean().nullish(),
|
|
783
783
|
price_guidance: exports.PriceGuidanceSchema.nullish(),
|
|
784
784
|
min_spend_per_package: zod_1.z.number().nullish()
|
|
785
|
-
});
|
|
785
|
+
}).passthrough();
|
|
786
786
|
exports.PricingOptionSchema = zod_1.z.union([exports.CPMPricingOptionSchema, exports.VCPMPricingOptionSchema, exports.CPCPricingOptionSchema, exports.CPCVPricingOptionSchema, exports.CPVPricingOptionSchema, exports.CPPPricingOptionSchema, exports.CPAPricingOptionSchema, exports.FlatRatePricingOptionSchema, exports.TimeBasedPricingOptionSchema]);
|
|
787
787
|
exports.ReportingCapabilitiesSchema = zod_1.z.object({
|
|
788
788
|
available_reporting_frequencies: zod_1.z.array(exports.ReportingFrequencySchema),
|
|
@@ -798,7 +798,7 @@ exports.ReportingCapabilitiesSchema = zod_1.z.object({
|
|
|
798
798
|
supports_audience_breakdown: zod_1.z.boolean().nullish(),
|
|
799
799
|
supports_placement_breakdown: zod_1.z.boolean().nullish(),
|
|
800
800
|
date_range_support: zod_1.z.union([zod_1.z.literal("date_range"), zod_1.z.literal("lifetime_only")])
|
|
801
|
-
});
|
|
801
|
+
}).passthrough();
|
|
802
802
|
exports.ForecastPointSchema = zod_1.z.object({
|
|
803
803
|
budget: zod_1.z.number(),
|
|
804
804
|
metrics: zod_1.z.record(zod_1.z.string(), zod_1.z.union([exports.ForecastRangeSchema, zod_1.z.undefined()])).and(zod_1.z.object({
|
|
@@ -815,8 +815,8 @@ exports.ForecastPointSchema = zod_1.z.object({
|
|
|
815
815
|
follows: exports.ForecastRangeSchema.nullish(),
|
|
816
816
|
saves: exports.ForecastRangeSchema.nullish(),
|
|
817
817
|
profile_visits: exports.ForecastRangeSchema.nullish()
|
|
818
|
-
}))
|
|
819
|
-
});
|
|
818
|
+
}).passthrough())
|
|
819
|
+
}).passthrough();
|
|
820
820
|
exports.DeliveryForecastSchema = zod_1.z.object({
|
|
821
821
|
points: zod_1.z.array(exports.ForecastPointSchema),
|
|
822
822
|
forecast_range_unit: exports.ForecastRangeUnitSchema.nullish(),
|
|
@@ -828,7 +828,7 @@ exports.DeliveryForecastSchema = zod_1.z.object({
|
|
|
828
828
|
generated_at: zod_1.z.string().nullish(),
|
|
829
829
|
valid_until: zod_1.z.string().nullish(),
|
|
830
830
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
831
|
-
});
|
|
831
|
+
}).passthrough();
|
|
832
832
|
exports.ProductAllocationSchema = zod_1.z.object({
|
|
833
833
|
product_id: zod_1.z.string(),
|
|
834
834
|
allocation_percentage: zod_1.z.number(),
|
|
@@ -839,7 +839,7 @@ exports.ProductAllocationSchema = zod_1.z.object({
|
|
|
839
839
|
daypart_targets: zod_1.z.array(exports.DaypartTargetSchema).nullish(),
|
|
840
840
|
forecast: exports.DeliveryForecastSchema.nullish(),
|
|
841
841
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
842
|
-
});
|
|
842
|
+
}).passthrough();
|
|
843
843
|
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("url"), zod_1.z.literal("webhook"), zod_1.z.literal("brief"), zod_1.z.literal("catalog")]);
|
|
844
844
|
exports.WCAGLevelSchema = zod_1.z.union([zod_1.z.literal("A"), zod_1.z.literal("AA"), zod_1.z.literal("AAA")]);
|
|
845
845
|
exports.ListCreativeFormatsRequestSchema = zod_1.z.object({
|
|
@@ -859,7 +859,7 @@ exports.ListCreativeFormatsRequestSchema = zod_1.z.object({
|
|
|
859
859
|
pagination: exports.PaginationRequestSchema.nullish(),
|
|
860
860
|
context: exports.ContextObjectSchema.nullish(),
|
|
861
861
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
862
|
-
});
|
|
862
|
+
}).passthrough();
|
|
863
863
|
exports.FormatIDParameterSchema = zod_1.z.union([zod_1.z.literal("dimensions"), zod_1.z.literal("duration")]);
|
|
864
864
|
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"), zod_1.z.literal("delivery")]);
|
|
865
865
|
exports.OverlaySchema = zod_1.z.object({
|
|
@@ -869,21 +869,21 @@ exports.OverlaySchema = zod_1.z.object({
|
|
|
869
869
|
url: zod_1.z.string().nullish(),
|
|
870
870
|
light: zod_1.z.string().nullish(),
|
|
871
871
|
dark: zod_1.z.string().nullish()
|
|
872
|
-
}).nullish(),
|
|
872
|
+
}).passthrough().nullish(),
|
|
873
873
|
bounds: zod_1.z.object({
|
|
874
874
|
x: zod_1.z.number(),
|
|
875
875
|
y: zod_1.z.number(),
|
|
876
876
|
width: zod_1.z.number(),
|
|
877
877
|
height: zod_1.z.number(),
|
|
878
878
|
unit: zod_1.z.union([zod_1.z.literal("px"), zod_1.z.literal("fraction")])
|
|
879
|
-
})
|
|
880
|
-
});
|
|
879
|
+
}).passthrough()
|
|
880
|
+
}).passthrough();
|
|
881
881
|
exports.BaseGroupAssetSchema = zod_1.z.object({
|
|
882
882
|
asset_id: zod_1.z.string(),
|
|
883
883
|
asset_role: zod_1.z.string().nullish(),
|
|
884
884
|
required: zod_1.z.boolean(),
|
|
885
885
|
overlays: zod_1.z.array(exports.OverlaySchema).nullish()
|
|
886
|
-
});
|
|
886
|
+
}).passthrough();
|
|
887
887
|
exports.CreativeBriefSchema = zod_1.z.object({
|
|
888
888
|
name: zod_1.z.string(),
|
|
889
889
|
objective: zod_1.z.union([zod_1.z.literal("awareness"), zod_1.z.literal("consideration"), zod_1.z.literal("conversion"), zod_1.z.literal("retention"), zod_1.z.literal("engagement")]).nullish(),
|
|
@@ -895,7 +895,7 @@ exports.CreativeBriefSchema = zod_1.z.object({
|
|
|
895
895
|
tagline: zod_1.z.string().nullish(),
|
|
896
896
|
cta: zod_1.z.string().nullish(),
|
|
897
897
|
key_messages: zod_1.z.array(zod_1.z.string()).nullish()
|
|
898
|
-
}).nullish(),
|
|
898
|
+
}).passthrough().nullish(),
|
|
899
899
|
reference_assets: zod_1.z.array(exports.ReferenceAssetSchema).nullish(),
|
|
900
900
|
compliance: zod_1.z.object({
|
|
901
901
|
required_disclosures: zod_1.z.array(zod_1.z.object({
|
|
@@ -905,10 +905,10 @@ exports.CreativeBriefSchema = zod_1.z.object({
|
|
|
905
905
|
regulation: zod_1.z.string().nullish(),
|
|
906
906
|
min_duration_ms: zod_1.z.number().nullish(),
|
|
907
907
|
language: zod_1.z.string().nullish()
|
|
908
|
-
})).nullish(),
|
|
908
|
+
}).passthrough()).nullish(),
|
|
909
909
|
prohibited_claims: zod_1.z.array(zod_1.z.string()).nullish()
|
|
910
|
-
}).nullish()
|
|
911
|
-
});
|
|
910
|
+
}).passthrough().nullish()
|
|
911
|
+
}).passthrough();
|
|
912
912
|
exports.StartTimingSchema = zod_1.z.union([zod_1.z.literal("asap"), zod_1.z.string()]);
|
|
913
913
|
exports.AuthenticationSchemeSchema = zod_1.z.union([zod_1.z.literal("Bearer"), zod_1.z.literal("HMAC-SHA256")]);
|
|
914
914
|
exports.PushNotificationConfigSchema = zod_1.z.object({
|
|
@@ -917,18 +917,18 @@ exports.PushNotificationConfigSchema = zod_1.z.object({
|
|
|
917
917
|
authentication: zod_1.z.object({
|
|
918
918
|
schemes: zod_1.z.union([zod_1.z.tuple([]), zod_1.z.tuple([exports.AuthenticationSchemeSchema])]),
|
|
919
919
|
credentials: zod_1.z.string()
|
|
920
|
-
})
|
|
921
|
-
});
|
|
920
|
+
}).passthrough()
|
|
921
|
+
}).passthrough();
|
|
922
922
|
exports.ReportingWebhookSchema = zod_1.z.object({
|
|
923
923
|
url: zod_1.z.string(),
|
|
924
924
|
token: zod_1.z.string().nullish(),
|
|
925
925
|
authentication: zod_1.z.object({
|
|
926
926
|
schemes: zod_1.z.union([zod_1.z.tuple([]), zod_1.z.tuple([exports.AuthenticationSchemeSchema])]),
|
|
927
927
|
credentials: zod_1.z.string()
|
|
928
|
-
}),
|
|
928
|
+
}).passthrough(),
|
|
929
929
|
reporting_frequency: zod_1.z.union([zod_1.z.literal("hourly"), zod_1.z.literal("daily"), zod_1.z.literal("monthly")]),
|
|
930
930
|
requested_metrics: zod_1.z.array(exports.AvailableMetricSchema).nullish()
|
|
931
|
-
});
|
|
931
|
+
}).passthrough();
|
|
932
932
|
exports.TargetingOverlaySchema = zod_1.z.object({
|
|
933
933
|
geo_countries: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
934
934
|
geo_countries_exclude: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
@@ -937,19 +937,19 @@ exports.TargetingOverlaySchema = zod_1.z.object({
|
|
|
937
937
|
geo_metros: zod_1.z.array(zod_1.z.object({
|
|
938
938
|
system: exports.MetroAreaSystemSchema,
|
|
939
939
|
values: zod_1.z.array(zod_1.z.string())
|
|
940
|
-
})).nullish(),
|
|
940
|
+
}).passthrough()).nullish(),
|
|
941
941
|
geo_metros_exclude: zod_1.z.array(zod_1.z.object({
|
|
942
942
|
system: exports.MetroAreaSystemSchema,
|
|
943
943
|
values: zod_1.z.array(zod_1.z.string())
|
|
944
|
-
})).nullish(),
|
|
944
|
+
}).passthrough()).nullish(),
|
|
945
945
|
geo_postal_areas: zod_1.z.array(zod_1.z.object({
|
|
946
946
|
system: exports.PostalCodeSystemSchema,
|
|
947
947
|
values: zod_1.z.array(zod_1.z.string())
|
|
948
|
-
})).nullish(),
|
|
948
|
+
}).passthrough()).nullish(),
|
|
949
949
|
geo_postal_areas_exclude: zod_1.z.array(zod_1.z.object({
|
|
950
950
|
system: exports.PostalCodeSystemSchema,
|
|
951
951
|
values: zod_1.z.array(zod_1.z.string())
|
|
952
|
-
})).nullish(),
|
|
952
|
+
}).passthrough()).nullish(),
|
|
953
953
|
daypart_targets: zod_1.z.array(exports.DaypartTargetSchema).nullish(),
|
|
954
954
|
axe_include_segment: zod_1.z.string().nullish(),
|
|
955
955
|
axe_exclude_segment: zod_1.z.string().nullish(),
|
|
@@ -961,7 +961,7 @@ exports.TargetingOverlaySchema = zod_1.z.object({
|
|
|
961
961
|
min: zod_1.z.number(),
|
|
962
962
|
verification_required: zod_1.z.boolean().nullish(),
|
|
963
963
|
accepted_methods: zod_1.z.array(exports.AgeVerificationMethodSchema).nullish()
|
|
964
|
-
}).nullish(),
|
|
964
|
+
}).passthrough().nullish(),
|
|
965
965
|
device_platform: zod_1.z.array(exports.DevicePlatformSchema).nullish(),
|
|
966
966
|
device_type: zod_1.z.array(exports.DeviceTypeSchema).nullish(),
|
|
967
967
|
device_type_exclude: zod_1.z.array(exports.DeviceTypeSchema).nullish(),
|
|
@@ -969,19 +969,19 @@ exports.TargetingOverlaySchema = zod_1.z.object({
|
|
|
969
969
|
catalog_id: zod_1.z.string(),
|
|
970
970
|
store_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
971
971
|
catchment_ids: zod_1.z.array(zod_1.z.string()).nullish()
|
|
972
|
-
})).nullish(),
|
|
972
|
+
}).passthrough()).nullish(),
|
|
973
973
|
geo_proximity: 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(),
|
|
974
974
|
language: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
975
975
|
keyword_targets: zod_1.z.array(zod_1.z.object({
|
|
976
976
|
keyword: zod_1.z.string(),
|
|
977
977
|
match_type: zod_1.z.union([zod_1.z.literal("broad"), zod_1.z.literal("phrase"), zod_1.z.literal("exact")]),
|
|
978
978
|
bid_price: zod_1.z.number().nullish()
|
|
979
|
-
})).nullish(),
|
|
979
|
+
}).passthrough()).nullish(),
|
|
980
980
|
negative_keywords: zod_1.z.array(zod_1.z.object({
|
|
981
981
|
keyword: zod_1.z.string(),
|
|
982
982
|
match_type: zod_1.z.union([zod_1.z.literal("broad"), zod_1.z.literal("phrase"), zod_1.z.literal("exact")])
|
|
983
|
-
})).nullish()
|
|
984
|
-
});
|
|
983
|
+
}).passthrough()).nullish()
|
|
984
|
+
}).passthrough();
|
|
985
985
|
exports.BriefAssetSchema = exports.CreativeBriefSchema;
|
|
986
986
|
exports.PackageSchema = zod_1.z.object({
|
|
987
987
|
package_id: zod_1.z.string(),
|
|
@@ -1000,7 +1000,7 @@ exports.PackageSchema = zod_1.z.object({
|
|
|
1000
1000
|
optimization_goals: zod_1.z.array(exports.OptimizationGoalSchema).nullish(),
|
|
1001
1001
|
paused: zod_1.z.boolean().nullish(),
|
|
1002
1002
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1003
|
-
});
|
|
1003
|
+
}).passthrough();
|
|
1004
1004
|
exports.ValidationModeSchema = zod_1.z.union([zod_1.z.literal("strict"), zod_1.z.literal("lenient")]);
|
|
1005
1005
|
exports.CreativeAssetSchema = zod_1.z.object({
|
|
1006
1006
|
creative_id: zod_1.z.string(),
|
|
@@ -1011,13 +1011,13 @@ exports.CreativeAssetSchema = zod_1.z.object({
|
|
|
1011
1011
|
name: zod_1.z.string(),
|
|
1012
1012
|
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()])).nullish(),
|
|
1013
1013
|
context_description: zod_1.z.string().nullish()
|
|
1014
|
-
})).nullish(),
|
|
1014
|
+
}).passthrough()).nullish(),
|
|
1015
1015
|
tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1016
1016
|
status: exports.CreativeStatusSchema.nullish(),
|
|
1017
1017
|
weight: zod_1.z.number().nullish(),
|
|
1018
1018
|
placement_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1019
1019
|
provenance: exports.ProvenanceSchema.nullish()
|
|
1020
|
-
});
|
|
1020
|
+
}).passthrough();
|
|
1021
1021
|
exports.SyncCreativesResponseSchema = zod_1.z.union([exports.SyncCreativesSuccessSchema, exports.SyncCreativesErrorSchema]);
|
|
1022
1022
|
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")]);
|
|
1023
1023
|
exports.SortDirectionSchema = zod_1.z.union([zod_1.z.literal("asc"), zod_1.z.literal("desc")]);
|
|
@@ -1038,18 +1038,18 @@ exports.CreativeFiltersSchema = zod_1.z.object({
|
|
|
1038
1038
|
buyer_refs: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1039
1039
|
unassigned: zod_1.z.boolean().nullish(),
|
|
1040
1040
|
has_performance_data: zod_1.z.boolean().nullish()
|
|
1041
|
-
});
|
|
1041
|
+
}).passthrough();
|
|
1042
1042
|
exports.SubAssetSchema = zod_1.z.union([zod_1.z.object({
|
|
1043
1043
|
asset_kind: zod_1.z.literal("media"),
|
|
1044
1044
|
asset_type: zod_1.z.string(),
|
|
1045
1045
|
asset_id: zod_1.z.string(),
|
|
1046
1046
|
content_uri: zod_1.z.string()
|
|
1047
|
-
}), zod_1.z.object({
|
|
1047
|
+
}).passthrough(), zod_1.z.object({
|
|
1048
1048
|
asset_kind: zod_1.z.literal("text"),
|
|
1049
1049
|
asset_type: zod_1.z.string(),
|
|
1050
1050
|
asset_id: zod_1.z.string(),
|
|
1051
1051
|
content: zod_1.z.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())])
|
|
1052
|
-
})]);
|
|
1052
|
+
}).passthrough()]);
|
|
1053
1053
|
exports.ListCreativesResponseSchema = zod_1.z.object({
|
|
1054
1054
|
query_summary: zod_1.z.object({
|
|
1055
1055
|
total_matching: zod_1.z.number().nullish(),
|
|
@@ -1058,8 +1058,8 @@ exports.ListCreativesResponseSchema = zod_1.z.object({
|
|
|
1058
1058
|
sort_applied: zod_1.z.object({
|
|
1059
1059
|
field: zod_1.z.string().nullish(),
|
|
1060
1060
|
direction: exports.SortDirectionSchema.nullish()
|
|
1061
|
-
}).nullish()
|
|
1062
|
-
}),
|
|
1061
|
+
}).passthrough().nullish()
|
|
1062
|
+
}).passthrough(),
|
|
1063
1063
|
pagination: exports.PaginationResponseSchema,
|
|
1064
1064
|
creatives: zod_1.z.array(zod_1.z.object({
|
|
1065
1065
|
creative_id: zod_1.z.string(),
|
|
@@ -1077,8 +1077,8 @@ exports.ListCreativesResponseSchema = zod_1.z.object({
|
|
|
1077
1077
|
package_id: zod_1.z.string(),
|
|
1078
1078
|
buyer_ref: zod_1.z.string().nullish(),
|
|
1079
1079
|
assigned_date: zod_1.z.string()
|
|
1080
|
-
})).nullish()
|
|
1081
|
-
}).nullish(),
|
|
1080
|
+
}).passthrough()).nullish()
|
|
1081
|
+
}).passthrough().nullish(),
|
|
1082
1082
|
performance: zod_1.z.object({
|
|
1083
1083
|
impressions: zod_1.z.number().nullish(),
|
|
1084
1084
|
clicks: zod_1.z.number().nullish(),
|
|
@@ -1086,9 +1086,9 @@ exports.ListCreativesResponseSchema = zod_1.z.object({
|
|
|
1086
1086
|
conversion_rate: zod_1.z.number().nullish(),
|
|
1087
1087
|
performance_score: zod_1.z.number().nullish(),
|
|
1088
1088
|
last_updated: zod_1.z.string()
|
|
1089
|
-
}).nullish(),
|
|
1089
|
+
}).passthrough().nullish(),
|
|
1090
1090
|
sub_assets: zod_1.z.array(exports.SubAssetSchema).nullish()
|
|
1091
|
-
})),
|
|
1091
|
+
}).passthrough()),
|
|
1092
1092
|
format_summary: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.number(), zod_1.z.undefined()])).nullish(),
|
|
1093
1093
|
status_summary: zod_1.z.object({
|
|
1094
1094
|
processing: zod_1.z.number().nullish(),
|
|
@@ -1096,11 +1096,11 @@ exports.ListCreativesResponseSchema = zod_1.z.object({
|
|
|
1096
1096
|
pending_review: zod_1.z.number().nullish(),
|
|
1097
1097
|
rejected: zod_1.z.number().nullish(),
|
|
1098
1098
|
archived: zod_1.z.number().nullish()
|
|
1099
|
-
}).nullish(),
|
|
1099
|
+
}).passthrough().nullish(),
|
|
1100
1100
|
sandbox: zod_1.z.boolean().nullish(),
|
|
1101
1101
|
context: exports.ContextObjectSchema.nullish(),
|
|
1102
1102
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1103
|
-
});
|
|
1103
|
+
}).passthrough();
|
|
1104
1104
|
exports.PackageUpdateSchema = zod_1.z.object({
|
|
1105
1105
|
package_id: zod_1.z.string().nullish(),
|
|
1106
1106
|
buyer_ref: zod_1.z.string().nullish(),
|
|
@@ -1116,23 +1116,23 @@ exports.PackageUpdateSchema = zod_1.z.object({
|
|
|
1116
1116
|
keyword: zod_1.z.string(),
|
|
1117
1117
|
match_type: zod_1.z.union([zod_1.z.literal("broad"), zod_1.z.literal("phrase"), zod_1.z.literal("exact")]),
|
|
1118
1118
|
bid_price: zod_1.z.number().nullish()
|
|
1119
|
-
})).nullish(),
|
|
1119
|
+
}).passthrough()).nullish(),
|
|
1120
1120
|
keyword_targets_remove: zod_1.z.array(zod_1.z.object({
|
|
1121
1121
|
keyword: zod_1.z.string(),
|
|
1122
1122
|
match_type: zod_1.z.union([zod_1.z.literal("broad"), zod_1.z.literal("phrase"), zod_1.z.literal("exact")])
|
|
1123
|
-
})).nullish(),
|
|
1123
|
+
}).passthrough()).nullish(),
|
|
1124
1124
|
negative_keywords_add: zod_1.z.array(zod_1.z.object({
|
|
1125
1125
|
keyword: zod_1.z.string(),
|
|
1126
1126
|
match_type: zod_1.z.union([zod_1.z.literal("broad"), zod_1.z.literal("phrase"), zod_1.z.literal("exact")])
|
|
1127
|
-
})).nullish(),
|
|
1127
|
+
}).passthrough()).nullish(),
|
|
1128
1128
|
negative_keywords_remove: zod_1.z.array(zod_1.z.object({
|
|
1129
1129
|
keyword: zod_1.z.string(),
|
|
1130
1130
|
match_type: zod_1.z.union([zod_1.z.literal("broad"), zod_1.z.literal("phrase"), zod_1.z.literal("exact")])
|
|
1131
|
-
})).nullish(),
|
|
1131
|
+
}).passthrough()).nullish(),
|
|
1132
1132
|
creative_assignments: zod_1.z.array(exports.CreativeAssignmentSchema).nullish(),
|
|
1133
1133
|
creatives: zod_1.z.array(exports.CreativeAssetSchema).nullish(),
|
|
1134
1134
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1135
|
-
}).and(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])));
|
|
1135
|
+
}).passthrough().and(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])));
|
|
1136
1136
|
exports.UpdateMediaBuySuccessSchema = zod_1.z.object({
|
|
1137
1137
|
media_buy_id: zod_1.z.string(),
|
|
1138
1138
|
buyer_ref: zod_1.z.string(),
|
|
@@ -1141,7 +1141,7 @@ exports.UpdateMediaBuySuccessSchema = zod_1.z.object({
|
|
|
1141
1141
|
sandbox: zod_1.z.boolean().nullish(),
|
|
1142
1142
|
context: exports.ContextObjectSchema.nullish(),
|
|
1143
1143
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1144
|
-
});
|
|
1144
|
+
}).passthrough();
|
|
1145
1145
|
exports.GetMediaBuysRequestSchema = zod_1.z.object({
|
|
1146
1146
|
account: exports.AccountReferenceSchema.nullish(),
|
|
1147
1147
|
media_buy_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
@@ -1151,7 +1151,7 @@ exports.GetMediaBuysRequestSchema = zod_1.z.object({
|
|
|
1151
1151
|
pagination: exports.PaginationRequestSchema.nullish(),
|
|
1152
1152
|
context: exports.ContextObjectSchema.nullish(),
|
|
1153
1153
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1154
|
-
});
|
|
1154
|
+
}).passthrough();
|
|
1155
1155
|
exports.CreativeApprovalStatusSchema = zod_1.z.union([zod_1.z.literal("pending_review"), zod_1.z.literal("approved"), zod_1.z.literal("rejected")]);
|
|
1156
1156
|
exports.GetMediaBuysResponseSchema = zod_1.z.object({
|
|
1157
1157
|
media_buys: zod_1.z.array(zod_1.z.object({
|
|
@@ -1182,7 +1182,7 @@ exports.GetMediaBuysResponseSchema = zod_1.z.object({
|
|
|
1182
1182
|
creative_id: zod_1.z.string(),
|
|
1183
1183
|
approval_status: exports.CreativeApprovalStatusSchema,
|
|
1184
1184
|
rejection_reason: zod_1.z.string().nullish()
|
|
1185
|
-
})).nullish(),
|
|
1185
|
+
}).passthrough()).nullish(),
|
|
1186
1186
|
format_ids_pending: zod_1.z.array(exports.FormatIDSchema).nullish(),
|
|
1187
1187
|
snapshot_unavailable_reason: zod_1.z.union([zod_1.z.literal("SNAPSHOT_UNSUPPORTED"), zod_1.z.literal("SNAPSHOT_TEMPORARILY_UNAVAILABLE"), zod_1.z.literal("SNAPSHOT_PERMISSION_DENIED")]).nullish(),
|
|
1188
1188
|
snapshot: zod_1.z.object({
|
|
@@ -1195,17 +1195,17 @@ exports.GetMediaBuysResponseSchema = zod_1.z.object({
|
|
|
1195
1195
|
pacing_index: zod_1.z.number().nullish(),
|
|
1196
1196
|
delivery_status: zod_1.z.union([zod_1.z.literal("delivering"), zod_1.z.literal("not_delivering"), zod_1.z.literal("completed"), zod_1.z.literal("budget_exhausted"), zod_1.z.literal("flight_ended"), zod_1.z.literal("goal_met")]).nullish(),
|
|
1197
1197
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1198
|
-
}).nullish(),
|
|
1198
|
+
}).passthrough().nullish(),
|
|
1199
1199
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1200
|
-
})),
|
|
1200
|
+
}).passthrough()),
|
|
1201
1201
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1202
|
-
})),
|
|
1202
|
+
}).passthrough()),
|
|
1203
1203
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
1204
1204
|
pagination: exports.PaginationResponseSchema.nullish(),
|
|
1205
1205
|
sandbox: zod_1.z.boolean().nullish(),
|
|
1206
1206
|
context: exports.ContextObjectSchema.nullish(),
|
|
1207
1207
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1208
|
-
});
|
|
1208
|
+
}).passthrough();
|
|
1209
1209
|
exports.AttributionModelSchema = zod_1.z.union([zod_1.z.literal("last_touch"), zod_1.z.literal("first_touch"), zod_1.z.literal("linear"), zod_1.z.literal("time_decay"), zod_1.z.literal("data_driven")]);
|
|
1210
1210
|
exports.SortMetricSchema = 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("views"), zod_1.z.literal("completed_views"), zod_1.z.literal("completion_rate"), zod_1.z.literal("conversions"), zod_1.z.literal("conversion_value"), zod_1.z.literal("roas"), zod_1.z.literal("cost_per_acquisition"), zod_1.z.literal("new_to_brand_rate"), zod_1.z.literal("leads"), zod_1.z.literal("grps"), zod_1.z.literal("reach"), zod_1.z.literal("frequency"), zod_1.z.literal("engagements"), zod_1.z.literal("follows"), zod_1.z.literal("saves"), zod_1.z.literal("profile_visits"), zod_1.z.literal("engagement_rate"), zod_1.z.literal("cost_per_click")]);
|
|
1211
1211
|
exports.GetMediaBuyDeliveryRequestSchema = zod_1.z.object({
|
|
@@ -1220,41 +1220,41 @@ exports.GetMediaBuyDeliveryRequestSchema = zod_1.z.object({
|
|
|
1220
1220
|
post_click: exports.DurationSchema.nullish(),
|
|
1221
1221
|
post_view: exports.DurationSchema.nullish(),
|
|
1222
1222
|
model: exports.AttributionModelSchema.nullish()
|
|
1223
|
-
}).nullish(),
|
|
1223
|
+
}).passthrough().nullish(),
|
|
1224
1224
|
reporting_dimensions: zod_1.z.object({
|
|
1225
1225
|
geo: zod_1.z.object({
|
|
1226
1226
|
geo_level: exports.GeographicTargetingLevelSchema,
|
|
1227
1227
|
system: zod_1.z.union([exports.MetroAreaSystemSchema, exports.PostalCodeSystemSchema]).nullish(),
|
|
1228
1228
|
limit: zod_1.z.number().nullish(),
|
|
1229
1229
|
sort_by: exports.SortMetricSchema.nullish()
|
|
1230
|
-
}).nullish(),
|
|
1230
|
+
}).passthrough().nullish(),
|
|
1231
1231
|
device_type: zod_1.z.object({
|
|
1232
1232
|
limit: zod_1.z.number().nullish(),
|
|
1233
1233
|
sort_by: exports.SortMetricSchema.nullish()
|
|
1234
|
-
}).nullish(),
|
|
1234
|
+
}).passthrough().nullish(),
|
|
1235
1235
|
device_platform: zod_1.z.object({
|
|
1236
1236
|
limit: zod_1.z.number().nullish(),
|
|
1237
1237
|
sort_by: exports.SortMetricSchema.nullish()
|
|
1238
|
-
}).nullish(),
|
|
1238
|
+
}).passthrough().nullish(),
|
|
1239
1239
|
audience: zod_1.z.object({
|
|
1240
1240
|
limit: zod_1.z.number().nullish(),
|
|
1241
1241
|
sort_by: exports.SortMetricSchema.nullish()
|
|
1242
|
-
}).nullish(),
|
|
1242
|
+
}).passthrough().nullish(),
|
|
1243
1243
|
placement: zod_1.z.object({
|
|
1244
1244
|
limit: zod_1.z.number().nullish(),
|
|
1245
1245
|
sort_by: exports.SortMetricSchema.nullish()
|
|
1246
|
-
}).nullish()
|
|
1247
|
-
}).nullish(),
|
|
1246
|
+
}).passthrough().nullish()
|
|
1247
|
+
}).passthrough().nullish(),
|
|
1248
1248
|
context: exports.ContextObjectSchema.nullish(),
|
|
1249
1249
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1250
|
-
});
|
|
1250
|
+
}).passthrough();
|
|
1251
1251
|
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("cpa"), zod_1.z.literal("flat_rate"), zod_1.z.literal("time")]);
|
|
1252
1252
|
exports.AudienceSourceSchema = zod_1.z.union([zod_1.z.literal("synced"), zod_1.z.literal("platform"), zod_1.z.literal("third_party"), zod_1.z.literal("lookalike"), zod_1.z.literal("retargeting"), zod_1.z.literal("unknown")]);
|
|
1253
1253
|
exports.AttributionWindowSchema = zod_1.z.object({
|
|
1254
1254
|
post_click: exports.DurationSchema.nullish(),
|
|
1255
1255
|
post_view: exports.DurationSchema.nullish(),
|
|
1256
1256
|
model: exports.AttributionModelSchema
|
|
1257
|
-
});
|
|
1257
|
+
}).passthrough();
|
|
1258
1258
|
exports.DeliveryMetricsSchema = zod_1.z.object({
|
|
1259
1259
|
impressions: zod_1.z.number().nullish(),
|
|
1260
1260
|
spend: zod_1.z.number().nullish(),
|
|
@@ -1274,7 +1274,7 @@ exports.DeliveryMetricsSchema = zod_1.z.object({
|
|
|
1274
1274
|
event_source_id: zod_1.z.string().nullish(),
|
|
1275
1275
|
count: zod_1.z.number(),
|
|
1276
1276
|
value: zod_1.z.number().nullish()
|
|
1277
|
-
})).nullish(),
|
|
1277
|
+
}).passthrough()).nullish(),
|
|
1278
1278
|
grps: zod_1.z.number().nullish(),
|
|
1279
1279
|
reach: zod_1.z.number().nullish(),
|
|
1280
1280
|
frequency: zod_1.z.number().nullish(),
|
|
@@ -1283,7 +1283,7 @@ exports.DeliveryMetricsSchema = zod_1.z.object({
|
|
|
1283
1283
|
q2_views: zod_1.z.number().nullish(),
|
|
1284
1284
|
q3_views: zod_1.z.number().nullish(),
|
|
1285
1285
|
q4_views: zod_1.z.number().nullish()
|
|
1286
|
-
}).nullish(),
|
|
1286
|
+
}).passthrough().nullish(),
|
|
1287
1287
|
dooh_metrics: zod_1.z.object({
|
|
1288
1288
|
loop_plays: zod_1.z.number().nullish(),
|
|
1289
1289
|
screens_used: zod_1.z.number().nullish(),
|
|
@@ -1297,14 +1297,14 @@ exports.DeliveryMetricsSchema = zod_1.z.object({
|
|
|
1297
1297
|
impressions: zod_1.z.number(),
|
|
1298
1298
|
loop_plays: zod_1.z.number().nullish(),
|
|
1299
1299
|
screens_used: zod_1.z.number().nullish()
|
|
1300
|
-
})).nullish()
|
|
1301
|
-
}).nullish(),
|
|
1300
|
+
}).passthrough()).nullish()
|
|
1301
|
+
}).passthrough().nullish(),
|
|
1302
1302
|
viewability: zod_1.z.object({
|
|
1303
1303
|
measurable_impressions: zod_1.z.number().nullish(),
|
|
1304
1304
|
viewable_impressions: zod_1.z.number().nullish(),
|
|
1305
1305
|
viewable_rate: zod_1.z.number().nullish(),
|
|
1306
1306
|
standard: zod_1.z.union([zod_1.z.literal("mrc"), zod_1.z.literal("groupm")]).nullish()
|
|
1307
|
-
}).nullish(),
|
|
1307
|
+
}).passthrough().nullish(),
|
|
1308
1308
|
engagements: zod_1.z.number().nullish(),
|
|
1309
1309
|
follows: zod_1.z.number().nullish(),
|
|
1310
1310
|
saves: zod_1.z.number().nullish(),
|
|
@@ -1316,12 +1316,12 @@ exports.DeliveryMetricsSchema = zod_1.z.object({
|
|
|
1316
1316
|
event_source_id: zod_1.z.string().nullish(),
|
|
1317
1317
|
count: zod_1.z.number(),
|
|
1318
1318
|
value: zod_1.z.number().nullish()
|
|
1319
|
-
})).nullish()
|
|
1320
|
-
});
|
|
1319
|
+
}).passthrough()).nullish()
|
|
1320
|
+
}).passthrough();
|
|
1321
1321
|
exports.DatetimeRangeSchema = zod_1.z.object({
|
|
1322
1322
|
start: zod_1.z.string(),
|
|
1323
1323
|
end: zod_1.z.string()
|
|
1324
|
-
});
|
|
1324
|
+
}).passthrough();
|
|
1325
1325
|
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")]);
|
|
1326
1326
|
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")]);
|
|
1327
1327
|
exports.ProvidePerformanceFeedbackSuccessSchema = zod_1.z.object({
|
|
@@ -1329,12 +1329,12 @@ exports.ProvidePerformanceFeedbackSuccessSchema = zod_1.z.object({
|
|
|
1329
1329
|
sandbox: zod_1.z.boolean().nullish(),
|
|
1330
1330
|
context: exports.ContextObjectSchema.nullish(),
|
|
1331
1331
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1332
|
-
});
|
|
1332
|
+
}).passthrough();
|
|
1333
1333
|
exports.ProvidePerformanceFeedbackErrorSchema = zod_1.z.object({
|
|
1334
1334
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1335
1335
|
context: exports.ContextObjectSchema.nullish(),
|
|
1336
1336
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1337
|
-
});
|
|
1337
|
+
}).passthrough();
|
|
1338
1338
|
exports.SyncEventSourcesRequestSchema = zod_1.z.object({
|
|
1339
1339
|
account: exports.AccountReferenceSchema,
|
|
1340
1340
|
event_sources: zod_1.z.array(zod_1.z.object({
|
|
@@ -1342,11 +1342,11 @@ exports.SyncEventSourcesRequestSchema = zod_1.z.object({
|
|
|
1342
1342
|
name: zod_1.z.string().nullish(),
|
|
1343
1343
|
event_types: zod_1.z.array(exports.EventTypeSchema).nullish(),
|
|
1344
1344
|
allowed_domains: zod_1.z.array(zod_1.z.string()).nullish()
|
|
1345
|
-
})).nullish(),
|
|
1345
|
+
}).passthrough()).nullish(),
|
|
1346
1346
|
delete_missing: zod_1.z.boolean().nullish(),
|
|
1347
1347
|
context: exports.ContextObjectSchema.nullish(),
|
|
1348
1348
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1349
|
-
});
|
|
1349
|
+
}).passthrough();
|
|
1350
1350
|
exports.SyncEventSourcesSuccessSchema = zod_1.z.object({
|
|
1351
1351
|
event_sources: zod_1.z.array(zod_1.z.object({
|
|
1352
1352
|
event_source_id: zod_1.z.string(),
|
|
@@ -1359,25 +1359,25 @@ exports.SyncEventSourcesSuccessSchema = zod_1.z.object({
|
|
|
1359
1359
|
snippet: zod_1.z.string().nullish(),
|
|
1360
1360
|
snippet_type: zod_1.z.union([zod_1.z.literal("javascript"), zod_1.z.literal("html"), zod_1.z.literal("pixel_url"), zod_1.z.literal("server_only")]).nullish(),
|
|
1361
1361
|
instructions: zod_1.z.string().nullish()
|
|
1362
|
-
}).nullish(),
|
|
1362
|
+
}).passthrough().nullish(),
|
|
1363
1363
|
action: zod_1.z.union([zod_1.z.literal("created"), zod_1.z.literal("updated"), zod_1.z.literal("unchanged"), zod_1.z.literal("deleted"), zod_1.z.literal("failed")]),
|
|
1364
1364
|
errors: zod_1.z.array(zod_1.z.string()).nullish()
|
|
1365
|
-
})),
|
|
1365
|
+
}).passthrough()),
|
|
1366
1366
|
sandbox: zod_1.z.boolean().nullish(),
|
|
1367
1367
|
context: exports.ContextObjectSchema.nullish(),
|
|
1368
1368
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1369
|
-
});
|
|
1369
|
+
}).passthrough();
|
|
1370
1370
|
exports.SyncEventSourcesErrorSchema = zod_1.z.object({
|
|
1371
1371
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1372
1372
|
context: exports.ContextObjectSchema.nullish(),
|
|
1373
1373
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1374
|
-
});
|
|
1374
|
+
}).passthrough();
|
|
1375
1375
|
exports.UIDTypeSchema = zod_1.z.union([zod_1.z.literal("rampid"), zod_1.z.literal("id5"), zod_1.z.literal("uid2"), zod_1.z.literal("euid"), zod_1.z.literal("pairid"), zod_1.z.literal("maid"), zod_1.z.literal("other")]);
|
|
1376
1376
|
exports.UserMatchSchema = 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({
|
|
1377
1377
|
uids: zod_1.z.array(zod_1.z.object({
|
|
1378
1378
|
type: exports.UIDTypeSchema,
|
|
1379
1379
|
value: zod_1.z.string()
|
|
1380
|
-
})).nullish(),
|
|
1380
|
+
}).passthrough()).nullish(),
|
|
1381
1381
|
hashed_email: zod_1.z.string().nullish(),
|
|
1382
1382
|
hashed_phone: zod_1.z.string().nullish(),
|
|
1383
1383
|
click_id: zod_1.z.string().nullish(),
|
|
@@ -1385,7 +1385,7 @@ exports.UserMatchSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.
|
|
|
1385
1385
|
client_ip: zod_1.z.string().nullish(),
|
|
1386
1386
|
client_user_agent: zod_1.z.string().nullish(),
|
|
1387
1387
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1388
|
-
}));
|
|
1388
|
+
}).passthrough());
|
|
1389
1389
|
exports.EventCustomDataSchema = zod_1.z.object({
|
|
1390
1390
|
value: zod_1.z.number().nullish(),
|
|
1391
1391
|
currency: zod_1.z.string().nullish(),
|
|
@@ -1401,9 +1401,9 @@ exports.EventCustomDataSchema = zod_1.z.object({
|
|
|
1401
1401
|
quantity: zod_1.z.number().nullish(),
|
|
1402
1402
|
price: zod_1.z.number().nullish(),
|
|
1403
1403
|
brand: zod_1.z.string().nullish()
|
|
1404
|
-
})).nullish(),
|
|
1404
|
+
}).passthrough()).nullish(),
|
|
1405
1405
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1406
|
-
});
|
|
1406
|
+
}).passthrough();
|
|
1407
1407
|
exports.LogEventSuccessSchema = zod_1.z.object({
|
|
1408
1408
|
events_received: zod_1.z.number(),
|
|
1409
1409
|
events_processed: zod_1.z.number(),
|
|
@@ -1411,18 +1411,18 @@ exports.LogEventSuccessSchema = zod_1.z.object({
|
|
|
1411
1411
|
event_id: zod_1.z.string(),
|
|
1412
1412
|
code: zod_1.z.string(),
|
|
1413
1413
|
message: zod_1.z.string()
|
|
1414
|
-
})).nullish(),
|
|
1414
|
+
}).passthrough()).nullish(),
|
|
1415
1415
|
warnings: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1416
1416
|
match_quality: zod_1.z.number().nullish(),
|
|
1417
1417
|
sandbox: zod_1.z.boolean().nullish(),
|
|
1418
1418
|
context: exports.ContextObjectSchema.nullish(),
|
|
1419
1419
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1420
|
-
});
|
|
1420
|
+
}).passthrough();
|
|
1421
1421
|
exports.LogEventErrorSchema = zod_1.z.object({
|
|
1422
1422
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1423
1423
|
context: exports.ContextObjectSchema.nullish(),
|
|
1424
1424
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1425
|
-
});
|
|
1425
|
+
}).passthrough();
|
|
1426
1426
|
exports.AudienceMemberSchema = 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({
|
|
1427
1427
|
external_id: zod_1.z.string(),
|
|
1428
1428
|
hashed_email: zod_1.z.string().nullish(),
|
|
@@ -1430,9 +1430,9 @@ exports.AudienceMemberSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union([z
|
|
|
1430
1430
|
uids: zod_1.z.array(zod_1.z.object({
|
|
1431
1431
|
type: exports.UIDTypeSchema,
|
|
1432
1432
|
value: zod_1.z.string()
|
|
1433
|
-
})).nullish(),
|
|
1433
|
+
}).passthrough()).nullish(),
|
|
1434
1434
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1435
|
-
}));
|
|
1435
|
+
}).passthrough());
|
|
1436
1436
|
exports.ConsentBasisSchema = zod_1.z.union([zod_1.z.literal("consent"), zod_1.z.literal("legitimate_interest"), zod_1.z.literal("contract"), zod_1.z.literal("legal_obligation")]);
|
|
1437
1437
|
exports.SyncAudiencesRequestSchema = zod_1.z.object({
|
|
1438
1438
|
account: exports.AccountReferenceSchema,
|
|
@@ -1446,11 +1446,11 @@ exports.SyncAudiencesRequestSchema = zod_1.z.object({
|
|
|
1446
1446
|
remove: zod_1.z.array(exports.AudienceMemberSchema).nullish(),
|
|
1447
1447
|
delete: zod_1.z.boolean().nullish(),
|
|
1448
1448
|
consent_basis: exports.ConsentBasisSchema.nullish()
|
|
1449
|
-
})).nullish(),
|
|
1449
|
+
}).passthrough()).nullish(),
|
|
1450
1450
|
delete_missing: zod_1.z.boolean().nullish(),
|
|
1451
1451
|
context: exports.ContextObjectSchema.nullish(),
|
|
1452
1452
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1453
|
-
});
|
|
1453
|
+
}).passthrough();
|
|
1454
1454
|
exports.SyncAudiencesSuccessSchema = zod_1.z.object({
|
|
1455
1455
|
audiences: zod_1.z.array(zod_1.z.object({
|
|
1456
1456
|
audience_id: zod_1.z.string(),
|
|
@@ -1464,16 +1464,16 @@ exports.SyncAudiencesSuccessSchema = zod_1.z.object({
|
|
|
1464
1464
|
last_synced_at: zod_1.z.string().nullish(),
|
|
1465
1465
|
minimum_size: zod_1.z.number().nullish(),
|
|
1466
1466
|
errors: zod_1.z.array(exports.ErrorSchema).nullish()
|
|
1467
|
-
})),
|
|
1467
|
+
}).passthrough()),
|
|
1468
1468
|
sandbox: zod_1.z.boolean().nullish(),
|
|
1469
1469
|
context: exports.ContextObjectSchema.nullish(),
|
|
1470
1470
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1471
|
-
});
|
|
1471
|
+
}).passthrough();
|
|
1472
1472
|
exports.SyncAudiencesErrorSchema = zod_1.z.object({
|
|
1473
1473
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1474
1474
|
context: exports.ContextObjectSchema.nullish(),
|
|
1475
1475
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1476
|
-
});
|
|
1476
|
+
}).passthrough();
|
|
1477
1477
|
exports.SyncCatalogsRequestSchema = zod_1.z.object({
|
|
1478
1478
|
account: exports.AccountReferenceSchema,
|
|
1479
1479
|
catalogs: zod_1.z.array(exports.CatalogSchema).nullish(),
|
|
@@ -1484,7 +1484,7 @@ exports.SyncCatalogsRequestSchema = zod_1.z.object({
|
|
|
1484
1484
|
push_notification_config: exports.PushNotificationConfigSchema.nullish(),
|
|
1485
1485
|
context: exports.ContextObjectSchema.nullish(),
|
|
1486
1486
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1487
|
-
});
|
|
1487
|
+
}).passthrough();
|
|
1488
1488
|
exports.SyncCatalogsResponseSchema = zod_1.z.union([exports.SyncCatalogsSuccessSchema, exports.SyncCatalogsErrorSchema]);
|
|
1489
1489
|
exports.CreativeQualitySchema = zod_1.z.union([zod_1.z.literal("draft"), zod_1.z.literal("production")]);
|
|
1490
1490
|
exports.CreativeManifestSchema = zod_1.z.object({
|
|
@@ -1492,26 +1492,26 @@ exports.CreativeManifestSchema = zod_1.z.object({
|
|
|
1492
1492
|
assets: zod_1.z.record(zod_1.z.string(), zod_1.z.union([exports.ImageAssetSchema, exports.VideoAssetSchema, exports.AudioAssetSchema, exports.VASTAssetSchema, exports.TextAssetSchema, exports.URLAssetSchema, exports.HTMLAssetSchema, exports.JavaScriptAssetSchema, exports.WebhookAssetSchema, exports.CSSAssetSchema, exports.DAASTAssetSchema, exports.MarkdownAssetSchema, exports.BriefAssetSchema, exports.CatalogAssetSchema])),
|
|
1493
1493
|
provenance: exports.ProvenanceSchema.nullish(),
|
|
1494
1494
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1495
|
-
});
|
|
1495
|
+
}).passthrough();
|
|
1496
1496
|
exports.BuildCreativeSuccessSchema = zod_1.z.object({
|
|
1497
1497
|
creative_manifest: exports.CreativeManifestSchema,
|
|
1498
1498
|
sandbox: zod_1.z.boolean().nullish(),
|
|
1499
1499
|
expires_at: zod_1.z.string().nullish(),
|
|
1500
1500
|
context: exports.ContextObjectSchema.nullish(),
|
|
1501
1501
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1502
|
-
});
|
|
1502
|
+
}).passthrough();
|
|
1503
1503
|
exports.BuildCreativeErrorSchema = zod_1.z.object({
|
|
1504
1504
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1505
1505
|
context: exports.ContextObjectSchema.nullish(),
|
|
1506
1506
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1507
|
-
});
|
|
1507
|
+
}).passthrough();
|
|
1508
1508
|
exports.PreviewOutputFormatSchema = zod_1.z.union([zod_1.z.literal("url"), zod_1.z.literal("html")]);
|
|
1509
1509
|
exports.CreativeManifest1Schema = zod_1.z.object({
|
|
1510
1510
|
format_id: exports.FormatIDSchema,
|
|
1511
1511
|
assets: zod_1.z.record(zod_1.z.string(), zod_1.z.union([exports.ImageAssetSchema, exports.VideoAssetSchema, exports.AudioAssetSchema, exports.VASTAssetSchema, exports.TextAssetSchema, exports.URLAssetSchema, exports.HTMLAssetSchema, exports.JavaScriptAssetSchema, exports.WebhookAssetSchema, exports.CSSAssetSchema, exports.DAASTAssetSchema, exports.MarkdownAssetSchema, exports.BriefAssetSchema, exports.CatalogAssetSchema])),
|
|
1512
1512
|
provenance: exports.ProvenanceSchema.nullish(),
|
|
1513
1513
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1514
|
-
});
|
|
1514
|
+
}).passthrough();
|
|
1515
1515
|
exports.PreviewRenderSchema = zod_1.z.union([zod_1.z.object({
|
|
1516
1516
|
render_id: zod_1.z.string(),
|
|
1517
1517
|
output_format: zod_1.z.literal("url"),
|
|
@@ -1520,14 +1520,14 @@ exports.PreviewRenderSchema = zod_1.z.union([zod_1.z.object({
|
|
|
1520
1520
|
dimensions: zod_1.z.object({
|
|
1521
1521
|
width: zod_1.z.number(),
|
|
1522
1522
|
height: zod_1.z.number()
|
|
1523
|
-
}).nullish(),
|
|
1523
|
+
}).passthrough().nullish(),
|
|
1524
1524
|
embedding: zod_1.z.object({
|
|
1525
1525
|
recommended_sandbox: zod_1.z.string().nullish(),
|
|
1526
1526
|
requires_https: zod_1.z.boolean().nullish(),
|
|
1527
1527
|
supports_fullscreen: zod_1.z.boolean().nullish(),
|
|
1528
1528
|
csp_policy: zod_1.z.string().nullish()
|
|
1529
|
-
}).nullish()
|
|
1530
|
-
}), zod_1.z.object({
|
|
1529
|
+
}).passthrough().nullish()
|
|
1530
|
+
}).passthrough(), zod_1.z.object({
|
|
1531
1531
|
render_id: zod_1.z.string(),
|
|
1532
1532
|
output_format: zod_1.z.literal("html"),
|
|
1533
1533
|
preview_html: zod_1.z.string(),
|
|
@@ -1535,14 +1535,14 @@ exports.PreviewRenderSchema = zod_1.z.union([zod_1.z.object({
|
|
|
1535
1535
|
dimensions: zod_1.z.object({
|
|
1536
1536
|
width: zod_1.z.number(),
|
|
1537
1537
|
height: zod_1.z.number()
|
|
1538
|
-
}).nullish(),
|
|
1538
|
+
}).passthrough().nullish(),
|
|
1539
1539
|
embedding: zod_1.z.object({
|
|
1540
1540
|
recommended_sandbox: zod_1.z.string().nullish(),
|
|
1541
1541
|
requires_https: zod_1.z.boolean().nullish(),
|
|
1542
1542
|
supports_fullscreen: zod_1.z.boolean().nullish(),
|
|
1543
1543
|
csp_policy: zod_1.z.string().nullish()
|
|
1544
|
-
}).nullish()
|
|
1545
|
-
}), zod_1.z.object({
|
|
1544
|
+
}).passthrough().nullish()
|
|
1545
|
+
}).passthrough(), zod_1.z.object({
|
|
1546
1546
|
render_id: zod_1.z.string(),
|
|
1547
1547
|
output_format: zod_1.z.literal("both"),
|
|
1548
1548
|
preview_url: zod_1.z.string(),
|
|
@@ -1551,14 +1551,14 @@ exports.PreviewRenderSchema = zod_1.z.union([zod_1.z.object({
|
|
|
1551
1551
|
dimensions: zod_1.z.object({
|
|
1552
1552
|
width: zod_1.z.number(),
|
|
1553
1553
|
height: zod_1.z.number()
|
|
1554
|
-
}).nullish(),
|
|
1554
|
+
}).passthrough().nullish(),
|
|
1555
1555
|
embedding: zod_1.z.object({
|
|
1556
1556
|
recommended_sandbox: zod_1.z.string().nullish(),
|
|
1557
1557
|
requires_https: zod_1.z.boolean().nullish(),
|
|
1558
1558
|
supports_fullscreen: zod_1.z.boolean().nullish(),
|
|
1559
1559
|
csp_policy: zod_1.z.string().nullish()
|
|
1560
|
-
}).nullish()
|
|
1561
|
-
})]);
|
|
1560
|
+
}).passthrough().nullish()
|
|
1561
|
+
}).passthrough()]);
|
|
1562
1562
|
exports.PreviewCreativeSingleResponseSchema = zod_1.z.object({
|
|
1563
1563
|
response_type: zod_1.z.literal("single"),
|
|
1564
1564
|
previews: zod_1.z.array(zod_1.z.object({
|
|
@@ -1568,19 +1568,19 @@ exports.PreviewCreativeSingleResponseSchema = zod_1.z.object({
|
|
|
1568
1568
|
name: zod_1.z.string(),
|
|
1569
1569
|
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()])).nullish(),
|
|
1570
1570
|
context_description: zod_1.z.string().nullish()
|
|
1571
|
-
})
|
|
1572
|
-
})),
|
|
1571
|
+
}).passthrough()
|
|
1572
|
+
}).passthrough()),
|
|
1573
1573
|
interactive_url: zod_1.z.string().nullish(),
|
|
1574
1574
|
expires_at: zod_1.z.string(),
|
|
1575
1575
|
context: exports.ContextObjectSchema.nullish(),
|
|
1576
1576
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1577
|
-
});
|
|
1577
|
+
}).passthrough();
|
|
1578
1578
|
exports.PreviewBatchResultSuccessSchema = zod_1.z.object({
|
|
1579
1579
|
success: zod_1.z.literal(true).nullish()
|
|
1580
|
-
});
|
|
1580
|
+
}).passthrough();
|
|
1581
1581
|
exports.PreviewBatchResultErrorSchema = zod_1.z.object({
|
|
1582
1582
|
success: zod_1.z.literal(false).nullish()
|
|
1583
|
-
});
|
|
1583
|
+
}).passthrough();
|
|
1584
1584
|
exports.PreviewCreativeVariantResponseSchema = zod_1.z.object({
|
|
1585
1585
|
response_type: zod_1.z.literal("variant"),
|
|
1586
1586
|
variant_id: zod_1.z.string(),
|
|
@@ -1588,12 +1588,12 @@ exports.PreviewCreativeVariantResponseSchema = zod_1.z.object({
|
|
|
1588
1588
|
previews: zod_1.z.array(zod_1.z.object({
|
|
1589
1589
|
preview_id: zod_1.z.string(),
|
|
1590
1590
|
renders: zod_1.z.array(exports.PreviewRenderSchema)
|
|
1591
|
-
})),
|
|
1591
|
+
}).passthrough()),
|
|
1592
1592
|
manifest: exports.CreativeManifestSchema.nullish(),
|
|
1593
1593
|
expires_at: zod_1.z.string().nullish(),
|
|
1594
1594
|
context: exports.ContextObjectSchema.nullish(),
|
|
1595
1595
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1596
|
-
});
|
|
1596
|
+
}).passthrough();
|
|
1597
1597
|
exports.GetCreativeDeliveryRequestSchema = 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({
|
|
1598
1598
|
account: exports.AccountReferenceSchema.nullish(),
|
|
1599
1599
|
media_buy_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
@@ -1605,11 +1605,11 @@ exports.GetCreativeDeliveryRequestSchema = zod_1.z.record(zod_1.z.string(), zod_
|
|
|
1605
1605
|
pagination: exports.PaginationRequestSchema.nullish(),
|
|
1606
1606
|
context: exports.ContextObjectSchema.nullish(),
|
|
1607
1607
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1608
|
-
}));
|
|
1608
|
+
}).passthrough());
|
|
1609
1609
|
exports.IdentifierSchema = zod_1.z.object({
|
|
1610
1610
|
type: exports.PropertyIdentifierTypesSchema,
|
|
1611
1611
|
value: zod_1.z.string()
|
|
1612
|
-
});
|
|
1612
|
+
}).passthrough();
|
|
1613
1613
|
exports.CreativeVariantSchema = exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
1614
1614
|
variant_id: zod_1.z.string(),
|
|
1615
1615
|
manifest: exports.CreativeManifestSchema.nullish(),
|
|
@@ -1618,19 +1618,19 @@ exports.CreativeVariantSchema = exports.DeliveryMetricsSchema.and(zod_1.z.object
|
|
|
1618
1618
|
artifact: zod_1.z.object({
|
|
1619
1619
|
property_id: exports.IdentifierSchema,
|
|
1620
1620
|
artifact_id: zod_1.z.string()
|
|
1621
|
-
}).nullish(),
|
|
1621
|
+
}).passthrough().nullish(),
|
|
1622
1622
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1623
|
-
}).nullish()
|
|
1624
|
-
}));
|
|
1623
|
+
}).passthrough().nullish()
|
|
1624
|
+
}).passthrough());
|
|
1625
1625
|
exports.DestinationSchema = zod_1.z.union([zod_1.z.object({
|
|
1626
1626
|
type: zod_1.z.literal("platform"),
|
|
1627
1627
|
platform: zod_1.z.string(),
|
|
1628
1628
|
account: zod_1.z.string().nullish()
|
|
1629
|
-
}), zod_1.z.object({
|
|
1629
|
+
}).passthrough(), zod_1.z.object({
|
|
1630
1630
|
type: zod_1.z.literal("agent"),
|
|
1631
1631
|
agent_url: zod_1.z.string(),
|
|
1632
1632
|
account: zod_1.z.string().nullish()
|
|
1633
|
-
})]);
|
|
1633
|
+
}).passthrough()]);
|
|
1634
1634
|
exports.SignalCatalogTypeSchema = zod_1.z.union([zod_1.z.literal("marketplace"), zod_1.z.literal("custom"), zod_1.z.literal("owned")]);
|
|
1635
1635
|
exports.SignalFiltersSchema = zod_1.z.object({
|
|
1636
1636
|
catalog_types: zod_1.z.array(exports.SignalCatalogTypeSchema).nullish(),
|
|
@@ -1638,36 +1638,36 @@ exports.SignalFiltersSchema = zod_1.z.object({
|
|
|
1638
1638
|
max_cpm: zod_1.z.number().nullish(),
|
|
1639
1639
|
max_percent: zod_1.z.number().nullish(),
|
|
1640
1640
|
min_coverage_percentage: zod_1.z.number().nullish()
|
|
1641
|
-
});
|
|
1641
|
+
}).passthrough();
|
|
1642
1642
|
exports.SignalValueTypeSchema = zod_1.z.union([zod_1.z.literal("binary"), zod_1.z.literal("categorical"), zod_1.z.literal("numeric")]);
|
|
1643
1643
|
exports.ActivationKeySchema = zod_1.z.union([zod_1.z.object({
|
|
1644
1644
|
type: zod_1.z.literal("segment_id"),
|
|
1645
1645
|
segment_id: zod_1.z.string()
|
|
1646
|
-
}), zod_1.z.object({
|
|
1646
|
+
}).passthrough(), zod_1.z.object({
|
|
1647
1647
|
type: zod_1.z.literal("key_value"),
|
|
1648
1648
|
key: zod_1.z.string(),
|
|
1649
1649
|
value: zod_1.z.string()
|
|
1650
|
-
})]);
|
|
1650
|
+
}).passthrough()]);
|
|
1651
1651
|
exports.CpmPricingSchema = zod_1.z.object({
|
|
1652
1652
|
model: zod_1.z.literal("cpm"),
|
|
1653
1653
|
cpm: zod_1.z.number(),
|
|
1654
1654
|
currency: zod_1.z.string(),
|
|
1655
1655
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1656
|
-
});
|
|
1656
|
+
}).passthrough();
|
|
1657
1657
|
exports.PercentOfMediaPricingSchema = zod_1.z.object({
|
|
1658
1658
|
model: zod_1.z.literal("percent_of_media"),
|
|
1659
1659
|
percent: zod_1.z.number(),
|
|
1660
1660
|
max_cpm: zod_1.z.number().nullish(),
|
|
1661
1661
|
currency: zod_1.z.string(),
|
|
1662
1662
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1663
|
-
});
|
|
1663
|
+
}).passthrough();
|
|
1664
1664
|
exports.FlatFeePricingSchema = zod_1.z.object({
|
|
1665
1665
|
model: zod_1.z.literal("flat_fee"),
|
|
1666
1666
|
amount: zod_1.z.number(),
|
|
1667
1667
|
period: zod_1.z.union([zod_1.z.literal("monthly"), zod_1.z.literal("quarterly"), zod_1.z.literal("annual"), zod_1.z.literal("campaign")]),
|
|
1668
1668
|
currency: zod_1.z.string(),
|
|
1669
1669
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1670
|
-
});
|
|
1670
|
+
}).passthrough();
|
|
1671
1671
|
exports.DeploymentSchema = zod_1.z.union([zod_1.z.object({
|
|
1672
1672
|
type: zod_1.z.literal("platform"),
|
|
1673
1673
|
platform: zod_1.z.string(),
|
|
@@ -1676,7 +1676,7 @@ exports.DeploymentSchema = zod_1.z.union([zod_1.z.object({
|
|
|
1676
1676
|
activation_key: exports.ActivationKeySchema.nullish(),
|
|
1677
1677
|
estimated_activation_duration_minutes: zod_1.z.number().nullish(),
|
|
1678
1678
|
deployed_at: zod_1.z.string().nullish()
|
|
1679
|
-
}), zod_1.z.object({
|
|
1679
|
+
}).passthrough(), zod_1.z.object({
|
|
1680
1680
|
type: zod_1.z.literal("agent"),
|
|
1681
1681
|
agent_url: zod_1.z.string(),
|
|
1682
1682
|
account: zod_1.z.string().nullish(),
|
|
@@ -1684,7 +1684,7 @@ exports.DeploymentSchema = zod_1.z.union([zod_1.z.object({
|
|
|
1684
1684
|
activation_key: exports.ActivationKeySchema.nullish(),
|
|
1685
1685
|
estimated_activation_duration_minutes: zod_1.z.number().nullish(),
|
|
1686
1686
|
deployed_at: zod_1.z.string().nullish()
|
|
1687
|
-
})]);
|
|
1687
|
+
}).passthrough()]);
|
|
1688
1688
|
exports.ActivateSignalRequestSchema = zod_1.z.object({
|
|
1689
1689
|
action: zod_1.z.union([zod_1.z.literal("activate"), zod_1.z.literal("deactivate")]).nullish(),
|
|
1690
1690
|
signal_agent_segment_id: zod_1.z.string(),
|
|
@@ -1694,32 +1694,32 @@ exports.ActivateSignalRequestSchema = zod_1.z.object({
|
|
|
1694
1694
|
buyer_campaign_ref: zod_1.z.string().nullish(),
|
|
1695
1695
|
context: exports.ContextObjectSchema.nullish(),
|
|
1696
1696
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1697
|
-
});
|
|
1697
|
+
}).passthrough();
|
|
1698
1698
|
exports.ActivateSignalSuccessSchema = zod_1.z.object({
|
|
1699
1699
|
deployments: zod_1.z.array(exports.DeploymentSchema),
|
|
1700
1700
|
sandbox: zod_1.z.boolean().nullish(),
|
|
1701
1701
|
context: exports.ContextObjectSchema.nullish(),
|
|
1702
1702
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1703
|
-
});
|
|
1703
|
+
}).passthrough();
|
|
1704
1704
|
exports.ActivateSignalErrorSchema = zod_1.z.object({
|
|
1705
1705
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1706
1706
|
context: exports.ContextObjectSchema.nullish(),
|
|
1707
1707
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1708
|
-
});
|
|
1708
|
+
}).passthrough();
|
|
1709
1709
|
exports.PublisherTagsSourceSchema = zod_1.z.object({
|
|
1710
1710
|
selection_type: zod_1.z.literal("publisher_tags"),
|
|
1711
1711
|
publisher_domain: zod_1.z.string(),
|
|
1712
1712
|
tags: zod_1.z.array(exports.PropertyTagSchema)
|
|
1713
|
-
});
|
|
1713
|
+
}).passthrough();
|
|
1714
1714
|
exports.PublisherPropertyIDsSourceSchema = zod_1.z.object({
|
|
1715
1715
|
selection_type: zod_1.z.literal("publisher_ids"),
|
|
1716
1716
|
publisher_domain: zod_1.z.string(),
|
|
1717
1717
|
property_ids: zod_1.z.array(exports.PropertyIDSchema)
|
|
1718
|
-
});
|
|
1718
|
+
}).passthrough();
|
|
1719
1719
|
exports.DirectIdentifiersSourceSchema = zod_1.z.object({
|
|
1720
1720
|
selection_type: zod_1.z.literal("identifiers"),
|
|
1721
1721
|
identifiers: zod_1.z.array(exports.IdentifierSchema)
|
|
1722
|
-
});
|
|
1722
|
+
}).passthrough();
|
|
1723
1723
|
exports.BasePropertySourceSchema = zod_1.z.union([exports.PublisherTagsSourceSchema, exports.PublisherPropertyIDsSourceSchema, exports.DirectIdentifiersSourceSchema]);
|
|
1724
1724
|
exports.FeatureRequirementSchema = zod_1.z.object({
|
|
1725
1725
|
feature_id: zod_1.z.string(),
|
|
@@ -1727,14 +1727,14 @@ exports.FeatureRequirementSchema = zod_1.z.object({
|
|
|
1727
1727
|
max_value: zod_1.z.number().nullish(),
|
|
1728
1728
|
allowed_values: zod_1.z.array(zod_1.z.unknown()).nullish(),
|
|
1729
1729
|
if_not_covered: zod_1.z.union([zod_1.z.literal("exclude"), zod_1.z.literal("include")]).nullish()
|
|
1730
|
-
});
|
|
1730
|
+
}).passthrough();
|
|
1731
1731
|
exports.PropertyListFiltersSchema = zod_1.z.object({
|
|
1732
1732
|
countries_all: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1733
1733
|
channels_any: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
1734
1734
|
property_types: zod_1.z.array(exports.PropertyTypeSchema).nullish(),
|
|
1735
1735
|
feature_requirements: zod_1.z.array(exports.FeatureRequirementSchema).nullish(),
|
|
1736
1736
|
exclude_identifiers: zod_1.z.array(exports.IdentifierSchema).nullish()
|
|
1737
|
-
});
|
|
1737
|
+
}).passthrough();
|
|
1738
1738
|
exports.UpdatePropertyListRequestSchema = zod_1.z.object({
|
|
1739
1739
|
list_id: zod_1.z.string(),
|
|
1740
1740
|
name: zod_1.z.string().nullish(),
|
|
@@ -1745,7 +1745,7 @@ exports.UpdatePropertyListRequestSchema = zod_1.z.object({
|
|
|
1745
1745
|
webhook_url: zod_1.z.string().nullish(),
|
|
1746
1746
|
context: exports.ContextObjectSchema.nullish(),
|
|
1747
1747
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1748
|
-
});
|
|
1748
|
+
}).passthrough();
|
|
1749
1749
|
exports.PropertyListSchema = zod_1.z.object({
|
|
1750
1750
|
list_id: zod_1.z.string(),
|
|
1751
1751
|
name: zod_1.z.string(),
|
|
@@ -1759,17 +1759,17 @@ exports.PropertyListSchema = zod_1.z.object({
|
|
|
1759
1759
|
created_at: zod_1.z.string().nullish(),
|
|
1760
1760
|
updated_at: zod_1.z.string().nullish(),
|
|
1761
1761
|
property_count: zod_1.z.number().nullish()
|
|
1762
|
-
});
|
|
1762
|
+
}).passthrough();
|
|
1763
1763
|
exports.GetPropertyListRequestSchema = zod_1.z.object({
|
|
1764
1764
|
list_id: zod_1.z.string(),
|
|
1765
1765
|
resolve: zod_1.z.boolean().nullish(),
|
|
1766
1766
|
pagination: zod_1.z.object({
|
|
1767
1767
|
max_results: zod_1.z.number().nullish(),
|
|
1768
1768
|
cursor: zod_1.z.string().nullish()
|
|
1769
|
-
}).nullish(),
|
|
1769
|
+
}).passthrough().nullish(),
|
|
1770
1770
|
context: exports.ContextObjectSchema.nullish(),
|
|
1771
1771
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1772
|
-
});
|
|
1772
|
+
}).passthrough();
|
|
1773
1773
|
exports.GetPropertyListResponseSchema = zod_1.z.object({
|
|
1774
1774
|
list: exports.PropertyListSchema,
|
|
1775
1775
|
identifiers: zod_1.z.array(exports.IdentifierSchema).nullish(),
|
|
@@ -1778,29 +1778,29 @@ exports.GetPropertyListResponseSchema = zod_1.z.object({
|
|
|
1778
1778
|
cache_valid_until: zod_1.z.string().nullish(),
|
|
1779
1779
|
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(),
|
|
1780
1780
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1781
|
-
});
|
|
1781
|
+
}).passthrough();
|
|
1782
1782
|
exports.ListPropertyListsRequestSchema = zod_1.z.object({
|
|
1783
1783
|
principal: zod_1.z.string().nullish(),
|
|
1784
1784
|
name_contains: zod_1.z.string().nullish(),
|
|
1785
1785
|
pagination: exports.PaginationRequestSchema.nullish(),
|
|
1786
1786
|
context: exports.ContextObjectSchema.nullish(),
|
|
1787
1787
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1788
|
-
});
|
|
1788
|
+
}).passthrough();
|
|
1789
1789
|
exports.ListPropertyListsResponseSchema = zod_1.z.object({
|
|
1790
1790
|
lists: zod_1.z.array(exports.PropertyListSchema),
|
|
1791
1791
|
pagination: exports.PaginationResponseSchema.nullish(),
|
|
1792
1792
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1793
|
-
});
|
|
1793
|
+
}).passthrough();
|
|
1794
1794
|
exports.DeletePropertyListRequestSchema = zod_1.z.object({
|
|
1795
1795
|
list_id: zod_1.z.string(),
|
|
1796
1796
|
context: exports.ContextObjectSchema.nullish(),
|
|
1797
1797
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1798
|
-
});
|
|
1798
|
+
}).passthrough();
|
|
1799
1799
|
exports.DeletePropertyListResponseSchema = zod_1.z.object({
|
|
1800
1800
|
deleted: zod_1.z.boolean(),
|
|
1801
1801
|
list_id: zod_1.z.string(),
|
|
1802
1802
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1803
|
-
});
|
|
1803
|
+
}).passthrough();
|
|
1804
1804
|
exports.ListContentStandardsRequestSchema = zod_1.z.object({
|
|
1805
1805
|
channels: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
1806
1806
|
languages: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
@@ -1808,17 +1808,17 @@ exports.ListContentStandardsRequestSchema = zod_1.z.object({
|
|
|
1808
1808
|
pagination: exports.PaginationRequestSchema.nullish(),
|
|
1809
1809
|
context: exports.ContextObjectSchema.nullish(),
|
|
1810
1810
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1811
|
-
});
|
|
1811
|
+
}).passthrough();
|
|
1812
1812
|
exports.AssetAccessSchema = zod_1.z.union([zod_1.z.object({
|
|
1813
1813
|
method: zod_1.z.literal("bearer_token"),
|
|
1814
1814
|
token: zod_1.z.string()
|
|
1815
|
-
}), zod_1.z.object({
|
|
1815
|
+
}).passthrough(), zod_1.z.object({
|
|
1816
1816
|
method: zod_1.z.literal("service_account"),
|
|
1817
1817
|
provider: zod_1.z.union([zod_1.z.literal("gcp"), zod_1.z.literal("aws")]),
|
|
1818
|
-
credentials: zod_1.z.object({}).nullish()
|
|
1819
|
-
}), zod_1.z.object({
|
|
1818
|
+
credentials: zod_1.z.object({}).passthrough().nullish()
|
|
1819
|
+
}).passthrough(), zod_1.z.object({
|
|
1820
1820
|
method: zod_1.z.literal("signed_url")
|
|
1821
|
-
})]);
|
|
1821
|
+
}).passthrough()]);
|
|
1822
1822
|
exports.ArtifactSchema = zod_1.z.object({
|
|
1823
1823
|
property_id: exports.IdentifierSchema,
|
|
1824
1824
|
artifact_id: zod_1.z.string(),
|
|
@@ -1834,7 +1834,7 @@ exports.ArtifactSchema = zod_1.z.object({
|
|
|
1834
1834
|
language: zod_1.z.string().nullish(),
|
|
1835
1835
|
heading_level: zod_1.z.number().nullish(),
|
|
1836
1836
|
provenance: exports.ProvenanceSchema.nullish()
|
|
1837
|
-
}), zod_1.z.object({
|
|
1837
|
+
}).passthrough(), zod_1.z.object({
|
|
1838
1838
|
type: zod_1.z.literal("image"),
|
|
1839
1839
|
url: zod_1.z.string(),
|
|
1840
1840
|
access: exports.AssetAccessSchema.nullish(),
|
|
@@ -1843,7 +1843,7 @@ exports.ArtifactSchema = zod_1.z.object({
|
|
|
1843
1843
|
width: zod_1.z.number().nullish(),
|
|
1844
1844
|
height: zod_1.z.number().nullish(),
|
|
1845
1845
|
provenance: exports.ProvenanceSchema.nullish()
|
|
1846
|
-
}), zod_1.z.object({
|
|
1846
|
+
}).passthrough(), zod_1.z.object({
|
|
1847
1847
|
type: zod_1.z.literal("video"),
|
|
1848
1848
|
url: zod_1.z.string(),
|
|
1849
1849
|
access: exports.AssetAccessSchema.nullish(),
|
|
@@ -1852,7 +1852,7 @@ exports.ArtifactSchema = zod_1.z.object({
|
|
|
1852
1852
|
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(),
|
|
1853
1853
|
thumbnail_url: zod_1.z.string().nullish(),
|
|
1854
1854
|
provenance: exports.ProvenanceSchema.nullish()
|
|
1855
|
-
}), zod_1.z.object({
|
|
1855
|
+
}).passthrough(), zod_1.z.object({
|
|
1856
1856
|
type: zod_1.z.literal("audio"),
|
|
1857
1857
|
url: zod_1.z.string(),
|
|
1858
1858
|
access: exports.AssetAccessSchema.nullish(),
|
|
@@ -1860,15 +1860,15 @@ exports.ArtifactSchema = zod_1.z.object({
|
|
|
1860
1860
|
transcript: zod_1.z.string().nullish(),
|
|
1861
1861
|
transcript_source: zod_1.z.union([zod_1.z.literal("original_script"), zod_1.z.literal("closed_captions"), zod_1.z.literal("generated")]).nullish(),
|
|
1862
1862
|
provenance: exports.ProvenanceSchema.nullish()
|
|
1863
|
-
})])),
|
|
1863
|
+
}).passthrough()])),
|
|
1864
1864
|
metadata: zod_1.z.object({
|
|
1865
1865
|
canonical: zod_1.z.string().nullish(),
|
|
1866
1866
|
author: zod_1.z.string().nullish(),
|
|
1867
1867
|
keywords: zod_1.z.string().nullish(),
|
|
1868
|
-
open_graph: zod_1.z.object({}).nullish(),
|
|
1869
|
-
twitter_card: zod_1.z.object({}).nullish(),
|
|
1870
|
-
json_ld: zod_1.z.array(zod_1.z.object({})).nullish()
|
|
1871
|
-
}).nullish(),
|
|
1868
|
+
open_graph: zod_1.z.object({}).passthrough().nullish(),
|
|
1869
|
+
twitter_card: zod_1.z.object({}).passthrough().nullish(),
|
|
1870
|
+
json_ld: zod_1.z.array(zod_1.z.object({}).passthrough()).nullish()
|
|
1871
|
+
}).passthrough().nullish(),
|
|
1872
1872
|
provenance: exports.ProvenanceSchema.nullish(),
|
|
1873
1873
|
identifiers: zod_1.z.object({
|
|
1874
1874
|
apple_podcast_id: zod_1.z.string().nullish(),
|
|
@@ -1876,13 +1876,13 @@ exports.ArtifactSchema = zod_1.z.object({
|
|
|
1876
1876
|
podcast_guid: zod_1.z.string().nullish(),
|
|
1877
1877
|
youtube_video_id: zod_1.z.string().nullish(),
|
|
1878
1878
|
rss_url: zod_1.z.string().nullish()
|
|
1879
|
-
}).nullish()
|
|
1880
|
-
});
|
|
1879
|
+
}).passthrough().nullish()
|
|
1880
|
+
}).passthrough();
|
|
1881
1881
|
exports.GetContentStandardsRequestSchema = zod_1.z.object({
|
|
1882
1882
|
standards_id: zod_1.z.string(),
|
|
1883
1883
|
context: exports.ContextObjectSchema.nullish(),
|
|
1884
1884
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1885
|
-
});
|
|
1885
|
+
}).passthrough();
|
|
1886
1886
|
exports.ContentStandardsSchema = zod_1.z.object({
|
|
1887
1887
|
standards_id: zod_1.z.string(),
|
|
1888
1888
|
name: zod_1.z.string().nullish(),
|
|
@@ -1893,43 +1893,43 @@ exports.ContentStandardsSchema = zod_1.z.object({
|
|
|
1893
1893
|
calibration_exemplars: zod_1.z.object({
|
|
1894
1894
|
pass: zod_1.z.array(exports.ArtifactSchema).nullish(),
|
|
1895
1895
|
fail: zod_1.z.array(exports.ArtifactSchema).nullish()
|
|
1896
|
-
}).nullish(),
|
|
1896
|
+
}).passthrough().nullish(),
|
|
1897
1897
|
pricing_options: zod_1.z.array(exports.PricingOptionSchema).nullish(),
|
|
1898
1898
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1899
|
-
});
|
|
1899
|
+
}).passthrough();
|
|
1900
1900
|
exports.CreateContentStandardsRequestSchema = zod_1.z.object({
|
|
1901
1901
|
scope: zod_1.z.object({
|
|
1902
1902
|
countries_all: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1903
1903
|
channels_any: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
1904
1904
|
languages_any: zod_1.z.array(zod_1.z.string()),
|
|
1905
1905
|
description: zod_1.z.string().nullish()
|
|
1906
|
-
}),
|
|
1906
|
+
}).passthrough(),
|
|
1907
1907
|
policy: zod_1.z.string(),
|
|
1908
1908
|
calibration_exemplars: zod_1.z.object({
|
|
1909
1909
|
pass: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
1910
1910
|
type: zod_1.z.literal("url"),
|
|
1911
1911
|
value: zod_1.z.string(),
|
|
1912
1912
|
language: zod_1.z.string().nullish()
|
|
1913
|
-
}), exports.ArtifactSchema])).nullish(),
|
|
1913
|
+
}).passthrough(), exports.ArtifactSchema])).nullish(),
|
|
1914
1914
|
fail: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
1915
1915
|
type: zod_1.z.literal("url"),
|
|
1916
1916
|
value: zod_1.z.string(),
|
|
1917
1917
|
language: zod_1.z.string().nullish()
|
|
1918
|
-
}), exports.ArtifactSchema])).nullish()
|
|
1919
|
-
}).nullish(),
|
|
1918
|
+
}).passthrough(), exports.ArtifactSchema])).nullish()
|
|
1919
|
+
}).passthrough().nullish(),
|
|
1920
1920
|
context: exports.ContextObjectSchema.nullish(),
|
|
1921
1921
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1922
|
-
});
|
|
1922
|
+
}).passthrough();
|
|
1923
1923
|
exports.CreateContentStandardsResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
1924
1924
|
standards_id: zod_1.z.string(),
|
|
1925
1925
|
context: exports.ContextObjectSchema.nullish(),
|
|
1926
1926
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1927
|
-
}), zod_1.z.object({
|
|
1927
|
+
}).passthrough(), zod_1.z.object({
|
|
1928
1928
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1929
1929
|
conflicting_standards_id: zod_1.z.string().nullish(),
|
|
1930
1930
|
context: exports.ContextObjectSchema.nullish(),
|
|
1931
1931
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1932
|
-
})]);
|
|
1932
|
+
}).passthrough()]);
|
|
1933
1933
|
exports.UpdateContentStandardsRequestSchema = zod_1.z.object({
|
|
1934
1934
|
standards_id: zod_1.z.string(),
|
|
1935
1935
|
scope: zod_1.z.object({
|
|
@@ -1937,40 +1937,40 @@ exports.UpdateContentStandardsRequestSchema = zod_1.z.object({
|
|
|
1937
1937
|
channels_any: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
1938
1938
|
languages_any: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
1939
1939
|
description: zod_1.z.string().nullish()
|
|
1940
|
-
}).nullish(),
|
|
1940
|
+
}).passthrough().nullish(),
|
|
1941
1941
|
policy: zod_1.z.string().nullish(),
|
|
1942
1942
|
calibration_exemplars: zod_1.z.object({
|
|
1943
1943
|
pass: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
1944
1944
|
type: zod_1.z.literal("url"),
|
|
1945
1945
|
value: zod_1.z.string(),
|
|
1946
1946
|
language: zod_1.z.string().nullish()
|
|
1947
|
-
}), exports.ArtifactSchema])).nullish(),
|
|
1947
|
+
}).passthrough(), exports.ArtifactSchema])).nullish(),
|
|
1948
1948
|
fail: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
1949
1949
|
type: zod_1.z.literal("url"),
|
|
1950
1950
|
value: zod_1.z.string(),
|
|
1951
1951
|
language: zod_1.z.string().nullish()
|
|
1952
|
-
}), exports.ArtifactSchema])).nullish()
|
|
1953
|
-
}).nullish(),
|
|
1952
|
+
}).passthrough(), exports.ArtifactSchema])).nullish()
|
|
1953
|
+
}).passthrough().nullish(),
|
|
1954
1954
|
context: exports.ContextObjectSchema.nullish(),
|
|
1955
1955
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1956
|
-
});
|
|
1956
|
+
}).passthrough();
|
|
1957
1957
|
exports.UpdateContentStandardsSuccessSchema = zod_1.z.object({
|
|
1958
1958
|
success: zod_1.z.literal(true),
|
|
1959
1959
|
standards_id: zod_1.z.string(),
|
|
1960
1960
|
context: exports.ContextObjectSchema.nullish(),
|
|
1961
1961
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1962
|
-
});
|
|
1962
|
+
}).passthrough();
|
|
1963
1963
|
exports.UpdateContentStandardsErrorSchema = zod_1.z.object({
|
|
1964
1964
|
success: zod_1.z.literal(false),
|
|
1965
1965
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1966
1966
|
conflicting_standards_id: zod_1.z.string().nullish(),
|
|
1967
1967
|
context: exports.ContextObjectSchema.nullish(),
|
|
1968
1968
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1969
|
-
});
|
|
1969
|
+
}).passthrough();
|
|
1970
1970
|
exports.CalibrateContentRequestSchema = zod_1.z.object({
|
|
1971
1971
|
standards_id: zod_1.z.string(),
|
|
1972
1972
|
artifact: exports.ArtifactSchema
|
|
1973
|
-
});
|
|
1973
|
+
}).passthrough();
|
|
1974
1974
|
exports.CalibrateContentResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
1975
1975
|
verdict: zod_1.z.union([zod_1.z.literal("pass"), zod_1.z.literal("fail")]),
|
|
1976
1976
|
confidence: zod_1.z.number().nullish(),
|
|
@@ -1979,14 +1979,14 @@ exports.CalibrateContentResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
|
1979
1979
|
feature_id: zod_1.z.string(),
|
|
1980
1980
|
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")]),
|
|
1981
1981
|
explanation: zod_1.z.string().nullish()
|
|
1982
|
-
})).nullish(),
|
|
1982
|
+
}).passthrough()).nullish(),
|
|
1983
1983
|
context: exports.ContextObjectSchema.nullish(),
|
|
1984
1984
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1985
|
-
}), zod_1.z.object({
|
|
1985
|
+
}).passthrough(), zod_1.z.object({
|
|
1986
1986
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
1987
1987
|
context: exports.ContextObjectSchema.nullish(),
|
|
1988
1988
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
1989
|
-
})]);
|
|
1989
|
+
}).passthrough()]);
|
|
1990
1990
|
exports.ValidateContentDeliveryRequestSchema = zod_1.z.object({
|
|
1991
1991
|
standards_id: zod_1.z.string(),
|
|
1992
1992
|
records: zod_1.z.array(zod_1.z.object({
|
|
@@ -1999,19 +1999,19 @@ exports.ValidateContentDeliveryRequestSchema = zod_1.z.object({
|
|
|
1999
1999
|
brand_context: zod_1.z.object({
|
|
2000
2000
|
brand_id: zod_1.z.string().nullish(),
|
|
2001
2001
|
sku_id: zod_1.z.string().nullish()
|
|
2002
|
-
}).nullish()
|
|
2003
|
-
})),
|
|
2002
|
+
}).passthrough().nullish()
|
|
2003
|
+
}).passthrough()),
|
|
2004
2004
|
feature_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2005
2005
|
include_passed: zod_1.z.boolean().nullish(),
|
|
2006
2006
|
context: exports.ContextObjectSchema.nullish(),
|
|
2007
2007
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2008
|
-
});
|
|
2008
|
+
}).passthrough();
|
|
2009
2009
|
exports.ValidateContentDeliveryResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
2010
2010
|
summary: zod_1.z.object({
|
|
2011
2011
|
total_records: zod_1.z.number(),
|
|
2012
2012
|
passed_records: zod_1.z.number(),
|
|
2013
2013
|
failed_records: zod_1.z.number()
|
|
2014
|
-
}),
|
|
2014
|
+
}).passthrough(),
|
|
2015
2015
|
results: zod_1.z.array(zod_1.z.object({
|
|
2016
2016
|
record_id: zod_1.z.string(),
|
|
2017
2017
|
verdict: zod_1.z.union([zod_1.z.literal("pass"), zod_1.z.literal("fail")]),
|
|
@@ -2021,15 +2021,15 @@ exports.ValidateContentDeliveryResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
|
2021
2021
|
value: zod_1.z.unknown().nullish(),
|
|
2022
2022
|
message: zod_1.z.string().nullish(),
|
|
2023
2023
|
rule_id: zod_1.z.string().nullish()
|
|
2024
|
-
})).nullish()
|
|
2025
|
-
})),
|
|
2024
|
+
}).passthrough()).nullish()
|
|
2025
|
+
}).passthrough()),
|
|
2026
2026
|
context: exports.ContextObjectSchema.nullish(),
|
|
2027
2027
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2028
|
-
}), zod_1.z.object({
|
|
2028
|
+
}).passthrough(), zod_1.z.object({
|
|
2029
2029
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
2030
2030
|
context: exports.ContextObjectSchema.nullish(),
|
|
2031
2031
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2032
|
-
})]);
|
|
2032
|
+
}).passthrough()]);
|
|
2033
2033
|
exports.GetMediaBuyArtifactsRequestSchema = zod_1.z.object({
|
|
2034
2034
|
account: exports.AccountReferenceSchema.nullish(),
|
|
2035
2035
|
media_buy_id: zod_1.z.string(),
|
|
@@ -2037,18 +2037,18 @@ exports.GetMediaBuyArtifactsRequestSchema = zod_1.z.object({
|
|
|
2037
2037
|
sampling: zod_1.z.object({
|
|
2038
2038
|
rate: zod_1.z.number().nullish(),
|
|
2039
2039
|
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()
|
|
2040
|
-
}).nullish(),
|
|
2040
|
+
}).passthrough().nullish(),
|
|
2041
2041
|
time_range: zod_1.z.object({
|
|
2042
2042
|
start: zod_1.z.string().nullish(),
|
|
2043
2043
|
end: zod_1.z.string().nullish()
|
|
2044
|
-
}).nullish(),
|
|
2044
|
+
}).passthrough().nullish(),
|
|
2045
2045
|
pagination: zod_1.z.object({
|
|
2046
2046
|
max_results: zod_1.z.number().nullish(),
|
|
2047
2047
|
cursor: zod_1.z.string().nullish()
|
|
2048
|
-
}).nullish(),
|
|
2048
|
+
}).passthrough().nullish(),
|
|
2049
2049
|
context: exports.ContextObjectSchema.nullish(),
|
|
2050
2050
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2051
|
-
});
|
|
2051
|
+
}).passthrough();
|
|
2052
2052
|
exports.GetMediaBuyArtifactsResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
2053
2053
|
media_buy_id: zod_1.z.string(),
|
|
2054
2054
|
artifacts: zod_1.z.array(zod_1.z.object({
|
|
@@ -2061,30 +2061,30 @@ exports.GetMediaBuyArtifactsResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
|
2061
2061
|
brand_context: zod_1.z.object({
|
|
2062
2062
|
brand_id: zod_1.z.string().nullish(),
|
|
2063
2063
|
sku_id: zod_1.z.string().nullish()
|
|
2064
|
-
}).nullish(),
|
|
2064
|
+
}).passthrough().nullish(),
|
|
2065
2065
|
local_verdict: zod_1.z.union([zod_1.z.literal("pass"), zod_1.z.literal("fail"), zod_1.z.literal("unevaluated")]).nullish()
|
|
2066
|
-
})),
|
|
2066
|
+
}).passthrough()),
|
|
2067
2067
|
sampling_info: zod_1.z.object({
|
|
2068
2068
|
total_deliveries: zod_1.z.number().nullish(),
|
|
2069
2069
|
sampled_count: zod_1.z.number().nullish(),
|
|
2070
2070
|
effective_rate: zod_1.z.number().nullish(),
|
|
2071
2071
|
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()
|
|
2072
|
-
}).nullish(),
|
|
2072
|
+
}).passthrough().nullish(),
|
|
2073
2073
|
pagination: exports.PaginationResponseSchema.nullish(),
|
|
2074
2074
|
context: exports.ContextObjectSchema.nullish(),
|
|
2075
2075
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2076
|
-
}), zod_1.z.object({
|
|
2076
|
+
}).passthrough(), zod_1.z.object({
|
|
2077
2077
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
2078
2078
|
context: exports.ContextObjectSchema.nullish(),
|
|
2079
2079
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2080
|
-
})]);
|
|
2080
|
+
}).passthrough()]);
|
|
2081
2081
|
exports.GetCreativeFeaturesRequestSchema = zod_1.z.object({
|
|
2082
2082
|
creative_manifest: exports.CreativeManifestSchema,
|
|
2083
2083
|
feature_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2084
2084
|
account: exports.AccountReferenceSchema.nullish(),
|
|
2085
2085
|
context: exports.ContextObjectSchema.nullish(),
|
|
2086
2086
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2087
|
-
});
|
|
2087
|
+
}).passthrough();
|
|
2088
2088
|
exports.CreativeFeatureResultSchema = zod_1.z.object({
|
|
2089
2089
|
feature_id: zod_1.z.string(),
|
|
2090
2090
|
value: zod_1.z.union([zod_1.z.boolean(), zod_1.z.number(), zod_1.z.string()]),
|
|
@@ -2093,16 +2093,16 @@ exports.CreativeFeatureResultSchema = zod_1.z.object({
|
|
|
2093
2093
|
measured_at: zod_1.z.string().nullish(),
|
|
2094
2094
|
expires_at: zod_1.z.string().nullish(),
|
|
2095
2095
|
methodology_version: zod_1.z.string().nullish(),
|
|
2096
|
-
details: zod_1.z.object({}).nullish(),
|
|
2096
|
+
details: zod_1.z.object({}).passthrough().nullish(),
|
|
2097
2097
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2098
|
-
});
|
|
2098
|
+
}).passthrough();
|
|
2099
2099
|
exports.SIGetOfferingRequestSchema = zod_1.z.object({
|
|
2100
2100
|
offering_id: zod_1.z.string(),
|
|
2101
2101
|
context: zod_1.z.string().nullish(),
|
|
2102
2102
|
include_products: zod_1.z.boolean().nullish(),
|
|
2103
2103
|
product_limit: zod_1.z.number().nullish(),
|
|
2104
2104
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2105
|
-
});
|
|
2105
|
+
}).passthrough();
|
|
2106
2106
|
exports.SIGetOfferingResponseSchema = zod_1.z.object({
|
|
2107
2107
|
available: zod_1.z.boolean(),
|
|
2108
2108
|
offering_token: zod_1.z.string().nullish(),
|
|
@@ -2117,7 +2117,7 @@ exports.SIGetOfferingResponseSchema = zod_1.z.object({
|
|
|
2117
2117
|
price_hint: zod_1.z.string().nullish(),
|
|
2118
2118
|
image_url: zod_1.z.string().nullish(),
|
|
2119
2119
|
landing_url: zod_1.z.string().nullish()
|
|
2120
|
-
}).nullish(),
|
|
2120
|
+
}).passthrough().nullish(),
|
|
2121
2121
|
matching_products: zod_1.z.array(zod_1.z.object({
|
|
2122
2122
|
product_id: zod_1.z.string(),
|
|
2123
2123
|
name: zod_1.z.string(),
|
|
@@ -2126,13 +2126,13 @@ exports.SIGetOfferingResponseSchema = zod_1.z.object({
|
|
|
2126
2126
|
image_url: zod_1.z.string().nullish(),
|
|
2127
2127
|
availability_summary: zod_1.z.string().nullish(),
|
|
2128
2128
|
url: zod_1.z.string().nullish()
|
|
2129
|
-
})).nullish(),
|
|
2129
|
+
}).passthrough()).nullish(),
|
|
2130
2130
|
total_matching: zod_1.z.number().nullish(),
|
|
2131
2131
|
unavailable_reason: zod_1.z.string().nullish(),
|
|
2132
2132
|
alternative_offering_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2133
2133
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
2134
2134
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2135
|
-
});
|
|
2135
|
+
}).passthrough();
|
|
2136
2136
|
exports.SIIdentitySchema = zod_1.z.object({
|
|
2137
2137
|
consent_granted: zod_1.z.boolean(),
|
|
2138
2138
|
consent_timestamp: zod_1.z.string().nullish(),
|
|
@@ -2140,7 +2140,7 @@ exports.SIIdentitySchema = zod_1.z.object({
|
|
|
2140
2140
|
privacy_policy_acknowledged: zod_1.z.object({
|
|
2141
2141
|
brand_policy_url: zod_1.z.string().nullish(),
|
|
2142
2142
|
brand_policy_version: zod_1.z.string().nullish()
|
|
2143
|
-
}).nullish(),
|
|
2143
|
+
}).passthrough().nullish(),
|
|
2144
2144
|
user: zod_1.z.object({
|
|
2145
2145
|
email: zod_1.z.string().nullish(),
|
|
2146
2146
|
name: zod_1.z.string().nullish(),
|
|
@@ -2152,67 +2152,67 @@ exports.SIIdentitySchema = zod_1.z.object({
|
|
|
2152
2152
|
state: zod_1.z.string().nullish(),
|
|
2153
2153
|
postal_code: zod_1.z.string().nullish(),
|
|
2154
2154
|
country: zod_1.z.string().nullish()
|
|
2155
|
-
}).nullish()
|
|
2156
|
-
}).nullish(),
|
|
2155
|
+
}).passthrough().nullish()
|
|
2156
|
+
}).passthrough().nullish(),
|
|
2157
2157
|
anonymous_session_id: zod_1.z.string().nullish()
|
|
2158
|
-
});
|
|
2158
|
+
}).passthrough();
|
|
2159
2159
|
exports.SICapabilitiesSchema = zod_1.z.object({
|
|
2160
2160
|
modalities: zod_1.z.object({
|
|
2161
2161
|
conversational: zod_1.z.boolean().nullish(),
|
|
2162
2162
|
voice: zod_1.z.union([zod_1.z.boolean(), zod_1.z.object({
|
|
2163
2163
|
provider: zod_1.z.string().nullish(),
|
|
2164
2164
|
voice_id: zod_1.z.string().nullish()
|
|
2165
|
-
})]).nullish(),
|
|
2165
|
+
}).passthrough()]).nullish(),
|
|
2166
2166
|
video: zod_1.z.union([zod_1.z.boolean(), zod_1.z.object({
|
|
2167
2167
|
formats: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2168
2168
|
max_duration_seconds: zod_1.z.number().nullish()
|
|
2169
|
-
})]).nullish(),
|
|
2169
|
+
}).passthrough()]).nullish(),
|
|
2170
2170
|
avatar: zod_1.z.union([zod_1.z.boolean(), zod_1.z.object({
|
|
2171
2171
|
provider: zod_1.z.string().nullish(),
|
|
2172
2172
|
avatar_id: zod_1.z.string().nullish()
|
|
2173
|
-
})]).nullish()
|
|
2174
|
-
}).nullish(),
|
|
2173
|
+
}).passthrough()]).nullish()
|
|
2174
|
+
}).passthrough().nullish(),
|
|
2175
2175
|
components: zod_1.z.object({
|
|
2176
2176
|
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(),
|
|
2177
|
-
extensions: zod_1.z.object({}).nullish()
|
|
2178
|
-
}).nullish(),
|
|
2177
|
+
extensions: zod_1.z.object({}).passthrough().nullish()
|
|
2178
|
+
}).passthrough().nullish(),
|
|
2179
2179
|
commerce: zod_1.z.object({
|
|
2180
2180
|
acp_checkout: zod_1.z.boolean().nullish()
|
|
2181
|
-
}).nullish(),
|
|
2181
|
+
}).passthrough().nullish(),
|
|
2182
2182
|
a2ui: zod_1.z.object({
|
|
2183
2183
|
supported: zod_1.z.boolean().nullish(),
|
|
2184
2184
|
catalogs: zod_1.z.array(zod_1.z.string()).nullish()
|
|
2185
|
-
}).nullish(),
|
|
2185
|
+
}).passthrough().nullish(),
|
|
2186
2186
|
mcp_apps: zod_1.z.boolean().nullish()
|
|
2187
|
-
});
|
|
2187
|
+
}).passthrough();
|
|
2188
2188
|
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.object({
|
|
2189
2189
|
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")]),
|
|
2190
|
-
data: zod_1.z.object({}).nullish()
|
|
2191
|
-
}));
|
|
2190
|
+
data: zod_1.z.object({}).passthrough().nullish()
|
|
2191
|
+
}).passthrough());
|
|
2192
2192
|
exports.SIInitiateSessionResponseSchema = zod_1.z.object({
|
|
2193
2193
|
session_id: zod_1.z.string(),
|
|
2194
2194
|
response: zod_1.z.object({
|
|
2195
2195
|
message: zod_1.z.string().nullish(),
|
|
2196
2196
|
ui_elements: zod_1.z.array(exports.SIUIElementSchema).nullish()
|
|
2197
|
-
}).nullish(),
|
|
2197
|
+
}).passthrough().nullish(),
|
|
2198
2198
|
negotiated_capabilities: exports.SICapabilitiesSchema.nullish(),
|
|
2199
2199
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
2200
2200
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2201
|
-
});
|
|
2201
|
+
}).passthrough();
|
|
2202
2202
|
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({
|
|
2203
2203
|
session_id: zod_1.z.string(),
|
|
2204
2204
|
message: zod_1.z.string().nullish(),
|
|
2205
2205
|
action_response: zod_1.z.object({
|
|
2206
2206
|
action: zod_1.z.string().nullish(),
|
|
2207
|
-
payload: zod_1.z.object({}).nullish()
|
|
2208
|
-
}).nullish(),
|
|
2207
|
+
payload: zod_1.z.object({}).passthrough().nullish()
|
|
2208
|
+
}).passthrough().nullish(),
|
|
2209
2209
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2210
|
-
}));
|
|
2210
|
+
}).passthrough());
|
|
2211
2211
|
exports.A2UIComponentSchema = zod_1.z.object({
|
|
2212
2212
|
id: zod_1.z.string(),
|
|
2213
2213
|
parentId: zod_1.z.string().nullish(),
|
|
2214
|
-
component: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.object({}), zod_1.z.undefined()]))
|
|
2215
|
-
});
|
|
2214
|
+
component: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.object({}).passthrough(), zod_1.z.undefined()]))
|
|
2215
|
+
}).passthrough();
|
|
2216
2216
|
exports.SITerminateSessionRequestSchema = zod_1.z.object({
|
|
2217
2217
|
session_id: zod_1.z.string(),
|
|
2218
2218
|
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")]),
|
|
@@ -2220,37 +2220,37 @@ exports.SITerminateSessionRequestSchema = zod_1.z.object({
|
|
|
2220
2220
|
summary: zod_1.z.string().nullish(),
|
|
2221
2221
|
transaction_intent: zod_1.z.object({
|
|
2222
2222
|
action: zod_1.z.union([zod_1.z.literal("purchase"), zod_1.z.literal("subscribe")]).nullish(),
|
|
2223
|
-
product: zod_1.z.object({}).nullish()
|
|
2224
|
-
}).nullish(),
|
|
2223
|
+
product: zod_1.z.object({}).passthrough().nullish()
|
|
2224
|
+
}).passthrough().nullish(),
|
|
2225
2225
|
cause: zod_1.z.string().nullish()
|
|
2226
|
-
}).nullish(),
|
|
2226
|
+
}).passthrough().nullish(),
|
|
2227
2227
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2228
|
-
});
|
|
2228
|
+
}).passthrough();
|
|
2229
2229
|
exports.SITerminateSessionResponseSchema = zod_1.z.object({
|
|
2230
2230
|
session_id: zod_1.z.string(),
|
|
2231
2231
|
terminated: zod_1.z.boolean(),
|
|
2232
2232
|
acp_handoff: zod_1.z.object({
|
|
2233
2233
|
checkout_url: zod_1.z.string().nullish(),
|
|
2234
2234
|
checkout_token: zod_1.z.string().nullish(),
|
|
2235
|
-
product: zod_1.z.object({}).nullish()
|
|
2236
|
-
}).nullish(),
|
|
2235
|
+
product: zod_1.z.object({}).passthrough().nullish()
|
|
2236
|
+
}).passthrough().nullish(),
|
|
2237
2237
|
follow_up: zod_1.z.object({
|
|
2238
2238
|
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(),
|
|
2239
|
-
data: zod_1.z.object({}).nullish()
|
|
2240
|
-
}).nullish(),
|
|
2239
|
+
data: zod_1.z.object({}).passthrough().nullish()
|
|
2240
|
+
}).passthrough().nullish(),
|
|
2241
2241
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
2242
2242
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2243
|
-
});
|
|
2243
|
+
}).passthrough();
|
|
2244
2244
|
exports.GetAdCPCapabilitiesRequestSchema = zod_1.z.object({
|
|
2245
2245
|
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"), zod_1.z.literal("creative")])).nullish(),
|
|
2246
2246
|
context: exports.ContextObjectSchema.nullish(),
|
|
2247
2247
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2248
|
-
});
|
|
2248
|
+
}).passthrough();
|
|
2249
2249
|
exports.TransportModeSchema = zod_1.z.union([zod_1.z.literal("walking"), zod_1.z.literal("cycling"), zod_1.z.literal("driving"), zod_1.z.literal("public_transport")]);
|
|
2250
2250
|
exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
2251
2251
|
adcp: zod_1.z.object({
|
|
2252
2252
|
major_versions: zod_1.z.array(zod_1.z.number())
|
|
2253
|
-
}),
|
|
2253
|
+
}).passthrough(),
|
|
2254
2254
|
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"), zod_1.z.literal("creative")])),
|
|
2255
2255
|
account: zod_1.z.object({
|
|
2256
2256
|
account_resolution: zod_1.z.union([zod_1.z.literal("explicit_account_id"), zod_1.z.literal("implicit_from_sync")]).nullish(),
|
|
@@ -2259,7 +2259,7 @@ exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
|
2259
2259
|
supported_billing: zod_1.z.array(zod_1.z.union([zod_1.z.literal("operator"), zod_1.z.literal("agent")])),
|
|
2260
2260
|
required_for_products: zod_1.z.boolean().nullish(),
|
|
2261
2261
|
account_financials: zod_1.z.boolean().nullish()
|
|
2262
|
-
}).nullish(),
|
|
2262
|
+
}).passthrough().nullish(),
|
|
2263
2263
|
media_buy: zod_1.z.object({
|
|
2264
2264
|
supported_pricing_models: zod_1.z.array(exports.PricingModelSchema).nullish(),
|
|
2265
2265
|
reporting: zod_1.z.object({
|
|
@@ -2267,7 +2267,7 @@ exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
|
2267
2267
|
supports_daily_breakdown: zod_1.z.boolean().nullish(),
|
|
2268
2268
|
supports_webhooks: zod_1.z.boolean().nullish(),
|
|
2269
2269
|
available_dimensions: zod_1.z.array(zod_1.z.union([zod_1.z.literal("geo"), zod_1.z.literal("device_type"), zod_1.z.literal("device_platform"), zod_1.z.literal("audience"), zod_1.z.literal("placement"), zod_1.z.literal("creative"), zod_1.z.literal("keyword"), zod_1.z.literal("catalog_item")])).nullish()
|
|
2270
|
-
}).nullish(),
|
|
2270
|
+
}).passthrough().nullish(),
|
|
2271
2271
|
features: exports.MediaBuyFeaturesSchema.nullish(),
|
|
2272
2272
|
execution: zod_1.z.object({
|
|
2273
2273
|
axe_integrations: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
@@ -2276,7 +2276,7 @@ exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
|
2276
2276
|
mraid_versions: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2277
2277
|
vpaid: zod_1.z.boolean().nullish(),
|
|
2278
2278
|
simid: zod_1.z.boolean().nullish()
|
|
2279
|
-
}).nullish(),
|
|
2279
|
+
}).passthrough().nullish(),
|
|
2280
2280
|
targeting: zod_1.z.object({
|
|
2281
2281
|
geo_countries: zod_1.z.boolean().nullish(),
|
|
2282
2282
|
geo_regions: zod_1.z.boolean().nullish(),
|
|
@@ -2285,7 +2285,7 @@ exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
|
2285
2285
|
uk_itl1: zod_1.z.boolean().nullish(),
|
|
2286
2286
|
uk_itl2: zod_1.z.boolean().nullish(),
|
|
2287
2287
|
eurostat_nuts2: zod_1.z.boolean().nullish()
|
|
2288
|
-
}).nullish(),
|
|
2288
|
+
}).passthrough().nullish(),
|
|
2289
2289
|
geo_postal_areas: zod_1.z.object({
|
|
2290
2290
|
us_zip: zod_1.z.boolean().nullish(),
|
|
2291
2291
|
us_zip_plus_four: zod_1.z.boolean().nullish(),
|
|
@@ -2298,11 +2298,11 @@ exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
|
2298
2298
|
au_postcode: zod_1.z.boolean().nullish(),
|
|
2299
2299
|
ch_plz: zod_1.z.boolean().nullish(),
|
|
2300
2300
|
at_plz: zod_1.z.boolean().nullish()
|
|
2301
|
-
}).nullish(),
|
|
2301
|
+
}).passthrough().nullish(),
|
|
2302
2302
|
age_restriction: zod_1.z.object({
|
|
2303
2303
|
supported: zod_1.z.boolean().nullish(),
|
|
2304
2304
|
verification_methods: zod_1.z.array(exports.AgeVerificationMethodSchema).nullish()
|
|
2305
|
-
}).nullish(),
|
|
2305
|
+
}).passthrough().nullish(),
|
|
2306
2306
|
device_platform: zod_1.z.boolean().nullish(),
|
|
2307
2307
|
device_type: zod_1.z.boolean().nullish(),
|
|
2308
2308
|
language: zod_1.z.boolean().nullish(),
|
|
@@ -2310,18 +2310,18 @@ exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
|
2310
2310
|
audience_exclude: zod_1.z.boolean().nullish(),
|
|
2311
2311
|
keyword_targets: zod_1.z.object({
|
|
2312
2312
|
supported_match_types: zod_1.z.array(zod_1.z.union([zod_1.z.literal("broad"), zod_1.z.literal("phrase"), zod_1.z.literal("exact")]))
|
|
2313
|
-
}).nullish(),
|
|
2313
|
+
}).passthrough().nullish(),
|
|
2314
2314
|
negative_keywords: zod_1.z.object({
|
|
2315
2315
|
supported_match_types: zod_1.z.array(zod_1.z.union([zod_1.z.literal("broad"), zod_1.z.literal("phrase"), zod_1.z.literal("exact")]))
|
|
2316
|
-
}).nullish(),
|
|
2316
|
+
}).passthrough().nullish(),
|
|
2317
2317
|
geo_proximity: zod_1.z.object({
|
|
2318
2318
|
radius: zod_1.z.boolean().nullish(),
|
|
2319
2319
|
travel_time: zod_1.z.boolean().nullish(),
|
|
2320
2320
|
geometry: zod_1.z.boolean().nullish(),
|
|
2321
2321
|
transport_modes: zod_1.z.array(exports.TransportModeSchema).nullish()
|
|
2322
|
-
}).nullish()
|
|
2323
|
-
}).nullish()
|
|
2324
|
-
}).nullish(),
|
|
2322
|
+
}).passthrough().nullish()
|
|
2323
|
+
}).passthrough().nullish()
|
|
2324
|
+
}).passthrough().nullish(),
|
|
2325
2325
|
audience_targeting: zod_1.z.object({
|
|
2326
2326
|
supported_identifier_types: zod_1.z.array(zod_1.z.union([zod_1.z.literal("hashed_email"), zod_1.z.literal("hashed_phone")])),
|
|
2327
2327
|
supports_platform_customer_id: zod_1.z.boolean().nullish(),
|
|
@@ -2330,8 +2330,8 @@ exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
|
2330
2330
|
matching_latency_hours: zod_1.z.object({
|
|
2331
2331
|
min: zod_1.z.number().nullish(),
|
|
2332
2332
|
max: zod_1.z.number().nullish()
|
|
2333
|
-
}).nullish()
|
|
2334
|
-
}).nullish(),
|
|
2333
|
+
}).passthrough().nullish()
|
|
2334
|
+
}).passthrough().nullish(),
|
|
2335
2335
|
conversion_tracking: zod_1.z.object({
|
|
2336
2336
|
multi_source_event_dedup: zod_1.z.boolean().nullish(),
|
|
2337
2337
|
supported_event_types: zod_1.z.array(exports.EventTypeSchema).nullish(),
|
|
@@ -2342,22 +2342,22 @@ exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
|
2342
2342
|
event_type: exports.EventTypeSchema.nullish(),
|
|
2343
2343
|
post_click: zod_1.z.array(exports.DurationSchema),
|
|
2344
2344
|
post_view: zod_1.z.array(exports.DurationSchema).nullish()
|
|
2345
|
-
})).nullish()
|
|
2346
|
-
}).nullish(),
|
|
2345
|
+
}).passthrough()).nullish()
|
|
2346
|
+
}).passthrough().nullish(),
|
|
2347
2347
|
portfolio: zod_1.z.object({
|
|
2348
2348
|
publisher_domains: zod_1.z.array(zod_1.z.string()),
|
|
2349
2349
|
primary_channels: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
2350
2350
|
primary_countries: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2351
2351
|
description: zod_1.z.string().nullish(),
|
|
2352
2352
|
advertising_policies: zod_1.z.string().nullish()
|
|
2353
|
-
}).nullish()
|
|
2354
|
-
}).nullish(),
|
|
2353
|
+
}).passthrough().nullish()
|
|
2354
|
+
}).passthrough().nullish(),
|
|
2355
2355
|
signals: zod_1.z.object({
|
|
2356
2356
|
data_provider_domains: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2357
2357
|
features: 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({
|
|
2358
2358
|
catalog_signals: zod_1.z.boolean().nullish()
|
|
2359
|
-
})).nullish()
|
|
2360
|
-
}).nullish(),
|
|
2359
|
+
}).passthrough()).nullish()
|
|
2360
|
+
}).passthrough().nullish(),
|
|
2361
2361
|
governance: zod_1.z.object({
|
|
2362
2362
|
property_features: zod_1.z.array(zod_1.z.object({
|
|
2363
2363
|
feature_id: zod_1.z.string(),
|
|
@@ -2365,70 +2365,70 @@ exports.GetAdCPCapabilitiesResponseSchema = zod_1.z.object({
|
|
|
2365
2365
|
range: zod_1.z.object({
|
|
2366
2366
|
min: zod_1.z.number(),
|
|
2367
2367
|
max: zod_1.z.number()
|
|
2368
|
-
}).nullish(),
|
|
2368
|
+
}).passthrough().nullish(),
|
|
2369
2369
|
categories: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2370
2370
|
description: zod_1.z.string().nullish(),
|
|
2371
2371
|
methodology_url: zod_1.z.string().nullish()
|
|
2372
|
-
})).nullish(),
|
|
2372
|
+
}).passthrough()).nullish(),
|
|
2373
2373
|
creative_features: zod_1.z.array(zod_1.z.object({
|
|
2374
2374
|
feature_id: zod_1.z.string(),
|
|
2375
2375
|
type: zod_1.z.union([zod_1.z.literal("binary"), zod_1.z.literal("quantitative"), zod_1.z.literal("categorical")]),
|
|
2376
2376
|
range: zod_1.z.object({
|
|
2377
2377
|
min: zod_1.z.number(),
|
|
2378
2378
|
max: zod_1.z.number()
|
|
2379
|
-
}).nullish(),
|
|
2379
|
+
}).passthrough().nullish(),
|
|
2380
2380
|
categories: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2381
2381
|
description: zod_1.z.string().nullish(),
|
|
2382
2382
|
methodology_url: zod_1.z.string().nullish()
|
|
2383
|
-
})).nullish()
|
|
2384
|
-
}).nullish(),
|
|
2383
|
+
}).passthrough()).nullish()
|
|
2384
|
+
}).passthrough().nullish(),
|
|
2385
2385
|
sponsored_intelligence: zod_1.z.object({
|
|
2386
2386
|
endpoint: zod_1.z.object({
|
|
2387
2387
|
transports: zod_1.z.array(zod_1.z.object({
|
|
2388
2388
|
type: zod_1.z.union([zod_1.z.literal("mcp"), zod_1.z.literal("a2a")]),
|
|
2389
2389
|
url: zod_1.z.string()
|
|
2390
|
-
})),
|
|
2390
|
+
}).passthrough()),
|
|
2391
2391
|
preferred: zod_1.z.union([zod_1.z.literal("mcp"), zod_1.z.literal("a2a")]).nullish()
|
|
2392
|
-
}),
|
|
2392
|
+
}).passthrough(),
|
|
2393
2393
|
capabilities: exports.SICapabilitiesSchema,
|
|
2394
2394
|
brand_url: zod_1.z.string().nullish()
|
|
2395
|
-
}).nullish(),
|
|
2395
|
+
}).passthrough().nullish(),
|
|
2396
2396
|
creative: zod_1.z.object({
|
|
2397
2397
|
supports_compliance: zod_1.z.boolean().nullish()
|
|
2398
|
-
}).nullish(),
|
|
2398
|
+
}).passthrough().nullish(),
|
|
2399
2399
|
extensions_supported: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2400
2400
|
last_updated: zod_1.z.string().nullish(),
|
|
2401
2401
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
2402
2402
|
context: exports.ContextObjectSchema.nullish(),
|
|
2403
2403
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2404
|
-
});
|
|
2404
|
+
}).passthrough();
|
|
2405
2405
|
exports.ListAccountsRequestSchema = zod_1.z.object({
|
|
2406
2406
|
status: zod_1.z.union([zod_1.z.literal("active"), zod_1.z.literal("pending_approval"), zod_1.z.literal("rejected"), zod_1.z.literal("payment_required"), zod_1.z.literal("suspended"), zod_1.z.literal("closed")]).nullish(),
|
|
2407
2407
|
pagination: exports.PaginationRequestSchema.nullish(),
|
|
2408
2408
|
sandbox: zod_1.z.boolean().nullish(),
|
|
2409
2409
|
context: exports.ContextObjectSchema.nullish(),
|
|
2410
2410
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2411
|
-
});
|
|
2411
|
+
}).passthrough();
|
|
2412
2412
|
exports.ListAccountsResponseSchema = zod_1.z.object({
|
|
2413
2413
|
accounts: zod_1.z.array(exports.AccountSchema),
|
|
2414
2414
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
2415
2415
|
pagination: exports.PaginationResponseSchema.nullish(),
|
|
2416
2416
|
context: exports.ContextObjectSchema.nullish(),
|
|
2417
2417
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2418
|
-
});
|
|
2418
|
+
}).passthrough();
|
|
2419
2419
|
exports.SyncAccountsRequestSchema = zod_1.z.object({
|
|
2420
2420
|
accounts: zod_1.z.array(zod_1.z.object({
|
|
2421
2421
|
brand: exports.BrandReferenceSchema,
|
|
2422
2422
|
operator: zod_1.z.string(),
|
|
2423
2423
|
billing: zod_1.z.union([zod_1.z.literal("operator"), zod_1.z.literal("agent")]),
|
|
2424
2424
|
sandbox: zod_1.z.boolean().nullish()
|
|
2425
|
-
})),
|
|
2425
|
+
}).passthrough()),
|
|
2426
2426
|
delete_missing: zod_1.z.boolean().nullish(),
|
|
2427
2427
|
dry_run: zod_1.z.boolean().nullish(),
|
|
2428
2428
|
push_notification_config: exports.PushNotificationConfigSchema.nullish(),
|
|
2429
2429
|
context: exports.ContextObjectSchema.nullish(),
|
|
2430
2430
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2431
|
-
});
|
|
2431
|
+
}).passthrough();
|
|
2432
2432
|
exports.SyncAccountsSuccessSchema = zod_1.z.object({
|
|
2433
2433
|
dry_run: zod_1.z.boolean().nullish(),
|
|
2434
2434
|
accounts: zod_1.z.array(zod_1.z.object({
|
|
@@ -2443,25 +2443,25 @@ exports.SyncAccountsSuccessSchema = zod_1.z.object({
|
|
|
2443
2443
|
url: zod_1.z.string().nullish(),
|
|
2444
2444
|
message: zod_1.z.string(),
|
|
2445
2445
|
expires_at: zod_1.z.string().nullish()
|
|
2446
|
-
}).nullish(),
|
|
2446
|
+
}).passthrough().nullish(),
|
|
2447
2447
|
rate_card: zod_1.z.string().nullish(),
|
|
2448
2448
|
payment_terms: zod_1.z.string().nullish(),
|
|
2449
2449
|
credit_limit: zod_1.z.object({
|
|
2450
2450
|
amount: zod_1.z.number(),
|
|
2451
2451
|
currency: zod_1.z.string()
|
|
2452
|
-
}).nullish(),
|
|
2452
|
+
}).passthrough().nullish(),
|
|
2453
2453
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
2454
2454
|
warnings: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2455
2455
|
sandbox: zod_1.z.boolean().nullish()
|
|
2456
|
-
})),
|
|
2456
|
+
}).passthrough()),
|
|
2457
2457
|
context: exports.ContextObjectSchema.nullish(),
|
|
2458
2458
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2459
|
-
});
|
|
2459
|
+
}).passthrough();
|
|
2460
2460
|
exports.SyncAccountsErrorSchema = zod_1.z.object({
|
|
2461
2461
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
2462
2462
|
context: exports.ContextObjectSchema.nullish(),
|
|
2463
2463
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2464
|
-
});
|
|
2464
|
+
}).passthrough();
|
|
2465
2465
|
exports.ReportUsageRequestSchema = zod_1.z.object({
|
|
2466
2466
|
idempotency_key: zod_1.z.string().nullish(),
|
|
2467
2467
|
reporting_period: exports.DatetimeRangeSchema,
|
|
@@ -2475,21 +2475,21 @@ exports.ReportUsageRequestSchema = zod_1.z.object({
|
|
|
2475
2475
|
media_spend: zod_1.z.number().nullish(),
|
|
2476
2476
|
signal_agent_segment_id: zod_1.z.string().nullish(),
|
|
2477
2477
|
standards_id: zod_1.z.string().nullish()
|
|
2478
|
-
})),
|
|
2478
|
+
}).passthrough()),
|
|
2479
2479
|
context: exports.ContextObjectSchema.nullish(),
|
|
2480
2480
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2481
|
-
});
|
|
2481
|
+
}).passthrough();
|
|
2482
2482
|
exports.ReportUsageResponseSchema = zod_1.z.object({
|
|
2483
2483
|
accepted: zod_1.z.number(),
|
|
2484
2484
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
2485
2485
|
sandbox: zod_1.z.boolean().nullish(),
|
|
2486
2486
|
context: exports.ContextObjectSchema.nullish(),
|
|
2487
2487
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2488
|
-
});
|
|
2488
|
+
}).passthrough();
|
|
2489
2489
|
exports.DateRangeSchema = zod_1.z.object({
|
|
2490
2490
|
start: zod_1.z.string(),
|
|
2491
2491
|
end: zod_1.z.string()
|
|
2492
|
-
});
|
|
2492
|
+
}).passthrough();
|
|
2493
2493
|
exports.GetAccountFinancialsSuccessSchema = zod_1.z.object({
|
|
2494
2494
|
account: exports.AccountReferenceSchema,
|
|
2495
2495
|
currency: zod_1.z.string(),
|
|
@@ -2498,19 +2498,19 @@ exports.GetAccountFinancialsSuccessSchema = zod_1.z.object({
|
|
|
2498
2498
|
spend: zod_1.z.object({
|
|
2499
2499
|
total_spend: zod_1.z.number(),
|
|
2500
2500
|
media_buy_count: zod_1.z.number().nullish()
|
|
2501
|
-
}).nullish(),
|
|
2501
|
+
}).passthrough().nullish(),
|
|
2502
2502
|
credit: zod_1.z.object({
|
|
2503
2503
|
credit_limit: zod_1.z.number(),
|
|
2504
2504
|
available_credit: zod_1.z.number(),
|
|
2505
2505
|
utilization_percent: zod_1.z.number().nullish()
|
|
2506
|
-
}).nullish(),
|
|
2506
|
+
}).passthrough().nullish(),
|
|
2507
2507
|
balance: zod_1.z.object({
|
|
2508
2508
|
available: zod_1.z.number(),
|
|
2509
2509
|
last_top_up: zod_1.z.object({
|
|
2510
2510
|
amount: zod_1.z.number(),
|
|
2511
2511
|
date: zod_1.z.string()
|
|
2512
|
-
}).nullish()
|
|
2513
|
-
}).nullish(),
|
|
2512
|
+
}).passthrough().nullish()
|
|
2513
|
+
}).passthrough().nullish(),
|
|
2514
2514
|
payment_status: zod_1.z.union([zod_1.z.literal("current"), zod_1.z.literal("past_due"), zod_1.z.literal("suspended")]).nullish(),
|
|
2515
2515
|
payment_terms: zod_1.z.string().nullish(),
|
|
2516
2516
|
invoices: zod_1.z.array(zod_1.z.object({
|
|
@@ -2520,15 +2520,15 @@ exports.GetAccountFinancialsSuccessSchema = zod_1.z.object({
|
|
|
2520
2520
|
status: zod_1.z.union([zod_1.z.literal("draft"), zod_1.z.literal("issued"), zod_1.z.literal("paid"), zod_1.z.literal("past_due"), zod_1.z.literal("void")]),
|
|
2521
2521
|
due_date: zod_1.z.string().nullish(),
|
|
2522
2522
|
paid_date: zod_1.z.string().nullish()
|
|
2523
|
-
})).nullish(),
|
|
2523
|
+
}).passthrough()).nullish(),
|
|
2524
2524
|
context: exports.ContextObjectSchema.nullish(),
|
|
2525
2525
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2526
|
-
});
|
|
2526
|
+
}).passthrough();
|
|
2527
2527
|
exports.GetAccountFinancialsErrorSchema = zod_1.z.object({
|
|
2528
2528
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
2529
2529
|
context: exports.ContextObjectSchema.nullish(),
|
|
2530
2530
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2531
|
-
});
|
|
2531
|
+
}).passthrough();
|
|
2532
2532
|
exports.MediaBuySchema = zod_1.z.object({
|
|
2533
2533
|
media_buy_id: zod_1.z.string(),
|
|
2534
2534
|
buyer_ref: zod_1.z.string().nullish(),
|
|
@@ -2542,7 +2542,7 @@ exports.MediaBuySchema = zod_1.z.object({
|
|
|
2542
2542
|
created_at: zod_1.z.string().nullish(),
|
|
2543
2543
|
updated_at: zod_1.z.string().nullish(),
|
|
2544
2544
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2545
|
-
});
|
|
2545
|
+
}).passthrough();
|
|
2546
2546
|
exports.ProductSchema = zod_1.z.object({
|
|
2547
2547
|
product_id: zod_1.z.string(),
|
|
2548
2548
|
name: zod_1.z.string(),
|
|
@@ -2558,7 +2558,7 @@ exports.ProductSchema = zod_1.z.object({
|
|
|
2558
2558
|
delivery_measurement: zod_1.z.object({
|
|
2559
2559
|
provider: zod_1.z.string(),
|
|
2560
2560
|
notes: zod_1.z.string().nullish()
|
|
2561
|
-
}),
|
|
2561
|
+
}).passthrough(),
|
|
2562
2562
|
reporting_capabilities: exports.ReportingCapabilitiesSchema.nullish(),
|
|
2563
2563
|
creative_policy: exports.CreativePolicySchema.nullish(),
|
|
2564
2564
|
is_custom: zod_1.z.boolean().nullish(),
|
|
@@ -2571,38 +2571,38 @@ exports.ProductSchema = zod_1.z.object({
|
|
|
2571
2571
|
supported_reach_units: zod_1.z.array(exports.ReachUnitSchema).nullish(),
|
|
2572
2572
|
supported_view_durations: zod_1.z.array(zod_1.z.number()).nullish(),
|
|
2573
2573
|
supported_targets: zod_1.z.array(zod_1.z.union([zod_1.z.literal("cost_per"), zod_1.z.literal("threshold_rate")])).nullish()
|
|
2574
|
-
}).nullish(),
|
|
2574
|
+
}).passthrough().nullish(),
|
|
2575
2575
|
max_optimization_goals: zod_1.z.number().nullish(),
|
|
2576
2576
|
conversion_tracking: zod_1.z.object({
|
|
2577
2577
|
action_sources: zod_1.z.array(exports.ActionSourceSchema).nullish(),
|
|
2578
2578
|
supported_targets: zod_1.z.array(zod_1.z.union([zod_1.z.literal("cost_per"), zod_1.z.literal("per_ad_spend"), zod_1.z.literal("maximize_value")])).nullish(),
|
|
2579
2579
|
platform_managed: zod_1.z.boolean().nullish()
|
|
2580
|
-
}).nullish(),
|
|
2580
|
+
}).passthrough().nullish(),
|
|
2581
2581
|
catalog_match: zod_1.z.object({
|
|
2582
2582
|
matched_gtins: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2583
2583
|
matched_ids: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2584
2584
|
matched_count: zod_1.z.number().nullish(),
|
|
2585
2585
|
submitted_count: zod_1.z.number()
|
|
2586
|
-
}).nullish(),
|
|
2586
|
+
}).passthrough().nullish(),
|
|
2587
2587
|
brief_relevance: zod_1.z.string().nullish(),
|
|
2588
2588
|
expires_at: zod_1.z.string().nullish(),
|
|
2589
2589
|
product_card: zod_1.z.object({
|
|
2590
2590
|
format_id: exports.FormatIDSchema,
|
|
2591
|
-
manifest: zod_1.z.object({})
|
|
2592
|
-
}).nullish(),
|
|
2591
|
+
manifest: zod_1.z.object({}).passthrough()
|
|
2592
|
+
}).passthrough().nullish(),
|
|
2593
2593
|
product_card_detailed: zod_1.z.object({
|
|
2594
2594
|
format_id: exports.FormatIDSchema,
|
|
2595
|
-
manifest: zod_1.z.object({})
|
|
2596
|
-
}).nullish(),
|
|
2595
|
+
manifest: zod_1.z.object({}).passthrough()
|
|
2596
|
+
}).passthrough().nullish(),
|
|
2597
2597
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2598
|
-
});
|
|
2598
|
+
}).passthrough();
|
|
2599
2599
|
exports.GetProductsAsyncInputRequiredSchema = zod_1.z.object({
|
|
2600
2600
|
reason: zod_1.z.union([zod_1.z.literal("CLARIFICATION_NEEDED"), zod_1.z.literal("BUDGET_REQUIRED")]).nullish(),
|
|
2601
2601
|
partial_results: zod_1.z.array(exports.ProductSchema).nullish(),
|
|
2602
2602
|
suggestions: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2603
2603
|
context: exports.ContextObjectSchema.nullish(),
|
|
2604
2604
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2605
|
-
});
|
|
2605
|
+
}).passthrough();
|
|
2606
2606
|
exports.UpdateMediaBuyResponseSchema = zod_1.z.union([exports.UpdateMediaBuySuccessSchema, exports.UpdateMediaBuyErrorSchema]);
|
|
2607
2607
|
exports.CreateMediaBuySuccessSchema = zod_1.z.object({
|
|
2608
2608
|
media_buy_id: zod_1.z.string(),
|
|
@@ -2614,7 +2614,7 @@ exports.CreateMediaBuySuccessSchema = zod_1.z.object({
|
|
|
2614
2614
|
sandbox: zod_1.z.boolean().nullish(),
|
|
2615
2615
|
context: exports.ContextObjectSchema.nullish(),
|
|
2616
2616
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2617
|
-
});
|
|
2617
|
+
}).passthrough();
|
|
2618
2618
|
exports.ProposalSchema = zod_1.z.object({
|
|
2619
2619
|
proposal_id: zod_1.z.string(),
|
|
2620
2620
|
name: zod_1.z.string(),
|
|
@@ -2626,11 +2626,11 @@ exports.ProposalSchema = zod_1.z.object({
|
|
|
2626
2626
|
recommended: zod_1.z.number().nullish(),
|
|
2627
2627
|
max: zod_1.z.number().nullish(),
|
|
2628
2628
|
currency: zod_1.z.string().nullish()
|
|
2629
|
-
}).nullish(),
|
|
2629
|
+
}).passthrough().nullish(),
|
|
2630
2630
|
brief_alignment: zod_1.z.string().nullish(),
|
|
2631
2631
|
forecast: exports.DeliveryForecastSchema.nullish(),
|
|
2632
2632
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2633
|
-
});
|
|
2633
|
+
}).passthrough();
|
|
2634
2634
|
exports.ProductFiltersSchema = zod_1.z.object({
|
|
2635
2635
|
delivery_type: exports.DeliveryTypeSchema.nullish(),
|
|
2636
2636
|
is_fixed_price: zod_1.z.boolean().nullish(),
|
|
@@ -2646,16 +2646,16 @@ exports.ProductFiltersSchema = zod_1.z.object({
|
|
|
2646
2646
|
metros: zod_1.z.array(zod_1.z.object({
|
|
2647
2647
|
system: exports.MetroAreaSystemSchema,
|
|
2648
2648
|
code: zod_1.z.string()
|
|
2649
|
-
})).nullish(),
|
|
2649
|
+
}).passthrough()).nullish(),
|
|
2650
2650
|
channels: zod_1.z.array(exports.MediaChannelSchema).nullish(),
|
|
2651
2651
|
required_axe_integrations: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
2652
2652
|
required_features: exports.MediaBuyFeaturesSchema.nullish(),
|
|
2653
2653
|
required_geo_targeting: zod_1.z.array(zod_1.z.object({
|
|
2654
2654
|
level: exports.GeographicTargetingLevelSchema,
|
|
2655
2655
|
system: zod_1.z.string().nullish()
|
|
2656
|
-
})).nullish(),
|
|
2656
|
+
}).passthrough()).nullish(),
|
|
2657
2657
|
signal_targeting: zod_1.z.array(exports.SignalTargetingSchema).nullish()
|
|
2658
|
-
});
|
|
2658
|
+
}).passthrough();
|
|
2659
2659
|
exports.GetProductsResponseSchema = zod_1.z.object({
|
|
2660
2660
|
products: zod_1.z.array(exports.ProductSchema),
|
|
2661
2661
|
proposals: zod_1.z.array(exports.ProposalSchema).nullish(),
|
|
@@ -2667,19 +2667,24 @@ exports.GetProductsResponseSchema = zod_1.z.object({
|
|
|
2667
2667
|
id: zod_1.z.string().nullish(),
|
|
2668
2668
|
status: zod_1.z.union([zod_1.z.literal("applied"), zod_1.z.literal("partial"), zod_1.z.literal("unable")]),
|
|
2669
2669
|
notes: zod_1.z.string().nullish()
|
|
2670
|
-
})).nullish(),
|
|
2670
|
+
}).passthrough()).nullish(),
|
|
2671
|
+
incomplete: zod_1.z.array(zod_1.z.object({
|
|
2672
|
+
scope: zod_1.z.union([zod_1.z.literal("products"), zod_1.z.literal("pricing"), zod_1.z.literal("forecast"), zod_1.z.literal("proposals")]),
|
|
2673
|
+
description: zod_1.z.string(),
|
|
2674
|
+
estimated_wait: exports.DurationSchema.nullish()
|
|
2675
|
+
}).passthrough()).nullish(),
|
|
2671
2676
|
pagination: exports.PaginationResponseSchema.nullish(),
|
|
2672
2677
|
sandbox: zod_1.z.boolean().nullish(),
|
|
2673
2678
|
context: exports.ContextObjectSchema.nullish(),
|
|
2674
2679
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2675
|
-
});
|
|
2680
|
+
}).passthrough();
|
|
2676
2681
|
exports.BaseIndividualAssetSchema = zod_1.z.object({
|
|
2677
2682
|
item_type: zod_1.z.literal("individual"),
|
|
2678
2683
|
asset_id: zod_1.z.string(),
|
|
2679
2684
|
asset_role: zod_1.z.string().nullish(),
|
|
2680
2685
|
required: zod_1.z.boolean(),
|
|
2681
2686
|
overlays: zod_1.z.array(exports.OverlaySchema).nullish()
|
|
2682
|
-
});
|
|
2687
|
+
}).passthrough();
|
|
2683
2688
|
exports.PackageRequestSchema = zod_1.z.object({
|
|
2684
2689
|
buyer_ref: zod_1.z.string(),
|
|
2685
2690
|
product_id: zod_1.z.string(),
|
|
@@ -2696,7 +2701,7 @@ exports.PackageRequestSchema = zod_1.z.object({
|
|
|
2696
2701
|
creative_assignments: zod_1.z.array(exports.CreativeAssignmentSchema).nullish(),
|
|
2697
2702
|
creatives: zod_1.z.array(exports.CreativeAssetSchema).nullish(),
|
|
2698
2703
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2699
|
-
});
|
|
2704
|
+
}).passthrough();
|
|
2700
2705
|
exports.CreateMediaBuyResponseSchema = zod_1.z.union([exports.CreateMediaBuySuccessSchema, exports.CreateMediaBuyErrorSchema]);
|
|
2701
2706
|
exports.SyncCreativesRequestSchema = zod_1.z.object({
|
|
2702
2707
|
account: exports.AccountReferenceSchema,
|
|
@@ -2707,7 +2712,7 @@ exports.SyncCreativesRequestSchema = zod_1.z.object({
|
|
|
2707
2712
|
package_id: zod_1.z.string(),
|
|
2708
2713
|
weight: zod_1.z.number().nullish(),
|
|
2709
2714
|
placement_ids: zod_1.z.array(zod_1.z.string()).nullish()
|
|
2710
|
-
})).nullish(),
|
|
2715
|
+
}).passthrough()).nullish(),
|
|
2711
2716
|
idempotency_key: zod_1.z.string().nullish(),
|
|
2712
2717
|
delete_missing: zod_1.z.boolean().nullish(),
|
|
2713
2718
|
dry_run: zod_1.z.boolean().nullish(),
|
|
@@ -2715,13 +2720,13 @@ exports.SyncCreativesRequestSchema = zod_1.z.object({
|
|
|
2715
2720
|
push_notification_config: exports.PushNotificationConfigSchema.nullish(),
|
|
2716
2721
|
context: exports.ContextObjectSchema.nullish(),
|
|
2717
2722
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2718
|
-
});
|
|
2723
|
+
}).passthrough();
|
|
2719
2724
|
exports.ListCreativesRequestSchema = zod_1.z.object({
|
|
2720
2725
|
filters: exports.CreativeFiltersSchema.nullish(),
|
|
2721
2726
|
sort: zod_1.z.object({
|
|
2722
2727
|
field: exports.CreativeSortFieldSchema.nullish(),
|
|
2723
2728
|
direction: exports.SortDirectionSchema.nullish()
|
|
2724
|
-
}).nullish(),
|
|
2729
|
+
}).passthrough().nullish(),
|
|
2725
2730
|
pagination: exports.PaginationRequestSchema.nullish(),
|
|
2726
2731
|
include_assignments: zod_1.z.boolean().nullish(),
|
|
2727
2732
|
include_performance: zod_1.z.boolean().nullish(),
|
|
@@ -2729,7 +2734,7 @@ exports.ListCreativesRequestSchema = zod_1.z.object({
|
|
|
2729
2734
|
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(),
|
|
2730
2735
|
context: exports.ContextObjectSchema.nullish(),
|
|
2731
2736
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2732
|
-
});
|
|
2737
|
+
}).passthrough();
|
|
2733
2738
|
exports.UpdateMediaBuyRequestSchema = zod_1.z.object({
|
|
2734
2739
|
media_buy_id: zod_1.z.string().nullish(),
|
|
2735
2740
|
buyer_ref: zod_1.z.string().nullish(),
|
|
@@ -2742,7 +2747,7 @@ exports.UpdateMediaBuyRequestSchema = zod_1.z.object({
|
|
|
2742
2747
|
idempotency_key: zod_1.z.string().nullish(),
|
|
2743
2748
|
context: exports.ContextObjectSchema.nullish(),
|
|
2744
2749
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2745
|
-
}).and(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])));
|
|
2750
|
+
}).passthrough().and(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])));
|
|
2746
2751
|
exports.GetMediaBuyDeliveryResponseSchema = zod_1.z.object({
|
|
2747
2752
|
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(),
|
|
2748
2753
|
partial_data: zod_1.z.boolean().nullish(),
|
|
@@ -2752,7 +2757,7 @@ exports.GetMediaBuyDeliveryResponseSchema = zod_1.z.object({
|
|
|
2752
2757
|
reporting_period: zod_1.z.object({
|
|
2753
2758
|
start: zod_1.z.string(),
|
|
2754
2759
|
end: zod_1.z.string()
|
|
2755
|
-
}),
|
|
2760
|
+
}).passthrough(),
|
|
2756
2761
|
currency: zod_1.z.string(),
|
|
2757
2762
|
attribution_window: exports.AttributionWindowSchema.nullish(),
|
|
2758
2763
|
aggregated_totals: zod_1.z.object({
|
|
@@ -2766,7 +2771,7 @@ exports.GetMediaBuyDeliveryResponseSchema = zod_1.z.object({
|
|
|
2766
2771
|
new_to_brand_rate: zod_1.z.number().nullish(),
|
|
2767
2772
|
cost_per_acquisition: zod_1.z.number().nullish(),
|
|
2768
2773
|
media_buy_count: zod_1.z.number()
|
|
2769
|
-
}).nullish(),
|
|
2774
|
+
}).passthrough().nullish(),
|
|
2770
2775
|
media_buy_deliveries: zod_1.z.array(zod_1.z.object({
|
|
2771
2776
|
media_buy_id: zod_1.z.string(),
|
|
2772
2777
|
buyer_ref: zod_1.z.string().nullish(),
|
|
@@ -2777,7 +2782,7 @@ exports.GetMediaBuyDeliveryResponseSchema = zod_1.z.object({
|
|
|
2777
2782
|
pricing_model: exports.PricingModelSchema.nullish(),
|
|
2778
2783
|
totals: exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
2779
2784
|
effective_rate: zod_1.z.number().nullish()
|
|
2780
|
-
})),
|
|
2785
|
+
}).passthrough()),
|
|
2781
2786
|
by_package: zod_1.z.array(exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
2782
2787
|
package_id: zod_1.z.string(),
|
|
2783
2788
|
buyer_ref: zod_1.z.string().nullish(),
|
|
@@ -2790,40 +2795,40 @@ exports.GetMediaBuyDeliveryResponseSchema = zod_1.z.object({
|
|
|
2790
2795
|
by_catalog_item: zod_1.z.array(exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
2791
2796
|
content_id: zod_1.z.string(),
|
|
2792
2797
|
content_id_type: exports.ContentIDTypeSchema.nullish()
|
|
2793
|
-
}))).nullish(),
|
|
2798
|
+
}).passthrough())).nullish(),
|
|
2794
2799
|
by_creative: zod_1.z.array(exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
2795
2800
|
creative_id: zod_1.z.string(),
|
|
2796
2801
|
weight: zod_1.z.number().nullish()
|
|
2797
|
-
}))).nullish(),
|
|
2802
|
+
}).passthrough())).nullish(),
|
|
2798
2803
|
by_keyword: zod_1.z.array(exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
2799
2804
|
keyword: zod_1.z.string(),
|
|
2800
2805
|
match_type: zod_1.z.union([zod_1.z.literal("broad"), zod_1.z.literal("phrase"), zod_1.z.literal("exact")])
|
|
2801
|
-
}))).nullish(),
|
|
2806
|
+
}).passthrough())).nullish(),
|
|
2802
2807
|
by_geo: zod_1.z.array(exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
2803
2808
|
geo_level: exports.GeographicTargetingLevelSchema,
|
|
2804
2809
|
system: zod_1.z.string().nullish(),
|
|
2805
2810
|
geo_code: zod_1.z.string(),
|
|
2806
2811
|
geo_name: zod_1.z.string().nullish()
|
|
2807
|
-
}))).nullish(),
|
|
2812
|
+
}).passthrough())).nullish(),
|
|
2808
2813
|
by_geo_truncated: zod_1.z.boolean().nullish(),
|
|
2809
2814
|
by_device_type: zod_1.z.array(exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
2810
2815
|
device_type: exports.DeviceTypeSchema
|
|
2811
|
-
}))).nullish(),
|
|
2816
|
+
}).passthrough())).nullish(),
|
|
2812
2817
|
by_device_type_truncated: zod_1.z.boolean().nullish(),
|
|
2813
2818
|
by_device_platform: zod_1.z.array(exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
2814
2819
|
device_platform: exports.DevicePlatformSchema
|
|
2815
|
-
}))).nullish(),
|
|
2820
|
+
}).passthrough())).nullish(),
|
|
2816
2821
|
by_device_platform_truncated: zod_1.z.boolean().nullish(),
|
|
2817
2822
|
by_audience: zod_1.z.array(exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
2818
2823
|
audience_id: zod_1.z.string(),
|
|
2819
2824
|
audience_source: exports.AudienceSourceSchema,
|
|
2820
2825
|
audience_name: zod_1.z.string().nullish()
|
|
2821
|
-
}))).nullish(),
|
|
2826
|
+
}).passthrough())).nullish(),
|
|
2822
2827
|
by_audience_truncated: zod_1.z.boolean().nullish(),
|
|
2823
2828
|
by_placement: zod_1.z.array(exports.DeliveryMetricsSchema.and(zod_1.z.object({
|
|
2824
2829
|
placement_id: zod_1.z.string(),
|
|
2825
2830
|
placement_name: zod_1.z.string().nullish()
|
|
2826
|
-
}))).nullish(),
|
|
2831
|
+
}).passthrough())).nullish(),
|
|
2827
2832
|
by_placement_truncated: zod_1.z.boolean().nullish(),
|
|
2828
2833
|
daily_breakdown: zod_1.z.array(zod_1.z.object({
|
|
2829
2834
|
date: zod_1.z.string(),
|
|
@@ -2833,8 +2838,8 @@ exports.GetMediaBuyDeliveryResponseSchema = zod_1.z.object({
|
|
|
2833
2838
|
conversion_value: zod_1.z.number().nullish(),
|
|
2834
2839
|
roas: zod_1.z.number().nullish(),
|
|
2835
2840
|
new_to_brand_rate: zod_1.z.number().nullish()
|
|
2836
|
-
})).nullish()
|
|
2837
|
-
}))),
|
|
2841
|
+
}).passthrough()).nullish()
|
|
2842
|
+
}).passthrough())),
|
|
2838
2843
|
daily_breakdown: zod_1.z.array(zod_1.z.object({
|
|
2839
2844
|
date: zod_1.z.string(),
|
|
2840
2845
|
impressions: zod_1.z.number(),
|
|
@@ -2843,13 +2848,13 @@ exports.GetMediaBuyDeliveryResponseSchema = zod_1.z.object({
|
|
|
2843
2848
|
conversion_value: zod_1.z.number().nullish(),
|
|
2844
2849
|
roas: zod_1.z.number().nullish(),
|
|
2845
2850
|
new_to_brand_rate: zod_1.z.number().nullish()
|
|
2846
|
-
})).nullish()
|
|
2847
|
-
})),
|
|
2851
|
+
}).passthrough()).nullish()
|
|
2852
|
+
}).passthrough()),
|
|
2848
2853
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
2849
2854
|
sandbox: zod_1.z.boolean().nullish(),
|
|
2850
2855
|
context: exports.ContextObjectSchema.nullish(),
|
|
2851
2856
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2852
|
-
});
|
|
2857
|
+
}).passthrough();
|
|
2853
2858
|
exports.ProvidePerformanceFeedbackRequestSchema = zod_1.z.object({
|
|
2854
2859
|
media_buy_id: zod_1.z.string().nullish(),
|
|
2855
2860
|
buyer_ref: zod_1.z.string().nullish(),
|
|
@@ -2861,7 +2866,7 @@ exports.ProvidePerformanceFeedbackRequestSchema = zod_1.z.object({
|
|
|
2861
2866
|
feedback_source: exports.FeedbackSourceSchema.nullish(),
|
|
2862
2867
|
context: exports.ContextObjectSchema.nullish(),
|
|
2863
2868
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2864
|
-
}).and(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])));
|
|
2869
|
+
}).passthrough().and(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.unknown(), zod_1.z.undefined()])));
|
|
2865
2870
|
exports.ProvidePerformanceFeedbackResponseSchema = zod_1.z.union([exports.ProvidePerformanceFeedbackSuccessSchema, exports.ProvidePerformanceFeedbackErrorSchema]);
|
|
2866
2871
|
exports.SyncEventSourcesResponseSchema = zod_1.z.union([exports.SyncEventSourcesSuccessSchema, exports.SyncEventSourcesErrorSchema]);
|
|
2867
2872
|
exports.EventSchema = zod_1.z.object({
|
|
@@ -2874,7 +2879,7 @@ exports.EventSchema = zod_1.z.object({
|
|
|
2874
2879
|
event_source_url: zod_1.z.string().nullish(),
|
|
2875
2880
|
custom_event_name: zod_1.z.string().nullish(),
|
|
2876
2881
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2877
|
-
});
|
|
2882
|
+
}).passthrough();
|
|
2878
2883
|
exports.LogEventResponseSchema = zod_1.z.union([exports.LogEventSuccessSchema, exports.LogEventErrorSchema]);
|
|
2879
2884
|
exports.SyncAudiencesResponseSchema = zod_1.z.union([exports.SyncAudiencesSuccessSchema, exports.SyncAudiencesErrorSchema]);
|
|
2880
2885
|
exports.BuildCreativeRequestSchema = zod_1.z.object({
|
|
@@ -2886,7 +2891,7 @@ exports.BuildCreativeRequestSchema = zod_1.z.object({
|
|
|
2886
2891
|
item_limit: zod_1.z.number().nullish(),
|
|
2887
2892
|
context: exports.ContextObjectSchema.nullish(),
|
|
2888
2893
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2889
|
-
});
|
|
2894
|
+
}).passthrough();
|
|
2890
2895
|
exports.BuildCreativeResponseSchema = zod_1.z.union([exports.BuildCreativeSuccessSchema, exports.BuildCreativeErrorSchema]);
|
|
2891
2896
|
exports.PreviewCreativeRequestSchema = zod_1.z.union([zod_1.z.object({
|
|
2892
2897
|
request_type: zod_1.z.literal("single"),
|
|
@@ -2896,13 +2901,13 @@ exports.PreviewCreativeRequestSchema = zod_1.z.union([zod_1.z.object({
|
|
|
2896
2901
|
name: zod_1.z.string(),
|
|
2897
2902
|
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()])).nullish(),
|
|
2898
2903
|
context_description: zod_1.z.string().nullish()
|
|
2899
|
-
})).nullish(),
|
|
2904
|
+
}).passthrough()).nullish(),
|
|
2900
2905
|
template_id: zod_1.z.string().nullish(),
|
|
2901
2906
|
output_format: exports.PreviewOutputFormatSchema.nullish(),
|
|
2902
2907
|
item_limit: zod_1.z.number().nullish(),
|
|
2903
2908
|
context: exports.ContextObjectSchema.nullish(),
|
|
2904
2909
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2905
|
-
}), zod_1.z.object({
|
|
2910
|
+
}).passthrough(), zod_1.z.object({
|
|
2906
2911
|
request_type: zod_1.z.literal("batch"),
|
|
2907
2912
|
requests: zod_1.z.array(zod_1.z.object({
|
|
2908
2913
|
format_id: exports.FormatIDSchema.nullish(),
|
|
@@ -2911,28 +2916,28 @@ exports.PreviewCreativeRequestSchema = zod_1.z.union([zod_1.z.object({
|
|
|
2911
2916
|
name: zod_1.z.string(),
|
|
2912
2917
|
macros: zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()])).nullish(),
|
|
2913
2918
|
context_description: zod_1.z.string().nullish()
|
|
2914
|
-
})).nullish(),
|
|
2919
|
+
}).passthrough()).nullish(),
|
|
2915
2920
|
template_id: zod_1.z.string().nullish(),
|
|
2916
2921
|
output_format: exports.PreviewOutputFormatSchema.nullish(),
|
|
2917
2922
|
item_limit: zod_1.z.number().nullish()
|
|
2918
|
-
})),
|
|
2923
|
+
}).passthrough()),
|
|
2919
2924
|
output_format: exports.PreviewOutputFormatSchema.nullish(),
|
|
2920
2925
|
context: exports.ContextObjectSchema.nullish(),
|
|
2921
2926
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2922
|
-
}), zod_1.z.object({
|
|
2927
|
+
}).passthrough(), zod_1.z.object({
|
|
2923
2928
|
request_type: zod_1.z.literal("variant"),
|
|
2924
2929
|
variant_id: zod_1.z.string(),
|
|
2925
2930
|
creative_id: zod_1.z.string().nullish(),
|
|
2926
2931
|
output_format: exports.PreviewOutputFormatSchema.nullish(),
|
|
2927
2932
|
context: exports.ContextObjectSchema.nullish(),
|
|
2928
2933
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2929
|
-
})]);
|
|
2934
|
+
}).passthrough()]);
|
|
2930
2935
|
exports.PreviewCreativeBatchResponseSchema = zod_1.z.object({
|
|
2931
2936
|
response_type: zod_1.z.literal("batch"),
|
|
2932
2937
|
results: zod_1.z.array(zod_1.z.union([exports.PreviewBatchResultSuccessSchema, exports.PreviewBatchResultErrorSchema])),
|
|
2933
2938
|
context: exports.ContextObjectSchema.nullish(),
|
|
2934
2939
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2935
|
-
});
|
|
2940
|
+
}).passthrough();
|
|
2936
2941
|
exports.GetCreativeDeliveryResponseSchema = zod_1.z.object({
|
|
2937
2942
|
account_id: zod_1.z.string().nullish(),
|
|
2938
2943
|
media_buy_id: zod_1.z.string().nullish(),
|
|
@@ -2942,7 +2947,7 @@ exports.GetCreativeDeliveryResponseSchema = zod_1.z.object({
|
|
|
2942
2947
|
start: zod_1.z.string(),
|
|
2943
2948
|
end: zod_1.z.string(),
|
|
2944
2949
|
timezone: zod_1.z.string().nullish()
|
|
2945
|
-
}),
|
|
2950
|
+
}).passthrough(),
|
|
2946
2951
|
creatives: zod_1.z.array(zod_1.z.object({
|
|
2947
2952
|
creative_id: zod_1.z.string(),
|
|
2948
2953
|
media_buy_id: zod_1.z.string().nullish(),
|
|
@@ -2950,17 +2955,17 @@ exports.GetCreativeDeliveryResponseSchema = zod_1.z.object({
|
|
|
2950
2955
|
totals: exports.DeliveryMetricsSchema.nullish(),
|
|
2951
2956
|
variant_count: zod_1.z.number().nullish(),
|
|
2952
2957
|
variants: zod_1.z.array(exports.CreativeVariantSchema)
|
|
2953
|
-
})),
|
|
2958
|
+
}).passthrough()),
|
|
2954
2959
|
pagination: zod_1.z.object({
|
|
2955
2960
|
limit: zod_1.z.number(),
|
|
2956
2961
|
offset: zod_1.z.number(),
|
|
2957
2962
|
has_more: zod_1.z.boolean(),
|
|
2958
2963
|
total: zod_1.z.number().nullish()
|
|
2959
|
-
}).nullish(),
|
|
2964
|
+
}).passthrough().nullish(),
|
|
2960
2965
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
2961
2966
|
context: exports.ContextObjectSchema.nullish(),
|
|
2962
2967
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2963
|
-
});
|
|
2968
|
+
}).passthrough();
|
|
2964
2969
|
exports.GetSignalsRequestSchema = 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({
|
|
2965
2970
|
account: exports.AccountReferenceSchema.nullish(),
|
|
2966
2971
|
buyer_campaign_ref: zod_1.z.string().nullish(),
|
|
@@ -2973,11 +2978,11 @@ exports.GetSignalsRequestSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.union
|
|
|
2973
2978
|
pagination: exports.PaginationRequestSchema.nullish(),
|
|
2974
2979
|
context: exports.ContextObjectSchema.nullish(),
|
|
2975
2980
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2976
|
-
}));
|
|
2981
|
+
}).passthrough());
|
|
2977
2982
|
exports.SignalPricingSchema = zod_1.z.union([exports.CpmPricingSchema, exports.PercentOfMediaPricingSchema, exports.FlatFeePricingSchema]);
|
|
2978
2983
|
exports.SignalPricingOptionSchema = zod_1.z.object({
|
|
2979
2984
|
pricing_option_id: zod_1.z.string()
|
|
2980
|
-
}).and(exports.SignalPricingSchema);
|
|
2985
|
+
}).passthrough().and(exports.SignalPricingSchema);
|
|
2981
2986
|
exports.ActivateSignalResponseSchema = zod_1.z.union([exports.ActivateSignalSuccessSchema, exports.ActivateSignalErrorSchema]);
|
|
2982
2987
|
exports.CreatePropertyListRequestSchema = zod_1.z.object({
|
|
2983
2988
|
name: zod_1.z.string(),
|
|
@@ -2987,42 +2992,42 @@ exports.CreatePropertyListRequestSchema = zod_1.z.object({
|
|
|
2987
2992
|
brand: exports.BrandReferenceSchema.nullish(),
|
|
2988
2993
|
context: exports.ContextObjectSchema.nullish(),
|
|
2989
2994
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2990
|
-
});
|
|
2995
|
+
}).passthrough();
|
|
2991
2996
|
exports.CreatePropertyListResponseSchema = zod_1.z.object({
|
|
2992
2997
|
list: exports.PropertyListSchema,
|
|
2993
2998
|
auth_token: zod_1.z.string(),
|
|
2994
2999
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2995
|
-
});
|
|
3000
|
+
}).passthrough();
|
|
2996
3001
|
exports.UpdatePropertyListResponseSchema = zod_1.z.object({
|
|
2997
3002
|
list: exports.PropertyListSchema,
|
|
2998
3003
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
2999
|
-
});
|
|
3004
|
+
}).passthrough();
|
|
3000
3005
|
exports.ListContentStandardsResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
3001
3006
|
standards: zod_1.z.array(exports.ContentStandardsSchema),
|
|
3002
3007
|
pagination: exports.PaginationResponseSchema.nullish(),
|
|
3003
3008
|
context: exports.ContextObjectSchema.nullish(),
|
|
3004
3009
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3005
|
-
}), zod_1.z.object({
|
|
3010
|
+
}).passthrough(), zod_1.z.object({
|
|
3006
3011
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
3007
3012
|
context: exports.ContextObjectSchema.nullish(),
|
|
3008
3013
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3009
|
-
})]);
|
|
3014
|
+
}).passthrough()]);
|
|
3010
3015
|
exports.GetContentStandardsResponseSchema = zod_1.z.union([exports.ContentStandardsSchema, zod_1.z.object({
|
|
3011
3016
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
3012
3017
|
context: exports.ContextObjectSchema.nullish(),
|
|
3013
3018
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3014
|
-
})]);
|
|
3019
|
+
}).passthrough()]);
|
|
3015
3020
|
exports.UpdateContentStandardsResponseSchema = zod_1.z.union([exports.UpdateContentStandardsSuccessSchema, exports.UpdateContentStandardsErrorSchema]);
|
|
3016
3021
|
exports.GetCreativeFeaturesResponseSchema = zod_1.z.union([zod_1.z.object({
|
|
3017
3022
|
results: zod_1.z.array(exports.CreativeFeatureResultSchema),
|
|
3018
3023
|
detail_url: zod_1.z.string().nullish(),
|
|
3019
3024
|
context: exports.ContextObjectSchema.nullish(),
|
|
3020
3025
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3021
|
-
}), zod_1.z.object({
|
|
3026
|
+
}).passthrough(), zod_1.z.object({
|
|
3022
3027
|
errors: zod_1.z.array(exports.ErrorSchema),
|
|
3023
3028
|
context: exports.ContextObjectSchema.nullish(),
|
|
3024
3029
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3025
|
-
})]);
|
|
3030
|
+
}).passthrough()]);
|
|
3026
3031
|
exports.SIInitiateSessionRequestSchema = zod_1.z.object({
|
|
3027
3032
|
context: zod_1.z.string(),
|
|
3028
3033
|
identity: exports.SIIdentitySchema,
|
|
@@ -3032,21 +3037,21 @@ exports.SIInitiateSessionRequestSchema = zod_1.z.object({
|
|
|
3032
3037
|
supported_capabilities: exports.SICapabilitiesSchema.nullish(),
|
|
3033
3038
|
offering_token: zod_1.z.string().nullish(),
|
|
3034
3039
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3035
|
-
});
|
|
3040
|
+
}).passthrough();
|
|
3036
3041
|
exports.A2UISurfaceSchema = zod_1.z.object({
|
|
3037
3042
|
surfaceId: zod_1.z.string(),
|
|
3038
3043
|
catalogId: zod_1.z.string().nullish(),
|
|
3039
3044
|
components: zod_1.z.array(exports.A2UIComponentSchema),
|
|
3040
3045
|
rootId: zod_1.z.string().nullish(),
|
|
3041
|
-
dataModel: zod_1.z.object({}).nullish()
|
|
3042
|
-
});
|
|
3046
|
+
dataModel: zod_1.z.object({}).passthrough().nullish()
|
|
3047
|
+
}).passthrough();
|
|
3043
3048
|
exports.SyncAccountsResponseSchema = zod_1.z.union([exports.SyncAccountsSuccessSchema, exports.SyncAccountsErrorSchema]);
|
|
3044
3049
|
exports.GetAccountFinancialsRequestSchema = zod_1.z.object({
|
|
3045
3050
|
account: exports.AccountReferenceSchema,
|
|
3046
3051
|
period: exports.DateRangeSchema.nullish(),
|
|
3047
3052
|
context: exports.ContextObjectSchema.nullish(),
|
|
3048
3053
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3049
|
-
});
|
|
3054
|
+
}).passthrough();
|
|
3050
3055
|
exports.GetAccountFinancialsResponseSchema = zod_1.z.union([exports.GetAccountFinancialsSuccessSchema, exports.GetAccountFinancialsErrorSchema]);
|
|
3051
3056
|
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, exports.SyncCatalogsResponseSchema, exports.SyncCatalogsAsyncWorkingSchema, exports.SyncCatalogsAsyncInputRequiredSchema, exports.SyncCatalogsAsyncSubmittedSchema]);
|
|
3052
3057
|
exports.MCPWebhookPayloadSchema = zod_1.z.object({
|
|
@@ -3059,24 +3064,24 @@ exports.MCPWebhookPayloadSchema = zod_1.z.object({
|
|
|
3059
3064
|
message: zod_1.z.string().nullish(),
|
|
3060
3065
|
context_id: zod_1.z.string().nullish(),
|
|
3061
3066
|
result: exports.AdCPAsyncResponseDataSchema.nullish()
|
|
3062
|
-
});
|
|
3067
|
+
}).passthrough();
|
|
3063
3068
|
exports.GetProductsRequestSchema = zod_1.z.object({
|
|
3064
3069
|
buying_mode: zod_1.z.union([zod_1.z.literal("brief"), zod_1.z.literal("wholesale"), zod_1.z.literal("refine")]),
|
|
3065
3070
|
brief: zod_1.z.string().nullish(),
|
|
3066
3071
|
refine: zod_1.z.array(zod_1.z.union([zod_1.z.object({
|
|
3067
3072
|
scope: zod_1.z.literal("request"),
|
|
3068
3073
|
ask: zod_1.z.string()
|
|
3069
|
-
}), zod_1.z.object({
|
|
3074
|
+
}).passthrough(), zod_1.z.object({
|
|
3070
3075
|
scope: zod_1.z.literal("product"),
|
|
3071
3076
|
id: zod_1.z.string(),
|
|
3072
3077
|
action: zod_1.z.union([zod_1.z.literal("include"), zod_1.z.literal("omit"), zod_1.z.literal("more_like_this")]),
|
|
3073
3078
|
ask: zod_1.z.string().nullish()
|
|
3074
|
-
}), zod_1.z.object({
|
|
3079
|
+
}).passthrough(), zod_1.z.object({
|
|
3075
3080
|
scope: zod_1.z.literal("proposal"),
|
|
3076
3081
|
id: zod_1.z.string(),
|
|
3077
3082
|
action: zod_1.z.union([zod_1.z.literal("include"), zod_1.z.literal("omit")]),
|
|
3078
3083
|
ask: zod_1.z.string().nullish()
|
|
3079
|
-
})])).nullish(),
|
|
3084
|
+
}).passthrough()])).nullish(),
|
|
3080
3085
|
brand: exports.BrandReferenceSchema.nullish(),
|
|
3081
3086
|
catalog: exports.CatalogSchema.nullish(),
|
|
3082
3087
|
account: exports.AccountReferenceSchema.nullish(),
|
|
@@ -3084,20 +3089,21 @@ exports.GetProductsRequestSchema = zod_1.z.object({
|
|
|
3084
3089
|
filters: exports.ProductFiltersSchema.nullish(),
|
|
3085
3090
|
property_list: exports.PropertyListReferenceSchema.nullish(),
|
|
3086
3091
|
fields: zod_1.z.array(zod_1.z.union([zod_1.z.literal("product_id"), zod_1.z.literal("name"), zod_1.z.literal("description"), zod_1.z.literal("publisher_properties"), zod_1.z.literal("channels"), zod_1.z.literal("format_ids"), zod_1.z.literal("placements"), zod_1.z.literal("delivery_type"), zod_1.z.literal("pricing_options"), zod_1.z.literal("forecast"), zod_1.z.literal("outcome_measurement"), zod_1.z.literal("delivery_measurement"), zod_1.z.literal("reporting_capabilities"), zod_1.z.literal("creative_policy"), zod_1.z.literal("catalog_types"), zod_1.z.literal("metric_optimization"), zod_1.z.literal("conversion_tracking"), zod_1.z.literal("data_provider_signals"), zod_1.z.literal("max_optimization_goals"), zod_1.z.literal("catalog_match"), zod_1.z.literal("brief_relevance"), zod_1.z.literal("expires_at"), zod_1.z.literal("product_card"), zod_1.z.literal("product_card_detailed")])).nullish(),
|
|
3092
|
+
time_budget: exports.DurationSchema.nullish(),
|
|
3087
3093
|
pagination: exports.PaginationRequestSchema.nullish(),
|
|
3088
3094
|
context: exports.ContextObjectSchema.nullish(),
|
|
3089
3095
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3090
|
-
}).and(zod_1.z.union([zod_1.z.object({
|
|
3096
|
+
}).passthrough().and(zod_1.z.union([zod_1.z.object({
|
|
3091
3097
|
buying_mode: zod_1.z.literal("brief"),
|
|
3092
3098
|
refine: zod_1.z.never().optional()
|
|
3093
|
-
}), zod_1.z.object({
|
|
3099
|
+
}).passthrough(), zod_1.z.object({
|
|
3094
3100
|
buying_mode: zod_1.z.literal("wholesale"),
|
|
3095
3101
|
brief: zod_1.z.never().optional(),
|
|
3096
3102
|
refine: zod_1.z.never().optional()
|
|
3097
|
-
}), zod_1.z.object({
|
|
3103
|
+
}).passthrough(), zod_1.z.object({
|
|
3098
3104
|
buying_mode: zod_1.z.literal("refine"),
|
|
3099
3105
|
brief: zod_1.z.never().optional()
|
|
3100
|
-
})]));
|
|
3106
|
+
}).passthrough()]));
|
|
3101
3107
|
exports.FormatSchema = zod_1.z.object({
|
|
3102
3108
|
format_id: exports.FormatIDSchema,
|
|
3103
3109
|
name: zod_1.z.string(),
|
|
@@ -3107,7 +3113,7 @@ exports.FormatSchema = zod_1.z.object({
|
|
|
3107
3113
|
accepts_parameters: zod_1.z.array(exports.FormatIDParameterSchema).nullish(),
|
|
3108
3114
|
renders: zod_1.z.array(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({
|
|
3109
3115
|
parameters_from_format_id: zod_1.z.literal(true)
|
|
3110
|
-
})])).nullish(),
|
|
3116
|
+
}).passthrough()])).nullish(),
|
|
3111
3117
|
assets: zod_1.z.array(zod_1.z.union([exports.BaseIndividualAssetSchema, zod_1.z.object({
|
|
3112
3118
|
item_type: zod_1.z.literal("repeatable_group"),
|
|
3113
3119
|
asset_group_id: zod_1.z.string(),
|
|
@@ -3116,26 +3122,26 @@ exports.FormatSchema = zod_1.z.object({
|
|
|
3116
3122
|
max_count: zod_1.z.number(),
|
|
3117
3123
|
selection_mode: zod_1.z.union([zod_1.z.literal("sequential"), zod_1.z.literal("optimize")]).nullish(),
|
|
3118
3124
|
assets: zod_1.z.array(exports.BaseGroupAssetSchema)
|
|
3119
|
-
})])).nullish(),
|
|
3120
|
-
delivery: zod_1.z.object({}).nullish(),
|
|
3125
|
+
}).passthrough()])).nullish(),
|
|
3126
|
+
delivery: zod_1.z.object({}).passthrough().nullish(),
|
|
3121
3127
|
supported_macros: zod_1.z.array(zod_1.z.union([exports.UniversalMacroSchema, zod_1.z.string()])).nullish(),
|
|
3122
3128
|
input_format_ids: zod_1.z.array(exports.FormatIDSchema).nullish(),
|
|
3123
3129
|
output_format_ids: zod_1.z.array(exports.FormatIDSchema).nullish(),
|
|
3124
3130
|
format_card: zod_1.z.object({
|
|
3125
3131
|
format_id: exports.FormatIDSchema,
|
|
3126
|
-
manifest: zod_1.z.object({})
|
|
3127
|
-
}).nullish(),
|
|
3132
|
+
manifest: zod_1.z.object({}).passthrough()
|
|
3133
|
+
}).passthrough().nullish(),
|
|
3128
3134
|
accessibility: zod_1.z.object({
|
|
3129
3135
|
wcag_level: exports.WCAGLevelSchema,
|
|
3130
3136
|
requires_accessible_assets: zod_1.z.boolean().nullish()
|
|
3131
|
-
}).nullish(),
|
|
3137
|
+
}).passthrough().nullish(),
|
|
3132
3138
|
supported_disclosure_positions: zod_1.z.array(exports.DisclosurePositionSchema).nullish(),
|
|
3133
3139
|
format_card_detailed: zod_1.z.object({
|
|
3134
3140
|
format_id: exports.FormatIDSchema,
|
|
3135
|
-
manifest: zod_1.z.object({})
|
|
3136
|
-
}).nullish(),
|
|
3141
|
+
manifest: zod_1.z.object({}).passthrough()
|
|
3142
|
+
}).passthrough().nullish(),
|
|
3137
3143
|
reported_metrics: zod_1.z.array(exports.AvailableMetricSchema).nullish()
|
|
3138
|
-
});
|
|
3144
|
+
}).passthrough();
|
|
3139
3145
|
exports.CreateMediaBuyRequestSchema = zod_1.z.object({
|
|
3140
3146
|
buyer_ref: zod_1.z.string(),
|
|
3141
3147
|
buyer_campaign_ref: zod_1.z.string().nullish(),
|
|
@@ -3144,7 +3150,7 @@ exports.CreateMediaBuyRequestSchema = zod_1.z.object({
|
|
|
3144
3150
|
total_budget: zod_1.z.object({
|
|
3145
3151
|
amount: zod_1.z.number(),
|
|
3146
3152
|
currency: zod_1.z.string()
|
|
3147
|
-
}).nullish(),
|
|
3153
|
+
}).passthrough().nullish(),
|
|
3148
3154
|
packages: zod_1.z.array(exports.PackageRequestSchema).nullish(),
|
|
3149
3155
|
brand: exports.BrandReferenceSchema,
|
|
3150
3156
|
po_number: zod_1.z.string().nullish(),
|
|
@@ -3158,21 +3164,21 @@ exports.CreateMediaBuyRequestSchema = zod_1.z.object({
|
|
|
3158
3164
|
authentication: zod_1.z.object({
|
|
3159
3165
|
schemes: zod_1.z.union([zod_1.z.tuple([]), zod_1.z.tuple([exports.AuthenticationSchemeSchema])]),
|
|
3160
3166
|
credentials: zod_1.z.string()
|
|
3161
|
-
}),
|
|
3167
|
+
}).passthrough(),
|
|
3162
3168
|
delivery_mode: zod_1.z.union([zod_1.z.literal("realtime"), zod_1.z.literal("batched")]),
|
|
3163
3169
|
batch_frequency: zod_1.z.union([zod_1.z.literal("hourly"), zod_1.z.literal("daily")]).nullish(),
|
|
3164
3170
|
sampling_rate: zod_1.z.number().nullish()
|
|
3165
|
-
}).nullish(),
|
|
3171
|
+
}).passthrough().nullish(),
|
|
3166
3172
|
context: exports.ContextObjectSchema.nullish(),
|
|
3167
3173
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3168
|
-
});
|
|
3174
|
+
}).passthrough();
|
|
3169
3175
|
exports.LogEventRequestSchema = zod_1.z.object({
|
|
3170
3176
|
event_source_id: zod_1.z.string(),
|
|
3171
3177
|
test_event_code: zod_1.z.string().nullish(),
|
|
3172
3178
|
events: zod_1.z.array(exports.EventSchema),
|
|
3173
3179
|
context: exports.ContextObjectSchema.nullish(),
|
|
3174
3180
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3175
|
-
});
|
|
3181
|
+
}).passthrough();
|
|
3176
3182
|
exports.PreviewCreativeResponseSchema = zod_1.z.union([exports.PreviewCreativeSingleResponseSchema, exports.PreviewCreativeBatchResponseSchema, exports.PreviewCreativeVariantResponseSchema]);
|
|
3177
3183
|
exports.GetSignalsResponseSchema = zod_1.z.object({
|
|
3178
3184
|
signals: zod_1.z.array(zod_1.z.object({
|
|
@@ -3185,57 +3191,57 @@ exports.GetSignalsResponseSchema = zod_1.z.object({
|
|
|
3185
3191
|
range: zod_1.z.object({
|
|
3186
3192
|
min: zod_1.z.number(),
|
|
3187
3193
|
max: zod_1.z.number()
|
|
3188
|
-
}).nullish(),
|
|
3194
|
+
}).passthrough().nullish(),
|
|
3189
3195
|
signal_type: exports.SignalCatalogTypeSchema,
|
|
3190
3196
|
data_provider: zod_1.z.string(),
|
|
3191
3197
|
coverage_percentage: zod_1.z.number(),
|
|
3192
3198
|
deployments: zod_1.z.array(exports.DeploymentSchema),
|
|
3193
3199
|
pricing_options: zod_1.z.array(exports.SignalPricingOptionSchema)
|
|
3194
|
-
})),
|
|
3200
|
+
}).passthrough()),
|
|
3195
3201
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
3196
3202
|
pagination: exports.PaginationResponseSchema.nullish(),
|
|
3197
3203
|
sandbox: zod_1.z.boolean().nullish(),
|
|
3198
3204
|
context: exports.ContextObjectSchema.nullish(),
|
|
3199
3205
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3200
|
-
});
|
|
3206
|
+
}).passthrough();
|
|
3201
3207
|
exports.SISendMessageResponseSchema = zod_1.z.object({
|
|
3202
3208
|
session_id: zod_1.z.string(),
|
|
3203
3209
|
response: zod_1.z.object({
|
|
3204
3210
|
message: zod_1.z.string().nullish(),
|
|
3205
3211
|
surface: exports.A2UISurfaceSchema.nullish(),
|
|
3206
3212
|
ui_elements: zod_1.z.array(exports.SIUIElementSchema).nullish()
|
|
3207
|
-
}).nullish(),
|
|
3213
|
+
}).passthrough().nullish(),
|
|
3208
3214
|
mcp_resource_uri: zod_1.z.string().nullish(),
|
|
3209
3215
|
session_status: zod_1.z.union([zod_1.z.literal("active"), zod_1.z.literal("pending_handoff"), zod_1.z.literal("complete")]),
|
|
3210
3216
|
handoff: zod_1.z.object({
|
|
3211
3217
|
type: zod_1.z.union([zod_1.z.literal("transaction"), zod_1.z.literal("complete")]).nullish(),
|
|
3212
3218
|
intent: zod_1.z.object({
|
|
3213
3219
|
action: zod_1.z.string().nullish(),
|
|
3214
|
-
product: zod_1.z.object({}).nullish(),
|
|
3220
|
+
product: zod_1.z.object({}).passthrough().nullish(),
|
|
3215
3221
|
price: zod_1.z.object({
|
|
3216
3222
|
amount: zod_1.z.number().nullish(),
|
|
3217
3223
|
currency: zod_1.z.string().nullish()
|
|
3218
|
-
}).nullish()
|
|
3219
|
-
}).nullish(),
|
|
3224
|
+
}).passthrough().nullish()
|
|
3225
|
+
}).passthrough().nullish(),
|
|
3220
3226
|
context_for_checkout: zod_1.z.object({
|
|
3221
3227
|
conversation_summary: zod_1.z.string().nullish(),
|
|
3222
3228
|
applied_offers: zod_1.z.array(zod_1.z.string()).nullish()
|
|
3223
|
-
}).nullish()
|
|
3224
|
-
}).nullish(),
|
|
3229
|
+
}).passthrough().nullish()
|
|
3230
|
+
}).passthrough().nullish(),
|
|
3225
3231
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
3226
3232
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3227
|
-
});
|
|
3233
|
+
}).passthrough();
|
|
3228
3234
|
exports.ListCreativeFormatsResponseSchema = zod_1.z.object({
|
|
3229
3235
|
formats: zod_1.z.array(exports.FormatSchema),
|
|
3230
3236
|
creative_agents: zod_1.z.array(zod_1.z.object({
|
|
3231
3237
|
agent_url: zod_1.z.string(),
|
|
3232
3238
|
agent_name: zod_1.z.string().nullish(),
|
|
3233
3239
|
capabilities: zod_1.z.array(exports.CreativeAgentCapabilitySchema).nullish()
|
|
3234
|
-
})).nullish(),
|
|
3240
|
+
}).passthrough()).nullish(),
|
|
3235
3241
|
errors: zod_1.z.array(exports.ErrorSchema).nullish(),
|
|
3236
3242
|
pagination: exports.PaginationResponseSchema.nullish(),
|
|
3237
3243
|
sandbox: zod_1.z.boolean().nullish(),
|
|
3238
3244
|
context: exports.ContextObjectSchema.nullish(),
|
|
3239
3245
|
ext: exports.ExtensionObjectSchema.nullish()
|
|
3240
|
-
});
|
|
3246
|
+
}).passthrough();
|
|
3241
3247
|
//# sourceMappingURL=schemas.generated.js.map
|