@celigo/api-specs 0.2.232 → 0.2.233
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 +36 -10
- package/dist/connection.yml +36 -10
- package/dist/enduser.yml +36 -10
- package/dist/iclient.yml +10 -51
- package/dist/mcp-server.yml +36 -10
- package/dist/tool.yml +36 -10
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/api.yml
CHANGED
|
@@ -8720,8 +8720,9 @@ components:
|
|
|
8720
8720
|
description: |
|
|
8721
8721
|
NetSuite TBA token ID (encrypted at rest). Required when authType is "token".
|
|
8722
8722
|
|
|
8723
|
-
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the
|
|
8724
|
-
|
|
8723
|
+
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the Application
|
|
8724
|
+
the connection signs its requests with — `integrator.io` unless `_iClientId` names another
|
|
8725
|
+
integration record — and the user and role the connection should act as.
|
|
8725
8726
|
Must be paired with the corresponding tokenSecret.
|
|
8726
8727
|
x-celigo-ai-guidance:
|
|
8727
8728
|
- Not needed when authType is "token-auto" — integrator.io manages the token wiring in that mode.
|
|
@@ -8730,6 +8731,11 @@ components:
|
|
|
8730
8731
|
(HTTP 200, `errors[].code`, source `application`) and the save sets the connection offline;
|
|
8731
8732
|
the response carries no detail of what NetSuite refused — that detail is in NetSuite's
|
|
8732
8733
|
Login Audit Trail (the Detail column), not in the connection's error.
|
|
8734
|
+
- |-
|
|
8735
|
+
A token created for a different Application than the one the connection signs with is
|
|
8736
|
+
refused the same way, so when a freshly created token is refused, which Application it
|
|
8737
|
+
was created for is the first question; a missing iClient is not the cause on a connection
|
|
8738
|
+
that has none — it signs with Celigo's `integrator.io` record.
|
|
8733
8739
|
writeOnly: true
|
|
8734
8740
|
tokenSecret:
|
|
8735
8741
|
type: string
|
|
@@ -8748,7 +8754,11 @@ components:
|
|
|
8748
8754
|
type: string
|
|
8749
8755
|
examples:
|
|
8750
8756
|
- '1234'
|
|
8751
|
-
description:
|
|
8757
|
+
description: |-
|
|
8758
|
+
NetSuite internal id of the user (entity) whose access token the connection logs in
|
|
8759
|
+
with. On a token-authenticated connection the platform records it from the token
|
|
8760
|
+
NetSuite accepted, together with `roleId` and `roleName`; a value that still names the
|
|
8761
|
+
previous token's user after a refused login is the symptom of the refusal, not its cause.
|
|
8752
8762
|
tokenName:
|
|
8753
8763
|
type: string
|
|
8754
8764
|
examples:
|
|
@@ -8758,11 +8768,19 @@ components:
|
|
|
8758
8768
|
type: string
|
|
8759
8769
|
examples:
|
|
8760
8770
|
- '3'
|
|
8761
|
-
description:
|
|
8762
|
-
NetSuite
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
|
|
8771
|
+
description: |-
|
|
8772
|
+
NetSuite internal id of the role the connection's access token logs in as — the role
|
|
8773
|
+
selected when the token was created (`token`) or chosen on NetSuite's consent page during
|
|
8774
|
+
Save & authorize (`token-auto`). The platform records it from the token NetSuite accepted,
|
|
8775
|
+
together with `roleName` and `entityId`; the connection form has no role field for token
|
|
8776
|
+
authentication, and a value that still names the previous token's role after a refused
|
|
8777
|
+
login is the symptom of the refusal, not its cause.
|
|
8778
|
+
x-celigo-ai-guidance:
|
|
8779
|
+
- |-
|
|
8780
|
+
On a token-authenticated connection a value sent on create or update is stored but has no
|
|
8781
|
+
effect on the login — NetSuite applies the role bound to the token — and is replaced from
|
|
8782
|
+
the token at the next successful login; never write it to "match" a new token or offer
|
|
8783
|
+
to. The token is the change.
|
|
8766
8784
|
requestLevelCredentials:
|
|
8767
8785
|
type: boolean
|
|
8768
8786
|
default: false
|
|
@@ -8805,7 +8823,9 @@ components:
|
|
|
8805
8823
|
type: string
|
|
8806
8824
|
examples:
|
|
8807
8825
|
- Administrator
|
|
8808
|
-
description:
|
|
8826
|
+
description: |-
|
|
8827
|
+
Display name of the role in `roleId`, recorded with it from the token NetSuite accepted
|
|
8828
|
+
(display purposes only).
|
|
8809
8829
|
wsdlVersion:
|
|
8810
8830
|
type: string
|
|
8811
8831
|
examples:
|
|
@@ -8883,7 +8903,13 @@ components:
|
|
|
8883
8903
|
x-celigo-refModel: iclients
|
|
8884
8904
|
examples:
|
|
8885
8905
|
- 66a1b2c3d4e5f60718293a4b
|
|
8886
|
-
description:
|
|
8906
|
+
description: |-
|
|
8907
|
+
iClient holding the consumer key and secret of the NetSuite integration record the
|
|
8908
|
+
connection signs its requests with, when that record is not Celigo's own — an Integration
|
|
8909
|
+
App's record (set by the app's install) or the account's own; access tokens are then created
|
|
8910
|
+
for that record's Application. Absent on a standalone connection, which signs with Celigo's
|
|
8911
|
+
`integrator.io` record (no client ID or secret is entered anywhere) and whose access tokens
|
|
8912
|
+
must be created for Application `integrator.io`.
|
|
8887
8913
|
Salesforce:
|
|
8888
8914
|
type: object
|
|
8889
8915
|
description: |-
|
package/dist/connection.yml
CHANGED
|
@@ -4532,8 +4532,9 @@ components:
|
|
|
4532
4532
|
description: |
|
|
4533
4533
|
NetSuite TBA token ID (encrypted at rest). Required when authType is "token".
|
|
4534
4534
|
|
|
4535
|
-
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the
|
|
4536
|
-
|
|
4535
|
+
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the Application
|
|
4536
|
+
the connection signs its requests with — `integrator.io` unless `_iClientId` names another
|
|
4537
|
+
integration record — and the user and role the connection should act as.
|
|
4537
4538
|
Must be paired with the corresponding tokenSecret.
|
|
4538
4539
|
x-celigo-ai-guidance:
|
|
4539
4540
|
- Not needed when authType is "token-auto" — integrator.io manages the token wiring in that mode.
|
|
@@ -4542,6 +4543,11 @@ components:
|
|
|
4542
4543
|
(HTTP 200, `errors[].code`, source `application`) and the save sets the connection offline;
|
|
4543
4544
|
the response carries no detail of what NetSuite refused — that detail is in NetSuite's
|
|
4544
4545
|
Login Audit Trail (the Detail column), not in the connection's error.
|
|
4546
|
+
- |-
|
|
4547
|
+
A token created for a different Application than the one the connection signs with is
|
|
4548
|
+
refused the same way, so when a freshly created token is refused, which Application it
|
|
4549
|
+
was created for is the first question; a missing iClient is not the cause on a connection
|
|
4550
|
+
that has none — it signs with Celigo's `integrator.io` record.
|
|
4545
4551
|
writeOnly: true
|
|
4546
4552
|
tokenSecret:
|
|
4547
4553
|
type: string
|
|
@@ -4560,7 +4566,11 @@ components:
|
|
|
4560
4566
|
type: string
|
|
4561
4567
|
examples:
|
|
4562
4568
|
- '1234'
|
|
4563
|
-
description:
|
|
4569
|
+
description: |-
|
|
4570
|
+
NetSuite internal id of the user (entity) whose access token the connection logs in
|
|
4571
|
+
with. On a token-authenticated connection the platform records it from the token
|
|
4572
|
+
NetSuite accepted, together with `roleId` and `roleName`; a value that still names the
|
|
4573
|
+
previous token's user after a refused login is the symptom of the refusal, not its cause.
|
|
4564
4574
|
tokenName:
|
|
4565
4575
|
type: string
|
|
4566
4576
|
examples:
|
|
@@ -4570,11 +4580,19 @@ components:
|
|
|
4570
4580
|
type: string
|
|
4571
4581
|
examples:
|
|
4572
4582
|
- '3'
|
|
4573
|
-
description:
|
|
4574
|
-
NetSuite
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4583
|
+
description: |-
|
|
4584
|
+
NetSuite internal id of the role the connection's access token logs in as — the role
|
|
4585
|
+
selected when the token was created (`token`) or chosen on NetSuite's consent page during
|
|
4586
|
+
Save & authorize (`token-auto`). The platform records it from the token NetSuite accepted,
|
|
4587
|
+
together with `roleName` and `entityId`; the connection form has no role field for token
|
|
4588
|
+
authentication, and a value that still names the previous token's role after a refused
|
|
4589
|
+
login is the symptom of the refusal, not its cause.
|
|
4590
|
+
x-celigo-ai-guidance:
|
|
4591
|
+
- |-
|
|
4592
|
+
On a token-authenticated connection a value sent on create or update is stored but has no
|
|
4593
|
+
effect on the login — NetSuite applies the role bound to the token — and is replaced from
|
|
4594
|
+
the token at the next successful login; never write it to "match" a new token or offer
|
|
4595
|
+
to. The token is the change.
|
|
4578
4596
|
requestLevelCredentials:
|
|
4579
4597
|
type: boolean
|
|
4580
4598
|
default: false
|
|
@@ -4617,7 +4635,9 @@ components:
|
|
|
4617
4635
|
type: string
|
|
4618
4636
|
examples:
|
|
4619
4637
|
- Administrator
|
|
4620
|
-
description:
|
|
4638
|
+
description: |-
|
|
4639
|
+
Display name of the role in `roleId`, recorded with it from the token NetSuite accepted
|
|
4640
|
+
(display purposes only).
|
|
4621
4641
|
wsdlVersion:
|
|
4622
4642
|
type: string
|
|
4623
4643
|
examples:
|
|
@@ -4695,7 +4715,13 @@ components:
|
|
|
4695
4715
|
x-celigo-refModel: iclients
|
|
4696
4716
|
examples:
|
|
4697
4717
|
- 66a1b2c3d4e5f60718293a4b
|
|
4698
|
-
description:
|
|
4718
|
+
description: |-
|
|
4719
|
+
iClient holding the consumer key and secret of the NetSuite integration record the
|
|
4720
|
+
connection signs its requests with, when that record is not Celigo's own — an Integration
|
|
4721
|
+
App's record (set by the app's install) or the account's own; access tokens are then created
|
|
4722
|
+
for that record's Application. Absent on a standalone connection, which signs with Celigo's
|
|
4723
|
+
`integrator.io` record (no client ID or secret is entered anywhere) and whose access tokens
|
|
4724
|
+
must be created for Application `integrator.io`.
|
|
4699
4725
|
Salesforce:
|
|
4700
4726
|
type: object
|
|
4701
4727
|
description: |-
|
package/dist/enduser.yml
CHANGED
|
@@ -2557,8 +2557,9 @@ components:
|
|
|
2557
2557
|
description: |
|
|
2558
2558
|
NetSuite TBA token ID (encrypted at rest). Required when authType is "token".
|
|
2559
2559
|
|
|
2560
|
-
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the
|
|
2561
|
-
|
|
2560
|
+
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the Application
|
|
2561
|
+
the connection signs its requests with — `integrator.io` unless `_iClientId` names another
|
|
2562
|
+
integration record — and the user and role the connection should act as.
|
|
2562
2563
|
Must be paired with the corresponding tokenSecret.
|
|
2563
2564
|
x-celigo-ai-guidance:
|
|
2564
2565
|
- Not needed when authType is "token-auto" — integrator.io manages the token wiring in that mode.
|
|
@@ -2567,6 +2568,11 @@ components:
|
|
|
2567
2568
|
(HTTP 200, `errors[].code`, source `application`) and the save sets the connection offline;
|
|
2568
2569
|
the response carries no detail of what NetSuite refused — that detail is in NetSuite's
|
|
2569
2570
|
Login Audit Trail (the Detail column), not in the connection's error.
|
|
2571
|
+
- |-
|
|
2572
|
+
A token created for a different Application than the one the connection signs with is
|
|
2573
|
+
refused the same way, so when a freshly created token is refused, which Application it
|
|
2574
|
+
was created for is the first question; a missing iClient is not the cause on a connection
|
|
2575
|
+
that has none — it signs with Celigo's `integrator.io` record.
|
|
2570
2576
|
writeOnly: true
|
|
2571
2577
|
tokenSecret:
|
|
2572
2578
|
type: string
|
|
@@ -2585,7 +2591,11 @@ components:
|
|
|
2585
2591
|
type: string
|
|
2586
2592
|
examples:
|
|
2587
2593
|
- '1234'
|
|
2588
|
-
description:
|
|
2594
|
+
description: |-
|
|
2595
|
+
NetSuite internal id of the user (entity) whose access token the connection logs in
|
|
2596
|
+
with. On a token-authenticated connection the platform records it from the token
|
|
2597
|
+
NetSuite accepted, together with `roleId` and `roleName`; a value that still names the
|
|
2598
|
+
previous token's user after a refused login is the symptom of the refusal, not its cause.
|
|
2589
2599
|
tokenName:
|
|
2590
2600
|
type: string
|
|
2591
2601
|
examples:
|
|
@@ -2595,11 +2605,19 @@ components:
|
|
|
2595
2605
|
type: string
|
|
2596
2606
|
examples:
|
|
2597
2607
|
- '3'
|
|
2598
|
-
description:
|
|
2599
|
-
NetSuite
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2608
|
+
description: |-
|
|
2609
|
+
NetSuite internal id of the role the connection's access token logs in as — the role
|
|
2610
|
+
selected when the token was created (`token`) or chosen on NetSuite's consent page during
|
|
2611
|
+
Save & authorize (`token-auto`). The platform records it from the token NetSuite accepted,
|
|
2612
|
+
together with `roleName` and `entityId`; the connection form has no role field for token
|
|
2613
|
+
authentication, and a value that still names the previous token's role after a refused
|
|
2614
|
+
login is the symptom of the refusal, not its cause.
|
|
2615
|
+
x-celigo-ai-guidance:
|
|
2616
|
+
- |-
|
|
2617
|
+
On a token-authenticated connection a value sent on create or update is stored but has no
|
|
2618
|
+
effect on the login — NetSuite applies the role bound to the token — and is replaced from
|
|
2619
|
+
the token at the next successful login; never write it to "match" a new token or offer
|
|
2620
|
+
to. The token is the change.
|
|
2603
2621
|
requestLevelCredentials:
|
|
2604
2622
|
type: boolean
|
|
2605
2623
|
default: false
|
|
@@ -2642,7 +2660,9 @@ components:
|
|
|
2642
2660
|
type: string
|
|
2643
2661
|
examples:
|
|
2644
2662
|
- Administrator
|
|
2645
|
-
description:
|
|
2663
|
+
description: |-
|
|
2664
|
+
Display name of the role in `roleId`, recorded with it from the token NetSuite accepted
|
|
2665
|
+
(display purposes only).
|
|
2646
2666
|
wsdlVersion:
|
|
2647
2667
|
type: string
|
|
2648
2668
|
examples:
|
|
@@ -2720,7 +2740,13 @@ components:
|
|
|
2720
2740
|
x-celigo-refModel: iclients
|
|
2721
2741
|
examples:
|
|
2722
2742
|
- 66a1b2c3d4e5f60718293a4b
|
|
2723
|
-
description:
|
|
2743
|
+
description: |-
|
|
2744
|
+
iClient holding the consumer key and secret of the NetSuite integration record the
|
|
2745
|
+
connection signs its requests with, when that record is not Celigo's own — an Integration
|
|
2746
|
+
App's record (set by the app's install) or the account's own; access tokens are then created
|
|
2747
|
+
for that record's Application. Absent on a standalone connection, which signs with Celigo's
|
|
2748
|
+
`integrator.io` record (no client ID or secret is entered anywhere) and whose access tokens
|
|
2749
|
+
must be created for Application `integrator.io`.
|
|
2724
2750
|
Salesforce:
|
|
2725
2751
|
type: object
|
|
2726
2752
|
description: |-
|
package/dist/iclient.yml
CHANGED
|
@@ -3005,59 +3005,18 @@ components:
|
|
|
3005
3005
|
and can be referenced by resources within integrator.io through the iClient.
|
|
3006
3006
|
netsuite:
|
|
3007
3007
|
type: object
|
|
3008
|
-
description:
|
|
3008
|
+
description: |-
|
|
3009
|
+
Consumer key and consumer secret of a NetSuite integration record, for a connection that
|
|
3010
|
+
signs its requests as that record rather than as Celigo's own `integrator.io` record — an
|
|
3011
|
+
Integration App's record (its install creates the iClient) or one the account created. A
|
|
3012
|
+
standalone NetSuite connection references no iClient; its access tokens are created for
|
|
3013
|
+
Application `integrator.io`.
|
|
3009
3014
|
x-celigo-ai-guidance:
|
|
3010
3015
|
- |-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
- |-
|
|
3016
|
-
## IMPORTANT NOTES:
|
|
3017
|
-
- Incorrect or outdated credentials will prevent successful integration.
|
|
3018
|
-
- NetSuite API limits and governance should be considered to avoid throttling.
|
|
3019
|
-
- Regularly review and rotate credentials to maintain security.
|
|
3020
|
-
- Integration may require specific permissions within NetSuite roles.
|
|
3021
|
-
- |-
|
|
3022
|
-
## IMPLEMENTATION GUIDANCE:
|
|
3023
|
-
- Ensure sensitive credentials are stored securely and encrypted.
|
|
3024
|
-
- Validate all required fields before attempting connection to NetSuite.
|
|
3025
|
-
- Support environment-specific configurations (e.g., sandbox vs. production).
|
|
3026
|
-
- Handle error responses gracefully to maintain integration stability.
|
|
3027
|
-
- Keep the configuration up to date with NetSuite API version changes.
|
|
3028
|
-
- |-
|
|
3029
|
-
## TECHNICAL DETAILS:
|
|
3030
|
-
- Typically includes OAuth 1.0a or token-based authentication parameters.
|
|
3031
|
-
- May require JSON or XML formatted configuration data.
|
|
3032
|
-
- Supports both REST and SOAP API protocols depending on use case.
|
|
3033
|
-
- Configuration format should align with NetSuite's API specification requirements.
|
|
3034
|
-
- |-
|
|
3035
|
-
## FIELD BEHAVIOR:
|
|
3036
|
-
- Holds all necessary information to authenticate and communicate with NetSuite APIs.
|
|
3037
|
-
- Used to configure integration settings such as account ID, role, and environment.
|
|
3038
|
-
- Enables data exchange between the application and NetSuite for operations like record creation, updates, and queries.
|
|
3039
|
-
- May support multiple authentication methods, including token-based and OAuth.
|
|
3040
|
-
- |-
|
|
3041
|
-
## EXAMPLES:
|
|
3042
|
-
- API credentials including consumer key, consumer secret, token ID, and token secret.
|
|
3043
|
-
- Account ID and role ID for specifying the NetSuite account and user role.
|
|
3044
|
-
- URLs for NetSuite REST or SOAP API endpoints.
|
|
3045
|
-
- Flags or settings indicating sandbox or production environment.
|
|
3046
|
-
- |-
|
|
3047
|
-
## DEPENDENCY CHAIN:
|
|
3048
|
-
- Dependent on secure storage mechanisms for credentials.
|
|
3049
|
-
- Relies on network connectivity to NetSuite services.
|
|
3050
|
-
- May depend on other configuration properties like logging or retry policies.
|
|
3051
|
-
- |-
|
|
3052
|
-
Configuration settings and credentials required to integrate with the NetSuite platform,
|
|
3053
|
-
enabling seamless data synchronization and interaction with NetSuite's ERP and CRM services.
|
|
3054
|
-
This property typically includes authentication details, API endpoints,
|
|
3055
|
-
and any necessary parameters for establishing a secure connection.
|
|
3056
|
-
- |-
|
|
3057
|
-
Configuration settings and credentials required to integrate with the NetSuite platform,
|
|
3058
|
-
enabling seamless data synchronization and interaction with NetSuite's ERP and CRM services.
|
|
3059
|
-
This property typically includes authentication details, API endpoints,
|
|
3060
|
-
and any necessary parameters for establishing a secure connection.
|
|
3016
|
+
A connection that references a NetSuite iClient needs access tokens created for that
|
|
3017
|
+
record's Application; a connection without one needs tokens created for `integrator.io`.
|
|
3018
|
+
A missing iClient is not why a connection that has none is refused with
|
|
3019
|
+
`invalid_login_attempt`.
|
|
3061
3020
|
properties:
|
|
3062
3021
|
consumerKey:
|
|
3063
3022
|
type: string
|
package/dist/mcp-server.yml
CHANGED
|
@@ -5605,8 +5605,9 @@ components:
|
|
|
5605
5605
|
description: |
|
|
5606
5606
|
NetSuite TBA token ID (encrypted at rest). Required when authType is "token".
|
|
5607
5607
|
|
|
5608
|
-
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the
|
|
5609
|
-
|
|
5608
|
+
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the Application
|
|
5609
|
+
the connection signs its requests with — `integrator.io` unless `_iClientId` names another
|
|
5610
|
+
integration record — and the user and role the connection should act as.
|
|
5610
5611
|
Must be paired with the corresponding tokenSecret.
|
|
5611
5612
|
x-celigo-ai-guidance:
|
|
5612
5613
|
- Not needed when authType is "token-auto" — integrator.io manages the token wiring in that mode.
|
|
@@ -5615,6 +5616,11 @@ components:
|
|
|
5615
5616
|
(HTTP 200, `errors[].code`, source `application`) and the save sets the connection offline;
|
|
5616
5617
|
the response carries no detail of what NetSuite refused — that detail is in NetSuite's
|
|
5617
5618
|
Login Audit Trail (the Detail column), not in the connection's error.
|
|
5619
|
+
- |-
|
|
5620
|
+
A token created for a different Application than the one the connection signs with is
|
|
5621
|
+
refused the same way, so when a freshly created token is refused, which Application it
|
|
5622
|
+
was created for is the first question; a missing iClient is not the cause on a connection
|
|
5623
|
+
that has none — it signs with Celigo's `integrator.io` record.
|
|
5618
5624
|
writeOnly: true
|
|
5619
5625
|
tokenSecret:
|
|
5620
5626
|
type: string
|
|
@@ -5633,7 +5639,11 @@ components:
|
|
|
5633
5639
|
type: string
|
|
5634
5640
|
examples:
|
|
5635
5641
|
- '1234'
|
|
5636
|
-
description:
|
|
5642
|
+
description: |-
|
|
5643
|
+
NetSuite internal id of the user (entity) whose access token the connection logs in
|
|
5644
|
+
with. On a token-authenticated connection the platform records it from the token
|
|
5645
|
+
NetSuite accepted, together with `roleId` and `roleName`; a value that still names the
|
|
5646
|
+
previous token's user after a refused login is the symptom of the refusal, not its cause.
|
|
5637
5647
|
tokenName:
|
|
5638
5648
|
type: string
|
|
5639
5649
|
examples:
|
|
@@ -5643,11 +5653,19 @@ components:
|
|
|
5643
5653
|
type: string
|
|
5644
5654
|
examples:
|
|
5645
5655
|
- '3'
|
|
5646
|
-
description:
|
|
5647
|
-
NetSuite
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5656
|
+
description: |-
|
|
5657
|
+
NetSuite internal id of the role the connection's access token logs in as — the role
|
|
5658
|
+
selected when the token was created (`token`) or chosen on NetSuite's consent page during
|
|
5659
|
+
Save & authorize (`token-auto`). The platform records it from the token NetSuite accepted,
|
|
5660
|
+
together with `roleName` and `entityId`; the connection form has no role field for token
|
|
5661
|
+
authentication, and a value that still names the previous token's role after a refused
|
|
5662
|
+
login is the symptom of the refusal, not its cause.
|
|
5663
|
+
x-celigo-ai-guidance:
|
|
5664
|
+
- |-
|
|
5665
|
+
On a token-authenticated connection a value sent on create or update is stored but has no
|
|
5666
|
+
effect on the login — NetSuite applies the role bound to the token — and is replaced from
|
|
5667
|
+
the token at the next successful login; never write it to "match" a new token or offer
|
|
5668
|
+
to. The token is the change.
|
|
5651
5669
|
requestLevelCredentials:
|
|
5652
5670
|
type: boolean
|
|
5653
5671
|
default: false
|
|
@@ -5690,7 +5708,9 @@ components:
|
|
|
5690
5708
|
type: string
|
|
5691
5709
|
examples:
|
|
5692
5710
|
- Administrator
|
|
5693
|
-
description:
|
|
5711
|
+
description: |-
|
|
5712
|
+
Display name of the role in `roleId`, recorded with it from the token NetSuite accepted
|
|
5713
|
+
(display purposes only).
|
|
5694
5714
|
wsdlVersion:
|
|
5695
5715
|
type: string
|
|
5696
5716
|
examples:
|
|
@@ -5768,7 +5788,13 @@ components:
|
|
|
5768
5788
|
x-celigo-refModel: iclients
|
|
5769
5789
|
examples:
|
|
5770
5790
|
- 66a1b2c3d4e5f60718293a4b
|
|
5771
|
-
description:
|
|
5791
|
+
description: |-
|
|
5792
|
+
iClient holding the consumer key and secret of the NetSuite integration record the
|
|
5793
|
+
connection signs its requests with, when that record is not Celigo's own — an Integration
|
|
5794
|
+
App's record (set by the app's install) or the account's own; access tokens are then created
|
|
5795
|
+
for that record's Application. Absent on a standalone connection, which signs with Celigo's
|
|
5796
|
+
`integrator.io` record (no client ID or secret is entered anywhere) and whose access tokens
|
|
5797
|
+
must be created for Application `integrator.io`.
|
|
5772
5798
|
Salesforce:
|
|
5773
5799
|
type: object
|
|
5774
5800
|
description: |-
|
package/dist/tool.yml
CHANGED
|
@@ -8087,8 +8087,9 @@ components:
|
|
|
8087
8087
|
description: |
|
|
8088
8088
|
NetSuite TBA token ID (encrypted at rest). Required when authType is "token".
|
|
8089
8089
|
|
|
8090
|
-
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the
|
|
8091
|
-
|
|
8090
|
+
Generated in NetSuite under Setup > Users/Roles > Access Tokens, for the Application
|
|
8091
|
+
the connection signs its requests with — `integrator.io` unless `_iClientId` names another
|
|
8092
|
+
integration record — and the user and role the connection should act as.
|
|
8092
8093
|
Must be paired with the corresponding tokenSecret.
|
|
8093
8094
|
x-celigo-ai-guidance:
|
|
8094
8095
|
- Not needed when authType is "token-auto" — integrator.io manages the token wiring in that mode.
|
|
@@ -8097,6 +8098,11 @@ components:
|
|
|
8097
8098
|
(HTTP 200, `errors[].code`, source `application`) and the save sets the connection offline;
|
|
8098
8099
|
the response carries no detail of what NetSuite refused — that detail is in NetSuite's
|
|
8099
8100
|
Login Audit Trail (the Detail column), not in the connection's error.
|
|
8101
|
+
- |-
|
|
8102
|
+
A token created for a different Application than the one the connection signs with is
|
|
8103
|
+
refused the same way, so when a freshly created token is refused, which Application it
|
|
8104
|
+
was created for is the first question; a missing iClient is not the cause on a connection
|
|
8105
|
+
that has none — it signs with Celigo's `integrator.io` record.
|
|
8100
8106
|
writeOnly: true
|
|
8101
8107
|
tokenSecret:
|
|
8102
8108
|
type: string
|
|
@@ -8115,7 +8121,11 @@ components:
|
|
|
8115
8121
|
type: string
|
|
8116
8122
|
examples:
|
|
8117
8123
|
- '1234'
|
|
8118
|
-
description:
|
|
8124
|
+
description: |-
|
|
8125
|
+
NetSuite internal id of the user (entity) whose access token the connection logs in
|
|
8126
|
+
with. On a token-authenticated connection the platform records it from the token
|
|
8127
|
+
NetSuite accepted, together with `roleId` and `roleName`; a value that still names the
|
|
8128
|
+
previous token's user after a refused login is the symptom of the refusal, not its cause.
|
|
8119
8129
|
tokenName:
|
|
8120
8130
|
type: string
|
|
8121
8131
|
examples:
|
|
@@ -8125,11 +8135,19 @@ components:
|
|
|
8125
8135
|
type: string
|
|
8126
8136
|
examples:
|
|
8127
8137
|
- '3'
|
|
8128
|
-
description:
|
|
8129
|
-
NetSuite
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
|
|
8138
|
+
description: |-
|
|
8139
|
+
NetSuite internal id of the role the connection's access token logs in as — the role
|
|
8140
|
+
selected when the token was created (`token`) or chosen on NetSuite's consent page during
|
|
8141
|
+
Save & authorize (`token-auto`). The platform records it from the token NetSuite accepted,
|
|
8142
|
+
together with `roleName` and `entityId`; the connection form has no role field for token
|
|
8143
|
+
authentication, and a value that still names the previous token's role after a refused
|
|
8144
|
+
login is the symptom of the refusal, not its cause.
|
|
8145
|
+
x-celigo-ai-guidance:
|
|
8146
|
+
- |-
|
|
8147
|
+
On a token-authenticated connection a value sent on create or update is stored but has no
|
|
8148
|
+
effect on the login — NetSuite applies the role bound to the token — and is replaced from
|
|
8149
|
+
the token at the next successful login; never write it to "match" a new token or offer
|
|
8150
|
+
to. The token is the change.
|
|
8133
8151
|
requestLevelCredentials:
|
|
8134
8152
|
type: boolean
|
|
8135
8153
|
default: false
|
|
@@ -8172,7 +8190,9 @@ components:
|
|
|
8172
8190
|
type: string
|
|
8173
8191
|
examples:
|
|
8174
8192
|
- Administrator
|
|
8175
|
-
description:
|
|
8193
|
+
description: |-
|
|
8194
|
+
Display name of the role in `roleId`, recorded with it from the token NetSuite accepted
|
|
8195
|
+
(display purposes only).
|
|
8176
8196
|
wsdlVersion:
|
|
8177
8197
|
type: string
|
|
8178
8198
|
examples:
|
|
@@ -8250,7 +8270,13 @@ components:
|
|
|
8250
8270
|
x-celigo-refModel: iclients
|
|
8251
8271
|
examples:
|
|
8252
8272
|
- 66a1b2c3d4e5f60718293a4b
|
|
8253
|
-
description:
|
|
8273
|
+
description: |-
|
|
8274
|
+
iClient holding the consumer key and secret of the NetSuite integration record the
|
|
8275
|
+
connection signs its requests with, when that record is not Celigo's own — an Integration
|
|
8276
|
+
App's record (set by the app's install) or the account's own; access tokens are then created
|
|
8277
|
+
for that record's Application. Absent on a standalone connection, which signs with Celigo's
|
|
8278
|
+
`integrator.io` record (no client ID or secret is entered anywhere) and whose access tokens
|
|
8279
|
+
must be created for Application `integrator.io`.
|
|
8254
8280
|
Salesforce:
|
|
8255
8281
|
type: object
|
|
8256
8282
|
description: |-
|
package/package.json
CHANGED