current-cli 0.1.63__tar.gz → 0.1.65__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: current-cli
3
- Version: 0.1.63
3
+ Version: 0.1.65
4
4
  Summary: Command line interface for the Current API, generated from its OpenAPI schema at runtime
5
5
  Author-email: Orin <your-email@example.com>
6
6
  License-Expression: MIT
@@ -250,6 +250,149 @@ paths:
250
250
  schema:
251
251
  $ref: '#/components/schemas/VerifyMagicLinkResponse'
252
252
  description: ''
253
+ /api/accounts/credential-requests/:
254
+ get:
255
+ operationId: accounts_credential_requests_list
256
+ tags:
257
+ - accounts
258
+ security:
259
+ - MessagingJobTokenAuth: []
260
+ - tokenAuth: []
261
+ responses:
262
+ '200':
263
+ content:
264
+ application/json:
265
+ schema:
266
+ type: array
267
+ items:
268
+ $ref: '#/components/schemas/CredentialRequestList'
269
+ description: ''
270
+ post:
271
+ operationId: accounts_credential_requests_create
272
+ tags:
273
+ - accounts
274
+ requestBody:
275
+ content:
276
+ application/json:
277
+ schema:
278
+ $ref: '#/components/schemas/CreateCredentialRequestRequest'
279
+ application/x-www-form-urlencoded:
280
+ schema:
281
+ $ref: '#/components/schemas/CreateCredentialRequestRequest'
282
+ multipart/form-data:
283
+ schema:
284
+ $ref: '#/components/schemas/CreateCredentialRequestRequest'
285
+ required: true
286
+ security:
287
+ - MessagingJobTokenAuth: []
288
+ - tokenAuth: []
289
+ responses:
290
+ '201':
291
+ content:
292
+ application/json:
293
+ schema:
294
+ $ref: '#/components/schemas/CredentialRequestCreated'
295
+ description: ''
296
+ /api/accounts/credential-requests/{request_id}/read/:
297
+ get:
298
+ operationId: accounts_credential_requests_read_retrieve
299
+ parameters:
300
+ - in: path
301
+ name: request_id
302
+ schema:
303
+ type: string
304
+ format: uuid
305
+ required: true
306
+ tags:
307
+ - accounts
308
+ security:
309
+ - MessagingJobTokenAuth: []
310
+ - tokenAuth: []
311
+ responses:
312
+ '200':
313
+ content:
314
+ application/json:
315
+ schema:
316
+ $ref: '#/components/schemas/CredentialRequestRead'
317
+ description: ''
318
+ /api/accounts/credential-requests/code/:
319
+ post:
320
+ operationId: accounts_credential_requests_code_create
321
+ tags:
322
+ - accounts
323
+ requestBody:
324
+ content:
325
+ application/json:
326
+ schema:
327
+ $ref: '#/components/schemas/CredentialTokenRequest'
328
+ application/x-www-form-urlencoded:
329
+ schema:
330
+ $ref: '#/components/schemas/CredentialTokenRequest'
331
+ multipart/form-data:
332
+ schema:
333
+ $ref: '#/components/schemas/CredentialTokenRequest'
334
+ required: true
335
+ security:
336
+ - {}
337
+ responses:
338
+ '200':
339
+ content:
340
+ application/json:
341
+ schema:
342
+ $ref: '#/components/schemas/CredentialCodeSent'
343
+ description: ''
344
+ /api/accounts/credential-requests/submit/:
345
+ post:
346
+ operationId: accounts_credential_requests_submit_create
347
+ tags:
348
+ - accounts
349
+ requestBody:
350
+ content:
351
+ application/json:
352
+ schema:
353
+ $ref: '#/components/schemas/SubmitCredentialsRequest'
354
+ application/x-www-form-urlencoded:
355
+ schema:
356
+ $ref: '#/components/schemas/SubmitCredentialsRequest'
357
+ multipart/form-data:
358
+ schema:
359
+ $ref: '#/components/schemas/SubmitCredentialsRequest'
360
+ required: true
361
+ security:
362
+ - {}
363
+ responses:
364
+ '200':
365
+ content:
366
+ application/json:
367
+ schema:
368
+ $ref: '#/components/schemas/CredentialsSubmitted'
369
+ description: ''
370
+ /api/accounts/credential-requests/verify/:
371
+ post:
372
+ operationId: accounts_credential_requests_verify_create
373
+ tags:
374
+ - accounts
375
+ requestBody:
376
+ content:
377
+ application/json:
378
+ schema:
379
+ $ref: '#/components/schemas/CredentialCodeRequest'
380
+ application/x-www-form-urlencoded:
381
+ schema:
382
+ $ref: '#/components/schemas/CredentialCodeRequest'
383
+ multipart/form-data:
384
+ schema:
385
+ $ref: '#/components/schemas/CredentialCodeRequest'
386
+ required: true
387
+ security:
388
+ - {}
389
+ responses:
390
+ '200':
391
+ content:
392
+ application/json:
393
+ schema:
394
+ $ref: '#/components/schemas/CredentialCodeVerified'
395
+ description: ''
253
396
  /api/contacts/contacts/:
