@smartbooks-ai/n8n-nodes-api 0.1.0 → 0.1.2
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/README.md +1 -1
- package/dist/credentials/SmartbooksOAuth2Api.credentials.js +5 -15
- package/dist/credentials/SmartbooksOAuth2Api.credentials.js.map +1 -1
- package/dist/nodes/SmartbooksApi/SmartbooksApi.node.js +1 -1
- package/dist/nodes/SmartbooksApi/SmartbooksApi.node.js.map +1 -1
- package/dist/nodes/SmartbooksApi/properties.js +0 -653
- package/dist/nodes/SmartbooksApi/properties.js.map +1 -1
- package/dist/package.json +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ The node supports these Smartbooks resources and their operations:
|
|
|
30
30
|
|
|
31
31
|
- **App** – app-related operations
|
|
32
32
|
- **Input** – e.g. batch input (by year and period)
|
|
33
|
-
- **Intercompany Matching** – retrieve
|
|
33
|
+
- **Intercompany Matching** – retrieve intercompany matching information
|
|
34
34
|
- **Module** – module operations
|
|
35
35
|
- **Profile** – profile operations
|
|
36
36
|
- **Reporting** – reporting operations
|
|
@@ -9,45 +9,35 @@ class SmartbooksOAuth2Api {
|
|
|
9
9
|
this.documentationUrl = 'https://app.smartbooks.ai/docs';
|
|
10
10
|
this.extends = ['oAuth2Api'];
|
|
11
11
|
this.properties = [
|
|
12
|
-
{
|
|
13
|
-
displayName: 'Environment',
|
|
14
|
-
name: 'environment',
|
|
15
|
-
type: 'hidden',
|
|
16
|
-
default: 'dev',
|
|
17
|
-
options: [
|
|
18
|
-
{ name: 'Production', value: 'prod' },
|
|
19
|
-
{ name: 'Development', value: 'dev' },
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
12
|
{
|
|
23
13
|
displayName: 'Auth URL',
|
|
24
14
|
name: 'authUrl',
|
|
25
15
|
type: 'hidden',
|
|
26
|
-
default: '
|
|
16
|
+
default: 'https://login.smartbooks.ai/authorize',
|
|
27
17
|
},
|
|
28
18
|
{
|
|
29
19
|
displayName: 'Access Token URL',
|
|
30
20
|
name: 'accessTokenUrl',
|
|
31
21
|
type: 'hidden',
|
|
32
|
-
default: '
|
|
22
|
+
default: 'https://login.smartbooks.ai/oauth/token',
|
|
33
23
|
},
|
|
34
24
|
{
|
|
35
25
|
displayName: 'Auth URI Query Parameters',
|
|
36
26
|
name: 'authQueryParameters',
|
|
37
27
|
type: 'hidden',
|
|
38
|
-
default: '
|
|
28
|
+
default: 'audience=https://api.smartbooks.ai/',
|
|
39
29
|
},
|
|
40
30
|
{
|
|
41
31
|
displayName: 'API Base URL',
|
|
42
32
|
name: 'baseURL',
|
|
43
33
|
type: 'hidden',
|
|
44
|
-
default: '
|
|
34
|
+
default: 'https://app.smartbooks.ai',
|
|
45
35
|
},
|
|
46
36
|
{
|
|
47
37
|
displayName: 'Scope',
|
|
48
38
|
name: 'scope',
|
|
49
39
|
type: 'hidden',
|
|
50
|
-
default: 'profile:read openid profile offline_access input:write reporting:read
|
|
40
|
+
default: 'profile:read openid profile offline_access input:write reporting:read modeling:read modeling:write'
|
|
51
41
|
},
|
|
52
42
|
{
|
|
53
43
|
displayName: 'Authentication',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmartbooksOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/SmartbooksOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAMA,MAAa,mBAAmB;IAAhC;QACC,SAAI,GAAG,qBAAqB,CAAC;QAE7B,gBAAW,GAAG,uBAAuB,CAAC;QAEtC,SAAI,GAAS,EAAE,KAAK,EAAE,wBAAwB,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC;QAEtF,qBAAgB,GAAG,gCAAgC,CAAC;QAEpD,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"SmartbooksOAuth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
|
1
|
-
{"version":3,"file":"SmartbooksApi.node.js","sourceRoot":"","sources":["../../../nodes/SmartbooksApi/SmartbooksApi.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,6CAA6C;AAE7C,MAAa,aAAa;IAA1B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,6BAA6B;YACnC,YAAY,EAAE,IAAI;YAClB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,iEAAiE;YAC3E,WAAW,EAAE,8BAA8B;YAC3C,QAAQ,EAAE;gBACT,IAAI,EAAE,gBAAgB;aACtB;YACD,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,qBAAqB;oBAC3B,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;gBACD,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"SmartbooksApi.node.js","sourceRoot":"","sources":["../../../nodes/SmartbooksApi/SmartbooksApi.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,6CAA6C;AAE7C,MAAa,aAAa;IAA1B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,6BAA6B;YACnC,YAAY,EAAE,IAAI;YAClB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,iEAAiE;YAC3E,WAAW,EAAE,8BAA8B;YAC3C,QAAQ,EAAE;gBACT,IAAI,EAAE,gBAAgB;aACtB;YACD,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,qBAAqB;oBAC3B,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;gBACD,OAAO,EAAE,2BAA2B;aACpC;YACD,UAAU,EAAE,0BAAa;SACzB,CAAC;IACH,CAAC;CAAA;AA9BD,sCA8BC"}
|