@gradial/aci 0.1.52-rc.9 → 0.1.52

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 (254) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/README.md +86 -5
  3. package/dist/astro/error-page.js +1 -0
  4. package/dist/astro/index.js +4 -0
  5. package/dist/astro/page.d.ts +5 -2
  6. package/dist/astro/page.js +35 -23
  7. package/dist/astro/preview.js +2 -17
  8. package/dist/audience-data-models.d.ts +308 -197
  9. package/dist/audience-data-models.js +313 -51
  10. package/dist/cli/compile-registry.mjs +6 -34
  11. package/dist/cli/mintlify-render.mjs +8 -0
  12. package/dist/collect/aci.js +1 -1
  13. package/dist/collect/aci.js.sha256 +1 -1
  14. package/dist/collect/api.d.ts +6 -7
  15. package/dist/collect/api.js +21 -8
  16. package/dist/collect/assignments.d.ts +7 -9
  17. package/dist/collect/assignments.js +23 -32
  18. package/dist/collect/batcher.d.ts +9 -7
  19. package/dist/collect/batcher.js +6 -5
  20. package/dist/collect/consent/envelope.d.ts +7 -1
  21. package/dist/collect/consent/envelope.js +3 -1
  22. package/dist/collect/consent/mapping.d.ts +2 -0
  23. package/dist/collect/consent/mapping.js +1 -0
  24. package/dist/collect/consenthold.d.ts +38 -0
  25. package/dist/collect/consenthold.js +82 -0
  26. package/dist/collect/declarative.js +7 -5
  27. package/dist/collect/gapbuffer.d.ts +13 -4
  28. package/dist/collect/gapbuffer.js +21 -10
  29. package/dist/collect/index.js +78 -21
  30. package/dist/collect/pageviews.d.ts +11 -11
  31. package/dist/collect/pageviews.js +27 -22
  32. package/dist/consent-banner/index.d.ts +17 -0
  33. package/dist/consent-banner/index.js +23 -0
  34. package/dist/content/index.d.ts +2 -1
  35. package/dist/content/index.js +4 -1
  36. package/dist/content/provider.d.ts +16 -2
  37. package/dist/content/provider.js +5 -1
  38. package/dist/content/resolve-slots.d.ts +24 -2
  39. package/dist/content/resolve-slots.js +127 -21
  40. package/dist/content/types.d.ts +5 -1
  41. package/dist/edge/expression-capabilities.v1.d.ts +106 -0
  42. package/dist/edge/expression-capabilities.v1.js +165 -0
  43. package/dist/index.d.ts +1 -2
  44. package/dist/index.js +0 -1
  45. package/dist/internal/domain/edge/identity.d.ts +47 -4
  46. package/dist/internal/domain/edge/identity.js +130 -26
  47. package/dist/internal/domain/edge/index.d.ts +1 -1
  48. package/dist/internal/domain/edge/index.js +1 -1
  49. package/dist/internal/domain/edge/mimic_token.d.ts +14 -0
  50. package/dist/internal/domain/edge/mimic_token.js +125 -0
  51. package/dist/internal/domain/edge/personalization-core.d.ts +61 -22
  52. package/dist/internal/domain/edge/personalization-core.js +790 -200
  53. package/dist/internal/domain/edge/personalization_index.d.ts +17 -0
  54. package/dist/internal/domain/edge/personalization_index.js +55 -0
  55. package/dist/internal/domain/edge/resolve.js +76 -39
  56. package/dist/internal/domain/edge/testdata/flat_only_validator_v1.d.ts +10 -0
  57. package/dist/internal/domain/edge/testdata/flat_only_validator_v1.js +253 -0
  58. package/dist/internal/domain/edge/types.d.ts +82 -78
  59. package/dist/internal/domain/edge/types.js +3 -3
  60. package/dist/internal/domain/edge/variant_key.d.ts +4 -0
  61. package/dist/internal/domain/edge/variant_key.js +56 -0
  62. package/dist/internal/platform/collectionstore/errors.d.ts +24 -0
  63. package/dist/internal/platform/collectionstore/errors.js +48 -0
  64. package/dist/mintlify/blocks.d.ts +6 -0
  65. package/dist/mintlify/blocks.js +201 -0
  66. package/dist/mintlify/config.d.ts +3 -0
  67. package/dist/mintlify/config.js +77 -0
  68. package/dist/mintlify/index.d.ts +3 -0
  69. package/dist/mintlify/index.js +2 -0
  70. package/dist/mintlify/json.d.ts +8 -0
  71. package/dist/mintlify/json.js +37 -0
  72. package/dist/mintlify/materialize.d.ts +14 -0
  73. package/dist/mintlify/materialize.js +254 -0
  74. package/dist/mintlify/types.d.ts +74 -0
  75. package/dist/mintlify/types.js +1 -0
  76. package/dist/mintlify/validate.d.ts +7 -0
  77. package/dist/mintlify/validate.js +256 -0
  78. package/dist/next/assignments-navigation.d.ts +4 -0
  79. package/dist/next/assignments-navigation.js +18 -0
  80. package/dist/next/assignments-script.d.ts +3 -2
  81. package/dist/next/assignments-script.js +5 -5
  82. package/dist/next/error-pages.d.ts +4 -0
  83. package/dist/next/error-pages.js +4 -0
  84. package/dist/next/error-seat-payload.d.ts +2 -1
  85. package/dist/next/error-seat-payload.js +14 -24
  86. package/dist/next/error-seat.js +7 -2
  87. package/dist/next/index.d.ts +1 -1
  88. package/dist/next/index.js +3 -1
  89. package/dist/next/page.d.ts +2 -1
  90. package/dist/next/page.js +15 -4
  91. package/dist/next/release-context.d.ts +30 -0
  92. package/dist/next/release-context.js +56 -0
  93. package/dist/next/render.d.ts +1 -1
  94. package/dist/next/render.js +15 -5
  95. package/dist/next/server.d.ts +9 -3
  96. package/dist/next/server.js +17 -32
  97. package/dist/preview/core.d.ts +1 -0
  98. package/dist/preview/core.js +27 -0
  99. package/dist/react/VideoPlayer.d.ts +3 -3
  100. package/dist/react/index.d.ts +3 -3
  101. package/dist/registry.d.ts +4 -2
  102. package/dist/testing/conformance/checks.d.ts +2 -2
  103. package/dist/testing/conformance/checks.js +2 -0
  104. package/dist/testing/conformance/index.d.ts +1 -0
  105. package/dist/testing/conformance/index.js +1 -0
  106. package/dist/testing/conformance/next-stubs.d.ts +6 -0
  107. package/dist/testing/conformance/next-stubs.js +9 -0
  108. package/dist/testing/conformance/preset.d.ts +3 -2
  109. package/dist/testing/conformance/preset.js +15 -8
  110. package/dist/testing/conformance/root-identity.d.ts +31 -0
  111. package/dist/testing/conformance/root-identity.js +361 -0
  112. package/dist/testing/conformance/stubs/next-image.d.ts +7 -0
  113. package/dist/testing/conformance/stubs/next-image.js +5 -0
  114. package/dist/testing/conformance/stubs/next-link.d.ts +7 -0
  115. package/dist/testing/conformance/stubs/next-link.js +4 -0
  116. package/dist/testing/conformance/types.d.ts +5 -2
  117. package/dist/testing/index.d.ts +1 -1
  118. package/dist/testing/index.js +4 -3
  119. package/dist/types/block-ref.js +2 -2
  120. package/dist/types/component.d.ts +9 -0
  121. package/dist/types/config.d.ts +0 -1
  122. package/dist/types/index.d.ts +0 -1
  123. package/dist/types/index.js +0 -1
  124. package/dist/types/page.d.ts +0 -1
  125. package/migrations/conformance-registry.md +22 -0
  126. package/migrations/experiment-goal-ids.md +43 -0
  127. package/package.json +21 -7
  128. package/src/cli/compile-registry.mjs +6 -30
  129. package/src/cli/mintlify-render.mjs +9 -0
  130. package/src/types/block-ref.test.ts +16 -1
  131. package/src/types/block-ref.ts +2 -2
  132. package/src/types/component.ts +10 -0
  133. package/src/types/config.ts +0 -1
  134. package/src/types/index.ts +0 -1
  135. package/src/types/page.ts +0 -1
  136. package/templates/astro/starter-content/src/components/chrome/Footer.astro +5 -3
  137. package/templates/astro/starter-content/src/components/chrome/Header.astro +5 -3
  138. package/templates/astro/starter-content/src/components/elements/Button.astro +5 -2
  139. package/templates/astro/starter-content/src/components/elements/ButtonBlock.astro +5 -3
  140. package/templates/astro/starter-content/src/components/sections/ContainerSection.astro +4 -3
  141. package/templates/astro/starter-content/src/components/sections/FeatureCard.astro +4 -3
  142. package/templates/astro/starter-content/src/components/sections/FeatureGrid.astro +4 -3
  143. package/templates/astro/starter-content/src/components/sections/HomeHero.astro +5 -3
  144. package/templates/astro/starter-content/src/components/sections/PersonalizationChoice.astro +4 -3
  145. package/templates/astro/starter-content/src/components/sections/StatsBar.astro +4 -3
  146. package/templates/astro/starter-content/src/fixtures/sections.ts +1 -1
  147. package/templates/astro/starter-content/src/stories/CompositionStoryFrame.astro +7 -2
  148. package/templates/astro/template/.aci.yaml.tmpl +0 -1
  149. package/templates/astro/template/package.json.tmpl +5 -5
  150. package/templates/astro/template/src/layouts/SiteLayout.astro +2 -2
  151. package/templates/common/.agents/skills/aci/SKILL.md +58 -1
  152. package/templates/common/.agents/skills/authoring/SKILL.md +194 -42
  153. package/templates/common/.agents/skills/authoring/references/block-registry.md +19 -3
  154. package/templates/common/.agents/skills/authoring/references/contracts.md +9 -30
  155. package/templates/common/.agents/skills/authoring/references/repo-structure.md +5 -4
  156. package/templates/common/.agents/skills/authoring/references/sdk-server-functions.md +3 -3
  157. package/templates/common/.agents/skills/dam-delivery/SKILL.md +216 -0
  158. package/templates/common/.agents/skills/dam-delivery/references/permalink-grammar.md +167 -0
  159. package/templates/common/.agents/skills/migration/references/canon-migration.md +18 -67
  160. package/templates/common/.agents/skills/migration/references/selector-map.md +1 -1
  161. package/templates/common/.content/fragments/navbar/_index.json +24 -0
  162. package/templates/common/.content/fragments/site-footer/_index.json +61 -0
  163. package/templates/common/.content/pages/404/_index.json +4 -2
  164. package/templates/common/.content/pages/_index.json +0 -1
  165. package/templates/common/.content/pages/error/_index.json +4 -2
  166. package/templates/common/.content/schemas/site.schema.json +11 -1
  167. package/templates/common/.content/templates/error.json +24 -0
  168. package/templates/common/.content/templates/home.json +28 -0
  169. package/templates/common/.content/templates/site.json +8 -0
  170. package/templates/common/.content/templates/standard.json +24 -0
  171. package/templates/common/.nvmrc +1 -1
  172. package/templates/common/starter-content/.content/config/site.json +1 -1
  173. package/templates/common/starter-content/.content/dam/README.md +74 -0
  174. package/templates/common/starter-content/.content/dam/folders/seed/{ast_site_about_hero → 000000000000000000000000101}/asset.json +1 -1
  175. package/templates/common/starter-content/.content/dam/folders/seed/{ast_site_home_hero → 000000000000000000000000102}/asset.json +1 -1
  176. package/templates/common/starter-content/.content/pages/404/_index.json +1 -2
  177. package/templates/common/starter-content/.content/pages/{home/_index.json → _index.json} +14 -3
  178. package/templates/common/starter-content/.content/pages/about/_index.json +2 -2
  179. package/templates/common/starter-content/.content/pages/error/_index.json +1 -2
  180. package/templates/common/starter-content/.content/patterns/components/button.json +2 -2
  181. package/templates/common/starter-content/.content/patterns/components/container.json +8 -3
  182. package/templates/common/starter-content/.content/patterns/components/feature_card.json +2 -2
  183. package/templates/common/starter-content/.content/patterns/components/feature_grid.json +5 -3
  184. package/templates/common/starter-content/.content/patterns/components/home_hero.json +2 -2
  185. package/templates/common/starter-content/.content/patterns/components/personalization_choice.json +2 -2
  186. package/templates/common/starter-content/.content/patterns/components/site-footer.json +2 -2
  187. package/templates/common/starter-content/.content/patterns/components/site-navigation.json +2 -2
  188. package/templates/common/starter-content/.content/patterns/components/stats_bar.json +2 -2
  189. package/templates/common/starter-content/.content/schemas/site.schema.json +11 -1
  190. package/templates/nextjs/starter-content/src/components/chrome/Footer.tsx +4 -3
  191. package/templates/nextjs/starter-content/src/components/chrome/Header.tsx +4 -3
  192. package/templates/nextjs/starter-content/src/components/elements/Button.tsx +4 -3
  193. package/templates/nextjs/starter-content/src/components/elements/ButtonBlock.tsx +4 -3
  194. package/templates/nextjs/starter-content/src/components/sections/ContainerSection.tsx +4 -2
  195. package/templates/nextjs/starter-content/src/components/sections/FeatureCard.tsx +4 -3
  196. package/templates/nextjs/starter-content/src/components/sections/FeatureGrid.tsx +4 -2
  197. package/templates/nextjs/starter-content/src/components/sections/HomeHero.tsx +4 -3
  198. package/templates/nextjs/starter-content/src/components/sections/PersonalizationChoice.tsx +4 -2
  199. package/templates/nextjs/starter-content/src/components/sections/StatsBar.tsx +4 -3
  200. package/templates/nextjs/template/.aci.yaml +0 -1
  201. package/templates/nextjs/template/.aci.yaml.tmpl +0 -1
  202. package/templates/nextjs/template/package.json.tmpl +4 -3
  203. package/templates/nextjs/template/src/app/_components/c15t-bridge.ts +30 -0
  204. package/templates/nextjs/template/src/app/_components/c15t-consent-ui.tsx +37 -0
  205. package/templates/nextjs/template/src/app/_components/consent-manager.css +63 -0
  206. package/templates/nextjs/template/src/app/_components/consent-manager.tsx +76 -0
  207. package/templates/nextjs/template/src/app/fonts/inter/OFL.txt +93 -0
  208. package/templates/nextjs/template/src/app/fonts/inter/inter-latin.woff2 +0 -0
  209. package/templates/nextjs/template/src/app/fonts/space-grotesk/OFL.txt +93 -0
  210. package/templates/nextjs/template/src/app/fonts/space-grotesk/space-grotesk-latin.woff2 +0 -0
  211. package/templates/nextjs/template/src/app/layout.tsx +12 -7
  212. package/templates/nextjs/template/tests/conformance.test.ts.tmpl +1 -0
  213. package/dist/define-layout.d.ts +0 -6
  214. package/dist/define-layout.js +0 -14
  215. package/dist/edge/personalization-core.d.ts +0 -11
  216. package/dist/edge/personalization-core.js +0 -269
  217. package/dist/internal/domain/edge/compose.d.ts +0 -24
  218. package/dist/internal/domain/edge/compose.js +0 -89
  219. package/dist/internal/domain/edge/record/codec.d.ts +0 -71
  220. package/dist/internal/domain/edge/record/codec.js +0 -401
  221. package/dist/next/collect-route.d.ts +0 -19
  222. package/dist/next/collect-route.js +0 -459
  223. package/dist/next/edge-config.d.ts +0 -1
  224. package/dist/next/edge-config.js +0 -92
  225. package/dist/next/envelope-digest.d.ts +0 -21
  226. package/dist/next/envelope-digest.js +0 -58
  227. package/dist/next/middleware.d.ts +0 -40
  228. package/dist/next/middleware.js +0 -475
  229. package/dist/next/personalization-host.d.ts +0 -134
  230. package/dist/next/personalization-host.js +0 -270
  231. package/dist/next/root-layout.d.ts +0 -4
  232. package/dist/next/root-layout.js +0 -5
  233. package/dist/next/vercel-collect-sdk-route.d.ts +0 -27
  234. package/dist/next/vercel-collect-sdk-route.js +0 -181
  235. package/dist/next/vercel-edge-projection-v1.d.ts +0 -24
  236. package/dist/next/vercel-edge-projection-v1.js +0 -880
  237. package/dist/next/vercel-personalization.d.ts +0 -4
  238. package/dist/next/vercel-personalization.js +0 -4
  239. package/dist/next/vercel-s3-personalization.d.ts +0 -79
  240. package/dist/next/vercel-s3-personalization.js +0 -570
  241. package/dist/types/layout.d.ts +0 -24
  242. package/src/types/layout.ts +0 -29
  243. package/templates/astro/starter-content/src/render/RenderPage.astro +0 -67
  244. package/templates/astro/template/src/cms/contracts/layouts/index.ts +0 -18
  245. package/templates/common/starter-content/.content/patterns/layouts/default.json +0 -14
  246. package/templates/nextjs/starter-content/src/components/elements/AtomicBlock.tsx +0 -13
  247. package/templates/nextjs/template/src/cms/contracts/layouts/index.ts +0 -16
  248. /package/dist/{types/layout.js → cli/mintlify-render.d.mts} +0 -0
  249. /package/templates/common/starter-content/.content/dam/folders/seed/{ast_site_home_hero → 000000000000000000000000101}/editorial.json +0 -0
  250. /package/templates/common/starter-content/.content/dam/folders/seed/{ast_site_about_hero → 000000000000000000000000101}/governance.json +0 -0
  251. /package/templates/common/starter-content/.content/dam/folders/seed/{ast_site_home_hero → 000000000000000000000000101}/versions/v0001.json +0 -0
  252. /package/templates/common/starter-content/.content/dam/folders/seed/{ast_site_about_hero → 000000000000000000000000102}/editorial.json +0 -0
  253. /package/templates/common/starter-content/.content/dam/folders/seed/{ast_site_home_hero → 000000000000000000000000102}/governance.json +0 -0
  254. /package/templates/common/starter-content/.content/dam/folders/seed/{ast_site_about_hero → 000000000000000000000000102}/versions/v0001.json +0 -0
