@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/index.cjs
CHANGED
|
@@ -2972,17 +2972,25 @@ var zGoogleAdsConversionConsent = z__namespace.object({
|
|
|
2972
2972
|
ad_personalization: z__namespace.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional()
|
|
2973
2973
|
});
|
|
2974
2974
|
var zGoogleAdsConversionUserIdentifier = z__namespace.object({
|
|
2975
|
-
email_address: z__namespace.
|
|
2976
|
-
phone_number: z__namespace.string().min(1).optional(),
|
|
2975
|
+
email_address: z__namespace.email().optional(),
|
|
2976
|
+
phone_number: z__namespace.string().min(1).regex(/\d/).optional(),
|
|
2977
2977
|
address: z__namespace.object({
|
|
2978
|
-
given_name: z__namespace.string().min(1)
|
|
2979
|
-
family_name: z__namespace.string().min(1)
|
|
2980
|
-
region_code: z__namespace.string().
|
|
2981
|
-
postal_code: z__namespace.string().min(1)
|
|
2978
|
+
given_name: z__namespace.string().min(1),
|
|
2979
|
+
family_name: z__namespace.string().min(1),
|
|
2980
|
+
region_code: z__namespace.string().regex(/^[A-Za-z]{2}$/),
|
|
2981
|
+
postal_code: z__namespace.string().min(1)
|
|
2982
2982
|
}).optional()
|
|
2983
2983
|
});
|
|
2984
2984
|
var zGoogleAdsConversionEvent = z__namespace.object({
|
|
2985
2985
|
event_timestamp: z__namespace.iso.datetime(),
|
|
2986
|
+
event_source: z__namespace.enum([
|
|
2987
|
+
"WEB",
|
|
2988
|
+
"APP",
|
|
2989
|
+
"IN_STORE",
|
|
2990
|
+
"PHONE",
|
|
2991
|
+
"MESSAGE",
|
|
2992
|
+
"OTHER"
|
|
2993
|
+
]),
|
|
2986
2994
|
order_id: z__namespace.string().optional(),
|
|
2987
2995
|
gclid: z__namespace.string().optional(),
|
|
2988
2996
|
gbraid: z__namespace.string().optional(),
|