@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20220816 → 0.0.20220904

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 (3) hide show
  1. package/index.d.ts +38 -15
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
package/index.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
11
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
12
  // Generated from: https://cloudsearch.googleapis.com/$discovery/rest?version=v1
13
- // Revision: 20220816
13
+ // Revision: 20220904
14
14
 
15
15
  /// <reference types="gapi.client" />
16
16
 
@@ -164,12 +164,8 @@ declare namespace gapi.client {
164
164
  value?: string;
165
165
  }
166
166
  interface AppsDynamiteSharedActivityFeedAnnotationData {
167
- /**
168
- * Unique id of the Activity Feed message. This will be in the form of "space-id/message-id" or "dm-id/message-id", where the space-/dm-id and message-id components are extracted from
169
- * the top-level MessageId in message.proto (http://shortn/_SulV51DNfF). This is copied into annotations so that no client changes are needed to access this value. Clients will need a
170
- * unique id for every Activity Feed message to implement click-to-source.
171
- */
172
- activityFeedMessageId?: string;
167
+ /** Unique id of the Activity Feed message used by clients to implement click-to-source. This is the same messageId as the top-level id field for the Activity Feed item. */
168
+ activityFeedMessageId?: MessageId;
173
169
  chatItem?: AppsDynamiteSharedChatItem;
174
170
  /** Only populated on read path and should not be persisted in storage. */
175
171
  sharedUserInfo?: UserInfo;
@@ -692,6 +688,8 @@ declare namespace gapi.client {
692
688
  interface AppsDynamiteSharedMessageInfo {
693
689
  /** Id of the source chat message. This is kept here because the top-level message ID to refers the AF message ID. */
694
690
  messageId?: MessageId;
691
+ /** The type of the source chat message. */
692
+ messageType?: string;
695
693
  /**
696
694
  * Timestamp of when the topic containing the message has been read by the user. This is populated if the message references an inline reply, in which case the space may be marked as
697
695
  * read but the topic still has unread messages.
@@ -786,6 +784,15 @@ declare namespace gapi.client {
786
784
  /** The retention state. */
787
785
  state?: string;
788
786
  }
787
+ interface AppsDynamiteSharedSegmentedMembershipCount {
788
+ /** count of members with given type and state */
789
+ membershipCount?: number;
790
+ membershipState?: string;
791
+ memberType?: string;
792
+ }
793
+ interface AppsDynamiteSharedSegmentedMembershipCounts {
794
+ value?: AppsDynamiteSharedSegmentedMembershipCount[];
795
+ }
789
796
  interface AppsDynamiteSharedSelectionInput {
790
797
  items?: AppsDynamiteSharedSelectionInputSelectionItem[];
791
798
  /** The label displayed ahead of the switch control. */
@@ -1269,7 +1276,7 @@ declare namespace gapi.client {
1269
1276
  chatLock?: boolean;
1270
1277
  /** Whether Client-side Encryption is enabled for this conference. */
1271
1278
  cseEnabled?: boolean;
1272
- /** Indicates whether the current call is moderated. go/meet-multimod-dd */
1279
+ /** Indicates whether the current call is moderated. */
1273
1280
  moderationEnabled?: boolean;
1274
1281
  /** Indicates whether the present lock is currently on or off. */
1275
1282
  presentLock?: boolean;
@@ -2282,6 +2289,10 @@ declare namespace gapi.client {
2282
2289
  fileExtension?: string;
2283
2290
  /** The last time this document was modified, in seconds since epoch. Only counts content modifications. */
2284
2291
  lastContentModifiedTimestamp?: string;
2292
+ /** Contains number of subscribers for the document. */
2293
+ numSubscribers?: number;
2294
+ /** Size of untruncated viewers list. */
2295
+ numViewers?: number;
2285
2296
  /**
2286
2297
  * Additional per-result information, akin to Gmail's SingleThreadResponse. Note: GWS no longer seems to use this field, but there's still one reference to it for Scribe, so we can't
2287
2298
  * remove it.
@@ -2863,7 +2874,7 @@ declare namespace gapi.client {
2863
2874
  gatewaySipAccess?: GatewaySipAccess[];
2864
2875
  /**
2865
2876
  * An optional alias for the meeting space. The alias can in some cases be resolved to the meeting space, similar to the meeting code. The limitation is that the user needs to be in
2866
- * the same meeting domain as the meeting space. See go/thor-backend/meeting-alias for more details.
2877
+ * the same meeting domain as the meeting space.
2867
2878
  */
2868
2879
  meetingAlias?: string;
2869
2880
  /** A meeting code is a globally unique code which points to a meeting space. Note: Meeting codes may be regenerated, which will cause old meeting codes to become invalid. */
@@ -2877,7 +2888,7 @@ declare namespace gapi.client {
2877
2888
  meetingUrl?: string;
2878
2889
  /**
2879
2890
  * Output only. A URL that clients (e.g. Calendar) can use to show the web page with all join methods available for this meeting space. This link is also used in iOS universal links
2880
- * and Android intents, used for opening the "More ways to join" view in the Thor mobile apps. Example: https://tel.meet/mee-ting-cod?pin=1234567891011 Here, "pin" is the universal
2891
+ * and Android intents, used for opening the "More ways to join" view in the Meet mobile apps. Example: https://tel.meet/mee-ting-cod?pin=1234567891011 Here, "pin" is the universal
2881
2892
  * phone PIN. We include it explicitly to better support the offline case on the mobile. This is set when the meeting space has either a universal PIN or an interop PIN and clients who
2882
2893
  * can show a "more ways to join" button should show it whenever this field is set.
2883
2894
  */
@@ -2974,6 +2985,11 @@ declare namespace gapi.client {
2974
2985
  fallbackText?: string;
2975
2986
  /** ID of the resource. */
2976
2987
  id?: MessageId;
2988
+ /**
2989
+ * Whether the message is content purged. Content purged messages contain only data required for tombstone (see go/chat-infinite-tombstone). This field is only used by Vault to display
2990
+ * tombstone and should only be set to true if the message is a tombstone.
2991
+ */
2992
+ isContentPurged?: boolean;
2977
2993
  /**
2978
2994
  * Output only. Indicates if the message is an inline reply. Set to true only if the message's ParentPath is non-NULL. Currently, only inline replies have non-NULL ParentPath. See
2979
2995
  * go/chat-be-inline-reply-indicator.
@@ -3688,8 +3704,8 @@ declare namespace gapi.client {
3688
3704
  /**
3689
3705
  * The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field
3690
3706
  * using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the
3691
- * documents in search results are biased towards the specified language. The suggest API does not use this parameter. Instead, suggest autocompletes only based on characters in the
3692
- * query.
3707
+ * documents in search results are biased towards the specified language. From Suggest API perspective, for 3p suggest this is used as a hint while making predictions to add language
3708
+ * boosting.
3693
3709
  */
3694
3710
  languageCode?: string;
3695
3711
  /** The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922). */
@@ -3785,6 +3801,8 @@ declare namespace gapi.client {
3785
3801
  rosterGaiaKey?: string;
3786
3802
  /** Roster deletion state - considered active unless set to deleted */
3787
3803
  rosterState?: string;
3804
+ /** Roster membership count. May contain counts based on member type and membership state. */
3805
+ segmentedMembershipCounts?: AppsDynamiteSharedSegmentedMembershipCounts;
3788
3806
  }
3789
3807
  interface RosterId {
3790
3808
  /** Opaque, server-assigned ID of the Roster. */
@@ -4023,7 +4041,7 @@ declare namespace gapi.client {
4023
4041
  cseEnabled?: boolean;
4024
4042
  /** Whether the default role is viewer or not. */
4025
4043
  defaultAsViewer?: boolean;
4026
- /** Indicates whether the meeting space is moderated. go/meet-multimod-dd */
4044
+ /** Indicates whether the meeting space is moderated. */
4027
4045
  moderationEnabled?: boolean;
4028
4046
  /** The present lock of the meeting space that lets owner control whether the participants can present their screen. True if the present lock feature is enabled for the meeting space. */
4029
4047
  presentLock?: boolean;
@@ -4568,6 +4586,11 @@ declare namespace gapi.client {
4568
4586
  updaterToShowEmail?: string;
4569
4587
  /** The gaia id of the updater for clients to show used for Gmail items. If the updater is an external user, the email field below should be populated. */
4570
4588
  updaterToShowGaiaId?: string;
4589
+ /**
4590
+ * The display name of the updater for clients to show used for Gmail items. This (along with the updater fields above) will be populated in the thread pipeline
4591
+ * (http://shortn/_rPS0GCp94Y) when converting Activity Feed message attributes into client-renderable Activity Feed items.
4592
+ */
4593
+ updaterToShowName?: string;
4571
4594
  /** The updater for clients to show used for Dynamite Chat items. */
4572
4595
  updaterToShowUserId?: UserId;
4573
4596
  }
@@ -5737,8 +5760,8 @@ declare namespace gapi.client {
5737
5760
  /**
5738
5761
  * The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this
5739
5762
  * field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified,
5740
- * the documents in search results are biased towards the specified language. The suggest API does not use this parameter. Instead, suggest autocompletes only based on characters
5741
- * in the query.
5763
+ * the documents in search results are biased towards the specified language. From Suggest API perspective, for 3p suggest this is used as a hint while making predictions to add
5764
+ * language boosting.
5742
5765
  */
5743
5766
  "requestOptions.languageCode"?: string;
5744
5767
  /** The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudsearch-v1",
3
- "version": "0.0.20220816",
3
+ "version": "0.0.20220904",
4
4
  "description": "TypeScript typings for Cloud Search API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20220816
6
+ // Revision: 20220904
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */