@celigo/api-specs 0.2.321 → 0.2.322
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/guardrail.yml +9 -1
- package/dist/import.yml +79 -5
- package/dist/tool.yml +79 -5
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/guardrail.yml
CHANGED
|
@@ -2148,7 +2148,15 @@ components:
|
|
|
2148
2148
|
may overwrite existing data; a missing source is left out either way.
|
|
2149
2149
|
immutable:
|
|
2150
2150
|
type: boolean
|
|
2151
|
-
description:
|
|
2151
|
+
description: |-
|
|
2152
|
+
A NetSuite distributed import's row flag; its rows are `netsuite_da.mapping.fields[]`, and
|
|
2153
|
+
that field documents it. On this row it does not protect the value from a later row that
|
|
2154
|
+
writes the same `generate`.
|
|
2155
|
+
x-celigo-ai-guidance:
|
|
2156
|
+
- |-
|
|
2157
|
+
Live-verified in the Mapper 1.0 processor (`POST /v1/processors/mapperProcessor`):
|
|
2158
|
+
with two rows writing the same `generate`, the later row's value was the one written
|
|
2159
|
+
whether or not the earlier row carried `immutable: true`.
|
|
2152
2160
|
lookupName:
|
|
2153
2161
|
type: string
|
|
2154
2162
|
description: Name of an entry in the import's `lookups` array (`http.lookups` on an HTTP import) used to translate the value.
|
package/dist/import.yml
CHANGED
|
@@ -4532,7 +4532,29 @@ components:
|
|
|
4532
4532
|
than as a `<field>.internalid` suffix.
|
|
4533
4533
|
immutable:
|
|
4534
4534
|
type: boolean
|
|
4535
|
-
description:
|
|
4535
|
+
description: |-
|
|
4536
|
+
The mapping editor's "Immutable (Advanced)" checkbox. Its help text: when a record
|
|
4537
|
+
fails and the error names one field as the cause, integrator.io removes that field
|
|
4538
|
+
and retries the record, and a field marked immutable is not removed for that retry.
|
|
4539
|
+
It is not a create-only flag: on the probed `customer` update the row was written
|
|
4540
|
+
(the guidance says what was probed).
|
|
4541
|
+
x-celigo-ai-guidance:
|
|
4542
|
+
- |-
|
|
4543
|
+
Not a create-only flag. Live-verified on a `customer` import with `operation:
|
|
4544
|
+
addupdate` whose `internalIdLookup` found the record: rows with `immutable: true`
|
|
4545
|
+
were written on the update — on `restletVersion` `suiteapp2.0`, `suiteapp1.0` and
|
|
4546
|
+
`suitebundle` alike — while a row with `conditional.when: record_created` left the
|
|
4547
|
+
record's value in place. For "set this field only when the record is created", put
|
|
4548
|
+
`conditional: {when: record_created}` on the row and leave `immutable` unset.
|
|
4549
|
+
- |-
|
|
4550
|
+
What the flag changes is a rejected value, probed on a `customer` add. On
|
|
4551
|
+
`suitebundle` and `suiteapp1.0` a body row whose value NetSuite refused (a two-digit
|
|
4552
|
+
`phone`, an `email` that is not an address) was dropped and the record saved
|
|
4553
|
+
without it — the result came back 200 with the refusal as an `errors[]` entry
|
|
4554
|
+
carrying the row's `generate` — and with `immutable: true` on that row the record
|
|
4555
|
+
failed with 422 `invalid_fld_value` and nothing was saved. On `suiteapp2.0` the
|
|
4556
|
+
same values failed the record with and without the flag, and the mapping editor
|
|
4557
|
+
offers the checkbox ("Immutable (Advanced)") only on the other two versions.
|
|
4536
4558
|
discardIfEmpty:
|
|
4537
4559
|
type: boolean
|
|
4538
4560
|
description: |-
|
|
@@ -4697,6 +4719,14 @@ components:
|
|
|
4697
4719
|
existing record: on an `add`-only operation every record fails with
|
|
4698
4720
|
`The mapping condition:"record_updated" not supported for the
|
|
4699
4721
|
operation`. It works on `addupdate` and `update`.
|
|
4722
|
+
- |-
|
|
4723
|
+
`when: record_created` is the create-only control ("Only perform mapping
|
|
4724
|
+
when: Creating a record" in the UI), and it follows the import's own
|
|
4725
|
+
`internalIdLookup`: on a `customer` import with `operation: addupdate` the row
|
|
4726
|
+
was written when the lookup found no record and the record was created, and
|
|
4727
|
+
left out when the lookup found the record and it was updated — the field kept
|
|
4728
|
+
the value it had — on `restletVersion` `suiteapp2.0`, `suiteapp1.0` and
|
|
4729
|
+
`suitebundle` alike. `immutable: true` does not do this (see `immutable`).
|
|
4700
4730
|
- |-
|
|
4701
4731
|
The condition is one of the fixed `when` values — there is no
|
|
4702
4732
|
predicate over a source field ("when `customer.id` is not empty",
|
|
@@ -4931,7 +4961,25 @@ components:
|
|
|
4931
4961
|
matches no line, or several, does.
|
|
4932
4962
|
immutable:
|
|
4933
4963
|
type: boolean
|
|
4934
|
-
description:
|
|
4964
|
+
description: |-
|
|
4965
|
+
The mapping editor's "Immutable (Advanced)" checkbox on a sublist row. Probed on a
|
|
4966
|
+
`customer` import's `addressbook` line on `suitebundle` and `suiteapp2.0`
|
|
4967
|
+
(`suiteapp1.0` was not run): the row was written on a line an update matched, so it
|
|
4968
|
+
is not a create-only flag there, and a line value NetSuite refused failed the
|
|
4969
|
+
record with and without it.
|
|
4970
|
+
x-celigo-ai-guidance:
|
|
4971
|
+
- |-
|
|
4972
|
+
Live-verified on a `customer` import's `addressbook` sublist with `operation:
|
|
4973
|
+
addupdate`, the existing line matched by an `isKey` row: a line row with
|
|
4974
|
+
`immutable: true` was written on the update, and a line row with
|
|
4975
|
+
`conditional.when: record_created` left the line's value in place — on
|
|
4976
|
+
`suitebundle` and `suiteapp2.0` alike. For "set this column only when the record
|
|
4977
|
+
is created", put `conditional: {when: record_created}` on the row.
|
|
4978
|
+
- |-
|
|
4979
|
+
A line value NetSuite refused (`country` with an unknown code) failed the record
|
|
4980
|
+
with 422 with and without the flag, on `suitebundle` and on `suiteapp2.0`: the
|
|
4981
|
+
body-row behaviour of dropping a refused field and saving the record was not
|
|
4982
|
+
observed on a sublist row.
|
|
4935
4983
|
discardIfEmpty:
|
|
4936
4984
|
type: boolean
|
|
4937
4985
|
description: |-
|
|
@@ -5093,6 +5141,21 @@ components:
|
|
|
5093
5141
|
rows in live verification. Do not rely on that tolerance — use
|
|
5094
5142
|
`when: record_updated` only on operations that can update
|
|
5095
5143
|
records (`addupdate` / `update`).
|
|
5144
|
+
- |-
|
|
5145
|
+
`when: record_created` on a sublist row, probed on a `customer` import's
|
|
5146
|
+
`addressbook` sublist with `operation: addupdate`: the row was written when
|
|
5147
|
+
the record was created, and an update that matched the existing line
|
|
5148
|
+
through an `isKey` row left the row out — the line kept its value — on
|
|
5149
|
+
`suitebundle` and `suiteapp2.0` alike.
|
|
5150
|
+
- |-
|
|
5151
|
+
The condition is the record's, not the line's: on the same sublist with no
|
|
5152
|
+
`isKey` row, an update added the mapped address as a new line and left the
|
|
5153
|
+
`record_created` row out of that new line too. Probed with `defaultshipping`
|
|
5154
|
+
under `when: record_created` beside an unconditioned `defaultbilling`, both
|
|
5155
|
+
extracting `true`: the added line became the default billing address — the
|
|
5156
|
+
flag left the existing line — and did not become the default shipping
|
|
5157
|
+
address, on `suitebundle` and `suiteapp2.0` alike. A second identical send
|
|
5158
|
+
added the same address again as a third line.
|
|
5096
5159
|
- |-
|
|
5097
5160
|
The condition is one of the fixed `when` values — the same
|
|
5098
5161
|
closed set as body rows, with no predicate over a source
|
|
@@ -16705,7 +16768,15 @@ components:
|
|
|
16705
16768
|
may overwrite existing data; a missing source is left out either way.
|
|
16706
16769
|
immutable:
|
|
16707
16770
|
type: boolean
|
|
16708
|
-
description:
|
|
16771
|
+
description: |-
|
|
16772
|
+
A NetSuite distributed import's row flag; its rows are `netsuite_da.mapping.fields[]`, and
|
|
16773
|
+
that field documents it. On this row it does not protect the value from a later row that
|
|
16774
|
+
writes the same `generate`.
|
|
16775
|
+
x-celigo-ai-guidance:
|
|
16776
|
+
- |-
|
|
16777
|
+
Live-verified in the Mapper 1.0 processor (`POST /v1/processors/mapperProcessor`):
|
|
16778
|
+
with two rows writing the same `generate`, the later row's value was the one written
|
|
16779
|
+
whether or not the earlier row carried `immutable: true`.
|
|
16709
16780
|
lookupName:
|
|
16710
16781
|
type: string
|
|
16711
16782
|
description: Name of an entry in the import's `lookups` array (`http.lookups` on an HTTP import) used to translate the value.
|
|
@@ -18572,8 +18643,11 @@ components:
|
|
|
18572
18643
|
x-celigo-ai-guidance:
|
|
18573
18644
|
- |-
|
|
18574
18645
|
Body-level field mappings. Each entry writes one destination
|
|
18575
|
-
column from one source expression.
|
|
18576
|
-
|
|
18646
|
+
column from one source expression. Entries are applied
|
|
18647
|
+
independently per record, and order matters only between entries
|
|
18648
|
+
that write the same ``generate``: in the Mapper 1.0 processor
|
|
18649
|
+
(``POST /v1/processors/mapperProcessor``) the later entry's
|
|
18650
|
+
value was the one written.
|
|
18577
18651
|
lists:
|
|
18578
18652
|
type: array
|
|
18579
18653
|
description: List-level mappings, each generating a sublist on the target record.
|
package/dist/tool.yml
CHANGED
|
@@ -17216,7 +17216,29 @@ components:
|
|
|
17216
17216
|
than as a `<field>.internalid` suffix.
|
|
17217
17217
|
immutable:
|
|
17218
17218
|
type: boolean
|
|
17219
|
-
description:
|
|
17219
|
+
description: |-
|
|
17220
|
+
The mapping editor's "Immutable (Advanced)" checkbox. Its help text: when a record
|
|
17221
|
+
fails and the error names one field as the cause, integrator.io removes that field
|
|
17222
|
+
and retries the record, and a field marked immutable is not removed for that retry.
|
|
17223
|
+
It is not a create-only flag: on the probed `customer` update the row was written
|
|
17224
|
+
(the guidance says what was probed).
|
|
17225
|
+
x-celigo-ai-guidance:
|
|
17226
|
+
- |-
|
|
17227
|
+
Not a create-only flag. Live-verified on a `customer` import with `operation:
|
|
17228
|
+
addupdate` whose `internalIdLookup` found the record: rows with `immutable: true`
|
|
17229
|
+
were written on the update — on `restletVersion` `suiteapp2.0`, `suiteapp1.0` and
|
|
17230
|
+
`suitebundle` alike — while a row with `conditional.when: record_created` left the
|
|
17231
|
+
record's value in place. For "set this field only when the record is created", put
|
|
17232
|
+
`conditional: {when: record_created}` on the row and leave `immutable` unset.
|
|
17233
|
+
- |-
|
|
17234
|
+
What the flag changes is a rejected value, probed on a `customer` add. On
|
|
17235
|
+
`suitebundle` and `suiteapp1.0` a body row whose value NetSuite refused (a two-digit
|
|
17236
|
+
`phone`, an `email` that is not an address) was dropped and the record saved
|
|
17237
|
+
without it — the result came back 200 with the refusal as an `errors[]` entry
|
|
17238
|
+
carrying the row's `generate` — and with `immutable: true` on that row the record
|
|
17239
|
+
failed with 422 `invalid_fld_value` and nothing was saved. On `suiteapp2.0` the
|
|
17240
|
+
same values failed the record with and without the flag, and the mapping editor
|
|
17241
|
+
offers the checkbox ("Immutable (Advanced)") only on the other two versions.
|
|
17220
17242
|
discardIfEmpty:
|
|
17221
17243
|
type: boolean
|
|
17222
17244
|
description: |-
|
|
@@ -17381,6 +17403,14 @@ components:
|
|
|
17381
17403
|
existing record: on an `add`-only operation every record fails with
|
|
17382
17404
|
`The mapping condition:"record_updated" not supported for the
|
|
17383
17405
|
operation`. It works on `addupdate` and `update`.
|
|
17406
|
+
- |-
|
|
17407
|
+
`when: record_created` is the create-only control ("Only perform mapping
|
|
17408
|
+
when: Creating a record" in the UI), and it follows the import's own
|
|
17409
|
+
`internalIdLookup`: on a `customer` import with `operation: addupdate` the row
|
|
17410
|
+
was written when the lookup found no record and the record was created, and
|
|
17411
|
+
left out when the lookup found the record and it was updated — the field kept
|
|
17412
|
+
the value it had — on `restletVersion` `suiteapp2.0`, `suiteapp1.0` and
|
|
17413
|
+
`suitebundle` alike. `immutable: true` does not do this (see `immutable`).
|
|
17384
17414
|
- |-
|
|
17385
17415
|
The condition is one of the fixed `when` values — there is no
|
|
17386
17416
|
predicate over a source field ("when `customer.id` is not empty",
|
|
@@ -17615,7 +17645,25 @@ components:
|
|
|
17615
17645
|
matches no line, or several, does.
|
|
17616
17646
|
immutable:
|
|
17617
17647
|
type: boolean
|
|
17618
|
-
description:
|
|
17648
|
+
description: |-
|
|
17649
|
+
The mapping editor's "Immutable (Advanced)" checkbox on a sublist row. Probed on a
|
|
17650
|
+
`customer` import's `addressbook` line on `suitebundle` and `suiteapp2.0`
|
|
17651
|
+
(`suiteapp1.0` was not run): the row was written on a line an update matched, so it
|
|
17652
|
+
is not a create-only flag there, and a line value NetSuite refused failed the
|
|
17653
|
+
record with and without it.
|
|
17654
|
+
x-celigo-ai-guidance:
|
|
17655
|
+
- |-
|
|
17656
|
+
Live-verified on a `customer` import's `addressbook` sublist with `operation:
|
|
17657
|
+
addupdate`, the existing line matched by an `isKey` row: a line row with
|
|
17658
|
+
`immutable: true` was written on the update, and a line row with
|
|
17659
|
+
`conditional.when: record_created` left the line's value in place — on
|
|
17660
|
+
`suitebundle` and `suiteapp2.0` alike. For "set this column only when the record
|
|
17661
|
+
is created", put `conditional: {when: record_created}` on the row.
|
|
17662
|
+
- |-
|
|
17663
|
+
A line value NetSuite refused (`country` with an unknown code) failed the record
|
|
17664
|
+
with 422 with and without the flag, on `suitebundle` and on `suiteapp2.0`: the
|
|
17665
|
+
body-row behaviour of dropping a refused field and saving the record was not
|
|
17666
|
+
observed on a sublist row.
|
|
17619
17667
|
discardIfEmpty:
|
|
17620
17668
|
type: boolean
|
|
17621
17669
|
description: |-
|
|
@@ -17777,6 +17825,21 @@ components:
|
|
|
17777
17825
|
rows in live verification. Do not rely on that tolerance — use
|
|
17778
17826
|
`when: record_updated` only on operations that can update
|
|
17779
17827
|
records (`addupdate` / `update`).
|
|
17828
|
+
- |-
|
|
17829
|
+
`when: record_created` on a sublist row, probed on a `customer` import's
|
|
17830
|
+
`addressbook` sublist with `operation: addupdate`: the row was written when
|
|
17831
|
+
the record was created, and an update that matched the existing line
|
|
17832
|
+
through an `isKey` row left the row out — the line kept its value — on
|
|
17833
|
+
`suitebundle` and `suiteapp2.0` alike.
|
|
17834
|
+
- |-
|
|
17835
|
+
The condition is the record's, not the line's: on the same sublist with no
|
|
17836
|
+
`isKey` row, an update added the mapped address as a new line and left the
|
|
17837
|
+
`record_created` row out of that new line too. Probed with `defaultshipping`
|
|
17838
|
+
under `when: record_created` beside an unconditioned `defaultbilling`, both
|
|
17839
|
+
extracting `true`: the added line became the default billing address — the
|
|
17840
|
+
flag left the existing line — and did not become the default shipping
|
|
17841
|
+
address, on `suitebundle` and `suiteapp2.0` alike. A second identical send
|
|
17842
|
+
added the same address again as a third line.
|
|
17780
17843
|
- |-
|
|
17781
17844
|
The condition is one of the fixed `when` values — the same
|
|
17782
17845
|
closed set as body rows, with no predicate over a source
|
|
@@ -26436,7 +26499,15 @@ components:
|
|
|
26436
26499
|
may overwrite existing data; a missing source is left out either way.
|
|
26437
26500
|
immutable:
|
|
26438
26501
|
type: boolean
|
|
26439
|
-
description:
|
|
26502
|
+
description: |-
|
|
26503
|
+
A NetSuite distributed import's row flag; its rows are `netsuite_da.mapping.fields[]`, and
|
|
26504
|
+
that field documents it. On this row it does not protect the value from a later row that
|
|
26505
|
+
writes the same `generate`.
|
|
26506
|
+
x-celigo-ai-guidance:
|
|
26507
|
+
- |-
|
|
26508
|
+
Live-verified in the Mapper 1.0 processor (`POST /v1/processors/mapperProcessor`):
|
|
26509
|
+
with two rows writing the same `generate`, the later row's value was the one written
|
|
26510
|
+
whether or not the earlier row carried `immutable: true`.
|
|
26440
26511
|
lookupName:
|
|
26441
26512
|
type: string
|
|
26442
26513
|
description: Name of an entry in the import's `lookups` array (`http.lookups` on an HTTP import) used to translate the value.
|
|
@@ -28303,8 +28374,11 @@ components:
|
|
|
28303
28374
|
x-celigo-ai-guidance:
|
|
28304
28375
|
- |-
|
|
28305
28376
|
Body-level field mappings. Each entry writes one destination
|
|
28306
|
-
column from one source expression.
|
|
28307
|
-
|
|
28377
|
+
column from one source expression. Entries are applied
|
|
28378
|
+
independently per record, and order matters only between entries
|
|
28379
|
+
that write the same ``generate``: in the Mapper 1.0 processor
|
|
28380
|
+
(``POST /v1/processors/mapperProcessor``) the later entry's
|
|
28381
|
+
value was the one written.
|
|
28308
28382
|
lists:
|
|
28309
28383
|
type: array
|
|
28310
28384
|
description: List-level mappings, each generating a sublist on the target record.
|
package/package.json
CHANGED