@globus/sdk 0.1.4-alpha.0 → 0.1.5-alpha
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/@types/globus/auth/index.d.ts +100 -0
- package/@types/globus/index.d.ts +3 -0
- package/@types/globus/transfer/index.d.ts +729 -0
- package/dist/@types/src/index.d.ts +6 -0
- package/dist/@types/src/index.d.ts.map +1 -0
- package/dist/@types/src/lib/core/authorization.d.ts +21 -0
- package/dist/@types/src/lib/core/authorization.d.ts.map +1 -0
- package/dist/@types/src/lib/core/consent.d.ts +6 -0
- package/dist/@types/src/lib/core/consent.d.ts.map +1 -0
- package/dist/@types/src/lib/core/errors.d.ts +5 -0
- package/dist/@types/src/lib/core/errors.d.ts.map +1 -0
- package/dist/@types/src/lib/core/fetch.d.ts +7 -0
- package/dist/@types/src/lib/core/fetch.d.ts.map +1 -0
- package/dist/@types/src/lib/core/global.d.ts +37 -0
- package/dist/@types/src/lib/core/global.d.ts.map +1 -0
- package/dist/@types/src/lib/core/internals/__mocks__/fetch.d.ts +2 -0
- package/dist/@types/src/lib/core/internals/__mocks__/fetch.d.ts.map +1 -0
- package/dist/@types/src/lib/core/internals/fetch.d.ts +2 -0
- package/dist/@types/src/lib/core/internals/fetch.d.ts.map +1 -0
- package/dist/@types/src/lib/core/storage/index.d.ts +19 -0
- package/dist/@types/src/lib/core/storage/index.d.ts.map +1 -0
- package/dist/@types/src/lib/core/storage/local-storage.d.ts +8 -0
- package/dist/@types/src/lib/core/storage/local-storage.d.ts.map +1 -0
- package/dist/@types/src/lib/core/storage/memory.d.ts +9 -0
- package/dist/@types/src/lib/core/storage/memory.d.ts.map +1 -0
- package/dist/@types/src/lib/core/url.d.ts +7 -0
- package/dist/@types/src/lib/core/url.d.ts.map +1 -0
- package/dist/@types/src/lib/sdk.d.ts +2 -0
- package/dist/@types/src/lib/sdk.d.ts.map +1 -0
- package/dist/@types/src/lib/services/auth/config.d.ts +4 -0
- package/dist/@types/src/lib/services/auth/config.d.ts.map +1 -0
- package/dist/@types/src/lib/services/auth/index.d.ts +17 -0
- package/dist/@types/src/lib/services/auth/index.d.ts.map +1 -0
- package/dist/@types/src/lib/services/auth/types.d.ts +15 -0
- package/dist/@types/src/lib/services/auth/types.d.ts.map +1 -0
- package/dist/@types/src/lib/services/flows/config.d.ts +14 -0
- package/dist/@types/src/lib/services/flows/config.d.ts.map +1 -0
- package/dist/@types/src/lib/services/flows/index.d.ts +12 -0
- package/dist/@types/src/lib/services/flows/index.d.ts.map +1 -0
- package/dist/@types/src/lib/services/flows/service/batch.d.ts +3 -0
- package/dist/@types/src/lib/services/flows/service/batch.d.ts.map +1 -0
- package/dist/@types/src/lib/services/flows/service/flows.d.ts +13 -0
- package/dist/@types/src/lib/services/flows/service/flows.d.ts.map +1 -0
- package/dist/@types/src/lib/services/flows/service/runs.d.ts +6 -0
- package/dist/@types/src/lib/services/flows/service/runs.d.ts.map +1 -0
- package/dist/@types/src/lib/services/globus-connect-server/index.d.ts +13 -0
- package/dist/@types/src/lib/services/globus-connect-server/index.d.ts.map +1 -0
- package/dist/@types/src/lib/services/globus-connect-server/service/endpoint.d.ts +5 -0
- package/dist/@types/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -0
- package/dist/@types/src/lib/services/globus-connect-server/service/versioning.d.ts +6 -0
- package/dist/@types/src/lib/services/globus-connect-server/service/versioning.d.ts.map +1 -0
- package/dist/@types/src/lib/services/search/config.d.ts +12 -0
- package/dist/@types/src/lib/services/search/config.d.ts.map +1 -0
- package/dist/@types/src/lib/services/search/index.d.ts +10 -0
- package/dist/@types/src/lib/services/search/index.d.ts.map +1 -0
- package/dist/@types/src/lib/services/search/service/query.d.ts +17 -0
- package/dist/@types/src/lib/services/search/service/query.d.ts.map +1 -0
- package/dist/@types/src/lib/services/shared.d.ts +6 -0
- package/dist/@types/src/lib/services/shared.d.ts.map +1 -0
- package/dist/@types/src/lib/services/transfer/config.d.ts +4 -0
- package/dist/@types/src/lib/services/transfer/config.d.ts.map +1 -0
- package/dist/@types/src/lib/services/transfer/index.d.ts +13 -0
- package/dist/@types/src/lib/services/transfer/index.d.ts.map +1 -0
- package/dist/@types/src/lib/services/transfer/service/endpoint-search.d.ts +6 -0
- package/dist/@types/src/lib/services/transfer/service/endpoint-search.d.ts.map +1 -0
- package/dist/@types/src/lib/services/transfer/service/endpoint.d.ts +5 -0
- package/dist/@types/src/lib/services/transfer/service/endpoint.d.ts.map +1 -0
- package/dist/@types/src/lib/services/transfer/service/file-operations.d.ts +37 -0
- package/dist/@types/src/lib/services/transfer/service/file-operations.d.ts.map +1 -0
- package/dist/@types/src/lib/services/transfer/service/task-submission.d.ts +21 -0
- package/dist/@types/src/lib/services/transfer/service/task-submission.d.ts.map +1 -0
- package/dist/@types/src/lib/services/transfer/shared.d.ts +3 -0
- package/dist/@types/src/lib/services/transfer/shared.d.ts.map +1 -0
- package/dist/@types/src/lib/services/types.d.ts +31 -0
- package/dist/@types/src/lib/services/types.d.ts.map +1 -0
- package/dist/@types/tsconfig.tsbuildinfo +1 -0
- package/dist/browser.cjs.js +1 -1
- package/dist/browser.esm.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./lib/sdk";
|
|
2
|
+
export * as authorization from "./lib/core/authorization";
|
|
3
|
+
export * as auth from "./lib/services/auth";
|
|
4
|
+
export * as transfer from "./lib/services/transfer";
|
|
5
|
+
export * as search from "./lib/services/search";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,IAAI,MAAM,qBAAqB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type IConfig from "js-pkce/dist/IConfig";
|
|
2
|
+
type PKCEConfiguration = {
|
|
3
|
+
client_id?: IConfig["client_id"];
|
|
4
|
+
requested_scopes: IConfig["requested_scopes"];
|
|
5
|
+
redirect_uri: IConfig["redirect_uri"];
|
|
6
|
+
};
|
|
7
|
+
export declare class PKCEAuthorization {
|
|
8
|
+
#private;
|
|
9
|
+
constructor(configuration: PKCEConfiguration);
|
|
10
|
+
reset(): void;
|
|
11
|
+
redirect(): void;
|
|
12
|
+
handleCodeRedirect(options?: {
|
|
13
|
+
removeStateAndReplaceLocation: boolean;
|
|
14
|
+
}): Promise<void>;
|
|
15
|
+
hasToken(): boolean;
|
|
16
|
+
revoke(): void;
|
|
17
|
+
}
|
|
18
|
+
export declare function pkce(configuration: PKCEConfiguration): PKCEAuthorization;
|
|
19
|
+
export declare function incremental(configuration: PKCEConfiguration): PKCEAuthorization;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=authorization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorization.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/authorization.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAahD,KAAK,iBAAiB,GAAG;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACjC,gBAAgB,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC9C,YAAY,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;CACvC,CAAC;AAEF,qBAAa,iBAAiB;;gBAKhB,aAAa,EAAE,iBAAiB;IA2B5C,KAAK;IAKL,QAAQ;IAKF,kBAAkB,CAAC,OAAO;;KAA0C;IAiB1E,QAAQ,IAAI,OAAO;IAMnB,MAAM;CAGP;AAED,wBAAgB,IAAI,CAAC,aAAa,EAAE,iBAAiB,qBAEpD;AAED,wBAAgB,WAAW,CAAC,aAAa,EAAE,iBAAiB,qBAE3D"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { TokenResponse } from "../services/auth";
|
|
2
|
+
import ITokenResponse from "js-pkce/dist/ITokenResponse";
|
|
3
|
+
export declare function addTokenResponse(token: ITokenResponse | TokenResponse): void;
|
|
4
|
+
export declare function getTokenForScope(scope: string): string | null;
|
|
5
|
+
export declare function reset(): void;
|
|
6
|
+
//# sourceMappingURL=consent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/consent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAS,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAazD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,GAAG,aAAa,QAKrE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,iBAM7C;AAED,wBAAgB,KAAK,SAEpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,6BAA8B,SAAQ,KAAK;IAC7C,IAAI,SAAmC;gBACpC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;CAIzC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type GlobusScope = string;
|
|
2
|
+
export type FetchOverrides = (Omit<RequestInit, "headers"> & {
|
|
3
|
+
headers?: Record<string, string>;
|
|
4
|
+
}) | undefined;
|
|
5
|
+
export declare function fetchWithScope(scope: GlobusScope, input: RequestInfo | URL, fetchOverrides?: FetchOverrides): Promise<Response>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=fetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/fetch.ts"],"names":[],"mappings":"AAGA,KAAK,WAAW,GAAG,MAAM,CAAC;AAE1B,MAAM,MAAM,cAAc,GACtB,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC,CAAC,GACF,SAAS,CAAC;AAEd,wBAAgB,cAAc,CAC5B,KAAK,EAAE,WAAW,EAClB,KAAK,EAAE,WAAW,GAAG,GAAG,EACxB,cAAc,GAAE,cAAmB,qBAiBpC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Handlers for: GLOBUS_SDK_ENVIRONMENT
|
|
3
|
+
*/
|
|
4
|
+
export declare const ENVIRONMENTS: {
|
|
5
|
+
readonly PRODUCTION: "production";
|
|
6
|
+
readonly PREVIEW: "preview";
|
|
7
|
+
readonly STAGING: "staging";
|
|
8
|
+
readonly SANDBOX: "sandbox";
|
|
9
|
+
readonly INTEGRATION: "integration";
|
|
10
|
+
readonly TEST: "test";
|
|
11
|
+
};
|
|
12
|
+
export type Environment = (typeof ENVIRONMENTS)[keyof typeof ENVIRONMENTS];
|
|
13
|
+
export declare function getEnvironment(): Environment;
|
|
14
|
+
export declare const SERVICES: {
|
|
15
|
+
AUTH: string;
|
|
16
|
+
TRANSFER: string;
|
|
17
|
+
FLOWS: string;
|
|
18
|
+
SEARCH: string;
|
|
19
|
+
};
|
|
20
|
+
export type Service = keyof typeof SERVICES;
|
|
21
|
+
export declare const SERVICE_HOSTS: Record<Service, Partial<Record<Environment, string>>>;
|
|
22
|
+
/**
|
|
23
|
+
* Handlers for: GLOBUS_SDK_VERIFY_SSL
|
|
24
|
+
* Since disabling SSL is at least not-recommended, we consider
|
|
25
|
+
* this value to always be true, but provide a warning when it set
|
|
26
|
+
* to one of the falsey values for informational purposes.
|
|
27
|
+
*
|
|
28
|
+
* Taking direction from `globus-sdk-python` for possible false values
|
|
29
|
+
* @see https://github.com/globus/globus-sdk-python/blob/18eced9c12e2ec41745d1be183148845198b999c/src/globus_sdk/config/env_vars.py#L20
|
|
30
|
+
*/
|
|
31
|
+
export declare function getVerifySSL(): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Handlers for: GLOBUS_SDK_HTTP_TIMEOUT
|
|
34
|
+
*/
|
|
35
|
+
export declare function getHttpTimeout(): number | null;
|
|
36
|
+
export declare function getServiceBaseUrl(service: Service, environment?: Environment): `https://${string}` | undefined;
|
|
37
|
+
//# sourceMappingURL=global.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/global.ts"],"names":[],"mappings":"AAgCA;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;CAOf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE3E,wBAAgB,cAAc,IAAI,WAAW,CAY5C;AAED,eAAO,MAAM,QAAQ;;;;;CAKpB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE5C,eAAO,MAAM,aAAa,EAAE,MAAM,CAChC,OAAO,EACP,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAMrC,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,YAAY,IAAI,OAAO,CAUtC;AAED;;GAEG;AACH,wBAAgB,cAAc,kBAM7B;AAMD,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,OAAO,EAChB,WAAW,GAAE,WAA8B,mCAO5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/core/internals/__mocks__/fetch.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,EAAE,cAAc,UAAU,CACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/core/internals/fetch.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,KAAK,yBAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Acts as a basic wrapper for storage layers to make their surface APIs consistent.
|
|
3
|
+
*/
|
|
4
|
+
export interface StorageSystem {
|
|
5
|
+
get(key: string): any | undefined;
|
|
6
|
+
set(key: string, value: any): void;
|
|
7
|
+
remove(key: string): void;
|
|
8
|
+
clear(): void;
|
|
9
|
+
}
|
|
10
|
+
type StorageOptions = "localStorage" | "memory" | {
|
|
11
|
+
new (): StorageSystem;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Returns the active storage system or creates an instance for the running process.
|
|
15
|
+
*/
|
|
16
|
+
export declare function createStorage(storageType?: StorageOptions): StorageSystem;
|
|
17
|
+
export default createStorage;
|
|
18
|
+
export declare function getStorage(): StorageSystem;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/core/storage/index.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS,CAAC;IAClC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IACnC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,IAAI,IAAI,CAAC;CACf;AAGD,KAAK,cAAc,GACf,cAAc,GACd,QAAQ,GACR;IACE,QAAQ,aAAa,CAAC;CACvB,CAAC;AAEN;;GAEG;AACH,wBAAgB,aAAa,CAC3B,WAAW,GAAE,cAAyB,GACrC,aAAa,CAaf;AAED,eAAe,aAAa,CAAC;AAE7B,wBAAgB,UAAU,kBAKzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-storage.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/core/storage/local-storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,qBAAa,YAAa,YAAW,aAAa;IAChD,GAAG,CAAC,GAAG,EAAE,MAAM;IAKf,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;IAI3B,MAAM,CAAC,GAAG,EAAE,MAAM;IAIlB,KAAK;CAGN"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StorageSystem } from "./index";
|
|
2
|
+
export declare class MemoryStorage implements StorageSystem {
|
|
3
|
+
#private;
|
|
4
|
+
get(key: string): any;
|
|
5
|
+
set(key: string, value: any): void;
|
|
6
|
+
remove(key: string): void;
|
|
7
|
+
clear(): void;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=memory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/core/storage/memory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,qBAAa,aAAc,YAAW,aAAa;;IAGjD,GAAG,CAAC,GAAG,EAAE,MAAM;IAIf,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;IAI3B,MAAM,CAAC,GAAG,EAAE,MAAM;IAIlB,KAAK;CAGN"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Environment } from "./global";
|
|
2
|
+
import type { Service } from "./global";
|
|
3
|
+
export declare function getServiceURL(service: Service, path?: string, environment?: Environment): URL;
|
|
4
|
+
export declare function build(service: Service, path: string, options?: {
|
|
5
|
+
search?: ConstructorParameters<typeof URLSearchParams>[0];
|
|
6
|
+
}): string;
|
|
7
|
+
//# sourceMappingURL=url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,WAAW,EAAE,MAAM,UAAU,CAAC;AAC1E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAExC,wBAAgB,aAAa,CAC3B,OAAO,EAAE,OAAO,EAChB,IAAI,SAAK,EACT,WAAW,GAAE,WAA8B,GAC1C,GAAG,CAGL;AAED,wBAAgB,KAAK,CACnB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE;IACR,MAAM,CAAC,EAAE,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3D,UAQF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../../../src/lib/sdk.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,IAAI,MAAM,CAE5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/auth/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,EAAE,SAAS,CAAC;AACzB,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as AUTH from "./config";
|
|
2
|
+
export declare const CONFIG: typeof AUTH;
|
|
3
|
+
import type ITokenResponse from "js-pkce/dist/ITokenResponse";
|
|
4
|
+
export declare function getAuthorizationEndpoint(): string;
|
|
5
|
+
export declare function getTokenEndpoint(): string;
|
|
6
|
+
export type Token = ITokenResponse & {
|
|
7
|
+
resource_server: string;
|
|
8
|
+
id_token?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @see https://docs.globus.org/api/auth/reference/#authorization_code_grant_preferred
|
|
12
|
+
*/
|
|
13
|
+
export type TokenResponse = Token & {
|
|
14
|
+
state: string;
|
|
15
|
+
other_tokens: Token[];
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/auth/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,IAAI,MAAM,UAAU,CAAC;AACjC,eAAO,MAAM,MAAM,aAAO,CAAC;AAE3B,OAAO,KAAK,cAAc,MAAM,6BAA6B,CAAC;AAE9D,wBAAgB,wBAAwB,WAEvC;AAED,wBAAgB,gBAAgB,WAE/B;AAED,MAAM,MAAM,KAAK,GAAG,cAAc,GAAG;IACnC,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AACF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,KAAK,EAAE,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import ITokenResponse from "js-pkce/dist/ITokenResponse";
|
|
2
|
+
export declare namespace Globus.Auth {
|
|
3
|
+
type Token = ITokenResponse & {
|
|
4
|
+
resource_server: string;
|
|
5
|
+
id_token?: string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* @see https://docs.globus.org/api/auth/reference/#authorization_code_grant_preferred
|
|
9
|
+
*/
|
|
10
|
+
type TokenResponse = Token & {
|
|
11
|
+
state: string;
|
|
12
|
+
other_tokens: Token[];
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAEzD,yBAAiB,MAAM,CAAC,IAAI,CAAC;IAC3B,KAAY,KAAK,GAAG,cAAc,GAAG;QACnC,eAAe,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF;;OAEG;IACH,KAAY,aAAa,GAAG,KAAK,GAAG;QAClC,KAAK,EAAE,MAAM,CAAC;QACd,YAAY,EAAE,KAAK,EAAE,CAAC;KACvB,CAAC;CACH"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Environment } from "../../core/global";
|
|
2
|
+
export declare const ID = "FLOWS";
|
|
3
|
+
export declare const HOSTS: Partial<Record<Environment, string>>;
|
|
4
|
+
/**
|
|
5
|
+
* @see https://docs.globus.org/api/flows/overview/#scopes
|
|
6
|
+
*/
|
|
7
|
+
export declare const SCOPES: {
|
|
8
|
+
MANAGE_FLOWS: string;
|
|
9
|
+
VIEW_FLOWS: string;
|
|
10
|
+
RUN: string;
|
|
11
|
+
RUN_STATUS: string;
|
|
12
|
+
RUN_MANAGE: string;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,EAAE,UAAU,CAAC;AAC1B,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;CAUlB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description A wrapper around the Globus Flows service.
|
|
3
|
+
* @category Service
|
|
4
|
+
* @see [Globus Flows API Documentation](https://docs.globus.org/api/flows/)
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import * as FLOWS from "./config";
|
|
8
|
+
export declare const CONFIG: typeof FLOWS;
|
|
9
|
+
export * as flows from "./service/flows";
|
|
10
|
+
export * as runs from "./service/runs";
|
|
11
|
+
export * as batch from "./service/batch";
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,eAAO,MAAM,MAAM,cAAQ,CAAC;AAE5B,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/flows/service/batch.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @see https://globusonline.github.io/flows/#tag/Flows/paths/~1flows/get
|
|
3
|
+
*/
|
|
4
|
+
export declare const getAll: (parameters?: Record<string, string> | undefined, options?: import("../../../services/types").SDKOptions | undefined) => Promise<Response>;
|
|
5
|
+
/**
|
|
6
|
+
* @see https://globusonline.github.io/flows/#tag/Flows/paths/~1flows~1{flow_id}/get
|
|
7
|
+
*/
|
|
8
|
+
export declare const get: (flow_id: string, _parameters: undefined, sdkOptions?: import("../../../services/types").SDKOptions | undefined) => Promise<Response>;
|
|
9
|
+
/**
|
|
10
|
+
* @see https://globusonline.github.io/flows/#tag/Flows/paths/~1flows~1{flow_id}/delete
|
|
11
|
+
*/
|
|
12
|
+
export declare const destroy: (flow_id: string, _parameters?: undefined, sdkOptions?: import("../../../services/types").SDKOptions | undefined) => Promise<Response>;
|
|
13
|
+
//# sourceMappingURL=flows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/flows/service/flows.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,eAAO,MAAM,MAAM,4IAQ8B,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,GAAG,uIAIuC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,OAAO,wIAKmC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @see https://globusonline.github.io/flows/#tag/Runs/paths/~1runs/get
|
|
4
|
+
*/
|
|
5
|
+
export declare const getAll: (parameters?: Record<string, string> | undefined, options?: import("../../../services/types").SDKOptions | undefined) => Promise<Response>;
|
|
6
|
+
//# sourceMappingURL=runs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/flows/service/runs.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,eAAO,MAAM,MAAM,4IAQ8B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description A wrapper around the Globus Flows service.
|
|
3
|
+
* @category Service
|
|
4
|
+
* @see [Globus Connect Server Manager API Documentation](https://docs.globus.org/globus-connect-server/v5.4/api/)
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import { build as _build } from "../../core/url";
|
|
8
|
+
type BuildParameters = Parameters<typeof _build>;
|
|
9
|
+
export declare function getRequiredScopes(): string;
|
|
10
|
+
export declare function build(path: BuildParameters[1], options: BuildParameters[2]): string;
|
|
11
|
+
export * as versioning from "./service/versioning";
|
|
12
|
+
export * as endpoint from "./service/endpoint";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACjD,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAajD,wBAAgB,iBAAiB,WAEhC;AAED,wBAAgB,KAAK,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,UAO1E;AAED,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#getEndpoint
|
|
3
|
+
*/
|
|
4
|
+
export declare const get: (parameters?: Record<string, string> | undefined, options?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
5
|
+
//# sourceMappingURL=endpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,GAAG,gIAQiC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Versioning/#getInfo
|
|
4
|
+
*/
|
|
5
|
+
export declare const getAll: (parameters?: Record<string, string> | undefined, options?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
6
|
+
//# sourceMappingURL=versioning.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"versioning.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,MAAM,gIAQ8B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Environment } from "../../core/global";
|
|
2
|
+
export declare const ID = "SEARCH";
|
|
3
|
+
export declare const HOSTS: Partial<Record<Environment, string>>;
|
|
4
|
+
/**
|
|
5
|
+
* @see https://docs.globus.org/api/search/api_usage/#scopes
|
|
6
|
+
*/
|
|
7
|
+
export declare const SCOPES: {
|
|
8
|
+
ALL: string;
|
|
9
|
+
INGEST: string;
|
|
10
|
+
SEARCH: string;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/search/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,EAAE,WAAW,CAAC;AAC3B,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description A wrapper around the Globus Search service.
|
|
3
|
+
* @category Service
|
|
4
|
+
* @see [Globus Search API Documentation](https://docs.globus.org/api/search/reference/)
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import * as SEARCH from "./config";
|
|
8
|
+
export declare const CONFIG: typeof SEARCH;
|
|
9
|
+
export * as query from "./service/query";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/search/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,eAAO,MAAM,MAAM,eAAS,CAAC;AAE7B,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param index_id The UUID of the index to query.
|
|
3
|
+
* @param parameters The query parameters.
|
|
4
|
+
* @param sdkOptions Optional SDK options and overrides.
|
|
5
|
+
*
|
|
6
|
+
* @see https://docs.globus.org/api/search/reference/get_query/
|
|
7
|
+
*/
|
|
8
|
+
export declare const get: (index_id: string, parameters: {
|
|
9
|
+
q: string;
|
|
10
|
+
offset?: `${number}` | undefined;
|
|
11
|
+
limit?: `${number}` | undefined;
|
|
12
|
+
advanced?: "true" | "false" | undefined;
|
|
13
|
+
bypass_visible_to?: "true" | "false" | undefined;
|
|
14
|
+
result_format_version?: string | undefined;
|
|
15
|
+
filter_principal_sets?: string | undefined;
|
|
16
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
17
|
+
//# sourceMappingURL=query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/search/service/query.ts"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,eAAO,MAAM,GAAG;OAgBT,MAAM;;;;;;;8FAQZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/shared.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,EAAE,aAAa,CAAC;AAC7B,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description A wrapper around the Globus Transfer service.
|
|
3
|
+
* @category Service
|
|
4
|
+
* @see [Globus Transfer API Documentation](https://docs.globus.org/api/transfer/)
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import * as TRANSFER from "./config";
|
|
8
|
+
export declare const CONFIG: typeof TRANSFER;
|
|
9
|
+
export declare const endpointSearch: (parameters?: Globus.Transfer.EndpointSearchQuery | undefined, options?: import("../types").SDKOptions | undefined) => Promise<Response>;
|
|
10
|
+
export * as fileOperations from "./service/file-operations";
|
|
11
|
+
export * as taskSubmission from "./service/task-submission";
|
|
12
|
+
export * as endpoint from "./service/endpoint";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,MAAM,iBAAW,CAAC;AAG/B,eAAO,MAAM,cAAc,0IAAkB,CAAC;AAC9C,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @see https://docs.globus.org/api/transfer/endpoint_search/#endpoint_search
|
|
3
|
+
*/
|
|
4
|
+
export declare const endpointSearch: (parameters?: Globus.Transfer.EndpointSearchQuery, options?: import("../../../services/types").SDKOptions | undefined) => Promise<Response>;
|
|
5
|
+
export default endpointSearch;
|
|
6
|
+
//# sourceMappingURL=endpoint-search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoint-search.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,cAAc,gBAIZ,OAAO,QAAQ,CAAC,mBAAmB,0FAkBY,CAAC;AAE/D,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,eAAO,MAAM,GAAG,0IAYf,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List the contents of the directory at the specified path on an endpoint’s filesystem.
|
|
3
|
+
* The endpoint must be activated before performing this operation.
|
|
4
|
+
*
|
|
5
|
+
* @see https://docs.globus.org/api/transfer/file_operations/#list_directory_contents
|
|
6
|
+
*/
|
|
7
|
+
export declare const ls: (endpoint_xid: string, parameters?: Globus.Transfer.DirectoryListingQuery | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
8
|
+
/**
|
|
9
|
+
* Create a directory at the specified path on an endpoint filesystem.
|
|
10
|
+
* The endpoint must be activated before performing this operation.
|
|
11
|
+
*
|
|
12
|
+
* @see https://docs.globus.org/api/transfer/file_operations/#make_directory
|
|
13
|
+
*/
|
|
14
|
+
export declare const mkdir: (endpoint_xid: string, options: {
|
|
15
|
+
payload: Omit<Globus.Transfer.Request.Mkdir, "DATA_TYPE">;
|
|
16
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
17
|
+
/**
|
|
18
|
+
* Rename or move a file, directory, or symlink on an endpoint filesystem.
|
|
19
|
+
* If the object is a symlink, the symlink itself is renamed, not its target
|
|
20
|
+
* The endpoint must be activated before performing this operation.
|
|
21
|
+
* When moving to a different parent directory, the parent directory of the new path must already exist.
|
|
22
|
+
*
|
|
23
|
+
* @see https://docs.globus.org/api/transfer/file_operations/#rename
|
|
24
|
+
*/
|
|
25
|
+
export declare const rename: (endpoint_xid: string, options: {
|
|
26
|
+
payload: Omit<Globus.Transfer.Request.Rename, "DATA_TYPE">;
|
|
27
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
28
|
+
/**
|
|
29
|
+
* Create a directory at the specified path on an endpoint filesystem.
|
|
30
|
+
* The endpoint must be activated before performing this operation.
|
|
31
|
+
*
|
|
32
|
+
* @see https://docs.globus.org/api/transfer/file_operations/#symlink
|
|
33
|
+
*/
|
|
34
|
+
export declare const symlink: (endpoint_xid: string, options: {
|
|
35
|
+
payload: Omit<Globus.Transfer.Request.Symlink, "DATA_TYPE">;
|
|
36
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
37
|
+
//# sourceMappingURL=file-operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-operations.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/transfer/service/file-operations.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,EAAE,wKAWd,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK;aAmBL,KAAK,OAAO,QAAQ,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;8FAE5D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM;aAmBN,KAAK,OAAO,QAAQ,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;8FAE7D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO;aAmBP,KAAK,OAAO,QAAQ,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;8FAE9D,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SDKOptions, ServiceMethod } from "../../types";
|
|
2
|
+
/**
|
|
3
|
+
* Submit a delete task. A delete submission contains a single endpoint and a
|
|
4
|
+
* list of paths to delete.
|
|
5
|
+
*
|
|
6
|
+
* @see https://docs.globus.org/api/transfer/task_submit/#submit_delete_task
|
|
7
|
+
*/
|
|
8
|
+
export declare const submitDelete: ServiceMethod<{
|
|
9
|
+
payload: Omit<Globus.Transfer.Request.Delete, "DATA_TYPE">;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const submitTransfer: ServiceMethod<{
|
|
12
|
+
payload: Omit<Globus.Transfer.Request.Transfer, "DATA_TYPE">;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Get a submission id, required when submitting transfer and delete tasks.
|
|
16
|
+
* Note that this is different than the task id returned by the submit operations.
|
|
17
|
+
*
|
|
18
|
+
* @see https://docs.globus.org/api/transfer/task_submit/#get_submission_id
|
|
19
|
+
*/
|
|
20
|
+
export declare function submissionId(options?: SDKOptions): Promise<Response>;
|
|
21
|
+
//# sourceMappingURL=task-submission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-submission.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/transfer/service/task-submission.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAK7D;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC;IACvC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;CAC5D,CAgBA,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC;IACzC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;CAC9D,CAcA,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,OAAO,CAAC,EAAE,UAAU,qBAQhD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,OAAO,YAAY,GAChC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAOrB"}
|