@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.
- package/dist/atlassian.d.ts +278 -0
- package/dist/atlassian.js +55 -0
- package/dist/atlassian.js.map +1 -0
- package/dist/chunk-52SGB2QO.js +688 -0
- package/dist/chunk-52SGB2QO.js.map +1 -0
- package/dist/{chunk-7JZMI22I.js → chunk-5UDNP7AO.js} +34 -2
- package/dist/chunk-5UDNP7AO.js.map +1 -0
- package/dist/chunk-BVGIYW7D.js +11 -0
- package/dist/chunk-BVGIYW7D.js.map +1 -0
- package/dist/chunk-CADSX6UN.js +1145 -0
- package/dist/chunk-CADSX6UN.js.map +1 -0
- package/dist/chunk-D2HKF2EF.js +1460 -0
- package/dist/chunk-D2HKF2EF.js.map +1 -0
- package/dist/chunk-FJBG5E4O.js +194 -0
- package/dist/chunk-FJBG5E4O.js.map +1 -0
- package/dist/chunk-H5BVCZKF.js +382 -0
- package/dist/chunk-H5BVCZKF.js.map +1 -0
- package/dist/chunk-LSB7GRLG.js +779 -0
- package/dist/chunk-LSB7GRLG.js.map +1 -0
- package/dist/chunk-MYBZRDTY.js +340 -0
- package/dist/chunk-MYBZRDTY.js.map +1 -0
- package/dist/chunk-RIY7GYQS.js +1204 -0
- package/dist/chunk-RIY7GYQS.js.map +1 -0
- package/dist/chunk-TZ6YEYN4.js +386 -0
- package/dist/chunk-TZ6YEYN4.js.map +1 -0
- package/dist/chunk-VA22KRHS.js +15177 -0
- package/dist/chunk-VA22KRHS.js.map +1 -0
- package/dist/chunk-Y3MLSLB4.js +392 -0
- package/dist/chunk-Y3MLSLB4.js.map +1 -0
- package/dist/chunk-YRKRZ6OF.js +134 -0
- package/dist/chunk-YRKRZ6OF.js.map +1 -0
- package/dist/company-profile.d.ts +629 -0
- package/dist/document-artifact-commands.d.ts +282 -0
- package/dist/document-artifact-commands.js +54 -0
- package/dist/document-artifact-commands.js.map +1 -0
- package/dist/document-artifact-query.d.ts +2 -0
- package/dist/document-artifact-query.js +54 -0
- package/dist/document-artifact-query.js.map +1 -0
- package/dist/editable-artifact-binary.d.ts +56 -0
- package/dist/editable-artifact-causal-frontier.d.ts +12 -0
- package/dist/editable-artifact-causal-frontier.js +18 -0
- package/dist/editable-artifact-causal-frontier.js.map +1 -0
- package/dist/editable-artifact-codec-registry.d.ts +48 -0
- package/dist/editable-artifact-codec-registry.js +20 -0
- package/dist/editable-artifact-codec-registry.js.map +1 -0
- package/dist/editable-artifact-committed-transaction.d.ts +35 -0
- package/dist/editable-artifact-committed-transaction.js +19 -0
- package/dist/editable-artifact-committed-transaction.js.map +1 -0
- package/dist/editable-artifact-live.d.ts +276 -0
- package/dist/editable-artifact-live.js +907 -0
- package/dist/editable-artifact-live.js.map +1 -0
- package/dist/editable-artifact-serialized-commit.d.ts +53 -0
- package/dist/editable-artifact-serialized-commit.js +26 -0
- package/dist/editable-artifact-serialized-commit.js.map +1 -0
- package/dist/editable-artifact-versions.d.ts +6 -0
- package/dist/editable-artifact-versions.js +11 -0
- package/dist/editable-artifact-versions.js.map +1 -0
- package/dist/editable-artifacts.d.ts +46 -0
- package/dist/editable-artifacts.js +236 -0
- package/dist/editable-artifacts.js.map +1 -0
- package/dist/event-preview.d.ts +7 -7
- package/dist/google-drive.d.ts +114 -2
- package/dist/google-drive.js +70 -14
- package/dist/google-drive.js.map +1 -1
- package/dist/image-generation.d.ts +70 -0
- package/dist/index.d.ts +5180 -329
- package/dist/index.js +1173 -40
- package/dist/interaction.d.ts +6895 -0
- package/dist/mcp-receipts.d.ts +96 -0
- package/dist/memory-slack-delivery.d.ts +397 -0
- package/dist/presentation-artifact-commands.d.ts +349 -0
- package/dist/presentation-artifact-commands.js +66 -0
- package/dist/presentation-artifact-commands.js.map +1 -0
- package/dist/presentation-artifact-query.d.ts +2 -0
- package/dist/presentation-artifact-query.js +66 -0
- package/dist/presentation-artifact-query.js.map +1 -0
- package/dist/retained-output.d.ts +83 -6
- package/dist/sandbox-snapshots.d.ts +9 -0
- package/dist/scoped-knowledge.d.ts +14 -13
- package/dist/slack-bot-scopes.d.ts +4 -0
- package/dist/slack-bot-scopes.js +3 -1
- package/dist/spreadsheet-artifact-commands.d.ts +101 -0
- package/dist/spreadsheet-artifact-commands.js +27 -0
- package/dist/spreadsheet-artifact-commands.js.map +1 -0
- package/dist/spreadsheet-artifact-date.d.ts +4 -0
- package/dist/spreadsheet-artifact-query.d.ts +120 -0
- package/dist/spreadsheet-artifact-query.js +48 -0
- package/dist/spreadsheet-artifact-query.js.map +1 -0
- package/dist/tool-catalog.d.ts +576 -0
- package/dist/video-generation.d.ts +532 -0
- package/dist/video-generation.js +51 -0
- package/dist/video-generation.js.map +1 -0
- package/dist/workspace-learning-policy.d.ts +208 -0
- package/package.json +61 -1
- package/src/atlassian.ts +160 -0
- package/src/company-profile.ts +306 -0
- package/src/document-artifact-commands.ts +1709 -0
- package/src/document-artifact-query.ts +2 -0
- package/src/editable-artifact-binary.ts +396 -0
- package/src/editable-artifact-causal-frontier.ts +154 -0
- package/src/editable-artifact-codec-registry.ts +261 -0
- package/src/editable-artifact-committed-transaction.ts +478 -0
- package/src/editable-artifact-live.ts +1379 -0
- package/src/editable-artifact-serialized-commit.ts +494 -0
- package/src/editable-artifact-versions.ts +8 -0
- package/src/editable-artifacts.ts +473 -0
- package/src/event-preview.ts +6 -6
- package/src/google-drive.ts +68 -15
- package/src/image-generation.ts +106 -0
- package/src/index.ts +2535 -282
- package/src/interaction.ts +2292 -0
- package/src/mcp-receipts.ts +281 -0
- package/src/memory-slack-delivery.ts +183 -0
- package/src/presentation-artifact-commands.ts +2035 -0
- package/src/presentation-artifact-query.ts +2 -0
- package/src/retained-output.ts +248 -8
- package/src/sandbox-snapshots.ts +28 -1
- package/src/scoped-knowledge.ts +18 -4
- package/src/slack-bot-scopes.ts +34 -1
- package/src/spreadsheet-artifact-commands.ts +999 -0
- package/src/spreadsheet-artifact-date.ts +21 -0
- package/src/spreadsheet-artifact-query.ts +1411 -0
- package/src/tool-catalog.ts +334 -0
- package/src/video-generation.ts +394 -0
- package/src/workspace-learning-policy.ts +233 -0
- package/dist/chunk-7JZMI22I.js.map +0 -1
- package/dist/chunk-PCTCJEAF.js +0 -10799
- package/dist/chunk-PCTCJEAF.js.map +0 -1
- package/dist/secret-redaction.d.ts +0 -40
- package/src/secret-redaction.ts +0 -364
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Versioned, provider-neutral receipt returned by first-party MCP mutation tools.
|
|
4
|
+
*
|
|
5
|
+
* A receipt intentionally contains only server-generated identity and outcome
|
|
6
|
+
* facts. Callers already have mutation inputs in their tool-call history, so
|
|
7
|
+
* copying names, prompts, instructions, commands, evidence, or other request
|
|
8
|
+
* fields into the result wastes context and can expose data twice.
|
|
9
|
+
*/
|
|
10
|
+
export declare const MCP_MUTATION_RECEIPT_VERSION: "mcp-mutation-receipt.v1";
|
|
11
|
+
export declare const MCP_MUTATION_RECEIPT_MAX_BYTES: number;
|
|
12
|
+
export declare const McpMutationReceiptOutcome: z.ZodEnum<{
|
|
13
|
+
accepted: "accepted";
|
|
14
|
+
created: "created";
|
|
15
|
+
deleted: "deleted";
|
|
16
|
+
partial_failure: "partial_failure";
|
|
17
|
+
repaired: "repaired";
|
|
18
|
+
replayed: "replayed";
|
|
19
|
+
triggered: "triggered";
|
|
20
|
+
unchanged: "unchanged";
|
|
21
|
+
updated: "updated";
|
|
22
|
+
}>;
|
|
23
|
+
export type McpMutationReceiptOutcome = z.infer<typeof McpMutationReceiptOutcome>;
|
|
24
|
+
export declare const McpMutationReceiptIdempotencyStatus: z.ZodEnum<{
|
|
25
|
+
applied: "applied";
|
|
26
|
+
not_requested: "not_requested";
|
|
27
|
+
not_supported: "not_supported";
|
|
28
|
+
replayed: "replayed";
|
|
29
|
+
unknown: "unknown";
|
|
30
|
+
}>;
|
|
31
|
+
export type McpMutationReceiptIdempotencyStatus = z.infer<typeof McpMutationReceiptIdempotencyStatus>;
|
|
32
|
+
export declare const McpMutationResource: z.ZodObject<{
|
|
33
|
+
type: z.ZodString;
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
36
|
+
etag: z.ZodOptional<z.ZodString>;
|
|
37
|
+
state: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
export type McpMutationResource = z.infer<typeof McpMutationResource>;
|
|
40
|
+
export declare const McpMutationReceipt: z.ZodObject<{
|
|
41
|
+
receiptVersion: z.ZodLiteral<"mcp-mutation-receipt.v1">;
|
|
42
|
+
operation: z.ZodString;
|
|
43
|
+
committed: z.ZodLiteral<true>;
|
|
44
|
+
outcome: z.ZodEnum<{
|
|
45
|
+
accepted: "accepted";
|
|
46
|
+
created: "created";
|
|
47
|
+
deleted: "deleted";
|
|
48
|
+
partial_failure: "partial_failure";
|
|
49
|
+
repaired: "repaired";
|
|
50
|
+
replayed: "replayed";
|
|
51
|
+
triggered: "triggered";
|
|
52
|
+
unchanged: "unchanged";
|
|
53
|
+
updated: "updated";
|
|
54
|
+
}>;
|
|
55
|
+
changed: z.ZodBoolean;
|
|
56
|
+
resource: z.ZodObject<{
|
|
57
|
+
type: z.ZodString;
|
|
58
|
+
id: z.ZodString;
|
|
59
|
+
version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
60
|
+
etag: z.ZodOptional<z.ZodString>;
|
|
61
|
+
state: z.ZodOptional<z.ZodString>;
|
|
62
|
+
}, z.core.$strict>;
|
|
63
|
+
relatedResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
64
|
+
type: z.ZodString;
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
67
|
+
etag: z.ZodOptional<z.ZodString>;
|
|
68
|
+
state: z.ZodOptional<z.ZodString>;
|
|
69
|
+
}, z.core.$strict>>>;
|
|
70
|
+
timestamp: z.ZodString;
|
|
71
|
+
idempotency: z.ZodObject<{
|
|
72
|
+
status: z.ZodEnum<{
|
|
73
|
+
applied: "applied";
|
|
74
|
+
not_requested: "not_requested";
|
|
75
|
+
not_supported: "not_supported";
|
|
76
|
+
replayed: "replayed";
|
|
77
|
+
unknown: "unknown";
|
|
78
|
+
}>;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
partialFailure: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
stage: z.ZodString;
|
|
82
|
+
retryable: z.ZodBoolean;
|
|
83
|
+
}, z.core.$strict>>;
|
|
84
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
85
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
86
|
+
tool: z.ZodString;
|
|
87
|
+
arguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
88
|
+
}, z.core.$strict>>;
|
|
89
|
+
facts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
90
|
+
id: z.ZodOptional<z.ZodString>;
|
|
91
|
+
rootSessionId: z.ZodOptional<z.ZodString>;
|
|
92
|
+
nestedAgentDepth: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
effectiveMaxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
updateId: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
export type McpMutationReceipt = z.infer<typeof McpMutationReceipt>;
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const MemorySlackImportance: z.ZodEnum<{
|
|
3
|
+
major: "major";
|
|
4
|
+
minor: "minor";
|
|
5
|
+
normal: "normal";
|
|
6
|
+
}>;
|
|
7
|
+
export type MemorySlackImportance = z.infer<typeof MemorySlackImportance>;
|
|
8
|
+
export declare const MemorySlackRequestedMode: z.ZodEnum<{
|
|
9
|
+
auto: "auto";
|
|
10
|
+
never: "never";
|
|
11
|
+
review: "review";
|
|
12
|
+
}>;
|
|
13
|
+
export type MemorySlackRequestedMode = z.infer<typeof MemorySlackRequestedMode>;
|
|
14
|
+
export declare const MemorySlackPublicationDistribution: z.ZodObject<{
|
|
15
|
+
importance: z.ZodEnum<{
|
|
16
|
+
major: "major";
|
|
17
|
+
minor: "minor";
|
|
18
|
+
normal: "normal";
|
|
19
|
+
}>;
|
|
20
|
+
audience: z.ZodLiteral<"workspace">;
|
|
21
|
+
slackMode: z.ZodEnum<{
|
|
22
|
+
auto: "auto";
|
|
23
|
+
never: "never";
|
|
24
|
+
review: "review";
|
|
25
|
+
}>;
|
|
26
|
+
shareSummary: z.ZodString;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
export type MemorySlackPublicationDistribution = z.infer<typeof MemorySlackPublicationDistribution>;
|
|
29
|
+
export declare const MemorySlackPublicationConfiguration: z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
workspaceId: z.ZodString;
|
|
32
|
+
revision: z.ZodNumber;
|
|
33
|
+
enabled: z.ZodBoolean;
|
|
34
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
35
|
+
slackTeamId: z.ZodNullable<z.ZodString>;
|
|
36
|
+
slackChannelId: z.ZodNullable<z.ZodString>;
|
|
37
|
+
slackChannelName: z.ZodNullable<z.ZodString>;
|
|
38
|
+
autoImportances: z.ZodArray<z.ZodEnum<{
|
|
39
|
+
major: "major";
|
|
40
|
+
minor: "minor";
|
|
41
|
+
normal: "normal";
|
|
42
|
+
}>>;
|
|
43
|
+
reviewImportances: z.ZodArray<z.ZodEnum<{
|
|
44
|
+
major: "major";
|
|
45
|
+
minor: "minor";
|
|
46
|
+
normal: "normal";
|
|
47
|
+
}>>;
|
|
48
|
+
createdBySubjectId: z.ZodString;
|
|
49
|
+
createdAt: z.ZodString;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
export type MemorySlackPublicationConfiguration = z.infer<typeof MemorySlackPublicationConfiguration>;
|
|
52
|
+
export declare const UpdateMemorySlackPublicationConfigurationRequest: z.ZodObject<{
|
|
53
|
+
expectedRevision: z.ZodNumber;
|
|
54
|
+
enabled: z.ZodBoolean;
|
|
55
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
56
|
+
slackChannelId: z.ZodNullable<z.ZodString>;
|
|
57
|
+
slackChannelName: z.ZodNullable<z.ZodString>;
|
|
58
|
+
autoImportances: z.ZodArray<z.ZodEnum<{
|
|
59
|
+
major: "major";
|
|
60
|
+
minor: "minor";
|
|
61
|
+
normal: "normal";
|
|
62
|
+
}>>;
|
|
63
|
+
reviewImportances: z.ZodArray<z.ZodEnum<{
|
|
64
|
+
major: "major";
|
|
65
|
+
minor: "minor";
|
|
66
|
+
normal: "normal";
|
|
67
|
+
}>>;
|
|
68
|
+
}, z.core.$strict>;
|
|
69
|
+
export type UpdateMemorySlackPublicationConfigurationRequest = z.infer<typeof UpdateMemorySlackPublicationConfigurationRequest>;
|
|
70
|
+
export declare const MemorySlackPublicationConfigurationResponse: z.ZodObject<{
|
|
71
|
+
current: z.ZodNullable<z.ZodObject<{
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
workspaceId: z.ZodString;
|
|
74
|
+
revision: z.ZodNumber;
|
|
75
|
+
enabled: z.ZodBoolean;
|
|
76
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
77
|
+
slackTeamId: z.ZodNullable<z.ZodString>;
|
|
78
|
+
slackChannelId: z.ZodNullable<z.ZodString>;
|
|
79
|
+
slackChannelName: z.ZodNullable<z.ZodString>;
|
|
80
|
+
autoImportances: z.ZodArray<z.ZodEnum<{
|
|
81
|
+
major: "major";
|
|
82
|
+
minor: "minor";
|
|
83
|
+
normal: "normal";
|
|
84
|
+
}>>;
|
|
85
|
+
reviewImportances: z.ZodArray<z.ZodEnum<{
|
|
86
|
+
major: "major";
|
|
87
|
+
minor: "minor";
|
|
88
|
+
normal: "normal";
|
|
89
|
+
}>>;
|
|
90
|
+
createdBySubjectId: z.ZodString;
|
|
91
|
+
createdAt: z.ZodString;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
history: z.ZodArray<z.ZodObject<{
|
|
94
|
+
id: z.ZodString;
|
|
95
|
+
workspaceId: z.ZodString;
|
|
96
|
+
revision: z.ZodNumber;
|
|
97
|
+
enabled: z.ZodBoolean;
|
|
98
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
99
|
+
slackTeamId: z.ZodNullable<z.ZodString>;
|
|
100
|
+
slackChannelId: z.ZodNullable<z.ZodString>;
|
|
101
|
+
slackChannelName: z.ZodNullable<z.ZodString>;
|
|
102
|
+
autoImportances: z.ZodArray<z.ZodEnum<{
|
|
103
|
+
major: "major";
|
|
104
|
+
minor: "minor";
|
|
105
|
+
normal: "normal";
|
|
106
|
+
}>>;
|
|
107
|
+
reviewImportances: z.ZodArray<z.ZodEnum<{
|
|
108
|
+
major: "major";
|
|
109
|
+
minor: "minor";
|
|
110
|
+
normal: "normal";
|
|
111
|
+
}>>;
|
|
112
|
+
createdBySubjectId: z.ZodString;
|
|
113
|
+
createdAt: z.ZodString;
|
|
114
|
+
}, z.core.$strip>>;
|
|
115
|
+
}, z.core.$strip>;
|
|
116
|
+
export type MemorySlackPublicationConfigurationResponse = z.infer<typeof MemorySlackPublicationConfigurationResponse>;
|
|
117
|
+
export declare const MemorySlackPublicationState: z.ZodEnum<{
|
|
118
|
+
cancelled: "cancelled";
|
|
119
|
+
delivered: "delivered";
|
|
120
|
+
delivering: "delivering";
|
|
121
|
+
failed: "failed";
|
|
122
|
+
queued: "queued";
|
|
123
|
+
rejected: "rejected";
|
|
124
|
+
retry_wait: "retry_wait";
|
|
125
|
+
review_pending: "review_pending";
|
|
126
|
+
}>;
|
|
127
|
+
export type MemorySlackPublicationState = z.infer<typeof MemorySlackPublicationState>;
|
|
128
|
+
export declare const MemorySlackPublicationReceiptKind: z.ZodEnum<{
|
|
129
|
+
cancelled: "cancelled";
|
|
130
|
+
delivered: "delivered";
|
|
131
|
+
delivery_claimed: "delivery_claimed";
|
|
132
|
+
enqueued: "enqueued";
|
|
133
|
+
failed: "failed";
|
|
134
|
+
manual_retry: "manual_retry";
|
|
135
|
+
retry_scheduled: "retry_scheduled";
|
|
136
|
+
review_approved: "review_approved";
|
|
137
|
+
review_rejected: "review_rejected";
|
|
138
|
+
}>;
|
|
139
|
+
export type MemorySlackPublicationReceiptKind = z.infer<typeof MemorySlackPublicationReceiptKind>;
|
|
140
|
+
export declare const MemorySlackPublicationReceipt: z.ZodObject<{
|
|
141
|
+
id: z.ZodString;
|
|
142
|
+
publicationId: z.ZodString;
|
|
143
|
+
sequence: z.ZodNumber;
|
|
144
|
+
kind: z.ZodEnum<{
|
|
145
|
+
cancelled: "cancelled";
|
|
146
|
+
delivered: "delivered";
|
|
147
|
+
delivery_claimed: "delivery_claimed";
|
|
148
|
+
enqueued: "enqueued";
|
|
149
|
+
failed: "failed";
|
|
150
|
+
manual_retry: "manual_retry";
|
|
151
|
+
retry_scheduled: "retry_scheduled";
|
|
152
|
+
review_approved: "review_approved";
|
|
153
|
+
review_rejected: "review_rejected";
|
|
154
|
+
}>;
|
|
155
|
+
state: z.ZodEnum<{
|
|
156
|
+
cancelled: "cancelled";
|
|
157
|
+
delivered: "delivered";
|
|
158
|
+
delivering: "delivering";
|
|
159
|
+
failed: "failed";
|
|
160
|
+
queued: "queued";
|
|
161
|
+
rejected: "rejected";
|
|
162
|
+
retry_wait: "retry_wait";
|
|
163
|
+
review_pending: "review_pending";
|
|
164
|
+
}>;
|
|
165
|
+
attemptNumber: z.ZodNumber;
|
|
166
|
+
actorKind: z.ZodEnum<{
|
|
167
|
+
agent: "agent";
|
|
168
|
+
human: "human";
|
|
169
|
+
service: "service";
|
|
170
|
+
}>;
|
|
171
|
+
actorSubjectId: z.ZodString;
|
|
172
|
+
operationId: z.ZodString;
|
|
173
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
174
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
175
|
+
slackChannelId: z.ZodNullable<z.ZodString>;
|
|
176
|
+
slackMessageTimestamp: z.ZodNullable<z.ZodString>;
|
|
177
|
+
createdAt: z.ZodString;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
export type MemorySlackPublicationReceipt = z.infer<typeof MemorySlackPublicationReceipt>;
|
|
180
|
+
export declare const MemorySlackPublication: z.ZodObject<{
|
|
181
|
+
id: z.ZodString;
|
|
182
|
+
workspaceId: z.ZodString;
|
|
183
|
+
configurationRevision: z.ZodNumber;
|
|
184
|
+
connectionId: z.ZodString;
|
|
185
|
+
slackTeamId: z.ZodString;
|
|
186
|
+
slackChannelId: z.ZodString;
|
|
187
|
+
sourceType: z.ZodEnum<{
|
|
188
|
+
durable_learning: "durable_learning";
|
|
189
|
+
workspace_memory: "workspace_memory";
|
|
190
|
+
}>;
|
|
191
|
+
sourceId: z.ZodString;
|
|
192
|
+
sourceVersion: z.ZodNullable<z.ZodString>;
|
|
193
|
+
importance: z.ZodEnum<{
|
|
194
|
+
major: "major";
|
|
195
|
+
minor: "minor";
|
|
196
|
+
normal: "normal";
|
|
197
|
+
}>;
|
|
198
|
+
deliveryMode: z.ZodEnum<{
|
|
199
|
+
auto: "auto";
|
|
200
|
+
review: "review";
|
|
201
|
+
}>;
|
|
202
|
+
state: z.ZodEnum<{
|
|
203
|
+
cancelled: "cancelled";
|
|
204
|
+
delivered: "delivered";
|
|
205
|
+
delivering: "delivering";
|
|
206
|
+
failed: "failed";
|
|
207
|
+
queued: "queued";
|
|
208
|
+
rejected: "rejected";
|
|
209
|
+
retry_wait: "retry_wait";
|
|
210
|
+
review_pending: "review_pending";
|
|
211
|
+
}>;
|
|
212
|
+
summary: z.ZodString;
|
|
213
|
+
sourceLabel: z.ZodString;
|
|
214
|
+
authoritativePath: z.ZodNullable<z.ZodString>;
|
|
215
|
+
initiatorKind: z.ZodEnum<{
|
|
216
|
+
agent: "agent";
|
|
217
|
+
human: "human";
|
|
218
|
+
service: "service";
|
|
219
|
+
}>;
|
|
220
|
+
initiatorSubjectId: z.ZodString;
|
|
221
|
+
initiatingHumanSubjectId: z.ZodNullable<z.ZodString>;
|
|
222
|
+
attemptCount: z.ZodNumber;
|
|
223
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
224
|
+
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
225
|
+
slackMessageTimestamp: z.ZodNullable<z.ZodString>;
|
|
226
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
227
|
+
terminalAt: z.ZodNullable<z.ZodString>;
|
|
228
|
+
createdAt: z.ZodString;
|
|
229
|
+
updatedAt: z.ZodString;
|
|
230
|
+
receipts: z.ZodArray<z.ZodObject<{
|
|
231
|
+
id: z.ZodString;
|
|
232
|
+
publicationId: z.ZodString;
|
|
233
|
+
sequence: z.ZodNumber;
|
|
234
|
+
kind: z.ZodEnum<{
|
|
235
|
+
cancelled: "cancelled";
|
|
236
|
+
delivered: "delivered";
|
|
237
|
+
delivery_claimed: "delivery_claimed";
|
|
238
|
+
enqueued: "enqueued";
|
|
239
|
+
failed: "failed";
|
|
240
|
+
manual_retry: "manual_retry";
|
|
241
|
+
retry_scheduled: "retry_scheduled";
|
|
242
|
+
review_approved: "review_approved";
|
|
243
|
+
review_rejected: "review_rejected";
|
|
244
|
+
}>;
|
|
245
|
+
state: z.ZodEnum<{
|
|
246
|
+
cancelled: "cancelled";
|
|
247
|
+
delivered: "delivered";
|
|
248
|
+
delivering: "delivering";
|
|
249
|
+
failed: "failed";
|
|
250
|
+
queued: "queued";
|
|
251
|
+
rejected: "rejected";
|
|
252
|
+
retry_wait: "retry_wait";
|
|
253
|
+
review_pending: "review_pending";
|
|
254
|
+
}>;
|
|
255
|
+
attemptNumber: z.ZodNumber;
|
|
256
|
+
actorKind: z.ZodEnum<{
|
|
257
|
+
agent: "agent";
|
|
258
|
+
human: "human";
|
|
259
|
+
service: "service";
|
|
260
|
+
}>;
|
|
261
|
+
actorSubjectId: z.ZodString;
|
|
262
|
+
operationId: z.ZodString;
|
|
263
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
264
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
265
|
+
slackChannelId: z.ZodNullable<z.ZodString>;
|
|
266
|
+
slackMessageTimestamp: z.ZodNullable<z.ZodString>;
|
|
267
|
+
createdAt: z.ZodString;
|
|
268
|
+
}, z.core.$strip>>;
|
|
269
|
+
}, z.core.$strip>;
|
|
270
|
+
export type MemorySlackPublication = z.infer<typeof MemorySlackPublication>;
|
|
271
|
+
export declare const MemorySlackPublicationHistoryResponse: z.ZodObject<{
|
|
272
|
+
publications: z.ZodArray<z.ZodObject<{
|
|
273
|
+
id: z.ZodString;
|
|
274
|
+
workspaceId: z.ZodString;
|
|
275
|
+
configurationRevision: z.ZodNumber;
|
|
276
|
+
connectionId: z.ZodString;
|
|
277
|
+
slackTeamId: z.ZodString;
|
|
278
|
+
slackChannelId: z.ZodString;
|
|
279
|
+
sourceType: z.ZodEnum<{
|
|
280
|
+
durable_learning: "durable_learning";
|
|
281
|
+
workspace_memory: "workspace_memory";
|
|
282
|
+
}>;
|
|
283
|
+
sourceId: z.ZodString;
|
|
284
|
+
sourceVersion: z.ZodNullable<z.ZodString>;
|
|
285
|
+
importance: z.ZodEnum<{
|
|
286
|
+
major: "major";
|
|
287
|
+
minor: "minor";
|
|
288
|
+
normal: "normal";
|
|
289
|
+
}>;
|
|
290
|
+
deliveryMode: z.ZodEnum<{
|
|
291
|
+
auto: "auto";
|
|
292
|
+
review: "review";
|
|
293
|
+
}>;
|
|
294
|
+
state: z.ZodEnum<{
|
|
295
|
+
cancelled: "cancelled";
|
|
296
|
+
delivered: "delivered";
|
|
297
|
+
delivering: "delivering";
|
|
298
|
+
failed: "failed";
|
|
299
|
+
queued: "queued";
|
|
300
|
+
rejected: "rejected";
|
|
301
|
+
retry_wait: "retry_wait";
|
|
302
|
+
review_pending: "review_pending";
|
|
303
|
+
}>;
|
|
304
|
+
summary: z.ZodString;
|
|
305
|
+
sourceLabel: z.ZodString;
|
|
306
|
+
authoritativePath: z.ZodNullable<z.ZodString>;
|
|
307
|
+
initiatorKind: z.ZodEnum<{
|
|
308
|
+
agent: "agent";
|
|
309
|
+
human: "human";
|
|
310
|
+
service: "service";
|
|
311
|
+
}>;
|
|
312
|
+
initiatorSubjectId: z.ZodString;
|
|
313
|
+
initiatingHumanSubjectId: z.ZodNullable<z.ZodString>;
|
|
314
|
+
attemptCount: z.ZodNumber;
|
|
315
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
316
|
+
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
317
|
+
slackMessageTimestamp: z.ZodNullable<z.ZodString>;
|
|
318
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
319
|
+
terminalAt: z.ZodNullable<z.ZodString>;
|
|
320
|
+
createdAt: z.ZodString;
|
|
321
|
+
updatedAt: z.ZodString;
|
|
322
|
+
receipts: z.ZodArray<z.ZodObject<{
|
|
323
|
+
id: z.ZodString;
|
|
324
|
+
publicationId: z.ZodString;
|
|
325
|
+
sequence: z.ZodNumber;
|
|
326
|
+
kind: z.ZodEnum<{
|
|
327
|
+
cancelled: "cancelled";
|
|
328
|
+
delivered: "delivered";
|
|
329
|
+
delivery_claimed: "delivery_claimed";
|
|
330
|
+
enqueued: "enqueued";
|
|
331
|
+
failed: "failed";
|
|
332
|
+
manual_retry: "manual_retry";
|
|
333
|
+
retry_scheduled: "retry_scheduled";
|
|
334
|
+
review_approved: "review_approved";
|
|
335
|
+
review_rejected: "review_rejected";
|
|
336
|
+
}>;
|
|
337
|
+
state: z.ZodEnum<{
|
|
338
|
+
cancelled: "cancelled";
|
|
339
|
+
delivered: "delivered";
|
|
340
|
+
delivering: "delivering";
|
|
341
|
+
failed: "failed";
|
|
342
|
+
queued: "queued";
|
|
343
|
+
rejected: "rejected";
|
|
344
|
+
retry_wait: "retry_wait";
|
|
345
|
+
review_pending: "review_pending";
|
|
346
|
+
}>;
|
|
347
|
+
attemptNumber: z.ZodNumber;
|
|
348
|
+
actorKind: z.ZodEnum<{
|
|
349
|
+
agent: "agent";
|
|
350
|
+
human: "human";
|
|
351
|
+
service: "service";
|
|
352
|
+
}>;
|
|
353
|
+
actorSubjectId: z.ZodString;
|
|
354
|
+
operationId: z.ZodString;
|
|
355
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
356
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
357
|
+
slackChannelId: z.ZodNullable<z.ZodString>;
|
|
358
|
+
slackMessageTimestamp: z.ZodNullable<z.ZodString>;
|
|
359
|
+
createdAt: z.ZodString;
|
|
360
|
+
}, z.core.$strip>>;
|
|
361
|
+
}, z.core.$strip>>;
|
|
362
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
363
|
+
}, z.core.$strip>;
|
|
364
|
+
export type MemorySlackPublicationHistoryResponse = z.infer<typeof MemorySlackPublicationHistoryResponse>;
|
|
365
|
+
export declare const MemorySlackPublicationActionRequest: z.ZodObject<{
|
|
366
|
+
action: z.ZodEnum<{
|
|
367
|
+
approve: "approve";
|
|
368
|
+
reject: "reject";
|
|
369
|
+
retry: "retry";
|
|
370
|
+
}>;
|
|
371
|
+
expectedState: z.ZodEnum<{
|
|
372
|
+
cancelled: "cancelled";
|
|
373
|
+
delivered: "delivered";
|
|
374
|
+
delivering: "delivering";
|
|
375
|
+
failed: "failed";
|
|
376
|
+
queued: "queued";
|
|
377
|
+
rejected: "rejected";
|
|
378
|
+
retry_wait: "retry_wait";
|
|
379
|
+
review_pending: "review_pending";
|
|
380
|
+
}>;
|
|
381
|
+
}, z.core.$strict>;
|
|
382
|
+
export type MemorySlackPublicationActionRequest = z.infer<typeof MemorySlackPublicationActionRequest>;
|
|
383
|
+
export declare const SlackPublicationChannel: z.ZodObject<{
|
|
384
|
+
id: z.ZodString;
|
|
385
|
+
name: z.ZodNullable<z.ZodString>;
|
|
386
|
+
isPrivate: z.ZodBoolean;
|
|
387
|
+
}, z.core.$strip>;
|
|
388
|
+
export type SlackPublicationChannel = z.infer<typeof SlackPublicationChannel>;
|
|
389
|
+
export declare const SlackPublicationChannelListResponse: z.ZodObject<{
|
|
390
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
391
|
+
id: z.ZodString;
|
|
392
|
+
name: z.ZodNullable<z.ZodString>;
|
|
393
|
+
isPrivate: z.ZodBoolean;
|
|
394
|
+
}, z.core.$strip>>;
|
|
395
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
396
|
+
}, z.core.$strip>;
|
|
397
|
+
export type SlackPublicationChannelListResponse = z.infer<typeof SlackPublicationChannelListResponse>;
|