@celigo/api-specs 0.2.38 → 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.
- package/dist/account.yml +201 -3
- package/dist/agent.yml +7 -0
- package/dist/ai-agent.yml +97 -13
- package/dist/api.yml +5934 -121
- package/dist/asynchelper.yml +7 -0
- package/dist/audit.yml +36 -1
- package/dist/connection.yml +662 -74
- package/dist/ediprofile.yml +7 -0
- package/dist/editransaction.yml +225 -0
- package/dist/enduser.yml +5605 -35
- package/dist/export.yml +276 -41
- package/dist/filedefinition.yml +7 -0
- package/dist/filestorage.yml +712 -330
- package/dist/flow.yml +78 -37
- package/dist/guardrail.yml +81 -533
- package/dist/httpconnectorendpoint.yml +602 -126
- package/dist/httpconnectorresource.yml +1160 -84
- package/dist/iclient.yml +108 -16
- package/dist/import.yml +1357 -176
- package/dist/integration.yml +814 -0
- package/dist/lookupcache.yml +7 -0
- package/dist/marketplace.yml +285 -105
- package/dist/mcp-server.yml +6310 -187
- package/dist/recyclebin.yml +32 -2
- package/dist/script.yml +7 -0
- package/dist/stack.yml +642 -5
- package/dist/subscription.yml +122 -26
- package/dist/template.yml +34 -1
- package/dist/tool.yml +4777 -1652
- package/dist/topic.yml +1783 -0
- package/dist/user.yml +142 -29
- package/package.json +1 -1
- package/schemas.json +978 -768
package/dist/flow.yml
CHANGED
|
@@ -63,10 +63,14 @@ paths:
|
|
|
63
63
|
- name: name
|
|
64
64
|
in: query
|
|
65
65
|
description: |-
|
|
66
|
-
Filter
|
|
67
|
-
|
|
66
|
+
Filter to flows whose name contains this value — a case-insensitive
|
|
67
|
+
substring match, not an exact match; regex metacharacters match
|
|
68
|
+
literally and surrounding whitespace is trimmed. An empty value is
|
|
69
|
+
ignored; a value longer than the maximum is rejected with 400
|
|
70
|
+
`invalid_query_param`.
|
|
68
71
|
schema:
|
|
69
72
|
type: string
|
|
73
|
+
maxLength: 150
|
|
70
74
|
examples:
|
|
71
75
|
- Order
|
|
72
76
|
- name: disabled
|
|
@@ -166,7 +170,9 @@ paths:
|
|
|
166
170
|
logging:
|
|
167
171
|
mode: accountLevel
|
|
168
172
|
'204':
|
|
169
|
-
description: No flows
|
|
173
|
+
description: No flows match — the account has none, or the filters excluded every flow.
|
|
174
|
+
'400':
|
|
175
|
+
$ref: '#/components/responses/400-bad-request'
|
|
170
176
|
'401':
|
|
171
177
|
$ref: '#/components/responses/401-unauthorized'
|
|
172
178
|
post:
|
|
@@ -181,11 +187,19 @@ paths:
|
|
|
181
187
|
abstract/instance patterns, create the abstract flow first, then create instances with
|
|
182
188
|
`_abstractFlowId`.
|
|
183
189
|
|
|
184
|
-
When `_integrationId` is omitted
|
|
190
|
+
When `_integrationId` is omitted or `null`, the flow is auto-assigned to the
|
|
185
191
|
account's "Standalone flows" integration rather than left standalone.
|
|
186
192
|
If that migration integration does not exist on the account, the
|
|
187
|
-
request fails with `422 standalone_flows_not_supported`.
|
|
188
|
-
|
|
193
|
+
request fails with `422 standalone_flows_not_supported`. A value that is
|
|
194
|
+
not a well-formed ObjectId is rejected with `400 invalid_ref` before the
|
|
195
|
+
flow is validated, and an id that names no integration in the account
|
|
196
|
+
fails with `422 invalid_ref`. Always pass an explicit `_integrationId`.
|
|
197
|
+
|
|
198
|
+
`schedule` is validated on every write even when `disabled` is true, so a
|
|
199
|
+
disabled flow cannot be parked with a broken schedule: `422 invalid_value`
|
|
200
|
+
when the expression cannot be parsed into a schedule, `422
|
|
201
|
+
schedule_not_supported` when its runs would be less than a minute apart
|
|
202
|
+
(which is also what free text produces).
|
|
189
203
|
operationId: createFlow
|
|
190
204
|
tags:
|
|
191
205
|
- Flows
|
|
@@ -4673,7 +4687,11 @@ components:
|
|
|
4673
4687
|
- 66a1f2c3b4d5e6f7a8b9c0d1
|
|
4674
4688
|
schedule:
|
|
4675
4689
|
type: string
|
|
4676
|
-
description:
|
|
4690
|
+
description: |-
|
|
4691
|
+
Replaces the page generator's schedule for this instance, in the same
|
|
4692
|
+
Celigo 6-field cron format as the flow-level `schedule`. Parsed on every
|
|
4693
|
+
write regardless of `disabled`; an unparseable expression fails with
|
|
4694
|
+
`422 invalid_value` at `overrides.exports[i].schedule`.
|
|
4677
4695
|
examples:
|
|
4678
4696
|
- '? 5 0,4,8,12,16,20 ? * *'
|
|
4679
4697
|
skipRetries:
|
|
@@ -5154,15 +5172,20 @@ components:
|
|
|
5154
5172
|
format: objectId
|
|
5155
5173
|
x-celigo-refModel: integrations
|
|
5156
5174
|
description: |-
|
|
5157
|
-
Integration this flow belongs to. Omitting it
|
|
5158
|
-
produces a standalone flow — the flow is auto-assigned
|
|
5159
|
-
account's "Standalone flows" integration (or the create fails
|
|
5160
|
-
`422 standalone_flows_not_supported` when that integration is
|
|
5161
|
-
missing).
|
|
5175
|
+
Integration this flow belongs to. Omitting it (or sending `null`) on
|
|
5176
|
+
create no longer produces a standalone flow — the flow is auto-assigned
|
|
5177
|
+
to the account's "Standalone flows" integration (or the create fails
|
|
5178
|
+
with `422 standalone_flows_not_supported` when that integration is
|
|
5179
|
+
missing). A value that is not a well-formed ObjectId is rejected with
|
|
5180
|
+
`400 invalid_ref` rather than auto-assigned. Always set it explicitly.
|
|
5162
5181
|
examples:
|
|
5163
5182
|
- 60a2c4e6f321d800129a1a3c
|
|
5164
5183
|
x-celigo-ai-guidance:
|
|
5165
5184
|
- To move the flow to a different integration, PUT with a changed _integrationId AND remove _flowGroupingId (flow groups are per-integration; a stale value is rejected with 422 flowgrouping_not_belong). The platform registers the flow's step connections in the target integration on save.
|
|
5185
|
+
- |-
|
|
5186
|
+
Send a real integration id: a malformed value fails with 400 `invalid_ref`
|
|
5187
|
+
("Please provide a valid _integrationId."), and a well-formed id that names
|
|
5188
|
+
no integration in the account fails with 422 `invalid_ref`.
|
|
5166
5189
|
schedule:
|
|
5167
5190
|
type:
|
|
5168
5191
|
- string
|
|
@@ -5170,13 +5193,24 @@ components:
|
|
|
5170
5193
|
description: |-
|
|
5171
5194
|
Celigo 6-field cron expression: `? minute hour day-of-month month day-of-week`.
|
|
5172
5195
|
Explicit minute/hour lists, ranges, wildcards, and step forms (`*/N`) are all valid.
|
|
5173
|
-
Leave empty for event-driven or webhook-triggered flows.
|
|
5196
|
+
Leave empty for event-driven or webhook-triggered flows. Validated on every
|
|
5197
|
+
write, including while `disabled` is true, so a flow cannot be parked disabled
|
|
5198
|
+
with a broken schedule: `422 invalid_value` when the expression cannot be parsed
|
|
5199
|
+
into a schedule (for example all wildcards, `? * * ? * *`), `422
|
|
5200
|
+
schedule_not_supported` when its runs would be less than a minute apart — which
|
|
5201
|
+
is also what free text such as `every 5 minutes` produces.
|
|
5174
5202
|
x-celigo-ai-guidance:
|
|
5175
5203
|
- |-
|
|
5176
5204
|
Build `schedule` as a Celigo 6-field cron:
|
|
5177
5205
|
`? minute hour day-of-month month day-of-week`.
|
|
5178
5206
|
The seconds field is always `?`; day-of-month is usually `?`, month `*`,
|
|
5179
5207
|
and day-of-week `*` (or specific days, 0=Sun..6=Sat).
|
|
5208
|
+
- |-
|
|
5209
|
+
Disabling a flow does not bypass schedule validation: POST, PUT, and PATCH
|
|
5210
|
+
all reject free text or a sub-minute expression (`not a cron`, `* * * * * *`)
|
|
5211
|
+
with 422 `schedule_not_supported`, and an expression that parses to no
|
|
5212
|
+
schedule (`? * * ? * *`) with 422 `invalid_value`. Fix or clear the schedule
|
|
5213
|
+
instead of disabling the flow to get past the error.
|
|
5180
5214
|
- |-
|
|
5181
5215
|
Prefer explicit lists when AUTHORING a schedule — hourly or longer:
|
|
5182
5216
|
minute `5` with an explicit hour list
|
|
@@ -5640,17 +5674,6 @@ components:
|
|
|
5640
5674
|
description: Source resource this flow was cloned or installed from.
|
|
5641
5675
|
examples:
|
|
5642
5676
|
- 60a2c4e6f321d800129a1a3c
|
|
5643
|
-
Request:
|
|
5644
|
-
type: object
|
|
5645
|
-
description: |-
|
|
5646
|
-
Fields for creating or updating a flow.
|
|
5647
|
-
|
|
5648
|
-
Use `pageProcessors` for simple linear flows or `routers` for conditional branching — never
|
|
5649
|
-
include both. The `schedule` field uses Celigo's 6-field cron format (not standard 5-field).
|
|
5650
|
-
required:
|
|
5651
|
-
- name
|
|
5652
|
-
allOf:
|
|
5653
|
-
- $ref: '#/components/schemas/FlowBase'
|
|
5654
5677
|
Error:
|
|
5655
5678
|
type: object
|
|
5656
5679
|
description: Standard error response envelope returned by integrator.io APIs.
|
|
@@ -5691,6 +5714,17 @@ components:
|
|
|
5691
5714
|
- message
|
|
5692
5715
|
required:
|
|
5693
5716
|
- errors
|
|
5717
|
+
Request:
|
|
5718
|
+
type: object
|
|
5719
|
+
description: |-
|
|
5720
|
+
Fields for creating or updating a flow.
|
|
5721
|
+
|
|
5722
|
+
Use `pageProcessors` for simple linear flows or `routers` for conditional branching — never
|
|
5723
|
+
include both. The `schedule` field uses Celigo's 6-field cron format (not standard 5-field).
|
|
5724
|
+
required:
|
|
5725
|
+
- name
|
|
5726
|
+
allOf:
|
|
5727
|
+
- $ref: '#/components/schemas/FlowBase'
|
|
5694
5728
|
JsonPatchOperation:
|
|
5695
5729
|
type: object
|
|
5696
5730
|
description: A single JSON Patch operation (RFC 6902).
|
|
@@ -7839,6 +7873,13 @@ components:
|
|
|
7839
7873
|
description: Display name of the dependent resource.
|
|
7840
7874
|
examples:
|
|
7841
7875
|
- Import Orders to NetSuite
|
|
7876
|
+
type:
|
|
7877
|
+
type: string
|
|
7878
|
+
description: |-
|
|
7879
|
+
Sub-type of the dependent resource when its collection distinguishes one, such as
|
|
7880
|
+
`stream` for a listener export. Only present for resource types that carry a `type`.
|
|
7881
|
+
examples:
|
|
7882
|
+
- stream
|
|
7842
7883
|
paths:
|
|
7843
7884
|
type: array
|
|
7844
7885
|
description: |-
|
|
@@ -7902,6 +7943,19 @@ components:
|
|
|
7902
7943
|
export:
|
|
7903
7944
|
- 64ff4b21612a134bd2f45534
|
|
7904
7945
|
responses:
|
|
7946
|
+
400-bad-request:
|
|
7947
|
+
description: |
|
|
7948
|
+
Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
|
|
7949
|
+
content:
|
|
7950
|
+
application/json:
|
|
7951
|
+
schema:
|
|
7952
|
+
$ref: '#/components/schemas/Error'
|
|
7953
|
+
examples:
|
|
7954
|
+
default:
|
|
7955
|
+
value:
|
|
7956
|
+
errors:
|
|
7957
|
+
- code: invalid_request
|
|
7958
|
+
message: The request body failed validation.
|
|
7905
7959
|
401-unauthorized:
|
|
7906
7960
|
description: |-
|
|
7907
7961
|
Unauthorized. The request lacks a valid bearer token, or the provided token
|
|
@@ -7936,19 +7990,6 @@ components:
|
|
|
7936
7990
|
summary: Bearer token invalid or revoked
|
|
7937
7991
|
value:
|
|
7938
7992
|
message: Bearer Authentication Failed
|
|
7939
|
-
400-bad-request:
|
|
7940
|
-
description: |
|
|
7941
|
-
Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
|
|
7942
|
-
content:
|
|
7943
|
-
application/json:
|
|
7944
|
-
schema:
|
|
7945
|
-
$ref: '#/components/schemas/Error'
|
|
7946
|
-
examples:
|
|
7947
|
-
default:
|
|
7948
|
-
value:
|
|
7949
|
-
errors:
|
|
7950
|
-
- code: invalid_request
|
|
7951
|
-
message: The request body failed validation.
|
|
7952
7993
|
422-unprocessable-entity:
|
|
7953
7994
|
description: |
|
|
7954
7995
|
Unprocessable entity. The request was well-formed but was unable to be followed due to semantic errors.
|