@ibm-aspera/sdk 0.19.1 → 0.20.1
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/commonjs/app/core.d.ts +27 -10
- package/dist/commonjs/app/core.js +124 -21
- package/dist/commonjs/app/status.d.ts +11 -1
- package/dist/commonjs/app/status.js +35 -4
- package/dist/commonjs/connect/core.js +3 -0
- package/dist/commonjs/helpers/connect-extension.d.ts +8 -0
- package/dist/commonjs/helpers/connect-extension.js +58 -0
- package/dist/commonjs/helpers/helpers.d.ts +6 -0
- package/dist/commonjs/helpers/helpers.js +19 -1
- package/dist/commonjs/helpers/ws.d.ts +11 -0
- package/dist/commonjs/helpers/ws.js +35 -2
- package/dist/commonjs/http-gateway/core.js +12 -13
- package/dist/commonjs/http-gateway/download.js +2 -2
- package/dist/commonjs/http-gateway/upload.js +2 -2
- package/dist/commonjs/http-gateway/v2/app/core.d.ts +84 -0
- package/dist/commonjs/http-gateway/v2/app/core.js +170 -0
- package/dist/commonjs/http-gateway/v2/app/download.d.ts +15 -0
- package/dist/commonjs/http-gateway/v2/app/download.js +68 -0
- package/dist/commonjs/http-gateway/v2/app/upload.d.ts +169 -0
- package/dist/commonjs/http-gateway/v2/app/upload.js +601 -0
- package/dist/commonjs/http-gateway/v2/constants/constants.d.ts +6 -0
- package/dist/commonjs/http-gateway/v2/constants/constants.js +9 -0
- package/dist/commonjs/http-gateway/v2/constants/messages.d.ts +35 -0
- package/dist/commonjs/http-gateway/v2/constants/messages.js +38 -0
- package/dist/commonjs/http-gateway/v2/helpers/helpers.d.ts +121 -0
- package/dist/commonjs/http-gateway/v2/helpers/helpers.js +294 -0
- package/dist/commonjs/http-gateway/v2/helpers/http.d.ts +86 -0
- package/dist/commonjs/http-gateway/v2/helpers/http.js +153 -0
- package/dist/commonjs/http-gateway/v2/index.d.ts +35 -0
- package/dist/commonjs/http-gateway/v2/index.js +70 -0
- package/dist/commonjs/http-gateway/v2/models/http-gateway-global.model.d.ts +254 -0
- package/dist/commonjs/http-gateway/v2/models/http-gateway-global.model.js +367 -0
- package/dist/commonjs/http-gateway/v2/models/models.d.ts +127 -0
- package/dist/commonjs/http-gateway/v2/models/models.js +87 -0
- package/dist/commonjs/index.d.ts +3 -3
- package/dist/commonjs/index.js +3 -1
- package/dist/commonjs/models/aspera-sdk.model.d.ts +2 -1
- package/dist/commonjs/models/aspera-sdk.model.js +8 -0
- package/dist/commonjs/models/models.d.ts +12 -1
- package/dist/js/aspera-sdk.js +1 -1
- package/dist/js/aspera-sdk.js.LICENSE.txt +1 -1
- package/dist/js/aspera-sdk.js.map +1 -1
- package/package.json +1 -2
|
@@ -663,6 +663,8 @@ export interface AsperaSdkTransfer {
|
|
|
663
663
|
explorer_path: string;
|
|
664
664
|
/** The status of the transfer */
|
|
665
665
|
status: TransferStatus;
|
|
666
|
+
/** The previous status of the transfer */
|
|
667
|
+
previous_status: TransferStatus;
|
|
666
668
|
/** The transfer error description if the status is error */
|
|
667
669
|
error_desc?: string;
|
|
668
670
|
/** The transfer error code (SSH or HTTP) if the status is error */
|
|
@@ -681,7 +683,12 @@ export interface AsperaSdkTransfer {
|
|
|
681
683
|
remaining_usec: number;
|
|
682
684
|
/** The title of the transfer */
|
|
683
685
|
title: string;
|
|
684
|
-
/**
|
|
686
|
+
/** The transfer client that handled this transfer */
|
|
687
|
+
transfer_client: TransferClient;
|
|
688
|
+
/**
|
|
689
|
+
* Indicate if HTTP Gateway transfer
|
|
690
|
+
* @deprecated Use `transfer_client === 'http-gateway'` instead.
|
|
691
|
+
*/
|
|
685
692
|
httpGatewayTransfer?: boolean;
|
|
686
693
|
/** Indicate the request id of the HTTP Gateway transfer */
|
|
687
694
|
httpRequestId?: string;
|
|
@@ -707,6 +714,8 @@ export interface InstallerInfoResponse {
|
|
|
707
714
|
export type WebsocketTopics = 'subscribe_transfer_activity' | 'transfer_activity';
|
|
708
715
|
export type WebsocketEvent = 'CLOSED' | 'RECONNECT';
|
|
709
716
|
export type SafariExtensionEvent = 'ENABLED' | 'DISABLED';
|
|
717
|
+
/** The transfer client that handled the transfer */
|
|
718
|
+
export type TransferClient = 'desktop' | 'http-gateway' | 'connect';
|
|
710
719
|
export type SdkStatus = 'INITIALIZING' | 'RETRYING' | 'RUNNING' | 'DEGRADED' | 'FAILED' | 'OUTDATED' | 'EXTENSION_INSTALL' | 'DISCONNECTED';
|
|
711
720
|
export interface WebsocketMessage {
|
|
712
721
|
jsonrpc: '2.0';
|
|
@@ -920,6 +929,8 @@ export interface InitOptions {
|
|
|
920
929
|
connectSettings?: {
|
|
921
930
|
/** Use connect. Indicate if Connect should be used instead of Desktop. */
|
|
922
931
|
useConnect: boolean;
|
|
932
|
+
/** Try Desktop first, fall back to Connect if Desktop is unavailable within the retry timeout. Ignored when `useConnect` is true. */
|
|
933
|
+
fallback?: boolean;
|
|
923
934
|
/** Minimum version of Connect to allow */
|
|
924
935
|
minVersion?: string;
|
|
925
936
|
/** Indicate if Drag and Drop is enabled */
|