zudello-execute-local 1.0.35 → 1.0.37
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/index.js +5 -2
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -118,6 +118,7 @@ const runScript = async (handler, source, object, loggerMode) => {
|
|
|
118
118
|
api_url: process.env.AUTH_API_URL,
|
|
119
119
|
api_version: process.env.AUTH_API_VERSION,
|
|
120
120
|
external_api_url: process.env.AUTH_EXTERNAL_API_URL,
|
|
121
|
+
auth_api_url: process.env.AUTH_AUTH_API_URL
|
|
121
122
|
};
|
|
122
123
|
|
|
123
124
|
const externalIntegrationName = process.env.EXTERNAL_INTEGRATION_NAME;
|
|
@@ -132,8 +133,9 @@ const runScript = async (handler, source, object, loggerMode) => {
|
|
|
132
133
|
`;
|
|
133
134
|
|
|
134
135
|
const triggerZudello = `
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
const Zudello = new ZudelloSDK(auth, '${authData.organization_uuid}', '${authData.api_url}', '${authData.api_version}', logger)
|
|
137
|
+
const ZudelloAuth = new ZudelloAuthSDK(auth, '${authData.organization_uuid}', '${authData.auth_api_url}', '${authData.api_version}', logger)
|
|
138
|
+
`;
|
|
137
139
|
|
|
138
140
|
let triggerExternal = "";
|
|
139
141
|
|
|
@@ -229,6 +231,7 @@ const runScript = async (handler, source, object, loggerMode) => {
|
|
|
229
231
|
const {
|
|
230
232
|
Auth,
|
|
231
233
|
ZudelloSDK,
|
|
234
|
+
ZudelloAuthSDK,
|
|
232
235
|
NetsuiteSDK,
|
|
233
236
|
NetsuiteSoapSDK,
|
|
234
237
|
IntacctSDK,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zudello-execute-local",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.37",
|
|
4
4
|
"description": "Zudello Execute tool for local runs",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"performance-now": "^2.1.0",
|
|
21
21
|
"vm2": "^3.9.19",
|
|
22
22
|
"yargs": "^17.7.2",
|
|
23
|
-
"zudello-integration-sdk": "^1.0.
|
|
23
|
+
"zudello-integration-sdk": "^1.0.43"
|
|
24
24
|
}
|
|
25
25
|
}
|