@celigo/api-specs 0.2.15 → 0.2.17
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/connection.yml +196 -0
- package/dist/export.yml +17 -6
- package/dist/flow.yml +10 -2
- package/dist/import.yml +3 -1
- package/dist/job.yml +27 -5
- package/dist/template.yml +5 -0
- package/dist/tool.yml +20 -7
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/connection.yml
CHANGED
|
@@ -1003,6 +1003,202 @@ paths:
|
|
|
1003
1003
|
- Test network connectivity
|
|
1004
1004
|
- Verify permissions for basic operations
|
|
1005
1005
|
- Return connection status and any error details
|
|
1006
|
+
/v1/connections/{_id}/proxy:
|
|
1007
|
+
post:
|
|
1008
|
+
x-internal: false
|
|
1009
|
+
summary: Send a request through a connection (proxy)
|
|
1010
|
+
description: |-
|
|
1011
|
+
Sends one HTTP request to the system behind a saved connection, using that connection's
|
|
1012
|
+
base URI and stored authentication, and returns the target's response as-is. Use it to call
|
|
1013
|
+
an endpoint the connection's exports and imports do not expose — a metadata or describe call,
|
|
1014
|
+
an ad-hoc read, a one-off write — without copying credentials out of integrator.io.
|
|
1015
|
+
|
|
1016
|
+
The proxy call is always `POST`; the request to the target is shaped by headers:
|
|
1017
|
+
|
|
1018
|
+
- `Integrator-Method` (required) is the HTTP method used against the target. One of `HEAD`,
|
|
1019
|
+
`GET`, `PUT`, `PATCH`, `POST`, `DELETE`; any other value is rejected with
|
|
1020
|
+
`405 method_not_allowed`, and omitting the header returns `400 missing_header`.
|
|
1021
|
+
- `Integrator-Relative-URI` (optional) is appended to the connection's base URI, query string
|
|
1022
|
+
included. Omitted, the request goes to the base URI itself.
|
|
1023
|
+
- The proxy request body is forwarded to the target as its body. Send an empty JSON object
|
|
1024
|
+
when the target expects no body.
|
|
1025
|
+
|
|
1026
|
+
Only these headers are read. Any other header on the proxy request — a custom
|
|
1027
|
+
`X-Correlation-Id`, an `Authorization` meant for the target — is dropped, not forwarded; the
|
|
1028
|
+
target receives the connection's authentication plus the standard request headers
|
|
1029
|
+
(`Accept`, `Content-Type`, `Content-Length`).
|
|
1030
|
+
|
|
1031
|
+
The response is the target's response: its status code, body, and headers come back
|
|
1032
|
+
unchanged, so a `404` or `422` here is the target's answer, not the proxy's. Non-JSON bodies
|
|
1033
|
+
(XML, text) pass through with their own `Content-Type`. Only two statuses are the proxy's
|
|
1034
|
+
own: `400 missing_header` and `404 invalid_ref` when `_id` is not a connection in the account.
|
|
1035
|
+
|
|
1036
|
+
NetSuite connections route to a RESTlet instead of a relative URI: send
|
|
1037
|
+
`Integrator-NetSuite-ScriptId` and `Integrator-NetSuite-DeployId` with the script and
|
|
1038
|
+
deployment ids of the RESTlet to call. See
|
|
1039
|
+
[Connect to custom NetSuite RESTlets](https://docs.celigo.com/hc/en-us/articles/360059639272-Connect-to-custom-NetSuite-RESTlets)
|
|
1040
|
+
and
|
|
1041
|
+
[Connect to Salesforce REST relative URIs via proxy](https://docs.celigo.com/hc/en-us/articles/19906581226779-Connect-to-Salesforce-REST-relative-URIs-via-proxy)
|
|
1042
|
+
for the flow-step form of the same call (an integrator.io export or import whose relative URI
|
|
1043
|
+
is this path).
|
|
1044
|
+
operationId: proxyConnectionRequest
|
|
1045
|
+
tags:
|
|
1046
|
+
- Connections
|
|
1047
|
+
parameters:
|
|
1048
|
+
- in: path
|
|
1049
|
+
name: _id
|
|
1050
|
+
required: true
|
|
1051
|
+
schema:
|
|
1052
|
+
type: string
|
|
1053
|
+
format: objectId
|
|
1054
|
+
x-celigo-refModel: connections
|
|
1055
|
+
description: Connection whose base URI and authentication the request is sent with.
|
|
1056
|
+
- in: header
|
|
1057
|
+
name: Integrator-Method
|
|
1058
|
+
required: true
|
|
1059
|
+
description: HTTP method to use against the target. Header names are case-insensitive.
|
|
1060
|
+
schema:
|
|
1061
|
+
type: string
|
|
1062
|
+
enum:
|
|
1063
|
+
- HEAD
|
|
1064
|
+
- GET
|
|
1065
|
+
- PUT
|
|
1066
|
+
- PATCH
|
|
1067
|
+
- POST
|
|
1068
|
+
- DELETE
|
|
1069
|
+
x-enumDescriptions:
|
|
1070
|
+
HEAD: Headers only; the body returned to the caller is empty.
|
|
1071
|
+
GET: Read from the target.
|
|
1072
|
+
PUT: Replace a target resource with the forwarded body.
|
|
1073
|
+
PATCH: Partially update a target resource with the forwarded body.
|
|
1074
|
+
POST: Create or invoke on the target with the forwarded body.
|
|
1075
|
+
DELETE: Delete a target resource.
|
|
1076
|
+
examples:
|
|
1077
|
+
- GET
|
|
1078
|
+
- in: header
|
|
1079
|
+
name: Integrator-Relative-URI
|
|
1080
|
+
required: false
|
|
1081
|
+
description: |-
|
|
1082
|
+
Path and query string appended to the connection's base URI, for example
|
|
1083
|
+
`/v1/flows?limit=1`. Omit to send the request to the base URI. Not used by NetSuite
|
|
1084
|
+
connections, which route by RESTlet script and deployment id instead.
|
|
1085
|
+
schema:
|
|
1086
|
+
type: string
|
|
1087
|
+
examples:
|
|
1088
|
+
- /services/data/v58.0/sobjects/account/describe
|
|
1089
|
+
- in: header
|
|
1090
|
+
name: Integrator-NetSuite-ScriptId
|
|
1091
|
+
required: false
|
|
1092
|
+
description: |-
|
|
1093
|
+
NetSuite connections only — the script id of the RESTlet to call
|
|
1094
|
+
(`customscript_…`). Send together with `Integrator-NetSuite-DeployId`.
|
|
1095
|
+
schema:
|
|
1096
|
+
type: string
|
|
1097
|
+
examples:
|
|
1098
|
+
- customscript_celigo_myrestlet
|
|
1099
|
+
- in: header
|
|
1100
|
+
name: Integrator-NetSuite-DeployId
|
|
1101
|
+
required: false
|
|
1102
|
+
description: |-
|
|
1103
|
+
NetSuite connections only — the deployment id of the RESTlet to call
|
|
1104
|
+
(`customdeploy_…`). Send together with `Integrator-NetSuite-ScriptId`.
|
|
1105
|
+
schema:
|
|
1106
|
+
type: string
|
|
1107
|
+
examples:
|
|
1108
|
+
- customdeploy_celigo_myrestlet
|
|
1109
|
+
requestBody:
|
|
1110
|
+
required: true
|
|
1111
|
+
content:
|
|
1112
|
+
application/json:
|
|
1113
|
+
schema:
|
|
1114
|
+
type: object
|
|
1115
|
+
description: |-
|
|
1116
|
+
Forwarded to the target as the request body. Send `{}` when the target method takes
|
|
1117
|
+
no body (`GET`, `HEAD`, `DELETE`).
|
|
1118
|
+
additionalProperties: true
|
|
1119
|
+
examples:
|
|
1120
|
+
read:
|
|
1121
|
+
summary: GET through an HTTP connection — no body
|
|
1122
|
+
value: {}
|
|
1123
|
+
write:
|
|
1124
|
+
summary: POST a record to the target
|
|
1125
|
+
value:
|
|
1126
|
+
name: Acme Corp
|
|
1127
|
+
status: active
|
|
1128
|
+
responses:
|
|
1129
|
+
'200':
|
|
1130
|
+
description: |-
|
|
1131
|
+
The target's response, passed through. The status is whatever the target returned —
|
|
1132
|
+
a `2xx` here, or the target's own `4xx`/`5xx` — with its body and headers unchanged.
|
|
1133
|
+
content:
|
|
1134
|
+
application/json:
|
|
1135
|
+
schema:
|
|
1136
|
+
description: The target's response body, as returned by the target.
|
|
1137
|
+
examples:
|
|
1138
|
+
list:
|
|
1139
|
+
summary: Target returned a JSON array
|
|
1140
|
+
value:
|
|
1141
|
+
- _id: 69f4b2cb95ec28be9ca1a88d
|
|
1142
|
+
name: Shopify orders
|
|
1143
|
+
application/xml:
|
|
1144
|
+
schema:
|
|
1145
|
+
type: string
|
|
1146
|
+
description: Non-JSON target bodies pass through with the target's `Content-Type`.
|
|
1147
|
+
'400':
|
|
1148
|
+
description: '`missing_header` — `Integrator-Method` was not sent.'
|
|
1149
|
+
content:
|
|
1150
|
+
application/json:
|
|
1151
|
+
schema:
|
|
1152
|
+
$ref: '#/components/schemas/Error'
|
|
1153
|
+
examples:
|
|
1154
|
+
missingMethod:
|
|
1155
|
+
value:
|
|
1156
|
+
errors:
|
|
1157
|
+
- code: missing_header
|
|
1158
|
+
message: Integrator-Method header missing in the Request
|
|
1159
|
+
source: resource
|
|
1160
|
+
'401':
|
|
1161
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
1162
|
+
'404':
|
|
1163
|
+
description: |-
|
|
1164
|
+
`invalid_ref` — `_id` is not a connection in this account. A `404` with any other body
|
|
1165
|
+
is the target's response to the forwarded request.
|
|
1166
|
+
content:
|
|
1167
|
+
application/json:
|
|
1168
|
+
schema:
|
|
1169
|
+
$ref: '#/components/schemas/Error'
|
|
1170
|
+
examples:
|
|
1171
|
+
unknownConnection:
|
|
1172
|
+
value:
|
|
1173
|
+
errors:
|
|
1174
|
+
- code: invalid_ref
|
|
1175
|
+
message: Connection not found for the given id.
|
|
1176
|
+
'405':
|
|
1177
|
+
description: '`method_not_allowed` — `Integrator-Method` is not one of the allowed values.'
|
|
1178
|
+
content:
|
|
1179
|
+
application/json:
|
|
1180
|
+
schema:
|
|
1181
|
+
$ref: '#/components/schemas/Error'
|
|
1182
|
+
examples:
|
|
1183
|
+
badMethod:
|
|
1184
|
+
value:
|
|
1185
|
+
errors:
|
|
1186
|
+
- code: method_not_allowed
|
|
1187
|
+
message: HTTP Method 'FETCH' not allowed. Allowed methods are HEAD, GET, PUT, PATCH, POST, DELETE
|
|
1188
|
+
source: resource
|
|
1189
|
+
default:
|
|
1190
|
+
description: |-
|
|
1191
|
+
Any other status is the target's response to the forwarded request, returned unchanged
|
|
1192
|
+
with its body and headers.
|
|
1193
|
+
x-celigo-ai-guidance:
|
|
1194
|
+
- |-
|
|
1195
|
+
Custom headers are not forwarded to the target: only Integrator-Method,
|
|
1196
|
+
Integrator-Relative-URI, and the NetSuite RESTlet id headers are read, and the target
|
|
1197
|
+
receives the connection's own authentication. If the target needs a header the connection
|
|
1198
|
+
does not send, the proxy cannot supply it.
|
|
1199
|
+
- |-
|
|
1200
|
+
Read the status as the target's, not the proxy's: a 422 or 404 with a non-invalid_ref
|
|
1201
|
+
body is the downstream system's validation result for the forwarded request.
|
|
1006
1202
|
/v1/connections/{_id}/debug:
|
|
1007
1203
|
get:
|
|
1008
1204
|
x-internal: false
|
package/dist/export.yml
CHANGED
|
@@ -10298,8 +10298,11 @@ components:
|
|
|
10298
10298
|
batchSize:
|
|
10299
10299
|
type: number
|
|
10300
10300
|
description: |-
|
|
10301
|
-
Number of records the RESTlet returns per
|
|
10302
|
-
|
|
10301
|
+
Number of records the RESTlet returns per request (default 1000). This, not the
|
|
10302
|
+
export's `pageSize`, sizes each NetSuite call; the export keeps requesting until the
|
|
10303
|
+
search is exhausted. Larger batches reduce round-trips but raise NetSuite governance
|
|
10304
|
+
and memory use per call; tune to the record's size. In a test run or preview the
|
|
10305
|
+
request is capped at the export's `pageSize` (default 20) instead.
|
|
10303
10306
|
examples:
|
|
10304
10307
|
- 100
|
|
10305
10308
|
- 200
|
|
@@ -15886,9 +15889,13 @@ components:
|
|
|
15886
15889
|
- integer
|
|
15887
15890
|
- 'null'
|
|
15888
15891
|
description: |-
|
|
15889
|
-
Number of records per page streamed to downstream flow steps
|
|
15890
|
-
capped at 5 MB regardless of record count, so
|
|
15891
|
-
pages. The server does not validate the value.
|
|
15892
|
+
Number of records per page streamed to downstream flow steps when the export is the
|
|
15893
|
+
flow's source step. Pages are additionally capped at 5 MB regardless of record count, so
|
|
15894
|
+
very large records may produce smaller pages. The server does not validate the value.
|
|
15895
|
+
A lookup (`isLookup: true`) runs to completion and hands every result to the incoming
|
|
15896
|
+
record as one response, capped at 5 MB in total, so the value does not change how many
|
|
15897
|
+
results a lookup returns; a result set larger than that belongs in a standalone export
|
|
15898
|
+
step. In a test run or preview the value also caps the records fetched (default 20).
|
|
15892
15899
|
default: 20
|
|
15893
15900
|
examples:
|
|
15894
15901
|
- 100
|
|
@@ -15943,7 +15950,11 @@ components:
|
|
|
15943
15950
|
description: |-
|
|
15944
15951
|
When true, the export runs as a mid-flow lookup: it executes once per incoming record,
|
|
15945
15952
|
using the input record's fields to parameterize the request, and passes the results to
|
|
15946
|
-
subsequent steps. When false, the export runs as a standalone data source.
|
|
15953
|
+
subsequent steps. When false, the export runs as a standalone data source. A lookup's
|
|
15954
|
+
results are not paged through the flow: every page the adaptor fetches is merged into one
|
|
15955
|
+
response for the record, up to 5 MB, so `pageSize` does not limit or extend what a lookup
|
|
15956
|
+
returns. A lookup that must return more than that is better modeled as a standalone
|
|
15957
|
+
export step.
|
|
15947
15958
|
examples:
|
|
15948
15959
|
- true
|
|
15949
15960
|
- false
|
package/dist/flow.yml
CHANGED
|
@@ -6737,6 +6737,7 @@ components:
|
|
|
6737
6737
|
description: |
|
|
6738
6738
|
Total number of errors produced by the job (including resolved ones).
|
|
6739
6739
|
Use `numOpenError` for the count of currently unresolved errors.
|
|
6740
|
+
On a parent flow job this is the sum across every step; on a child job it is that step's count.
|
|
6740
6741
|
examples:
|
|
6741
6742
|
- 10
|
|
6742
6743
|
numOpenError:
|
|
@@ -6762,13 +6763,20 @@ components:
|
|
|
6762
6763
|
numSuccess:
|
|
6763
6764
|
type: integer
|
|
6764
6765
|
readOnly: true
|
|
6765
|
-
description:
|
|
6766
|
+
description: |-
|
|
6767
|
+
Number of records processed successfully. On a parent flow job (`type: flow`) this is the
|
|
6768
|
+
sum across every step in the run, so one record that passes through an export and an import
|
|
6769
|
+
counts twice. On a child job (`type: export` or `import`) it is that step's count alone.
|
|
6770
|
+
For per-step counts, read the run with `GET /v1/jobs/{_id}/family` or list its children with
|
|
6771
|
+
`GET /v1/jobs?_flowJobId={_id}&type=import`.
|
|
6766
6772
|
examples:
|
|
6767
6773
|
- 10
|
|
6768
6774
|
numIgnore:
|
|
6769
6775
|
type: integer
|
|
6770
6776
|
readOnly: true
|
|
6771
|
-
description:
|
|
6777
|
+
description: |-
|
|
6778
|
+
Number of records skipped, for example by an import's ignore-existing or ignore-missing rule.
|
|
6779
|
+
Summed across steps on a parent flow job; per step on a child job.
|
|
6772
6780
|
examples:
|
|
6773
6781
|
- 0
|
|
6774
6782
|
numExport:
|
package/dist/import.yml
CHANGED
|
@@ -1918,7 +1918,9 @@ components:
|
|
|
1918
1918
|
description: |-
|
|
1919
1919
|
Request body template for the import — an array of Handlebars template strings
|
|
1920
1920
|
positionally aligned with the `method` array (e.g. `["{{{record}}}"]`). A `null`
|
|
1921
|
-
entry means no template for the method at that position.
|
|
1921
|
+
entry means no template for the method at that position. Each entry is a string:
|
|
1922
|
+
write a JSON body as a template string (`["{\"id\": \"{{record.id}}\"}"]`), not as
|
|
1923
|
+
a JSON object, because an object entry does not render as JSON at runtime.
|
|
1922
1924
|
Leave undefined for standard imports — the Import's mapping step transforms the source record and the mapped data is sent as the request body automatically.
|
|
1923
1925
|
Set it only when the target API requires XML, SOAP, or a custom structure that mappings cannot produce, or when the user explicitly specifies a request body.
|
|
1924
1926
|
When set, the mapping step still runs first and the template renders against the post-mapped record — use `{{record.<mappedField>}}` to reference mapping outputs.
|
package/dist/job.yml
CHANGED
|
@@ -333,7 +333,9 @@ paths:
|
|
|
333
333
|
`canceled`, `retried`) are not returned; use `POST /v1/flows/runs/stats` for run history.
|
|
334
334
|
|
|
335
335
|
The request body contains all filters -- there are no query-string parameters. Narrow to a specific flow or
|
|
336
|
-
integration with `_flowIds` / `_integrationIds` (AND-combined).
|
|
336
|
+
integration with `_flowIds` / `_integrationIds` (AND-combined). The time bounds `time_gt` and `time_lte`
|
|
337
|
+
are accepted but do not narrow this list; to find long-running jobs, compare each job's `createdAt` or
|
|
338
|
+
`startedAt` on the client.
|
|
337
339
|
requestBody:
|
|
338
340
|
required: true
|
|
339
341
|
content:
|
|
@@ -387,6 +389,11 @@ paths:
|
|
|
387
389
|
The request body supports filtering by integration, flow, status, and
|
|
388
390
|
application. The platform requires ``sandbox`` in the body; Ora is
|
|
389
391
|
production-only so it always sends ``false``.
|
|
392
|
+
- |-
|
|
393
|
+
time_gt and time_lte are accepted but do not narrow this endpoint: a time_lte a week
|
|
394
|
+
in the past still returns jobs created seconds ago. To find jobs stuck for longer than
|
|
395
|
+
a threshold, compare each job's createdAt or startedAt yourself, and never describe the
|
|
396
|
+
result as bounded by a time filter you sent.
|
|
390
397
|
/v1/flows/runs/stats:
|
|
391
398
|
post:
|
|
392
399
|
x-internal: false
|
|
@@ -1457,6 +1464,7 @@ components:
|
|
|
1457
1464
|
description: |
|
|
1458
1465
|
Total number of errors produced by the job (including resolved ones).
|
|
1459
1466
|
Use `numOpenError` for the count of currently unresolved errors.
|
|
1467
|
+
On a parent flow job this is the sum across every step; on a child job it is that step's count.
|
|
1460
1468
|
examples:
|
|
1461
1469
|
- 10
|
|
1462
1470
|
numOpenError:
|
|
@@ -1482,13 +1490,20 @@ components:
|
|
|
1482
1490
|
numSuccess:
|
|
1483
1491
|
type: integer
|
|
1484
1492
|
readOnly: true
|
|
1485
|
-
description:
|
|
1493
|
+
description: |-
|
|
1494
|
+
Number of records processed successfully. On a parent flow job (`type: flow`) this is the
|
|
1495
|
+
sum across every step in the run, so one record that passes through an export and an import
|
|
1496
|
+
counts twice. On a child job (`type: export` or `import`) it is that step's count alone.
|
|
1497
|
+
For per-step counts, read the run with `GET /v1/jobs/{_id}/family` or list its children with
|
|
1498
|
+
`GET /v1/jobs?_flowJobId={_id}&type=import`.
|
|
1486
1499
|
examples:
|
|
1487
1500
|
- 10
|
|
1488
1501
|
numIgnore:
|
|
1489
1502
|
type: integer
|
|
1490
1503
|
readOnly: true
|
|
1491
|
-
description:
|
|
1504
|
+
description: |-
|
|
1505
|
+
Number of records skipped, for example by an import's ignore-existing or ignore-missing rule.
|
|
1506
|
+
Summed across steps on a parent flow job; per step on a child job.
|
|
1492
1507
|
examples:
|
|
1493
1508
|
- 0
|
|
1494
1509
|
numExport:
|
|
@@ -1649,13 +1664,20 @@ components:
|
|
|
1649
1664
|
time_gt:
|
|
1650
1665
|
type: integer
|
|
1651
1666
|
format: int64
|
|
1652
|
-
description:
|
|
1667
|
+
description: |-
|
|
1668
|
+
Start of the time window, in epoch milliseconds (exclusive). `POST /v1/flows/runs/stats`
|
|
1669
|
+
aggregates only runs inside the window. `POST /v1/jobs/current` accepts the field but does
|
|
1670
|
+
not apply it: in-progress jobs are returned regardless of when they were created.
|
|
1653
1671
|
examples:
|
|
1654
1672
|
- 1745366400000
|
|
1655
1673
|
time_lte:
|
|
1656
1674
|
type: integer
|
|
1657
1675
|
format: int64
|
|
1658
|
-
description:
|
|
1676
|
+
description: |-
|
|
1677
|
+
End of the time window, in epoch milliseconds (inclusive). `POST /v1/flows/runs/stats`
|
|
1678
|
+
aggregates only runs inside the window. `POST /v1/jobs/current` accepts the field but does
|
|
1679
|
+
not apply it. To find jobs that have been queued or running longer than a threshold, compare
|
|
1680
|
+
each returned job's `createdAt` (queued) or `startedAt` (running) on the client.
|
|
1659
1681
|
examples:
|
|
1660
1682
|
- 1746147600000
|
|
1661
1683
|
required: []
|
package/dist/template.yml
CHANGED
|
@@ -507,6 +507,11 @@ paths:
|
|
|
507
507
|
Installs a template from a previously uploaded zip file. The `runKey`
|
|
508
508
|
in the request body ties this request to the zip upload (obtained from
|
|
509
509
|
`GET /v1/s3SignedURL`).
|
|
510
|
+
|
|
511
|
+
The zip carries connection definitions without credentials, and the
|
|
512
|
+
installed integration receives new connection `_id`s. Configure each
|
|
513
|
+
connection in the new integration before running its flows; connection
|
|
514
|
+
`_id`s that existed only in the zip are not preserved.
|
|
510
515
|
requestBody:
|
|
511
516
|
required: true
|
|
512
517
|
content:
|
package/dist/tool.yml
CHANGED
|
@@ -10529,7 +10529,9 @@ components:
|
|
|
10529
10529
|
description: |-
|
|
10530
10530
|
Request body template for the import — an array of Handlebars template strings
|
|
10531
10531
|
positionally aligned with the `method` array (e.g. `["{{{record}}}"]`). A `null`
|
|
10532
|
-
entry means no template for the method at that position.
|
|
10532
|
+
entry means no template for the method at that position. Each entry is a string:
|
|
10533
|
+
write a JSON body as a template string (`["{\"id\": \"{{record.id}}\"}"]`), not as
|
|
10534
|
+
a JSON object, because an object entry does not render as JSON at runtime.
|
|
10533
10535
|
Leave undefined for standard imports — the Import's mapping step transforms the source record and the mapped data is sent as the request body automatically.
|
|
10534
10536
|
Set it only when the target API requires XML, SOAP, or a custom structure that mappings cannot produce, or when the user explicitly specifies a request body.
|
|
10535
10537
|
When set, the mapping step still runs first and the template renders against the post-mapped record — use `{{record.<mappedField>}}` to reference mapping outputs.
|
|
@@ -29898,8 +29900,11 @@ components:
|
|
|
29898
29900
|
batchSize:
|
|
29899
29901
|
type: number
|
|
29900
29902
|
description: |-
|
|
29901
|
-
Number of records the RESTlet returns per
|
|
29902
|
-
|
|
29903
|
+
Number of records the RESTlet returns per request (default 1000). This, not the
|
|
29904
|
+
export's `pageSize`, sizes each NetSuite call; the export keeps requesting until the
|
|
29905
|
+
search is exhausted. Larger batches reduce round-trips but raise NetSuite governance
|
|
29906
|
+
and memory use per call; tune to the record's size. In a test run or preview the
|
|
29907
|
+
request is capped at the export's `pageSize` (default 20) instead.
|
|
29903
29908
|
examples:
|
|
29904
29909
|
- 100
|
|
29905
29910
|
- 200
|
|
@@ -32516,9 +32521,13 @@ components:
|
|
|
32516
32521
|
- integer
|
|
32517
32522
|
- 'null'
|
|
32518
32523
|
description: |-
|
|
32519
|
-
Number of records per page streamed to downstream flow steps
|
|
32520
|
-
capped at 5 MB regardless of record count, so
|
|
32521
|
-
pages. The server does not validate the value.
|
|
32524
|
+
Number of records per page streamed to downstream flow steps when the export is the
|
|
32525
|
+
flow's source step. Pages are additionally capped at 5 MB regardless of record count, so
|
|
32526
|
+
very large records may produce smaller pages. The server does not validate the value.
|
|
32527
|
+
A lookup (`isLookup: true`) runs to completion and hands every result to the incoming
|
|
32528
|
+
record as one response, capped at 5 MB in total, so the value does not change how many
|
|
32529
|
+
results a lookup returns; a result set larger than that belongs in a standalone export
|
|
32530
|
+
step. In a test run or preview the value also caps the records fetched (default 20).
|
|
32522
32531
|
default: 20
|
|
32523
32532
|
examples:
|
|
32524
32533
|
- 100
|
|
@@ -32573,7 +32582,11 @@ components:
|
|
|
32573
32582
|
description: |-
|
|
32574
32583
|
When true, the export runs as a mid-flow lookup: it executes once per incoming record,
|
|
32575
32584
|
using the input record's fields to parameterize the request, and passes the results to
|
|
32576
|
-
subsequent steps. When false, the export runs as a standalone data source.
|
|
32585
|
+
subsequent steps. When false, the export runs as a standalone data source. A lookup's
|
|
32586
|
+
results are not paged through the flow: every page the adaptor fetches is merged into one
|
|
32587
|
+
response for the record, up to 5 MB, so `pageSize` does not limit or extend what a lookup
|
|
32588
|
+
returns. A lookup that must return more than that is better modeled as a standalone
|
|
32589
|
+
export step.
|
|
32577
32590
|
examples:
|
|
32578
32591
|
- true
|
|
32579
32592
|
- false
|
package/package.json
CHANGED