current-cli 0.1.45__tar.gz → 0.1.47__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.45
3
+ Version: 0.1.47
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
@@ -1221,6 +1221,41 @@ paths:
1221
1221
  schema:
1222
1222
  $ref: '#/components/schemas/ManifestResponse'
1223
1223
  description: ''
1224
+ /api/integrations/messaging/files/upload-urls/:
1225
+ post:
1226
+ operationId: messaging_files_upload_urls
1227
+ description: |-
1228
+ PUT URLs for the files attached to the message the agent is
1229
+ answering, so a workflow it starts on a project can read them.
1230
+
1231
+ Narrow on purpose: the only writable tree is the named project's
1232
+ ``requests/`` folder. The agent's sandbox holds the attachment bytes
1233
+ but no storage credentials, and the platform no longer holds the bytes
1234
+ by the time the agent decides to start a run (a Teams download URL
1235
+ expires within minutes), so the sandbox uploads them itself.
1236
+ tags:
1237
+ - integrations
1238
+ requestBody:
1239
+ content:
1240
+ application/json:
1241
+ schema:
1242
+ $ref: '#/components/schemas/MessagingUploadUrlsRequestRequest'
1243
+ application/x-www-form-urlencoded:
1244
+ schema:
1245
+ $ref: '#/components/schemas/MessagingUploadUrlsRequestRequest'
1246
+ multipart/form-data:
1247
+ schema:
1248
+ $ref: '#/components/schemas/MessagingUploadUrlsRequestRequest'
1249
+ required: true
1250
+ security:
1251
+ - MessagingJobTokenAuth: []
1252
+ responses:
1253
+ '200':
1254
+ content:
1255
+ application/json:
1256
+ schema:
1257
+ $ref: '#/components/schemas/PromoteResponse'
1258
+ description: ''
1224
1259
  /api/integrations/messaging/history/:
1225
1260
  post:
1226
1261
  operationId: integrations_messaging_history
@@ -3947,6 +3982,7 @@ components:
3947
3982
  - secondary
3948
3983
  - success
3949
3984
  - primary
3985
+ - error
3950
3986
  type: string
3951
3987
  description: |-
3952
3988
  * `neutral` - Neutral
@@ -3955,6 +3991,7 @@ components:
3955
3991
  * `secondary` - Secondary
3956
3992
  * `success` - Success
3957
3993
  * `primary` - Primary
3994
+ * `error` - Error
3958
3995
  ConditionCompileRequest:
3959
3996
  type: object
3960
3997
  description: |-
@@ -4833,6 +4870,11 @@ components:
4833
4870
  observation:
4834
4871
  type: string
4835
4872
  format: uuid
4873
+ files:
4874
+ type: array
4875
+ items:
4876
+ type: string
4877
+ minLength: 1
4836
4878
  required:
4837
4879
  - reply_ref
4838
4880
  - workflow
@@ -4880,6 +4922,22 @@ components:
4880
4922
  required:
4881
4923
  - ok
4882
4924
  - ts
4925
+ MessagingUploadUrlsRequestRequest:
4926
+ type: object
4927
+ properties:
4928
+ project:
4929
+ type: string
4930
+ format: uuid
4931
+ paths:
4932
+ type: array
4933
+ items:
4934
+ type: string
4935
+ minLength: 1
4936
+ maxLength: 1024
4937
+ maxItems: 5
4938
+ required:
4939
+ - paths
4940
+ - project
4883
4941
  Observation:
4884
4942
  type: object
4885
4943
  description: |-
@@ -5055,6 +5113,8 @@ components:
5055
5113
  $ref: '#/components/schemas/DataTypeEnum'
5056
5114
  is_array:
5057
5115
  type: boolean
5116
+ is_status:
5117
+ type: boolean
5058
5118
  required:
5059
5119
  type: boolean
5060
5120
  options:
@@ -5285,6 +5345,8 @@ components:
5285
5345
  is_system:
5286
5346
  type: boolean
5287
5347
  readOnly: true
5348
+ is_status:
5349
+ type: boolean
5288
5350
  required:
5289
5351
  type: boolean
5290
5352
  options:
@@ -5322,6 +5384,8 @@ components:
5322
5384
  $ref: '#/components/schemas/DataTypeEnum'
5323
5385
  is_array:
5324
5386
  type: boolean
5387
+ is_status:
5388
+ type: boolean
5325
5389
  required:
5326
5390
  type: boolean
5327
5391
  options:
@@ -446,6 +446,22 @@ messaging-job endpoint uses.
446
446
 
447
447
  POST /api/integrations/messaging/files/manifest/
448
448
 
449
+ ### current integrations messaging files upload-urls post
450
+
451
+ PUT URLs for the files attached to the message the agent is
452
+ answering, so a workflow it starts on a project can read them.
453
+
454
+ Narrow on purpose: the only writable tree is the named project's
455
+ ``requests/`` folder. The agent's sandbox holds the attachment bytes
456
+ but no storage credentials, and the platform no longer holds the bytes
457
+ by the time the agent decides to start a run (a Teams download URL
458
+ expires within minutes), so the sandbox uploads them itself.
459
+
460
+ POST /api/integrations/messaging/files/upload-urls/
461
+
462
+ Options:
463
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
464
+
449
465
  ### current integrations messaging history post
450
466
 
451
467
  What was already said in this conversation, oldest last.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.45"
3
+ version = "0.1.47"
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