@@ -1,4 +1,15 @@
1
1
  import { z } from 'zod';
2
+ export declare const expressionOperators: readonly ["equals", "contains", "startsWith", "exists", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual", "before", "after", "between", "in"];
3
+ type ExpressionCondition = {
4
+ field: string;
5
+ operator: (typeof expressionOperators)[number];
6
+ value?: unknown;
7
+ };
8
+ type ExpressionGroup = {
9
+ all?: ExpressionMember[];
10
+ any?: ExpressionMember[];
11
+ };
12
+ type ExpressionMember = ExpressionCondition | ExpressionGroup;
2
13
  export declare const segmentDataModel: import("./index.js").DataModelContract<z.ZodObject<{
3
14
  id: z.ZodString;
4
15
  displayName: z.ZodString;
@@ -20,6 +31,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
20
31
  experimentId: z.ZodString;
21
32
  armId: z.ZodOptional<z.ZodString>;
22
33
  }, z.core.$strict>>;
34
+ geo: z.ZodOptional<z.ZodObject<{
35
+ country: z.ZodOptional<z.ZodString>;
36
+ region: z.ZodOptional<z.ZodString>;
37
+ }, z.core.$strict>>;
23
38
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
24
39
  type: z.ZodLiteral<"event_count">;
25
40
  }, z.core.$strict>, z.ZodObject<{
@@ -31,6 +46,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
31
46
  experimentId: z.ZodString;
32
47
  armId: z.ZodOptional<z.ZodString>;
33
48
  }, z.core.$strict>>;
