@orangelogic/orange-dam-content-browser-sdk 2.1.54 → 2.1.57
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/build/ApiService.d.ts +15 -0
- package/build/App.d.ts +62 -0
- package/build/AppContext.d.ts +18 -0
- package/build/GlobalConfigContext.d.ts +33 -0
- package/build/OrangeDAMContentBrowserSDK.min.css +2 -0
- package/build/OrangeDAMContentBrowserSDK.min.css.map +1 -0
- package/build/OrangeDAMContentBrowserSDK.min.js +11481 -0
- package/build/OrangeDAMContentBrowserSDK.min.js.map +1 -0
- package/build/asset-manifest.json +13 -0
- package/build/components/ArrayClamp/ArrayClamp.d.ts +10 -0
- package/build/components/ArrayClamp/ArrayClamp.styled.d.ts +1 -0
- package/build/components/ArrayClamp/index.d.ts +1 -0
- package/build/components/Browser/Browser.constants.d.ts +3 -0
- package/build/components/Browser/Browser.d.ts +22 -0
- package/build/components/Browser/Browser.styled.d.ts +2 -0
- package/build/components/Browser/BrowserItem.d.ts +13 -0
- package/build/components/Browser/LoadMoreButton.d.ts +9 -0
- package/build/components/ControlBar/ControlBar.constants.d.ts +10 -0
- package/build/components/ControlBar/ControlBar.d.ts +23 -0
- package/build/components/ControlBar/ControlBar.styled.d.ts +1 -0
- package/build/components/ControlBar/Facet/Facet.d.ts +14 -0
- package/build/components/ControlBar/Facet/index.d.ts +1 -0
- package/build/components/FormatDialog/CropPreviewer/CropPreviewer.d.ts +41 -0
- package/{src/components/FormatDialog/CropPreviewer/index.ts → build/components/FormatDialog/CropPreviewer/index.d.ts} +1 -1
- package/build/components/FormatDialog/CustomRendition/CustomRendition.constants.d.ts +5 -0
- package/build/components/FormatDialog/CustomRendition/CustomRendition.d.ts +56 -0
- package/build/components/FormatDialog/CustomRendition/CustomRendition.styled.d.ts +1 -0
- package/build/components/FormatDialog/CustomRendition/index.d.ts +1 -0
- package/build/components/FormatDialog/CustomRendition/transformations/Crop.d.ts +26 -0
- package/build/components/FormatDialog/CustomRendition/transformations/Extension.d.ts +11 -0
- package/build/components/FormatDialog/CustomRendition/transformations/Format.d.ts +10 -0
- package/build/components/FormatDialog/CustomRendition/transformations/Metadata.d.ts +7 -0
- package/build/components/FormatDialog/CustomRendition/transformations/Quality.d.ts +7 -0
- package/build/components/FormatDialog/CustomRendition/transformations/Resize.d.ts +18 -0
- package/build/components/FormatDialog/CustomRendition/transformations/Rotate.d.ts +8 -0
- package/{src/components/FormatDialog/CustomRendition/transformations/index.ts → build/components/FormatDialog/CustomRendition/transformations/index.d.ts} +3 -1
- package/build/components/FormatDialog/FormatDialog.d.ts +49 -0
- package/build/components/FormatDialog/FormatDialog.styled.d.ts +3 -0
- package/build/components/FormatDialog/Previewer/Previewer.d.ts +17 -0
- package/build/components/FormatDialog/Previewer/Previewer.styled.d.ts +1 -0
- package/build/components/FormatDialog/Previewer/index.d.ts +1 -0
- package/build/components/FormatDialog/ProxyMenu/ProxyMenu.d.ts +20 -0
- package/build/components/FormatDialog/ProxyMenu/ProxyMenu.styled.d.ts +2 -0
- package/build/components/FormatDialog/ProxyMenu/index.d.ts +1 -0
- package/build/components/FormatDialog/TrackingParameters/TrackingParameters.d.ts +13 -0
- package/build/components/FormatDialog/TrackingParameters/index.d.ts +1 -0
- package/build/components/FormatDialog/VersionHistory/VersionHistory.d.ts +6 -0
- package/build/components/FormatDialog/VersionHistory/VersionHistory.styled.d.ts +1 -0
- package/build/components/FormatDialog/VersionHistory/index.d.ts +1 -0
- package/build/components/FormatDialog/index.d.ts +1 -0
- package/build/components/Header/Header.d.ts +15 -0
- package/build/components/Header/Header.styled.d.ts +5 -0
- package/build/components/Loader/Loader.d.ts +7 -0
- package/build/components/Loader/index.d.ts +1 -0
- package/build/components/NoResult/NoResult.d.ts +7 -0
- package/build/components/NoResult/index.d.ts +1 -0
- package/build/components/Result/AssetCard/AssetCard.d.ts +15 -0
- package/build/components/Result/AssetCard/AssetCard.styled.d.ts +2 -0
- package/build/components/Result/AssetCard/AssetCardWrapper.d.ts +18 -0
- package/build/components/Result/AssetCard/AssetCardWrapper.styled.d.ts +1 -0
- package/build/components/Result/AssetCard/index.d.ts +1 -0
- package/build/components/Result/AssetPreview/AssetPreview.d.ts +11 -0
- package/build/components/Result/AssetPreview/AssetPreview.styled.d.ts +1 -0
- package/build/components/Result/AssetPreview/ImagePreview/ImagePreview.d.ts +11 -0
- package/build/components/Result/AssetPreview/ImagePreview/index.d.ts +1 -0
- package/build/components/Result/AssetPreview/OtherPreview/OtherPreview.d.ts +9 -0
- package/build/components/Result/AssetPreview/OtherPreview/OtherPreview.styled.d.ts +1 -0
- package/build/components/Result/AssetPreview/OtherPreview/index.d.ts +1 -0
- package/build/components/Result/AssetPreview/VideoPreview/VideoPreview.d.ts +11 -0
- package/build/components/Result/AssetPreview/VideoPreview/index.d.ts +1 -0
- package/build/components/Result/AssetPreview/index.d.ts +1 -0
- package/build/consts/asset.d.ts +14 -0
- package/build/consts/auth.d.ts +4 -0
- package/build/consts/data.d.ts +21 -0
- package/build/index.d.ts +229 -0
- package/build/index.html +1 -0
- package/build/page/Authenticate/Authenticate.d.ts +2 -0
- package/build/page/Authenticate/ConnectingBackground.d.ts +8 -0
- package/build/page/Authenticate/index.d.ts +2 -0
- package/build/page/Home/Home.d.ts +6 -0
- package/build/page/Home/Home.styled.d.ts +2 -0
- package/build/setupTests.d.ts +1 -0
- package/build/store/assets/assets.api.d.ts +66 -0
- package/build/store/assets/assets.service.d.ts +23 -0
- package/build/store/assets/assets.slice.d.ts +65 -0
- package/build/store/auth/auth.service.d.ts +10 -0
- package/build/store/auth/auth.slice.d.ts +76 -0
- package/build/store/index.d.ts +368 -0
- package/build/store/search/search.api.d.ts +39 -0
- package/build/store/search/search.slice.d.ts +12 -0
- package/build/store/user/user.api.d.ts +5 -0
- package/build/types/assets.d.ts +68 -0
- package/build/types/auth.d.ts +35 -0
- package/build/types/common.d.ts +11 -0
- package/build/types/download.d.ts +8 -0
- package/build/types/navigation.d.ts +3 -0
- package/build/types/search.d.ts +148 -0
- package/{src/types/storage.ts → build/types/storage.d.ts} +1 -1
- package/build/types/user.d.ts +7 -0
- package/build/utils/api.d.ts +27 -0
- package/build/utils/array.d.ts +13 -0
- package/build/utils/constants.d.ts +11 -0
- package/build/utils/function.d.ts +1 -0
- package/build/utils/getRequestUrl.d.ts +1 -0
- package/build/utils/hooks.d.ts +1 -0
- package/build/utils/icon.d.ts +3 -0
- package/build/utils/image.d.ts +24 -0
- package/build/utils/number.d.ts +4 -0
- package/build/utils/rotate.d.ts +4 -0
- package/build/utils/storage.d.ts +23 -0
- package/build/utils/string.d.ts +12 -0
- package/build/view/AssetsPicker.d.ts +6 -0
- package/package.json +49 -8
- package/.env +0 -1
- package/.eslintignore +0 -2
- package/.eslintrc.json +0 -82
- package/.releaserc +0 -17
- package/.travis.yml +0 -20
- package/CBSDKdemo.html +0 -315
- package/GitVersion.yml +0 -18
- package/azure-pipeline.yaml +0 -93
- package/clientlib.config.js +0 -36
- package/config/env.js +0 -105
- package/config/getHttpsConfig.js +0 -67
- package/config/jest/babelTransform.js +0 -30
- package/config/jest/cssTransform.js +0 -14
- package/config/jest/fileTransform.js +0 -41
- package/config/modules.js +0 -135
- package/config/paths.js +0 -79
- package/config/webpack/persistentCache/createEnvironmentHash.js +0 -10
- package/config/webpack.config.js +0 -762
- package/config/webpackDevServer.config.js +0 -128
- package/config-overrides.js +0 -8
- package/gab_extension/GAB.html +0 -85
- package/gab_extension/GoogleChrome/manifest.json +0 -28
- package/gab_extension/GoogleChrome/src/assets/icon48.png +0 -0
- package/gab_extension/GoogleChrome/src/background/index.js +0 -6
- package/gab_extension/GoogleChrome/src/scripts/index.js +0 -347
- package/gab_extension/MozillaFirefox/manifest.json +0 -20
- package/gab_extension/MozillaFirefox/src/assets/icon.png +0 -0
- package/gab_extension/MozillaFirefox/src/background/index.js +0 -5
- package/gab_extension/MozillaFirefox/src/scripts/index.js +0 -347
- package/gab_extension/README.md +0 -11
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Orange DAM Asset Browser Extension.xcodeproj/project.pbxproj +0 -927
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Orange DAM Asset Browser Extension.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Orange DAM Asset Browser Extension.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Orange DAM Asset Browser Extension.xcodeproj/project.xcworkspace/xcuserdata/oldevmac01.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Orange DAM Asset Browser Extension.xcodeproj/xcuserdata/oldevmac01.xcuserdatad/xcschemes/xcschememanagement.plist +0 -19
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json +0 -11
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -63
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Assets.xcassets/Contents.json +0 -6
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json +0 -20
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Base.lproj/Main.html +0 -23
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Resources/Icon.png +0 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Resources/Script.js +0 -24
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Resources/Style.css +0 -61
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/ViewController.swift +0 -81
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (Extension)/SafariWebExtensionHandler.swift +0 -26
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (App)/AppDelegate.swift +0 -24
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (App)/Base.lproj/LaunchScreen.storyboard +0 -36
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (App)/Base.lproj/Main.storyboard +0 -38
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (App)/Info.plist +0 -27
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (App)/SceneDelegate.swift +0 -18
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (Extension)/Info.plist +0 -13
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (App)/AppDelegate.swift +0 -21
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (App)/Base.lproj/Main.storyboard +0 -125
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (App)/Info.plist +0 -8
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (App)/Orange DAM Asset Browser Extension.entitlements +0 -12
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (Extension)/Info.plist +0 -13
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (Extension)/Orange DAM Asset Browser Extension.entitlements +0 -10
- package/public/index.html +0 -92
- package/scripts/build.js +0 -218
- package/scripts/start.js +0 -154
- package/scripts/test.js +0 -53
- package/src/App.tsx +0 -98
- package/src/AppContext.ts +0 -18
- package/src/GlobalConfigContext.ts +0 -46
- package/src/components/ArrayClamp/ArrayClamp.styled.ts +0 -42
- package/src/components/ArrayClamp/ArrayClamp.tsx +0 -167
- package/src/components/ArrayClamp/index.ts +0 -1
- package/src/components/Browser/Browser.styled.ts +0 -82
- package/src/components/Browser/Browser.tsx +0 -284
- package/src/components/Browser/BrowserItem.tsx +0 -98
- package/src/components/ControlBar/ControlBar.constants.tsx +0 -66
- package/src/components/ControlBar/ControlBar.styled.ts +0 -82
- package/src/components/ControlBar/ControlBar.tsx +0 -528
- package/src/components/ControlBar/Facet/Facet.tsx +0 -113
- package/src/components/ControlBar/Facet/index.ts +0 -1
- package/src/components/FormatDialog/CropPreviewer/CropPreviewer.tsx +0 -224
- package/src/components/FormatDialog/CustomRendition/CustomRendition.constants.ts +0 -24
- package/src/components/FormatDialog/CustomRendition/CustomRendition.styled.ts +0 -57
- package/src/components/FormatDialog/CustomRendition/CustomRendition.tsx +0 -178
- package/src/components/FormatDialog/CustomRendition/index.ts +0 -1
- package/src/components/FormatDialog/CustomRendition/transformations/Crop.tsx +0 -249
- package/src/components/FormatDialog/CustomRendition/transformations/Extension.tsx +0 -54
- package/src/components/FormatDialog/CustomRendition/transformations/Format.tsx +0 -86
- package/src/components/FormatDialog/CustomRendition/transformations/Resize.tsx +0 -176
- package/src/components/FormatDialog/CustomRendition/transformations/Rotate.tsx +0 -101
- package/src/components/FormatDialog/FormatDialog.styled.ts +0 -137
- package/src/components/FormatDialog/FormatDialog.tsx +0 -1533
- package/src/components/FormatDialog/Previewer/Previewer.styled.ts +0 -31
- package/src/components/FormatDialog/Previewer/Previewer.tsx +0 -143
- package/src/components/FormatDialog/Previewer/index.ts +0 -1
- package/src/components/FormatDialog/ProxyMenu/ProxyMenu.styled.ts +0 -88
- package/src/components/FormatDialog/ProxyMenu/ProxyMenu.tsx +0 -74
- package/src/components/FormatDialog/ProxyMenu/index.ts +0 -1
- package/src/components/FormatDialog/TrackingParameters/TrackingParameters.tsx +0 -59
- package/src/components/FormatDialog/TrackingParameters/index.ts +0 -1
- package/src/components/FormatDialog/index.ts +0 -1
- package/src/components/Header/Header.styled.ts +0 -51
- package/src/components/Header/Header.tsx +0 -118
- package/src/components/Loader/Loader.tsx +0 -37
- package/src/components/Loader/index.ts +0 -1
- package/src/components/NoResult/NoResult.tsx +0 -37
- package/src/components/NoResult/index.tsx +0 -1
- package/src/components/Result/AssetCard/AssetCard.styled.ts +0 -120
- package/src/components/Result/AssetCard/AssetCard.tsx +0 -192
- package/src/components/Result/AssetCard/AssetCardWrapper.styled.ts +0 -35
- package/src/components/Result/AssetCard/AssetCardWrapper.tsx +0 -165
- package/src/components/Result/AssetCard/index.ts +0 -1
- package/src/components/Result/AssetPreview/AssetPreview.styled.ts +0 -108
- package/src/components/Result/AssetPreview/AssetPreview.tsx +0 -78
- package/src/components/Result/AssetPreview/ImagePreview/ImagePreview.tsx +0 -42
- package/src/components/Result/AssetPreview/ImagePreview/index.ts +0 -1
- package/src/components/Result/AssetPreview/OtherPreview/OtherPreview.styled.ts +0 -23
- package/src/components/Result/AssetPreview/OtherPreview/OtherPreview.tsx +0 -28
- package/src/components/Result/AssetPreview/OtherPreview/index.ts +0 -1
- package/src/components/Result/AssetPreview/VideoPreview/VideoPreview.tsx +0 -132
- package/src/components/Result/AssetPreview/VideoPreview/index.ts +0 -1
- package/src/components/Result/AssetPreview/index.ts +0 -1
- package/src/consts/asset.ts +0 -16
- package/src/consts/data.ts +0 -17
- package/src/index.tsx +0 -305
- package/src/page/Authenticate/Authenticate.tsx +0 -232
- package/src/page/Authenticate/ConnectingBackground.tsx +0 -44
- package/src/page/Authenticate/index.tsx +0 -94
- package/src/page/Home/Home.styled.ts +0 -46
- package/src/page/Home/Home.tsx +0 -941
- package/src/react-web-component.d.ts +0 -4617
- package/src/store/assets/assets.api.ts +0 -167
- package/src/store/assets/assets.service.ts +0 -223
- package/src/store/assets/assets.slice.ts +0 -104
- package/src/store/auth/auth.service.ts +0 -71
- package/src/store/auth/auth.slice.ts +0 -295
- package/src/store/index.ts +0 -27
- package/src/store/search/search.api.ts +0 -319
- package/src/store/search/search.slice.ts +0 -28
- package/src/store/user/user.api.ts +0 -29
- package/src/styles.css +0 -42
- package/src/types/assets.ts +0 -71
- package/src/types/auth.ts +0 -42
- package/src/types/common.ts +0 -11
- package/src/types/download.ts +0 -8
- package/src/types/navigation.ts +0 -3
- package/src/types/search.ts +0 -116
- package/src/types/user.ts +0 -6
- package/src/utils/api.ts +0 -186
- package/src/utils/array.ts +0 -25
- package/src/utils/constants.ts +0 -12
- package/src/utils/fetch.ts +0 -116
- package/src/utils/getRequestUrl.ts +0 -15
- package/src/utils/hooks.ts +0 -36
- package/src/utils/icon.ts +0 -22
- package/src/utils/image.ts +0 -157
- package/src/utils/number.ts +0 -11
- package/src/utils/rotate.ts +0 -23
- package/src/utils/storage.ts +0 -184
- package/src/utils/string.ts +0 -24
- package/src/view/AssetsPicker.tsx +0 -24
- package/src/web-component.d.ts +0 -8151
- package/tsconfig.eslint.json +0 -10
- package/tsconfig.json +0 -37
- /package/{src/components/Browser/index.ts → build/components/Browser/index.d.ts} +0 -0
- /package/{src/components/ControlBar/index.ts → build/components/ControlBar/index.d.ts} +0 -0
- /package/{src/components/Header/index.ts → build/components/Header/index.d.ts} +0 -0
- /package/{public → build}/favicon.ico +0 -0
- /package/{public → build}/logo192.png +0 -0
- /package/{public → build}/logo512.png +0 -0
- /package/{public → build}/manifest.json +0 -0
- /package/{src/page/Home/index.ts → build/page/Home/index.d.ts} +0 -0
- /package/{public → build}/robots.txt +0 -0
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
import type { TypedUseSelectorHook } from 'react-redux';
|
|
2
|
+
export declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<{
|
|
3
|
+
auth: import("./auth/auth.slice").AuthState;
|
|
4
|
+
assets: import("../types/assets").AssetsState;
|
|
5
|
+
searchApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
6
|
+
getFolders: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
7
|
+
items: import("../types/search").Folder[];
|
|
8
|
+
totalCount: number;
|
|
9
|
+
}, "searchApi">;
|
|
10
|
+
getCollections: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
11
|
+
items: import("../types/search").Folder[];
|
|
12
|
+
totalCount: number;
|
|
13
|
+
}, "searchApi">;
|
|
14
|
+
getAssets: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
15
|
+
facets: import("../types/search").Facet[];
|
|
16
|
+
items: import("../types/search").Asset[];
|
|
17
|
+
totalCount: number;
|
|
18
|
+
}, "searchApi">;
|
|
19
|
+
getIsFavorite: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
20
|
+
recordId: string;
|
|
21
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">;
|
|
22
|
+
getAssetById: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
23
|
+
id: string;
|
|
24
|
+
useSession?: string;
|
|
25
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", import("../types/search").Asset | undefined, "searchApi">;
|
|
26
|
+
}, "Folders" | "Images" | "ImagesInFolders", "searchApi">;
|
|
27
|
+
userApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
28
|
+
getUserInfo: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, import("../types/user").UserInfo, "userApi">;
|
|
29
|
+
}, never, "userApi">;
|
|
30
|
+
assetsApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
31
|
+
getAvailableExtensions: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
32
|
+
useSession: string;
|
|
33
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
34
|
+
Album: {
|
|
35
|
+
displayName: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}[];
|
|
38
|
+
Audio: {
|
|
39
|
+
displayName: string;
|
|
40
|
+
value: string;
|
|
41
|
+
}[];
|
|
42
|
+
Image: {
|
|
43
|
+
displayName: string;
|
|
44
|
+
value: string;
|
|
45
|
+
}[];
|
|
46
|
+
Multimedia: {
|
|
47
|
+
displayName: string;
|
|
48
|
+
value: string;
|
|
49
|
+
}[];
|
|
50
|
+
Story: {
|
|
51
|
+
displayName: string;
|
|
52
|
+
value: string;
|
|
53
|
+
}[];
|
|
54
|
+
Video: {
|
|
55
|
+
displayName: string;
|
|
56
|
+
value: string;
|
|
57
|
+
}[];
|
|
58
|
+
Widget: {
|
|
59
|
+
displayName: string;
|
|
60
|
+
value: string;
|
|
61
|
+
}[];
|
|
62
|
+
}, "assetsApi">;
|
|
63
|
+
getAvailableProxies: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
64
|
+
assetImages?: import("../types/search").Asset[];
|
|
65
|
+
docTypes?: string[];
|
|
66
|
+
useSession?: string;
|
|
67
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", import("./assets/assets.api").GetAvailableProxiesResponse, "assetsApi">;
|
|
68
|
+
getAvailableFacets: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
69
|
+
useSession: string;
|
|
70
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
71
|
+
displayName: string;
|
|
72
|
+
facetFieldName: string;
|
|
73
|
+
}[], "assetsApi">;
|
|
74
|
+
getParameters: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
75
|
+
useSession?: string;
|
|
76
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
77
|
+
ATSEnabled: boolean;
|
|
78
|
+
autoExtension: string;
|
|
79
|
+
collectionPath: string;
|
|
80
|
+
supportedExtensions: string[];
|
|
81
|
+
supportedRepresentativeSubtypes: string[];
|
|
82
|
+
}, "assetsApi">;
|
|
83
|
+
getSortOrders: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
84
|
+
useSession?: string;
|
|
85
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", Record<string, import("../types/assets").SortOrder[]>, "assetsApi">;
|
|
86
|
+
getVersionHistory: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
87
|
+
assetId: string;
|
|
88
|
+
useSession?: string;
|
|
89
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
90
|
+
count: number;
|
|
91
|
+
versions: Record<string, string>[];
|
|
92
|
+
}, "assetsApi">;
|
|
93
|
+
}, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", "assetsApi">;
|
|
94
|
+
}, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("redux-thunk").ThunkMiddleware<{
|
|
95
|
+
auth: import("./auth/auth.slice").AuthState;
|
|
96
|
+
assets: import("../types/assets").AssetsState;
|
|
97
|
+
searchApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
98
|
+
getFolders: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
99
|
+
items: import("../types/search").Folder[];
|
|
100
|
+
totalCount: number;
|
|
101
|
+
}, "searchApi">;
|
|
102
|
+
getCollections: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
103
|
+
items: import("../types/search").Folder[];
|
|
104
|
+
totalCount: number;
|
|
105
|
+
}, "searchApi">;
|
|
106
|
+
getAssets: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
107
|
+
facets: import("../types/search").Facet[];
|
|
108
|
+
items: import("../types/search").Asset[];
|
|
109
|
+
totalCount: number;
|
|
110
|
+
}, "searchApi">;
|
|
111
|
+
getIsFavorite: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
112
|
+
recordId: string;
|
|
113
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">;
|
|
114
|
+
getAssetById: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
115
|
+
id: string;
|
|
116
|
+
useSession?: string;
|
|
117
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", import("../types/search").Asset | undefined, "searchApi">;
|
|
118
|
+
}, "Folders" | "Images" | "ImagesInFolders", "searchApi">;
|
|
119
|
+
userApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
120
|
+
getUserInfo: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, import("../types/user").UserInfo, "userApi">;
|
|
121
|
+
}, never, "userApi">;
|
|
122
|
+
assetsApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
123
|
+
getAvailableExtensions: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
124
|
+
useSession: string;
|
|
125
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
126
|
+
Album: {
|
|
127
|
+
displayName: string;
|
|
128
|
+
value: string;
|
|
129
|
+
}[];
|
|
130
|
+
Audio: {
|
|
131
|
+
displayName: string;
|
|
132
|
+
value: string;
|
|
133
|
+
}[];
|
|
134
|
+
Image: {
|
|
135
|
+
displayName: string;
|
|
136
|
+
value: string;
|
|
137
|
+
}[];
|
|
138
|
+
Multimedia: {
|
|
139
|
+
displayName: string;
|
|
140
|
+
value: string;
|
|
141
|
+
}[];
|
|
142
|
+
Story: {
|
|
143
|
+
displayName: string;
|
|
144
|
+
value: string;
|
|
145
|
+
}[];
|
|
146
|
+
Video: {
|
|
147
|
+
displayName: string;
|
|
148
|
+
value: string;
|
|
149
|
+
}[];
|
|
150
|
+
Widget: {
|
|
151
|
+
displayName: string;
|
|
152
|
+
value: string;
|
|
153
|
+
}[];
|
|
154
|
+
}, "assetsApi">;
|
|
155
|
+
getAvailableProxies: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
156
|
+
assetImages?: import("../types/search").Asset[];
|
|
157
|
+
docTypes?: string[];
|
|
158
|
+
useSession?: string;
|
|
159
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", import("./assets/assets.api").GetAvailableProxiesResponse, "assetsApi">;
|
|
160
|
+
getAvailableFacets: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
161
|
+
useSession: string;
|
|
162
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
163
|
+
displayName: string;
|
|
164
|
+
facetFieldName: string;
|
|
165
|
+
}[], "assetsApi">;
|
|
166
|
+
getParameters: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
167
|
+
useSession?: string;
|
|
168
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
169
|
+
ATSEnabled: boolean;
|
|
170
|
+
autoExtension: string;
|
|
171
|
+
collectionPath: string;
|
|
172
|
+
supportedExtensions: string[];
|
|
173
|
+
supportedRepresentativeSubtypes: string[];
|
|
174
|
+
}, "assetsApi">;
|
|
175
|
+
getSortOrders: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
176
|
+
useSession?: string;
|
|
177
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", Record<string, import("../types/assets").SortOrder[]>, "assetsApi">;
|
|
178
|
+
getVersionHistory: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
179
|
+
assetId: string;
|
|
180
|
+
useSession?: string;
|
|
181
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
182
|
+
count: number;
|
|
183
|
+
versions: Record<string, string>[];
|
|
184
|
+
}, "assetsApi">;
|
|
185
|
+
}, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", "assetsApi">;
|
|
186
|
+
}, import("redux").AnyAction>, ...(import("redux").Middleware<{}, import("@reduxjs/toolkit/query").RootState<{
|
|
187
|
+
getFolders: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
188
|
+
items: import("../types/search").Folder[];
|
|
189
|
+
totalCount: number;
|
|
190
|
+
}, "searchApi">;
|
|
191
|
+
getCollections: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
192
|
+
items: import("../types/search").Folder[];
|
|
193
|
+
totalCount: number;
|
|
194
|
+
}, "searchApi">;
|
|
195
|
+
getAssets: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
196
|
+
facets: import("../types/search").Facet[];
|
|
197
|
+
items: import("../types/search").Asset[];
|
|
198
|
+
totalCount: number;
|
|
199
|
+
}, "searchApi">;
|
|
200
|
+
getIsFavorite: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
201
|
+
recordId: string;
|
|
202
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">;
|
|
203
|
+
getAssetById: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
204
|
+
id: string;
|
|
205
|
+
useSession?: string;
|
|
206
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", import("../types/search").Asset | undefined, "searchApi">;
|
|
207
|
+
}, string, "searchApi">, import("redux-thunk").ThunkDispatch<any, any, import("redux").AnyAction>> | import("redux").Middleware<{}, import("@reduxjs/toolkit/query").RootState<{
|
|
208
|
+
getUserInfo: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, import("../types/user").UserInfo, "userApi">;
|
|
209
|
+
}, string, "userApi">, import("redux-thunk").ThunkDispatch<any, any, import("redux").AnyAction>> | import("redux").Middleware<{}, import("@reduxjs/toolkit/query").RootState<{
|
|
210
|
+
getAvailableExtensions: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
211
|
+
useSession: string;
|
|
212
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
213
|
+
Album: {
|
|
214
|
+
displayName: string;
|
|
215
|
+
value: string;
|
|
216
|
+
}[];
|
|
217
|
+
Audio: {
|
|
218
|
+
displayName: string;
|
|
219
|
+
value: string;
|
|
220
|
+
}[];
|
|
221
|
+
Image: {
|
|
222
|
+
displayName: string;
|
|
223
|
+
value: string;
|
|
224
|
+
}[];
|
|
225
|
+
Multimedia: {
|
|
226
|
+
displayName: string;
|
|
227
|
+
value: string;
|
|
228
|
+
}[];
|
|
229
|
+
Story: {
|
|
230
|
+
displayName: string;
|
|
231
|
+
value: string;
|
|
232
|
+
}[];
|
|
233
|
+
Video: {
|
|
234
|
+
displayName: string;
|
|
235
|
+
value: string;
|
|
236
|
+
}[];
|
|
237
|
+
Widget: {
|
|
238
|
+
displayName: string;
|
|
239
|
+
value: string;
|
|
240
|
+
}[];
|
|
241
|
+
}, "assetsApi">;
|
|
242
|
+
getAvailableProxies: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
243
|
+
assetImages?: import("../types/search").Asset[];
|
|
244
|
+
docTypes?: string[];
|
|
245
|
+
useSession?: string;
|
|
246
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", import("./assets/assets.api").GetAvailableProxiesResponse, "assetsApi">;
|
|
247
|
+
getAvailableFacets: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
248
|
+
useSession: string;
|
|
249
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
250
|
+
displayName: string;
|
|
251
|
+
facetFieldName: string;
|
|
252
|
+
}[], "assetsApi">;
|
|
253
|
+
getParameters: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
254
|
+
useSession?: string;
|
|
255
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
256
|
+
ATSEnabled: boolean;
|
|
257
|
+
autoExtension: string;
|
|
258
|
+
collectionPath: string;
|
|
259
|
+
supportedExtensions: string[];
|
|
260
|
+
supportedRepresentativeSubtypes: string[];
|
|
261
|
+
}, "assetsApi">;
|
|
262
|
+
getSortOrders: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
263
|
+
useSession?: string;
|
|
264
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", Record<string, import("../types/assets").SortOrder[]>, "assetsApi">;
|
|
265
|
+
getVersionHistory: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
266
|
+
assetId: string;
|
|
267
|
+
useSession?: string;
|
|
268
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
269
|
+
count: number;
|
|
270
|
+
versions: Record<string, string>[];
|
|
271
|
+
}, "assetsApi">;
|
|
272
|
+
}, string, "assetsApi">, import("redux-thunk").ThunkDispatch<any, any, import("redux").AnyAction>>)[]]>>;
|
|
273
|
+
export type RootState = ReturnType<typeof store.getState>;
|
|
274
|
+
export type AppDispatch = typeof store.dispatch;
|
|
275
|
+
export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<{
|
|
276
|
+
auth: import("./auth/auth.slice").AuthState;
|
|
277
|
+
assets: import("../types/assets").AssetsState;
|
|
278
|
+
searchApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
279
|
+
getFolders: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
280
|
+
items: import("../types/search").Folder[];
|
|
281
|
+
totalCount: number;
|
|
282
|
+
}, "searchApi">;
|
|
283
|
+
getCollections: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
284
|
+
items: import("../types/search").Folder[];
|
|
285
|
+
totalCount: number;
|
|
286
|
+
}, "searchApi">;
|
|
287
|
+
getAssets: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
288
|
+
facets: import("../types/search").Facet[];
|
|
289
|
+
items: import("../types/search").Asset[];
|
|
290
|
+
totalCount: number;
|
|
291
|
+
}, "searchApi">;
|
|
292
|
+
getIsFavorite: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
293
|
+
recordId: string;
|
|
294
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">;
|
|
295
|
+
getAssetById: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
296
|
+
id: string;
|
|
297
|
+
useSession?: string;
|
|
298
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", import("../types/search").Asset | undefined, "searchApi">;
|
|
299
|
+
}, "Folders" | "Images" | "ImagesInFolders", "searchApi">;
|
|
300
|
+
userApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
301
|
+
getUserInfo: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, import("../types/user").UserInfo, "userApi">;
|
|
302
|
+
}, never, "userApi">;
|
|
303
|
+
assetsApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
304
|
+
getAvailableExtensions: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
305
|
+
useSession: string;
|
|
306
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
307
|
+
Album: {
|
|
308
|
+
displayName: string;
|
|
309
|
+
value: string;
|
|
310
|
+
}[];
|
|
311
|
+
Audio: {
|
|
312
|
+
displayName: string;
|
|
313
|
+
value: string;
|
|
314
|
+
}[];
|
|
315
|
+
Image: {
|
|
316
|
+
displayName: string;
|
|
317
|
+
value: string;
|
|
318
|
+
}[];
|
|
319
|
+
Multimedia: {
|
|
320
|
+
displayName: string;
|
|
321
|
+
value: string;
|
|
322
|
+
}[];
|
|
323
|
+
Story: {
|
|
324
|
+
displayName: string;
|
|
325
|
+
value: string;
|
|
326
|
+
}[];
|
|
327
|
+
Video: {
|
|
328
|
+
displayName: string;
|
|
329
|
+
value: string;
|
|
330
|
+
}[];
|
|
331
|
+
Widget: {
|
|
332
|
+
displayName: string;
|
|
333
|
+
value: string;
|
|
334
|
+
}[];
|
|
335
|
+
}, "assetsApi">;
|
|
336
|
+
getAvailableProxies: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
337
|
+
assetImages?: import("../types/search").Asset[];
|
|
338
|
+
docTypes?: string[];
|
|
339
|
+
useSession?: string;
|
|
340
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", import("./assets/assets.api").GetAvailableProxiesResponse, "assetsApi">;
|
|
341
|
+
getAvailableFacets: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
342
|
+
useSession: string;
|
|
343
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
344
|
+
displayName: string;
|
|
345
|
+
facetFieldName: string;
|
|
346
|
+
}[], "assetsApi">;
|
|
347
|
+
getParameters: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
348
|
+
useSession?: string;
|
|
349
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
350
|
+
ATSEnabled: boolean;
|
|
351
|
+
autoExtension: string;
|
|
352
|
+
collectionPath: string;
|
|
353
|
+
supportedExtensions: string[];
|
|
354
|
+
supportedRepresentativeSubtypes: string[];
|
|
355
|
+
}, "assetsApi">;
|
|
356
|
+
getSortOrders: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
357
|
+
useSession?: string;
|
|
358
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", Record<string, import("../types/assets").SortOrder[]>, "assetsApi">;
|
|
359
|
+
getVersionHistory: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
360
|
+
assetId: string;
|
|
361
|
+
useSession?: string;
|
|
362
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
363
|
+
count: number;
|
|
364
|
+
versions: Record<string, string>[];
|
|
365
|
+
}, "assetsApi">;
|
|
366
|
+
}, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", "assetsApi">;
|
|
367
|
+
}, undefined, import("redux").AnyAction> & import("redux").Dispatch<import("redux").AnyAction>;
|
|
368
|
+
export declare const useAppSelector: TypedUseSelectorHook<RootState>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Asset, Facet, Folder, GetContentRequest, GetFoldersRequest } from '@/types/search';
|
|
2
|
+
export declare const searchApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, {
|
|
3
|
+
getFolders: import("@reduxjs/toolkit/query").QueryDefinition<GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
4
|
+
items: Folder[];
|
|
5
|
+
totalCount: number;
|
|
6
|
+
}, "searchApi">;
|
|
7
|
+
getCollections: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
8
|
+
items: Folder[];
|
|
9
|
+
totalCount: number;
|
|
10
|
+
}, "searchApi">;
|
|
11
|
+
getAssets: import("@reduxjs/toolkit/query").QueryDefinition<GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
12
|
+
facets: Facet[];
|
|
13
|
+
items: Asset[];
|
|
14
|
+
totalCount: number;
|
|
15
|
+
}, "searchApi">;
|
|
16
|
+
getIsFavorite: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
17
|
+
recordId: string;
|
|
18
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">;
|
|
19
|
+
getAssetById: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
20
|
+
id: string;
|
|
21
|
+
useSession?: string;
|
|
22
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", Asset | undefined, "searchApi">;
|
|
23
|
+
}, "searchApi", "Folders" | "Images" | "ImagesInFolders", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
|
24
|
+
export declare const useGetFoldersQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
25
|
+
items: Folder[];
|
|
26
|
+
totalCount: number;
|
|
27
|
+
}, "searchApi">>, useGetCollectionsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
28
|
+
items: Folder[];
|
|
29
|
+
totalCount: number;
|
|
30
|
+
}, "searchApi">>, useGetAssetsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
31
|
+
facets: Facet[];
|
|
32
|
+
items: Asset[];
|
|
33
|
+
totalCount: number;
|
|
34
|
+
}, "searchApi">>, useGetAssetByIdQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
35
|
+
id: string;
|
|
36
|
+
useSession?: string;
|
|
37
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", Asset | undefined, "searchApi">>, useGetIsFavoriteQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
38
|
+
recordId: string;
|
|
39
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Folder } from '@/types/search';
|
|
2
|
+
export declare const RootFolder: Folder;
|
|
3
|
+
export declare const explorePath: import("@reduxjs/toolkit").AsyncThunk<boolean, Folder, {
|
|
4
|
+
state?: unknown;
|
|
5
|
+
dispatch?: import("redux").Dispatch;
|
|
6
|
+
extra?: unknown;
|
|
7
|
+
rejectValue?: unknown;
|
|
8
|
+
serializedErrorType?: unknown;
|
|
9
|
+
pendingMeta?: unknown;
|
|
10
|
+
fulfilledMeta?: unknown;
|
|
11
|
+
rejectedMeta?: unknown;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UserInfo } from '@/types/user';
|
|
2
|
+
export declare const userApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, {
|
|
3
|
+
getUserInfo: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, UserInfo, "userApi">;
|
|
4
|
+
}, "userApi", never, typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
|
5
|
+
export declare const useGetUserInfoQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, UserInfo, "userApi">>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Asset } from './search';
|
|
2
|
+
export type GetLargestDownloadLinkRes = {
|
|
3
|
+
downloadLink: string;
|
|
4
|
+
};
|
|
5
|
+
export type AssetsState = {
|
|
6
|
+
errorMessage?: string;
|
|
7
|
+
selectedAssetId?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare enum ImageImportStatus {
|
|
10
|
+
Importing = 0,
|
|
11
|
+
Success = 1,
|
|
12
|
+
Failed = 2
|
|
13
|
+
}
|
|
14
|
+
export type ImageImport = {
|
|
15
|
+
image: Asset;
|
|
16
|
+
message?: string;
|
|
17
|
+
status: ImageImportStatus;
|
|
18
|
+
};
|
|
19
|
+
export declare enum TransformationAction {
|
|
20
|
+
Resize = 0,
|
|
21
|
+
Crop = 1,
|
|
22
|
+
Rotate = 2,
|
|
23
|
+
Quality = 3,
|
|
24
|
+
KeepMetadata = 4
|
|
25
|
+
}
|
|
26
|
+
export type Transformation = {
|
|
27
|
+
key: TransformationAction;
|
|
28
|
+
value: {
|
|
29
|
+
width?: number;
|
|
30
|
+
height?: number;
|
|
31
|
+
x?: number;
|
|
32
|
+
y?: number;
|
|
33
|
+
rotation?: number;
|
|
34
|
+
keepMetadata?: boolean;
|
|
35
|
+
quality?: number;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export type TrackingParameter = {
|
|
39
|
+
key: string;
|
|
40
|
+
value: string;
|
|
41
|
+
};
|
|
42
|
+
export declare enum Unit {
|
|
43
|
+
Pixel = "pixels",
|
|
44
|
+
AspectRatio = "aspect-ratio"
|
|
45
|
+
}
|
|
46
|
+
export type SortOrder = {
|
|
47
|
+
description: string;
|
|
48
|
+
id: string;
|
|
49
|
+
isDefault?: boolean;
|
|
50
|
+
legacyValue: string;
|
|
51
|
+
name: string;
|
|
52
|
+
sortDirection: string;
|
|
53
|
+
sortDirectionDisplayName: string;
|
|
54
|
+
sortDirectionGroupKey: string;
|
|
55
|
+
sortType: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* ShowDialog: no loader, the format dialog is ready to open
|
|
59
|
+
*
|
|
60
|
+
* ShowLoader : show loader, hide the format dialog
|
|
61
|
+
*
|
|
62
|
+
* Hide: hide loader, hide the format dialog
|
|
63
|
+
*/
|
|
64
|
+
export declare enum FormatLoaderState {
|
|
65
|
+
Hide = "hide",
|
|
66
|
+
ShowLoader = "show-loader",
|
|
67
|
+
ShowDialog = "show-dialog"
|
|
68
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type AuthorizationResult = {
|
|
2
|
+
requestID: string;
|
|
3
|
+
};
|
|
4
|
+
export declare enum GetAccessKeyResponseCode {
|
|
5
|
+
Authorized = "Authorized",
|
|
6
|
+
RepeatRequest = "RepeatRequest",
|
|
7
|
+
NotAuthorized = "NotAuthorized"
|
|
8
|
+
}
|
|
9
|
+
export type GetAccessKeyResponse = {
|
|
10
|
+
accessKey?: string;
|
|
11
|
+
code: GetAccessKeyResponseCode;
|
|
12
|
+
message?: string;
|
|
13
|
+
};
|
|
14
|
+
export type GetAccessTokenResponse = {
|
|
15
|
+
accessToken?: string;
|
|
16
|
+
success: boolean;
|
|
17
|
+
};
|
|
18
|
+
export type RequestAuthorizeRes = {
|
|
19
|
+
nonce: string;
|
|
20
|
+
requestID: string;
|
|
21
|
+
};
|
|
22
|
+
export type GetAccessKeyRes = {
|
|
23
|
+
accessKey?: string;
|
|
24
|
+
code: GetAccessKeyResponseCode;
|
|
25
|
+
message?: string;
|
|
26
|
+
};
|
|
27
|
+
export type GetAccessTokenRes = {
|
|
28
|
+
accessToken?: string;
|
|
29
|
+
success: boolean;
|
|
30
|
+
};
|
|
31
|
+
export type OAuthRes = {
|
|
32
|
+
accessKey?: string;
|
|
33
|
+
accessToken?: string;
|
|
34
|
+
siteUrl: string;
|
|
35
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The error response from Cortex API.
|
|
3
|
+
* The body will always contain a message and an error code. Other field usually the placeholder for error message.
|
|
4
|
+
*/
|
|
5
|
+
export type CortexErrorResponse = {
|
|
6
|
+
Message: string;
|
|
7
|
+
ErrorCode: 'OL_ERR_001_NOTFOUND' | 'OL_ERR_002_NOTALLOWED' | 'OL_ERR_003_REMOVED' | 'OL_ASSETLINKSERVICE_ERROR_001_LINKS_TO_NON_REQUIRED_FORMATS_NOT_ALLOWED' | 'OL_ERR_006_BADREQUEST';
|
|
8
|
+
'Asset ID'?: string;
|
|
9
|
+
'Asset Identifier'?: string;
|
|
10
|
+
'Format'?: string;
|
|
11
|
+
};
|