@edgeiq/edgeiq-api-js 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -55
- package/dist/__tests__/auth.test.d.ts +1 -1
- package/dist/__tests__/auth.test.js +143 -143
- package/dist/__tests__/companies.test.d.ts +1 -1
- package/dist/__tests__/companies.test.js +196 -196
- package/dist/__tests__/deviceTypes.test.d.ts +1 -1
- package/dist/__tests__/deviceTypes.test.js +172 -172
- package/dist/__tests__/devices.test.d.ts +1 -1
- package/dist/__tests__/devices.test.js +204 -204
- package/dist/__tests__/discoveredDevice.test.d.ts +1 -1
- package/dist/__tests__/discoveredDevice.test.js +126 -126
- package/dist/__tests__/ingestors.test.d.ts +1 -1
- package/dist/__tests__/ingestors.test.js +172 -172
- package/dist/__tests__/integrations.test.d.ts +1 -1
- package/dist/__tests__/integrations.test.js +192 -192
- package/dist/__tests__/notifications.test.d.ts +1 -0
- package/dist/__tests__/notifications.test.js +72 -0
- package/dist/__tests__/pollableAttributes.test.d.ts +1 -1
- package/dist/__tests__/pollableAttributes.test.js +172 -172
- package/dist/__tests__/rules.test.d.ts +1 -1
- package/dist/__tests__/rules.test.js +172 -172
- package/dist/__tests__/testConstants.d.ts +7 -0
- package/dist/__tests__/testConstants.js +14 -0
- package/dist/__tests__/translators.test.d.ts +1 -1
- package/dist/__tests__/translators.test.js +172 -172
- package/dist/__tests__/users.test.d.ts +1 -1
- package/dist/__tests__/users.test.js +208 -208
- package/dist/auth/index.d.ts +8 -8
- package/dist/auth/index.js +158 -158
- package/dist/bulkResponses/index.d.ts +8 -8
- package/dist/bulkResponses/index.js +124 -124
- package/dist/bulkResponses/models.d.ts +43 -43
- package/dist/bulkResponses/models.js +2 -2
- package/dist/commands/index.d.ts +9 -9
- package/dist/commands/index.js +224 -224
- package/dist/commands/models.d.ts +28 -28
- package/dist/commands/models.js +2 -2
- package/dist/companies/index.d.ts +7 -7
- package/dist/companies/index.js +198 -198
- package/dist/companies/models.d.ts +94 -94
- package/dist/companies/models.js +2 -2
- package/dist/constants.d.ts +132 -130
- package/dist/constants.js +148 -146
- package/dist/core/ModelClass.d.ts +13 -13
- package/dist/core/ModelClass.js +19 -19
- package/dist/core/handleResponseError.d.ts +2 -2
- package/dist/core/handleResponseError.js +167 -167
- package/dist/core/index.d.ts +19 -19
- package/dist/core/index.js +63 -63
- package/dist/deviceConfigs/index.d.ts +9 -9
- package/dist/deviceConfigs/index.js +224 -224
- package/dist/deviceConfigs/models.d.ts +38 -38
- package/dist/deviceConfigs/models.js +2 -2
- package/dist/deviceLocationObservations/index.d.ts +5 -5
- package/dist/deviceLocationObservations/index.js +189 -189
- package/dist/deviceLocationObservations/models.d.ts +26 -26
- package/dist/deviceLocationObservations/models.js +2 -2
- package/dist/deviceTemplates/index.d.ts +9 -9
- package/dist/deviceTemplates/index.js +226 -226
- package/dist/deviceTemplates/models.d.ts +36 -36
- package/dist/deviceTemplates/models.js +2 -2
- package/dist/deviceTransferRequests/index.d.ts +7 -7
- package/dist/deviceTransferRequests/index.js +198 -198
- package/dist/deviceTransferRequests/models.d.ts +26 -26
- package/dist/deviceTransferRequests/models.js +2 -2
- package/dist/deviceTypes/index.d.ts +19 -19
- package/dist/deviceTypes/index.js +440 -440
- package/dist/deviceTypes/models.d.ts +104 -104
- package/dist/deviceTypes/models.js +2 -2
- package/dist/devices/index.d.ts +20 -20
- package/dist/devices/index.js +487 -487
- package/dist/devices/models.d.ts +114 -114
- package/dist/devices/models.js +2 -2
- package/dist/discoveredDevices/index.d.ts +14 -14
- package/dist/discoveredDevices/index.js +334 -334
- package/dist/discoveredDevices/models.d.ts +41 -41
- package/dist/discoveredDevices/models.js +2 -2
- package/dist/downstreamSystems/index.d.ts +7 -7
- package/dist/downstreamSystems/index.js +198 -198
- package/dist/downstreamSystems/models.d.ts +17 -17
- package/dist/downstreamSystems/models.js +2 -2
- package/dist/escrowDevices/index.d.ts +9 -9
- package/dist/escrowDevices/index.js +224 -224
- package/dist/escrowDevices/models.d.ts +21 -21
- package/dist/escrowDevices/models.js +2 -2
- package/dist/example/index.d.ts +1 -0
- package/dist/example/index.js +5 -0
- package/dist/filtersParser.d.ts +5 -5
- package/dist/filtersParser.js +52 -52
- package/dist/gatewayCommands/index.d.ts +10 -10
- package/dist/gatewayCommands/index.js +261 -261
- package/dist/gatewayCommands/models.d.ts +41 -41
- package/dist/gatewayCommands/models.js +2 -2
- package/dist/helpers.d.ts +3 -3
- package/dist/helpers.js +11 -11
- package/dist/index.d.ts +58 -56
- package/dist/index.js +101 -98
- package/dist/ingestors/index.d.ts +9 -9
- package/dist/ingestors/index.js +224 -224
- package/dist/ingestors/models.d.ts +37 -37
- package/dist/ingestors/models.js +2 -2
- package/dist/integrations/index.d.ts +9 -9
- package/dist/integrations/index.js +306 -306
- package/dist/integrations/models.d.ts +61 -61
- package/dist/integrations/models.js +2 -2
- package/dist/models/index.d.ts +1893 -1893
- package/dist/models/index.js +2 -2
- package/dist/models.d.ts +67 -67
- package/dist/models.js +2 -2
- package/dist/notifications/index.d.ts +8 -0
- package/dist/notifications/index.js +124 -0
- package/dist/notifications/models.d.ts +19 -0
- package/dist/notifications/models.js +2 -0
- package/dist/pollableAttributes/index.d.ts +7 -7
- package/dist/pollableAttributes/index.js +198 -198
- package/dist/pollableAttributes/models.d.ts +28 -28
- package/dist/pollableAttributes/models.js +2 -2
- package/dist/regions/index.d.ts +5 -5
- package/dist/regions/index.js +173 -173
- package/dist/regions/models.d.ts +17 -17
- package/dist/regions/models.js +2 -2
- package/dist/reports/index.d.ts +8 -8
- package/dist/reports/index.js +199 -199
- package/dist/reports/models.d.ts +25 -25
- package/dist/reports/models.js +2 -2
- package/dist/rules/index.d.ts +9 -9
- package/dist/rules/index.js +224 -224
- package/dist/rules/models.d.ts +108 -108
- package/dist/rules/models.js +2 -2
- package/dist/secrets/index.d.ts +5 -5
- package/dist/secrets/index.js +173 -173
- package/dist/secrets/models.d.ts +16 -16
- package/dist/secrets/models.js +2 -2
- package/dist/softwareUpdates/index.d.ts +9 -9
- package/dist/softwareUpdates/index.js +224 -224
- package/dist/softwareUpdates/models.d.ts +22 -22
- package/dist/softwareUpdates/models.js +2 -2
- package/dist/stats/index.d.ts +8 -8
- package/dist/stats/index.js +116 -116
- package/dist/stats/models.d.ts +27 -27
- package/dist/stats/models.js +2 -2
- package/dist/systemCommandJobs/index.d.ts +5 -5
- package/dist/systemCommandJobs/index.js +173 -173
- package/dist/systemCommandJobs/models.d.ts +32 -32
- package/dist/systemCommandJobs/models.js +2 -2
- package/dist/systemCommands/index.d.ts +7 -7
- package/dist/systemCommands/index.js +198 -198
- package/dist/systemCommands/models.d.ts +32 -32
- package/dist/systemCommands/models.js +2 -2
- package/dist/testConstants.d.ts +46 -44
- package/dist/testConstants.js +221 -220
- package/dist/translators/index.d.ts +9 -9
- package/dist/translators/index.js +224 -224
- package/dist/translators/models.d.ts +21 -21
- package/dist/translators/models.js +2 -2
- package/dist/userTypes/index.d.ts +7 -7
- package/dist/userTypes/index.js +198 -198
- package/dist/userTypes/models.d.ts +79 -79
- package/dist/userTypes/models.js +2 -2
- package/dist/users/index.d.ts +12 -10
- package/dist/users/index.js +300 -252
- package/dist/users/models.d.ts +41 -41
- package/dist/users/models.js +2 -2
- package/package.json +56 -56
package/package.json
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@edgeiq/edgeiq-api-js",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"author": "EdgeIQ",
|
|
5
|
-
"license": "ISC",
|
|
6
|
-
"description": "This project presents EdgeIQ API SDK.",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"edgeiq",
|
|
9
|
-
"edgeiq-sdk"
|
|
10
|
-
],
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/EdgeIQ/edgeiq-api-js.git"
|
|
14
|
-
},
|
|
15
|
-
"bugs": {
|
|
16
|
-
"url": "https://github.com/EdgeIQ/edgeiq-api-js/issues"
|
|
17
|
-
},
|
|
18
|
-
"homepage": "https://github.com/EdgeIQ/edgeiq-api-js#readme",
|
|
19
|
-
"main": "dist/index.js",
|
|
20
|
-
"types": "dist/index.d.ts",
|
|
21
|
-
"scripts": {
|
|
22
|
-
"build": "tsc",
|
|
23
|
-
"format": "prettier --write \"src/**/*.ts\"",
|
|
24
|
-
"lint": "eslint . --cache --fix",
|
|
25
|
-
"postversion": "git push && git push --tags",
|
|
26
|
-
"prepare": "npm run build && husky install",
|
|
27
|
-
"prepublishOnly": "npm run lint",
|
|
28
|
-
"preversion": "npm run lint",
|
|
29
|
-
"test": "jest --config jestconfig.json --runInBand --detectOpenHandles",
|
|
30
|
-
"version": "npm run format && git add -A src"
|
|
31
|
-
},
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"axios": "^0.21.4",
|
|
34
|
-
"chalk": "^4.1.2"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@types/jest": "^27.0.2",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
39
|
-
"@typescript-eslint/parser": "^4.33.0",
|
|
40
|
-
"eslint": "^7.32.0",
|
|
41
|
-
"eslint-config-prettier": "^8.3.0",
|
|
42
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
43
|
-
"husky": "^7.0.2",
|
|
44
|
-
"jest": "^27.2.1",
|
|
45
|
-
"lint-staged": "^11.2.0",
|
|
46
|
-
"prettier": "^2.4.1",
|
|
47
|
-
"ts-jest": "^27.0.5",
|
|
48
|
-
"typescript": "^4.4.3"
|
|
49
|
-
},
|
|
50
|
-
"files": [
|
|
51
|
-
"dist/**/*"
|
|
52
|
-
],
|
|
53
|
-
"lint-staged": {
|
|
54
|
-
"*.ts": "npm run lint"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@edgeiq/edgeiq-api-js",
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"author": "EdgeIQ",
|
|
5
|
+
"license": "ISC",
|
|
6
|
+
"description": "This project presents EdgeIQ API SDK.",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"edgeiq",
|
|
9
|
+
"edgeiq-sdk"
|
|
10
|
+
],
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/EdgeIQ/edgeiq-api-js.git"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/EdgeIQ/edgeiq-api-js/issues"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://github.com/EdgeIQ/edgeiq-api-js#readme",
|
|
19
|
+
"main": "dist/index.js",
|
|
20
|
+
"types": "dist/index.d.ts",
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "tsc",
|
|
23
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
24
|
+
"lint": "eslint . --cache --fix",
|
|
25
|
+
"postversion": "git push && git push --tags",
|
|
26
|
+
"prepare": "npm run build && husky install",
|
|
27
|
+
"prepublishOnly": "npm run lint",
|
|
28
|
+
"preversion": "npm run lint",
|
|
29
|
+
"test": "jest --config jestconfig.json --runInBand --detectOpenHandles",
|
|
30
|
+
"version": "npm run format && git add -A src"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"axios": "^0.21.4",
|
|
34
|
+
"chalk": "^4.1.2"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@types/jest": "^27.0.2",
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
39
|
+
"@typescript-eslint/parser": "^4.33.0",
|
|
40
|
+
"eslint": "^7.32.0",
|
|
41
|
+
"eslint-config-prettier": "^8.3.0",
|
|
42
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
43
|
+
"husky": "^7.0.2",
|
|
44
|
+
"jest": "^27.2.1",
|
|
45
|
+
"lint-staged": "^11.2.0",
|
|
46
|
+
"prettier": "^2.4.1",
|
|
47
|
+
"ts-jest": "^27.0.5",
|
|
48
|
+
"typescript": "^4.4.3"
|
|
49
|
+
},
|
|
50
|
+
"files": [
|
|
51
|
+
"dist/**/*"
|
|
52
|
+
],
|
|
53
|
+
"lint-staged": {
|
|
54
|
+
"*.ts": "npm run lint"
|
|
55
|
+
}
|
|
56
|
+
}
|