@maxim_mazurok/gapi.client.calendar-v3 0.0.20241025 → 0.0.20241106

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 (2) hide show
  1. package/index.d.ts +18 -1
  2. package/package.json +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: 20241025
12
+ // Revision: 20241106
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -390,6 +390,8 @@ declare namespace gapi.client {
390
390
  attendees?: EventAttendee[];
391
391
  /** Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. */
392
392
  attendeesOmitted?: boolean;
393
+ /** Birthday or special event data. Used if eventType is "birthday". Immutable. */
394
+ birthdayProperties?: EventBirthdayProperties;
393
395
  /** The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. */
394
396
  colorId?: string;
395
397
  /** The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests. */
@@ -610,6 +612,21 @@ declare namespace gapi.client {
610
612
  /** Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. */
611
613
  self?: boolean;
612
614
  }
615
+ interface EventBirthdayProperties {
616
+ /** Resource name of the contact this birthday event is linked to. This can be used to fetch contact details from People API. Format: "people/c12345". Read-only. */
617
+ contact?: string;
618
+ /** Custom type label specified for this event. This is populated if birthdayProperties.type is set to "custom". Read-only. */
619
+ customTypeName?: string;
620
+ /**
621
+ * Type of birthday or special event. Possible values are:
622
+ * - "anniversary" - An anniversary other than birthday. Always has a contact.
623
+ * - "birthday" - A birthday event. This is the default value.
624
+ * - "custom" - A special date whose label is further specified in the customTypeName field. Always has a contact.
625
+ * - "other" - A special date which does not fall into the other categories, and does not have a custom label. Always has a contact.
626
+ * - "self" - Calendar owner's own birthday. Cannot have a contact. The Calendar API only supports creating events with the type "birthday". The type cannot be changed after the event is created.
627
+ */
628
+ type?: string;
629
+ }
613
630
  interface EventDateTime {
614
631
  /** The date, in the format "yyyy-mm-dd", if this is an all-day event. */
615
632
  date?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.calendar-v3",
3
- "version": "0.0.20241025",
3
+ "version": "0.0.20241106",
4
4
  "description": "TypeScript typings for Calendar API v3",
5
5
  "repository": {
6
6
  "type": "git",