@maxim_mazurok/gapi.client.calendar-v3 0.0.20230226 → 0.0.20230313
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 +16 -1
- package/package.json +1 -1
- package/tests.ts +3 -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: 20230313
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1988,6 +1988,11 @@ declare namespace gapi.client {
|
|
|
1988
1988
|
* keyword.
|
|
1989
1989
|
*/
|
|
1990
1990
|
calendarId: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* Event types to return. Optional. The default is ["default", "outOfOffice", "focusTime"]. This is used by the Working Location developer preview and only the default value is
|
|
1993
|
+
* allowed for non-opted-in users.
|
|
1994
|
+
*/
|
|
1995
|
+
eventTypes?: string | string[];
|
|
1991
1996
|
/** Selector specifying which fields to include in a partial response. */
|
|
1992
1997
|
fields?: string;
|
|
1993
1998
|
/** Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID. */
|
|
@@ -2345,6 +2350,11 @@ declare namespace gapi.client {
|
|
|
2345
2350
|
* keyword.
|
|
2346
2351
|
*/
|
|
2347
2352
|
calendarId: string;
|
|
2353
|
+
/**
|
|
2354
|
+
* Event types to return. Optional. The default is ["default", "outOfOffice", "focusTime"]. This is used by the Working Location developer preview and only the default value is
|
|
2355
|
+
* allowed for non-opted-in users.
|
|
2356
|
+
*/
|
|
2357
|
+
eventTypes?: string | string[];
|
|
2348
2358
|
/** Selector specifying which fields to include in a partial response. */
|
|
2349
2359
|
fields?: string;
|
|
2350
2360
|
/** Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID. */
|
|
@@ -2448,6 +2458,11 @@ declare namespace gapi.client {
|
|
|
2448
2458
|
* keyword.
|
|
2449
2459
|
*/
|
|
2450
2460
|
calendarId: string;
|
|
2461
|
+
/**
|
|
2462
|
+
* Event types to return. Optional. The default is ["default", "outOfOffice", "focusTime"]. This is used by the Working Location developer preview and only the default value is
|
|
2463
|
+
* allowed for non-opted-in users.
|
|
2464
|
+
*/
|
|
2465
|
+
eventTypes?: string | string[];
|
|
2451
2466
|
/** Selector specifying which fields to include in a partial response. */
|
|
2452
2467
|
fields?: string;
|
|
2453
2468
|
/** Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID. */
|
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: 20230313
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -747,6 +747,7 @@ gapi.load('client', async () => {
|
|
|
747
747
|
await gapi.client.calendar.events.list({
|
|
748
748
|
alwaysIncludeEmail: true,
|
|
749
749
|
calendarId: "Test string",
|
|
750
|
+
eventTypes: "Test string",
|
|
750
751
|
iCalUID: "Test string",
|
|
751
752
|
maxAttendees: 42,
|
|
752
753
|
maxResults: 42,
|
|
@@ -1145,6 +1146,7 @@ gapi.load('client', async () => {
|
|
|
1145
1146
|
await gapi.client.calendar.events.watch({
|
|
1146
1147
|
alwaysIncludeEmail: true,
|
|
1147
1148
|
calendarId: "Test string",
|
|
1149
|
+
eventTypes: "Test string",
|
|
1148
1150
|
iCalUID: "Test string",
|
|
1149
1151
|
maxAttendees: 42,
|
|
1150
1152
|
maxResults: 42,
|