49
+ geo: z.ZodOptional<z.ZodObject<{
50
+ country: z.ZodOptional<z.ZodString>;
51
+ region: z.ZodOptional<z.ZodString>;
52
+ }, z.core.$strict>>;
34
53
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
35
54
  type: z.ZodLiteral<"event_exists">;
36
55
  }, z.core.$strict>, z.ZodObject<{
@@ -42,6 +61,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
42
61
  experimentId: z.ZodString;
43
62
  armId: z.ZodOptional<z.ZodString>;
44
63
  }, z.core.$strict>>;
64
+ geo: z.ZodOptional<z.ZodObject<{
65
+ country: z.ZodOptional<z.ZodString>;
66
+ region: z.ZodOptional<z.ZodString>;
67
+ }, z.core.$strict>>;
45
68
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
46
69
  type: z.ZodLiteral<"event_latest">;
47
70
  }, z.core.$strict>], "type">>;
@@ -55,6 +78,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
55
78
  experimentId: z.ZodString;
56
79
  armId: z.ZodOptional<z.ZodString>;
57
80
  }, z.core.$strict>>;
81
+ geo: z.ZodOptional<z.ZodObject<{
82
+ country: z.ZodOptional<z.ZodString>;
83
+ region: z.ZodOptional<z.ZodString>;
84
+ }, z.core.$strict>>;
58
85
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
59
86
  type: z.ZodLiteral<"event_count">;
60
87
  }, z.core.$strict>, z.ZodObject<{
@@ -66,6 +93,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
66
93
  experimentId: z.ZodString;
67
94
  armId: z.ZodOptional<z.ZodString>;
68
95
  }, z.core.$strict>>;
96
+ geo: z.ZodOptional<z.ZodObject<{
97
+ country: z.ZodOptional<z.ZodString>;
98
+ region: z.ZodOptional<z.ZodString>;
99
+ }, z.core.$strict>>;
69
100
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
70
101
  type: z.ZodLiteral<"event_exists">;
71
102
  }, z.core.$strict>, z.ZodObject<{
@@ -77,6 +108,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
77
108
  experimentId: z.ZodString;
78
109
  armId: z.ZodOptional<z.ZodString>;
79
110
  }, z.core.$strict>>;
111
+ geo: z.ZodOptional<z.ZodObject<{
112
+ country: z.ZodOptional<z.ZodString>;
113
+ region: z.ZodOptional<z.ZodString>;
114
+ }, z.core.$strict>>;
80
115
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
81
116
  type: z.ZodLiteral<"event_latest">;
82
117
  }, z.core.$strict>], "type">>>;
@@ -90,6 +125,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
90
125
  experimentId: z.ZodString;
91
126
  armId: z.ZodOptional<z.ZodString>;
92
127
  }, z.core.$strict>>;
128
+ geo: z.ZodOptional<z.ZodObject<{
129
+ country: z.ZodOptional<z.ZodString>;
130
+ region: z.ZodOptional<z.ZodString>;
131
+ }, z.core.$strict>>;
93
132
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
94
133
  type: z.ZodLiteral<"event_count">;
95
134
  }, z.core.$strict>, z.ZodObject<{
@@ -101,6 +140,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
101
140
  experimentId: z.ZodString;
102
141
  armId: z.ZodOptional<z.ZodString>;
103
142
  }, z.core.$strict>>;
