@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20221129 → 0.0.20230110
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 +350 -341
- 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: 20230110
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -151,20 +151,6 @@ declare namespace gapi.client {
|
|
|
151
151
|
/** Numeric identifier of the App. Set to Project number for 1/3P Apps. For Webhook, this is WebhookId. Determined & set by the 1P API from App credentials on the side channel. */
|
|
152
152
|
id?: string;
|
|
153
153
|
}
|
|
154
|
-
interface AppsDynamiteSharedAction {
|
|
155
|
-
/** Apps Script function to invoke when the containing element is clicked/activated. */
|
|
156
|
-
function?: string;
|
|
157
|
-
interaction?: string;
|
|
158
|
-
loadIndicator?: string;
|
|
159
|
-
/** List of action parameters. */
|
|
160
|
-
parameters?: AppsDynamiteSharedActionActionParameter[];
|
|
161
|
-
}
|
|
162
|
-
interface AppsDynamiteSharedActionActionParameter {
|
|
163
|
-
/** The name of the parameter for the action script. */
|
|
164
|
-
key?: string;
|
|
165
|
-
/** The value of the parameter. */
|
|
166
|
-
value?: string;
|
|
167
|
-
}
|
|
168
154
|
interface AppsDynamiteSharedActivityFeedAnnotationData {
|
|
169
155
|
/**
|
|
170
156
|
* Timestamp of when the Activity Feed message that contains this annotation was created. This is roughly when the activity happened, such as when a reaction happened, but will have at
|
|
@@ -261,6 +247,8 @@ declare namespace gapi.client {
|
|
|
261
247
|
dlpScanSummary?: DlpScanSummary;
|
|
262
248
|
/** GroupId to which this attachment is uploaded. */
|
|
263
249
|
groupId?: GroupId;
|
|
250
|
+
/** If the uploaded file is a video that has been transcoded on the client side Next tag: 18 */
|
|
251
|
+
isClientSideTranscodedVideo?: boolean;
|
|
264
252
|
/** Original dimension of the content. Only set for image attachments. */
|
|
265
253
|
originalDimension?: AppsDynamiteSharedDimension;
|
|
266
254
|
/**
|
|
@@ -282,31 +270,6 @@ declare namespace gapi.client {
|
|
|
282
270
|
/** Result for a virus scan. */
|
|
283
271
|
virusScanResult?: string;
|
|
284
272
|
}
|
|
285
|
-
interface AppsDynamiteSharedBorderStyle {
|
|
286
|
-
/** The corner radius for the border. */
|
|
287
|
-
cornerRadius?: number;
|
|
288
|
-
/** The colors to use when the type is `BORDER_TYPE_STROKE`. */
|
|
289
|
-
strokeColor?: Color;
|
|
290
|
-
/** The border type. */
|
|
291
|
-
type?: string;
|
|
292
|
-
}
|
|
293
|
-
interface AppsDynamiteSharedButton {
|
|
294
|
-
/** The alternative text used for accessibility. Has no effect when an icon is set; use `icon.alt_text` instead. */
|
|
295
|
-
altText?: string;
|
|
296
|
-
/** If set, the button is filled with a solid background. */
|
|
297
|
-
color?: Color;
|
|
298
|
-
/** If true, the button is displayed in a disabled state and doesn't respond to user actions. */
|
|
299
|
-
disabled?: boolean;
|
|
300
|
-
/** The icon image. */
|
|
301
|
-
icon?: AppsDynamiteSharedIcon;
|
|
302
|
-
/** The action to perform when the button is clicked. */
|
|
303
|
-
onClick?: AppsDynamiteSharedOnClick;
|
|
304
|
-
/** The text of the button. */
|
|
305
|
-
text?: string;
|
|
306
|
-
}
|
|
307
|
-
interface AppsDynamiteSharedButtonList {
|
|
308
|
-
buttons?: AppsDynamiteSharedButton[];
|
|
309
|
-
}
|
|
310
273
|
interface AppsDynamiteSharedCalendarEventAnnotationData {
|
|
311
274
|
calendarEvent?: AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent;
|
|
312
275
|
/** Notification about the creation of an event. */
|
|
@@ -346,60 +309,12 @@ declare namespace gapi.client {
|
|
|
346
309
|
/** Metadata specific for the Meet call. */
|
|
347
310
|
meetMetadata?: AppsDynamiteSharedMeetMetadata;
|
|
348
311
|
}
|
|
349
|
-
interface AppsDynamiteSharedCard {
|
|
350
|
-
/**
|
|
351
|
-
* The actions of this card. They are added to a card's generated toolbar menu. For example, the following JSON constructs a card action menu with Settings and Send Feedback options:
|
|
352
|
-
* ``` "card_actions": [ { "actionLabel": "Setting", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator":
|
|
353
|
-
* "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ```
|
|
354
|
-
*/
|
|
355
|
-
cardActions?: AppsDynamiteSharedCardCardAction[];
|
|
356
|
-
/** The header of the card. A header usually contains a title and an image. */
|
|
357
|
-
header?: AppsDynamiteSharedCardCardHeader;
|
|
358
|
-
/** Name of the card, which is used as a identifier for the card in card navigation. */
|
|
359
|
-
name?: string;
|
|
360
|
-
/** Sections are separated by a line divider. */
|
|
361
|
-
sections?: AppsDynamiteSharedCardSection[];
|
|
362
|
-
}
|
|
363
|
-
interface AppsDynamiteSharedCardCardAction {
|
|
364
|
-
/** The label that displays as the action menu item. */
|
|
365
|
-
actionLabel?: string;
|
|
366
|
-
/** The onclick action for this action item. */
|
|
367
|
-
onClick?: AppsDynamiteSharedOnClick;
|
|
368
|
-
}
|
|
369
|
-
interface AppsDynamiteSharedCardCardHeader {
|
|
370
|
-
/** The alternative text of this image which is used for accessibility. */
|
|
371
|
-
imageAltText?: string;
|
|
372
|
-
/** The image's type. */
|
|
373
|
-
imageType?: string;
|
|
374
|
-
/** The URL of the image in the card header. */
|
|
375
|
-
imageUrl?: string;
|
|
376
|
-
/** The subtitle of the card header. */
|
|
377
|
-
subtitle?: string;
|
|
378
|
-
/**
|
|
379
|
-
* The title of the card header. The title must be specified. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is
|
|
380
|
-
* specified, it takes up both lines.
|
|
381
|
-
*/
|
|
382
|
-
title?: string;
|
|
383
|
-
}
|
|
384
312
|
interface AppsDynamiteSharedCardClickSuggestion {
|
|
385
313
|
/** Identify the button/action that created the suggestion. A simple example would be a card button within the stream, or the id which can identify a specific suggestion. */
|
|
386
314
|
actionId?: string;
|
|
387
315
|
/** The message_id for the message that was posted by the app/bot. */
|
|
388
316
|
suggestionMessageId?: MessageId;
|
|
389
317
|
}
|
|
390
|
-
interface AppsDynamiteSharedCardSection {
|
|
391
|
-
/** Indicates whether this section is collapsible. If a section is collapsible, the description must be given. */
|
|
392
|
-
collapsible?: boolean;
|
|
393
|
-
/** The header of the section. Formatted text is supported. */
|
|
394
|
-
header?: string;
|
|
395
|
-
/**
|
|
396
|
-
* The number of uncollapsible widgets. For example, when a section contains five widgets and the `numUncollapsibleWidget` is set to `2`, the first two widgets are always shown and the
|
|
397
|
-
* last three are collapsed as default. The `numUncollapsibleWidget` is taken into account only when collapsible is set to `true`.
|
|
398
|
-
*/
|
|
399
|
-
uncollapsibleWidgetsCount?: number;
|
|
400
|
-
/** A section must contain at least 1 widget. */
|
|
401
|
-
widgets?: AppsDynamiteSharedWidget[];
|
|
402
|
-
}
|
|
403
318
|
interface AppsDynamiteSharedChatItem {
|
|
404
319
|
/** Information needed to render the specific type of feed item. */
|
|
405
320
|
activityInfo?: AppsDynamiteSharedChatItemActivityInfo[];
|
|
@@ -438,38 +353,6 @@ declare namespace gapi.client {
|
|
|
438
353
|
/** Indicates whether the group has inline replies enabled. If enabled, clients will render the space with inline replies. */
|
|
439
354
|
inlineThreadingEnabled?: boolean;
|
|
440
355
|
}
|
|
441
|
-
interface AppsDynamiteSharedColumns {
|
|
442
|
-
/** Each card supports up to 2 columns. */
|
|
443
|
-
columnItems?: AppsDynamiteSharedColumnsColumn[];
|
|
444
|
-
/** Controls how the column resizes based on screen width. */
|
|
445
|
-
wrapStyle?: string;
|
|
446
|
-
}
|
|
447
|
-
interface AppsDynamiteSharedColumnsColumn {
|
|
448
|
-
/** The horizontal alignment of the column. */
|
|
449
|
-
horizontalAlignment?: string;
|
|
450
|
-
/** Specifies how the column content is sized horizontally. */
|
|
451
|
-
horizontalSizeStyle?: string;
|
|
452
|
-
/** The vertical alignment of the column. */
|
|
453
|
-
verticalAlignment?: string;
|
|
454
|
-
/** LINT.ThenChange(//google/apps/card/v1/card.proto) Array of widgets included in the column. */
|
|
455
|
-
widgets?: AppsDynamiteSharedColumnsColumnWidgets[];
|
|
456
|
-
}
|
|
457
|
-
interface AppsDynamiteSharedColumnsColumnWidgets {
|
|
458
|
-
/** ButtonList widget. */
|
|
459
|
-
buttonList?: AppsDynamiteSharedButtonList;
|
|
460
|
-
/** DateTimePicker widget. */
|
|
461
|
-
dateTimePicker?: AppsDynamiteSharedDateTimePicker;
|
|
462
|
-
/** DecoratedText widget. */
|
|
463
|
-
decoratedText?: AppsDynamiteSharedDecoratedText;
|
|
464
|
-
/** Image widget. */
|
|
465
|
-
image?: AppsDynamiteSharedImage;
|
|
466
|
-
/** SelectionInput widget. */
|
|
467
|
-
selectionInput?: AppsDynamiteSharedSelectionInput;
|
|
468
|
-
/** TextInput widget. */
|
|
469
|
-
textInput?: AppsDynamiteSharedTextInput;
|
|
470
|
-
/** Text paragraph widget. */
|
|
471
|
-
textParagraph?: AppsDynamiteSharedTextParagraph;
|
|
472
|
-
}
|
|
473
356
|
interface AppsDynamiteSharedContentReportType {
|
|
474
357
|
/** Required. Google-defined system violation, covering the most common violations. */
|
|
475
358
|
systemViolation?: string;
|
|
@@ -505,68 +388,10 @@ declare namespace gapi.client {
|
|
|
505
388
|
/** Unique key for a custom emoji resource. Required. This field is *always* populated. */
|
|
506
389
|
uuid?: string;
|
|
507
390
|
}
|
|
508
|
-
interface AppsDynamiteSharedDateTimePicker {
|
|
509
|
-
/** The label for the field that displays to the user. */
|
|
510
|
-
label?: string;
|
|
511
|
-
/** The name of the text input that's used in formInput, and uniquely identifies this input. */
|
|
512
|
-
name?: string;
|
|
513
|
-
/** Triggered when the user clicks Save or Clear from the date/time picker dialog. This is only triggered if the value changed as a result of the Save/Clear operation. */
|
|
514
|
-
onChangeAction?: AppsDynamiteSharedAction;
|
|
515
|
-
/**
|
|
516
|
-
* The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If not set, it uses the user's time zone
|
|
517
|
-
* setting on the client side.
|
|
518
|
-
*/
|
|
519
|
-
timezoneOffsetDate?: number;
|
|
520
|
-
/** The type of the date/time picker. */
|
|
521
|
-
type?: string;
|
|
522
|
-
/**
|
|
523
|
-
* The value to display as the default value before user input or previous user input. It is represented in milliseconds (Epoch time). For `DATE_AND_TIME` type, the full epoch value is
|
|
524
|
-
* used. For `DATE_ONLY` type, only date of the epoch time is used. For `TIME_ONLY` type, only time of the epoch time is used. For example, you can set epoch time to `3 * 60 * 60 *
|
|
525
|
-
* 1000` to represent 3am.
|
|
526
|
-
*/
|
|
527
|
-
valueMsEpoch?: string;
|
|
528
|
-
}
|
|
529
|
-
interface AppsDynamiteSharedDecoratedText {
|
|
530
|
-
/** The formatted text label that shows below the main text. */
|
|
531
|
-
bottomLabel?: string;
|
|
532
|
-
/** A button that can be clicked to trigger an action. */
|
|
533
|
-
button?: AppsDynamiteSharedButton;
|
|
534
|
-
/** An icon displayed after the text. */
|
|
535
|
-
endIcon?: AppsDynamiteSharedIcon;
|
|
536
|
-
/** Deprecated in favor of start_icon. */
|
|
537
|
-
icon?: AppsDynamiteSharedIcon;
|
|
538
|
-
/** Only the top and bottom label and content region are clickable. */
|
|
539
|
-
onClick?: AppsDynamiteSharedOnClick;
|
|
540
|
-
/** The icon displayed in front of the text. */
|
|
541
|
-
startIcon?: AppsDynamiteSharedIcon;
|
|
542
|
-
/** A switch widget can be clicked to change its state or trigger an action. */
|
|
543
|
-
switchControl?: AppsDynamiteSharedDecoratedTextSwitchControl;
|
|
544
|
-
/** Required. The main widget formatted text. See Text formatting for details. */
|
|
545
|
-
text?: string;
|
|
546
|
-
/** The formatted text label that shows above the main text. */
|
|
547
|
-
topLabel?: string;
|
|
548
|
-
/** The wrap text setting. If `true`, the text is wrapped and displayed in multiline. Otherwise, the text is truncated. */
|
|
549
|
-
wrapText?: boolean;
|
|
550
|
-
}
|
|
551
|
-
interface AppsDynamiteSharedDecoratedTextSwitchControl {
|
|
552
|
-
/** The control type, either switch or checkbox. */
|
|
553
|
-
controlType?: string;
|
|
554
|
-
/** The name of the switch widget that's used in formInput. */
|
|
555
|
-
name?: string;
|
|
556
|
-
/** The action when the switch state is changed. */
|
|
557
|
-
onChangeAction?: AppsDynamiteSharedAction;
|
|
558
|
-
/** If the switch is selected. */
|
|
559
|
-
selected?: boolean;
|
|
560
|
-
/** The value is what is passed back in the callback. */
|
|
561
|
-
value?: string;
|
|
562
|
-
}
|
|
563
391
|
interface AppsDynamiteSharedDimension {
|
|
564
392
|
height?: number;
|
|
565
393
|
width?: number;
|
|
566
394
|
}
|
|
567
|
-
// tslint:disable-next-line:no-empty-interface
|
|
568
|
-
interface AppsDynamiteSharedDivider {
|
|
569
|
-
}
|
|
570
395
|
interface AppsDynamiteSharedDlpMetricsMetadata {
|
|
571
396
|
/** [required] Describes the DLP status of message send and attachment upload events. */
|
|
572
397
|
dlpStatus?: string;
|
|
@@ -597,35 +422,6 @@ declare namespace gapi.client {
|
|
|
597
422
|
/** Whether to show the action buttons in the card for the suggestions. */
|
|
598
423
|
showActionButtons?: boolean;
|
|
599
424
|
}
|
|
600
|
-
interface AppsDynamiteSharedGrid {
|
|
601
|
-
/** The border style to apply to each grid item. */
|
|
602
|
-
borderStyle?: AppsDynamiteSharedBorderStyle;
|
|
603
|
-
/**
|
|
604
|
-
* The number of columns to display in the grid. A default value is used if this field isn't specified, and that default value is different depending on where the grid is shown (dialog
|
|
605
|
-
* versus companion).
|
|
606
|
-
*/
|
|
607
|
-
columnCount?: number;
|
|
608
|
-
/** The items to display in the grid. */
|
|
609
|
-
items?: AppsDynamiteSharedGridGridItem[];
|
|
610
|
-
/** This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. */
|
|
611
|
-
onClick?: AppsDynamiteSharedOnClick;
|
|
612
|
-
/** The text that displays in the grid header. */
|
|
613
|
-
title?: string;
|
|
614
|
-
}
|
|
615
|
-
interface AppsDynamiteSharedGridGridItem {
|
|
616
|
-
/** A user-specified identifier for this grid item. This identifier is returned in the parent Grid's onClick callback parameters. */
|
|
617
|
-
id?: string;
|
|
618
|
-
/** The image that displays in the grid item. */
|
|
619
|
-
image?: AppsDynamiteSharedImageComponent;
|
|
620
|
-
/** The layout to use for the grid item. */
|
|
621
|
-
layout?: string;
|
|
622
|
-
/** The grid item's subtitle. */
|
|
623
|
-
subtitle?: string;
|
|
624
|
-
/** The horizontal alignment of the grid item's text. */
|
|
625
|
-
textAlignment?: string;
|
|
626
|
-
/** The grid item's title. */
|
|
627
|
-
title?: string;
|
|
628
|
-
}
|
|
629
425
|
interface AppsDynamiteSharedGroupDetails {
|
|
630
426
|
/** A simple text that describes the purpose of a single Group, the general theme of the topics to be posted and/or the denominator of the Group participants. */
|
|
631
427
|
description?: string;
|
|
@@ -635,39 +431,6 @@ declare namespace gapi.client {
|
|
|
635
431
|
interface AppsDynamiteSharedGroupVisibility {
|
|
636
432
|
state?: string;
|
|
637
433
|
}
|
|
638
|
-
interface AppsDynamiteSharedIcon {
|
|
639
|
-
/** The description of the icon, used for accessibility. The default value is provided if you don't specify one. */
|
|
640
|
-
altText?: string;
|
|
641
|
-
/** The icon specified by a URL. */
|
|
642
|
-
iconUrl?: string;
|
|
643
|
-
/** The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a standard icon. */
|
|
644
|
-
imageType?: string;
|
|
645
|
-
/** The icon specified by the string name of a list of known icons */
|
|
646
|
-
knownIcon?: string;
|
|
647
|
-
}
|
|
648
|
-
interface AppsDynamiteSharedImage {
|
|
649
|
-
/** The alternative text of this image, used for accessibility. */
|
|
650
|
-
altText?: string;
|
|
651
|
-
/** An image URL. */
|
|
652
|
-
imageUrl?: string;
|
|
653
|
-
onClick?: AppsDynamiteSharedOnClick;
|
|
654
|
-
}
|
|
655
|
-
interface AppsDynamiteSharedImageComponent {
|
|
656
|
-
/** The accessibility label for the image. */
|
|
657
|
-
altText?: string;
|
|
658
|
-
/** The border style to apply to the image. */
|
|
659
|
-
borderStyle?: AppsDynamiteSharedBorderStyle;
|
|
660
|
-
/** The crop style to apply to the image. */
|
|
661
|
-
cropStyle?: AppsDynamiteSharedImageCropStyle;
|
|
662
|
-
/** The image URL. */
|
|
663
|
-
imageUri?: string;
|
|
664
|
-
}
|
|
665
|
-
interface AppsDynamiteSharedImageCropStyle {
|
|
666
|
-
/** The aspect ratio to use if the crop type is `RECTANGLE_CUSTOM`. */
|
|
667
|
-
aspectRatio?: number;
|
|
668
|
-
/** The crop type. */
|
|
669
|
-
type?: string;
|
|
670
|
-
}
|
|
671
434
|
interface AppsDynamiteSharedJustification {
|
|
672
435
|
/** Time the action took place. */
|
|
673
436
|
actionTime?: string;
|
|
@@ -711,54 +474,6 @@ declare namespace gapi.client {
|
|
|
711
474
|
/** An enum indicating which 1P application's payload this is. This field is required to add 1P payload. */
|
|
712
475
|
type?: string;
|
|
713
476
|
}
|
|
714
|
-
interface AppsDynamiteSharedOnClick {
|
|
715
|
-
/** If specified, an action is triggered by this onClick. */
|
|
716
|
-
action?: AppsDynamiteSharedAction;
|
|
717
|
-
/** Triggers host app action on click directly without invoking form actions. This is currently not available to end-users and is used internal only. */
|
|
718
|
-
hostAppAction?: HostAppActionMarkup;
|
|
719
|
-
/**
|
|
720
|
-
* An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some
|
|
721
|
-
* preparation work is required for web client to do before the open link action response comes back.
|
|
722
|
-
*/
|
|
723
|
-
openDynamicLinkAction?: AppsDynamiteSharedAction;
|
|
724
|
-
/** If specified, this onClick triggers an open link action. */
|
|
725
|
-
openLink?: AppsDynamiteSharedOpenLink;
|
|
726
|
-
}
|
|
727
|
-
interface AppsDynamiteSharedOpenLink {
|
|
728
|
-
/**
|
|
729
|
-
* Represents the platform specific uri/intent to open on each client. For example: A companion_url will open in a companion window on the web. An iOS URL and android intent will open
|
|
730
|
-
* in the corresponding hosting apps. If these platform specific URLs can't be handled correctly, i.e. if the companion isn't supported on web and the hosting apps aren't available on
|
|
731
|
-
* the mobile platforms then the `uri` will open in a new browser window on all the platforms.
|
|
732
|
-
*/
|
|
733
|
-
appUri?: AppsDynamiteSharedOpenLinkAppUri;
|
|
734
|
-
onClose?: string;
|
|
735
|
-
openAs?: string;
|
|
736
|
-
/** The URL to open. */
|
|
737
|
-
url?: string;
|
|
738
|
-
}
|
|
739
|
-
interface AppsDynamiteSharedOpenLinkAppUri {
|
|
740
|
-
/** An intent object to be opened in the corresponding android hosting app. */
|
|
741
|
-
androidIntent?: AppsDynamiteSharedOpenLinkAppUriIntent;
|
|
742
|
-
/** A companion uri string to be opened in the chat companion window. on the web. */
|
|
743
|
-
companionUri?: string;
|
|
744
|
-
/** A uri string to be opened in the corresponding iOS hosting app. */
|
|
745
|
-
iosUri?: string;
|
|
746
|
-
}
|
|
747
|
-
interface AppsDynamiteSharedOpenLinkAppUriIntent {
|
|
748
|
-
/** A list of extra data for the android intent. For example, for a calendar event edit intent, the event title information can be passed as extra data. */
|
|
749
|
-
extraData?: AppsDynamiteSharedOpenLinkAppUriIntentExtraData[];
|
|
750
|
-
/**
|
|
751
|
-
* An android intent action string for the {@link android.content.Intent} object. For example: for the view intent action type, a valid value will be
|
|
752
|
-
* android.content.Intent.ACTION_VIEW.
|
|
753
|
-
*/
|
|
754
|
-
intentAction?: string;
|
|
755
|
-
}
|
|
756
|
-
interface AppsDynamiteSharedOpenLinkAppUriIntentExtraData {
|
|
757
|
-
/** A key for the intent extra data. */
|
|
758
|
-
key?: string;
|
|
759
|
-
/** Value for the given extra data key. */
|
|
760
|
-
value?: string;
|
|
761
|
-
}
|
|
762
477
|
interface AppsDynamiteSharedOrganizationInfo {
|
|
763
478
|
consumerInfo?: any;
|
|
764
479
|
customerInfo?: AppsDynamiteSharedOrganizationInfoCustomerInfo;
|
|
@@ -803,24 +518,6 @@ declare namespace gapi.client {
|
|
|
803
518
|
interface AppsDynamiteSharedSegmentedMembershipCounts {
|
|
804
519
|
value?: AppsDynamiteSharedSegmentedMembershipCount[];
|
|
805
520
|
}
|
|
806
|
-
interface AppsDynamiteSharedSelectionInput {
|
|
807
|
-
items?: AppsDynamiteSharedSelectionInputSelectionItem[];
|
|
808
|
-
/** The label displayed ahead of the switch control. */
|
|
809
|
-
label?: string;
|
|
810
|
-
/** The name of the text input which is used in formInput. */
|
|
811
|
-
name?: string;
|
|
812
|
-
/** If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button. */
|
|
813
|
-
onChangeAction?: AppsDynamiteSharedAction;
|
|
814
|
-
type?: string;
|
|
815
|
-
}
|
|
816
|
-
interface AppsDynamiteSharedSelectionInputSelectionItem {
|
|
817
|
-
/** If more than one item is selected for `RADIO_BUTTON` and `DROPDOWN`, the first selected item is treated as selected and the ones after are ignored. */
|
|
818
|
-
selected?: boolean;
|
|
819
|
-
/** The text to be displayed. */
|
|
820
|
-
text?: string;
|
|
821
|
-
/** The value associated with this item. The client should use this as a form input value. */
|
|
822
|
-
value?: string;
|
|
823
|
-
}
|
|
824
521
|
interface AppsDynamiteSharedSpaceInfo {
|
|
825
522
|
avatarInfo?: AppsDynamiteSharedAvatarInfo;
|
|
826
523
|
avatarUrl?: string;
|
|
@@ -838,13 +535,6 @@ declare namespace gapi.client {
|
|
|
838
535
|
/** searching user's membership state in this space */
|
|
839
536
|
userMembershipState?: string;
|
|
840
537
|
}
|
|
841
|
-
interface AppsDynamiteSharedSuggestions {
|
|
842
|
-
/** A list of suggestions items which will be used in are used in autocomplete. */
|
|
843
|
-
items?: AppsDynamiteSharedSuggestionsSuggestionItem[];
|
|
844
|
-
}
|
|
845
|
-
interface AppsDynamiteSharedSuggestionsSuggestionItem {
|
|
846
|
-
text?: string;
|
|
847
|
-
}
|
|
848
538
|
interface AppsDynamiteSharedTasksAnnotationData {
|
|
849
539
|
assigneeChange?: AppsDynamiteSharedTasksAnnotationDataAssigneeChange;
|
|
850
540
|
completionChange?: any;
|
|
@@ -891,66 +581,378 @@ declare namespace gapi.client {
|
|
|
891
581
|
// tslint:disable-next-line:no-empty-interface
|
|
892
582
|
interface AppsDynamiteSharedTasksMessageIntegrationPayload {
|
|
893
583
|
}
|
|
894
|
-
interface
|
|
584
|
+
interface AppsDynamiteSharedUserBlockRelationship {
|
|
585
|
+
hasBlockedRequester?: boolean;
|
|
586
|
+
isBlockedByRequester?: boolean;
|
|
587
|
+
}
|
|
588
|
+
interface AppsDynamiteSharedVideoReference {
|
|
589
|
+
/** Available transcode format. Value is defined in video/storage/proto/content_header.proto */
|
|
590
|
+
format?: number[];
|
|
591
|
+
/** Transcode status */
|
|
592
|
+
status?: string;
|
|
593
|
+
}
|
|
594
|
+
interface AppsDynamiteStorageAction {
|
|
595
|
+
/** Apps Script function to invoke when the containing element is clicked/activated. */
|
|
596
|
+
function?: string;
|
|
597
|
+
interaction?: string;
|
|
598
|
+
loadIndicator?: string;
|
|
599
|
+
/** List of action parameters. */
|
|
600
|
+
parameters?: AppsDynamiteStorageActionActionParameter[];
|
|
601
|
+
}
|
|
602
|
+
interface AppsDynamiteStorageActionActionParameter {
|
|
603
|
+
/** The name of the parameter for the action script. */
|
|
604
|
+
key?: string;
|
|
605
|
+
/** The value of the parameter. */
|
|
606
|
+
value?: string;
|
|
607
|
+
}
|
|
608
|
+
interface AppsDynamiteStorageBorderStyle {
|
|
609
|
+
/** The corner radius for the border. */
|
|
610
|
+
cornerRadius?: number;
|
|
611
|
+
/** The colors to use when the type is `BORDER_TYPE_STROKE`. */
|
|
612
|
+
strokeColor?: Color;
|
|
613
|
+
/** The border type. */
|
|
614
|
+
type?: string;
|
|
615
|
+
}
|
|
616
|
+
interface AppsDynamiteStorageButton {
|
|
617
|
+
/** The alternative text used for accessibility. Has no effect when an icon is set; use `icon.alt_text` instead. */
|
|
618
|
+
altText?: string;
|
|
619
|
+
/** If set, the button is filled with a solid background. */
|
|
620
|
+
color?: Color;
|
|
621
|
+
/** If true, the button is displayed in a disabled state and doesn't respond to user actions. */
|
|
622
|
+
disabled?: boolean;
|
|
623
|
+
/** The icon image. */
|
|
624
|
+
icon?: AppsDynamiteStorageIcon;
|
|
625
|
+
/** The action to perform when the button is clicked. */
|
|
626
|
+
onClick?: AppsDynamiteStorageOnClick;
|
|
627
|
+
/** The text of the button. */
|
|
628
|
+
text?: string;
|
|
629
|
+
}
|
|
630
|
+
interface AppsDynamiteStorageButtonList {
|
|
631
|
+
buttons?: AppsDynamiteStorageButton[];
|
|
632
|
+
}
|
|
633
|
+
interface AppsDynamiteStorageCard {
|
|
634
|
+
/**
|
|
635
|
+
* The actions of this card. They are added to a card's generated toolbar menu. For example, the following JSON constructs a card action menu with Settings and Send Feedback options:
|
|
636
|
+
* ``` "card_actions": [ { "actionLabel": "Setting", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator":
|
|
637
|
+
* "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ```
|
|
638
|
+
*/
|
|
639
|
+
cardActions?: AppsDynamiteStorageCardCardAction[];
|
|
640
|
+
/** The header of the card. A header usually contains a title and an image. */
|
|
641
|
+
header?: AppsDynamiteStorageCardCardHeader;
|
|
642
|
+
/** Name of the card, which is used as a identifier for the card in card navigation. */
|
|
643
|
+
name?: string;
|
|
644
|
+
/** Sections are separated by a line divider. */
|
|
645
|
+
sections?: AppsDynamiteStorageCardSection[];
|
|
646
|
+
}
|
|
647
|
+
interface AppsDynamiteStorageCardCardAction {
|
|
648
|
+
/** The label that displays as the action menu item. */
|
|
649
|
+
actionLabel?: string;
|
|
650
|
+
/** The onclick action for this action item. */
|
|
651
|
+
onClick?: AppsDynamiteStorageOnClick;
|
|
652
|
+
}
|
|
653
|
+
interface AppsDynamiteStorageCardCardHeader {
|
|
654
|
+
/** The alternative text of this image which is used for accessibility. */
|
|
655
|
+
imageAltText?: string;
|
|
656
|
+
/** The image's type. */
|
|
657
|
+
imageType?: string;
|
|
658
|
+
/** The URL of the image in the card header. */
|
|
659
|
+
imageUrl?: string;
|
|
660
|
+
/** The subtitle of the card header. */
|
|
661
|
+
subtitle?: string;
|
|
662
|
+
/**
|
|
663
|
+
* The title of the card header. The title must be specified. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is
|
|
664
|
+
* specified, it takes up both lines.
|
|
665
|
+
*/
|
|
666
|
+
title?: string;
|
|
667
|
+
}
|
|
668
|
+
interface AppsDynamiteStorageCardSection {
|
|
669
|
+
/** Indicates whether this section is collapsible. If a section is collapsible, the description must be given. */
|
|
670
|
+
collapsible?: boolean;
|
|
671
|
+
/** The header of the section. Formatted text is supported. */
|
|
672
|
+
header?: string;
|
|
673
|
+
/**
|
|
674
|
+
* The number of uncollapsible widgets. For example, when a section contains five widgets and the `numUncollapsibleWidget` is set to `2`, the first two widgets are always shown and the
|
|
675
|
+
* last three are collapsed as default. The `numUncollapsibleWidget` is taken into account only when collapsible is set to `true`.
|
|
676
|
+
*/
|
|
677
|
+
uncollapsibleWidgetsCount?: number;
|
|
678
|
+
/** A section must contain at least 1 widget. */
|
|
679
|
+
widgets?: AppsDynamiteStorageWidget[];
|
|
680
|
+
}
|
|
681
|
+
interface AppsDynamiteStorageColumns {
|
|
682
|
+
/** Each card supports up to 2 columns. */
|
|
683
|
+
columnItems?: AppsDynamiteStorageColumnsColumn[];
|
|
684
|
+
/** Controls how the column resizes based on screen width. */
|
|
685
|
+
wrapStyle?: string;
|
|
686
|
+
}
|
|
687
|
+
interface AppsDynamiteStorageColumnsColumn {
|
|
688
|
+
/** The horizontal alignment of the column. */
|
|
689
|
+
horizontalAlignment?: string;
|
|
690
|
+
/** Specifies how the column content is sized horizontally. */
|
|
691
|
+
horizontalSizeStyle?: string;
|
|
692
|
+
/** The vertical alignment of the column. */
|
|
693
|
+
verticalAlignment?: string;
|
|
694
|
+
/** LINT.ThenChange(//depot/google3/google/apps/card/v1/card.proto) Array of widgets included in the column. */
|
|
695
|
+
widgets?: AppsDynamiteStorageColumnsColumnWidgets[];
|
|
696
|
+
}
|
|
697
|
+
interface AppsDynamiteStorageColumnsColumnWidgets {
|
|
698
|
+
/** ButtonList widget. */
|
|
699
|
+
buttonList?: AppsDynamiteStorageButtonList;
|
|
700
|
+
/** DateTimePicker widget. */
|
|
701
|
+
dateTimePicker?: AppsDynamiteStorageDateTimePicker;
|
|
702
|
+
/** DecoratedText widget. */
|
|
703
|
+
decoratedText?: AppsDynamiteStorageDecoratedText;
|
|
704
|
+
/** Image widget. */
|
|
705
|
+
image?: AppsDynamiteStorageImage;
|
|
706
|
+
/** SelectionInput widget. */
|
|
707
|
+
selectionInput?: AppsDynamiteStorageSelectionInput;
|
|
708
|
+
/** TextInput widget. */
|
|
709
|
+
textInput?: AppsDynamiteStorageTextInput;
|
|
710
|
+
/** Text paragraph widget. */
|
|
711
|
+
textParagraph?: AppsDynamiteStorageTextParagraph;
|
|
712
|
+
}
|
|
713
|
+
interface AppsDynamiteStorageDateTimePicker {
|
|
714
|
+
/** The label for the field that displays to the user. */
|
|
715
|
+
label?: string;
|
|
716
|
+
/** The name of the text input that's used in formInput, and uniquely identifies this input. */
|
|
717
|
+
name?: string;
|
|
718
|
+
/** Triggered when the user clicks Save or Clear from the date/time picker dialog. This is only triggered if the value changed as a result of the Save/Clear operation. */
|
|
719
|
+
onChangeAction?: AppsDynamiteStorageAction;
|
|
720
|
+
/**
|
|
721
|
+
* The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If not set, it uses the user's time zone
|
|
722
|
+
* setting on the client side.
|
|
723
|
+
*/
|
|
724
|
+
timezoneOffsetDate?: number;
|
|
725
|
+
/** The type of the date/time picker. */
|
|
726
|
+
type?: string;
|
|
727
|
+
/**
|
|
728
|
+
* The value to display as the default value before user input or previous user input. It is represented in milliseconds (Epoch time). For `DATE_AND_TIME` type, the full epoch value is
|
|
729
|
+
* used. For `DATE_ONLY` type, only date of the epoch time is used. For `TIME_ONLY` type, only time of the epoch time is used. For example, you can set epoch time to `3 * 60 * 60 *
|
|
730
|
+
* 1000` to represent 3am.
|
|
731
|
+
*/
|
|
732
|
+
valueMsEpoch?: string;
|
|
733
|
+
}
|
|
734
|
+
interface AppsDynamiteStorageDecoratedText {
|
|
735
|
+
/** The formatted text label that shows below the main text. */
|
|
736
|
+
bottomLabel?: string;
|
|
737
|
+
/** A button that can be clicked to trigger an action. */
|
|
738
|
+
button?: AppsDynamiteStorageButton;
|
|
739
|
+
/** An icon displayed after the text. */
|
|
740
|
+
endIcon?: AppsDynamiteStorageIcon;
|
|
741
|
+
/** Deprecated in favor of start_icon. */
|
|
742
|
+
icon?: AppsDynamiteStorageIcon;
|
|
743
|
+
/** Only the top and bottom label and content region are clickable. */
|
|
744
|
+
onClick?: AppsDynamiteStorageOnClick;
|
|
745
|
+
/** The icon displayed in front of the text. */
|
|
746
|
+
startIcon?: AppsDynamiteStorageIcon;
|
|
747
|
+
/** A switch widget can be clicked to change its state or trigger an action. */
|
|
748
|
+
switchControl?: AppsDynamiteStorageDecoratedTextSwitchControl;
|
|
749
|
+
/** Required. The main widget formatted text. See Text formatting for details. */
|
|
750
|
+
text?: string;
|
|
751
|
+
/** The formatted text label that shows above the main text. */
|
|
752
|
+
topLabel?: string;
|
|
753
|
+
/** The wrap text setting. If `true`, the text is wrapped and displayed in multiline. Otherwise, the text is truncated. */
|
|
754
|
+
wrapText?: boolean;
|
|
755
|
+
}
|
|
756
|
+
interface AppsDynamiteStorageDecoratedTextSwitchControl {
|
|
757
|
+
/** The control type, either switch or checkbox. */
|
|
758
|
+
controlType?: string;
|
|
759
|
+
/** The name of the switch widget that's used in formInput. */
|
|
760
|
+
name?: string;
|
|
761
|
+
/** The action when the switch state is changed. */
|
|
762
|
+
onChangeAction?: AppsDynamiteStorageAction;
|
|
763
|
+
/** If the switch is selected. */
|
|
764
|
+
selected?: boolean;
|
|
765
|
+
/** The value is what is passed back in the callback. */
|
|
766
|
+
value?: string;
|
|
767
|
+
}
|
|
768
|
+
// tslint:disable-next-line:no-empty-interface
|
|
769
|
+
interface AppsDynamiteStorageDivider {
|
|
770
|
+
}
|
|
771
|
+
interface AppsDynamiteStorageGrid {
|
|
772
|
+
/** The border style to apply to each grid item. */
|
|
773
|
+
borderStyle?: AppsDynamiteStorageBorderStyle;
|
|
774
|
+
/**
|
|
775
|
+
* The number of columns to display in the grid. A default value is used if this field isn't specified, and that default value is different depending on where the grid is shown (dialog
|
|
776
|
+
* versus companion).
|
|
777
|
+
*/
|
|
778
|
+
columnCount?: number;
|
|
779
|
+
/** The items to display in the grid. */
|
|
780
|
+
items?: AppsDynamiteStorageGridGridItem[];
|
|
781
|
+
/** This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. */
|
|
782
|
+
onClick?: AppsDynamiteStorageOnClick;
|
|
783
|
+
/** The text that displays in the grid header. */
|
|
784
|
+
title?: string;
|
|
785
|
+
}
|
|
786
|
+
interface AppsDynamiteStorageGridGridItem {
|
|
787
|
+
/** A user-specified identifier for this grid item. This identifier is returned in the parent Grid's onClick callback parameters. */
|
|
788
|
+
id?: string;
|
|
789
|
+
/** The image that displays in the grid item. */
|
|
790
|
+
image?: AppsDynamiteStorageImageComponent;
|
|
791
|
+
/** The layout to use for the grid item. */
|
|
792
|
+
layout?: string;
|
|
793
|
+
/** The grid item's subtitle. */
|
|
794
|
+
subtitle?: string;
|
|
795
|
+
/** The horizontal alignment of the grid item's text. */
|
|
796
|
+
textAlignment?: string;
|
|
797
|
+
/** The grid item's title. */
|
|
798
|
+
title?: string;
|
|
799
|
+
}
|
|
800
|
+
interface AppsDynamiteStorageIcon {
|
|
801
|
+
/** The description of the icon, used for accessibility. The default value is provided if you don't specify one. */
|
|
802
|
+
altText?: string;
|
|
803
|
+
/** The icon specified by a URL. */
|
|
804
|
+
iconUrl?: string;
|
|
805
|
+
/** The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a standard icon. */
|
|
806
|
+
imageType?: string;
|
|
807
|
+
/** The icon specified by the string name of a list of known icons */
|
|
808
|
+
knownIcon?: string;
|
|
809
|
+
}
|
|
810
|
+
interface AppsDynamiteStorageImage {
|
|
811
|
+
/** The alternative text of this image, used for accessibility. */
|
|
812
|
+
altText?: string;
|
|
813
|
+
/** An image URL. */
|
|
814
|
+
imageUrl?: string;
|
|
815
|
+
onClick?: AppsDynamiteStorageOnClick;
|
|
816
|
+
}
|
|
817
|
+
interface AppsDynamiteStorageImageComponent {
|
|
818
|
+
/** The accessibility label for the image. */
|
|
819
|
+
altText?: string;
|
|
820
|
+
/** The border style to apply to the image. */
|
|
821
|
+
borderStyle?: AppsDynamiteStorageBorderStyle;
|
|
822
|
+
/** The crop style to apply to the image. */
|
|
823
|
+
cropStyle?: AppsDynamiteStorageImageCropStyle;
|
|
824
|
+
/** The image URL. */
|
|
825
|
+
imageUri?: string;
|
|
826
|
+
}
|
|
827
|
+
interface AppsDynamiteStorageImageCropStyle {
|
|
828
|
+
/** The aspect ratio to use if the crop type is `RECTANGLE_CUSTOM`. */
|
|
829
|
+
aspectRatio?: number;
|
|
830
|
+
/** The crop type. */
|
|
831
|
+
type?: string;
|
|
832
|
+
}
|
|
833
|
+
interface AppsDynamiteStorageOnClick {
|
|
834
|
+
/** If specified, an action is triggered by this onClick. */
|
|
835
|
+
action?: AppsDynamiteStorageAction;
|
|
836
|
+
/** Triggers host app action on click directly without invoking form actions. This is currently not available to end-users and is used internal only. */
|
|
837
|
+
hostAppAction?: HostAppActionMarkup;
|
|
838
|
+
/**
|
|
839
|
+
* An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some
|
|
840
|
+
* preparation work is required for web client to do before the open link action response comes back.
|
|
841
|
+
*/
|
|
842
|
+
openDynamicLinkAction?: AppsDynamiteStorageAction;
|
|
843
|
+
/** If specified, this onClick triggers an open link action. */
|
|
844
|
+
openLink?: AppsDynamiteStorageOpenLink;
|
|
845
|
+
}
|
|
846
|
+
interface AppsDynamiteStorageOpenLink {
|
|
847
|
+
/**
|
|
848
|
+
* Represents the platform specific uri/intent to open on each client. For example: A companion_url will open in a companion window on the web. An iOS URL and android intent will open
|
|
849
|
+
* in the corresponding hosting apps. If these platform specific URLs can't be handled correctly, i.e. if the companion isn't supported on web and the hosting apps aren't available on
|
|
850
|
+
* the mobile platforms then the `uri` will open in a new browser window on all the platforms.
|
|
851
|
+
*/
|
|
852
|
+
appUri?: AppsDynamiteStorageOpenLinkAppUri;
|
|
853
|
+
onClose?: string;
|
|
854
|
+
openAs?: string;
|
|
855
|
+
/** The URL to open. */
|
|
856
|
+
url?: string;
|
|
857
|
+
}
|
|
858
|
+
interface AppsDynamiteStorageOpenLinkAppUri {
|
|
859
|
+
/** An intent object to be opened in the corresponding android hosting app. */
|
|
860
|
+
androidIntent?: AppsDynamiteStorageOpenLinkAppUriIntent;
|
|
861
|
+
/** A companion uri string to be opened in the chat companion window. on the web. */
|
|
862
|
+
companionUri?: string;
|
|
863
|
+
/** A uri string to be opened in the corresponding iOS hosting app. */
|
|
864
|
+
iosUri?: string;
|
|
865
|
+
}
|
|
866
|
+
interface AppsDynamiteStorageOpenLinkAppUriIntent {
|
|
867
|
+
/** A list of extra data for the android intent. For example, for a calendar event edit intent, the event title information can be passed as extra data. */
|
|
868
|
+
extraData?: AppsDynamiteStorageOpenLinkAppUriIntentExtraData[];
|
|
869
|
+
/**
|
|
870
|
+
* An android intent action string for the {@link android.content.Intent} object. For example: for the view intent action type, a valid value will be
|
|
871
|
+
* android.content.Intent.ACTION_VIEW.
|
|
872
|
+
*/
|
|
873
|
+
intentAction?: string;
|
|
874
|
+
}
|
|
875
|
+
interface AppsDynamiteStorageOpenLinkAppUriIntentExtraData {
|
|
876
|
+
/** A key for the intent extra data. */
|
|
877
|
+
key?: string;
|
|
878
|
+
/** Value for the given extra data key. */
|
|
879
|
+
value?: string;
|
|
880
|
+
}
|
|
881
|
+
interface AppsDynamiteStorageSelectionInput {
|
|
882
|
+
items?: AppsDynamiteStorageSelectionInputSelectionItem[];
|
|
883
|
+
/** The label displayed ahead of the switch control. */
|
|
884
|
+
label?: string;
|
|
885
|
+
/** The name of the text input which is used in formInput. */
|
|
886
|
+
name?: string;
|
|
887
|
+
/** If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button. */
|
|
888
|
+
onChangeAction?: AppsDynamiteStorageAction;
|
|
889
|
+
type?: string;
|
|
890
|
+
}
|
|
891
|
+
interface AppsDynamiteStorageSelectionInputSelectionItem {
|
|
892
|
+
/** If more than one item is selected for `RADIO_BUTTON` and `DROPDOWN`, the first selected item is treated as selected and the ones after are ignored. */
|
|
893
|
+
selected?: boolean;
|
|
894
|
+
/** The text to be displayed. */
|
|
895
|
+
text?: string;
|
|
896
|
+
/** The value associated with this item. The client should use this as a form input value. */
|
|
897
|
+
value?: string;
|
|
898
|
+
}
|
|
899
|
+
interface AppsDynamiteStorageSuggestions {
|
|
900
|
+
/** A list of suggestions items which will be used in are used in autocomplete. */
|
|
901
|
+
items?: AppsDynamiteStorageSuggestionsSuggestionItem[];
|
|
902
|
+
}
|
|
903
|
+
interface AppsDynamiteStorageSuggestionsSuggestionItem {
|
|
904
|
+
text?: string;
|
|
905
|
+
}
|
|
906
|
+
interface AppsDynamiteStorageTextInput {
|
|
895
907
|
/**
|
|
896
908
|
* The refresh function that returns suggestions based on the user's input text. If the callback is not specified, autocomplete is done in client side based on the initial suggestion
|
|
897
909
|
* items.
|
|
898
910
|
*/
|
|
899
|
-
autoCompleteAction?:
|
|
911
|
+
autoCompleteAction?: AppsDynamiteStorageAction;
|
|
900
912
|
/** The hint text. */
|
|
901
913
|
hintText?: string;
|
|
902
914
|
/** The initial suggestions made before any user input. */
|
|
903
|
-
initialSuggestions?:
|
|
915
|
+
initialSuggestions?: AppsDynamiteStorageSuggestions;
|
|
904
916
|
/** At least one of label and hintText must be specified. */
|
|
905
917
|
label?: string;
|
|
906
918
|
/** The name of the text input which is used in formInput. */
|
|
907
919
|
name?: string;
|
|
908
920
|
/** The onChange action, for example, invoke a function. */
|
|
909
|
-
onChangeAction?:
|
|
921
|
+
onChangeAction?: AppsDynamiteStorageAction;
|
|
910
922
|
/** The style of the text, for example, a single line or multiple lines. */
|
|
911
923
|
type?: string;
|
|
912
924
|
/** The default value when there is no input from the user. */
|
|
913
925
|
value?: string;
|
|
914
926
|
}
|
|
915
|
-
interface
|
|
927
|
+
interface AppsDynamiteStorageTextParagraph {
|
|
916
928
|
/** The text that's shown in the widget. */
|
|
917
929
|
text?: string;
|
|
918
930
|
}
|
|
919
|
-
interface
|
|
920
|
-
hasBlockedRequester?: boolean;
|
|
921
|
-
isBlockedByRequester?: boolean;
|
|
922
|
-
}
|
|
923
|
-
interface AppsDynamiteSharedVideoReference {
|
|
924
|
-
/** Available transcode format. Value is defined in video/storage/proto/content_header.proto */
|
|
925
|
-
format?: number[];
|
|
926
|
-
/** Transcode status */
|
|
927
|
-
status?: string;
|
|
928
|
-
}
|
|
929
|
-
interface AppsDynamiteSharedWidget {
|
|
931
|
+
interface AppsDynamiteStorageWidget {
|
|
930
932
|
/**
|
|
931
933
|
* A list of buttons. For example, the following JSON creates two buttons. The first is a filled text button and the second is an image button that opens a link: ``` "buttonList": {
|
|
932
934
|
* "buttons": [ "button": { "text": "Edit", "Color": { "Red": 255 "Green": 255 "Blue": 255 } "disabled": true }, "button": { "icon": { "knownIcon": "INVITE" "altText": "check calendar"
|
|
933
935
|
* }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } }, ] } ```
|
|
934
936
|
*/
|
|
935
|
-
buttonList?:
|
|
937
|
+
buttonList?: AppsDynamiteStorageButtonList;
|
|
936
938
|
/**
|
|
937
939
|
* Displays a single row of columns with widgets stacked vertically in each column. For example, the following JSON creates a 2 column widget each containing a single item. ```
|
|
938
940
|
* "columns": { "wrapStyle": "WRAP", "columnItems": [ { "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", "horizontalAlignment": "CENTER", "verticalAlignment" : "CENTER", "widgets": [ {
|
|
939
941
|
* "textParagraph": { "text": "First column text paragraph", } } ] }, { "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", "horizontalAlignment": "CENTER", "verticalAlignment" : "CENTER",
|
|
940
942
|
* "widgets": [ { "textParagraph": { "text": "Second column text paragraph", } } ] }, ] } } ```
|
|
941
943
|
*/
|
|
942
|
-
columns?:
|
|
944
|
+
columns?: AppsDynamiteStorageColumns;
|
|
943
945
|
/**
|
|
944
946
|
* Displays a selection/input widget for date/time. For example, the following JSON creates a date/time picker for an appointment time: ``` "date_time_picker": { "name":
|
|
945
947
|
* "appointment_time", "label": "Book your appointment at:", "type": "DateTimePickerType.DATE_AND_TIME", "valueMsEpoch": "796435200000" } ```
|
|
946
948
|
*/
|
|
947
|
-
dateTimePicker?:
|
|
949
|
+
dateTimePicker?: AppsDynamiteStorageDateTimePicker;
|
|
948
950
|
/**
|
|
949
951
|
* Displays a decorated text item in this widget. For example, the following JSON creates a decorated text widget showing email address: ``` "decoratedText": { "icon": { "knownIcon":
|
|
950
952
|
* "EMAIL" }, "topLabel": "Email Address", "content": "heba.salam@example.com", "bottomLabel": "This is a new Email address!", "switchWidget": { "name":
|
|
951
953
|
* "has_send_welcome_email_to_heba_salam", "selected": false, "controlType": "ControlType.CHECKBOX" } } ```
|
|
952
954
|
*/
|
|
953
|
-
decoratedText?:
|
|
955
|
+
decoratedText?: AppsDynamiteStorageDecoratedText;
|
|
954
956
|
/** Displays a divider. For example, the following JSON creates a divider: ``` "divider": { } ``` */
|
|
955
957
|
divider?: any;
|
|
956
958
|
/**
|
|
@@ -958,28 +960,28 @@ declare namespace gapi.client {
|
|
|
958
960
|
* "numColumns": 2, "borderStyle": { "type": "STROKE", "cornerRadius": 4.0 }, "items": [ "image": { "imageUri": "https://www.example.com/image.png", "cropStyle": { "type": "SQUARE" },
|
|
959
961
|
* "borderStyle": { "type": "STROKE" } }, "title": "An item", "textAlignment": "CENTER" ], "onClick": { "openLink": { "url":"https://www.example.com" } } } ```
|
|
960
962
|
*/
|
|
961
|
-
grid?:
|
|
963
|
+
grid?: AppsDynamiteStorageGrid;
|
|
962
964
|
/** The horizontal alignment of this widget. */
|
|
963
965
|
horizontalAlignment?: string;
|
|
964
966
|
/**
|
|
965
967
|
* Displays an image in this widget. For example, the following JSON creates an image with alternative text: ``` "image": { "imageUrl": "https://example.com/heba_salam.png" "altText":
|
|
966
968
|
* "Avatar for Heba Salam" } ```
|
|
967
969
|
*/
|
|
968
|
-
image?:
|
|
970
|
+
image?: AppsDynamiteStorageImage;
|
|
969
971
|
/**
|
|
970
972
|
* Displays a switch control in this widget. For example, the following JSON creates a dropdown selection for size: ``` "switchControl": { "name": "size", "label": "Size" "type":
|
|
971
973
|
* "SelectionType.DROPDOWN", "items": [ { "text": "S", "value": "small", "selected": false }, { "text": "M", "value": "medium", "selected": true }, { "text": "L", "value": "large",
|
|
972
974
|
* "selected": false }, { "text": "XL", "value": "extra_large", "selected": false } ] } ```
|
|
973
975
|
*/
|
|
974
|
-
selectionInput?:
|
|
976
|
+
selectionInput?: AppsDynamiteStorageSelectionInput;
|
|
975
977
|
/**
|
|
976
978
|
* Displays a text input in this widget. For example, the following JSON creates a text input for mail address: ``` "textInput": { "name": "mailing_address", "label": "Mailing Address"
|
|
977
979
|
* } ``` As another example, the following JSON creates a text input for programming language with static suggestions: ``` "textInput": { "name": "preferred_programing_language",
|
|
978
980
|
* "label": "Preferred Language", "initialSuggestions": { "items": [ { "text": "C++" }, { "text": "Java" }, { "text": "JavaScript" }, { "text": "Python" } ] } } ```
|
|
979
981
|
*/
|
|
980
|
-
textInput?:
|
|
982
|
+
textInput?: AppsDynamiteStorageTextInput;
|
|
981
983
|
/** Displays a text paragraph in this widget. For example, the following JSON creates a bolded text: ``` "textParagraph": { "text": " *bold text*" } ``` */
|
|
982
|
-
textParagraph?:
|
|
984
|
+
textParagraph?: AppsDynamiteStorageTextParagraph;
|
|
983
985
|
}
|
|
984
986
|
interface AppsDynamiteV1ApiCompatV1Action {
|
|
985
987
|
/** Confirmation dialog config. */
|
|
@@ -1129,7 +1131,7 @@ declare namespace gapi.client {
|
|
|
1129
1131
|
/** To identify an attachment within repeated in a message */
|
|
1130
1132
|
attachmentId?: string;
|
|
1131
1133
|
/** Card AddOn attachment with the possibility for specifying editable widgets. */
|
|
1132
|
-
cardAddOnData?:
|
|
1134
|
+
cardAddOnData?: AppsDynamiteStorageCard;
|
|
1133
1135
|
/** Deprecated version of Gmail AddOn attachment. */
|
|
1134
1136
|
deprecatedAddOnData?: ContextualAddOnMarkup;
|
|
1135
1137
|
/** Slack attachment. */
|
|
@@ -1301,6 +1303,8 @@ declare namespace gapi.client {
|
|
|
1301
1303
|
artifactOwner?: UserDisplayInfo;
|
|
1302
1304
|
/** Output only. Documents attached to an ongoing conference. */
|
|
1303
1305
|
attachedDocuments?: DocumentInfo[];
|
|
1306
|
+
/** List of available access types of the conference. */
|
|
1307
|
+
availableAccessTypes?: string[];
|
|
1304
1308
|
/**
|
|
1305
1309
|
* Output only. The set of reactions that clients are allowed to send and can expect to receive. Note that a device in the conference should have the MAY_SEND_REACTIONS privilege to be
|
|
1306
1310
|
* able to send reactions.
|
|
@@ -2000,7 +2004,9 @@ declare namespace gapi.client {
|
|
|
2000
2004
|
freshnessScore?: number;
|
|
2001
2005
|
joinedSpaceAffinityScore?: number;
|
|
2002
2006
|
messageAgeInDays?: number;
|
|
2007
|
+
messageSenderAffinityScore?: number;
|
|
2003
2008
|
topicalityScore?: number;
|
|
2009
|
+
unjoinedSpaceAffinityScore?: number;
|
|
2004
2010
|
}
|
|
2005
2011
|
interface DynamiteSpacesScoringInfo {
|
|
2006
2012
|
affinityScore?: number;
|
|
@@ -3896,7 +3902,7 @@ declare namespace gapi.client {
|
|
|
3896
3902
|
integerPropertyOptions?: IntegerPropertyOptions;
|
|
3897
3903
|
/**
|
|
3898
3904
|
* Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for
|
|
3899
|
-
* boolean, enum, and text properties.
|
|
3905
|
+
* boolean, enum, integer, and text properties.
|
|
3900
3906
|
*/
|
|
3901
3907
|
isFacetable?: boolean;
|
|
3902
3908
|
/**
|
|
@@ -4133,7 +4139,10 @@ declare namespace gapi.client {
|
|
|
4133
4139
|
objectId?: string;
|
|
4134
4140
|
/** DEPRECATED as of 01.11.2019 */
|
|
4135
4141
|
rbacNamespace?: string;
|
|
4136
|
-
/**
|
|
4142
|
+
/**
|
|
4143
|
+
* Format: "role/z?" - "role" is the Sphinx globally unique name of the Sphinx role that provisions the RBAC role. - "/z?" suffix indicates which Zanzibar environment stores the role
|
|
4144
|
+
* membership data ("/zd": dev, "/zs": staging, "/zp": prod, "/zt": local test instance). Example: "mysystem_myrole/zp"
|
|
4145
|
+
*/
|
|
4137
4146
|
rbacRoleName?: string;
|
|
4138
4147
|
}
|
|
4139
4148
|
interface RbacSubjectProto {
|
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: 20230110
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|