@northern.tech/store 0.3.4 → 0.4.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/dist/actions.cjs +78 -827
- package/dist/actions.cjs.map +1 -1
- package/dist/actions.d.cts +229 -85
- package/dist/actions.d.ts +229 -85
- package/dist/actions.js +14 -14
- package/dist/api/general-api.cjs +274 -148
- package/dist/api/general-api.cjs.map +1 -1
- package/dist/api/general-api.d.cts +1 -1
- package/dist/api/general-api.d.ts +1 -1
- package/dist/api/general-api.js +7 -7
- package/dist/api/users-api.cjs +274 -148
- package/dist/api/users-api.cjs.map +1 -1
- package/dist/api/users-api.d.cts +7 -5
- package/dist/api/users-api.d.ts +7 -5
- package/dist/api/users-api.js +8 -8
- package/dist/appSlice/constants.cjs +23 -43
- package/dist/appSlice/constants.cjs.map +1 -1
- package/dist/appSlice/constants.d.cts +102 -112
- package/dist/appSlice/constants.d.ts +102 -112
- package/dist/appSlice/constants.js +1 -11
- package/dist/appSlice/index.cjs +24 -239
- package/dist/appSlice/index.cjs.map +1 -1
- package/dist/appSlice/index.d.cts +119 -1531
- package/dist/appSlice/index.d.ts +119 -1531
- package/dist/appSlice/index.js +6 -6
- package/dist/appSlice/mocks.cjs +186 -0
- package/dist/appSlice/mocks.cjs.map +1 -0
- package/dist/appSlice/mocks.d.cts +39 -0
- package/dist/appSlice/mocks.d.ts +39 -0
- package/dist/appSlice/mocks.js +27 -0
- package/dist/appSlice/mocks.js.map +1 -0
- package/dist/appSlice/selectors.cjs +31 -5
- package/dist/appSlice/selectors.cjs.map +1 -1
- package/dist/appSlice/selectors.d.cts +709 -23
- package/dist/appSlice/selectors.d.ts +709 -23
- package/dist/appSlice/selectors.js +21 -1
- package/dist/appSlice/thunks.cjs +1552 -1769
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.d.cts +34 -14
- package/dist/appSlice/thunks.d.ts +34 -14
- package/dist/appSlice/thunks.js +31 -31
- package/dist/auth.cjs +276 -153
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +13 -10
- package/dist/auth.d.ts +13 -10
- package/dist/auth.js +6 -8
- package/dist/{chunk-CK6YE6AN.js → chunk-2DYA3X77.js} +3 -1
- package/dist/{chunk-CK6YE6AN.js.map → chunk-2DYA3X77.js.map} +1 -1
- package/dist/{chunk-JO33IORF.js → chunk-4TUJPE6G.js} +19 -4
- package/dist/chunk-4TUJPE6G.js.map +1 -0
- package/dist/{chunk-AFICTIVU.js → chunk-6KGTHJKC.js} +22 -24
- package/dist/chunk-6KGTHJKC.js.map +1 -0
- package/dist/chunk-7C4SQBEE.js +715 -0
- package/dist/chunk-7C4SQBEE.js.map +1 -0
- package/dist/{chunk-X3GZILYD.js → chunk-ABJLRDCO.js} +10 -11
- package/dist/chunk-ABJLRDCO.js.map +1 -0
- package/dist/{chunk-PAIB5V27.js → chunk-CW5T6OGF.js} +56 -22
- package/dist/chunk-CW5T6OGF.js.map +1 -0
- package/dist/{chunk-MRCFLG45.js → chunk-FAJ3I2UQ.js} +2 -1
- package/dist/chunk-FAJ3I2UQ.js.map +1 -0
- package/dist/{chunk-FVCYB5OP.js → chunk-IQG5I7AM.js} +32 -40
- package/dist/chunk-IQG5I7AM.js.map +1 -0
- package/dist/chunk-JUGE7L3K.js +110 -0
- package/dist/chunk-JUGE7L3K.js.map +1 -0
- package/dist/{chunk-ZWOAFHAR.js → chunk-JXQUFKID.js} +2 -2
- package/dist/chunk-JXQUFKID.js.map +1 -0
- package/dist/{chunk-K4MMUDYT.js → chunk-KC7SKI3U.js} +9 -11
- package/dist/chunk-KC7SKI3U.js.map +1 -0
- package/dist/{chunk-L3SY3J5M.js → chunk-KJNNEDRV.js} +11 -7
- package/dist/chunk-KJNNEDRV.js.map +1 -0
- package/dist/chunk-MBKAZVE3.js +44 -0
- package/dist/chunk-MBKAZVE3.js.map +1 -0
- package/dist/{chunk-FRSA2YB5.js → chunk-MZNANSS2.js} +12 -7
- package/dist/chunk-MZNANSS2.js.map +1 -0
- package/dist/{chunk-EYCORLYU.js → chunk-N2KLYPS5.js} +128 -87
- package/dist/chunk-N2KLYPS5.js.map +1 -0
- package/dist/{chunk-Y575RZHR.js → chunk-OHF3YUXX.js} +25 -40
- package/dist/chunk-OHF3YUXX.js.map +1 -0
- package/dist/{chunk-NOQR3TE7.js → chunk-OOICURFL.js} +2 -2
- package/dist/chunk-OOICURFL.js.map +1 -0
- package/dist/{chunk-AVX7VVOK.js → chunk-PGFVHKP5.js} +5 -7
- package/dist/chunk-PGFVHKP5.js.map +1 -0
- package/dist/{chunk-NCSKCF2S.js → chunk-QHK7GGV4.js} +3 -3
- package/dist/chunk-QHK7GGV4.js.map +1 -0
- package/dist/{chunk-AUBJUUP3.js → chunk-RS37Y2PQ.js} +3 -3
- package/dist/chunk-RS37Y2PQ.js.map +1 -0
- package/dist/{chunk-7YZCUAXZ.js → chunk-UGSLGUS6.js} +8 -6
- package/dist/chunk-UGSLGUS6.js.map +1 -0
- package/dist/{chunk-ZZMFXRQK.js → chunk-URNS6A5T.js} +14 -14
- package/dist/{chunk-RX32WLVJ.js → chunk-VANBSJS5.js} +1 -1
- package/dist/chunk-VANBSJS5.js.map +1 -0
- package/dist/{chunk-DGQKXSRI.js → chunk-VUFRP6P3.js} +5 -6
- package/dist/chunk-VUFRP6P3.js.map +1 -0
- package/dist/{chunk-DCEKU6UV.js → chunk-X4GUACQO.js} +8 -5
- package/dist/chunk-X4GUACQO.js.map +1 -0
- package/dist/{chunk-GWJIY56H.js → chunk-XWYJACQC.js} +40 -15
- package/dist/chunk-XWYJACQC.js.map +1 -0
- package/dist/{chunk-GAI4VYRZ.js → chunk-ZJW3QIPM.js} +8 -9
- package/dist/chunk-ZJW3QIPM.js.map +1 -0
- package/dist/chunk-ZKAH3APE.js +1 -0
- package/dist/chunk-ZKAH3APE.js.map +1 -0
- package/dist/{chunk-EQLHIPPR.js → chunk-ZN5TB2NJ.js} +919 -842
- package/dist/chunk-ZN5TB2NJ.js.map +1 -0
- package/dist/{chunk-FQDSV3NK.js → chunk-ZRSYBSSY.js} +18 -12
- package/dist/chunk-ZRSYBSSY.js.map +1 -0
- package/dist/commonConstants.cjs +279 -173
- package/dist/commonConstants.cjs.map +1 -1
- package/dist/commonConstants.d.cts +46 -212
- package/dist/commonConstants.d.ts +46 -212
- package/dist/commonConstants.js +11 -19
- package/dist/commonSelectors.cjs +507 -768
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.d.cts +4307 -280
- package/dist/commonSelectors.d.ts +4307 -280
- package/dist/commonSelectors.js +14 -14
- package/dist/constants.cjs +355 -655
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.cts +11 -9
- package/dist/constants.d.ts +11 -9
- package/dist/constants.js +37 -29
- package/dist/deploymentsSlice/constants.cjs +5 -360
- package/dist/deploymentsSlice/constants.cjs.map +1 -1
- package/dist/deploymentsSlice/constants.d.cts +59 -39
- package/dist/deploymentsSlice/constants.d.ts +59 -39
- package/dist/deploymentsSlice/constants.js +5 -11
- package/dist/deploymentsSlice/index.cjs +17 -365
- package/dist/deploymentsSlice/index.cjs.map +1 -1
- package/dist/deploymentsSlice/index.d.cts +142 -2359
- package/dist/deploymentsSlice/index.d.ts +142 -2359
- package/dist/deploymentsSlice/index.js +6 -6
- package/dist/deploymentsSlice/mocks.cjs +429 -0
- package/dist/deploymentsSlice/mocks.cjs.map +1 -0
- package/dist/deploymentsSlice/mocks.d.cts +189 -0
- package/dist/deploymentsSlice/mocks.d.ts +189 -0
- package/dist/deploymentsSlice/mocks.js +146 -0
- package/dist/deploymentsSlice/mocks.js.map +1 -0
- package/dist/deploymentsSlice/selectors.cjs +5 -353
- package/dist/deploymentsSlice/selectors.cjs.map +1 -1
- package/dist/deploymentsSlice/selectors.d.cts +167 -11
- package/dist/deploymentsSlice/selectors.d.ts +167 -11
- package/dist/deploymentsSlice/selectors.js +6 -6
- package/dist/deploymentsSlice/thunks.cjs +1518 -1735
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +134 -76
- package/dist/deploymentsSlice/thunks.d.ts +134 -76
- package/dist/deploymentsSlice/thunks.js +31 -31
- package/dist/devicesSlice/constants.cjs +5 -375
- package/dist/devicesSlice/constants.cjs.map +1 -1
- package/dist/devicesSlice/constants.d.cts +8 -16
- package/dist/devicesSlice/constants.d.ts +8 -16
- package/dist/devicesSlice/constants.js +7 -25
- package/dist/devicesSlice/index.cjs +17 -381
- package/dist/devicesSlice/index.cjs.map +1 -1
- package/dist/devicesSlice/index.d.cts +196 -2208
- package/dist/devicesSlice/index.d.ts +196 -2208
- package/dist/devicesSlice/index.js +6 -6
- package/dist/devicesSlice/mocks.cjs +336 -0
- package/dist/devicesSlice/mocks.cjs.map +1 -0
- package/dist/devicesSlice/mocks.d.cts +154 -0
- package/dist/devicesSlice/mocks.d.ts +154 -0
- package/dist/devicesSlice/mocks.js +136 -0
- package/dist/devicesSlice/mocks.js.map +1 -0
- package/dist/devicesSlice/selectors.cjs +280 -293
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +1791 -82
- package/dist/devicesSlice/selectors.d.ts +1791 -82
- package/dist/devicesSlice/selectors.js +8 -6
- package/dist/devicesSlice/thunks.cjs +1699 -1926
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +374 -291
- package/dist/devicesSlice/thunks.d.ts +374 -291
- package/dist/devicesSlice/thunks.js +37 -47
- package/dist/liststatehook.cjs +289 -325
- package/dist/liststatehook.cjs.map +1 -1
- package/dist/liststatehook.d.cts +4 -16
- package/dist/liststatehook.d.ts +4 -16
- package/dist/liststatehook.js +9 -9
- package/dist/liststatehook.js.map +1 -1
- package/dist/locationutils.cjs +286 -322
- package/dist/locationutils.cjs.map +1 -1
- package/dist/locationutils.d.cts +8 -7
- package/dist/locationutils.d.ts +8 -7
- package/dist/locationutils.js +6 -6
- package/dist/monitorSlice/constants.cjs +0 -146
- package/dist/monitorSlice/constants.cjs.map +1 -1
- package/dist/monitorSlice/constants.d.cts +4 -5
- package/dist/monitorSlice/constants.d.ts +4 -5
- package/dist/monitorSlice/constants.js +1 -12
- package/dist/monitorSlice/index.cjs +5 -353
- package/dist/monitorSlice/index.cjs.map +1 -1
- package/dist/monitorSlice/index.d.cts +63 -260
- package/dist/monitorSlice/index.d.ts +63 -260
- package/dist/monitorSlice/index.js +6 -6
- package/dist/monitorSlice/mocks.cjs +130 -0
- package/dist/monitorSlice/mocks.cjs.map +1 -0
- package/dist/monitorSlice/mocks.d.cts +57 -0
- package/dist/monitorSlice/mocks.d.ts +57 -0
- package/dist/monitorSlice/mocks.js +65 -0
- package/dist/monitorSlice/mocks.js.map +1 -0
- package/dist/monitorSlice/thunks.cjs +623 -860
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.d.cts +90 -21
- package/dist/monitorSlice/thunks.d.ts +90 -21
- package/dist/monitorSlice/thunks.js +27 -27
- package/dist/onboardingSlice/constants.cjs +1 -0
- package/dist/onboardingSlice/constants.cjs.map +1 -1
- package/dist/onboardingSlice/constants.d.cts +23 -20
- package/dist/onboardingSlice/constants.d.ts +23 -20
- package/dist/onboardingSlice/constants.js +1 -1
- package/dist/onboardingSlice/index.cjs.map +1 -1
- package/dist/onboardingSlice/index.d.cts +50 -225
- package/dist/onboardingSlice/index.d.ts +50 -225
- package/dist/onboardingSlice/index.js +1 -1
- package/dist/onboardingSlice/mocks.cjs +83 -0
- package/dist/onboardingSlice/mocks.cjs.map +1 -0
- package/dist/onboardingSlice/mocks.d.cts +19 -0
- package/dist/onboardingSlice/mocks.d.ts +19 -0
- package/dist/onboardingSlice/mocks.js +17 -0
- package/dist/onboardingSlice/mocks.js.map +1 -0
- package/dist/onboardingSlice/thunks.cjs +1771 -1991
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.d.cts +62 -34
- package/dist/onboardingSlice/thunks.d.ts +62 -34
- package/dist/onboardingSlice/thunks.js +31 -31
- package/dist/organizationSlice/constants.cjs +8 -748
- package/dist/organizationSlice/constants.cjs.map +1 -1
- package/dist/organizationSlice/constants.d.cts +36 -116
- package/dist/organizationSlice/constants.d.ts +36 -116
- package/dist/organizationSlice/constants.js +7 -17
- package/dist/organizationSlice/index.cjs +14 -368
- package/dist/organizationSlice/index.cjs.map +1 -1
- package/dist/organizationSlice/index.d.cts +45 -74
- package/dist/organizationSlice/index.d.ts +45 -74
- package/dist/organizationSlice/index.js +6 -6
- package/dist/organizationSlice/mocks.cjs +234 -0
- package/dist/organizationSlice/mocks.cjs.map +1 -0
- package/dist/organizationSlice/mocks.d.cts +107 -0
- package/dist/organizationSlice/mocks.d.ts +107 -0
- package/dist/organizationSlice/mocks.js +101 -0
- package/dist/organizationSlice/mocks.js.map +1 -0
- package/dist/organizationSlice/selectors.cjs +301 -146
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +888 -52
- package/dist/organizationSlice/selectors.d.ts +888 -52
- package/dist/organizationSlice/selectors.js +14 -6
- package/dist/organizationSlice/thunks.cjs +2593 -2730
- package/dist/organizationSlice/thunks.cjs.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +318 -127
- package/dist/organizationSlice/thunks.d.ts +318 -127
- package/dist/organizationSlice/thunks.js +45 -31
- package/dist/organizationSlice/types.cjs.map +1 -1
- package/dist/organizationSlice/types.d.cts +95 -3
- package/dist/organizationSlice/types.d.ts +95 -3
- package/dist/releasesSlice/constants.cjs +3 -0
- package/dist/releasesSlice/constants.cjs.map +1 -1
- package/dist/releasesSlice/constants.d.cts +2 -1
- package/dist/releasesSlice/constants.d.ts +2 -1
- package/dist/releasesSlice/constants.js +3 -1
- package/dist/releasesSlice/index.cjs +5 -222
- package/dist/releasesSlice/index.cjs.map +1 -1
- package/dist/releasesSlice/index.d.cts +52 -473
- package/dist/releasesSlice/index.d.ts +52 -473
- package/dist/releasesSlice/index.js +6 -6
- package/dist/releasesSlice/mocks.cjs +177 -0
- package/dist/releasesSlice/mocks.cjs.map +1 -0
- package/dist/releasesSlice/mocks.d.cts +49 -0
- package/dist/releasesSlice/mocks.d.ts +49 -0
- package/dist/releasesSlice/mocks.js +61 -0
- package/dist/releasesSlice/mocks.js.map +1 -0
- package/dist/releasesSlice/selectors.cjs +288 -158
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.d.cts +886 -24
- package/dist/releasesSlice/selectors.d.ts +886 -24
- package/dist/releasesSlice/selectors.js +9 -7
- package/dist/releasesSlice/thunks.cjs +787 -982
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +150 -130
- package/dist/releasesSlice/thunks.d.ts +150 -130
- package/dist/releasesSlice/thunks.js +34 -28
- package/dist/selectors.cjs +559 -770
- package/dist/selectors.cjs.map +1 -1
- package/dist/selectors.d.cts +37 -9
- package/dist/selectors.d.ts +37 -9
- package/dist/selectors.js +77 -41
- package/dist/sockethook.cjs +271 -281
- package/dist/sockethook.cjs.map +1 -1
- package/dist/sockethook.js +7 -9
- package/dist/sockethook.js.map +1 -1
- package/dist/store.cjs +119 -834
- package/dist/store.cjs.map +1 -1
- package/dist/store.d.cts +698 -1963
- package/dist/store.d.ts +698 -1963
- package/dist/store.js +18 -16
- package/dist/storehooks.cjs +1797 -1907
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +43 -49
- package/dist/storehooks.js.map +1 -1
- package/dist/thunks.cjs +2132 -2229
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +24 -6
- package/dist/thunks.d.ts +24 -6
- package/dist/thunks.js +55 -45
- package/dist/{deploymentdevicehook.cjs → useDeploymentDevice.cjs} +1757 -1976
- package/dist/useDeploymentDevice.cjs.map +1 -0
- package/dist/useDeploymentDevice.js +63 -0
- package/dist/useDeploymentDevice.js.map +1 -0
- package/dist/usersSlice/constants.cjs +5 -747
- package/dist/usersSlice/constants.cjs.map +1 -1
- package/dist/usersSlice/constants.d.cts +11 -769
- package/dist/usersSlice/constants.d.ts +11 -769
- package/dist/usersSlice/constants.js +7 -30
- package/dist/usersSlice/index.cjs +10 -721
- package/dist/usersSlice/index.cjs.map +1 -1
- package/dist/usersSlice/index.d.cts +136 -7900
- package/dist/usersSlice/index.d.ts +136 -7900
- package/dist/usersSlice/index.js +6 -6
- package/dist/usersSlice/mocks.cjs +200 -0
- package/dist/usersSlice/mocks.cjs.map +1 -0
- package/dist/usersSlice/mocks.d.cts +83 -0
- package/dist/usersSlice/mocks.d.ts +83 -0
- package/dist/usersSlice/mocks.js +47 -0
- package/dist/usersSlice/mocks.js.map +1 -0
- package/dist/usersSlice/selectors.cjs +319 -566
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.d.cts +1651 -59
- package/dist/usersSlice/selectors.d.ts +1651 -59
- package/dist/usersSlice/selectors.js +13 -9
- package/dist/usersSlice/thunks.cjs +1655 -1872
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.d.cts +362 -312
- package/dist/usersSlice/thunks.d.ts +362 -312
- package/dist/usersSlice/thunks.js +31 -31
- package/dist/utils.cjs +423 -285
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +44 -22
- package/dist/utils.d.ts +44 -22
- package/dist/utils.js +12 -6
- package/package.json +20 -11
- package/dist/BillingProfile-ChP2_Sqw.d.cts +0 -45
- package/dist/BillingProfile-ChP2_Sqw.d.ts +0 -45
- package/dist/api/types/AWSCredentials.ts +0 -16
- package/dist/api/types/Actor.ts +0 -35
- package/dist/api/types/Addon.ts +0 -17
- package/dist/api/types/AddonTenantadm.ts +0 -17
- package/dist/api/types/Address.ts +0 -6
- package/dist/api/types/AddressUpdate.ts +0 -12
- package/dist/api/types/Alert.ts +0 -34
- package/dist/api/types/AlertDetails.ts +0 -23
- package/dist/api/types/AlertSubject.ts +0 -23
- package/dist/api/types/ApiBurst.ts +0 -21
- package/dist/api/types/ApiBurstTenantadm.ts +0 -21
- package/dist/api/types/ApiLimits.ts +0 -16
- package/dist/api/types/ApiLimitsTenantadm.ts +0 -16
- package/dist/api/types/ApiQuota.ts +0 -17
- package/dist/api/types/ApiQuotaTenantadm.ts +0 -17
- package/dist/api/types/Artifact.ts +0 -48
- package/dist/api/types/ArtifactDeployments.ts +0 -48
- package/dist/api/types/ArtifactInfo.ts +0 -11
- package/dist/api/types/ArtifactInfoDeployments.ts +0 -11
- package/dist/api/types/ArtifactLink.ts +0 -11
- package/dist/api/types/ArtifactTypeInfo.ts +0 -13
- package/dist/api/types/ArtifactTypeInfoDeployments.ts +0 -13
- package/dist/api/types/ArtifactUpdate.ts +0 -10
- package/dist/api/types/ArtifactUploadLink.ts +0 -15
- package/dist/api/types/Attribute.ts +0 -36
- package/dist/api/types/AttributeInventory.ts +0 -32
- package/dist/api/types/AuditLog.ts +0 -26
- package/dist/api/types/AuthSet.ts +0 -37
- package/dist/api/types/AuthSetDeviceauth.ts +0 -37
- package/dist/api/types/AuthSetIot_manager.ts +0 -33
- package/dist/api/types/AutoAuthRequest.ts +0 -23
- package/dist/api/types/AzureSharedAccessSecret.ts +0 -11
- package/dist/api/types/BillingInfo.ts +0 -13
- package/dist/api/types/BillingProfile.ts +0 -37
- package/dist/api/types/BillingProfileUpdate.ts +0 -37
- package/dist/api/types/BinaryDeltaConfiguration.ts +0 -15
- package/dist/api/types/BinaryDeltaConfigurationDeployments.ts +0 -15
- package/dist/api/types/BinaryDeltaLimits.ts +0 -21
- package/dist/api/types/BinaryDeltaLimitsDeployments.ts +0 -15
- package/dist/api/types/BoundingBox.ts +0 -9
- package/dist/api/types/CancelRequest.ts +0 -10
- package/dist/api/types/CardData.ts +0 -49
- package/dist/api/types/CardSetupData.ts +0 -17
- package/dist/api/types/CheckoutData.ts +0 -13
- package/dist/api/types/Configuration.ts +0 -11
- package/dist/api/types/Count.ts +0 -13
- package/dist/api/types/Credentials.ts +0 -23
- package/dist/api/types/DBusSubsystem.ts +0 -27
- package/dist/api/types/DeltaConfiguration.ts +0 -14
- package/dist/api/types/DeltaConfigurationDeployments.ts +0 -14
- package/dist/api/types/Deployment.ts +0 -45
- package/dist/api/types/DeploymentAggregation.ts +0 -16
- package/dist/api/types/DeploymentAggregationItem.ts +0 -16
- package/dist/api/types/DeploymentAggregationTerm.ts +0 -22
- package/dist/api/types/DeploymentAggregationTerms.ts +0 -16
- package/dist/api/types/DeploymentAttributeProjection.ts +0 -10
- package/dist/api/types/DeploymentAuditlogs.ts +0 -11
- package/dist/api/types/DeploymentDeployments.ts +0 -98
- package/dist/api/types/DeploymentFilterTerm.ts +0 -35
- package/dist/api/types/DeploymentIdentifier.ts +0 -10
- package/dist/api/types/DeploymentPhase.ts +0 -23
- package/dist/api/types/DeploymentPhaseDeployments.ts +0 -23
- package/dist/api/types/DeploymentReporting.ts +0 -46
- package/dist/api/types/DeploymentSearchTerms.ts +0 -37
- package/dist/api/types/DeploymentSortTerm.ts +0 -23
- package/dist/api/types/DeploymentStatistics.ts +0 -15
- package/dist/api/types/DeploymentStatisticsDeployments.ts +0 -15
- package/dist/api/types/DeploymentStatusStatistics.ts +0 -54
- package/dist/api/types/DeploymentStatusStatisticsDeployments.ts +0 -54
- package/dist/api/types/Device.ts +0 -20
- package/dist/api/types/DeviceAggregation.ts +0 -16
- package/dist/api/types/DeviceAggregationItem.ts +0 -16
- package/dist/api/types/DeviceAggregationTerm.ts +0 -26
- package/dist/api/types/DeviceAggregationTerms.ts +0 -20
- package/dist/api/types/DeviceAttribute.ts +0 -22
- package/dist/api/types/DeviceAttributeProjection.ts +0 -14
- package/dist/api/types/DeviceAuditlogs.ts +0 -17
- package/dist/api/types/DeviceAuthEvent.ts +0 -23
- package/dist/api/types/DeviceConfiguration.ts +0 -16
- package/dist/api/types/DeviceDeployment.ts +0 -11
- package/dist/api/types/DeviceDeployments.ts +0 -29
- package/dist/api/types/DeviceDeviceauth.ts +0 -42
- package/dist/api/types/DeviceFilterAttribute.ts +0 -21
- package/dist/api/types/DeviceFilterTerm.ts +0 -39
- package/dist/api/types/DeviceInventory.ts +0 -19
- package/dist/api/types/DeviceInventoryInventory.ts +0 -19
- package/dist/api/types/DeviceReporting.ts +0 -22
- package/dist/api/types/DeviceSearchTerms.ts +0 -37
- package/dist/api/types/DeviceSortTerm.ts +0 -27
- package/dist/api/types/DeviceState.ts +0 -32
- package/dist/api/types/DeviceStateDeviceconnect.ts +0 -33
- package/dist/api/types/DeviceStateIot_manager.ts +0 -14
- package/dist/api/types/DeviceStatus.ts +0 -19
- package/dist/api/types/DeviceWithImage.ts +0 -80
- package/dist/api/types/DirectUploadMetadata.ts +0 -18
- package/dist/api/types/EmailVerificationCompletion.ts +0 -13
- package/dist/api/types/EmailVerificationRequest.ts +0 -13
- package/dist/api/types/Error.ts +0 -17
- package/dist/api/types/ErrorAuditlogs.ts +0 -13
- package/dist/api/types/ErrorDeployments.ts +0 -17
- package/dist/api/types/ErrorDeviceauth.ts +0 -13
- package/dist/api/types/ErrorDeviceconfig.ts +0 -17
- package/dist/api/types/ErrorDeviceconnect.ts +0 -17
- package/dist/api/types/ErrorDevicemonitor.ts +0 -17
- package/dist/api/types/ErrorExt.ts +0 -18
- package/dist/api/types/ErrorInventory.ts +0 -17
- package/dist/api/types/ErrorIot_manager.ts +0 -17
- package/dist/api/types/ErrorNotFound.ts +0 -17
- package/dist/api/types/ErrorReporting.ts +0 -18
- package/dist/api/types/ErrorTenantadm.ts +0 -13
- package/dist/api/types/ErrorUseradm.ts +0 -17
- package/dist/api/types/Event.ts +0 -48
- package/dist/api/types/ExternalIdentity.ts +0 -17
- package/dist/api/types/Features.ts +0 -17
- package/dist/api/types/FileUpload.ts +0 -23
- package/dist/api/types/Filter.ts +0 -19
- package/dist/api/types/FilterAttribute.ts +0 -21
- package/dist/api/types/FilterDefinition.ts +0 -18
- package/dist/api/types/FilterDeployments.ts +0 -19
- package/dist/api/types/FilterInventory.ts +0 -19
- package/dist/api/types/FilterPredicate.ts +0 -48
- package/dist/api/types/FilterPredicateDeployments.ts +0 -48
- package/dist/api/types/FilterPredicateInventory.ts +0 -78
- package/dist/api/types/GeoBoundingBox.ts +0 -8
- package/dist/api/types/GeoBoundingBoxFilter.ts +0 -5
- package/dist/api/types/GeoDistance.ts +0 -15
- package/dist/api/types/GeoDistanceFilter.ts +0 -8
- package/dist/api/types/GeoPoint.ts +0 -14
- package/dist/api/types/Group.ts +0 -10
- package/dist/api/types/HTTP.ts +0 -19
- package/dist/api/types/IdentityData.ts +0 -25
- package/dist/api/types/InputParameter.ts +0 -8
- package/dist/api/types/Integration.ts +0 -30
- package/dist/api/types/JobStatus.ts +0 -13
- package/dist/api/types/Limit.ts +0 -21
- package/dist/api/types/LimitDeployments.ts +0 -21
- package/dist/api/types/LimitDeviceauth.ts +0 -10
- package/dist/api/types/LimitUseradm.ts +0 -11
- package/dist/api/types/Limits.ts +0 -11
- package/dist/api/types/LineDescriptor.ts +0 -11
- package/dist/api/types/LogSubsystem.ts +0 -23
- package/dist/api/types/LoginOptions.ts +0 -18
- package/dist/api/types/ManagementAPIConfiguration.ts +0 -5
- package/dist/api/types/MenderTypes.ts +0 -213
- package/dist/api/types/MonitorConfiguration.ts +0 -22
- package/dist/api/types/NewConfigurationDeployment.ts +0 -15
- package/dist/api/types/NewConfigurationDeploymentResponse.ts +0 -10
- package/dist/api/types/NewDeployment.ts +0 -42
- package/dist/api/types/NewDeploymentForGroup.ts +0 -33
- package/dist/api/types/NewDeploymentPhase.ts +0 -37
- package/dist/api/types/NewDeploymentPhaseDeployments.ts +0 -20
- package/dist/api/types/NewDeploymentV2.ts +0 -34
- package/dist/api/types/NewTenant.ts +0 -49
- package/dist/api/types/Object.ts +0 -38
- package/dist/api/types/OwnUserUpdate.ts +0 -21
- package/dist/api/types/PasswordResetCompletion.ts +0 -17
- package/dist/api/types/PasswordResetRequest.ts +0 -13
- package/dist/api/types/Permission.ts +0 -21
- package/dist/api/types/PermissionObject.ts +0 -14
- package/dist/api/types/PermissionSet.ts +0 -22
- package/dist/api/types/PermissionSetWithScope.ts +0 -15
- package/dist/api/types/PersonalAccessToken.ts +0 -29
- package/dist/api/types/PersonalAccessTokenRequest.ts +0 -18
- package/dist/api/types/Plan.ts +0 -19
- package/dist/api/types/PlanBindingDetails.ts +0 -13
- package/dist/api/types/PlanChangeRequest.ts +0 -14
- package/dist/api/types/PlanLimits.ts +0 -12
- package/dist/api/types/PreAuthSet.ts +0 -16
- package/dist/api/types/Release.ts +0 -32
- package/dist/api/types/ReleaseDeployments.ts +0 -32
- package/dist/api/types/ReleaseUpdate.ts +0 -13
- package/dist/api/types/Releases.ts +0 -9
- package/dist/api/types/ReleasesDeleteError.ts +0 -21
- package/dist/api/types/ReleasesDeployments.ts +0 -9
- package/dist/api/types/Role.ts +0 -19
- package/dist/api/types/RolePermission.ts +0 -25
- package/dist/api/types/RolePermissionObject.ts +0 -17
- package/dist/api/types/RoleUseradm.ts +0 -19
- package/dist/api/types/SAMLMetadata.ts +0 -21
- package/dist/api/types/Scope.ts +0 -19
- package/dist/api/types/SelectAttribute.ts +0 -17
- package/dist/api/types/ServiceSubsystem.ts +0 -19
- package/dist/api/types/Settings.ts +0 -23
- package/dist/api/types/SortCriteria.ts +0 -30
- package/dist/api/types/SsoObject.ts +0 -21
- package/dist/api/types/Status.ts +0 -18
- package/dist/api/types/StatusDeviceauth.ts +0 -18
- package/dist/api/types/StatusTenantadm.ts +0 -17
- package/dist/api/types/StorageLimit.ts +0 -17
- package/dist/api/types/SubscriptionData.ts +0 -8
- package/dist/api/types/SupportRequest.ts +0 -17
- package/dist/api/types/Tag.ts +0 -27
- package/dist/api/types/Tags.ts +0 -10
- package/dist/api/types/TaskResult.ts +0 -13
- package/dist/api/types/TaskResultCLI.ts +0 -10
- package/dist/api/types/TaskResultHTTPRequest.ts +0 -8
- package/dist/api/types/TaskResultHTTPResponse.ts +0 -10
- package/dist/api/types/Tenant.ts +0 -26
- package/dist/api/types/TenantApiLimits.ts +0 -12
- package/dist/api/types/TenantApiLimitsTenantadm.ts +0 -12
- package/dist/api/types/TenantIdName.ts +0 -14
- package/dist/api/types/TenantIdsData.ts +0 -10
- package/dist/api/types/TenantInfo.ts +0 -14
- package/dist/api/types/TenantShortInfo.ts +0 -21
- package/dist/api/types/TenantTenantadm.ts +0 -54
- package/dist/api/types/TenantsIdName.ts +0 -6
- package/dist/api/types/Update.ts +0 -17
- package/dist/api/types/UpdateChildTenant.ts +0 -17
- package/dist/api/types/UpdateDeployments.ts +0 -18
- package/dist/api/types/UpdateFile.ts +0 -13
- package/dist/api/types/UpdateFileDeployments.ts +0 -13
- package/dist/api/types/UpdateTypes.ts +0 -8
- package/dist/api/types/UpgradeCompleteRequest.ts +0 -25
- package/dist/api/types/User.ts +0 -13
- package/dist/api/types/UserAuditlogs.ts +0 -13
- package/dist/api/types/UserNew.ts +0 -26
- package/dist/api/types/UserUpdate.ts +0 -25
- package/dist/api/types/UserUseradm.ts +0 -45
- package/dist/api/types/UserWithTenantInfo.ts +0 -12
- package/dist/api/types/XDeltaArgs.ts +0 -9
- package/dist/api/types/XDeltaArgsDeployments.ts +0 -9
- package/dist/api/types/XDeltaArgsLimits.ts +0 -10
- package/dist/api/types/XDeltaArgsLimitsDeployments.ts +0 -10
- package/dist/chunk-4RWZR3BN.js +0 -104
- package/dist/chunk-4RWZR3BN.js.map +0 -1
- package/dist/chunk-7YZCUAXZ.js.map +0 -1
- package/dist/chunk-AFICTIVU.js.map +0 -1
- package/dist/chunk-AUBJUUP3.js.map +0 -1
- package/dist/chunk-AVX7VVOK.js.map +0 -1
- package/dist/chunk-BSN2TOQC.js +0 -245
- package/dist/chunk-BSN2TOQC.js.map +0 -1
- package/dist/chunk-DCEKU6UV.js.map +0 -1
- package/dist/chunk-DGQKXSRI.js.map +0 -1
- package/dist/chunk-EQLHIPPR.js.map +0 -1
- package/dist/chunk-EYCORLYU.js.map +0 -1
- package/dist/chunk-FQDSV3NK.js.map +0 -1
- package/dist/chunk-FRSA2YB5.js.map +0 -1
- package/dist/chunk-FVCYB5OP.js.map +0 -1
- package/dist/chunk-GAI4VYRZ.js.map +0 -1
- package/dist/chunk-GWJIY56H.js.map +0 -1
- package/dist/chunk-JO33IORF.js.map +0 -1
- package/dist/chunk-K4MMUDYT.js.map +0 -1
- package/dist/chunk-L3SY3J5M.js.map +0 -1
- package/dist/chunk-LIJIIRON.js +0 -28
- package/dist/chunk-LIJIIRON.js.map +0 -1
- package/dist/chunk-MRCFLG45.js.map +0 -1
- package/dist/chunk-NCSKCF2S.js.map +0 -1
- package/dist/chunk-NOQR3TE7.js.map +0 -1
- package/dist/chunk-OEP2D6QL.js +0 -727
- package/dist/chunk-OEP2D6QL.js.map +0 -1
- package/dist/chunk-PAIB5V27.js.map +0 -1
- package/dist/chunk-RX32WLVJ.js.map +0 -1
- package/dist/chunk-X3GZILYD.js.map +0 -1
- package/dist/chunk-Y575RZHR.js.map +0 -1
- package/dist/chunk-ZWOAFHAR.js.map +0 -1
- package/dist/deploymentdevicehook.cjs.map +0 -1
- package/dist/deploymentdevicehook.js +0 -63
- package/dist/deploymentdevicehook.js.map +0 -1
- package/dist/types-DBj17FZO.d.cts +0 -135
- package/dist/types-DnfZa6xd.d.ts +0 -135
- /package/dist/{chunk-ZZMFXRQK.js.map → chunk-URNS6A5T.js.map} +0 -0
- /package/dist/{deploymentdevicehook.d.cts → useDeploymentDevice.d.cts} +0 -0
- /package/dist/{deploymentdevicehook.d.ts → useDeploymentDevice.d.ts} +0 -0
|
@@ -1,170 +1,18 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { Credentials, Integration } from '@northern.tech/types/MenderTypes';
|
|
3
|
+
import { DEVICE_FILTERING_OPTIONS } from '@northern.tech/utils/constants';
|
|
2
4
|
|
|
3
|
-
declare const DEVICE_LIST_DEFAULTS: {
|
|
4
|
-
page: number;
|
|
5
|
-
perPage: number;
|
|
6
|
-
};
|
|
7
5
|
declare const timeUnits: {
|
|
8
6
|
days: string;
|
|
9
7
|
minutes: string;
|
|
10
8
|
hours: string;
|
|
11
9
|
};
|
|
12
|
-
declare const ALL_DEVICES = "All devices";
|
|
13
10
|
declare const UNGROUPED_GROUP: {
|
|
14
11
|
id: string;
|
|
15
12
|
name: string;
|
|
16
13
|
};
|
|
17
14
|
declare const DEVICE_LIST_MAXIMUM_LENGTH = 50;
|
|
18
|
-
|
|
19
|
-
$eq: {
|
|
20
|
-
key: string;
|
|
21
|
-
title: string;
|
|
22
|
-
shortform: string;
|
|
23
|
-
};
|
|
24
|
-
$ne: {
|
|
25
|
-
key: string;
|
|
26
|
-
title: string;
|
|
27
|
-
shortform: string;
|
|
28
|
-
};
|
|
29
|
-
$gt: {
|
|
30
|
-
key: string;
|
|
31
|
-
title: string;
|
|
32
|
-
shortform: string;
|
|
33
|
-
help: string;
|
|
34
|
-
};
|
|
35
|
-
$gte: {
|
|
36
|
-
title: string;
|
|
37
|
-
shortform: string;
|
|
38
|
-
help: string;
|
|
39
|
-
};
|
|
40
|
-
$lt: {
|
|
41
|
-
key: string;
|
|
42
|
-
title: string;
|
|
43
|
-
shortform: string;
|
|
44
|
-
help: string;
|
|
45
|
-
};
|
|
46
|
-
$lte: {
|
|
47
|
-
title: string;
|
|
48
|
-
shortform: string;
|
|
49
|
-
help: string;
|
|
50
|
-
};
|
|
51
|
-
$ltne: {
|
|
52
|
-
key: string;
|
|
53
|
-
title: string;
|
|
54
|
-
shortform: string;
|
|
55
|
-
help: string;
|
|
56
|
-
};
|
|
57
|
-
$in: {
|
|
58
|
-
key: string;
|
|
59
|
-
title: string;
|
|
60
|
-
shortform: string;
|
|
61
|
-
help: string;
|
|
62
|
-
};
|
|
63
|
-
$nin: {
|
|
64
|
-
key: string;
|
|
65
|
-
title: string;
|
|
66
|
-
shortform: string;
|
|
67
|
-
help: string;
|
|
68
|
-
};
|
|
69
|
-
$exists: {
|
|
70
|
-
key: string;
|
|
71
|
-
title: string;
|
|
72
|
-
shortform: string;
|
|
73
|
-
value: boolean;
|
|
74
|
-
help: string;
|
|
75
|
-
};
|
|
76
|
-
$nexists: {
|
|
77
|
-
key: string;
|
|
78
|
-
title: string;
|
|
79
|
-
shortform: string;
|
|
80
|
-
value: boolean;
|
|
81
|
-
help: string;
|
|
82
|
-
};
|
|
83
|
-
$regex: {
|
|
84
|
-
key: string;
|
|
85
|
-
title: string;
|
|
86
|
-
shortform: string;
|
|
87
|
-
help: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
declare const DEVICE_ISSUE_OPTIONS: {
|
|
91
|
-
issues: {
|
|
92
|
-
isCategory: boolean;
|
|
93
|
-
key: string;
|
|
94
|
-
title: string;
|
|
95
|
-
filterRule: {};
|
|
96
|
-
};
|
|
97
|
-
offline: {
|
|
98
|
-
issueCategory: string;
|
|
99
|
-
key: string;
|
|
100
|
-
needsFullFiltering: boolean;
|
|
101
|
-
needsMonitor: boolean;
|
|
102
|
-
needsReporting: boolean;
|
|
103
|
-
filterRule: {
|
|
104
|
-
scope: string;
|
|
105
|
-
key: string;
|
|
106
|
-
operator: string;
|
|
107
|
-
value: ({ offlineThreshold }: {
|
|
108
|
-
offlineThreshold: any;
|
|
109
|
-
}) => any;
|
|
110
|
-
};
|
|
111
|
-
title: string;
|
|
112
|
-
};
|
|
113
|
-
failedLastUpdate: {
|
|
114
|
-
issueCategory: string;
|
|
115
|
-
key: string;
|
|
116
|
-
needsFullFiltering: boolean;
|
|
117
|
-
needsMonitor: boolean;
|
|
118
|
-
needsReporting: boolean;
|
|
119
|
-
filterRule: {
|
|
120
|
-
scope: string;
|
|
121
|
-
key: string;
|
|
122
|
-
operator: string;
|
|
123
|
-
value: boolean;
|
|
124
|
-
};
|
|
125
|
-
title: string;
|
|
126
|
-
};
|
|
127
|
-
monitoring: {
|
|
128
|
-
issueCategory: string;
|
|
129
|
-
key: string;
|
|
130
|
-
needsFullFiltering: boolean;
|
|
131
|
-
needsMonitor: boolean;
|
|
132
|
-
needsReporting: boolean;
|
|
133
|
-
filterRule: {
|
|
134
|
-
scope: string;
|
|
135
|
-
key: string;
|
|
136
|
-
operator: string;
|
|
137
|
-
value: boolean;
|
|
138
|
-
};
|
|
139
|
-
title: string;
|
|
140
|
-
};
|
|
141
|
-
authRequests: {
|
|
142
|
-
key: string;
|
|
143
|
-
needsFullFiltering: boolean;
|
|
144
|
-
needsMonitor: boolean;
|
|
145
|
-
needsReporting: boolean;
|
|
146
|
-
filterRule: {
|
|
147
|
-
scope: string;
|
|
148
|
-
key: string;
|
|
149
|
-
operator: string;
|
|
150
|
-
value: number;
|
|
151
|
-
};
|
|
152
|
-
title: string;
|
|
153
|
-
};
|
|
154
|
-
gatewayDevices: {
|
|
155
|
-
key: string;
|
|
156
|
-
needsFullFiltering: boolean;
|
|
157
|
-
needsMonitor: boolean;
|
|
158
|
-
needsReporting: boolean;
|
|
159
|
-
filterRule: {
|
|
160
|
-
scope: string;
|
|
161
|
-
key: string;
|
|
162
|
-
operator: string;
|
|
163
|
-
value: string;
|
|
164
|
-
};
|
|
165
|
-
title: string;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
15
|
+
type FilterOperator = keyof typeof DEVICE_FILTERING_OPTIONS;
|
|
168
16
|
declare const TIMEOUTS: {
|
|
169
17
|
debounceDefault: number;
|
|
170
18
|
debounceShort: number;
|
|
@@ -176,72 +24,58 @@ declare const TIMEOUTS: {
|
|
|
176
24
|
refreshDefault: number;
|
|
177
25
|
refreshLong: number;
|
|
178
26
|
};
|
|
179
|
-
declare const SORTING_OPTIONS: {
|
|
180
|
-
asc: string;
|
|
181
|
-
desc: string;
|
|
182
|
-
};
|
|
183
27
|
declare const DEVICE_ONLINE_CUTOFF: {
|
|
184
28
|
interval: number;
|
|
185
29
|
intervalName: string;
|
|
186
30
|
};
|
|
187
|
-
declare const ATTRIBUTE_SCOPES: {
|
|
188
|
-
inventory: string;
|
|
189
|
-
identity: string;
|
|
190
|
-
monitor: string;
|
|
191
|
-
system: string;
|
|
192
|
-
tags: string;
|
|
193
|
-
};
|
|
194
31
|
declare const defaultIdAttribute: Readonly<{
|
|
195
32
|
attribute: "id";
|
|
196
|
-
scope:
|
|
33
|
+
scope: "identity";
|
|
197
34
|
}>;
|
|
35
|
+
declare const credentialTypes: {
|
|
36
|
+
aws: Credentials.type;
|
|
37
|
+
http: Credentials.type;
|
|
38
|
+
sas: Credentials.type;
|
|
39
|
+
x509: string;
|
|
40
|
+
};
|
|
198
41
|
declare const EXTERNAL_PROVIDER: {
|
|
199
|
-
'iot-core': {
|
|
200
|
-
credentialsType:
|
|
201
|
-
icon: string;
|
|
202
|
-
title:
|
|
203
|
-
twinTitle:
|
|
204
|
-
provider:
|
|
205
|
-
enabled:
|
|
206
|
-
deviceTwin:
|
|
207
|
-
configHint: react_jsx_runtime.JSX.Element;
|
|
208
|
-
};
|
|
209
|
-
'iot-hub': {
|
|
210
|
-
credentialsType:
|
|
211
|
-
icon: string;
|
|
212
|
-
title:
|
|
213
|
-
twinTitle:
|
|
214
|
-
provider:
|
|
215
|
-
enabled:
|
|
216
|
-
deviceTwin:
|
|
217
|
-
configHint: react_jsx_runtime.JSX.Element;
|
|
218
|
-
};
|
|
219
|
-
webhook: {
|
|
220
|
-
credentialsType:
|
|
221
|
-
deviceTwin:
|
|
222
|
-
|
|
223
|
-
|
|
42
|
+
readonly 'iot-core': {
|
|
43
|
+
readonly credentialsType: Credentials.type.AWS;
|
|
44
|
+
readonly icon: string;
|
|
45
|
+
readonly title: "AWS IoT Core";
|
|
46
|
+
readonly twinTitle: "Device Shadow";
|
|
47
|
+
readonly provider: "iot-core";
|
|
48
|
+
readonly enabled: true;
|
|
49
|
+
readonly deviceTwin: true;
|
|
50
|
+
readonly configHint: react_jsx_runtime.JSX.Element;
|
|
51
|
+
};
|
|
52
|
+
readonly 'iot-hub': {
|
|
53
|
+
readonly credentialsType: Credentials.type.SAS;
|
|
54
|
+
readonly icon: string;
|
|
55
|
+
readonly title: "Azure IoT Hub";
|
|
56
|
+
readonly twinTitle: "Device Twin";
|
|
57
|
+
readonly provider: "iot-hub";
|
|
58
|
+
readonly enabled: true;
|
|
59
|
+
readonly deviceTwin: true;
|
|
60
|
+
readonly configHint: react_jsx_runtime.JSX.Element;
|
|
61
|
+
};
|
|
62
|
+
readonly webhook: {
|
|
63
|
+
readonly credentialsType: Credentials.type.HTTP;
|
|
64
|
+
readonly deviceTwin: false;
|
|
65
|
+
readonly twinTitle: "";
|
|
66
|
+
readonly enabled: false;
|
|
67
|
+
readonly provider: "webhook";
|
|
224
68
|
};
|
|
225
69
|
};
|
|
70
|
+
interface Webhook extends Integration {
|
|
71
|
+
provider: Integration.provider.WEBHOOK;
|
|
72
|
+
}
|
|
73
|
+
declare const emptyWebhook: Webhook;
|
|
74
|
+
interface CountryType {
|
|
75
|
+
code: string;
|
|
76
|
+
label: string;
|
|
77
|
+
}
|
|
226
78
|
declare const MAX_PAGE_SIZE = 500;
|
|
227
|
-
declare const
|
|
228
|
-
type UiPermissionsDefinition = Readonly<{
|
|
229
|
-
auditlog: string[];
|
|
230
|
-
deployments?: string[];
|
|
231
|
-
groups: Record<string, string[]>;
|
|
232
|
-
releases: Record<string, string[]>;
|
|
233
|
-
tenantManagement: string[];
|
|
234
|
-
userManagement: string[];
|
|
235
|
-
}>;
|
|
236
|
-
type UiRoleDefinition = {
|
|
237
|
-
description: string;
|
|
238
|
-
editable?: boolean;
|
|
239
|
-
isCustom?: boolean;
|
|
240
|
-
name: string;
|
|
241
|
-
permissions?: object[];
|
|
242
|
-
uiPermissions: UiPermissionsDefinition;
|
|
243
|
-
};
|
|
244
|
-
declare const emptyUiPermissions: UiPermissionsDefinition;
|
|
245
|
-
declare const emptyRole: UiRoleDefinition;
|
|
79
|
+
declare const countries: readonly CountryType[];
|
|
246
80
|
|
|
247
|
-
export {
|
|
81
|
+
export { DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_ONLINE_CUTOFF, EXTERNAL_PROVIDER, type FilterOperator, MAX_PAGE_SIZE, TIMEOUTS, UNGROUPED_GROUP, type Webhook, countries, credentialTypes, defaultIdAttribute, emptyWebhook, timeUnits };
|
|
@@ -1,170 +1,18 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { Credentials, Integration } from '@northern.tech/types/MenderTypes';
|
|
3
|
+
import { DEVICE_FILTERING_OPTIONS } from '@northern.tech/utils/constants';
|
|
2
4
|
|
|
3
|
-
declare const DEVICE_LIST_DEFAULTS: {
|
|
4
|
-
page: number;
|
|
5
|
-
perPage: number;
|
|
6
|
-
};
|
|
7
5
|
declare const timeUnits: {
|
|
8
6
|
days: string;
|
|
9
7
|
minutes: string;
|
|
10
8
|
hours: string;
|
|
11
9
|
};
|
|
12
|
-
declare const ALL_DEVICES = "All devices";
|
|
13
10
|
declare const UNGROUPED_GROUP: {
|
|
14
11
|
id: string;
|
|
15
12
|
name: string;
|
|
16
13
|
};
|
|
17
14
|
declare const DEVICE_LIST_MAXIMUM_LENGTH = 50;
|
|
18
|
-
|
|
19
|
-
$eq: {
|
|
20
|
-
key: string;
|
|
21
|
-
title: string;
|
|
22
|
-
shortform: string;
|
|
23
|
-
};
|
|
24
|
-
$ne: {
|
|
25
|
-
key: string;
|
|
26
|
-
title: string;
|
|
27
|
-
shortform: string;
|
|
28
|
-
};
|
|
29
|
-
$gt: {
|
|
30
|
-
key: string;
|
|
31
|
-
title: string;
|
|
32
|
-
shortform: string;
|
|
33
|
-
help: string;
|
|
34
|
-
};
|
|
35
|
-
$gte: {
|
|
36
|
-
title: string;
|
|
37
|
-
shortform: string;
|
|
38
|
-
help: string;
|
|
39
|
-
};
|
|
40
|
-
$lt: {
|
|
41
|
-
key: string;
|
|
42
|
-
title: string;
|
|
43
|
-
shortform: string;
|
|
44
|
-
help: string;
|
|
45
|
-
};
|
|
46
|
-
$lte: {
|
|
47
|
-
title: string;
|
|
48
|
-
shortform: string;
|
|
49
|
-
help: string;
|
|
50
|
-
};
|
|
51
|
-
$ltne: {
|
|
52
|
-
key: string;
|
|
53
|
-
title: string;
|
|
54
|
-
shortform: string;
|
|
55
|
-
help: string;
|
|
56
|
-
};
|
|
57
|
-
$in: {
|
|
58
|
-
key: string;
|
|
59
|
-
title: string;
|
|
60
|
-
shortform: string;
|
|
61
|
-
help: string;
|
|
62
|
-
};
|
|
63
|
-
$nin: {
|
|
64
|
-
key: string;
|
|
65
|
-
title: string;
|
|
66
|
-
shortform: string;
|
|
67
|
-
help: string;
|
|
68
|
-
};
|
|
69
|
-
$exists: {
|
|
70
|
-
key: string;
|
|
71
|
-
title: string;
|
|
72
|
-
shortform: string;
|
|
73
|
-
value: boolean;
|
|
74
|
-
help: string;
|
|
75
|
-
};
|
|
76
|
-
$nexists: {
|
|
77
|
-
key: string;
|
|
78
|
-
title: string;
|
|
79
|
-
shortform: string;
|
|
80
|
-
value: boolean;
|
|
81
|
-
help: string;
|
|
82
|
-
};
|
|
83
|
-
$regex: {
|
|
84
|
-
key: string;
|
|
85
|
-
title: string;
|
|
86
|
-
shortform: string;
|
|
87
|
-
help: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
declare const DEVICE_ISSUE_OPTIONS: {
|
|
91
|
-
issues: {
|
|
92
|
-
isCategory: boolean;
|
|
93
|
-
key: string;
|
|
94
|
-
title: string;
|
|
95
|
-
filterRule: {};
|
|
96
|
-
};
|
|
97
|
-
offline: {
|
|
98
|
-
issueCategory: string;
|
|
99
|
-
key: string;
|
|
100
|
-
needsFullFiltering: boolean;
|
|
101
|
-
needsMonitor: boolean;
|
|
102
|
-
needsReporting: boolean;
|
|
103
|
-
filterRule: {
|
|
104
|
-
scope: string;
|
|
105
|
-
key: string;
|
|
106
|
-
operator: string;
|
|
107
|
-
value: ({ offlineThreshold }: {
|
|
108
|
-
offlineThreshold: any;
|
|
109
|
-
}) => any;
|
|
110
|
-
};
|
|
111
|
-
title: string;
|
|
112
|
-
};
|
|
113
|
-
failedLastUpdate: {
|
|
114
|
-
issueCategory: string;
|
|
115
|
-
key: string;
|
|
116
|
-
needsFullFiltering: boolean;
|
|
117
|
-
needsMonitor: boolean;
|
|
118
|
-
needsReporting: boolean;
|
|
119
|
-
filterRule: {
|
|
120
|
-
scope: string;
|
|
121
|
-
key: string;
|
|
122
|
-
operator: string;
|
|
123
|
-
value: boolean;
|
|
124
|
-
};
|
|
125
|
-
title: string;
|
|
126
|
-
};
|
|
127
|
-
monitoring: {
|
|
128
|
-
issueCategory: string;
|
|
129
|
-
key: string;
|
|
130
|
-
needsFullFiltering: boolean;
|
|
131
|
-
needsMonitor: boolean;
|
|
132
|
-
needsReporting: boolean;
|
|
133
|
-
filterRule: {
|
|
134
|
-
scope: string;
|
|
135
|
-
key: string;
|
|
136
|
-
operator: string;
|
|
137
|
-
value: boolean;
|
|
138
|
-
};
|
|
139
|
-
title: string;
|
|
140
|
-
};
|
|
141
|
-
authRequests: {
|
|
142
|
-
key: string;
|
|
143
|
-
needsFullFiltering: boolean;
|
|
144
|
-
needsMonitor: boolean;
|
|
145
|
-
needsReporting: boolean;
|
|
146
|
-
filterRule: {
|
|
147
|
-
scope: string;
|
|
148
|
-
key: string;
|
|
149
|
-
operator: string;
|
|
150
|
-
value: number;
|
|
151
|
-
};
|
|
152
|
-
title: string;
|
|
153
|
-
};
|
|
154
|
-
gatewayDevices: {
|
|
155
|
-
key: string;
|
|
156
|
-
needsFullFiltering: boolean;
|
|
157
|
-
needsMonitor: boolean;
|
|
158
|
-
needsReporting: boolean;
|
|
159
|
-
filterRule: {
|
|
160
|
-
scope: string;
|
|
161
|
-
key: string;
|
|
162
|
-
operator: string;
|
|
163
|
-
value: string;
|
|
164
|
-
};
|
|
165
|
-
title: string;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
15
|
+
type FilterOperator = keyof typeof DEVICE_FILTERING_OPTIONS;
|
|
168
16
|
declare const TIMEOUTS: {
|
|
169
17
|
debounceDefault: number;
|
|
170
18
|
debounceShort: number;
|
|
@@ -176,72 +24,58 @@ declare const TIMEOUTS: {
|
|
|
176
24
|
refreshDefault: number;
|
|
177
25
|
refreshLong: number;
|
|
178
26
|
};
|
|
179
|
-
declare const SORTING_OPTIONS: {
|
|
180
|
-
asc: string;
|
|
181
|
-
desc: string;
|
|
182
|
-
};
|
|
183
27
|
declare const DEVICE_ONLINE_CUTOFF: {
|
|
184
28
|
interval: number;
|
|
185
29
|
intervalName: string;
|
|
186
30
|
};
|
|
187
|
-
declare const ATTRIBUTE_SCOPES: {
|
|
188
|
-
inventory: string;
|
|
189
|
-
identity: string;
|
|
190
|
-
monitor: string;
|
|
191
|
-
system: string;
|
|
192
|
-
tags: string;
|
|
193
|
-
};
|
|
194
31
|
declare const defaultIdAttribute: Readonly<{
|
|
195
32
|
attribute: "id";
|
|
196
|
-
scope:
|
|
33
|
+
scope: "identity";
|
|
197
34
|
}>;
|
|
35
|
+
declare const credentialTypes: {
|
|
36
|
+
aws: Credentials.type;
|
|
37
|
+
http: Credentials.type;
|
|
38
|
+
sas: Credentials.type;
|
|
39
|
+
x509: string;
|
|
40
|
+
};
|
|
198
41
|
declare const EXTERNAL_PROVIDER: {
|
|
199
|
-
'iot-core': {
|
|
200
|
-
credentialsType:
|
|
201
|
-
icon: string;
|
|
202
|
-
title:
|
|
203
|
-
twinTitle:
|
|
204
|
-
provider:
|
|
205
|
-
enabled:
|
|
206
|
-
deviceTwin:
|
|
207
|
-
configHint: react_jsx_runtime.JSX.Element;
|
|
208
|
-
};
|
|
209
|
-
'iot-hub': {
|
|
210
|
-
credentialsType:
|
|
211
|
-
icon: string;
|
|
212
|
-
title:
|
|
213
|
-
twinTitle:
|
|
214
|
-
provider:
|
|
215
|
-
enabled:
|
|
216
|
-
deviceTwin:
|
|
217
|
-
configHint: react_jsx_runtime.JSX.Element;
|
|
218
|
-
};
|
|
219
|
-
webhook: {
|
|
220
|
-
credentialsType:
|
|
221
|
-
deviceTwin:
|
|
222
|
-
|
|
223
|
-
|
|
42
|
+
readonly 'iot-core': {
|
|
43
|
+
readonly credentialsType: Credentials.type.AWS;
|
|
44
|
+
readonly icon: string;
|
|
45
|
+
readonly title: "AWS IoT Core";
|
|
46
|
+
readonly twinTitle: "Device Shadow";
|
|
47
|
+
readonly provider: "iot-core";
|
|
48
|
+
readonly enabled: true;
|
|
49
|
+
readonly deviceTwin: true;
|
|
50
|
+
readonly configHint: react_jsx_runtime.JSX.Element;
|
|
51
|
+
};
|
|
52
|
+
readonly 'iot-hub': {
|
|
53
|
+
readonly credentialsType: Credentials.type.SAS;
|
|
54
|
+
readonly icon: string;
|
|
55
|
+
readonly title: "Azure IoT Hub";
|
|
56
|
+
readonly twinTitle: "Device Twin";
|
|
57
|
+
readonly provider: "iot-hub";
|
|
58
|
+
readonly enabled: true;
|
|
59
|
+
readonly deviceTwin: true;
|
|
60
|
+
readonly configHint: react_jsx_runtime.JSX.Element;
|
|
61
|
+
};
|
|
62
|
+
readonly webhook: {
|
|
63
|
+
readonly credentialsType: Credentials.type.HTTP;
|
|
64
|
+
readonly deviceTwin: false;
|
|
65
|
+
readonly twinTitle: "";
|
|
66
|
+
readonly enabled: false;
|
|
67
|
+
readonly provider: "webhook";
|
|
224
68
|
};
|
|
225
69
|
};
|
|
70
|
+
interface Webhook extends Integration {
|
|
71
|
+
provider: Integration.provider.WEBHOOK;
|
|
72
|
+
}
|
|
73
|
+
declare const emptyWebhook: Webhook;
|
|
74
|
+
interface CountryType {
|
|
75
|
+
code: string;
|
|
76
|
+
label: string;
|
|
77
|
+
}
|
|
226
78
|
declare const MAX_PAGE_SIZE = 500;
|
|
227
|
-
declare const
|
|
228
|
-
type UiPermissionsDefinition = Readonly<{
|
|
229
|
-
auditlog: string[];
|
|
230
|
-
deployments?: string[];
|
|
231
|
-
groups: Record<string, string[]>;
|
|
232
|
-
releases: Record<string, string[]>;
|
|
233
|
-
tenantManagement: string[];
|
|
234
|
-
userManagement: string[];
|
|
235
|
-
}>;
|
|
236
|
-
type UiRoleDefinition = {
|
|
237
|
-
description: string;
|
|
238
|
-
editable?: boolean;
|
|
239
|
-
isCustom?: boolean;
|
|
240
|
-
name: string;
|
|
241
|
-
permissions?: object[];
|
|
242
|
-
uiPermissions: UiPermissionsDefinition;
|
|
243
|
-
};
|
|
244
|
-
declare const emptyUiPermissions: UiPermissionsDefinition;
|
|
245
|
-
declare const emptyRole: UiRoleDefinition;
|
|
79
|
+
declare const countries: readonly CountryType[];
|
|
246
80
|
|
|
247
|
-
export {
|
|
81
|
+
export { DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_ONLINE_CUTOFF, EXTERNAL_PROVIDER, type FilterOperator, MAX_PAGE_SIZE, TIMEOUTS, UNGROUPED_GROUP, type Webhook, countries, credentialTypes, defaultIdAttribute, emptyWebhook, timeUnits };
|
package/dist/commonConstants.js
CHANGED
|
@@ -1,39 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ALL_DEVICES,
|
|
3
|
-
ALL_RELEASES,
|
|
4
|
-
ATTRIBUTE_SCOPES,
|
|
5
|
-
DEVICE_FILTERING_OPTIONS,
|
|
6
|
-
DEVICE_ISSUE_OPTIONS,
|
|
7
|
-
DEVICE_LIST_DEFAULTS,
|
|
8
2
|
DEVICE_LIST_MAXIMUM_LENGTH,
|
|
9
3
|
DEVICE_ONLINE_CUTOFF,
|
|
10
4
|
EXTERNAL_PROVIDER,
|
|
11
5
|
MAX_PAGE_SIZE,
|
|
12
|
-
SORTING_OPTIONS,
|
|
13
6
|
TIMEOUTS,
|
|
14
7
|
UNGROUPED_GROUP,
|
|
8
|
+
countries,
|
|
9
|
+
credentialTypes,
|
|
15
10
|
defaultIdAttribute,
|
|
16
|
-
|
|
17
|
-
emptyUiPermissions,
|
|
11
|
+
emptyWebhook,
|
|
18
12
|
timeUnits
|
|
19
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7C4SQBEE.js";
|
|
14
|
+
import "./chunk-2DYA3X77.js";
|
|
15
|
+
import "./chunk-ZKAH3APE.js";
|
|
16
|
+
import "./chunk-FAJ3I2UQ.js";
|
|
17
|
+
import "./chunk-OHF3YUXX.js";
|
|
20
18
|
export {
|
|
21
|
-
ALL_DEVICES,
|
|
22
|
-
ALL_RELEASES,
|
|
23
|
-
ATTRIBUTE_SCOPES,
|
|
24
|
-
DEVICE_FILTERING_OPTIONS,
|
|
25
|
-
DEVICE_ISSUE_OPTIONS,
|
|
26
|
-
DEVICE_LIST_DEFAULTS,
|
|
27
19
|
DEVICE_LIST_MAXIMUM_LENGTH,
|
|
28
20
|
DEVICE_ONLINE_CUTOFF,
|
|
29
21
|
EXTERNAL_PROVIDER,
|
|
30
22
|
MAX_PAGE_SIZE,
|
|
31
|
-
SORTING_OPTIONS,
|
|
32
23
|
TIMEOUTS,
|
|
33
24
|
UNGROUPED_GROUP,
|
|
25
|
+
countries,
|
|
26
|
+
credentialTypes,
|
|
34
27
|
defaultIdAttribute,
|
|
35
|
-
|
|
36
|
-
emptyUiPermissions,
|
|
28
|
+
emptyWebhook,
|
|
37
29
|
timeUnits
|
|
38
30
|
};
|
|
39
31
|
//# sourceMappingURL=commonConstants.js.map
|