@inf-monkeys-tech/monkeys 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/README.md +38 -0
  2. package/lib/contracts/artifact.d.ts +112 -0
  3. package/lib/contracts/artifact.d.ts.map +1 -0
  4. package/lib/contracts/artifact.js +60 -0
  5. package/lib/contracts/artifact.js.map +1 -0
  6. package/lib/contracts/capability.d.ts +347 -0
  7. package/lib/contracts/capability.d.ts.map +1 -0
  8. package/lib/contracts/capability.js +135 -0
  9. package/lib/contracts/capability.js.map +1 -0
  10. package/lib/contracts/common.d.ts +32 -0
  11. package/lib/contracts/common.d.ts.map +1 -0
  12. package/lib/contracts/common.js +46 -0
  13. package/lib/contracts/common.js.map +1 -0
  14. package/lib/contracts/context.d.ts +213 -0
  15. package/lib/contracts/context.d.ts.map +1 -0
  16. package/lib/contracts/context.js +96 -0
  17. package/lib/contracts/context.js.map +1 -0
  18. package/lib/contracts/continuity.d.ts +142 -0
  19. package/lib/contracts/continuity.d.ts.map +1 -0
  20. package/lib/contracts/continuity.js +66 -0
  21. package/lib/contracts/continuity.js.map +1 -0
  22. package/lib/contracts/data.d.ts +135 -0
  23. package/lib/contracts/data.d.ts.map +1 -0
  24. package/lib/contracts/data.js +85 -0
  25. package/lib/contracts/data.js.map +1 -0
  26. package/lib/contracts/dtcg-format.schema.json +1759 -0
  27. package/lib/contracts/index.d.ts +14 -0
  28. package/lib/contracts/index.d.ts.map +1 -0
  29. package/lib/contracts/index.js +30 -0
  30. package/lib/contracts/index.js.map +1 -0
  31. package/lib/contracts/page.d.ts +482 -0
  32. package/lib/contracts/page.d.ts.map +1 -0
  33. package/lib/contracts/page.js +307 -0
  34. package/lib/contracts/page.js.map +1 -0
  35. package/lib/contracts/render.d.ts +1032 -0
  36. package/lib/contracts/render.d.ts.map +1 -0
  37. package/lib/contracts/render.js +386 -0
  38. package/lib/contracts/render.js.map +1 -0
  39. package/lib/contracts/semantic.d.ts +477 -0
  40. package/lib/contracts/semantic.d.ts.map +1 -0
  41. package/lib/contracts/semantic.js +111 -0
  42. package/lib/contracts/semantic.js.map +1 -0
  43. package/lib/contracts/tenant.d.ts +2495 -0
  44. package/lib/contracts/tenant.d.ts.map +1 -0
  45. package/lib/contracts/tenant.js +573 -0
  46. package/lib/contracts/tenant.js.map +1 -0
  47. package/lib/contracts/theme.d.ts +30 -0
  48. package/lib/contracts/theme.d.ts.map +1 -0
  49. package/lib/contracts/theme.js +55 -0
  50. package/lib/contracts/theme.js.map +1 -0
  51. package/lib/contracts/trend.d.ts +577 -0
  52. package/lib/contracts/trend.d.ts.map +1 -0
  53. package/lib/contracts/trend.js +276 -0
  54. package/lib/contracts/trend.js.map +1 -0
  55. package/lib/contracts/workflow-definition.d.ts +661 -0
  56. package/lib/contracts/workflow-definition.d.ts.map +1 -0
  57. package/lib/contracts/workflow-definition.js +337 -0
  58. package/lib/contracts/workflow-definition.js.map +1 -0
  59. package/lib/index.d.ts +7 -0
  60. package/lib/index.d.ts.map +1 -0
  61. package/lib/index.js +34 -0
  62. package/lib/index.js.map +1 -0
  63. package/lib/json-schema/agent-runtime-event.schema.json +104 -0
  64. package/lib/json-schema/application-handoff.schema.json +377 -0
  65. package/lib/json-schema/application-run.schema.json +302 -0
  66. package/lib/json-schema/artifact-manifest.schema.json +375 -0
  67. package/lib/json-schema/body-relation-record.schema.json +177 -0
  68. package/lib/json-schema/brand-body.schema.json +140 -0
  69. package/lib/json-schema/brand-genetics-profile.schema.json +169 -0
  70. package/lib/json-schema/capability-manifest.schema.json +412 -0
  71. package/lib/json-schema/capability-registry.schema.json +474 -0
  72. package/lib/json-schema/change-impact-graph.schema.json +274 -0
  73. package/lib/json-schema/completion-event.schema.json +321 -0
  74. package/lib/json-schema/completion-header.schema.json +276 -0
  75. package/lib/json-schema/concept-definition.schema.json +101 -0
  76. package/lib/json-schema/conductor-workflow-definition.schema.json +404 -0
  77. package/lib/json-schema/data-continuity-envelope.schema.json +269 -0
  78. package/lib/json-schema/domain-command-definition.schema.json +121 -0
  79. package/lib/json-schema/domain-command.schema.json +204 -0
  80. package/lib/json-schema/domain-event.schema.json +161 -0
  81. package/lib/json-schema/execution-link.schema.json +190 -0
  82. package/lib/json-schema/expiring-access-grant.schema.json +127 -0
  83. package/lib/json-schema/hotword-body.schema.json +186 -0
  84. package/lib/json-schema/index.json +56 -0
  85. package/lib/json-schema/lineage-record.schema.json +370 -0
  86. package/lib/json-schema/ontology-definition.schema.json +91 -0
  87. package/lib/json-schema/output-record.schema.json +157 -0
  88. package/lib/json-schema/overlay-node.schema.json +892 -0
  89. package/lib/json-schema/page-definition.schema.json +527 -0
  90. package/lib/json-schema/page-runtime-descriptor.schema.json +720 -0
  91. package/lib/json-schema/page-runtime-projection.schema.json +464 -0
  92. package/lib/json-schema/product-body.schema.json +178 -0
  93. package/lib/json-schema/product-declaration.schema.json +1410 -0
  94. package/lib/json-schema/projection-spec.schema.json +151 -0
  95. package/lib/json-schema/radar-action-record.schema.json +144 -0
  96. package/lib/json-schema/radar-analysis-run.schema.json +424 -0
  97. package/lib/json-schema/radar-opportunity-matrix.schema.json +155 -0
  98. package/lib/json-schema/radar-panorama.schema.json +235 -0
  99. package/lib/json-schema/radar-query-body.schema.json +101 -0
  100. package/lib/json-schema/radar-score-model-body.schema.json +88 -0
  101. package/lib/json-schema/radar-score-projection.schema.json +184 -0
  102. package/lib/json-schema/radar-selection.schema.json +134 -0
  103. package/lib/json-schema/radar-writeback-record.schema.json +124 -0
  104. package/lib/json-schema/render-node.schema.json +776 -0
  105. package/lib/json-schema/render-tree.schema.json +815 -0
  106. package/lib/json-schema/request-scope.schema.json +193 -0
  107. package/lib/json-schema/saved-radar-query.schema.json +123 -0
  108. package/lib/json-schema/tenant-product-config.schema.json +2720 -0
  109. package/lib/json-schema/tenant-runtime-config.schema.json +2654 -0
  110. package/lib/json-schema/theme-tokens.schema.json +1836 -0
  111. package/lib/json-schema/trend-ingest-run.schema.json +73 -0
  112. package/lib/json-schema/trend-metric-snapshot.schema.json +126 -0
  113. package/lib/json-schema/trend-source-record.schema.json +206 -0
  114. package/lib/json-schema/view-provider-descriptor.schema.json +317 -0
  115. package/lib/json-schema/workflow-definition.schema.json +2174 -0
  116. package/lib/runtime/capability-registry.d.ts +28 -0
  117. package/lib/runtime/capability-registry.d.ts.map +1 -0
  118. package/lib/runtime/capability-registry.js +147 -0
  119. package/lib/runtime/capability-registry.js.map +1 -0
  120. package/lib/runtime/declaration-compiler.d.ts +44 -0
  121. package/lib/runtime/declaration-compiler.d.ts.map +1 -0
  122. package/lib/runtime/declaration-compiler.js +323 -0
  123. package/lib/runtime/declaration-compiler.js.map +1 -0
  124. package/lib/runtime/index.d.ts +12 -0
  125. package/lib/runtime/index.d.ts.map +1 -0
  126. package/lib/runtime/index.js +28 -0
  127. package/lib/runtime/index.js.map +1 -0
  128. package/lib/runtime/page-compiler.d.ts +36 -0
  129. package/lib/runtime/page-compiler.d.ts.map +1 -0
  130. package/lib/runtime/page-compiler.js +220 -0
  131. package/lib/runtime/page-compiler.js.map +1 -0
  132. package/lib/runtime/product-runtime.d.ts +37 -0
  133. package/lib/runtime/product-runtime.d.ts.map +1 -0
  134. package/lib/runtime/product-runtime.js +80 -0
  135. package/lib/runtime/product-runtime.js.map +1 -0
  136. package/lib/runtime/render-tree-compiler.d.ts +11 -0
  137. package/lib/runtime/render-tree-compiler.d.ts.map +1 -0
  138. package/lib/runtime/render-tree-compiler.js +85 -0
  139. package/lib/runtime/render-tree-compiler.js.map +1 -0
  140. package/lib/runtime/tenant-config.d.ts +13 -0
  141. package/lib/runtime/tenant-config.d.ts.map +1 -0
  142. package/lib/runtime/tenant-config.js +31 -0
  143. package/lib/runtime/tenant-config.js.map +1 -0
  144. package/lib/runtime/tenant-runtime-bindings.d.ts +21 -0
  145. package/lib/runtime/tenant-runtime-bindings.d.ts.map +1 -0
  146. package/lib/runtime/tenant-runtime-bindings.js +50 -0
  147. package/lib/runtime/tenant-runtime-bindings.js.map +1 -0
  148. package/lib/runtime/theme-tokens.d.ts +2 -0
  149. package/lib/runtime/theme-tokens.d.ts.map +1 -0
  150. package/lib/runtime/theme-tokens.js +13 -0
  151. package/lib/runtime/theme-tokens.js.map +1 -0
  152. package/lib/runtime/view-provider-registry.d.ts +23 -0
  153. package/lib/runtime/view-provider-registry.d.ts.map +1 -0
  154. package/lib/runtime/view-provider-registry.js +150 -0
  155. package/lib/runtime/view-provider-registry.js.map +1 -0
  156. package/lib/runtime/view-render-model.d.ts +28 -0
  157. package/lib/runtime/view-render-model.d.ts.map +1 -0
  158. package/lib/runtime/view-render-model.js +125 -0
  159. package/lib/runtime/view-render-model.js.map +1 -0
  160. package/lib/runtime/workflow-compiler.d.ts +29 -0
  161. package/lib/runtime/workflow-compiler.d.ts.map +1 -0
  162. package/lib/runtime/workflow-compiler.js +100 -0
  163. package/lib/runtime/workflow-compiler.js.map +1 -0
  164. package/lib/schemas/index.d.ts +4461 -0
  165. package/lib/schemas/index.d.ts.map +1 -0
  166. package/lib/schemas/index.js +187 -0
  167. package/lib/schemas/index.js.map +1 -0
  168. package/lib/theme-tokens/core.d.ts +65 -0
  169. package/lib/theme-tokens/core.d.ts.map +1 -0
  170. package/lib/theme-tokens/core.js +490 -0
  171. package/lib/theme-tokens/core.js.map +1 -0
  172. package/lib/types/i18n.d.ts +19 -0
  173. package/lib/types/i18n.d.ts.map +1 -0
  174. package/lib/types/i18n.js +3 -0
  175. package/lib/types/i18n.js.map +1 -0
  176. package/lib/types/index.d.ts +4 -0
  177. package/lib/types/index.d.ts.map +1 -0
  178. package/lib/types/index.js +20 -0
  179. package/lib/types/index.js.map +1 -0
  180. package/lib/types/tool.d.ts +123 -0
  181. package/lib/types/tool.d.ts.map +1 -0
  182. package/lib/types/tool.js +20 -0
  183. package/lib/types/tool.js.map +1 -0
  184. package/lib/types/workflow.d.ts +80 -0
  185. package/lib/types/workflow.d.ts.map +1 -0
  186. package/lib/types/workflow.js +23 -0
  187. package/lib/types/workflow.js.map +1 -0
  188. package/package.json +58 -0
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod';
2
+ import { type ResolvedThemeToken, type ResolvedThemeTokens, type ThemeColorValue, type ThemeDimensionValue, type ThemeDurationValue, type ThemeToken, type ThemeTokenDeprecated, type ThemeTokenExtensions, type ThemeTokenGroup, type ThemeTokenReference, type ThemeTokens, type ThemeTokenType, type ThemeTokenValidationIssue } from '../theme-tokens/core';
3
+ export declare const ThemeTokenTypeSchema: z.ZodEnum<{
4
+ number: "number";
5
+ color: "color";
6
+ dimension: "dimension";
7
+ fontFamily: "fontFamily";
8
+ fontWeight: "fontWeight";
9
+ duration: "duration";
10
+ cubicBezier: "cubicBezier";
11
+ strokeStyle: "strokeStyle";
12
+ border: "border";
13
+ transition: "transition";
14
+ shadow: "shadow";
15
+ gradient: "gradient";
16
+ typography: "typography";
17
+ }>;
18
+ export declare const ThemeTokenSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19
+ export declare const ThemeTokenGroupSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20
+ /**
21
+ * A complete Design Tokens Community Group 2025.10 token document.
22
+ *
23
+ * The document root is the DTCG group/token tree itself. Tenant identity,
24
+ * source paths, feature flags and runtime options deliberately live outside it.
25
+ */
26
+ export declare const ThemeTokensSchema: z.ZodType<ThemeTokens>;
27
+ /** A browser-safe DTCG document whose aliases and JSON Pointer references have already been materialized. */
28
+ export declare const ResolvedThemeTokensSchema: z.ZodType<ThemeTokens>;
29
+ export type { ResolvedThemeToken, ResolvedThemeTokens, ThemeColorValue, ThemeDimensionValue, ThemeDurationValue, ThemeToken, ThemeTokenDeprecated, ThemeTokenExtensions, ThemeTokenGroup, ThemeTokenReference, ThemeTokens, ThemeTokenType, ThemeTokenValidationIssue, };
30
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/contracts/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC/B,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;EAA4B,CAAC;AAE9D,eAAO,MAAM,gBAAgB,wCAK3B,CAAC;AAEH,eAAO,MAAM,qBAAqB,wCAKhC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAOjD,CAAC;AAIL,6GAA6G;AAC7G,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAiB3D,CAAC;AAEH,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,UAAU,EACV,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,cAAc,EACd,yBAAyB,GAC1B,CAAC"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResolvedThemeTokensSchema = exports.ThemeTokensSchema = exports.ThemeTokenGroupSchema = exports.ThemeTokenSchema = exports.ThemeTokenTypeSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const core_1 = require("../theme-tokens/core");
6
+ exports.ThemeTokenTypeSchema = zod_1.z.enum(core_1.THEME_TOKEN_TYPES);
7
+ exports.ThemeTokenSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).superRefine((input, context) => {
8
+ const issues = (0, core_1.validateThemeTokensDocumentStructure)({ token: input });
9
+ for (const issue of issues) {
10
+ context.addIssue({ code: 'custom', message: `${issue.path} ${issue.message}` });
11
+ }
12
+ });
13
+ exports.ThemeTokenGroupSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).superRefine((input, context) => {
14
+ const issues = (0, core_1.validateThemeTokensDocumentStructure)(input);
15
+ for (const issue of issues) {
16
+ context.addIssue({ code: 'custom', message: `${issue.path} ${issue.message}` });
17
+ }
18
+ });
19
+ /**
20
+ * A complete Design Tokens Community Group 2025.10 token document.
21
+ *
22
+ * The document root is the DTCG group/token tree itself. Tenant identity,
23
+ * source paths, feature flags and runtime options deliberately live outside it.
24
+ */
25
+ exports.ThemeTokensSchema = zod_1.z
26
+ .record(zod_1.z.string(), zod_1.z.unknown())
27
+ .superRefine((input, context) => {
28
+ const issues = (0, core_1.validateThemeTokensDocument)(input);
29
+ for (const issue of issues) {
30
+ context.addIssue({ code: 'custom', message: `${issue.path} ${issue.message}` });
31
+ }
32
+ });
33
+ const unresolvedReference = /^\{[^{}]+\}$/;
34
+ /** A browser-safe DTCG document whose aliases and JSON Pointer references have already been materialized. */
35
+ exports.ResolvedThemeTokensSchema = exports.ThemeTokensSchema.superRefine((input, context) => {
36
+ const visit = (value, path) => {
37
+ if (typeof value === 'string' && unresolvedReference.test(value)) {
38
+ context.addIssue({ code: 'custom', path, message: 'Resolved theme tokens cannot contain token aliases.' });
39
+ return;
40
+ }
41
+ if (Array.isArray(value)) {
42
+ value.forEach((item, index) => visit(item, [...path, index]));
43
+ return;
44
+ }
45
+ if (!value || typeof value !== 'object')
46
+ return;
47
+ for (const [key, child] of Object.entries(value)) {
48
+ if (key === '$ref')
49
+ context.addIssue({ code: 'custom', path: [...path, key], message: 'Resolved theme tokens cannot contain $ref.' });
50
+ visit(child, [...path, key]);
51
+ }
52
+ };
53
+ visit(input, []);
54
+ });
55
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","s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QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC,EAAE,OAAO,EAAE,4CAA4C,EAAE,CAAC,CAAC;YACtI,KAAK,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC,CAAC;IACF,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AACnB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,577 @@
1
+ import { z } from 'zod';
2
+ export declare const RadarDecisionMetricsSchema: z.ZodObject<{
3
+ currentSales: z.ZodNumber;
4
+ forecastSales: z.ZodNumber;
5
+ searchHeat: z.ZodNumber;
6
+ socialHeat: z.ZodNumber;
7
+ confidence: z.ZodNumber;
8
+ }, z.core.$strict>;
9
+ export declare const TrendSourceSchema: z.ZodObject<{
10
+ sourceId: z.ZodString;
11
+ provider: z.ZodString;
12
+ channel: z.ZodEnum<{
13
+ search: "search";
14
+ trend: "trend";
15
+ ecommerce: "ecommerce";
16
+ social: "social";
17
+ internal: "internal";
18
+ }>;
19
+ collectedAt: z.ZodString;
20
+ sourceUrl: z.ZodOptional<z.ZodString>;
21
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
22
+ kind: z.ZodString;
23
+ id: z.ZodString;
24
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
25
+ ownerRepo: z.ZodOptional<z.ZodString>;
26
+ }, z.core.$strict>>>;
27
+ }, z.core.$strict>;
28
+ export declare const TrendIngestRunSchema: z.ZodObject<{
29
+ contract: z.ZodLiteral<"TrendIngestRun">;
30
+ ingestRunId: z.ZodString;
31
+ sourceId: z.ZodString;
32
+ requestId: z.ZodString;
33
+ idempotencyKey: z.ZodString;
34
+ status: z.ZodEnum<{
35
+ SUCCEEDED: "SUCCEEDED";
36
+ FAILED: "FAILED";
37
+ RUNNING: "RUNNING";
38
+ PARTIAL: "PARTIAL";
39
+ }>;
40
+ recordCount: z.ZodNumber;
41
+ errorCount: z.ZodNumber;
42
+ startedAt: z.ZodString;
43
+ completedAt: z.ZodOptional<z.ZodString>;
44
+ }, z.core.$strict>;
45
+ export declare const TrendSourceRecordSchema: z.ZodObject<{
46
+ contract: z.ZodLiteral<"TrendSourceRecord">;
47
+ sourceRecordId: z.ZodString;
48
+ source: z.ZodObject<{
49
+ sourceId: z.ZodString;
50
+ provider: z.ZodString;
51
+ channel: z.ZodEnum<{
52
+ search: "search";
53
+ trend: "trend";
54
+ ecommerce: "ecommerce";
55
+ social: "social";
56
+ internal: "internal";
57
+ }>;
58
+ collectedAt: z.ZodString;
59
+ sourceUrl: z.ZodOptional<z.ZodString>;
60
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
61
+ kind: z.ZodString;
62
+ id: z.ZodString;
63
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
64
+ ownerRepo: z.ZodOptional<z.ZodString>;
65
+ }, z.core.$strict>>>;
66
+ }, z.core.$strict>;
67
+ ingestRunRef: z.ZodObject<{
68
+ kind: z.ZodString;
69
+ id: z.ZodString;
70
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
71
+ ownerRepo: z.ZodOptional<z.ZodString>;
72
+ }, z.core.$strict>;
73
+ recordVersion: z.ZodNumber;
74
+ contentHash: z.ZodString;
75
+ payload: z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>;
76
+ idempotencyKey: z.ZodString;
77
+ collectedAt: z.ZodString;
78
+ }, z.core.$strict>;
79
+ export declare const HotwordBodySchema: z.ZodObject<{
80
+ contract: z.ZodLiteral<"HotwordBody">;
81
+ hotwordId: z.ZodString;
82
+ label: z.ZodString;
83
+ normalizedLabel: z.ZodString;
84
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
85
+ sourceRefs: z.ZodArray<z.ZodObject<{
86
+ sourceId: z.ZodString;
87
+ provider: z.ZodString;
88
+ channel: z.ZodEnum<{
89
+ search: "search";
90
+ trend: "trend";
91
+ ecommerce: "ecommerce";
92
+ social: "social";
93
+ internal: "internal";
94
+ }>;
95
+ collectedAt: z.ZodString;
96
+ sourceUrl: z.ZodOptional<z.ZodString>;
97
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
98
+ kind: z.ZodString;
99
+ id: z.ZodString;
100
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
101
+ ownerRepo: z.ZodOptional<z.ZodString>;
102
+ }, z.core.$strict>>>;
103
+ }, z.core.$strict>>;
104
+ relationRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
105
+ kind: z.ZodString;
106
+ id: z.ZodString;
107
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
108
+ ownerRepo: z.ZodOptional<z.ZodString>;
109
+ }, z.core.$strict>>>;
110
+ createdAt: z.ZodString;
111
+ updatedAt: z.ZodString;
112
+ }, z.core.$strict>;
113
+ export declare const BrandBodySchema: z.ZodObject<{
114
+ displayName: z.ZodString;
115
+ normalizedName: z.ZodString;
116
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
117
+ sourceRefs: z.ZodArray<z.ZodObject<{
118
+ kind: z.ZodString;
119
+ id: z.ZodString;
120
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
121
+ ownerRepo: z.ZodOptional<z.ZodString>;
122
+ }, z.core.$strict>>;
123
+ relationRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
124
+ kind: z.ZodString;
125
+ id: z.ZodString;
126
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
127
+ ownerRepo: z.ZodOptional<z.ZodString>;
128
+ }, z.core.$strict>>>;
129
+ createdAt: z.ZodString;
130
+ updatedAt: z.ZodString;
131
+ contract: z.ZodLiteral<"BrandBody">;
132
+ brandId: z.ZodString;
133
+ }, z.core.$strict>;
134
+ export declare const ProductBodySchema: z.ZodObject<{
135
+ displayName: z.ZodString;
136
+ normalizedName: z.ZodString;
137
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
138
+ sourceRefs: z.ZodArray<z.ZodObject<{
139
+ kind: z.ZodString;
140
+ id: z.ZodString;
141
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
142
+ ownerRepo: z.ZodOptional<z.ZodString>;
143
+ }, z.core.$strict>>;
144
+ relationRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
145
+ kind: z.ZodString;
146
+ id: z.ZodString;
147
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
148
+ ownerRepo: z.ZodOptional<z.ZodString>;
149
+ }, z.core.$strict>>>;
150
+ createdAt: z.ZodString;
151
+ updatedAt: z.ZodString;
152
+ contract: z.ZodLiteral<"ProductBody">;
153
+ productId: z.ZodString;
154
+ brandRef: z.ZodOptional<z.ZodObject<{
155
+ kind: z.ZodString;
156
+ id: z.ZodString;
157
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
158
+ ownerRepo: z.ZodOptional<z.ZodString>;
159
+ }, z.core.$strict>>;
160
+ }, z.core.$strict>;
161
+ export declare const TrendMetricSnapshotSchema: z.ZodObject<{
162
+ contract: z.ZodLiteral<"TrendMetricSnapshot">;
163
+ snapshotId: z.ZodString;
164
+ subjectRef: z.ZodObject<{
165
+ kind: z.ZodString;
166
+ id: z.ZodString;
167
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
168
+ ownerRepo: z.ZodOptional<z.ZodString>;
169
+ }, z.core.$strict>;
170
+ observedAt: z.ZodString;
171
+ metrics: z.ZodRecord<z.ZodString, z.ZodNumber>;
172
+ confidence: z.ZodNumber;
173
+ evidenceRefs: z.ZodArray<z.ZodObject<{
174
+ kind: z.ZodString;
175
+ id: z.ZodString;
176
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
177
+ ownerRepo: z.ZodOptional<z.ZodString>;
178
+ }, z.core.$strict>>;
179
+ }, z.core.$strict>;
180
+ export declare const RadarScoreModelBodySchema: z.ZodObject<{
181
+ contract: z.ZodLiteral<"RadarScoreModelBody">;
182
+ modelId: z.ZodString;
183
+ version: z.ZodNumber;
184
+ weights: z.ZodObject<{
185
+ currentSales: z.ZodNumber;
186
+ forecastSales: z.ZodNumber;
187
+ searchHeat: z.ZodNumber;
188
+ socialHeat: z.ZodNumber;
189
+ confidence: z.ZodNumber;
190
+ }, z.core.$strict>;
191
+ thresholds: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
192
+ explanationRules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
193
+ createdAt: z.ZodString;
194
+ }, z.core.$strict>;
195
+ export declare const RadarScoreProjectionSchema: z.ZodObject<{
196
+ contract: z.ZodLiteral<"RadarScoreProjection">;
197
+ projectionId: z.ZodString;
198
+ subjectRef: z.ZodObject<{
199
+ kind: z.ZodString;
200
+ id: z.ZodString;
201
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
202
+ ownerRepo: z.ZodOptional<z.ZodString>;
203
+ }, z.core.$strict>;
204
+ modelRef: z.ZodObject<{
205
+ kind: z.ZodString;
206
+ id: z.ZodString;
207
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
208
+ ownerRepo: z.ZodOptional<z.ZodString>;
209
+ }, z.core.$strict>;
210
+ totalScore: z.ZodNumber;
211
+ dimensions: z.ZodObject<{
212
+ currentSales: z.ZodNumber;
213
+ forecastSales: z.ZodNumber;
214
+ searchHeat: z.ZodNumber;
215
+ socialHeat: z.ZodNumber;
216
+ confidence: z.ZodNumber;
217
+ }, z.core.$strict>;
218
+ evidenceRefs: z.ZodArray<z.ZodObject<{
219
+ kind: z.ZodString;
220
+ id: z.ZodString;
221
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
222
+ ownerRepo: z.ZodOptional<z.ZodString>;
223
+ }, z.core.$strict>>;
224
+ freshnessAt: z.ZodString;
225
+ }, z.core.$strict>;
226
+ export declare const RadarPanoramaNodeSchema: z.ZodObject<{
227
+ ref: z.ZodObject<{
228
+ kind: z.ZodString;
229
+ id: z.ZodString;
230
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
231
+ ownerRepo: z.ZodOptional<z.ZodString>;
232
+ }, z.core.$strict>;
233
+ label: z.ZodString;
234
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
235
+ score: z.ZodOptional<z.ZodNumber>;
236
+ freshnessAt: z.ZodOptional<z.ZodString>;
237
+ }, z.core.$strict>;
238
+ export declare const RadarPanoramaEdgeSchema: z.ZodObject<{
239
+ sourceRef: z.ZodObject<{
240
+ kind: z.ZodString;
241
+ id: z.ZodString;
242
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
243
+ ownerRepo: z.ZodOptional<z.ZodString>;
244
+ }, z.core.$strict>;
245
+ targetRef: z.ZodObject<{
246
+ kind: z.ZodString;
247
+ id: z.ZodString;
248
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
249
+ ownerRepo: z.ZodOptional<z.ZodString>;
250
+ }, z.core.$strict>;
251
+ relation: z.ZodString;
252
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
253
+ kind: z.ZodString;
254
+ id: z.ZodString;
255
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
256
+ ownerRepo: z.ZodOptional<z.ZodString>;
257
+ }, z.core.$strict>>>;
258
+ }, z.core.$strict>;
259
+ export declare const RadarPanoramaSchema: z.ZodObject<{
260
+ contract: z.ZodLiteral<"RadarPanorama">;
261
+ nodes: z.ZodArray<z.ZodObject<{
262
+ ref: z.ZodObject<{
263
+ kind: z.ZodString;
264
+ id: z.ZodString;
265
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
266
+ ownerRepo: z.ZodOptional<z.ZodString>;
267
+ }, z.core.$strict>;
268
+ label: z.ZodString;
269
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
270
+ score: z.ZodOptional<z.ZodNumber>;
271
+ freshnessAt: z.ZodOptional<z.ZodString>;
272
+ }, z.core.$strict>>;
273
+ edges: z.ZodArray<z.ZodObject<{
274
+ sourceRef: z.ZodObject<{
275
+ kind: z.ZodString;
276
+ id: z.ZodString;
277
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
278
+ ownerRepo: z.ZodOptional<z.ZodString>;
279
+ }, z.core.$strict>;
280
+ targetRef: z.ZodObject<{
281
+ kind: z.ZodString;
282
+ id: z.ZodString;
283
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
284
+ ownerRepo: z.ZodOptional<z.ZodString>;
285
+ }, z.core.$strict>;
286
+ relation: z.ZodString;
287
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
288
+ kind: z.ZodString;
289
+ id: z.ZodString;
290
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
291
+ ownerRepo: z.ZodOptional<z.ZodString>;
292
+ }, z.core.$strict>>>;
293
+ }, z.core.$strict>>;
294
+ generatedAt: z.ZodString;
295
+ }, z.core.$strict>;
296
+ export declare const BrandGeneticsProfileSchema: z.ZodObject<{
297
+ contract: z.ZodLiteral<"BrandGeneticsProfile">;
298
+ brandRef: z.ZodObject<{
299
+ kind: z.ZodString;
300
+ id: z.ZodString;
301
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
302
+ ownerRepo: z.ZodOptional<z.ZodString>;
303
+ }, z.core.$strict>;
304
+ categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
305
+ signature: z.ZodRecord<z.ZodString, z.ZodNumber>;
306
+ relatedRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
307
+ kind: z.ZodString;
308
+ id: z.ZodString;
309
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
310
+ ownerRepo: z.ZodOptional<z.ZodString>;
311
+ }, z.core.$strict>>>;
312
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
313
+ kind: z.ZodString;
314
+ id: z.ZodString;
315
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
316
+ ownerRepo: z.ZodOptional<z.ZodString>;
317
+ }, z.core.$strict>>>;
318
+ computedAt: z.ZodString;
319
+ }, z.core.$strict>;
320
+ export declare const RadarOpportunityMatrixPointSchema: z.ZodObject<{
321
+ subjectRef: z.ZodObject<{
322
+ kind: z.ZodString;
323
+ id: z.ZodString;
324
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
325
+ ownerRepo: z.ZodOptional<z.ZodString>;
326
+ }, z.core.$strict>;
327
+ label: z.ZodString;
328
+ x: z.ZodNumber;
329
+ y: z.ZodNumber;
330
+ score: z.ZodNumber;
331
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
332
+ kind: z.ZodString;
333
+ id: z.ZodString;
334
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
335
+ ownerRepo: z.ZodOptional<z.ZodString>;
336
+ }, z.core.$strict>>>;
337
+ }, z.core.$strict>;
338
+ export declare const RadarOpportunityMatrixSchema: z.ZodObject<{
339
+ contract: z.ZodLiteral<"RadarOpportunityMatrix">;
340
+ xMetric: z.ZodEnum<{
341
+ currentSales: "currentSales";
342
+ forecastSales: "forecastSales";
343
+ searchHeat: "searchHeat";
344
+ socialHeat: "socialHeat";
345
+ confidence: "confidence";
346
+ }>;
347
+ yMetric: z.ZodEnum<{
348
+ currentSales: "currentSales";
349
+ forecastSales: "forecastSales";
350
+ searchHeat: "searchHeat";
351
+ socialHeat: "socialHeat";
352
+ confidence: "confidence";
353
+ }>;
354
+ points: z.ZodArray<z.ZodObject<{
355
+ subjectRef: z.ZodObject<{
356
+ kind: z.ZodString;
357
+ id: z.ZodString;
358
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
359
+ ownerRepo: z.ZodOptional<z.ZodString>;
360
+ }, z.core.$strict>;
361
+ label: z.ZodString;
362
+ x: z.ZodNumber;
363
+ y: z.ZodNumber;
364
+ score: z.ZodNumber;
365
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
366
+ kind: z.ZodString;
367
+ id: z.ZodString;
368
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
369
+ ownerRepo: z.ZodOptional<z.ZodString>;
370
+ }, z.core.$strict>>>;
371
+ }, z.core.$strict>>;
372
+ computedAt: z.ZodString;
373
+ }, z.core.$strict>;
374
+ export declare const RadarQueryBodySchema: z.ZodObject<{
375
+ contract: z.ZodLiteral<"RadarQueryBody">;
376
+ queryId: z.ZodString;
377
+ filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
378
+ sort: z.ZodObject<{
379
+ field: z.ZodString;
380
+ direction: z.ZodEnum<{
381
+ asc: "asc";
382
+ desc: "desc";
383
+ }>;
384
+ }, z.core.$strict>;
385
+ pageSize: z.ZodNumber;
386
+ updatedAt: z.ZodString;
387
+ }, z.core.$strict>;
388
+ export declare const SavedRadarQuerySchema: z.ZodObject<{
389
+ contract: z.ZodLiteral<"SavedRadarQuery">;
390
+ savedQueryId: z.ZodString;
391
+ teamId: z.ZodString;
392
+ ownerRef: z.ZodObject<{
393
+ kind: z.ZodString;
394
+ id: z.ZodString;
395
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
396
+ ownerRepo: z.ZodOptional<z.ZodString>;
397
+ }, z.core.$strict>;
398
+ name: z.ZodString;
399
+ queryRef: z.ZodObject<{
400
+ kind: z.ZodString;
401
+ id: z.ZodString;
402
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
403
+ ownerRepo: z.ZodOptional<z.ZodString>;
404
+ }, z.core.$strict>;
405
+ expectedVersion: z.ZodNumber;
406
+ updatedAt: z.ZodString;
407
+ }, z.core.$strict>;
408
+ export declare const RadarSelectionSchema: z.ZodObject<{
409
+ contract: z.ZodLiteral<"RadarSelection">;
410
+ selectionId: z.ZodString;
411
+ teamId: z.ZodString;
412
+ ownerRef: z.ZodObject<{
413
+ kind: z.ZodString;
414
+ id: z.ZodString;
415
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
416
+ ownerRepo: z.ZodOptional<z.ZodString>;
417
+ }, z.core.$strict>;
418
+ subjectRefs: z.ZodArray<z.ZodObject<{
419
+ kind: z.ZodString;
420
+ id: z.ZodString;
421
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
422
+ ownerRepo: z.ZodOptional<z.ZodString>;
423
+ }, z.core.$strict>>;
424
+ status: z.ZodEnum<{
425
+ selected: "selected";
426
+ stashed: "stashed";
427
+ rejected: "rejected";
428
+ archived: "archived";
429
+ }>;
430
+ note: z.ZodOptional<z.ZodString>;
431
+ expectedVersion: z.ZodNumber;
432
+ updatedAt: z.ZodString;
433
+ }, z.core.$strict>;
434
+ export declare const RadarAnalysisRunSchema: z.ZodObject<{
435
+ contract: z.ZodLiteral<"RadarAnalysisRun">;
436
+ runId: z.ZodString;
437
+ teamId: z.ZodString;
438
+ selectionRef: z.ZodObject<{
439
+ kind: z.ZodString;
440
+ id: z.ZodString;
441
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
442
+ ownerRepo: z.ZodOptional<z.ZodString>;
443
+ }, z.core.$strict>;
444
+ workflowRef: z.ZodObject<{
445
+ kind: z.ZodString;
446
+ id: z.ZodString;
447
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
448
+ ownerRepo: z.ZodOptional<z.ZodString>;
449
+ }, z.core.$strict>;
450
+ executionRef: z.ZodOptional<z.ZodObject<{
451
+ kind: z.ZodString;
452
+ id: z.ZodString;
453
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
454
+ ownerRepo: z.ZodOptional<z.ZodString>;
455
+ }, z.core.$strict>>;
456
+ designProjectRef: z.ZodOptional<z.ZodObject<{
457
+ kind: z.ZodString;
458
+ id: z.ZodString;
459
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
460
+ ownerRepo: z.ZodOptional<z.ZodString>;
461
+ }, z.core.$strict>>;
462
+ replayedFromRef: z.ZodOptional<z.ZodObject<{
463
+ kind: z.ZodString;
464
+ id: z.ZodString;
465
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
466
+ ownerRepo: z.ZodOptional<z.ZodString>;
467
+ }, z.core.$strict>>;
468
+ workflowDefinitionTeamId: z.ZodOptional<z.ZodString>;
469
+ workflowInput: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
470
+ createDesignProject: z.ZodDefault<z.ZodBoolean>;
471
+ designProjectName: z.ZodOptional<z.ZodString>;
472
+ modelRef: z.ZodObject<{
473
+ kind: z.ZodString;
474
+ id: z.ZodString;
475
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
476
+ ownerRepo: z.ZodOptional<z.ZodString>;
477
+ }, z.core.$strict>;
478
+ requestId: z.ZodString;
479
+ idempotencyKey: z.ZodString;
480
+ status: z.ZodEnum<{
481
+ SUCCEEDED: "SUCCEEDED";
482
+ FAILED: "FAILED";
483
+ CANCELLED: "CANCELLED";
484
+ RUNNING: "RUNNING";
485
+ PARTIAL: "PARTIAL";
486
+ QUEUED: "QUEUED";
487
+ }>;
488
+ outputRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
489
+ kind: z.ZodString;
490
+ id: z.ZodString;
491
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
492
+ ownerRepo: z.ZodOptional<z.ZodString>;
493
+ }, z.core.$strict>>>;
494
+ error: z.ZodOptional<z.ZodObject<{
495
+ code: z.ZodString;
496
+ message: z.ZodString;
497
+ retryable: z.ZodBoolean;
498
+ }, z.core.$strict>>;
499
+ startedAt: z.ZodOptional<z.ZodString>;
500
+ completedAt: z.ZodOptional<z.ZodString>;
501
+ createdAt: z.ZodString;
502
+ }, z.core.$strict>;
503
+ export declare const RadarActionRecordSchema: z.ZodObject<{
504
+ contract: z.ZodLiteral<"RadarActionRecord">;
505
+ actionId: z.ZodString;
506
+ teamId: z.ZodString;
507
+ actorRef: z.ZodObject<{
508
+ kind: z.ZodString;
509
+ id: z.ZodString;
510
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
511
+ ownerRepo: z.ZodOptional<z.ZodString>;
512
+ }, z.core.$strict>;
513
+ action: z.ZodEnum<{
514
+ select: "select";
515
+ stash: "stash";
516
+ reject: "reject";
517
+ archive: "archive";
518
+ launch: "launch";
519
+ retry: "retry";
520
+ replay: "replay";
521
+ rollback: "rollback";
522
+ }>;
523
+ targetRef: z.ZodObject<{
524
+ kind: z.ZodString;
525
+ id: z.ZodString;
526
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
527
+ ownerRepo: z.ZodOptional<z.ZodString>;
528
+ }, z.core.$strict>;
529
+ requestId: z.ZodString;
530
+ idempotencyKey: z.ZodString;
531
+ expectedVersion: z.ZodNumber;
532
+ occurredAt: z.ZodString;
533
+ }, z.core.$strict>;
534
+ export declare const RadarWritebackRecordSchema: z.ZodObject<{
535
+ contract: z.ZodLiteral<"RadarWritebackRecord">;
536
+ writebackId: z.ZodString;
537
+ actionRef: z.ZodObject<{
538
+ kind: z.ZodString;
539
+ id: z.ZodString;
540
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
541
+ ownerRepo: z.ZodOptional<z.ZodString>;
542
+ }, z.core.$strict>;
543
+ targetRef: z.ZodObject<{
544
+ kind: z.ZodString;
545
+ id: z.ZodString;
546
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
547
+ ownerRepo: z.ZodOptional<z.ZodString>;
548
+ }, z.core.$strict>;
549
+ status: z.ZodEnum<{
550
+ FAILED: "FAILED";
551
+ PENDING: "PENDING";
552
+ APPLIED: "APPLIED";
553
+ }>;
554
+ resultingVersion: z.ZodOptional<z.ZodNumber>;
555
+ error: z.ZodOptional<z.ZodString>;
556
+ recordedAt: z.ZodString;
557
+ }, z.core.$strict>;
558
+ export type TrendSource = z.infer<typeof TrendSourceSchema>;
559
+ export type TrendIngestRun = z.infer<typeof TrendIngestRunSchema>;
560
+ export type TrendSourceRecord = z.infer<typeof TrendSourceRecordSchema>;
561
+ export type HotwordBody = z.infer<typeof HotwordBodySchema>;
562
+ export type BrandBody = z.infer<typeof BrandBodySchema>;
563
+ export type ProductBody = z.infer<typeof ProductBodySchema>;
564
+ export type TrendMetricSnapshot = z.infer<typeof TrendMetricSnapshotSchema>;
565
+ export type RadarDecisionMetrics = z.infer<typeof RadarDecisionMetricsSchema>;
566
+ export type RadarScoreModelBody = z.infer<typeof RadarScoreModelBodySchema>;
567
+ export type RadarScoreProjection = z.infer<typeof RadarScoreProjectionSchema>;
568
+ export type RadarPanorama = z.infer<typeof RadarPanoramaSchema>;
569
+ export type BrandGeneticsProfile = z.infer<typeof BrandGeneticsProfileSchema>;
570
+ export type RadarOpportunityMatrix = z.infer<typeof RadarOpportunityMatrixSchema>;
571
+ export type RadarQueryBody = z.infer<typeof RadarQueryBodySchema>;
572
+ export type SavedRadarQuery = z.infer<typeof SavedRadarQuerySchema>;
573
+ export type RadarSelection = z.infer<typeof RadarSelectionSchema>;
574
+ export type RadarAnalysisRun = z.infer<typeof RadarAnalysisRunSchema>;
575
+ export type RadarActionRecord = z.infer<typeof RadarActionRecordSchema>;
576
+ export type RadarWritebackRecord = z.infer<typeof RadarWritebackRecordSchema>;
577
+ //# sourceMappingURL=trend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trend.d.ts","sourceRoot":"","sources":["../../src/contracts/trend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,0BAA0B;;;;;;kBAQ5B,CAAC;AAEZ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;kBASnB,CAAC;AAEZ,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;kBAatB,CAAC;AAEZ,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAYzB,CAAC;AAEZ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAYnB,CAAC;AAYZ,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;kBAMjB,CAAC;AAEZ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOnB,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;kBAU3B,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;kBAU3B,CAAC;AAEZ,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAW5B,CAAC;AAEZ,eAAO,MAAM,uBAAuB;;;;;;;;;;;kBAQzB,CAAC;AAEZ,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;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