@wix/auto_sdk_media_files 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/media-site-media-v1-file-descriptor-files.context.d.ts +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor-files.meta.d.ts +14 -14
- package/build/cjs/src/media-site-media-v1-file-descriptor-files.meta.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor-files.public.d.ts +16 -16
- package/build/cjs/src/media-site-media-v1-file-descriptor-files.public.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor-files.types.d.ts +0 -161
- package/build/cjs/src/media-site-media-v1-file-descriptor-files.universal.d.ts +30 -181
- package/build/cjs/src/media-site-media-v1-file-descriptor-files.universal.js +0 -32
- package/build/cjs/src/media-site-media-v1-file-descriptor-files.universal.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor-files.context.d.ts +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor-files.meta.d.ts +14 -14
- package/build/es/src/media-site-media-v1-file-descriptor-files.meta.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor-files.public.d.ts +16 -16
- package/build/es/src/media-site-media-v1-file-descriptor-files.public.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor-files.types.d.ts +0 -161
- package/build/es/src/media-site-media-v1-file-descriptor-files.universal.d.ts +30 -181
- package/build/es/src/media-site-media-v1-file-descriptor-files.universal.js +0 -32
- package/build/es/src/media-site-media-v1-file-descriptor-files.universal.js.map +1 -1
- package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.context.d.ts +1 -1
- package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.meta.d.ts +14 -14
- package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.meta.js.map +1 -1
- package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.public.d.ts +16 -16
- package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.public.js.map +1 -1
- package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.types.d.ts +0 -161
- package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.universal.d.ts +30 -181
- package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.universal.js +0 -32
- package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.universal.js.map +1 -1
- package/build/internal/es/src/media-site-media-v1-file-descriptor-files.context.d.ts +1 -1
- package/build/internal/es/src/media-site-media-v1-file-descriptor-files.meta.d.ts +14 -14
- package/build/internal/es/src/media-site-media-v1-file-descriptor-files.meta.js.map +1 -1
- package/build/internal/es/src/media-site-media-v1-file-descriptor-files.public.d.ts +16 -16
- package/build/internal/es/src/media-site-media-v1-file-descriptor-files.public.js.map +1 -1
- package/build/internal/es/src/media-site-media-v1-file-descriptor-files.types.d.ts +0 -161
- package/build/internal/es/src/media-site-media-v1-file-descriptor-files.universal.d.ts +30 -181
- package/build/internal/es/src/media-site-media-v1-file-descriptor-files.universal.js +0 -32
- package/build/internal/es/src/media-site-media-v1-file-descriptor-files.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
export interface FileDescriptor {
|
|
2
3
|
/**
|
|
3
4
|
* File ID. Generated when a file is uploaded to the Media Manager.
|
|
@@ -1451,133 +1452,6 @@ export interface UpdateFileResponse {
|
|
|
1451
1452
|
/** Information about the updated file. */
|
|
1452
1453
|
file?: FileDescriptor;
|
|
1453
1454
|
}
|
|
1454
|
-
export interface GenerateFilesDownloadUrlResponseNonNullableFields {
|
|
1455
|
-
downloadUrl: string;
|
|
1456
|
-
}
|
|
1457
|
-
interface DownloadUrlNonNullableFields {
|
|
1458
|
-
url: string;
|
|
1459
|
-
assetKey: string;
|
|
1460
|
-
}
|
|
1461
|
-
export interface GenerateFileDownloadUrlResponseNonNullableFields {
|
|
1462
|
-
downloadUrls: DownloadUrlNonNullableFields[];
|
|
1463
|
-
}
|
|
1464
|
-
interface FaceRecognitionNonNullableFields {
|
|
1465
|
-
confidence: number;
|
|
1466
|
-
x: number;
|
|
1467
|
-
y: number;
|
|
1468
|
-
height: number;
|
|
1469
|
-
width: number;
|
|
1470
|
-
}
|
|
1471
|
-
interface ImageMediaNonNullableFields {
|
|
1472
|
-
image: string;
|
|
1473
|
-
faces: FaceRecognitionNonNullableFields[];
|
|
1474
|
-
previewImage: string;
|
|
1475
|
-
}
|
|
1476
|
-
interface AudioV2NonNullableFields {
|
|
1477
|
-
_id: string;
|
|
1478
|
-
assets: string[];
|
|
1479
|
-
}
|
|
1480
|
-
interface ArchiveNonNullableFields {
|
|
1481
|
-
_id: string;
|
|
1482
|
-
url: string;
|
|
1483
|
-
}
|
|
1484
|
-
interface Model3DNonNullableFields {
|
|
1485
|
-
_id: string;
|
|
1486
|
-
url: string;
|
|
1487
|
-
thumbnail: string;
|
|
1488
|
-
}
|
|
1489
|
-
interface OtherMediaNonNullableFields {
|
|
1490
|
-
_id: string;
|
|
1491
|
-
url: string;
|
|
1492
|
-
}
|
|
1493
|
-
interface FileMediaNonNullableFields {
|
|
1494
|
-
image?: ImageMediaNonNullableFields;
|
|
1495
|
-
video: string;
|
|
1496
|
-
audio?: AudioV2NonNullableFields;
|
|
1497
|
-
document: string;
|
|
1498
|
-
vector?: ImageMediaNonNullableFields;
|
|
1499
|
-
archive?: ArchiveNonNullableFields;
|
|
1500
|
-
model3d?: Model3DNonNullableFields;
|
|
1501
|
-
other?: OtherMediaNonNullableFields;
|
|
1502
|
-
icon?: ImageMediaNonNullableFields;
|
|
1503
|
-
flash?: OtherMediaNonNullableFields;
|
|
1504
|
-
}
|
|
1505
|
-
interface IdentityInfoNonNullableFields {
|
|
1506
|
-
identityType: IdentityType;
|
|
1507
|
-
}
|
|
1508
|
-
export interface FileDescriptorNonNullableFields {
|
|
1509
|
-
_id: string;
|
|
1510
|
-
displayName: string;
|
|
1511
|
-
url: string;
|
|
1512
|
-
hash: string;
|
|
1513
|
-
private: boolean;
|
|
1514
|
-
mediaType: MediaType;
|
|
1515
|
-
media?: FileMediaNonNullableFields;
|
|
1516
|
-
operationStatus: OperationStatus;
|
|
1517
|
-
labels: string[];
|
|
1518
|
-
siteId: string;
|
|
1519
|
-
state: State;
|
|
1520
|
-
internalTags: string[];
|
|
1521
|
-
namespace: Namespace;
|
|
1522
|
-
addedBy?: IdentityInfoNonNullableFields;
|
|
1523
|
-
}
|
|
1524
|
-
export interface GetFileDescriptorResponseNonNullableFields {
|
|
1525
|
-
file?: FileDescriptorNonNullableFields;
|
|
1526
|
-
}
|
|
1527
|
-
export interface GetFileDescriptorsResponseNonNullableFields {
|
|
1528
|
-
files: FileDescriptorNonNullableFields[];
|
|
1529
|
-
}
|
|
1530
|
-
export interface UpdateFileDescriptorResponseNonNullableFields {
|
|
1531
|
-
file?: FileDescriptorNonNullableFields;
|
|
1532
|
-
}
|
|
1533
|
-
export interface GenerateFileUploadUrlResponseNonNullableFields {
|
|
1534
|
-
uploadUrl: string;
|
|
1535
|
-
}
|
|
1536
|
-
export interface GenerateFileResumableUploadUrlResponseNonNullableFields {
|
|
1537
|
-
uploadProtocol: UploadProtocol;
|
|
1538
|
-
uploadUrl: string;
|
|
1539
|
-
uploadToken: string;
|
|
1540
|
-
}
|
|
1541
|
-
export interface ImportFileResponseNonNullableFields {
|
|
1542
|
-
file?: FileDescriptorNonNullableFields;
|
|
1543
|
-
}
|
|
1544
|
-
export interface BulkImportFilesResponseNonNullableFields {
|
|
1545
|
-
files: FileDescriptorNonNullableFields[];
|
|
1546
|
-
}
|
|
1547
|
-
interface ApplicationErrorNonNullableFields {
|
|
1548
|
-
code: string;
|
|
1549
|
-
description: string;
|
|
1550
|
-
}
|
|
1551
|
-
interface ItemMetadataNonNullableFields {
|
|
1552
|
-
originalIndex: number;
|
|
1553
|
-
success: boolean;
|
|
1554
|
-
error?: ApplicationErrorNonNullableFields;
|
|
1555
|
-
}
|
|
1556
|
-
interface BulkImportFileResultNonNullableFields {
|
|
1557
|
-
itemMetadata?: ItemMetadataNonNullableFields;
|
|
1558
|
-
item?: FileDescriptorNonNullableFields;
|
|
1559
|
-
}
|
|
1560
|
-
interface BulkActionMetadataNonNullableFields {
|
|
1561
|
-
totalSuccesses: number;
|
|
1562
|
-
totalFailures: number;
|
|
1563
|
-
undetailedFailures: number;
|
|
1564
|
-
}
|
|
1565
|
-
export interface BulkImportFileResponseNonNullableFields {
|
|
1566
|
-
results: BulkImportFileResultNonNullableFields[];
|
|
1567
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
1568
|
-
}
|
|
1569
|
-
export interface ListFilesResponseNonNullableFields {
|
|
1570
|
-
files: FileDescriptorNonNullableFields[];
|
|
1571
|
-
}
|
|
1572
|
-
export interface SearchFilesResponseNonNullableFields {
|
|
1573
|
-
files: FileDescriptorNonNullableFields[];
|
|
1574
|
-
}
|
|
1575
|
-
export interface GenerateVideoStreamingUrlResponseNonNullableFields {
|
|
1576
|
-
downloadUrl?: DownloadUrlNonNullableFields;
|
|
1577
|
-
}
|
|
1578
|
-
export interface ListDeletedFilesResponseNonNullableFields {
|
|
1579
|
-
files: FileDescriptorNonNullableFields[];
|
|
1580
|
-
}
|
|
1581
1455
|
export interface BaseEventMetadata {
|
|
1582
1456
|
/**
|
|
1583
1457
|
* App instance ID.
|
|
@@ -1655,8 +1529,6 @@ export interface FileDescriptorDeletedEnvelope {
|
|
|
1655
1529
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1656
1530
|
* @permissionScope Set Up Automations
|
|
1657
1531
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1658
|
-
* @permissionScope Picasso private app mega scope
|
|
1659
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1660
1532
|
* @permissionId MEDIA.SITE_MEDIA_FILES_READ
|
|
1661
1533
|
* @webhook
|
|
1662
1534
|
* @eventType wix.media.site_media.v1.file_descriptor_deleted
|
|
@@ -1688,8 +1560,6 @@ export interface FileDescriptorFileFailedEnvelope {
|
|
|
1688
1560
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1689
1561
|
* @permissionScope Set Up Automations
|
|
1690
1562
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1691
|
-
* @permissionScope Picasso private app mega scope
|
|
1692
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1693
1563
|
* @permissionId MEDIA.SITE_MEDIA_FILES_READ
|
|
1694
1564
|
* @webhook
|
|
1695
1565
|
* @eventType wix.media.site_media.v1.file_descriptor_file_failed
|
|
@@ -1723,8 +1593,6 @@ export interface FileDescriptorFileReadyEnvelope {
|
|
|
1723
1593
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1724
1594
|
* @permissionScope Set Up Automations
|
|
1725
1595
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1726
|
-
* @permissionScope Picasso private app mega scope
|
|
1727
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1728
1596
|
* @permissionId MEDIA.SITE_MEDIA_FILES_READ
|
|
1729
1597
|
* @webhook
|
|
1730
1598
|
* @eventType wix.media.site_media.v1.file_descriptor_file_ready
|
|
@@ -1756,8 +1624,6 @@ export interface FileDescriptorUpdatedEnvelope {
|
|
|
1756
1624
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1757
1625
|
* @permissionScope Set Up Automations
|
|
1758
1626
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1759
|
-
* @permissionScope Picasso private app mega scope
|
|
1760
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1761
1627
|
* @permissionId MEDIA.SITE_MEDIA_FILES_READ
|
|
1762
1628
|
* @webhook
|
|
1763
1629
|
* @eventType wix.media.site_media.v1.file_descriptor_updated
|
|
@@ -1765,6 +1631,7 @@ export interface FileDescriptorUpdatedEnvelope {
|
|
|
1765
1631
|
* @slug updated
|
|
1766
1632
|
*/
|
|
1767
1633
|
export declare function onFileDescriptorUpdated(handler: (event: FileDescriptorUpdatedEnvelope) => void | Promise<void>): void;
|
|
1634
|
+
type FileDescriptorNonNullablePaths = `_id` | `displayName` | `url` | `hash` | `private` | `mediaType` | `media.image.colors.palette` | `media.image.faces` | `media.image.faces.${number}.confidence` | `media.image.faces.${number}.x` | `media.image.faces.${number}.y` | `media.image.faces.${number}.height` | `media.image.faces.${number}.width` | `media.audio._id` | `media.audio.assets` | `media.archive._id` | `media.archive.url` | `media.model3d._id` | `media.model3d.url` | `operationStatus` | `labels` | `siteId` | `state`;
|
|
1768
1635
|
/**
|
|
1769
1636
|
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
1770
1637
|
*
|
|
@@ -1796,12 +1663,10 @@ export declare function onFileDescriptorUpdated(handler: (event: FileDescriptorU
|
|
|
1796
1663
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1797
1664
|
* @permissionScope Set Up Automations
|
|
1798
1665
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1799
|
-
* @permissionScope Picasso private app mega scope
|
|
1800
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1801
1666
|
* @applicableIdentity APP
|
|
1802
1667
|
* @fqn com.wix.media.site_media.v1.FilesService.GenerateFilesDownloadUrl
|
|
1803
1668
|
*/
|
|
1804
|
-
export declare function generateFilesDownloadUrl(fileIds: string[]): Promise<GenerateFilesDownloadUrlResponse
|
|
1669
|
+
export declare function generateFilesDownloadUrl(fileIds: string[]): Promise<NonNullablePaths<GenerateFilesDownloadUrlResponse, `downloadUrl`>>;
|
|
1805
1670
|
/**
|
|
1806
1671
|
* Generates one or more temporary URLs for downloading a specific file in the Media Manager.
|
|
1807
1672
|
*
|
|
@@ -1837,12 +1702,10 @@ export declare function generateFilesDownloadUrl(fileIds: string[]): Promise<Gen
|
|
|
1837
1702
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1838
1703
|
* @permissionScope Set Up Automations
|
|
1839
1704
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1840
|
-
* @permissionScope Picasso private app mega scope
|
|
1841
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1842
1705
|
* @applicableIdentity APP
|
|
1843
1706
|
* @fqn com.wix.media.site_media.v1.FilesService.GenerateFileDownloadUrl
|
|
1844
1707
|
*/
|
|
1845
|
-
export declare function generateFileDownloadUrl(fileId: string, options?: GenerateFileDownloadUrlOptions): Promise<GenerateFileDownloadUrlResponse
|
|
1708
|
+
export declare function generateFileDownloadUrl(fileId: string, options?: GenerateFileDownloadUrlOptions): Promise<NonNullablePaths<GenerateFileDownloadUrlResponse, `downloadUrls` | `downloadUrls.${number}.url` | `downloadUrls.${number}.assetKey`>>;
|
|
1846
1709
|
export interface GenerateFileDownloadUrlOptions {
|
|
1847
1710
|
/**
|
|
1848
1711
|
* Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type. <br />
|
|
@@ -1908,13 +1771,11 @@ export interface GenerateFileDownloadUrlOptions {
|
|
|
1908
1771
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1909
1772
|
* @permissionScope Set Up Automations
|
|
1910
1773
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1911
|
-
* @permissionScope Picasso private app mega scope
|
|
1912
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1913
1774
|
* @applicableIdentity APP
|
|
1914
1775
|
* @returns Information about the file.
|
|
1915
1776
|
* @fqn com.wix.media.site_media.v1.FilesService.GetFileDescriptor
|
|
1916
1777
|
*/
|
|
1917
|
-
export declare function getFileDescriptor(fileId: string): Promise<FileDescriptor
|
|
1778
|
+
export declare function getFileDescriptor(fileId: string): Promise<NonNullablePaths<FileDescriptor, FileDescriptorNonNullablePaths>>;
|
|
1918
1779
|
/**
|
|
1919
1780
|
* Gets information about specific files in the Media Manager.
|
|
1920
1781
|
* @public
|
|
@@ -1942,12 +1803,12 @@ export declare function getFileDescriptor(fileId: string): Promise<FileDescripto
|
|
|
1942
1803
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1943
1804
|
* @permissionScope Set Up Automations
|
|
1944
1805
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1945
|
-
* @permissionScope Picasso private app mega scope
|
|
1946
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1947
1806
|
* @applicableIdentity APP
|
|
1948
1807
|
* @fqn com.wix.media.site_media.v1.FilesService.GetFileDescriptors
|
|
1949
1808
|
*/
|
|
1950
|
-
export declare function getFileDescriptors(fileIds: string[]): Promise<GetFileDescriptorsResponse
|
|
1809
|
+
export declare function getFileDescriptors(fileIds: string[]): Promise<NonNullablePaths<GetFileDescriptorsResponse, {
|
|
1810
|
+
[P in FileDescriptorNonNullablePaths]: `files.${number}.${P}`;
|
|
1811
|
+
}[FileDescriptorNonNullablePaths]>>;
|
|
1951
1812
|
/**
|
|
1952
1813
|
* Updates a file. <br />
|
|
1953
1814
|
*
|
|
@@ -1973,13 +1834,11 @@ export declare function getFileDescriptors(fileIds: string[]): Promise<GetFileDe
|
|
|
1973
1834
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1974
1835
|
* @permissionScope Set Up Automations
|
|
1975
1836
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1976
|
-
* @permissionScope Picasso private app mega scope
|
|
1977
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1978
1837
|
* @applicableIdentity APP
|
|
1979
1838
|
* @returns Information about the updated file.
|
|
1980
1839
|
* @fqn com.wix.media.site_media.v1.FilesService.UpdateFileDescriptor
|
|
1981
1840
|
*/
|
|
1982
|
-
export declare function updateFileDescriptor(file: FileDescriptor): Promise<FileDescriptor
|
|
1841
|
+
export declare function updateFileDescriptor(file: NonNullablePaths<FileDescriptor, `_id`>): Promise<NonNullablePaths<FileDescriptor, FileDescriptorNonNullablePaths>>;
|
|
1983
1842
|
/**
|
|
1984
1843
|
* Generates an upload URL to allow external clients to upload a file to the Media Manager. <br/>
|
|
1985
1844
|
*
|
|
@@ -2008,12 +1867,10 @@ export declare function updateFileDescriptor(file: FileDescriptor): Promise<File
|
|
|
2008
1867
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2009
1868
|
* @permissionScope Set Up Automations
|
|
2010
1869
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2011
|
-
* @permissionScope Picasso private app mega scope
|
|
2012
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2013
1870
|
* @applicableIdentity APP
|
|
2014
1871
|
* @fqn com.wix.media.site_media.v1.FilesService.GenerateFileUploadUrl
|
|
2015
1872
|
*/
|
|
2016
|
-
export declare function generateFileUploadUrl(mimeType: string
|
|
1873
|
+
export declare function generateFileUploadUrl(mimeType: string, options?: GenerateFileUploadUrlOptions): Promise<NonNullablePaths<GenerateFileUploadUrlResponse, `uploadUrl`>>;
|
|
2017
1874
|
export interface GenerateFileUploadUrlOptions {
|
|
2018
1875
|
/**
|
|
2019
1876
|
* Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
|
|
@@ -2082,12 +1939,10 @@ export interface GenerateFileUploadUrlOptions {
|
|
|
2082
1939
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2083
1940
|
* @permissionScope Set Up Automations
|
|
2084
1941
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2085
|
-
* @permissionScope Picasso private app mega scope
|
|
2086
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2087
1942
|
* @applicableIdentity APP
|
|
2088
1943
|
* @fqn com.wix.media.site_media.v1.FilesService.GenerateFileResumableUploadUrl
|
|
2089
1944
|
*/
|
|
2090
|
-
export declare function generateFileResumableUploadUrl(mimeType: string
|
|
1945
|
+
export declare function generateFileResumableUploadUrl(mimeType: string, options?: GenerateFileResumableUploadUrlOptions): Promise<NonNullablePaths<GenerateFileResumableUploadUrlResponse, `uploadProtocol` | `uploadUrl` | `uploadToken`>>;
|
|
2091
1946
|
export interface GenerateFileResumableUploadUrlOptions {
|
|
2092
1947
|
/**
|
|
2093
1948
|
* Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
|
|
@@ -2165,12 +2020,12 @@ export interface GenerateFileResumableUploadUrlOptions {
|
|
|
2165
2020
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2166
2021
|
* @permissionScope Set Up Automations
|
|
2167
2022
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2168
|
-
* @permissionScope Picasso private app mega scope
|
|
2169
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2170
2023
|
* @applicableIdentity APP
|
|
2171
2024
|
* @fqn com.wix.media.site_media.v1.FilesService.ImportFile
|
|
2172
2025
|
*/
|
|
2173
|
-
export declare function importFile(url: string, options?: ImportFileOptions): Promise<ImportFileResponse
|
|
2026
|
+
export declare function importFile(url: string, options?: ImportFileOptions): Promise<NonNullablePaths<ImportFileResponse, {
|
|
2027
|
+
[P in FileDescriptorNonNullablePaths]: `file.${P}`;
|
|
2028
|
+
}[FileDescriptorNonNullablePaths]>>;
|
|
2174
2029
|
export interface ImportFileOptions {
|
|
2175
2030
|
/**
|
|
2176
2031
|
* Media type of the file to import.
|
|
@@ -2256,15 +2111,15 @@ export interface ImportFileOptions {
|
|
|
2256
2111
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2257
2112
|
* @permissionScope Set Up Automations
|
|
2258
2113
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2259
|
-
* @permissionScope Picasso private app mega scope
|
|
2260
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2261
2114
|
* @applicableIdentity APP
|
|
2262
2115
|
* @fqn com.wix.media.site_media.v1.FilesService.BulkImportFiles
|
|
2263
2116
|
* @deprecated
|
|
2264
2117
|
* @replacedBy com.wix.media.site_media.v1.FilesService.BulkImportFile
|
|
2265
2118
|
* @targetRemovalDate 2024-03-31
|
|
2266
2119
|
*/
|
|
2267
|
-
export declare function bulkImportFiles(importFileRequests: ImportFileRequest[]): Promise<BulkImportFilesResponse
|
|
2120
|
+
export declare function bulkImportFiles(importFileRequests: NonNullablePaths<ImportFileRequest, `url`>[]): Promise<NonNullablePaths<BulkImportFilesResponse, {
|
|
2121
|
+
[P in FileDescriptorNonNullablePaths]: `files.${number}.${P}`;
|
|
2122
|
+
}[FileDescriptorNonNullablePaths]>>;
|
|
2268
2123
|
/**
|
|
2269
2124
|
* Imports a bulk of files to the Media Manager using external urls. <br/>
|
|
2270
2125
|
*
|
|
@@ -2304,12 +2159,12 @@ export declare function bulkImportFiles(importFileRequests: ImportFileRequest[])
|
|
|
2304
2159
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2305
2160
|
* @permissionScope Set Up Automations
|
|
2306
2161
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2307
|
-
* @permissionScope Picasso private app mega scope
|
|
2308
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2309
2162
|
* @applicableIdentity APP
|
|
2310
2163
|
* @fqn com.wix.media.site_media.v1.FilesService.BulkImportFile
|
|
2311
2164
|
*/
|
|
2312
|
-
export declare function bulkImportFile(importFileRequests: ImportFileRequest[], options?: BulkImportFileOptions): Promise<BulkImportFileResponse
|
|
2165
|
+
export declare function bulkImportFile(importFileRequests: NonNullablePaths<ImportFileRequest, `url`>[], options?: BulkImportFileOptions): Promise<NonNullablePaths<BulkImportFileResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
2166
|
+
[P in FileDescriptorNonNullablePaths]: `results.${number}.item.${P}`;
|
|
2167
|
+
}[FileDescriptorNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
2313
2168
|
export interface BulkImportFileOptions {
|
|
2314
2169
|
/** Default: `true` */
|
|
2315
2170
|
returnEntity?: boolean | null;
|
|
@@ -2339,12 +2194,12 @@ export interface BulkImportFileOptions {
|
|
|
2339
2194
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2340
2195
|
* @permissionScope Set Up Automations
|
|
2341
2196
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2342
|
-
* @permissionScope Picasso private app mega scope
|
|
2343
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2344
2197
|
* @applicableIdentity APP
|
|
2345
2198
|
* @fqn com.wix.media.site_media.v1.FilesService.ListFiles
|
|
2346
2199
|
*/
|
|
2347
|
-
export declare function listFiles(options?: ListFilesOptions): Promise<ListFilesResponse
|
|
2200
|
+
export declare function listFiles(options?: ListFilesOptions): Promise<NonNullablePaths<ListFilesResponse, {
|
|
2201
|
+
[P in FileDescriptorNonNullablePaths]: `files.${number}.${P}`;
|
|
2202
|
+
}[FileDescriptorNonNullablePaths]>>;
|
|
2348
2203
|
export interface ListFilesOptions {
|
|
2349
2204
|
/**
|
|
2350
2205
|
* ID of the file's parent folder. <br />
|
|
@@ -2395,12 +2250,12 @@ export interface ListFilesOptions {
|
|
|
2395
2250
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2396
2251
|
* @permissionScope Set Up Automations
|
|
2397
2252
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2398
|
-
* @permissionScope Picasso private app mega scope
|
|
2399
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2400
2253
|
* @applicableIdentity APP
|
|
2401
2254
|
* @fqn com.wix.media.site_media.v1.FilesService.SearchFiles
|
|
2402
2255
|
*/
|
|
2403
|
-
export declare function searchFiles(options?: SearchFilesOptions): Promise<SearchFilesResponse
|
|
2256
|
+
export declare function searchFiles(options?: SearchFilesOptions): Promise<NonNullablePaths<SearchFilesResponse, {
|
|
2257
|
+
[P in FileDescriptorNonNullablePaths]: `files.${number}.${P}`;
|
|
2258
|
+
}[FileDescriptorNonNullablePaths]>>;
|
|
2404
2259
|
export interface SearchFilesOptions {
|
|
2405
2260
|
/**
|
|
2406
2261
|
* Term to search for. Possible terms include the value of a file's
|
|
@@ -2462,12 +2317,10 @@ export interface SearchFilesOptions {
|
|
|
2462
2317
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2463
2318
|
* @permissionScope Set Up Automations
|
|
2464
2319
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2465
|
-
* @permissionScope Picasso private app mega scope
|
|
2466
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2467
2320
|
* @applicableIdentity APP
|
|
2468
2321
|
* @fqn com.wix.media.site_media.v1.FilesService.GenerateVideoStreamingUrl
|
|
2469
2322
|
*/
|
|
2470
|
-
export declare function generateVideoStreamingUrl(fileId: string, options?: GenerateVideoStreamingUrlOptions): Promise<GenerateVideoStreamingUrlResponse
|
|
2323
|
+
export declare function generateVideoStreamingUrl(fileId: string, options?: GenerateVideoStreamingUrlOptions): Promise<NonNullablePaths<GenerateVideoStreamingUrlResponse, `downloadUrl.url` | `downloadUrl.assetKey`>>;
|
|
2471
2324
|
export interface GenerateVideoStreamingUrlOptions {
|
|
2472
2325
|
/** Video stream format. */
|
|
2473
2326
|
format?: StreamFormat;
|
|
@@ -2507,8 +2360,6 @@ export interface GenerateVideoStreamingUrlOptions {
|
|
|
2507
2360
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2508
2361
|
* @permissionScope Set Up Automations
|
|
2509
2362
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2510
|
-
* @permissionScope Picasso private app mega scope
|
|
2511
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2512
2363
|
* @applicableIdentity APP
|
|
2513
2364
|
* @fqn com.wix.media.site_media.v1.FilesService.BulkDeleteFiles
|
|
2514
2365
|
*/
|
|
@@ -2545,8 +2396,6 @@ export interface BulkDeleteFilesOptions {
|
|
|
2545
2396
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2546
2397
|
* @permissionScope Set Up Automations
|
|
2547
2398
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2548
|
-
* @permissionScope Picasso private app mega scope
|
|
2549
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2550
2399
|
* @applicableIdentity APP
|
|
2551
2400
|
* @fqn com.wix.media.site_media.v1.FilesService.BulkRestoreFilesFromTrashBin
|
|
2552
2401
|
*/
|
|
@@ -2576,12 +2425,12 @@ export declare function bulkRestoreFilesFromTrashBin(fileIds: string[]): Promise
|
|
|
2576
2425
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
2577
2426
|
* @permissionScope Set Up Automations
|
|
2578
2427
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
2579
|
-
* @permissionScope Picasso private app mega scope
|
|
2580
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
2581
2428
|
* @applicableIdentity APP
|
|
2582
2429
|
* @fqn com.wix.media.site_media.v1.FilesService.ListDeletedFiles
|
|
2583
2430
|
*/
|
|
2584
|
-
export declare function listDeletedFiles(options?: ListDeletedFilesOptions): Promise<ListDeletedFilesResponse
|
|
2431
|
+
export declare function listDeletedFiles(options?: ListDeletedFilesOptions): Promise<NonNullablePaths<ListDeletedFilesResponse, {
|
|
2432
|
+
[P in FileDescriptorNonNullablePaths]: `files.${number}.${P}`;
|
|
2433
|
+
}[FileDescriptorNonNullablePaths]>>;
|
|
2585
2434
|
export interface ListDeletedFilesOptions {
|
|
2586
2435
|
/**
|
|
2587
2436
|
* ID of the file's parent folder. <br />
|
|
@@ -156,8 +156,6 @@ export var StreamFormat;
|
|
|
156
156
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
157
157
|
* @permissionScope Set Up Automations
|
|
158
158
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
159
|
-
* @permissionScope Picasso private app mega scope
|
|
160
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
161
159
|
* @applicableIdentity APP
|
|
162
160
|
* @fqn com.wix.media.site_media.v1.FilesService.GenerateFilesDownloadUrl
|
|
163
161
|
*/
|
|
@@ -217,8 +215,6 @@ export async function generateFilesDownloadUrl(fileIds) {
|
|
|
217
215
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
218
216
|
* @permissionScope Set Up Automations
|
|
219
217
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
220
|
-
* @permissionScope Picasso private app mega scope
|
|
221
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
222
218
|
* @applicableIdentity APP
|
|
223
219
|
* @fqn com.wix.media.site_media.v1.FilesService.GenerateFileDownloadUrl
|
|
224
220
|
*/
|
|
@@ -284,8 +280,6 @@ export async function generateFileDownloadUrl(fileId, options) {
|
|
|
284
280
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
285
281
|
* @permissionScope Set Up Automations
|
|
286
282
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
287
|
-
* @permissionScope Picasso private app mega scope
|
|
288
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
289
283
|
* @applicableIdentity APP
|
|
290
284
|
* @returns Information about the file.
|
|
291
285
|
* @fqn com.wix.media.site_media.v1.FilesService.GetFileDescriptor
|
|
@@ -363,8 +357,6 @@ export async function getFileDescriptor(fileId) {
|
|
|
363
357
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
364
358
|
* @permissionScope Set Up Automations
|
|
365
359
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
366
|
-
* @permissionScope Picasso private app mega scope
|
|
367
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
368
360
|
* @applicableIdentity APP
|
|
369
361
|
* @fqn com.wix.media.site_media.v1.FilesService.GetFileDescriptors
|
|
370
362
|
*/
|
|
@@ -439,8 +431,6 @@ export async function getFileDescriptors(fileIds) {
|
|
|
439
431
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
440
432
|
* @permissionScope Set Up Automations
|
|
441
433
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
442
|
-
* @permissionScope Picasso private app mega scope
|
|
443
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
444
434
|
* @applicableIdentity APP
|
|
445
435
|
* @returns Information about the updated file.
|
|
446
436
|
* @fqn com.wix.media.site_media.v1.FilesService.UpdateFileDescriptor
|
|
@@ -544,8 +534,6 @@ export async function updateFileDescriptor(file) {
|
|
|
544
534
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
545
535
|
* @permissionScope Set Up Automations
|
|
546
536
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
547
|
-
* @permissionScope Picasso private app mega scope
|
|
548
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
549
537
|
* @applicableIdentity APP
|
|
550
538
|
* @fqn com.wix.media.site_media.v1.FilesService.GenerateFileUploadUrl
|
|
551
539
|
*/
|
|
@@ -616,8 +604,6 @@ export async function generateFileUploadUrl(mimeType, options) {
|
|
|
616
604
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
617
605
|
* @permissionScope Set Up Automations
|
|
618
606
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
619
|
-
* @permissionScope Picasso private app mega scope
|
|
620
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
621
607
|
* @applicableIdentity APP
|
|
622
608
|
* @fqn com.wix.media.site_media.v1.FilesService.GenerateFileResumableUploadUrl
|
|
623
609
|
*/
|
|
@@ -697,8 +683,6 @@ export async function generateFileResumableUploadUrl(mimeType, options) {
|
|
|
697
683
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
698
684
|
* @permissionScope Set Up Automations
|
|
699
685
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
700
|
-
* @permissionScope Picasso private app mega scope
|
|
701
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
702
686
|
* @applicableIdentity APP
|
|
703
687
|
* @fqn com.wix.media.site_media.v1.FilesService.ImportFile
|
|
704
688
|
*/
|
|
@@ -811,8 +795,6 @@ export async function importFile(url, options) {
|
|
|
811
795
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
812
796
|
* @permissionScope Set Up Automations
|
|
813
797
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
814
|
-
* @permissionScope Picasso private app mega scope
|
|
815
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
816
798
|
* @applicableIdentity APP
|
|
817
799
|
* @fqn com.wix.media.site_media.v1.FilesService.BulkImportFiles
|
|
818
800
|
* @deprecated
|
|
@@ -906,8 +888,6 @@ export async function bulkImportFiles(importFileRequests) {
|
|
|
906
888
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
907
889
|
* @permissionScope Set Up Automations
|
|
908
890
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
909
|
-
* @permissionScope Picasso private app mega scope
|
|
910
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
911
891
|
* @applicableIdentity APP
|
|
912
892
|
* @fqn com.wix.media.site_media.v1.FilesService.BulkImportFile
|
|
913
893
|
*/
|
|
@@ -990,8 +970,6 @@ export async function bulkImportFile(importFileRequests, options) {
|
|
|
990
970
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
991
971
|
* @permissionScope Set Up Automations
|
|
992
972
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
993
|
-
* @permissionScope Picasso private app mega scope
|
|
994
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
995
973
|
* @applicableIdentity APP
|
|
996
974
|
* @fqn com.wix.media.site_media.v1.FilesService.ListFiles
|
|
997
975
|
*/
|
|
@@ -1078,8 +1056,6 @@ export async function listFiles(options) {
|
|
|
1078
1056
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1079
1057
|
* @permissionScope Set Up Automations
|
|
1080
1058
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1081
|
-
* @permissionScope Picasso private app mega scope
|
|
1082
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1083
1059
|
* @applicableIdentity APP
|
|
1084
1060
|
* @fqn com.wix.media.site_media.v1.FilesService.SearchFiles
|
|
1085
1061
|
*/
|
|
@@ -1173,8 +1149,6 @@ export async function searchFiles(options) {
|
|
|
1173
1149
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1174
1150
|
* @permissionScope Set Up Automations
|
|
1175
1151
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1176
|
-
* @permissionScope Picasso private app mega scope
|
|
1177
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1178
1152
|
* @applicableIdentity APP
|
|
1179
1153
|
* @fqn com.wix.media.site_media.v1.FilesService.GenerateVideoStreamingUrl
|
|
1180
1154
|
*/
|
|
@@ -1237,8 +1211,6 @@ export async function generateVideoStreamingUrl(fileId, options) {
|
|
|
1237
1211
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1238
1212
|
* @permissionScope Set Up Automations
|
|
1239
1213
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1240
|
-
* @permissionScope Picasso private app mega scope
|
|
1241
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1242
1214
|
* @applicableIdentity APP
|
|
1243
1215
|
* @fqn com.wix.media.site_media.v1.FilesService.BulkDeleteFiles
|
|
1244
1216
|
*/
|
|
@@ -1293,8 +1265,6 @@ export async function bulkDeleteFiles(fileIds, options) {
|
|
|
1293
1265
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1294
1266
|
* @permissionScope Set Up Automations
|
|
1295
1267
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1296
|
-
* @permissionScope Picasso private app mega scope
|
|
1297
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1298
1268
|
* @applicableIdentity APP
|
|
1299
1269
|
* @fqn com.wix.media.site_media.v1.FilesService.BulkRestoreFilesFromTrashBin
|
|
1300
1270
|
*/
|
|
@@ -1343,8 +1313,6 @@ export async function bulkRestoreFilesFromTrashBin(fileIds) {
|
|
|
1343
1313
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1344
1314
|
* @permissionScope Set Up Automations
|
|
1345
1315
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
1346
|
-
* @permissionScope Picasso private app mega scope
|
|
1347
|
-
* @permissionScopeId SCOPE.TEST.MEGA-PICASSO-MANAGE-SITE
|
|
1348
1316
|
* @applicableIdentity APP
|
|
1349
1317
|
* @fqn com.wix.media.site_media.v1.FilesService.ListDeletedFiles
|
|
1350
1318
|
*/
|