theragist-ts 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/message.d.ts +86 -0
- package/dist/admin/message.js +1315 -15
- package/dist/admin/service.d.ts +49 -1
- package/dist/admin/service.js +229 -0
- package/dist/auth/message.d.ts +1 -0
- package/dist/auth/message.js +17 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +29 -20
- package/dist/user/message.d.ts +3 -0
- package/dist/user/message.js +51 -3
- package/dist/websocket/message.d.ts +0 -3
- package/dist/workspace/message.d.ts +16 -0
- package/dist/workspace/message.js +246 -7
- package/package.json +1 -1
package/dist/admin/message.d.ts
CHANGED
|
@@ -464,6 +464,8 @@ export interface ListAdminNotificationsRequest {
|
|
|
464
464
|
limit: number;
|
|
465
465
|
priority: string;
|
|
466
466
|
status: string;
|
|
467
|
+
sortBy: string;
|
|
468
|
+
orderBy: string;
|
|
467
469
|
}
|
|
468
470
|
export interface ListAdminNotificationsResponse {
|
|
469
471
|
notifications: AdminNotification[];
|
|
@@ -1053,6 +1055,12 @@ export interface AdminPushDeliveryResult {
|
|
|
1053
1055
|
success: boolean;
|
|
1054
1056
|
error: string;
|
|
1055
1057
|
}
|
|
1058
|
+
export interface AdminSavedDeviceToken {
|
|
1059
|
+
token: string;
|
|
1060
|
+
tokenType: string;
|
|
1061
|
+
platform: string;
|
|
1062
|
+
isActive: boolean;
|
|
1063
|
+
}
|
|
1056
1064
|
export interface AdminTestPushNotificationRequest {
|
|
1057
1065
|
userId: string;
|
|
1058
1066
|
deviceToken: string;
|
|
@@ -1078,6 +1086,42 @@ export interface AdminTestPushNotificationResponse {
|
|
|
1078
1086
|
failureCount: number;
|
|
1079
1087
|
results: AdminPushDeliveryResult[];
|
|
1080
1088
|
sentAt: string;
|
|
1089
|
+
savedTokens: AdminSavedDeviceToken[];
|
|
1090
|
+
}
|
|
1091
|
+
export interface AdminTestCallNotificationRequest {
|
|
1092
|
+
userId: string;
|
|
1093
|
+
deviceToken: string;
|
|
1094
|
+
tokenType: string;
|
|
1095
|
+
provider: string;
|
|
1096
|
+
title: string;
|
|
1097
|
+
body: string;
|
|
1098
|
+
data: {
|
|
1099
|
+
[key: string]: string;
|
|
1100
|
+
};
|
|
1101
|
+
sound: string;
|
|
1102
|
+
badge: number;
|
|
1103
|
+
callerId: string;
|
|
1104
|
+
callerName: string;
|
|
1105
|
+
callerAvatar: string;
|
|
1106
|
+
roomId: string;
|
|
1107
|
+
roomName: string;
|
|
1108
|
+
roomType: string;
|
|
1109
|
+
callType: string;
|
|
1110
|
+
expiresAt: string;
|
|
1111
|
+
}
|
|
1112
|
+
export interface AdminTestCallNotificationRequest_DataEntry {
|
|
1113
|
+
key: string;
|
|
1114
|
+
value: string;
|
|
1115
|
+
}
|
|
1116
|
+
export interface AdminTestCallNotificationResponse {
|
|
1117
|
+
provider: string;
|
|
1118
|
+
userId: string;
|
|
1119
|
+
targeted: number;
|
|
1120
|
+
successCount: number;
|
|
1121
|
+
failureCount: number;
|
|
1122
|
+
results: AdminPushDeliveryResult[];
|
|
1123
|
+
sentAt: string;
|
|
1124
|
+
savedTokens: AdminSavedDeviceToken[];
|
|
1081
1125
|
}
|
|
1082
1126
|
export interface AdminCreditUserWalletRequest {
|
|
1083
1127
|
id: string;
|
|
@@ -3539,6 +3583,39 @@ export interface AdminSupportTicketResponse {
|
|
|
3539
3583
|
updatedAt: string;
|
|
3540
3584
|
updatedBy: string;
|
|
3541
3585
|
}
|
|
3586
|
+
export interface AdminSupportTicketInteraction {
|
|
3587
|
+
id: string;
|
|
3588
|
+
ticketId: string;
|
|
3589
|
+
actorType: string;
|
|
3590
|
+
actorId: string;
|
|
3591
|
+
actorName: string;
|
|
3592
|
+
actorEmail: string;
|
|
3593
|
+
channel: string;
|
|
3594
|
+
message: string;
|
|
3595
|
+
createdAt: string;
|
|
3596
|
+
}
|
|
3597
|
+
export interface AdminListSupportTicketInteractionsRequest {
|
|
3598
|
+
id: string;
|
|
3599
|
+
pagination: BaseListRequest | undefined;
|
|
3600
|
+
}
|
|
3601
|
+
export interface AdminListSupportTicketInteractionsResponse {
|
|
3602
|
+
interactions: AdminSupportTicketInteraction[];
|
|
3603
|
+
}
|
|
3604
|
+
export interface AdminReplySupportTicketRequest {
|
|
3605
|
+
id: string;
|
|
3606
|
+
channel: string;
|
|
3607
|
+
message: string;
|
|
3608
|
+
}
|
|
3609
|
+
export interface AdminReplySupportTicketResponse {
|
|
3610
|
+
interaction: AdminSupportTicketInteraction | undefined;
|
|
3611
|
+
ticketStatus: string;
|
|
3612
|
+
ticketUpdatedAt: string;
|
|
3613
|
+
channelDeliverySuccess: boolean;
|
|
3614
|
+
channelDeliveryStatus: string;
|
|
3615
|
+
channelDeliveryError: string;
|
|
3616
|
+
notificationDispatchId: string;
|
|
3617
|
+
notificationWorkflowKey: string;
|
|
3618
|
+
}
|
|
3542
3619
|
export interface AdminBundle {
|
|
3543
3620
|
id: string;
|
|
3544
3621
|
creditsTc: number;
|
|
@@ -4292,9 +4369,13 @@ export declare const ListUserWarningsResponse: MessageFns<ListUserWarningsRespon
|
|
|
4292
4369
|
export declare const AdminSendMessageRequest: MessageFns<AdminSendMessageRequest>;
|
|
4293
4370
|
export declare const AdminSendMessageResponse: MessageFns<AdminSendMessageResponse>;
|
|
4294
4371
|
export declare const AdminPushDeliveryResult: MessageFns<AdminPushDeliveryResult>;
|
|
4372
|
+
export declare const AdminSavedDeviceToken: MessageFns<AdminSavedDeviceToken>;
|
|
4295
4373
|
export declare const AdminTestPushNotificationRequest: MessageFns<AdminTestPushNotificationRequest>;
|
|
4296
4374
|
export declare const AdminTestPushNotificationRequest_DataEntry: MessageFns<AdminTestPushNotificationRequest_DataEntry>;
|
|
4297
4375
|
export declare const AdminTestPushNotificationResponse: MessageFns<AdminTestPushNotificationResponse>;
|
|
4376
|
+
export declare const AdminTestCallNotificationRequest: MessageFns<AdminTestCallNotificationRequest>;
|
|
4377
|
+
export declare const AdminTestCallNotificationRequest_DataEntry: MessageFns<AdminTestCallNotificationRequest_DataEntry>;
|
|
4378
|
+
export declare const AdminTestCallNotificationResponse: MessageFns<AdminTestCallNotificationResponse>;
|
|
4298
4379
|
export declare const AdminCreditUserWalletRequest: MessageFns<AdminCreditUserWalletRequest>;
|
|
4299
4380
|
export declare const AdminCreditUserWalletResponse: MessageFns<AdminCreditUserWalletResponse>;
|
|
4300
4381
|
export declare const AdminBulkCreditUserWalletRequest: MessageFns<AdminBulkCreditUserWalletRequest>;
|
|
@@ -4615,6 +4696,11 @@ export declare const AdminListSupportTicketsRequest: MessageFns<AdminListSupport
|
|
|
4615
4696
|
export declare const AdminListSupportTicketsResponse: MessageFns<AdminListSupportTicketsResponse>;
|
|
4616
4697
|
export declare const AdminUpdateSupportTicketStatusRequest: MessageFns<AdminUpdateSupportTicketStatusRequest>;
|
|
4617
4698
|
export declare const AdminSupportTicketResponse: MessageFns<AdminSupportTicketResponse>;
|
|
4699
|
+
export declare const AdminSupportTicketInteraction: MessageFns<AdminSupportTicketInteraction>;
|
|
4700
|
+
export declare const AdminListSupportTicketInteractionsRequest: MessageFns<AdminListSupportTicketInteractionsRequest>;
|
|
4701
|
+
export declare const AdminListSupportTicketInteractionsResponse: MessageFns<AdminListSupportTicketInteractionsResponse>;
|
|
4702
|
+
export declare const AdminReplySupportTicketRequest: MessageFns<AdminReplySupportTicketRequest>;
|
|
4703
|
+
export declare const AdminReplySupportTicketResponse: MessageFns<AdminReplySupportTicketResponse>;
|
|
4618
4704
|
export declare const AdminBundle: MessageFns<AdminBundle>;
|
|
4619
4705
|
export declare const AdminListBundlesRequest: MessageFns<AdminListBundlesRequest>;
|
|
4620
4706
|
export declare const AdminListBundlesResponse: MessageFns<AdminListBundlesResponse>;
|