@maxim_mazurok/gapi.client.vault-v1 0.0.20231116 → 0.0.20231211
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 +1919 -2744
- package/package.json +6 -6
- package/readme.md +34 -31
- package/tests.ts +0 -570
- package/tsconfig.json +0 -18
- package/tslint.json +0 -6
package/tests.ts
DELETED
|
@@ -1,570 +0,0 @@
|
|
|
1
|
-
/* This is stub file for gapi.client.vault-v1 definition tests */
|
|
2
|
-
// IMPORTANT
|
|
3
|
-
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
|
-
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
|
-
|
|
6
|
-
// Revision: 20231116
|
|
7
|
-
|
|
8
|
-
gapi.load('client', async () => {
|
|
9
|
-
/** now we can use gapi.client */
|
|
10
|
-
|
|
11
|
-
await gapi.client.load('https://vault.googleapis.com/$discovery/rest?version=v1');
|
|
12
|
-
/** now we can use gapi.client.vault */
|
|
13
|
-
|
|
14
|
-
/** don't forget to authenticate your client before sending any request to resources: */
|
|
15
|
-
/** declare client_id registered in Google Developers Console */
|
|
16
|
-
const client_id = '<<PUT YOUR CLIENT ID HERE>>';
|
|
17
|
-
const scope = [
|
|
18
|
-
/** Manage your eDiscovery data */
|
|
19
|
-
'https://www.googleapis.com/auth/ediscovery',
|
|
20
|
-
/** View your eDiscovery data */
|
|
21
|
-
'https://www.googleapis.com/auth/ediscovery.readonly',
|
|
22
|
-
];
|
|
23
|
-
const immediate = false;
|
|
24
|
-
gapi.auth.authorize({ client_id, scope, immediate }, authResult => {
|
|
25
|
-
if (authResult && !authResult.error) {
|
|
26
|
-
/** handle successful authorization */
|
|
27
|
-
run();
|
|
28
|
-
} else {
|
|
29
|
-
/** handle authorization error */
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
async function run() {
|
|
34
|
-
/** Adds an account as a matter collaborator. */
|
|
35
|
-
await gapi.client.vault.matters.addPermissions({
|
|
36
|
-
matterId: "Test string",
|
|
37
|
-
}, {
|
|
38
|
-
ccMe: true,
|
|
39
|
-
matterPermission: {
|
|
40
|
-
accountId: "Test string",
|
|
41
|
-
role: "Test string",
|
|
42
|
-
},
|
|
43
|
-
sendEmails: true,
|
|
44
|
-
});
|
|
45
|
-
/** Closes the specified matter. Returns the matter with updated state. */
|
|
46
|
-
await gapi.client.vault.matters.close({
|
|
47
|
-
matterId: "Test string",
|
|
48
|
-
}, {
|
|
49
|
-
});
|
|
50
|
-
/** Counts the accounts processed by the specified query. */
|
|
51
|
-
await gapi.client.vault.matters.count({
|
|
52
|
-
matterId: "Test string",
|
|
53
|
-
}, {
|
|
54
|
-
query: {
|
|
55
|
-
accountInfo: {
|
|
56
|
-
emails: [
|
|
57
|
-
"Test string"
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
corpus: "Test string",
|
|
61
|
-
dataScope: "Test string",
|
|
62
|
-
driveOptions: {
|
|
63
|
-
clientSideEncryptedOption: "Test string",
|
|
64
|
-
includeSharedDrives: true,
|
|
65
|
-
includeTeamDrives: true,
|
|
66
|
-
versionDate: "Test string",
|
|
67
|
-
},
|
|
68
|
-
endTime: "Test string",
|
|
69
|
-
hangoutsChatInfo: {
|
|
70
|
-
roomId: [
|
|
71
|
-
"Test string"
|
|
72
|
-
],
|
|
73
|
-
},
|
|
74
|
-
hangoutsChatOptions: {
|
|
75
|
-
includeRooms: true,
|
|
76
|
-
},
|
|
77
|
-
mailOptions: {
|
|
78
|
-
clientSideEncryptedOption: "Test string",
|
|
79
|
-
excludeDrafts: true,
|
|
80
|
-
},
|
|
81
|
-
method: "Test string",
|
|
82
|
-
orgUnitInfo: {
|
|
83
|
-
orgUnitId: "Test string",
|
|
84
|
-
},
|
|
85
|
-
searchMethod: "Test string",
|
|
86
|
-
sharedDriveInfo: {
|
|
87
|
-
sharedDriveIds: [
|
|
88
|
-
"Test string"
|
|
89
|
-
],
|
|
90
|
-
},
|
|
91
|
-
sitesUrlInfo: {
|
|
92
|
-
urls: [
|
|
93
|
-
"Test string"
|
|
94
|
-
],
|
|
95
|
-
},
|
|
96
|
-
startTime: "Test string",
|
|
97
|
-
teamDriveInfo: {
|
|
98
|
-
teamDriveIds: [
|
|
99
|
-
"Test string"
|
|
100
|
-
],
|
|
101
|
-
},
|
|
102
|
-
terms: "Test string",
|
|
103
|
-
timeZone: "Test string",
|
|
104
|
-
voiceOptions: {
|
|
105
|
-
coveredData: [
|
|
106
|
-
"Test string"
|
|
107
|
-
],
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
view: "Test string",
|
|
111
|
-
});
|
|
112
|
-
/** Creates a matter with the given name and description. The initial state is open, and the owner is the method caller. Returns the created matter with default view. */
|
|
113
|
-
await gapi.client.vault.matters.create({
|
|
114
|
-
}, {
|
|
115
|
-
description: "Test string",
|
|
116
|
-
matterId: "Test string",
|
|
117
|
-
matterPermissions: [
|
|
118
|
-
{
|
|
119
|
-
accountId: "Test string",
|
|
120
|
-
role: "Test string",
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
name: "Test string",
|
|
124
|
-
state: "Test string",
|
|
125
|
-
});
|
|
126
|
-
/** Deletes the specified matter. Returns the matter with updated state. */
|
|
127
|
-
await gapi.client.vault.matters.delete({
|
|
128
|
-
matterId: "Test string",
|
|
129
|
-
});
|
|
130
|
-
/** Gets the specified matter. */
|
|
131
|
-
await gapi.client.vault.matters.get({
|
|
132
|
-
matterId: "Test string",
|
|
133
|
-
view: "Test string",
|
|
134
|
-
});
|
|
135
|
-
/** Lists matters the requestor has access to. */
|
|
136
|
-
await gapi.client.vault.matters.list({
|
|
137
|
-
pageSize: 42,
|
|
138
|
-
pageToken: "Test string",
|
|
139
|
-
state: "Test string",
|
|
140
|
-
view: "Test string",
|
|
141
|
-
});
|
|
142
|
-
/** Removes an account as a matter collaborator. */
|
|
143
|
-
await gapi.client.vault.matters.removePermissions({
|
|
144
|
-
matterId: "Test string",
|
|
145
|
-
}, {
|
|
146
|
-
accountId: "Test string",
|
|
147
|
-
});
|
|
148
|
-
/** Reopens the specified matter. Returns the matter with updated state. */
|
|
149
|
-
await gapi.client.vault.matters.reopen({
|
|
150
|
-
matterId: "Test string",
|
|
151
|
-
}, {
|
|
152
|
-
});
|
|
153
|
-
/** Undeletes the specified matter. Returns the matter with updated state. */
|
|
154
|
-
await gapi.client.vault.matters.undelete({
|
|
155
|
-
matterId: "Test string",
|
|
156
|
-
}, {
|
|
157
|
-
});
|
|
158
|
-
/**
|
|
159
|
-
* Updates the specified matter. This updates only the name and description of the matter, identified by matter ID. Changes to any other fields are ignored. Returns the default view of the
|
|
160
|
-
* matter.
|
|
161
|
-
*/
|
|
162
|
-
await gapi.client.vault.matters.update({
|
|
163
|
-
matterId: "Test string",
|
|
164
|
-
}, {
|
|
165
|
-
description: "Test string",
|
|
166
|
-
matterId: "Test string",
|
|
167
|
-
matterPermissions: [
|
|
168
|
-
{
|
|
169
|
-
accountId: "Test string",
|
|
170
|
-
role: "Test string",
|
|
171
|
-
}
|
|
172
|
-
],
|
|
173
|
-
name: "Test string",
|
|
174
|
-
state: "Test string",
|
|
175
|
-
});
|
|
176
|
-
/** Creates an export. */
|
|
177
|
-
await gapi.client.vault.matters.exports.create({
|
|
178
|
-
matterId: "Test string",
|
|
179
|
-
}, {
|
|
180
|
-
cloudStorageSink: {
|
|
181
|
-
files: [
|
|
182
|
-
{
|
|
183
|
-
bucketName: "Test string",
|
|
184
|
-
md5Hash: "Test string",
|
|
185
|
-
objectName: "Test string",
|
|
186
|
-
size: "Test string",
|
|
187
|
-
}
|
|
188
|
-
],
|
|
189
|
-
},
|
|
190
|
-
createTime: "Test string",
|
|
191
|
-
exportOptions: {
|
|
192
|
-
driveOptions: {
|
|
193
|
-
includeAccessInfo: true,
|
|
194
|
-
},
|
|
195
|
-
groupsOptions: {
|
|
196
|
-
exportFormat: "Test string",
|
|
197
|
-
},
|
|
198
|
-
hangoutsChatOptions: {
|
|
199
|
-
exportFormat: "Test string",
|
|
200
|
-
},
|
|
201
|
-
mailOptions: {
|
|
202
|
-
exportFormat: "Test string",
|
|
203
|
-
showConfidentialModeContent: true,
|
|
204
|
-
useNewExport: true,
|
|
205
|
-
},
|
|
206
|
-
region: "Test string",
|
|
207
|
-
voiceOptions: {
|
|
208
|
-
exportFormat: "Test string",
|
|
209
|
-
},
|
|
210
|
-
},
|
|
211
|
-
id: "Test string",
|
|
212
|
-
matterId: "Test string",
|
|
213
|
-
name: "Test string",
|
|
214
|
-
query: {
|
|
215
|
-
accountInfo: {
|
|
216
|
-
emails: [
|
|
217
|
-
"Test string"
|
|
218
|
-
],
|
|
219
|
-
},
|
|
220
|
-
corpus: "Test string",
|
|
221
|
-
dataScope: "Test string",
|
|
222
|
-
driveOptions: {
|
|
223
|
-
clientSideEncryptedOption: "Test string",
|
|
224
|
-
includeSharedDrives: true,
|
|
225
|
-
includeTeamDrives: true,
|
|
226
|
-
versionDate: "Test string",
|
|
227
|
-
},
|
|
228
|
-
endTime: "Test string",
|
|
229
|
-
hangoutsChatInfo: {
|
|
230
|
-
roomId: [
|
|
231
|
-
"Test string"
|
|
232
|
-
],
|
|
233
|
-
},
|
|
234
|
-
hangoutsChatOptions: {
|
|
235
|
-
includeRooms: true,
|
|
236
|
-
},
|
|
237
|
-
mailOptions: {
|
|
238
|
-
clientSideEncryptedOption: "Test string",
|
|
239
|
-
excludeDrafts: true,
|
|
240
|
-
},
|
|
241
|
-
method: "Test string",
|
|
242
|
-
orgUnitInfo: {
|
|
243
|
-
orgUnitId: "Test string",
|
|
244
|
-
},
|
|
245
|
-
searchMethod: "Test string",
|
|
246
|
-
sharedDriveInfo: {
|
|
247
|
-
sharedDriveIds: [
|
|
248
|
-
"Test string"
|
|
249
|
-
],
|
|
250
|
-
},
|
|
251
|
-
sitesUrlInfo: {
|
|
252
|
-
urls: [
|
|
253
|
-
"Test string"
|
|
254
|
-
],
|
|
255
|
-
},
|
|
256
|
-
startTime: "Test string",
|
|
257
|
-
teamDriveInfo: {
|
|
258
|
-
teamDriveIds: [
|
|
259
|
-
"Test string"
|
|
260
|
-
],
|
|
261
|
-
},
|
|
262
|
-
terms: "Test string",
|
|
263
|
-
timeZone: "Test string",
|
|
264
|
-
voiceOptions: {
|
|
265
|
-
coveredData: [
|
|
266
|
-
"Test string"
|
|
267
|
-
],
|
|
268
|
-
},
|
|
269
|
-
},
|
|
270
|
-
requester: {
|
|
271
|
-
displayName: "Test string",
|
|
272
|
-
email: "Test string",
|
|
273
|
-
},
|
|
274
|
-
stats: {
|
|
275
|
-
exportedArtifactCount: "Test string",
|
|
276
|
-
sizeInBytes: "Test string",
|
|
277
|
-
totalArtifactCount: "Test string",
|
|
278
|
-
},
|
|
279
|
-
status: "Test string",
|
|
280
|
-
});
|
|
281
|
-
/** Deletes an export. */
|
|
282
|
-
await gapi.client.vault.matters.exports.delete({
|
|
283
|
-
exportId: "Test string",
|
|
284
|
-
matterId: "Test string",
|
|
285
|
-
});
|
|
286
|
-
/** Gets an export. */
|
|
287
|
-
await gapi.client.vault.matters.exports.get({
|
|
288
|
-
exportId: "Test string",
|
|
289
|
-
matterId: "Test string",
|
|
290
|
-
});
|
|
291
|
-
/** Lists details about the exports in the specified matter. */
|
|
292
|
-
await gapi.client.vault.matters.exports.list({
|
|
293
|
-
matterId: "Test string",
|
|
294
|
-
pageSize: 42,
|
|
295
|
-
pageToken: "Test string",
|
|
296
|
-
});
|
|
297
|
-
/** Adds accounts to a hold. Returns a list of accounts that have been successfully added. Accounts can be added only to an existing account-based hold. */
|
|
298
|
-
await gapi.client.vault.matters.holds.addHeldAccounts({
|
|
299
|
-
holdId: "Test string",
|
|
300
|
-
matterId: "Test string",
|
|
301
|
-
}, {
|
|
302
|
-
accountIds: [
|
|
303
|
-
"Test string"
|
|
304
|
-
],
|
|
305
|
-
emails: [
|
|
306
|
-
"Test string"
|
|
307
|
-
],
|
|
308
|
-
});
|
|
309
|
-
/** Creates a hold in the specified matter. */
|
|
310
|
-
await gapi.client.vault.matters.holds.create({
|
|
311
|
-
matterId: "Test string",
|
|
312
|
-
}, {
|
|
313
|
-
accounts: [
|
|
314
|
-
{
|
|
315
|
-
accountId: "Test string",
|
|
316
|
-
email: "Test string",
|
|
317
|
-
firstName: "Test string",
|
|
318
|
-
holdTime: "Test string",
|
|
319
|
-
lastName: "Test string",
|
|
320
|
-
}
|
|
321
|
-
],
|
|
322
|
-
corpus: "Test string",
|
|
323
|
-
holdId: "Test string",
|
|
324
|
-
name: "Test string",
|
|
325
|
-
orgUnit: {
|
|
326
|
-
holdTime: "Test string",
|
|
327
|
-
orgUnitId: "Test string",
|
|
328
|
-
},
|
|
329
|
-
query: {
|
|
330
|
-
driveQuery: {
|
|
331
|
-
includeSharedDriveFiles: true,
|
|
332
|
-
includeTeamDriveFiles: true,
|
|
333
|
-
},
|
|
334
|
-
groupsQuery: {
|
|
335
|
-
endTime: "Test string",
|
|
336
|
-
startTime: "Test string",
|
|
337
|
-
terms: "Test string",
|
|
338
|
-
},
|
|
339
|
-
hangoutsChatQuery: {
|
|
340
|
-
includeRooms: true,
|
|
341
|
-
},
|
|
342
|
-
mailQuery: {
|
|
343
|
-
endTime: "Test string",
|
|
344
|
-
startTime: "Test string",
|
|
345
|
-
terms: "Test string",
|
|
346
|
-
},
|
|
347
|
-
voiceQuery: {
|
|
348
|
-
coveredData: [
|
|
349
|
-
"Test string"
|
|
350
|
-
],
|
|
351
|
-
},
|
|
352
|
-
},
|
|
353
|
-
updateTime: "Test string",
|
|
354
|
-
});
|
|
355
|
-
/** Removes the specified hold and releases the accounts or organizational unit covered by the hold. If the data is not preserved by another hold or retention rule, it might be purged. */
|
|
356
|
-
await gapi.client.vault.matters.holds.delete({
|
|
357
|
-
holdId: "Test string",
|
|
358
|
-
matterId: "Test string",
|
|
359
|
-
});
|
|
360
|
-
/** Gets the specified hold. */
|
|
361
|
-
await gapi.client.vault.matters.holds.get({
|
|
362
|
-
holdId: "Test string",
|
|
363
|
-
matterId: "Test string",
|
|
364
|
-
view: "Test string",
|
|
365
|
-
});
|
|
366
|
-
/** Lists the holds in a matter. */
|
|
367
|
-
await gapi.client.vault.matters.holds.list({
|
|
368
|
-
matterId: "Test string",
|
|
369
|
-
pageSize: 42,
|
|
370
|
-
pageToken: "Test string",
|
|
371
|
-
view: "Test string",
|
|
372
|
-
});
|
|
373
|
-
/** Removes the specified accounts from a hold. Returns a list of statuses in the same order as the request. */
|
|
374
|
-
await gapi.client.vault.matters.holds.removeHeldAccounts({
|
|
375
|
-
holdId: "Test string",
|
|
376
|
-
matterId: "Test string",
|
|
377
|
-
}, {
|
|
378
|
-
accountIds: [
|
|
379
|
-
"Test string"
|
|
380
|
-
],
|
|
381
|
-
});
|
|
382
|
-
/**
|
|
383
|
-
* Updates the scope (organizational unit or accounts) and query parameters of a hold. You cannot add accounts to a hold that covers an organizational unit, nor can you add organizational
|
|
384
|
-
* units to a hold that covers individual accounts. If you try, the unsupported values are ignored.
|
|
385
|
-
*/
|
|
386
|
-
await gapi.client.vault.matters.holds.update({
|
|
387
|
-
holdId: "Test string",
|
|
388
|
-
matterId: "Test string",
|
|
389
|
-
}, {
|
|
390
|
-
accounts: [
|
|
391
|
-
{
|
|
392
|
-
accountId: "Test string",
|
|
393
|
-
email: "Test string",
|
|
394
|
-
firstName: "Test string",
|
|
395
|
-
holdTime: "Test string",
|
|
396
|
-
lastName: "Test string",
|
|
397
|
-
}
|
|
398
|
-
],
|
|
399
|
-
corpus: "Test string",
|
|
400
|
-
holdId: "Test string",
|
|
401
|
-
name: "Test string",
|
|
402
|
-
orgUnit: {
|
|
403
|
-
holdTime: "Test string",
|
|
404
|
-
orgUnitId: "Test string",
|
|
405
|
-
},
|
|
406
|
-
query: {
|
|
407
|
-
driveQuery: {
|
|
408
|
-
includeSharedDriveFiles: true,
|
|
409
|
-
includeTeamDriveFiles: true,
|
|
410
|
-
},
|
|
411
|
-
groupsQuery: {
|
|
412
|
-
endTime: "Test string",
|
|
413
|
-
startTime: "Test string",
|
|
414
|
-
terms: "Test string",
|
|
415
|
-
},
|
|
416
|
-
hangoutsChatQuery: {
|
|
417
|
-
includeRooms: true,
|
|
418
|
-
},
|
|
419
|
-
mailQuery: {
|
|
420
|
-
endTime: "Test string",
|
|
421
|
-
startTime: "Test string",
|
|
422
|
-
terms: "Test string",
|
|
423
|
-
},
|
|
424
|
-
voiceQuery: {
|
|
425
|
-
coveredData: [
|
|
426
|
-
"Test string"
|
|
427
|
-
],
|
|
428
|
-
},
|
|
429
|
-
},
|
|
430
|
-
updateTime: "Test string",
|
|
431
|
-
});
|
|
432
|
-
/**
|
|
433
|
-
* Adds an account to a hold. Accounts can be added only to a hold that does not have an organizational unit set. If you try to add an account to an organizational unit-based hold, an
|
|
434
|
-
* error is returned.
|
|
435
|
-
*/
|
|
436
|
-
await gapi.client.vault.matters.holds.accounts.create({
|
|
437
|
-
holdId: "Test string",
|
|
438
|
-
matterId: "Test string",
|
|
439
|
-
}, {
|
|
440
|
-
accountId: "Test string",
|
|
441
|
-
email: "Test string",
|
|
442
|
-
firstName: "Test string",
|
|
443
|
-
holdTime: "Test string",
|
|
444
|
-
lastName: "Test string",
|
|
445
|
-
});
|
|
446
|
-
/** Removes an account from a hold. */
|
|
447
|
-
await gapi.client.vault.matters.holds.accounts.delete({
|
|
448
|
-
accountId: "Test string",
|
|
449
|
-
holdId: "Test string",
|
|
450
|
-
matterId: "Test string",
|
|
451
|
-
});
|
|
452
|
-
/**
|
|
453
|
-
* Lists the accounts covered by a hold. This can list only individually-specified accounts covered by the hold. If the hold covers an organizational unit, use the [Admin
|
|
454
|
-
* SDK](https://developers.google.com/admin-sdk/). to list the members of the organizational unit on hold.
|
|
455
|
-
*/
|
|
456
|
-
await gapi.client.vault.matters.holds.accounts.list({
|
|
457
|
-
holdId: "Test string",
|
|
458
|
-
matterId: "Test string",
|
|
459
|
-
});
|
|
460
|
-
/** Creates a saved query. */
|
|
461
|
-
await gapi.client.vault.matters.savedQueries.create({
|
|
462
|
-
matterId: "Test string",
|
|
463
|
-
}, {
|
|
464
|
-
createTime: "Test string",
|
|
465
|
-
displayName: "Test string",
|
|
466
|
-
matterId: "Test string",
|
|
467
|
-
query: {
|
|
468
|
-
accountInfo: {
|
|
469
|
-
emails: [
|
|
470
|
-
"Test string"
|
|
471
|
-
],
|
|
472
|
-
},
|
|
473
|
-
corpus: "Test string",
|
|
474
|
-
dataScope: "Test string",
|
|
475
|
-
driveOptions: {
|
|
476
|
-
clientSideEncryptedOption: "Test string",
|
|
477
|
-
includeSharedDrives: true,
|
|
478
|
-
includeTeamDrives: true,
|
|
479
|
-
versionDate: "Test string",
|
|
480
|
-
},
|
|
481
|
-
endTime: "Test string",
|
|
482
|
-
hangoutsChatInfo: {
|
|
483
|
-
roomId: [
|
|
484
|
-
"Test string"
|
|
485
|
-
],
|
|
486
|
-
},
|
|
487
|
-
hangoutsChatOptions: {
|
|
488
|
-
includeRooms: true,
|
|
489
|
-
},
|
|
490
|
-
mailOptions: {
|
|
491
|
-
clientSideEncryptedOption: "Test string",
|
|
492
|
-
excludeDrafts: true,
|
|
493
|
-
},
|
|
494
|
-
method: "Test string",
|
|
495
|
-
orgUnitInfo: {
|
|
496
|
-
orgUnitId: "Test string",
|
|
497
|
-
},
|
|
498
|
-
searchMethod: "Test string",
|
|
499
|
-
sharedDriveInfo: {
|
|
500
|
-
sharedDriveIds: [
|
|
501
|
-
"Test string"
|
|
502
|
-
],
|
|
503
|
-
},
|
|
504
|
-
sitesUrlInfo: {
|
|
505
|
-
urls: [
|
|
506
|
-
"Test string"
|
|
507
|
-
],
|
|
508
|
-
},
|
|
509
|
-
startTime: "Test string",
|
|
510
|
-
teamDriveInfo: {
|
|
511
|
-
teamDriveIds: [
|
|
512
|
-
"Test string"
|
|
513
|
-
],
|
|
514
|
-
},
|
|
515
|
-
terms: "Test string",
|
|
516
|
-
timeZone: "Test string",
|
|
517
|
-
voiceOptions: {
|
|
518
|
-
coveredData: [
|
|
519
|
-
"Test string"
|
|
520
|
-
],
|
|
521
|
-
},
|
|
522
|
-
},
|
|
523
|
-
savedQueryId: "Test string",
|
|
524
|
-
});
|
|
525
|
-
/** Deletes the specified saved query. */
|
|
526
|
-
await gapi.client.vault.matters.savedQueries.delete({
|
|
527
|
-
matterId: "Test string",
|
|
528
|
-
savedQueryId: "Test string",
|
|
529
|
-
});
|
|
530
|
-
/** Retrieves the specified saved query. */
|
|
531
|
-
await gapi.client.vault.matters.savedQueries.get({
|
|
532
|
-
matterId: "Test string",
|
|
533
|
-
savedQueryId: "Test string",
|
|
534
|
-
});
|
|
535
|
-
/** Lists the saved queries in a matter. */
|
|
536
|
-
await gapi.client.vault.matters.savedQueries.list({
|
|
537
|
-
matterId: "Test string",
|
|
538
|
-
pageSize: 42,
|
|
539
|
-
pageToken: "Test string",
|
|
540
|
-
});
|
|
541
|
-
/**
|
|
542
|
-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this
|
|
543
|
-
* method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation
|
|
544
|
-
* completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of
|
|
545
|
-
* 1, corresponding to `Code.CANCELLED`.
|
|
546
|
-
*/
|
|
547
|
-
await gapi.client.vault.operations.cancel({
|
|
548
|
-
name: "Test string",
|
|
549
|
-
}, {
|
|
550
|
-
});
|
|
551
|
-
/**
|
|
552
|
-
* Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support
|
|
553
|
-
* this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
554
|
-
*/
|
|
555
|
-
await gapi.client.vault.operations.delete({
|
|
556
|
-
name: "Test string",
|
|
557
|
-
});
|
|
558
|
-
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
559
|
-
await gapi.client.vault.operations.get({
|
|
560
|
-
name: "Test string",
|
|
561
|
-
});
|
|
562
|
-
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
563
|
-
await gapi.client.vault.operations.list({
|
|
564
|
-
filter: "Test string",
|
|
565
|
-
name: "Test string",
|
|
566
|
-
pageSize: 42,
|
|
567
|
-
pageToken: "Test string",
|
|
568
|
-
});
|
|
569
|
-
}
|
|
570
|
-
});
|
package/tsconfig.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"module": "commonjs",
|
|
4
|
-
"lib": ["es6", "dom"],
|
|
5
|
-
"noImplicitAny": true,
|
|
6
|
-
"noImplicitThis": true,
|
|
7
|
-
"strictNullChecks": true,
|
|
8
|
-
"baseUrl": "../",
|
|
9
|
-
"typeRoots": [
|
|
10
|
-
"../"
|
|
11
|
-
],
|
|
12
|
-
"types": [],
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"forceConsistentCasingInFileNames": true,
|
|
15
|
-
"strictFunctionTypes": true
|
|
16
|
-
},
|
|
17
|
-
"files": ["index.d.ts", "tests.ts"]
|
|
18
|
-
}
|