@celigo/api-specs 0.2.1
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/LICENSE +21 -0
- package/README.md +119 -0
- package/dist/account.yml +592 -0
- package/dist/agent.yml +908 -0
- package/dist/ai-agent.yml +5471 -0
- package/dist/api.yml +4140 -0
- package/dist/apim.yml +1286 -0
- package/dist/asynchelper.yml +3391 -0
- package/dist/audit.yml +2006 -0
- package/dist/connection.yml +8665 -0
- package/dist/connector.yml +1406 -0
- package/dist/ediprofile.yml +911 -0
- package/dist/editransaction.yml +1210 -0
- package/dist/enduser.yml +1724 -0
- package/dist/environment.yml +568 -0
- package/dist/eventreport.yml +692 -0
- package/dist/export.yml +17610 -0
- package/dist/filedefinition.yml +1396 -0
- package/dist/filestorage.yml +3102 -0
- package/dist/flow.yml +7928 -0
- package/dist/guardrail.yml +2763 -0
- package/dist/httpconnector.yml +2277 -0
- package/dist/httpconnectorendpoint.yml +722 -0
- package/dist/httpconnectorresource.yml +396 -0
- package/dist/iclient.yml +4452 -0
- package/dist/import.yml +15381 -0
- package/dist/integration.yml +4406 -0
- package/dist/job.yml +2014 -0
- package/dist/lookupcache.yml +1325 -0
- package/dist/marketplace.yml +685 -0
- package/dist/mcp-oauth-provider.yml +590 -0
- package/dist/mcp-server.yml +2656 -0
- package/dist/notification.yml +488 -0
- package/dist/processor.yml +1253 -0
- package/dist/profile.yml +455 -0
- package/dist/recyclebin.yml +768 -0
- package/dist/script.yml +1128 -0
- package/dist/stack.yml +1291 -0
- package/dist/state.yml +894 -0
- package/dist/subscription.yml +1405 -0
- package/dist/sync.yml +4857 -0
- package/dist/tag.yml +553 -0
- package/dist/template.yml +897 -0
- package/dist/tool.yml +33656 -0
- package/dist/tradingpartnerconnector.yml +1490 -0
- package/dist/user.yml +831 -0
- package/package.json +41 -0
- package/schemas.json +8420 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Celigo, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Celigo API specs
|
|
2
|
+
|
|
3
|
+
OpenAPI 3.2 specifications for the [Celigo integrator.io](https://www.celigo.com) REST API. These
|
|
4
|
+
are the source of truth behind the
|
|
5
|
+
[API reference on the Celigo Developer Platform](https://developer.celigo.com/api/api-reference),
|
|
6
|
+
and what the [Celigo CLI](https://developer.celigo.com/cli) validates resource documents against.
|
|
7
|
+
|
|
8
|
+
Every platform resource gets its own OpenAPI document — 44 published specs covering connections,
|
|
9
|
+
flows, exports, imports, integrations, jobs, scripts, tools, and the rest.
|
|
10
|
+
|
|
11
|
+
## The API these specs describe
|
|
12
|
+
|
|
13
|
+
All operations live under the `/v1/` prefix and authenticate with a bearer token
|
|
14
|
+
(`Authorization: Bearer <token>`). Create a token in integrator.io under **Resources** >
|
|
15
|
+
**API tokens**.
|
|
16
|
+
|
|
17
|
+
The API is served from four regional hosts. Use the one your account lives in:
|
|
18
|
+
|
|
19
|
+
| Region | Base URL |
|
|
20
|
+
| ------------ | ------------------------------ |
|
|
21
|
+
| US (default) | `https://api.integrator.io` |
|
|
22
|
+
| EU | `https://api.eu.integrator.io` |
|
|
23
|
+
| AU | `https://api.au.integrator.io` |
|
|
24
|
+
| CA | `https://api.ca.integrator.io` |
|
|
25
|
+
|
|
26
|
+
## Getting the specs
|
|
27
|
+
|
|
28
|
+
To browse the API, read the rendered reference at
|
|
29
|
+
[developer.celigo.com/api/api-reference](https://developer.celigo.com/api/api-reference). Each
|
|
30
|
+
resource has its own page, with a console for trying calls against your own account.
|
|
31
|
+
|
|
32
|
+
To consume the specs as files — client generation, request validation, or grounding an AI agent on
|
|
33
|
+
the API surface — install the published bundles:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm install @celigo/api-specs
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Jenkins publishes the package with `schemas.json` at the package root for `celigo lint` and the
|
|
40
|
+
bundled OpenAPI documents under `dist/` for other consumers. The tarball excludes the authored
|
|
41
|
+
`specs/` tree, tests, scripts, internal operations, deprecated fields, and source-only metadata.
|
|
42
|
+
|
|
43
|
+
Each resource ships as one self-contained OpenAPI 3.2 document with every `$ref` already inlined,
|
|
44
|
+
so a spec file can go straight to a generator or validator with no loader configuration.
|
|
45
|
+
|
|
46
|
+
## What the specs cover
|
|
47
|
+
|
|
48
|
+
The specs are prescriptive. They describe the API surface Celigo supports and intends to keep
|
|
49
|
+
supporting — not everything the server happens to tolerate. Internal endpoints, deprecated fields,
|
|
50
|
+
and retired enum values are deliberately left out of the published documents.
|
|
51
|
+
|
|
52
|
+
The practical consequence: a request that validates against these specs is one you can build on.
|
|
53
|
+
The reverse does not hold. The live server is frequently more permissive than the spec, and a
|
|
54
|
+
payload it accepts today may be ignored or rejected later if no spec ever described it.
|
|
55
|
+
|
|
56
|
+
Alongside standard OpenAPI, the specs carry `x-` extensions that Celigo tooling reads —
|
|
57
|
+
`x-enumDescriptions` explains what each enum value does, `x-celigo-refModel` names the resource an
|
|
58
|
+
ID field points at, and a handful of others. Standard OpenAPI consumers can ignore them;
|
|
59
|
+
[CONTRIBUTING.md](CONTRIBUTING.md) documents what each one means.
|
|
60
|
+
|
|
61
|
+
## Repository layout
|
|
62
|
+
|
|
63
|
+
Specs are authored as multi-file `$ref` trees and bundled into the single-file documents that get
|
|
64
|
+
published.
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
specs/v1/ authored source, one directory per resource
|
|
68
|
+
common/ schemas and responses shared across specs
|
|
69
|
+
connection/
|
|
70
|
+
connection.yml spec root: info, servers, security, path refs
|
|
71
|
+
paths/*.yml path item objects
|
|
72
|
+
components/schemas/ request and response schemas
|
|
73
|
+
flow/
|
|
74
|
+
...
|
|
75
|
+
redocly.yaml spec registry, lint rules, and publish decorators
|
|
76
|
+
scripts/ bundling, validation gates, and publishing
|
|
77
|
+
tests/live/ contract tests that exercise the specs against the live API
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
`specs/v1/` mirrors the `/v1/` URL prefix. A future breaking version would land in a sibling
|
|
81
|
+
`specs/v2/` tree; additive v2 endpoints go straight into the existing spec files.
|
|
82
|
+
|
|
83
|
+
## Development
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
npm ci
|
|
87
|
+
npm run lint # Redocly lint across every registered spec
|
|
88
|
+
npm run bundle # validation gates, then bundle to dist/
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Needs Node.js 20 or newer, plus Python 3 with PyYAML for the validation gates. `dist/` is
|
|
92
|
+
generated output — never hand-edit it.
|
|
93
|
+
|
|
94
|
+
[CONTRIBUTING.md](CONTRIBUTING.md) carries the authoring rules: description style, schema
|
|
95
|
+
patterns, the `x-` extension contracts, how to register a new spec, and how publishing works.
|
|
96
|
+
[tests/live/README.md](tests/live/README.md) covers the contract test suite.
|
|
97
|
+
|
|
98
|
+
## Support
|
|
99
|
+
|
|
100
|
+
Contact [Celigo Support](https://docs.celigo.com/hc/en-us/requests/new) for a problem with the
|
|
101
|
+
specs — a schema that disagrees with the API, a missing field or endpoint, a description that led
|
|
102
|
+
you somewhere wrong — and for integrator.io behavior, account access, or a production incident.
|
|
103
|
+
If you can reach this repository, an issue works too.
|
|
104
|
+
|
|
105
|
+
Report a suspected vulnerability privately, never in a public issue: use GitHub's **Report a
|
|
106
|
+
vulnerability** option if you can reach this repository, otherwise
|
|
107
|
+
[Celigo Support](https://docs.celigo.com/hc/en-us/requests/new). Never include tokens,
|
|
108
|
+
credentials, or customer data.
|
|
109
|
+
|
|
110
|
+
## License
|
|
111
|
+
|
|
112
|
+
MIT — see [LICENSE](LICENSE). The specs describe the integrator.io API; use of the API itself is
|
|
113
|
+
governed by your Celigo agreement.
|
|
114
|
+
|
|
115
|
+
## Contributing
|
|
116
|
+
|
|
117
|
+
[CONTRIBUTING.md](CONTRIBUTING.md) has the authoring rules and how publishing works.
|
|
118
|
+
Participation follows [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md); [SECURITY.md](SECURITY.md) and
|
|
119
|
+
[SUPPORT.md](SUPPORT.md) carry the full policies.
|