@celigo/api-specs 0.2.296 → 0.2.298
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 +59 -7
- package/dist/connection.yml +44 -13
- package/dist/enduser.yml +11 -0
- package/dist/export.yml +38 -10
- package/dist/flow.yml +19 -3
- package/dist/guardrail.yml +6 -5
- package/dist/import.yml +35 -19
- package/dist/mcp-server.yml +15 -2
- package/dist/tool.yml +35 -17
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/api.yml
CHANGED
|
@@ -672,10 +672,15 @@ paths:
|
|
|
672
672
|
Accepts a sample JSON object and returns its inferred JSON Schema definition.
|
|
673
673
|
Useful for bootstrapping `bodySchema` in builder-mode APIs from real payload samples.
|
|
674
674
|
Input must be a non-empty JSON object -- arrays and primitives are rejected.
|
|
675
|
-
|
|
676
|
-
`
|
|
677
|
-
|
|
678
|
-
|
|
675
|
+
Nested objects are inferred recursively, each with its own `properties`. An array gets
|
|
676
|
+
`items` when its elements agree: one scalar type, whole numbers mixed with decimals
|
|
677
|
+
(`number`), nested arrays, or objects that share the same keys (their `properties` are
|
|
678
|
+
inferred too). Objects whose keys differ give `items` of `type: "object"` with no
|
|
679
|
+
properties, and an empty array or one that mixes types has no `items`. Whole numbers
|
|
680
|
+
are `integer`, other numbers `number`, and `null` is `type: "null"`.
|
|
681
|
+
Fill in or remove any object node that comes back without `properties` (an empty
|
|
682
|
+
object, or array items whose keys differ) before saving the result as a `bodySchema`:
|
|
683
|
+
the API Builder editor can't render an object node that has no properties.
|
|
679
684
|
requestBody:
|
|
680
685
|
required: true
|
|
681
686
|
content:
|
|
@@ -688,6 +693,11 @@ paths:
|
|
|
688
693
|
name: Acme Corp
|
|
689
694
|
active: true
|
|
690
695
|
count: 42
|
|
696
|
+
address:
|
|
697
|
+
city: Reno
|
|
698
|
+
tags:
|
|
699
|
+
- wholesale
|
|
700
|
+
- priority
|
|
691
701
|
responses:
|
|
692
702
|
'200':
|
|
693
703
|
description: JSON Schema generated successfully.
|
|
@@ -711,13 +721,44 @@ paths:
|
|
|
711
721
|
active:
|
|
712
722
|
type: boolean
|
|
713
723
|
count:
|
|
714
|
-
type:
|
|
724
|
+
type: integer
|
|
725
|
+
address:
|
|
726
|
+
type: object
|
|
727
|
+
properties:
|
|
728
|
+
city:
|
|
729
|
+
type: string
|
|
730
|
+
tags:
|
|
731
|
+
type: array
|
|
732
|
+
items:
|
|
733
|
+
type: string
|
|
715
734
|
'400':
|
|
716
|
-
|
|
735
|
+
description: The request body is a JSON array, or isn't valid JSON.
|
|
736
|
+
content:
|
|
737
|
+
application/json:
|
|
738
|
+
schema:
|
|
739
|
+
$ref: '#/components/schemas/Error'
|
|
740
|
+
examples:
|
|
741
|
+
arrayBody:
|
|
742
|
+
summary: The body is an array
|
|
743
|
+
value:
|
|
744
|
+
errors:
|
|
745
|
+
- code: api_builder_invalid_payload
|
|
746
|
+
message: Payload is not an object.
|
|
717
747
|
'401':
|
|
718
748
|
$ref: '#/components/responses/401-unauthorized'
|
|
719
749
|
'422':
|
|
720
|
-
|
|
750
|
+
description: The request body is an empty object.
|
|
751
|
+
content:
|
|
752
|
+
application/json:
|
|
753
|
+
schema:
|
|
754
|
+
$ref: '#/components/schemas/Error'
|
|
755
|
+
examples:
|
|
756
|
+
emptyObject:
|
|
757
|
+
summary: The body is `{}`
|
|
758
|
+
value:
|
|
759
|
+
errors:
|
|
760
|
+
- code: missing_request_body
|
|
761
|
+
message: Request body is missing.
|
|
721
762
|
/v1/apis/updateApiGrouping:
|
|
722
763
|
put:
|
|
723
764
|
x-internal: false
|
|
@@ -8957,12 +8998,23 @@ components:
|
|
|
8957
8998
|
Authentication method for the NetSuite connection. token-auto delegates the token
|
|
8958
8999
|
lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
|
|
8959
9000
|
uses a certificate-signed client credentials grant that NetSuite must authorize.
|
|
9001
|
+
An oauth connection runs RESTlet-based exports and imports only. One that reads or
|
|
9002
|
+
writes through SuiteTalk (SOAP), such as a saved-search or file export or a SuiteTalk
|
|
9003
|
+
record import, still saves on it, and is refused when it is previewed or invoked with
|
|
9004
|
+
400 `netsuite_oauth2_soap_not_supported`. Until NetSuite has authorized the connection,
|
|
9005
|
+
a RESTlet export preview and the connection test answer
|
|
9006
|
+
`netsuite_oauth2_reconnect_required`.
|
|
8960
9007
|
x-celigo-ai-guidance:
|
|
8961
9008
|
- |-
|
|
8962
9009
|
Default to "token-auto" for new connections, including placeholders (only the account id is needed).
|
|
8963
9010
|
Use "token" when the user supplies their own tokenId/tokenSecret. Do not create "basic" connections:
|
|
8964
9011
|
the API rejects them with 422 "netsuite_wsdl_tba_mandatory" because the available WSDL versions
|
|
8965
9012
|
require Token-Based Authentication.
|
|
9013
|
+
- |-
|
|
9014
|
+
Don't attach a SuiteTalk (SOAP) step to an "oauth" connection: a saved-search or file export
|
|
9015
|
+
(netsuite.type "search" or "file") saves with 201 but its preview fails with 400
|
|
9016
|
+
"netsuite_oauth2_soap_not_supported". Build the step as a RESTlet export or import, or use a
|
|
9017
|
+
"token" or "token-auto" connection.
|
|
8966
9018
|
x-lowercase: true
|
|
8967
9019
|
account:
|
|
8968
9020
|
type: string
|
package/dist/connection.yml
CHANGED
|
@@ -1842,7 +1842,7 @@ paths:
|
|
|
1842
1842
|
'200':
|
|
1843
1843
|
description: |-
|
|
1844
1844
|
One result per input record, in input order — accepted, failed at
|
|
1845
|
-
the destination, or ignored by the document
|
|
1845
|
+
the destination, or ignored by the document itself.
|
|
1846
1846
|
content:
|
|
1847
1847
|
application/json:
|
|
1848
1848
|
schema:
|
|
@@ -2163,7 +2163,7 @@ paths:
|
|
|
2163
2163
|
'200':
|
|
2164
2164
|
description: |-
|
|
2165
2165
|
One result per input record, in input order — accepted, failed at
|
|
2166
|
-
the destination, or ignored by the document
|
|
2166
|
+
the destination, or ignored by the document itself.
|
|
2167
2167
|
content:
|
|
2168
2168
|
application/json:
|
|
2169
2169
|
schema:
|
|
@@ -2341,7 +2341,7 @@ paths:
|
|
|
2341
2341
|
'200':
|
|
2342
2342
|
description: |-
|
|
2343
2343
|
One result per input record, in input order — accepted, failed at
|
|
2344
|
-
the destination, or ignored by the document
|
|
2344
|
+
the destination, or ignored by the document itself.
|
|
2345
2345
|
content:
|
|
2346
2346
|
application/json:
|
|
2347
2347
|
schema:
|
|
@@ -2519,7 +2519,7 @@ paths:
|
|
|
2519
2519
|
'200':
|
|
2520
2520
|
description: |-
|
|
2521
2521
|
One result per input record, in input order — accepted, failed at
|
|
2522
|
-
the destination, or ignored by the document
|
|
2522
|
+
the destination, or ignored by the document itself.
|
|
2523
2523
|
content:
|
|
2524
2524
|
application/json:
|
|
2525
2525
|
schema:
|
|
@@ -4743,12 +4743,23 @@ components:
|
|
|
4743
4743
|
Authentication method for the NetSuite connection. token-auto delegates the token
|
|
4744
4744
|
lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
|
|
4745
4745
|
uses a certificate-signed client credentials grant that NetSuite must authorize.
|
|
4746
|
+
An oauth connection runs RESTlet-based exports and imports only. One that reads or
|
|
4747
|
+
writes through SuiteTalk (SOAP), such as a saved-search or file export or a SuiteTalk
|
|
4748
|
+
record import, still saves on it, and is refused when it is previewed or invoked with
|
|
4749
|
+
400 `netsuite_oauth2_soap_not_supported`. Until NetSuite has authorized the connection,
|
|
4750
|
+
a RESTlet export preview and the connection test answer
|
|
4751
|
+
`netsuite_oauth2_reconnect_required`.
|
|
4746
4752
|
x-celigo-ai-guidance:
|
|
4747
4753
|
- |-
|
|
4748
4754
|
Default to "token-auto" for new connections, including placeholders (only the account id is needed).
|
|
4749
4755
|
Use "token" when the user supplies their own tokenId/tokenSecret. Do not create "basic" connections:
|
|
4750
4756
|
the API rejects them with 422 "netsuite_wsdl_tba_mandatory" because the available WSDL versions
|
|
4751
4757
|
require Token-Based Authentication.
|
|
4758
|
+
- |-
|
|
4759
|
+
Don't attach a SuiteTalk (SOAP) step to an "oauth" connection: a saved-search or file export
|
|
4760
|
+
(netsuite.type "search" or "file") saves with 201 but its preview fails with 400
|
|
4761
|
+
"netsuite_oauth2_soap_not_supported". Build the step as a RESTlet export or import, or use a
|
|
4762
|
+
"token" or "token-auto" connection.
|
|
4752
4763
|
x-lowercase: true
|
|
4753
4764
|
account:
|
|
4754
4765
|
type: string
|
|
@@ -11119,9 +11130,10 @@ components:
|
|
|
11119
11130
|
per record, in input order — shared by `POST /v1/imports/{_id}/invoke`,
|
|
11120
11131
|
the virtual import `POST /v1/connections/{_id}/import` and its
|
|
11121
11132
|
integration-scoped forms. A record the
|
|
11122
|
-
import itself
|
|
11123
|
-
|
|
11124
|
-
parsed response; a record the destination
|
|
11133
|
+
import itself skipped carries `ignored: true`, with the `stage` that
|
|
11134
|
+
dropped it when the platform reports one; a record the destination
|
|
11135
|
+
accepted carries its parsed response; a record the destination
|
|
11136
|
+
rejected — or that the
|
|
11125
11137
|
import's `failPath` / `failValues` rules judged a failure even on a
|
|
11126
11138
|
`2xx` — carries `errors[]`.
|
|
11127
11139
|
properties:
|
|
@@ -11140,9 +11152,10 @@ components:
|
|
|
11140
11152
|
description: |-
|
|
11141
11153
|
The destination's response body for the record, parsed — the slice
|
|
11142
11154
|
under the import's `response.resourcePath` when one is defined — not
|
|
11143
|
-
the record that was sent. `{}` when the
|
|
11144
|
-
destination returned no body; the raw
|
|
11145
|
-
body is not JSON. A failed record
|
|
11155
|
+
the record that was sent. `{}` when the import's input filter
|
|
11156
|
+
ignored the record or the destination returned no body; the raw
|
|
11157
|
+
text, as a string, when the body is not JSON. A failed record
|
|
11158
|
+
carries it too.
|
|
11146
11159
|
oneOf:
|
|
11147
11160
|
- type: object
|
|
11148
11161
|
additionalProperties: true
|
|
@@ -11158,15 +11171,29 @@ components:
|
|
|
11158
11171
|
ignored:
|
|
11159
11172
|
type: boolean
|
|
11160
11173
|
description: |-
|
|
11161
|
-
When true, the import
|
|
11162
|
-
|
|
11174
|
+
When true, the import skipped the record and wrote nothing to the
|
|
11175
|
+
destination. A record its own input filter excluded carries
|
|
11176
|
+
`stage: inputFilter`, and no request was made for it. A NetSuite
|
|
11177
|
+
import with `ignoreExisting` whose lookup finds the record carries
|
|
11178
|
+
no `stage`: the destination was searched, and `id` and `_json.id`
|
|
11179
|
+
hold the internal id of the record the search found.
|
|
11163
11180
|
stage:
|
|
11164
11181
|
type: string
|
|
11165
11182
|
description: |-
|
|
11166
11183
|
The import stage that ignored the record — `inputFilter` when the
|
|
11167
|
-
import's own input filter excluded it. Present only with `ignored
|
|
11184
|
+
import's own input filter excluded it. Present only with `ignored`,
|
|
11185
|
+
and not on every ignored record.
|
|
11168
11186
|
examples:
|
|
11169
11187
|
- inputFilter
|
|
11188
|
+
id:
|
|
11189
|
+
type:
|
|
11190
|
+
- string
|
|
11191
|
+
- integer
|
|
11192
|
+
description: |-
|
|
11193
|
+
Identifier the import reports for the record; many results carry
|
|
11194
|
+
none. On a record a NetSuite import ignored because its
|
|
11195
|
+
`ignoreExisting` lookup found it, this is the internal id of the
|
|
11196
|
+
existing record the lookup found — the same value as `_json.id`.
|
|
11170
11197
|
errors:
|
|
11171
11198
|
type: array
|
|
11172
11199
|
description: |-
|
|
@@ -11237,6 +11264,10 @@ components:
|
|
|
11237
11264
|
`invalid_adaptor`. A record the input filter excludes comes back
|
|
11238
11265
|
`{ignored: true, stage: "inputFilter"}` and was never sent; omitting `import` or `data` is a
|
|
11239
11266
|
`400 invalid_request` in the bare error array `POST /v1/connections/{_id}/import` returns.
|
|
11267
|
+
- |-
|
|
11268
|
+
A NetSuite document with `ignoreExisting` whose lookup finds the record answers
|
|
11269
|
+
`{statusCode: 200, id, _json: {id}, ignored: true}` with no `stage`: the destination was
|
|
11270
|
+
searched, nothing was written, and `id` is the internal id of the record found.
|
|
11240
11271
|
required:
|
|
11241
11272
|
- import
|
|
11242
11273
|
- data
|
package/dist/enduser.yml
CHANGED
|
@@ -2643,12 +2643,23 @@ components:
|
|
|
2643
2643
|
Authentication method for the NetSuite connection. token-auto delegates the token
|
|
2644
2644
|
lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
|
|
2645
2645
|
uses a certificate-signed client credentials grant that NetSuite must authorize.
|
|
2646
|
+
An oauth connection runs RESTlet-based exports and imports only. One that reads or
|
|
2647
|
+
writes through SuiteTalk (SOAP), such as a saved-search or file export or a SuiteTalk
|
|
2648
|
+
record import, still saves on it, and is refused when it is previewed or invoked with
|
|
2649
|
+
400 `netsuite_oauth2_soap_not_supported`. Until NetSuite has authorized the connection,
|
|
2650
|
+
a RESTlet export preview and the connection test answer
|
|
2651
|
+
`netsuite_oauth2_reconnect_required`.
|
|
2646
2652
|
x-celigo-ai-guidance:
|
|
2647
2653
|
- |-
|
|
2648
2654
|
Default to "token-auto" for new connections, including placeholders (only the account id is needed).
|
|
2649
2655
|
Use "token" when the user supplies their own tokenId/tokenSecret. Do not create "basic" connections:
|
|
2650
2656
|
the API rejects them with 422 "netsuite_wsdl_tba_mandatory" because the available WSDL versions
|
|
2651
2657
|
require Token-Based Authentication.
|
|
2658
|
+
- |-
|
|
2659
|
+
Don't attach a SuiteTalk (SOAP) step to an "oauth" connection: a saved-search or file export
|
|
2660
|
+
(netsuite.type "search" or "file") saves with 201 but its preview fails with 400
|
|
2661
|
+
"netsuite_oauth2_soap_not_supported". Build the step as a RESTlet export or import, or use a
|
|
2662
|
+
"token" or "token-auto" connection.
|
|
2652
2663
|
x-lowercase: true
|
|
2653
2664
|
account:
|
|
2654
2665
|
type: string
|
package/dist/export.yml
CHANGED
|
@@ -581,11 +581,22 @@ paths:
|
|
|
581
581
|
`invalid_request` before `_connectionId` is looked at (every other
|
|
582
582
|
`type` value passes this check). Then, on this route only, an alias
|
|
583
583
|
name in `_connectionId` is `invalid_ref` (the scoped routes resolve it).
|
|
584
|
+
A NetSuite saved-search or file export (`netsuite.type` `search` or
|
|
585
|
+
`file`) on a connection whose `netsuite.authType` is `oauth` is
|
|
586
|
+
`netsuite_oauth2_soap_not_supported` (`source: connection`): those
|
|
587
|
+
exports read through SuiteTalk, which OAuth 2.0 connections can't call.
|
|
584
588
|
content:
|
|
585
589
|
application/json:
|
|
586
590
|
schema:
|
|
587
591
|
$ref: '#/components/schemas/Error'
|
|
588
592
|
examples:
|
|
593
|
+
netsuiteOauthSuiteTalk:
|
|
594
|
+
summary: A SuiteTalk export on a NetSuite OAuth 2.0 connection
|
|
595
|
+
value:
|
|
596
|
+
errors:
|
|
597
|
+
- code: netsuite_oauth2_soap_not_supported
|
|
598
|
+
message: This operation uses NetSuite SuiteTalk (SOAP), which does not support OAuth 2.0. Use a RESTlet-based export or import, or a token-based auth connection for this resource.
|
|
599
|
+
source: connection
|
|
589
600
|
virtualSimpleExport:
|
|
590
601
|
summary: Virtual export type not supported
|
|
591
602
|
value:
|
|
@@ -619,7 +630,10 @@ paths:
|
|
|
619
630
|
Cannot convert given string or number to date time.", followed by
|
|
620
631
|
`; record=` and that record as JSON. A Google Cloud Storage read of a
|
|
621
632
|
bucket or object that doesn't exist fails with `gcs_bucket_not_found`
|
|
622
|
-
or `gcs_object_not_found`.
|
|
633
|
+
or `gcs_object_not_found`. A RESTlet export on a NetSuite `oauth`
|
|
634
|
+
connection that NetSuite has not authorized yet fails with
|
|
635
|
+
`netsuite_oauth2_reconnect_required` (`source: connection`) and
|
|
636
|
+
`stages: null`.
|
|
623
637
|
content:
|
|
624
638
|
application/json:
|
|
625
639
|
schema:
|
|
@@ -709,6 +723,14 @@ paths:
|
|
|
709
723
|
- code: gcs_bucket_not_found
|
|
710
724
|
message: The specified Google Cloud Storage bucket was not found. Verify the bucket name and that the service account has access.
|
|
711
725
|
source: resource
|
|
726
|
+
netsuiteOauthNotAuthorized:
|
|
727
|
+
summary: A RESTlet export on a NetSuite OAuth 2.0 connection awaiting authorization
|
|
728
|
+
value:
|
|
729
|
+
errors:
|
|
730
|
+
- code: netsuite_oauth2_reconnect_required
|
|
731
|
+
message: This NetSuite connection needs to be re-authorized. Click Save & Authorize to reconnect.
|
|
732
|
+
source: connection
|
|
733
|
+
stages: null
|
|
712
734
|
/v1/integrations/{_integrationId}/exports/preview:
|
|
713
735
|
post:
|
|
714
736
|
x-internal: false
|
|
@@ -17041,12 +17063,13 @@ components:
|
|
|
17041
17063
|
|
|
17042
17064
|
**Usage**
|
|
17043
17065
|
|
|
17044
|
-
|
|
17045
|
-
|
|
17046
|
-
|
|
17047
|
-
lookup
|
|
17048
|
-
|
|
17049
|
-
|
|
17066
|
+
integrator.io substitutes this mock output for the export's live response, instead of
|
|
17067
|
+
calling the source, in a test run of the flow, API or Tool that holds the export, and in a
|
|
17068
|
+
page-processor preview (`previewPageProcessor`) for the flow's source export and for a
|
|
17069
|
+
lookup upstream of the previewed step. That preview carries only the first record of a
|
|
17070
|
+
source export's mock. A target lookup in the preview runs its live query, invoking the
|
|
17071
|
+
export (`POST /v1/exports/{_id}/invoke`) reads the source, and real runs ignore the mock.
|
|
17072
|
+
This allows you to:
|
|
17050
17073
|
- Test mappings with representative data
|
|
17051
17074
|
- Configure downstream flow steps without waiting for real data
|
|
17052
17075
|
- Simulate various data scenarios
|
|
@@ -17084,9 +17107,14 @@ components:
|
|
|
17084
17107
|
what a lookup returns, apply the transform first; a results mapping authored against
|
|
17085
17108
|
the stored shape walks paths that do not exist at runtime.
|
|
17086
17109
|
- |-
|
|
17087
|
-
A saved mockOutput is read in
|
|
17088
|
-
|
|
17089
|
-
|
|
17110
|
+
A saved mockOutput is read in a test run (flow, API or Tool) and in a page-processor
|
|
17111
|
+
preview, there for the flow's source export and for a lookup upstream of the previewed
|
|
17112
|
+
step. A target lookup's preview, `POST /v1/exports/{_id}/invoke` and every real run call
|
|
17113
|
+
the source and never read it.
|
|
17114
|
+
- |-
|
|
17115
|
+
A page-processor preview follows only the first record of a source export's mockOutput,
|
|
17116
|
+
while a test run takes the whole page. On an export with an output `filter`, put a record
|
|
17117
|
+
the filter keeps first, so a preview of a later step has a record to follow.
|
|
17090
17118
|
properties:
|
|
17091
17119
|
page_of_records:
|
|
17092
17120
|
type: array
|
package/dist/flow.yml
CHANGED
|
@@ -4524,9 +4524,15 @@ paths:
|
|
|
4524
4524
|
(`POST /v1/connections/{_id}/import`). No options flag returns the
|
|
4525
4525
|
arriving record for any adaptor without touching the target.
|
|
4526
4526
|
|
|
4527
|
-
Upstream behavior: the source export executes live
|
|
4528
|
-
|
|
4529
|
-
|
|
4527
|
+
Upstream behavior: the source export executes live unless its doc
|
|
4528
|
+
carries `mockOutput`, which stands in for the read. Either way the
|
|
4529
|
+
preview follows one record — the first record of that page — through
|
|
4530
|
+
the source's transform, output filter and preSavePage hook and on
|
|
4531
|
+
through the flow. A flow test run (`testRunFlow`) takes the whole first
|
|
4532
|
+
page through the same steps, so this preview shows only that first
|
|
4533
|
+
record's journey and can lack, or differ from, what a test run delivers
|
|
4534
|
+
to a step. Router branch filters and step input filters gate the
|
|
4535
|
+
record; upstream lookups execute live unless a
|
|
4530
4536
|
saved `mockOutput` is present (a saved mock always wins); upstream
|
|
4531
4537
|
imports are NEVER executed — each substitutes its saved `mockResponse`,
|
|
4532
4538
|
or a platform placeholder when none is saved, before its response
|
|
@@ -4647,6 +4653,10 @@ paths:
|
|
|
4647
4653
|
- An HTTP status as `code` with `source: application` and no `stage`
|
|
4648
4654
|
— the source export got that error status; the `request` and `raw`
|
|
4649
4655
|
stages come back beside `errors`.
|
|
4656
|
+
- `script_error` with `source` naming an upstream hook
|
|
4657
|
+
(`pre_save_page_hook` for the source export's preSavePage hook,
|
|
4658
|
+
`post_response_map_hook` for a step's postResponseMap hook) — that
|
|
4659
|
+
hook threw, and nothing reached the target.
|
|
4650
4660
|
- `handlebars_template_parse_error` — a target template doesn't
|
|
4651
4661
|
compile. It carries `source: application` and `stage: apiCall`
|
|
4652
4662
|
although nothing was sent.
|
|
@@ -9346,6 +9356,12 @@ components:
|
|
|
9346
9356
|
A `422` whose `errors[]` carry `source: application` and `stage: apiCall` after
|
|
9347
9357
|
`sendAndPreview` means the request DID execute and the target's `failPath` rules judged the
|
|
9348
9358
|
destination's answer a failure — a completed send, not a request-validation error.
|
|
9359
|
+
- |-
|
|
9360
|
+
The preview follows one record — the first record of the source export's page (its doc's
|
|
9361
|
+
`mockOutput` when present, else a live read). A flow test run (`testRunFlow`) takes the
|
|
9362
|
+
whole first page through the same steps, so read what reaches a step from a test run. To
|
|
9363
|
+
preview a step with a record that reaches it, put that record first in the source's
|
|
9364
|
+
`mockOutput`.
|
|
9349
9365
|
properties:
|
|
9350
9366
|
flow:
|
|
9351
9367
|
type: object
|
package/dist/guardrail.yml
CHANGED
|
@@ -1662,11 +1662,12 @@ components:
|
|
|
1662
1662
|
description: |-
|
|
1663
1663
|
Selects the check a guardrail applies and carries its settings. `type` picks the check
|
|
1664
1664
|
and the matching sub-object (`pii`, `moderation`, or `aiAgent`) configures it.
|
|
1665
|
-
Responses echo the active sub-object with `confidenceThreshold` defaulted
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1665
|
+
Responses echo the active sub-object with `confidenceThreshold` defaulted. A save keeps
|
|
1666
|
+
only the active type's sub-object, so switching `type` on PUT removes the previous
|
|
1667
|
+
type's block. A guardrail last saved before that rule may still return the inactive
|
|
1668
|
+
siblings — empty stubs (`pii: {entities: [], mask: false}`,
|
|
1669
|
+
`moderation: {categories: []}`) or an inert `aiAgent` on a `pii` / `moderation`
|
|
1670
|
+
guardrail; only the active type's sub-object is meaningful.
|
|
1670
1671
|
x-celigo-ai-guidance:
|
|
1671
1672
|
- |-
|
|
1672
1673
|
Pick exactly one type. Prefer the deterministic local classifiers (`pii`, then
|
package/dist/import.yml
CHANGED
|
@@ -641,8 +641,7 @@ paths:
|
|
|
641
641
|
'200':
|
|
642
642
|
description: |-
|
|
643
643
|
Import completed. One result per input record, in input order —
|
|
644
|
-
accepted, failed at the destination, or ignored by the import
|
|
645
|
-
input filter.
|
|
644
|
+
accepted, failed at the destination, or ignored by the import itself.
|
|
646
645
|
content:
|
|
647
646
|
application/json:
|
|
648
647
|
schema:
|
|
@@ -6068,7 +6067,7 @@ components:
|
|
|
6068
6067
|
Set a single value; do not combine types or use the legacy INSERT and UPDATE values.
|
|
6069
6068
|
per_page statements render against the whole batch (`batch_of_records`) rather than a single record — loop with `{{#each batch_of_records}}...{{record.fieldName}}...{{/each}}`, with the same quoting as `query` (double braces for strings, triple for numbers).
|
|
6070
6069
|
|
|
6071
|
-
`bulk_load` — Stages the records as files and loads them with the database's native COPY / bulk mechanism for maximum throughput; supports INSERT, upsert via bulkLoad.primaryKeys, and custom merge or ignore-existing logic via bulkLoad.overrideMergeQuery; available on Snowflake, Google BigQuery, Microsoft SQL Server (cloud connections), Azure Synapse and Amazon Redshift (NetSuite Analytics Warehouse has it through the JDBC import). The import form calls it "Use optimized bulk load (recommended for larger imports)" and, beside it, calls bulk_insert "Use batch insert SQL query".
|
|
6070
|
+
`bulk_load` — Stages the records as files and loads them with the database's native COPY / bulk mechanism for maximum throughput; supports INSERT, upsert via bulkLoad.primaryKeys, and custom merge or ignore-existing logic via bulkLoad.overrideMergeQuery; available on Snowflake, Google BigQuery, Microsoft SQL Server (cloud connections), Azure Synapse and Amazon Redshift (NetSuite Analytics Warehouse has it through the JDBC import). The import form calls it "Use optimized bulk load (recommended for larger imports)" and, beside it, calls bulk_insert "Use batch insert SQL query". A connection that routes through an on-premise agent can't take it: the save is refused with 422 `bulk_load_agent_not_supported`.
|
|
6072
6071
|
`bulk_insert` — Batch INSERT via multi-row VALUES clause for efficient bulk data loading; has no upsert or ignore-existing logic and is available for all RDBMS types.
|
|
6073
6072
|
`per_page` — Executes one SQL statement per page (batch) of records; available for all RDBMS types.
|
|
6074
6073
|
`per_record` — Executes one SQL statement per record, giving full control over individual record SQL; available for all RDBMS types.
|
|
@@ -6088,7 +6087,7 @@ components:
|
|
|
6088
6087
|
- No `primaryKeys` for pure INSERT (auto-generates INSERT)
|
|
6089
6088
|
- No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
|
|
6090
6089
|
- **Amazon Redshift needs no AWS setup for bulk_load**: Celigo stages the files in Celigo-managed encrypted storage and Redshift loads them with COPY — no S3 bucket, IAM role, cluster role attachment or extra connection field. The save is accepted on either `redshift.authType` (accesskey and awsIam) and against a provisioned cluster or a Serverless workgroup alike. Never steer a Redshift import to bulk_insert for lack of setup.
|
|
6091
|
-
- **Azure Synapse lists bulk_load without any flag**: the import form disables the option (and defaults a new import to bulk_insert) while the connection routes through an on-premise agent, authenticates with a database user instead of a service principal (`mssql.authType` other than `azure-service-principal`), or has no ADLS Gen2 staging (`azuresynapse.staging` with `adlsGen2.storageAccount`, `adlsGen2.container` and `folder`). The API
|
|
6090
|
+
- **Azure Synapse lists bulk_load without any flag**: the import form disables the option (and defaults a new import to bulk_insert) while the connection routes through an on-premise agent, authenticates with a database user instead of a service principal (`mssql.authType` other than `azure-service-principal`), or has no ADLS Gen2 staging (`azuresynapse.staging` with `adlsGen2.storageAccount`, `adlsGen2.container` and `folder`). The API refuses a bulk_load import on a connection that routes through an on-premise agent (422 `bulk_load_agent_not_supported` on `rdbms.queryType`, on create and when an update moves the import onto such a connection; Azure Synapse and Microsoft SQL Server, live-verified 2026-11-13). It still saves one on a Synapse connection that authenticates with a database user and has no staging (201), so author it only when the connection meets all three; otherwise the form shows the stored bulk_load disabled with the gap named, and under the authentication gap warns that the import will not run until the connection uses a service principal.
|
|
6092
6091
|
- The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server; Snowflake and Azure Synapse always show it). Amazon Redshift has two gates: its import form gains the option only with the form update that followed the bulk-load release — until that update reaches an account, no flag setting shows it there — and from then on the same flag gates it. The flag is the form's switch, not the API's — a Redshift bulk_load import saves on an account whose flag has no redshift entry (off, to the form) — so author it, and tell the user when the option appears on their import form: once the flag is on for the account, and on Redshift once the updated form has reached it as well. An answer that names only the flag is incomplete for Redshift. A form that does not list the option cannot show a stored bulk_load, and picking any listed query type there switches the import to that type (bulk_insert most often); today's forms keep a stored bulk_load through a plain save, while the updated Redshift form rewrites an unlisted bulk_load to bulk_insert on save — so until the option shows, a change to the import's query type goes through the API or this assistant, not the form.
|
|
6093
6092
|
|
|
6094
6093
|
**STEP 2: Database does NOT support bulk_load**
|
|
@@ -12780,12 +12779,13 @@ components:
|
|
|
12780
12779
|
|
|
12781
12780
|
A `_connectionId` on the parent import is only needed for BYOK
|
|
12782
12781
|
`ai_agent` guardrails. In responses the server echoes the active type's
|
|
12783
|
-
sub-object and applies the `confidenceThreshold` default
|
|
12784
|
-
|
|
12785
|
-
|
|
12786
|
-
|
|
12787
|
-
|
|
12788
|
-
|
|
12782
|
+
sub-object and applies the `confidenceThreshold` default. A save keeps
|
|
12783
|
+
only the active type's sub-object, so switching `type` on PUT removes
|
|
12784
|
+
the previous type's block. A guardrail last saved before that rule may
|
|
12785
|
+
still return inactive siblings (e.g. `moderation: {categories: []}` on
|
|
12786
|
+
a `pii` guardrail, or a server-written `aiAgent` stub on a
|
|
12787
|
+
`pii`/`moderation` guardrail); only the active type's sub-object is
|
|
12788
|
+
meaningful.
|
|
12789
12789
|
x-celigo-ai-guidance:
|
|
12790
12790
|
- |-
|
|
12791
12791
|
Guardrails are safety and compliance checks that can be applied
|
|
@@ -19228,9 +19228,10 @@ components:
|
|
|
19228
19228
|
per record, in input order — shared by `POST /v1/imports/{_id}/invoke`,
|
|
19229
19229
|
the virtual import `POST /v1/connections/{_id}/import` and its
|
|
19230
19230
|
integration-scoped forms. A record the
|
|
19231
|
-
import itself
|
|
19232
|
-
|
|
19233
|
-
parsed response; a record the destination
|
|
19231
|
+
import itself skipped carries `ignored: true`, with the `stage` that
|
|
19232
|
+
dropped it when the platform reports one; a record the destination
|
|
19233
|
+
accepted carries its parsed response; a record the destination
|
|
19234
|
+
rejected — or that the
|
|
19234
19235
|
import's `failPath` / `failValues` rules judged a failure even on a
|
|
19235
19236
|
`2xx` — carries `errors[]`.
|
|
19236
19237
|
properties:
|
|
@@ -19249,9 +19250,10 @@ components:
|
|
|
19249
19250
|
description: |-
|
|
19250
19251
|
The destination's response body for the record, parsed — the slice
|
|
19251
19252
|
under the import's `response.resourcePath` when one is defined — not
|
|
19252
|
-
the record that was sent. `{}` when the
|
|
19253
|
-
destination returned no body; the raw
|
|
19254
|
-
body is not JSON. A failed record
|
|
19253
|
+
the record that was sent. `{}` when the import's input filter
|
|
19254
|
+
ignored the record or the destination returned no body; the raw
|
|
19255
|
+
text, as a string, when the body is not JSON. A failed record
|
|
19256
|
+
carries it too.
|
|
19255
19257
|
oneOf:
|
|
19256
19258
|
- type: object
|
|
19257
19259
|
additionalProperties: true
|
|
@@ -19267,15 +19269,29 @@ components:
|
|
|
19267
19269
|
ignored:
|
|
19268
19270
|
type: boolean
|
|
19269
19271
|
description: |-
|
|
19270
|
-
When true, the import
|
|
19271
|
-
|
|
19272
|
+
When true, the import skipped the record and wrote nothing to the
|
|
19273
|
+
destination. A record its own input filter excluded carries
|
|
19274
|
+
`stage: inputFilter`, and no request was made for it. A NetSuite
|
|
19275
|
+
import with `ignoreExisting` whose lookup finds the record carries
|
|
19276
|
+
no `stage`: the destination was searched, and `id` and `_json.id`
|
|
19277
|
+
hold the internal id of the record the search found.
|
|
19272
19278
|
stage:
|
|
19273
19279
|
type: string
|
|
19274
19280
|
description: |-
|
|
19275
19281
|
The import stage that ignored the record — `inputFilter` when the
|
|
19276
|
-
import's own input filter excluded it. Present only with `ignored
|
|
19282
|
+
import's own input filter excluded it. Present only with `ignored`,
|
|
19283
|
+
and not on every ignored record.
|
|
19277
19284
|
examples:
|
|
19278
19285
|
- inputFilter
|
|
19286
|
+
id:
|
|
19287
|
+
type:
|
|
19288
|
+
- string
|
|
19289
|
+
- integer
|
|
19290
|
+
description: |-
|
|
19291
|
+
Identifier the import reports for the record; many results carry
|
|
19292
|
+
none. On a record a NetSuite import ignored because its
|
|
19293
|
+
`ignoreExisting` lookup found it, this is the internal id of the
|
|
19294
|
+
existing record the lookup found — the same value as `_json.id`.
|
|
19279
19295
|
errors:
|
|
19280
19296
|
type: array
|
|
19281
19297
|
description: |-
|
package/dist/mcp-server.yml
CHANGED
|
@@ -3199,7 +3199,8 @@ components:
|
|
|
3199
3199
|
pattern: ^[A-Za-z0-9_\-.]+$
|
|
3200
3200
|
description: |-
|
|
3201
3201
|
MCP tool name exposed to clients. Must be unique across all tools
|
|
3202
|
-
and APIs within this server.
|
|
3202
|
+
and APIs within this server. Duplicate names return 422
|
|
3203
|
+
`mcp_server_duplicate_item_name`.
|
|
3203
3204
|
x-celigo-ai-guidance:
|
|
3204
3205
|
- |-
|
|
3205
3206
|
Must be unique across all tools and APIs within this MCP server.
|
|
@@ -3253,7 +3254,8 @@ components:
|
|
|
3253
3254
|
pattern: ^[A-Za-z0-9_\-.]+$
|
|
3254
3255
|
description: |-
|
|
3255
3256
|
MCP tool name exposed to clients. Must be unique across all tools
|
|
3256
|
-
and APIs within this server.
|
|
3257
|
+
and APIs within this server. Duplicate names return 422
|
|
3258
|
+
`mcp_server_duplicate_item_name`.
|
|
3257
3259
|
x-celigo-ai-guidance:
|
|
3258
3260
|
- |-
|
|
3259
3261
|
Must be unique across all tools and APIs within this MCP server.
|
|
@@ -5781,12 +5783,23 @@ components:
|
|
|
5781
5783
|
Authentication method for the NetSuite connection. token-auto delegates the token
|
|
5782
5784
|
lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
|
|
5783
5785
|
uses a certificate-signed client credentials grant that NetSuite must authorize.
|
|
5786
|
+
An oauth connection runs RESTlet-based exports and imports only. One that reads or
|
|
5787
|
+
writes through SuiteTalk (SOAP), such as a saved-search or file export or a SuiteTalk
|
|
5788
|
+
record import, still saves on it, and is refused when it is previewed or invoked with
|
|
5789
|
+
400 `netsuite_oauth2_soap_not_supported`. Until NetSuite has authorized the connection,
|
|
5790
|
+
a RESTlet export preview and the connection test answer
|
|
5791
|
+
`netsuite_oauth2_reconnect_required`.
|
|
5784
5792
|
x-celigo-ai-guidance:
|
|
5785
5793
|
- |-
|
|
5786
5794
|
Default to "token-auto" for new connections, including placeholders (only the account id is needed).
|
|
5787
5795
|
Use "token" when the user supplies their own tokenId/tokenSecret. Do not create "basic" connections:
|
|
5788
5796
|
the API rejects them with 422 "netsuite_wsdl_tba_mandatory" because the available WSDL versions
|
|
5789
5797
|
require Token-Based Authentication.
|
|
5798
|
+
- |-
|
|
5799
|
+
Don't attach a SuiteTalk (SOAP) step to an "oauth" connection: a saved-search or file export
|
|
5800
|
+
(netsuite.type "search" or "file") saves with 201 but its preview fails with 400
|
|
5801
|
+
"netsuite_oauth2_soap_not_supported". Build the step as a RESTlet export or import, or use a
|
|
5802
|
+
"token" or "token-auto" connection.
|
|
5790
5803
|
x-lowercase: true
|
|
5791
5804
|
account:
|
|
5792
5805
|
type: string
|
package/dist/tool.yml
CHANGED
|
@@ -8125,12 +8125,23 @@ components:
|
|
|
8125
8125
|
Authentication method for the NetSuite connection. token-auto delegates the token
|
|
8126
8126
|
lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
|
|
8127
8127
|
uses a certificate-signed client credentials grant that NetSuite must authorize.
|
|
8128
|
+
An oauth connection runs RESTlet-based exports and imports only. One that reads or
|
|
8129
|
+
writes through SuiteTalk (SOAP), such as a saved-search or file export or a SuiteTalk
|
|
8130
|
+
record import, still saves on it, and is refused when it is previewed or invoked with
|
|
8131
|
+
400 `netsuite_oauth2_soap_not_supported`. Until NetSuite has authorized the connection,
|
|
8132
|
+
a RESTlet export preview and the connection test answer
|
|
8133
|
+
`netsuite_oauth2_reconnect_required`.
|
|
8128
8134
|
x-celigo-ai-guidance:
|
|
8129
8135
|
- |-
|
|
8130
8136
|
Default to "token-auto" for new connections, including placeholders (only the account id is needed).
|
|
8131
8137
|
Use "token" when the user supplies their own tokenId/tokenSecret. Do not create "basic" connections:
|
|
8132
8138
|
the API rejects them with 422 "netsuite_wsdl_tba_mandatory" because the available WSDL versions
|
|
8133
8139
|
require Token-Based Authentication.
|
|
8140
|
+
- |-
|
|
8141
|
+
Don't attach a SuiteTalk (SOAP) step to an "oauth" connection: a saved-search or file export
|
|
8142
|
+
(netsuite.type "search" or "file") saves with 201 but its preview fails with 400
|
|
8143
|
+
"netsuite_oauth2_soap_not_supported". Build the step as a RESTlet export or import, or use a
|
|
8144
|
+
"token" or "token-auto" connection.
|
|
8134
8145
|
x-lowercase: true
|
|
8135
8146
|
account:
|
|
8136
8147
|
type: string
|
|
@@ -18375,7 +18386,7 @@ components:
|
|
|
18375
18386
|
Set a single value; do not combine types or use the legacy INSERT and UPDATE values.
|
|
18376
18387
|
per_page statements render against the whole batch (`batch_of_records`) rather than a single record — loop with `{{#each batch_of_records}}...{{record.fieldName}}...{{/each}}`, with the same quoting as `query` (double braces for strings, triple for numbers).
|
|
18377
18388
|
|
|
18378
|
-
`bulk_load` — Stages the records as files and loads them with the database's native COPY / bulk mechanism for maximum throughput; supports INSERT, upsert via bulkLoad.primaryKeys, and custom merge or ignore-existing logic via bulkLoad.overrideMergeQuery; available on Snowflake, Google BigQuery, Microsoft SQL Server (cloud connections), Azure Synapse and Amazon Redshift (NetSuite Analytics Warehouse has it through the JDBC import). The import form calls it "Use optimized bulk load (recommended for larger imports)" and, beside it, calls bulk_insert "Use batch insert SQL query".
|
|
18389
|
+
`bulk_load` — Stages the records as files and loads them with the database's native COPY / bulk mechanism for maximum throughput; supports INSERT, upsert via bulkLoad.primaryKeys, and custom merge or ignore-existing logic via bulkLoad.overrideMergeQuery; available on Snowflake, Google BigQuery, Microsoft SQL Server (cloud connections), Azure Synapse and Amazon Redshift (NetSuite Analytics Warehouse has it through the JDBC import). The import form calls it "Use optimized bulk load (recommended for larger imports)" and, beside it, calls bulk_insert "Use batch insert SQL query". A connection that routes through an on-premise agent can't take it: the save is refused with 422 `bulk_load_agent_not_supported`.
|
|
18379
18390
|
`bulk_insert` — Batch INSERT via multi-row VALUES clause for efficient bulk data loading; has no upsert or ignore-existing logic and is available for all RDBMS types.
|
|
18380
18391
|
`per_page` — Executes one SQL statement per page (batch) of records; available for all RDBMS types.
|
|
18381
18392
|
`per_record` — Executes one SQL statement per record, giving full control over individual record SQL; available for all RDBMS types.
|
|
@@ -18395,7 +18406,7 @@ components:
|
|
|
18395
18406
|
- No `primaryKeys` for pure INSERT (auto-generates INSERT)
|
|
18396
18407
|
- No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
|
|
18397
18408
|
- **Amazon Redshift needs no AWS setup for bulk_load**: Celigo stages the files in Celigo-managed encrypted storage and Redshift loads them with COPY — no S3 bucket, IAM role, cluster role attachment or extra connection field. The save is accepted on either `redshift.authType` (accesskey and awsIam) and against a provisioned cluster or a Serverless workgroup alike. Never steer a Redshift import to bulk_insert for lack of setup.
|
|
18398
|
-
- **Azure Synapse lists bulk_load without any flag**: the import form disables the option (and defaults a new import to bulk_insert) while the connection routes through an on-premise agent, authenticates with a database user instead of a service principal (`mssql.authType` other than `azure-service-principal`), or has no ADLS Gen2 staging (`azuresynapse.staging` with `adlsGen2.storageAccount`, `adlsGen2.container` and `folder`). The API
|
|
18409
|
+
- **Azure Synapse lists bulk_load without any flag**: the import form disables the option (and defaults a new import to bulk_insert) while the connection routes through an on-premise agent, authenticates with a database user instead of a service principal (`mssql.authType` other than `azure-service-principal`), or has no ADLS Gen2 staging (`azuresynapse.staging` with `adlsGen2.storageAccount`, `adlsGen2.container` and `folder`). The API refuses a bulk_load import on a connection that routes through an on-premise agent (422 `bulk_load_agent_not_supported` on `rdbms.queryType`, on create and when an update moves the import onto such a connection; Azure Synapse and Microsoft SQL Server, live-verified 2026-11-13). It still saves one on a Synapse connection that authenticates with a database user and has no staging (201), so author it only when the connection meets all three; otherwise the form shows the stored bulk_load disabled with the gap named, and under the authentication gap warns that the import will not run until the connection uses a service principal.
|
|
18399
18410
|
- The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server; Snowflake and Azure Synapse always show it). Amazon Redshift has two gates: its import form gains the option only with the form update that followed the bulk-load release — until that update reaches an account, no flag setting shows it there — and from then on the same flag gates it. The flag is the form's switch, not the API's — a Redshift bulk_load import saves on an account whose flag has no redshift entry (off, to the form) — so author it, and tell the user when the option appears on their import form: once the flag is on for the account, and on Redshift once the updated form has reached it as well. An answer that names only the flag is incomplete for Redshift. A form that does not list the option cannot show a stored bulk_load, and picking any listed query type there switches the import to that type (bulk_insert most often); today's forms keep a stored bulk_load through a plain save, while the updated Redshift form rewrites an unlisted bulk_load to bulk_insert on save — so until the option shows, a change to the import's query type goes through the API or this assistant, not the form.
|
|
18400
18411
|
|
|
18401
18412
|
**STEP 2: Database does NOT support bulk_load**
|
|
@@ -25087,12 +25098,13 @@ components:
|
|
|
25087
25098
|
|
|
25088
25099
|
A `_connectionId` on the parent import is only needed for BYOK
|
|
25089
25100
|
`ai_agent` guardrails. In responses the server echoes the active type's
|
|
25090
|
-
sub-object and applies the `confidenceThreshold` default
|
|
25091
|
-
|
|
25092
|
-
|
|
25093
|
-
|
|
25094
|
-
|
|
25095
|
-
|
|
25101
|
+
sub-object and applies the `confidenceThreshold` default. A save keeps
|
|
25102
|
+
only the active type's sub-object, so switching `type` on PUT removes
|
|
25103
|
+
the previous type's block. A guardrail last saved before that rule may
|
|
25104
|
+
still return inactive siblings (e.g. `moderation: {categories: []}` on
|
|
25105
|
+
a `pii` guardrail, or a server-written `aiAgent` stub on a
|
|
25106
|
+
`pii`/`moderation` guardrail); only the active type's sub-object is
|
|
25107
|
+
meaningful.
|
|
25096
25108
|
x-celigo-ai-guidance:
|
|
25097
25109
|
- |-
|
|
25098
25110
|
Guardrails are safety and compliance checks that can be applied
|
|
@@ -39922,12 +39934,13 @@ components:
|
|
|
39922
39934
|
|
|
39923
39935
|
**Usage**
|
|
39924
39936
|
|
|
39925
|
-
|
|
39926
|
-
|
|
39927
|
-
|
|
39928
|
-
lookup
|
|
39929
|
-
|
|
39930
|
-
|
|
39937
|
+
integrator.io substitutes this mock output for the export's live response, instead of
|
|
39938
|
+
calling the source, in a test run of the flow, API or Tool that holds the export, and in a
|
|
39939
|
+
page-processor preview (`previewPageProcessor`) for the flow's source export and for a
|
|
39940
|
+
lookup upstream of the previewed step. That preview carries only the first record of a
|
|
39941
|
+
source export's mock. A target lookup in the preview runs its live query, invoking the
|
|
39942
|
+
export (`POST /v1/exports/{_id}/invoke`) reads the source, and real runs ignore the mock.
|
|
39943
|
+
This allows you to:
|
|
39931
39944
|
- Test mappings with representative data
|
|
39932
39945
|
- Configure downstream flow steps without waiting for real data
|
|
39933
39946
|
- Simulate various data scenarios
|
|
@@ -39965,9 +39978,14 @@ components:
|
|
|
39965
39978
|
what a lookup returns, apply the transform first; a results mapping authored against
|
|
39966
39979
|
the stored shape walks paths that do not exist at runtime.
|
|
39967
39980
|
- |-
|
|
39968
|
-
A saved mockOutput is read in
|
|
39969
|
-
|
|
39970
|
-
|
|
39981
|
+
A saved mockOutput is read in a test run (flow, API or Tool) and in a page-processor
|
|
39982
|
+
preview, there for the flow's source export and for a lookup upstream of the previewed
|
|
39983
|
+
step. A target lookup's preview, `POST /v1/exports/{_id}/invoke` and every real run call
|
|
39984
|
+
the source and never read it.
|
|
39985
|
+
- |-
|
|
39986
|
+
A page-processor preview follows only the first record of a source export's mockOutput,
|
|
39987
|
+
while a test run takes the whole page. On an export with an output `filter`, put a record
|
|
39988
|
+
the filter keeps first, so a preview of a later step has a record to follow.
|
|
39971
39989
|
properties:
|
|
39972
39990
|
page_of_records:
|
|
39973
39991
|
type: array
|
package/package.json
CHANGED