@globus/sdk 1.14.0 → 1.15.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/README.md +14 -16
- package/cjs/index.d.ts +23 -8
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +15 -0
- package/cjs/index.js.map +1 -1
- package/cjs/lib/core/authorization.d.ts +4 -4
- package/cjs/lib/core/authorization.d.ts.map +1 -1
- package/cjs/lib/core/authorization.js +9 -8
- package/cjs/lib/core/authorization.js.map +1 -1
- package/cjs/lib/core/consent.d.ts +2 -2
- package/cjs/lib/core/consent.d.ts.map +1 -1
- package/cjs/lib/core/consent.js +2 -2
- package/cjs/lib/core/consent.js.map +1 -1
- package/cjs/lib/core/errors.d.ts.map +1 -1
- package/cjs/lib/core/errors.js +1 -1
- package/cjs/lib/core/errors.js.map +1 -1
- package/cjs/lib/core/fetch.d.ts +2 -2
- package/cjs/lib/core/fetch.d.ts.map +1 -1
- package/cjs/lib/core/fetch.js +5 -4
- package/cjs/lib/core/fetch.js.map +1 -1
- package/cjs/lib/core/global.d.ts +1 -1
- package/cjs/lib/core/global.d.ts.map +1 -1
- package/cjs/lib/core/global.js +15 -15
- package/cjs/lib/core/global.js.map +1 -1
- package/cjs/lib/core/internals/fetch.d.ts.map +1 -1
- package/cjs/lib/core/internals/fetch.js.map +1 -1
- package/cjs/lib/core/storage/index.d.ts +1 -1
- package/cjs/lib/core/storage/index.d.ts.map +1 -1
- package/cjs/lib/core/storage/index.js +5 -4
- package/cjs/lib/core/storage/index.js.map +1 -1
- package/cjs/lib/core/storage/local-storage.d.ts +1 -1
- package/cjs/lib/core/storage/local-storage.d.ts.map +1 -1
- package/cjs/lib/core/storage/local-storage.js.map +1 -1
- package/cjs/lib/core/storage/memory.d.ts +1 -1
- package/cjs/lib/core/url.d.ts +13 -13
- package/cjs/lib/core/url.d.ts.map +1 -1
- package/cjs/lib/core/url.js +26 -26
- package/cjs/lib/core/url.js.map +1 -1
- package/cjs/lib/services/auth/config.d.ts +1 -1
- package/cjs/lib/services/auth/config.js +8 -8
- package/cjs/lib/services/auth/index.d.ts +9 -3
- package/cjs/lib/services/auth/index.d.ts.map +1 -1
- package/cjs/lib/services/auth/index.js +2 -8
- package/cjs/lib/services/auth/index.js.map +1 -1
- package/cjs/lib/services/auth/service/identities.d.ts.map +1 -1
- package/cjs/lib/services/auth/service/identities.js.map +1 -1
- package/cjs/lib/services/auth/types.d.ts +1 -1
- package/cjs/lib/services/flows/config.d.ts +1 -1
- package/cjs/lib/services/flows/config.d.ts.map +1 -1
- package/cjs/lib/services/flows/config.js +12 -12
- package/cjs/lib/services/flows/config.js.map +1 -1
- package/cjs/lib/services/flows/index.d.ts +3 -3
- package/cjs/lib/services/flows/service/flows.d.ts +13 -0
- package/cjs/lib/services/flows/service/flows.d.ts.map +1 -1
- package/cjs/lib/services/flows/service/flows.js +7 -2
- package/cjs/lib/services/flows/service/flows.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/client.d.ts +19 -1
- package/cjs/lib/services/globus-connect-server/client.d.ts.map +1 -1
- package/cjs/lib/services/globus-connect-server/client.js +1 -0
- package/cjs/lib/services/globus-connect-server/client.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/index.d.ts +11 -11
- package/cjs/lib/services/globus-connect-server/index.d.ts.map +1 -1
- package/cjs/lib/services/globus-connect-server/index.js +3 -3
- package/cjs/lib/services/globus-connect-server/index.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/collections.d.ts +16 -4
- package/cjs/lib/services/globus-connect-server/service/collections.d.ts.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/collections.js +12 -1
- package/cjs/lib/services/globus-connect-server/service/collections.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/endpoint.d.ts +7 -7
- package/cjs/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/roles.d.ts +7 -7
- package/cjs/lib/services/globus-connect-server/service/roles.d.ts.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/roles.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/storage-gateways.d.ts +4 -4
- package/cjs/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/user-credentials.d.ts +4 -4
- package/cjs/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/user-credentials.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/versioning.d.ts +3 -3
- package/cjs/lib/services/globus-connect-server/service/versioning.d.ts.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/versioning.js.map +1 -1
- package/cjs/lib/services/groups/config.d.ts +1 -1
- package/cjs/lib/services/groups/config.d.ts.map +1 -1
- package/cjs/lib/services/groups/config.js +9 -9
- package/cjs/lib/services/groups/config.js.map +1 -1
- package/cjs/lib/services/groups/index.d.ts +4 -4
- package/cjs/lib/services/groups/service/groups.d.ts +5 -5
- package/cjs/lib/services/groups/service/groups.d.ts.map +1 -1
- package/cjs/lib/services/groups/service/groups.js.map +1 -1
- package/cjs/lib/services/groups/service/membership.d.ts +4 -4
- package/cjs/lib/services/groups/service/membership.d.ts.map +1 -1
- package/cjs/lib/services/groups/service/membership.js +2 -2
- package/cjs/lib/services/groups/service/membership.js.map +1 -1
- package/cjs/lib/services/groups/service/policies.d.ts +3 -3
- package/cjs/lib/services/groups/service/policies.d.ts.map +1 -1
- package/cjs/lib/services/groups/service/policies.js.map +1 -1
- package/cjs/lib/services/search/config.d.ts +1 -1
- package/cjs/lib/services/search/config.js +10 -10
- package/cjs/lib/services/search/index.d.ts +2 -2
- package/cjs/lib/services/search/service/query.d.ts +1 -1
- package/cjs/lib/services/search/service/query.d.ts.map +1 -1
- package/cjs/lib/services/search/service/query.js.map +1 -1
- package/cjs/lib/services/shared.d.ts +3 -3
- package/cjs/lib/services/shared.d.ts.map +1 -1
- package/cjs/lib/services/shared.js +1 -0
- package/cjs/lib/services/shared.js.map +1 -1
- package/cjs/lib/services/timer/config.d.ts +1 -1
- package/cjs/lib/services/timer/config.js +7 -7
- package/cjs/lib/services/timer/index.d.ts +2 -2
- package/cjs/lib/services/timer/index.d.ts.map +1 -1
- package/cjs/lib/services/timer/index.js +2 -2
- package/cjs/lib/services/timer/index.js.map +1 -1
- package/cjs/lib/services/timer/service/timer.d.ts +3 -3
- package/cjs/lib/services/timer/service/timer.d.ts.map +1 -1
- package/cjs/lib/services/timer/service/timer.js +2 -2
- package/cjs/lib/services/timer/service/timer.js.map +1 -1
- package/cjs/lib/services/transfer/config.d.ts +1 -1
- package/cjs/lib/services/transfer/config.js +7 -7
- package/cjs/lib/services/transfer/index.d.ts +5 -5
- package/cjs/lib/services/transfer/index.d.ts.map +1 -1
- package/cjs/lib/services/transfer/index.js +2 -2
- package/cjs/lib/services/transfer/index.js.map +1 -1
- package/cjs/lib/services/transfer/service/endpoint-search.d.ts +2 -2
- package/cjs/lib/services/transfer/service/endpoint-search.d.ts.map +1 -1
- package/cjs/lib/services/transfer/service/endpoint-search.js +1 -1
- package/cjs/lib/services/transfer/service/endpoint-search.js.map +1 -1
- package/cjs/lib/services/transfer/service/endpoint.d.ts.map +1 -1
- package/cjs/lib/services/transfer/service/endpoint.js +1 -1
- package/cjs/lib/services/transfer/service/endpoint.js.map +1 -1
- package/cjs/lib/services/transfer/service/file-operations.d.ts +4 -4
- package/cjs/lib/services/transfer/service/file-operations.js +7 -7
- package/cjs/lib/services/transfer/service/task-submission.d.ts +4 -4
- package/cjs/lib/services/transfer/service/task-submission.js +5 -5
- package/cjs/lib/services/transfer/shared.d.ts +1 -1
- package/cjs/lib/services/transfer/shared.d.ts.map +1 -1
- package/cjs/lib/services/transfer/shared.js +1 -1
- package/cjs/lib/services/transfer/shared.js.map +1 -1
- package/cjs/lib/services/transfer/types.d.ts +5 -5
- package/cjs/lib/services/types.d.ts +7 -7
- package/cjs/lib/services/types.d.ts.map +1 -1
- package/esm/index.d.ts +23 -8
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +23 -8
- package/esm/index.js.map +1 -1
- package/esm/lib/core/authorization.d.ts +4 -4
- package/esm/lib/core/authorization.d.ts.map +1 -1
- package/esm/lib/core/authorization.js +13 -12
- package/esm/lib/core/authorization.js.map +1 -1
- package/esm/lib/core/consent.d.ts +2 -2
- package/esm/lib/core/consent.d.ts.map +1 -1
- package/esm/lib/core/consent.js +3 -3
- package/esm/lib/core/consent.js.map +1 -1
- package/esm/lib/core/errors.d.ts.map +1 -1
- package/esm/lib/core/errors.js +1 -1
- package/esm/lib/core/errors.js.map +1 -1
- package/esm/lib/core/fetch.d.ts +2 -2
- package/esm/lib/core/fetch.d.ts.map +1 -1
- package/esm/lib/core/fetch.js +7 -6
- package/esm/lib/core/fetch.js.map +1 -1
- package/esm/lib/core/global.d.ts +1 -1
- package/esm/lib/core/global.d.ts.map +1 -1
- package/esm/lib/core/global.js +22 -22
- package/esm/lib/core/global.js.map +1 -1
- package/esm/lib/core/internals/fetch.d.ts.map +1 -1
- package/esm/lib/core/internals/fetch.js +1 -1
- package/esm/lib/core/internals/fetch.js.map +1 -1
- package/esm/lib/core/storage/index.d.ts +1 -1
- package/esm/lib/core/storage/index.d.ts.map +1 -1
- package/esm/lib/core/storage/index.js +7 -6
- package/esm/lib/core/storage/index.js.map +1 -1
- package/esm/lib/core/storage/local-storage.d.ts +1 -1
- package/esm/lib/core/storage/local-storage.d.ts.map +1 -1
- package/esm/lib/core/storage/local-storage.js.map +1 -1
- package/esm/lib/core/storage/memory.d.ts +1 -1
- package/esm/lib/core/url.d.ts +13 -13
- package/esm/lib/core/url.d.ts.map +1 -1
- package/esm/lib/core/url.js +25 -25
- package/esm/lib/core/url.js.map +1 -1
- package/esm/lib/services/auth/config.d.ts +1 -1
- package/esm/lib/services/auth/config.js +8 -8
- package/esm/lib/services/auth/index.d.ts +9 -3
- package/esm/lib/services/auth/index.d.ts.map +1 -1
- package/esm/lib/services/auth/index.js +5 -11
- package/esm/lib/services/auth/index.js.map +1 -1
- package/esm/lib/services/auth/service/identities.d.ts.map +1 -1
- package/esm/lib/services/auth/service/identities.js +2 -2
- package/esm/lib/services/auth/service/identities.js.map +1 -1
- package/esm/lib/services/auth/types.d.ts +1 -1
- package/esm/lib/services/flows/config.d.ts +1 -1
- package/esm/lib/services/flows/config.d.ts.map +1 -1
- package/esm/lib/services/flows/config.js +12 -12
- package/esm/lib/services/flows/config.js.map +1 -1
- package/esm/lib/services/flows/index.d.ts +3 -3
- package/esm/lib/services/flows/index.js +3 -3
- package/esm/lib/services/flows/service/flows.d.ts +13 -0
- package/esm/lib/services/flows/service/flows.d.ts.map +1 -1
- package/esm/lib/services/flows/service/flows.js +8 -3
- package/esm/lib/services/flows/service/flows.js.map +1 -1
- package/esm/lib/services/flows/service/runs.js +2 -2
- package/esm/lib/services/globus-connect-server/client.d.ts +19 -1
- package/esm/lib/services/globus-connect-server/client.d.ts.map +1 -1
- package/esm/lib/services/globus-connect-server/client.js +7 -6
- package/esm/lib/services/globus-connect-server/client.js.map +1 -1
- package/esm/lib/services/globus-connect-server/index.d.ts +11 -11
- package/esm/lib/services/globus-connect-server/index.d.ts.map +1 -1
- package/esm/lib/services/globus-connect-server/index.js +9 -9
- package/esm/lib/services/globus-connect-server/index.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/collections.d.ts +16 -4
- package/esm/lib/services/globus-connect-server/service/collections.d.ts.map +1 -1
- package/esm/lib/services/globus-connect-server/service/collections.js +13 -2
- package/esm/lib/services/globus-connect-server/service/collections.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/endpoint.d.ts +7 -7
- package/esm/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
- package/esm/lib/services/globus-connect-server/service/endpoint.js +2 -2
- package/esm/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/roles.d.ts +7 -7
- package/esm/lib/services/globus-connect-server/service/roles.d.ts.map +1 -1
- package/esm/lib/services/globus-connect-server/service/roles.js +2 -2
- package/esm/lib/services/globus-connect-server/service/roles.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/storage-gateways.d.ts +4 -4
- package/esm/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -1
- package/esm/lib/services/globus-connect-server/service/storage-gateways.js +2 -2
- package/esm/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/user-credentials.d.ts +4 -4
- package/esm/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -1
- package/esm/lib/services/globus-connect-server/service/user-credentials.js +2 -2
- package/esm/lib/services/globus-connect-server/service/user-credentials.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/versioning.d.ts +3 -3
- package/esm/lib/services/globus-connect-server/service/versioning.d.ts.map +1 -1
- package/esm/lib/services/globus-connect-server/service/versioning.js +2 -2
- package/esm/lib/services/globus-connect-server/service/versioning.js.map +1 -1
- package/esm/lib/services/groups/config.d.ts +1 -1
- package/esm/lib/services/groups/config.d.ts.map +1 -1
- package/esm/lib/services/groups/config.js +9 -9
- package/esm/lib/services/groups/config.js.map +1 -1
- package/esm/lib/services/groups/index.d.ts +4 -4
- package/esm/lib/services/groups/index.js +4 -4
- package/esm/lib/services/groups/service/groups.d.ts +5 -5
- package/esm/lib/services/groups/service/groups.d.ts.map +1 -1
- package/esm/lib/services/groups/service/groups.js +3 -3
- package/esm/lib/services/groups/service/groups.js.map +1 -1
- package/esm/lib/services/groups/service/membership.d.ts +4 -4
- package/esm/lib/services/groups/service/membership.d.ts.map +1 -1
- package/esm/lib/services/groups/service/membership.js +5 -5
- package/esm/lib/services/groups/service/membership.js.map +1 -1
- package/esm/lib/services/groups/service/policies.d.ts +3 -3
- package/esm/lib/services/groups/service/policies.d.ts.map +1 -1
- package/esm/lib/services/groups/service/policies.js +3 -3
- package/esm/lib/services/groups/service/policies.js.map +1 -1
- package/esm/lib/services/search/config.d.ts +1 -1
- package/esm/lib/services/search/config.js +10 -10
- package/esm/lib/services/search/index.d.ts +2 -2
- package/esm/lib/services/search/index.js +2 -2
- package/esm/lib/services/search/service/query.d.ts +1 -1
- package/esm/lib/services/search/service/query.d.ts.map +1 -1
- package/esm/lib/services/search/service/query.js +2 -2
- package/esm/lib/services/search/service/query.js.map +1 -1
- package/esm/lib/services/shared.d.ts +3 -3
- package/esm/lib/services/shared.d.ts.map +1 -1
- package/esm/lib/services/shared.js +4 -3
- package/esm/lib/services/shared.js.map +1 -1
- package/esm/lib/services/timer/config.d.ts +1 -1
- package/esm/lib/services/timer/config.js +7 -7
- package/esm/lib/services/timer/index.d.ts +2 -2
- package/esm/lib/services/timer/index.d.ts.map +1 -1
- package/esm/lib/services/timer/index.js +2 -2
- package/esm/lib/services/timer/index.js.map +1 -1
- package/esm/lib/services/timer/service/timer.d.ts +3 -3
- package/esm/lib/services/timer/service/timer.d.ts.map +1 -1
- package/esm/lib/services/timer/service/timer.js +4 -4
- package/esm/lib/services/timer/service/timer.js.map +1 -1
- package/esm/lib/services/transfer/config.d.ts +1 -1
- package/esm/lib/services/transfer/config.js +7 -7
- package/esm/lib/services/transfer/index.d.ts +5 -5
- package/esm/lib/services/transfer/index.d.ts.map +1 -1
- package/esm/lib/services/transfer/index.js +5 -5
- package/esm/lib/services/transfer/index.js.map +1 -1
- package/esm/lib/services/transfer/service/endpoint-search.d.ts +2 -2
- package/esm/lib/services/transfer/service/endpoint-search.d.ts.map +1 -1
- package/esm/lib/services/transfer/service/endpoint-search.js +3 -3
- package/esm/lib/services/transfer/service/endpoint-search.js.map +1 -1
- package/esm/lib/services/transfer/service/endpoint.d.ts.map +1 -1
- package/esm/lib/services/transfer/service/endpoint.js +3 -3
- package/esm/lib/services/transfer/service/endpoint.js.map +1 -1
- package/esm/lib/services/transfer/service/file-operations.d.ts +4 -4
- package/esm/lib/services/transfer/service/file-operations.js +10 -10
- package/esm/lib/services/transfer/service/task-submission.d.ts +4 -4
- package/esm/lib/services/transfer/service/task-submission.js +8 -8
- package/esm/lib/services/transfer/shared.d.ts +1 -1
- package/esm/lib/services/transfer/shared.d.ts.map +1 -1
- package/esm/lib/services/transfer/shared.js +2 -2
- package/esm/lib/services/transfer/shared.js.map +1 -1
- package/esm/lib/services/transfer/types.d.ts +5 -5
- package/esm/lib/services/types.d.ts +7 -7
- package/esm/lib/services/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/globus.production.js +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HOSTS = exports.ID = void 0;
|
|
4
|
-
exports.ID =
|
|
4
|
+
exports.ID = 'TIMER';
|
|
5
5
|
exports.HOSTS = {
|
|
6
|
-
sandbox:
|
|
7
|
-
production:
|
|
8
|
-
staging:
|
|
9
|
-
integration:
|
|
10
|
-
test:
|
|
11
|
-
preview:
|
|
6
|
+
sandbox: 'sandbox.timer.automate.globus.org',
|
|
7
|
+
production: 'timer.automate.globus.org',
|
|
8
|
+
staging: 'staging.timer.automate.globus.org',
|
|
9
|
+
integration: 'integration.timer.automate.globus.org',
|
|
10
|
+
test: 'test.timer.automate.globus.org',
|
|
11
|
+
preview: 'preview.timer.automate.globus.org',
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=config.js.map
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* @see [Globus Timer API Documentation](https://timer.automate.globus.org/docs#/)
|
|
5
5
|
* @module
|
|
6
6
|
*/
|
|
7
|
-
import * as TIMER from
|
|
7
|
+
import * as TIMER from './config.js';
|
|
8
|
+
import { create } from './service/timer.js';
|
|
8
9
|
/**
|
|
9
10
|
* @private
|
|
10
11
|
* @internal
|
|
11
12
|
*/
|
|
12
13
|
export declare const CONFIG: typeof TIMER;
|
|
13
|
-
import { create } from "./service/timer.js";
|
|
14
14
|
export { create };
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/timer/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAErC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/timer/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,MAAM,cAAQ,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -9,11 +9,11 @@ const tslib_1 = require("tslib");
|
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
11
|
const TIMER = tslib_1.__importStar(require("./config.js"));
|
|
12
|
+
const timer_js_1 = require("./service/timer.js");
|
|
13
|
+
Object.defineProperty(exports, "create", { enumerable: true, get: function () { return timer_js_1.create; } });
|
|
12
14
|
/**
|
|
13
15
|
* @private
|
|
14
16
|
* @internal
|
|
15
17
|
*/
|
|
16
18
|
exports.CONFIG = TIMER;
|
|
17
|
-
const timer_js_1 = require("./service/timer.js");
|
|
18
|
-
Object.defineProperty(exports, "create", { enumerable: true, get: function () { return timer_js_1.create; } });
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/timer/index.ts"],"names":[],"mappings":";;;;AAAA;;;;;GAKG;AACH,2DAAqC;AAErC;;;GAGG;AACU,QAAA,MAAM,GAAG,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/timer/index.ts"],"names":[],"mappings":";;;;AAAA;;;;;GAKG;AACH,2DAAqC;AAErC,iDAA4C;AAOnC,uFAPA,iBAAM,OAOA;AALf;;;GAGG;AACU,QAAA,MAAM,GAAG,KAAK,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { components } from
|
|
2
|
-
import type { SDKOptions } from
|
|
1
|
+
import type { components } from '@globus/types/timer';
|
|
2
|
+
import type { SDKOptions } from '../../types.js';
|
|
3
3
|
export declare const create: (options: ({
|
|
4
|
-
payload: components[
|
|
4
|
+
payload: components['schemas']['V2TimerCreate'];
|
|
5
5
|
} & {
|
|
6
6
|
query?: {
|
|
7
7
|
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timer.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/timer/service/timer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"timer.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/timer/service/timer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAItD,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,MAAM;aAYR,UAAU,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC;;;;;;6BAZK,UAAU,sBAa9D,CAAC"}
|
|
@@ -6,8 +6,8 @@ const config_js_1 = require("../config.js");
|
|
|
6
6
|
exports.create = function (options, sdkOptions) {
|
|
7
7
|
return (0, shared_js_1.serviceRequest)({
|
|
8
8
|
service: config_js_1.ID,
|
|
9
|
-
scope:
|
|
10
|
-
path:
|
|
9
|
+
scope: 'https://auth.globus.org/scopes/524230d7-ea86-4a52-8312-86065a9e0417/timer',
|
|
10
|
+
path: '/v2/timer',
|
|
11
11
|
method: shared_js_1.HTTP_METHODS.POST,
|
|
12
12
|
}, options, sdkOptions);
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timer.js","sourceRoot":"","sources":["../../../../../../src/lib/services/timer/service/timer.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"timer.js","sourceRoot":"","sources":["../../../../../../src/lib/services/timer/service/timer.ts"],"names":[],"mappings":";;;AACA,+CAA+D;AAC/D,4CAAkC;AAIrB,QAAA,MAAM,GAAG,UAAU,OAAO,EAAE,UAAuB;IAC9D,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,2EAA2E;QAClF,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,wBAAY,CAAC,IAAI;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HOSTS = exports.ID = void 0;
|
|
4
|
-
exports.ID =
|
|
4
|
+
exports.ID = 'TRANSFER';
|
|
5
5
|
exports.HOSTS = {
|
|
6
|
-
sandbox:
|
|
7
|
-
production:
|
|
8
|
-
staging:
|
|
9
|
-
integration:
|
|
10
|
-
test:
|
|
11
|
-
preview:
|
|
6
|
+
sandbox: 'transfer.sandbox.globuscs.info',
|
|
7
|
+
production: 'transfer.api.globusonline.org',
|
|
8
|
+
staging: 'transfer.api.staging.globuscs.info',
|
|
9
|
+
integration: 'transfer.api.integration.globuscs.info',
|
|
10
|
+
test: 'transfer.api.test.globuscs.info',
|
|
11
|
+
preview: 'transfer.api.preview.globus.org',
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=config.js.map
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* @see [Globus Transfer API Documentation](https://docs.globus.org/api/transfer/)
|
|
5
5
|
* @module
|
|
6
6
|
*/
|
|
7
|
-
import * as TRANSFER from
|
|
7
|
+
import * as TRANSFER from './config.js';
|
|
8
|
+
import { endpointSearch } from './service/endpoint-search.js';
|
|
8
9
|
/**
|
|
9
10
|
* @private
|
|
10
11
|
* @internal
|
|
11
12
|
*/
|
|
12
13
|
export declare const CONFIG: typeof TRANSFER;
|
|
13
|
-
import { endpointSearch } from "./service/endpoint-search.js";
|
|
14
14
|
export { endpointSearch };
|
|
15
|
-
export * as fileOperations from
|
|
16
|
-
export * as taskSubmission from
|
|
17
|
-
export * as endpoint from
|
|
15
|
+
export * as fileOperations from './service/file-operations.js';
|
|
16
|
+
export * as taskSubmission from './service/task-submission.js';
|
|
17
|
+
export * as endpoint from './service/endpoint.js';
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,aAAa,CAAC;AAExC;;;GAGG;AACH,eAAO,MAAM,MAAM,iBAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,QAAQ,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,MAAM,iBAAW,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,OAAO,KAAK,cAAc,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,cAAc,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAC"}
|
|
@@ -9,13 +9,13 @@ const tslib_1 = require("tslib");
|
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
11
|
const TRANSFER = tslib_1.__importStar(require("./config.js"));
|
|
12
|
+
const endpoint_search_js_1 = require("./service/endpoint-search.js");
|
|
13
|
+
Object.defineProperty(exports, "endpointSearch", { enumerable: true, get: function () { return endpoint_search_js_1.endpointSearch; } });
|
|
12
14
|
/**
|
|
13
15
|
* @private
|
|
14
16
|
* @internal
|
|
15
17
|
*/
|
|
16
18
|
exports.CONFIG = TRANSFER;
|
|
17
|
-
const endpoint_search_js_1 = require("./service/endpoint-search.js");
|
|
18
|
-
Object.defineProperty(exports, "endpointSearch", { enumerable: true, get: function () { return endpoint_search_js_1.endpointSearch; } });
|
|
19
19
|
exports.fileOperations = tslib_1.__importStar(require("./service/file-operations.js"));
|
|
20
20
|
exports.taskSubmission = tslib_1.__importStar(require("./service/task-submission.js"));
|
|
21
21
|
exports.endpoint = tslib_1.__importStar(require("./service/endpoint.js"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/index.ts"],"names":[],"mappings":";;;;AAAA;;;;;GAKG;AACH,8DAAwC;AAExC;;;GAGG;AACU,QAAA,MAAM,GAAG,QAAQ,CAAC;AAE/B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/index.ts"],"names":[],"mappings":";;;;AAAA;;;;;GAKG;AACH,8DAAwC;AAExC,qEAA8D;AAOrD,+FAPA,mCAAc,OAOA;AALvB;;;GAGG;AACU,QAAA,MAAM,GAAG,QAAQ,CAAC;AAE/B,uFAA+D;AAC/D,uFAA+D;AAC/D,0EAAkD"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/// <reference types="@globus/types/transfer" />
|
|
4
4
|
/// <reference types="@globus/types/transfer" />
|
|
5
5
|
/// <reference types="@globus/types/search" />
|
|
6
|
-
import type { BaseServiceMethodOptions, SDKOptions } from
|
|
6
|
+
import type { BaseServiceMethodOptions, SDKOptions } from '../../../services/types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Get a list of endpoints matching the search filters in a given search scope.
|
|
9
9
|
* @see https://docs.globus.org/api/transfer/endpoint_search/#endpoint_search
|
|
@@ -14,7 +14,7 @@ export declare const endpointSearch: (options?: {
|
|
|
14
14
|
* to `satisfies` `ServiceMethod`.
|
|
15
15
|
*/
|
|
16
16
|
query?: Globus.Transfer.EndpointSearchQuery;
|
|
17
|
-
headers?: BaseServiceMethodOptions[
|
|
17
|
+
headers?: BaseServiceMethodOptions['headers'];
|
|
18
18
|
}, sdkOptions?: SDKOptions) => Promise<Response>;
|
|
19
19
|
export default endpointSearch;
|
|
20
20
|
//# sourceMappingURL=endpoint-search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint-search.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":";;;;;AAGA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"endpoint-search.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":";;;;;AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAEvF;;;GAGG;AACH,eAAO,MAAM,cAAc,aAIf;IACR;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,QAAQ,CAAC,mBAAmB,CAAC;IAC5C,OAAO,CAAC,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;CAC/C,eACY,UAAU,sBAmBxB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -20,7 +20,7 @@ options, sdkOptions) {
|
|
|
20
20
|
query: options === null || options === void 0 ? void 0 : options.query });
|
|
21
21
|
return (0, shared_js_1.serviceRequest)({
|
|
22
22
|
service: config_js_1.ID,
|
|
23
|
-
scope:
|
|
23
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
24
24
|
path: `/v0.10/endpoint_search`,
|
|
25
25
|
}, serviceRequestOptions, sdkOptions);
|
|
26
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint-search.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,4CAAkC;
|
|
1
|
+
{"version":3,"file":"endpoint-search.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,4CAAkC;AAIlC;;;GAGG;AACI,MAAM,cAAc,GAAG;AAC5B;;GAEG;AACH,OAOC,EACD,UAAuB;IAEvB,MAAM,qBAAqB,mCACtB,OAAO;QACV;;;WAGG;QACH,KAAK,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAsD,GACvE,CAAC;IACF,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,mDAAmD;QAC1D,IAAI,EAAE,wBAAwB;KAC/B,EACD,qBAAqB,EACrB,UAAU,CACX,CAAC;AACJ,CAAC,CAAC;AA/BW,QAAA,cAAc,kBA+BzB;AAEF,kBAAe,sBAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,GAAG;;;;;;;;8GAiBf,CAAC"}
|
|
@@ -9,7 +9,7 @@ const config_js_1 = require("../config.js");
|
|
|
9
9
|
exports.get = function (endpoint_xid, options, sdkOptions) {
|
|
10
10
|
return (0, shared_js_1.serviceRequest)({
|
|
11
11
|
service: config_js_1.ID,
|
|
12
|
-
scope:
|
|
12
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
13
13
|
path: `/v0.10/endpoint/${endpoint_xid}`,
|
|
14
14
|
}, options, sdkOptions);
|
|
15
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AAEjD,4CAAkC;
|
|
1
|
+
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AAEjD,4CAAkC;AAIlC;;GAEG;AACU,QAAA,GAAG,GAAG,UAAU,YAAY,EAAE,OAAQ,EAAE,UAAW;IAC9D,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,mDAAmD;QAC1D,IAAI,EAAE,mBAAmB,YAAY,EAAE;KACxC,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAOC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Transfer } from
|
|
1
|
+
import type { Transfer } from '../types.js';
|
|
2
2
|
/**
|
|
3
3
|
* List the contents of the directory at the specified path on an endpoint’s filesystem.
|
|
4
4
|
* The endpoint must be activated before performing this operation.
|
|
@@ -27,7 +27,7 @@ export declare const ls: (endpoint_xid: string, options?: ({
|
|
|
27
27
|
* @see https://docs.globus.org/api/transfer/file_operations/#make_directory
|
|
28
28
|
*/
|
|
29
29
|
export declare const mkdir: (endpoint_xid: string, options: ({
|
|
30
|
-
payload: Omit<Transfer[
|
|
30
|
+
payload: Omit<Transfer['Request']['Mkdir'], 'DATA_TYPE'>;
|
|
31
31
|
} & {
|
|
32
32
|
query?: {
|
|
33
33
|
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
@@ -43,7 +43,7 @@ export declare const mkdir: (endpoint_xid: string, options: ({
|
|
|
43
43
|
* @see https://docs.globus.org/api/transfer/file_operations/#rename
|
|
44
44
|
*/
|
|
45
45
|
export declare const rename: (endpoint_xid: string, options: ({
|
|
46
|
-
payload: Omit<Transfer[
|
|
46
|
+
payload: Omit<Transfer['Request']['Rename'], 'DATA_TYPE'>;
|
|
47
47
|
} & {
|
|
48
48
|
query?: {
|
|
49
49
|
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
@@ -57,7 +57,7 @@ export declare const rename: (endpoint_xid: string, options: ({
|
|
|
57
57
|
* @see https://docs.globus.org/api/transfer/file_operations/#symlink
|
|
58
58
|
*/
|
|
59
59
|
export declare const symlink: (endpoint_xid: string, options: ({
|
|
60
|
-
payload: Omit<Transfer[
|
|
60
|
+
payload: Omit<Transfer['Request']['Symlink'], 'DATA_TYPE'>;
|
|
61
61
|
} & {
|
|
62
62
|
query?: {
|
|
63
63
|
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
@@ -13,7 +13,7 @@ const config_js_1 = require("../config.js");
|
|
|
13
13
|
exports.ls = function (endpoint_xid, options, sdkOptions) {
|
|
14
14
|
return (0, shared_js_1.serviceRequest)({
|
|
15
15
|
service: config_js_1.ID,
|
|
16
|
-
scope:
|
|
16
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
17
17
|
path: `/v0.10/operation/endpoint/${endpoint_xid}/ls`,
|
|
18
18
|
}, options, sdkOptions);
|
|
19
19
|
};
|
|
@@ -25,12 +25,12 @@ exports.ls = function (endpoint_xid, options, sdkOptions) {
|
|
|
25
25
|
*/
|
|
26
26
|
exports.mkdir = function (endpoint_xid, options, sdkOptions) {
|
|
27
27
|
const serviceRequestOptions = {
|
|
28
|
-
payload: Object.assign({ DATA_TYPE:
|
|
28
|
+
payload: Object.assign({ DATA_TYPE: 'mkdir' }, options === null || options === void 0 ? void 0 : options.payload),
|
|
29
29
|
headers: Object.assign(Object.assign({}, (0, shared_js_2.getHeadersForService)(shared_js_1.HTTP_METHODS.POST)), options === null || options === void 0 ? void 0 : options.headers),
|
|
30
30
|
};
|
|
31
31
|
return (0, shared_js_1.serviceRequest)({
|
|
32
32
|
service: config_js_1.ID,
|
|
33
|
-
scope:
|
|
33
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
34
34
|
path: `/v0.10/operation/endpoint/${endpoint_xid}/mkdir`,
|
|
35
35
|
method: shared_js_1.HTTP_METHODS.POST,
|
|
36
36
|
}, serviceRequestOptions, sdkOptions);
|
|
@@ -45,12 +45,12 @@ exports.mkdir = function (endpoint_xid, options, sdkOptions) {
|
|
|
45
45
|
*/
|
|
46
46
|
exports.rename = function (endpoint_xid, options, sdkOptions) {
|
|
47
47
|
const serviceRequestOptions = {
|
|
48
|
-
payload: Object.assign({ DATA_TYPE:
|
|
48
|
+
payload: Object.assign({ DATA_TYPE: 'rename' }, options === null || options === void 0 ? void 0 : options.payload),
|
|
49
49
|
headers: Object.assign(Object.assign({}, (0, shared_js_2.getHeadersForService)(shared_js_1.HTTP_METHODS.POST)), options === null || options === void 0 ? void 0 : options.headers),
|
|
50
50
|
};
|
|
51
51
|
return (0, shared_js_1.serviceRequest)({
|
|
52
52
|
service: config_js_1.ID,
|
|
53
|
-
scope:
|
|
53
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
54
54
|
path: `/v0.10/operation/endpoint/${endpoint_xid}/rename`,
|
|
55
55
|
method: shared_js_1.HTTP_METHODS.POST,
|
|
56
56
|
}, serviceRequestOptions, sdkOptions);
|
|
@@ -63,12 +63,12 @@ exports.rename = function (endpoint_xid, options, sdkOptions) {
|
|
|
63
63
|
*/
|
|
64
64
|
exports.symlink = function (endpoint_xid, options, sdkOptions) {
|
|
65
65
|
const serviceRequestOptions = {
|
|
66
|
-
payload: Object.assign({ DATA_TYPE:
|
|
66
|
+
payload: Object.assign({ DATA_TYPE: 'symlink' }, options === null || options === void 0 ? void 0 : options.payload),
|
|
67
67
|
headers: Object.assign(Object.assign({}, (0, shared_js_2.getHeadersForService)(shared_js_1.HTTP_METHODS.POST)), options === null || options === void 0 ? void 0 : options.headers),
|
|
68
68
|
};
|
|
69
69
|
return (0, shared_js_1.serviceRequest)({
|
|
70
70
|
service: config_js_1.ID,
|
|
71
|
-
scope:
|
|
71
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
72
72
|
path: `/v0.10/operation/endpoint/${endpoint_xid}/symlink`,
|
|
73
73
|
method: shared_js_1.HTTP_METHODS.POST,
|
|
74
74
|
}, serviceRequestOptions, sdkOptions);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Transfer } from
|
|
2
|
-
import type { SDKOptions } from
|
|
1
|
+
import type { Transfer } from '../types.js';
|
|
2
|
+
import type { SDKOptions } from '../../types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Submit a delete task. A delete submission contains a single endpoint and a
|
|
5
5
|
* list of paths to delete.
|
|
@@ -7,7 +7,7 @@ import type { SDKOptions } from "../../types.js";
|
|
|
7
7
|
* @see https://docs.globus.org/api/transfer/task_submit/#submit_delete_task
|
|
8
8
|
*/
|
|
9
9
|
export declare const submitDelete: (options: ({
|
|
10
|
-
payload: Omit<Transfer[
|
|
10
|
+
payload: Omit<Transfer['Request']['Delete'], 'DATA_TYPE'>;
|
|
11
11
|
} & {
|
|
12
12
|
query?: {
|
|
13
13
|
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
@@ -15,7 +15,7 @@ export declare const submitDelete: (options: ({
|
|
|
15
15
|
headers?: import("../../types.js").Headers | undefined;
|
|
16
16
|
}) | undefined, sdkOptions?: SDKOptions) => Promise<Response>;
|
|
17
17
|
export declare const submitTransfer: (options: ({
|
|
18
|
-
payload: Omit<Transfer[
|
|
18
|
+
payload: Omit<Transfer['Request']['Transfer'], 'DATA_TYPE'>;
|
|
19
19
|
} & {
|
|
20
20
|
query?: {
|
|
21
21
|
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
@@ -12,24 +12,24 @@ const config_js_1 = require("../config.js");
|
|
|
12
12
|
*/
|
|
13
13
|
exports.submitDelete = function (options, sdkOptions) {
|
|
14
14
|
const serviceRequestOptions = {
|
|
15
|
-
payload: Object.assign({ DATA_TYPE:
|
|
15
|
+
payload: Object.assign({ DATA_TYPE: 'delete' }, options === null || options === void 0 ? void 0 : options.payload),
|
|
16
16
|
headers: Object.assign(Object.assign({}, (0, shared_js_2.getHeadersForService)(shared_js_1.HTTP_METHODS.POST)), options === null || options === void 0 ? void 0 : options.headers),
|
|
17
17
|
};
|
|
18
18
|
return (0, shared_js_1.serviceRequest)({
|
|
19
19
|
service: config_js_1.ID,
|
|
20
|
-
scope:
|
|
20
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
21
21
|
path: `/v0.10/delete`,
|
|
22
22
|
method: shared_js_1.HTTP_METHODS.POST,
|
|
23
23
|
}, serviceRequestOptions, sdkOptions);
|
|
24
24
|
};
|
|
25
25
|
exports.submitTransfer = function (options, sdkOptions) {
|
|
26
26
|
const serviceRequestOptions = {
|
|
27
|
-
payload: Object.assign({ DATA_TYPE:
|
|
27
|
+
payload: Object.assign({ DATA_TYPE: 'transfer' }, options === null || options === void 0 ? void 0 : options.payload),
|
|
28
28
|
headers: Object.assign(Object.assign({}, (0, shared_js_2.getHeadersForService)(shared_js_1.HTTP_METHODS.POST)), options === null || options === void 0 ? void 0 : options.headers),
|
|
29
29
|
};
|
|
30
30
|
return (0, shared_js_1.serviceRequest)({
|
|
31
31
|
service: config_js_1.ID,
|
|
32
|
-
scope:
|
|
32
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
33
33
|
path: `/v0.10/transfer`,
|
|
34
34
|
method: shared_js_1.HTTP_METHODS.POST,
|
|
35
35
|
}, serviceRequestOptions, sdkOptions);
|
|
@@ -43,7 +43,7 @@ exports.submitTransfer = function (options, sdkOptions) {
|
|
|
43
43
|
exports.submissionId = function (options, sdkOptions) {
|
|
44
44
|
return (0, shared_js_1.serviceRequest)({
|
|
45
45
|
service: config_js_1.ID,
|
|
46
|
-
scope:
|
|
46
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
47
47
|
path: `/v0.10/submission_id`,
|
|
48
48
|
}, options, sdkOptions);
|
|
49
49
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,wBAAgB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,OAAO,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAO3F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":";;;AAAA,4CAA4C;AAE5C,SAAgB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":";;;AAAA,4CAA4C;AAE5C,SAAgB,oBAAoB,CAAC,MAAiC;IACpE,IAAI,MAAM,KAAK,wBAAY,CAAC,GAAG,EAAE;QAC/B,OAAO,EAAE,CAAC;KACX;IACD,OAAO;QACL,cAAc,EAAE,kBAAkB;KACnC,CAAC;AACJ,CAAC;AAPD,oDAOC"}
|
|
@@ -4,7 +4,7 @@ export interface Transfer {
|
|
|
4
4
|
*/
|
|
5
5
|
DirectoryListingQuery: {
|
|
6
6
|
path?: string;
|
|
7
|
-
show_hidden?:
|
|
7
|
+
show_hidden?: 'true' | 'false';
|
|
8
8
|
limit?: `${number}`;
|
|
9
9
|
offset?: `${number}`;
|
|
10
10
|
orderby?: string;
|
|
@@ -15,17 +15,17 @@ export interface Transfer {
|
|
|
15
15
|
path: string;
|
|
16
16
|
};
|
|
17
17
|
Rename: {
|
|
18
|
-
DATA_TYPE:
|
|
18
|
+
DATA_TYPE: 'mkdir';
|
|
19
19
|
old_path: string;
|
|
20
20
|
new_path: string;
|
|
21
21
|
};
|
|
22
22
|
Symlink: {
|
|
23
|
-
DATA_TYPE:
|
|
23
|
+
DATA_TYPE: 'symlink';
|
|
24
24
|
path: string;
|
|
25
25
|
symlink_target: string;
|
|
26
26
|
};
|
|
27
27
|
Delete: {
|
|
28
|
-
DATA_TYPE:
|
|
28
|
+
DATA_TYPE: 'delete';
|
|
29
29
|
endpoint: string;
|
|
30
30
|
submission_id: string;
|
|
31
31
|
DATA: {
|
|
@@ -36,7 +36,7 @@ export interface Transfer {
|
|
|
36
36
|
recursive?: boolean;
|
|
37
37
|
};
|
|
38
38
|
Transfer: {
|
|
39
|
-
DATA_TYPE:
|
|
39
|
+
DATA_TYPE: 'transfer';
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { stringifyParameters } from
|
|
2
|
-
import { ENVIRONMENTS } from
|
|
3
|
-
import type { FetchOverrides } from
|
|
1
|
+
import { stringifyParameters } from '../core/url.js';
|
|
2
|
+
import { ENVIRONMENTS } from '../core/global.js';
|
|
3
|
+
import type { FetchOverrides } from '../core/fetch.js';
|
|
4
4
|
export interface JSONFetchResponse<Res> extends Response {
|
|
5
5
|
json(): Promise<Res>;
|
|
6
6
|
}
|
|
@@ -53,12 +53,12 @@ export type BaseServiceMethodOptions = {
|
|
|
53
53
|
export type ServiceMethodOptions = BaseServiceMethodOptions | undefined | never;
|
|
54
54
|
export type Segment = string | Record<string, string>;
|
|
55
55
|
export type ServiceMethod<O extends ServiceMethodOptions, R extends Response = Response> = (methodOptions?: O & {
|
|
56
|
-
query?: BaseServiceMethodOptions[
|
|
57
|
-
headers?: BaseServiceMethodOptions[
|
|
56
|
+
query?: BaseServiceMethodOptions['query'];
|
|
57
|
+
headers?: BaseServiceMethodOptions['headers'];
|
|
58
58
|
}, sdkOptions?: SDKOptions) => Promise<R>;
|
|
59
59
|
export type ServiceMethodDynamicSegments<S extends Segment, O extends ServiceMethodOptions, R extends Response = Response> = (segments: S, methodOptions?: O & {
|
|
60
|
-
query?: BaseServiceMethodOptions[
|
|
61
|
-
headers?: BaseServiceMethodOptions[
|
|
60
|
+
query?: BaseServiceMethodOptions['query'];
|
|
61
|
+
headers?: BaseServiceMethodOptions['headers'];
|
|
62
62
|
}, sdkOptions?: SDKOptions) => Promise<R>;
|
|
63
63
|
export {};
|
|
64
64
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,WAAW,iBAAiB,CAAC,GAAG,CAAE,SAAQ,QAAQ;IACtD,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;CACtB;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,WAAW,CAAC,EAAE,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;IAC/D,KAAK,CAAC,EAAE;QACN,OAAO,EAAE,cAAc,CAAC;KACzB,CAAC;CACH,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC9C;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC/B,CAAC;AAEF;;;GAGG;AACH,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAExE,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE7C,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,GAAG,SAAS,GAAG,KAAK,CAAC;AAEhF,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEtD,MAAM,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,WAAW,iBAAiB,CAAC,GAAG,CAAE,SAAQ,QAAQ;IACtD,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;CACtB;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,WAAW,CAAC,EAAE,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;IAC/D,KAAK,CAAC,EAAE;QACN,OAAO,EAAE,cAAc,CAAC;KACzB,CAAC;CACH,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC9C;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC/B,CAAC;AAEF;;;GAGG;AACH,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAExE,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE7C,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,GAAG,SAAS,GAAG,KAAK,CAAC;AAEhF,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEtD,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,oBAAoB,EAAE,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAAI,CACzF,aAAa,CAAC,EAAE,CAAC,GAAG;IAClB,KAAK,CAAC,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAC1C,OAAO,CAAC,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;CAC/C,EACD,UAAU,CAAC,EAAE,UAAU,KACpB,OAAO,CAAC,CAAC,CAAC,CAAC;AAEhB,MAAM,MAAM,4BAA4B,CACtC,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,oBAAoB,EAC9B,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAC3B,CACF,QAAQ,EAAE,CAAC,EACX,aAAa,CAAC,EAAE,CAAC,GAAG;IAClB,KAAK,CAAC,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAC1C,OAAO,CAAC,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;CAC/C,EACD,UAAU,CAAC,EAAE,UAAU,KACpB,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
package/esm/index.d.ts
CHANGED
|
@@ -8,6 +8,21 @@
|
|
|
8
8
|
* - All service methods accept a `ServiceMethodOptions` object to pass query parameters, a payload, and headers.
|
|
9
9
|
* - All service methods support a tail argument to pass options to the SDK, including the composed `fetch` call.
|
|
10
10
|
*
|
|
11
|
+
* #### Service Method Names
|
|
12
|
+
*
|
|
13
|
+
* Basic CRUD operations provided by services are exposed as the following:
|
|
14
|
+
*
|
|
15
|
+
* | Service Method Name | HTTP Method | Description | Example |
|
|
16
|
+
* | --------------------| ----------- | ---------------------------- | ------- |
|
|
17
|
+
* | `get` | `GET` | Fetch a single resource. | `transfer.endpoint.get()` |
|
|
18
|
+
* | `getAll` | `GET` | Fetch a list of resources. | `flows.flows.getAll()` |
|
|
19
|
+
* | `create` | `POST` | Create a new resource. | `gcs.roles.create()` |
|
|
20
|
+
* | `update` | `PUT` | Update an existing resource. | `gcs.endpoint.update()` |
|
|
21
|
+
* | `patch` | `PATCH` | Update an existing resource. | `gcs.endpoint.patch()` |
|
|
22
|
+
* | `remove` | `DELETE` | Delete an existing resource. | `gcs.collections.remove()`|
|
|
23
|
+
*
|
|
24
|
+
* Methods that do not map to obvious CRUD operations are named according to the resource. i.e., `groups.groups.getMyGroups()`, `transfer.endpointSearch()`, `search.query.post()`
|
|
25
|
+
*
|
|
11
26
|
* @example <caption>Using the SDK to search for endpoints via Transfer API.</caption>
|
|
12
27
|
* import { transfer } from "@globus/sdk";
|
|
13
28
|
*
|
|
@@ -36,12 +51,12 @@
|
|
|
36
51
|
*
|
|
37
52
|
* const result = await (await flows.flows.get("452bbea3-5e3b-45a5-af08-50179839a4e8")).json();
|
|
38
53
|
*/
|
|
39
|
-
export * as authorization from
|
|
40
|
-
export * as auth from
|
|
41
|
-
export * as transfer from
|
|
42
|
-
export * as search from
|
|
43
|
-
export * as groups from
|
|
44
|
-
export * as flows from
|
|
45
|
-
export * as gcs from
|
|
46
|
-
export * as timer from
|
|
54
|
+
export * as authorization from './lib/core/authorization.js';
|
|
55
|
+
export * as auth from './lib/services/auth/index.js';
|
|
56
|
+
export * as transfer from './lib/services/transfer/index.js';
|
|
57
|
+
export * as search from './lib/services/search/index.js';
|
|
58
|
+
export * as groups from './lib/services/groups/index.js';
|
|
59
|
+
export * as flows from './lib/services/flows/index.js';
|
|
60
|
+
export * as gcs from './lib/services/globus-connect-server/index.js';
|
|
61
|
+
export * as timer from './lib/services/timer/index.js';
|
|
47
62
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAOH,OAAO,KAAK,aAAa,MAAM,6BAA6B,CAAC;AAC7D,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,kCAAkC,CAAC;AAC7D,OAAO,KAAK,MAAM,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,+BAA+B,CAAC;AACvD,OAAO,KAAK,GAAG,MAAM,+CAA+C,CAAC;AACrE,OAAO,KAAK,KAAK,MAAM,+BAA+B,CAAC"}
|
package/esm/index.js
CHANGED
|
@@ -8,6 +8,21 @@
|
|
|
8
8
|
* - All service methods accept a `ServiceMethodOptions` object to pass query parameters, a payload, and headers.
|
|
9
9
|
* - All service methods support a tail argument to pass options to the SDK, including the composed `fetch` call.
|
|
10
10
|
*
|
|
11
|
+
* #### Service Method Names
|
|
12
|
+
*
|
|
13
|
+
* Basic CRUD operations provided by services are exposed as the following:
|
|
14
|
+
*
|
|
15
|
+
* | Service Method Name | HTTP Method | Description | Example |
|
|
16
|
+
* | --------------------| ----------- | ---------------------------- | ------- |
|
|
17
|
+
* | `get` | `GET` | Fetch a single resource. | `transfer.endpoint.get()` |
|
|
18
|
+
* | `getAll` | `GET` | Fetch a list of resources. | `flows.flows.getAll()` |
|
|
19
|
+
* | `create` | `POST` | Create a new resource. | `gcs.roles.create()` |
|
|
20
|
+
* | `update` | `PUT` | Update an existing resource. | `gcs.endpoint.update()` |
|
|
21
|
+
* | `patch` | `PATCH` | Update an existing resource. | `gcs.endpoint.patch()` |
|
|
22
|
+
* | `remove` | `DELETE` | Delete an existing resource. | `gcs.collections.remove()`|
|
|
23
|
+
*
|
|
24
|
+
* Methods that do not map to obvious CRUD operations are named according to the resource. i.e., `groups.groups.getMyGroups()`, `transfer.endpointSearch()`, `search.query.post()`
|
|
25
|
+
*
|
|
11
26
|
* @example <caption>Using the SDK to search for endpoints via Transfer API.</caption>
|
|
12
27
|
* import { transfer } from "@globus/sdk";
|
|
13
28
|
*
|
|
@@ -40,12 +55,12 @@
|
|
|
40
55
|
/// <reference types="@globus/types/auth" />
|
|
41
56
|
/// <reference types="@globus/types/transfer" />
|
|
42
57
|
/// <reference types="@globus/types/search" />
|
|
43
|
-
export * as authorization from
|
|
44
|
-
export * as auth from
|
|
45
|
-
export * as transfer from
|
|
46
|
-
export * as search from
|
|
47
|
-
export * as groups from
|
|
48
|
-
export * as flows from
|
|
49
|
-
export * as gcs from
|
|
50
|
-
export * as timer from
|
|
58
|
+
export * as authorization from './lib/core/authorization.js';
|
|
59
|
+
export * as auth from './lib/services/auth/index.js';
|
|
60
|
+
export * as transfer from './lib/services/transfer/index.js';
|
|
61
|
+
export * as search from './lib/services/search/index.js';
|
|
62
|
+
export * as groups from './lib/services/groups/index.js';
|
|
63
|
+
export * as flows from './lib/services/flows/index.js';
|
|
64
|
+
export * as gcs from './lib/services/globus-connect-server/index.js';
|
|
65
|
+
export * as timer from './lib/services/timer/index.js';
|
|
51
66
|
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAEH,uCAAuC;AACvC,4CAA4C;AAC5C,gDAAgD;AAChD,8CAA8C;AAE9C,OAAO,KAAK,aAAa,MAAM,6BAA6B,CAAC;AAC7D,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,kCAAkC,CAAC;AAC7D,OAAO,KAAK,MAAM,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,+BAA+B,CAAC;AACvD,OAAO,KAAK,GAAG,MAAM,+CAA+C,CAAC;AACrE,OAAO,KAAK,KAAK,MAAM,+BAA+B,CAAC"}
|