@celigo/api-specs 0.2.201 → 0.2.203
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 +80 -13
- package/dist/alert.yml +36 -7
- package/dist/audit.yml +26 -25
- package/dist/editransaction.yml +534 -5
- package/dist/export.yml +17 -6
- package/dist/filedefinition.yml +26 -17
- package/dist/filedefinitionrules.yml +98 -21
- package/dist/fileserver.yml +615 -101
- package/dist/filestorage.yml +826 -19
- package/dist/flow.yml +308 -23
- package/dist/integration.yml +50 -18
- package/dist/job.yml +71 -32
- package/dist/mcp-server.yml +442 -0
- package/dist/processor.yml +93 -2
- package/dist/template.yml +122 -11
- package/dist/tool.yml +57 -12
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/agent.yml
CHANGED
|
@@ -253,10 +253,39 @@ paths:
|
|
|
253
253
|
_agentExtensionId: 68fb235610b42b2eaa6525c2
|
|
254
254
|
port: '7020'
|
|
255
255
|
lastHeartbeatAt: '2026-05-15T12:00:00.000Z'
|
|
256
|
+
'400':
|
|
257
|
+
description: '`_id` is not a valid ObjectId.'
|
|
258
|
+
content:
|
|
259
|
+
application/json:
|
|
260
|
+
schema:
|
|
261
|
+
$ref: '#/components/schemas/Error'
|
|
262
|
+
examples:
|
|
263
|
+
malformed-id:
|
|
264
|
+
value:
|
|
265
|
+
errors:
|
|
266
|
+
- code: invalid_ref
|
|
267
|
+
message: Please provide a valid _id.
|
|
256
268
|
'401':
|
|
257
269
|
$ref: '#/components/responses/401-unauthorized'
|
|
258
270
|
'404':
|
|
259
|
-
|
|
271
|
+
description: |-
|
|
272
|
+
No agent has this id in the account. An agent in the recycle bin
|
|
273
|
+
answers with the recycle-bin message instead.
|
|
274
|
+
content:
|
|
275
|
+
application/json:
|
|
276
|
+
schema:
|
|
277
|
+
$ref: '#/components/schemas/Error'
|
|
278
|
+
examples:
|
|
279
|
+
not-found:
|
|
280
|
+
value:
|
|
281
|
+
errors:
|
|
282
|
+
- code: invalid_ref
|
|
283
|
+
message: On-premise agent not found for the given id.
|
|
284
|
+
in-recycle-bin:
|
|
285
|
+
value:
|
|
286
|
+
errors:
|
|
287
|
+
- code: invalid_ref
|
|
288
|
+
message: You are trying to access an on-premise agent that is already in the Recycle Bin. Please restore it from the Recycle Bin and try your request again.
|
|
260
289
|
put:
|
|
261
290
|
x-internal: false
|
|
262
291
|
summary: Update an on-premise agent
|
|
@@ -310,11 +339,26 @@ paths:
|
|
|
310
339
|
port: '7020'
|
|
311
340
|
lastHeartbeatAt: '2026-05-15T12:00:00.000Z'
|
|
312
341
|
'400':
|
|
313
|
-
|
|
342
|
+
description: The body is not a JSON object, or `_id` is not a valid ObjectId.
|
|
343
|
+
content:
|
|
344
|
+
application/json:
|
|
345
|
+
schema:
|
|
346
|
+
$ref: '#/components/schemas/Error'
|
|
347
|
+
examples:
|
|
348
|
+
body-not-object:
|
|
349
|
+
value:
|
|
350
|
+
errors:
|
|
351
|
+
- code: invalid_request
|
|
352
|
+
message: Agent document should be a JSON object.
|
|
353
|
+
malformed-id:
|
|
354
|
+
value:
|
|
355
|
+
errors:
|
|
356
|
+
- code: invalid_ref
|
|
357
|
+
message: Please provide a valid _id.
|
|
314
358
|
'401':
|
|
315
359
|
$ref: '#/components/responses/401-unauthorized'
|
|
316
360
|
'404':
|
|
317
|
-
$ref: '#/components/responses/404-not-found'
|
|
361
|
+
$ref: '#/components/responses/404-agent-not-found'
|
|
318
362
|
delete:
|
|
319
363
|
x-internal: false
|
|
320
364
|
summary: Delete an on-premise agent
|
|
@@ -338,10 +382,34 @@ paths:
|
|
|
338
382
|
responses:
|
|
339
383
|
'204':
|
|
340
384
|
description: Agent deleted.
|
|
385
|
+
'400':
|
|
386
|
+
description: '`_id` is not a valid ObjectId.'
|
|
387
|
+
content:
|
|
388
|
+
application/json:
|
|
389
|
+
schema:
|
|
390
|
+
$ref: '#/components/schemas/Error'
|
|
391
|
+
examples:
|
|
392
|
+
malformed-id:
|
|
393
|
+
value:
|
|
394
|
+
errors:
|
|
395
|
+
- code: invalid_ref
|
|
396
|
+
message: Please provide a valid _id.
|
|
341
397
|
'401':
|
|
342
398
|
$ref: '#/components/responses/401-unauthorized'
|
|
343
399
|
'404':
|
|
344
|
-
|
|
400
|
+
description: |-
|
|
401
|
+
No active agent has this id. An unknown id and an agent already in the
|
|
402
|
+
recycle bin both answer with the recycle-bin message.
|
|
403
|
+
content:
|
|
404
|
+
application/json:
|
|
405
|
+
schema:
|
|
406
|
+
$ref: '#/components/schemas/Error'
|
|
407
|
+
examples:
|
|
408
|
+
not-active:
|
|
409
|
+
value:
|
|
410
|
+
errors:
|
|
411
|
+
- code: invalid_ref
|
|
412
|
+
message: You are trying to access an on-premise agent that is already in the Recycle Bin. Please restore it from the Recycle Bin and try your request again.
|
|
345
413
|
'422':
|
|
346
414
|
$ref: '#/components/responses/422-dependency-conflict'
|
|
347
415
|
/v1/agents/{_id}/display-token:
|
|
@@ -379,7 +447,7 @@ paths:
|
|
|
379
447
|
'401':
|
|
380
448
|
$ref: '#/components/responses/401-unauthorized'
|
|
381
449
|
'404':
|
|
382
|
-
$ref: '#/components/responses/404-not-found'
|
|
450
|
+
$ref: '#/components/responses/404-agent-not-found'
|
|
383
451
|
/v1/agents/{_id}/change-token:
|
|
384
452
|
put:
|
|
385
453
|
x-internal: false
|
|
@@ -416,7 +484,7 @@ paths:
|
|
|
416
484
|
'401':
|
|
417
485
|
$ref: '#/components/responses/401-unauthorized'
|
|
418
486
|
'404':
|
|
419
|
-
$ref: '#/components/responses/404-not-found'
|
|
487
|
+
$ref: '#/components/responses/404-agent-not-found'
|
|
420
488
|
/v1/agents/{_id}/installer/signedURL:
|
|
421
489
|
get:
|
|
422
490
|
x-internal: false
|
|
@@ -467,7 +535,7 @@ paths:
|
|
|
467
535
|
'401':
|
|
468
536
|
$ref: '#/components/responses/401-unauthorized'
|
|
469
537
|
'404':
|
|
470
|
-
$ref: '#/components/responses/404-not-found'
|
|
538
|
+
$ref: '#/components/responses/404-agent-not-found'
|
|
471
539
|
'422':
|
|
472
540
|
$ref: '#/components/responses/422-unprocessable-entity'
|
|
473
541
|
/v1/agents/{_id}/dependencies:
|
|
@@ -888,19 +956,18 @@ components:
|
|
|
888
956
|
errors:
|
|
889
957
|
- code: invalid_request
|
|
890
958
|
message: The request body failed validation.
|
|
891
|
-
404-not-found:
|
|
892
|
-
description:
|
|
893
|
-
Not found. The requested resource does not exist or is not visible to the caller.
|
|
959
|
+
404-agent-not-found:
|
|
960
|
+
description: No on-premise agent has this id in the account.
|
|
894
961
|
content:
|
|
895
962
|
application/json:
|
|
896
963
|
schema:
|
|
897
964
|
$ref: '#/components/schemas/Error'
|
|
898
965
|
examples:
|
|
899
|
-
|
|
966
|
+
not-found:
|
|
900
967
|
value:
|
|
901
968
|
errors:
|
|
902
|
-
- code:
|
|
903
|
-
message:
|
|
969
|
+
- code: invalid_ref
|
|
970
|
+
message: On-premise agent not found for the given id.
|
|
904
971
|
422-dependency-conflict:
|
|
905
972
|
description: |-
|
|
906
973
|
The resource has dependents that must be deleted first. Each entry
|
package/dist/alert.yml
CHANGED
|
@@ -513,6 +513,10 @@ paths:
|
|
|
513
513
|
|
|
514
514
|
Requires permission to read the alert (`get:alert:model`). Returns `403`
|
|
515
515
|
when `ENABLE_PROACTIVE_ALERTS` is off or the caller lacks access.
|
|
516
|
+
|
|
517
|
+
The history stays readable after the alert is deleted, even though the alert
|
|
518
|
+
itself then reads 404. The same entries also appear in the integration's audit
|
|
519
|
+
log (`GET /v1/integrations/{_id}/audit`).
|
|
516
520
|
parameters:
|
|
517
521
|
- name: _id
|
|
518
522
|
in: path
|
|
@@ -604,6 +608,14 @@ paths:
|
|
|
604
608
|
description: Alert id.
|
|
605
609
|
examples:
|
|
606
610
|
- 674a1b2c3d4e5f6789012345
|
|
611
|
+
resourceName:
|
|
612
|
+
type: string
|
|
613
|
+
description: |-
|
|
614
|
+
Display name of the alert: `<type label> - <flow name>` for a flow-level
|
|
615
|
+
alert, `<type label> - All flows (<integration name>)` for an
|
|
616
|
+
integration-level alert.
|
|
617
|
+
examples:
|
|
618
|
+
- Long runtime - All flows (Shopify to NetSuite)
|
|
607
619
|
event:
|
|
608
620
|
type: string
|
|
609
621
|
description: Mutation event type.
|
|
@@ -664,26 +676,41 @@ paths:
|
|
|
664
676
|
properties:
|
|
665
677
|
fieldPath:
|
|
666
678
|
type: string
|
|
667
|
-
description:
|
|
679
|
+
description: |-
|
|
680
|
+
Dot-notation path of the changed field. A recipient change is reported
|
|
681
|
+
as `recipients`, listing the recipients' email addresses instead of user
|
|
682
|
+
ids.
|
|
668
683
|
examples:
|
|
669
|
-
- longRuntime
|
|
684
|
+
- longRuntime
|
|
670
685
|
oldValue:
|
|
671
686
|
description: Previous value (absent on create).
|
|
672
687
|
newValue:
|
|
673
688
|
description: New value (absent on delete).
|
|
674
689
|
deletedInfo:
|
|
675
690
|
type: object
|
|
676
|
-
description:
|
|
691
|
+
description: |-
|
|
692
|
+
Metadata about the deleted alert. Once the alert is deleted, every entry in its
|
|
693
|
+
history carries it, not only the `delete` entry.
|
|
677
694
|
properties:
|
|
678
695
|
name:
|
|
679
696
|
type: string
|
|
680
|
-
description:
|
|
697
|
+
description: Display name of the alert at the time of deletion.
|
|
698
|
+
examples:
|
|
699
|
+
- Long runtime - All flows (Shopify to NetSuite)
|
|
700
|
+
_integrationId:
|
|
701
|
+
type: string
|
|
702
|
+
format: objectId
|
|
703
|
+
x-celigo-refModel: integrations
|
|
704
|
+
description: Integration the alert belonged to.
|
|
705
|
+
examples:
|
|
706
|
+
- 5e5eb06fdd83ed4f8206a4ea
|
|
681
707
|
examples:
|
|
682
708
|
default:
|
|
683
709
|
value:
|
|
684
710
|
- _id: 69e38cb1a749d34a9732a270
|
|
685
711
|
resourceType: alert
|
|
686
712
|
_resourceId: 674a1b2c3d4e5f6789012345
|
|
713
|
+
resourceName: Long runtime - All flows (Shopify to NetSuite)
|
|
687
714
|
source: api
|
|
688
715
|
event: update
|
|
689
716
|
time: '2026-04-18T13:52:49.729Z'
|
|
@@ -692,9 +719,11 @@ paths:
|
|
|
692
719
|
email: user@example.com
|
|
693
720
|
name: Jane Doe
|
|
694
721
|
fieldChanges:
|
|
695
|
-
- fieldPath: longRuntime
|
|
696
|
-
oldValue:
|
|
697
|
-
|
|
722
|
+
- fieldPath: longRuntime
|
|
723
|
+
oldValue:
|
|
724
|
+
thresholdMinutes: 30
|
|
725
|
+
newValue:
|
|
726
|
+
thresholdMinutes: 45
|
|
698
727
|
'204':
|
|
699
728
|
description: No audit entries exist for this alert.
|
|
700
729
|
'400':
|
package/dist/audit.yml
CHANGED
|
@@ -104,7 +104,6 @@ paths:
|
|
|
104
104
|
- import
|
|
105
105
|
- integration
|
|
106
106
|
- lookupcache
|
|
107
|
-
- mcpoauthprovider
|
|
108
107
|
- mcpserver
|
|
109
108
|
- networkpolicy
|
|
110
109
|
- notification
|
|
@@ -142,10 +141,9 @@ paths:
|
|
|
142
141
|
import: Import resource for writing data to a destination system.
|
|
143
142
|
integration: Integration workspace resource.
|
|
144
143
|
lookupcache: Lookup cache resource for in-memory key-value stores.
|
|
145
|
-
mcpoauthprovider: MCP OAuth provider resource.
|
|
146
144
|
mcpserver: MCP server resource for AI agent tool hosting.
|
|
147
145
|
networkpolicy: Network policy resource (IP allow/deny lists).
|
|
148
|
-
notification: Notification subscription resource.
|
|
146
|
+
notification: Notification subscription resource. Filtering on `alert` also returns these entries.
|
|
149
147
|
revision: Revision snapshot resource for version control.
|
|
150
148
|
role: End-user role resource.
|
|
151
149
|
script: Script resource for custom JavaScript hooks.
|
|
@@ -547,7 +545,6 @@ paths:
|
|
|
547
545
|
- import
|
|
548
546
|
- integration
|
|
549
547
|
- lookupcache
|
|
550
|
-
- mcpoauthprovider
|
|
551
548
|
- mcpserver
|
|
552
549
|
- notification
|
|
553
550
|
- revision
|
|
@@ -582,9 +579,8 @@ paths:
|
|
|
582
579
|
import: Import resource for writing data to a destination system.
|
|
583
580
|
integration: Integration workspace resource.
|
|
584
581
|
lookupcache: Lookup cache resource for in-memory key-value stores.
|
|
585
|
-
mcpoauthprovider: MCP OAuth provider resource.
|
|
586
582
|
mcpserver: MCP server resource for AI agent tool hosting.
|
|
587
|
-
notification: Notification subscription resource.
|
|
583
|
+
notification: Notification subscription resource. Filtering on `alert` also returns these entries.
|
|
588
584
|
revision: Revision snapshot resource for version control.
|
|
589
585
|
role: End-user role resource.
|
|
590
586
|
script: Script resource for custom JavaScript hooks.
|
|
@@ -822,7 +818,6 @@ paths:
|
|
|
822
818
|
- imports
|
|
823
819
|
- integrations
|
|
824
820
|
- lookupcaches
|
|
825
|
-
- mcpoauthproviders
|
|
826
821
|
- mcpservers
|
|
827
822
|
- networkpolicies
|
|
828
823
|
- revisions
|
|
@@ -850,9 +845,8 @@ paths:
|
|
|
850
845
|
iclients: iClient shared credential resources.
|
|
851
846
|
idpconfigs: End-user identity provider configuration resources.
|
|
852
847
|
imports: Import resources.
|
|
853
|
-
integrations: Integration workspace resources.
|
|
848
|
+
integrations: Integration workspace resources. The history also includes the alerts set on the integration or its flows, deleted ones too.
|
|
854
849
|
lookupcaches: Lookup cache resources.
|
|
855
|
-
mcpoauthproviders: MCP OAuth provider resources.
|
|
856
850
|
mcpservers: MCP server resources.
|
|
857
851
|
networkpolicies: Network policy resources.
|
|
858
852
|
revisions: Revision snapshot resources.
|
|
@@ -1060,7 +1054,6 @@ paths:
|
|
|
1060
1054
|
- imports
|
|
1061
1055
|
- integrations
|
|
1062
1056
|
- lookupcaches
|
|
1063
|
-
- mcpoauthproviders
|
|
1064
1057
|
- mcpservers
|
|
1065
1058
|
- networkpolicies
|
|
1066
1059
|
- revisions
|
|
@@ -1088,9 +1081,8 @@ paths:
|
|
|
1088
1081
|
iclients: iClient shared credential resources.
|
|
1089
1082
|
idpconfigs: End-user identity provider configuration resources.
|
|
1090
1083
|
imports: Import resources.
|
|
1091
|
-
integrations: Integration workspace resources.
|
|
1084
|
+
integrations: Integration workspace resources. The history also includes the alerts set on the integration or its flows, deleted ones too.
|
|
1092
1085
|
lookupcaches: Lookup cache resources.
|
|
1093
|
-
mcpoauthproviders: MCP OAuth provider resources.
|
|
1094
1086
|
mcpservers: MCP server resources.
|
|
1095
1087
|
networkpolicies: Network policy resources.
|
|
1096
1088
|
revisions: Revision snapshot resources.
|
|
@@ -1286,7 +1278,6 @@ paths:
|
|
|
1286
1278
|
- imports
|
|
1287
1279
|
- integrations
|
|
1288
1280
|
- lookupcaches
|
|
1289
|
-
- mcpoauthproviders
|
|
1290
1281
|
- mcpservers
|
|
1291
1282
|
- networkpolicies
|
|
1292
1283
|
- revisions
|
|
@@ -1312,9 +1303,8 @@ paths:
|
|
|
1312
1303
|
iclients: iClient shared credential resources.
|
|
1313
1304
|
idpconfigs: End-user identity provider configuration resources.
|
|
1314
1305
|
imports: Import resources.
|
|
1315
|
-
integrations: Integration workspace resources.
|
|
1306
|
+
integrations: Integration workspace resources. The export also includes the alerts set on the integration or its flows, deleted ones too.
|
|
1316
1307
|
lookupcaches: Lookup cache resources.
|
|
1317
|
-
mcpoauthproviders: MCP OAuth provider resources.
|
|
1318
1308
|
mcpservers: MCP server resources.
|
|
1319
1309
|
networkpolicies: Network policy resources.
|
|
1320
1310
|
revisions: Revision snapshot resources.
|
|
@@ -1377,7 +1367,10 @@ components:
|
|
|
1377
1367
|
properties:
|
|
1378
1368
|
fieldPath:
|
|
1379
1369
|
type: string
|
|
1380
|
-
description:
|
|
1370
|
+
description: |-
|
|
1371
|
+
Dot-path to the changed field (e.g., `settings.foo.bar`). On `alert` entries a recipient
|
|
1372
|
+
change is reported as `recipients`, with `oldValue` and `newValue` listing the recipients'
|
|
1373
|
+
email addresses instead of user ids.
|
|
1381
1374
|
examples:
|
|
1382
1375
|
- http.auth.token.token
|
|
1383
1376
|
oldValue:
|
|
@@ -1397,7 +1390,7 @@ components:
|
|
|
1397
1390
|
type: string
|
|
1398
1391
|
format: objectId
|
|
1399
1392
|
x-celigo-refModel: integrations
|
|
1400
|
-
description: Integration id context (for flow/sync-related events).
|
|
1393
|
+
description: Integration id context (for flow/sync-related and alert events).
|
|
1401
1394
|
examples:
|
|
1402
1395
|
- 60a2c4e6f321d800129a1a3c
|
|
1403
1396
|
_abstractFlowId:
|
|
@@ -1459,8 +1452,11 @@ components:
|
|
|
1459
1452
|
type: string
|
|
1460
1453
|
readOnly: true
|
|
1461
1454
|
description: |-
|
|
1462
|
-
Resource type that the audit entry applies to. `fileserver`
|
|
1463
|
-
returned entries and cannot be used as a
|
|
1455
|
+
Resource type that the audit entry applies to. `fileserver` and
|
|
1456
|
+
`mcpoauthprovider` appear only in returned entries and cannot be used as a
|
|
1457
|
+
`resourceType` filter. MCP OAuth providers have no per-resource audit route
|
|
1458
|
+
either, so their entries are read from `GET /v1/audit` without a
|
|
1459
|
+
`resourceType` filter.
|
|
1464
1460
|
enum:
|
|
1465
1461
|
- accesstoken
|
|
1466
1462
|
- agent
|
|
@@ -1542,6 +1538,15 @@ components:
|
|
|
1542
1538
|
description: Resource id the audit entry applies to.
|
|
1543
1539
|
examples:
|
|
1544
1540
|
- 69497ca1b40d3e24522a7f3c
|
|
1541
|
+
resourceName:
|
|
1542
|
+
type: string
|
|
1543
|
+
readOnly: true
|
|
1544
|
+
description: |-
|
|
1545
|
+
Display name of the alert, present on `alert` entries only: `<type label> - <flow name>`
|
|
1546
|
+
for a flow-level alert, `<type label> - All flows (<integration name>)` for an
|
|
1547
|
+
integration-level alert.
|
|
1548
|
+
examples:
|
|
1549
|
+
- Long runtime - All flows (Shopify to NetSuite)
|
|
1545
1550
|
source:
|
|
1546
1551
|
type: string
|
|
1547
1552
|
readOnly: true
|
|
@@ -1692,7 +1697,6 @@ components:
|
|
|
1692
1697
|
- import
|
|
1693
1698
|
- integration
|
|
1694
1699
|
- lookupcache
|
|
1695
|
-
- mcpoauthprovider
|
|
1696
1700
|
- mcpserver
|
|
1697
1701
|
- networkpolicy
|
|
1698
1702
|
- notification
|
|
@@ -1728,10 +1732,9 @@ components:
|
|
|
1728
1732
|
import: Import resource for writing data to a destination system.
|
|
1729
1733
|
integration: Integration workspace resource.
|
|
1730
1734
|
lookupcache: Lookup cache resource for in-memory key-value stores.
|
|
1731
|
-
mcpoauthprovider: MCP OAuth provider resource.
|
|
1732
1735
|
mcpserver: MCP server resource for AI agent tool hosting.
|
|
1733
1736
|
networkpolicy: Network policy resource (IP allow/deny lists).
|
|
1734
|
-
notification: Notification subscription resource.
|
|
1737
|
+
notification: Notification subscription resource. Filtering on `alert` also returns these entries.
|
|
1735
1738
|
revision: Revision snapshot resource for version control.
|
|
1736
1739
|
role: End-user role resource.
|
|
1737
1740
|
script: Script resource for custom JavaScript hooks.
|
|
@@ -1915,7 +1918,6 @@ components:
|
|
|
1915
1918
|
- import
|
|
1916
1919
|
- integration
|
|
1917
1920
|
- lookupcache
|
|
1918
|
-
- mcpoauthprovider
|
|
1919
1921
|
- mcpserver
|
|
1920
1922
|
- networkpolicy
|
|
1921
1923
|
- notification
|
|
@@ -1951,10 +1953,9 @@ components:
|
|
|
1951
1953
|
import: Import resource for writing data to a destination system.
|
|
1952
1954
|
integration: Integration workspace resource.
|
|
1953
1955
|
lookupcache: Lookup cache resource for in-memory key-value stores.
|
|
1954
|
-
mcpoauthprovider: MCP OAuth provider resource.
|
|
1955
1956
|
mcpserver: MCP server resource for AI agent tool hosting.
|
|
1956
1957
|
networkpolicy: Network policy resource (IP allow/deny lists).
|
|
1957
|
-
notification: Notification subscription resource.
|
|
1958
|
+
notification: Notification subscription resource. Filtering on `alert` also returns these entries.
|
|
1958
1959
|
revision: Revision snapshot resource for version control.
|
|
1959
1960
|
role: End-user role resource.
|
|
1960
1961
|
script: Script resource for custom JavaScript hooks.
|