component-shared 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/Components/Charts/AreaChart.d.ts +19 -0
  2. package/Components/Charts/AreaChart.js +59 -0
  3. package/Components/Charts/AreaChart.js.map +1 -0
  4. package/Components/Charts/BarChart.d.ts +20 -0
  5. package/Components/Charts/BarChart.js +81 -0
  6. package/Components/Charts/BarChart.js.map +1 -0
  7. package/Components/Charts/DoughnutChart.d.ts +12 -0
  8. package/Components/Charts/DoughnutChart.js +81 -0
  9. package/Components/Charts/DoughnutChart.js.map +1 -0
  10. package/Components/Charts/HorizontalBarChart.d.ts +38 -0
  11. package/Components/Charts/HorizontalBarChart.js +83 -0
  12. package/Components/Charts/HorizontalBarChart.js.map +1 -0
  13. package/Components/Charts/LineChart.d.ts +21 -0
  14. package/Components/Charts/LineChart.js +133 -0
  15. package/Components/Charts/LineChart.js.map +1 -0
  16. package/Components/Charts/PieChart.d.ts +20 -0
  17. package/Components/Charts/PieChart.js +123 -0
  18. package/Components/Charts/PieChart.js.map +1 -0
  19. package/Components/Charts/index.d.ts +5 -0
  20. package/Components/Charts/index.js +6 -0
  21. package/Components/Charts/index.js.map +1 -0
  22. package/Components/Charts/type.d.ts +6 -0
  23. package/Components/Charts/type.js +2 -0
  24. package/Components/Charts/type.js.map +1 -0
  25. package/Components/CopyToClipboard/index.d.ts +23 -0
  26. package/Components/CopyToClipboard/index.js +54 -0
  27. package/Components/CopyToClipboard/index.js.map +1 -0
  28. package/Components/CopyToClipboard/indexv2.d.ts +30 -0
  29. package/Components/CopyToClipboard/indexv2.js +63 -0
  30. package/Components/CopyToClipboard/indexv2.js.map +1 -0
  31. package/Components/DropZone/components/DropzoneArea.d.ts +31 -0
  32. package/Components/DropZone/components/DropzoneArea.js +221 -0
  33. package/Components/DropZone/components/DropzoneArea.js.map +1 -0
  34. package/Components/DropZone/components/DropzoneAreaBase.d.ts +4 -0
  35. package/Components/DropZone/components/DropzoneAreaBase.js +555 -0
  36. package/Components/DropZone/components/DropzoneAreaBase.js.map +1 -0
  37. package/Components/DropZone/components/DropzoneDialog.d.ts +33 -0
  38. package/Components/DropZone/components/DropzoneDialog.js +222 -0
  39. package/Components/DropZone/components/DropzoneDialog.js.map +1 -0
  40. package/Components/DropZone/components/DropzoneDialogBase.d.ts +27 -0
  41. package/Components/DropZone/components/DropzoneDialogBase.js +152 -0
  42. package/Components/DropZone/components/DropzoneDialogBase.js.map +1 -0
  43. package/Components/DropZone/components/PreviewList.d.ts +3 -0
  44. package/Components/DropZone/components/PreviewList.js +132 -0
  45. package/Components/DropZone/components/PreviewList.js.map +1 -0
  46. package/Components/DropZone/components/SnackbarContentWrapper.d.ts +3 -0
  47. package/Components/DropZone/components/SnackbarContentWrapper.js +94 -0
  48. package/Components/DropZone/components/SnackbarContentWrapper.js.map +1 -0
  49. package/Components/DropZone/helpers.d.ts +5 -0
  50. package/Components/DropZone/helpers.js +64 -0
  51. package/Components/DropZone/helpers.js.map +1 -0
  52. package/Components/DropZone/index.d.ts +120 -0
  53. package/Components/EditAvatar/index.d.ts +26 -0
  54. package/Components/EditAvatar/index.js +137 -0
  55. package/Components/EditAvatar/index.js.map +1 -0
  56. package/Components/FlexInfiniteScroll/index.d.ts +26 -0
  57. package/Components/FlexInfiniteScroll/index.js +82 -0
  58. package/Components/FlexInfiniteScroll/index.js.map +1 -0
  59. package/Components/Helper/LazySpinner.d.ts +5 -0
  60. package/Components/Helper/LazySpinner.js +33 -0
  61. package/Components/Helper/LazySpinner.js.map +1 -0
  62. package/Components/Helper/RoleKey.d.ts +9 -0
  63. package/Components/Helper/RoleKey.js +15 -0
  64. package/Components/Helper/RoleKey.js.map +1 -0
  65. package/Components/Helper/index.d.ts +41 -0
  66. package/Components/Helper/index.js +247 -0
  67. package/Components/Helper/index.js.map +1 -0
  68. package/Components/HocLazyView/index.d.ts +51 -0
  69. package/Components/HocLazyView/index.js +123 -0
  70. package/Components/HocLazyView/index.js.map +1 -0
  71. package/Components/HtmlTooltip/index.d.ts +3 -0
  72. package/Components/HtmlTooltip/index.js +28 -0
  73. package/Components/HtmlTooltip/index.js.map +1 -0
  74. package/Components/Icons/index.d.ts +6 -0
  75. package/Components/Icons/index.js +52 -0
  76. package/Components/Icons/index.js.map +1 -0
  77. package/Components/LazySpinner.css +6 -0
  78. package/Components/MapLayout/index.d.ts +33 -0
  79. package/Components/MapLayout/index.js +80 -0
  80. package/Components/MapLayout/index.js.map +1 -0
  81. package/Components/MessageBox/index.d.ts +28 -0
  82. package/Components/MessageBox/index.js +93 -0
  83. package/Components/MessageBox/index.js.map +1 -0
  84. package/Components/Models/index.d.ts +641 -0
  85. package/Components/Models/index.js +87 -0
  86. package/Components/Models/index.js.map +1 -0
  87. package/Components/Redux/core/CRUDSlice.d.ts +20 -0
  88. package/Components/Redux/core/CRUDSlice.js +62 -0
  89. package/Components/Redux/core/CRUDSlice.js.map +1 -0
  90. package/Components/Redux/core/type.d.ts +11 -0
  91. package/Components/Redux/core/type.js +9 -0
  92. package/Components/Redux/core/type.js.map +1 -0
  93. package/Components/SkeletonLazyView/index.d.ts +9 -0
  94. package/Components/SkeletonLazyView/index.js +38 -0
  95. package/Components/SkeletonLazyView/index.js.map +1 -0
  96. package/Components/SkeletonService/index.d.ts +15 -0
  97. package/Components/SkeletonService/index.js +57 -0
  98. package/Components/SkeletonService/index.js.map +1 -0
  99. package/Components/SubComponent/index.d.ts +151 -0
  100. package/Components/SubComponent/index.js +883 -0
  101. package/Components/SubComponent/index.js.map +1 -0
  102. package/Components/SubComponent/v2/index.d.ts +20 -0
  103. package/Components/SubComponent/v2/index.js +58 -0
  104. package/Components/SubComponent/v2/index.js.map +1 -0
  105. package/Components/SubUserInputModels/ContactInfoForm/index.d.ts +11 -0
  106. package/Components/SubUserInputModels/ContactInfoForm/index.js +130 -0
  107. package/Components/SubUserInputModels/ContactInfoForm/index.js.map +1 -0
  108. package/Components/SubUserInputModels/index.d.ts +59 -0
  109. package/Components/SubUserInputModels/index.js +928 -0
  110. package/Components/SubUserInputModels/index.js.map +1 -0
  111. package/Components/SwitchComponent/index.d.ts +21 -0
  112. package/Components/SwitchComponent/index.js +71 -0
  113. package/Components/SwitchComponent/index.js.map +1 -0
  114. package/Components/TemplateModal/index.d.ts +29 -0
  115. package/Components/TemplateModal/index.js +94 -0
  116. package/Components/TemplateModal/index.js.map +1 -0
  117. package/Components/TemplateTable/FormTest/index.d.ts +4 -0
  118. package/Components/TemplateTable/FormTest/index.js +22 -0
  119. package/Components/TemplateTable/FormTest/index.js.map +1 -0
  120. package/Components/TemplateTable/InputFormBase/index.d.ts +23 -0
  121. package/Components/TemplateTable/InputFormBase/index.js +111 -0
  122. package/Components/TemplateTable/InputFormBase/index.js.map +1 -0
  123. package/Components/TemplateTable/InputFormModal/index.d.ts +22 -0
  124. package/Components/TemplateTable/InputFormModal/index.js +103 -0
  125. package/Components/TemplateTable/InputFormModal/index.js.map +1 -0
  126. package/Components/TemplateTable/ItemRowMenu/index.d.ts +13 -0
  127. package/Components/TemplateTable/ItemRowMenu/index.js +49 -0
  128. package/Components/TemplateTable/ItemRowMenu/index.js.map +1 -0
  129. package/Components/TemplateTable/PanelAction/index.d.ts +11 -0
  130. package/Components/TemplateTable/PanelAction/index.js +51 -0
  131. package/Components/TemplateTable/PanelAction/index.js.map +1 -0
  132. package/Components/TemplateTable/TableContext/index.d.ts +1 -0
  133. package/Components/TemplateTable/TableContext/index.js +2 -0
  134. package/Components/TemplateTable/TableContext/index.js.map +1 -0
  135. package/Components/TemplateTable/helper.d.ts +3 -0
  136. package/Components/TemplateTable/helper.js +20 -0
  137. package/Components/TemplateTable/helper.js.map +1 -0
  138. package/Components/TemplateTable/index.d.ts +49 -0
  139. package/Components/TemplateTable/index.js +208 -0
  140. package/Components/TemplateTable/index.js.map +1 -0
  141. package/Components/UploadLayout/ProgressItem.d.ts +27 -0
  142. package/Components/UploadLayout/ProgressItem.js +210 -0
  143. package/Components/UploadLayout/ProgressItem.js.map +1 -0
  144. package/Components/UploadLayout/UploadArea.d.ts +9 -0
  145. package/Components/UploadLayout/UploadArea.js +58 -0
  146. package/Components/UploadLayout/UploadArea.js.map +1 -0
  147. package/Components/UploadLayout/UploadMonitor.d.ts +42 -0
  148. package/Components/UploadLayout/UploadMonitor.js +259 -0
  149. package/Components/UploadLayout/UploadMonitor.js.map +1 -0
  150. package/Components/UploadLayout/UploadPannel.d.ts +4 -0
  151. package/Components/UploadLayout/UploadPannel.js +20 -0
  152. package/Components/UploadLayout/UploadPannel.js.map +1 -0
  153. package/Components/UploadLayout/UploadStatus.d.ts +21 -0
  154. package/Components/UploadLayout/UploadStatus.js +184 -0
  155. package/Components/UploadLayout/UploadStatus.js.map +1 -0
  156. package/Components/UploadLayout/index.d.ts +69 -0
  157. package/Components/UploadLayout/index.js +265 -0
  158. package/Components/UploadLayout/index.js.map +1 -0
  159. package/Components/UploadLayout/types.d.ts +10 -0
  160. package/Components/UploadLayout/types.js +2 -0
  161. package/Components/UploadLayout/types.js.map +1 -0
  162. package/Components/Views/Billing/BillingForm/index.d.ts +16 -0
  163. package/Components/Views/Billing/BillingForm/index.js +49 -0
  164. package/Components/Views/Billing/BillingForm/index.js.map +1 -0
  165. package/Components/Views/Billing/ItemBillingRowMenu/index.d.ts +23 -0
  166. package/Components/Views/Billing/ItemBillingRowMenu/index.js +153 -0
  167. package/Components/Views/Billing/ItemBillingRowMenu/index.js.map +1 -0
  168. package/Components/Views/Billing/MenuMore/index.d.ts +6 -0
  169. package/Components/Views/Billing/MenuMore/index.js +89 -0
  170. package/Components/Views/Billing/MenuMore/index.js.map +1 -0
  171. package/Components/Views/Billing/SubBillingFormComponent/index.d.ts +14 -0
  172. package/Components/Views/Billing/SubBillingFormComponent/index.js +306 -0
  173. package/Components/Views/Billing/SubBillingFormComponent/index.js.map +1 -0
  174. package/Components/Views/BillingDetail/BillingDetailForm/index.d.ts +16 -0
  175. package/Components/Views/BillingDetail/BillingDetailForm/index.js +49 -0
  176. package/Components/Views/BillingDetail/BillingDetailForm/index.js.map +1 -0
  177. package/Components/Views/BillingDetail/SubComponent/index.d.ts +10 -0
  178. package/Components/Views/BillingDetail/SubComponent/index.js +152 -0
  179. package/Components/Views/BillingDetail/SubComponent/index.js.map +1 -0
  180. package/Components/Views/DashBoard/Common/index.d.ts +18 -0
  181. package/Components/Views/DashBoard/Common/index.js +55 -0
  182. package/Components/Views/DashBoard/Common/index.js.map +1 -0
  183. package/Components/Views/DashBoard/DeliveryInfo/index.d.ts +17 -0
  184. package/Components/Views/DashBoard/DeliveryInfo/index.js +92 -0
  185. package/Components/Views/DashBoard/DeliveryInfo/index.js.map +1 -0
  186. package/Components/Views/DashBoard/OverViewInfo/index.d.ts +29 -0
  187. package/Components/Views/DashBoard/OverViewInfo/index.js +237 -0
  188. package/Components/Views/DashBoard/OverViewInfo/index.js.map +1 -0
  189. package/Components/Views/DashBoard/PanelIntro/index.d.ts +4 -0
  190. package/Components/Views/DashBoard/PanelIntro/index.js +76 -0
  191. package/Components/Views/DashBoard/PanelIntro/index.js.map +1 -0
  192. package/Components/Views/DashBoard/SummaryPanel/index.d.ts +20 -0
  193. package/Components/Views/DashBoard/SummaryPanel/index.js +229 -0
  194. package/Components/Views/DashBoard/SummaryPanel/index.js.map +1 -0
  195. package/Components/Views/DashBoard/TopChannel/index.d.ts +13 -0
  196. package/Components/Views/DashBoard/TopChannel/index.js +89 -0
  197. package/Components/Views/DashBoard/TopChannel/index.js.map +1 -0
  198. package/Components/Views/DashBoard/TopViewTable/index.d.ts +12 -0
  199. package/Components/Views/DashBoard/TopViewTable/index.js +79 -0
  200. package/Components/Views/DashBoard/TopViewTable/index.js.map +1 -0
  201. package/Components/Views/DashBoard/type.d.ts +9 -0
  202. package/Components/Views/DashBoard/type.js +2 -0
  203. package/Components/Views/DashBoard/type.js.map +1 -0
  204. package/Components/Views/Helper/index.d.ts +2 -0
  205. package/Components/Views/Helper/index.js +10 -0
  206. package/Components/Views/Helper/index.js.map +1 -0
  207. package/Components/YoutubeImage/index.d.ts +45 -0
  208. package/Components/YoutubeImage/index.js +52 -0
  209. package/Components/YoutubeImage/index.js.map +1 -0
  210. package/Components/excel-icon-disabled.svg +16 -0
  211. package/Components/excel-icon.svg +9 -0
  212. package/Components/index.css +0 -0
  213. package/Components/index.d.ts +120 -0
  214. package/ComponentsV2/GlobalModal/index.d.ts +37 -0
  215. package/ComponentsV2/GlobalModal/index.js +100 -0
  216. package/ComponentsV2/GlobalModal/index.js.map +1 -0
  217. package/ComponentsV2/HeightEqualWidth/index.d.ts +8 -0
  218. package/ComponentsV2/HeightEqualWidth/index.js +41 -0
  219. package/ComponentsV2/HeightEqualWidth/index.js.map +1 -0
  220. package/ComponentsV2/LazyView/index.d.ts +6 -0
  221. package/ComponentsV2/LazyView/index.js +30 -0
  222. package/ComponentsV2/LazyView/index.js.map +1 -0
  223. package/ComponentsV2/LoadingAnimation/LoadingSquare.d.ts +3 -0
  224. package/ComponentsV2/LoadingAnimation/LoadingSquare.js +203 -0
  225. package/ComponentsV2/LoadingAnimation/LoadingSquare.js.map +1 -0
  226. package/ComponentsV2/LoadingAnimation/index.d.ts +9 -0
  227. package/ComponentsV2/LoadingAnimation/index.js +25 -0
  228. package/ComponentsV2/LoadingAnimation/index.js.map +1 -0
  229. package/ComponentsV2/TableTemplate/CRUDPannel.d.ts +22 -0
  230. package/ComponentsV2/TableTemplate/CRUDPannel.js +199 -0
  231. package/ComponentsV2/TableTemplate/CRUDPannel.js.map +1 -0
  232. package/ComponentsV2/TableTemplate/CreateTableTemplate.d.ts +60 -0
  233. package/ComponentsV2/TableTemplate/CreateTableTemplate.js +330 -0
  234. package/ComponentsV2/TableTemplate/CreateTableTemplate.js.map +1 -0
  235. package/ComponentsV2/TableTemplate/CustomGridFilterPanel.d.ts +6 -0
  236. package/ComponentsV2/TableTemplate/CustomGridFilterPanel.js +71 -0
  237. package/ComponentsV2/TableTemplate/CustomGridFilterPanel.js.map +1 -0
  238. package/ComponentsV2/TableTemplate/CustomerGridToolbar.d.ts +2 -0
  239. package/ComponentsV2/TableTemplate/CustomerGridToolbar.js +45 -0
  240. package/ComponentsV2/TableTemplate/CustomerGridToolbar.js.map +1 -0
  241. package/ComponentsV2/TableTemplate/ItemRowMenu/index.d.ts +14 -0
  242. package/ComponentsV2/TableTemplate/ItemRowMenu/index.js +49 -0
  243. package/ComponentsV2/TableTemplate/ItemRowMenu/index.js.map +1 -0
  244. package/ComponentsV2/TableTemplate/MapOperators.d.ts +5 -0
  245. package/ComponentsV2/TableTemplate/MapOperators.js +49 -0
  246. package/ComponentsV2/TableTemplate/MapOperators.js.map +1 -0
  247. package/ComponentsV2/TableTemplate/NoRowsOverlay.d.ts +5 -0
  248. package/ComponentsV2/TableTemplate/NoRowsOverlay.js +39 -0
  249. package/ComponentsV2/TableTemplate/NoRowsOverlay.js.map +1 -0
  250. package/ComponentsV2/TableTemplate/TableConverter.d.ts +33 -0
  251. package/ComponentsV2/TableTemplate/TableConverter.js +112 -0
  252. package/ComponentsV2/TableTemplate/TableConverter.js.map +1 -0
  253. package/ComponentsV2/TableTemplate/TableFormatter.d.ts +10 -0
  254. package/ComponentsV2/TableTemplate/TableFormatter.js +122 -0
  255. package/ComponentsV2/TableTemplate/TableFormatter.js.map +1 -0
  256. package/ComponentsV2/TableTemplate/TableTemplateContext.d.ts +16 -0
  257. package/ComponentsV2/TableTemplate/TableTemplateContext.js +6 -0
  258. package/ComponentsV2/TableTemplate/TableTemplateContext.js.map +1 -0
  259. package/ComponentsV2/TableTemplate/index.d.ts +14 -0
  260. package/ComponentsV2/TableTemplate/index.js +9 -0
  261. package/ComponentsV2/TableTemplate/index.js.map +1 -0
  262. package/ComponentsV2/TableTemplate/type.d.ts +59 -0
  263. package/ComponentsV2/TableTemplate/type.js +14 -0
  264. package/ComponentsV2/TableTemplate/type.js.map +1 -0
  265. package/ComponentsV2/index.css +4 -0
  266. package/ComponentsV2/index.d.ts +4 -0
  267. package/ComponentsV2/index.js +6 -0
  268. package/ComponentsV2/index.js.map +1 -0
  269. package/Services/Getway/RequestHelper.d.ts +2 -0
  270. package/Services/Getway/RequestHelper.js +51 -0
  271. package/Services/Getway/RequestHelper.js.map +1 -0
  272. package/Services/Getway/index.d.ts +3 -0
  273. package/Services/Getway/index.js +14 -0
  274. package/Services/Getway/index.js.map +1 -0
  275. package/Services/ServiceBase.d.ts +32 -0
  276. package/Services/ServiceBase.js +523 -0
  277. package/Services/ServiceBase.js.map +1 -0
  278. package/_virtual/_rollupPluginBabelHelpers.js +393 -0
  279. package/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
  280. package/index.css +2 -0
  281. package/index.css.map +1 -0
  282. package/package.json +118 -0
  283. package/types/clipboard-copy.d.ts +6 -0
