vellum-ai 0.11.8 → 0.11.10

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 (56) hide show
  1. package/.mock/definition/__package__.yml +6750 -0
  2. package/.mock/definition/adHoc.yml +67 -0
  3. package/.mock/definition/api.yml +17 -0
  4. package/.mock/definition/containerImages.yml +151 -0
  5. package/.mock/definition/deployments.yml +372 -0
  6. package/.mock/definition/documentIndexes.yml +448 -0
  7. package/.mock/definition/documents.yml +278 -0
  8. package/.mock/definition/folderEntities.yml +135 -0
  9. package/.mock/definition/metricDefinitions.yml +99 -0
  10. package/.mock/definition/mlModels.yml +36 -0
  11. package/.mock/definition/sandboxes.yml +205 -0
  12. package/.mock/definition/testSuiteRuns.yml +163 -0
  13. package/.mock/definition/testSuites.yml +182 -0
  14. package/.mock/definition/workflowDeployments.yml +299 -0
  15. package/.mock/definition/workflowSandboxes.yml +94 -0
  16. package/.mock/definition/workflows.yml +83 -0
  17. package/.mock/definition/workspaceSecrets.yml +78 -0
  18. package/.mock/fern.config.json +4 -0
  19. package/.mock/openapi/openapi.yml +12127 -0
  20. package/Client.js +10 -10
  21. package/api/resources/adHoc/client/Client.js +1 -1
  22. package/api/resources/containerImages/client/Client.js +4 -4
  23. package/api/resources/deployments/client/Client.js +7 -7
  24. package/api/resources/documentIndexes/client/Client.js +8 -8
  25. package/api/resources/documents/client/Client.js +5 -5
  26. package/api/resources/folderEntities/client/Client.js +2 -2
  27. package/api/resources/metricDefinitions/client/Client.js +2 -2
  28. package/api/resources/mlModels/client/Client.js +1 -1
  29. package/api/resources/sandboxes/client/Client.js +3 -3
  30. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  31. package/api/resources/testSuites/client/Client.js +4 -4
  32. package/api/resources/workflowDeployments/client/Client.js +6 -6
  33. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  34. package/api/resources/workflows/client/Client.js +2 -2
  35. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  36. package/dist/Client.js +10 -10
  37. package/dist/api/resources/adHoc/client/Client.js +1 -1
  38. package/dist/api/resources/containerImages/client/Client.js +4 -4
  39. package/dist/api/resources/deployments/client/Client.js +7 -7
  40. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  41. package/dist/api/resources/documents/client/Client.js +5 -5
  42. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  43. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  44. package/dist/api/resources/mlModels/client/Client.js +1 -1
  45. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  46. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  47. package/dist/api/resources/testSuites/client/Client.js +4 -4
  48. package/dist/api/resources/workflowDeployments/client/Client.js +6 -6
  49. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  50. package/dist/api/resources/workflows/client/Client.js +2 -2
  51. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  52. package/dist/version.d.ts +1 -1
  53. package/dist/version.js +1 -1
  54. package/package.json +1 -1
  55. package/version.d.ts +1 -1
  56. package/version.js +1 -1
@@ -0,0 +1,299 @@
1
+ types:
2
+ WorkflowDeploymentsListRequestStatus:
3
+ enum:
4
+ - ACTIVE
5
+ - ARCHIVED
6
+ source:
7
+ openapi: openapi/openapi.yml
8
+ ListWorkflowReleaseTagsRequestSource:
9
+ enum:
10
+ - SYSTEM
11
+ - USER
12
+ source:
13
+ openapi: openapi/openapi.yml
14
+ imports:
15
+ root: __package__.yml
16
+ service:
17
+ auth: false
18
+ base-path: ''
19
+ endpoints:
20
+ list:
21
+ path: /v1/workflow-deployments
22
+ method: GET
23
+ auth: true
24
+ docs: Used to list all Workflow Deployments.
25
+ source:
26
+ openapi: openapi/openapi.yml
27
+ request:
28
+ name: WorkflowDeploymentsListRequest
29
+ query-parameters:
30
+ limit:
31
+ type: optional<integer>
32
+ docs: Number of results to return per page.
33
+ offset:
34
+ type: optional<integer>
35
+ docs: The initial index from which to return the results.
36
+ ordering:
37
+ type: optional<string>
38
+ docs: Which field to use when ordering the results.
39
+ status:
40
+ type: optional<WorkflowDeploymentsListRequestStatus>
41
+ docs: status
42
+ response:
43
+ docs: ''
44
+ type: root.PaginatedSlimWorkflowDeploymentList
45
+ url: Default
46
+ availability: pre-release
47
+ examples:
48
+ - response:
49
+ body:
50
+ count: 123
51
+ next: http://api.example.org/accounts/?offset=400&limit=100
52
+ previous: http://api.example.org/accounts/?offset=200&limit=100
53
+ results:
54
+ - id: id
55
+ name: name
56
+ label: label
57
+ status: ACTIVE
58
+ environment: DEVELOPMENT
59
+ created: '2024-01-15T09:30:00Z'
60
+ last_deployed_on: '2024-01-15T09:30:00Z'
61
+ input_variables:
62
+ - id: id
63
+ key: key
64
+ type: STRING
65
+ output_variables:
66
+ - id: id
67
+ key: key
68
+ type: STRING
69
+ description: description
70
+ audiences:
71
+ - customers
72
+ retrieve:
73
+ path: /v1/workflow-deployments/{id}
74
+ method: GET
75
+ auth: true
76
+ docs: Used to retrieve a workflow deployment given its ID or name.
77
+ source:
78
+ openapi: openapi/openapi.yml
79
+ path-parameters:
80
+ id:
81
+ type: string
82
+ docs: Either the Workflow Deployment's ID or its unique name
83
+ response:
84
+ docs: ''
85
+ type: root.WorkflowDeploymentRead
86
+ url: Default
87
+ availability: pre-release
88
+ examples:
89
+ - path-parameters:
90
+ id: id
91
+ response:
92
+ body:
93
+ id: id
94
+ name: name
95
+ label: label
96
+ status: ACTIVE
97
+ environment: DEVELOPMENT
98
+ created: '2024-01-15T09:30:00Z'
99
+ last_deployed_on: '2024-01-15T09:30:00Z'
100
+ last_deployed_history_item_id: last_deployed_history_item_id
101
+ input_variables:
102
+ - id: id
103
+ key: key
104
+ type: STRING
105
+ required: true
106
+ default:
107
+ type: STRING
108
+ output_variables:
109
+ - id: id
110
+ key: key
111
+ type: STRING
112
+ required: true
113
+ default:
114
+ type: STRING
115
+ description: description
116
+ audiences:
117
+ - customers
118
+ workflow_deployment_history_item_retrieve:
119
+ path: /v1/workflow-deployments/{id}/history/{history_id_or_release_tag}
120
+ method: GET
121
+ auth: true
122
+ docs: >-
123
+ Retrieve a specific Workflow Deployment History Item by either its UUID
124
+ or the name of a Release Tag that points to it.
125
+ source:
126
+ openapi: openapi/openapi.yml
127
+ path-parameters:
128
+ history_id_or_release_tag:
129
+ type: string
130
+ docs: >-
131
+ Either the UUID of Workflow Deployment History Item you'd like to
132
+ retrieve, or the name of a Release Tag that's pointing to the
133
+ Workflow Deployment History Item you'd like to retrieve.
134
+ id:
135
+ type: string
136
+ docs: A UUID string identifying this workflow deployment.
137
+ response:
138
+ docs: ''
139
+ type: root.WorkflowDeploymentHistoryItem
140
+ url: Default
141
+ availability: pre-release
142
+ examples:
143
+ - path-parameters:
144
+ history_id_or_release_tag: history_id_or_release_tag
145
+ id: id
146
+ response:
147
+ body:
148
+ id: id
149
+ workflow_deployment_id: workflow_deployment_id
150
+ timestamp: '2024-01-15T09:30:00Z'
151
+ label: label
152
+ name: name
153
+ input_variables:
154
+ - id: id
155
+ key: key
156
+ type: STRING
157
+ required: true
158
+ default:
159
+ type: STRING
160
+ output_variables:
161
+ - id: id
162
+ key: key
163
+ type: STRING
164
+ required: true
165
+ default:
166
+ type: STRING
167
+ description: description
168
+ audiences:
169
+ - customers
170
+ list_workflow_release_tags:
171
+ path: /v1/workflow-deployments/{id}/release-tags
172
+ method: GET
173
+ auth: true
174
+ docs: List Release Tags associated with the specified Workflow Deployment
175
+ source:
176
+ openapi: openapi/openapi.yml
177
+ path-parameters:
178
+ id:
179
+ type: string
180
+ docs: Either the Workflow Deployment's ID or its unique name
181
+ request:
182
+ name: ListWorkflowReleaseTagsRequest
183
+ query-parameters:
184
+ limit:
185
+ type: optional<integer>
186
+ docs: Number of results to return per page.
187
+ offset:
188
+ type: optional<integer>
189
+ docs: The initial index from which to return the results.
190
+ ordering:
191
+ type: optional<string>
192
+ docs: Which field to use when ordering the results.
193
+ source: optional<ListWorkflowReleaseTagsRequestSource>
194
+ response:
195
+ docs: ''
196
+ type: root.PaginatedWorkflowReleaseTagReadList
197
+ url: Default
198
+ availability: pre-release
199
+ examples:
200
+ - path-parameters:
201
+ id: id
202
+ response:
203
+ body:
204
+ count: 123
205
+ next: http://api.example.org/accounts/?offset=400&limit=100
206
+ previous: http://api.example.org/accounts/?offset=200&limit=100
207
+ results:
208
+ - name: name
209
+ source: SYSTEM
210
+ history_item:
211
+ id: id
212
+ timestamp: '2024-01-15T09:30:00Z'
213
+ audiences:
214
+ - customers
215
+ retrieve_workflow_release_tag:
216
+ path: /v1/workflow-deployments/{id}/release-tags/{name}
217
+ method: GET
218
+ auth: true
219
+ docs: >-
220
+ Retrieve a Workflow Release Tag by tag name, associated with a specified
221
+ Workflow Deployment.
222
+ source:
223
+ openapi: openapi/openapi.yml
224
+ path-parameters:
225
+ id:
226
+ type: string
227
+ docs: A UUID string identifying this workflow deployment.
228
+ name:
229
+ type: string
230
+ docs: >-
231
+ The name of the Release Tag associated with this Workflow Deployment
232
+ that you'd like to retrieve.
233
+ response:
234
+ docs: ''
235
+ type: root.WorkflowReleaseTagRead
236
+ url: Default
237
+ availability: pre-release
238
+ examples:
239
+ - path-parameters:
240
+ id: id
241
+ name: name
242
+ response:
243
+ body:
244
+ name: name
245
+ source: SYSTEM
246
+ history_item:
247
+ id: id
248
+ timestamp: '2024-01-15T09:30:00Z'
249
+ audiences:
250
+ - customers
251
+ update_workflow_release_tag:
252
+ path: /v1/workflow-deployments/{id}/release-tags/{name}
253
+ method: PATCH
254
+ auth: true
255
+ docs: >-
256
+ Updates an existing Release Tag associated with the specified Workflow
257
+ Deployment.
258
+ source:
259
+ openapi: openapi/openapi.yml
260
+ path-parameters:
261
+ id:
262
+ type: string
263
+ docs: A UUID string identifying this workflow deployment.
264
+ name:
265
+ type: string
266
+ docs: >-
267
+ The name of the Release Tag associated with this Workflow Deployment
268
+ that you'd like to update.
269
+ request:
270
+ name: PatchedWorkflowReleaseTagUpdateRequest
271
+ body:
272
+ properties:
273
+ history_item_id:
274
+ type: optional<string>
275
+ docs: The ID of the Workflow Deployment History Item to tag
276
+ validation:
277
+ format: uuid
278
+ content-type: application/json
279
+ response:
280
+ docs: ''
281
+ type: root.WorkflowReleaseTagRead
282
+ url: Default
283
+ availability: pre-release
284
+ examples:
285
+ - path-parameters:
286
+ id: id
287
+ name: name
288
+ request: {}
289
+ response:
290
+ body:
291
+ name: name
292
+ source: SYSTEM
293
+ history_item:
294
+ id: id
295
+ timestamp: '2024-01-15T09:30:00Z'
296
+ audiences:
297
+ - customers
298
+ source:
299
+ openapi: openapi/openapi.yml
@@ -0,0 +1,94 @@
1
+ imports:
2
+ root: __package__.yml
3
+ service:
4
+ auth: false
5
+ base-path: ''
6
+ endpoints:
7
+ deploy_workflow:
8
+ path: /v1/workflow-sandboxes/{id}/workflows/{workflow_id}/deploy
9
+ method: POST
10
+ auth: true
11
+ source:
12
+ openapi: openapi/openapi.yml
13
+ path-parameters:
14
+ id:
15
+ type: string
16
+ docs: A UUID string identifying this workflow sandbox.
17
+ workflow_id:
18
+ type: string
19
+ docs: An ID identifying the Workflow you'd like to deploy.
20
+ request:
21
+ name: DeploySandboxWorkflowRequest
22
+ body:
23
+ properties:
24
+ workflow_deployment_id:
25
+ type: optional<string>
26
+ docs: >-
27
+ The Vellum-generated ID of the Workflow Deployment you'd like to
28
+ update. Cannot specify both this and workflow_deployment_name.
29
+ Leave null to create a new Workflow Deployment.
30
+ validation:
31
+ format: uuid
32
+ workflow_deployment_name:
33
+ type: optional<string>
34
+ docs: >-
35
+ The unique name of the Workflow Deployment you'd like to either
36
+ create or update. Cannot specify both this and
37
+ workflow_deployment_id. If provided and matches an existing
38
+ Workflow Deployment, that Workflow Deployment will be updated.
39
+ Otherwise, a new Prompt Deployment will be created.
40
+ validation:
41
+ minLength: 1
42
+ label:
43
+ type: optional<string>
44
+ docs: >-
45
+ In the event that a new Workflow Deployment is created, this
46
+ will be the label it's given.
47
+ validation:
48
+ minLength: 1
49
+ release_tags:
50
+ type: optional<list<string>>
51
+ docs: >-
52
+ Optionally provide the release tags that you'd like to be
53
+ associated with the latest release of the created/updated Prompt
54
+ Deployment.
55
+ content-type: application/json
56
+ response:
57
+ docs: ''
58
+ type: root.WorkflowDeploymentRead
59
+ url: Default
60
+ availability: pre-release
61
+ examples:
62
+ - path-parameters:
63
+ id: id
64
+ workflow_id: workflow_id
65
+ request: {}
66
+ response:
67
+ body:
68
+ id: id
69
+ name: name
70
+ label: label
71
+ status: ACTIVE
72
+ environment: DEVELOPMENT
73
+ created: '2024-01-15T09:30:00Z'
74
+ last_deployed_on: '2024-01-15T09:30:00Z'
75
+ last_deployed_history_item_id: last_deployed_history_item_id
76
+ input_variables:
77
+ - id: id
78
+ key: key
79
+ type: STRING
80
+ required: true
81
+ default:
82
+ type: STRING
83
+ output_variables:
84
+ - id: id
85
+ key: key
86
+ type: STRING
87
+ required: true
88
+ default:
89
+ type: STRING
90
+ description: description
91
+ audiences:
92
+ - customers
93
+ source:
94
+ openapi: openapi/openapi.yml
@@ -0,0 +1,83 @@
1
+ types:
2
+ WorkflowsPullRequestFormat:
3
+ enum:
4
+ - json
5
+ - zip
6
+ source:
7
+ openapi: openapi/openapi.yml
8
+ imports:
9
+ root: __package__.yml
10
+ service:
11
+ auth: false
12
+ base-path: ''
13
+ endpoints:
14
+ pull:
15
+ path: /v1/workflows/{id}/pull
16
+ method: GET
17
+ auth: true
18
+ docs: >-
19
+ An internal-only endpoint that's subject to breaking changes without
20
+ notice. Not intended for public use.
21
+ source:
22
+ openapi: openapi/openapi.yml
23
+ path-parameters:
24
+ id:
25
+ type: string
26
+ docs: The ID of the Workflow to pull from
27
+ request:
28
+ name: WorkflowsPullRequest
29
+ query-parameters:
30
+ format: optional<WorkflowsPullRequestFormat>
31
+ response:
32
+ docs: ''
33
+ type: file
34
+ url: Default
35
+ availability: pre-release
36
+ errors:
37
+ - root.BadRequestError
38
+ audiences:
39
+ - internal
40
+ push:
41
+ path: /v1/workflows/push
42
+ method: POST
43
+ auth: true
44
+ docs: >-
45
+ An internal-only endpoint that's subject to breaking changes without
46
+ notice. Not intended for public use.
47
+ source:
48
+ openapi: openapi/openapi.yml
49
+ request:
50
+ name: WorkflowPushRequest
51
+ body:
52
+ properties:
53
+ exec_config:
54
+ type: root.WorkflowPushExecConfig
55
+ docs: The execution configuration of the workflow.
56
+ label:
57
+ type: string
58
+ validation:
59
+ minLength: 1
60
+ workflow_sandbox_id:
61
+ type: optional<string>
62
+ validation:
63
+ format: uuid
64
+ deployment_config: optional<root.WorkflowPushDeploymentConfigRequest>
65
+ artifact: optional<file>
66
+ content-type: multipart/form-data
67
+ response:
68
+ docs: ''
69
+ type: root.WorkflowPushResponse
70
+ url: Default
71
+ availability: pre-release
72
+ examples:
73
+ - request:
74
+ exec_config: exec_config
75
+ label: label
76
+ response:
77
+ body:
78
+ workflow_sandbox_id: workflow_sandbox_id
79
+ workflow_deployment_id: workflow_deployment_id
80
+ audiences:
81
+ - internal
82
+ source:
83
+ openapi: openapi/openapi.yml
@@ -0,0 +1,78 @@
1
+ imports:
2
+ root: __package__.yml
3
+ service:
4
+ auth: false
5
+ base-path: ''
6
+ endpoints:
7
+ retrieve:
8
+ path: /v1/workspace-secrets/{id}
9
+ method: GET
10
+ auth: true
11
+ docs: Used to retrieve a Workspace Secret given its ID or name.
12
+ source:
13
+ openapi: openapi/openapi.yml
14
+ path-parameters:
15
+ id:
16
+ type: string
17
+ docs: Either the Workspace Secret's ID or its unique name
18
+ response:
19
+ docs: ''
20
+ type: root.WorkspaceSecretRead
21
+ url: Default
22
+ availability: pre-release
23
+ examples:
24
+ - path-parameters:
25
+ id: id
26
+ response:
27
+ body:
28
+ id: id
29
+ modified: '2024-01-15T09:30:00Z'
30
+ name: name
31
+ label: label
32
+ secret_type: USER_DEFINED
33
+ audiences:
34
+ - customers
35
+ partialUpdate:
36
+ path: /v1/workspace-secrets/{id}
37
+ method: PATCH
38
+ auth: true
39
+ docs: Used to update a Workspace Secret given its ID or name.
40
+ source:
41
+ openapi: openapi/openapi.yml
42
+ path-parameters:
43
+ id:
44
+ type: string
45
+ docs: Either the Workspace Secret's ID or its unique name
46
+ request:
47
+ name: PatchedWorkspaceSecretUpdateRequest
48
+ body:
49
+ properties:
50
+ label:
51
+ type: optional<string>
52
+ validation:
53
+ minLength: 1
54
+ value:
55
+ type: optional<string>
56
+ validation:
57
+ minLength: 1
58
+ content-type: application/json
59
+ response:
60
+ docs: ''
61
+ type: root.WorkspaceSecretRead
62
+ url: Default
63
+ availability: pre-release
64
+ examples:
65
+ - path-parameters:
66
+ id: id
67
+ request: {}
68
+ response:
69
+ body:
70
+ id: id
71
+ modified: '2024-01-15T09:30:00Z'
72
+ name: name
73
+ label: label
74
+ secret_type: USER_DEFINED
75
+ audiences:
76
+ - customers
77
+ source:
78
+ openapi: openapi/openapi.yml
@@ -0,0 +1,4 @@
1
+ {
2
+ "organization" : "vellum",
3
+ "version" : "0.45.2"
4
+ }