@oursprivacy/platform-sdk 1.53.0 → 1.54.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 +7 -0
- package/client.d.mts +10 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -4
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/consent-settings.d.mts +5930 -442
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +5930 -442
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/custom-domains.d.mts +301 -0
- package/resources/custom-domains.d.mts.map +1 -0
- package/resources/custom-domains.d.ts +301 -0
- package/resources/custom-domains.d.ts.map +1 -0
- package/resources/custom-domains.js +55 -0
- package/resources/custom-domains.js.map +1 -0
- package/resources/custom-domains.mjs +51 -0
- package/resources/custom-domains.mjs.map +1 -0
- package/resources/data-governance.d.mts +75 -15
- package/resources/data-governance.d.mts.map +1 -1
- package/resources/data-governance.d.ts +75 -15
- package/resources/data-governance.d.ts.map +1 -1
- package/resources/default-mappings.d.mts +207 -3
- package/resources/default-mappings.d.mts.map +1 -1
- package/resources/default-mappings.d.ts +207 -3
- package/resources/default-mappings.d.ts.map +1 -1
- package/resources/destinations.d.mts +33 -13
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +33 -13
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiment-variants.d.mts +117 -14
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts +117 -14
- package/resources/experiment-variants.d.ts.map +1 -1
- package/resources/experiments.d.mts +3979 -253
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +3979 -253
- package/resources/experiments.d.ts.map +1 -1
- package/resources/funnels.d.mts +648 -7
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +648 -7
- package/resources/funnels.d.ts.map +1 -1
- package/resources/index.d.mts +4 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/journey-flows.d.mts +580 -16
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +580 -16
- package/resources/journey-flows.d.ts.map +1 -1
- package/resources/locations.d.mts +25 -5
- package/resources/locations.d.mts.map +1 -1
- package/resources/locations.d.ts +25 -5
- package/resources/locations.d.ts.map +1 -1
- package/resources/mappings.d.mts +540 -12
- package/resources/mappings.d.mts.map +1 -1
- package/resources/mappings.d.ts +540 -12
- package/resources/mappings.d.ts.map +1 -1
- package/resources/mappings.js +22 -0
- package/resources/mappings.js.map +1 -1
- package/resources/mappings.mjs +22 -0
- package/resources/mappings.mjs.map +1 -1
- package/resources/me.d.mts +29 -0
- package/resources/me.d.mts.map +1 -0
- package/resources/me.d.ts +29 -0
- package/resources/me.d.ts.map +1 -0
- package/resources/me.js +17 -0
- package/resources/me.js.map +1 -0
- package/resources/me.mjs +13 -0
- package/resources/me.mjs.map +1 -0
- package/resources/replay-settings.d.mts +117 -3
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +117 -3
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/session-replays.d.mts +5 -0
- package/resources/session-replays.d.mts.map +1 -1
- package/resources/session-replays.d.ts +5 -0
- package/resources/session-replays.d.ts.map +1 -1
- package/resources/short-links.d.mts +722 -10
- package/resources/short-links.d.mts.map +1 -1
- package/resources/short-links.d.ts +722 -10
- package/resources/short-links.d.ts.map +1 -1
- package/resources/sources.d.mts +86 -11
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +86 -11
- package/resources/sources.d.ts.map +1 -1
- package/resources/tag-manager-tags.d.mts +3 -1
- package/resources/tag-manager-tags.d.mts.map +1 -1
- package/resources/tag-manager-tags.d.ts +3 -1
- package/resources/tag-manager-tags.d.ts.map +1 -1
- package/resources/tag-manager-triggers.d.mts +3 -1
- package/resources/tag-manager-triggers.d.mts.map +1 -1
- package/resources/tag-manager-triggers.d.ts +3 -1
- package/resources/tag-manager-triggers.d.ts.map +1 -1
- package/resources/tag-manager-variables.d.mts +39 -13
- package/resources/tag-manager-variables.d.mts.map +1 -1
- package/resources/tag-manager-variables.d.ts +39 -13
- package/resources/tag-manager-variables.d.ts.map +1 -1
- package/resources/tag-managers.d.mts +14 -1
- package/resources/tag-managers.d.mts.map +1 -1
- package/resources/tag-managers.d.ts +14 -1
- package/resources/tag-managers.d.ts.map +1 -1
- package/resources/tag-managers.js +8 -0
- package/resources/tag-managers.js.map +1 -1
- package/resources/tag-managers.mjs +8 -0
- package/resources/tag-managers.mjs.map +1 -1
- package/resources/test-events.d.mts +67 -11
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +67 -11
- package/resources/test-events.d.ts.map +1 -1
- package/resources/versions.d.mts +82 -37
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +82 -37
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +5 -5
- package/resources/versions.mjs +5 -5
- package/resources/video-channels.d.mts +32 -4
- package/resources/video-channels.d.mts.map +1 -1
- package/resources/video-channels.d.ts +32 -4
- package/resources/video-channels.d.ts.map +1 -1
- package/src/client.ts +36 -0
- package/src/resources/consent-settings.ts +7287 -374
- package/src/resources/custom-domains.ts +450 -0
- package/src/resources/data-governance.ts +45 -15
- package/src/resources/default-mappings.ts +303 -3
- package/src/resources/destinations.ts +23 -8
- package/src/resources/experiment-variants.ts +131 -14
- package/src/resources/experiments.ts +8021 -443
- package/src/resources/funnels.ts +1355 -7
- package/src/resources/index.ts +15 -0
- package/src/resources/journey-flows.ts +1224 -16
- package/src/resources/locations.ts +35 -5
- package/src/resources/mappings.ts +794 -19
- package/src/resources/me.ts +37 -0
- package/src/resources/replay-settings.ts +138 -3
- package/src/resources/session-replays.ts +6 -0
- package/src/resources/short-links.ts +872 -10
- package/src/resources/sources.ts +96 -11
- package/src/resources/tag-manager-tags.ts +7 -1
- package/src/resources/tag-manager-triggers.ts +7 -1
- package/src/resources/tag-manager-variables.ts +91 -13
- package/src/resources/tag-managers.ts +25 -0
- package/src/resources/test-events.ts +47 -11
- package/src/resources/versions.ts +83 -37
- package/src/resources/video-channels.ts +44 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -46,7 +46,7 @@ export declare namespace DefaultMappingListResponse {
|
|
|
46
46
|
*
|
|
47
47
|
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
48
48
|
*/
|
|
49
|
-
logic?:
|
|
49
|
+
logic?: Entity.Logic | null;
|
|
50
50
|
name?: string | null;
|
|
51
51
|
priority?: number | null;
|
|
52
52
|
sourceId?: string | null;
|
|
@@ -72,6 +72,74 @@ export declare namespace DefaultMappingListResponse {
|
|
|
72
72
|
property: string;
|
|
73
73
|
modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
|
|
74
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Condition tree gating when this mapping fires. A node is either a leaf
|
|
77
|
+
* `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
|
|
78
|
+
* themselves logic nodes, so trees nest arbitrarily.
|
|
79
|
+
*
|
|
80
|
+
* Example leaf:
|
|
81
|
+
* `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
|
|
82
|
+
*
|
|
83
|
+
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
84
|
+
*/
|
|
85
|
+
interface Logic {
|
|
86
|
+
/**
|
|
87
|
+
* All child nodes must match. Each child is itself a logic node (leaf `condition`
|
|
88
|
+
* or combinator).
|
|
89
|
+
*/
|
|
90
|
+
AND?: Array<{
|
|
91
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
}> | null;
|
|
95
|
+
condition?: Logic.Condition | null;
|
|
96
|
+
/**
|
|
97
|
+
* Negates a single child logic node.
|
|
98
|
+
*/
|
|
99
|
+
NOT?: {
|
|
100
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
101
|
+
[key: string]: unknown;
|
|
102
|
+
};
|
|
103
|
+
} | null;
|
|
104
|
+
/**
|
|
105
|
+
* Any child node must match. Each child is itself a logic node (leaf `condition`
|
|
106
|
+
* or combinator).
|
|
107
|
+
*/
|
|
108
|
+
OR?: Array<{
|
|
109
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
110
|
+
[key: string]: unknown;
|
|
111
|
+
};
|
|
112
|
+
}> | null;
|
|
113
|
+
}
|
|
114
|
+
namespace Logic {
|
|
115
|
+
interface Condition {
|
|
116
|
+
/**
|
|
117
|
+
* Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
|
|
118
|
+
* `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
|
|
119
|
+
* `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
|
|
120
|
+
* `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
|
|
121
|
+
* `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
|
|
122
|
+
* `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
|
|
123
|
+
* `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
|
|
124
|
+
* `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
|
|
125
|
+
*/
|
|
126
|
+
operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
|
|
127
|
+
/**
|
|
128
|
+
* Bare dotted path into the event/visitor record. Examples: `$event.event`,
|
|
129
|
+
* `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
|
|
130
|
+
* optional and stripped before lookup. Do **not** use `{{...}}` here — that
|
|
131
|
+
* template syntax is for mapping values (`mappings[].map`), not logic conditions,
|
|
132
|
+
* and would be compared as a literal string.
|
|
133
|
+
*/
|
|
134
|
+
property: string;
|
|
135
|
+
/**
|
|
136
|
+
* String compared against the resolved property. Operators that take no value
|
|
137
|
+
* (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
|
|
138
|
+
* `IsTrue`, `IsFalse`) ignore this field — send `""`.
|
|
139
|
+
*/
|
|
140
|
+
value: string;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
75
143
|
}
|
|
76
144
|
}
|
|
77
145
|
export interface DefaultMappingRetrieveResponse {
|
|
@@ -90,7 +158,7 @@ export interface DefaultMappingRetrieveResponse {
|
|
|
90
158
|
*
|
|
91
159
|
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
92
160
|
*/
|
|
93
|
-
logic?:
|
|
161
|
+
logic?: DefaultMappingRetrieveResponse.Logic | null;
|
|
94
162
|
name?: string | null;
|
|
95
163
|
priority?: number | null;
|
|
96
164
|
sourceId?: string | null;
|
|
@@ -116,6 +184,74 @@ export declare namespace DefaultMappingRetrieveResponse {
|
|
|
116
184
|
property: string;
|
|
117
185
|
modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
|
|
118
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* Condition tree gating when this mapping fires. A node is either a leaf
|
|
189
|
+
* `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
|
|
190
|
+
* themselves logic nodes, so trees nest arbitrarily.
|
|
191
|
+
*
|
|
192
|
+
* Example leaf:
|
|
193
|
+
* `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
|
|
194
|
+
*
|
|
195
|
+
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
196
|
+
*/
|
|
197
|
+
interface Logic {
|
|
198
|
+
/**
|
|
199
|
+
* All child nodes must match. Each child is itself a logic node (leaf `condition`
|
|
200
|
+
* or combinator).
|
|
201
|
+
*/
|
|
202
|
+
AND?: Array<{
|
|
203
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
204
|
+
[key: string]: unknown;
|
|
205
|
+
};
|
|
206
|
+
}> | null;
|
|
207
|
+
condition?: Logic.Condition | null;
|
|
208
|
+
/**
|
|
209
|
+
* Negates a single child logic node.
|
|
210
|
+
*/
|
|
211
|
+
NOT?: {
|
|
212
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
213
|
+
[key: string]: unknown;
|
|
214
|
+
};
|
|
215
|
+
} | null;
|
|
216
|
+
/**
|
|
217
|
+
* Any child node must match. Each child is itself a logic node (leaf `condition`
|
|
218
|
+
* or combinator).
|
|
219
|
+
*/
|
|
220
|
+
OR?: Array<{
|
|
221
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
222
|
+
[key: string]: unknown;
|
|
223
|
+
};
|
|
224
|
+
}> | null;
|
|
225
|
+
}
|
|
226
|
+
namespace Logic {
|
|
227
|
+
interface Condition {
|
|
228
|
+
/**
|
|
229
|
+
* Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
|
|
230
|
+
* `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
|
|
231
|
+
* `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
|
|
232
|
+
* `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
|
|
233
|
+
* `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
|
|
234
|
+
* `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
|
|
235
|
+
* `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
|
|
236
|
+
* `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
|
|
237
|
+
*/
|
|
238
|
+
operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
|
|
239
|
+
/**
|
|
240
|
+
* Bare dotted path into the event/visitor record. Examples: `$event.event`,
|
|
241
|
+
* `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
|
|
242
|
+
* optional and stripped before lookup. Do **not** use `{{...}}` here — that
|
|
243
|
+
* template syntax is for mapping values (`mappings[].map`), not logic conditions,
|
|
244
|
+
* and would be compared as a literal string.
|
|
245
|
+
*/
|
|
246
|
+
property: string;
|
|
247
|
+
/**
|
|
248
|
+
* String compared against the resolved property. Operators that take no value
|
|
249
|
+
* (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
|
|
250
|
+
* `IsTrue`, `IsFalse`) ignore this field — send `""`.
|
|
251
|
+
*/
|
|
252
|
+
value: string;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
119
255
|
}
|
|
120
256
|
export interface DefaultMappingReplaceResponse {
|
|
121
257
|
id: string;
|
|
@@ -133,7 +269,7 @@ export interface DefaultMappingReplaceResponse {
|
|
|
133
269
|
*
|
|
134
270
|
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
135
271
|
*/
|
|
136
|
-
logic?:
|
|
272
|
+
logic?: DefaultMappingReplaceResponse.Logic | null;
|
|
137
273
|
name?: string | null;
|
|
138
274
|
priority?: number | null;
|
|
139
275
|
sourceId?: string | null;
|
|
@@ -159,6 +295,74 @@ export declare namespace DefaultMappingReplaceResponse {
|
|
|
159
295
|
property: string;
|
|
160
296
|
modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
|
|
161
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* Condition tree gating when this mapping fires. A node is either a leaf
|
|
300
|
+
* `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
|
|
301
|
+
* themselves logic nodes, so trees nest arbitrarily.
|
|
302
|
+
*
|
|
303
|
+
* Example leaf:
|
|
304
|
+
* `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
|
|
305
|
+
*
|
|
306
|
+
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
307
|
+
*/
|
|
308
|
+
interface Logic {
|
|
309
|
+
/**
|
|
310
|
+
* All child nodes must match. Each child is itself a logic node (leaf `condition`
|
|
311
|
+
* or combinator).
|
|
312
|
+
*/
|
|
313
|
+
AND?: Array<{
|
|
314
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
315
|
+
[key: string]: unknown;
|
|
316
|
+
};
|
|
317
|
+
}> | null;
|
|
318
|
+
condition?: Logic.Condition | null;
|
|
319
|
+
/**
|
|
320
|
+
* Negates a single child logic node.
|
|
321
|
+
*/
|
|
322
|
+
NOT?: {
|
|
323
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
324
|
+
[key: string]: unknown;
|
|
325
|
+
};
|
|
326
|
+
} | null;
|
|
327
|
+
/**
|
|
328
|
+
* Any child node must match. Each child is itself a logic node (leaf `condition`
|
|
329
|
+
* or combinator).
|
|
330
|
+
*/
|
|
331
|
+
OR?: Array<{
|
|
332
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
333
|
+
[key: string]: unknown;
|
|
334
|
+
};
|
|
335
|
+
}> | null;
|
|
336
|
+
}
|
|
337
|
+
namespace Logic {
|
|
338
|
+
interface Condition {
|
|
339
|
+
/**
|
|
340
|
+
* Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
|
|
341
|
+
* `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
|
|
342
|
+
* `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
|
|
343
|
+
* `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
|
|
344
|
+
* `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
|
|
345
|
+
* `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
|
|
346
|
+
* `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
|
|
347
|
+
* `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
|
|
348
|
+
*/
|
|
349
|
+
operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
|
|
350
|
+
/**
|
|
351
|
+
* Bare dotted path into the event/visitor record. Examples: `$event.event`,
|
|
352
|
+
* `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
|
|
353
|
+
* optional and stripped before lookup. Do **not** use `{{...}}` here — that
|
|
354
|
+
* template syntax is for mapping values (`mappings[].map`), not logic conditions,
|
|
355
|
+
* and would be compared as a literal string.
|
|
356
|
+
*/
|
|
357
|
+
property: string;
|
|
358
|
+
/**
|
|
359
|
+
* String compared against the resolved property. Operators that take no value
|
|
360
|
+
* (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
|
|
361
|
+
* `IsTrue`, `IsFalse`) ignore this field — send `""`.
|
|
362
|
+
*/
|
|
363
|
+
value: string;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
162
366
|
}
|
|
163
367
|
export interface DefaultMappingReplaceParams {
|
|
164
368
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-mappings.d.mts","sourceRoot":"","sources":["../src/resources/default-mappings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItE;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI1F;;;;;OAKG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAG7C;AAED,M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U,GACV,SAAS,GACT,WAAW,GACX,cAAc,GACd,aAAa,GACb,cAAc,GACd,wBAAwB,GACxB,mBAAmB,GACnB,6BAA6B,CAAC;YAElC;;;;;;eAMG;YACH,QAAQ,EAAE,MAAM,CAAC;YAEjB;;;;eAIG;YACH,KAAK,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,2BAA2B;IAC1C;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;IAErD;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B;AAED,yBAAiB,2BAA2B,CAAC;IAC3C,UAAiB,OAAO;QACtB;;;;;;;WAOG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;;WAGG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB,YAAY,CAAC,EACT,WAAW,GACX,OAAO,GACP,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,YAAY,GACZ,YAAY,GACZ,oBAAoB,GACpB,QAAQ,GACR,SAAS,GACT,MAAM,GACN,SAAS,GACT,eAAe,GACf,mBAAmB,GACnB,cAAc,GACd,kBAAkB,GAClB,gCAAgC,GAChC,aAAa,GACb,aAAa,GACb,WAAW,GACX,WAAW,GACX,WAAW,GACX,MAAM,GACN,MAAM,GACN,UAAU,GACV,YAAY,GACZ,WAAW,GACX,WAAW,GACX,WAAW,GACX,IAAI,CAAC;KACV;CACF;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -46,7 +46,7 @@ export declare namespace DefaultMappingListResponse {
|
|
|
46
46
|
*
|
|
47
47
|
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
48
48
|
*/
|
|
49
|
-
logic?:
|
|
49
|
+
logic?: Entity.Logic | null;
|
|
50
50
|
name?: string | null;
|
|
51
51
|
priority?: number | null;
|
|
52
52
|
sourceId?: string | null;
|
|
@@ -72,6 +72,74 @@ export declare namespace DefaultMappingListResponse {
|
|
|
72
72
|
property: string;
|
|
73
73
|
modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
|
|
74
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Condition tree gating when this mapping fires. A node is either a leaf
|
|
77
|
+
* `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
|
|
78
|
+
* themselves logic nodes, so trees nest arbitrarily.
|
|
79
|
+
*
|
|
80
|
+
* Example leaf:
|
|
81
|
+
* `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
|
|
82
|
+
*
|
|
83
|
+
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
84
|
+
*/
|
|
85
|
+
interface Logic {
|
|
86
|
+
/**
|
|
87
|
+
* All child nodes must match. Each child is itself a logic node (leaf `condition`
|
|
88
|
+
* or combinator).
|
|
89
|
+
*/
|
|
90
|
+
AND?: Array<{
|
|
91
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
}> | null;
|
|
95
|
+
condition?: Logic.Condition | null;
|
|
96
|
+
/**
|
|
97
|
+
* Negates a single child logic node.
|
|
98
|
+
*/
|
|
99
|
+
NOT?: {
|
|
100
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
101
|
+
[key: string]: unknown;
|
|
102
|
+
};
|
|
103
|
+
} | null;
|
|
104
|
+
/**
|
|
105
|
+
* Any child node must match. Each child is itself a logic node (leaf `condition`
|
|
106
|
+
* or combinator).
|
|
107
|
+
*/
|
|
108
|
+
OR?: Array<{
|
|
109
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
110
|
+
[key: string]: unknown;
|
|
111
|
+
};
|
|
112
|
+
}> | null;
|
|
113
|
+
}
|
|
114
|
+
namespace Logic {
|
|
115
|
+
interface Condition {
|
|
116
|
+
/**
|
|
117
|
+
* Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
|
|
118
|
+
* `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
|
|
119
|
+
* `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
|
|
120
|
+
* `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
|
|
121
|
+
* `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
|
|
122
|
+
* `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
|
|
123
|
+
* `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
|
|
124
|
+
* `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
|
|
125
|
+
*/
|
|
126
|
+
operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
|
|
127
|
+
/**
|
|
128
|
+
* Bare dotted path into the event/visitor record. Examples: `$event.event`,
|
|
129
|
+
* `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
|
|
130
|
+
* optional and stripped before lookup. Do **not** use `{{...}}` here — that
|
|
131
|
+
* template syntax is for mapping values (`mappings[].map`), not logic conditions,
|
|
132
|
+
* and would be compared as a literal string.
|
|
133
|
+
*/
|
|
134
|
+
property: string;
|
|
135
|
+
/**
|
|
136
|
+
* String compared against the resolved property. Operators that take no value
|
|
137
|
+
* (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
|
|
138
|
+
* `IsTrue`, `IsFalse`) ignore this field — send `""`.
|
|
139
|
+
*/
|
|
140
|
+
value: string;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
75
143
|
}
|
|
76
144
|
}
|
|
77
145
|
export interface DefaultMappingRetrieveResponse {
|
|
@@ -90,7 +158,7 @@ export interface DefaultMappingRetrieveResponse {
|
|
|
90
158
|
*
|
|
91
159
|
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
92
160
|
*/
|
|
93
|
-
logic?:
|
|
161
|
+
logic?: DefaultMappingRetrieveResponse.Logic | null;
|
|
94
162
|
name?: string | null;
|
|
95
163
|
priority?: number | null;
|
|
96
164
|
sourceId?: string | null;
|
|
@@ -116,6 +184,74 @@ export declare namespace DefaultMappingRetrieveResponse {
|
|
|
116
184
|
property: string;
|
|
117
185
|
modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
|
|
118
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* Condition tree gating when this mapping fires. A node is either a leaf
|
|
189
|
+
* `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
|
|
190
|
+
* themselves logic nodes, so trees nest arbitrarily.
|
|
191
|
+
*
|
|
192
|
+
* Example leaf:
|
|
193
|
+
* `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
|
|
194
|
+
*
|
|
195
|
+
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
196
|
+
*/
|
|
197
|
+
interface Logic {
|
|
198
|
+
/**
|
|
199
|
+
* All child nodes must match. Each child is itself a logic node (leaf `condition`
|
|
200
|
+
* or combinator).
|
|
201
|
+
*/
|
|
202
|
+
AND?: Array<{
|
|
203
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
204
|
+
[key: string]: unknown;
|
|
205
|
+
};
|
|
206
|
+
}> | null;
|
|
207
|
+
condition?: Logic.Condition | null;
|
|
208
|
+
/**
|
|
209
|
+
* Negates a single child logic node.
|
|
210
|
+
*/
|
|
211
|
+
NOT?: {
|
|
212
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
213
|
+
[key: string]: unknown;
|
|
214
|
+
};
|
|
215
|
+
} | null;
|
|
216
|
+
/**
|
|
217
|
+
* Any child node must match. Each child is itself a logic node (leaf `condition`
|
|
218
|
+
* or combinator).
|
|
219
|
+
*/
|
|
220
|
+
OR?: Array<{
|
|
221
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
222
|
+
[key: string]: unknown;
|
|
223
|
+
};
|
|
224
|
+
}> | null;
|
|
225
|
+
}
|
|
226
|
+
namespace Logic {
|
|
227
|
+
interface Condition {
|
|
228
|
+
/**
|
|
229
|
+
* Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
|
|
230
|
+
* `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
|
|
231
|
+
* `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
|
|
232
|
+
* `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
|
|
233
|
+
* `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
|
|
234
|
+
* `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
|
|
235
|
+
* `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
|
|
236
|
+
* `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
|
|
237
|
+
*/
|
|
238
|
+
operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
|
|
239
|
+
/**
|
|
240
|
+
* Bare dotted path into the event/visitor record. Examples: `$event.event`,
|
|
241
|
+
* `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
|
|
242
|
+
* optional and stripped before lookup. Do **not** use `{{...}}` here — that
|
|
243
|
+
* template syntax is for mapping values (`mappings[].map`), not logic conditions,
|
|
244
|
+
* and would be compared as a literal string.
|
|
245
|
+
*/
|
|
246
|
+
property: string;
|
|
247
|
+
/**
|
|
248
|
+
* String compared against the resolved property. Operators that take no value
|
|
249
|
+
* (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
|
|
250
|
+
* `IsTrue`, `IsFalse`) ignore this field — send `""`.
|
|
251
|
+
*/
|
|
252
|
+
value: string;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
119
255
|
}
|
|
120
256
|
export interface DefaultMappingReplaceResponse {
|
|
121
257
|
id: string;
|
|
@@ -133,7 +269,7 @@ export interface DefaultMappingReplaceResponse {
|
|
|
133
269
|
*
|
|
134
270
|
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
135
271
|
*/
|
|
136
|
-
logic?:
|
|
272
|
+
logic?: DefaultMappingReplaceResponse.Logic | null;
|
|
137
273
|
name?: string | null;
|
|
138
274
|
priority?: number | null;
|
|
139
275
|
sourceId?: string | null;
|
|
@@ -159,6 +295,74 @@ export declare namespace DefaultMappingReplaceResponse {
|
|
|
159
295
|
property: string;
|
|
160
296
|
modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
|
|
161
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* Condition tree gating when this mapping fires. A node is either a leaf
|
|
300
|
+
* `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
|
|
301
|
+
* themselves logic nodes, so trees nest arbitrarily.
|
|
302
|
+
*
|
|
303
|
+
* Example leaf:
|
|
304
|
+
* `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
|
|
305
|
+
*
|
|
306
|
+
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
307
|
+
*/
|
|
308
|
+
interface Logic {
|
|
309
|
+
/**
|
|
310
|
+
* All child nodes must match. Each child is itself a logic node (leaf `condition`
|
|
311
|
+
* or combinator).
|
|
312
|
+
*/
|
|
313
|
+
AND?: Array<{
|
|
314
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
315
|
+
[key: string]: unknown;
|
|
316
|
+
};
|
|
317
|
+
}> | null;
|
|
318
|
+
condition?: Logic.Condition | null;
|
|
319
|
+
/**
|
|
320
|
+
* Negates a single child logic node.
|
|
321
|
+
*/
|
|
322
|
+
NOT?: {
|
|
323
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
324
|
+
[key: string]: unknown;
|
|
325
|
+
};
|
|
326
|
+
} | null;
|
|
327
|
+
/**
|
|
328
|
+
* Any child node must match. Each child is itself a logic node (leaf `condition`
|
|
329
|
+
* or combinator).
|
|
330
|
+
*/
|
|
331
|
+
OR?: Array<{
|
|
332
|
+
[key: string]: string | null | number | boolean | Array<unknown> | {
|
|
333
|
+
[key: string]: unknown;
|
|
334
|
+
};
|
|
335
|
+
}> | null;
|
|
336
|
+
}
|
|
337
|
+
namespace Logic {
|
|
338
|
+
interface Condition {
|
|
339
|
+
/**
|
|
340
|
+
* Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
|
|
341
|
+
* `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
|
|
342
|
+
* `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
|
|
343
|
+
* `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
|
|
344
|
+
* `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
|
|
345
|
+
* `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
|
|
346
|
+
* `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
|
|
347
|
+
* `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
|
|
348
|
+
*/
|
|
349
|
+
operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
|
|
350
|
+
/**
|
|
351
|
+
* Bare dotted path into the event/visitor record. Examples: `$event.event`,
|
|
352
|
+
* `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
|
|
353
|
+
* optional and stripped before lookup. Do **not** use `{{...}}` here — that
|
|
354
|
+
* template syntax is for mapping values (`mappings[].map`), not logic conditions,
|
|
355
|
+
* and would be compared as a literal string.
|
|
356
|
+
*/
|
|
357
|
+
property: string;
|
|
358
|
+
/**
|
|
359
|
+
* String compared against the resolved property. Operators that take no value
|
|
360
|
+
* (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
|
|
361
|
+
* `IsTrue`, `IsFalse`) ignore this field — send `""`.
|
|
362
|
+
*/
|
|
363
|
+
value: string;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
162
366
|
}
|
|
163
367
|
export interface DefaultMappingReplaceParams {
|
|
164
368
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-mappings.d.ts","sourceRoot":"","sources":["../src/resources/default-mappings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItE;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI1F;;;;;OAKG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAG7C;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,KAAK,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC;CACpD;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,MAAM;QACrB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,OAAO,CAAC;QAEnB,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAEhC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE9B,gBAAgB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAElC;;;;;;;;;WASG;QACH,KAAK,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"default-mappings.d.ts","sourceRoot":"","sources":["../src/resources/default-mappings.ts"],"names":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