@maxim_mazurok/gapi.client.calendar-v3 0.0.20231116 → 0.0.20231123

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 +8 -20
  2. package/package.json +1 -1
  3. 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: 20231116
12
+ // Revision: 20231123
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -556,8 +556,8 @@ declare namespace gapi.client {
556
556
  /**
557
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
- * - "outOfOffice" - An out-of-office event.
560
- * - "focusTime" - A focus-time event.
559
+ * - "outOfOffice" - An out-of-office event. An outOfOfficeProperties parameter must be supplied to make a valid event (even if empty).
560
+ * - "focusTime" - A focus-time event. A focusTimeProperties parameter must be supplied to make a valid event (even if empty).
561
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
562
  * made available in later releases.
563
563
  */
@@ -573,7 +573,7 @@ declare namespace gapi.client {
573
573
  shared?:
574
574
  { [P in string]: string };
575
575
  };
576
- /** Focus Time event data. */
576
+ /** Focus Time event data. Required if eventType is focusTime. */
577
577
  focusTimeProperties?:
578
578
  EventFocusTimeProperties;
579
579
  /** A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata. */
@@ -680,7 +680,7 @@ declare namespace gapi.client {
680
680
  */
681
681
  originalStartTime?:
682
682
  EventDateTime;
683
- /** Out of office event data. */
683
+ /** Out of office event data. Required if eventType is outOfOffice. */
684
684
  outOfOfficeProperties?:
685
685
  EventOutOfOfficeProperties;
686
686
  /** If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False. */
@@ -2673,11 +2673,7 @@ declare namespace gapi.client {
2673
2673
  * - "default"
2674
2674
  * - "focusTime"
2675
2675
  * - "outOfOffice"
2676
- * - "workingLocation"This parameter can be repeated multiple times to return events of different types. Currently, these are the only allowed values for this field:
2677
- * - ["default", "focusTime", "outOfOffice"]
2678
- * - ["default", "focusTime", "outOfOffice", "workingLocation"]
2679
- * - ["workingLocation"] The default is ["default", "focusTime", "outOfOffice"].
2680
- * Additional combinations of these four event types will be made available in later releases.
2676
+ * - "workingLocation"This parameter can be repeated multiple times to return events of different types. The default is ["default", "focusTime", "outOfOffice"].
2681
2677
  */
2682
2678
  eventTypes?:
2683
2679
  string | string[];
@@ -3167,11 +3163,7 @@ declare namespace gapi.client {
3167
3163
  * - "default"
3168
3164
  * - "focusTime"
3169
3165
  * - "outOfOffice"
3170
- * - "workingLocation"This parameter can be repeated multiple times to return events of different types. Currently, these are the only allowed values for this field:
3171
- * - ["default", "focusTime", "outOfOffice"]
3172
- * - ["default", "focusTime", "outOfOffice", "workingLocation"]
3173
- * - ["workingLocation"] The default is ["default", "focusTime", "outOfOffice"].
3174
- * Additional combinations of these four event types will be made available in later releases.
3166
+ * - "workingLocation"This parameter can be repeated multiple times to return events of different types. The default is ["default", "focusTime", "outOfOffice"].
3175
3167
  */
3176
3168
  eventTypes?:
3177
3169
  string | string[];
@@ -3323,11 +3315,7 @@ declare namespace gapi.client {
3323
3315
  * - "default"
3324
3316
  * - "focusTime"
3325
3317
  * - "outOfOffice"
3326
- * - "workingLocation"This parameter can be repeated multiple times to return events of different types. Currently, these are the only allowed values for this field:
3327
- * - ["default", "focusTime", "outOfOffice"]
3328
- * - ["default", "focusTime", "outOfOffice", "workingLocation"]
3329
- * - ["workingLocation"] The default is ["default", "focusTime", "outOfOffice"].
3330
- * Additional combinations of these four event types will be made available in later releases.
3318
+ * - "workingLocation"This parameter can be repeated multiple times to return events of different types. The default is ["default", "focusTime", "outOfOffice"].
3331
3319
  */
3332
3320
  eventTypes?:
3333
3321
  string | string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.calendar-v3",
3
- "version": "0.0.20231116",
3
+ "version": "0.0.20231123",
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: 20231116
6
+ // Revision: 20231123
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */