vellum-ai 0.9.0 → 0.9.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/.mock/definition/__package__.yml +51 -0
- package/.mock/definition/containerImages.yml +122 -0
- package/.mock/openapi/openapi.yml +177 -0
- package/Client.d.ts +3 -0
- package/Client.js +39 -34
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.d.ts +61 -0
- package/api/resources/containerImages/client/Client.js +231 -0
- package/api/resources/containerImages/client/index.d.ts +1 -0
- package/api/resources/containerImages/client/index.js +17 -0
- package/api/resources/containerImages/client/requests/ContainerImagesListRequest.d.ts +21 -0
- package/api/resources/containerImages/client/requests/ContainerImagesListRequest.js +5 -0
- package/api/resources/containerImages/client/requests/PushContainerImageRequest.d.ts +16 -0
- package/api/resources/containerImages/client/requests/PushContainerImageRequest.js +5 -0
- package/api/resources/containerImages/client/requests/index.d.ts +2 -0
- package/api/resources/containerImages/client/requests/index.js +2 -0
- package/api/resources/containerImages/index.d.ts +1 -0
- package/api/resources/containerImages/index.js +17 -0
- package/api/resources/deployments/client/Client.js +5 -5
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/metricDefinitions/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +4 -4
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +1 -1
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/ContainerImageRead.d.ts +14 -0
- package/api/types/ContainerImageRead.js +5 -0
- package/api/types/EntityVisibility.d.ts +16 -0
- package/api/types/EntityVisibility.js +12 -0
- package/api/types/PaginatedContainerImageReadList.d.ts +10 -0
- package/api/types/PaginatedContainerImageReadList.js +5 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +39 -34
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.d.ts +61 -0
- package/dist/api/resources/containerImages/client/Client.js +231 -0
- package/dist/api/resources/containerImages/client/index.d.ts +1 -0
- package/dist/api/resources/containerImages/client/index.js +17 -0
- package/dist/api/resources/containerImages/client/requests/ContainerImagesListRequest.d.ts +21 -0
- package/dist/api/resources/containerImages/client/requests/ContainerImagesListRequest.js +5 -0
- package/dist/api/resources/containerImages/client/requests/PushContainerImageRequest.d.ts +16 -0
- package/dist/api/resources/containerImages/client/requests/PushContainerImageRequest.js +5 -0
- package/dist/api/resources/containerImages/client/requests/index.d.ts +2 -0
- package/dist/api/resources/containerImages/client/requests/index.js +2 -0
- package/dist/api/resources/containerImages/index.d.ts +1 -0
- package/dist/api/resources/containerImages/index.js +17 -0
- package/dist/api/resources/deployments/client/Client.js +5 -5
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +1 -1
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/ContainerImageRead.d.ts +14 -0
- package/dist/api/types/ContainerImageRead.js +5 -0
- package/dist/api/types/EntityVisibility.d.ts +16 -0
- package/dist/api/types/EntityVisibility.js +12 -0
- package/dist/api/types/PaginatedContainerImageReadList.d.ts +10 -0
- package/dist/api/types/PaginatedContainerImageReadList.js +5 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/resources/containerImages/client/index.d.ts +1 -0
- package/dist/serialization/resources/containerImages/client/index.js +17 -0
- package/dist/serialization/resources/containerImages/client/requests/PushContainerImageRequest.d.ts +14 -0
- package/dist/serialization/resources/containerImages/client/requests/PushContainerImageRequest.js +35 -0
- package/dist/serialization/resources/containerImages/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/containerImages/client/requests/index.js +5 -0
- package/dist/serialization/resources/containerImages/index.d.ts +1 -0
- package/dist/serialization/resources/containerImages/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/types/ContainerImageRead.d.ts +20 -0
- package/dist/serialization/types/ContainerImageRead.js +41 -0
- package/dist/serialization/types/EntityVisibility.d.ts +10 -0
- package/dist/serialization/types/EntityVisibility.js +31 -0
- package/dist/serialization/types/PaginatedContainerImageReadList.d.ts +16 -0
- package/dist/serialization/types/PaginatedContainerImageReadList.js +37 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +195 -0
- package/serialization/resources/containerImages/client/index.d.ts +1 -0
- package/serialization/resources/containerImages/client/index.js +17 -0
- package/serialization/resources/containerImages/client/requests/PushContainerImageRequest.d.ts +14 -0
- package/serialization/resources/containerImages/client/requests/PushContainerImageRequest.js +35 -0
- package/serialization/resources/containerImages/client/requests/index.d.ts +1 -0
- package/serialization/resources/containerImages/client/requests/index.js +5 -0
- package/serialization/resources/containerImages/index.d.ts +1 -0
- package/serialization/resources/containerImages/index.js +17 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/types/ContainerImageRead.d.ts +20 -0
- package/serialization/types/ContainerImageRead.js +41 -0
- package/serialization/types/EntityVisibility.d.ts +10 -0
- package/serialization/types/EntityVisibility.js +31 -0
- package/serialization/types/PaginatedContainerImageReadList.d.ts +16 -0
- package/serialization/types/PaginatedContainerImageReadList.js +37 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1192,6 +1192,30 @@ types:
|
|
|
1192
1192
|
source_handle_id: optional<string>
|
|
1193
1193
|
source:
|
|
1194
1194
|
openapi: openapi/openapi.yml
|
|
1195
|
+
ContainerImageRead:
|
|
1196
|
+
properties:
|
|
1197
|
+
id:
|
|
1198
|
+
type: string
|
|
1199
|
+
validation:
|
|
1200
|
+
format: uuid
|
|
1201
|
+
name:
|
|
1202
|
+
type: string
|
|
1203
|
+
validation:
|
|
1204
|
+
maxLength: 4096
|
|
1205
|
+
visibility: EntityVisibility
|
|
1206
|
+
created: datetime
|
|
1207
|
+
modified: datetime
|
|
1208
|
+
repository:
|
|
1209
|
+
type: string
|
|
1210
|
+
validation:
|
|
1211
|
+
maxLength: 4096
|
|
1212
|
+
sha:
|
|
1213
|
+
type: string
|
|
1214
|
+
validation:
|
|
1215
|
+
maxLength: 256
|
|
1216
|
+
tags: list<string>
|
|
1217
|
+
source:
|
|
1218
|
+
openapi: openapi/openapi.yml
|
|
1195
1219
|
CreateEnum: literal<"CREATE">
|
|
1196
1220
|
CreateTestSuiteTestCaseRequest:
|
|
1197
1221
|
docs: Information about the Test Case to create
|
|
@@ -1498,6 +1522,19 @@ types:
|
|
|
1498
1522
|
* `ARCHIVED` - Archived
|
|
1499
1523
|
source:
|
|
1500
1524
|
openapi: openapi/openapi.yml
|
|
1525
|
+
EntityVisibility:
|
|
1526
|
+
enum:
|
|
1527
|
+
- DEFAULT
|
|
1528
|
+
- PUBLIC
|
|
1529
|
+
- PRIVATE
|
|
1530
|
+
- DISABLED
|
|
1531
|
+
docs: |-
|
|
1532
|
+
* `DEFAULT` - Default
|
|
1533
|
+
* `PUBLIC` - Public
|
|
1534
|
+
* `PRIVATE` - Private
|
|
1535
|
+
* `DISABLED` - Disabled
|
|
1536
|
+
source:
|
|
1537
|
+
openapi: openapi/openapi.yml
|
|
1501
1538
|
EnvironmentEnum:
|
|
1502
1539
|
enum:
|
|
1503
1540
|
- DEVELOPMENT
|
|
@@ -3117,6 +3154,20 @@ types:
|
|
|
3117
3154
|
model_name: literal<"text-embedding-ada-002">
|
|
3118
3155
|
source:
|
|
3119
3156
|
openapi: openapi/openapi.yml
|
|
3157
|
+
PaginatedContainerImageReadList:
|
|
3158
|
+
properties:
|
|
3159
|
+
count: optional<integer>
|
|
3160
|
+
next:
|
|
3161
|
+
type: optional<string>
|
|
3162
|
+
validation:
|
|
3163
|
+
format: uri
|
|
3164
|
+
previous:
|
|
3165
|
+
type: optional<string>
|
|
3166
|
+
validation:
|
|
3167
|
+
format: uri
|
|
3168
|
+
results: optional<list<ContainerImageRead>>
|
|
3169
|
+
source:
|
|
3170
|
+
openapi: openapi/openapi.yml
|
|
3120
3171
|
PaginatedDocumentIndexReadList:
|
|
3121
3172
|
properties:
|
|
3122
3173
|
count: optional<integer>
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: __package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
list:
|
|
8
|
+
path: /v1/container-images
|
|
9
|
+
method: GET
|
|
10
|
+
auth: true
|
|
11
|
+
docs: Retrieve a list of container images for the organization.
|
|
12
|
+
request:
|
|
13
|
+
name: ContainerImagesListRequest
|
|
14
|
+
query-parameters:
|
|
15
|
+
limit:
|
|
16
|
+
type: optional<integer>
|
|
17
|
+
docs: Number of results to return per page.
|
|
18
|
+
offset:
|
|
19
|
+
type: optional<integer>
|
|
20
|
+
docs: The initial index from which to return the results.
|
|
21
|
+
ordering:
|
|
22
|
+
type: optional<string>
|
|
23
|
+
docs: Which field to use when ordering the results.
|
|
24
|
+
response:
|
|
25
|
+
docs: ''
|
|
26
|
+
type: root.PaginatedContainerImageReadList
|
|
27
|
+
url: Default
|
|
28
|
+
availability: pre-release
|
|
29
|
+
examples:
|
|
30
|
+
- response:
|
|
31
|
+
body:
|
|
32
|
+
count: 123
|
|
33
|
+
next: http://api.example.org/accounts/?offset=400&limit=100
|
|
34
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100
|
|
35
|
+
results:
|
|
36
|
+
- id: id
|
|
37
|
+
name: name
|
|
38
|
+
visibility: DEFAULT
|
|
39
|
+
created: '2024-01-15T09:30:00Z'
|
|
40
|
+
modified: '2024-01-15T09:30:00Z'
|
|
41
|
+
repository: repository
|
|
42
|
+
sha: sha
|
|
43
|
+
tags:
|
|
44
|
+
- tags
|
|
45
|
+
audiences:
|
|
46
|
+
- internal
|
|
47
|
+
retrieve:
|
|
48
|
+
path: /v1/container-images/{id}
|
|
49
|
+
method: GET
|
|
50
|
+
auth: true
|
|
51
|
+
docs: Retrieve a Container Image by its ID or name.
|
|
52
|
+
path-parameters:
|
|
53
|
+
id:
|
|
54
|
+
type: string
|
|
55
|
+
docs: Either the Container Image's ID or its unique name
|
|
56
|
+
response:
|
|
57
|
+
docs: ''
|
|
58
|
+
type: root.ContainerImageRead
|
|
59
|
+
url: Default
|
|
60
|
+
availability: pre-release
|
|
61
|
+
examples:
|
|
62
|
+
- path-parameters:
|
|
63
|
+
id: id
|
|
64
|
+
response:
|
|
65
|
+
body:
|
|
66
|
+
id: id
|
|
67
|
+
name: name
|
|
68
|
+
visibility: DEFAULT
|
|
69
|
+
created: '2024-01-15T09:30:00Z'
|
|
70
|
+
modified: '2024-01-15T09:30:00Z'
|
|
71
|
+
repository: repository
|
|
72
|
+
sha: sha
|
|
73
|
+
tags:
|
|
74
|
+
- tags
|
|
75
|
+
audiences:
|
|
76
|
+
- internal
|
|
77
|
+
push_container_image:
|
|
78
|
+
path: /v1/container-images/push
|
|
79
|
+
method: POST
|
|
80
|
+
auth: true
|
|
81
|
+
docs: >-
|
|
82
|
+
An internal-only endpoint that's subject to breaking changes without
|
|
83
|
+
notice. Not intended for public use.
|
|
84
|
+
request:
|
|
85
|
+
name: PushContainerImageRequest
|
|
86
|
+
body:
|
|
87
|
+
properties:
|
|
88
|
+
name:
|
|
89
|
+
type: string
|
|
90
|
+
validation:
|
|
91
|
+
minLength: 1
|
|
92
|
+
sha:
|
|
93
|
+
type: string
|
|
94
|
+
validation:
|
|
95
|
+
minLength: 1
|
|
96
|
+
tags: list<string>
|
|
97
|
+
response:
|
|
98
|
+
docs: ''
|
|
99
|
+
type: root.ContainerImageRead
|
|
100
|
+
url: Default
|
|
101
|
+
availability: pre-release
|
|
102
|
+
examples:
|
|
103
|
+
- request:
|
|
104
|
+
name: name
|
|
105
|
+
sha: sha
|
|
106
|
+
tags:
|
|
107
|
+
- tags
|
|
108
|
+
response:
|
|
109
|
+
body:
|
|
110
|
+
id: id
|
|
111
|
+
name: name
|
|
112
|
+
visibility: DEFAULT
|
|
113
|
+
created: '2024-01-15T09:30:00Z'
|
|
114
|
+
modified: '2024-01-15T09:30:00Z'
|
|
115
|
+
repository: repository
|
|
116
|
+
sha: sha
|
|
117
|
+
tags:
|
|
118
|
+
- tags
|
|
119
|
+
audiences:
|
|
120
|
+
- internal
|
|
121
|
+
source:
|
|
122
|
+
openapi: openapi/openapi.yml
|
|
@@ -81,6 +81,95 @@ paths:
|
|
|
81
81
|
x-fern-availability: beta
|
|
82
82
|
x-fern-audiences:
|
|
83
83
|
- internal
|
|
84
|
+
/v1/container-images:
|
|
85
|
+
get:
|
|
86
|
+
operationId: container_images_list
|
|
87
|
+
description: Retrieve a list of container images for the organization.
|
|
88
|
+
parameters:
|
|
89
|
+
- name: limit
|
|
90
|
+
required: false
|
|
91
|
+
in: query
|
|
92
|
+
description: Number of results to return per page.
|
|
93
|
+
schema:
|
|
94
|
+
type: integer
|
|
95
|
+
- name: offset
|
|
96
|
+
required: false
|
|
97
|
+
in: query
|
|
98
|
+
description: The initial index from which to return the results.
|
|
99
|
+
schema:
|
|
100
|
+
type: integer
|
|
101
|
+
- name: ordering
|
|
102
|
+
required: false
|
|
103
|
+
in: query
|
|
104
|
+
description: Which field to use when ordering the results.
|
|
105
|
+
schema:
|
|
106
|
+
type: string
|
|
107
|
+
tags:
|
|
108
|
+
- container-images
|
|
109
|
+
- container-image-tags
|
|
110
|
+
security:
|
|
111
|
+
- apiKeyAuth: []
|
|
112
|
+
responses:
|
|
113
|
+
'200':
|
|
114
|
+
content:
|
|
115
|
+
application/json:
|
|
116
|
+
schema:
|
|
117
|
+
$ref: '#/components/schemas/PaginatedContainerImageReadList'
|
|
118
|
+
description: ''
|
|
119
|
+
x-fern-availability: beta
|
|
120
|
+
x-fern-audiences:
|
|
121
|
+
- internal
|
|
122
|
+
/v1/container-images/{id}:
|
|
123
|
+
get:
|
|
124
|
+
operationId: container_images_retrieve
|
|
125
|
+
description: Retrieve a Container Image by its ID or name.
|
|
126
|
+
parameters:
|
|
127
|
+
- in: path
|
|
128
|
+
name: id
|
|
129
|
+
schema:
|
|
130
|
+
type: string
|
|
131
|
+
description: Either the Container Image's ID or its unique name
|
|
132
|
+
required: true
|
|
133
|
+
tags:
|
|
134
|
+
- container-images
|
|
135
|
+
- container-image-tags
|
|
136
|
+
security:
|
|
137
|
+
- apiKeyAuth: []
|
|
138
|
+
responses:
|
|
139
|
+
'200':
|
|
140
|
+
content:
|
|
141
|
+
application/json:
|
|
142
|
+
schema:
|
|
143
|
+
$ref: '#/components/schemas/ContainerImageRead'
|
|
144
|
+
description: ''
|
|
145
|
+
x-fern-availability: beta
|
|
146
|
+
x-fern-audiences:
|
|
147
|
+
- internal
|
|
148
|
+
/v1/container-images/push:
|
|
149
|
+
post:
|
|
150
|
+
operationId: push_container_image
|
|
151
|
+
description: An internal-only endpoint that's subject to breaking changes without
|
|
152
|
+
notice. Not intended for public use.
|
|
153
|
+
tags:
|
|
154
|
+
- container-images
|
|
155
|
+
requestBody:
|
|
156
|
+
content:
|
|
157
|
+
application/json:
|
|
158
|
+
schema:
|
|
159
|
+
$ref: '#/components/schemas/PushContainerImageRequest'
|
|
160
|
+
required: true
|
|
161
|
+
security:
|
|
162
|
+
- apiKeyAuth: []
|
|
163
|
+
responses:
|
|
164
|
+
'200':
|
|
165
|
+
content:
|
|
166
|
+
application/json:
|
|
167
|
+
schema:
|
|
168
|
+
$ref: '#/components/schemas/ContainerImageRead'
|
|
169
|
+
description: ''
|
|
170
|
+
x-fern-availability: beta
|
|
171
|
+
x-fern-audiences:
|
|
172
|
+
- internal
|
|
84
173
|
/v1/deployments:
|
|
85
174
|
get:
|
|
86
175
|
operationId: deployments_list
|
|
@@ -2885,6 +2974,44 @@ components:
|
|
|
2885
2974
|
source_handle_id:
|
|
2886
2975
|
type: string
|
|
2887
2976
|
nullable: true
|
|
2977
|
+
ContainerImageRead:
|
|
2978
|
+
type: object
|
|
2979
|
+
properties:
|
|
2980
|
+
id:
|
|
2981
|
+
type: string
|
|
2982
|
+
format: uuid
|
|
2983
|
+
readOnly: true
|
|
2984
|
+
name:
|
|
2985
|
+
type: string
|
|
2986
|
+
maxLength: 4096
|
|
2987
|
+
visibility:
|
|
2988
|
+
$ref: '#/components/schemas/EntityVisibility'
|
|
2989
|
+
created:
|
|
2990
|
+
type: string
|
|
2991
|
+
format: date-time
|
|
2992
|
+
modified:
|
|
2993
|
+
type: string
|
|
2994
|
+
format: date-time
|
|
2995
|
+
repository:
|
|
2996
|
+
type: string
|
|
2997
|
+
maxLength: 4096
|
|
2998
|
+
sha:
|
|
2999
|
+
type: string
|
|
3000
|
+
maxLength: 256
|
|
3001
|
+
tags:
|
|
3002
|
+
type: array
|
|
3003
|
+
items:
|
|
3004
|
+
type: string
|
|
3005
|
+
readOnly: true
|
|
3006
|
+
required:
|
|
3007
|
+
- created
|
|
3008
|
+
- id
|
|
3009
|
+
- modified
|
|
3010
|
+
- name
|
|
3011
|
+
- repository
|
|
3012
|
+
- sha
|
|
3013
|
+
- tags
|
|
3014
|
+
- visibility
|
|
2888
3015
|
CreateEnum:
|
|
2889
3016
|
type: string
|
|
2890
3017
|
enum:
|
|
@@ -3469,6 +3596,18 @@ components:
|
|
|
3469
3596
|
description: |-
|
|
3470
3597
|
* `ACTIVE` - Active
|
|
3471
3598
|
* `ARCHIVED` - Archived
|
|
3599
|
+
EntityVisibility:
|
|
3600
|
+
enum:
|
|
3601
|
+
- DEFAULT
|
|
3602
|
+
- PUBLIC
|
|
3603
|
+
- PRIVATE
|
|
3604
|
+
- DISABLED
|
|
3605
|
+
type: string
|
|
3606
|
+
description: |-
|
|
3607
|
+
* `DEFAULT` - Default
|
|
3608
|
+
* `PUBLIC` - Public
|
|
3609
|
+
* `PRIVATE` - Private
|
|
3610
|
+
* `DISABLED` - Disabled
|
|
3472
3611
|
EnvironmentEnum:
|
|
3473
3612
|
enum:
|
|
3474
3613
|
- DEVELOPMENT
|
|
@@ -6390,6 +6529,26 @@ components:
|
|
|
6390
6529
|
required:
|
|
6391
6530
|
- config
|
|
6392
6531
|
- model_name
|
|
6532
|
+
PaginatedContainerImageReadList:
|
|
6533
|
+
type: object
|
|
6534
|
+
properties:
|
|
6535
|
+
count:
|
|
6536
|
+
type: integer
|
|
6537
|
+
example: 123
|
|
6538
|
+
next:
|
|
6539
|
+
type: string
|
|
6540
|
+
nullable: true
|
|
6541
|
+
format: uri
|
|
6542
|
+
example: http://api.example.org/accounts/?offset=400&limit=100
|
|
6543
|
+
previous:
|
|
6544
|
+
type: string
|
|
6545
|
+
nullable: true
|
|
6546
|
+
format: uri
|
|
6547
|
+
example: http://api.example.org/accounts/?offset=200&limit=100
|
|
6548
|
+
results:
|
|
6549
|
+
type: array
|
|
6550
|
+
items:
|
|
6551
|
+
$ref: '#/components/schemas/ContainerImageRead'
|
|
6393
6552
|
PaginatedDocumentIndexReadList:
|
|
6394
6553
|
type: object
|
|
6395
6554
|
properties:
|
|
@@ -6974,6 +7133,24 @@ components:
|
|
|
6974
7133
|
type: number
|
|
6975
7134
|
format: double
|
|
6976
7135
|
nullable: true
|
|
7136
|
+
PushContainerImageRequest:
|
|
7137
|
+
type: object
|
|
7138
|
+
properties:
|
|
7139
|
+
name:
|
|
7140
|
+
type: string
|
|
7141
|
+
minLength: 1
|
|
7142
|
+
sha:
|
|
7143
|
+
type: string
|
|
7144
|
+
minLength: 1
|
|
7145
|
+
tags:
|
|
7146
|
+
type: array
|
|
7147
|
+
items:
|
|
7148
|
+
type: string
|
|
7149
|
+
minLength: 1
|
|
7150
|
+
required:
|
|
7151
|
+
- name
|
|
7152
|
+
- sha
|
|
7153
|
+
- tags
|
|
6977
7154
|
RawPromptExecutionOverridesRequest:
|
|
6978
7155
|
type: object
|
|
6979
7156
|
properties:
|
package/Client.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as environments from "./environments";
|
|
|
5
5
|
import * as core from "./core";
|
|
6
6
|
import * as Vellum from "./api/index";
|
|
7
7
|
import { AdHoc } from "./api/resources/adHoc/client/Client";
|
|
8
|
+
import { ContainerImages } from "./api/resources/containerImages/client/Client";
|
|
8
9
|
import { Deployments } from "./api/resources/deployments/client/Client";
|
|
9
10
|
import { DocumentIndexes } from "./api/resources/documentIndexes/client/Client";
|
|
10
11
|
import { Documents } from "./api/resources/documents/client/Client";
|
|
@@ -189,6 +190,8 @@ export declare class VellumClient {
|
|
|
189
190
|
submitWorkflowExecutionActuals(request: Vellum.SubmitWorkflowExecutionActualsRequest, requestOptions?: VellumClient.RequestOptions): Promise<void>;
|
|
190
191
|
protected _adHoc: AdHoc | undefined;
|
|
191
192
|
get adHoc(): AdHoc;
|
|
193
|
+
protected _containerImages: ContainerImages | undefined;
|
|
194
|
+
get containerImages(): ContainerImages;
|
|
192
195
|
protected _deployments: Deployments | undefined;
|
|
193
196
|
get deployments(): Deployments;
|
|
194
197
|
protected _documentIndexes: DocumentIndexes | undefined;
|
package/Client.js
CHANGED
|
@@ -46,18 +46,19 @@ const serializers = __importStar(require("./serialization/index"));
|
|
|
46
46
|
const url_join_1 = __importDefault(require("url-join"));
|
|
47
47
|
const errors = __importStar(require("./errors/index"));
|
|
48
48
|
const Client_1 = require("./api/resources/adHoc/client/Client");
|
|
49
|
-
const Client_2 = require("./api/resources/
|
|
50
|
-
const Client_3 = require("./api/resources/
|
|
51
|
-
const Client_4 = require("./api/resources/
|
|
52
|
-
const Client_5 = require("./api/resources/
|
|
53
|
-
const Client_6 = require("./api/resources/
|
|
54
|
-
const Client_7 = require("./api/resources/
|
|
55
|
-
const Client_8 = require("./api/resources/
|
|
56
|
-
const Client_9 = require("./api/resources/
|
|
57
|
-
const Client_10 = require("./api/resources/
|
|
58
|
-
const Client_11 = require("./api/resources/
|
|
59
|
-
const Client_12 = require("./api/resources/
|
|
60
|
-
const Client_13 = require("./api/resources/
|
|
49
|
+
const Client_2 = require("./api/resources/containerImages/client/Client");
|
|
50
|
+
const Client_3 = require("./api/resources/deployments/client/Client");
|
|
51
|
+
const Client_4 = require("./api/resources/documentIndexes/client/Client");
|
|
52
|
+
const Client_5 = require("./api/resources/documents/client/Client");
|
|
53
|
+
const Client_6 = require("./api/resources/folderEntities/client/Client");
|
|
54
|
+
const Client_7 = require("./api/resources/metricDefinitions/client/Client");
|
|
55
|
+
const Client_8 = require("./api/resources/sandboxes/client/Client");
|
|
56
|
+
const Client_9 = require("./api/resources/testSuiteRuns/client/Client");
|
|
57
|
+
const Client_10 = require("./api/resources/testSuites/client/Client");
|
|
58
|
+
const Client_11 = require("./api/resources/workflowDeployments/client/Client");
|
|
59
|
+
const Client_12 = require("./api/resources/workflowSandboxes/client/Client");
|
|
60
|
+
const Client_13 = require("./api/resources/workflows/client/Client");
|
|
61
|
+
const Client_14 = require("./api/resources/workspaceSecrets/client/Client");
|
|
61
62
|
class VellumClient {
|
|
62
63
|
constructor(_options = {}) {
|
|
63
64
|
this._options = _options;
|
|
@@ -93,7 +94,7 @@ class VellumClient {
|
|
|
93
94
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
94
95
|
.default, "v1/execute-code"),
|
|
95
96
|
method: "POST",
|
|
96
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
97
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
97
98
|
contentType: "application/json",
|
|
98
99
|
requestType: "json",
|
|
99
100
|
body: serializers.CodeExecutorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -162,7 +163,7 @@ class VellumClient {
|
|
|
162
163
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
163
164
|
.predict, "v1/execute-prompt"),
|
|
164
165
|
method: "POST",
|
|
165
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
166
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
166
167
|
contentType: "application/json",
|
|
167
168
|
requestType: "json",
|
|
168
169
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -220,7 +221,7 @@ class VellumClient {
|
|
|
220
221
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
221
222
|
.predict, "v1/execute-prompt-stream"),
|
|
222
223
|
method: "POST",
|
|
223
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
224
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
224
225
|
contentType: "application/json",
|
|
225
226
|
requestType: "json",
|
|
226
227
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -305,7 +306,7 @@ class VellumClient {
|
|
|
305
306
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
306
307
|
.predict, "v1/execute-workflow"),
|
|
307
308
|
method: "POST",
|
|
308
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
309
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
309
310
|
contentType: "application/json",
|
|
310
311
|
requestType: "json",
|
|
311
312
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -361,7 +362,7 @@ class VellumClient {
|
|
|
361
362
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
362
363
|
.predict, "v1/execute-workflow-stream"),
|
|
363
364
|
method: "POST",
|
|
364
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
365
366
|
contentType: "application/json",
|
|
366
367
|
requestType: "json",
|
|
367
368
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -448,7 +449,7 @@ class VellumClient {
|
|
|
448
449
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
449
450
|
.predict, "v1/generate"),
|
|
450
451
|
method: "POST",
|
|
451
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
452
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
452
453
|
contentType: "application/json",
|
|
453
454
|
requestType: "json",
|
|
454
455
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -509,7 +510,7 @@ class VellumClient {
|
|
|
509
510
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
510
511
|
.predict, "v1/generate-stream"),
|
|
511
512
|
method: "POST",
|
|
512
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
513
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
513
514
|
contentType: "application/json",
|
|
514
515
|
requestType: "json",
|
|
515
516
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -590,7 +591,7 @@ class VellumClient {
|
|
|
590
591
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
591
592
|
.predict, "v1/search"),
|
|
592
593
|
method: "POST",
|
|
593
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
594
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
594
595
|
contentType: "application/json",
|
|
595
596
|
requestType: "json",
|
|
596
597
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -658,7 +659,7 @@ class VellumClient {
|
|
|
658
659
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
659
660
|
.predict, "v1/submit-completion-actuals"),
|
|
660
661
|
method: "POST",
|
|
661
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
662
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
662
663
|
contentType: "application/json",
|
|
663
664
|
requestType: "json",
|
|
664
665
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -721,7 +722,7 @@ class VellumClient {
|
|
|
721
722
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
722
723
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
723
724
|
method: "POST",
|
|
724
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
725
726
|
contentType: "application/json",
|
|
726
727
|
requestType: "json",
|
|
727
728
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -759,53 +760,57 @@ class VellumClient {
|
|
|
759
760
|
var _a;
|
|
760
761
|
return ((_a = this._adHoc) !== null && _a !== void 0 ? _a : (this._adHoc = new Client_1.AdHoc(this._options)));
|
|
761
762
|
}
|
|
763
|
+
get containerImages() {
|
|
764
|
+
var _a;
|
|
765
|
+
return ((_a = this._containerImages) !== null && _a !== void 0 ? _a : (this._containerImages = new Client_2.ContainerImages(this._options)));
|
|
766
|
+
}
|
|
762
767
|
get deployments() {
|
|
763
768
|
var _a;
|
|
764
|
-
return ((_a = this._deployments) !== null && _a !== void 0 ? _a : (this._deployments = new
|
|
769
|
+
return ((_a = this._deployments) !== null && _a !== void 0 ? _a : (this._deployments = new Client_3.Deployments(this._options)));
|
|
765
770
|
}
|
|
766
771
|
get documentIndexes() {
|
|
767
772
|
var _a;
|
|
768
|
-
return ((_a = this._documentIndexes) !== null && _a !== void 0 ? _a : (this._documentIndexes = new
|
|
773
|
+
return ((_a = this._documentIndexes) !== null && _a !== void 0 ? _a : (this._documentIndexes = new Client_4.DocumentIndexes(this._options)));
|
|
769
774
|
}
|
|
770
775
|
get documents() {
|
|
771
776
|
var _a;
|
|
772
|
-
return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new
|
|
777
|
+
return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new Client_5.Documents(this._options)));
|
|
773
778
|
}
|
|
774
779
|
get folderEntities() {
|
|
775
780
|
var _a;
|
|
776
|
-
return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new
|
|
781
|
+
return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new Client_6.FolderEntities(this._options)));
|
|
777
782
|
}
|
|
778
783
|
get metricDefinitions() {
|
|
779
784
|
var _a;
|
|
780
|
-
return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new
|
|
785
|
+
return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new Client_7.MetricDefinitions(this._options)));
|
|
781
786
|
}
|
|
782
787
|
get sandboxes() {
|
|
783
788
|
var _a;
|
|
784
|
-
return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new
|
|
789
|
+
return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_8.Sandboxes(this._options)));
|
|
785
790
|
}
|
|
786
791
|
get testSuiteRuns() {
|
|
787
792
|
var _a;
|
|
788
|
-
return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new
|
|
793
|
+
return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_9.TestSuiteRuns(this._options)));
|
|
789
794
|
}
|
|
790
795
|
get testSuites() {
|
|
791
796
|
var _a;
|
|
792
|
-
return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new
|
|
797
|
+
return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_10.TestSuites(this._options)));
|
|
793
798
|
}
|
|
794
799
|
get workflowDeployments() {
|
|
795
800
|
var _a;
|
|
796
|
-
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new
|
|
801
|
+
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_11.WorkflowDeployments(this._options)));
|
|
797
802
|
}
|
|
798
803
|
get workflowSandboxes() {
|
|
799
804
|
var _a;
|
|
800
|
-
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new
|
|
805
|
+
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_12.WorkflowSandboxes(this._options)));
|
|
801
806
|
}
|
|
802
807
|
get workflows() {
|
|
803
808
|
var _a;
|
|
804
|
-
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new
|
|
809
|
+
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_13.Workflows(this._options)));
|
|
805
810
|
}
|
|
806
811
|
get workspaceSecrets() {
|
|
807
812
|
var _a;
|
|
808
|
-
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new
|
|
813
|
+
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_14.WorkspaceSecrets(this._options)));
|
|
809
814
|
}
|
|
810
815
|
_getCustomAuthorizationHeaders() {
|
|
811
816
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -59,7 +59,7 @@ class AdHoc {
|
|
|
59
59
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
60
60
|
.default, "v1/ad-hoc/execute-prompt-stream"),
|
|
61
61
|
method: "POST",
|
|
62
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
62
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
63
63
|
contentType: "application/json",
|
|
64
64
|
requestType: "json",
|
|
65
65
|
body: serializers.AdHocExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|