@celigo/api-specs 0.2.237 → 0.2.239

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/api.yml CHANGED
@@ -12237,23 +12237,24 @@ components:
12237
12237
  auth:
12238
12238
  type: object
12239
12239
  description: |-
12240
- Authentication for posting messages to the partner's AS2 endpoint. Omit (or set
12241
- type to none) when the endpoint is unauthenticated.
12240
+ Authentication for posting messages to the partner's AS2 endpoint. Omit the object
12241
+ when the endpoint is unauthenticated — there is no "none" value.
12242
12242
  properties:
12243
12243
  type:
12244
12244
  type: string
12245
12245
  enum:
12246
12246
  - basic
12247
12247
  - token
12248
- - none
12249
12248
  x-enumDescriptions:
12250
12249
  basic: HTTP Basic Authentication using a username and password.
12251
12250
  token: Token-based authentication, optionally with automatic token refresh.
12252
- none: No authentication; the partner endpoint is open.
12253
- description: Authentication scheme for the partner endpoint. Set the matching basic or token sub-object for basic or token.
12251
+ description: |-
12252
+ Authentication scheme for the partner endpoint. Set the matching basic or token
12253
+ sub-object. Any other value is rejected on save (422 `is not a valid enum value`);
12254
+ an unauthenticated endpoint omits the whole auth object.
12254
12255
  examples:
12255
12256
  - token
12256
- x-celigo-ui-override: Required by the connection form (as2.partnerStationInfo.auth.type). The form stores 'none' for unauthenticated endpoints; on create it must be set explicitly.
12257
+ x-celigo-ui-override: Required by the connection form (as2.partnerStationInfo.auth.type). The form's "None" choice removes the auth object from the request rather than sending a value.
12257
12258
  failStatusCode:
12258
12259
  type: number
12259
12260
  description: HTTP status code in the partner's response that signals an authentication failure, triggering a token refresh or error.
@@ -12629,16 +12630,28 @@ components:
12629
12630
  description: |-
12630
12631
  Encrypted-at-rest key material for this station's own identity. Supply when this station
12631
12632
  signs outbound messages or decrypts inbound messages; integrator.io injects an
12632
- auto-generated self-signed key otherwise.
12633
+ auto-generated self-signed key otherwise. Write-only: no GET returns this object, masked
12634
+ or otherwise, whether or not a key is stored.
12633
12635
  properties:
12634
12636
  userPrivateKey:
12635
12637
  type: string
12636
12638
  writeOnly: true
12637
12639
  description: |-
12638
12640
  PEM-encoded X.509 private key for this station, used to sign outbound messages and
12639
- decrypt inbound ones. Masked as "******" in GET responses. Required when
12640
- partnerStationInfo.signing is not NONE or userStationInfo.encryptionType is not NONE.
12641
- x-celigo-ui-override: Required by the connection form (as2.encrypted.userPrivateKey) when userStationInfo.encryptionType is not NONE. The live API additionally requires it when partnerStationInfo.signing is not NONE.
12641
+ decrypt inbound ones. Never returned by a GET — not even as "******" — so its absence
12642
+ from a read says nothing about whether a key is stored. Required in the body of every
12643
+ PUT while partnerStationInfo.signing or userStationInfo.encryptionType is not NONE
12644
+ (422 `Expected field: X.509 Private Key to be present` otherwise), so a GET→PUT round
12645
+ trip must re-supply it; the routing script (`contentBasedFlowRouter`) is set with
12646
+ PATCH, which never touches this key.
12647
+ x-celigo-ui-override: Required by the connection form (as2.encrypted.userPrivateKey) when userStationInfo.encryptionType is not NONE — re-entered on every save, since the form never receives it back. The live API additionally requires it when partnerStationInfo.signing is not NONE.
12648
+ x-celigo-ai-guidance:
12649
+ - |-
12650
+ A connection that returns signed MDNs or decrypts the partner's documents holds a
12651
+ working key even though no read shows it. Never report the key as missing because a
12652
+ GET lacks it. A 422 naming the key means that save — create or update — omitted
12653
+ userPrivateKey while partnerStationInfo.signing or userStationInfo.encryptionType
12654
+ is not NONE; on an update, send the PEM again.
12642
12655
  x-celigo-ai-guidance:
12643
12656
  - |-
12644
12657
  Encrypted certificate and key data (stored encrypted at rest).
@@ -13739,9 +13752,22 @@ components:
13739
13752
  readOnly: true
13740
13753
  description: |-
13741
13754
  When true, the Celigo integrator.io SuiteApp (SuiteScript 2.x) was detected in
13742
- the connected NetSuite account the last time the connection authenticated. It
13743
- says nothing about the legacy Celigo bundle; for a live check of both, use
13755
+ the connected NetSuite account the last time the connection authenticated. False
13756
+ or absent means only that the last authentication did not detect it — the value
13757
+ lags a SuiteApp installed after that authentication until the connection
13758
+ authenticates again, so it is not evidence that the SuiteApp is missing. It says
13759
+ nothing about the legacy Celigo bundle; for the current state of both, use
13744
13760
  `GET /v1/connections/{_id}/distributedApps`.
13761
+ x-celigo-ai-guidance:
13762
+ - |-
13763
+ Treat `true` as installed and `false` or absent as unknown, never as "not
13764
+ installed": read `GET /v1/connections/{_id}/distributedApps` and report
13765
+ `suiteapp.success`. There, `success: false` with `statusCode` 404 is the
13766
+ documented absence; `success: false` with `statusCode` 401 and a `resBody`
13767
+ naming an address-resolution failure (`getaddrinfo ENOTFOUND
13768
+ …restlets.api.netsuite.com`, both components alike) means the check never
13769
+ reached NetSuite — do not report the SuiteApp as missing and do not offer the
13770
+ attached `URL` as an install prompt.
13745
13771
  salesforce:
13746
13772
  description: Present when `type` is `salesforce`.
13747
13773
  allOf:
@@ -388,6 +388,8 @@ paths:
388
388
  unencrypted:
389
389
  partnerCertificate: <partner-certificate-pem>
390
390
  userPublicKey: <user-public-key-pem>
391
+ encrypted:
392
+ userPrivateKey: <user-private-key-pem>
391
393
  partnerStationInfo:
392
394
  as2URI: https://partner.example.com/as2
393
395
  signing: SHA256
@@ -842,6 +844,15 @@ paths:
842
844
  static-token connection (no `http.auth.token.refreshMethod`) sent without
843
845
  `http.auth.token.token` is rejected with 422 `Expected field: refreshMethod to be present.`
844
846
 
847
+ AS2 connections are the exception to the mask round-trip: `as2.encrypted.userPrivateKey`
848
+ is never returned by a GET, so a body built from a read has nothing to send back for it.
849
+ A PUT that leaves `as2.partnerStationInfo.signing` or `as2.userStationInfo.encryptionType`
850
+ at anything but `NONE` must include the PEM private key again, or it is rejected with 422
851
+ `Expected field: X.509 Private Key to be present` and nothing is saved (the stored key is
852
+ not cleared by the refusal). Prefer `PATCH` for what it covers — the generic paths
853
+ (`/name`, `/debugDate`, `/as2/concurrencyLevel`, `/as2/targetConcurrencyLevel`, …) and the
854
+ AS2-specific routing-script leaves — since none of them needs the key.
855
+
845
856
  Three settings are the exception and survive an omission: `endUserProvidedFields`
846
857
  (send `null` to clear it — `[]` is treated like an omission), and on `ftp` connections
847
858
  `ftp.concurrencyLevel` and `ftp.targetConcurrencyLevel` (the latter is dropped by the PUT that
@@ -1005,6 +1016,11 @@ paths:
1005
1016
  an omitted password or `http.encrypted` is cleared, and a static token left out (with no
1006
1017
  `refreshMethod`) fails the PUT with 422. To change only name, debug window, or concurrency
1007
1018
  settings without touching credentials, use PATCH instead.
1019
+ - |-
1020
+ AS2 connections: the GET carries no `as2.encrypted` to echo. A PUT that keeps signing or
1021
+ decryption on must include the PEM private key again (422 `Expected field: X.509 Private
1022
+ Key to be present` otherwise, nothing saved); the routing script's two leaves and the
1023
+ generic settings are PATCH paths and need no key.
1008
1024
  patch:
1009
1025
  x-internal: false
1010
1026
  summary: Patch a connection
@@ -1029,6 +1045,7 @@ paths:
1029
1045
  | `/http/rateLimit/failStatusCode`, `/http/rateLimit/failPath`, `/http/rateLimit/failHeaders` | Rate-limit detection rules. Send `failHeaders` as the whole array; on one element only `replace` of an existing entry works (e.g. `/http/rateLimit/failHeaders/0`), and `add` or `remove` on an element fails with 422 |
1030
1046
  | `/http/rateLimit/limit` | Wait between consecutive requests, in milliseconds. Accepted only at a concurrency of 1: set `/http/targetConcurrencyLevel` (while `autoRecoverRateLimitErrors` is true) or `/http/concurrencyLevel` (while it is false) to 1 in the same patch; at any other level it fails with 422 `invalid_concurrency_level` |
1031
1047
  | `/endUserProvidedFields` | Dot-paths MCP end users must supply on their own child copy of this connection. `replace` with `[]` or `remove` clears the list, and `add` on `/endUserProvidedFields/-` appends one path; a path the account owns (`type`, `_agentId`, `_agentGroupId`, `wrapper._stackId`, any `<adaptor>._iClientId`) is rejected |
1048
+ | `/as2/contentBasedFlowRouter/_scriptId`, `/as2/contentBasedFlowRouter/function` (and the `/van/…` twins on a VAN connection) | The content-based routing script of an AS2 or VAN connection — the script's `_id` and the function name, set together (`replace` on each; an unset router takes it as an upsert) and cleared with `remove` on both. This is how the routing-rules dialog saves it, and the station's private key is never involved |
1032
1049
 
1033
1050
  `replace` and `add` both set the value (a currently unset field is fine);
1034
1051
  `remove` unsets it. A `null` value is rejected. Any other path — including
@@ -8042,23 +8059,24 @@ components:
8042
8059
  auth:
8043
8060
  type: object
8044
8061
  description: |-
8045
- Authentication for posting messages to the partner's AS2 endpoint. Omit (or set
8046
- type to none) when the endpoint is unauthenticated.
8062
+ Authentication for posting messages to the partner's AS2 endpoint. Omit the object
8063
+ when the endpoint is unauthenticated — there is no "none" value.
8047
8064
  properties:
8048
8065
  type:
8049
8066
  type: string
8050
8067
  enum:
8051
8068
  - basic
8052
8069
  - token
8053
- - none
8054
8070
  x-enumDescriptions:
8055
8071
  basic: HTTP Basic Authentication using a username and password.
8056
8072
  token: Token-based authentication, optionally with automatic token refresh.
8057
- none: No authentication; the partner endpoint is open.
8058
- description: Authentication scheme for the partner endpoint. Set the matching basic or token sub-object for basic or token.
8073
+ description: |-
8074
+ Authentication scheme for the partner endpoint. Set the matching basic or token
8075
+ sub-object. Any other value is rejected on save (422 `is not a valid enum value`);
8076
+ an unauthenticated endpoint omits the whole auth object.
8059
8077
  examples:
8060
8078
  - token
8061
- x-celigo-ui-override: Required by the connection form (as2.partnerStationInfo.auth.type). The form stores 'none' for unauthenticated endpoints; on create it must be set explicitly.
8079
+ x-celigo-ui-override: Required by the connection form (as2.partnerStationInfo.auth.type). The form's "None" choice removes the auth object from the request rather than sending a value.
8062
8080
  failStatusCode:
8063
8081
  type: number
8064
8082
  description: HTTP status code in the partner's response that signals an authentication failure, triggering a token refresh or error.
@@ -8434,16 +8452,28 @@ components:
8434
8452
  description: |-
8435
8453
  Encrypted-at-rest key material for this station's own identity. Supply when this station
8436
8454
  signs outbound messages or decrypts inbound messages; integrator.io injects an
8437
- auto-generated self-signed key otherwise.
8455
+ auto-generated self-signed key otherwise. Write-only: no GET returns this object, masked
8456
+ or otherwise, whether or not a key is stored.
8438
8457
  properties:
8439
8458
  userPrivateKey:
8440
8459
  type: string
8441
8460
  writeOnly: true
8442
8461
  description: |-
8443
8462
  PEM-encoded X.509 private key for this station, used to sign outbound messages and
8444
- decrypt inbound ones. Masked as "******" in GET responses. Required when
8445
- partnerStationInfo.signing is not NONE or userStationInfo.encryptionType is not NONE.
8446
- x-celigo-ui-override: Required by the connection form (as2.encrypted.userPrivateKey) when userStationInfo.encryptionType is not NONE. The live API additionally requires it when partnerStationInfo.signing is not NONE.
8463
+ decrypt inbound ones. Never returned by a GET — not even as "******" — so its absence
8464
+ from a read says nothing about whether a key is stored. Required in the body of every
8465
+ PUT while partnerStationInfo.signing or userStationInfo.encryptionType is not NONE
8466
+ (422 `Expected field: X.509 Private Key to be present` otherwise), so a GET→PUT round
8467
+ trip must re-supply it; the routing script (`contentBasedFlowRouter`) is set with
8468
+ PATCH, which never touches this key.
8469
+ x-celigo-ui-override: Required by the connection form (as2.encrypted.userPrivateKey) when userStationInfo.encryptionType is not NONE — re-entered on every save, since the form never receives it back. The live API additionally requires it when partnerStationInfo.signing is not NONE.
8470
+ x-celigo-ai-guidance:
8471
+ - |-
8472
+ A connection that returns signed MDNs or decrypts the partner's documents holds a
8473
+ working key even though no read shows it. Never report the key as missing because a
8474
+ GET lacks it. A 422 naming the key means that save — create or update — omitted
8475
+ userPrivateKey while partnerStationInfo.signing or userStationInfo.encryptionType
8476
+ is not NONE; on an update, send the PEM again.
8447
8477
  x-celigo-ai-guidance:
8448
8478
  - |-
8449
8479
  Encrypted certificate and key data (stored encrypted at rest).
@@ -9544,9 +9574,22 @@ components:
9544
9574
  readOnly: true
9545
9575
  description: |-
9546
9576
  When true, the Celigo integrator.io SuiteApp (SuiteScript 2.x) was detected in
9547
- the connected NetSuite account the last time the connection authenticated. It
9548
- says nothing about the legacy Celigo bundle; for a live check of both, use
9577
+ the connected NetSuite account the last time the connection authenticated. False
9578
+ or absent means only that the last authentication did not detect it — the value
9579
+ lags a SuiteApp installed after that authentication until the connection
9580
+ authenticates again, so it is not evidence that the SuiteApp is missing. It says
9581
+ nothing about the legacy Celigo bundle; for the current state of both, use
9549
9582
  `GET /v1/connections/{_id}/distributedApps`.
9583
+ x-celigo-ai-guidance:
9584
+ - |-
9585
+ Treat `true` as installed and `false` or absent as unknown, never as "not
9586
+ installed": read `GET /v1/connections/{_id}/distributedApps` and report
9587
+ `suiteapp.success`. There, `success: false` with `statusCode` 404 is the
9588
+ documented absence; `success: false` with `statusCode` 401 and a `resBody`
9589
+ naming an address-resolution failure (`getaddrinfo ENOTFOUND
9590
+ …restlets.api.netsuite.com`, both components alike) means the check never
9591
+ reached NetSuite — do not report the SuiteApp as missing and do not offer the
9592
+ attached `URL` as an install prompt.
9550
9593
  salesforce:
9551
9594
  description: Present when `type` is `salesforce`.
9552
9595
  allOf:
@@ -11064,12 +11107,20 @@ components:
11064
11107
  - true
11065
11108
  statusCode:
11066
11109
  type: integer
11067
- description: HTTP status NetSuite returned for the failed check — 404 when the component's RESTlet is not installed.
11110
+ description: |-
11111
+ HTTP status of the failed check — 404 when NetSuite answered that the component's
11112
+ RESTlet is not installed; 401 with a `resBody` naming an address-resolution failure
11113
+ when the platform could not reach the NetSuite account at all (the connection's
11114
+ account domain does not resolve), which says nothing about either component.
11068
11115
  examples:
11069
11116
  - 404
11070
11117
  resBody:
11071
11118
  type: string
