@finueva/drive 0.31.1 → 0.32.0

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.
@@ -1045,6 +1045,102 @@ interface operations {
1045
1045
  };
1046
1046
  };
1047
1047
  };
1048
+ createVisitorRendition: {
1049
+ parameters: {
1050
+ query?: {
1051
+ itemId?: string;
1052
+ };
1053
+ header: {
1054
+ /** @description DriveVisitor followed by a space and the capability. Never place tokens in URLs. */
1055
+ Authorization: string;
1056
+ };
1057
+ path?: never;
1058
+ cookie?: never;
1059
+ };
1060
+ requestBody?: never;
1061
+ responses: {
1062
+ /** @description A ready, pending or unsupported rendition. */
1063
+ 200: {
1064
+ headers: {
1065
+ [name: string]: unknown;
1066
+ };
1067
+ content: {
1068
+ "application/json": {
1069
+ byteLength: number;
1070
+ /** @enum {string} */
1071
+ contentType: "image/webp";
1072
+ etag: string;
1073
+ expiresAtEpochMilliseconds: number;
1074
+ height: number;
1075
+ itemId: string;
1076
+ /** @enum {string} */
1077
+ rendition: "preview-640";
1078
+ /** @enum {string} */
1079
+ state: "ready";
1080
+ /** Format: uri */
1081
+ url: string;
1082
+ versionId: string;
1083
+ width: number;
1084
+ } | {
1085
+ itemId: string;
1086
+ /** @enum {string} */
1087
+ rendition: "preview-640";
1088
+ /** @enum {string} */
1089
+ state: "pending";
1090
+ versionId: string;
1091
+ } | {
1092
+ itemId: string;
1093
+ /** @enum {string} */
1094
+ reason: "encrypted" | "protected-archive" | "media-type" | "too-large" | "limits" | "undecodable" | "archive" | "attempts" | "failed";
1095
+ /** @enum {string} */
1096
+ rendition: "preview-640";
1097
+ /** @enum {string} */
1098
+ state: "unsupported";
1099
+ versionId: string;
1100
+ } | {
1101
+ itemId: string;
1102
+ /** @enum {string} */
1103
+ state: "denied" | "not-found" | "unavailable";
1104
+ };
1105
+ };
1106
+ };
1107
+ /** @description Capability or resource unavailable. */
1108
+ 404: {
1109
+ headers: {
1110
+ [name: string]: unknown;
1111
+ };
1112
+ content?: never;
1113
+ };
1114
+ /** @description Conflicting request identity. */
1115
+ 409: {
1116
+ headers: {
1117
+ [name: string]: unknown;
1118
+ };
1119
+ content?: never;
1120
+ };
1121
+ /** @description Invalid request; an editor grant is one file for at most 24 hours. */
1122
+ 422: {
1123
+ headers: {
1124
+ [name: string]: unknown;
1125
+ };
1126
+ content?: never;
1127
+ };
1128
+ /** @description Bounded admission exhausted; retry after one minute. */
1129
+ 429: {
1130
+ headers: {
1131
+ [name: string]: unknown;
1132
+ };
1133
+ content?: never;
1134
+ };
1135
+ /** @description Service unavailable. */
1136
+ 503: {
1137
+ headers: {
1138
+ [name: string]: unknown;
1139
+ };
1140
+ content?: never;
1141
+ };
1142
+ };
1143
+ };
1048
1144
  redeemVisitorInvitation: {
1049
1145
  parameters: {
1050
1146
  query?: never;
@@ -1235,10 +1331,264 @@ interface operations {
1235
1331
  } | {
1236
1332
  error: {
1237
1333
  /** @enum {string} */
1238
- code: "service_unavailable";
1334
+ code: "service_unavailable";
1335
+ details: Record<string, never>;
1336
+ /** @enum {string} */
1337
+ message: "The service is temporarily unavailable.";
1338
+ requestId: string;
1339
+ };
1340
+ };
1341
+ };
1342
+ };
1343
+ };
1344
+ };
1345
+ getWorkspaceLinkPolicy: {
1346
+ parameters: {
1347
+ query?: never;
1348
+ header?: never;
1349
+ path?: never;
1350
+ cookie?: never;
1351
+ };
1352
+ requestBody?: never;
1353
+ responses: {
1354
+ /** @description The current policy. Revision 0 means it was never changed (disabled). */
1355
+ 200: {
1356
+ headers: {
1357
+ /** @description Policy revision for If-Match. */
1358
+ ETag?: string;
1359
+ [name: string]: unknown;
1360
+ };
1361
+ content: {
1362
+ "application/json": {
1363
+ /** @enum {string} */
1364
+ anyoneLinks: "allowed" | "disabled";
1365
+ canManage: boolean;
1366
+ revision: number;
1367
+ updatedAt: number | null;
1368
+ workspaceId: string;
1369
+ };
1370
+ };
1371
+ };
1372
+ /** @description A valid Drive user credential is required. */
1373
+ 401: {
1374
+ headers: {
1375
+ [name: string]: unknown;
1376
+ };
1377
+ content: {
1378
+ "application/json": {
1379
+ error: {
1380
+ /** @enum {string} */
1381
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1382
+ details: Record<string, never>;
1383
+ message: string;
1384
+ requestId: string;
1385
+ };
1386
+ };
1387
+ };
1388
+ };
1389
+ /** @description Managed storage is disabled, or (update) the caller is not an organization owner or admin. */
1390
+ 403: {
1391
+ headers: {
1392
+ [name: string]: unknown;
1393
+ };
1394
+ content: {
1395
+ "application/json": {
1396
+ error: {
1397
+ /** @enum {string} */
1398
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1399
+ details: Record<string, never>;
1400
+ message: string;
1401
+ requestId: string;
1402
+ };
1403
+ };
1404
+ };
1405
+ };
1406
+ /** @description The credential selects a personal workspace or an organization workspace not available to this User. */
1407
+ 404: {
1408
+ headers: {
1409
+ [name: string]: unknown;
1410
+ };
1411
+ content: {
1412
+ "application/json": {
1413
+ error: {
1414
+ /** @enum {string} */
1415
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1416
+ details: Record<string, never>;
1417
+ message: string;
1418
+ requestId: string;
1419
+ };
1420
+ };
1421
+ };
1422
+ };
1423
+ /** @description Unsupported query, header or body input. */
1424
+ 422: {
1425
+ headers: {
1426
+ [name: string]: unknown;
1427
+ };
1428
+ content: {
1429
+ "application/json": {
1430
+ error: {
1431
+ /** @enum {string} */
1432
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1433
+ details: Record<string, never>;
1434
+ message: string;
1435
+ requestId: string;
1436
+ };
1437
+ };
1438
+ };
1439
+ };
1440
+ /** @description Identity authority or storage is unavailable. */
1441
+ 503: {
1442
+ headers: {
1443
+ [name: string]: unknown;
1444
+ };
1445
+ content: {
1446
+ "application/json": {
1447
+ error: {
1448
+ /** @enum {string} */
1449
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1450
+ details: Record<string, never>;
1451
+ message: string;
1452
+ requestId: string;
1453
+ };
1454
+ };
1455
+ };
1456
+ };
1457
+ };
1458
+ };
1459
+ updateWorkspaceLinkPolicy: {
1460
+ parameters: {
1461
+ query?: never;
1462
+ header: {
1463
+ "If-Match": string;
1464
+ };
1465
+ path?: never;
1466
+ cookie?: never;
1467
+ };
1468
+ requestBody: {
1469
+ content: {
1470
+ "application/json": {
1471
+ /** @enum {string} */
1472
+ anyoneLinks: "allowed" | "disabled";
1473
+ };
1474
+ };
1475
+ };
1476
+ responses: {
1477
+ /** @description The policy after the change. */
1478
+ 200: {
1479
+ headers: {
1480
+ /** @description Policy revision for If-Match. */
1481
+ ETag?: string;
1482
+ [name: string]: unknown;
1483
+ };
1484
+ content: {
1485
+ "application/json": {
1486
+ /** @enum {string} */
1487
+ anyoneLinks: "allowed" | "disabled";
1488
+ canManage: boolean;
1489
+ revision: number;
1490
+ updatedAt: number | null;
1491
+ workspaceId: string;
1492
+ };
1493
+ };
1494
+ };
1495
+ /** @description A valid Drive user credential is required. */
1496
+ 401: {
1497
+ headers: {
1498
+ [name: string]: unknown;
1499
+ };
1500
+ content: {
1501
+ "application/json": {
1502
+ error: {
1503
+ /** @enum {string} */
1504
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1505
+ details: Record<string, never>;
1506
+ message: string;
1507
+ requestId: string;
1508
+ };
1509
+ };
1510
+ };
1511
+ };
1512
+ /** @description Managed storage is disabled, or (update) the caller is not an organization owner or admin. */
1513
+ 403: {
1514
+ headers: {
1515
+ [name: string]: unknown;
1516
+ };
1517
+ content: {
1518
+ "application/json": {
1519
+ error: {
1520
+ /** @enum {string} */
1521
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1522
+ details: Record<string, never>;
1523
+ message: string;
1524
+ requestId: string;
1525
+ };
1526
+ };
1527
+ };
1528
+ };
1529
+ /** @description The credential selects a personal workspace or an organization workspace not available to this User. */
1530
+ 404: {
1531
+ headers: {
1532
+ [name: string]: unknown;
1533
+ };
1534
+ content: {
1535
+ "application/json": {
1536
+ error: {
1537
+ /** @enum {string} */
1538
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1539
+ details: Record<string, never>;
1540
+ message: string;
1541
+ requestId: string;
1542
+ };
1543
+ };
1544
+ };
1545
+ };
1546
+ /** @description The policy changed since the supplied revision. */
1547
+ 412: {
1548
+ headers: {
1549
+ [name: string]: unknown;
1550
+ };
1551
+ content: {
1552
+ "application/json": {
1553
+ error: {
1554
+ /** @enum {string} */
1555
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1556
+ details: Record<string, never>;
1557
+ message: string;
1558
+ requestId: string;
1559
+ };
1560
+ };
1561
+ };
1562
+ };
1563
+ /** @description Unsupported query, header or body input. */
1564
+ 422: {
1565
+ headers: {
1566
+ [name: string]: unknown;
1567
+ };
1568
+ content: {
1569
+ "application/json": {
1570
+ error: {
1571
+ /** @enum {string} */
1572
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1573
+ details: Record<string, never>;
1574
+ message: string;
1575
+ requestId: string;
1576
+ };
1577
+ };
1578
+ };
1579
+ };
1580
+ /** @description Identity authority or storage is unavailable. */
1581
+ 503: {
1582
+ headers: {
1583
+ [name: string]: unknown;
1584
+ };
1585
+ content: {
1586
+ "application/json": {
1587
+ error: {
1588
+ /** @enum {string} */
1589
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1239
1590
  details: Record<string, never>;
1240
- /** @enum {string} */
1241
- message: "The service is temporarily unavailable.";
1591
+ message: string;
1242
1592
  requestId: string;
1243
1593
  };
1244
1594
  };
@@ -4181,11 +4531,273 @@ interface operations {
4181
4531
  "application/json": {
4182
4532
  error: {
4183
4533
  /** @enum {string} */
4184
- code: "authentication_required" | "identity_authority_unavailable" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4185
- details: {
4186
- /** @enum {string} */
4187
- reason?: "favorite_limit_reached";
4188
- };
4534
+ code: "authentication_required" | "identity_authority_unavailable" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4535
+ details: {
4536
+ /** @enum {string} */
4537
+ reason?: "favorite_limit_reached";
4538
+ };
4539
+ message: string;
4540
+ requestId: string;
4541
+ };
4542
+ };
4543
+ };
4544
+ };
4545
+ };
4546
+ };
4547
+ getItemGeneralAccess: {
4548
+ parameters: {
4549
+ query?: never;
4550
+ header?: never;
4551
+ path: {
4552
+ workspaceId: string;
4553
+ itemId: string;
4554
+ };
4555
+ cookie?: never;
4556
+ };
4557
+ requestBody?: never;
4558
+ responses: {
4559
+ /** @description The file's general access. Revision 0 means it was never changed (restricted). */
4560
+ 200: {
4561
+ headers: {
4562
+ /** @description General-access revision for If-Match. */
4563
+ ETag?: string;
4564
+ [name: string]: unknown;
4565
+ };
4566
+ content: {
4567
+ "application/json": {
4568
+ /** @enum {string} */
4569
+ access: "restricted" | "viewer" | "editor";
4570
+ canManage: boolean;
4571
+ itemId: string;
4572
+ revision: number;
4573
+ updatedAt: number | null;
4574
+ workspaceId: string;
4575
+ };
4576
+ };
4577
+ };
4578
+ /** @description A valid Drive user credential is required. */
4579
+ 401: {
4580
+ headers: {
4581
+ [name: string]: unknown;
4582
+ };
4583
+ content: {
4584
+ "application/json": {
4585
+ error: {
4586
+ /** @enum {string} */
4587
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4588
+ details: Record<string, never>;
4589
+ message: string;
4590
+ requestId: string;
4591
+ };
4592
+ };
4593
+ };
4594
+ };
4595
+ /** @description (update) The caller is neither the file's manager nor its owner. */
4596
+ 403: {
4597
+ headers: {
4598
+ [name: string]: unknown;
4599
+ };
4600
+ content: {
4601
+ "application/json": {
4602
+ error: {
4603
+ /** @enum {string} */
4604
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4605
+ details: Record<string, never>;
4606
+ message: string;
4607
+ requestId: string;
4608
+ };
4609
+ };
4610
+ };
4611
+ };
4612
+ /** @description The item is not visible to this organization credential, or the credential selects a personal workspace. */
4613
+ 404: {
4614
+ headers: {
4615
+ [name: string]: unknown;
4616
+ };
4617
+ content: {
4618
+ "application/json": {
4619
+ error: {
4620
+ /** @enum {string} */
4621
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4622
+ details: Record<string, never>;
4623
+ message: string;
4624
+ requestId: string;
4625
+ };
4626
+ };
4627
+ };
4628
+ };
4629
+ /** @description Unsupported input, or the item is a folder. */
4630
+ 422: {
4631
+ headers: {
4632
+ [name: string]: unknown;
4633
+ };
4634
+ content: {
4635
+ "application/json": {
4636
+ error: {
4637
+ /** @enum {string} */
4638
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4639
+ details: Record<string, never>;
4640
+ message: string;
4641
+ requestId: string;
4642
+ };
4643
+ };
4644
+ };
4645
+ };
4646
+ /** @description Identity authority or storage is unavailable. */
4647
+ 503: {
4648
+ headers: {
4649
+ [name: string]: unknown;
4650
+ };
4651
+ content: {
4652
+ "application/json": {
4653
+ error: {
4654
+ /** @enum {string} */
4655
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4656
+ details: Record<string, never>;
4657
+ message: string;
4658
+ requestId: string;
4659
+ };
4660
+ };
4661
+ };
4662
+ };
4663
+ };
4664
+ };
4665
+ updateItemGeneralAccess: {
4666
+ parameters: {
4667
+ query?: never;
4668
+ header: {
4669
+ "If-Match": string;
4670
+ };
4671
+ path: {
4672
+ workspaceId: string;
4673
+ itemId: string;
4674
+ };
4675
+ cookie?: never;
4676
+ };
4677
+ requestBody: {
4678
+ content: {
4679
+ "application/json": {
4680
+ /** @enum {string} */
4681
+ access: "restricted" | "viewer" | "editor";
4682
+ };
4683
+ };
4684
+ };
4685
+ responses: {
4686
+ /** @description The general access after the change. */
4687
+ 200: {
4688
+ headers: {
4689
+ /** @description General-access revision for If-Match. */
4690
+ ETag?: string;
4691
+ [name: string]: unknown;
4692
+ };
4693
+ content: {
4694
+ "application/json": {
4695
+ /** @enum {string} */
4696
+ access: "restricted" | "viewer" | "editor";
4697
+ canManage: boolean;
4698
+ itemId: string;
4699
+ revision: number;
4700
+ updatedAt: number | null;
4701
+ workspaceId: string;
4702
+ };
4703
+ };
4704
+ };
4705
+ /** @description A valid Drive user credential is required. */
4706
+ 401: {
4707
+ headers: {
4708
+ [name: string]: unknown;
4709
+ };
4710
+ content: {
4711
+ "application/json": {
4712
+ error: {
4713
+ /** @enum {string} */
4714
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4715
+ details: Record<string, never>;
4716
+ message: string;
4717
+ requestId: string;
4718
+ };
4719
+ };
4720
+ };
4721
+ };
4722
+ /** @description (update) The caller is neither the file's manager nor its owner. */
4723
+ 403: {
4724
+ headers: {
4725
+ [name: string]: unknown;
4726
+ };
4727
+ content: {
4728
+ "application/json": {
4729
+ error: {
4730
+ /** @enum {string} */
4731
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4732
+ details: Record<string, never>;
4733
+ message: string;
4734
+ requestId: string;
4735
+ };
4736
+ };
4737
+ };
4738
+ };
4739
+ /** @description The item is not visible to this organization credential, or the credential selects a personal workspace. */
4740
+ 404: {
4741
+ headers: {
4742
+ [name: string]: unknown;
4743
+ };
4744
+ content: {
4745
+ "application/json": {
4746
+ error: {
4747
+ /** @enum {string} */
4748
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4749
+ details: Record<string, never>;
4750
+ message: string;
4751
+ requestId: string;
4752
+ };
4753
+ };
4754
+ };
4755
+ };
4756
+ /** @description The general access changed since the supplied revision. */
4757
+ 412: {
4758
+ headers: {
4759
+ [name: string]: unknown;
4760
+ };
4761
+ content: {
4762
+ "application/json": {
4763
+ error: {
4764
+ /** @enum {string} */
4765
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4766
+ details: Record<string, never>;
4767
+ message: string;
4768
+ requestId: string;
4769
+ };
4770
+ };
4771
+ };
4772
+ };
4773
+ /** @description Unsupported input, or the item is a folder. */
4774
+ 422: {
4775
+ headers: {
4776
+ [name: string]: unknown;
4777
+ };
4778
+ content: {
4779
+ "application/json": {
4780
+ error: {
4781
+ /** @enum {string} */
4782
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4783
+ details: Record<string, never>;
4784
+ message: string;
4785
+ requestId: string;
4786
+ };
4787
+ };
4788
+ };
4789
+ };
4790
+ /** @description Identity authority or storage is unavailable. */
4791
+ 503: {
4792
+ headers: {
4793
+ [name: string]: unknown;
4794
+ };
4795
+ content: {
4796
+ "application/json": {
4797
+ error: {
4798
+ /** @enum {string} */
4799
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
4800
+ details: Record<string, never>;
4189
4801
  message: string;
4190
4802
  requestId: string;
4191
4803
  };
@@ -5868,6 +6480,153 @@ interface operations {
5868
6480
  };
5869
6481
  };
5870
6482
  };
6483
+ createRenditionDescriptor: {
6484
+ parameters: {
6485
+ query?: {
6486
+ versionId?: string;
6487
+ rendition?: string;
6488
+ };
6489
+ header?: never;
6490
+ path: {
6491
+ workspaceId: string;
6492
+ itemId: string;
6493
+ };
6494
+ cookie?: never;
6495
+ };
6496
+ requestBody?: never;
6497
+ responses: {
6498
+ /** @description A ready, pending or unsupported rendition. */
6499
+ 200: {
6500
+ headers: {
6501
+ [name: string]: unknown;
6502
+ };
6503
+ content: {
6504
+ "application/json": {
6505
+ byteLength: number;
6506
+ /** @enum {string} */
6507
+ contentType: "image/webp";
6508
+ etag: string;
6509
+ expiresAtEpochMilliseconds: number;
6510
+ height: number;
6511
+ itemId: string;
6512
+ /** @enum {string} */
6513
+ rendition: "preview-640";
6514
+ /** @enum {string} */
6515
+ state: "ready";
6516
+ /** Format: uri */
6517
+ url: string;
6518
+ versionId: string;
6519
+ width: number;
6520
+ } | {
6521
+ itemId: string;
6522
+ /** @enum {string} */
6523
+ rendition: "preview-640";
6524
+ /** @enum {string} */
6525
+ state: "pending";
6526
+ versionId: string;
6527
+ } | {
6528
+ itemId: string;
6529
+ /** @enum {string} */
6530
+ reason: "encrypted" | "protected-archive" | "media-type" | "too-large" | "limits" | "undecodable" | "archive" | "attempts" | "failed";
6531
+ /** @enum {string} */
6532
+ rendition: "preview-640";
6533
+ /** @enum {string} */
6534
+ state: "unsupported";
6535
+ versionId: string;
6536
+ } | {
6537
+ itemId: string;
6538
+ /** @enum {string} */
6539
+ state: "denied" | "not-found" | "unavailable";
6540
+ };
6541
+ };
6542
+ };
6543
+ /** @description A valid Drive user bearer credential is required. */
6544
+ 401: {
6545
+ headers: {
6546
+ [name: string]: unknown;
6547
+ };
6548
+ content: {
6549
+ "application/json": {
6550
+ error: {
6551
+ /** @enum {string} */
6552
+ code: "authentication_required" | "identity_authority_unavailable" | "invalid_request" | "permission_denied" | "resource_not_found" | "service_unavailable";
6553
+ details: Record<string, never>;
6554
+ message: string;
6555
+ requestId: string;
6556
+ };
6557
+ };
6558
+ };
6559
+ };
6560
+ /** @description The visible file cannot be downloaded under current authority. */
6561
+ 403: {
6562
+ headers: {
6563
+ [name: string]: unknown;
6564
+ };
6565
+ content: {
6566
+ "application/json": {
6567
+ error: {
6568
+ /** @enum {string} */
6569
+ code: "authentication_required" | "identity_authority_unavailable" | "invalid_request" | "permission_denied" | "resource_not_found" | "service_unavailable";
6570
+ details: Record<string, never>;
6571
+ message: string;
6572
+ requestId: string;
6573
+ };
6574
+ };
6575
+ };
6576
+ };
6577
+ /** @description The file or selected version is absent or undiscoverable. */
6578
+ 404: {
6579
+ headers: {
6580
+ [name: string]: unknown;
6581
+ };
6582
+ content: {
6583
+ "application/json": {
6584
+ error: {
6585
+ /** @enum {string} */
6586
+ code: "authentication_required" | "identity_authority_unavailable" | "invalid_request" | "permission_denied" | "resource_not_found" | "service_unavailable";
6587
+ details: Record<string, never>;
6588
+ message: string;
6589
+ requestId: string;
6590
+ };
6591
+ };
6592
+ };
6593
+ };
6594
+ /** @description The path, query or body is invalid. */
6595
+ 422: {
6596
+ headers: {
6597
+ [name: string]: unknown;
6598
+ };
6599
+ content: {
6600
+ "application/json": {
6601
+ error: {
6602
+ /** @enum {string} */
6603
+ code: "authentication_required" | "identity_authority_unavailable" | "invalid_request" | "permission_denied" | "resource_not_found" | "service_unavailable";
6604
+ details: Record<string, never>;
6605
+ message: string;
6606
+ requestId: string;
6607
+ };
6608
+ };
6609
+ };
6610
+ };
6611
+ /** @description Identity, D1 or authorization is unavailable. */
6612
+ 503: {
6613
+ headers: {
6614
+ [name: string]: unknown;
6615
+ };
6616
+ content: {
6617
+ "application/json": {
6618
+ error: {
6619
+ /** @enum {string} */
6620
+ code: "authentication_required" | "identity_authority_unavailable" | "invalid_request" | "permission_denied" | "resource_not_found" | "service_unavailable";
6621
+ details: Record<string, never>;
6622
+ message: string;
6623
+ requestId: string;
6624
+ };
6625
+ };
6626
+ };
6627
+ };
6628
+ };
6629
+ };
5871
6630
  restoreItem: {
5872
6631
  parameters: {
5873
6632
  query?: never;
@@ -7568,7 +8327,7 @@ interface operations {
7568
8327
  };
7569
8328
  content?: never;
7570
8329
  };
7571
- /** @description Current item manager authority required, or (create and get) permission_denied with reason external_sharing_disabled when the organization turned external sharing off. */
8330
+ /** @description Current item manager authority required, or (create and get) permission_denied with reason external_sharing_disabled when the organization turned external sharing off, or anyone_links_disabled for an anyone link while the organization has not allowed anyone links. */
7572
8331
  403: {
7573
8332
  headers: {
7574
8333
  [name: string]: unknown;
@@ -7676,7 +8435,7 @@ interface operations {
7676
8435
  };
7677
8436
  content?: never;
7678
8437
  };
7679
- /** @description Current item manager authority required, or (create and get) permission_denied with reason external_sharing_disabled when the organization turned external sharing off. */
8438
+ /** @description Current item manager authority required, or (create and get) permission_denied with reason external_sharing_disabled when the organization turned external sharing off, or anyone_links_disabled for an anyone link while the organization has not allowed anyone links. */
7680
8439
  403: {
7681
8440
  headers: {
7682
8441
  [name: string]: unknown;
@@ -7766,7 +8525,7 @@ interface operations {
7766
8525
  };
7767
8526
  content?: never;
7768
8527
  };
7769
- /** @description Current item manager authority required, or (create and get) permission_denied with reason external_sharing_disabled when the organization turned external sharing off. */
8528
+ /** @description Current item manager authority required, or (create and get) permission_denied with reason external_sharing_disabled when the organization turned external sharing off, or anyone_links_disabled for an anyone link while the organization has not allowed anyone links. */
7770
8529
  403: {
7771
8530
  headers: {
7772
8531
  [name: string]: unknown;
@@ -7851,7 +8610,7 @@ interface operations {
7851
8610
  };
7852
8611
  content?: never;
7853
8612
  };
7854
- /** @description Current item manager authority required, or (create and get) permission_denied with reason external_sharing_disabled when the organization turned external sharing off. */
8613
+ /** @description Current item manager authority required, or (create and get) permission_denied with reason external_sharing_disabled when the organization turned external sharing off, or anyone_links_disabled for an anyone link while the organization has not allowed anyone links. */
7855
8614
  403: {
7856
8615
  headers: {
7857
8616
  [name: string]: unknown;
@@ -8063,6 +8822,128 @@ interface operations {
8063
8822
  };
8064
8823
  };
8065
8824
  };
8825
+ createRenditionDescriptors: {
8826
+ parameters: {
8827
+ query?: never;
8828
+ header?: never;
8829
+ path: {
8830
+ workspaceId: string;
8831
+ };
8832
+ cookie?: never;
8833
+ };
8834
+ requestBody: {
8835
+ content: {
8836
+ "application/json": {
8837
+ items: {
8838
+ itemId: string;
8839
+ versionId?: string;
8840
+ }[];
8841
+ /** @enum {string} */
8842
+ rendition?: "preview-640";
8843
+ };
8844
+ };
8845
+ };
8846
+ responses: {
8847
+ /** @description One descriptor per requested item, in request order. Each item is authorized exactly as its download. */
8848
+ 200: {
8849
+ headers: {
8850
+ [name: string]: unknown;
8851
+ };
8852
+ content: {
8853
+ "application/json": {
8854
+ items: ({
8855
+ byteLength: number;
8856
+ /** @enum {string} */
8857
+ contentType: "image/webp";
8858
+ etag: string;
8859
+ expiresAtEpochMilliseconds: number;
8860
+ height: number;
8861
+ itemId: string;
8862
+ /** @enum {string} */
8863
+ rendition: "preview-640";
8864
+ /** @enum {string} */
8865
+ state: "ready";
8866
+ /** Format: uri */
8867
+ url: string;
8868
+ versionId: string;
8869
+ width: number;
8870
+ } | {
8871
+ itemId: string;
8872
+ /** @enum {string} */
8873
+ rendition: "preview-640";
8874
+ /** @enum {string} */
8875
+ state: "pending";
8876
+ versionId: string;
8877
+ } | {
8878
+ itemId: string;
8879
+ /** @enum {string} */
8880
+ reason: "encrypted" | "protected-archive" | "media-type" | "too-large" | "limits" | "undecodable" | "archive" | "attempts" | "failed";
8881
+ /** @enum {string} */
8882
+ rendition: "preview-640";
8883
+ /** @enum {string} */
8884
+ state: "unsupported";
8885
+ versionId: string;
8886
+ } | {
8887
+ itemId: string;
8888
+ /** @enum {string} */
8889
+ state: "denied" | "not-found" | "unavailable";
8890
+ })[];
8891
+ };
8892
+ };
8893
+ };
8894
+ /** @description A valid Drive user bearer credential is required. */
8895
+ 401: {
8896
+ headers: {
8897
+ [name: string]: unknown;
8898
+ };
8899
+ content: {
8900
+ "application/json": {
8901
+ error: {
8902
+ /** @enum {string} */
8903
+ code: "authentication_required" | "identity_authority_unavailable" | "invalid_request" | "permission_denied" | "resource_not_found" | "service_unavailable";
8904
+ details: Record<string, never>;
8905
+ message: string;
8906
+ requestId: string;
8907
+ };
8908
+ };
8909
+ };
8910
+ };
8911
+ /** @description The path, query or body is invalid. */
8912
+ 422: {
8913
+ headers: {
8914
+ [name: string]: unknown;
8915
+ };
8916
+ content: {
8917
+ "application/json": {
8918
+ error: {
8919
+ /** @enum {string} */
8920
+ code: "authentication_required" | "identity_authority_unavailable" | "invalid_request" | "permission_denied" | "resource_not_found" | "service_unavailable";
8921
+ details: Record<string, never>;
8922
+ message: string;
8923
+ requestId: string;
8924
+ };
8925
+ };
8926
+ };
8927
+ };
8928
+ /** @description Identity, D1 or authorization is unavailable. */
8929
+ 503: {
8930
+ headers: {
8931
+ [name: string]: unknown;
8932
+ };
8933
+ content: {
8934
+ "application/json": {
8935
+ error: {
8936
+ /** @enum {string} */
8937
+ code: "authentication_required" | "identity_authority_unavailable" | "invalid_request" | "permission_denied" | "resource_not_found" | "service_unavailable";
8938
+ details: Record<string, never>;
8939
+ message: string;
8940
+ requestId: string;
8941
+ };
8942
+ };
8943
+ };
8944
+ };
8945
+ };
8946
+ };
8066
8947
  searchWorkspaceItems: {
8067
8948
  parameters: {
8068
8949
  query: {
@@ -8942,6 +9823,32 @@ interface UpdateWorkspaceSharingPolicyInput {
8942
9823
  readonly ifMatch: string;
8943
9824
  readonly signal?: AbortSignal;
8944
9825
  }
9826
+ /**
9827
+ * Whether the current organization workspace allows anyone links. Off until an owner or admin allows it; while
9828
+ * off, Drive refuses new anyone links and ignores existing ones. The external-sharing policy applies on top.
9829
+ */
9830
+ type WorkspaceLinkPolicy = Readonly<JsonResponse<"getWorkspaceLinkPolicy", 200>>;
9831
+ interface UpdateWorkspaceLinkPolicyInput {
9832
+ readonly anyoneLinks: "allowed" | "disabled";
9833
+ /** The `validators.etag` of the policy this change is based on. */
9834
+ readonly ifMatch: string;
9835
+ readonly signal?: AbortSignal;
9836
+ }
9837
+ /**
9838
+ * One organization file's general access. `viewer` or `editor` lets every current member of the organization
9839
+ * open the exact file under their own credential; it never lists the file for them or lets them reshare it.
9840
+ */
9841
+ type ItemGeneralAccess = Readonly<JsonResponse<"getItemGeneralAccess", 200>>;
9842
+ interface GetItemGeneralAccessInput {
9843
+ readonly workspaceId: string;
9844
+ readonly itemId: string;
9845
+ readonly signal?: AbortSignal;
9846
+ }
9847
+ interface UpdateItemGeneralAccessInput extends GetItemGeneralAccessInput {
9848
+ readonly access: ItemGeneralAccess["access"];
9849
+ /** The `validators.etag` of the general access this change is based on. */
9850
+ readonly ifMatch: string;
9851
+ }
8945
9852
  type GeneratedCurrentWorkspaceSources = JsonResponse<"getCurrentWorkspaceSources", 200>;
8946
9853
  type CurrentWorkspaceSources = Readonly<Omit<GeneratedCurrentWorkspaceSources, "workspace" | "volumes" | "knownProviders"> & {
8947
9854
  readonly workspace: CurrentWorkspace;
@@ -8984,6 +9891,29 @@ type ManagedDownloadDescriptor = Readonly<Omit<JsonResponse<"createDownload", 20
8984
9891
  readonly response: Readonly<JsonResponse<"createDownload", 200>["response"]>;
8985
9892
  }>;
8986
9893
  type ManagedDownloadRestorePending = Readonly<JsonResponse<"createDownload", 202>>;
9894
+ /** A file's preview rendition: `ready` with a signed URL, `pending`, `unsupported`, or a per-item refusal in a batch. */
9895
+ type RenditionDescriptor = Readonly<JsonResponse<"createRenditionDescriptor", 200>>;
9896
+ type RenditionDescriptorBatch = Readonly<{
9897
+ readonly items: readonly Readonly<JsonResponse<"createRenditionDescriptors", 200>["items"][number]>[];
9898
+ }>;
9899
+ interface CreateRenditionDescriptorInput {
9900
+ readonly workspaceId: string;
9901
+ readonly itemId: string;
9902
+ /** Defaults to the current version. */
9903
+ readonly versionId?: string;
9904
+ readonly rendition?: "preview-640";
9905
+ readonly signal?: AbortSignal;
9906
+ }
9907
+ interface CreateRenditionDescriptorsInput {
9908
+ readonly workspaceId: string;
9909
+ /** 1 to 25 distinct items; the response answers them in this order. */
9910
+ readonly items: readonly {
9911
+ readonly itemId: string;
9912
+ readonly versionId?: string;
9913
+ }[];
9914
+ readonly rendition?: "preview-640";
9915
+ readonly signal?: AbortSignal;
9916
+ }
8987
9917
  type ProtectionClassification = PrepareVerifiedTransferInput["protectionClassification"];
8988
9918
  type PermissionAction = CreatePermissionBody["actions"][number];
8989
9919
  type PermissionGrantee = Readonly<CreatePermissionBody["grantee"]>;
@@ -9198,6 +10128,14 @@ interface DriveOperations {
9198
10128
  archiveItem(input: ArchiveItemInput): Promise<DriveOperationResult<ArchivedItem, 200>>;
9199
10129
  getWorkspaceSharingPolicy(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<WorkspaceSharingPolicy, 200>>;
9200
10130
  updateWorkspaceSharingPolicy(input: UpdateWorkspaceSharingPolicyInput): Promise<DriveOperationResult<WorkspaceSharingPolicy, 200>>;
10131
+ /** Present from SDK 0.32. Organization workspaces only. */
10132
+ getWorkspaceLinkPolicy(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<WorkspaceLinkPolicy, 200>>;
10133
+ /** Present from SDK 0.32. Organization owners and admins only. */
10134
+ updateWorkspaceLinkPolicy(input: UpdateWorkspaceLinkPolicyInput): Promise<DriveOperationResult<WorkspaceLinkPolicy, 200>>;
10135
+ /** Present from SDK 0.32. Organization files only. */
10136
+ getItemGeneralAccess(input: GetItemGeneralAccessInput): Promise<DriveOperationResult<ItemGeneralAccess, 200>>;
10137
+ /** Present from SDK 0.32. The file's manager or owner only. */
10138
+ updateItemGeneralAccess(input: UpdateItemGeneralAccessInput): Promise<DriveOperationResult<ItemGeneralAccess, 200>>;
9201
10139
  getCurrentWorkspaceSources(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<CurrentWorkspaceSources, 200>>;
9202
10140
  getCurrentWorkspace(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<CurrentWorkspace, 200>>;
9203
10141
  ensurePersonalWorkspace(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<CurrentWorkspace, 200>>;
@@ -9215,6 +10153,13 @@ interface DriveOperations {
9215
10153
  restoreItemVersion(input: RestoreItemVersionInput): Promise<DriveOperationResult<ManagedItemVersionRestoreResult, 200>>;
9216
10154
  createDownload(input: CreateDownloadInput): Promise<DriveOperationResult<ManagedDownloadDescriptor, 200> | DriveOperationResult<ManagedDownloadRestorePending, 202> | DriveOperationResult<undefined, 304>>;
9217
10155
  downloadItem(input: CreateDownloadInput): Promise<DownloadItemResult>;
10156
+ /**
10157
+ * Present from SDK 0.32. One file's preview rendition under exactly its download authority; a refused file throws
10158
+ * like `createDownload`. `ready` URLs are stable within a 30-minute window and privately cacheable.
10159
+ */
10160
+ createRenditionDescriptor(input: CreateRenditionDescriptorInput): Promise<DriveOperationResult<RenditionDescriptor, 200>>;
10161
+ /** Present from SDK 0.32. Up to 25 files' renditions in one request; each item is authorized like its download. */
10162
+ createRenditionDescriptors(input: CreateRenditionDescriptorsInput): Promise<DriveOperationResult<RenditionDescriptorBatch, 200>>;
9218
10163
  listItemPermissions(input: ListItemPermissionsInput): Promise<DriveOperationResult<PermissionPage, 200>>;
9219
10164
  readEffectiveItemPermissions(input: ReadEffectiveItemPermissionsInput): Promise<DriveOperationResult<EffectivePermissionResponse, 200>>;
9220
10165
  createItemPermission(input: CreateItemPermissionInput): Promise<DriveOperationResult<PermissionMutation, 200 | 201>>;
@@ -9264,6 +10209,8 @@ interface DriveVisitorClient {
9264
10209
  listChildren(input?: VisitorChildrenInput): Promise<DriveOperationResult<VisitorChildren, 200>>;
9265
10210
  createDownload(input?: VisitorDownloadInput): Promise<DriveOperationResult<ManagedDownloadDescriptor, 200>>;
9266
10211
  downloadItem(input?: VisitorDownloadInput): Promise<Response>;
10212
+ /** Present from SDK 0.32. The visitor's file preview rendition under the visitor download authority. */
10213
+ createRendition(input?: VisitorReadInput): Promise<DriveOperationResult<RenditionDescriptor, 200>>;
9267
10214
  redeemInvitation(input: {
9268
10215
  readonly sessionToken: string;
9269
10216
  readonly signal?: AbortSignal;
@@ -9277,4 +10224,4 @@ interface DriveClient extends DriveOperations, VerifiedTransferOperations {
9277
10224
  uploadVerifiedFile(input: UploadVerifiedFileInput): Promise<DriveOperationResult<PublishedVerifiedTransfer, 200>>;
9278
10225
  }
9279
10226
  //#endregion
9280
- export { ItemRecipientBatchEntry as $, UploadFileProgressCallback as $t, DriveUploadConfig as A, PreparedVerifiedTransfer as At, FolderListedItem as B, RestoreItemVersionInput as Bt, DriveEditingClientConfig as C, operations as Cn, OwnedItemPage as Ct, DriveResponseValidators as D, PermissionMutation as Dt, DriveOperations as E, PermissionGrantee as Et, EffectivePermissionAction as F, RecoverVerifiedTransferInput as Ft, GetVisitorGrantInput as G, TransferItemOwnershipInput as Gt, GetCurrentWorkspaceInput as H, RevokeVisitorGrantInput as Ht, EffectivePermissionResponse as I, RegisterItemRecipientInput as It, IncomingItemPage as J, UpdateItemInput as Jt, GetWorkspaceUsageInput as K, TrashItemInput as Kt, FileAccessContext as L, RegisterItemRecipientsInput as Lt, DriveVisitorClientConfig as M, PublishVerifiedTransferInput as Mt, EditingSession as N, PublishedVerifiedTransfer as Nt, DriveServerClient as O, PermissionPage as Ot, EditingSessionCreation as P, ReadEffectiveItemPermissionsInput as Pt, ItemOwnershipTransfer as Q, UploadFileProgress as Qt, FolderItem as R, RegisteredRecipientDisplay as Rt, DriveEditingClient as S, WorkspaceUsage as Sn, OwnedItem as St, DriveOperationResult as T, PermissionGrant as Tt, GetItemInput as U, SearchWorkspaceItemsInput as Ut, FolderPage as V, RevokeItemPermissionInput as Vt, GetItemVersionInput as W, StarItemInput as Wt, IncomingSharePage as X, UpdateWorkspaceSharingPolicyInput as Xt, IncomingShareContext as Y, UpdateItemPermissionInput as Yt, ItemFavorite as Z, UploadFilePhase as Zt, DownloadItemResult as _, WorkspaceDiscoveryItem as _n, ManagedItemVersionResource as _t, CollectOwnedItemsInput as a, VisitorChildrenInput as an, ListIncomingItemsInput as at, DriveCredentialContext as b, WorkspaceItemSearchPage as bn, OrganizationMemberStorageUsage as bt, CreateEditingSessionInput as c, VisitorGrant as cn, ListItemSharingPeopleInput as ct, CreateVisitorEditingSessionInput as d, VisitorItem as dn, ListWorkspaceItemsInput as dt, UploadFileStage as en, ItemSharingBatch as et, CreateVisitorGrantInput as f, VisitorReadInput as fn, ManagedDownloadDescriptor as ft, DeleteItemInput as g, WorkspaceCountsInput as gn, ManagedItemVersionPage as gt, CurrentWorkspaceSources as h, WorkspaceCounts as hn, ManagedItemVersion as ht, ChangeEditingSessionInput as i, VisitorChildren as in, ListFolderChildrenInput as it, DriveVisitorClient as j, ProtectionClassification as jt, DriveServerClientConfig as k, PrepareVerifiedTransferInput as kt, CreateFolderInput as l, VisitorGrantCreation as ln, ListItemVersionsInput as lt, CurrentWorkspace as m, WorkspaceCount as mn, ManagedItemMetadata as mt, ArchiveItemInput as n, UploadVerifiedFileInput as nn, ItemSharingPeoplePage as nt, CollectedOwnedItems as o, VisitorDownloadInput as on, ListIncomingSharesInput as ot, CurrentUserWorkspaceUsage as p, VisitorSession as pn, ManagedDownloadRestorePending as pt, IncomingItemMetadata as q, UnstarItemInput as qt, ArchivedItem as r, VerifiedTransferOperations as rn, ListFavoriteItemsInput as rt, CreateDownloadInput as s, VisitorEditingSession as sn, ListItemPermissionsInput as st, AdmittedVerifiedTransfer as t, UploadSmallVerifiedFileInput as tn, ItemSharingBatchResult as tt, CreateItemPermissionInput as u, VisitorGrantPage as un, ListOwnedItemsInput as ut, DriveClient as v, WorkspaceDiscoveryPage as vn, ManagedItemVersionRestoreResult as vt, DriveEditingServerClient as w, PermissionAction as wt, DriveCredentialProvider as x, WorkspaceSharingPolicy as xn, OrganizationMemberStorageUsageInput as xt, DriveClientConfig as y, WorkspaceItemSearchItem as yn, ManagedLifecycleItem as yt, FolderListInclude as z, RestoreItemInput as zt };
10227
+ export { IncomingSharePage as $, UnstarItemInput as $t, DriveServerClient as A, WorkspaceSharingPolicy as An, PermissionGrantee as At, FolderItem as B, RegisterItemRecipientInput as Bt, DriveCredentialProvider as C, WorkspaceCounts as Cn, ManagedLifecycleItem as Ct, DriveOperationResult as D, WorkspaceItemSearchItem as Dn, OwnedItemPage as Dt, DriveEditingServerClient as E, WorkspaceDiscoveryPage as En, OwnedItem as Et, EditingSession as F, ProtectionClassification as Ft, GetItemGeneralAccessInput as G, RestoreItemInput as Gt, FolderListedItem as H, RegisteredRecipientDisplay as Ht, EditingSessionCreation as I, PublishVerifiedTransferInput as It, GetVisitorGrantInput as J, RevokeVisitorGrantInput as Jt, GetItemInput as K, RestoreItemVersionInput as Kt, EffectivePermissionAction as L, PublishedVerifiedTransfer as Lt, DriveUploadConfig as M, operations as Mn, PermissionPage as Mt, DriveVisitorClient as N, PrepareVerifiedTransferInput as Nt, DriveOperations as O, WorkspaceItemSearchPage as On, PermissionAction as Ot, DriveVisitorClientConfig as P, PreparedVerifiedTransfer as Pt, IncomingShareContext as Q, TrashItemInput as Qt, EffectivePermissionResponse as R, ReadEffectiveItemPermissionsInput as Rt, DriveCredentialContext as S, WorkspaceCount as Sn, ManagedItemVersionRestoreResult as St, DriveEditingClientConfig as T, WorkspaceDiscoveryItem as Tn, OrganizationMemberStorageUsageInput as Tt, FolderPage as U, RenditionDescriptor as Ut, FolderListInclude as V, RegisterItemRecipientsInput as Vt, GetCurrentWorkspaceInput as W, RenditionDescriptorBatch as Wt, IncomingItemMetadata as X, StarItemInput as Xt, GetWorkspaceUsageInput as Y, SearchWorkspaceItemsInput as Yt, IncomingItemPage as Z, TransferItemOwnershipInput as Zt, CurrentWorkspaceSources as _, VisitorGrantCreation as _n, ManagedDownloadRestorePending as _t, CollectOwnedItemsInput as a, UploadFilePhase as an, ItemSharingBatchResult as at, DriveClient as b, VisitorReadInput as bn, ManagedItemVersionPage as bt, CreateEditingSessionInput as c, UploadFileStage as cn, ListFolderChildrenInput as ct, CreateRenditionDescriptorInput as d, VerifiedTransferOperations as dn, ListItemPermissionsInput as dt, UpdateItemGeneralAccessInput as en, ItemFavorite as et, CreateRenditionDescriptorsInput as f, VisitorChildren as fn, ListItemSharingPeopleInput as ft, CurrentWorkspace as g, VisitorGrant as gn, ManagedDownloadDescriptor as gt, CurrentUserWorkspaceUsage as h, VisitorEditingSession as hn, ListWorkspaceItemsInput as ht, ChangeEditingSessionInput as i, UpdateWorkspaceSharingPolicyInput as in, ItemSharingBatch as it, DriveServerClientConfig as j, WorkspaceUsage as jn, PermissionMutation as jt, DriveResponseValidators as k, WorkspaceLinkPolicy as kn, PermissionGrant as kt, CreateFolderInput as l, UploadSmallVerifiedFileInput as ln, ListIncomingItemsInput as lt, CreateVisitorGrantInput as m, VisitorDownloadInput as mn, ListOwnedItemsInput as mt, ArchiveItemInput as n, UpdateItemPermissionInput as nn, ItemOwnershipTransfer as nt, CollectedOwnedItems as o, UploadFileProgress as on, ItemSharingPeoplePage as ot, CreateVisitorEditingSessionInput as p, VisitorChildrenInput as pn, ListItemVersionsInput as pt, GetItemVersionInput as q, RevokeItemPermissionInput as qt, ArchivedItem as r, UpdateWorkspaceLinkPolicyInput as rn, ItemRecipientBatchEntry as rt, CreateDownloadInput as s, UploadFileProgressCallback as sn, ListFavoriteItemsInput as st, AdmittedVerifiedTransfer as t, UpdateItemInput as tn, ItemGeneralAccess as tt, CreateItemPermissionInput as u, UploadVerifiedFileInput as un, ListIncomingSharesInput as ut, DeleteItemInput as v, VisitorGrantPage as vn, ManagedItemMetadata as vt, DriveEditingClient as w, WorkspaceCountsInput as wn, OrganizationMemberStorageUsage as wt, DriveClientConfig as x, VisitorSession as xn, ManagedItemVersionResource as xt, DownloadItemResult as y, VisitorItem as yn, ManagedItemVersion as yt, FileAccessContext as z, RecoverVerifiedTransferInput as zt };