@celigo/api-specs 0.2.302 → 0.2.304
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/api.yml +33 -0
- package/dist/connection.yml +33 -0
- package/dist/editransaction.yml +276 -75
- package/dist/enduser.yml +33 -0
- package/dist/filedefinitionrules.yml +217 -71
- package/dist/flow.yml +61 -21
- package/dist/integration.yml +111 -13
- package/dist/mcp-server.yml +33 -0
- package/dist/notification.yml +127 -40
- package/dist/tool.yml +33 -0
- package/package.json +1 -1
- package/schemas.json +637 -617
package/dist/integration.yml
CHANGED
|
@@ -32,7 +32,9 @@ tags:
|
|
|
32
32
|
Integrations support **Integration Lifecycle Management (ILM)**: revisions (snapshot,
|
|
33
33
|
pull, revert) promote changes between an integration and its lifecycle-linked clones,
|
|
34
34
|
and carry every resource the integration contains. Only the UI's clone-and-install
|
|
35
|
-
links a clone; `POST /v1/integrations/{_id}/clone` makes a standalone copy.
|
|
35
|
+
links a clone; `POST /v1/integrations/{_id}/clone` makes a standalone copy. An Integration
|
|
36
|
+
App installation is the exception: every route that reads its revisions answers 400
|
|
37
|
+
`not_supported`.
|
|
36
38
|
|
|
37
39
|
## Integration schema
|
|
38
40
|
|
|
@@ -601,6 +603,7 @@ paths:
|
|
|
601
603
|
An integration with no revision history returns an empty response (204), not `[]`.
|
|
602
604
|
x-celigo-ai-guidance:
|
|
603
605
|
- To roll back a pull, find its revision here (its diff shows what it changed) and have the user revert it in the integration's Revisions tab with **Revert to before this revision**. The API can't start a revert, and writing old values back to the resources by hand misses what the pull created or deleted and records no revert.
|
|
606
|
+
- Revisions can't be read for an integration that carries `_connectorId` (an Integration App installation). This route and the revision, diff and errors routes answer 400 `not_supported` for one, whether or not its install is finished, so don't retry it. An integration without `_connectorId` whose `installSteps` hold a step with `completed` false is refused on the same four routes with 400 `invalid_integration_state`, while a marketplace template install whose steps are all completed is served.
|
|
604
607
|
parameters:
|
|
605
608
|
- name: _id
|
|
606
609
|
in: path
|
|
@@ -640,14 +643,33 @@ paths:
|
|
|
640
643
|
description: No revisions exist for this integration.
|
|
641
644
|
'400':
|
|
642
645
|
description: |-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
+
Error code `not_supported` means the integration is an Integration App installation (it
|
|
647
|
+
carries `_connectorId`). A marketplace template install is not one, though the message
|
|
648
|
+
names templates.
|
|
649
|
+
|
|
650
|
+
Error code `invalid_integration_state` means an install step is not completed (`completed`
|
|
651
|
+
false in `installSteps`).
|
|
652
|
+
|
|
653
|
+
Error code `invalid_environment_for_integration` means the integration belongs to another
|
|
654
|
+
environment of the account than the one the token acts in. `GET /v1/integrations/{_id}`
|
|
655
|
+
answers 404 for the same id; an id that exists in no environment answers 404 here too.
|
|
646
656
|
content:
|
|
647
657
|
application/json:
|
|
648
658
|
schema:
|
|
649
659
|
$ref: '#/components/schemas/Error'
|
|
650
660
|
examples:
|
|
661
|
+
integration_app:
|
|
662
|
+
summary: Integration App installation
|
|
663
|
+
value:
|
|
664
|
+
errors:
|
|
665
|
+
- message: This operation is not supported for IAs or marketplace templates right now.
|
|
666
|
+
code: not_supported
|
|
667
|
+
install_unfinished:
|
|
668
|
+
summary: Integration with an install step not completed
|
|
669
|
+
value:
|
|
670
|
+
errors:
|
|
671
|
+
- message: Failed to perform operation. Integration is in an invalid state
|
|
672
|
+
code: invalid_integration_state
|
|
651
673
|
other_environment:
|
|
652
674
|
summary: Integration from another environment
|
|
653
675
|
value:
|
|
@@ -715,13 +737,34 @@ paths:
|
|
|
715
737
|
lastModified: '2026-06-10T02:57:51.483Z'
|
|
716
738
|
'400':
|
|
717
739
|
description: |-
|
|
718
|
-
|
|
719
|
-
|
|
740
|
+
Error code `not_supported` means the integration is an Integration App installation (it
|
|
741
|
+
carries `_connectorId`). A marketplace template install is not one, though the message
|
|
742
|
+
names templates.
|
|
743
|
+
|
|
744
|
+
Error code `invalid_integration_state` means an install step is not completed (`completed`
|
|
745
|
+
false in `installSteps`).
|
|
746
|
+
|
|
747
|
+
Error code `invalid_environment_for_integration` means the integration belongs to another
|
|
748
|
+
environment of the account than the one the token acts in.
|
|
749
|
+
|
|
750
|
+
All three are checked before the revision is looked up.
|
|
720
751
|
content:
|
|
721
752
|
application/json:
|
|
722
753
|
schema:
|
|
723
754
|
$ref: '#/components/schemas/Error'
|
|
724
755
|
examples:
|
|
756
|
+
integration_app:
|
|
757
|
+
summary: Integration App installation
|
|
758
|
+
value:
|
|
759
|
+
errors:
|
|
760
|
+
- message: This operation is not supported for IAs or marketplace templates right now.
|
|
761
|
+
code: not_supported
|
|
762
|
+
install_unfinished:
|
|
763
|
+
summary: Integration with an install step not completed
|
|
764
|
+
value:
|
|
765
|
+
errors:
|
|
766
|
+
- message: Failed to perform operation. Integration is in an invalid state
|
|
767
|
+
code: invalid_integration_state
|
|
725
768
|
other_environment:
|
|
726
769
|
summary: Integration from another environment
|
|
727
770
|
value:
|
|
@@ -748,6 +791,11 @@ paths:
|
|
|
748
791
|
A standalone copy made with `POST /v1/integrations/{_id}/clone` can't be snapshotted: it isn't
|
|
749
792
|
lifecycle-linked to its source, so the request fails with 422 `lifecycleerror`. Snapshot the
|
|
750
793
|
source integration instead.
|
|
794
|
+
|
|
795
|
+
An Integration App installation (an integration that carries `_connectorId`) can't be
|
|
796
|
+
snapshotted either: the check every revision route runs first refuses one with 400
|
|
797
|
+
`not_supported` (source-only on this route: live-verified on the four routes that read
|
|
798
|
+
revisions, not yet confirmed with a snapshot request).
|
|
751
799
|
parameters:
|
|
752
800
|
- name: _id
|
|
753
801
|
in: path
|
|
@@ -794,7 +842,31 @@ paths:
|
|
|
794
842
|
createdAt: '2026-06-10T02:57:51.483Z'
|
|
795
843
|
lastModified: '2026-06-10T02:57:51.483Z'
|
|
796
844
|
'400':
|
|
797
|
-
|
|
845
|
+
description: |-
|
|
846
|
+
The request is malformed, or the integration is refused by the check every revision route
|
|
847
|
+
runs first. That check answers `not_supported` for an Integration App installation (an
|
|
848
|
+
integration that carries `_connectorId`; a marketplace template install is not refused,
|
|
849
|
+
though the message names templates) and `invalid_integration_state` for an integration
|
|
850
|
+
with an install step not completed. On this route the `not_supported` refusal is
|
|
851
|
+
source-only: live-verified on the four routes that read revisions, not yet confirmed with
|
|
852
|
+
a snapshot request.
|
|
853
|
+
content:
|
|
854
|
+
application/json:
|
|
855
|
+
schema:
|
|
856
|
+
$ref: '#/components/schemas/Error'
|
|
857
|
+
examples:
|
|
858
|
+
integration_app:
|
|
859
|
+
summary: Integration App installation
|
|
860
|
+
value:
|
|
861
|
+
errors:
|
|
862
|
+
- message: This operation is not supported for IAs or marketplace templates right now.
|
|
863
|
+
code: not_supported
|
|
864
|
+
install_unfinished:
|
|
865
|
+
summary: Integration with an install step not completed
|
|
866
|
+
value:
|
|
867
|
+
errors:
|
|
868
|
+
- message: Failed to perform operation. Integration is in an invalid state
|
|
869
|
+
code: invalid_integration_state
|
|
798
870
|
'401':
|
|
799
871
|
$ref: '#/components/responses/401-unauthorized'
|
|
800
872
|
'404':
|
|
@@ -877,9 +949,9 @@ paths:
|
|
|
877
949
|
`GET /v1/integrations/{_id}/revisions/{_revisionId}/errors` instead), and
|
|
878
950
|
`inprogress` revisions whose install steps haven't materialized yet.
|
|
879
951
|
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
952
|
+
The integration is checked before the revision: `not_supported` (an Integration App
|
|
953
|
+
installation), `invalid_integration_state` (an install step not completed),
|
|
954
|
+
`invalid_environment_for_integration` (another environment than the token's).
|
|
883
955
|
content:
|
|
884
956
|
application/json:
|
|
885
957
|
schema:
|
|
@@ -890,6 +962,18 @@ paths:
|
|
|
890
962
|
errors:
|
|
891
963
|
- message: Failed to perform operation. Revision is in an invalid state
|
|
892
964
|
code: invalid_revision_state
|
|
965
|
+
integration_app:
|
|
966
|
+
summary: Integration App installation
|
|
967
|
+
value:
|
|
968
|
+
errors:
|
|
969
|
+
- message: This operation is not supported for IAs or marketplace templates right now.
|
|
970
|
+
code: not_supported
|
|
971
|
+
install_unfinished:
|
|
972
|
+
summary: Integration with an install step not completed
|
|
973
|
+
value:
|
|
974
|
+
errors:
|
|
975
|
+
- message: Failed to perform operation. Integration is in an invalid state
|
|
976
|
+
code: invalid_integration_state
|
|
893
977
|
other_environment:
|
|
894
978
|
summary: Integration from another environment
|
|
895
979
|
value:
|
|
@@ -971,9 +1055,11 @@ paths:
|
|
|
971
1055
|
`invalid_revision_state` — returned for `completed`, `canceled`, and `inprogress` revisions
|
|
972
1056
|
of every type, including snapshots.
|
|
973
1057
|
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
1058
|
+
Three checks on the integration run before the revision is looked up: `not_supported` for
|
|
1059
|
+
an Integration App installation (it carries `_connectorId`), `invalid_integration_state`
|
|
1060
|
+
for an install step not completed (`completed` false in `installSteps`), and
|
|
1061
|
+
`invalid_environment_for_integration` for an integration in another environment of the
|
|
1062
|
+
account than the one the token acts in.
|
|
977
1063
|
content:
|
|
978
1064
|
application/json:
|
|
979
1065
|
schema:
|
|
@@ -984,6 +1070,18 @@ paths:
|
|
|
984
1070
|
errors:
|
|
985
1071
|
- message: Failed to perform operation. Revision is in an invalid state
|
|
986
1072
|
code: invalid_revision_state
|
|
1073
|
+
integration_app:
|
|
1074
|
+
summary: Integration App installation
|
|
1075
|
+
value:
|
|
1076
|
+
errors:
|
|
1077
|
+
- message: This operation is not supported for IAs or marketplace templates right now.
|
|
1078
|
+
code: not_supported
|
|
1079
|
+
install_unfinished:
|
|
1080
|
+
summary: Integration with an install step not completed
|
|
1081
|
+
value:
|
|
1082
|
+
errors:
|
|
1083
|
+
- message: Failed to perform operation. Integration is in an invalid state
|
|
1084
|
+
code: invalid_integration_state
|
|
987
1085
|
other_environment:
|
|
988
1086
|
summary: Integration from another environment
|
|
989
1087
|
value:
|
package/dist/mcp-server.yml
CHANGED
|
@@ -6935,6 +6935,39 @@ components:
|
|
|
6935
6935
|
an OAuth 2.0 client."). An update that omits it keeps the stored mode.
|
|
6936
6936
|
examples:
|
|
6937
6937
|
- automatic
|
|
6938
|
+
registration:
|
|
6939
|
+
type: object
|
|
6940
|
+
readOnly: true
|
|
6941
|
+
description: |-
|
|
6942
|
+
Client registration discovered for an `automatic` connection. The server writes it,
|
|
6943
|
+
together with the discovered `authURI`, `tokenURI`, `scope`, and `scopeDelimiter`, when
|
|
6944
|
+
the authorization URL is requested (`GET /v1/connection/{_id}/oauth2`); a connection
|
|
6945
|
+
that has only been saved carries none. A value sent on write is ignored.
|
|
6946
|
+
properties:
|
|
6947
|
+
method:
|
|
6948
|
+
type: string
|
|
6949
|
+
enum:
|
|
6950
|
+
- cimd
|
|
6951
|
+
x-enumDescriptions:
|
|
6952
|
+
cimd: Client ID Metadata Document; the client id is a public URL and there is no client secret.
|
|
6953
|
+
description: How integrator.io identifies itself to the MCP server's authorization server.
|
|
6954
|
+
examples:
|
|
6955
|
+
- cimd
|
|
6956
|
+
issuer:
|
|
6957
|
+
type: string
|
|
6958
|
+
description: Issuer identifier the MCP server's authorization server publishes in its metadata.
|
|
6959
|
+
examples:
|
|
6960
|
+
- https://auth.example.com
|
|
6961
|
+
issParameterSupported:
|
|
6962
|
+
type: boolean
|
|
6963
|
+
description: When true, the authorization server's metadata declares that it sends `iss` on authorization responses.
|
|
6964
|
+
examples:
|
|
6965
|
+
- true
|
|
6966
|
+
clientId:
|
|
6967
|
+
type: string
|
|
6968
|
+
description: Metadata document URL sent as `client_id` in the authorization URL.
|
|
6969
|
+
examples:
|
|
6970
|
+
- https://integrator.io/oidc/mcp-client-metadata
|
|
6938
6971
|
if:
|
|
6939
6972
|
properties:
|
|
6940
6973
|
grantType:
|
package/dist/notification.yml
CHANGED
|
@@ -2,7 +2,7 @@ openapi: 3.2.0
|
|
|
2
2
|
info:
|
|
3
3
|
version: 1.0.0
|
|
4
4
|
title: Notifications
|
|
5
|
-
description: API for managing Celigo notification subscriptions — per-user alert routing for flow, connection, integration, and
|
|
5
|
+
description: API for managing Celigo notification subscriptions — per-user alert routing for flow, connection, integration, sync, and schema-drift events.
|
|
6
6
|
servers:
|
|
7
7
|
- url: https://api.integrator.io
|
|
8
8
|
description: Production (US / default region)
|
|
@@ -18,8 +18,8 @@ tags:
|
|
|
18
18
|
- name: Notifications
|
|
19
19
|
description: |-
|
|
20
20
|
Notification subscriptions control which users receive alerts for
|
|
21
|
-
resource-level events (errors, status changes, completions) on
|
|
22
|
-
connections, integrations, and syncs. Each subscription routes alerts
|
|
21
|
+
resource-level events (errors, status changes, schema drift, completions) on
|
|
22
|
+
flows, connections, integrations, and syncs. Each subscription routes alerts
|
|
23
23
|
to the email of the subscribed user.
|
|
24
24
|
|
|
25
25
|
Subscriptions are account-scoped — an account admin can manage
|
|
@@ -38,7 +38,7 @@ paths:
|
|
|
38
38
|
summary: List notification subscriptions
|
|
39
39
|
description: |-
|
|
40
40
|
Returns notification subscriptions for flows, connections, integrations,
|
|
41
|
-
and
|
|
41
|
+
syncs, and schema-drift emails in the account. Without the `users=all` query parameter, the response is
|
|
42
42
|
scoped to the caller's own subscriptions. With `users=all`, every user's
|
|
43
43
|
subscriptions in the account are returned.
|
|
44
44
|
|
|
@@ -92,6 +92,13 @@ paths:
|
|
|
92
92
|
subscribedByUser:
|
|
93
93
|
name: Alex Doe
|
|
94
94
|
email: alex@example.com
|
|
95
|
+
- _id: 69f0123456789abcdef01234
|
|
96
|
+
type: sync_schema_drift
|
|
97
|
+
_syncId: 69e7549b0f8b6cd703e5d3b2
|
|
98
|
+
lastModified: '2026-11-01T09:00:00.000Z'
|
|
99
|
+
subscribedByUser:
|
|
100
|
+
name: Jane Doe
|
|
101
|
+
email: jane@example.com
|
|
95
102
|
'204':
|
|
96
103
|
description: |-
|
|
97
104
|
Caller has no subscriptions in the current scope (default scope when
|
|
@@ -108,9 +115,12 @@ paths:
|
|
|
108
115
|
summary: Subscribe / unsubscribe users to resource notifications
|
|
109
116
|
description: |-
|
|
110
117
|
Upserts a batch of notification subscriptions. Each item targets exactly one
|
|
111
|
-
resource (`_flowId`, `_connectionId`, or `
|
|
112
|
-
`subscribedByUserEmail`.
|
|
113
|
-
|
|
118
|
+
resource (`_flowId`, `_connectionId`, `_integrationId`, or `_syncId`) plus a
|
|
119
|
+
`subscribedByUserEmail`. For schema-drift email subscriptions, set
|
|
120
|
+
`type: sync_schema_drift` and exactly one of `_syncId` or `_integrationId`.
|
|
121
|
+
Omit `type` for error subscriptions; the server infers the stored type from the
|
|
122
|
+
id. `subscribed: true` creates (or keeps) the subscription; `subscribed: false`
|
|
123
|
+
removes it.
|
|
114
124
|
|
|
115
125
|
Returns a parallel array of per-item results — one entry per request item,
|
|
116
126
|
in the same order. Each result carries `statusCode` (**201** when a subscription
|
|
@@ -119,11 +129,14 @@ paths:
|
|
|
119
129
|
`errors[]` array on failures. An empty request body
|
|
120
130
|
returns an empty array.
|
|
121
131
|
|
|
122
|
-
The body is a bare array (maximum 500 items).
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
does not fail
|
|
132
|
+
The body is a bare array (maximum 500 items). Error items must carry exactly
|
|
133
|
+
one of `_flowId` / `_connectionId` / `_integrationId` / `_syncId`. Drift items
|
|
134
|
+
must carry `type: sync_schema_drift` and exactly one of `_syncId` /
|
|
135
|
+
`_integrationId`. The response is a per-item status array; referencing a
|
|
136
|
+
non-existent resource fails that item with `statusCode: 422` but does not fail
|
|
137
|
+
the whole request. An item with no target id, or a drift item that also sets
|
|
138
|
+
`_flowId` / `_connectionId` or sets both or neither of `_syncId` and
|
|
139
|
+
`_integrationId`, fails with `statusCode: 400` and code `invalid_request`.
|
|
127
140
|
|
|
128
141
|
Subscribing (`subscribed: true`) on behalf of someone other than the account owner
|
|
129
142
|
requires that `subscribedByUserEmail` belong to a user who accepted an account share
|
|
@@ -153,6 +166,13 @@ paths:
|
|
|
153
166
|
- _connectionId: 5efe49fd2c1111472296f389
|
|
154
167
|
subscribed: false
|
|
155
168
|
subscribedByUserEmail: jane@example.com
|
|
169
|
+
subscribeSchemaDriftSync:
|
|
170
|
+
summary: Subscribe jane to schema-drift emails for one sync
|
|
171
|
+
value:
|
|
172
|
+
- type: sync_schema_drift
|
|
173
|
+
_syncId: 69e7549b0f8b6cd703e5d3b2
|
|
174
|
+
subscribed: true
|
|
175
|
+
subscribedByUserEmail: jane@example.com
|
|
156
176
|
responses:
|
|
157
177
|
'200':
|
|
158
178
|
description: |-
|
|
@@ -174,7 +194,8 @@ paths:
|
|
|
174
194
|
description: |-
|
|
175
195
|
Per-item outcome: 201 when the subscription was created;
|
|
176
196
|
200 when it already existed (subscribing again keeps the one
|
|
177
|
-
record) or was removed;
|
|
197
|
+
record) or was removed; 400 when the item does not name a valid
|
|
198
|
+
target id combination; 422 when the referenced resource
|
|
178
199
|
doesn't exist or the subscriber is not an active member of the
|
|
179
200
|
account (details in `errors[]`).
|
|
180
201
|
errors:
|
|
@@ -218,6 +239,13 @@ paths:
|
|
|
218
239
|
- field: subscribedByUserEmail
|
|
219
240
|
code: invalid_ref
|
|
220
241
|
message: subscribedByUserEmail must be an accepted, active member of this account.
|
|
242
|
+
invalidTarget:
|
|
243
|
+
summary: A drift item set both _syncId and _integrationId
|
|
244
|
+
value:
|
|
245
|
+
- statusCode: 400
|
|
246
|
+
errors:
|
|
247
|
+
- code: invalid_request
|
|
248
|
+
message: Each array element in the request body should contain a valid _integrationId or _flowId or _syncId or _connectionId.
|
|
221
249
|
'400':
|
|
222
250
|
$ref: '#/components/responses/400-bad-request'
|
|
223
251
|
'401':
|
|
@@ -310,8 +338,9 @@ components:
|
|
|
310
338
|
- lastModified
|
|
311
339
|
description: |-
|
|
312
340
|
A notification subscription linking a user email to a single resource
|
|
313
|
-
(flow, connection, integration, or sync)
|
|
314
|
-
alert (error, state change,
|
|
341
|
+
(flow, connection, integration, or sync) or to schema-drift emails for a
|
|
342
|
+
sync or integration. When the resource emits an alert (error, state change,
|
|
343
|
+
schema drift, etc.), the subscribed user is notified.
|
|
315
344
|
allOf:
|
|
316
345
|
- $ref: '#/components/schemas/ResourceResponse'
|
|
317
346
|
- type: object
|
|
@@ -323,14 +352,18 @@ components:
|
|
|
323
352
|
- connection
|
|
324
353
|
- integration
|
|
325
354
|
- sync
|
|
355
|
+
- sync_schema_drift
|
|
326
356
|
x-enumDescriptions:
|
|
327
357
|
flow: Subscription targets a flow resource.
|
|
328
358
|
connection: Subscription targets a connection resource.
|
|
329
|
-
integration:
|
|
330
|
-
sync: Subscription targets
|
|
359
|
+
integration: Integration-wide subscription (flow alerts and sync errors across the integration).
|
|
360
|
+
sync: Subscription targets sync-error notifications for one sync.
|
|
361
|
+
sync_schema_drift: Subscription targets schema-drift emails for one sync or all syncs in an integration.
|
|
331
362
|
description: |-
|
|
332
|
-
|
|
333
|
-
`_flowId` / `_connectionId` / `_integrationId` /
|
|
363
|
+
Stored subscription kind. For `flow`, `connection`, `integration`, and
|
|
364
|
+
`sync`, indicates which of `_flowId` / `_connectionId` / `_integrationId` /
|
|
365
|
+
`_syncId` is populated. For `sync_schema_drift`, `_syncId` or
|
|
366
|
+
`_integrationId` is populated (not both).
|
|
334
367
|
_flowId:
|
|
335
368
|
type: string
|
|
336
369
|
format: objectId
|
|
@@ -348,14 +381,19 @@ components:
|
|
|
348
381
|
_integrationId:
|
|
349
382
|
type: string
|
|
350
383
|
format: objectId
|
|
351
|
-
description:
|
|
384
|
+
description: |-
|
|
385
|
+
Integration id when `type: integration` (integration-wide flow alerts
|
|
386
|
+
and sync errors) or when `type: sync_schema_drift` with no `_syncId`
|
|
387
|
+
(schema-drift emails for all syncs in the integration).
|
|
352
388
|
x-celigo-refModel: integrations
|
|
353
389
|
examples:
|
|
354
390
|
- 5d2c5a8f3e9b1c4a7f6d2e80
|
|
355
391
|
_syncId:
|
|
356
392
|
type: string
|
|
357
393
|
format: objectId
|
|
358
|
-
description:
|
|
394
|
+
description: |-
|
|
395
|
+
Sync id when `type: sync` (sync errors for one sync) or when
|
|
396
|
+
`type: sync_schema_drift` (schema-drift emails for one sync).
|
|
359
397
|
x-celigo-refModel: syncs
|
|
360
398
|
examples:
|
|
361
399
|
- 69e7549b0f8b6cd703e5d3b2
|
|
@@ -423,27 +461,45 @@ components:
|
|
|
423
461
|
items:
|
|
424
462
|
type: object
|
|
425
463
|
description: |-
|
|
426
|
-
A single subscribe / unsubscribe directive.
|
|
427
|
-
`_flowId`, `_connectionId`, `_integrationId`,
|
|
464
|
+
A single subscribe / unsubscribe directive. For error notifications, omit
|
|
465
|
+
`type` and set exactly one of `_flowId`, `_connectionId`, `_integrationId`,
|
|
466
|
+
or `_syncId`. For schema-drift notifications, set `type: sync_schema_drift`
|
|
467
|
+
and exactly one of `_syncId` (one sync) or `_integrationId` (all syncs in
|
|
468
|
+
that integration).
|
|
428
469
|
if:
|
|
470
|
+
properties:
|
|
471
|
+
type:
|
|
472
|
+
const: sync_schema_drift
|
|
429
473
|
required:
|
|
430
|
-
-
|
|
474
|
+
- type
|
|
431
475
|
then:
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
-
|
|
436
|
-
|
|
437
|
-
-
|
|
438
|
-
|
|
439
|
-
|
|
476
|
+
allOf:
|
|
477
|
+
- not:
|
|
478
|
+
anyOf:
|
|
479
|
+
- required:
|
|
480
|
+
- _flowId
|
|
481
|
+
- required:
|
|
482
|
+
- _connectionId
|
|
483
|
+
- anyOf:
|
|
484
|
+
- required:
|
|
485
|
+
- _syncId
|
|
486
|
+
- required:
|
|
487
|
+
- _integrationId
|
|
488
|
+
- not:
|
|
489
|
+
allOf:
|
|
490
|
+
- required:
|
|
491
|
+
- _syncId
|
|
492
|
+
- required:
|
|
493
|
+
- _integrationId
|
|
440
494
|
else:
|
|
441
495
|
if:
|
|
442
496
|
required:
|
|
443
|
-
-
|
|
497
|
+
- _flowId
|
|
444
498
|
then:
|
|
445
499
|
not:
|
|
446
500
|
anyOf:
|
|
501
|
+
- required:
|
|
502
|
+
- _connectionId
|
|
447
503
|
- required:
|
|
448
504
|
- _integrationId
|
|
449
505
|
- required:
|
|
@@ -451,19 +507,40 @@ components:
|
|
|
451
507
|
else:
|
|
452
508
|
if:
|
|
453
509
|
required:
|
|
454
|
-
-
|
|
510
|
+
- _connectionId
|
|
455
511
|
then:
|
|
456
512
|
not:
|
|
513
|
+
anyOf:
|
|
514
|
+
- required:
|
|
515
|
+
- _integrationId
|
|
516
|
+
- required:
|
|
517
|
+
- _syncId
|
|
518
|
+
else:
|
|
519
|
+
if:
|
|
520
|
+
required:
|
|
521
|
+
- _integrationId
|
|
522
|
+
then:
|
|
523
|
+
not:
|
|
524
|
+
required:
|
|
525
|
+
- _syncId
|
|
526
|
+
else:
|
|
457
527
|
required:
|
|
458
528
|
- _syncId
|
|
459
|
-
else:
|
|
460
|
-
required:
|
|
461
|
-
- _syncId
|
|
462
529
|
properties:
|
|
530
|
+
type:
|
|
531
|
+
type: string
|
|
532
|
+
enum:
|
|
533
|
+
- sync_schema_drift
|
|
534
|
+
description: |-
|
|
535
|
+
Set only for schema-drift email subscriptions. Omit for error and other
|
|
536
|
+
notification subscriptions; the server infers the stored `type` from
|
|
537
|
+
whichever id is set.
|
|
538
|
+
x-enumDescriptions:
|
|
539
|
+
sync_schema_drift: Schema-drift emails for one sync (`_syncId`) or all syncs in an integration (`_integrationId`).
|
|
463
540
|
_flowId:
|
|
464
541
|
type: string
|
|
465
542
|
format: objectId
|
|
466
|
-
description: Flow id to subscribe / unsubscribe. Set exactly one of `_flowId` / `_connectionId` / `_integrationId` / `_syncId
|
|
543
|
+
description: Flow id to subscribe / unsubscribe. Set exactly one of `_flowId` / `_connectionId` / `_integrationId` / `_syncId` when `type` is omitted.
|
|
467
544
|
x-celigo-refModel: flows
|
|
468
545
|
examples:
|
|
469
546
|
- 69497fc443fc1f9a03d31bd9
|
|
@@ -477,14 +554,24 @@ components:
|
|
|
477
554
|
_integrationId:
|
|
478
555
|
type: string
|
|
479
556
|
format: objectId
|
|
480
|
-
description:
|
|
557
|
+
description: |-
|
|
558
|
+
Integration id to subscribe / unsubscribe. When `type` is omitted, targets
|
|
559
|
+
the integration-wide subscription (flow alerts and sync errors; stored as
|
|
560
|
+
`type: integration`), and creating it removes that subscriber's `type: sync`
|
|
561
|
+
subscriptions for syncs in the integration. With `type: sync_schema_drift`,
|
|
562
|
+
targets schema-drift emails for all syncs in the integration, and creating it
|
|
563
|
+
removes that subscriber's per-sync drift subscriptions for syncs in the
|
|
564
|
+
integration.
|
|
481
565
|
x-celigo-refModel: integrations
|
|
482
566
|
examples:
|
|
483
567
|
- 5d2c5a8f3e9b1c4a7f6d2e80
|
|
484
568
|
_syncId:
|
|
485
569
|
type: string
|
|
486
570
|
format: objectId
|
|
487
|
-
description:
|
|
571
|
+
description: |-
|
|
572
|
+
Sync id to subscribe / unsubscribe. When `type` is omitted, targets
|
|
573
|
+
sync-error notifications for that sync (stored as `type: sync`). With
|
|
574
|
+
`type: sync_schema_drift`, targets schema-drift emails for that sync.
|
|
488
575
|
x-celigo-refModel: syncs
|
|
489
576
|
examples:
|
|
490
577
|
- 69e7549b0f8b6cd703e5d3b2
|
package/dist/tool.yml
CHANGED
|
@@ -9231,6 +9231,39 @@ components:
|
|
|
9231
9231
|
an OAuth 2.0 client."). An update that omits it keeps the stored mode.
|
|
9232
9232
|
examples:
|
|
9233
9233
|
- automatic
|
|
9234
|
+
registration:
|
|
9235
|
+
type: object
|
|
9236
|
+
readOnly: true
|
|
9237
|
+
description: |-
|
|
9238
|
+
Client registration discovered for an `automatic` connection. The server writes it,
|
|
9239
|
+
together with the discovered `authURI`, `tokenURI`, `scope`, and `scopeDelimiter`, when
|
|
9240
|
+
the authorization URL is requested (`GET /v1/connection/{_id}/oauth2`); a connection
|
|
9241
|
+
that has only been saved carries none. A value sent on write is ignored.
|
|
9242
|
+
properties:
|
|
9243
|
+
method:
|
|
9244
|
+
type: string
|
|
9245
|
+
enum:
|
|
9246
|
+
- cimd
|
|
9247
|
+
x-enumDescriptions:
|
|
9248
|
+
cimd: Client ID Metadata Document; the client id is a public URL and there is no client secret.
|
|
9249
|
+
description: How integrator.io identifies itself to the MCP server's authorization server.
|
|
9250
|
+
examples:
|
|
9251
|
+
- cimd
|
|
9252
|
+
issuer:
|
|
9253
|
+
type: string
|
|
9254
|
+
description: Issuer identifier the MCP server's authorization server publishes in its metadata.
|
|
9255
|
+
examples:
|
|
9256
|
+
- https://auth.example.com
|
|
9257
|
+
issParameterSupported:
|
|
9258
|
+
type: boolean
|
|
9259
|
+
description: When true, the authorization server's metadata declares that it sends `iss` on authorization responses.
|
|
9260
|
+
examples:
|
|
9261
|
+
- true
|
|
9262
|
+
clientId:
|
|
9263
|
+
type: string
|
|
9264
|
+
description: Metadata document URL sent as `client_id` in the authorization URL.
|
|
9265
|
+
examples:
|
|
9266
|
+
- https://integrator.io/oidc/mcp-client-metadata
|
|
9234
9267
|
if:
|
|
9235
9268
|
properties:
|
|
9236
9269
|
grantType:
|