@bindu-dashing/dam-solution-v2 5.8.6

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.
Files changed (259) hide show
  1. package/README.md +53 -0
  2. package/build/AssetType/AddFieldProperties.d.ts +9 -0
  3. package/build/AssetType/AddFieldProperties.js +197 -0
  4. package/build/AssetType/AssetTemplatesTable.d.ts +10 -0
  5. package/build/AssetType/AssetTemplatesTable.js +153 -0
  6. package/build/AssetType/CreateAssetTemplate.d.ts +3 -0
  7. package/build/AssetType/CreateAssetTemplate.js +68 -0
  8. package/build/AssetType/CreateOrEditAssetTemplate.d.ts +1 -0
  9. package/build/AssetType/CreateOrEditAssetTemplate.js +77 -0
  10. package/build/AssetType/DraggedField.d.ts +14 -0
  11. package/build/AssetType/DraggedField.js +40 -0
  12. package/build/AssetType/EditAssetTemplate.d.ts +5 -0
  13. package/build/AssetType/EditAssetTemplate.js +179 -0
  14. package/build/AssetType/FieldsSection.d.ts +14 -0
  15. package/build/AssetType/FieldsSection.js +239 -0
  16. package/build/AssetType/assetTemplatesContainer.d.ts +2 -0
  17. package/build/AssetType/assetTemplatesContainer.js +71 -0
  18. package/build/AssetType/fieldProperties/DateField.d.ts +5 -0
  19. package/build/AssetType/fieldProperties/DateField.js +23 -0
  20. package/build/AssetType/fieldProperties/NumberField.d.ts +5 -0
  21. package/build/AssetType/fieldProperties/NumberField.js +91 -0
  22. package/build/AssetType/fieldProperties/OptionsField.d.ts +6 -0
  23. package/build/AssetType/fieldProperties/OptionsField.js +55 -0
  24. package/build/AssetType/fieldProperties/TextField.d.ts +5 -0
  25. package/build/AssetType/fieldProperties/TextField.js +92 -0
  26. package/build/AssetType/index.d.ts +11 -0
  27. package/build/AssetType/index.js +24 -0
  28. package/build/AssetType/routes.d.ts +3 -0
  29. package/build/AssetType/routes.js +17 -0
  30. package/build/BookView/ProductDescription.d.ts +4 -0
  31. package/build/BookView/ProductDescription.js +20 -0
  32. package/build/BookView/bookDetail.d.ts +4 -0
  33. package/build/BookView/bookDetail.js +106 -0
  34. package/build/BookView/bookInfo.d.ts +4 -0
  35. package/build/BookView/bookInfo.js +17 -0
  36. package/build/BookView/description.d.ts +4 -0
  37. package/build/BookView/description.js +5 -0
  38. package/build/BookView/index.d.ts +10 -0
  39. package/build/BookView/index.js +23 -0
  40. package/build/CreateClient/CreateClientBtn.d.ts +8 -0
  41. package/build/CreateClient/CreateClientBtn.js +12 -0
  42. package/build/CreateClient/CreateClientForm.d.ts +9 -0
  43. package/build/CreateClient/CreateClientForm.js +165 -0
  44. package/build/CreateClient/index.d.ts +14 -0
  45. package/build/CreateClient/index.js +18 -0
  46. package/build/ImagePicker/MetaFieldOptions.d.ts +14 -0
  47. package/build/ImagePicker/MetaFieldOptions.js +75 -0
  48. package/build/ImagePicker/TestImagePickerModal.d.ts +8 -0
  49. package/build/ImagePicker/TestImagePickerModal.js +61 -0
  50. package/build/ImagePicker/TestImgFromMetaData.d.ts +7 -0
  51. package/build/ImagePicker/TestImgFromMetaData.js +82 -0
  52. package/build/ImagePicker/imagePickerComponent.d.ts +6 -0
  53. package/build/ImagePicker/imagePickerComponent.js +63 -0
  54. package/build/ImagePicker/index.d.ts +13 -0
  55. package/build/ImagePicker/index.js +24 -0
  56. package/build/ImagePicker/routes.d.ts +6 -0
  57. package/build/ImagePicker/routes.js +17 -0
  58. package/build/ImagePickerFilters/ImagePickerFiltersComponent.d.ts +8 -0
  59. package/build/ImagePickerFilters/ImagePickerFiltersComponent.js +223 -0
  60. package/build/ImagePickerFilters/index.d.ts +12 -0
  61. package/build/ImagePickerFilters/index.js +19 -0
  62. package/build/MyDrive/ActionBar.d.ts +6 -0
  63. package/build/MyDrive/ActionBar.js +165 -0
  64. package/build/MyDrive/AddDrive.d.ts +3 -0
  65. package/build/MyDrive/AddDrive.js +169 -0
  66. package/build/MyDrive/AddFolder.d.ts +10 -0
  67. package/build/MyDrive/AddFolder.js +150 -0
  68. package/build/MyDrive/BreadCrumbList.d.ts +9 -0
  69. package/build/MyDrive/BreadCrumbList.js +86 -0
  70. package/build/MyDrive/BulkUploadModal.d.ts +2 -0
  71. package/build/MyDrive/BulkUploadModal.js +279 -0
  72. package/build/MyDrive/DriveContainer.d.ts +13 -0
  73. package/build/MyDrive/DriveContainer.js +276 -0
  74. package/build/MyDrive/FileDownloadHistory.d.ts +7 -0
  75. package/build/MyDrive/FileDownloadHistory.js +94 -0
  76. package/build/MyDrive/FileMenuOptions.d.ts +11 -0
  77. package/build/MyDrive/FileMenuOptions.js +397 -0
  78. package/build/MyDrive/FilesGridView.d.ts +9 -0
  79. package/build/MyDrive/FilesGridView.js +25 -0
  80. package/build/MyDrive/FolderGridView.d.ts +19 -0
  81. package/build/MyDrive/FolderGridView.js +91 -0
  82. package/build/MyDrive/FolderListView.d.ts +25 -0
  83. package/build/MyDrive/FolderListView.js +188 -0
  84. package/build/MyDrive/FolderMenuOptions.d.ts +5 -0
  85. package/build/MyDrive/FolderMenuOptions.js +350 -0
  86. package/build/MyDrive/FolderTree.d.ts +8 -0
  87. package/build/MyDrive/FolderTree.js +342 -0
  88. package/build/MyDrive/ImageEditor/EditImage.d.ts +6 -0
  89. package/build/MyDrive/ImageEditor/EditImage.js +97 -0
  90. package/build/MyDrive/ImageEditor/EditImageModal.d.ts +8 -0
  91. package/build/MyDrive/ImageEditor/EditImageModal.js +30 -0
  92. package/build/MyDrive/ImageEditor/TuiImageEditor.d.ts +10 -0
  93. package/build/MyDrive/ImageEditor/TuiImageEditor.js +99 -0
  94. package/build/MyDrive/ImagePickerBreadCrumbList.d.ts +8 -0
  95. package/build/MyDrive/ImagePickerBreadCrumbList.js +35 -0
  96. package/build/MyDrive/ImagePickerDrive.d.ts +1 -0
  97. package/build/MyDrive/ImagePickerDrive.js +41 -0
  98. package/build/MyDrive/MyDriveMainContainer.d.ts +1 -0
  99. package/build/MyDrive/MyDriveMainContainer.js +32 -0
  100. package/build/MyDrive/SearchFilter.d.ts +8 -0
  101. package/build/MyDrive/SearchFilter.js +73 -0
  102. package/build/MyDrive/ShareBtn.d.ts +5 -0
  103. package/build/MyDrive/ShareBtn.js +19 -0
  104. package/build/MyDrive/ToggleView.d.ts +4 -0
  105. package/build/MyDrive/ToggleView.js +12 -0
  106. package/build/MyDrive/UploadStatusModal.d.ts +12 -0
  107. package/build/MyDrive/UploadStatusModal.js +40 -0
  108. package/build/MyDrive/fileDetails/CommentEntity.d.ts +8 -0
  109. package/build/MyDrive/fileDetails/CommentEntity.js +102 -0
  110. package/build/MyDrive/fileDetails/Comments.d.ts +6 -0
  111. package/build/MyDrive/fileDetails/Comments.js +65 -0
  112. package/build/MyDrive/fileDetails/Compliance.d.ts +2 -0
  113. package/build/MyDrive/fileDetails/Compliance.js +18 -0
  114. package/build/MyDrive/fileDetails/CreateComment.d.ts +7 -0
  115. package/build/MyDrive/fileDetails/CreateComment.js +48 -0
  116. package/build/MyDrive/fileDetails/Editor.d.ts +6 -0
  117. package/build/MyDrive/fileDetails/Editor.js +55 -0
  118. package/build/MyDrive/fileDetails/EmojiPicker.d.ts +5 -0
  119. package/build/MyDrive/fileDetails/EmojiPicker.js +6 -0
  120. package/build/MyDrive/fileDetails/FileDetails.d.ts +10 -0
  121. package/build/MyDrive/fileDetails/FileDetails.js +78 -0
  122. package/build/MyDrive/fileDetails/FileHeader.d.ts +7 -0
  123. package/build/MyDrive/fileDetails/FileHeader.js +25 -0
  124. package/build/MyDrive/fileDetails/FileViewer.d.ts +10 -0
  125. package/build/MyDrive/fileDetails/FileViewer.js +31 -0
  126. package/build/MyDrive/fileDetails/ImageOptions.d.ts +2 -0
  127. package/build/MyDrive/fileDetails/ImageOptions.js +44 -0
  128. package/build/MyDrive/fileDetails/ImageViewer.d.ts +5 -0
  129. package/build/MyDrive/fileDetails/ImageViewer.js +16 -0
  130. package/build/MyDrive/fileDetails/ManageFile.d.ts +7 -0
  131. package/build/MyDrive/fileDetails/ManageFile.js +34 -0
  132. package/build/MyDrive/fileDetails/MetaForm.d.ts +15 -0
  133. package/build/MyDrive/fileDetails/MetaForm.js +195 -0
  134. package/build/MyDrive/fileDetails/Metadata.d.ts +8 -0
  135. package/build/MyDrive/fileDetails/Metadata.js +52 -0
  136. package/build/MyDrive/fileDetails/PdfOptions.d.ts +9 -0
  137. package/build/MyDrive/fileDetails/PdfOptions.js +35 -0
  138. package/build/MyDrive/fileDetails/PdfViewer.d.ts +8 -0
  139. package/build/MyDrive/fileDetails/PdfViewer.js +18 -0
  140. package/build/MyDrive/fileDetails/Previewdetails.d.ts +9 -0
  141. package/build/MyDrive/fileDetails/Previewdetails.js +53 -0
  142. package/build/MyDrive/fileDetails/VideoPlayer.d.ts +4 -0
  143. package/build/MyDrive/fileDetails/VideoPlayer.js +21 -0
  144. package/build/MyDrive/files/AssetSelectionFormItem.d.ts +7 -0
  145. package/build/MyDrive/files/AssetSelectionFormItem.js +14 -0
  146. package/build/MyDrive/files/FolderTabs.d.ts +6 -0
  147. package/build/MyDrive/files/FolderTabs.js +83 -0
  148. package/build/MyDrive/files/MapFile.d.ts +8 -0
  149. package/build/MyDrive/files/MapFile.js +217 -0
  150. package/build/MyDrive/files/MoveToAnotherFolder.d.ts +9 -0
  151. package/build/MyDrive/files/MoveToAnotherFolder.js +53 -0
  152. package/build/MyDrive/filesListView.d.ts +2 -0
  153. package/build/MyDrive/filesListView.js +57 -0
  154. package/build/MyDrive/index.d.ts +10 -0
  155. package/build/MyDrive/index.js +35 -0
  156. package/build/MyDrive/routes.d.ts +7 -0
  157. package/build/MyDrive/routes.js +17 -0
  158. package/build/PenView/PenDetails.d.ts +4 -0
  159. package/build/PenView/PenDetails.js +114 -0
  160. package/build/PenView/ProductDescription.d.ts +5 -0
  161. package/build/PenView/ProductDescription.js +51 -0
  162. package/build/PenView/index.d.ts +10 -0
  163. package/build/PenView/index.js +23 -0
  164. package/build/RefreshKey/RefreshKeyBtn.d.ts +1 -0
  165. package/build/RefreshKey/RefreshKeyBtn.js +42 -0
  166. package/build/RefreshKey/index.d.ts +9 -0
  167. package/build/RefreshKey/index.js +23 -0
  168. package/build/ShoesView/ProductDescription.d.ts +4 -0
  169. package/build/ShoesView/ProductDescription.js +25 -0
  170. package/build/ShoesView/ShoeDetails.d.ts +4 -0
  171. package/build/ShoesView/ShoeDetails.js +96 -0
  172. package/build/ShoesView/index.d.ts +10 -0
  173. package/build/ShoesView/index.js +23 -0
  174. package/build/common/Button.d.ts +2 -0
  175. package/build/common/Button.js +18 -0
  176. package/build/common/CustomElements.d.ts +98 -0
  177. package/build/common/CustomElements.js +77 -0
  178. package/build/common/LoadMoreItems.d.ts +7 -0
  179. package/build/common/LoadMoreItems.js +33 -0
  180. package/build/common/RenderFormItem.d.ts +42 -0
  181. package/build/common/RenderFormItem.js +98 -0
  182. package/build/common/RenderThumnail.d.ts +7 -0
  183. package/build/common/RenderThumnail.js +6 -0
  184. package/build/common/deleteModal.d.ts +1 -0
  185. package/build/common/deleteModal.js +12 -0
  186. package/build/common/folders/TypeAndDateFilters.d.ts +10 -0
  187. package/build/common/folders/TypeAndDateFilters.js +59 -0
  188. package/build/common/folders/getFolderOrFileIcon.d.ts +2 -0
  189. package/build/common/folders/getFolderOrFileIcon.js +41 -0
  190. package/build/common/loader/CustomLoader.d.ts +7 -0
  191. package/build/common/loader/CustomLoader.js +8 -0
  192. package/build/common/loader/loader.d.ts +1 -0
  193. package/build/common/loader/loader.js +6 -0
  194. package/build/common/notifications.d.ts +2 -0
  195. package/build/common/notifications.js +30 -0
  196. package/build/common/steps.d.ts +4 -0
  197. package/build/common/steps.js +7 -0
  198. package/build/hocs/AppProvider.d.ts +3 -0
  199. package/build/hocs/AppProvider.js +11 -0
  200. package/build/hocs/DamConfigContext.d.ts +2 -0
  201. package/build/hocs/DamConfigContext.js +108 -0
  202. package/build/hocs/ThemeContext.d.ts +15 -0
  203. package/build/hocs/ThemeContext.js +131 -0
  204. package/build/hocs/ToastProvider.d.ts +2 -0
  205. package/build/hocs/ToastProvider.js +6 -0
  206. package/build/hocs/appConstants.d.ts +124 -0
  207. package/build/hocs/appConstants.js +211 -0
  208. package/build/hocs/configureAxios.d.ts +2 -0
  209. package/build/hocs/configureAxios.js +65 -0
  210. package/build/hocs/helpers.d.ts +15 -0
  211. package/build/hocs/helpers.js +177 -0
  212. package/build/index.d.ts +11 -0
  213. package/build/index.js +11 -0
  214. package/build/react-query/hooks/brand-hooks.d.ts +3 -0
  215. package/build/react-query/hooks/brand-hooks.js +10 -0
  216. package/build/react-query/hooks/folder-hooks.d.ts +7 -0
  217. package/build/react-query/hooks/folder-hooks.js +119 -0
  218. package/build/react-query/services/brand-services.d.ts +3 -0
  219. package/build/react-query/services/brand-services.js +30 -0
  220. package/build/react-query/services/file-services.d.ts +43 -0
  221. package/build/react-query/services/file-services.js +69 -0
  222. package/build/react-query/services/folder-services.d.ts +44 -0
  223. package/build/react-query/services/folder-services.js +87 -0
  224. package/build/react-query/services/image-picker-services.d.ts +5 -0
  225. package/build/react-query/services/image-picker-services.js +48 -0
  226. package/build/settings/InviteTeamModal.d.ts +12 -0
  227. package/build/settings/InviteTeamModal.js +174 -0
  228. package/build/settings/UpdateInvitationAccessType.d.ts +9 -0
  229. package/build/settings/UpdateInvitationAccessType.js +96 -0
  230. package/build/settings/getUserAvatar.d.ts +7 -0
  231. package/build/settings/getUserAvatar.js +11 -0
  232. package/build/style.css +1 -0
  233. package/build/types/assetType.d.ts +8 -0
  234. package/build/types/assetType.js +1 -0
  235. package/build/ui/pageTitle.d.ts +3 -0
  236. package/build/ui/pageTitle.js +4 -0
  237. package/build/utilities/FoldersContext.d.ts +14 -0
  238. package/build/utilities/FoldersContext.js +10 -0
  239. package/build/utilities/NavigatorProvider.d.ts +2 -0
  240. package/build/utilities/NavigatorProvider.js +10 -0
  241. package/build/utilities/constants/apiUrls.d.ts +95 -0
  242. package/build/utilities/constants/apiUrls.js +115 -0
  243. package/build/utilities/constants/imageUrls.d.ts +6 -0
  244. package/build/utilities/constants/imageUrls.js +6 -0
  245. package/build/utilities/constants/interface.d.ts +371 -0
  246. package/build/utilities/constants/interface.js +142 -0
  247. package/build/utilities/constants/messages.d.ts +54 -0
  248. package/build/utilities/constants/messages.js +54 -0
  249. package/build/utilities/constants/queryKeys.d.ts +16 -0
  250. package/build/utilities/constants/queryKeys.js +33 -0
  251. package/build/utilities/constants/routes.d.ts +22 -0
  252. package/build/utilities/constants/routes.js +22 -0
  253. package/build/utilities/helpers/validators.d.ts +12 -0
  254. package/build/utilities/helpers/validators.js +89 -0
  255. package/build/utilities/useAppNavigate.d.ts +2 -0
  256. package/build/utilities/useAppNavigate.js +19 -0
  257. package/build/utilities/useAppParams.d.ts +6 -0
  258. package/build/utilities/useAppParams.js +27 -0
  259. package/package.json +93 -0
