@juzi/wechaty-grpc 1.0.26 → 1.0.28
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/commonjs/generated/puppet.cjs +1 -0
- package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/base_pb.d.ts +3 -2
- package/dist/cjs/out/wechaty/puppet/base_pb.js +3 -2
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +226 -2
- package/dist/cjs/out/wechaty/puppet.swagger.json +288 -127
- package/dist/cjs/proto/wechaty/puppet/base.proto +3 -2
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/commonjs/generated/puppet.cjs +1 -0
- package/dist/esm/commonjs/generated/puppet.cjs.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/base_pb.d.ts +3 -2
- package/dist/esm/out/wechaty/puppet/base_pb.js +3 -2
- package/dist/esm/out/wechaty/puppet.openapi.yaml +226 -2
- package/dist/esm/out/wechaty/puppet.swagger.json +288 -127
- package/dist/esm/proto/wechaty/puppet/base.proto +3 -2
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/base_pb.d.ts +3 -2
- package/out/wechaty/puppet/base_pb.js +3 -2
- package/out/wechaty/puppet.openapi.yaml +226 -2
- package/out/wechaty/puppet.swagger.json +288 -127
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -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.28
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -123,6 +123,7 @@ paths:
|
|
|
123
123
|
properties:
|
|
124
124
|
corporationRemarkStringValueDeprecated:
|
|
125
125
|
type: string
|
|
126
|
+
title: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
126
127
|
corporationRemark:
|
|
127
128
|
type: string
|
|
128
129
|
tags:
|
|
@@ -152,6 +153,7 @@ paths:
|
|
|
152
153
|
properties:
|
|
153
154
|
descriptionStringValueDeprecated:
|
|
154
155
|
type: string
|
|
156
|
+
title: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
155
157
|
description:
|
|
156
158
|
type: string
|
|
157
159
|
tags:
|
|
@@ -250,6 +252,7 @@ paths:
|
|
|
250
252
|
properties:
|
|
251
253
|
aliasStringValueDeprecated:
|
|
252
254
|
type: string
|
|
255
|
+
description: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
253
256
|
title: nullable
|
|
254
257
|
alias:
|
|
255
258
|
type: string
|
|
@@ -273,6 +276,7 @@ paths:
|
|
|
273
276
|
required: true
|
|
274
277
|
type: string
|
|
275
278
|
- name: fileboxStringValueDeprecated
|
|
279
|
+
description: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
276
280
|
in: query
|
|
277
281
|
required: false
|
|
278
282
|
type: string
|
|
@@ -310,6 +314,7 @@ paths:
|
|
|
310
314
|
- PAYLOAD_TYPE_ROOM
|
|
311
315
|
- PAYLOAD_TYPE_ROOM_MEMBER
|
|
312
316
|
- PAYLOAD_TYPE_FRIENDSHIP
|
|
317
|
+
- PAYLOAD_TYPE_POST
|
|
313
318
|
- PAYLOAD_TYPE_TAG
|
|
314
319
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
315
320
|
pattern: PAYLOADTYPECONTACT
|
|
@@ -409,10 +414,12 @@ paths:
|
|
|
409
414
|
$ref: '#/definitions/rpcStatus'
|
|
410
415
|
parameters:
|
|
411
416
|
- name: conversationId
|
|
417
|
+
description: 对话id
|
|
412
418
|
in: path
|
|
413
419
|
required: true
|
|
414
420
|
type: string
|
|
415
421
|
- name: messageId
|
|
422
|
+
description: 要转发的消息id
|
|
416
423
|
in: path
|
|
417
424
|
required: true
|
|
418
425
|
type: string
|
|
@@ -459,6 +466,7 @@ paths:
|
|
|
459
466
|
$ref: '#/definitions/rpcStatus'
|
|
460
467
|
parameters:
|
|
461
468
|
- name: conversationId
|
|
469
|
+
description: 对话id
|
|
462
470
|
in: path
|
|
463
471
|
required: true
|
|
464
472
|
type: string
|
|
@@ -470,6 +478,9 @@ paths:
|
|
|
470
478
|
properties:
|
|
471
479
|
miniProgramDeprecated:
|
|
472
480
|
type: string
|
|
481
|
+
description: >-
|
|
482
|
+
deprecated after Sep 31, 2021, remove compatible code after
|
|
483
|
+
Dec 31, 2022
|
|
473
484
|
title: >-
|
|
474
485
|
*
|
|
475
486
|
|
|
@@ -478,6 +489,7 @@ paths:
|
|
|
478
489
|
The compatible code will be removed after Dec 31, 2022
|
|
479
490
|
miniProgram:
|
|
480
491
|
$ref: '#/definitions/puppetMiniProgramPayload'
|
|
492
|
+
title: 小程序payload
|
|
481
493
|
tags:
|
|
482
494
|
- Puppet
|
|
483
495
|
'/conversations/{conversationId}/text':
|
|
@@ -494,6 +506,7 @@ paths:
|
|
|
494
506
|
$ref: '#/definitions/rpcStatus'
|
|
495
507
|
parameters:
|
|
496
508
|
- name: conversationId
|
|
509
|
+
description: 对话id
|
|
497
510
|
in: path
|
|
498
511
|
required: true
|
|
499
512
|
type: string
|
|
@@ -505,12 +518,16 @@ paths:
|
|
|
505
518
|
properties:
|
|
506
519
|
text:
|
|
507
520
|
type: string
|
|
521
|
+
title: 文本内容
|
|
508
522
|
mentionalIds:
|
|
509
523
|
type: array
|
|
510
524
|
items:
|
|
511
525
|
type: string
|
|
526
|
+
title: '@人id列表'
|
|
512
527
|
quoteId:
|
|
513
528
|
type: string
|
|
529
|
+
title: 引用消息的id
|
|
530
|
+
title: 发文本消息
|
|
514
531
|
tags:
|
|
515
532
|
- Puppet
|
|
516
533
|
'/conversations/{conversationId}/url-link':
|
|
@@ -527,6 +544,7 @@ paths:
|
|
|
527
544
|
$ref: '#/definitions/rpcStatus'
|
|
528
545
|
parameters:
|
|
529
546
|
- name: conversationId
|
|
547
|
+
description: 对话id
|
|
530
548
|
in: path
|
|
531
549
|
required: true
|
|
532
550
|
type: string
|
|
@@ -538,6 +556,9 @@ paths:
|
|
|
538
556
|
properties:
|
|
539
557
|
urlLinkDeprecated:
|
|
540
558
|
type: string
|
|
559
|
+
description: >-
|
|
560
|
+
deprecated after Sep 31, 2021, remove compatible code after
|
|
561
|
+
Dec 31, 2022
|
|
541
562
|
title: >-
|
|
542
563
|
*
|
|
543
564
|
|
|
@@ -546,6 +567,7 @@ paths:
|
|
|
546
567
|
The compatible code will be removed after Dec 31, 2022
|
|
547
568
|
urlLink:
|
|
548
569
|
$ref: '#/definitions/puppetUrlLinkPayload'
|
|
570
|
+
title: 链接payload
|
|
549
571
|
tags:
|
|
550
572
|
- Puppet
|
|
551
573
|
/currentUser:
|
|
@@ -678,8 +700,10 @@ paths:
|
|
|
678
700
|
type: string
|
|
679
701
|
sourceRoomIdStringValueDeprecated:
|
|
680
702
|
type: string
|
|
703
|
+
title: 'Deprecated: will be removed after Dec 31, 2022'
|
|
681
704
|
sourceContactIdStringValueDeprecated:
|
|
682
705
|
type: string
|
|
706
|
+
title: 'Deprecated: will be removed after Dec 31, 2022'
|
|
683
707
|
referrer:
|
|
684
708
|
$ref: '#/definitions/puppetReferrer'
|
|
685
709
|
tags:
|
|
@@ -760,6 +784,8 @@ paths:
|
|
|
760
784
|
Huan(202003):
|
|
761
785
|
What's the reason we need belowing payload?
|
|
762
786
|
We should remove it if possible.
|
|
787
|
+
|
|
788
|
+
DEPRECATED, will be removed after Dec 31, 2022
|
|
763
789
|
in: query
|
|
764
790
|
required: false
|
|
765
791
|
type: string
|
|
@@ -797,6 +823,7 @@ paths:
|
|
|
797
823
|
- PAYLOAD_TYPE_ROOM
|
|
798
824
|
- PAYLOAD_TYPE_ROOM_MEMBER
|
|
799
825
|
- PAYLOAD_TYPE_FRIENDSHIP
|
|
826
|
+
- PAYLOAD_TYPE_POST
|
|
800
827
|
- PAYLOAD_TYPE_TAG
|
|
801
828
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
802
829
|
pattern: PAYLOADTYPEFRIENDSHIP
|
|
@@ -901,6 +928,7 @@ paths:
|
|
|
901
928
|
- PAYLOAD_TYPE_ROOM
|
|
902
929
|
- PAYLOAD_TYPE_ROOM_MEMBER
|
|
903
930
|
- PAYLOAD_TYPE_FRIENDSHIP
|
|
931
|
+
- PAYLOAD_TYPE_POST
|
|
904
932
|
- PAYLOAD_TYPE_TAG
|
|
905
933
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
906
934
|
pattern: PAYLOADTYPEMESSAGE
|
|
@@ -1015,10 +1043,12 @@ paths:
|
|
|
1015
1043
|
$ref: '#/definitions/rpcStatus'
|
|
1016
1044
|
parameters:
|
|
1017
1045
|
- name: messageId
|
|
1046
|
+
description: 要转发的消息id
|
|
1018
1047
|
in: path
|
|
1019
1048
|
required: true
|
|
1020
1049
|
type: string
|
|
1021
1050
|
- name: conversationId
|
|
1051
|
+
description: 对话id
|
|
1022
1052
|
in: path
|
|
1023
1053
|
required: true
|
|
1024
1054
|
type: string
|
|
@@ -1173,6 +1203,8 @@ paths:
|
|
|
1173
1203
|
@deprecated: use payload instead.
|
|
1174
1204
|
Huan(202109): Wrapper types must not be used going forward.
|
|
1175
1205
|
https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
|
|
1206
|
+
|
|
1207
|
+
Deprecated: will be removed after Dec 31, 2022
|
|
1176
1208
|
in: query
|
|
1177
1209
|
required: false
|
|
1178
1210
|
type: string
|
|
@@ -1291,10 +1323,12 @@ paths:
|
|
|
1291
1323
|
required: true
|
|
1292
1324
|
type: string
|
|
1293
1325
|
- name: contactId
|
|
1326
|
+
description: 被邀请联系人id
|
|
1294
1327
|
in: path
|
|
1295
1328
|
required: true
|
|
1296
1329
|
type: string
|
|
1297
1330
|
- name: inviteOnly
|
|
1331
|
+
description: 不明确,目前没见到使用这个的地方
|
|
1298
1332
|
in: query
|
|
1299
1333
|
required: false
|
|
1300
1334
|
type: boolean
|
|
@@ -1318,6 +1352,7 @@ paths:
|
|
|
1318
1352
|
required: true
|
|
1319
1353
|
type: string
|
|
1320
1354
|
- name: textStringValueDeprecated
|
|
1355
|
+
description: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
1321
1356
|
in: query
|
|
1322
1357
|
required: false
|
|
1323
1358
|
type: string
|
|
@@ -1351,8 +1386,10 @@ paths:
|
|
|
1351
1386
|
properties:
|
|
1352
1387
|
textStringValueDeprecated:
|
|
1353
1388
|
type: string
|
|
1389
|
+
title: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
1354
1390
|
text:
|
|
1355
1391
|
type: string
|
|
1392
|
+
title: 群公告
|
|
1356
1393
|
tags:
|
|
1357
1394
|
- Puppet
|
|
1358
1395
|
'/rooms/{id}/avatar':
|
|
@@ -1402,6 +1439,7 @@ paths:
|
|
|
1402
1439
|
- PAYLOAD_TYPE_ROOM
|
|
1403
1440
|
- PAYLOAD_TYPE_ROOM_MEMBER
|
|
1404
1441
|
- PAYLOAD_TYPE_FRIENDSHIP
|
|
1442
|
+
- PAYLOAD_TYPE_POST
|
|
1405
1443
|
- PAYLOAD_TYPE_TAG
|
|
1406
1444
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
1407
1445
|
pattern: PAYLOADTYPEROOMMEMBER
|
|
@@ -1435,6 +1473,7 @@ paths:
|
|
|
1435
1473
|
- PAYLOAD_TYPE_ROOM
|
|
1436
1474
|
- PAYLOAD_TYPE_ROOM_MEMBER
|
|
1437
1475
|
- PAYLOAD_TYPE_FRIENDSHIP
|
|
1476
|
+
- PAYLOAD_TYPE_POST
|
|
1438
1477
|
- PAYLOAD_TYPE_TAG
|
|
1439
1478
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
1440
1479
|
pattern: PAYLOADTYPEROOM
|
|
@@ -1458,6 +1497,7 @@ paths:
|
|
|
1458
1497
|
required: true
|
|
1459
1498
|
type: string
|
|
1460
1499
|
- name: contactId
|
|
1500
|
+
description: 'Deprecated, will be removed after bot updated'
|
|
1461
1501
|
in: path
|
|
1462
1502
|
required: true
|
|
1463
1503
|
type: string
|
|
@@ -1551,6 +1591,7 @@ paths:
|
|
|
1551
1591
|
required: true
|
|
1552
1592
|
type: string
|
|
1553
1593
|
- name: topicStringValueDeprecated
|
|
1594
|
+
description: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
1554
1595
|
in: query
|
|
1555
1596
|
required: false
|
|
1556
1597
|
type: string
|
|
@@ -2016,7 +2057,10 @@ paths:
|
|
|
2016
2057
|
$ref: '#/definitions/rpcStatus'
|
|
2017
2058
|
parameters:
|
|
2018
2059
|
- name: body
|
|
2019
|
-
description:
|
|
2060
|
+
description: |-
|
|
2061
|
+
*
|
|
2062
|
+
Huan(202110): `oneof xxx {}` seems equal with `optional`?
|
|
2063
|
+
to be confirmed. (streaming inputs)
|
|
2020
2064
|
in: body
|
|
2021
2065
|
required: true
|
|
2022
2066
|
schema:
|
|
@@ -2035,26 +2079,35 @@ definitions:
|
|
|
2035
2079
|
properties:
|
|
2036
2080
|
avatar:
|
|
2037
2081
|
type: string
|
|
2082
|
+
title: 头像
|
|
2038
2083
|
coverUrl:
|
|
2039
2084
|
type: string
|
|
2085
|
+
title: 封面地址
|
|
2040
2086
|
desc:
|
|
2041
2087
|
type: string
|
|
2088
|
+
title: 描述
|
|
2042
2089
|
extras:
|
|
2043
2090
|
type: string
|
|
2091
|
+
title: 额外信息,暂不明确含义,但传错会导致无法发出(红色感叹号)。应根据收到的视频号的extras字段填入。
|
|
2044
2092
|
feedType:
|
|
2045
2093
|
type: integer
|
|
2046
2094
|
format: int32
|
|
2095
|
+
title: 暂不明确含义,目前请固定传4
|
|
2047
2096
|
nickname:
|
|
2048
2097
|
type: string
|
|
2098
|
+
title: 用户名
|
|
2049
2099
|
thumbUrl:
|
|
2050
2100
|
type: string
|
|
2101
|
+
title: 缩略图地址
|
|
2051
2102
|
url:
|
|
2052
2103
|
type: string
|
|
2104
|
+
title: 视频号地址
|
|
2053
2105
|
puppetContactAliasResponse:
|
|
2054
2106
|
type: object
|
|
2055
2107
|
properties:
|
|
2056
2108
|
aliasStringValueDeprecated:
|
|
2057
2109
|
type: string
|
|
2110
|
+
title: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
2058
2111
|
alias:
|
|
2059
2112
|
type: string
|
|
2060
2113
|
puppetContactAvatarResponse:
|
|
@@ -2062,6 +2115,7 @@ definitions:
|
|
|
2062
2115
|
properties:
|
|
2063
2116
|
fileboxStringValueDeprecated:
|
|
2064
2117
|
type: string
|
|
2118
|
+
title: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
2065
2119
|
fileBox:
|
|
2066
2120
|
type: string
|
|
2067
2121
|
puppetContactCorporationRemarkResponse:
|
|
@@ -2075,6 +2129,11 @@ definitions:
|
|
|
2075
2129
|
- CONTACT_GENDER_MALE
|
|
2076
2130
|
- CONTACT_GENDER_FEMALE
|
|
2077
2131
|
default: CONTACT_GENDER_UNSPECIFIED
|
|
2132
|
+
description: |-
|
|
2133
|
+
- CONTACT_GENDER_UNSPECIFIED: 不明确
|
|
2134
|
+
- CONTACT_GENDER_MALE: 男
|
|
2135
|
+
- CONTACT_GENDER_FEMALE: 女
|
|
2136
|
+
title: 性别枚举
|
|
2078
2137
|
puppetContactListResponse:
|
|
2079
2138
|
type: object
|
|
2080
2139
|
properties:
|
|
@@ -2089,26 +2148,37 @@ definitions:
|
|
|
2089
2148
|
type: string
|
|
2090
2149
|
gender:
|
|
2091
2150
|
$ref: '#/definitions/puppetContactGender'
|
|
2151
|
+
title: 性别
|
|
2092
2152
|
type:
|
|
2093
2153
|
$ref: '#/definitions/puppetContactType'
|
|
2154
|
+
title: 类型
|
|
2094
2155
|
name:
|
|
2095
2156
|
type: string
|
|
2157
|
+
title: 姓名
|
|
2096
2158
|
avatar:
|
|
2097
2159
|
type: string
|
|
2160
|
+
title: 头像
|
|
2098
2161
|
address:
|
|
2099
2162
|
type: string
|
|
2163
|
+
title: 地址
|
|
2100
2164
|
alias:
|
|
2101
2165
|
type: string
|
|
2166
|
+
title: 别名,即备注
|
|
2102
2167
|
city:
|
|
2103
2168
|
type: string
|
|
2169
|
+
title: 城市
|
|
2104
2170
|
friend:
|
|
2105
2171
|
type: boolean
|
|
2172
|
+
title: 是否为好友
|
|
2106
2173
|
province:
|
|
2107
2174
|
type: string
|
|
2175
|
+
title: 省份
|
|
2108
2176
|
signature:
|
|
2109
2177
|
type: string
|
|
2178
|
+
title: 签名
|
|
2110
2179
|
star:
|
|
2111
2180
|
type: boolean
|
|
2181
|
+
title: 是否为特别好友
|
|
2112
2182
|
weixin:
|
|
2113
2183
|
type: string
|
|
2114
2184
|
description: >-
|
|
@@ -2124,24 +2194,34 @@ definitions:
|
|
|
2124
2194
|
@link https://github.com/wechaty/getting-started/issues/254
|
|
2125
2195
|
|
|
2126
2196
|
TODO: rename `weixin` to `handle` in v2.0.0
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
IM专属id,在企微环境中特指weixinId
|
|
2127
2200
|
corporation:
|
|
2128
2201
|
type: string
|
|
2202
|
+
title: 企业
|
|
2129
2203
|
title:
|
|
2130
2204
|
type: string
|
|
2205
|
+
title: 头衔
|
|
2131
2206
|
description:
|
|
2132
2207
|
type: string
|
|
2208
|
+
title: 描述
|
|
2133
2209
|
coworker:
|
|
2134
2210
|
type: boolean
|
|
2211
|
+
title: 是否为同事
|
|
2135
2212
|
phones:
|
|
2136
2213
|
type: array
|
|
2137
2214
|
items:
|
|
2138
2215
|
type: string
|
|
2216
|
+
title: 电话号码,企微中最多5个
|
|
2139
2217
|
additionalInfo:
|
|
2140
2218
|
type: string
|
|
2219
|
+
title: 额外信息,是由JS对象stringify得到的字符串,目前支持的内容包含addContactTime、corpId等。
|
|
2141
2220
|
tagIds:
|
|
2142
2221
|
type: array
|
|
2143
2222
|
items:
|
|
2144
2223
|
type: string
|
|
2224
|
+
title: 标签(的id)
|
|
2145
2225
|
puppetContactPhoneResponse:
|
|
2146
2226
|
type: object
|
|
2147
2227
|
properties:
|
|
@@ -2171,6 +2251,12 @@ definitions:
|
|
|
2171
2251
|
- CONTACT_TYPE_OFFICIAL
|
|
2172
2252
|
- CONTACT_TYPE_CORPORATION
|
|
2173
2253
|
default: CONTACT_TYPE_UNSPECIFIED
|
|
2254
|
+
description: |-
|
|
2255
|
+
- CONTACT_TYPE_UNSPECIFIED: 不明确
|
|
2256
|
+
- CONTACT_TYPE_PERSONAL: 个微联系人
|
|
2257
|
+
- CONTACT_TYPE_OFFICIAL: 公众号
|
|
2258
|
+
- CONTACT_TYPE_CORPORATION: 企微联系人
|
|
2259
|
+
title: 类型枚举
|
|
2174
2260
|
puppetConversationReadResponse:
|
|
2175
2261
|
type: object
|
|
2176
2262
|
puppetCurrentUserResponse:
|
|
@@ -2185,6 +2271,10 @@ definitions:
|
|
|
2185
2271
|
type: string
|
|
2186
2272
|
puppetDingResponse:
|
|
2187
2273
|
type: object
|
|
2274
|
+
title: |-
|
|
2275
|
+
*
|
|
2276
|
+
Ding has no return value
|
|
2277
|
+
Puppet should emit a `ding` event when it receives a `ding()` call
|
|
2188
2278
|
puppetDirtyPayloadResponse:
|
|
2189
2279
|
type: object
|
|
2190
2280
|
puppetDownloadResponse:
|
|
@@ -2200,6 +2290,7 @@ definitions:
|
|
|
2200
2290
|
$ref: '#/definitions/puppetEventType'
|
|
2201
2291
|
payload:
|
|
2202
2292
|
type: string
|
|
2293
|
+
description: 'JSON.stringify({ ... })'
|
|
2203
2294
|
title: 'TODO: Huan(202002) consider to use a PB Map?'
|
|
2204
2295
|
puppetEventType:
|
|
2205
2296
|
type: string
|
|
@@ -2235,6 +2326,11 @@ definitions:
|
|
|
2235
2326
|
title: 'oneof payload {'
|
|
2236
2327
|
name:
|
|
2237
2328
|
type: string
|
|
2329
|
+
title: '}'
|
|
2330
|
+
description: |-
|
|
2331
|
+
*
|
|
2332
|
+
Huan(202110): `oneof xxx {}` seems equal with `optional`?
|
|
2333
|
+
to be confirmed.
|
|
2238
2334
|
puppetFriendshipAcceptResponse:
|
|
2239
2335
|
type: object
|
|
2240
2336
|
puppetFriendshipAddResponse:
|
|
@@ -2246,16 +2342,22 @@ definitions:
|
|
|
2246
2342
|
type: string
|
|
2247
2343
|
contactId:
|
|
2248
2344
|
type: string
|
|
2345
|
+
title: 加好友的联系人id
|
|
2249
2346
|
hello:
|
|
2250
2347
|
type: string
|
|
2348
|
+
title: 加好友的打招呼消息
|
|
2251
2349
|
type:
|
|
2252
2350
|
$ref: '#/definitions/puppetFriendshipType'
|
|
2351
|
+
title: 好友事件类型
|
|
2253
2352
|
stranger:
|
|
2254
2353
|
type: string
|
|
2354
|
+
title: 不明确含义,wxwork中未使用
|
|
2255
2355
|
ticket:
|
|
2256
2356
|
type: string
|
|
2357
|
+
title: 个微遗留字段,wxwork中会传corp_id
|
|
2257
2358
|
scene:
|
|
2258
2359
|
$ref: '#/definitions/puppetFriendshipSceneType'
|
|
2360
|
+
title: 加好友的场景(例如通过名片添加、通过群添加等),wxwork未使用
|
|
2259
2361
|
puppetFriendshipSceneType:
|
|
2260
2362
|
type: string
|
|
2261
2363
|
enum:
|
|
@@ -2272,6 +2374,7 @@ definitions:
|
|
|
2272
2374
|
- FRIENDSHIP_SCENE_TYPE_SHAKING
|
|
2273
2375
|
- FRIENDSHIP_SCENE_TYPE_QRCODE
|
|
2274
2376
|
default: FRIENDSHIP_SCENE_TYPE_UNSPECIFIED
|
|
2377
|
+
title: 事件场景 wxwork中未使用
|
|
2275
2378
|
puppetFriendshipSearchHandleRequest:
|
|
2276
2379
|
type: object
|
|
2277
2380
|
properties:
|
|
@@ -2307,6 +2410,7 @@ definitions:
|
|
|
2307
2410
|
properties:
|
|
2308
2411
|
contactIdStringValueDeprecated:
|
|
2309
2412
|
type: string
|
|
2413
|
+
description: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
2310
2414
|
title: nullable
|
|
2311
2415
|
contactId:
|
|
2312
2416
|
type: string
|
|
@@ -2315,6 +2419,7 @@ definitions:
|
|
|
2315
2419
|
properties:
|
|
2316
2420
|
contactIdStringValueDeprecated:
|
|
2317
2421
|
type: string
|
|
2422
|
+
description: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
2318
2423
|
title: nullable
|
|
2319
2424
|
contactId:
|
|
2320
2425
|
type: string
|
|
@@ -2328,6 +2433,14 @@ definitions:
|
|
|
2328
2433
|
- FRIENDSHIP_TYPE_DELETE
|
|
2329
2434
|
- FRIENDSHIP_TYPE_REMOVED
|
|
2330
2435
|
default: FRIENDSHIP_TYPE_UNSPECIFIED
|
|
2436
|
+
description: |-
|
|
2437
|
+
- FRIENDSHIP_TYPE_UNSPECIFIED: 不明确
|
|
2438
|
+
- FRIENDSHIP_TYPE_CONFIRM: 确认——双方互加后触发
|
|
2439
|
+
- FRIENDSHIP_TYPE_RECEIVE: 收到——收到好友请求后触发
|
|
2440
|
+
- FRIENDSHIP_TYPE_VERIFY: 验证——主动加他人为好友时触发,wxwork里暂无此事件
|
|
2441
|
+
- FRIENDSHIP_TYPE_DELETE: 删除——主动删除好友时触发
|
|
2442
|
+
- FRIENDSHIP_TYPE_REMOVED: 被删除——被他人删除好友时触发
|
|
2443
|
+
title: 事件类型
|
|
2331
2444
|
puppetImageType:
|
|
2332
2445
|
type: string
|
|
2333
2446
|
enum:
|
|
@@ -2342,16 +2455,21 @@ definitions:
|
|
|
2342
2455
|
accuracy:
|
|
2343
2456
|
type: number
|
|
2344
2457
|
format: float
|
|
2458
|
+
title: 精确度,默认为15
|
|
2345
2459
|
address:
|
|
2346
2460
|
type: string
|
|
2461
|
+
title: 地址,xx省xx市xx区xx路xx号
|
|
2347
2462
|
latitude:
|
|
2348
2463
|
type: number
|
|
2349
2464
|
format: double
|
|
2465
|
+
title: 纬度,北纬为正
|
|
2350
2466
|
longitude:
|
|
2351
2467
|
type: number
|
|
2352
2468
|
format: double
|
|
2469
|
+
title: 经度,东经为正
|
|
2353
2470
|
name:
|
|
2354
2471
|
type: string
|
|
2472
|
+
title: 地址名,例如xx大厦
|
|
2355
2473
|
puppetLogoutResponse:
|
|
2356
2474
|
type: object
|
|
2357
2475
|
puppetMessageChannelResponse:
|
|
@@ -2389,6 +2507,7 @@ definitions:
|
|
|
2389
2507
|
properties:
|
|
2390
2508
|
idStringValueDeprecated:
|
|
2391
2509
|
type: string
|
|
2510
|
+
description: 'Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022'
|
|
2392
2511
|
title: |-
|
|
2393
2512
|
*
|
|
2394
2513
|
@deprecated: use payload instead.
|
|
@@ -2403,6 +2522,7 @@ definitions:
|
|
|
2403
2522
|
type: string
|
|
2404
2523
|
type:
|
|
2405
2524
|
$ref: '#/definitions/puppetImageType'
|
|
2525
|
+
title: 获取图片的类型(缩略图、原图)
|
|
2406
2526
|
puppetMessageImageResponse:
|
|
2407
2527
|
type: object
|
|
2408
2528
|
properties:
|
|
@@ -2430,6 +2550,9 @@ definitions:
|
|
|
2430
2550
|
properties:
|
|
2431
2551
|
miniProgramDeprecated:
|
|
2432
2552
|
type: string
|
|
2553
|
+
description: >-
|
|
2554
|
+
deprecated after Sep 31, 2021, remove compatible code after Dec 31,
|
|
2555
|
+
2022
|
|
2433
2556
|
title: |-
|
|
2434
2557
|
*
|
|
2435
2558
|
Huan(202110): We should use payload instead of JSON.stringify string
|
|
@@ -2443,8 +2566,10 @@ definitions:
|
|
|
2443
2566
|
type: string
|
|
2444
2567
|
filename:
|
|
2445
2568
|
type: string
|
|
2569
|
+
title: 文件名
|
|
2446
2570
|
text:
|
|
2447
2571
|
type: string
|
|
2572
|
+
title: 文本内容
|
|
2448
2573
|
timestampDeprecated:
|
|
2449
2574
|
type: string
|
|
2450
2575
|
format: uint64
|
|
@@ -2454,21 +2579,28 @@ definitions:
|
|
|
2454
2579
|
Huan(202109): use receive_time(10) instead
|
|
2455
2580
|
type:
|
|
2456
2581
|
$ref: '#/definitions/puppetMessageType'
|
|
2582
|
+
title: 类型
|
|
2457
2583
|
talkerId:
|
|
2458
2584
|
type: string
|
|
2585
|
+
title: 发送者id
|
|
2459
2586
|
roomId:
|
|
2460
2587
|
type: string
|
|
2588
|
+
title: 群聊id
|
|
2461
2589
|
listenerId:
|
|
2462
2590
|
type: string
|
|
2591
|
+
title: 接受者id
|
|
2463
2592
|
mentionIds:
|
|
2464
2593
|
type: array
|
|
2465
2594
|
items:
|
|
2466
2595
|
type: string
|
|
2596
|
+
title: 群消息@人的id列表
|
|
2467
2597
|
receiveTime:
|
|
2468
2598
|
type: string
|
|
2469
2599
|
format: date-time
|
|
2600
|
+
title: 收到消息时间
|
|
2470
2601
|
quoteId:
|
|
2471
2602
|
type: string
|
|
2603
|
+
title: 被引用的消息id
|
|
2472
2604
|
puppetMessagePreviewResponse:
|
|
2473
2605
|
type: object
|
|
2474
2606
|
properties:
|
|
@@ -2489,6 +2621,7 @@ definitions:
|
|
|
2489
2621
|
properties:
|
|
2490
2622
|
idStringValueDeprecated:
|
|
2491
2623
|
type: string
|
|
2624
|
+
description: 'Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022'
|
|
2492
2625
|
title: |-
|
|
2493
2626
|
*
|
|
2494
2627
|
@deprecated:
|
|
@@ -2501,13 +2634,16 @@ definitions:
|
|
|
2501
2634
|
properties:
|
|
2502
2635
|
conversationId:
|
|
2503
2636
|
type: string
|
|
2637
|
+
title: 对话id
|
|
2504
2638
|
fileBox:
|
|
2505
2639
|
type: string
|
|
2640
|
+
title: 发送文件的fileBox.toJSON()
|
|
2506
2641
|
puppetMessageSendFileResponse:
|
|
2507
2642
|
type: object
|
|
2508
2643
|
properties:
|
|
2509
2644
|
idStringValueDeprecated:
|
|
2510
2645
|
type: string
|
|
2646
|
+
description: 'Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022'
|
|
2511
2647
|
title: |-
|
|
2512
2648
|
*
|
|
2513
2649
|
@deprecated:
|
|
@@ -2523,11 +2659,17 @@ definitions:
|
|
|
2523
2659
|
title: 'oneof payload {'
|
|
2524
2660
|
fileBoxChunk:
|
|
2525
2661
|
$ref: '#/definitions/puppetFileBoxChunk'
|
|
2662
|
+
title: '};'
|
|
2663
|
+
description: |-
|
|
2664
|
+
*
|
|
2665
|
+
Huan(202110): `oneof xxx {}` seems equal with `optional`?
|
|
2666
|
+
to be confirmed.
|
|
2526
2667
|
puppetMessageSendFileStreamResponse:
|
|
2527
2668
|
type: object
|
|
2528
2669
|
properties:
|
|
2529
2670
|
idStringValueDeprecated:
|
|
2530
2671
|
type: string
|
|
2672
|
+
description: 'Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022'
|
|
2531
2673
|
title: |-
|
|
2532
2674
|
*
|
|
2533
2675
|
@deprecated:
|
|
@@ -2553,6 +2695,7 @@ definitions:
|
|
|
2553
2695
|
properties:
|
|
2554
2696
|
idStringValueDeprecated:
|
|
2555
2697
|
type: string
|
|
2698
|
+
description: 'Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022'
|
|
2556
2699
|
title: |-
|
|
2557
2700
|
*
|
|
2558
2701
|
@deprecated:
|
|
@@ -2565,6 +2708,7 @@ definitions:
|
|
|
2565
2708
|
properties:
|
|
2566
2709
|
idStringValueDeprecated:
|
|
2567
2710
|
type: string
|
|
2711
|
+
description: 'Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022'
|
|
2568
2712
|
title: |-
|
|
2569
2713
|
*
|
|
2570
2714
|
@deprecated:
|
|
@@ -2577,6 +2721,7 @@ definitions:
|
|
|
2577
2721
|
properties:
|
|
2578
2722
|
idStringValueDeprecated:
|
|
2579
2723
|
type: string
|
|
2724
|
+
description: 'Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022'
|
|
2580
2725
|
title: |-
|
|
2581
2726
|
*
|
|
2582
2727
|
@deprecated:
|
|
@@ -2607,11 +2752,34 @@ definitions:
|
|
|
2607
2752
|
- MESSAGE_TYPE_CHANNEL
|
|
2608
2753
|
- MESSAGE_TYPE_SYSTEM
|
|
2609
2754
|
default: MESSAGE_TYPE_UNSPECIFIED
|
|
2755
|
+
description: |-
|
|
2756
|
+
- MESSAGE_TYPE_ATTACHMENT: 文件消息
|
|
2757
|
+
- MESSAGE_TYPE_AUDIO: 音频
|
|
2758
|
+
- MESSAGE_TYPE_CONTACT: 名片
|
|
2759
|
+
- MESSAGE_TYPE_CHAT_HISTORY: 聊天记录,wxwork暂不支持
|
|
2760
|
+
- MESSAGE_TYPE_EMOTCION: 表情
|
|
2761
|
+
- MESSAGE_TYPE_IMAGE: 图片
|
|
2762
|
+
- MESSAGE_TYPE_TEXT: 文本
|
|
2763
|
+
- MESSAGE_TYPE_LOCATION: 地址
|
|
2764
|
+
- MESSAGE_TYPE_MINI_PROGRAM: 小程序
|
|
2765
|
+
- MESSAGE_TYPE_GROUP_NOTE: 群接龙消息,wxwork中没有
|
|
2766
|
+
- MESSAGE_TYPE_TRANSFER: 转账,wxwork中没有
|
|
2767
|
+
- MESSAGE_TYPE_RED_ENVELOPE: 红包,wxwork中没有
|
|
2768
|
+
- MESSAGE_TYPE_RECALLED: 撤回
|
|
2769
|
+
- MESSAGE_TYPE_URL: 链接
|
|
2770
|
+
- MESSAGE_TYPE_VIDEO: 视频
|
|
2771
|
+
- MESSAGE_TYPE_POST: 特殊的复合类型,wxwork中没有
|
|
2772
|
+
- MESSAGE_TYPE_CHANNEL: 视频号
|
|
2773
|
+
- MESSAGE_TYPE_SYSTEM: 系统消息
|
|
2774
|
+
title: 消息类型
|
|
2610
2775
|
puppetMessageUrlResponse:
|
|
2611
2776
|
type: object
|
|
2612
2777
|
properties:
|
|
2613
2778
|
urlLinkDeprecated:
|
|
2614
2779
|
type: string
|
|
2780
|
+
description: >-
|
|
2781
|
+
deprecated after Sep 31, 2021, remove compatible code after Dec 31,
|
|
2782
|
+
2022
|
|
2615
2783
|
title: |-
|
|
2616
2784
|
*
|
|
2617
2785
|
Huan(202110): We should use payload instead of JSON.stringify string
|
|
@@ -2623,22 +2791,31 @@ definitions:
|
|
|
2623
2791
|
properties:
|
|
2624
2792
|
appid:
|
|
2625
2793
|
type: string
|
|
2794
|
+
title: appId,形式如wx4ff94de0d8038c25
|
|
2626
2795
|
description:
|
|
2627
2796
|
type: string
|
|
2797
|
+
title: 描述(副标题)
|
|
2628
2798
|
pagePath:
|
|
2629
2799
|
type: string
|
|
2800
|
+
title: 访问路径
|
|
2630
2801
|
iconUrl:
|
|
2631
2802
|
type: string
|
|
2803
|
+
title: 图标路径
|
|
2632
2804
|
shareId:
|
|
2633
2805
|
type: string
|
|
2806
|
+
title: 发送小程序的用户id,可不填
|
|
2634
2807
|
thumbUrl:
|
|
2635
2808
|
type: string
|
|
2809
|
+
title: 缩略图路径
|
|
2636
2810
|
title:
|
|
2637
2811
|
type: string
|
|
2812
|
+
title: 标题
|
|
2638
2813
|
username:
|
|
2639
2814
|
type: string
|
|
2815
|
+
title: 关联公众号id,形式gh_69105b80ea75@app
|
|
2640
2816
|
thumbKey:
|
|
2641
2817
|
type: string
|
|
2818
|
+
title: 缩略图的key,可不填
|
|
2642
2819
|
puppetMomentCoverageRequest:
|
|
2643
2820
|
type: object
|
|
2644
2821
|
properties:
|
|
@@ -2678,6 +2855,7 @@ definitions:
|
|
|
2678
2855
|
- PAYLOAD_TYPE_ROOM
|
|
2679
2856
|
- PAYLOAD_TYPE_ROOM_MEMBER
|
|
2680
2857
|
- PAYLOAD_TYPE_FRIENDSHIP
|
|
2858
|
+
- PAYLOAD_TYPE_POST
|
|
2681
2859
|
- PAYLOAD_TYPE_TAG
|
|
2682
2860
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
2683
2861
|
default: PAYLOAD_TYPE_UNSPECIFIED
|
|
@@ -2686,8 +2864,10 @@ definitions:
|
|
|
2686
2864
|
properties:
|
|
2687
2865
|
parentId:
|
|
2688
2866
|
type: string
|
|
2867
|
+
title: '转发的上一级id,评论时如果是回复,则是回复的评论的id,否则是朋友圈的id'
|
|
2689
2868
|
rootId:
|
|
2690
2869
|
type: string
|
|
2870
|
+
title: 转发的根id,评论时应该是朋友圈的id
|
|
2691
2871
|
type:
|
|
2692
2872
|
$ref: '#/definitions/puppetPostType'
|
|
2693
2873
|
sayableList:
|
|
@@ -2721,8 +2901,10 @@ definitions:
|
|
|
2721
2901
|
properties:
|
|
2722
2902
|
parentId:
|
|
2723
2903
|
type: string
|
|
2904
|
+
title: 转发的上一级id
|
|
2724
2905
|
rootId:
|
|
2725
2906
|
type: string
|
|
2907
|
+
title: 转发的根id
|
|
2726
2908
|
type:
|
|
2727
2909
|
$ref: '#/definitions/puppetPostType'
|
|
2728
2910
|
sayableList:
|
|
@@ -2751,10 +2933,12 @@ definitions:
|
|
|
2751
2933
|
$ref: '#/definitions/puppetSayableType'
|
|
2752
2934
|
id:
|
|
2753
2935
|
type: string
|
|
2936
|
+
title: 服务器端获取的Post只传回id,异步进行获取
|
|
2754
2937
|
text:
|
|
2755
2938
|
type: string
|
|
2756
2939
|
fileBox:
|
|
2757
2940
|
type: string
|
|
2941
|
+
title: FileBox.toJSON()
|
|
2758
2942
|
urlLink:
|
|
2759
2943
|
$ref: '#/definitions/puppetUrlLinkPayload'
|
|
2760
2944
|
channel:
|
|
@@ -2763,6 +2947,7 @@ definitions:
|
|
|
2763
2947
|
type: array
|
|
2764
2948
|
items:
|
|
2765
2949
|
type: string
|
|
2950
|
+
title: 文本类型的sayable可传,朋友圈暂不支持
|
|
2766
2951
|
puppetPostTapRequest:
|
|
2767
2952
|
type: object
|
|
2768
2953
|
properties:
|
|
@@ -2772,6 +2957,7 @@ definitions:
|
|
|
2772
2957
|
$ref: '#/definitions/puppetTapType'
|
|
2773
2958
|
tap:
|
|
2774
2959
|
type: boolean
|
|
2960
|
+
title: 点赞还是取消
|
|
2775
2961
|
puppetPostTapResponse:
|
|
2776
2962
|
type: object
|
|
2777
2963
|
properties:
|
|
@@ -2785,6 +2971,10 @@ definitions:
|
|
|
2785
2971
|
- POST_TYPE_CHANNEL
|
|
2786
2972
|
- POST_TYPE_MESSAGE
|
|
2787
2973
|
default: POST_TYPE_UNSPECIFIED
|
|
2974
|
+
title: |-
|
|
2975
|
+
- POST_TYPE_MOMENT: 朋友圈
|
|
2976
|
+
- POST_TYPE_CHANNEL: 视频号——原始设计走post,实际目前采用message
|
|
2977
|
+
- POST_TYPE_MESSAGE: 消息——富媒体消息
|
|
2788
2978
|
puppetReferrer:
|
|
2789
2979
|
type: object
|
|
2790
2980
|
properties:
|
|
@@ -2805,6 +2995,7 @@ definitions:
|
|
|
2805
2995
|
properties:
|
|
2806
2996
|
textStringValueDeprecated:
|
|
2807
2997
|
type: string
|
|
2998
|
+
title: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
2808
2999
|
text:
|
|
2809
3000
|
type: string
|
|
2810
3001
|
puppetRoomAvatarResponse:
|
|
@@ -2819,8 +3010,10 @@ definitions:
|
|
|
2819
3010
|
type: array
|
|
2820
3011
|
items:
|
|
2821
3012
|
type: string
|
|
3013
|
+
title: 初始群成员id
|
|
2822
3014
|
topic:
|
|
2823
3015
|
type: string
|
|
3016
|
+
title: 群名称
|
|
2824
3017
|
puppetRoomCreateResponse:
|
|
2825
3018
|
type: object
|
|
2826
3019
|
properties:
|
|
@@ -2837,31 +3030,40 @@ definitions:
|
|
|
2837
3030
|
type: string
|
|
2838
3031
|
inviterId:
|
|
2839
3032
|
type: string
|
|
3033
|
+
title: 邀请者id
|
|
2840
3034
|
topic:
|
|
2841
3035
|
type: string
|
|
3036
|
+
title: 群名称
|
|
2842
3037
|
memberCount:
|
|
2843
3038
|
type: integer
|
|
2844
3039
|
format: int32
|
|
3040
|
+
title: 群成员数量
|
|
2845
3041
|
memberIds:
|
|
2846
3042
|
type: array
|
|
2847
3043
|
items:
|
|
2848
3044
|
type: string
|
|
3045
|
+
title: 群成员id列表
|
|
2849
3046
|
timestampUint64Deprecated:
|
|
2850
3047
|
type: string
|
|
2851
3048
|
format: uint64
|
|
3049
|
+
description: 'Deprecated: will be removed after Dec 31, 2022'
|
|
2852
3050
|
title: |-
|
|
2853
3051
|
*
|
|
2854
3052
|
@deprecated will be removed after Dec 31, 2022
|
|
2855
3053
|
Huan(202109): use receive_time(10) instead
|
|
2856
3054
|
avatar:
|
|
2857
3055
|
type: string
|
|
3056
|
+
title: 群头像
|
|
2858
3057
|
invitation:
|
|
2859
3058
|
type: string
|
|
3059
|
+
title: 在企微中为群邀请的链接地址
|
|
2860
3060
|
receiverId:
|
|
2861
3061
|
type: string
|
|
3062
|
+
title: 收到群邀请的成员id
|
|
2862
3063
|
receiveTime:
|
|
2863
3064
|
type: string
|
|
2864
3065
|
format: date-time
|
|
3066
|
+
title: 时间戳
|
|
2865
3067
|
puppetRoomListResponse:
|
|
2866
3068
|
type: object
|
|
2867
3069
|
properties:
|
|
@@ -2883,12 +3085,16 @@ definitions:
|
|
|
2883
3085
|
type: string
|
|
2884
3086
|
roomAlias:
|
|
2885
3087
|
type: string
|
|
3088
|
+
title: 联系人在群内的别名(群备注)
|
|
2886
3089
|
inviterId:
|
|
2887
3090
|
type: string
|
|
3091
|
+
title: 邀请者id
|
|
2888
3092
|
avatar:
|
|
2889
3093
|
type: string
|
|
3094
|
+
title: 头像
|
|
2890
3095
|
name:
|
|
2891
3096
|
type: string
|
|
3097
|
+
title: 名称
|
|
2892
3098
|
additionalInfo:
|
|
2893
3099
|
type: string
|
|
2894
3100
|
puppetRoomPayloadResponse:
|
|
@@ -2898,20 +3104,26 @@ definitions:
|
|
|
2898
3104
|
type: string
|
|
2899
3105
|
topic:
|
|
2900
3106
|
type: string
|
|
3107
|
+
title: 群名称
|
|
2901
3108
|
avatar:
|
|
2902
3109
|
type: string
|
|
3110
|
+
title: 群头像
|
|
2903
3111
|
ownerId:
|
|
2904
3112
|
type: string
|
|
3113
|
+
title: 群主id
|
|
2905
3114
|
adminIds:
|
|
2906
3115
|
type: array
|
|
2907
3116
|
items:
|
|
2908
3117
|
type: string
|
|
3118
|
+
title: 群管理员id列表
|
|
2909
3119
|
memberIds:
|
|
2910
3120
|
type: array
|
|
2911
3121
|
items:
|
|
2912
3122
|
type: string
|
|
3123
|
+
title: 群成员id列表
|
|
2913
3124
|
handle:
|
|
2914
3125
|
type: string
|
|
3126
|
+
title: IM内部id,企微中为群的chat_id
|
|
2915
3127
|
additionalInfo:
|
|
2916
3128
|
type: string
|
|
2917
3129
|
puppetRoomQRCodeResponse:
|
|
@@ -2926,6 +3138,7 @@ definitions:
|
|
|
2926
3138
|
properties:
|
|
2927
3139
|
topicStringValueDeprecated:
|
|
2928
3140
|
type: string
|
|
3141
|
+
title: 'DEPRECATED, will be removed after Dec 31, 2022'
|
|
2929
3142
|
topic:
|
|
2930
3143
|
type: string
|
|
2931
3144
|
puppetSayableType:
|
|
@@ -2947,10 +3160,12 @@ definitions:
|
|
|
2947
3160
|
type: array
|
|
2948
3161
|
items:
|
|
2949
3162
|
type: string
|
|
3163
|
+
title: 要打的标签的id列表
|
|
2950
3164
|
contactIds:
|
|
2951
3165
|
type: array
|
|
2952
3166
|
items:
|
|
2953
3167
|
type: string
|
|
3168
|
+
title: 要打标签的联系人id列表
|
|
2954
3169
|
puppetTagContactTagAddResponse:
|
|
2955
3170
|
type: object
|
|
2956
3171
|
puppetTagContactTagListResponse:
|
|
@@ -3030,8 +3245,10 @@ definitions:
|
|
|
3030
3245
|
type: string
|
|
3031
3246
|
name:
|
|
3032
3247
|
type: string
|
|
3248
|
+
title: 标签名
|
|
3033
3249
|
groupId:
|
|
3034
3250
|
type: string
|
|
3251
|
+
title: 所属标签组的id,可为空
|
|
3035
3252
|
type:
|
|
3036
3253
|
$ref: '#/definitions/puppetTagType'
|
|
3037
3254
|
puppetTagPayloadRequest:
|
|
@@ -3084,6 +3301,9 @@ definitions:
|
|
|
3084
3301
|
- PERSONAL
|
|
3085
3302
|
- CORPORATION
|
|
3086
3303
|
default: Unspecific
|
|
3304
|
+
title: |-
|
|
3305
|
+
- PERSONAL: 个人标签
|
|
3306
|
+
- CORPORATION: 企业标签
|
|
3087
3307
|
puppetTapType:
|
|
3088
3308
|
type: string
|
|
3089
3309
|
enum:
|
|
@@ -3106,12 +3326,16 @@ definitions:
|
|
|
3106
3326
|
properties:
|
|
3107
3327
|
description:
|
|
3108
3328
|
type: string
|
|
3329
|
+
title: 描述
|
|
3109
3330
|
thumbnailUrl:
|
|
3110
3331
|
type: string
|
|
3332
|
+
title: 缩略图地址
|
|
3111
3333
|
title:
|
|
3112
3334
|
type: string
|
|
3335
|
+
title: 标题
|
|
3113
3336
|
url:
|
|
3114
3337
|
type: string
|
|
3338
|
+
title: 文章地址
|
|
3115
3339
|
puppetVersionResponse:
|
|
3116
3340
|
type: object
|
|
3117
3341
|
properties:
|