@opengeni/contracts 3.1.0-canary.2 → 4.0.0-canary.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.
@@ -2,7 +2,6 @@ import { z } from "zod";
2
2
  export declare const AgentInstructionEditMode: z.ZodEnum<{
3
3
  append: "append";
4
4
  edit: "edit";
5
- replace: "replace";
6
5
  }>;
7
6
  export type AgentInstructionEditMode = z.infer<typeof AgentInstructionEditMode>;
8
7
  export declare const AgentInstructionSaveRequest: z.ZodObject<{
@@ -21,7 +20,6 @@ export declare const AgentInstructionSaveRequest: z.ZodObject<{
21
20
  editMode: z.ZodEnum<{
22
21
  append: "append";
23
22
  edit: "edit";
24
- replace: "replace";
25
23
  }>;
26
24
  content: z.ZodOptional<z.ZodString>;
27
25
  oldText: z.ZodOptional<z.ZodString>;
@@ -0,0 +1,159 @@
1
+ import { z } from "zod";
2
+ export declare const ArtifactCatalogKind: z.ZodEnum<{
3
+ document: "document";
4
+ file: "file";
5
+ image: "image";
6
+ presentation: "presentation";
7
+ site: "site";
8
+ spreadsheet: "spreadsheet";
9
+ }>;
10
+ export type ArtifactCatalogKind = z.infer<typeof ArtifactCatalogKind>;
11
+ /** Metadata only: native domain IDs, never content, storage keys or credentials. */
12
+ export declare const ArtifactCatalogItem: z.ZodObject<{
13
+ id: z.ZodString;
14
+ kind: z.ZodEnum<{
15
+ document: "document";
16
+ file: "file";
17
+ image: "image";
18
+ presentation: "presentation";
19
+ site: "site";
20
+ spreadsheet: "spreadsheet";
21
+ }>;
22
+ title: z.ZodString;
23
+ createdAt: z.ZodString;
24
+ updatedAt: z.ZodString;
25
+ status: z.ZodEnum<{
26
+ active: "active";
27
+ archived: "archived";
28
+ }>;
29
+ sourceSessionId: z.ZodOptional<z.ZodString>;
30
+ versionId: z.ZodOptional<z.ZodString>;
31
+ file: z.ZodOptional<z.ZodObject<{
32
+ available: z.ZodLiteral<true>;
33
+ artifactId: z.ZodString;
34
+ kind: z.ZodEnum<{
35
+ assistant_completion: "assistant_completion";
36
+ computer_screenshot: "computer_screenshot";
37
+ event_media: "event_media";
38
+ file: "file";
39
+ generated_image: "generated_image";
40
+ generated_video: "generated_video";
41
+ internal_update: "internal_update";
42
+ tool_result: "tool_result";
43
+ }>;
44
+ contentType: z.ZodString;
45
+ originalBytes: z.ZodNumber;
46
+ sha256: z.ZodString;
47
+ retainedAt: z.ZodString;
48
+ dimensions: z.ZodOptional<z.ZodObject<{
49
+ width: z.ZodNumber;
50
+ height: z.ZodNumber;
51
+ }, z.core.$strict>>;
52
+ retention: z.ZodUnion<readonly [z.ZodObject<{
53
+ policy: z.ZodLiteral<"workspace_file">;
54
+ expiresAt: z.ZodNull;
55
+ }, z.core.$strict>, z.ZodObject<{
56
+ policy: z.ZodLiteral<"session_screenshot">;
57
+ expiresAt: z.ZodString;
58
+ }, z.core.$strict>]>;
59
+ retrieval: z.ZodObject<{
60
+ method: z.ZodLiteral<"GET">;
61
+ path: z.ZodString;
62
+ acceptRanges: z.ZodLiteral<"bytes">;
63
+ maxRangeBytes: z.ZodNumber;
64
+ }, z.core.$strict>;
65
+ }, z.core.$strict>>;
66
+ filename: z.ZodOptional<z.ZodString>;
67
+ contentType: z.ZodOptional<z.ZodString>;
68
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
69
+ }, z.core.$strict>;
70
+ export type ArtifactCatalogItem = z.infer<typeof ArtifactCatalogItem>;
71
+ export declare const ArtifactCatalogListQuery: z.ZodObject<{
72
+ sourceSessionId: z.ZodOptional<z.ZodString>;
73
+ q: z.ZodOptional<z.ZodString>;
74
+ kind: z.ZodOptional<z.ZodEnum<{
75
+ document: "document";
76
+ file: "file";
77
+ image: "image";
78
+ presentation: "presentation";
79
+ site: "site";
80
+ spreadsheet: "spreadsheet";
81
+ }>>;
82
+ sort: z.ZodDefault<z.ZodEnum<{
83
+ newest: "newest";
84
+ title: "title";
85
+ updated: "updated";
86
+ }>>;
87
+ status: z.ZodDefault<z.ZodEnum<{
88
+ active: "active";
89
+ archived: "archived";
90
+ }>>;
91
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
92
+ cursor: z.ZodOptional<z.ZodString>;
93
+ }, z.core.$strict>;
94
+ export type ArtifactCatalogListQuery = z.infer<typeof ArtifactCatalogListQuery>;
95
+ export type ArtifactCatalogListOptions = Omit<z.input<typeof ArtifactCatalogListQuery>, "limit"> & {
96
+ limit?: number;
97
+ };
98
+ export declare const ArtifactCatalogListResponse: z.ZodObject<{
99
+ items: z.ZodArray<z.ZodObject<{
100
+ id: z.ZodString;
101
+ kind: z.ZodEnum<{
102
+ document: "document";
103
+ file: "file";
104
+ image: "image";
105
+ presentation: "presentation";
106
+ site: "site";
107
+ spreadsheet: "spreadsheet";
108
+ }>;
109
+ title: z.ZodString;
110
+ createdAt: z.ZodString;
111
+ updatedAt: z.ZodString;
112
+ status: z.ZodEnum<{
113
+ active: "active";
114
+ archived: "archived";
115
+ }>;
116
+ sourceSessionId: z.ZodOptional<z.ZodString>;
117
+ versionId: z.ZodOptional<z.ZodString>;
118
+ file: z.ZodOptional<z.ZodObject<{
119
+ available: z.ZodLiteral<true>;
120
+ artifactId: z.ZodString;
121
+ kind: z.ZodEnum<{
122
+ assistant_completion: "assistant_completion";
123
+ computer_screenshot: "computer_screenshot";
124
+ event_media: "event_media";
125
+ file: "file";
126
+ generated_image: "generated_image";
127
+ generated_video: "generated_video";
128
+ internal_update: "internal_update";
129
+ tool_result: "tool_result";
130
+ }>;
131
+ contentType: z.ZodString;
132
+ originalBytes: z.ZodNumber;
133
+ sha256: z.ZodString;
134
+ retainedAt: z.ZodString;
135
+ dimensions: z.ZodOptional<z.ZodObject<{
136
+ width: z.ZodNumber;
137
+ height: z.ZodNumber;
138
+ }, z.core.$strict>>;
139
+ retention: z.ZodUnion<readonly [z.ZodObject<{
140
+ policy: z.ZodLiteral<"workspace_file">;
141
+ expiresAt: z.ZodNull;
142
+ }, z.core.$strict>, z.ZodObject<{
143
+ policy: z.ZodLiteral<"session_screenshot">;
144
+ expiresAt: z.ZodString;
145
+ }, z.core.$strict>]>;
146
+ retrieval: z.ZodObject<{
147
+ method: z.ZodLiteral<"GET">;
148
+ path: z.ZodString;
149
+ acceptRanges: z.ZodLiteral<"bytes">;
150
+ maxRangeBytes: z.ZodNumber;
151
+ }, z.core.$strict>;
152
+ }, z.core.$strict>>;
153
+ filename: z.ZodOptional<z.ZodString>;
154
+ contentType: z.ZodOptional<z.ZodString>;
155
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
156
+ }, z.core.$strict>>;
157
+ nextCursor: z.ZodNullable<z.ZodString>;
158
+ }, z.core.$strict>;
159
+ export type ArtifactCatalogListResponse = z.infer<typeof ArtifactCatalogListResponse>;
package/dist/atlassian.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  AtlassianSyncCadence,
18
18
  SaveAtlassianSourcesRequest,
19
19
  atlassianScopesAllowRead
20
- } from "./chunk-QQUJ6NPW.js";
20
+ } from "./chunk-HR6NB3CA.js";
21
21
  import "./chunk-YBW5JSA3.js";
22
22
  import "./chunk-O5LEQHDM.js";
23
23
  import "./chunk-GRG7PHWQ.js";