@celigo/api-specs 0.2.301 → 0.2.303
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 +47 -7
- package/dist/connection.yml +121 -11
- package/dist/ediprofile.yml +150 -21
- package/dist/enduser.yml +84 -15
- package/dist/export.yml +49 -7
- package/dist/filedefinition.yml +26 -14
- package/dist/filedefinitionrules.yml +217 -71
- package/dist/flow.yml +81 -27
- package/dist/import.yml +59 -5
- package/dist/integration.yml +395 -13
- package/dist/mcp-server.yml +91 -11
- package/dist/sync.yml +2 -1
- package/dist/tag.yml +5 -1
- package/dist/tool.yml +151 -17
- package/package.json +1 -1
- package/schemas.json +693 -614
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':
|
|
@@ -3730,6 +3765,39 @@ components:
|
|
|
3730
3765
|
an OAuth 2.0 client."). An update that omits it keeps the stored mode.
|
|
3731
3766
|
examples:
|
|
3732
3767
|
- automatic
|
|
3768
|
+
registration:
|
|
3769
|
+
type: object
|
|
3770
|
+
readOnly: true
|
|
3771
|
+
description: |-
|
|
3772
|
+
Client registration discovered for an `automatic` connection. The server writes it,
|
|
3773
|
+
together with the discovered `authURI`, `tokenURI`, `scope`, and `scopeDelimiter`, when
|
|
3774
|
+
the authorization URL is requested (`GET /v1/connection/{_id}/oauth2`); a connection
|
|
3775
|
+
that has only been saved carries none. A value sent on write is ignored.
|
|
3776
|
+
properties:
|
|
3777
|
+
method:
|
|
3778
|
+
type: string
|
|
3779
|
+
enum:
|
|
3780
|
+
- cimd
|
|
3781
|
+
x-enumDescriptions:
|
|
3782
|
+
cimd: Client ID Metadata Document; the client id is a public URL and there is no client secret.
|
|
3783
|
+
description: How integrator.io identifies itself to the MCP server's authorization server.
|
|
3784
|
+
examples:
|
|
3785
|
+
- cimd
|
|
3786
|
+
issuer:
|
|
3787
|
+
type: string
|
|
3788
|
+
description: Issuer identifier the MCP server's authorization server publishes in its metadata.
|
|
3789
|
+
examples:
|
|
3790
|
+
- https://auth.example.com
|
|
3791
|
+
issParameterSupported:
|
|
3792
|
+
type: boolean
|
|
3793
|
+
description: When true, the authorization server's metadata declares that it sends `iss` on authorization responses.
|
|
3794
|
+
examples:
|
|
3795
|
+
- true
|
|
3796
|
+
clientId:
|
|
3797
|
+
type: string
|
|
3798
|
+
description: Metadata document URL sent as `client_id` in the authorization URL.
|
|
3799
|
+
examples:
|
|
3800
|
+
- https://integrator.io/oidc/mcp-client-metadata
|
|
3733
3801
|
if:
|
|
3734
3802
|
properties:
|
|
3735
3803
|
grantType:
|
|
@@ -7333,7 +7401,8 @@ components:
|
|
|
7333
7401
|
headers:
|
|
7334
7402
|
type: array
|
|
7335
7403
|
description: |
|
|
7336
|
-
Default HTTP headers included in every request to the MCP server.
|
|
7404
|
+
Default HTTP headers included in every request to the MCP server. On PUT, an
|
|
7405
|
+
`mcp.http` block that omits `headers` or sends `[]` clears the stored list.
|
|
7337
7406
|
items:
|
|
7338
7407
|
type: object
|
|
7339
7408
|
properties:
|
|
@@ -8601,19 +8670,6 @@ components:
|
|
|
8601
8670
|
items:
|
|
8602
8671
|
$ref: '#/components/schemas/ResourceGrant'
|
|
8603
8672
|
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
8673
|
401-unauthorized:
|
|
8618
8674
|
description: |-
|
|
8619
8675
|
Unauthorized, in one of two shapes.
|
|
@@ -8685,6 +8741,19 @@ components:
|
|
|
8685
8741
|
errors:
|
|
8686
8742
|
- code: unprocessable_entity
|
|
8687
8743
|
message: The request could not be processed due to a semantic error.
|
|
8744
|
+
400-bad-request:
|
|
8745
|
+
description: |
|
|
8746
|
+
Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
|
|
8747
|
+
content:
|
|
8748
|
+
application/json:
|
|
8749
|
+
schema:
|
|
8750
|
+
$ref: '#/components/schemas/Error'
|
|
8751
|
+
examples:
|
|
8752
|
+
default:
|
|
8753
|
+
value:
|
|
8754
|
+
errors:
|
|
8755
|
+
- code: invalid_request
|
|
8756
|
+
message: The request body failed validation.
|
|
8688
8757
|
404-not-found:
|
|
8689
8758
|
description: |
|
|
8690
8759
|
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:
|