@sonordev/contracts 2.26.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +82 -1
- package/dist/booking-intake-normalize.d.ts +152 -0
- package/dist/booking-intake.d.ts +68 -0
- package/dist/booking-intake.js +221 -0
- package/dist/booking-intake.mjs +203 -0
- package/dist/quote-screen.d.ts +29 -0
- package/dist/quote-screen.js +194 -0
- package/dist/quote-screen.mjs +190 -0
- package/dist/quote-screen.vectors.d.ts +23 -0
- package/dist/resonance-confirmation.d.ts +238 -0
- package/dist/resonance-confirmation.js +163 -0
- package/dist/resonance-confirmation.mjs +131 -0
- package/dist/resonance.d.ts +364 -5
- package/dist/resonance.js +194 -13
- package/dist/resonance.mjs +179 -14
- package/dist/schema-placeholders.d.ts +2 -2
- package/dist/seo-pages.js +3 -3
- package/dist/seo-pages.mjs +3 -3
- package/dist/sites-normalize.d.ts +7 -0
- package/dist/sites.d.ts +1 -3
- package/dist/sites.js +3 -3
- package/dist/sites.mjs +3 -3
- package/package.json +17 -2
package/dist/resonance.d.ts
CHANGED
|
@@ -85,7 +85,9 @@ declare const resolvedQualificationRule: Field<{
|
|
|
85
85
|
endAt: string;
|
|
86
86
|
maturityDelaySeconds: number;
|
|
87
87
|
} & {};
|
|
88
|
-
} & {
|
|
88
|
+
} & {
|
|
89
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
90
|
+
}>;
|
|
89
91
|
export type ResonanceResolvedQualificationRule = Value<typeof resolvedQualificationRule>;
|
|
90
92
|
/** Actual native snapshot shape only; the server verifies its source/config digest. */
|
|
91
93
|
export declare const parseResonanceResolvedQualificationRule: (v: unknown) => ResonanceResolvedQualificationRule;
|
|
@@ -120,6 +122,7 @@ declare const objective: Field<{
|
|
|
120
122
|
existingContactPolicy: "include_source_cohort";
|
|
121
123
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
122
124
|
} & {}) | undefined;
|
|
125
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
123
126
|
}>;
|
|
124
127
|
declare const destination: Field<({
|
|
125
128
|
projectId: string;
|
|
@@ -577,6 +580,7 @@ declare const definition: Field<{
|
|
|
577
580
|
existingContactPolicy: "include_source_cohort";
|
|
578
581
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
579
582
|
} & {}) | undefined;
|
|
583
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
580
584
|
};
|
|
581
585
|
brandRef: {
|
|
582
586
|
projectId: string;
|
|
@@ -978,6 +982,7 @@ declare const draft: Field<{
|
|
|
978
982
|
existingContactPolicy: "include_source_cohort";
|
|
979
983
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
980
984
|
} & {}) | undefined;
|
|
985
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
981
986
|
}) | undefined;
|
|
982
987
|
brandRef?: ({
|
|
983
988
|
projectId: string;
|
|
@@ -1453,6 +1458,7 @@ declare const providerReportingGrant: Field<{
|
|
|
1453
1458
|
actionReportTime: "conversion";
|
|
1454
1459
|
basis: "explicit_query";
|
|
1455
1460
|
} & {})[] | undefined;
|
|
1461
|
+
reportingUntil?: string | undefined;
|
|
1456
1462
|
}>;
|
|
1457
1463
|
export type ResonanceMetaReportingQuery = Value<typeof metaReportingQuery>;
|
|
1458
1464
|
export type ResonanceProviderReportingSelection = Value<typeof providerReportingSelection>;
|
|
@@ -1461,6 +1467,123 @@ export declare const parseResonanceProviderReportingSelection: (v: unknown) => R
|
|
|
1461
1467
|
export declare const parseResonanceProviderReportingGrant: (v: unknown) => ResonanceProviderReportingGrant;
|
|
1462
1468
|
export declare const RESONANCE_PROVIDER_REPORTING_SELECTION_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
1463
1469
|
export declare const RESONANCE_PROVIDER_REPORTING_GRANT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
1470
|
+
export declare const RESONANCE_PROVIDER_REPORTING_MAX_TAIL_DAYS = 92;
|
|
1471
|
+
export declare const normalizeResonanceGoogleCriterionText: (value: string) => string;
|
|
1472
|
+
declare const operatingPolicySelection: Field<{
|
|
1473
|
+
schemaVersion: 1;
|
|
1474
|
+
agentContactId: string;
|
|
1475
|
+
googleSearchContent: ({
|
|
1476
|
+
channelId: string;
|
|
1477
|
+
adGroupLocalKey: string;
|
|
1478
|
+
adLocalKey: string;
|
|
1479
|
+
negativeRemovals: string[];
|
|
1480
|
+
exactAdditions: string[];
|
|
1481
|
+
rsa: ({
|
|
1482
|
+
creativeRef: {
|
|
1483
|
+
projectId: string;
|
|
1484
|
+
site: string;
|
|
1485
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
1486
|
+
id: string;
|
|
1487
|
+
revision: string;
|
|
1488
|
+
digest: string;
|
|
1489
|
+
} & {};
|
|
1490
|
+
headlines: string[];
|
|
1491
|
+
descriptions: string[];
|
|
1492
|
+
} & {}) | null;
|
|
1493
|
+
} & {})[];
|
|
1494
|
+
cooldownSeconds: number;
|
|
1495
|
+
} & {}>;
|
|
1496
|
+
declare const operatingPolicy: Field<{
|
|
1497
|
+
schemaVersion: 1;
|
|
1498
|
+
agentContactId: string;
|
|
1499
|
+
googleSearchContent: ({
|
|
1500
|
+
channelId: string;
|
|
1501
|
+
adGroupLocalKey: string;
|
|
1502
|
+
adLocalKey: string;
|
|
1503
|
+
negativeRemovals: string[];
|
|
1504
|
+
exactAdditions: string[];
|
|
1505
|
+
rsa: ({
|
|
1506
|
+
creativeRef: {
|
|
1507
|
+
projectId: string;
|
|
1508
|
+
site: string;
|
|
1509
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
1510
|
+
id: string;
|
|
1511
|
+
revision: string;
|
|
1512
|
+
digest: string;
|
|
1513
|
+
} & {};
|
|
1514
|
+
headlines: string[];
|
|
1515
|
+
descriptions: string[];
|
|
1516
|
+
} & {}) | null;
|
|
1517
|
+
} & {})[];
|
|
1518
|
+
cooldownSeconds: number;
|
|
1519
|
+
principalContactId: string;
|
|
1520
|
+
} & {}>;
|
|
1521
|
+
declare const operatingPolicyRef: Field<{
|
|
1522
|
+
ledgerActionId: string;
|
|
1523
|
+
receiptId: string;
|
|
1524
|
+
digest: string;
|
|
1525
|
+
} & {}>;
|
|
1526
|
+
declare const operatingPolicyBase: Field<{
|
|
1527
|
+
ledgerActionId: string;
|
|
1528
|
+
acceptanceReceiptId: string;
|
|
1529
|
+
expectedKillRevision: number;
|
|
1530
|
+
previousOperatingPolicyRef: ({
|
|
1531
|
+
ledgerActionId: string;
|
|
1532
|
+
receiptId: string;
|
|
1533
|
+
digest: string;
|
|
1534
|
+
} & {}) | null;
|
|
1535
|
+
} & {}>;
|
|
1536
|
+
declare const googleContentUpdateSelection: Field<{
|
|
1537
|
+
channelId: string;
|
|
1538
|
+
adGroupLocalKey: string;
|
|
1539
|
+
adLocalKey: string;
|
|
1540
|
+
} & {}>;
|
|
1541
|
+
declare const googleContentUpdate: Field<{
|
|
1542
|
+
channelId: string;
|
|
1543
|
+
adGroupLocalKey: string;
|
|
1544
|
+
adLocalKey: string;
|
|
1545
|
+
negativeRemovals: string[];
|
|
1546
|
+
exactAdditions: string[];
|
|
1547
|
+
rsa: ({
|
|
1548
|
+
creativeRef: {
|
|
1549
|
+
projectId: string;
|
|
1550
|
+
site: string;
|
|
1551
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
1552
|
+
id: string;
|
|
1553
|
+
revision: string;
|
|
1554
|
+
digest: string;
|
|
1555
|
+
} & {};
|
|
1556
|
+
headlines: string[];
|
|
1557
|
+
descriptions: string[];
|
|
1558
|
+
} & {}) | null;
|
|
1559
|
+
policyRef: {
|
|
1560
|
+
ledgerActionId: string;
|
|
1561
|
+
receiptId: string;
|
|
1562
|
+
digest: string;
|
|
1563
|
+
} & {};
|
|
1564
|
+
beforeDigest: string;
|
|
1565
|
+
} & {}>;
|
|
1566
|
+
export type ResonanceOperatingPolicy = Value<typeof operatingPolicy>;
|
|
1567
|
+
export type ResonanceOperatingPolicySelection = Value<typeof operatingPolicySelection>;
|
|
1568
|
+
export type ResonanceOperatingPolicyBase = Value<typeof operatingPolicyBase>;
|
|
1569
|
+
export type ResonanceOperatingPolicyRef = Value<typeof operatingPolicyRef>;
|
|
1570
|
+
export type ResonanceGoogleContentUpdateSelection = Value<typeof googleContentUpdateSelection>;
|
|
1571
|
+
export type ResonanceGoogleContentUpdate = Value<typeof googleContentUpdate>;
|
|
1572
|
+
export declare const parseResonanceOperatingPolicy: (v: unknown) => ResonanceOperatingPolicy;
|
|
1573
|
+
export declare const parseResonanceOperatingPolicySelection: (v: unknown) => ResonanceOperatingPolicySelection;
|
|
1574
|
+
export declare const parseResonanceOperatingPolicyBase: (v: unknown) => ResonanceOperatingPolicyBase;
|
|
1575
|
+
export declare const parseResonanceOperatingPolicyRef: (v: unknown) => ResonanceOperatingPolicyRef;
|
|
1576
|
+
export declare const parseResonanceGoogleContentUpdateSelection: (v: unknown) => ResonanceGoogleContentUpdateSelection;
|
|
1577
|
+
export declare const parseResonanceGoogleContentUpdate: (v: unknown) => ResonanceGoogleContentUpdate;
|
|
1578
|
+
export declare const resonanceOperatingPolicyDigestInput: (v: unknown) => string;
|
|
1579
|
+
/** SHA-256 this UTF-8 input for operating-policy action filing and recovery. */
|
|
1580
|
+
export declare function resonanceOperatingPolicyActionDigestInput(v: unknown): string;
|
|
1581
|
+
export declare const RESONANCE_OPERATING_POLICY_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
1582
|
+
export declare const RESONANCE_OPERATING_POLICY_SELECTION_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
1583
|
+
export declare const RESONANCE_OPERATING_POLICY_BASE_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
1584
|
+
export declare const RESONANCE_OPERATING_POLICY_REF_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
1585
|
+
export declare const RESONANCE_GOOGLE_CONTENT_UPDATE_SELECTION_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
1586
|
+
export declare const RESONANCE_GOOGLE_CONTENT_UPDATE_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
1464
1587
|
declare const mandateScope: Field<{
|
|
1465
1588
|
projectId: string;
|
|
1466
1589
|
campaignId: string;
|
|
@@ -1556,6 +1679,7 @@ declare const mandateScope: Field<{
|
|
|
1556
1679
|
existingContactPolicy: "include_source_cohort";
|
|
1557
1680
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
1558
1681
|
} & {}) | undefined;
|
|
1682
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
1559
1683
|
};
|
|
1560
1684
|
allowedOperations: ("deliver_conversion" | "launch" | "optimize" | "resume" | "update")[];
|
|
1561
1685
|
allowedTransformationRef: ({
|
|
@@ -1602,7 +1726,33 @@ declare const mandateScope: Field<{
|
|
|
1602
1726
|
actionReportTime: "conversion";
|
|
1603
1727
|
basis: "explicit_query";
|
|
1604
1728
|
} & {})[] | undefined;
|
|
1729
|
+
reportingUntil?: string | undefined;
|
|
1605
1730
|
}) | undefined;
|
|
1731
|
+
operatingPolicy?: ({
|
|
1732
|
+
schemaVersion: 1;
|
|
1733
|
+
agentContactId: string;
|
|
1734
|
+
googleSearchContent: ({
|
|
1735
|
+
channelId: string;
|
|
1736
|
+
adGroupLocalKey: string;
|
|
1737
|
+
adLocalKey: string;
|
|
1738
|
+
negativeRemovals: string[];
|
|
1739
|
+
exactAdditions: string[];
|
|
1740
|
+
rsa: ({
|
|
1741
|
+
creativeRef: {
|
|
1742
|
+
projectId: string;
|
|
1743
|
+
site: string;
|
|
1744
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
1745
|
+
id: string;
|
|
1746
|
+
revision: string;
|
|
1747
|
+
digest: string;
|
|
1748
|
+
} & {};
|
|
1749
|
+
headlines: string[];
|
|
1750
|
+
descriptions: string[];
|
|
1751
|
+
} & {}) | null;
|
|
1752
|
+
} & {})[];
|
|
1753
|
+
cooldownSeconds: number;
|
|
1754
|
+
principalContactId: string;
|
|
1755
|
+
} & {}) | undefined;
|
|
1606
1756
|
}>;
|
|
1607
1757
|
export type ResonanceMandateScope = Value<typeof mandateScope>;
|
|
1608
1758
|
export declare function parseResonanceMandateScope(v: unknown, preparedPlan?: unknown): ResonanceMandateScope;
|
|
@@ -2307,6 +2457,7 @@ declare const prepared: Field<{
|
|
|
2307
2457
|
existingContactPolicy: "include_source_cohort";
|
|
2308
2458
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
2309
2459
|
} & {}) | undefined;
|
|
2460
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
2310
2461
|
};
|
|
2311
2462
|
brandRef: {
|
|
2312
2463
|
projectId: string;
|
|
@@ -2810,7 +2961,9 @@ declare const prepared: Field<{
|
|
|
2810
2961
|
endAt: string;
|
|
2811
2962
|
maturityDelaySeconds: number;
|
|
2812
2963
|
} & {};
|
|
2813
|
-
} & {
|
|
2964
|
+
} & {
|
|
2965
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
2966
|
+
}) | null;
|
|
2814
2967
|
accounts: ({
|
|
2815
2968
|
id: string;
|
|
2816
2969
|
projectId: string;
|
|
@@ -3013,6 +3166,52 @@ declare const command: Field<({
|
|
|
3013
3166
|
channelId: string;
|
|
3014
3167
|
digest: string;
|
|
3015
3168
|
} & {})[];
|
|
3169
|
+
} & {}) | ({
|
|
3170
|
+
schemaVersion: 1;
|
|
3171
|
+
campaignId: string;
|
|
3172
|
+
expectedRevision: number;
|
|
3173
|
+
idempotencyKey: string;
|
|
3174
|
+
operation: "update";
|
|
3175
|
+
preparedPlanId: string;
|
|
3176
|
+
reviewDigest: string;
|
|
3177
|
+
mandateRef: {
|
|
3178
|
+
ledgerActionId: string;
|
|
3179
|
+
campaignId: string;
|
|
3180
|
+
preparedPlanId: string;
|
|
3181
|
+
reviewDigest: string;
|
|
3182
|
+
mandateDigest: string;
|
|
3183
|
+
expectedKillRevision: number;
|
|
3184
|
+
} & {};
|
|
3185
|
+
channelIds: string[];
|
|
3186
|
+
expectedRemoteSnapshots: ({
|
|
3187
|
+
channelId: string;
|
|
3188
|
+
digest: string;
|
|
3189
|
+
} & {})[];
|
|
3190
|
+
googleContentUpdate: {
|
|
3191
|
+
channelId: string;
|
|
3192
|
+
adGroupLocalKey: string;
|
|
3193
|
+
adLocalKey: string;
|
|
3194
|
+
negativeRemovals: string[];
|
|
3195
|
+
exactAdditions: string[];
|
|
3196
|
+
rsa: ({
|
|
3197
|
+
creativeRef: {
|
|
3198
|
+
projectId: string;
|
|
3199
|
+
site: string;
|
|
3200
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
3201
|
+
id: string;
|
|
3202
|
+
revision: string;
|
|
3203
|
+
digest: string;
|
|
3204
|
+
} & {};
|
|
3205
|
+
headlines: string[];
|
|
3206
|
+
descriptions: string[];
|
|
3207
|
+
} & {}) | null;
|
|
3208
|
+
policyRef: {
|
|
3209
|
+
ledgerActionId: string;
|
|
3210
|
+
receiptId: string;
|
|
3211
|
+
digest: string;
|
|
3212
|
+
} & {};
|
|
3213
|
+
beforeDigest: string;
|
|
3214
|
+
} & {};
|
|
3016
3215
|
} & {}) | ({
|
|
3017
3216
|
schemaVersion: 1;
|
|
3018
3217
|
campaignId: string;
|
|
@@ -3177,6 +3376,7 @@ declare const view: Field<{
|
|
|
3177
3376
|
existingContactPolicy: "include_source_cohort";
|
|
3178
3377
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
3179
3378
|
} & {}) | undefined;
|
|
3379
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
3180
3380
|
}) | undefined;
|
|
3181
3381
|
brandRef?: ({
|
|
3182
3382
|
projectId: string;
|
|
@@ -3863,6 +4063,7 @@ declare const mandateApproval: Field<{
|
|
|
3863
4063
|
existingContactPolicy: "include_source_cohort";
|
|
3864
4064
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
3865
4065
|
} & {}) | undefined;
|
|
4066
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
3866
4067
|
};
|
|
3867
4068
|
allowedOperations: ("deliver_conversion" | "launch" | "optimize" | "resume" | "update")[];
|
|
3868
4069
|
allowedTransformationRef: ({
|
|
@@ -3909,9 +4110,46 @@ declare const mandateApproval: Field<{
|
|
|
3909
4110
|
actionReportTime: "conversion";
|
|
3910
4111
|
basis: "explicit_query";
|
|
3911
4112
|
} & {})[] | undefined;
|
|
4113
|
+
reportingUntil?: string | undefined;
|
|
3912
4114
|
}) | undefined;
|
|
4115
|
+
operatingPolicy?: ({
|
|
4116
|
+
schemaVersion: 1;
|
|
4117
|
+
agentContactId: string;
|
|
4118
|
+
googleSearchContent: ({
|
|
4119
|
+
channelId: string;
|
|
4120
|
+
adGroupLocalKey: string;
|
|
4121
|
+
adLocalKey: string;
|
|
4122
|
+
negativeRemovals: string[];
|
|
4123
|
+
exactAdditions: string[];
|
|
4124
|
+
rsa: ({
|
|
4125
|
+
creativeRef: {
|
|
4126
|
+
projectId: string;
|
|
4127
|
+
site: string;
|
|
4128
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4129
|
+
id: string;
|
|
4130
|
+
revision: string;
|
|
4131
|
+
digest: string;
|
|
4132
|
+
} & {};
|
|
4133
|
+
headlines: string[];
|
|
4134
|
+
descriptions: string[];
|
|
4135
|
+
} & {}) | null;
|
|
4136
|
+
} & {})[];
|
|
4137
|
+
cooldownSeconds: number;
|
|
4138
|
+
principalContactId: string;
|
|
4139
|
+
} & {}) | undefined;
|
|
3913
4140
|
};
|
|
3914
|
-
} & {
|
|
4141
|
+
} & {
|
|
4142
|
+
operatingPolicyBase?: ({
|
|
4143
|
+
ledgerActionId: string;
|
|
4144
|
+
acceptanceReceiptId: string;
|
|
4145
|
+
expectedKillRevision: number;
|
|
4146
|
+
previousOperatingPolicyRef: ({
|
|
4147
|
+
ledgerActionId: string;
|
|
4148
|
+
receiptId: string;
|
|
4149
|
+
digest: string;
|
|
4150
|
+
} & {}) | null;
|
|
4151
|
+
} & {}) | undefined;
|
|
4152
|
+
}>;
|
|
3915
4153
|
export type ResonanceMandateApprovalPayload = Value<typeof mandateApproval>;
|
|
3916
4154
|
export type ResonanceMandateTarget = Value<typeof mandateTarget>;
|
|
3917
4155
|
export declare const RESONANCE_MANDATE_APPROVAL_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
@@ -4172,7 +4410,13 @@ export declare const RESONANCE_POSITIONING_CONSISTENCY_ASSESSMENT_JSON_SCHEMA: i
|
|
|
4172
4410
|
declare const prepareCommand: Field<{
|
|
4173
4411
|
expectedRevision: number;
|
|
4174
4412
|
idempotencyKey: string;
|
|
4175
|
-
} & {
|
|
4413
|
+
} & {
|
|
4414
|
+
googleContentUpdate?: ({
|
|
4415
|
+
channelId: string;
|
|
4416
|
+
adGroupLocalKey: string;
|
|
4417
|
+
adLocalKey: string;
|
|
4418
|
+
} & {}) | undefined;
|
|
4419
|
+
}>;
|
|
4176
4420
|
export type ResonanceCommandPrepareRequest = Value<typeof prepareCommand>;
|
|
4177
4421
|
export declare const parseResonancePrepareCommand: (v: unknown) => ResonanceCommandPrepareRequest;
|
|
4178
4422
|
/** Same strict revision/key request for API-owned launch/update/resume command preparation. */
|
|
@@ -4199,6 +4443,52 @@ declare const commandPreparation: Field<{
|
|
|
4199
4443
|
channelId: string;
|
|
4200
4444
|
digest: string;
|
|
4201
4445
|
} & {})[];
|
|
4446
|
+
} & {}) | ({
|
|
4447
|
+
schemaVersion: 1;
|
|
4448
|
+
campaignId: string;
|
|
4449
|
+
expectedRevision: number;
|
|
4450
|
+
idempotencyKey: string;
|
|
4451
|
+
operation: "update";
|
|
4452
|
+
preparedPlanId: string;
|
|
4453
|
+
reviewDigest: string;
|
|
4454
|
+
mandateRef: {
|
|
4455
|
+
ledgerActionId: string;
|
|
4456
|
+
campaignId: string;
|
|
4457
|
+
preparedPlanId: string;
|
|
4458
|
+
reviewDigest: string;
|
|
4459
|
+
mandateDigest: string;
|
|
4460
|
+
expectedKillRevision: number;
|
|
4461
|
+
} & {};
|
|
4462
|
+
channelIds: string[];
|
|
4463
|
+
expectedRemoteSnapshots: ({
|
|
4464
|
+
channelId: string;
|
|
4465
|
+
digest: string;
|
|
4466
|
+
} & {})[];
|
|
4467
|
+
googleContentUpdate: {
|
|
4468
|
+
channelId: string;
|
|
4469
|
+
adGroupLocalKey: string;
|
|
4470
|
+
adLocalKey: string;
|
|
4471
|
+
negativeRemovals: string[];
|
|
4472
|
+
exactAdditions: string[];
|
|
4473
|
+
rsa: ({
|
|
4474
|
+
creativeRef: {
|
|
4475
|
+
projectId: string;
|
|
4476
|
+
site: string;
|
|
4477
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4478
|
+
id: string;
|
|
4479
|
+
revision: string;
|
|
4480
|
+
digest: string;
|
|
4481
|
+
} & {};
|
|
4482
|
+
headlines: string[];
|
|
4483
|
+
descriptions: string[];
|
|
4484
|
+
} & {}) | null;
|
|
4485
|
+
policyRef: {
|
|
4486
|
+
ledgerActionId: string;
|
|
4487
|
+
receiptId: string;
|
|
4488
|
+
digest: string;
|
|
4489
|
+
} & {};
|
|
4490
|
+
beforeDigest: string;
|
|
4491
|
+
} & {};
|
|
4202
4492
|
} & {}) | ({
|
|
4203
4493
|
schemaVersion: 1;
|
|
4204
4494
|
campaignId: string;
|
|
@@ -4326,6 +4616,7 @@ declare const saveCommand: Field<{
|
|
|
4326
4616
|
existingContactPolicy: "include_source_cohort";
|
|
4327
4617
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
4328
4618
|
} & {}) | undefined;
|
|
4619
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
4329
4620
|
}) | undefined;
|
|
4330
4621
|
brandRef?: ({
|
|
4331
4622
|
projectId: string;
|
|
@@ -4822,6 +5113,7 @@ declare const reportedOptimizationEvidence: Field<{
|
|
|
4822
5113
|
existingContactPolicy: "include_source_cohort";
|
|
4823
5114
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
4824
5115
|
} & {}) | undefined;
|
|
5116
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
4825
5117
|
};
|
|
4826
5118
|
policyDigest: string;
|
|
4827
5119
|
trackingState: "blocked" | "healthy" | "unknown";
|
|
@@ -5065,6 +5357,7 @@ declare const finiteOptimizationEvidence: Field<{
|
|
|
5065
5357
|
existingContactPolicy: "include_source_cohort";
|
|
5066
5358
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
5067
5359
|
} & {}) | undefined;
|
|
5360
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
5068
5361
|
};
|
|
5069
5362
|
policyDigest: string;
|
|
5070
5363
|
resolvedPolicy: {
|
|
@@ -5368,6 +5661,7 @@ declare const optimizationEvidence: Field<({
|
|
|
5368
5661
|
existingContactPolicy: "include_source_cohort";
|
|
5369
5662
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
5370
5663
|
} & {}) | undefined;
|
|
5664
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
5371
5665
|
};
|
|
5372
5666
|
policyDigest: string;
|
|
5373
5667
|
trackingState: "blocked" | "healthy" | "unknown";
|
|
@@ -5585,6 +5879,7 @@ declare const optimizationEvidence: Field<({
|
|
|
5585
5879
|
existingContactPolicy: "include_source_cohort";
|
|
5586
5880
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
5587
5881
|
} & {}) | undefined;
|
|
5882
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
5588
5883
|
};
|
|
5589
5884
|
policyDigest: string;
|
|
5590
5885
|
trackingState: "blocked" | "healthy" | "unknown";
|
|
@@ -5821,6 +6116,7 @@ declare const optimizationEvidence: Field<({
|
|
|
5821
6116
|
existingContactPolicy: "include_source_cohort";
|
|
5822
6117
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
5823
6118
|
} & {}) | undefined;
|
|
6119
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
5824
6120
|
};
|
|
5825
6121
|
policyDigest: string;
|
|
5826
6122
|
resolvedPolicy: {
|
|
@@ -9022,6 +9318,31 @@ declare const mandateDraftRequest: Field<{
|
|
|
9022
9318
|
basis: "explicit_query";
|
|
9023
9319
|
} & {})[] | undefined;
|
|
9024
9320
|
}) | undefined;
|
|
9321
|
+
operatingPolicySelection?: ({
|
|
9322
|
+
schemaVersion: 1;
|
|
9323
|
+
agentContactId: string;
|
|
9324
|
+
googleSearchContent: ({
|
|
9325
|
+
channelId: string;
|
|
9326
|
+
adGroupLocalKey: string;
|
|
9327
|
+
adLocalKey: string;
|
|
9328
|
+
negativeRemovals: string[];
|
|
9329
|
+
exactAdditions: string[];
|
|
9330
|
+
rsa: ({
|
|
9331
|
+
creativeRef: {
|
|
9332
|
+
projectId: string;
|
|
9333
|
+
site: string;
|
|
9334
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
9335
|
+
id: string;
|
|
9336
|
+
revision: string;
|
|
9337
|
+
digest: string;
|
|
9338
|
+
} & {};
|
|
9339
|
+
headlines: string[];
|
|
9340
|
+
descriptions: string[];
|
|
9341
|
+
} & {}) | null;
|
|
9342
|
+
} & {})[];
|
|
9343
|
+
cooldownSeconds: number;
|
|
9344
|
+
} & {}) | undefined;
|
|
9345
|
+
activation?: "operating_policy" | undefined;
|
|
9025
9346
|
}>;
|
|
9026
9347
|
export type ResonanceMandateDraftRequest = Value<typeof mandateDraftRequest>;
|
|
9027
9348
|
export declare const parseResonanceMandateDraftRequest: (v: unknown) => ResonanceMandateDraftRequest;
|
|
@@ -9129,6 +9450,7 @@ declare const feedReview: Field<{
|
|
|
9129
9450
|
existingContactPolicy: "include_source_cohort";
|
|
9130
9451
|
attributionModel: "first_party_last_touch_marker_v1";
|
|
9131
9452
|
} & {}) | undefined;
|
|
9453
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
9132
9454
|
};
|
|
9133
9455
|
allowedOperations: ("deliver_conversion" | "launch" | "optimize" | "resume" | "update")[];
|
|
9134
9456
|
allowedTransformationRef: ({
|
|
@@ -9175,9 +9497,46 @@ declare const feedReview: Field<{
|
|
|
9175
9497
|
actionReportTime: "conversion";
|
|
9176
9498
|
basis: "explicit_query";
|
|
9177
9499
|
} & {})[] | undefined;
|
|
9500
|
+
reportingUntil?: string | undefined;
|
|
9178
9501
|
}) | undefined;
|
|
9502
|
+
operatingPolicy?: ({
|
|
9503
|
+
schemaVersion: 1;
|
|
9504
|
+
agentContactId: string;
|
|
9505
|
+
googleSearchContent: ({
|
|
9506
|
+
channelId: string;
|
|
9507
|
+
adGroupLocalKey: string;
|
|
9508
|
+
adLocalKey: string;
|
|
9509
|
+
negativeRemovals: string[];
|
|
9510
|
+
exactAdditions: string[];
|
|
9511
|
+
rsa: ({
|
|
9512
|
+
creativeRef: {
|
|
9513
|
+
projectId: string;
|
|
9514
|
+
site: string;
|
|
9515
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
9516
|
+
id: string;
|
|
9517
|
+
revision: string;
|
|
9518
|
+
digest: string;
|
|
9519
|
+
} & {};
|
|
9520
|
+
headlines: string[];
|
|
9521
|
+
descriptions: string[];
|
|
9522
|
+
} & {}) | null;
|
|
9523
|
+
} & {})[];
|
|
9524
|
+
cooldownSeconds: number;
|
|
9525
|
+
principalContactId: string;
|
|
9526
|
+
} & {}) | undefined;
|
|
9179
9527
|
};
|
|
9180
|
-
} & {
|
|
9528
|
+
} & {
|
|
9529
|
+
operatingPolicyBase?: ({
|
|
9530
|
+
ledgerActionId: string;
|
|
9531
|
+
acceptanceReceiptId: string;
|
|
9532
|
+
expectedKillRevision: number;
|
|
9533
|
+
previousOperatingPolicyRef: ({
|
|
9534
|
+
ledgerActionId: string;
|
|
9535
|
+
receiptId: string;
|
|
9536
|
+
digest: string;
|
|
9537
|
+
} & {}) | null;
|
|
9538
|
+
} & {}) | undefined;
|
|
9539
|
+
};
|
|
9181
9540
|
mandateRef: {
|
|
9182
9541
|
ledgerActionId: string;
|
|
9183
9542
|
campaignId: string;
|