@postrun/js 2.23.0 → 2.24.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/dist/{chunk-ENKRNIUY.js → chunk-4WBAULYQ.js} +3 -3
- package/dist/{chunk-ENKRNIUY.js.map → chunk-4WBAULYQ.js.map} +1 -1
- package/dist/{chunk-K3UUBD7Z.js → chunk-RBHVSFEN.js} +16 -8
- package/dist/chunk-RBHVSFEN.js.map +1 -0
- package/dist/index.cjs +14 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +12 -8
- package/dist/query.d.ts +12 -8
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +14 -6
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +36 -20
- package/dist/schemas/index.d.ts +36 -20
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +14 -6
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/{types.gen-BKyrVtiG.d.cts → types.gen-CzfWmp33.d.cts} +11 -7
- package/dist/{types.gen-BKyrVtiG.d.ts → types.gen-CzfWmp33.d.ts} +11 -7
- package/package.json +1 -1
- package/dist/chunk-K3UUBD7Z.js.map +0 -1
package/dist/schemas/index.cjs
CHANGED
|
@@ -2192,17 +2192,25 @@ var zGoogleAdsConversionConsent = z__namespace.object({
|
|
|
2192
2192
|
ad_personalization: z__namespace.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional()
|
|
2193
2193
|
});
|
|
2194
2194
|
var zGoogleAdsConversionUserIdentifier = z__namespace.object({
|
|
2195
|
-
email_address: z__namespace.
|
|
2196
|
-
phone_number: z__namespace.string().min(1).optional(),
|
|
2195
|
+
email_address: z__namespace.email().optional(),
|
|
2196
|
+
phone_number: z__namespace.string().min(1).regex(/\d/).optional(),
|
|
2197
2197
|
address: z__namespace.object({
|
|
2198
|
-
given_name: z__namespace.string().min(1)
|
|
2199
|
-
family_name: z__namespace.string().min(1)
|
|
2200
|
-
region_code: z__namespace.string().
|
|
2201
|
-
postal_code: z__namespace.string().min(1)
|
|
2198
|
+
given_name: z__namespace.string().min(1),
|
|
2199
|
+
family_name: z__namespace.string().min(1),
|
|
2200
|
+
region_code: z__namespace.string().regex(/^[A-Za-z]{2}$/),
|
|
2201
|
+
postal_code: z__namespace.string().min(1)
|
|
2202
2202
|
}).optional()
|
|
2203
2203
|
});
|
|
2204
2204
|
var zGoogleAdsConversionEvent = z__namespace.object({
|
|
2205
2205
|
event_timestamp: z__namespace.iso.datetime(),
|
|
2206
|
+
event_source: z__namespace.enum([
|
|
2207
|
+
"WEB",
|
|
2208
|
+
"APP",
|
|
2209
|
+
"IN_STORE",
|
|
2210
|
+
"PHONE",
|
|
2211
|
+
"MESSAGE",
|
|
2212
|
+
"OTHER"
|
|
2213
|
+
]),
|
|
2206
2214
|
order_id: z__namespace.string().optional(),
|
|
2207
2215
|
gclid: z__namespace.string().optional(),
|
|
2208
2216
|
gbraid: z__namespace.string().optional(),
|