@contentful/optimization-api-schemas 0.1.0-alpha

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.
Files changed (195) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +127 -0
  3. package/dist/contentful/AudienceEntry.d.ts +73 -0
  4. package/dist/contentful/AudienceEntry.d.ts.map +1 -0
  5. package/dist/contentful/AudienceEntry.js +41 -0
  6. package/dist/contentful/AudienceEntry.js.map +1 -0
  7. package/dist/contentful/CtflEntry.d.ts +206 -0
  8. package/dist/contentful/CtflEntry.d.ts.map +1 -0
  9. package/dist/contentful/CtflEntry.js +122 -0
  10. package/dist/contentful/CtflEntry.js.map +1 -0
  11. package/dist/contentful/MergeTagEntry.d.ts +68 -0
  12. package/dist/contentful/MergeTagEntry.d.ts.map +1 -0
  13. package/dist/contentful/MergeTagEntry.js +38 -0
  14. package/dist/contentful/MergeTagEntry.js.map +1 -0
  15. package/dist/contentful/PersonalizationConfig.d.ts +437 -0
  16. package/dist/contentful/PersonalizationConfig.d.ts.map +1 -0
  17. package/dist/contentful/PersonalizationConfig.js +164 -0
  18. package/dist/contentful/PersonalizationConfig.js.map +1 -0
  19. package/dist/contentful/PersonalizationEntry.d.ts +541 -0
  20. package/dist/contentful/PersonalizationEntry.d.ts.map +1 -0
  21. package/dist/contentful/PersonalizationEntry.js +95 -0
  22. package/dist/contentful/PersonalizationEntry.js.map +1 -0
  23. package/dist/contentful/PersonalizedEntry.d.ts +244 -0
  24. package/dist/contentful/PersonalizedEntry.d.ts.map +1 -0
  25. package/dist/contentful/PersonalizedEntry.js +27 -0
  26. package/dist/contentful/PersonalizedEntry.js.map +1 -0
  27. package/dist/contentful/index.d.ts +7 -0
  28. package/dist/contentful/index.d.ts.map +1 -0
  29. package/dist/contentful/index.js +7 -0
  30. package/dist/contentful/index.js.map +1 -0
  31. package/dist/experience/BatchExperienceResponse.d.ts +110 -0
  32. package/dist/experience/BatchExperienceResponse.d.ts.map +1 -0
  33. package/dist/experience/BatchExperienceResponse.js +25 -0
  34. package/dist/experience/BatchExperienceResponse.js.map +1 -0
  35. package/dist/experience/ExperienceRequest.d.ts +440 -0
  36. package/dist/experience/ExperienceRequest.d.ts.map +1 -0
  37. package/dist/experience/ExperienceRequest.js +36 -0
  38. package/dist/experience/ExperienceRequest.js.map +1 -0
  39. package/dist/experience/ExperienceResponse.d.ts +173 -0
  40. package/dist/experience/ExperienceResponse.d.ts.map +1 -0
  41. package/dist/experience/ExperienceResponse.js +38 -0
  42. package/dist/experience/ExperienceResponse.js.map +1 -0
  43. package/dist/experience/ResponseEnvelope.d.ts +35 -0
  44. package/dist/experience/ResponseEnvelope.d.ts.map +1 -0
  45. package/dist/experience/ResponseEnvelope.js +31 -0
  46. package/dist/experience/ResponseEnvelope.js.map +1 -0
  47. package/dist/experience/change/Change.d.ts +138 -0
  48. package/dist/experience/change/Change.d.ts.map +1 -0
  49. package/dist/experience/change/Change.js +102 -0
  50. package/dist/experience/change/Change.js.map +1 -0
  51. package/dist/experience/change/index.d.ts +2 -0
  52. package/dist/experience/change/index.d.ts.map +1 -0
  53. package/dist/experience/change/index.js +2 -0
  54. package/dist/experience/change/index.js.map +1 -0
  55. package/dist/experience/event/AliasEvent.d.ts +73 -0
  56. package/dist/experience/event/AliasEvent.d.ts.map +1 -0
  57. package/dist/experience/event/AliasEvent.js +20 -0
  58. package/dist/experience/event/AliasEvent.js.map +1 -0
  59. package/dist/experience/event/BatchExperienceEvent.d.ts +820 -0
  60. package/dist/experience/event/BatchExperienceEvent.d.ts.map +1 -0
  61. package/dist/experience/event/BatchExperienceEvent.js +37 -0
  62. package/dist/experience/event/BatchExperienceEvent.js.map +1 -0
  63. package/dist/experience/event/ComponentViewEvent.d.ts +75 -0
  64. package/dist/experience/event/ComponentViewEvent.d.ts.map +1 -0
  65. package/dist/experience/event/ComponentViewEvent.js +43 -0
  66. package/dist/experience/event/ComponentViewEvent.js.map +1 -0
  67. package/dist/experience/event/ExperienceEvent.d.ts +810 -0
  68. package/dist/experience/event/ExperienceEvent.d.ts.map +1 -0
  69. package/dist/experience/event/ExperienceEvent.js +29 -0
  70. package/dist/experience/event/ExperienceEvent.js.map +1 -0
  71. package/dist/experience/event/GroupEvent.d.ts +73 -0
  72. package/dist/experience/event/GroupEvent.d.ts.map +1 -0
  73. package/dist/experience/event/GroupEvent.js +20 -0
  74. package/dist/experience/event/GroupEvent.js.map +1 -0
  75. package/dist/experience/event/IdentifyEvent.d.ts +71 -0
  76. package/dist/experience/event/IdentifyEvent.d.ts.map +1 -0
  77. package/dist/experience/event/IdentifyEvent.js +24 -0
  78. package/dist/experience/event/IdentifyEvent.js.map +1 -0
  79. package/dist/experience/event/PageViewEvent.d.ts +128 -0
  80. package/dist/experience/event/PageViewEvent.d.ts.map +1 -0
  81. package/dist/experience/event/PageViewEvent.js +44 -0
  82. package/dist/experience/event/PageViewEvent.js.map +1 -0
  83. package/dist/experience/event/ScreenViewEvent.d.ts +111 -0
  84. package/dist/experience/event/ScreenViewEvent.d.ts.map +1 -0
  85. package/dist/experience/event/ScreenViewEvent.js +43 -0
  86. package/dist/experience/event/ScreenViewEvent.js.map +1 -0
  87. package/dist/experience/event/TrackEvent.d.ts +73 -0
  88. package/dist/experience/event/TrackEvent.d.ts.map +1 -0
  89. package/dist/experience/event/TrackEvent.js +27 -0
  90. package/dist/experience/event/TrackEvent.js.map +1 -0
  91. package/dist/experience/event/UniversalEventProperties.d.ts +175 -0
  92. package/dist/experience/event/UniversalEventProperties.d.ts.map +1 -0
  93. package/dist/experience/event/UniversalEventProperties.js +100 -0
  94. package/dist/experience/event/UniversalEventProperties.js.map +1 -0
  95. package/dist/experience/event/index.d.ts +12 -0
  96. package/dist/experience/event/index.d.ts.map +1 -0
  97. package/dist/experience/event/index.js +12 -0
  98. package/dist/experience/event/index.js.map +1 -0
  99. package/dist/experience/event/properties/App.d.ts +25 -0
  100. package/dist/experience/event/properties/App.d.ts.map +1 -0
  101. package/dist/experience/event/properties/App.js +21 -0
  102. package/dist/experience/event/properties/App.js.map +1 -0
  103. package/dist/experience/event/properties/Campaign.d.ts +34 -0
  104. package/dist/experience/event/properties/Campaign.d.ts.map +1 -0
  105. package/dist/experience/event/properties/Campaign.js +30 -0
  106. package/dist/experience/event/properties/Campaign.js.map +1 -0
  107. package/dist/experience/event/properties/Channel.d.ts +17 -0
  108. package/dist/experience/event/properties/Channel.d.ts.map +1 -0
  109. package/dist/experience/event/properties/Channel.js +13 -0
  110. package/dist/experience/event/properties/Channel.js.map +1 -0
  111. package/dist/experience/event/properties/Dictionary.d.ts +13 -0
  112. package/dist/experience/event/properties/Dictionary.d.ts.map +1 -0
  113. package/dist/experience/event/properties/Dictionary.js +9 -0
  114. package/dist/experience/event/properties/Dictionary.js.map +1 -0
  115. package/dist/experience/event/properties/GeoLocation.d.ts +66 -0
  116. package/dist/experience/event/properties/GeoLocation.d.ts.map +1 -0
  117. package/dist/experience/event/properties/GeoLocation.js +76 -0
  118. package/dist/experience/event/properties/GeoLocation.js.map +1 -0
  119. package/dist/experience/event/properties/Library.d.ts +22 -0
  120. package/dist/experience/event/properties/Library.d.ts.map +1 -0
  121. package/dist/experience/event/properties/Library.js +18 -0
  122. package/dist/experience/event/properties/Library.js.map +1 -0
  123. package/dist/experience/event/properties/Page.d.ts +39 -0
  124. package/dist/experience/event/properties/Page.d.ts.map +1 -0
  125. package/dist/experience/event/properties/Page.js +36 -0
  126. package/dist/experience/event/properties/Page.js.map +1 -0
  127. package/dist/experience/event/properties/Properties.d.ts +13 -0
  128. package/dist/experience/event/properties/Properties.d.ts.map +1 -0
  129. package/dist/experience/event/properties/Properties.js +9 -0
  130. package/dist/experience/event/properties/Properties.js.map +1 -0
  131. package/dist/experience/event/properties/Screen.d.ts +19 -0
  132. package/dist/experience/event/properties/Screen.d.ts.map +1 -0
  133. package/dist/experience/event/properties/Screen.js +15 -0
  134. package/dist/experience/event/properties/Screen.js.map +1 -0
  135. package/dist/experience/event/properties/Traits.d.ts +14 -0
  136. package/dist/experience/event/properties/Traits.d.ts.map +1 -0
  137. package/dist/experience/event/properties/Traits.js +10 -0
  138. package/dist/experience/event/properties/Traits.js.map +1 -0
  139. package/dist/experience/event/properties/index.d.ts +11 -0
  140. package/dist/experience/event/properties/index.d.ts.map +1 -0
  141. package/dist/experience/event/properties/index.js +11 -0
  142. package/dist/experience/event/properties/index.js.map +1 -0
  143. package/dist/experience/index.d.ts +8 -0
  144. package/dist/experience/index.d.ts.map +1 -0
  145. package/dist/experience/index.js +8 -0
  146. package/dist/experience/index.js.map +1 -0
  147. package/dist/experience/personalization/SelectedPersonalization.d.ts +86 -0
  148. package/dist/experience/personalization/SelectedPersonalization.d.ts.map +1 -0
  149. package/dist/experience/personalization/SelectedPersonalization.js +48 -0
  150. package/dist/experience/personalization/SelectedPersonalization.js.map +1 -0
  151. package/dist/experience/personalization/index.d.ts +2 -0
  152. package/dist/experience/personalization/index.d.ts.map +1 -0
  153. package/dist/experience/personalization/index.js +2 -0
  154. package/dist/experience/personalization/index.js.map +1 -0
  155. package/dist/experience/profile/Profile.d.ts +104 -0
  156. package/dist/experience/profile/Profile.d.ts.map +1 -0
  157. package/dist/experience/profile/Profile.js +72 -0
  158. package/dist/experience/profile/Profile.js.map +1 -0
  159. package/dist/experience/profile/index.d.ts +3 -0
  160. package/dist/experience/profile/index.d.ts.map +1 -0
  161. package/dist/experience/profile/index.js +3 -0
  162. package/dist/experience/profile/index.js.map +1 -0
  163. package/dist/experience/profile/properties/SessionStatistics.d.ts +60 -0
  164. package/dist/experience/profile/properties/SessionStatistics.d.ts.map +1 -0
  165. package/dist/experience/profile/properties/SessionStatistics.js +50 -0
  166. package/dist/experience/profile/properties/SessionStatistics.js.map +1 -0
  167. package/dist/experience/profile/properties/index.d.ts +2 -0
  168. package/dist/experience/profile/properties/index.d.ts.map +1 -0
  169. package/dist/experience/profile/properties/index.js +2 -0
  170. package/dist/experience/profile/properties/index.js.map +1 -0
  171. package/dist/index.cjs +684 -0
  172. package/dist/index.cjs.map +1 -0
  173. package/dist/index.d.ts +4 -0
  174. package/dist/index.d.ts.map +1 -0
  175. package/dist/index.js +4 -0
  176. package/dist/index.js.map +1 -0
  177. package/dist/index.mjs +425 -0
  178. package/dist/index.mjs.map +1 -0
  179. package/dist/insights/event/BatchInsightsEvent.d.ts +173 -0
  180. package/dist/insights/event/BatchInsightsEvent.d.ts.map +1 -0
  181. package/dist/insights/event/BatchInsightsEvent.js +32 -0
  182. package/dist/insights/event/BatchInsightsEvent.js.map +1 -0
  183. package/dist/insights/event/InsightsEvent.d.ts +145 -0
  184. package/dist/insights/event/InsightsEvent.d.ts.map +1 -0
  185. package/dist/insights/event/InsightsEvent.js +16 -0
  186. package/dist/insights/event/InsightsEvent.js.map +1 -0
  187. package/dist/insights/event/index.d.ts +3 -0
  188. package/dist/insights/event/index.d.ts.map +1 -0
  189. package/dist/insights/event/index.js +3 -0
  190. package/dist/insights/event/index.js.map +1 -0
  191. package/dist/insights/index.d.ts +2 -0
  192. package/dist/insights/index.d.ts.map +1 -0
  193. package/dist/insights/index.js +2 -0
  194. package/dist/insights/index.js.map +1 -0
  195. package/package.json +25 -0
@@ -0,0 +1,73 @@
1
+ import * as z from 'zod/mini';
2
+ /**
3
+ * Zod schema describing a custom `track` event.
4
+ *
5
+ * @remarks
6
+ * Track events capture arbitrary user actions that do not fit into
7
+ * the more specific event types (page, screen, identify, etc.).
8
+ *
9
+ * Extends {@link UniversalEventProperties}.
10
+ */
11
+ export declare const TrackEvent: z.ZodMiniObject<{
12
+ channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
13
+ context: z.ZodMiniObject<{
14
+ app: z.ZodMiniOptional<z.ZodMiniObject<{
15
+ name: z.ZodMiniString<string>;
16
+ version: z.ZodMiniString<string>;
17
+ }, z.core.$strip>>;
18
+ campaign: z.ZodMiniObject<{
19
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
20
+ source: z.ZodMiniOptional<z.ZodMiniString<string>>;
21
+ medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
22
+ term: z.ZodMiniOptional<z.ZodMiniString<string>>;
23
+ content: z.ZodMiniOptional<z.ZodMiniString<string>>;
24
+ }, z.core.$strip>;
25
+ gdpr: z.ZodMiniObject<{
26
+ isConsentGiven: z.ZodMiniBoolean<boolean>;
27
+ }, z.core.$strip>;
28
+ library: z.ZodMiniObject<{
29
+ name: z.ZodMiniString<string>;
30
+ version: z.ZodMiniString<string>;
31
+ }, z.core.$strip>;
32
+ locale: z.ZodMiniString<string>;
33
+ location: z.ZodMiniOptional<z.ZodMiniObject<{
34
+ coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
35
+ latitude: z.ZodMiniNumber<number>;
36
+ longitude: z.ZodMiniNumber<number>;
37
+ }, z.core.$strip>>;
38
+ city: z.ZodMiniOptional<z.ZodMiniString<string>>;
39
+ postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
40
+ region: z.ZodMiniOptional<z.ZodMiniString<string>>;
41
+ regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
42
+ country: z.ZodMiniOptional<z.ZodMiniString<string>>;
43
+ countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
44
+ continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
45
+ timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
46
+ }, z.core.$strip>>;
47
+ userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
48
+ page: z.ZodMiniOptional<z.ZodMiniObject<{
49
+ path: z.ZodMiniString<string>;
50
+ query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
51
+ referrer: z.ZodMiniString<string>;
52
+ search: z.ZodMiniString<string>;
53
+ title: z.ZodMiniOptional<z.ZodMiniString<string>>;
54
+ url: z.ZodMiniString<string>;
55
+ }, z.core.$catchall<z.ZodMiniJSONSchema>>>;
56
+ screen: z.ZodMiniOptional<z.ZodMiniObject<{
57
+ name: z.ZodMiniString<string>;
58
+ }, z.core.$catchall<z.ZodMiniJSONSchema>>>;
59
+ }, z.core.$strip>;
60
+ messageId: z.ZodMiniString<string>;
61
+ originalTimestamp: z.iso.ZodMiniISODateTime;
62
+ sentAt: z.iso.ZodMiniISODateTime;
63
+ timestamp: z.iso.ZodMiniISODateTime;
64
+ userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
65
+ type: z.ZodMiniLiteral<"track">;
66
+ event: z.ZodMiniString<string>;
67
+ properties: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
68
+ }, z.core.$strip>;
69
+ /**
70
+ * TypeScript type inferred from {@link TrackEvent}.
71
+ */
72
+ export type TrackEvent = z.infer<typeof TrackEvent>;
73
+ //# sourceMappingURL=TrackEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TrackEvent.d.ts","sourceRoot":"","sources":["../../../src/experience/event/TrackEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAI7B;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAerB,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAA"}
@@ -0,0 +1,27 @@
1
+ import * as z from 'zod/mini';
2
+ import { UniversalEventProperties } from './UniversalEventProperties';
3
+ import { Properties } from './properties';
4
+ /**
5
+ * Zod schema describing a custom `track` event.
6
+ *
7
+ * @remarks
8
+ * Track events capture arbitrary user actions that do not fit into
9
+ * the more specific event types (page, screen, identify, etc.).
10
+ *
11
+ * Extends {@link UniversalEventProperties}.
12
+ */
13
+ export const TrackEvent = z.extend(UniversalEventProperties, {
14
+ /**
15
+ * Discriminator indicating that this event is a track event.
16
+ */
17
+ type: z.literal('track'),
18
+ /**
19
+ * Name of the event being tracked.
20
+ */
21
+ event: z.string(),
22
+ /**
23
+ * Additional properties describing the event.
24
+ */
25
+ properties: Properties,
26
+ });
27
+ //# sourceMappingURL=TrackEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TrackEvent.js","sourceRoot":"","sources":["../../../src/experience/event/TrackEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAC7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,wBAAwB,EAAE;IAC3D;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAExB;;OAEG;IACH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IAEjB;;OAEG;IACH,UAAU,EAAE,UAAU;CACvB,CAAC,CAAA"}
@@ -0,0 +1,175 @@
1
+ import * as z from 'zod/mini';
2
+ /**
3
+ * Zod schema describing universal event context properties shared by all
4
+ * analytics events.
5
+ *
6
+ * @remarks
7
+ * The `page` and screen` properties are optional, but should usually be
8
+ * omitted for event types that are not `page` or `screen`
9
+ */
10
+ export declare const UniversalEventContext: z.ZodMiniObject<{
11
+ /**
12
+ * Application-level metadata.
13
+ */
14
+ app: z.ZodMiniOptional<z.ZodMiniObject<{
15
+ name: z.ZodMiniString<string>;
16
+ version: z.ZodMiniString<string>;
17
+ }, z.core.$strip>>;
18
+ /**
19
+ * Campaign attribution metadata.
20
+ */
21
+ campaign: z.ZodMiniObject<{
22
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
23
+ source: z.ZodMiniOptional<z.ZodMiniString<string>>;
24
+ medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
25
+ term: z.ZodMiniOptional<z.ZodMiniString<string>>;
26
+ content: z.ZodMiniOptional<z.ZodMiniString<string>>;
27
+ }, z.core.$strip>;
28
+ /**
29
+ * GDPR-related consent information.
30
+ */
31
+ gdpr: z.ZodMiniObject<{
32
+ /**
33
+ * Indicates whether the user has given consent.
34
+ */
35
+ isConsentGiven: z.ZodMiniBoolean<boolean>;
36
+ }, z.core.$strip>;
37
+ /**
38
+ * Analytics library metadata.
39
+ */
40
+ library: z.ZodMiniObject<{
41
+ name: z.ZodMiniString<string>;
42
+ version: z.ZodMiniString<string>;
43
+ }, z.core.$strip>;
44
+ /**
45
+ * Locale identifier of the event (e.g., `"en-US"`).
46
+ */
47
+ locale: z.ZodMiniString<string>;
48
+ /**
49
+ * Optional geo-location information associated with the event.
50
+ */
51
+ location: z.ZodMiniOptional<z.ZodMiniObject<{
52
+ coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
53
+ latitude: z.ZodMiniNumber<number>;
54
+ longitude: z.ZodMiniNumber<number>;
55
+ }, z.core.$strip>>;
56
+ city: z.ZodMiniOptional<z.ZodMiniString<string>>;
57
+ postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
58
+ region: z.ZodMiniOptional<z.ZodMiniString<string>>;
59
+ regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
60
+ country: z.ZodMiniOptional<z.ZodMiniString<string>>;
61
+ countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
62
+ continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
63
+ timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
64
+ }, z.core.$strip>>;
65
+ /**
66
+ * User agent string of the client, if available.
67
+ */
68
+ userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
69
+ }, z.core.$strip>;
70
+ export type UniversalEventContext = z.infer<typeof UniversalEventContext>;
71
+ /**
72
+ * Zod schema describing universal properties shared by all analytics events.
73
+ *
74
+ * @remarks
75
+ * These properties capture common metadata such as channel, context,
76
+ * timestamps, and user identifiers.
77
+ */
78
+ export declare const UniversalEventProperties: z.ZodMiniObject<{
79
+ /**
80
+ * Channel from which the event originated.
81
+ *
82
+ * @see Channel
83
+ */
84
+ channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
85
+ /**
86
+ * Context object carrying environment and client metadata.
87
+ */
88
+ context: z.ZodMiniObject<{
89
+ app: z.ZodMiniOptional<z.ZodMiniObject<{
90
+ name: z.ZodMiniString<string>;
91
+ version: z.ZodMiniString<string>;
92
+ }, z.core.$strip>>;
93
+ campaign: z.ZodMiniObject<{
94
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
95
+ source: z.ZodMiniOptional<z.ZodMiniString<string>>;
96
+ medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
97
+ term: z.ZodMiniOptional<z.ZodMiniString<string>>;
98
+ content: z.ZodMiniOptional<z.ZodMiniString<string>>;
99
+ }, z.core.$strip>;
100
+ gdpr: z.ZodMiniObject<{
101
+ /**
102
+ * Indicates whether the user has given consent.
103
+ */
104
+ isConsentGiven: z.ZodMiniBoolean<boolean>;
105
+ }, z.core.$strip>;
106
+ library: z.ZodMiniObject<{
107
+ name: z.ZodMiniString<string>;
108
+ version: z.ZodMiniString<string>;
109
+ }, z.core.$strip>;
110
+ locale: z.ZodMiniString<string>;
111
+ location: z.ZodMiniOptional<z.ZodMiniObject<{
112
+ coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
113
+ latitude: z.ZodMiniNumber<number>;
114
+ longitude: z.ZodMiniNumber<number>;
115
+ }, z.core.$strip>>;
116
+ city: z.ZodMiniOptional<z.ZodMiniString<string>>;
117
+ postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
118
+ region: z.ZodMiniOptional<z.ZodMiniString<string>>;
119
+ regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
120
+ country: z.ZodMiniOptional<z.ZodMiniString<string>>;
121
+ countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
122
+ continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
123
+ timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
124
+ }, z.core.$strip>>;
125
+ userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
126
+ page: z.ZodMiniOptional<z.ZodMiniObject<{
127
+ path: z.ZodMiniString<string>;
128
+ query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
129
+ referrer: z.ZodMiniString<string>;
130
+ search: z.ZodMiniString<string>;
131
+ title: z.ZodMiniOptional<z.ZodMiniString<string>>;
132
+ url: z.ZodMiniString<string>;
133
+ }, z.core.$catchall<z.ZodMiniJSONSchema>>>;
134
+ screen: z.ZodMiniOptional<z.ZodMiniObject<{
135
+ name: z.ZodMiniString<string>;
136
+ }, z.core.$catchall<z.ZodMiniJSONSchema>>>;
137
+ }, z.core.$strip>;
138
+ /**
139
+ * Unique identifier for this message.
140
+ *
141
+ * @remarks
142
+ * Used to deduplicate events across retries and transports.
143
+ */
144
+ messageId: z.ZodMiniString<string>;
145
+ /**
146
+ * Timestamp when the event originally occurred.
147
+ *
148
+ * @remarks
149
+ * ISO 8601 datetime string.
150
+ */
151
+ originalTimestamp: z.iso.ZodMiniISODateTime;
152
+ /**
153
+ * Timestamp when the event payload was sent.
154
+ *
155
+ * @remarks
156
+ * ISO 8601 datetime string.
157
+ */
158
+ sentAt: z.iso.ZodMiniISODateTime;
159
+ /**
160
+ * Timestamp when the event was recorded or processed.
161
+ *
162
+ * @remarks
163
+ * ISO 8601 datetime string.
164
+ */
165
+ timestamp: z.iso.ZodMiniISODateTime;
166
+ /**
167
+ * Identifier of the authenticated user, if known.
168
+ */
169
+ userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
170
+ }, z.core.$strip>;
171
+ /**
172
+ * TypeScript type inferred from {@link UniversalEventProperties}.
173
+ */
174
+ export type UniversalEventProperties = z.infer<typeof UniversalEventProperties>;
175
+ //# sourceMappingURL=UniversalEventProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UniversalEventProperties.d.ts","sourceRoot":"","sources":["../../../src/experience/event/UniversalEventProperties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAG7B;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB;IAChC;;OAEG;;;;;IAGH;;OAEG;;;;;;;;IAGH;;OAEG;;QAED;;WAEG;;;IAIL;;OAEG;;;;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;IAGH;;OAEG;;iBAEH,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB;IACnC;;;;OAIG;;IAGH;;OAEG;;;;;;;;;;;;;;YA7CD;;eAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiDL;;;;;OAKG;;IAGH;;;;;OAKG;;IAGH;;;;;OAKG;;IAGH;;;;;OAKG;;IAGH;;OAEG;;iBAEH,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
@@ -0,0 +1,100 @@
1
+ import * as z from 'zod/mini';
2
+ import { App, Campaign, Channel, GeoLocation, Library, Page, Screen } from './properties';
3
+ /**
4
+ * Zod schema describing universal event context properties shared by all
5
+ * analytics events.
6
+ *
7
+ * @remarks
8
+ * The `page` and screen` properties are optional, but should usually be
9
+ * omitted for event types that are not `page` or `screen`
10
+ */
11
+ export const UniversalEventContext = z.object({
12
+ /**
13
+ * Application-level metadata.
14
+ */
15
+ app: App,
16
+ /**
17
+ * Campaign attribution metadata.
18
+ */
19
+ campaign: Campaign,
20
+ /**
21
+ * GDPR-related consent information.
22
+ */
23
+ gdpr: z.object({
24
+ /**
25
+ * Indicates whether the user has given consent.
26
+ */
27
+ isConsentGiven: z.boolean(),
28
+ }),
29
+ /**
30
+ * Analytics library metadata.
31
+ */
32
+ library: Library,
33
+ /**
34
+ * Locale identifier of the event (e.g., `"en-US"`).
35
+ */
36
+ locale: z.string(),
37
+ /**
38
+ * Optional geo-location information associated with the event.
39
+ */
40
+ location: z.optional(GeoLocation),
41
+ /**
42
+ * User agent string of the client, if available.
43
+ */
44
+ userAgent: z.optional(z.string()),
45
+ });
46
+ /**
47
+ * Zod schema describing universal properties shared by all analytics events.
48
+ *
49
+ * @remarks
50
+ * These properties capture common metadata such as channel, context,
51
+ * timestamps, and user identifiers.
52
+ */
53
+ export const UniversalEventProperties = z.object({
54
+ /**
55
+ * Channel from which the event originated.
56
+ *
57
+ * @see Channel
58
+ */
59
+ channel: Channel,
60
+ /**
61
+ * Context object carrying environment and client metadata.
62
+ */
63
+ context: z.extend(UniversalEventContext, {
64
+ page: z.optional(Page),
65
+ screen: z.optional(Screen),
66
+ }),
67
+ /**
68
+ * Unique identifier for this message.
69
+ *
70
+ * @remarks
71
+ * Used to deduplicate events across retries and transports.
72
+ */
73
+ messageId: z.string(),
74
+ /**
75
+ * Timestamp when the event originally occurred.
76
+ *
77
+ * @remarks
78
+ * ISO 8601 datetime string.
79
+ */
80
+ originalTimestamp: z.iso.datetime(),
81
+ /**
82
+ * Timestamp when the event payload was sent.
83
+ *
84
+ * @remarks
85
+ * ISO 8601 datetime string.
86
+ */
87
+ sentAt: z.iso.datetime(),
88
+ /**
89
+ * Timestamp when the event was recorded or processed.
90
+ *
91
+ * @remarks
92
+ * ISO 8601 datetime string.
93
+ */
94
+ timestamp: z.iso.datetime(),
95
+ /**
96
+ * Identifier of the authenticated user, if known.
97
+ */
98
+ userId: z.optional(z.string()),
99
+ });
100
+ //# sourceMappingURL=UniversalEventProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UniversalEventProperties.js","sourceRoot":"","sources":["../../../src/experience/event/UniversalEventProperties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAC7B,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAEzF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C;;OAEG;IACH,GAAG,EAAE,GAAG;IAER;;OAEG;IACH,QAAQ,EAAE,QAAQ;IAElB;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb;;WAEG;QACH,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE;KAC5B,CAAC;IAEF;;OAEG;IACH,OAAO,EAAE,OAAO;IAEhB;;OAEG;IACH,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAElB;;OAEG;IACH,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC;IAEjC;;OAEG;IACH,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAClC,CAAC,CAAA;AAGF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C;;;;OAIG;IACH,OAAO,EAAE,OAAO;IAEhB;;OAEG;IACH,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,qBAAqB,EAAE;QACvC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;KAC3B,CAAC;IAEF;;;;;OAKG;IACH,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IAErB;;;;;OAKG;IACH,iBAAiB,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;IAEnC;;;;;OAKG;IACH,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;IAExB;;;;;OAKG;IACH,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;IAE3B;;OAEG;IACH,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ export * from './AliasEvent';
2
+ export * from './BatchExperienceEvent';
3
+ export * from './ComponentViewEvent';
4
+ export * from './ExperienceEvent';
5
+ export * from './GroupEvent';
6
+ export * from './IdentifyEvent';
7
+ export * from './PageViewEvent';
8
+ export * from './properties';
9
+ export * from './ScreenViewEvent';
10
+ export * from './TrackEvent';
11
+ export * from './UniversalEventProperties';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/experience/event/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,12 @@
1
+ export * from './AliasEvent';
2
+ export * from './BatchExperienceEvent';
3
+ export * from './ComponentViewEvent';
4
+ export * from './ExperienceEvent';
5
+ export * from './GroupEvent';
6
+ export * from './IdentifyEvent';
7
+ export * from './PageViewEvent';
8
+ export * from './properties';
9
+ export * from './ScreenViewEvent';
10
+ export * from './TrackEvent';
11
+ export * from './UniversalEventProperties';
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/experience/event/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,25 @@
1
+ import * as z from 'zod/mini';
2
+ /**
3
+ * Zod schema describing app-level properties.
4
+ *
5
+ * @remarks
6
+ * These properties typically describe the application that is emitting
7
+ * analytics events, such as its name and version.
8
+ *
9
+ * The entire object is optional; when omitted, no app context is attached.
10
+ */
11
+ export declare const App: z.ZodMiniOptional<z.ZodMiniObject<{
12
+ /**
13
+ * Name of the application.
14
+ */
15
+ name: z.ZodMiniString<string>;
16
+ /**
17
+ * Version of the application.
18
+ */
19
+ version: z.ZodMiniString<string>;
20
+ }, z.core.$strip>>;
21
+ /**
22
+ * TypeScript type inferred from {@link App}.
23
+ */
24
+ export type App = z.infer<typeof App>;
25
+ //# sourceMappingURL=App.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../src/experience/event/properties/App.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B;;;;;;;;GAQG;AACH,eAAO,MAAM,GAAG;IAEZ;;OAEG;;IAGH;;OAEG;;kBAGN,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,CAAC,CAAA"}
@@ -0,0 +1,21 @@
1
+ import * as z from 'zod/mini';
2
+ /**
3
+ * Zod schema describing app-level properties.
4
+ *
5
+ * @remarks
6
+ * These properties typically describe the application that is emitting
7
+ * analytics events, such as its name and version.
8
+ *
9
+ * The entire object is optional; when omitted, no app context is attached.
10
+ */
11
+ export const App = z.optional(z.object({
12
+ /**
13
+ * Name of the application.
14
+ */
15
+ name: z.string(),
16
+ /**
17
+ * Version of the application.
18
+ */
19
+ version: z.string(),
20
+ }));
21
+ //# sourceMappingURL=App.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.js","sourceRoot":"","sources":["../../../../src/experience/event/properties/App.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,QAAQ,CAC3B,CAAC,CAAC,MAAM,CAAC;IACP;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAEhB;;OAEG;IACH,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CACH,CAAA"}
@@ -0,0 +1,34 @@
1
+ import * as z from 'zod/mini';
2
+ /**
3
+ * Zod schema describing campaign attribution properties.
4
+ *
5
+ * @remarks
6
+ * These fields typically mirror UTM parameters used for marketing campaigns.
7
+ */
8
+ export declare const Campaign: z.ZodMiniObject<{
9
+ /**
10
+ * Name of the campaign (e.g., `utm_campaign`).
11
+ */
12
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
13
+ /**
14
+ * Campaign source (e.g., `utm_source`).
15
+ */
16
+ source: z.ZodMiniOptional<z.ZodMiniString<string>>;
17
+ /**
18
+ * Campaign medium (e.g., `utm_medium`).
19
+ */
20
+ medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
21
+ /**
22
+ * Campaign term (e.g., `utm_term`).
23
+ */
24
+ term: z.ZodMiniOptional<z.ZodMiniString<string>>;
25
+ /**
26
+ * Campaign content (e.g., `utm_content`).
27
+ */
28
+ content: z.ZodMiniOptional<z.ZodMiniString<string>>;
29
+ }, z.core.$strip>;
30
+ /**
31
+ * TypeScript type inferred from {@link Campaign}.
32
+ */
33
+ export type Campaign = z.infer<typeof Campaign>;
34
+ //# sourceMappingURL=Campaign.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Campaign.d.ts","sourceRoot":"","sources":["../../../../src/experience/event/properties/Campaign.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;IACnB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;iBAEH,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAA"}
@@ -0,0 +1,30 @@
1
+ import * as z from 'zod/mini';
2
+ /**
3
+ * Zod schema describing campaign attribution properties.
4
+ *
5
+ * @remarks
6
+ * These fields typically mirror UTM parameters used for marketing campaigns.
7
+ */
8
+ export const Campaign = z.object({
9
+ /**
10
+ * Name of the campaign (e.g., `utm_campaign`).
11
+ */
12
+ name: z.optional(z.string()),
13
+ /**
14
+ * Campaign source (e.g., `utm_source`).
15
+ */
16
+ source: z.optional(z.string()),
17
+ /**
18
+ * Campaign medium (e.g., `utm_medium`).
19
+ */
20
+ medium: z.optional(z.string()),
21
+ /**
22
+ * Campaign term (e.g., `utm_term`).
23
+ */
24
+ term: z.optional(z.string()),
25
+ /**
26
+ * Campaign content (e.g., `utm_content`).
27
+ */
28
+ content: z.optional(z.string()),
29
+ });
30
+ //# sourceMappingURL=Campaign.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Campaign.js","sourceRoot":"","sources":["../../../../src/experience/event/properties/Campaign.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAE5B;;OAEG;IACH,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAE9B;;OAEG;IACH,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAE9B;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAE5B;;OAEG;IACH,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAChC,CAAC,CAAA"}
@@ -0,0 +1,17 @@
1
+ import * as z from 'zod/mini';
2
+ /**
3
+ * Zod schema describing the analytics channel.
4
+ *
5
+ * @remarks
6
+ * Indicates the execution environment where the event originated.
7
+ *
8
+ * - `'mobile'` — Events from native or hybrid mobile apps.
9
+ * - `'server'` — Events emitted from backend/server-side code.
10
+ * - `'web'` — Events from web browsers or web-based clients.
11
+ */
12
+ export declare const Channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
13
+ /**
14
+ * TypeScript type inferred from {@link Channel}.
15
+ */
16
+ export type Channel = z.infer<typeof Channel>;
17
+ //# sourceMappingURL=Channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Channel.d.ts","sourceRoot":"","sources":["../../../../src/experience/event/properties/Channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,4GAAwE,CAAA;AAE5F;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAA"}
@@ -0,0 +1,13 @@
1
+ import * as z from 'zod/mini';
2
+ /**
3
+ * Zod schema describing the analytics channel.
4
+ *
5
+ * @remarks
6
+ * Indicates the execution environment where the event originated.
7
+ *
8
+ * - `'mobile'` — Events from native or hybrid mobile apps.
9
+ * - `'server'` — Events emitted from backend/server-side code.
10
+ * - `'web'` — Events from web browsers or web-based clients.
11
+ */
12
+ export const Channel = z.union([z.literal('mobile'), z.literal('server'), z.literal('web')]);
13
+ //# sourceMappingURL=Channel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Channel.js","sourceRoot":"","sources":["../../../../src/experience/event/properties/Channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA"}
@@ -0,0 +1,13 @@
1
+ import * as z from 'zod/mini';
2
+ /**
3
+ * Zod schema describing a simple string-to-string dictionary.
4
+ *
5
+ * @remarks
6
+ * Commonly used for query parameters or other small key–value maps.
7
+ */
8
+ export declare const Dictionary: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
9
+ /**
10
+ * TypeScript type inferred from {@link Dictionary}.
11
+ */
12
+ export type Dictionary = z.infer<typeof Dictionary>;
13
+ //# sourceMappingURL=Dictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dictionary.d.ts","sourceRoot":"","sources":["../../../../src/experience/event/properties/Dictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B;;;;;GAKG;AACH,eAAO,MAAM,UAAU,mEAAmC,CAAA;AAE1D;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import * as z from 'zod/mini';
2
+ /**
3
+ * Zod schema describing a simple string-to-string dictionary.
4
+ *
5
+ * @remarks
6
+ * Commonly used for query parameters or other small key–value maps.
7
+ */
8
+ export const Dictionary = z.record(z.string(), z.string());
9
+ //# sourceMappingURL=Dictionary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dictionary.js","sourceRoot":"","sources":["../../../../src/experience/event/properties/Dictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAA"}