@google-apps/chat 0.23.1 → 0.25.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.
Files changed (33) hide show
  1. package/README.md +3 -3
  2. package/build/protos/google/chat/v1/action_status.proto +1 -1
  3. package/build/protos/google/chat/v1/annotation.proto +1 -1
  4. package/build/protos/google/chat/v1/attachment.proto +1 -1
  5. package/build/protos/google/chat/v1/chat_service.proto +26 -0
  6. package/build/protos/google/chat/v1/contextual_addon.proto +1 -1
  7. package/build/protos/google/chat/v1/deletion_metadata.proto +1 -1
  8. package/build/protos/google/chat/v1/event_payload.proto +1 -1
  9. package/build/protos/google/chat/v1/group.proto +1 -1
  10. package/build/protos/google/chat/v1/history_state.proto +1 -1
  11. package/build/protos/google/chat/v1/matched_url.proto +1 -1
  12. package/build/protos/google/chat/v1/membership.proto +1 -1
  13. package/build/protos/google/chat/v1/message.proto +49 -7
  14. package/build/protos/google/chat/v1/reaction.proto +1 -1
  15. package/build/protos/google/chat/v1/slash_command.proto +1 -1
  16. package/build/protos/google/chat/v1/space.proto +81 -1
  17. package/build/protos/google/chat/v1/space_event.proto +1 -1
  18. package/build/protos/google/chat/v1/space_notification_setting.proto +1 -1
  19. package/build/protos/google/chat/v1/space_read_state.proto +1 -1
  20. package/build/protos/google/chat/v1/space_setup.proto +1 -1
  21. package/build/protos/google/chat/v1/thread_read_state.proto +1 -1
  22. package/build/protos/google/chat/v1/user.proto +1 -1
  23. package/build/protos/google/chat/v1/widgets.proto +1 -1
  24. package/build/protos/protos.d.ts +1004 -21
  25. package/build/protos/protos.js +8162 -2241
  26. package/build/protos/protos.json +311 -24
  27. package/build/src/v1/chat_service_client.d.ts +1103 -898
  28. package/build/src/v1/chat_service_client.js +830 -297
  29. package/build/src/v1/chat_service_client.js.map +1 -1
  30. package/build/src/v1/chat_service_client_config.json +5 -0
  31. package/build/src/v1/gapic_metadata.json +14 -0
  32. package/build/src/v1/index.js.map +1 -1
  33. package/package.json +1 -4
@@ -93,12 +93,19 @@
93
93
  "type": "FileDescriptorProto",
94
94
  "id": 1
95
95
  }
96
- }
96
+ },
97
+ "extensions": [
98
+ [
99
+ 536000000,
100
+ 536000000
101
+ ]
102
+ ]
97
103
  },
98
104
  "Edition": {
99
105
  "edition": "proto2",
100
106
  "values": {
101
107
  "EDITION_UNKNOWN": 0,
108
+ "EDITION_LEGACY": 900,
102
109
  "EDITION_PROTO2": 998,
103
110
  "EDITION_PROTO3": 999,
104
111
  "EDITION_2023": 1000,
@@ -137,6 +144,11 @@
137
144
  "type": "int32",
138
145
  "id": 11
139
146
  },
147
+ "optionDependency": {
148
+ "rule": "repeated",
149
+ "type": "string",
150
+ "id": 15
151
+ },
140
152
  "messageType": {
141
153
  "rule": "repeated",
142
154
  "type": "DescriptorProto",
@@ -225,6 +237,10 @@
225
237
  "rule": "repeated",
226
238
  "type": "string",
227
239
  "id": 10
240
+ },
241
+ "visibility": {
242
+ "type": "SymbolVisibility",
243
+ "id": 11
228
244
  }
229
245
  },
230
246
  "nested": {
@@ -450,6 +466,10 @@
450
466
  "rule": "repeated",
451
467
  "type": "string",
452
468
  "id": 5
469
+ },
470
+ "visibility": {
471
+ "type": "SymbolVisibility",
472
+ "id": 6
453
473
  }
454
474
  },
455
475
  "nested": {
@@ -500,7 +520,14 @@
500
520
  "type": "ServiceOptions",
501
521
  "id": 3
502
522
  }
503
- }
523
+ },
524
+ "reserved": [
525
+ [
526
+ 4,
527
+ 4
528
+ ],
529
+ "stream"
530
+ ]
504
531
  },
505
532
  "MethodDescriptorProto": {
506
533
  "edition": "proto2",
@@ -664,6 +691,7 @@
664
691
  42,
665
692
  42
666
693
  ],
