@libgot/whatsapp-bridge-sdk 1.0.24 → 1.0.25

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.24
1
+ ## @1.0.25
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.24 --save
39
+ npm install @libgot/whatsapp-bridge-sdk@1.0.25 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -0,0 +1,31 @@
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 DocumentMessageDto
17
+ */
18
+ export interface DocumentMessageDto {
19
+ /**
20
+ * @type {string}
21
+ * @memberof DocumentMessageDto
22
+ * @example https://example.com/document.pdf
23
+ */
24
+ mediaUrl: string;
25
+ /**
26
+ * @type {string}
27
+ * @memberof DocumentMessageDto
28
+ * @example documentMessage
29
+ */
30
+ mediaType: string;
31
+ }
@@ -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 });
@@ -0,0 +1,31 @@
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 ImageMessageDto
17
+ */
18
+ export interface ImageMessageDto {
19
+ /**
20
+ * @type {string}
21
+ * @memberof ImageMessageDto
22
+ * @example https://example.com/image.jpg
23
+ */
24
+ mediaUrl: string;
25
+ /**
26
+ * @type {string}
27
+ * @memberof ImageMessageDto
28
+ * @example imageMessage
29
+ */
30
+ mediaType: string;
31
+ }
@@ -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 });
@@ -10,6 +10,8 @@ export * from './contacts-response-dto';
10
10
  export * from './conversation-message-dto';
11
11
  export * from './data-dto';
12
12
  export * from './data-unauthorized-dto';
13
+ export * from './document-message-dto';
14
+ export * from './image-message-dto';
13
15
  export * from './inline-response2011-class';
14
16
  export * from './inline-response2011-message';
15
17
  export * from './inline-response503';
@@ -21,6 +23,7 @@ export * from './parameter-template-dto';
21
23
  export * from './read-message-dto';
22
24
  export * from './read-message-response-data-dto';
23
25
  export * from './role-dto';
26
+ export * from './send-message-dto';
24
27
  export * from './send-template-data-dto';
25
28
  export * from './send-template-dto';
26
29
  export * from './send-text-data-response-dto';
@@ -26,6 +26,8 @@ __exportStar(require("./contacts-response-dto"), exports);
26
26
  __exportStar(require("./conversation-message-dto"), exports);
27
27
  __exportStar(require("./data-dto"), exports);
28
28
  __exportStar(require("./data-unauthorized-dto"), exports);
29
+ __exportStar(require("./document-message-dto"), exports);
30
+ __exportStar(require("./image-message-dto"), exports);
29
31
  __exportStar(require("./inline-response2011-class"), exports);
30
32
  __exportStar(require("./inline-response2011-message"), exports);
31
33
  __exportStar(require("./inline-response503"), exports);
@@ -37,6 +39,7 @@ __exportStar(require("./parameter-template-dto"), exports);
37
39
  __exportStar(require("./read-message-dto"), exports);
38
40
  __exportStar(require("./read-message-response-data-dto"), exports);
39
41
  __exportStar(require("./role-dto"), exports);
42
+ __exportStar(require("./send-message-dto"), exports);
40
43
  __exportStar(require("./send-template-data-dto"), exports);
41
44
  __exportStar(require("./send-template-dto"), exports);
42
45
  __exportStar(require("./send-text-data-response-dto"), exports);
@@ -0,0 +1,19 @@
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 SendMessageDto
17
+ */
18
+ export interface SendMessageDto {
19
+ }
@@ -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 });
@@ -10,6 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ConversationMessageDto } from './conversation-message-dto';
13
+ import { DocumentMessageDto } from './document-message-dto';
14
+ import { ImageMessageDto } from './image-message-dto';
13
15
  import { WhatsappMessageKeyDto } from './whatsapp-message-key-dto';
14
16
  /**
15
17
  *
@@ -37,10 +39,10 @@ export interface WhatsappMessageDto {
37
39
  */
38
40
  messageTimestamp: number;
39
41
  /**
40
- * @type {ConversationMessageDto}
42
+ * @type {ConversationMessageDto | ImageMessageDto | DocumentMessageDto}
41
43
  * @memberof WhatsappMessageDto
42
44
  */
43
- message: ConversationMessageDto;
45
+ message: ConversationMessageDto | ImageMessageDto | DocumentMessageDto;
44
46
  /**
45
47
  * @type {WhatsappMessageKeyDto}
46
48
  * @memberof WhatsappMessageDto
@@ -0,0 +1,36 @@
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 DocumentMessageDto
20
+ */
21
+ export interface DocumentMessageDto {
22
+
23
+ /**
24
+ * @type {string}
25
+ * @memberof DocumentMessageDto
26
+ * @example https://example.com/document.pdf
27
+ */
28
+ mediaUrl: string;
29
+
30
+ /**
31
+ * @type {string}
32
+ * @memberof DocumentMessageDto
33
+ * @example documentMessage
34
+ */
35
+ mediaType: string;
36
+ }
@@ -0,0 +1,36 @@
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 ImageMessageDto
20
+ */
21
+ export interface ImageMessageDto {
22
+
23
+ /**
24
+ * @type {string}
25
+ * @memberof ImageMessageDto
26
+ * @example https://example.com/image.jpg
27
+ */
28
+ mediaUrl: string;
29
+
30
+ /**
31
+ * @type {string}
32
+ * @memberof ImageMessageDto
33
+ * @example imageMessage
34
+ */
35
+ mediaType: string;
36
+ }
package/models/index.ts CHANGED
@@ -10,6 +10,8 @@ export * from './contacts-response-dto';
10
10
  export * from './conversation-message-dto';
11
11
  export * from './data-dto';
12
12
  export * from './data-unauthorized-dto';
13
+ export * from './document-message-dto';
14
+ export * from './image-message-dto';
13
15
  export * from './inline-response2011-class';
14
16
  export * from './inline-response2011-message';
15
17
  export * from './inline-response503';
@@ -21,6 +23,7 @@ export * from './parameter-template-dto';
21
23
  export * from './read-message-dto';
22
24
  export * from './read-message-response-data-dto';
23
25
  export * from './role-dto';
26
+ export * from './send-message-dto';
24
27
  export * from './send-template-data-dto';
25
28
  export * from './send-template-dto';
26
29
  export * from './send-text-data-response-dto';
@@ -0,0 +1,22 @@
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 SendMessageDto
20
+ */
21
+ export interface SendMessageDto {
22
+ }
@@ -13,6 +13,8 @@
13
13
  */
14
14
 
15
15
  import { ConversationMessageDto } from './conversation-message-dto';
16
+ import { DocumentMessageDto } from './document-message-dto';
17
+ import { ImageMessageDto } from './image-message-dto';
16
18
  import { WhatsappMessageKeyDto } from './whatsapp-message-key-dto';
17
19
  /**
18
20
  *
@@ -44,10 +46,10 @@ export interface WhatsappMessageDto {
44
46
  messageTimestamp: number;
45
47
 
46
48
  /**
47
- * @type {ConversationMessageDto}
49
+ * @type {ConversationMessageDto | ImageMessageDto | DocumentMessageDto}
48
50
  * @memberof WhatsappMessageDto
49
51
  */
50
- message: ConversationMessageDto;
52
+ message: ConversationMessageDto | ImageMessageDto | DocumentMessageDto;
51
53
 
52
54
  /**
53
55
  * @type {WhatsappMessageKeyDto}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libgot/whatsapp-bridge-sdk",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "OpenAPI client for ",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -17,7 +17,7 @@
17
17
  "prepublishOnly": "npm run build"
18
18
  },
19
19
  "dependencies": {
20
- "axios": "^1.7.9"
20
+ "axios": "^1.8.4"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^12.11.5",