@opengeni/contracts 0.39.0 → 0.44.1

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 (130) hide show
  1. package/dist/atlassian.d.ts +278 -0
  2. package/dist/atlassian.js +55 -0
  3. package/dist/atlassian.js.map +1 -0
  4. package/dist/chunk-52SGB2QO.js +688 -0
  5. package/dist/chunk-52SGB2QO.js.map +1 -0
  6. package/dist/{chunk-7JZMI22I.js → chunk-5UDNP7AO.js} +34 -2
  7. package/dist/chunk-5UDNP7AO.js.map +1 -0
  8. package/dist/chunk-BVGIYW7D.js +11 -0
  9. package/dist/chunk-BVGIYW7D.js.map +1 -0
  10. package/dist/chunk-CADSX6UN.js +1145 -0
  11. package/dist/chunk-CADSX6UN.js.map +1 -0
  12. package/dist/chunk-D2HKF2EF.js +1460 -0
  13. package/dist/chunk-D2HKF2EF.js.map +1 -0
  14. package/dist/chunk-FJBG5E4O.js +194 -0
  15. package/dist/chunk-FJBG5E4O.js.map +1 -0
  16. package/dist/chunk-H5BVCZKF.js +382 -0
  17. package/dist/chunk-H5BVCZKF.js.map +1 -0
  18. package/dist/chunk-LSB7GRLG.js +779 -0
  19. package/dist/chunk-LSB7GRLG.js.map +1 -0
  20. package/dist/chunk-MYBZRDTY.js +340 -0
  21. package/dist/chunk-MYBZRDTY.js.map +1 -0
  22. package/dist/chunk-RIY7GYQS.js +1204 -0
  23. package/dist/chunk-RIY7GYQS.js.map +1 -0
  24. package/dist/chunk-TZ6YEYN4.js +386 -0
  25. package/dist/chunk-TZ6YEYN4.js.map +1 -0
  26. package/dist/chunk-VA22KRHS.js +15177 -0
  27. package/dist/chunk-VA22KRHS.js.map +1 -0
  28. package/dist/chunk-Y3MLSLB4.js +392 -0
  29. package/dist/chunk-Y3MLSLB4.js.map +1 -0
  30. package/dist/chunk-YRKRZ6OF.js +134 -0
  31. package/dist/chunk-YRKRZ6OF.js.map +1 -0
  32. package/dist/company-profile.d.ts +629 -0
  33. package/dist/document-artifact-commands.d.ts +282 -0
  34. package/dist/document-artifact-commands.js +54 -0
  35. package/dist/document-artifact-commands.js.map +1 -0
  36. package/dist/document-artifact-query.d.ts +2 -0
  37. package/dist/document-artifact-query.js +54 -0
  38. package/dist/document-artifact-query.js.map +1 -0
  39. package/dist/editable-artifact-binary.d.ts +56 -0
  40. package/dist/editable-artifact-causal-frontier.d.ts +12 -0
  41. package/dist/editable-artifact-causal-frontier.js +18 -0
  42. package/dist/editable-artifact-causal-frontier.js.map +1 -0
  43. package/dist/editable-artifact-codec-registry.d.ts +48 -0
  44. package/dist/editable-artifact-codec-registry.js +20 -0
  45. package/dist/editable-artifact-codec-registry.js.map +1 -0
  46. package/dist/editable-artifact-committed-transaction.d.ts +35 -0
  47. package/dist/editable-artifact-committed-transaction.js +19 -0
  48. package/dist/editable-artifact-committed-transaction.js.map +1 -0
  49. package/dist/editable-artifact-live.d.ts +276 -0
  50. package/dist/editable-artifact-live.js +907 -0
  51. package/dist/editable-artifact-live.js.map +1 -0
  52. package/dist/editable-artifact-serialized-commit.d.ts +53 -0
  53. package/dist/editable-artifact-serialized-commit.js +26 -0
  54. package/dist/editable-artifact-serialized-commit.js.map +1 -0
  55. package/dist/editable-artifact-versions.d.ts +6 -0
  56. package/dist/editable-artifact-versions.js +11 -0
  57. package/dist/editable-artifact-versions.js.map +1 -0
  58. package/dist/editable-artifacts.d.ts +46 -0
  59. package/dist/editable-artifacts.js +236 -0
  60. package/dist/editable-artifacts.js.map +1 -0
  61. package/dist/event-preview.d.ts +7 -7
  62. package/dist/google-drive.d.ts +114 -2
  63. package/dist/google-drive.js +70 -14
  64. package/dist/google-drive.js.map +1 -1
  65. package/dist/image-generation.d.ts +70 -0
  66. package/dist/index.d.ts +5180 -329
  67. package/dist/index.js +1173 -40
  68. package/dist/interaction.d.ts +6895 -0
  69. package/dist/mcp-receipts.d.ts +96 -0
  70. package/dist/memory-slack-delivery.d.ts +397 -0
  71. package/dist/presentation-artifact-commands.d.ts +349 -0
  72. package/dist/presentation-artifact-commands.js +66 -0
  73. package/dist/presentation-artifact-commands.js.map +1 -0
  74. package/dist/presentation-artifact-query.d.ts +2 -0
  75. package/dist/presentation-artifact-query.js +66 -0
  76. package/dist/presentation-artifact-query.js.map +1 -0
  77. package/dist/retained-output.d.ts +83 -6
  78. package/dist/sandbox-snapshots.d.ts +9 -0
  79. package/dist/scoped-knowledge.d.ts +14 -13
  80. package/dist/slack-bot-scopes.d.ts +4 -0
  81. package/dist/slack-bot-scopes.js +3 -1
  82. package/dist/spreadsheet-artifact-commands.d.ts +101 -0
  83. package/dist/spreadsheet-artifact-commands.js +27 -0
  84. package/dist/spreadsheet-artifact-commands.js.map +1 -0
  85. package/dist/spreadsheet-artifact-date.d.ts +4 -0
  86. package/dist/spreadsheet-artifact-query.d.ts +120 -0
  87. package/dist/spreadsheet-artifact-query.js +48 -0
  88. package/dist/spreadsheet-artifact-query.js.map +1 -0
  89. package/dist/tool-catalog.d.ts +576 -0
  90. package/dist/video-generation.d.ts +532 -0
  91. package/dist/video-generation.js +51 -0
  92. package/dist/video-generation.js.map +1 -0
  93. package/dist/workspace-learning-policy.d.ts +208 -0
  94. package/package.json +61 -1
  95. package/src/atlassian.ts +160 -0
  96. package/src/company-profile.ts +306 -0
  97. package/src/document-artifact-commands.ts +1709 -0
  98. package/src/document-artifact-query.ts +2 -0
  99. package/src/editable-artifact-binary.ts +396 -0
  100. package/src/editable-artifact-causal-frontier.ts +154 -0
  101. package/src/editable-artifact-codec-registry.ts +261 -0
  102. package/src/editable-artifact-committed-transaction.ts +478 -0
  103. package/src/editable-artifact-live.ts +1379 -0
  104. package/src/editable-artifact-serialized-commit.ts +494 -0
  105. package/src/editable-artifact-versions.ts +8 -0
  106. package/src/editable-artifacts.ts +473 -0
  107. package/src/event-preview.ts +6 -6
  108. package/src/google-drive.ts +68 -15
  109. package/src/image-generation.ts +106 -0
  110. package/src/index.ts +2535 -282
  111. package/src/interaction.ts +2292 -0
  112. package/src/mcp-receipts.ts +281 -0
  113. package/src/memory-slack-delivery.ts +183 -0
  114. package/src/presentation-artifact-commands.ts +2035 -0
  115. package/src/presentation-artifact-query.ts +2 -0
  116. package/src/retained-output.ts +248 -8
  117. package/src/sandbox-snapshots.ts +28 -1
  118. package/src/scoped-knowledge.ts +18 -4
  119. package/src/slack-bot-scopes.ts +34 -1
  120. package/src/spreadsheet-artifact-commands.ts +999 -0
  121. package/src/spreadsheet-artifact-date.ts +21 -0
  122. package/src/spreadsheet-artifact-query.ts +1411 -0
  123. package/src/tool-catalog.ts +334 -0
  124. package/src/video-generation.ts +394 -0
  125. package/src/workspace-learning-policy.ts +233 -0
  126. package/dist/chunk-7JZMI22I.js.map +0 -1
  127. package/dist/chunk-PCTCJEAF.js +0 -10799
  128. package/dist/chunk-PCTCJEAF.js.map +0 -1
  129. package/dist/secret-redaction.d.ts +0 -40
  130. package/src/secret-redaction.ts +0 -364
@@ -0,0 +1,629 @@
1
+ import { z } from "zod";
2
+ export declare const COMPANY_PROFILE_SCALAR_MAX_CHARS = 2048;
3
+ export declare const COMPANY_PROFILE_ENTRY_MAX_CHARS = 1024;
4
+ export declare const COMPANY_PROFILE_ENTRY_MAX_COUNT = 16;
5
+ export declare const COMPANY_PROFILE_STABLE_KEY_MAX_CHARS = 96;
6
+ export declare const COMPANY_PROFILE_REASON_MAX_CHARS = 4096;
7
+ export declare const COMPANY_PROFILE_SOURCE_ID_MAX_CHARS = 512;
8
+ export declare const COMPANY_PROFILE_CONTENT_MAX_UTF8_BYTES = 28672;
9
+ export declare const COMPANY_PROFILE_PROMPT_MAX_UTF8_BYTES = 32768;
10
+ export declare const CompanyProfileStableKey: z.ZodString;
11
+ export type CompanyProfileStableKey = z.infer<typeof CompanyProfileStableKey>;
12
+ export declare function normalizeCompanyProfileStableKey(value: string): string;
13
+ export declare const CompanyProfileStableKeyInput: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
14
+ export declare const CompanyProfileEntry: z.ZodObject<{
15
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
16
+ content: z.ZodString;
17
+ }, z.core.$strip>;
18
+ export type CompanyProfileEntry = z.infer<typeof CompanyProfileEntry>;
19
+ export declare const CompanyProfileContent: z.ZodObject<{
20
+ identity: z.ZodNullable<z.ZodString>;
21
+ mission: z.ZodNullable<z.ZodString>;
22
+ products: z.ZodArray<z.ZodObject<{
23
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
24
+ content: z.ZodString;
25
+ }, z.core.$strip>>;
26
+ customers: z.ZodArray<z.ZodObject<{
27
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
28
+ content: z.ZodString;
29
+ }, z.core.$strip>>;
30
+ goals: z.ZodArray<z.ZodObject<{
31
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
32
+ content: z.ZodString;
33
+ }, z.core.$strip>>;
34
+ constraints: z.ZodArray<z.ZodObject<{
35
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
36
+ content: z.ZodString;
37
+ }, z.core.$strip>>;
38
+ }, z.core.$strict>;
39
+ export type CompanyProfileContent = z.infer<typeof CompanyProfileContent>;
40
+ export declare const CompanyProfileRevisionIntent: z.ZodEnum<{
41
+ active: "active";
42
+ proposal: "proposal";
43
+ }>;
44
+ export type CompanyProfileRevisionIntent = z.infer<typeof CompanyProfileRevisionIntent>;
45
+ export declare const CompanyProfileProvenanceSource: z.ZodEnum<{
46
+ durable_learning: "durable_learning";
47
+ human: "human";
48
+ migration: "migration";
49
+ }>;
50
+ export type CompanyProfileProvenanceSource = z.infer<typeof CompanyProfileProvenanceSource>;
51
+ export declare const CompanyProfilePrincipalKind: z.ZodEnum<{
52
+ agent_attempt: "agent_attempt";
53
+ human_session: "human_session";
54
+ service: "service";
55
+ }>;
56
+ export type CompanyProfilePrincipalKind = z.infer<typeof CompanyProfilePrincipalKind>;
57
+ export declare const CompanyProfileActivationType: z.ZodEnum<{
58
+ activate: "activate";
59
+ rollback: "rollback";
60
+ }>;
61
+ export type CompanyProfileActivationType = z.infer<typeof CompanyProfileActivationType>;
62
+ export declare const CompanyProfileRevisionIdentity: z.ZodObject<{
63
+ id: z.ZodString;
64
+ revision: z.ZodNumber;
65
+ contentHash: z.ZodString;
66
+ }, z.core.$strip>;
67
+ export type CompanyProfileRevisionIdentity = z.infer<typeof CompanyProfileRevisionIdentity>;
68
+ export declare const CompanyProfileRevision: z.ZodObject<{
69
+ id: z.ZodString;
70
+ revision: z.ZodNumber;
71
+ contentHash: z.ZodString;
72
+ operationId: z.ZodString;
73
+ accountId: z.ZodString;
74
+ intent: z.ZodEnum<{
75
+ active: "active";
76
+ proposal: "proposal";
77
+ }>;
78
+ profile: z.ZodObject<{
79
+ identity: z.ZodNullable<z.ZodString>;
80
+ mission: z.ZodNullable<z.ZodString>;
81
+ products: z.ZodArray<z.ZodObject<{
82
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
83
+ content: z.ZodString;
84
+ }, z.core.$strip>>;
85
+ customers: z.ZodArray<z.ZodObject<{
86
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
87
+ content: z.ZodString;
88
+ }, z.core.$strip>>;
89
+ goals: z.ZodArray<z.ZodObject<{
90
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
91
+ content: z.ZodString;
92
+ }, z.core.$strip>>;
93
+ constraints: z.ZodArray<z.ZodObject<{
94
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
95
+ content: z.ZodString;
96
+ }, z.core.$strip>>;
97
+ }, z.core.$strict>;
98
+ provenance: z.ZodObject<{
99
+ source: z.ZodEnum<{
100
+ durable_learning: "durable_learning";
101
+ human: "human";
102
+ migration: "migration";
103
+ }>;
104
+ sourceId: z.ZodNullable<z.ZodString>;
105
+ }, z.core.$strip>;
106
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
107
+ createdBySubjectId: z.ZodString;
108
+ createdAt: z.ZodString;
109
+ }, z.core.$strip>;
110
+ export type CompanyProfileRevision = z.infer<typeof CompanyProfileRevision>;
111
+ export declare const CompanyProfileHead: z.ZodObject<{
112
+ accountId: z.ZodString;
113
+ revisionId: z.ZodString;
114
+ revision: z.ZodNumber;
115
+ contentHash: z.ZodString;
116
+ activationVersion: z.ZodNumber;
117
+ activatedAt: z.ZodString;
118
+ }, z.core.$strip>;
119
+ export type CompanyProfileHead = z.infer<typeof CompanyProfileHead>;
120
+ export declare const CompanyProfileActivationEvent: z.ZodObject<{
121
+ id: z.ZodString;
122
+ operationId: z.ZodString;
123
+ accountId: z.ZodString;
124
+ type: z.ZodEnum<{
125
+ activate: "activate";
126
+ rollback: "rollback";
127
+ }>;
128
+ activationVersion: z.ZodNumber;
129
+ oldRevision: z.ZodNullable<z.ZodObject<{
130
+ id: z.ZodString;
131
+ revision: z.ZodNumber;
132
+ contentHash: z.ZodString;
133
+ }, z.core.$strip>>;
134
+ newRevision: z.ZodNullable<z.ZodObject<{
135
+ id: z.ZodString;
136
+ revision: z.ZodNumber;
137
+ contentHash: z.ZodString;
138
+ }, z.core.$strip>>;
139
+ actorSubjectId: z.ZodString;
140
+ reason: z.ZodString;
141
+ createdAt: z.ZodString;
142
+ }, z.core.$strip>;
143
+ export type CompanyProfileActivationEvent = z.infer<typeof CompanyProfileActivationEvent>;
144
+ export declare const CompanyProfileSnapshotEntry: z.ZodObject<{
145
+ id: z.ZodString;
146
+ revision: z.ZodNumber;
147
+ contentHash: z.ZodString;
148
+ activationVersion: z.ZodNumber;
149
+ activatedAt: z.ZodString;
150
+ provenance: z.ZodObject<{
151
+ source: z.ZodEnum<{
152
+ durable_learning: "durable_learning";
153
+ human: "human";
154
+ migration: "migration";
155
+ }>;
156
+ sourceIdHash: z.ZodNullable<z.ZodString>;
157
+ }, z.core.$strip>;
158
+ }, z.core.$strip>;
159
+ export type CompanyProfileSnapshotEntry = z.infer<typeof CompanyProfileSnapshotEntry>;
160
+ export declare const CompanyProfileSnapshot: z.ZodObject<{
161
+ id: z.ZodString;
162
+ accountId: z.ZodString;
163
+ workspaceId: z.ZodString;
164
+ sessionId: z.ZodString;
165
+ turnId: z.ZodString;
166
+ attemptId: z.ZodString;
167
+ executionGeneration: z.ZodNumber;
168
+ profile: z.ZodNullable<z.ZodObject<{
169
+ id: z.ZodString;
170
+ revision: z.ZodNumber;
171
+ contentHash: z.ZodString;
172
+ activationVersion: z.ZodNumber;
173
+ activatedAt: z.ZodString;
174
+ provenance: z.ZodObject<{
175
+ source: z.ZodEnum<{
176
+ durable_learning: "durable_learning";
177
+ human: "human";
178
+ migration: "migration";
179
+ }>;
180
+ sourceIdHash: z.ZodNullable<z.ZodString>;
181
+ }, z.core.$strip>;
182
+ }, z.core.$strip>>;
183
+ snapshotHash: z.ZodString;
184
+ createdAt: z.ZodString;
185
+ }, z.core.$strip>;
186
+ export type CompanyProfileSnapshot = z.infer<typeof CompanyProfileSnapshot>;
187
+ export declare const ResolvedCompanyProfileSnapshot: z.ZodObject<{
188
+ id: z.ZodString;
189
+ accountId: z.ZodString;
190
+ workspaceId: z.ZodString;
191
+ sessionId: z.ZodString;
192
+ turnId: z.ZodString;
193
+ attemptId: z.ZodString;
194
+ executionGeneration: z.ZodNumber;
195
+ snapshotHash: z.ZodString;
196
+ createdAt: z.ZodString;
197
+ profile: z.ZodNullable<z.ZodObject<{
198
+ id: z.ZodString;
199
+ revision: z.ZodNumber;
200
+ contentHash: z.ZodString;
201
+ activationVersion: z.ZodNumber;
202
+ activatedAt: z.ZodString;
203
+ provenance: z.ZodObject<{
204
+ source: z.ZodEnum<{
205
+ durable_learning: "durable_learning";
206
+ human: "human";
207
+ migration: "migration";
208
+ }>;
209
+ sourceIdHash: z.ZodNullable<z.ZodString>;
210
+ }, z.core.$strip>;
211
+ profile: z.ZodObject<{
212
+ identity: z.ZodNullable<z.ZodString>;
213
+ mission: z.ZodNullable<z.ZodString>;
214
+ products: z.ZodArray<z.ZodObject<{
215
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
216
+ content: z.ZodString;
217
+ }, z.core.$strip>>;
218
+ customers: z.ZodArray<z.ZodObject<{
219
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
220
+ content: z.ZodString;
221
+ }, z.core.$strip>>;
222
+ goals: z.ZodArray<z.ZodObject<{
223
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
224
+ content: z.ZodString;
225
+ }, z.core.$strip>>;
226
+ constraints: z.ZodArray<z.ZodObject<{
227
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
228
+ content: z.ZodString;
229
+ }, z.core.$strip>>;
230
+ }, z.core.$strict>;
231
+ }, z.core.$strip>>;
232
+ }, z.core.$strip>;
233
+ export type ResolvedCompanyProfileSnapshot = z.infer<typeof ResolvedCompanyProfileSnapshot>;
234
+ export declare const CompanyProfileListQuery: z.ZodObject<{
235
+ afterRevision: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
236
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
237
+ }, z.core.$strip>;
238
+ export type CompanyProfileListQuery = z.infer<typeof CompanyProfileListQuery>;
239
+ export declare const CompanyProfileListResponse: z.ZodObject<{
240
+ current: z.ZodNullable<z.ZodObject<{
241
+ accountId: z.ZodString;
242
+ revisionId: z.ZodString;
243
+ revision: z.ZodNumber;
244
+ contentHash: z.ZodString;
245
+ activationVersion: z.ZodNumber;
246
+ activatedAt: z.ZodString;
247
+ }, z.core.$strip>>;
248
+ activeRevision: z.ZodNullable<z.ZodObject<{
249
+ id: z.ZodString;
250
+ revision: z.ZodNumber;
251
+ contentHash: z.ZodString;
252
+ operationId: z.ZodString;
253
+ accountId: z.ZodString;
254
+ intent: z.ZodEnum<{
255
+ active: "active";
256
+ proposal: "proposal";
257
+ }>;
258
+ profile: z.ZodObject<{
259
+ identity: z.ZodNullable<z.ZodString>;
260
+ mission: z.ZodNullable<z.ZodString>;
261
+ products: z.ZodArray<z.ZodObject<{
262
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
263
+ content: z.ZodString;
264
+ }, z.core.$strip>>;
265
+ customers: z.ZodArray<z.ZodObject<{
266
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
267
+ content: z.ZodString;
268
+ }, z.core.$strip>>;
269
+ goals: z.ZodArray<z.ZodObject<{
270
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
271
+ content: z.ZodString;
272
+ }, z.core.$strip>>;
273
+ constraints: z.ZodArray<z.ZodObject<{
274
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
275
+ content: z.ZodString;
276
+ }, z.core.$strip>>;
277
+ }, z.core.$strict>;
278
+ provenance: z.ZodObject<{
279
+ source: z.ZodEnum<{
280
+ durable_learning: "durable_learning";
281
+ human: "human";
282
+ migration: "migration";
283
+ }>;
284
+ sourceId: z.ZodNullable<z.ZodString>;
285
+ }, z.core.$strip>;
286
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
287
+ createdBySubjectId: z.ZodString;
288
+ createdAt: z.ZodString;
289
+ }, z.core.$strip>>;
290
+ revisions: z.ZodArray<z.ZodObject<{
291
+ id: z.ZodString;
292
+ revision: z.ZodNumber;
293
+ contentHash: z.ZodString;
294
+ operationId: z.ZodString;
295
+ accountId: z.ZodString;
296
+ intent: z.ZodEnum<{
297
+ active: "active";
298
+ proposal: "proposal";
299
+ }>;
300
+ profile: z.ZodObject<{
301
+ identity: z.ZodNullable<z.ZodString>;
302
+ mission: z.ZodNullable<z.ZodString>;
303
+ products: z.ZodArray<z.ZodObject<{
304
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
305
+ content: z.ZodString;
306
+ }, z.core.$strip>>;
307
+ customers: z.ZodArray<z.ZodObject<{
308
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
309
+ content: z.ZodString;
310
+ }, z.core.$strip>>;
311
+ goals: z.ZodArray<z.ZodObject<{
312
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
313
+ content: z.ZodString;
314
+ }, z.core.$strip>>;
315
+ constraints: z.ZodArray<z.ZodObject<{
316
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
317
+ content: z.ZodString;
318
+ }, z.core.$strip>>;
319
+ }, z.core.$strict>;
320
+ provenance: z.ZodObject<{
321
+ source: z.ZodEnum<{
322
+ durable_learning: "durable_learning";
323
+ human: "human";
324
+ migration: "migration";
325
+ }>;
326
+ sourceId: z.ZodNullable<z.ZodString>;
327
+ }, z.core.$strip>;
328
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
329
+ createdBySubjectId: z.ZodString;
330
+ createdAt: z.ZodString;
331
+ }, z.core.$strip>>;
332
+ activationEvents: z.ZodArray<z.ZodObject<{
333
+ id: z.ZodString;
334
+ operationId: z.ZodString;
335
+ accountId: z.ZodString;
336
+ type: z.ZodEnum<{
337
+ activate: "activate";
338
+ rollback: "rollback";
339
+ }>;
340
+ activationVersion: z.ZodNumber;
341
+ oldRevision: z.ZodNullable<z.ZodObject<{
342
+ id: z.ZodString;
343
+ revision: z.ZodNumber;
344
+ contentHash: z.ZodString;
345
+ }, z.core.$strip>>;
346
+ newRevision: z.ZodNullable<z.ZodObject<{
347
+ id: z.ZodString;
348
+ revision: z.ZodNumber;
349
+ contentHash: z.ZodString;
350
+ }, z.core.$strip>>;
351
+ actorSubjectId: z.ZodString;
352
+ reason: z.ZodString;
353
+ createdAt: z.ZodString;
354
+ }, z.core.$strip>>;
355
+ nextAfterRevision: z.ZodNullable<z.ZodNumber>;
356
+ }, z.core.$strip>;
357
+ export type CompanyProfileListResponse = z.infer<typeof CompanyProfileListResponse>;
358
+ export declare const UpdateCompanyProfileRequest: z.ZodObject<{
359
+ operationId: z.ZodOptional<z.ZodString>;
360
+ profile: z.ZodObject<{
361
+ identity: z.ZodNullable<z.ZodString>;
362
+ mission: z.ZodNullable<z.ZodString>;
363
+ products: z.ZodArray<z.ZodObject<{
364
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
365
+ content: z.ZodString;
366
+ }, z.core.$strip>>;
367
+ customers: z.ZodArray<z.ZodObject<{
368
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
369
+ content: z.ZodString;
370
+ }, z.core.$strip>>;
371
+ goals: z.ZodArray<z.ZodObject<{
372
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
373
+ content: z.ZodString;
374
+ }, z.core.$strip>>;
375
+ constraints: z.ZodArray<z.ZodObject<{
376
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
377
+ content: z.ZodString;
378
+ }, z.core.$strip>>;
379
+ }, z.core.$strict>;
380
+ expectedCurrentRevisionId: z.ZodNullable<z.ZodString>;
381
+ expectedActivationVersion: z.ZodNumber;
382
+ reason: z.ZodString;
383
+ }, z.core.$strip>;
384
+ export type UpdateCompanyProfileRequest = z.infer<typeof UpdateCompanyProfileRequest>;
385
+ export declare const ActivateCompanyProfileRevisionRequest: z.ZodObject<{
386
+ operationId: z.ZodOptional<z.ZodString>;
387
+ expectedCurrentRevisionId: z.ZodNullable<z.ZodString>;
388
+ expectedActivationVersion: z.ZodNumber;
389
+ reason: z.ZodString;
390
+ }, z.core.$strip>;
391
+ export type ActivateCompanyProfileRevisionRequest = z.infer<typeof ActivateCompanyProfileRevisionRequest>;
392
+ export declare const RollbackCompanyProfileRequest: z.ZodObject<{
393
+ operationId: z.ZodOptional<z.ZodString>;
394
+ targetRevisionId: z.ZodString;
395
+ expectedCurrentRevisionId: z.ZodString;
396
+ expectedActivationVersion: z.ZodNumber;
397
+ reason: z.ZodString;
398
+ }, z.core.$strip>;
399
+ export type RollbackCompanyProfileRequest = z.infer<typeof RollbackCompanyProfileRequest>;
400
+ export declare const CompanyProfileMutationResponse: z.ZodObject<{
401
+ revision: z.ZodNullable<z.ZodObject<{
402
+ id: z.ZodString;
403
+ revision: z.ZodNumber;
404
+ contentHash: z.ZodString;
405
+ operationId: z.ZodString;
406
+ accountId: z.ZodString;
407
+ intent: z.ZodEnum<{
408
+ active: "active";
409
+ proposal: "proposal";
410
+ }>;
411
+ profile: z.ZodObject<{
412
+ identity: z.ZodNullable<z.ZodString>;
413
+ mission: z.ZodNullable<z.ZodString>;
414
+ products: z.ZodArray<z.ZodObject<{
415
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
416
+ content: z.ZodString;
417
+ }, z.core.$strip>>;
418
+ customers: z.ZodArray<z.ZodObject<{
419
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
420
+ content: z.ZodString;
421
+ }, z.core.$strip>>;
422
+ goals: z.ZodArray<z.ZodObject<{
423
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
424
+ content: z.ZodString;
425
+ }, z.core.$strip>>;
426
+ constraints: z.ZodArray<z.ZodObject<{
427
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
428
+ content: z.ZodString;
429
+ }, z.core.$strip>>;
430
+ }, z.core.$strict>;
431
+ provenance: z.ZodObject<{
432
+ source: z.ZodEnum<{
433
+ durable_learning: "durable_learning";
434
+ human: "human";
435
+ migration: "migration";
436
+ }>;
437
+ sourceId: z.ZodNullable<z.ZodString>;
438
+ }, z.core.$strip>;
439
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
440
+ createdBySubjectId: z.ZodString;
441
+ createdAt: z.ZodString;
442
+ }, z.core.$strip>>;
443
+ head: z.ZodNullable<z.ZodObject<{
444
+ accountId: z.ZodString;
445
+ revisionId: z.ZodString;
446
+ revision: z.ZodNumber;
447
+ contentHash: z.ZodString;
448
+ activationVersion: z.ZodNumber;
449
+ activatedAt: z.ZodString;
450
+ }, z.core.$strip>>;
451
+ event: z.ZodNullable<z.ZodObject<{
452
+ id: z.ZodString;
453
+ operationId: z.ZodString;
454
+ accountId: z.ZodString;
455
+ type: z.ZodEnum<{
456
+ activate: "activate";
457
+ rollback: "rollback";
458
+ }>;
459
+ activationVersion: z.ZodNumber;
460
+ oldRevision: z.ZodNullable<z.ZodObject<{
461
+ id: z.ZodString;
462
+ revision: z.ZodNumber;
463
+ contentHash: z.ZodString;
464
+ }, z.core.$strip>>;
465
+ newRevision: z.ZodNullable<z.ZodObject<{
466
+ id: z.ZodString;
467
+ revision: z.ZodNumber;
468
+ contentHash: z.ZodString;
469
+ }, z.core.$strip>>;
470
+ actorSubjectId: z.ZodString;
471
+ reason: z.ZodString;
472
+ createdAt: z.ZodString;
473
+ }, z.core.$strip>>;
474
+ }, z.core.$strip>;
475
+ export type CompanyProfileMutationResponse = z.infer<typeof CompanyProfileMutationResponse>;
476
+ export declare const CompanyProfileDiffRequest: z.ZodObject<{
477
+ fromRevisionId: z.ZodString;
478
+ toRevisionId: z.ZodString;
479
+ }, z.core.$strip>;
480
+ export type CompanyProfileDiffRequest = z.infer<typeof CompanyProfileDiffRequest>;
481
+ export declare const CompanyProfileDiffResponse: z.ZodObject<{
482
+ from: z.ZodObject<{
483
+ id: z.ZodString;
484
+ revision: z.ZodNumber;
485
+ contentHash: z.ZodString;
486
+ operationId: z.ZodString;
487
+ accountId: z.ZodString;
488
+ intent: z.ZodEnum<{
489
+ active: "active";
490
+ proposal: "proposal";
491
+ }>;
492
+ profile: z.ZodObject<{
493
+ identity: z.ZodNullable<z.ZodString>;
494
+ mission: z.ZodNullable<z.ZodString>;
495
+ products: z.ZodArray<z.ZodObject<{
496
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
497
+ content: z.ZodString;
498
+ }, z.core.$strip>>;
499
+ customers: z.ZodArray<z.ZodObject<{
500
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
501
+ content: z.ZodString;
502
+ }, z.core.$strip>>;
503
+ goals: z.ZodArray<z.ZodObject<{
504
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
505
+ content: z.ZodString;
506
+ }, z.core.$strip>>;
507
+ constraints: z.ZodArray<z.ZodObject<{
508
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
509
+ content: z.ZodString;
510
+ }, z.core.$strip>>;
511
+ }, z.core.$strict>;
512
+ provenance: z.ZodObject<{
513
+ source: z.ZodEnum<{
514
+ durable_learning: "durable_learning";
515
+ human: "human";
516
+ migration: "migration";
517
+ }>;
518
+ sourceId: z.ZodNullable<z.ZodString>;
519
+ }, z.core.$strip>;
520
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
521
+ createdBySubjectId: z.ZodString;
522
+ createdAt: z.ZodString;
523
+ }, z.core.$strip>;
524
+ to: z.ZodObject<{
525
+ id: z.ZodString;
526
+ revision: z.ZodNumber;
527
+ contentHash: z.ZodString;
528
+ operationId: z.ZodString;
529
+ accountId: z.ZodString;
530
+ intent: z.ZodEnum<{
531
+ active: "active";
532
+ proposal: "proposal";
533
+ }>;
534
+ profile: z.ZodObject<{
535
+ identity: z.ZodNullable<z.ZodString>;
536
+ mission: z.ZodNullable<z.ZodString>;
537
+ products: z.ZodArray<z.ZodObject<{
538
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
539
+ content: z.ZodString;
540
+ }, z.core.$strip>>;
541
+ customers: z.ZodArray<z.ZodObject<{
542
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
543
+ content: z.ZodString;
544
+ }, z.core.$strip>>;
545
+ goals: z.ZodArray<z.ZodObject<{
546
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
547
+ content: z.ZodString;
548
+ }, z.core.$strip>>;
549
+ constraints: z.ZodArray<z.ZodObject<{
550
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
551
+ content: z.ZodString;
552
+ }, z.core.$strip>>;
553
+ }, z.core.$strict>;
554
+ provenance: z.ZodObject<{
555
+ source: z.ZodEnum<{
556
+ durable_learning: "durable_learning";
557
+ human: "human";
558
+ migration: "migration";
559
+ }>;
560
+ sourceId: z.ZodNullable<z.ZodString>;
561
+ }, z.core.$strip>;
562
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
563
+ createdBySubjectId: z.ZodString;
564
+ createdAt: z.ZodString;
565
+ }, z.core.$strip>;
566
+ format: z.ZodLiteral<"unified_json">;
567
+ diff: z.ZodString;
568
+ }, z.core.$strip>;
569
+ export type CompanyProfileDiffResponse = z.infer<typeof CompanyProfileDiffResponse>;
570
+ export declare const CompanyProfileConflictResponse: z.ZodObject<{
571
+ code: z.ZodLiteral<"COMPANY_PROFILE_CONFLICT">;
572
+ message: z.ZodString;
573
+ currentHead: z.ZodNullable<z.ZodObject<{
574
+ accountId: z.ZodString;
575
+ revisionId: z.ZodString;
576
+ revision: z.ZodNumber;
577
+ contentHash: z.ZodString;
578
+ activationVersion: z.ZodNumber;
579
+ activatedAt: z.ZodString;
580
+ }, z.core.$strip>>;
581
+ }, z.core.$strip>;
582
+ export declare const CompanyProfileOperationReuseResponse: z.ZodObject<{
583
+ code: z.ZodLiteral<"COMPANY_PROFILE_OPERATION_REUSED">;
584
+ message: z.ZodString;
585
+ }, z.core.$strip>;
586
+ export declare const CompanyProfileLearningSubjectKind: z.ZodEnum<{
587
+ company_constraint: "company_constraint";
588
+ company_customer: "company_customer";
589
+ company_goal: "company_goal";
590
+ company_identity: "company_identity";
591
+ company_mission: "company_mission";
592
+ company_product: "company_product";
593
+ }>;
594
+ export type CompanyProfileLearningSubjectKind = z.infer<typeof CompanyProfileLearningSubjectKind>;
595
+ /** Authority-native seam invoked only by the canonical durable-learning router adapter. */
596
+ export declare const CompanyProfileLearningWrite: z.ZodObject<{
597
+ operationId: z.ZodString;
598
+ accountId: z.ZodString;
599
+ workspaceId: z.ZodString;
600
+ actorSubjectId: z.ZodString;
601
+ actorKind: z.ZodEnum<{
602
+ agent: "agent";
603
+ human: "human";
604
+ service: "service";
605
+ }>;
606
+ authority: z.ZodEnum<{
607
+ active: "active";
608
+ proposal: "proposal";
609
+ }>;
610
+ subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
611
+ kind: z.ZodEnum<{
612
+ company_identity: "company_identity";
613
+ company_mission: "company_mission";
614
+ }>;
615
+ content: z.ZodString;
616
+ stableKey: z.ZodNull;
617
+ }, z.core.$strip>, z.ZodObject<{
618
+ kind: z.ZodEnum<{
619
+ company_constraint: "company_constraint";
620
+ company_customer: "company_customer";
621
+ company_goal: "company_goal";
622
+ company_product: "company_product";
623
+ }>;
624
+ content: z.ZodString;
625
+ stableKey: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
626
+ }, z.core.$strip>], "kind">;
627
+ sourceId: z.ZodString;
628
+ }, z.core.$strip>;
629
+ export type CompanyProfileLearningWrite = z.infer<typeof CompanyProfileLearningWrite>;