@celigo/api-specs 0.2.290 → 0.2.291

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.
Files changed (53) hide show
  1. package/dist/account.yml +70 -59
  2. package/dist/agent.yml +30 -19
  3. package/dist/agentgroup.yml +30 -19
  4. package/dist/ai-agent.yml +31 -20
  5. package/dist/alert.yml +30 -19
  6. package/dist/api.yml +31 -20
  7. package/dist/apim.yml +30 -19
  8. package/dist/asynchelper.yml +48 -37
  9. package/dist/audit.yml +30 -19
  10. package/dist/bartendertemplate.yml +30 -19
  11. package/dist/connection.yml +92 -64
  12. package/dist/connector.yml +30 -19
  13. package/dist/ediprofile.yml +43 -32
  14. package/dist/editransaction.yml +30 -19
  15. package/dist/enduser.yml +30 -19
  16. package/dist/environment.yml +30 -19
  17. package/dist/eventreport.yml +70 -59
  18. package/dist/export.yml +71 -60
  19. package/dist/filedefinition.yml +65 -54
  20. package/dist/fileserver.yml +30 -19
  21. package/dist/filestorage.yml +30 -19
  22. package/dist/flow.yml +31 -20
  23. package/dist/guardrail.yml +70 -59
  24. package/dist/httpconnector.yml +71 -60
  25. package/dist/httpconnectorendpoint.yml +30 -19
  26. package/dist/httpconnectorresource.yml +31 -20
  27. package/dist/iclient.yml +51 -40
  28. package/dist/import.yml +71 -60
  29. package/dist/integration.yml +37 -26
  30. package/dist/job.yml +30 -19
  31. package/dist/lookupcache.yml +35 -24
  32. package/dist/marketplace.yml +30 -19
  33. package/dist/mcp-oauth-provider.yml +42 -31
  34. package/dist/mcp-server.yml +52 -41
  35. package/dist/networkpolicy.yml +30 -19
  36. package/dist/notification.yml +30 -19
  37. package/dist/processor.yml +70 -59
  38. package/dist/profile.yml +43 -32
  39. package/dist/recyclebin.yml +30 -19
  40. package/dist/script.yml +70 -59
  41. package/dist/stack.yml +30 -19
  42. package/dist/state.yml +30 -19
  43. package/dist/storagequery.yml +30 -19
  44. package/dist/subscription.yml +70 -19
  45. package/dist/sync.yml +30 -19
  46. package/dist/tag.yml +46 -35
  47. package/dist/template.yml +30 -19
  48. package/dist/tool.yml +42 -31
  49. package/dist/topic.yml +30 -19
  50. package/dist/tradingpartnerconnector.yml +31 -20
  51. package/dist/user.yml +30 -19
  52. package/package.json +1 -1
  53. package/schemas.json +1 -1
package/dist/topic.yml CHANGED
@@ -1866,29 +1866,34 @@ components:
1866
1866
  responses:
1867
1867
  401-unauthorized:
1868
1868
  description: |-
1869
- Unauthorized. The request lacks a valid bearer token, or the provided token
1870
- failed to authenticate.
1869
+ Unauthorized, in one of two shapes.
1871
1870
 
1872
- Note: the 401 response is produced by the auth middleware **before** the
1873
- request reaches the endpoint handler, so it does **not** follow the
1874
- standard `{errors: [...]}` envelope. Instead the body is a bare
1875
- `{message: string}` object with no `code`, no `errors` array. Callers
1876
- handling 401s should key off the HTTP status and the `message` string,
1877
- not try to destructure an `errors[]`.
1871
+ No valid bearer token: the auth middleware answers before the endpoint
1872
+ handler runs, with a bare `{message: string}` body — no `code`, no
1873
+ `errors` array — so key off the HTTP status and `message`.
1874
+
1875
+ An API token with a custom scope calling an operation its scope does not
1876
+ grant: the token authenticated, and the body is the standard
1877
+ `{errors: [...]}` envelope with code `access_restricted`. Observed on
1878
+ `GET /v1/connections` and `GET /v1/exports/{_id}`: a full-access API token
1879
+ passed both, a personal access token `GET /v1/exports/{_id}`.
1878
1880
  content:
1879
1881
  application/json:
1880
1882
  schema:
1881
- type: object
1882
- properties:
1883
- message:
1884
- type: string
1885
- description: |-
1886
- Human-readable description of the auth failure. Known values:
1887
- - `"Unauthorized"` — no `Authorization` header on the request.
1888
- - `"Bearer Authentication Failed"` — header present but token
1889
- is invalid, revoked, or expired.
1890
- required:
1891
- - message
1883
+ oneOf:
1884
+ - type: object
1885
+ description: The auth middleware's bare body for a missing or invalid token.
1886
+ properties:
1887
+ message:
1888
+ type: string
1889
+ description: |-
1890
+ Human-readable description of the auth failure. Known values:
1891
+ - `"Unauthorized"` — no `Authorization` header on the request.
1892
+ - `"Bearer Authentication Failed"` — header present but token
1893
+ is invalid, revoked, or expired.
1894
+ required:
1895
+ - message
1896
+ - $ref: '#/components/schemas/Error'
1892
1897
  examples:
1893
1898
  missing_token:
1894
1899
  summary: No Authorization header sent
@@ -1898,6 +1903,12 @@ components:
1898
1903
  summary: Bearer token invalid or revoked
1899
1904
  value:
1900
1905
  message: Bearer Authentication Failed
1906
+ scoped_token:
1907
+ summary: An API token with a custom scope reading a resource
1908
+ value:
1909
+ errors:
1910
+ - code: access_restricted
1911
+ message: You don't have the required permissions to perform the action.
1901
1912
  404-not-found:
1902
1913
  description: |
1903
1914
  Not found. The requested resource does not exist or is not visible to the caller.
@@ -1556,29 +1556,34 @@ components:
1556
1556
  responses:
1557
1557
  401-unauthorized:
1558
1558
  description: |-
1559
- Unauthorized. The request lacks a valid bearer token, or the provided token
1560
- failed to authenticate.
1561
-
1562
- Note: the 401 response is produced by the auth middleware **before** the
1563
- request reaches the endpoint handler, so it does **not** follow the
1564
- standard `{errors: [...]}` envelope. Instead the body is a bare
1565
- `{message: string}` object with no `code`, no `errors` array. Callers
1566
- handling 401s should key off the HTTP status and the `message` string,
1567
- not try to destructure an `errors[]`.
1559
+ Unauthorized, in one of two shapes.
1560
+
1561
+ No valid bearer token: the auth middleware answers before the endpoint
1562
+ handler runs, with a bare `{message: string}` body — no `code`, no
1563
+ `errors` array — so key off the HTTP status and `message`.
1564
+
1565
+ An API token with a custom scope calling an operation its scope does not
1566
+ grant: the token authenticated, and the body is the standard
1567
+ `{errors: [...]}` envelope with code `access_restricted`. Observed on
1568
+ `GET /v1/connections` and `GET /v1/exports/{_id}`: a full-access API token
1569
+ passed both, a personal access token `GET /v1/exports/{_id}`.
1568
1570
  content:
1569
1571
  application/json:
1570
1572
  schema:
1571
- type: object
1572
- properties:
1573
- message:
1574
- type: string
1575
- description: |-
1576
- Human-readable description of the auth failure. Known values:
1577
- - `"Unauthorized"` — no `Authorization` header on the request.
1578
- - `"Bearer Authentication Failed"` — header present but token
1579
- is invalid, revoked, or expired.
1580
- required:
1581
- - message
1573
+ oneOf:
1574
+ - type: object
1575
+ description: The auth middleware's bare body for a missing or invalid token.
1576
+ properties:
1577
+ message:
1578
+ type: string
1579
+ description: |-
1580
+ Human-readable description of the auth failure. Known values:
1581
+ - `"Unauthorized"` — no `Authorization` header on the request.
1582
+ - `"Bearer Authentication Failed"` — header present but token
1583
+ is invalid, revoked, or expired.
1584
+ required:
1585
+ - message
1586
+ - $ref: '#/components/schemas/Error'
1582
1587
  examples:
