@celigo/api-specs 0.2.3 → 0.2.4-IO-168454-EPIC-fb

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.
Files changed (52) hide show
  1. package/README.md +71 -80
  2. package/dist/account.yml +456 -55
  3. package/dist/agent.yml +15 -0
  4. package/dist/ai-agent.yml +1000 -192
  5. package/dist/alert.yml +1226 -0
  6. package/dist/api.yml +6375 -178
  7. package/dist/apim.yml +0 -4
  8. package/dist/asynchelper.yml +441 -62
  9. package/dist/audit.yml +57 -2
  10. package/dist/bartendertemplate.yml +508 -0
  11. package/dist/connection.yml +2533 -189
  12. package/dist/connector.yml +8 -0
  13. package/dist/ediprofile.yml +15 -0
  14. package/dist/editransaction.yml +250 -14
  15. package/dist/enduser.yml +6063 -47
  16. package/dist/environment.yml +8 -0
  17. package/dist/eventreport.yml +8 -0
  18. package/dist/export.yml +1624 -1804
  19. package/dist/filedefinition.yml +47 -0
  20. package/dist/filedefinitionrules.yml +722 -0
  21. package/dist/fileserver.yml +1457 -0
  22. package/dist/filestorage.yml +1087 -535
  23. package/dist/flow.yml +896 -209
  24. package/dist/guardrail.yml +310 -499
  25. package/dist/httpconnector.yml +8 -0
  26. package/dist/httpconnectorendpoint.yml +610 -126
  27. package/dist/httpconnectorresource.yml +1160 -84
  28. package/dist/iclient.yml +245 -114
  29. package/dist/import.yml +2583 -448
  30. package/dist/integration.yml +1114 -45
  31. package/dist/job.yml +188 -92
  32. package/dist/lookupcache.yml +45 -14
  33. package/dist/marketplace.yml +352 -107
  34. package/dist/mcp-oauth-provider.yml +15 -30
  35. package/dist/mcp-server.yml +7004 -68
  36. package/dist/networkpolicy.yml +1221 -0
  37. package/dist/notification.yml +59 -9
  38. package/dist/processor.yml +8 -3
  39. package/dist/recyclebin.yml +32 -2
  40. package/dist/script.yml +91 -16
  41. package/dist/stack.yml +642 -5
  42. package/dist/storagequery.yml +935 -0
  43. package/dist/subscription.yml +428 -67
  44. package/dist/sync.yml +435 -79
  45. package/dist/tag.yml +8 -0
  46. package/dist/template.yml +47 -1
  47. package/dist/tool.yml +7932 -3273
  48. package/dist/topic.yml +1806 -0
  49. package/dist/tradingpartnerconnector.yml +18 -0
  50. package/dist/user.yml +465 -42
  51. package/package.json +13 -1
  52. package/schemas.json +2358 -1887
package/dist/tag.yml CHANGED
@@ -336,6 +336,14 @@ components:
336
336
  description: Timestamp when the resource was last updated. Changes whenever any property is modified.
337
337
  x-celigo-ai-guidance:
338
338
  - Recorded in ISO 8601 with a UTC timezone (Z suffix); always equal to or later than `createdAt`.
339
+ - |-
340
+ Records that something was written, not what — a settings edit, a flag flip, or a
341
+ platform workflow all move it. What changed and when is in the audit log: the
342
+ per-resource route `GET /v1/{resourceType}/{_id}/audit` for the types its
343
+ `resourceType` enum lists, or the account-wide
344
+ `GET /v1/audit?resourceType=<singular>&_resourceId={_id}` for the further types that
345
+ endpoint's enum accepts (users, environments, notifications among them). A type absent
346
+ from both enums — jobs, connectors, templates — has only this timestamp.
339
347
  examples:
340
348
  - '2023-04-15T14:30:15Z'
341
349
  deletedAt:
package/dist/template.yml CHANGED
@@ -70,6 +70,7 @@ paths:
70
70
  value:
71
71
  - _id: 67ffe71a4432714ded99e81b
72
72
  name: Salesforce to NetSuite sync
73
+ type: integration
73
74
  description: Bi-directional sync of contacts between Salesforce and NetSuite.
74
75
  websiteURL: https://example.com/templates/sf-ns
75
76
  contactEmail: partner@example.com
@@ -176,6 +177,7 @@ paths:
176
177
  value:
177
178
  _id: 67ffe71a4432714ded99e81b
178
179
  name: Salesforce to NetSuite sync
180
+ type: integration
179
181
  description: Bi-directional sync of contacts between Salesforce and NetSuite.
