@celigo/api-specs 0.2.171 → 0.2.173
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/ai-agent.yml +65 -19
- package/dist/api.yml +15 -4
- package/dist/asynchelper.yml +38 -13
- package/dist/enduser.yml +5 -1
- package/dist/export.yml +283 -34
- package/dist/flow.yml +86 -21
- package/dist/guardrail.yml +16 -5
- package/dist/httpconnector.yml +21 -4
- package/dist/httpconnectorresource.yml +22 -5
- package/dist/import.yml +358 -49
- package/dist/integration.yml +210 -12
- package/dist/job.yml +5 -1
- package/dist/mcp-oauth-provider.yml +10 -3
- package/dist/mcp-server.yml +11 -3
- package/dist/tool.yml +371 -53
- package/dist/tradingpartnerconnector.yml +22 -5
- package/package.json +1 -1
- package/schemas.json +2 -1
package/dist/integration.yml
CHANGED
|
@@ -2716,8 +2716,8 @@ components:
|
|
|
2716
2716
|
id:
|
|
2717
2717
|
type: string
|
|
2718
2718
|
description: |
|
|
2719
|
-
Unique identifier for this field within the form
|
|
2720
|
-
|
|
2719
|
+
Unique identifier for this field within the form: layout containers and conditions
|
|
2720
|
+
refer to the field by it. Use the same string as the field's fieldMap key and its `name`.
|
|
2721
2721
|
examples:
|
|
2722
2722
|
- url
|
|
2723
2723
|
- mode
|
|
@@ -2728,8 +2728,9 @@ components:
|
|
|
2728
2728
|
name:
|
|
2729
2729
|
type: string
|
|
2730
2730
|
description: |
|
|
2731
|
-
|
|
2732
|
-
|
|
2731
|
+
Key the field's value is saved under: one top-level key of the resource's `settings`,
|
|
2732
|
+
which the form also reads the value back from when it opens. Nested objects inside
|
|
2733
|
+
`settings` are written to it directly, not through a form field's `name`.
|
|
2733
2734
|
examples:
|
|
2734
2735
|
- url
|
|
2735
2736
|
- mode
|
|
@@ -2804,11 +2805,19 @@ components:
|
|
|
2804
2805
|
required:
|
|
2805
2806
|
type: boolean
|
|
2806
2807
|
description: |
|
|
2807
|
-
When true, the field must have a value before the form can be submitted.
|
|
2808
|
+
When true, the field must have a value before the form can be submitted. Only the form
|
|
2809
|
+
enforces it: an API write of `settings` is stored without the value.
|
|
2808
2810
|
default: false
|
|
2809
2811
|
examples:
|
|
2810
2812
|
- true
|
|
2811
2813
|
- false
|
|
2814
|
+
defaultValue:
|
|
2815
|
+
description: |
|
|
2816
|
+
Value the form shows while the resource's `settings` holds no value under the field's
|
|
2817
|
+
`name`.
|
|
2818
|
+
examples:
|
|
2819
|
+
- us
|
|
2820
|
+
- true
|
|
2812
2821
|
multiline:
|
|
2813
2822
|
type: boolean
|
|
2814
2823
|
description: |
|
|
@@ -2871,15 +2880,187 @@ components:
|
|
|
2871
2880
|
keyName:
|
|
2872
2881
|
type: string
|
|
2873
2882
|
description: |
|
|
2874
|
-
For keyvalue fields,
|
|
2883
|
+
For keyvalue and staticMap fields, names the first column: each saved row holds that
|
|
2884
|
+
column's value under this key. A keyvalue field without it uses `key`.
|
|
2875
2885
|
examples:
|
|
2876
2886
|
- theKey
|
|
2887
|
+
- source
|
|
2877
2888
|
valueName:
|
|
2878
2889
|
type: string
|
|
2879
2890
|
description: |
|
|
2880
|
-
For keyvalue fields,
|
|
2891
|
+
For keyvalue and staticMap fields, names the second column: each saved row holds that
|
|
2892
|
+
column's value under this key. A keyvalue field without it uses `value`.
|
|
2881
2893
|
examples:
|
|
2882
2894
|
- theValue
|
|
2895
|
+
- target
|
|
2896
|
+
keyLabel:
|
|
2897
|
+
type: string
|
|
2898
|
+
description: |
|
|
2899
|
+
For staticMap fields, heading of the first column.
|
|
2900
|
+
examples:
|
|
2901
|
+
- Source status
|
|
2902
|
+
valueLabel:
|
|
2903
|
+
type: string
|
|
2904
|
+
description: |
|
|
2905
|
+
For staticMap fields, heading of the second column.
|
|
2906
|
+
examples:
|
|
2907
|
+
- Destination status
|
|
2908
|
+
keyOptions:
|
|
2909
|
+
type: array
|
|
2910
|
+
description: |
|
|
2911
|
+
For staticMap fields, suggestions offered in the first column's cells. A cell still
|
|
2912
|
+
accepts a typed value.
|
|
2913
|
+
items:
|
|
2914
|
+
type: object
|
|
2915
|
+
properties:
|
|
2916
|
+
label:
|
|
2917
|
+
type: string
|
|
2918
|
+
description: |
|
|
2919
|
+
Display text for the suggestion.
|
|
2920
|
+
value:
|
|
2921
|
+
type: string
|
|
2922
|
+
description: |
|
|
2923
|
+
Value saved when the suggestion is chosen.
|
|
2924
|
+
examples:
|
|
2925
|
+
- - label: Pending
|
|
2926
|
+
value: pending
|
|
2927
|
+
- label: Shipped
|
|
2928
|
+
value: shipped
|
|
2929
|
+
valueOptions:
|
|
2930
|
+
type: array
|
|
2931
|
+
description: |
|
|
2932
|
+
For staticMap fields, suggestions offered in the second column's cells. A cell still
|
|
2933
|
+
accepts a typed value.
|
|
2934
|
+
items:
|
|
2935
|
+
type: object
|
|
2936
|
+
properties:
|
|
2937
|
+
label:
|
|
2938
|
+
type: string
|
|
2939
|
+
description: |
|
|
2940
|
+
Display text for the suggestion.
|
|
2941
|
+
value:
|
|
2942
|
+
type: string
|
|
2943
|
+
description: |
|
|
2944
|
+
Value saved when the suggestion is chosen.
|
|
2945
|
+
examples:
|
|
2946
|
+
- - label: Open
|
|
2947
|
+
value: open
|
|
2948
|
+
- label: Closed
|
|
2949
|
+
value: closed
|
|
2950
|
+
keyResource:
|
|
2951
|
+
type: object
|
|
2952
|
+
description: |
|
|
2953
|
+
For staticMap fields, fills the first column's suggestions from an export the form
|
|
2954
|
+
carries inline in `virtual`, run the way an exportSelect's `resource` is. With
|
|
2955
|
+
`keyResource` or `valueResource` set, the form requires both columns in every row
|
|
2956
|
+
unless `keyValueRequired` is false.
|
|
2957
|
+
properties:
|
|
2958
|
+
virtual:
|
|
2959
|
+
type: object
|
|
2960
|
+
description: |
|
|
2961
|
+
Export document to run, inline, shaped like an exportSelect's `resource.virtual`.
|
|
2962
|
+
additionalProperties: true
|
|
2963
|
+
valueResource:
|
|
2964
|
+
type: object
|
|
2965
|
+
description: |
|
|
2966
|
+
For staticMap fields, fills the second column's suggestions from an export the form
|
|
2967
|
+
carries inline in `virtual`, run the way an exportSelect's `resource` is.
|
|
2968
|
+
properties:
|
|
2969
|
+
virtual:
|
|
2970
|
+
type: object
|
|
2971
|
+
description: |
|
|
2972
|
+
Export document to run, inline, shaped like an exportSelect's `resource.virtual`.
|
|
2973
|
+
additionalProperties: true
|
|
2974
|
+
keyValueRequired:
|
|
2975
|
+
type: boolean
|
|
2976
|
+
description: |
|
|
2977
|
+
For staticMap fields with `keyResource` or `valueResource`, when false, saves rows
|
|
2978
|
+
that fill only one column; by default the form drops them.
|
|
2979
|
+
default: true
|
|
2980
|
+
examples:
|
|
2981
|
+
- false
|
|
2982
|
+
resource:
|
|
2983
|
+
type: object
|
|
2984
|
+
description: |
|
|
2985
|
+
For exportSelect fields, the export whose records become the options. When the form
|
|
2986
|
+
opens, the UI previews the export in `virtual` (with `test.limit` 100 unless the export
|
|
2987
|
+
sets its own) and lists the preview's `data`: each record needs a `label` and a `value`
|
|
2988
|
+
(a string or number serves as both), so shape them with the export's `transform`. A
|
|
2989
|
+
saved export can't be referenced, and an HTTP export that finds no records leaves the
|
|
2990
|
+
field showing an error instead of options.
|
|
2991
|
+
properties:
|
|
2992
|
+
virtual:
|
|
2993
|
+
type: object
|
|
2994
|
+
description: |
|
|
2995
|
+
Export document to run, inline: `adaptorType`, its adaptor block, and an optional
|
|
2996
|
+
`transform`. `_connectionId` defaults to the connection of the export or import the
|
|
2997
|
+
form belongs to; set it on any other resource's form.
|
|
2998
|
+
additionalProperties: true
|
|
2999
|
+
examples:
|
|
3000
|
+
- virtual:
|
|
3001
|
+
adaptorType: HTTPExport
|
|
3002
|
+
http:
|
|
3003
|
+
relativeURI: /v1/warehouses
|
|
3004
|
+
method: GET
|
|
3005
|
+
formType: http
|
|
3006
|
+
response:
|
|
3007
|
+
resourcePath: warehouses
|
|
3008
|
+
transform:
|
|
3009
|
+
type: expression
|
|
3010
|
+
expression:
|
|
3011
|
+
version: '2'
|
|
3012
|
+
rulesTwoDotZero:
|
|
3013
|
+
mode: create
|
|
3014
|
+
mappings:
|
|
3015
|
+
- generate: label
|
|
3016
|
+
extract: $.name
|
|
3017
|
+
dataType: string
|
|
3018
|
+
status: Active
|
|
3019
|
+
- generate: value
|
|
3020
|
+
extract: $.code
|
|
3021
|
+
dataType: string
|
|
3022
|
+
status: Active
|
|
3023
|
+
multiselect:
|
|
3024
|
+
type: boolean
|
|
3025
|
+
description: |
|
|
3026
|
+
For exportSelect fields, when true, the user can choose several options and the value
|
|
3027
|
+
is saved as an array.
|
|
3028
|
+
default: false
|
|
3029
|
+
examples:
|
|
3030
|
+
- true
|
|
3031
|
+
supportHandlebars:
|
|
3032
|
+
type: boolean
|
|
3033
|
+
description: |
|
|
3034
|
+
For exportSelect fields, when true, renders the `resource.virtual` export as a Handlebars
|
|
3035
|
+
template before each preview (all but its `transform`, `hooks`, and `filter`). On an
|
|
3036
|
+
integration, flow group, flow, export, or import form, the form's current values are
|
|
3037
|
+
under that form's scope name (`integration`, `flowGrouping`, `flow`, `export`, or
|
|
3038
|
+
`import`), beside the saved settings of the scopes above it, with no `settings.`
|
|
3039
|
+
prefix; on a connection or iClient form the template has no context. The options then
|
|
3040
|
+
load through `refreshOptionsOnChangesTo` or `typeAheadSearch`, or when the user
|
|
3041
|
+
refreshes the field.
|
|
3042
|
+
default: false
|
|
3043
|
+
examples:
|
|
3044
|
+
- true
|
|
3045
|
+
refreshOptionsOnChangesTo:
|
|
3046
|
+
type: array
|
|
3047
|
+
items:
|
|
3048
|
+
type: string
|
|
3049
|
+
description: |
|
|
3050
|
+
For exportSelect fields with `supportHandlebars`, ids of the fields whose values the
|
|
3051
|
+
templated export uses: the options load once one of them has a value and reload whenever
|
|
3052
|
+
one changes.
|
|
3053
|
+
examples:
|
|
3054
|
+
- - region
|
|
3055
|
+
typeAheadSearch:
|
|
3056
|
+
type: boolean
|
|
3057
|
+
description: |
|
|
3058
|
+
For exportSelect fields, when true, re-runs the templated export as the user types, with
|
|
3059
|
+
the typed text as this field's own value; an empty box clears the options, and typed
|
|
3060
|
+
text is accepted as the value.
|
|
3061
|
+
default: false
|
|
3062
|
+
examples:
|
|
3063
|
+
- true
|
|
2883
3064
|
showDelete:
|
|
2884
3065
|
type: boolean
|
|
2885
3066
|
description: |
|
|
@@ -2980,7 +3161,9 @@ components:
|
|
|
2980
3161
|
field:
|
|
2981
3162
|
type: string
|
|
2982
3163
|
description: |
|
|
2983
|
-
The ID of another field whose value controls the visibility of this field.
|
|
3164
|
+
The ID of another field whose value controls the visibility of this field. The
|
|
3165
|
+
save doesn't check it: a rule naming an ID that isn't in the form counts as met,
|
|
3166
|
+
so the field stays visible.
|
|
2984
3167
|
examples:
|
|
2985
3168
|
- mode
|
|
2986
3169
|
is:
|
|
@@ -3016,7 +3199,7 @@ components:
|
|
|
3016
3199
|
- tabWithoutSave
|
|
3017
3200
|
- verticalTabWithoutSave
|
|
3018
3201
|
x-enumDescriptions:
|
|
3019
|
-
column:
|
|
3202
|
+
column: Places the containers side by side, one column each.
|
|
3020
3203
|
collapse: Groups fields into collapsible/expandable sections.
|
|
3021
3204
|
box: Wraps field groups in bordered boxes with headings.
|
|
3022
3205
|
indent: Indents field groups to show hierarchy.
|
|
@@ -3025,6 +3208,15 @@ components:
|
|
|
3025
3208
|
examples:
|
|
3026
3209
|
- column
|
|
3027
3210
|
- collapse
|
|
3211
|
+
fields:
|
|
3212
|
+
type: array
|
|
3213
|
+
items:
|
|
3214
|
+
type: string
|
|
3215
|
+
description: |
|
|
3216
|
+
Field IDs shown above the containers, without a heading.
|
|
3217
|
+
examples:
|
|
3218
|
+
- - region
|
|
3219
|
+
- vatNumber
|
|
3028
3220
|
containers:
|
|
3029
3221
|
type: array
|
|
3030
3222
|
description: |
|
|
@@ -3064,7 +3256,8 @@ components:
|
|
|
3064
3256
|
type: string
|
|
3065
3257
|
description: |
|
|
3066
3258
|
Array of field IDs that should be displayed in this container.
|
|
3067
|
-
Each ID must correspond to a key in the fieldMap object
|
|
3259
|
+
Each ID must correspond to a key in the fieldMap object: the save doesn't check it,
|
|
3260
|
+
and an ID that doesn't renders nothing. A field the layout doesn't list isn't shown.
|
|
3068
3261
|
examples:
|
|
3069
3262
|
- - A
|
|
3070
3263
|
- url
|
|
@@ -3141,6 +3334,9 @@ components:
|
|
|
3141
3334
|
|
|
3142
3335
|
The function must return a valid form object that the UI can render.
|
|
3143
3336
|
Throwing an exception will signal an error to the user.
|
|
3337
|
+
|
|
3338
|
+
The UI runs the function each time it opens the form and renders the returned form instead of
|
|
3339
|
+
`form`, then fills in the values from `settings`; a thrown error's message replaces the form.
|
|
3144
3340
|
properties:
|
|
3145
3341
|
function:
|
|
3146
3342
|
type: string
|
|
@@ -3164,8 +3360,10 @@ components:
|
|
|
3164
3360
|
Reference to a predefined script resource containing the initialization function.
|
|
3165
3361
|
|
|
3166
3362
|
The referenced script should contain the function specified in the
|
|
3167
|
-
'function' property.
|
|
3168
|
-
|
|
3363
|
+
'function' property. On an integration, a flow group, a flow, an export, an import, or a
|
|
3364
|
+
connection, an id that isn't a script in the same account (or, on an Integration App's
|
|
3365
|
+
resources, one the app shares) is refused with 422 `invalid_ref`. An iClient save
|
|
3366
|
+
stores the id without that check.
|
|
3169
3367
|
examples:
|
|
3170
3368
|
- 60a2c4e6f321d800129a1a3c
|
|
3171
3369
|
- 5f8d43a1b9e5a80011a35f2c
|
package/dist/job.yml
CHANGED
|
@@ -1571,7 +1571,11 @@ components:
|
|
|
1571
1571
|
type: integer
|
|
1572
1572
|
readOnly: true
|
|
1573
1573
|
description: |-
|
|
1574
|
-
Number of records skipped,
|
|
1574
|
+
Number of records skipped, by a filter or by an import's ignore-existing or ignore-missing
|
|
1575
|
+
rule. Records an import's filter skips count in that import's child job; records an export's
|
|
1576
|
+
output filter drops count in the export's child job, whose `numSuccess` then counts only the
|
|
1577
|
+
records that passed (an export that read 6 records and dropped 3 reads `numSuccess` 3,
|
|
1578
|
+
`numIgnore` 3; live-verified 2026-10-22). Filtered records raise no error.
|
|
1575
1579
|
Summed across steps on a parent flow job; per step on a child job.
|
|
1576
1580
|
examples:
|
|
1577
1581
|
- 0
|
|
@@ -329,15 +329,22 @@ components:
|
|
|
329
329
|
- https://mcp.example.com
|
|
330
330
|
scopes:
|
|
331
331
|
type: array
|
|
332
|
-
description:
|
|
332
|
+
description: |-
|
|
333
|
+
The MCP operations OAuth callers may use on every server that references this
|
|
334
|
+
provider, and the scopes those servers advertise as `scopes_supported`. Calling a
|
|
335
|
+
tool (`tools/call`) needs `mcp:write`; listing tools, prompts and resources, and
|
|
336
|
+
reading prompts and resources, accept either scope. Listing only `mcp:read` refuses
|
|
337
|
+
every tool call with 403 `insufficient_scope`, whatever the token carries; an empty
|
|
338
|
+
list allows both. Each request also needs its scope in the caller's token, so a
|
|
339
|
+
token issued with only `mcp:read` can list and read but can't call a tool.
|
|
333
340
|
items:
|
|
334
341
|
type: string
|
|
335
342
|
enum:
|
|
336
343
|
- mcp:read
|
|
337
344
|
- mcp:write
|
|
338
345
|
x-enumDescriptions:
|
|
339
|
-
mcp:read:
|
|
340
|
-
mcp:write:
|
|
346
|
+
mcp:read: Lists tools, prompts and resources and reads prompts and resources; can't call a tool.
|
|
347
|
+
mcp:write: Calls tools (`tools/call`); also lists and reads.
|
|
341
348
|
examples:
|
|
342
349
|
- - mcp:read
|
|
343
350
|
- mcp:write
|
package/dist/mcp-server.yml
CHANGED
|
@@ -3082,7 +3082,15 @@ components:
|
|
|
3082
3082
|
scopes:
|
|
3083
3083
|
type: array
|
|
3084
3084
|
description: |-
|
|
3085
|
-
|
|
3085
|
+
For an external provider or inline OAuth: the MCP operations OAuth callers may use on
|
|
3086
|
+
this server, and the scopes its OAuth metadata advertises as `scopes_supported`.
|
|
3087
|
+
Calling a tool (`tools/call`) needs `mcp:write`; listing tools, prompts and resources,
|
|
3088
|
+
and reading prompts and resources, accept either scope. A server that lists only
|
|
3089
|
+
`mcp:read` refuses every tool call with 403 `insufficient_scope`, whatever the token
|
|
3090
|
+
carries; an empty list allows both. Under Celigo OAuth (`useCeligoOauth`) this list
|
|
3091
|
+
isn't used: the server allows both scopes. Either way each request also needs its
|
|
3092
|
+
scope in the caller's token, so a token issued with only `mcp:read` can list and read
|
|
3093
|
+
but can't call a tool. API-token callers aren't scope-checked.
|
|
3086
3094
|
|
|
3087
3095
|
Rejected values return `enum` / `invalid_field_value` on
|
|
3088
3096
|
`oauth.scopes.<index>`.
|
|
@@ -3092,8 +3100,8 @@ components:
|
|
|
3092
3100
|
- mcp:read
|
|
3093
3101
|
- mcp:write
|
|
3094
3102
|
x-enumDescriptions:
|
|
3095
|
-
mcp:read:
|
|
3096
|
-
mcp:write:
|
|
3103
|
+
mcp:read: Lists tools, prompts and resources and reads prompts and resources; can't call a tool.
|
|
3104
|
+
mcp:write: Calls tools (`tools/call`); also lists and reads.
|
|
3097
3105
|
examples:
|
|
3098
3106
|
- - mcp:read
|
|
3099
3107
|
- mcp:write
|