@google-apps/chat 0.11.0 → 0.12.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.
@@ -2442,7 +2442,8 @@
2442
2442
  "oneof": [
2443
2443
  "userMention",
2444
2444
  "slashCommand",
2445
- "richLinkMetadata"
2445
+ "richLinkMetadata",
2446
+ "customEmojiMetadata"
2446
2447
  ]
2447
2448
  }
2448
2449
  },
@@ -2473,6 +2474,10 @@
2473
2474
  "richLinkMetadata": {
2474
2475
  "type": "RichLinkMetadata",
2475
2476
  "id": 6
2477
+ },
2478
+ "customEmojiMetadata": {
2479
+ "type": "CustomEmojiMetadata",
2480
+ "id": 7
2476
2481
  }
2477
2482
  }
2478
2483
  },
@@ -2567,6 +2572,14 @@
2567
2572
  }
2568
2573
  }
2569
2574
  },
2575
+ "CustomEmojiMetadata": {
2576
+ "fields": {
2577
+ "customEmoji": {
2578
+ "type": "CustomEmoji",
2579
+ "id": 1
2580
+ }
2581
+ }
2582
+ },
2570
2583
  "DriveLinkData": {
2571
2584
  "fields": {
2572
2585
  "driveDataRef": {
@@ -2609,7 +2622,8 @@
2609
2622
  "ANNOTATION_TYPE_UNSPECIFIED": 0,
2610
2623
  "USER_MENTION": 1,
2611
2624
  "SLASH_COMMAND": 2,
2612
- "RICH_LINK": 3
2625
+ "RICH_LINK": 3,
2626
+ "CUSTOM_EMOJI": 4
2613
2627
  }
2614
2628
  },
2615
2629
  "Attachment": {
@@ -2758,6 +2772,173 @@
2758
2772
  }
2759
2773
  }
2760
2774
  },
2775
+ "Reaction": {
2776
+ "options": {
2777
+ "(google.api.resource).type": "chat.googleapis.com/Reaction",
2778
+ "(google.api.resource).pattern": "spaces/{space}/messages/{message}/reactions/{reaction}"
2779
+ },
2780
+ "fields": {
2781
+ "name": {
2782
+ "type": "string",
2783
+ "id": 1,
2784
+ "options": {
2785
+ "(google.api.field_behavior)": "IDENTIFIER"
2786
+ }
2787
+ },
2788
+ "user": {
2789
+ "type": "User",
2790
+ "id": 2,
2791
+ "options": {
2792
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2793
+ }
2794
+ },
2795
+ "emoji": {
2796
+ "type": "Emoji",
2797
+ "id": 3,
2798
+ "options": {
2799
+ "(google.api.field_behavior)": "REQUIRED"
2800
+ }
2801
+ }
2802
+ }
2803
+ },
2804
+ "Emoji": {
2805
+ "oneofs": {
2806
+ "content": {
2807
+ "oneof": [
2808
+ "unicode",
2809
+ "customEmoji"
2810
+ ]
2811
+ }
2812
+ },
2813
+ "fields": {
2814
+ "unicode": {
2815
+ "type": "string",
2816
+ "id": 1,
2817
+ "options": {
2818
+ "(google.api.field_behavior)": "OPTIONAL"
2819
+ }
2820
+ },
2821
+ "customEmoji": {
2822
+ "type": "CustomEmoji",
2823
+ "id": 2
2824
+ }
2825
+ }
2826
+ },
2827
+ "CustomEmoji": {
2828
+ "fields": {
2829
+ "uid": {
2830
+ "type": "string",
2831
+ "id": 1,
2832
+ "options": {
2833
+ "(google.api.field_info).format": "UUID4",
2834
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2835
+ }
2836
+ }
2837
+ }
2838
+ },
2839
+ "EmojiReactionSummary": {
2840
+ "oneofs": {
2841
+ "_reactionCount": {
2842
+ "oneof": [
2843
+ "reactionCount"
2844
+ ]
2845
+ }
2846
+ },
2847
+ "fields": {
2848
+ "emoji": {
2849
+ "type": "Emoji",
2850
+ "id": 1,
2851
+ "options": {
2852
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2853
+ }
2854
+ },
2855
+ "reactionCount": {
2856
+ "type": "int32",
2857
+ "id": 2,
2858
+ "options": {
2859
+ "(google.api.field_behavior)": "OUTPUT_ONLY",
2860
+ "proto3_optional": true
2861
+ }
2862
+ }
2863
+ }
2864
+ },
2865
+ "CreateReactionRequest": {
2866
+ "fields": {
2867
+ "parent": {
2868
+ "type": "string",
2869
+ "id": 1,
2870
+ "options": {
2871
+ "(google.api.field_behavior)": "REQUIRED",
2872
+ "(google.api.resource_reference).child_type": "chat.googleapis.com/Reaction"
2873
+ }
2874
+ },
2875
+ "reaction": {
2876
+ "type": "Reaction",
2877
+ "id": 2,
2878
+ "options": {
2879
+ "(google.api.field_behavior)": "REQUIRED"
2880
+ }
2881
+ }
2882
+ }
2883
+ },
2884
+ "ListReactionsRequest": {
2885
+ "fields": {
2886
+ "parent": {
2887
+ "type": "string",
2888
+ "id": 1,
2889
+ "options": {
2890
+ "(google.api.field_behavior)": "REQUIRED",
2891
+ "(google.api.resource_reference).child_type": "chat.googleapis.com/Reaction"
2892
+ }
2893
+ },
2894
+ "pageSize": {
2895
+ "type": "int32",
2896
+ "id": 2,
2897
+ "options": {
2898
+ "(google.api.field_behavior)": "OPTIONAL"
2899
+ }
2900
+ },
2901
+ "pageToken": {
2902
+ "type": "string",
2903
+ "id": 3,
2904
+ "options": {
2905
+ "(google.api.field_behavior)": "OPTIONAL"
2906
+ }
2907
+ },
2908
+ "filter": {
2909
+ "type": "string",
2910
+ "id": 4,
2911
+ "options": {
2912
+ "(google.api.field_behavior)": "OPTIONAL"
2913
+ }
2914
+ }
2915
+ }
2916
+ },
2917
+ "ListReactionsResponse": {
2918
+ "fields": {
2919
+ "reactions": {
2920
+ "rule": "repeated",
2921
+ "type": "Reaction",
2922
+ "id": 1
2923
+ },
2924
+ "nextPageToken": {
2925
+ "type": "string",
2926
+ "id": 2
2927
+ }
2928
+ }
2929
+ },
2930
+ "DeleteReactionRequest": {
2931
+ "fields": {
2932
+ "name": {
2933
+ "type": "string",
2934
+ "id": 1,
2935
+ "options": {
2936
+ "(google.api.field_behavior)": "REQUIRED",
2937
+ "(google.api.resource_reference).type": "chat.googleapis.com/Reaction"
2938
+ }
2939
+ }
2940
+ }
2941
+ },
2761
2942
  "User": {
2762
2943
  "fields": {
2763
2944
  "name": {
@@ -4517,176 +4698,6 @@
4517
4698
  }
4518
4699
  }
4519
4700
  },
4520
- "Reaction": {
4521
- "options": {
4522
- "(google.api.resource).type": "chat.googleapis.com/Reaction",
4523
- "(google.api.resource).pattern": "spaces/{space}/messages/{message}/reactions/{reaction}"
4524
- },
4525
- "fields": {
4526
- "name": {
4527
- "type": "string",
4528
- "id": 1,
4529
- "options": {
4530
- "(google.api.field_behavior)": "IDENTIFIER"
4531
- }
4532
- },
4533
- "user": {
4534
- "type": "User",
4535
- "id": 2,
4536
- "options": {
4537
- "(google.api.field_behavior)": "OUTPUT_ONLY"
4538
- }
4539
- },
4540
- "emoji": {
4541
- "type": "Emoji",
4542
- "id": 3,
4543
- "options": {
4544
- "(google.api.field_behavior)": "REQUIRED"
4545
- }
4546
- }
4547
- }
4548
- },
4549
- "Emoji": {
4550
- "oneofs": {
4551
- "content": {
4552
- "oneof": [
4553
- "unicode",
4554
- "customEmoji"
4555
- ]
4556
- }
4557
- },
4558
- "fields": {
4559
- "unicode": {
4560
- "type": "string",
4561
- "id": 1,
4562
- "options": {
4563
- "(google.api.field_behavior)": "OPTIONAL"
4564
- }
4565
- },
4566
- "customEmoji": {
4567
- "type": "CustomEmoji",
4568
- "id": 2,
4569
- "options": {
4570
- "(google.api.field_behavior)": "OUTPUT_ONLY"
4571
- }
4572
- }
4573
- }
4574
- },
4575
- "CustomEmoji": {
4576
- "fields": {
4577
- "uid": {
4578
- "type": "string",
4579
- "id": 1,
4580
- "options": {
4581
- "(google.api.field_info).format": "UUID4",
4582
- "(google.api.field_behavior)": "OUTPUT_ONLY"
4583
- }
4584
- }
4585
- }
4586
- },
4587
- "EmojiReactionSummary": {
4588
- "oneofs": {
4589
- "_reactionCount": {
4590
- "oneof": [
4591
- "reactionCount"
4592
- ]
4593
- }
4594
- },
4595
- "fields": {
4596
- "emoji": {
4597
- "type": "Emoji",
4598
- "id": 1,
4599
- "options": {
4600
- "(google.api.field_behavior)": "OUTPUT_ONLY"
4601
- }
4602
- },
4603
- "reactionCount": {
4604
- "type": "int32",
4605
- "id": 2,
4606
- "options": {
4607
- "(google.api.field_behavior)": "OUTPUT_ONLY",
4608
- "proto3_optional": true
4609
- }
4610
- }
4611
- }
4612
- },
4613
- "CreateReactionRequest": {
4614
- "fields": {
4615
- "parent": {
4616
- "type": "string",
4617
- "id": 1,
4618
- "options": {
4619
- "(google.api.field_behavior)": "REQUIRED",
4620
- "(google.api.resource_reference).child_type": "chat.googleapis.com/Reaction"
4621
- }
4622
- },
4623
- "reaction": {
4624
- "type": "Reaction",
4625
- "id": 2,
4626
- "options": {
4627
- "(google.api.field_behavior)": "REQUIRED"
4628
- }
4629
- }
4630
- }
4631
- },
4632
- "ListReactionsRequest": {
4633
- "fields": {
4634
- "parent": {
4635
- "type": "string",
4636
- "id": 1,
4637
- "options": {
4638
- "(google.api.field_behavior)": "REQUIRED",
4639
- "(google.api.resource_reference).child_type": "chat.googleapis.com/Reaction"
4640
- }
4641
- },
4642
- "pageSize": {
4643
- "type": "int32",
4644
- "id": 2,
4645
- "options": {
4646
- "(google.api.field_behavior)": "OPTIONAL"
4647
- }
4648
- },
4649
- "pageToken": {
4650
- "type": "string",
4651
- "id": 3,
4652
- "options": {
4653
- "(google.api.field_behavior)": "OPTIONAL"
4654
- }
4655
- },
4656
- "filter": {
4657
- "type": "string",
4658
- "id": 4,
4659
- "options": {
4660
- "(google.api.field_behavior)": "OPTIONAL"
4661
- }
4662
- }
4663
- }
4664
- },
4665
- "ListReactionsResponse": {
4666
- "fields": {
4667
- "reactions": {
4668
- "rule": "repeated",
4669
- "type": "Reaction",
4670
- "id": 1
4671
- },
4672
- "nextPageToken": {
4673
- "type": "string",
4674
- "id": 2
4675
- }
4676
- }
4677
- },
4678
- "DeleteReactionRequest": {
4679
- "fields": {
4680
- "name": {
4681
- "type": "string",
4682
- "id": 1,
4683
- "options": {
4684
- "(google.api.field_behavior)": "REQUIRED",
4685
- "(google.api.resource_reference).type": "chat.googleapis.com/Reaction"
4686
- }
4687
- }
4688
- }
4689
- },
4690
4701
  "SlashCommand": {
4691
4702
  "fields": {
4692
4703
  "commandId": {
@@ -5751,9 +5762,9 @@
5751
5762
  "api": {
5752
5763
  "options": {
5753
5764
  "cc_enable_arenas": true,
5754
- "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations",
5765
+ "go_package": "google.golang.org/genproto/googleapis/api;api",
5755
5766
  "java_multiple_files": true,
5756
- "java_outer_classname": "FieldInfoProto",
5767
+ "java_outer_classname": "LaunchStageProto",
5757
5768
  "java_package": "com.google.api",
5758
5769
  "objc_class_prefix": "GAPI"
5759
5770
  },
@@ -5854,6 +5865,30 @@
5854
5865
  "IDENTIFIER": 8
5855
5866
  }
5856
5867
  },
5868
+ "fieldInfo": {
5869
+ "type": "google.api.FieldInfo",
5870
+ "id": 291403980,
5871
+ "extend": "google.protobuf.FieldOptions"
5872
+ },
5873
+ "FieldInfo": {
5874
+ "fields": {
5875
+ "format": {
5876
+ "type": "Format",
5877
+ "id": 1
5878
+ }
5879
+ },
5880
+ "nested": {
5881
+ "Format": {
5882
+ "values": {
5883
+ "FORMAT_UNSPECIFIED": 0,
5884
+ "UUID4": 1,
5885
+ "IPV4": 2,
5886
+ "IPV6": 3,
5887
+ "IPV4_OR_IPV6": 4
5888
+ }
5889
+ }
5890
+ }
5891
+ },
5857
5892
  "http": {
5858
5893
  "type": "HttpRule",
5859
5894
  "id": 72295728,
@@ -6235,30 +6270,6 @@
6235
6270
  "GA": 4,
6236
6271
  "DEPRECATED": 5
6237
6272
  }
6238
- },
6239
- "fieldInfo": {
6240
- "type": "google.api.FieldInfo",
6241
- "id": 291403980,
6242
- "extend": "google.protobuf.FieldOptions"
6243
- },
6244
- "FieldInfo": {
6245
- "fields": {
6246
- "format": {
6247
- "type": "Format",
6248
- "id": 1
6249
- }
6250
- },
6251
- "nested": {
6252
- "Format": {
6253
- "values": {
6254
- "FORMAT_UNSPECIFIED": 0,
6255
- "UUID4": 1,
6256
- "IPV4": 2,
6257
- "IPV6": 3,
6258
- "IPV4_OR_IPV6": 4
6259
- }
6260
- }
6261
- }
6262
6273
  }
6263
6274
  }
6264
6275
  }
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2024 Google LLC
2
+ // Copyright 2025 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1222,8 +1222,7 @@ export declare class ChatServiceClient {
1222
1222
  deleteMembership(request: protos.google.chat.v1.IDeleteMembershipRequest, options: CallOptions, callback: Callback<protos.google.chat.v1.IMembership, protos.google.chat.v1.IDeleteMembershipRequest | null | undefined, {} | null | undefined>): void;
1223
1223
  deleteMembership(request: protos.google.chat.v1.IDeleteMembershipRequest, callback: Callback<protos.google.chat.v1.IMembership, protos.google.chat.v1.IDeleteMembershipRequest | null | undefined, {} | null | undefined>): void;
1224
1224
  /**
1225
- * Creates a reaction and adds it to a message. Only unicode emojis are
1226
- * supported. For an example, see
1225
+ * Creates a reaction and adds it to a message. For an example, see
1227
1226
  * [Add a reaction to a
1228
1227
  * message](https://developers.google.com/workspace/chat/create-reactions).
1229
1228
  *
@@ -1255,8 +1254,7 @@ export declare class ChatServiceClient {
1255
1254
  createReaction(request: protos.google.chat.v1.ICreateReactionRequest, options: CallOptions, callback: Callback<protos.google.chat.v1.IReaction, protos.google.chat.v1.ICreateReactionRequest | null | undefined, {} | null | undefined>): void;
1256
1255
  createReaction(request: protos.google.chat.v1.ICreateReactionRequest, callback: Callback<protos.google.chat.v1.IReaction, protos.google.chat.v1.ICreateReactionRequest | null | undefined, {} | null | undefined>): void;
1257
1256
  /**
1258
- * Deletes a reaction to a message. Only unicode emojis are supported.
1259
- * For an example, see
1257
+ * Deletes a reaction to a message. For an example, see
1260
1258
  * [Delete a
1261
1259
  * reaction](https://developers.google.com/workspace/chat/delete-reactions).
1262
1260
  *
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2024 Google LLC
2
+ // Copyright 2025 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.