@celigo/api-specs 0.2.326 → 0.2.327

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/sync.yml CHANGED
@@ -1036,7 +1036,9 @@ paths:
1036
1036
  another dataset's table name in another letter case), two source columns sanitize to
1037
1037
  the same destination column name (`duplicate_sanitized_column_names` — rename
1038
1038
  or disable the conflicting source columns), an update changes a dataset's
1039
- `isExport` (`is_export_update_not_allowed`), or a data-element combination is
1039
+ `isExport` (`is_export_update_not_allowed`), a `delta` dataset that carries a
1040
+ `netsuite.recordType` has no `delta.dateField`
1041
+ (`dataset_export_properties_date_field_missing`), or a data-element combination is
1040
1042
  invalid (e.g. `transformMode` without children, or `isPrimaryKey` with `mask`).
1041
1043
  content:
1042
1044
  application/json:
@@ -1050,6 +1052,13 @@ paths:
1050
1052
  - field: ingestionMode
1051
1053
  code: ingestion_mode_required_for_enabled_datasets
1052
1054
  message: ingestionMode field is required for enabled datasets.
1055
+ missing_delta_date_field:
1056
+ summary: Delta dataset with a NetSuite record type and no date field
1057
+ value:
1058
+ errors:
1059
+ - field: exportProperties.type
1060
+ code: dataset_export_properties_date_field_missing
1061
+ message: exportProperties.delta.dateField is required if exportProperties.type is delta.
1053
1062
  /v1/syncs/{_syncId}/datasets/{_id}:
1054
1063
  get:
1055
1064
  x-internal: false
@@ -3342,8 +3351,8 @@ paths:
3342
3351
  type: array
3343
3352
  description: |-
3344
3353
  Column names usable as the incremental-extraction cursor. A
3345
- Salesforce dataset uses the first entry itself; a NetSuite
3346
- saved-search dataset names its cursor in
3354
+ Salesforce dataset uses the first entry itself. Not returned for
3355
+ a NetSuite saved search, which names its cursor in
3347
3356
  `exportProperties.delta.dateField`.
3348
3357
  items:
3349
3358
  type: string
@@ -4952,10 +4961,14 @@ components:
4952
4961
  type: string
4953
4962
  description: |-
4954
4963
  Source field that carries each record's last-modified timestamp, used as
4955
- the delta cursor. Used by NetSuite saved-search datasets, where it is
4956
- required when a `netsuite.recordType` is set. Salesforce datasets take the
4957
- first entry of the column read's `deltaFields` instead, and HTTP-connector
4958
- datasets have no date field: their delta filter is part of the request.
4964
+ the delta cursor. A NetSuite saved-search dataset carries one when its
4965
+ `exportProperties.type` is `delta` and a `netsuite.recordType` was set —
4966
+ `lastmodifieddate` when the Create Sync form saved it — and each run adds it
4967
+ to the saved search as a search filter; a saved search on a custom record
4968
+ type uses `type: all`, and a dataset on `all` carries none. Salesforce
4969
+ datasets take the first entry of the column read's `deltaFields` instead, and
4970
+ HTTP-connector datasets have no date field: their delta filter is part of the
4971
+ request.
4959
4972
  examples:
4960
4973
  - lastmodifieddate
4961
4974
  netsuite:
@@ -5137,10 +5150,32 @@ components:
5137
5150
  type: string
5138
5151
  description: |-
5139
5152
  Source field carrying each record's last-modified timestamp, used as the
5140
- delta cursor. Used by NetSuite saved-search datasets, where it is required
5141
- when a `netsuite.recordType` is set; it isn't checked against the column
5142
- read's `deltaFields`. Salesforce datasets take the first `deltaFields` entry
5143
- instead, and HTTP-connector datasets take no date field.
5153
+ delta cursor. A NetSuite saved-search dataset whose `exportProperties.type`
5154
+ is `delta` needs one when a `netsuite.recordType` is set — `lastmodifieddate`,
5155
+ which each run adds to the saved search as a search filter — except on a
5156
+ custom record type, where NetSuite refuses that filter and the dataset uses
5157
+ `exportProperties.type: all` instead. Salesforce datasets take the first
5158
+ `deltaFields` entry, and HTTP-connector datasets take no date field.
5159
+ x-celigo-ai-guidance:
5160
+ - |-
5161
+ NetSuite saved-search dataset on type delta: when the saved search is on a
5162
+ custom record type, set type all instead — with lastmodifieddate every run
5163
+ of that dataset fails at the extract stage with NetSuite's
5164
+ SSS_INVALID_SRCH_FILTER ("An nlobjSearchFilter contains invalid search
5165
+ criteria: lastmodifieddate"). Otherwise send lastmodifieddate, the value the
5166
+ Create Sync form saves for "Date last modified", the one date field it
5167
+ offers for a new selection; leave datecreated on a dataset that already
5168
+ carries it.
5169
+ - |-
5170
+ A type delta item that carries netsuite.recordType and no dateField fails
5171
+ the whole request with 422 dataset_export_properties_date_field_missing. A
5172
+ type all item is saved without one.
5173
+ - |-
5174
+ The value isn't validated at save — not against the saved search, and not
5175
+ against a column list: the column read returns no deltaFields for a saved
5176
+ search. A name NetSuite has no search filter for is saved as sent, and each
5177
+ run of that dataset then fails at the extract stage with
5178
+ SSS_INVALID_SRCH_FILTER naming it.
5144
5179
  examples:
5145
5180
  - lastmodifieddate
5146
5181
  netsuite:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.326",
3
+ "version": "0.2.327",
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": "8a1ec6c7",
4
+ "iasCommit": "211e97a1",
5
5
  "generatedAt": "2026-11-20"
6
6
  },
7
7
  "roots": {