@maxim_mazurok/gapi.client.classroom-v1 0.0.20250110 → 0.0.20250114

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 +3 -3
  2. package/package.json +1 -1
  3. package/readme.md +6 -0
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://classroom.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250110
12
+ // Revision: 20250114
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -4002,7 +4002,7 @@ declare namespace gapi.client {
4002
4002
  }): Request<ListTeachersResponse>;
4003
4003
  }
4004
4004
  interface TopicsResource {
4005
- /** Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create a topic in the requested course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist. */
4005
+ /** Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create a topic in the requested course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `ALREADY_EXISTS` if there exists a topic in the course with the same name. * `NOT_FOUND` if the requested course does not exist. */
4006
4006
  create(request: {
4007
4007
  /** V1 error format. */
4008
4008
  '$.xgafv'?: string;
@@ -4149,7 +4149,7 @@ declare namespace gapi.client {
4149
4149
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4150
4150
  uploadType?: string;
4151
4151
  }): Request<ListTopicResponse>;
4152
- /** Updates one or more fields of a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding topic or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or topic does not exist */
4152
+ /** Updates one or more fields of a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding topic or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if there exists a topic in the course with the same name. * `NOT_FOUND` if the requested course or topic does not exist */
4153
4153
  patch(request: {
4154
4154
  /** V1 error format. */
4155
4155
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.classroom-v1",
3
- "version": "0.0.20250110",
3
+ "version": "0.0.20250114",
4
4
  "description": "TypeScript typings for Google Classroom API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -48,6 +48,12 @@ Don't forget to authenticate your client before sending any request to resources
48
48
  // declare client_id registered in Google Developers Console
49
49
  var client_id = '',
50
50
  scope = [
51
+ // See and update its own attachments to posts in Google Classroom
52
+ 'https://www.googleapis.com/auth/classroom.addons.student',
53
+
54
+ // See, create, and update its own attachments to posts in classes you teach in Google Classroom
55
+ 'https://www.googleapis.com/auth/classroom.addons.teacher',
56
+
51
57
  // View and manage announcements in Google Classroom
52
58
  'https://www.googleapis.com/auth/classroom.announcements',
53
59