@adcp/client 2.0.2 → 2.3.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.
@@ -0,0 +1,1517 @@
1
+ import { z } from 'zod';
2
+ export declare const MediaBuySchema: z.ZodObject<{
3
+ media_buy_id: z.ZodString;
4
+ buyer_ref: z.ZodOptional<z.ZodString>;
5
+ status: z.ZodAny;
6
+ promoted_offering: z.ZodString;
7
+ total_budget: z.ZodNumber;
8
+ packages: z.ZodArray<z.ZodAny, "many">;
9
+ creative_deadline: z.ZodOptional<z.ZodString>;
10
+ created_at: z.ZodOptional<z.ZodString>;
11
+ updated_at: z.ZodOptional<z.ZodString>;
12
+ }, "strict", z.ZodTypeAny, {
13
+ media_buy_id: string;
14
+ promoted_offering: string;
15
+ total_budget: number;
16
+ packages: any[];
17
+ buyer_ref?: string | undefined;
18
+ status?: any;
19
+ creative_deadline?: string | undefined;
20
+ created_at?: string | undefined;
21
+ updated_at?: string | undefined;
22
+ }, {
23
+ media_buy_id: string;
24
+ promoted_offering: string;
25
+ total_budget: number;
26
+ packages: any[];
27
+ buyer_ref?: string | undefined;
28
+ status?: any;
29
+ creative_deadline?: string | undefined;
30
+ created_at?: string | undefined;
31
+ updated_at?: string | undefined;
32
+ }>;
33
+ export declare const CreativeAssetSchema: z.ZodObject<{
34
+ creative_id: z.ZodString;
35
+ name: z.ZodString;
36
+ format_id: z.ZodAny;
37
+ assets: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodAny, any, any>, z.ZodNever]>>, Record<string, any>, Record<string, any>>;
38
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
39
+ name: z.ZodString;
40
+ macros: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
41
+ context_description: z.ZodOptional<z.ZodString>;
42
+ }, "strict", z.ZodTypeAny, {
43
+ name: string;
44
+ macros?: Record<string, string> | undefined;
45
+ context_description?: string | undefined;
46
+ }, {
47
+ name: string;
48
+ macros?: Record<string, string> | undefined;
49
+ context_description?: string | undefined;
50
+ }>, "many">>;
51
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
52
+ approved: z.ZodOptional<z.ZodBoolean>;
53
+ }, "strict", z.ZodTypeAny, {
54
+ creative_id: string;
55
+ name: string;
56
+ assets: Record<string, any>;
57
+ approved?: boolean | undefined;
58
+ format_id?: any;
59
+ inputs?: {
60
+ name: string;
61
+ macros?: Record<string, string> | undefined;
62
+ context_description?: string | undefined;
63
+ }[] | undefined;
64
+ tags?: string[] | undefined;
65
+ }, {
66
+ creative_id: string;
67
+ name: string;
68
+ assets: Record<string, any>;
69
+ approved?: boolean | undefined;
70
+ format_id?: any;
71
+ inputs?: {
72
+ name: string;
73
+ macros?: Record<string, string> | undefined;
74
+ context_description?: string | undefined;
75
+ }[] | undefined;
76
+ tags?: string[] | undefined;
77
+ }>;
78
+ export declare const ProductSchema: z.ZodIntersection<z.ZodObject<{
79
+ product_id: z.ZodString;
80
+ name: z.ZodString;
81
+ description: z.ZodString;
82
+ properties: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
83
+ property_tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
84
+ format_ids: z.ZodArray<z.ZodAny, "many">;
85
+ delivery_type: z.ZodAny;
86
+ pricing_options: z.ZodArray<z.ZodAny, "many">;
87
+ estimated_exposures: z.ZodOptional<z.ZodNumber>;
88
+ measurement: z.ZodOptional<z.ZodAny>;
89
+ delivery_measurement: z.ZodObject<{
90
+ provider: z.ZodString;
91
+ notes: z.ZodOptional<z.ZodString>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ provider: string;
94
+ notes?: string | undefined;
95
+ }, {
96
+ provider: string;
97
+ notes?: string | undefined;
98
+ }>;
99
+ reporting_capabilities: z.ZodOptional<z.ZodAny>;
100
+ creative_policy: z.ZodOptional<z.ZodAny>;
101
+ is_custom: z.ZodOptional<z.ZodBoolean>;
102
+ brief_relevance: z.ZodOptional<z.ZodString>;
103
+ expires_at: z.ZodOptional<z.ZodString>;
104
+ }, "strict", z.ZodTypeAny, {
105
+ name: string;
106
+ product_id: string;
107
+ description: string;
108
+ format_ids: any[];
109
+ pricing_options: any[];
110
+ delivery_measurement: {
111
+ provider: string;
112
+ notes?: string | undefined;
113
+ };
114
+ properties?: any[] | undefined;
115
+ property_tags?: string[] | undefined;
116
+ delivery_type?: any;
117
+ estimated_exposures?: number | undefined;
118
+ measurement?: any;
119
+ reporting_capabilities?: any;
120
+ creative_policy?: any;
121
+ is_custom?: boolean | undefined;
122
+ brief_relevance?: string | undefined;
123
+ expires_at?: string | undefined;
124
+ }, {
125
+ name: string;
126
+ product_id: string;
127
+ description: string;
128
+ format_ids: any[];
129
+ pricing_options: any[];
130
+ delivery_measurement: {
131
+ provider: string;
132
+ notes?: string | undefined;
133
+ };
134
+ properties?: any[] | undefined;
135
+ property_tags?: string[] | undefined;
136
+ delivery_type?: any;
137
+ estimated_exposures?: number | undefined;
138
+ measurement?: any;
139
+ reporting_capabilities?: any;
140
+ creative_policy?: any;
141
+ is_custom?: boolean | undefined;
142
+ brief_relevance?: string | undefined;
143
+ expires_at?: string | undefined;
144
+ }>, z.ZodEffects<z.ZodAny, any, any>>;
145
+ export declare const TargetingSchema: z.ZodObject<{
146
+ geo_country_any_of: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
147
+ geo_region_any_of: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
148
+ geo_metro_any_of: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
149
+ geo_postal_code_any_of: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
150
+ frequency_cap: z.ZodOptional<z.ZodAny>;
151
+ }, "strict", z.ZodTypeAny, {
152
+ geo_country_any_of?: string[] | undefined;
153
+ geo_region_any_of?: string[] | undefined;
154
+ geo_metro_any_of?: string[] | undefined;
155
+ geo_postal_code_any_of?: string[] | undefined;
156
+ frequency_cap?: any;
157
+ }, {
158
+ geo_country_any_of?: string[] | undefined;
159
+ geo_region_any_of?: string[] | undefined;
160
+ geo_metro_any_of?: string[] | undefined;
161
+ geo_postal_code_any_of?: string[] | undefined;
162
+ frequency_cap?: any;
163
+ }>;
164
+ export declare const GetProductsRequestSchema: z.ZodObject<{
165
+ brief: z.ZodOptional<z.ZodString>;
166
+ brand_manifest: z.ZodAny;
167
+ filters: z.ZodOptional<z.ZodObject<{
168
+ delivery_type: z.ZodOptional<z.ZodAny>;
169
+ is_fixed_price: z.ZodOptional<z.ZodBoolean>;
170
+ format_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["video", "display", "audio"]>, "many">>;
171
+ format_ids: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
172
+ standard_formats_only: z.ZodOptional<z.ZodBoolean>;
173
+ min_exposures: z.ZodOptional<z.ZodNumber>;
174
+ }, "strict", z.ZodTypeAny, {
175
+ format_ids?: any[] | undefined;
176
+ delivery_type?: any;
177
+ is_fixed_price?: boolean | undefined;
178
+ format_types?: ("video" | "audio" | "display")[] | undefined;
179
+ standard_formats_only?: boolean | undefined;
180
+ min_exposures?: number | undefined;
181
+ }, {
182
+ format_ids?: any[] | undefined;
183
+ delivery_type?: any;
184
+ is_fixed_price?: boolean | undefined;
185
+ format_types?: ("video" | "audio" | "display")[] | undefined;
186
+ standard_formats_only?: boolean | undefined;
187
+ min_exposures?: number | undefined;
188
+ }>>;
189
+ }, "strict", z.ZodTypeAny, {
190
+ brief?: string | undefined;
191
+ brand_manifest?: any;
192
+ filters?: {
193
+ format_ids?: any[] | undefined;
194
+ delivery_type?: any;
195
+ is_fixed_price?: boolean | undefined;
196
+ format_types?: ("video" | "audio" | "display")[] | undefined;
197
+ standard_formats_only?: boolean | undefined;
198
+ min_exposures?: number | undefined;
199
+ } | undefined;
200
+ }, {
201
+ brief?: string | undefined;
202
+ brand_manifest?: any;
203
+ filters?: {
204
+ format_ids?: any[] | undefined;
205
+ delivery_type?: any;
206
+ is_fixed_price?: boolean | undefined;
207
+ format_types?: ("video" | "audio" | "display")[] | undefined;
208
+ standard_formats_only?: boolean | undefined;
209
+ min_exposures?: number | undefined;
210
+ } | undefined;
211
+ }>;
212
+ export declare const GetProductsResponseSchema: z.ZodObject<{
213
+ products: z.ZodArray<z.ZodAny, "many">;
214
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
215
+ }, "strict", z.ZodTypeAny, {
216
+ products: any[];
217
+ errors?: any[] | undefined;
218
+ }, {
219
+ products: any[];
220
+ errors?: any[] | undefined;
221
+ }>;
222
+ export declare const ListCreativeFormatsRequestSchema: z.ZodObject<{
223
+ format_ids: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
224
+ type: z.ZodOptional<z.ZodEnum<["audio", "video", "display", "dooh"]>>;
225
+ asset_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["image", "video", "audio", "text", "html", "javascript", "url"]>, "many">>;
226
+ max_width: z.ZodOptional<z.ZodNumber>;
227
+ max_height: z.ZodOptional<z.ZodNumber>;
228
+ min_width: z.ZodOptional<z.ZodNumber>;
229
+ min_height: z.ZodOptional<z.ZodNumber>;
230
+ is_responsive: z.ZodOptional<z.ZodBoolean>;
231
+ name_search: z.ZodOptional<z.ZodString>;
232
+ }, "strict", z.ZodTypeAny, {
233
+ type?: "video" | "audio" | "dooh" | "display" | undefined;
234
+ format_ids?: any[] | undefined;
235
+ asset_types?: ("image" | "video" | "audio" | "text" | "url" | "html" | "javascript")[] | undefined;
236
+ max_width?: number | undefined;
237
+ max_height?: number | undefined;
238
+ min_width?: number | undefined;
239
+ min_height?: number | undefined;
240
+ is_responsive?: boolean | undefined;
241
+ name_search?: string | undefined;
242
+ }, {
243
+ type?: "video" | "audio" | "dooh" | "display" | undefined;
244
+ format_ids?: any[] | undefined;
245
+ asset_types?: ("image" | "video" | "audio" | "text" | "url" | "html" | "javascript")[] | undefined;
246
+ max_width?: number | undefined;
247
+ max_height?: number | undefined;
248
+ min_width?: number | undefined;
249
+ min_height?: number | undefined;
250
+ is_responsive?: boolean | undefined;
251
+ name_search?: string | undefined;
252
+ }>;
253
+ export declare const ListCreativeFormatsResponseSchema: z.ZodObject<{
254
+ formats: z.ZodArray<z.ZodAny, "many">;
255
+ creative_agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
256
+ agent_url: z.ZodString;
257
+ agent_name: z.ZodOptional<z.ZodString>;
258
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["validation", "assembly", "generation", "preview"]>, "many">>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ agent_url: string;
261
+ agent_name?: string | undefined;
262
+ capabilities?: ("preview" | "validation" | "assembly" | "generation")[] | undefined;
263
+ }, {
264
+ agent_url: string;
265
+ agent_name?: string | undefined;
266
+ capabilities?: ("preview" | "validation" | "assembly" | "generation")[] | undefined;
267
+ }>, "many">>;
268
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
269
+ }, "strict", z.ZodTypeAny, {
270
+ formats: any[];
271
+ errors?: any[] | undefined;
272
+ creative_agents?: {
273
+ agent_url: string;
274
+ agent_name?: string | undefined;
275
+ capabilities?: ("preview" | "validation" | "assembly" | "generation")[] | undefined;
276
+ }[] | undefined;
277
+ }, {
278
+ formats: any[];
279
+ errors?: any[] | undefined;
280
+ creative_agents?: {
281
+ agent_url: string;
282
+ agent_name?: string | undefined;
283
+ capabilities?: ("preview" | "validation" | "assembly" | "generation")[] | undefined;
284
+ }[] | undefined;
285
+ }>;
286
+ export declare const CreateMediaBuyRequestSchema: z.ZodObject<{
287
+ buyer_ref: z.ZodString;
288
+ packages: z.ZodArray<z.ZodAny, "many">;
289
+ brand_manifest: z.ZodAny;
290
+ po_number: z.ZodOptional<z.ZodString>;
291
+ start_time: z.ZodAny;
292
+ end_time: z.ZodString;
293
+ budget: z.ZodNumber;
294
+ reporting_webhook: z.ZodOptional<z.ZodIntersection<z.ZodAny, z.ZodObject<{
295
+ reporting_frequency: z.ZodEnum<["hourly", "daily", "monthly"]>;
296
+ requested_metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<["impressions", "spend", "clicks", "ctr", "video_completions", "completion_rate", "conversions", "viewability", "engagement_rate"]>, "many">>;
297
+ }, "strip", z.ZodTypeAny, {
298
+ reporting_frequency: "hourly" | "daily" | "monthly";
299
+ requested_metrics?: ("impressions" | "spend" | "clicks" | "ctr" | "video_completions" | "completion_rate" | "conversions" | "viewability" | "engagement_rate")[] | undefined;
300
+ }, {
301
+ reporting_frequency: "hourly" | "daily" | "monthly";
302
+ requested_metrics?: ("impressions" | "spend" | "clicks" | "ctr" | "video_completions" | "completion_rate" | "conversions" | "viewability" | "engagement_rate")[] | undefined;
303
+ }>>>;
304
+ }, "strict", z.ZodTypeAny, {
305
+ buyer_ref: string;
306
+ packages: any[];
307
+ end_time: string;
308
+ budget: number;
309
+ brand_manifest?: any;
310
+ po_number?: string | undefined;
311
+ start_time?: any;
312
+ reporting_webhook?: any;
313
+ }, {
314
+ buyer_ref: string;
315
+ packages: any[];
316
+ end_time: string;
317
+ budget: number;
318
+ brand_manifest?: any;
319
+ po_number?: string | undefined;
320
+ start_time?: any;
321
+ reporting_webhook?: any;
322
+ }>;
323
+ export declare const CreateMediaBuyResponseSchema: z.ZodObject<{
324
+ media_buy_id: z.ZodOptional<z.ZodString>;
325
+ buyer_ref: z.ZodString;
326
+ creative_deadline: z.ZodOptional<z.ZodString>;
327
+ packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
328
+ package_id: z.ZodString;
329
+ buyer_ref: z.ZodString;
330
+ }, "strict", z.ZodTypeAny, {
331
+ buyer_ref: string;
332
+ package_id: string;
333
+ }, {
334
+ buyer_ref: string;
335
+ package_id: string;
336
+ }>, "many">>;
337
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
338
+ }, "strict", z.ZodTypeAny, {
339
+ buyer_ref: string;
340
+ media_buy_id?: string | undefined;
341
+ packages?: {
342
+ buyer_ref: string;
343
+ package_id: string;
344
+ }[] | undefined;
345
+ creative_deadline?: string | undefined;
346
+ errors?: any[] | undefined;
347
+ }, {
348
+ buyer_ref: string;
349
+ media_buy_id?: string | undefined;
350
+ packages?: {
351
+ buyer_ref: string;
352
+ package_id: string;
353
+ }[] | undefined;
354
+ creative_deadline?: string | undefined;
355
+ errors?: any[] | undefined;
356
+ }>;
357
+ export declare const SyncCreativesRequestSchema: z.ZodObject<{
358
+ creatives: z.ZodArray<z.ZodAny, "many">;
359
+ patch: z.ZodDefault<z.ZodBoolean>;
360
+ assignments: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNever]>>, Record<string, string[]>, Record<string, string[]>>>;
361
+ delete_missing: z.ZodDefault<z.ZodBoolean>;
362
+ dry_run: z.ZodDefault<z.ZodBoolean>;
363
+ validation_mode: z.ZodDefault<z.ZodEnum<["strict", "lenient"]>>;
364
+ push_notification_config: z.ZodOptional<z.ZodAny>;
365
+ }, "strict", z.ZodTypeAny, {
366
+ creatives: any[];
367
+ patch: boolean;
368
+ delete_missing: boolean;
369
+ dry_run: boolean;
370
+ validation_mode: "strict" | "lenient";
371
+ assignments?: Record<string, string[]> | undefined;
372
+ push_notification_config?: any;
373
+ }, {
374
+ creatives: any[];
375
+ patch?: boolean | undefined;
376
+ assignments?: Record<string, string[]> | undefined;
377
+ delete_missing?: boolean | undefined;
378
+ dry_run?: boolean | undefined;
379
+ validation_mode?: "strict" | "lenient" | undefined;
380
+ push_notification_config?: any;
381
+ }>;
382
+ export declare const SyncCreativesResponseSchema: z.ZodObject<{
383
+ dry_run: z.ZodOptional<z.ZodBoolean>;
384
+ creatives: z.ZodArray<z.ZodObject<{
385
+ creative_id: z.ZodString;
386
+ action: z.ZodEnum<["created", "updated", "unchanged", "failed", "deleted"]>;
387
+ platform_id: z.ZodOptional<z.ZodString>;
388
+ changes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
389
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
390
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
391
+ preview_url: z.ZodOptional<z.ZodString>;
392
+ expires_at: z.ZodOptional<z.ZodString>;
393
+ assigned_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
394
+ assignment_errors: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNever]>>, Record<string, string>, Record<string, string>>>;
395
+ }, "strict", z.ZodTypeAny, {
396
+ creative_id: string;
397
+ action: "created" | "updated" | "unchanged" | "failed" | "deleted";
398
+ expires_at?: string | undefined;
399
+ errors?: string[] | undefined;
400
+ platform_id?: string | undefined;
401
+ changes?: string[] | undefined;
402
+ warnings?: string[] | undefined;
403
+ preview_url?: string | undefined;
404
+ assigned_to?: string[] | undefined;
405
+ assignment_errors?: Record<string, string> | undefined;
406
+ }, {
407
+ creative_id: string;
408
+ action: "created" | "updated" | "unchanged" | "failed" | "deleted";
409
+ expires_at?: string | undefined;
410
+ errors?: string[] | undefined;
411
+ platform_id?: string | undefined;
412
+ changes?: string[] | undefined;
413
+ warnings?: string[] | undefined;
414
+ preview_url?: string | undefined;
415
+ assigned_to?: string[] | undefined;
416
+ assignment_errors?: Record<string, string> | undefined;
417
+ }>, "many">;
418
+ }, "strict", z.ZodTypeAny, {
419
+ creatives: {
420
+ creative_id: string;
421
+ action: "created" | "updated" | "unchanged" | "failed" | "deleted";
422
+ expires_at?: string | undefined;
423
+ errors?: string[] | undefined;
424
+ platform_id?: string | undefined;
425
+ changes?: string[] | undefined;
426
+ warnings?: string[] | undefined;
427
+ preview_url?: string | undefined;
428
+ assigned_to?: string[] | undefined;
429
+ assignment_errors?: Record<string, string> | undefined;
430
+ }[];
431
+ dry_run?: boolean | undefined;
432
+ }, {
433
+ creatives: {
434
+ creative_id: string;
435
+ action: "created" | "updated" | "unchanged" | "failed" | "deleted";
436
+ expires_at?: string | undefined;
437
+ errors?: string[] | undefined;
438
+ platform_id?: string | undefined;
439
+ changes?: string[] | undefined;
440
+ warnings?: string[] | undefined;
441
+ preview_url?: string | undefined;
442
+ assigned_to?: string[] | undefined;
443
+ assignment_errors?: Record<string, string> | undefined;
444
+ }[];
445
+ dry_run?: boolean | undefined;
446
+ }>;
447
+ export declare const ListCreativesRequestSchema: z.ZodObject<{
448
+ filters: z.ZodOptional<z.ZodObject<{
449
+ format: z.ZodOptional<z.ZodString>;
450
+ formats: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
451
+ status: z.ZodOptional<z.ZodAny>;
452
+ statuses: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
453
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
454
+ tags_any: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
455
+ name_contains: z.ZodOptional<z.ZodString>;
456
+ creative_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
457
+ created_after: z.ZodOptional<z.ZodString>;
458
+ created_before: z.ZodOptional<z.ZodString>;
459
+ updated_after: z.ZodOptional<z.ZodString>;
460
+ updated_before: z.ZodOptional<z.ZodString>;
461
+ assigned_to_package: z.ZodOptional<z.ZodString>;
462
+ assigned_to_packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
463
+ unassigned: z.ZodOptional<z.ZodBoolean>;
464
+ has_performance_data: z.ZodOptional<z.ZodBoolean>;
465
+ }, "strict", z.ZodTypeAny, {
466
+ status?: any;
467
+ tags?: string[] | undefined;
468
+ formats?: string[] | undefined;
469
+ format?: string | undefined;
470
+ statuses?: any[] | undefined;
471
+ tags_any?: string[] | undefined;
472
+ name_contains?: string | undefined;
473
+ creative_ids?: string[] | undefined;
474
+ created_after?: string | undefined;
475
+ created_before?: string | undefined;
476
+ updated_after?: string | undefined;
477
+ updated_before?: string | undefined;
478
+ assigned_to_package?: string | undefined;
479
+ assigned_to_packages?: string[] | undefined;
480
+ unassigned?: boolean | undefined;
481
+ has_performance_data?: boolean | undefined;
482
+ }, {
483
+ status?: any;
484
+ tags?: string[] | undefined;
485
+ formats?: string[] | undefined;
486
+ format?: string | undefined;
487
+ statuses?: any[] | undefined;
488
+ tags_any?: string[] | undefined;
489
+ name_contains?: string | undefined;
490
+ creative_ids?: string[] | undefined;
491
+ created_after?: string | undefined;
492
+ created_before?: string | undefined;
493
+ updated_after?: string | undefined;
494
+ updated_before?: string | undefined;
495
+ assigned_to_package?: string | undefined;
496
+ assigned_to_packages?: string[] | undefined;
497
+ unassigned?: boolean | undefined;
498
+ has_performance_data?: boolean | undefined;
499
+ }>>;
500
+ sort: z.ZodOptional<z.ZodObject<{
501
+ field: z.ZodDefault<z.ZodEnum<["created_date", "updated_date", "name", "status", "assignment_count", "performance_score"]>>;
502
+ direction: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
503
+ }, "strict", z.ZodTypeAny, {
504
+ field: "status" | "name" | "created_date" | "updated_date" | "assignment_count" | "performance_score";
505
+ direction: "asc" | "desc";
506
+ }, {
507
+ field?: "status" | "name" | "created_date" | "updated_date" | "assignment_count" | "performance_score" | undefined;
508
+ direction?: "asc" | "desc" | undefined;
509
+ }>>;
510
+ pagination: z.ZodOptional<z.ZodObject<{
511
+ limit: z.ZodDefault<z.ZodNumber>;
512
+ offset: z.ZodDefault<z.ZodNumber>;
513
+ }, "strict", z.ZodTypeAny, {
514
+ offset: number;
515
+ limit: number;
516
+ }, {
517
+ offset?: number | undefined;
518
+ limit?: number | undefined;
519
+ }>>;
520
+ include_assignments: z.ZodDefault<z.ZodBoolean>;
521
+ include_performance: z.ZodDefault<z.ZodBoolean>;
522
+ include_sub_assets: z.ZodDefault<z.ZodBoolean>;
523
+ fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["creative_id", "name", "format", "status", "created_date", "updated_date", "tags", "assignments", "performance", "sub_assets"]>, "many">>;
524
+ }, "strict", z.ZodTypeAny, {
525
+ include_assignments: boolean;
526
+ include_performance: boolean;
527
+ include_sub_assets: boolean;
528
+ sort?: {
529
+ field: "status" | "name" | "created_date" | "updated_date" | "assignment_count" | "performance_score";
530
+ direction: "asc" | "desc";
531
+ } | undefined;
532
+ filters?: {
533
+ status?: any;
534
+ tags?: string[] | undefined;
535
+ formats?: string[] | undefined;
536
+ format?: string | undefined;
537
+ statuses?: any[] | undefined;
538
+ tags_any?: string[] | undefined;
539
+ name_contains?: string | undefined;
540
+ creative_ids?: string[] | undefined;
541
+ created_after?: string | undefined;
542
+ created_before?: string | undefined;
543
+ updated_after?: string | undefined;
544
+ updated_before?: string | undefined;
545
+ assigned_to_package?: string | undefined;
546
+ assigned_to_packages?: string[] | undefined;
547
+ unassigned?: boolean | undefined;
548
+ has_performance_data?: boolean | undefined;
549
+ } | undefined;
550
+ pagination?: {
551
+ offset: number;
552
+ limit: number;
553
+ } | undefined;
554
+ fields?: ("status" | "creative_id" | "name" | "tags" | "assignments" | "format" | "created_date" | "updated_date" | "performance" | "sub_assets")[] | undefined;
555
+ }, {
556
+ sort?: {
557
+ field?: "status" | "name" | "created_date" | "updated_date" | "assignment_count" | "performance_score" | undefined;
558
+ direction?: "asc" | "desc" | undefined;
559
+ } | undefined;
560
+ filters?: {
561
+ status?: any;
562
+ tags?: string[] | undefined;
563
+ formats?: string[] | undefined;
564
+ format?: string | undefined;
565
+ statuses?: any[] | undefined;
566
+ tags_any?: string[] | undefined;
567
+ name_contains?: string | undefined;
568
+ creative_ids?: string[] | undefined;
569
+ created_after?: string | undefined;
570
+ created_before?: string | undefined;
571
+ updated_after?: string | undefined;
572
+ updated_before?: string | undefined;
573
+ assigned_to_package?: string | undefined;
574
+ assigned_to_packages?: string[] | undefined;
575
+ unassigned?: boolean | undefined;
576
+ has_performance_data?: boolean | undefined;
577
+ } | undefined;
578
+ pagination?: {
579
+ offset?: number | undefined;
580
+ limit?: number | undefined;
581
+ } | undefined;
582
+ include_assignments?: boolean | undefined;
583
+ include_performance?: boolean | undefined;
584
+ include_sub_assets?: boolean | undefined;
585
+ fields?: ("status" | "creative_id" | "name" | "tags" | "assignments" | "format" | "created_date" | "updated_date" | "performance" | "sub_assets")[] | undefined;
586
+ }>;
587
+ export declare const ListCreativesResponseSchema: z.ZodObject<{
588
+ query_summary: z.ZodObject<{
589
+ total_matching: z.ZodNumber;
590
+ returned: z.ZodNumber;
591
+ filters_applied: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
592
+ sort_applied: z.ZodOptional<z.ZodObject<{
593
+ field: z.ZodOptional<z.ZodString>;
594
+ direction: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
595
+ }, "strip", z.ZodTypeAny, {
596
+ field?: string | undefined;
597
+ direction?: "asc" | "desc" | undefined;
598
+ }, {
599
+ field?: string | undefined;
600
+ direction?: "asc" | "desc" | undefined;
601
+ }>>;
602
+ }, "strict", z.ZodTypeAny, {
603
+ total_matching: number;
604
+ returned: number;
605
+ filters_applied?: string[] | undefined;
606
+ sort_applied?: {
607
+ field?: string | undefined;
608
+ direction?: "asc" | "desc" | undefined;
609
+ } | undefined;
610
+ }, {
611
+ total_matching: number;
612
+ returned: number;
613
+ filters_applied?: string[] | undefined;
614
+ sort_applied?: {
615
+ field?: string | undefined;
616
+ direction?: "asc" | "desc" | undefined;
617
+ } | undefined;
618
+ }>;
619
+ pagination: z.ZodObject<{
620
+ limit: z.ZodNumber;
621
+ offset: z.ZodNumber;
622
+ has_more: z.ZodBoolean;
623
+ total_pages: z.ZodOptional<z.ZodNumber>;
624
+ current_page: z.ZodOptional<z.ZodNumber>;
625
+ }, "strict", z.ZodTypeAny, {
626
+ offset: number;
627
+ limit: number;
628
+ has_more: boolean;
629
+ total_pages?: number | undefined;
630
+ current_page?: number | undefined;
631
+ }, {
632
+ offset: number;
633
+ limit: number;
634
+ has_more: boolean;
635
+ total_pages?: number | undefined;
636
+ current_page?: number | undefined;
637
+ }>;
638
+ creatives: z.ZodArray<z.ZodObject<{
639
+ creative_id: z.ZodString;
640
+ name: z.ZodString;
641
+ format_id: z.ZodAny;
642
+ status: z.ZodAny;
643
+ created_date: z.ZodString;
644
+ updated_date: z.ZodString;
645
+ media_url: z.ZodOptional<z.ZodString>;
646
+ assets: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodAny, any, any>>, Record<string, any>, Record<string, any>>>;
647
+ click_url: z.ZodOptional<z.ZodString>;
648
+ duration: z.ZodOptional<z.ZodNumber>;
649
+ width: z.ZodOptional<z.ZodNumber>;
650
+ height: z.ZodOptional<z.ZodNumber>;
651
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
652
+ assignments: z.ZodOptional<z.ZodObject<{
653
+ assignment_count: z.ZodNumber;
654
+ assigned_packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
655
+ package_id: z.ZodString;
656
+ package_name: z.ZodOptional<z.ZodString>;
657
+ assigned_date: z.ZodString;
658
+ status: z.ZodEnum<["active", "paused", "ended"]>;
659
+ }, "strict", z.ZodTypeAny, {
660
+ status: "active" | "paused" | "ended";
661
+ package_id: string;
662
+ assigned_date: string;
663
+ package_name?: string | undefined;
664
+ }, {
665
+ status: "active" | "paused" | "ended";
666
+ package_id: string;
667
+ assigned_date: string;
668
+ package_name?: string | undefined;
669
+ }>, "many">>;
670
+ }, "strict", z.ZodTypeAny, {
671
+ assignment_count: number;
672
+ assigned_packages?: {
673
+ status: "active" | "paused" | "ended";
674
+ package_id: string;
675
+ assigned_date: string;
676
+ package_name?: string | undefined;
677
+ }[] | undefined;
678
+ }, {
679
+ assignment_count: number;
680
+ assigned_packages?: {
681
+ status: "active" | "paused" | "ended";
682
+ package_id: string;
683
+ assigned_date: string;
684
+ package_name?: string | undefined;
685
+ }[] | undefined;
686
+ }>>;
687
+ performance: z.ZodOptional<z.ZodObject<{
688
+ impressions: z.ZodOptional<z.ZodNumber>;
689
+ clicks: z.ZodOptional<z.ZodNumber>;
690
+ ctr: z.ZodOptional<z.ZodNumber>;
691
+ conversion_rate: z.ZodOptional<z.ZodNumber>;
692
+ performance_score: z.ZodOptional<z.ZodNumber>;
693
+ last_updated: z.ZodString;
694
+ }, "strict", z.ZodTypeAny, {
695
+ last_updated: string;
696
+ impressions?: number | undefined;
697
+ clicks?: number | undefined;
698
+ ctr?: number | undefined;
699
+ performance_score?: number | undefined;
700
+ conversion_rate?: number | undefined;
701
+ }, {
702
+ last_updated: string;
703
+ impressions?: number | undefined;
704
+ clicks?: number | undefined;
705
+ ctr?: number | undefined;
706
+ performance_score?: number | undefined;
707
+ conversion_rate?: number | undefined;
708
+ }>>;
709
+ sub_assets: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
710
+ }, "strict", z.ZodTypeAny, {
711
+ creative_id: string;
712
+ name: string;
713
+ created_date: string;
714
+ updated_date: string;
715
+ status?: any;
716
+ format_id?: any;
717
+ assets?: Record<string, any> | undefined;
718
+ tags?: string[] | undefined;
719
+ assignments?: {
720
+ assignment_count: number;
721
+ assigned_packages?: {
722
+ status: "active" | "paused" | "ended";
723
+ package_id: string;
724
+ assigned_date: string;
725
+ package_name?: string | undefined;
726
+ }[] | undefined;
727
+ } | undefined;
728
+ performance?: {
729
+ last_updated: string;
730
+ impressions?: number | undefined;
731
+ clicks?: number | undefined;
732
+ ctr?: number | undefined;
733
+ performance_score?: number | undefined;
734
+ conversion_rate?: number | undefined;
735
+ } | undefined;
736
+ sub_assets?: any[] | undefined;
737
+ media_url?: string | undefined;
738
+ click_url?: string | undefined;
739
+ duration?: number | undefined;
740
+ width?: number | undefined;
741
+ height?: number | undefined;
742
+ }, {
743
+ creative_id: string;
744
+ name: string;
745
+ created_date: string;
746
+ updated_date: string;
747
+ status?: any;
748
+ format_id?: any;
749
+ assets?: Record<string, any> | undefined;
750
+ tags?: string[] | undefined;
751
+ assignments?: {
752
+ assignment_count: number;
753
+ assigned_packages?: {
754
+ status: "active" | "paused" | "ended";
755
+ package_id: string;
756
+ assigned_date: string;
757
+ package_name?: string | undefined;
758
+ }[] | undefined;
759
+ } | undefined;
760
+ performance?: {
761
+ last_updated: string;
762
+ impressions?: number | undefined;
763
+ clicks?: number | undefined;
764
+ ctr?: number | undefined;
765
+ performance_score?: number | undefined;
766
+ conversion_rate?: number | undefined;
767
+ } | undefined;
768
+ sub_assets?: any[] | undefined;
769
+ media_url?: string | undefined;
770
+ click_url?: string | undefined;
771
+ duration?: number | undefined;
772
+ width?: number | undefined;
773
+ height?: number | undefined;
774
+ }>, "many">;
775
+ format_summary: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodNever]>>, Record<string, number>, Record<string, number>>>;
776
+ status_summary: z.ZodOptional<z.ZodObject<{
777
+ approved: z.ZodOptional<z.ZodNumber>;
778
+ pending_review: z.ZodOptional<z.ZodNumber>;
779
+ rejected: z.ZodOptional<z.ZodNumber>;
780
+ archived: z.ZodOptional<z.ZodNumber>;
781
+ }, "strict", z.ZodTypeAny, {
782
+ pending_review?: number | undefined;
783
+ approved?: number | undefined;
784
+ rejected?: number | undefined;
785
+ archived?: number | undefined;
786
+ }, {
787
+ pending_review?: number | undefined;
788
+ approved?: number | undefined;
789
+ rejected?: number | undefined;
790
+ archived?: number | undefined;
791
+ }>>;
792
+ }, "strict", z.ZodTypeAny, {
793
+ creatives: {
794
+ creative_id: string;
795
+ name: string;
796
+ created_date: string;
797
+ updated_date: string;
798
+ status?: any;
799
+ format_id?: any;
800
+ assets?: Record<string, any> | undefined;
801
+ tags?: string[] | undefined;
802
+ assignments?: {
803
+ assignment_count: number;
804
+ assigned_packages?: {
805
+ status: "active" | "paused" | "ended";
806
+ package_id: string;
807
+ assigned_date: string;
808
+ package_name?: string | undefined;
809
+ }[] | undefined;
810
+ } | undefined;
811
+ performance?: {
812
+ last_updated: string;
813
+ impressions?: number | undefined;
814
+ clicks?: number | undefined;
815
+ ctr?: number | undefined;
816
+ performance_score?: number | undefined;
817
+ conversion_rate?: number | undefined;
818
+ } | undefined;
819
+ sub_assets?: any[] | undefined;
820
+ media_url?: string | undefined;
821
+ click_url?: string | undefined;
822
+ duration?: number | undefined;
823
+ width?: number | undefined;
824
+ height?: number | undefined;
825
+ }[];
826
+ pagination: {
827
+ offset: number;
828
+ limit: number;
829
+ has_more: boolean;
830
+ total_pages?: number | undefined;
831
+ current_page?: number | undefined;
832
+ };
833
+ query_summary: {
834
+ total_matching: number;
835
+ returned: number;
836
+ filters_applied?: string[] | undefined;
837
+ sort_applied?: {
838
+ field?: string | undefined;
839
+ direction?: "asc" | "desc" | undefined;
840
+ } | undefined;
841
+ };
842
+ format_summary?: Record<string, number> | undefined;
843
+ status_summary?: {
844
+ pending_review?: number | undefined;
845
+ approved?: number | undefined;
846
+ rejected?: number | undefined;
847
+ archived?: number | undefined;
848
+ } | undefined;
849
+ }, {
850
+ creatives: {
851
+ creative_id: string;
852
+ name: string;
853
+ created_date: string;
854
+ updated_date: string;
855
+ status?: any;
856
+ format_id?: any;
857
+ assets?: Record<string, any> | undefined;
858
+ tags?: string[] | undefined;
859
+ assignments?: {
860
+ assignment_count: number;
861
+ assigned_packages?: {
862
+ status: "active" | "paused" | "ended";
863
+ package_id: string;
864
+ assigned_date: string;
865
+ package_name?: string | undefined;
866
+ }[] | undefined;
867
+ } | undefined;
868
+ performance?: {
869
+ last_updated: string;
870
+ impressions?: number | undefined;
871
+ clicks?: number | undefined;
872
+ ctr?: number | undefined;
873
+ performance_score?: number | undefined;
874
+ conversion_rate?: number | undefined;
875
+ } | undefined;
876
+ sub_assets?: any[] | undefined;
877
+ media_url?: string | undefined;
878
+ click_url?: string | undefined;
879
+ duration?: number | undefined;
880
+ width?: number | undefined;
881
+ height?: number | undefined;
882
+ }[];
883
+ pagination: {
884
+ offset: number;
885
+ limit: number;
886
+ has_more: boolean;
887
+ total_pages?: number | undefined;
888
+ current_page?: number | undefined;
889
+ };
890
+ query_summary: {
891
+ total_matching: number;
892
+ returned: number;
893
+ filters_applied?: string[] | undefined;
894
+ sort_applied?: {
895
+ field?: string | undefined;
896
+ direction?: "asc" | "desc" | undefined;
897
+ } | undefined;
898
+ };
899
+ format_summary?: Record<string, number> | undefined;
900
+ status_summary?: {
901
+ pending_review?: number | undefined;
902
+ approved?: number | undefined;
903
+ rejected?: number | undefined;
904
+ archived?: number | undefined;
905
+ } | undefined;
906
+ }>;
907
+ export declare const UpdateMediaBuyRequestSchema: z.ZodIntersection<z.ZodObject<{
908
+ media_buy_id: z.ZodOptional<z.ZodString>;
909
+ buyer_ref: z.ZodOptional<z.ZodString>;
910
+ active: z.ZodOptional<z.ZodBoolean>;
911
+ start_time: z.ZodOptional<z.ZodAny>;
912
+ end_time: z.ZodOptional<z.ZodString>;
913
+ budget: z.ZodOptional<z.ZodNumber>;
914
+ packages: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
915
+ package_id: z.ZodOptional<z.ZodString>;
916
+ buyer_ref: z.ZodOptional<z.ZodString>;
917
+ budget: z.ZodOptional<z.ZodNumber>;
918
+ active: z.ZodOptional<z.ZodBoolean>;
919
+ targeting_overlay: z.ZodOptional<z.ZodAny>;
920
+ creative_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
921
+ }, "strict", z.ZodTypeAny, {
922
+ active?: boolean | undefined;
923
+ buyer_ref?: string | undefined;
924
+ budget?: number | undefined;
925
+ package_id?: string | undefined;
926
+ creative_ids?: string[] | undefined;
927
+ targeting_overlay?: any;
928
+ }, {
929
+ active?: boolean | undefined;
930
+ buyer_ref?: string | undefined;
931
+ budget?: number | undefined;
932
+ package_id?: string | undefined;
933
+ creative_ids?: string[] | undefined;
934
+ targeting_overlay?: any;
935
+ }>, z.ZodEffects<z.ZodAny, any, any>>, "many">>;
936
+ push_notification_config: z.ZodOptional<z.ZodAny>;
937
+ }, "strict", z.ZodTypeAny, {
938
+ active?: boolean | undefined;
939
+ media_buy_id?: string | undefined;
940
+ buyer_ref?: string | undefined;
941
+ packages?: any[] | undefined;
942
+ start_time?: any;
943
+ end_time?: string | undefined;
944
+ budget?: number | undefined;
945
+ push_notification_config?: any;
946
+ }, {
947
+ active?: boolean | undefined;
948
+ media_buy_id?: string | undefined;
949
+ buyer_ref?: string | undefined;
950
+ packages?: any[] | undefined;
951
+ start_time?: any;
952
+ end_time?: string | undefined;
953
+ budget?: number | undefined;
954
+ push_notification_config?: any;
955
+ }>, z.ZodEffects<z.ZodAny, any, any>>;
956
+ export declare const UpdateMediaBuyResponseSchema: z.ZodObject<{
957
+ media_buy_id: z.ZodString;
958
+ buyer_ref: z.ZodString;
959
+ implementation_date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
960
+ affected_packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
961
+ package_id: z.ZodString;
962
+ buyer_ref: z.ZodString;
963
+ }, "strict", z.ZodTypeAny, {
964
+ buyer_ref: string;
965
+ package_id: string;
966
+ }, {
967
+ buyer_ref: string;
968
+ package_id: string;
969
+ }>, "many">>;
970
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
971
+ }, "strict", z.ZodTypeAny, {
972
+ media_buy_id: string;
973
+ buyer_ref: string;
974
+ errors?: any[] | undefined;
975
+ implementation_date?: string | null | undefined;
976
+ affected_packages?: {
977
+ buyer_ref: string;
978
+ package_id: string;
979
+ }[] | undefined;
980
+ }, {
981
+ media_buy_id: string;
982
+ buyer_ref: string;
983
+ errors?: any[] | undefined;
984
+ implementation_date?: string | null | undefined;
985
+ affected_packages?: {
986
+ buyer_ref: string;
987
+ package_id: string;
988
+ }[] | undefined;
989
+ }>;
990
+ export declare const GetMediaBuyDeliveryRequestSchema: z.ZodObject<{
991
+ media_buy_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
992
+ buyer_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
993
+ status_filter: z.ZodOptional<z.ZodEffects<z.ZodAny, any, any>>;
994
+ start_date: z.ZodOptional<z.ZodString>;
995
+ end_date: z.ZodOptional<z.ZodString>;
996
+ }, "strict", z.ZodTypeAny, {
997
+ media_buy_ids?: string[] | undefined;
998
+ buyer_refs?: string[] | undefined;
999
+ status_filter?: any;
1000
+ start_date?: string | undefined;
1001
+ end_date?: string | undefined;
1002
+ }, {
1003
+ media_buy_ids?: string[] | undefined;
1004
+ buyer_refs?: string[] | undefined;
1005
+ status_filter?: any;
1006
+ start_date?: string | undefined;
1007
+ end_date?: string | undefined;
1008
+ }>;
1009
+ export declare const GetMediaBuyDeliveryResponseSchema: z.ZodObject<{
1010
+ notification_type: z.ZodOptional<z.ZodEnum<["scheduled", "final", "delayed", "adjusted"]>>;
1011
+ partial_data: z.ZodOptional<z.ZodBoolean>;
1012
+ unavailable_count: z.ZodOptional<z.ZodNumber>;
1013
+ sequence_number: z.ZodOptional<z.ZodNumber>;
1014
+ next_expected_at: z.ZodOptional<z.ZodString>;
1015
+ reporting_period: z.ZodObject<{
1016
+ start: z.ZodString;
1017
+ end: z.ZodString;
1018
+ }, "strict", z.ZodTypeAny, {
1019
+ start: string;
1020
+ end: string;
1021
+ }, {
1022
+ start: string;
1023
+ end: string;
1024
+ }>;
1025
+ currency: z.ZodString;
1026
+ aggregated_totals: z.ZodOptional<z.ZodObject<{
1027
+ impressions: z.ZodNumber;
1028
+ spend: z.ZodNumber;
1029
+ clicks: z.ZodOptional<z.ZodNumber>;
1030
+ video_completions: z.ZodOptional<z.ZodNumber>;
1031
+ media_buy_count: z.ZodNumber;
1032
+ }, "strict", z.ZodTypeAny, {
1033
+ impressions: number;
1034
+ spend: number;
1035
+ media_buy_count: number;
1036
+ clicks?: number | undefined;
1037
+ video_completions?: number | undefined;
1038
+ }, {
1039
+ impressions: number;
1040
+ spend: number;
1041
+ media_buy_count: number;
1042
+ clicks?: number | undefined;
1043
+ video_completions?: number | undefined;
1044
+ }>>;
1045
+ media_buy_deliveries: z.ZodArray<z.ZodObject<{
1046
+ media_buy_id: z.ZodString;
1047
+ buyer_ref: z.ZodOptional<z.ZodString>;
1048
+ status: z.ZodEnum<["pending", "active", "paused", "completed", "failed", "reporting_delayed"]>;
1049
+ expected_availability: z.ZodOptional<z.ZodString>;
1050
+ is_adjusted: z.ZodOptional<z.ZodBoolean>;
1051
+ pricing_model: z.ZodOptional<z.ZodAny>;
1052
+ totals: z.ZodIntersection<z.ZodAny, z.ZodObject<{
1053
+ effective_rate: z.ZodOptional<z.ZodNumber>;
1054
+ }, "strip", z.ZodTypeAny, {
1055
+ effective_rate?: number | undefined;
1056
+ }, {
1057
+ effective_rate?: number | undefined;
1058
+ }>>;
1059
+ by_package: z.ZodArray<z.ZodIntersection<z.ZodAny, z.ZodObject<{
1060
+ package_id: z.ZodString;
1061
+ buyer_ref: z.ZodOptional<z.ZodString>;
1062
+ pacing_index: z.ZodOptional<z.ZodNumber>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ package_id: string;
1065
+ buyer_ref?: string | undefined;
1066
+ pacing_index?: number | undefined;
1067
+ }, {
1068
+ package_id: string;
1069
+ buyer_ref?: string | undefined;
1070
+ pacing_index?: number | undefined;
1071
+ }>>, "many">;
1072
+ daily_breakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
1073
+ date: z.ZodString;
1074
+ impressions: z.ZodNumber;
1075
+ spend: z.ZodNumber;
1076
+ }, "strict", z.ZodTypeAny, {
1077
+ impressions: number;
1078
+ spend: number;
1079
+ date: string;
1080
+ }, {
1081
+ impressions: number;
1082
+ spend: number;
1083
+ date: string;
1084
+ }>, "many">>;
1085
+ }, "strict", z.ZodTypeAny, {
1086
+ media_buy_id: string;
1087
+ status: "active" | "paused" | "completed" | "pending" | "failed" | "reporting_delayed";
1088
+ by_package: any[];
1089
+ buyer_ref?: string | undefined;
1090
+ expected_availability?: string | undefined;
1091
+ is_adjusted?: boolean | undefined;
1092
+ pricing_model?: any;
1093
+ totals?: any;
1094
+ daily_breakdown?: {
1095
+ impressions: number;
1096
+ spend: number;
1097
+ date: string;
1098
+ }[] | undefined;
1099
+ }, {
1100
+ media_buy_id: string;
1101
+ status: "active" | "paused" | "completed" | "pending" | "failed" | "reporting_delayed";
1102
+ by_package: any[];
1103
+ buyer_ref?: string | undefined;
1104
+ expected_availability?: string | undefined;
1105
+ is_adjusted?: boolean | undefined;
1106
+ pricing_model?: any;
1107
+ totals?: any;
1108
+ daily_breakdown?: {
1109
+ impressions: number;
1110
+ spend: number;
1111
+ date: string;
1112
+ }[] | undefined;
1113
+ }>, "many">;
1114
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1115
+ }, "strict", z.ZodTypeAny, {
1116
+ reporting_period: {
1117
+ start: string;
1118
+ end: string;
1119
+ };
1120
+ currency: string;
1121
+ media_buy_deliveries: {
1122
+ media_buy_id: string;
1123
+ status: "active" | "paused" | "completed" | "pending" | "failed" | "reporting_delayed";
1124
+ by_package: any[];
1125
+ buyer_ref?: string | undefined;
1126
+ expected_availability?: string | undefined;
1127
+ is_adjusted?: boolean | undefined;
1128
+ pricing_model?: any;
1129
+ totals?: any;
1130
+ daily_breakdown?: {
1131
+ impressions: number;
1132
+ spend: number;
1133
+ date: string;
1134
+ }[] | undefined;
1135
+ }[];
1136
+ errors?: any[] | undefined;
1137
+ notification_type?: "scheduled" | "final" | "delayed" | "adjusted" | undefined;
1138
+ partial_data?: boolean | undefined;
1139
+ unavailable_count?: number | undefined;
1140
+ sequence_number?: number | undefined;
1141
+ next_expected_at?: string | undefined;
1142
+ aggregated_totals?: {
1143
+ impressions: number;
1144
+ spend: number;
1145
+ media_buy_count: number;
1146
+ clicks?: number | undefined;
1147
+ video_completions?: number | undefined;
1148
+ } | undefined;
1149
+ }, {
1150
+ reporting_period: {
1151
+ start: string;
1152
+ end: string;
1153
+ };
1154
+ currency: string;
1155
+ media_buy_deliveries: {
1156
+ media_buy_id: string;
1157
+ status: "active" | "paused" | "completed" | "pending" | "failed" | "reporting_delayed";
1158
+ by_package: any[];
1159
+ buyer_ref?: string | undefined;
1160
+ expected_availability?: string | undefined;
1161
+ is_adjusted?: boolean | undefined;
1162
+ pricing_model?: any;
1163
+ totals?: any;
1164
+ daily_breakdown?: {
1165
+ impressions: number;
1166
+ spend: number;
1167
+ date: string;
1168
+ }[] | undefined;
1169
+ }[];
1170
+ errors?: any[] | undefined;
1171
+ notification_type?: "scheduled" | "final" | "delayed" | "adjusted" | undefined;
1172
+ partial_data?: boolean | undefined;
1173
+ unavailable_count?: number | undefined;
1174
+ sequence_number?: number | undefined;
1175
+ next_expected_at?: string | undefined;
1176
+ aggregated_totals?: {
1177
+ impressions: number;
1178
+ spend: number;
1179
+ media_buy_count: number;
1180
+ clicks?: number | undefined;
1181
+ video_completions?: number | undefined;
1182
+ } | undefined;
1183
+ }>;
1184
+ export declare const ListAuthorizedPropertiesRequestSchema: z.ZodObject<{
1185
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1186
+ }, "strict", z.ZodTypeAny, {
1187
+ tags?: string[] | undefined;
1188
+ }, {
1189
+ tags?: string[] | undefined;
1190
+ }>;
1191
+ export declare const ListAuthorizedPropertiesResponseSchema: z.ZodObject<{
1192
+ properties: z.ZodArray<z.ZodAny, "many">;
1193
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1194
+ name: z.ZodString;
1195
+ description: z.ZodString;
1196
+ }, "strict", z.ZodTypeAny, {
1197
+ name: string;
1198
+ description: string;
1199
+ }, {
1200
+ name: string;
1201
+ description: string;
1202
+ }>>>;
1203
+ primary_channels: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1204
+ primary_countries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1205
+ portfolio_description: z.ZodOptional<z.ZodString>;
1206
+ advertising_policies: z.ZodOptional<z.ZodString>;
1207
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1208
+ }, "strict", z.ZodTypeAny, {
1209
+ properties: any[];
1210
+ tags?: Record<string, {
1211
+ name: string;
1212
+ description: string;
1213
+ }> | undefined;
1214
+ errors?: any[] | undefined;
1215
+ primary_channels?: any[] | undefined;
1216
+ primary_countries?: string[] | undefined;
1217
+ portfolio_description?: string | undefined;
1218
+ advertising_policies?: string | undefined;
1219
+ }, {
1220
+ properties: any[];
1221
+ tags?: Record<string, {
1222
+ name: string;
1223
+ description: string;
1224
+ }> | undefined;
1225
+ errors?: any[] | undefined;
1226
+ primary_channels?: any[] | undefined;
1227
+ primary_countries?: string[] | undefined;
1228
+ portfolio_description?: string | undefined;
1229
+ advertising_policies?: string | undefined;
1230
+ }>;
1231
+ export declare const ProvidePerformanceFeedbackRequestSchema: z.ZodObject<{
1232
+ media_buy_id: z.ZodString;
1233
+ measurement_period: z.ZodObject<{
1234
+ start: z.ZodString;
1235
+ end: z.ZodString;
1236
+ }, "strict", z.ZodTypeAny, {
1237
+ start: string;
1238
+ end: string;
1239
+ }, {
1240
+ start: string;
1241
+ end: string;
1242
+ }>;
1243
+ performance_index: z.ZodNumber;
1244
+ package_id: z.ZodOptional<z.ZodString>;
1245
+ creative_id: z.ZodOptional<z.ZodString>;
1246
+ metric_type: z.ZodDefault<z.ZodEnum<["overall_performance", "conversion_rate", "brand_lift", "click_through_rate", "completion_rate", "viewability", "brand_safety", "cost_efficiency"]>>;
1247
+ feedback_source: z.ZodDefault<z.ZodEnum<["buyer_attribution", "third_party_measurement", "platform_analytics", "verification_partner"]>>;
1248
+ }, "strict", z.ZodTypeAny, {
1249
+ media_buy_id: string;
1250
+ measurement_period: {
1251
+ start: string;
1252
+ end: string;
1253
+ };
1254
+ performance_index: number;
1255
+ metric_type: "completion_rate" | "viewability" | "conversion_rate" | "overall_performance" | "brand_lift" | "click_through_rate" | "brand_safety" | "cost_efficiency";
1256
+ feedback_source: "buyer_attribution" | "third_party_measurement" | "platform_analytics" | "verification_partner";
1257
+ creative_id?: string | undefined;
1258
+ package_id?: string | undefined;
1259
+ }, {
1260
+ media_buy_id: string;
1261
+ measurement_period: {
1262
+ start: string;
1263
+ end: string;
1264
+ };
1265
+ performance_index: number;
1266
+ creative_id?: string | undefined;
1267
+ package_id?: string | undefined;
1268
+ metric_type?: "completion_rate" | "viewability" | "conversion_rate" | "overall_performance" | "brand_lift" | "click_through_rate" | "brand_safety" | "cost_efficiency" | undefined;
1269
+ feedback_source?: "buyer_attribution" | "third_party_measurement" | "platform_analytics" | "verification_partner" | undefined;
1270
+ }>;
1271
+ export declare const ProvidePerformanceFeedbackResponseSchema: z.ZodObject<{
1272
+ success: z.ZodBoolean;
1273
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1274
+ }, "strict", z.ZodTypeAny, {
1275
+ success: boolean;
1276
+ errors?: any[] | undefined;
1277
+ }, {
1278
+ success: boolean;
1279
+ errors?: any[] | undefined;
1280
+ }>;
1281
+ export declare const GetSignalsRequestSchema: z.ZodObject<{
1282
+ signal_spec: z.ZodString;
1283
+ deliver_to: z.ZodObject<{
1284
+ platforms: z.ZodEffects<z.ZodAny, any, any>;
1285
+ accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1286
+ platform: z.ZodString;
1287
+ account: z.ZodString;
1288
+ }, "strict", z.ZodTypeAny, {
1289
+ platform: string;
1290
+ account: string;
1291
+ }, {
1292
+ platform: string;
1293
+ account: string;
1294
+ }>, "many">>;
1295
+ countries: z.ZodArray<z.ZodString, "many">;
1296
+ }, "strict", z.ZodTypeAny, {
1297
+ countries: string[];
1298
+ platforms?: any;
1299
+ accounts?: {
1300
+ platform: string;
1301
+ account: string;
1302
+ }[] | undefined;
1303
+ }, {
1304
+ countries: string[];
1305
+ platforms?: any;
1306
+ accounts?: {
1307
+ platform: string;
1308
+ account: string;
1309
+ }[] | undefined;
1310
+ }>;
1311
+ filters: z.ZodOptional<z.ZodObject<{
1312
+ catalog_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["marketplace", "custom", "owned"]>, "many">>;
1313
+ data_providers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1314
+ max_cpm: z.ZodOptional<z.ZodNumber>;
1315
+ min_coverage_percentage: z.ZodOptional<z.ZodNumber>;
1316
+ }, "strict", z.ZodTypeAny, {
1317
+ catalog_types?: ("custom" | "marketplace" | "owned")[] | undefined;
1318
+ data_providers?: string[] | undefined;
1319
+ max_cpm?: number | undefined;
1320
+ min_coverage_percentage?: number | undefined;
1321
+ }, {
1322
+ catalog_types?: ("custom" | "marketplace" | "owned")[] | undefined;
1323
+ data_providers?: string[] | undefined;
1324
+ max_cpm?: number | undefined;
1325
+ min_coverage_percentage?: number | undefined;
1326
+ }>>;
1327
+ max_results: z.ZodOptional<z.ZodNumber>;
1328
+ }, "strict", z.ZodTypeAny, {
1329
+ signal_spec: string;
1330
+ deliver_to: {
1331
+ countries: string[];
1332
+ platforms?: any;
1333
+ accounts?: {
1334
+ platform: string;
1335
+ account: string;
1336
+ }[] | undefined;
1337
+ };
1338
+ filters?: {
1339
+ catalog_types?: ("custom" | "marketplace" | "owned")[] | undefined;
1340
+ data_providers?: string[] | undefined;
1341
+ max_cpm?: number | undefined;
1342
+ min_coverage_percentage?: number | undefined;
1343
+ } | undefined;
1344
+ max_results?: number | undefined;
1345
+ }, {
1346
+ signal_spec: string;
1347
+ deliver_to: {
1348
+ countries: string[];
1349
+ platforms?: any;
1350
+ accounts?: {
1351
+ platform: string;
1352
+ account: string;
1353
+ }[] | undefined;
1354
+ };
1355
+ filters?: {
1356
+ catalog_types?: ("custom" | "marketplace" | "owned")[] | undefined;
1357
+ data_providers?: string[] | undefined;
1358
+ max_cpm?: number | undefined;
1359
+ min_coverage_percentage?: number | undefined;
1360
+ } | undefined;
1361
+ max_results?: number | undefined;
1362
+ }>;
1363
+ export declare const GetSignalsResponseSchema: z.ZodObject<{
1364
+ signals: z.ZodArray<z.ZodObject<{
1365
+ signal_agent_segment_id: z.ZodString;
1366
+ name: z.ZodString;
1367
+ description: z.ZodString;
1368
+ signal_type: z.ZodEnum<["marketplace", "custom", "owned"]>;
1369
+ data_provider: z.ZodString;
1370
+ coverage_percentage: z.ZodNumber;
1371
+ deployments: z.ZodArray<z.ZodObject<{
1372
+ platform: z.ZodString;
1373
+ account: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1374
+ is_live: z.ZodBoolean;
1375
+ scope: z.ZodEnum<["platform-wide", "account-specific"]>;
1376
+ decisioning_platform_segment_id: z.ZodOptional<z.ZodString>;
1377
+ estimated_activation_duration_minutes: z.ZodOptional<z.ZodNumber>;
1378
+ }, "strict", z.ZodTypeAny, {
1379
+ platform: string;
1380
+ is_live: boolean;
1381
+ scope: "platform-wide" | "account-specific";
1382
+ account?: string | null | undefined;
1383
+ decisioning_platform_segment_id?: string | undefined;
1384
+ estimated_activation_duration_minutes?: number | undefined;
1385
+ }, {
1386
+ platform: string;
1387
+ is_live: boolean;
1388
+ scope: "platform-wide" | "account-specific";
1389
+ account?: string | null | undefined;
1390
+ decisioning_platform_segment_id?: string | undefined;
1391
+ estimated_activation_duration_minutes?: number | undefined;
1392
+ }>, "many">;
1393
+ pricing: z.ZodObject<{
1394
+ cpm: z.ZodNumber;
1395
+ currency: z.ZodString;
1396
+ }, "strict", z.ZodTypeAny, {
1397
+ cpm: number;
1398
+ currency: string;
1399
+ }, {
1400
+ cpm: number;
1401
+ currency: string;
1402
+ }>;
1403
+ }, "strict", z.ZodTypeAny, {
1404
+ name: string;
1405
+ description: string;
1406
+ signal_agent_segment_id: string;
1407
+ signal_type: "custom" | "marketplace" | "owned";
1408
+ data_provider: string;
1409
+ coverage_percentage: number;
1410
+ deployments: {
1411
+ platform: string;
1412
+ is_live: boolean;
1413
+ scope: "platform-wide" | "account-specific";
1414
+ account?: string | null | undefined;
1415
+ decisioning_platform_segment_id?: string | undefined;
1416
+ estimated_activation_duration_minutes?: number | undefined;
1417
+ }[];
1418
+ pricing: {
1419
+ cpm: number;
1420
+ currency: string;
1421
+ };
1422
+ }, {
1423
+ name: string;
1424
+ description: string;
1425
+ signal_agent_segment_id: string;
1426
+ signal_type: "custom" | "marketplace" | "owned";
1427
+ data_provider: string;
1428
+ coverage_percentage: number;
1429
+ deployments: {
1430
+ platform: string;
1431
+ is_live: boolean;
1432
+ scope: "platform-wide" | "account-specific";
1433
+ account?: string | null | undefined;
1434
+ decisioning_platform_segment_id?: string | undefined;
1435
+ estimated_activation_duration_minutes?: number | undefined;
1436
+ }[];
1437
+ pricing: {
1438
+ cpm: number;
1439
+ currency: string;
1440
+ };
1441
+ }>, "many">;
1442
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1443
+ }, "strict", z.ZodTypeAny, {
1444
+ signals: {
1445
+ name: string;
1446
+ description: string;
1447
+ signal_agent_segment_id: string;
1448
+ signal_type: "custom" | "marketplace" | "owned";
1449
+ data_provider: string;
1450
+ coverage_percentage: number;
1451
+ deployments: {
1452
+ platform: string;
1453
+ is_live: boolean;
1454
+ scope: "platform-wide" | "account-specific";
1455
+ account?: string | null | undefined;
1456
+ decisioning_platform_segment_id?: string | undefined;
1457
+ estimated_activation_duration_minutes?: number | undefined;
1458
+ }[];
1459
+ pricing: {
1460
+ cpm: number;
1461
+ currency: string;
1462
+ };
1463
+ }[];
1464
+ errors?: any[] | undefined;
1465
+ }, {
1466
+ signals: {
1467
+ name: string;
1468
+ description: string;
1469
+ signal_agent_segment_id: string;
1470
+ signal_type: "custom" | "marketplace" | "owned";
1471
+ data_provider: string;
1472
+ coverage_percentage: number;
1473
+ deployments: {
1474
+ platform: string;
1475
+ is_live: boolean;
1476
+ scope: "platform-wide" | "account-specific";
1477
+ account?: string | null | undefined;
1478
+ decisioning_platform_segment_id?: string | undefined;
1479
+ estimated_activation_duration_minutes?: number | undefined;
1480
+ }[];
1481
+ pricing: {
1482
+ cpm: number;
1483
+ currency: string;
1484
+ };
1485
+ }[];
1486
+ errors?: any[] | undefined;
1487
+ }>;
1488
+ export declare const ActivateSignalRequestSchema: z.ZodObject<{
1489
+ signal_agent_segment_id: z.ZodString;
1490
+ platform: z.ZodString;
1491
+ account: z.ZodOptional<z.ZodString>;
1492
+ }, "strict", z.ZodTypeAny, {
1493
+ platform: string;
1494
+ signal_agent_segment_id: string;
1495
+ account?: string | undefined;
1496
+ }, {
1497
+ platform: string;
1498
+ signal_agent_segment_id: string;
1499
+ account?: string | undefined;
1500
+ }>;
1501
+ export declare const ActivateSignalResponseSchema: z.ZodObject<{
1502
+ decisioning_platform_segment_id: z.ZodOptional<z.ZodString>;
1503
+ estimated_activation_duration_minutes: z.ZodOptional<z.ZodNumber>;
1504
+ deployed_at: z.ZodOptional<z.ZodString>;
1505
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1506
+ }, "strict", z.ZodTypeAny, {
1507
+ errors?: any[] | undefined;
1508
+ decisioning_platform_segment_id?: string | undefined;
1509
+ estimated_activation_duration_minutes?: number | undefined;
1510
+ deployed_at?: string | undefined;
1511
+ }, {
1512
+ errors?: any[] | undefined;
1513
+ decisioning_platform_segment_id?: string | undefined;
1514
+ estimated_activation_duration_minutes?: number | undefined;
1515
+ deployed_at?: string | undefined;
1516
+ }>;
1517
+ //# sourceMappingURL=schemas.generated.d.ts.map