@wix/auto_sdk_media_files 1.0.28 → 1.0.30
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/index.js +48 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +8 -8
- package/build/cjs/index.typings.js +48 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +48 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +48 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +8 -8
- package/build/es/index.typings.mjs +48 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +48 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +48 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +8 -8
- package/build/internal/cjs/index.typings.js +48 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +48 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +48 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +8 -8
- package/build/internal/es/index.typings.mjs +48 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +48 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -828,34 +828,34 @@ interface SiteQuotaExceededError {
|
|
|
828
828
|
quota?: TotalQuota;
|
|
829
829
|
}
|
|
830
830
|
interface TotalQuota {
|
|
831
|
-
/** Storage quota in bytes */
|
|
831
|
+
/** Storage quota in bytes. */
|
|
832
832
|
storage?: string | null;
|
|
833
|
-
/**
|
|
833
|
+
/** Premium plans that determine the storage quota. */
|
|
834
834
|
plans?: Plans;
|
|
835
835
|
/** Time for which the quota is relevant - When the plans were retrieved from premium */
|
|
836
836
|
timestamp?: Date | null;
|
|
837
837
|
}
|
|
838
838
|
interface Plans {
|
|
839
|
-
/**
|
|
839
|
+
/** Current premium plan details. */
|
|
840
840
|
premium?: Plan;
|
|
841
841
|
/**
|
|
842
|
-
*
|
|
842
|
+
* URL for upgrading the storage quota.
|
|
843
843
|
* @format WEB_URL
|
|
844
844
|
*/
|
|
845
845
|
upgradeUrl?: string;
|
|
846
846
|
}
|
|
847
847
|
interface Plan {
|
|
848
848
|
/**
|
|
849
|
-
* Plan ID
|
|
849
|
+
* Plan ID.
|
|
850
850
|
* @readonly
|
|
851
851
|
* @format GUID
|
|
852
852
|
*/
|
|
853
853
|
_id?: string;
|
|
854
|
-
/** Plan name */
|
|
854
|
+
/** Plan name. */
|
|
855
855
|
name?: string;
|
|
856
|
-
/**
|
|
856
|
+
/** Date and time when the plan was created. */
|
|
857
857
|
createdAt?: Date | null;
|
|
858
|
-
/**
|
|
858
|
+
/** Date and time when the plan expires. */
|
|
859
859
|
expiresAt?: Date | null;
|
|
860
860
|
}
|
|
861
861
|
interface GenerateFileResumableUploadUrlRequest {
|
|
@@ -159,6 +159,9 @@ function generateFilesDownloadUrl(payload) {
|
|
|
159
159
|
method: "POST",
|
|
160
160
|
methodFqn: "com.wix.media.site_media.v1.FilesService.GenerateFilesDownloadUrl",
|
|
161
161
|
packageName: PACKAGE_NAME,
|
|
162
|
+
migrationOptions: {
|
|
163
|
+
optInTransformResponse: true
|
|
164
|
+
},
|
|
162
165
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
163
166
|
protoPath: "/v1/files/generate-download-url",
|
|
164
167
|
data: payload,
|
|
@@ -177,6 +180,9 @@ function generateFileDownloadUrl(payload) {
|
|
|
177
180
|
method: "POST",
|
|
178
181
|
methodFqn: "com.wix.media.site_media.v1.FilesService.GenerateFileDownloadUrl",
|
|
179
182
|
packageName: PACKAGE_NAME,
|
|
183
|
+
migrationOptions: {
|
|
184
|
+
optInTransformResponse: true
|
|
185
|
+
},
|
|
180
186
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
181
187
|
protoPath: "/v1/files/generate-file-download-url",
|
|
182
188
|
data: payload,
|
|
@@ -195,6 +201,9 @@ function getFileDescriptor(payload) {
|
|
|
195
201
|
method: "GET",
|
|
196
202
|
methodFqn: "com.wix.media.site_media.v1.FilesService.GetFileDescriptor",
|
|
197
203
|
packageName: PACKAGE_NAME,
|
|
204
|
+
migrationOptions: {
|
|
205
|
+
optInTransformResponse: true
|
|
206
|
+
},
|
|
198
207
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
199
208
|
protoPath: "/v1/files/get-file-by-id",
|
|
200
209
|
data: payload,
|
|
@@ -278,6 +287,9 @@ function getFileDescriptors(payload) {
|
|
|
278
287
|
method: "POST",
|
|
279
288
|
methodFqn: "com.wix.media.site_media.v1.FilesService.GetFileDescriptors",
|
|
280
289
|
packageName: PACKAGE_NAME,
|
|
290
|
+
migrationOptions: {
|
|
291
|
+
optInTransformResponse: true
|
|
292
|
+
},
|
|
281
293
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
282
294
|
protoPath: "/v1/files/get-files",
|
|
283
295
|
data: payload,
|
|
@@ -410,6 +422,9 @@ function updateFileDescriptor(payload) {
|
|
|
410
422
|
method: "PATCH",
|
|
411
423
|
methodFqn: "com.wix.media.site_media.v1.FilesService.UpdateFileDescriptor",
|
|
412
424
|
packageName: PACKAGE_NAME,
|
|
425
|
+
migrationOptions: {
|
|
426
|
+
optInTransformResponse: true
|
|
427
|
+
},
|
|
413
428
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
414
429
|
protoPath: "/v1/files/update-file-descriptor",
|
|
415
430
|
data: serializedData,
|
|
@@ -482,6 +497,9 @@ function generateFileUploadUrl(payload) {
|
|
|
482
497
|
method: "POST",
|
|
483
498
|
methodFqn: "com.wix.media.site_media.v1.FilesService.GenerateFileUploadUrl",
|
|
484
499
|
packageName: PACKAGE_NAME,
|
|
500
|
+
migrationOptions: {
|
|
501
|
+
optInTransformResponse: true
|
|
502
|
+
},
|
|
485
503
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
486
504
|
protoPath: "/v1/files/generate-upload-url",
|
|
487
505
|
data: payload,
|
|
@@ -500,6 +518,9 @@ function generateFileResumableUploadUrl(payload) {
|
|
|
500
518
|
method: "POST",
|
|
501
519
|
methodFqn: "com.wix.media.site_media.v1.FilesService.GenerateFileResumableUploadUrl",
|
|
502
520
|
packageName: PACKAGE_NAME,
|
|
521
|
+
migrationOptions: {
|
|
522
|
+
optInTransformResponse: true
|
|
523
|
+
},
|
|
503
524
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
504
525
|
protoPath: "/v1/files/generate-resumable-upload-url",
|
|
505
526
|
data: payload,
|
|
@@ -518,6 +539,9 @@ function importFile(payload) {
|
|
|
518
539
|
method: "POST",
|
|
519
540
|
methodFqn: "com.wix.media.site_media.v1.FilesService.ImportFile",
|
|
520
541
|
packageName: PACKAGE_NAME,
|
|
542
|
+
migrationOptions: {
|
|
543
|
+
optInTransformResponse: true
|
|
544
|
+
},
|
|
521
545
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
522
546
|
protoPath: "/v1/files/import",
|
|
523
547
|
data: payload,
|
|
@@ -590,6 +614,9 @@ function bulkImportFiles(payload) {
|
|
|
590
614
|
method: "POST",
|
|
591
615
|
methodFqn: "com.wix.media.site_media.v1.FilesService.BulkImportFiles",
|
|
592
616
|
packageName: PACKAGE_NAME,
|
|
617
|
+
migrationOptions: {
|
|
618
|
+
optInTransformResponse: true
|
|
619
|
+
},
|
|
593
620
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
594
621
|
protoPath: "/v1/bulk/files/import",
|
|
595
622
|
data: payload,
|
|
@@ -664,6 +691,9 @@ function bulkImportFile(payload) {
|
|
|
664
691
|
method: "POST",
|
|
665
692
|
methodFqn: "com.wix.media.site_media.v1.FilesService.BulkImportFile",
|
|
666
693
|
packageName: PACKAGE_NAME,
|
|
694
|
+
migrationOptions: {
|
|
695
|
+
optInTransformResponse: true
|
|
696
|
+
},
|
|
667
697
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
668
698
|
protoPath: "/v1/bulk/files/import-v2",
|
|
669
699
|
data: payload,
|
|
@@ -754,6 +784,9 @@ function listFiles(payload) {
|
|
|
754
784
|
method: "GET",
|
|
755
785
|
methodFqn: "com.wix.media.site_media.v1.FilesService.ListFiles",
|
|
756
786
|
packageName: PACKAGE_NAME,
|
|
787
|
+
migrationOptions: {
|
|
788
|
+
optInTransformResponse: true
|
|
789
|
+
},
|
|
757
790
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
758
791
|
protoPath: "/v1/files",
|
|
759
792
|
data: payload,
|
|
@@ -828,6 +861,9 @@ function searchFiles(payload) {
|
|
|
828
861
|
method: "POST",
|
|
829
862
|
methodFqn: "com.wix.media.site_media.v1.FilesService.SearchFiles",
|
|
830
863
|
packageName: PACKAGE_NAME,
|
|
864
|
+
migrationOptions: {
|
|
865
|
+
optInTransformResponse: true
|
|
866
|
+
},
|
|
831
867
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
832
868
|
protoPath: "/v1/files/search",
|
|
833
869
|
data: payload,
|
|
@@ -902,6 +938,9 @@ function generateVideoStreamingUrl(payload) {
|
|
|
902
938
|
method: "POST",
|
|
903
939
|
methodFqn: "com.wix.media.site_media.v1.FilesService.GenerateVideoStreamingUrl",
|
|
904
940
|
packageName: PACKAGE_NAME,
|
|
941
|
+
migrationOptions: {
|
|
942
|
+
optInTransformResponse: true
|
|
943
|
+
},
|
|
905
944
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
906
945
|
protoPath: "/v1/files/generate-video-stream-url",
|
|
907
946
|
data: payload,
|
|
@@ -920,6 +959,9 @@ function bulkDeleteFiles(payload) {
|
|
|
920
959
|
method: "POST",
|
|
921
960
|
methodFqn: "com.wix.media.site_media.v1.FilesService.BulkDeleteFiles",
|
|
922
961
|
packageName: PACKAGE_NAME,
|
|
962
|
+
migrationOptions: {
|
|
963
|
+
optInTransformResponse: true
|
|
964
|
+
},
|
|
923
965
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
924
966
|
protoPath: "/v1/bulk/files/delete",
|
|
925
967
|
data: payload,
|
|
@@ -938,6 +980,9 @@ function bulkRestoreFilesFromTrashBin(payload) {
|
|
|
938
980
|
method: "POST",
|
|
939
981
|
methodFqn: "com.wix.media.site_media.v1.FilesService.BulkRestoreFilesFromTrashBin",
|
|
940
982
|
packageName: PACKAGE_NAME,
|
|
983
|
+
migrationOptions: {
|
|
984
|
+
optInTransformResponse: true
|
|
985
|
+
},
|
|
941
986
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
942
987
|
protoPath: "/v1/bulk/trash-bin/files/restore",
|
|
943
988
|
data: payload,
|
|
@@ -956,6 +1001,9 @@ function listDeletedFiles(payload) {
|
|
|
956
1001
|
method: "GET",
|
|
957
1002
|
methodFqn: "com.wix.media.site_media.v1.FilesService.ListDeletedFiles",
|
|
958
1003
|
packageName: PACKAGE_NAME,
|
|
1004
|
+
migrationOptions: {
|
|
1005
|
+
optInTransformResponse: true
|
|
1006
|
+
},
|
|
959
1007
|
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
960
1008
|
protoPath: "/v1/trash-bin/files",
|
|
961
1009
|
data: payload,
|