@maxim_mazurok/gapi.client.calendar-v3 0.0.20230303 → 0.0.20230317

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 +18 -3
  2. package/package.json +1 -1
  3. 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: 20230303
12
+ // Revision: 20230317
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -449,7 +449,7 @@ declare namespace gapi.client {
449
449
  * - "default" - A regular event or not further specified.
450
450
  * - "outOfOffice" - An out-of-office event.
451
451
  * - "focusTime" - A focus-time event.
452
- * - "workingLocation" - A working location event.
452
+ * - "workingLocation" - A working location event. Developer Preview.
453
453
  */
454
454
  eventType?: string;
455
455
  /** Extended properties of the event. */
@@ -608,7 +608,7 @@ declare namespace gapi.client {
608
608
  * - "confidential" - The event is private. This value is provided for compatibility reasons.
609
609
  */
610
610
  visibility?: string;
611
- /** Working Location event data. Read-only. */
611
+ /** Developer Preview: Working Location event data. Read-only. */
612
612
  workingLocationProperties?: EventWorkingLocationProperties;
613
613
  }
614
614
  interface EventAttachment {
@@ -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"]. Only the default value is available, unless you're enrolled in the Working Locations
1993
+ * developer preview. Developer Preview.
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"]. Only the default value is available, unless you're enrolled in the Working Locations
2355
+ * developer preview. Developer Preview.
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"]. Only the default value is available, unless you're enrolled in the Working Locations
2463
+ * developer preview. Developer Preview.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.calendar-v3",
3
- "version": "0.0.20230303",
3
+ "version": "0.0.20230317",
4
4
  "description": "TypeScript typings for Calendar API v3",
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: 20230303
6
+ // Revision: 20230317
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,