@libgot/whatsapp-bridge-sdk 1.0.22 → 1.0.23

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @1.0.22
1
+ ## @1.0.23
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @libgot/whatsapp-bridge-sdk@1.0.22 --save
39
+ npm install @libgot/whatsapp-bridge-sdk@1.0.23 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/apis/chats-api.ts CHANGED
@@ -171,7 +171,7 @@ export const ChatsApiFp = function(configuration?: Configuration) {
171
171
  * @param {*} [options] Override http request option.
172
172
  * @throws {RequiredError}
173
173
  */
174
- async assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<WhatsappChatResponseDTO>>> {
174
+ async assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
175
175
  const localVarAxiosArgs = await ChatsApiAxiosParamCreator(configuration).assignToMe(body, id, options);
176
176
  return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
177
177
  const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
@@ -220,7 +220,7 @@ export const ChatsApiFactory = function (configuration?: Configuration, basePath
220
220
  * @param {*} [options] Override http request option.
221
221
  * @throws {RequiredError}
222
222
  */
223
- async assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig): Promise<AxiosResponse<WhatsappChatResponseDTO>> {
223
+ async assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
224
224
  return ChatsApiFp(configuration).assignToMe(body, id, options).then((request) => request(axios, basePath));
225
225
  },
226
226
  /**
@@ -259,7 +259,7 @@ export class ChatsApi extends BaseAPI {
259
259
  * @throws {RequiredError}
260
260
  * @memberof ChatsApi
261
261
  */
262
- public async assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<WhatsappChatResponseDTO>> {
262
+ public async assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
263
263
  return ChatsApiFp(this.configuration).assignToMe(body, id, options).then((request) => request(this.axios, this.basePath));
264
264
  }
265
265
  /**
@@ -55,7 +55,7 @@ export declare const ChatsApiFp: (configuration?: Configuration) => {
55
55
  * @param {*} [options] Override http request option.
56
56
  * @throws {RequiredError}
57
57
  */
58
- assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<WhatsappChatResponseDTO>>>;
58
+ assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
59
59
  /**
60
60
  *
61
61
  * @param {number} id
@@ -83,7 +83,7 @@ export declare const ChatsApiFactory: (configuration?: Configuration, basePath?:
83
83
  * @param {*} [options] Override http request option.
84
84
  * @throws {RequiredError}
85
85
  */
86
- assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig): Promise<AxiosResponse<WhatsappChatResponseDTO>>;
86
+ assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
87
87
  /**
88
88
  *
89
89
  * @param {number} id
@@ -114,7 +114,7 @@ export declare class ChatsApi extends BaseAPI {
114
114
  * @throws {RequiredError}
115
115
  * @memberof ChatsApi
116
116
  */
117
- assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig): Promise<AxiosResponse<WhatsappChatResponseDTO>>;
117
+ assignToMe(body: AssignToMeDto, id: number, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
118
118
  /**
119
119
  *
120
120
  * @param {number} id
@@ -16,4 +16,16 @@
16
16
  * @interface AssignToMeDto
17
17
  */
18
18
  export interface AssignToMeDto {
19
+ /**
20
+ * @type {number}
21
+ * @memberof AssignToMeDto
22
+ * @example 1
23
+ */
24
+ userId: number;
25
+ /**
26
+ * @type {number}
27
+ * @memberof AssignToMeDto
28
+ * @example 1
29
+ */
30
+ branchId: number;
19
31
  }
@@ -19,4 +19,18 @@
19
19
  * @interface AssignToMeDto
20
20
  */
21
21
  export interface AssignToMeDto {
22
+
23
+ /**
24
+ * @type {number}
25
+ * @memberof AssignToMeDto
26
+ * @example 1
27
+ */
28
+ userId: number;
29
+
30
+ /**
31
+ * @type {number}
32
+ * @memberof AssignToMeDto
33
+ * @example 1
34
+ */
35
+ branchId: number;
22
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libgot/whatsapp-bridge-sdk",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "OpenAPI client for ",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [