@celigo/api-specs 0.2.251 → 0.2.253
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/enduser.yml +125 -19
- package/dist/guardrail.yml +28 -7
- package/dist/import.yml +42 -11
- package/dist/mcp-server.yml +19 -9
- package/dist/tool.yml +42 -11
- package/dist/user.yml +15 -8
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/enduser.yml
CHANGED
|
@@ -520,9 +520,10 @@ paths:
|
|
|
520
520
|
tags:
|
|
521
521
|
- End Users
|
|
522
522
|
description: |-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
523
|
+
Stores the arrays sent — group memberships, direct resource grants, role
|
|
524
|
+
pins — each replacing its stored array in full; an array left out of the
|
|
525
|
+
body stays as stored. Works on invited end users before they accept.
|
|
526
|
+
`disabled` is not applied here — use `PUT /v1/ashares/{_ashareId}/disable`.
|
|
526
527
|
|
|
527
528
|
An end user's access record is an ashare, so this is the same route as
|
|
528
529
|
the workspace-user update in the Users API, with this body instead of the
|
|
@@ -1278,25 +1279,32 @@ components:
|
|
|
1278
1279
|
description: |-
|
|
1279
1280
|
Capabilities granted on the target resource. Each `:all` capability
|
|
1280
1281
|
covers only its own kind — grant `tool:all`, `api:all`, `prompt:all`,
|
|
1281
|
-
and `resource:all` together to open every item on a server.
|
|
1282
|
+
and `resource:all` together to open every item on a server. `pset:all`
|
|
1283
|
+
covers every permission set on the target server, including sets added
|
|
1284
|
+
later, and stays in place when a set is deleted; it reaches only what
|
|
1285
|
+
the sets contain — an attached tool or prompt in no set stays denied.
|
|
1286
|
+
Deleting a set rewrites each `pset:<_id>` grant
|
|
1287
|
+
that named it — on end users, groups and roles — to the set's member
|
|
1288
|
+
capabilities, so access is kept rather than dropped.
|
|
1282
1289
|
items:
|
|
1283
1290
|
type: string
|
|
1284
|
-
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:[a-fA-F0-9]{24}$
|
|
1291
|
+
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:(?:[a-fA-F0-9]{24}|all)$
|
|
1285
1292
|
description: |-
|
|
1286
1293
|
Capability string for an `mcpServer` grant. `tool:`, `api:`,
|
|
1287
1294
|
`prompt:`, and `resource:` take `all` or a 24-hex id on the target
|
|
1288
1295
|
server — a `tools[]._toolId` or upstream tool row `_id`, an
|
|
1289
1296
|
`apis[]._apiId`, a `prompts[]._id`, or a `resources[]._id`; `pset:`
|
|
1290
|
-
takes a `permissionSets[]._id`. Grant prompts with
|
|
1291
|
-
older grants written as `tool:<prompt _id>` still
|
|
1292
|
-
not reported by effective access. Any other shape
|
|
1293
|
-
400 `validation_failed` ("Invalid capability"), and
|
|
1294
|
-
not attached to the target server with 400
|
|
1295
|
-
naming the missing item.
|
|
1297
|
+
takes a `permissionSets[]._id` or `all`. Grant prompts with
|
|
1298
|
+
`prompt:<_id>`: older grants written as `tool:<prompt _id>` still
|
|
1299
|
+
validate but are not reported by effective access. Any other shape
|
|
1300
|
+
is rejected with 400 `validation_failed` ("Invalid capability"), and
|
|
1301
|
+
an id that is not attached to the target server with 400
|
|
1302
|
+
`validation_failed` naming the missing item.
|
|
1296
1303
|
examples:
|
|
1297
1304
|
- tool:all
|
|
1298
1305
|
- prompt:6b2c3d4e5f6a7b8c9d0e1f2a
|
|
1299
1306
|
- pset:6c3d4e5f6a7b8c9d0e1f2a3b
|
|
1307
|
+
- pset:all
|
|
1300
1308
|
EndUser:
|
|
1301
1309
|
type: object
|
|
1302
1310
|
description: |-
|
|
@@ -1403,6 +1411,24 @@ components:
|
|
|
1403
1411
|
type: string
|
|
1404
1412
|
format: objectId
|
|
1405
1413
|
x-celigo-refModel: roles
|
|
1414
|
+
roleAssignments:
|
|
1415
|
+
type: array
|
|
1416
|
+
readOnly: true
|
|
1417
|
+
description: |-
|
|
1418
|
+
The direct role pins with their source, returned by the update
|
|
1419
|
+
operation beside `_roleIds`; the end users list carries `_roleIds`
|
|
1420
|
+
only.
|
|
1421
|
+
items:
|
|
1422
|
+
type: object
|
|
1423
|
+
properties:
|
|
1424
|
+
_roleId:
|
|
1425
|
+
type: string
|
|
1426
|
+
format: objectId
|
|
1427
|
+
x-celigo-refModel: roles
|
|
1428
|
+
description: The pinned role.
|
|
1429
|
+
source:
|
|
1430
|
+
type: string
|
|
1431
|
+
description: How the pin was made — `manual` for a role set on the record by an owner or administrator.
|
|
1406
1432
|
email:
|
|
1407
1433
|
type: string
|
|
1408
1434
|
format: email
|
|
@@ -1695,11 +1721,14 @@ components:
|
|
|
1695
1721
|
description: |-
|
|
1696
1722
|
Source attribution strings such as `direct`, `group:<name>`,
|
|
1697
1723
|
`pset:<name> (direct)`, `pset:<name> (group:<name>)`,
|
|
1698
|
-
`role-direct:<name>`, or `role:<name> (group:<name>)
|
|
1724
|
+
`role-direct:<name>`, or `role:<name> (group:<name>)`; an item
|
|
1725
|
+
reached through a `pset:all` grant names the set and the grant's
|
|
1726
|
+
source, such as `pset:<set name> (direct via pset:all)`.
|
|
1699
1727
|
items:
|
|
1700
1728
|
type: string
|
|
1701
1729
|
examples:
|
|
1702
1730
|
- - pset:Order tools (direct)
|
|
1731
|
+
- - pset:Order tools (direct via pset:all)
|
|
1703
1732
|
EffectiveAccess:
|
|
1704
1733
|
type: object
|
|
1705
1734
|
description: |-
|
|
@@ -1827,7 +1856,11 @@ components:
|
|
|
1827
1856
|
description: |-
|
|
1828
1857
|
Source attribution strings such as `direct`, `group:<name>`,
|
|
1829
1858
|
`pset:<name> (group:<name>)`, `role-direct:<name>`, or
|
|
1830
|
-
`role:<name> (group:<name>)
|
|
1859
|
+
`role:<name> (group:<name>)`; an item reached through a
|
|
1860
|
+
`pset:all` grant names the set and the grant's source, such
|
|
1861
|
+
as `pset:<set name> (direct via pset:all)`,
|
|
1862
|
+
`pset:<set name> (group:<name> via pset:all)` or
|
|
1863
|
+
`pset:<set name> (role-direct:<role> via pset:all)`.
|
|
1831
1864
|
items:
|
|
1832
1865
|
type: string
|
|
1833
1866
|
deniedTools:
|
|
@@ -7847,15 +7880,14 @@ components:
|
|
|
7847
7880
|
EndUserUpdateRequest:
|
|
7848
7881
|
type: object
|
|
7849
7882
|
description: |-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
- resourceGrants
|
|
7883
|
+
Access to store for an end user. Each array sent replaces the stored one
|
|
7884
|
+
in full, so it must carry every entry to keep, not just the changes; an
|
|
7885
|
+
array left out of the body stays as stored — send `_roleIds` alone to
|
|
7886
|
+
change the roles without touching memberships or direct grants.
|
|
7855
7887
|
properties:
|
|
7856
7888
|
groupMemberships:
|
|
7857
7889
|
type: array
|
|
7858
|
-
description: Complete set of groups the end user should belong to after the update.
|
|
7890
|
+
description: Complete set of groups the end user should belong to after the update. `source` defaults to `manual` on an entry that omits it.
|
|
7859
7891
|
items:
|
|
7860
7892
|
$ref: '#/components/schemas/GroupMembership'
|
|
7861
7893
|
resourceGrants:
|
|
@@ -7863,6 +7895,32 @@ components:
|
|
|
7863
7895
|
description: Complete set of direct resource grants the end user should hold after the update.
|
|
7864
7896
|
items:
|
|
7865
7897
|
$ref: '#/components/schemas/ResourceGrant'
|
|
7898
|
+
_roleIds:
|
|
7899
|
+
type: array
|
|
7900
|
+
description: Complete set of roles pinned directly to the end user after the update. Each id must name a role of this account (400 `validation_failed` otherwise).
|
|
7901
|
+
items:
|
|
7902
|
+
type: string
|
|
7903
|
+
format: objectId
|
|
7904
|
+
x-celigo-refModel: roles
|
|
7905
|
+
GroupExternalId:
|
|
7906
|
+
type: object
|
|
7907
|
+
description: One identity-provider group id pinned to a group.
|
|
7908
|
+
required:
|
|
7909
|
+
- _idpConfigId
|
|
7910
|
+
- value
|
|
7911
|
+
properties:
|
|
7912
|
+
_idpConfigId:
|
|
7913
|
+
type: string
|
|
7914
|
+
format: objectId
|
|
7915
|
+
x-celigo-refModel: idpconfigs
|
|
7916
|
+
examples:
|
|
7917
|
+
- 68d1e2f3a4b5c6d7e8f9a0b1
|
|
7918
|
+
description: IdP configuration whose group claim carries this id.
|
|
7919
|
+
value:
|
|
7920
|
+
type: string
|
|
7921
|
+
examples:
|
|
7922
|
+
- a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d
|
|
7923
|
+
description: The group's id as the identity provider sends it in the claim.
|
|
7866
7924
|
Group:
|
|
7867
7925
|
type: object
|
|
7868
7926
|
description: |-
|
|
@@ -7930,6 +7988,30 @@ components:
|
|
|
7930
7988
|
group push. Maintained by the server — IdP-synced memberships cannot be
|
|
7931
7989
|
removed through the group members API. Groups a SCIM push names that do
|
|
7932
7990
|
not exist yet are created with this flag set and no grants.
|
|
7991
|
+
provisionedBy:
|
|
7992
|
+
type: string
|
|
7993
|
+
enum:
|
|
7994
|
+
- manual
|
|
7995
|
+
- idp-sync
|
|
7996
|
+
- scim
|
|
7997
|
+
x-enumDescriptions:
|
|
7998
|
+
manual: Created by an owner or administrator in the UI or through this API
|
|
7999
|
+
idp-sync: Created by group-claim sync at an end user's sign-in (`groupSync.autoCreateGroups` on the IdP configuration)
|
|
8000
|
+
scim: Created by the identity provider's SCIM group push
|
|
8001
|
+
description: |-
|
|
8002
|
+
How the group came to exist. Absent on groups created in the UI or
|
|
8003
|
+
through this API unless set on write; a group an identity provider
|
|
8004
|
+
created carries its channel.
|
|
8005
|
+
externalIds:
|
|
8006
|
+
type: array
|
|
8007
|
+
description: |-
|
|
8008
|
+
Identity-provider group ids pinned to this group for group-claim
|
|
8009
|
+
sync, as (`_idpConfigId`, `value`) pairs. The server keeps the pins
|
|
8010
|
+
across a replace: omitting the field, or sending an empty array, on
|
|
8011
|
+
the update operation leaves the stored pins unchanged. A repeated
|
|
8012
|
+
pair is rejected with 422 `duplicate_external_id`.
|
|
8013
|
+
items:
|
|
8014
|
+
$ref: '#/components/schemas/GroupExternalId'
|
|
7933
8015
|
createdAt:
|
|
7934
8016
|
type: string
|
|
7935
8017
|
format: date-time
|
|
@@ -7983,6 +8065,30 @@ components:
|
|
|
7983
8065
|
description: Resource grants to attach directly to the group. `_resourceId` values must reference resources owned by the same account.
|
|
7984
8066
|
items:
|
|
7985
8067
|
$ref: '#/components/schemas/ResourceGrant'
|
|
8068
|
+
provisionedBy:
|
|
8069
|
+
type: string
|
|
8070
|
+
enum:
|
|
8071
|
+
- manual
|
|
8072
|
+
- idp-sync
|
|
8073
|
+
- scim
|
|
8074
|
+
x-enumDescriptions:
|
|
8075
|
+
manual: Created by an owner or administrator in the UI or through this API
|
|
8076
|
+
idp-sync: Created by group-claim sync at an end user's sign-in
|
|
8077
|
+
scim: Created by the identity provider's SCIM group push
|
|
8078
|
+
description: |-
|
|
8079
|
+
Provenance to record on the group; normally written by the server for
|
|
8080
|
+
groups an identity provider creates. Kept as stored when omitted on a
|
|
8081
|
+
replace.
|
|
8082
|
+
externalIds:
|
|
8083
|
+
type: array
|
|
8084
|
+
description: |-
|
|
8085
|
+
Identity-provider group ids to pin to this group for group-claim
|
|
8086
|
+
sync. Each `_idpConfigId` must name an IdP configuration of this
|
|
8087
|
+
account (422 `invalid_ref` otherwise). Omitting the field, or sending
|
|
8088
|
+
an empty array, on a replace keeps the stored pins — the server
|
|
8089
|
+
manages them.
|
|
8090
|
+
items:
|
|
8091
|
+
$ref: '#/components/schemas/GroupExternalId'
|
|
7986
8092
|
GroupMembersRequest:
|
|
7987
8093
|
type: object
|
|
7988
8094
|
description: End users to add to or remove from the group.
|
package/dist/guardrail.yml
CHANGED
|
@@ -2072,13 +2072,30 @@ components:
|
|
|
2072
2072
|
- json
|
|
2073
2073
|
x-lowercase: true
|
|
2074
2074
|
x-enumDescriptions:
|
|
2075
|
-
string:
|
|
2076
|
-
number:
|
|
2077
|
-
boolean:
|
|
2078
|
-
numberarray:
|
|
2079
|
-
stringarray:
|
|
2080
|
-
json:
|
|
2081
|
-
description:
|
|
2075
|
+
string: The value as text; an array or object is flattened to text
|
|
2076
|
+
number: The digits and decimal point kept from the text, every other character dropped
|
|
2077
|
+
boolean: '`false`, `no`, `f` (any case) and an empty value become false; any other non-empty value becomes true'
|
|
2078
|
+
numberarray: A one-element array holding the value converted as `number`; delimited text and a real array are joined into that one element
|
|
2079
|
+
stringarray: A one-element array holding the value as text; delimited text and a real array are joined into that one element
|
|
2080
|
+
json: The rendered text parsed as JSON into a real array or object
|
|
2081
|
+
description: |-
|
|
2082
|
+
Conversion applied to the mapped value — the extracted value, or the Handlebars
|
|
2083
|
+
render, which is always text — before it is written. Omit it to write the value as the
|
|
2084
|
+
source delivers it (a source array stays an array). The array types never split text:
|
|
2085
|
+
a delimited string that must become a multi-element array is written by a `json` row
|
|
2086
|
+
whose extract renders JSON text, such as `[{{replace tags " " ""}}]`.
|
|
2087
|
+
x-celigo-ai-guidance:
|
|
2088
|
+
- |-
|
|
2089
|
+
A value outside the enum (`date`, `datetime`, `object`, `objectarray`,
|
|
2090
|
+
`booleanarray`) fails the import save with 422 `enum`; a date destination is
|
|
2091
|
+
`string` with `extractDateFormat` / `generateDateFormat`.
|
|
2092
|
+
- |-
|
|
2093
|
+
`number` drops the minus sign (`-3` is written as `3`) and `boolean` reads `"0"` as
|
|
2094
|
+
true; pass a signed number or a 0/1 flag through with no `dataType` instead.
|
|
2095
|
+
- |-
|
|
2096
|
+
Set `json` through the API: the mapping editor's data-type list does not include
|
|
2097
|
+
it (the Help Center's Mapper 1.0 article "Map source data fields to destination"
|
|
2098
|
+
lists Boolean, Date, Number, Number array, String and String array).
|
|
2082
2099
|
discardIfEmpty:
|
|
2083
2100
|
type: boolean
|
|
2084
2101
|
description: When true, the field is omitted from the output when the extracted value is empty.
|
|
@@ -2113,6 +2130,10 @@ components:
|
|
|
2113
2130
|
Use ``default``, not ``hardCodedValue``, for a fallback on a field that is
|
|
2114
2131
|
sometimes empty: ``hardCodedValue`` is written on every record and replaces
|
|
2115
2132
|
the values that exist.
|
|
2133
|
+
- |-
|
|
2134
|
+
The row's ``dataType`` converts the default too: a null default is written as
|
|
2135
|
+
null on a ``string``, ``json`` or untyped row — ``boolean`` writes false,
|
|
2136
|
+
``number`` writes 0 and the array types write an empty array.
|
|
2116
2137
|
extractDateFormat:
|
|
2117
2138
|
type: string
|
|
2118
2139
|
description: Date format of the source value, used to parse it before conversion.
|
package/dist/import.yml
CHANGED
|
@@ -16022,13 +16022,30 @@ components:
|
|
|
16022
16022
|
- json
|
|
16023
16023
|
x-lowercase: true
|
|
16024
16024
|
x-enumDescriptions:
|
|
16025
|
-
string:
|
|
16026
|
-
number:
|
|
16027
|
-
boolean:
|
|
16028
|
-
numberarray:
|
|
16029
|
-
stringarray:
|
|
16030
|
-
json:
|
|
16031
|
-
description:
|
|
16025
|
+
string: The value as text; an array or object is flattened to text
|
|
16026
|
+
number: The digits and decimal point kept from the text, every other character dropped
|
|
16027
|
+
boolean: '`false`, `no`, `f` (any case) and an empty value become false; any other non-empty value becomes true'
|
|
16028
|
+
numberarray: A one-element array holding the value converted as `number`; delimited text and a real array are joined into that one element
|
|
16029
|
+
stringarray: A one-element array holding the value as text; delimited text and a real array are joined into that one element
|
|
16030
|
+
json: The rendered text parsed as JSON into a real array or object
|
|
16031
|
+
description: |-
|
|
16032
|
+
Conversion applied to the mapped value — the extracted value, or the Handlebars
|
|
16033
|
+
render, which is always text — before it is written. Omit it to write the value as the
|
|
16034
|
+
source delivers it (a source array stays an array). The array types never split text:
|
|
16035
|
+
a delimited string that must become a multi-element array is written by a `json` row
|
|
16036
|
+
whose extract renders JSON text, such as `[{{replace tags " " ""}}]`.
|
|
16037
|
+
x-celigo-ai-guidance:
|
|
16038
|
+
- |-
|
|
16039
|
+
A value outside the enum (`date`, `datetime`, `object`, `objectarray`,
|
|
16040
|
+
`booleanarray`) fails the import save with 422 `enum`; a date destination is
|
|
16041
|
+
`string` with `extractDateFormat` / `generateDateFormat`.
|
|
16042
|
+
- |-
|
|
16043
|
+
`number` drops the minus sign (`-3` is written as `3`) and `boolean` reads `"0"` as
|
|
16044
|
+
true; pass a signed number or a 0/1 flag through with no `dataType` instead.
|
|
16045
|
+
- |-
|
|
16046
|
+
Set `json` through the API: the mapping editor's data-type list does not include
|
|
16047
|
+
it (the Help Center's Mapper 1.0 article "Map source data fields to destination"
|
|
16048
|
+
lists Boolean, Date, Number, Number array, String and String array).
|
|
16032
16049
|
discardIfEmpty:
|
|
16033
16050
|
type: boolean
|
|
16034
16051
|
description: When true, the field is omitted from the output when the extracted value is empty.
|
|
@@ -16063,6 +16080,10 @@ components:
|
|
|
16063
16080
|
Use ``default``, not ``hardCodedValue``, for a fallback on a field that is
|
|
16064
16081
|
sometimes empty: ``hardCodedValue`` is written on every record and replaces
|
|
16065
16082
|
the values that exist.
|
|
16083
|
+
- |-
|
|
16084
|
+
The row's ``dataType`` converts the default too: a null default is written as
|
|
16085
|
+
null on a ``string``, ``json`` or untyped row — ``boolean`` writes false,
|
|
16086
|
+
``number`` writes 0 and the array types write an empty array.
|
|
16066
16087
|
extractDateFormat:
|
|
16067
16088
|
type: string
|
|
16068
16089
|
description: Date format of the source value, used to parse it before conversion.
|
|
@@ -17832,10 +17853,12 @@ components:
|
|
|
17832
17853
|
|
|
17833
17854
|
This identifies the array itself — do NOT add bracket
|
|
17834
17855
|
notation here. Per-element semantics belong on the inner
|
|
17835
|
-
``fields[].extract`` paths
|
|
17836
|
-
record root
|
|
17837
|
-
|
|
17838
|
-
|
|
17856
|
+
``fields[].extract`` paths, which path-walk from the source
|
|
17857
|
+
record root: ``<array>[*].<field>`` iterates a source array
|
|
17858
|
+
on an object record, ``*.<field>`` iterates the rows of a
|
|
17859
|
+
grouped record (an array of rows). Dot notation IS allowed
|
|
17860
|
+
here when the destination places the array inside a parent
|
|
17861
|
+
object (e.g. ``order.lines``).
|
|
17839
17862
|
fields:
|
|
17840
17863
|
type: array
|
|
17841
17864
|
description: Field mappings applied within each generated list item.
|
|
@@ -17846,6 +17869,14 @@ components:
|
|
|
17846
17869
|
Per-element field mappings applied to each item in the extracted
|
|
17847
17870
|
array. Uses the same shape as top-level ``fields`` — same
|
|
17848
17871
|
extract / generate / lookupName / conditional semantics.
|
|
17872
|
+
- |-
|
|
17873
|
+
The iteration notation follows the record's shape (the two forms
|
|
17874
|
+
named on ``generate``): ``<array>[*].<field>`` on an object record;
|
|
17875
|
+
``*.<field>`` (``*.[Item SKU]``) on a grouped record — an array of
|
|
17876
|
+
rows, as a grouped saved search delivers — where a top-level
|
|
17877
|
+
``fields`` row reads the first row. In both shapes a child whose
|
|
17878
|
+
extract is a plain path to a scalar repeats that value on every
|
|
17879
|
+
element.
|
|
17849
17880
|
x-celigo-ai-guidance:
|
|
17850
17881
|
- |-
|
|
17851
17882
|
One source-array → destination-array projection. The destination is
|
package/dist/mcp-server.yml
CHANGED
|
@@ -4869,11 +4869,14 @@ components:
|
|
|
4869
4869
|
description: |-
|
|
4870
4870
|
Source attribution strings such as `direct`, `group:<name>`,
|
|
4871
4871
|
`pset:<name> (direct)`, `pset:<name> (group:<name>)`,
|
|
4872
|
-
`role-direct:<name>`, or `role:<name> (group:<name>)
|
|
4872
|
+
`role-direct:<name>`, or `role:<name> (group:<name>)`; an item
|
|
4873
|
+
reached through a `pset:all` grant names the set and the grant's
|
|
4874
|
+
source, such as `pset:<set name> (direct via pset:all)`.
|
|
4873
4875
|
items:
|
|
4874
4876
|
type: string
|
|
4875
4877
|
examples:
|
|
4876
4878
|
- - pset:Order tools (direct)
|
|
4879
|
+
- - pset:Order tools (direct via pset:all)
|
|
4877
4880
|
MCPServerEffectiveAccess:
|
|
4878
4881
|
type: object
|
|
4879
4882
|
description: |-
|
|
@@ -4952,7 +4955,10 @@ components:
|
|
|
4952
4955
|
description: |-
|
|
4953
4956
|
Source attribution strings such as `direct`, `group:<name>`,
|
|
4954
4957
|
`pset:<name> (group:<name>)`, `role-direct:<name>`, or
|
|
4955
|
-
`role:<name> (group:<name>)
|
|
4958
|
+
`role:<name> (group:<name>)`; an item reached through a
|
|
4959
|
+
`pset:all` grant names the set and the grant's source, such
|
|
4960
|
+
as `pset:<set name> (direct via pset:all)` or
|
|
4961
|
+
`pset:<set name> (group:<name> via pset:all)`.
|
|
4956
4962
|
items:
|
|
4957
4963
|
type: string
|
|
4958
4964
|
apis:
|
|
@@ -10894,22 +10900,26 @@ components:
|
|
|
10894
10900
|
- rest
|
|
10895
10901
|
GrantCapability:
|
|
10896
10902
|
type: string
|
|
10897
|
-
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:[a-fA-F0-9]{24}$
|
|
10903
|
+
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:(?:[a-fA-F0-9]{24}|all)$
|
|
10898
10904
|
description: |-
|
|
10899
10905
|
Capability string granting access on this server. `tool:`, `api:`,
|
|
10900
10906
|
`prompt:`, and `resource:` take either `all` or a 24-hex id — a
|
|
10901
10907
|
`tools[]._toolId` or upstream tool row `_id`, an `apis[]._apiId`, a
|
|
10902
10908
|
`prompts[]._id`, or a `resources[]._id` — and `pset:` takes a
|
|
10903
|
-
`permissionSets[]._id`. Each `:all` covers only its own kind
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
+
`permissionSets[]._id` or `all`. Each `:all` covers only its own kind;
|
|
10910
|
+
`pset:all` covers every permission set on this server, sets added later
|
|
10911
|
+
included, and reaches only what the sets contain — an attached tool or
|
|
10912
|
+
prompt in no set stays denied. Grant prompts with
|
|
10913
|
+
`prompt:<_id>` — older grants written as `tool:<prompt _id>` still
|
|
10914
|
+
validate but are not reported by effective access. Any other shape is
|
|
10915
|
+
rejected with 400 `validation_failed` ("Invalid capability"), and an id
|
|
10916
|
+
not attached to this server with 400 `validation_failed` naming the
|
|
10917
|
+
missing item.
|
|
10909
10918
|
examples:
|
|
10910
10919
|
- tool:all
|
|
10911
10920
|
- prompt:6b2c3d4e5f6a7b8c9d0e1f2a
|
|
10912
10921
|
- pset:6a7b8c9d0e1f2a3b4c5d6e7f
|
|
10922
|
+
- pset:all
|
|
10913
10923
|
BulkAssignEndUsersRequest:
|
|
10914
10924
|
type: object
|
|
10915
10925
|
description: |-
|
package/dist/tool.yml
CHANGED
|
@@ -25470,13 +25470,30 @@ components:
|
|
|
25470
25470
|
- json
|
|
25471
25471
|
x-lowercase: true
|
|
25472
25472
|
x-enumDescriptions:
|
|
25473
|
-
string:
|
|
25474
|
-
number:
|
|
25475
|
-
boolean:
|
|
25476
|
-
numberarray:
|
|
25477
|
-
stringarray:
|
|
25478
|
-
json:
|
|
25479
|
-
description:
|
|
25473
|
+
string: The value as text; an array or object is flattened to text
|
|
25474
|
+
number: The digits and decimal point kept from the text, every other character dropped
|
|
25475
|
+
boolean: '`false`, `no`, `f` (any case) and an empty value become false; any other non-empty value becomes true'
|
|
25476
|
+
numberarray: A one-element array holding the value converted as `number`; delimited text and a real array are joined into that one element
|
|
25477
|
+
stringarray: A one-element array holding the value as text; delimited text and a real array are joined into that one element
|
|
25478
|
+
json: The rendered text parsed as JSON into a real array or object
|
|
25479
|
+
description: |-
|
|
25480
|
+
Conversion applied to the mapped value — the extracted value, or the Handlebars
|
|
25481
|
+
render, which is always text — before it is written. Omit it to write the value as the
|
|
25482
|
+
source delivers it (a source array stays an array). The array types never split text:
|
|
25483
|
+
a delimited string that must become a multi-element array is written by a `json` row
|
|
25484
|
+
whose extract renders JSON text, such as `[{{replace tags " " ""}}]`.
|
|
25485
|
+
x-celigo-ai-guidance:
|
|
25486
|
+
- |-
|
|
25487
|
+
A value outside the enum (`date`, `datetime`, `object`, `objectarray`,
|
|
25488
|
+
`booleanarray`) fails the import save with 422 `enum`; a date destination is
|
|
25489
|
+
`string` with `extractDateFormat` / `generateDateFormat`.
|
|
25490
|
+
- |-
|
|
25491
|
+
`number` drops the minus sign (`-3` is written as `3`) and `boolean` reads `"0"` as
|
|
25492
|
+
true; pass a signed number or a 0/1 flag through with no `dataType` instead.
|
|
25493
|
+
- |-
|
|
25494
|
+
Set `json` through the API: the mapping editor's data-type list does not include
|
|
25495
|
+
it (the Help Center's Mapper 1.0 article "Map source data fields to destination"
|
|
25496
|
+
lists Boolean, Date, Number, Number array, String and String array).
|
|
25480
25497
|
discardIfEmpty:
|
|
25481
25498
|
type: boolean
|
|
25482
25499
|
description: When true, the field is omitted from the output when the extracted value is empty.
|
|
@@ -25511,6 +25528,10 @@ components:
|
|
|
25511
25528
|
Use ``default``, not ``hardCodedValue``, for a fallback on a field that is
|
|
25512
25529
|
sometimes empty: ``hardCodedValue`` is written on every record and replaces
|
|
25513
25530
|
the values that exist.
|
|
25531
|
+
- |-
|
|
25532
|
+
The row's ``dataType`` converts the default too: a null default is written as
|
|
25533
|
+
null on a ``string``, ``json`` or untyped row — ``boolean`` writes false,
|
|
25534
|
+
``number`` writes 0 and the array types write an empty array.
|
|
25514
25535
|
extractDateFormat:
|
|
25515
25536
|
type: string
|
|
25516
25537
|
description: Date format of the source value, used to parse it before conversion.
|
|
@@ -27280,10 +27301,12 @@ components:
|
|
|
27280
27301
|
|
|
27281
27302
|
This identifies the array itself — do NOT add bracket
|
|
27282
27303
|
notation here. Per-element semantics belong on the inner
|
|
27283
|
-
``fields[].extract`` paths
|
|
27284
|
-
record root
|
|
27285
|
-
|
|
27286
|
-
|
|
27304
|
+
``fields[].extract`` paths, which path-walk from the source
|
|
27305
|
+
record root: ``<array>[*].<field>`` iterates a source array
|
|
27306
|
+
on an object record, ``*.<field>`` iterates the rows of a
|
|
27307
|
+
grouped record (an array of rows). Dot notation IS allowed
|
|
27308
|
+
here when the destination places the array inside a parent
|
|
27309
|
+
object (e.g. ``order.lines``).
|
|
27287
27310
|
fields:
|
|
27288
27311
|
type: array
|
|
27289
27312
|
description: Field mappings applied within each generated list item.
|
|
@@ -27294,6 +27317,14 @@ components:
|
|
|
27294
27317
|
Per-element field mappings applied to each item in the extracted
|
|
27295
27318
|
array. Uses the same shape as top-level ``fields`` — same
|
|
27296
27319
|
extract / generate / lookupName / conditional semantics.
|
|
27320
|
+
- |-
|
|
27321
|
+
The iteration notation follows the record's shape (the two forms
|
|
27322
|
+
named on ``generate``): ``<array>[*].<field>`` on an object record;
|
|
27323
|
+
``*.<field>`` (``*.[Item SKU]``) on a grouped record — an array of
|
|
27324
|
+
rows, as a grouped saved search delivers — where a top-level
|
|
27325
|
+
``fields`` row reads the first row. In both shapes a child whose
|
|
27326
|
+
extract is a plain path to a scalar repeats that value on every
|
|
27327
|
+
element.
|
|
27297
27328
|
x-celigo-ai-guidance:
|
|
27298
27329
|
- |-
|
|
27299
27330
|
One source-array → destination-array projection. The destination is
|
package/dist/user.yml
CHANGED
|
@@ -889,25 +889,32 @@ components:
|
|
|
889
889
|
description: |-
|
|
890
890
|
Capabilities granted on the target resource. Each `:all` capability
|
|
891
891
|
covers only its own kind — grant `tool:all`, `api:all`, `prompt:all`,
|
|
892
|
-
and `resource:all` together to open every item on a server.
|
|
892
|
+
and `resource:all` together to open every item on a server. `pset:all`
|
|
893
|
+
covers every permission set on the target server, including sets added
|
|
894
|
+
later, and stays in place when a set is deleted; it reaches only what
|
|
895
|
+
the sets contain — an attached tool or prompt in no set stays denied.
|
|
896
|
+
Deleting a set rewrites each `pset:<_id>` grant
|
|
897
|
+
that named it — on end users, groups and roles — to the set's member
|
|
898
|
+
capabilities, so access is kept rather than dropped.
|
|
893
899
|
items:
|
|
894
900
|
type: string
|
|
895
|
-
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:[a-fA-F0-9]{24}$
|
|
901
|
+
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:(?:[a-fA-F0-9]{24}|all)$
|
|
896
902
|
description: |-
|
|
897
903
|
Capability string for an `mcpServer` grant. `tool:`, `api:`,
|
|
898
904
|
`prompt:`, and `resource:` take `all` or a 24-hex id on the target
|
|
899
905
|
server — a `tools[]._toolId` or upstream tool row `_id`, an
|
|
900
906
|
`apis[]._apiId`, a `prompts[]._id`, or a `resources[]._id`; `pset:`
|
|
901
|
-
takes a `permissionSets[]._id`. Grant prompts with
|
|
902
|
-
older grants written as `tool:<prompt _id>` still
|
|
903
|
-
not reported by effective access. Any other shape
|
|
904
|
-
400 `validation_failed` ("Invalid capability"), and
|
|
905
|
-
not attached to the target server with 400
|
|
906
|
-
naming the missing item.
|
|
907
|
+
takes a `permissionSets[]._id` or `all`. Grant prompts with
|
|
908
|
+
`prompt:<_id>`: older grants written as `tool:<prompt _id>` still
|
|
909
|
+
validate but are not reported by effective access. Any other shape
|
|
910
|
+
is rejected with 400 `validation_failed` ("Invalid capability"), and
|
|
911
|
+
an id that is not attached to the target server with 400
|
|
912
|
+
`validation_failed` naming the missing item.
|
|
907
913
|
examples:
|
|
908
914
|
- tool:all
|
|
909
915
|
- prompt:6b2c3d4e5f6a7b8c9d0e1f2a
|
|
910
916
|
- pset:6c3d4e5f6a7b8c9d0e1f2a3b
|
|
917
|
+
- pset:all
|
|
911
918
|
GroupMembership:
|
|
912
919
|
type: object
|
|
913
920
|
description: An end user's membership in a group, with the source that created it.
|
package/package.json
CHANGED