simpleloan_api 1.2.4 → 1.2.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.
package/dist/index.d.mts CHANGED
@@ -1275,9 +1275,9 @@ type MessageUpdateWithGroupId = MessageUpdateBase & {
1275
1275
  };
1276
1276
  /** Добавить сообщение в чат поддержки */
1277
1277
  declare const useUpdateChatmessage: () => {
1278
- readonly response: vue.Ref<ApiResponse<Chatmessage> | null>;
1278
+ readonly response: vue.Ref<ApiResponse<Chatmessage[]> | null>;
1279
1279
  readonly pending: vue.Ref<boolean>;
1280
- post(params: PostParams<MessageUpdateWithSalespointIds | MessageUpdateWithGroupId>): Promise<ApiResponse<Chatmessage> | null>;
1280
+ post(params: PostParams<MessageUpdateWithSalespointIds | MessageUpdateWithGroupId>): Promise<ApiResponse<Chatmessage[]> | null>;
1281
1281
  };
1282
1282
  /** Получить список сообщений в чате поддержки */
1283
1283
  declare const useGetChatmessageList: () => {
@@ -1295,11 +1295,11 @@ declare const useGetChatmessageThreads: () => {
1295
1295
  };
1296
1296
  /** Отметить сообщение как прочитанное в чате поддержки */
1297
1297
  declare const useReadChatmessage: () => {
1298
- readonly response: vue.Ref<ApiResponse<Chatmessage> | null>;
1298
+ readonly response: vue.Ref<ApiResponse<Chatmessage[]> | null>;
1299
1299
  readonly pending: vue.Ref<boolean>;
1300
1300
  post(params: PostParams<{
1301
- id: number;
1302
- }>): Promise<ApiResponse<Chatmessage> | null>;
1301
+ ids: number[];
1302
+ }>): Promise<ApiResponse<Chatmessage[]> | null>;
1303
1303
  };
1304
1304
  /** Удалить сообщение из чата поддержки */
1305
1305
  declare const useDeleteChatmessage: () => {
package/dist/index.d.ts CHANGED
@@ -1275,9 +1275,9 @@ type MessageUpdateWithGroupId = MessageUpdateBase & {
1275
1275
  };
1276
1276
  /** Добавить сообщение в чат поддержки */
1277
1277
  declare const useUpdateChatmessage: () => {
1278
- readonly response: vue.Ref<ApiResponse<Chatmessage> | null>;
1278
+ readonly response: vue.Ref<ApiResponse<Chatmessage[]> | null>;
1279
1279
  readonly pending: vue.Ref<boolean>;
1280
- post(params: PostParams<MessageUpdateWithSalespointIds | MessageUpdateWithGroupId>): Promise<ApiResponse<Chatmessage> | null>;
1280
+ post(params: PostParams<MessageUpdateWithSalespointIds | MessageUpdateWithGroupId>): Promise<ApiResponse<Chatmessage[]> | null>;
1281
1281
  };
1282
1282
  /** Получить список сообщений в чате поддержки */
1283
1283
  declare const useGetChatmessageList: () => {
@@ -1295,11 +1295,11 @@ declare const useGetChatmessageThreads: () => {
1295
1295
  };
1296
1296
  /** Отметить сообщение как прочитанное в чате поддержки */
1297
1297
  declare const useReadChatmessage: () => {
1298
- readonly response: vue.Ref<ApiResponse<Chatmessage> | null>;
1298
+ readonly response: vue.Ref<ApiResponse<Chatmessage[]> | null>;
1299
1299
  readonly pending: vue.Ref<boolean>;
1300
1300
  post(params: PostParams<{
1301
- id: number;
1302
- }>): Promise<ApiResponse<Chatmessage> | null>;
1301
+ ids: number[];
1302
+ }>): Promise<ApiResponse<Chatmessage[]> | null>;
1303
1303
  };
1304
1304
  /** Удалить сообщение из чата поддержки */
1305
1305
  declare const useDeleteChatmessage: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",