11072
- description: NetSuite's error text for the failed check.
11119
+ description: |-
11120
+ Error text of the failed check — NetSuite's own when `statusCode` is 404 (the component's
11121
+ RESTlet is not installed); the platform's address-resolution error (`getaddrinfo ENOTFOUND
11122
+ …restlets.api.netsuite.com`) when `statusCode` is 401 because the NetSuite account could not
11123
+ be reached, which is not an answer from NetSuite about the component.
11073
11124
  examples:
11074
11125
  - That Suitelet is invalid, disabled, or no longer exists.
11075
11126
  URL:
package/dist/enduser.yml CHANGED
@@ -6067,23 +6067,24 @@ components:
6067
6067
  auth:
6068
6068
  type: object
6069
6069
  description: |-
6070
- Authentication for posting messages to the partner's AS2 endpoint. Omit (or set
6071
- type to none) when the endpoint is unauthenticated.
6070
+ Authentication for posting messages to the partner's AS2 endpoint. Omit the object
6071
+ when the endpoint is unauthenticated — there is no "none" value.
6072
6072
  properties:
6073
6073
  type:
6074
6074
  type: string
6075
6075
  enum:
6076
6076
  - basic
6077
6077
  - token
6078
- - none
6079
6078
  x-enumDescriptions:
6080
6079
  basic: HTTP Basic Authentication using a username and password.
6081
6080
  token: Token-based authentication, optionally with automatic token refresh.
6082
- none: No authentication; the partner endpoint is open.
6083
- description: Authentication scheme for the partner endpoint. Set the matching basic or token sub-object for basic or token.
6081
+ description: |-
6082
+ Authentication scheme for the partner endpoint. Set the matching basic or token
6083
+ sub-object. Any other value is rejected on save (422 `is not a valid enum value`);
6084
+ an unauthenticated endpoint omits the whole auth object.
6084
6085
  examples:
6085
6086
  - token
6086
- x-celigo-ui-override: Required by the connection form (as2.partnerStationInfo.auth.type). The form stores 'none' for unauthenticated endpoints; on create it must be set explicitly.
6087
+ x-celigo-ui-override: Required by the connection form (as2.partnerStationInfo.auth.type). The form's "None" choice removes the auth object from the request rather than sending a value.
6087
6088
  failStatusCode:
6088
6089
  type: number
6089
6090
  description: HTTP status code in the partner's response that signals an authentication failure, triggering a token refresh or error.
@@ -6459,16 +6460,28 @@ components:
6459
6460
  description: |-
6460
6461
  Encrypted-at-rest key material for this station's own identity. Supply when this station
6461
6462
  signs outbound messages or decrypts inbound messages; integrator.io injects an
6462
- auto-generated self-signed key otherwise.
6463
+ auto-generated self-signed key otherwise. Write-only: no GET returns this object, masked
6464
+ or otherwise, whether or not a key is stored.
6463
6465
  properties:
6464
6466
  userPrivateKey:
6465
6467
  type: string
6466
6468
  writeOnly: true
6467
6469
  description: |-
6468
6470
  PEM-encoded X.509 private key for this station, used to sign outbound messages and
6469
- decrypt inbound ones. Masked as "******" in GET responses. Required when
6470
- partnerStationInfo.signing is not NONE or userStationInfo.encryptionType is not NONE.
6471
- x-celigo-ui-override: Required by the connection form (as2.encrypted.userPrivateKey) when userStationInfo.encryptionType is not NONE. The live API additionally requires it when partnerStationInfo.signing is not NONE.
6471
+ decrypt inbound ones. Never returned by a GET — not even as "******" — so its absence
6472
+ from a read says nothing about whether a key is stored. Required in the body of every
6473
+ PUT while partnerStationInfo.signing or userStationInfo.encryptionType is not NONE
6474
+ (422 `Expected field: X.509 Private Key to be present` otherwise), so a GET→PUT round
6475
+ trip must re-supply it; the routing script (`contentBasedFlowRouter`) is set with
6476
+ PATCH, which never touches this key.
6477
+ x-celigo-ui-override: Required by the connection form (as2.encrypted.userPrivateKey) when userStationInfo.encryptionType is not NONE — re-entered on every save, since the form never receives it back. The live API additionally requires it when partnerStationInfo.signing is not NONE.
6478
+ x-celigo-ai-guidance:
6479
+ - |-
6480
+ A connection that returns signed MDNs or decrypts the partner's documents holds a
6481
+ working key even though no read shows it. Never report the key as missing because a
6482
+ GET lacks it. A 422 naming the key means that save — create or update — omitted
6483
+ userPrivateKey while partnerStationInfo.signing or userStationInfo.encryptionType
6484
+ is not NONE; on an update, send the PEM again.
6472
6485
  x-celigo-ai-guidance:
6473
6486
  - |-
6474
6487
  Encrypted certificate and key data (stored encrypted at rest).
@@ -7569,9 +7582,22 @@ components:
7569
7582
  readOnly: true
7570
7583
  description: |-
7571
7584
  When true, the Celigo integrator.io SuiteApp (SuiteScript 2.x) was detected in
7572
- the connected NetSuite account the last time the connection authenticated. It
7573
- says nothing about the legacy Celigo bundle; for a live check of both, use
7585
+ the connected NetSuite account the last time the connection authenticated. False
7586
+ or absent means only that the last authentication did not detect it — the value
7587
+ lags a SuiteApp installed after that authentication until the connection
7588
+ authenticates again, so it is not evidence that the SuiteApp is missing. It says
7589
+ nothing about the legacy Celigo bundle; for the current state of both, use
7574
7590
  `GET /v1/connections/{_id}/distributedApps`.
7591
+ x-celigo-ai-guidance:
7592
+ - |-
7593
+ Treat `true` as installed and `false` or absent as unknown, never as "not
7594
+ installed": read `GET /v1/connections/{_id}/distributedApps` and report
7595
+ `suiteapp.success`. There, `success: false` with `statusCode` 404 is the
7596
+ documented absence; `success: false` with `statusCode` 401 and a `resBody`
7597
+ naming an address-resolution failure (`getaddrinfo ENOTFOUND
7598
+ …restlets.api.netsuite.com`, both components alike) means the check never
7599
+ reached NetSuite — do not report the SuiteApp as missing and do not offer the
7600
+ attached `URL` as an install prompt.
7575
7601
  salesforce:
7576
7602
  description: Present when `type` is `salesforce`.
7577
7603
  allOf:
@@ -9115,23 +9115,24 @@ components:
9115
9115
  auth:
9116
9116
  type: object
9117
9117
  description: |-
9118
- Authentication for posting messages to the partner's AS2 endpoint. Omit (or set
9119
- type to none) when the endpoint is unauthenticated.
9118
+ Authentication for posting messages to the partner's AS2 endpoint. Omit the object
9119
+ when the endpoint is unauthenticated — there is no "none" value.
9120
9120
  properties:
9121
9121
  type:
9122
9122
  type: string
9123
9123
  enum:
9124
9124
  - basic
9125
9125
  - token
9126
- - none
9127
9126
  x-enumDescriptions:
9128
9127
  basic: HTTP Basic Authentication using a username and password.
9129
9128
  token: Token-based authentication, optionally with automatic token refresh.
9130
- none: No authentication; the partner endpoint is open.
9131
- description: Authentication scheme for the partner endpoint. Set the matching basic or token sub-object for basic or token.
9129
+ description: |-
9130
+ Authentication scheme for the partner endpoint. Set the matching basic or token
9131
+ sub-object. Any other value is rejected on save (422 `is not a valid enum value`);
9132
+ an unauthenticated endpoint omits the whole auth object.
9132
9133
  examples:
9133
9134
  - token
9134
- x-celigo-ui-override: Required by the connection form (as2.partnerStationInfo.auth.type). The form stores 'none' for unauthenticated endpoints; on create it must be set explicitly.
9135
+ x-celigo-ui-override: Required by the connection form (as2.partnerStationInfo.auth.type). The form's "None" choice removes the auth object from the request rather than sending a value.
9135
9136
  failStatusCode:
9136
9137
  type: number
9137
9138
  description: HTTP status code in the partner's response that signals an authentication failure, triggering a token refresh or error.
@@ -9507,16 +9508,28 @@ components:
9507
9508
  description: |-
9508
9509
  Encrypted-at-rest key material for this station's own identity. Supply when this station
9509
9510
  signs outbound messages or decrypts inbound messages; integrator.io injects an
9510
- auto-generated self-signed key otherwise.
9511
+ auto-generated self-signed key otherwise. Write-only: no GET returns this object, masked
9512
+ or otherwise, whether or not a key is stored.
9511
9513
  properties:
9512
9514
  userPrivateKey:
9513
9515
  type: string
9514
9516
  writeOnly: true
9515
9517
  description: |-
9516
9518
  PEM-encoded X.509 private key for this station, used to sign outbound messages and
9517
- decrypt inbound ones. Masked as "******" in GET responses. Required when
9518
- partnerStationInfo.signing is not NONE or userStationInfo.encryptionType is not NONE.
9519
- x-celigo-ui-override: Required by the connection form (as2.encrypted.userPrivateKey) when userStationInfo.encryptionType is not NONE. The live API additionally requires it when partnerStationInfo.signing is not NONE.
9519
+ decrypt inbound ones. Never returned by a GET — not even as "******" — so its absence
9520
+ from a read says nothing about whether a key is stored. Required in the body of every
9521
+ PUT while partnerStationInfo.signing or userStationInfo.encryptionType is not NONE
9522
+ (422 `Expected field: X.509 Private Key to be present` otherwise), so a GET→PUT round
9523
+ trip must re-supply it; the routing script (`contentBasedFlowRouter`) is set with
9524
+ PATCH, which never touches this key.
9525
+ x-celigo-ui-override: Required by the connection form (as2.encrypted.userPrivateKey) when userStationInfo.encryptionType is not NONE — re-entered on every save, since the form never receives it back. The live API additionally requires it when partnerStationInfo.signing is not NONE.
9526
+ x-celigo-ai-guidance:
9527
+ - |-
9528
+ A connection that returns signed MDNs or decrypts the partner's documents holds a
9529
+ working key even though no read shows it. Never report the key as missing because a
9530
+ GET lacks it. A 422 naming the key means that save — create or update — omitted
9531
+ userPrivateKey while partnerStationInfo.signing or userStationInfo.encryptionType
9532
+ is not NONE; on an update, send the PEM again.
9520
9533
  x-celigo-ai-guidance:
9521
9534
  - |-
9522
9535
  Encrypted certificate and key data (stored encrypted at rest).
@@ -10617,9 +10630,22 @@ components:
10617
10630
  readOnly: true
10618
10631
  description: |-
10619
10632
  When true, the Celigo integrator.io SuiteApp (SuiteScript 2.x) was detected in
10620
- the connected NetSuite account the last time the connection authenticated. It
10621
- says nothing about the legacy Celigo bundle; for a live check of both, use
10633
+ the connected NetSuite account the last time the connection authenticated. False
10634
+ or absent means only that the last authentication did not detect it — the value
10635
+ lags a SuiteApp installed after that authentication until the connection
10636
+ authenticates again, so it is not evidence that the SuiteApp is missing. It says
10637
+ nothing about the legacy Celigo bundle; for the current state of both, use
10622
10638
  `GET /v1/connections/{_id}/distributedApps`.
10639
+ x-celigo-ai-guidance:
10640
+ - |-
10641
+ Treat `true` as installed and `false` or absent as unknown, never as "not
10642
+ installed": read `GET /v1/connections/{_id}/distributedApps` and report
10643
+ `suiteapp.success`. There, `success: false` with `statusCode` 404 is the
10644
+ documented absence; `success: false` with `statusCode` 401 and a `resBody`
10645
+ naming an address-resolution failure (`getaddrinfo ENOTFOUND
10646
+ …restlets.api.netsuite.com`, both components alike) means the check never
10647
+ reached NetSuite — do not report the SuiteApp as missing and do not offer the
10648
+ attached `URL` as an install prompt.
10623
10649
  salesforce:
10624
10650
  description: Present when `type` is `salesforce`.
10625
10651
  allOf:
package/dist/tool.yml CHANGED
@@ -11604,23 +11604,24 @@ components:
11604
11604
  auth:
11605
11605
  type: object
11606
11606
  description: |-
11607
- Authentication for posting messages to the partner's AS2 endpoint. Omit (or set
11608
- type to none) when the endpoint is unauthenticated.
11607
+ Authentication for posting messages to the partner's AS2 endpoint. Omit the object
11608
+ when the endpoint is unauthenticated — there is no "none" value.
11609
11609
  properties:
11610
11610
  type:
11611
11611
  type: string
11612
11612
  enum:
11613
11613
  - basic
11614
11614
  - token
11615
- - none
11616
11615
  x-enumDescriptions:
11617
11616
  basic: HTTP Basic Authentication using a username and password.
11618
11617
  token: Token-based authentication, optionally with automatic token refresh.
11619
- none: No authentication; the partner endpoint is open.
11620
- description: Authentication scheme for the partner endpoint. Set the matching basic or token sub-object for basic or token.
11618
+ description: |-
11619
+ Authentication scheme for the partner endpoint. Set the matching basic or token
11620
+ sub-object. Any other value is rejected on save (422 `is not a valid enum value`);
11621
+ an unauthenticated endpoint omits the whole auth object.
11621
11622
  examples:
11622
11623
  - token
11623
- x-celigo-ui-override: Required by the connection form (as2.partnerStationInfo.auth.type). The form stores 'none' for unauthenticated endpoints; on create it must be set explicitly.
11624
+ x-celigo-ui-override: Required by the connection form (as2.partnerStationInfo.auth.type). The form's "None" choice removes the auth object from the request rather than sending a value.
11624
11625
  failStatusCode:
11625
11626
  type: number
11626
11627
  description: HTTP status code in the partner's response that signals an authentication failure, triggering a token refresh or error.
@@ -11996,16 +11997,28 @@ components:
11996
11997
  description: |-
11997
11998
  Encrypted-at-rest key material for this station's own identity. Supply when this station
11998
11999
  signs outbound messages or decrypts inbound messages; integrator.io injects an
11999
- auto-generated self-signed key otherwise.
12000
+ auto-generated self-signed key otherwise. Write-only: no GET returns this object, masked
12001
+ or otherwise, whether or not a key is stored.
12000
12002
  properties:
12001
12003
  userPrivateKey:
12002
12004
  type: string
12003
12005
  writeOnly: true
12004
12006
  description: |-
12005
12007
  PEM-encoded X.509 private key for this station, used to sign outbound messages and
12006
- decrypt inbound ones. Masked as "******" in GET responses. Required when
12007
- partnerStationInfo.signing is not NONE or userStationInfo.encryptionType is not NONE.
12008
- x-celigo-ui-override: Required by the connection form (as2.encrypted.userPrivateKey) when userStationInfo.encryptionType is not NONE. The live API additionally requires it when partnerStationInfo.signing is not NONE.
12008
+ decrypt inbound ones. Never returned by a GET — not even as "******" — so its absence
12009
+ from a read says nothing about whether a key is stored. Required in the body of every
12010
+ PUT while partnerStationInfo.signing or userStationInfo.encryptionType is not NONE
12011
+ (422 `Expected field: X.509 Private Key to be present` otherwise), so a GET→PUT round
12012
+ trip must re-supply it; the routing script (`contentBasedFlowRouter`) is set with
12013
+ PATCH, which never touches this key.
12014
+ x-celigo-ui-override: Required by the connection form (as2.encrypted.userPrivateKey) when userStationInfo.encryptionType is not NONE — re-entered on every save, since the form never receives it back. The live API additionally requires it when partnerStationInfo.signing is not NONE.
12015
+ x-celigo-ai-guidance:
12016
+ - |-
12017
+ A connection that returns signed MDNs or decrypts the partner's documents holds a
12018
+ working key even though no read shows it. Never report the key as missing because a
12019
+ GET lacks it. A 422 naming the key means that save — create or update — omitted
12020
+ userPrivateKey while partnerStationInfo.signing or userStationInfo.encryptionType
12021
+ is not NONE; on an update, send the PEM again.
12009
12022
  x-celigo-ai-guidance:
12010
12023
  - |-
12011
12024
  Encrypted certificate and key data (stored encrypted at rest).
@@ -13106,9 +13119,22 @@ components:
13106
13119
  readOnly: true
13107
13120
  description: |-
13108
13121
  When true, the Celigo integrator.io SuiteApp (SuiteScript 2.x) was detected in
13109
- the connected NetSuite account the last time the connection authenticated. It
13110
- says nothing about the legacy Celigo bundle; for a live check of both, use
13122
+ the connected NetSuite account the last time the connection authenticated. False
13123
+ or absent means only that the last authentication did not detect it — the value
13124
+ lags a SuiteApp installed after that authentication until the connection
13125
+ authenticates again, so it is not evidence that the SuiteApp is missing. It says
13126
+ nothing about the legacy Celigo bundle; for the current state of both, use
13111
13127
  `GET /v1/connections/{_id}/distributedApps`.
13128
+ x-celigo-ai-guidance:
13129
+ - |-
13130
+ Treat `true` as installed and `false` or absent as unknown, never as "not
13131
+ installed": read `GET /v1/connections/{_id}/distributedApps` and report
13132
+ `suiteapp.success`. There, `success: false` with `statusCode` 404 is the
13133
+ documented absence; `success: false` with `statusCode` 401 and a `resBody`
13134
+ naming an address-resolution failure (`getaddrinfo ENOTFOUND
13135
+ …restlets.api.netsuite.com`, both components alike) means the check never
13136
+ reached NetSuite — do not report the SuiteApp as missing and do not offer the
13137
+ attached `URL` as an install prompt.
13112
13138
  salesforce:
13113
13139
  description: Present when `type` is `salesforce`.
13114
13140
  allOf:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.237",
3
+ "version": "0.2.239",
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": "50286fb2",
4
+ "iasCommit": "f0476b20",
5
5
  "generatedAt": "2026-11-05"
6
6
  },
7
7
  "roots": {
@@ -3543,7 +3543,6 @@
3543
3543
  ],
3544
3544
  "e": [
3545
3545
  "basic",
3546
- "none",
3547
3546
  "token"
3548
3547
  ]
3549
3548
  },