@@ -0,0 +1,115 @@
1
+ //signup
2
+ export const CREATE_BRAND_REQUEST_URL = "/leads";
3
+ export const RESEND_LEAD_REQUEST_OTP_URL = "/leads/resend/:leadId";
4
+ export const SIGNUP_VERIFICATION_URL = "/leads/verification/:leadId";
5
+ export const SUBMIT_LEAD_REQUEST_URL = "/leads/:leadId";
6
+ export const SUBDOMAIN_CHECK_URL = "/leads/is-brand-request-exists";
7
+ //login
8
+ export const USER_LOGIN_URL = "/users/login";
9
+ export const USER_BRAND_LOGIN_URL = "/users/login/brand";
10
+ export const ACCESS_TOKEN_RECOVERY_URL = "/users/refresh-token";
11
+ export const GOOGLE_AUTH_URL = "/users/login/google";
12
+ export const FETCH_USER_BRANDS_URL = "/users/brands";
13
+ //profile update
14
+ export const PROFILE_UPDATE_URL = "/users";
15
+ export const PROFILE_PICTURE_UPLOAD_URL = "/users/profile/upload";
16
+ //forgot-password
17
+ export const FORGOT_PASSWORD_OTP_REQUEST_URL = "/users/forgot-password";
18
+ export const FORGOT_PASSWORD_OTP_VERIFICATION_URL = "/users/forgot-password/verification";
19
+ //change password
20
+ export const CHANGE_PASSWORD_URL = "/users/change-password";
21
+ //brand
22
+ export const FETCH_BRAND_URL = "/brands/:brandId";
23
+ export const REMOVE_USER_FROM_BRAND_URL = "/brands/:brandId/user/:userId";
24
+ export const REVOKE_USER_ACCESS_TO_BRAND_URL = "/brands/:brandId/activate/user/:userId";
25
+ export const FETCH_PENDING_INVITATIONS_URL = "/users/pending-invitations";
26
+ export const INVITE_USER_URL = "/users/invite";
27
+ export const DELETE_INVITATION_URL = "/users/delete-invitation?invitationId=:invitationId";
28
+ export const VERIFY_INVITATION_URL = "/users/verify-invitation";
29
+ export const VERIFY_INVITATION_CODE_URL = "/users/verify-invite-token";
30
+ export const UPDATE_BRAND_NOTIFICATIONS_SETTINGS_URL = "/brands/notification-settings";
31
+ export const FETCH_BRAND_STORAGE_SUMMARY_URL = "/brands/storage/summary/:brandId";
32
+ export const FETCH_BRAND_STORAGE_USING_FILES_URL = "/brands/storage/files/:brandId";
33
+ //roles
34
+ export const FETCH_ROLE_PERMISSIONS_URL = "/rolePermissions";
35
+ export const FETCH_PERMISSON_RESOURCES_URL = "/rolePermissions/resources";
36
+ export const FETCH_ROLE_URL = "/rolePermissions/:roleId";
37
+ export const SAMPLE_FILE_DOWNLOAD_URL = "/assets/:assetId/download-bulk-upload-template";
38
+ //assets
39
+ export const FETCH_ASSETS_URL = "/assets/brand/:brandId";
40
+ export const CREATE_ASSETS_URL = "/assets";
41
+ export const FETCH_ASSET_URL = "/assets/:assetId";
42
+ export const FETCH_INPUT_TYPES_URL = "/input-types";
43
+ export const DELETE_ASSET_FIELD_URL = "/assets/:assetId/metadata/:id";
44
+ //folders
45
+ export const FETCH_FOLDERS_URL = "/folders";
46
+ export const FETCH_FOLDER_URL = "/folders/:folderId";
47
+ export const ARCHIVE_FOLDERS_URL = "/folders/archive";
48
+ export const DUPLICATE_FOLDER_URL = "/folders/duplicate/:folderId";
49
+ export const FETCH_TRASH_FOLDERS_URL = "/folders/trashed";
50
+ export const DELETE_FOLDERS_URL = "/folders/remove";
51
+ export const RESTORE_TRASHED_FOLDERS_URL = "/folders/restore";
52
+ export const UNARCHIVE_FOLDERS_URL = "/folders/unarchive";
53
+ export const FETCH_STARRED_FOLDERS_URL = "/favourites";
54
+ export const FETCH_RECENT_FOLDERS_URL = "/folders/recent";
55
+ export const FETCH_SHARED_FOLDERS_URL = "/folders/files/shared";
56
+ export const VIEW_SHARED_FOLDER_URL = "/folders/shared-folder/:folderId";
57
+ export const SORT_FOLDERS_URL = "/folders/modify-sort-order";
58
+ //files
59
+ export const FILE_UPLOAD_URL = "/files/upload";
60
+ export const CREATE_FILE_URL = "/files";
61
+ export const FETCH_FILE_URL = "/files/:fileId";
62
+ export const ARCHIVE_FILES_URL = "/files/archive";
63
+ export const UNARCHIVE_FILES_URL = "/files/unarchive";
64
+ export const RESTORE_FILES_URL = "/files/restore";
65
+ export const DOWNLOAD_FILES_URL = "/files/download";
66
+ export const DUPLICATE_FILE_URL = "/files/copy";
67
+ export const MOVE_FILES_URL = "/files/move";
68
+ export const UPDATE_FILE_ACCESS_URL = "/files/update-file-access/:fileId";
69
+ export const SHARE_FILE_URL = "/files/share-file";
70
+ export const FETCH_SHARED_FILE_URL = "/files/shared-file/:fileId";
71
+ export const VERIFY_SHARED_FILE_TOKEN_URL = "/files/share/token/verify";
72
+ export const SAVE_EDITED_FILE_URL = "/files/update";
73
+ export const SAVE_EDITED_FILE_THUMBNAIL_URL = "/files/update-thumbnail/:fileId";
74
+ export const DELETE_S3_FILE_URL = "/files/s3?path=:path";
75
+ export const GENERATE_THUMBNAILS_URL = "/files/thumbnails";
76
+ //comments
77
+ export const FETCH_COMMENTS_URL = "/comments";
78
+ export const FETCH_COMMENT_URL = "/comments/:commentId";
79
+ export const FETCH_REPLIES_URL = "/comments/replies/:commentId";
80
+ //dashboard
81
+ export const FETCH_DASHBOARD_USERS_SUMMARY_URL = "/dashboard/users/summary";
82
+ export const FETCH_DASHBOARD_FILE_FOLDER_ASSETS_SUMMARY_URL = "/dashboard/summary/file-folder-assets";
83
+ //pricing
84
+ export const FETCH_PLANS_URL = "/subscriptions";
85
+ export const SUBSCRIPTION_CHECK_OUT_SESSION_URL = "/subscriptions/create-checkout-session";
86
+ export const UPGRADE_SUBSCRIPTION_URL = "/subscriptions/:subscriptionId";
87
+ export const FETCH_PENDING_ENTERPRISE_REQUESTS = "/enterprise-requests/organization/:brandId";
88
+ export const FETCH_ENTERPRISE_REQUEST_URL = "/enterprise-requests/:requestId";
89
+ export const CREATE_ENTERPRISE_REQUEST_URL = "/enterprise-requests";
90
+ export const VERIFY_ENTERPRISE_PAYMENT_REQUEST_URL = "/enterprise-requests/verify-payment";
91
+ export const FETCH_CARD_DETAILS_URL = "/subscriptions/card-details/:subscriptionId";
92
+ //client keys
93
+ export const FETCH_CLIENT_KEYS_URL = "/keys/";
94
+ export const FETCH_CLIENT_KEY_URL = "/keys/:keyId";
95
+ export const GENERATE_CLIENT_KEY_URL = "/keys/:keyId/generate";
96
+ // login
97
+ export const USER_LOGIN = "/users/login/keys";
98
+ export const FETCH_BRAND_USING_SUBDOMAIN = "/brands/subdomain";
99
+ // brand
100
+ export const CREATE_SUB_BRAND = "/brands/sub-brand";
101
+ //image picker
102
+ export const FETCH_IMAGEPICKERS_URL = "/image-picker";
103
+ export const FETCH_IMAGEPICKER_URL = "/image-picker/:id";
104
+ export const FETCH_META_FIELD_OPTIONS_URL = "/image-picker/file-filters/:id";
105
+ export const FETCH_META_FIELD_FILES_URL = "/image-picker/files/:id";
106
+ export const UPLOAD_IMAGE_PICKER_LOCAL_FILE_URL = "/image-picker/upload";
107
+ export const FETCH_IMAGE_PCIKER_THUMBNAIL_URL = "/image-picker/thumbnail";
108
+ // bulk upload
109
+ export const BULK_UPLOAD_URL = "/files/import";
110
+ // refresh key
111
+ export const REFRESH_KEY_URL = "/keys/refresh";
112
+ export const GET_BASE64_USING_PATH_URL = "/files/blob";
113
+ //download logs
114
+ export const FETCH_FILE_DOWNLOAD_LOGS_URL = "/dashboard/download-summary";
115
+ export const FETCH_USER_DOWNLOAD_LOGS_URL = "/dashboard/download-summary/user";
@@ -0,0 +1,6 @@
1
+ export declare const NOT_FOUND_IMAGE_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/not-found.svg";
2
+ export declare const EMPTY_ASSET_TEMPLATE_WIDGETS_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/empty-asset-template-widgets.svg";
3
+ export declare const COMMENT_EMPTY_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/commentempty.svg";
4
+ export declare const COMPLIANCE_EMPTY_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/complianceEmpty.svg";
5
+ export declare const SAMPLE_IMAGE_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/sampleimg.png";
6
+ export declare const META_DATA_EMPTY_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/Metadataempty.svg";
@@ -0,0 +1,6 @@
1
+ export const NOT_FOUND_IMAGE_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/not-found.svg";
2
+ export const EMPTY_ASSET_TEMPLATE_WIDGETS_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/empty-asset-template-widgets.svg";
3
+ export const COMMENT_EMPTY_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/commentempty.svg";
4
+ export const COMPLIANCE_EMPTY_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/complianceEmpty.svg";
5
+ export const SAMPLE_IMAGE_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/sampleimg.png";
6
+ export const META_DATA_EMPTY_URL = "https://printlocker-public-bucket.s3.ap-south-1.amazonaws.com/Metadataempty.svg";
@@ -0,0 +1,371 @@
1
+ export declare enum NotificationStatus {
2
+ SUCCESS = "success",
3
+ ERROR = "error",
4
+ INFO = "info",
5
+ WARN = "warn"
6
+ }
7
+ export declare enum SpinSizes {
8
+ SMALL = "small",
9
+ LARGE = "large",
10
+ DEFAULT = "default"
11
+ }
12
+ export declare enum SourceTypes {
13
+ GOOGLE = "GOOGLE",
14
+ EMAIL_PASSWORD = "EMAIL_PASSWORD"
15
+ }
16
+ export declare enum LocationTypes {
17
+ INTERNAL = "INTERNAL",
18
+ EXTERNAL = "EXTERNAL"
19
+ }
20
+ export declare enum AccessTypes {
21
+ WEBSITE = "WEBSITE",
22
+ IFRAME = "IFRAME",
23
+ COMPONENT = "COMPONENT"
24
+ }
25
+ export declare enum ApiMethods {
26
+ POST = "POST",
27
+ GET = "GET",
28
+ PUT = "PUT",
29
+ DELETE = "DELETE"
30
+ }
31
+ export type SuccessResponse = {
32
+ status: boolean;
33
+ code: number;
34
+ data: {
35
+ message: string;
36
+ };
37
+ };
38
+ export type ErrorResponse = {
39
+ status: number;
40
+ name: string;
41
+ message: string;
42
+ };
43
+ export type BrandUserEntity = {
44
+ _id: string;
45
+ name: string;
46
+ role: string;
47
+ email: string;
48
+ isActive: boolean;
49
+ deletedAt: string | null;
50
+ brandId: string;
51
+ };
52
+ export type BrandEntity = {
53
+ _id: string;
54
+ name: string;
55
+ subdomain: string;
56
+ brandType: "ORGANIZATION" | string;
57
+ isActive: boolean;
58
+ size: number;
59
+ accessTypes: string[];
60
+ adminTeams: any[];
61
+ users: BrandUserEntity[];
62
+ teamsApiDetails: {
63
+ teamsApi: string;
64
+ username: string;
65
+ password: string;
66
+ };
67
+ damLocationDetails: {
68
+ locationType: "INTERNAL" | "EXTERNAL" | string;
69
+ rootPath: string;
70
+ };
71
+ createdBy: {
72
+ _id: string;
73
+ name: string;
74
+ };
75
+ keys: any[];
76
+ createdAt: string;
77
+ updatedAt: string;
78
+ subscriptionLimitations: {
79
+ FILE_STORAGE_IN_GB: number;
80
+ COMPANY_SIZE: number;
81
+ };
82
+ };
83
+ export interface Pagination {
84
+ currentPage?: number;
85
+ totalPages: number;
86
+ totalCount: number;
87
+ }
88
+ export declare enum SelectTagModes {
89
+ MULTIPLE = "multiple",
90
+ TAGS = "tags"
91
+ }
92
+ export declare enum SortOrders {
93
+ ASCEND = "asc",
94
+ DESCEND = "desc"
95
+ }
96
+ export interface RoleEntity {
97
+ _id: string;
98
+ name: string;
99
+ displayName: string;
100
+ description: string;
101
+ isDefault: boolean;
102
+ resourcesWithPermissions: {
103
+ [key: string]: string[];
104
+ };
105
+ createdAt: string;
106
+ updatedAt: string;
107
+ }
108
+ export interface AntOptionType {
109
+ value: string;
110
+ label: string;
111
+ }
112
+ export interface MetaDataFieldEntity {
113
+ name: string;
114
+ inputType: string;
115
+ defaultValue: InputTypes;
116
+ isMandatory: boolean;
117
+ isSearchable: boolean;
118
+ inputTypeSettings: {
119
+ [key: string]: any;
120
+ };
121
+ placeholder: string;
122
+ _id: string;
123
+ options: AntOptionType[];
124
+ label: string;
125
+ }
126
+ export interface AssetTemplateEntity {
127
+ _id: string;
128
+ name: string;
129
+ description: string;
130
+ metadataFields: MetaDataFieldEntity[];
131
+ brandId: string;
132
+ isActive: boolean;
133
+ deletedAt: null | string;
134
+ createdAt: string;
135
+ updatedAt: string;
136
+ imagePickerOutputFormat?: MetaDataFieldEntity[];
137
+ }
138
+ export declare enum InputSupportedTypes {
139
+ CHARACTER_LIMIT = "CHARACTER_LIMIT",
140
+ VALUE_RANGE = "VALUE_RANGE",
141
+ REGEX = "REGEX",
142
+ ALLOW_TIME = "ALLOW_TIME",
143
+ ALLOW_MULTIPLE = "ALLOW_MULTIPLE",
144
+ ALLOW_CLEAR = "ALLOW_CLEAR",
145
+ SEARCHABLE = "SEARCHABLE"
146
+ }
147
+ export interface InputTypeSupportedTypeEntity {
148
+ name: string;
149
+ defaultName: InputSupportedTypes;
150
+ valueType: string;
151
+ _id: string;
152
+ }
153
+ export interface InputTypeEntity {
154
+ _id: string;
155
+ name: string;
156
+ defaultName: InputTypes;
157
+ supportedTypes: InputTypeSupportedTypeEntity[];
158
+ createdAt: string;
159
+ updatedAt: string;
160
+ }
161
+ export declare enum InputTypes {
162
+ TEXT = "TEXT",
163
+ PARAGRAPH = "PARAGRAPH",
164
+ NUMBERS = "NUMBERS",
165
+ DATE = "DATE",
166
+ PERSON = "PERSON",
167
+ TEAM = "TEAM",
168
+ DATE_RANGE = "DATE_RANGE",
169
+ SELECT = "SELECT",
170
+ LINK = "LINK",
171
+ RADIO = "RADIO",
172
+ CHECKBOX = "CHECKBOX"
173
+ }
174
+ export declare enum ThemeModes {
175
+ DARK = "DARK",
176
+ LIGHT = "LIGHT",
177
+ SYSTEM = "SYSTEM"
178
+ }
179
+ export type StorageCategory = {
180
+ category: FileTypes;
181
+ totalSizeMB: number;
182
+ totalSizeGB: number;
183
+ count: number;
184
+ };
185
+ export type StorageSummaryData = {
186
+ totalStorageGB: string;
187
+ consumedStorageGB: string;
188
+ remainingStorageGB: string;
189
+ storageByCategory: StorageCategory[];
190
+ };
191
+ export declare enum FileTypes {
192
+ IMAGES = "IMAGES",
193
+ VIDEOS = "VIDEOS",
194
+ DOCUMENTS = "DOCUMENTS",
195
+ MUSIC = "MUSIC",
196
+ OTHER = "OTHER"
197
+ }
198
+ export interface FileEntity {
199
+ _id: string;
200
+ assetId: string;
201
+ assetName: string;
202
+ folderName: string;
203
+ folderId: string;
204
+ name: string;
205
+ mimetype: string;
206
+ extensionType: string;
207
+ size: number;
208
+ sortOrder: number;
209
+ brandId: string;
210
+ s3Path: string;
211
+ thumbnailPath: string;
212
+ prefix: string;
213
+ teamIds: string[];
214
+ users: BrandUserEntity[];
215
+ fileDownload: any[];
216
+ updatedAt: string | null;
217
+ createdAt: string | null;
218
+ archivedBy: string | null;
219
+ archivedAt: string | null;
220
+ thumbnailUrl: string;
221
+ s3Url: string;
222
+ type: EntityType;
223
+ prevFileId: string | null;
224
+ nextFileId: string | null;
225
+ accessSettings: {
226
+ type: InvitationTypes;
227
+ role: ShareFileRoles;
228
+ };
229
+ expiryDate?: string | null;
230
+ }
231
+ export interface FolderEntity {
232
+ _id: string;
233
+ name: string;
234
+ teamIds: any[];
235
+ brandId: string;
236
+ createdAt: string | null;
237
+ updatedAt: string | null;
238
+ sortOrder: number;
239
+ tree: {
240
+ _id: string;
241
+ name: string;
242
+ }[];
243
+ archivedAt: string | null;
244
+ deletedAt: string | null;
245
+ isFavourite: boolean;
246
+ type: EntityType;
247
+ accessSettings: {
248
+ type: InvitationTypes;
249
+ role: ShareFileRoles;
250
+ };
251
+ }
252
+ export declare enum EntityType {
253
+ FOLDER = "FOLDER",
254
+ FILE = "FILE"
255
+ }
256
+ export declare enum DriveModes {
257
+ TRASH = "trash",
258
+ ARCHIVES = "archived",
259
+ STARRED = "starred",
260
+ RECENTS = "recents",
261
+ SHARED = "shared",
262
+ FILE = "file",
263
+ FOLDERS = "folders"
264
+ }
265
+ export type ResponseFile = {
266
+ name: string;
267
+ size: number;
268
+ mimetype: string;
269
+ url: string;
270
+ filePath: string;
271
+ };
272
+ export declare enum FileUploadStatus {
273
+ PENDING = "pending",
274
+ SUCCESS = "success",
275
+ ERROR = "error"
276
+ }
277
+ export declare enum InvitationTypes {
278
+ RESTRICTED = "RESTRICTED",
279
+ ANYONE_WITH_LINK = "ANYONE_WITH_LINK"
280
+ }
281
+ export interface CommentEntityType {
282
+ createdBy: {
283
+ _id: string;
284
+ name: string;
285
+ };
286
+ _id: string;
287
+ text: string;
288
+ referenceType: EntityType;
289
+ referenceId: string;
290
+ brandId: string;
291
+ likes: {
292
+ _id: string;
293
+ name: string;
294
+ }[];
295
+ createdAt: string;
296
+ updatedAt: string;
297
+ }
298
+ export declare enum ShareFileRoles {
299
+ EDITOR = "EDITOR",
300
+ VIEWER = "VIEWER",
301
+ COMMENTOR = "COMMENTOR"
302
+ }
303
+ export interface ShareFileTokenResponse {
304
+ brandId: string;
305
+ referenceType: EntityType;
306
+ referenceId: string;
307
+ email: string;
308
+ isUserExists: boolean;
309
+ role: ShareFileRoles;
310
+ }
311
+ export declare enum PlanType {
312
+ FREE_TRIAL = "FREE_TRIAL",
313
+ PREMIUM = "PREMIUM",
314
+ ENTERPRISE = "ENTERPRISE"
315
+ }
316
+ interface Limitations {
317
+ fileStorageInGb: number;
318
+ companySize: number;
319
+ }
320
+ export interface SubscriptionPlanEntity {
321
+ name: PlanType;
322
+ limitations: Limitations;
323
+ }
324
+ export interface UserBrandsListTypes {
325
+ _id: string;
326
+ name: string;
327
+ subdomain: string;
328
+ }
329
+ export declare const CalendarViewTypes: {
330
+ MONTH: string;
331
+ YEAR: string;
332
+ };
333
+ export declare enum ResultStatus {
334
+ SUCCESS = "success",
335
+ ERROR = "error"
336
+ }
337
+ export interface ImagePickerEntity {
338
+ name: string;
339
+ brandId: string;
340
+ folderId: string;
341
+ assetId: string;
342
+ isOptions: boolean;
343
+ includeSubFolders: boolean;
344
+ allowNewFiles: boolean;
345
+ teamVisibility: boolean;
346
+ createdBy: {
347
+ _id: string;
348
+ name: string;
349
+ };
350
+ _id: string;
351
+ createdAt: string;
352
+ updatedAt: string;
353
+ }
354
+ export interface ClientKeyEntity {
355
+ _id: string;
356
+ type: string;
357
+ allowedDomains: string[];
358
+ validity: string;
359
+ accessKey: string;
360
+ secretKey: string;
361
+ }
362
+ export declare enum ThumbnailStatus {
363
+ PENDING = "PENDING",
364
+ SUCCESS = "SUCCESS"
365
+ }
366
+ export declare enum SortByKeys {
367
+ NAME = "name",
368
+ UPDATED_AT = "updatedAt",
369
+ SIZE = "size"
370
+ }
371
+ export {};
@@ -0,0 +1,142 @@
1
+ export var NotificationStatus;
2
+ (function (NotificationStatus) {
3
+ NotificationStatus["SUCCESS"] = "success";
4
+ NotificationStatus["ERROR"] = "error";
5
+ NotificationStatus["INFO"] = "info";
6
+ NotificationStatus["WARN"] = "warn";
7
+ })(NotificationStatus || (NotificationStatus = {}));
8
+ export var SpinSizes;
9
+ (function (SpinSizes) {
10
+ SpinSizes["SMALL"] = "small";
11
+ SpinSizes["LARGE"] = "large";
12
+ SpinSizes["DEFAULT"] = "default";
13
+ })(SpinSizes || (SpinSizes = {}));
14
+ export var SourceTypes;
15
+ (function (SourceTypes) {
16
+ SourceTypes["GOOGLE"] = "GOOGLE";
17
+ SourceTypes["EMAIL_PASSWORD"] = "EMAIL_PASSWORD";
18
+ })(SourceTypes || (SourceTypes = {}));
19
+ export var LocationTypes;
20
+ (function (LocationTypes) {
21
+ LocationTypes["INTERNAL"] = "INTERNAL";
22
+ LocationTypes["EXTERNAL"] = "EXTERNAL";
23
+ })(LocationTypes || (LocationTypes = {}));
24
+ export var AccessTypes;
25
+ (function (AccessTypes) {
26
+ AccessTypes["WEBSITE"] = "WEBSITE";
27
+ AccessTypes["IFRAME"] = "IFRAME";
28
+ AccessTypes["COMPONENT"] = "COMPONENT";
29
+ })(AccessTypes || (AccessTypes = {}));
30
+ export var ApiMethods;
31
+ (function (ApiMethods) {
32
+ ApiMethods["POST"] = "POST";
33
+ ApiMethods["GET"] = "GET";
34
+ ApiMethods["PUT"] = "PUT";
35
+ ApiMethods["DELETE"] = "DELETE";
36
+ })(ApiMethods || (ApiMethods = {}));
37
+ export var SelectTagModes;
38
+ (function (SelectTagModes) {
39
+ SelectTagModes["MULTIPLE"] = "multiple";
40
+ SelectTagModes["TAGS"] = "tags";
41
+ })(SelectTagModes || (SelectTagModes = {}));
42
+ export var SortOrders;
43
+ (function (SortOrders) {
44
+ SortOrders["ASCEND"] = "asc";
45
+ SortOrders["DESCEND"] = "desc";
46
+ })(SortOrders || (SortOrders = {}));
47
+ export var InputSupportedTypes;
48
+ (function (InputSupportedTypes) {
49
+ InputSupportedTypes["CHARACTER_LIMIT"] = "CHARACTER_LIMIT";
50
+ InputSupportedTypes["VALUE_RANGE"] = "VALUE_RANGE";
51
+ InputSupportedTypes["REGEX"] = "REGEX";
52
+ InputSupportedTypes["ALLOW_TIME"] = "ALLOW_TIME";
53
+ InputSupportedTypes["ALLOW_MULTIPLE"] = "ALLOW_MULTIPLE";
54
+ InputSupportedTypes["ALLOW_CLEAR"] = "ALLOW_CLEAR";
55
+ InputSupportedTypes["SEARCHABLE"] = "SEARCHABLE";
56
+ })(InputSupportedTypes || (InputSupportedTypes = {}));
57
+ export var InputTypes;
58
+ (function (InputTypes) {
59
+ InputTypes["TEXT"] = "TEXT";
60
+ InputTypes["PARAGRAPH"] = "PARAGRAPH";
61
+ InputTypes["NUMBERS"] = "NUMBERS";
62
+ InputTypes["DATE"] = "DATE";
63
+ InputTypes["PERSON"] = "PERSON";
64
+ InputTypes["TEAM"] = "TEAM";
65
+ InputTypes["DATE_RANGE"] = "DATE_RANGE";
66
+ InputTypes["SELECT"] = "SELECT";
67
+ InputTypes["LINK"] = "LINK";
68
+ InputTypes["RADIO"] = "RADIO";
69
+ InputTypes["CHECKBOX"] = "CHECKBOX";
70
+ })(InputTypes || (InputTypes = {}));
71
+ export var ThemeModes;
72
+ (function (ThemeModes) {
73
+ ThemeModes["DARK"] = "DARK";
74
+ ThemeModes["LIGHT"] = "LIGHT";
75
+ ThemeModes["SYSTEM"] = "SYSTEM";
76
+ })(ThemeModes || (ThemeModes = {}));
77
+ export var FileTypes;
78
+ (function (FileTypes) {
79
+ FileTypes["IMAGES"] = "IMAGES";
80
+ FileTypes["VIDEOS"] = "VIDEOS";
81
+ FileTypes["DOCUMENTS"] = "DOCUMENTS";
82
+ FileTypes["MUSIC"] = "MUSIC";
83
+ FileTypes["OTHER"] = "OTHER";
84
+ })(FileTypes || (FileTypes = {}));
85
+ export var EntityType;
86
+ (function (EntityType) {
87
+ EntityType["FOLDER"] = "FOLDER";
88
+ EntityType["FILE"] = "FILE";
89
+ })(EntityType || (EntityType = {}));
90
+ export var DriveModes;
91
+ (function (DriveModes) {
92
+ DriveModes["TRASH"] = "trash";
93
+ DriveModes["ARCHIVES"] = "archived";
94
+ DriveModes["STARRED"] = "starred";
95
+ DriveModes["RECENTS"] = "recents";
96
+ DriveModes["SHARED"] = "shared";
97
+ DriveModes["FILE"] = "file";
98
+ DriveModes["FOLDERS"] = "folders";
99
+ })(DriveModes || (DriveModes = {}));
100
+ export var FileUploadStatus;
101
+ (function (FileUploadStatus) {
102
+ FileUploadStatus["PENDING"] = "pending";
103
+ FileUploadStatus["SUCCESS"] = "success";
104
+ FileUploadStatus["ERROR"] = "error";
105
+ })(FileUploadStatus || (FileUploadStatus = {}));
106
+ export var InvitationTypes;
107
+ (function (InvitationTypes) {
108
+ InvitationTypes["RESTRICTED"] = "RESTRICTED";
109
+ InvitationTypes["ANYONE_WITH_LINK"] = "ANYONE_WITH_LINK";
110
+ })(InvitationTypes || (InvitationTypes = {}));
111
+ export var ShareFileRoles;
112
+ (function (ShareFileRoles) {
113
+ ShareFileRoles["EDITOR"] = "EDITOR";
114
+ ShareFileRoles["VIEWER"] = "VIEWER";
115
+ ShareFileRoles["COMMENTOR"] = "COMMENTOR";
116
+ })(ShareFileRoles || (ShareFileRoles = {}));
117
+ export var PlanType;
118
+ (function (PlanType) {
119
+ PlanType["FREE_TRIAL"] = "FREE_TRIAL";
120
+ PlanType["PREMIUM"] = "PREMIUM";
121
+ PlanType["ENTERPRISE"] = "ENTERPRISE";
122
+ })(PlanType || (PlanType = {}));
123
+ export const CalendarViewTypes = {
124
+ MONTH: "month",
125
+ YEAR: "year",
126
+ };
127
+ export var ResultStatus;
128
+ (function (ResultStatus) {
129
+ ResultStatus["SUCCESS"] = "success";
130
+ ResultStatus["ERROR"] = "error";
131
+ })(ResultStatus || (ResultStatus = {}));
132
+ export var ThumbnailStatus;
133
+ (function (ThumbnailStatus) {
134
+ ThumbnailStatus["PENDING"] = "PENDING";
135
+ ThumbnailStatus["SUCCESS"] = "SUCCESS";
136
+ })(ThumbnailStatus || (ThumbnailStatus = {}));
137
+ export var SortByKeys;
138
+ (function (SortByKeys) {
139
+ SortByKeys["NAME"] = "name";
140
+ SortByKeys["UPDATED_AT"] = "updatedAt";
141
+ SortByKeys["SIZE"] = "size";
142
+ })(SortByKeys || (SortByKeys = {}));