simpleloan_api 1.1.24 → 1.1.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.
- package/dist/index.d.mts +9 -5
- package/dist/index.d.ts +9 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1038,19 +1038,23 @@ declare const useUpdateChatmessage: () => {
|
|
|
1038
1038
|
declare const useGetChatmessageList: () => {
|
|
1039
1039
|
readonly response: vue.Ref<ApiResponse<Chatmessage[]> | null>;
|
|
1040
1040
|
readonly pending: vue.Ref<boolean>;
|
|
1041
|
-
post(params
|
|
1041
|
+
post(params: PostParams<{
|
|
1042
|
+
salespoint_id: number;
|
|
1043
|
+
}>): Promise<ApiResponse<Chatmessage[]> | null>;
|
|
1042
1044
|
};
|
|
1043
1045
|
/** Получить список тредов в чате поддержки */
|
|
1044
1046
|
declare const useGetChatmessageThreads: () => {
|
|
1045
|
-
readonly response: vue.Ref<ApiResponse<ChatmessageThread> | null>;
|
|
1047
|
+
readonly response: vue.Ref<ApiResponse<ChatmessageThread[]> | null>;
|
|
1046
1048
|
readonly pending: vue.Ref<boolean>;
|
|
1047
|
-
post(params?: PostParamsWithoutBody): Promise<ApiResponse<ChatmessageThread> | null>;
|
|
1049
|
+
post(params?: PostParamsWithoutBody): Promise<ApiResponse<ChatmessageThread[]> | null>;
|
|
1048
1050
|
};
|
|
1049
1051
|
/** Отметить сообщение как прочитанное в чате поддержки */
|
|
1050
1052
|
declare const useReadChatmessage: () => {
|
|
1051
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1053
|
+
readonly response: vue.Ref<ApiResponse<Chatmessage> | null>;
|
|
1052
1054
|
readonly pending: vue.Ref<boolean>;
|
|
1053
|
-
post(params
|
|
1055
|
+
post(params: PostParams<{
|
|
1056
|
+
id: number;
|
|
1057
|
+
}>): Promise<ApiResponse<Chatmessage> | null>;
|
|
1054
1058
|
};
|
|
1055
1059
|
/** Удалить сообщение из чата поддержки */
|
|
1056
1060
|
declare const useDeleteChatmessage: () => {
|
package/dist/index.d.ts
CHANGED
|
@@ -1038,19 +1038,23 @@ declare const useUpdateChatmessage: () => {
|
|
|
1038
1038
|
declare const useGetChatmessageList: () => {
|
|
1039
1039
|
readonly response: vue.Ref<ApiResponse<Chatmessage[]> | null>;
|
|
1040
1040
|
readonly pending: vue.Ref<boolean>;
|
|
1041
|
-
post(params
|
|
1041
|
+
post(params: PostParams<{
|
|
1042
|
+
salespoint_id: number;
|
|
1043
|
+
}>): Promise<ApiResponse<Chatmessage[]> | null>;
|
|
1042
1044
|
};
|
|
1043
1045
|
/** Получить список тредов в чате поддержки */
|
|
1044
1046
|
declare const useGetChatmessageThreads: () => {
|
|
1045
|
-
readonly response: vue.Ref<ApiResponse<ChatmessageThread> | null>;
|
|
1047
|
+
readonly response: vue.Ref<ApiResponse<ChatmessageThread[]> | null>;
|
|
1046
1048
|
readonly pending: vue.Ref<boolean>;
|
|
1047
|
-
post(params?: PostParamsWithoutBody): Promise<ApiResponse<ChatmessageThread> | null>;
|
|
1049
|
+
post(params?: PostParamsWithoutBody): Promise<ApiResponse<ChatmessageThread[]> | null>;
|
|
1048
1050
|
};
|
|
1049
1051
|
/** Отметить сообщение как прочитанное в чате поддержки */
|
|
1050
1052
|
declare const useReadChatmessage: () => {
|
|
1051
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1053
|
+
readonly response: vue.Ref<ApiResponse<Chatmessage> | null>;
|
|
1052
1054
|
readonly pending: vue.Ref<boolean>;
|
|
1053
|
-
post(params
|
|
1055
|
+
post(params: PostParams<{
|
|
1056
|
+
id: number;
|
|
1057
|
+
}>): Promise<ApiResponse<Chatmessage> | null>;
|
|
1054
1058
|
};
|
|
1055
1059
|
/** Удалить сообщение из чата поддержки */
|
|
1056
1060
|
declare const useDeleteChatmessage: () => {
|