@celigo/api-specs 0.2.39 → 0.2.40

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.
@@ -38,14 +38,32 @@ paths:
38
38
  description: |-
39
39
  Returns one account-level license (`type` is `platform`, `integrator`, or
40
40
  `endpoint`) plus zero or more `connector`, `integrationApp`, or
41
- `integrationAppChild` licenses.
41
+ `integrationAppChild` licenses, oldest first.
42
+
43
+ Pass `type=io` to receive only the account-level license as a single
44
+ object (not an array) with `_userId` added — use this when you need the
45
+ subscription plan without filtering the list yourself.
42
46
  x-celigo-ai-guidance:
43
- - |-
44
- AI guidance:
45
- - Use this to determine the subscription type (`platform`, `integrator`, `endpoint`, `connector`, etc.) and high-level flags (e.g., sandbox access).
47
+ - Use this to determine the subscription type (`platform`, `integrator`, `endpoint`, `connector`, etc.) and high-level flags (e.g., sandbox access).
48
+ - With `?type=io` the response is a single License object, not an array; parse it accordingly.
49
+ parameters:
50
+ - name: type
51
+ in: query
52
+ required: false
53
+ description: |-
54
+ Set to `io` to return only the account-level license as a single object.
55
+ Any other value is ignored and the full array is returned.
56
+ schema:
57
+ type: string
58
+ enum:
59
+ - io
60
+ x-enumDescriptions:
61
+ io: Return the account-level license (integrator, endpoint, or platform) as one object with `_userId`
62
+ examples:
63
+ - io
46
64
  responses:
47
65
  '200':
48
- description: List of licenses
66
+ description: List of licenses. With `type=io`, a single License object instead of an array.
49
67
  content:
50
68
  application/json:
51
69
  schema:
@@ -67,7 +85,9 @@ paths:
67
85
  disableOverage: false
68
86
  requestUserToMigrateSandbox: false
69
87
  sso: true
88
+ scim: false
70
89
  van: true
90
+ cdc: true
71
91
  lookupCache: true
72
92
  abstractFlows: true
73
93
  apiManagement: true
@@ -76,7 +96,6 @@ paths:
76
96
  auditLogRetentionYears: 3
77
97
  aiConversationsPrepaidBalance: 47.96
78
98
  aiAgentsPrepaidBalance: 19.62
79
- aiAgentsActions: 10000
80
99
  platform:
81
100
  production:
82
101
  numEndpoints: 600
@@ -108,8 +127,13 @@ paths:
108
127
  numInvocations: 0
109
128
  apimNumInvocations: 0
110
129
  numAddOnInvocations: 0
111
- mcp:
112
- numInvocations: 50000
130
+ topics:
131
+ enabled: true
132
+ topicsAllowed: 20
133
+ retentionCeilingDays: 90
134
+ lookupCacheUsage:
135
+ numUnits: 100000000
136
+ numAddOnUnits: 0
113
137
  di:
114
138
  enabled: false
115
139
  volume: 0
@@ -123,6 +147,10 @@ paths:
123
147
  storage:
124
148
  maxAllowedUsage: 200
125
149
  disableOverage: false
150
+ '204':
151
+ description: |-
152
+ The account has no licenses, or `type=io` was requested and the account
153
+ has no account-level license.
126
154
  '401':
127
155
  $ref: '#/components/responses/401-unauthorized'
128
156
  /v1/licenseEntitlementUsage:
@@ -222,8 +250,8 @@ paths:
222
250
  syncUsage:
223
251
  entitlement: 0
224
252
  volume: 0
225
- mcpUsage:
226
- numInvocations: 340
253
+ lookupCacheUsage:
254
+ numUnits: 4820
227
255
  aiAgentsActionsUsage: 87
228
256
  '401':
229
257
  $ref: '#/components/responses/401-unauthorized'
@@ -464,6 +492,16 @@ components:
464
492
  x-celigo-refModel: licenses
465
493
  description: License identifier.
466
494
  example: 624cb0356309dc3a543733a4
495
+ _userId:
496
+ type: string
497
+ format: objectId
498
+ readOnly: true
499
+ x-celigo-refModel: users
500
+ description: |-
501
+ Account owner the license belongs to. Present only on the single-object
502
+ response of `GET /v1/licenses?type=io`; absent from the array response.
503
+ examples:
504
+ - 624cb0346309dc3a543733a2
467
505
  created:
468
506
  type: string
469
507
  format: date-time
@@ -618,6 +656,14 @@ components:
618
656
  type: boolean
619
657
  description: When true, the plan entitles the account to use SSO (Single Sign-On).
620
658
  example: true
659
+ scim:
660
+ type: boolean
661
+ description: |-
662
+ When true, the plan entitles the account to provision users through SCIM.
663
+ Derived from the SCIM add-on together with `sso` — reads false whenever the
664
+ plan does not also entitle SSO. Present on account-level licenses.
665
+ examples:
666
+ - false
621
667
  van:
622
668
  type: boolean
623
669
  description: When true, the plan entitles the account to use VAN (Value Added Network) for EDI.
