@celigo/api-specs 0.2.227 → 0.2.229
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 +15 -3
- package/dist/connection.yml +15 -3
- package/dist/enduser.yml +15 -3
- package/dist/import.yml +29 -3
- package/dist/mcp-server.yml +15 -3
- package/dist/tool.yml +44 -6
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/api.yml
CHANGED
|
@@ -8687,7 +8687,11 @@ components:
|
|
|
8687
8687
|
sandbox: Connect to a legacy NetSuite sandbox account.
|
|
8688
8688
|
sandbox2.0: Connect to a NetSuite SuiteCloud (SB2.0) sandbox account.
|
|
8689
8689
|
beta: Connect to the NetSuite beta/release-preview environment.
|
|
8690
|
-
description:
|
|
8690
|
+
description: |-
|
|
8691
|
+
NetSuite environment to connect to. Defaults to production when not specified.
|
|
8692
|
+
Refreshing a sandbox deletes the Token ID and Token secret issued in that sandbox
|
|
8693
|
+
(Celigo's sandbox-refresh guide), so a connection with authType "token" into a
|
|
8694
|
+
refreshed sandbox needs a token created there again.
|
|
8691
8695
|
tokenId:
|
|
8692
8696
|
type: string
|
|
8693
8697
|
examples:
|
|
@@ -8695,10 +8699,16 @@ components:
|
|
|
8695
8699
|
description: |
|
|
8696
8700
|
NetSuite TBA token ID (encrypted at rest). Required when authType is "token".
|
|
8697
8701
|
|
|
8698
|
-
Generated in NetSuite under Setup > Users/Roles > Access Tokens
|
|
8702
|
+
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the
|
|
8703
|
+
integrator.io application and the user and role the connection should act as.
|
|
8699
8704
|
Must be paired with the corresponding tokenSecret.
|
|
8700
8705
|
x-celigo-ai-guidance:
|
|
8701
8706
|
- Not needed when authType is "token-auto" — integrator.io manages the token wiring in that mode.
|
|
8707
|
+
- |-
|
|
8708
|
+
A token NetSuite does not recognize fails the connection test with `invalid_login_attempt`
|
|
8709
|
+
(HTTP 200, `errors[].code`, source `application`) and the save sets the connection offline;
|
|
8710
|
+
the response carries no detail of what NetSuite refused — that detail is in NetSuite's
|
|
8711
|
+
Login Audit Trail (the Detail column), not in the connection's error.
|
|
8702
8712
|
writeOnly: true
|
|
8703
8713
|
tokenSecret:
|
|
8704
8714
|
type: string
|
|
@@ -8707,9 +8717,11 @@ components:
|
|
|
8707
8717
|
description: |
|
|
8708
8718
|
NetSuite TBA token secret (encrypted at rest). Required when authType is "token".
|
|
8709
8719
|
|
|
8710
|
-
Generated alongside the tokenId in NetSuite
|
|
8720
|
+
Generated alongside the tokenId in NetSuite, which shows the pair once; treat as a
|
|
8721
|
+
sensitive credential.
|
|
8711
8722
|
x-celigo-ai-guidance:
|
|
8712
8723
|
- Not needed when authType is "token-auto".
|
|
8724
|
+
- Replaced together with tokenId — NetSuite shows the pair once, when the token is created.
|
|
8713
8725
|
writeOnly: true
|
|
8714
8726
|
entityId:
|
|
8715
8727
|
type: string
|
package/dist/connection.yml
CHANGED
|
@@ -4499,7 +4499,11 @@ components:
|
|
|
4499
4499
|
sandbox: Connect to a legacy NetSuite sandbox account.
|
|
4500
4500
|
sandbox2.0: Connect to a NetSuite SuiteCloud (SB2.0) sandbox account.
|
|
4501
4501
|
beta: Connect to the NetSuite beta/release-preview environment.
|
|
4502
|
-
description:
|
|
4502
|
+
description: |-
|
|
4503
|
+
NetSuite environment to connect to. Defaults to production when not specified.
|
|
4504
|
+
Refreshing a sandbox deletes the Token ID and Token secret issued in that sandbox
|
|
4505
|
+
(Celigo's sandbox-refresh guide), so a connection with authType "token" into a
|
|
4506
|
+
refreshed sandbox needs a token created there again.
|
|
4503
4507
|
tokenId:
|
|
4504
4508
|
type: string
|
|
4505
4509
|
examples:
|
|
@@ -4507,10 +4511,16 @@ components:
|
|
|
4507
4511
|
description: |
|
|
4508
4512
|
NetSuite TBA token ID (encrypted at rest). Required when authType is "token".
|
|
4509
4513
|
|
|
4510
|
-
Generated in NetSuite under Setup > Users/Roles > Access Tokens
|
|
4514
|
+
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the
|
|
4515
|
+
integrator.io application and the user and role the connection should act as.
|
|
4511
4516
|
Must be paired with the corresponding tokenSecret.
|
|
4512
4517
|
x-celigo-ai-guidance:
|
|
4513
4518
|
- Not needed when authType is "token-auto" — integrator.io manages the token wiring in that mode.
|
|
4519
|
+
- |-
|
|
4520
|
+
A token NetSuite does not recognize fails the connection test with `invalid_login_attempt`
|
|
4521
|
+
(HTTP 200, `errors[].code`, source `application`) and the save sets the connection offline;
|
|
4522
|
+
the response carries no detail of what NetSuite refused — that detail is in NetSuite's
|
|
4523
|
+
Login Audit Trail (the Detail column), not in the connection's error.
|
|
4514
4524
|
writeOnly: true
|
|
4515
4525
|
tokenSecret:
|
|
4516
4526
|
type: string
|
|
@@ -4519,9 +4529,11 @@ components:
|
|
|
4519
4529
|
description: |
|
|
4520
4530
|
NetSuite TBA token secret (encrypted at rest). Required when authType is "token".
|
|
4521
4531
|
|
|
4522
|
-
Generated alongside the tokenId in NetSuite
|
|
4532
|
+
Generated alongside the tokenId in NetSuite, which shows the pair once; treat as a
|
|
4533
|
+
sensitive credential.
|
|
4523
4534
|
x-celigo-ai-guidance:
|
|
4524
4535
|
- Not needed when authType is "token-auto".
|
|
4536
|
+
- Replaced together with tokenId — NetSuite shows the pair once, when the token is created.
|
|
4525
4537
|
writeOnly: true
|
|
4526
4538
|
entityId:
|
|
4527
4539
|
type: string
|
package/dist/enduser.yml
CHANGED
|
@@ -2524,7 +2524,11 @@ components:
|
|
|
2524
2524
|
sandbox: Connect to a legacy NetSuite sandbox account.
|
|
2525
2525
|
sandbox2.0: Connect to a NetSuite SuiteCloud (SB2.0) sandbox account.
|
|
2526
2526
|
beta: Connect to the NetSuite beta/release-preview environment.
|
|
2527
|
-
description:
|
|
2527
|
+
description: |-
|
|
2528
|
+
NetSuite environment to connect to. Defaults to production when not specified.
|
|
2529
|
+
Refreshing a sandbox deletes the Token ID and Token secret issued in that sandbox
|
|
2530
|
+
(Celigo's sandbox-refresh guide), so a connection with authType "token" into a
|
|
2531
|
+
refreshed sandbox needs a token created there again.
|
|
2528
2532
|
tokenId:
|
|
2529
2533
|
type: string
|
|
2530
2534
|
examples:
|
|
@@ -2532,10 +2536,16 @@ components:
|
|
|
2532
2536
|
description: |
|
|
2533
2537
|
NetSuite TBA token ID (encrypted at rest). Required when authType is "token".
|
|
2534
2538
|
|
|
2535
|
-
Generated in NetSuite under Setup > Users/Roles > Access Tokens
|
|
2539
|
+
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the
|
|
2540
|
+
integrator.io application and the user and role the connection should act as.
|
|
2536
2541
|
Must be paired with the corresponding tokenSecret.
|
|
2537
2542
|
x-celigo-ai-guidance:
|
|
2538
2543
|
- Not needed when authType is "token-auto" — integrator.io manages the token wiring in that mode.
|
|
2544
|
+
- |-
|
|
2545
|
+
A token NetSuite does not recognize fails the connection test with `invalid_login_attempt`
|
|
2546
|
+
(HTTP 200, `errors[].code`, source `application`) and the save sets the connection offline;
|
|
2547
|
+
the response carries no detail of what NetSuite refused — that detail is in NetSuite's
|
|
2548
|
+
Login Audit Trail (the Detail column), not in the connection's error.
|
|
2539
2549
|
writeOnly: true
|
|
2540
2550
|
tokenSecret:
|
|
2541
2551
|
type: string
|
|
@@ -2544,9 +2554,11 @@ components:
|
|
|
2544
2554
|
description: |
|
|
2545
2555
|
NetSuite TBA token secret (encrypted at rest). Required when authType is "token".
|
|
2546
2556
|
|
|
2547
|
-
Generated alongside the tokenId in NetSuite
|
|
2557
|
+
Generated alongside the tokenId in NetSuite, which shows the pair once; treat as a
|
|
2558
|
+
sensitive credential.
|
|
2548
2559
|
x-celigo-ai-guidance:
|
|
2549
2560
|
- Not needed when authType is "token-auto".
|
|
2561
|
+
- Replaced together with tokenId — NetSuite shows the pair once, when the token is created.
|
|
2550
2562
|
writeOnly: true
|
|
2551
2563
|
entityId:
|
|
2552
2564
|
type: string
|
package/dist/import.yml
CHANGED
|
@@ -4504,6 +4504,29 @@ components:
|
|
|
4504
4504
|
addresses the current line with the same
|
|
4505
4505
|
`<array>[*].<field>` path — see
|
|
4506
4506
|
`netsuite_da.lookups[].expression`.
|
|
4507
|
+
- |-
|
|
4508
|
+
A Handlebars `extract` addresses the current line with
|
|
4509
|
+
the same `<array>[*].<field>` path — in a substitution,
|
|
4510
|
+
as a helper argument
|
|
4511
|
+
(`{{multiply line_items[*].tax_lines.[0].rate 100}}`)
|
|
4512
|
+
and as a block-helper argument
|
|
4513
|
+
(`{{#if line_items[*].taxable}}5973{{/if}}`). The row
|
|
4514
|
+
is evaluated once per line and drives the iteration by
|
|
4515
|
+
itself; the mapping preview
|
|
4516
|
+
(`PUT /v1/netsuiteDA/previewImportMappingFields`) renders
|
|
4517
|
+
every form per line, including the block-helper form it
|
|
4518
|
+
cannot evaluate in a lookup `expression`. An empty render
|
|
4519
|
+
is sent as an empty value unless `discardIfEmpty` omits
|
|
4520
|
+
the field; in the preview, a sublist whose only row renders
|
|
4521
|
+
empty for a line omits that line from the output, while
|
|
4522
|
+
beside another line row the line is returned with the
|
|
4523
|
+
empty value. An
|
|
4524
|
+
arithmetic helper on a line that lacks the field renders
|
|
4525
|
+
`NaN`, so guard it on the object the helper reads
|
|
4526
|
+
(`{{#if line_items[*].tax_lines.[0]}}…{{/if}}`), not on
|
|
4527
|
+
the number: `#if` treats a real `0` rate as empty.
|
|
4528
|
+
The same expression on a body row (`fields[]`) renders
|
|
4529
|
+
the first line's value only.
|
|
4507
4530
|
generate:
|
|
4508
4531
|
type: string
|
|
4509
4532
|
description: |-
|
|
@@ -4916,7 +4939,7 @@ components:
|
|
|
4916
4939
|
for the field: $.<path>` — and resolves to `default` when
|
|
4917
4940
|
`allowFailures` is true.
|
|
4918
4941
|
- |-
|
|
4919
|
-
## The mapping preview cannot evaluate `[*]` inside a block-helper argument
|
|
4942
|
+
## The mapping preview cannot evaluate `[*]` inside a block-helper argument of a lookup expression
|
|
4920
4943
|
|
|
4921
4944
|
`PUT /v1/netsuiteDA/previewImportMappingFields` (the mapping
|
|
4922
4945
|
editor's Preview) evaluates lookups for real — resolved
|
|
@@ -4924,14 +4947,17 @@ components:
|
|
|
4924
4947
|
compile errors in `data.mappingErrors[]` — and handles
|
|
4925
4948
|
`[*]` in plain substitutions and inside a branch's output.
|
|
4926
4949
|
It does NOT apply the per-line evaluation to `[*]` used as a
|
|
4927
|
-
block-helper ARGUMENT (`{{#if line_items[*].x}}`,
|
|
4950
|
+
block-helper ARGUMENT of a lookup expression (`{{#if line_items[*].x}}`,
|
|
4928
4951
|
`{{#contains line_items[*].sku "_"}}`): the sublist comes
|
|
4929
4952
|
back EMPTY with no error, whatever the expression would do
|
|
4930
4953
|
in a run. An empty preview is therefore no evidence about
|
|
4931
|
-
such
|
|
4954
|
+
such a lookup expression — never report it as "renders nothing"
|
|
4932
4955
|
or as invalid on that basis; validate it with a run.
|
|
4933
4956
|
`<array>.@index.<field>` is likewise not evaluable in the
|
|
4934
4957
|
preview (the record is dropped with no error).
|
|
4958
|
+
A mapping row's `extract` with the same block-helper shape IS
|
|
4959
|
+
rendered per line by the preview — see
|
|
4960
|
+
`netsuite_da.mapping.lists[].fields[].extract`.
|
|
4935
4961
|
operator:
|
|
4936
4962
|
type: string
|
|
4937
4963
|
description: |-
|
package/dist/mcp-server.yml
CHANGED
|
@@ -5572,7 +5572,11 @@ components:
|
|
|
5572
5572
|
sandbox: Connect to a legacy NetSuite sandbox account.
|
|
5573
5573
|
sandbox2.0: Connect to a NetSuite SuiteCloud (SB2.0) sandbox account.
|
|
5574
5574
|
beta: Connect to the NetSuite beta/release-preview environment.
|
|
5575
|
-
description:
|
|
5575
|
+
description: |-
|
|
5576
|
+
NetSuite environment to connect to. Defaults to production when not specified.
|
|
5577
|
+
Refreshing a sandbox deletes the Token ID and Token secret issued in that sandbox
|
|
5578
|
+
(Celigo's sandbox-refresh guide), so a connection with authType "token" into a
|
|
5579
|
+
refreshed sandbox needs a token created there again.
|
|
5576
5580
|
tokenId:
|
|
5577
5581
|
type: string
|
|
5578
5582
|
examples:
|
|
@@ -5580,10 +5584,16 @@ components:
|
|
|
5580
5584
|
description: |
|
|
5581
5585
|
NetSuite TBA token ID (encrypted at rest). Required when authType is "token".
|
|
5582
5586
|
|
|
5583
|
-
Generated in NetSuite under Setup > Users/Roles > Access Tokens
|
|
5587
|
+
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the
|
|
5588
|
+
integrator.io application and the user and role the connection should act as.
|
|
5584
5589
|
Must be paired with the corresponding tokenSecret.
|
|
5585
5590
|
x-celigo-ai-guidance:
|
|
5586
5591
|
- Not needed when authType is "token-auto" — integrator.io manages the token wiring in that mode.
|
|
5592
|
+
- |-
|
|
5593
|
+
A token NetSuite does not recognize fails the connection test with `invalid_login_attempt`
|
|
5594
|
+
(HTTP 200, `errors[].code`, source `application`) and the save sets the connection offline;
|
|
5595
|
+
the response carries no detail of what NetSuite refused — that detail is in NetSuite's
|
|
5596
|
+
Login Audit Trail (the Detail column), not in the connection's error.
|
|
5587
5597
|
writeOnly: true
|
|
5588
5598
|
tokenSecret:
|
|
5589
5599
|
type: string
|
|
@@ -5592,9 +5602,11 @@ components:
|
|
|
5592
5602
|
description: |
|
|
5593
5603
|
NetSuite TBA token secret (encrypted at rest). Required when authType is "token".
|
|
5594
5604
|
|
|
5595
|
-
Generated alongside the tokenId in NetSuite
|
|
5605
|
+
Generated alongside the tokenId in NetSuite, which shows the pair once; treat as a
|
|
5606
|
+
sensitive credential.
|
|
5596
5607
|
x-celigo-ai-guidance:
|
|
5597
5608
|
- Not needed when authType is "token-auto".
|
|
5609
|
+
- Replaced together with tokenId — NetSuite shows the pair once, when the token is created.
|
|
5598
5610
|
writeOnly: true
|
|
5599
5611
|
entityId:
|
|
5600
5612
|
type: string
|
package/dist/tool.yml
CHANGED
|
@@ -8054,7 +8054,11 @@ components:
|
|
|
8054
8054
|
sandbox: Connect to a legacy NetSuite sandbox account.
|
|
8055
8055
|
sandbox2.0: Connect to a NetSuite SuiteCloud (SB2.0) sandbox account.
|
|
8056
8056
|
beta: Connect to the NetSuite beta/release-preview environment.
|
|
8057
|
-
description:
|
|
8057
|
+
description: |-
|
|
8058
|
+
NetSuite environment to connect to. Defaults to production when not specified.
|
|
8059
|
+
Refreshing a sandbox deletes the Token ID and Token secret issued in that sandbox
|
|
8060
|
+
(Celigo's sandbox-refresh guide), so a connection with authType "token" into a
|
|
8061
|
+
refreshed sandbox needs a token created there again.
|
|
8058
8062
|
tokenId:
|
|
8059
8063
|
type: string
|
|
8060
8064
|
examples:
|
|
@@ -8062,10 +8066,16 @@ components:
|
|
|
8062
8066
|
description: |
|
|
8063
8067
|
NetSuite TBA token ID (encrypted at rest). Required when authType is "token".
|
|
8064
8068
|
|
|
8065
|
-
Generated in NetSuite under Setup > Users/Roles > Access Tokens
|
|
8069
|
+
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the
|
|
8070
|
+
integrator.io application and the user and role the connection should act as.
|
|
8066
8071
|
Must be paired with the corresponding tokenSecret.
|
|
8067
8072
|
x-celigo-ai-guidance:
|
|
8068
8073
|
- Not needed when authType is "token-auto" — integrator.io manages the token wiring in that mode.
|
|
8074
|
+
- |-
|
|
8075
|
+
A token NetSuite does not recognize fails the connection test with `invalid_login_attempt`
|
|
8076
|
+
(HTTP 200, `errors[].code`, source `application`) and the save sets the connection offline;
|
|
8077
|
+
the response carries no detail of what NetSuite refused — that detail is in NetSuite's
|
|
8078
|
+
Login Audit Trail (the Detail column), not in the connection's error.
|
|
8069
8079
|
writeOnly: true
|
|
8070
8080
|
tokenSecret:
|
|
8071
8081
|
type: string
|
|
@@ -8074,9 +8084,11 @@ components:
|
|
|
8074
8084
|
description: |
|
|
8075
8085
|
NetSuite TBA token secret (encrypted at rest). Required when authType is "token".
|
|
8076
8086
|
|
|
8077
|
-
Generated alongside the tokenId in NetSuite
|
|
8087
|
+
Generated alongside the tokenId in NetSuite, which shows the pair once; treat as a
|
|
8088
|
+
sensitive credential.
|
|
8078
8089
|
x-celigo-ai-guidance:
|
|
8079
8090
|
- Not needed when authType is "token-auto".
|
|
8091
|
+
- Replaced together with tokenId — NetSuite shows the pair once, when the token is created.
|
|
8080
8092
|
writeOnly: true
|
|
8081
8093
|
entityId:
|
|
8082
8094
|
type: string
|
|
@@ -16790,6 +16802,29 @@ components:
|
|
|
16790
16802
|
addresses the current line with the same
|
|
16791
16803
|
`<array>[*].<field>` path — see
|
|
16792
16804
|
`netsuite_da.lookups[].expression`.
|
|
16805
|
+
- |-
|
|
16806
|
+
A Handlebars `extract` addresses the current line with
|
|
16807
|
+
the same `<array>[*].<field>` path — in a substitution,
|
|
16808
|
+
as a helper argument
|
|
16809
|
+
(`{{multiply line_items[*].tax_lines.[0].rate 100}}`)
|
|
16810
|
+
and as a block-helper argument
|
|
16811
|
+
(`{{#if line_items[*].taxable}}5973{{/if}}`). The row
|
|
16812
|
+
is evaluated once per line and drives the iteration by
|
|
16813
|
+
itself; the mapping preview
|
|
16814
|
+
(`PUT /v1/netsuiteDA/previewImportMappingFields`) renders
|
|
16815
|
+
every form per line, including the block-helper form it
|
|
16816
|
+
cannot evaluate in a lookup `expression`. An empty render
|
|
16817
|
+
is sent as an empty value unless `discardIfEmpty` omits
|
|
16818
|
+
the field; in the preview, a sublist whose only row renders
|
|
16819
|
+
empty for a line omits that line from the output, while
|
|
16820
|
+
beside another line row the line is returned with the
|
|
16821
|
+
empty value. An
|
|
16822
|
+
arithmetic helper on a line that lacks the field renders
|
|
16823
|
+
`NaN`, so guard it on the object the helper reads
|
|
16824
|
+
(`{{#if line_items[*].tax_lines.[0]}}…{{/if}}`), not on
|
|
16825
|
+
the number: `#if` treats a real `0` rate as empty.
|
|
16826
|
+
The same expression on a body row (`fields[]`) renders
|
|
16827
|
+
the first line's value only.
|
|
16793
16828
|
generate:
|
|
16794
16829
|
type: string
|
|
16795
16830
|
description: |-
|
|
@@ -17202,7 +17237,7 @@ components:
|
|
|
17202
17237
|
for the field: $.<path>` — and resolves to `default` when
|
|
17203
17238
|
`allowFailures` is true.
|
|
17204
17239
|
- |-
|
|
17205
|
-
## The mapping preview cannot evaluate `[*]` inside a block-helper argument
|
|
17240
|
+
## The mapping preview cannot evaluate `[*]` inside a block-helper argument of a lookup expression
|
|
17206
17241
|
|
|
17207
17242
|
`PUT /v1/netsuiteDA/previewImportMappingFields` (the mapping
|
|
17208
17243
|
editor's Preview) evaluates lookups for real — resolved
|
|
@@ -17210,14 +17245,17 @@ components:
|
|
|
17210
17245
|
compile errors in `data.mappingErrors[]` — and handles
|
|
17211
17246
|
`[*]` in plain substitutions and inside a branch's output.
|
|
17212
17247
|
It does NOT apply the per-line evaluation to `[*]` used as a
|
|
17213
|
-
block-helper ARGUMENT (`{{#if line_items[*].x}}`,
|
|
17248
|
+
block-helper ARGUMENT of a lookup expression (`{{#if line_items[*].x}}`,
|
|
17214
17249
|
`{{#contains line_items[*].sku "_"}}`): the sublist comes
|
|
17215
17250
|
back EMPTY with no error, whatever the expression would do
|
|
17216
17251
|
in a run. An empty preview is therefore no evidence about
|
|
17217
|
-
such
|
|
17252
|
+
such a lookup expression — never report it as "renders nothing"
|
|
17218
17253
|
or as invalid on that basis; validate it with a run.
|
|
17219
17254
|
`<array>.@index.<field>` is likewise not evaluable in the
|
|
17220
17255
|
preview (the record is dropped with no error).
|
|
17256
|
+
A mapping row's `extract` with the same block-helper shape IS
|
|
17257
|
+
rendered per line by the preview — see
|
|
17258
|
+
`netsuite_da.mapping.lists[].fields[].extract`.
|
|
17221
17259
|
operator:
|
|
17222
17260
|
type: string
|
|
17223
17261
|
description: |-
|
package/package.json
CHANGED