@sonordev/contracts 2.23.0 → 2.26.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 +17 -0
- package/README.md +121 -4
- package/dist/property-interest.d.ts +100 -0
- package/dist/property-interest.js +261 -0
- package/dist/property-interest.mjs +244 -0
- package/dist/resonance.d.ts +1151 -118
- package/dist/resonance.js +584 -6
- package/dist/resonance.mjs +526 -7
- package/dist/sales-call-prep.d.ts +666 -0
- package/dist/sales-call-prep.js +334 -0
- package/dist/sales-call-prep.mjs +288 -0
- package/dist/signal-experiments.d.ts +0 -1
- package/dist/signal-experiments.js +4 -1
- package/dist/signal-experiments.mjs +4 -1
- package/dist/wire-uuid.d.ts +5 -0
- package/package.json +11 -1
package/dist/resonance.d.ts
CHANGED
|
@@ -3923,6 +3923,252 @@ export declare function parseResonanceMandateApprovalPayload(v: unknown, target:
|
|
|
3923
3923
|
export declare const resonanceMandateDigestInput: (v: unknown) => string;
|
|
3924
3924
|
export declare const resonanceCommandDigestInput: (v: unknown) => string;
|
|
3925
3925
|
export declare const parseResonanceMandateTarget: (v: unknown) => ResonanceMandateTarget;
|
|
3926
|
+
declare const positioningRequest: Field<{
|
|
3927
|
+
schemaVersion: 1;
|
|
3928
|
+
expectedRevision: number;
|
|
3929
|
+
site: string;
|
|
3930
|
+
target: ({
|
|
3931
|
+
kind: "broadcast";
|
|
3932
|
+
channelId: string;
|
|
3933
|
+
} & {}) | ({
|
|
3934
|
+
kind: "meta";
|
|
3935
|
+
channelId: string;
|
|
3936
|
+
creativeId: string;
|
|
3937
|
+
} & {}) | ({
|
|
3938
|
+
kind: "google_search";
|
|
3939
|
+
channelId: string;
|
|
3940
|
+
adGroupKey: string;
|
|
3941
|
+
adKey: string;
|
|
3942
|
+
} & {});
|
|
3943
|
+
} & {
|
|
3944
|
+
destination?: ({
|
|
3945
|
+
kind: "existing_page" | "funnel";
|
|
3946
|
+
id: string;
|
|
3947
|
+
} & {}) | undefined;
|
|
3948
|
+
offerId?: string | undefined;
|
|
3949
|
+
}>;
|
|
3950
|
+
declare const positioningContext: Field<{
|
|
3951
|
+
schemaVersion: 1;
|
|
3952
|
+
projectId: string;
|
|
3953
|
+
campaignId: string;
|
|
3954
|
+
request: {
|
|
3955
|
+
schemaVersion: 1;
|
|
3956
|
+
expectedRevision: number;
|
|
3957
|
+
site: string;
|
|
3958
|
+
target: ({
|
|
3959
|
+
kind: "broadcast";
|
|
3960
|
+
channelId: string;
|
|
3961
|
+
} & {}) | ({
|
|
3962
|
+
kind: "meta";
|
|
3963
|
+
channelId: string;
|
|
3964
|
+
creativeId: string;
|
|
3965
|
+
} & {}) | ({
|
|
3966
|
+
kind: "google_search";
|
|
3967
|
+
channelId: string;
|
|
3968
|
+
adGroupKey: string;
|
|
3969
|
+
adKey: string;
|
|
3970
|
+
} & {});
|
|
3971
|
+
} & {
|
|
3972
|
+
destination?: ({
|
|
3973
|
+
kind: "existing_page" | "funnel";
|
|
3974
|
+
id: string;
|
|
3975
|
+
} & {}) | undefined;
|
|
3976
|
+
offerId?: string | undefined;
|
|
3977
|
+
};
|
|
3978
|
+
observedAt: string;
|
|
3979
|
+
expiresAt: string;
|
|
3980
|
+
orgId: string;
|
|
3981
|
+
evidence: ({
|
|
3982
|
+
id: string;
|
|
3983
|
+
kind: "brain" | "buyer" | "funnel" | "offer" | "page" | "proof";
|
|
3984
|
+
sourceId: string;
|
|
3985
|
+
revision: string;
|
|
3986
|
+
observedAt: string;
|
|
3987
|
+
expiresAt: string;
|
|
3988
|
+
permission: "private" | "public";
|
|
3989
|
+
certainty: "conflicting" | "reported" | "verified";
|
|
3990
|
+
text: string;
|
|
3991
|
+
} & {})[];
|
|
3992
|
+
} & {}>;
|
|
3993
|
+
export declare const RESONANCE_POSITIONING_METHOD_VERSION: 'positioning_v1';
|
|
3994
|
+
declare const positioningResult: Field<{
|
|
3995
|
+
methodVersion: "positioning_v1";
|
|
3996
|
+
state: "no_fit" | "provisional" | "ready";
|
|
3997
|
+
reasonCodes: ("brain_unavailable" | "buyer_evidence_sparse" | "channel_mismatch" | "destination_missing" | "destination_unverified" | "evidence_conflicting" | "fit_not_established" | "generation_unavailable" | "offer_conflicting" | "offer_unverified" | "public_proof_unavailable" | "source_stale" | "status_quo_sufficient")[];
|
|
3998
|
+
alternatives: ({
|
|
3999
|
+
text: string;
|
|
4000
|
+
kind: "alternative" | "status_quo";
|
|
4001
|
+
basis: "evidence" | "hypothesis";
|
|
4002
|
+
evidenceIds: string[];
|
|
4003
|
+
} & {})[];
|
|
4004
|
+
claims: ({
|
|
4005
|
+
attribute: string;
|
|
4006
|
+
value: string;
|
|
4007
|
+
evidenceIds: string[];
|
|
4008
|
+
publicProofIds: string[];
|
|
4009
|
+
} & {})[];
|
|
4010
|
+
bestFit: ({
|
|
4011
|
+
text: string;
|
|
4012
|
+
evidenceIds: string[];
|
|
4013
|
+
} & {})[];
|
|
4014
|
+
category: ({
|
|
4015
|
+
text: string;
|
|
4016
|
+
style: "existing_category" | "focused_subcategory" | "new_category";
|
|
4017
|
+
evidenceIds: string[];
|
|
4018
|
+
} & {}) | null;
|
|
4019
|
+
timelyContext: ({
|
|
4020
|
+
text: string;
|
|
4021
|
+
evidenceIds: string[];
|
|
4022
|
+
} & {}) | null;
|
|
4023
|
+
unknowns: string[];
|
|
4024
|
+
questions: string[];
|
|
4025
|
+
copy: ({
|
|
4026
|
+
kind: "broadcast";
|
|
4027
|
+
caption: string;
|
|
4028
|
+
claimIndexes: number[];
|
|
4029
|
+
} & {}) | ({
|
|
4030
|
+
kind: "meta";
|
|
4031
|
+
primaryText: string;
|
|
4032
|
+
headline: string;
|
|
4033
|
+
body: string;
|
|
4034
|
+
claimIndexes: number[];
|
|
4035
|
+
} & {}) | ({
|
|
4036
|
+
kind: "google_search";
|
|
4037
|
+
headlines: string[];
|
|
4038
|
+
descriptions: string[];
|
|
4039
|
+
claimIndexes: number[];
|
|
4040
|
+
} & {}) | null;
|
|
4041
|
+
} & {}>;
|
|
4042
|
+
declare const positioningPreview: Field<{
|
|
4043
|
+
schemaVersion: 1;
|
|
4044
|
+
projectId: string;
|
|
4045
|
+
campaignId: string;
|
|
4046
|
+
request: {
|
|
4047
|
+
schemaVersion: 1;
|
|
4048
|
+
expectedRevision: number;
|
|
4049
|
+
site: string;
|
|
4050
|
+
target: ({
|
|
4051
|
+
kind: "broadcast";
|
|
4052
|
+
channelId: string;
|
|
4053
|
+
} & {}) | ({
|
|
4054
|
+
kind: "meta";
|
|
4055
|
+
channelId: string;
|
|
4056
|
+
creativeId: string;
|
|
4057
|
+
} & {}) | ({
|
|
4058
|
+
kind: "google_search";
|
|
4059
|
+
channelId: string;
|
|
4060
|
+
adGroupKey: string;
|
|
4061
|
+
adKey: string;
|
|
4062
|
+
} & {});
|
|
4063
|
+
} & {
|
|
4064
|
+
destination?: ({
|
|
4065
|
+
kind: "existing_page" | "funnel";
|
|
4066
|
+
id: string;
|
|
4067
|
+
} & {}) | undefined;
|
|
4068
|
+
offerId?: string | undefined;
|
|
4069
|
+
};
|
|
4070
|
+
observedAt: string;
|
|
4071
|
+
expiresAt: string;
|
|
4072
|
+
evidence: ({
|
|
4073
|
+
id: string;
|
|
4074
|
+
kind: "brain" | "buyer" | "funnel" | "offer" | "page" | "proof";
|
|
4075
|
+
sourceId: string;
|
|
4076
|
+
revision: string;
|
|
4077
|
+
observedAt: string;
|
|
4078
|
+
expiresAt: string;
|
|
4079
|
+
permission: "private" | "public";
|
|
4080
|
+
certainty: "conflicting" | "reported" | "verified";
|
|
4081
|
+
} & {})[];
|
|
4082
|
+
result: {
|
|
4083
|
+
methodVersion: "positioning_v1";
|
|
4084
|
+
state: "no_fit" | "provisional" | "ready";
|
|
4085
|
+
reasonCodes: ("brain_unavailable" | "buyer_evidence_sparse" | "channel_mismatch" | "destination_missing" | "destination_unverified" | "evidence_conflicting" | "fit_not_established" | "generation_unavailable" | "offer_conflicting" | "offer_unverified" | "public_proof_unavailable" | "source_stale" | "status_quo_sufficient")[];
|
|
4086
|
+
alternatives: ({
|
|
4087
|
+
text: string;
|
|
4088
|
+
kind: "alternative" | "status_quo";
|
|
4089
|
+
basis: "evidence" | "hypothesis";
|
|
4090
|
+
evidenceIds: string[];
|
|
4091
|
+
} & {})[];
|
|
4092
|
+
claims: ({
|
|
4093
|
+
attribute: string;
|
|
4094
|
+
value: string;
|
|
4095
|
+
evidenceIds: string[];
|
|
4096
|
+
publicProofIds: string[];
|
|
4097
|
+
} & {})[];
|
|
4098
|
+
bestFit: ({
|
|
4099
|
+
text: string;
|
|
4100
|
+
evidenceIds: string[];
|
|
4101
|
+
} & {})[];
|
|
4102
|
+
category: ({
|
|
4103
|
+
text: string;
|
|
4104
|
+
style: "existing_category" | "focused_subcategory" | "new_category";
|
|
4105
|
+
evidenceIds: string[];
|
|
4106
|
+
} & {}) | null;
|
|
4107
|
+
timelyContext: ({
|
|
4108
|
+
text: string;
|
|
4109
|
+
evidenceIds: string[];
|
|
4110
|
+
} & {}) | null;
|
|
4111
|
+
unknowns: string[];
|
|
4112
|
+
questions: string[];
|
|
4113
|
+
copy: ({
|
|
4114
|
+
kind: "broadcast";
|
|
4115
|
+
caption: string;
|
|
4116
|
+
claimIndexes: number[];
|
|
4117
|
+
} & {}) | ({
|
|
4118
|
+
kind: "meta";
|
|
4119
|
+
primaryText: string;
|
|
4120
|
+
headline: string;
|
|
4121
|
+
body: string;
|
|
4122
|
+
claimIndexes: number[];
|
|
4123
|
+
} & {}) | ({
|
|
4124
|
+
kind: "google_search";
|
|
4125
|
+
headlines: string[];
|
|
4126
|
+
descriptions: string[];
|
|
4127
|
+
claimIndexes: number[];
|
|
4128
|
+
} & {}) | null;
|
|
4129
|
+
} & {};
|
|
4130
|
+
applicationToken: string | null;
|
|
4131
|
+
} & {}>;
|
|
4132
|
+
declare const positioningApplyRequest: Field<{
|
|
4133
|
+
applicationToken: string;
|
|
4134
|
+
} & {}>;
|
|
4135
|
+
export type ResonancePositioningPreviewRequest = Value<typeof positioningRequest>;
|
|
4136
|
+
export type ResonancePositioningContext = Value<typeof positioningContext>;
|
|
4137
|
+
export type ResonancePositioningResult = Value<typeof positioningResult>;
|
|
4138
|
+
export type ResonancePositioningPreview = Value<typeof positioningPreview>;
|
|
4139
|
+
export type ResonancePositioningApplyRequest = Value<typeof positioningApplyRequest>;
|
|
4140
|
+
export declare const parseResonancePositioningPreviewRequest: (value: unknown) => ResonancePositioningPreviewRequest;
|
|
4141
|
+
export declare const parseResonancePositioningContext: (value: unknown) => ResonancePositioningContext;
|
|
4142
|
+
export declare function parseResonancePositioningResult(value: unknown, context?: ResonancePositioningContext): ResonancePositioningResult;
|
|
4143
|
+
export declare const parseResonancePositioningPreview: (value: unknown) => ResonancePositioningPreview;
|
|
4144
|
+
export declare const parseResonancePositioningApplyRequest: (value: unknown) => ResonancePositioningApplyRequest;
|
|
4145
|
+
export declare const resonancePositioningContextDigestInput: (value: unknown) => string;
|
|
4146
|
+
/**
|
|
4147
|
+
* Compare exact owner evidence across reads without letting the read time change its identity.
|
|
4148
|
+
* The application owner separately enforces original and current observation windows.
|
|
4149
|
+
*/
|
|
4150
|
+
export declare function resonancePositioningEvidenceDigestInput(value: unknown): string;
|
|
4151
|
+
export declare const resonancePositioningResultDigestInput: (value: unknown) => string;
|
|
4152
|
+
export declare const RESONANCE_POSITIONING_PREVIEW_REQUEST_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
4153
|
+
export declare const RESONANCE_POSITIONING_CONTEXT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
4154
|
+
export declare const RESONANCE_POSITIONING_RESULT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
4155
|
+
export declare const RESONANCE_POSITIONING_PREVIEW_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
4156
|
+
export declare const RESONANCE_POSITIONING_APPLY_REQUEST_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
4157
|
+
/** Exact source rows the consistency assessor is allowed to read. */
|
|
4158
|
+
export declare function projectResonancePositioningConsistencyEvidence(value: unknown): ResonancePositioningContext['evidence'];
|
|
4159
|
+
export declare const resonancePositioningConsistencyEvidenceDigestInput: (value: unknown) => string;
|
|
4160
|
+
declare const positioningConsistencyAssessment: Field<{
|
|
4161
|
+
state: "compatible" | "conflicting" | "unknown";
|
|
4162
|
+
evidenceDigest: string;
|
|
4163
|
+
coveredSourceIds: string[];
|
|
4164
|
+
} & {}>;
|
|
4165
|
+
export type ResonancePositioningConsistencyAssessment = Value<typeof positioningConsistencyAssessment>;
|
|
4166
|
+
/** The owner computes the expected SHA-256 over its exact permitted projection before calling this parser. */
|
|
4167
|
+
export declare function parseResonancePositioningConsistencyAssessment(value: unknown, expected: {
|
|
4168
|
+
context: unknown;
|
|
4169
|
+
evidenceDigest: string;
|
|
4170
|
+
}): ResonancePositioningConsistencyAssessment;
|
|
4171
|
+
export declare const RESONANCE_POSITIONING_CONSISTENCY_ASSESSMENT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
3926
4172
|
declare const prepareCommand: Field<{
|
|
3927
4173
|
expectedRevision: number;
|
|
3928
4174
|
idempotencyKey: string;
|
|
@@ -6742,132 +6988,838 @@ export declare const RESONANCE_MEASUREMENT_CONFIGURATION_SAVE_COMMAND_JSON_SCHEM
|
|
|
6742
6988
|
export declare const RESONANCE_MEASUREMENT_CONFIGURATION_CURRENT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
6743
6989
|
export declare const RESONANCE_MEASUREMENT_CONFIGURATION_SNAPSHOT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
6744
6990
|
export declare const RESONANCE_MEASUREMENT_CONFIGURATION_SAVE_RESPONSE_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
6745
|
-
declare const
|
|
6991
|
+
export declare const RESONANCE_META_DATASET_NAME_MAX_LENGTH = 160;
|
|
6992
|
+
export declare const parseResonanceMetaDatasetName: (value: unknown) => string;
|
|
6993
|
+
declare const metaDatasetSetupPrepare: Field<{
|
|
6746
6994
|
schemaVersion: 1;
|
|
6747
|
-
|
|
6748
|
-
|
|
6995
|
+
site: string;
|
|
6996
|
+
accountBindingId: string;
|
|
6997
|
+
expectedDraftRevision: number;
|
|
6749
6998
|
idempotencyKey: string;
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
nativeAudienceRef: {
|
|
6754
|
-
externalId: string;
|
|
6755
|
-
revision: string;
|
|
6756
|
-
} & {};
|
|
6999
|
+
selection: ({
|
|
7000
|
+
kind: "existing";
|
|
7001
|
+
externalId: string;
|
|
6757
7002
|
} & {}) | ({
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
} & {})
|
|
7003
|
+
kind: "create_if_none";
|
|
7004
|
+
name: string;
|
|
7005
|
+
} & {});
|
|
6761
7006
|
} & {}>;
|
|
6762
|
-
export type
|
|
6763
|
-
export declare const
|
|
6764
|
-
export declare const
|
|
6765
|
-
declare const
|
|
7007
|
+
export type ResonanceMetaDatasetSetupPrepareRequest = Value<typeof metaDatasetSetupPrepare>;
|
|
7008
|
+
export declare const parseResonanceMetaDatasetSetupPrepareRequest: (value: unknown) => ResonanceMetaDatasetSetupPrepareRequest;
|
|
7009
|
+
export declare const RESONANCE_META_DATASET_SETUP_PREPARE_REQUEST_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7010
|
+
declare const metaDatasetSelectionRequest: Field<{
|
|
7011
|
+
schemaVersion: 1;
|
|
7012
|
+
site: string;
|
|
7013
|
+
accountBindingId: string;
|
|
7014
|
+
expectedDraftRevision: number;
|
|
7015
|
+
idempotencyKey: string;
|
|
7016
|
+
selection: {
|
|
7017
|
+
kind: "existing";
|
|
7018
|
+
externalId: string;
|
|
7019
|
+
} & {};
|
|
7020
|
+
} & {}>;
|
|
7021
|
+
declare const metaDatasetSelectionWitness: Field<{
|
|
7022
|
+
externalId: string;
|
|
7023
|
+
resourceRevision: string;
|
|
7024
|
+
observedAt: string;
|
|
7025
|
+
} & {}>;
|
|
7026
|
+
export type ResonanceMetaDatasetSelectionRequest = Value<typeof metaDatasetSelectionRequest>;
|
|
7027
|
+
export type ResonanceMetaDatasetSelectionWitness = Value<typeof metaDatasetSelectionWitness>;
|
|
7028
|
+
export declare const parseResonanceMetaDatasetSelectionRequest: (value: unknown) => ResonanceMetaDatasetSelectionRequest;
|
|
7029
|
+
export declare const parseResonanceMetaDatasetSelectionWitness: (value: unknown) => ResonanceMetaDatasetSelectionWitness;
|
|
7030
|
+
export declare const RESONANCE_META_DATASET_SELECTION_REQUEST_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7031
|
+
export declare const RESONANCE_META_DATASET_SELECTION_WITNESS_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7032
|
+
declare const metaDatasetSetupIntent: Field<{
|
|
6766
7033
|
schemaVersion: 1;
|
|
7034
|
+
site: string;
|
|
7035
|
+
accountBindingId: string;
|
|
7036
|
+
expectedDraftRevision: number;
|
|
7037
|
+
idempotencyKey: string;
|
|
7038
|
+
selection: ({
|
|
7039
|
+
kind: "existing";
|
|
7040
|
+
externalId: string;
|
|
7041
|
+
} & {}) | ({
|
|
7042
|
+
kind: "create_if_none";
|
|
7043
|
+
name: string;
|
|
7044
|
+
} & {});
|
|
7045
|
+
orgId: string;
|
|
6767
7046
|
projectId: string;
|
|
6768
7047
|
campaignId: string;
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
7048
|
+
connectionId: string;
|
|
7049
|
+
accountBindingRevision: number;
|
|
7050
|
+
connectionRevision: string;
|
|
7051
|
+
capabilityRevision: string;
|
|
7052
|
+
expectedKillRevision: number;
|
|
7053
|
+
externalAccountId: string;
|
|
7054
|
+
businessId: string;
|
|
7055
|
+
} & {}>;
|
|
7056
|
+
declare const metaDatasetSetupReview: Field<{
|
|
7057
|
+
intent: {
|
|
7058
|
+
schemaVersion: 1;
|
|
6777
7059
|
site: string;
|
|
6778
|
-
id: string;
|
|
6779
|
-
destinationId: string;
|
|
6780
|
-
creativeIds: string[];
|
|
6781
|
-
localCampaignKey: string;
|
|
6782
|
-
kind: "meta_retargeting";
|
|
6783
|
-
provider: "meta_ads";
|
|
6784
7060
|
accountBindingId: string;
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
} & {};
|
|
6790
|
-
budgetMode: "daily" | "lifetime";
|
|
6791
|
-
audienceRuleRefs: ({
|
|
6792
|
-
projectId: string;
|
|
6793
|
-
site: string;
|
|
6794
|
-
id: string;
|
|
6795
|
-
revision: string;
|
|
6796
|
-
policyRevision: string;
|
|
6797
|
-
retentionDays: number;
|
|
6798
|
-
exclusionRuleIds: string[];
|
|
6799
|
-
consentPurpose: "ad_personalization";
|
|
6800
|
-
} & {
|
|
6801
|
-
minDaysSinceVisit?: number | undefined;
|
|
6802
|
-
})[];
|
|
6803
|
-
objective: "OUTCOME_LEADS" | "OUTCOME_SALES" | "OUTCOME_TRAFFIC";
|
|
6804
|
-
pageRef: {
|
|
6805
|
-
connectionId: string;
|
|
6806
|
-
externalId: string;
|
|
6807
|
-
revision: string;
|
|
6808
|
-
} & {};
|
|
6809
|
-
instagramRef: ({
|
|
6810
|
-
connectionId: string;
|
|
7061
|
+
expectedDraftRevision: number;
|
|
7062
|
+
idempotencyKey: string;
|
|
7063
|
+
selection: ({
|
|
7064
|
+
kind: "existing";
|
|
6811
7065
|
externalId: string;
|
|
6812
|
-
revision: string;
|
|
6813
|
-
} & {}) | null;
|
|
6814
|
-
datasetRef: {
|
|
6815
|
-
id: string;
|
|
6816
|
-
revision: string;
|
|
6817
|
-
} & {};
|
|
6818
|
-
conversionGoalRef: {
|
|
6819
|
-
projectId: string;
|
|
6820
|
-
site: string;
|
|
6821
|
-
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
6822
|
-
id: string;
|
|
6823
|
-
revision: string;
|
|
6824
|
-
digest: string;
|
|
6825
|
-
} & {};
|
|
6826
|
-
optimization: "landing_page_views" | "lead" | "purchase";
|
|
6827
|
-
billing: "impressions";
|
|
6828
|
-
bid: ({
|
|
6829
|
-
strategy: "lowest_cost";
|
|
6830
7066
|
} & {}) | ({
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
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";
|
|
6834
|
-
amountMicros: string;
|
|
6835
|
-
} & {};
|
|
7067
|
+
kind: "create_if_none";
|
|
7068
|
+
name: string;
|
|
6836
7069
|
} & {});
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
7070
|
+
orgId: string;
|
|
7071
|
+
projectId: string;
|
|
7072
|
+
campaignId: string;
|
|
7073
|
+
connectionId: string;
|
|
7074
|
+
accountBindingRevision: number;
|
|
7075
|
+
connectionRevision: string;
|
|
7076
|
+
capabilityRevision: string;
|
|
7077
|
+
expectedKillRevision: number;
|
|
7078
|
+
externalAccountId: string;
|
|
7079
|
+
businessId: string;
|
|
7080
|
+
} & {};
|
|
7081
|
+
requestDigest: string;
|
|
7082
|
+
} & {}>;
|
|
7083
|
+
export type ResonanceMetaDatasetSetupIntent = Value<typeof metaDatasetSetupIntent>;
|
|
7084
|
+
export type ResonanceMetaDatasetSetupReview = Value<typeof metaDatasetSetupReview>;
|
|
7085
|
+
export declare const parseResonanceMetaDatasetSetupIntent: (value: unknown) => ResonanceMetaDatasetSetupIntent;
|
|
7086
|
+
export declare const parseResonanceMetaDatasetSetupReview: (value: unknown) => ResonanceMetaDatasetSetupReview;
|
|
7087
|
+
export declare const resonanceMetaDatasetSetupDigestInput: (value: unknown) => string;
|
|
7088
|
+
export declare const RESONANCE_META_DATASET_SETUP_REVIEW_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7089
|
+
declare const metaDatasetSetupFirstOutcome: Field<{
|
|
7090
|
+
admission: "accepted" | "rejected" | "unknown";
|
|
7091
|
+
externalId: string | null;
|
|
7092
|
+
providerRequestId: string | null;
|
|
7093
|
+
providerRequestDigest: string;
|
|
7094
|
+
} & {}>;
|
|
7095
|
+
declare const metaDatasetSetupVerification: Field<{
|
|
7096
|
+
externalId: string;
|
|
7097
|
+
externalAccountId: string;
|
|
7098
|
+
businessId: string;
|
|
7099
|
+
resourceRevision: string;
|
|
7100
|
+
observedAt: string;
|
|
7101
|
+
} & {}>;
|
|
7102
|
+
declare const metaDatasetSetupReceipt: Field<{
|
|
7103
|
+
schemaVersion: 1;
|
|
7104
|
+
operationId: string;
|
|
7105
|
+
projectId: string;
|
|
7106
|
+
campaignId: string;
|
|
7107
|
+
site: string;
|
|
7108
|
+
accountBindingId: string;
|
|
7109
|
+
requestDigest: string;
|
|
7110
|
+
status: "cancelled" | "created_unverified" | "pending" | "rejected" | "selected" | "uncertain" | "verified";
|
|
7111
|
+
firstOutcome: ({
|
|
7112
|
+
admission: "accepted" | "rejected" | "unknown";
|
|
7113
|
+
externalId: string | null;
|
|
7114
|
+
providerRequestId: string | null;
|
|
7115
|
+
providerRequestDigest: string;
|
|
7116
|
+
} & {}) | null;
|
|
7117
|
+
reasonCodes: string[];
|
|
7118
|
+
currentVerification: ({
|
|
7119
|
+
externalId: string;
|
|
7120
|
+
externalAccountId: string;
|
|
7121
|
+
businessId: string;
|
|
7122
|
+
resourceRevision: string;
|
|
7123
|
+
observedAt: string;
|
|
7124
|
+
} & {}) | null;
|
|
7125
|
+
} & {}>;
|
|
7126
|
+
export type ResonanceMetaDatasetSetupFirstOutcome = Value<typeof metaDatasetSetupFirstOutcome>;
|
|
7127
|
+
export type ResonanceMetaDatasetSetupVerification = Value<typeof metaDatasetSetupVerification>;
|
|
7128
|
+
export type ResonanceMetaDatasetSetupReceipt = Value<typeof metaDatasetSetupReceipt>;
|
|
7129
|
+
export declare const parseResonanceMetaDatasetSetupReceipt: (value: unknown) => ResonanceMetaDatasetSetupReceipt;
|
|
7130
|
+
export declare const RESONANCE_META_DATASET_SETUP_RECEIPT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7131
|
+
declare const metaAudienceSetupPrepare: Field<{
|
|
7132
|
+
schemaVersion: 1;
|
|
7133
|
+
site: string;
|
|
7134
|
+
accountBindingId: string;
|
|
7135
|
+
expectedDraftRevision: number;
|
|
7136
|
+
idempotencyKey: string;
|
|
7137
|
+
dataset: {
|
|
7138
|
+
externalId: string;
|
|
7139
|
+
resourceRevision: string;
|
|
7140
|
+
} & {};
|
|
7141
|
+
audienceRule: {
|
|
7142
|
+
id: string;
|
|
7143
|
+
revision: string;
|
|
7144
|
+
} & {};
|
|
7145
|
+
selection: ({
|
|
7146
|
+
kind: "existing";
|
|
7147
|
+
externalId: string;
|
|
7148
|
+
resourceRevision: string;
|
|
7149
|
+
} & {}) | ({
|
|
7150
|
+
kind: "create_if_none";
|
|
7151
|
+
} & {});
|
|
7152
|
+
feed: ({
|
|
7153
|
+
kind: "off";
|
|
7154
|
+
} & {}) | ({
|
|
7155
|
+
kind: "enable";
|
|
7156
|
+
expiresAt: string;
|
|
7157
|
+
} & {});
|
|
7158
|
+
} & {}>;
|
|
7159
|
+
export type ResonanceMetaAudienceSetupPrepareRequest = Value<typeof metaAudienceSetupPrepare>;
|
|
7160
|
+
export declare const parseResonanceMetaAudienceSetupPrepareRequest: (value: unknown) => ResonanceMetaAudienceSetupPrepareRequest;
|
|
7161
|
+
export declare const RESONANCE_META_AUDIENCE_SETUP_PREPARE_REQUEST_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7162
|
+
declare const metaAudienceSetupIntent: Field<{
|
|
7163
|
+
orgId: string;
|
|
7164
|
+
projectId: string;
|
|
7165
|
+
campaignId: string;
|
|
7166
|
+
connectionId: string;
|
|
7167
|
+
accountBindingRevision: number;
|
|
7168
|
+
connectionRevision: string;
|
|
7169
|
+
capabilityRevision: string;
|
|
7170
|
+
expectedKillRevision: number;
|
|
7171
|
+
externalAccountId: string;
|
|
7172
|
+
businessId: string;
|
|
7173
|
+
schemaVersion: 1;
|
|
7174
|
+
site: string;
|
|
7175
|
+
accountBindingId: string;
|
|
7176
|
+
expectedDraftRevision: number;
|
|
7177
|
+
idempotencyKey: string;
|
|
7178
|
+
dataset: {
|
|
7179
|
+
externalId: string;
|
|
7180
|
+
resourceRevision: string;
|
|
7181
|
+
} & {};
|
|
7182
|
+
audienceRule: {
|
|
7183
|
+
id: string;
|
|
7184
|
+
revision: string;
|
|
7185
|
+
} & {};
|
|
7186
|
+
selection: ({
|
|
7187
|
+
kind: "existing";
|
|
7188
|
+
externalId: string;
|
|
7189
|
+
resourceRevision: string;
|
|
7190
|
+
} & {}) | ({
|
|
7191
|
+
kind: "create_if_none";
|
|
7192
|
+
} & {});
|
|
7193
|
+
feed: ({
|
|
7194
|
+
kind: "off";
|
|
7195
|
+
} & {}) | ({
|
|
7196
|
+
kind: "enable";
|
|
7197
|
+
expiresAt: string;
|
|
7198
|
+
} & {});
|
|
7199
|
+
audienceRuleRef: {
|
|
7200
|
+
projectId: string;
|
|
7201
|
+
site: string;
|
|
7202
|
+
id: string;
|
|
7203
|
+
revision: string;
|
|
7204
|
+
policyRevision: string;
|
|
7205
|
+
retentionDays: number;
|
|
7206
|
+
exclusionRuleIds: string[];
|
|
7207
|
+
consentPurpose: "ad_personalization";
|
|
7208
|
+
} & {
|
|
7209
|
+
minDaysSinceVisit?: number | undefined;
|
|
7210
|
+
};
|
|
7211
|
+
resourceRuleRef: {
|
|
7212
|
+
id: string;
|
|
7213
|
+
revision: string;
|
|
7214
|
+
} & {};
|
|
7215
|
+
excludedResourceRuleRefs: ({
|
|
7216
|
+
id: string;
|
|
7217
|
+
revision: string;
|
|
7218
|
+
} & {})[];
|
|
7219
|
+
measurementConfigRef: {
|
|
7220
|
+
configRevision: string;
|
|
7221
|
+
policyRevision: string;
|
|
7222
|
+
digest: string;
|
|
7223
|
+
} & {};
|
|
7224
|
+
matchingProfileRef: {
|
|
7225
|
+
id: string;
|
|
7226
|
+
revision: number;
|
|
7227
|
+
digest: string;
|
|
7228
|
+
} & {};
|
|
7229
|
+
audienceSpecDigest: string;
|
|
7230
|
+
name: string;
|
|
7231
|
+
expiresAt: string;
|
|
7232
|
+
} & {}>;
|
|
7233
|
+
declare const metaAudienceSetupReview: Field<{
|
|
7234
|
+
intent: {
|
|
7235
|
+
orgId: string;
|
|
7236
|
+
projectId: string;
|
|
7237
|
+
campaignId: string;
|
|
7238
|
+
connectionId: string;
|
|
7239
|
+
accountBindingRevision: number;
|
|
7240
|
+
connectionRevision: string;
|
|
7241
|
+
capabilityRevision: string;
|
|
7242
|
+
expectedKillRevision: number;
|
|
7243
|
+
externalAccountId: string;
|
|
7244
|
+
businessId: string;
|
|
7245
|
+
schemaVersion: 1;
|
|
7246
|
+
site: string;
|
|
7247
|
+
accountBindingId: string;
|
|
7248
|
+
expectedDraftRevision: number;
|
|
7249
|
+
idempotencyKey: string;
|
|
7250
|
+
dataset: {
|
|
7251
|
+
externalId: string;
|
|
7252
|
+
resourceRevision: string;
|
|
7253
|
+
} & {};
|
|
7254
|
+
audienceRule: {
|
|
7255
|
+
id: string;
|
|
7256
|
+
revision: string;
|
|
7257
|
+
} & {};
|
|
7258
|
+
selection: ({
|
|
7259
|
+
kind: "existing";
|
|
7260
|
+
externalId: string;
|
|
7261
|
+
resourceRevision: string;
|
|
7262
|
+
} & {}) | ({
|
|
7263
|
+
kind: "create_if_none";
|
|
7264
|
+
} & {});
|
|
7265
|
+
feed: ({
|
|
7266
|
+
kind: "off";
|
|
7267
|
+
} & {}) | ({
|
|
7268
|
+
kind: "enable";
|
|
7269
|
+
expiresAt: string;
|
|
7270
|
+
} & {});
|
|
7271
|
+
audienceRuleRef: {
|
|
7272
|
+
projectId: string;
|
|
7273
|
+
site: string;
|
|
7274
|
+
id: string;
|
|
7275
|
+
revision: string;
|
|
7276
|
+
policyRevision: string;
|
|
7277
|
+
retentionDays: number;
|
|
7278
|
+
exclusionRuleIds: string[];
|
|
7279
|
+
consentPurpose: "ad_personalization";
|
|
7280
|
+
} & {
|
|
7281
|
+
minDaysSinceVisit?: number | undefined;
|
|
7282
|
+
};
|
|
7283
|
+
resourceRuleRef: {
|
|
7284
|
+
id: string;
|
|
7285
|
+
revision: string;
|
|
7286
|
+
} & {};
|
|
7287
|
+
excludedResourceRuleRefs: ({
|
|
7288
|
+
id: string;
|
|
7289
|
+
revision: string;
|
|
7290
|
+
} & {})[];
|
|
7291
|
+
measurementConfigRef: {
|
|
7292
|
+
configRevision: string;
|
|
7293
|
+
policyRevision: string;
|
|
7294
|
+
digest: string;
|
|
7295
|
+
} & {};
|
|
7296
|
+
matchingProfileRef: {
|
|
7297
|
+
id: string;
|
|
7298
|
+
revision: number;
|
|
7299
|
+
digest: string;
|
|
7300
|
+
} & {};
|
|
7301
|
+
audienceSpecDigest: string;
|
|
7302
|
+
name: string;
|
|
7303
|
+
expiresAt: string;
|
|
7304
|
+
} & {};
|
|
7305
|
+
requestDigest: string;
|
|
7306
|
+
} & {}>;
|
|
7307
|
+
export type ResonanceMetaAudienceSetupIntent = Value<typeof metaAudienceSetupIntent>;
|
|
7308
|
+
export type ResonanceMetaAudienceSetupReview = Value<typeof metaAudienceSetupReview>;
|
|
7309
|
+
export declare const parseResonanceMetaAudienceSetupIntent: (value: unknown) => ResonanceMetaAudienceSetupIntent;
|
|
7310
|
+
export declare const parseResonanceMetaAudienceSetupReview: (value: unknown) => ResonanceMetaAudienceSetupReview;
|
|
7311
|
+
export declare const resonanceMetaAudienceSetupDigestInput: (value: unknown) => string;
|
|
7312
|
+
export declare const RESONANCE_META_AUDIENCE_SETUP_REVIEW_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7313
|
+
/** Meta documents 180 days for a website audience's create parameter. Single source: the API and the editor import this, never a local copy. */
|
|
7314
|
+
export declare const META_WEBSITE_AUDIENCE_MAX_RETENTION_DAYS = 180;
|
|
7315
|
+
declare const metaAudienceSetupVerification: Field<{
|
|
7316
|
+
externalId: string;
|
|
7317
|
+
externalAccountId: string;
|
|
7318
|
+
businessId: string;
|
|
7319
|
+
resourceRevision: string;
|
|
7320
|
+
observedAt: string;
|
|
7321
|
+
datasetExternalId: string;
|
|
7322
|
+
datasetResourceRevision: string;
|
|
7323
|
+
audienceSpecDigest: string;
|
|
7324
|
+
retentionDays: number;
|
|
7325
|
+
} & {}>;
|
|
7326
|
+
declare const metaAudienceSetupReceipt: Field<{
|
|
7327
|
+
schemaVersion: 1;
|
|
7328
|
+
operationId: string;
|
|
7329
|
+
projectId: string;
|
|
7330
|
+
campaignId: string;
|
|
7331
|
+
site: string;
|
|
7332
|
+
accountBindingId: string;
|
|
7333
|
+
requestDigest: string;
|
|
7334
|
+
status: "cancelled" | "created_unverified" | "pending" | "rejected" | "selected" | "uncertain" | "verified";
|
|
7335
|
+
firstOutcome: ({
|
|
7336
|
+
admission: "accepted" | "rejected" | "unknown";
|
|
7337
|
+
externalId: string | null;
|
|
7338
|
+
providerRequestId: string | null;
|
|
7339
|
+
providerRequestDigest: string;
|
|
7340
|
+
} & {}) | null;
|
|
7341
|
+
reasonCodes: string[];
|
|
7342
|
+
currentVerification: ({
|
|
7343
|
+
externalId: string;
|
|
7344
|
+
externalAccountId: string;
|
|
7345
|
+
businessId: string;
|
|
7346
|
+
resourceRevision: string;
|
|
7347
|
+
observedAt: string;
|
|
7348
|
+
datasetExternalId: string;
|
|
7349
|
+
datasetResourceRevision: string;
|
|
7350
|
+
audienceSpecDigest: string;
|
|
7351
|
+
retentionDays: number;
|
|
7352
|
+
} & {}) | null;
|
|
7353
|
+
} & {}>;
|
|
7354
|
+
export type ResonanceMetaAudienceSetupVerification = Value<typeof metaAudienceSetupVerification>;
|
|
7355
|
+
export type ResonanceMetaAudienceSetupReceipt = Value<typeof metaAudienceSetupReceipt>;
|
|
7356
|
+
export declare const parseResonanceMetaAudienceSetupReceipt: (value: unknown) => ResonanceMetaAudienceSetupReceipt;
|
|
7357
|
+
export declare const resonanceMetaAudienceSetupReceiptDigestInput: (value: unknown) => string;
|
|
7358
|
+
export declare const RESONANCE_META_AUDIENCE_SETUP_RECEIPT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7359
|
+
declare const websiteVisitSetupGrantProof: Field<{
|
|
7360
|
+
schemaVersion: 1;
|
|
7361
|
+
grantOperationId: string;
|
|
7362
|
+
audienceOperationId: string;
|
|
7363
|
+
approvalActionId: string;
|
|
7364
|
+
requestDigest: string;
|
|
7365
|
+
audienceReceiptDigest: string;
|
|
7366
|
+
generation: number;
|
|
7367
|
+
activatedAt: string;
|
|
7368
|
+
expiresAt: string;
|
|
7369
|
+
projectId: string;
|
|
7370
|
+
campaignId: string;
|
|
7371
|
+
site: string;
|
|
7372
|
+
accountBindingId: string;
|
|
7373
|
+
audience: {
|
|
7374
|
+
externalId: string;
|
|
7375
|
+
externalAccountId: string;
|
|
7376
|
+
businessId: string;
|
|
7377
|
+
resourceRevision: string;
|
|
7378
|
+
observedAt: string;
|
|
7379
|
+
datasetExternalId: string;
|
|
7380
|
+
datasetResourceRevision: string;
|
|
7381
|
+
audienceSpecDigest: string;
|
|
7382
|
+
retentionDays: number;
|
|
7383
|
+
} & {};
|
|
7384
|
+
} & {}>;
|
|
7385
|
+
declare const websiteVisitSetupGrantStatus: Field<{
|
|
7386
|
+
proof: {
|
|
7387
|
+
schemaVersion: 1;
|
|
7388
|
+
grantOperationId: string;
|
|
7389
|
+
audienceOperationId: string;
|
|
7390
|
+
approvalActionId: string;
|
|
7391
|
+
requestDigest: string;
|
|
7392
|
+
audienceReceiptDigest: string;
|
|
7393
|
+
generation: number;
|
|
7394
|
+
activatedAt: string;
|
|
7395
|
+
expiresAt: string;
|
|
7396
|
+
projectId: string;
|
|
7397
|
+
campaignId: string;
|
|
7398
|
+
site: string;
|
|
7399
|
+
accountBindingId: string;
|
|
7400
|
+
audience: {
|
|
7401
|
+
externalId: string;
|
|
7402
|
+
externalAccountId: string;
|
|
7403
|
+
businessId: string;
|
|
7404
|
+
resourceRevision: string;
|
|
7405
|
+
observedAt: string;
|
|
7406
|
+
datasetExternalId: string;
|
|
7407
|
+
datasetResourceRevision: string;
|
|
7408
|
+
audienceSpecDigest: string;
|
|
7409
|
+
retentionDays: number;
|
|
7410
|
+
} & {};
|
|
7411
|
+
} & {};
|
|
7412
|
+
status: "active" | "expired" | "invalidated" | "revoked";
|
|
7413
|
+
checkedAt: string;
|
|
7414
|
+
revokedAt: string | null;
|
|
7415
|
+
reasonCodes: string[];
|
|
7416
|
+
} & {}>;
|
|
7417
|
+
export type ResonanceWebsiteVisitSetupGrantProof = Value<typeof websiteVisitSetupGrantProof>;
|
|
7418
|
+
export type ResonanceWebsiteVisitSetupGrantStatus = Value<typeof websiteVisitSetupGrantStatus>;
|
|
7419
|
+
export declare const parseResonanceWebsiteVisitSetupGrantProof: (value: unknown) => ResonanceWebsiteVisitSetupGrantProof;
|
|
7420
|
+
export declare const parseResonanceWebsiteVisitSetupGrantStatus: (value: unknown) => ResonanceWebsiteVisitSetupGrantStatus;
|
|
7421
|
+
export declare const RESONANCE_WEBSITE_VISIT_SETUP_GRANT_PROOF_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7422
|
+
export declare const RESONANCE_WEBSITE_VISIT_SETUP_GRANT_STATUS_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7423
|
+
declare const metaAudienceSetupStatus: Field<{
|
|
7424
|
+
receipt: {
|
|
7425
|
+
schemaVersion: 1;
|
|
7426
|
+
operationId: string;
|
|
7427
|
+
projectId: string;
|
|
7428
|
+
campaignId: string;
|
|
7429
|
+
site: string;
|
|
7430
|
+
accountBindingId: string;
|
|
7431
|
+
requestDigest: string;
|
|
7432
|
+
status: "cancelled" | "created_unverified" | "pending" | "rejected" | "selected" | "uncertain" | "verified";
|
|
7433
|
+
firstOutcome: ({
|
|
7434
|
+
admission: "accepted" | "rejected" | "unknown";
|
|
7435
|
+
externalId: string | null;
|
|
7436
|
+
providerRequestId: string | null;
|
|
7437
|
+
providerRequestDigest: string;
|
|
7438
|
+
} & {}) | null;
|
|
7439
|
+
reasonCodes: string[];
|
|
7440
|
+
currentVerification: ({
|
|
7441
|
+
externalId: string;
|
|
7442
|
+
externalAccountId: string;
|
|
7443
|
+
businessId: string;
|
|
7444
|
+
resourceRevision: string;
|
|
7445
|
+
observedAt: string;
|
|
7446
|
+
datasetExternalId: string;
|
|
7447
|
+
datasetResourceRevision: string;
|
|
7448
|
+
audienceSpecDigest: string;
|
|
7449
|
+
retentionDays: number;
|
|
7450
|
+
} & {}) | null;
|
|
7451
|
+
} & {};
|
|
7452
|
+
grant: ({
|
|
7453
|
+
proof: {
|
|
7454
|
+
schemaVersion: 1;
|
|
7455
|
+
grantOperationId: string;
|
|
7456
|
+
audienceOperationId: string;
|
|
7457
|
+
approvalActionId: string;
|
|
7458
|
+
requestDigest: string;
|
|
7459
|
+
audienceReceiptDigest: string;
|
|
7460
|
+
generation: number;
|
|
7461
|
+
activatedAt: string;
|
|
7462
|
+
expiresAt: string;
|
|
7463
|
+
projectId: string;
|
|
7464
|
+
campaignId: string;
|
|
7465
|
+
site: string;
|
|
7466
|
+
accountBindingId: string;
|
|
7467
|
+
audience: {
|
|
7468
|
+
externalId: string;
|
|
7469
|
+
externalAccountId: string;
|
|
7470
|
+
businessId: string;
|
|
7471
|
+
resourceRevision: string;
|
|
7472
|
+
observedAt: string;
|
|
7473
|
+
datasetExternalId: string;
|
|
7474
|
+
datasetResourceRevision: string;
|
|
7475
|
+
audienceSpecDigest: string;
|
|
7476
|
+
retentionDays: number;
|
|
7477
|
+
} & {};
|
|
7478
|
+
} & {};
|
|
7479
|
+
status: "active" | "expired" | "invalidated" | "revoked";
|
|
7480
|
+
checkedAt: string;
|
|
7481
|
+
revokedAt: string | null;
|
|
7482
|
+
reasonCodes: string[];
|
|
7483
|
+
} & {}) | null;
|
|
7484
|
+
} & {}>;
|
|
7485
|
+
export type ResonanceMetaAudienceSetupStatus = Value<typeof metaAudienceSetupStatus>;
|
|
7486
|
+
export declare const parseResonanceMetaAudienceSetupStatus: (value: unknown) => ResonanceMetaAudienceSetupStatus;
|
|
7487
|
+
export declare const RESONANCE_META_AUDIENCE_SETUP_STATUS_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7488
|
+
declare const metaAudienceSetupList: Field<{
|
|
7489
|
+
items: ({
|
|
7490
|
+
receipt: {
|
|
7491
|
+
schemaVersion: 1;
|
|
7492
|
+
operationId: string;
|
|
7493
|
+
projectId: string;
|
|
7494
|
+
campaignId: string;
|
|
7495
|
+
site: string;
|
|
7496
|
+
accountBindingId: string;
|
|
7497
|
+
requestDigest: string;
|
|
7498
|
+
status: "cancelled" | "created_unverified" | "pending" | "rejected" | "selected" | "uncertain" | "verified";
|
|
7499
|
+
firstOutcome: ({
|
|
7500
|
+
admission: "accepted" | "rejected" | "unknown";
|
|
7501
|
+
externalId: string | null;
|
|
7502
|
+
providerRequestId: string | null;
|
|
7503
|
+
providerRequestDigest: string;
|
|
7504
|
+
} & {}) | null;
|
|
7505
|
+
reasonCodes: string[];
|
|
7506
|
+
currentVerification: ({
|
|
7507
|
+
externalId: string;
|
|
7508
|
+
externalAccountId: string;
|
|
7509
|
+
businessId: string;
|
|
7510
|
+
resourceRevision: string;
|
|
7511
|
+
observedAt: string;
|
|
7512
|
+
datasetExternalId: string;
|
|
7513
|
+
datasetResourceRevision: string;
|
|
7514
|
+
audienceSpecDigest: string;
|
|
7515
|
+
retentionDays: number;
|
|
7516
|
+
} & {}) | null;
|
|
7517
|
+
} & {};
|
|
7518
|
+
grant: ({
|
|
7519
|
+
proof: {
|
|
7520
|
+
schemaVersion: 1;
|
|
7521
|
+
grantOperationId: string;
|
|
7522
|
+
audienceOperationId: string;
|
|
7523
|
+
approvalActionId: string;
|
|
7524
|
+
requestDigest: string;
|
|
7525
|
+
audienceReceiptDigest: string;
|
|
7526
|
+
generation: number;
|
|
7527
|
+
activatedAt: string;
|
|
7528
|
+
expiresAt: string;
|
|
7529
|
+
projectId: string;
|
|
7530
|
+
campaignId: string;
|
|
7531
|
+
site: string;
|
|
7532
|
+
accountBindingId: string;
|
|
7533
|
+
audience: {
|
|
7534
|
+
externalId: string;
|
|
7535
|
+
externalAccountId: string;
|
|
7536
|
+
businessId: string;
|
|
7537
|
+
resourceRevision: string;
|
|
7538
|
+
observedAt: string;
|
|
7539
|
+
datasetExternalId: string;
|
|
7540
|
+
datasetResourceRevision: string;
|
|
7541
|
+
audienceSpecDigest: string;
|
|
7542
|
+
retentionDays: number;
|
|
7543
|
+
} & {};
|
|
7544
|
+
} & {};
|
|
7545
|
+
status: "active" | "expired" | "invalidated" | "revoked";
|
|
7546
|
+
checkedAt: string;
|
|
7547
|
+
revokedAt: string | null;
|
|
7548
|
+
reasonCodes: string[];
|
|
7549
|
+
} & {}) | null;
|
|
7550
|
+
ledgerActionId: string;
|
|
7551
|
+
} & {})[];
|
|
7552
|
+
nextCursor: string | null;
|
|
7553
|
+
} & {}>;
|
|
7554
|
+
export type ResonanceMetaAudienceSetupList = Value<typeof metaAudienceSetupList>;
|
|
7555
|
+
export declare const parseResonanceMetaAudienceSetupList: (value: unknown) => ResonanceMetaAudienceSetupList;
|
|
7556
|
+
export declare const RESONANCE_META_AUDIENCE_SETUP_LIST_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7557
|
+
declare const websiteVisitSetupGrant: Field<{
|
|
7558
|
+
proof: {
|
|
7559
|
+
schemaVersion: 1;
|
|
7560
|
+
grantOperationId: string;
|
|
7561
|
+
audienceOperationId: string;
|
|
7562
|
+
approvalActionId: string;
|
|
7563
|
+
requestDigest: string;
|
|
7564
|
+
audienceReceiptDigest: string;
|
|
7565
|
+
generation: number;
|
|
7566
|
+
activatedAt: string;
|
|
7567
|
+
expiresAt: string;
|
|
7568
|
+
projectId: string;
|
|
7569
|
+
campaignId: string;
|
|
7570
|
+
site: string;
|
|
7571
|
+
accountBindingId: string;
|
|
7572
|
+
audience: {
|
|
7573
|
+
externalId: string;
|
|
7574
|
+
externalAccountId: string;
|
|
7575
|
+
businessId: string;
|
|
7576
|
+
resourceRevision: string;
|
|
7577
|
+
observedAt: string;
|
|
7578
|
+
datasetExternalId: string;
|
|
7579
|
+
datasetResourceRevision: string;
|
|
7580
|
+
audienceSpecDigest: string;
|
|
7581
|
+
retentionDays: number;
|
|
7582
|
+
} & {};
|
|
7583
|
+
} & {};
|
|
7584
|
+
intent: {
|
|
7585
|
+
orgId: string;
|
|
7586
|
+
projectId: string;
|
|
7587
|
+
campaignId: string;
|
|
7588
|
+
connectionId: string;
|
|
7589
|
+
accountBindingRevision: number;
|
|
7590
|
+
connectionRevision: string;
|
|
7591
|
+
capabilityRevision: string;
|
|
7592
|
+
expectedKillRevision: number;
|
|
7593
|
+
externalAccountId: string;
|
|
7594
|
+
businessId: string;
|
|
7595
|
+
schemaVersion: 1;
|
|
7596
|
+
site: string;
|
|
7597
|
+
accountBindingId: string;
|
|
7598
|
+
expectedDraftRevision: number;
|
|
7599
|
+
idempotencyKey: string;
|
|
7600
|
+
dataset: {
|
|
7601
|
+
externalId: string;
|
|
7602
|
+
resourceRevision: string;
|
|
7603
|
+
} & {};
|
|
7604
|
+
audienceRule: {
|
|
7605
|
+
id: string;
|
|
7606
|
+
revision: string;
|
|
7607
|
+
} & {};
|
|
7608
|
+
selection: ({
|
|
7609
|
+
kind: "existing";
|
|
7610
|
+
externalId: string;
|
|
7611
|
+
resourceRevision: string;
|
|
7612
|
+
} & {}) | ({
|
|
7613
|
+
kind: "create_if_none";
|
|
7614
|
+
} & {});
|
|
7615
|
+
feed: ({
|
|
7616
|
+
kind: "off";
|
|
7617
|
+
} & {}) | ({
|
|
7618
|
+
kind: "enable";
|
|
7619
|
+
expiresAt: string;
|
|
7620
|
+
} & {});
|
|
7621
|
+
audienceRuleRef: {
|
|
7622
|
+
projectId: string;
|
|
7623
|
+
site: string;
|
|
7624
|
+
id: string;
|
|
7625
|
+
revision: string;
|
|
7626
|
+
policyRevision: string;
|
|
7627
|
+
retentionDays: number;
|
|
7628
|
+
exclusionRuleIds: string[];
|
|
7629
|
+
consentPurpose: "ad_personalization";
|
|
7630
|
+
} & {
|
|
7631
|
+
minDaysSinceVisit?: number | undefined;
|
|
7632
|
+
};
|
|
7633
|
+
resourceRuleRef: {
|
|
7634
|
+
id: string;
|
|
7635
|
+
revision: string;
|
|
7636
|
+
} & {};
|
|
7637
|
+
excludedResourceRuleRefs: ({
|
|
7638
|
+
id: string;
|
|
7639
|
+
revision: string;
|
|
7640
|
+
} & {})[];
|
|
7641
|
+
measurementConfigRef: {
|
|
7642
|
+
configRevision: string;
|
|
7643
|
+
policyRevision: string;
|
|
7644
|
+
digest: string;
|
|
7645
|
+
} & {};
|
|
7646
|
+
matchingProfileRef: {
|
|
7647
|
+
id: string;
|
|
7648
|
+
revision: number;
|
|
7649
|
+
digest: string;
|
|
7650
|
+
} & {};
|
|
7651
|
+
audienceSpecDigest: string;
|
|
7652
|
+
name: string;
|
|
7653
|
+
expiresAt: string;
|
|
7654
|
+
} & {};
|
|
7655
|
+
} & {}>;
|
|
7656
|
+
export type ResonanceWebsiteVisitSetupGrant = Value<typeof websiteVisitSetupGrant>;
|
|
7657
|
+
/** Structural checks only. Native callers authenticate original approval, receipt and digest. */
|
|
7658
|
+
export declare const parseResonanceWebsiteVisitSetupGrant: (value: unknown) => ResonanceWebsiteVisitSetupGrant;
|
|
7659
|
+
declare const websiteVisitSetupOrigin: Field<{
|
|
7660
|
+
kind: "setup";
|
|
7661
|
+
grantOperationId: string;
|
|
7662
|
+
generation: number;
|
|
7663
|
+
} & {}>;
|
|
7664
|
+
declare const websiteVisitSetupGrantAcceptedVisits: Field<{
|
|
7665
|
+
acceptedVisits: number;
|
|
7666
|
+
checkedAt: string;
|
|
7667
|
+
grantOperationId: string;
|
|
7668
|
+
} & {}>;
|
|
7669
|
+
export type ResonanceWebsiteVisitSetupGrantAcceptedVisits = Value<typeof websiteVisitSetupGrantAcceptedVisits>;
|
|
7670
|
+
export declare const parseResonanceWebsiteVisitSetupGrantAcceptedVisits: (value: unknown) => ResonanceWebsiteVisitSetupGrantAcceptedVisits;
|
|
7671
|
+
export declare const RESONANCE_WEBSITE_VISIT_SETUP_GRANT_ACCEPTED_VISITS_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7672
|
+
declare const websiteVisitSetupDeliveryCommand: Field<{
|
|
7673
|
+
schemaVersion: 1;
|
|
7674
|
+
operation: "deliver_website_visit";
|
|
7675
|
+
campaignId: string;
|
|
7676
|
+
occurrenceId: string;
|
|
7677
|
+
idempotencyKey: string;
|
|
7678
|
+
setupOrigin: {
|
|
7679
|
+
kind: "setup";
|
|
7680
|
+
grantOperationId: string;
|
|
7681
|
+
generation: number;
|
|
7682
|
+
} & {};
|
|
7683
|
+
} & {}>;
|
|
7684
|
+
export type ResonanceWebsiteVisitSetupOrigin = Value<typeof websiteVisitSetupOrigin>;
|
|
7685
|
+
export type ResonanceWebsiteVisitSetupDeliveryCommand = Value<typeof websiteVisitSetupDeliveryCommand>;
|
|
7686
|
+
export declare const parseResonanceWebsiteVisitSetupOrigin: (value: unknown) => ResonanceWebsiteVisitSetupOrigin;
|
|
7687
|
+
export declare const parseResonanceWebsiteVisitSetupDeliveryCommand: (value: unknown) => ResonanceWebsiteVisitSetupDeliveryCommand;
|
|
7688
|
+
export declare const resonanceWebsiteVisitSetupDeliveryDigestInput: (value: unknown) => string;
|
|
7689
|
+
export declare const RESONANCE_WEBSITE_VISIT_SETUP_DELIVERY_COMMAND_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7690
|
+
declare const websiteVisitSetupTimeContext: Field<{
|
|
7691
|
+
activatedAt: string;
|
|
7692
|
+
expiresAt: string;
|
|
7693
|
+
now: string;
|
|
7694
|
+
} & {}>;
|
|
7695
|
+
/** Timing only. Native admission must still authenticate the active grant and current consent. */
|
|
7696
|
+
export declare function resonanceWebsiteVisitSetupEventTime(value: unknown, context: Value<typeof websiteVisitSetupTimeContext>): number;
|
|
7697
|
+
declare const metaSave: Field<{
|
|
7698
|
+
schemaVersion: 1;
|
|
7699
|
+
expectedCampaignRevision: number;
|
|
7700
|
+
expectedConfigurationRevision: number;
|
|
7701
|
+
idempotencyKey: string;
|
|
7702
|
+
audiences: (({
|
|
7703
|
+
audienceRuleId: string;
|
|
7704
|
+
mode: "existing";
|
|
7705
|
+
nativeAudienceRef: {
|
|
7706
|
+
externalId: string;
|
|
7707
|
+
revision: string;
|
|
7708
|
+
} & {};
|
|
7709
|
+
} & {}) | ({
|
|
7710
|
+
audienceRuleId: string;
|
|
7711
|
+
mode: "admitted_setup";
|
|
7712
|
+
} & {}))[];
|
|
7713
|
+
} & {}>;
|
|
7714
|
+
export type ResonanceMetaConfigurationSaveCommand = Value<typeof metaSave>;
|
|
7715
|
+
export declare const parseResonanceMetaConfigurationSaveCommand: (v: unknown) => ResonanceMetaConfigurationSaveCommand;
|
|
7716
|
+
export declare const resonanceMetaConfigurationSaveDigestInput: (v: unknown) => string;
|
|
7717
|
+
declare const metaSnapshot: Field<{
|
|
7718
|
+
schemaVersion: 1;
|
|
7719
|
+
projectId: string;
|
|
7720
|
+
campaignId: string;
|
|
7721
|
+
channelId: string;
|
|
7722
|
+
site: string;
|
|
7723
|
+
campaignRevision: number;
|
|
7724
|
+
reviewedDefinitionDigest: string;
|
|
7725
|
+
configurationRevision: number;
|
|
7726
|
+
saveOperationId: string;
|
|
7727
|
+
channel: {
|
|
7728
|
+
projectId: string;
|
|
7729
|
+
site: string;
|
|
7730
|
+
id: string;
|
|
7731
|
+
destinationId: string;
|
|
7732
|
+
creativeIds: string[];
|
|
7733
|
+
localCampaignKey: string;
|
|
7734
|
+
kind: "meta_retargeting";
|
|
7735
|
+
provider: "meta_ads";
|
|
7736
|
+
accountBindingId: string;
|
|
7737
|
+
capabilityRevision: string;
|
|
7738
|
+
allocation: {
|
|
7739
|
+
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";
|
|
7740
|
+
amountMicros: string;
|
|
7741
|
+
} & {};
|
|
7742
|
+
budgetMode: "daily" | "lifetime";
|
|
7743
|
+
audienceRuleRefs: ({
|
|
7744
|
+
projectId: string;
|
|
7745
|
+
site: string;
|
|
7746
|
+
id: string;
|
|
7747
|
+
revision: string;
|
|
7748
|
+
policyRevision: string;
|
|
7749
|
+
retentionDays: number;
|
|
7750
|
+
exclusionRuleIds: string[];
|
|
7751
|
+
consentPurpose: "ad_personalization";
|
|
7752
|
+
} & {
|
|
7753
|
+
minDaysSinceVisit?: number | undefined;
|
|
7754
|
+
})[];
|
|
7755
|
+
objective: "OUTCOME_LEADS" | "OUTCOME_SALES" | "OUTCOME_TRAFFIC";
|
|
7756
|
+
pageRef: {
|
|
7757
|
+
connectionId: string;
|
|
7758
|
+
externalId: string;
|
|
7759
|
+
revision: string;
|
|
7760
|
+
} & {};
|
|
7761
|
+
instagramRef: ({
|
|
7762
|
+
connectionId: string;
|
|
7763
|
+
externalId: string;
|
|
7764
|
+
revision: string;
|
|
7765
|
+
} & {}) | null;
|
|
7766
|
+
datasetRef: {
|
|
7767
|
+
id: string;
|
|
7768
|
+
revision: string;
|
|
7769
|
+
} & {};
|
|
7770
|
+
conversionGoalRef: {
|
|
7771
|
+
projectId: string;
|
|
7772
|
+
site: string;
|
|
7773
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
7774
|
+
id: string;
|
|
7775
|
+
revision: string;
|
|
7776
|
+
digest: string;
|
|
7777
|
+
} & {};
|
|
7778
|
+
optimization: "landing_page_views" | "lead" | "purchase";
|
|
7779
|
+
billing: "impressions";
|
|
7780
|
+
bid: ({
|
|
7781
|
+
strategy: "lowest_cost";
|
|
7782
|
+
} & {}) | ({
|
|
7783
|
+
strategy: "cost_cap";
|
|
7784
|
+
cap: {
|
|
7785
|
+
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";
|
|
7786
|
+
amountMicros: string;
|
|
7787
|
+
} & {};
|
|
7788
|
+
} & {});
|
|
7789
|
+
localAdSetKey: string;
|
|
7790
|
+
localAdKey: string;
|
|
7791
|
+
budgetOwner: "adset" | "campaign";
|
|
7792
|
+
specialCategories: ("employment" | "financial_products_services" | "housing")[];
|
|
7793
|
+
countryCodes: string[];
|
|
7794
|
+
placement: "automatic";
|
|
7795
|
+
} & {
|
|
7796
|
+
ageConstraint?: ({
|
|
7797
|
+
mode: "bounded";
|
|
7798
|
+
min: number;
|
|
7799
|
+
max: number;
|
|
7800
|
+
} & {}) | ({
|
|
7801
|
+
mode: "omitted";
|
|
7802
|
+
} & {}) | ({
|
|
7803
|
+
mode: "provider_managed";
|
|
7804
|
+
} & {}) | undefined;
|
|
7805
|
+
channelGroup?: ({
|
|
7806
|
+
key: string;
|
|
7807
|
+
label: string;
|
|
7808
|
+
} & {}) | undefined;
|
|
7809
|
+
property?: ({
|
|
7810
|
+
key: string;
|
|
7811
|
+
label: string;
|
|
7812
|
+
} & {}) | undefined;
|
|
7813
|
+
tier?: ({
|
|
7814
|
+
label: string;
|
|
7815
|
+
} & {}) | undefined;
|
|
7816
|
+
primaryText?: string | undefined;
|
|
7817
|
+
convertersAcknowledged?: true | undefined;
|
|
7818
|
+
};
|
|
7819
|
+
account: {
|
|
7820
|
+
id: string;
|
|
7821
|
+
externalId: string;
|
|
7822
|
+
name: string | null;
|
|
6871
7823
|
} & {};
|
|
6872
7824
|
datasetName: string | null;
|
|
6873
7825
|
pageName: string | null;
|
|
@@ -7150,6 +8102,89 @@ export declare const RESONANCE_META_AUDIENCE_VERDICTS: readonly ['ready', 'too_s
|
|
|
7150
8102
|
export type ResonanceMetaAudienceVerdict = typeof RESONANCE_META_AUDIENCE_VERDICTS[number];
|
|
7151
8103
|
export declare const RESONANCE_META_AUDIENCE_REASONS: readonly ['meta_audience_status_unreadable', 'meta_audience_status_unrecognized', 'meta_audience_integrity_flagged', 'meta_audience_account_inactive', 'meta_audience_pixel_problem', 'meta_audience_error', 'meta_audience_out_of_date', 'meta_audience_too_small', 'meta_audience_not_usable', 'meta_audience_prefill_failed', 'meta_audience_filling', 'meta_audience_category_unknown', 'meta_url_audience_unverified', 'meta_core_setup_suspected', 'meta_audience_fill_mismatch', 'meta_core_setup_attestation_missing', 'meta_flight_too_short_after_wait', 'meta_terms_nondiscrimination_pending', 'meta_terms_custom_audience_unconfirmed', 'meta_terms_business_tools_pending', 'meta_special_category_age_must_be_provider_managed', 'meta_special_category_genders_not_allowed', 'meta_audience_name_sensitive'];
|
|
7152
8104
|
export type ResonanceMetaAudienceReason = typeof RESONANCE_META_AUDIENCE_REASONS[number];
|
|
8105
|
+
declare const metaAudienceSetupReadiness: Field<{
|
|
8106
|
+
status: {
|
|
8107
|
+
receipt: {
|
|
8108
|
+
schemaVersion: 1;
|
|
8109
|
+
operationId: string;
|
|
8110
|
+
projectId: string;
|
|
8111
|
+
campaignId: string;
|
|
8112
|
+
site: string;
|
|
8113
|
+
accountBindingId: string;
|
|
8114
|
+
requestDigest: string;
|
|
8115
|
+
status: "cancelled" | "created_unverified" | "pending" | "rejected" | "selected" | "uncertain" | "verified";
|
|
8116
|
+
firstOutcome: ({
|
|
8117
|
+
admission: "accepted" | "rejected" | "unknown";
|
|
8118
|
+
externalId: string | null;
|
|
8119
|
+
providerRequestId: string | null;
|
|
8120
|
+
providerRequestDigest: string;
|
|
8121
|
+
} & {}) | null;
|
|
8122
|
+
reasonCodes: string[];
|
|
8123
|
+
currentVerification: ({
|
|
8124
|
+
externalId: string;
|
|
8125
|
+
externalAccountId: string;
|
|
8126
|
+
businessId: string;
|
|
8127
|
+
resourceRevision: string;
|
|
8128
|
+
observedAt: string;
|
|
8129
|
+
datasetExternalId: string;
|
|
8130
|
+
datasetResourceRevision: string;
|
|
8131
|
+
audienceSpecDigest: string;
|
|
8132
|
+
retentionDays: number;
|
|
8133
|
+
} & {}) | null;
|
|
8134
|
+
} & {};
|
|
8135
|
+
grant: ({
|
|
8136
|
+
proof: {
|
|
8137
|
+
schemaVersion: 1;
|
|
8138
|
+
grantOperationId: string;
|
|
8139
|
+
audienceOperationId: string;
|
|
8140
|
+
approvalActionId: string;
|
|
8141
|
+
requestDigest: string;
|
|
8142
|
+
audienceReceiptDigest: string;
|
|
8143
|
+
generation: number;
|
|
8144
|
+
activatedAt: string;
|
|
8145
|
+
expiresAt: string;
|
|
8146
|
+
projectId: string;
|
|
8147
|
+
campaignId: string;
|
|
8148
|
+
site: string;
|
|
8149
|
+
accountBindingId: string;
|
|
8150
|
+
audience: {
|
|
8151
|
+
externalId: string;
|
|
8152
|
+
externalAccountId: string;
|
|
8153
|
+
businessId: string;
|
|
8154
|
+
resourceRevision: string;
|
|
8155
|
+
observedAt: string;
|
|
8156
|
+
datasetExternalId: string;
|
|
8157
|
+
datasetResourceRevision: string;
|
|
8158
|
+
audienceSpecDigest: string;
|
|
8159
|
+
retentionDays: number;
|
|
8160
|
+
} & {};
|
|
8161
|
+
} & {};
|
|
8162
|
+
status: "active" | "expired" | "invalidated" | "revoked";
|
|
8163
|
+
checkedAt: string;
|
|
8164
|
+
revokedAt: string | null;
|
|
8165
|
+
reasonCodes: string[];
|
|
8166
|
+
} & {}) | null;
|
|
8167
|
+
} & {};
|
|
8168
|
+
delivery: ({
|
|
8169
|
+
acceptedVisits: number;
|
|
8170
|
+
checkedAt: string;
|
|
8171
|
+
} & {}) | null;
|
|
8172
|
+
providerAudience: ({
|
|
8173
|
+
externalId: string;
|
|
8174
|
+
observedAt: string;
|
|
8175
|
+
readiness: {
|
|
8176
|
+
verdict: "blocked" | "ready" | "too_small" | "unknown";
|
|
8177
|
+
reasonCodes: ("meta_audience_account_inactive" | "meta_audience_category_unknown" | "meta_audience_error" | "meta_audience_fill_mismatch" | "meta_audience_filling" | "meta_audience_integrity_flagged" | "meta_audience_name_sensitive" | "meta_audience_not_usable" | "meta_audience_out_of_date" | "meta_audience_pixel_problem" | "meta_audience_prefill_failed" | "meta_audience_status_unreadable" | "meta_audience_status_unrecognized" | "meta_audience_too_small" | "meta_core_setup_attestation_missing" | "meta_core_setup_suspected" | "meta_flight_too_short_after_wait" | "meta_special_category_age_must_be_provider_managed" | "meta_special_category_genders_not_allowed" | "meta_terms_business_tools_pending" | "meta_terms_custom_audience_unconfirmed" | "meta_terms_nondiscrimination_pending" | "meta_url_audience_unverified")[];
|
|
8178
|
+
size: ({
|
|
8179
|
+
lower: number;
|
|
8180
|
+
upper: number;
|
|
8181
|
+
} & {}) | null;
|
|
8182
|
+
} & {};
|
|
8183
|
+
} & {}) | null;
|
|
8184
|
+
} & {}>;
|
|
8185
|
+
export type ResonanceMetaAudienceSetupReadiness = Value<typeof metaAudienceSetupReadiness>;
|
|
8186
|
+
export declare const parseResonanceMetaAudienceSetupReadiness: (value: unknown) => ResonanceMetaAudienceSetupReadiness;
|
|
8187
|
+
export declare const RESONANCE_META_AUDIENCE_SETUP_READINESS_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
7153
8188
|
declare const metaRetargetingReadiness: Field<{
|
|
7154
8189
|
schemaVersion: 1;
|
|
7155
8190
|
projectId: string;
|
|
@@ -7388,14 +8423,14 @@ declare const metaRetargetingReadiness: Field<{
|
|
|
7388
8423
|
state: "not_checked";
|
|
7389
8424
|
reasonCode: "configuration_unavailable" | "native_mapping_unavailable";
|
|
7390
8425
|
} & {}) | ({
|
|
7391
|
-
state: "observed";
|
|
7392
|
-
mappingSource: "current_materialized_audience" | "selected_external_audience";
|
|
7393
8426
|
verdict: "blocked" | "ready" | "too_small" | "unknown";
|
|
7394
8427
|
reasonCodes: ("meta_audience_account_inactive" | "meta_audience_category_unknown" | "meta_audience_error" | "meta_audience_fill_mismatch" | "meta_audience_filling" | "meta_audience_integrity_flagged" | "meta_audience_name_sensitive" | "meta_audience_not_usable" | "meta_audience_out_of_date" | "meta_audience_pixel_problem" | "meta_audience_prefill_failed" | "meta_audience_status_unreadable" | "meta_audience_status_unrecognized" | "meta_audience_too_small" | "meta_core_setup_attestation_missing" | "meta_core_setup_suspected" | "meta_flight_too_short_after_wait" | "meta_special_category_age_must_be_provider_managed" | "meta_special_category_genders_not_allowed" | "meta_terms_business_tools_pending" | "meta_terms_custom_audience_unconfirmed" | "meta_terms_nondiscrimination_pending" | "meta_url_audience_unverified")[];
|
|
7395
8428
|
size: ({
|
|
7396
8429
|
lower: number;
|
|
7397
8430
|
upper: number;
|
|
7398
8431
|
} & {}) | null;
|
|
8432
|
+
state: "observed";
|
|
8433
|
+
mappingSource: "current_materialized_audience" | "selected_external_audience";
|
|
7399
8434
|
observedAt: string;
|
|
7400
8435
|
expiresAt: string | null;
|
|
7401
8436
|
sizeObservedAt: null;
|
|
@@ -8641,8 +9676,6 @@ export declare function parseResonanceObservationsPage(v: unknown): ResonanceObs
|
|
|
8641
9676
|
export declare const RESONANCE_PUBLIC_OBSERVATION_METRIC_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
8642
9677
|
export declare const RESONANCE_OBSERVATION_SUPPORT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
8643
9678
|
export declare const RESONANCE_OBSERVATIONS_PAGE_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
8644
|
-
/** Meta documents 180 days for a website audience's create parameter. Single source: the API and the editor import this, never a local copy. */
|
|
8645
|
-
export declare const META_WEBSITE_AUDIENCE_MAX_RETENTION_DAYS = 180;
|
|
8646
9679
|
/** Meta allows at most ten rules per audience (inclusion, each exclusion, and a recency band). */
|
|
8647
9680
|
export declare const META_AUDIENCE_RULE_LIMIT = 10;
|
|
8648
9681
|
/** Targeting-level exclusion under a special category stays refused until a real call proves it (probes G-4 and P-X1); only a reviewed release flips this. */
|