@northern.tech/store 0.3.3 → 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 +80 -833
- 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 +109 -119
- package/dist/appSlice/constants.d.ts +109 -119
- package/dist/appSlice/constants.js +1 -11
- package/dist/appSlice/index.cjs +25 -242
- 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 +1563 -1790
- 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 +30 -29
- 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-2CYOM4BK.js → chunk-4TUJPE6G.js} +19 -4
- package/dist/chunk-4TUJPE6G.js.map +1 -0
- package/dist/{chunk-7PVGDMNM.js → chunk-6KGTHJKC.js} +23 -27
- 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-QRGTG4YB.js → chunk-ABJLRDCO.js} +10 -11
- package/dist/chunk-ABJLRDCO.js.map +1 -0
- package/dist/{chunk-LEMVXAYP.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-DCK2DBOA.js → chunk-IQG5I7AM.js} +29 -39
- 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-7JKWI5FK.js → chunk-JXQUFKID.js} +2 -2
- package/dist/chunk-JXQUFKID.js.map +1 -0
- package/dist/chunk-KC7SKI3U.js +389 -0
- package/dist/chunk-KC7SKI3U.js.map +1 -0
- package/dist/{chunk-YDS36ALB.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-TI2RL5P2.js → chunk-MZNANSS2.js} +12 -7
- package/dist/chunk-MZNANSS2.js.map +1 -0
- package/dist/{chunk-LTKOV26W.js → chunk-N2KLYPS5.js} +138 -95
- package/dist/chunk-N2KLYPS5.js.map +1 -0
- package/dist/{chunk-UWMYZNUB.js → chunk-OHF3YUXX.js} +25 -40
- package/dist/chunk-OHF3YUXX.js.map +1 -0
- package/dist/{chunk-CYV6632F.js → chunk-OOICURFL.js} +2 -2
- package/dist/chunk-OOICURFL.js.map +1 -0
- package/dist/{chunk-VMNMD6KF.js → chunk-PGFVHKP5.js} +5 -7
- package/dist/chunk-PGFVHKP5.js.map +1 -0
- package/dist/{chunk-JAROCU6M.js → chunk-QHK7GGV4.js} +3 -3
- package/dist/chunk-QHK7GGV4.js.map +1 -0
- package/dist/{chunk-YT73QWCN.js → chunk-RS37Y2PQ.js} +3 -3
- package/dist/chunk-RS37Y2PQ.js.map +1 -0
- package/dist/{chunk-TUACATJA.js → chunk-UGSLGUS6.js} +8 -6
- package/dist/chunk-UGSLGUS6.js.map +1 -0
- package/dist/{chunk-DAPAXWA5.js → chunk-URNS6A5T.js} +14 -14
- package/dist/{chunk-FGKMJS3B.js → chunk-VANBSJS5.js} +2 -4
- package/dist/chunk-VANBSJS5.js.map +1 -0
- package/dist/{chunk-HPBE6KYY.js → chunk-VUFRP6P3.js} +5 -6
- package/dist/chunk-VUFRP6P3.js.map +1 -0
- package/dist/{chunk-X7IEZBM4.js → chunk-X4GUACQO.js} +8 -5
- package/dist/chunk-X4GUACQO.js.map +1 -0
- package/dist/{chunk-4XJMRVFI.js → chunk-XWYJACQC.js} +45 -22
- package/dist/chunk-XWYJACQC.js.map +1 -0
- package/dist/{chunk-AMGWP7A4.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-2JHFUQ6B.js → chunk-ZN5TB2NJ.js} +963 -883
- package/dist/chunk-ZN5TB2NJ.js.map +1 -0
- package/dist/{chunk-WXL7PVI5.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 +513 -778
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.d.cts +4307 -279
- package/dist/commonSelectors.d.ts +4307 -279
- package/dist/commonSelectors.js +13 -13
- 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 +1551 -1778
- 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 +30 -29
- 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 -1936
- 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 +36 -45
- package/dist/liststatehook.cjs +935 -0
- package/dist/liststatehook.cjs.map +1 -0
- package/dist/liststatehook.d.cts +234 -0
- package/dist/liststatehook.d.ts +234 -0
- package/dist/liststatehook.js +88 -0
- package/dist/liststatehook.js.map +1 -0
- package/dist/locationutils.cjs +906 -0
- package/dist/locationutils.cjs.map +1 -0
- package/dist/locationutils.d.cts +114 -0
- package/dist/locationutils.d.ts +114 -0
- package/dist/locationutils.js +46 -0
- package/dist/locationutils.js.map +1 -0
- 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 +633 -880
- 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 +26 -26
- 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 +1 -3
- 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 +1787 -2020
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.d.cts +63 -36
- package/dist/onboardingSlice/thunks.d.ts +63 -36
- package/dist/onboardingSlice/thunks.js +30 -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 -73
- package/dist/organizationSlice/index.d.ts +45 -73
- 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 -51
- package/dist/organizationSlice/selectors.d.ts +888 -51
- package/dist/organizationSlice/selectors.js +14 -6
- package/dist/organizationSlice/thunks.cjs +2616 -2759
- package/dist/organizationSlice/thunks.cjs.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +322 -131
- package/dist/organizationSlice/thunks.d.ts +322 -131
- package/dist/organizationSlice/thunks.js +44 -29
- package/dist/organizationSlice/types.cjs.map +1 -1
- package/dist/organizationSlice/types.d.cts +62 -79
- package/dist/organizationSlice/types.d.ts +62 -79
- 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 +293 -165
- 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 +827 -1017
- 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 +33 -26
- package/dist/selectors.cjs +565 -780
- package/dist/selectors.cjs.map +1 -1
- package/dist/selectors.d.cts +37 -8
- package/dist/selectors.d.ts +37 -8
- package/dist/selectors.js +54 -18
- package/dist/sockethook.cjs +519 -0
- package/dist/sockethook.cjs.map +1 -0
- package/dist/sockethook.d.cts +10 -0
- package/dist/sockethook.d.ts +10 -0
- package/dist/sockethook.js +139 -0
- package/dist/sockethook.js.map +1 -0
- package/dist/store.cjs +121 -840
- package/dist/store.cjs.map +1 -1
- package/dist/store.d.cts +697 -1961
- package/dist/store.d.ts +697 -1961
- package/dist/store.js +18 -16
- package/dist/storehooks.cjs +1854 -1968
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +46 -63
- package/dist/storehooks.js.map +1 -1
- package/dist/thunks.cjs +2138 -2231
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +25 -7
- package/dist/thunks.d.ts +25 -7
- package/dist/thunks.js +54 -45
- package/dist/{deploymentdevicehook.cjs → useDeploymentDevice.cjs} +1797 -2026
- 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 +16 -774
- package/dist/usersSlice/constants.d.ts +16 -774
- 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 +1666 -1893
- 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 +30 -29
- package/dist/utils.cjs +428 -292
- 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 +18 -8
- 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-2CYOM4BK.js.map +0 -1
- package/dist/chunk-2JHFUQ6B.js.map +0 -1
- package/dist/chunk-4B3IMP4I.js +0 -245
- package/dist/chunk-4B3IMP4I.js.map +0 -1
- package/dist/chunk-4XJMRVFI.js.map +0 -1
- package/dist/chunk-7JKWI5FK.js.map +0 -1
- package/dist/chunk-7PVGDMNM.js.map +0 -1
- package/dist/chunk-AMGWP7A4.js.map +0 -1
- package/dist/chunk-C5NEDBJI.js +0 -727
- package/dist/chunk-C5NEDBJI.js.map +0 -1
- package/dist/chunk-CYV6632F.js.map +0 -1
- package/dist/chunk-DCK2DBOA.js.map +0 -1
- package/dist/chunk-FGKMJS3B.js.map +0 -1
- package/dist/chunk-HPBE6KYY.js.map +0 -1
- package/dist/chunk-JAROCU6M.js.map +0 -1
- package/dist/chunk-LEMVXAYP.js.map +0 -1
- package/dist/chunk-LGNOTPUG.js +0 -106
- package/dist/chunk-LGNOTPUG.js.map +0 -1
- package/dist/chunk-LIJIIRON.js +0 -28
- package/dist/chunk-LIJIIRON.js.map +0 -1
- package/dist/chunk-LTKOV26W.js.map +0 -1
- package/dist/chunk-MRCFLG45.js.map +0 -1
- package/dist/chunk-QRGTG4YB.js.map +0 -1
- package/dist/chunk-TI2RL5P2.js.map +0 -1
- package/dist/chunk-TUACATJA.js.map +0 -1
- package/dist/chunk-UWMYZNUB.js.map +0 -1
- package/dist/chunk-VMNMD6KF.js.map +0 -1
- package/dist/chunk-WXL7PVI5.js.map +0 -1
- package/dist/chunk-X7IEZBM4.js.map +0 -1
- package/dist/chunk-YDS36ALB.js.map +0 -1
- package/dist/chunk-YT73QWCN.js.map +0 -1
- package/dist/deploymentdevicehook.cjs.map +0 -1
- package/dist/deploymentdevicehook.js +0 -62
- package/dist/deploymentdevicehook.js.map +0 -1
- /package/dist/{chunk-DAPAXWA5.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
|
@@ -6,24 +6,31 @@ import {
|
|
|
6
6
|
changeSsoConfig,
|
|
7
7
|
completeUpgrade,
|
|
8
8
|
confirmCardUpdate,
|
|
9
|
+
createBillingProfile,
|
|
9
10
|
createIntegration,
|
|
10
11
|
createOrganizationTrial,
|
|
11
12
|
deleteIntegration,
|
|
12
13
|
deleteSsoConfig,
|
|
13
14
|
downloadLicenseReport,
|
|
15
|
+
editBillingProfile,
|
|
14
16
|
editTenantDeviceLimit,
|
|
15
17
|
getAuditLogs,
|
|
16
18
|
getAuditLogsCsvLink,
|
|
19
|
+
getBillingPreview,
|
|
17
20
|
getCurrentCard,
|
|
21
|
+
getCurrentSubscription,
|
|
18
22
|
getIntegrations,
|
|
19
23
|
getSsoConfigById,
|
|
20
24
|
getSsoConfigs,
|
|
21
25
|
getTargetLocation,
|
|
22
26
|
getTenants,
|
|
27
|
+
getUserBilling,
|
|
23
28
|
getUserOrganization,
|
|
29
|
+
getUserSubscription,
|
|
24
30
|
getWebhookEvents,
|
|
25
31
|
removeTenant,
|
|
26
32
|
requestPlanChange,
|
|
33
|
+
requestPlanUpgrade,
|
|
27
34
|
sendSupportMessage,
|
|
28
35
|
setAuditlogsState,
|
|
29
36
|
setTenantsListState,
|
|
@@ -31,38 +38,39 @@ import {
|
|
|
31
38
|
startUpgrade,
|
|
32
39
|
storeSsoConfig,
|
|
33
40
|
tenantDataDivergedMessage
|
|
34
|
-
} from "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
41
|
+
} from "../chunk-ZN5TB2NJ.js";
|
|
42
|
+
import "../chunk-N2KLYPS5.js";
|
|
43
|
+
import "../chunk-JUGE7L3K.js";
|
|
44
|
+
import "../chunk-CW5T6OGF.js";
|
|
45
|
+
import "../chunk-QHK7GGV4.js";
|
|
46
|
+
import "../chunk-RS37Y2PQ.js";
|
|
47
|
+
import "../chunk-URNS6A5T.js";
|
|
48
|
+
import "../chunk-OOICURFL.js";
|
|
49
|
+
import "../chunk-UGSLGUS6.js";
|
|
50
|
+
import "../chunk-MZNANSS2.js";
|
|
51
|
+
import "../chunk-VANBSJS5.js";
|
|
52
|
+
import "../chunk-VUFRP6P3.js";
|
|
53
|
+
import "../chunk-PGFVHKP5.js";
|
|
54
|
+
import "../chunk-6KGTHJKC.js";
|
|
55
|
+
import "../chunk-ABJLRDCO.js";
|
|
56
|
+
import "../chunk-ZJW3QIPM.js";
|
|
57
|
+
import "../chunk-KC7SKI3U.js";
|
|
39
58
|
import "../chunk-NMAXZ3ZY.js";
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-7JKWI5FK.js";
|
|
59
|
+
import "../chunk-IQG5I7AM.js";
|
|
60
|
+
import "../chunk-X4GUACQO.js";
|
|
61
|
+
import "../chunk-ZRSYBSSY.js";
|
|
62
|
+
import "../chunk-4TUJPE6G.js";
|
|
45
63
|
import "../chunk-JIS4PA3R.js";
|
|
46
|
-
import "../chunk-
|
|
64
|
+
import "../chunk-JXQUFKID.js";
|
|
65
|
+
import "../chunk-KJNNEDRV.js";
|
|
47
66
|
import "../chunk-YO22XLHI.js";
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
54
|
-
import "../chunk-
|
|
55
|
-
import "../chunk-HPBE6KYY.js";
|
|
56
|
-
import "../chunk-FGKMJS3B.js";
|
|
57
|
-
import "../chunk-QRGTG4YB.js";
|
|
58
|
-
import "../chunk-VMNMD6KF.js";
|
|
59
|
-
import "../chunk-7PVGDMNM.js";
|
|
60
|
-
import "../chunk-AMGWP7A4.js";
|
|
61
|
-
import "../chunk-C5NEDBJI.js";
|
|
62
|
-
import "../chunk-CK6YE6AN.js";
|
|
63
|
-
import "../chunk-MRCFLG45.js";
|
|
64
|
-
import "../chunk-UWMYZNUB.js";
|
|
65
|
-
import "../chunk-4B3IMP4I.js";
|
|
67
|
+
import "../chunk-MBKAZVE3.js";
|
|
68
|
+
import "../chunk-XWYJACQC.js";
|
|
69
|
+
import "../chunk-7C4SQBEE.js";
|
|
70
|
+
import "../chunk-2DYA3X77.js";
|
|
71
|
+
import "../chunk-ZKAH3APE.js";
|
|
72
|
+
import "../chunk-FAJ3I2UQ.js";
|
|
73
|
+
import "../chunk-OHF3YUXX.js";
|
|
66
74
|
export {
|
|
67
75
|
addTenant,
|
|
68
76
|
cancelRequest,
|
|
@@ -71,24 +79,31 @@ export {
|
|
|
71
79
|
changeSsoConfig,
|
|
72
80
|
completeUpgrade,
|
|
73
81
|
confirmCardUpdate,
|
|
82
|
+
createBillingProfile,
|
|
74
83
|
createIntegration,
|
|
75
84
|
createOrganizationTrial,
|
|
76
85
|
deleteIntegration,
|
|
77
86
|
deleteSsoConfig,
|
|
78
87
|
downloadLicenseReport,
|
|
88
|
+
editBillingProfile,
|
|
79
89
|
editTenantDeviceLimit,
|
|
80
90
|
getAuditLogs,
|
|
81
91
|
getAuditLogsCsvLink,
|
|
92
|
+
getBillingPreview,
|
|
82
93
|
getCurrentCard,
|
|
94
|
+
getCurrentSubscription,
|
|
83
95
|
getIntegrations,
|
|
84
96
|
getSsoConfigById,
|
|
85
97
|
getSsoConfigs,
|
|
86
98
|
getTargetLocation,
|
|
87
99
|
getTenants,
|
|
100
|
+
getUserBilling,
|
|
88
101
|
getUserOrganization,
|
|
102
|
+
getUserSubscription,
|
|
89
103
|
getWebhookEvents,
|
|
90
104
|
removeTenant,
|
|
91
105
|
requestPlanChange,
|
|
106
|
+
requestPlanUpgrade,
|
|
92
107
|
sendSupportMessage,
|
|
93
108
|
setAuditlogsState,
|
|
94
109
|
setTenantsListState,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/organizationSlice/types.ts"],"sourcesContent":["// Copyright 2024 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/organizationSlice/types.ts"],"sourcesContent":["// Copyright 2024 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type {\n AuditLog as AuditLogEvent,\n Tenant as BackendTenant,\n TenantTenantadm as BackendTenantAdminTenant,\n BillingProfile,\n Event,\n Integration,\n Product,\n SAMLMetadata\n} from '@northern.tech/types/MenderTypes';\n\nimport type { AvailableAddon, SortOptions } from '../constants';\nimport type { SSO_TYPES } from './constants';\n\nexport interface Card {\n brand?: string;\n expiration: {\n month?: number;\n year?: number;\n };\n last4?: string;\n}\n\nexport interface AuditLogSelectionState {\n detail?: string;\n endDate?: string;\n isLoading?: boolean;\n page: number;\n perPage: number;\n selectedId?: string;\n selectedIssue?: string;\n sort: SortOptions;\n startDate?: string;\n total: number;\n type?: {\n queryParameter: string;\n title: string;\n value: string;\n };\n user?: { id: string };\n}\n\ninterface AuditLog {\n events: Array<AuditLogEvent>;\n selectionState: AuditLogSelectionState;\n}\n\nexport interface Webhook {\n events: Event[];\n eventsTotal: number;\n}\nexport type Tenant = BackendTenant &\n BackendTenantAdminTenant & {\n addons: Addon[];\n };\n\nexport interface TenantList {\n page: number;\n perPage: number;\n selectedTenant: BackendTenantAdminTenant | null;\n sort: SortOptions;\n tenants: BackendTenantAdminTenant[];\n total: number;\n}\n\nexport type SSOConfig = SAMLMetadata & {\n config: string;\n type: [keyof typeof SSO_TYPES];\n};\n\nexport interface OrganizationState {\n auditlog: AuditLog;\n card: Card;\n externalDeviceIntegrations: Integration[];\n intentId: string | null;\n organization: Partial<Organization>;\n ssoConfigs: SSOConfig[];\n tenantList: TenantList;\n webhooks: Webhook;\n}\n\nexport interface Addon {\n enabled: boolean;\n name: AvailableAddon;\n}\n\ninterface SubscriptionLine {\n amount: number;\n currency: string;\n description: string;\n price_id: string;\n quantity: number;\n}\nexport interface Subscription {\n currency: string;\n id: string;\n lines: SubscriptionLine[];\n period_end: string;\n period_start: string;\n plan: string;\n products: Product[];\n status: string;\n total: number;\n}\n\nexport interface Organization extends Tenant {\n addons: Addon[];\n billing_profile: BillingProfile;\n subscription: Subscription;\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -1,114 +1,97 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Tenant as Tenant$1, TenantTenantadm, BillingProfile, Product, SAMLMetadata, AuditLog as AuditLog$1, Integration, Event } from '@northern.tech/types/MenderTypes';
|
|
2
|
+
import { SortOptions } from '@northern.tech/utils/constants';
|
|
3
|
+
import { AvailableAddon } from '../appSlice/constants.cjs';
|
|
4
|
+
import { SSO_TYPES } from './constants.cjs';
|
|
2
5
|
import '@mui/material/OverridableComponent';
|
|
3
6
|
import '@mui/material';
|
|
4
7
|
|
|
5
8
|
interface Card {
|
|
6
|
-
|
|
9
|
+
brand?: string;
|
|
7
10
|
expiration: {
|
|
8
|
-
month
|
|
9
|
-
year
|
|
11
|
+
month?: number;
|
|
12
|
+
year?: number;
|
|
10
13
|
};
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
interface SortOptions {
|
|
14
|
-
direction: 'asc' | 'desc';
|
|
15
|
-
key?: string;
|
|
16
|
-
}
|
|
17
|
-
interface Tenant {
|
|
18
|
-
id: string;
|
|
19
|
-
name: string;
|
|
14
|
+
last4?: string;
|
|
20
15
|
}
|
|
21
16
|
interface AuditLogSelectionState {
|
|
22
|
-
total: number;
|
|
23
|
-
startDate?: string;
|
|
24
|
-
endDate?: string;
|
|
25
17
|
detail?: string;
|
|
18
|
+
endDate?: string;
|
|
19
|
+
isLoading?: boolean;
|
|
20
|
+
page: number;
|
|
21
|
+
perPage: number;
|
|
22
|
+
selectedId?: string;
|
|
26
23
|
selectedIssue?: string;
|
|
27
|
-
type?: string;
|
|
28
|
-
user?: string;
|
|
29
24
|
sort: SortOptions;
|
|
25
|
+
startDate?: string;
|
|
26
|
+
total: number;
|
|
27
|
+
type?: {
|
|
28
|
+
queryParameter: string;
|
|
29
|
+
title: string;
|
|
30
|
+
value: string;
|
|
31
|
+
};
|
|
32
|
+
user?: {
|
|
33
|
+
id: string;
|
|
34
|
+
};
|
|
30
35
|
}
|
|
31
36
|
interface AuditLog {
|
|
32
|
-
events: Array<
|
|
37
|
+
events: Array<AuditLog$1>;
|
|
33
38
|
selectionState: AuditLogSelectionState;
|
|
34
39
|
}
|
|
35
|
-
interface ExternalDeviceIntegration {
|
|
36
|
-
id: string;
|
|
37
|
-
provider: string;
|
|
38
|
-
connection_string: string;
|
|
39
|
-
}
|
|
40
40
|
interface Webhook {
|
|
41
|
-
events:
|
|
41
|
+
events: Event[];
|
|
42
42
|
eventsTotal: number;
|
|
43
43
|
}
|
|
44
|
+
type Tenant = Tenant$1 & TenantTenantadm & {
|
|
45
|
+
addons: Addon[];
|
|
46
|
+
};
|
|
44
47
|
interface TenantList {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
selectedTenant:
|
|
48
|
+
page: number;
|
|
49
|
+
perPage: number;
|
|
50
|
+
selectedTenant: TenantTenantadm | null;
|
|
48
51
|
sort: SortOptions;
|
|
52
|
+
tenants: TenantTenantadm[];
|
|
53
|
+
total: number;
|
|
49
54
|
}
|
|
55
|
+
type SSOConfig = SAMLMetadata & {
|
|
56
|
+
config: string;
|
|
57
|
+
type: [keyof typeof SSO_TYPES];
|
|
58
|
+
};
|
|
50
59
|
interface OrganizationState {
|
|
60
|
+
auditlog: AuditLog;
|
|
51
61
|
card: Card;
|
|
62
|
+
externalDeviceIntegrations: Integration[];
|
|
52
63
|
intentId: string | null;
|
|
64
|
+
organization: Partial<Organization>;
|
|
65
|
+
ssoConfigs: SSOConfig[];
|
|
53
66
|
tenantList: TenantList;
|
|
54
|
-
organization: Organization;
|
|
55
|
-
auditlog: AuditLog;
|
|
56
|
-
externalDeviceIntegrations: ExternalDeviceIntegration[];
|
|
57
|
-
ssoConfigs: any[];
|
|
58
67
|
webhooks: Webhook;
|
|
59
68
|
}
|
|
60
|
-
interface ApiQuota {
|
|
61
|
-
max_calls: number;
|
|
62
|
-
interval_sec: number;
|
|
63
|
-
}
|
|
64
|
-
interface ApiLimits {
|
|
65
|
-
management: {
|
|
66
|
-
bursts: any[];
|
|
67
|
-
quota: ApiQuota;
|
|
68
|
-
};
|
|
69
|
-
devices: {
|
|
70
|
-
bursts: any[];
|
|
71
|
-
quota: ApiQuota;
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
69
|
interface Addon {
|
|
75
|
-
name: AvailableAddon;
|
|
76
70
|
enabled: boolean;
|
|
71
|
+
name: AvailableAddon;
|
|
77
72
|
}
|
|
78
|
-
interface
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
city: string;
|
|
85
|
-
line1: string;
|
|
86
|
-
postal_code: string;
|
|
87
|
-
};
|
|
73
|
+
interface SubscriptionLine {
|
|
74
|
+
amount: number;
|
|
75
|
+
currency: string;
|
|
76
|
+
description: string;
|
|
77
|
+
price_id: string;
|
|
78
|
+
quantity: number;
|
|
88
79
|
}
|
|
89
|
-
interface
|
|
80
|
+
interface Subscription {
|
|
81
|
+
currency: string;
|
|
90
82
|
id: string;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
api_limits: ApiLimits;
|
|
101
|
-
trial: boolean;
|
|
102
|
-
trial_expiration: string | null;
|
|
103
|
-
service_provider: boolean;
|
|
104
|
-
created_at: string;
|
|
105
|
-
cancelled_at: string | null;
|
|
83
|
+
lines: SubscriptionLine[];
|
|
84
|
+
period_end: string;
|
|
85
|
+
period_start: string;
|
|
86
|
+
plan: string;
|
|
87
|
+
products: Product[];
|
|
88
|
+
status: string;
|
|
89
|
+
total: number;
|
|
90
|
+
}
|
|
91
|
+
interface Organization extends Tenant {
|
|
106
92
|
addons: Addon[];
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
device_count: number;
|
|
110
|
-
device_limit: number;
|
|
111
|
-
binary_delta: boolean;
|
|
93
|
+
billing_profile: BillingProfile;
|
|
94
|
+
subscription: Subscription;
|
|
112
95
|
}
|
|
113
96
|
|
|
114
|
-
export type { Addon,
|
|
97
|
+
export type { Addon, AuditLogSelectionState, Card, Organization, OrganizationState, SSOConfig, Subscription, Tenant, TenantList, Webhook };
|
|
@@ -1,114 +1,97 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Tenant as Tenant$1, TenantTenantadm, BillingProfile, Product, SAMLMetadata, AuditLog as AuditLog$1, Integration, Event } from '@northern.tech/types/MenderTypes';
|
|
2
|
+
import { SortOptions } from '@northern.tech/utils/constants';
|
|
3
|
+
import { AvailableAddon } from '../appSlice/constants.js';
|
|
4
|
+
import { SSO_TYPES } from './constants.js';
|
|
2
5
|
import '@mui/material/OverridableComponent';
|
|
3
6
|
import '@mui/material';
|
|
4
7
|
|
|
5
8
|
interface Card {
|
|
6
|
-
|
|
9
|
+
brand?: string;
|
|
7
10
|
expiration: {
|
|
8
|
-
month
|
|
9
|
-
year
|
|
11
|
+
month?: number;
|
|
12
|
+
year?: number;
|
|
10
13
|
};
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
interface SortOptions {
|
|
14
|
-
direction: 'asc' | 'desc';
|
|
15
|
-
key?: string;
|
|
16
|
-
}
|
|
17
|
-
interface Tenant {
|
|
18
|
-
id: string;
|
|
19
|
-
name: string;
|
|
14
|
+
last4?: string;
|
|
20
15
|
}
|
|
21
16
|
interface AuditLogSelectionState {
|
|
22
|
-
total: number;
|
|
23
|
-
startDate?: string;
|
|
24
|
-
endDate?: string;
|
|
25
17
|
detail?: string;
|
|
18
|
+
endDate?: string;
|
|
19
|
+
isLoading?: boolean;
|
|
20
|
+
page: number;
|
|
21
|
+
perPage: number;
|
|
22
|
+
selectedId?: string;
|
|
26
23
|
selectedIssue?: string;
|
|
27
|
-
type?: string;
|
|
28
|
-
user?: string;
|
|
29
24
|
sort: SortOptions;
|
|
25
|
+
startDate?: string;
|
|
26
|
+
total: number;
|
|
27
|
+
type?: {
|
|
28
|
+
queryParameter: string;
|
|
29
|
+
title: string;
|
|
30
|
+
value: string;
|
|
31
|
+
};
|
|
32
|
+
user?: {
|
|
33
|
+
id: string;
|
|
34
|
+
};
|
|
30
35
|
}
|
|
31
36
|
interface AuditLog {
|
|
32
|
-
events: Array<
|
|
37
|
+
events: Array<AuditLog$1>;
|
|
33
38
|
selectionState: AuditLogSelectionState;
|
|
34
39
|
}
|
|
35
|
-
interface ExternalDeviceIntegration {
|
|
36
|
-
id: string;
|
|
37
|
-
provider: string;
|
|
38
|
-
connection_string: string;
|
|
39
|
-
}
|
|
40
40
|
interface Webhook {
|
|
41
|
-
events:
|
|
41
|
+
events: Event[];
|
|
42
42
|
eventsTotal: number;
|
|
43
43
|
}
|
|
44
|
+
type Tenant = Tenant$1 & TenantTenantadm & {
|
|
45
|
+
addons: Addon[];
|
|
46
|
+
};
|
|
44
47
|
interface TenantList {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
selectedTenant:
|
|
48
|
+
page: number;
|
|
49
|
+
perPage: number;
|
|
50
|
+
selectedTenant: TenantTenantadm | null;
|
|
48
51
|
sort: SortOptions;
|
|
52
|
+
tenants: TenantTenantadm[];
|
|
53
|
+
total: number;
|
|
49
54
|
}
|
|
55
|
+
type SSOConfig = SAMLMetadata & {
|
|
56
|
+
config: string;
|
|
57
|
+
type: [keyof typeof SSO_TYPES];
|
|
58
|
+
};
|
|
50
59
|
interface OrganizationState {
|
|
60
|
+
auditlog: AuditLog;
|
|
51
61
|
card: Card;
|
|
62
|
+
externalDeviceIntegrations: Integration[];
|
|
52
63
|
intentId: string | null;
|
|
64
|
+
organization: Partial<Organization>;
|
|
65
|
+
ssoConfigs: SSOConfig[];
|
|
53
66
|
tenantList: TenantList;
|
|
54
|
-
organization: Organization;
|
|
55
|
-
auditlog: AuditLog;
|
|
56
|
-
externalDeviceIntegrations: ExternalDeviceIntegration[];
|
|
57
|
-
ssoConfigs: any[];
|
|
58
67
|
webhooks: Webhook;
|
|
59
68
|
}
|
|
60
|
-
interface ApiQuota {
|
|
61
|
-
max_calls: number;
|
|
62
|
-
interval_sec: number;
|
|
63
|
-
}
|
|
64
|
-
interface ApiLimits {
|
|
65
|
-
management: {
|
|
66
|
-
bursts: any[];
|
|
67
|
-
quota: ApiQuota;
|
|
68
|
-
};
|
|
69
|
-
devices: {
|
|
70
|
-
bursts: any[];
|
|
71
|
-
quota: ApiQuota;
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
69
|
interface Addon {
|
|
75
|
-
name: AvailableAddon;
|
|
76
70
|
enabled: boolean;
|
|
71
|
+
name: AvailableAddon;
|
|
77
72
|
}
|
|
78
|
-
interface
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
city: string;
|
|
85
|
-
line1: string;
|
|
86
|
-
postal_code: string;
|
|
87
|
-
};
|
|
73
|
+
interface SubscriptionLine {
|
|
74
|
+
amount: number;
|
|
75
|
+
currency: string;
|
|
76
|
+
description: string;
|
|
77
|
+
price_id: string;
|
|
78
|
+
quantity: number;
|
|
88
79
|
}
|
|
89
|
-
interface
|
|
80
|
+
interface Subscription {
|
|
81
|
+
currency: string;
|
|
90
82
|
id: string;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
api_limits: ApiLimits;
|
|
101
|
-
trial: boolean;
|
|
102
|
-
trial_expiration: string | null;
|
|
103
|
-
service_provider: boolean;
|
|
104
|
-
created_at: string;
|
|
105
|
-
cancelled_at: string | null;
|
|
83
|
+
lines: SubscriptionLine[];
|
|
84
|
+
period_end: string;
|
|
85
|
+
period_start: string;
|
|
86
|
+
plan: string;
|
|
87
|
+
products: Product[];
|
|
88
|
+
status: string;
|
|
89
|
+
total: number;
|
|
90
|
+
}
|
|
91
|
+
interface Organization extends Tenant {
|
|
106
92
|
addons: Addon[];
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
device_count: number;
|
|
110
|
-
device_limit: number;
|
|
111
|
-
binary_delta: boolean;
|
|
93
|
+
billing_profile: BillingProfile;
|
|
94
|
+
subscription: Subscription;
|
|
112
95
|
}
|
|
113
96
|
|
|
114
|
-
export type { Addon,
|
|
97
|
+
export type { Addon, AuditLogSelectionState, Card, Organization, OrganizationState, SSOConfig, Subscription, Tenant, TenantList, Webhook };
|
|
@@ -23,11 +23,13 @@ __export(constants_exports, {
|
|
|
23
23
|
ARTIFACT_GENERATION_TYPE: () => ARTIFACT_GENERATION_TYPE,
|
|
24
24
|
currentArtifact: () => currentArtifact,
|
|
25
25
|
rootfsImageVersion: () => rootfsImageVersion,
|
|
26
|
+
softwareIndicator: () => softwareIndicator,
|
|
26
27
|
softwareTitleMap: () => softwareTitleMap
|
|
27
28
|
});
|
|
28
29
|
module.exports = __toCommonJS(constants_exports);
|
|
29
30
|
var ARTIFACT_GENERATION_TYPE = { SINGLE_FILE: "single_file" };
|
|
30
31
|
var currentArtifact = "artifact_name";
|
|
32
|
+
var softwareIndicator = ".version";
|
|
31
33
|
var rootfsImageVersion = "rootfs-image.version";
|
|
32
34
|
var softwareTitleMap = { [rootfsImageVersion]: { title: "Root filesystem", priority: 0, key: rootfsImageVersion } };
|
|
33
35
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -35,6 +37,7 @@ var softwareTitleMap = { [rootfsImageVersion]: { title: "Root filesystem", prior
|
|
|
35
37
|
ARTIFACT_GENERATION_TYPE,
|
|
36
38
|
currentArtifact,
|
|
37
39
|
rootfsImageVersion,
|
|
40
|
+
softwareIndicator,
|
|
38
41
|
softwareTitleMap
|
|
39
42
|
});
|
|
40
43
|
//# sourceMappingURL=constants.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/releasesSlice/constants.ts"],"sourcesContent":["// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nexport const ARTIFACT_GENERATION_TYPE = { SINGLE_FILE: 'single_file' };\n\nexport const currentArtifact = 'artifact_name';\nexport const rootfsImageVersion = 'rootfs-image.version';\nexport const softwareTitleMap = { [rootfsImageVersion]: { title: 'Root filesystem', priority: 0, key: rootfsImageVersion } };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAaO,IAAM,2BAA2B,EAAE,aAAa,cAAc;AAE9D,IAAM,kBAAkB;AACxB,IAAM,qBAAqB;AAC3B,IAAM,mBAAmB,EAAE,CAAC,kBAAkB,GAAG,EAAE,OAAO,mBAAmB,UAAU,GAAG,KAAK,mBAAmB,EAAE;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/releasesSlice/constants.ts"],"sourcesContent":["// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nexport const ARTIFACT_GENERATION_TYPE = { SINGLE_FILE: 'single_file' };\n\nexport const currentArtifact = 'artifact_name';\nexport const softwareIndicator = '.version';\nexport const rootfsImageVersion = 'rootfs-image.version';\nexport const softwareTitleMap = { [rootfsImageVersion]: { title: 'Root filesystem', priority: 0, key: rootfsImageVersion } };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAaO,IAAM,2BAA2B,EAAE,aAAa,cAAc;AAE9D,IAAM,kBAAkB;AACxB,IAAM,oBAAoB;AAC1B,IAAM,qBAAqB;AAC3B,IAAM,mBAAmB,EAAE,CAAC,kBAAkB,GAAG,EAAE,OAAO,mBAAmB,UAAU,GAAG,KAAK,mBAAmB,EAAE;","names":[]}
|
|
@@ -2,6 +2,7 @@ declare const ARTIFACT_GENERATION_TYPE: {
|
|
|
2
2
|
SINGLE_FILE: string;
|
|
3
3
|
};
|
|
4
4
|
declare const currentArtifact = "artifact_name";
|
|
5
|
+
declare const softwareIndicator = ".version";
|
|
5
6
|
declare const rootfsImageVersion = "rootfs-image.version";
|
|
6
7
|
declare const softwareTitleMap: {
|
|
7
8
|
"rootfs-image.version": {
|
|
@@ -11,4 +12,4 @@ declare const softwareTitleMap: {
|
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
|
|
14
|
-
export { ARTIFACT_GENERATION_TYPE, currentArtifact, rootfsImageVersion, softwareTitleMap };
|
|
15
|
+
export { ARTIFACT_GENERATION_TYPE, currentArtifact, rootfsImageVersion, softwareIndicator, softwareTitleMap };
|
|
@@ -2,6 +2,7 @@ declare const ARTIFACT_GENERATION_TYPE: {
|
|
|
2
2
|
SINGLE_FILE: string;
|
|
3
3
|
};
|
|
4
4
|
declare const currentArtifact = "artifact_name";
|
|
5
|
+
declare const softwareIndicator = ".version";
|
|
5
6
|
declare const rootfsImageVersion = "rootfs-image.version";
|
|
6
7
|
declare const softwareTitleMap: {
|
|
7
8
|
"rootfs-image.version": {
|
|
@@ -11,4 +12,4 @@ declare const softwareTitleMap: {
|
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
|
|
14
|
-
export { ARTIFACT_GENERATION_TYPE, currentArtifact, rootfsImageVersion, softwareTitleMap };
|
|
15
|
+
export { ARTIFACT_GENERATION_TYPE, currentArtifact, rootfsImageVersion, softwareIndicator, softwareTitleMap };
|
|
@@ -2,12 +2,14 @@ import {
|
|
|
2
2
|
ARTIFACT_GENERATION_TYPE,
|
|
3
3
|
currentArtifact,
|
|
4
4
|
rootfsImageVersion,
|
|
5
|
+
softwareIndicator,
|
|
5
6
|
softwareTitleMap
|
|
6
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-2DYA3X77.js";
|
|
7
8
|
export {
|
|
8
9
|
ARTIFACT_GENERATION_TYPE,
|
|
9
10
|
currentArtifact,
|
|
10
11
|
rootfsImageVersion,
|
|
12
|
+
softwareIndicator,
|
|
11
13
|
softwareTitleMap
|
|
12
14
|
};
|
|
13
15
|
//# sourceMappingURL=constants.js.map
|