143
+ geo: z.ZodOptional<z.ZodObject<{
144
+ country: z.ZodOptional<z.ZodString>;
145
+ region: z.ZodOptional<z.ZodString>;
146
+ }, z.core.$strict>>;
104
147
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
105
148
  type: z.ZodLiteral<"event_exists">;
106
149
  }, z.core.$strict>, z.ZodObject<{
@@ -112,6 +155,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
112
155
  experimentId: z.ZodString;
113
156
  armId: z.ZodOptional<z.ZodString>;
114
157
  }, z.core.$strict>>;
158
+ geo: z.ZodOptional<z.ZodObject<{
159
+ country: z.ZodOptional<z.ZodString>;
160
+ region: z.ZodOptional<z.ZodString>;
161
+ }, z.core.$strict>>;
115
162
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
116
163
  type: z.ZodLiteral<"event_latest">;
117
164
  }, z.core.$strict>], "type">>>;
@@ -126,6 +173,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
126
173
  experimentId: z.ZodString;
127
174
  armId: z.ZodOptional<z.ZodString>;
128
175
  }, z.core.$strict>>;
176
+ geo: z.ZodOptional<z.ZodObject<{
177
+ country: z.ZodOptional<z.ZodString>;
178
+ region: z.ZodOptional<z.ZodString>;
179
+ }, z.core.$strict>>;
129
180
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
130
181
  type: z.ZodLiteral<"event_count">;
131
182
  }, z.core.$strict>, z.ZodObject<{
@@ -137,6 +188,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
137
188
  experimentId: z.ZodString;
138
189
  armId: z.ZodOptional<z.ZodString>;
139
190
  }, z.core.$strict>>;
191
+ geo: z.ZodOptional<z.ZodObject<{
192
+ country: z.ZodOptional<z.ZodString>;
193
+ region: z.ZodOptional<z.ZodString>;
194
+ }, z.core.$strict>>;
140
195
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
141
196
  type: z.ZodLiteral<"event_exists">;
142
197
  }, z.core.$strict>, z.ZodObject<{
@@ -148,6 +203,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
148
203
  experimentId: z.ZodString;
149
204
  armId: z.ZodOptional<z.ZodString>;
150
205
  }, z.core.$strict>>;
206
+ geo: z.ZodOptional<z.ZodObject<{
207
+ country: z.ZodOptional<z.ZodString>;
208
+ region: z.ZodOptional<z.ZodString>;
209
+ }, z.core.$strict>>;
151
210
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
152
211
  type: z.ZodLiteral<"event_latest">;
153
212
  }, z.core.$strict>], "type">>>;
@@ -161,6 +220,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
161
220
  experimentId: z.ZodString;
162
221
  armId: z.ZodOptional<z.ZodString>;
163
222
  }, z.core.$strict>>;
223
+ geo: z.ZodOptional<z.ZodObject<{
224
+ country: z.ZodOptional<z.ZodString>;
225
+ region: z.ZodOptional<z.ZodString>;
226
+ }, z.core.$strict>>;
164
227
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
165
228
  type: z.ZodLiteral<"event_count">;
166
229
  }, z.core.$strict>, z.ZodObject<{
@@ -172,6 +235,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
172
235
  experimentId: z.ZodString;
173
236
  armId: z.ZodOptional<z.ZodString>;
174
237
  }, z.core.$strict>>;
238
+ geo: z.ZodOptional<z.ZodObject<{
239
+ country: z.ZodOptional<z.ZodString>;
240
+ region: z.ZodOptional<z.ZodString>;
241
+ }, z.core.$strict>>;
175
242
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
176
243
  type: z.ZodLiteral<"event_exists">;
177
244
  }, z.core.$strict>, z.ZodObject<{
@@ -183,6 +250,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
183
250
  experimentId: z.ZodString;
184
251
  armId: z.ZodOptional<z.ZodString>;
185
252
  }, z.core.$strict>>;
253
+ geo: z.ZodOptional<z.ZodObject<{
254
+ country: z.ZodOptional<z.ZodString>;
255
+ region: z.ZodOptional<z.ZodString>;
256
+ }, z.core.$strict>>;
186
257
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
187
258
  type: z.ZodLiteral<"event_latest">;
188
259
  }, z.core.$strict>], "type">>;
@@ -196,6 +267,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
196
267
  experimentId: z.ZodString;
197
268
  armId: z.ZodOptional<z.ZodString>;
198
269
  }, z.core.$strict>>;
270
+ geo: z.ZodOptional<z.ZodObject<{
271
+ country: z.ZodOptional<z.ZodString>;
272
+ region: z.ZodOptional<z.ZodString>;
273
+ }, z.core.$strict>>;
199
274
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
200
275
  type: z.ZodLiteral<"event_count">;
201
276
  }, z.core.$strict>, z.ZodObject<{
@@ -207,6 +282,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
207
282
  experimentId: z.ZodString;
208
283
  armId: z.ZodOptional<z.ZodString>;
209
284
  }, z.core.$strict>>;
285
+ geo: z.ZodOptional<z.ZodObject<{
286
+ country: z.ZodOptional<z.ZodString>;
287
+ region: z.ZodOptional<z.ZodString>;
288
+ }, z.core.$strict>>;
210
289
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
211
290
  type: z.ZodLiteral<"event_exists">;
212
291
  }, z.core.$strict>, z.ZodObject<{
@@ -218,6 +297,10 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
218
297
  experimentId: z.ZodString;
219
298
  armId: z.ZodOptional<z.ZodString>;
220
299
  }, z.core.$strict>>;
300
+ geo: z.ZodOptional<z.ZodObject<{
301
+ country: z.ZodOptional<z.ZodString>;
302
+ region: z.ZodOptional<z.ZodString>;
303
+ }, z.core.$strict>>;
221
304
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
222
305
  type: z.ZodLiteral<"event_latest">;
223
306
  }, z.core.$strict>], "type">>>;
@@ -226,6 +309,7 @@ export declare const segmentDataModel: import("./index.js").DataModelContract<z.
226
309
  export declare const audienceDataModel: import("./index.js").DataModelContract<z.ZodObject<{
227
310
  id: z.ZodString;
228
311
  displayName: z.ZodString;
312
+ description: z.ZodOptional<z.ZodString>;
229
313
  status: z.ZodEnum<{
230
314
  draft: "draft";
231
315
  enabled: "enabled";
@@ -233,16 +317,64 @@ export declare const audienceDataModel: import("./index.js").DataModelContract<z
233
317
  }>;
234
318
  priority: z.ZodNumber;
235
319
  membershipSource: z.ZodEnum<{
320
+ external: "external";
236
321
  none: "none";
237
322
  segment: "segment";
238
323
  rule: "rule";
239
324
  manual: "manual";
240
- external: "external";
241
325
  }>;
242
326
  ruleRef: z.ZodOptional<z.ZodString>;
243
327
  segmentRef: z.ZodOptional<z.ZodString>;
244
328
  providerRef: z.ZodOptional<z.ZodString>;
329
+ externalSegmentId: z.ZodOptional<z.ZodString>;
245
330
  }, z.core.$strip>, "audience">;
