@libgot/whatsapp-bridge-sdk 1.0.41-rc.1 → 1.0.42-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.
- package/README.md +2 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/origin-type-dto.d.ts +45 -0
- package/dist/models/origin-type-dto.js +31 -0
- package/dist/models/whatsapp-message-dto.d.ts +6 -0
- package/models/index.ts +1 -0
- package/models/origin-type-dto.ts +52 -0
- package/models/whatsapp-message-dto.ts +7 -0
- package/package.json +1 -1
- package/publish.sh +2 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @1.0.
|
|
1
|
+
## @1.0.42-rc.1
|
|
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.42-rc.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/dist/models/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './inline-response503-info';
|
|
|
20
20
|
export * from './key-dto';
|
|
21
21
|
export * from './mark-chat-unread-dto';
|
|
22
22
|
export * from './message-response-dto';
|
|
23
|
+
export * from './origin-type-dto';
|
|
23
24
|
export * from './pagination-chat-response-dto';
|
|
24
25
|
export * from './parameter-template-dto';
|
|
25
26
|
export * from './read-message-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -36,6 +36,7 @@ __exportStar(require("./inline-response503-info"), exports);
|
|
|
36
36
|
__exportStar(require("./key-dto"), exports);
|
|
37
37
|
__exportStar(require("./mark-chat-unread-dto"), exports);
|
|
38
38
|
__exportStar(require("./message-response-dto"), exports);
|
|
39
|
+
__exportStar(require("./origin-type-dto"), exports);
|
|
39
40
|
__exportStar(require("./pagination-chat-response-dto"), exports);
|
|
40
41
|
__exportStar(require("./parameter-template-dto"), exports);
|
|
41
42
|
__exportStar(require("./read-message-dto"), exports);
|
|
@@ -0,0 +1,45 @@
|
|
|
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 OriginTypeDto
|
|
17
|
+
*/
|
|
18
|
+
export interface OriginTypeDto {
|
|
19
|
+
/**
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof OriginTypeDto
|
|
22
|
+
* @example 131048
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OriginTypeDto
|
|
28
|
+
* @example INBOUND
|
|
29
|
+
*/
|
|
30
|
+
originType: OriginTypeDtoOriginTypeEnum;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
* @enum {string}
|
|
35
|
+
*/
|
|
36
|
+
export declare enum OriginTypeDtoOriginTypeEnum {
|
|
37
|
+
INBOUND = "INBOUND",
|
|
38
|
+
SESSION = "SESSION",
|
|
39
|
+
OPERATOR = "OPERATOR",
|
|
40
|
+
AUTOMATIC = "AUTOMATIC",
|
|
41
|
+
MASSIVE = "MASSIVE",
|
|
42
|
+
AUTH = "AUTH",
|
|
43
|
+
N8N = "N8N",
|
|
44
|
+
PUSHERAGENT = "PUSHER_AGENT"
|
|
45
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 });
|
|
16
|
+
exports.OriginTypeDtoOriginTypeEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var OriginTypeDtoOriginTypeEnum;
|
|
22
|
+
(function (OriginTypeDtoOriginTypeEnum) {
|
|
23
|
+
OriginTypeDtoOriginTypeEnum["INBOUND"] = "INBOUND";
|
|
24
|
+
OriginTypeDtoOriginTypeEnum["SESSION"] = "SESSION";
|
|
25
|
+
OriginTypeDtoOriginTypeEnum["OPERATOR"] = "OPERATOR";
|
|
26
|
+
OriginTypeDtoOriginTypeEnum["AUTOMATIC"] = "AUTOMATIC";
|
|
27
|
+
OriginTypeDtoOriginTypeEnum["MASSIVE"] = "MASSIVE";
|
|
28
|
+
OriginTypeDtoOriginTypeEnum["AUTH"] = "AUTH";
|
|
29
|
+
OriginTypeDtoOriginTypeEnum["N8N"] = "N8N";
|
|
30
|
+
OriginTypeDtoOriginTypeEnum["PUSHERAGENT"] = "PUSHER_AGENT";
|
|
31
|
+
})(OriginTypeDtoOriginTypeEnum || (exports.OriginTypeDtoOriginTypeEnum = OriginTypeDtoOriginTypeEnum = {}));
|
|
@@ -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 { OriginTypeDto } from './origin-type-dto';
|
|
15
16
|
import { WhatsappMessageError } from './whatsapp-message-error';
|
|
16
17
|
import { WhatsappMessageFeedback } from './whatsapp-message-feedback';
|
|
17
18
|
import { WhatsappMessageKeyDto } from './whatsapp-message-key-dto';
|
|
@@ -66,4 +67,9 @@ export interface WhatsappMessageDto {
|
|
|
66
67
|
* @memberof WhatsappMessageDto
|
|
67
68
|
*/
|
|
68
69
|
error: WhatsappMessageError;
|
|
70
|
+
/**
|
|
71
|
+
* @type {OriginTypeDto}
|
|
72
|
+
* @memberof WhatsappMessageDto
|
|
73
|
+
*/
|
|
74
|
+
originType?: OriginTypeDto;
|
|
69
75
|
}
|
package/models/index.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './inline-response503-info';
|
|
|
20
20
|
export * from './key-dto';
|
|
21
21
|
export * from './mark-chat-unread-dto';
|
|
22
22
|
export * from './message-response-dto';
|
|
23
|
+
export * from './origin-type-dto';
|
|
23
24
|
export * from './pagination-chat-response-dto';
|
|
24
25
|
export * from './parameter-template-dto';
|
|
25
26
|
export * from './read-message-dto';
|
|
@@ -0,0 +1,52 @@
|
|
|
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 OriginTypeDto
|
|
20
|
+
*/
|
|
21
|
+
export interface OriginTypeDto {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof OriginTypeDto
|
|
26
|
+
* @example 131048
|
|
27
|
+
*/
|
|
28
|
+
id: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof OriginTypeDto
|
|
33
|
+
* @example INBOUND
|
|
34
|
+
*/
|
|
35
|
+
originType: OriginTypeDtoOriginTypeEnum;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
* @enum {string}
|
|
41
|
+
*/
|
|
42
|
+
export enum OriginTypeDtoOriginTypeEnum {
|
|
43
|
+
INBOUND = 'INBOUND',
|
|
44
|
+
SESSION = 'SESSION',
|
|
45
|
+
OPERATOR = 'OPERATOR',
|
|
46
|
+
AUTOMATIC = 'AUTOMATIC',
|
|
47
|
+
MASSIVE = 'MASSIVE',
|
|
48
|
+
AUTH = 'AUTH',
|
|
49
|
+
N8N = 'N8N',
|
|
50
|
+
PUSHERAGENT = 'PUSHER_AGENT'
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -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 { OriginTypeDto } from './origin-type-dto';
|
|
18
19
|
import { WhatsappMessageError } from './whatsapp-message-error';
|
|
19
20
|
import { WhatsappMessageFeedback } from './whatsapp-message-feedback';
|
|
20
21
|
import { WhatsappMessageKeyDto } from './whatsapp-message-key-dto';
|
|
@@ -77,4 +78,10 @@ export interface WhatsappMessageDto {
|
|
|
77
78
|
* @memberof WhatsappMessageDto
|
|
78
79
|
*/
|
|
79
80
|
error: WhatsappMessageError;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @type {OriginTypeDto}
|
|
84
|
+
* @memberof WhatsappMessageDto
|
|
85
|
+
*/
|
|
86
|
+
originType?: OriginTypeDto;
|
|
80
87
|
}
|
package/package.json
CHANGED
package/publish.sh
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
npm publish --access public "$@"
|
|
1
|
+
npm publish --access public "$@"
|
|
2
|
+
#npm publish --access public "$@" --tag next
|