@postrun/js 0.1.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,3392 @@
1
+ import * as z from 'zod';
2
+
3
+ /**
4
+ * ErrorCode
5
+ *
6
+ * The closed set of machine-readable Postrun error codes. Branch on this. Each links to https://docs.postrun.ai/errors/<code>.
7
+ */
8
+ declare const zErrorCode: z.ZodEnum<{
9
+ unauthorized: "unauthorized";
10
+ forbidden: "forbidden";
11
+ not_found: "not_found";
12
+ conflict: "conflict";
13
+ validation_failed: "validation_failed";
14
+ rate_limited: "rate_limited";
15
+ internal_error: "internal_error";
16
+ idempotency_key_invalid: "idempotency_key_invalid";
17
+ idempotency_key_reused: "idempotency_key_reused";
18
+ idempotency_request_in_progress: "idempotency_request_in_progress";
19
+ source_url_unsupported: "source_url_unsupported";
20
+ account_not_available: "account_not_available";
21
+ connection_reauth_required: "connection_reauth_required";
22
+ connection_not_pending: "connection_not_pending";
23
+ not_implemented: "not_implemented";
24
+ media_processing: "media_processing";
25
+ not_publishable: "not_publishable";
26
+ media_unprobeable: "media_unprobeable";
27
+ media_too_large: "media_too_large";
28
+ media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
29
+ media_resolution_too_low: "media_resolution_too_low";
30
+ media_gif_unsupported: "media_gif_unsupported";
31
+ media_format_recompressed: "media_format_recompressed";
32
+ media_resolution_downscaled: "media_resolution_downscaled";
33
+ video_container_unsupported: "video_container_unsupported";
34
+ video_codec_unsupported: "video_codec_unsupported";
35
+ video_audio_codec_unsupported: "video_audio_codec_unsupported";
36
+ video_too_large: "video_too_large";
37
+ video_too_small: "video_too_small";
38
+ video_dimensions_unsupported: "video_dimensions_unsupported";
39
+ video_dimensions_too_large: "video_dimensions_too_large";
40
+ video_fps_unsupported: "video_fps_unsupported";
41
+ video_fps_too_low: "video_fps_too_low";
42
+ video_aspect_unsupported: "video_aspect_unsupported";
43
+ video_duration_too_short: "video_duration_too_short";
44
+ video_duration_exceeds_max: "video_duration_exceeds_max";
45
+ document_format_unsupported: "document_format_unsupported";
46
+ document_too_large: "document_too_large";
47
+ document_too_many_pages: "document_too_many_pages";
48
+ media_count_invalid: "media_count_invalid";
49
+ body_too_long: "body_too_long";
50
+ content_missing: "content_missing";
51
+ content_conflict: "content_conflict";
52
+ content_incomplete: "content_incomplete";
53
+ content_kind_mismatch: "content_kind_mismatch";
54
+ media_type_mismatch: "media_type_mismatch";
55
+ tag_limit_exceeded: "tag_limit_exceeded";
56
+ reel_field_on_non_reel: "reel_field_on_non_reel";
57
+ media_not_ready: "media_not_ready";
58
+ media_failed: "media_failed";
59
+ media_unsupported: "media_unsupported";
60
+ media_kind_mismatch: "media_kind_mismatch";
61
+ publishing_unavailable: "publishing_unavailable";
62
+ x_duplicate_content: "x_duplicate_content";
63
+ x_not_authorized: "x_not_authorized";
64
+ x_rate_limited: "x_rate_limited";
65
+ x_publish_failed: "x_publish_failed";
66
+ x_media_upload_failed: "x_media_upload_failed";
67
+ linkedin_duplicate_content: "linkedin_duplicate_content";
68
+ linkedin_auth_expired: "linkedin_auth_expired";
69
+ linkedin_permission_denied: "linkedin_permission_denied";
70
+ linkedin_media_processing: "linkedin_media_processing";
71
+ linkedin_media_upload_failed: "linkedin_media_upload_failed";
72
+ linkedin_publish_failed: "linkedin_publish_failed";
73
+ instagram_media_processing: "instagram_media_processing";
74
+ instagram_container_expired: "instagram_container_expired";
75
+ instagram_container_failed: "instagram_container_failed";
76
+ instagram_rate_limited: "instagram_rate_limited";
77
+ instagram_not_authorized: "instagram_not_authorized";
78
+ instagram_publish_failed: "instagram_publish_failed";
79
+ facebook_reel_processing: "facebook_reel_processing";
80
+ facebook_reel_failed: "facebook_reel_failed";
81
+ facebook_rate_limited: "facebook_rate_limited";
82
+ facebook_not_authorized: "facebook_not_authorized";
83
+ facebook_publish_failed: "facebook_publish_failed";
84
+ connection_platform_mismatch: "connection_platform_mismatch";
85
+ }>;
86
+ declare const zProfilesListQuery: z.ZodObject<{
87
+ limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
88
+ offset: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
89
+ external_id: z.ZodOptional<z.ZodString>;
90
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
91
+ }, z.core.$strip>;
92
+ /**
93
+ * OK
94
+ */
95
+ declare const zProfilesListResponse: z.ZodObject<{
96
+ object: z.ZodLiteral<"list">;
97
+ data: z.ZodArray<z.ZodObject<{
98
+ id: z.ZodString;
99
+ name: z.ZodString;
100
+ description: z.ZodNullable<z.ZodString>;
101
+ external_id: z.ZodNullable<z.ZodString>;
102
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
103
+ created_at: z.ZodNullable<z.ZodString>;
104
+ updated_at: z.ZodNullable<z.ZodString>;
105
+ }, z.core.$strip>>;
106
+ total: z.ZodInt;
107
+ limit: z.ZodInt;
108
+ offset: z.ZodInt;
109
+ has_more: z.ZodBoolean;
110
+ }, z.core.$strip>;
111
+ declare const zProfilesCreateBody: z.ZodObject<{
112
+ name: z.ZodString;
113
+ description: z.ZodOptional<z.ZodString>;
114
+ external_id: z.ZodOptional<z.ZodString>;
115
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
116
+ }, z.core.$strip>;
117
+ /**
118
+ * OK
119
+ */
120
+ declare const zProfilesCreateResponse: z.ZodObject<{
121
+ id: z.ZodString;
122
+ name: z.ZodString;
123
+ description: z.ZodNullable<z.ZodString>;
124
+ external_id: z.ZodNullable<z.ZodString>;
125
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
126
+ created_at: z.ZodNullable<z.ZodString>;
127
+ updated_at: z.ZodNullable<z.ZodString>;
128
+ }, z.core.$strip>;
129
+ declare const zProfilesDeletePath: z.ZodObject<{
130
+ id: z.ZodString;
131
+ }, z.core.$strip>;
132
+ /**
133
+ * OK
134
+ */
135
+ declare const zProfilesDeleteResponse: z.ZodObject<{
136
+ id: z.ZodString;
137
+ object: z.ZodLiteral<"profile">;
138
+ deleted: z.ZodLiteral<true>;
139
+ }, z.core.$strip>;
140
+ declare const zProfilesGetPath: z.ZodObject<{
141
+ id: z.ZodString;
142
+ }, z.core.$strip>;
143
+ /**
144
+ * OK
145
+ */
146
+ declare const zProfilesGetResponse: z.ZodObject<{
147
+ id: z.ZodString;
148
+ name: z.ZodString;
149
+ description: z.ZodNullable<z.ZodString>;
150
+ external_id: z.ZodNullable<z.ZodString>;
151
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
152
+ created_at: z.ZodNullable<z.ZodString>;
153
+ updated_at: z.ZodNullable<z.ZodString>;
154
+ }, z.core.$strip>;
155
+ declare const zProfilesUpdateBody: z.ZodObject<{
156
+ name: z.ZodOptional<z.ZodString>;
157
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
+ external_id: z.ZodOptional<z.ZodString>;
159
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
160
+ }, z.core.$strip>;
161
+ declare const zProfilesUpdatePath: z.ZodObject<{
162
+ id: z.ZodString;
163
+ }, z.core.$strip>;
164
+ /**
165
+ * OK
166
+ */
167
+ declare const zProfilesUpdateResponse: z.ZodObject<{
168
+ id: z.ZodString;
169
+ name: z.ZodString;
170
+ description: z.ZodNullable<z.ZodString>;
171
+ external_id: z.ZodNullable<z.ZodString>;
172
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
173
+ created_at: z.ZodNullable<z.ZodString>;
174
+ updated_at: z.ZodNullable<z.ZodString>;
175
+ }, z.core.$strip>;
176
+ declare const zConnectionsListByProfilePath: z.ZodObject<{
177
+ id: z.ZodString;
178
+ }, z.core.$strip>;
179
+ declare const zConnectionsListByProfileQuery: z.ZodObject<{
180
+ limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
181
+ offset: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
182
+ }, z.core.$strip>;
183
+ /**
184
+ * OK
185
+ */
186
+ declare const zConnectionsListByProfileResponse: z.ZodObject<{
187
+ object: z.ZodLiteral<"list">;
188
+ data: z.ZodArray<z.ZodObject<{
189
+ id: z.ZodString;
190
+ profile_id: z.ZodString;
191
+ platform: z.ZodEnum<{
192
+ meta_ads: "meta_ads";
193
+ google_ads: "google_ads";
194
+ tiktok_ads: "tiktok_ads";
195
+ x: "x";
196
+ linkedin: "linkedin";
197
+ facebook_page: "facebook_page";
198
+ instagram: "instagram";
199
+ tiktok: "tiktok";
200
+ }>;
201
+ external_account_id: z.ZodNullable<z.ZodString>;
202
+ external_account_name: z.ZodNullable<z.ZodString>;
203
+ currency: z.ZodNullable<z.ZodString>;
204
+ created_at: z.ZodNullable<z.ZodString>;
205
+ updated_at: z.ZodNullable<z.ZodString>;
206
+ }, z.core.$strip>>;
207
+ total: z.ZodInt;
208
+ limit: z.ZodInt;
209
+ offset: z.ZodInt;
210
+ has_more: z.ZodBoolean;
211
+ }, z.core.$strip>;
212
+ declare const zConnectionsDeletePath: z.ZodObject<{
213
+ id: z.ZodString;
214
+ }, z.core.$strip>;
215
+ /**
216
+ * OK
217
+ */
218
+ declare const zConnectionsDeleteResponse: z.ZodObject<{
219
+ id: z.ZodString;
220
+ object: z.ZodLiteral<"connection">;
221
+ deleted: z.ZodLiteral<true>;
222
+ }, z.core.$strip>;
223
+ declare const zConnectionsGetPath: z.ZodObject<{
224
+ id: z.ZodString;
225
+ }, z.core.$strip>;
226
+ /**
227
+ * OK
228
+ */
229
+ declare const zConnectionsGetResponse: z.ZodObject<{
230
+ id: z.ZodString;
231
+ profile_id: z.ZodString;
232
+ platform: z.ZodEnum<{
233
+ meta_ads: "meta_ads";
234
+ google_ads: "google_ads";
235
+ tiktok_ads: "tiktok_ads";
236
+ x: "x";
237
+ linkedin: "linkedin";
238
+ facebook_page: "facebook_page";
239
+ instagram: "instagram";
240
+ tiktok: "tiktok";
241
+ }>;
242
+ external_account_id: z.ZodNullable<z.ZodString>;
243
+ external_account_name: z.ZodNullable<z.ZodString>;
244
+ currency: z.ZodNullable<z.ZodString>;
245
+ created_at: z.ZodNullable<z.ZodString>;
246
+ updated_at: z.ZodNullable<z.ZodString>;
247
+ }, z.core.$strip>;
248
+ declare const zConnectionsSelectBody: z.ZodObject<{
249
+ external_account_id: z.ZodString;
250
+ }, z.core.$strip>;
251
+ declare const zConnectionsSelectPath: z.ZodObject<{
252
+ id: z.ZodString;
253
+ }, z.core.$strip>;
254
+ /**
255
+ * OK
256
+ */
257
+ declare const zConnectionsSelectResponse: z.ZodObject<{
258
+ id: z.ZodString;
259
+ profile_id: z.ZodString;
260
+ platform: z.ZodEnum<{
261
+ meta_ads: "meta_ads";
262
+ google_ads: "google_ads";
263
+ tiktok_ads: "tiktok_ads";
264
+ x: "x";
265
+ linkedin: "linkedin";
266
+ facebook_page: "facebook_page";
267
+ instagram: "instagram";
268
+ tiktok: "tiktok";
269
+ }>;
270
+ external_account_id: z.ZodNullable<z.ZodString>;
271
+ external_account_name: z.ZodNullable<z.ZodString>;
272
+ currency: z.ZodNullable<z.ZodString>;
273
+ created_at: z.ZodNullable<z.ZodString>;
274
+ updated_at: z.ZodNullable<z.ZodString>;
275
+ }, z.core.$strip>;
276
+ declare const zConnectionsListAccountsPath: z.ZodObject<{
277
+ id: z.ZodString;
278
+ }, z.core.$strip>;
279
+ /**
280
+ * OK
281
+ */
282
+ declare const zConnectionsListAccountsResponse: z.ZodObject<{
283
+ object: z.ZodLiteral<"list">;
284
+ data: z.ZodArray<z.ZodObject<{
285
+ external_account_id: z.ZodString;
286
+ name: z.ZodNullable<z.ZodString>;
287
+ currency: z.ZodNullable<z.ZodString>;
288
+ instagram: z.ZodOptional<z.ZodNullable<z.ZodObject<{
289
+ external_account_id: z.ZodString;
290
+ name: z.ZodNullable<z.ZodString>;
291
+ }, z.core.$strip>>>;
292
+ }, z.core.$strip>>;
293
+ }, z.core.$strip>;
294
+ declare const zConnectionsConnectBody: z.ZodObject<{
295
+ platform: z.ZodEnum<{
296
+ meta_ads: "meta_ads";
297
+ google_ads: "google_ads";
298
+ tiktok_ads: "tiktok_ads";
299
+ x: "x";
300
+ linkedin: "linkedin";
301
+ facebook_page: "facebook_page";
302
+ tiktok: "tiktok";
303
+ }>;
304
+ }, z.core.$strip>;
305
+ declare const zConnectionsConnectPath: z.ZodObject<{
306
+ id: z.ZodString;
307
+ }, z.core.$strip>;
308
+ /**
309
+ * OK
310
+ */
311
+ declare const zConnectionsConnectResponse: z.ZodObject<{
312
+ connect_session_token: z.ZodString;
313
+ connect_url: z.ZodString;
314
+ expires_at: z.ZodString;
315
+ }, z.core.$strip>;
316
+ /**
317
+ * Create a media asset via the signed direct upload target (source_url is reserved/unsupported in v1).
318
+ */
319
+ declare const zMediaCreateBody: z.ZodObject<{
320
+ profile_id: z.ZodString;
321
+ kind: z.ZodEnum<{
322
+ image: "image";
323
+ video: "video";
324
+ gif: "gif";
325
+ document: "document";
326
+ }>;
327
+ content_type: z.ZodOptional<z.ZodString>;
328
+ source_url: z.ZodOptional<z.ZodURL>;
329
+ targets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
330
+ google_ads: "google_ads";
331
+ x: "x";
332
+ linkedin: "linkedin";
333
+ facebook_page: "facebook_page";
334
+ instagram: "instagram";
335
+ tiktok: "tiktok";
336
+ }>>>;
337
+ raw: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
338
+ alt_text: z.ZodOptional<z.ZodString>;
339
+ external_id: z.ZodOptional<z.ZodString>;
340
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
341
+ }, z.core.$strip>;
342
+ /**
343
+ * OK
344
+ */
345
+ declare const zMediaCreateResponse: z.ZodObject<{
346
+ id: z.ZodString;
347
+ object: z.ZodLiteral<"media">;
348
+ profile_id: z.ZodString;
349
+ kind: z.ZodEnum<{
350
+ image: "image";
351
+ video: "video";
352
+ gif: "gif";
353
+ document: "document";
354
+ }>;
355
+ status: z.ZodEnum<{
356
+ uploading: "uploading";
357
+ processing: "processing";
358
+ ready: "ready";
359
+ failed: "failed";
360
+ }>;
361
+ raw: z.ZodBoolean;
362
+ error: z.ZodNullable<z.ZodObject<{
363
+ code: z.ZodEnum<{
364
+ media_unprobeable: "media_unprobeable";
365
+ media_too_large: "media_too_large";
366
+ media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
367
+ media_resolution_too_low: "media_resolution_too_low";
368
+ media_gif_unsupported: "media_gif_unsupported";
369
+ media_format_recompressed: "media_format_recompressed";
370
+ media_resolution_downscaled: "media_resolution_downscaled";
371
+ video_container_unsupported: "video_container_unsupported";
372
+ video_codec_unsupported: "video_codec_unsupported";
373
+ video_audio_codec_unsupported: "video_audio_codec_unsupported";
374
+ video_too_large: "video_too_large";
375
+ video_too_small: "video_too_small";
376
+ video_dimensions_unsupported: "video_dimensions_unsupported";
377
+ video_dimensions_too_large: "video_dimensions_too_large";
378
+ video_fps_unsupported: "video_fps_unsupported";
379
+ video_fps_too_low: "video_fps_too_low";
380
+ video_aspect_unsupported: "video_aspect_unsupported";
381
+ video_duration_too_short: "video_duration_too_short";
382
+ video_duration_exceeds_max: "video_duration_exceeds_max";
383
+ document_format_unsupported: "document_format_unsupported";
384
+ document_too_large: "document_too_large";
385
+ document_too_many_pages: "document_too_many_pages";
386
+ media_unsupported: "media_unsupported";
387
+ }>;
388
+ message: z.ZodString;
389
+ hint: z.ZodOptional<z.ZodString>;
390
+ allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
391
+ got: z.ZodOptional<z.ZodString>;
392
+ }, z.core.$strip>>;
393
+ source: z.ZodNullable<z.ZodObject<{
394
+ format: z.ZodString;
395
+ bytes: z.ZodInt;
396
+ width: z.ZodNullable<z.ZodInt>;
397
+ height: z.ZodNullable<z.ZodInt>;
398
+ duration_ms: z.ZodNullable<z.ZodInt>;
399
+ }, z.core.$strip>>;
400
+ alt_text: z.ZodNullable<z.ZodString>;
401
+ per_platform: z.ZodRecord<z.ZodString, z.ZodObject<{
402
+ status: z.ZodEnum<{
403
+ processing: "processing";
404
+ ready: "ready";
405
+ failed: "failed";
406
+ }>;
407
+ url: z.ZodNullable<z.ZodString>;
408
+ width: z.ZodNullable<z.ZodInt>;
409
+ height: z.ZodNullable<z.ZodInt>;
410
+ bytes: z.ZodNullable<z.ZodInt>;
411
+ warnings: z.ZodArray<z.ZodObject<{
412
+ code: z.ZodEnum<{
413
+ media_unprobeable: "media_unprobeable";
414
+ media_too_large: "media_too_large";
415
+ media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
416
+ media_resolution_too_low: "media_resolution_too_low";
417
+ media_gif_unsupported: "media_gif_unsupported";
418
+ media_format_recompressed: "media_format_recompressed";
419
+ media_resolution_downscaled: "media_resolution_downscaled";
420
+ video_container_unsupported: "video_container_unsupported";
421
+ video_codec_unsupported: "video_codec_unsupported";
422
+ video_audio_codec_unsupported: "video_audio_codec_unsupported";
423
+ video_too_large: "video_too_large";
424
+ video_too_small: "video_too_small";
425
+ video_dimensions_unsupported: "video_dimensions_unsupported";
426
+ video_dimensions_too_large: "video_dimensions_too_large";
427
+ video_fps_unsupported: "video_fps_unsupported";
428
+ video_fps_too_low: "video_fps_too_low";
429
+ video_aspect_unsupported: "video_aspect_unsupported";
430
+ video_duration_too_short: "video_duration_too_short";
431
+ video_duration_exceeds_max: "video_duration_exceeds_max";
432
+ document_format_unsupported: "document_format_unsupported";
433
+ document_too_large: "document_too_large";
434
+ document_too_many_pages: "document_too_many_pages";
435
+ media_unsupported: "media_unsupported";
436
+ }>;
437
+ message: z.ZodString;
438
+ hint: z.ZodOptional<z.ZodString>;
439
+ allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
440
+ got: z.ZodOptional<z.ZodString>;
441
+ }, z.core.$strip>>;
442
+ errors: z.ZodArray<z.ZodObject<{
443
+ code: z.ZodEnum<{
444
+ media_unprobeable: "media_unprobeable";
445
+ media_too_large: "media_too_large";
446
+ media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
447
+ media_resolution_too_low: "media_resolution_too_low";
448
+ media_gif_unsupported: "media_gif_unsupported";
449
+ media_format_recompressed: "media_format_recompressed";
450
+ media_resolution_downscaled: "media_resolution_downscaled";
451
+ video_container_unsupported: "video_container_unsupported";
452
+ video_codec_unsupported: "video_codec_unsupported";
453
+ video_audio_codec_unsupported: "video_audio_codec_unsupported";
454
+ video_too_large: "video_too_large";
455
+ video_too_small: "video_too_small";
456
+ video_dimensions_unsupported: "video_dimensions_unsupported";
457
+ video_dimensions_too_large: "video_dimensions_too_large";
458
+ video_fps_unsupported: "video_fps_unsupported";
459
+ video_fps_too_low: "video_fps_too_low";
460
+ video_aspect_unsupported: "video_aspect_unsupported";
461
+ video_duration_too_short: "video_duration_too_short";
462
+ video_duration_exceeds_max: "video_duration_exceeds_max";
463
+ document_format_unsupported: "document_format_unsupported";
464
+ document_too_large: "document_too_large";
465
+ document_too_many_pages: "document_too_many_pages";
466
+ media_unsupported: "media_unsupported";
467
+ }>;
468
+ message: z.ZodString;
469
+ hint: z.ZodOptional<z.ZodString>;
470
+ allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
471
+ got: z.ZodOptional<z.ZodString>;
472
+ }, z.core.$strip>>;
473
+ }, z.core.$strip>>;
474
+ external_id: z.ZodNullable<z.ZodString>;
475
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
476
+ created_at: z.ZodString;
477
+ updated_at: z.ZodString;
478
+ upload: z.ZodNullable<z.ZodObject<{
479
+ url: z.ZodURL;
480
+ method: z.ZodLiteral<"PUT">;
481
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
482
+ expires_at: z.ZodString;
483
+ }, z.core.$strip>>;
484
+ }, z.core.$strip>;
485
+ declare const zMediaDeletePath: z.ZodObject<{
486
+ id: z.ZodString;
487
+ }, z.core.$strip>;
488
+ /**
489
+ * OK
490
+ */
491
+ declare const zMediaDeleteResponse: z.ZodObject<{
492
+ id: z.ZodString;
493
+ object: z.ZodLiteral<"media">;
494
+ deleted: z.ZodLiteral<true>;
495
+ }, z.core.$strip>;
496
+ declare const zMediaGetPath: z.ZodObject<{
497
+ id: z.ZodString;
498
+ }, z.core.$strip>;
499
+ /**
500
+ * OK
501
+ */
502
+ declare const zMediaGetResponse: z.ZodObject<{
503
+ id: z.ZodString;
504
+ object: z.ZodLiteral<"media">;
505
+ profile_id: z.ZodString;
506
+ kind: z.ZodEnum<{
507
+ image: "image";
508
+ video: "video";
509
+ gif: "gif";
510
+ document: "document";
511
+ }>;
512
+ status: z.ZodEnum<{
513
+ uploading: "uploading";
514
+ processing: "processing";
515
+ ready: "ready";
516
+ failed: "failed";
517
+ }>;
518
+ raw: z.ZodBoolean;
519
+ error: z.ZodNullable<z.ZodObject<{
520
+ code: z.ZodEnum<{
521
+ media_unprobeable: "media_unprobeable";
522
+ media_too_large: "media_too_large";
523
+ media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
524
+ media_resolution_too_low: "media_resolution_too_low";
525
+ media_gif_unsupported: "media_gif_unsupported";
526
+ media_format_recompressed: "media_format_recompressed";
527
+ media_resolution_downscaled: "media_resolution_downscaled";
528
+ video_container_unsupported: "video_container_unsupported";
529
+ video_codec_unsupported: "video_codec_unsupported";
530
+ video_audio_codec_unsupported: "video_audio_codec_unsupported";
531
+ video_too_large: "video_too_large";
532
+ video_too_small: "video_too_small";
533
+ video_dimensions_unsupported: "video_dimensions_unsupported";
534
+ video_dimensions_too_large: "video_dimensions_too_large";
535
+ video_fps_unsupported: "video_fps_unsupported";
536
+ video_fps_too_low: "video_fps_too_low";
537
+ video_aspect_unsupported: "video_aspect_unsupported";
538
+ video_duration_too_short: "video_duration_too_short";
539
+ video_duration_exceeds_max: "video_duration_exceeds_max";
540
+ document_format_unsupported: "document_format_unsupported";
541
+ document_too_large: "document_too_large";
542
+ document_too_many_pages: "document_too_many_pages";
543
+ media_unsupported: "media_unsupported";
544
+ }>;
545
+ message: z.ZodString;
546
+ hint: z.ZodOptional<z.ZodString>;
547
+ allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
548
+ got: z.ZodOptional<z.ZodString>;
549
+ }, z.core.$strip>>;
550
+ source: z.ZodNullable<z.ZodObject<{
551
+ format: z.ZodString;
552
+ bytes: z.ZodInt;
553
+ width: z.ZodNullable<z.ZodInt>;
554
+ height: z.ZodNullable<z.ZodInt>;
555
+ duration_ms: z.ZodNullable<z.ZodInt>;
556
+ }, z.core.$strip>>;
557
+ alt_text: z.ZodNullable<z.ZodString>;
558
+ per_platform: z.ZodRecord<z.ZodString, z.ZodObject<{
559
+ status: z.ZodEnum<{
560
+ processing: "processing";
561
+ ready: "ready";
562
+ failed: "failed";
563
+ }>;
564
+ url: z.ZodNullable<z.ZodString>;
565
+ width: z.ZodNullable<z.ZodInt>;
566
+ height: z.ZodNullable<z.ZodInt>;
567
+ bytes: z.ZodNullable<z.ZodInt>;
568
+ warnings: z.ZodArray<z.ZodObject<{
569
+ code: z.ZodEnum<{
570
+ media_unprobeable: "media_unprobeable";
571
+ media_too_large: "media_too_large";
572
+ media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
573
+ media_resolution_too_low: "media_resolution_too_low";
574
+ media_gif_unsupported: "media_gif_unsupported";
575
+ media_format_recompressed: "media_format_recompressed";
576
+ media_resolution_downscaled: "media_resolution_downscaled";
577
+ video_container_unsupported: "video_container_unsupported";
578
+ video_codec_unsupported: "video_codec_unsupported";
579
+ video_audio_codec_unsupported: "video_audio_codec_unsupported";
580
+ video_too_large: "video_too_large";
581
+ video_too_small: "video_too_small";
582
+ video_dimensions_unsupported: "video_dimensions_unsupported";
583
+ video_dimensions_too_large: "video_dimensions_too_large";
584
+ video_fps_unsupported: "video_fps_unsupported";
585
+ video_fps_too_low: "video_fps_too_low";
586
+ video_aspect_unsupported: "video_aspect_unsupported";
587
+ video_duration_too_short: "video_duration_too_short";
588
+ video_duration_exceeds_max: "video_duration_exceeds_max";
589
+ document_format_unsupported: "document_format_unsupported";
590
+ document_too_large: "document_too_large";
591
+ document_too_many_pages: "document_too_many_pages";
592
+ media_unsupported: "media_unsupported";
593
+ }>;
594
+ message: z.ZodString;
595
+ hint: z.ZodOptional<z.ZodString>;
596
+ allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
597
+ got: z.ZodOptional<z.ZodString>;
598
+ }, z.core.$strip>>;
599
+ errors: z.ZodArray<z.ZodObject<{
600
+ code: z.ZodEnum<{
601
+ media_unprobeable: "media_unprobeable";
602
+ media_too_large: "media_too_large";
603
+ media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
604
+ media_resolution_too_low: "media_resolution_too_low";
605
+ media_gif_unsupported: "media_gif_unsupported";
606
+ media_format_recompressed: "media_format_recompressed";
607
+ media_resolution_downscaled: "media_resolution_downscaled";
608
+ video_container_unsupported: "video_container_unsupported";
609
+ video_codec_unsupported: "video_codec_unsupported";
610
+ video_audio_codec_unsupported: "video_audio_codec_unsupported";
611
+ video_too_large: "video_too_large";
612
+ video_too_small: "video_too_small";
613
+ video_dimensions_unsupported: "video_dimensions_unsupported";
614
+ video_dimensions_too_large: "video_dimensions_too_large";
615
+ video_fps_unsupported: "video_fps_unsupported";
616
+ video_fps_too_low: "video_fps_too_low";
617
+ video_aspect_unsupported: "video_aspect_unsupported";
618
+ video_duration_too_short: "video_duration_too_short";
619
+ video_duration_exceeds_max: "video_duration_exceeds_max";
620
+ document_format_unsupported: "document_format_unsupported";
621
+ document_too_large: "document_too_large";
622
+ document_too_many_pages: "document_too_many_pages";
623
+ media_unsupported: "media_unsupported";
624
+ }>;
625
+ message: z.ZodString;
626
+ hint: z.ZodOptional<z.ZodString>;
627
+ allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
628
+ got: z.ZodOptional<z.ZodString>;
629
+ }, z.core.$strip>>;
630
+ }, z.core.$strip>>;
631
+ external_id: z.ZodNullable<z.ZodString>;
632
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
633
+ created_at: z.ZodString;
634
+ updated_at: z.ZodString;
635
+ }, z.core.$strip>;
636
+ declare const zMediaUpdateBody: z.ZodObject<{
637
+ alt_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
639
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
640
+ targets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
641
+ google_ads: "google_ads";
642
+ x: "x";
643
+ linkedin: "linkedin";
644
+ facebook_page: "facebook_page";
645
+ instagram: "instagram";
646
+ tiktok: "tiktok";
647
+ }>>>;
648
+ }, z.core.$strip>;
649
+ declare const zMediaUpdatePath: z.ZodObject<{
650
+ id: z.ZodString;
651
+ }, z.core.$strip>;
652
+ /**
653
+ * OK
654
+ */
655
+ declare const zMediaUpdateResponse: z.ZodObject<{
656
+ id: z.ZodString;
657
+ object: z.ZodLiteral<"media">;
658
+ profile_id: z.ZodString;
659
+ kind: z.ZodEnum<{
660
+ image: "image";
661
+ video: "video";
662
+ gif: "gif";
663
+ document: "document";
664
+ }>;
665
+ status: z.ZodEnum<{
666
+ uploading: "uploading";
667
+ processing: "processing";
668
+ ready: "ready";
669
+ failed: "failed";
670
+ }>;
671
+ raw: z.ZodBoolean;
672
+ error: z.ZodNullable<z.ZodObject<{
673
+ code: z.ZodEnum<{
674
+ media_unprobeable: "media_unprobeable";
675
+ media_too_large: "media_too_large";
676
+ media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
677
+ media_resolution_too_low: "media_resolution_too_low";
678
+ media_gif_unsupported: "media_gif_unsupported";
679
+ media_format_recompressed: "media_format_recompressed";
680
+ media_resolution_downscaled: "media_resolution_downscaled";
681
+ video_container_unsupported: "video_container_unsupported";
682
+ video_codec_unsupported: "video_codec_unsupported";
683
+ video_audio_codec_unsupported: "video_audio_codec_unsupported";
684
+ video_too_large: "video_too_large";
685
+ video_too_small: "video_too_small";
686
+ video_dimensions_unsupported: "video_dimensions_unsupported";
687
+ video_dimensions_too_large: "video_dimensions_too_large";
688
+ video_fps_unsupported: "video_fps_unsupported";
689
+ video_fps_too_low: "video_fps_too_low";
690
+ video_aspect_unsupported: "video_aspect_unsupported";
691
+ video_duration_too_short: "video_duration_too_short";
692
+ video_duration_exceeds_max: "video_duration_exceeds_max";
693
+ document_format_unsupported: "document_format_unsupported";
694
+ document_too_large: "document_too_large";
695
+ document_too_many_pages: "document_too_many_pages";
696
+ media_unsupported: "media_unsupported";
697
+ }>;
698
+ message: z.ZodString;
699
+ hint: z.ZodOptional<z.ZodString>;
700
+ allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
701
+ got: z.ZodOptional<z.ZodString>;
702
+ }, z.core.$strip>>;
703
+ source: z.ZodNullable<z.ZodObject<{
704
+ format: z.ZodString;
705
+ bytes: z.ZodInt;
706
+ width: z.ZodNullable<z.ZodInt>;
707
+ height: z.ZodNullable<z.ZodInt>;
708
+ duration_ms: z.ZodNullable<z.ZodInt>;
709
+ }, z.core.$strip>>;
710
+ alt_text: z.ZodNullable<z.ZodString>;
711
+ per_platform: z.ZodRecord<z.ZodString, z.ZodObject<{
712
+ status: z.ZodEnum<{
713
+ processing: "processing";
714
+ ready: "ready";
715
+ failed: "failed";
716
+ }>;
717
+ url: z.ZodNullable<z.ZodString>;
718
+ width: z.ZodNullable<z.ZodInt>;
719
+ height: z.ZodNullable<z.ZodInt>;
720
+ bytes: z.ZodNullable<z.ZodInt>;
721
+ warnings: z.ZodArray<z.ZodObject<{
722
+ code: z.ZodEnum<{
723
+ media_unprobeable: "media_unprobeable";
724
+ media_too_large: "media_too_large";
725
+ media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
726
+ media_resolution_too_low: "media_resolution_too_low";
727
+ media_gif_unsupported: "media_gif_unsupported";
728
+ media_format_recompressed: "media_format_recompressed";
729
+ media_resolution_downscaled: "media_resolution_downscaled";
730
+ video_container_unsupported: "video_container_unsupported";
731
+ video_codec_unsupported: "video_codec_unsupported";
732
+ video_audio_codec_unsupported: "video_audio_codec_unsupported";
733
+ video_too_large: "video_too_large";
734
+ video_too_small: "video_too_small";
735
+ video_dimensions_unsupported: "video_dimensions_unsupported";
736
+ video_dimensions_too_large: "video_dimensions_too_large";
737
+ video_fps_unsupported: "video_fps_unsupported";
738
+ video_fps_too_low: "video_fps_too_low";
739
+ video_aspect_unsupported: "video_aspect_unsupported";
740
+ video_duration_too_short: "video_duration_too_short";
741
+ video_duration_exceeds_max: "video_duration_exceeds_max";
742
+ document_format_unsupported: "document_format_unsupported";
743
+ document_too_large: "document_too_large";
744
+ document_too_many_pages: "document_too_many_pages";
745
+ media_unsupported: "media_unsupported";
746
+ }>;
747
+ message: z.ZodString;
748
+ hint: z.ZodOptional<z.ZodString>;
749
+ allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
750
+ got: z.ZodOptional<z.ZodString>;
751
+ }, z.core.$strip>>;
752
+ errors: z.ZodArray<z.ZodObject<{
753
+ code: z.ZodEnum<{
754
+ media_unprobeable: "media_unprobeable";
755
+ media_too_large: "media_too_large";
756
+ media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
757
+ media_resolution_too_low: "media_resolution_too_low";
758
+ media_gif_unsupported: "media_gif_unsupported";
759
+ media_format_recompressed: "media_format_recompressed";
760
+ media_resolution_downscaled: "media_resolution_downscaled";
761
+ video_container_unsupported: "video_container_unsupported";
762
+ video_codec_unsupported: "video_codec_unsupported";
763
+ video_audio_codec_unsupported: "video_audio_codec_unsupported";
764
+ video_too_large: "video_too_large";
765
+ video_too_small: "video_too_small";
766
+ video_dimensions_unsupported: "video_dimensions_unsupported";
767
+ video_dimensions_too_large: "video_dimensions_too_large";
768
+ video_fps_unsupported: "video_fps_unsupported";
769
+ video_fps_too_low: "video_fps_too_low";
770
+ video_aspect_unsupported: "video_aspect_unsupported";
771
+ video_duration_too_short: "video_duration_too_short";
772
+ video_duration_exceeds_max: "video_duration_exceeds_max";
773
+ document_format_unsupported: "document_format_unsupported";
774
+ document_too_large: "document_too_large";
775
+ document_too_many_pages: "document_too_many_pages";
776
+ media_unsupported: "media_unsupported";
777
+ }>;
778
+ message: z.ZodString;
779
+ hint: z.ZodOptional<z.ZodString>;
780
+ allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
781
+ got: z.ZodOptional<z.ZodString>;
782
+ }, z.core.$strip>>;
783
+ }, z.core.$strip>>;
784
+ external_id: z.ZodNullable<z.ZodString>;
785
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
786
+ created_at: z.ZodString;
787
+ updated_at: z.ZodString;
788
+ }, z.core.$strip>;
789
+ declare const zPostsListQuery: z.ZodObject<{
790
+ limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
791
+ offset: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
792
+ profile_id: z.ZodOptional<z.ZodString>;
793
+ external_id: z.ZodOptional<z.ZodString>;
794
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
795
+ scheduled_after: z.ZodOptional<z.ZodISODateTime>;
796
+ scheduled_before: z.ZodOptional<z.ZodISODateTime>;
797
+ updated_after: z.ZodOptional<z.ZodISODateTime>;
798
+ status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
799
+ failed: "failed";
800
+ draft: "draft";
801
+ scheduled: "scheduled";
802
+ publishing: "publishing";
803
+ partially_published: "partially_published";
804
+ published: "published";
805
+ }>>>;
806
+ }, z.core.$strip>;
807
+ /**
808
+ * OK
809
+ */
810
+ declare const zPostsListResponse: z.ZodObject<{
811
+ object: z.ZodLiteral<"list">;
812
+ data: z.ZodArray<z.ZodObject<{
813
+ id: z.ZodString;
814
+ object: z.ZodLiteral<"post">;
815
+ profile_id: z.ZodString;
816
+ external_id: z.ZodNullable<z.ZodString>;
817
+ status: z.ZodEnum<{
818
+ failed: "failed";
819
+ draft: "draft";
820
+ scheduled: "scheduled";
821
+ publishing: "publishing";
822
+ partially_published: "partially_published";
823
+ published: "published";
824
+ }>;
825
+ schedule_at: z.ZodNullable<z.ZodString>;
826
+ tags: z.ZodArray<z.ZodString>;
827
+ notes: z.ZodNullable<z.ZodString>;
828
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
829
+ variants: z.ZodArray<z.ZodObject<{
830
+ id: z.ZodString;
831
+ object: z.ZodLiteral<"post_variant">;
832
+ connection_id: z.ZodString;
833
+ platform: z.ZodEnum<{
834
+ x: "x";
835
+ linkedin: "linkedin";
836
+ facebook_page: "facebook_page";
837
+ instagram: "instagram";
838
+ tiktok: "tiktok";
839
+ }>;
840
+ post_type: z.ZodEnum<{
841
+ text: "text";
842
+ video: "video";
843
+ single_image: "single_image";
844
+ multi_image: "multi_image";
845
+ reel: "reel";
846
+ carousel: "carousel";
847
+ }>;
848
+ body: z.ZodNullable<z.ZodString>;
849
+ status: z.ZodEnum<{
850
+ failed: "failed";
851
+ draft: "draft";
852
+ scheduled: "scheduled";
853
+ publishing: "publishing";
854
+ published: "published";
855
+ }>;
856
+ settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
857
+ schedule_at: z.ZodNullable<z.ZodString>;
858
+ result: z.ZodNullable<z.ZodObject<{
859
+ platform_post_id: z.ZodString;
860
+ permalink: z.ZodNullable<z.ZodString>;
861
+ published_at: z.ZodString;
862
+ }, z.core.$strip>>;
863
+ error: z.ZodNullable<z.ZodObject<{
864
+ code: z.ZodString;
865
+ message: z.ZodString;
866
+ }, z.core.$strip>>;
867
+ media: z.ZodArray<z.ZodObject<{
868
+ media_id: z.ZodString;
869
+ position: z.ZodInt;
870
+ crop_box: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
871
+ alt_text_override: z.ZodNullable<z.ZodString>;
872
+ }, z.core.$strip>>;
873
+ }, z.core.$strip>>;
874
+ created_at: z.ZodString;
875
+ updated_at: z.ZodString;
876
+ }, z.core.$strip>>;
877
+ total: z.ZodInt;
878
+ limit: z.ZodInt;
879
+ offset: z.ZodInt;
880
+ has_more: z.ZodBoolean;
881
+ }, z.core.$strip>;
882
+ declare const zPostsCreateBody: z.ZodObject<{
883
+ profile_id: z.ZodString;
884
+ publish: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
885
+ draft: "draft";
886
+ now: "now";
887
+ schedule: "schedule";
888
+ }>>>;
889
+ schedule_at: z.ZodOptional<z.ZodISODateTime>;
890
+ external_id: z.ZodOptional<z.ZodString>;
891
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
892
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
893
+ notes: z.ZodOptional<z.ZodString>;
894
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
895
+ variants: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
896
+ platform: z.ZodLiteral<"x">;
897
+ post_type: z.ZodEnum<{
898
+ text: "text";
899
+ video: "video";
900
+ single_image: "single_image";
901
+ multi_image: "multi_image";
902
+ }>;
903
+ connection_id: z.ZodString;
904
+ body: z.ZodOptional<z.ZodString>;
905
+ media: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
906
+ media_id: z.ZodString;
907
+ crop_box: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
908
+ alt_text_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
909
+ }, z.core.$strip>>>>;
910
+ settings: z.ZodDefault<z.ZodOptional<z.ZodObject<{
911
+ reply_settings: z.ZodOptional<z.ZodEnum<{
912
+ everyone: "everyone";
913
+ following: "following";
914
+ mentionedUsers: "mentionedUsers";
915
+ subscribers: "subscribers";
916
+ verified: "verified";
917
+ }>>;
918
+ quote_tweet_id: z.ZodOptional<z.ZodString>;
919
+ poll: z.ZodOptional<z.ZodObject<{
920
+ options: z.ZodArray<z.ZodString>;
921
+ duration_minutes: z.ZodInt;
922
+ reply_settings: z.ZodOptional<z.ZodEnum<{
923
+ following: "following";
924
+ mentionedUsers: "mentionedUsers";
925
+ subscribers: "subscribers";
926
+ verified: "verified";
927
+ }>>;
928
+ }, z.core.$strip>>;
929
+ reply: z.ZodOptional<z.ZodObject<{
930
+ in_reply_to_tweet_id: z.ZodString;
931
+ exclude_reply_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
932
+ auto_populate_reply_metadata: z.ZodOptional<z.ZodBoolean>;
933
+ }, z.core.$strip>>;
934
+ community_id: z.ZodOptional<z.ZodString>;
935
+ for_super_followers_only: z.ZodOptional<z.ZodBoolean>;
936
+ geo: z.ZodOptional<z.ZodObject<{
937
+ place_id: z.ZodString;
938
+ }, z.core.$strip>>;
939
+ card_uri: z.ZodOptional<z.ZodString>;
940
+ media_tagged_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
941
+ }, z.core.$strip>>>;
942
+ }, z.core.$strip>, z.ZodObject<{
943
+ platform: z.ZodLiteral<"linkedin">;
944
+ post_type: z.ZodEnum<{
945
+ text: "text";
946
+ video: "video";
947
+ single_image: "single_image";
948
+ multi_image: "multi_image";
949
+ }>;
950
+ connection_id: z.ZodString;
951
+ body: z.ZodOptional<z.ZodString>;
952
+ media: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
953
+ media_id: z.ZodString;
954
+ crop_box: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
955
+ alt_text_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
+ }, z.core.$strip>>>>;
957
+ settings: z.ZodObject<{
958
+ visibility: z.ZodEnum<{
959
+ PUBLIC: "PUBLIC";
960
+ CONNECTIONS: "CONNECTIONS";
961
+ }>;
962
+ content_kind: z.ZodEnum<{
963
+ text: "text";
964
+ video: "video";
965
+ document: "document";
966
+ single_image: "single_image";
967
+ multi_image: "multi_image";
968
+ poll: "poll";
969
+ article: "article";
970
+ }>;
971
+ article: z.ZodOptional<z.ZodObject<{
972
+ source: z.ZodURL;
973
+ title: z.ZodOptional<z.ZodString>;
974
+ description: z.ZodOptional<z.ZodString>;
975
+ thumbnail_media_id: z.ZodOptional<z.ZodString>;
976
+ }, z.core.$strip>>;
977
+ poll: z.ZodOptional<z.ZodObject<{
978
+ question: z.ZodString;
979
+ options: z.ZodArray<z.ZodString>;
980
+ duration: z.ZodEnum<{
981
+ ONE_DAY: "ONE_DAY";
982
+ THREE_DAYS: "THREE_DAYS";
983
+ SEVEN_DAYS: "SEVEN_DAYS";
984
+ FOURTEEN_DAYS: "FOURTEEN_DAYS";
985
+ }>;
986
+ }, z.core.$strip>>;
987
+ document: z.ZodOptional<z.ZodObject<{
988
+ title: z.ZodString;
989
+ }, z.core.$strip>>;
990
+ disable_reshare: z.ZodOptional<z.ZodBoolean>;
991
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
992
+ type: z.ZodEnum<{
993
+ person: "person";
994
+ organization: "organization";
995
+ }>;
996
+ name: z.ZodString;
997
+ urn: z.ZodString;
998
+ }, z.core.$strip>>>;
999
+ }, z.core.$strip>;
1000
+ }, z.core.$strip>, z.ZodObject<{
1001
+ platform: z.ZodLiteral<"instagram">;
1002
+ post_type: z.ZodEnum<{
1003
+ single_image: "single_image";
1004
+ reel: "reel";
1005
+ carousel: "carousel";
1006
+ }>;
1007
+ connection_id: z.ZodString;
1008
+ body: z.ZodOptional<z.ZodString>;
1009
+ media: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1010
+ media_id: z.ZodString;
1011
+ crop_box: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1012
+ alt_text_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1013
+ }, z.core.$strip>>>>;
1014
+ settings: z.ZodObject<{
1015
+ media_type: z.ZodOptional<z.ZodEnum<{
1016
+ IMAGE: "IMAGE";
1017
+ CAROUSEL: "CAROUSEL";
1018
+ REELS: "REELS";
1019
+ }>>;
1020
+ location_id: z.ZodOptional<z.ZodString>;
1021
+ user_tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1022
+ username: z.ZodString;
1023
+ x: z.ZodNumber;
1024
+ y: z.ZodNumber;
1025
+ }, z.core.$strip>>>;
1026
+ collaborators: z.ZodOptional<z.ZodArray<z.ZodString>>;
1027
+ share_to_feed: z.ZodOptional<z.ZodBoolean>;
1028
+ thumb_offset: z.ZodOptional<z.ZodInt>;
1029
+ cover_url: z.ZodOptional<z.ZodURL>;
1030
+ audio_name: z.ZodOptional<z.ZodString>;
1031
+ }, z.core.$strip>;
1032
+ }, z.core.$strip>, z.ZodObject<{
1033
+ platform: z.ZodLiteral<"facebook_page">;
1034
+ post_type: z.ZodEnum<{
1035
+ text: "text";
1036
+ single_image: "single_image";
1037
+ multi_image: "multi_image";
1038
+ reel: "reel";
1039
+ }>;
1040
+ connection_id: z.ZodString;
1041
+ body: z.ZodOptional<z.ZodString>;
1042
+ media: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1043
+ media_id: z.ZodString;
1044
+ crop_box: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1045
+ alt_text_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1046
+ }, z.core.$strip>>>>;
1047
+ settings: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1048
+ link: z.ZodOptional<z.ZodURL>;
1049
+ }, z.core.$strip>>>;
1050
+ }, z.core.$strip>]>>;
1051
+ }, z.core.$strip>;
1052
+ /**
1053
+ * OK
1054
+ */
1055
+ declare const zPostsCreateResponse: z.ZodObject<{
1056
+ id: z.ZodString;
1057
+ object: z.ZodLiteral<"post">;
1058
+ profile_id: z.ZodString;
1059
+ external_id: z.ZodNullable<z.ZodString>;
1060
+ status: z.ZodEnum<{
1061
+ failed: "failed";
1062
+ draft: "draft";
1063
+ scheduled: "scheduled";
1064
+ publishing: "publishing";
1065
+ partially_published: "partially_published";
1066
+ published: "published";
1067
+ }>;
1068
+ schedule_at: z.ZodNullable<z.ZodString>;
1069
+ tags: z.ZodArray<z.ZodString>;
1070
+ notes: z.ZodNullable<z.ZodString>;
1071
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1072
+ variants: z.ZodArray<z.ZodObject<{
1073
+ id: z.ZodString;
1074
+ object: z.ZodLiteral<"post_variant">;
1075
+ connection_id: z.ZodString;
1076
+ platform: z.ZodEnum<{
1077
+ x: "x";
1078
+ linkedin: "linkedin";
1079
+ facebook_page: "facebook_page";
1080
+ instagram: "instagram";
1081
+ tiktok: "tiktok";
1082
+ }>;
1083
+ post_type: z.ZodEnum<{
1084
+ text: "text";
1085
+ video: "video";
1086
+ single_image: "single_image";
1087
+ multi_image: "multi_image";
1088
+ reel: "reel";
1089
+ carousel: "carousel";
1090
+ }>;
1091
+ body: z.ZodNullable<z.ZodString>;
1092
+ status: z.ZodEnum<{
1093
+ failed: "failed";
1094
+ draft: "draft";
1095
+ scheduled: "scheduled";
1096
+ publishing: "publishing";
1097
+ published: "published";
1098
+ }>;
1099
+ settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1100
+ schedule_at: z.ZodNullable<z.ZodString>;
1101
+ result: z.ZodNullable<z.ZodObject<{
1102
+ platform_post_id: z.ZodString;
1103
+ permalink: z.ZodNullable<z.ZodString>;
1104
+ published_at: z.ZodString;
1105
+ }, z.core.$strip>>;
1106
+ error: z.ZodNullable<z.ZodObject<{
1107
+ code: z.ZodString;
1108
+ message: z.ZodString;
1109
+ }, z.core.$strip>>;
1110
+ media: z.ZodArray<z.ZodObject<{
1111
+ media_id: z.ZodString;
1112
+ position: z.ZodInt;
1113
+ crop_box: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1114
+ alt_text_override: z.ZodNullable<z.ZodString>;
1115
+ }, z.core.$strip>>;
1116
+ }, z.core.$strip>>;
1117
+ created_at: z.ZodString;
1118
+ updated_at: z.ZodString;
1119
+ dry_run: z.ZodBoolean;
1120
+ executed: z.ZodBoolean;
1121
+ }, z.core.$strip>;
1122
+ declare const zPostsDeletePath: z.ZodObject<{
1123
+ id: z.ZodString;
1124
+ }, z.core.$strip>;
1125
+ /**
1126
+ * OK
1127
+ */
1128
+ declare const zPostsDeleteResponse: z.ZodObject<{
1129
+ id: z.ZodString;
1130
+ object: z.ZodLiteral<"post">;
1131
+ deleted: z.ZodLiteral<true>;
1132
+ }, z.core.$strip>;
1133
+ declare const zPostsGetPath: z.ZodObject<{
1134
+ id: z.ZodString;
1135
+ }, z.core.$strip>;
1136
+ /**
1137
+ * OK
1138
+ */
1139
+ declare const zPostsGetResponse: z.ZodObject<{
1140
+ id: z.ZodString;
1141
+ object: z.ZodLiteral<"post">;
1142
+ profile_id: z.ZodString;
1143
+ external_id: z.ZodNullable<z.ZodString>;
1144
+ status: z.ZodEnum<{
1145
+ failed: "failed";
1146
+ draft: "draft";
1147
+ scheduled: "scheduled";
1148
+ publishing: "publishing";
1149
+ partially_published: "partially_published";
1150
+ published: "published";
1151
+ }>;
1152
+ schedule_at: z.ZodNullable<z.ZodString>;
1153
+ tags: z.ZodArray<z.ZodString>;
1154
+ notes: z.ZodNullable<z.ZodString>;
1155
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1156
+ variants: z.ZodArray<z.ZodObject<{
1157
+ id: z.ZodString;
1158
+ object: z.ZodLiteral<"post_variant">;
1159
+ connection_id: z.ZodString;
1160
+ platform: z.ZodEnum<{
1161
+ x: "x";
1162
+ linkedin: "linkedin";
1163
+ facebook_page: "facebook_page";
1164
+ instagram: "instagram";
1165
+ tiktok: "tiktok";
1166
+ }>;
1167
+ post_type: z.ZodEnum<{
1168
+ text: "text";
1169
+ video: "video";
1170
+ single_image: "single_image";
1171
+ multi_image: "multi_image";
1172
+ reel: "reel";
1173
+ carousel: "carousel";
1174
+ }>;
1175
+ body: z.ZodNullable<z.ZodString>;
1176
+ status: z.ZodEnum<{
1177
+ failed: "failed";
1178
+ draft: "draft";
1179
+ scheduled: "scheduled";
1180
+ publishing: "publishing";
1181
+ published: "published";
1182
+ }>;
1183
+ settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1184
+ schedule_at: z.ZodNullable<z.ZodString>;
1185
+ result: z.ZodNullable<z.ZodObject<{
1186
+ platform_post_id: z.ZodString;
1187
+ permalink: z.ZodNullable<z.ZodString>;
1188
+ published_at: z.ZodString;
1189
+ }, z.core.$strip>>;
1190
+ error: z.ZodNullable<z.ZodObject<{
1191
+ code: z.ZodString;
1192
+ message: z.ZodString;
1193
+ }, z.core.$strip>>;
1194
+ media: z.ZodArray<z.ZodObject<{
1195
+ media_id: z.ZodString;
1196
+ position: z.ZodInt;
1197
+ crop_box: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1198
+ alt_text_override: z.ZodNullable<z.ZodString>;
1199
+ }, z.core.$strip>>;
1200
+ }, z.core.$strip>>;
1201
+ created_at: z.ZodString;
1202
+ updated_at: z.ZodString;
1203
+ }, z.core.$strip>;
1204
+ declare const zPostsUpdateBody: z.ZodObject<{
1205
+ publish: z.ZodOptional<z.ZodEnum<{
1206
+ draft: "draft";
1207
+ now: "now";
1208
+ schedule: "schedule";
1209
+ }>>;
1210
+ schedule_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1211
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1212
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1213
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1214
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1216
+ variants: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1217
+ platform: z.ZodLiteral<"x">;
1218
+ post_type: z.ZodEnum<{
1219
+ text: "text";
1220
+ video: "video";
1221
+ single_image: "single_image";
1222
+ multi_image: "multi_image";
1223
+ }>;
1224
+ connection_id: z.ZodString;
1225
+ body: z.ZodOptional<z.ZodString>;
1226
+ media: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1227
+ media_id: z.ZodString;
1228
+ crop_box: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1229
+ alt_text_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1230
+ }, z.core.$strip>>>>;
1231
+ settings: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1232
+ reply_settings: z.ZodOptional<z.ZodEnum<{
1233
+ everyone: "everyone";
1234
+ following: "following";
1235
+ mentionedUsers: "mentionedUsers";
1236
+ subscribers: "subscribers";
1237
+ verified: "verified";
1238
+ }>>;
1239
+ quote_tweet_id: z.ZodOptional<z.ZodString>;
1240
+ poll: z.ZodOptional<z.ZodObject<{
1241
+ options: z.ZodArray<z.ZodString>;
1242
+ duration_minutes: z.ZodInt;
1243
+ reply_settings: z.ZodOptional<z.ZodEnum<{
1244
+ following: "following";
1245
+ mentionedUsers: "mentionedUsers";
1246
+ subscribers: "subscribers";
1247
+ verified: "verified";
1248
+ }>>;
1249
+ }, z.core.$strip>>;
1250
+ reply: z.ZodOptional<z.ZodObject<{
1251
+ in_reply_to_tweet_id: z.ZodString;
1252
+ exclude_reply_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1253
+ auto_populate_reply_metadata: z.ZodOptional<z.ZodBoolean>;
1254
+ }, z.core.$strip>>;
1255
+ community_id: z.ZodOptional<z.ZodString>;
1256
+ for_super_followers_only: z.ZodOptional<z.ZodBoolean>;
1257
+ geo: z.ZodOptional<z.ZodObject<{
1258
+ place_id: z.ZodString;
1259
+ }, z.core.$strip>>;
1260
+ card_uri: z.ZodOptional<z.ZodString>;
1261
+ media_tagged_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1262
+ }, z.core.$strip>>>;
1263
+ }, z.core.$strip>, z.ZodObject<{
1264
+ platform: z.ZodLiteral<"linkedin">;
1265
+ post_type: z.ZodEnum<{
1266
+ text: "text";
1267
+ video: "video";
1268
+ single_image: "single_image";
1269
+ multi_image: "multi_image";
1270
+ }>;
1271
+ connection_id: z.ZodString;
1272
+ body: z.ZodOptional<z.ZodString>;
1273
+ media: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1274
+ media_id: z.ZodString;
1275
+ crop_box: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1276
+ alt_text_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1277
+ }, z.core.$strip>>>>;
1278
+ settings: z.ZodObject<{
1279
+ visibility: z.ZodEnum<{
1280
+ PUBLIC: "PUBLIC";
1281
+ CONNECTIONS: "CONNECTIONS";
1282
+ }>;
1283
+ content_kind: z.ZodEnum<{
1284
+ text: "text";
1285
+ video: "video";
1286
+ document: "document";
1287
+ single_image: "single_image";
1288
+ multi_image: "multi_image";
1289
+ poll: "poll";
1290
+ article: "article";
1291
+ }>;
1292
+ article: z.ZodOptional<z.ZodObject<{
1293
+ source: z.ZodURL;
1294
+ title: z.ZodOptional<z.ZodString>;
1295
+ description: z.ZodOptional<z.ZodString>;
1296
+ thumbnail_media_id: z.ZodOptional<z.ZodString>;
1297
+ }, z.core.$strip>>;
1298
+ poll: z.ZodOptional<z.ZodObject<{
1299
+ question: z.ZodString;
1300
+ options: z.ZodArray<z.ZodString>;
1301
+ duration: z.ZodEnum<{
1302
+ ONE_DAY: "ONE_DAY";
1303
+ THREE_DAYS: "THREE_DAYS";
1304
+ SEVEN_DAYS: "SEVEN_DAYS";
1305
+ FOURTEEN_DAYS: "FOURTEEN_DAYS";
1306
+ }>;
1307
+ }, z.core.$strip>>;
1308
+ document: z.ZodOptional<z.ZodObject<{
1309
+ title: z.ZodString;
1310
+ }, z.core.$strip>>;
1311
+ disable_reshare: z.ZodOptional<z.ZodBoolean>;
1312
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1313
+ type: z.ZodEnum<{
1314
+ person: "person";
1315
+ organization: "organization";
1316
+ }>;
1317
+ name: z.ZodString;
1318
+ urn: z.ZodString;
1319
+ }, z.core.$strip>>>;
1320
+ }, z.core.$strip>;
1321
+ }, z.core.$strip>, z.ZodObject<{
1322
+ platform: z.ZodLiteral<"instagram">;
1323
+ post_type: z.ZodEnum<{
1324
+ single_image: "single_image";
1325
+ reel: "reel";
1326
+ carousel: "carousel";
1327
+ }>;
1328
+ connection_id: z.ZodString;
1329
+ body: z.ZodOptional<z.ZodString>;
1330
+ media: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1331
+ media_id: z.ZodString;
1332
+ crop_box: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1333
+ alt_text_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1334
+ }, z.core.$strip>>>>;
1335
+ settings: z.ZodObject<{
1336
+ media_type: z.ZodOptional<z.ZodEnum<{
1337
+ IMAGE: "IMAGE";
1338
+ CAROUSEL: "CAROUSEL";
1339
+ REELS: "REELS";
1340
+ }>>;
1341
+ location_id: z.ZodOptional<z.ZodString>;
1342
+ user_tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1343
+ username: z.ZodString;
1344
+ x: z.ZodNumber;
1345
+ y: z.ZodNumber;
1346
+ }, z.core.$strip>>>;
1347
+ collaborators: z.ZodOptional<z.ZodArray<z.ZodString>>;
1348
+ share_to_feed: z.ZodOptional<z.ZodBoolean>;
1349
+ thumb_offset: z.ZodOptional<z.ZodInt>;
1350
+ cover_url: z.ZodOptional<z.ZodURL>;
1351
+ audio_name: z.ZodOptional<z.ZodString>;
1352
+ }, z.core.$strip>;
1353
+ }, z.core.$strip>, z.ZodObject<{
1354
+ platform: z.ZodLiteral<"facebook_page">;
1355
+ post_type: z.ZodEnum<{
1356
+ text: "text";
1357
+ single_image: "single_image";
1358
+ multi_image: "multi_image";
1359
+ reel: "reel";
1360
+ }>;
1361
+ connection_id: z.ZodString;
1362
+ body: z.ZodOptional<z.ZodString>;
1363
+ media: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1364
+ media_id: z.ZodString;
1365
+ crop_box: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1366
+ alt_text_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1367
+ }, z.core.$strip>>>>;
1368
+ settings: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1369
+ link: z.ZodOptional<z.ZodURL>;
1370
+ }, z.core.$strip>>>;
1371
+ }, z.core.$strip>]>>>;
1372
+ }, z.core.$strip>;
1373
+ declare const zPostsUpdatePath: z.ZodObject<{
1374
+ id: z.ZodString;
1375
+ }, z.core.$strip>;
1376
+ /**
1377
+ * OK
1378
+ */
1379
+ declare const zPostsUpdateResponse: z.ZodObject<{
1380
+ id: z.ZodString;
1381
+ object: z.ZodLiteral<"post">;
1382
+ profile_id: z.ZodString;
1383
+ external_id: z.ZodNullable<z.ZodString>;
1384
+ status: z.ZodEnum<{
1385
+ failed: "failed";
1386
+ draft: "draft";
1387
+ scheduled: "scheduled";
1388
+ publishing: "publishing";
1389
+ partially_published: "partially_published";
1390
+ published: "published";
1391
+ }>;
1392
+ schedule_at: z.ZodNullable<z.ZodString>;
1393
+ tags: z.ZodArray<z.ZodString>;
1394
+ notes: z.ZodNullable<z.ZodString>;
1395
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1396
+ variants: z.ZodArray<z.ZodObject<{
1397
+ id: z.ZodString;
1398
+ object: z.ZodLiteral<"post_variant">;
1399
+ connection_id: z.ZodString;
1400
+ platform: z.ZodEnum<{
1401
+ x: "x";
1402
+ linkedin: "linkedin";
1403
+ facebook_page: "facebook_page";
1404
+ instagram: "instagram";
1405
+ tiktok: "tiktok";
1406
+ }>;
1407
+ post_type: z.ZodEnum<{
1408
+ text: "text";
1409
+ video: "video";
1410
+ single_image: "single_image";
1411
+ multi_image: "multi_image";
1412
+ reel: "reel";
1413
+ carousel: "carousel";
1414
+ }>;
1415
+ body: z.ZodNullable<z.ZodString>;
1416
+ status: z.ZodEnum<{
1417
+ failed: "failed";
1418
+ draft: "draft";
1419
+ scheduled: "scheduled";
1420
+ publishing: "publishing";
1421
+ published: "published";
1422
+ }>;
1423
+ settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1424
+ schedule_at: z.ZodNullable<z.ZodString>;
1425
+ result: z.ZodNullable<z.ZodObject<{
1426
+ platform_post_id: z.ZodString;
1427
+ permalink: z.ZodNullable<z.ZodString>;
1428
+ published_at: z.ZodString;
1429
+ }, z.core.$strip>>;
1430
+ error: z.ZodNullable<z.ZodObject<{
1431
+ code: z.ZodString;
1432
+ message: z.ZodString;
1433
+ }, z.core.$strip>>;
1434
+ media: z.ZodArray<z.ZodObject<{
1435
+ media_id: z.ZodString;
1436
+ position: z.ZodInt;
1437
+ crop_box: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1438
+ alt_text_override: z.ZodNullable<z.ZodString>;
1439
+ }, z.core.$strip>>;
1440
+ }, z.core.$strip>>;
1441
+ created_at: z.ZodString;
1442
+ updated_at: z.ZodString;
1443
+ dry_run: z.ZodBoolean;
1444
+ executed: z.ZodBoolean;
1445
+ }, z.core.$strip>;
1446
+ declare const zMetaAccountPath: z.ZodObject<{
1447
+ connection_id: z.ZodString;
1448
+ }, z.core.$strip>;
1449
+ /**
1450
+ * A Meta (Facebook) ad account.
1451
+ */
1452
+ declare const zMetaAccountResponse: z.ZodObject<{
1453
+ id: z.ZodString;
1454
+ account_id: z.ZodString;
1455
+ name: z.ZodNullable<z.ZodString>;
1456
+ account_status: z.ZodInt;
1457
+ currency: z.ZodString;
1458
+ timezone_name: z.ZodNullable<z.ZodString>;
1459
+ amount_spent: z.ZodString;
1460
+ balance: z.ZodString;
1461
+ spend_cap: z.ZodNullable<z.ZodString>;
1462
+ }, z.core.$strip>;
1463
+ declare const zMetaInsightsPath: z.ZodObject<{
1464
+ connection_id: z.ZodString;
1465
+ }, z.core.$strip>;
1466
+ declare const zMetaInsightsQuery: z.ZodObject<{
1467
+ level: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1468
+ account: "account";
1469
+ campaign: "campaign";
1470
+ adset: "adset";
1471
+ ad: "ad";
1472
+ }>>>;
1473
+ date_preset: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1474
+ maximum: "maximum";
1475
+ today: "today";
1476
+ yesterday: "yesterday";
1477
+ this_month: "this_month";
1478
+ last_month: "last_month";
1479
+ this_quarter: "this_quarter";
1480
+ data_maximum: "data_maximum";
1481
+ last_3d: "last_3d";
1482
+ last_7d: "last_7d";
1483
+ last_14d: "last_14d";
1484
+ last_28d: "last_28d";
1485
+ last_30d: "last_30d";
1486
+ last_90d: "last_90d";
1487
+ last_week_mon_sun: "last_week_mon_sun";
1488
+ last_week_sun_sat: "last_week_sun_sat";
1489
+ last_quarter: "last_quarter";
1490
+ last_year: "last_year";
1491
+ this_week_mon_today: "this_week_mon_today";
1492
+ this_week_sun_today: "this_week_sun_today";
1493
+ this_year: "this_year";
1494
+ }>>>;
1495
+ time_range: z.ZodOptional<z.ZodObject<{
1496
+ since: z.ZodString;
1497
+ until: z.ZodString;
1498
+ }, z.core.$strip>>;
1499
+ time_increment: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodLiteral<"monthly">, z.ZodLiteral<"all_days">]>>;
1500
+ }, z.core.$strip>;
1501
+ /**
1502
+ * A list of curated Meta ad-insights rows.
1503
+ */
1504
+ declare const zMetaInsightsResponse: z.ZodObject<{
1505
+ object: z.ZodLiteral<"list">;
1506
+ data: z.ZodArray<z.ZodObject<{
1507
+ date_start: z.ZodString;
1508
+ date_stop: z.ZodString;
1509
+ account_id: z.ZodOptional<z.ZodString>;
1510
+ campaign_id: z.ZodOptional<z.ZodString>;
1511
+ campaign_name: z.ZodOptional<z.ZodString>;
1512
+ adset_id: z.ZodOptional<z.ZodString>;
1513
+ adset_name: z.ZodOptional<z.ZodString>;
1514
+ ad_id: z.ZodOptional<z.ZodString>;
1515
+ ad_name: z.ZodOptional<z.ZodString>;
1516
+ spend: z.ZodOptional<z.ZodString>;
1517
+ impressions: z.ZodOptional<z.ZodString>;
1518
+ clicks: z.ZodOptional<z.ZodString>;
1519
+ ctr: z.ZodOptional<z.ZodString>;
1520
+ cpc: z.ZodOptional<z.ZodString>;
1521
+ cpm: z.ZodOptional<z.ZodString>;
1522
+ cpp: z.ZodOptional<z.ZodString>;
1523
+ reach: z.ZodOptional<z.ZodString>;
1524
+ frequency: z.ZodOptional<z.ZodString>;
1525
+ }, z.core.$strip>>;
1526
+ }, z.core.$strip>;
1527
+ declare const zMetaCampaignsPath: z.ZodObject<{
1528
+ connection_id: z.ZodString;
1529
+ }, z.core.$strip>;
1530
+ /**
1531
+ * A list of Meta ad campaigns.
1532
+ */
1533
+ declare const zMetaCampaignsResponse: z.ZodObject<{
1534
+ object: z.ZodLiteral<"list">;
1535
+ data: z.ZodArray<z.ZodObject<{
1536
+ id: z.ZodString;
1537
+ account_id: z.ZodOptional<z.ZodString>;
1538
+ name: z.ZodNullable<z.ZodString>;
1539
+ status: z.ZodOptional<z.ZodString>;
1540
+ effective_status: z.ZodOptional<z.ZodString>;
1541
+ objective: z.ZodOptional<z.ZodString>;
1542
+ daily_budget: z.ZodOptional<z.ZodString>;
1543
+ lifetime_budget: z.ZodOptional<z.ZodString>;
1544
+ budget_remaining: z.ZodOptional<z.ZodString>;
1545
+ bid_strategy: z.ZodOptional<z.ZodString>;
1546
+ created_time: z.ZodOptional<z.ZodString>;
1547
+ start_time: z.ZodOptional<z.ZodString>;
1548
+ stop_time: z.ZodOptional<z.ZodString>;
1549
+ }, z.core.$strip>>;
1550
+ }, z.core.$strip>;
1551
+ declare const zMetaCampaignPath: z.ZodObject<{
1552
+ connection_id: z.ZodString;
1553
+ campaign_id: z.ZodString;
1554
+ }, z.core.$strip>;
1555
+ /**
1556
+ * A Meta (Facebook) ad campaign.
1557
+ */
1558
+ declare const zMetaCampaignResponse: z.ZodObject<{
1559
+ id: z.ZodString;
1560
+ account_id: z.ZodOptional<z.ZodString>;
1561
+ name: z.ZodNullable<z.ZodString>;
1562
+ status: z.ZodOptional<z.ZodString>;
1563
+ effective_status: z.ZodOptional<z.ZodString>;
1564
+ objective: z.ZodOptional<z.ZodString>;
1565
+ daily_budget: z.ZodOptional<z.ZodString>;
1566
+ lifetime_budget: z.ZodOptional<z.ZodString>;
1567
+ budget_remaining: z.ZodOptional<z.ZodString>;
1568
+ bid_strategy: z.ZodOptional<z.ZodString>;
1569
+ created_time: z.ZodOptional<z.ZodString>;
1570
+ start_time: z.ZodOptional<z.ZodString>;
1571
+ stop_time: z.ZodOptional<z.ZodString>;
1572
+ }, z.core.$strip>;
1573
+ declare const zMetaAdsetsPath: z.ZodObject<{
1574
+ connection_id: z.ZodString;
1575
+ }, z.core.$strip>;
1576
+ /**
1577
+ * A list of Meta ad sets.
1578
+ */
1579
+ declare const zMetaAdsetsResponse: z.ZodObject<{
1580
+ object: z.ZodLiteral<"list">;
1581
+ data: z.ZodArray<z.ZodObject<{
1582
+ id: z.ZodString;
1583
+ account_id: z.ZodOptional<z.ZodString>;
1584
+ name: z.ZodNullable<z.ZodString>;
1585
+ status: z.ZodOptional<z.ZodString>;
1586
+ effective_status: z.ZodOptional<z.ZodString>;
1587
+ campaign_id: z.ZodOptional<z.ZodString>;
1588
+ daily_budget: z.ZodOptional<z.ZodString>;
1589
+ lifetime_budget: z.ZodOptional<z.ZodString>;
1590
+ budget_remaining: z.ZodOptional<z.ZodString>;
1591
+ bid_amount: z.ZodOptional<z.ZodString>;
1592
+ billing_event: z.ZodOptional<z.ZodString>;
1593
+ optimization_goal: z.ZodOptional<z.ZodString>;
1594
+ start_time: z.ZodOptional<z.ZodString>;
1595
+ end_time: z.ZodOptional<z.ZodString>;
1596
+ }, z.core.$strip>>;
1597
+ }, z.core.$strip>;
1598
+ declare const zMetaAdsetPath: z.ZodObject<{
1599
+ connection_id: z.ZodString;
1600
+ adset_id: z.ZodString;
1601
+ }, z.core.$strip>;
1602
+ /**
1603
+ * A Meta (Facebook) ad set.
1604
+ */
1605
+ declare const zMetaAdsetResponse: z.ZodObject<{
1606
+ id: z.ZodString;
1607
+ account_id: z.ZodOptional<z.ZodString>;
1608
+ name: z.ZodNullable<z.ZodString>;
1609
+ status: z.ZodOptional<z.ZodString>;
1610
+ effective_status: z.ZodOptional<z.ZodString>;
1611
+ campaign_id: z.ZodOptional<z.ZodString>;
1612
+ daily_budget: z.ZodOptional<z.ZodString>;
1613
+ lifetime_budget: z.ZodOptional<z.ZodString>;
1614
+ budget_remaining: z.ZodOptional<z.ZodString>;
1615
+ bid_amount: z.ZodOptional<z.ZodString>;
1616
+ billing_event: z.ZodOptional<z.ZodString>;
1617
+ optimization_goal: z.ZodOptional<z.ZodString>;
1618
+ start_time: z.ZodOptional<z.ZodString>;
1619
+ end_time: z.ZodOptional<z.ZodString>;
1620
+ }, z.core.$strip>;
1621
+ declare const zMetaAdsPath: z.ZodObject<{
1622
+ connection_id: z.ZodString;
1623
+ }, z.core.$strip>;
1624
+ /**
1625
+ * A list of Meta ads.
1626
+ */
1627
+ declare const zMetaAdsResponse: z.ZodObject<{
1628
+ object: z.ZodLiteral<"list">;
1629
+ data: z.ZodArray<z.ZodObject<{
1630
+ id: z.ZodString;
1631
+ name: z.ZodNullable<z.ZodString>;
1632
+ status: z.ZodOptional<z.ZodString>;
1633
+ effective_status: z.ZodOptional<z.ZodString>;
1634
+ adset_id: z.ZodOptional<z.ZodString>;
1635
+ campaign_id: z.ZodOptional<z.ZodString>;
1636
+ account_id: z.ZodOptional<z.ZodString>;
1637
+ created_time: z.ZodOptional<z.ZodString>;
1638
+ updated_time: z.ZodOptional<z.ZodString>;
1639
+ }, z.core.$strip>>;
1640
+ }, z.core.$strip>;
1641
+ declare const zMetaAdPath: z.ZodObject<{
1642
+ connection_id: z.ZodString;
1643
+ ad_id: z.ZodString;
1644
+ }, z.core.$strip>;
1645
+ /**
1646
+ * A Meta (Facebook) ad.
1647
+ */
1648
+ declare const zMetaAdResponse: z.ZodObject<{
1649
+ id: z.ZodString;
1650
+ name: z.ZodNullable<z.ZodString>;
1651
+ status: z.ZodOptional<z.ZodString>;
1652
+ effective_status: z.ZodOptional<z.ZodString>;
1653
+ adset_id: z.ZodOptional<z.ZodString>;
1654
+ campaign_id: z.ZodOptional<z.ZodString>;
1655
+ account_id: z.ZodOptional<z.ZodString>;
1656
+ created_time: z.ZodOptional<z.ZodString>;
1657
+ updated_time: z.ZodOptional<z.ZodString>;
1658
+ }, z.core.$strip>;
1659
+ declare const zGoogleGetAccountPath: z.ZodObject<{
1660
+ connection_id: z.ZodString;
1661
+ }, z.core.$strip>;
1662
+ /**
1663
+ * A connected Google Ads account (the `customer` resource): id, descriptive name, currency, time zone, status, and whether it is a manager (MCC) or test account.
1664
+ */
1665
+ declare const zGoogleGetAccountResponse: z.ZodObject<{
1666
+ id: z.ZodString;
1667
+ descriptive_name: z.ZodNullable<z.ZodString>;
1668
+ currency_code: z.ZodNullable<z.ZodString>;
1669
+ time_zone: z.ZodNullable<z.ZodString>;
1670
+ status: z.ZodEnum<{
1671
+ UNSPECIFIED: "UNSPECIFIED";
1672
+ UNKNOWN: "UNKNOWN";
1673
+ ENABLED: "ENABLED";
1674
+ CANCELED: "CANCELED";
1675
+ SUSPENDED: "SUSPENDED";
1676
+ CLOSED: "CLOSED";
1677
+ }>;
1678
+ manager: z.ZodBoolean;
1679
+ test_account: z.ZodBoolean;
1680
+ }, z.core.$strip>;
1681
+ declare const zGoogleGetInsightsBody: z.ZodObject<{
1682
+ level: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1683
+ account: "account";
1684
+ campaign: "campaign";
1685
+ ad_group: "ad_group";
1686
+ }>>>;
1687
+ metrics: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<{
1688
+ impressions: "impressions";
1689
+ clicks: "clicks";
1690
+ ctr: "ctr";
1691
+ average_cpc: "average_cpc";
1692
+ cost_micros: "cost_micros";
1693
+ conversions: "conversions";
1694
+ conversions_value: "conversions_value";
1695
+ cost_per_conversion: "cost_per_conversion";
1696
+ }>>>>;
1697
+ segments: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1698
+ date: "date";
1699
+ device: "device";
1700
+ }>>>;
1701
+ since: z.ZodString;
1702
+ until: z.ZodString;
1703
+ }, z.core.$strip>;
1704
+ declare const zGoogleGetInsightsPath: z.ZodObject<{
1705
+ connection_id: z.ZodString;
1706
+ }, z.core.$strip>;
1707
+ /**
1708
+ * Performance rows for the requested level, metrics, and window.
1709
+ */
1710
+ declare const zGoogleGetInsightsResponse: z.ZodObject<{
1711
+ object: z.ZodLiteral<"list">;
1712
+ data: z.ZodArray<z.ZodObject<{
1713
+ level: z.ZodEnum<{
1714
+ account: "account";
1715
+ campaign: "campaign";
1716
+ ad_group: "ad_group";
1717
+ }>;
1718
+ id: z.ZodString;
1719
+ name: z.ZodNullable<z.ZodString>;
1720
+ metrics: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodNumber>>;
1721
+ segments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1722
+ }, z.core.$strip>>;
1723
+ }, z.core.$strip>;
1724
+ declare const zGoogleRunGaqlBody: z.ZodObject<{
1725
+ query: z.ZodString;
1726
+ }, z.core.$strip>;
1727
+ declare const zGoogleRunGaqlPath: z.ZodObject<{
1728
+ connection_id: z.ZodString;
1729
+ }, z.core.$strip>;
1730
+ /**
1731
+ * The native GAQL rows for the query (unnormalised).
1732
+ */
1733
+ declare const zGoogleRunGaqlResponse: z.ZodObject<{
1734
+ object: z.ZodLiteral<"list">;
1735
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodUnknown, z.ZodNull]>>;
1736
+ }, z.core.$strip>;
1737
+ declare const zGoogleCreateBudgetBody: z.ZodObject<{
1738
+ name: z.ZodString;
1739
+ amount_micros: z.ZodInt;
1740
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1741
+ }, z.core.$strip>;
1742
+ declare const zGoogleCreateBudgetPath: z.ZodObject<{
1743
+ connection_id: z.ZodString;
1744
+ }, z.core.$strip>;
1745
+ /**
1746
+ * OK
1747
+ */
1748
+ declare const zGoogleCreateBudgetResponse: z.ZodObject<{
1749
+ id: z.ZodNullable<z.ZodString>;
1750
+ resource_name: z.ZodNullable<z.ZodString>;
1751
+ dry_run: z.ZodBoolean;
1752
+ executed: z.ZodBoolean;
1753
+ }, z.core.$strip>;
1754
+ declare const zGoogleDeleteBudgetBody: z.ZodObject<{
1755
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1756
+ }, z.core.$strip>;
1757
+ declare const zGoogleDeleteBudgetPath: z.ZodObject<{
1758
+ connection_id: z.ZodString;
1759
+ id: z.ZodString;
1760
+ }, z.core.$strip>;
1761
+ /**
1762
+ * OK
1763
+ */
1764
+ declare const zGoogleDeleteBudgetResponse: z.ZodObject<{
1765
+ id: z.ZodString;
1766
+ removed: z.ZodBoolean;
1767
+ dry_run: z.ZodBoolean;
1768
+ executed: z.ZodBoolean;
1769
+ }, z.core.$strip>;
1770
+ declare const zGoogleEditBudgetBody: z.ZodObject<{
1771
+ amount_micros: z.ZodInt;
1772
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1773
+ }, z.core.$strip>;
1774
+ declare const zGoogleEditBudgetPath: z.ZodObject<{
1775
+ connection_id: z.ZodString;
1776
+ id: z.ZodString;
1777
+ }, z.core.$strip>;
1778
+ /**
1779
+ * OK
1780
+ */
1781
+ declare const zGoogleEditBudgetResponse: z.ZodObject<{
1782
+ id: z.ZodString;
1783
+ resource_name: z.ZodString;
1784
+ dry_run: z.ZodBoolean;
1785
+ executed: z.ZodBoolean;
1786
+ }, z.core.$strip>;
1787
+ declare const zGoogleListCampaignsPath: z.ZodObject<{
1788
+ connection_id: z.ZodString;
1789
+ }, z.core.$strip>;
1790
+ /**
1791
+ * OK
1792
+ */
1793
+ declare const zGoogleListCampaignsResponse: z.ZodObject<{
1794
+ object: z.ZodLiteral<"list">;
1795
+ data: z.ZodArray<z.ZodObject<{
1796
+ id: z.ZodString;
1797
+ name: z.ZodNullable<z.ZodString>;
1798
+ status: z.ZodEnum<{
1799
+ UNSPECIFIED: "UNSPECIFIED";
1800
+ UNKNOWN: "UNKNOWN";
1801
+ ENABLED: "ENABLED";
1802
+ PAUSED: "PAUSED";
1803
+ REMOVED: "REMOVED";
1804
+ }>;
1805
+ advertising_channel_type: z.ZodEnum<{
1806
+ UNSPECIFIED: "UNSPECIFIED";
1807
+ UNKNOWN: "UNKNOWN";
1808
+ SEARCH: "SEARCH";
1809
+ DISPLAY: "DISPLAY";
1810
+ SHOPPING: "SHOPPING";
1811
+ HOTEL: "HOTEL";
1812
+ VIDEO: "VIDEO";
1813
+ MULTI_CHANNEL: "MULTI_CHANNEL";
1814
+ LOCAL: "LOCAL";
1815
+ SMART: "SMART";
1816
+ PERFORMANCE_MAX: "PERFORMANCE_MAX";
1817
+ LOCAL_SERVICES: "LOCAL_SERVICES";
1818
+ TRAVEL: "TRAVEL";
1819
+ DEMAND_GEN: "DEMAND_GEN";
1820
+ }>;
1821
+ bidding_strategy_type: z.ZodEnum<{
1822
+ UNSPECIFIED: "UNSPECIFIED";
1823
+ UNKNOWN: "UNKNOWN";
1824
+ COMMISSION: "COMMISSION";
1825
+ ENHANCED_CPC: "ENHANCED_CPC";
1826
+ FIXED_CPM: "FIXED_CPM";
1827
+ FIXED_SHARE_OF_VOICE: "FIXED_SHARE_OF_VOICE";
1828
+ INVALID: "INVALID";
1829
+ MANUAL_CPA: "MANUAL_CPA";
1830
+ MANUAL_CPC: "MANUAL_CPC";
1831
+ MANUAL_CPM: "MANUAL_CPM";
1832
+ MANUAL_CPV: "MANUAL_CPV";
1833
+ MAXIMIZE_CONVERSIONS: "MAXIMIZE_CONVERSIONS";
1834
+ MAXIMIZE_CONVERSION_VALUE: "MAXIMIZE_CONVERSION_VALUE";
1835
+ PAGE_ONE_PROMOTED: "PAGE_ONE_PROMOTED";
1836
+ PERCENT_CPC: "PERCENT_CPC";
1837
+ TARGET_CPA: "TARGET_CPA";
1838
+ TARGET_CPC: "TARGET_CPC";
1839
+ TARGET_CPM: "TARGET_CPM";
1840
+ TARGET_CPV: "TARGET_CPV";
1841
+ TARGET_IMPRESSION_SHARE: "TARGET_IMPRESSION_SHARE";
1842
+ TARGET_OUTRANK_SHARE: "TARGET_OUTRANK_SHARE";
1843
+ TARGET_ROAS: "TARGET_ROAS";
1844
+ TARGET_SPEND: "TARGET_SPEND";
1845
+ }>;
1846
+ }, z.core.$strip>>;
1847
+ }, z.core.$strip>;
1848
+ declare const zGoogleCreateCampaignBody: z.ZodObject<{
1849
+ name: z.ZodString;
1850
+ channel: z.ZodEnum<{
1851
+ SEARCH: "SEARCH";
1852
+ DISPLAY: "DISPLAY";
1853
+ }>;
1854
+ campaign_budget: z.ZodString;
1855
+ bidding: z.ZodEnum<{
1856
+ manual_cpc: "manual_cpc";
1857
+ maximize_conversions: "maximize_conversions";
1858
+ target_spend: "target_spend";
1859
+ }>;
1860
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1861
+ ENABLED: "ENABLED";
1862
+ PAUSED: "PAUSED";
1863
+ }>>>;
1864
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1865
+ }, z.core.$strip>;
1866
+ declare const zGoogleCreateCampaignPath: z.ZodObject<{
1867
+ connection_id: z.ZodString;
1868
+ }, z.core.$strip>;
1869
+ /**
1870
+ * OK
1871
+ */
1872
+ declare const zGoogleCreateCampaignResponse: z.ZodObject<{
1873
+ id: z.ZodNullable<z.ZodString>;
1874
+ resource_name: z.ZodNullable<z.ZodString>;
1875
+ dry_run: z.ZodBoolean;
1876
+ executed: z.ZodBoolean;
1877
+ }, z.core.$strip>;
1878
+ declare const zGoogleDeleteCampaignBody: z.ZodObject<{
1879
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1880
+ }, z.core.$strip>;
1881
+ declare const zGoogleDeleteCampaignPath: z.ZodObject<{
1882
+ connection_id: z.ZodString;
1883
+ id: z.ZodString;
1884
+ }, z.core.$strip>;
1885
+ /**
1886
+ * OK
1887
+ */
1888
+ declare const zGoogleDeleteCampaignResponse: z.ZodObject<{
1889
+ id: z.ZodString;
1890
+ removed: z.ZodBoolean;
1891
+ dry_run: z.ZodBoolean;
1892
+ executed: z.ZodBoolean;
1893
+ }, z.core.$strip>;
1894
+ declare const zGoogleGetCampaignPath: z.ZodObject<{
1895
+ connection_id: z.ZodString;
1896
+ id: z.ZodString;
1897
+ }, z.core.$strip>;
1898
+ /**
1899
+ * A Google Ads campaign (the `campaign` resource): id, name, status, advertising channel type, and bidding strategy type. (start/end dates are a fast-follow — the Opteo v23 campaign type does not yet expose them as typed fields, and we never cast.)
1900
+ */
1901
+ declare const zGoogleGetCampaignResponse: z.ZodObject<{
1902
+ id: z.ZodString;
1903
+ name: z.ZodNullable<z.ZodString>;
1904
+ status: z.ZodEnum<{
1905
+ UNSPECIFIED: "UNSPECIFIED";
1906
+ UNKNOWN: "UNKNOWN";
1907
+ ENABLED: "ENABLED";
1908
+ PAUSED: "PAUSED";
1909
+ REMOVED: "REMOVED";
1910
+ }>;
1911
+ advertising_channel_type: z.ZodEnum<{
1912
+ UNSPECIFIED: "UNSPECIFIED";
1913
+ UNKNOWN: "UNKNOWN";
1914
+ SEARCH: "SEARCH";
1915
+ DISPLAY: "DISPLAY";
1916
+ SHOPPING: "SHOPPING";
1917
+ HOTEL: "HOTEL";
1918
+ VIDEO: "VIDEO";
1919
+ MULTI_CHANNEL: "MULTI_CHANNEL";
1920
+ LOCAL: "LOCAL";
1921
+ SMART: "SMART";
1922
+ PERFORMANCE_MAX: "PERFORMANCE_MAX";
1923
+ LOCAL_SERVICES: "LOCAL_SERVICES";
1924
+ TRAVEL: "TRAVEL";
1925
+ DEMAND_GEN: "DEMAND_GEN";
1926
+ }>;
1927
+ bidding_strategy_type: z.ZodEnum<{
1928
+ UNSPECIFIED: "UNSPECIFIED";
1929
+ UNKNOWN: "UNKNOWN";
1930
+ COMMISSION: "COMMISSION";
1931
+ ENHANCED_CPC: "ENHANCED_CPC";
1932
+ FIXED_CPM: "FIXED_CPM";
1933
+ FIXED_SHARE_OF_VOICE: "FIXED_SHARE_OF_VOICE";
1934
+ INVALID: "INVALID";
1935
+ MANUAL_CPA: "MANUAL_CPA";
1936
+ MANUAL_CPC: "MANUAL_CPC";
1937
+ MANUAL_CPM: "MANUAL_CPM";
1938
+ MANUAL_CPV: "MANUAL_CPV";
1939
+ MAXIMIZE_CONVERSIONS: "MAXIMIZE_CONVERSIONS";
1940
+ MAXIMIZE_CONVERSION_VALUE: "MAXIMIZE_CONVERSION_VALUE";
1941
+ PAGE_ONE_PROMOTED: "PAGE_ONE_PROMOTED";
1942
+ PERCENT_CPC: "PERCENT_CPC";
1943
+ TARGET_CPA: "TARGET_CPA";
1944
+ TARGET_CPC: "TARGET_CPC";
1945
+ TARGET_CPM: "TARGET_CPM";
1946
+ TARGET_CPV: "TARGET_CPV";
1947
+ TARGET_IMPRESSION_SHARE: "TARGET_IMPRESSION_SHARE";
1948
+ TARGET_OUTRANK_SHARE: "TARGET_OUTRANK_SHARE";
1949
+ TARGET_ROAS: "TARGET_ROAS";
1950
+ TARGET_SPEND: "TARGET_SPEND";
1951
+ }>;
1952
+ }, z.core.$strip>;
1953
+ declare const zGoogleEditCampaignBody: z.ZodObject<{
1954
+ name: z.ZodString;
1955
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1956
+ }, z.core.$strip>;
1957
+ declare const zGoogleEditCampaignPath: z.ZodObject<{
1958
+ connection_id: z.ZodString;
1959
+ id: z.ZodString;
1960
+ }, z.core.$strip>;
1961
+ /**
1962
+ * OK
1963
+ */
1964
+ declare const zGoogleEditCampaignResponse: z.ZodObject<{
1965
+ id: z.ZodString;
1966
+ resource_name: z.ZodString;
1967
+ dry_run: z.ZodBoolean;
1968
+ executed: z.ZodBoolean;
1969
+ }, z.core.$strip>;
1970
+ declare const zGooglePauseCampaignBody: z.ZodObject<{
1971
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1972
+ }, z.core.$strip>;
1973
+ declare const zGooglePauseCampaignPath: z.ZodObject<{
1974
+ connection_id: z.ZodString;
1975
+ id: z.ZodString;
1976
+ }, z.core.$strip>;
1977
+ /**
1978
+ * The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
1979
+ */
1980
+ declare const zGooglePauseCampaignResponse: z.ZodObject<{
1981
+ id: z.ZodString;
1982
+ status: z.ZodEnum<{
1983
+ ENABLED: "ENABLED";
1984
+ PAUSED: "PAUSED";
1985
+ }>;
1986
+ dry_run: z.ZodBoolean;
1987
+ executed: z.ZodBoolean;
1988
+ }, z.core.$strip>;
1989
+ declare const zGoogleEnableCampaignBody: z.ZodObject<{
1990
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1991
+ }, z.core.$strip>;
1992
+ declare const zGoogleEnableCampaignPath: z.ZodObject<{
1993
+ connection_id: z.ZodString;
1994
+ id: z.ZodString;
1995
+ }, z.core.$strip>;
1996
+ /**
1997
+ * The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
1998
+ */
1999
+ declare const zGoogleEnableCampaignResponse: z.ZodObject<{
2000
+ id: z.ZodString;
2001
+ status: z.ZodEnum<{
2002
+ ENABLED: "ENABLED";
2003
+ PAUSED: "PAUSED";
2004
+ }>;
2005
+ dry_run: z.ZodBoolean;
2006
+ executed: z.ZodBoolean;
2007
+ }, z.core.$strip>;
2008
+ declare const zGoogleListAdGroupsPath: z.ZodObject<{
2009
+ connection_id: z.ZodString;
2010
+ }, z.core.$strip>;
2011
+ /**
2012
+ * OK
2013
+ */
2014
+ declare const zGoogleListAdGroupsResponse: z.ZodObject<{
2015
+ object: z.ZodLiteral<"list">;
2016
+ data: z.ZodArray<z.ZodObject<{
2017
+ id: z.ZodString;
2018
+ name: z.ZodNullable<z.ZodString>;
2019
+ status: z.ZodEnum<{
2020
+ UNSPECIFIED: "UNSPECIFIED";
2021
+ UNKNOWN: "UNKNOWN";
2022
+ ENABLED: "ENABLED";
2023
+ PAUSED: "PAUSED";
2024
+ REMOVED: "REMOVED";
2025
+ }>;
2026
+ type: z.ZodEnum<{
2027
+ UNSPECIFIED: "UNSPECIFIED";
2028
+ UNKNOWN: "UNKNOWN";
2029
+ SEARCH_STANDARD: "SEARCH_STANDARD";
2030
+ DISPLAY_STANDARD: "DISPLAY_STANDARD";
2031
+ SHOPPING_PRODUCT_ADS: "SHOPPING_PRODUCT_ADS";
2032
+ HOTEL_ADS: "HOTEL_ADS";
2033
+ SHOPPING_SMART_ADS: "SHOPPING_SMART_ADS";
2034
+ VIDEO_BUMPER: "VIDEO_BUMPER";
2035
+ VIDEO_TRUE_VIEW_IN_STREAM: "VIDEO_TRUE_VIEW_IN_STREAM";
2036
+ VIDEO_TRUE_VIEW_IN_DISPLAY: "VIDEO_TRUE_VIEW_IN_DISPLAY";
2037
+ VIDEO_NON_SKIPPABLE_IN_STREAM: "VIDEO_NON_SKIPPABLE_IN_STREAM";
2038
+ SEARCH_DYNAMIC_ADS: "SEARCH_DYNAMIC_ADS";
2039
+ SHOPPING_COMPARISON_LISTING_ADS: "SHOPPING_COMPARISON_LISTING_ADS";
2040
+ PROMOTED_HOTEL_ADS: "PROMOTED_HOTEL_ADS";
2041
+ VIDEO_RESPONSIVE: "VIDEO_RESPONSIVE";
2042
+ VIDEO_EFFICIENT_REACH: "VIDEO_EFFICIENT_REACH";
2043
+ SMART_CAMPAIGN_ADS: "SMART_CAMPAIGN_ADS";
2044
+ TRAVEL_ADS: "TRAVEL_ADS";
2045
+ YOUTUBE_AUDIO: "YOUTUBE_AUDIO";
2046
+ }>;
2047
+ campaign: z.ZodNullable<z.ZodString>;
2048
+ }, z.core.$strip>>;
2049
+ }, z.core.$strip>;
2050
+ declare const zGoogleCreateAdGroupBody: z.ZodObject<{
2051
+ name: z.ZodString;
2052
+ campaign: z.ZodString;
2053
+ type: z.ZodEnum<{
2054
+ SEARCH_STANDARD: "SEARCH_STANDARD";
2055
+ DISPLAY_STANDARD: "DISPLAY_STANDARD";
2056
+ }>;
2057
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2058
+ ENABLED: "ENABLED";
2059
+ PAUSED: "PAUSED";
2060
+ }>>>;
2061
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2062
+ }, z.core.$strip>;
2063
+ declare const zGoogleCreateAdGroupPath: z.ZodObject<{
2064
+ connection_id: z.ZodString;
2065
+ }, z.core.$strip>;
2066
+ /**
2067
+ * OK
2068
+ */
2069
+ declare const zGoogleCreateAdGroupResponse: z.ZodObject<{
2070
+ id: z.ZodNullable<z.ZodString>;
2071
+ resource_name: z.ZodNullable<z.ZodString>;
2072
+ dry_run: z.ZodBoolean;
2073
+ executed: z.ZodBoolean;
2074
+ }, z.core.$strip>;
2075
+ declare const zGoogleDeleteAdGroupBody: z.ZodObject<{
2076
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2077
+ }, z.core.$strip>;
2078
+ declare const zGoogleDeleteAdGroupPath: z.ZodObject<{
2079
+ connection_id: z.ZodString;
2080
+ id: z.ZodString;
2081
+ }, z.core.$strip>;
2082
+ /**
2083
+ * OK
2084
+ */
2085
+ declare const zGoogleDeleteAdGroupResponse: z.ZodObject<{
2086
+ id: z.ZodString;
2087
+ removed: z.ZodBoolean;
2088
+ dry_run: z.ZodBoolean;
2089
+ executed: z.ZodBoolean;
2090
+ }, z.core.$strip>;
2091
+ declare const zGoogleGetAdGroupPath: z.ZodObject<{
2092
+ connection_id: z.ZodString;
2093
+ id: z.ZodString;
2094
+ }, z.core.$strip>;
2095
+ /**
2096
+ * A Google Ads ad group (the `ad_group` resource): id, name, status, type, and the resource name of the parent campaign.
2097
+ */
2098
+ declare const zGoogleGetAdGroupResponse: z.ZodObject<{
2099
+ id: z.ZodString;
2100
+ name: z.ZodNullable<z.ZodString>;
2101
+ status: z.ZodEnum<{
2102
+ UNSPECIFIED: "UNSPECIFIED";
2103
+ UNKNOWN: "UNKNOWN";
2104
+ ENABLED: "ENABLED";
2105
+ PAUSED: "PAUSED";
2106
+ REMOVED: "REMOVED";
2107
+ }>;
2108
+ type: z.ZodEnum<{
2109
+ UNSPECIFIED: "UNSPECIFIED";
2110
+ UNKNOWN: "UNKNOWN";
2111
+ SEARCH_STANDARD: "SEARCH_STANDARD";
2112
+ DISPLAY_STANDARD: "DISPLAY_STANDARD";
2113
+ SHOPPING_PRODUCT_ADS: "SHOPPING_PRODUCT_ADS";
2114
+ HOTEL_ADS: "HOTEL_ADS";
2115
+ SHOPPING_SMART_ADS: "SHOPPING_SMART_ADS";
2116
+ VIDEO_BUMPER: "VIDEO_BUMPER";
2117
+ VIDEO_TRUE_VIEW_IN_STREAM: "VIDEO_TRUE_VIEW_IN_STREAM";
2118
+ VIDEO_TRUE_VIEW_IN_DISPLAY: "VIDEO_TRUE_VIEW_IN_DISPLAY";
2119
+ VIDEO_NON_SKIPPABLE_IN_STREAM: "VIDEO_NON_SKIPPABLE_IN_STREAM";
2120
+ SEARCH_DYNAMIC_ADS: "SEARCH_DYNAMIC_ADS";
2121
+ SHOPPING_COMPARISON_LISTING_ADS: "SHOPPING_COMPARISON_LISTING_ADS";
2122
+ PROMOTED_HOTEL_ADS: "PROMOTED_HOTEL_ADS";
2123
+ VIDEO_RESPONSIVE: "VIDEO_RESPONSIVE";
2124
+ VIDEO_EFFICIENT_REACH: "VIDEO_EFFICIENT_REACH";
2125
+ SMART_CAMPAIGN_ADS: "SMART_CAMPAIGN_ADS";
2126
+ TRAVEL_ADS: "TRAVEL_ADS";
2127
+ YOUTUBE_AUDIO: "YOUTUBE_AUDIO";
2128
+ }>;
2129
+ campaign: z.ZodNullable<z.ZodString>;
2130
+ }, z.core.$strip>;
2131
+ declare const zGoogleEditAdGroupBody: z.ZodObject<{
2132
+ name: z.ZodString;
2133
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2134
+ }, z.core.$strip>;
2135
+ declare const zGoogleEditAdGroupPath: z.ZodObject<{
2136
+ connection_id: z.ZodString;
2137
+ id: z.ZodString;
2138
+ }, z.core.$strip>;
2139
+ /**
2140
+ * OK
2141
+ */
2142
+ declare const zGoogleEditAdGroupResponse: z.ZodObject<{
2143
+ id: z.ZodString;
2144
+ resource_name: z.ZodString;
2145
+ dry_run: z.ZodBoolean;
2146
+ executed: z.ZodBoolean;
2147
+ }, z.core.$strip>;
2148
+ declare const zGoogleSetAdGroupBidsBody: z.ZodObject<{
2149
+ cpc_bid_micros: z.ZodOptional<z.ZodInt>;
2150
+ cpm_bid_micros: z.ZodOptional<z.ZodInt>;
2151
+ target_cpa_micros: z.ZodOptional<z.ZodInt>;
2152
+ target_roas: z.ZodOptional<z.ZodNumber>;
2153
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2154
+ }, z.core.$strip>;
2155
+ declare const zGoogleSetAdGroupBidsPath: z.ZodObject<{
2156
+ connection_id: z.ZodString;
2157
+ id: z.ZodString;
2158
+ }, z.core.$strip>;
2159
+ /**
2160
+ * OK
2161
+ */
2162
+ declare const zGoogleSetAdGroupBidsResponse: z.ZodObject<{
2163
+ id: z.ZodString;
2164
+ resource_name: z.ZodString;
2165
+ dry_run: z.ZodBoolean;
2166
+ executed: z.ZodBoolean;
2167
+ }, z.core.$strip>;
2168
+ declare const zGooglePauseAdGroupBody: z.ZodObject<{
2169
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2170
+ }, z.core.$strip>;
2171
+ declare const zGooglePauseAdGroupPath: z.ZodObject<{
2172
+ connection_id: z.ZodString;
2173
+ id: z.ZodString;
2174
+ }, z.core.$strip>;
2175
+ /**
2176
+ * The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
2177
+ */
2178
+ declare const zGooglePauseAdGroupResponse: z.ZodObject<{
2179
+ id: z.ZodString;
2180
+ status: z.ZodEnum<{
2181
+ ENABLED: "ENABLED";
2182
+ PAUSED: "PAUSED";
2183
+ }>;
2184
+ dry_run: z.ZodBoolean;
2185
+ executed: z.ZodBoolean;
2186
+ }, z.core.$strip>;
2187
+ declare const zGoogleEnableAdGroupBody: z.ZodObject<{
2188
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2189
+ }, z.core.$strip>;
2190
+ declare const zGoogleEnableAdGroupPath: z.ZodObject<{
2191
+ connection_id: z.ZodString;
2192
+ id: z.ZodString;
2193
+ }, z.core.$strip>;
2194
+ /**
2195
+ * The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
2196
+ */
2197
+ declare const zGoogleEnableAdGroupResponse: z.ZodObject<{
2198
+ id: z.ZodString;
2199
+ status: z.ZodEnum<{
2200
+ ENABLED: "ENABLED";
2201
+ PAUSED: "PAUSED";
2202
+ }>;
2203
+ dry_run: z.ZodBoolean;
2204
+ executed: z.ZodBoolean;
2205
+ }, z.core.$strip>;
2206
+ declare const zGoogleListAdsPath: z.ZodObject<{
2207
+ connection_id: z.ZodString;
2208
+ }, z.core.$strip>;
2209
+ /**
2210
+ * OK
2211
+ */
2212
+ declare const zGoogleListAdsResponse: z.ZodObject<{
2213
+ object: z.ZodLiteral<"list">;
2214
+ data: z.ZodArray<z.ZodObject<{
2215
+ id: z.ZodString;
2216
+ name: z.ZodNullable<z.ZodString>;
2217
+ type: z.ZodEnum<{
2218
+ UNSPECIFIED: "UNSPECIFIED";
2219
+ UNKNOWN: "UNKNOWN";
2220
+ TEXT_AD: "TEXT_AD";
2221
+ EXPANDED_TEXT_AD: "EXPANDED_TEXT_AD";
2222
+ EXPANDED_DYNAMIC_SEARCH_AD: "EXPANDED_DYNAMIC_SEARCH_AD";
2223
+ HOTEL_AD: "HOTEL_AD";
2224
+ SHOPPING_SMART_AD: "SHOPPING_SMART_AD";
2225
+ SHOPPING_PRODUCT_AD: "SHOPPING_PRODUCT_AD";
2226
+ VIDEO_AD: "VIDEO_AD";
2227
+ IMAGE_AD: "IMAGE_AD";
2228
+ RESPONSIVE_SEARCH_AD: "RESPONSIVE_SEARCH_AD";
2229
+ LEGACY_RESPONSIVE_DISPLAY_AD: "LEGACY_RESPONSIVE_DISPLAY_AD";
2230
+ APP_AD: "APP_AD";
2231
+ LEGACY_APP_INSTALL_AD: "LEGACY_APP_INSTALL_AD";
2232
+ RESPONSIVE_DISPLAY_AD: "RESPONSIVE_DISPLAY_AD";
2233
+ LOCAL_AD: "LOCAL_AD";
2234
+ HTML5_UPLOAD_AD: "HTML5_UPLOAD_AD";
2235
+ DYNAMIC_HTML5_AD: "DYNAMIC_HTML5_AD";
2236
+ APP_ENGAGEMENT_AD: "APP_ENGAGEMENT_AD";
2237
+ SHOPPING_COMPARISON_LISTING_AD: "SHOPPING_COMPARISON_LISTING_AD";
2238
+ VIDEO_BUMPER_AD: "VIDEO_BUMPER_AD";
2239
+ VIDEO_NON_SKIPPABLE_IN_STREAM_AD: "VIDEO_NON_SKIPPABLE_IN_STREAM_AD";
2240
+ VIDEO_TRUEVIEW_IN_STREAM_AD: "VIDEO_TRUEVIEW_IN_STREAM_AD";
2241
+ VIDEO_RESPONSIVE_AD: "VIDEO_RESPONSIVE_AD";
2242
+ SMART_CAMPAIGN_AD: "SMART_CAMPAIGN_AD";
2243
+ CALL_AD: "CALL_AD";
2244
+ APP_PRE_REGISTRATION_AD: "APP_PRE_REGISTRATION_AD";
2245
+ IN_FEED_VIDEO_AD: "IN_FEED_VIDEO_AD";
2246
+ DEMAND_GEN_MULTI_ASSET_AD: "DEMAND_GEN_MULTI_ASSET_AD";
2247
+ DEMAND_GEN_CAROUSEL_AD: "DEMAND_GEN_CAROUSEL_AD";
2248
+ TRAVEL_AD: "TRAVEL_AD";
2249
+ DEMAND_GEN_VIDEO_RESPONSIVE_AD: "DEMAND_GEN_VIDEO_RESPONSIVE_AD";
2250
+ DEMAND_GEN_PRODUCT_AD: "DEMAND_GEN_PRODUCT_AD";
2251
+ YOUTUBE_AUDIO_AD: "YOUTUBE_AUDIO_AD";
2252
+ }>;
2253
+ status: z.ZodEnum<{
2254
+ UNSPECIFIED: "UNSPECIFIED";
2255
+ UNKNOWN: "UNKNOWN";
2256
+ ENABLED: "ENABLED";
2257
+ PAUSED: "PAUSED";
2258
+ REMOVED: "REMOVED";
2259
+ }>;
2260
+ ad_group: z.ZodNullable<z.ZodString>;
2261
+ }, z.core.$strip>>;
2262
+ }, z.core.$strip>;
2263
+ declare const zGoogleCreateAdBody: z.ZodObject<{
2264
+ ad_group: z.ZodString;
2265
+ final_urls: z.ZodArray<z.ZodURL>;
2266
+ headlines: z.ZodArray<z.ZodObject<{
2267
+ text: z.ZodString;
2268
+ pinned_field: z.ZodOptional<z.ZodEnum<{
2269
+ HEADLINE_1: "HEADLINE_1";
2270
+ HEADLINE_2: "HEADLINE_2";
2271
+ HEADLINE_3: "HEADLINE_3";
2272
+ }>>;
2273
+ }, z.core.$strip>>;
2274
+ descriptions: z.ZodArray<z.ZodObject<{
2275
+ text: z.ZodString;
2276
+ }, z.core.$strip>>;
2277
+ path1: z.ZodOptional<z.ZodString>;
2278
+ path2: z.ZodOptional<z.ZodString>;
2279
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2280
+ ENABLED: "ENABLED";
2281
+ PAUSED: "PAUSED";
2282
+ }>>>;
2283
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2284
+ }, z.core.$strip>;
2285
+ declare const zGoogleCreateAdPath: z.ZodObject<{
2286
+ connection_id: z.ZodString;
2287
+ }, z.core.$strip>;
2288
+ /**
2289
+ * OK
2290
+ */
2291
+ declare const zGoogleCreateAdResponse: z.ZodObject<{
2292
+ id: z.ZodNullable<z.ZodString>;
2293
+ resource_name: z.ZodNullable<z.ZodString>;
2294
+ dry_run: z.ZodBoolean;
2295
+ executed: z.ZodBoolean;
2296
+ }, z.core.$strip>;
2297
+ declare const zGoogleDeleteAdBody: z.ZodObject<{
2298
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2299
+ }, z.core.$strip>;
2300
+ declare const zGoogleDeleteAdPath: z.ZodObject<{
2301
+ connection_id: z.ZodString;
2302
+ id: z.ZodString;
2303
+ }, z.core.$strip>;
2304
+ /**
2305
+ * OK
2306
+ */
2307
+ declare const zGoogleDeleteAdResponse: z.ZodObject<{
2308
+ id: z.ZodString;
2309
+ removed: z.ZodBoolean;
2310
+ dry_run: z.ZodBoolean;
2311
+ executed: z.ZodBoolean;
2312
+ }, z.core.$strip>;
2313
+ declare const zGoogleGetAdPath: z.ZodObject<{
2314
+ connection_id: z.ZodString;
2315
+ id: z.ZodString;
2316
+ }, z.core.$strip>;
2317
+ /**
2318
+ * A Google Ads ad (the `ad_group_ad` resource): id, name, creative type, serving status, and the ad group resource name it belongs to.
2319
+ */
2320
+ declare const zGoogleGetAdResponse: z.ZodObject<{
2321
+ id: z.ZodString;
2322
+ name: z.ZodNullable<z.ZodString>;
2323
+ type: z.ZodEnum<{
2324
+ UNSPECIFIED: "UNSPECIFIED";
2325
+ UNKNOWN: "UNKNOWN";
2326
+ TEXT_AD: "TEXT_AD";
2327
+ EXPANDED_TEXT_AD: "EXPANDED_TEXT_AD";
2328
+ EXPANDED_DYNAMIC_SEARCH_AD: "EXPANDED_DYNAMIC_SEARCH_AD";
2329
+ HOTEL_AD: "HOTEL_AD";
2330
+ SHOPPING_SMART_AD: "SHOPPING_SMART_AD";
2331
+ SHOPPING_PRODUCT_AD: "SHOPPING_PRODUCT_AD";
2332
+ VIDEO_AD: "VIDEO_AD";
2333
+ IMAGE_AD: "IMAGE_AD";
2334
+ RESPONSIVE_SEARCH_AD: "RESPONSIVE_SEARCH_AD";
2335
+ LEGACY_RESPONSIVE_DISPLAY_AD: "LEGACY_RESPONSIVE_DISPLAY_AD";
2336
+ APP_AD: "APP_AD";
2337
+ LEGACY_APP_INSTALL_AD: "LEGACY_APP_INSTALL_AD";
2338
+ RESPONSIVE_DISPLAY_AD: "RESPONSIVE_DISPLAY_AD";
2339
+ LOCAL_AD: "LOCAL_AD";
2340
+ HTML5_UPLOAD_AD: "HTML5_UPLOAD_AD";
2341
+ DYNAMIC_HTML5_AD: "DYNAMIC_HTML5_AD";
2342
+ APP_ENGAGEMENT_AD: "APP_ENGAGEMENT_AD";
2343
+ SHOPPING_COMPARISON_LISTING_AD: "SHOPPING_COMPARISON_LISTING_AD";
2344
+ VIDEO_BUMPER_AD: "VIDEO_BUMPER_AD";
2345
+ VIDEO_NON_SKIPPABLE_IN_STREAM_AD: "VIDEO_NON_SKIPPABLE_IN_STREAM_AD";
2346
+ VIDEO_TRUEVIEW_IN_STREAM_AD: "VIDEO_TRUEVIEW_IN_STREAM_AD";
2347
+ VIDEO_RESPONSIVE_AD: "VIDEO_RESPONSIVE_AD";
2348
+ SMART_CAMPAIGN_AD: "SMART_CAMPAIGN_AD";
2349
+ CALL_AD: "CALL_AD";
2350
+ APP_PRE_REGISTRATION_AD: "APP_PRE_REGISTRATION_AD";
2351
+ IN_FEED_VIDEO_AD: "IN_FEED_VIDEO_AD";
2352
+ DEMAND_GEN_MULTI_ASSET_AD: "DEMAND_GEN_MULTI_ASSET_AD";
2353
+ DEMAND_GEN_CAROUSEL_AD: "DEMAND_GEN_CAROUSEL_AD";
2354
+ TRAVEL_AD: "TRAVEL_AD";
2355
+ DEMAND_GEN_VIDEO_RESPONSIVE_AD: "DEMAND_GEN_VIDEO_RESPONSIVE_AD";
2356
+ DEMAND_GEN_PRODUCT_AD: "DEMAND_GEN_PRODUCT_AD";
2357
+ YOUTUBE_AUDIO_AD: "YOUTUBE_AUDIO_AD";
2358
+ }>;
2359
+ status: z.ZodEnum<{
2360
+ UNSPECIFIED: "UNSPECIFIED";
2361
+ UNKNOWN: "UNKNOWN";
2362
+ ENABLED: "ENABLED";
2363
+ PAUSED: "PAUSED";
2364
+ REMOVED: "REMOVED";
2365
+ }>;
2366
+ ad_group: z.ZodNullable<z.ZodString>;
2367
+ }, z.core.$strip>;
2368
+ declare const zGoogleCreateDisplayAdBody: z.ZodObject<{
2369
+ ad_group: z.ZodString;
2370
+ final_urls: z.ZodArray<z.ZodURL>;
2371
+ marketing_images: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2372
+ asset: z.ZodString;
2373
+ }, z.core.$strip>>>>;
2374
+ square_marketing_images: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2375
+ asset: z.ZodString;
2376
+ }, z.core.$strip>>>>;
2377
+ logo_images: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2378
+ asset: z.ZodString;
2379
+ }, z.core.$strip>>>>;
2380
+ square_logo_images: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2381
+ asset: z.ZodString;
2382
+ }, z.core.$strip>>>>;
2383
+ headlines: z.ZodArray<z.ZodObject<{
2384
+ text: z.ZodString;
2385
+ }, z.core.$strip>>;
2386
+ long_headline: z.ZodObject<{
2387
+ text: z.ZodString;
2388
+ }, z.core.$strip>;
2389
+ descriptions: z.ZodArray<z.ZodObject<{
2390
+ text: z.ZodString;
2391
+ }, z.core.$strip>>;
2392
+ business_name: z.ZodOptional<z.ZodString>;
2393
+ call_to_action_text: z.ZodOptional<z.ZodString>;
2394
+ main_color: z.ZodOptional<z.ZodString>;
2395
+ accent_color: z.ZodOptional<z.ZodString>;
2396
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2397
+ ENABLED: "ENABLED";
2398
+ PAUSED: "PAUSED";
2399
+ }>>>;
2400
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2401
+ }, z.core.$strip>;
2402
+ declare const zGoogleCreateDisplayAdPath: z.ZodObject<{
2403
+ connection_id: z.ZodString;
2404
+ }, z.core.$strip>;
2405
+ /**
2406
+ * OK
2407
+ */
2408
+ declare const zGoogleCreateDisplayAdResponse: z.ZodObject<{
2409
+ id: z.ZodNullable<z.ZodString>;
2410
+ resource_name: z.ZodNullable<z.ZodString>;
2411
+ dry_run: z.ZodBoolean;
2412
+ executed: z.ZodBoolean;
2413
+ }, z.core.$strip>;
2414
+ declare const zGooglePauseAdBody: z.ZodObject<{
2415
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2416
+ }, z.core.$strip>;
2417
+ declare const zGooglePauseAdPath: z.ZodObject<{
2418
+ connection_id: z.ZodString;
2419
+ id: z.ZodString;
2420
+ }, z.core.$strip>;
2421
+ /**
2422
+ * The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
2423
+ */
2424
+ declare const zGooglePauseAdResponse: z.ZodObject<{
2425
+ id: z.ZodString;
2426
+ status: z.ZodEnum<{
2427
+ ENABLED: "ENABLED";
2428
+ PAUSED: "PAUSED";
2429
+ }>;
2430
+ dry_run: z.ZodBoolean;
2431
+ executed: z.ZodBoolean;
2432
+ }, z.core.$strip>;
2433
+ declare const zGoogleEnableAdBody: z.ZodObject<{
2434
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2435
+ }, z.core.$strip>;
2436
+ declare const zGoogleEnableAdPath: z.ZodObject<{
2437
+ connection_id: z.ZodString;
2438
+ id: z.ZodString;
2439
+ }, z.core.$strip>;
2440
+ /**
2441
+ * The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
2442
+ */
2443
+ declare const zGoogleEnableAdResponse: z.ZodObject<{
2444
+ id: z.ZodString;
2445
+ status: z.ZodEnum<{
2446
+ ENABLED: "ENABLED";
2447
+ PAUSED: "PAUSED";
2448
+ }>;
2449
+ dry_run: z.ZodBoolean;
2450
+ executed: z.ZodBoolean;
2451
+ }, z.core.$strip>;
2452
+ declare const zGoogleListKeywordsPath: z.ZodObject<{
2453
+ connection_id: z.ZodString;
2454
+ }, z.core.$strip>;
2455
+ /**
2456
+ * OK
2457
+ */
2458
+ declare const zGoogleListKeywordsResponse: z.ZodObject<{
2459
+ object: z.ZodLiteral<"list">;
2460
+ data: z.ZodArray<z.ZodObject<{
2461
+ id: z.ZodString;
2462
+ text: z.ZodNullable<z.ZodString>;
2463
+ match_type: z.ZodEnum<{
2464
+ UNSPECIFIED: "UNSPECIFIED";
2465
+ UNKNOWN: "UNKNOWN";
2466
+ EXACT: "EXACT";
2467
+ PHRASE: "PHRASE";
2468
+ BROAD: "BROAD";
2469
+ }>;
2470
+ status: z.ZodEnum<{
2471
+ UNSPECIFIED: "UNSPECIFIED";
2472
+ UNKNOWN: "UNKNOWN";
2473
+ ENABLED: "ENABLED";
2474
+ PAUSED: "PAUSED";
2475
+ REMOVED: "REMOVED";
2476
+ }>;
2477
+ negative: z.ZodBoolean;
2478
+ ad_group: z.ZodNullable<z.ZodString>;
2479
+ }, z.core.$strip>>;
2480
+ }, z.core.$strip>;
2481
+ declare const zGoogleCreateKeywordBody: z.ZodObject<{
2482
+ ad_group: z.ZodString;
2483
+ text: z.ZodString;
2484
+ match_type: z.ZodEnum<{
2485
+ EXACT: "EXACT";
2486
+ PHRASE: "PHRASE";
2487
+ BROAD: "BROAD";
2488
+ }>;
2489
+ negative: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2490
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2491
+ ENABLED: "ENABLED";
2492
+ PAUSED: "PAUSED";
2493
+ }>>>;
2494
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2495
+ }, z.core.$strip>;
2496
+ declare const zGoogleCreateKeywordPath: z.ZodObject<{
2497
+ connection_id: z.ZodString;
2498
+ }, z.core.$strip>;
2499
+ /**
2500
+ * OK
2501
+ */
2502
+ declare const zGoogleCreateKeywordResponse: z.ZodObject<{
2503
+ id: z.ZodNullable<z.ZodString>;
2504
+ resource_name: z.ZodNullable<z.ZodString>;
2505
+ dry_run: z.ZodBoolean;
2506
+ executed: z.ZodBoolean;
2507
+ }, z.core.$strip>;
2508
+ declare const zGoogleDeleteKeywordBody: z.ZodObject<{
2509
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2510
+ }, z.core.$strip>;
2511
+ declare const zGoogleDeleteKeywordPath: z.ZodObject<{
2512
+ connection_id: z.ZodString;
2513
+ id: z.ZodString;
2514
+ }, z.core.$strip>;
2515
+ /**
2516
+ * OK
2517
+ */
2518
+ declare const zGoogleDeleteKeywordResponse: z.ZodObject<{
2519
+ id: z.ZodString;
2520
+ removed: z.ZodBoolean;
2521
+ dry_run: z.ZodBoolean;
2522
+ executed: z.ZodBoolean;
2523
+ }, z.core.$strip>;
2524
+ declare const zGoogleGetKeywordPath: z.ZodObject<{
2525
+ connection_id: z.ZodString;
2526
+ id: z.ZodString;
2527
+ }, z.core.$strip>;
2528
+ /**
2529
+ * A Google Ads keyword (an `ad_group_criterion` of type KEYWORD): criterion id, text, match type, status, whether it is a negative keyword, and the owning ad group resource name.
2530
+ */
2531
+ declare const zGoogleGetKeywordResponse: z.ZodObject<{
2532
+ id: z.ZodString;
2533
+ text: z.ZodNullable<z.ZodString>;
2534
+ match_type: z.ZodEnum<{
2535
+ UNSPECIFIED: "UNSPECIFIED";
2536
+ UNKNOWN: "UNKNOWN";
2537
+ EXACT: "EXACT";
2538
+ PHRASE: "PHRASE";
2539
+ BROAD: "BROAD";
2540
+ }>;
2541
+ status: z.ZodEnum<{
2542
+ UNSPECIFIED: "UNSPECIFIED";
2543
+ UNKNOWN: "UNKNOWN";
2544
+ ENABLED: "ENABLED";
2545
+ PAUSED: "PAUSED";
2546
+ REMOVED: "REMOVED";
2547
+ }>;
2548
+ negative: z.ZodBoolean;
2549
+ ad_group: z.ZodNullable<z.ZodString>;
2550
+ }, z.core.$strip>;
2551
+ declare const zGoogleSetKeywordBidBody: z.ZodObject<{
2552
+ cpc_bid_micros: z.ZodInt;
2553
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2554
+ }, z.core.$strip>;
2555
+ declare const zGoogleSetKeywordBidPath: z.ZodObject<{
2556
+ connection_id: z.ZodString;
2557
+ id: z.ZodString;
2558
+ }, z.core.$strip>;
2559
+ /**
2560
+ * OK
2561
+ */
2562
+ declare const zGoogleSetKeywordBidResponse: z.ZodObject<{
2563
+ id: z.ZodString;
2564
+ resource_name: z.ZodString;
2565
+ dry_run: z.ZodBoolean;
2566
+ executed: z.ZodBoolean;
2567
+ }, z.core.$strip>;
2568
+ declare const zGooglePauseKeywordBody: z.ZodObject<{
2569
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2570
+ }, z.core.$strip>;
2571
+ declare const zGooglePauseKeywordPath: z.ZodObject<{
2572
+ connection_id: z.ZodString;
2573
+ id: z.ZodString;
2574
+ }, z.core.$strip>;
2575
+ /**
2576
+ * The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
2577
+ */
2578
+ declare const zGooglePauseKeywordResponse: z.ZodObject<{
2579
+ id: z.ZodString;
2580
+ status: z.ZodEnum<{
2581
+ ENABLED: "ENABLED";
2582
+ PAUSED: "PAUSED";
2583
+ }>;
2584
+ dry_run: z.ZodBoolean;
2585
+ executed: z.ZodBoolean;
2586
+ }, z.core.$strip>;
2587
+ declare const zGoogleEnableKeywordBody: z.ZodObject<{
2588
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2589
+ }, z.core.$strip>;
2590
+ declare const zGoogleEnableKeywordPath: z.ZodObject<{
2591
+ connection_id: z.ZodString;
2592
+ id: z.ZodString;
2593
+ }, z.core.$strip>;
2594
+ /**
2595
+ * The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
2596
+ */
2597
+ declare const zGoogleEnableKeywordResponse: z.ZodObject<{
2598
+ id: z.ZodString;
2599
+ status: z.ZodEnum<{
2600
+ ENABLED: "ENABLED";
2601
+ PAUSED: "PAUSED";
2602
+ }>;
2603
+ dry_run: z.ZodBoolean;
2604
+ executed: z.ZodBoolean;
2605
+ }, z.core.$strip>;
2606
+ declare const zGoogleListConversionActionsPath: z.ZodObject<{
2607
+ connection_id: z.ZodString;
2608
+ }, z.core.$strip>;
2609
+ /**
2610
+ * OK
2611
+ */
2612
+ declare const zGoogleListConversionActionsResponse: z.ZodObject<{
2613
+ object: z.ZodLiteral<"list">;
2614
+ data: z.ZodArray<z.ZodObject<{
2615
+ id: z.ZodString;
2616
+ name: z.ZodNullable<z.ZodString>;
2617
+ status: z.ZodEnum<{
2618
+ UNSPECIFIED: "UNSPECIFIED";
2619
+ UNKNOWN: "UNKNOWN";
2620
+ ENABLED: "ENABLED";
2621
+ REMOVED: "REMOVED";
2622
+ HIDDEN: "HIDDEN";
2623
+ }>;
2624
+ type: z.ZodEnum<{
2625
+ UNSPECIFIED: "UNSPECIFIED";
2626
+ UNKNOWN: "UNKNOWN";
2627
+ AD_CALL: "AD_CALL";
2628
+ CLICK_TO_CALL: "CLICK_TO_CALL";
2629
+ GOOGLE_PLAY_DOWNLOAD: "GOOGLE_PLAY_DOWNLOAD";
2630
+ GOOGLE_PLAY_IN_APP_PURCHASE: "GOOGLE_PLAY_IN_APP_PURCHASE";
2631
+ UPLOAD_CALLS: "UPLOAD_CALLS";
2632
+ UPLOAD_CLICKS: "UPLOAD_CLICKS";
2633
+ WEBPAGE: "WEBPAGE";
2634
+ WEBSITE_CALL: "WEBSITE_CALL";
2635
+ STORE_SALES_DIRECT_UPLOAD: "STORE_SALES_DIRECT_UPLOAD";
2636
+ STORE_SALES: "STORE_SALES";
2637
+ FIREBASE_ANDROID_FIRST_OPEN: "FIREBASE_ANDROID_FIRST_OPEN";
2638
+ FIREBASE_ANDROID_IN_APP_PURCHASE: "FIREBASE_ANDROID_IN_APP_PURCHASE";
2639
+ FIREBASE_ANDROID_CUSTOM: "FIREBASE_ANDROID_CUSTOM";
2640
+ FIREBASE_IOS_FIRST_OPEN: "FIREBASE_IOS_FIRST_OPEN";
2641
+ FIREBASE_IOS_IN_APP_PURCHASE: "FIREBASE_IOS_IN_APP_PURCHASE";
2642
+ FIREBASE_IOS_CUSTOM: "FIREBASE_IOS_CUSTOM";
2643
+ THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN: "THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN";
2644
+ THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE: "THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE";
2645
+ THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM: "THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM";
2646
+ THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN: "THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN";
2647
+ THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE: "THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE";
2648
+ THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM: "THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM";
2649
+ ANDROID_APP_PRE_REGISTRATION: "ANDROID_APP_PRE_REGISTRATION";
2650
+ ANDROID_INSTALLS_ALL_OTHER_APPS: "ANDROID_INSTALLS_ALL_OTHER_APPS";
2651
+ FLOODLIGHT_ACTION: "FLOODLIGHT_ACTION";
2652
+ FLOODLIGHT_TRANSACTION: "FLOODLIGHT_TRANSACTION";
2653
+ GOOGLE_HOSTED: "GOOGLE_HOSTED";
2654
+ LEAD_FORM_SUBMIT: "LEAD_FORM_SUBMIT";
2655
+ SALESFORCE: "SALESFORCE";
2656
+ SEARCH_ADS_360: "SEARCH_ADS_360";
2657
+ SMART_CAMPAIGN_AD_CLICKS_TO_CALL: "SMART_CAMPAIGN_AD_CLICKS_TO_CALL";
2658
+ SMART_CAMPAIGN_MAP_CLICKS_TO_CALL: "SMART_CAMPAIGN_MAP_CLICKS_TO_CALL";
2659
+ SMART_CAMPAIGN_MAP_DIRECTIONS: "SMART_CAMPAIGN_MAP_DIRECTIONS";
2660
+ SMART_CAMPAIGN_TRACKED_CALLS: "SMART_CAMPAIGN_TRACKED_CALLS";
2661
+ STORE_VISITS: "STORE_VISITS";
2662
+ WEBPAGE_CODELESS: "WEBPAGE_CODELESS";
2663
+ UNIVERSAL_ANALYTICS_GOAL: "UNIVERSAL_ANALYTICS_GOAL";
2664
+ UNIVERSAL_ANALYTICS_TRANSACTION: "UNIVERSAL_ANALYTICS_TRANSACTION";
2665
+ GOOGLE_ANALYTICS_4_CUSTOM: "GOOGLE_ANALYTICS_4_CUSTOM";
2666
+ GOOGLE_ANALYTICS_4_PURCHASE: "GOOGLE_ANALYTICS_4_PURCHASE";
2667
+ }>;
2668
+ category: z.ZodEnum<{
2669
+ UNSPECIFIED: "UNSPECIFIED";
2670
+ UNKNOWN: "UNKNOWN";
2671
+ DEFAULT: "DEFAULT";
2672
+ PAGE_VIEW: "PAGE_VIEW";
2673
+ PURCHASE: "PURCHASE";
2674
+ SIGNUP: "SIGNUP";
2675
+ DOWNLOAD: "DOWNLOAD";
2676
+ ADD_TO_CART: "ADD_TO_CART";
2677
+ BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
2678
+ SUBSCRIBE_PAID: "SUBSCRIBE_PAID";
2679
+ PHONE_CALL_LEAD: "PHONE_CALL_LEAD";
2680
+ IMPORTED_LEAD: "IMPORTED_LEAD";
2681
+ SUBMIT_LEAD_FORM: "SUBMIT_LEAD_FORM";
2682
+ BOOK_APPOINTMENT: "BOOK_APPOINTMENT";
2683
+ REQUEST_QUOTE: "REQUEST_QUOTE";
2684
+ GET_DIRECTIONS: "GET_DIRECTIONS";
2685
+ OUTBOUND_CLICK: "OUTBOUND_CLICK";
2686
+ CONTACT: "CONTACT";
2687
+ ENGAGEMENT: "ENGAGEMENT";
2688
+ STORE_VISIT: "STORE_VISIT";
2689
+ STORE_SALE: "STORE_SALE";
2690
+ QUALIFIED_LEAD: "QUALIFIED_LEAD";
2691
+ CONVERTED_LEAD: "CONVERTED_LEAD";
2692
+ }>;
2693
+ origin: z.ZodEnum<{
2694
+ UNSPECIFIED: "UNSPECIFIED";
2695
+ UNKNOWN: "UNKNOWN";
2696
+ GOOGLE_HOSTED: "GOOGLE_HOSTED";
2697
+ WEBSITE: "WEBSITE";
2698
+ APP: "APP";
2699
+ CALL_FROM_ADS: "CALL_FROM_ADS";
2700
+ STORE: "STORE";
2701
+ YOUTUBE_HOSTED: "YOUTUBE_HOSTED";
2702
+ }>;
2703
+ primary_for_goal: z.ZodBoolean;
2704
+ counting_type: z.ZodEnum<{
2705
+ UNSPECIFIED: "UNSPECIFIED";
2706
+ UNKNOWN: "UNKNOWN";
2707
+ ONE_PER_CLICK: "ONE_PER_CLICK";
2708
+ MANY_PER_CLICK: "MANY_PER_CLICK";
2709
+ }>;
2710
+ value_settings: z.ZodNullable<z.ZodObject<{
2711
+ default_value: z.ZodNullable<z.ZodNumber>;
2712
+ default_currency_code: z.ZodNullable<z.ZodString>;
2713
+ always_use_default_value: z.ZodNullable<z.ZodBoolean>;
2714
+ }, z.core.$strip>>;
2715
+ tag_snippets: z.ZodArray<z.ZodObject<{
2716
+ type: z.ZodEnum<{
2717
+ UNSPECIFIED: "UNSPECIFIED";
2718
+ UNKNOWN: "UNKNOWN";
2719
+ CLICK_TO_CALL: "CLICK_TO_CALL";
2720
+ WEBPAGE: "WEBPAGE";
2721
+ WEBSITE_CALL: "WEBSITE_CALL";
2722
+ WEBPAGE_ONCLICK: "WEBPAGE_ONCLICK";
2723
+ }>;
2724
+ page_format: z.ZodEnum<{
2725
+ UNSPECIFIED: "UNSPECIFIED";
2726
+ UNKNOWN: "UNKNOWN";
2727
+ HTML: "HTML";
2728
+ AMP: "AMP";
2729
+ }>;
2730
+ global_site_tag: z.ZodNullable<z.ZodString>;
2731
+ event_snippet: z.ZodNullable<z.ZodString>;
2732
+ }, z.core.$strip>>;
2733
+ }, z.core.$strip>>;
2734
+ }, z.core.$strip>;
2735
+ declare const zGoogleCreateConversionActionBody: z.ZodObject<{
2736
+ name: z.ZodString;
2737
+ type: z.ZodEnum<{
2738
+ UPLOAD_CLICKS: "UPLOAD_CLICKS";
2739
+ WEBPAGE: "WEBPAGE";
2740
+ }>;
2741
+ category: z.ZodEnum<{
2742
+ DEFAULT: "DEFAULT";
2743
+ PAGE_VIEW: "PAGE_VIEW";
2744
+ PURCHASE: "PURCHASE";
2745
+ SIGNUP: "SIGNUP";
2746
+ DOWNLOAD: "DOWNLOAD";
2747
+ ADD_TO_CART: "ADD_TO_CART";
2748
+ BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
2749
+ SUBSCRIBE_PAID: "SUBSCRIBE_PAID";
2750
+ PHONE_CALL_LEAD: "PHONE_CALL_LEAD";
2751
+ IMPORTED_LEAD: "IMPORTED_LEAD";
2752
+ SUBMIT_LEAD_FORM: "SUBMIT_LEAD_FORM";
2753
+ BOOK_APPOINTMENT: "BOOK_APPOINTMENT";
2754
+ REQUEST_QUOTE: "REQUEST_QUOTE";
2755
+ GET_DIRECTIONS: "GET_DIRECTIONS";
2756
+ OUTBOUND_CLICK: "OUTBOUND_CLICK";
2757
+ CONTACT: "CONTACT";
2758
+ ENGAGEMENT: "ENGAGEMENT";
2759
+ STORE_VISIT: "STORE_VISIT";
2760
+ STORE_SALE: "STORE_SALE";
2761
+ QUALIFIED_LEAD: "QUALIFIED_LEAD";
2762
+ CONVERTED_LEAD: "CONVERTED_LEAD";
2763
+ }>;
2764
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2765
+ ENABLED: "ENABLED";
2766
+ }>>>;
2767
+ value_settings: z.ZodOptional<z.ZodObject<{
2768
+ default_value: z.ZodOptional<z.ZodNumber>;
2769
+ default_currency_code: z.ZodOptional<z.ZodString>;
2770
+ always_use_default_value: z.ZodOptional<z.ZodBoolean>;
2771
+ }, z.core.$strip>>;
2772
+ counting_type: z.ZodOptional<z.ZodEnum<{
2773
+ ONE_PER_CLICK: "ONE_PER_CLICK";
2774
+ MANY_PER_CLICK: "MANY_PER_CLICK";
2775
+ }>>;
2776
+ click_through_lookback_window_days: z.ZodOptional<z.ZodInt>;
2777
+ view_through_lookback_window_days: z.ZodOptional<z.ZodInt>;
2778
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2779
+ }, z.core.$strip>;
2780
+ declare const zGoogleCreateConversionActionPath: z.ZodObject<{
2781
+ connection_id: z.ZodString;
2782
+ }, z.core.$strip>;
2783
+ /**
2784
+ * OK
2785
+ */
2786
+ declare const zGoogleCreateConversionActionResponse: z.ZodObject<{
2787
+ id: z.ZodNullable<z.ZodString>;
2788
+ resource_name: z.ZodNullable<z.ZodString>;
2789
+ dry_run: z.ZodBoolean;
2790
+ executed: z.ZodBoolean;
2791
+ }, z.core.$strip>;
2792
+ declare const zGoogleGetConversionActionPath: z.ZodObject<{
2793
+ connection_id: z.ZodString;
2794
+ id: z.ZodString;
2795
+ }, z.core.$strip>;
2796
+ /**
2797
+ * A Google Ads conversion action (the `conversion_action` resource): id, name, status, type, category, origin, whether it is a primary goal, counting type, value settings, and the website tag snippets (present only for a WEBPAGE action).
2798
+ */
2799
+ declare const zGoogleGetConversionActionResponse: z.ZodObject<{
2800
+ id: z.ZodString;
2801
+ name: z.ZodNullable<z.ZodString>;
2802
+ status: z.ZodEnum<{
2803
+ UNSPECIFIED: "UNSPECIFIED";
2804
+ UNKNOWN: "UNKNOWN";
2805
+ ENABLED: "ENABLED";
2806
+ REMOVED: "REMOVED";
2807
+ HIDDEN: "HIDDEN";
2808
+ }>;
2809
+ type: z.ZodEnum<{
2810
+ UNSPECIFIED: "UNSPECIFIED";
2811
+ UNKNOWN: "UNKNOWN";
2812
+ AD_CALL: "AD_CALL";
2813
+ CLICK_TO_CALL: "CLICK_TO_CALL";
2814
+ GOOGLE_PLAY_DOWNLOAD: "GOOGLE_PLAY_DOWNLOAD";
2815
+ GOOGLE_PLAY_IN_APP_PURCHASE: "GOOGLE_PLAY_IN_APP_PURCHASE";
2816
+ UPLOAD_CALLS: "UPLOAD_CALLS";
2817
+ UPLOAD_CLICKS: "UPLOAD_CLICKS";
2818
+ WEBPAGE: "WEBPAGE";
2819
+ WEBSITE_CALL: "WEBSITE_CALL";
2820
+ STORE_SALES_DIRECT_UPLOAD: "STORE_SALES_DIRECT_UPLOAD";
2821
+ STORE_SALES: "STORE_SALES";
2822
+ FIREBASE_ANDROID_FIRST_OPEN: "FIREBASE_ANDROID_FIRST_OPEN";
2823
+ FIREBASE_ANDROID_IN_APP_PURCHASE: "FIREBASE_ANDROID_IN_APP_PURCHASE";
2824
+ FIREBASE_ANDROID_CUSTOM: "FIREBASE_ANDROID_CUSTOM";
2825
+ FIREBASE_IOS_FIRST_OPEN: "FIREBASE_IOS_FIRST_OPEN";
2826
+ FIREBASE_IOS_IN_APP_PURCHASE: "FIREBASE_IOS_IN_APP_PURCHASE";
2827
+ FIREBASE_IOS_CUSTOM: "FIREBASE_IOS_CUSTOM";
2828
+ THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN: "THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN";
2829
+ THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE: "THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE";
2830
+ THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM: "THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM";
2831
+ THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN: "THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN";
2832
+ THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE: "THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE";
2833
+ THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM: "THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM";
2834
+ ANDROID_APP_PRE_REGISTRATION: "ANDROID_APP_PRE_REGISTRATION";
2835
+ ANDROID_INSTALLS_ALL_OTHER_APPS: "ANDROID_INSTALLS_ALL_OTHER_APPS";
2836
+ FLOODLIGHT_ACTION: "FLOODLIGHT_ACTION";
2837
+ FLOODLIGHT_TRANSACTION: "FLOODLIGHT_TRANSACTION";
2838
+ GOOGLE_HOSTED: "GOOGLE_HOSTED";
2839
+ LEAD_FORM_SUBMIT: "LEAD_FORM_SUBMIT";
2840
+ SALESFORCE: "SALESFORCE";
2841
+ SEARCH_ADS_360: "SEARCH_ADS_360";
2842
+ SMART_CAMPAIGN_AD_CLICKS_TO_CALL: "SMART_CAMPAIGN_AD_CLICKS_TO_CALL";
2843
+ SMART_CAMPAIGN_MAP_CLICKS_TO_CALL: "SMART_CAMPAIGN_MAP_CLICKS_TO_CALL";
2844
+ SMART_CAMPAIGN_MAP_DIRECTIONS: "SMART_CAMPAIGN_MAP_DIRECTIONS";
2845
+ SMART_CAMPAIGN_TRACKED_CALLS: "SMART_CAMPAIGN_TRACKED_CALLS";
2846
+ STORE_VISITS: "STORE_VISITS";
2847
+ WEBPAGE_CODELESS: "WEBPAGE_CODELESS";
2848
+ UNIVERSAL_ANALYTICS_GOAL: "UNIVERSAL_ANALYTICS_GOAL";
2849
+ UNIVERSAL_ANALYTICS_TRANSACTION: "UNIVERSAL_ANALYTICS_TRANSACTION";
2850
+ GOOGLE_ANALYTICS_4_CUSTOM: "GOOGLE_ANALYTICS_4_CUSTOM";
2851
+ GOOGLE_ANALYTICS_4_PURCHASE: "GOOGLE_ANALYTICS_4_PURCHASE";
2852
+ }>;
2853
+ category: z.ZodEnum<{
2854
+ UNSPECIFIED: "UNSPECIFIED";
2855
+ UNKNOWN: "UNKNOWN";
2856
+ DEFAULT: "DEFAULT";
2857
+ PAGE_VIEW: "PAGE_VIEW";
2858
+ PURCHASE: "PURCHASE";
2859
+ SIGNUP: "SIGNUP";
2860
+ DOWNLOAD: "DOWNLOAD";
2861
+ ADD_TO_CART: "ADD_TO_CART";
2862
+ BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
2863
+ SUBSCRIBE_PAID: "SUBSCRIBE_PAID";
2864
+ PHONE_CALL_LEAD: "PHONE_CALL_LEAD";
2865
+ IMPORTED_LEAD: "IMPORTED_LEAD";
2866
+ SUBMIT_LEAD_FORM: "SUBMIT_LEAD_FORM";
2867
+ BOOK_APPOINTMENT: "BOOK_APPOINTMENT";
2868
+ REQUEST_QUOTE: "REQUEST_QUOTE";
2869
+ GET_DIRECTIONS: "GET_DIRECTIONS";
2870
+ OUTBOUND_CLICK: "OUTBOUND_CLICK";
2871
+ CONTACT: "CONTACT";
2872
+ ENGAGEMENT: "ENGAGEMENT";
2873
+ STORE_VISIT: "STORE_VISIT";
2874
+ STORE_SALE: "STORE_SALE";
2875
+ QUALIFIED_LEAD: "QUALIFIED_LEAD";
2876
+ CONVERTED_LEAD: "CONVERTED_LEAD";
2877
+ }>;
2878
+ origin: z.ZodEnum<{
2879
+ UNSPECIFIED: "UNSPECIFIED";
2880
+ UNKNOWN: "UNKNOWN";
2881
+ GOOGLE_HOSTED: "GOOGLE_HOSTED";
2882
+ WEBSITE: "WEBSITE";
2883
+ APP: "APP";
2884
+ CALL_FROM_ADS: "CALL_FROM_ADS";
2885
+ STORE: "STORE";
2886
+ YOUTUBE_HOSTED: "YOUTUBE_HOSTED";
2887
+ }>;
2888
+ primary_for_goal: z.ZodBoolean;
2889
+ counting_type: z.ZodEnum<{
2890
+ UNSPECIFIED: "UNSPECIFIED";
2891
+ UNKNOWN: "UNKNOWN";
2892
+ ONE_PER_CLICK: "ONE_PER_CLICK";
2893
+ MANY_PER_CLICK: "MANY_PER_CLICK";
2894
+ }>;
2895
+ value_settings: z.ZodNullable<z.ZodObject<{
2896
+ default_value: z.ZodNullable<z.ZodNumber>;
2897
+ default_currency_code: z.ZodNullable<z.ZodString>;
2898
+ always_use_default_value: z.ZodNullable<z.ZodBoolean>;
2899
+ }, z.core.$strip>>;
2900
+ tag_snippets: z.ZodArray<z.ZodObject<{
2901
+ type: z.ZodEnum<{
2902
+ UNSPECIFIED: "UNSPECIFIED";
2903
+ UNKNOWN: "UNKNOWN";
2904
+ CLICK_TO_CALL: "CLICK_TO_CALL";
2905
+ WEBPAGE: "WEBPAGE";
2906
+ WEBSITE_CALL: "WEBSITE_CALL";
2907
+ WEBPAGE_ONCLICK: "WEBPAGE_ONCLICK";
2908
+ }>;
2909
+ page_format: z.ZodEnum<{
2910
+ UNSPECIFIED: "UNSPECIFIED";
2911
+ UNKNOWN: "UNKNOWN";
2912
+ HTML: "HTML";
2913
+ AMP: "AMP";
2914
+ }>;
2915
+ global_site_tag: z.ZodNullable<z.ZodString>;
2916
+ event_snippet: z.ZodNullable<z.ZodString>;
2917
+ }, z.core.$strip>>;
2918
+ }, z.core.$strip>;
2919
+ declare const zGoogleListConversionGoalsPath: z.ZodObject<{
2920
+ connection_id: z.ZodString;
2921
+ }, z.core.$strip>;
2922
+ /**
2923
+ * OK
2924
+ */
2925
+ declare const zGoogleListConversionGoalsResponse: z.ZodObject<{
2926
+ object: z.ZodLiteral<"list">;
2927
+ data: z.ZodArray<z.ZodObject<{
2928
+ category: z.ZodEnum<{
2929
+ UNSPECIFIED: "UNSPECIFIED";
2930
+ UNKNOWN: "UNKNOWN";
2931
+ DEFAULT: "DEFAULT";
2932
+ PAGE_VIEW: "PAGE_VIEW";
2933
+ PURCHASE: "PURCHASE";
2934
+ SIGNUP: "SIGNUP";
2935
+ DOWNLOAD: "DOWNLOAD";
2936
+ ADD_TO_CART: "ADD_TO_CART";
2937
+ BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
2938
+ SUBSCRIBE_PAID: "SUBSCRIBE_PAID";
2939
+ PHONE_CALL_LEAD: "PHONE_CALL_LEAD";
2940
+ IMPORTED_LEAD: "IMPORTED_LEAD";
2941
+ SUBMIT_LEAD_FORM: "SUBMIT_LEAD_FORM";
2942
+ BOOK_APPOINTMENT: "BOOK_APPOINTMENT";
2943
+ REQUEST_QUOTE: "REQUEST_QUOTE";
2944
+ GET_DIRECTIONS: "GET_DIRECTIONS";
2945
+ OUTBOUND_CLICK: "OUTBOUND_CLICK";
2946
+ CONTACT: "CONTACT";
2947
+ ENGAGEMENT: "ENGAGEMENT";
2948
+ STORE_VISIT: "STORE_VISIT";
2949
+ STORE_SALE: "STORE_SALE";
2950
+ QUALIFIED_LEAD: "QUALIFIED_LEAD";
2951
+ CONVERTED_LEAD: "CONVERTED_LEAD";
2952
+ }>;
2953
+ origin: z.ZodEnum<{
2954
+ UNSPECIFIED: "UNSPECIFIED";
2955
+ UNKNOWN: "UNKNOWN";
2956
+ GOOGLE_HOSTED: "GOOGLE_HOSTED";
2957
+ WEBSITE: "WEBSITE";
2958
+ APP: "APP";
2959
+ CALL_FROM_ADS: "CALL_FROM_ADS";
2960
+ STORE: "STORE";
2961
+ YOUTUBE_HOSTED: "YOUTUBE_HOSTED";
2962
+ }>;
2963
+ biddable: z.ZodBoolean;
2964
+ }, z.core.$strip>>;
2965
+ }, z.core.$strip>;
2966
+ declare const zGoogleSetConversionGoalBody: z.ZodObject<{
2967
+ category: z.ZodEnum<{
2968
+ DEFAULT: "DEFAULT";
2969
+ PAGE_VIEW: "PAGE_VIEW";
2970
+ PURCHASE: "PURCHASE";
2971
+ SIGNUP: "SIGNUP";
2972
+ DOWNLOAD: "DOWNLOAD";
2973
+ ADD_TO_CART: "ADD_TO_CART";
2974
+ BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
2975
+ SUBSCRIBE_PAID: "SUBSCRIBE_PAID";
2976
+ PHONE_CALL_LEAD: "PHONE_CALL_LEAD";
2977
+ IMPORTED_LEAD: "IMPORTED_LEAD";
2978
+ SUBMIT_LEAD_FORM: "SUBMIT_LEAD_FORM";
2979
+ BOOK_APPOINTMENT: "BOOK_APPOINTMENT";
2980
+ REQUEST_QUOTE: "REQUEST_QUOTE";
2981
+ GET_DIRECTIONS: "GET_DIRECTIONS";
2982
+ OUTBOUND_CLICK: "OUTBOUND_CLICK";
2983
+ CONTACT: "CONTACT";
2984
+ ENGAGEMENT: "ENGAGEMENT";
2985
+ STORE_VISIT: "STORE_VISIT";
2986
+ STORE_SALE: "STORE_SALE";
2987
+ QUALIFIED_LEAD: "QUALIFIED_LEAD";
2988
+ CONVERTED_LEAD: "CONVERTED_LEAD";
2989
+ }>;
2990
+ origin: z.ZodEnum<{
2991
+ GOOGLE_HOSTED: "GOOGLE_HOSTED";
2992
+ WEBSITE: "WEBSITE";
2993
+ APP: "APP";
2994
+ CALL_FROM_ADS: "CALL_FROM_ADS";
2995
+ STORE: "STORE";
2996
+ YOUTUBE_HOSTED: "YOUTUBE_HOSTED";
2997
+ }>;
2998
+ biddable: z.ZodBoolean;
2999
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3000
+ }, z.core.$strip>;
3001
+ declare const zGoogleSetConversionGoalPath: z.ZodObject<{
3002
+ connection_id: z.ZodString;
3003
+ }, z.core.$strip>;
3004
+ /**
3005
+ * The outcome of a conversion-goal update: the goal’s category and origin, the new biddable value, whether it was a dry run, and whether it executed.
3006
+ */
3007
+ declare const zGoogleSetConversionGoalResponse: z.ZodObject<{
3008
+ category: z.ZodEnum<{
3009
+ UNSPECIFIED: "UNSPECIFIED";
3010
+ UNKNOWN: "UNKNOWN";
3011
+ DEFAULT: "DEFAULT";
3012
+ PAGE_VIEW: "PAGE_VIEW";
3013
+ PURCHASE: "PURCHASE";
3014
+ SIGNUP: "SIGNUP";
3015
+ DOWNLOAD: "DOWNLOAD";
3016
+ ADD_TO_CART: "ADD_TO_CART";
3017
+ BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
3018
+ SUBSCRIBE_PAID: "SUBSCRIBE_PAID";
3019
+ PHONE_CALL_LEAD: "PHONE_CALL_LEAD";
3020
+ IMPORTED_LEAD: "IMPORTED_LEAD";
3021
+ SUBMIT_LEAD_FORM: "SUBMIT_LEAD_FORM";
3022
+ BOOK_APPOINTMENT: "BOOK_APPOINTMENT";
3023
+ REQUEST_QUOTE: "REQUEST_QUOTE";
3024
+ GET_DIRECTIONS: "GET_DIRECTIONS";
3025
+ OUTBOUND_CLICK: "OUTBOUND_CLICK";
3026
+ CONTACT: "CONTACT";
3027
+ ENGAGEMENT: "ENGAGEMENT";
3028
+ STORE_VISIT: "STORE_VISIT";
3029
+ STORE_SALE: "STORE_SALE";
3030
+ QUALIFIED_LEAD: "QUALIFIED_LEAD";
3031
+ CONVERTED_LEAD: "CONVERTED_LEAD";
3032
+ }>;
3033
+ origin: z.ZodEnum<{
3034
+ UNSPECIFIED: "UNSPECIFIED";
3035
+ UNKNOWN: "UNKNOWN";
3036
+ GOOGLE_HOSTED: "GOOGLE_HOSTED";
3037
+ WEBSITE: "WEBSITE";
3038
+ APP: "APP";
3039
+ CALL_FROM_ADS: "CALL_FROM_ADS";
3040
+ STORE: "STORE";
3041
+ YOUTUBE_HOSTED: "YOUTUBE_HOSTED";
3042
+ }>;
3043
+ biddable: z.ZodBoolean;
3044
+ dry_run: z.ZodBoolean;
3045
+ executed: z.ZodBoolean;
3046
+ }, z.core.$strip>;
3047
+ declare const zGoogleUploadConversionsBody: z.ZodObject<{
3048
+ conversions: z.ZodArray<z.ZodObject<{
3049
+ conversion_action: z.ZodString;
3050
+ conversion_date_time: z.ZodString;
3051
+ conversion_value: z.ZodOptional<z.ZodNumber>;
3052
+ currency_code: z.ZodOptional<z.ZodString>;
3053
+ order_id: z.ZodOptional<z.ZodString>;
3054
+ gclid: z.ZodOptional<z.ZodString>;
3055
+ gbraid: z.ZodOptional<z.ZodString>;
3056
+ wbraid: z.ZodOptional<z.ZodString>;
3057
+ user_identifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3058
+ hashed_email: z.ZodOptional<z.ZodString>;
3059
+ hashed_phone_number: z.ZodOptional<z.ZodString>;
3060
+ user_identifier_source: z.ZodOptional<z.ZodEnum<{
3061
+ FIRST_PARTY: "FIRST_PARTY";
3062
+ THIRD_PARTY: "THIRD_PARTY";
3063
+ }>>;
3064
+ }, z.core.$strip>>>;
3065
+ consent: z.ZodOptional<z.ZodObject<{
3066
+ ad_user_data: z.ZodOptional<z.ZodEnum<{
3067
+ GRANTED: "GRANTED";
3068
+ DENIED: "DENIED";
3069
+ }>>;
3070
+ ad_personalization: z.ZodOptional<z.ZodEnum<{
3071
+ GRANTED: "GRANTED";
3072
+ DENIED: "DENIED";
3073
+ }>>;
3074
+ }, z.core.$strip>>;
3075
+ }, z.core.$strip>>;
3076
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3077
+ }, z.core.$strip>;
3078
+ declare const zGoogleUploadConversionsPath: z.ZodObject<{
3079
+ connection_id: z.ZodString;
3080
+ }, z.core.$strip>;
3081
+ /**
3082
+ * The outcome of an offline conversion upload: received / succeeded / failed counts and the per-row errors Google returned.
3083
+ */
3084
+ declare const zGoogleUploadConversionsResponse: z.ZodObject<{
3085
+ received: z.ZodInt;
3086
+ succeeded: z.ZodInt;
3087
+ failed: z.ZodInt;
3088
+ errors: z.ZodArray<z.ZodObject<{
3089
+ index: z.ZodInt;
3090
+ error_code: z.ZodString;
3091
+ message: z.ZodString;
3092
+ }, z.core.$strip>>;
3093
+ dry_run: z.ZodBoolean;
3094
+ }, z.core.$strip>;
3095
+ declare const zGoogleUploadImageAssetBody: z.ZodObject<{
3096
+ media_id: z.ZodString;
3097
+ dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3098
+ }, z.core.$strip>;
3099
+ declare const zGoogleUploadImageAssetPath: z.ZodObject<{
3100
+ connection_id: z.ZodString;
3101
+ }, z.core.$strip>;
3102
+ /**
3103
+ * OK
3104
+ */
3105
+ declare const zGoogleUploadImageAssetResponse: z.ZodObject<{
3106
+ id: z.ZodNullable<z.ZodString>;
3107
+ resource_name: z.ZodNullable<z.ZodString>;
3108
+ dry_run: z.ZodBoolean;
3109
+ executed: z.ZodBoolean;
3110
+ }, z.core.$strip>;
3111
+ declare const zLogsListQuery: z.ZodObject<{
3112
+ limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
3113
+ offset: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
3114
+ profile_id: z.ZodOptional<z.ZodString>;
3115
+ connection_id: z.ZodOptional<z.ZodString>;
3116
+ platform: z.ZodOptional<z.ZodEnum<{
3117
+ meta_ads: "meta_ads";
3118
+ google_ads: "google_ads";
3119
+ tiktok_ads: "tiktok_ads";
3120
+ x: "x";
3121
+ linkedin: "linkedin";
3122
+ facebook_page: "facebook_page";
3123
+ instagram: "instagram";
3124
+ tiktok: "tiktok";
3125
+ }>>;
3126
+ status: z.ZodOptional<z.ZodEnum<{
3127
+ error: "error";
3128
+ success: "success";
3129
+ pending: "pending";
3130
+ }>>;
3131
+ source: z.ZodOptional<z.ZodEnum<{
3132
+ api: "api";
3133
+ dashboard: "dashboard";
3134
+ mcp: "mcp";
3135
+ scheduler: "scheduler";
3136
+ }>>;
3137
+ action: z.ZodOptional<z.ZodString>;
3138
+ created_after: z.ZodOptional<z.ZodISODateTime>;
3139
+ created_before: z.ZodOptional<z.ZodISODateTime>;
3140
+ }, z.core.$strip>;
3141
+ /**
3142
+ * OK
3143
+ */
3144
+ declare const zLogsListResponse: z.ZodObject<{
3145
+ object: z.ZodLiteral<"list">;
3146
+ data: z.ZodArray<z.ZodObject<{
3147
+ id: z.ZodString;
3148
+ source: z.ZodEnum<{
3149
+ api: "api";
3150
+ dashboard: "dashboard";
3151
+ mcp: "mcp";
3152
+ scheduler: "scheduler";
3153
+ }>;
3154
+ action: z.ZodString;
3155
+ status: z.ZodEnum<{
3156
+ error: "error";
3157
+ success: "success";
3158
+ pending: "pending";
3159
+ }>;
3160
+ status_code: z.ZodNullable<z.ZodInt>;
3161
+ platform: z.ZodNullable<z.ZodEnum<{
3162
+ meta_ads: "meta_ads";
3163
+ google_ads: "google_ads";
3164
+ tiktok_ads: "tiktok_ads";
3165
+ x: "x";
3166
+ linkedin: "linkedin";
3167
+ facebook_page: "facebook_page";
3168
+ instagram: "instagram";
3169
+ tiktok: "tiktok";
3170
+ }>>;
3171
+ request_method: z.ZodNullable<z.ZodString>;
3172
+ request_path: z.ZodNullable<z.ZodString>;
3173
+ request_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3174
+ response_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3175
+ error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3176
+ external_id: z.ZodNullable<z.ZodString>;
3177
+ idempotency_key: z.ZodNullable<z.ZodString>;
3178
+ request_id: z.ZodNullable<z.ZodString>;
3179
+ duration_ms: z.ZodNullable<z.ZodInt>;
3180
+ profile_id: z.ZodNullable<z.ZodString>;
3181
+ connection_id: z.ZodNullable<z.ZodString>;
3182
+ api_key_id: z.ZodNullable<z.ZodString>;
3183
+ created_at: z.ZodNullable<z.ZodString>;
3184
+ updated_at: z.ZodNullable<z.ZodString>;
3185
+ }, z.core.$strip>>;
3186
+ total: z.ZodInt;
3187
+ limit: z.ZodInt;
3188
+ offset: z.ZodInt;
3189
+ has_more: z.ZodBoolean;
3190
+ }, z.core.$strip>;
3191
+ declare const zLogsGetPath: z.ZodObject<{
3192
+ id: z.ZodString;
3193
+ }, z.core.$strip>;
3194
+ /**
3195
+ * OK
3196
+ */
3197
+ declare const zLogsGetResponse: z.ZodObject<{
3198
+ id: z.ZodString;
3199
+ source: z.ZodEnum<{
3200
+ api: "api";
3201
+ dashboard: "dashboard";
3202
+ mcp: "mcp";
3203
+ scheduler: "scheduler";
3204
+ }>;
3205
+ action: z.ZodString;
3206
+ status: z.ZodEnum<{
3207
+ error: "error";
3208
+ success: "success";
3209
+ pending: "pending";
3210
+ }>;
3211
+ status_code: z.ZodNullable<z.ZodInt>;
3212
+ platform: z.ZodNullable<z.ZodEnum<{
3213
+ meta_ads: "meta_ads";
3214
+ google_ads: "google_ads";
3215
+ tiktok_ads: "tiktok_ads";
3216
+ x: "x";
3217
+ linkedin: "linkedin";
3218
+ facebook_page: "facebook_page";
3219
+ instagram: "instagram";
3220
+ tiktok: "tiktok";
3221
+ }>>;
3222
+ request_method: z.ZodNullable<z.ZodString>;
3223
+ request_path: z.ZodNullable<z.ZodString>;
3224
+ request_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3225
+ response_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3226
+ error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3227
+ external_id: z.ZodNullable<z.ZodString>;
3228
+ idempotency_key: z.ZodNullable<z.ZodString>;
3229
+ request_id: z.ZodNullable<z.ZodString>;
3230
+ duration_ms: z.ZodNullable<z.ZodInt>;
3231
+ profile_id: z.ZodNullable<z.ZodString>;
3232
+ connection_id: z.ZodNullable<z.ZodString>;
3233
+ api_key_id: z.ZodNullable<z.ZodString>;
3234
+ created_at: z.ZodNullable<z.ZodString>;
3235
+ updated_at: z.ZodNullable<z.ZodString>;
3236
+ }, z.core.$strip>;
3237
+ declare const zWebhooksListEndpointsQuery: z.ZodObject<{
3238
+ limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
3239
+ offset: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
3240
+ }, z.core.$strip>;
3241
+ /**
3242
+ * OK
3243
+ */
3244
+ declare const zWebhooksListEndpointsResponse: z.ZodObject<{
3245
+ object: z.ZodLiteral<"list">;
3246
+ data: z.ZodArray<z.ZodObject<{
3247
+ id: z.ZodString;
3248
+ url: z.ZodString;
3249
+ description: z.ZodString;
3250
+ event_types: z.ZodArray<z.ZodString>;
3251
+ disabled: z.ZodBoolean;
3252
+ created_at: z.ZodString;
3253
+ updated_at: z.ZodString;
3254
+ }, z.core.$strip>>;
3255
+ total: z.ZodInt;
3256
+ limit: z.ZodInt;
3257
+ offset: z.ZodInt;
3258
+ has_more: z.ZodBoolean;
3259
+ }, z.core.$strip>;
3260
+ declare const zWebhooksCreateEndpointBody: z.ZodObject<{
3261
+ url: z.ZodURL;
3262
+ description: z.ZodOptional<z.ZodString>;
3263
+ event_types: z.ZodArray<z.ZodEnum<{
3264
+ "webhook.ping": "webhook.ping";
3265
+ "post.published": "post.published";
3266
+ "post.failed": "post.failed";
3267
+ "post.completed": "post.completed";
3268
+ }>>;
3269
+ }, z.core.$strip>;
3270
+ /**
3271
+ * OK
3272
+ */
3273
+ declare const zWebhooksCreateEndpointResponse: z.ZodObject<{
3274
+ id: z.ZodString;
3275
+ url: z.ZodString;
3276
+ description: z.ZodString;
3277
+ event_types: z.ZodArray<z.ZodString>;
3278
+ disabled: z.ZodBoolean;
3279
+ created_at: z.ZodString;
3280
+ updated_at: z.ZodString;
3281
+ }, z.core.$strip>;
3282
+ declare const zWebhooksDeleteEndpointPath: z.ZodObject<{
3283
+ id: z.ZodString;
3284
+ }, z.core.$strip>;
3285
+ /**
3286
+ * OK
3287
+ */
3288
+ declare const zWebhooksDeleteEndpointResponse: z.ZodObject<{
3289
+ id: z.ZodString;
3290
+ object: z.ZodLiteral<"webhook_endpoint">;
3291
+ deleted: z.ZodLiteral<true>;
3292
+ }, z.core.$strip>;
3293
+ declare const zWebhooksGetEndpointPath: z.ZodObject<{
3294
+ id: z.ZodString;
3295
+ }, z.core.$strip>;
3296
+ /**
3297
+ * OK
3298
+ */
3299
+ declare const zWebhooksGetEndpointResponse: z.ZodObject<{
3300
+ id: z.ZodString;
3301
+ url: z.ZodString;
3302
+ description: z.ZodString;
3303
+ event_types: z.ZodArray<z.ZodString>;
3304
+ disabled: z.ZodBoolean;
3305
+ created_at: z.ZodString;
3306
+ updated_at: z.ZodString;
3307
+ }, z.core.$strip>;
3308
+ declare const zWebhooksUpdateEndpointBody: z.ZodObject<{
3309
+ url: z.ZodOptional<z.ZodURL>;
3310
+ description: z.ZodOptional<z.ZodString>;
3311
+ disabled: z.ZodOptional<z.ZodBoolean>;
3312
+ event_types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3313
+ "webhook.ping": "webhook.ping";
3314
+ "post.published": "post.published";
3315
+ "post.failed": "post.failed";
3316
+ "post.completed": "post.completed";
3317
+ }>>>;
3318
+ }, z.core.$strip>;
3319
+ declare const zWebhooksUpdateEndpointPath: z.ZodObject<{
3320
+ id: z.ZodString;
3321
+ }, z.core.$strip>;
3322
+ /**
3323
+ * OK
3324
+ */
3325
+ declare const zWebhooksUpdateEndpointResponse: z.ZodObject<{
3326
+ id: z.ZodString;
3327
+ url: z.ZodString;
3328
+ description: z.ZodString;
3329
+ event_types: z.ZodArray<z.ZodString>;
3330
+ disabled: z.ZodBoolean;
3331
+ created_at: z.ZodString;
3332
+ updated_at: z.ZodString;
3333
+ }, z.core.$strip>;
3334
+ /**
3335
+ * OK
3336
+ */
3337
+ declare const zWebhooksCreatePortalResponse: z.ZodObject<{
3338
+ url: z.ZodString;
3339
+ }, z.core.$strip>;
3340
+ /**
3341
+ * OK
3342
+ */
3343
+ declare const zWebhooksListEventTypesResponse: z.ZodArray<z.ZodObject<{
3344
+ name: z.ZodString;
3345
+ group: z.ZodString;
3346
+ description: z.ZodString;
3347
+ }, z.core.$strip>>;
3348
+ declare const zWebhooksPingBody: z.ZodObject<{
3349
+ message: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3350
+ }, z.core.$strip>;
3351
+ /**
3352
+ * OK
3353
+ */
3354
+ declare const zWebhooksPingResponse: z.ZodObject<{
3355
+ id: z.ZodString;
3356
+ }, z.core.$strip>;
3357
+ /**
3358
+ * Mint a short-lived, profile-scoped frontend token. Called by your backend with a secret `pr_` key; the returned token is safe to hand to a browser.
3359
+ */
3360
+ declare const zTokensMintBody: z.ZodObject<{
3361
+ profile_scope: z.ZodUnion<readonly [z.ZodObject<{
3362
+ type: z.ZodLiteral<"ids">;
3363
+ values: z.ZodArray<z.ZodString>;
3364
+ }, z.core.$strip>, z.ZodObject<{
3365
+ type: z.ZodLiteral<"external_id">;
3366
+ values: z.ZodArray<z.ZodString>;
3367
+ }, z.core.$strip>, z.ZodObject<{
3368
+ type: z.ZodLiteral<"all">;
3369
+ }, z.core.$strip>]>;
3370
+ scopes: z.ZodArray<z.ZodEnum<{
3371
+ "profiles:read": "profiles:read";
3372
+ "profiles:write": "profiles:write";
3373
+ "connections:read": "connections:read";
3374
+ "connections:write": "connections:write";
3375
+ "ads:read": "ads:read";
3376
+ "ads:write": "ads:write";
3377
+ "posts:read": "posts:read";
3378
+ "posts:write": "posts:write";
3379
+ "media:read": "media:read";
3380
+ "media:write": "media:write";
3381
+ }>>;
3382
+ ttl_seconds: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
3383
+ }, z.core.$strip>;
3384
+ /**
3385
+ * OK
3386
+ */
3387
+ declare const zTokensMintResponse: z.ZodObject<{
3388
+ token: z.ZodString;
3389
+ expires_at: z.ZodString;
3390
+ }, z.core.$strip>;
3391
+
3392
+ export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };