@celigo/api-specs 0.2.314 → 0.2.316

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
@@ -13965,7 +13965,7 @@ components:
13965
13965
  agent: Generic JDBC driver deployed on a Celigo Agent (requires driverPath).
13966
13966
  netsuitejdbc: NetSuite SuiteAnalytics JDBC driver for reporting and analytics queries.
13967
13967
  databricks: Databricks SQL/Spark via JDBC.
13968
- oracle:thin: Oracle Database via the Oracle Thin JDBC driver.
13968
+ oracle:thin: Oracle Database via the Oracle Thin JDBC driver; a sync reads a connection of this type as a NetSuite Analytics Warehouse destination.
13969
13969
  sqlserver: Microsoft SQL Server via the JTDS or Microsoft JDBC driver.
13970
13970
  activedirectory: Microsoft Active Directory over LDAP (default port 389) through an on-premise agent, read with SQL against the directory tables the driver exposes; LDAPVersion and BaseDN go in properties.
13971
13971
  db2: IBM DB2 database via JDBC.
@@ -9704,7 +9704,7 @@ components:
9704
9704
  agent: Generic JDBC driver deployed on a Celigo Agent (requires driverPath).
9705
9705
  netsuitejdbc: NetSuite SuiteAnalytics JDBC driver for reporting and analytics queries.
9706
9706
  databricks: Databricks SQL/Spark via JDBC.
9707
- oracle:thin: Oracle Database via the Oracle Thin JDBC driver.
9707
+ oracle:thin: Oracle Database via the Oracle Thin JDBC driver; a sync reads a connection of this type as a NetSuite Analytics Warehouse destination.
9708
9708
  sqlserver: Microsoft SQL Server via the JTDS or Microsoft JDBC driver.
9709
9709
  activedirectory: Microsoft Active Directory over LDAP (default port 389) through an on-premise agent, read with SQL against the directory tables the driver exposes; LDAPVersion and BaseDN go in properties.
9710
9710
  db2: IBM DB2 database via JDBC.
package/dist/enduser.yml CHANGED
@@ -7599,7 +7599,7 @@ components:
7599
7599
  agent: Generic JDBC driver deployed on a Celigo Agent (requires driverPath).
7600
7600
  netsuitejdbc: NetSuite SuiteAnalytics JDBC driver for reporting and analytics queries.
7601
7601
  databricks: Databricks SQL/Spark via JDBC.
7602
- oracle:thin: Oracle Database via the Oracle Thin JDBC driver.
7602
+ oracle:thin: Oracle Database via the Oracle Thin JDBC driver; a sync reads a connection of this type as a NetSuite Analytics Warehouse destination.
7603
7603
  sqlserver: Microsoft SQL Server via the JTDS or Microsoft JDBC driver.
7604
7604
  activedirectory: Microsoft Active Directory over LDAP (default port 389) through an on-premise agent, read with SQL against the directory tables the driver exposes; LDAPVersion and BaseDN go in properties.
7605
7605
  db2: IBM DB2 database via JDBC.
package/dist/flow.yml CHANGED
@@ -2245,11 +2245,15 @@ paths:
2245
2245
  400 on bogus keys; callers must poll `GET .../errors` to confirm any change.
2246
2246
 
2247
2247
  **Retry outcome semantics.** A record that fails again becomes a **new** open error with a new
2248
- `errorId`, the same `retryDataKey` and `traceKey`, and the retry job's id as `_flowJobId`; the
2249
- original stays resolved. Reconcile the "before" and "after" error lists by `retryDataKey`, not
2250
- `errorId` — except for an error a source export's preSavePage hook returns through
2251
- `newErrorsAndRetryData`, which carries a new `retryDataKey` on every attempt (live, 2026-11-09):
2252
- reconcile those by `traceKey`.
2248
+ `errorId`, `retry: "true"`, the same `retryDataKey` and `traceKey`, and the retry job's id as
2249
+ `_flowJobId`; the original stays resolved. Reconcile the "before" and "after" error lists by
2250
+ `retryDataKey`, not `errorId` — except for an error a source export's preSavePage hook returns
2251
+ through `newErrorsAndRetryData`, which carries a new `retryDataKey` on every attempt (live,
2252
+ 2026-11-09): reconcile those by `traceKey`. In the known issue described below (IO-178479) the
2253
+ new error keeps the `retryDataKey` but carries the trace key of the record's first child; and
2254
+ on a one-to-many step with a blank `pathToMany`, the errors of a multi-row group carried no
2255
+ trace key, and the error a retry of one of them produced did (live, 2026-11-18, an HTTP
2256
+ import).
2253
2257
 
2254
2258
  To modify a record before retrying, call `GET .../{ retryDataKey}/data`, mutate the payload,
2255
2259
  `PUT` it back, then call this endpoint. Where a retried record re-enters the step is the
@@ -2262,7 +2266,11 @@ paths:
2262
2266
  and an error the preSavePage hook returned) re-enters the export at that part with the saved
2263
2267
  record — the source is not read again and the parts before it are not repeated. From there, retried
2264
2268
  records continue through the following steps as new records would, with no ordering
2265
- guarantees. To retry the whole open-error queue without listing keys, send
2269
+ guarantees. A one-to-many child's snapshot replays that child alone (observed on HTTP imports
2270
+ and an HTTP lookup, and at a postResponseMap hook on a path that starts with a field name) —
2271
+ except, on a path that starts with an element index, the snapshot of a child whose record has
2272
+ several children: a known issue (IO-178479) the snapshot's `pathToMany` describes. To retry
2273
+ the whole open-error queue without listing keys, send
2266
2274
  `selectAll: true` with a `lastErrorAt` high-water mark instead of `retryDataKeys` — one call
2267
2275
  retries every matching error, no matter how many (errors without a `retryDataKey` are
2268
2276
  skipped).
@@ -2271,6 +2279,36 @@ paths:
2271
2279
  An error leaving the open list after this call does not mean the retry worked: submitting
2272
2280
  resolves it before the retry runs. Wait for the returned job to finish, then check its
2273
2281
  `numError` and the open errors for the same `retryDataKey`.
2282
+ - |-
2283
+ Known issue (IO-178479), until the fix is released: on a step whose `pathToMany` starts with
2284
+ an element index (`0.items`), a one-to-many child's snapshot keeps every child of the record
2285
+ in the list at that path. Retrying one child of a three-child record on an HTTP import sent
2286
+ all three to the application again and failed with `invalid_one_to_many_response`
2287
+ ("The response size 3 does not match with the data size 1.") — with the import's
2288
+ `http.response.failPath` still set to fail that child, and again with it set to fail no child
2289
+ (live, 2026-11-18).
2290
+ - |-
2291
+ On an HTTP import whose `pathToMany` starts with an element index (known issue IO-178479), a
2292
+ retried child's new error kept the `retryDataKey` but carried the trace key of the record's
2293
+ first child. Two children of one record retried together, with the import's
2294
+ `http.response.failPath` set to fail no child: every child was sent again, the first twice,
2295
+ and `numError` was 2 — one new error per `retryDataKey`, both with the first child's trace
2296
+ key; one stayed open, the other was resolved by `auto` as it arrived (live, 2026-11-18,
2297
+ `autoResolveMatchingTraceKeys` on).
2298
+ - |-
2299
+ On an HTTP lookup whose `pathToMany` starts with an element index, retrying a failed child
2300
+ of a three-child record called the lookup for the record's first child, not the failed one,
2301
+ with the lookup's `http.response.failPath` still set to fail the retried child; the job
2302
+ reported no error and the error closed, so neither shows that the failed child was looked
2303
+ up. Two failed children retried together, with that `failPath` set to fail no child: two
2304
+ calls, both for the first child (live, 2026-11-18).
2305
+ - |-
2306
+ Before retrying a one-to-many child on a step whose `pathToMany` starts with an element
2307
+ index, read the list at `pathToMany` in its snapshot. One child: the retry is normal — one
2308
+ request, for that child (live, 2026-11-18, an HTTP import and an HTTP lookup). More than
2309
+ one: do not retry it, alone or with the record's other failed children; have the source
2310
+ export the record again — a flow run with the record back in the export's scope — which
2311
+ sends every child again (live, 2026-11-18: a flow run sent each child once).
2274
2312
  parameters:
2275
2313
  - name: _id
2276
2314
  in: path
@@ -2496,8 +2534,8 @@ paths:
2496
2534
  Returns the per-record snapshot the runtime captured at the moment of failure — the shape that
2497
2535
  `POST .../retry` re-feeds into the flow pipeline. The response is an envelope: `data` carries the
2498
2536
  adaptor-specific record payload; surrounding fields (`stage`, `pgExportId`, `oneToMany`,
2499
- `pathToMany`, `childIndex`, `traceKey`) identify where in the pipeline the record was when it
2500
- failed and how it's structured. Which of them are present depends on the stage: a
2537
+ `pathToMany`, `childIndex`, `parentKey`, `traceKey`) identify where in the pipeline the record
2538
+ was when it failed and how it's structured. Which of them are present depends on the stage: a
2501
2539
  source export's `transform`, `filter` or `preSave` envelope carries `data`, `stage` and
2502
2540
  `traceKey` only (live, 2026-11-09).
2503
2541
 
@@ -7849,16 +7887,27 @@ components:
7849
7887
  _flowJobId:
7850
7888
  type: string
7851
7889
  format: objectId
7852
- description: Id of the flow-run job this error came from. Use with `GET /v1/jobs/{_id}` for run context.
7890
+ description: |-
7891
+ Id of the job this error came from: the flow run's job, or the retry job on an error a retry
7892
+ produced (see `retry`). Use with `GET /v1/jobs/{_id}` for run context.
7853
7893
  x-celigo-refModel: jobs
