@libgot/whatsapp-bridge-sdk 1.0.36 → 1.0.37
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 +2 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/whatsapp-message-dto.d.ts +6 -0
- package/dist/models/whatsapp-message-error.d.ts +31 -0
- package/dist/models/whatsapp-message-error.js +15 -0
- package/models/index.ts +1 -0
- package/models/whatsapp-message-dto.ts +7 -0
- package/models/whatsapp-message-error.ts +36 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @1.0.
|
|
1
|
+
## @1.0.37
|
|
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.
|
|
39
|
+
npm install @libgot/whatsapp-bridge-sdk@1.0.37 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/dist/models/index.d.ts
CHANGED
|
@@ -44,5 +44,6 @@ export * from './whatsapp-chat-dto';
|
|
|
44
44
|
export * from './whatsapp-chat-response-dto';
|
|
45
45
|
export * from './whatsapp-contact-dto';
|
|
46
46
|
export * from './whatsapp-message-dto';
|
|
47
|
+
export * from './whatsapp-message-error';
|
|
47
48
|
export * from './whatsapp-message-feedback';
|
|
48
49
|
export * from './whatsapp-message-key-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -60,5 +60,6 @@ __exportStar(require("./whatsapp-chat-dto"), exports);
|
|
|
60
60
|
__exportStar(require("./whatsapp-chat-response-dto"), exports);
|
|
61
61
|
__exportStar(require("./whatsapp-contact-dto"), exports);
|
|
62
62
|
__exportStar(require("./whatsapp-message-dto"), exports);
|
|
63
|
+
__exportStar(require("./whatsapp-message-error"), exports);
|
|
63
64
|
__exportStar(require("./whatsapp-message-feedback"), exports);
|
|
64
65
|
__exportStar(require("./whatsapp-message-key-dto"), exports);
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { ConversationMessageDto } from './conversation-message-dto';
|
|
13
13
|
import { DocumentMessageDto } from './document-message-dto';
|
|
14
14
|
import { ImageMessageDto } from './image-message-dto';
|
|
15
|
+
import { WhatsappMessageError } from './whatsapp-message-error';
|
|
15
16
|
import { WhatsappMessageFeedback } from './whatsapp-message-feedback';
|
|
16
17
|
import { WhatsappMessageKeyDto } from './whatsapp-message-key-dto';
|
|
17
18
|
/**
|
|
@@ -54,4 +55,9 @@ export interface WhatsappMessageDto {
|
|
|
54
55
|
* @memberof WhatsappMessageDto
|
|
55
56
|
*/
|
|
56
57
|
feedback: WhatsappMessageFeedback;
|
|
58
|
+
/**
|
|
59
|
+
* @type {WhatsappMessageError}
|
|
60
|
+
* @memberof WhatsappMessageDto
|
|
61
|
+
*/
|
|
62
|
+
error: WhatsappMessageError;
|
|
57
63
|
}
|
|
@@ -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 WhatsappMessageError
|
|
17
|
+
*/
|
|
18
|
+
export interface WhatsappMessageError {
|
|
19
|
+
/**
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof WhatsappMessageError
|
|
22
|
+
* @example 131048
|
|
23
|
+
*/
|
|
24
|
+
code: number;
|
|
25
|
+
/**
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WhatsappMessageError
|
|
28
|
+
* @example Spam Rate limit hit
|
|
29
|
+
*/
|
|
30
|
+
title: 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 });
|
package/models/index.ts
CHANGED
|
@@ -44,5 +44,6 @@ export * from './whatsapp-chat-dto';
|
|
|
44
44
|
export * from './whatsapp-chat-response-dto';
|
|
45
45
|
export * from './whatsapp-contact-dto';
|
|
46
46
|
export * from './whatsapp-message-dto';
|
|
47
|
+
export * from './whatsapp-message-error';
|
|
47
48
|
export * from './whatsapp-message-feedback';
|
|
48
49
|
export * from './whatsapp-message-key-dto';
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
import { ConversationMessageDto } from './conversation-message-dto';
|
|
16
16
|
import { DocumentMessageDto } from './document-message-dto';
|
|
17
17
|
import { ImageMessageDto } from './image-message-dto';
|
|
18
|
+
import { WhatsappMessageError } from './whatsapp-message-error';
|
|
18
19
|
import { WhatsappMessageFeedback } from './whatsapp-message-feedback';
|
|
19
20
|
import { WhatsappMessageKeyDto } from './whatsapp-message-key-dto';
|
|
20
21
|
/**
|
|
@@ -63,4 +64,10 @@ export interface WhatsappMessageDto {
|
|
|
63
64
|
* @memberof WhatsappMessageDto
|
|
64
65
|
*/
|
|
65
66
|
feedback: WhatsappMessageFeedback;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @type {WhatsappMessageError}
|
|
70
|
+
* @memberof WhatsappMessageDto
|
|
71
|
+
*/
|
|
72
|
+
error: WhatsappMessageError;
|
|
66
73
|
}
|
|
@@ -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 WhatsappMessageError
|
|
20
|
+
*/
|
|
21
|
+
export interface WhatsappMessageError {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof WhatsappMessageError
|
|
26
|
+
* @example 131048
|
|
27
|
+
*/
|
|
28
|
+
code: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof WhatsappMessageError
|
|
33
|
+
* @example Spam Rate limit hit
|
|
34
|
+
*/
|
|
35
|
+
title: string;
|
|
36
|
+
}
|