331
+ export declare const audienceProviderDataModel: import("./index.js").DataModelContract<z.ZodObject<{
332
+ id: z.ZodString;
333
+ displayName: z.ZodString;
334
+ status: z.ZodEnum<{
335
+ draft: "draft";
336
+ enabled: "enabled";
337
+ disabled: "disabled";
338
+ }>;
339
+ format: z.ZodEnum<{
340
+ "aep-batch-export": "aep-batch-export";
341
+ "mapped-json": "mapped-json";
342
+ }>;
343
+ identity: z.ZodObject<{
344
+ sourceNamespace: z.ZodString;
345
+ absencePolicy: z.ZodEnum<{
346
+ unlink: "unlink";
347
+ retain: "retain";
348
+ }>;
349
+ resolution: z.ZodOptional<z.ZodArray<z.ZodObject<{
350
+ field: z.ZodString;
351
+ }, z.core.$strict>>>;
352
+ }, z.core.$strict>;
353
+ membershipTtlDays: z.ZodNumber;
354
+ dumpSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
355
+ mapping: z.ZodOptional<z.ZodObject<{
356
+ identity: z.ZodObject<{
357
+ path: z.ZodString;
358
+ }, z.core.$strict>;
359
+ membership: z.ZodObject<{
360
+ segmentIdsPath: z.ZodOptional<z.ZodString>;
361
+ objectNamePattern: z.ZodOptional<z.ZodString>;
362
+ }, z.core.$strict>;
363
+ qualifiedAtPath: z.ZodOptional<z.ZodString>;
364
+ }, z.core.$strict>>;
365
+ discovery: z.ZodObject<{
366
+ mode: z.ZodEnum<{
367
+ draft: "draft";
368
+ "report-only": "report-only";
369
+ }>;
370
+ maxPerImport: z.ZodOptional<z.ZodNumber>;
371
+ }, z.core.$strict>;
372
+ limits: z.ZodOptional<z.ZodObject<{
373
+ maxDumpBytes: z.ZodOptional<z.ZodNumber>;
374
+ maxRecords: z.ZodOptional<z.ZodNumber>;
375
+ maxIdentitiesPerRecord: z.ZodOptional<z.ZodNumber>;
376
+ }, z.core.$strict>>;
377
+ }, z.core.$strict>, "audience_provider">;
246
378
  export declare const audienceRuleDataModel: import("./index.js").DataModelContract<z.ZodObject<{
247
379
  id: z.ZodString;
248
380
  status: z.ZodEnum<{
@@ -251,36 +383,8 @@ export declare const audienceRuleDataModel: import("./index.js").DataModelContra
251
383
  disabled: "disabled";
252
384
  }>;
253
385
  description: z.ZodOptional<z.ZodString>;
254
- expression: z.ZodObject<{
255
- all: z.ZodOptional<z.ZodArray<z.ZodObject<{
256
- field: z.ZodString;
257
- operator: z.ZodEnum<{
258
- equals: "equals";
259
- contains: "contains";
260
- startsWith: "startsWith";
261
- exists: "exists";
262
- }>;
263
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
264
- }, z.core.$strip>>>;
265
- any: z.ZodOptional<z.ZodArray<z.ZodObject<{
266
- field: z.ZodString;
267
- operator: z.ZodEnum<{
268
- equals: "equals";
269
- contains: "contains";
270
- startsWith: "startsWith";
271
- exists: "exists";
272
- }>;
273
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
274
- }, z.core.$strip>>>;
275
- }, z.core.$strip>;
386
+ expression: z.ZodType<ExpressionGroup, unknown, z.core.$ZodTypeInternals<ExpressionGroup, unknown>>;
276
387
  }, z.core.$strip>, "audience_rule">;
277
- export declare const visitorProfileDataModel: import("./index.js").DataModelContract<z.ZodObject<{
278
- visitorId: z.ZodString;
279
- audienceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
280
- segmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
281
- traits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
282
- updatedAt: z.ZodOptional<z.ZodString>;
283
- }, z.core.$strip>, "visitor_profile">;
284
388
  export declare const goalDataModel: import("./index.js").DataModelContract<z.ZodObject<{
285
389
  id: z.ZodString;
286
390
  displayName: z.ZodString;
@@ -290,28 +394,7 @@ export declare const goalDataModel: import("./index.js").DataModelContract<z.Zod
290
394
  disabled: "disabled";
291
395
  }>;
292
396
  eventName: z.ZodString;
293
- eventRule: z.ZodOptional<z.ZodObject<{
294
- all: z.ZodOptional<z.ZodArray<z.ZodObject<{
295
- field: z.ZodString;
296
- operator: z.ZodEnum<{
297
- equals: "equals";
298
- contains: "contains";
299
- startsWith: "startsWith";
300
- exists: "exists";
301
- }>;
302
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
303
- }, z.core.$strip>>>;
304
- any: z.ZodOptional<z.ZodArray<z.ZodObject<{
305
- field: z.ZodString;
306
- operator: z.ZodEnum<{
307
- equals: "equals";
308
- contains: "contains";
309
- startsWith: "startsWith";
310
- exists: "exists";
311
- }>;
312
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
313
- }, z.core.$strip>>>;
314
- }, z.core.$strip>>;
397
+ eventRule: z.ZodOptional<z.ZodType<ExpressionGroup, unknown, z.core.$ZodTypeInternals<ExpressionGroup, unknown>>>;
315
398
  }, z.core.$strip>, "goal">;
316
399
  export declare const experimentDataModel: import("./index.js").DataModelContract<z.ZodObject<{
317
400
  id: z.ZodString;
@@ -336,10 +419,23 @@ export declare const experimentDataModel: import("./index.js").DataModelContract
336
419
  routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
337
420
  fragments: z.ZodOptional<z.ZodArray<z.ZodString>>;
338
421
  }, z.core.$strip>;
422
+ eligibility: z.ZodOptional<z.ZodObject<{
423
+ audienceRef: z.ZodString;
424
+ mode: z.ZodOptional<z.ZodEnum<{
425
+ claims: "claims";
426
+ selected: "selected";
427
+ }>>;
428
+ }, z.core.$strict>>;
339
429
  primaryGoalRef: z.ZodOptional<z.ZodString>;
340
430
  primaryGoalId: z.ZodOptional<z.ZodString>;
341
- goalRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
342
431
  goalIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
432
+ promotedArmId: z.ZodOptional<z.ZodString>;
433
+ promotedAt: z.ZodOptional<z.ZodString>;
434
+ horizon: z.ZodOptional<z.ZodObject<{
435
+ uniqueExposedPerArm: z.ZodNumber;
436
+ conversionWindowDays: z.ZodOptional<z.ZodNumber>;
437
+ declaredAfterRun: z.ZodOptional<z.ZodLiteral<true>>;
438
+ }, z.core.$strict>>;
343
439
  arms: z.ZodArray<z.ZodObject<{
344
440
  id: z.ZodString;
345
441
  displayName: z.ZodString;
@@ -348,29 +444,8 @@ export declare const experimentDataModel: import("./index.js").DataModelContract
348
444
  variant: "variant";
349
445
  }>;
350
446
  allocationBasisPoints: z.ZodOptional<z.ZodNumber>;
351
- rule: z.ZodOptional<z.ZodObject<{
352
- all: z.ZodOptional<z.ZodArray<z.ZodObject<{
353
- field: z.ZodString;
354
- operator: z.ZodEnum<{
355
- equals: "equals";
356
- contains: "contains";
357
- startsWith: "startsWith";
358
- exists: "exists";
359
- }>;
360
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
361
- }, z.core.$strip>>>;
362
- any: z.ZodOptional<z.ZodArray<z.ZodObject<{
363
- field: z.ZodString;
364
- operator: z.ZodEnum<{
365
- equals: "equals";
366
- contains: "contains";
367
- startsWith: "startsWith";
368
- exists: "exists";
369
- }>;
370
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
371
- }, z.core.$strip>>>;
372
- }, z.core.$strip>>;
373
- }, z.core.$strip>>;
447
+ rule: z.ZodOptional<z.ZodType<ExpressionGroup, unknown, z.core.$ZodTypeInternals<ExpressionGroup, unknown>>>;
448
+ }, z.core.$strict>>;
374
449
  }, z.core.$strip>, "experiment">;