@@ -661,20 +707,60 @@ components:
661
707
  hooks). Customers purchase credits up front and usage costs are
662
708
  deducted as AI agents run. This balance is separate from Ora credits.
663
709
  example: 19.62
664
- aiAgentsActions:
665
- type: integer
666
- description: Total AI agent action entitlement for the current billing period.
667
- example: 10000
668
- mcp:
710
+ topics:
669
711
  type: object
670
- description: MCP (Model Context Protocol) server entitlements.
712
+ description: |-
713
+ Event Streams (topics) entitlements. Present on `endpoint` and `platform`
714
+ licenses; a plan without Event Streams carries only `enabled: false`, and the
715
+ two limits appear once `enabled` is true.
671
716
  required:
672
- - numInvocations
717
+ - enabled
673
718
  properties:
674
- numInvocations:
719
+ enabled:
720
+ type: boolean
721
+ description: When true, the plan entitles the account to create topics and use Event Streams.
722
+ examples:
723
+ - true
724
+ topicsAllowed:
675
725
  type: integer
676
- description: Base number of MCP server invocations per month included with the plan.
677
- example: 50000
726
+ minimum: 0
727
+ description: |-
728
+ Maximum number of topics the account may hold. Enforced when a topic is
729
+ created or restored from the recycle bin.
730
+ examples:
731
+ - 20
732
+ retentionCeilingDays:
733
+ type: integer
734
+ minimum: 1
735
+ maximum: 90
736
+ description: |-
737
+ Longest message retention (in days) a topic may be configured with. Trial
738
+ accounts read a lower ceiling than paid plans.
739
+ examples:
740
+ - 90
741
+ lookupCacheUsage:
742
+ type: object
743
+ description: |-
744
+ Monthly lookup-cache unit entitlement; every read and write against a lookup
745
+ cache consumes units. Present on `endpoint` and `platform` licenses whose plan
746
+ includes lookup-cache units. Compare with `lookupCacheUsage.numUnits` on
747
+ `GET /v1/licenseEntitlementUsage` for consumption.
748
+ required:
749
+ - numUnits
750
+ - numAddOnUnits
751
+ properties:
752
+ numUnits:
753
+ type: integer
754
+ minimum: 0
755
+ description: Base number of lookup-cache units per month included with the plan.
756
+ examples:
757
+ - 100000000
758
+ numAddOnUnits:
759
+ type: integer
760
+ minimum: 0
761
+ description: Additional lookup-cache units per month the customer purchased as add-ons.
762
+ examples:
763
+ - 0
678
764
  di:
679
765
  type: object
680
766
  description: Data Interchange (DI) entitlements.
@@ -1278,17 +1364,27 @@ components:
1278
1364
  type: integer
1279
1365
  description: Sync volume consumed against the entitlement.
1280
1366
  example: 0
1281
- mcpUsage:
1367
+ lookupCacheUsage:
1282
1368
  type: object
1283
- description: MCP server invocation counts.
1369
+ description: |-
1370
+ Lookup-cache consumption for the current calendar month. Present when the
1371
+ plan entitles lookup caches; compare `numUnits` with the license's
1372
+ `lookupCacheUsage.numUnits` plus `numAddOnUnits`.
1373
+ required:
1374
+ - numUnits
1284
1375
  properties:
1285
- numInvocations:
1376
+ numUnits:
1286
1377
  type: integer
1287
- description: Number of MCP invocations for the current period.
1288
- example: 340
1378
+ minimum: 0
1379
+ description: Lookup-cache units consumed this month — every read and write against a lookup cache counts.
1380
+ examples:
1381
+ - 4820
1289
1382
  aiAgentsActionsUsage:
1290
1383
  type: integer
1291
- description: Number of AI agent actions consumed for the current period.
1384
+ description: |-
1385
+ AI agent actions consumed in the current billing period, including billable
1386
+ MCP server invocations (tool calls and resource reads). Metered on production
1387
+ usage only.
1292
1388
  example: 87
1293
1389
  EDILabelPrintingUsageSummary:
1294
1390
  type: object
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':
@@ -663,6 +680,22 @@ components:
663
680
  description: Display name of the template.
664
681
  examples:
665
682
  - Salesforce to NetSuite sync
683
+ type:
684
+ type: string
685
+ enum:
686
+ - integration
687
+ - mcpserver
688
+ x-enumDescriptions:
689
+ integration: Installs an integration with its flows, connections, and supporting resources via `POST /v1/integrations/template/{_id}`
690
+ mcpserver: Installs an MCP server with its tools via `POST /v1/mcpservers/template/{_templateId}`
691
+ description: |-
692
+ Kind of resource the template installs, which decides the install
693
+ route. Assigned by the server from the uploaded zip (a root
694
+ `mcpserver.json` makes it `mcpserver`, a root `integration.json`
695
+ makes it `integration`) and not settable through this API; present
696
+ once a zip has been uploaded.
697
+ examples:
698
+ - integration
666
699
  description:
667
700
  type: string
668
701
  description: Longer description shown in the marketplace.