@vidispine/api 25.4.3 → 25.4.4

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/dist/index.d.ts CHANGED
@@ -33944,7 +33944,7 @@ declare const Storage_2: {
33944
33944
  * @param {VidiCoreRequestHeaderConfig} [options.headers] - Add headers to request
33945
33945
  * @returns {Promise<AxiosResponse<FileDocument>>} Promise&lt;AxiosResponse&lt;FileDocument&gt;&gt;
33946
33946
  */
33947
- uploadStorageRawFileByPasskey: ({ pathParams: { fileId }, queryParams, data, headers, requestConfig, }: {
33947
+ uploadStorageRawFileByPasskey: ({ pathParams: { fileId }, queryParams, headers, requestConfig, }: {
33948
33948
  pathParams: {
33949
33949
  fileId: string;
33950
33950
  };
@@ -33952,7 +33952,6 @@ declare const Storage_2: {
33952
33952
  transferId?: string;
33953
33953
  resourceTag?: string;
33954
33954
  };
33955
- data: string;
33956
33955
  headers?: VidiCoreRequestHeaderConfig;
33957
33956
  requestConfig?: AxiosRequestConfig;
33958
33957
  }) => Promise<AxiosResponse<FileDocument>>;
@@ -35874,8 +35873,10 @@ declare const Storage_2: {
35874
35873
  range?: string;
35875
35874
  state?: string;
35876
35875
  uri?: string;
35876
+ generateFilename?: boolean;
35877
+ extension?: string;
35877
35878
  };
35878
- data: FileDocument;
35879
+ data?: FileDocument;
35879
35880
  headers?: VidiCoreRequestHeaderConfig;
35880
35881
  requestConfig?: AxiosRequestConfig;
35881
35882
  }) => Promise<AxiosResponse<FileDocument>>;
package/dist/index.js CHANGED
@@ -37634,20 +37634,18 @@ const y = {
37634
37634
  uploadStorageRawFileByPasskey: ({
37635
37635
  pathParams: { fileId: a },
37636
37636
  queryParams: e,
37637
- data: t,
37638
- headers: o,
37639
- requestConfig: r
37637
+ headers: t,
37638
+ requestConfig: o
37640
37639
  }) => i({
37641
37640
  method: "POST",
37642
37641
  url: `/API/storage/file/${a}/data-passkey`,
37643
37642
  headers: {
37644
37643
  contentType: "application/octet-stream",
37645
37644
  accept: "application/json",
37646
- ...o ?? {}
37645
+ ...t ?? {}
37647
37646
  },
37648
37647
  queryParams: e,
37649
- data: t ?? "",
37650
- ...r
37648
+ ...o
37651
37649
  }),
37652
37650
  /**
37653
37651
  * `GET /API/storage/file/{fileId}/deletion-lock`