@juzi/wechaty-grpc 1.0.3 → 1.0.4
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/dist/cjs/out/wechaty/puppet/message_pb.d.ts +11 -8
- package/dist/cjs/out/wechaty/puppet/message_pb.js +11 -8
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +7 -4
- package/dist/cjs/out/wechaty/puppet.swagger.json +8 -5
- package/dist/cjs/proto/wechaty/puppet/message.proto +11 -8
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +11 -8
- package/dist/esm/out/wechaty/puppet/message_pb.js +11 -8
- package/dist/esm/out/wechaty/puppet.openapi.yaml +7 -4
- package/dist/esm/out/wechaty/puppet.swagger.json +8 -5
- package/dist/esm/proto/wechaty/puppet/message.proto +11 -8
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/message_pb.d.ts +11 -8
- package/out/wechaty/puppet/message_pb.js +11 -8
- package/out/wechaty/puppet.openapi.yaml +7 -4
- package/out/wechaty/puppet.swagger.json +8 -5
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -857,18 +857,21 @@ export interface MessageTypeMap {
|
|
|
857
857
|
MESSAGE_TYPE_ATTACHMENT: 1;
|
|
858
858
|
MESSAGE_TYPE_AUDIO: 2;
|
|
859
859
|
MESSAGE_TYPE_CONTACT: 3;
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
860
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4;
|
|
861
|
+
MESSAGE_TYPE_EMOTCION: 5;
|
|
862
|
+
MESSAGE_TYPE_IMAGE: 6;
|
|
863
|
+
MESSAGE_TYPE_TEXT: 7;
|
|
864
|
+
MESSAGE_TYPE_LOCATION: 8;
|
|
865
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9;
|
|
866
|
+
MESSAGE_TYPE_GROUP_NOTE: 10;
|
|
867
867
|
MESSAGE_TYPE_TRANSFER: 11;
|
|
868
868
|
MESSAGE_TYPE_RED_ENVELOPE: 12;
|
|
869
869
|
MESSAGE_TYPE_RECALLED: 13;
|
|
870
870
|
MESSAGE_TYPE_URL: 14;
|
|
871
|
-
|
|
871
|
+
MESSAGE_TYPE_VIDEO: 15;
|
|
872
|
+
MESSAGE_TYPE_POST: 16;
|
|
873
|
+
MESSAGE_TYPE_CHANNEL: 17;
|
|
874
|
+
MESSAGE_TYPE_SYSTEM: 18;
|
|
872
875
|
}
|
|
873
876
|
|
|
874
877
|
export const MessageType: MessageTypeMap;
|
|
@@ -6539,18 +6539,21 @@ proto.wechaty.puppet.MessageType = {
|
|
|
6539
6539
|
MESSAGE_TYPE_ATTACHMENT: 1,
|
|
6540
6540
|
MESSAGE_TYPE_AUDIO: 2,
|
|
6541
6541
|
MESSAGE_TYPE_CONTACT: 3,
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6542
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4,
|
|
6543
|
+
MESSAGE_TYPE_EMOTCION: 5,
|
|
6544
|
+
MESSAGE_TYPE_IMAGE: 6,
|
|
6545
|
+
MESSAGE_TYPE_TEXT: 7,
|
|
6546
|
+
MESSAGE_TYPE_LOCATION: 8,
|
|
6547
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9,
|
|
6548
|
+
MESSAGE_TYPE_GROUP_NOTE: 10,
|
|
6549
6549
|
MESSAGE_TYPE_TRANSFER: 11,
|
|
6550
6550
|
MESSAGE_TYPE_RED_ENVELOPE: 12,
|
|
6551
6551
|
MESSAGE_TYPE_RECALLED: 13,
|
|
6552
6552
|
MESSAGE_TYPE_URL: 14,
|
|
6553
|
-
|
|
6553
|
+
MESSAGE_TYPE_VIDEO: 15,
|
|
6554
|
+
MESSAGE_TYPE_POST: 16,
|
|
6555
|
+
MESSAGE_TYPE_CHANNEL: 17,
|
|
6556
|
+
MESSAGE_TYPE_SYSTEM: 18
|
|
6554
6557
|
};
|
|
6555
6558
|
|
|
6556
6559
|
goog.object.extend(exports, proto.wechaty.puppet);
|
|
@@ -9,7 +9,7 @@ info:
|
|
|
9
9
|
|
|
10
10
|
Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
|
|
11
11
|
top of the Wechaty Puppet Abstraction and the gRPC proto definition.
|
|
12
|
-
version: 1.0.
|
|
12
|
+
version: 1.0.4
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2211,18 +2211,21 @@ definitions:
|
|
|
2211
2211
|
- MESSAGE_TYPE_ATTACHMENT
|
|
2212
2212
|
- MESSAGE_TYPE_AUDIO
|
|
2213
2213
|
- MESSAGE_TYPE_CONTACT
|
|
2214
|
-
-
|
|
2214
|
+
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2215
|
+
- MESSAGE_TYPE_EMOTCION
|
|
2215
2216
|
- MESSAGE_TYPE_IMAGE
|
|
2216
2217
|
- MESSAGE_TYPE_TEXT
|
|
2217
|
-
- MESSAGE_TYPE_VIDEO
|
|
2218
|
-
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2219
2218
|
- MESSAGE_TYPE_LOCATION
|
|
2220
2219
|
- MESSAGE_TYPE_MINI_PROGRAM
|
|
2220
|
+
- MESSAGE_TYPE_GROUP_NOTE
|
|
2221
2221
|
- MESSAGE_TYPE_TRANSFER
|
|
2222
2222
|
- MESSAGE_TYPE_RED_ENVELOPE
|
|
2223
2223
|
- MESSAGE_TYPE_RECALLED
|
|
2224
2224
|
- MESSAGE_TYPE_URL
|
|
2225
|
+
- MESSAGE_TYPE_VIDEO
|
|
2226
|
+
- MESSAGE_TYPE_POST
|
|
2225
2227
|
- MESSAGE_TYPE_CHANNEL
|
|
2228
|
+
- MESSAGE_TYPE_SYSTEM
|
|
2226
2229
|
default: MESSAGE_TYPE_UNSPECIFIED
|
|
2227
2230
|
puppetMessageUrlResponse:
|
|
2228
2231
|
type: object
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Wechaty Puppet Service OpenAPI Specification",
|
|
5
5
|
"description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.4",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3183,18 +3183,21 @@
|
|
|
3183
3183
|
"MESSAGE_TYPE_ATTACHMENT",
|
|
3184
3184
|
"MESSAGE_TYPE_AUDIO",
|
|
3185
3185
|
"MESSAGE_TYPE_CONTACT",
|
|
3186
|
-
"
|
|
3186
|
+
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3187
|
+
"MESSAGE_TYPE_EMOTCION",
|
|
3187
3188
|
"MESSAGE_TYPE_IMAGE",
|
|
3188
3189
|
"MESSAGE_TYPE_TEXT",
|
|
3189
|
-
"MESSAGE_TYPE_VIDEO",
|
|
3190
|
-
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3191
3190
|
"MESSAGE_TYPE_LOCATION",
|
|
3192
3191
|
"MESSAGE_TYPE_MINI_PROGRAM",
|
|
3192
|
+
"MESSAGE_TYPE_GROUP_NOTE",
|
|
3193
3193
|
"MESSAGE_TYPE_TRANSFER",
|
|
3194
3194
|
"MESSAGE_TYPE_RED_ENVELOPE",
|
|
3195
3195
|
"MESSAGE_TYPE_RECALLED",
|
|
3196
3196
|
"MESSAGE_TYPE_URL",
|
|
3197
|
-
"
|
|
3197
|
+
"MESSAGE_TYPE_VIDEO",
|
|
3198
|
+
"MESSAGE_TYPE_POST",
|
|
3199
|
+
"MESSAGE_TYPE_CHANNEL",
|
|
3200
|
+
"MESSAGE_TYPE_SYSTEM"
|
|
3198
3201
|
],
|
|
3199
3202
|
"default": "MESSAGE_TYPE_UNSPECIFIED"
|
|
3200
3203
|
},
|
|
@@ -27,18 +27,21 @@ enum MessageType {
|
|
|
27
27
|
MESSAGE_TYPE_ATTACHMENT = 1;
|
|
28
28
|
MESSAGE_TYPE_AUDIO = 2;
|
|
29
29
|
MESSAGE_TYPE_CONTACT = 3;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
MESSAGE_TYPE_CHAT_HISTORY = 4;
|
|
31
|
+
MESSAGE_TYPE_EMOTCION = 5;
|
|
32
|
+
MESSAGE_TYPE_IMAGE = 6;
|
|
33
|
+
MESSAGE_TYPE_TEXT = 7;
|
|
34
|
+
MESSAGE_TYPE_LOCATION = 8;
|
|
35
|
+
MESSAGE_TYPE_MINI_PROGRAM = 9;
|
|
36
|
+
MESSAGE_TYPE_GROUP_NOTE = 10;
|
|
37
37
|
MESSAGE_TYPE_TRANSFER = 11;
|
|
38
38
|
MESSAGE_TYPE_RED_ENVELOPE = 12;
|
|
39
39
|
MESSAGE_TYPE_RECALLED = 13;
|
|
40
40
|
MESSAGE_TYPE_URL = 14;
|
|
41
|
-
|
|
41
|
+
MESSAGE_TYPE_VIDEO = 15;
|
|
42
|
+
MESSAGE_TYPE_POST = 16;
|
|
43
|
+
MESSAGE_TYPE_CHANNEL = 17;
|
|
44
|
+
MESSAGE_TYPE_SYSTEM = 18;
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
message MessagePayloadRequest {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.packageJson = void 0;
|
|
4
4
|
exports.packageJson = {
|
|
5
5
|
"name": "@juzi/wechaty-grpc",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.4",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -857,18 +857,21 @@ export interface MessageTypeMap {
|
|
|
857
857
|
MESSAGE_TYPE_ATTACHMENT: 1;
|
|
858
858
|
MESSAGE_TYPE_AUDIO: 2;
|
|
859
859
|
MESSAGE_TYPE_CONTACT: 3;
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
860
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4;
|
|
861
|
+
MESSAGE_TYPE_EMOTCION: 5;
|
|
862
|
+
MESSAGE_TYPE_IMAGE: 6;
|
|
863
|
+
MESSAGE_TYPE_TEXT: 7;
|
|
864
|
+
MESSAGE_TYPE_LOCATION: 8;
|
|
865
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9;
|
|
866
|
+
MESSAGE_TYPE_GROUP_NOTE: 10;
|
|
867
867
|
MESSAGE_TYPE_TRANSFER: 11;
|
|
868
868
|
MESSAGE_TYPE_RED_ENVELOPE: 12;
|
|
869
869
|
MESSAGE_TYPE_RECALLED: 13;
|
|
870
870
|
MESSAGE_TYPE_URL: 14;
|
|
871
|
-
|
|
871
|
+
MESSAGE_TYPE_VIDEO: 15;
|
|
872
|
+
MESSAGE_TYPE_POST: 16;
|
|
873
|
+
MESSAGE_TYPE_CHANNEL: 17;
|
|
874
|
+
MESSAGE_TYPE_SYSTEM: 18;
|
|
872
875
|
}
|
|
873
876
|
|
|
874
877
|
export const MessageType: MessageTypeMap;
|
|
@@ -6539,18 +6539,21 @@ proto.wechaty.puppet.MessageType = {
|
|
|
6539
6539
|
MESSAGE_TYPE_ATTACHMENT: 1,
|
|
6540
6540
|
MESSAGE_TYPE_AUDIO: 2,
|
|
6541
6541
|
MESSAGE_TYPE_CONTACT: 3,
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6542
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4,
|
|
6543
|
+
MESSAGE_TYPE_EMOTCION: 5,
|
|
6544
|
+
MESSAGE_TYPE_IMAGE: 6,
|
|
6545
|
+
MESSAGE_TYPE_TEXT: 7,
|
|
6546
|
+
MESSAGE_TYPE_LOCATION: 8,
|
|
6547
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9,
|
|
6548
|
+
MESSAGE_TYPE_GROUP_NOTE: 10,
|
|
6549
6549
|
MESSAGE_TYPE_TRANSFER: 11,
|
|
6550
6550
|
MESSAGE_TYPE_RED_ENVELOPE: 12,
|
|
6551
6551
|
MESSAGE_TYPE_RECALLED: 13,
|
|
6552
6552
|
MESSAGE_TYPE_URL: 14,
|
|
6553
|
-
|
|
6553
|
+
MESSAGE_TYPE_VIDEO: 15,
|
|
6554
|
+
MESSAGE_TYPE_POST: 16,
|
|
6555
|
+
MESSAGE_TYPE_CHANNEL: 17,
|
|
6556
|
+
MESSAGE_TYPE_SYSTEM: 18
|
|
6554
6557
|
};
|
|
6555
6558
|
|
|
6556
6559
|
goog.object.extend(exports, proto.wechaty.puppet);
|
|
@@ -9,7 +9,7 @@ info:
|
|
|
9
9
|
|
|
10
10
|
Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
|
|
11
11
|
top of the Wechaty Puppet Abstraction and the gRPC proto definition.
|
|
12
|
-
version: 1.0.
|
|
12
|
+
version: 1.0.4
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2211,18 +2211,21 @@ definitions:
|
|
|
2211
2211
|
- MESSAGE_TYPE_ATTACHMENT
|
|
2212
2212
|
- MESSAGE_TYPE_AUDIO
|
|
2213
2213
|
- MESSAGE_TYPE_CONTACT
|
|
2214
|
-
-
|
|
2214
|
+
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2215
|
+
- MESSAGE_TYPE_EMOTCION
|
|
2215
2216
|
- MESSAGE_TYPE_IMAGE
|
|
2216
2217
|
- MESSAGE_TYPE_TEXT
|
|
2217
|
-
- MESSAGE_TYPE_VIDEO
|
|
2218
|
-
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2219
2218
|
- MESSAGE_TYPE_LOCATION
|
|
2220
2219
|
- MESSAGE_TYPE_MINI_PROGRAM
|
|
2220
|
+
- MESSAGE_TYPE_GROUP_NOTE
|
|
2221
2221
|
- MESSAGE_TYPE_TRANSFER
|
|
2222
2222
|
- MESSAGE_TYPE_RED_ENVELOPE
|
|
2223
2223
|
- MESSAGE_TYPE_RECALLED
|
|
2224
2224
|
- MESSAGE_TYPE_URL
|
|
2225
|
+
- MESSAGE_TYPE_VIDEO
|
|
2226
|
+
- MESSAGE_TYPE_POST
|
|
2225
2227
|
- MESSAGE_TYPE_CHANNEL
|
|
2228
|
+
- MESSAGE_TYPE_SYSTEM
|
|
2226
2229
|
default: MESSAGE_TYPE_UNSPECIFIED
|
|
2227
2230
|
puppetMessageUrlResponse:
|
|
2228
2231
|
type: object
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Wechaty Puppet Service OpenAPI Specification",
|
|
5
5
|
"description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.4",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3183,18 +3183,21 @@
|
|
|
3183
3183
|
"MESSAGE_TYPE_ATTACHMENT",
|
|
3184
3184
|
"MESSAGE_TYPE_AUDIO",
|
|
3185
3185
|
"MESSAGE_TYPE_CONTACT",
|
|
3186
|
-
"
|
|
3186
|
+
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3187
|
+
"MESSAGE_TYPE_EMOTCION",
|
|
3187
3188
|
"MESSAGE_TYPE_IMAGE",
|
|
3188
3189
|
"MESSAGE_TYPE_TEXT",
|
|
3189
|
-
"MESSAGE_TYPE_VIDEO",
|
|
3190
|
-
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3191
3190
|
"MESSAGE_TYPE_LOCATION",
|
|
3192
3191
|
"MESSAGE_TYPE_MINI_PROGRAM",
|
|
3192
|
+
"MESSAGE_TYPE_GROUP_NOTE",
|
|
3193
3193
|
"MESSAGE_TYPE_TRANSFER",
|
|
3194
3194
|
"MESSAGE_TYPE_RED_ENVELOPE",
|
|
3195
3195
|
"MESSAGE_TYPE_RECALLED",
|
|
3196
3196
|
"MESSAGE_TYPE_URL",
|
|
3197
|
-
"
|
|
3197
|
+
"MESSAGE_TYPE_VIDEO",
|
|
3198
|
+
"MESSAGE_TYPE_POST",
|
|
3199
|
+
"MESSAGE_TYPE_CHANNEL",
|
|
3200
|
+
"MESSAGE_TYPE_SYSTEM"
|
|
3198
3201
|
],
|
|
3199
3202
|
"default": "MESSAGE_TYPE_UNSPECIFIED"
|
|
3200
3203
|
},
|
|
@@ -27,18 +27,21 @@ enum MessageType {
|
|
|
27
27
|
MESSAGE_TYPE_ATTACHMENT = 1;
|
|
28
28
|
MESSAGE_TYPE_AUDIO = 2;
|
|
29
29
|
MESSAGE_TYPE_CONTACT = 3;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
MESSAGE_TYPE_CHAT_HISTORY = 4;
|
|
31
|
+
MESSAGE_TYPE_EMOTCION = 5;
|
|
32
|
+
MESSAGE_TYPE_IMAGE = 6;
|
|
33
|
+
MESSAGE_TYPE_TEXT = 7;
|
|
34
|
+
MESSAGE_TYPE_LOCATION = 8;
|
|
35
|
+
MESSAGE_TYPE_MINI_PROGRAM = 9;
|
|
36
|
+
MESSAGE_TYPE_GROUP_NOTE = 10;
|
|
37
37
|
MESSAGE_TYPE_TRANSFER = 11;
|
|
38
38
|
MESSAGE_TYPE_RED_ENVELOPE = 12;
|
|
39
39
|
MESSAGE_TYPE_RECALLED = 13;
|
|
40
40
|
MESSAGE_TYPE_URL = 14;
|
|
41
|
-
|
|
41
|
+
MESSAGE_TYPE_VIDEO = 15;
|
|
42
|
+
MESSAGE_TYPE_POST = 16;
|
|
43
|
+
MESSAGE_TYPE_CHANNEL = 17;
|
|
44
|
+
MESSAGE_TYPE_SYSTEM = 18;
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
message MessagePayloadRequest {
|
|
@@ -857,18 +857,21 @@ export interface MessageTypeMap {
|
|
|
857
857
|
MESSAGE_TYPE_ATTACHMENT: 1;
|
|
858
858
|
MESSAGE_TYPE_AUDIO: 2;
|
|
859
859
|
MESSAGE_TYPE_CONTACT: 3;
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
860
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4;
|
|
861
|
+
MESSAGE_TYPE_EMOTCION: 5;
|
|
862
|
+
MESSAGE_TYPE_IMAGE: 6;
|
|
863
|
+
MESSAGE_TYPE_TEXT: 7;
|
|
864
|
+
MESSAGE_TYPE_LOCATION: 8;
|
|
865
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9;
|
|
866
|
+
MESSAGE_TYPE_GROUP_NOTE: 10;
|
|
867
867
|
MESSAGE_TYPE_TRANSFER: 11;
|
|
868
868
|
MESSAGE_TYPE_RED_ENVELOPE: 12;
|
|
869
869
|
MESSAGE_TYPE_RECALLED: 13;
|
|
870
870
|
MESSAGE_TYPE_URL: 14;
|
|
871
|
-
|
|
871
|
+
MESSAGE_TYPE_VIDEO: 15;
|
|
872
|
+
MESSAGE_TYPE_POST: 16;
|
|
873
|
+
MESSAGE_TYPE_CHANNEL: 17;
|
|
874
|
+
MESSAGE_TYPE_SYSTEM: 18;
|
|
872
875
|
}
|
|
873
876
|
|
|
874
877
|
export const MessageType: MessageTypeMap;
|
|
@@ -6539,18 +6539,21 @@ proto.wechaty.puppet.MessageType = {
|
|
|
6539
6539
|
MESSAGE_TYPE_ATTACHMENT: 1,
|
|
6540
6540
|
MESSAGE_TYPE_AUDIO: 2,
|
|
6541
6541
|
MESSAGE_TYPE_CONTACT: 3,
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6542
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4,
|
|
6543
|
+
MESSAGE_TYPE_EMOTCION: 5,
|
|
6544
|
+
MESSAGE_TYPE_IMAGE: 6,
|
|
6545
|
+
MESSAGE_TYPE_TEXT: 7,
|
|
6546
|
+
MESSAGE_TYPE_LOCATION: 8,
|
|
6547
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9,
|
|
6548
|
+
MESSAGE_TYPE_GROUP_NOTE: 10,
|
|
6549
6549
|
MESSAGE_TYPE_TRANSFER: 11,
|
|
6550
6550
|
MESSAGE_TYPE_RED_ENVELOPE: 12,
|
|
6551
6551
|
MESSAGE_TYPE_RECALLED: 13,
|
|
6552
6552
|
MESSAGE_TYPE_URL: 14,
|
|
6553
|
-
|
|
6553
|
+
MESSAGE_TYPE_VIDEO: 15,
|
|
6554
|
+
MESSAGE_TYPE_POST: 16,
|
|
6555
|
+
MESSAGE_TYPE_CHANNEL: 17,
|
|
6556
|
+
MESSAGE_TYPE_SYSTEM: 18
|
|
6554
6557
|
};
|
|
6555
6558
|
|
|
6556
6559
|
goog.object.extend(exports, proto.wechaty.puppet);
|
|
@@ -9,7 +9,7 @@ info:
|
|
|
9
9
|
|
|
10
10
|
Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
|
|
11
11
|
top of the Wechaty Puppet Abstraction and the gRPC proto definition.
|
|
12
|
-
version: 1.0.
|
|
12
|
+
version: 1.0.4
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2211,18 +2211,21 @@ definitions:
|
|
|
2211
2211
|
- MESSAGE_TYPE_ATTACHMENT
|
|
2212
2212
|
- MESSAGE_TYPE_AUDIO
|
|
2213
2213
|
- MESSAGE_TYPE_CONTACT
|
|
2214
|
-
-
|
|
2214
|
+
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2215
|
+
- MESSAGE_TYPE_EMOTCION
|
|
2215
2216
|
- MESSAGE_TYPE_IMAGE
|
|
2216
2217
|
- MESSAGE_TYPE_TEXT
|
|
2217
|
-
- MESSAGE_TYPE_VIDEO
|
|
2218
|
-
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2219
2218
|
- MESSAGE_TYPE_LOCATION
|
|
2220
2219
|
- MESSAGE_TYPE_MINI_PROGRAM
|
|
2220
|
+
- MESSAGE_TYPE_GROUP_NOTE
|
|
2221
2221
|
- MESSAGE_TYPE_TRANSFER
|
|
2222
2222
|
- MESSAGE_TYPE_RED_ENVELOPE
|
|
2223
2223
|
- MESSAGE_TYPE_RECALLED
|
|
2224
2224
|
- MESSAGE_TYPE_URL
|
|
2225
|
+
- MESSAGE_TYPE_VIDEO
|
|
2226
|
+
- MESSAGE_TYPE_POST
|
|
2225
2227
|
- MESSAGE_TYPE_CHANNEL
|
|
2228
|
+
- MESSAGE_TYPE_SYSTEM
|
|
2226
2229
|
default: MESSAGE_TYPE_UNSPECIFIED
|
|
2227
2230
|
puppetMessageUrlResponse:
|
|
2228
2231
|
type: object
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Wechaty Puppet Service OpenAPI Specification",
|
|
5
5
|
"description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.4",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3183,18 +3183,21 @@
|
|
|
3183
3183
|
"MESSAGE_TYPE_ATTACHMENT",
|
|
3184
3184
|
"MESSAGE_TYPE_AUDIO",
|
|
3185
3185
|
"MESSAGE_TYPE_CONTACT",
|
|
3186
|
-
"
|
|
3186
|
+
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3187
|
+
"MESSAGE_TYPE_EMOTCION",
|
|
3187
3188
|
"MESSAGE_TYPE_IMAGE",
|
|
3188
3189
|
"MESSAGE_TYPE_TEXT",
|
|
3189
|
-
"MESSAGE_TYPE_VIDEO",
|
|
3190
|
-
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3191
3190
|
"MESSAGE_TYPE_LOCATION",
|
|
3192
3191
|
"MESSAGE_TYPE_MINI_PROGRAM",
|
|
3192
|
+
"MESSAGE_TYPE_GROUP_NOTE",
|
|
3193
3193
|
"MESSAGE_TYPE_TRANSFER",
|
|
3194
3194
|
"MESSAGE_TYPE_RED_ENVELOPE",
|
|
3195
3195
|
"MESSAGE_TYPE_RECALLED",
|
|
3196
3196
|
"MESSAGE_TYPE_URL",
|
|
3197
|
-
"
|
|
3197
|
+
"MESSAGE_TYPE_VIDEO",
|
|
3198
|
+
"MESSAGE_TYPE_POST",
|
|
3199
|
+
"MESSAGE_TYPE_CHANNEL",
|
|
3200
|
+
"MESSAGE_TYPE_SYSTEM"
|
|
3198
3201
|
],
|
|
3199
3202
|
"default": "MESSAGE_TYPE_UNSPECIFIED"
|
|
3200
3203
|
},
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED