@sonordev/contracts 2.20.0 → 2.21.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.
@@ -186,6 +186,36 @@ declare const budget: Field<{
186
186
  maxChangeBasisPoints: number;
187
187
  cooldownSeconds: number;
188
188
  } & {}>;
189
+ declare const reportedOptimizationPolicy: Field<{
190
+ schemaVersion: 1;
191
+ sourceRef: ({
192
+ projectId: string;
193
+ site: string;
194
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
195
+ id: string;
196
+ revision: string;
197
+ digest: string;
198
+ } & {}) | null;
199
+ decisionKind: "observational_allocation";
200
+ eligibleGoal: "qualified_lead";
201
+ minimumMatureExposures: number;
202
+ minimumMatureOutcomes: number;
203
+ minimumCoverageBasisPoints: number;
204
+ maxEvidenceAgeSeconds: number;
205
+ maturityDelaySeconds: number;
206
+ cooldownSeconds: number;
207
+ donorTransferBasisPoints: number;
208
+ maxUncertaintyBasisPoints: number;
209
+ uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
210
+ attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
211
+ requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
212
+ algorithm: "reported_cpql_conserved_transfer_v1";
213
+ costBasis: "provider_reported_snapshot_v1";
214
+ costRevisionRisk: "accepted_provisional";
215
+ readClockKind: "sql_before_provider_read_lower_bound_v1";
216
+ } & {}>;
217
+ export type ResonanceReportedCostPolicy = Value<typeof reportedOptimizationPolicy>;
218
+ export type ResonanceSqlClockReportedCostPolicy = ResonanceReportedCostPolicy;
189
219
  declare const finiteMetaCandidatePolicy: Field<{
190
220
  schemaVersion: 1;
191
221
  algorithm: "finite_meta_candidates_v1";
@@ -267,6 +297,33 @@ declare const optimizationPolicy: Field<({
267
297
  uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
268
298
  attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
269
299
  requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
300
+ } & {}) | ({
301
+ schemaVersion: 1;
302
+ sourceRef: ({
303
+ projectId: string;
304
+ site: string;
305
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
306
+ id: string;
307
+ revision: string;
308
+ digest: string;
309
+ } & {}) | null;
310
+ decisionKind: "observational_allocation";
311
+ eligibleGoal: "qualified_lead";
312
+ minimumMatureExposures: number;
313
+ minimumMatureOutcomes: number;
314
+ minimumCoverageBasisPoints: number;
315
+ maxEvidenceAgeSeconds: number;
316
+ maturityDelaySeconds: number;
317
+ cooldownSeconds: number;
318
+ donorTransferBasisPoints: number;
319
+ maxUncertaintyBasisPoints: number;
320
+ uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
321
+ attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
322
+ requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
323
+ algorithm: "reported_cpql_conserved_transfer_v1";
324
+ costBasis: "provider_reported_snapshot_v1";
325
+ costRevisionRisk: "accepted_provisional";
326
+ readClockKind: "sql_before_provider_read_lower_bound_v1";
270
327
  } & {}) | ({
271
328
  schemaVersion: 1;
272
329
  algorithm: "finite_meta_candidates_v1";
@@ -756,6 +813,33 @@ declare const definition: Field<{
756
813
  uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
757
814
  attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
758
815
  requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
816
+ } & {}) | ({
817
+ schemaVersion: 1;
818
+ sourceRef: ({
819
+ projectId: string;
820
+ site: string;
821
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
822
+ id: string;
823
+ revision: string;
824
+ digest: string;
825
+ } & {}) | null;
826
+ decisionKind: "observational_allocation";
827
+ eligibleGoal: "qualified_lead";
828
+ minimumMatureExposures: number;
829
+ minimumMatureOutcomes: number;
830
+ minimumCoverageBasisPoints: number;
831
+ maxEvidenceAgeSeconds: number;
832
+ maturityDelaySeconds: number;
833
+ cooldownSeconds: number;
834
+ donorTransferBasisPoints: number;
835
+ maxUncertaintyBasisPoints: number;
836
+ uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
837
+ attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
838
+ requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
839
+ algorithm: "reported_cpql_conserved_transfer_v1";
840
+ costBasis: "provider_reported_snapshot_v1";
841
+ costRevisionRisk: "accepted_provisional";
842
+ readClockKind: "sql_before_provider_read_lower_bound_v1";
759
843
  } & {}) | ({
760
844
  schemaVersion: 1;
761
845
  algorithm: "finite_meta_candidates_v1";
@@ -1115,6 +1199,33 @@ declare const draft: Field<{
1115
1199
  uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
1116
1200
  attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
1117
1201
  requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
1202
+ } & {}) | ({
1203
+ schemaVersion: 1;
1204
+ sourceRef: ({
1205
+ projectId: string;
1206
+ site: string;
1207
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
1208
+ id: string;
1209
+ revision: string;
1210
+ digest: string;
1211
+ } & {}) | null;
1212
+ decisionKind: "observational_allocation";
1213
+ eligibleGoal: "qualified_lead";
1214
+ minimumMatureExposures: number;
1215
+ minimumMatureOutcomes: number;
1216
+ minimumCoverageBasisPoints: number;
1217
+ maxEvidenceAgeSeconds: number;
1218
+ maturityDelaySeconds: number;
1219
+ cooldownSeconds: number;
1220
+ donorTransferBasisPoints: number;
1221
+ maxUncertaintyBasisPoints: number;
1222
+ uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
1223
+ attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
1224
+ requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
1225
+ algorithm: "reported_cpql_conserved_transfer_v1";
1226
+ costBasis: "provider_reported_snapshot_v1";
1227
+ costRevisionRisk: "accepted_provisional";
1228
+ readClockKind: "sql_before_provider_read_lower_bound_v1";
1118
1229
  } & {}) | ({
1119
1230
  schemaVersion: 1;
1120
1231
  algorithm: "finite_meta_candidates_v1";
@@ -1261,6 +1372,24 @@ declare const websiteVisitFeed: Field<{
1261
1372
  } & {}>;
1262
1373
  export type ResonanceWebsiteVisitFeed = Value<typeof websiteVisitFeed>;
1263
1374
  export declare const RESONANCE_WEBSITE_VISIT_FEED_JSON_SCHEMA: import("./wire-schema").JsonSchema;
1375
+ declare const providerReportingSelection: Field<{
1376
+ agentContactId: string;
1377
+ channelIds: string[];
1378
+ } & {}>;
1379
+ declare const providerReportingGrant: Field<{
1380
+ purpose: "provider_reporting_refresh";
1381
+ orgId: string;
1382
+ projectId: string;
1383
+ agentContactId: string;
1384
+ principalContactId: string;
1385
+ channelIds: string[];
1386
+ } & {}>;
1387
+ export type ResonanceProviderReportingSelection = Value<typeof providerReportingSelection>;
1388
+ export type ResonanceProviderReportingGrant = Value<typeof providerReportingGrant>;
1389
+ export declare const parseResonanceProviderReportingSelection: (v: unknown) => ResonanceProviderReportingSelection;
1390
+ export declare const parseResonanceProviderReportingGrant: (v: unknown) => ResonanceProviderReportingGrant;
1391
+ export declare const RESONANCE_PROVIDER_REPORTING_SELECTION_JSON_SCHEMA: import("./wire-schema").JsonSchema;
1392
+ export declare const RESONANCE_PROVIDER_REPORTING_GRANT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
1264
1393
  declare const mandateScope: Field<{
1265
1394
  projectId: string;
1266
1395
  campaignId: string;
@@ -1386,9 +1515,17 @@ declare const mandateScope: Field<{
1386
1515
  } & {};
1387
1516
  } & {})[];
1388
1517
  } & {}) | undefined;
1518
+ providerReporting?: ({
1519
+ purpose: "provider_reporting_refresh";
1520
+ orgId: string;
1521
+ projectId: string;
1522
+ agentContactId: string;
1523
+ principalContactId: string;
1524
+ channelIds: string[];
1525
+ } & {}) | undefined;
1389
1526
  }>;
1390
1527
  export type ResonanceMandateScope = Value<typeof mandateScope>;
1391
- export declare function parseResonanceMandateScope(v: unknown): ResonanceMandateScope;
1528
+ export declare function parseResonanceMandateScope(v: unknown, preparedPlan?: unknown): ResonanceMandateScope;
1392
1529
  declare const websiteVisitTimes: Field<{
1393
1530
  occurredAt: string;
1394
1531
  receivedAt: string;
@@ -2343,6 +2480,33 @@ declare const prepared: Field<{
2343
2480
  uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
2344
2481
  attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
2345
2482
  requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
2483
+ } & {}) | ({
2484
+ schemaVersion: 1;
2485
+ sourceRef: ({
2486
+ projectId: string;
2487
+ site: string;
2488
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
2489
+ id: string;
2490
+ revision: string;
2491
+ digest: string;
2492
+ } & {}) | null;
2493
+ decisionKind: "observational_allocation";
2494
+ eligibleGoal: "qualified_lead";
2495
+ minimumMatureExposures: number;
2496
+ minimumMatureOutcomes: number;
2497
+ minimumCoverageBasisPoints: number;
2498
+ maxEvidenceAgeSeconds: number;
2499
+ maturityDelaySeconds: number;
2500
+ cooldownSeconds: number;
2501
+ donorTransferBasisPoints: number;
2502
+ maxUncertaintyBasisPoints: number;
2503
+ uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
2504
+ attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
2505
+ requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
2506
+ algorithm: "reported_cpql_conserved_transfer_v1";
2507
+ costBasis: "provider_reported_snapshot_v1";
2508
+ costRevisionRisk: "accepted_provisional";
2509
+ readClockKind: "sql_before_provider_read_lower_bound_v1";
2346
2510
  } & {}) | ({
2347
2511
  schemaVersion: 1;
2348
2512
  algorithm: "finite_meta_candidates_v1";
@@ -2435,6 +2599,33 @@ declare const prepared: Field<{
2435
2599
  uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
2436
2600
  attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
2437
2601
  requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
2602
+ } & {}) | ({
2603
+ schemaVersion: 1;
2604
+ sourceRef: ({
2605
+ projectId: string;
2606
+ site: string;
2607
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
2608
+ id: string;
2609
+ revision: string;
2610
+ digest: string;
2611
+ } & {}) | null;
2612
+ decisionKind: "observational_allocation";
2613
+ eligibleGoal: "qualified_lead";
2614
+ minimumMatureExposures: number;
2615
+ minimumMatureOutcomes: number;
2616
+ minimumCoverageBasisPoints: number;
2617
+ maxEvidenceAgeSeconds: number;
2618
+ maturityDelaySeconds: number;
2619
+ cooldownSeconds: number;
2620
+ donorTransferBasisPoints: number;
2621
+ maxUncertaintyBasisPoints: number;
2622
+ uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
2623
+ attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
2624
+ requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
2625
+ algorithm: "reported_cpql_conserved_transfer_v1";
2626
+ costBasis: "provider_reported_snapshot_v1";
2627
+ costRevisionRisk: "accepted_provisional";
2628
+ readClockKind: "sql_before_provider_read_lower_bound_v1";
2438
2629
  } & {}) | ({
2439
2630
  schemaVersion: 1;
2440
2631
  algorithm: "finite_meta_candidates_v1";
@@ -3142,6 +3333,33 @@ declare const view: Field<{
3142
3333
  uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
3143
3334
  attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
3144
3335
  requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
3336
+ } & {}) | ({
3337
+ schemaVersion: 1;
3338
+ sourceRef: ({
3339
+ projectId: string;
3340
+ site: string;
3341
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
3342
+ id: string;
3343
+ revision: string;
3344
+ digest: string;
3345
+ } & {}) | null;
3346
+ decisionKind: "observational_allocation";
3347
+ eligibleGoal: "qualified_lead";
3348
+ minimumMatureExposures: number;
3349
+ minimumMatureOutcomes: number;
3350
+ minimumCoverageBasisPoints: number;
3351
+ maxEvidenceAgeSeconds: number;
3352
+ maturityDelaySeconds: number;
3353
+ cooldownSeconds: number;
3354
+ donorTransferBasisPoints: number;
3355
+ maxUncertaintyBasisPoints: number;
3356
+ uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
3357
+ attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
3358
+ requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
3359
+ algorithm: "reported_cpql_conserved_transfer_v1";
3360
+ costBasis: "provider_reported_snapshot_v1";
3361
+ costRevisionRisk: "accepted_provisional";
3362
+ readClockKind: "sql_before_provider_read_lower_bound_v1";
3145
3363
  } & {}) | ({
3146
3364
  schemaVersion: 1;
3147
3365
  algorithm: "finite_meta_candidates_v1";
@@ -3563,6 +3781,14 @@ declare const mandateApproval: Field<{
3563
3781
  } & {};
3564
3782
  } & {})[];
3565
3783
  } & {}) | undefined;
3784
+ providerReporting?: ({
3785
+ purpose: "provider_reporting_refresh";
3786
+ orgId: string;
3787
+ projectId: string;
3788
+ agentContactId: string;
3789
+ principalContactId: string;
3790
+ channelIds: string[];
3791
+ } & {}) | undefined;
3566
3792
  };