7854
7894
  examples:
7855
7895
  - 66a1f2c3b4d5e6f7a8b9c0d1
7896
+ retry:
7897
+ type: string
7898
+ description: |-
7899
+ Present, as the string `"true"`, on an error a retry job produced; `_flowJobId` is then that
7900
+ retry job. Absent on an error a flow run produced (live, 2026-11-18).
7901
+ examples:
7902
+ - 'true'
7856
7903
  traceKey:
7857
7904
  type: string
7858
7905
  description: |-
7859
7906
  Upstream export/record identifier that produced this error — correlates the error back to the
7860
- source record across the execution log. Populated on every error in practice; callers doing
7861
- record-level triage join on this field.
7907
+ source record across the execution log; callers doing record-level triage join on this field
7908
+ when it is present. Not every error carries one: on a one-to-many step with a blank
7909
+ `pathToMany`, the errors of a multi-row group whose rows each carry their own `id` had none,
7910
+ while a one-row group's had (live, 2026-11-18, an HTTP import).
7862
7911
  examples:
7863
7912
  - ORD-100245
7864
7913
  classification:
@@ -8763,7 +8812,9 @@ components:
8763
8812
  the destination's reply is in `adaptorResponse`. On a source export it is the record as it
8764
8813
  entered the failing part: at `transform` the record as the source returned it, at `filter`
8765
8814
  the transformed record, at `preSave` the record as the preSavePage hook received it (live,
8766
- 2026-11-09). Shape varies by adaptor.
8815
+ 2026-11-09). For a one-to-many child it is the parent record cut down to that child, as
8816
+ `oneToMany` describes — except on a path that starts with an element index (see
8817
+ `pathToMany`). Shape varies by adaptor.
8767
8818
  additionalProperties: true
8768
8819
  stage:
8769
8820
  type: string
@@ -8787,7 +8838,8 @@ components:
8787
8838
  nothing to that destination again and never re-running a lookup, so the hook sees the reply
8788
8839
  saved at run time however the looked-up system has changed since (live, 2026-10-23,
8789
8840
  2026-10-25 and 2026-11-06: the request count did not change, the connection's debug log
8790
- recorded no new request, and a one-to-many child's retry replayed that child alone).
8841
+ recorded no new request, and a one-to-many child's retry replayed that child alone, on a
8842
+ path that starts with a field name).
8791
8843
  `page_processor_pre_import` and `page_processor_pre_export` (the step's one-to-many
8792
8844
  preparation), `response_mapping`, `routing` (the router after the step), the Tool-step stages
8793
8845
  (`tool_input_schema_validation`, `tool_input_transformation`, `tool_output_adaptor`,
@@ -8854,30 +8906,57 @@ components:
8854
8906
  oneToMany:
8855
8907
  type: boolean
8856
8908
  description: |-
8857
- Whether the stored record represents a one-to-many expansion. When `true`, `childIndex` and
8858
- `pathToMany` locate the specific sub-record inside the parent payload. Absent from a
8859
- `transform`, `filter`, `preSave` or `transformation` envelope (live, 2026-11-09).
8909
+ When true, the stored record is one child of a one-to-many step's record, and `data` is the
8910
+ parent record cut down to that child: the list at `pathToMany` holds the failed child
8911
+ alone; on a step with a blank `pathToMany` (an array record whose rows are the children),
8912
+ `data` is an array holding the failed row alone and the snapshot has no `pathToMany`
8913
+ (live, 2026-11-18; the blank-path step an HTTP import). `pathToMany` describes the
8914
+ exception, a path that starts with an element index. Absent from a `transform`, `filter`,
8915
+ `preSave` or `transformation` envelope (live, 2026-11-09).
8860
8916
  pathToMany:
8861
8917
  type:
8862
8918
  - string
8863
8919
  - 'null'
8864
- description: JSON-path / dot-path into the parent payload naming the array of sub-records. Null on one-to-one records.
8920
+ description: |-
8921
+ Echoes the step's `pathToMany`: the dot-path, inside `data`, of the list the step fans out.
8922
+ On a path that starts with a field name (`lineItems`) the saved list holds the failed child
8923
+ alone. On a path that starts with an element index (`0.items`, on an array record) the
8924
+ saved list kept every child of the record, and each row also carried a key `0` holding a
8925
+ one-child copy of the fanned field — a known issue (IO-178479): with several children in
8926
+ that list, a retry does not replay the failed child alone (live, 2026-11-18, an HTTP import
8927
+ and an HTTP lookup). Null on one-to-one records.
8865
8928
  examples:
8866
8929
  - lineItems
8867
8930
  childIndex:
8868
8931
  type:
8869
8932
  - integer
8870
8933
  - 'null'
8871
- description: 'Zero-based index into the `pathToMany` array when `oneToMany: true`. Null on one-to-one records.'
8934
+ description: |-
8935
+ Zero-based position of the failed child among the record's children as the record entered
8936
+ the step. The saved list holds that child alone, so this is its original position and not
8937
+ an index into the saved list — except on a path that starts with an element index, where
8938
+ the saved list keeps every child and this indexes it (live, 2026-11-18). Null on
8939
+ one-to-one records.
8872
8940
  examples:
8873
8941
  - 0
8942
+ parentKey:
8943
+ type: string
8944
+ description: |-
8945
+ Opaque value the snapshots of one record's failed children share; children of different
8946
+ records carry different values (live, 2026-11-18). Absent from a one-to-one record's
8947
+ snapshot.
8948
+ examples:
8949
+ - 071f186267094fe8ac7ea8dbd0f1719f
8874
8950
  traceKey:
8875
8951
  type:
8876
8952
  - string
8877
8953
  - 'null'
8878
8954
  description: |-
8879
- Trace identifier for cross-bubble stitching in execution logs. Populated when the source export
8880
- has a `traceKeyTemplate` configured.
8955
+ The failed record's or child's trace key, as on its error (`FlowStepError.traceKey`), for
8956
+ cross-bubble stitching in execution logs; snapshots carried one with no `traceKeyTemplate`
8957
+ on the source export. After a failed retry in the known issue `pathToMany` describes it
8958
+ read the record's first child's key, and a blank-path step's snapshot of a multi-row group
8959
+ had none (live, 2026-11-18).
8881
8960
  examples:
8882
8961
  - ORD-100245
8883
8962
  adaptorResponse:
@@ -10775,7 +10775,7 @@ components:
10775
10775
  agent: Generic JDBC driver deployed on a Celigo Agent (requires driverPath).
10776
10776
  netsuitejdbc: NetSuite SuiteAnalytics JDBC driver for reporting and analytics queries.
10777
10777
  databricks: Databricks SQL/Spark via JDBC.
10778
- oracle:thin: Oracle Database via the Oracle Thin JDBC driver.
10778
+ oracle:thin: Oracle Database via the Oracle Thin JDBC driver; a sync reads a connection of this type as a NetSuite Analytics Warehouse destination.
10779
10779
  sqlserver: Microsoft SQL Server via the JTDS or Microsoft JDBC driver.
10780
10780
  activedirectory: Microsoft Active Directory over LDAP (default port 389) through an on-premise agent, read with SQL against the directory tables the driver exposes; LDAPVersion and BaseDN go in properties.
10781
10781
  db2: IBM DB2 database via JDBC.
package/dist/sync.yml CHANGED
@@ -403,9 +403,10 @@ paths:
403
403
  is fixed at creation.
404
404
 
405
405
  Set `disabled: false` to enable the sync once its source, a complete destination, and
406
- `historicDateTime` are configured; enabling an incomplete sync fails with
407
- `422 sync_not_enabled`. Always send `disabled`: a PUT that omits it enables a sync
408
- whose source, destination and `historicDateTime` are set.
406
+ `historicDateTime` are configured: enabling a sync that has no destination fails with
407
+ `422 sync_not_enabled`, and one that has no `historicDateTime` with
408
+ `422 sync_historic_datetime_required`. Always send `disabled`: a PUT that omits it
409
+ enables a sync whose source, destination and `historicDateTime` are set.
409
410
  operationId: updateSync
410
411
  tags:
411
412
  - Syncs
@@ -552,7 +553,9 @@ paths:
552
553
  description: |-
553
554
  Validation failed. `source._connectionId` is missing
554
555
  (`missing_source_connection`), the sync is not ready to enable
555
- (`sync_not_enabled`), the update drops the saved destination connection or sends
556
+ (`sync_not_enabled` when it has no destination,
557
+ `sync_historic_datetime_required` when it has no `historicDateTime`), the update
558
+ drops the saved destination connection or sends
556
559
  `database`, `schema` or `tablePrefix` without a connection
557
560
  (`missing_destination_connection`, "Destination
558
561
  connection is missing in the request"), the new destination connection is another
@@ -560,7 +563,8 @@ paths:
560
563
  connection type is not same as the previous destination connection type"), a new
561
564
  `database` or `schema` was sent while the destination connection is offline
562
565
  (`offline_destination_connection` — the platform creates the schema when the
563
- destination is saved), the destination warehouse didn't answer that schema check in
566
+ destination is saved, which has not been observed for a NetSuite Analytics
567
+ Warehouse destination), the destination warehouse didn't answer that schema check in
564
568
  time (`destination_schema_check_timeout` — the stored sync is unchanged; retry), the
565
569
  destination duplicates another sync
566
570
  (`duplicate_destination_host`), the destination connector rejected the
@@ -599,12 +603,19 @@ paths:
599
603
  errors:
600
604
  - message: The destination type for all the syncs under an integration must be same.
601
605
  not_ready_to_enable:
602
- summary: Enabling an incomplete sync
606
+ summary: Enabling a sync that has no destination
603
607
  value:
604
608
  errors:
605
609
  - field: disabled
606
610
  code: sync_not_enabled
607
611
  message: Sync can be enabled only when source, destinations are properly defined.
612
+ enable_without_historic_date_time:
613
+ summary: Enabling a sync that has no historicDateTime
614
+ value:
615
+ errors:
616
+ - field: historicDateTime
617
+ code: sync_historic_datetime_required
618
+ message: historicDateTime is required to enable sync.
608
619
  delete:
609
620
  x-internal: false
610
621
  summary: Delete a sync
@@ -2928,12 +2939,13 @@ paths:
2928
2939
  summary: List supported sync destination applications
2929
2940
  description: |-
2930
2941
  Returns the catalog of applications that can be used as the **destination** of a sync — the
2931
- data warehouse a sync loads records into. A sync's destination application is the type of
2932
- its destination connection (`rdbms.type` for warehouse connections), which must match one
2942
+ data warehouse a sync loads records into. A sync's destination application is read from
2943
+ its destination connection (`rdbms.type` for a database connection), which must match one
2933
2944
  of the returned ids. Identifiers include `snowflake` (Snowflake), `nsaw` (NetSuite
2934
- Analytics Warehouse), `bigquery` (Google BigQuery), `mssql` (Microsoft SQL Server),
2935
- `redshift` (Amazon Redshift), `azuresynapse` (Azure Synapse Analytics), and
2936
- `microsoftfabric` (Microsoft Fabric — an `rdbms.type: fabric` connection).
2945
+ Analytics Warehouse — a JDBC connection whose `jdbc.type` is `oracle:thin`), `bigquery`
2946
+ (Google BigQuery), `mssql` (Microsoft SQL Server), `redshift` (Amazon Redshift),
2947
+ `azuresynapse` (Azure Synapse Analytics), and `microsoftfabric` (Microsoft Fabric — an
2948
+ `rdbms.type: fabric` connection).
2937
2949
  tags:
2938
2950
  - Syncs
2939
2951
  operationId: listSyncDestinations
@@ -3168,8 +3180,10 @@ paths:
3168
3180
  from the source application. Use it to build the `dataElements` selection before
3169
3181
  saving a dataset via `PUT /v1/syncs/{_syncId}/datasets` — each element's `name` here
3170
3182
  is the `name` to reference there. An export's record structure (`isExport=true`) is
3171
- read from a live preview of the export, so no draft sync is needed. Read an
3172
- HTTP-connector object's columns through
3183
+ read from a live preview of the export, so no draft sync is needed: the preview runs
3184
+ the export against its source for up to 100 records and the structure is inferred
3185
+ from them, so the request takes as long as that preview, and a mock output saved on
3186
+ the export is not used. Read an HTTP-connector object's columns through
3173
3187
  `GET /v1/di/metadata/sync/{_syncId}/connections/{_connectionId}/datasets/{datasetName}/details`
3174
3188
  once a draft sync exists.
3175
3189
  operationId: getConnectionDatasetDetails
@@ -3828,7 +3842,9 @@ paths:
3828
3842
  Returns one table/object's full column catalog from the source, merged with the
3829
3843
  sync's saved dataset state — enablement, `ingestionMode`, `exportProperties`, drift
3830
3844
  policy, and per-column selections. Use it to edit a dataset's `dataElements` with
3831
- the current source schema and saved selections in one payload.
3845
+ the current source schema and saved selections in one payload. An export's record
3846
+ structure (`isExport=true`) is read from a live preview of the export, as on the
3847
+ connection route, and the request takes as long as that preview.
3832
3848
  operationId: getSyncConnectionDatasetDetails
3833
3849
  tags:
3834
3850
  - Syncs
@@ -4240,9 +4256,12 @@ components:
4240
4256
  default: true
4241
4257
  description: |-
4242
4258
  When true, the sync neither runs on schedule nor accepts on-demand runs. New syncs
4243
- start disabled. Enabling requires a fully configured sync — source and destination
4244
- connections plus a destination database and schema — and a `historicDateTime`;
4245
- otherwise the update fails with `422 sync_not_enabled`.
4259
+ start disabled. Enabling requires a source connection, a complete destination — the
4260
+ destination connection with its `database` and `schema`, or for NetSuite Analytics
4261
+ Warehouse with its `schema` and either `tablePrefix` or `database` — and a
4262
+ `historicDateTime`: with no destination the update fails with
4263
+ `422 sync_not_enabled`, with no `historicDateTime` with
4264
+ `422 sync_historic_datetime_required`.
4246
4265
  examples:
4247
4266
  - false
4248
4267
  schedule:
@@ -4291,9 +4310,12 @@ components:
4291
4310
  type: object
