@celigo/api-specs 0.2.301 → 0.2.302

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/tool.yml CHANGED
@@ -7063,10 +7063,9 @@ components:
7063
7063
 
7064
7064
  Uses Celigo's expression-based filter format. Send `version` and `rules`
7065
7065
  directly on `inputFilter` — not inside the `{type: "expression", expression: {...}}`
7066
- wrapper that export and import filters use. A wrapped filter is saved without an
7067
- error, but the branch is stored with no `inputFilter` and takes every input.
7068
- x-celigo-ai-guidance:
7069
- - Read the tool back after saving a branching router and check that each filtered branch still has its `inputFilter`; a filter sent in the export-filter wrapper is dropped on save without an error.
7066
+ wrapper that export and import filters use. A wrapped filter (no top-level
7067
+ `rules`, and a non-empty `expression` or `script` object) fails the save with 422
7068
+ `invalid_router_branch_input_filter`, naming the branch's path.
7070
7069
  properties:
7071
7070
  version:
7072
7071
  type: string
@@ -7407,6 +7406,11 @@ components:
7407
7406
  PUT with `draft: false` clears the flag and the expiry, promoting the draft to a
7408
7407
  permanent tool. PUT with `draft: true` on a non-draft tool is silently ignored,
7409
7408
  and a PUT that omits the field leaves an existing draft flag unchanged.
7409
+ - |-
7410
+ Clearing the flag approves the draft, and the approval belongs to the person
7411
+ the draft was created for: in integrator.io they give it by accepting the
7412
+ draft. An agent acting for that person never sends `draft: false` for them,
7413
+ and never gives them this request as the way to keep a draft.
7410
7414
  ResourceResponse:
7411
7415
  type: object
7412
7416
  description: Response
@@ -12830,7 +12834,8 @@ components:
12830
12834
  headers:
12831
12835
  type: array
12832
12836
  description: |
12833
- Default HTTP headers included in every request to the MCP server.
12837
+ Default HTTP headers included in every request to the MCP server. On PUT, an
12838
+ `mcp.http` block that omits `headers` or sends `[]` clears the stored list.
12834
12839
  items:
12835
12840
  type: object
12836
12841
  properties:
@@ -14328,7 +14333,14 @@ components:
14328
14333
  sendPostMappedData:
14329
14334
  type: boolean
14330
14335
  default: true
14331
- description: When true, the request body is the record as reshaped by the import's mapping step. When false, the original pre-mapped record is sent instead, bypassing the mappings for the payload.
14336
+ description: When true, an import with no `body` template sends the record as the request body — as its mapping step leaves it, or unchanged when the import has no mapping. When false, an import with no `body` template sends its request with no body. A `body` template is rendered against the mapped record under either value.
14337
+ x-celigo-ai-guidance:
14338
+ - |-
14339
+ Leave this ``true`` (the default) on an import that sends its record: ``false`` does
14340
+ not send the record as it was before mapping. Live-verified 2026-11-13 on HTTP imports
14341
+ under Mapper 2.0 and Mapper 1.0: with no ``body`` template, ``false`` sent an empty
14342
+ request body with a mapping and without one; with a ``body`` template the request was
14343
+ the same under ``true`` and ``false``.
14332
14344
  isRest:
14333
14345
  type: boolean
14334
14346
  description: Internal flag indicating the import was built with the legacy REST form rather than the unified HTTP framework. Set by the form; not configured directly.
@@ -18486,6 +18498,14 @@ components:
18486
18498
  ```json
18487
18499
  "queryType": ["first_page"]
18488
18500
  ```
18501
+ database:
18502
+ type: string
18503
+ description: |-
18504
+ Database to run the import's queries in when it differs from the connection's
18505
+ `rdbms.database`. Leading and trailing whitespace is trimmed on save, and a
18506
+ whitespace-only value is not stored. A PUT that omits it removes it.
18507
+ examples:
18508
+ - analytics
18489
18509
  bulkInsert:
18490
18510
  type: object
18491
18511
  description: |-
@@ -21506,7 +21526,10 @@ components:
21506
21526
  bring-your-own-keys connection model: the tool declares abstract connection slots, and the
21507
21527
  consumer binds concrete connections here so one tool definition can run against different
21508
21528
  systems without being modified. Bind every connection the tool's steps use; to keep the
21509
- connection a step was authored against, bind it to itself.
21529
+ connection a step was authored against, bind it to itself. A branch `inputFilter` sent
21530
+ under `overrides.routers` takes `version` and `rules` directly; in the export-filter
21531
+ wrapper `{type: "expression", expression: {...}}` it fails the save with 422
21532
+ `invalid_router_branch_input_filter`.
21510
21533
  x-celigo-ai-guidance:
21511
21534
  - |-
21512
21535
  Per-consumer overrides applied when the wrapper invokes the underlying Tool.
@@ -22133,7 +22156,9 @@ components:
22133
22156
  description: |-
22134
22157
  Which batches of a run's records become separate output files. EDI file definitions
22135
22158
  (`file.type: filedefinition`) are written per page or per key, never per run; `key`
22136
- is accepted only for them and only when the account has B2B Manager. The grouping
22159
+ is accepted only for them and only when the account has B2B Manager, and not for a
22160
+ `delimited/tradacoms` definition (422 `not_supported` "Aggregation type key is only
22161
+ supported for B2B Manager"). The grouping
22137
22162
  key and the line-item loop it merges come from the EDI file definition's document
22138
22163
  type, so there is no separate key field to configure.
22139
22164
  examples:
@@ -22671,6 +22696,7 @@ components:
22671
22696
  description: Name of the JSON schema, for `json_schema` output.
22672
22697
  strict:
22673
22698
  type: boolean
22699
+ default: false
22674
22700
  description: When true, the model must conform exactly to `jsonSchema`.
22675
22701
  jsonSchema:
22676
22702
  type: object
@@ -23204,7 +23230,11 @@ components:
23204
23230
  description: Reference to the Tool resource
23205
23231
  overrides:
23206
23232
  type: object
23207
- description: Per-agent overrides for the tool's internal resources
23233
+ description: |-
23234
+ Per-agent overrides for the tool's internal resources. A branch
23235
+ `inputFilter` sent under `overrides.routers` takes `version` and `rules`
23236
+ directly; in the export-filter wrapper `{type: "expression", expression:
23237
+ {...}}` it fails the save with 422 `invalid_router_branch_input_filter`.
23208
23238
  properties:
23209
23239
  connections:
23210
23240
  type: array
@@ -27414,6 +27444,35 @@ components:
27414
27444
  unencrypted:
27415
27445
  type: object
27416
27446
  description: Custom configuration values stored without encryption and returned in API responses.
27447
+ properties:
27448
+ apiType:
27449
+ type: string
27450
+ enum:
27451
+ - Amazon-SP-API
27452
+ - ''
27453
+ x-enumDescriptions:
27454
+ Amazon-SP-API: The import calls Amazon's Selling Partner API
27455
+ '': The import calls Amazon's legacy Marketplace Web Service (MWS) API
27456
+ description: |-
27457
+ Selects which Amazon API family the import calls when its connection is an Amazon
27458
+ Seller Central connection of type `Amazon-Hybrid`, which serves both the Selling
27459
+ Partner API and the legacy Marketplace Web Service (MWS).
27460
+ x-celigo-ai-guidance:
27461
+ - |-
27462
+ This is a field of the import, not of its connection: the connection's `http.type`
27463
+ says which API families it can reach, and each import on an `Amazon-Hybrid`
27464
+ connection names its own. Set `Amazon-SP-API` on every import that calls a Selling
27465
+ Partner API endpoint through such a connection.
27466
+ - |-
27467
+ The import form offers this choice only when the connection's `http.type` is
27468
+ `Amazon-Hybrid`, and writes `Amazon-SP-API` itself on every import whose connection's
27469
+ `http.type` is `Amazon-SP-API`.
27470
+ - |-
27471
+ A full PUT that omits `unencrypted` clears this field, so resend the stored value on
27472
+ every update. On an `Amazon-Hybrid` connection a value outside the enum fails the save
27473
+ with 422 `invalid_value_for_amazon_api_type` on `unencrypted.apiType`.
27474
+ examples:
27475
+ - Amazon-SP-API
27417
27476
  sampleData:
27418
27477
  type:
27419
27478
  - object
@@ -27801,7 +27860,7 @@ components:
27801
27860
  format: objectId
27802
27861
  x-celigo-refModel: ediprofiles
27803
27862
  description: |-
27804
- EDI profile this import uses to generate outbound X12 or EDIFACT documents — it supplies
27863
+ EDI profile this import uses to generate outbound X12, EDIFACT, or TRADACOMS documents — it supplies
27805
27864
  the envelope qualifiers, delimiters, version, and validation rules. Set it when the
27806
27865
  import produces EDI output; omit it otherwise. Accepted on the file-writing imports —
27807
27866
  FTP, AS2, S3 and HTTP file mode (`http.type: "file"`).
@@ -32748,7 +32807,8 @@ components:
32748
32807
  file-definition (fixed-width, EDI) parsing only. For X12 and EDIFACT the unit is the
32749
32808
  transaction set (ST–SE, UNH–UNT), and it takes effect only with an EDI profile linked:
32750
32809
  a failed set is set aside and reported as an error while the file's other sets go on
32751
- as records. Without this flag, one failed set fails the whole file.
32810
+ as records. Without this flag, one failed set fails the whole file. A
32811
+ `delimited/tradacoms` file definition accepts the flag too.
32752
32812
  examples:
32753
32813
  - true
32754
32814
  - false
@@ -38050,7 +38110,10 @@ components:
38050
38110
  type: string
38051
38111
  description: |-
38052
38112
  NetSuite record type the RESTlet operates on, as its script ID. Custom record
38053
- types use the "customrecord_" prefix.
38113
+ types use the "customrecord_" prefix. A RESTlet export (`netsuite.type: "restlet"`)
38114
+ needs a non-empty `recordType` or `searchId`; with neither, the save fails with 422
38115
+ `missing_required_field` "netsuite.restlet.recordType or netsuite.restlet.searchId
38116
+ is required for export type NetSuite restlet" on path `netsuite.restlet.recordType`.
38054
38117
  examples:
38055
38118
  - customer
38056
38119
  - salesOrder
@@ -40799,10 +40862,12 @@ components:
40799
40862
  format: objectId
40800
40863
  x-celigo-refModel: ediprofiles
40801
40864
  description: |-
40802
- EDI profile this export uses to parse incoming X12 or EDIFACT documents into structured
40803
- JSON — it supplies the envelope qualifiers, delimiters, version, and validation rules.
40804
- Set it when the export parses or validates EDI files (a save with a `delimited/x12` file
40805
- definition at `version` `"2"` and no profile fails with 422 `missing_ediProfile`); omit
40865
+ EDI profile this export uses to parse incoming X12, EDIFACT, or TRADACOMS documents into
40866
+ structured JSON — it supplies the envelope qualifiers, delimiters, version, and validation
40867
+ rules. Set it when the export parses or validates EDI files (a save with a `delimited/x12`
40868
+ file definition at `version` `"2"`, or with a `delimited/tradacoms` one, and no profile
40869
+ fails with 422 `missing_ediProfile`); the profile's `fileType` must match the file
40870
+ definition's format, or the save fails with 422 `filetype_mismatch`. Omit
40806
40871
  it otherwise. Accepted on the file-reading exports — FTP, AS2, S3 and HTTP file mode
40807
40872
  (`http.type: "file"`).
40808
40873
  x-celigo-ai-guidance:
@@ -40817,7 +40882,10 @@ components:
40817
40882
  Webhook export invoked once per file after EDI parsing, on both success and failure
40818
40883
  (errors are included in the payload when parsing fails). Primarily used to send
40819
40884
  functional acknowledgements (997/999) to trading partners. Accepted on the file-reading
40820
- exports that parse EDI — FTP, AS2, S3 and HTTP file mode (`http.type: "file"`).
40885
+ exports that parse EDI — FTP, AS2, S3 and HTTP file mode (`http.type: "file"`). Only X12
40886
+ and EDIFACT file definitions at `version` "2" support it; any other file definition,
40887
+ `delimited/tradacoms` included, fails the save with 422 `fileDefinition_format_not_supported`
40888
+ on `_fileDefinitionId`.
40821
40889
  x-celigo-ai-guidance:
40822
40890
  - 'The listener must be an export with `type: "webhook"` and `webhook.provider: "integrator-extension"`; any other export id is rejected with `invalid_post_parse_listener`. On an HTTP export outside file mode the save is rejected with `post_parse_listener_not_supported`: "Listener for functional acknowledgment is only supported for AS2, FTP, S3 and HTTP file export."'
40823
40891
  examples:
@@ -40875,6 +40943,39 @@ components:
40875
40943
  unencrypted:
40876
40944
  type: object
40877
40945
  description: Custom configuration values stored without encryption and returned in API responses.
40946
+ properties:
40947
+ apiType:
40948
+ type: string
40949
+ enum:
40950
+ - Amazon-SP-API
40951
+ - ''
40952
+ x-enumDescriptions:
40953
+ Amazon-SP-API: The export calls Amazon's Selling Partner API
40954
+ '': The export calls Amazon's legacy Marketplace Web Service (MWS) API
40955
+ description: |-
40956
+ Selects which Amazon API family the export calls when its connection is an Amazon
40957
+ Seller Central connection of type `Amazon-Hybrid`, which serves both the Selling
40958
+ Partner API and the legacy Marketplace Web Service (MWS). The connection's
40959
+ Selling Partner API access token is sent only with a request of the export that
40960
+ selects the Selling Partner API.
40961
+ x-celigo-ai-guidance:
40962
+ - |-
40963
+ This is a field of the export, not of its connection: the connection's `http.type`
40964
+ says which API families it can reach, and each export on an `Amazon-Hybrid`
40965
+ connection names its own. Set `Amazon-SP-API` on every export that calls a Selling
40966
+ Partner API endpoint through such a connection; without it the request leaves
40967
+ without the access token and Amazon answers "Access token is missing in the
40968
+ request header."
40969
+ - |-
40970
+ The export form offers this choice only when the connection's `http.type` is
40971
+ `Amazon-Hybrid`, and writes `Amazon-SP-API` itself on every export whose connection's
40972
+ `http.type` is `Amazon-SP-API`.
40973
+ - |-
40974
+ A full PUT that omits `unencrypted` clears this field, so resend the stored value on
40975
+ every update. On an `Amazon-Hybrid` connection a value outside the enum fails the save
40976
+ with 422 `invalid_value_for_amazon_api_type` on `unencrypted.apiType`.
40977
+ examples:
40978
+ - Amazon-SP-API
40878
40979
  useTechAdaptorForm:
40879
40980
  type: boolean
40880
40981
  description: |-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.301",
3
+ "version": "0.2.302",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [