@libgot/whatsapp-bridge-sdk 1.0.32 → 1.0.34-rc.1

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.
@@ -39,15 +39,15 @@ export declare const ChatsApiAxiosParamCreator: (configuration?: Configuration)
39
39
  /**
40
40
  *
41
41
  * @param {number} branchId
42
- * @param {number} [userId]
43
- * @param {number} [currentPage]
44
- * @param {number} [rowsPerPage]
45
- * @param {boolean} [unread]
46
42
  * @param {string} [q]
43
+ * @param {boolean} [unread]
44
+ * @param {number} [rowsPerPage]
45
+ * @param {number} [currentPage]
46
+ * @param {number} [userId]
47
47
  * @param {*} [options] Override http request option.
48
48
  * @throws {RequiredError}
49
49
  */
50
- getChats: (branchId: number, userId?: number, currentPage?: number, rowsPerPage?: number, unread?: boolean, q?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
+ getChats: (branchId: number, q?: string, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
51
  /**
52
52
  *
53
53
  * @param {MarkChatUnreadDto} body
@@ -80,15 +80,15 @@ export declare const ChatsApiFp: (configuration?: Configuration) => {
80
80
  /**
81
81
  *
82
82
  * @param {number} branchId
83
- * @param {number} [userId]
84
- * @param {number} [currentPage]
85
- * @param {number} [rowsPerPage]
86
- * @param {boolean} [unread]
87
83
  * @param {string} [q]
84
+ * @param {boolean} [unread]
85
+ * @param {number} [rowsPerPage]
86
+ * @param {number} [currentPage]
87
+ * @param {number} [userId]
88
88
  * @param {*} [options] Override http request option.
89
89
  * @throws {RequiredError}
90
90
  */
91
- getChats(branchId: number, userId?: number, currentPage?: number, rowsPerPage?: number, unread?: boolean, q?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PaginationChatResponseDto>>>;
91
+ getChats(branchId: number, q?: string, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PaginationChatResponseDto>>>;
92
92
  /**
93
93
  *
94
94
  * @param {MarkChatUnreadDto} body
@@ -121,15 +121,15 @@ export declare const ChatsApiFactory: (configuration?: Configuration, basePath?:
121
121
  /**
122
122
  *
123
123
  * @param {number} branchId
124
- * @param {number} [userId]
125
- * @param {number} [currentPage]
126
- * @param {number} [rowsPerPage]
127
- * @param {boolean} [unread]
128
124
  * @param {string} [q]
125
+ * @param {boolean} [unread]
126
+ * @param {number} [rowsPerPage]
127
+ * @param {number} [currentPage]
128
+ * @param {number} [userId]
129
129
  * @param {*} [options] Override http request option.
130
130
  * @throws {RequiredError}
131
131
  */
132
- getChats(branchId: number, userId?: number, currentPage?: number, rowsPerPage?: number, unread?: boolean, q?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>>;
132
+ getChats(branchId: number, q?: string, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>>;
133
133
  /**
134
134
  *
135
135
  * @param {MarkChatUnreadDto} body
@@ -166,16 +166,16 @@ export declare class ChatsApi extends BaseAPI {
166
166
  /**
167
167
  *
168
168
  * @param {number} branchId
169
- * @param {number} [userId]
170
- * @param {number} [currentPage]
171
- * @param {number} [rowsPerPage]
172
- * @param {boolean} [unread]
173
169
  * @param {string} [q]
170
+ * @param {boolean} [unread]
171
+ * @param {number} [rowsPerPage]
172
+ * @param {number} [currentPage]
173
+ * @param {number} [userId]
174
174
  * @param {*} [options] Override http request option.
175
175
  * @throws {RequiredError}
176
176
  * @memberof ChatsApi
177
177
  */
178
- getChats(branchId: number, userId?: number, currentPage?: number, rowsPerPage?: number, unread?: boolean, q?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>>;
178
+ getChats(branchId: number, q?: string, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>>;
179
179
  /**
180
180
  *
181
181
  * @param {MarkChatUnreadDto} body