@maxim_mazurok/gapi.client.cloudsearch-v1 0.3.20260506 → 0.4.20260610

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 (2) hide show
  1. package/index.d.ts +11 -47
  2. package/package.json +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: 20260506
12
+ // Revision: 20260610
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -102,18 +102,10 @@ declare namespace gapi.client {
102
102
  startDayOffsetSec?: string;
103
103
  /** [Optional] Surface where the card should be shown in. If missing, the card will be shown in any surface. */
104
104
  surface?:
105
- | 'UNKNOWN_SURFACE'
106
- | 'DESKTOP'
107
- | 'ANDROID'
108
- | 'IOS'
109
- | 'MOBILE'
110
- | 'ANY'[];
105
+ 'UNKNOWN_SURFACE' | 'DESKTOP' | 'ANDROID' | 'IOS' | 'MOBILE' | 'ANY'[];
111
106
  /** [Required] Type of the card (homepage, Answer or RHS). */
112
107
  type?:
113
- | 'UNKNOWN_CARD_TYPE'
114
- | 'HOMEPAGE_CARD'
115
- | 'ANSWER_CARD'
116
- | 'RHS_CARD'[];
108
+ 'UNKNOWN_CARD_TYPE' | 'HOMEPAGE_CARD' | 'ANSWER_CARD' | 'RHS_CARD'[];
117
109
  }