694
+ "php_generic_services",
667
695
  [
668
696
  38,
669
697
  38
@@ -799,7 +827,8 @@
799
827
  "type": "bool",
800
828
  "id": 10,
801
829
  "options": {
802
- "default": false
830
+ "default": false,
831
+ "deprecated": true
803
832
  }
804
833
  },
805
834
  "debugRedact": {
@@ -827,6 +856,10 @@
827
856
  "type": "FeatureSet",
828
857
  "id": 21
829
858
  },
859
+ "featureSupport": {
860
+ "type": "FeatureSupport",
861
+ "id": 22
862
+ },
830
863
  "uninterpretedOption": {
831
864
  "rule": "repeated",
832
865
  "type": "UninterpretedOption",
@@ -896,6 +929,26 @@
896
929
  "id": 2
897
930
  }
898
931
  }
932
+ },
933
+ "FeatureSupport": {
934
+ "fields": {
935
+ "editionIntroduced": {
936
+ "type": "Edition",
937
+ "id": 1
938
+ },
939
+ "editionDeprecated": {
940
+ "type": "Edition",
941
+ "id": 2
942
+ },
943
+ "deprecationWarning": {
944
+ "type": "string",
945
+ "id": 3
946
+ },
947
+ "editionRemoved": {
948
+ "type": "Edition",
949
+ "id": 4
950
+ }
951
+ }
899
952
  }
900
953
  }
901
954
  },
@@ -984,6 +1037,10 @@
984
1037
  "default": false
985
1038
  }
986
1039
  },
1040
+ "featureSupport": {
1041
+ "type": "FieldOptions.FeatureSupport",
1042
+ "id": 4
1043
+ },
987
1044
  "uninterpretedOption": {
988
1045
  "rule": "repeated",
989
1046
  "type": "UninterpretedOption",
@@ -1126,6 +1183,7 @@
1126
1183
  "options": {
1127
1184
  "retention": "RETENTION_RUNTIME",
1128
1185
  "targets": "TARGET_TYPE_FILE",
1186
+ "feature_support.edition_introduced": "EDITION_2023",
1129
1187
  "edition_defaults.edition": "EDITION_2023",
1130
1188
  "edition_defaults.value": "EXPLICIT"
1131
1189
  }
@@ -1136,6 +1194,7 @@
1136
1194
  "options": {
1137
1195
  "retention": "RETENTION_RUNTIME",
1138
1196
  "targets": "TARGET_TYPE_FILE",
1197
+ "feature_support.edition_introduced": "EDITION_2023",
1139
1198
  "edition_defaults.edition": "EDITION_PROTO3",
1140
1199
  "edition_defaults.value": "OPEN"
1141
1200
  }
@@ -1146,6 +1205,7 @@
1146
1205
  "options": {
1147
1206
  "retention": "RETENTION_RUNTIME",
1148
1207
  "targets": "TARGET_TYPE_FILE",
1208
+ "feature_support.edition_introduced": "EDITION_2023",
1149
1209
  "edition_defaults.edition": "EDITION_PROTO3",
1150
1210
  "edition_defaults.value": "PACKED"
1151
1211
  }
@@ -1156,6 +1216,7 @@
1156
1216
  "options": {
1157
1217
  "retention": "RETENTION_RUNTIME",
1158
1218
  "targets": "TARGET_TYPE_FILE",
1219
+ "feature_support.edition_introduced": "EDITION_2023",
1159
1220
  "edition_defaults.edition": "EDITION_PROTO3",
1160
1221
  "edition_defaults.value": "VERIFY"
1161
1222
  }
@@ -1166,7 +1227,8 @@
1166
1227
  "options": {
1167
1228
  "retention": "RETENTION_RUNTIME",
1168
1229
  "targets": "TARGET_TYPE_FILE",
1169
- "edition_defaults.edition": "EDITION_PROTO2",
1230
+ "feature_support.edition_introduced": "EDITION_2023",
1231
+ "edition_defaults.edition": "EDITION_LEGACY",
1170
1232
  "edition_defaults.value": "LENGTH_PREFIXED"
1171
1233
  }
1172
1234
  },
@@ -1176,27 +1238,38 @@
1176
1238
  "options": {
1177
1239
  "retention": "RETENTION_RUNTIME",
1178
1240
  "targets": "TARGET_TYPE_FILE",
1241
+ "feature_support.edition_introduced": "EDITION_2023",
1179
1242
  "edition_defaults.edition": "EDITION_PROTO3",
1180
1243
  "edition_defaults.value": "ALLOW"
1181
1244
  }
1245
+ },
1246
+ "enforceNamingStyle": {
1247
+ "type": "EnforceNamingStyle",
1248
+ "id": 7,
1249
+ "options": {
1250
+ "retention": "RETENTION_SOURCE",
1251
+ "targets": "TARGET_TYPE_METHOD",
1252
+ "feature_support.edition_introduced": "EDITION_2024",
1253
+ "edition_defaults.edition": "EDITION_2024",
1254
+ "edition_defaults.value": "STYLE2024"
1255
+ }
1256
+ },
1257
+ "defaultSymbolVisibility": {
1258
+ "type": "VisibilityFeature.DefaultSymbolVisibility",
1259
+ "id": 8,
1260
+ "options": {
1261
+ "retention": "RETENTION_SOURCE",
1262
+ "targets": "TARGET_TYPE_FILE",
1263
+ "feature_support.edition_introduced": "EDITION_2024",
1264
+ "edition_defaults.edition": "EDITION_2024",
1265
+ "edition_defaults.value": "EXPORT_TOP_LEVEL"
1266
+ }
1182
1267
  }
1183
1268
  },
1184
1269
  "extensions": [
1185
1270
  [
1186
1271
  1000,
1187
- 1000
1188
- ],
1189
- [
1190
- 1001,
1191
- 1001
1192
- ],
1193
- [
1194
- 1002,
1195
- 1002
1196
- ],
1197
- [
1198
- 9990,
1199
- 9990
1272
+ 9994
1200
1273
  ],
1201
1274
  [
1202
1275
  9995,
@@ -1241,7 +1314,13 @@
1241
1314
  "UTF8_VALIDATION_UNKNOWN": 0,
1242
1315
  "VERIFY": 2,
1243
1316
  "NONE": 3
1244
- }
1317
+ },
1318
+ "reserved": [
1319
+ [
1320
+ 1,
1321
+ 1
1322
+ ]
1323
+ ]
1245
1324
  },
1246
1325
  "MessageEncoding": {
1247
1326
  "values": {
@@ -1256,6 +1335,33 @@
1256
1335
  "ALLOW": 1,
1257
1336
  "LEGACY_BEST_EFFORT": 2
1258
1337
  }
1338
+ },
1339
+ "EnforceNamingStyle": {
1340
+ "values": {
1341
+ "ENFORCE_NAMING_STYLE_UNKNOWN": 0,
1342
+ "STYLE2024": 1,
1343
+ "STYLE_LEGACY": 2
1344
+ }
1345
+ },
1346
+ "VisibilityFeature": {
1347
+ "fields": {},
1348
+ "reserved": [
1349
+ [
1350
+ 1,
1351
+ 536870911
1352
+ ]
1353
+ ],
1354
+ "nested": {
1355
+ "DefaultSymbolVisibility": {
1356
+ "values": {
1357
+ "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0,
1358
+ "EXPORT_ALL": 1,
1359
+ "EXPORT_TOP_LEVEL": 2,
1360
+ "LOCAL_ALL": 3,
1361
+ "STRICT": 4
1362
+ }
1363
+ }
1364
+ }
1259
1365
  }
1260
1366
  }
1261
1367
  },
@@ -1283,11 +1389,26 @@
1283
1389
  "type": "Edition",
1284
1390
  "id": 3
1285
1391
  },
1286
- "features": {
1392
+ "overridableFeatures": {
1287
1393
  "type": "FeatureSet",
1288
- "id": 2
1394
+ "id": 4
1395
+ },
1396
+ "fixedFeatures": {
1397
+ "type": "FeatureSet",
1398
+ "id": 5
1289
1399
  }
1290
- }
1400
+ },
1401
+ "reserved": [
1402
+ [
1403
+ 1,
1404
+ 1
1405
+ ],
1406
+ [
1407
+ 2,
1408
+ 2
1409
+ ],
1410
+ "features"
1411
+ ]
1291
1412
  }
1292
1413
  }
1293
1414
  },
@@ -1300,6 +1421,12 @@
1300
1421
  "id": 1
1301
1422
  }
1302
1423
  },
1424
+ "extensions": [
1425
+ [
1426
+ 536000000,
1427
+ 536000000
1428
+ ]
1429
+ ],
1303
1430
  "nested": {
1304
1431
  "Location": {
1305
1432
  "fields": {
@@ -1385,6 +1512,14 @@
1385
1512
  }
1386
1513
  }
1387
1514
  },