254
397
  get:
255
398
  operationId: contacts_contacts_list
@@ -4461,6 +4604,27 @@ paths:
4461
4604
  schema:
4462
4605
  $ref: '#/components/schemas/PromoteResponse'
4463
4606
  description: ''
4607
+ /api/workflows/runs/{run_id}/models/snapshots/:
4608
+ get:
4609
+ operationId: workflows_runs_models_snapshots_retrieve
4610
+ parameters:
4611
+ - in: path
4612
+ name: run_id
4613
+ schema:
4614
+ type: string
4615
+ format: uuid
4616
+ required: true
4617
+ tags:
4618
+ - workflows
4619
+ security:
4620
+ - RunTokenAuth: []
4621
+ responses:
4622
+ '200':
4623
+ content:
4624
+ application/json:
4625
+ schema:
4626
+ $ref: '#/components/schemas/ModelSnapshotsResponse'
4627
+ description: ''
4464
4628
  /api/workflows/runs/{run_id}/tools/{tool_name}/invoke/:
4465
4629
  post:
4466
4630
  operationId: workflows_runs_tools_invoke_create
@@ -4841,6 +5005,96 @@ paths:
4841
5005
  schema:
4842
5006
  $ref: '#/components/schemas/AcceptInviteResponse'
4843
5007
  description: ''
5008
+ /api/workspaces/models/:
5009
+ get:
5010
+ operationId: workspaces_models_list
5011
+ description: Discover and read models belonging to the caller's workspace.
5012
+ tags:
5013
+ - workspaces
5014
+ security:
5015
+ - MessagingJobTokenAuth: []
5016
+ - tokenAuth: []
5017
+ responses:
5018
+ '200':
5019
+ content:
5020
+ application/json:
5021
+ schema:
5022
+ type: array
5023
+ items:
5024
+ $ref: '#/components/schemas/WorkspaceModel'
5025
+ description: ''
5026
+ /api/workspaces/models/{id}/:
5027
+ get:
5028
+ operationId: workspaces_models_retrieve
5029
+ description: Discover and read models belonging to the caller's workspace.
5030
+ parameters:
5031
+ - in: path
5032
+ name: id
5033
+ schema:
5034
+ type: string
5035
+ format: uuid
5036
+ description: A UUID string identifying this workspace model.
5037
+ required: true
5038
+ tags:
5039
+ - workspaces
5040
+ security:
5041
+ - MessagingJobTokenAuth: []
5042
+ - tokenAuth: []
5043
+ responses:
5044
+ '200':
5045
+ content:
5046
+ application/json:
5047
+ schema:
5048
+ $ref: '#/components/schemas/WorkspaceModel'
5049
+ description: ''
5050
+ /api/workspaces/models/{id}/records/:
5051
+ get:
5052
+ operationId: workspaces_models_records_retrieve
5053
+ description: Discover and read models belonging to the caller's workspace.
5054
+ parameters:
5055
+ - in: path
5056
+ name: id
5057
+ schema:
5058
+ type: string
5059
+ format: uuid
5060
+ description: A UUID string identifying this workspace model.
5061
+ required: true
5062
+ tags:
5063
+ - workspaces
5064
+ security:
5065
+ - MessagingJobTokenAuth: []
5066
+ - tokenAuth: []
5067
+ responses:
5068
+ '200':
5069
+ content:
5070
+ application/json:
5071
+ schema:
5072
+ $ref: '#/components/schemas/WorkspaceModel'
5073
+ description: ''
5074
+ /api/workspaces/models/{id}/snapshot/:
5075
+ get:
5076
+ operationId: workspaces_models_snapshot_retrieve
5077
+ description: Discover and read models belonging to the caller's workspace.
5078
+ parameters:
5079
+ - in: path
5080
+ name: id
5081
+ schema:
5082
+ type: string
5083
+ format: uuid
5084
+ description: A UUID string identifying this workspace model.
5085
+ required: true
5086
+ tags:
5087
+ - workspaces
5088
+ security:
5089
+ - MessagingJobTokenAuth: []
5090
+ - tokenAuth: []
5091
+ responses:
5092
+ '200':
5093
+ content:
5094
+ application/json:
5095
+ schema:
5096
+ $ref: '#/components/schemas/WorkspaceModel'
5097
+ description: ''
4844
5098
  /api/workspaces/workspaces/:
