n8n-nodes-palgate 1.0.0
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.md +19 -0
- package/README.md +52 -0
- package/dist/credentials/PalGateApi.credentials.d.ts +10 -0
- package/dist/credentials/PalGateApi.credentials.js +50 -0
- package/dist/credentials/PalGateApi.credentials.js.map +1 -0
- package/dist/credentials/icon.svg +9 -0
- package/dist/icons/github.dark.svg +3 -0
- package/dist/icons/github.svg +3 -0
- package/dist/icons/icon.svg +9 -0
- package/dist/nodes/Example/Example.node.d.ts +5 -0
- package/dist/nodes/Example/Example.node.js +61 -0
- package/dist/nodes/Example/Example.node.js.map +1 -0
- package/dist/nodes/Example/Example.node.json +18 -0
- package/dist/nodes/Example/example.dark.svg +13 -0
- package/dist/nodes/Example/example.svg +13 -0
- package/dist/nodes/GithubIssues/GithubIssues.node.json +18 -0
- package/dist/nodes/GithubIssues/listSearch/getIssues.d.ts +2 -0
- package/dist/nodes/GithubIssues/listSearch/getIssues.js +28 -0
- package/dist/nodes/GithubIssues/listSearch/getIssues.js.map +1 -0
- package/dist/nodes/GithubIssues/listSearch/getRepositories.d.ts +2 -0
- package/dist/nodes/GithubIssues/listSearch/getRepositories.js +31 -0
- package/dist/nodes/GithubIssues/listSearch/getRepositories.js.map +1 -0
- package/dist/nodes/GithubIssues/listSearch/getUsers.d.ts +2 -0
- package/dist/nodes/GithubIssues/listSearch/getUsers.js +29 -0
- package/dist/nodes/GithubIssues/listSearch/getUsers.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issue/create.d.ts +2 -0
- package/dist/nodes/GithubIssues/resources/issue/create.js +75 -0
- package/dist/nodes/GithubIssues/resources/issue/create.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issue/get.d.ts +2 -0
- package/dist/nodes/GithubIssues/resources/issue/get.js +15 -0
- package/dist/nodes/GithubIssues/resources/issue/get.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issue/getAll.d.ts +2 -0
- package/dist/nodes/GithubIssues/resources/issue/getAll.js +125 -0
- package/dist/nodes/GithubIssues/resources/issue/getAll.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issue/index.d.ts +2 -0
- package/dist/nodes/GithubIssues/resources/issue/index.js +76 -0
- package/dist/nodes/GithubIssues/resources/issue/index.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issueComment/getAll.d.ts +2 -0
- package/dist/nodes/GithubIssues/resources/issueComment/getAll.js +66 -0
- package/dist/nodes/GithubIssues/resources/issueComment/getAll.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issueComment/index.d.ts +2 -0
- package/dist/nodes/GithubIssues/resources/issueComment/index.js +48 -0
- package/dist/nodes/GithubIssues/resources/issueComment/index.js.map +1 -0
- package/dist/nodes/GithubIssues/shared/descriptions.d.ts +4 -0
- package/dist/nodes/GithubIssues/shared/descriptions.js +151 -0
- package/dist/nodes/GithubIssues/shared/descriptions.js.map +1 -0
- package/dist/nodes/GithubIssues/shared/transport.d.ts +2 -0
- package/dist/nodes/GithubIssues/shared/transport.js +16 -0
- package/dist/nodes/GithubIssues/shared/transport.js.map +1 -0
- package/dist/nodes/GithubIssues/shared/utils.d.ts +3 -0
- package/dist/nodes/GithubIssues/shared/utils.js +17 -0
- package/dist/nodes/GithubIssues/shared/utils.js.map +1 -0
- package/dist/nodes/PalGate/PalGate.node.d.ts +4 -0
- package/dist/nodes/PalGate/PalGate.node.js +85 -0
- package/dist/nodes/PalGate/PalGate.node.js.map +1 -0
- package/dist/nodes/PalGate/icon.svg +9 -0
- package/dist/nodes/PalGate/resources/cars/add.d.ts +2 -0
- package/dist/nodes/PalGate/resources/cars/add.js +54 -0
- package/dist/nodes/PalGate/resources/cars/add.js.map +1 -0
- package/dist/nodes/PalGate/resources/cars/delete.d.ts +2 -0
- package/dist/nodes/PalGate/resources/cars/delete.js +28 -0
- package/dist/nodes/PalGate/resources/cars/delete.js.map +1 -0
- package/dist/nodes/PalGate/resources/cars/deleteById.d.ts +2 -0
- package/dist/nodes/PalGate/resources/cars/deleteById.js +28 -0
- package/dist/nodes/PalGate/resources/cars/deleteById.js.map +1 -0
- package/dist/nodes/PalGate/resources/cars/index.d.ts +2 -0
- package/dist/nodes/PalGate/resources/cars/index.js +91 -0
- package/dist/nodes/PalGate/resources/cars/index.js.map +1 -0
- package/dist/nodes/PalGate/resources/cars/searchInLogs.d.ts +2 -0
- package/dist/nodes/PalGate/resources/cars/searchInLogs.js +24 -0
- package/dist/nodes/PalGate/resources/cars/searchInLogs.js.map +1 -0
- package/dist/nodes/PalGate/resources/dashboard/getDevicesMarkers.d.ts +2 -0
- package/dist/nodes/PalGate/resources/dashboard/getDevicesMarkers.js +5 -0
- package/dist/nodes/PalGate/resources/dashboard/getDevicesMarkers.js.map +1 -0
- package/dist/nodes/PalGate/resources/dashboard/getFavorites.d.ts +2 -0
- package/dist/nodes/PalGate/resources/dashboard/getFavorites.js +5 -0
- package/dist/nodes/PalGate/resources/dashboard/getFavorites.js.map +1 -0
- package/dist/nodes/PalGate/resources/dashboard/getRecent.d.ts +2 -0
- package/dist/nodes/PalGate/resources/dashboard/getRecent.js +5 -0
- package/dist/nodes/PalGate/resources/dashboard/getRecent.js.map +1 -0
- package/dist/nodes/PalGate/resources/dashboard/getRecentDevicesPlaces.d.ts +2 -0
- package/dist/nodes/PalGate/resources/dashboard/getRecentDevicesPlaces.js +5 -0
- package/dist/nodes/PalGate/resources/dashboard/getRecentDevicesPlaces.js.map +1 -0
- package/dist/nodes/PalGate/resources/dashboard/getStatistics.d.ts +2 -0
- package/dist/nodes/PalGate/resources/dashboard/getStatistics.js +5 -0
- package/dist/nodes/PalGate/resources/dashboard/getStatistics.js.map +1 -0
- package/dist/nodes/PalGate/resources/dashboard/index.d.ts +2 -0
- package/dist/nodes/PalGate/resources/dashboard/index.js +91 -0
- package/dist/nodes/PalGate/resources/dashboard/index.js.map +1 -0
- package/dist/nodes/PalGate/resources/dashboard/updateRecent.d.ts +2 -0
- package/dist/nodes/PalGate/resources/dashboard/updateRecent.js +44 -0
- package/dist/nodes/PalGate/resources/dashboard/updateRecent.js.map +1 -0
- package/dist/nodes/PalGate/resources/dashboard/updateRecentDevicesPlaces.d.ts +2 -0
- package/dist/nodes/PalGate/resources/dashboard/updateRecentDevicesPlaces.js +44 -0
- package/dist/nodes/PalGate/resources/dashboard/updateRecentDevicesPlaces.js.map +1 -0
- package/dist/nodes/PalGate/resources/devices/addUsers.d.ts +2 -0
- package/dist/nodes/PalGate/resources/devices/addUsers.js +33 -0
- package/dist/nodes/PalGate/resources/devices/addUsers.js.map +1 -0
- package/dist/nodes/PalGate/resources/devices/get.d.ts +2 -0
- package/dist/nodes/PalGate/resources/devices/get.js +15 -0
- package/dist/nodes/PalGate/resources/devices/get.js.map +1 -0
- package/dist/nodes/PalGate/resources/devices/getAll.d.ts +2 -0
- package/dist/nodes/PalGate/resources/devices/getAll.js +164 -0
- package/dist/nodes/PalGate/resources/devices/getAll.js.map +1 -0
- package/dist/nodes/PalGate/resources/devices/getDetails.d.ts +2 -0
- package/dist/nodes/PalGate/resources/devices/getDetails.js +15 -0
- package/dist/nodes/PalGate/resources/devices/getDetails.js.map +1 -0
- package/dist/nodes/PalGate/resources/devices/getLiveStatusHistory.d.ts +2 -0
- package/dist/nodes/PalGate/resources/devices/getLiveStatusHistory.js +15 -0
- package/dist/nodes/PalGate/resources/devices/getLiveStatusHistory.js.map +1 -0
- package/dist/nodes/PalGate/resources/devices/getLog.d.ts +2 -0
- package/dist/nodes/PalGate/resources/devices/getLog.js +127 -0
- package/dist/nodes/PalGate/resources/devices/getLog.js.map +1 -0
- package/dist/nodes/PalGate/resources/devices/getStatusHistoryV2.d.ts +2 -0
- package/dist/nodes/PalGate/resources/devices/getStatusHistoryV2.js +15 -0
- package/dist/nodes/PalGate/resources/devices/getStatusHistoryV2.js.map +1 -0
- package/dist/nodes/PalGate/resources/devices/getUsers.d.ts +2 -0
- package/dist/nodes/PalGate/resources/devices/getUsers.js +85 -0
- package/dist/nodes/PalGate/resources/devices/getUsers.js.map +1 -0
- package/dist/nodes/PalGate/resources/devices/index.d.ts +2 -0
- package/dist/nodes/PalGate/resources/devices/index.js +139 -0
- package/dist/nodes/PalGate/resources/devices/index.js.map +1 -0
- package/dist/nodes/PalGate/resources/devices/updateSettings.d.ts +2 -0
- package/dist/nodes/PalGate/resources/devices/updateSettings.js +31 -0
- package/dist/nodes/PalGate/resources/devices/updateSettings.js.map +1 -0
- package/dist/nodes/PalGate/resources/organizations/get.d.ts +2 -0
- package/dist/nodes/PalGate/resources/organizations/get.js +15 -0
- package/dist/nodes/PalGate/resources/organizations/get.js.map +1 -0
- package/dist/nodes/PalGate/resources/organizations/getDetails.d.ts +2 -0
- package/dist/nodes/PalGate/resources/organizations/getDetails.js +15 -0
- package/dist/nodes/PalGate/resources/organizations/getDetails.js.map +1 -0
- package/dist/nodes/PalGate/resources/organizations/getTree.d.ts +2 -0
- package/dist/nodes/PalGate/resources/organizations/getTree.js +80 -0
- package/dist/nodes/PalGate/resources/organizations/getTree.js.map +1 -0
- package/dist/nodes/PalGate/resources/organizations/index.d.ts +2 -0
- package/dist/nodes/PalGate/resources/organizations/index.js +59 -0
- package/dist/nodes/PalGate/resources/organizations/index.js.map +1 -0
- package/dist/nodes/PalGate/resources/places/formatPhoneNumber.d.ts +2 -0
- package/dist/nodes/PalGate/resources/places/formatPhoneNumber.js +24 -0
- package/dist/nodes/PalGate/resources/places/formatPhoneNumber.js.map +1 -0
- package/dist/nodes/PalGate/resources/places/get.d.ts +2 -0
- package/dist/nodes/PalGate/resources/places/get.js +15 -0
- package/dist/nodes/PalGate/resources/places/get.js.map +1 -0
- package/dist/nodes/PalGate/resources/places/getAll.d.ts +2 -0
- package/dist/nodes/PalGate/resources/places/getAll.js +80 -0
- package/dist/nodes/PalGate/resources/places/getAll.js.map +1 -0
- package/dist/nodes/PalGate/resources/places/getDetails.d.ts +2 -0
- package/dist/nodes/PalGate/resources/places/getDetails.js +15 -0
- package/dist/nodes/PalGate/resources/places/getDetails.js.map +1 -0
- package/dist/nodes/PalGate/resources/places/getGroups.d.ts +2 -0
- package/dist/nodes/PalGate/resources/places/getGroups.js +15 -0
- package/dist/nodes/PalGate/resources/places/getGroups.js.map +1 -0
- package/dist/nodes/PalGate/resources/places/getTree.d.ts +2 -0
- package/dist/nodes/PalGate/resources/places/getTree.js +94 -0
- package/dist/nodes/PalGate/resources/places/getTree.js.map +1 -0
- package/dist/nodes/PalGate/resources/places/getUsers.d.ts +2 -0
- package/dist/nodes/PalGate/resources/places/getUsers.js +99 -0
- package/dist/nodes/PalGate/resources/places/getUsers.js.map +1 -0
- package/dist/nodes/PalGate/resources/places/index.d.ts +2 -0
- package/dist/nodes/PalGate/resources/places/index.js +132 -0
- package/dist/nodes/PalGate/resources/places/index.js.map +1 -0
- package/dist/nodes/PalGate/resources/places/update.d.ts +2 -0
- package/dist/nodes/PalGate/resources/places/update.js +43 -0
- package/dist/nodes/PalGate/resources/places/update.js.map +1 -0
- package/dist/nodes/PalGate/resources/users/add.d.ts +2 -0
- package/dist/nodes/PalGate/resources/users/add.js +73 -0
- package/dist/nodes/PalGate/resources/users/add.js.map +1 -0
- package/dist/nodes/PalGate/resources/users/addMany.d.ts +2 -0
- package/dist/nodes/PalGate/resources/users/addMany.js +75 -0
- package/dist/nodes/PalGate/resources/users/addMany.js.map +1 -0
- package/dist/nodes/PalGate/resources/users/delete.d.ts +2 -0
- package/dist/nodes/PalGate/resources/users/delete.js +26 -0
- package/dist/nodes/PalGate/resources/users/delete.js.map +1 -0
- package/dist/nodes/PalGate/resources/users/find.d.ts +2 -0
- package/dist/nodes/PalGate/resources/users/find.js +19 -0
- package/dist/nodes/PalGate/resources/users/find.js.map +1 -0
- package/dist/nodes/PalGate/resources/users/getAll.d.ts +2 -0
- package/dist/nodes/PalGate/resources/users/getAll.js +80 -0
- package/dist/nodes/PalGate/resources/users/getAll.js.map +1 -0
- package/dist/nodes/PalGate/resources/users/getImage.d.ts +2 -0
- package/dist/nodes/PalGate/resources/users/getImage.js +15 -0
- package/dist/nodes/PalGate/resources/users/getImage.js.map +1 -0
- package/dist/nodes/PalGate/resources/users/getPortalUsers.d.ts +2 -0
- package/dist/nodes/PalGate/resources/users/getPortalUsers.js +122 -0
- package/dist/nodes/PalGate/resources/users/getPortalUsers.js.map +1 -0
- package/dist/nodes/PalGate/resources/users/index.d.ts +2 -0
- package/dist/nodes/PalGate/resources/users/index.js +160 -0
- package/dist/nodes/PalGate/resources/users/index.js.map +1 -0
- package/dist/nodes/PalGate/resources/users/update.d.ts +2 -0
- package/dist/nodes/PalGate/resources/users/update.js +49 -0
- package/dist/nodes/PalGate/resources/users/update.js.map +1 -0
- package/dist/nodes/PalGate/resources/users/updateByPhone.d.ts +2 -0
- package/dist/nodes/PalGate/resources/users/updateByPhone.js +51 -0
- package/dist/nodes/PalGate/resources/users/updateByPhone.js.map +1 -0
- package/dist/nodes/PalGate/shared/descriptions.d.ts +5 -0
- package/dist/nodes/PalGate/shared/descriptions.js +35 -0
- package/dist/nodes/PalGate/shared/descriptions.js.map +1 -0
- package/dist/nodes/PalGate/shared/transport.d.ts +2 -0
- package/dist/nodes/PalGate/shared/transport.js +14 -0
- package/dist/nodes/PalGate/shared/transport.js.map +1 -0
- package/dist/package.json +57 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +57 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.orgGetDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForOrgGet = {
|
|
6
|
+
operation: ['get'],
|
|
7
|
+
resource: ['organization'],
|
|
8
|
+
};
|
|
9
|
+
exports.orgGetDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.orgIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForOrgGet },
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/organizations/get.ts"],"names":[],"mappings":";;;AACA,4DAAwD;AAExD,MAAM,iBAAiB,GAAG;IACzB,SAAS,EAAE,CAAC,KAAK,CAAC;IAClB,QAAQ,EAAE,CAAC,cAAc,CAAC;CAC1B,CAAC;AAEW,QAAA,iBAAiB,GAAsB;IACnD;QACC,GAAG,0BAAW;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE;KAC3C;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.orgGetDetailsDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForOrgGetDetails = {
|
|
6
|
+
operation: ['getDetails'],
|
|
7
|
+
resource: ['organization'],
|
|
8
|
+
};
|
|
9
|
+
exports.orgGetDetailsDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.orgIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForOrgGetDetails },
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=getDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDetails.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/organizations/getDetails.ts"],"names":[],"mappings":";;;AACA,4DAAwD;AAExD,MAAM,wBAAwB,GAAG;IAChC,SAAS,EAAE,CAAC,YAAY,CAAC;IACzB,QAAQ,EAAE,CAAC,cAAc,CAAC;CAC1B,CAAC;AAEW,QAAA,wBAAwB,GAAsB;IAC1D;QACC,GAAG,0BAAW;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;KAClD;CACD,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.orgGetTreeDescription = void 0;
|
|
4
|
+
const showOnlyForOrgGetTree = {
|
|
5
|
+
operation: ['getTree'],
|
|
6
|
+
resource: ['organization'],
|
|
7
|
+
};
|
|
8
|
+
exports.orgGetTreeDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Return All',
|
|
11
|
+
name: 'returnAll',
|
|
12
|
+
type: 'boolean',
|
|
13
|
+
displayOptions: { show: showOnlyForOrgGetTree },
|
|
14
|
+
default: false,
|
|
15
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
16
|
+
routing: {
|
|
17
|
+
send: {
|
|
18
|
+
paginate: '={{ $value }}',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
displayName: 'Limit',
|
|
24
|
+
name: 'limit',
|
|
25
|
+
type: 'number',
|
|
26
|
+
displayOptions: {
|
|
27
|
+
show: {
|
|
28
|
+
...showOnlyForOrgGetTree,
|
|
29
|
+
returnAll: [false],
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
typeOptions: {
|
|
33
|
+
minValue: 1,
|
|
34
|
+
maxValue: 100,
|
|
35
|
+
},
|
|
36
|
+
default: 50,
|
|
37
|
+
routing: {
|
|
38
|
+
send: {
|
|
39
|
+
type: 'query',
|
|
40
|
+
property: 'limit',
|
|
41
|
+
},
|
|
42
|
+
output: {
|
|
43
|
+
maxResults: '={{$value}}',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
description: 'Max number of results to return',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
displayName: 'Skip',
|
|
50
|
+
name: 'skip',
|
|
51
|
+
type: 'number',
|
|
52
|
+
displayOptions: { show: showOnlyForOrgGetTree },
|
|
53
|
+
typeOptions: {
|
|
54
|
+
minValue: 0,
|
|
55
|
+
},
|
|
56
|
+
default: 0,
|
|
57
|
+
routing: {
|
|
58
|
+
send: {
|
|
59
|
+
type: 'query',
|
|
60
|
+
property: 'skip',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
description: 'Number of records to skip',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
displayName: 'Filter',
|
|
67
|
+
name: 'filter',
|
|
68
|
+
type: 'string',
|
|
69
|
+
displayOptions: { show: showOnlyForOrgGetTree },
|
|
70
|
+
default: '',
|
|
71
|
+
routing: {
|
|
72
|
+
send: {
|
|
73
|
+
type: 'query',
|
|
74
|
+
property: 'filter',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
description: 'Optional search filter',
|
|
78
|
+
},
|
|
79
|
+
];
|
|
80
|
+
//# sourceMappingURL=getTree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTree.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/organizations/getTree.ts"],"names":[],"mappings":";;;AAEA,MAAM,qBAAqB,GAAG;IAC7B,SAAS,EAAE,CAAC,SAAS,CAAC;IACtB,QAAQ,EAAE,CAAC,cAAc,CAAC;CAC1B,CAAC;AAEW,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;QACxE,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,eAAe;aACzB;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,qBAAqB;gBACxB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACb;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;aACjB;YACD,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;QACD,WAAW,EAAE,iCAAiC;KAC9C;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;SACX;QACD,OAAO,EAAE,CAAC;QACV,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,MAAM;aAChB;SACD;QACD,WAAW,EAAE,2BAA2B;KACxC;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,QAAQ;aAClB;SACD;QACD,WAAW,EAAE,wBAAwB;KACrC;CACD,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.organizationDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const getTree_1 = require("./getTree");
|
|
6
|
+
const getDetails_1 = require("./getDetails");
|
|
7
|
+
const showOnlyForOrganizations = {
|
|
8
|
+
resource: ['organization'],
|
|
9
|
+
};
|
|
10
|
+
exports.organizationDescription = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: showOnlyForOrganizations,
|
|
18
|
+
},
|
|
19
|
+
options: [
|
|
20
|
+
{
|
|
21
|
+
name: 'Get Tree',
|
|
22
|
+
value: 'getTree',
|
|
23
|
+
action: 'Get organizations tree',
|
|
24
|
+
description: 'Get hierarchical tree of organizations',
|
|
25
|
+
routing: {
|
|
26
|
+
request: {
|
|
27
|
+
method: 'GET',
|
|
28
|
+
url: '=/orgs-tree',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: 'Get Details',
|
|
34
|
+
value: 'getDetails',
|
|
35
|
+
action: 'Get an organization',
|
|
36
|
+
description: 'Get details of a specific organization',
|
|
37
|
+
routing: {
|
|
38
|
+
request: {
|
|
39
|
+
method: 'GET',
|
|
40
|
+
url: '=/org/{{$parameter.orgId}}',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
default: 'getTree',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
...descriptions_1.orgIdSelect,
|
|
49
|
+
displayOptions: {
|
|
50
|
+
show: showOnlyForOrganizations,
|
|
51
|
+
hide: {
|
|
52
|
+
operation: ['getTree'],
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
...getTree_1.orgGetTreeDescription,
|
|
57
|
+
...getDetails_1.orgGetDetailsDescription,
|
|
58
|
+
];
|
|
59
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/organizations/index.ts"],"names":[],"mappings":";;;AACA,4DAAwD;AACxD,uCAAkD;AAClD,6CAAwD;AAExD,MAAM,wBAAwB,GAAG;IAChC,QAAQ,EAAE,CAAC,cAAc,CAAC;CAC1B,CAAC;AAEW,QAAA,uBAAuB,GAAsB;IACzD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,wBAAwB;SAC9B;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,SAAS;gBAChB,MAAM,EAAE,wBAAwB;gBAChC,WAAW,EAAE,wCAAwC;gBACrD,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,aAAa;qBAClB;iBACD;aACD;YACD;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,qBAAqB;gBAC7B,WAAW,EAAE,wCAAwC;gBACrD,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,4BAA4B;qBACjC;iBACD;aACD;SACD;QACD,OAAO,EAAE,SAAS;KAClB;IACD;QACC,GAAG,0BAAW;QACd,cAAc,EAAE;YACf,IAAI,EAAE,wBAAwB;YAC9B,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,SAAS,CAAC;aACtB;SACD;KACD;IACD,GAAG,+BAAqB;IACxB,GAAG,qCAAwB;CAC3B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.placeFormatPhoneNumberDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForPlaceFormatPhoneNumber = {
|
|
6
|
+
operation: ['formatPhoneNumber'],
|
|
7
|
+
resource: ['place'],
|
|
8
|
+
};
|
|
9
|
+
exports.placeFormatPhoneNumberDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.placeIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForPlaceFormatPhoneNumber },
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
displayName: 'Phone Number',
|
|
16
|
+
name: 'phoneNumber',
|
|
17
|
+
type: 'string',
|
|
18
|
+
default: '',
|
|
19
|
+
required: true,
|
|
20
|
+
displayOptions: { show: showOnlyForPlaceFormatPhoneNumber },
|
|
21
|
+
description: 'Phone number to format',
|
|
22
|
+
},
|
|
23
|
+
];
|
|
24
|
+
//# sourceMappingURL=formatPhoneNumber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatPhoneNumber.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/places/formatPhoneNumber.ts"],"names":[],"mappings":";;;AACA,4DAA0D;AAE1D,MAAM,iCAAiC,GAAG;IACzC,SAAS,EAAE,CAAC,mBAAmB,CAAC;IAChC,QAAQ,EAAE,CAAC,OAAO,CAAC;CACnB,CAAC;AAEW,QAAA,iCAAiC,GAAsB;IACnE;QACC,GAAG,4BAAa;QAChB,cAAc,EAAE,EAAE,IAAI,EAAE,iCAAiC,EAAE;KAC3D;IACD;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,iCAAiC,EAAE;QAC3D,WAAW,EAAE,wBAAwB;KACrC;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.placeGetDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForPlaceGet = {
|
|
6
|
+
operation: ['get'],
|
|
7
|
+
resource: ['place'],
|
|
8
|
+
};
|
|
9
|
+
exports.placeGetDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.placeIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForPlaceGet },
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/places/get.ts"],"names":[],"mappings":";;;AACA,4DAA0D;AAE1D,MAAM,mBAAmB,GAAG;IAC3B,SAAS,EAAE,CAAC,KAAK,CAAC;IAClB,QAAQ,EAAE,CAAC,OAAO,CAAC;CACnB,CAAC;AAEW,QAAA,mBAAmB,GAAsB;IACrD;QACC,GAAG,4BAAa;QAChB,cAAc,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE;KAC7C;CACD,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.placeGetAllDescription = void 0;
|
|
4
|
+
const showOnlyForPlaceGetAll = {
|
|
5
|
+
operation: ['getAll'],
|
|
6
|
+
resource: ['place'],
|
|
7
|
+
};
|
|
8
|
+
exports.placeGetAllDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Return All',
|
|
11
|
+
name: 'returnAll',
|
|
12
|
+
type: 'boolean',
|
|
13
|
+
displayOptions: { show: showOnlyForPlaceGetAll },
|
|
14
|
+
default: false,
|
|
15
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
16
|
+
routing: {
|
|
17
|
+
send: {
|
|
18
|
+
paginate: '={{ $value }}',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
displayName: 'Limit',
|
|
24
|
+
name: 'limit',
|
|
25
|
+
type: 'number',
|
|
26
|
+
displayOptions: {
|
|
27
|
+
show: {
|
|
28
|
+
...showOnlyForPlaceGetAll,
|
|
29
|
+
returnAll: [false],
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
typeOptions: {
|
|
33
|
+
minValue: 1,
|
|
34
|
+
maxValue: 100,
|
|
35
|
+
},
|
|
36
|
+
default: 50,
|
|
37
|
+
routing: {
|
|
38
|
+
send: {
|
|
39
|
+
type: 'query',
|
|
40
|
+
property: 'limit',
|
|
41
|
+
},
|
|
42
|
+
output: {
|
|
43
|
+
maxResults: '={{$value}}',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
description: 'Max number of results to return',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
displayName: 'Skip',
|
|
50
|
+
name: 'skip',
|
|
51
|
+
type: 'number',
|
|
52
|
+
displayOptions: { show: showOnlyForPlaceGetAll },
|
|
53
|
+
typeOptions: {
|
|
54
|
+
minValue: 0,
|
|
55
|
+
},
|
|
56
|
+
default: 0,
|
|
57
|
+
routing: {
|
|
58
|
+
send: {
|
|
59
|
+
type: 'query',
|
|
60
|
+
property: 'skip',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
description: 'Number of records to skip',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
displayName: 'Filter',
|
|
67
|
+
name: 'filter',
|
|
68
|
+
type: 'string',
|
|
69
|
+
displayOptions: { show: showOnlyForPlaceGetAll },
|
|
70
|
+
default: '',
|
|
71
|
+
routing: {
|
|
72
|
+
send: {
|
|
73
|
+
type: 'query',
|
|
74
|
+
property: 'filter',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
description: 'Optional search filter',
|
|
78
|
+
},
|
|
79
|
+
];
|
|
80
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/places/getAll.ts"],"names":[],"mappings":";;;AAEA,MAAM,sBAAsB,GAAG;IAC9B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,OAAO,CAAC;CACnB,CAAC;AAEW,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE;QAChD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;QACxE,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,eAAe;aACzB;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,sBAAsB;gBACzB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACb;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;aACjB;YACD,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;QACD,WAAW,EAAE,iCAAiC;KAC9C;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE;QAChD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;SACX;QACD,OAAO,EAAE,CAAC;QACV,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,MAAM;aAChB;SACD;QACD,WAAW,EAAE,2BAA2B;KACxC;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE;QAChD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,QAAQ;aAClB;SACD;QACD,WAAW,EAAE,wBAAwB;KACrC;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.placeGetDetailsDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForPlaceGetDetails = {
|
|
6
|
+
operation: ['getDetails'],
|
|
7
|
+
resource: ['place'],
|
|
8
|
+
};
|
|
9
|
+
exports.placeGetDetailsDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.placeIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForPlaceGetDetails },
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=getDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDetails.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/places/getDetails.ts"],"names":[],"mappings":";;;AACA,4DAA0D;AAE1D,MAAM,0BAA0B,GAAG;IAClC,SAAS,EAAE,CAAC,YAAY,CAAC;IACzB,QAAQ,EAAE,CAAC,OAAO,CAAC;CACnB,CAAC;AAEW,QAAA,0BAA0B,GAAsB;IAC5D;QACC,GAAG,4BAAa;QAChB,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;KACpD;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.placeGetGroupsDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForPlaceGetGroups = {
|
|
6
|
+
operation: ['getGroups'],
|
|
7
|
+
resource: ['place'],
|
|
8
|
+
};
|
|
9
|
+
exports.placeGetGroupsDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.placeIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForPlaceGetGroups },
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=getGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroups.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/places/getGroups.ts"],"names":[],"mappings":";;;AACA,4DAA0D;AAE1D,MAAM,yBAAyB,GAAG;IACjC,SAAS,EAAE,CAAC,WAAW,CAAC;IACxB,QAAQ,EAAE,CAAC,OAAO,CAAC;CACnB,CAAC;AAEW,QAAA,yBAAyB,GAAsB;IAC3D;QACC,GAAG,4BAAa;QAChB,cAAc,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE;KACnD;CACD,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.placeGetTreeDescription = void 0;
|
|
4
|
+
const showOnlyForPlaceGetTree = {
|
|
5
|
+
operation: ['getTree'],
|
|
6
|
+
resource: ['place'],
|
|
7
|
+
};
|
|
8
|
+
exports.placeGetTreeDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Return All',
|
|
11
|
+
name: 'returnAll',
|
|
12
|
+
type: 'boolean',
|
|
13
|
+
displayOptions: { show: showOnlyForPlaceGetTree },
|
|
14
|
+
default: false,
|
|
15
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
16
|
+
routing: {
|
|
17
|
+
send: {
|
|
18
|
+
paginate: '={{ $value }}',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
displayName: 'Limit',
|
|
24
|
+
name: 'limit',
|
|
25
|
+
type: 'number',
|
|
26
|
+
displayOptions: {
|
|
27
|
+
show: {
|
|
28
|
+
...showOnlyForPlaceGetTree,
|
|
29
|
+
returnAll: [false],
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
typeOptions: {
|
|
33
|
+
minValue: 1,
|
|
34
|
+
maxValue: 100,
|
|
35
|
+
},
|
|
36
|
+
default: 50,
|
|
37
|
+
routing: {
|
|
38
|
+
send: {
|
|
39
|
+
type: 'query',
|
|
40
|
+
property: 'limit',
|
|
41
|
+
},
|
|
42
|
+
output: {
|
|
43
|
+
maxResults: '={{$value}}',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
description: 'Max number of results to return',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
displayName: 'Skip',
|
|
50
|
+
name: 'skip',
|
|
51
|
+
type: 'number',
|
|
52
|
+
displayOptions: { show: showOnlyForPlaceGetTree },
|
|
53
|
+
typeOptions: {
|
|
54
|
+
minValue: 0,
|
|
55
|
+
},
|
|
56
|
+
default: 0,
|
|
57
|
+
routing: {
|
|
58
|
+
send: {
|
|
59
|
+
type: 'query',
|
|
60
|
+
property: 'skip',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
description: 'Number of records to skip',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
displayName: 'Filter',
|
|
67
|
+
name: 'filter',
|
|
68
|
+
type: 'string',
|
|
69
|
+
displayOptions: { show: showOnlyForPlaceGetTree },
|
|
70
|
+
default: '',
|
|
71
|
+
routing: {
|
|
72
|
+
send: {
|
|
73
|
+
type: 'query',
|
|
74
|
+
property: 'filter',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
description: 'Optional search filter',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
displayName: 'Parent Place ID',
|
|
81
|
+
name: 'parentPlaceId',
|
|
82
|
+
type: 'string',
|
|
83
|
+
displayOptions: { show: showOnlyForPlaceGetTree },
|
|
84
|
+
default: '',
|
|
85
|
+
routing: {
|
|
86
|
+
send: {
|
|
87
|
+
type: 'query',
|
|
88
|
+
property: 'parentPlaceId',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
description: 'Optional parent place ID for tree filtering',
|
|
92
|
+
},
|
|
93
|
+
];
|
|
94
|
+
//# sourceMappingURL=getTree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTree.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/places/getTree.ts"],"names":[],"mappings":";;;AAEA,MAAM,uBAAuB,GAAG;IAC/B,SAAS,EAAE,CAAC,SAAS,CAAC;IACtB,QAAQ,EAAE,CAAC,OAAO,CAAC;CACnB,CAAC;AAEW,QAAA,uBAAuB,GAAsB;IACzD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE;QACjD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;QACxE,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,eAAe;aACzB;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,uBAAuB;gBAC1B,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACb;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;aACjB;YACD,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;QACD,WAAW,EAAE,iCAAiC;KAC9C;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE;QACjD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;SACX;QACD,OAAO,EAAE,CAAC;QACV,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,MAAM;aAChB;SACD;QACD,WAAW,EAAE,2BAA2B;KACxC;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE;QACjD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,QAAQ;aAClB;SACD;QACD,WAAW,EAAE,wBAAwB;KACrC;IACD;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE;QACjD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,eAAe;aACzB;SACD;QACD,WAAW,EAAE,6CAA6C;KAC1D;CACD,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.placeGetUsersDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForPlaceGetUsers = {
|
|
6
|
+
operation: ['getUsers'],
|
|
7
|
+
resource: ['place'],
|
|
8
|
+
};
|
|
9
|
+
exports.placeGetUsersDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.placeIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForPlaceGetUsers },
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
displayName: 'Return All',
|
|
16
|
+
name: 'returnAll',
|
|
17
|
+
type: 'boolean',
|
|
18
|
+
displayOptions: { show: showOnlyForPlaceGetUsers },
|
|
19
|
+
default: false,
|
|
20
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
21
|
+
routing: {
|
|
22
|
+
send: {
|
|
23
|
+
paginate: '={{ $value }}',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
displayName: 'Limit',
|
|
29
|
+
name: 'limit',
|
|
30
|
+
type: 'number',
|
|
31
|
+
displayOptions: {
|
|
32
|
+
show: {
|
|
33
|
+
...showOnlyForPlaceGetUsers,
|
|
34
|
+
returnAll: [false],
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
typeOptions: {
|
|
38
|
+
minValue: 1,
|
|
39
|
+
maxValue: 100,
|
|
40
|
+
},
|
|
41
|
+
default: 50,
|
|
42
|
+
routing: {
|
|
43
|
+
send: {
|
|
44
|
+
type: 'query',
|
|
45
|
+
property: 'limit',
|
|
46
|
+
},
|
|
47
|
+
output: {
|
|
48
|
+
maxResults: '={{$value}}',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
description: 'Max number of results to return',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Skip',
|
|
55
|
+
name: 'skip',
|
|
56
|
+
type: 'number',
|
|
57
|
+
displayOptions: { show: showOnlyForPlaceGetUsers },
|
|
58
|
+
typeOptions: {
|
|
59
|
+
minValue: 0,
|
|
60
|
+
},
|
|
61
|
+
default: 0,
|
|
62
|
+
routing: {
|
|
63
|
+
send: {
|
|
64
|
+
type: 'query',
|
|
65
|
+
property: 'skip',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
description: 'Number of records to skip',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
displayName: 'Phone Filter',
|
|
72
|
+
name: 'phoneFilter',
|
|
73
|
+
type: 'string',
|
|
74
|
+
displayOptions: { show: showOnlyForPlaceGetUsers },
|
|
75
|
+
default: '',
|
|
76
|
+
routing: {
|
|
77
|
+
send: {
|
|
78
|
+
type: 'query',
|
|
79
|
+
property: 'phoneFilter',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
description: 'Optional phone number filter',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
displayName: 'Name Filter',
|
|
86
|
+
name: 'nameFilter',
|
|
87
|
+
type: 'string',
|
|
88
|
+
displayOptions: { show: showOnlyForPlaceGetUsers },
|
|
89
|
+
default: '',
|
|
90
|
+
routing: {
|
|
91
|
+
send: {
|
|
92
|
+
type: 'query',
|
|
93
|
+
property: 'nameFilter',
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
description: 'Optional name filter',
|
|
97
|
+
},
|
|
98
|
+
];
|
|
99
|
+
//# sourceMappingURL=getUsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/places/getUsers.ts"],"names":[],"mappings":";;;AACA,4DAA0D;AAE1D,MAAM,wBAAwB,GAAG;IAChC,SAAS,EAAE,CAAC,UAAU,CAAC;IACvB,QAAQ,EAAE,CAAC,OAAO,CAAC;CACnB,CAAC;AAEW,QAAA,wBAAwB,GAAsB;IAC1D;QACC,GAAG,4BAAa;QAChB,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;KAClD;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;QAClD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;QACxE,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,eAAe;aACzB;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,wBAAwB;gBAC3B,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACb;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;aACjB;YACD,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;QACD,WAAW,EAAE,iCAAiC;KAC9C;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;QAClD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;SACX;QACD,OAAO,EAAE,CAAC;QACV,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,MAAM;aAChB;SACD;QACD,WAAW,EAAE,2BAA2B;KACxC;IACD;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;QAClD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,aAAa;aACvB;SACD;QACD,WAAW,EAAE,8BAA8B;KAC3C;IACD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;QAClD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,YAAY;aACtB;SACD;QACD,WAAW,EAAE,sBAAsB;KACnC;CACD,CAAC"}
|