@celigo/api-specs 0.2.300 → 0.2.302
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/dist/agent.yml +7 -1
- package/dist/ai-agent.yml +6 -1
- package/dist/api.yml +14 -7
- package/dist/connection.yml +88 -11
- package/dist/ediprofile.yml +150 -21
- package/dist/enduser.yml +51 -15
- package/dist/export.yml +49 -7
- package/dist/filedefinition.yml +26 -14
- package/dist/fileserver.yml +13 -13
- package/dist/filestorage.yml +127 -28
- package/dist/flow.yml +20 -6
- package/dist/import.yml +59 -5
- package/dist/integration.yml +284 -0
- package/dist/mcp-server.yml +80 -31
- package/dist/sync.yml +362 -46
- package/dist/tag.yml +5 -1
- package/dist/tool.yml +118 -17
- package/package.json +1 -1
- package/schemas.json +408 -347
package/dist/enduser.yml
CHANGED
|
@@ -85,6 +85,21 @@ paths:
|
|
|
85
85
|
x-enumDescriptions:
|
|
86
86
|
invite: Created through an explicit invite (or by migration from a workspace user)
|
|
87
87
|
jit: Provisioned just-in-time on first sign-in through an external IdP
|
|
88
|
+
- name: email
|
|
89
|
+
in: query
|
|
90
|
+
required: false
|
|
91
|
+
description: |-
|
|
92
|
+
Return only the end user with this email address. Matching is exact
|
|
93
|
+
after trimming and lowercasing, with no partial or wildcard match; a
|
|
94
|
+
`+` alias is a different address from its base. Send `+` as `%2B` or
|
|
95
|
+
raw (a space in the value is read as `+`). Combines with
|
|
96
|
+
`provisionedBy`, and an address with no end user in the account
|
|
97
|
+
returns an empty array.
|
|
98
|
+
schema:
|
|
99
|
+
type: string
|
|
100
|
+
format: email
|
|
101
|
+
examples:
|
|
102
|
+
- jane.doe@example.com
|
|
88
103
|
responses:
|
|
89
104
|
'200':
|
|
90
105
|
description: List of end users.
|
|
@@ -121,7 +136,27 @@ paths:
|
|
|
121
136
|
createdAt: '2026-07-01T09:15:32Z'
|
|
122
137
|
lastModified: '2026-08-15T14:30:15Z'
|
|
123
138
|
'400':
|
|
124
|
-
|
|
139
|
+
description: |-
|
|
140
|
+
A filter value is invalid: `provisionedBy` is not `invite` or `jit`,
|
|
141
|
+
or `email` is empty, repeated, sent with operator syntax, or not a
|
|
142
|
+
valid email address.
|
|
143
|
+
content:
|
|
144
|
+
application/json:
|
|
145
|
+
schema:
|
|
146
|
+
$ref: '#/components/schemas/Error'
|
|
147
|
+
examples:
|
|
148
|
+
emailInvalid:
|
|
149
|
+
summary: Malformed email filter
|
|
150
|
+
value:
|
|
151
|
+
errors:
|
|
152
|
+
- code: validation_failed
|
|
153
|
+
message: Validation failed. email must be a valid email address.
|
|
154
|
+
emailNotSingle:
|
|
155
|
+
summary: Empty or repeated email filter
|
|
156
|
+
value:
|
|
157
|
+
errors:
|
|
158
|
+
- code: validation_failed
|
|
159
|
+
message: Validation failed. email must be a single non-empty string.
|
|
125
160
|
'401':
|
|
126
161
|
$ref: '#/components/responses/401-unauthorized'
|
|
127
162
|
'403':
|
|
@@ -7333,7 +7368,8 @@ components:
|
|
|
7333
7368
|
headers:
|
|
7334
7369
|
type: array
|
|
7335
7370
|
description: |
|
|
7336
|
-
Default HTTP headers included in every request to the MCP server.
|
|
7371
|
+
Default HTTP headers included in every request to the MCP server. On PUT, an
|
|
7372
|
+
`mcp.http` block that omits `headers` or sends `[]` clears the stored list.
|
|
7337
7373
|
items:
|
|
7338
7374
|
type: object
|
|
7339
7375
|
properties:
|
|
@@ -8601,19 +8637,6 @@ components:
|
|
|
8601
8637
|
items:
|
|
8602
8638
|
$ref: '#/components/schemas/ResourceGrant'
|
|
8603
8639
|
responses:
|
|
8604
|
-
400-bad-request:
|
|
8605
|
-
description: |
|
|
8606
|
-
Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
|
|
8607
|
-
content:
|
|
8608
|
-
application/json:
|
|
8609
|
-
schema:
|
|
8610
|
-
$ref: '#/components/schemas/Error'
|
|
8611
|
-
examples:
|
|
8612
|
-
default:
|
|
8613
|
-
value:
|
|
8614
|
-
errors:
|
|
8615
|
-
- code: invalid_request
|
|
8616
|
-
message: The request body failed validation.
|
|
8617
8640
|
401-unauthorized:
|
|
8618
8641
|
description: |-
|
|
8619
8642
|
Unauthorized, in one of two shapes.
|
|
@@ -8685,6 +8708,19 @@ components:
|
|
|
8685
8708
|
errors:
|
|
8686
8709
|
- code: unprocessable_entity
|
|
8687
8710
|
message: The request could not be processed due to a semantic error.
|
|
8711
|
+
400-bad-request:
|
|
8712
|
+
description: |
|
|
8713
|
+
Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
|
|
8714
|
+
content:
|
|
8715
|
+
application/json:
|
|
8716
|
+
schema:
|
|
8717
|
+
$ref: '#/components/schemas/Error'
|
|
8718
|
+
examples:
|
|
8719
|
+
default:
|
|
8720
|
+
value:
|
|
8721
|
+
errors:
|
|
8722
|
+
- code: invalid_request
|
|
8723
|
+
message: The request body failed validation.
|
|
8688
8724
|
404-not-found:
|
|
8689
8725
|
description: |
|
|
8690
8726
|
Not found. The requested resource does not exist or is not visible to the caller.
|
package/dist/export.yml
CHANGED
|
@@ -6153,7 +6153,8 @@ components:
|
|
|
6153
6153
|
file-definition (fixed-width, EDI) parsing only. For X12 and EDIFACT the unit is the
|
|
6154
6154
|
transaction set (ST–SE, UNH–UNT), and it takes effect only with an EDI profile linked:
|
|
6155
6155
|
a failed set is set aside and reported as an error while the file's other sets go on
|
|
6156
|
-
as records. Without this flag, one failed set fails the whole file.
|
|
6156
|
+
as records. Without this flag, one failed set fails the whole file. A
|
|
6157
|
+
`delimited/tradacoms` file definition accepts the flag too.
|
|
6157
6158
|
examples:
|
|
6158
6159
|
- true
|
|
6159
6160
|
- false
|
|
@@ -11455,7 +11456,10 @@ components:
|
|
|
11455
11456
|
type: string
|
|
11456
11457
|
description: |-
|
|
11457
11458
|
NetSuite record type the RESTlet operates on, as its script ID. Custom record
|
|
11458
|
-
types use the "customrecord_" prefix.
|
|
11459
|
+
types use the "customrecord_" prefix. A RESTlet export (`netsuite.type: "restlet"`)
|
|
11460
|
+
needs a non-empty `recordType` or `searchId`; with neither, the save fails with 422
|
|
11461
|
+
`missing_required_field` "netsuite.restlet.recordType or netsuite.restlet.searchId
|
|
11462
|
+
is required for export type NetSuite restlet" on path `netsuite.restlet.recordType`.
|
|
11459
11463
|
examples:
|
|
11460
11464
|
- customer
|
|
11461
11465
|
- salesOrder
|
|
@@ -17989,10 +17993,12 @@ components:
|
|
|
17989
17993
|
format: objectId
|
|
17990
17994
|
x-celigo-refModel: ediprofiles
|
|
17991
17995
|
description: |-
|
|
17992
|
-
EDI profile this export uses to parse incoming X12 or
|
|
17993
|
-
JSON — it supplies the envelope qualifiers, delimiters, version, and validation
|
|
17994
|
-
Set it when the export parses or validates EDI files (a save with a `delimited/x12`
|
|
17995
|
-
definition at `version` `"2"
|
|
17996
|
+
EDI profile this export uses to parse incoming X12, EDIFACT, or TRADACOMS documents into
|
|
17997
|
+
structured JSON — it supplies the envelope qualifiers, delimiters, version, and validation
|
|
17998
|
+
rules. Set it when the export parses or validates EDI files (a save with a `delimited/x12`
|
|
17999
|
+
file definition at `version` `"2"`, or with a `delimited/tradacoms` one, and no profile
|
|
18000
|
+
fails with 422 `missing_ediProfile`); the profile's `fileType` must match the file
|
|
18001
|
+
definition's format, or the save fails with 422 `filetype_mismatch`. Omit
|
|
17996
18002
|
it otherwise. Accepted on the file-reading exports — FTP, AS2, S3 and HTTP file mode
|
|
17997
18003
|
(`http.type: "file"`).
|
|
17998
18004
|
x-celigo-ai-guidance:
|
|
@@ -18007,7 +18013,10 @@ components:
|
|
|
18007
18013
|
Webhook export invoked once per file after EDI parsing, on both success and failure
|
|
18008
18014
|
(errors are included in the payload when parsing fails). Primarily used to send
|
|
18009
18015
|
functional acknowledgements (997/999) to trading partners. Accepted on the file-reading
|
|
18010
|
-
exports that parse EDI — FTP, AS2, S3 and HTTP file mode (`http.type: "file"`).
|
|
18016
|
+
exports that parse EDI — FTP, AS2, S3 and HTTP file mode (`http.type: "file"`). Only X12
|
|
18017
|
+
and EDIFACT file definitions at `version` "2" support it; any other file definition,
|
|
18018
|
+
`delimited/tradacoms` included, fails the save with 422 `fileDefinition_format_not_supported`
|
|
18019
|
+
on `_fileDefinitionId`.
|
|
18011
18020
|
x-celigo-ai-guidance:
|
|
18012
18021
|
- 'The listener must be an export with `type: "webhook"` and `webhook.provider: "integrator-extension"`; any other export id is rejected with `invalid_post_parse_listener`. On an HTTP export outside file mode the save is rejected with `post_parse_listener_not_supported`: "Listener for functional acknowledgment is only supported for AS2, FTP, S3 and HTTP file export."'
|
|
18013
18022
|
examples:
|
|
@@ -18065,6 +18074,39 @@ components:
|
|
|
18065
18074
|
unencrypted:
|
|
18066
18075
|
type: object
|
|
18067
18076
|
description: Custom configuration values stored without encryption and returned in API responses.
|
|
18077
|
+
properties:
|
|
18078
|
+
apiType:
|
|
18079
|
+
type: string
|
|
18080
|
+
enum:
|
|
18081
|
+
- Amazon-SP-API
|
|
18082
|
+
- ''
|
|
18083
|
+
x-enumDescriptions:
|
|
18084
|
+
Amazon-SP-API: The export calls Amazon's Selling Partner API
|
|
18085
|
+
'': The export calls Amazon's legacy Marketplace Web Service (MWS) API
|
|
18086
|
+
description: |-
|
|
18087
|
+
Selects which Amazon API family the export calls when its connection is an Amazon
|
|
18088
|
+
Seller Central connection of type `Amazon-Hybrid`, which serves both the Selling
|
|
18089
|
+
Partner API and the legacy Marketplace Web Service (MWS). The connection's
|
|
18090
|
+
Selling Partner API access token is sent only with a request of the export that
|
|
18091
|
+
selects the Selling Partner API.
|
|
18092
|
+
x-celigo-ai-guidance:
|
|
18093
|
+
- |-
|
|
18094
|
+
This is a field of the export, not of its connection: the connection's `http.type`
|
|
18095
|
+
says which API families it can reach, and each export on an `Amazon-Hybrid`
|
|
18096
|
+
connection names its own. Set `Amazon-SP-API` on every export that calls a Selling
|
|
18097
|
+
Partner API endpoint through such a connection; without it the request leaves
|
|
18098
|
+
without the access token and Amazon answers "Access token is missing in the
|
|
18099
|
+
request header."
|
|
18100
|
+
- |-
|
|
18101
|
+
The export form offers this choice only when the connection's `http.type` is
|
|
18102
|
+
`Amazon-Hybrid`, and writes `Amazon-SP-API` itself on every export whose connection's
|
|
18103
|
+
`http.type` is `Amazon-SP-API`.
|
|
18104
|
+
- |-
|
|
18105
|
+
A full PUT that omits `unencrypted` clears this field, so resend the stored value on
|
|
18106
|
+
every update. On an `Amazon-Hybrid` connection a value outside the enum fails the save
|
|
18107
|
+
with 422 `invalid_value_for_amazon_api_type` on `unencrypted.apiType`.
|
|
18108
|
+
examples:
|
|
18109
|
+
- Amazon-SP-API
|
|
18068
18110
|
useTechAdaptorForm:
|
|
18069
18111
|
type: boolean
|
|
18070
18112
|
description: |-
|
package/dist/filedefinition.yml
CHANGED
|
@@ -6,16 +6,17 @@ info:
|
|
|
6
6
|
x-celigo-ai-guidance:
|
|
7
7
|
- |-
|
|
8
8
|
API for managing file definitions in Celigo. File definitions describe the structure
|
|
9
|
-
and parsing rules for structured files such as CSV, fixed-width, EDI X12,
|
|
10
|
-
EDI EDIFACT formats.
|
|
9
|
+
and parsing rules for structured files such as CSV, fixed-width, EDI X12,
|
|
10
|
+
EDI EDIFACT, and EDI TRADACOMS formats.
|
|
11
11
|
|
|
12
12
|
File definitions are referenced by exports and imports that process file-based data.
|
|
13
13
|
They define how rows, columns, segments, and elements are parsed or generated,
|
|
14
14
|
including delimiters, padding, and hierarchical rule structures.
|
|
15
15
|
|
|
16
|
-
EDI file definitions (X12 and
|
|
17
|
-
known standard document definition; on an EDI-licensed account the server
|
|
18
|
-
one when
|
|
16
|
+
EDI file definitions (X12, EDIFACT and TRADACOMS formats) carry a `globalId` that
|
|
17
|
+
maps to a known standard document definition; on an EDI-licensed account the server
|
|
18
|
+
assigns one when an X12 or EDIFACT create omits it. A TRADACOMS create must send
|
|
19
|
+
one: without it the create fails with 400 `global_id_not_provided`.
|
|
19
20
|
servers:
|
|
20
21
|
- url: https://api.integrator.io
|
|
21
22
|
description: Production (US / default region)
|
|
@@ -31,13 +32,14 @@ tags:
|
|
|
31
32
|
- name: File Definitions
|
|
32
33
|
description: |-
|
|
33
34
|
File definitions describe the structure and parsing rules for structured files
|
|
34
|
-
(CSV, fixed-width, EDI X12, EDI EDIFACT). Exports and imports that process
|
|
35
|
+
(CSV, fixed-width, EDI X12, EDI EDIFACT, EDI TRADACOMS). Exports and imports that process
|
|
35
36
|
file-based data reference a file definition to control how rows, columns,
|
|
36
37
|
segments, and elements are parsed or generated.
|
|
37
38
|
|
|
38
|
-
|
|
39
|
-
`delimited/edifact` (EDI EDIFACT),
|
|
40
|
-
carry a `globalId` linking to a standard
|
|
39
|
+
Five formats are supported: `delimited` (CSV/TSV), `delimited/x12` (EDI X12),
|
|
40
|
+
`delimited/edifact` (EDI EDIFACT), `delimited/tradacoms` (EDI TRADACOMS), and
|
|
41
|
+
`fixed` (fixed-width). EDI formats carry a `globalId` linking to a standard
|
|
42
|
+
document definition.
|
|
41
43
|
|
|
42
44
|
## File definition schema
|
|
43
45
|
|
|
@@ -209,6 +211,12 @@ paths:
|
|
|
209
211
|
account, the server assigns a `globalId` when the body omits one; a supplied
|
|
210
212
|
`globalId` must reference a known standard document definition, or the create
|
|
211
213
|
fails with 422 `invalid_global_id`.
|
|
214
|
+
- |-
|
|
215
|
+
For `format: delimited/tradacoms`, send `version: "2"` and a catalog `globalId`:
|
|
216
|
+
the server assigns no id for this format, so a create without one fails with 400
|
|
217
|
+
`global_id_not_provided` ("You removed the Global ID (globalId) in the EDI
|
|
218
|
+
parser/generator helper, provide the original value to continue."), and `version`
|
|
219
|
+
"1" fails with 422 `tradacoms_fdr_version_not_supported`.
|
|
212
220
|
- |-
|
|
213
221
|
For `format: fixed`, send `version`, `fixed.rowDelimiter` and `fixed.paddingChar`;
|
|
214
222
|
without them the create fails with 422 and nothing is saved. Columns are read in
|
|
@@ -1032,11 +1040,13 @@ components:
|
|
|
1032
1040
|
- delimited
|
|
1033
1041
|
- delimited/x12
|
|
1034
1042
|
- delimited/edifact
|
|
1043
|
+
- delimited/tradacoms
|
|
1035
1044
|
- fixed
|
|
1036
1045
|
x-enumDescriptions:
|
|
1037
1046
|
delimited: Standard delimited files (CSV, TSV, etc.).
|
|
1038
1047
|
delimited/x12: EDI X12 format. Carries a `globalId`, assigned by the server when a create on an EDI-licensed account omits it.
|
|
1039
1048
|
delimited/edifact: EDI EDIFACT format. Carries a `globalId`, assigned by the server when a create on an EDI-licensed account omits it.
|
|
1049
|
+
delimited/tradacoms: EDI TRADACOMS format. Needs `version` "2" (otherwise 422 `tradacoms_fdr_version_not_supported` "TRADACOMS file definitions must use version '2'.") and a `globalId` sent on create — none is assigned. Exports and imports that use it need a `tradacoms` EDI profile in `_ediProfileId`.
|
|
1040
1050
|
fixed: Fixed-width positional format.
|
|
1041
1051
|
documentType:
|
|
1042
1052
|
type: string
|
|
@@ -1068,11 +1078,13 @@ components:
|
|
|
1068
1078
|
description: |
|
|
1069
1079
|
Global identifier mapping to a known EDI standard document definition.
|
|
1070
1080
|
|
|
1071
|
-
For
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1081
|
+
For `delimited/x12` and `delimited/edifact` on an account with an EDI
|
|
1082
|
+
license, a create that omits it gets one assigned from the EDI catalog.
|
|
1083
|
+
A `delimited/tradacoms` create gets none: without a `globalId` it fails
|
|
1084
|
+
with 400 `global_id_not_provided`. A supplied value must be a catalog
|
|
1085
|
+
entry on all three formats (an unknown one fails the create with 422
|
|
1086
|
+
`invalid_global_id`). Immutable after creation: a PUT that sends a
|
|
1087
|
+
different value, or none, keeps the stored id.
|
|
1076
1088
|
examples:
|
|
1077
1089
|
- 3c7a8f2e-1234-5678-9abc-def012345678
|
|
1078
1090
|
x-celigo-ai-guidance:
|
package/dist/fileserver.yml
CHANGED
|
@@ -135,8 +135,7 @@ paths:
|
|
|
135
135
|
entitlement (partner uploads land there) and returns the current `storageUsage`
|
|
136
136
|
alongside the server; `identifier` may be omitted once the server exists.
|
|
137
137
|
Disabling keeps the identifier and every account, refuses new logins, and ends
|
|
138
|
-
open sessions; repeating a disable is a no-op.
|
|
139
|
-
enable a server (403 `FILESERVER_NOT_ENTITLED`). Requires a full-access API
|
|
138
|
+
open sessions; repeating a disable is a no-op. Requires a full-access API
|
|
140
139
|
token.
|
|
141
140
|
requestBody:
|
|
142
141
|
required: true
|
|
@@ -229,8 +228,7 @@ paths:
|
|
|
229
228
|
'403':
|
|
230
229
|
description: |-
|
|
231
230
|
The token is not a full-access API token (`FILESERVER_FULL_ACCESS_TOKEN_REQUIRED`),
|
|
232
|
-
the account's license lacks the file server add-on or the
|
|
233
|
-
sandbox (`FILESERVER_NOT_ENTITLED`). A personal access token is refused the same way as a scoped token, and a manage, monitor or integration-level user gets `access_restricted`: only the owner and administrators manage the file server.
|
|
231
|
+
or the account's license lacks the file server add-on (`FILESERVER_NOT_ENTITLED`). A personal access token is refused the same way as a scoped token, and a manage, monitor or integration-level user gets `access_restricted`: only the owner and administrators manage the file server.
|
|
234
232
|
content:
|
|
235
233
|
application/json:
|
|
236
234
|
schema:
|
|
@@ -432,9 +430,9 @@ paths:
|
|
|
432
430
|
$ref: '#/components/responses/401-unauthorized'
|
|
433
431
|
'403':
|
|
434
432
|
description: |-
|
|
435
|
-
The token is not a full-access API token (`FILESERVER_FULL_ACCESS_TOKEN_REQUIRED`)
|
|
436
|
-
|
|
437
|
-
|
|
433
|
+
The token is not a full-access API token (`FILESERVER_FULL_ACCESS_TOKEN_REQUIRED`).
|
|
434
|
+
A personal access token is refused the same way as a scoped token, and a monitor
|
|
435
|
+
user gets `access_restricted`.
|
|
438
436
|
content:
|
|
439
437
|
application/json:
|
|
440
438
|
schema:
|
|
@@ -573,8 +571,7 @@ paths:
|
|
|
573
571
|
'403':
|
|
574
572
|
description: |-
|
|
575
573
|
The token is not a full-access API token (`FILESERVER_FULL_ACCESS_TOKEN_REQUIRED`);
|
|
576
|
-
the license lacks the add-on or the environment
|
|
577
|
-
(`FILESERVER_NOT_ENTITLED`); or the environment already holds
|
|
574
|
+
the license lacks the add-on (`FILESERVER_NOT_ENTITLED`); or the environment already holds
|
|
578
575
|
`limits.maxAccounts` enabled accounts (`FILESERVER_MAX_ACCOUNTS_EXCEEDED`). A
|
|
579
576
|
personal access token is refused the same way as a scoped token, and a monitor
|
|
580
577
|
user gets `access_restricted`.
|
|
@@ -836,8 +833,7 @@ paths:
|
|
|
836
833
|
'403':
|
|
837
834
|
description: |-
|
|
838
835
|
The token is not a full-access API token (`FILESERVER_FULL_ACCESS_TOKEN_REQUIRED`);
|
|
839
|
-
the license lacks the add-on or
|
|
840
|
-
(`FILESERVER_NOT_ENTITLED`); or re-enabling would exceed `limits.maxAccounts`
|
|
836
|
+
the license lacks the add-on (`FILESERVER_NOT_ENTITLED`); or re-enabling would exceed `limits.maxAccounts`
|
|
841
837
|
(`FILESERVER_MAX_ACCOUNTS_EXCEEDED`). A personal access token is refused the
|
|
842
838
|
same way as a scoped token, and a monitor user gets `access_restricted`.
|
|
843
839
|
content:
|
|
@@ -1265,7 +1261,11 @@ components:
|
|
|
1265
1261
|
maxFileSizeBytes:
|
|
1266
1262
|
type: integer
|
|
1267
1263
|
minimum: 0
|
|
1268
|
-
description:
|
|
1264
|
+
description: |-
|
|
1265
|
+
Largest single file a partner may upload, in bytes. There is no
|
|
1266
|
+
smallest-size setting, but an empty (0-byte) upload is always refused: the
|
|
1267
|
+
SFTP close fails with "Empty files are not supported", nothing is stored, and
|
|
1268
|
+
a file the upload was replacing is left as it was.
|
|
1269
1269
|
examples:
|
|
1270
1270
|
- 10737418240
|
|
1271
1271
|
entitled:
|
|
@@ -1897,7 +1897,7 @@ components:
|
|
|
1897
1897
|
description: |-
|
|
1898
1898
|
The token is not a full-access API token (`FILESERVER_FULL_ACCESS_TOKEN_REQUIRED`) --
|
|
1899
1899
|
a scoped API token, or any personal access token, which never counts as full access --
|
|
1900
|
-
or the license lacks the add-on
|
|
1900
|
+
or, on a change, the license lacks the add-on (`FILESERVER_NOT_ENTITLED`); a read never checks the license.
|
|
1901
1901
|
A monitor user is refused with `access_restricted`.
|
|
1902
1902
|
content:
|
|
1903
1903
|
application/json:
|
package/dist/filestorage.yml
CHANGED
|
@@ -577,8 +577,8 @@ paths:
|
|
|
577
577
|
responses:
|
|
578
578
|
'200':
|
|
579
579
|
description: |-
|
|
580
|
-
Matching items. Includes `breadcrumb`
|
|
581
|
-
`location` in search mode.
|
|
580
|
+
Matching items. Includes `breadcrumb` and per-item `parentPath` in
|
|
581
|
+
list mode, and per-item `location` in search mode.
|
|
582
582
|
headers:
|
|
583
583
|
Link:
|
|
584
584
|
description: |-
|
|
@@ -2302,15 +2302,59 @@ paths:
|
|
|
2302
2302
|
in: query
|
|
2303
2303
|
required: false
|
|
2304
2304
|
description: |-
|
|
2305
|
-
Return only
|
|
2306
|
-
recorded after
|
|
2307
|
-
|
|
2305
|
+
Return only the history of these files or folders, including entries
|
|
2306
|
+
recorded after they went to the recycle bin or were purged. Repeat the
|
|
2307
|
+
parameter or send a comma-separated list; at most 50 distinct values.
|
|
2308
|
+
An ID that matches no entry adds no entries; an empty value is
|
|
2309
|
+
rejected.
|
|
2308
2310
|
schema:
|
|
2309
|
-
type:
|
|
2310
|
-
|
|
2311
|
-
|
|
2311
|
+
type: array
|
|
2312
|
+
minItems: 1
|
|
2313
|
+
maxItems: 50
|
|
2314
|
+
items:
|
|
2315
|
+
type: string
|
|
2316
|
+
format: objectId
|
|
2317
|
+
x-celigo-refModel: storageitems
|
|
2312
2318
|
examples:
|
|
2313
|
-
- 683b2a0e1c3d5f001a9e8b01
|
|
2319
|
+
- - 683b2a0e1c3d5f001a9e8b01
|
|
2320
|
+
- 684c3b1f2d4e6a002b0f9c34
|
|
2321
|
+
- name: _integrationId
|
|
2322
|
+
in: query
|
|
2323
|
+
required: false
|
|
2324
|
+
description: |-
|
|
2325
|
+
Return only entries for items in these integrations' system folder
|
|
2326
|
+
trees. Repeat the parameter or send a comma-separated list; at most 50
|
|
2327
|
+
distinct values. An empty value is rejected.
|
|
2328
|
+
schema:
|
|
2329
|
+
type: array
|
|
2330
|
+
minItems: 1
|
|
2331
|
+
maxItems: 50
|
|
2332
|
+
items:
|
|
2333
|
+
type: string
|
|
2334
|
+
format: objectId
|
|
2335
|
+
x-celigo-refModel: integrations
|
|
2336
|
+
examples:
|
|
2337
|
+
- - 6ab1e7ab38d7733b4594d0d2
|
|
2338
|
+
- name: type
|
|
2339
|
+
in: query
|
|
2340
|
+
required: false
|
|
2341
|
+
description: |-
|
|
2342
|
+
Return only entries for these item types. `query` and `login` entries
|
|
2343
|
+
belong to no item, so any `type` filter leaves them out. Repeat the
|
|
2344
|
+
parameter or send a comma-separated list.
|
|
2345
|
+
schema:
|
|
2346
|
+
type: array
|
|
2347
|
+
maxItems: 50
|
|
2348
|
+
items:
|
|
2349
|
+
type: string
|
|
2350
|
+
enum:
|
|
2351
|
+
- file
|
|
2352
|
+
- folder
|
|
2353
|
+
x-enumDescriptions:
|
|
2354
|
+
file: Entries for files
|
|
2355
|
+
folder: Entries for folders
|
|
2356
|
+
examples:
|
|
2357
|
+
- - file
|
|
2314
2358
|
- name: _byUserId
|
|
2315
2359
|
in: query
|
|
2316
2360
|
required: false
|
|
@@ -2560,10 +2604,12 @@ paths:
|
|
|
2560
2604
|
$ref: '#/components/responses/403-forbidden'
|
|
2561
2605
|
'422':
|
|
2562
2606
|
description: |-
|
|
2563
|
-
A filter is malformed or has more than 50 distinct values
|
|
2607
|
+
A filter is malformed or has more than 50 distinct values, or
|
|
2608
|
+
`_resourceId` or `_integrationId` is sent empty
|
|
2564
2609
|
(`STORAGE_INVALID_FILTER`), `pageSize` is out of range
|
|
2565
2610
|
(`STORAGE_INVALID_PAGE_SIZE`), or `sort_by` or `sort_order` is
|
|
2566
|
-
unsupported (`STORAGE_INVALID_SORT`).
|
|
2611
|
+
unsupported (`STORAGE_INVALID_SORT`). An empty `type`, `source`,
|
|
2612
|
+
`action`, or `_byUserId` is ignored rather than refused.
|
|
2567
2613
|
content:
|
|
2568
2614
|
application/json:
|
|
2569
2615
|
schema:
|
|
@@ -2576,11 +2622,17 @@ paths:
|
|
|
2576
2622
|
- code: STORAGE_INVALID_FILTER
|
|
2577
2623
|
message: _userId is not a supported filter
|
|
2578
2624
|
invalidResourceId:
|
|
2579
|
-
summary: _resourceId is not an ObjectId
|
|
2625
|
+
summary: A _resourceId value is not an ObjectId
|
|
2626
|
+
value:
|
|
2627
|
+
errors:
|
|
2628
|
+
- code: STORAGE_INVALID_FILTER
|
|
2629
|
+
message: '_resourceId contains an invalid value: report.pdf'
|
|
2630
|
+
emptyIntegrationId:
|
|
2631
|
+
summary: _integrationId sent with no value
|
|
2580
2632
|
value:
|
|
2581
2633
|
errors:
|
|
2582
2634
|
- code: STORAGE_INVALID_FILTER
|
|
2583
|
-
message:
|
|
2635
|
+
message: _integrationId must not be empty
|
|
2584
2636
|
invalidPageSize:
|
|
2585
2637
|
summary: pageSize out of range
|
|
2586
2638
|
value:
|
|
@@ -2640,9 +2692,11 @@ paths:
|
|
|
2640
2692
|
$ref: '#/components/responses/403-forbidden'
|
|
2641
2693
|
'422':
|
|
2642
2694
|
description: |-
|
|
2643
|
-
A filter is malformed or
|
|
2644
|
-
|
|
2645
|
-
|
|
2695
|
+
A filter is malformed, `_resourceId` or `_integrationId` is sent
|
|
2696
|
+
empty, or the body carries a paging field — `pageSize`, `limit`,
|
|
2697
|
+
`after`, or `before` (`STORAGE_INVALID_FILTER`) — or the sort is
|
|
2698
|
+
unsupported (`STORAGE_INVALID_SORT`). An empty `type`, `source`,
|
|
2699
|
+
`action`, or `_byUserId` is ignored rather than refused.
|
|
2646
2700
|
content:
|
|
2647
2701
|
application/json:
|
|
2648
2702
|
schema:
|
|
@@ -3274,6 +3328,15 @@ components:
|
|
|
3274
3328
|
description: Name of the containing folder.
|
|
3275
3329
|
examples:
|
|
3276
3330
|
- My Files
|
|
3331
|
+
parentPath:
|
|
3332
|
+
type: string
|
|
3333
|
+
readOnly: true
|
|
3334
|
+
description: |-
|
|
3335
|
+
Path of the folder that holds this item, from the account root, with
|
|
3336
|
+
a leading and trailing `/`; `/` for an item at the root. Present only
|
|
3337
|
+
in list-mode results from `GET /v1/storage/items`.
|
|
3338
|
+
examples:
|
|
3339
|
+
- /My Files/Reports/
|
|
3277
3340
|
createdAt:
|
|
3278
3341
|
type: string
|
|
3279
3342
|
format: date-time
|
|
@@ -3851,8 +3914,8 @@ components:
|
|
|
3851
3914
|
type: string
|
|
3852
3915
|
description: |-
|
|
3853
3916
|
File or folder the action applied to, as an ObjectId string. Empty
|
|
3854
|
-
for `query` and `login` entries, which belong to no item.
|
|
3855
|
-
the `_resourceId` filter to read
|
|
3917
|
+
for `query` and `login` entries, which belong to no item. Pass it to
|
|
3918
|
+
the `_resourceId` filter to read the item's history.
|
|
3856
3919
|
examples:
|
|
3857
3920
|
- 683b2a0e1c3d5f001a9e8b01
|
|
3858
3921
|
resourceName:
|
|
@@ -3910,8 +3973,8 @@ components:
|
|
|
3910
3973
|
type: object
|
|
3911
3974
|
additionalProperties: true
|
|
3912
3975
|
description: |-
|
|
3913
|
-
Action-specific facts, an empty object when there are none
|
|
3914
|
-
`
|
|
3976
|
+
Action-specific facts, an empty object when there are none.
|
|
3977
|
+
`create` and `restore` carry the parent
|
|
3915
3978
|
folder (`_parentId`); `move` carries `_previousParentId` and
|
|
3916
3979
|
`_newParentId`, plus `previousName` and `newName` when it also renamed
|
|
3917
3980
|
the item and `bulk` when it came from `POST /v1/storage/items/move`.
|
|
@@ -3920,8 +3983,9 @@ components:
|
|
|
3920
3983
|
and `overwrite`, plus `previousBytes` when it replaced content;
|
|
3921
3984
|
`download` carries `size` and `linkExpiresIn`, plus `fileCount` for a
|
|
3922
3985
|
folder; `copy` carries `_sourceId`, `_destinationParentId`, and
|
|
3923
|
-
`bytes`; `
|
|
3924
|
-
`
|
|
3986
|
+
`bytes`; `merge` carries the merged-away source folder's `sourceId`
|
|
3987
|
+
and `sourceName`; `delete` and `purge` carry the item's `name`, and a
|
|
3988
|
+
file's `purge` also `bytes`; `query` carries the `sql`; `login` carries `method`,
|
|
3925
3989
|
`success`, and, on a failure, `reason`.
|
|
3926
3990
|
examples:
|
|
3927
3991
|
- previousName: report.pdf
|
|
@@ -3935,14 +3999,49 @@ components:
|
|
|
3935
3999
|
(`pageSize`, `limit`, `after`, `before`) are rejected.
|
|
3936
4000
|
properties:
|
|
3937
4001
|
_resourceId:
|
|
3938
|
-
type:
|
|
3939
|
-
|
|
3940
|
-
|
|
4002
|
+
type: array
|
|
4003
|
+
minItems: 1
|
|
4004
|
+
maxItems: 50
|
|
3941
4005
|
description: |-
|
|
3942
|
-
Export only
|
|
3943
|
-
went to the recycle bin.
|
|
4006
|
+
Export only these items' history, including entries recorded after
|
|
4007
|
+
they went to the recycle bin. A comma-separated string is also
|
|
4008
|
+
accepted.
|
|
4009
|
+
items:
|
|
4010
|
+
type: string
|
|
4011
|
+
format: objectId
|
|
4012
|
+
x-celigo-refModel: storageitems
|
|
3944
4013
|
examples:
|
|
3945
|
-
- 683b2a0e1c3d5f001a9e8b01
|
|
4014
|
+
- - 683b2a0e1c3d5f001a9e8b01
|
|
4015
|
+
- 684c3b1f2d4e6a002b0f9c34
|
|
4016
|
+
_integrationId:
|
|
4017
|
+
type: array
|
|
4018
|
+
minItems: 1
|
|
4019
|
+
maxItems: 50
|
|
4020
|
+
description: |-
|
|
4021
|
+
Export only entries for items in these integrations' system folder
|
|
4022
|
+
trees. A comma-separated string is also accepted.
|
|
4023
|
+
items:
|
|
4024
|
+
type: string
|
|
4025
|
+
format: objectId
|
|
4026
|
+
x-celigo-refModel: integrations
|
|
4027
|
+
examples:
|
|
4028
|
+
- - 6ab1e7ab38d7733b4594d0d2
|
|
4029
|
+
type:
|
|
4030
|
+
type: array
|
|
4031
|
+
maxItems: 50
|
|
4032
|
+
description: |-
|
|
4033
|
+
Export only entries for these item types; `query` and `login`
|
|
4034
|
+
entries belong to no item, so any `type` filter leaves them out.
|
|
4035
|
+
items:
|
|
4036
|
+
type: string
|
|
4037
|
+
enum:
|
|
4038
|
+
- file
|
|
4039
|
+
- folder
|
|
4040
|
+
x-enumDescriptions:
|
|
4041
|
+
file: Entries for files
|
|
4042
|
+
folder: Entries for folders
|
|
4043
|
+
examples:
|
|
4044
|
+
- - file
|
|
3946
4045
|
_byUserId:
|
|
3947
4046
|
type: array
|
|
3948
4047
|
maxItems: 50
|
package/dist/flow.yml
CHANGED
|
@@ -5372,10 +5372,12 @@ components:
|
|
|
5372
5372
|
|
|
5373
5373
|
Send `version` and `rules` directly on `inputFilter` — not inside the
|
|
5374
5374
|
`{type: "expression", expression: {...}}` wrapper that export and import
|
|
5375
|
-
filters use. A wrapped filter
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5375
|
+
filters use. A wrapped filter (no top-level `rules`, and a non-empty
|
|
5376
|
+
`expression` or `script` object) fails the save with 422
|
|
5377
|
+
`invalid_router_branch_input_filter` "routers[0].branches[1].inputFilter uses
|
|
5378
|
+
the export/import filter wrapper { type, expression }. A router branch
|
|
5379
|
+
inputFilter takes the expression fields directly: { version: "1", rules: [...] }."
|
|
5380
|
+
The same check covers the branches under `overrides.routers`.
|
|
5379
5381
|
properties:
|
|
5380
5382
|
version:
|
|
5381
5383
|
type: string
|
|
@@ -6046,7 +6048,11 @@ components:
|
|
|
6046
6048
|
description: Overrides the branch's description explaining its purpose and criteria.
|
|
6047
6049
|
inputFilter:
|
|
6048
6050
|
type: object
|
|
6049
|
-
description:
|
|
6051
|
+
description: |-
|
|
6052
|
+
Overrides the branch's input filter — the criteria that determine which records are routed to this branch.
|
|
6053
|
+
Send `version` and `rules` directly; the export-filter wrapper
|
|
6054
|
+
`{type: "expression", expression: {...}}` fails the save with 422
|
|
6055
|
+
`invalid_router_branch_input_filter`.
|
|
6050
6056
|
properties:
|
|
6051
6057
|
version:
|
|
6052
6058
|
type: string
|
|
@@ -6260,7 +6266,10 @@ components:
|
|
|
6260
6266
|
to the account's "Standalone flows" integration (or the create fails
|
|
6261
6267
|
with `422 standalone_flows_not_supported` when that integration is
|
|
6262
6268
|
missing). A value that is not a well-formed ObjectId is rejected with
|
|
6263
|
-
`400 invalid_ref` rather than auto-assigned. Always set it explicitly.
|
|
6269
|
+
`400 invalid_ref` rather than auto-assigned. Always set it explicitly. An
|
|
6270
|
+
integration with `syncs: true` takes no flows: creating a flow in one, or moving a
|
|
6271
|
+
flow into one, fails with 422 `integration_not_for_flow` "An integration is suppose
|
|
6272
|
+
to have either flows or syncs but not both."
|
|
6264
6273
|
examples:
|
|
6265
6274
|
- 60a2c4e6f321d800129a1a3c
|
|
6266
6275
|
x-celigo-ai-guidance:
|
|
@@ -6654,6 +6663,11 @@ components:
|
|
|
6654
6663
|
PUT with `draft: false` clears the flag and the expiry, promoting the draft to a
|
|
6655
6664
|
permanent flow. PUT with `draft: true` on a non-draft flow is silently ignored,
|
|
6656
6665
|
and a PUT that omits the field leaves an existing draft flag unchanged.
|
|
6666
|
+
- |-
|
|
6667
|
+
Clearing the flag approves the draft, and the approval belongs to the person
|
|
6668
|
+
the draft was created for: in integrator.io they give it by accepting the
|
|
6669
|
+
draft. An agent acting for that person never sends `draft: false` for them,
|
|
6670
|
+
and never gives them this request as the way to keep a draft.
|
|
6657
6671
|
preSave:
|
|
6658
6672
|
type: object
|
|
6659
6673
|
description: Pre-save hook that runs a script before persisting flow changes.
|