1583
1588
  missing_token:
1584
1589
  summary: No Authorization header sent
@@ -1588,6 +1593,12 @@ components:
1588
1593
  summary: Bearer token invalid or revoked
1589
1594
  value:
1590
1595
  message: Bearer Authentication Failed
1596
+ scoped_token:
1597
+ summary: An API token with a custom scope reading a resource
1598
+ value:
1599
+ errors:
1600
+ - code: access_restricted
1601
+ message: You don't have the required permissions to perform the action.
1591
1602
  400-bad-request:
1592
1603
  description: |
1593
1604
  Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
package/dist/user.yml CHANGED
@@ -1339,29 +1339,34 @@ components:
1339
1339
  responses:
1340
1340
  401-unauthorized:
1341
1341
  description: |-
1342
- Unauthorized. The request lacks a valid bearer token, or the provided token
1343
- failed to authenticate.
1342
+ Unauthorized, in one of two shapes.
1344
1343
 
1345
- Note: the 401 response is produced by the auth middleware **before** the
1346
- request reaches the endpoint handler, so it does **not** follow the
1347
- standard `{errors: [...]}` envelope. Instead the body is a bare
1348
- `{message: string}` object with no `code`, no `errors` array. Callers
1349
- handling 401s should key off the HTTP status and the `message` string,
1350
- not try to destructure an `errors[]`.
1344
+ No valid bearer token: the auth middleware answers before the endpoint
1345
+ handler runs, with a bare `{message: string}` body — no `code`, no
1346
+ `errors` array — so key off the HTTP status and `message`.
1347
+
1348
+ An API token with a custom scope calling an operation its scope does not
1349
+ grant: the token authenticated, and the body is the standard
1350
+ `{errors: [...]}` envelope with code `access_restricted`. Observed on
1351
+ `GET /v1/connections` and `GET /v1/exports/{_id}`: a full-access API token
1352
+ passed both, a personal access token `GET /v1/exports/{_id}`.
1351
1353
  content:
1352
1354
  application/json:
1353
1355
  schema:
1354
- type: object
1355
- properties:
1356
- message:
1357
- type: string
1358
- description: |-
1359
- Human-readable description of the auth failure. Known values:
1360
- - `"Unauthorized"` — no `Authorization` header on the request.
1361
- - `"Bearer Authentication Failed"` — header present but token
1362
- is invalid, revoked, or expired.
1363
- required:
1364
- - message
1356
+ oneOf:
1357
+ - type: object
1358
+ description: The auth middleware's bare body for a missing or invalid token.
1359
+ properties:
1360
+ message:
1361
+ type: string
1362
+ description: |-
1363
+ Human-readable description of the auth failure. Known values:
1364
+ - `"Unauthorized"` — no `Authorization` header on the request.
1365
+ - `"Bearer Authentication Failed"` — header present but token
1366
+ is invalid, revoked, or expired.
1367
+ required:
1368
+ - message
1369
+ - $ref: '#/components/schemas/Error'
1365
1370
  examples:
1366
1371
  missing_token:
1367
1372
  summary: No Authorization header sent
@@ -1371,6 +1376,12 @@ components:
1371
1376
  summary: Bearer token invalid or revoked
1372
1377
  value:
1373
1378
  message: Bearer Authentication Failed
1379
+ scoped_token:
1380
+ summary: An API token with a custom scope reading a resource
1381
+ value:
1382
+ errors:
1383
+ - code: access_restricted
1384
+ message: You don't have the required permissions to perform the action.
1374
1385
  404-not-found:
1375
1386
  description: |
1376
1387
  Not found. The requested resource does not exist or is not visible to the caller.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.290",
3
+ "version": "0.2.291",
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": "368883fb",
4
+ "iasCommit": "167b4cfb",
5
5
  "generatedAt": "2026-11-12"
6
6
  },
7
7
  "roots": {