@bindu-dashing/dam-solution-v2 5.8.155 → 5.8.158
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/CreateClient/CreateClientBtn.d.ts +1 -0
- package/build/CreateClient/CreateClientForm.d.ts +1 -0
- package/build/CreateClient/CreateClientForm.js +62 -16
- package/build/CreateClient/index.d.ts +1 -0
- package/build/MyDrive/fileDetails/FileViewer.js +1 -1
- package/build/MyDrive/fileDetails/ImageViewer.d.ts +2 -1
- package/build/MyDrive/fileDetails/ImageViewer.js +2 -2
- package/build/MyDrive/fileDetails/Previewdetails.d.ts +2 -1
- package/build/MyDrive/fileDetails/Previewdetails.js +2 -2
- package/build/react-query/services/brand-services.d.ts +1 -0
- package/build/react-query/services/brand-services.js +14 -1
- package/build/utilities/constants/apiUrls.d.ts +1 -0
- package/build/utilities/constants/apiUrls.js +1 -0
- package/package.json +1 -1
|
@@ -8,13 +8,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
11
|
-
import { Button, Checkbox, Drawer, Form, Input, Select, Typography } from "antd";
|
|
11
|
+
import { Button, Checkbox, Drawer, Form, Input, Select, Typography, Space } from "antd";
|
|
12
12
|
import { useEffect, useMemo, useState } from "react";
|
|
13
13
|
import { ACCESS_TYPES, DAM_LOCATION_TYPES } from "../hocs/appConstants";
|
|
14
14
|
import { useDamConfig } from "../hocs/DamConfigContext";
|
|
15
|
-
import { CREATE_SUB_BRAND, FETCH_BRAND_USING_SUBDOMAIN } from "../utilities/constants/apiUrls";
|
|
15
|
+
import { CREATE_SUB_BRAND, FETCH_BRAND_USING_SUBDOMAIN, REFRESH_KEY_URL } from "../utilities/constants/apiUrls";
|
|
16
16
|
import axios from "axios";
|
|
17
17
|
import { createApiClient } from "../hocs/configureAxios";
|
|
18
|
+
import { fetchBrandDetails } from "../react-query/services/brand-services";
|
|
18
19
|
import { CREATE_SUCCESS, SOMETHING_WENT_WRONG, } from "../utilities/constants/messages";
|
|
19
20
|
import { NotificationStatus } from "../utilities/constants/interface";
|
|
20
21
|
import { showNotification } from "../common/notifications";
|
|
@@ -24,6 +25,7 @@ const CreateClientForm = ({ teamsApi, username, password, toggleShow, onSuccess,
|
|
|
24
25
|
const { appType, brand } = damConfig;
|
|
25
26
|
const [loading, setLoading] = useState(false);
|
|
26
27
|
const [fetchingClientData, setFetchingClientData] = useState(false);
|
|
28
|
+
const [refreshingKey, setRefreshingKey] = useState(false);
|
|
27
29
|
const [damLocationType, setDamLocationType] = useState("external");
|
|
28
30
|
const [filteredTeams, setFilteredTeams] = useState([]);
|
|
29
31
|
const [clientData, setClientData] = useState(null);
|
|
@@ -37,12 +39,23 @@ const CreateClientForm = ({ teamsApi, username, password, toggleShow, onSuccess,
|
|
|
37
39
|
// Fetch client data when editing
|
|
38
40
|
useEffect(() => {
|
|
39
41
|
const fetchClientData = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
40
|
-
if (isEditMode
|
|
42
|
+
if (isEditMode) {
|
|
41
43
|
setFetchingClientData(true);
|
|
42
44
|
try {
|
|
43
|
-
|
|
44
|
-
//
|
|
45
|
-
|
|
45
|
+
let fetchedData;
|
|
46
|
+
// Prioritize brandId if available, otherwise use subdomain
|
|
47
|
+
if (existingClientData === null || existingClientData === void 0 ? void 0 : existingClientData.brandId) {
|
|
48
|
+
// Use reusable fetchBrandDetails function
|
|
49
|
+
fetchedData = yield fetchBrandDetails(api, existingClientData.brandId);
|
|
50
|
+
}
|
|
51
|
+
else if (existingClientData === null || existingClientData === void 0 ? void 0 : existingClientData.subdomain) {
|
|
52
|
+
const response = yield api.get(`${FETCH_BRAND_USING_SUBDOMAIN}?subdomain=${existingClientData.subdomain}`);
|
|
53
|
+
fetchedData = get(response, "data.data", {});
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
setFetchingClientData(false);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
46
59
|
console.log("Fetched client data:", fetchedData);
|
|
47
60
|
// Store client data in state
|
|
48
61
|
setClientData(fetchedData);
|
|
@@ -82,6 +95,11 @@ const CreateClientForm = ({ teamsApi, username, password, toggleShow, onSuccess,
|
|
|
82
95
|
const onFinish = (data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
83
96
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
84
97
|
try {
|
|
98
|
+
// Use teamsApiDetails from clientData if available (from API response), otherwise use props
|
|
99
|
+
const teamsApiDetailsFromData = get(clientData, "teamsApiDetails", {});
|
|
100
|
+
const finalTeamsApi = teamsApiDetailsFromData.teamsApi || teamsApi;
|
|
101
|
+
const finalUsername = teamsApiDetailsFromData.username || username;
|
|
102
|
+
const finalPassword = teamsApiDetailsFromData.password || password;
|
|
85
103
|
const values = Object.assign(Object.assign({}, data), { showFilePreview: (_a = data.showFilePreview) !== null && _a !== void 0 ? _a : false, accessKey: appType == "reactJs"
|
|
86
104
|
? process.env.REACT_APP_MIXDRIVE_CLIENT_PARENT_ACCESS_KEY
|
|
87
105
|
: process.env.NEXT_PUBLIC_MIXDRIVE_CLIENT_PARENT_ACCESS_KEY, secretKey: appType == "reactJs"
|
|
@@ -89,9 +107,9 @@ const CreateClientForm = ({ teamsApi, username, password, toggleShow, onSuccess,
|
|
|
89
107
|
: process.env.NEXT_PUBLIC_MIXDRIVE_CLIENT_PARENT_SECRET_KEY, parentSubdomain: appType == "reactJs"
|
|
90
108
|
? process.env.REACT_APP_MIXDRIVE_CLIENT_PARENT_SUBDOMAIN
|
|
91
109
|
: process.env.NEXT_PUBLIC_MIXDRIVE_CLIENT_PARENT_SUBDOMAIN, teamsApiDetails: {
|
|
92
|
-
teamsApi:
|
|
93
|
-
username:
|
|
94
|
-
password:
|
|
110
|
+
teamsApi: finalTeamsApi,
|
|
111
|
+
username: finalUsername,
|
|
112
|
+
password: finalPassword,
|
|
95
113
|
}, damLocationDetails: damLocationType === "external"
|
|
96
114
|
? {
|
|
97
115
|
bucket: (_b = data === null || data === void 0 ? void 0 : data.damLocationDetails) === null || _b === void 0 ? void 0 : _b.bucket,
|
|
@@ -152,16 +170,24 @@ const CreateClientForm = ({ teamsApi, username, password, toggleShow, onSuccess,
|
|
|
152
170
|
}
|
|
153
171
|
}, [clientData, filteredTeams, form, existingClientData]);
|
|
154
172
|
useEffect(() => {
|
|
155
|
-
|
|
156
|
-
|
|
173
|
+
// Use teamsApiDetails from clientData if available, otherwise use props
|
|
174
|
+
const teamsApiDetailsFromData = get(clientData, "teamsApiDetails", {});
|
|
175
|
+
const finalTeamsApi = teamsApiDetailsFromData.teamsApi || teamsApi;
|
|
176
|
+
const finalUsername = teamsApiDetailsFromData.username || username;
|
|
177
|
+
const finalPassword = teamsApiDetailsFromData.password || password;
|
|
178
|
+
if (finalTeamsApi && finalUsername && finalPassword) {
|
|
179
|
+
fetchTeams(finalTeamsApi, finalUsername, finalPassword);
|
|
157
180
|
}
|
|
158
|
-
|
|
159
|
-
|
|
181
|
+
else if (teamsApi && username && password) {
|
|
182
|
+
fetchTeams(teamsApi, username, password);
|
|
183
|
+
}
|
|
184
|
+
}, [teamsApi, username, password, clientData]);
|
|
185
|
+
const fetchTeams = (apiUrl, apiUsername, apiPassword) => __awaiter(void 0, void 0, void 0, function* () {
|
|
160
186
|
var _a, _b;
|
|
161
187
|
try {
|
|
162
|
-
const response = yield axios.get(
|
|
188
|
+
const response = yield axios.get(apiUrl, {
|
|
163
189
|
headers: {
|
|
164
|
-
Authorization: "Basic " + btoa(
|
|
190
|
+
Authorization: "Basic " + btoa(apiUsername + ":" + apiPassword),
|
|
165
191
|
},
|
|
166
192
|
});
|
|
167
193
|
const options = (_b = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.map((team) => {
|
|
@@ -177,6 +203,26 @@ const CreateClientForm = ({ teamsApi, username, password, toggleShow, onSuccess,
|
|
|
177
203
|
console.log("Error while fetching external teams", err);
|
|
178
204
|
}
|
|
179
205
|
});
|
|
206
|
+
// Refresh key functionality
|
|
207
|
+
const onRefreshKey = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
208
|
+
if (!(existingClientData === null || existingClientData === void 0 ? void 0 : existingClientData.accessKey) || !(existingClientData === null || existingClientData === void 0 ? void 0 : existingClientData.secretKey)) {
|
|
209
|
+
showNotification("Access key and secret key are required to refresh", NotificationStatus.ERROR);
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
setRefreshingKey(true);
|
|
213
|
+
try {
|
|
214
|
+
const response = yield api.put(REFRESH_KEY_URL, {
|
|
215
|
+
accessKey: existingClientData.accessKey,
|
|
216
|
+
secretKey: existingClientData.secretKey,
|
|
217
|
+
});
|
|
218
|
+
setRefreshingKey(false);
|
|
219
|
+
showNotification(get(response, "data.message", "Key refreshed successfully"), NotificationStatus.SUCCESS);
|
|
220
|
+
}
|
|
221
|
+
catch (error) {
|
|
222
|
+
showNotification(get(error, "message", SOMETHING_WENT_WRONG), NotificationStatus.ERROR);
|
|
223
|
+
setRefreshingKey(false);
|
|
224
|
+
}
|
|
225
|
+
});
|
|
180
226
|
// Debug: Log edit mode and location type
|
|
181
227
|
const shouldShowExternalFields = damLocationType === "external" || isEditMode;
|
|
182
228
|
console.log("CreateClientForm - isEditMode:", isEditMode, "damLocationType:", damLocationType, "shouldShowExternalFields:", shouldShowExternalFields, "existingClientData:", existingClientData);
|
|
@@ -237,6 +283,6 @@ const CreateClientForm = ({ teamsApi, username, password, toggleShow, onSuccess,
|
|
|
237
283
|
required: true,
|
|
238
284
|
message: "Subdomain is required",
|
|
239
285
|
},
|
|
240
|
-
], children: _jsx(Input, { placeholder: "Subdomain" }) }), _jsx(Form.Item, { name: "showFilePreview", valuePropName: "checked", initialValue: false, children: _jsx(Checkbox, { children: "Show File Preview Editor" }) }), _jsx(Form.Item, { children: _jsx(Button, { htmlType: "submit", type: "primary", block: true, loading: loading, children: "Submit" }) })] })) }));
|
|
286
|
+
], children: _jsx(Input, { placeholder: "Subdomain" }) }), _jsx(Form.Item, { name: "showFilePreview", valuePropName: "checked", initialValue: false, children: _jsx(Checkbox, { children: "Show File Preview Editor" }) }), _jsx(Form.Item, { children: _jsxs(Space, { style: { width: "100%" }, children: [_jsx(Button, { htmlType: "submit", type: "primary", block: true, loading: loading, children: "Submit" }), isEditMode && (existingClientData === null || existingClientData === void 0 ? void 0 : existingClientData.accessKey) && (existingClientData === null || existingClientData === void 0 ? void 0 : existingClientData.secretKey) && (_jsx(Button, { type: "default", loading: refreshingKey, onClick: onRefreshKey, children: "Refresh Key" }))] }) })] })) }));
|
|
241
287
|
};
|
|
242
288
|
export default CreateClientForm;
|
|
@@ -12,6 +12,6 @@ const FileViewer = ({ file, onNext, onPrev, hasNext, hasPrev, handleClose, }) =>
|
|
|
12
12
|
const brand = damConfig === null || damConfig === void 0 ? void 0 : damConfig.brand;
|
|
13
13
|
const showFilePreview = get(brand, "showFilePreview", false);
|
|
14
14
|
const [metadataOpen, setMetadataOpen] = useState(showFilePreview);
|
|
15
|
-
return (_jsx(Layout, { className: "md-lib-h-full", children: _jsxs(Content, { className: "md-lib-flex md-lib-h-full md-lib-w-full", children: [_jsx("div", { className: `md-lib-flex md-lib-items-center md-lib-justify-center md-lib-relative md-lib-bg-textColorActive dark:md-lib-bg-darkSecondaryColor md-lib-min-h-full ${metadataOpen ? "md-lib-flex-1" : "md-lib-flex-1 md-lib-w-full"}`, children: _jsx(PreviewDetails, { file: file, hasNext: hasNext, hasPrev: hasPrev, onNext: onNext, onPrev: onPrev }) }), showFilePreview && (_jsxs(_Fragment, { children: [_jsx(Button, { type: "text", className: "md-lib-shrink-0 md-lib-flex md-lib-items-center md-lib-justify-center md-lib-w-10 md-lib-h-10 md-lib-rounded-none md-lib-bg-black/50 hover:md-lib-bg-black/70 dark:md-lib-bg-white/20 dark:hover:md-lib-bg-white/30 md-lib-text-white md-lib-border-0 md-lib-self-start md-lib-mt-4", onClick: () => setMetadataOpen((prev) => !prev), "aria-label": metadataOpen ? "Hide showFilePreviewEditor" : "Show showFilePreviewEditor", children: metadataOpen ? (_jsx(RightOutlined, { className: "md-lib-text-lg" })) : (_jsx(LeftOutlined, { className: "md-lib-text-lg" })) }), metadataOpen && (_jsx("div", { className: "md-lib-w-[400px] md-lib-min-w-[320px] md-lib-shrink-0 md-lib-border-l md-lib-border-borderColor dark:md-lib-border-darkBorderColor md-lib-bg-backgroundColor dark:md-lib-bg-darkPrimary md-lib-overflow-y-auto", children: _jsx(MapFile, { fromUpload: false, filesList: file ? [file] : [], handleCancel: handleClose ? () => handleClose() : undefined }) }))] }))] }) }));
|
|
15
|
+
return (_jsx(Layout, { className: "md-lib-h-full", children: _jsxs(Content, { className: "md-lib-flex md-lib-h-full md-lib-w-full", children: [_jsx("div", { className: `md-lib-flex md-lib-items-center md-lib-justify-center md-lib-relative md-lib-bg-textColorActive dark:md-lib-bg-darkSecondaryColor md-lib-min-h-full ${metadataOpen ? "md-lib-flex-1" : "md-lib-flex-1 md-lib-w-full"}`, children: _jsx(PreviewDetails, { file: file, hasNext: hasNext, hasPrev: hasPrev, onNext: onNext, onPrev: onPrev, showFilePreview: showFilePreview }) }), showFilePreview && (_jsxs(_Fragment, { children: [_jsx(Button, { type: "text", className: "md-lib-shrink-0 md-lib-flex md-lib-items-center md-lib-justify-center md-lib-w-10 md-lib-h-10 md-lib-rounded-none md-lib-bg-black/50 hover:md-lib-bg-black/70 dark:md-lib-bg-white/20 dark:hover:md-lib-bg-white/30 md-lib-text-white md-lib-border-0 md-lib-self-start md-lib-mt-4", onClick: () => setMetadataOpen((prev) => !prev), "aria-label": metadataOpen ? "Hide showFilePreviewEditor" : "Show showFilePreviewEditor", children: metadataOpen ? (_jsx(RightOutlined, { className: "md-lib-text-lg" })) : (_jsx(LeftOutlined, { className: "md-lib-text-lg" })) }), metadataOpen && (_jsx("div", { className: "md-lib-w-[400px] md-lib-min-w-[320px] md-lib-shrink-0 md-lib-border-l md-lib-border-borderColor dark:md-lib-border-darkBorderColor md-lib-bg-backgroundColor dark:md-lib-bg-darkPrimary md-lib-overflow-y-auto", children: _jsx(MapFile, { fromUpload: false, filesList: file ? [file] : [], handleCancel: handleClose ? () => handleClose() : undefined }) }))] }))] }) }));
|
|
16
16
|
};
|
|
17
17
|
export default FileViewer;
|
|
@@ -4,13 +4,13 @@ import ImageOptions from "./ImageOptions";
|
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { SAMPLE_IMAGE_URL } from "../../utilities/constants/imageUrls";
|
|
6
6
|
import { useDamConfig } from "../../hocs/DamConfigContext";
|
|
7
|
-
const ImageViewer = ({ file }) => {
|
|
7
|
+
const ImageViewer = ({ file, showFilePreview }) => {
|
|
8
8
|
const damConfig = useDamConfig();
|
|
9
9
|
const { isAdmin } = damConfig;
|
|
10
10
|
const [zoom, setZoom] = useState("100");
|
|
11
11
|
const zoomOptions = ["10", "25", "50", "75", "100"];
|
|
12
12
|
const imgWidth = 750 * (parseInt(zoom) / 100);
|
|
13
13
|
// const imgHeight = 333 * (parseInt(zoom) / 100);
|
|
14
|
-
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "md-lib-relative md-lib-flex md-lib-justify-center md-lib-items-center md-lib-h-[calc(100vh-65px)] md-lib-w-full md-lib-overflow-x-auto", children: _jsx("img", { src: get(file, "s3Url") || get(file, "downloadUrl") || get(file, "thumbnailUrl", SAMPLE_IMAGE_URL), alt: get(file, "name", ""), width: imgWidth, height: "auto" }) }),
|
|
14
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "md-lib-relative md-lib-flex md-lib-justify-center md-lib-items-center md-lib-h-[calc(100vh-65px)] md-lib-w-full md-lib-overflow-x-auto", children: _jsx("img", { src: get(file, "s3Url") || get(file, "downloadUrl") || get(file, "thumbnailUrl", SAMPLE_IMAGE_URL), alt: get(file, "name", ""), width: imgWidth, height: "auto" }) }), showFilePreview && (_jsx(ImageOptions, { zoom: zoom, setZoom: setZoom, zoomOptions: zoomOptions, file: file }))] }));
|
|
15
15
|
};
|
|
16
16
|
export default ImageViewer;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FileEntity } from "../../utilities/constants/interface";
|
|
2
|
-
declare const PreviewDetails: ({ file, hasPrev, hasNext, onPrev, onNext, }: {
|
|
2
|
+
declare const PreviewDetails: ({ file, hasPrev, hasNext, onPrev, onNext, showFilePreview, }: {
|
|
3
3
|
file: FileEntity;
|
|
4
4
|
hasPrev: boolean;
|
|
5
5
|
hasNext: boolean;
|
|
6
6
|
onPrev: () => void;
|
|
7
7
|
onNext: () => void;
|
|
8
|
+
showFilePreview?: boolean;
|
|
8
9
|
}) => JSX.Element;
|
|
9
10
|
export default PreviewDetails;
|
|
@@ -9,12 +9,12 @@ import useAppParams from "../../utilities/useAppParams";
|
|
|
9
9
|
// const PDFViewer = lazy(() => import("./PdfViewer"));
|
|
10
10
|
const GoArrowLeftIcon = GoArrowLeft;
|
|
11
11
|
const GoArrowRightIcon = GoArrowRight;
|
|
12
|
-
const PreviewDetails = ({ file, hasPrev, hasNext, onPrev, onNext, }) => {
|
|
12
|
+
const PreviewDetails = ({ file, hasPrev, hasNext, onPrev, onNext, showFilePreview, }) => {
|
|
13
13
|
const { id } = useAppParams();
|
|
14
14
|
const mimetype = get(file, "mimetype", "");
|
|
15
15
|
const fileComponent = useMemo(() => {
|
|
16
16
|
if (startsWith(mimetype, "image/")) {
|
|
17
|
-
return _jsx(ImageViewer, { file: file });
|
|
17
|
+
return _jsx(ImageViewer, { file: file, showFilePreview: showFilePreview });
|
|
18
18
|
}
|
|
19
19
|
else if (startsWith(mimetype, "video/")) {
|
|
20
20
|
return _jsx(VideoPlayer, { src: get(file, "s3Url") || get(file, "downloadUrl") || get(file, "thumbnailUrl", "") });
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import { FETCH_BRAND_URL } from "../../utilities/constants/apiUrls";
|
|
10
|
+
import { FETCH_BRAND_URL, FETCH_BRAND_DETAILS_URL } from "../../utilities/constants/apiUrls";
|
|
11
11
|
import { QueryKeys } from "../../utilities/constants/queryKeys";
|
|
12
12
|
import { get } from "lodash";
|
|
13
13
|
import { useQuery } from "react-query";
|
|
@@ -22,6 +22,19 @@ function fetchBrand(api, brandId) {
|
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
+
export function fetchBrandDetails(api, brandId) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
try {
|
|
28
|
+
const response = yield api.get(FETCH_BRAND_DETAILS_URL.replace(":brandId", brandId));
|
|
29
|
+
// API response structure: { status: true, code: 200, data: { ... } }
|
|
30
|
+
// The axios interceptor already extracts response.data, so response is { status, code, data }
|
|
31
|
+
return get(response, "data", {});
|
|
32
|
+
}
|
|
33
|
+
catch (error) {
|
|
34
|
+
throw error;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
25
38
|
export function useCurrentBrand(headers, brandId, enabled) {
|
|
26
39
|
return useQuery([QueryKeys.BRAND, brandId], () => fetchBrand(headers, brandId), {
|
|
27
40
|
enabled: enabled && !!get(headers, "headers.Authorization"),
|
|
@@ -83,6 +83,7 @@ export declare const USER_LOGIN = "/users/login/keys";
|
|
|
83
83
|
export declare const FETCH_BRAND_USING_SUBDOMAIN = "/brands/subdomain";
|
|
84
84
|
export declare const FETCH_TEAMS_LIST = "/teams/:teamID/list";
|
|
85
85
|
export declare const CREATE_SUB_BRAND = "/brands/sub-brand";
|
|
86
|
+
export declare const FETCH_BRAND_DETAILS_URL = "/brands/details/:brandId";
|
|
86
87
|
export declare const FETCH_IMAGEPICKERS_URL = "/image-picker";
|
|
87
88
|
export declare const FETCH_IMAGEPICKER_URL = "/image-picker/:id";
|
|
88
89
|
export declare const FETCH_META_FIELD_OPTIONS_URL = "/image-picker/file-filters/:id";
|
|
@@ -99,6 +99,7 @@ export const FETCH_BRAND_USING_SUBDOMAIN = "/brands/subdomain";
|
|
|
99
99
|
export const FETCH_TEAMS_LIST = "/teams/:teamID/list";
|
|
100
100
|
// brand
|
|
101
101
|
export const CREATE_SUB_BRAND = "/brands/sub-brand";
|
|
102
|
+
export const FETCH_BRAND_DETAILS_URL = "/brands/details/:brandId";
|
|
102
103
|
//image picker
|
|
103
104
|
export const FETCH_IMAGEPICKERS_URL = "/image-picker";
|
|
104
105
|
export const FETCH_IMAGEPICKER_URL = "/image-picker/:id";
|