simpleloan_api 1.2.3 → 1.2.5

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: () => {
@@ -1298,7 +1298,7 @@ declare const useReadChatmessage: () => {
1298
1298
  readonly response: vue.Ref<ApiResponse<Chatmessage> | null>;
1299
1299
  readonly pending: vue.Ref<boolean>;
1300
1300
  post(params: PostParams<{
1301
- id: number;
1301
+ ids: number[];
1302
1302
  }>): Promise<ApiResponse<Chatmessage> | null>;
1303
1303
  };
1304
1304
  /** Удалить сообщение из чата поддержки */
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: () => {
@@ -1298,7 +1298,7 @@ declare const useReadChatmessage: () => {
1298
1298
  readonly response: vue.Ref<ApiResponse<Chatmessage> | null>;
1299
1299
  readonly pending: vue.Ref<boolean>;
1300
1300
  post(params: PostParams<{
1301
- id: number;
1301
+ ids: number[];
1302
1302
  }>): Promise<ApiResponse<Chatmessage> | null>;
1303
1303
  };
1304
1304
  /** Удалить сообщение из чата поддержки */
package/dist/index.js CHANGED
@@ -285,7 +285,7 @@ var useGetAbsolutbankPrintforms = () => useFetch(baseUrl + "printforms/get_list/
285
285
  var useConfirmAbsolutbank = () => useFetch(baseUrl + "confirm/");
286
286
  var useCancelAbsolutbank = () => useFetch(baseUrl + "cancel/");
287
287
  var useCloneAbsolutbank = () => useFetch(baseUrl + "app/clone/");
288
- var useGenerateAbsolutbankScansApplications = () => useFetch("absolut/scans/applications/generate/");
288
+ var useGenerateAbsolutbankScansApplications = () => useFetch(baseUrl + "scans/applications/generate/");
289
289
 
290
290
  // src/repositories/account/index.ts
291
291
  var baseUrl2 = "account/";
package/dist/index.mjs CHANGED
@@ -120,7 +120,7 @@ var useGetAbsolutbankPrintforms = () => useFetch(baseUrl + "printforms/get_list/
120
120
  var useConfirmAbsolutbank = () => useFetch(baseUrl + "confirm/");
121
121
  var useCancelAbsolutbank = () => useFetch(baseUrl + "cancel/");
122
122
  var useCloneAbsolutbank = () => useFetch(baseUrl + "app/clone/");
123
- var useGenerateAbsolutbankScansApplications = () => useFetch("absolut/scans/applications/generate/");
123
+ var useGenerateAbsolutbankScansApplications = () => useFetch(baseUrl + "scans/applications/generate/");
124
124
 
125
125
  // src/repositories/account/index.ts
126
126
  var baseUrl2 = "account/";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",