3567
3793
  } & {}>;
3568
3794
  export type ResonanceMandateApprovalPayload = Value<typeof mandateApproval>;
@@ -3986,6 +4212,33 @@ declare const saveCommand: Field<{
3986
4212
  uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
3987
4213
  attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
3988
4214
  requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
4215
+ } & {}) | ({
4216
+ schemaVersion: 1;
4217
+ sourceRef: ({
4218
+ projectId: string;
4219
+ site: string;
4220
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
4221
+ id: string;
4222
+ revision: string;
4223
+ digest: string;
4224
+ } & {}) | null;
4225
+ decisionKind: "observational_allocation";
4226
+ eligibleGoal: "qualified_lead";
4227
+ minimumMatureExposures: number;
4228
+ minimumMatureOutcomes: number;
4229
+ minimumCoverageBasisPoints: number;
4230
+ maxEvidenceAgeSeconds: number;
4231
+ maturityDelaySeconds: number;
4232
+ cooldownSeconds: number;
4233
+ donorTransferBasisPoints: number;
4234
+ maxUncertaintyBasisPoints: number;
4235
+ uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
4236
+ attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
4237
+ requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
4238
+ algorithm: "reported_cpql_conserved_transfer_v1";
4239
+ costBasis: "provider_reported_snapshot_v1";
4240
+ costRevisionRisk: "accepted_provisional";
4241
+ readClockKind: "sql_before_provider_read_lower_bound_v1";
3989
4242
  } & {}) | ({
3990
4243
  schemaVersion: 1;
3991
4244
  algorithm: "finite_meta_candidates_v1";
@@ -4098,7 +4351,51 @@ export declare function cpqlMissingOutcomeBound(input: {
4098
4351
  verifiedSpend: Money;
4099
4352
  }): number | null;
4100
4353
  export type ResonanceAllocationHorizon = Value<typeof allocationHorizon>;
4101
- declare const finiteOptimizationEvidence: Field<{
4354
+ declare const reportedOutcomeSource: Field<{
4355
+ method: "observational_cpql_missing_outcome_bound_v1";
4356
+ eligibleContacts: string;
4357
+ fullyResolvedContacts: string;
4358
+ qualifiedContacts: string;
4359
+ sourceRevision: string;
4360
+ qualificationRuleRef: {
4361
+ projectId: string;
4362
+ site: string;
4363
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
4364
+ id: string;
4365
+ revision: string;
4366
+ digest: string;
4367
+ } & {};
4368
+ universeComplete: true;
4369
+ } & {}>;
4370
+ export type ResonanceReportedOutcomeSource = Value<typeof reportedOutcomeSource>;
4371
+ declare const providerReadClock: Field<{
4372
+ kind: "sql_before_provider_read_lower_bound_v1";
4373
+ notBeforeAt: string;
4374
+ } & {}>;
4375
+ export type ResonanceProviderReadClock = Value<typeof providerReadClock>;
4376
+ declare const channelReportedCost: Field<{
4377
+ basis: "provider_reported_snapshot_v1";
4378
+ observationId: string;
4379
+ sourceEvidenceDigest: string;
4380
+ reportedSpend: {
4381
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
4382
+ amountMicros: string;
4383
+ } & {};
4384
+ queriedFrom: string;
4385
+ queriedThrough: string;
4386
+ firstReceivedAt: string;
4387
+ receivedAt: string;
4388
+ recordedAt: string;
4389
+ providerFinality: "unknown";
4390
+ correctionsPossible: true;
4391
+ readClock: {
4392
+ kind: "sql_before_provider_read_lower_bound_v1";
4393
+ notBeforeAt: string;
4394
+ } & {};
4395
+ } & {}>;
4396
+ export type ResonanceChannelReportedCost = Value<typeof channelReportedCost>;
4397
+ export type ResonanceSqlClockChannelReportedCost = ResonanceChannelReportedCost;
4398
+ declare const reportedOptimizationEvidence: Field<{
4102
4399
  id: string;
4103
4400
  revision: string;
4104
4401
  evidenceDigest: string;
@@ -4145,11 +4442,13 @@ declare const finiteOptimizationEvidence: Field<{
4145
4442
  } & {}) | undefined;
4146
4443
  };
4147
4444
  policyDigest: string;
4445
+ trackingState: "blocked" | "healthy" | "unknown";
4446
+ coverageBasisPoints: number | null;
4447
+ assignmentCheck: "failed" | "not_applicable" | "pass" | "unknown";
4448
+ powerCheck: "failed" | "not_applicable" | "pass" | "unknown";
4449
+ evidenceKind: "reported_cpql_sql_clock_v1";
4148
4450
  resolvedPolicy: {
4149
4451
  schemaVersion: 1;
4150
- algorithm: "finite_meta_candidates_v1";
4151
- decisionKind: "preapproved_candidate_operation";
4152
- eligibleGoal: "qualified_lead";
4153
4452
  sourceRef: ({
4154
4453
  projectId: string;
4155
4454
  site: string;
@@ -4158,42 +4457,283 @@ declare const finiteOptimizationEvidence: Field<{
4158
4457
  revision: string;
4159
4458
  digest: string;
4160
4459
  } & {}) | null;
4161
- candidateChannelIds: string[];
4162
- selection: {
4163
- kind: "fixed_reviewed_order";
4164
- candidateOrder: string[];
4165
- eligibilitySchedule: ({
4166
- channelId: string;
4167
- notBefore: string;
4168
- notAfter: string;
4169
- } & {})[];
4170
- } & {};
4171
- allowedActions: ("activate_held" | "materialize_and_activate" | "pause_candidate")[];
4172
- maxConcurrentCandidates: number;
4173
- maxActivationsPerCandidate: 1;
4174
- totalExplorationCap: {
4175
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
4176
- amountMicros: string;
4177
- } & {};
4178
- measurementGuard: {
4179
- sourceRef: {
4180
- projectId: string;
4181
- site: string;
4182
- kind: "accepted_form" | "approved_application" | "completed_booking" | "net_paid_order" | "qualified_lead";
4183
- id: string;
4184
- revision: string;
4185
- } & {};
4186
- qualificationRuleRef: {
4187
- projectId: string;
4188
- site: string;
4189
- module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
4190
- id: string;
4191
- revision: string;
4192
- digest: string;
4193
- } & {};
4194
- attributionModel: "first_party_last_touch_marker_v1";
4195
- maturityDelaySeconds: number;
4196
- minimumCoverageBasisPoints: number;
4460
+ decisionKind: "observational_allocation";
4461
+ eligibleGoal: "qualified_lead";
4462
+ minimumMatureExposures: number;
4463
+ minimumMatureOutcomes: number;
4464
+ minimumCoverageBasisPoints: number;
4465
+ maxEvidenceAgeSeconds: number;
4466
+ maturityDelaySeconds: number;
4467
+ cooldownSeconds: number;
4468
+ donorTransferBasisPoints: number;
4469
+ maxUncertaintyBasisPoints: number;
4470
+ uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
4471
+ attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
4472
+ requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
4473
+ algorithm: "reported_cpql_conserved_transfer_v1";
4474
+ costBasis: "provider_reported_snapshot_v1";
4475
+ costRevisionRisk: "accepted_provisional";
4476
+ readClockKind: "sql_before_provider_read_lower_bound_v1";
4477
+ } & {};
4478
+ channels: ({
4479
+ channelId: string;
4480
+ site: string;
4481
+ accountBindingId: string;
4482
+ trackingState: "blocked" | "healthy" | "unknown";
4483
+ coverageBasisPoints: number | null;
4484
+ coverageFamily: "crm_attribution" | "experiment_exposure" | "provider_import";
4485
+ coverageDefinitionRef: {
4486
+ projectId: string;
4487
+ site: string;
4488
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
4489
+ id: string;
4490
+ revision: string;
4491
+ digest: string;
4492
+ } & {};
4493
+ coveredNumerator: string | null;
4494
+ eligibleDenominator: string | null;
4495
+ uncertaintyBasisPoints: number | null;
4496
+ dedupeCheck: "failed" | "not_applicable" | "pass" | "unknown";
4497
+ qualificationCheck: "failed" | "not_applicable" | "pass" | "unknown";
4498
+ reasonCodes: string[];
4499
+ capabilityRevision: string;
4500
+ budgetMode: "average_daily" | "campaign_total" | "daily" | "lifetime";
4501
+ allocationHorizon: ({
4502
+ kind: "finite_period";
4503
+ startAt: string;
4504
+ endAt: string;
4505
+ timeZone: string;
4506
+ sourceRef: string;
4507
+ } & {}) | ({
4508
+ kind: "daily_average";
4509
+ timeZone: string;
4510
+ sourceRef: string;
4511
+ } & {}) | null;
4512
+ matureThrough: string | null;
4513
+ dataThrough: string | null;
4514
+ goalRevision: string;
4515
+ countingUnit: "net_order" | "unique_qualified_contact" | "unique_source";
4516
+ attributionModel: string;
4517
+ attributionWindowDays: number;
4518
+ policyRevision: string;
4519
+ currentAllocation: {
4520
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
4521
+ amountMicros: string;
4522
+ } & {};
4523
+ remoteSnapshotDigest: string;
4524
+ observations: (({
4525
+ projectId: string;
4526
+ site: string;
4527
+ campaignId: string;
4528
+ name: "accepted_goals" | "clicks" | "conversion_rate" | "impressions" | "qualified_goals" | "revenue" | "spend";
4529
+ source: "experiment" | "first_party" | "provider";
4530
+ sourceRef: string;
4531
+ goalRevision: string | null;
4532
+ countingUnit: "net_order" | "provider_aggregate" | "unique_qualified_contact" | "unique_source";
4533
+ windowStart: string;
4534
+ windowEnd: string;
4535
+ timeZone: string;
4536
+ attributionModel: string | null;
4537
+ asOf: string;
4538
+ dataThrough: string | null;
4539
+ maturityDelaySeconds: number;
4540
+ coverageBasisPoints: number | null;
4541
+ eligibleExposures: string | null;
4542
+ matureOutcomes: string | null;
4543
+ native: ({
4544
+ unit: string;
4545
+ amount: string;
4546
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL" | null;
4547
+ unitExponent: number;
4548
+ providerVersion: string;
4549
+ } & {}) | null;
4550
+ state: "observed";
4551
+ value: ({
4552
+ kind: "count";
4553
+ count: string;
4554
+ } & {}) | ({
4555
+ kind: "money";
4556
+ money: {
4557
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
4558
+ amountMicros: string;
4559
+ } & {};
4560
+ } & {}) | ({
4561
+ kind: "ratio";
4562
+ numerator: string;
4563
+ denominator: string;
4564
+ } & {});
4565
+ } & {}) | ({
4566
+ projectId: string;
4567
+ site: string;
4568
+ campaignId: string;
4569
+ name: "accepted_goals" | "clicks" | "conversion_rate" | "impressions" | "qualified_goals" | "revenue" | "spend";
4570
+ source: "experiment" | "first_party" | "provider";
4571
+ sourceRef: string;
4572
+ goalRevision: string | null;
4573
+ countingUnit: "net_order" | "provider_aggregate" | "unique_qualified_contact" | "unique_source";
4574
+ windowStart: string;
4575
+ windowEnd: string;
4576
+ timeZone: string;
4577
+ attributionModel: string | null;
4578
+ asOf: string;
4579
+ dataThrough: string | null;
4580
+ maturityDelaySeconds: number;
4581
+ coverageBasisPoints: number | null;
4582
+ eligibleExposures: string | null;
4583
+ matureOutcomes: string | null;
4584
+ native: ({
4585
+ unit: string;
4586
+ amount: string;
4587
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL" | null;
4588
+ unitExponent: number;
4589
+ providerVersion: string;
4590
+ } & {}) | null;
4591
+ state: "delayed" | "insufficient" | "unavailable" | "unknown";
4592
+ value: null;
4593
+ reasonCode: string;
4594
+ } & {}))[];
4595
+ providerUnitExponent: number;
4596
+ providerMaxUnits: string;
4597
+ channelReportedCost: {
4598
+ basis: "provider_reported_snapshot_v1";
4599
+ observationId: string;
4600
+ sourceEvidenceDigest: string;
4601
+ reportedSpend: {
4602
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
4603
+ amountMicros: string;
4604
+ } & {};
4605
+ queriedFrom: string;
4606
+ queriedThrough: string;
4607
+ firstReceivedAt: string;
4608
+ receivedAt: string;
4609
+ recordedAt: string;
4610
+ providerFinality: "unknown";
4611
+ correctionsPossible: true;
4612
+ readClock: {
4613
+ kind: "sql_before_provider_read_lower_bound_v1";
4614
+ notBeforeAt: string;
4615
+ } & {};
4616
+ } & {};
4617
+ outcomeSource: {
4618
+ method: "observational_cpql_missing_outcome_bound_v1";
4619
+ eligibleContacts: string;
4620
+ fullyResolvedContacts: string;
4621
+ qualifiedContacts: string;
4622
+ sourceRevision: string;
4623
+ qualificationRuleRef: {
4624
+ projectId: string;
4625
+ site: string;
4626
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
4627
+ id: string;
4628
+ revision: string;
4629
+ digest: string;
4630
+ } & {};
4631
+ universeComplete: true;
4632
+ } & {};
4633
+ } & {})[];
4634
+ } & {}>;
4635
+ export type ResonanceReportedCostEvidence = Value<typeof reportedOptimizationEvidence>;
4636
+ export type ResonanceSqlClockReportedCostEvidence = ResonanceReportedCostEvidence;
4637
+ /** Conditional outcome sensitivity only. This does not bound later provider-cost corrections. */
4638
+ export declare function reportedCpqlMissingOutcomeBound(input: ResonanceReportedOutcomeSource & {
4639
+ reportedSpend: Money;
4640
+ }): number | null;
4641
+ declare const finiteOptimizationEvidence: Field<{
4642
+ id: string;
4643
+ revision: string;
4644
+ evidenceDigest: string;
4645
+ projectId: string;
4646
+ campaignId: string;
4647
+ preparedPlanId: string;
4648
+ reviewDigest: string;
4649
+ observedAt: string;
4650
+ windowStart: string;
4651
+ windowEnd: string;
4652
+ dataThrough: string | null;
4653
+ lastAdjustmentAt: string | null;
4654
+ currentKillRevision: number;
4655
+ goalRevision: string;
4656
+ objective: {
4657
+ source: {
4658
+ projectId: string;
4659
+ site: string;
4660
+ kind: "accepted_form" | "approved_application" | "completed_booking" | "net_paid_order" | "qualified_lead";
4661
+ id: string;
4662
+ revision: string;
4663
+ } & {};
4664
+ measurementRevision: string;
4665
+ countingUnit: "net_order" | "unique_qualified_contact" | "unique_source";
4666
+ attributionWindowDays: number;
4667
+ maturityDelaySeconds: number;
4668
+ qualificationRuleRef: ({
4669
+ projectId: string;
4670
+ site: string;
4671
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
4672
+ id: string;
4673
+ revision: string;
4674
+ digest: string;
4675
+ } & {}) | null;
4676
+ } & {
4677
+ qualificationRule?: ({
4678
+ schemaVersion: 1;
4679
+ semantics: "current_at_observation";
4680
+ positiveStageKeys: string[];
4681
+ finalNegativeStageKeys: string[];
4682
+ pendingStageKeys: string[];
4683
+ existingContactPolicy: "include_source_cohort";
4684
+ attributionModel: "first_party_last_touch_marker_v1";
4685
+ } & {}) | undefined;
4686
+ };
4687
+ policyDigest: string;
4688
+ resolvedPolicy: {
4689
+ schemaVersion: 1;
4690
+ algorithm: "finite_meta_candidates_v1";
4691
+ decisionKind: "preapproved_candidate_operation";
4692
+ eligibleGoal: "qualified_lead";
4693
+ sourceRef: ({
4694
+ projectId: string;
4695
+ site: string;
4696
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
4697
+ id: string;
4698
+ revision: string;
4699
+ digest: string;
4700
+ } & {}) | null;
4701
+ candidateChannelIds: string[];
4702
+ selection: {
4703
+ kind: "fixed_reviewed_order";
4704
+ candidateOrder: string[];
4705
+ eligibilitySchedule: ({
4706
+ channelId: string;
4707
+ notBefore: string;
4708
+ notAfter: string;
4709
+ } & {})[];
4710
+ } & {};
4711
+ allowedActions: ("activate_held" | "materialize_and_activate" | "pause_candidate")[];
4712
+ maxConcurrentCandidates: number;
4713
+ maxActivationsPerCandidate: 1;
4714
+ totalExplorationCap: {
4715
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
4716
+ amountMicros: string;
4717
+ } & {};
4718
+ measurementGuard: {
4719
+ sourceRef: {
4720
+ projectId: string;
4721
+ site: string;
4722
+ kind: "accepted_form" | "approved_application" | "completed_booking" | "net_paid_order" | "qualified_lead";
4723
+ id: string;
4724
+ revision: string;
4725
+ } & {};
4726
+ qualificationRuleRef: {
4727
+ projectId: string;
4728
+ site: string;
4729
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
4730
+ id: string;
4731
+ revision: string;
4732
+ digest: string;
4733
+ } & {};
4734
+ attributionModel: "first_party_last_touch_marker_v1";
4735
+ maturityDelaySeconds: number;
4736
+ minimumCoverageBasisPoints: number;
4197
4737
  maxEvidenceAgeSeconds: number;
4198
4738
  requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
4199
4739
  } & {};
@@ -4369,39 +4909,256 @@ declare const finiteOptimizationEvidence: Field<{
4369
4909
  } & {}) | ({
4370
4910
  projectId: string;
4371
4911
  site: string;
4372
- campaignId: string;
4373
- name: "accepted_goals" | "clicks" | "conversion_rate" | "impressions" | "qualified_goals" | "revenue" | "spend";
4374
- source: "experiment" | "first_party" | "provider";
4375
- sourceRef: string;
4376
- goalRevision: string | null;
4377
- countingUnit: "net_order" | "provider_aggregate" | "unique_qualified_contact" | "unique_source";
4378
- windowStart: string;
4379
- windowEnd: string;
4380
- timeZone: string;
4381
- attributionModel: string | null;
4382
- asOf: string;
4383
- dataThrough: string | null;
4384
- maturityDelaySeconds: number;
4385
- coverageBasisPoints: number | null;
4386
- eligibleExposures: string | null;
4387
- matureOutcomes: string | null;
4388
- native: ({
4389
- unit: string;
4390
- amount: string;
4391
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL" | null;
4392
- unitExponent: number;
4393
- providerVersion: string;
4394
- } & {}) | null;
4395
- state: "delayed" | "insufficient" | "unavailable" | "unknown";
4396
- value: null;
4397
- reasonCode: string;
4398
- } & {}))[];
4399
- reasonCodes: string[];
4400
- } & {});
4912
+ campaignId: string;
4913
+ name: "accepted_goals" | "clicks" | "conversion_rate" | "impressions" | "qualified_goals" | "revenue" | "spend";
4914
+ source: "experiment" | "first_party" | "provider";
4915
+ sourceRef: string;
4916
+ goalRevision: string | null;
4917
+ countingUnit: "net_order" | "provider_aggregate" | "unique_qualified_contact" | "unique_source";
4918
+ windowStart: string;
4919
+ windowEnd: string;
4920
+ timeZone: string;
4921
+ attributionModel: string | null;
4922
+ asOf: string;
4923
+ dataThrough: string | null;
4924
+ maturityDelaySeconds: number;
4925
+ coverageBasisPoints: number | null;
4926
+ eligibleExposures: string | null;
4927
+ matureOutcomes: string | null;
4928
+ native: ({
4929
+ unit: string;
4930
+ amount: string;
4931
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL" | null;
4932
+ unitExponent: number;
4933
+ providerVersion: string;
4934
+ } & {}) | null;
4935
+ state: "delayed" | "insufficient" | "unavailable" | "unknown";
4936
+ value: null;
4937
+ reasonCode: string;
4938
+ } & {}))[];
4939
+ reasonCodes: string[];
4940
+ } & {});
4941
+ } & {})[];
4942
+ } & {}>;
4943
+ export type ResonanceFiniteMetaCandidateEvidence = Value<typeof finiteOptimizationEvidence>;
4944
+ declare const optimizationEvidence: Field<({
4945
+ id: string;
4946
+ revision: string;
4947
+ evidenceDigest: string;
4948
+ projectId: string;
4949
+ campaignId: string;
4950
+ preparedPlanId: string;
4951
+ reviewDigest: string;
4952
+ observedAt: string;
4953
+ windowStart: string;
4954
+ windowEnd: string;
4955
+ dataThrough: string | null;
4956
+ lastAdjustmentAt: string | null;
4957
+ currentKillRevision: number;
4958
+ goalRevision: string;
4959
+ objective: {
4960
+ source: {
4961
+ projectId: string;
4962
+ site: string;
4963
+ kind: "accepted_form" | "approved_application" | "completed_booking" | "net_paid_order" | "qualified_lead";
4964
+ id: string;
4965
+ revision: string;
4966
+ } & {};
4967
+ measurementRevision: string;
4968
+ countingUnit: "net_order" | "unique_qualified_contact" | "unique_source";
4969
+ attributionWindowDays: number;
4970
+ maturityDelaySeconds: number;
4971
+ qualificationRuleRef: ({
4972
+ projectId: string;
4973
+ site: string;
4974
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
4975
+ id: string;
4976
+ revision: string;
4977
+ digest: string;
4978
+ } & {}) | null;
4979
+ } & {
4980
+ qualificationRule?: ({
4981
+ schemaVersion: 1;
4982
+ semantics: "current_at_observation";
4983
+ positiveStageKeys: string[];
4984
+ finalNegativeStageKeys: string[];
4985
+ pendingStageKeys: string[];
4986
+ existingContactPolicy: "include_source_cohort";
4987
+ attributionModel: "first_party_last_touch_marker_v1";
4988
+ } & {}) | undefined;
4989
+ };
4990
+ policyDigest: string;
4991
+ trackingState: "blocked" | "healthy" | "unknown";
4992
+ coverageBasisPoints: number | null;
4993
+ assignmentCheck: "failed" | "not_applicable" | "pass" | "unknown";
4994
+ powerCheck: "failed" | "not_applicable" | "pass" | "unknown";
4995
+ resolvedPolicy: {
4996
+ schemaVersion: 1;
4997
+ sourceRef: ({
4998
+ projectId: string;
4999
+ site: string;
5000
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
5001
+ id: string;
5002
+ revision: string;
5003
+ digest: string;
5004
+ } & {}) | null;
5005
+ decisionKind: "observational_allocation";
5006
+ eligibleGoal: "qualified_lead";
5007
+ algorithm: "mature_cpql_conserved_transfer_v1";
5008
+ minimumMatureExposures: number;
5009
+ minimumMatureOutcomes: number;
5010
+ minimumCoverageBasisPoints: number;
5011
+ maxEvidenceAgeSeconds: number;
5012
+ maturityDelaySeconds: number;
5013
+ cooldownSeconds: number;
5014
+ donorTransferBasisPoints: number;
5015
+ maxUncertaintyBasisPoints: number;
5016
+ uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
5017
+ attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
5018
+ requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
5019
+ } & {};
5020
+ channels: ({
5021
+ channelId: string;
5022
+ site: string;
5023
+ accountBindingId: string;
5024
+ trackingState: "blocked" | "healthy" | "unknown";
5025
+ coverageBasisPoints: number | null;
5026
+ coverageFamily: "crm_attribution" | "experiment_exposure" | "provider_import";
5027
+ coverageDefinitionRef: {
5028
+ projectId: string;
5029
+ site: string;
5030
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
5031
+ id: string;
5032
+ revision: string;
5033
+ digest: string;
5034
+ } & {};
5035
+ coveredNumerator: string | null;
5036
+ eligibleDenominator: string | null;
5037
+ uncertaintyBasisPoints: number | null;
5038
+ dedupeCheck: "failed" | "not_applicable" | "pass" | "unknown";
5039
+ qualificationCheck: "failed" | "not_applicable" | "pass" | "unknown";
5040
+ reasonCodes: string[];
5041
+ capabilityRevision: string;
5042
+ budgetMode: "average_daily" | "campaign_total" | "daily" | "lifetime";
5043
+ allocationHorizon: ({
5044
+ kind: "finite_period";
5045
+ startAt: string;
5046
+ endAt: string;
5047
+ timeZone: string;
5048
+ sourceRef: string;
5049
+ } & {}) | ({
5050
+ kind: "daily_average";
5051
+ timeZone: string;
5052
+ sourceRef: string;
5053
+ } & {}) | null;
5054
+ matureThrough: string | null;
5055
+ dataThrough: string | null;
5056
+ goalRevision: string;
5057
+ countingUnit: "net_order" | "unique_qualified_contact" | "unique_source";
5058
+ attributionModel: string;
5059
+ attributionWindowDays: number;
5060
+ policyRevision: string;
5061
+ currentAllocation: {
5062
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
5063
+ amountMicros: string;
5064
+ } & {};
5065
+ remoteSnapshotDigest: string;
5066
+ observations: (({
5067
+ projectId: string;
5068
+ site: string;
5069
+ campaignId: string;
5070
+ name: "accepted_goals" | "clicks" | "conversion_rate" | "impressions" | "qualified_goals" | "revenue" | "spend";
5071
+ source: "experiment" | "first_party" | "provider";
5072
+ sourceRef: string;
5073
+ goalRevision: string | null;
5074
+ countingUnit: "net_order" | "provider_aggregate" | "unique_qualified_contact" | "unique_source";
5075
+ windowStart: string;
5076
+ windowEnd: string;
5077
+ timeZone: string;
5078
+ attributionModel: string | null;
5079
+ asOf: string;
5080
+ dataThrough: string | null;
5081
+ maturityDelaySeconds: number;
5082
+ coverageBasisPoints: number | null;
5083
+ eligibleExposures: string | null;
5084
+ matureOutcomes: string | null;
5085
+ native: ({
5086
+ unit: string;
5087
+ amount: string;
5088
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL" | null;
5089
+ unitExponent: number;
5090
+ providerVersion: string;
5091
+ } & {}) | null;
5092
+ state: "observed";
5093
+ value: ({
5094
+ kind: "count";
5095
+ count: string;
5096
+ } & {}) | ({
5097
+ kind: "money";
5098
+ money: {
5099
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
5100
+ amountMicros: string;
5101
+ } & {};
5102
+ } & {}) | ({
5103
+ kind: "ratio";
5104
+ numerator: string;
5105
+ denominator: string;
5106
+ } & {});
5107
+ } & {}) | ({
5108
+ projectId: string;
5109
+ site: string;
5110
+ campaignId: string;
5111
+ name: "accepted_goals" | "clicks" | "conversion_rate" | "impressions" | "qualified_goals" | "revenue" | "spend";
5112
+ source: "experiment" | "first_party" | "provider";
5113
+ sourceRef: string;
5114
+ goalRevision: string | null;
5115
+ countingUnit: "net_order" | "provider_aggregate" | "unique_qualified_contact" | "unique_source";
5116
+ windowStart: string;
5117
+ windowEnd: string;
5118
+ timeZone: string;
5119
+ attributionModel: string | null;
5120
+ asOf: string;
5121
+ dataThrough: string | null;
5122
+ maturityDelaySeconds: number;
5123
+ coverageBasisPoints: number | null;
5124
+ eligibleExposures: string | null;
5125
+ matureOutcomes: string | null;
5126
+ native: ({
5127
+ unit: string;
5128
+ amount: string;
5129
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL" | null;
5130
+ unitExponent: number;
5131
+ providerVersion: string;
5132
+ } & {}) | null;
5133
+ state: "delayed" | "insufficient" | "unavailable" | "unknown";
5134
+ value: null;
5135
+ reasonCode: string;
5136
+ } & {}))[];
5137
+ providerUnitExponent: number;
5138
+ providerMaxUnits: string;
5139
+ uncertaintySource: ({
5140
+ method: "observational_cpql_missing_outcome_bound_v1";
5141
+ eligibleContacts: string;
5142
+ fullyResolvedContacts: string;
5143
+ qualifiedContacts: string;
5144
+ verifiedSpend: {
5145
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
5146
+ amountMicros: string;
5147
+ } & {};
5148
+ sourceRevision: string;
5149
+ qualificationRuleRef: {
5150
+ projectId: string;
5151
+ site: string;
5152
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
5153
+ id: string;
5154
+ revision: string;
5155
+ digest: string;
5156
+ } & {};
5157
+ universeComplete: true;
5158
+ spendPeriodComplete: true;
5159
+ } & {}) | null;
4401
5160
  } & {})[];
4402
- } & {}>;
4403
- export type ResonanceFiniteMetaCandidateEvidence = Value<typeof finiteOptimizationEvidence>;
4404
- declare const optimizationEvidence: Field<({
5161
+ } & {}) | ({
4405
5162
  id: string;
4406
5163
  revision: string;
4407
5164
  evidenceDigest: string;
@@ -4448,6 +5205,11 @@ declare const optimizationEvidence: Field<({
4448
5205
  } & {}) | undefined;
4449
5206
  };
4450
5207
  policyDigest: string;
5208
+ trackingState: "blocked" | "healthy" | "unknown";
5209
+ coverageBasisPoints: number | null;
5210
+ assignmentCheck: "failed" | "not_applicable" | "pass" | "unknown";
5211
+ powerCheck: "failed" | "not_applicable" | "pass" | "unknown";
5212
+ evidenceKind: "reported_cpql_sql_clock_v1";
4451
5213
  resolvedPolicy: {
4452
5214
  schemaVersion: 1;
4453
5215
  sourceRef: ({
@@ -4460,7 +5222,6 @@ declare const optimizationEvidence: Field<({
4460
5222
  } & {}) | null;
4461
5223
  decisionKind: "observational_allocation";
4462
5224
  eligibleGoal: "qualified_lead";
4463
- algorithm: "mature_cpql_conserved_transfer_v1";
4464
5225
  minimumMatureExposures: number;
4465
5226
  minimumMatureOutcomes: number;
4466
5227
  minimumCoverageBasisPoints: number;
@@ -4472,11 +5233,11 @@ declare const optimizationEvidence: Field<({
4472
5233
  uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
4473
5234
  attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
4474
5235
  requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
5236
+ algorithm: "reported_cpql_conserved_transfer_v1";
5237
+ costBasis: "provider_reported_snapshot_v1";
5238
+ costRevisionRisk: "accepted_provisional";
5239
+ readClockKind: "sql_before_provider_read_lower_bound_v1";
4475
5240
  } & {};
4476
- trackingState: "blocked" | "healthy" | "unknown";
4477
- coverageBasisPoints: number | null;
4478
- assignmentCheck: "failed" | "not_applicable" | "pass" | "unknown";
4479
- powerCheck: "failed" | "not_applicable" | "pass" | "unknown";
4480
5241
  channels: ({
4481
5242
  channelId: string;
4482
5243
  site: string;
@@ -4495,27 +5256,6 @@ declare const optimizationEvidence: Field<({
4495
5256
  coveredNumerator: string | null;
4496
5257
  eligibleDenominator: string | null;
4497
5258
  uncertaintyBasisPoints: number | null;
4498
- uncertaintySource: ({
4499
- method: "observational_cpql_missing_outcome_bound_v1";
4500
- eligibleContacts: string;
4501
- fullyResolvedContacts: string;
4502
- qualifiedContacts: string;
4503
- verifiedSpend: {
4504
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
4505
- amountMicros: string;
4506
- } & {};
4507
- sourceRevision: string;
4508
- qualificationRuleRef: {
4509
- projectId: string;
4510
- site: string;
4511
- module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
4512
- id: string;
4513
- revision: string;
4514
- digest: string;
4515
- } & {};
4516
- universeComplete: true;
4517
- spendPeriodComplete: true;
4518
- } & {}) | null;
4519
5259
  dedupeCheck: "failed" | "not_applicable" | "pass" | "unknown";
4520
5260
  qualificationCheck: "failed" | "not_applicable" | "pass" | "unknown";
4521
5261
  reasonCodes: string[];
@@ -4617,6 +5357,42 @@ declare const optimizationEvidence: Field<({
4617
5357
  } & {}))[];
4618
5358
  providerUnitExponent: number;
4619
5359
  providerMaxUnits: string;
5360
+ channelReportedCost: {
5361
+ basis: "provider_reported_snapshot_v1";
5362
+ observationId: string;
5363
+ sourceEvidenceDigest: string;
5364
+ reportedSpend: {
5365
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
5366
+ amountMicros: string;
5367
+ } & {};
5368
+ queriedFrom: string;
5369
+ queriedThrough: string;
5370
+ firstReceivedAt: string;
5371
+ receivedAt: string;
5372
+ recordedAt: string;
5373
+ providerFinality: "unknown";
5374
+ correctionsPossible: true;
5375
+ readClock: {
5376
+ kind: "sql_before_provider_read_lower_bound_v1";
5377
+ notBeforeAt: string;
5378
+ } & {};
5379
+ } & {};
5380
+ outcomeSource: {
5381
+ method: "observational_cpql_missing_outcome_bound_v1";
5382
+ eligibleContacts: string;
5383
+ fullyResolvedContacts: string;
5384
+ qualifiedContacts: string;
5385
+ sourceRevision: string;
5386
+ qualificationRuleRef: {
5387
+ projectId: string;
5388
+ site: string;
5389
+ module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
5390
+ id: string;
5391
+ revision: string;
5392
+ digest: string;
5393
+ } & {};
5394
+ universeComplete: true;
5395
+ } & {};
4620
5396
  } & {})[];
4621
5397
  } & {}) | ({
4622
5398
  id: string;
@@ -6644,6 +7420,10 @@ declare const mandateDraftRequest: Field<{
6644
7420
  } & {})[];
6645
7421
  } & {})[];
6646
7422
  } & {}) | undefined;
7423
+ providerReporting?: ({
7424
+ agentContactId: string;
7425
+ channelIds: string[];
7426
+ } & {}) | undefined;
6647
7427
  }>;
6648
7428
  export type ResonanceMandateDraftRequest = Value<typeof mandateDraftRequest>;
6649
7429
  export declare const parseResonanceMandateDraftRequest: (v: unknown) => ResonanceMandateDraftRequest;
@@ -6781,6 +7561,14 @@ declare const feedReview: Field<{
6781
7561
  } & {};
6782
7562
  } & {})[];