4292
4311
  description: |-
4293
4312
  Data warehouse the sync loads records into. Empty (`{}`) on a draft that has no
4294
- destination yet. The destination application is the connection's own type
4295
- (`rdbms.type` for warehouse connections), so `database` and `schema` are read in that
4296
- application's terms — Google BigQuery treats them as the GCP project and the dataset.
4313
+ destination yet. The destination application is read from the connection —
4314
+ `rdbms.type` for a database connection, NetSuite Analytics Warehouse for a JDBC
4315
+ connection whose `jdbc.type` is `oracle:thin` — so `database` and `schema` are read
4316
+ in that application's terms: Google BigQuery treats them as the GCP project and the
4317
+ dataset, and a NetSuite Analytics Warehouse destination carries `schema` with
4318
+ `tablePrefix` or `database`.
4297
4319
  A `database` and `schema` pair can back only one sync on a destination connection,
4298
4320
  even across integrations — reusing one, in any letter case, fails with
4299
4321
  `422 duplicate_destination_host` — and all syncs in an integration must target the
@@ -4304,24 +4326,26 @@ components:
4304
4326
  format: objectId
4305
4327
  x-celigo-refModel: connections
4306
4328
  description: |-
4307
- Connection to the destination warehouse. Its application (`rdbms.type` such as
4308
- `snowflake`, `bigquery`, `mssql`, `redshift` or `azuresynapse`, `rdbms.type: fabric`
4309
- for Microsoft Fabric, or a NetSuite Analytics Warehouse JDBC connection) is one of
4310
- the ids returned by `GET /v1/di/metadata/destinations`.
4329
+ Connection to the destination warehouse. Its application is one of the ids
4330
+ returned by `GET /v1/di/metadata/destinations`: a database connection's
4331
+ `rdbms.type` (`fabric` is destination id `microsoftfabric`), or NetSuite Analytics
4332
+ Warehouse (`nsaw`) for a JDBC connection whose `jdbc.type` is `oracle:thin`.
4311
4333
  examples:
4312
4334
  - 68d02dbe0839a514623c1d6d
4313
4335
  database:
4314
4336
  type: string
4315
4337
  description: |-
4316
4338
  Database in the destination warehouse the sync loads into. For Google BigQuery this
4317
- is the GCP project id the tables are created in (`project.dataset.table`).
4339
+ is the GCP project id the tables are created in (`project.dataset.table`). Absent
4340
+ on a NetSuite Analytics Warehouse destination saved with `tablePrefix` instead.
4318
4341
  examples:
4319
4342
  - ANALYTICS_DB
4320
4343
  schema:
4321
4344
  type: string
4322
4345
  description: |-
4323
- Schema within `database` where the sync creates and loads tables. For Google
4324
- BigQuery this is the dataset name, with case preserved.
4346
+ Schema where the sync creates and loads tables — within `database` when the
4347
+ destination has one. For Google BigQuery this is the dataset name, with case
4348
+ preserved.
4325
4349
  examples:
4326
4350
  - salesforce_raw
4327
4351
  tablePrefix:
@@ -4502,8 +4526,10 @@ components:
4502
4526
  When true, the sync neither runs on schedule nor accepts on-demand runs. A PUT that
4503
4527
  omits it returns the sync enabled once its source, destination and `historicDateTime`
4504
4528
  are set, so send it on every PUT. Set to false once the source, a complete
4505
- destination, and `historicDateTime` are configured; enabling an incomplete sync fails with
4506
- `422 sync_not_enabled`. Datasets aren't checked: a sync with none enables.
4529
+ destination, and `historicDateTime` are configured: enabling a sync that has no
4530
+ destination fails with `422 sync_not_enabled`, one that has no `historicDateTime`
4531
+ with `422 sync_historic_datetime_required`, and both errors come back when both
4532
+ are missing. Datasets aren't checked: a sync with none enables.
4507
4533
  examples:
4508
4534
  - false
4509
4535
  schedule:
@@ -4552,18 +4578,23 @@ components:
4552
4578
  type: object
4553
4579
  description: |-
4554
4580
  Data warehouse the sync loads records into. Omit while drafting; a complete
4555
- destination (connection, database, schema) is required before the sync can be
4556
- enabled. The destination application is the connection's own type (`rdbms.type`
4557
- for warehouse connections), so `database` and `schema` are read in that
4558
- application's terms — Google BigQuery treats them as the GCP project and the
4559
- dataset. A `database` and `schema` pair, in any letter case, can back only one sync on
4581
+ destination is required before the sync can be enabled: the connection with
4582
+ `database` and `schema`, or — for NetSuite Analytics Warehouse — the connection
4583
+ with `schema` and either `tablePrefix` or `database`. The destination application
4584
+ is read from the connection — `rdbms.type` for a database connection, NetSuite
4585
+ Analytics Warehouse for a JDBC connection whose `jdbc.type` is `oracle:thin` — so
4586
+ `database` and `schema` are read in that application's terms: Google BigQuery
4587
+ treats them as the GCP project and the dataset. A `database` and `schema` pair, in
4588
+ any letter case, can back only one sync on
4560
4589
  a destination connection, even across integrations (`422 duplicate_destination_host`).
4561
4590
  Sending `database`, `schema` or `tablePrefix` without `_connectionId` fails with
4562
4591
  `422 missing_destination_connection`, and a `_connectionId` that is no connection in
4563
4592
  the account fails with `409 CONNECTION_NOT_FOUND`. Saving a new `database` or `schema`
4564
4593
  checks the warehouse; when the warehouse doesn't answer in time the save fails with
4565
4594
  `422 destination_schema_check_timeout`, nothing is saved, and the request can be
4566
- retried. All syncs in
4595
+ retried. For NetSuite Analytics Warehouse that check has not been observed: a new
4596
+ `schema` was saved on a connection whose host does not resolve, so a successful
4597
+ save there does not show that the warehouse was reached. All syncs in
4567
4598
  an integration must target the same destination application type, and a sync's
4568
4599
  destination type can't change once saved. An Amazon Redshift destination is checked
4569
4600
  on every save that sends `_connectionId`: a missing `database` or `schema` fails with
@@ -4577,22 +4608,36 @@ components:
4577
4608
  and a `database` equal to the connection's (422
4578
4609
  `DIMETADATA_AZURESYNAPSE_SERVICE_PRINCIPAL_REQUIRED`,
4579
4610
  `DIMETADATA_AZURESYNAPSE_STAGING_REQUIRED`, `DIMETADATA_AZURESYNAPSE_DATABASE_MISMATCH`).
