@google-apps/chat 0.18.0 → 0.19.1
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/README.md +60 -145
- package/build/protos/google/chat/v1/message.proto +35 -8
- package/build/protos/google/chat/v1/space.proto +2 -2
- package/build/protos/protos.d.ts +4 -621
- package/build/protos/protos.js +21 -1944
- package/build/protos/protos.json +25 -209
- package/build/src/v1/chat_service_client.d.ts +2 -0
- package/build/src/v1/chat_service_client.js.map +1 -1
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
|
@@ -93,19 +93,12 @@
|
|
|
93
93
|
"type": "FileDescriptorProto",
|
|
94
94
|
"id": 1
|
|
95
95
|
}
|
|
96
|
-
}
|
|
97
|
-
"extensions": [
|
|
98
|
-
[
|
|
99
|
-
536000000,
|
|
100
|
-
536000000
|
|
101
|
-
]
|
|
102
|
-
]
|
|
96
|
+
}
|
|
103
97
|
},
|
|
104
98
|
"Edition": {
|
|
105
99
|
"edition": "proto2",
|
|
106
100
|
"values": {
|
|
107
101
|
"EDITION_UNKNOWN": 0,
|
|
108
|
-
"EDITION_LEGACY": 900,
|
|
109
102
|
"EDITION_PROTO2": 998,
|
|
110
103
|
"EDITION_PROTO3": 999,
|
|
111
104
|
"EDITION_2023": 1000,
|
|
@@ -144,11 +137,6 @@
|
|
|
144
137
|
"type": "int32",
|
|
145
138
|
"id": 11
|
|
146
139
|
},
|
|
147
|
-
"optionDependency": {
|
|
148
|
-
"rule": "repeated",
|
|
149
|
-
"type": "string",
|
|
150
|
-
"id": 15
|
|
151
|
-
},
|
|
152
140
|
"messageType": {
|
|
153
141
|
"rule": "repeated",
|
|
154
142
|
"type": "DescriptorProto",
|
|
@@ -237,10 +225,6 @@
|
|
|
237
225
|
"rule": "repeated",
|
|
238
226
|
"type": "string",
|
|
239
227
|
"id": 10
|
|
240
|
-
},
|
|
241
|
-
"visibility": {
|
|
242
|
-
"type": "SymbolVisibility",
|
|
243
|
-
"id": 11
|
|
244
228
|
}
|
|
245
229
|
},
|
|
246
230
|
"nested": {
|
|
@@ -466,10 +450,6 @@
|
|
|
466
450
|
"rule": "repeated",
|
|
467
451
|
"type": "string",
|
|
468
452
|
"id": 5
|
|
469
|
-
},
|
|
470
|
-
"visibility": {
|
|
471
|
-
"type": "SymbolVisibility",
|
|
472
|
-
"id": 6
|
|
473
453
|
}
|
|
474
454
|
},
|
|
475
455
|
"nested": {
|
|
@@ -684,7 +664,6 @@
|
|
|
684
664
|
42,
|
|
685
665
|
42
|
|
686
666
|
],
|
|
687
|
-
"php_generic_services",
|
|
688
667
|
[
|
|
689
668
|
38,
|
|
690
669
|
38
|
|
@@ -820,8 +799,7 @@
|
|
|
820
799
|
"type": "bool",
|
|
821
800
|
"id": 10,
|
|
822
801
|
"options": {
|
|
823
|
-
"default": false
|
|
824
|
-
"deprecated": true
|
|
802
|
+
"default": false
|
|
825
803
|
}
|
|
826
804
|
},
|
|
827
805
|
"debugRedact": {
|
|
@@ -849,10 +827,6 @@
|
|
|
849
827
|
"type": "FeatureSet",
|
|
850
828
|
"id": 21
|
|
851
829
|
},
|
|
852
|
-
"featureSupport": {
|
|
853
|
-
"type": "FeatureSupport",
|
|
854
|
-
"id": 22
|
|
855
|
-
},
|
|
856
830
|
"uninterpretedOption": {
|
|
857
831
|
"rule": "repeated",
|
|
858
832
|
"type": "UninterpretedOption",
|
|
@@ -922,26 +896,6 @@
|
|
|
922
896
|
"id": 2
|
|
923
897
|
}
|
|
924
898
|
}
|
|
925
|
-
},
|
|
926
|
-
"FeatureSupport": {
|
|
927
|
-
"fields": {
|
|
928
|
-
"editionIntroduced": {
|
|
929
|
-
"type": "Edition",
|
|
930
|
-
"id": 1
|
|
931
|
-
},
|
|
932
|
-
"editionDeprecated": {
|
|
933
|
-
"type": "Edition",
|
|
934
|
-
"id": 2
|
|
935
|
-
},
|
|
936
|
-
"deprecationWarning": {
|
|
937
|
-
"type": "string",
|
|
938
|
-
"id": 3
|
|
939
|
-
},
|
|
940
|
-
"editionRemoved": {
|
|
941
|
-
"type": "Edition",
|
|
942
|
-
"id": 4
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
899
|
}
|
|
946
900
|
}
|
|
947
901
|
},
|
|
@@ -1030,10 +984,6 @@
|
|
|
1030
984
|
"default": false
|
|
1031
985
|
}
|
|
1032
986
|
},
|
|
1033
|
-
"featureSupport": {
|
|
1034
|
-
"type": "FieldOptions.FeatureSupport",
|
|
1035
|
-
"id": 4
|
|
1036
|
-
},
|
|
1037
987
|
"uninterpretedOption": {
|
|
1038
988
|
"rule": "repeated",
|
|
1039
989
|
"type": "UninterpretedOption",
|
|
@@ -1176,7 +1126,6 @@
|
|
|
1176
1126
|
"options": {
|
|
1177
1127
|
"retention": "RETENTION_RUNTIME",
|
|
1178
1128
|
"targets": "TARGET_TYPE_FILE",
|
|
1179
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
1180
1129
|
"edition_defaults.edition": "EDITION_2023",
|
|
1181
1130
|
"edition_defaults.value": "EXPLICIT"
|
|
1182
1131
|
}
|
|
@@ -1187,7 +1136,6 @@
|
|
|
1187
1136
|
"options": {
|
|
1188
1137
|
"retention": "RETENTION_RUNTIME",
|
|
1189
1138
|
"targets": "TARGET_TYPE_FILE",
|
|
1190
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
1191
1139
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
1192
1140
|
"edition_defaults.value": "OPEN"
|
|
1193
1141
|
}
|
|
@@ -1198,7 +1146,6 @@
|
|
|
1198
1146
|
"options": {
|
|
1199
1147
|
"retention": "RETENTION_RUNTIME",
|
|
1200
1148
|
"targets": "TARGET_TYPE_FILE",
|
|
1201
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
1202
1149
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
1203
1150
|
"edition_defaults.value": "PACKED"
|
|
1204
1151
|
}
|
|
@@ -1209,7 +1156,6 @@
|
|
|
1209
1156
|
"options": {
|
|
1210
1157
|
"retention": "RETENTION_RUNTIME",
|
|
1211
1158
|
"targets": "TARGET_TYPE_FILE",
|
|
1212
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
1213
1159
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
1214
1160
|
"edition_defaults.value": "VERIFY"
|
|
1215
1161
|
}
|
|
@@ -1220,8 +1166,7 @@
|
|
|
1220
1166
|
"options": {
|
|
1221
1167
|
"retention": "RETENTION_RUNTIME",
|
|
1222
1168
|
"targets": "TARGET_TYPE_FILE",
|
|
1223
|
-
"
|
|
1224
|
-
"edition_defaults.edition": "EDITION_LEGACY",
|
|
1169
|
+
"edition_defaults.edition": "EDITION_PROTO2",
|
|
1225
1170
|
"edition_defaults.value": "LENGTH_PREFIXED"
|
|
1226
1171
|
}
|
|
1227
1172
|
},
|
|
@@ -1231,38 +1176,27 @@
|
|
|
1231
1176
|
"options": {
|
|
1232
1177
|
"retention": "RETENTION_RUNTIME",
|
|
1233
1178
|
"targets": "TARGET_TYPE_FILE",
|
|
1234
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
1235
1179
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
1236
1180
|
"edition_defaults.value": "ALLOW"
|
|
1237
1181
|
}
|
|
1238
|
-
},
|
|
1239
|
-
"enforceNamingStyle": {
|
|
1240
|
-
"type": "EnforceNamingStyle",
|
|
1241
|
-
"id": 7,
|
|
1242
|
-
"options": {
|
|
1243
|
-
"retention": "RETENTION_SOURCE",
|
|
1244
|
-
"targets": "TARGET_TYPE_METHOD",
|
|
1245
|
-
"feature_support.edition_introduced": "EDITION_2024",
|
|
1246
|
-
"edition_defaults.edition": "EDITION_2024",
|
|
1247
|
-
"edition_defaults.value": "STYLE2024"
|
|
1248
|
-
}
|
|
1249
|
-
},
|
|
1250
|
-
"defaultSymbolVisibility": {
|
|
1251
|
-
"type": "VisibilityFeature.DefaultSymbolVisibility",
|
|
1252
|
-
"id": 8,
|
|
1253
|
-
"options": {
|
|
1254
|
-
"retention": "RETENTION_SOURCE",
|
|
1255
|
-
"targets": "TARGET_TYPE_FILE",
|
|
1256
|
-
"feature_support.edition_introduced": "EDITION_2024",
|
|
1257
|
-
"edition_defaults.edition": "EDITION_2024",
|
|
1258
|
-
"edition_defaults.value": "EXPORT_TOP_LEVEL"
|
|
1259
|
-
}
|
|
1260
1182
|
}
|
|
1261
1183
|
},
|
|
1262
1184
|
"extensions": [
|
|
1263
1185
|
[
|
|
1264
1186
|
1000,
|
|
1265
|
-
|
|
1187
|
+
1000
|
|
1188
|
+
],
|
|
1189
|
+
[
|
|
1190
|
+
1001,
|
|
1191
|
+
1001
|
|
1192
|
+
],
|
|
1193
|
+
[
|
|
1194
|
+
1002,
|
|
1195
|
+
1002
|
|
1196
|
+
],
|
|
1197
|
+
[
|
|
1198
|
+
9990,
|
|
1199
|
+
9990
|
|
1266
1200
|
],
|
|
1267
1201
|
[
|
|
1268
1202
|
9995,
|
|
@@ -1307,13 +1241,7 @@
|
|
|
1307
1241
|
"UTF8_VALIDATION_UNKNOWN": 0,
|
|
1308
1242
|
"VERIFY": 2,
|
|
1309
1243
|
"NONE": 3
|
|
1310
|
-
}
|
|
1311
|
-
"reserved": [
|
|
1312
|
-
[
|
|
1313
|
-
1,
|
|
1314
|
-
1
|
|
1315
|
-
]
|
|
1316
|
-
]
|
|
1244
|
+
}
|
|
1317
1245
|
},
|
|
1318
1246
|
"MessageEncoding": {
|
|
1319
1247
|
"values": {
|
|
@@ -1328,33 +1256,6 @@
|
|
|
1328
1256
|
"ALLOW": 1,
|
|
1329
1257
|
"LEGACY_BEST_EFFORT": 2
|
|
1330
1258
|
}
|
|
1331
|
-
},
|
|
1332
|
-
"EnforceNamingStyle": {
|
|
1333
|
-
"values": {
|
|
1334
|
-
"ENFORCE_NAMING_STYLE_UNKNOWN": 0,
|
|
1335
|
-
"STYLE2024": 1,
|
|
1336
|
-
"STYLE_LEGACY": 2
|
|
1337
|
-
}
|
|
1338
|
-
},
|
|
1339
|
-
"VisibilityFeature": {
|
|
1340
|
-
"fields": {},
|
|
1341
|
-
"reserved": [
|
|
1342
|
-
[
|
|
1343
|
-
1,
|
|
1344
|
-
536870911
|
|
1345
|
-
]
|
|
1346
|
-
],
|
|
1347
|
-
"nested": {
|
|
1348
|
-
"DefaultSymbolVisibility": {
|
|
1349
|
-
"values": {
|
|
1350
|
-
"DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0,
|
|
1351
|
-
"EXPORT_ALL": 1,
|
|
1352
|
-
"EXPORT_TOP_LEVEL": 2,
|
|
1353
|
-
"LOCAL_ALL": 3,
|
|
1354
|
-
"STRICT": 4
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
1259
|
}
|
|
1359
1260
|
}
|
|
1360
1261
|
},
|
|
@@ -1382,26 +1283,11 @@
|
|
|
1382
1283
|
"type": "Edition",
|
|
1383
1284
|
"id": 3
|
|
1384
1285
|
},
|
|
1385
|
-
"
|
|
1386
|
-
"type": "FeatureSet",
|
|
1387
|
-
"id": 4
|
|
1388
|
-
},
|
|
1389
|
-
"fixedFeatures": {
|
|
1286
|
+
"features": {
|
|
1390
1287
|
"type": "FeatureSet",
|
|
1391
|
-
"id":
|
|
1288
|
+
"id": 2
|
|
1392
1289
|
}
|
|
1393
|
-
}
|
|
1394
|
-
"reserved": [
|
|
1395
|
-
[
|
|
1396
|
-
1,
|
|
1397
|
-
1
|
|
1398
|
-
],
|
|
1399
|
-
[
|
|
1400
|
-
2,
|
|
1401
|
-
2
|
|
1402
|
-
],
|
|
1403
|
-
"features"
|
|
1404
|
-
]
|
|
1290
|
+
}
|
|
1405
1291
|
}
|
|
1406
1292
|
}
|
|
1407
1293
|
},
|
|
@@ -1414,12 +1300,6 @@
|
|
|
1414
1300
|
"id": 1
|
|
1415
1301
|
}
|
|
1416
1302
|
},
|
|
1417
|
-
"extensions": [
|
|
1418
|
-
[
|
|
1419
|
-
536000000,
|
|
1420
|
-
536000000
|
|
1421
|
-
]
|
|
1422
|
-
],
|
|
1423
1303
|
"nested": {
|
|
1424
1304
|
"Location": {
|
|
1425
1305
|
"fields": {
|
|
@@ -1505,14 +1385,6 @@
|
|
|
1505
1385
|
}
|
|
1506
1386
|
}
|
|
1507
1387
|
},
|
|
1508
|
-
"SymbolVisibility": {
|
|
1509
|
-
"edition": "proto2",
|
|
1510
|
-
"values": {
|
|
1511
|
-
"VISIBILITY_UNSET": 0,
|
|
1512
|
-
"VISIBILITY_LOCAL": 1,
|
|
1513
|
-
"VISIBILITY_EXPORT": 2
|
|
1514
|
-
}
|
|
1515
|
-
},
|
|
1516
1388
|
"Duration": {
|
|
1517
1389
|
"fields": {
|
|
1518
1390
|
"seconds": {
|
|
@@ -4405,7 +4277,7 @@
|
|
|
4405
4277
|
"type": "QuotedMessageMetadata",
|
|
4406
4278
|
"id": 39,
|
|
4407
4279
|
"options": {
|
|
4408
|
-
"(google.api.field_behavior)": "
|
|
4280
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
4409
4281
|
}
|
|
4410
4282
|
},
|
|
4411
4283
|
"attachedGifs": {
|
|
@@ -4447,7 +4319,7 @@
|
|
|
4447
4319
|
"type": "string",
|
|
4448
4320
|
"id": 1,
|
|
4449
4321
|
"options": {
|
|
4450
|
-
"(google.api.field_behavior)": "
|
|
4322
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
4451
4323
|
"(google.api.resource_reference).type": "chat.googleapis.com/Message"
|
|
4452
4324
|
}
|
|
4453
4325
|
},
|
|
@@ -4455,7 +4327,7 @@
|
|
|
4455
4327
|
"type": "google.protobuf.Timestamp",
|
|
4456
4328
|
"id": 2,
|
|
4457
4329
|
"options": {
|
|
4458
|
-
"(google.api.field_behavior)": "
|
|
4330
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
4459
4331
|
}
|
|
4460
4332
|
}
|
|
4461
4333
|
}
|
|
@@ -6332,7 +6204,8 @@
|
|
|
6332
6204
|
"java_multiple_files": true,
|
|
6333
6205
|
"java_outer_classname": "LaunchStageProto",
|
|
6334
6206
|
"java_package": "com.google.api",
|
|
6335
|
-
"objc_class_prefix": "GAPI"
|
|
6207
|
+
"objc_class_prefix": "GAPI",
|
|
6208
|
+
"cc_enable_arenas": true
|
|
6336
6209
|
},
|
|
6337
6210
|
"nested": {
|
|
6338
6211
|
"fieldBehavior": {
|
|
@@ -6444,11 +6317,6 @@
|
|
|
6444
6317
|
"format": {
|
|
6445
6318
|
"type": "Format",
|
|
6446
6319
|
"id": 1
|
|
6447
|
-
},
|
|
6448
|
-
"referencedTypes": {
|
|
6449
|
-
"rule": "repeated",
|
|
6450
|
-
"type": "TypeReference",
|
|
6451
|
-
"id": 2
|
|
6452
6320
|
}
|
|
6453
6321
|
},
|
|
6454
6322
|
"nested": {
|
|
@@ -6463,14 +6331,6 @@
|
|
|
6463
6331
|
}
|
|
6464
6332
|
}
|
|
6465
6333
|
},
|
|
6466
|
-
"TypeReference": {
|
|
6467
|
-
"fields": {
|
|
6468
|
-
"typeName": {
|
|
6469
|
-
"type": "string",
|
|
6470
|
-
"id": 1
|
|
6471
|
-
}
|
|
6472
|
-
}
|
|
6473
|
-
},
|
|
6474
6334
|
"http": {
|
|
6475
6335
|
"type": "HttpRule",
|
|
6476
6336
|
"id": 72295728,
|
|
@@ -6592,10 +6452,6 @@
|
|
|
6592
6452
|
"rule": "repeated",
|
|
6593
6453
|
"type": "ClientLibraryDestination",
|
|
6594
6454
|
"id": 2
|
|
6595
|
-
},
|
|
6596
|
-
"selectiveGapicGeneration": {
|
|
6597
|
-
"type": "SelectiveGapicGeneration",
|
|
6598
|
-
"id": 3
|
|
6599
6455
|
}
|
|
6600
6456
|
}
|
|
6601
6457
|
},
|
|
@@ -6736,28 +6592,6 @@
|
|
|
6736
6592
|
"common": {
|
|
6737
6593
|
"type": "CommonLanguageSettings",
|
|
6738
6594
|
"id": 1
|
|
6739
|
-
},
|
|
6740
|
-
"experimentalFeatures": {
|
|
6741
|
-
"type": "ExperimentalFeatures",
|
|
6742
|
-
"id": 2
|
|
6743
|
-
}
|
|
6744
|
-
},
|
|
6745
|
-
"nested": {
|
|
6746
|
-
"ExperimentalFeatures": {
|
|
6747
|
-
"fields": {
|
|
6748
|
-
"restAsyncIoEnabled": {
|
|
6749
|
-
"type": "bool",
|
|
6750
|
-
"id": 1
|
|
6751
|
-
},
|
|
6752
|
-
"protobufPythonicTypesEnabled": {
|
|
6753
|
-
"type": "bool",
|
|
6754
|
-
"id": 2
|
|
6755
|
-
},
|
|
6756
|
-
"unversionedPackageDisabled": {
|
|
6757
|
-
"type": "bool",
|
|
6758
|
-
"id": 3
|
|
6759
|
-
}
|
|
6760
|
-
}
|
|
6761
6595
|
}
|
|
6762
6596
|
}
|
|
6763
6597
|
},
|
|
@@ -6815,11 +6649,6 @@
|
|
|
6815
6649
|
"common": {
|
|
6816
6650
|
"type": "CommonLanguageSettings",
|
|
6817
6651
|
"id": 1
|
|
6818
|
-
},
|
|
6819
|
-
"renamedServices": {
|
|
6820
|
-
"keyType": "string",
|
|
6821
|
-
"type": "string",
|
|
6822
|
-
"id": 2
|
|
6823
6652
|
}
|
|
6824
6653
|
}
|
|
6825
6654
|
},
|
|
@@ -6881,19 +6710,6 @@
|
|
|
6881
6710
|
"PACKAGE_MANAGER": 20
|
|
6882
6711
|
}
|
|
6883
6712
|
},
|
|
6884
|
-
"SelectiveGapicGeneration": {
|
|
6885
|
-
"fields": {
|
|
6886
|
-
"methods": {
|
|
6887
|
-
"rule": "repeated",
|
|
6888
|
-
"type": "string",
|
|
6889
|
-
"id": 1
|
|
6890
|
-
},
|
|
6891
|
-
"generateOmittedAsInternal": {
|
|
6892
|
-
"type": "bool",
|
|
6893
|
-
"id": 2
|
|
6894
|
-
}
|
|
6895
|
-
}
|
|
6896
|
-
},
|
|
6897
6713
|
"LaunchStage": {
|
|
6898
6714
|
"values": {
|
|
6899
6715
|
"LAUNCH_STAGE_UNSPECIFIED": 0,
|
|
@@ -388,6 +388,8 @@ export declare class ChatServiceClient {
|
|
|
388
388
|
*
|
|
389
389
|
* - `accessory_widgets` (Requires [app
|
|
390
390
|
* authentication](/chat/api/guides/auth/service-accounts).)
|
|
391
|
+
*
|
|
392
|
+
* - `quoted_message_metadata` (Only allows removal of the quoted message.)
|
|
391
393
|
* @param {boolean} [request.allowMissing]
|
|
392
394
|
* Optional. If `true` and the message isn't found, a new message is created
|
|
393
395
|
* and `updateMask` is ignored. The specified message ID must be
|