6783
7563
  } & {}) | undefined;
7564
+ providerReporting?: ({
7565
+ purpose: "provider_reporting_refresh";
7566
+ orgId: string;
7567
+ projectId: string;
7568
+ agentContactId: string;
7569
+ principalContactId: string;
7570
+ channelIds: string[];
7571
+ } & {}) | undefined;
6784
7572
  };
6785
7573
  } & {};
6786
7574
  mandateRef: {
@@ -6960,3 +7748,307 @@ export declare function parseResonanceWebsiteVisitFeedReview(v: unknown, context
6960
7748
  preparedPlan: ResonancePreparedPlan;
6961
7749
  }): ResonanceWebsiteVisitFeedReview;
6962
7750
  export declare const RESONANCE_WEBSITE_VISIT_FEED_REVIEW_JSON_SCHEMA: import("./wire-schema").JsonSchema;
7751
+ declare const publicObservationMetric: Field<({
7752
+ projectId: string;
7753
+ site: string;
7754
+ campaignId: string;
7755
+ name: "accepted_goals" | "clicks" | "conversion_rate" | "impressions" | "qualified_goals" | "revenue" | "spend";
7756
+ sourceRef: string;
7757
+ goalRevision: string | null;
7758
+ countingUnit: "net_order" | "provider_aggregate" | "unique_qualified_contact" | "unique_source";
7759
+ windowStart: string;
7760
+ windowEnd: string;
7761
+ timeZone: string;
7762
+ attributionModel: string | null;
7763
+ asOf: string;
7764
+ dataThrough: string | null;
7765
+ maturityDelaySeconds: number;
7766
+ coverageBasisPoints: number | null;
7767
+ eligibleExposures: string | null;
7768
+ matureOutcomes: string | null;
7769
+ native: ({
7770
+ unit: string;
7771
+ amount: string;
7772
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL" | null;
7773
+ unitExponent: number;
7774
+ providerVersion: string;
7775
+ } & {}) | null;
7776
+ observationId: string;
7777
+ channelId: string;
7778
+ versionId: string;
7779
+ accountBindingId: string;
7780
+ source: "first_party" | "provider";
7781
+ state: "observed";
7782
+ value: ({
7783
+ kind: "count";
7784
+ count: string;
7785
+ } & {}) | ({
7786
+ kind: "money";
7787
+ money: {
7788
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
7789
+ amountMicros: string;
7790
+ } & {};
7791
+ } & {}) | ({
7792
+ kind: "ratio";
7793
+ numerator: string;
7794
+ denominator: string;
7795
+ } & {});
7796
+ } & {}) | ({
7797
+ projectId: string;
7798
+ site: string;
7799
+ campaignId: string;
7800
+ name: "accepted_goals" | "clicks" | "conversion_rate" | "impressions" | "qualified_goals" | "revenue" | "spend";
7801
+ sourceRef: string;
7802
+ goalRevision: string | null;
7803
+ countingUnit: "net_order" | "provider_aggregate" | "unique_qualified_contact" | "unique_source";
7804
+ windowStart: string;
7805
+ windowEnd: string;
7806
+ timeZone: string;
7807
+ attributionModel: string | null;
7808
+ asOf: string;
7809
+ dataThrough: string | null;
7810
+ maturityDelaySeconds: number;
7811
+ coverageBasisPoints: number | null;
7812
+ eligibleExposures: string | null;
7813
+ matureOutcomes: string | null;
7814
+ native: ({
7815
+ unit: string;
7816
+ amount: string;
7817
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL" | null;
7818
+ unitExponent: number;
7819
+ providerVersion: string;
7820
+ } & {}) | null;
7821
+ observationId: string;
7822
+ channelId: string;
7823
+ versionId: string;
7824
+ accountBindingId: string;
7825
+ source: "first_party" | "provider";
7826
+ state: "delayed" | "insufficient" | "unavailable" | "unknown";
7827
+ value: null;
7828
+ reasonCode: string;
7829
+ } & {})>;
7830
+ export type ResonancePublicObservationMetric = Value<typeof publicObservationMetric>;
7831
+ export declare function parseResonancePublicObservationMetric(v: unknown): ResonancePublicObservationMetric;
7832
+ declare const firstPartyObservationSupport: Field<{
7833
+ observationId: string;
7834
+ channelId: string;
7835
+ versionId: string;
7836
+ accountBindingId: string;
7837
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
7838
+ fetchedAt: string;
7839
+ dataThrough: string | null;
7840
+ coverage: "complete" | "partial" | "unknown";
7841
+ reasonCode: string | null;
7842
+ denominators: {
7843
+ eligibleContacts: string | null;
7844
+ fullyResolvedContacts: string | null;
7845
+ qualifiedContacts: string | null;
7846
+ } & {};
7847
+ source: "first_party";
7848
+ } & {}>;
7849
+ declare const providerObservationSupport: Field<{
7850
+ observationId: string;
7851
+ channelId: string;
7852
+ versionId: string;
7853
+ accountBindingId: string;
7854
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
7855
+ fetchedAt: string;
7856
+ dataThrough: string | null;
7857
+ coverage: "complete" | "partial" | "unknown";
7858
+ reasonCode: string | null;
7859
+ denominators: {
7860
+ eligibleContacts: string | null;
7861
+ fullyResolvedContacts: string | null;
7862
+ qualifiedContacts: string | null;
7863
+ } & {};
7864
+ source: "provider";
7865
+ firstReceivedAt: string | null;
7866
+ receivedAt: string | null;
7867
+ recordedAt: string | null;
7868
+ readClock: ({
7869
+ kind: "sql_before_provider_read_lower_bound_v1";
7870
+ notBeforeAt: string;
7871
+ } & {}) | null;
7872
+ providerFinality: "unknown";
7873
+ correctionsPossible: true;
7874
+ coverageBasis: "closed_query_snapshot" | "not_established";
7875
+ } & {}>;
7876
+ declare const observationSupport: Field<({
7877
+ observationId: string;
7878
+ channelId: string;
7879
+ versionId: string;
7880
+ accountBindingId: string;
7881
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
7882
+ fetchedAt: string;
7883
+ dataThrough: string | null;
7884
+ coverage: "complete" | "partial" | "unknown";
7885
+ reasonCode: string | null;
7886
+ denominators: {
7887
+ eligibleContacts: string | null;
7888
+ fullyResolvedContacts: string | null;
7889
+ qualifiedContacts: string | null;
7890
+ } & {};
7891
+ source: "first_party";
7892
+ } & {}) | ({
7893
+ observationId: string;
7894
+ channelId: string;
7895
+ versionId: string;
7896
+ accountBindingId: string;
7897
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
7898
+ fetchedAt: string;
7899
+ dataThrough: string | null;
7900
+ coverage: "complete" | "partial" | "unknown";
7901
+ reasonCode: string | null;
7902
+ denominators: {
7903
+ eligibleContacts: string | null;
7904
+ fullyResolvedContacts: string | null;
7905
+ qualifiedContacts: string | null;
7906
+ } & {};
7907
+ source: "provider";
7908
+ firstReceivedAt: string | null;
7909
+ receivedAt: string | null;
7910
+ recordedAt: string | null;
7911
+ readClock: ({
7912
+ kind: "sql_before_provider_read_lower_bound_v1";
7913
+ notBeforeAt: string;
7914
+ } & {}) | null;
7915
+ providerFinality: "unknown";
7916
+ correctionsPossible: true;
7917
+ coverageBasis: "closed_query_snapshot" | "not_established";
7918
+ } & {})>;
7919
+ export type ResonanceObservationSupport = Value<typeof observationSupport>;
7920
+ export type ResonanceProviderObservationSupport = Value<typeof providerObservationSupport>;
7921
+ export type ResonanceFirstPartyObservationSupport = Value<typeof firstPartyObservationSupport>;
7922
+ export declare function parseResonanceObservationSupport(v: unknown): ResonanceObservationSupport;
7923
+ declare const observationsPage: Field<{
7924
+ items: (({
7925
+ projectId: string;
7926
+ site: string;
7927
+ campaignId: string;
7928
+ name: "accepted_goals" | "clicks" | "conversion_rate" | "impressions" | "qualified_goals" | "revenue" | "spend";
7929
+ sourceRef: string;
7930
+ goalRevision: string | null;
7931
+ countingUnit: "net_order" | "provider_aggregate" | "unique_qualified_contact" | "unique_source";
7932
+ windowStart: string;
7933
+ windowEnd: string;
7934
+ timeZone: string;
7935
+ attributionModel: string | null;
7936
+ asOf: string;
7937
+ dataThrough: string | null;
7938
+ maturityDelaySeconds: number;
7939
+ coverageBasisPoints: number | null;
7940
+ eligibleExposures: string | null;
7941
+ matureOutcomes: string | null;
7942
+ native: ({
7943
+ unit: string;
7944
+ amount: string;
7945
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL" | null;
7946
+ unitExponent: number;
7947
+ providerVersion: string;
7948
+ } & {}) | null;
7949
+ observationId: string;
7950
+ channelId: string;
7951
+ versionId: string;
7952
+ accountBindingId: string;
7953
+ source: "first_party" | "provider";
7954
+ state: "observed";
7955
+ value: ({
7956
+ kind: "count";
7957
+ count: string;
7958
+ } & {}) | ({
7959
+ kind: "money";
7960
+ money: {
7961
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
7962
+ amountMicros: string;
7963
+ } & {};
7964
+ } & {}) | ({
7965
+ kind: "ratio";
7966
+ numerator: string;
7967
+ denominator: string;
7968
+ } & {});
7969
+ } & {}) | ({
7970
+ projectId: string;
7971
+ site: string;
7972
+ campaignId: string;
7973
+ name: "accepted_goals" | "clicks" | "conversion_rate" | "impressions" | "qualified_goals" | "revenue" | "spend";
7974
+ sourceRef: string;
7975
+ goalRevision: string | null;
7976
+ countingUnit: "net_order" | "provider_aggregate" | "unique_qualified_contact" | "unique_source";
7977
+ windowStart: string;
7978
+ windowEnd: string;
7979
+ timeZone: string;
7980
+ attributionModel: string | null;
7981
+ asOf: string;
7982
+ dataThrough: string | null;
7983
+ maturityDelaySeconds: number;
7984
+ coverageBasisPoints: number | null;
7985
+ eligibleExposures: string | null;
7986
+ matureOutcomes: string | null;
7987
+ native: ({
7988
+ unit: string;
7989
+ amount: string;
7990
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL" | null;
7991
+ unitExponent: number;
7992
+ providerVersion: string;
7993
+ } & {}) | null;
7994
+ observationId: string;
7995
+ channelId: string;
7996
+ versionId: string;
7997
+ accountBindingId: string;
7998
+ source: "first_party" | "provider";
7999
+ state: "delayed" | "insufficient" | "unavailable" | "unknown";
8000
+ value: null;
8001
+ reasonCode: string;
8002
+ } & {}))[];
8003
+ nextCursor: string | null;
8004
+ observedAt: string;
8005
+ support: (({
8006
+ observationId: string;
8007
+ channelId: string;
8008
+ versionId: string;
8009
+ accountBindingId: string;
8010
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
8011
+ fetchedAt: string;
8012
+ dataThrough: string | null;
8013
+ coverage: "complete" | "partial" | "unknown";
8014
+ reasonCode: string | null;
8015
+ denominators: {
8016
+ eligibleContacts: string | null;
8017
+ fullyResolvedContacts: string | null;
8018
+ qualifiedContacts: string | null;
8019
+ } & {};
8020
+ source: "first_party";
8021
+ } & {}) | ({
8022
+ observationId: string;
8023
+ channelId: string;
8024
+ versionId: string;
8025
+ accountBindingId: string;
8026
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
8027
+ fetchedAt: string;
8028
+ dataThrough: string | null;
8029
+ coverage: "complete" | "partial" | "unknown";
8030
+ reasonCode: string | null;
8031
+ denominators: {
8032
+ eligibleContacts: string | null;
8033
+ fullyResolvedContacts: string | null;
8034
+ qualifiedContacts: string | null;
8035
+ } & {};
8036
+ source: "provider";
8037
+ firstReceivedAt: string | null;
8038
+ receivedAt: string | null;
8039
+ recordedAt: string | null;
8040
+ readClock: ({
8041
+ kind: "sql_before_provider_read_lower_bound_v1";
8042
+ notBeforeAt: string;
8043
+ } & {}) | null;
8044
+ providerFinality: "unknown";
8045
+ correctionsPossible: true;
8046
+ coverageBasis: "closed_query_snapshot" | "not_established";
8047
+ } & {}))[];
8048
+ } & {}>;
8049
+ export type ResonanceObservationsPage = Value<typeof observationsPage>;
8050
+ /** Native-row UUID pagination; support aligns by all four identities at each index. No summing or freshness upgrade. */
8051
+ export declare function parseResonanceObservationsPage(v: unknown): ResonanceObservationsPage;
8052
+ export declare const RESONANCE_PUBLIC_OBSERVATION_METRIC_JSON_SCHEMA: import("./wire-schema").JsonSchema;
8053
+ export declare const RESONANCE_OBSERVATION_SUPPORT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
8054
+ export declare const RESONANCE_OBSERVATIONS_PAGE_JSON_SCHEMA: import("./wire-schema").JsonSchema;