ubk.erp.webpack 1.3.4 → 1.3.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 (58) hide show
  1. package/README.md +54 -0
  2. package/dist/Layout/Communicate/Chat.d.ts +5 -0
  3. package/dist/Layout/Communicate/ChatBar.d.ts +5 -0
  4. package/dist/Layout/Communicate/Services/chatService.d.ts +11 -0
  5. package/dist/Layout/Communicate/index.d.ts +2 -0
  6. package/dist/Layout/Exam/AdmitCardSetting.d.ts +5 -0
  7. package/dist/Layout/Exam/Assessment.d.ts +5 -0
  8. package/dist/Layout/Exam/AssignMarks.d.ts +5 -0
  9. package/dist/Layout/Exam/CoScholasticAreaMarks.d.ts +5 -0
  10. package/dist/Layout/Exam/Exam.d.ts +5 -0
  11. package/dist/Layout/Exam/ExamDashboard.d.ts +5 -0
  12. package/dist/Layout/Exam/ExamDetails.d.ts +5 -0
  13. package/dist/Layout/Exam/ExamEdit.d.ts +5 -0
  14. package/dist/Layout/Exam/ExamInstruction.d.ts +5 -0
  15. package/dist/Layout/Exam/ExamLink.d.ts +5 -0
  16. package/dist/Layout/Exam/ExamList.d.ts +5 -0
  17. package/dist/Layout/Exam/ExamSetting.d.ts +5 -0
  18. package/dist/Layout/Exam/ExamType.d.ts +5 -0
  19. package/dist/Layout/Exam/MarksReport.d.ts +5 -0
  20. package/dist/Layout/Exam/Pages/AdmitCardSettingPage.d.ts +5 -0
  21. package/dist/Layout/Exam/Pages/AssessmentPage.d.ts +5 -0
  22. package/dist/Layout/Exam/Pages/AssignMarksPage.d.ts +5 -0
  23. package/dist/Layout/Exam/Pages/CoScholasticAreaMarksPage.d.ts +5 -0
  24. package/dist/Layout/Exam/Pages/ExamDashboardPage.d.ts +5 -0
  25. package/dist/Layout/Exam/Pages/ExamDetailsPage.d.ts +5 -0
  26. package/dist/Layout/Exam/Pages/ExamEditPage.d.ts +5 -0
  27. package/dist/Layout/Exam/Pages/ExamInstructionPage.d.ts +5 -0
  28. package/dist/Layout/Exam/Pages/ExamLinkPage.d.ts +5 -0
  29. package/dist/Layout/Exam/Pages/ExamListPage.d.ts +5 -0
  30. package/dist/Layout/Exam/Pages/ExamPage.d.ts +5 -0
  31. package/dist/Layout/Exam/Pages/ExamSettingPage.d.ts +5 -0
  32. package/dist/Layout/Exam/Pages/ExamTypePage.d.ts +5 -0
  33. package/dist/Layout/Exam/Pages/MarksReportPage.d.ts +5 -0
  34. package/dist/Layout/Exam/Pages/RoomManagementPage.d.ts +5 -0
  35. package/dist/Layout/Exam/Pages/StudentResultPage.d.ts +5 -0
  36. package/dist/Layout/Exam/RoomManagment.d.ts +5 -0
  37. package/dist/Layout/Exam/Services/examsService.d.ts +131 -0
  38. package/dist/Layout/Exam/StudentResult.d.ts +5 -0
  39. package/dist/Layout/Exam/hooks.d.ts +35 -0
  40. package/dist/Layout/Exam/index.d.ts +16 -0
  41. package/dist/Layout/GeneralSetting/Services/generalSettingService.d.ts +49 -0
  42. package/dist/Layout/GeneralSetting/Sms/Sms.d.ts +5 -0
  43. package/dist/Layout/GeneralSetting/Sms/index.d.ts +1 -0
  44. package/dist/Layout/GeneralSetting/SmsAlertSetting/Services/smsAlertSettingService.d.ts +12 -0
  45. package/dist/Layout/GeneralSetting/SmsAlertSetting/SmsAlertSetting.d.ts +5 -0
  46. package/dist/Layout/GeneralSetting/SmsAlertSetting/hooks.d.ts +15 -0
  47. package/dist/Layout/GeneralSetting/SmsAlertSetting/index.d.ts +1 -0
  48. package/dist/Layout/GeneralSetting/SmsSetting/Services/smsSettingService.d.ts +4 -0
  49. package/dist/Layout/GeneralSetting/SmsSetting/SmsSetting.d.ts +5 -0
  50. package/dist/Layout/GeneralSetting/SmsSetting/hooks.d.ts +3 -0
  51. package/dist/Layout/GeneralSetting/SmsSetting/index.d.ts +1 -0
  52. package/dist/Layout/GeneralSetting/index.d.ts +3 -0
  53. package/dist/Secondary/CommonFuntion.d.ts +2 -0
  54. package/dist/Secondary/TextChangeGlobal.d.ts +1 -0
  55. package/dist/index.cjs +79 -15
  56. package/dist/index.d.ts +2 -0
  57. package/dist/index.js +20420 -11454
  58. package/package.json +4 -2
package/README.md CHANGED
@@ -234,6 +234,9 @@ import {
234
234
  FeesInfo,
235
235
  PayrollSettings,
236
236
  PaymentGateway,
237
+ Sms,
238
+ SmsSetting,
239
+ SmsAlertSetting,
237
240
  } from "ubk.erp.webpack";
238
241
 
239
242
  const GeneralSettingPage = ({ token }) => {
@@ -249,11 +252,40 @@ const GeneralSettingPage = ({ token }) => {
249
252
  <FeesInfo token={token} />
250
253
  <PayrollSettings token={token} />
251
254
  <PaymentGateway token={token} />
255
+ <Sms token={token} />
256
+ <SmsSetting token={token} />
257
+ <SmsAlertSetting token={token} />
252
258
  </>
253
259
  );
254
260
  };
255
261
  ```
256
262
 
263
+ ### Using the SMS & Communication Modules
264
+
265
+ ```jsx
266
+ import { Sms, SmsSetting, SmsAlertSetting, Chat } from "ubk.erp.webpack";
267
+
268
+ const SmsAndChatPage = ({ token }) => {
269
+ return (
270
+ <>
271
+ {/* Gateway & details configuration */}
272
+ <SmsSetting token={token} />
273
+ {/* Gateway alert settings + template CRUD */}
274
+ <SmsAlertSetting token={token} />
275
+ {/* Send a new SMS campaign */}
276
+ <Sms token={token} />
277
+ {/* WhatsApp chat window */}
278
+ <Chat token={token} />
279
+ </>
280
+ );
281
+ };
282
+ ```
283
+
284
+ > **Endpoints:** all SMS/WhatsApp endpoints are configurable via `VITE_*`
285
+ > environment variables and are defined in
286
+ > `src/Layout/GeneralSetting/Services/generalSettingService.js`
287
+ > (see `smsGateway`, `smsDetails`, `smsTemplates`, `smsCompose`, and `chat` groups).
288
+
257
289
  ### Using the Front Office Module
258
290
 
259
291
  ```jsx
@@ -597,6 +629,28 @@ const ApplyLeavePage = ({ token }) => {
597
629
  | `FeesInfo` | Fee receipt information, signatures, and branding settings. |
598
630
  | `PayrollSettings` | Payroll-related configuration settings. |
599
631
  | `PaymentGateway` | Payment gateway credentials and integration settings. |
632
+ | `SmsSetting` | SMS gateway details (API key, URL, header key) with edit/view toggle. |
633
+ | `SmsAlertSetting` | SMS alert settings — gateway configuration, template CRUD, and status toggling. |
634
+
635
+ ### Communicate
636
+
637
+ | Component | Description |
638
+ | :--- | :--- |
639
+ | `Chat` | WhatsApp chat interface — recipient sidebar (Teacher/Student mode), message list with text & image preview, emoji picker, attachments, and a create-group modal. |
640
+ | `ChatBar` | The underlying chat UI body, exported separately for embedding without the card wrapper. |
641
+ | `Sms` | SMS Campaign Composer — pick a template, set dynamic placeholders, select recipients (individual staff/student or whole classes via sections), and send. |
642
+
643
+
644
+ ### Using the Communicate Module
645
+
646
+ ```jsx
647
+ import { Chat } from "ubk.erp.webpack";
648
+
649
+ const CommunicatePage = ({ token }) => {
650
+ return <Chat token={token} />;
651
+ };
652
+ ```
653
+
600
654
 
601
655
 
602
656
  ## 🛠️ Development
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default Chat;
3
+ declare function Chat({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ChatBar;
3
+ declare function ChatBar({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,11 @@
1
+ export const chatEndpoints: {
2
+ whatsappBaseUrl: any;
3
+ groupList: any;
4
+ groupCreate: any;
5
+ teacherDropdown: any;
6
+ classDropdown: any;
7
+ sectionByClass: any;
8
+ roleDropdown: any;
9
+ };
10
+ export function getMessagesUrl(whatsappBaseUrl: any): string;
11
+ export function getSendMessagesUrl(whatsappBaseUrl: any): string;
@@ -0,0 +1,2 @@
1
+ export { default as Chat } from './Chat';
2
+ export { default as ChatBar } from './ChatBar';
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default AdmitCardSetting;
3
+ declare function AdmitCardSetting({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default Assessment;
3
+ declare function Assessment({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default AssignMarks;
3
+ declare function AssignMarks({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default CoScholasticAreaMarks;
3
+ declare function CoScholasticAreaMarks({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default Exam;
3
+ declare function Exam({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamDashboard;
3
+ declare function ExamDashboard({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamDetails;
3
+ declare function ExamDetails({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamEdit;
3
+ declare function ExamEdit({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamInstruction;
3
+ declare function ExamInstruction({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamLink;
3
+ declare function ExamLink({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamList;
3
+ declare function ExamList({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamSetting;
3
+ declare function ExamSetting({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamType;
3
+ declare function ExamType({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default MarksReport;
3
+ declare function MarksReport({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default AdmitCardSettingPage;
3
+ declare function AdmitCardSettingPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default AssessmentPage;
3
+ declare function AssessmentPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default AssignMarksPage;
3
+ declare function AssignMarksPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default CoScholasticAreaMarksPage;
3
+ declare function CoScholasticAreaMarksPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamDashboardPage;
3
+ declare function ExamDashboardPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamDetailsPage;
3
+ declare function ExamDetailsPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamEditPage;
3
+ declare function ExamEditPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamInstructionPage;
3
+ declare function ExamInstructionPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamLinkPage;
3
+ declare function ExamLinkPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamListPage;
3
+ declare function ExamListPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamPage;
3
+ declare function ExamPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamSettingPage;
3
+ declare function ExamSettingPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ExamTypePage;
3
+ declare function ExamTypePage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default MarksReportPage;
3
+ declare function MarksReportPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default RoomManagementPage;
3
+ declare function RoomManagementPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default StudentResultPage;
3
+ declare function StudentResultPage({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default RoomManagment;
3
+ declare function RoomManagment({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,131 @@
1
+ export namespace endpoints {
2
+ export namespace examType {
3
+ let dropdown: any;
4
+ let table: any;
5
+ let add: any;
6
+ let edit: any;
7
+ let remove: any;
8
+ }
9
+ export namespace examSchedule {
10
+ let add_1: any;
11
+ export { add_1 as add };
12
+ let edit_1: any;
13
+ export { edit_1 as edit };
14
+ export let getById: any;
15
+ export let list: any;
16
+ let dropdown_1: any;
17
+ export { dropdown_1 as dropdown };
18
+ export let groupDropdown: any;
19
+ export let groupList: any;
20
+ export let addGroup: any;
21
+ export let slUpdate: any;
22
+ export let subjectGroup: any;
23
+ export let mainAdditional: any;
24
+ }
25
+ export namespace examInstruction {
26
+ let dropdown_2: any;
27
+ export { dropdown_2 as dropdown };
28
+ export let get: any;
29
+ export let update: any;
30
+ }
31
+ export namespace examSetting {
32
+ let table_1: any;
33
+ export { table_1 as table };
34
+ let add_2: any;
35
+ export { add_2 as add };
36
+ export let uploadSignature: any;
37
+ export let typeByExamId: any;
38
+ export let assignMarksheetClass: any;
39
+ }
40
+ export namespace assessment {
41
+ let table_2: any;
42
+ export { table_2 as table };
43
+ let dropdown_3: any;
44
+ export { dropdown_3 as dropdown };
45
+ let _delete: any;
46
+ export { _delete as delete };
47
+ let getById_1: any;
48
+ export { getById_1 as getById };
49
+ export let dropdownSelect: any;
50
+ }
51
+ export namespace studentResult {
52
+ let marklistUrl: any;
53
+ let marklistBulkUrl: any;
54
+ let getSubjectsAccordingToExam: any;
55
+ let getExamSubject: any;
56
+ let marksheetDetailNew: any;
57
+ let templeteDetails: any;
58
+ let studentExamRemarks: any;
59
+ let getStudentListForExam: any;
60
+ let getStudentListForCoscholastic: any;
61
+ let addExamMarks: any;
62
+ let getGradeTable: any;
63
+ let getGradeTableCoScholastic: any;
64
+ let getAdmitCard: any;
65
+ }
66
+ export namespace admitCardSetting {
67
+ let get_1: any;
68
+ export { get_1 as get };
69
+ let update_1: any;
70
+ export { update_1 as update };
71
+ }
72
+ export namespace roomManagement {
73
+ let list_1: any;
74
+ export { list_1 as list };
75
+ let remove_1: any;
76
+ export { remove_1 as remove };
77
+ export let assign: any;
78
+ let add_3: any;
79
+ export { add_3 as add };
80
+ export let roomDropdown: any;
81
+ }
82
+ export let examDropdown: any;
83
+ export let examDropdownInstruction: any;
84
+ export namespace observation {
85
+ let dropdown_4: any;
86
+ export { dropdown_4 as dropdown };
87
+ let _delete_1: any;
88
+ export { _delete_1 as delete };
89
+ export let deleteType: any;
90
+ export let editType: any;
91
+ export let addType: any;
92
+ let add_4: any;
93
+ export { add_4 as add };
94
+ }
95
+ export let coscholasticCategoryDropdown: any;
96
+ export namespace templateType {
97
+ let get_2: any;
98
+ export { get_2 as get };
99
+ export let assignClassDropdown: any;
100
+ export let assignTable: any;
101
+ let assign_1: any;
102
+ export { assign_1 as assign };
103
+ let remove_2: any;
104
+ export { remove_2 as remove };
105
+ }
106
+ export let classSubjectDropdown: any;
107
+ export let sectionDropdown: any;
108
+ let getStudentListForExam_1: any;
109
+ export { getStudentListForExam_1 as getStudentListForExam };
110
+ let getStudentListForCoscholastic_1: any;
111
+ export { getStudentListForCoscholastic_1 as getStudentListForCoscholastic };
112
+ export let marksheetTemplate: any;
113
+ let assignMarksheetClass_1: any;
114
+ export { assignMarksheetClass_1 as assignMarksheetClass };
115
+ export let examDropdownUrl: any;
116
+ export let classSubjectDropdownUrl: any;
117
+ export let studentMarklist: any;
118
+ export let studentMarklistBulk: any;
119
+ }
120
+ export function fetchPagedList({ baseUrl, page, perPage }: {
121
+ baseUrl: any;
122
+ page?: number | undefined;
123
+ perPage?: number | undefined;
124
+ }, token: any): Promise<any>;
125
+ export function fetchGet(url: any, token: any): Promise<any>;
126
+ export function createEntity(url: any, formData: any, token: any): Promise<any>;
127
+ export function updateEntity(url: any, formData: any, token: any): Promise<any>;
128
+ export function deleteEntity(url: any, id: any, token: any): Promise<any>;
129
+ export function triggerGet(url: any, arg: any, token: any): Promise<any>;
130
+ export function triggerPost(url: any, arg: any, token: any): Promise<any>;
131
+ export function triggerPostNoArg(url: any, arg: any, token: any): Promise<any>;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default StudentResult;
3
+ declare function StudentResult({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,35 @@
1
+ export function useExamTypeDropdown(token: any): {
2
+ isLoading: boolean;
3
+ error: any;
4
+ examTypeOptions: any;
5
+ };
6
+ export function useExamDropdown(classId: any, token: any): {
7
+ isLoading: boolean;
8
+ error: any;
9
+ examList: any;
10
+ mutate: import('swr').KeyedMutator<any>;
11
+ };
12
+ export function useExamSchedule(token: any): {
13
+ isLoading: boolean;
14
+ error: any;
15
+ examSchedule: any;
16
+ mutate: import('swr').KeyedMutator<any>;
17
+ };
18
+ export function useAssessmentTable(token: any): {
19
+ isLoading: boolean;
20
+ error: any;
21
+ assessmentData: any;
22
+ mutate: import('swr').KeyedMutator<any>;
23
+ };
24
+ export function useExamSettingTable(page: any, perPage: any, token: any): {
25
+ isLoading: boolean;
26
+ error: any;
27
+ examSettingData: any;
28
+ mutate: import('swr').KeyedMutator<any>;
29
+ };
30
+ export function useStudentResult(token: any): {
31
+ isLoading: boolean;
32
+ error: any;
33
+ studentResultData: any;
34
+ mutate: import('swr').KeyedMutator<any>;
35
+ };
@@ -0,0 +1,16 @@
1
+ export { default as StudentResult } from './StudentResult';
2
+ export { default as Exam } from './Exam';
3
+ export { default as ExamList } from './ExamList';
4
+ export { default as ExamType } from './ExamType';
5
+ export { default as ExamSetting } from './ExamSetting';
6
+ export { default as Assessment } from './Assessment';
7
+ export { default as ExamInstruction } from './ExamInstruction';
8
+ export { default as RoomManagment } from './RoomManagment';
9
+ export { default as AssignMarks } from './AssignMarks';
10
+ export { default as AdmitCardSetting } from './AdmitCardSetting';
11
+ export { default as MarksReport } from './MarksReport';
12
+ export { default as ExamDashboard } from './ExamDashboard';
13
+ export { default as ExamEdit } from './ExamEdit';
14
+ export { default as ExamDetails } from './ExamDetails';
15
+ export { default as ExamLink } from './ExamLink';
16
+ export { default as CoScholasticAreaMarks } from './CoScholasticAreaMarks';
@@ -60,6 +60,55 @@ export namespace endpoints {
60
60
  let save_3: any;
61
61
  export { save_3 as save };
62
62
  }
63
+ namespace smsGateway {
64
+ let get_5: any;
65
+ export { get_5 as get };
66
+ let save_4: any;
67
+ export { save_4 as save };
68
+ }
69
+ namespace smsDetails {
70
+ let get_6: any;
71
+ export { get_6 as get };
72
+ let save_5: any;
73
+ export { save_5 as save };
74
+ }
75
+ namespace smsTemplates {
76
+ let table_2: any;
77
+ export { table_2 as table };
78
+ let add_2: any;
79
+ export { add_2 as add };
80
+ let edit_1: any;
81
+ export { edit_1 as edit };
82
+ let _delete: any;
83
+ export { _delete as delete };
84
+ export let changeStatus: any;
85
+ export let templateDropdown: any;
86
+ }
87
+ namespace smsCompose {
88
+ let templateDropdown_1: any;
89
+ export { templateDropdown_1 as templateDropdown };
90
+ let classDropdown_1: any;
91
+ export { classDropdown_1 as classDropdown };
92
+ export let sectionByClass: any;
93
+ export let roleDropdown: any;
94
+ export let staffSearch: any;
95
+ export let studentDropdown: any;
96
+ export let sendMessage: any;
97
+ }
98
+ namespace chat {
99
+ export let whatsappBaseUrl: any;
100
+ export let groupList: any;
101
+ export let groupCreate: any;
102
+ export let teacherDropdown: any;
103
+ let classDropdown_2: any;
104
+ export { classDropdown_2 as classDropdown };
105
+ let sectionByClass_1: any;
106
+ export { sectionByClass_1 as sectionByClass };
107
+ let roleDropdown_1: any;
108
+ export { roleDropdown_1 as roleDropdown };
109
+ }
110
+ function getMessages(whatsappBaseUrl: any): string;
111
+ function getSendMessages(whatsappBaseUrl: any): string;
63
112
  }
64
113
  export function getUploadAction(path: any): string;
65
114
  export function getUploadsBaseUrl(): string;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default Sms;
3
+ declare function Sms({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1 @@
1
+ export { default } from './Sms';
@@ -0,0 +1,12 @@
1
+ export const smsAlertSettingEndpoints: {
2
+ table: any;
3
+ add: any;
4
+ edit: any;
5
+ delete: any;
6
+ changeStatus: any;
7
+ templateDropdown: any;
8
+ };
9
+ export const smsGatewayEndpoints: {
10
+ get: any;
11
+ save: any;
12
+ };
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default SmsAlertSetting;
3
+ declare function SmsAlertSetting({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ export function useSmsGatewaySettings({ token }: {
2
+ token: any;
3
+ }): import('swr').SWRResponse<any, any, any>;
4
+ export function useSmsTemplates({ token, page, perPage, search, status }: {
5
+ token: any;
6
+ page?: number | undefined;
7
+ perPage?: number | undefined;
8
+ search?: string | undefined;
9
+ status?: string | undefined;
10
+ }): {
11
+ data: any;
12
+ pagination: any;
13
+ isLoading: boolean;
14
+ mutate: import('swr').KeyedMutator<any>;
15
+ };
@@ -0,0 +1 @@
1
+ export { default } from './SmsAlertSetting';
@@ -0,0 +1,4 @@
1
+ export const smsDetailsEndpoints: {
2
+ get: any;
3
+ save: any;
4
+ };
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default SmsSetting;
3
+ declare function SmsSetting({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ export function useSmsDetails({ token }: {
2
+ token: any;
3
+ }): import('swr').SWRResponse<any, any, any>;
@@ -0,0 +1 @@
1
+ export { default } from './SmsSetting';
@@ -9,3 +9,6 @@ export { default as About } from './About';
9
9
  export { default as FeesInfo } from './FeesInfo';
10
10
  export { default as PayrollSettings } from './PayrollSettings';
11
11
  export { default as PaymentGateway } from './PaymentGateway';
12
+ export { default as Sms } from './Sms';
13
+ export { default as SmsAlertSetting } from './SmsAlertSetting';
14
+ export { default as SmsSetting } from './SmsSetting';