@cadenya/cadenya 0.66.0 → 0.67.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.
- package/CHANGELOG.md +8 -0
- package/README.md +2 -2
- package/client.d.mts +18 -18
- package/client.d.mts.map +1 -1
- package/client.d.ts +18 -18
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents/agents.d.mts +28 -11
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +28 -11
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +16 -10
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +16 -10
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/feedback.d.mts +14 -9
- package/resources/agents/feedback.d.mts.map +1 -1
- package/resources/agents/feedback.d.ts +14 -9
- package/resources/agents/feedback.d.ts.map +1 -1
- package/resources/agents/feedback.js +3 -2
- package/resources/agents/feedback.js.map +1 -1
- package/resources/agents/feedback.mjs +3 -2
- package/resources/agents/feedback.mjs.map +1 -1
- package/resources/agents/index.d.mts +1 -1
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +1 -1
- package/resources/agents/index.d.ts.map +1 -1
- package/resources/agents/index.js.map +1 -1
- package/resources/agents/index.mjs.map +1 -1
- package/resources/agents/schedules.d.mts +32 -11
- package/resources/agents/schedules.d.mts.map +1 -1
- package/resources/agents/schedules.d.ts +32 -11
- package/resources/agents/schedules.d.ts.map +1 -1
- package/resources/agents/schedules.js +18 -13
- package/resources/agents/schedules.js.map +1 -1
- package/resources/agents/schedules.mjs +18 -13
- package/resources/agents/schedules.mjs.map +1 -1
- package/resources/agents/variations.d.mts +51 -9
- package/resources/agents/variations.d.mts.map +1 -1
- package/resources/agents/variations.d.ts +51 -9
- package/resources/agents/variations.d.ts.map +1 -1
- package/resources/agents/variations.js +28 -32
- package/resources/agents/variations.js.map +1 -1
- package/resources/agents/variations.mjs +28 -32
- package/resources/agents/variations.mjs.map +1 -1
- package/resources/agents/webhook-deliveries.d.mts +7 -3
- package/resources/agents/webhook-deliveries.d.mts.map +1 -1
- package/resources/agents/webhook-deliveries.d.ts +7 -3
- package/resources/agents/webhook-deliveries.d.ts.map +1 -1
- package/resources/agents/webhook-deliveries.js +3 -2
- package/resources/agents/webhook-deliveries.js.map +1 -1
- package/resources/agents/webhook-deliveries.mjs +3 -2
- package/resources/agents/webhook-deliveries.mjs.map +1 -1
- package/resources/api-keys.d.mts +35 -12
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +35 -12
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/api-keys.js +19 -12
- package/resources/api-keys.js.map +1 -1
- package/resources/api-keys.mjs +19 -12
- package/resources/api-keys.mjs.map +1 -1
- package/resources/bulk-workspace-resources/bulk-workspace-resources.d.mts +10 -4
- package/resources/bulk-workspace-resources/bulk-workspace-resources.d.mts.map +1 -1
- package/resources/bulk-workspace-resources/bulk-workspace-resources.d.ts +10 -4
- package/resources/bulk-workspace-resources/bulk-workspace-resources.d.ts.map +1 -1
- package/resources/bulk-workspace-resources/bulk-workspace-resources.js +10 -9
- package/resources/bulk-workspace-resources/bulk-workspace-resources.js.map +1 -1
- package/resources/bulk-workspace-resources/bulk-workspace-resources.mjs +10 -9
- package/resources/bulk-workspace-resources/bulk-workspace-resources.mjs.map +1 -1
- package/resources/bulk-workspace-resources/index.d.mts +1 -1
- package/resources/bulk-workspace-resources/index.d.mts.map +1 -1
- package/resources/bulk-workspace-resources/index.d.ts +1 -1
- package/resources/bulk-workspace-resources/index.d.ts.map +1 -1
- package/resources/bulk-workspace-resources/index.js.map +1 -1
- package/resources/bulk-workspace-resources/index.mjs.map +1 -1
- package/resources/bulk-workspace-resources/results.d.mts +8 -4
- package/resources/bulk-workspace-resources/results.d.mts.map +1 -1
- package/resources/bulk-workspace-resources/results.d.ts +8 -4
- package/resources/bulk-workspace-resources/results.d.ts.map +1 -1
- package/resources/bulk-workspace-resources/results.js +3 -2
- package/resources/bulk-workspace-resources/results.js.map +1 -1
- package/resources/bulk-workspace-resources/results.mjs +3 -2
- package/resources/bulk-workspace-resources/results.mjs.map +1 -1
- package/resources/index.d.mts +9 -9
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/memory-layers/entries.d.mts +35 -14
- package/resources/memory-layers/entries.d.mts.map +1 -1
- package/resources/memory-layers/entries.d.ts +35 -14
- package/resources/memory-layers/entries.d.ts.map +1 -1
- package/resources/memory-layers/entries.js +15 -13
- package/resources/memory-layers/entries.js.map +1 -1
- package/resources/memory-layers/entries.mjs +15 -13
- package/resources/memory-layers/entries.mjs.map +1 -1
- package/resources/memory-layers/index.d.mts +1 -1
- package/resources/memory-layers/index.d.mts.map +1 -1
- package/resources/memory-layers/index.d.ts +1 -1
- package/resources/memory-layers/index.d.ts.map +1 -1
- package/resources/memory-layers/index.js.map +1 -1
- package/resources/memory-layers/index.mjs.map +1 -1
- package/resources/memory-layers/memory-layers.d.mts +32 -9
- package/resources/memory-layers/memory-layers.d.mts.map +1 -1
- package/resources/memory-layers/memory-layers.d.ts +32 -9
- package/resources/memory-layers/memory-layers.d.ts.map +1 -1
- package/resources/memory-layers/memory-layers.js +13 -10
- package/resources/memory-layers/memory-layers.js.map +1 -1
- package/resources/memory-layers/memory-layers.mjs +13 -10
- package/resources/memory-layers/memory-layers.mjs.map +1 -1
- package/resources/models.d.mts +15 -5
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +15 -5
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +11 -6
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +11 -6
- package/resources/models.mjs.map +1 -1
- package/resources/objectives/feedback.d.mts +16 -5
- package/resources/objectives/feedback.d.mts.map +1 -1
- package/resources/objectives/feedback.d.ts +16 -5
- package/resources/objectives/feedback.d.ts.map +1 -1
- package/resources/objectives/feedback.js +9 -4
- package/resources/objectives/feedback.js.map +1 -1
- package/resources/objectives/feedback.mjs +9 -4
- package/resources/objectives/feedback.mjs.map +1 -1
- package/resources/objectives/index.d.mts +1 -1
- package/resources/objectives/index.d.mts.map +1 -1
- package/resources/objectives/index.d.ts +1 -1
- package/resources/objectives/index.d.ts.map +1 -1
- package/resources/objectives/index.js.map +1 -1
- package/resources/objectives/index.mjs.map +1 -1
- package/resources/objectives/objectives.d.mts +49 -21
- package/resources/objectives/objectives.d.mts.map +1 -1
- package/resources/objectives/objectives.d.ts +49 -21
- package/resources/objectives/objectives.d.ts.map +1 -1
- package/resources/objectives/objectives.js +31 -16
- package/resources/objectives/objectives.js.map +1 -1
- package/resources/objectives/objectives.mjs +31 -16
- package/resources/objectives/objectives.mjs.map +1 -1
- package/resources/objectives/tasks.d.mts +10 -2
- package/resources/objectives/tasks.d.mts.map +1 -1
- package/resources/objectives/tasks.d.ts +10 -2
- package/resources/objectives/tasks.d.ts.map +1 -1
- package/resources/objectives/tasks.js +5 -4
- package/resources/objectives/tasks.js.map +1 -1
- package/resources/objectives/tasks.mjs +5 -4
- package/resources/objectives/tasks.mjs.map +1 -1
- package/resources/objectives/tool-calls.d.mts +15 -3
- package/resources/objectives/tool-calls.d.mts.map +1 -1
- package/resources/objectives/tool-calls.d.ts +15 -3
- package/resources/objectives/tool-calls.d.ts.map +1 -1
- package/resources/objectives/tool-calls.js +7 -12
- package/resources/objectives/tool-calls.js.map +1 -1
- package/resources/objectives/tool-calls.mjs +7 -12
- package/resources/objectives/tool-calls.mjs.map +1 -1
- package/resources/objectives/tools.d.mts +5 -1
- package/resources/objectives/tools.d.mts.map +1 -1
- package/resources/objectives/tools.d.ts +5 -1
- package/resources/objectives/tools.d.ts.map +1 -1
- package/resources/objectives/tools.js +3 -2
- package/resources/objectives/tools.js.map +1 -1
- package/resources/objectives/tools.mjs +3 -2
- package/resources/objectives/tools.mjs.map +1 -1
- package/resources/search.d.mts +1 -1
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts +1 -1
- package/resources/search.d.ts.map +1 -1
- package/resources/search.js +6 -2
- package/resources/search.js.map +1 -1
- package/resources/search.mjs +6 -2
- package/resources/search.mjs.map +1 -1
- package/resources/tool-sets/index.d.mts +1 -1
- package/resources/tool-sets/index.d.mts.map +1 -1
- package/resources/tool-sets/index.d.ts +1 -1
- package/resources/tool-sets/index.d.ts.map +1 -1
- package/resources/tool-sets/index.js.map +1 -1
- package/resources/tool-sets/index.mjs.map +1 -1
- package/resources/tool-sets/tool-sets.d.mts +39 -12
- package/resources/tool-sets/tool-sets.d.mts.map +1 -1
- package/resources/tool-sets/tool-sets.d.ts +39 -12
- package/resources/tool-sets/tool-sets.d.ts.map +1 -1
- package/resources/tool-sets/tool-sets.js +19 -15
- package/resources/tool-sets/tool-sets.js.map +1 -1
- package/resources/tool-sets/tool-sets.mjs +19 -15
- package/resources/tool-sets/tool-sets.mjs.map +1 -1
- package/resources/tool-sets/tools.d.mts +39 -14
- package/resources/tool-sets/tools.d.mts.map +1 -1
- package/resources/tool-sets/tools.d.ts +39 -14
- package/resources/tool-sets/tools.d.ts.map +1 -1
- package/resources/tool-sets/tools.js +18 -13
- package/resources/tool-sets/tools.js.map +1 -1
- package/resources/tool-sets/tools.mjs +18 -13
- package/resources/tool-sets/tools.mjs.map +1 -1
- package/resources/uploads.d.mts +9 -3
- package/resources/uploads.d.mts.map +1 -1
- package/resources/uploads.d.ts +9 -3
- package/resources/uploads.d.ts.map +1 -1
- package/resources/uploads.js +5 -4
- package/resources/uploads.js.map +1 -1
- package/resources/uploads.mjs +5 -4
- package/resources/uploads.mjs.map +1 -1
- package/resources/workspace-secrets.d.mts +30 -10
- package/resources/workspace-secrets.d.mts.map +1 -1
- package/resources/workspace-secrets.d.ts +30 -10
- package/resources/workspace-secrets.d.ts.map +1 -1
- package/resources/workspace-secrets.js +16 -13
- package/resources/workspace-secrets.js.map +1 -1
- package/resources/workspace-secrets.mjs +16 -13
- package/resources/workspace-secrets.mjs.map +1 -1
- package/src/client.ts +30 -0
- package/src/resources/agents/agents.ts +43 -14
- package/src/resources/agents/feedback.ts +17 -10
- package/src/resources/agents/index.ts +2 -0
- package/src/resources/agents/schedules.ts +57 -22
- package/src/resources/agents/variations.ts +104 -39
- package/src/resources/agents/webhook-deliveries.ts +10 -4
- package/src/resources/api-keys.ts +54 -16
- package/src/resources/bulk-workspace-resources/bulk-workspace-resources.ts +30 -8
- package/src/resources/bulk-workspace-resources/index.ts +1 -0
- package/src/resources/bulk-workspace-resources/results.ts +11 -5
- package/src/resources/index.ts +22 -1
- package/src/resources/memory-layers/entries.ts +62 -25
- package/src/resources/memory-layers/index.ts +2 -0
- package/src/resources/memory-layers/memory-layers.ts +52 -12
- package/src/resources/models.ts +25 -6
- package/src/resources/objectives/feedback.ts +26 -8
- package/src/resources/objectives/index.ts +1 -0
- package/src/resources/objectives/objectives.ts +86 -27
- package/src/resources/objectives/tasks.ts +19 -5
- package/src/resources/objectives/tool-calls.ts +30 -14
- package/src/resources/objectives/tools.ts +9 -3
- package/src/resources/search.ts +6 -1
- package/src/resources/tool-sets/index.ts +2 -0
- package/src/resources/tool-sets/tool-sets.ts +61 -19
- package/src/resources/tool-sets/tools.ts +64 -25
- package/src/resources/uploads.ts +13 -4
- package/src/resources/workspace-secrets.ts +57 -16
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -13,8 +13,16 @@ export class Variations extends APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* Creates a new variation for an agent
|
|
15
15
|
*/
|
|
16
|
-
create(
|
|
17
|
-
|
|
16
|
+
create(
|
|
17
|
+
agentID: string,
|
|
18
|
+
params: VariationCreateParams,
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): APIPromise<AgentVariation> {
|
|
21
|
+
const { workspaceId, ...body } = params;
|
|
22
|
+
return this._client.post(path`/v1/workspaces/${workspaceId}/agents/${agentID}/variations`, {
|
|
23
|
+
body,
|
|
24
|
+
...options,
|
|
25
|
+
});
|
|
18
26
|
}
|
|
19
27
|
|
|
20
28
|
/**
|
|
@@ -25,16 +33,19 @@ export class Variations extends APIResource {
|
|
|
25
33
|
params: VariationRetrieveParams,
|
|
26
34
|
options?: RequestOptions,
|
|
27
35
|
): APIPromise<AgentVariation> {
|
|
28
|
-
const { agentId } = params;
|
|
29
|
-
return this._client.get(path`/v1/agents/${agentId}/variations/${id}`, options);
|
|
36
|
+
const { workspaceId, agentId } = params;
|
|
37
|
+
return this._client.get(path`/v1/workspaces/${workspaceId}/agents/${agentId}/variations/${id}`, options);
|
|
30
38
|
}
|
|
31
39
|
|
|
32
40
|
/**
|
|
33
41
|
* Updates a variation for an agent
|
|
34
42
|
*/
|
|
35
43
|
update(id: string, params: VariationUpdateParams, options?: RequestOptions): APIPromise<AgentVariation> {
|
|
36
|
-
const { agentId, ...body } = params;
|
|
37
|
-
return this._client.patch(path`/v1/agents/${agentId}/variations/${id}`, {
|
|
44
|
+
const { workspaceId, agentId, ...body } = params;
|
|
45
|
+
return this._client.patch(path`/v1/workspaces/${workspaceId}/agents/${agentId}/variations/${id}`, {
|
|
46
|
+
body,
|
|
47
|
+
...options,
|
|
48
|
+
});
|
|
38
49
|
}
|
|
39
50
|
|
|
40
51
|
/**
|
|
@@ -42,21 +53,23 @@ export class Variations extends APIResource {
|
|
|
42
53
|
*/
|
|
43
54
|
list(
|
|
44
55
|
agentID: string,
|
|
45
|
-
|
|
56
|
+
params: VariationListParams,
|
|
46
57
|
options?: RequestOptions,
|
|
47
58
|
): PagePromise<AgentVariationsCursorPagination, AgentVariation> {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
59
|
+
const { workspaceId, ...query } = params;
|
|
60
|
+
return this._client.getAPIList(
|
|
61
|
+
path`/v1/workspaces/${workspaceId}/agents/${agentID}/variations`,
|
|
62
|
+
CursorPagination<AgentVariation>,
|
|
63
|
+
{ query, ...options },
|
|
64
|
+
);
|
|
52
65
|
}
|
|
53
66
|
|
|
54
67
|
/**
|
|
55
68
|
* Deletes a variation from an agent
|
|
56
69
|
*/
|
|
57
70
|
delete(id: string, params: VariationDeleteParams, options?: RequestOptions): APIPromise<void> {
|
|
58
|
-
const { agentId } = params;
|
|
59
|
-
return this._client.delete(path`/v1/agents/${agentId}/variations/${id}`, {
|
|
71
|
+
const { workspaceId, agentId } = params;
|
|
72
|
+
return this._client.delete(path`/v1/workspaces/${workspaceId}/agents/${agentId}/variations/${id}`, {
|
|
60
73
|
...options,
|
|
61
74
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
62
75
|
});
|
|
@@ -71,11 +84,11 @@ export class Variations extends APIResource {
|
|
|
71
84
|
params: VariationAddAssignmentParams,
|
|
72
85
|
options?: RequestOptions,
|
|
73
86
|
): APIPromise<VariationAssignment> {
|
|
74
|
-
const { agentId, ...body } = params;
|
|
75
|
-
return this._client.post(
|
|
76
|
-
|
|
77
|
-
...options,
|
|
78
|
-
|
|
87
|
+
const { workspaceId, agentId, ...body } = params;
|
|
88
|
+
return this._client.post(
|
|
89
|
+
path`/v1/workspaces/${workspaceId}/agents/${agentId}/variations/${variationID}/assignments`,
|
|
90
|
+
{ body, ...options },
|
|
91
|
+
);
|
|
79
92
|
}
|
|
80
93
|
|
|
81
94
|
/**
|
|
@@ -87,11 +100,11 @@ export class Variations extends APIResource {
|
|
|
87
100
|
params: VariationAddMemoryLayerParams,
|
|
88
101
|
options?: RequestOptions,
|
|
89
102
|
): APIPromise<VariationMemoryLayerAssignment> {
|
|
90
|
-
const { agentId, ...body } = params;
|
|
91
|
-
return this._client.post(
|
|
92
|
-
|
|
93
|
-
...options,
|
|
94
|
-
|
|
103
|
+
const { workspaceId, agentId, ...body } = params;
|
|
104
|
+
return this._client.post(
|
|
105
|
+
path`/v1/workspaces/${workspaceId}/agents/${agentId}/variations/${variationID}/memory_layer_assignments`,
|
|
106
|
+
{ body, ...options },
|
|
107
|
+
);
|
|
95
108
|
}
|
|
96
109
|
|
|
97
110
|
/**
|
|
@@ -103,11 +116,11 @@ export class Variations extends APIResource {
|
|
|
103
116
|
params: VariationRemoveAssignmentParams,
|
|
104
117
|
options?: RequestOptions,
|
|
105
118
|
): APIPromise<void> {
|
|
106
|
-
const { agentId, variationId } = params;
|
|
107
|
-
return this._client.delete(
|
|
108
|
-
|
|
109
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
110
|
-
|
|
119
|
+
const { workspaceId, agentId, variationId } = params;
|
|
120
|
+
return this._client.delete(
|
|
121
|
+
path`/v1/workspaces/${workspaceId}/agents/${agentId}/variations/${variationId}/assignments/${id}`,
|
|
122
|
+
{ ...options, headers: buildHeaders([{ Accept: '*/*' }, options?.headers]) },
|
|
123
|
+
);
|
|
111
124
|
}
|
|
112
125
|
|
|
113
126
|
/**
|
|
@@ -119,9 +132,9 @@ export class Variations extends APIResource {
|
|
|
119
132
|
params: VariationRemoveMemoryLayerParams,
|
|
120
133
|
options?: RequestOptions,
|
|
121
134
|
): APIPromise<void> {
|
|
122
|
-
const { agentId, variationId } = params;
|
|
135
|
+
const { workspaceId, agentId, variationId } = params;
|
|
123
136
|
return this._client.delete(
|
|
124
|
-
path`/v1/agents/${agentId}/variations/${variationId}/memory_layer_assignments/${id}`,
|
|
137
|
+
path`/v1/workspaces/${workspaceId}/agents/${agentId}/variations/${variationId}/memory_layer_assignments/${id}`,
|
|
125
138
|
{ ...options, headers: buildHeaders([{ Accept: '*/*' }, options?.headers]) },
|
|
126
139
|
);
|
|
127
140
|
}
|
|
@@ -134,9 +147,9 @@ export class Variations extends APIResource {
|
|
|
134
147
|
params: VariationUpdateMemoryLayerParams,
|
|
135
148
|
options?: RequestOptions,
|
|
136
149
|
): APIPromise<VariationMemoryLayerAssignment> {
|
|
137
|
-
const { agentId, variationId, ...body } = params;
|
|
150
|
+
const { workspaceId, agentId, variationId, ...body } = params;
|
|
138
151
|
return this._client.patch(
|
|
139
|
-
path`/v1/agents/${agentId}/variations/${variationId}/memory_layer_assignments/${id}`,
|
|
152
|
+
path`/v1/workspaces/${workspaceId}/agents/${agentId}/variations/${variationId}/memory_layer_assignments/${id}`,
|
|
140
153
|
{ body, ...options },
|
|
141
154
|
);
|
|
142
155
|
}
|
|
@@ -470,19 +483,31 @@ export interface VariationMemoryLayerAssignment {
|
|
|
470
483
|
|
|
471
484
|
export interface VariationCreateParams {
|
|
472
485
|
/**
|
|
473
|
-
*
|
|
474
|
-
|
|
475
|
-
|
|
486
|
+
* Path param: Workspace ID (from path).
|
|
487
|
+
*/
|
|
488
|
+
workspaceId: string;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Body param: CreateResourceMetadata contains the user-provided fields for
|
|
492
|
+
* creating a workspace-scoped resource. Read-only fields (id, account_id,
|
|
493
|
+
* workspace_id, profile_id, created_at) are excluded since they are set by the
|
|
494
|
+
* server.
|
|
476
495
|
*/
|
|
477
496
|
metadata: Shared.CreateResourceMetadata;
|
|
478
497
|
|
|
479
498
|
/**
|
|
480
|
-
* AgentVariationSpec defines the operational configuration for a
|
|
499
|
+
* Body param: AgentVariationSpec defines the operational configuration for a
|
|
500
|
+
* variation
|
|
481
501
|
*/
|
|
482
502
|
spec: AgentVariationSpec;
|
|
483
503
|
}
|
|
484
504
|
|
|
485
505
|
export interface VariationRetrieveParams {
|
|
506
|
+
/**
|
|
507
|
+
* Workspace ID (from path).
|
|
508
|
+
*/
|
|
509
|
+
workspaceId: string;
|
|
510
|
+
|
|
486
511
|
/**
|
|
487
512
|
* Agent ID (from path). Accepts canonical agent\_… form or external_id:<value>
|
|
488
513
|
* form (see common.proto "Path-parameter ID resolution").
|
|
@@ -491,6 +516,11 @@ export interface VariationRetrieveParams {
|
|
|
491
516
|
}
|
|
492
517
|
|
|
493
518
|
export interface VariationUpdateParams {
|
|
519
|
+
/**
|
|
520
|
+
* Path param: Workspace ID (from path).
|
|
521
|
+
*/
|
|
522
|
+
workspaceId: string;
|
|
523
|
+
|
|
494
524
|
/**
|
|
495
525
|
* Path param: Agent ID (from path). Accepts canonical agent\_… form or
|
|
496
526
|
* external_id:<value> form (see common.proto "Path-parameter ID resolution").
|
|
@@ -519,22 +549,32 @@ export interface VariationUpdateParams {
|
|
|
519
549
|
|
|
520
550
|
export interface VariationListParams extends CursorPaginationParams {
|
|
521
551
|
/**
|
|
522
|
-
*
|
|
552
|
+
* Path param: Workspace ID (from path).
|
|
553
|
+
*/
|
|
554
|
+
workspaceId: string;
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* Query param: Filter by bundle_key — return only resources owned by this bundle.
|
|
523
558
|
*/
|
|
524
559
|
bundleKey?: string;
|
|
525
560
|
|
|
526
561
|
/**
|
|
527
|
-
* When set to true you may use more of your alloted API rate-limit
|
|
562
|
+
* Query param: When set to true you may use more of your alloted API rate-limit
|
|
528
563
|
*/
|
|
529
564
|
includeInfo?: boolean;
|
|
530
565
|
|
|
531
566
|
/**
|
|
532
|
-
* Sort order for results (asc or desc by creation time)
|
|
567
|
+
* Query param: Sort order for results (asc or desc by creation time)
|
|
533
568
|
*/
|
|
534
569
|
sortOrder?: string;
|
|
535
570
|
}
|
|
536
571
|
|
|
537
572
|
export interface VariationDeleteParams {
|
|
573
|
+
/**
|
|
574
|
+
* Workspace ID (from path).
|
|
575
|
+
*/
|
|
576
|
+
workspaceId: string;
|
|
577
|
+
|
|
538
578
|
/**
|
|
539
579
|
* Agent ID (from path). Accepts canonical agent\_… form or external_id:<value>
|
|
540
580
|
* form (see common.proto "Path-parameter ID resolution").
|
|
@@ -543,6 +583,11 @@ export interface VariationDeleteParams {
|
|
|
543
583
|
}
|
|
544
584
|
|
|
545
585
|
export interface VariationAddAssignmentParams {
|
|
586
|
+
/**
|
|
587
|
+
* Path param: Workspace ID (from path).
|
|
588
|
+
*/
|
|
589
|
+
workspaceId: string;
|
|
590
|
+
|
|
546
591
|
/**
|
|
547
592
|
* Path param: Agent ID (from path). Accepts canonical agent\_… form or
|
|
548
593
|
* external_id:<value> form (see common.proto "Path-parameter ID resolution").
|
|
@@ -566,6 +611,11 @@ export interface VariationAddAssignmentParams {
|
|
|
566
611
|
}
|
|
567
612
|
|
|
568
613
|
export interface VariationAddMemoryLayerParams {
|
|
614
|
+
/**
|
|
615
|
+
* Path param: Workspace ID (from path).
|
|
616
|
+
*/
|
|
617
|
+
workspaceId: string;
|
|
618
|
+
|
|
569
619
|
/**
|
|
570
620
|
* Path param: Agent ID (from path). Accepts canonical agent\_… form or
|
|
571
621
|
* external_id:<value> form (see common.proto "Path-parameter ID resolution").
|
|
@@ -586,6 +636,11 @@ export interface VariationAddMemoryLayerParams {
|
|
|
586
636
|
}
|
|
587
637
|
|
|
588
638
|
export interface VariationRemoveAssignmentParams {
|
|
639
|
+
/**
|
|
640
|
+
* Workspace ID (from path).
|
|
641
|
+
*/
|
|
642
|
+
workspaceId: string;
|
|
643
|
+
|
|
589
644
|
/**
|
|
590
645
|
* Agent ID (from path). Accepts canonical agent\_… form or external_id:<value>
|
|
591
646
|
* form (see common.proto "Path-parameter ID resolution").
|
|
@@ -600,6 +655,11 @@ export interface VariationRemoveAssignmentParams {
|
|
|
600
655
|
}
|
|
601
656
|
|
|
602
657
|
export interface VariationRemoveMemoryLayerParams {
|
|
658
|
+
/**
|
|
659
|
+
* Workspace ID (from path).
|
|
660
|
+
*/
|
|
661
|
+
workspaceId: string;
|
|
662
|
+
|
|
603
663
|
/**
|
|
604
664
|
* Agent ID (from path). Accepts canonical agent\_… form or external_id:<value>
|
|
605
665
|
* form (see common.proto "Path-parameter ID resolution").
|
|
@@ -614,6 +674,11 @@ export interface VariationRemoveMemoryLayerParams {
|
|
|
614
674
|
}
|
|
615
675
|
|
|
616
676
|
export interface VariationUpdateMemoryLayerParams {
|
|
677
|
+
/**
|
|
678
|
+
* Path param: Workspace ID (from path).
|
|
679
|
+
*/
|
|
680
|
+
workspaceId: string;
|
|
681
|
+
|
|
617
682
|
/**
|
|
618
683
|
* Path param: Agent ID (from path). Accepts canonical agent\_… form or
|
|
619
684
|
* external_id:<value> form (see common.proto "Path-parameter ID resolution").
|
|
@@ -20,11 +20,12 @@ export class WebhookDeliveries extends APIResource {
|
|
|
20
20
|
*/
|
|
21
21
|
list(
|
|
22
22
|
agentID: string,
|
|
23
|
-
|
|
23
|
+
params: WebhookDeliveryListParams,
|
|
24
24
|
options?: RequestOptions,
|
|
25
25
|
): PagePromise<WebhookDeliveriesCursorPagination, WebhookDelivery> {
|
|
26
|
+
const { workspaceId, ...query } = params;
|
|
26
27
|
return this._client.getAPIList(
|
|
27
|
-
path`/v1/agents/${agentID}/webhook_deliveries`,
|
|
28
|
+
path`/v1/workspaces/${workspaceId}/agents/${agentID}/webhook_deliveries`,
|
|
28
29
|
CursorPagination<WebhookDelivery>,
|
|
29
30
|
{ query, ...options },
|
|
30
31
|
);
|
|
@@ -115,7 +116,12 @@ export interface WebhookDeliveryData {
|
|
|
115
116
|
|
|
116
117
|
export interface WebhookDeliveryListParams extends CursorPaginationParams {
|
|
117
118
|
/**
|
|
118
|
-
*
|
|
119
|
+
* Path param: Workspace ID (from path).
|
|
120
|
+
*/
|
|
121
|
+
workspaceId: string;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Query param: Optional filter by event type
|
|
119
125
|
*/
|
|
120
126
|
eventType?:
|
|
121
127
|
| 'OBJECTIVE_EVENT_TYPE_UNSPECIFIED'
|
|
@@ -134,7 +140,7 @@ export interface WebhookDeliveryListParams extends CursorPaginationParams {
|
|
|
134
140
|
| 'OBJECTIVE_EVENT_TYPE_CANCELLED';
|
|
135
141
|
|
|
136
142
|
/**
|
|
137
|
-
* Optional filter by objective ID
|
|
143
|
+
* Query param: Optional filter by objective ID
|
|
138
144
|
*/
|
|
139
145
|
objectiveId?: string;
|
|
140
146
|
}
|
|
@@ -20,39 +20,46 @@ export class APIKeys extends APIResource {
|
|
|
20
20
|
/**
|
|
21
21
|
* Creates a new API key in the workspace.
|
|
22
22
|
*/
|
|
23
|
-
create(body: APIKeyCreateParams, options?: RequestOptions): APIPromise<APIKey> {
|
|
24
|
-
return this._client.post(
|
|
23
|
+
create(workspaceID: string, body: APIKeyCreateParams, options?: RequestOptions): APIPromise<APIKey> {
|
|
24
|
+
return this._client.post(path`/v1/workspaces/${workspaceID}/api_keys`, { body, ...options });
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Retrieves an API key by ID from the workspace
|
|
29
29
|
*/
|
|
30
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<APIKey> {
|
|
31
|
-
|
|
30
|
+
retrieve(id: string, params: APIKeyRetrieveParams, options?: RequestOptions): APIPromise<APIKey> {
|
|
31
|
+
const { workspaceId } = params;
|
|
32
|
+
return this._client.get(path`/v1/workspaces/${workspaceId}/api_keys/${id}`, options);
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
/**
|
|
35
36
|
* Updates an API key in the workspace
|
|
36
37
|
*/
|
|
37
|
-
update(id: string,
|
|
38
|
-
|
|
38
|
+
update(id: string, params: APIKeyUpdateParams, options?: RequestOptions): APIPromise<APIKey> {
|
|
39
|
+
const { workspaceId, ...body } = params;
|
|
40
|
+
return this._client.patch(path`/v1/workspaces/${workspaceId}/api_keys/${id}`, { body, ...options });
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
/**
|
|
42
44
|
* Lists all API keys in the workspace
|
|
43
45
|
*/
|
|
44
46
|
list(
|
|
47
|
+
workspaceID: string,
|
|
45
48
|
query: APIKeyListParams | null | undefined = {},
|
|
46
49
|
options?: RequestOptions,
|
|
47
50
|
): PagePromise<APIKeysCursorPagination, APIKey> {
|
|
48
|
-
return this._client.getAPIList(
|
|
51
|
+
return this._client.getAPIList(path`/v1/workspaces/${workspaceID}/api_keys`, CursorPagination<APIKey>, {
|
|
52
|
+
query,
|
|
53
|
+
...options,
|
|
54
|
+
});
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
/**
|
|
52
58
|
* Deletes an API key from the workspace
|
|
53
59
|
*/
|
|
54
|
-
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
55
|
-
|
|
60
|
+
delete(id: string, params: APIKeyDeleteParams, options?: RequestOptions): APIPromise<void> {
|
|
61
|
+
const { workspaceId } = params;
|
|
62
|
+
return this._client.delete(path`/v1/workspaces/${workspaceId}/api_keys/${id}`, {
|
|
56
63
|
...options,
|
|
57
64
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
58
65
|
});
|
|
@@ -62,8 +69,9 @@ export class APIKeys extends APIResource {
|
|
|
62
69
|
* Rotates an API Key and returns a new token. All previous API Key tokens in use
|
|
63
70
|
* will be invalidated.
|
|
64
71
|
*/
|
|
65
|
-
rotate(id: string, options?: RequestOptions): APIPromise<APIKey> {
|
|
66
|
-
|
|
72
|
+
rotate(id: string, params: APIKeyRotateParams, options?: RequestOptions): APIPromise<APIKey> {
|
|
73
|
+
const { workspaceId } = params;
|
|
74
|
+
return this._client.put(path`/v1/workspaces/${workspaceId}/api_keys/${id}/rotate`, options);
|
|
67
75
|
}
|
|
68
76
|
}
|
|
69
77
|
|
|
@@ -126,21 +134,34 @@ export interface APIKeyCreateParams {
|
|
|
126
134
|
spec: APIKeySpec;
|
|
127
135
|
}
|
|
128
136
|
|
|
137
|
+
export interface APIKeyRetrieveParams {
|
|
138
|
+
/**
|
|
139
|
+
* Workspace ID (from path).
|
|
140
|
+
*/
|
|
141
|
+
workspaceId: string;
|
|
142
|
+
}
|
|
143
|
+
|
|
129
144
|
export interface APIKeyUpdateParams {
|
|
130
145
|
/**
|
|
131
|
-
*
|
|
132
|
-
|
|
133
|
-
|
|
146
|
+
* Path param: Workspace ID (from path).
|
|
147
|
+
*/
|
|
148
|
+
workspaceId: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Body param: UpdateResourceMetadata contains the user-provided fields for
|
|
152
|
+
* updating a workspace-scoped resource. Read-only fields (id, account_id,
|
|
153
|
+
* workspace_id, profile_id, created_at) are excluded since they are set by the
|
|
154
|
+
* server.
|
|
134
155
|
*/
|
|
135
156
|
metadata?: Shared.UpdateResourceMetadata;
|
|
136
157
|
|
|
137
158
|
/**
|
|
138
|
-
* APIKeySpec contains the API Key-specific fields
|
|
159
|
+
* Body param: APIKeySpec contains the API Key-specific fields
|
|
139
160
|
*/
|
|
140
161
|
spec?: APIKeySpec;
|
|
141
162
|
|
|
142
163
|
/**
|
|
143
|
-
* Fields to update
|
|
164
|
+
* Body param: Fields to update
|
|
144
165
|
*/
|
|
145
166
|
updateMask?: string;
|
|
146
167
|
}
|
|
@@ -172,6 +193,20 @@ export interface APIKeyListParams extends CursorPaginationParams {
|
|
|
172
193
|
sortOrder?: string;
|
|
173
194
|
}
|
|
174
195
|
|
|
196
|
+
export interface APIKeyDeleteParams {
|
|
197
|
+
/**
|
|
198
|
+
* Workspace ID (from path).
|
|
199
|
+
*/
|
|
200
|
+
workspaceId: string;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export interface APIKeyRotateParams {
|
|
204
|
+
/**
|
|
205
|
+
* Workspace ID (from path).
|
|
206
|
+
*/
|
|
207
|
+
workspaceId: string;
|
|
208
|
+
}
|
|
209
|
+
|
|
175
210
|
export declare namespace APIKeys {
|
|
176
211
|
export {
|
|
177
212
|
type APIKey as APIKey,
|
|
@@ -179,7 +214,10 @@ export declare namespace APIKeys {
|
|
|
179
214
|
type APIKeySpec as APIKeySpec,
|
|
180
215
|
type APIKeysCursorPagination as APIKeysCursorPagination,
|
|
181
216
|
type APIKeyCreateParams as APIKeyCreateParams,
|
|
217
|
+
type APIKeyRetrieveParams as APIKeyRetrieveParams,
|
|
182
218
|
type APIKeyUpdateParams as APIKeyUpdateParams,
|
|
183
219
|
type APIKeyListParams as APIKeyListParams,
|
|
220
|
+
type APIKeyDeleteParams as APIKeyDeleteParams,
|
|
221
|
+
type APIKeyRotateParams as APIKeyRotateParams,
|
|
184
222
|
};
|
|
185
223
|
}
|
|
@@ -47,29 +47,43 @@ export class BulkWorkspaceResources extends APIResource {
|
|
|
47
47
|
/**
|
|
48
48
|
* Retrieves a bulk workspace apply operation by ID.
|
|
49
49
|
*/
|
|
50
|
-
retrieve(
|
|
51
|
-
|
|
50
|
+
retrieve(
|
|
51
|
+
id: string,
|
|
52
|
+
params: BulkWorkspaceResourceRetrieveParams,
|
|
53
|
+
options?: RequestOptions,
|
|
54
|
+
): APIPromise<BulkWorkspaceApply> {
|
|
55
|
+
const { workspaceId } = params;
|
|
56
|
+
return this._client.get(path`/v1/workspaces/${workspaceId}/bulk_workspace_applies/${id}`, options);
|
|
52
57
|
}
|
|
53
58
|
|
|
54
59
|
/**
|
|
55
60
|
* Lists past and in-flight bulk workspace apply operations in the workspace.
|
|
56
61
|
*/
|
|
57
62
|
list(
|
|
63
|
+
workspaceID: string,
|
|
58
64
|
query: BulkWorkspaceResourceListParams | null | undefined = {},
|
|
59
65
|
options?: RequestOptions,
|
|
60
66
|
): PagePromise<BulkWorkspaceAppliesCursorPagination, BulkWorkspaceApply> {
|
|
61
|
-
return this._client.getAPIList(
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
67
|
+
return this._client.getAPIList(
|
|
68
|
+
path`/v1/workspaces/${workspaceID}/bulk_workspace_applies`,
|
|
69
|
+
CursorPagination<BulkWorkspaceApply>,
|
|
70
|
+
{ query, ...options },
|
|
71
|
+
);
|
|
65
72
|
}
|
|
66
73
|
|
|
67
74
|
/**
|
|
68
75
|
* Asynchronously applies a declarative bundle of workspace resources. Returns the
|
|
69
76
|
* operation immediately in PENDING; clients poll Get to track progress.
|
|
70
77
|
*/
|
|
71
|
-
apply(
|
|
72
|
-
|
|
78
|
+
apply(
|
|
79
|
+
workspaceID: string,
|
|
80
|
+
body: BulkWorkspaceResourceApplyParams,
|
|
81
|
+
options?: RequestOptions,
|
|
82
|
+
): APIPromise<BulkWorkspaceApply> {
|
|
83
|
+
return this._client.post(path`/v1/workspaces/${workspaceID}/bulk_workspace_applies`, {
|
|
84
|
+
body,
|
|
85
|
+
...options,
|
|
86
|
+
});
|
|
73
87
|
}
|
|
74
88
|
}
|
|
75
89
|
|
|
@@ -352,6 +366,13 @@ export interface VariationMemoryLayerEntry {
|
|
|
352
366
|
position?: number;
|
|
353
367
|
}
|
|
354
368
|
|
|
369
|
+
export interface BulkWorkspaceResourceRetrieveParams {
|
|
370
|
+
/**
|
|
371
|
+
* Workspace ID (from path).
|
|
372
|
+
*/
|
|
373
|
+
workspaceId: string;
|
|
374
|
+
}
|
|
375
|
+
|
|
355
376
|
export interface BulkWorkspaceResourceListParams extends CursorPaginationParams {
|
|
356
377
|
/**
|
|
357
378
|
* Filter by bundle_key — list every apply for a given bundle.
|
|
@@ -399,6 +420,7 @@ export declare namespace BulkWorkspaceResources {
|
|
|
399
420
|
type VariationAssignmentEntry as VariationAssignmentEntry,
|
|
400
421
|
type VariationMemoryLayerEntry as VariationMemoryLayerEntry,
|
|
401
422
|
type BulkWorkspaceAppliesCursorPagination as BulkWorkspaceAppliesCursorPagination,
|
|
423
|
+
type BulkWorkspaceResourceRetrieveParams as BulkWorkspaceResourceRetrieveParams,
|
|
402
424
|
type BulkWorkspaceResourceListParams as BulkWorkspaceResourceListParams,
|
|
403
425
|
type BulkWorkspaceResourceApplyParams as BulkWorkspaceResourceApplyParams,
|
|
404
426
|
};
|
|
@@ -15,6 +15,7 @@ export {
|
|
|
15
15
|
type ToolSetEntry,
|
|
16
16
|
type VariationAssignmentEntry,
|
|
17
17
|
type VariationMemoryLayerEntry,
|
|
18
|
+
type BulkWorkspaceResourceRetrieveParams,
|
|
18
19
|
type BulkWorkspaceResourceListParams,
|
|
19
20
|
type BulkWorkspaceResourceApplyParams,
|
|
20
21
|
type BulkWorkspaceAppliesCursorPagination,
|
|
@@ -29,11 +29,12 @@ export class Results extends APIResource {
|
|
|
29
29
|
*/
|
|
30
30
|
list(
|
|
31
31
|
bulkWorkspaceApplyID: string,
|
|
32
|
-
|
|
32
|
+
params: ResultListParams,
|
|
33
33
|
options?: RequestOptions,
|
|
34
34
|
): PagePromise<BulkWorkspaceApplyResultsCursorPagination, BulkWorkspaceApplyResult> {
|
|
35
|
+
const { workspaceId, ...query } = params;
|
|
35
36
|
return this._client.getAPIList(
|
|
36
|
-
path`/v1/bulk_workspace_applies/${bulkWorkspaceApplyID}/results`,
|
|
37
|
+
path`/v1/workspaces/${workspaceId}/bulk_workspace_applies/${bulkWorkspaceApplyID}/results`,
|
|
37
38
|
CursorPagination<BulkWorkspaceApplyResult>,
|
|
38
39
|
{ query, ...options },
|
|
39
40
|
);
|
|
@@ -781,7 +782,12 @@ export namespace BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome {
|
|
|
781
782
|
|
|
782
783
|
export interface ResultListParams extends CursorPaginationParams {
|
|
783
784
|
/**
|
|
784
|
-
*
|
|
785
|
+
* Path param: Workspace ID (from path).
|
|
786
|
+
*/
|
|
787
|
+
workspaceId: string;
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Query param: Filter by action.
|
|
785
791
|
*/
|
|
786
792
|
action?:
|
|
787
793
|
| 'ACTION_UNSPECIFIED'
|
|
@@ -792,12 +798,12 @@ export interface ResultListParams extends CursorPaginationParams {
|
|
|
792
798
|
| 'ACTION_FAILED';
|
|
793
799
|
|
|
794
800
|
/**
|
|
795
|
-
* Sort order for results (asc or desc by creation time)
|
|
801
|
+
* Query param: Sort order for results (asc or desc by creation time)
|
|
796
802
|
*/
|
|
797
803
|
sortOrder?: string;
|
|
798
804
|
|
|
799
805
|
/**
|
|
800
|
-
* Filter by data.type discriminator (e.g., "toolSet", "memoryEntry").
|
|
806
|
+
* Query param: Filter by data.type discriminator (e.g., "toolSet", "memoryEntry").
|
|
801
807
|
*/
|
|
802
808
|
type?: string;
|
|
803
809
|
}
|
package/src/resources/index.ts
CHANGED
|
@@ -7,8 +7,11 @@ export {
|
|
|
7
7
|
type APIKeyInfo,
|
|
8
8
|
type APIKeySpec,
|
|
9
9
|
type APIKeyCreateParams,
|
|
10
|
+
type APIKeyRetrieveParams,
|
|
10
11
|
type APIKeyUpdateParams,
|
|
11
12
|
type APIKeyListParams,
|
|
13
|
+
type APIKeyDeleteParams,
|
|
14
|
+
type APIKeyRotateParams,
|
|
12
15
|
type APIKeysCursorPagination,
|
|
13
16
|
} from './api-keys';
|
|
14
17
|
export {
|
|
@@ -26,8 +29,10 @@ export {
|
|
|
26
29
|
type AgentSpec,
|
|
27
30
|
type Page,
|
|
28
31
|
type AgentCreateParams,
|
|
32
|
+
type AgentRetrieveParams,
|
|
29
33
|
type AgentUpdateParams,
|
|
30
34
|
type AgentListParams,
|
|
35
|
+
type AgentDeleteParams,
|
|
31
36
|
type AgentsCursorPagination,
|
|
32
37
|
} from './agents/agents';
|
|
33
38
|
export {
|
|
@@ -45,6 +50,7 @@ export {
|
|
|
45
50
|
type ToolSetEntry,
|
|
46
51
|
type VariationAssignmentEntry,
|
|
47
52
|
type VariationMemoryLayerEntry,
|
|
53
|
+
type BulkWorkspaceResourceRetrieveParams,
|
|
48
54
|
type BulkWorkspaceResourceListParams,
|
|
49
55
|
type BulkWorkspaceResourceApplyParams,
|
|
50
56
|
type BulkWorkspaceAppliesCursorPagination,
|
|
@@ -55,14 +61,17 @@ export {
|
|
|
55
61
|
type MemoryLayerInfo,
|
|
56
62
|
type MemoryLayerSpec,
|
|
57
63
|
type MemoryLayerCreateParams,
|
|
64
|
+
type MemoryLayerRetrieveParams,
|
|
58
65
|
type MemoryLayerUpdateParams,
|
|
59
66
|
type MemoryLayerListParams,
|
|
67
|
+
type MemoryLayerDeleteParams,
|
|
60
68
|
type MemoryLayersCursorPagination,
|
|
61
69
|
} from './memory-layers/memory-layers';
|
|
62
70
|
export {
|
|
63
71
|
Models,
|
|
64
72
|
type Model,
|
|
65
73
|
type ModelSpec,
|
|
74
|
+
type ModelRetrieveParams,
|
|
66
75
|
type ModelListParams,
|
|
67
76
|
type ModelSetStatusParams,
|
|
68
77
|
type ModelsCursorPagination,
|
|
@@ -98,6 +107,7 @@ export {
|
|
|
98
107
|
type ObjectiveContinueResponse,
|
|
99
108
|
type ObjectiveListEventsResponse,
|
|
100
109
|
type ObjectiveCreateParams,
|
|
110
|
+
type ObjectiveRetrieveParams,
|
|
101
111
|
type ObjectiveListParams,
|
|
102
112
|
type ObjectiveCancelParams,
|
|
103
113
|
type ObjectiveCompactParams,
|
|
@@ -128,13 +138,22 @@ export {
|
|
|
128
138
|
type ToolSetInfo,
|
|
129
139
|
type ToolSetSpec,
|
|
130
140
|
type ToolSetCreateParams,
|
|
141
|
+
type ToolSetRetrieveParams,
|
|
131
142
|
type ToolSetUpdateParams,
|
|
132
143
|
type ToolSetListParams,
|
|
144
|
+
type ToolSetDeleteParams,
|
|
133
145
|
type ToolSetListEventsParams,
|
|
134
146
|
type ToolSetsCursorPagination,
|
|
135
147
|
type ToolSetEventsCursorPagination,
|
|
136
148
|
} from './tool-sets/tool-sets';
|
|
137
|
-
export {
|
|
149
|
+
export {
|
|
150
|
+
Uploads,
|
|
151
|
+
type Upload,
|
|
152
|
+
type UploadInfo,
|
|
153
|
+
type UploadSpec,
|
|
154
|
+
type UploadCreateParams,
|
|
155
|
+
type UploadRetrieveParams,
|
|
156
|
+
} from './uploads';
|
|
138
157
|
export { Webhooks, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent } from './webhooks';
|
|
139
158
|
export {
|
|
140
159
|
WorkspaceSecrets,
|
|
@@ -142,8 +161,10 @@ export {
|
|
|
142
161
|
type WorkspaceSecretInfo,
|
|
143
162
|
type WorkspaceSecretSpec,
|
|
144
163
|
type WorkspaceSecretCreateParams,
|
|
164
|
+
type WorkspaceSecretRetrieveParams,
|
|
145
165
|
type WorkspaceSecretUpdateParams,
|
|
146
166
|
type WorkspaceSecretListParams,
|
|
167
|
+
type WorkspaceSecretDeleteParams,
|
|
147
168
|
type WorkspaceSecretsCursorPagination,
|
|
148
169
|
} from './workspace-secrets';
|
|
149
170
|
export {
|