n8n-nodes-smartsuite 2.0.6
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/LICENSE +21 -0
- package/README.md +163 -0
- package/dist/credentials/SmartSuiteApi.credentials.d.ts +8 -0
- package/dist/credentials/SmartSuiteApi.credentials.js +38 -0
- package/dist/credentials/SmartSuiteApi.credentials.js.map +1 -0
- package/dist/credentials/SmartSuiteApi.svg +6 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/nodes/SmartSuite/SmartSuite.node.d.ts +27 -0
- package/dist/nodes/SmartSuite/SmartSuite.node.js +108 -0
- package/dist/nodes/SmartSuite/SmartSuite.node.js.map +1 -0
- package/dist/nodes/SmartSuite/SmartSuite.node.json +48 -0
- package/dist/nodes/SmartSuite/SmartSuiteTrigger.node.d.ts +23 -0
- package/dist/nodes/SmartSuite/SmartSuiteTrigger.node.js +173 -0
- package/dist/nodes/SmartSuite/SmartSuiteTrigger.node.js.map +1 -0
- package/dist/nodes/SmartSuite/SmartSuiteTrigger.node.json +14 -0
- package/dist/nodes/SmartSuite/__tests__/actions/api/makeApiRequest.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/api/makeApiRequest.test.js +74 -0
- package/dist/nodes/SmartSuite/__tests__/actions/api/makeApiRequest.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/orgManagement/getCurrentUser.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/orgManagement/getCurrentUser.test.js +22 -0
- package/dist/nodes/SmartSuite/__tests__/actions/orgManagement/getCurrentUser.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/orgManagement/listMembers.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/orgManagement/listMembers.test.js +70 -0
- package/dist/nodes/SmartSuite/__tests__/actions/orgManagement/listMembers.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/orgManagement/listTeams.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/orgManagement/listTeams.test.js +43 -0
- package/dist/nodes/SmartSuite/__tests__/actions/orgManagement/listTeams.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/createRecord.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/createRecord.test.js +178 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/createRecord.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/deleteRecord.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/deleteRecord.test.js +159 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/deleteRecord.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/getRecord.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/getRecord.test.js +127 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/getRecord.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/listRecord.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/listRecord.test.js +162 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/listRecord.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/searchRecord.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/searchRecord.test.js +210 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/searchRecord.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/updateRecord.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/updateRecord.test.js +198 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/updateRecord.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/upsertRecord.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/upsertRecord.test.js +138 -0
- package/dist/nodes/SmartSuite/__tests__/actions/record/upsertRecord.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/solution/getSolution.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/solution/getSolution.test.js +57 -0
- package/dist/nodes/SmartSuite/__tests__/actions/solution/getSolution.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/solution/listSolution.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/solution/listSolution.test.js +48 -0
- package/dist/nodes/SmartSuite/__tests__/actions/solution/listSolution.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/createTable.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/createTable.test.js +50 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/createTable.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/createTableField.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/createTableField.test.js +93 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/createTableField.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/getTable.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/getTable.test.js +70 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/getTable.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/listTable.test.d.ts +1 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/listTable.test.js +78 -0
- package/dist/nodes/SmartSuite/__tests__/actions/table/listTable.test.js.map +1 -0
- package/dist/nodes/SmartSuite/__tests__/helpers/mockResourceInputs.d.ts +10 -0
- package/dist/nodes/SmartSuite/__tests__/helpers/mockResourceInputs.js +26 -0
- package/dist/nodes/SmartSuite/__tests__/helpers/mockResourceInputs.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/api/ApiRequestDescription.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/api/ApiRequestDescription.js +185 -0
- package/dist/nodes/SmartSuite/actions/api/ApiRequestDescription.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/api/makeApiRequest.operation.d.ts +3 -0
- package/dist/nodes/SmartSuite/actions/api/makeApiRequest.operation.js +65 -0
- package/dist/nodes/SmartSuite/actions/api/makeApiRequest.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/OrgManagementDescription.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/OrgManagementDescription.js +21 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/OrgManagementDescription.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/getCurrentUser.operation.d.ts +18 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/getCurrentUser.operation.js +39 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/getCurrentUser.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/listMembers.operation.d.ts +18 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/listMembers.operation.js +41 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/listMembers.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/listTeams.operation.d.ts +18 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/listTeams.operation.js +41 -0
- package/dist/nodes/SmartSuite/actions/orgManagement/listTeams.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/record/RecordDescription.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/record/RecordDescription.js +370 -0
- package/dist/nodes/SmartSuite/actions/record/RecordDescription.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/record/createRecord.operation.d.ts +87 -0
- package/dist/nodes/SmartSuite/actions/record/createRecord.operation.js +55 -0
- package/dist/nodes/SmartSuite/actions/record/createRecord.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/record/deleteRecord.operation.d.ts +24 -0
- package/dist/nodes/SmartSuite/actions/record/deleteRecord.operation.js +49 -0
- package/dist/nodes/SmartSuite/actions/record/deleteRecord.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/record/getRecord.operation.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/record/getRecord.operation.js +31 -0
- package/dist/nodes/SmartSuite/actions/record/getRecord.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/record/listRecord.operation.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/record/listRecord.operation.js +52 -0
- package/dist/nodes/SmartSuite/actions/record/listRecord.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/record/searchRecord.operation.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/record/searchRecord.operation.js +77 -0
- package/dist/nodes/SmartSuite/actions/record/searchRecord.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/record/updateRecord.operation.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/record/updateRecord.operation.js +42 -0
- package/dist/nodes/SmartSuite/actions/record/updateRecord.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/record/upsertRecord.operation.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/record/upsertRecord.operation.js +66 -0
- package/dist/nodes/SmartSuite/actions/record/upsertRecord.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/solution/SolutionDescription.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/solution/SolutionDescription.js +54 -0
- package/dist/nodes/SmartSuite/actions/solution/SolutionDescription.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/solution/getSolution.operation.d.ts +3 -0
- package/dist/nodes/SmartSuite/actions/solution/getSolution.operation.js +25 -0
- package/dist/nodes/SmartSuite/actions/solution/getSolution.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/solution/listSolution.operation.d.ts +3 -0
- package/dist/nodes/SmartSuite/actions/solution/listSolution.operation.js +54 -0
- package/dist/nodes/SmartSuite/actions/solution/listSolution.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/table/TableDescription.d.ts +6 -0
- package/dist/nodes/SmartSuite/actions/table/TableDescription.js +153 -0
- package/dist/nodes/SmartSuite/actions/table/TableDescription.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/table/createTable.operation.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/table/createTable.operation.js +45 -0
- package/dist/nodes/SmartSuite/actions/table/createTable.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/table/createTableField.operation.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/table/createTableField.operation.js +49 -0
- package/dist/nodes/SmartSuite/actions/table/createTableField.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/table/getTable.operation.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/table/getTable.operation.js +23 -0
- package/dist/nodes/SmartSuite/actions/table/getTable.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/actions/table/listTable.operation.d.ts +2 -0
- package/dist/nodes/SmartSuite/actions/table/listTable.operation.js +42 -0
- package/dist/nodes/SmartSuite/actions/table/listTable.operation.js.map +1 -0
- package/dist/nodes/SmartSuite/helpers/getFilterOptions.d.ts +11 -0
- package/dist/nodes/SmartSuite/helpers/getFilterOptions.js +376 -0
- package/dist/nodes/SmartSuite/helpers/getFilterOptions.js.map +1 -0
- package/dist/nodes/SmartSuite/helpers/getValidFilters.d.ts +6 -0
- package/dist/nodes/SmartSuite/helpers/getValidFilters.js +47 -0
- package/dist/nodes/SmartSuite/helpers/getValidFilters.js.map +1 -0
- package/dist/nodes/SmartSuite/helpers/utils.d.ts +21 -0
- package/dist/nodes/SmartSuite/helpers/utils.js +62 -0
- package/dist/nodes/SmartSuite/helpers/utils.js.map +1 -0
- package/dist/nodes/SmartSuite/helpers/validation.d.ts +9 -0
- package/dist/nodes/SmartSuite/helpers/validation.js +41 -0
- package/dist/nodes/SmartSuite/helpers/validation.js.map +1 -0
- package/dist/nodes/SmartSuite/index.d.ts +2 -0
- package/dist/nodes/SmartSuite/index.js +12 -0
- package/dist/nodes/SmartSuite/index.js.map +1 -0
- package/dist/nodes/SmartSuite/methods/listSearch.d.ts +11 -0
- package/dist/nodes/SmartSuite/methods/listSearch.js +81 -0
- package/dist/nodes/SmartSuite/methods/listSearch.js.map +1 -0
- package/dist/nodes/SmartSuite/methods/loadOptions.d.ts +30 -0
- package/dist/nodes/SmartSuite/methods/loadOptions.js +133 -0
- package/dist/nodes/SmartSuite/methods/loadOptions.js.map +1 -0
- package/dist/nodes/SmartSuite/methods/resourceMapping.d.ts +48 -0
- package/dist/nodes/SmartSuite/methods/resourceMapping.js +122 -0
- package/dist/nodes/SmartSuite/methods/resourceMapping.js.map +1 -0
- package/dist/nodes/SmartSuite/methods/router.d.ts +2 -0
- package/dist/nodes/SmartSuite/methods/router.js +65 -0
- package/dist/nodes/SmartSuite/methods/router.js.map +1 -0
- package/dist/nodes/SmartSuite/shared/__testHelpers__/mockExecuteFunctions.d.ts +9 -0
- package/dist/nodes/SmartSuite/shared/__testHelpers__/mockExecuteFunctions.js +84 -0
- package/dist/nodes/SmartSuite/shared/__testHelpers__/mockExecuteFunctions.js.map +1 -0
- package/dist/nodes/SmartSuite/shared/resourceInputs.d.ts +15 -0
- package/dist/nodes/SmartSuite/shared/resourceInputs.js +112 -0
- package/dist/nodes/SmartSuite/shared/resourceInputs.js.map +1 -0
- package/dist/nodes/SmartSuite/smartsuite.svg +6 -0
- package/dist/nodes/SmartSuite/transport/smartSuiteApi.d.ts +12 -0
- package/dist/nodes/SmartSuite/transport/smartSuiteApi.js +111 -0
- package/dist/nodes/SmartSuite/transport/smartSuiteApi.js.map +1 -0
- package/dist/nodes/SmartSuite/types.d.ts +11 -0
- package/dist/nodes/SmartSuite/types.js +4 -0
- package/dist/nodes/SmartSuite/types.js.map +1 -0
- package/package.json +99 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// src/nodes/SmartSuite/shared/resourceInputs.ts
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.fieldsInput = exports.tableInput = exports.solutionInput = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* Re-usable “Solution” input with Fixed | Expression toggle enabled.
|
|
7
|
+
*/
|
|
8
|
+
exports.solutionInput = {
|
|
9
|
+
displayName: 'Solution',
|
|
10
|
+
name: 'solutionId',
|
|
11
|
+
type: 'resourceLocator',
|
|
12
|
+
noDataExpression: false,
|
|
13
|
+
default: { mode: 'list', value: '' },
|
|
14
|
+
modes: [
|
|
15
|
+
{
|
|
16
|
+
name: 'list',
|
|
17
|
+
displayName: 'From list',
|
|
18
|
+
type: 'list',
|
|
19
|
+
placeholder: 'Choose a solution…',
|
|
20
|
+
typeOptions: { searchListMethod: 'solutionSearch', searchable: true },
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'id',
|
|
24
|
+
displayName: 'By ID',
|
|
25
|
+
type: 'string',
|
|
26
|
+
placeholder: 'e.g. Solution ID',
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
description: 'Select the Solution',
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Re-usable “Table” input with Fixed | Expression toggle enabled.
|
|
33
|
+
* Clears & reloads whenever `solutionId.value` changes.
|
|
34
|
+
*/
|
|
35
|
+
exports.tableInput = {
|
|
36
|
+
displayName: 'Table',
|
|
37
|
+
name: 'tableId',
|
|
38
|
+
type: 'resourceLocator',
|
|
39
|
+
noDataExpression: false,
|
|
40
|
+
default: { mode: 'list', value: '' },
|
|
41
|
+
typeOptions: { loadOptionsDependsOn: ['solutionId.value'] },
|
|
42
|
+
modes: [
|
|
43
|
+
{
|
|
44
|
+
name: 'list',
|
|
45
|
+
displayName: 'From list',
|
|
46
|
+
type: 'list',
|
|
47
|
+
placeholder: 'Choose a table…',
|
|
48
|
+
typeOptions: { searchListMethod: 'tableSearch', searchable: true },
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'id',
|
|
52
|
+
displayName: 'By ID',
|
|
53
|
+
type: 'string',
|
|
54
|
+
placeholder: 'e.g. Table ID',
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
description: 'Select the Table',
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Re-usable “Fields” input for record-create/update operations.
|
|
61
|
+
* Clears & reloads whenever `solutionId.value` or `tableId.value` changes.
|
|
62
|
+
*/
|
|
63
|
+
exports.fieldsInput = {
|
|
64
|
+
displayName: 'Fields',
|
|
65
|
+
name: 'fieldsUi',
|
|
66
|
+
type: 'fixedCollection',
|
|
67
|
+
placeholder: 'Add Field',
|
|
68
|
+
typeOptions: { multipleValues: true },
|
|
69
|
+
default: { fieldsValues: [] },
|
|
70
|
+
description: 'Add fields when creating or updating a record',
|
|
71
|
+
options: [
|
|
72
|
+
{
|
|
73
|
+
name: 'fieldsValues',
|
|
74
|
+
displayName: 'Field',
|
|
75
|
+
values: [
|
|
76
|
+
{
|
|
77
|
+
displayName: 'Field',
|
|
78
|
+
name: 'field',
|
|
79
|
+
type: 'resourceLocator',
|
|
80
|
+
noDataExpression: true,
|
|
81
|
+
default: { mode: 'list', value: '' },
|
|
82
|
+
placeholder: 'Choose a field…',
|
|
83
|
+
typeOptions: { loadOptionsDependsOn: ['solutionId.value', 'tableId.value'], searchListMethod: 'searchTableFieldsMutable', searchable: true },
|
|
84
|
+
modes: [
|
|
85
|
+
{
|
|
86
|
+
name: 'list',
|
|
87
|
+
displayName: 'From list',
|
|
88
|
+
type: 'list',
|
|
89
|
+
placeholder: 'Choose a field…',
|
|
90
|
+
typeOptions: { searchListMethod: 'searchTableFieldsMutable', searchable: true },
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: 'id',
|
|
94
|
+
displayName: 'By ID',
|
|
95
|
+
type: 'string',
|
|
96
|
+
placeholder: 'Field ID',
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
description: 'Select a field to set',
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
displayName: 'Value',
|
|
103
|
+
name: 'value',
|
|
104
|
+
type: 'string',
|
|
105
|
+
default: '',
|
|
106
|
+
description: 'Value to assign to that field',
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
};
|
|
112
|
+
//# sourceMappingURL=resourceInputs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceInputs.js","sourceRoot":"","sources":["../../../../src/nodes/SmartSuite/shared/resourceInputs.ts"],"names":[],"mappings":";AAAA,gDAAgD;;;AAIhD;;GAEG;AACU,QAAA,aAAa,GAAoB;IAC5C,WAAW,EAAO,UAAU;IAC5B,IAAI,EAAc,YAAY;IAC9B,IAAI,EAAc,iBAAiB;IACnC,gBAAgB,EAAE,KAAK;IACvB,OAAO,EAAW,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IAC7C,KAAK,EAAE;QACL;YACE,IAAI,EAAS,MAAM;YACnB,WAAW,EAAE,WAAW;YACxB,IAAI,EAAS,MAAM;YACnB,WAAW,EAAE,oBAAoB;YACjC,WAAW,EAAE,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,IAAI,EAAE;SACtE;QACD;YACE,IAAI,EAAS,IAAI;YACjB,WAAW,EAAE,OAAO;YACpB,IAAI,EAAS,QAAQ;YACrB,WAAW,EAAE,kBAAkB;SAChC;KACF;IACD,WAAW,EAAE,qBAAqB;CACnC,CAAC;AAEF;;;GAGG;AACU,QAAA,UAAU,GAAoB;IACzC,WAAW,EAAO,OAAO;IACzB,IAAI,EAAc,SAAS;IAC3B,IAAI,EAAc,iBAAiB;IACnC,gBAAgB,EAAE,KAAK;IACvB,OAAO,EAAW,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IAC7C,WAAW,EAAO,EAAE,oBAAoB,EAAE,CAAC,kBAAkB,CAAC,EAAE;IAChE,KAAK,EAAE;QACL;YACE,IAAI,EAAS,MAAM;YACnB,WAAW,EAAE,WAAW;YACxB,IAAI,EAAS,MAAM;YACnB,WAAW,EAAE,iBAA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BACrB,WAAW,EAAE,UAAU;yBACxB;qBACF;oBACD,WAAW,EAAE,uBAAuB;iBACrC;gBACD;oBACE,WAAW,EAAE,OAAO;oBACpB,IAAI,EAAS,OAAO;oBACpB,IAAI,EAAS,QAAQ;oBACrB,OAAO,EAAM,EAAE;oBACf,WAAW,EAAE,+BAA+B;iBAC7C;aACF;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<svg fill="none" height="2000" viewBox="300 300 1400 1400" width="2000" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path clip-rule="evenodd" d="M487 862.275L1172.18 862.29C1343.12 862.29 1485.03 974.409 1512.39 1137.58L827.207 1137.55C656.267 1137.55 514.367 1025.44 487 862.275Z" fill="#FF5757" fill-rule="evenodd"/>
|
|
4
|
+
<path clip-rule="evenodd" d="M487 1552L1172.18 1551.99C1343.12 1551.99 1485.03 1440.17 1512.39 1277.01L827.207 1277.03C656.267 1277.03 514.367 1388.84 487 1552Z" fill="#3A86FF" fill-rule="evenodd"/>
|
|
5
|
+
<path clip-rule="evenodd" d="M487 722.846L1172.18 722.831C1343.12 722.831 1485.03 610.169 1512.39 447L827.207 447.026C656.267 447.026 514.367 559.682 487 722.846Z" fill="#FFB938" fill-rule="evenodd"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IAllExecuteFunctions, IDataObject, IHttpRequestMethods } from 'n8n-workflow';
|
|
2
|
+
/**
|
|
3
|
+
* Core HTTP request function.
|
|
4
|
+
* - customHeaders: extra headers to merge in
|
|
5
|
+
* - absolute-URL detection
|
|
6
|
+
*/
|
|
7
|
+
export declare function apiRequest<T = any>(this: IAllExecuteFunctions, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, qs?: IDataObject, customHeaders?: IDataObject): Promise<T>;
|
|
8
|
+
/**
|
|
9
|
+
* Fetch all items from a paginated endpoint (limit/offset).
|
|
10
|
+
*/
|
|
11
|
+
export declare function paginatedRequest(this: IAllExecuteFunctions, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, qs?: IDataObject, pageSize?: number): Promise<IDataObject[]>;
|
|
12
|
+
export { paginatedRequest as apiRequestAllItems };
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// src/nodes/SmartSuite/transport/smartSuiteApi.ts
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.apiRequest = apiRequest;
|
|
5
|
+
exports.paginatedRequest = paginatedRequest;
|
|
6
|
+
exports.apiRequestAllItems = paginatedRequest;
|
|
7
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
8
|
+
/**
|
|
9
|
+
* Core HTTP request function.
|
|
10
|
+
* - customHeaders: extra headers to merge in
|
|
11
|
+
* - absolute-URL detection
|
|
12
|
+
*/
|
|
13
|
+
async function apiRequest(method, endpoint, body = {}, qs = {}, customHeaders = {}) {
|
|
14
|
+
const creds = await this.getCredentials('smartSuiteApi');
|
|
15
|
+
if (!creds.apiKey || !creds.accountId || !creds.baseUrl) {
|
|
16
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Missing required SmartSuite credentials. Please check API Key, Account ID, and Base URL.');
|
|
17
|
+
}
|
|
18
|
+
const originalEndpoint = endpoint;
|
|
19
|
+
let urlPath = endpoint;
|
|
20
|
+
if (urlPath.startsWith('/tables/')) {
|
|
21
|
+
urlPath = urlPath.replace(/^\/tables\//, '/applications/');
|
|
22
|
+
}
|
|
23
|
+
let finalUrl;
|
|
24
|
+
if (/^https?:\/\//.test(urlPath)) {
|
|
25
|
+
finalUrl = urlPath;
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
if (!creds.baseUrl ||
|
|
29
|
+
typeof creds.baseUrl !== 'string' ||
|
|
30
|
+
!creds.baseUrl.startsWith('http')) {
|
|
31
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `SmartSuite baseUrl is missing or malformed: ${creds.baseUrl}`);
|
|
32
|
+
}
|
|
33
|
+
finalUrl = `${creds.baseUrl}${urlPath}`;
|
|
34
|
+
}
|
|
35
|
+
const options = {
|
|
36
|
+
method,
|
|
37
|
+
url: finalUrl,
|
|
38
|
+
headers: {
|
|
39
|
+
Accept: 'application/json',
|
|
40
|
+
'Content-Type': 'application/json',
|
|
41
|
+
Authorization: `Token ${creds.apiKey}`,
|
|
42
|
+
'Account-Id': creds.accountId,
|
|
43
|
+
...customHeaders,
|
|
44
|
+
},
|
|
45
|
+
qs,
|
|
46
|
+
json: true,
|
|
47
|
+
body: method === 'GET' ? undefined : body,
|
|
48
|
+
};
|
|
49
|
+
try {
|
|
50
|
+
const httpRequest = this.helpers.httpRequest;
|
|
51
|
+
if (typeof httpRequest !== 'function') {
|
|
52
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'HTTP Request helper not available');
|
|
53
|
+
}
|
|
54
|
+
return (await httpRequest(options));
|
|
55
|
+
}
|
|
56
|
+
catch (error) {
|
|
57
|
+
const status = error.response?.status;
|
|
58
|
+
const apiError = error.response?.data;
|
|
59
|
+
if (status === 400 &&
|
|
60
|
+
apiError &&
|
|
61
|
+
Object.values(apiError)[0] === 'Not allowed comparison.') {
|
|
62
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Invalid comparison for that field type. See https://developers.smartsuite.com/docs/solution-data/records/sort-filter#operators-by-field-type for valid operators.');
|
|
63
|
+
}
|
|
64
|
+
if (apiError && typeof apiError === 'object') {
|
|
65
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `SmartSuite API Error (${status}): ${JSON.stringify(apiError)}`);
|
|
66
|
+
}
|
|
67
|
+
if (status === 404) {
|
|
68
|
+
let resourceType = 'Record';
|
|
69
|
+
if (originalEndpoint.startsWith('/solutions/')) {
|
|
70
|
+
resourceType = 'Solution';
|
|
71
|
+
}
|
|
72
|
+
else if (originalEndpoint.startsWith('/tables/')) {
|
|
73
|
+
resourceType = 'Table';
|
|
74
|
+
}
|
|
75
|
+
const parts = finalUrl.split('/');
|
|
76
|
+
const id = parts[parts.length - 1] || parts[parts.length - 2];
|
|
77
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The resource you are requesting could not be found
|
|
78
|
+
${id} is not a valid ${resourceType} ID`);
|
|
79
|
+
}
|
|
80
|
+
throw error;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Fetch all items from a paginated endpoint (limit/offset).
|
|
85
|
+
*/
|
|
86
|
+
async function paginatedRequest(method, endpoint, body = {}, qs = {}, pageSize = 100) {
|
|
87
|
+
const allItems = [];
|
|
88
|
+
let offset = 0;
|
|
89
|
+
while (true) {
|
|
90
|
+
const response = await apiRequest.call(this, method, endpoint, body, { ...qs, limit: pageSize, offset });
|
|
91
|
+
let pageArray = [];
|
|
92
|
+
if (Array.isArray(response)) {
|
|
93
|
+
pageArray = response;
|
|
94
|
+
}
|
|
95
|
+
else if (Array.isArray(response.data)) {
|
|
96
|
+
pageArray = response.data;
|
|
97
|
+
}
|
|
98
|
+
else if (Array.isArray(response.results)) {
|
|
99
|
+
pageArray = response.results;
|
|
100
|
+
}
|
|
101
|
+
else if (response != null && typeof response === 'object') {
|
|
102
|
+
pageArray = [response];
|
|
103
|
+
}
|
|
104
|
+
allItems.push(...pageArray);
|
|
105
|
+
if (pageArray.length < pageSize)
|
|
106
|
+
break;
|
|
107
|
+
offset += pageSize;
|
|
108
|
+
}
|
|
109
|
+
return allItems;
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=smartSuiteApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smartSuiteApi.js","sourceRoot":"","sources":["../../../../src/nodes/SmartSuite/transport/smartSuiteApi.ts"],"names":[],"mappings":";AAAA,kDAAkD;;AAelD,gCAuGC;AAKD,4CAqCC;AAE4B,8CAAkB;AA1J/C,+CAAkD;AAElD;;;;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C;aAAM,IAAI,KAAK,CAAC,OAAO,CAAE,QAAgB,CAAC,OAAO,CAAC,EAAE,CAAC;YACpD,SAAS,GAAI,QAAgB,CAAC,OAAO,CAAC;QACxC,CAAC;aAAM,IAAI,QAAQ,IAAI,IAAI,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;YAC5D,SAAS,GAAG,CAAC,QAAe,CAAC,CAAC;QAChC,CAAC;QAED,QAAQ,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC;QAC5B,IAAI,SAAS,CAAC,MAAM,GAAG,QAAQ;YAAE,MAAM;QACvC,MAAM,IAAI,QAAQ,CAAC;IACrB,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/nodes/SmartSuite/types.ts"],"names":[],"mappings":";AAAA,gCAAgC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "n8n-nodes-smartsuite",
|
|
3
|
+
"version": "2.0.6",
|
|
4
|
+
"description": "n8n community node for SmartSuite",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"n8n-community-node-package",
|
|
7
|
+
"n8n-node-smartsuite",
|
|
8
|
+
"smartsuite",
|
|
9
|
+
"api",
|
|
10
|
+
"records",
|
|
11
|
+
"workflow",
|
|
12
|
+
"automation",
|
|
13
|
+
"ai-tool"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/Pat-Lorna-TCC/n8n-nodes-smartsuite#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/Pat-Lorna-TCC/n8n-nodes-smartsuite/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/Pat-Lorna-TCC/n8n-nodes-smartsuite.git"
|
|
22
|
+
},
|
|
23
|
+
"author": {
|
|
24
|
+
"name": "Pat Shanks @ www.TheCoolestCouple.com",
|
|
25
|
+
"email": "patandlorna@patandlorna.com"
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"main": "dist/index.js",
|
|
29
|
+
"types": "dist/nodes/SmartSuite/SmartSuite.node.d.ts",
|
|
30
|
+
"files": [
|
|
31
|
+
"dist/index.js",
|
|
32
|
+
"dist/index.js.map",
|
|
33
|
+
"dist/index.d.ts",
|
|
34
|
+
"dist/credentials/",
|
|
35
|
+
"dist/nodes/"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"prepublishOnly": "npm run build",
|
|
39
|
+
"build": "rimraf dist && tsc && gulp icons",
|
|
40
|
+
"dev": "tsc --watch",
|
|
41
|
+
"lint": "eslint src/**/*.ts",
|
|
42
|
+
"lintfix": "eslint src/**/*.ts --fix",
|
|
43
|
+
"generate:tests": "node scripts/generate-tests.js",
|
|
44
|
+
"test": "jest"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
|
+
},
|
|
49
|
+
"prettier": {
|
|
50
|
+
"printWidth": 100,
|
|
51
|
+
"tabWidth": 2,
|
|
52
|
+
"singleQuote": true,
|
|
53
|
+
"trailingComma": "all"
|
|
54
|
+
},
|
|
55
|
+
"n8n": {
|
|
56
|
+
"n8nNodesApiVersion": 2,
|
|
57
|
+
"nodes": "dist/nodes",
|
|
58
|
+
"credentials": "dist/credentials",
|
|
59
|
+
"nodeTypes": {
|
|
60
|
+
"smartsuite": {
|
|
61
|
+
"sourceFile": "dist/index.js",
|
|
62
|
+
"className": "nodeClass",
|
|
63
|
+
"displayName": "SmartSuite",
|
|
64
|
+
"description": "Interact with SmartSuite API"
|
|
65
|
+
},
|
|
66
|
+
"smartSuiteTrigger": {
|
|
67
|
+
"sourceFile": "dist/index.js",
|
|
68
|
+
"className": "triggerClass",
|
|
69
|
+
"displayName": "On new or updated SmartSuite record",
|
|
70
|
+
"description": "Poll for new or updated records in SmartSuite"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"n8n-workflow": "^1.82.0"
|
|
76
|
+
},
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@biomejs/biome": "^1.9.4",
|
|
79
|
+
"@types/express": "^4.17.6",
|
|
80
|
+
"@types/jest": "^29.5.14",
|
|
81
|
+
"@types/node": "^20.0.0",
|
|
82
|
+
"@typescript-eslint/eslint-plugin": "^8.35.1",
|
|
83
|
+
"@typescript-eslint/parser": "^8.35.1",
|
|
84
|
+
"cpx": "^1.5.0",
|
|
85
|
+
"eslint": "^8.57.1",
|
|
86
|
+
"eslint-plugin-n8n-nodes-base": "^1.16.3",
|
|
87
|
+
"glob": "^11.0.3",
|
|
88
|
+
"gulp": "^5.0.0",
|
|
89
|
+
"gulp-cli": "^3.0.0",
|
|
90
|
+
"gulp-rename": "^2.0.0",
|
|
91
|
+
"jest": "^29.7.0",
|
|
92
|
+
"jest-mock-extended": "^3.0.7",
|
|
93
|
+
"madge": "^8.0.0",
|
|
94
|
+
"rimraf": "^6.0.1",
|
|
95
|
+
"ts-jest": "^29.4.0",
|
|
96
|
+
"ts-node": "^10.9.2",
|
|
97
|
+
"typescript": "*"
|
|
98
|
+
}
|
|
99
|
+
}
|