@maxim_mazurok/gapi.client.keep-v1 0.0.20230413 → 0.0.20230425

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 +319 -160
  2. package/package.json +1 -1
  3. 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://keep.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230413
12
+ // Revision: 20230425
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,27 +24,34 @@ declare namespace gapi.client {
24
24
  namespace keep {
25
25
  interface Attachment {
26
26
  /** The MIME types (IANA media types) in which the attachment is available. */
27
- mimeType?: string[];
27
+ mimeType?:
28
+ string[];
28
29
  /** The resource name; */
29
- name?: string;
30
+ name?:
31
+ string;
30
32
  }
31
33
  interface BatchCreatePermissionsRequest {
32
34
  /** The request message specifying the resources to create. */
33
- requests?: CreatePermissionRequest[];
35
+ requests?:
36
+ CreatePermissionRequest[];
34
37
  }
35
38
  interface BatchCreatePermissionsResponse {
36
39
  /** Permissions created. */
37
- permissions?: Permission[];
40
+ permissions?:
41
+ Permission[];
38
42
  }
39
43
  interface BatchDeletePermissionsRequest {
40
44
  /** Required. The names of the permissions to delete. Format: `notes/{note}/permissions/{permission}` */
41
- names?: string[];
45
+ names?:
46
+ string[];
42
47
  }
43
48
  interface CreatePermissionRequest {
44
49
  /** Required. The parent note where this permission will be created. Format: `notes/{note}` */
45
- parent?: string;
50
+ parent?:
51
+ string;
46
52
  /** Required. The permission to create. One of Permission.email, User.email or Group.email must be supplied. */
47
- permission?: Permission;
53
+ permission?:
54
+ Permission;
48
55
  }
49
56
  // tslint:disable-next-line:no-empty-interface
50
57
  interface Empty {
@@ -54,78 +61,105 @@ declare namespace gapi.client {
54
61
  }
55
62
  interface Group {
56
63
  /** The group email. */
57
- email?: string;
64
+ email?:
65
+ string;
58
66
  }
59
67
  interface ListContent {
60
68
  /** The items in the list. The number of items must be less than 1,000. */
61
- listItems?: ListItem[];
69
+ listItems?:
70
+ ListItem[];
62
71
  }
63
72
  interface ListItem {
64
73
  /** Whether this item has been checked off or not. */
65
- checked?: boolean;
74
+ checked?:
75
+ boolean;
66
76
  /** If set, list of list items nested under this list item. Only one level of nesting is allowed. */
67
- childListItems?: ListItem[];
77
+ childListItems?:
78
+ ListItem[];
68
79
  /** The text of this item. Length must be less than 1,000 characters. */
69
- text?: TextContent;
80
+ text?:
81
+ TextContent;
70
82
  }
71
83
  interface ListNotesResponse {
72
84
  /** Next page's `page_token` field. */
73
- nextPageToken?: string;
85
+ nextPageToken?:
86
+ string;
74
87
  /** A page of notes. */
75
- notes?: Note[];
88
+ notes?:
89
+ Note[];
76
90
  }
77
91
  interface Note {
78
92
  /** Output only. The attachments attached to this note. */
79
- attachments?: Attachment[];
93
+ attachments?:
94
+ Attachment[];
80
95
  /** The body of the note. */
81
- body?: Section;
96
+ body?:
97
+ Section;
82
98
  /** Output only. When this note was created. */
83
- createTime?: string;
99
+ createTime?:
100
+ string;
84
101
  /** Output only. The resource name of this note. See general note on identifiers in KeepService. */
85
- name?: string;
102
+ name?:
103
+ string;
86
104
  /** Output only. The list of permissions set on the note. Contains at least one entry for the note owner. */
87
- permissions?: Permission[];
105
+ permissions?:
106
+ Permission[];
88
107
  /** The title of the note. Length must be less than 1,000 characters. */
89
- title?: string;
108
+ title?:
109
+ string;
90
110
  /** Output only. `true` if this note has been trashed. If trashed, the note is eventually deleted. */
91
- trashed?: boolean;
111
+ trashed?:
112
+ boolean;
92
113
  /** Output only. When this note was trashed. If `trashed`, the note is eventually deleted. If the note is not trashed, this field is not set (and the trashed field is `false`). */
93
- trashTime?: string;
114
+ trashTime?:
115
+ string;
94
116
  /** Output only. When this note was last modified. */
95
- updateTime?: string;
117
+ updateTime?:
118
+ string;
96
119
  }
97
120
  interface Permission {
98
121
  /** Output only. Whether this member has been deleted. If the member is recovered, this value is set to false and the recovered member retains the role on the note. */
99
- deleted?: boolean;
122
+ deleted?:
123
+ boolean;
100
124
  /**
101
125
  * The email associated with the member. If set on create, the `email` field in the `User` or `Group` message must either be empty or match this field. On read, may be unset if the
102
126
  * member does not have an associated email.
103
127
  */
104
- email?: string;
128
+ email?:
129
+ string;
105
130
  /** Output only. The Google Family to which this role applies. */
106
- family?: any;
131
+ family?:
132
+ any;
107
133
  /** Output only. The group to which this role applies. */
108
- group?: Group;
134
+ group?:
135
+ Group;
109
136
  /** Output only. The resource name. */
110
- name?: string;
137
+ name?:
138
+ string;
111
139
  /** The role granted by this permission. The role determines the entity’s ability to read, write, and share notes. */
112
- role?: string;
140
+ role?:
141
+ string;
113
142
  /** Output only. The user to whom this role applies. */
114
- user?: User;
143
+ user?:
144
+ User;
115
145
  }
116
146
  interface Section {
117
147
  /** Used if this section's content is a list. */
118
- list?: ListContent;
148
+ list?:
149
+ ListContent;
119
150
  /** Used if this section's content is a block of text. The length of the text content must be less than 20,000 characters. */
120
- text?: TextContent;
151
+ text?:
152
+ TextContent;
121
153
  }
122
154
  interface TextContent {
123
155
  /** The text of the note. The limits on this vary with the specific field using this type. */
124
- text?: string;
156
+ text?:
157
+ string;
125
158
  }
126
159
  interface User {
127
160
  /** The user's email. */
128
- email?: string;
161
+ email?:
162
+ string;
129
163
  }
130
164
  interface MediaResource {
131
165
  /**
@@ -134,31 +168,44 @@ declare namespace gapi.client {
134
168
  */
135
169
  download(request?: {
136
170
  /** V1 error format. */
137
- "$.xgafv"?: string;
171
+ "$.xgafv"?:
172
+ string;
138
173
  /** OAuth access token. */
139
- access_token?: string;
174
+ access_token?:
175
+ string;
140
176
  /** Data format for response. */
141
- alt?: string;
177
+ alt?:
178
+ string;
142
179
  /** JSONP */
143
- callback?: string;
180
+ callback?:
181
+ string;
144
182
  /** Selector specifying which fields to include in a partial response. */
145
- fields?: string;
183
+ fields?:
184
+ string;
146
185
  /** 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. */
147
- key?: string;
186
+ key?:
187
+ string;
148
188
  /** The IANA MIME type format requested. The requested MIME type must be one specified in the attachment.mime_type. Required when downloading attachment media and ignored otherwise. */
149
- mimeType?: string;
189
+ mimeType?:
190
+ string;
150
191
  /** Required. The name of the attachment. */
151
- name: string;
192
+ name:
193
+ string;
152
194
  /** OAuth 2.0 token for the current user. */
153
- oauth_token?: string;
195
+ oauth_token?:
196
+ string;
154
197
  /** Returns response with indentations and line breaks. */
155
- prettyPrint?: boolean;
198
+ prettyPrint?:
199
+ boolean;
156
200
  /** 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. */
157
- quotaUser?: string;
201
+ quotaUser?:
202
+ string;
158
203
  /** Upload protocol for media (e.g. "raw", "multipart"). */
159
- upload_protocol?: string;
204
+ upload_protocol?:
205
+ string;
160
206
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
161
- uploadType?: string;
207
+ uploadType?:
208
+ string;
162
209
  }): Request<Attachment>;
163
210
  }
164
211
  interface PermissionsResource {
@@ -168,63 +215,88 @@ declare namespace gapi.client {
168
215
  */
169
216
  batchCreate(request: {
170
217
  /** V1 error format. */
171
- "$.xgafv"?: string;
218
+ "$.xgafv"?:
219
+ string;
172
220
  /** OAuth access token. */
173
- access_token?: string;
221
+ access_token?:
222
+ string;
174
223
  /** Data format for response. */
175
- alt?: string;
224
+ alt?:
225
+ string;
176
226
  /** JSONP */
177
- callback?: string;
227
+ callback?:
228
+ string;
178
229
  /** Selector specifying which fields to include in a partial response. */
179
- fields?: string;
230
+ fields?:
231
+ string;
180
232
  /** 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. */
181
- key?: string;
233
+ key?:
234
+ string;
182
235
  /** OAuth 2.0 token for the current user. */
183
- oauth_token?: string;
236
+ oauth_token?:
237
+ string;
184
238
  /**
185
239
  * The parent resource shared by all Permissions being created. Format: `notes/{note}` If this is set, the parent field in the CreatePermission messages must either be empty or
186
240
  * match this field.
187
241
  */
188
- parent: string;
242
+ parent:
243
+ string;
189
244
  /** Returns response with indentations and line breaks. */
190
- prettyPrint?: boolean;
245
+ prettyPrint?:
246
+ boolean;
191
247
  /** 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. */
192
- quotaUser?: string;
248
+ quotaUser?:
249
+ string;
193
250
  /** Upload protocol for media (e.g. "raw", "multipart"). */
194
- upload_protocol?: string;
251
+ upload_protocol?:
252
+ string;
195
253
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
196
- uploadType?: string;
254
+ uploadType?:
255
+ string;
197
256
  /** Request body */
198
- resource: BatchCreatePermissionsRequest;
257
+ resource:
258
+ BatchCreatePermissionsRequest;
199
259
  }): Request<BatchCreatePermissionsResponse>;
200
260
  batchCreate(request: {
201
261
  /** V1 error format. */
202
- "$.xgafv"?: string;
262
+ "$.xgafv"?:
263
+ string;
203
264
  /** OAuth access token. */
204
- access_token?: string;
265
+ access_token?:
266
+ string;
205
267
  /** Data format for response. */
206
- alt?: string;
268
+ alt?:
269
+ string;
207
270
  /** JSONP */
208
- callback?: string;
271
+ callback?:
272
+ string;
209
273
  /** Selector specifying which fields to include in a partial response. */
210
- fields?: string;
274
+ fields?:
275
+ string;
211
276
  /** 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. */
212
- key?: string;
277
+ key?:
278
+ string;
213
279
  /** OAuth 2.0 token for the current user. */
214
- oauth_token?: string;
280
+ oauth_token?:
281
+ string;
215
282
  /**
216
283
  * The parent resource shared by all Permissions being created. Format: `notes/{note}` If this is set, the parent field in the CreatePermission messages must either be empty or
217
284
  * match this field.
218
285
  */
219
- parent: string;
286
+ parent:
287
+ string;
220
288
  /** Returns response with indentations and line breaks. */
221
- prettyPrint?: boolean;
289
+ prettyPrint?:
290
+ boolean;
222
291
  /** 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. */
223
- quotaUser?: string;
292
+ quotaUser?:
293
+ string;
224
294
  /** Upload protocol for media (e.g. "raw", "multipart"). */
225
- upload_protocol?: string;
295
+ upload_protocol?:
296
+ string;
226
297
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
227
- uploadType?: string;
298
+ uploadType?:
299
+ string;
228
300
  },
229
301
  body: BatchCreatePermissionsRequest): Request<BatchCreatePermissionsResponse>;
230
302
  /**
@@ -233,63 +305,88 @@ declare namespace gapi.client {
233
305
  */
234
306
  batchDelete(request: {
235
307
  /** V1 error format. */
236
- "$.xgafv"?: string;
308
+ "$.xgafv"?:
309
+ string;
237
310
  /** OAuth access token. */
238
- access_token?: string;
311
+ access_token?:
312
+ string;
239
313
  /** Data format for response. */
240
- alt?: string;
314
+ alt?:
315
+ string;
241
316
  /** JSONP */
242
- callback?: string;
317
+ callback?:
318
+ string;
243
319
  /** Selector specifying which fields to include in a partial response. */
244
- fields?: string;
320
+ fields?:
321
+ string;
245
322
  /** 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. */
246
- key?: string;
323
+ key?:
324
+ string;
247
325
  /** OAuth 2.0 token for the current user. */
248
- oauth_token?: string;
326
+ oauth_token?:
327
+ string;
249
328
  /**
250
329
  * The parent resource shared by all permissions being deleted. Format: `notes/{note}` If this is set, the parent of all of the permissions specified in the DeletePermissionRequest
251
330
  * messages must match this field.
252
331
  */
253
- parent: string;
332
+ parent:
333
+ string;
254
334
  /** Returns response with indentations and line breaks. */
255
- prettyPrint?: boolean;
335
+ prettyPrint?:
336
+ boolean;
256
337
  /** 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. */
257
- quotaUser?: string;
338
+ quotaUser?:
339
+ string;
258
340
  /** Upload protocol for media (e.g. "raw", "multipart"). */
259
- upload_protocol?: string;
341
+ upload_protocol?:
342
+ string;
260
343
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
261
- uploadType?: string;
344
+ uploadType?:
345
+ string;
262
346
  /** Request body */
263
- resource: BatchDeletePermissionsRequest;
347
+ resource:
348
+ BatchDeletePermissionsRequest;
264
349
  }): Request<{}>;
265
350
  batchDelete(request: {
266
351
  /** V1 error format. */
267
- "$.xgafv"?: string;
352
+ "$.xgafv"?:
353
+ string;
268
354
  /** OAuth access token. */
269
- access_token?: string;
355
+ access_token?:
356
+ string;
270
357
  /** Data format for response. */
271
- alt?: string;
358
+ alt?:
359
+ string;
272
360
  /** JSONP */
273
- callback?: string;
361
+ callback?:
362
+ string;
274
363
  /** Selector specifying which fields to include in a partial response. */
275
- fields?: string;
364
+ fields?:
365
+ string;
276
366
  /** 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. */
277
- key?: string;
367
+ key?:
368
+ string;
278
369
  /** OAuth 2.0 token for the current user. */
279
- oauth_token?: string;
370
+ oauth_token?:
371
+ string;
280
372
  /**
281
373
  * The parent resource shared by all permissions being deleted. Format: `notes/{note}` If this is set, the parent of all of the permissions specified in the DeletePermissionRequest
282
374
  * messages must match this field.
283
375
  */
284
- parent: string;
376
+ parent:
377
+ string;
285
378
  /** Returns response with indentations and line breaks. */
286
- prettyPrint?: boolean;
379
+ prettyPrint?:
380
+ boolean;
287
381
  /** 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. */
288
- quotaUser?: string;
382
+ quotaUser?:
383
+ string;
289
384
  /** Upload protocol for media (e.g. "raw", "multipart"). */
290
- upload_protocol?: string;
385
+ upload_protocol?:
386
+ string;
291
387
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
292
- uploadType?: string;
388
+ uploadType?:
389
+ string;
293
390
  },
294
391
  body: BatchDeletePermissionsRequest): Request<{}>;
295
392
  }
@@ -297,53 +394,76 @@ declare namespace gapi.client {
297
394
  /** Creates a new note. */
298
395
  create(request: {
299
396
  /** V1 error format. */
300
- "$.xgafv"?: string;
397
+ "$.xgafv"?:
398
+ string;
301
399
  /** OAuth access token. */
302
- access_token?: string;
400
+ access_token?:
401
+ string;
303
402
  /** Data format for response. */
304
- alt?: string;
403
+ alt?:
404
+ string;
305
405
  /** JSONP */
306
- callback?: string;
406
+ callback?:
407
+ string;
307
408
  /** Selector specifying which fields to include in a partial response. */
308
- fields?: string;
409
+ fields?:
410
+ string;
309
411
  /** 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. */
310
- key?: string;
412
+ key?:
413
+ string;
311
414
  /** OAuth 2.0 token for the current user. */
312
- oauth_token?: string;
415
+ oauth_token?:
416
+ string;
313
417
  /** Returns response with indentations and line breaks. */
314
- prettyPrint?: boolean;
418
+ prettyPrint?:
419
+ boolean;
315
420
  /** 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. */
316
- quotaUser?: string;
421
+ quotaUser?:
422
+ string;
317
423
  /** Upload protocol for media (e.g. "raw", "multipart"). */
318
- upload_protocol?: string;
424
+ upload_protocol?:
425
+ string;
319
426
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
320
- uploadType?: string;
427
+ uploadType?:
428
+ string;
321
429
  /** Request body */
322
- resource: Note;
430
+ resource:
431
+ Note;
323
432
  }): Request<Note>;
324
433
  create(request: {
325
434
  /** V1 error format. */
326
- "$.xgafv"?: string;
435
+ "$.xgafv"?:
436
+ string;
327
437
  /** OAuth access token. */
328
- access_token?: string;
438
+ access_token?:
439
+ string;
329
440
  /** Data format for response. */
330
- alt?: string;
441
+ alt?:
442
+ string;
331
443
  /** JSONP */
332
- callback?: string;
444
+ callback?:
445
+ string;
333
446
  /** Selector specifying which fields to include in a partial response. */
334
- fields?: string;
447
+ fields?:
448
+ string;
335
449
  /** 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. */
336
- key?: string;
450
+ key?:
451
+ string;
337
452
  /** OAuth 2.0 token for the current user. */
338
- oauth_token?: string;
453
+ oauth_token?:
454
+ string;
339
455
  /** Returns response with indentations and line breaks. */
340
- prettyPrint?: boolean;
456
+ prettyPrint?:
457
+ boolean;
341
458
  /** 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. */
342
- quotaUser?: string;
459
+ quotaUser?:
460
+ string;
343
461
  /** Upload protocol for media (e.g. "raw", "multipart"). */
344
- upload_protocol?: string;
462
+ upload_protocol?:
463
+ string;
345
464
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
346
- uploadType?: string;
465
+ uploadType?:
466
+ string;
347
467
  },
348
468
  body: Note): Request<Note>;
349
469
  /**
@@ -352,56 +472,80 @@ declare namespace gapi.client {
352
472
  */
353
473
  delete(request?: {
354
474
  /** V1 error format. */
355
- "$.xgafv"?: string;
475
+ "$.xgafv"?:
476
+ string;
356
477
  /** OAuth access token. */
357
- access_token?: string;
478
+ access_token?:
479
+ string;
358
480
  /** Data format for response. */
359
- alt?: string;
481
+ alt?:
482
+ string;
360
483
  /** JSONP */
361
- callback?: string;
484
+ callback?:
485
+ string;
362
486
  /** Selector specifying which fields to include in a partial response. */
363
- fields?: string;
487
+ fields?:
488
+ string;
364
489
  /** 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. */
365
- key?: string;
490
+ key?:
491
+ string;
366
492
  /** Required. Name of the note to delete. */
367
- name: string;
493
+ name:
494
+ string;
368
495
  /** OAuth 2.0 token for the current user. */
369
- oauth_token?: string;
496
+ oauth_token?:
497
+ string;
370
498
  /** Returns response with indentations and line breaks. */
371
- prettyPrint?: boolean;
499
+ prettyPrint?:
500
+ boolean;
372
501
  /** 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. */
373
- quotaUser?: string;
502
+ quotaUser?:
503
+ string;
374
504
  /** Upload protocol for media (e.g. "raw", "multipart"). */
375
- upload_protocol?: string;
505
+ upload_protocol?:
506
+ string;
376
507
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
377
- uploadType?: string;
508
+ uploadType?:
509
+ string;
378
510
  }): Request<{}>;
379
511
  /** Gets a note. */
380
512
  get(request?: {
381
513
  /** V1 error format. */
382
- "$.xgafv"?: string;
514
+ "$.xgafv"?:
515
+ string;
383
516
  /** OAuth access token. */
384
- access_token?: string;
517
+ access_token?:
518
+ string;
385
519
  /** Data format for response. */
386
- alt?: string;
520
+ alt?:
521
+ string;
387
522
  /** JSONP */
388
- callback?: string;
523
+ callback?:
524
+ string;
389
525
  /** Selector specifying which fields to include in a partial response. */
390
- fields?: string;
526
+ fields?:
527
+ string;
391
528
  /** 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. */
392
- key?: string;
529
+ key?:
530
+ string;
393
531
  /** Required. Name of the resource. */
394
- name: string;
532
+ name:
533
+ string;
395
534
  /** OAuth 2.0 token for the current user. */
396
- oauth_token?: string;
535
+ oauth_token?:
536
+ string;
397
537
  /** Returns response with indentations and line breaks. */
398
- prettyPrint?: boolean;
538
+ prettyPrint?:
539
+ boolean;
399
540
  /** 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. */
400
- quotaUser?: string;
541
+ quotaUser?:
542
+ string;
401
543
  /** Upload protocol for media (e.g. "raw", "multipart"). */
402
- upload_protocol?: string;
544
+ upload_protocol?:
545
+ string;
403
546
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
404
- uploadType?: string;
547
+ uploadType?:
548
+ string;
405
549
  }): Request<Note>;
406
550
  /**
407
551
  * Lists notes. Every list call returns a page of results with `page_size` as the upper bound of returned items. A `page_size` of zero allows the server to choose the upper bound. The
@@ -411,38 +555,53 @@ declare namespace gapi.client {
411
555
  */
412
556
  list(request?: {
413
557
  /** V1 error format. */
414
- "$.xgafv"?: string;
558
+ "$.xgafv"?:
559
+ string;
415
560
  /** OAuth access token. */
416
- access_token?: string;
561
+ access_token?:
562
+ string;
417
563
  /** Data format for response. */
418
- alt?: string;
564
+ alt?:
565
+ string;
419
566
  /** JSONP */
420
- callback?: string;
567
+ callback?:
568
+ string;
421
569
  /** Selector specifying which fields to include in a partial response. */
422
- fields?: string;
570
+ fields?:
571
+ string;
423
572
  /**
424
573
  * Filter for list results. If no filter is supplied, the `trashed` filter is applied by default. Valid fields to filter by are: `create_time`, `update_time`, `trash_time`, and
425
574
  * `trashed`. Filter syntax follows the [Google AIP filtering spec](https://aip.dev/160).
426
575
  */
427
- filter?: string;
576
+ filter?:
577
+ string;
428
578
  /** 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. */
429
- key?: string;
579
+ key?:
580
+ string;
430
581
  /** OAuth 2.0 token for the current user. */
431
- oauth_token?: string;
582
+ oauth_token?:
583
+ string;
432
584
  /** The maximum number of results to return. */
433
- pageSize?: number;
585
+ pageSize?:
586
+ number;
434
587
  /** The previous page's `next_page_token` field. */
435
- pageToken?: string;
588
+ pageToken?:
589
+ string;
436
590
  /** Returns response with indentations and line breaks. */
437
- prettyPrint?: boolean;
591
+ prettyPrint?:
592
+ boolean;
438
593
  /** 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?: string;
594
+ quotaUser?:
595
+ string;
440
596
  /** Upload protocol for media (e.g. "raw", "multipart"). */
441
- upload_protocol?: string;
597
+ upload_protocol?:
598
+ string;
442
599
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
443
- uploadType?: string;
600
+ uploadType?:
601
+ string;
444
602
  }): Request<ListNotesResponse>;
445
- permissions: PermissionsResource;
603
+ permissions:
604
+ PermissionsResource;
446
605
  }
447
606
 
448
607
  const media: MediaResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.keep-v1",
3
- "version": "0.0.20230413",
3
+ "version": "0.0.20230425",
4
4
  "description": "TypeScript typings for Google Keep API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230413
6
+ // Revision: 20230425
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */