@maxim_mazurok/gapi.client.calendar-v3 0.0.20250115 → 0.0.20250121
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 +21 -21
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
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: 20250121
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Calendar API v3 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://calendar-json.googleapis.com/$discovery/rest?version=v3'
|
|
19
|
+
urlOrObject: 'https://calendar-json.googleapis.com/$discovery/rest?version=v3',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'calendar', version: 'v3'): Promise<void>;
|
|
@@ -881,7 +881,7 @@ declare namespace gapi.client {
|
|
|
881
881
|
/** Deprecated. Please use quotaUser instead. */
|
|
882
882
|
userIp?: string;
|
|
883
883
|
},
|
|
884
|
-
body: AclRule
|
|
884
|
+
body: AclRule,
|
|
885
885
|
): Request<AclRule>;
|
|
886
886
|
/** Returns the rules in the access control list for the calendar. */
|
|
887
887
|
list(request?: {
|
|
@@ -963,7 +963,7 @@ declare namespace gapi.client {
|
|
|
963
963
|
/** Deprecated. Please use quotaUser instead. */
|
|
964
964
|
userIp?: string;
|
|
965
965
|
},
|
|
966
|
-
body: AclRule
|
|
966
|
+
body: AclRule,
|
|
967
967
|
): Request<AclRule>;
|
|
968
968
|
/** Updates an access control rule. */
|
|
969
969
|
update(request: {
|
|
@@ -1013,7 +1013,7 @@ declare namespace gapi.client {
|
|
|
1013
1013
|
/** Deprecated. Please use quotaUser instead. */
|
|
1014
1014
|
userIp?: string;
|
|
1015
1015
|
},
|
|
1016
|
-
body: AclRule
|
|
1016
|
+
body: AclRule,
|
|
1017
1017
|
): Request<AclRule>;
|
|
1018
1018
|
/** Watch for changes to ACL resources. */
|
|
1019
1019
|
watch(request: {
|
|
@@ -1081,7 +1081,7 @@ declare namespace gapi.client {
|
|
|
1081
1081
|
/** Deprecated. Please use quotaUser instead. */
|
|
1082
1082
|
userIp?: string;
|
|
1083
1083
|
},
|
|
1084
|
-
body: Channel
|
|
1084
|
+
body: Channel,
|
|
1085
1085
|
): Request<Channel>;
|
|
1086
1086
|
}
|
|
1087
1087
|
interface CalendarListResource {
|
|
@@ -1163,7 +1163,7 @@ declare namespace gapi.client {
|
|
|
1163
1163
|
/** Deprecated. Please use quotaUser instead. */
|
|
1164
1164
|
userIp?: string;
|
|
1165
1165
|
},
|
|
1166
|
-
body: CalendarListEntry
|
|
1166
|
+
body: CalendarListEntry,
|
|
1167
1167
|
): Request<CalendarListEntry>;
|
|
1168
1168
|
/** Returns the calendars on the user's calendar list. */
|
|
1169
1169
|
list(request?: {
|
|
@@ -1244,7 +1244,7 @@ declare namespace gapi.client {
|
|
|
1244
1244
|
/** Deprecated. Please use quotaUser instead. */
|
|
1245
1245
|
userIp?: string;
|
|
1246
1246
|
},
|
|
1247
|
-
body: CalendarListEntry
|
|
1247
|
+
body: CalendarListEntry,
|
|
1248
1248
|
): Request<CalendarListEntry>;
|
|
1249
1249
|
/** Updates an existing calendar on the user's calendar list. */
|
|
1250
1250
|
update(request: {
|
|
@@ -1290,7 +1290,7 @@ declare namespace gapi.client {
|
|
|
1290
1290
|
/** Deprecated. Please use quotaUser instead. */
|
|
1291
1291
|
userIp?: string;
|
|
1292
1292
|
},
|
|
1293
|
-
body: CalendarListEntry
|
|
1293
|
+
body: CalendarListEntry,
|
|
1294
1294
|
): Request<CalendarListEntry>;
|
|
1295
1295
|
/** Watch for changes to CalendarList resources. */
|
|
1296
1296
|
watch(request: {
|
|
@@ -1364,7 +1364,7 @@ declare namespace gapi.client {
|
|
|
1364
1364
|
/** Deprecated. Please use quotaUser instead. */
|
|
1365
1365
|
userIp?: string;
|
|
1366
1366
|
},
|
|
1367
|
-
body: Channel
|
|
1367
|
+
body: Channel,
|
|
1368
1368
|
): Request<Channel>;
|
|
1369
1369
|
}
|
|
1370
1370
|
interface CalendarsResource {
|
|
@@ -1461,7 +1461,7 @@ declare namespace gapi.client {
|
|
|
1461
1461
|
/** Deprecated. Please use quotaUser instead. */
|
|
1462
1462
|
userIp?: string;
|
|
1463
1463
|
},
|
|
1464
|
-
body: Calendar
|
|
1464
|
+
body: Calendar,
|
|
1465
1465
|
): Request<Calendar>;
|
|
1466
1466
|
/** Updates metadata for a calendar. This method supports patch semantics. */
|
|
1467
1467
|
patch(request: {
|
|
@@ -1503,7 +1503,7 @@ declare namespace gapi.client {
|
|
|
1503
1503
|
/** Deprecated. Please use quotaUser instead. */
|
|
1504
1504
|
userIp?: string;
|
|
1505
1505
|
},
|
|
1506
|
-
body: Calendar
|
|
1506
|
+
body: Calendar,
|
|
1507
1507
|
): Request<Calendar>;
|
|
1508
1508
|
/** Updates metadata for a calendar. */
|
|
1509
1509
|
update(request: {
|
|
@@ -1545,7 +1545,7 @@ declare namespace gapi.client {
|
|
|
1545
1545
|
/** Deprecated. Please use quotaUser instead. */
|
|
1546
1546
|
userIp?: string;
|
|
1547
1547
|
},
|
|
1548
|
-
body: Calendar
|
|
1548
|
+
body: Calendar,
|
|
1549
1549
|
): Request<Calendar>;
|
|
1550
1550
|
}
|
|
1551
1551
|
interface ChannelsResource {
|
|
@@ -1585,7 +1585,7 @@ declare namespace gapi.client {
|
|
|
1585
1585
|
/** Deprecated. Please use quotaUser instead. */
|
|
1586
1586
|
userIp?: string;
|
|
1587
1587
|
},
|
|
1588
|
-
body: Channel
|
|
1588
|
+
body: Channel,
|
|
1589
1589
|
): Request<void>;
|
|
1590
1590
|
}
|
|
1591
1591
|
interface ColorsResource {
|
|
@@ -1715,7 +1715,7 @@ declare namespace gapi.client {
|
|
|
1715
1715
|
/** Deprecated. Please use quotaUser instead. */
|
|
1716
1716
|
userIp?: string;
|
|
1717
1717
|
},
|
|
1718
|
-
body: Event
|
|
1718
|
+
body: Event,
|
|
1719
1719
|
): Request<Event>;
|
|
1720
1720
|
/** Creates an event. */
|
|
1721
1721
|
insert(request: {
|
|
@@ -1785,7 +1785,7 @@ declare namespace gapi.client {
|
|
|
1785
1785
|
/** Deprecated. Please use quotaUser instead. */
|
|
1786
1786
|
userIp?: string;
|
|
1787
1787
|
},
|
|
1788
|
-
body: Event
|
|
1788
|
+
body: Event,
|
|
1789
1789
|
): Request<Event>;
|
|
1790
1790
|
/** Returns instances of the specified recurring event. */
|
|
1791
1791
|
instances(request?: {
|
|
@@ -2018,7 +2018,7 @@ declare namespace gapi.client {
|
|
|
2018
2018
|
/** Deprecated. Please use quotaUser instead. */
|
|
2019
2019
|
userIp?: string;
|
|
2020
2020
|
},
|
|
2021
|
-
body: Event
|
|
2021
|
+
body: Event,
|
|
2022
2022
|
): Request<Event>;
|
|
2023
2023
|
/** Creates an event based on a simple text string. */
|
|
2024
2024
|
quickAdd(request?: {
|
|
@@ -2125,7 +2125,7 @@ declare namespace gapi.client {
|
|
|
2125
2125
|
/** Deprecated. Please use quotaUser instead. */
|
|
2126
2126
|
userIp?: string;
|
|
2127
2127
|
},
|
|
2128
|
-
body: Event
|
|
2128
|
+
body: Event,
|
|
2129
2129
|
): Request<Event>;
|
|
2130
2130
|
/** Watch for changes to Events resources. */
|
|
2131
2131
|
watch(request: {
|
|
@@ -2299,7 +2299,7 @@ declare namespace gapi.client {
|
|
|
2299
2299
|
/** Deprecated. Please use quotaUser instead. */
|
|
2300
2300
|
userIp?: string;
|
|
2301
2301
|
},
|
|
2302
|
-
body: Channel
|
|
2302
|
+
body: Channel,
|
|
2303
2303
|
): Request<Channel>;
|
|
2304
2304
|
}
|
|
2305
2305
|
interface FreebusyResource {
|
|
@@ -2339,7 +2339,7 @@ declare namespace gapi.client {
|
|
|
2339
2339
|
/** Deprecated. Please use quotaUser instead. */
|
|
2340
2340
|
userIp?: string;
|
|
2341
2341
|
},
|
|
2342
|
-
body: FreeBusyRequest
|
|
2342
|
+
body: FreeBusyRequest,
|
|
2343
2343
|
): Request<FreeBusyResponse>;
|
|
2344
2344
|
}
|
|
2345
2345
|
interface SettingsResource {
|
|
@@ -2448,7 +2448,7 @@ declare namespace gapi.client {
|
|
|
2448
2448
|
/** Deprecated. Please use quotaUser instead. */
|
|
2449
2449
|
userIp?: string;
|
|
2450
2450
|
},
|
|
2451
|
-
body: Channel
|
|
2451
|
+
body: Channel,
|
|
2452
2452
|
): Request<Channel>;
|
|
2453
2453
|
}
|
|
2454
2454
|
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -30,7 +30,7 @@ gapi.client.load(
|
|
|
30
30
|
() => {
|
|
31
31
|
// now we can use:
|
|
32
32
|
// gapi.client.calendar
|
|
33
|
-
}
|
|
33
|
+
},
|
|
34
34
|
);
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -110,7 +110,7 @@ gapi.auth.authorize(
|
|
|
110
110
|
} else {
|
|
111
111
|
/* handle authorization error */
|
|
112
112
|
}
|
|
113
|
-
}
|
|
113
|
+
},
|
|
114
114
|
);
|
|
115
115
|
```
|
|
116
116
|
|