simpleloan_api 1.1.24 → 1.1.26

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
@@ -479,6 +479,7 @@ type CustomerFields = {
479
479
  akbars_add_kind_private_practice: string;
480
480
  work_address_actual: Address;
481
481
  add_work_address_actual: Address;
482
+ akbars_online_registration: boolean;
482
483
  };
483
484
  type Customer = CustomerFields & CustomerMeta;
484
485
 
@@ -1038,19 +1039,23 @@ declare const useUpdateChatmessage: () => {
1038
1039
  declare const useGetChatmessageList: () => {
1039
1040
  readonly response: vue.Ref<ApiResponse<Chatmessage[]> | null>;
1040
1041
  readonly pending: vue.Ref<boolean>;
1041
- post(params?: PostParamsWithoutBody): Promise<ApiResponse<Chatmessage[]> | null>;
1042
+ post(params: PostParams<{
1043
+ salespoint_id: number;
1044
+ }>): Promise<ApiResponse<Chatmessage[]> | null>;
1042
1045
  };
1043
1046
  /** Получить список тредов в чате поддержки */
1044
1047
  declare const useGetChatmessageThreads: () => {
1045
- readonly response: vue.Ref<ApiResponse<ChatmessageThread> | null>;
1048
+ readonly response: vue.Ref<ApiResponse<ChatmessageThread[]> | null>;
1046
1049
  readonly pending: vue.Ref<boolean>;
1047
- post(params?: PostParamsWithoutBody): Promise<ApiResponse<ChatmessageThread> | null>;
1050
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<ChatmessageThread[]> | null>;
1048
1051
  };
1049
1052
  /** Отметить сообщение как прочитанное в чате поддержки */
1050
1053
  declare const useReadChatmessage: () => {
1051
- readonly response: vue.Ref<ApiResponse<ChatmessageThread> | null>;
1054
+ readonly response: vue.Ref<ApiResponse<Chatmessage> | null>;
1052
1055
  readonly pending: vue.Ref<boolean>;
1053
- post(params?: PostParamsWithoutBody): Promise<ApiResponse<ChatmessageThread> | null>;
1056
+ post(params: PostParams<{
1057
+ id: number;
1058
+ }>): Promise<ApiResponse<Chatmessage> | null>;
1054
1059
  };
1055
1060
  /** Удалить сообщение из чата поддержки */
1056
1061
  declare const useDeleteChatmessage: () => {
package/dist/index.d.ts CHANGED
@@ -479,6 +479,7 @@ type CustomerFields = {
479
479
  akbars_add_kind_private_practice: string;
480
480
  work_address_actual: Address;
481
481
  add_work_address_actual: Address;
482
+ akbars_online_registration: boolean;
482
483
  };
483
484
  type Customer = CustomerFields & CustomerMeta;
484
485
 
@@ -1038,19 +1039,23 @@ declare const useUpdateChatmessage: () => {
1038
1039
  declare const useGetChatmessageList: () => {
1039
1040
  readonly response: vue.Ref<ApiResponse<Chatmessage[]> | null>;
1040
1041
  readonly pending: vue.Ref<boolean>;
1041
- post(params?: PostParamsWithoutBody): Promise<ApiResponse<Chatmessage[]> | null>;
1042
+ post(params: PostParams<{
1043
+ salespoint_id: number;
1044
+ }>): Promise<ApiResponse<Chatmessage[]> | null>;
1042
1045
  };
1043
1046
  /** Получить список тредов в чате поддержки */
1044
1047
  declare const useGetChatmessageThreads: () => {
1045
- readonly response: vue.Ref<ApiResponse<ChatmessageThread> | null>;
1048
+ readonly response: vue.Ref<ApiResponse<ChatmessageThread[]> | null>;
1046
1049
  readonly pending: vue.Ref<boolean>;
1047
- post(params?: PostParamsWithoutBody): Promise<ApiResponse<ChatmessageThread> | null>;
1050
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<ChatmessageThread[]> | null>;
1048
1051
  };
1049
1052
  /** Отметить сообщение как прочитанное в чате поддержки */
1050
1053
  declare const useReadChatmessage: () => {
1051
- readonly response: vue.Ref<ApiResponse<ChatmessageThread> | null>;
1054
+ readonly response: vue.Ref<ApiResponse<Chatmessage> | null>;
1052
1055
  readonly pending: vue.Ref<boolean>;
1053
- post(params?: PostParamsWithoutBody): Promise<ApiResponse<ChatmessageThread> | null>;
1056
+ post(params: PostParams<{
1057
+ id: number;
1058
+ }>): Promise<ApiResponse<Chatmessage> | null>;
1054
1059
  };
1055
1060
  /** Удалить сообщение из чата поддержки */
1056
1061
  declare const useDeleteChatmessage: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",