@google-apps/chat 0.6.0 → 0.7.0
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/CHANGELOG.md +7 -0
- package/README.md +2 -0
- package/build/protos/google/chat/v1/chat_service.proto +44 -0
- package/build/protos/google/chat/v1/event_payload.proto +177 -0
- package/build/protos/google/chat/v1/space_event.proto +292 -0
- package/build/protos/protos.d.ts +2323 -0
- package/build/protos/protos.js +5576 -0
- package/build/protos/protos.json +357 -0
- package/build/src/v1/chat_service_client.d.ts +347 -0
- package/build/src/v1/chat_service_client.js +286 -0
- package/build/src/v1/chat_service_client.js.map +1 -1
- package/build/src/v1/chat_service_client_config.json +10 -0
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
|
@@ -3236,6 +3236,42 @@
|
|
|
3236
3236
|
"(google.api.method_signature)": "name"
|
|
3237
3237
|
}
|
|
3238
3238
|
]
|
|
3239
|
+
},
|
|
3240
|
+
"GetSpaceEvent": {
|
|
3241
|
+
"requestType": "GetSpaceEventRequest",
|
|
3242
|
+
"responseType": "SpaceEvent",
|
|
3243
|
+
"options": {
|
|
3244
|
+
"(google.api.http).get": "/v1/{name=spaces/*/spaceEvents/*}",
|
|
3245
|
+
"(google.api.method_signature)": "name"
|
|
3246
|
+
},
|
|
3247
|
+
"parsedOptions": [
|
|
3248
|
+
{
|
|
3249
|
+
"(google.api.http)": {
|
|
3250
|
+
"get": "/v1/{name=spaces/*/spaceEvents/*}"
|
|
3251
|
+
}
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
"(google.api.method_signature)": "name"
|
|
3255
|
+
}
|
|
3256
|
+
]
|
|
3257
|
+
},
|
|
3258
|
+
"ListSpaceEvents": {
|
|
3259
|
+
"requestType": "ListSpaceEventsRequest",
|
|
3260
|
+
"responseType": "ListSpaceEventsResponse",
|
|
3261
|
+
"options": {
|
|
3262
|
+
"(google.api.http).get": "/v1/{parent=spaces/*}/spaceEvents",
|
|
3263
|
+
"(google.api.method_signature)": "parent,filter"
|
|
3264
|
+
},
|
|
3265
|
+
"parsedOptions": [
|
|
3266
|
+
{
|
|
3267
|
+
"(google.api.http)": {
|
|
3268
|
+
"get": "/v1/{parent=spaces/*}/spaceEvents"
|
|
3269
|
+
}
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"(google.api.method_signature)": "parent,filter"
|
|
3273
|
+
}
|
|
3274
|
+
]
|
|
3239
3275
|
}
|
|
3240
3276
|
}
|
|
3241
3277
|
},
|
|
@@ -4789,6 +4825,327 @@
|
|
|
4789
4825
|
"HISTORY_ON": 2
|
|
4790
4826
|
}
|
|
4791
4827
|
},
|
|
4828
|
+
"SpaceEvent": {
|
|
4829
|
+
"options": {
|
|
4830
|
+
"(google.api.resource).type": "chat.googleapis.com/SpaceEvent",
|
|
4831
|
+
"(google.api.resource).pattern": "spaces/{space}/spaceEvents/{space_event}"
|
|
4832
|
+
},
|
|
4833
|
+
"oneofs": {
|
|
4834
|
+
"payload": {
|
|
4835
|
+
"oneof": [
|
|
4836
|
+
"messageCreatedEventData",
|
|
4837
|
+
"messageUpdatedEventData",
|
|
4838
|
+
"messageDeletedEventData",
|
|
4839
|
+
"messageBatchCreatedEventData",
|
|
4840
|
+
"messageBatchUpdatedEventData",
|
|
4841
|
+
"messageBatchDeletedEventData",
|
|
4842
|
+
"spaceUpdatedEventData",
|
|
4843
|
+
"spaceBatchUpdatedEventData",
|
|
4844
|
+
"membershipCreatedEventData",
|
|
4845
|
+
"membershipUpdatedEventData",
|
|
4846
|
+
"membershipDeletedEventData",
|
|
4847
|
+
"membershipBatchCreatedEventData",
|
|
4848
|
+
"membershipBatchUpdatedEventData",
|
|
4849
|
+
"membershipBatchDeletedEventData",
|
|
4850
|
+
"reactionCreatedEventData",
|
|
4851
|
+
"reactionDeletedEventData",
|
|
4852
|
+
"reactionBatchCreatedEventData",
|
|
4853
|
+
"reactionBatchDeletedEventData"
|
|
4854
|
+
]
|
|
4855
|
+
}
|
|
4856
|
+
},
|
|
4857
|
+
"fields": {
|
|
4858
|
+
"name": {
|
|
4859
|
+
"type": "string",
|
|
4860
|
+
"id": 1
|
|
4861
|
+
},
|
|
4862
|
+
"eventTime": {
|
|
4863
|
+
"type": "google.protobuf.Timestamp",
|
|
4864
|
+
"id": 3
|
|
4865
|
+
},
|
|
4866
|
+
"eventType": {
|
|
4867
|
+
"type": "string",
|
|
4868
|
+
"id": 6
|
|
4869
|
+
},
|
|
4870
|
+
"messageCreatedEventData": {
|
|
4871
|
+
"type": "MessageCreatedEventData",
|
|
4872
|
+
"id": 12
|
|
4873
|
+
},
|
|
4874
|
+
"messageUpdatedEventData": {
|
|
4875
|
+
"type": "MessageUpdatedEventData",
|
|
4876
|
+
"id": 13
|
|
4877
|
+
},
|
|
4878
|
+
"messageDeletedEventData": {
|
|
4879
|
+
"type": "MessageDeletedEventData",
|
|
4880
|
+
"id": 14
|
|
4881
|
+
},
|
|
4882
|
+
"messageBatchCreatedEventData": {
|
|
4883
|
+
"type": "MessageBatchCreatedEventData",
|
|
4884
|
+
"id": 26
|
|
4885
|
+
},
|
|
4886
|
+
"messageBatchUpdatedEventData": {
|
|
4887
|
+
"type": "MessageBatchUpdatedEventData",
|
|
4888
|
+
"id": 27
|
|
4889
|
+
},
|
|
4890
|
+
"messageBatchDeletedEventData": {
|
|
4891
|
+
"type": "MessageBatchDeletedEventData",
|
|
4892
|
+
"id": 28
|
|
4893
|
+
},
|
|
4894
|
+
"spaceUpdatedEventData": {
|
|
4895
|
+
"type": "SpaceUpdatedEventData",
|
|
4896
|
+
"id": 15
|
|
4897
|
+
},
|
|
4898
|
+
"spaceBatchUpdatedEventData": {
|
|
4899
|
+
"type": "SpaceBatchUpdatedEventData",
|
|
4900
|
+
"id": 29
|
|
4901
|
+
},
|
|
4902
|
+
"membershipCreatedEventData": {
|
|
4903
|
+
"type": "MembershipCreatedEventData",
|
|
4904
|
+
"id": 17
|
|
4905
|
+
},
|
|
4906
|
+
"membershipUpdatedEventData": {
|
|
4907
|
+
"type": "MembershipUpdatedEventData",
|
|
4908
|
+
"id": 18
|
|
4909
|
+
},
|
|
4910
|
+
"membershipDeletedEventData": {
|
|
4911
|
+
"type": "MembershipDeletedEventData",
|
|
4912
|
+
"id": 219
|
|
4913
|
+
},
|
|
4914
|
+
"membershipBatchCreatedEventData": {
|
|
4915
|
+
"type": "MembershipBatchCreatedEventData",
|
|
4916
|
+
"id": 31
|
|
4917
|
+
},
|
|
4918
|
+
"membershipBatchUpdatedEventData": {
|
|
4919
|
+
"type": "MembershipBatchUpdatedEventData",
|
|
4920
|
+
"id": 32
|
|
4921
|
+
},
|
|
4922
|
+
"membershipBatchDeletedEventData": {
|
|
4923
|
+
"type": "MembershipBatchDeletedEventData",
|
|
4924
|
+
"id": 33
|
|
4925
|
+
},
|
|
4926
|
+
"reactionCreatedEventData": {
|
|
4927
|
+
"type": "ReactionCreatedEventData",
|
|
4928
|
+
"id": 21
|
|
4929
|
+
},
|
|
4930
|
+
"reactionDeletedEventData": {
|
|
4931
|
+
"type": "ReactionDeletedEventData",
|
|
4932
|
+
"id": 22
|
|
4933
|
+
},
|
|
4934
|
+
"reactionBatchCreatedEventData": {
|
|
4935
|
+
"type": "ReactionBatchCreatedEventData",
|
|
4936
|
+
"id": 34
|
|
4937
|
+
},
|
|
4938
|
+
"reactionBatchDeletedEventData": {
|
|
4939
|
+
"type": "ReactionBatchDeletedEventData",
|
|
4940
|
+
"id": 35
|
|
4941
|
+
}
|
|
4942
|
+
}
|
|
4943
|
+
},
|
|
4944
|
+
"GetSpaceEventRequest": {
|
|
4945
|
+
"fields": {
|
|
4946
|
+
"name": {
|
|
4947
|
+
"type": "string",
|
|
4948
|
+
"id": 1,
|
|
4949
|
+
"options": {
|
|
4950
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
4951
|
+
"(google.api.resource_reference).type": "chat.googleapis.com/SpaceEvent"
|
|
4952
|
+
}
|
|
4953
|
+
}
|
|
4954
|
+
}
|
|
4955
|
+
},
|
|
4956
|
+
"ListSpaceEventsRequest": {
|
|
4957
|
+
"fields": {
|
|
4958
|
+
"parent": {
|
|
4959
|
+
"type": "string",
|
|
4960
|
+
"id": 1,
|
|
4961
|
+
"options": {
|
|
4962
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
4963
|
+
"(google.api.resource_reference).child_type": "chat.googleapis.com/SpaceEvent"
|
|
4964
|
+
}
|
|
4965
|
+
},
|
|
4966
|
+
"pageSize": {
|
|
4967
|
+
"type": "int32",
|
|
4968
|
+
"id": 5
|
|
4969
|
+
},
|
|
4970
|
+
"pageToken": {
|
|
4971
|
+
"type": "string",
|
|
4972
|
+
"id": 6
|
|
4973
|
+
},
|
|
4974
|
+
"filter": {
|
|
4975
|
+
"type": "string",
|
|
4976
|
+
"id": 8,
|
|
4977
|
+
"options": {
|
|
4978
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
4979
|
+
}
|
|
4980
|
+
}
|
|
4981
|
+
}
|
|
4982
|
+
},
|
|
4983
|
+
"ListSpaceEventsResponse": {
|
|
4984
|
+
"fields": {
|
|
4985
|
+
"spaceEvents": {
|
|
4986
|
+
"rule": "repeated",
|
|
4987
|
+
"type": "SpaceEvent",
|
|
4988
|
+
"id": 1
|
|
4989
|
+
},
|
|
4990
|
+
"nextPageToken": {
|
|
4991
|
+
"type": "string",
|
|
4992
|
+
"id": 2
|
|
4993
|
+
}
|
|
4994
|
+
}
|
|
4995
|
+
},
|
|
4996
|
+
"MembershipCreatedEventData": {
|
|
4997
|
+
"fields": {
|
|
4998
|
+
"membership": {
|
|
4999
|
+
"type": "Membership",
|
|
5000
|
+
"id": 1
|
|
5001
|
+
}
|
|
5002
|
+
}
|
|
5003
|
+
},
|
|
5004
|
+
"MembershipDeletedEventData": {
|
|
5005
|
+
"fields": {
|
|
5006
|
+
"membership": {
|
|
5007
|
+
"type": "Membership",
|
|
5008
|
+
"id": 1
|
|
5009
|
+
}
|
|
5010
|
+
}
|
|
5011
|
+
},
|
|
5012
|
+
"MembershipUpdatedEventData": {
|
|
5013
|
+
"fields": {
|
|
5014
|
+
"membership": {
|
|
5015
|
+
"type": "Membership",
|
|
5016
|
+
"id": 1
|
|
5017
|
+
}
|
|
5018
|
+
}
|
|
5019
|
+
},
|
|
5020
|
+
"MembershipBatchCreatedEventData": {
|
|
5021
|
+
"fields": {
|
|
5022
|
+
"memberships": {
|
|
5023
|
+
"rule": "repeated",
|
|
5024
|
+
"type": "MembershipCreatedEventData",
|
|
5025
|
+
"id": 1
|
|
5026
|
+
}
|
|
5027
|
+
}
|
|
5028
|
+
},
|
|
5029
|
+
"MembershipBatchUpdatedEventData": {
|
|
5030
|
+
"fields": {
|
|
5031
|
+
"memberships": {
|
|
5032
|
+
"rule": "repeated",
|
|
5033
|
+
"type": "MembershipUpdatedEventData",
|
|
5034
|
+
"id": 1
|
|
5035
|
+
}
|
|
5036
|
+
}
|
|
5037
|
+
},
|
|
5038
|
+
"MembershipBatchDeletedEventData": {
|
|
5039
|
+
"fields": {
|
|
5040
|
+
"memberships": {
|
|
5041
|
+
"rule": "repeated",
|
|
5042
|
+
"type": "MembershipDeletedEventData",
|
|
5043
|
+
"id": 1
|
|
5044
|
+
}
|
|
5045
|
+
}
|
|
5046
|
+
},
|
|
5047
|
+
"MessageCreatedEventData": {
|
|
5048
|
+
"fields": {
|
|
5049
|
+
"message": {
|
|
5050
|
+
"type": "Message",
|
|
5051
|
+
"id": 1
|
|
5052
|
+
}
|
|
5053
|
+
}
|
|
5054
|
+
},
|
|
5055
|
+
"MessageUpdatedEventData": {
|
|
5056
|
+
"fields": {
|
|
5057
|
+
"message": {
|
|
5058
|
+
"type": "Message",
|
|
5059
|
+
"id": 1
|
|
5060
|
+
}
|
|
5061
|
+
}
|
|
5062
|
+
},
|
|
5063
|
+
"MessageDeletedEventData": {
|
|
5064
|
+
"fields": {
|
|
5065
|
+
"message": {
|
|
5066
|
+
"type": "Message",
|
|
5067
|
+
"id": 1
|
|
5068
|
+
}
|
|
5069
|
+
}
|
|
5070
|
+
},
|
|
5071
|
+
"MessageBatchCreatedEventData": {
|
|
5072
|
+
"fields": {
|
|
5073
|
+
"messages": {
|
|
5074
|
+
"rule": "repeated",
|
|
5075
|
+
"type": "MessageCreatedEventData",
|
|
5076
|
+
"id": 1
|
|
5077
|
+
}
|
|
5078
|
+
}
|
|
5079
|
+
},
|
|
5080
|
+
"MessageBatchUpdatedEventData": {
|
|
5081
|
+
"fields": {
|
|
5082
|
+
"messages": {
|
|
5083
|
+
"rule": "repeated",
|
|
5084
|
+
"type": "MessageUpdatedEventData",
|
|
5085
|
+
"id": 1
|
|
5086
|
+
}
|
|
5087
|
+
}
|
|
5088
|
+
},
|
|
5089
|
+
"MessageBatchDeletedEventData": {
|
|
5090
|
+
"fields": {
|
|
5091
|
+
"messages": {
|
|
5092
|
+
"rule": "repeated",
|
|
5093
|
+
"type": "MessageDeletedEventData",
|
|
5094
|
+
"id": 1
|
|
5095
|
+
}
|
|
5096
|
+
}
|
|
5097
|
+
},
|
|
5098
|
+
"SpaceUpdatedEventData": {
|
|
5099
|
+
"fields": {
|
|
5100
|
+
"space": {
|
|
5101
|
+
"type": "Space",
|
|
5102
|
+
"id": 1
|
|
5103
|
+
}
|
|
5104
|
+
}
|
|
5105
|
+
},
|
|
5106
|
+
"SpaceBatchUpdatedEventData": {
|
|
5107
|
+
"fields": {
|
|
5108
|
+
"spaces": {
|
|
5109
|
+
"rule": "repeated",
|
|
5110
|
+
"type": "SpaceUpdatedEventData",
|
|
5111
|
+
"id": 1
|
|
5112
|
+
}
|
|
5113
|
+
}
|
|
5114
|
+
},
|
|
5115
|
+
"ReactionCreatedEventData": {
|
|
5116
|
+
"fields": {
|
|
5117
|
+
"reaction": {
|
|
5118
|
+
"type": "Reaction",
|
|
5119
|
+
"id": 1
|
|
5120
|
+
}
|
|
5121
|
+
}
|
|
5122
|
+
},
|
|
5123
|
+
"ReactionDeletedEventData": {
|
|
5124
|
+
"fields": {
|
|
5125
|
+
"reaction": {
|
|
5126
|
+
"type": "Reaction",
|
|
5127
|
+
"id": 1
|
|
5128
|
+
}
|
|
5129
|
+
}
|
|
5130
|
+
},
|
|
5131
|
+
"ReactionBatchCreatedEventData": {
|
|
5132
|
+
"fields": {
|
|
5133
|
+
"reactions": {
|
|
5134
|
+
"rule": "repeated",
|
|
5135
|
+
"type": "ReactionCreatedEventData",
|
|
5136
|
+
"id": 1
|
|
5137
|
+
}
|
|
5138
|
+
}
|
|
5139
|
+
},
|
|
5140
|
+
"ReactionBatchDeletedEventData": {
|
|
5141
|
+
"fields": {
|
|
5142
|
+
"reactions": {
|
|
5143
|
+
"rule": "repeated",
|
|
5144
|
+
"type": "ReactionDeletedEventData",
|
|
5145
|
+
"id": 1
|
|
5146
|
+
}
|
|
5147
|
+
}
|
|
5148
|
+
},
|
|
4792
5149
|
"SpaceReadState": {
|
|
4793
5150
|
"options": {
|
|
4794
5151
|
"(google.api.resource).type": "chat.googleapis.com/SpaceReadState",
|