375
450
  export declare const experimentationDataModels: (import("./index.js").DataModelContract<z.ZodObject<{
376
451
  id: z.ZodString;
@@ -381,28 +456,7 @@ export declare const experimentationDataModels: (import("./index.js").DataModelC
381
456
  disabled: "disabled";
382
457
  }>;
383
458
  eventName: z.ZodString;
384
- eventRule: z.ZodOptional<z.ZodObject<{
385
- all: z.ZodOptional<z.ZodArray<z.ZodObject<{
386
- field: z.ZodString;
387
- operator: z.ZodEnum<{
388
- equals: "equals";
389
- contains: "contains";
390
- startsWith: "startsWith";
391
- exists: "exists";
392
- }>;
393
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
394
- }, z.core.$strip>>>;
395
- any: z.ZodOptional<z.ZodArray<z.ZodObject<{
396
- field: z.ZodString;
397
- operator: z.ZodEnum<{
398
- equals: "equals";
399
- contains: "contains";
400
- startsWith: "startsWith";
401
- exists: "exists";
402
- }>;
403
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
404
- }, z.core.$strip>>>;
405
- }, z.core.$strip>>;
459
+ eventRule: z.ZodOptional<z.ZodType<ExpressionGroup, unknown, z.core.$ZodTypeInternals<ExpressionGroup, unknown>>>;
406
460
  }, z.core.$strip>, "goal"> | import("./index.js").DataModelContract<z.ZodObject<{
407
461
  id: z.ZodString;
408
462
  displayName: z.ZodString;
@@ -426,10 +480,23 @@ export declare const experimentationDataModels: (import("./index.js").DataModelC
426
480
  routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
427
481
  fragments: z.ZodOptional<z.ZodArray<z.ZodString>>;
428
482
  }, z.core.$strip>;
483
+ eligibility: z.ZodOptional<z.ZodObject<{
484
+ audienceRef: z.ZodString;
485
+ mode: z.ZodOptional<z.ZodEnum<{
486
+ claims: "claims";
487
+ selected: "selected";
488
+ }>>;
489
+ }, z.core.$strict>>;
429
490
  primaryGoalRef: z.ZodOptional<z.ZodString>;
430
491
  primaryGoalId: z.ZodOptional<z.ZodString>;
431
- goalRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
432
492
  goalIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
493
+ promotedArmId: z.ZodOptional<z.ZodString>;
494
+ promotedAt: z.ZodOptional<z.ZodString>;
495
+ horizon: z.ZodOptional<z.ZodObject<{
496
+ uniqueExposedPerArm: z.ZodNumber;
497
+ conversionWindowDays: z.ZodOptional<z.ZodNumber>;
498
+ declaredAfterRun: z.ZodOptional<z.ZodLiteral<true>>;
499
+ }, z.core.$strict>>;
433
500
  arms: z.ZodArray<z.ZodObject<{
434
501
  id: z.ZodString;
435
502
  displayName: z.ZodString;
@@ -438,29 +505,8 @@ export declare const experimentationDataModels: (import("./index.js").DataModelC
438
505
  variant: "variant";
439
506
  }>;
440
507
  allocationBasisPoints: z.ZodOptional<z.ZodNumber>;
441
- rule: z.ZodOptional<z.ZodObject<{
442
- all: z.ZodOptional<z.ZodArray<z.ZodObject<{
443
- field: z.ZodString;
444
- operator: z.ZodEnum<{
445
- equals: "equals";
446
- contains: "contains";
447
- startsWith: "startsWith";
448
- exists: "exists";
449
- }>;
450
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
451
- }, z.core.$strip>>>;
452
- any: z.ZodOptional<z.ZodArray<z.ZodObject<{
453
- field: z.ZodString;
454
- operator: z.ZodEnum<{
455
- equals: "equals";
456
- contains: "contains";
457
- startsWith: "startsWith";
458
- exists: "exists";
459
- }>;
460
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
461
- }, z.core.$strip>>>;
462
- }, z.core.$strip>>;
463
- }, z.core.$strip>>;
508
+ rule: z.ZodOptional<z.ZodType<ExpressionGroup, unknown, z.core.$ZodTypeInternals<ExpressionGroup, unknown>>>;
509
+ }, z.core.$strict>>;
464
510
  }, z.core.$strip>, "experiment">)[];
465
511
  export declare const audienceDataModels: (import("./index.js").DataModelContract<z.ZodObject<{
466
512
  id: z.ZodString;
@@ -483,6 +529,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
483
529
  experimentId: z.ZodString;
484
530
  armId: z.ZodOptional<z.ZodString>;
485
531
  }, z.core.$strict>>;
532
+ geo: z.ZodOptional<z.ZodObject<{
533
+ country: z.ZodOptional<z.ZodString>;
534
+ region: z.ZodOptional<z.ZodString>;
535
+ }, z.core.$strict>>;
486
536
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
487
537
  type: z.ZodLiteral<"event_count">;
488
538
  }, z.core.$strict>, z.ZodObject<{
@@ -494,6 +544,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
494
544
  experimentId: z.ZodString;
495
545
  armId: z.ZodOptional<z.ZodString>;
496
546
  }, z.core.$strict>>;
547
+ geo: z.ZodOptional<z.ZodObject<{
548
+ country: z.ZodOptional<z.ZodString>;
549
+ region: z.ZodOptional<z.ZodString>;
550
+ }, z.core.$strict>>;
497
551
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
498
552
  type: z.ZodLiteral<"event_exists">;
499
553
  }, z.core.$strict>, z.ZodObject<{
@@ -505,6 +559,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
505
559
  experimentId: z.ZodString;
506
560
  armId: z.ZodOptional<z.ZodString>;
507
561
  }, z.core.$strict>>;
562
+ geo: z.ZodOptional<z.ZodObject<{
563
+ country: z.ZodOptional<z.ZodString>;
564
+ region: z.ZodOptional<z.ZodString>;
565
+ }, z.core.$strict>>;
508
566
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
509
567
  type: z.ZodLiteral<"event_latest">;
510
568
  }, z.core.$strict>], "type">>;
@@ -518,6 +576,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
518
576
  experimentId: z.ZodString;
519
577
  armId: z.ZodOptional<z.ZodString>;
520
578
  }, z.core.$strict>>;
579
+ geo: z.ZodOptional<z.ZodObject<{
580
+ country: z.ZodOptional<z.ZodString>;
581
+ region: z.ZodOptional<z.ZodString>;
582
+ }, z.core.$strict>>;
521
583
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
522
584
  type: z.ZodLiteral<"event_count">;
523
585
  }, z.core.$strict>, z.ZodObject<{
@@ -529,6 +591,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
529
591
  experimentId: z.ZodString;
530
592
  armId: z.ZodOptional<z.ZodString>;
531
593
  }, z.core.$strict>>;
594
+ geo: z.ZodOptional<z.ZodObject<{
595
+ country: z.ZodOptional<z.ZodString>;
596
+ region: z.ZodOptional<z.ZodString>;
597
+ }, z.core.$strict>>;
532
598
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
533
599
  type: z.ZodLiteral<"event_exists">;
534
600
  }, z.core.$strict>, z.ZodObject<{
@@ -540,6 +606,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
540
606
  experimentId: z.ZodString;
541
607
  armId: z.ZodOptional<z.ZodString>;
542
608
  }, z.core.$strict>>;
609
+ geo: z.ZodOptional<z.ZodObject<{
610
+ country: z.ZodOptional<z.ZodString>;
611
+ region: z.ZodOptional<z.ZodString>;
612
+ }, z.core.$strict>>;
543
613
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
544
614
  type: z.ZodLiteral<"event_latest">;
545
615
  }, z.core.$strict>], "type">>>;
@@ -553,6 +623,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
553
623
  experimentId: z.ZodString;
554
624
  armId: z.ZodOptional<z.ZodString>;
555
625
  }, z.core.$strict>>;
626
+ geo: z.ZodOptional<z.ZodObject<{
627
+ country: z.ZodOptional<z.ZodString>;
628
+ region: z.ZodOptional<z.ZodString>;
629
+ }, z.core.$strict>>;
556
630
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
557
631
  type: z.ZodLiteral<"event_count">;
558
632
  }, z.core.$strict>, z.ZodObject<{
@@ -564,6 +638,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
564
638
  experimentId: z.ZodString;
565
639
  armId: z.ZodOptional<z.ZodString>;
566
640
  }, z.core.$strict>>;
641
+ geo: z.ZodOptional<z.ZodObject<{
642
+ country: z.ZodOptional<z.ZodString>;
643
+ region: z.ZodOptional<z.ZodString>;
644
+ }, z.core.$strict>>;
567
645
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
568
646
  type: z.ZodLiteral<"event_exists">;
569
647
  }, z.core.$strict>, z.ZodObject<{
@@ -575,6 +653,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
575
653
  experimentId: z.ZodString;
576
654
  armId: z.ZodOptional<z.ZodString>;
577
655
  }, z.core.$strict>>;
656
+ geo: z.ZodOptional<z.ZodObject<{
657
+ country: z.ZodOptional<z.ZodString>;
658
+ region: z.ZodOptional<z.ZodString>;
659
+ }, z.core.$strict>>;
578
660
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
579
661
  type: z.ZodLiteral<"event_latest">;
580
662
  }, z.core.$strict>], "type">>>;
@@ -589,6 +671,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
589
671
  experimentId: z.ZodString;
590
672
  armId: z.ZodOptional<z.ZodString>;
591
673
  }, z.core.$strict>>;
674
+ geo: z.ZodOptional<z.ZodObject<{
675
+ country: z.ZodOptional<z.ZodString>;
676
+ region: z.ZodOptional<z.ZodString>;
677
+ }, z.core.$strict>>;
592
678
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
593
679
  type: z.ZodLiteral<"event_count">;
594
680
  }, z.core.$strict>, z.ZodObject<{
@@ -600,6 +686,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
600
686
  experimentId: z.ZodString;
601
687
  armId: z.ZodOptional<z.ZodString>;
602
688
  }, z.core.$strict>>;
689
+ geo: z.ZodOptional<z.ZodObject<{
690
+ country: z.ZodOptional<z.ZodString>;
691
+ region: z.ZodOptional<z.ZodString>;
692
+ }, z.core.$strict>>;
603
693
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
604
694
  type: z.ZodLiteral<"event_exists">;
605
695
  }, z.core.$strict>, z.ZodObject<{
@@ -611,6 +701,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
611
701
  experimentId: z.ZodString;
612
702
  armId: z.ZodOptional<z.ZodString>;
613
703
  }, z.core.$strict>>;
704
+ geo: z.ZodOptional<z.ZodObject<{
705
+ country: z.ZodOptional<z.ZodString>;
706
+ region: z.ZodOptional<z.ZodString>;
707
+ }, z.core.$strict>>;
614
708
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
615
709
  type: z.ZodLiteral<"event_latest">;
616
710
  }, z.core.$strict>], "type">>>;
@@ -624,6 +718,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
624
718
  experimentId: z.ZodString;
625
719
  armId: z.ZodOptional<z.ZodString>;
626
720
  }, z.core.$strict>>;
721
+ geo: z.ZodOptional<z.ZodObject<{
722
+ country: z.ZodOptional<z.ZodString>;
723
+ region: z.ZodOptional<z.ZodString>;
724
+ }, z.core.$strict>>;
627
725
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
628
726
  type: z.ZodLiteral<"event_count">;
629
727
  }, z.core.$strict>, z.ZodObject<{
@@ -635,6 +733,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
635
733
  experimentId: z.ZodString;
636
734
  armId: z.ZodOptional<z.ZodString>;
637
735
  }, z.core.$strict>>;
736
+ geo: z.ZodOptional<z.ZodObject<{
737
+ country: z.ZodOptional<z.ZodString>;
738
+ region: z.ZodOptional<z.ZodString>;
739
+ }, z.core.$strict>>;
638
740
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
639
741
  type: z.ZodLiteral<"event_exists">;
640
742
  }, z.core.$strict>, z.ZodObject<{
@@ -646,6 +748,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
646
748
  experimentId: z.ZodString;
647
749
  armId: z.ZodOptional<z.ZodString>;
648
750
  }, z.core.$strict>>;
751
+ geo: z.ZodOptional<z.ZodObject<{
752
+ country: z.ZodOptional<z.ZodString>;
753
+ region: z.ZodOptional<z.ZodString>;
754
+ }, z.core.$strict>>;
649
755
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
650
756
  type: z.ZodLiteral<"event_latest">;
651
757
  }, z.core.$strict>], "type">>;
@@ -659,6 +765,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
659
765
  experimentId: z.ZodString;
660
766
  armId: z.ZodOptional<z.ZodString>;
661
767
  }, z.core.$strict>>;
768
+ geo: z.ZodOptional<z.ZodObject<{
769
+ country: z.ZodOptional<z.ZodString>;
770
+ region: z.ZodOptional<z.ZodString>;
771
+ }, z.core.$strict>>;
662
772
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
663
773
  type: z.ZodLiteral<"event_count">;
664
774
  }, z.core.$strict>, z.ZodObject<{
@@ -670,6 +780,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
670
780
  experimentId: z.ZodString;
671
781
  armId: z.ZodOptional<z.ZodString>;
672
782
  }, z.core.$strict>>;
783
+ geo: z.ZodOptional<z.ZodObject<{
784
+ country: z.ZodOptional<z.ZodString>;
785
+ region: z.ZodOptional<z.ZodString>;
786
+ }, z.core.$strict>>;
673
787
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
674
788
  type: z.ZodLiteral<"event_exists">;
675
789
  }, z.core.$strict>, z.ZodObject<{
@@ -681,6 +795,10 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
681
795
  experimentId: z.ZodString;
682
796
  armId: z.ZodOptional<z.ZodString>;
683
797
  }, z.core.$strict>>;
798
+ geo: z.ZodOptional<z.ZodObject<{
799
+ country: z.ZodOptional<z.ZodString>;
800
+ region: z.ZodOptional<z.ZodString>;
801
+ }, z.core.$strict>>;
684
802
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
685
803
  type: z.ZodLiteral<"event_latest">;
686
804
  }, z.core.$strict>], "type">>>;
@@ -688,6 +806,7 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
688
806
  }, z.core.$strip>, "segment"> | import("./index.js").DataModelContract<z.ZodObject<{
689
807
  id: z.ZodString;
690
808
  displayName: z.ZodString;
809
+ description: z.ZodOptional<z.ZodString>;
691
810
  status: z.ZodEnum<{
692
811
  draft: "draft";
693
812
  enabled: "enabled";
@@ -695,52 +814,72 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
695
814
  }>;
696
815
  priority: z.ZodNumber;
697
816
  membershipSource: z.ZodEnum<{
817
+ external: "external";
698
818
  none: "none";
699
819
  segment: "segment";
700
820
  rule: "rule";
701
821
  manual: "manual";
702
- external: "external";
703
822
  }>;
704
823
  ruleRef: z.ZodOptional<z.ZodString>;
705
824
  segmentRef: z.ZodOptional<z.ZodString>;
706
825
  providerRef: z.ZodOptional<z.ZodString>;
826
+ externalSegmentId: z.ZodOptional<z.ZodString>;
707
827
  }, z.core.$strip>, "audience"> | import("./index.js").DataModelContract<z.ZodObject<{
708
828
  id: z.ZodString;
829
+ displayName: z.ZodString;
709
830
  status: z.ZodEnum<{
710
831
  draft: "draft";
711
832
  enabled: "enabled";
712
833
  disabled: "disabled";
713
834
  }>;
714
- description: z.ZodOptional<z.ZodString>;
715
- expression: z.ZodObject<{
716
- all: z.ZodOptional<z.ZodArray<z.ZodObject<{
717
- field: z.ZodString;
718
- operator: z.ZodEnum<{
719
- equals: "equals";
720
- contains: "contains";
721
- startsWith: "startsWith";
722
- exists: "exists";
723
- }>;
724
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
725
- }, z.core.$strip>>>;
726
- any: z.ZodOptional<z.ZodArray<z.ZodObject<{
835
+ format: z.ZodEnum<{
836
+ "aep-batch-export": "aep-batch-export";
837
+ "mapped-json": "mapped-json";
838
+ }>;
839
+ identity: z.ZodObject<{
840
+ sourceNamespace: z.ZodString;
841
+ absencePolicy: z.ZodEnum<{
842
+ unlink: "unlink";
843
+ retain: "retain";
844
+ }>;
845
+ resolution: z.ZodOptional<z.ZodArray<z.ZodObject<{
727
846
  field: z.ZodString;
728
- operator: z.ZodEnum<{
729
- equals: "equals";
730
- contains: "contains";
731
- startsWith: "startsWith";
732
- exists: "exists";
733
- }>;
734
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
735
- }, z.core.$strip>>>;
736
- }, z.core.$strip>;
847
+ }, z.core.$strict>>>;
848
+ }, z.core.$strict>;
849
+ membershipTtlDays: z.ZodNumber;
850
+ dumpSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
851
+ mapping: z.ZodOptional<z.ZodObject<{
852
+ identity: z.ZodObject<{
853
+ path: z.ZodString;
854
+ }, z.core.$strict>;
855
+ membership: z.ZodObject<{
856
+ segmentIdsPath: z.ZodOptional<z.ZodString>;
857
+ objectNamePattern: z.ZodOptional<z.ZodString>;
858
+ }, z.core.$strict>;
859
+ qualifiedAtPath: z.ZodOptional<z.ZodString>;
860
+ }, z.core.$strict>>;
861
+ discovery: z.ZodObject<{
862
+ mode: z.ZodEnum<{
863
+ draft: "draft";
864
+ "report-only": "report-only";
865
+ }>;
866
+ maxPerImport: z.ZodOptional<z.ZodNumber>;
867
+ }, z.core.$strict>;
868
+ limits: z.ZodOptional<z.ZodObject<{
869
+ maxDumpBytes: z.ZodOptional<z.ZodNumber>;
870
+ maxRecords: z.ZodOptional<z.ZodNumber>;
871
+ maxIdentitiesPerRecord: z.ZodOptional<z.ZodNumber>;
872
+ }, z.core.$strict>>;
873
+ }, z.core.$strict>, "audience_provider"> | import("./index.js").DataModelContract<z.ZodObject<{
874
+ id: z.ZodString;
875
+ status: z.ZodEnum<{
876
+ draft: "draft";
877
+ enabled: "enabled";
878
+ disabled: "disabled";
879
+ }>;
880
+ description: z.ZodOptional<z.ZodString>;
881
+ expression: z.ZodType<ExpressionGroup, unknown, z.core.$ZodTypeInternals<ExpressionGroup, unknown>>;
737
882
  }, z.core.$strip>, "audience_rule"> | import("./index.js").DataModelContract<z.ZodObject<{
738
- visitorId: z.ZodString;
739
- audienceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
740
- segmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
741
- traits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
742
- updatedAt: z.ZodOptional<z.ZodString>;
743
- }, z.core.$strip>, "visitor_profile"> | import("./index.js").DataModelContract<z.ZodObject<{
744
883
  id: z.ZodString;
745
884
  displayName: z.ZodString;
746
885
  status: z.ZodEnum<{
@@ -749,28 +888,7 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
749
888
  disabled: "disabled";
750
889
  }>;
751
890
  eventName: z.ZodString;
752
- eventRule: z.ZodOptional<z.ZodObject<{
753
- all: z.ZodOptional<z.ZodArray<z.ZodObject<{
754
- field: z.ZodString;
755
- operator: z.ZodEnum<{
756
- equals: "equals";
757
- contains: "contains";
758
- startsWith: "startsWith";
759
- exists: "exists";
760
- }>;
761
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
762
- }, z.core.$strip>>>;
763
- any: z.ZodOptional<z.ZodArray<z.ZodObject<{
764
- field: z.ZodString;
765
- operator: z.ZodEnum<{
766
- equals: "equals";
767
- contains: "contains";
768
- startsWith: "startsWith";
769
- exists: "exists";
770
- }>;
771
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
772
- }, z.core.$strip>>>;
773
- }, z.core.$strip>>;
891
+ eventRule: z.ZodOptional<z.ZodType<ExpressionGroup, unknown, z.core.$ZodTypeInternals<ExpressionGroup, unknown>>>;
774
892
  }, z.core.$strip>, "goal"> | import("./index.js").DataModelContract<z.ZodObject<{
775
893
  id: z.ZodString;
776
894
  displayName: z.ZodString;
@@ -794,10 +912,23 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
794
912
  routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
795
913
  fragments: z.ZodOptional<z.ZodArray<z.ZodString>>;
796
914
  }, z.core.$strip>;
915
+ eligibility: z.ZodOptional<z.ZodObject<{
916
+ audienceRef: z.ZodString;
917
+ mode: z.ZodOptional<z.ZodEnum<{
918
+ claims: "claims";
919
+ selected: "selected";
920
+ }>>;
921
+ }, z.core.$strict>>;
797
922
  primaryGoalRef: z.ZodOptional<z.ZodString>;
798
923
  primaryGoalId: z.ZodOptional<z.ZodString>;
799
- goalRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
800
924
  goalIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
925
+ promotedArmId: z.ZodOptional<z.ZodString>;
926
+ promotedAt: z.ZodOptional<z.ZodString>;
927
+ horizon: z.ZodOptional<z.ZodObject<{
928
+ uniqueExposedPerArm: z.ZodNumber;
929
+ conversionWindowDays: z.ZodOptional<z.ZodNumber>;
930
+ declaredAfterRun: z.ZodOptional<z.ZodLiteral<true>>;
931
+ }, z.core.$strict>>;
801
932
  arms: z.ZodArray<z.ZodObject<{
802
933
  id: z.ZodString;
803
934
  displayName: z.ZodString;
@@ -806,27 +937,7 @@ export declare const audienceDataModels: (import("./index.js").DataModelContract
806
937
  variant: "variant";
807
938
  }>;
808
939
  allocationBasisPoints: z.ZodOptional<z.ZodNumber>;
809
- rule: z.ZodOptional<z.ZodObject<{
810
- all: z.ZodOptional<z.ZodArray<z.ZodObject<{
811
- field: z.ZodString;
812
- operator: z.ZodEnum<{
813
- equals: "equals";
814
- contains: "contains";
815
- startsWith: "startsWith";
816
- exists: "exists";
817
- }>;
818
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
819
- }, z.core.$strip>>>;
820
- any: z.ZodOptional<z.ZodArray<z.ZodObject<{
821
- field: z.ZodString;
822
- operator: z.ZodEnum<{
823
- equals: "equals";
824
- contains: "contains";
825
- startsWith: "startsWith";
826
- exists: "exists";
827
- }>;
828
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
829
- }, z.core.$strip>>>;
830
- }, z.core.$strip>>;
831
- }, z.core.$strip>>;
940
+ rule: z.ZodOptional<z.ZodType<ExpressionGroup, unknown, z.core.$ZodTypeInternals<ExpressionGroup, unknown>>>;
941
+ }, z.core.$strict>>;
832
942
  }, z.core.$strip>, "experiment">)[];
943
+ export {};