@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20230207 → 0.0.20230221

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 +36 -2
  2. package/package.json +1 -1
  3. 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: 20230207
12
+ // Revision: 20230221
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -86,7 +86,7 @@ declare namespace gapi.client {
86
86
  babelPlaceholderMetadata?: BabelPlaceholderMetadata;
87
87
  /** LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java) */
88
88
  cardCapabilityMetadata?: CardCapabilityMetadata;
89
- /** Whether the annotation should be rendered as a chip. If this is missing or unspecified, fallback to should_not_render on the metadata. */
89
+ /** Whether the annotation should be rendered as a preview chip. If this is missing or unspecified, fallback to should_not_render on the metadata. */
90
90
  chipRenderType?: string;
91
91
  consentedAppUnfurlMetadata?: ConsentedAppUnfurlMetadata;
92
92
  customEmojiMetadata?: CustomEmojiMetadata;
@@ -101,8 +101,12 @@ declare namespace gapi.client {
101
101
  */
102
102
  gsuiteIntegrationMetadata?: GsuiteIntegrationMetadata;
103
103
  incomingWebhookChangedMetadata?: IncomingWebhookChangedMetadata;
104
+ /** The inline render format of this annotation. go/drive-smart-chips-chat-v2. */
105
+ inlineRenderFormat?: string;
104
106
  /** LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java) */
105
107
  integrationConfigUpdated?: IntegrationConfigUpdatedMetadata;
108
+ /** Additional interaction data for this annotation. */
109
+ interactionData?: InteractionData;
106
110
  /** Length of the text_body substring beginning from start_index the Annotation corresponds to. */
107
111
  length?: number;
108
112
  /**
@@ -2940,6 +2944,14 @@ declare namespace gapi.client {
2940
2944
  principal?: Principal;
2941
2945
  type?: string;
2942
2946
  }
2947
+ interface InteractionData {
2948
+ /**
2949
+ * A general navigation target associated with the annotation this message is contained in. For smart chips, this will be the destination of the tap/click target and will be returned
2950
+ * by the server. For scenarios where the chip originated from a user-provided url, this value will be provided by clients; otherwise it will be built by the corresponding metadata
2951
+ * parts.
2952
+ */
2953
+ url?: SafeUrlProto;
2954
+ }
2943
2955
  interface InviteAcceptedEvent {
2944
2956
  participantId?: StoredParticipantId[];
2945
2957
  }
@@ -3512,6 +3524,11 @@ declare namespace gapi.client {
3512
3524
  /** Value of coproc's message delete history record extension that exports /imapsync/folder attribute of deleted messages which have ^is label. */
3513
3525
  imapSyncMappings?: ImapSyncDelete[];
3514
3526
  messageKeys?: MultiKey[];
3527
+ /**
3528
+ * Value of coproc's message delete history record extension that exports /wonder/message_mapping/{vertical} attribute of deleted messages which have smartmail label (eg.
3529
+ * ^cob_sm_invoice, etc).
3530
+ */
3531
+ wonderCardMappings?: WonderCardDelete[];
3515
3532
  }
3516
3533
  interface MessageId {
3517
3534
  /** Opaque, server-assigned ID of the Message. While this ID is guaranteed to be unique within the Space, it's not guaranteed to be globally unique. */
@@ -3520,6 +3537,8 @@ declare namespace gapi.client {
3520
3537
  parentId?: MessageParentId;
3521
3538
  }
3522
3539
  interface MessageInfo {
3540
+ /** Message author’s user type (human/bot). */
3541
+ authorUserType?: string;
3523
3542
  /** The content of a matching message. */
3524
3543
  message?: Message;
3525
3544
  /** Searcher's membership state in the space where the message is posted. */
@@ -5365,6 +5384,11 @@ declare namespace gapi.client {
5365
5384
  */
5366
5385
  inviteeInfo?: InviteeInfo;
5367
5386
  type?: string;
5387
+ /**
5388
+ * Specific reason for the user mention failing, for fine-grained processing by clients (i.e. specific error message for space limit exceeded case) IMPORTANT: Set this only for
5389
+ * FAILED_TO_ADD case.
5390
+ */
5391
+ userMentionError?: string;
5368
5392
  }
5369
5393
  interface Value {
5370
5394
  booleanValue?: boolean;
@@ -5456,6 +5480,16 @@ declare namespace gapi.client {
5456
5480
  /** Read-only Widgets */
5457
5481
  textParagraph?: TextParagraph;
5458
5482
  }
5483
+ interface WonderCardDelete {
5484
+ /** Contains <{@code WonderCardType} enum value, value of /wonder/message_mapping/{vertical} attribute of deleted message> pairs. */
5485
+ messageMappings?: { [P in string]: WonderMessageMapping };
5486
+ /** Message ID of the original deleted message */
5487
+ msgId?: string;
5488
+ }
5489
+ interface WonderMessageMapping {
5490
+ /** List of wonder card (client-generated) message IDs generated based on the original message. */
5491
+ wonderCardMessageId?: string[];
5492
+ }
5459
5493
  interface WrappedResourceKey {
5460
5494
  /** Resource key of the Drive item. This field should be unset if, depending on the context, the item does not have a resource key, or if none was specified. This must never be logged. */
5461
5495
  resourceKey?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudsearch-v1",
3
- "version": "0.0.20230207",
3
+ "version": "0.0.20230221",
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: 20230207
6
+ // Revision: 20230221
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */