@google-apps/chat 0.8.0 → 0.10.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 +14 -0
- package/README.md +3 -2
- package/build/protos/google/chat/v1/chat_service.proto +63 -42
- package/build/protos/google/chat/v1/membership.proto +69 -2
- package/build/protos/google/chat/v1/message.proto +14 -13
- package/build/protos/google/chat/v1/space.proto +361 -59
- package/build/protos/google/chat/v1/space_event.proto +2 -0
- package/build/protos/protos.d.ts +702 -0
- package/build/protos/protos.js +2604 -653
- package/build/protos/protos.json +270 -0
- package/build/src/v1/chat_service_client.d.ts +662 -86
- package/build/src/v1/chat_service_client.js +347 -4
- package/build/src/v1/chat_service_client.js.map +1 -1
- package/build/src/v1/chat_service_client_config.json +5 -0
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"options": {
|
|
3
|
+
"syntax": "proto3"
|
|
4
|
+
},
|
|
2
5
|
"nested": {
|
|
3
6
|
"google": {
|
|
4
7
|
"nested": {
|
|
@@ -2976,6 +2979,24 @@
|
|
|
2976
2979
|
}
|
|
2977
2980
|
]
|
|
2978
2981
|
},
|
|
2982
|
+
"SearchSpaces": {
|
|
2983
|
+
"requestType": "SearchSpacesRequest",
|
|
2984
|
+
"responseType": "SearchSpacesResponse",
|
|
2985
|
+
"options": {
|
|
2986
|
+
"(google.api.http).get": "/v1/spaces:search",
|
|
2987
|
+
"(google.api.method_signature)": ""
|
|
2988
|
+
},
|
|
2989
|
+
"parsedOptions": [
|
|
2990
|
+
{
|
|
2991
|
+
"(google.api.http)": {
|
|
2992
|
+
"get": "/v1/spaces:search"
|
|
2993
|
+
}
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
"(google.api.method_signature)": ""
|
|
2997
|
+
}
|
|
2998
|
+
]
|
|
2999
|
+
},
|
|
2979
3000
|
"GetSpace": {
|
|
2980
3001
|
"requestType": "GetSpaceRequest",
|
|
2981
3002
|
"responseType": "Space",
|
|
@@ -3398,6 +3419,10 @@
|
|
|
3398
3419
|
"options": {
|
|
3399
3420
|
"(google.api.field_behavior)": "REQUIRED"
|
|
3400
3421
|
}
|
|
3422
|
+
},
|
|
3423
|
+
"useAdminAccess": {
|
|
3424
|
+
"type": "bool",
|
|
3425
|
+
"id": 5
|
|
3401
3426
|
}
|
|
3402
3427
|
}
|
|
3403
3428
|
},
|
|
@@ -3416,6 +3441,10 @@
|
|
|
3416
3441
|
"options": {
|
|
3417
3442
|
"(google.api.field_behavior)": "REQUIRED"
|
|
3418
3443
|
}
|
|
3444
|
+
},
|
|
3445
|
+
"useAdminAccess": {
|
|
3446
|
+
"type": "bool",
|
|
3447
|
+
"id": 3
|
|
3419
3448
|
}
|
|
3420
3449
|
}
|
|
3421
3450
|
},
|
|
@@ -3463,6 +3492,10 @@
|
|
|
3463
3492
|
"options": {
|
|
3464
3493
|
"(google.api.field_behavior)": "OPTIONAL"
|
|
3465
3494
|
}
|
|
3495
|
+
},
|
|
3496
|
+
"useAdminAccess": {
|
|
3497
|
+
"type": "bool",
|
|
3498
|
+
"id": 8
|
|
3466
3499
|
}
|
|
3467
3500
|
}
|
|
3468
3501
|
},
|
|
@@ -3491,6 +3524,10 @@
|
|
|
3491
3524
|
"(google.api.field_behavior)": "REQUIRED",
|
|
3492
3525
|
"(google.api.resource_reference).type": "chat.googleapis.com/Membership"
|
|
3493
3526
|
}
|
|
3527
|
+
},
|
|
3528
|
+
"useAdminAccess": {
|
|
3529
|
+
"type": "bool",
|
|
3530
|
+
"id": 3
|
|
3494
3531
|
}
|
|
3495
3532
|
}
|
|
3496
3533
|
},
|
|
@@ -3503,6 +3540,10 @@
|
|
|
3503
3540
|
"(google.api.field_behavior)": "REQUIRED",
|
|
3504
3541
|
"(google.api.resource_reference).type": "chat.googleapis.com/Membership"
|
|
3505
3542
|
}
|
|
3543
|
+
},
|
|
3544
|
+
"useAdminAccess": {
|
|
3545
|
+
"type": "bool",
|
|
3546
|
+
"id": 2
|
|
3506
3547
|
}
|
|
3507
3548
|
}
|
|
3508
3549
|
},
|
|
@@ -4564,6 +4605,14 @@
|
|
|
4564
4605
|
"(google.api.resource).type": "chat.googleapis.com/Space",
|
|
4565
4606
|
"(google.api.resource).pattern": "spaces/{space}"
|
|
4566
4607
|
},
|
|
4608
|
+
"oneofs": {
|
|
4609
|
+
"spacePermissionSettings": {
|
|
4610
|
+
"oneof": [
|
|
4611
|
+
"predefinedPermissionSettings",
|
|
4612
|
+
"permissionSettings"
|
|
4613
|
+
]
|
|
4614
|
+
}
|
|
4615
|
+
},
|
|
4567
4616
|
"fields": {
|
|
4568
4617
|
"name": {
|
|
4569
4618
|
"type": "string",
|
|
@@ -4636,6 +4685,13 @@
|
|
|
4636
4685
|
"(google.api.field_behavior)": "OPTIONAL"
|
|
4637
4686
|
}
|
|
4638
4687
|
},
|
|
4688
|
+
"lastActiveTime": {
|
|
4689
|
+
"type": "google.protobuf.Timestamp",
|
|
4690
|
+
"id": 18,
|
|
4691
|
+
"options": {
|
|
4692
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4693
|
+
}
|
|
4694
|
+
},
|
|
4639
4695
|
"adminInstalled": {
|
|
4640
4696
|
"type": "bool",
|
|
4641
4697
|
"id": 19,
|
|
@@ -4643,6 +4699,13 @@
|
|
|
4643
4699
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4644
4700
|
}
|
|
4645
4701
|
},
|
|
4702
|
+
"membershipCount": {
|
|
4703
|
+
"type": "MembershipCount",
|
|
4704
|
+
"id": 20,
|
|
4705
|
+
"options": {
|
|
4706
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4707
|
+
}
|
|
4708
|
+
},
|
|
4646
4709
|
"accessSettings": {
|
|
4647
4710
|
"type": "AccessSettings",
|
|
4648
4711
|
"id": 23,
|
|
@@ -4656,6 +4719,20 @@
|
|
|
4656
4719
|
"options": {
|
|
4657
4720
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4658
4721
|
}
|
|
4722
|
+
},
|
|
4723
|
+
"predefinedPermissionSettings": {
|
|
4724
|
+
"type": "PredefinedPermissionSettings",
|
|
4725
|
+
"id": 26,
|
|
4726
|
+
"options": {
|
|
4727
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
4728
|
+
}
|
|
4729
|
+
},
|
|
4730
|
+
"permissionSettings": {
|
|
4731
|
+
"type": "PermissionSettings",
|
|
4732
|
+
"id": 27,
|
|
4733
|
+
"options": {
|
|
4734
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
4735
|
+
}
|
|
4659
4736
|
}
|
|
4660
4737
|
},
|
|
4661
4738
|
"nested": {
|
|
@@ -4694,6 +4771,18 @@
|
|
|
4694
4771
|
}
|
|
4695
4772
|
}
|
|
4696
4773
|
},
|
|
4774
|
+
"MembershipCount": {
|
|
4775
|
+
"fields": {
|
|
4776
|
+
"joinedDirectHumanUserCount": {
|
|
4777
|
+
"type": "int32",
|
|
4778
|
+
"id": 4
|
|
4779
|
+
},
|
|
4780
|
+
"joinedGroupCount": {
|
|
4781
|
+
"type": "int32",
|
|
4782
|
+
"id": 5
|
|
4783
|
+
}
|
|
4784
|
+
}
|
|
4785
|
+
},
|
|
4697
4786
|
"AccessSettings": {
|
|
4698
4787
|
"fields": {
|
|
4699
4788
|
"accessState": {
|
|
@@ -4720,6 +4809,128 @@
|
|
|
4720
4809
|
}
|
|
4721
4810
|
}
|
|
4722
4811
|
}
|
|
4812
|
+
},
|
|
4813
|
+
"PredefinedPermissionSettings": {
|
|
4814
|
+
"values": {
|
|
4815
|
+
"PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED": 0,
|
|
4816
|
+
"COLLABORATION_SPACE": 1,
|
|
4817
|
+
"ANNOUNCEMENT_SPACE": 2
|
|
4818
|
+
}
|
|
4819
|
+
},
|
|
4820
|
+
"PermissionSettings": {
|
|
4821
|
+
"oneofs": {
|
|
4822
|
+
"_manageMembersAndGroups": {
|
|
4823
|
+
"oneof": [
|
|
4824
|
+
"manageMembersAndGroups"
|
|
4825
|
+
]
|
|
4826
|
+
},
|
|
4827
|
+
"_modifySpaceDetails": {
|
|
4828
|
+
"oneof": [
|
|
4829
|
+
"modifySpaceDetails"
|
|
4830
|
+
]
|
|
4831
|
+
},
|
|
4832
|
+
"_toggleHistory": {
|
|
4833
|
+
"oneof": [
|
|
4834
|
+
"toggleHistory"
|
|
4835
|
+
]
|
|
4836
|
+
},
|
|
4837
|
+
"_useAtMentionAll": {
|
|
4838
|
+
"oneof": [
|
|
4839
|
+
"useAtMentionAll"
|
|
4840
|
+
]
|
|
4841
|
+
},
|
|
4842
|
+
"_manageApps": {
|
|
4843
|
+
"oneof": [
|
|
4844
|
+
"manageApps"
|
|
4845
|
+
]
|
|
4846
|
+
},
|
|
4847
|
+
"_manageWebhooks": {
|
|
4848
|
+
"oneof": [
|
|
4849
|
+
"manageWebhooks"
|
|
4850
|
+
]
|
|
4851
|
+
},
|
|
4852
|
+
"_postMessages": {
|
|
4853
|
+
"oneof": [
|
|
4854
|
+
"postMessages"
|
|
4855
|
+
]
|
|
4856
|
+
},
|
|
4857
|
+
"_replyMessages": {
|
|
4858
|
+
"oneof": [
|
|
4859
|
+
"replyMessages"
|
|
4860
|
+
]
|
|
4861
|
+
}
|
|
4862
|
+
},
|
|
4863
|
+
"fields": {
|
|
4864
|
+
"manageMembersAndGroups": {
|
|
4865
|
+
"type": "PermissionSetting",
|
|
4866
|
+
"id": 1,
|
|
4867
|
+
"options": {
|
|
4868
|
+
"proto3_optional": true
|
|
4869
|
+
}
|
|
4870
|
+
},
|
|
4871
|
+
"modifySpaceDetails": {
|
|
4872
|
+
"type": "PermissionSetting",
|
|
4873
|
+
"id": 2,
|
|
4874
|
+
"options": {
|
|
4875
|
+
"proto3_optional": true
|
|
4876
|
+
}
|
|
4877
|
+
},
|
|
4878
|
+
"toggleHistory": {
|
|
4879
|
+
"type": "PermissionSetting",
|
|
4880
|
+
"id": 3,
|
|
4881
|
+
"options": {
|
|
4882
|
+
"proto3_optional": true
|
|
4883
|
+
}
|
|
4884
|
+
},
|
|
4885
|
+
"useAtMentionAll": {
|
|
4886
|
+
"type": "PermissionSetting",
|
|
4887
|
+
"id": 4,
|
|
4888
|
+
"options": {
|
|
4889
|
+
"proto3_optional": true
|
|
4890
|
+
}
|
|
4891
|
+
},
|
|
4892
|
+
"manageApps": {
|
|
4893
|
+
"type": "PermissionSetting",
|
|
4894
|
+
"id": 5,
|
|
4895
|
+
"options": {
|
|
4896
|
+
"proto3_optional": true
|
|
4897
|
+
}
|
|
4898
|
+
},
|
|
4899
|
+
"manageWebhooks": {
|
|
4900
|
+
"type": "PermissionSetting",
|
|
4901
|
+
"id": 6,
|
|
4902
|
+
"options": {
|
|
4903
|
+
"proto3_optional": true
|
|
4904
|
+
}
|
|
4905
|
+
},
|
|
4906
|
+
"postMessages": {
|
|
4907
|
+
"type": "PermissionSetting",
|
|
4908
|
+
"id": 7,
|
|
4909
|
+
"options": {
|
|
4910
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY",
|
|
4911
|
+
"proto3_optional": true
|
|
4912
|
+
}
|
|
4913
|
+
},
|
|
4914
|
+
"replyMessages": {
|
|
4915
|
+
"type": "PermissionSetting",
|
|
4916
|
+
"id": 8,
|
|
4917
|
+
"options": {
|
|
4918
|
+
"proto3_optional": true
|
|
4919
|
+
}
|
|
4920
|
+
}
|
|
4921
|
+
}
|
|
4922
|
+
},
|
|
4923
|
+
"PermissionSetting": {
|
|
4924
|
+
"fields": {
|
|
4925
|
+
"managersAllowed": {
|
|
4926
|
+
"type": "bool",
|
|
4927
|
+
"id": 1
|
|
4928
|
+
},
|
|
4929
|
+
"membersAllowed": {
|
|
4930
|
+
"type": "bool",
|
|
4931
|
+
"id": 2
|
|
4932
|
+
}
|
|
4933
|
+
}
|
|
4723
4934
|
}
|
|
4724
4935
|
}
|
|
4725
4936
|
},
|
|
@@ -4788,6 +4999,10 @@
|
|
|
4788
4999
|
"(google.api.field_behavior)": "REQUIRED",
|
|
4789
5000
|
"(google.api.resource_reference).type": "chat.googleapis.com/Space"
|
|
4790
5001
|
}
|
|
5002
|
+
},
|
|
5003
|
+
"useAdminAccess": {
|
|
5004
|
+
"type": "bool",
|
|
5005
|
+
"id": 2
|
|
4791
5006
|
}
|
|
4792
5007
|
}
|
|
4793
5008
|
},
|
|
@@ -4814,6 +5029,57 @@
|
|
|
4814
5029
|
"updateMask": {
|
|
4815
5030
|
"type": "google.protobuf.FieldMask",
|
|
4816
5031
|
"id": 2
|
|
5032
|
+
},
|
|
5033
|
+
"useAdminAccess": {
|
|
5034
|
+
"type": "bool",
|
|
5035
|
+
"id": 3
|
|
5036
|
+
}
|
|
5037
|
+
}
|
|
5038
|
+
},
|
|
5039
|
+
"SearchSpacesRequest": {
|
|
5040
|
+
"fields": {
|
|
5041
|
+
"useAdminAccess": {
|
|
5042
|
+
"type": "bool",
|
|
5043
|
+
"id": 1
|
|
5044
|
+
},
|
|
5045
|
+
"pageSize": {
|
|
5046
|
+
"type": "int32",
|
|
5047
|
+
"id": 2
|
|
5048
|
+
},
|
|
5049
|
+
"pageToken": {
|
|
5050
|
+
"type": "string",
|
|
5051
|
+
"id": 3
|
|
5052
|
+
},
|
|
5053
|
+
"query": {
|
|
5054
|
+
"type": "string",
|
|
5055
|
+
"id": 4,
|
|
5056
|
+
"options": {
|
|
5057
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
5058
|
+
}
|
|
5059
|
+
},
|
|
5060
|
+
"orderBy": {
|
|
5061
|
+
"type": "string",
|
|
5062
|
+
"id": 5,
|
|
5063
|
+
"options": {
|
|
5064
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
5065
|
+
}
|
|
5066
|
+
}
|
|
5067
|
+
}
|
|
5068
|
+
},
|
|
5069
|
+
"SearchSpacesResponse": {
|
|
5070
|
+
"fields": {
|
|
5071
|
+
"spaces": {
|
|
5072
|
+
"rule": "repeated",
|
|
5073
|
+
"type": "Space",
|
|
5074
|
+
"id": 1
|
|
5075
|
+
},
|
|
5076
|
+
"nextPageToken": {
|
|
5077
|
+
"type": "string",
|
|
5078
|
+
"id": 2
|
|
5079
|
+
},
|
|
5080
|
+
"totalSize": {
|
|
5081
|
+
"type": "int32",
|
|
5082
|
+
"id": 3
|
|
4817
5083
|
}
|
|
4818
5084
|
}
|
|
4819
5085
|
},
|
|
@@ -4826,6 +5092,10 @@
|
|
|
4826
5092
|
"(google.api.field_behavior)": "REQUIRED",
|
|
4827
5093
|
"(google.api.resource_reference).type": "chat.googleapis.com/Space"
|
|
4828
5094
|
}
|
|
5095
|
+
},
|
|
5096
|
+
"useAdminAccess": {
|
|
5097
|
+
"type": "bool",
|
|
5098
|
+
"id": 2
|
|
4829
5099
|
}
|
|
4830
5100
|
}
|
|
4831
5101
|
},
|