@juzi/wechaty-grpc 1.0.15 → 1.0.16

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.
@@ -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.15
12
+ version: 1.0.16
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: 'https://github.com/wechaty/openapi'
@@ -1577,7 +1577,7 @@ paths:
1577
1577
  $ref: '#/definitions/puppetTagContactTagRemoveRequest'
1578
1578
  tags:
1579
1579
  - Puppet
1580
- '/tag/{tag.groupId}/{tag.id}/contacts':
1580
+ '/tag/{tagId}/contacts':
1581
1581
  get:
1582
1582
  operationId: Puppet_TagTagContactList
1583
1583
  responses:
@@ -1590,11 +1590,7 @@ paths:
1590
1590
  schema:
1591
1591
  $ref: '#/definitions/rpcStatus'
1592
1592
  parameters:
1593
- - name: tag.groupId
1594
- in: path
1595
- required: true
1596
- type: string
1597
- - name: tag.id
1593
+ - name: tagId
1598
1594
  in: path
1599
1595
  required: true
1600
1596
  type: string
@@ -1996,10 +1992,10 @@ definitions:
1996
1992
  type: string
1997
1993
  additionalInfo:
1998
1994
  type: string
1999
- tags:
1995
+ tagIds:
2000
1996
  type: array
2001
1997
  items:
2002
- $ref: '#/definitions/puppetTagIdentifier'
1998
+ type: string
2003
1999
  puppetContactPhoneResponse:
2004
2000
  type: object
2005
2001
  properties:
@@ -2655,10 +2651,10 @@ definitions:
2655
2651
  puppetTagContactTagAddRequest:
2656
2652
  type: object
2657
2653
  properties:
2658
- tags:
2654
+ tagIds:
2659
2655
  type: array
2660
2656
  items:
2661
- $ref: '#/definitions/puppetTagIdentifier'
2657
+ type: string
2662
2658
  contactIds:
2663
2659
  type: array
2664
2660
  items:
@@ -2668,17 +2664,17 @@ definitions:
2668
2664
  puppetTagContactTagListResponse:
2669
2665
  type: object
2670
2666
  properties:
2671
- tags:
2667
+ tagIds:
2672
2668
  type: array
2673
2669
  items:
2674
- $ref: '#/definitions/puppetTagIdentifier'
2670
+ type: string
2675
2671
  puppetTagContactTagRemoveRequest:
2676
2672
  type: object
2677
2673
  properties:
2678
- tags:
2674
+ tagIds:
2679
2675
  type: array
2680
2676
  items:
2681
- $ref: '#/definitions/puppetTagIdentifier'
2677
+ type: string
2682
2678
  contactIds:
2683
2679
  type: array
2684
2680
  items:
@@ -2731,17 +2727,10 @@ definitions:
2731
2727
  puppetTagGroupTagListResponse:
2732
2728
  type: object
2733
2729
  properties:
2734
- tags:
2730
+ tagIds:
2735
2731
  type: array
2736
2732
  items:
2737
- $ref: '#/definitions/puppetTagIdentifier'
2738
- puppetTagIdentifier:
2739
- type: object
2740
- properties:
2741
- id:
2742
- type: string
2743
- groupId:
2744
- type: string
2733
+ type: string
2745
2734
  puppetTagPayload:
2746
2735
  type: object
2747
2736
  properties:
@@ -2756,8 +2745,8 @@ definitions:
2756
2745
  puppetTagPayloadRequest:
2757
2746
  type: object
2758
2747
  properties:
2759
- tag:
2760
- $ref: '#/definitions/puppetTagIdentifier'
2748
+ tagId:
2749
+ type: string
2761
2750
  puppetTagPayloadResponse:
2762
2751
  type: object
2763
2752
  properties:
@@ -2773,8 +2762,8 @@ definitions:
2773
2762
  puppetTagTagAddResponse:
2774
2763
  type: object
2775
2764
  properties:
2776
- tag:
2777
- $ref: '#/definitions/puppetTagIdentifier'
2765
+ tagId:
2766
+ type: string
2778
2767
  puppetTagTagContactListResponse:
2779
2768
  type: object
2780
2769
  properties:
@@ -2785,17 +2774,17 @@ definitions:
2785
2774
  puppetTagTagDeleteRequest:
2786
2775
  type: object
2787
2776
  properties:
2788
- tag:
2789
- $ref: '#/definitions/puppetTagIdentifier'
2777
+ tagId:
2778
+ type: string
2790
2779
  puppetTagTagDeleteResponse:
2791
2780
  type: object
2792
2781
  puppetTagTagListResponse:
2793
2782
  type: object
2794
2783
  properties:
2795
- tags:
2784
+ tagIds:
2796
2785
  type: array
2797
2786
  items:
2798
- $ref: '#/definitions/puppetTagIdentifier'
2787
+ type: string
2799
2788
  puppetTagType:
2800
2789
  type: string
2801
2790
  enum:
@@ -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.15",
6
+ "version": "1.0.16",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -2372,7 +2372,7 @@
2372
2372
  ]
2373
2373
  }
2374
2374
  },
2375
- "/tag/{tag.groupId}/{tag.id}/contacts": {
2375
+ "/tag/{tagId}/contacts": {
2376
2376
  "get": {
2377
2377
  "operationId": "Puppet_TagTagContactList",
2378
2378
  "responses": {
@@ -2391,13 +2391,7 @@
2391
2391
  },
2392
2392
  "parameters": [
2393
2393
  {
2394
- "name": "tag.groupId",
2395
- "in": "path",
2396
- "required": true,
2397
- "type": "string"
2398
- },
2399
- {
2400
- "name": "tag.id",
2394
+ "name": "tagId",
2401
2395
  "in": "path",
2402
2396
  "required": true,
2403
2397
  "type": "string"
@@ -2980,10 +2974,10 @@
2980
2974
  "additionalInfo": {
2981
2975
  "type": "string"
2982
2976
  },
2983
- "tags": {
2977
+ "tagIds": {
2984
2978
  "type": "array",
2985
2979
  "items": {
2986
- "$ref": "#/definitions/puppetTagIdentifier"
2980
+ "type": "string"
2987
2981
  }
2988
2982
  }
2989
2983
  }
@@ -3832,10 +3826,10 @@
3832
3826
  "puppetTagContactTagAddRequest": {
3833
3827
  "type": "object",
3834
3828
  "properties": {
3835
- "tags": {
3829
+ "tagIds": {
3836
3830
  "type": "array",
3837
3831
  "items": {
3838
- "$ref": "#/definitions/puppetTagIdentifier"
3832
+ "type": "string"
3839
3833
  }
3840
3834
  },
3841
3835
  "contactIds": {
@@ -3852,10 +3846,10 @@
3852
3846
  "puppetTagContactTagListResponse": {
3853
3847
  "type": "object",
3854
3848
  "properties": {
3855
- "tags": {
3849
+ "tagIds": {
3856
3850
  "type": "array",
3857
3851
  "items": {
3858
- "$ref": "#/definitions/puppetTagIdentifier"
3852
+ "type": "string"
3859
3853
  }
3860
3854
  }
3861
3855
  }
@@ -3863,10 +3857,10 @@
3863
3857
  "puppetTagContactTagRemoveRequest": {
3864
3858
  "type": "object",
3865
3859
  "properties": {
3866
- "tags": {
3860
+ "tagIds": {
3867
3861
  "type": "array",
3868
3862
  "items": {
3869
- "$ref": "#/definitions/puppetTagIdentifier"
3863
+ "type": "string"
3870
3864
  }
3871
3865
  },
3872
3866
  "contactIds": {
@@ -3951,25 +3945,14 @@
3951
3945
  "puppetTagGroupTagListResponse": {
3952
3946
  "type": "object",
3953
3947
  "properties": {
3954
- "tags": {
3948
+ "tagIds": {
3955
3949
  "type": "array",
3956
3950
  "items": {
3957
- "$ref": "#/definitions/puppetTagIdentifier"
3951
+ "type": "string"
3958
3952
  }
3959
3953
  }
3960
3954
  }
3961
3955
  },
3962
- "puppetTagIdentifier": {
3963
- "type": "object",
3964
- "properties": {
3965
- "id": {
3966
- "type": "string"
3967
- },
3968
- "groupId": {
3969
- "type": "string"
3970
- }
3971
- }
3972
- },
3973
3956
  "puppetTagPayload": {
3974
3957
  "type": "object",
3975
3958
  "properties": {
@@ -3990,8 +3973,8 @@
3990
3973
  "puppetTagPayloadRequest": {
3991
3974
  "type": "object",
3992
3975
  "properties": {
3993
- "tag": {
3994
- "$ref": "#/definitions/puppetTagIdentifier"
3976
+ "tagId": {
3977
+ "type": "string"
3995
3978
  }
3996
3979
  }
3997
3980
  },
@@ -4017,8 +4000,8 @@
4017
4000
  "puppetTagTagAddResponse": {
4018
4001
  "type": "object",
4019
4002
  "properties": {
4020
- "tag": {
4021
- "$ref": "#/definitions/puppetTagIdentifier"
4003
+ "tagId": {
4004
+ "type": "string"
4022
4005
  }
4023
4006
  }
4024
4007
  },
@@ -4036,8 +4019,8 @@
4036
4019
  "puppetTagTagDeleteRequest": {
4037
4020
  "type": "object",
4038
4021
  "properties": {
4039
- "tag": {
4040
- "$ref": "#/definitions/puppetTagIdentifier"
4022
+ "tagId": {
4023
+ "type": "string"
4041
4024
  }
4042
4025
  }
4043
4026
  },
@@ -4047,10 +4030,10 @@
4047
4030
  "puppetTagTagListResponse": {
4048
4031
  "type": "object",
4049
4032
  "properties": {
4050
- "tags": {
4033
+ "tagIds": {
4051
4034
  "type": "array",
4052
4035
  "items": {
4053
- "$ref": "#/definitions/puppetTagIdentifier"
4036
+ "type": "string"
4054
4037
  }
4055
4038
  }
4056
4039
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "gRPC for Wechaty",
5
5
  "type": "module",
6
6
  "exports": {
@@ -4,7 +4,7 @@
4
4
  import type { PackageJson } from 'type-fest'
5
5
  export const packageJson: PackageJson = {
6
6
  "name": "@juzi/wechaty-grpc",
7
- "version": "1.0.15",
7
+ "version": "1.0.16",
8
8
  "description": "gRPC for Wechaty",
9
9
  "type": "module",
10
10
  "exports": {