current-cli 0.1.51__tar.gz → 0.1.52__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.51
3
+ Version: 0.1.52
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
@@ -3155,6 +3155,46 @@ paths:
3155
3155
  schema:
3156
3156
  $ref: '#/components/schemas/AttachmentResult'
3157
3157
  description: ''
3158
+ /api/supplier-documents/workspaces/{workspace_id}/sets/{set_id}/attachments/source/:
3159
+ post:
3160
+ operationId: supplier_documents_workspaces_sets_attachments_source_create
3161
+ parameters:
3162
+ - in: path
3163
+ name: set_id
3164
+ schema:
3165
+ type: string
3166
+ format: uuid
3167
+ required: true
3168
+ - in: path
3169
+ name: workspace_id
3170
+ schema:
3171
+ type: string
3172
+ format: uuid
3173
+ required: true
3174
+ tags:
3175
+ - supplier-documents
3176
+ requestBody:
3177
+ content:
3178
+ application/json:
3179
+ schema:
3180
+ $ref: '#/components/schemas/ExistingSourceAttachmentInputRequest'
3181
+ application/x-www-form-urlencoded:
3182
+ schema:
3183
+ $ref: '#/components/schemas/ExistingSourceAttachmentInputRequest'
3184
+ multipart/form-data:
3185
+ schema:
3186
+ $ref: '#/components/schemas/ExistingSourceAttachmentInputRequest'
3187
+ required: true
3188
+ security:
3189
+ - MessagingJobTokenAuth: []
3190
+ - tokenAuth: []
3191
+ responses:
3192
+ '201':
3193
+ content:
3194
+ application/json:
3195
+ schema:
3196
+ $ref: '#/components/schemas/AttachmentResult'
3197
+ description: ''
3158
3198
  /api/supplier-documents/workspaces/{workspace_id}/sets/{set_id}/review/:
3159
3199
  get:
3160
3200
  operationId: supplier_documents_workspaces_sets_review_retrieve
@@ -4678,6 +4718,28 @@ components:
4678
4718
  - password
4679
4719
  - username
4680
4720
  - workspace
4721
+ ArithmeticCheck:
4722
+ type: object
4723
+ properties:
4724
+ check:
4725
+ type: string
4726
+ stated:
4727
+ type: number
4728
+ format: double
4729
+ calculated:
4730
+ type: number
4731
+ format: double
4732
+ difference:
4733
+ type: number
4734
+ format: double
4735
+ result:
4736
+ $ref: '#/components/schemas/ResultEnum'
4737
+ required:
4738
+ - calculated
4739
+ - check
4740
+ - difference
4741
+ - result
4742
+ - stated
4681
4743
  AttachRequestRequest:
4682
4744
  type: object
4683
4745
  properties:
@@ -5116,6 +5178,9 @@ components:
5116
5178
  filename:
5117
5179
  type: string
5118
5180
  readOnly: true
5181
+ source_path:
5182
+ type: string
5183
+ readOnly: true
5119
5184
  created_at:
5120
5185
  type: string
5121
5186
  format: date-time
@@ -5125,6 +5190,7 @@ components:
5125
5190
  - filename
5126
5191
  - id
5127
5192
  - sha256
5193
+ - source_path
5128
5194
  - workspace
5129
5195
  DocumentDecisionEnum:
5130
5196
  enum:
@@ -5220,6 +5286,19 @@ components:
5220
5286
  type: string
5221
5287
  required:
5222
5288
  - detail
5289
+ ExistingSourceAttachmentInputRequest:
5290
+ type: object
5291
+ properties:
5292
+ document:
5293
+ type: string
5294
+ format: uuid
5295
+ reason:
5296
+ type: string
5297
+ minLength: 1
5298
+ maxLength: 2048
5299
+ required:
5300
+ - document
5301
+ - reason
5223
5302
  Extraction:
5224
5303
  type: object
5225
5304
  properties:
@@ -7100,6 +7179,14 @@ components:
7100
7179
  required:
7101
7180
  - action
7102
7181
  - version
7182
+ ResultEnum:
7183
+ enum:
7184
+ - match
7185
+ - mismatch
7186
+ type: string
7187
+ description: |-
7188
+ * `match` - match
7189
+ * `mismatch` - mismatch
7103
7190
  RevertRequestRequest:
7104
7191
  type: object
7105
7192
  properties:
@@ -7402,7 +7489,12 @@ components:
7402
7489
  source_path:
7403
7490
  type: string
7404
7491
  record: {}
7492
+ checks:
7493
+ type: array
7494
+ items:
7495
+ $ref: '#/components/schemas/ArithmeticCheck'
7405
7496
  required:
7497
+ - checks
7406
7498
  - document
7407
7499
  - extraction
7408
7500
  - filename
@@ -1075,6 +1075,13 @@ POST /api/supplier-documents/workspaces/{workspace_id}/sets/{set_id}/attachments
1075
1075
  Options:
1076
1076
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1077
1077
 
1078
+ ### current supplier-documents workspaces sets attachments source create <workspace_id> <set_id>
1079
+
1080
+ POST /api/supplier-documents/workspaces/{workspace_id}/sets/{set_id}/attachments/source/
1081
+
1082
+ Options:
1083
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1084
+
1078
1085
  ### current supplier-documents workspaces sets review retrieve <workspace_id> <set_id>
1079
1086
 
1080
1087
  GET /api/supplier-documents/workspaces/{workspace_id}/sets/{set_id}/review/
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.51"
3
+ version = "0.1.52"
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