@celigo/api-specs 0.2.8 → 0.2.9
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/subscription.yml +45 -15
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/subscription.yml
CHANGED
|
@@ -133,14 +133,15 @@ paths:
|
|
|
133
133
|
tags:
|
|
134
134
|
- Subscription & Entitlements
|
|
135
135
|
description: |-
|
|
136
|
-
Returns entitlement usage for the
|
|
137
|
-
is consuming vs. what is entitled. Pair with `GET /v1/licenses` for the entitlement limits
|
|
136
|
+
Returns entitlement usage for the environment the request is made in -- how many resources it
|
|
137
|
+
is consuming vs. what is entitled. Pair with `GET /v1/licenses` for the entitlement limits;
|
|
138
|
+
the license's pricing model decides what the flow count means.
|
|
138
139
|
x-celigo-ai-guidance:
|
|
139
|
-
- Returns entitlement usage for the
|
|
140
|
+
- Returns entitlement usage for the requesting environment (consumption vs. entitlement, by usage category); environments are never netted against each other.
|
|
140
141
|
- |-
|
|
141
142
|
The response includes counts such as:
|
|
142
143
|
- endpoints consumed
|
|
143
|
-
- flows
|
|
144
|
+
- the flow meter (`flowUsage.numEnabled` — enabled flows, or the distinct flows that ran in the billing period, depending on the account's pricing model)
|
|
144
145
|
- agents active
|
|
145
146
|
- trading partners consumed
|
|
146
147
|
- environments enabled (for multi-environment licensing)
|
|
@@ -273,8 +274,12 @@ paths:
|
|
|
273
274
|
tags:
|
|
274
275
|
- Subscription & Entitlements
|
|
275
276
|
description: |-
|
|
276
|
-
Returns historical monthly usage for accounts
|
|
277
|
-
licenses)
|
|
277
|
+
Returns historical monthly usage for accounts whose pricing model meters flow runs (platform
|
|
278
|
+
licenses), newest month first; the current month's row can carry null usage until the meter
|
|
279
|
+
has processed. Useful for month-by-month trend analysis of usage vs. allocation. Not available
|
|
280
|
+
on plans that do not store monthly usage (endpoint and integrator licenses).
|
|
281
|
+
x-celigo-ai-guidance:
|
|
282
|
+
- On endpoint and integrator licenses the request currently fails with a 500 server error instead of returning an empty list; treat that as "this plan stores no monthly usage", not as an outage, and answer from `GET /v1/licenseEntitlementUsage` instead.
|
|
278
283
|
responses:
|
|
279
284
|
'200':
|
|
280
285
|
description: Historical monthly usage
|
|
@@ -382,7 +387,10 @@ components:
|
|
|
382
387
|
properties:
|
|
383
388
|
numEndpoints:
|
|
384
389
|
type: integer
|
|
385
|
-
description:
|
|
390
|
+
description: |-
|
|
391
|
+
Base number of endpoints (distinct connected applications) included with the plan, per
|
|
392
|
+
environment. Whether the count is taken from endpoints in use or from endpoints invoked
|
|
393
|
+
in the billing period depends on the account's pricing model.
|
|
386
394
|
example: 600
|
|
387
395
|
numAddOnEndpoints:
|
|
388
396
|
type: integer
|
|
@@ -390,7 +398,10 @@ components:
|
|
|
390
398
|
example: 0
|
|
391
399
|
numFlows:
|
|
392
400
|
type: integer
|
|
393
|
-
description:
|
|
401
|
+
description: |-
|
|
402
|
+
Base flow entitlement included with the plan, per environment. Whether it caps enabled
|
|
403
|
+
flows or the distinct flows run in a billing period — and whether reaching it blocks or
|
|
404
|
+
only notifies — depends on the account's pricing model.
|
|
394
405
|
example: 80
|
|
395
406
|
numAddOnFlows:
|
|
396
407
|
type: integer
|
|
@@ -435,6 +446,16 @@ components:
|
|
|
435
446
|
Licenses may represent:
|
|
436
447
|
- an account-level subscription (`type` is `integrator`, `platform`, or `endpoint`)
|
|
437
448
|
- a connector-specific license (`type` is `connector`, includes `_connectorId` / `_integrationId`)
|
|
449
|
+
- |-
|
|
450
|
+
The resource meters (flows, endpoints, on-premise agents, trading partners) apply per
|
|
451
|
+
environment: every environment is a separate account under the parent, each is metered
|
|
452
|
+
on its own, and headroom in one never offsets usage in another. Account-level grants —
|
|
453
|
+
the number of environments, prepaid AI balances, and the other non-resource fields —
|
|
454
|
+
belong to the parent license and are not repeated per environment.
|
|
455
|
+
- |-
|
|
456
|
+
What a flow or endpoint entitlement METERS depends on the account's pricing model
|
|
457
|
+
(`type` plus tier generation). Interpret the counts for the plan this account is on
|
|
458
|
+
only; do not infer the rule from field names.
|
|
438
459
|
properties:
|
|
439
460
|
_id:
|
|
440
461
|
type: string
|
|
@@ -472,9 +493,9 @@ components:
|
|
|
472
493
|
- integrationApp
|
|
473
494
|
- integrationAppChild
|
|
474
495
|
x-enumDescriptions:
|
|
475
|
-
integrator: Account-level subscription (integrator pricing model).
|
|
476
|
-
platform: Account-level subscription (platform pricing model).
|
|
477
|
-
endpoint: Account-level subscription (endpoint pricing model).
|
|
496
|
+
integrator: Account-level subscription (legacy integrator pricing model).
|
|
497
|
+
platform: Account-level subscription (platform pricing model; the tier name carries the plan generation).
|
|
498
|
+
endpoint: Account-level subscription (endpoint pricing model, metered on distinct endpoints).
|
|
478
499
|
connector: Connector-specific license for an Integration App.
|
|
479
500
|
integrationApp: Integration App license (parent).
|
|
480
501
|
integrationAppChild: Integration App child license (inherits from a parent via `_parentId`).
|
|
@@ -483,9 +504,13 @@ components:
|
|
|
483
504
|
description: When true, the account is licensed for CDC (change data capture) features.
|
|
484
505
|
tier:
|
|
485
506
|
type: string
|
|
486
|
-
description:
|
|
507
|
+
description: |-
|
|
508
|
+
Subscription tier name — the plan level the account is on. On `platform` licenses a year
|
|
509
|
+
marker in the name identifies the plan generation; the rest of the name is free-form
|
|
510
|
+
(packages, custom names).
|
|
487
511
|
x-celigo-ai-guidance:
|
|
488
|
-
- 'Examples: `free`, `standard`, `professional`, `enterprise`, `enterprise (2024)`.'
|
|
512
|
+
- 'Examples: `free`, `standard`, `professional`, `enterprise`, `enterprise (2024)`, `standard package (2024) - lite`.'
|
|
513
|
+
- Key pricing-model logic on `type` plus the year marker, never on the full tier string.
|
|
489
514
|
example: enterprise (2024)
|
|
490
515
|
supportTier:
|
|
491
516
|
type: string
|
|
@@ -897,11 +922,16 @@ components:
|
|
|
897
922
|
properties:
|
|
898
923
|
numEnabled:
|
|
899
924
|
type: integer
|
|
900
|
-
description:
|
|
925
|
+
description: |-
|
|
926
|
+
The flow meter for the requesting environment on the account's pricing model. The field
|
|
927
|
+
name reflects its legacy meaning (enabled flows); on plans that meter flow runs it is the
|
|
928
|
+
number of distinct flows that ran in the billing period — never a count of executions.
|
|
929
|
+
x-celigo-ai-guidance:
|
|
930
|
+
- Read the account license before interpreting this number — it is not the enabled-flow count on every plan, and enabled-but-idle flows may not appear in it.
|
|
901
931
|
example: 12
|
|
902
932
|
flows:
|
|
903
933
|
type: array
|
|
904
|
-
description: Flows contributing to
|
|
934
|
+
description: Flows contributing to the meter.
|
|
905
935
|
x-celigo-ai-guidance:
|
|
906
936
|
- List of flows contributing to usage (if provided).
|
|
907
937
|
items:
|
package/package.json
CHANGED