@finueva/drive 0.32.1 → 0.34.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.
@@ -1342,6 +1342,1692 @@ interface operations {
1342
1342
  };
1343
1343
  };
1344
1344
  };
1345
+ getArchiveConnection: {
1346
+ parameters: {
1347
+ query?: never;
1348
+ header?: never;
1349
+ path?: never;
1350
+ cookie?: never;
1351
+ };
1352
+ requestBody?: never;
1353
+ responses: {
1354
+ /** @description The connection, or null. */
1355
+ 200: {
1356
+ headers: {
1357
+ /** @description Connection revision for If-Match. */
1358
+ ETag?: string;
1359
+ [name: string]: unknown;
1360
+ };
1361
+ content: {
1362
+ "application/json": {
1363
+ connection: {
1364
+ accessKeyHint: string;
1365
+ /** @enum {string} */
1366
+ addressingMode: "path" | "virtual-hosted";
1367
+ bucket: string;
1368
+ checkedAt: number;
1369
+ /** Format: uuid */
1370
+ connectionId: string;
1371
+ createdAt: number;
1372
+ endpoint: string;
1373
+ hasCloudflareApiToken: boolean;
1374
+ prefix: string;
1375
+ profile: {
1376
+ conditionalCreate: boolean;
1377
+ cors: boolean;
1378
+ /** @enum {string} */
1379
+ lifecycleRead: "s3" | "cloudflare-api" | "none";
1380
+ quirks: ("md5-with-sha256-rejected" | "single-region-only")[];
1381
+ responseOverrides: boolean;
1382
+ sha256Composite?: boolean;
1383
+ sha256FullObject: boolean;
1384
+ sseC: boolean;
1385
+ /** @enum {number} */
1386
+ version: 1;
1387
+ };
1388
+ /** @enum {string} */
1389
+ provider: "s3" | "r2";
1390
+ region: string;
1391
+ report: {
1392
+ bindable: boolean;
1393
+ checkedAt: number;
1394
+ checks: {
1395
+ detail?: string;
1396
+ explanation: string;
1397
+ /** @enum {string} */
1398
+ id: "access" | "write" | "read" | "range" | "if-match" | "empty-object" | "multipart" | "conditional-create" | "sha256" | "sse-c" | "response-overrides" | "cors" | "lifecycle" | "cleanup";
1399
+ /** @enum {string} */
1400
+ outcome: "pass" | "fail" | "skipped";
1401
+ required: boolean;
1402
+ }[];
1403
+ profile: {
1404
+ conditionalCreate: boolean;
1405
+ cors: boolean;
1406
+ /** @enum {string} */
1407
+ lifecycleRead: "s3" | "cloudflare-api" | "none";
1408
+ quirks: ("md5-with-sha256-rejected" | "single-region-only")[];
1409
+ responseOverrides: boolean;
1410
+ sha256Composite?: boolean;
1411
+ sha256FullObject: boolean;
1412
+ sseC: boolean;
1413
+ /** @enum {number} */
1414
+ version: 1;
1415
+ } & unknown;
1416
+ /** @enum {number} */
1417
+ version: 1;
1418
+ };
1419
+ revision: number;
1420
+ /** @enum {string} */
1421
+ status: "healthy" | "degraded" | "failing";
1422
+ updatedAt: number;
1423
+ } | null;
1424
+ };
1425
+ };
1426
+ };
1427
+ /** @description A valid Drive user credential is required. */
1428
+ 401: {
1429
+ headers: {
1430
+ [name: string]: unknown;
1431
+ };
1432
+ content: {
1433
+ "application/json": {
1434
+ error: {
1435
+ /** @enum {string} */
1436
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1437
+ details: Record<string, never>;
1438
+ message: string;
1439
+ requestId: string;
1440
+ };
1441
+ };
1442
+ };
1443
+ };
1444
+ /** @description The caller is not an owner of the organization. */
1445
+ 403: {
1446
+ headers: {
1447
+ [name: string]: unknown;
1448
+ };
1449
+ content: {
1450
+ "application/json": {
1451
+ error: {
1452
+ /** @enum {string} */
1453
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1454
+ details: Record<string, never>;
1455
+ message: string;
1456
+ requestId: string;
1457
+ };
1458
+ };
1459
+ };
1460
+ };
1461
+ /** @description The credential selects a personal workspace or an unavailable organization. */
1462
+ 404: {
1463
+ headers: {
1464
+ [name: string]: unknown;
1465
+ };
1466
+ content: {
1467
+ "application/json": {
1468
+ error: {
1469
+ /** @enum {string} */
1470
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1471
+ details: Record<string, never>;
1472
+ message: string;
1473
+ requestId: string;
1474
+ };
1475
+ };
1476
+ };
1477
+ };
1478
+ /** @description Unsupported query, header or body input. */
1479
+ 422: {
1480
+ headers: {
1481
+ [name: string]: unknown;
1482
+ };
1483
+ content: {
1484
+ "application/json": {
1485
+ error: {
1486
+ /** @enum {string} */
1487
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1488
+ details: Record<string, never>;
1489
+ message: string;
1490
+ requestId: string;
1491
+ };
1492
+ };
1493
+ };
1494
+ };
1495
+ /** @description Identity authority, storage or connection keys are unavailable. */
1496
+ 503: {
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
+ };
1513
+ };
1514
+ saveArchiveConnection: {
1515
+ parameters: {
1516
+ query?: never;
1517
+ header?: {
1518
+ "If-Match"?: string;
1519
+ "If-None-Match"?: string;
1520
+ };
1521
+ path?: never;
1522
+ cookie?: never;
1523
+ };
1524
+ requestBody: {
1525
+ content: {
1526
+ "application/json": {
1527
+ accessKeyId: string;
1528
+ /** @enum {string} */
1529
+ addressingMode: "path" | "virtual-hosted";
1530
+ bucket: string;
1531
+ cloudflareApiToken?: string;
1532
+ endpoint: string;
1533
+ prefix: string;
1534
+ /** @enum {string} */
1535
+ provider: "s3" | "r2";
1536
+ region: string;
1537
+ secretAccessKey: string;
1538
+ };
1539
+ };
1540
+ };
1541
+ responses: {
1542
+ /** @description The saved connection. */
1543
+ 200: {
1544
+ headers: {
1545
+ /** @description Connection revision for If-Match. */
1546
+ ETag?: string;
1547
+ [name: string]: unknown;
1548
+ };
1549
+ content: {
1550
+ "application/json": {
1551
+ connection: {
1552
+ accessKeyHint: string;
1553
+ /** @enum {string} */
1554
+ addressingMode: "path" | "virtual-hosted";
1555
+ bucket: string;
1556
+ checkedAt: number;
1557
+ /** Format: uuid */
1558
+ connectionId: string;
1559
+ createdAt: number;
1560
+ endpoint: string;
1561
+ hasCloudflareApiToken: boolean;
1562
+ prefix: string;
1563
+ profile: {
1564
+ conditionalCreate: boolean;
1565
+ cors: boolean;
1566
+ /** @enum {string} */
1567
+ lifecycleRead: "s3" | "cloudflare-api" | "none";
1568
+ quirks: ("md5-with-sha256-rejected" | "single-region-only")[];
1569
+ responseOverrides: boolean;
1570
+ sha256Composite?: boolean;
1571
+ sha256FullObject: boolean;
1572
+ sseC: boolean;
1573
+ /** @enum {number} */
1574
+ version: 1;
1575
+ };
1576
+ /** @enum {string} */
1577
+ provider: "s3" | "r2";
1578
+ region: string;
1579
+ report: {
1580
+ bindable: boolean;
1581
+ checkedAt: number;
1582
+ checks: {
1583
+ detail?: string;
1584
+ explanation: string;
1585
+ /** @enum {string} */
1586
+ id: "access" | "write" | "read" | "range" | "if-match" | "empty-object" | "multipart" | "conditional-create" | "sha256" | "sse-c" | "response-overrides" | "cors" | "lifecycle" | "cleanup";
1587
+ /** @enum {string} */
1588
+ outcome: "pass" | "fail" | "skipped";
1589
+ required: boolean;
1590
+ }[];
1591
+ profile: {
1592
+ conditionalCreate: boolean;
1593
+ cors: boolean;
1594
+ /** @enum {string} */
1595
+ lifecycleRead: "s3" | "cloudflare-api" | "none";
1596
+ quirks: ("md5-with-sha256-rejected" | "single-region-only")[];
1597
+ responseOverrides: boolean;
1598
+ sha256Composite?: boolean;
1599
+ sha256FullObject: boolean;
1600
+ sseC: boolean;
1601
+ /** @enum {number} */
1602
+ version: 1;
1603
+ } & unknown;
1604
+ /** @enum {number} */
1605
+ version: 1;
1606
+ };
1607
+ revision: number;
1608
+ /** @enum {string} */
1609
+ status: "healthy" | "degraded" | "failing";
1610
+ updatedAt: number;
1611
+ } | null;
1612
+ };
1613
+ };
1614
+ };
1615
+ /** @description A valid Drive user credential is required. */
1616
+ 401: {
1617
+ headers: {
1618
+ [name: string]: unknown;
1619
+ };
1620
+ content: {
1621
+ "application/json": {
1622
+ error: {
1623
+ /** @enum {string} */
1624
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1625
+ details: Record<string, never>;
1626
+ message: string;
1627
+ requestId: string;
1628
+ };
1629
+ };
1630
+ };
1631
+ };
1632
+ /** @description The caller is not an owner of the organization. */
1633
+ 403: {
1634
+ headers: {
1635
+ [name: string]: unknown;
1636
+ };
1637
+ content: {
1638
+ "application/json": {
1639
+ error: {
1640
+ /** @enum {string} */
1641
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1642
+ details: Record<string, never>;
1643
+ message: string;
1644
+ requestId: string;
1645
+ };
1646
+ };
1647
+ };
1648
+ };
1649
+ /** @description The credential selects a personal workspace or an unavailable organization. */
1650
+ 404: {
1651
+ headers: {
1652
+ [name: string]: unknown;
1653
+ };
1654
+ content: {
1655
+ "application/json": {
1656
+ error: {
1657
+ /** @enum {string} */
1658
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1659
+ details: Record<string, never>;
1660
+ message: string;
1661
+ requestId: string;
1662
+ };
1663
+ };
1664
+ };
1665
+ };
1666
+ /** @description The connection changed, already exists, or does not exist. */
1667
+ 412: {
1668
+ headers: {
1669
+ [name: string]: unknown;
1670
+ };
1671
+ content: {
1672
+ "application/json": {
1673
+ error: {
1674
+ /** @enum {string} */
1675
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1676
+ details: Record<string, never>;
1677
+ message: string;
1678
+ requestId: string;
1679
+ };
1680
+ };
1681
+ };
1682
+ };
1683
+ /** @description Unsupported query, header or body input. */
1684
+ 422: {
1685
+ headers: {
1686
+ [name: string]: unknown;
1687
+ };
1688
+ content: {
1689
+ "application/json": {
1690
+ error: {
1691
+ /** @enum {string} */
1692
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1693
+ details: Record<string, never>;
1694
+ message: string;
1695
+ requestId: string;
1696
+ };
1697
+ };
1698
+ };
1699
+ };
1700
+ /** @description Identity authority, storage or connection keys are unavailable. */
1701
+ 503: {
1702
+ headers: {
1703
+ [name: string]: unknown;
1704
+ };
1705
+ content: {
1706
+ "application/json": {
1707
+ error: {
1708
+ /** @enum {string} */
1709
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1710
+ details: Record<string, never>;
1711
+ message: string;
1712
+ requestId: string;
1713
+ };
1714
+ };
1715
+ };
1716
+ };
1717
+ };
1718
+ };
1719
+ deleteArchiveConnection: {
1720
+ parameters: {
1721
+ query?: never;
1722
+ header?: {
1723
+ "If-Match"?: string;
1724
+ };
1725
+ path?: never;
1726
+ cookie?: never;
1727
+ };
1728
+ requestBody?: never;
1729
+ responses: {
1730
+ /** @description Disconnected. */
1731
+ 200: {
1732
+ headers: {
1733
+ [name: string]: unknown;
1734
+ };
1735
+ content: {
1736
+ "application/json": {
1737
+ connection: {
1738
+ accessKeyHint: string;
1739
+ /** @enum {string} */
1740
+ addressingMode: "path" | "virtual-hosted";
1741
+ bucket: string;
1742
+ checkedAt: number;
1743
+ /** Format: uuid */
1744
+ connectionId: string;
1745
+ createdAt: number;
1746
+ endpoint: string;
1747
+ hasCloudflareApiToken: boolean;
1748
+ prefix: string;
1749
+ profile: {
1750
+ conditionalCreate: boolean;
1751
+ cors: boolean;
1752
+ /** @enum {string} */
1753
+ lifecycleRead: "s3" | "cloudflare-api" | "none";
1754
+ quirks: ("md5-with-sha256-rejected" | "single-region-only")[];
1755
+ responseOverrides: boolean;
1756
+ sha256Composite?: boolean;
1757
+ sha256FullObject: boolean;
1758
+ sseC: boolean;
1759
+ /** @enum {number} */
1760
+ version: 1;
1761
+ };
1762
+ /** @enum {string} */
1763
+ provider: "s3" | "r2";
1764
+ region: string;
1765
+ report: {
1766
+ bindable: boolean;
1767
+ checkedAt: number;
1768
+ checks: {
1769
+ detail?: string;
1770
+ explanation: string;
1771
+ /** @enum {string} */
1772
+ id: "access" | "write" | "read" | "range" | "if-match" | "empty-object" | "multipart" | "conditional-create" | "sha256" | "sse-c" | "response-overrides" | "cors" | "lifecycle" | "cleanup";
1773
+ /** @enum {string} */
1774
+ outcome: "pass" | "fail" | "skipped";
1775
+ required: boolean;
1776
+ }[];
1777
+ profile: {
1778
+ conditionalCreate: boolean;
1779
+ cors: boolean;
1780
+ /** @enum {string} */
1781
+ lifecycleRead: "s3" | "cloudflare-api" | "none";
1782
+ quirks: ("md5-with-sha256-rejected" | "single-region-only")[];
1783
+ responseOverrides: boolean;
1784
+ sha256Composite?: boolean;
1785
+ sha256FullObject: boolean;
1786
+ sseC: boolean;
1787
+ /** @enum {number} */
1788
+ version: 1;
1789
+ } & unknown;
1790
+ /** @enum {number} */
1791
+ version: 1;
1792
+ };
1793
+ revision: number;
1794
+ /** @enum {string} */
1795
+ status: "healthy" | "degraded" | "failing";
1796
+ updatedAt: number;
1797
+ } | null;
1798
+ };
1799
+ };
1800
+ };
1801
+ /** @description A valid Drive user credential is required. */
1802
+ 401: {
1803
+ headers: {
1804
+ [name: string]: unknown;
1805
+ };
1806
+ content: {
1807
+ "application/json": {
1808
+ error: {
1809
+ /** @enum {string} */
1810
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1811
+ details: Record<string, never>;
1812
+ message: string;
1813
+ requestId: string;
1814
+ };
1815
+ };
1816
+ };
1817
+ };
1818
+ /** @description The caller is not an owner of the organization. */
1819
+ 403: {
1820
+ headers: {
1821
+ [name: string]: unknown;
1822
+ };
1823
+ content: {
1824
+ "application/json": {
1825
+ error: {
1826
+ /** @enum {string} */
1827
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1828
+ details: Record<string, never>;
1829
+ message: string;
1830
+ requestId: string;
1831
+ };
1832
+ };
1833
+ };
1834
+ };
1835
+ /** @description The credential selects a personal workspace or an unavailable organization. */
1836
+ 404: {
1837
+ headers: {
1838
+ [name: string]: unknown;
1839
+ };
1840
+ content: {
1841
+ "application/json": {
1842
+ error: {
1843
+ /** @enum {string} */
1844
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1845
+ details: Record<string, never>;
1846
+ message: string;
1847
+ requestId: string;
1848
+ };
1849
+ };
1850
+ };
1851
+ };
1852
+ /** @description The connection changed since the supplied ETag. */
1853
+ 412: {
1854
+ headers: {
1855
+ [name: string]: unknown;
1856
+ };
1857
+ content: {
1858
+ "application/json": {
1859
+ error: {
1860
+ /** @enum {string} */
1861
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1862
+ details: Record<string, never>;
1863
+ message: string;
1864
+ requestId: string;
1865
+ };
1866
+ };
1867
+ };
1868
+ };
1869
+ /** @description Unsupported query, header or body input. */
1870
+ 422: {
1871
+ headers: {
1872
+ [name: string]: unknown;
1873
+ };
1874
+ content: {
1875
+ "application/json": {
1876
+ error: {
1877
+ /** @enum {string} */
1878
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1879
+ details: Record<string, never>;
1880
+ message: string;
1881
+ requestId: string;
1882
+ };
1883
+ };
1884
+ };
1885
+ };
1886
+ /** @description Identity authority, storage or connection keys are unavailable. */
1887
+ 503: {
1888
+ headers: {
1889
+ [name: string]: unknown;
1890
+ };
1891
+ content: {
1892
+ "application/json": {
1893
+ error: {
1894
+ /** @enum {string} */
1895
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1896
+ details: Record<string, never>;
1897
+ message: string;
1898
+ requestId: string;
1899
+ };
1900
+ };
1901
+ };
1902
+ };
1903
+ };
1904
+ };
1905
+ getArchiveMove: {
1906
+ parameters: {
1907
+ query?: never;
1908
+ header?: never;
1909
+ path?: never;
1910
+ cookie?: never;
1911
+ };
1912
+ requestBody?: never;
1913
+ responses: {
1914
+ /** @description The latest move, or null. */
1915
+ 200: {
1916
+ headers: {
1917
+ [name: string]: unknown;
1918
+ };
1919
+ content: {
1920
+ "application/json": {
1921
+ move: {
1922
+ createdAt: number;
1923
+ failedBytes: number;
1924
+ failedVersions: number;
1925
+ finishedAt: number | null;
1926
+ lastError: string | null;
1927
+ /** Format: uuid */
1928
+ moveId: string;
1929
+ movedBytes: number;
1930
+ movedVersions: number;
1931
+ /** @enum {string|null} */
1932
+ pauseReason: "owner" | "connection_unavailable" | "bucket_unavailable" | null;
1933
+ pendingDeletions: number;
1934
+ skippedVersions: number;
1935
+ /** @enum {string} */
1936
+ state: "running" | "paused" | "cancelled" | "completed";
1937
+ totalBytes: number;
1938
+ totalVersions: number;
1939
+ updatedAt: number;
1940
+ } | null;
1941
+ };
1942
+ };
1943
+ };
1944
+ /** @description A valid Drive user credential is required. */
1945
+ 401: {
1946
+ headers: {
1947
+ [name: string]: unknown;
1948
+ };
1949
+ content: {
1950
+ "application/json": {
1951
+ error: {
1952
+ /** @enum {string} */
1953
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1954
+ details: {
1955
+ /** @enum {string} */
1956
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
1957
+ };
1958
+ message: string;
1959
+ requestId: string;
1960
+ };
1961
+ };
1962
+ };
1963
+ };
1964
+ /** @description The caller is not an owner of the organization. */
1965
+ 403: {
1966
+ headers: {
1967
+ [name: string]: unknown;
1968
+ };
1969
+ content: {
1970
+ "application/json": {
1971
+ error: {
1972
+ /** @enum {string} */
1973
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1974
+ details: {
1975
+ /** @enum {string} */
1976
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
1977
+ };
1978
+ message: string;
1979
+ requestId: string;
1980
+ };
1981
+ };
1982
+ };
1983
+ };
1984
+ /** @description The credential selects a personal workspace or an unavailable organization. */
1985
+ 404: {
1986
+ headers: {
1987
+ [name: string]: unknown;
1988
+ };
1989
+ content: {
1990
+ "application/json": {
1991
+ error: {
1992
+ /** @enum {string} */
1993
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
1994
+ details: {
1995
+ /** @enum {string} */
1996
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
1997
+ };
1998
+ message: string;
1999
+ requestId: string;
2000
+ };
2001
+ };
2002
+ };
2003
+ };
2004
+ /** @description Unsupported query, header or body input. */
2005
+ 422: {
2006
+ headers: {
2007
+ [name: string]: unknown;
2008
+ };
2009
+ content: {
2010
+ "application/json": {
2011
+ error: {
2012
+ /** @enum {string} */
2013
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2014
+ details: {
2015
+ /** @enum {string} */
2016
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2017
+ };
2018
+ message: string;
2019
+ requestId: string;
2020
+ };
2021
+ };
2022
+ };
2023
+ };
2024
+ /** @description Identity authority or storage is unavailable, or the connected bucket is not healthy (`archive_connection_unavailable`). */
2025
+ 503: {
2026
+ headers: {
2027
+ [name: string]: unknown;
2028
+ };
2029
+ content: {
2030
+ "application/json": {
2031
+ error: {
2032
+ /** @enum {string} */
2033
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2034
+ details: {
2035
+ /** @enum {string} */
2036
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2037
+ };
2038
+ message: string;
2039
+ requestId: string;
2040
+ };
2041
+ };
2042
+ };
2043
+ };
2044
+ };
2045
+ };
2046
+ startArchiveMove: {
2047
+ parameters: {
2048
+ query?: never;
2049
+ header?: never;
2050
+ path?: never;
2051
+ cookie?: never;
2052
+ };
2053
+ requestBody?: never;
2054
+ responses: {
2055
+ /** @description The started move. */
2056
+ 200: {
2057
+ headers: {
2058
+ [name: string]: unknown;
2059
+ };
2060
+ content: {
2061
+ "application/json": {
2062
+ move: {
2063
+ createdAt: number;
2064
+ failedBytes: number;
2065
+ failedVersions: number;
2066
+ finishedAt: number | null;
2067
+ lastError: string | null;
2068
+ /** Format: uuid */
2069
+ moveId: string;
2070
+ movedBytes: number;
2071
+ movedVersions: number;
2072
+ /** @enum {string|null} */
2073
+ pauseReason: "owner" | "connection_unavailable" | "bucket_unavailable" | null;
2074
+ pendingDeletions: number;
2075
+ skippedVersions: number;
2076
+ /** @enum {string} */
2077
+ state: "running" | "paused" | "cancelled" | "completed";
2078
+ totalBytes: number;
2079
+ totalVersions: number;
2080
+ updatedAt: number;
2081
+ } | null;
2082
+ };
2083
+ };
2084
+ };
2085
+ /** @description A valid Drive user credential is required. */
2086
+ 401: {
2087
+ headers: {
2088
+ [name: string]: unknown;
2089
+ };
2090
+ content: {
2091
+ "application/json": {
2092
+ error: {
2093
+ /** @enum {string} */
2094
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2095
+ details: {
2096
+ /** @enum {string} */
2097
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2098
+ };
2099
+ message: string;
2100
+ requestId: string;
2101
+ };
2102
+ };
2103
+ };
2104
+ };
2105
+ /** @description The caller is not an owner of the organization. */
2106
+ 403: {
2107
+ headers: {
2108
+ [name: string]: unknown;
2109
+ };
2110
+ content: {
2111
+ "application/json": {
2112
+ error: {
2113
+ /** @enum {string} */
2114
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2115
+ details: {
2116
+ /** @enum {string} */
2117
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2118
+ };
2119
+ message: string;
2120
+ requestId: string;
2121
+ };
2122
+ };
2123
+ };
2124
+ };
2125
+ /** @description The credential selects a personal workspace or an unavailable organization. */
2126
+ 404: {
2127
+ headers: {
2128
+ [name: string]: unknown;
2129
+ };
2130
+ content: {
2131
+ "application/json": {
2132
+ error: {
2133
+ /** @enum {string} */
2134
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2135
+ details: {
2136
+ /** @enum {string} */
2137
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2138
+ };
2139
+ message: string;
2140
+ requestId: string;
2141
+ };
2142
+ };
2143
+ };
2144
+ };
2145
+ /** @description Another move is unfinished. */
2146
+ 412: {
2147
+ headers: {
2148
+ [name: string]: unknown;
2149
+ };
2150
+ content: {
2151
+ "application/json": {
2152
+ error: {
2153
+ /** @enum {string} */
2154
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2155
+ details: {
2156
+ /** @enum {string} */
2157
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2158
+ };
2159
+ message: string;
2160
+ requestId: string;
2161
+ };
2162
+ };
2163
+ };
2164
+ };
2165
+ /** @description Unsupported query, header or body input. */
2166
+ 422: {
2167
+ headers: {
2168
+ [name: string]: unknown;
2169
+ };
2170
+ content: {
2171
+ "application/json": {
2172
+ error: {
2173
+ /** @enum {string} */
2174
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2175
+ details: {
2176
+ /** @enum {string} */
2177
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2178
+ };
2179
+ message: string;
2180
+ requestId: string;
2181
+ };
2182
+ };
2183
+ };
2184
+ };
2185
+ /** @description Identity authority or storage is unavailable, or the connected bucket is not healthy (`archive_connection_unavailable`). */
2186
+ 503: {
2187
+ headers: {
2188
+ [name: string]: unknown;
2189
+ };
2190
+ content: {
2191
+ "application/json": {
2192
+ error: {
2193
+ /** @enum {string} */
2194
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2195
+ details: {
2196
+ /** @enum {string} */
2197
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2198
+ };
2199
+ message: string;
2200
+ requestId: string;
2201
+ };
2202
+ };
2203
+ };
2204
+ };
2205
+ };
2206
+ };
2207
+ cancelArchiveMove: {
2208
+ parameters: {
2209
+ query?: never;
2210
+ header?: never;
2211
+ path?: never;
2212
+ cookie?: never;
2213
+ };
2214
+ requestBody?: never;
2215
+ responses: {
2216
+ /** @description The cancelled move. */
2217
+ 200: {
2218
+ headers: {
2219
+ [name: string]: unknown;
2220
+ };
2221
+ content: {
2222
+ "application/json": {
2223
+ move: {
2224
+ createdAt: number;
2225
+ failedBytes: number;
2226
+ failedVersions: number;
2227
+ finishedAt: number | null;
2228
+ lastError: string | null;
2229
+ /** Format: uuid */
2230
+ moveId: string;
2231
+ movedBytes: number;
2232
+ movedVersions: number;
2233
+ /** @enum {string|null} */
2234
+ pauseReason: "owner" | "connection_unavailable" | "bucket_unavailable" | null;
2235
+ pendingDeletions: number;
2236
+ skippedVersions: number;
2237
+ /** @enum {string} */
2238
+ state: "running" | "paused" | "cancelled" | "completed";
2239
+ totalBytes: number;
2240
+ totalVersions: number;
2241
+ updatedAt: number;
2242
+ } | null;
2243
+ };
2244
+ };
2245
+ };
2246
+ /** @description A valid Drive user credential is required. */
2247
+ 401: {
2248
+ headers: {
2249
+ [name: string]: unknown;
2250
+ };
2251
+ content: {
2252
+ "application/json": {
2253
+ error: {
2254
+ /** @enum {string} */
2255
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2256
+ details: {
2257
+ /** @enum {string} */
2258
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2259
+ };
2260
+ message: string;
2261
+ requestId: string;
2262
+ };
2263
+ };
2264
+ };
2265
+ };
2266
+ /** @description The caller is not an owner of the organization. */
2267
+ 403: {
2268
+ headers: {
2269
+ [name: string]: unknown;
2270
+ };
2271
+ content: {
2272
+ "application/json": {
2273
+ error: {
2274
+ /** @enum {string} */
2275
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2276
+ details: {
2277
+ /** @enum {string} */
2278
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2279
+ };
2280
+ message: string;
2281
+ requestId: string;
2282
+ };
2283
+ };
2284
+ };
2285
+ };
2286
+ /** @description The credential selects a personal workspace or an unavailable organization. */
2287
+ 404: {
2288
+ headers: {
2289
+ [name: string]: unknown;
2290
+ };
2291
+ content: {
2292
+ "application/json": {
2293
+ error: {
2294
+ /** @enum {string} */
2295
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2296
+ details: {
2297
+ /** @enum {string} */
2298
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2299
+ };
2300
+ message: string;
2301
+ requestId: string;
2302
+ };
2303
+ };
2304
+ };
2305
+ };
2306
+ /** @description The move is already finished or cancelled. */
2307
+ 412: {
2308
+ headers: {
2309
+ [name: string]: unknown;
2310
+ };
2311
+ content: {
2312
+ "application/json": {
2313
+ error: {
2314
+ /** @enum {string} */
2315
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2316
+ details: {
2317
+ /** @enum {string} */
2318
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2319
+ };
2320
+ message: string;
2321
+ requestId: string;
2322
+ };
2323
+ };
2324
+ };
2325
+ };
2326
+ /** @description Unsupported query, header or body input. */
2327
+ 422: {
2328
+ headers: {
2329
+ [name: string]: unknown;
2330
+ };
2331
+ content: {
2332
+ "application/json": {
2333
+ error: {
2334
+ /** @enum {string} */
2335
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2336
+ details: {
2337
+ /** @enum {string} */
2338
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2339
+ };
2340
+ message: string;
2341
+ requestId: string;
2342
+ };
2343
+ };
2344
+ };
2345
+ };
2346
+ /** @description Identity authority or storage is unavailable, or the connected bucket is not healthy (`archive_connection_unavailable`). */
2347
+ 503: {
2348
+ headers: {
2349
+ [name: string]: unknown;
2350
+ };
2351
+ content: {
2352
+ "application/json": {
2353
+ error: {
2354
+ /** @enum {string} */
2355
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2356
+ details: {
2357
+ /** @enum {string} */
2358
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2359
+ };
2360
+ message: string;
2361
+ requestId: string;
2362
+ };
2363
+ };
2364
+ };
2365
+ };
2366
+ };
2367
+ };
2368
+ pauseArchiveMove: {
2369
+ parameters: {
2370
+ query?: never;
2371
+ header?: never;
2372
+ path?: never;
2373
+ cookie?: never;
2374
+ };
2375
+ requestBody?: never;
2376
+ responses: {
2377
+ /** @description The paused move. */
2378
+ 200: {
2379
+ headers: {
2380
+ [name: string]: unknown;
2381
+ };
2382
+ content: {
2383
+ "application/json": {
2384
+ move: {
2385
+ createdAt: number;
2386
+ failedBytes: number;
2387
+ failedVersions: number;
2388
+ finishedAt: number | null;
2389
+ lastError: string | null;
2390
+ /** Format: uuid */
2391
+ moveId: string;
2392
+ movedBytes: number;
2393
+ movedVersions: number;
2394
+ /** @enum {string|null} */
2395
+ pauseReason: "owner" | "connection_unavailable" | "bucket_unavailable" | null;
2396
+ pendingDeletions: number;
2397
+ skippedVersions: number;
2398
+ /** @enum {string} */
2399
+ state: "running" | "paused" | "cancelled" | "completed";
2400
+ totalBytes: number;
2401
+ totalVersions: number;
2402
+ updatedAt: number;
2403
+ } | null;
2404
+ };
2405
+ };
2406
+ };
2407
+ /** @description A valid Drive user credential is required. */
2408
+ 401: {
2409
+ headers: {
2410
+ [name: string]: unknown;
2411
+ };
2412
+ content: {
2413
+ "application/json": {
2414
+ error: {
2415
+ /** @enum {string} */
2416
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2417
+ details: {
2418
+ /** @enum {string} */
2419
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2420
+ };
2421
+ message: string;
2422
+ requestId: string;
2423
+ };
2424
+ };
2425
+ };
2426
+ };
2427
+ /** @description The caller is not an owner of the organization. */
2428
+ 403: {
2429
+ headers: {
2430
+ [name: string]: unknown;
2431
+ };
2432
+ content: {
2433
+ "application/json": {
2434
+ error: {
2435
+ /** @enum {string} */
2436
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2437
+ details: {
2438
+ /** @enum {string} */
2439
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2440
+ };
2441
+ message: string;
2442
+ requestId: string;
2443
+ };
2444
+ };
2445
+ };
2446
+ };
2447
+ /** @description The credential selects a personal workspace or an unavailable organization. */
2448
+ 404: {
2449
+ headers: {
2450
+ [name: string]: unknown;
2451
+ };
2452
+ content: {
2453
+ "application/json": {
2454
+ error: {
2455
+ /** @enum {string} */
2456
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2457
+ details: {
2458
+ /** @enum {string} */
2459
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2460
+ };
2461
+ message: string;
2462
+ requestId: string;
2463
+ };
2464
+ };
2465
+ };
2466
+ };
2467
+ /** @description The move is not running. */
2468
+ 412: {
2469
+ headers: {
2470
+ [name: string]: unknown;
2471
+ };
2472
+ content: {
2473
+ "application/json": {
2474
+ error: {
2475
+ /** @enum {string} */
2476
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2477
+ details: {
2478
+ /** @enum {string} */
2479
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2480
+ };
2481
+ message: string;
2482
+ requestId: string;
2483
+ };
2484
+ };
2485
+ };
2486
+ };
2487
+ /** @description Unsupported query, header or body input. */
2488
+ 422: {
2489
+ headers: {
2490
+ [name: string]: unknown;
2491
+ };
2492
+ content: {
2493
+ "application/json": {
2494
+ error: {
2495
+ /** @enum {string} */
2496
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2497
+ details: {
2498
+ /** @enum {string} */
2499
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2500
+ };
2501
+ message: string;
2502
+ requestId: string;
2503
+ };
2504
+ };
2505
+ };
2506
+ };
2507
+ /** @description Identity authority or storage is unavailable, or the connected bucket is not healthy (`archive_connection_unavailable`). */
2508
+ 503: {
2509
+ headers: {
2510
+ [name: string]: unknown;
2511
+ };
2512
+ content: {
2513
+ "application/json": {
2514
+ error: {
2515
+ /** @enum {string} */
2516
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2517
+ details: {
2518
+ /** @enum {string} */
2519
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2520
+ };
2521
+ message: string;
2522
+ requestId: string;
2523
+ };
2524
+ };
2525
+ };
2526
+ };
2527
+ };
2528
+ };
2529
+ resumeArchiveMove: {
2530
+ parameters: {
2531
+ query?: never;
2532
+ header?: never;
2533
+ path?: never;
2534
+ cookie?: never;
2535
+ };
2536
+ requestBody?: never;
2537
+ responses: {
2538
+ /** @description The running move. */
2539
+ 200: {
2540
+ headers: {
2541
+ [name: string]: unknown;
2542
+ };
2543
+ content: {
2544
+ "application/json": {
2545
+ move: {
2546
+ createdAt: number;
2547
+ failedBytes: number;
2548
+ failedVersions: number;
2549
+ finishedAt: number | null;
2550
+ lastError: string | null;
2551
+ /** Format: uuid */
2552
+ moveId: string;
2553
+ movedBytes: number;
2554
+ movedVersions: number;
2555
+ /** @enum {string|null} */
2556
+ pauseReason: "owner" | "connection_unavailable" | "bucket_unavailable" | null;
2557
+ pendingDeletions: number;
2558
+ skippedVersions: number;
2559
+ /** @enum {string} */
2560
+ state: "running" | "paused" | "cancelled" | "completed";
2561
+ totalBytes: number;
2562
+ totalVersions: number;
2563
+ updatedAt: number;
2564
+ } | null;
2565
+ };
2566
+ };
2567
+ };
2568
+ /** @description A valid Drive user credential is required. */
2569
+ 401: {
2570
+ headers: {
2571
+ [name: string]: unknown;
2572
+ };
2573
+ content: {
2574
+ "application/json": {
2575
+ error: {
2576
+ /** @enum {string} */
2577
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2578
+ details: {
2579
+ /** @enum {string} */
2580
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2581
+ };
2582
+ message: string;
2583
+ requestId: string;
2584
+ };
2585
+ };
2586
+ };
2587
+ };
2588
+ /** @description The caller is not an owner of the organization. */
2589
+ 403: {
2590
+ headers: {
2591
+ [name: string]: unknown;
2592
+ };
2593
+ content: {
2594
+ "application/json": {
2595
+ error: {
2596
+ /** @enum {string} */
2597
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2598
+ details: {
2599
+ /** @enum {string} */
2600
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2601
+ };
2602
+ message: string;
2603
+ requestId: string;
2604
+ };
2605
+ };
2606
+ };
2607
+ };
2608
+ /** @description The credential selects a personal workspace or an unavailable organization. */
2609
+ 404: {
2610
+ headers: {
2611
+ [name: string]: unknown;
2612
+ };
2613
+ content: {
2614
+ "application/json": {
2615
+ error: {
2616
+ /** @enum {string} */
2617
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2618
+ details: {
2619
+ /** @enum {string} */
2620
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2621
+ };
2622
+ message: string;
2623
+ requestId: string;
2624
+ };
2625
+ };
2626
+ };
2627
+ };
2628
+ /** @description The move is finished or cancelled. */
2629
+ 412: {
2630
+ headers: {
2631
+ [name: string]: unknown;
2632
+ };
2633
+ content: {
2634
+ "application/json": {
2635
+ error: {
2636
+ /** @enum {string} */
2637
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2638
+ details: {
2639
+ /** @enum {string} */
2640
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2641
+ };
2642
+ message: string;
2643
+ requestId: string;
2644
+ };
2645
+ };
2646
+ };
2647
+ };
2648
+ /** @description Unsupported query, header or body input. */
2649
+ 422: {
2650
+ headers: {
2651
+ [name: string]: unknown;
2652
+ };
2653
+ content: {
2654
+ "application/json": {
2655
+ error: {
2656
+ /** @enum {string} */
2657
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2658
+ details: {
2659
+ /** @enum {string} */
2660
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2661
+ };
2662
+ message: string;
2663
+ requestId: string;
2664
+ };
2665
+ };
2666
+ };
2667
+ };
2668
+ /** @description Identity authority or storage is unavailable, or the connected bucket is not healthy (`archive_connection_unavailable`). */
2669
+ 503: {
2670
+ headers: {
2671
+ [name: string]: unknown;
2672
+ };
2673
+ content: {
2674
+ "application/json": {
2675
+ error: {
2676
+ /** @enum {string} */
2677
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2678
+ details: {
2679
+ /** @enum {string} */
2680
+ reason?: "archive_connection_unavailable" | "archive_move_in_progress";
2681
+ };
2682
+ message: string;
2683
+ requestId: string;
2684
+ };
2685
+ };
2686
+ };
2687
+ };
2688
+ };
2689
+ };
2690
+ recheckArchiveConnection: {
2691
+ parameters: {
2692
+ query?: never;
2693
+ header?: never;
2694
+ path?: never;
2695
+ cookie?: never;
2696
+ };
2697
+ requestBody?: never;
2698
+ responses: {
2699
+ /** @description The connection with its new status and report. */
2700
+ 200: {
2701
+ headers: {
2702
+ /** @description Connection revision for If-Match. */
2703
+ ETag?: string;
2704
+ [name: string]: unknown;
2705
+ };
2706
+ content: {
2707
+ "application/json": {
2708
+ connection: {
2709
+ accessKeyHint: string;
2710
+ /** @enum {string} */
2711
+ addressingMode: "path" | "virtual-hosted";
2712
+ bucket: string;
2713
+ checkedAt: number;
2714
+ /** Format: uuid */
2715
+ connectionId: string;
2716
+ createdAt: number;
2717
+ endpoint: string;
2718
+ hasCloudflareApiToken: boolean;
2719
+ prefix: string;
2720
+ profile: {
2721
+ conditionalCreate: boolean;
2722
+ cors: boolean;
2723
+ /** @enum {string} */
2724
+ lifecycleRead: "s3" | "cloudflare-api" | "none";
2725
+ quirks: ("md5-with-sha256-rejected" | "single-region-only")[];
2726
+ responseOverrides: boolean;
2727
+ sha256Composite?: boolean;
2728
+ sha256FullObject: boolean;
2729
+ sseC: boolean;
2730
+ /** @enum {number} */
2731
+ version: 1;
2732
+ };
2733
+ /** @enum {string} */
2734
+ provider: "s3" | "r2";
2735
+ region: string;
2736
+ report: {
2737
+ bindable: boolean;
2738
+ checkedAt: number;
2739
+ checks: {
2740
+ detail?: string;
2741
+ explanation: string;
2742
+ /** @enum {string} */
2743
+ id: "access" | "write" | "read" | "range" | "if-match" | "empty-object" | "multipart" | "conditional-create" | "sha256" | "sse-c" | "response-overrides" | "cors" | "lifecycle" | "cleanup";
2744
+ /** @enum {string} */
2745
+ outcome: "pass" | "fail" | "skipped";
2746
+ required: boolean;
2747
+ }[];
2748
+ profile: {
2749
+ conditionalCreate: boolean;
2750
+ cors: boolean;
2751
+ /** @enum {string} */
2752
+ lifecycleRead: "s3" | "cloudflare-api" | "none";
2753
+ quirks: ("md5-with-sha256-rejected" | "single-region-only")[];
2754
+ responseOverrides: boolean;
2755
+ sha256Composite?: boolean;
2756
+ sha256FullObject: boolean;
2757
+ sseC: boolean;
2758
+ /** @enum {number} */
2759
+ version: 1;
2760
+ } & unknown;
2761
+ /** @enum {number} */
2762
+ version: 1;
2763
+ };
2764
+ revision: number;
2765
+ /** @enum {string} */
2766
+ status: "healthy" | "degraded" | "failing";
2767
+ updatedAt: number;
2768
+ } | null;
2769
+ };
2770
+ };
2771
+ };
2772
+ /** @description A valid Drive user credential is required. */
2773
+ 401: {
2774
+ headers: {
2775
+ [name: string]: unknown;
2776
+ };
2777
+ content: {
2778
+ "application/json": {
2779
+ error: {
2780
+ /** @enum {string} */
2781
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2782
+ details: Record<string, never>;
2783
+ message: string;
2784
+ requestId: string;
2785
+ };
2786
+ };
2787
+ };
2788
+ };
2789
+ /** @description The caller is not an owner of the organization. */
2790
+ 403: {
2791
+ headers: {
2792
+ [name: string]: unknown;
2793
+ };
2794
+ content: {
2795
+ "application/json": {
2796
+ error: {
2797
+ /** @enum {string} */
2798
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2799
+ details: Record<string, never>;
2800
+ message: string;
2801
+ requestId: string;
2802
+ };
2803
+ };
2804
+ };
2805
+ };
2806
+ /** @description The credential selects a personal workspace or an unavailable organization. */
2807
+ 404: {
2808
+ headers: {
2809
+ [name: string]: unknown;
2810
+ };
2811
+ content: {
2812
+ "application/json": {
2813
+ error: {
2814
+ /** @enum {string} */
2815
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2816
+ details: Record<string, never>;
2817
+ message: string;
2818
+ requestId: string;
2819
+ };
2820
+ };
2821
+ };
2822
+ };
2823
+ /** @description The connection changed during the check. */
2824
+ 412: {
2825
+ headers: {
2826
+ [name: string]: unknown;
2827
+ };
2828
+ content: {
2829
+ "application/json": {
2830
+ error: {
2831
+ /** @enum {string} */
2832
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2833
+ details: Record<string, never>;
2834
+ message: string;
2835
+ requestId: string;
2836
+ };
2837
+ };
2838
+ };
2839
+ };
2840
+ /** @description Unsupported query, header or body input. */
2841
+ 422: {
2842
+ headers: {
2843
+ [name: string]: unknown;
2844
+ };
2845
+ content: {
2846
+ "application/json": {
2847
+ error: {
2848
+ /** @enum {string} */
2849
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2850
+ details: Record<string, never>;
2851
+ message: string;
2852
+ requestId: string;
2853
+ };
2854
+ };
2855
+ };
2856
+ };
2857
+ /** @description Identity authority, storage or connection keys are unavailable. */
2858
+ 503: {
2859
+ headers: {
2860
+ [name: string]: unknown;
2861
+ };
2862
+ content: {
2863
+ "application/json": {
2864
+ error: {
2865
+ /** @enum {string} */
2866
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2867
+ details: Record<string, never>;
2868
+ message: string;
2869
+ requestId: string;
2870
+ };
2871
+ };
2872
+ };
2873
+ };
2874
+ };
2875
+ };
2876
+ testArchiveConnection: {
2877
+ parameters: {
2878
+ query?: never;
2879
+ header?: never;
2880
+ path?: never;
2881
+ cookie?: never;
2882
+ };
2883
+ requestBody: {
2884
+ content: {
2885
+ "application/json": {
2886
+ accessKeyId: string;
2887
+ /** @enum {string} */
2888
+ addressingMode: "path" | "virtual-hosted";
2889
+ bucket: string;
2890
+ cloudflareApiToken?: string;
2891
+ endpoint: string;
2892
+ prefix: string;
2893
+ /** @enum {string} */
2894
+ provider: "s3" | "r2";
2895
+ region: string;
2896
+ secretAccessKey: string;
2897
+ };
2898
+ };
2899
+ };
2900
+ responses: {
2901
+ /** @description Field errors, or the probe report. */
2902
+ 200: {
2903
+ headers: {
2904
+ [name: string]: unknown;
2905
+ };
2906
+ content: {
2907
+ "application/json": {
2908
+ errors: {
2909
+ /** @enum {string} */
2910
+ field: "provider" | "endpoint" | "region" | "bucket" | "prefix" | "addressingMode" | "accessKeyId" | "secretAccessKey" | "cloudflareApiToken";
2911
+ reason: string;
2912
+ }[];
2913
+ report: {
2914
+ bindable: boolean;
2915
+ checkedAt: number;
2916
+ checks: {
2917
+ detail?: string;
2918
+ explanation: string;
2919
+ /** @enum {string} */
2920
+ id: "access" | "write" | "read" | "range" | "if-match" | "empty-object" | "multipart" | "conditional-create" | "sha256" | "sse-c" | "response-overrides" | "cors" | "lifecycle" | "cleanup";
2921
+ /** @enum {string} */
2922
+ outcome: "pass" | "fail" | "skipped";
2923
+ required: boolean;
2924
+ }[];
2925
+ profile: {
2926
+ conditionalCreate: boolean;
2927
+ cors: boolean;
2928
+ /** @enum {string} */
2929
+ lifecycleRead: "s3" | "cloudflare-api" | "none";
2930
+ quirks: ("md5-with-sha256-rejected" | "single-region-only")[];
2931
+ responseOverrides: boolean;
2932
+ sha256Composite?: boolean;
2933
+ sha256FullObject: boolean;
2934
+ sseC: boolean;
2935
+ /** @enum {number} */
2936
+ version: 1;
2937
+ } & unknown;
2938
+ /** @enum {number} */
2939
+ version: 1;
2940
+ } & unknown;
2941
+ };
2942
+ };
2943
+ };
2944
+ /** @description A valid Drive user credential is required. */
2945
+ 401: {
2946
+ headers: {
2947
+ [name: string]: unknown;
2948
+ };
2949
+ content: {
2950
+ "application/json": {
2951
+ error: {
2952
+ /** @enum {string} */
2953
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2954
+ details: Record<string, never>;
2955
+ message: string;
2956
+ requestId: string;
2957
+ };
2958
+ };
2959
+ };
2960
+ };
2961
+ /** @description The caller is not an owner of the organization. */
2962
+ 403: {
2963
+ headers: {
2964
+ [name: string]: unknown;
2965
+ };
2966
+ content: {
2967
+ "application/json": {
2968
+ error: {
2969
+ /** @enum {string} */
2970
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2971
+ details: Record<string, never>;
2972
+ message: string;
2973
+ requestId: string;
2974
+ };
2975
+ };
2976
+ };
2977
+ };
2978
+ /** @description The credential selects a personal workspace or an unavailable organization. */
2979
+ 404: {
2980
+ headers: {
2981
+ [name: string]: unknown;
2982
+ };
2983
+ content: {
2984
+ "application/json": {
2985
+ error: {
2986
+ /** @enum {string} */
2987
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
2988
+ details: Record<string, never>;
2989
+ message: string;
2990
+ requestId: string;
2991
+ };
2992
+ };
2993
+ };
2994
+ };
2995
+ /** @description Unsupported query, header or body input. */
2996
+ 422: {
2997
+ headers: {
2998
+ [name: string]: unknown;
2999
+ };
3000
+ content: {
3001
+ "application/json": {
3002
+ error: {
3003
+ /** @enum {string} */
3004
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
3005
+ details: Record<string, never>;
3006
+ message: string;
3007
+ requestId: string;
3008
+ };
3009
+ };
3010
+ };
3011
+ };
3012
+ /** @description Identity authority, storage or connection keys are unavailable. */
3013
+ 503: {
3014
+ headers: {
3015
+ [name: string]: unknown;
3016
+ };
3017
+ content: {
3018
+ "application/json": {
3019
+ error: {
3020
+ /** @enum {string} */
3021
+ code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "precondition_failed" | "service_unavailable";
3022
+ details: Record<string, never>;
3023
+ message: string;
3024
+ requestId: string;
3025
+ };
3026
+ };
3027
+ };
3028
+ };
3029
+ };
3030
+ };
1345
3031
  getWorkspaceLinkPolicy: {
1346
3032
  parameters: {
1347
3033
  query?: never;
@@ -9834,6 +11520,81 @@ interface UpdateWorkspaceLinkPolicyInput {
9834
11520
  readonly ifMatch: string;
9835
11521
  readonly signal?: AbortSignal;
9836
11522
  }
11523
+ type ArchiveConnectionReadBody = JsonResponse<"getArchiveConnection", 200>;
11524
+ type GeneratedArchiveConnection = NonNullable<ArchiveConnectionReadBody["connection"]>;
11525
+ type GeneratedArchiveProbeReport = NonNullable<JsonResponse<"testArchiveConnection", 200>["report"]>;
11526
+ /** What the bucket supports, fixed when it was connected. */
11527
+ type ArchiveCapabilityProfile = Readonly<GeneratedArchiveConnection["profile"]>;
11528
+ /**
11529
+ * One probe run: a checklist with a plain explanation per check. `profile` is null while a required check fails,
11530
+ * and `bindable` is true only when every check passes.
11531
+ */
11532
+ type ArchiveProbeReport = Readonly<Omit<GeneratedArchiveProbeReport, "profile"> & {
11533
+ profile: ArchiveCapabilityProfile | null;
11534
+ }>;
11535
+ /** The organization workspace's own archive bucket. Credentials are never returned; only a four-character key hint. */
11536
+ type ArchiveConnection = Readonly<Omit<GeneratedArchiveConnection, "report"> & {
11537
+ report: ArchiveProbeReport;
11538
+ }>;
11539
+ /** The current connection, or null while the workspace uses Finueva's managed archive. Organization owners only. */
11540
+ type ArchiveConnectionRead = Readonly<{
11541
+ connection: ArchiveConnection | null;
11542
+ }>;
11543
+ interface ArchiveMove {
11544
+ readonly moveId: string;
11545
+ readonly state: "running" | "paused" | "cancelled" | "completed";
11546
+ readonly pauseReason: "owner" | "connection_unavailable" | "bucket_unavailable" | null;
11547
+ readonly lastError: string | null;
11548
+ readonly totalVersions: number;
11549
+ readonly totalBytes: number;
11550
+ readonly movedVersions: number;
11551
+ readonly movedBytes: number;
11552
+ readonly failedVersions: number;
11553
+ readonly failedBytes: number;
11554
+ readonly skippedVersions: number;
11555
+ readonly pendingDeletions: number;
11556
+ readonly createdAt: number;
11557
+ readonly updatedAt: number;
11558
+ readonly finishedAt: number | null;
11559
+ }
11560
+ type ArchiveMoveRead = Readonly<{
11561
+ move: ArchiveMove | null;
11562
+ }>;
11563
+ /** Field errors (and no report) for an invalid form, or the probe report (and no errors). Nothing is stored. */
11564
+ type ArchiveConnectionTest = Readonly<Omit<JsonResponse<"testArchiveConnection", 200>, "report"> & {
11565
+ report: ArchiveProbeReport | null;
11566
+ }>;
11567
+ /** The connect form. Secrets are sent to Drive only; the SDK never logs or echoes them. */
11568
+ interface ArchiveConnectionInput {
11569
+ readonly provider: "s3" | "r2";
11570
+ /** The provider's HTTPS S3 endpoint origin. R2 uses `https://<account id>.r2.cloudflarestorage.com`. */
11571
+ readonly endpoint: string;
11572
+ readonly region: string;
11573
+ readonly bucket: string;
11574
+ readonly prefix: string;
11575
+ readonly addressingMode: "path" | "virtual-hosted";
11576
+ readonly accessKeyId: string;
11577
+ readonly secretAccessKey: string;
11578
+ /** Required for R2 (lifecycle read); not allowed for other providers. */
11579
+ readonly cloudflareApiToken?: string;
11580
+ readonly signal?: AbortSignal;
11581
+ }
11582
+ /**
11583
+ * Connects a bucket (`create: true`, sent as `If-None-Match: *`) or replaces the keys of the connected bucket at
11584
+ * the same location (`ifMatch`, the `validators.etag` of the current connection). Exactly one is required.
11585
+ */
11586
+ type SaveArchiveConnectionInput = ArchiveConnectionInput & ({
11587
+ readonly create: true;
11588
+ readonly ifMatch?: never;
11589
+ } | {
11590
+ readonly ifMatch: string;
11591
+ readonly create?: never;
11592
+ });
11593
+ interface DeleteArchiveConnectionInput {
11594
+ /** The `validators.etag` of the connection to disconnect. */
11595
+ readonly ifMatch: string;
11596
+ readonly signal?: AbortSignal;
11597
+ }
9837
11598
  /**
9838
11599
  * One organization file's general access. `viewer` or `editor` lets every current member of the organization
9839
11600
  * open the exact file under their own credential; it never lists the file for them or lets them reshare it.
@@ -10132,6 +11893,21 @@ interface DriveOperations {
10132
11893
  getWorkspaceLinkPolicy(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<WorkspaceLinkPolicy, 200>>;
10133
11894
  /** Present from SDK 0.32. Organization owners and admins only. */
10134
11895
  updateWorkspaceLinkPolicy(input: UpdateWorkspaceLinkPolicyInput): Promise<DriveOperationResult<WorkspaceLinkPolicy, 200>>;
11896
+ /** Present from SDK 0.33. Organization owners only. */
11897
+ getArchiveConnection(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<ArchiveConnectionRead, 200>>;
11898
+ getArchiveMove(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<ArchiveMoveRead, 200>>;
11899
+ startArchiveMove(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<ArchiveMoveRead, 200>>;
11900
+ pauseArchiveMove(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<ArchiveMoveRead, 200>>;
11901
+ resumeArchiveMove(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<ArchiveMoveRead, 200>>;
11902
+ cancelArchiveMove(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<ArchiveMoveRead, 200>>;
11903
+ /** Present from SDK 0.33. Probes the bucket without saving anything. Organization owners only. */
11904
+ testArchiveConnection(input: ArchiveConnectionInput): Promise<DriveOperationResult<ArchiveConnectionTest, 200>>;
11905
+ /** Present from SDK 0.33. Re-probes, then connects a bucket or replaces its keys. Organization owners only. */
11906
+ saveArchiveConnection(input: SaveArchiveConnectionInput): Promise<DriveOperationResult<ArchiveConnectionRead, 200>>;
11907
+ /** Present from SDK 0.33. Probes the connected bucket again with its stored keys. Organization owners only. */
11908
+ recheckArchiveConnection(input?: GetCurrentWorkspaceInput): Promise<DriveOperationResult<ArchiveConnectionRead, 200>>;
11909
+ /** Present from SDK 0.33. Erases the stored keys; nothing in the bucket is deleted. Organization owners only. */
11910
+ deleteArchiveConnection(input: DeleteArchiveConnectionInput): Promise<DriveOperationResult<ArchiveConnectionRead, 200>>;
10135
11911
  /** Present from SDK 0.32. Organization files only. */
10136
11912
  getItemGeneralAccess(input: GetItemGeneralAccessInput): Promise<DriveOperationResult<ItemGeneralAccess, 200>>;
10137
11913
  /** Present from SDK 0.32. The file's manager or owner only. */
@@ -10224,4 +12000,4 @@ interface DriveClient extends DriveOperations, VerifiedTransferOperations {
10224
12000
  uploadVerifiedFile(input: UploadVerifiedFileInput): Promise<DriveOperationResult<PublishedVerifiedTransfer, 200>>;
10225
12001
  }
10226
12002
  //#endregion
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 };
12003
+ export { GetCurrentWorkspaceInput as $, RenditionDescriptorBatch as $t, DriveClientConfig as A, VisitorReadInput as An, ManagedItemVersionResource as At, DriveServerClientConfig as B, WorkspaceSharingPolicy as Bn, PermissionMutation as Bt, CurrentUserWorkspaceUsage as C, VisitorChildrenInput as Cn, ListOwnedItemsInput as Ct, DeleteItemInput as D, VisitorGrantCreation as Dn, ManagedItemMetadata as Dt, DeleteArchiveConnectionInput as E, VisitorGrant as En, ManagedDownloadRestorePending as Et, DriveEditingServerClient as F, WorkspaceDiscoveryItem as Fn, OwnedItem as Ft, EditingSessionCreation as G, PublishVerifiedTransferInput as Gt, DriveVisitorClient as H, operations as Hn, PrepareVerifiedTransferInput as Ht, DriveOperationResult as I, WorkspaceDiscoveryPage as In, OwnedItemPage as It, FileAccessContext as J, RecoverVerifiedTransferInput as Jt, EffectivePermissionAction as K, PublishedVerifiedTransfer as Kt, DriveOperations as L, WorkspaceItemSearchItem as Ln, PermissionAction as Lt, DriveCredentialProvider as M, WorkspaceCount as Mn, ManagedLifecycleItem as Mt, DriveEditingClient as N, WorkspaceCounts as Nn, OrganizationMemberStorageUsage as Nt, DownloadItemResult as O, VisitorGrantPage as On, ManagedItemVersion as Ot, DriveEditingClientConfig as P, WorkspaceCountsInput as Pn, OrganizationMemberStorageUsageInput as Pt, FolderPage as Q, RenditionDescriptor as Qt, DriveResponseValidators as R, WorkspaceItemSearchPage as Rn, PermissionGrant as Rt, CreateVisitorGrantInput as S, VisitorChildren as Sn, ListItemVersionsInput as St, CurrentWorkspaceSources as T, VisitorEditingSession as Tn, ManagedDownloadDescriptor as Tt, DriveVisitorClientConfig as U, PreparedVerifiedTransfer as Ut, DriveUploadConfig as V, WorkspaceUsage as Vn, PermissionPage as Vt, EditingSession as W, ProtectionClassification as Wt, FolderListInclude as X, RegisterItemRecipientsInput as Xt, FolderItem as Y, RegisterItemRecipientInput as Yt, FolderListedItem as Z, RegisteredRecipientDisplay as Zt, CreateFolderInput as _, UploadFileProgressCallback as _n, ListFolderChildrenInput as _t, ArchiveConnectionRead as a, SearchWorkspaceItemsInput as an, IncomingItemMetadata as at, CreateRenditionDescriptorsInput as b, UploadVerifiedFileInput as bn, ListItemPermissionsInput as bt, ArchiveMove as c, TrashItemInput as cn, IncomingSharePage as ct, ArchivedItem as d, UpdateItemInput as dn, ItemOwnershipTransfer as dt, RestoreItemInput as en, GetItemGeneralAccessInput as et, ChangeEditingSessionInput as f, UpdateItemPermissionInput as fn, ItemRecipientBatchEntry as ft, CreateEditingSessionInput as g, UploadFileProgress as gn, ListFavoriteItemsInput as gt, CreateDownloadInput as h, UploadFilePhase as hn, ItemSharingPeoplePage as ht, ArchiveConnectionInput as i, SaveArchiveConnectionInput as in, GetWorkspaceUsageInput as it, DriveCredentialContext as j, VisitorSession as jn, ManagedItemVersionRestoreResult as jt, DriveClient as k, VisitorItem as kn, ManagedItemVersionPage as kt, ArchiveMoveRead as l, UnstarItemInput as ln, ItemFavorite as lt, CollectedOwnedItems as m, UpdateWorkspaceSharingPolicyInput as mn, ItemSharingBatchResult as mt, ArchiveCapabilityProfile as n, RevokeItemPermissionInput as nn, GetItemVersionInput as nt, ArchiveConnectionTest as o, StarItemInput as on, IncomingItemPage as ot, CollectOwnedItemsInput as p, UpdateWorkspaceLinkPolicyInput as pn, ItemSharingBatch as pt, EffectivePermissionResponse as q, ReadEffectiveItemPermissionsInput as qt, ArchiveConnection as r, RevokeVisitorGrantInput as rn, GetVisitorGrantInput as rt, ArchiveItemInput as s, TransferItemOwnershipInput as sn, IncomingShareContext as st, AdmittedVerifiedTransfer as t, RestoreItemVersionInput as tn, GetItemInput as tt, ArchiveProbeReport as u, UpdateItemGeneralAccessInput as un, ItemGeneralAccess as ut, CreateItemPermissionInput as v, UploadFileStage as vn, ListIncomingItemsInput as vt, CurrentWorkspace as w, VisitorDownloadInput as wn, ListWorkspaceItemsInput as wt, CreateVisitorEditingSessionInput as x, VerifiedTransferOperations as xn, ListItemSharingPeopleInput as xt, CreateRenditionDescriptorInput as y, UploadSmallVerifiedFileInput as yn, ListIncomingSharesInput as yt, DriveServerClient as z, WorkspaceLinkPolicy as zn, PermissionGrantee as zt };