1515
+ "SymbolVisibility": {
1516
+ "edition": "proto2",
1517
+ "values": {
1518
+ "VISIBILITY_UNSET": 0,
1519
+ "VISIBILITY_LOCAL": 1,
1520
+ "VISIBILITY_EXPORT": 2
1521
+ }
1522
+ },
1388
1523
  "Duration": {
1389
1524
  "fields": {
1390
1525
  "seconds": {
@@ -3830,6 +3965,20 @@
3830
3965
  }
3831
3966
  ]
3832
3967
  },
3968
+ "FindGroupChats": {
3969
+ "requestType": "FindGroupChatsRequest",
3970
+ "responseType": "FindGroupChatsResponse",
3971
+ "options": {
3972
+ "(google.api.http).get": "/v1/spaces:findGroupChats"
3973
+ },
3974
+ "parsedOptions": [
3975
+ {
3976
+ "(google.api.http)": {
3977
+ "get": "/v1/spaces:findGroupChats"
3978
+ }
3979
+ }
3980
+ ]
3981
+ },
3833
3982
  "CreateMembership": {
3834
3983
  "requestType": "CreateMembershipRequest",
3835
3984
  "responseType": "Membership",
@@ -4670,6 +4819,13 @@
4670
4819
  "(google.api.field_behavior)": "OUTPUT_ONLY"
4671
4820
  }
4672
4821
  },
4822
+ "silent": {
4823
+ "type": "bool",
4824
+ "id": 46,
4825
+ "options": {
4826
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4827
+ }
4828
+ },
4673
4829
  "clientAssignedMessageId": {
4674
4830
  "type": "string",
4675
4831
  "id": 32,
@@ -4782,7 +4938,8 @@
4782
4938
  "QuoteType": {
4783
4939
  "values": {
4784
4940
  "QUOTE_TYPE_UNSPECIFIED": 0,
4785
- "REPLY": 1
4941
+ "REPLY": 1,
4942
+ "FORWARD": 2
4786
4943
  }
4787
4944
  }
4788
4945
  }
@@ -5058,6 +5215,13 @@
5058
5215
  "options": {
5059
5216
  "(google.api.field_behavior)": "OPTIONAL"
5060
5217
  }
5218
+ },
5219
+ "createMessageNotificationOptions": {
5220
+ "type": "CreateMessageNotificationOptions",
5221
+ "id": 10,
5222
+ "options": {
5223
+ "(google.api.field_behavior)": "OPTIONAL"
5224
+ }
5061
5225
  }
5062
5226
  },
5063
5227
  "nested": {
@@ -5070,6 +5234,23 @@
5070
5234
  }
5071
5235
  }
5072
5236
  },
5237
+ "CreateMessageNotificationOptions": {
5238
+ "fields": {
5239
+ "notificationType": {
5240
+ "type": "NotificationType",
5241
+ "id": 1
5242
+ }
5243
+ },
5244
+ "nested": {
5245
+ "NotificationType": {
5246
+ "values": {
5247
+ "NOTIFICATION_TYPE_NONE": 0,
5248
+ "NOTIFICATION_TYPE_FORCE_NOTIFY": 2,
5249
+ "NOTIFICATION_TYPE_SILENT": 3
5250
+ }
5251
+ }
5252
+ }
5253
+ },
5073
5254
  "ListMessagesRequest": {
5074
5255
  "fields": {
5075
5256
  "parent": {
@@ -6052,6 +6233,49 @@
6052
6233
  }
6053
6234
  }
6054
6235
  },
6236
+ "FindGroupChatsRequest": {
6237
+ "fields": {
6238
+ "users": {
6239
+ "rule": "repeated",
6240
+ "type": "string",
6241
+ "id": 5,
6242
+ "options": {
6243
+ "(google.api.field_behavior)": "OPTIONAL"
6244
+ }
6245
+ },
6246
+ "pageSize": {
6247
+ "type": "int32",
6248
+ "id": 2,
6249
+ "options": {
6250
+ "(google.api.field_behavior)": "OPTIONAL"
6251
+ }
6252
+ },
6253
+ "pageToken": {
6254
+ "type": "string",
6255
+ "id": 3,
6256
+ "options": {
6257
+ "(google.api.field_behavior)": "OPTIONAL"
6258
+ }
6259
+ },
6260
+ "spaceView": {
6261
+ "type": "SpaceView",
6262
+ "id": 4
6263
+ }
6264
+ }
6265
+ },
6266
+ "FindGroupChatsResponse": {
6267
+ "fields": {
6268
+ "spaces": {
6269
+ "rule": "repeated",
6270
+ "type": "Space",
6271
+ "id": 1
6272
+ },
6273
+ "nextPageToken": {
6274
+ "type": "string",
6275
+ "id": 2
6276
+ }
6277
+ }
6278
+ },
6055
6279
  "UpdateSpaceRequest": {
6056
6280
  "fields": {
6057
6281
  "space": {
@@ -6163,6 +6387,13 @@
6163
6387
  }
6164
6388
  }
6165
6389
  },
6390
+ "SpaceView": {
6391
+ "values": {
6392
+ "SPACE_VIEW_UNSPECIFIED": 0,
6393
+ "SPACE_VIEW_RESOURCE_NAME_ONLY": 3,
6394
+ "SPACE_VIEW_EXPANDED": 4
6395
+ }
6396
+ },
6166
6397
  "HistoryState": {
6167
6398
  "values": {
6168
6399
  "HISTORY_STATE_UNSPECIFIED": 0,
@@ -7025,8 +7256,7 @@
7025
7256
  "java_multiple_files": true,
7026
7257
  "java_outer_classname": "LaunchStageProto",
7027
7258
  "java_package": "com.google.api",
7028
- "objc_class_prefix": "GAPI",
7029
- "cc_enable_arenas": true
7259
+ "objc_class_prefix": "GAPI"
7030
7260
  },
7031
7261
  "nested": {
7032
7262
  "fieldBehavior": {
@@ -7138,6 +7368,11 @@
7138
7368
  "format": {
7139
7369
  "type": "Format",
7140
7370
  "id": 1
7371
+ },
7372
+ "referencedTypes": {
7373
+ "rule": "repeated",
7374
+ "type": "TypeReference",
7375
+ "id": 2
7141
7376
  }
7142
7377
  },
7143
7378
  "nested": {
@@ -7152,6 +7387,14 @@
7152
7387
  }
7153
7388
  }
7154
7389
  },
7390
+ "TypeReference": {
7391
+ "fields": {
7392
+ "typeName": {
7393
+ "type": "string",
7394
+ "id": 1
7395
+ }
7396
+ }
7397
+ },
7155
7398
  "http": {
7156
7399
  "type": "HttpRule",
7157
7400
  "id": 72295728,
@@ -7273,6 +7516,10 @@
7273
7516
  "rule": "repeated",
7274
7517
  "type": "ClientLibraryDestination",
7275
7518
  "id": 2
7519
+ },
7520
+ "selectiveGapicGeneration": {
7521
+ "type": "SelectiveGapicGeneration",
7522
+ "id": 3
7276
7523
  }
7277
7524
  }
7278
7525
  },
@@ -7413,6 +7660,28 @@
7413
7660
  "common": {
7414
7661
  "type": "CommonLanguageSettings",
7415
7662
  "id": 1
7663
+ },
7664
+ "experimentalFeatures": {
7665
+ "type": "ExperimentalFeatures",
7666
+ "id": 2
7667
+ }
7668
+ },
7669
+ "nested": {
7670
+ "ExperimentalFeatures": {
7671
+ "fields": {
7672
+ "restAsyncIoEnabled": {
7673
+ "type": "bool",
7674
+ "id": 1
7675
+ },
7676
+ "protobufPythonicTypesEnabled": {
7677
+ "type": "bool",
7678
+ "id": 2
7679
+ },
7680
+ "unversionedPackageDisabled": {
7681
+ "type": "bool",
7682
+ "id": 3
7683
+ }
7684
+ }
7416
7685
  }
7417
7686
  }
7418
7687
  },
@@ -7470,6 +7739,11 @@
7470
7739
  "common": {
7471
7740
  "type": "CommonLanguageSettings",
7472
7741
  "id": 1
7742
+ },
7743
+ "renamedServices": {
7744
+ "keyType": "string",
7745
+ "type": "string",
7746
+ "id": 2
7473
7747
  }
7474
7748
  }
7475
7749
  },
@@ -7531,6 +7805,19 @@
7531
7805
  "PACKAGE_MANAGER": 20
7532
7806
  }
7533
7807
  },
7808
+ "SelectiveGapicGeneration": {
7809
+ "fields": {
7810
+ "methods": {
7811
+ "rule": "repeated",
7812
+ "type": "string",
7813
+ "id": 1
7814
+ },
7815
+ "generateOmittedAsInternal": {
7816
+ "type": "bool",
7817
+ "id": 2
7818
+ }
7819
+ }
7820
+ },
7534
7821
  "LaunchStage": {
7535
7822
  "values": {
7536
7823
  "LAUNCH_STAGE_UNSPECIFIED": 0,