118
110
  interface ContextAttribute {
119
111
  /** The name of the attribute. It should not be empty. The maximum length is 32 characters. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The name will be normalized (lower-cased) before being matched. */
@@ -822,10 +814,7 @@ declare namespace gapi.client {
822
814
  header?: EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader;
823
815
  /** The response status. */
824
816
  responseStatus?:
825
- | 'UNKNOWN'
826
- | 'SUCCESS'
827
- | 'MISSING_PERSON'
828
- | 'MISSING_DATA';
817
+ 'UNKNOWN' | 'SUCCESS' | 'MISSING_PERSON' | 'MISSING_DATA';
829
818
  /** Localized user friendly message to display to the user in the case of missing data or an error. */
830
819
  statusMessage?: string;
831
820
  /** The profile of the person that was the subject of the query. */
@@ -842,10 +831,7 @@ declare namespace gapi.client {
842
831
  relationType?: 'UNKNOWN' | 'DIRECT_REPORTS' | 'MANAGER' | 'PEERS';
843
832
  /** The response status. */
844
833
  responseStatus?:
845
- | 'UNKNOWN'
846
- | 'SUCCESS'
847
- | 'MISSING_PERSON'
848
- | 'MISSING_DATA';
834
+ 'UNKNOWN' | 'SUCCESS' | 'MISSING_PERSON' | 'MISSING_DATA';
849
835
  /** Localized user friendly message to display to the user in the case of missing data or an error. */
850
836
  statusMessage?: string;
851
837
  /** The profile of the person that was the subject of the query. */
@@ -1163,10 +1149,7 @@ declare namespace gapi.client {
1163
1149
  interface ItemAcl {
1164
1150
  /** Sets the type of access rules to apply when an item inherits its ACL from a parent. This should always be set in tandem with the inheritAclFrom field. Also, when the inheritAclFrom field is set, this field should be set to a valid AclInheritanceType. */
1165
1151
  aclInheritanceType?:
1166
- | 'NOT_APPLICABLE'
1167
- | 'CHILD_OVERRIDE'
1168
- | 'PARENT_OVERRIDE'
1169
- | 'BOTH_PERMIT';
1152
+ 'NOT_APPLICABLE' | 'CHILD_OVERRIDE' | 'PARENT_OVERRIDE' | 'BOTH_PERMIT';
1170
1153
  /** List of principals who are explicitly denied access to the item in search results. While principals are denied access by default, use denied readers to handle exceptions and override the list allowed readers. The maximum number of elements is 100. */
1171
1154
  deniedReaders?: Principal[];
1172
1155
  /** The name of the item to inherit the Access Permission List (ACL) from. Note: ACL inheritance *only* provides access permissions to child items and does not define structural relationships, nor does it provide convenient ways to delete large groups of items. Deleting an ACL parent from the index only alters the access permissions of child items that reference the parent in the inheritAclFrom field. The item is still in the index, but may not visible in search results. By contrast, deletion of a container item also deletes all items that reference the container via the containerName field. The maximum length for this field is 1536 characters. */
@@ -1192,11 +1175,7 @@ declare namespace gapi.client {
1192
1175
  indexedItemsCount?: string;
1193
1176
  /** Status of the items. */
1194
1177
  statusCode?:
1195
- | 'CODE_UNSPECIFIED'
1196
- | 'ERROR'
1197
- | 'MODIFIED'
1198
- | 'NEW_ITEM'
1199
- | 'ACCEPTED';
1178
+ 'CODE_UNSPECIFIED' | 'ERROR' | 'MODIFIED' | 'NEW_ITEM' | 'ACCEPTED';
1200
1179
  }
1201
1180
  interface ItemMetadata {
1202
1181
  /** The name of the container for this item. Deletion of the container item leads to automatic deletion of this item. Note: ACLs are not inherited from a container item. To provide ACL inheritance for an item, use the inheritAclFrom field. The maximum length is 1536 characters. */
@@ -1229,11 +1208,7 @@ declare namespace gapi.client {
1229
1208
  interface ItemStatus {
1230
1209
  /** Status code. */
1231
1210
  code?:
1232
- | 'CODE_UNSPECIFIED'
1233
- | 'ERROR'
1234
- | 'MODIFIED'
1235
- | 'NEW_ITEM'
1236
- | 'ACCEPTED';
1211
+ 'CODE_UNSPECIFIED' | 'ERROR' | 'MODIFIED' | 'NEW_ITEM' | 'ACCEPTED';
1237
1212
  /** Error details in case the item is in ERROR state. */
1238
1213
  processingErrors?: ProcessingError[];
1239
1214
  /** Repository error reported by connector. */
@@ -1423,10 +1398,7 @@ declare namespace gapi.client {
1423
1398
  /** People the profile owner is an admin to. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty. */
1424
1399
  adminTo?: PersonCore[];
1425
1400
  availabilityStatus?:
1426
- | 'UNKNOWN'
1427
- | 'OUT_OF_OFFICE'
1428
- | 'OUTSIDE_WORKING_HOURS'
1429
- | 'AVAILABLE';
1401
+ 'UNKNOWN' | 'OUT_OF_OFFICE' | 'OUTSIDE_WORKING_HOURS' | 'AVAILABLE';
1430
1402
  /** Person birthday. */
1431
1403
  birthday?: Date;
1432
1404
  /** The URL to open the profile owner's primary calendar. */
@@ -1508,11 +1480,7 @@ declare namespace gapi.client {
1508
1480
  queue?: string;
1509
1481
  /** Limit the items polled to the ones with these statuses. */
1510
1482
  statusCodes?:
1511
- | 'CODE_UNSPECIFIED'
1512
- | 'ERROR'
1513
- | 'MODIFIED'
1514
- | 'NEW_ITEM'
1515
- | 'ACCEPTED'[];
1483
+ 'CODE_UNSPECIFIED' | 'ERROR' | 'MODIFIED' | 'NEW_ITEM' | 'ACCEPTED'[];
1516
1484
  }
1517
1485
  interface PollItemsResponse {
1518
1486
  /** Set of items from the queue available for connector to process. These items have the following subset of fields populated: version metadata.hash structured_data.hash content.hash payload status queue */
@@ -1690,11 +1658,7 @@ declare namespace gapi.client {
1690
1658
  lastQueryTime?: string;
1691
1659
  /** Source corpus of the suggestion. */
1692
1660
  sourceCorpus?:
1693
- | 'SOURCE_CORPUS_UNSPECIFIED'
1694
- | 'GMAIL'
1695
- | 'DRIVE'
1696
- | 'CHAT'
1697
- | 'CALENDAR';
1661
+ 'SOURCE_CORPUS_UNSPECIFIED' | 'GMAIL' | 'DRIVE' | 'CHAT' | 'CALENDAR';
1698
1662
  }
1699
1663
  interface RemoveActivityRequest {
1700
1664
  /** Request options, such as the search application and clientId. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudsearch-v1",
3
- "version": "0.3.20260506",
3
+ "version": "0.4.20260610",
4
4
  "description": "TypeScript typings for Cloud Search API v1",
5
5
  "repository": {
6
6
  "type": "git",