@vcp-dev/contracts 0.10.5 → 0.10.7

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,697 @@
1
+ import { z } from "zod";
2
+ export declare const GA4_AUTHORIZATION_STATUSES: readonly ["authorized", "pending", "failed", "revoked", "expired", "not_authorized"];
3
+ export declare const Ga4AuthorizationStatusSchema: z.ZodEnum<{
4
+ failed: "failed";
5
+ pending: "pending";
6
+ expired: "expired";
7
+ authorized: "authorized";
8
+ revoked: "revoked";
9
+ not_authorized: "not_authorized";
10
+ }>;
11
+ export type Ga4AuthorizationStatus = z.infer<typeof Ga4AuthorizationStatusSchema>;
12
+ export declare const GA4_AUTH_ATTEMPT_STATUSES: readonly ["pending", "succeeded", "failed", "canceled", "expired", "superseded"];
13
+ export declare const Ga4AuthAttemptStatusSchema: z.ZodEnum<{
14
+ succeeded: "succeeded";
15
+ failed: "failed";
16
+ pending: "pending";
17
+ superseded: "superseded";
18
+ expired: "expired";
19
+ canceled: "canceled";
20
+ }>;
21
+ export type Ga4AuthAttemptStatus = z.infer<typeof Ga4AuthAttemptStatusSchema>;
22
+ export declare const GA4_BINDING_STATUSES: readonly ["unconfigured", "configured", "needs_reconfiguration", "unverified"];
23
+ export declare const Ga4BindingStatusSchema: z.ZodEnum<{
24
+ unconfigured: "unconfigured";
25
+ configured: "configured";
26
+ needs_reconfiguration: "needs_reconfiguration";
27
+ unverified: "unverified";
28
+ }>;
29
+ export type Ga4BindingStatus = z.infer<typeof Ga4BindingStatusSchema>;
30
+ export declare const GA4_VERIFICATION_STATUSES: readonly ["not_checked", "valid", "invalid", "unavailable"];
31
+ export declare const Ga4VerificationStatusSchema: z.ZodEnum<{
32
+ unavailable: "unavailable";
33
+ not_checked: "not_checked";
34
+ valid: "valid";
35
+ invalid: "invalid";
36
+ }>;
37
+ export type Ga4VerificationStatus = z.infer<typeof Ga4VerificationStatusSchema>;
38
+ export declare const GA4_BINDING_REASONS: readonly ["authorization_pending", "authorization_required", "authorization_changed", "resource_unavailable", "resource_changed", "verification_required", "verification_unavailable"];
39
+ export declare const Ga4BindingReasonSchema: z.ZodEnum<{
40
+ authorization_pending: "authorization_pending";
41
+ authorization_required: "authorization_required";
42
+ authorization_changed: "authorization_changed";
43
+ resource_unavailable: "resource_unavailable";
44
+ resource_changed: "resource_changed";
45
+ verification_required: "verification_required";
46
+ verification_unavailable: "verification_unavailable";
47
+ }>;
48
+ export type Ga4BindingReason = z.infer<typeof Ga4BindingReasonSchema>;
49
+ export declare const Ga4AuthAttemptSchema: z.ZodObject<{
50
+ revision: z.ZodNumber;
51
+ status: z.ZodEnum<{
52
+ succeeded: "succeeded";
53
+ failed: "failed";
54
+ pending: "pending";
55
+ superseded: "superseded";
56
+ expired: "expired";
57
+ canceled: "canceled";
58
+ }>;
59
+ started_at: z.ZodString;
60
+ expires_at: z.ZodString;
61
+ finished_at: z.ZodNullable<z.ZodString>;
62
+ error_code: z.ZodNullable<z.ZodString>;
63
+ }, z.core.$strict>;
64
+ export type Ga4AuthAttempt = z.infer<typeof Ga4AuthAttemptSchema>;
65
+ export declare const StartGa4AuthRequestSchema: z.ZodObject<{
66
+ expected_authorization_revision: z.ZodNumber;
67
+ expected_attempt_revision: z.ZodNumber;
68
+ select_account: z.ZodDefault<z.ZodBoolean>;
69
+ replace_pending: z.ZodDefault<z.ZodBoolean>;
70
+ }, z.core.$strict>;
71
+ export type StartGa4AuthRequest = z.infer<typeof StartGa4AuthRequestSchema>;
72
+ export declare const StartGa4AuthDataSchema: z.ZodObject<{
73
+ authorize_url: z.ZodString;
74
+ authorization_revision: z.ZodNumber;
75
+ attempt: z.ZodObject<{
76
+ revision: z.ZodNumber;
77
+ status: z.ZodEnum<{
78
+ succeeded: "succeeded";
79
+ failed: "failed";
80
+ pending: "pending";
81
+ superseded: "superseded";
82
+ expired: "expired";
83
+ canceled: "canceled";
84
+ }>;
85
+ started_at: z.ZodString;
86
+ expires_at: z.ZodString;
87
+ finished_at: z.ZodNullable<z.ZodString>;
88
+ error_code: z.ZodNullable<z.ZodString>;
89
+ }, z.core.$strict>;
90
+ }, z.core.$strict>;
91
+ export type StartGa4AuthData = z.infer<typeof StartGa4AuthDataSchema>;
92
+ export declare const StartGa4AuthResponseSchema: z.ZodObject<{
93
+ code: z.ZodNumber;
94
+ data: z.ZodObject<{
95
+ authorize_url: z.ZodString;
96
+ authorization_revision: z.ZodNumber;
97
+ attempt: z.ZodObject<{
98
+ revision: z.ZodNumber;
99
+ status: z.ZodEnum<{
100
+ succeeded: "succeeded";
101
+ failed: "failed";
102
+ pending: "pending";
103
+ superseded: "superseded";
104
+ expired: "expired";
105
+ canceled: "canceled";
106
+ }>;
107
+ started_at: z.ZodString;
108
+ expires_at: z.ZodString;
109
+ finished_at: z.ZodNullable<z.ZodString>;
110
+ error_code: z.ZodNullable<z.ZodString>;
111
+ }, z.core.$strict>;
112
+ }, z.core.$strict>;
113
+ message: z.ZodString;
114
+ }, z.core.$strip>;
115
+ export type StartGa4AuthResponse = z.infer<typeof StartGa4AuthResponseSchema>;
116
+ export declare const Ga4AuthorizationSchema: z.ZodObject<{
117
+ status: z.ZodEnum<{
118
+ failed: "failed";
119
+ pending: "pending";
120
+ expired: "expired";
121
+ authorized: "authorized";
122
+ revoked: "revoked";
123
+ not_authorized: "not_authorized";
124
+ }>;
125
+ authorization_revision: z.ZodNumber;
126
+ account_email: z.ZodNullable<z.ZodString>;
127
+ latest_attempt: z.ZodNullable<z.ZodObject<{
128
+ revision: z.ZodNumber;
129
+ status: z.ZodEnum<{
130
+ succeeded: "succeeded";
131
+ failed: "failed";
132
+ pending: "pending";
133
+ superseded: "superseded";
134
+ expired: "expired";
135
+ canceled: "canceled";
136
+ }>;
137
+ started_at: z.ZodString;
138
+ expires_at: z.ZodString;
139
+ finished_at: z.ZodNullable<z.ZodString>;
140
+ error_code: z.ZodNullable<z.ZodString>;
141
+ }, z.core.$strict>>;
142
+ }, z.core.$strict>;
143
+ export type Ga4Authorization = z.infer<typeof Ga4AuthorizationSchema>;
144
+ export declare const Ga4BindingSchema: z.ZodObject<{
145
+ account_ref: z.ZodString;
146
+ account_key: z.ZodString;
147
+ account_display_name: z.ZodString;
148
+ property_ref: z.ZodString;
149
+ property_key: z.ZodString;
150
+ property_display_name: z.ZodString;
151
+ data_stream_ref: z.ZodString;
152
+ data_stream_key: z.ZodString;
153
+ data_stream_display_name: z.ZodString;
154
+ measurement_id_display: z.ZodString;
155
+ default_uri: z.ZodNullable<z.ZodString>;
156
+ selected_authorization_revision: z.ZodNumber;
157
+ configured_at: z.ZodString;
158
+ updated_at: z.ZodString;
159
+ }, z.core.$strict>;
160
+ export type Ga4Binding = z.infer<typeof Ga4BindingSchema>;
161
+ export declare const Ga4VerificationSchema: z.ZodObject<{
162
+ status: z.ZodEnum<{
163
+ unavailable: "unavailable";
164
+ not_checked: "not_checked";
165
+ valid: "valid";
166
+ invalid: "invalid";
167
+ }>;
168
+ checked_at: z.ZodNullable<z.ZodString>;
169
+ expires_at: z.ZodNullable<z.ZodString>;
170
+ error_code: z.ZodNullable<z.ZodString>;
171
+ }, z.core.$strict>;
172
+ export type Ga4Verification = z.infer<typeof Ga4VerificationSchema>;
173
+ export declare const Ga4ModeSchema: z.ZodEnum<{
174
+ oauth: "oauth";
175
+ verification: "verification";
176
+ }>;
177
+ export type Ga4Mode = z.infer<typeof Ga4ModeSchema>;
178
+ export declare const Ga4TrackingSchema: z.ZodObject<{
179
+ measurement_id_display: z.ZodString;
180
+ stream_display_name: z.ZodNullable<z.ZodString>;
181
+ }, z.core.$strict>;
182
+ export type Ga4Tracking = z.infer<typeof Ga4TrackingSchema>;
183
+ export declare const Ga4DeploymentSchema: z.ZodObject<{
184
+ status: z.ZodEnum<{
185
+ pending: "pending";
186
+ applied: "applied";
187
+ }>;
188
+ applied_revision: z.ZodNumber;
189
+ }, z.core.$strict>;
190
+ export type Ga4Deployment = z.infer<typeof Ga4DeploymentSchema>;
191
+ export declare const Ga4StatusDataSchema: z.ZodObject<{
192
+ capability_enabled: z.ZodBoolean;
193
+ revision: z.ZodNumber;
194
+ authorization: z.ZodObject<{
195
+ status: z.ZodEnum<{
196
+ failed: "failed";
197
+ pending: "pending";
198
+ expired: "expired";
199
+ authorized: "authorized";
200
+ revoked: "revoked";
201
+ not_authorized: "not_authorized";
202
+ }>;
203
+ authorization_revision: z.ZodNumber;
204
+ account_email: z.ZodNullable<z.ZodString>;
205
+ latest_attempt: z.ZodNullable<z.ZodObject<{
206
+ revision: z.ZodNumber;
207
+ status: z.ZodEnum<{
208
+ succeeded: "succeeded";
209
+ failed: "failed";
210
+ pending: "pending";
211
+ superseded: "superseded";
212
+ expired: "expired";
213
+ canceled: "canceled";
214
+ }>;
215
+ started_at: z.ZodString;
216
+ expires_at: z.ZodString;
217
+ finished_at: z.ZodNullable<z.ZodString>;
218
+ error_code: z.ZodNullable<z.ZodString>;
219
+ }, z.core.$strict>>;
220
+ }, z.core.$strict>;
221
+ binding_status: z.ZodEnum<{
222
+ unconfigured: "unconfigured";
223
+ configured: "configured";
224
+ needs_reconfiguration: "needs_reconfiguration";
225
+ unverified: "unverified";
226
+ }>;
227
+ reason: z.ZodNullable<z.ZodEnum<{
228
+ authorization_pending: "authorization_pending";
229
+ authorization_required: "authorization_required";
230
+ authorization_changed: "authorization_changed";
231
+ resource_unavailable: "resource_unavailable";
232
+ resource_changed: "resource_changed";
233
+ verification_required: "verification_required";
234
+ verification_unavailable: "verification_unavailable";
235
+ }>>;
236
+ ready: z.ZodBoolean;
237
+ mode: z.ZodNullable<z.ZodEnum<{
238
+ oauth: "oauth";
239
+ verification: "verification";
240
+ }>>;
241
+ binding: z.ZodNullable<z.ZodObject<{
242
+ account_ref: z.ZodString;
243
+ account_key: z.ZodString;
244
+ account_display_name: z.ZodString;
245
+ property_ref: z.ZodString;
246
+ property_key: z.ZodString;
247
+ property_display_name: z.ZodString;
248
+ data_stream_ref: z.ZodString;
249
+ data_stream_key: z.ZodString;
250
+ data_stream_display_name: z.ZodString;
251
+ measurement_id_display: z.ZodString;
252
+ default_uri: z.ZodNullable<z.ZodString>;
253
+ selected_authorization_revision: z.ZodNumber;
254
+ configured_at: z.ZodString;
255
+ updated_at: z.ZodString;
256
+ }, z.core.$strict>>;
257
+ verification: z.ZodObject<{
258
+ status: z.ZodEnum<{
259
+ unavailable: "unavailable";
260
+ not_checked: "not_checked";
261
+ valid: "valid";
262
+ invalid: "invalid";
263
+ }>;
264
+ checked_at: z.ZodNullable<z.ZodString>;
265
+ expires_at: z.ZodNullable<z.ZodString>;
266
+ error_code: z.ZodNullable<z.ZodString>;
267
+ }, z.core.$strict>;
268
+ tracking: z.ZodNullable<z.ZodObject<{
269
+ measurement_id_display: z.ZodString;
270
+ stream_display_name: z.ZodNullable<z.ZodString>;
271
+ }, z.core.$strict>>;
272
+ deployment: z.ZodObject<{
273
+ status: z.ZodEnum<{
274
+ pending: "pending";
275
+ applied: "applied";
276
+ }>;
277
+ applied_revision: z.ZodNumber;
278
+ }, z.core.$strict>;
279
+ }, z.core.$strict>;
280
+ export type Ga4StatusData = z.infer<typeof Ga4StatusDataSchema>;
281
+ export declare const Ga4StatusResponseSchema: z.ZodObject<{
282
+ code: z.ZodNumber;
283
+ data: z.ZodObject<{
284
+ capability_enabled: z.ZodBoolean;
285
+ revision: z.ZodNumber;
286
+ authorization: z.ZodObject<{
287
+ status: z.ZodEnum<{
288
+ failed: "failed";
289
+ pending: "pending";
290
+ expired: "expired";
291
+ authorized: "authorized";
292
+ revoked: "revoked";
293
+ not_authorized: "not_authorized";
294
+ }>;
295
+ authorization_revision: z.ZodNumber;
296
+ account_email: z.ZodNullable<z.ZodString>;
297
+ latest_attempt: z.ZodNullable<z.ZodObject<{
298
+ revision: z.ZodNumber;
299
+ status: z.ZodEnum<{
300
+ succeeded: "succeeded";
301
+ failed: "failed";
302
+ pending: "pending";
303
+ superseded: "superseded";
304
+ expired: "expired";
305
+ canceled: "canceled";
306
+ }>;
307
+ started_at: z.ZodString;
308
+ expires_at: z.ZodString;
309
+ finished_at: z.ZodNullable<z.ZodString>;
310
+ error_code: z.ZodNullable<z.ZodString>;
311
+ }, z.core.$strict>>;
312
+ }, z.core.$strict>;
313
+ binding_status: z.ZodEnum<{
314
+ unconfigured: "unconfigured";
315
+ configured: "configured";
316
+ needs_reconfiguration: "needs_reconfiguration";
317
+ unverified: "unverified";
318
+ }>;
319
+ reason: z.ZodNullable<z.ZodEnum<{
320
+ authorization_pending: "authorization_pending";
321
+ authorization_required: "authorization_required";
322
+ authorization_changed: "authorization_changed";
323
+ resource_unavailable: "resource_unavailable";
324
+ resource_changed: "resource_changed";
325
+ verification_required: "verification_required";
326
+ verification_unavailable: "verification_unavailable";
327
+ }>>;
328
+ ready: z.ZodBoolean;
329
+ mode: z.ZodNullable<z.ZodEnum<{
330
+ oauth: "oauth";
331
+ verification: "verification";
332
+ }>>;
333
+ binding: z.ZodNullable<z.ZodObject<{
334
+ account_ref: z.ZodString;
335
+ account_key: z.ZodString;
336
+ account_display_name: z.ZodString;
337
+ property_ref: z.ZodString;
338
+ property_key: z.ZodString;
339
+ property_display_name: z.ZodString;
340
+ data_stream_ref: z.ZodString;
341
+ data_stream_key: z.ZodString;
342
+ data_stream_display_name: z.ZodString;
343
+ measurement_id_display: z.ZodString;
344
+ default_uri: z.ZodNullable<z.ZodString>;
345
+ selected_authorization_revision: z.ZodNumber;
346
+ configured_at: z.ZodString;
347
+ updated_at: z.ZodString;
348
+ }, z.core.$strict>>;
349
+ verification: z.ZodObject<{
350
+ status: z.ZodEnum<{
351
+ unavailable: "unavailable";
352
+ not_checked: "not_checked";
353
+ valid: "valid";
354
+ invalid: "invalid";
355
+ }>;
356
+ checked_at: z.ZodNullable<z.ZodString>;
357
+ expires_at: z.ZodNullable<z.ZodString>;
358
+ error_code: z.ZodNullable<z.ZodString>;
359
+ }, z.core.$strict>;
360
+ tracking: z.ZodNullable<z.ZodObject<{
361
+ measurement_id_display: z.ZodString;
362
+ stream_display_name: z.ZodNullable<z.ZodString>;
363
+ }, z.core.$strict>>;
364
+ deployment: z.ZodObject<{
365
+ status: z.ZodEnum<{
366
+ pending: "pending";
367
+ applied: "applied";
368
+ }>;
369
+ applied_revision: z.ZodNumber;
370
+ }, z.core.$strict>;
371
+ }, z.core.$strict>;
372
+ message: z.ZodString;
373
+ }, z.core.$strip>;
374
+ export type Ga4StatusResponse = z.infer<typeof Ga4StatusResponseSchema>;
375
+ export declare const Ga4StatusQuerySchema: z.ZodObject<{
376
+ refresh: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodEnum<{
377
+ true: "true";
378
+ false: "false";
379
+ }>, z.ZodTransform<boolean, "true" | "false">>]>>;
380
+ }, z.core.$strict>;
381
+ export type Ga4StatusQuery = z.infer<typeof Ga4StatusQuerySchema>;
382
+ export declare const Ga4PropertyOptionSchema: z.ZodObject<{
383
+ property_ref: z.ZodString;
384
+ property_key: z.ZodString;
385
+ display_name: z.ZodString;
386
+ }, z.core.$strict>;
387
+ export type Ga4PropertyOption = z.infer<typeof Ga4PropertyOptionSchema>;
388
+ export declare const Ga4AccountOptionSchema: z.ZodObject<{
389
+ account_ref: z.ZodString;
390
+ account_key: z.ZodString;
391
+ display_name: z.ZodString;
392
+ properties: z.ZodArray<z.ZodObject<{
393
+ property_ref: z.ZodString;
394
+ property_key: z.ZodString;
395
+ display_name: z.ZodString;
396
+ }, z.core.$strict>>;
397
+ }, z.core.$strict>;
398
+ export type Ga4AccountOption = z.infer<typeof Ga4AccountOptionSchema>;
399
+ export declare const Ga4SetupResourcesDataSchema: z.ZodObject<{
400
+ accounts: z.ZodArray<z.ZodObject<{
401
+ account_ref: z.ZodString;
402
+ account_key: z.ZodString;
403
+ display_name: z.ZodString;
404
+ properties: z.ZodArray<z.ZodObject<{
405
+ property_ref: z.ZodString;
406
+ property_key: z.ZodString;
407
+ display_name: z.ZodString;
408
+ }, z.core.$strict>>;
409
+ }, z.core.$strict>>;
410
+ returned_count: z.ZodNumber;
411
+ completeness: z.ZodLiteral<"unknown">;
412
+ authorization_revision: z.ZodNumber;
413
+ }, z.core.$strict>;
414
+ export type Ga4SetupResourcesData = z.infer<typeof Ga4SetupResourcesDataSchema>;
415
+ export declare const Ga4SetupResourcesResponseSchema: z.ZodObject<{
416
+ code: z.ZodNumber;
417
+ data: z.ZodObject<{
418
+ accounts: z.ZodArray<z.ZodObject<{
419
+ account_ref: z.ZodString;
420
+ account_key: z.ZodString;
421
+ display_name: z.ZodString;
422
+ properties: z.ZodArray<z.ZodObject<{
423
+ property_ref: z.ZodString;
424
+ property_key: z.ZodString;
425
+ display_name: z.ZodString;
426
+ }, z.core.$strict>>;
427
+ }, z.core.$strict>>;
428
+ returned_count: z.ZodNumber;
429
+ completeness: z.ZodLiteral<"unknown">;
430
+ authorization_revision: z.ZodNumber;
431
+ }, z.core.$strict>;
432
+ message: z.ZodString;
433
+ }, z.core.$strip>;
434
+ export type Ga4SetupResourcesResponse = z.infer<typeof Ga4SetupResourcesResponseSchema>;
435
+ export declare const Ga4SetupResourcesQuerySchema: z.ZodObject<{
436
+ authorization_revision: z.ZodCoercedNumber<unknown>;
437
+ }, z.core.$strict>;
438
+ export type Ga4SetupResourcesQuery = z.infer<typeof Ga4SetupResourcesQuerySchema>;
439
+ export declare const Ga4DataStreamOptionSchema: z.ZodObject<{
440
+ data_stream_ref: z.ZodString;
441
+ data_stream_key: z.ZodString;
442
+ display_name: z.ZodString;
443
+ measurement_id_display: z.ZodString;
444
+ default_uri: z.ZodNullable<z.ZodString>;
445
+ selectable: z.ZodBoolean;
446
+ unavailable_reason: z.ZodNullable<z.ZodString>;
447
+ }, z.core.$strict>;
448
+ export type Ga4DataStreamOption = z.infer<typeof Ga4DataStreamOptionSchema>;
449
+ export declare const Ga4DataStreamsDataSchema: z.ZodObject<{
450
+ property_ref: z.ZodString;
451
+ streams: z.ZodArray<z.ZodObject<{
452
+ data_stream_ref: z.ZodString;
453
+ data_stream_key: z.ZodString;
454
+ display_name: z.ZodString;
455
+ measurement_id_display: z.ZodString;
456
+ default_uri: z.ZodNullable<z.ZodString>;
457
+ selectable: z.ZodBoolean;
458
+ unavailable_reason: z.ZodNullable<z.ZodString>;
459
+ }, z.core.$strict>>;
460
+ returned_count: z.ZodNumber;
461
+ completeness: z.ZodLiteral<"unknown">;
462
+ authorization_revision: z.ZodNumber;
463
+ }, z.core.$strict>;
464
+ export type Ga4DataStreamsData = z.infer<typeof Ga4DataStreamsDataSchema>;
465
+ export declare const Ga4DataStreamsResponseSchema: z.ZodObject<{
466
+ code: z.ZodNumber;
467
+ data: z.ZodObject<{
468
+ property_ref: z.ZodString;
469
+ streams: z.ZodArray<z.ZodObject<{
470
+ data_stream_ref: z.ZodString;
471
+ data_stream_key: z.ZodString;
472
+ display_name: z.ZodString;
473
+ measurement_id_display: z.ZodString;
474
+ default_uri: z.ZodNullable<z.ZodString>;
475
+ selectable: z.ZodBoolean;
476
+ unavailable_reason: z.ZodNullable<z.ZodString>;
477
+ }, z.core.$strict>>;
478
+ returned_count: z.ZodNumber;
479
+ completeness: z.ZodLiteral<"unknown">;
480
+ authorization_revision: z.ZodNumber;
481
+ }, z.core.$strict>;
482
+ message: z.ZodString;
483
+ }, z.core.$strip>;
484
+ export type Ga4DataStreamsResponse = z.infer<typeof Ga4DataStreamsResponseSchema>;
485
+ export declare const Ga4DataStreamsQuerySchema: z.ZodObject<{
486
+ property_ref: z.ZodString;
487
+ authorization_revision: z.ZodCoercedNumber<unknown>;
488
+ }, z.core.$strict>;
489
+ export type Ga4DataStreamsQuery = z.infer<typeof Ga4DataStreamsQuerySchema>;
490
+ export declare const SaveGa4BindingRequestSchema: z.ZodObject<{
491
+ expected_revision: z.ZodNumber;
492
+ authorization_revision: z.ZodNumber;
493
+ account_ref: z.ZodString;
494
+ property_ref: z.ZodString;
495
+ data_stream_ref: z.ZodString;
496
+ confirm_url_mismatch: z.ZodBoolean;
497
+ }, z.core.$strict>;
498
+ export type SaveGa4BindingRequest = z.infer<typeof SaveGa4BindingRequestSchema>;
499
+ export declare const Ga4MutationSchema: z.ZodObject<{
500
+ applied_revision: z.ZodNumber;
501
+ idempotency_replayed: z.ZodBoolean;
502
+ }, z.core.$strict>;
503
+ export type Ga4Mutation = z.infer<typeof Ga4MutationSchema>;
504
+ export declare const SaveGa4BindingDataSchema: z.ZodIntersection<z.ZodObject<{
505
+ capability_enabled: z.ZodBoolean;
506
+ revision: z.ZodNumber;
507
+ authorization: z.ZodObject<{
508
+ status: z.ZodEnum<{
509
+ failed: "failed";
510
+ pending: "pending";
511
+ expired: "expired";
512
+ authorized: "authorized";
513
+ revoked: "revoked";
514
+ not_authorized: "not_authorized";
515
+ }>;
516
+ authorization_revision: z.ZodNumber;
517
+ account_email: z.ZodNullable<z.ZodString>;
518
+ latest_attempt: z.ZodNullable<z.ZodObject<{
519
+ revision: z.ZodNumber;
520
+ status: z.ZodEnum<{
521
+ succeeded: "succeeded";
522
+ failed: "failed";
523
+ pending: "pending";
524
+ superseded: "superseded";
525
+ expired: "expired";
526
+ canceled: "canceled";
527
+ }>;
528
+ started_at: z.ZodString;
529
+ expires_at: z.ZodString;
530
+ finished_at: z.ZodNullable<z.ZodString>;
531
+ error_code: z.ZodNullable<z.ZodString>;
532
+ }, z.core.$strict>>;
533
+ }, z.core.$strict>;
534
+ binding_status: z.ZodEnum<{
535
+ unconfigured: "unconfigured";
536
+ configured: "configured";
537
+ needs_reconfiguration: "needs_reconfiguration";
538
+ unverified: "unverified";
539
+ }>;
540
+ reason: z.ZodNullable<z.ZodEnum<{
541
+ authorization_pending: "authorization_pending";
542
+ authorization_required: "authorization_required";
543
+ authorization_changed: "authorization_changed";
544
+ resource_unavailable: "resource_unavailable";
545
+ resource_changed: "resource_changed";
546
+ verification_required: "verification_required";
547
+ verification_unavailable: "verification_unavailable";
548
+ }>>;
549
+ ready: z.ZodBoolean;
550
+ mode: z.ZodNullable<z.ZodEnum<{
551
+ oauth: "oauth";
552
+ verification: "verification";
553
+ }>>;
554
+ binding: z.ZodNullable<z.ZodObject<{
555
+ account_ref: z.ZodString;
556
+ account_key: z.ZodString;
557
+ account_display_name: z.ZodString;
558
+ property_ref: z.ZodString;
559
+ property_key: z.ZodString;
560
+ property_display_name: z.ZodString;
561
+ data_stream_ref: z.ZodString;
562
+ data_stream_key: z.ZodString;
563
+ data_stream_display_name: z.ZodString;
564
+ measurement_id_display: z.ZodString;
565
+ default_uri: z.ZodNullable<z.ZodString>;
566
+ selected_authorization_revision: z.ZodNumber;
567
+ configured_at: z.ZodString;
568
+ updated_at: z.ZodString;
569
+ }, z.core.$strict>>;
570
+ verification: z.ZodObject<{
571
+ status: z.ZodEnum<{
572
+ unavailable: "unavailable";
573
+ not_checked: "not_checked";
574
+ valid: "valid";
575
+ invalid: "invalid";
576
+ }>;
577
+ checked_at: z.ZodNullable<z.ZodString>;
578
+ expires_at: z.ZodNullable<z.ZodString>;
579
+ error_code: z.ZodNullable<z.ZodString>;
580
+ }, z.core.$strict>;
581
+ tracking: z.ZodNullable<z.ZodObject<{
582
+ measurement_id_display: z.ZodString;
583
+ stream_display_name: z.ZodNullable<z.ZodString>;
584
+ }, z.core.$strict>>;
585
+ deployment: z.ZodObject<{
586
+ status: z.ZodEnum<{
587
+ pending: "pending";
588
+ applied: "applied";
589
+ }>;
590
+ applied_revision: z.ZodNumber;
591
+ }, z.core.$strict>;
592
+ }, z.core.$strict>, z.ZodObject<{
593
+ mutation: z.ZodObject<{
594
+ applied_revision: z.ZodNumber;
595
+ idempotency_replayed: z.ZodBoolean;
596
+ }, z.core.$strict>;
597
+ }, z.core.$strict>>;
598
+ export type SaveGa4BindingData = z.infer<typeof SaveGa4BindingDataSchema>;
599
+ export declare const SaveGa4BindingResponseSchema: z.ZodObject<{
600
+ code: z.ZodNumber;
601
+ data: z.ZodIntersection<z.ZodObject<{
602
+ capability_enabled: z.ZodBoolean;
603
+ revision: z.ZodNumber;
604
+ authorization: z.ZodObject<{
605
+ status: z.ZodEnum<{
606
+ failed: "failed";
607
+ pending: "pending";
608
+ expired: "expired";
609
+ authorized: "authorized";
610
+ revoked: "revoked";
611
+ not_authorized: "not_authorized";
612
+ }>;
613
+ authorization_revision: z.ZodNumber;
614
+ account_email: z.ZodNullable<z.ZodString>;
615
+ latest_attempt: z.ZodNullable<z.ZodObject<{
616
+ revision: z.ZodNumber;
617
+ status: z.ZodEnum<{
618
+ succeeded: "succeeded";
619
+ failed: "failed";
620
+ pending: "pending";
621
+ superseded: "superseded";
622
+ expired: "expired";
623
+ canceled: "canceled";
624
+ }>;
625
+ started_at: z.ZodString;
626
+ expires_at: z.ZodString;
627
+ finished_at: z.ZodNullable<z.ZodString>;
628
+ error_code: z.ZodNullable<z.ZodString>;
629
+ }, z.core.$strict>>;
630
+ }, z.core.$strict>;
631
+ binding_status: z.ZodEnum<{
632
+ unconfigured: "unconfigured";
633
+ configured: "configured";
634
+ needs_reconfiguration: "needs_reconfiguration";
635
+ unverified: "unverified";
636
+ }>;
637
+ reason: z.ZodNullable<z.ZodEnum<{
638
+ authorization_pending: "authorization_pending";
639
+ authorization_required: "authorization_required";
640
+ authorization_changed: "authorization_changed";
641
+ resource_unavailable: "resource_unavailable";
642
+ resource_changed: "resource_changed";
643
+ verification_required: "verification_required";
644
+ verification_unavailable: "verification_unavailable";
645
+ }>>;
646
+ ready: z.ZodBoolean;
647
+ mode: z.ZodNullable<z.ZodEnum<{
648
+ oauth: "oauth";
649
+ verification: "verification";
650
+ }>>;
651
+ binding: z.ZodNullable<z.ZodObject<{
652
+ account_ref: z.ZodString;
653
+ account_key: z.ZodString;
654
+ account_display_name: z.ZodString;
655
+ property_ref: z.ZodString;
656
+ property_key: z.ZodString;
657
+ property_display_name: z.ZodString;
658
+ data_stream_ref: z.ZodString;
659
+ data_stream_key: z.ZodString;
660
+ data_stream_display_name: z.ZodString;
661
+ measurement_id_display: z.ZodString;
662
+ default_uri: z.ZodNullable<z.ZodString>;
663
+ selected_authorization_revision: z.ZodNumber;
664
+ configured_at: z.ZodString;
665
+ updated_at: z.ZodString;
666
+ }, z.core.$strict>>;
667
+ verification: z.ZodObject<{
668
+ status: z.ZodEnum<{
669
+ unavailable: "unavailable";
670
+ not_checked: "not_checked";
671
+ valid: "valid";
672
+ invalid: "invalid";
673
+ }>;
674
+ checked_at: z.ZodNullable<z.ZodString>;
675
+ expires_at: z.ZodNullable<z.ZodString>;
676
+ error_code: z.ZodNullable<z.ZodString>;
677
+ }, z.core.$strict>;
678
+ tracking: z.ZodNullable<z.ZodObject<{
679
+ measurement_id_display: z.ZodString;
680
+ stream_display_name: z.ZodNullable<z.ZodString>;
681
+ }, z.core.$strict>>;
682
+ deployment: z.ZodObject<{
683
+ status: z.ZodEnum<{
684
+ pending: "pending";
685
+ applied: "applied";
686
+ }>;
687
+ applied_revision: z.ZodNumber;
688
+ }, z.core.$strict>;
689
+ }, z.core.$strict>, z.ZodObject<{
690
+ mutation: z.ZodObject<{
691
+ applied_revision: z.ZodNumber;
692
+ idempotency_replayed: z.ZodBoolean;
693
+ }, z.core.$strict>;
694
+ }, z.core.$strict>>;
695
+ message: z.ZodString;
696
+ }, z.core.$strip>;
697
+ export type SaveGa4BindingResponse = z.infer<typeof SaveGa4BindingResponseSchema>;