@maxim_mazurok/gapi.client.tasks-v1 0.0.20230418 → 0.0.20230429
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 +605 -305
- package/package.json +1 -1
- 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://tasks.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230429
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,336 +24,478 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace tasks {
|
|
25
25
|
interface Task {
|
|
26
26
|
/** Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. */
|
|
27
|
-
completed?:
|
|
27
|
+
completed?:
|
|
28
|
+
string;
|
|
28
29
|
/** Flag indicating whether the task has been deleted. The default is False. */
|
|
29
|
-
deleted?:
|
|
30
|
+
deleted?:
|
|
31
|
+
boolean;
|
|
30
32
|
/**
|
|
31
33
|
* Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It
|
|
32
34
|
* isn't possible to read or write the time that a task is due via the API.
|
|
33
35
|
*/
|
|
34
|
-
due?:
|
|
36
|
+
due?:
|
|
37
|
+
string;
|
|
35
38
|
/** ETag of the resource. */
|
|
36
|
-
etag?:
|
|
39
|
+
etag?:
|
|
40
|
+
string;
|
|
37
41
|
/**
|
|
38
42
|
* Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is
|
|
39
43
|
* read-only.
|
|
40
44
|
*/
|
|
41
|
-
hidden?:
|
|
45
|
+
hidden?:
|
|
46
|
+
boolean;
|
|
42
47
|
/** Task identifier. */
|
|
43
|
-
id?:
|
|
48
|
+
id?:
|
|
49
|
+
string;
|
|
44
50
|
/** Type of the resource. This is always "tasks#task". */
|
|
45
|
-
kind?:
|
|
51
|
+
kind?:
|
|
52
|
+
string;
|
|
46
53
|
/** Collection of links. This collection is read-only. */
|
|
47
|
-
links?:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
links?:
|
|
55
|
+
Array<{
|
|
56
|
+
/** The description. In HTML speak: Everything between <a> and </a>. */
|
|
57
|
+
description?:
|
|
58
|
+
string;
|
|
59
|
+
/** The URL. */
|
|
60
|
+
link?:
|
|
61
|
+
string;
|
|
62
|
+
/** Type of the link, e.g. "email". */
|
|
63
|
+
type?:
|
|
64
|
+
string;
|
|
65
|
+
}>;
|
|
55
66
|
/** Notes describing the task. Optional. */
|
|
56
|
-
notes?:
|
|
67
|
+
notes?:
|
|
68
|
+
string;
|
|
57
69
|
/**
|
|
58
70
|
* Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top
|
|
59
71
|
* level.
|
|
60
72
|
*/
|
|
61
|
-
parent?:
|
|
73
|
+
parent?:
|
|
74
|
+
string;
|
|
62
75
|
/**
|
|
63
76
|
* String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding
|
|
64
77
|
* position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the
|
|
65
78
|
* "move" method to move the task to another position.
|
|
66
79
|
*/
|
|
67
|
-
position?:
|
|
80
|
+
position?:
|
|
81
|
+
string;
|
|
68
82
|
/** URL pointing to this task. Used to retrieve, update, or delete this task. */
|
|
69
|
-
selfLink?:
|
|
83
|
+
selfLink?:
|
|
84
|
+
string;
|
|
70
85
|
/** Status of the task. This is either "needsAction" or "completed". */
|
|
71
|
-
status?:
|
|
86
|
+
status?:
|
|
87
|
+
string;
|
|
72
88
|
/** Title of the task. */
|
|
73
|
-
title?:
|
|
89
|
+
title?:
|
|
90
|
+
string;
|
|
74
91
|
/** Last modification time of the task (as a RFC 3339 timestamp). */
|
|
75
|
-
updated?:
|
|
92
|
+
updated?:
|
|
93
|
+
string;
|
|
76
94
|
}
|
|
77
95
|
interface TaskList {
|
|
78
96
|
/** ETag of the resource. */
|
|
79
|
-
etag?:
|
|
97
|
+
etag?:
|
|
98
|
+
string;
|
|
80
99
|
/** Task list identifier. */
|
|
81
|
-
id?:
|
|
100
|
+
id?:
|
|
101
|
+
string;
|
|
82
102
|
/** Type of the resource. This is always "tasks#taskList". */
|
|
83
|
-
kind?:
|
|
103
|
+
kind?:
|
|
104
|
+
string;
|
|
84
105
|
/** URL pointing to this task list. Used to retrieve, update, or delete this task list. */
|
|
85
|
-
selfLink?:
|
|
106
|
+
selfLink?:
|
|
107
|
+
string;
|
|
86
108
|
/** Title of the task list. */
|
|
87
|
-
title?:
|
|
109
|
+
title?:
|
|
110
|
+
string;
|
|
88
111
|
/** Last modification time of the task list (as a RFC 3339 timestamp). */
|
|
89
|
-
updated?:
|
|
112
|
+
updated?:
|
|
113
|
+
string;
|
|
90
114
|
}
|
|
91
115
|
interface TaskLists {
|
|
92
116
|
/** ETag of the resource. */
|
|
93
|
-
etag?:
|
|
117
|
+
etag?:
|
|
118
|
+
string;
|
|
94
119
|
/** Collection of task lists. */
|
|
95
|
-
items?:
|
|
120
|
+
items?:
|
|
121
|
+
TaskList[];
|
|
96
122
|
/** Type of the resource. This is always "tasks#taskLists". */
|
|
97
|
-
kind?:
|
|
123
|
+
kind?:
|
|
124
|
+
string;
|
|
98
125
|
/** Token that can be used to request the next page of this result. */
|
|
99
|
-
nextPageToken?:
|
|
126
|
+
nextPageToken?:
|
|
127
|
+
string;
|
|
100
128
|
}
|
|
101
129
|
interface Tasks {
|
|
102
130
|
/** ETag of the resource. */
|
|
103
|
-
etag?:
|
|
131
|
+
etag?:
|
|
132
|
+
string;
|
|
104
133
|
/** Collection of tasks. */
|
|
105
|
-
items?:
|
|
134
|
+
items?:
|
|
135
|
+
Task[];
|
|
106
136
|
/** Type of the resource. This is always "tasks#tasks". */
|
|
107
|
-
kind?:
|
|
137
|
+
kind?:
|
|
138
|
+
string;
|
|
108
139
|
/** Token used to access the next page of this result. */
|
|
109
|
-
nextPageToken?:
|
|
140
|
+
nextPageToken?:
|
|
141
|
+
string;
|
|
110
142
|
}
|
|
111
143
|
interface TasklistsResource {
|
|
112
144
|
/** Deletes the authenticated user's specified task list. */
|
|
113
145
|
delete(request?: {
|
|
114
146
|
/** V1 error format. */
|
|
115
|
-
"$.xgafv"?:
|
|
147
|
+
"$.xgafv"?:
|
|
148
|
+
string;
|
|
116
149
|
/** OAuth access token. */
|
|
117
|
-
access_token?:
|
|
150
|
+
access_token?:
|
|
151
|
+
string;
|
|
118
152
|
/** Data format for response. */
|
|
119
|
-
alt?:
|
|
153
|
+
alt?:
|
|
154
|
+
string;
|
|
120
155
|
/** JSONP */
|
|
121
|
-
callback?:
|
|
156
|
+
callback?:
|
|
157
|
+
string;
|
|
122
158
|
/** Selector specifying which fields to include in a partial response. */
|
|
123
|
-
fields?:
|
|
159
|
+
fields?:
|
|
160
|
+
string;
|
|
124
161
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
125
|
-
key?:
|
|
162
|
+
key?:
|
|
163
|
+
string;
|
|
126
164
|
/** OAuth 2.0 token for the current user. */
|
|
127
|
-
oauth_token?:
|
|
165
|
+
oauth_token?:
|
|
166
|
+
string;
|
|
128
167
|
/** Returns response with indentations and line breaks. */
|
|
129
|
-
prettyPrint?:
|
|
168
|
+
prettyPrint?:
|
|
169
|
+
boolean;
|
|
130
170
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
131
|
-
quotaUser?:
|
|
171
|
+
quotaUser?:
|
|
172
|
+
string;
|
|
132
173
|
/** Task list identifier. */
|
|
133
|
-
tasklist:
|
|
174
|
+
tasklist:
|
|
175
|
+
string;
|
|
134
176
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
135
|
-
upload_protocol?:
|
|
177
|
+
upload_protocol?:
|
|
178
|
+
string;
|
|
136
179
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
137
|
-
uploadType?:
|
|
180
|
+
uploadType?:
|
|
181
|
+
string;
|
|
138
182
|
}): Request<void>;
|
|
139
183
|
/** Returns the authenticated user's specified task list. */
|
|
140
184
|
get(request?: {
|
|
141
185
|
/** V1 error format. */
|
|
142
|
-
"$.xgafv"?:
|
|
186
|
+
"$.xgafv"?:
|
|
187
|
+
string;
|
|
143
188
|
/** OAuth access token. */
|
|
144
|
-
access_token?:
|
|
189
|
+
access_token?:
|
|
190
|
+
string;
|
|
145
191
|
/** Data format for response. */
|
|
146
|
-
alt?:
|
|
192
|
+
alt?:
|
|
193
|
+
string;
|
|
147
194
|
/** JSONP */
|
|
148
|
-
callback?:
|
|
195
|
+
callback?:
|
|
196
|
+
string;
|
|
149
197
|
/** Selector specifying which fields to include in a partial response. */
|
|
150
|
-
fields?:
|
|
198
|
+
fields?:
|
|
199
|
+
string;
|
|
151
200
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
152
|
-
key?:
|
|
201
|
+
key?:
|
|
202
|
+
string;
|
|
153
203
|
/** OAuth 2.0 token for the current user. */
|
|
154
|
-
oauth_token?:
|
|
204
|
+
oauth_token?:
|
|
205
|
+
string;
|
|
155
206
|
/** Returns response with indentations and line breaks. */
|
|
156
|
-
prettyPrint?:
|
|
207
|
+
prettyPrint?:
|
|
208
|
+
boolean;
|
|
157
209
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
158
|
-
quotaUser?:
|
|
210
|
+
quotaUser?:
|
|
211
|
+
string;
|
|
159
212
|
/** Task list identifier. */
|
|
160
|
-
tasklist:
|
|
213
|
+
tasklist:
|
|
214
|
+
string;
|
|
161
215
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
162
|
-
upload_protocol?:
|
|
216
|
+
upload_protocol?:
|
|
217
|
+
string;
|
|
163
218
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
164
|
-
uploadType?:
|
|
219
|
+
uploadType?:
|
|
220
|
+
string;
|
|
165
221
|
}): Request<TaskList>;
|
|
166
222
|
/** Creates a new task list and adds it to the authenticated user's task lists. */
|
|
167
223
|
insert(request: {
|
|
168
224
|
/** V1 error format. */
|
|
169
|
-
"$.xgafv"?:
|
|
225
|
+
"$.xgafv"?:
|
|
226
|
+
string;
|
|
170
227
|
/** OAuth access token. */
|
|
171
|
-
access_token?:
|
|
228
|
+
access_token?:
|
|
229
|
+
string;
|
|
172
230
|
/** Data format for response. */
|
|
173
|
-
alt?:
|
|
231
|
+
alt?:
|
|
232
|
+
string;
|
|
174
233
|
/** JSONP */
|
|
175
|
-
callback?:
|
|
234
|
+
callback?:
|
|
235
|
+
string;
|
|
176
236
|
/** Selector specifying which fields to include in a partial response. */
|
|
177
|
-
fields?:
|
|
237
|
+
fields?:
|
|
238
|
+
string;
|
|
178
239
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
179
|
-
key?:
|
|
240
|
+
key?:
|
|
241
|
+
string;
|
|
180
242
|
/** OAuth 2.0 token for the current user. */
|
|
181
|
-
oauth_token?:
|
|
243
|
+
oauth_token?:
|
|
244
|
+
string;
|
|
182
245
|
/** Returns response with indentations and line breaks. */
|
|
183
|
-
prettyPrint?:
|
|
246
|
+
prettyPrint?:
|
|
247
|
+
boolean;
|
|
184
248
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
185
|
-
quotaUser?:
|
|
249
|
+
quotaUser?:
|
|
250
|
+
string;
|
|
186
251
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
187
|
-
upload_protocol?:
|
|
252
|
+
upload_protocol?:
|
|
253
|
+
string;
|
|
188
254
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
189
|
-
uploadType?:
|
|
255
|
+
uploadType?:
|
|
256
|
+
string;
|
|
190
257
|
/** Request body */
|
|
191
|
-
resource:
|
|
258
|
+
resource:
|
|
259
|
+
TaskList;
|
|
192
260
|
}): Request<TaskList>;
|
|
193
261
|
insert(request: {
|
|
194
262
|
/** V1 error format. */
|
|
195
|
-
"$.xgafv"?:
|
|
263
|
+
"$.xgafv"?:
|
|
264
|
+
string;
|
|
196
265
|
/** OAuth access token. */
|
|
197
|
-
access_token?:
|
|
266
|
+
access_token?:
|
|
267
|
+
string;
|
|
198
268
|
/** Data format for response. */
|
|
199
|
-
alt?:
|
|
269
|
+
alt?:
|
|
270
|
+
string;
|
|
200
271
|
/** JSONP */
|
|
201
|
-
callback?:
|
|
272
|
+
callback?:
|
|
273
|
+
string;
|
|
202
274
|
/** Selector specifying which fields to include in a partial response. */
|
|
203
|
-
fields?:
|
|
275
|
+
fields?:
|
|
276
|
+
string;
|
|
204
277
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
205
|
-
key?:
|
|
278
|
+
key?:
|
|
279
|
+
string;
|
|
206
280
|
/** OAuth 2.0 token for the current user. */
|
|
207
|
-
oauth_token?:
|
|
281
|
+
oauth_token?:
|
|
282
|
+
string;
|
|
208
283
|
/** Returns response with indentations and line breaks. */
|
|
209
|
-
prettyPrint?:
|
|
284
|
+
prettyPrint?:
|
|
285
|
+
boolean;
|
|
210
286
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
211
|
-
quotaUser?:
|
|
287
|
+
quotaUser?:
|
|
288
|
+
string;
|
|
212
289
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
213
|
-
upload_protocol?:
|
|
290
|
+
upload_protocol?:
|
|
291
|
+
string;
|
|
214
292
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
215
|
-
uploadType?:
|
|
293
|
+
uploadType?:
|
|
294
|
+
string;
|
|
216
295
|
},
|
|
217
296
|
body: TaskList): Request<TaskList>;
|
|
218
297
|
/** Returns all the authenticated user's task lists. */
|
|
219
298
|
list(request?: {
|
|
220
299
|
/** V1 error format. */
|
|
221
|
-
"$.xgafv"?:
|
|
300
|
+
"$.xgafv"?:
|
|
301
|
+
string;
|
|
222
302
|
/** OAuth access token. */
|
|
223
|
-
access_token?:
|
|
303
|
+
access_token?:
|
|
304
|
+
string;
|
|
224
305
|
/** Data format for response. */
|
|
225
|
-
alt?:
|
|
306
|
+
alt?:
|
|
307
|
+
string;
|
|
226
308
|
/** JSONP */
|
|
227
|
-
callback?:
|
|
309
|
+
callback?:
|
|
310
|
+
string;
|
|
228
311
|
/** Selector specifying which fields to include in a partial response. */
|
|
229
|
-
fields?:
|
|
312
|
+
fields?:
|
|
313
|
+
string;
|
|
230
314
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
231
|
-
key?:
|
|
315
|
+
key?:
|
|
316
|
+
string;
|
|
232
317
|
/** Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100). */
|
|
233
|
-
maxResults?:
|
|
318
|
+
maxResults?:
|
|
319
|
+
number;
|
|
234
320
|
/** OAuth 2.0 token for the current user. */
|
|
235
|
-
oauth_token?:
|
|
321
|
+
oauth_token?:
|
|
322
|
+
string;
|
|
236
323
|
/** Token specifying the result page to return. Optional. */
|
|
237
|
-
pageToken?:
|
|
324
|
+
pageToken?:
|
|
325
|
+
string;
|
|
238
326
|
/** Returns response with indentations and line breaks. */
|
|
239
|
-
prettyPrint?:
|
|
327
|
+
prettyPrint?:
|
|
328
|
+
boolean;
|
|
240
329
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
241
|
-
quotaUser?:
|
|
330
|
+
quotaUser?:
|
|
331
|
+
string;
|
|
242
332
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
243
|
-
upload_protocol?:
|
|
333
|
+
upload_protocol?:
|
|
334
|
+
string;
|
|
244
335
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
245
|
-
uploadType?:
|
|
336
|
+
uploadType?:
|
|
337
|
+
string;
|
|
246
338
|
}): Request<TaskLists>;
|
|
247
339
|
/** Updates the authenticated user's specified task list. This method supports patch semantics. */
|
|
248
340
|
patch(request: {
|
|
249
341
|
/** V1 error format. */
|
|
250
|
-
"$.xgafv"?:
|
|
342
|
+
"$.xgafv"?:
|
|
343
|
+
string;
|
|
251
344
|
/** OAuth access token. */
|
|
252
|
-
access_token?:
|
|
345
|
+
access_token?:
|
|
346
|
+
string;
|
|
253
347
|
/** Data format for response. */
|
|
254
|
-
alt?:
|
|
348
|
+
alt?:
|
|
349
|
+
string;
|
|
255
350
|
/** JSONP */
|
|
256
|
-
callback?:
|
|
351
|
+
callback?:
|
|
352
|
+
string;
|
|
257
353
|
/** Selector specifying which fields to include in a partial response. */
|
|
258
|
-
fields?:
|
|
354
|
+
fields?:
|
|
355
|
+
string;
|
|
259
356
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
260
|
-
key?:
|
|
357
|
+
key?:
|
|
358
|
+
string;
|
|
261
359
|
/** OAuth 2.0 token for the current user. */
|
|
262
|
-
oauth_token?:
|
|
360
|
+
oauth_token?:
|
|
361
|
+
string;
|
|
263
362
|
/** Returns response with indentations and line breaks. */
|
|
264
|
-
prettyPrint?:
|
|
363
|
+
prettyPrint?:
|
|
364
|
+
boolean;
|
|
265
365
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
266
|
-
quotaUser?:
|
|
366
|
+
quotaUser?:
|
|
367
|
+
string;
|
|
267
368
|
/** Task list identifier. */
|
|
268
|
-
tasklist:
|
|
369
|
+
tasklist:
|
|
370
|
+
string;
|
|
269
371
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
270
|
-
upload_protocol?:
|
|
372
|
+
upload_protocol?:
|
|
373
|
+
string;
|
|
271
374
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
272
|
-
uploadType?:
|
|
375
|
+
uploadType?:
|
|
376
|
+
string;
|
|
273
377
|
/** Request body */
|
|
274
|
-
resource:
|
|
378
|
+
resource:
|
|
379
|
+
TaskList;
|
|
275
380
|
}): Request<TaskList>;
|
|
276
381
|
patch(request: {
|
|
277
382
|
/** V1 error format. */
|
|
278
|
-
"$.xgafv"?:
|
|
383
|
+
"$.xgafv"?:
|
|
384
|
+
string;
|
|
279
385
|
/** OAuth access token. */
|
|
280
|
-
access_token?:
|
|
386
|
+
access_token?:
|
|
387
|
+
string;
|
|
281
388
|
/** Data format for response. */
|
|
282
|
-
alt?:
|
|
389
|
+
alt?:
|
|
390
|
+
string;
|
|
283
391
|
/** JSONP */
|
|
284
|
-
callback?:
|
|
392
|
+
callback?:
|
|
393
|
+
string;
|
|
285
394
|
/** Selector specifying which fields to include in a partial response. */
|
|
286
|
-
fields?:
|
|
395
|
+
fields?:
|
|
396
|
+
string;
|
|
287
397
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
288
|
-
key?:
|
|
398
|
+
key?:
|
|
399
|
+
string;
|
|
289
400
|
/** OAuth 2.0 token for the current user. */
|
|
290
|
-
oauth_token?:
|
|
401
|
+
oauth_token?:
|
|
402
|
+
string;
|
|
291
403
|
/** Returns response with indentations and line breaks. */
|
|
292
|
-
prettyPrint?:
|
|
404
|
+
prettyPrint?:
|
|
405
|
+
boolean;
|
|
293
406
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
294
|
-
quotaUser?:
|
|
407
|
+
quotaUser?:
|
|
408
|
+
string;
|
|
295
409
|
/** Task list identifier. */
|
|
296
|
-
tasklist:
|
|
410
|
+
tasklist:
|
|
411
|
+
string;
|
|
297
412
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
298
|
-
upload_protocol?:
|
|
413
|
+
upload_protocol?:
|
|
414
|
+
string;
|
|
299
415
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
300
|
-
uploadType?:
|
|
416
|
+
uploadType?:
|
|
417
|
+
string;
|
|
301
418
|
},
|
|
302
419
|
body: TaskList): Request<TaskList>;
|
|
303
420
|
/** Updates the authenticated user's specified task list. */
|
|
304
421
|
update(request: {
|
|
305
422
|
/** V1 error format. */
|
|
306
|
-
"$.xgafv"?:
|
|
423
|
+
"$.xgafv"?:
|
|
424
|
+
string;
|
|
307
425
|
/** OAuth access token. */
|
|
308
|
-
access_token?:
|
|
426
|
+
access_token?:
|
|
427
|
+
string;
|
|
309
428
|
/** Data format for response. */
|
|
310
|
-
alt?:
|
|
429
|
+
alt?:
|
|
430
|
+
string;
|
|
311
431
|
/** JSONP */
|
|
312
|
-
callback?:
|
|
432
|
+
callback?:
|
|
433
|
+
string;
|
|
313
434
|
/** Selector specifying which fields to include in a partial response. */
|
|
314
|
-
fields?:
|
|
435
|
+
fields?:
|
|
436
|
+
string;
|
|
315
437
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
316
|
-
key?:
|
|
438
|
+
key?:
|
|
439
|
+
string;
|
|
317
440
|
/** OAuth 2.0 token for the current user. */
|
|
318
|
-
oauth_token?:
|
|
441
|
+
oauth_token?:
|
|
442
|
+
string;
|
|
319
443
|
/** Returns response with indentations and line breaks. */
|
|
320
|
-
prettyPrint?:
|
|
444
|
+
prettyPrint?:
|
|
445
|
+
boolean;
|
|
321
446
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
322
|
-
quotaUser?:
|
|
447
|
+
quotaUser?:
|
|
448
|
+
string;
|
|
323
449
|
/** Task list identifier. */
|
|
324
|
-
tasklist:
|
|
450
|
+
tasklist:
|
|
451
|
+
string;
|
|
325
452
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
326
|
-
upload_protocol?:
|
|
453
|
+
upload_protocol?:
|
|
454
|
+
string;
|
|
327
455
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
328
|
-
uploadType?:
|
|
456
|
+
uploadType?:
|
|
457
|
+
string;
|
|
329
458
|
/** Request body */
|
|
330
|
-
resource:
|
|
459
|
+
resource:
|
|
460
|
+
TaskList;
|
|
331
461
|
}): Request<TaskList>;
|
|
332
462
|
update(request: {
|
|
333
463
|
/** V1 error format. */
|
|
334
|
-
"$.xgafv"?:
|
|
464
|
+
"$.xgafv"?:
|
|
465
|
+
string;
|
|
335
466
|
/** OAuth access token. */
|
|
336
|
-
access_token?:
|
|
467
|
+
access_token?:
|
|
468
|
+
string;
|
|
337
469
|
/** Data format for response. */
|
|
338
|
-
alt?:
|
|
470
|
+
alt?:
|
|
471
|
+
string;
|
|
339
472
|
/** JSONP */
|
|
340
|
-
callback?:
|
|
473
|
+
callback?:
|
|
474
|
+
string;
|
|
341
475
|
/** Selector specifying which fields to include in a partial response. */
|
|
342
|
-
fields?:
|
|
476
|
+
fields?:
|
|
477
|
+
string;
|
|
343
478
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
344
|
-
key?:
|
|
479
|
+
key?:
|
|
480
|
+
string;
|
|
345
481
|
/** OAuth 2.0 token for the current user. */
|
|
346
|
-
oauth_token?:
|
|
482
|
+
oauth_token?:
|
|
483
|
+
string;
|
|
347
484
|
/** Returns response with indentations and line breaks. */
|
|
348
|
-
prettyPrint?:
|
|
485
|
+
prettyPrint?:
|
|
486
|
+
boolean;
|
|
349
487
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
350
|
-
quotaUser?:
|
|
488
|
+
quotaUser?:
|
|
489
|
+
string;
|
|
351
490
|
/** Task list identifier. */
|
|
352
|
-
tasklist:
|
|
491
|
+
tasklist:
|
|
492
|
+
string;
|
|
353
493
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
354
|
-
upload_protocol?:
|
|
494
|
+
upload_protocol?:
|
|
495
|
+
string;
|
|
355
496
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
356
|
-
uploadType?:
|
|
497
|
+
uploadType?:
|
|
498
|
+
string;
|
|
357
499
|
},
|
|
358
500
|
body: TaskList): Request<TaskList>;
|
|
359
501
|
}
|
|
@@ -364,201 +506,290 @@ declare namespace gapi.client {
|
|
|
364
506
|
*/
|
|
365
507
|
clear(request?: {
|
|
366
508
|
/** V1 error format. */
|
|
367
|
-
"$.xgafv"?:
|
|
509
|
+
"$.xgafv"?:
|
|
510
|
+
string;
|
|
368
511
|
/** OAuth access token. */
|
|
369
|
-
access_token?:
|
|
512
|
+
access_token?:
|
|
513
|
+
string;
|
|
370
514
|
/** Data format for response. */
|
|
371
|
-
alt?:
|
|
515
|
+
alt?:
|
|
516
|
+
string;
|
|
372
517
|
/** JSONP */
|
|
373
|
-
callback?:
|
|
518
|
+
callback?:
|
|
519
|
+
string;
|
|
374
520
|
/** Selector specifying which fields to include in a partial response. */
|
|
375
|
-
fields?:
|
|
521
|
+
fields?:
|
|
522
|
+
string;
|
|
376
523
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
377
|
-
key?:
|
|
524
|
+
key?:
|
|
525
|
+
string;
|
|
378
526
|
/** OAuth 2.0 token for the current user. */
|
|
379
|
-
oauth_token?:
|
|
527
|
+
oauth_token?:
|
|
528
|
+
string;
|
|
380
529
|
/** Returns response with indentations and line breaks. */
|
|
381
|
-
prettyPrint?:
|
|
530
|
+
prettyPrint?:
|
|
531
|
+
boolean;
|
|
382
532
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
383
|
-
quotaUser?:
|
|
533
|
+
quotaUser?:
|
|
534
|
+
string;
|
|
384
535
|
/** Task list identifier. */
|
|
385
|
-
tasklist:
|
|
536
|
+
tasklist:
|
|
537
|
+
string;
|
|
386
538
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
387
|
-
upload_protocol?:
|
|
539
|
+
upload_protocol?:
|
|
540
|
+
string;
|
|
388
541
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
389
|
-
uploadType?:
|
|
542
|
+
uploadType?:
|
|
543
|
+
string;
|
|
390
544
|
}): Request<void>;
|
|
391
545
|
/** Deletes the specified task from the task list. */
|
|
392
546
|
delete(request?: {
|
|
393
547
|
/** V1 error format. */
|
|
394
|
-
"$.xgafv"?:
|
|
548
|
+
"$.xgafv"?:
|
|
549
|
+
string;
|
|
395
550
|
/** OAuth access token. */
|
|
396
|
-
access_token?:
|
|
551
|
+
access_token?:
|
|
552
|
+
string;
|
|
397
553
|
/** Data format for response. */
|
|
398
|
-
alt?:
|
|
554
|
+
alt?:
|
|
555
|
+
string;
|
|
399
556
|
/** JSONP */
|
|
400
|
-
callback?:
|
|
557
|
+
callback?:
|
|
558
|
+
string;
|
|
401
559
|
/** Selector specifying which fields to include in a partial response. */
|
|
402
|
-
fields?:
|
|
560
|
+
fields?:
|
|
561
|
+
string;
|
|
403
562
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
404
|
-
key?:
|
|
563
|
+
key?:
|
|
564
|
+
string;
|
|
405
565
|
/** OAuth 2.0 token for the current user. */
|
|
406
|
-
oauth_token?:
|
|
566
|
+
oauth_token?:
|
|
567
|
+
string;
|
|
407
568
|
/** Returns response with indentations and line breaks. */
|
|
408
|
-
prettyPrint?:
|
|
569
|
+
prettyPrint?:
|
|
570
|
+
boolean;
|
|
409
571
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
410
|
-
quotaUser?:
|
|
572
|
+
quotaUser?:
|
|
573
|
+
string;
|
|
411
574
|
/** Task identifier. */
|
|
412
|
-
task:
|
|
575
|
+
task:
|
|
576
|
+
string;
|
|
413
577
|
/** Task list identifier. */
|
|
414
|
-
tasklist:
|
|
578
|
+
tasklist:
|
|
579
|
+
string;
|
|
415
580
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
416
|
-
upload_protocol?:
|
|
581
|
+
upload_protocol?:
|
|
582
|
+
string;
|
|
417
583
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
418
|
-
uploadType?:
|
|
584
|
+
uploadType?:
|
|
585
|
+
string;
|
|
419
586
|
}): Request<void>;
|
|
420
587
|
/** Returns the specified task. */
|
|
421
588
|
get(request?: {
|
|
422
589
|
/** V1 error format. */
|
|
423
|
-
"$.xgafv"?:
|
|
590
|
+
"$.xgafv"?:
|
|
591
|
+
string;
|
|
424
592
|
/** OAuth access token. */
|
|
425
|
-
access_token?:
|
|
593
|
+
access_token?:
|
|
594
|
+
string;
|
|
426
595
|
/** Data format for response. */
|
|
427
|
-
alt?:
|
|
596
|
+
alt?:
|
|
597
|
+
string;
|
|
428
598
|
/** JSONP */
|
|
429
|
-
callback?:
|
|
599
|
+
callback?:
|
|
600
|
+
string;
|
|
430
601
|
/** Selector specifying which fields to include in a partial response. */
|
|
431
|
-
fields?:
|
|
602
|
+
fields?:
|
|
603
|
+
string;
|
|
432
604
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
433
|
-
key?:
|
|
605
|
+
key?:
|
|
606
|
+
string;
|
|
434
607
|
/** OAuth 2.0 token for the current user. */
|
|
435
|
-
oauth_token?:
|
|
608
|
+
oauth_token?:
|
|
609
|
+
string;
|
|
436
610
|
/** Returns response with indentations and line breaks. */
|
|
437
|
-
prettyPrint?:
|
|
611
|
+
prettyPrint?:
|
|
612
|
+
boolean;
|
|
438
613
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
439
|
-
quotaUser?:
|
|
614
|
+
quotaUser?:
|
|
615
|
+
string;
|
|
440
616
|
/** Task identifier. */
|
|
441
|
-
task:
|
|
617
|
+
task:
|
|
618
|
+
string;
|
|
442
619
|
/** Task list identifier. */
|
|
443
|
-
tasklist:
|
|
620
|
+
tasklist:
|
|
621
|
+
string;
|
|
444
622
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
445
|
-
upload_protocol?:
|
|
623
|
+
upload_protocol?:
|
|
624
|
+
string;
|
|
446
625
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
447
|
-
uploadType?:
|
|
626
|
+
uploadType?:
|
|
627
|
+
string;
|
|
448
628
|
}): Request<Task>;
|
|
449
629
|
/** Creates a new task on the specified task list. */
|
|
450
630
|
insert(request: {
|
|
451
631
|
/** V1 error format. */
|
|
452
|
-
"$.xgafv"?:
|
|
632
|
+
"$.xgafv"?:
|
|
633
|
+
string;
|
|
453
634
|
/** OAuth access token. */
|
|
454
|
-
access_token?:
|
|
635
|
+
access_token?:
|
|
636
|
+
string;
|
|
455
637
|
/** Data format for response. */
|
|
456
|
-
alt?:
|
|
638
|
+
alt?:
|
|
639
|
+
string;
|
|
457
640
|
/** JSONP */
|
|
458
|
-
callback?:
|
|
641
|
+
callback?:
|
|
642
|
+
string;
|
|
459
643
|
/** Selector specifying which fields to include in a partial response. */
|
|
460
|
-
fields?:
|
|
644
|
+
fields?:
|
|
645
|
+
string;
|
|
461
646
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
462
|
-
key?:
|
|
647
|
+
key?:
|
|
648
|
+
string;
|
|
463
649
|
/** OAuth 2.0 token for the current user. */
|
|
464
|
-
oauth_token?:
|
|
650
|
+
oauth_token?:
|
|
651
|
+
string;
|
|
465
652
|
/** Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional. */
|
|
466
|
-
parent?:
|
|
653
|
+
parent?:
|
|
654
|
+
string;
|
|
467
655
|
/** Returns response with indentations and line breaks. */
|
|
468
|
-
prettyPrint?:
|
|
656
|
+
prettyPrint?:
|
|
657
|
+
boolean;
|
|
469
658
|
/** Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional. */
|
|
470
|
-
previous?:
|
|
659
|
+
previous?:
|
|
660
|
+
string;
|
|
471
661
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
472
|
-
quotaUser?:
|
|
662
|
+
quotaUser?:
|
|
663
|
+
string;
|
|
473
664
|
/** Task list identifier. */
|
|
474
|
-
tasklist:
|
|
665
|
+
tasklist:
|
|
666
|
+
string;
|
|
475
667
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
476
|
-
upload_protocol?:
|
|
668
|
+
upload_protocol?:
|
|
669
|
+
string;
|
|
477
670
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
478
|
-
uploadType?:
|
|
671
|
+
uploadType?:
|
|
672
|
+
string;
|
|
479
673
|
/** Request body */
|
|
480
|
-
resource:
|
|
674
|
+
resource:
|
|
675
|
+
Task;
|
|
481
676
|
}): Request<Task>;
|
|
482
677
|
insert(request: {
|
|
483
678
|
/** V1 error format. */
|
|
484
|
-
"$.xgafv"?:
|
|
679
|
+
"$.xgafv"?:
|
|
680
|
+
string;
|
|
485
681
|
/** OAuth access token. */
|
|
486
|
-
access_token?:
|
|
682
|
+
access_token?:
|
|
683
|
+
string;
|
|
487
684
|
/** Data format for response. */
|
|
488
|
-
alt?:
|
|
685
|
+
alt?:
|
|
686
|
+
string;
|
|
489
687
|
/** JSONP */
|
|
490
|
-
callback?:
|
|
688
|
+
callback?:
|
|
689
|
+
string;
|
|
491
690
|
/** Selector specifying which fields to include in a partial response. */
|
|
492
|
-
fields?:
|
|
691
|
+
fields?:
|
|
692
|
+
string;
|
|
493
693
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
494
|
-
key?:
|
|
694
|
+
key?:
|
|
695
|
+
string;
|
|
495
696
|
/** OAuth 2.0 token for the current user. */
|
|
496
|
-
oauth_token?:
|
|
697
|
+
oauth_token?:
|
|
698
|
+
string;
|
|
497
699
|
/** Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional. */
|
|
498
|
-
parent?:
|
|
700
|
+
parent?:
|
|
701
|
+
string;
|
|
499
702
|
/** Returns response with indentations and line breaks. */
|
|
500
|
-
prettyPrint?:
|
|
703
|
+
prettyPrint?:
|
|
704
|
+
boolean;
|
|
501
705
|
/** Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional. */
|
|
502
|
-
previous?:
|
|
706
|
+
previous?:
|
|
707
|
+
string;
|
|
503
708
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
504
|
-
quotaUser?:
|
|
709
|
+
quotaUser?:
|
|
710
|
+
string;
|
|
505
711
|
/** Task list identifier. */
|
|
506
|
-
tasklist:
|
|
712
|
+
tasklist:
|
|
713
|
+
string;
|
|
507
714
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
508
|
-
upload_protocol?:
|
|
715
|
+
upload_protocol?:
|
|
716
|
+
string;
|
|
509
717
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
510
|
-
uploadType?:
|
|
718
|
+
uploadType?:
|
|
719
|
+
string;
|
|
511
720
|
},
|
|
512
721
|
body: Task): Request<Task>;
|
|
513
722
|
/** Returns all tasks in the specified task list. */
|
|
514
723
|
list(request?: {
|
|
515
724
|
/** V1 error format. */
|
|
516
|
-
"$.xgafv"?:
|
|
725
|
+
"$.xgafv"?:
|
|
726
|
+
string;
|
|
517
727
|
/** OAuth access token. */
|
|
518
|
-
access_token?:
|
|
728
|
+
access_token?:
|
|
729
|
+
string;
|
|
519
730
|
/** Data format for response. */
|
|
520
|
-
alt?:
|
|
731
|
+
alt?:
|
|
732
|
+
string;
|
|
521
733
|
/** JSONP */
|
|
522
|
-
callback?:
|
|
734
|
+
callback?:
|
|
735
|
+
string;
|
|
523
736
|
/** Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date. */
|
|
524
|
-
completedMax?:
|
|
737
|
+
completedMax?:
|
|
738
|
+
string;
|
|
525
739
|
/** Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date. */
|
|
526
|
-
completedMin?:
|
|
740
|
+
completedMin?:
|
|
741
|
+
string;
|
|
527
742
|
/** Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date. */
|
|
528
|
-
dueMax?:
|
|
743
|
+
dueMax?:
|
|
744
|
+
string;
|
|
529
745
|
/** Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date. */
|
|
530
|
-
dueMin?:
|
|
746
|
+
dueMin?:
|
|
747
|
+
string;
|
|
531
748
|
/** Selector specifying which fields to include in a partial response. */
|
|
532
|
-
fields?:
|
|
749
|
+
fields?:
|
|
750
|
+
string;
|
|
533
751
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
534
|
-
key?:
|
|
752
|
+
key?:
|
|
753
|
+
string;
|
|
535
754
|
/** Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100). */
|
|
536
|
-
maxResults?:
|
|
755
|
+
maxResults?:
|
|
756
|
+
number;
|
|
537
757
|
/** OAuth 2.0 token for the current user. */
|
|
538
|
-
oauth_token?:
|
|
758
|
+
oauth_token?:
|
|
759
|
+
string;
|
|
539
760
|
/** Token specifying the result page to return. Optional. */
|
|
540
|
-
pageToken?:
|
|
761
|
+
pageToken?:
|
|
762
|
+
string;
|
|
541
763
|
/** Returns response with indentations and line breaks. */
|
|
542
|
-
prettyPrint?:
|
|
764
|
+
prettyPrint?:
|
|
765
|
+
boolean;
|
|
543
766
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
544
|
-
quotaUser?:
|
|
767
|
+
quotaUser?:
|
|
768
|
+
string;
|
|
545
769
|
/**
|
|
546
770
|
* Flag indicating whether completed tasks are returned in the result. Optional. The default is True. Note that showHidden must also be True to show tasks completed in first party
|
|
547
771
|
* clients, such as the web UI and Google's mobile apps.
|
|
548
772
|
*/
|
|
549
|
-
showCompleted?:
|
|
773
|
+
showCompleted?:
|
|
774
|
+
boolean;
|
|
550
775
|
/** Flag indicating whether deleted tasks are returned in the result. Optional. The default is False. */
|
|
551
|
-
showDeleted?:
|
|
776
|
+
showDeleted?:
|
|
777
|
+
boolean;
|
|
552
778
|
/** Flag indicating whether hidden tasks are returned in the result. Optional. The default is False. */
|
|
553
|
-
showHidden?:
|
|
779
|
+
showHidden?:
|
|
780
|
+
boolean;
|
|
554
781
|
/** Task list identifier. */
|
|
555
|
-
tasklist:
|
|
782
|
+
tasklist:
|
|
783
|
+
string;
|
|
556
784
|
/** Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time. */
|
|
557
|
-
updatedMin?:
|
|
785
|
+
updatedMin?:
|
|
786
|
+
string;
|
|
558
787
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
559
|
-
upload_protocol?:
|
|
788
|
+
upload_protocol?:
|
|
789
|
+
string;
|
|
560
790
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
561
|
-
uploadType?:
|
|
791
|
+
uploadType?:
|
|
792
|
+
string;
|
|
562
793
|
}): Request<Tasks>;
|
|
563
794
|
/**
|
|
564
795
|
* Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a different position among its
|
|
@@ -566,154 +797,223 @@ declare namespace gapi.client {
|
|
|
566
797
|
*/
|
|
567
798
|
move(request?: {
|
|
568
799
|
/** V1 error format. */
|
|
569
|
-
"$.xgafv"?:
|
|
800
|
+
"$.xgafv"?:
|
|
801
|
+
string;
|
|
570
802
|
/** OAuth access token. */
|
|
571
|
-
access_token?:
|
|
803
|
+
access_token?:
|
|
804
|
+
string;
|
|
572
805
|
/** Data format for response. */
|
|
573
|
-
alt?:
|
|
806
|
+
alt?:
|
|
807
|
+
string;
|
|
574
808
|
/** JSONP */
|
|
575
|
-
callback?:
|
|
809
|
+
callback?:
|
|
810
|
+
string;
|
|
576
811
|
/** Selector specifying which fields to include in a partial response. */
|
|
577
|
-
fields?:
|
|
812
|
+
fields?:
|
|
813
|
+
string;
|
|
578
814
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
579
|
-
key?:
|
|
815
|
+
key?:
|
|
816
|
+
string;
|
|
580
817
|
/** OAuth 2.0 token for the current user. */
|
|
581
|
-
oauth_token?:
|
|
818
|
+
oauth_token?:
|
|
819
|
+
string;
|
|
582
820
|
/** New parent task identifier. If the task is moved to the top level, this parameter is omitted. Optional. */
|
|
583
|
-
parent?:
|
|
821
|
+
parent?:
|
|
822
|
+
string;
|
|
584
823
|
/** Returns response with indentations and line breaks. */
|
|
585
|
-
prettyPrint?:
|
|
824
|
+
prettyPrint?:
|
|
825
|
+
boolean;
|
|
586
826
|
/** New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. Optional. */
|
|
587
|
-
previous?:
|
|
827
|
+
previous?:
|
|
828
|
+
string;
|
|
588
829
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
589
|
-
quotaUser?:
|
|
830
|
+
quotaUser?:
|
|
831
|
+
string;
|
|
590
832
|
/** Task identifier. */
|
|
591
|
-
task:
|
|
833
|
+
task:
|
|
834
|
+
string;
|
|
592
835
|
/** Task list identifier. */
|
|
593
|
-
tasklist:
|
|
836
|
+
tasklist:
|
|
837
|
+
string;
|
|
594
838
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
595
|
-
upload_protocol?:
|
|
839
|
+
upload_protocol?:
|
|
840
|
+
string;
|
|
596
841
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
597
|
-
uploadType?:
|
|
842
|
+
uploadType?:
|
|
843
|
+
string;
|
|
598
844
|
}): Request<Task>;
|
|
599
845
|
/** Updates the specified task. This method supports patch semantics. */
|
|
600
846
|
patch(request: {
|
|
601
847
|
/** V1 error format. */
|
|
602
|
-
"$.xgafv"?:
|
|
848
|
+
"$.xgafv"?:
|
|
849
|
+
string;
|
|
603
850
|
/** OAuth access token. */
|
|
604
|
-
access_token?:
|
|
851
|
+
access_token?:
|
|
852
|
+
string;
|
|
605
853
|
/** Data format for response. */
|
|
606
|
-
alt?:
|
|
854
|
+
alt?:
|
|
855
|
+
string;
|
|
607
856
|
/** JSONP */
|
|
608
|
-
callback?:
|
|
857
|
+
callback?:
|
|
858
|
+
string;
|
|
609
859
|
/** Selector specifying which fields to include in a partial response. */
|
|
610
|
-
fields?:
|
|
860
|
+
fields?:
|
|
861
|
+
string;
|
|
611
862
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
612
|
-
key?:
|
|
863
|
+
key?:
|
|
864
|
+
string;
|
|
613
865
|
/** OAuth 2.0 token for the current user. */
|
|
614
|
-
oauth_token?:
|
|
866
|
+
oauth_token?:
|
|
867
|
+
string;
|
|
615
868
|
/** Returns response with indentations and line breaks. */
|
|
616
|
-
prettyPrint?:
|
|
869
|
+
prettyPrint?:
|
|
870
|
+
boolean;
|
|
617
871
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
618
|
-
quotaUser?:
|
|
872
|
+
quotaUser?:
|
|
873
|
+
string;
|
|
619
874
|
/** Task identifier. */
|
|
620
|
-
task:
|
|
875
|
+
task:
|
|
876
|
+
string;
|
|
621
877
|
/** Task list identifier. */
|
|
622
|
-
tasklist:
|
|
878
|
+
tasklist:
|
|
879
|
+
string;
|
|
623
880
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
624
|
-
upload_protocol?:
|
|
881
|
+
upload_protocol?:
|
|
882
|
+
string;
|
|
625
883
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
626
|
-
uploadType?:
|
|
884
|
+
uploadType?:
|
|
885
|
+
string;
|
|
627
886
|
/** Request body */
|
|
628
|
-
resource:
|
|
887
|
+
resource:
|
|
888
|
+
Task;
|
|
629
889
|
}): Request<Task>;
|
|
630
890
|
patch(request: {
|
|
631
891
|
/** V1 error format. */
|
|
632
|
-
"$.xgafv"?:
|
|
892
|
+
"$.xgafv"?:
|
|
893
|
+
string;
|
|
633
894
|
/** OAuth access token. */
|
|
634
|
-
access_token?:
|
|
895
|
+
access_token?:
|
|
896
|
+
string;
|
|
635
897
|
/** Data format for response. */
|
|
636
|
-
alt?:
|
|
898
|
+
alt?:
|
|
899
|
+
string;
|
|
637
900
|
/** JSONP */
|
|
638
|
-
callback?:
|
|
901
|
+
callback?:
|
|
902
|
+
string;
|
|
639
903
|
/** Selector specifying which fields to include in a partial response. */
|
|
640
|
-
fields?:
|
|
904
|
+
fields?:
|
|
905
|
+
string;
|
|
641
906
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
642
|
-
key?:
|
|
907
|
+
key?:
|
|
908
|
+
string;
|
|
643
909
|
/** OAuth 2.0 token for the current user. */
|
|
644
|
-
oauth_token?:
|
|
910
|
+
oauth_token?:
|
|
911
|
+
string;
|
|
645
912
|
/** Returns response with indentations and line breaks. */
|
|
646
|
-
prettyPrint?:
|
|
913
|
+
prettyPrint?:
|
|
914
|
+
boolean;
|
|
647
915
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
648
|
-
quotaUser?:
|
|
916
|
+
quotaUser?:
|
|
917
|
+
string;
|
|
649
918
|
/** Task identifier. */
|
|
650
|
-
task:
|
|
919
|
+
task:
|
|
920
|
+
string;
|
|
651
921
|
/** Task list identifier. */
|
|
652
|
-
tasklist:
|
|
922
|
+
tasklist:
|
|
923
|
+
string;
|
|
653
924
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
654
|
-
upload_protocol?:
|
|
925
|
+
upload_protocol?:
|
|
926
|
+
string;
|
|
655
927
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
656
|
-
uploadType?:
|
|
928
|
+
uploadType?:
|
|
929
|
+
string;
|
|
657
930
|
},
|
|
658
931
|
body: Task): Request<Task>;
|
|
659
932
|
/** Updates the specified task. */
|
|
660
933
|
update(request: {
|
|
661
934
|
/** V1 error format. */
|
|
662
|
-
"$.xgafv"?:
|
|
935
|
+
"$.xgafv"?:
|
|
936
|
+
string;
|
|
663
937
|
/** OAuth access token. */
|
|
664
|
-
access_token?:
|
|
938
|
+
access_token?:
|
|
939
|
+
string;
|
|
665
940
|
/** Data format for response. */
|
|
666
|
-
alt?:
|
|
941
|
+
alt?:
|
|
942
|
+
string;
|
|
667
943
|
/** JSONP */
|
|
668
|
-
callback?:
|
|
944
|
+
callback?:
|
|
945
|
+
string;
|
|
669
946
|
/** Selector specifying which fields to include in a partial response. */
|
|
670
|
-
fields?:
|
|
947
|
+
fields?:
|
|
948
|
+
string;
|
|
671
949
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
672
|
-
key?:
|
|
950
|
+
key?:
|
|
951
|
+
string;
|
|
673
952
|
/** OAuth 2.0 token for the current user. */
|
|
674
|
-
oauth_token?:
|
|
953
|
+
oauth_token?:
|
|
954
|
+
string;
|
|
675
955
|
/** Returns response with indentations and line breaks. */
|
|
676
|
-
prettyPrint?:
|
|
956
|
+
prettyPrint?:
|
|
957
|
+
boolean;
|
|
677
958
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
678
|
-
quotaUser?:
|
|
959
|
+
quotaUser?:
|
|
960
|
+
string;
|
|
679
961
|
/** Task identifier. */
|
|
680
|
-
task:
|
|
962
|
+
task:
|
|
963
|
+
string;
|
|
681
964
|
/** Task list identifier. */
|
|
682
|
-
tasklist:
|
|
965
|
+
tasklist:
|
|
966
|
+
string;
|
|
683
967
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
684
|
-
upload_protocol?:
|
|
968
|
+
upload_protocol?:
|
|
969
|
+
string;
|
|
685
970
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
686
|
-
uploadType?:
|
|
971
|
+
uploadType?:
|
|
972
|
+
string;
|
|
687
973
|
/** Request body */
|
|
688
|
-
resource:
|
|
974
|
+
resource:
|
|
975
|
+
Task;
|
|
689
976
|
}): Request<Task>;
|
|
690
977
|
update(request: {
|
|
691
978
|
/** V1 error format. */
|
|
692
|
-
"$.xgafv"?:
|
|
979
|
+
"$.xgafv"?:
|
|
980
|
+
string;
|
|
693
981
|
/** OAuth access token. */
|
|
694
|
-
access_token?:
|
|
982
|
+
access_token?:
|
|
983
|
+
string;
|
|
695
984
|
/** Data format for response. */
|
|
696
|
-
alt?:
|
|
985
|
+
alt?:
|
|
986
|
+
string;
|
|
697
987
|
/** JSONP */
|
|
698
|
-
callback?:
|
|
988
|
+
callback?:
|
|
989
|
+
string;
|
|
699
990
|
/** Selector specifying which fields to include in a partial response. */
|
|
700
|
-
fields?:
|
|
991
|
+
fields?:
|
|
992
|
+
string;
|
|
701
993
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
702
|
-
key?:
|
|
994
|
+
key?:
|
|
995
|
+
string;
|
|
703
996
|
/** OAuth 2.0 token for the current user. */
|
|
704
|
-
oauth_token?:
|
|
997
|
+
oauth_token?:
|
|
998
|
+
string;
|
|
705
999
|
/** Returns response with indentations and line breaks. */
|
|
706
|
-
prettyPrint?:
|
|
1000
|
+
prettyPrint?:
|
|
1001
|
+
boolean;
|
|
707
1002
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
708
|
-
quotaUser?:
|
|
1003
|
+
quotaUser?:
|
|
1004
|
+
string;
|
|
709
1005
|
/** Task identifier. */
|
|
710
|
-
task:
|
|
1006
|
+
task:
|
|
1007
|
+
string;
|
|
711
1008
|
/** Task list identifier. */
|
|
712
|
-
tasklist:
|
|
1009
|
+
tasklist:
|
|
1010
|
+
string;
|
|
713
1011
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
714
|
-
upload_protocol?:
|
|
1012
|
+
upload_protocol?:
|
|
1013
|
+
string;
|
|
715
1014
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
716
|
-
uploadType?:
|
|
1015
|
+
uploadType?:
|
|
1016
|
+
string;
|
|
717
1017
|
},
|
|
718
1018
|
body: Task): Request<Task>;
|
|
719
1019
|
}
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230429
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|