@google-apps/chat 0.2.0 → 0.3.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 +1 -0
- package/build/protos/google/apps/card/v1/card.proto +242 -160
- package/build/protos/google/chat/v1/action_status.proto +1 -1
- package/build/protos/google/chat/v1/annotation.proto +2 -2
- package/build/protos/google/chat/v1/attachment.proto +9 -0
- package/build/protos/google/chat/v1/chat_service.proto +92 -80
- package/build/protos/google/chat/v1/contextual_addon.proto +1 -1
- package/build/protos/google/chat/v1/membership.proto +33 -11
- package/build/protos/google/chat/v1/message.proto +71 -113
- package/build/protos/google/chat/v1/reaction.proto +4 -2
- package/build/protos/google/chat/v1/slash_command.proto +3 -2
- package/build/protos/google/chat/v1/space.proto +28 -17
- package/build/protos/google/chat/v1/space_setup.proto +1 -0
- package/build/protos/google/chat/v1/user.proto +3 -2
- package/build/protos/google/chat/v1/widgets.proto +4 -4
- package/build/protos/protos.d.ts +320 -75
- package/build/protos/protos.js +826 -248
- package/build/protos/protos.json +73 -10
- package/build/src/v1/chat_service_client.d.ts +173 -134
- package/build/src/v1/chat_service_client.js +48 -24
- 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
|
@@ -1361,6 +1361,15 @@
|
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
1363
1363
|
},
|
|
1364
|
+
"FieldMask": {
|
|
1365
|
+
"fields": {
|
|
1366
|
+
"paths": {
|
|
1367
|
+
"rule": "repeated",
|
|
1368
|
+
"type": "string",
|
|
1369
|
+
"id": 1
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1364
1373
|
"Timestamp": {
|
|
1365
1374
|
"fields": {
|
|
1366
1375
|
"seconds": {
|
|
@@ -1373,15 +1382,6 @@
|
|
|
1373
1382
|
}
|
|
1374
1383
|
}
|
|
1375
1384
|
},
|
|
1376
|
-
"FieldMask": {
|
|
1377
|
-
"fields": {
|
|
1378
|
-
"paths": {
|
|
1379
|
-
"rule": "repeated",
|
|
1380
|
-
"type": "string",
|
|
1381
|
-
"id": 1
|
|
1382
|
-
}
|
|
1383
|
-
}
|
|
1384
|
-
},
|
|
1385
1385
|
"Empty": {
|
|
1386
1386
|
"fields": {}
|
|
1387
1387
|
}
|
|
@@ -1983,7 +1983,8 @@
|
|
|
1983
1983
|
"icons": {
|
|
1984
1984
|
"oneof": [
|
|
1985
1985
|
"knownIcon",
|
|
1986
|
-
"iconUrl"
|
|
1986
|
+
"iconUrl",
|
|
1987
|
+
"materialIcon"
|
|
1987
1988
|
]
|
|
1988
1989
|
}
|
|
1989
1990
|
},
|
|
@@ -1996,6 +1997,10 @@
|
|
|
1996
1997
|
"type": "string",
|
|
1997
1998
|
"id": 2
|
|
1998
1999
|
},
|
|
2000
|
+
"materialIcon": {
|
|
2001
|
+
"type": "MaterialIcon",
|
|
2002
|
+
"id": 5
|
|
2003
|
+
},
|
|
1999
2004
|
"altText": {
|
|
2000
2005
|
"type": "string",
|
|
2001
2006
|
"id": 3
|
|
@@ -2006,6 +2011,26 @@
|
|
|
2006
2011
|
}
|
|
2007
2012
|
}
|
|
2008
2013
|
},
|
|
2014
|
+
"MaterialIcon": {
|
|
2015
|
+
"fields": {
|
|
2016
|
+
"name": {
|
|
2017
|
+
"type": "string",
|
|
2018
|
+
"id": 1
|
|
2019
|
+
},
|
|
2020
|
+
"fill": {
|
|
2021
|
+
"type": "bool",
|
|
2022
|
+
"id": 2
|
|
2023
|
+
},
|
|
2024
|
+
"weight": {
|
|
2025
|
+
"type": "int32",
|
|
2026
|
+
"id": 3
|
|
2027
|
+
},
|
|
2028
|
+
"grade": {
|
|
2029
|
+
"type": "int32",
|
|
2030
|
+
"id": 4
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
},
|
|
2009
2034
|
"ImageCropStyle": {
|
|
2010
2035
|
"fields": {
|
|
2011
2036
|
"type": {
|
|
@@ -3061,6 +3086,26 @@
|
|
|
3061
3086
|
}
|
|
3062
3087
|
]
|
|
3063
3088
|
},
|
|
3089
|
+
"UpdateMembership": {
|
|
3090
|
+
"requestType": "UpdateMembershipRequest",
|
|
3091
|
+
"responseType": "Membership",
|
|
3092
|
+
"options": {
|
|
3093
|
+
"(google.api.http).patch": "/v1/{membership.name=spaces/*/members/*}",
|
|
3094
|
+
"(google.api.http).body": "membership",
|
|
3095
|
+
"(google.api.method_signature)": "membership,update_mask"
|
|
3096
|
+
},
|
|
3097
|
+
"parsedOptions": [
|
|
3098
|
+
{
|
|
3099
|
+
"(google.api.http)": {
|
|
3100
|
+
"patch": "/v1/{membership.name=spaces/*/members/*}",
|
|
3101
|
+
"body": "membership"
|
|
3102
|
+
}
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
"(google.api.method_signature)": "membership,update_mask"
|
|
3106
|
+
}
|
|
3107
|
+
]
|
|
3108
|
+
},
|
|
3064
3109
|
"DeleteMembership": {
|
|
3065
3110
|
"requestType": "DeleteMembershipRequest",
|
|
3066
3111
|
"responseType": "Membership",
|
|
@@ -3232,6 +3277,24 @@
|
|
|
3232
3277
|
}
|
|
3233
3278
|
}
|
|
3234
3279
|
},
|
|
3280
|
+
"UpdateMembershipRequest": {
|
|
3281
|
+
"fields": {
|
|
3282
|
+
"membership": {
|
|
3283
|
+
"type": "Membership",
|
|
3284
|
+
"id": 1,
|
|
3285
|
+
"options": {
|
|
3286
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
3287
|
+
}
|
|
3288
|
+
},
|
|
3289
|
+
"updateMask": {
|
|
3290
|
+
"type": "google.protobuf.FieldMask",
|
|
3291
|
+
"id": 2,
|
|
3292
|
+
"options": {
|
|
3293
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
3294
|
+
}
|
|
3295
|
+
}
|
|
3296
|
+
}
|
|
3297
|
+
},
|
|
3235
3298
|
"ListMembershipsRequest": {
|
|
3236
3299
|
"fields": {
|
|
3237
3300
|
"parent": {
|