@libgot/whatsapp-bridge-sdk 1.0.8 → 1.0.10

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.8
1
+ ## @1.0.10
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.8 --save
39
+ npm install @libgot/whatsapp-bridge-sdk@1.0.10 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -21,3 +21,4 @@ export * from './user-update-password-dto';
21
21
  export * from './whatsapp-chat-dto';
22
22
  export * from './whatsapp-contact-dto';
23
23
  export * from './whatsapp-message-dto';
24
+ export * from './whatsapp-message-key-dto';
@@ -37,3 +37,4 @@ __exportStar(require("./user-update-password-dto"), exports);
37
37
  __exportStar(require("./whatsapp-chat-dto"), exports);
38
38
  __exportStar(require("./whatsapp-contact-dto"), exports);
39
39
  __exportStar(require("./whatsapp-message-dto"), exports);
40
+ __exportStar(require("./whatsapp-message-key-dto"), exports);
@@ -45,5 +45,5 @@ export interface WhatsappContactDto {
45
45
  * @type {WhatsappChatDto}
46
46
  * @memberof WhatsappContactDto
47
47
  */
48
- chat: WhatsappChatDto;
48
+ chat: WhatsappChatDto | null;
49
49
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ConversationMessageDto } from './conversation-message-dto';
13
+ import { WhatsappMessageKeyDto } from './whatsapp-message-key-dto';
13
14
  /**
14
15
  *
15
16
  *
@@ -40,4 +41,9 @@ export interface WhatsappMessageDto {
40
41
  * @memberof WhatsappMessageDto
41
42
  */
42
43
  message: ConversationMessageDto;
44
+ /**
45
+ * @type {WhatsappMessageKeyDto}
46
+ * @memberof WhatsappMessageDto
47
+ */
48
+ key: WhatsappMessageKeyDto;
43
49
  }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * whatsapp-bridge Node Api
3
+ * The whatsapp-bridge API description
4
+ *
5
+ * OpenAPI spec version: 0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ *
15
+ * @export
16
+ * @interface WhatsappMessageKeyDto
17
+ */
18
+ export interface WhatsappMessageKeyDto {
19
+ /**
20
+ * @type {number}
21
+ * @memberof WhatsappMessageKeyDto
22
+ * @example 9
23
+ */
24
+ id: number;
25
+ /**
26
+ * @type {string}
27
+ * @memberof WhatsappMessageKeyDto
28
+ * @example 3EB02718A6F3758F5EFAC0
29
+ */
30
+ externalMessageKeyId: string;
31
+ /**
32
+ * @type {boolean}
33
+ * @memberof WhatsappMessageKeyDto
34
+ * @example false
35
+ */
36
+ fromMe: boolean;
37
+ /**
38
+ * @type {string}
39
+ * @memberof WhatsappMessageKeyDto
40
+ * @example 549112312456@s.whatsapp.net
41
+ */
42
+ remoteJid: string;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * whatsapp-bridge Node Api
6
+ * The whatsapp-bridge API description
7
+ *
8
+ * OpenAPI spec version: 0.0.1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by the swagger code generator program.
12
+ * https://github.com/swagger-api/swagger-codegen.git
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
package/models/index.ts CHANGED
@@ -21,3 +21,4 @@ export * from './user-update-password-dto';
21
21
  export * from './whatsapp-chat-dto';
22
22
  export * from './whatsapp-contact-dto';
23
23
  export * from './whatsapp-message-dto';
24
+ export * from './whatsapp-message-key-dto';
@@ -53,5 +53,5 @@ export interface WhatsappContactDto {
53
53
  * @type {WhatsappChatDto}
54
54
  * @memberof WhatsappContactDto
55
55
  */
56
- chat: WhatsappChatDto;
56
+ chat: WhatsappChatDto | null;
57
57
  }
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
  import { ConversationMessageDto } from './conversation-message-dto';
16
+ import { WhatsappMessageKeyDto } from './whatsapp-message-key-dto';
16
17
  /**
17
18
  *
18
19
  *
@@ -47,4 +48,10 @@ export interface WhatsappMessageDto {
47
48
  * @memberof WhatsappMessageDto
48
49
  */
49
50
  message: ConversationMessageDto;
51
+
52
+ /**
53
+ * @type {WhatsappMessageKeyDto}
54
+ * @memberof WhatsappMessageDto
55
+ */
56
+ key: WhatsappMessageKeyDto;
50
57
  }
@@ -0,0 +1,50 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * whatsapp-bridge Node Api
5
+ * The whatsapp-bridge API description
6
+ *
7
+ * OpenAPI spec version: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by the swagger code generator program.
11
+ * https://github.com/swagger-api/swagger-codegen.git
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ *
17
+ *
18
+ * @export
19
+ * @interface WhatsappMessageKeyDto
20
+ */
21
+ export interface WhatsappMessageKeyDto {
22
+
23
+ /**
24
+ * @type {number}
25
+ * @memberof WhatsappMessageKeyDto
26
+ * @example 9
27
+ */
28
+ id: number;
29
+
30
+ /**
31
+ * @type {string}
32
+ * @memberof WhatsappMessageKeyDto
33
+ * @example 3EB02718A6F3758F5EFAC0
34
+ */
35
+ externalMessageKeyId: string;
36
+
37
+ /**
38
+ * @type {boolean}
39
+ * @memberof WhatsappMessageKeyDto
40
+ * @example false
41
+ */
42
+ fromMe: boolean;
43
+
44
+ /**
45
+ * @type {string}
46
+ * @memberof WhatsappMessageKeyDto
47
+ * @example 549112312456@s.whatsapp.net
48
+ */
49
+ remoteJid: string;
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libgot/whatsapp-bridge-sdk",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "OpenAPI client for ",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [