@maxim_mazurok/gapi.client.dataportability-v1 0.1.20261118 → 0.1.20261120
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 +13 -17
- package/package.json +1 -1
- package/readme.md +0 -3
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://dataportability.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20261120
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -78,7 +78,8 @@ declare namespace gapi.client {
|
|
|
78
78
|
/** The archive job ID that is initiated by the retry endpoint. This can be used to get the state of the new job. */
|
|
79
79
|
archiveJobId?: string;
|
|
80
80
|
}
|
|
81
|
-
|
|
81
|
+
|
|
82
|
+
const accessType: {
|
|
82
83
|
/** Gets the access type of the token. */
|
|
83
84
|
check(request: {
|
|
84
85
|
/** V1 error format. */
|
|
@@ -133,8 +134,9 @@ declare namespace gapi.client {
|
|
|
133
134
|
},
|
|
134
135
|
body: CheckAccessTypeRequest,
|
|
135
136
|
): Request<CheckAccessTypeResponse>;
|
|
136
|
-
}
|
|
137
|
-
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
const archiveJobs: {
|
|
138
140
|
/** Cancels a Portability Archive job. */
|
|
139
141
|
cancel(request: {
|
|
140
142
|
/** V1 error format. */
|
|
@@ -278,8 +280,9 @@ declare namespace gapi.client {
|
|
|
278
280
|
},
|
|
279
281
|
body: RetryPortabilityArchiveRequest,
|
|
280
282
|
): Request<RetryPortabilityArchiveResponse>;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
const authorization: {
|
|
283
286
|
/** Revokes OAuth tokens and resets exhausted scopes for a user/project pair. This method allows you to initiate a request after a new consent is granted. This method also indicates that previous archives can be garbage collected. You should call this method when all jobs are complete and all archives are downloaded. Do not call it only when you start a new job. */
|
|
284
287
|
reset(request: {
|
|
285
288
|
/** V1 error format. */
|
|
@@ -334,8 +337,9 @@ declare namespace gapi.client {
|
|
|
334
337
|
},
|
|
335
338
|
body: ResetAuthorizationRequest,
|
|
336
339
|
): Request<{}>;
|
|
337
|
-
}
|
|
338
|
-
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
const portabilityArchive: {
|
|
339
343
|
/** Initiates a new Archive job for the Portability API. */
|
|
340
344
|
initiate(request: {
|
|
341
345
|
/** V1 error format. */
|
|
@@ -390,14 +394,6 @@ declare namespace gapi.client {
|
|
|
390
394
|
},
|
|
391
395
|
body: InitiatePortabilityArchiveRequest,
|
|
392
396
|
): Request<InitiatePortabilityArchiveResponse>;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
const accessType: AccessTypeResource;
|
|
396
|
-
|
|
397
|
-
const archiveJobs: ArchiveJobsResource;
|
|
398
|
-
|
|
399
|
-
const authorization: AuthorizationResource;
|
|
400
|
-
|
|
401
|
-
const portabilityArchive: PortabilityArchiveResource;
|
|
397
|
+
};
|
|
402
398
|
}
|
|
403
399
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -167,9 +167,6 @@ var client_id = '',
|
|
|
167
167
|
// Copy your Nest user information
|
|
168
168
|
'https://www.googleapis.com/auth/dataportability.nest.user',
|
|
169
169
|
|
|
170
|
-
// Move a copy of your food purchase and reservation activity
|
|
171
|
-
'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations',
|
|
172
|
-
|
|
173
170
|
// Usage and diagnostic data from your Pixel devices.
|
|
174
171
|
'https://www.googleapis.com/auth/dataportability.pixel.device_data',
|
|
175
172
|
|