@maxim_mazurok/gapi.client.calendar-v3 0.0.20240412 → 0.0.20240419

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 +6 -3
  2. package/package.json +1 -1
  3. package/readme.md +2 -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: 20240412
12
+ // Revision: 20240419
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -420,7 +420,7 @@ declare namespace gapi.client {
420
420
  * - "default" - A regular event or not further specified.
421
421
  * - "outOfOffice" - An out-of-office event.
422
422
  * - "focusTime" - A focus-time event.
423
- * - "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 made available in later releases.
423
+ * - "workingLocation" - A working location event.
424
424
  */
425
425
  eventType?: string;
426
426
  /** Extended properties of the event. */
@@ -1645,7 +1645,10 @@ declare namespace gapi.client {
1645
1645
  /** Deprecated. Please use quotaUser instead. */
1646
1646
  userIp?: string;
1647
1647
  }): Request<Event>;
1648
- /** Imports an event. This operation is used to add a private copy of an existing event to a calendar. */
1648
+ /**
1649
+ * Imports an event. This operation is used to add a private copy of an existing event to a calendar. Only events with an eventType of default may be imported.
1650
+ * Deprecated behavior: If a non-default event is imported, its type will be changed to default and any event-type-specific properties it may have will be dropped.
1651
+ */
1649
1652
  import(request: {
1650
1653
  /** Data format for the response. */
1651
1654
  alt?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.calendar-v3",
3
- "version": "0.0.20240412",
3
+ "version": "0.0.20240419",
4
4
  "description": "TypeScript typings for Calendar API v3",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -220,7 +220,8 @@ await gapi.client.calendar.events.get({
220
220
  });
221
221
 
222
222
  /*
223
- Imports an event. This operation is used to add a private copy of an existing event to a calendar.
223
+ Imports an event. This operation is used to add a private copy of an existing event to a calendar. Only events with an eventType of default may be imported.
224
+ Deprecated behavior: If a non-default event is imported, its type will be changed to default and any event-type-specific properties it may have will be dropped.
224
225
  */
225
226
  await gapi.client.calendar.events.import({calendarId: 'calendarId'});
226
227