@celigo/api-specs 0.2.267 → 0.2.269

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.
@@ -1670,14 +1670,20 @@ paths:
1670
1670
  - 626168f90b6ef816b50c82d7
1671
1671
  responses:
1672
1672
  '204':
1673
- description: Connection unregistered successfully. No body returned.
1673
+ description: |-
1674
+ Connection unregistered successfully. No body returned. Deleting a registered
1675
+ connection (`DELETE /v1/connections/{_id}`) already removes it from
1676
+ `_registeredConnectionIds`, so this call is not needed afterwards — on a deleted
1677
+ connection it returns 404.
1674
1678
  '400':
1675
1679
  description: |-
1676
- A resource in the integration still uses the connection -- a flow, Tool, or API
1677
- step bound to it ("The connection is being actively used by the integration..."),
1678
- or an alias on the integration or one of its flows that points at it ("This
1679
- connection is being referenced by an alias. Delete the alias before deregistering
1680
- the connection."). Error code: `not_allowed` for both.
1680
+ The connection is not registered on this integration ("The connection which you are
1681
+ trying to deregister is not registered on the integration."), or a resource in the
1682
+ integration still uses it -- a flow, Tool, or API step bound to it ("The connection
1683
+ is being actively used by the integration..."), or an alias on the integration or
1684
+ one of its flows that points at it ("This connection is being referenced by an
1685
+ alias. Delete the alias before deregistering the connection."). Error code:
1686
+ `not_allowed` for all three.
1681
1687
  content:
1682
1688
  application/json:
1683
1689
  schema:
@@ -1693,10 +1699,33 @@ paths:
1693
1699
  errors:
1694
1700
  - code: not_allowed
1695
1701
  message: This connection is being referenced by an alias. Delete the alias before deregistering the connection.
1702
+ not_registered:
1703
+ value:
1704
+ errors:
1705
+ - code: not_allowed
1706
+ message: The connection which you are trying to deregister is not registered on the integration.
1696
1707
  '401':
1697
1708
  $ref: '#/components/responses/401-unauthorized'
1698
1709
  '404':
1699
- $ref: '#/components/responses/404-not-found'
1710
+ description: |-
1711
+ The integration does not exist (`invalid_ref`), or no connection with this id exists
1712
+ in the account — including one already deleted, which its deletion unregistered
1713
+ (`not_found`).
1714
+ content:
1715
+ application/json:
1716
+ schema:
1717
+ $ref: '#/components/schemas/Error'
1718
+ examples:
1719
+ connection_not_found:
1720
+ value:
1721
+ errors:
1722
+ - code: not_found
1723
+ message: 'The connections with following _id''s: 626168f90b6ef816b50c82d7 don''t exist.'
1724
+ integration_not_found:
1725
+ value:
1726
+ errors:
1727
+ - code: invalid_ref
1728
+ message: Integration not found.
1700
1729
  /v1/integrations/{_id}/connections/register:
1701
1730
  put:
1702
1731
  x-internal: false
@@ -1974,7 +2003,11 @@ paths:
1974
2003
  - 68680d7111d1437fbcbce534
1975
2004
  responses:
1976
2005
  '204':
1977
- description: Lookup cache unregistered successfully. No body returned.
2006
+ description: |-
2007
+ Lookup cache unregistered successfully. No body returned. Deleting a registered
2008
+ cache (`DELETE /v1/lookupcaches/{_id}`, once its alias is removed) already removes
2009
+ it from `_registeredLookupCacheIds`, so this call is not needed afterwards — on a
2010
+ deleted cache it returns 404.
1978
2011
  '400':
1979
2012
  description: |-
1980
2013
  The cache is not registered on this integration ("The lookup cache
@@ -2003,7 +2036,25 @@ paths:
2003
2036
  '401':
2004
2037
  $ref: '#/components/responses/401-unauthorized'
2005
2038
  '404':
2006
- $ref: '#/components/responses/404-not-found'
2039
+ description: |-
2040
+ The integration does not exist (`invalid_ref`), or no lookup cache with this id exists
2041
+ in the account — including one already deleted, which its deletion unregistered
2042
+ (`not_found`).
2043
+ content:
2044
+ application/json:
2045
+ schema:
2046
+ $ref: '#/components/schemas/Error'
2047
+ examples:
2048
+ lookup_cache_not_found:
2049
+ value:
2050
+ errors:
2051
+ - code: not_found
2052
+ message: 'The lookupcaches with following _id''s: 68680d7111d1437fbcbce534 don''t exist.'
2053
+ integration_not_found:
2054
+ value:
2055
+ errors:
2056
+ - code: invalid_ref
2057
+ message: Integration not found.
2007
2058
  /v1/integrations/{_id}/lookupcaches/register:
2008
2059
  put:
2009
2060
  x-internal: false
@@ -2307,7 +2358,10 @@ paths:
2307
2358
  - 6aab2870265e1cf39fcbee4d
2308
2359
  responses:
2309
2360
  '204':
2310
- description: Topic unregistered successfully. No body returned.
2361
+ description: |-
2362
+ Topic unregistered successfully. No body returned. Deleting a registered topic
2363
+ (`DELETE /v1/topics/{_id}`) already removes it from `_registeredTopicIds`, so this
2364
+ call is not needed afterwards — on a deleted topic it returns 404.
2311
2365
  '400':
2312
2366
  description: |-
2313
2367
  The topic is not registered on this integration ("The topic which you are trying to
@@ -2332,7 +2386,24 @@ paths:
2332
2386
  '401':
2333
2387
  $ref: '#/components/responses/401-unauthorized'
2334
2388
  '404':
2335
- $ref: '#/components/responses/404-not-found'
2389
+ description: |-
2390
+ The integration does not exist (`invalid_ref`), or no topic with this id exists in the
2391
+ account — including one already deleted, which its deletion unregistered (`not_found`).
2392
+ content:
2393
+ application/json:
2394
+ schema:
2395
+ $ref: '#/components/schemas/Error'
2396
+ examples:
2397
+ topic_not_found:
2398
+ value:
2399
+ errors:
2400
+ - code: not_found
2401
+ message: 'The topics with following _id''s: 6aab2870265e1cf39fcbee4d don''t exist.'
2402
+ integration_not_found:
2403
+ value:
2404
+ errors:
2405
+ - code: invalid_ref
2406
+ message: Integration not found.
2336
2407
  /v1/integrations/{_id}/topics/register:
2337
2408
  put:
2338
2409
  x-internal: false
@@ -3741,6 +3812,9 @@ components:
3741
3812
  `settings.sections[]` (tabs, then nested `sections[]`, then `fields[]`; a flow entry's own
3742
3813
  fields sit in its `settings[]`). When `settings.supportsMultiStore` is true, each
3743
3814
  `settings.sections[]` entry is a store and its own `sections[]` are the tabs.
3815
+ A write that changes it to a non-empty string, a number, or a boolean fails with 422
3816
+ `invalid_field_type` ("Invalid value provided for settings. Expected an object."); an
3817
+ object, an array, an empty string, and `null` are accepted.
3744
3818
  allOf:
3745
3819
  - description: |-
3746
3820
  Integration App settings object for this integration.
package/dist/job.yml CHANGED
@@ -1599,6 +1599,18 @@ components:
1599
1599
  description: Groups multiple related jobs for a single flow execution.
1600
1600
  examples:
1601
1601
  - 70f3bd04a01142b29031e36ccff9242b
1602
+ runType:
1603
+ type: string
1604
+ readOnly: true
1605
+ enum:
1606
+ - replay
1607
+ x-enumDescriptions:
1608
+ replay: Started by `POST /v1/flows/{_id}/replay`; re-delivers already-published topic messages.
1609
+ description: |-
1610
+ Kind of run that created the job. Present on replay runs; absent for scheduled,
1611
+ on-demand, and event-driven runs.
1612
+ examples:
1613
+ - replay
1602
1614
  numError:
1603
1615
  type: integer
1604
1616
  readOnly: true
@@ -5277,6 +5277,16 @@ components:
5277
5277
  cert and key together for mTLS, ca for a private CA, and passphrase only when the private
5278
5278
  key is encrypted; cert/key and ca can be combined.
5279
5279
  properties:
5280
+ enabled:
5281
+ type: boolean
5282
+ description: |-
5283
+ When true, a `jdbc` connection uses SSL/TLS (the connection form's **Use SSL**
5284
+ checkbox). Written by `jdbc.useSSL`, which takes precedence over a value sent here, and
5285
+ read directly when `jdbc.useSSL` is not a boolean, so a GET body sent back as a PUT keeps
5286
+ the setting. `false` is stored only together with `cert`; otherwise it, like an omitted
5287
+ value, clears the stored flag. Ignored on other connection types.
5288
+ examples:
5289
+ - true
5280
5290
  ca:
5281
5291
  type: string
5282
5292
  description: |-
@@ -5731,7 +5741,7 @@ components:
5731
5741
  - |-
5732
5742
  For placeholder/dummy NetSuite connections, use authType "token-auto" with just the account id —
5733
5743
  integrator.io manages the OAuth client wiring on the backend, so no placeholder tokens are needed.
5734
- x-celigo-ui-override: 'authType is required by the connection form (the API itself accepts a connection without it). The per-auth-type requireds likewise mirror the form: basic requires email and password; token requires account, environment, tokenId, and tokenSecret; token-auto requires account. The API enforces none of these (each was live-verified to POST 201 when omitted); they are encoded in the connection request schema''s type=netsuite branch (not in this file, which jdbc connections also embed for NetSuite JDBC auth) so builders produce connectable connections.'
5744
+ x-celigo-ui-override: 'authType is required by the connection form (the API itself accepts a connection without it). The per-auth-type requireds likewise mirror the form: basic requires email and password; token requires account, environment, tokenId, and tokenSecret; token-auto and oauth require account (the form''s netsuite.token.auto.account, required:true, saved as netsuite.account). The API enforces none of these (each was live-verified to POST 201 when omitted); they are encoded in the connection request schema''s type=netsuite branch (not in this file, which jdbc connections also embed for NetSuite JDBC auth) so builders produce connectable connections.'
5735
5745
  properties:
5736
5746
  authType:
5737
5747
  type: string
@@ -5740,12 +5750,15 @@ components:
5740
5750
  enum:
5741
5751
  - token
5742
5752
  - token-auto
5753
+ - oauth
5743
5754
  x-enumDescriptions:
5744
5755
  token: Manual Token-Based Authentication (TBA) using tokenId and tokenSecret from a NetSuite integration record.
5745
5756
  token-auto: Automatic token management via Celigo's iClient; requires only the NetSuite account ID.
5757
+ oauth: OAuth 2.0 machine-to-machine (client credentials signed with a certificate); needs the NetSuite account ID. The server fills `oauth2`; values sent for `oauth2`, `entityId`, and `roleId` are ignored.
5746
5758
  description: |-
5747
5759
  Authentication method for the NetSuite connection. token-auto delegates the token
5748
- lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair.
5760
+ lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
5761
+ uses a certificate-signed client credentials grant that NetSuite must authorize.
5749
5762
  x-celigo-ai-guidance:
5750
5763
  - |-
5751
5764
  Default to "token-auto" for new connections, including placeholders (only the account id is needed).
@@ -5758,7 +5771,7 @@ components:
5758
5771
  examples:
5759
5772
  - TSTDRV1234567
5760
5773
  description: |-
5761
- NetSuite account ID (automatically uppercased), required for token and token-auto authentication.
5774
+ NetSuite account ID (automatically uppercased), required for token, token-auto, and oauth authentication.
5762
5775
  Found in NetSuite under Setup > Company > Company Information. Non-production accounts
5763
5776
  carry an environment suffix (e.g. `123456_SB1`); production and beta use the bare id.
5764
5777
  x-uppercase: true
@@ -5977,7 +5990,40 @@ components:
5977
5990
  App's record (set by the app's install) or the account's own; access tokens are then created
5978
5991
  for that record's Application. Absent on a standalone connection, which signs with Celigo's
5979
5992
  `integrator.io` record (no client ID or secret is entered anywhere) and whose access tokens
5980
- must be created for Application `integrator.io`.
5993
+ must be created for Application `integrator.io`. With `authType` `oauth` it is optional;
5994
+ when set, the iClient must carry `oauth2.clientId` and `oauth2.clientSecret`, otherwise
5995
+ the save fails with 422 `missing_required_field` on `netsuite._iClientId` ("Expected
5996
+ field: oauth2.clientId/clientSecret to be present.").
5997
+ oauth2:
5998
+ type: object
5999
+ readOnly: true
6000
+ description: |-
6001
+ Machine-to-machine state of an `oauth` connection, written by the server on save and
6002
+ ignored on write; absent for other auth types.
6003
+ properties:
6004
+ grantType:
6005
+ type: string
6006
+ enum:
6007
+ - clientcredentials
6008
+ x-enumDescriptions:
6009
+ clientcredentials: OAuth 2.0 client credentials grant signed with a certificate.
6010
+ description: Grant used to obtain tokens; always `clientcredentials`.
6011
+ examples:
6012
+ - clientcredentials
6013
+ scope:
6014
+ type: array
6015
+ description: Scopes requested for the token; always `restlets` and `rest_webservices`.
6016
+ items:
6017
+ type: string
6018
+ enum:
6019
+ - restlets
6020
+ - rest_webservices
6021
+ x-enumDescriptions:
6022
+ restlets: NetSuite RESTlet access.
6023
+ rest_webservices: NetSuite REST web services access.
6024
+ examples:
6025
+ - - restlets
6026
+ - rest_webservices
5981
6027
  Salesforce:
5982
6028
  type: object
5983
6029
  description: |-
@@ -6761,6 +6807,25 @@ components:
6761
6807
  writeOnly: true
6762
6808
  examples:
6763
6809
  - dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
6810
+ clientRegistration:
6811
+ type: string
6812
+ enum:
6813
+ - automatic
6814
+ - preregistered
6815
+ x-enumDescriptions:
6816
+ automatic: integrator.io registers itself with the MCP server's authorization server; no iClient is used.
6817
+ preregistered: The OAuth client is the iClient referenced by the connection's `_iClientId`.
6818
+ description: |-
6819
+ How the OAuth client is obtained; unset behaves as `preregistered`. With `automatic` the
6820
+ grant is always the authorization code flow (`grantType` is stored as `authorizecode`),
6821
+ and client-sent `grantType`, `authURI`, `tokenURI`, `scope`, and `scopeDelimiter` are
6822
+ dropped because the server discovers them. `automatic` is allowed only on an `mcp`
6823
+ connection with no `mcp.http._iClientId`: on an `http` connection, or an MCP connection
6824
+ that also sends an iClient, the save fails with 422 `mcp_client_registration_conflict`
6825
+ ("Automatic client registration is only supported for standalone MCP connections without
6826
+ an OAuth 2.0 client."). An update that omits it keeps the stored mode.
6827
+ examples:
6828
+ - automatic
6764
6829
  if:
6765
6830
  properties:
6766
6831
  grantType:
@@ -8369,6 +8434,7 @@ components:
8369
8434
  - redshift
8370
8435
  - mariadb
8371
8436
  - azuresynapse
8437
+ - fabric
8372
8438
  x-enumDescriptions:
8373
8439
  mysql: MySQL database (default port 3306).
8374
8440
  postgresql: PostgreSQL database (default port 5432).
@@ -8379,6 +8445,7 @@ components:
8379
8445
  redshift: Amazon Redshift — provisioned clusters or Redshift Serverless; authenticates with static access keys or an AWS IAM role iClient (redshift.authType).
8380
8446
  mariadb: MariaDB database (default port 3306).
8381
8447
  azuresynapse: Azure Synapse Analytics (default port 1433).
8448
+ fabric: Microsoft Fabric Warehouse; signs in with the service principal iClient in `_iClientId` and requires `fabric.workspaceId`; `host` is the Warehouse SQL endpoint and `database` the Warehouse name.
8382
8449
  description: |-
8383
8450
  The specific relational database system to connect to. Determines the SQL dialect,
8384
8451
  connection driver, default port, and which additional sub-fields are required.
@@ -8613,6 +8680,174 @@ components:
8613
8680
  SQL Server connections only; the Azure Synapse form's picker lists client-secret
8614
8681
  iClients. The API accepts either on either type (live-verified 201), so follow the
8615
8682
  form: bind a certificate iClient to mssql connections only.
8683
+ fabric:
8684
+ type: object
8685
+ description: |-
8686
+ Microsoft Fabric Warehouse configuration. Read when `type` is `fabric`; on any other
8687
+ type the object is dropped on save and absent from the response. The connection signs in
8688
+ as the `azureserviceprincipal` iClient referenced by `_iClientId`, so `version`,
8689
+ `instanceName`, `user`, and `password` do not apply: sending any of them fails with 422
8690
+ `invalid_field_value` ("This field does not apply to Microsoft Fabric connections.").
8691
+ properties:
8692
+ workspaceId:
8693
+ type: string
8694
+ pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
8695
+ description: |-
8696
+ Fabric workspace GUID from the Fabric portal URL; it is also the OneLake file system
8697
+ name. A value that is not a GUID fails with 422 `invalid_field_value` ("Enter the
8698
+ workspace GUID from the Fabric portal URL."); omitting it fails with 422
8699
+ `missing_required_field`.
8700
+ examples:
8701
+ - 3f2b6c1e-8a4d-4e7b-9c0a-1d2e3f4a5b6c
8702
+ authType:
8703
+ type: string
8704
+ enum:
8705
+ - azure-service-principal
8706
+ x-enumDescriptions:
8707
+ azure-service-principal: Microsoft Entra service principal held in the `azureserviceprincipal` iClient referenced by `_iClientId`.
8708
+ default: azure-service-principal
8709
+ description: |-
8710
+ Authentication mode. Service principal is the only mode, so the server fills it in
8711
+ when the request omits it and returns it on every Fabric connection.
8712
+ examples:
8713
+ - azure-service-principal
8714
+ staging:
8715
+ type: object
8716
+ description: |-
8717
+ Where bulk loads stage files before `COPY INTO`. A PUT replaces the whole object;
8718
+ omitted keys are cleared. Present when set.
8719
+ properties:
8720
+ strategy:
8721
+ type: string
8722
+ enum:
8723
+ - none
8724
+ - onelake
8725
+ - adlsgen2
8726
+ x-enumDescriptions:
8727
+ none: No staging; loads run without an intermediate file store.
8728
+ onelake: Stage in the Files area of the Lakehouse named by `onelake.lakehouse`.
8729
+ adlsgen2: Reserved for ADLS Gen2 staging; accepted on save without further fields.
8730
+ description: |-
8731
+ Staging strategy. Omitted behaves as `none`. `onelake` requires
8732
+ `onelake.lakehouse` (422 `missing_required_field` otherwise).
8733
+ examples:
8734
+ - onelake
8735
+ folder:
8736
+ type: string
8737
+ maxLength: 512
8738
+ pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*$
8739
+ description: |-
8740
+ Single folder name under the Lakehouse `Files/` root. Letters, digits, hyphens,
8741
+ underscores and dots only, starting with a letter or digit and never containing
8742
+ `..`; any other value fails with 422 `invalid_field_value`, and a longer value
8743
+ with 422 `size_limit_exceeded`. Stored with any `strategy`, including `none`.
8744
+ examples:
8745
+ - celigo-staging
8746
+ onelake:
8747
+ type: object
8748
+ description: OneLake staging target, used when `strategy` is `onelake`.
8749
+ properties:
8750
+ lakehouse:
8751
+ type: string
8752
+ maxLength: 512
8753
+ description: |-
8754
+ Display name of the Lakehouse to stage in; resolved to its item id at run
8755
+ time. Required (422 `missing_required_field`) when `strategy` is `onelake`.
8756
+ examples:
8757
+ - StagingLakehouse
8758
+ azuresynapse:
8759
+ type: object
8760
+ description: |-
8761
+ Azure Synapse settings beyond the shared `mssql` sub-object. Read when `type` is
8762
+ `azuresynapse`; on any other type the object is dropped on save and absent from the
8763
+ response.
8764
+ properties:
8765
+ staging:
8766
+ type: object
8767
+ description: |-
8768
+ ADLS Gen2 staging for bulk loads. `folder` and `adlsGen2` require `strategy`
8769
+ `adlsgen2`, and `adlsgen2` requires `mssql.authType` `azure-service-principal`
8770
+ (with its `_iClientId`); either mismatch fails with 422 `invalid_field_value`
8771
+ ("staging.folder and adlsGen2 fields require staging.strategy to be adlsgen2" /
8772
+ "ADLS Gen2 staging requires azure-service-principal authentication"). Stored and
8773
+ returned as sent, `strategy: none` included; a PUT that omits the object clears it.
8774
+ properties:
8775
+ strategy:
8776
+ type: string
8777
+ enum:
8778
+ - none
8779
+ - adlsgen2
8780
+ x-enumDescriptions:
8781
+ none: No staging.
8782
+ adlsgen2: Stage files in the ADLS Gen2 container named by `adlsGen2`; requires `folder`, `adlsGen2.storageAccount`, and `adlsGen2.container`.
8783
+ description: |-
8784
+ Staging strategy. With `adlsgen2`, a missing `folder`, `adlsGen2.storageAccount`,
8785
+ or `adlsGen2.container` fails with 422 `missing_required_field`.
8786
+ examples:
8787
+ - adlsgen2
8788
+ folder:
8789
+ type: string
8790
+ maxLength: 512
8791
+ description: |-
8792
+ Folder path inside the container; leading and trailing slashes and surrounding
8793
+ whitespace are removed on save. Each segment may contain only letters, digits,
8794
+ `.`, `_`, and `-`, may not be empty, `.` or `..`, and may not end with `.`; at
8795
+ most 56 segments. A violation fails with 422 `invalid_field_value`, a longer value
8796
+ with 422 `size_limit_exceeded`.
8797
+ examples:
8798
+ - celigo/staging
8799
+ adlsGen2:
8800
+ type: object
8801
+ description: ADLS Gen2 storage location for staged files.
8802
+ properties:
8803
+ accessMethod:
8804
+ type: string
8805
+ enum:
8806
+ - identityPassThrough
8807
+ - managedIdentity
8808
+ - sas
8809
+ x-enumDescriptions:
8810
+ identityPassThrough: Synapse reads the staged files with the connection's service principal identity.
8811
+ managedIdentity: Reserved for firewalled storage; accepted on save.
8812
+ sas: Reserved for firewalled storage; accepted on save.
8813
+ description: |-
8814
+ How Synapse authenticates to the storage account when loading staged files.
8815
+ Use `identityPassThrough`; the save stores the object without one when it is
8816
+ omitted.
8817
+ examples:
8818
+ - identityPassThrough
8819
+ storageAccount:
8820
+ type: string
8821
+ pattern: ^[a-z0-9]{3,24}$
8822
+ description: |-
8823
+ Storage account name, not a URL. Any other value fails with 422
8824
+ `invalid_field_value` ("must be the storage account name (3-24 lowercase
8825
+ letters and digits), not a URL").
8826
+ examples:
8827
+ - celigostaging01
8828
+ container:
8829
+ type: string
8830
+ pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
8831
+ description: |-
8832
+ Container name: 3-63 lowercase letters, digits, and hyphens, with no `--`.
8833
+ Any other value fails with 422 `invalid_field_value`.
8834
+ examples:
8835
+ - staging
8836
+ if:
8837
+ properties:
8838
+ strategy:
8839
+ const: adlsgen2
8840
+ required:
8841
+ - strategy
8842
+ then:
8843
+ required:
8844
+ - folder
8845
+ - adlsGen2
8846
+ properties:
8847
+ adlsGen2:
8848
+ required:
8849
+ - storageAccount
8850
+ - container
8616
8851
  bigquery:
8617
8852
  type: object
8618
8853
  description: |
@@ -8934,6 +9169,14 @@ components:
8934
9169
  - database
8935
9170
  - user
8936
9171
  - password
9172
+ properties:
9173
+ azuresynapse:
9174
+ properties:
9175
+ staging:
9176
+ properties:
9177
+ strategy:
9178
+ not:
9179
+ const: adlsgen2
8937
9180
  else:
8938
9181
  if:
8939
9182
  properties:
@@ -9052,6 +9295,23 @@ components:
9052
9295
  required:
9053
9296
  - accessKeyId
9054
9297
  - secretAccessKey
9298
+ else:
9299
+ if:
9300
+ properties:
9301
+ type:
9302
+ const: fabric
9303
+ required:
9304
+ - type
9305
+ then:
9306
+ required:
9307
+ - host
9308
+ - database
9309
+ - fabric
9310
+ - _iClientId
9311
+ properties:
9312
+ fabric:
9313
+ required:
9314
+ - workspaceId
9055
9315
  MongoDB:
9056
9316
  type: object
9057
9317
  description: |-
@@ -10218,8 +10478,27 @@ components:
10218
10478
  required:
10219
10479
  - auth
10220
10480
  then:
10221
- required:
10222
- - _iClientId
10481
+ if:
10482
+ properties:
10483
+ auth:
10484
+ properties:
10485
+ oauth:
10486
+ properties:
10487
+ clientRegistration:
10488
+ const: automatic
10489
+ required:
10490
+ - clientRegistration
10491
+ required:
10492
+ - oauth
10493
+ required:
10494
+ - auth
10495
+ then:
10496
+ not:
10497
+ required:
10498
+ - _iClientId
10499
+ else:
10500
+ required:
10501
+ - _iClientId
10223
10502
  x-celigo-ai-guidance:
10224
10503
  - |-
10225
10504
  The auth.type MUST be one of: "token", "oauth", or "custom".
@@ -10465,6 +10744,16 @@ components:
10465
10744
  minimum: 1
10466
10745
  maximum: 50
10467
10746
  default: 5
10747
+ useSSL:
10748
+ type: boolean
10749
+ writeOnly: true
10750
+ description: |-
10751
+ When true, the connection uses SSL/TLS (the form's **Use SSL** checkbox); stored and
10752
+ returned as the connection-level `ssl.enabled`, never under `jdbc`. Takes precedence over
10753
+ `ssl.enabled` in the same body. `false` is stored only together with `ssl.cert`;
10754
+ otherwise it clears the stored flag.
10755
+ examples:
10756
+ - true
10468
10757
  if:
10469
10758
  properties:
10470
10759
  type:
@@ -1207,7 +1207,7 @@ components:
1207
1207
  value:
1208
1208
  errors:
1209
1209
  - code: conflict
1210
- message: A network policy with this name already exists in the account.
1210
+ message: A network policy with this name already exists in the environment.
1211
1211
  404-not-found:
1212
1212
  description: |
1213
1213
  Not found. The requested resource does not exist or is not visible to the caller.
package/dist/stack.yml CHANGED
@@ -357,17 +357,30 @@ paths:
357
357
  $ref: '#/components/responses/401-unauthorized'
358
358
  '404':
359
359
  description: |-
360
- Stack not found, or the stack is not a server stack. The error
361
- message is "Stack of type server not found." in both cases.
360
+ No stack with this id exists in the account. The message still reads
361
+ "Stack of type server not found."; a stack that exists but is not a
362
+ server stack answers 422 instead.
362
363
  content:
363
364
  application/json:
364
365
  schema:
365
366
  $ref: '#/components/schemas/Error'
366
367
  examples:
367
- not_server_stack:
368
+ not_found:
368
369
  value:
369
370
  errors:
370
371
  - message: Stack of type server not found.
372
+ '422':
373
+ description: The stack exists but is not a server stack. Error code `not_supported`.
374
+ content:
375
+ application/json:
376
+ schema:
377
+ $ref: '#/components/schemas/Error'
378
+ examples:
379
+ not_server_stack:
380
+ value:
381
+ errors:
382
+ - code: not_supported
383
+ message: System tokens are supported only for stacks of type server.
371
384
  x-celigo-ai-guidance:
372
385
  - |-
373
386
  Returns the **actual** `systemToken` for a server stack.
@@ -397,16 +410,31 @@ paths:
397
410
  '401':
398
411
  $ref: '#/components/responses/401-unauthorized'
399
412
  '404':
400
- description: Stack not found, or the stack is not a server stack.
413
+ description: |-
414
+ No stack with this id exists in the account. The message still reads
415
+ "Stack of type server not found."; a stack that exists but is not a
416
+ server stack answers 422 instead.
401
417
  content:
402
418
  application/json:
403
419
  schema:
404
420
  $ref: '#/components/schemas/Error'
405
421
  examples:
406
- not_server_stack:
422
+ not_found:
407
423
  value:
408
424
  errors:
409
425
  - message: Stack of type server not found.
426
+ '422':
427
+ description: The stack exists but is not a server stack. Error code `not_supported`.
428
+ content:
429
+ application/json:
430
+ schema:
431
+ $ref: '#/components/schemas/Error'
432
+ examples:
433
+ not_server_stack:
434
+ value:
435
+ errors:
436
+ - code: not_supported
437
+ message: System tokens are supported only for stacks of type server.
410
438
  x-celigo-ai-guidance:
411
439
  - |-
412
440
  Rotates (recycles) the server stack's system token.