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,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
2
|
+
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
3
|
+
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
|
|
4
|
+
<line x1="9" y1="3" x2="9" y2="21"></line>
|
|
5
|
+
<line x1="15" y1="3" x2="15" y2="21"></line>
|
|
6
|
+
<line x1="3" y1="9" x2="21" y2="9"></line>
|
|
7
|
+
<line x1="3" y1="15" x2="21" y2="15"></line>
|
|
8
|
+
</svg>
|
|
9
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.carAddDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForCarAdd = {
|
|
6
|
+
operation: ['add'],
|
|
7
|
+
resource: ['car'],
|
|
8
|
+
};
|
|
9
|
+
exports.carAddDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.placeIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForCarAdd },
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
...descriptions_1.phoneSelect,
|
|
16
|
+
displayOptions: { show: showOnlyForCarAdd },
|
|
17
|
+
routing: {
|
|
18
|
+
send: {
|
|
19
|
+
type: 'body',
|
|
20
|
+
property: 'userId',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
displayName: 'Car Number',
|
|
26
|
+
name: 'carNumber',
|
|
27
|
+
type: 'string',
|
|
28
|
+
default: '',
|
|
29
|
+
required: true,
|
|
30
|
+
displayOptions: { show: showOnlyForCarAdd },
|
|
31
|
+
description: 'Car number/ID',
|
|
32
|
+
routing: {
|
|
33
|
+
send: {
|
|
34
|
+
type: 'body',
|
|
35
|
+
property: 'carId',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Color',
|
|
41
|
+
name: 'color',
|
|
42
|
+
type: 'color',
|
|
43
|
+
default: '',
|
|
44
|
+
displayOptions: { show: showOnlyForCarAdd },
|
|
45
|
+
description: 'Car color (optional)',
|
|
46
|
+
routing: {
|
|
47
|
+
send: {
|
|
48
|
+
type: 'body',
|
|
49
|
+
property: 'color',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
];
|
|
54
|
+
//# sourceMappingURL=add.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/cars/add.ts"],"names":[],"mappings":";;;AACA,4DAAuE;AAEvE,MAAM,iBAAiB,GAAG;IACzB,SAAS,EAAE,CAAC,KAAK,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,CAAC;CACjB,CAAC;AAEW,QAAA,iBAAiB,GAAsB;IACnD;QACC,GAAG,4BAAa;QAChB,cAAc,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE;KAC3C;IACD;QACC,GAAG,0BAAW;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE;QAC3C,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,QAAQ;aAClB;SACD;KACD;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE;QAC3C,WAAW,EAAE,eAAe;QAC5B,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,OAAO;aACjB;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE;QAC3C,WAAW,EAAE,sBAAsB;QACnC,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,OAAO;aACjB;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.carDeleteDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForCarDelete = {
|
|
6
|
+
operation: ['delete'],
|
|
7
|
+
resource: ['car'],
|
|
8
|
+
};
|
|
9
|
+
exports.carDeleteDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.placeIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForCarDelete },
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
...descriptions_1.phoneSelect,
|
|
16
|
+
displayOptions: { show: showOnlyForCarDelete },
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Car ID',
|
|
20
|
+
name: 'carId',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: '',
|
|
23
|
+
required: true,
|
|
24
|
+
displayOptions: { show: showOnlyForCarDelete },
|
|
25
|
+
description: 'Car ID to delete',
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=delete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/cars/delete.ts"],"names":[],"mappings":";;;AACA,4DAAuE;AAEvE,MAAM,oBAAoB,GAAG;IAC5B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,CAAC;CACjB,CAAC;AAEW,QAAA,oBAAoB,GAAsB;IACtD;QACC,GAAG,4BAAa;QAChB,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE;KAC9C;IACD;QACC,GAAG,0BAAW;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE;KAC9C;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE;QAC9C,WAAW,EAAE,kBAAkB;KAC/B;CACD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.carDeleteByIdDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForCarDeleteById = {
|
|
6
|
+
operation: ['deleteById'],
|
|
7
|
+
resource: ['car'],
|
|
8
|
+
};
|
|
9
|
+
exports.carDeleteByIdDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.placeIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForCarDeleteById },
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
...descriptions_1.phoneSelect,
|
|
16
|
+
displayOptions: { show: showOnlyForCarDeleteById },
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Car ID',
|
|
20
|
+
name: 'carId',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: '',
|
|
23
|
+
required: true,
|
|
24
|
+
displayOptions: { show: showOnlyForCarDeleteById },
|
|
25
|
+
description: 'Car ID to delete',
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=deleteById.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteById.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/cars/deleteById.ts"],"names":[],"mappings":";;;AACA,4DAAuE;AAEvE,MAAM,wBAAwB,GAAG;IAChC,SAAS,EAAE,CAAC,YAAY,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,CAAC;CACjB,CAAC;AAEW,QAAA,wBAAwB,GAAsB;IAC1D;QACC,GAAG,4BAAa;QAChB,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;KAClD;IACD;QACC,GAAG,0BAAW;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;KAClD;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;QAClD,WAAW,EAAE,kBAAkB;KAC/B;CACD,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.carDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const add_1 = require("./add");
|
|
6
|
+
const delete_1 = require("./delete");
|
|
7
|
+
const deleteById_1 = require("./deleteById");
|
|
8
|
+
const searchInLogs_1 = require("./searchInLogs");
|
|
9
|
+
const showOnlyForCars = {
|
|
10
|
+
resource: ['car'],
|
|
11
|
+
};
|
|
12
|
+
exports.carDescription = [
|
|
13
|
+
{
|
|
14
|
+
displayName: 'Operation',
|
|
15
|
+
name: 'operation',
|
|
16
|
+
type: 'options',
|
|
17
|
+
noDataExpression: true,
|
|
18
|
+
displayOptions: {
|
|
19
|
+
show: showOnlyForCars,
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Add',
|
|
24
|
+
value: 'add',
|
|
25
|
+
action: 'Add a car',
|
|
26
|
+
description: 'Add a car to a user',
|
|
27
|
+
routing: {
|
|
28
|
+
request: {
|
|
29
|
+
method: 'POST',
|
|
30
|
+
url: '=/place/{{$parameter.placeId}}/cars',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Delete',
|
|
36
|
+
value: 'delete',
|
|
37
|
+
action: 'Delete a car',
|
|
38
|
+
description: 'Delete a car from a user (POST method)',
|
|
39
|
+
routing: {
|
|
40
|
+
request: {
|
|
41
|
+
method: 'POST',
|
|
42
|
+
url: '=/place/{{$parameter.placeId}}/delete-car',
|
|
43
|
+
qs: {
|
|
44
|
+
carId: '={{$parameter.carId}}',
|
|
45
|
+
userId: '={{$parameter.phone}}',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'Delete By ID',
|
|
52
|
+
value: 'deleteById',
|
|
53
|
+
action: 'Delete a car by ID',
|
|
54
|
+
description: 'Delete a car from a user using DELETE method',
|
|
55
|
+
routing: {
|
|
56
|
+
request: {
|
|
57
|
+
method: 'DELETE',
|
|
58
|
+
url: '=/place/{{$parameter.placeId}}/user/{{$parameter.phone}}/car/{{$parameter.carId}}',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'Search In Logs',
|
|
64
|
+
value: 'searchInLogs',
|
|
65
|
+
action: 'Search car in logs',
|
|
66
|
+
description: 'Search for a car in logs',
|
|
67
|
+
routing: {
|
|
68
|
+
request: {
|
|
69
|
+
method: 'GET',
|
|
70
|
+
url: '=/place/{{$parameter.placeId}}/reports/car',
|
|
71
|
+
qs: {
|
|
72
|
+
carId: '={{$parameter.carNumber}}',
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
default: 'add',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
...descriptions_1.placeIdSelect,
|
|
82
|
+
displayOptions: {
|
|
83
|
+
show: showOnlyForCars,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
...add_1.carAddDescription,
|
|
87
|
+
...delete_1.carDeleteDescription,
|
|
88
|
+
...deleteById_1.carDeleteByIdDescription,
|
|
89
|
+
...searchInLogs_1.carSearchInLogsDescription,
|
|
90
|
+
];
|
|
91
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/cars/index.ts"],"names":[],"mappings":";;;AACA,4DAA0D;AAC1D,+BAA0C;AAC1C,qCAAgD;AAChD,6CAAwD;AACxD,iDAA4D;AAE5D,MAAM,eAAe,GAAG;IACvB,QAAQ,EAAE,CAAC,KAAK,CAAC;CACjB,CAAC;AAEW,QAAA,cAAc,GAAsB;IAChD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,eAAe;SACrB;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,WAAW;gBACnB,WAAW,EAAE,qBAAqB;gBAClC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,qCAAqC;qBAC1C;iBACD;aACD;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,cAAc;gBACtB,WAAW,EAAE,wCAAwC;gBACrD,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,2CAA2C;wBAChD,EAAE,EAAE;4BACH,KAAK,EAAE,uBAAuB;4BAC9B,MAAM,EAAE,uBAAuB;yBAC/B;qBACD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,oBAAoB;gBAC5B,WAAW,EAAE,8CAA8C;gBAC3D,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,QAAQ;wBAChB,GAAG,EAAE,mFAAmF;qBACxF;iBACD;aACD;YACD;gBACC,IAAI,EAAE,gBAAgB;gBACtB,KAAK,EAAE,cAAc;gBACrB,MAAM,EAAE,oBAAoB;gBAC5B,WAAW,EAAE,0BAA0B;gBACvC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,4CAA4C;wBACjD,EAAE,EAAE;4BACH,KAAK,EAAE,2BAA2B;yBAClC;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,KAAK;KACd;IACD;QACC,GAAG,4BAAa;QAChB,cAAc,EAAE;YACf,IAAI,EAAE,eAAe;SACrB;KACD;IACD,GAAG,uBAAiB;IACpB,GAAG,6BAAoB;IACvB,GAAG,qCAAwB;IAC3B,GAAG,yCAA0B;CAC7B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.carSearchInLogsDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForCarSearchInLogs = {
|
|
6
|
+
operation: ['searchInLogs'],
|
|
7
|
+
resource: ['car'],
|
|
8
|
+
};
|
|
9
|
+
exports.carSearchInLogsDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.placeIdSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForCarSearchInLogs },
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
displayName: 'Car Number',
|
|
16
|
+
name: 'carNumber',
|
|
17
|
+
type: 'string',
|
|
18
|
+
default: '',
|
|
19
|
+
required: true,
|
|
20
|
+
displayOptions: { show: showOnlyForCarSearchInLogs },
|
|
21
|
+
description: 'Car number to search in logs',
|
|
22
|
+
},
|
|
23
|
+
];
|
|
24
|
+
//# sourceMappingURL=searchInLogs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchInLogs.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/cars/searchInLogs.ts"],"names":[],"mappings":";;;AACA,4DAA0D;AAE1D,MAAM,0BAA0B,GAAG;IAClC,SAAS,EAAE,CAAC,cAAc,CAAC;IAC3B,QAAQ,EAAE,CAAC,KAAK,CAAC;CACjB,CAAC;AAEW,QAAA,0BAA0B,GAAsB;IAC5D;QACC,GAAG,4BAAa;QAChB,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;KACpD;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EAAE,8BAA8B;KAC3C;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDevicesMarkers.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/dashboard/getDevicesMarkers.ts"],"names":[],"mappings":";;;AAEa,QAAA,qCAAqC,GAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFavorites.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/dashboard/getFavorites.ts"],"names":[],"mappings":";;;AAEa,QAAA,gCAAgC,GAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRecent.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/dashboard/getRecent.ts"],"names":[],"mappings":";;;AAEa,QAAA,6BAA6B,GAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRecentDevicesPlaces.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/dashboard/getRecentDevicesPlaces.ts"],"names":[],"mappings":";;;AAEa,QAAA,0CAA0C,GAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStatistics.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/dashboard/getStatistics.ts"],"names":[],"mappings":";;;AAEa,QAAA,iCAAiC,GAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dashboardDescription = void 0;
|
|
4
|
+
const getFavorites_1 = require("./getFavorites");
|
|
5
|
+
const getRecent_1 = require("./getRecent");
|
|
6
|
+
const updateRecent_1 = require("./updateRecent");
|
|
7
|
+
const getStatistics_1 = require("./getStatistics");
|
|
8
|
+
const getDevicesMarkers_1 = require("./getDevicesMarkers");
|
|
9
|
+
const showOnlyForDashboard = {
|
|
10
|
+
resource: ['dashboard'],
|
|
11
|
+
};
|
|
12
|
+
exports.dashboardDescription = [
|
|
13
|
+
{
|
|
14
|
+
displayName: 'Operation',
|
|
15
|
+
name: 'operation',
|
|
16
|
+
type: 'options',
|
|
17
|
+
noDataExpression: true,
|
|
18
|
+
displayOptions: {
|
|
19
|
+
show: showOnlyForDashboard,
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get Devices Markers',
|
|
24
|
+
value: 'getDevicesMarkers',
|
|
25
|
+
action: 'Get devices markers',
|
|
26
|
+
description: 'Get devices markers for map',
|
|
27
|
+
routing: {
|
|
28
|
+
request: {
|
|
29
|
+
method: 'GET',
|
|
30
|
+
url: '=/dashboard/devices-markers',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Get Favorites',
|
|
36
|
+
value: 'getFavorites',
|
|
37
|
+
action: 'Get favorites',
|
|
38
|
+
description: 'Get dashboard favorites',
|
|
39
|
+
routing: {
|
|
40
|
+
request: {
|
|
41
|
+
method: 'GET',
|
|
42
|
+
url: '=/dashboard/favorites',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Get Recent',
|
|
48
|
+
value: 'getRecent',
|
|
49
|
+
action: 'Get recent devices and places',
|
|
50
|
+
description: 'Get recent devices and places',
|
|
51
|
+
routing: {
|
|
52
|
+
request: {
|
|
53
|
+
method: 'GET',
|
|
54
|
+
url: '=/dashboard/recent',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'Get Statistics',
|
|
60
|
+
value: 'getStatistics',
|
|
61
|
+
action: 'Get dashboard statistics',
|
|
62
|
+
description: 'Get dashboard statistics',
|
|
63
|
+
routing: {
|
|
64
|
+
request: {
|
|
65
|
+
method: 'GET',
|
|
66
|
+
url: '=/dashboard/statistics',
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'Update Recent',
|
|
72
|
+
value: 'updateRecent',
|
|
73
|
+
action: 'Update recent devices and places',
|
|
74
|
+
description: 'Update recent devices and places',
|
|
75
|
+
routing: {
|
|
76
|
+
request: {
|
|
77
|
+
method: 'PUT',
|
|
78
|
+
url: '=/dashboard/recent',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
default: 'getFavorites',
|
|
84
|
+
},
|
|
85
|
+
...getFavorites_1.dashboardGetFavoritesDescription,
|
|
86
|
+
...getRecent_1.dashboardGetRecentDescription,
|
|
87
|
+
...updateRecent_1.dashboardUpdateRecentDescription,
|
|
88
|
+
...getStatistics_1.dashboardGetStatisticsDescription,
|
|
89
|
+
...getDevicesMarkers_1.dashboardGetDevicesMarkersDescription,
|
|
90
|
+
];
|
|
91
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/dashboard/index.ts"],"names":[],"mappings":";;;AACA,iDAAkE;AAClE,2CAA4D;AAC5D,iDAAkE;AAClE,mDAAoE;AACpE,2DAA4E;AAE5E,MAAM,oBAAoB,GAAG;IAC5B,QAAQ,EAAE,CAAC,WAAW,CAAC;CACvB,CAAC;AAEW,QAAA,oBAAoB,GAAsB;IACtD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,oBAAoB;SAC1B;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,qBAAqB;gBAC3B,KAAK,EAAE,mBAAmB;gBAC1B,MAAM,EAAE,qBAAqB;gBAC7B,WAAW,EAAE,6BAA6B;gBAC1C,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,6BAA6B;qBAClC;iBACD;aACD;YACD;gBACC,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,cAAc;gBACrB,MAAM,EAAE,eAAe;gBACvB,WAAW,EAAE,yBAAyB;gBACtC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,uBAAuB;qBAC5B;iBACD;aACD;YACD;gBACC,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,WAAW;gBAClB,MAAM,EAAE,+BAA+B;gBACvC,WAAW,EAAE,+BAA+B;gBAC5C,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,oBAAoB;qBACzB;iBACD;aACD;YACD;gBACC,IAAI,EAAE,gBAAgB;gBACtB,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,0BAA0B;gBAClC,WAAW,EAAE,0BAA0B;gBACvC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,wBAAwB;qBAC7B;iBACD;aACD;YACD;gBACC,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,cAAc;gBACrB,MAAM,EAAE,kCAAkC;gBAC1C,WAAW,EAAE,kCAAkC;gBAC/C,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,oBAAoB;qBACzB;iBACD;aACD;SACD;QACD,OAAO,EAAE,cAAc;KACvB;IACD,GAAG,+CAAgC;IACnC,GAAG,yCAA6B;IAChC,GAAG,+CAAgC;IACnC,GAAG,iDAAiC;IACpC,GAAG,yDAAqC;CACxC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dashboardUpdateRecentDescription = void 0;
|
|
4
|
+
const showOnlyForDashboardUpdateRecent = {
|
|
5
|
+
operation: ['updateRecent'],
|
|
6
|
+
resource: ['dashboard'],
|
|
7
|
+
};
|
|
8
|
+
exports.dashboardUpdateRecentDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Devices',
|
|
11
|
+
name: 'devices',
|
|
12
|
+
type: 'string',
|
|
13
|
+
typeOptions: {
|
|
14
|
+
multipleValues: true,
|
|
15
|
+
},
|
|
16
|
+
default: [],
|
|
17
|
+
displayOptions: { show: showOnlyForDashboardUpdateRecent },
|
|
18
|
+
description: 'List of device serial numbers',
|
|
19
|
+
routing: {
|
|
20
|
+
send: {
|
|
21
|
+
type: 'body',
|
|
22
|
+
property: 'devices',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: 'Places',
|
|
28
|
+
name: 'places',
|
|
29
|
+
type: 'string',
|
|
30
|
+
typeOptions: {
|
|
31
|
+
multipleValues: true,
|
|
32
|
+
},
|
|
33
|
+
default: [],
|
|
34
|
+
displayOptions: { show: showOnlyForDashboardUpdateRecent },
|
|
35
|
+
description: 'List of place IDs',
|
|
36
|
+
routing: {
|
|
37
|
+
send: {
|
|
38
|
+
type: 'body',
|
|
39
|
+
property: 'places',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
//# sourceMappingURL=updateRecent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateRecent.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/dashboard/updateRecent.ts"],"names":[],"mappings":";;;AAEA,MAAM,gCAAgC,GAAG;IACxC,SAAS,EAAE,CAAC,cAAc,CAAC;IAC3B,QAAQ,EAAE,CAAC,WAAW,CAAC;CACvB,CAAC;AAEW,QAAA,gCAAgC,GAAsB;IAClE;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,cAAc,EAAE,IAAI;SACpB;QACD,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE;QAC1D,WAAW,EAAE,+BAA+B;QAC5C,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,SAAS;aACnB;SACD;KACD;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,cAAc,EAAE,IAAI;SACpB;QACD,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE;QAC1D,WAAW,EAAE,mBAAmB;QAChC,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,QAAQ;aAClB;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dashboardUpdateRecentDevicesPlacesDescription = void 0;
|
|
4
|
+
const showOnlyForDashboardUpdateRecentDevicesPlaces = {
|
|
5
|
+
operation: ['updateRecentDevicesPlaces'],
|
|
6
|
+
resource: ['dashboard'],
|
|
7
|
+
};
|
|
8
|
+
exports.dashboardUpdateRecentDevicesPlacesDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Devices',
|
|
11
|
+
name: 'devices',
|
|
12
|
+
type: 'string',
|
|
13
|
+
typeOptions: {
|
|
14
|
+
multipleValues: true,
|
|
15
|
+
},
|
|
16
|
+
default: [],
|
|
17
|
+
displayOptions: { show: showOnlyForDashboardUpdateRecentDevicesPlaces },
|
|
18
|
+
description: 'List of device serial numbers',
|
|
19
|
+
routing: {
|
|
20
|
+
send: {
|
|
21
|
+
type: 'body',
|
|
22
|
+
property: 'devices',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: 'Places',
|
|
28
|
+
name: 'places',
|
|
29
|
+
type: 'string',
|
|
30
|
+
typeOptions: {
|
|
31
|
+
multipleValues: true,
|
|
32
|
+
},
|
|
33
|
+
default: [],
|
|
34
|
+
displayOptions: { show: showOnlyForDashboardUpdateRecentDevicesPlaces },
|
|
35
|
+
description: 'List of place IDs',
|
|
36
|
+
routing: {
|
|
37
|
+
send: {
|
|
38
|
+
type: 'body',
|
|
39
|
+
property: 'places',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
//# sourceMappingURL=updateRecentDevicesPlaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateRecentDevicesPlaces.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/dashboard/updateRecentDevicesPlaces.ts"],"names":[],"mappings":";;;AAEA,MAAM,6CAA6C,GAAG;IACrD,SAAS,EAAE,CAAC,2BAA2B,CAAC;IACxC,QAAQ,EAAE,CAAC,WAAW,CAAC;CACvB,CAAC;AAEW,QAAA,6CAA6C,GAAsB;IAC/E;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,cAAc,EAAE,IAAI;SACpB;QACD,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,6CAA6C,EAAE;QACvE,WAAW,EAAE,+BAA+B;QAC5C,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,SAAS;aACnB;SACD;KACD;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,cAAc,EAAE,IAAI;SACpB;QACD,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,6CAA6C,EAAE;QACvE,WAAW,EAAE,mBAAmB;QAChC,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,QAAQ;aAClB;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deviceAddUsersDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForDeviceAddUsers = {
|
|
6
|
+
operation: ['addUsers'],
|
|
7
|
+
resource: ['device'],
|
|
8
|
+
};
|
|
9
|
+
exports.deviceAddUsersDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.serialSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForDeviceAddUsers },
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
displayName: 'Users',
|
|
16
|
+
name: 'users',
|
|
17
|
+
type: 'string',
|
|
18
|
+
typeOptions: {
|
|
19
|
+
multipleValues: true,
|
|
20
|
+
},
|
|
21
|
+
default: [],
|
|
22
|
+
required: true,
|
|
23
|
+
displayOptions: { show: showOnlyForDeviceAddUsers },
|
|
24
|
+
description: 'List of user phone numbers to add',
|
|
25
|
+
routing: {
|
|
26
|
+
send: {
|
|
27
|
+
type: 'body',
|
|
28
|
+
property: 'users',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
];
|
|
33
|
+
//# sourceMappingURL=addUsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addUsers.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/devices/addUsers.ts"],"names":[],"mappings":";;;AACA,4DAAyD;AAEzD,MAAM,yBAAyB,GAAG;IACjC,SAAS,EAAE,CAAC,UAAU,CAAC;IACvB,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACpB,CAAC;AAEW,QAAA,yBAAyB,GAAsB;IAC3D;QACC,GAAG,2BAAY;QACf,cAAc,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE;KACnD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,cAAc,EAAE,IAAI;SACpB;QACD,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE;QACnD,WAAW,EAAE,mCAAmC;QAChD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,OAAO;aACjB;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deviceGetDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const showOnlyForDeviceGet = {
|
|
6
|
+
operation: ['get'],
|
|
7
|
+
resource: ['device'],
|
|
8
|
+
};
|
|
9
|
+
exports.deviceGetDescription = [
|
|
10
|
+
{
|
|
11
|
+
...descriptions_1.serialSelect,
|
|
12
|
+
displayOptions: { show: showOnlyForDeviceGet },
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/PalGate/resources/devices/get.ts"],"names":[],"mappings":";;;AACA,4DAAyD;AAEzD,MAAM,oBAAoB,GAAG;IAC5B,SAAS,EAAE,CAAC,KAAK,CAAC;IAClB,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACpB,CAAC;AAEW,QAAA,oBAAoB,GAAsB;IACtD;QACC,GAAG,2BAAY;QACf,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE;KAC9C;CACD,CAAC"}
|