@celigo/api-specs 0.2.325 → 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/api.yml CHANGED
@@ -6059,6 +6059,9 @@ components:
6059
6059
  results returns each group as an array inside `data`
6060
6060
  (`"data": [[<row>, <row>]]`): `data[0][0].name` (or `data.0.0.name`)
6061
6061
  reads the first row of the first group, and `data[0]` copies the group.
6062
+ A page-processor preview (`previewPageProcessor`) fills `data` with
6063
+ the lookup's first record only; a test run fills it with every
6064
+ record the lookup returns.
6062
6065
  - **Import steps**: `{"id": "<destination record id>", "statusCode": 200,
6063
6066
  "ignored": false, "errors": [], "_json": <raw destination response>,
6064
6067
  ...<response body fields flattened at the root>}` — use `id` for the
@@ -6111,7 +6114,9 @@ components:
6111
6114
  To carry several lookup results onto the record, use `extract: "data"`
6112
6115
  (the whole result array) or a `lists` entry whose extracts use
6113
6116
  `data[*].x` — never `data[*].x` in `fields[].extract`, which merges
6114
- nothing: the record simply never gains the field.
6117
+ nothing: the record simply never gains the field. A page-processor
6118
+ preview shows one result in that array either way, so check the full
6119
+ list in a test run.
6115
6120
  examples:
6116
6121
  - fields:
6117
6122
  - extract: id
package/dist/export.yml CHANGED
@@ -17116,7 +17116,8 @@ components:
17116
17116
  calling the source, in a test run of the flow, API or Tool that holds the export, and in a
17117
17117
  page-processor preview (`previewPageProcessor`) for the flow's source export and for a
17118
17118
  lookup upstream of the previewed step. That preview carries only the first record of a
17119
- source export's mock. A target lookup in the preview runs its live query, invoking the
17119
+ source export's mock, and of an upstream lookup's mock only the first record reaches the
17120
+ lookup's results mapping. A target lookup in the preview runs its live query, invoking the
17120
17121
  export (`POST /v1/exports/{_id}/invoke`) reads the source, and real runs ignore the mock.
17121
17122
  This allows you to:
17122
17123
  - Test mappings with representative data
@@ -17164,6 +17165,10 @@ components:
17164
17165
  A page-processor preview follows only the first record of a source export's mockOutput,
17165
17166
  while a test run takes the whole page. On an export with an output `filter`, put a record
17166
17167
  the filter keeps first, so a preview of a later step has a record to follow.
17168
+ - |-
17169
+ A page-processor preview hands a lookup's results mapping only the first record of the
17170
+ lookup's mockOutput, while a test run hands it every record. Put first the record a later
17171
+ step's preview should be built from.
17167
17172
  properties:
17168
17173
  page_of_records:
17169
17174
  type: array
package/dist/flow.yml CHANGED
@@ -4804,6 +4804,17 @@ paths:
4804
4804
  request did execute. With `includeStages: false` the response is the
4805
4805
  bare result object rather than the `{data, stages}` envelope.
4806
4806
 
4807
+ A lookup contributes one record to this preview: the first record of
4808
+ its saved `mockOutput`, or of its live response. An upstream lookup's
4809
+ results mapping therefore reads a `data` array of one record, where a
4810
+ test run reads every record the lookup returned, and a target lookup
4811
+ returns that first record as `data` (an HTTP lookup's `raw` stage
4812
+ still holds the whole response). A later step that works on the
4813
+ mapped array sees the one record: a one-to-many step previews one
4814
+ child, and a filter or expression over the lookup's results is
4815
+ evaluated on it — when the step's own input filter then excludes the
4816
+ record, the response is `422 no_data_available`.
4817
+
4807
4818
  Body carries the flow shape plus resolved maps of page-generator and
4808
4819
  page-processor docs keyed by `_id`. The server uses those maps as the
4809
4820
  source of truth for the preview — it does not read the persisted flow
@@ -5240,6 +5251,9 @@ components:
5240
5251
  results returns each group as an array inside `data`
5241
5252
  (`"data": [[<row>, <row>]]`): `data[0][0].name` (or `data.0.0.name`)
5242
5253
  reads the first row of the first group, and `data[0]` copies the group.
5254
+ A page-processor preview (`previewPageProcessor`) fills `data` with
5255
+ the lookup's first record only; a test run fills it with every
5256
+ record the lookup returns.
5243
5257
  - **Import steps**: `{"id": "<destination record id>", "statusCode": 200,
5244
5258
  "ignored": false, "errors": [], "_json": <raw destination response>,
5245
5259
  ...<response body fields flattened at the root>}` — use `id` for the
@@ -5292,7 +5306,9 @@ components:
5292
5306
  To carry several lookup results onto the record, use `extract: "data"`
5293
5307
  (the whole result array) or a `lists` entry whose extracts use
5294
5308
  `data[*].x` — never `data[*].x` in `fields[].extract`, which merges
5295
- nothing: the record simply never gains the field.
5309
+ nothing: the record simply never gains the field. A page-processor
5310
+ preview shows one result in that array either way, so check the full
5311
+ list in a test run.
5296
5312
  examples:
5297
5313
  - fields:
5298
5314
  - extract: id
@@ -9792,6 +9808,13 @@ components:
9792
9808
  whole first page through the same steps, so read what reaches a step from a test run. To
9793
9809
  preview a step with a record that reaches it, put that record first in the source's
9794
9810
  `mockOutput`.
9811
+ - |-
9812
+ A lookup on the way passes on only the first record it returns (the first record of its
9813
+ `mockOutput`, else of its live response), so its results mapping's `data` holds one record
9814
+ and a step that needs the others — a one-to-many over the mapped array, a filter or a total
9815
+ across it — previews one record or answers `422 no_data_available`. A test run hands the
9816
+ mapping every record. To preview with a representative result, put it first in the lookup's
9817
+ `mockOutput`, or supply the whole record as the target's `options.inputData`.
9795
9818
  properties:
9796
9819
  flow:
9797
9820
  type: object
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/dist/tool.yml CHANGED
@@ -40245,7 +40245,8 @@ components:
40245
40245
  calling the source, in a test run of the flow, API or Tool that holds the export, and in a
40246
40246
  page-processor preview (`previewPageProcessor`) for the flow's source export and for a
40247
40247
  lookup upstream of the previewed step. That preview carries only the first record of a
40248
- source export's mock. A target lookup in the preview runs its live query, invoking the
40248
+ source export's mock, and of an upstream lookup's mock only the first record reaches the
40249
+ lookup's results mapping. A target lookup in the preview runs its live query, invoking the
40249
40250
  export (`POST /v1/exports/{_id}/invoke`) reads the source, and real runs ignore the mock.
40250
40251
  This allows you to:
40251
40252
  - Test mappings with representative data
@@ -40293,6 +40294,10 @@ components:
40293
40294
  A page-processor preview follows only the first record of a source export's mockOutput,
40294
40295
  while a test run takes the whole page. On an export with an output `filter`, put a record
40295
40296
  the filter keeps first, so a preview of a later step has a record to follow.
40297
+ - |-
40298
+ A page-processor preview hands a lookup's results mapping only the first record of the
40299
+ lookup's mockOutput, while a test run hands it every record. Put first the record a later
40300
+ step's preview should be built from.
40296
40301
  properties:
40297
40302
  page_of_records:
40298
40303
  type: array
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.325",
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": "903f4b82",
4
+ "iasCommit": "211e97a1",
5
5
  "generatedAt": "2026-11-20"
6
6
  },
7
7
  "roots": {