@churchapps/helpers 1.2.23 → 1.2.25

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 (80) hide show
  1. package/dist/ApiHelper.js +4 -4
  2. package/dist/ApiHelper.js.map +1 -1
  3. package/dist/ArrayHelper.d.ts.map +1 -1
  4. package/dist/ArrayHelper.js.map +1 -1
  5. package/dist/CommonEnvironmentHelper.d.ts.map +1 -1
  6. package/dist/CommonEnvironmentHelper.js.map +1 -1
  7. package/dist/CurrencyHelper.js +3 -3
  8. package/dist/DateHelper.d.ts.map +1 -1
  9. package/dist/DateHelper.js +22 -22
  10. package/dist/DateHelper.js.map +1 -1
  11. package/dist/DonationHelper.d.ts.map +1 -1
  12. package/dist/DonationHelper.js +2 -2
  13. package/dist/DonationHelper.js.map +1 -1
  14. package/dist/ErrorHelper.d.ts.map +1 -1
  15. package/dist/ErrorHelper.js.map +1 -1
  16. package/dist/EventHelper.d.ts.map +1 -1
  17. package/dist/EventHelper.js +1 -1
  18. package/dist/EventHelper.js.map +1 -1
  19. package/dist/FileHelper.d.ts.map +1 -1
  20. package/dist/FileHelper.js +11 -9
  21. package/dist/FileHelper.js.map +1 -1
  22. package/dist/PersonHelper.d.ts.map +1 -1
  23. package/dist/PersonHelper.js +3 -3
  24. package/dist/PersonHelper.js.map +1 -1
  25. package/dist/PlanHelper.d.ts.map +1 -1
  26. package/dist/PlanHelper.js +1 -3
  27. package/dist/PlanHelper.js.map +1 -1
  28. package/dist/UniqueIdHelper.d.ts.map +1 -1
  29. package/dist/UniqueIdHelper.js +130 -7
  30. package/dist/UniqueIdHelper.js.map +1 -1
  31. package/dist/UserHelper.d.ts.map +1 -1
  32. package/dist/UserHelper.js.map +1 -1
  33. package/dist/contentProviders/LessonsContentProvider.d.ts.map +1 -1
  34. package/dist/contentProviders/LessonsContentProvider.js.map +1 -1
  35. package/dist/interfaces/Doing.d.ts +3 -0
  36. package/dist/interfaces/Doing.d.ts.map +1 -1
  37. package/dist/interfaces/Messaging.d.ts +21 -0
  38. package/dist/interfaces/Messaging.d.ts.map +1 -1
  39. package/dist/interfaces/Permissions.d.ts +9 -0
  40. package/dist/interfaces/Permissions.d.ts.map +1 -1
  41. package/dist/interfaces/Permissions.js +12 -21
  42. package/dist/interfaces/Permissions.js.map +1 -1
  43. package/package.json +13 -11
  44. package/.eslintrc.json +0 -29
  45. package/.github/FUNDING.yml +0 -1
  46. package/.prettierrc +0 -12
  47. package/.yarnrc.yml +0 -6
  48. package/scripts/build-cjs.js +0 -33
  49. package/src/ApiHelper.ts +0 -169
  50. package/src/AppearanceHelper.ts +0 -69
  51. package/src/ArrayHelper.ts +0 -157
  52. package/src/CommonEnvironmentHelper.ts +0 -104
  53. package/src/CurrencyHelper.ts +0 -66
  54. package/src/DateHelper.ts +0 -183
  55. package/src/DonationHelper.ts +0 -26
  56. package/src/ErrorHelper.ts +0 -39
  57. package/src/EventHelper.ts +0 -84
  58. package/src/FileHelper.ts +0 -55
  59. package/src/PersonHelper.ts +0 -82
  60. package/src/PlanHelper.ts +0 -137
  61. package/src/UniqueIdHelper.ts +0 -36
  62. package/src/UserHelper.ts +0 -62
  63. package/src/contentProviders/ContentProvider.ts +0 -15
  64. package/src/contentProviders/LessonsContentProvider.ts +0 -279
  65. package/src/contentProviders/index.ts +0 -2
  66. package/src/index.ts +0 -16
  67. package/src/interfaces/Access.ts +0 -138
  68. package/src/interfaces/Attendance.ts +0 -45
  69. package/src/interfaces/Content.ts +0 -84
  70. package/src/interfaces/Doing.ts +0 -139
  71. package/src/interfaces/Donation.ts +0 -193
  72. package/src/interfaces/Error.ts +0 -17
  73. package/src/interfaces/Lessons.ts +0 -61
  74. package/src/interfaces/Membership.ts +0 -184
  75. package/src/interfaces/Messaging.ts +0 -96
  76. package/src/interfaces/Permissions.ts +0 -92
  77. package/src/interfaces/Reporting.ts +0 -41
  78. package/src/interfaces/UserContextInterface.ts +0 -13
  79. package/src/interfaces/index.ts +0 -14
  80. package/tsconfig.json +0 -36