4611
+ A NetSuite Analytics Warehouse destination is checked on those saves as well, one
4612
+ error per unmet rule (422 `invalid_destination_sync_config`: "Schema is required for
4613
+ NSAW", "At least one of database or tablePrefix is required for NSAW").
4580
4614
  x-celigo-ai-guidance:
4581
4615
  - |-
4582
4616
  Send the block complete or not at all. A partial block is rejected in the destination's
4583
4617
  own vocabulary with 422 `invalid_destination_sync_config`: `GCP project is required on
4584
4618
  sync destination` / `BigQuery dataset is required on sync destination` (BigQuery),
4585
4619
  `SQL Server database is required on sync destination` / `SQL Server schema is required
4586
- on sync destination` (Microsoft SQL Server). A partial Snowflake block is not caught
4587
- by validation — the save reaches the warehouse and fails with Snowflake's own
4588
- `002003` "Database 'UNDEFINED' does not exist" error.
4620
+ on sync destination` (Microsoft SQL Server), `Schema is required for NSAW` / `At least
4621
+ one of database or tablePrefix is required for NSAW` (NetSuite Analytics Warehouse). A
4622
+ Snowflake block without `database` fails with 422 "No database was found. Please
4623
+ provide database.".
4589
4624
  - |-
4590
- Saving a complete destination connects to the warehouse to create the schema
4591
- (dataset) when it is missing. When the host resolves but the connection fails, or
4625
+ For a NetSuite Analytics Warehouse destination send `schema` and `tablePrefix` — the
4626
+ two fields the Create Sync wizard collects; `database` is accepted in `tablePrefix`'s
4627
+ place, and a sync enables with either. A `tablePrefix` with a hyphen fails with 422
4628
+ `nsaw_invalid_prefix` ("Prefix must start with a letter or underscore, followed by
4629
+ alphanumeric characters, underscores, or dollar signs").
4630
+ - |-
4631
+ Except for NetSuite Analytics Warehouse (last sentence), saving a complete
4632
+ destination connects to the warehouse to create the schema (dataset) when it is
4633
+ missing. When the host resolves but the connection fails, or
4592
4634
  the credentials are unusable, the save fails with the connection's error — 422
4593
4635
  `invalid_host` for SQL Server, `big_query_unexpected_error` for BigQuery,
4594
4636
  `redshift_auth_fail` for Amazon Redshift — and no sync document is created or
4595
- updated; fix the connection rather than changing database or schema names.
4637
+ updated; fix the connection rather than changing database or schema names. A
4638
+ complete NetSuite Analytics Warehouse destination on a connection whose host does
4639
+ not resolve was saved (200), so there a successful save does not confirm that the
4640
+ warehouse was reached or that `schema` exists in it.
4596
4641
  - |-
4597
4642
  A destination whose application differs from the other syncs' in the same
4598
4643
  integration fails with 422 "The destination type for all the syncs under an
@@ -4610,12 +4655,13 @@ components:
4610
4655
  format: objectId
4611
4656
  x-celigo-refModel: connections
4612
4657
  description: |-
4613
- Connection to the destination warehouse. Its application (`rdbms.type` such as
4614
- `snowflake`, `bigquery`, `mssql`, `redshift` or `azuresynapse`, `rdbms.type: fabric`
4615
- for Microsoft Fabric (destination id `microsoftfabric`), or a NetSuite Analytics
4616
- Warehouse JDBC connection) must be one of the ids returned by
4617
- `GET /v1/di/metadata/destinations`; any other connection fails with
4618
- `422 invalid_destination_type`.
4658
+ Connection to the destination warehouse. Its application must be one of the ids
4659
+ returned by `GET /v1/di/metadata/destinations`: for a database connection the
4660
+ application is its `rdbms.type` (`snowflake`, `bigquery`, `mssql`, `redshift`,
4661
+ `azuresynapse`, or `fabric` for Microsoft Fabric, destination id
4662
+ `microsoftfabric`); a JDBC connection (`type: jdbc`) whose `jdbc.type` is
4663
+ `oracle:thin` is NetSuite Analytics Warehouse (destination id `nsaw`). Any other
4664
+ connection fails with `422 invalid_destination_type`.
4619
4665
  examples:
4620
4666
  - 68d02dbe0839a514623c1d6d
4621
4667
  database:
@@ -4624,15 +4670,20 @@ components:
4624
4670
  Database in the destination warehouse the sync loads into; it must already exist.
4625
4671
  For Google BigQuery this is the GCP project id the tables are created in
4626
4672
  (`project.dataset.table`). For Amazon Redshift it must be an unquoted identifier,
4627
- under the same rule as `schema`.
4673
+ under the same rule as `schema`. A NetSuite Analytics Warehouse destination can
4674
+ leave it out and send `tablePrefix` instead.
4628
4675
  x-celigo-ui-override: 'The Create Sync wizard shows no database picker for a BigQuery, Microsoft SQL Server or Amazon Redshift destination and fills this field from the selected connection: rdbms.bigquery.projectId for BigQuery, rdbms.database for Microsoft SQL Server and Amazon Redshift.'
4629
4676
  examples:
4630
4677
  - ANALYTICS_DB
4631
4678
  schema:
4632
4679
  type: string
4633
4680
  description: |-
4634
- Schema within `database` where the sync creates and loads tables; created on save
4635
- when it does not exist. For Google BigQuery this is the dataset name, with case
4681
+ Schema where the sync creates and loads tables — within `database` when the
4682
+ destination has one; a NetSuite Analytics Warehouse destination can carry
4683
+ `tablePrefix` instead of `database`. Created on save when it does not exist,
4684
+ except for NetSuite Analytics Warehouse, where that has not been observed (a
4685
+ destination was saved on a connection whose host does not resolve). For Google
4686
+ BigQuery this is the dataset name, with case
4636
4687
  preserved. For Amazon Redshift it must start with a letter or underscore, contain
4637
4688
  only letters, digits and underscores, stay within 127 bytes, and carry no leading
4638
4689
  or trailing whitespace; anything else fails with 422 `invalid_destination_sync_config`
@@ -4644,7 +4695,9 @@ components:
4644
4695
  type: string
4645
4696
  description: |-
4646
4697
  Prefix prepended to the name of every table the sync creates in the
4647
- destination schema. Omit to use unprefixed table names.
4698
+ destination schema. Omit to use unprefixed table names. A NetSuite Analytics
4699
+ Warehouse destination takes it in place of `database`.
4700
+ x-celigo-ui-override: For a NetSuite Analytics Warehouse destination the Create Sync wizard collects the schema and this prefix, requires both, and has no database field.
4648
4701
  examples:
4649
4702
  - sf_
4650
4703
  driftPolicy:
package/dist/tool.yml CHANGED
@@ -13082,7 +13082,7 @@ components:
13082
13082
  agent: Generic JDBC driver deployed on a Celigo Agent (requires driverPath).
13083
13083
  netsuitejdbc: NetSuite SuiteAnalytics JDBC driver for reporting and analytics queries.
13084
13084
  databricks: Databricks SQL/Spark via JDBC.
13085
- oracle:thin: Oracle Database via the Oracle Thin JDBC driver.
13085
+ oracle:thin: Oracle Database via the Oracle Thin JDBC driver; a sync reads a connection of this type as a NetSuite Analytics Warehouse destination.
13086
13086
  sqlserver: Microsoft SQL Server via the JTDS or Microsoft JDBC driver.
13087
13087
  activedirectory: Microsoft Active Directory over LDAP (default port 389) through an on-premise agent, read with SQL against the directory tables the driver exposes; LDAPVersion and BaseDN go in properties.
13088
13088
  db2: IBM DB2 database via JDBC.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.314",
3
+ "version": "0.2.316",
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": "508d6a0a",
4
+ "iasCommit": "17c8b262",
5
5
  "generatedAt": "2026-11-19"
6
6
  },
7
7
  "roots": {