@maxim_mazurok/gapi.client.calendar-v3 0.0.20230804 → 0.0.20230901
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 +32 -24
- 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://calendar-json.googleapis.com/$discovery/rest?version=v3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230901
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -554,11 +554,12 @@ declare namespace gapi.client {
|
|
|
554
554
|
etag?:
|
|
555
555
|
string;
|
|
556
556
|
/**
|
|
557
|
-
* Specific type of the event.
|
|
557
|
+
* Specific type of the event. This cannot be modified after the event is created. Possible values are:
|
|
558
558
|
* - "default" - A regular event or not further specified.
|
|
559
559
|
* - "outOfOffice" - An out-of-office event.
|
|
560
560
|
* - "focusTime" - A focus-time event.
|
|
561
|
-
* - "workingLocation" - A working location event.
|
|
561
|
+
* - "workingLocation" - A working location event. Currently, only "default " and "workingLocation" events can be created using the API. Extended support for other event types will be
|
|
562
|
+
* made available in later releases.
|
|
562
563
|
*/
|
|
563
564
|
eventType?:
|
|
564
565
|
string;
|
|
@@ -762,7 +763,7 @@ declare namespace gapi.client {
|
|
|
762
763
|
*/
|
|
763
764
|
visibility?:
|
|
764
765
|
string;
|
|
765
|
-
/** Working
|
|
766
|
+
/** Working location event data. */
|
|
766
767
|
workingLocationProperties?:
|
|
767
768
|
EventWorkingLocationProperties;
|
|
768
769
|
}
|
|
@@ -928,20 +929,27 @@ declare namespace gapi.client {
|
|
|
928
929
|
/** An optional building identifier. This should reference a building ID in the organization's Resources database. */
|
|
929
930
|
buildingId?:
|
|
930
931
|
string;
|
|
931
|
-
/** An optional
|
|
932
|
+
/** An optional desk identifier. */
|
|
932
933
|
deskId?:
|
|
933
934
|
string;
|
|
934
|
-
/** An optional
|
|
935
|
+
/** An optional floor identifier. */
|
|
935
936
|
floorId?:
|
|
936
937
|
string;
|
|
937
|
-
/** An optional
|
|
938
|
+
/** An optional floor section identifier. */
|
|
938
939
|
floorSectionId?:
|
|
939
940
|
string;
|
|
940
|
-
/**
|
|
941
|
+
/** The office name that's displayed in Calendar Web and Mobile clients. We recommend you reference a building name in the organization's Resources database. */
|
|
941
942
|
label?:
|
|
942
943
|
string;
|
|
943
944
|
};
|
|
944
|
-
/**
|
|
945
|
+
/**
|
|
946
|
+
* Type of the working location. Possible values are:
|
|
947
|
+
* - "homeOffice" - The user is working at home.
|
|
948
|
+
* - "officeLocation" - The user is working from an office.
|
|
949
|
+
* - "customLocation" - The user is working from a custom location. Any details are specified in a sub-field of the specified name, but this field may be missing if empty. Any other
|
|
950
|
+
* fields are ignored.
|
|
951
|
+
* Required when adding working location properties.
|
|
952
|
+
*/
|
|
945
953
|
type?:
|
|
946
954
|
string;
|
|
947
955
|
}
|
|
@@ -2631,12 +2639,12 @@ declare namespace gapi.client {
|
|
|
2631
2639
|
* Event types to return. Optional. Possible values are:
|
|
2632
2640
|
* - "default"
|
|
2633
2641
|
* - "focusTime"
|
|
2634
|
-
* - "outOfOffice"
|
|
2635
|
-
* -
|
|
2636
|
-
*
|
|
2637
|
-
* If you're enrolled in the Working Location developer preview program, in addition to the default value above you can also set the "workingLocation" event type:
|
|
2642
|
+
* - "outOfOffice"
|
|
2643
|
+
* - "workingLocation"This parameter can be repeated multiple times to return events of different types. Currently, these are the only allowed values for this field:
|
|
2644
|
+
* - ["default", "focusTime", "outOfOffice"]
|
|
2638
2645
|
* - ["default", "focusTime", "outOfOffice", "workingLocation"]
|
|
2639
|
-
* - ["workingLocation"]
|
|
2646
|
+
* - ["workingLocation"] The default is ["default", "focusTime", "outOfOffice"].
|
|
2647
|
+
* Additional combinations of these four event types will be made available in later releases.
|
|
2640
2648
|
*/
|
|
2641
2649
|
eventTypes?:
|
|
2642
2650
|
string | string[];
|
|
@@ -3111,12 +3119,12 @@ declare namespace gapi.client {
|
|
|
3111
3119
|
* Event types to return. Optional. Possible values are:
|
|
3112
3120
|
* - "default"
|
|
3113
3121
|
* - "focusTime"
|
|
3114
|
-
* - "outOfOffice"
|
|
3115
|
-
* -
|
|
3116
|
-
*
|
|
3117
|
-
* If you're enrolled in the Working Location developer preview program, in addition to the default value above you can also set the "workingLocation" event type:
|
|
3122
|
+
* - "outOfOffice"
|
|
3123
|
+
* - "workingLocation"This parameter can be repeated multiple times to return events of different types. Currently, these are the only allowed values for this field:
|
|
3124
|
+
* - ["default", "focusTime", "outOfOffice"]
|
|
3118
3125
|
* - ["default", "focusTime", "outOfOffice", "workingLocation"]
|
|
3119
|
-
* - ["workingLocation"]
|
|
3126
|
+
* - ["workingLocation"] The default is ["default", "focusTime", "outOfOffice"].
|
|
3127
|
+
* Additional combinations of these four event types will be made available in later releases.
|
|
3120
3128
|
*/
|
|
3121
3129
|
eventTypes?:
|
|
3122
3130
|
string | string[];
|
|
@@ -3253,12 +3261,12 @@ declare namespace gapi.client {
|
|
|
3253
3261
|
* Event types to return. Optional. Possible values are:
|
|
3254
3262
|
* - "default"
|
|
3255
3263
|
* - "focusTime"
|
|
3256
|
-
* - "outOfOffice"
|
|
3257
|
-
* -
|
|
3258
|
-
*
|
|
3259
|
-
* If you're enrolled in the Working Location developer preview program, in addition to the default value above you can also set the "workingLocation" event type:
|
|
3264
|
+
* - "outOfOffice"
|
|
3265
|
+
* - "workingLocation"This parameter can be repeated multiple times to return events of different types. Currently, these are the only allowed values for this field:
|
|
3266
|
+
* - ["default", "focusTime", "outOfOffice"]
|
|
3260
3267
|
* - ["default", "focusTime", "outOfOffice", "workingLocation"]
|
|
3261
|
-
* - ["workingLocation"]
|
|
3268
|
+
* - ["workingLocation"] The default is ["default", "focusTime", "outOfOffice"].
|
|
3269
|
+
* Additional combinations of these four event types will be made available in later releases.
|
|
3262
3270
|
*/
|
|
3263
3271
|
eventTypes?:
|
|
3264
3272
|
string | string[];
|
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: 20230901
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|