@celigo/api-specs 0.2.31 → 0.2.32

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 CHANGED
@@ -23,7 +23,11 @@ tags:
23
23
  in bulk), list and revoke them, and inspect the effective MCP tool
24
24
  access compiled from their grants, groups, and roles. An end user's
25
25
  access record is an ashare, so editing its grants and suspending it
26
- use the `/v1/ashares` routes shared with workspace users.
26
+ use the `/v1/ashares` routes shared with workspace users. The account
27
+ owner is never an end user: owners already have MCP access without an
28
+ end-user record, the invite refuses the owner's address
29
+ (`owner_self_invite_not_allowed`), and the owner never appears in
30
+ these lists.
27
31
 
28
32
  ## End user schema
29
33
 
@@ -59,7 +63,9 @@ paths:
59
63
  Returns the account's end users with identity fields (`email`, `name`,
60
64
  `lastSignIn`) joined from each user record, plus a computed
61
65
  `hasWorkspaceShare` flag indicating whether the same person also holds a
62
- workspace access record. Requires account owner or administrator access.
66
+ workspace access record. The account owner is never listed: owners
67
+ have MCP access without an end-user record, so none exists for them.
68
+ Requires account owner or administrator access.
63
69
  parameters:
64
70
  - name: provisionedBy
65
71
  in: query
@@ -124,8 +130,11 @@ paths:
124
130
  description: |-
125
131
  Finds or creates the user by email, creates an end-user access record,
126
132
  applies the requested group memberships and direct grants, and sends an
127
- invite email. Account owners cannot be invited as end users. Requires
128
- account owner or administrator access.
133
+ invite email. The account owner cannot be invited as an end user
134
+ (`owner_self_invite_not_allowed`): owners already have MCP access
135
+ without an end-user record, so there is nothing to grant — test
136
+ end-user access with a different address. Requires account owner or
137
+ administrator access.
129
138
  requestBody:
130
139
  required: true
131
140
  content:
@@ -163,7 +172,20 @@ paths:
163
172
  _ashareId: 68b1c2d3e4f5a6b7c8d9e0f1
164
173
  status: invited
165
174
  '400':
166
- $ref: '#/components/responses/400-bad-request'
175
+ description: |-
176
+ The email is missing or invalid (`email_invalid`), or it is the
177
+ account owner's address (`owner_self_invite_not_allowed` — the owner
178
+ already has MCP access without an end-user record).
179
+ content:
180
+ application/json:
181
+ schema:
182
+ $ref: '#/components/schemas/Error'
183
+ examples:
184
+ ownerSelfInvite:
185
+ value:
186
+ errors:
187
+ - code: owner_self_invite_not_allowed
188
+ message: Account owners cannot be invited as end-users. Owners already have MCP access without an end-user share.
167
189
  '401':
168
190
  $ref: '#/components/responses/401-unauthorized'
169
191
  '403':
@@ -1403,7 +1425,7 @@ components:
1403
1425
  x-enumDescriptions:
1404
1426
  email_invalid: The email address is not valid
1405
1427
  enduser_ashare_exists: An end-user record already exists for this user in the account
1406
- owner_self_invite_not_allowed: Account owners cannot be invited as end users
1428
+ owner_self_invite_not_allowed: The address is the account owner's — owners already have MCP access without an end-user record
1407
1429
  validation_failed: The shared groupIds or grants failed validation for this item
1408
1430
  invite_failed: An unexpected per-item error, caught so the batch can continue
1409
1431
  description: Failure reason. Present when status is `failed`.
@@ -551,8 +551,11 @@ paths:
551
551
  server and compiles each one's effective tool access with source
552
552
  attribution — the union of direct grants, group grants, role grants, and
553
553
  permission sets. The result is recomputed on every request rather than
554
- cached. Requires account owner or administrator access. The per-user view
555
- of the same compilation is `GET /v1/endusers/{_ashareId}/effective-access`
554
+ cached. The account owner is never listed — owners have MCP access
555
+ without an end-user record, so there is no record to compile — and an
556
+ empty result therefore means no end user has been granted this server.
557
+ Requires account owner or administrator access. The per-user view of the
558
+ same compilation is `GET /v1/endusers/{_ashareId}/effective-access`
556
559
  (End Users API).
557
560
  parameters:
558
561
  - name: _id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "bcdaef7",
4
+ "iasCommit": "762b9a7",
5
5
  "generatedAt": "2026-09-19"
6
6
  },
7
7
  "roots": {