@@ -1,139 +0,0 @@
1
- export interface ActionInterface {
2
- id?: string;
3
- automationId?: string;
4
- actionType?: string;
5
- actionData?: string;
6
- }
7
- export interface AutomationInterface {
8
- id?: string;
9
- title: string;
10
- recurs: string;
11
- active: boolean;
12
- }
13
- export interface ConditionInterface {
14
- id?: string;
15
- conjunctionId?: string;
16
- field?: string;
17
- fieldData?: string;
18
- operator?: string;
19
- value?: string;
20
- label?: string;
21
- }
22
- export interface ConjunctionInterface {
23
- id?: string;
24
- automationId?: string;
25
- parentId?: string;
26
- groupType?: string;
27
- conjunctions?: ConjunctionInterface[];
28
- conditions?: ConditionInterface[];
29
- }
30
- export interface TaskInterface {
31
- id?: string;
32
- taskNumber?: number;
33
- taskType?: string;
34
- dateCreated?: Date;
35
- dateClosed?: Date;
36
- associatedWithType?: string;
37
- associatedWithId?: string;
38
- associatedWithLabel?: string;
39
- createdByType?: string;
40
- createdById?: string;
41
- createdByLabel?: string;
42
- assignedToType?: string;
43
- assignedToId?: string;
44
- assignedToLabel?: string;
45
- title?: string;
46
- status?: string;
47
- automationId?: string;
48
- conversationId?: string;
49
- data?: string;
50
- }
51
-
52
- export interface PlanInterface {
53
- id?: string;
54
- churchId?: string;
55
- name?: string;
56
- ministryId?: string;
57
- serviceDate?: Date;
58
- notes?: string;
59
- contentType?: string;
60
- contentId?: string;
61
- // Content provider fields
62
- providerId?: string;
63
- providerPlanId?: string; // Path to the content in the provider
64
- providerPlanName?: string;
65
- }
66
- export interface PositionInterface {
67
- id?: string;
68
- churchId?: string;
69
- planId?: string;
70
- categoryName?: string;
71
- name?: string;
72
- count?: number;
73
- groupId?: string;
74
- }
75
- export interface AssignmentInterface {
76
- id?: string;
77
- churchId?: string;
78
- positionId?: string;
79
- personId?: string;
80
- status?: string;
81
- notified?: Date;
82
- }
83
- export interface TimeInterface {
84
- id?: string;
85
- churchId?: string;
86
- planId?: string;
87
- displayName?: string;
88
- startTime?: Date;
89
- endTime?: Date;
90
- teams?: string;
91
- teamList?: string[];
92
- }
93
- export interface BlockoutDateInterface {
94
- id?: string;
95
- churchId?: string;
96
- personId?: string;
97
- startDate?: Date;
98
- endDate?: Date;
99
- }
100
-
101
- export interface ExternalVenueRefInterface {
102
- externalProviderId: string;
103
- programId: string;
104
- studyId: string;
105
- lessonId: string;
106
- venueId: string;
107
- }
108
-
109
- export interface ContentFileInterface {
110
- id?: string;
111
- name?: string;
112
- url?: string;
113
- fileType?: string; // "image", "video", "audio", "document"
114
- seconds?: number;
115
- }
116
-
117
- export interface PlanItemContentInterface {
118
- provider: string; // "lessons", "songs", "media", "church"
119
- embedUrl?: string; // URL for iframe embed
120
- html?: string; // Raw HTML content
121
- files?: ContentFileInterface[];
122
- metadata?: Record<string, any>; // Provider-specific data
123
- }
124
-
125
- export interface PlanItemInterface {
126
- id?: string;
127
- planId?: string;
128
- parentId?: string;
129
- sort?: number;
130
- itemType?: string; // "header", "song", "lessonAction", "lessonAddOn", "lessonSection", "item"
131
- relatedId?: string;
132
- label?: string;
133
- description?: string;
134
- seconds?: number;
135
- link?: string;
136
- children?: PlanItemInterface[];
137
- content?: PlanItemContentInterface; // Populated by PlanHelper
138
- providerId?: string; // Provider that owns this item's content
139
- }
@@ -1,193 +0,0 @@
1
- import { PersonInterface } from "./index.js";
2
-
3
- export type DonationStatus = "pending" | "complete" | "failed";
4
-
5
- export interface DonationBatchInterface {
6
- id?: string;
7
- name?: string;
8
- batchDate?: string; // YYYY-MM-DD format - date-only field
9
- donationCount?: number;
10
- totalAmount?: number;
11
- }
12
- export interface DonationInterface {
13
- id?: string;
14
- batchId?: string;
15
- personId?: string;
16
- donationDate?: string; // YYYY-MM-DD format - date-only field
17
- amount?: number;
18
- method?: string;
19
- methodDetails?: string;
20
- notes?: string;
21
- status?: DonationStatus;
22
- person?: PersonInterface;
23
- fund?: FundInterface;
24
- }
25
- export interface DonationSummaryInterface {
26
- week: number;
27
- donations?: DonationSummaryDonation[];
28
- }
29
- export interface DonationSummaryDonation {
30
- totalAmount: number;
31
- fund?: FundInterface;
32
- }
33
- export interface FundInterface {
34
- id: string;
35
- name: string;
36
- taxDeductible?: boolean;
37
- amount?: number;
38
- }
39
- export interface FundDonationInterface {
40
- id?: string;
41
- donationId?: string;
42
- fundId?: string;
43
- amount?: number;
44
- donation?: DonationInterface;
45
- }
46
- export interface PaymentMethodInterface {
47
- id?: string;
48
- churchId?: string;
49
- personId?: string;
50
- customerId?: string;
51
- email?: string;
52
- name?: string;
53
- provider?: "stripe" | "paypal";
54
- type?: "card" | "bank" | "paypal";
55
- last4?: string;
56
- gatewayId?: string;
57
- }
58
- export interface StripeCardUpdateInterface {
59
- paymentMethodId: string;
60
- cardData: StripeCardDataInterface;
61
- personId?: string;
62
- }
63
- export interface StripeCardDataInterface {
64
- card: StripeCardExpirationInterface;
65
- }
66
- export interface StripeCardExpirationInterface {
67
- exp_month: string;
68
- exp_year: string;
69
- }
70
- export interface StripeBankAccountInterface {
71
- account_holder_name: any;
72
- account_holder_type: any;
73
- country: string;
74
- currency: string;
75
- account_number: any;
76
- routing_number: any;
77
- }
78
- export interface StripeBankAccountUpdateInterface {
79
- paymentMethodId: string;
80
- customerId: string;
81
- personId?: string;
82
- bankData: StripeBankAccountHolderDataInterface;
83
- }
84
- export interface StripeBankAccountHolderDataInterface {
85
- account_holder_name: string;
86
- account_holder_type: string;
87
- }
88
- export interface StripeBankAccountVerifyInterface {
89
- customerId: string;
90
- paymentMethodId: string;
91
- amountData: { amounts: string[] };
92
- }
93
- export interface StripePersonDonationInterface {
94
- id: string;
95
- email: string;
96
- name: string;
97
- }
98
- export interface StripeFundDonationInterface {
99
- id: string;
100
- amount: number;
101
- name?: string;
102
- }
103
- export interface StripeDonationInterface {
104
- id?: string;
105
- type?: string;
106
- amount?: number;
107
- customerId?: string;
108
- billing_cycle_anchor?: number;
109
- proration_behavior?: string;
110
- interval?: StripeDonationIntervalInterface;
111
- person?: StripePersonDonationInterface;
112
- funds?: StripeFundDonationInterface[];
113
- notes?: string;
114
- churchId?: string;
115
- }
116
- export interface StripeDonationIntervalInterface {
117
- interval: string;
118
- interval_count: number;
119
- }
120
- export interface SubscriptionInterface {
121
- id: string;
122
- funds: [];
123
- billing_cycle_anchor: number;
124
- default_payment_method: string;
125
- default_source: string;
126
- plan: { amount: number; interval: string; interval_count: number };
127
- customer: string;
128
- gatewayId?: string;
129
- }
130
-
131
- export interface PayPalPaymentMethodInterface {
132
- id: string;
133
- type: "paypal";
134
- name: string;
135
- last4?: string;
136
- email?: string;
137
- }
138
-
139
- export interface PayPalDonationInterface {
140
- gatewayId?: string;
141
- }
142
-
143
- export interface PaymentGatewayInterface {
144
- id: string;
145
- provider: "stripe" | "paypal";
146
- publicKey: string;
147
- enabled: boolean;
148
- }
149
-
150
- export interface MultiGatewayDonationInterface {
151
- id: string;
152
- type: "card" | "bank" | "paypal";
153
- provider: "stripe" | "paypal";
154
- customerId?: string;
155
- person?: {
156
- id?: string;
157
- email?: string;
158
- name?: string;
159
- };
160
- amount: number;
161
- billing_cycle_anchor?: number;
162
- interval?: {
163
- interval_count: number;
164
- interval: string;
165
- };
166
- funds?: FundDonationInterface[];
167
- notes?: string;
168
- gatewayId?: string;
169
- }
170
-
171
- export class StripePaymentMethod {
172
- id: string;
173
- type: string;
174
- name: string;
175
- last4: string;
176
- exp_month?: string;
177
- exp_year?: string;
178
- status?: string;
179
- account_holder_name?: string;
180
- account_holder_type?: string;
181
-
182
- constructor(obj?: any) {
183
- this.id = obj?.id || null;
184
- this.type = obj?.type || (obj?.object && obj.object === "bank_account" ? "bank" : null);
185
- this.name = obj?.card?.brand || obj?.bank_name || null;
186
- this.last4 = obj?.last4 || obj?.card?.last4 || null;
187
- this.exp_month = obj?.exp_month || obj?.card?.exp_month || null;
188
- this.exp_year = obj?.exp_year || obj?.card?.exp_year || null;
189
- this.status = obj?.status || null;
190
- this.account_holder_name = obj?.account_holder_name || "";
191
- this.account_holder_type = obj?.account_holder_type || "individual";
192
- }
193
- }
@@ -1,17 +0,0 @@
1
- export interface ErrorLogInterface {
2
- application?: string;
3
- errorTime?: Date;
4
- userId?: string;
5
- churchId?: string;
6
- originUrl?: string;
7
- errorType?: string;
8
- message?: string;
9
- details?: string;
10
- }
11
-
12
- export interface ErrorAppDataInterface {
13
- churchId: string;
14
- userId: string;
15
- originUrl: string;
16
- application: string;
17
- }
@@ -1,61 +0,0 @@
1
- // Interfaces for Lessons API responses (tree structures)
2
-
3
- export interface LessonActionInterface {
4
- id: string;
5
- name: string;
6
- actionType: string;
7
- roleName?: string;
8
- seconds?: number;
9
- }
10
-
11
- export interface LessonSectionInterface {
12
- id: string;
13
- name: string;
14
- actions?: LessonActionInterface[];
15
- }
16
-
17
- export interface LessonVenueInterface {
18
- id: string;
19
- name: string;
20
- sections?: LessonSectionInterface[];
21
- }
22
-
23
- export interface LessonInfoInterface {
24
- id: string;
25
- name: string;
26
- venues?: LessonVenueInterface[];
27
- }
28
-
29
- export interface LessonStudyInterface {
30
- id: string;
31
- name: string;
32
- lessons?: LessonInfoInterface[];
33
- }
34
-
35
- export interface LessonProgramInterface {
36
- id: string;
37
- name: string;
38
- studies?: LessonStudyInterface[];
39
- }
40
-
41
- // Response from /lessons/public/tree
42
- export interface LessonTreeInterface {
43
- programs?: LessonProgramInterface[];
44
- }
45
-
46
- // Response from /lessons/public/actionTree (same structure as LessonTreeInterface)
47
- export interface LessonActionTreeInterface {
48
- programs?: LessonProgramInterface[];
49
- }
50
-
51
- // Response from /venues/public/actions/{id}
52
- export interface VenueActionResponseInterface {
53
- venueName?: string;
54
- sections?: LessonSectionInterface[];
55
- }
56
-
57
- // Response from /venues/public/planItems/{id}
58
- export interface VenuePlanItemsResponseInterface {
59
- venueName?: string;
60
- items?: import("./Doing.js").PlanItemInterface[];
61
- }
@@ -1,184 +0,0 @@
1
- export interface AnswerInterface {
2
- id?: string;
3
- value?: string;
4
- questionId?: string;
5
- formSubmissionId?: string;
6
- required?: boolean;
7
- }
8
- export interface CampusInterface {
9
- id?: string;
10
- name?: string;
11
- }
12
- export interface ContactInfoInterface {
13
- address1?: string;
14
- address2?: string;
15
- city?: string;
16
- state?: string;
17
- zip?: string;
18
- homePhone?: string;
19
- mobilePhone?: string;
20
- workPhone?: string;
21
- email?: string;
22
- pager?: string;
23
- fax?: string;
24
- skype?: string;
25
- workEmail?: string;
26
- }
27
- export interface FormInterface {
28
- id?: string;
29
- name?: string;
30
- contentType?: string;
31
- restricted?: boolean;
32
- accessStartTime?: Date;
33
- accessEndTime?: Date;
34
- archived: boolean;
35
- action?: string;
36
- }
37
- export interface FormSubmissionInterface {
38
- id?: string;
39
- formId?: string;
40
- contentType?: string;
41
- contentId?: string;
42
- form?: FormInterface;
43
- answers?: AnswerInterface[];
44
- questions?: QuestionInterface[];
45
- }
46
- export interface GroupInterface {
47
- id?: string;
48
- name?: string;
49
- categoryName?: string;
50
- memberCount?: number;
51
- trackAttendance?: boolean;
52
- parentPickup?: boolean;
53
- printNametag?: boolean;
54
- about?: string;
55
- photoUrl?: string;
56
- tags?: string;
57
- meetingTime?: string;
58
- meetingLocation?: string;
59
- labelArray?: string[];
60
- slug?: string;
61
- }
62
- export interface GroupMemberInterface {
63
- id?: string;
64
- personId: string;
65
- person?: PersonInterface;
66
- groupId: string;
67
- group?: GroupInterface;
68
- leader?: boolean;
69
- }
70
- export interface GroupServiceTimeInterface {
71
- id?: string;
72
- groupId?: string;
73
- serviceTimeId?: string;
74
- serviceTime?: ServiceTimeInterface;
75
- }
76
- export interface HouseholdInterface {
77
- id?: string;
78
- name?: string;
79
- }
80
- export interface HouseholdMemberInterface {
81
- id?: string;
82
- householdId?: string;
83
- household?: HouseholdInterface;
84
- personId?: string;
85
- person?: PersonInterface;
86
- role?: string;
87
- }
88
- export interface NameInterface {
89
- first?: string;
90
- middle?: string;
91
- last?: string;
92
- nick?: string;
93
- display?: string;
94
- title?: string;
95
- suffix?: string;
96
- }
97
- export interface SearchCondition {
98
- field: string;
99
- operator: string;
100
- value: string;
101
- }
102
- export interface VisibilityPreferenceInterface {
103
- id?: string;
104
- churchId?: string;
105
- personId?: string;
106
- address?: string;
107
- phoneNumber?: string;
108
- email?: string;
109
- }
110
-
111
- export interface PersonInterface {
112
- id?: string;
113
- name: NameInterface;
114
- contactInfo: ContactInfoInterface;
115
- membershipStatus?: string;
116
- gender?: string;
117
- birthDate?: string; // YYYY-MM-DD format - date-only field
118
- maritalStatus?: string;
119
- anniversary?: string; // YYYY-MM-DD format - date-only field
120
- photo?: string;
121
- photoUpdated?: Date;
122
- householdId?: string;
123
- householdRole?: string;
124
- userId?: string;
125
- school?: string;
126
- grade?: string;
127
- graduationDate?: string;
128
- employer?: string;
129
- formSubmissions?: [FormSubmissionInterface];
130
- child?: boolean;
131
- inactiveReason?: string;
132
- inactiveDate?: Date;
133
- servicesUser?: boolean;
134
- calendarUser?: boolean;
135
- checkInsUser?: boolean;
136
- registrationsUser?: boolean;
137
- givingUser?: boolean;
138
- groupsUser?: boolean;
139
- conversationId?: string;
140
- optedOut?: boolean;
141
- nametagNotes?: string;
142
- donorNumber?: string;
143
- }
144
- export interface QuestionInterface {
145
- id?: string;
146
- formId?: string;
147
- title?: string;
148
- fieldType?: string;
149
- placeholder?: string;
150
- description?: string;
151
- required?: boolean;
152
- choices?: [{ value?: string; text?: string }];
153
- }
154
- export interface ServiceInterface {
155
- id?: string;
156
- campusId?: string;
157
- name?: string;
158
- campus?: CampusInterface;
159
- }
160
- export interface ServiceTimeInterface {
161
- id?: string;
162
- name?: string;
163
- longName?: string;
164
- serviceId?: string;
165
- groups?: GroupInterface[];
166
- }
167
- export interface MemberPermissionInterface {
168
- id?: string;
169
- churchId?: string;
170
- memberId?: string;
171
- contentType?: string;
172
- contentId?: string;
173
- action?: string;
174
- personName: string;
175
- formName?: string;
176
- emailNotification?: boolean;
177
- }
178
- export interface FormMemberInterface {
179
- person?: PersonInterface;
180
- access?: string;
181
- }
182
- export interface FormMemberListInterface {
183
- members?: FormMemberInterface[];
184
- }
@@ -1,96 +0,0 @@
1
- import { PersonInterface } from "./Membership.js";
2
-
3
- export interface ConnectionInterface {
4
- id?: string;
5
- churchId?: string;
6
- conversationId?: string;
7
- personId?: string;
8
- displayName?: string;
9
- timeJoined?: Date;
10
- socketId?: string;
11
- ipAddress?: string;
12
- }
13
- export interface ConversationInterface {
14
- id?: string;
15
- churchId?: string;
16
- contentType?: string;
17
- contentId?: string;
18
- title?: string;
19
- dateCreated?: Date;
20
- groupId?: string;
21
- visibility?: string;
22
- firstPostId?: string;
23
- lastPostId?: string;
24
- postCount?: number;
25
- allowAnonymousPosts?: boolean;
26
- messages?: MessageInterface[];
27
- }
28
- export interface MessageInterface {
29
- id?: string;
30
- churchId?: string;
31
- conversationId?: string;
32
- personId?: string;
33
- displayName?: string;
34
- timeSent?: Date;
35
- timeUpdated?: Date;
36
- messageType?: string;
37
- content?: string;
38
- person?: PersonInterface;
39
- }
40
- export interface NotificationInterface {
41
- id?: string;
42
- churchId?: string;
43
- personId?: string;
44
- contentType?: string;
45
- contentId: string;
46
- timeSent?: Date;
47
- isNew: boolean;
48
- message?: string;
49
- link?: string;
50
- deliveryMethod?: string;
51
- }
52
- export interface NotificationPreferenceInterface {
53
- id?: string;
54
- churchId?: string;
55
- personId?: string;
56
- allowPush: boolean;
57
- emailFrequency: string;
58
- }
59
- export interface PrivateMessageInterface {
60
- id?: string;
61
- churchId?: string;
62
- fromPersonId?: string;
63
- toPersonId?: string;
64
- conversationId?: string;
65
- notifyPersonId?: string;
66
- conversation?: ConversationInterface;
67
- person?: PersonInterface;
68
- deliveryMethod?: string;
69
- }
70
- export interface BlockedIpInterface {
71
- id?: string;
72
- churchId?: string;
73
- conversationId?: string;
74
- serviceId?: string;
75
- ipAddress?: string;
76
- }
77
- export interface SocketActionHandlerInterface {
78
- action: string;
79
- id: string;
80
- handleMessage: (data: any) => void;
81
- }
82
- export type SocketPayloadAction =
83
- | "message"
84
- | "deleteMessage"
85
- | "callout"
86
- | "attendance"
87
- | "prayerRequest"
88
- | "socketId"
89
- | "privateMessage"
90
- | "privateRoomAdded"
91
- | "videoChatInvite"
92
- | "reconnect";
93
- export interface SocketPayloadInterface {
94
- action: SocketPayloadAction;
95
- data: any;
96
- }