@maxim_mazurok/gapi.client.calendar-v3 0.2.20261028 → 0.2.20261102
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 +24 -1
- 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:
|
|
12
|
+
// Revision: 20261102
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -91,6 +91,29 @@ declare namespace gapi.client {
|
|
|
91
91
|
summary?: string;
|
|
92
92
|
/** The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. */
|
|
93
93
|
timeZone?: string;
|
|
94
|
+
/** Represents the information about the user's working hours. Only available for primary calendars of Google Workspace users. To update the working hours, the entire working hours object must be passed. If not specified (or passed as null or an empty object), the existing working hours remain unchanged. To disable working hours or clear the schedule, set workingHoursEnabled to false (and omit availableTimes or pass an empty list). */
|
|
95
|
+
workingHours?: {
|
|
96
|
+
/** Working hours. Each availability period represents the user's working hours block during one day. */
|
|
97
|
+
availableTimes?: {
|
|
98
|
+
/**
|
|
99
|
+
* Day of the week. Required. Possible values are:
|
|
100
|
+
* - "monday"
|
|
101
|
+
* - "tuesday"
|
|
102
|
+
* - "wednesday"
|
|
103
|
+
* - "thursday"
|
|
104
|
+
* - "friday"
|
|
105
|
+
* - "saturday"
|
|
106
|
+
* - "sunday"
|
|
107
|
+
*/
|
|
108
|
+
dayOfWeek?: string;
|
|
109
|
+
/** Period end, in minutes from the start of the day, exclusive. Required. */
|
|
110
|
+
periodEnd?: number;
|
|
111
|
+
/** Period start, in minutes from the start of the day, inclusive. Required. */
|
|
112
|
+
periodStart?: number;
|
|
113
|
+
}[];
|
|
114
|
+
/** Whether the working hours are enabled for this calendar. Cannot be set to true when availableTimes is empty. */
|
|
115
|
+
workingHoursEnabled?: boolean;
|
|
116
|
+
};
|
|
94
117
|
}
|
|
95
118
|
interface CalendarList {
|
|
96
119
|
/** ETag of the collection. */
|