180
182
  websiteURL: https://example.com/templates/sf-ns
181
183
  contactEmail: partner@example.com
@@ -252,6 +254,7 @@ paths:
252
254
  value:
253
255
  _id: 67ffe71a4432714ded99e81b
254
256
  name: Salesforce to NetSuite sync
257
+ type: integration
255
258
  description: Updated description for the marketplace listing.
256
259
  websiteURL: https://example.com/templates/sf-ns
257
260
  contactEmail: new-contact@example.com
@@ -321,6 +324,11 @@ paths:
321
324
  `connectionMap` that maps each template-defined connection ID to an actual
322
325
  connection ID in the caller's account. Every template connection must
323
326
  appear as a key in `connectionMap`.
327
+
328
+ Only templates whose `type` is `integration` install here. A template
329
+ whose `type` is `mcpserver` is rejected before anything is created —
330
+ install it with `POST /v1/mcpservers/template/{_templateId}` instead.
331
+ Check `type` on the `GET /v1/templates/{_id}/preview` response first.
324
332
  parameters:
325
333
  - name: _id
326
334
  in: path
@@ -377,7 +385,10 @@ paths:
377
385
  value:
378
386
  _integrationId: 6405b9d73496e05ff253d587
379
387
  '400':
380
- description: Missing or empty `connectionMap`.
388
+ description: |-
389
+ Missing or empty `connectionMap`, or the template is an MCP server
390
+ template that must be installed through
391
+ `POST /v1/mcpservers/template/{_templateId}`.
381
392
  content:
382
393
  application/json:
383
394
  schema:
@@ -388,6 +399,12 @@ paths:
388
399
  errors:
389
400
  - code: invalid_connectionMap
390
401
  message: connectionMap is required.
402
+ mcpServerTemplate:
403
+ summary: Template type is mcpserver
404
+ value:
405
+ errors:
406
+ - code: invalid_template
407
+ message: MCP server templates cannot be installed through the Integration template path.
391
408
  '401':
392
409
  $ref: '#/components/responses/401-unauthorized'
393
410
  '403':
@@ -507,6 +524,11 @@ paths:
507
524
  Installs a template from a previously uploaded zip file. The `runKey`
508
525
  in the request body ties this request to the zip upload (obtained from
509
526
  `GET /v1/s3SignedURL`).
527
+
528
+ The zip carries connection definitions without credentials, and the
529
+ installed integration receives new connection `_id`s. Configure each
530
+ connection in the new integration before running its flows; connection
531
+ `_id`s that existed only in the zip are not preserved.
510
532
  requestBody:
511
533
  required: true
512
534
  content:
@@ -621,6 +643,14 @@ components:
621
643
  description: Timestamp when the resource was last updated. Changes whenever any property is modified.
622
644
  x-celigo-ai-guidance:
623
645
  - Recorded in ISO 8601 with a UTC timezone (Z suffix); always equal to or later than `createdAt`.
646
+ - |-
647
+ Records that something was written, not what — a settings edit, a flag flip, or a
648
+ platform workflow all move it. What changed and when is in the audit log: the
649
+ per-resource route `GET /v1/{resourceType}/{_id}/audit` for the types its
650
+ `resourceType` enum lists, or the account-wide
651
+ `GET /v1/audit?resourceType=<singular>&_resourceId={_id}` for the further types that
652
+ endpoint's enum accepts (users, environments, notifications among them). A type absent
653
+ from both enums — jobs, connectors, templates — has only this timestamp.
624
654
  examples:
625
655
  - '2023-04-15T14:30:15Z'
626
656
  deletedAt:
@@ -658,6 +688,22 @@ components:
658
688
  description: Display name of the template.
659
689
  examples:
660
690
  - Salesforce to NetSuite sync
691
+ type:
692
+ type: string
693
+ enum:
694
+ - integration
695
+ - mcpserver
696
+ x-enumDescriptions:
697
+ integration: Installs an integration with its flows, connections, and supporting resources via `POST /v1/integrations/template/{_id}`
698
+ mcpserver: Installs an MCP server with its tools via `POST /v1/mcpservers/template/{_templateId}`
699
+ description: |-
700
+ Kind of resource the template installs, which decides the install
701
+ route. Assigned by the server from the uploaded zip (a root
702
+ `mcpserver.json` makes it `mcpserver`, a root `integration.json`
703
+ makes it `integration`) and not settable through this API; present
704
+ once a zip has been uploaded.
705
+ examples:
706
+ - integration
661
707
  description:
662
708
  type: string
663
709
  description: Longer description shown in the marketplace.