@celigo/api-specs 0.2.112 → 0.2.113
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/import.yml +22 -19
- package/dist/tool.yml +22 -19
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/import.yml
CHANGED
|
@@ -3802,23 +3802,25 @@ components:
|
|
|
3802
3802
|
- |-
|
|
3803
3803
|
Two ways to specify the lookup, picked per import:
|
|
3804
3804
|
|
|
3805
|
+
- **Expression form** — the default choice: set `expression` to a
|
|
3806
|
+
NetSuite search-expression literal (the canonical patterns are on
|
|
3807
|
+
the `expression` field — `["internalid","is","{{{id}}}"]` for a
|
|
3808
|
+
record that carries the internal id, `externalid` and `cust*_*`
|
|
3809
|
+
variants, `anyof` for multi-match, AND/OR compounds). When
|
|
3810
|
+
`expression` is set, `searchField` / `operator` / `extract` are
|
|
3811
|
+
ignored.
|
|
3805
3812
|
- **Simple form** — set `searchField` + `operator` (+ optional
|
|
3806
|
-
`extract`)
|
|
3807
|
-
NetSuite field
|
|
3808
|
-
expression
|
|
3809
|
-
|
|
3810
|
-
expression
|
|
3811
|
-
record-field lookups (`custbody_*` / `custrecord_*` /
|
|
3812
|
-
`custentity_*`), and the `anyof` operator that the simple form
|
|
3813
|
-
doesn't cover. When `expression` is set, `searchField` /
|
|
3814
|
-
`operator` / `extract` are ignored. The expression form is the
|
|
3815
|
-
common pattern in practice.
|
|
3813
|
+
`extract`) for a single-criterion lookup against a built-in
|
|
3814
|
+
NetSuite field; the platform builds the equivalent search
|
|
3815
|
+
expression at runtime. For the internal id itself the expression
|
|
3816
|
+
form above is the preferred path, and `anyof` is available only
|
|
3817
|
+
through `expression`.
|
|
3816
3818
|
- |-
|
|
3817
3819
|
The lookup result is what identifies the target record; on `update` a source
|
|
3818
3820
|
field mapped to `internalid` is overridden by it. When the incoming record
|
|
3819
|
-
already carries the NetSuite internal ID, point the lookup at that field
|
|
3820
|
-
|
|
3821
|
-
|
|
3821
|
+
already carries the NetSuite internal ID, point the lookup at that field with
|
|
3822
|
+
the expression form — `["internalid","is","{{{id}}}"]` — rather than removing
|
|
3823
|
+
the lookup.
|
|
3822
3824
|
properties:
|
|
3823
3825
|
extract:
|
|
3824
3826
|
type: string
|
|
@@ -3827,7 +3829,7 @@ components:
|
|
|
3827
3829
|
- |-
|
|
3828
3830
|
Path on the incoming source record (NOT the post-mapped record) whose value drives the lookup.
|
|
3829
3831
|
Used with the simple form (`searchField` + `operator`).
|
|
3830
|
-
Common values: `"
|
|
3832
|
+
Common values: `"externalId"`, `"id"`.
|
|
3831
3833
|
Ignored when `expression` is set.
|
|
3832
3834
|
examples:
|
|
3833
3835
|
- externalId
|
|
@@ -3837,8 +3839,9 @@ components:
|
|
|
3837
3839
|
x-celigo-ai-guidance:
|
|
3838
3840
|
- |-
|
|
3839
3841
|
NetSuite field the simple-form lookup queries against.
|
|
3840
|
-
Common values: `"externalId"`, `"
|
|
3841
|
-
|
|
3842
|
+
Common values: `"externalId"`, `"email"`, `"tranId"`, `"name"`.
|
|
3843
|
+
Matching on the record's internal id is the expression form —
|
|
3844
|
+
`["internalid","is","{{{id}}}"]` — not a `searchField`.
|
|
3842
3845
|
Ignored when `expression` is set.
|
|
3843
3846
|
examples:
|
|
3844
3847
|
- externalId
|
|
@@ -3848,9 +3851,9 @@ components:
|
|
|
3848
3851
|
x-celigo-ai-guidance:
|
|
3849
3852
|
- |-
|
|
3850
3853
|
Comparison operator for the simple-form lookup.
|
|
3851
|
-
Common values: `"is"` (exact match),
|
|
3852
|
-
`"
|
|
3853
|
-
`
|
|
3854
|
+
Common values: `"is"` (exact match), `"contains"`, `"startswith"`,
|
|
3855
|
+
`"equalto"`. Multi-match (`anyof`) is available only through
|
|
3856
|
+
`expression` (`["internalid","anyof","{{{id}}}"]`).
|
|
3854
3857
|
Ignored when `expression` is set.
|
|
3855
3858
|
expression:
|
|
3856
3859
|
type: string
|
package/dist/tool.yml
CHANGED
|
@@ -15381,23 +15381,25 @@ components:
|
|
|
15381
15381
|
- |-
|
|
15382
15382
|
Two ways to specify the lookup, picked per import:
|
|
15383
15383
|
|
|
15384
|
+
- **Expression form** — the default choice: set `expression` to a
|
|
15385
|
+
NetSuite search-expression literal (the canonical patterns are on
|
|
15386
|
+
the `expression` field — `["internalid","is","{{{id}}}"]` for a
|
|
15387
|
+
record that carries the internal id, `externalid` and `cust*_*`
|
|
15388
|
+
variants, `anyof` for multi-match, AND/OR compounds). When
|
|
15389
|
+
`expression` is set, `searchField` / `operator` / `extract` are
|
|
15390
|
+
ignored.
|
|
15384
15391
|
- **Simple form** — set `searchField` + `operator` (+ optional
|
|
15385
|
-
`extract`)
|
|
15386
|
-
NetSuite field
|
|
15387
|
-
expression
|
|
15388
|
-
|
|
15389
|
-
expression
|
|
15390
|
-
record-field lookups (`custbody_*` / `custrecord_*` /
|
|
15391
|
-
`custentity_*`), and the `anyof` operator that the simple form
|
|
15392
|
-
doesn't cover. When `expression` is set, `searchField` /
|
|
15393
|
-
`operator` / `extract` are ignored. The expression form is the
|
|
15394
|
-
common pattern in practice.
|
|
15392
|
+
`extract`) for a single-criterion lookup against a built-in
|
|
15393
|
+
NetSuite field; the platform builds the equivalent search
|
|
15394
|
+
expression at runtime. For the internal id itself the expression
|
|
15395
|
+
form above is the preferred path, and `anyof` is available only
|
|
15396
|
+
through `expression`.
|
|
15395
15397
|
- |-
|
|
15396
15398
|
The lookup result is what identifies the target record; on `update` a source
|
|
15397
15399
|
field mapped to `internalid` is overridden by it. When the incoming record
|
|
15398
|
-
already carries the NetSuite internal ID, point the lookup at that field
|
|
15399
|
-
|
|
15400
|
-
|
|
15400
|
+
already carries the NetSuite internal ID, point the lookup at that field with
|
|
15401
|
+
the expression form — `["internalid","is","{{{id}}}"]` — rather than removing
|
|
15402
|
+
the lookup.
|
|
15401
15403
|
properties:
|
|
15402
15404
|
extract:
|
|
15403
15405
|
type: string
|
|
@@ -15406,7 +15408,7 @@ components:
|
|
|
15406
15408
|
- |-
|
|
15407
15409
|
Path on the incoming source record (NOT the post-mapped record) whose value drives the lookup.
|
|
15408
15410
|
Used with the simple form (`searchField` + `operator`).
|
|
15409
|
-
Common values: `"
|
|
15411
|
+
Common values: `"externalId"`, `"id"`.
|
|
15410
15412
|
Ignored when `expression` is set.
|
|
15411
15413
|
examples:
|
|
15412
15414
|
- externalId
|
|
@@ -15416,8 +15418,9 @@ components:
|
|
|
15416
15418
|
x-celigo-ai-guidance:
|
|
15417
15419
|
- |-
|
|
15418
15420
|
NetSuite field the simple-form lookup queries against.
|
|
15419
|
-
Common values: `"externalId"`, `"
|
|
15420
|
-
|
|
15421
|
+
Common values: `"externalId"`, `"email"`, `"tranId"`, `"name"`.
|
|
15422
|
+
Matching on the record's internal id is the expression form —
|
|
15423
|
+
`["internalid","is","{{{id}}}"]` — not a `searchField`.
|
|
15421
15424
|
Ignored when `expression` is set.
|
|
15422
15425
|
examples:
|
|
15423
15426
|
- externalId
|
|
@@ -15427,9 +15430,9 @@ components:
|
|
|
15427
15430
|
x-celigo-ai-guidance:
|
|
15428
15431
|
- |-
|
|
15429
15432
|
Comparison operator for the simple-form lookup.
|
|
15430
|
-
Common values: `"is"` (exact match),
|
|
15431
|
-
`"
|
|
15432
|
-
`
|
|
15433
|
+
Common values: `"is"` (exact match), `"contains"`, `"startswith"`,
|
|
15434
|
+
`"equalto"`. Multi-match (`anyof`) is available only through
|
|
15435
|
+
`expression` (`["internalid","anyof","{{{id}}}"]`).
|
|
15433
15436
|
Ignored when `expression` is set.
|
|
15434
15437
|
expression:
|
|
15435
15438
|
type: string
|
package/package.json
CHANGED