@celigo/api-specs 0.2.290 → 0.2.292

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 +110 -88
  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 +77 -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 +87 -59
  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 +2 -2
package/dist/tool.yml CHANGED
@@ -7484,17 +7484,6 @@ components:
7484
7484
  - |-
7485
7485
  Contains the complete tool configuration including metadata, input/output
7486
7486
  settings, routing logic, and AI-generated descriptions.
7487
- Request:
7488
- type: object
7489
- description: |-
7490
- Request schema for creating or updating a tool. Tools are reusable processing
7491
- units that encapsulate input transformation, conditional routing, and output
7492
- mapping logic within an integration.
7493
- required:
7494
- - name
7495
- - _integrationId
7496
- allOf:
7497
- - $ref: '#/components/schemas/ToolBase'
7498
7487
  Error:
7499
7488
  type: object
7500
7489
  description: Standard error response envelope returned by integrator.io APIs.
@@ -7535,6 +7524,17 @@ components:
7535
7524
  - message
7536
7525
  required:
7537
7526
  - errors
7527
+ Request:
7528
+ type: object
7529
+ description: |-
7530
+ Request schema for creating or updating a tool. Tools are reusable processing
7531
+ units that encapsulate input transformation, conditional routing, and output
7532
+ mapping logic within an integration.
7533
+ required:
7534
+ - name
7535
+ - _integrationId
7536
+ allOf:
7537
+ - $ref: '#/components/schemas/ToolBase'
7538
7538
  JsonPatchOperation:
7539
7539
  type: object
7540
7540
  description: A single JSON Patch operation (RFC 6902).
@@ -21723,6 +21723,12 @@ components:
21723
21723
  `fileName` still writes, naming the file with a hyphenated UTC stamp and no extension
21724
21724
  (`2026-11-07T02-26-06`), so always set one. Live-verified 2026-11-06 with flow runs on
21725
21725
  a Celigo Storage import.
21726
+ - |-
21727
+ On Celigo Storage a file written under a name the destination folder already holds
21728
+ replaces that file's content in place: the folder still lists one item, with the same
21729
+ storage item id, the run reports no error, and the storage activity log records the
21730
+ upload with `overwrite: true`. Live-verified 2026-11-12 with two flow runs of one
21731
+ import that wrote different content under a fixed `fileName`.
21726
21732
  examples:
21727
21733
  - customers-{{timestamp "x"}}.json
21728
21734
  - orders-export.csv
@@ -32644,38 +32650,49 @@ components:
32644
32650
  filter:
32645
32651
  description: |-
32646
32652
  Selects which files are processed: files matching the filter criteria are exported,
32647
- and non-matching files are skipped entirely before processing begins. Filterable
32648
- fields come from each file's listing entry: the name as `fileName`, the size as
32649
- `filesize`, and the modified time as `lastModifiedTime` on FTP, SFTP and S3 or
32650
- `modifiedTime` on cloud-storage folders (`http.type: "file"`)
32651
- (e.g. ["endswith", ["string", ["extract", "fileName"]], ".csv"]). There is no
32652
- `lastmodified` key.
32653
+ and non-matching files are skipped entirely before processing begins. A rule reads
32654
+ the file's name as `filename` or its size as `filesize`, the size compared with a
32655
+ number-and-unit string such as `10-kb`
32656
+ (e.g. ["endswith", ["string", ["extract", "filename"]], ".csv"]).
32653
32657
  allOf:
32654
32658
  - $ref: '#/components/schemas/Filter'
32655
32659
  x-celigo-ai-guidance:
32656
32660
  - |-
32657
- ## AVAILABLE FILTER FIELDS
32658
-
32659
- The fields a file filter reads are on each file's listing entry, before the file is
32660
- downloaded. They are not the records' `fileMeta`, though some names match.
32661
-
32662
- ### Common Filter Fields
32663
-
32664
- These are the most commonly available fields across most file providers:
32665
-
32666
- 1. **fileName**: The name of the file (with extension)
32667
- - Example filter: Match files with specific extensions or naming patterns
32668
- - Usage: `["endswith", ["string", ["extract", "fileName"]], ".csv"]`
32669
-
32670
- 2. **filesize**: The size of the file in bytes
32671
- - Example filter: Skip files that are too large or too small
32672
- - Usage: `["lessthan", ["number", ["extract", "filesize"]], 1000000]`
32673
-
32674
- 3. **lastModifiedTime** (FTP, SFTP, S3) or **modifiedTime** (cloud-storage folders): The
32675
- last modification timestamp of the file. There is no `lastmodified` key.
32676
- - Example filter: Process only files created/modified within a specific date range
32677
- - Usage (FTP, SFTP, S3): `["greaterthan", ["epochtime", ["extract", "lastModifiedTime"]], 1672531200000]` (2023-01-01T00:00:00Z in epoch milliseconds)
32678
- - Usage (cloud-storage folders): `["greaterthan", ["epochtime", ["extract", "modifiedTime"]], 1672531200000]`
32661
+ A file filter is checked against each file's listing entry before the file is
32662
+ downloaded — never against the records' `fileMeta` — and its rules read `filename`
32663
+ or `filesize`. `filename` takes `equals`, `notequals`, `startswith`, `notstartswith`,
32664
+ `endswith`, `notendswith`, `contains` and `doesnotcontain` against a non-empty string,
32665
+ through the `string` conversion:
32666
+ `["startswith", ["string", ["extract", "filename"]], "orders-"]`.
32667
+ - |-
32668
+ `filesize` takes `greaterthan`, `greaterthanequals`, `lessthan`, `lessthanequals`,
32669
+ `equals` and `notequals` against a string of the form `<number>-<unit>`, also through
32670
+ the `string` conversion: `["lessthan", ["string", ["extract", "filesize"]], "1.5-mb"]`.
32671
+ The number is above zero and written without a leading zero, a decimal with digits on
32672
+ both sides of the point (`10`, `1.5`, `0.5`); the unit is lowercase — `b`, `kb`, `mb`,
32673
+ `gb`, `tb`, `pb`, `eb`, `zb` or `yb`. `1000`, `1kb`, `1-KB`, `0-b`, `01-kb` and `.5-mb`
32674
+ are each refused.
32675
+ - |-
32676
+ A rule outside those lists fails the export's save, and its preview, with 422
32677
+ `file_filter_validation_error` on `file.filter.expression.rules`. A rule on
32678
+ `fileName`, `fileSize`, `size`, `path`, `lastModifiedTime`, `modifiedTime` or
32679
+ `lastmodified` answers "Validation failed: type: `<field>` is not a valid enum value
32680
+ for path `type`.", where `type` is the field the rule reads, not `filter.type`: the
32681
+ field names are lowercase and there is no modified-time field. An operator outside
32682
+ the field's list (`matches`, or `STARTSWITH` in capitals) answers "`<operator>` is not
32683
+ a valid enum value for path `filename.operator`." (`filesize.operator` on a size
32684
+ rule), and a `filesize` value in another form answers "Validator failed for path
32685
+ `filesize.value` with value `<value>`".
32686
+ - |-
32687
+ Rules combine with `and`, `or` and `not`. To read one file out of a folder, filter on
32688
+ its name: `equals` for a fixed name, `startswith` when the name carries a date or run
32689
+ suffix.
32690
+ - |-
32691
+ Live-verified 2026-11-12 with previews of a Celigo Storage folder export — every
32692
+ operator, unit and refusal above, the accepted rules selecting the files they
32693
+ describe, as `filename` and `filesize` rules also did on a Google Drive folder — and
32694
+ with saves of FTP and S3 exports: every operator, and the `fileName`, modified-time,
32695
+ `matches`, capitals and `filesize`-value refusals.
32679
32696
  backupPath:
32680
32697
  type: string
32681
32698
  description: Path where backup copies of source files are stored before processing.
@@ -41677,29 +41694,34 @@ components:
41677
41694
  responses:
41678
41695
  401-unauthorized:
41679
41696
  description: |-
41680
- Unauthorized. The request lacks a valid bearer token, or the provided token
41681
- failed to authenticate.
41682
-
41683
- Note: the 401 response is produced by the auth middleware **before** the
41684
- request reaches the endpoint handler, so it does **not** follow the
41685
- standard `{errors: [...]}` envelope. Instead the body is a bare
41686
- `{message: string}` object with no `code`, no `errors` array. Callers
41687
- handling 401s should key off the HTTP status and the `message` string,
41688
- not try to destructure an `errors[]`.
41697
+ Unauthorized, in one of two shapes.
41698
+
41699
+ No valid bearer token: the auth middleware answers before the endpoint
41700
+ handler runs, with a bare `{message: string}` body — no `code`, no
41701
+ `errors` array — so key off the HTTP status and `message`.
41702
+
41703
+ An API token with a custom scope calling an operation its scope does not
41704
+ grant: the token authenticated, and the body is the standard
41705
+ `{errors: [...]}` envelope with code `access_restricted`. Observed on
41706
+ `GET /v1/connections` and `GET /v1/exports/{_id}`: a full-access API token
41707
+ passed both, a personal access token `GET /v1/exports/{_id}`.
41689
41708
  content:
41690
41709
  application/json:
41691
41710
  schema:
41692
- type: object
41693
- properties:
41694
- message:
41695
- type: string
41696
- description: |-
41697
- Human-readable description of the auth failure. Known values:
41698
- - `"Unauthorized"` — no `Authorization` header on the request.
41699
- - `"Bearer Authentication Failed"` — header present but token
41700
- is invalid, revoked, or expired.
41701
- required:
41702
- - message
41711
+ oneOf:
41712
+ - type: object
41713
+ description: The auth middleware's bare body for a missing or invalid token.
41714
+ properties:
41715
+ message:
41716
+ type: string
41717
+ description: |-
41718
+ Human-readable description of the auth failure. Known values:
41719
+ - `"Unauthorized"` — no `Authorization` header on the request.
41720
+ - `"Bearer Authentication Failed"` — header present but token
41721
+ is invalid, revoked, or expired.
41722
+ required:
41723
+ - message
41724
+ - $ref: '#/components/schemas/Error'
41703
41725
  examples:
41704
41726
  missing_token:
41705
41727
  summary: No Authorization header sent
@@ -41709,6 +41731,12 @@ components:
41709
41731
  summary: Bearer token invalid or revoked
41710
41732
  value:
41711
41733
  message: Bearer Authentication Failed
41734
+ scoped_token:
41735
+ summary: An API token with a custom scope reading a resource
41736
+ value:
41737
+ errors:
41738
+ - code: access_restricted
41739
+ message: You don't have the required permissions to perform the action.
41712
41740
  400-bad-request:
41713
41741
  description: |
41714
41742
  Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
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.292",
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,8 +1,8 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "368883fb",
5
- "generatedAt": "2026-11-12"
4
+ "iasCommit": "27dca78b",
5
+ "generatedAt": "2026-11-13"
6
6
  },
7
7
  "roots": {
8
8
  "aiagent": 128,