@@ -0,0 +1,641 @@
1
+ import { Dictionary } from '@reduxjs/toolkit';
2
+ import { RoleKeyExternalSite, RoleKeyInternalSite } from '../Helper/RoleKey';
3
+ export type UserInputType = 'Create' | 'Edit' | 'Profile';
4
+ export interface IUserInputProfile {
5
+ Type: UserInputType;
6
+ user?: IUser;
7
+ DirectWhenClose?: string;
8
+ }
9
+ export interface IUser {
10
+ Id: string;
11
+ FirstName: string;
12
+ LastName: string;
13
+ UserName: string;
14
+ Email: string;
15
+ Avatar: string;
16
+ LockoutEnabled: boolean;
17
+ LockoutEnd: string | null;
18
+ DateCreated: string;
19
+ IsLock: boolean;
20
+ PhoneNumber: string;
21
+ SigningDate: string;
22
+ PersonAddress: string;
23
+ PersonIdentityCard: string;
24
+ DisplayName: string;
25
+ CompanyName: string;
26
+ Position: string;
27
+ BusinessAddress: string;
28
+ BeneficiaryName: string;
29
+ AccountNumber: string;
30
+ BankName: string;
31
+ IdentityCard: string;
32
+ SwiftNumber: string;
33
+ BankAddress: string;
34
+ AutoPassword?: string;
35
+ Roles: string[];
36
+ UserCreatorId: string;
37
+ DisplayCreator: string;
38
+ EmailCreator: string;
39
+ UserNameCreator: string;
40
+ ContactInfoMap: {
41
+ [key: string]: IContactInfo;
42
+ };
43
+ Tags: string;
44
+ }
45
+ export interface IChangePassword {
46
+ Id: string;
47
+ CurrentPassword: string;
48
+ NewPassword: string;
49
+ ConfirmPassword: string;
50
+ }
51
+ export interface IAccountPermission {
52
+ Id: string;
53
+ Roles: (RoleKeyInternalSite | RoleKeyExternalSite) | (RoleKeyInternalSite | RoleKeyExternalSite)[];
54
+ }
55
+ export interface EntityTimeBase {
56
+ DateCreated: string;
57
+ DateUpdated: string;
58
+ }
59
+ export interface IUserCreator {
60
+ UserCreatorId: string;
61
+ }
62
+ export interface IAccountBank {
63
+ Id: string;
64
+ BeneficiaryName: string;
65
+ AccountNumber: string;
66
+ BankName: string;
67
+ IdentityCard: string;
68
+ SwiftNumber: string;
69
+ BankAddress: string;
70
+ UserId: string;
71
+ }
72
+ export interface IReportPayment {
73
+ Name: string;
74
+ TransactionId: string;
75
+ ReportId: string;
76
+ Description: string;
77
+ Payout: number;
78
+ USDRate: number;
79
+ }
80
+ export interface ISelectModel {
81
+ Id: string;
82
+ Name: string;
83
+ UserId: string;
84
+ }
85
+ export interface IVideoPrice {
86
+ Id: string;
87
+ Summary: string;
88
+ Price: number;
89
+ UserId: string;
90
+ Actions?: string;
91
+ }
92
+ export interface IMediaChannel {
93
+ Id: string;
94
+ Platform: string;
95
+ Name: string;
96
+ Summary: string;
97
+ Link: string;
98
+ UserId: string;
99
+ Actions?: string;
100
+ }
101
+ export interface IExtendMediaChannel extends IMediaChannel {
102
+ Email: string;
103
+ Manage: string;
104
+ }
105
+ export interface IContactInfo {
106
+ Id: string;
107
+ Platform: string;
108
+ Name: string;
109
+ Link: string;
110
+ UserId: string;
111
+ }
112
+ export interface IAsset {
113
+ Kind: string;
114
+ Id: string;
115
+ Type: string;
116
+ Title: string;
117
+ CustomId: string;
118
+ MediaId?: string;
119
+ MediaName?: string;
120
+ TimeCreated: string;
121
+ LabelName: string;
122
+ }
123
+ export interface IAssetLabel {
124
+ Name: string;
125
+ UserId: string;
126
+ Email: string;
127
+ AmountAssets: number;
128
+ }
129
+ export interface INamingFolder {
130
+ FolderName: string;
131
+ FolderId: string;
132
+ UserIds: string[] | string;
133
+ Users: string;
134
+ FileAmount: number;
135
+ }
136
+ export interface INamingFolderExtend extends INamingFolder {
137
+ Actions?: string;
138
+ }
139
+ export declare enum MediaNetworkStatus {
140
+ Active = "Active",
141
+ Inactive = "Inactive"
142
+ }
143
+ export interface IMediaNetwork extends EntityTimeBase {
144
+ Id: string;
145
+ Name: string;
146
+ Status: MediaNetworkStatus;
147
+ OwnerId: string;
148
+ AccountJson: string;
149
+ Description: string;
150
+ Types: EChannelType[];
151
+ }
152
+ export interface IMediaNetworkInfo {
153
+ Data: IMediaNetwork[];
154
+ Types: EChannelType[];
155
+ }
156
+ export declare enum JoinNetworkStatus {
157
+ Pending = "Pending",
158
+ Inviting = "Inviting",
159
+ Joined = "Joined",
160
+ Rejected = "Rejected"
161
+ }
162
+ export interface IChannelNetwork extends EntityTimeBase {
163
+ Id: string;
164
+ ChannelId: string;
165
+ Name: string;
166
+ UserId: string;
167
+ DisplayName: string;
168
+ Email: string;
169
+ UserEmail: string;
170
+ }
171
+ export declare enum WhitelistStatus {
172
+ Pending = "Pending",
173
+ Accepted = "Accepted",
174
+ Rejected = "Rejected"
175
+ }
176
+ export interface IWhitelist extends EntityTimeBase {
177
+ Id: string;
178
+ ChannelId: string;
179
+ ChannelName: string;
180
+ AcceptedDate: string;
181
+ Status: WhitelistStatus;
182
+ NetworkId: string;
183
+ UserId: string;
184
+ DisplayName: string;
185
+ }
186
+ export interface IItemSummary {
187
+ Folder: number;
188
+ File: number;
189
+ Audio: number;
190
+ Image: number;
191
+ Video: number;
192
+ Asset: number;
193
+ AssetLabel: number;
194
+ ChannelContent: number;
195
+ }
196
+ export interface ITotalEarning {
197
+ [key: string]: number;
198
+ }
199
+ export interface IBillingSummary {
200
+ Title: string;
201
+ Total: number;
202
+ Details: number[];
203
+ }
204
+ export interface IEarningCardDTO {
205
+ Asset: number;
206
+ Channel: number;
207
+ AssetDate?: string;
208
+ ChannelDate?: string;
209
+ }
210
+ export interface ISummaryChart {
211
+ ChartData: {
212
+ [key: string]: IBillingSummary;
213
+ };
214
+ EarningCards: {
215
+ [key: string]: IEarningCardDTO;
216
+ };
217
+ }
218
+ export interface IUserReport {
219
+ UserId: string;
220
+ DisplayName: string;
221
+ Email: string;
222
+ Manager: string;
223
+ Monthly: string;
224
+ Video: number;
225
+ Audio: number;
226
+ Content: number;
227
+ Claimed: number;
228
+ Values: Dictionary<number>;
229
+ }
230
+ export interface IFile {
231
+ Id: string;
232
+ Name: string;
233
+ Extension: string;
234
+ DriveFileId: string;
235
+ DisplayName: string;
236
+ FolderName: string;
237
+ DateCreated: string;
238
+ MetaFolderId: string;
239
+ Email: string;
240
+ IsRerender: boolean;
241
+ ReExtension: any;
242
+ ReContentId: any;
243
+ UserId: string;
244
+ }
245
+ export declare enum EnumChannelType {
246
+ Content = "Content",
247
+ Claimed = "Claimed"
248
+ }
249
+ export type EChannelType = 'Content' | 'Claimed' | EnumChannelType;
250
+ export interface IJoinNetwork extends EntityTimeBase {
251
+ Id: string;
252
+ ChannelId: string;
253
+ ChannelNetworkId: string;
254
+ ChannelName: string;
255
+ UserId: string;
256
+ DisplayName: string;
257
+ Network: string;
258
+ Status: JoinNetworkStatus;
259
+ Type: EChannelType;
260
+ NetworkId: string;
261
+ Percentage: number;
262
+ Email: string;
263
+ ManagerId: string;
264
+ ManagerEmail: string;
265
+ ManagerName: string;
266
+ ContractId?: string;
267
+ ContractName?: string;
268
+ ContractOptionId?: string;
269
+ ContractOptionName?: string;
270
+ ContractOptionDescription?: string;
271
+ }
272
+ export declare enum ReportStatus {
273
+ Unpaid = "Unpaid",
274
+ Paid = "Paid"
275
+ }
276
+ export declare enum ResourceType {
277
+ AudioLabel = "AudioLabel",
278
+ AssetLabel = "AssetLabel",
279
+ ClaimedChannel = "ClaimedChannel",
280
+ ContentChannel = "ContentChannel",
281
+ TrackMusic = "TrackMusic"
282
+ }
283
+ export declare const ChannelResourceType: {
284
+ AudioLabel: ResourceType.AudioLabel;
285
+ AssetLabel: ResourceType.AssetLabel;
286
+ ClaimedChannel: ResourceType.ClaimedChannel;
287
+ ContentChannel: ResourceType.ContentChannel;
288
+ TrackMusic: ResourceType.TrackMusic;
289
+ };
290
+ export declare const AssetResourceType: {
291
+ AudioLabel: ResourceType.AudioLabel;
292
+ AssetLabel: ResourceType.AssetLabel;
293
+ ClaimedChannel: ResourceType.ClaimedChannel;
294
+ ContentChannel: ResourceType.ContentChannel;
295
+ TrackMusic: ResourceType.TrackMusic;
296
+ };
297
+ export interface IReport extends EntityTimeBase {
298
+ Id: string;
299
+ Name: string;
300
+ Status: ReportStatus;
301
+ StartTime: string;
302
+ EndTime: string;
303
+ ResourceType: ResourceType;
304
+ Description: string;
305
+ Payout: number;
306
+ NoDetails: boolean;
307
+ ResourceId: string;
308
+ ResourceName: string;
309
+ TransactionId: string;
310
+ UserId: string;
311
+ DisplayName: string;
312
+ Email: string;
313
+ DatePaid: string;
314
+ ExchangeRate?: number;
315
+ }
316
+ export interface IChannelResourceInfo {
317
+ Name: string;
318
+ ChannelId: string;
319
+ }
320
+ export interface IReportView extends EntityTimeBase {
321
+ Id: string;
322
+ ResourceId: string;
323
+ ResourceInfo: string;
324
+ TotalMoney: number;
325
+ Payout: number;
326
+ Views: number;
327
+ ReportId: string;
328
+ CustomId?: string;
329
+ EChannelType: EChannelType;
330
+ Percentage: number;
331
+ }
332
+ export interface IChannelReportView extends IReportView {
333
+ ChannelName?: string;
334
+ Percentage: number;
335
+ }
336
+ export interface IAssetReportView extends IReportView {
337
+ Percentage: number;
338
+ Label?: string;
339
+ }
340
+ export declare enum EClaimRepository {
341
+ Active = "Active",
342
+ InActive = "InActive"
343
+ }
344
+ export interface IClaimRepository extends EntityTimeBase {
345
+ Id: string;
346
+ Name: string;
347
+ Description?: string;
348
+ RepositoryUri: string;
349
+ Status: EClaimRepository;
350
+ }
351
+ export interface IClaimRepositoryData {
352
+ RepositoryIds: string;
353
+ UserIds: string;
354
+ }
355
+ export interface IClaimRepositoryRequest {
356
+ RepositoryId: string;
357
+ UserId: string;
358
+ }
359
+ export type IClaimRepositoryAllocateRequest = IClaimRepositoryRequest[];
360
+ export interface IClaimRepositoryAllocateSearchRequest {
361
+ RepositoryId: string;
362
+ UserId: string;
363
+ }
364
+ export interface IClaimRepositoryAllocate {
365
+ RepositoryId: string;
366
+ UserId: string;
367
+ Email: string;
368
+ DisplayName: string;
369
+ RepositoryName: string;
370
+ }
371
+ export interface ISyncChannelGroupRequest {
372
+ NetworkId: string;
373
+ UserId: string;
374
+ }
375
+ export interface ISyncChannelGroupModel extends ISyncChannelGroupRequest {
376
+ AddChannelIds: ISyncChannelGroup[];
377
+ DeleteChannelIds: ISyncChannelGroup[];
378
+ }
379
+ export interface ISyncChannelGroup {
380
+ Id: string;
381
+ ChannelId: string;
382
+ ChannelName: string;
383
+ Type: string;
384
+ }
385
+ export interface IAddChannelToGroup {
386
+ DateCreated: string;
387
+ DateUpdated: string;
388
+ Id: string;
389
+ GroupId: string;
390
+ ChannelId: string;
391
+ Status: string;
392
+ ChannelGroup: IChannelGroup;
393
+ }
394
+ export interface IChannelGroup {
395
+ Id: string;
396
+ Name: string;
397
+ Type: string;
398
+ UserId: string;
399
+ User: IUser;
400
+ NetworkId: string;
401
+ MediaNetwork: IMediaNetwork;
402
+ }
403
+ export interface IAudioLabel {
404
+ Name: string;
405
+ DateCreated: string;
406
+ DateUpdated: string;
407
+ Description: string;
408
+ ImageUrl: string;
409
+ UserId: string;
410
+ Email: string;
411
+ DisplayName: string;
412
+ }
413
+ export interface IMediaAsset {
414
+ Id: string;
415
+ Name: string;
416
+ Description?: string;
417
+ Length: number;
418
+ Extension: string;
419
+ Bitrate: number;
420
+ SourceId: string;
421
+ OriginalName: string;
422
+ AuthorName?: any;
423
+ LabelName?: any;
424
+ DeliveryId: string;
425
+ DateCreated: string;
426
+ DateUpdated: string;
427
+ }
428
+ export interface IMediaAuthor {
429
+ Name: string;
430
+ DateCreated: string;
431
+ DateUpdated: string;
432
+ Description: string;
433
+ ImageUrl: string;
434
+ UserId?: string;
435
+ Email: string;
436
+ DisplayName: string;
437
+ }
438
+ export interface IMediaDeliveryStatus {
439
+ Id: string;
440
+ Pending: number;
441
+ Release: number;
442
+ Reject: number;
443
+ Error: number;
444
+ }
445
+ export interface IMediaDelivery {
446
+ Id: string;
447
+ Count: number;
448
+ Description?: string;
449
+ Name: string;
450
+ DriveFolderId: string;
451
+ UploadType: EUploadType;
452
+ DateCreated: string;
453
+ DateUpdated: string;
454
+ UserId: string;
455
+ Email: string;
456
+ DisplayName: string;
457
+ }
458
+ export interface ITagAudioMetaData {
459
+ BitsPerSample: number;
460
+ SampleRate: number;
461
+ Duration: number;
462
+ Bitrate: number;
463
+ Length: number;
464
+ }
465
+ export interface ITagImageMetaData {
466
+ PhotoWidth: number;
467
+ PhotoHeight: number;
468
+ Length: number;
469
+ }
470
+ export interface ITagLicenseMetaData {
471
+ Length: number;
472
+ }
473
+ export interface IMediaValidate {
474
+ MetaData?: File;
475
+ AlbumImages: File[];
476
+ Audios: File[];
477
+ Licenses: File[];
478
+ type?: EUploadType;
479
+ }
480
+ export interface IMediaValidateRequest {
481
+ MetaData?: File;
482
+ AlbumImages: {
483
+ Tag: ITagImageMetaData;
484
+ File: File;
485
+ }[];
486
+ Audios: {
487
+ Tag: ITagAudioMetaData;
488
+ File: File;
489
+ }[];
490
+ Licenses: {
491
+ Tag: ITagLicenseMetaData;
492
+ File: File;
493
+ }[];
494
+ type?: EUploadType;
495
+ }
496
+ export interface IAudioSessionCheck {
497
+ Items: {
498
+ Description?: any;
499
+ UserId: string;
500
+ Count: number;
501
+ UploadType: EUploadType;
502
+ }[];
503
+ Token: string;
504
+ }
505
+ export interface ILicenses {
506
+ Name: string;
507
+ SourceId?: string;
508
+ }
509
+ export interface IInputValidate {
510
+ Data: IAudioMeta[];
511
+ Token: string;
512
+ }
513
+ export declare enum EStepType {
514
+ Upload = "Upload",
515
+ AlbumDetail = "AlbumDetail",
516
+ Preview = "Preview",
517
+ Complete = "Complete"
518
+ }
519
+ export declare enum ExplicitContentType {
520
+ NotExplicit = "NotExplicit",
521
+ Explicit = "Explicit",
522
+ CleanedVersion = "CleanedVersion"
523
+ }
524
+ export type EAlbumStatus = 'Pending' | 'Release' | 'Error' | 'Reject';
525
+ export declare enum EMatchPolicy {
526
+ Monetizein = "Monetizein in all countries",
527
+ Block = "Block in all countries",
528
+ Trackin = "Trackin in all countries"
529
+ }
530
+ export type TMatchPolicy = EMatchPolicy.Monetizein | EMatchPolicy.Block | EMatchPolicy.Trackin;
531
+ export interface IAlbumDetail {
532
+ Id: string;
533
+ Title: string;
534
+ Language: string;
535
+ PrimaryArtist: string;
536
+ OtherArtists?: string;
537
+ LabelName: string;
538
+ Status: EAlbumStatus;
539
+ Note?: string;
540
+ ImageSourceId?: string;
541
+ }
542
+ export interface IAlbumDetailFull extends IAlbumDetail {
543
+ ImageFileName: string;
544
+ AlbumVersion?: string;
545
+ PrimaryGenre: string;
546
+ SecondaryGenre: string;
547
+ CompositionCopyright: string;
548
+ SoundRecordingCopyright: string;
549
+ OriginallyReleased: string;
550
+ Explicit: string;
551
+ HasCompilationAlbum: boolean;
552
+ Composers: string;
553
+ HasLyricist: boolean;
554
+ Lyricists: string;
555
+ UPC?: string;
556
+ OwnershipTerritory?: string;
557
+ MatchPolicy?: TMatchPolicy;
558
+ MetaDataId?: string;
559
+ DeliveryId: string;
560
+ AuthorName?: string;
561
+ DateCreated: string;
562
+ DateUpdated: string;
563
+ }
564
+ interface IGroups {
565
+ AlbumDetail: IAlbumDetailFull;
566
+ AudioMetas: IAudioMeta[];
567
+ AlbumImageId?: string;
568
+ RootFolderId: string;
569
+ AudioFolderId: string;
570
+ LicenseFolderId: string;
571
+ }
572
+ export interface IAudioSessionGet {
573
+ Token: string;
574
+ Type: EStepType;
575
+ TimStamp: string;
576
+ TempFolderId: string;
577
+ MediaDelivery: {
578
+ Count: number;
579
+ Description?: string;
580
+ Name: string;
581
+ UploadType: EUploadType;
582
+ UserId: string;
583
+ };
584
+ Groups: IGroups[];
585
+ Licenses: ILicenses[];
586
+ }
587
+ export interface IAudioMeta {
588
+ AlbumId: string;
589
+ SourceId: string;
590
+ HasFile: boolean;
591
+ Composers?: string;
592
+ HasLyricist: boolean;
593
+ Lyricists?: string;
594
+ Language?: string;
595
+ Length: number;
596
+ Extension?: string;
597
+ Bitrate: number;
598
+ SampleRate: number;
599
+ BitsPerSample: number;
600
+ Duration: number;
601
+ TrackNumber: number;
602
+ FileName: string;
603
+ Title: string;
604
+ PrimaryArtist?: string;
605
+ OtherArtists?: string;
606
+ Genre?: string;
607
+ AlbumTitle: string;
608
+ AlbumImage?: string;
609
+ AlbumReleaseDate: string;
610
+ OwnershipTerritory?: string;
611
+ MatchPolicy?: string;
612
+ LabelName?: string;
613
+ }
614
+ export declare enum EExportType {
615
+ ATYoutube = "ATYoutube",
616
+ SRYoutube = "SRYoutube"
617
+ }
618
+ export declare enum EUploadType {
619
+ MetaData = "MetaData",
620
+ NoMetaData = "NoMetaData"
621
+ }
622
+ export interface IAudioExport {
623
+ Type: string;
624
+ DeliveryId: string;
625
+ }
626
+ export interface IAudioInfo {
627
+ Genre: string;
628
+ AlbumTitle: string;
629
+ AlbumImage: string;
630
+ AlbumReleaseDate: string;
631
+ OwnershipTerritory: string;
632
+ MatchPolicy: string;
633
+ LabelName: string;
634
+ TrackNumber: number;
635
+ FileName: string;
636
+ Title: string;
637
+ PrimaryArtist: string;
638
+ OtherArtists: string;
639
+ SourceId: string;
640
+ }
641
+ export {};
@@ -0,0 +1,87 @@
1
+ import { objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
+
3
+ var MediaNetworkStatus;
4
+ (function (MediaNetworkStatus) {
5
+ MediaNetworkStatus["Active"] = "Active";
6
+ MediaNetworkStatus["Inactive"] = "Inactive";
7
+ })(MediaNetworkStatus || (MediaNetworkStatus = {}));
8
+ var JoinNetworkStatus;
9
+ (function (JoinNetworkStatus) {
10
+ JoinNetworkStatus["Pending"] = "Pending";
11
+ JoinNetworkStatus["Inviting"] = "Inviting";
12
+ JoinNetworkStatus["Joined"] = "Joined";
13
+ JoinNetworkStatus["Rejected"] = "Rejected";
14
+ })(JoinNetworkStatus || (JoinNetworkStatus = {}));
15
+ var WhitelistStatus;
16
+ (function (WhitelistStatus) {
17
+ WhitelistStatus["Pending"] = "Pending";
18
+ WhitelistStatus["Accepted"] = "Accepted";
19
+ WhitelistStatus["Rejected"] = "Rejected";
20
+ })(WhitelistStatus || (WhitelistStatus = {}));
21
+ var EnumChannelType;
22
+ (function (EnumChannelType) {
23
+ EnumChannelType["Content"] = "Content";
24
+ EnumChannelType["Claimed"] = "Claimed";
25
+ })(EnumChannelType || (EnumChannelType = {}));
26
+ var ReportStatus;
27
+ (function (ReportStatus) {
28
+ ReportStatus["Unpaid"] = "Unpaid";
29
+ ReportStatus["Paid"] = "Paid";
30
+ })(ReportStatus || (ReportStatus = {}));
31
+ var ResourceType;
32
+ (function (ResourceType) {
33
+ ResourceType["AudioLabel"] = "AudioLabel";
34
+ ResourceType["AssetLabel"] = "AssetLabel";
35
+ ResourceType["ClaimedChannel"] = "ClaimedChannel";
36
+ ResourceType["ContentChannel"] = "ContentChannel";
37
+ ResourceType["TrackMusic"] = "TrackMusic";
38
+ })(ResourceType || (ResourceType = {}));
39
+ var temp1 = _objectSpread2({}, ResourceType);
40
+ if ('AudioLabel' in temp1 || 'AssetLabel' in temp1) {
41
+ delete temp1.AssetLabel;
42
+ delete temp1.AudioLabel;
43
+ }
44
+ var ChannelResourceType = temp1;
45
+ var temp2 = _objectSpread2({}, ResourceType);
46
+ if ('ClaimedChannel' in temp2 || 'ContentChannel' in temp2) {
47
+ delete temp2.ClaimedChannel;
48
+ delete temp2.ContentChannel;
49
+ }
50
+ var AssetResourceType = temp2;
51
+ var EClaimRepository;
52
+ (function (EClaimRepository) {
53
+ EClaimRepository["Active"] = "Active";
54
+ EClaimRepository["InActive"] = "InActive";
55
+ })(EClaimRepository || (EClaimRepository = {}));
56
+ var EStepType;
57
+ (function (EStepType) {
58
+ EStepType["Upload"] = "Upload";
59
+ EStepType["AlbumDetail"] = "AlbumDetail";
60
+ EStepType["Preview"] = "Preview";
61
+ EStepType["Complete"] = "Complete";
62
+ })(EStepType || (EStepType = {}));
63
+ var ExplicitContentType;
64
+ (function (ExplicitContentType) {
65
+ ExplicitContentType["NotExplicit"] = "NotExplicit";
66
+ ExplicitContentType["Explicit"] = "Explicit";
67
+ ExplicitContentType["CleanedVersion"] = "CleanedVersion";
68
+ })(ExplicitContentType || (ExplicitContentType = {}));
69
+ var EMatchPolicy;
70
+ (function (EMatchPolicy) {
71
+ EMatchPolicy["Monetizein"] = "Monetizein in all countries";
72
+ EMatchPolicy["Block"] = "Block in all countries";
73
+ EMatchPolicy["Trackin"] = "Trackin in all countries";
74
+ })(EMatchPolicy || (EMatchPolicy = {}));
75
+ var EExportType;
76
+ (function (EExportType) {
77
+ EExportType["ATYoutube"] = "ATYoutube";
78
+ EExportType["SRYoutube"] = "SRYoutube";
79
+ })(EExportType || (EExportType = {}));
80
+ var EUploadType;
81
+ (function (EUploadType) {
82
+ EUploadType["MetaData"] = "MetaData";
83
+ EUploadType["NoMetaData"] = "NoMetaData";
84
+ })(EUploadType || (EUploadType = {}));
85
+
86
+ export { AssetResourceType, ChannelResourceType, EClaimRepository, EExportType, EMatchPolicy, EStepType, EUploadType, EnumChannelType, ExplicitContentType, JoinNetworkStatus, MediaNetworkStatus, ReportStatus, ResourceType, WhitelistStatus };
87
+ //# sourceMappingURL=index.js.map