@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20230117 → 0.0.20230131
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/index.d.ts +22 -6
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudsearch.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230131
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -106,8 +106,8 @@ declare namespace gapi.client {
|
|
|
106
106
|
/** Length of the text_body substring beginning from start_index the Annotation corresponds to. */
|
|
107
107
|
length?: number;
|
|
108
108
|
/**
|
|
109
|
-
* A
|
|
110
|
-
* message.
|
|
109
|
+
* * A client-assigned ID for this annotation. This is helpful in matching the back-filled annotations to the original annotations on client side, without having to re-parse the
|
|
110
|
+
* message. There is no guarantee an annotation has a local_id, it's a purely client used and controlled field with no guarantee of uniqueness.
|
|
111
111
|
*/
|
|
112
112
|
localId?: string;
|
|
113
113
|
/** Metadata for system messages. Clients should never set this. LINT.IfChange */
|
|
@@ -116,7 +116,7 @@ declare namespace gapi.client {
|
|
|
116
116
|
/**
|
|
117
117
|
* Metadata that defines all of the required features that must be rendered in the message. Clients can use this to see whether they support the entire message, or show a fallback chip
|
|
118
118
|
* otherwise. See go/message-quoting-client-to-server for details. LINT.ThenChange( //depot/google3/java/com/google/apps/dynamite/v1/allshared/parser/AnnotationSanitizer.java,
|
|
119
|
-
* //depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java, //depot/google3/java/com/google/caribou/eli/mediation/chat/
|
|
119
|
+
* //depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java, //depot/google3/java/com/google/caribou/eli/mediation/chat/AnnotationConverter.java
|
|
120
120
|
* )
|
|
121
121
|
*/
|
|
122
122
|
requiredMessageFeaturesMetadata?: RequiredMessageFeaturesMetadata;
|
|
@@ -131,7 +131,11 @@ declare namespace gapi.client {
|
|
|
131
131
|
startIndex?: number;
|
|
132
132
|
/** Type of the Annotation. */
|
|
133
133
|
type?: string;
|
|
134
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* * A unique server-assigned ID for this annotation. This is helpful in matching annotation objects when fetched from service. All uploads should have a unique_id after the message
|
|
136
|
+
* they are attached to is successfully sent. Url annotations that originally were uploads (i.e. policy violations) will have a unique_id after the message they are attached to is
|
|
137
|
+
* successfully sent. No other url annotations should have a unique_id. All drive annotations should have a unique_id after the message they are attached to is successfully sent.
|
|
138
|
+
*/
|
|
135
139
|
uniqueId?: string;
|
|
136
140
|
uploadMetadata?: UploadMetadata;
|
|
137
141
|
urlMetadata?: UrlMetadata;
|
|
@@ -2000,11 +2004,20 @@ declare namespace gapi.client {
|
|
|
2000
2004
|
type?: string;
|
|
2001
2005
|
}
|
|
2002
2006
|
interface DynamiteMessagesScoringInfo {
|
|
2007
|
+
commonContactCount?: string;
|
|
2008
|
+
commonCountToContactListCountRatio?: number;
|
|
2009
|
+
commonCountToMembershipCountRatio?: number;
|
|
2010
|
+
creatorGaiaId?: string;
|
|
2011
|
+
creatorInSearcherContactList?: boolean;
|
|
2012
|
+
dasContactCount?: string;
|
|
2003
2013
|
finalScore?: number;
|
|
2004
2014
|
freshnessScore?: number;
|
|
2005
2015
|
joinedSpaceAffinityScore?: number;
|
|
2016
|
+
lastReadTimestampAgeInDays?: number;
|
|
2006
2017
|
messageAgeInDays?: number;
|
|
2007
2018
|
messageSenderAffinityScore?: number;
|
|
2019
|
+
spaceId?: string;
|
|
2020
|
+
spaceMembershipCount?: string;
|
|
2008
2021
|
topicalityScore?: number;
|
|
2009
2022
|
unjoinedSpaceAffinityScore?: number;
|
|
2010
2023
|
}
|
|
@@ -5156,7 +5169,10 @@ declare namespace gapi.client {
|
|
|
5156
5169
|
name?: string;
|
|
5157
5170
|
}
|
|
5158
5171
|
interface UploadMetadata {
|
|
5159
|
-
/**
|
|
5172
|
+
/**
|
|
5173
|
+
* Opaque token. Clients shall simply pass it back to the Backend. There is no guarantee the attachment_token returned on subsequent reads is the same even if nothing has changed. This
|
|
5174
|
+
* field will NOT be saved into storage.
|
|
5175
|
+
*/
|
|
5160
5176
|
attachmentToken?: string;
|
|
5161
5177
|
/** Information about the uploaded attachment that is only used in Backend. This field will NOT be sent out of Google. */
|
|
5162
5178
|
backendUploadMetadata?: AppsDynamiteSharedBackendUploadMetadata;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230131
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|