@maxim_mazurok/gapi.client.forms-v1 0.0.20250103 → 0.0.20250128
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 +8 -6
- 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://forms.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250128
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Google Forms API v1 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://forms.googleapis.com/$discovery/rest?version=v1'
|
|
19
|
+
urlOrObject: 'https://forms.googleapis.com/$discovery/rest?version=v1',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'forms', version: 'v1'): Promise<void>;
|
|
@@ -166,6 +166,8 @@ declare namespace gapi.client {
|
|
|
166
166
|
totalScore?: number;
|
|
167
167
|
}
|
|
168
168
|
interface FormSettings {
|
|
169
|
+
/** Optional. Kind of email collection configured in the form. */
|
|
170
|
+
emailCollectionType?: string;
|
|
169
171
|
/** Settings related to quiz forms and grading. */
|
|
170
172
|
quizSettings?: QuizSettings;
|
|
171
173
|
}
|
|
@@ -565,7 +567,7 @@ declare namespace gapi.client {
|
|
|
565
567
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
566
568
|
uploadType?: string;
|
|
567
569
|
},
|
|
568
|
-
body: CreateWatchRequest
|
|
570
|
+
body: CreateWatchRequest,
|
|
569
571
|
): client.Request<Watch>;
|
|
570
572
|
/** Delete a watch. */
|
|
571
573
|
delete(request?: {
|
|
@@ -683,7 +685,7 @@ declare namespace gapi.client {
|
|
|
683
685
|
/** Required. The ID of the Watch to renew. */
|
|
684
686
|
watchId: string;
|
|
685
687
|
},
|
|
686
|
-
body: RenewWatchRequest
|
|
688
|
+
body: RenewWatchRequest,
|
|
687
689
|
): client.Request<Watch>;
|
|
688
690
|
}
|
|
689
691
|
interface FormsResource {
|
|
@@ -743,7 +745,7 @@ declare namespace gapi.client {
|
|
|
743
745
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
744
746
|
uploadType?: string;
|
|
745
747
|
},
|
|
746
|
-
body: BatchUpdateFormRequest
|
|
748
|
+
body: BatchUpdateFormRequest,
|
|
747
749
|
): client.Request<BatchUpdateFormResponse>;
|
|
748
750
|
/** Create a new form using the title given in the provided form message in the request. *Important:* Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items. */
|
|
749
751
|
create(request: {
|
|
@@ -797,7 +799,7 @@ declare namespace gapi.client {
|
|
|
797
799
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
798
800
|
uploadType?: string;
|
|
799
801
|
},
|
|
800
|
-
body: Form
|
|
802
|
+
body: Form,
|
|
801
803
|
): client.Request<Form>;
|
|
802
804
|
/** Get a form. */
|
|
803
805
|
get(request?: {
|
package/package.json
CHANGED
package/readme.md
CHANGED