@juzi/wechaty-grpc 1.0.74 → 1.0.75
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/wecom_pb.d.ts +150 -0
- package/dist/cjs/out/wechaty/puppet/wecom_pb.js +1178 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +322 -208
- package/dist/cjs/out/wechaty/puppet.swagger.json +447 -264
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +51 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +99 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +57 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +120 -0
- package/dist/cjs/proto/wechaty/puppet/wecom.proto +27 -0
- package/dist/cjs/proto/wechaty/puppet.proto +19 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +15 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/wecom_pb.d.ts +150 -0
- package/dist/esm/out/wechaty/puppet/wecom_pb.js +1178 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +322 -208
- package/dist/esm/out/wechaty/puppet.swagger.json +447 -264
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +51 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +99 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +57 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +120 -0
- package/dist/esm/proto/wechaty/puppet/wecom.proto +27 -0
- package/dist/esm/proto/wechaty/puppet.proto +19 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +15 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/wecom_pb.d.ts +150 -0
- package/out/wechaty/puppet/wecom_pb.js +1178 -0
- package/out/wechaty/puppet.openapi.yaml +322 -208
- package/out/wechaty/puppet.swagger.json +447 -264
- package/out/wechaty/puppet_grpc_pb.d.ts +51 -0
- package/out/wechaty/puppet_grpc_pb.js +99 -0
- package/out/wechaty/puppet_pb_service.d.ts +57 -0
- package/out/wechaty/puppet_pb_service.js +120 -0
- 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.75
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -219,13 +219,7 @@ paths:
|
|
|
219
219
|
in: body
|
|
220
220
|
required: true
|
|
221
221
|
schema:
|
|
222
|
-
|
|
223
|
-
properties:
|
|
224
|
-
corporationRemarkStringValueDeprecated:
|
|
225
|
-
type: string
|
|
226
|
-
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
227
|
-
corporationRemark:
|
|
228
|
-
type: string
|
|
222
|
+
$ref: '#/definitions/PuppetContactCorporationRemarkBody'
|
|
229
223
|
tags:
|
|
230
224
|
- Puppet
|
|
231
225
|
/contacts/{contactId}/delete:
|
|
@@ -249,7 +243,7 @@ paths:
|
|
|
249
243
|
in: body
|
|
250
244
|
required: true
|
|
251
245
|
schema:
|
|
252
|
-
|
|
246
|
+
$ref: '#/definitions/PuppetContactDeleteBody'
|
|
253
247
|
tags:
|
|
254
248
|
- Puppet
|
|
255
249
|
/contacts/{contactId}/description:
|
|
@@ -273,13 +267,7 @@ paths:
|
|
|
273
267
|
in: body
|
|
274
268
|
required: true
|
|
275
269
|
schema:
|
|
276
|
-
|
|
277
|
-
properties:
|
|
278
|
-
descriptionStringValueDeprecated:
|
|
279
|
-
type: string
|
|
280
|
-
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
281
|
-
description:
|
|
282
|
-
type: string
|
|
270
|
+
$ref: '#/definitions/PuppetContactDescriptionBody'
|
|
283
271
|
tags:
|
|
284
272
|
- Puppet
|
|
285
273
|
/contacts/{contactId}/phone:
|
|
@@ -303,12 +291,7 @@ paths:
|
|
|
303
291
|
in: body
|
|
304
292
|
required: true
|
|
305
293
|
schema:
|
|
306
|
-
|
|
307
|
-
properties:
|
|
308
|
-
phones:
|
|
309
|
-
type: array
|
|
310
|
-
items:
|
|
311
|
-
type: string
|
|
294
|
+
$ref: '#/definitions/PuppetContactPhoneBody'
|
|
312
295
|
tags:
|
|
313
296
|
- Puppet
|
|
314
297
|
/contacts/{contactId}/tag/tags:
|
|
@@ -372,14 +355,7 @@ paths:
|
|
|
372
355
|
in: body
|
|
373
356
|
required: true
|
|
374
357
|
schema:
|
|
375
|
-
|
|
376
|
-
properties:
|
|
377
|
-
aliasStringValueDeprecated:
|
|
378
|
-
type: string
|
|
379
|
-
description: DEPRECATED, will be removed after Dec 31, 2022
|
|
380
|
-
title: nullable
|
|
381
|
-
alias:
|
|
382
|
-
type: string
|
|
358
|
+
$ref: '#/definitions/PuppetContactAliasBody'
|
|
383
359
|
tags:
|
|
384
360
|
- Puppet
|
|
385
361
|
/contacts/{id}/avatar:
|
|
@@ -465,78 +441,7 @@ paths:
|
|
|
465
441
|
in: body
|
|
466
442
|
required: true
|
|
467
443
|
schema:
|
|
468
|
-
|
|
469
|
-
properties:
|
|
470
|
-
gender:
|
|
471
|
-
$ref: '#/definitions/puppetContactGender'
|
|
472
|
-
title: 性别
|
|
473
|
-
type:
|
|
474
|
-
$ref: '#/definitions/puppetContactType'
|
|
475
|
-
title: 类型
|
|
476
|
-
name:
|
|
477
|
-
type: string
|
|
478
|
-
title: 姓名
|
|
479
|
-
avatar:
|
|
480
|
-
type: string
|
|
481
|
-
title: 头像
|
|
482
|
-
address:
|
|
483
|
-
type: string
|
|
484
|
-
title: 地址
|
|
485
|
-
alias:
|
|
486
|
-
type: string
|
|
487
|
-
title: 别名,即备注
|
|
488
|
-
city:
|
|
489
|
-
type: string
|
|
490
|
-
title: 城市
|
|
491
|
-
friend:
|
|
492
|
-
type: boolean
|
|
493
|
-
title: 是否为好友
|
|
494
|
-
province:
|
|
495
|
-
type: string
|
|
496
|
-
title: 省份
|
|
497
|
-
signature:
|
|
498
|
-
type: string
|
|
499
|
-
title: 签名
|
|
500
|
-
star:
|
|
501
|
-
type: boolean
|
|
502
|
-
title: 是否为特别好友
|
|
503
|
-
weixin:
|
|
504
|
-
type: string
|
|
505
|
-
title: IM专属id,在企微环境中特指weixinId
|
|
506
|
-
corporation:
|
|
507
|
-
type: string
|
|
508
|
-
title: 企业
|
|
509
|
-
title:
|
|
510
|
-
type: string
|
|
511
|
-
title: 头衔
|
|
512
|
-
description:
|
|
513
|
-
type: string
|
|
514
|
-
title: 描述
|
|
515
|
-
coworker:
|
|
516
|
-
type: boolean
|
|
517
|
-
title: 是否为同事
|
|
518
|
-
phones:
|
|
519
|
-
type: array
|
|
520
|
-
items:
|
|
521
|
-
type: string
|
|
522
|
-
title: 电话号码,企微中最多5个
|
|
523
|
-
additionalInfo:
|
|
524
|
-
type: string
|
|
525
|
-
title: 额外信息,是由JS对象stringify得到的字符串,目前支持的内容包含addContactTime、corpId等。
|
|
526
|
-
tagIds:
|
|
527
|
-
type: array
|
|
528
|
-
items:
|
|
529
|
-
type: string
|
|
530
|
-
title: 标签(的id)
|
|
531
|
-
clearPhones:
|
|
532
|
-
type: boolean
|
|
533
|
-
description: |-
|
|
534
|
-
*
|
|
535
|
-
The protobuf encoding doesn't distinguish between these two cases. (undefined vs [])
|
|
536
|
-
Since protobuf is language-agnostic,
|
|
537
|
-
it doesn't understand the conceptual nuance of "undefined" versus "[]" of Javascript.
|
|
538
|
-
clearTagIds:
|
|
539
|
-
type: boolean
|
|
444
|
+
$ref: '#/definitions/PuppetContactPayloadModifyBody'
|
|
540
445
|
tags:
|
|
541
446
|
- Puppet
|
|
542
447
|
/conversation/{conversationId}/read:
|
|
@@ -562,10 +467,7 @@ paths:
|
|
|
562
467
|
in: body
|
|
563
468
|
required: true
|
|
564
469
|
schema:
|
|
565
|
-
|
|
566
|
-
properties:
|
|
567
|
-
hasRead:
|
|
568
|
-
type: boolean
|
|
470
|
+
$ref: '#/definitions/PuppetConversationReadBody'
|
|
569
471
|
tags:
|
|
570
472
|
- Puppet
|
|
571
473
|
/conversations/{conversationId}/channel:
|
|
@@ -589,10 +491,7 @@ paths:
|
|
|
589
491
|
in: body
|
|
590
492
|
required: true
|
|
591
493
|
schema:
|
|
592
|
-
|
|
593
|
-
properties:
|
|
594
|
-
channel:
|
|
595
|
-
$ref: '#/definitions/puppetChannelPayload'
|
|
494
|
+
$ref: '#/definitions/PuppetMessageSendChannelBody'
|
|
596
495
|
tags:
|
|
597
496
|
- Puppet
|
|
598
497
|
/conversations/{conversationId}/contact:
|
|
@@ -616,10 +515,7 @@ paths:
|
|
|
616
515
|
in: body
|
|
617
516
|
required: true
|
|
618
517
|
schema:
|
|
619
|
-
|
|
620
|
-
properties:
|
|
621
|
-
contactId:
|
|
622
|
-
type: string
|
|
518
|
+
$ref: '#/definitions/PuppetMessageSendContactBody'
|
|
623
519
|
tags:
|
|
624
520
|
- Puppet
|
|
625
521
|
/conversations/{conversationId}/forward/{messageId}:
|
|
@@ -679,10 +575,7 @@ paths:
|
|
|
679
575
|
in: body
|
|
680
576
|
required: true
|
|
681
577
|
schema:
|
|
682
|
-
|
|
683
|
-
properties:
|
|
684
|
-
location:
|
|
685
|
-
$ref: '#/definitions/puppetLocationPayload'
|
|
578
|
+
$ref: '#/definitions/PuppetMessageSendLocationBody'
|
|
686
579
|
tags:
|
|
687
580
|
- Puppet
|
|
688
581
|
/conversations/{conversationId}/mini-program:
|
|
@@ -707,22 +600,7 @@ paths:
|
|
|
707
600
|
in: body
|
|
708
601
|
required: true
|
|
709
602
|
schema:
|
|
710
|
-
|
|
711
|
-
properties:
|
|
712
|
-
miniProgramDeprecated:
|
|
713
|
-
type: string
|
|
714
|
-
description: >-
|
|
715
|
-
deprecated after Sep 31, 2021, remove compatible code after
|
|
716
|
-
Dec 31, 2022
|
|
717
|
-
title: >-
|
|
718
|
-
*
|
|
719
|
-
|
|
720
|
-
Huan(202110): We should use payload instead of JSON.stringify
|
|
721
|
-
string
|
|
722
|
-
The compatible code will be removed after Dec 31, 2022
|
|
723
|
-
miniProgram:
|
|
724
|
-
$ref: '#/definitions/puppetMiniProgramPayload'
|
|
725
|
-
title: 小程序payload
|
|
603
|
+
$ref: '#/definitions/PuppetMessageSendMiniProgramBody'
|
|
726
604
|
tags:
|
|
727
605
|
- Puppet
|
|
728
606
|
/conversations/{conversationId}/text:
|
|
@@ -747,20 +625,7 @@ paths:
|
|
|
747
625
|
in: body
|
|
748
626
|
required: true
|
|
749
627
|
schema:
|
|
750
|
-
|
|
751
|
-
properties:
|
|
752
|
-
text:
|
|
753
|
-
type: string
|
|
754
|
-
title: 文本内容
|
|
755
|
-
mentionalIds:
|
|
756
|
-
type: array
|
|
757
|
-
items:
|
|
758
|
-
type: string
|
|
759
|
-
title: '@人id列表'
|
|
760
|
-
quoteId:
|
|
761
|
-
type: string
|
|
762
|
-
title: 引用消息的id
|
|
763
|
-
title: 发文本消息
|
|
628
|
+
$ref: '#/definitions/PuppetMessageSendTextBody'
|
|
764
629
|
tags:
|
|
765
630
|
- Puppet
|
|
766
631
|
/conversations/{conversationId}/url-link:
|
|
@@ -785,22 +650,7 @@ paths:
|
|
|
785
650
|
in: body
|
|
786
651
|
required: true
|
|
787
652
|
schema:
|
|
788
|
-
|
|
789
|
-
properties:
|
|
790
|
-
urlLinkDeprecated:
|
|
791
|
-
type: string
|
|
792
|
-
description: >-
|
|
793
|
-
deprecated after Sep 31, 2021, remove compatible code after
|
|
794
|
-
Dec 31, 2022
|
|
795
|
-
title: >-
|
|
796
|
-
*
|
|
797
|
-
|
|
798
|
-
Huan(202110): We should use payload instead of JSON.stringify
|
|
799
|
-
string
|
|
800
|
-
The compatible code will be removed after Dec 31, 2022
|
|
801
|
-
urlLink:
|
|
802
|
-
$ref: '#/definitions/puppetUrlLinkPayload'
|
|
803
|
-
title: 链接payload
|
|
653
|
+
$ref: '#/definitions/PuppetMessageSendUrlBody'
|
|
804
654
|
tags:
|
|
805
655
|
- Puppet
|
|
806
656
|
/currentUser:
|
|
@@ -962,18 +812,7 @@ paths:
|
|
|
962
812
|
in: body
|
|
963
813
|
required: true
|
|
964
814
|
schema:
|
|
965
|
-
|
|
966
|
-
properties:
|
|
967
|
-
hello:
|
|
968
|
-
type: string
|
|
969
|
-
sourceRoomIdStringValueDeprecated:
|
|
970
|
-
type: string
|
|
971
|
-
title: 'Deprecated: will be removed after Dec 31, 2022'
|
|
972
|
-
sourceContactIdStringValueDeprecated:
|
|
973
|
-
type: string
|
|
974
|
-
title: 'Deprecated: will be removed after Dec 31, 2022'
|
|
975
|
-
referrer:
|
|
976
|
-
$ref: '#/definitions/puppetReferrer'
|
|
815
|
+
$ref: '#/definitions/PuppetFriendshipAddBody'
|
|
977
816
|
tags:
|
|
978
817
|
- Puppet
|
|
979
818
|
/friendship/search/handle/{weixin}:
|
|
@@ -1845,14 +1684,7 @@ paths:
|
|
|
1845
1684
|
in: body
|
|
1846
1685
|
required: true
|
|
1847
1686
|
schema:
|
|
1848
|
-
|
|
1849
|
-
properties:
|
|
1850
|
-
textStringValueDeprecated:
|
|
1851
|
-
type: string
|
|
1852
|
-
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
1853
|
-
text:
|
|
1854
|
-
type: string
|
|
1855
|
-
title: 群公告
|
|
1687
|
+
$ref: '#/definitions/PuppetRoomAnnounceBody'
|
|
1856
1688
|
tags:
|
|
1857
1689
|
- Puppet
|
|
1858
1690
|
/rooms/{id}/avatar:
|
|
@@ -2588,13 +2420,273 @@ paths:
|
|
|
2588
2420
|
$ref: '#/definitions/puppetMessageSendFileRequest'
|
|
2589
2421
|
tags:
|
|
2590
2422
|
- Puppet
|
|
2423
|
+
/wecom/roomAntiSpamStrategy/apply:
|
|
2424
|
+
post:
|
|
2425
|
+
operationId: Puppet_ApplyRoomAntiSpamStrategy
|
|
2426
|
+
responses:
|
|
2427
|
+
'200':
|
|
2428
|
+
description: A successful response.
|
|
2429
|
+
schema:
|
|
2430
|
+
$ref: '#/definitions/puppetApplyRoomAntiSpamStrategyResponse'
|
|
2431
|
+
default:
|
|
2432
|
+
description: An unexpected error response.
|
|
2433
|
+
schema:
|
|
2434
|
+
$ref: '#/definitions/rpcStatus'
|
|
2435
|
+
parameters:
|
|
2436
|
+
- name: body
|
|
2437
|
+
in: body
|
|
2438
|
+
required: true
|
|
2439
|
+
schema:
|
|
2440
|
+
$ref: '#/definitions/puppetApplyRoomAntiSpamStrategyRequest'
|
|
2441
|
+
tags:
|
|
2442
|
+
- Puppet
|
|
2443
|
+
/wecom/roomAntiSpamStrategy/{strategyId}/rooms:
|
|
2444
|
+
get:
|
|
2445
|
+
operationId: Puppet_GetRoomAntiSpamStrategyEffectRoomList
|
|
2446
|
+
responses:
|
|
2447
|
+
'200':
|
|
2448
|
+
description: A successful response.
|
|
2449
|
+
schema:
|
|
2450
|
+
$ref: '#/definitions/puppetGetRoomAntiSpamStrategyEffectRoomListResponse'
|
|
2451
|
+
default:
|
|
2452
|
+
description: An unexpected error response.
|
|
2453
|
+
schema:
|
|
2454
|
+
$ref: '#/definitions/rpcStatus'
|
|
2455
|
+
parameters:
|
|
2456
|
+
- name: strategyId
|
|
2457
|
+
in: path
|
|
2458
|
+
required: true
|
|
2459
|
+
type: string
|
|
2460
|
+
tags:
|
|
2461
|
+
- Puppet
|
|
2462
|
+
/wecom/roomAntiSpamStrategyList:
|
|
2463
|
+
get:
|
|
2464
|
+
operationId: Puppet_GetRoomAntiSpamStrategyList
|
|
2465
|
+
responses:
|
|
2466
|
+
'200':
|
|
2467
|
+
description: A successful response.
|
|
2468
|
+
schema:
|
|
2469
|
+
$ref: '#/definitions/puppetGetRoomAntiSpamStrategyListResponse'
|
|
2470
|
+
default:
|
|
2471
|
+
description: An unexpected error response.
|
|
2472
|
+
schema:
|
|
2473
|
+
$ref: '#/definitions/rpcStatus'
|
|
2474
|
+
tags:
|
|
2475
|
+
- Puppet
|
|
2591
2476
|
definitions:
|
|
2477
|
+
PuppetContactAliasBody:
|
|
2478
|
+
type: object
|
|
2479
|
+
properties:
|
|
2480
|
+
aliasStringValueDeprecated:
|
|
2481
|
+
type: string
|
|
2482
|
+
description: DEPRECATED, will be removed after Dec 31, 2022
|
|
2483
|
+
title: nullable
|
|
2484
|
+
alias:
|
|
2485
|
+
type: string
|
|
2486
|
+
PuppetContactCorporationRemarkBody:
|
|
2487
|
+
type: object
|
|
2488
|
+
properties:
|
|
2489
|
+
corporationRemarkStringValueDeprecated:
|
|
2490
|
+
type: string
|
|
2491
|
+
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
2492
|
+
corporationRemark:
|
|
2493
|
+
type: string
|
|
2494
|
+
PuppetContactDeleteBody:
|
|
2495
|
+
type: object
|
|
2496
|
+
PuppetContactDescriptionBody:
|
|
2497
|
+
type: object
|
|
2498
|
+
properties:
|
|
2499
|
+
descriptionStringValueDeprecated:
|
|
2500
|
+
type: string
|
|
2501
|
+
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
2502
|
+
description:
|
|
2503
|
+
type: string
|
|
2504
|
+
PuppetContactPayloadModifyBody:
|
|
2505
|
+
type: object
|
|
2506
|
+
properties:
|
|
2507
|
+
gender:
|
|
2508
|
+
$ref: '#/definitions/puppetContactGender'
|
|
2509
|
+
title: 性别
|
|
2510
|
+
type:
|
|
2511
|
+
$ref: '#/definitions/puppetContactType'
|
|
2512
|
+
title: 类型
|
|
2513
|
+
name:
|
|
2514
|
+
type: string
|
|
2515
|
+
title: 姓名
|
|
2516
|
+
avatar:
|
|
2517
|
+
type: string
|
|
2518
|
+
title: 头像
|
|
2519
|
+
address:
|
|
2520
|
+
type: string
|
|
2521
|
+
title: 地址
|
|
2522
|
+
alias:
|
|
2523
|
+
type: string
|
|
2524
|
+
title: 别名,即备注
|
|
2525
|
+
city:
|
|
2526
|
+
type: string
|
|
2527
|
+
title: 城市
|
|
2528
|
+
friend:
|
|
2529
|
+
type: boolean
|
|
2530
|
+
title: 是否为好友
|
|
2531
|
+
province:
|
|
2532
|
+
type: string
|
|
2533
|
+
title: 省份
|
|
2534
|
+
signature:
|
|
2535
|
+
type: string
|
|
2536
|
+
title: 签名
|
|
2537
|
+
star:
|
|
2538
|
+
type: boolean
|
|
2539
|
+
title: 是否为特别好友
|
|
2540
|
+
weixin:
|
|
2541
|
+
type: string
|
|
2542
|
+
title: IM专属id,在企微环境中特指weixinId
|
|
2543
|
+
corporation:
|
|
2544
|
+
type: string
|
|
2545
|
+
title: 企业
|
|
2546
|
+
title:
|
|
2547
|
+
type: string
|
|
2548
|
+
title: 头衔
|
|
2549
|
+
description:
|
|
2550
|
+
type: string
|
|
2551
|
+
title: 描述
|
|
2552
|
+
coworker:
|
|
2553
|
+
type: boolean
|
|
2554
|
+
title: 是否为同事
|
|
2555
|
+
phones:
|
|
2556
|
+
type: array
|
|
2557
|
+
items:
|
|
2558
|
+
type: string
|
|
2559
|
+
title: 电话号码,企微中最多5个
|
|
2560
|
+
additionalInfo:
|
|
2561
|
+
type: string
|
|
2562
|
+
title: 额外信息,是由JS对象stringify得到的字符串,目前支持的内容包含addContactTime、corpId等。
|
|
2563
|
+
tagIds:
|
|
2564
|
+
type: array
|
|
2565
|
+
items:
|
|
2566
|
+
type: string
|
|
2567
|
+
title: 标签(的id)
|
|
2568
|
+
clearPhones:
|
|
2569
|
+
type: boolean
|
|
2570
|
+
description: |-
|
|
2571
|
+
*
|
|
2572
|
+
The protobuf encoding doesn't distinguish between these two cases. (undefined vs [])
|
|
2573
|
+
Since protobuf is language-agnostic,
|
|
2574
|
+
it doesn't understand the conceptual nuance of "undefined" versus "[]" of Javascript.
|
|
2575
|
+
clearTagIds:
|
|
2576
|
+
type: boolean
|
|
2577
|
+
PuppetContactPhoneBody:
|
|
2578
|
+
type: object
|
|
2579
|
+
properties:
|
|
2580
|
+
phones:
|
|
2581
|
+
type: array
|
|
2582
|
+
items:
|
|
2583
|
+
type: string
|
|
2584
|
+
PuppetConversationReadBody:
|
|
2585
|
+
type: object
|
|
2586
|
+
properties:
|
|
2587
|
+
hasRead:
|
|
2588
|
+
type: boolean
|
|
2589
|
+
PuppetFriendshipAddBody:
|
|
2590
|
+
type: object
|
|
2591
|
+
properties:
|
|
2592
|
+
hello:
|
|
2593
|
+
type: string
|
|
2594
|
+
sourceRoomIdStringValueDeprecated:
|
|
2595
|
+
type: string
|
|
2596
|
+
title: 'Deprecated: will be removed after Dec 31, 2022'
|
|
2597
|
+
sourceContactIdStringValueDeprecated:
|
|
2598
|
+
type: string
|
|
2599
|
+
title: 'Deprecated: will be removed after Dec 31, 2022'
|
|
2600
|
+
referrer:
|
|
2601
|
+
$ref: '#/definitions/puppetReferrer'
|
|
2602
|
+
PuppetMessageSendChannelBody:
|
|
2603
|
+
type: object
|
|
2604
|
+
properties:
|
|
2605
|
+
channel:
|
|
2606
|
+
$ref: '#/definitions/puppetChannelPayload'
|
|
2607
|
+
PuppetMessageSendContactBody:
|
|
2608
|
+
type: object
|
|
2609
|
+
properties:
|
|
2610
|
+
contactId:
|
|
2611
|
+
type: string
|
|
2612
|
+
PuppetMessageSendLocationBody:
|
|
2613
|
+
type: object
|
|
2614
|
+
properties:
|
|
2615
|
+
location:
|
|
2616
|
+
$ref: '#/definitions/puppetLocationPayload'
|
|
2617
|
+
PuppetMessageSendMiniProgramBody:
|
|
2618
|
+
type: object
|
|
2619
|
+
properties:
|
|
2620
|
+
miniProgramDeprecated:
|
|
2621
|
+
type: string
|
|
2622
|
+
description: >-
|
|
2623
|
+
deprecated after Sep 31, 2021, remove compatible code after Dec 31,
|
|
2624
|
+
2022
|
|
2625
|
+
title: |-
|
|
2626
|
+
*
|
|
2627
|
+
Huan(202110): We should use payload instead of JSON.stringify string
|
|
2628
|
+
The compatible code will be removed after Dec 31, 2022
|
|
2629
|
+
miniProgram:
|
|
2630
|
+
$ref: '#/definitions/puppetMiniProgramPayload'
|
|
2631
|
+
title: 小程序payload
|
|
2632
|
+
PuppetMessageSendTextBody:
|
|
2633
|
+
type: object
|
|
2634
|
+
properties:
|
|
2635
|
+
text:
|
|
2636
|
+
type: string
|
|
2637
|
+
title: 文本内容
|
|
2638
|
+
mentionalIds:
|
|
2639
|
+
type: array
|
|
2640
|
+
items:
|
|
2641
|
+
type: string
|
|
2642
|
+
title: '@人id列表'
|
|
2643
|
+
quoteId:
|
|
2644
|
+
type: string
|
|
2645
|
+
title: 引用消息的id
|
|
2646
|
+
title: 发文本消息
|
|
2647
|
+
PuppetMessageSendUrlBody:
|
|
2648
|
+
type: object
|
|
2649
|
+
properties:
|
|
2650
|
+
urlLinkDeprecated:
|
|
2651
|
+
type: string
|
|
2652
|
+
description: >-
|
|
2653
|
+
deprecated after Sep 31, 2021, remove compatible code after Dec 31,
|
|
2654
|
+
2022
|
|
2655
|
+
title: |-
|
|
2656
|
+
*
|
|
2657
|
+
Huan(202110): We should use payload instead of JSON.stringify string
|
|
2658
|
+
The compatible code will be removed after Dec 31, 2022
|
|
2659
|
+
urlLink:
|
|
2660
|
+
$ref: '#/definitions/puppetUrlLinkPayload'
|
|
2661
|
+
title: 链接payload
|
|
2662
|
+
PuppetRoomAnnounceBody:
|
|
2663
|
+
type: object
|
|
2664
|
+
properties:
|
|
2665
|
+
textStringValueDeprecated:
|
|
2666
|
+
type: string
|
|
2667
|
+
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
2668
|
+
text:
|
|
2669
|
+
type: string
|
|
2670
|
+
title: 群公告
|
|
2592
2671
|
protobufAny:
|
|
2593
2672
|
type: object
|
|
2594
2673
|
properties:
|
|
2595
2674
|
'@type':
|
|
2596
2675
|
type: string
|
|
2597
2676
|
additionalProperties: {}
|
|
2677
|
+
puppetApplyRoomAntiSpamStrategyRequest:
|
|
2678
|
+
type: object
|
|
2679
|
+
properties:
|
|
2680
|
+
strategyId:
|
|
2681
|
+
type: string
|
|
2682
|
+
roomIds:
|
|
2683
|
+
type: array
|
|
2684
|
+
items:
|
|
2685
|
+
type: string
|
|
2686
|
+
active:
|
|
2687
|
+
type: boolean
|
|
2688
|
+
puppetApplyRoomAntiSpamStrategyResponse:
|
|
2689
|
+
type: object
|
|
2598
2690
|
puppetBroadcastStatus:
|
|
2599
2691
|
type: string
|
|
2600
2692
|
enum:
|
|
@@ -3168,6 +3260,21 @@ definitions:
|
|
|
3168
3260
|
type: array
|
|
3169
3261
|
items:
|
|
3170
3262
|
type: string
|
|
3263
|
+
puppetGetRoomAntiSpamStrategyEffectRoomListResponse:
|
|
3264
|
+
type: object
|
|
3265
|
+
properties:
|
|
3266
|
+
roomIds:
|
|
3267
|
+
type: array
|
|
3268
|
+
items:
|
|
3269
|
+
type: string
|
|
3270
|
+
puppetGetRoomAntiSpamStrategyListResponse:
|
|
3271
|
+
type: object
|
|
3272
|
+
properties:
|
|
3273
|
+
strategies:
|
|
3274
|
+
type: array
|
|
3275
|
+
items:
|
|
3276
|
+
type: object
|
|
3277
|
+
$ref: '#/definitions/puppetRoomAntiSpamStrategy'
|
|
3171
3278
|
puppetImageType:
|
|
3172
3279
|
type: string
|
|
3173
3280
|
enum:
|
|
@@ -3734,6 +3841,13 @@ definitions:
|
|
|
3734
3841
|
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
3735
3842
|
text:
|
|
3736
3843
|
type: string
|
|
3844
|
+
puppetRoomAntiSpamStrategy:
|
|
3845
|
+
type: object
|
|
3846
|
+
properties:
|
|
3847
|
+
id:
|
|
3848
|
+
type: string
|
|
3849
|
+
name:
|
|
3850
|
+
type: string
|
|
3737
3851
|
puppetRoomAvatarResponse:
|
|
3738
3852
|
type: object
|
|
3739
3853
|
properties:
|
|
@@ -3985,15 +4099,6 @@ definitions:
|
|
|
3985
4099
|
type: array
|
|
3986
4100
|
items:
|
|
3987
4101
|
type: string
|
|
3988
|
-
puppetTagGroupPayload:
|
|
3989
|
-
type: object
|
|
3990
|
-
properties:
|
|
3991
|
-
id:
|
|
3992
|
-
type: string
|
|
3993
|
-
name:
|
|
3994
|
-
type: string
|
|
3995
|
-
type:
|
|
3996
|
-
$ref: '#/definitions/puppetTagType'
|
|
3997
4102
|
puppetTagGroupPayloadRequest:
|
|
3998
4103
|
type: object
|
|
3999
4104
|
properties:
|
|
@@ -4003,7 +4108,7 @@ definitions:
|
|
|
4003
4108
|
type: object
|
|
4004
4109
|
properties:
|
|
4005
4110
|
payload:
|
|
4006
|
-
$ref: '#/definitions/
|
|
4111
|
+
$ref: '#/definitions/wechatypuppetTagGroupPayload'
|
|
4007
4112
|
puppetTagGroupTagListResponse:
|
|
4008
4113
|
type: object
|
|
4009
4114
|
properties:
|
|
@@ -4011,19 +4116,6 @@ definitions:
|
|
|
4011
4116
|
type: array
|
|
4012
4117
|
items:
|
|
4013
4118
|
type: string
|
|
4014
|
-
puppetTagPayload:
|
|
4015
|
-
type: object
|
|
4016
|
-
properties:
|
|
4017
|
-
id:
|
|
4018
|
-
type: string
|
|
4019
|
-
name:
|
|
4020
|
-
type: string
|
|
4021
|
-
title: 标签名
|
|
4022
|
-
groupId:
|
|
4023
|
-
type: string
|
|
4024
|
-
title: 所属标签组的id,可为空
|
|
4025
|
-
type:
|
|
4026
|
-
$ref: '#/definitions/puppetTagType'
|
|
4027
4119
|
puppetTagPayloadRequest:
|
|
4028
4120
|
type: object
|
|
4029
4121
|
properties:
|
|
@@ -4033,7 +4125,7 @@ definitions:
|
|
|
4033
4125
|
type: object
|
|
4034
4126
|
properties:
|
|
4035
4127
|
payload:
|
|
4036
|
-
$ref: '#/definitions/
|
|
4128
|
+
$ref: '#/definitions/wechatypuppetTagPayload'
|
|
4037
4129
|
puppetTagTagAddRequest:
|
|
4038
4130
|
type: object
|
|
4039
4131
|
properties:
|
|
@@ -4127,4 +4219,26 @@ definitions:
|
|
|
4127
4219
|
items:
|
|
4128
4220
|
type: object
|
|
4129
4221
|
$ref: '#/definitions/protobufAny'
|
|
4222
|
+
wechatypuppetTagGroupPayload:
|
|
4223
|
+
type: object
|
|
4224
|
+
properties:
|
|
4225
|
+
id:
|
|
4226
|
+
type: string
|
|
4227
|
+
name:
|
|
4228
|
+
type: string
|
|
4229
|
+
type:
|
|
4230
|
+
$ref: '#/definitions/puppetTagType'
|
|
4231
|
+
wechatypuppetTagPayload:
|
|
4232
|
+
type: object
|
|
4233
|
+
properties:
|
|
4234
|
+
id:
|
|
4235
|
+
type: string
|
|
4236
|
+
name:
|
|
4237
|
+
type: string
|
|
4238
|
+
title: 标签名
|
|
4239
|
+
groupId:
|
|
4240
|
+
type: string
|
|
4241
|
+
title: 所属标签组的id,可为空
|
|
4242
|
+
type:
|
|
4243
|
+
$ref: '#/definitions/puppetTagType'
|
|
4130
4244
|
|