4845
5099
  get:
4846
5100
  operationId: workspaces_workspaces_list
@@ -5815,6 +6069,140 @@ components:
5815
6069
  required:
5816
6070
  - name
5817
6071
  - workspace
6072
+ CreateCredentialRequestRequest:
6073
+ type: object
6074
+ properties:
6075
+ recipient_email:
6076
+ type: string
6077
+ format: email
6078
+ minLength: 1
6079
+ label:
6080
+ type: string
6081
+ minLength: 1
6082
+ maxLength: 160
6083
+ required:
6084
+ - label
6085
+ - recipient_email
6086
+ CredentialCodeRequest:
6087
+ type: object
6088
+ properties:
6089
+ token:
6090
+ type: string
6091
+ minLength: 1
6092
+ maxLength: 64
6093
+ code:
6094
+ type: string
6095
+ minLength: 1
6096
+ pattern: ^\d{6}$
6097
+ required:
6098
+ - code
6099
+ - token
6100
+ CredentialCodeSent:
6101
+ type: object
6102
+ properties:
6103
+ detail:
6104
+ type: string
6105
+ required:
6106
+ - detail
6107
+ CredentialCodeVerified:
6108
+ type: object
6109
+ properties:
6110
+ ticket:
6111
+ type: string
6112
+ required:
6113
+ - ticket
6114
+ CredentialRequestCreated:
6115
+ type: object
6116
+ properties:
6117
+ id:
6118
+ type: string
6119
+ format: uuid
6120
+ url:
6121
+ type: string
6122
+ expires_at:
6123
+ type: string
6124
+ format: date-time
6125
+ required:
6126
+ - expires_at
6127
+ - id
6128
+ - url
6129
+ CredentialRequestList:
6130
+ type: object
6131
+ properties:
6132
+ id:
6133
+ type: string
6134
+ format: uuid
6135
+ recipient_email:
6136
+ type: string
6137
+ format: email
6138
+ label:
6139
+ type: string
6140
+ created_at:
6141
+ type: string
6142
+ format: date-time
6143
+ expires_at:
6144
+ type: string
6145
+ format: date-time
6146
+ submitted_at:
6147
+ type: string
6148
+ format: date-time
6149
+ nullable: true
6150
+ visible_until:
6151
+ type: string
6152
+ format: date-time
6153
+ nullable: true
6154
+ credentials_available:
6155
+ type: boolean
6156
+ link_active:
6157
+ type: boolean
6158
+ required:
6159
+ - created_at
6160
+ - credentials_available
6161
+ - expires_at
6162
+ - id
6163
+ - label
6164
+ - link_active
6165
+ - recipient_email
6166
+ - submitted_at
6167
+ - visible_until
6168
+ CredentialRequestRead:
6169
+ type: object
6170
+ properties:
6171
+ id:
6172
+ type: string
6173
+ format: uuid
6174
+ label:
6175
+ type: string
6176
+ recipient_email:
6177
+ type: string
6178
+ format: email
6179
+ credentials:
6180
+ type: string
6181
+ visible_until:
6182
+ type: string
6183
+ format: date-time
6184
+ required:
6185
+ - credentials
6186
+ - id
6187
+ - label
6188
+ - recipient_email
6189
+ - visible_until
6190
+ CredentialTokenRequest:
6191
+ type: object
6192
+ properties:
6193
+ token:
6194
+ type: string
6195
+ minLength: 1
6196
+ maxLength: 64
6197
+ required:
6198
+ - token
6199
+ CredentialsSubmitted:
6200
+ type: object
6201
+ properties:
6202
+ detail:
6203
+ type: string
6204
+ required:
6205
+ - detail
5818
6206
  DataTypeEnum:
5819
6207
  enum:
5820
6208
  - text
@@ -7022,6 +7410,14 @@ components:
7022
7410
  required:
7023
7411
  - paths
7024
7412
  - project
7413
+ ModelSnapshotsResponse:
7414
+ type: object
7415
+ properties:
7416
+ models:
7417
+ type: object
7418
+ additionalProperties: {}
7419
+ required:
7420
+ - models
7025
7421
  NullEnum:
7026
7422
  enum:
7027
7423
  - null
@@ -8610,6 +9006,25 @@ components:
8610
9006
  * `succeeded` - Succeeded
8611
9007
  * `failed` - Failed
8612
9008
  * `skipped` - Skipped
9009
+ SubmitCredentialsRequest:
9010
+ type: object
9011
+ properties:
9012
+ token:
9013
+ type: string
9014
+ minLength: 1
9015
+ maxLength: 64
9016
+ ticket:
9017
+ type: string
9018
+ minLength: 1
9019
+ maxLength: 512
9020
+ credentials:
9021
+ type: string
9022
+ minLength: 1
9023
+ maxLength: 20000
9024
+ required:
9025
+ - credentials
9026
+ - ticket
9027
+ - token
8613
9028
  Supplier:
8614
9029
  type: object
8615
9030
  properties:
@@ -9505,6 +9920,42 @@ components:
9505
9920
  properties:
9506
9921
  role:
9507
9922
  $ref: '#/components/schemas/RoleEnum'
9923
+ WorkspaceModel:
9924
+ type: object
9925
+ properties:
9926
+ id:
9927
+ type: string
9928
+ format: uuid
9929
+ readOnly: true
9930
+ workspace:
9931
+ type: string
9932
+ format: uuid
9933
+ readOnly: true
9934
+ key:
9935
+ type: string
9936
+ readOnly: true
9937
+ pattern: ^[-a-zA-Z0-9_]+$
9938
+ label:
9939
+ type: string
9940
+ readOnly: true
9941
+ description:
9942
+ type: string
9943
+ readOnly: true
9944
+ revision:
9945
+ type: string
9946
+ format: uuid
9947
+ readOnly: true
9948
+ preloaded:
9949
+ type: boolean
9950
+ readOnly: true
9951
+ required:
9952
+ - description
9953
+ - id
9954
+ - key
9955
+ - label
9956
+ - preloaded
9957
+ - revision
9958
+ - workspace
9508
9959
  WorkspaceRequest:
9509
9960
  type: object
9510
9961
  properties:
@@ -125,6 +125,42 @@ POST /api/accounts/auth/verify/
125
125
  Options:
126
126
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
127
127
 
128
+ ### current accounts credential-requests code create
129
+
130
+ POST /api/accounts/credential-requests/code/
131
+
132
+ Options:
133
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
134
+
135
+ ### current accounts credential-requests create
136
+
137
+ POST /api/accounts/credential-requests/
138
+
139
+ Options:
140
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
141
+
142
+ ### current accounts credential-requests list
143
+
144
+ GET /api/accounts/credential-requests/
145
+
146
+ ### current accounts credential-requests read retrieve <request_id>
147
+
148
+ GET /api/accounts/credential-requests/{request_id}/read/
149
+
150
+ ### current accounts credential-requests submit create
151
+
152
+ POST /api/accounts/credential-requests/submit/
153
+
154
+ Options:
155
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
156
+
157
+ ### current accounts credential-requests verify create
158
+
159
+ POST /api/accounts/credential-requests/verify/
160
+
161
+ Options:
162
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
163
+
128
164
  ### current config get <key>
129
165
 
130
166
  Print one configuration value.
@@ -1462,6 +1498,10 @@ Options:
1462
1498
  - `--workflow` - Filter by workflow UUID
1463
1499
  - `--workspace` - Filter by workspace UUID
1464
1500
 
1501
+ ### current workflows runs models snapshots retrieve <run_id>
1502
+
1503
+ GET /api/workflows/runs/{run_id}/models/snapshots/
1504
+
1465
1505
  ### current workflows runs retrieve <id>
1466
1506
 
1467
1507
  Run history for workflows in the caller's workspaces, with step
@@ -1610,6 +1650,30 @@ PUT /api/workspaces/workspaces/{workspace_id}/members/{id}/
1610
1650
  Options:
1611
1651
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1612
1652
 
1653
+ ### current workspaces models list
1654
+
1655
+ Discover and read models belonging to the caller's workspace.
1656
+
1657
+ GET /api/workspaces/models/
1658
+
1659
+ ### current workspaces models records retrieve <id>
1660
+
1661
+ Discover and read models belonging to the caller's workspace.
1662
+
1663
+ GET /api/workspaces/models/{id}/records/
1664
+
1665
+ ### current workspaces models retrieve <id>
1666
+
1667
+ Discover and read models belonging to the caller's workspace.
1668
+
1669
+ GET /api/workspaces/models/{id}/
1670
+
1671
+ ### current workspaces models snapshot retrieve <id>
1672
+
1673
+ Discover and read models belonging to the caller's workspace.
1674
+
1675
+ GET /api/workspaces/models/{id}/snapshot/
1676
+
1613
1677
  ### current workspaces partial-update <id>
1614
1678
 
1615
1679
  Workspaces the current user belongs to. Creating one makes you its admin.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.63"
3
+ version = "0.1.65"
4
4
  description = "Command line interface for the Current API, generated from its OpenAPI schema at runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes