@celigo/api-specs 0.2.183 → 0.2.185

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
@@ -8511,6 +8511,17 @@ components:
8511
8511
  minimum: 1
8512
8512
  maximum: 50
8513
8513
  default: 5
8514
+ _tpConnectorId:
8515
+ type: string
8516
+ format: objectId
8517
+ x-celigo-refModel: tradingpartnerconnectors
8518
+ description: |-
8519
+ Trading partner connector this S3 connection was provisioned from during partner
8520
+ onboarding. Stored and returned here, under `s3`, like `ftp._tpConnectorId` and
8521
+ `as2._tpConnectorId` on the other partner transports; a top-level `_tpConnectorId` on
8522
+ the connection body is not stored. Omit for a standalone S3 connection.
8523
+ examples:
8524
+ - 66a1b2c3d4e5f60718293a4b
8514
8525
  if:
8515
8526
  properties:
8516
8527
  authType:
@@ -10612,8 +10623,35 @@ components:
10612
10623
  sa-east-1: South America (Sao Paulo).
10613
10624
  ca-central-1: Canada (Central).
10614
10625
  x-lowercase: true
10626
+ useSSL:
10627
+ type: boolean
10628
+ writeOnly: true
10629
+ description: |-
10630
+ When true, the database connection is made over SSL/TLS and the certificate material in
10631
+ `ssl` applies — the connection form's **Use SSL** switch (offered for MySQL, MariaDB and
10632
+ PostgreSQL). Accepted on POST and PUT only: the platform stores it as `ssl.enabled`, which
10633
+ is the field GET returns. A PUT that omits `useSSL` clears the stored `ssl.enabled` — send
10634
+ it on every update that should keep SSL on.
10635
+ examples:
10636
+ - true
10637
+ x-celigo-ai-guidance:
10638
+ - |-
10639
+ A body built from a GET carries `ssl.enabled` but never `useSSL`, so sending it back as a
10640
+ PUT turns SSL off: add `"useSSL": true` to every update of a connection that uses SSL.
10641
+ Setting `ssl.enabled` in the body changes nothing (verified live 2026-10-23 on a PostgreSQL
10642
+ connection: a PUT of the GET body cleared `ssl`, a PUT with `useSSL: true` set it again,
10643
+ and a PUT with `ssl.enabled: true` but no `useSSL` cleared it).
10615
10644
  ssl:
10616
- $ref: '#/components/schemas/SSL'
10645
+ allOf:
10646
+ - $ref: '#/components/schemas/SSL'
10647
+ - type: object
10648
+ properties:
10649
+ enabled:
10650
+ type: boolean
10651
+ readOnly: true
10652
+ description: |-
10653
+ When true, SSL/TLS is on for this database connection. Set from `useSSL` on
10654
+ write and returned here on read; a value sent in this field is ignored.
10617
10655
  options:
10618
10656
  type: array
10619
10657
  description: |
@@ -16335,7 +16373,11 @@ components:
16335
16373
  description: When true, the value is a NetSuite internal ID reference.
16336
16374
  isKey:
16337
16375
  type: boolean
16338
- description: When true, this field is a key field for matching existing sublist lines.
16376
+ description: |-
16377
+ When true, this field is a key for matching the record's existing sublist lines: a
16378
+ mapped line updates the one existing line whose key fields hold the same values. `lists`
16379
+ says which records match lines, the keys used when no field sets `isKey`, and what a
16380
+ line that matches no line, or several, does.
16339
16381
  immutable:
16340
16382
  type: boolean
16341
16383
  description: When true, this field is only set on record creation, not on updates.
@@ -16511,6 +16553,40 @@ components:
16511
16553
  description: Field mappings for each column in the sublist.
16512
16554
  description: |
16513
16555
  Sublist (line-item) mappings. Each entry maps source data to a NetSuite sublist.
16556
+
16557
+ Each mapped line updates the one existing line whose key fields hold the same values: its
16558
+ `isKey` fields, or, with none, the sublist's default key. The existing lines are the stored
16559
+ record's on an update, and on a transform (`Created From`: the body field
16560
+ `celigo_nlobjTransformId` holds the source transaction's internal id) the lines the transform
16561
+ fills in. Default keys:
16562
+
16563
+ - the item (`item`, else `itemkey` or `itemname`) on item fulfillments, item receipts,
16564
+ invoices, cash sales, cash refunds, return authorizations, bin worksheets, inbound shipment
16565
+ receipts and inventory counts, and on an assembly build's `component` sublist;
16566
+ - the applied transaction (`refnum`) on the `apply`, `credit` and `deposit` sublists of
16567
+ customer and vendor payments, credit memos, vendor credits and customer refunds;
16568
+ - `docnumber` on a deposit's `payment` sublist;
16569
+ - `vendor` and `language` on an item record's `itemvendor` and `translations` sublists.
16570
+
16571
+ A sublist with neither, such as a sales order's or purchase order's `item`, matches nothing, so
16572
+ an update adds every mapped line after the existing ones. Two matching lines fail the record
16573
+ with `MULTIPLE_LINES_WITH_SAME_KEYS` ("Multiple lines found with keys item=<value> ..."). A
16574
+ line that matches none is added as a new line, which an item fulfillment's `item` sublist
16575
+ refuses with `SSS_INVALID_SUBLIST_OPERATION`: its lines are its order's.
16576
+ x-celigo-ai-guidance:
16577
+ - |-
16578
+ To make an update replace a sublist's lines, also map the body field
16579
+ `celigo_replaceAllLines_<sublist id>` (for example `celigo_replaceAllLines_item`) to `true`:
16580
+ the existing lines no mapped line matched are removed, then the mapped lines are written. Where
16581
+ lines can't be removed it clears them instead: `itemreceive` false on an item fulfillment or
16582
+ item receipt, `apply` false on an `apply` sublist. On a sublist with no `isKey` field and no
16583
+ default key every existing line is unmatched, so all are replaced; with a default key, the lines
16584
+ it matches stay.
16585
+ - |-
16586
+ Key an update on a value each line holds once: a line id the record's create wrote to a line
16587
+ field, or, on a fulfillment, the order line's id mapped to `orderline`. Keying on the item fails
16588
+ with `MULTIPLE_LINES_WITH_SAME_KEYS` when an order holds the same item on two lines, and records
16589
+ that already hold repeated lines fail the same way once a key is set.
16514
16590
  x-celigo-agent:
16515
16591
  - mapping
16516
16592
  lookups:
@@ -33132,6 +33208,12 @@ components:
33132
33208
  sendAuthForFileDownloads:
33133
33209
  type: boolean
33134
33210
  description: When true, includes authentication headers when downloading files.
33211
+ isRest:
33212
+ type: boolean
33213
+ description: |-
33214
+ Internal flag marking an export built with the legacy REST form and stored in the unified
33215
+ HTTP framework. Set by the platform when it converts a legacy `rest` body; not configured
33216
+ directly. Returned on every HTTP export, `false` unless the export was converted.
33135
33217
  _httpConnectorEndpointId:
33136
33218
  type: string
33137
33219
  format: objectId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.183",
3
+ "version": "0.2.185",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [