@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,6 +1,7 @@
|
|
|
1
|
-
import { fetchWithScope } from
|
|
2
|
-
import { build } from
|
|
3
|
-
import { getSDKOptions } from
|
|
1
|
+
import { fetchWithScope } from '../core/fetch.js';
|
|
2
|
+
import { build } from '../core/url.js';
|
|
3
|
+
import { getSDKOptions } from '../core/global.js';
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
4
5
|
export var HTTP_METHODS;
|
|
5
6
|
(function (HTTP_METHODS) {
|
|
6
7
|
HTTP_METHODS["POST"] = "POST";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../src/lib/services/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,aAAa,EAAW,MAAM,mBAAmB,CAAC;AAK3D,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,iCAAiB,CAAA;IACjB,2BAAW,CAAA;IACX,+BAAe,CAAA;AACjB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAyBD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,cAAc,CAC5B,MAAyB,EACzB,OAA8B,EAC9B,gBAA6B;;IAE7B;;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BAA6B;;IAE7B;;OAEG;IACH,MAAM,UAAU,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACnD,OAAO,cAAc,CACnB,MAAM,CAAC,KAAK,EACZ,KAAK,CACH,MAAM,CAAC,OAAO,EACd,MAAM,CAAC,IAAI,EACX;QACE,MAAM,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK;KACvB,EACD,UAAU,CACX,gCAEC,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,IAAI,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,EAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,IACjE,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO;QAC7B;;WAEG;QACH,OAAO,kCACF,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,GAKhB,MAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,0CAAE,OAAO,KAG3C,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export const ID =
|
|
1
|
+
export const ID = 'TIMER';
|
|
2
2
|
export const HOSTS = {
|
|
3
|
-
sandbox:
|
|
4
|
-
production:
|
|
5
|
-
staging:
|
|
6
|
-
integration:
|
|
7
|
-
test:
|
|
8
|
-
preview:
|
|
3
|
+
sandbox: 'sandbox.timer.automate.globus.org',
|
|
4
|
+
production: 'timer.automate.globus.org',
|
|
5
|
+
staging: 'staging.timer.automate.globus.org',
|
|
6
|
+
integration: 'integration.timer.automate.globus.org',
|
|
7
|
+
test: 'test.timer.automate.globus.org',
|
|
8
|
+
preview: 'preview.timer.automate.globus.org',
|
|
9
9
|
};
|
|
10
10
|
//# 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"}
|
|
@@ -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 const CONFIG = TIMER;
|
|
13
|
-
import { create } from "./service/timer.js";
|
|
14
14
|
export { create };
|
|
15
15
|
//# 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,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAErC
|
|
1
|
+
{"version":3,"file":"index.js","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,MAAM,CAAC,MAAM,MAAM,GAAG,KAAK,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { HTTP_METHODS, serviceRequest } from
|
|
2
|
-
import { ID } from
|
|
1
|
+
import { HTTP_METHODS, serviceRequest } from '../../shared.js';
|
|
2
|
+
import { ID } from '../config.js';
|
|
3
3
|
export const create = function (options, sdkOptions) {
|
|
4
4
|
return serviceRequest({
|
|
5
5
|
service: ID,
|
|
6
|
-
scope:
|
|
7
|
-
path:
|
|
6
|
+
scope: 'https://auth.globus.org/scopes/524230d7-ea86-4a52-8312-86065a9e0417/timer',
|
|
7
|
+
path: '/v2/timer',
|
|
8
8
|
method: HTTP_METHODS.POST,
|
|
9
9
|
}, options, sdkOptions);
|
|
10
10
|
};
|
|
@@ -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,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAIlC,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,OAAO,EAAE,UAAuB;IAC9D,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,2EAA2E;QAClF,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export const ID =
|
|
1
|
+
export const ID = 'TRANSFER';
|
|
2
2
|
export const HOSTS = {
|
|
3
|
-
sandbox:
|
|
4
|
-
production:
|
|
5
|
-
staging:
|
|
6
|
-
integration:
|
|
7
|
-
test:
|
|
8
|
-
preview:
|
|
3
|
+
sandbox: 'transfer.sandbox.globuscs.info',
|
|
4
|
+
production: 'transfer.api.globusonline.org',
|
|
5
|
+
staging: 'transfer.api.staging.globuscs.info',
|
|
6
|
+
integration: 'transfer.api.integration.globuscs.info',
|
|
7
|
+
test: 'transfer.api.test.globuscs.info',
|
|
8
|
+
preview: 'transfer.api.preview.globus.org',
|
|
9
9
|
};
|
|
10
10
|
//# 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"}
|
|
@@ -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 const CONFIG = 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.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,QAAQ,MAAM,aAAa,CAAC;AAExC;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","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,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,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"}
|
|
@@ -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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { serviceRequest } from
|
|
2
|
-
import { ID } from
|
|
1
|
+
import { serviceRequest } from '../../shared.js';
|
|
2
|
+
import { ID } from '../config.js';
|
|
3
3
|
/**
|
|
4
4
|
* Get a list of endpoints matching the search filters in a given search scope.
|
|
5
5
|
* @see https://docs.globus.org/api/transfer/endpoint_search/#endpoint_search
|
|
@@ -17,7 +17,7 @@ options, sdkOptions) {
|
|
|
17
17
|
query: options === null || options === void 0 ? void 0 : options.query });
|
|
18
18
|
return serviceRequest({
|
|
19
19
|
service: ID,
|
|
20
|
-
scope:
|
|
20
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
21
21
|
path: `/v0.10/endpoint_search`,
|
|
22
22
|
}, serviceRequestOptions, sdkOptions);
|
|
23
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint-search.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"endpoint-search.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAIlC;;;GAGG;AACH,MAAM,CAAC,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,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,mDAAmD;QAC1D,IAAI,EAAE,wBAAwB;KAC/B,EACD,qBAAqB,EACrB,UAAU,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,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"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { serviceRequest } from
|
|
2
|
-
import { ID } from
|
|
1
|
+
import { serviceRequest } from '../../shared.js';
|
|
2
|
+
import { ID } from '../config.js';
|
|
3
3
|
/**
|
|
4
4
|
* Fetch an endpoint by its UUID.
|
|
5
5
|
*/
|
|
6
6
|
export const get = function (endpoint_xid, options, sdkOptions) {
|
|
7
7
|
return serviceRequest({
|
|
8
8
|
service: ID,
|
|
9
|
-
scope:
|
|
9
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
10
10
|
path: `/v0.10/endpoint/${endpoint_xid}`,
|
|
11
11
|
}, options, sdkOptions);
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAIlC;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,YAAY,EAAE,OAAQ,EAAE,UAAW;IAC9D,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HTTP_METHODS, serviceRequest } from
|
|
2
|
-
import { getHeadersForService } from
|
|
3
|
-
import { ID } from
|
|
1
|
+
import { HTTP_METHODS, serviceRequest } from '../../shared.js';
|
|
2
|
+
import { getHeadersForService } from '../shared.js';
|
|
3
|
+
import { ID } from '../config.js';
|
|
4
4
|
/**
|
|
5
5
|
* List the contents of the directory at the specified path on an endpoint’s filesystem.
|
|
6
6
|
* The endpoint must be activated before performing this operation.
|
|
@@ -10,7 +10,7 @@ import { ID } from "../config.js";
|
|
|
10
10
|
export const ls = function (endpoint_xid, options, sdkOptions) {
|
|
11
11
|
return serviceRequest({
|
|
12
12
|
service: ID,
|
|
13
|
-
scope:
|
|
13
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
14
14
|
path: `/v0.10/operation/endpoint/${endpoint_xid}/ls`,
|
|
15
15
|
}, options, sdkOptions);
|
|
16
16
|
};
|
|
@@ -22,12 +22,12 @@ export const ls = function (endpoint_xid, options, sdkOptions) {
|
|
|
22
22
|
*/
|
|
23
23
|
export const mkdir = function (endpoint_xid, options, sdkOptions) {
|
|
24
24
|
const serviceRequestOptions = {
|
|
25
|
-
payload: Object.assign({ DATA_TYPE:
|
|
25
|
+
payload: Object.assign({ DATA_TYPE: 'mkdir' }, options === null || options === void 0 ? void 0 : options.payload),
|
|
26
26
|
headers: Object.assign(Object.assign({}, getHeadersForService(HTTP_METHODS.POST)), options === null || options === void 0 ? void 0 : options.headers),
|
|
27
27
|
};
|
|
28
28
|
return serviceRequest({
|
|
29
29
|
service: ID,
|
|
30
|
-
scope:
|
|
30
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
31
31
|
path: `/v0.10/operation/endpoint/${endpoint_xid}/mkdir`,
|
|
32
32
|
method: HTTP_METHODS.POST,
|
|
33
33
|
}, serviceRequestOptions, sdkOptions);
|
|
@@ -42,12 +42,12 @@ export const mkdir = function (endpoint_xid, options, sdkOptions) {
|
|
|
42
42
|
*/
|
|
43
43
|
export const rename = function (endpoint_xid, options, sdkOptions) {
|
|
44
44
|
const serviceRequestOptions = {
|
|
45
|
-
payload: Object.assign({ DATA_TYPE:
|
|
45
|
+
payload: Object.assign({ DATA_TYPE: 'rename' }, options === null || options === void 0 ? void 0 : options.payload),
|
|
46
46
|
headers: Object.assign(Object.assign({}, getHeadersForService(HTTP_METHODS.POST)), options === null || options === void 0 ? void 0 : options.headers),
|
|
47
47
|
};
|
|
48
48
|
return serviceRequest({
|
|
49
49
|
service: ID,
|
|
50
|
-
scope:
|
|
50
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
51
51
|
path: `/v0.10/operation/endpoint/${endpoint_xid}/rename`,
|
|
52
52
|
method: HTTP_METHODS.POST,
|
|
53
53
|
}, serviceRequestOptions, sdkOptions);
|
|
@@ -60,12 +60,12 @@ export const rename = function (endpoint_xid, options, sdkOptions) {
|
|
|
60
60
|
*/
|
|
61
61
|
export const symlink = function (endpoint_xid, options, sdkOptions) {
|
|
62
62
|
const serviceRequestOptions = {
|
|
63
|
-
payload: Object.assign({ DATA_TYPE:
|
|
63
|
+
payload: Object.assign({ DATA_TYPE: 'symlink' }, options === null || options === void 0 ? void 0 : options.payload),
|
|
64
64
|
headers: Object.assign(Object.assign({}, getHeadersForService(HTTP_METHODS.POST)), options === null || options === void 0 ? void 0 : options.headers),
|
|
65
65
|
};
|
|
66
66
|
return serviceRequest({
|
|
67
67
|
service: ID,
|
|
68
|
-
scope:
|
|
68
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
69
69
|
path: `/v0.10/operation/endpoint/${endpoint_xid}/symlink`,
|
|
70
70
|
method: HTTP_METHODS.POST,
|
|
71
71
|
}, 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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HTTP_METHODS, serviceRequest } from
|
|
2
|
-
import { getHeadersForService } from
|
|
3
|
-
import { ID } from
|
|
1
|
+
import { HTTP_METHODS, serviceRequest } from '../../shared.js';
|
|
2
|
+
import { getHeadersForService } from '../shared.js';
|
|
3
|
+
import { ID } from '../config.js';
|
|
4
4
|
/**
|
|
5
5
|
* Submit a delete task. A delete submission contains a single endpoint and a
|
|
6
6
|
* list of paths to delete.
|
|
@@ -9,24 +9,24 @@ import { ID } from "../config.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export const submitDelete = function (options, sdkOptions) {
|
|
11
11
|
const serviceRequestOptions = {
|
|
12
|
-
payload: Object.assign({ DATA_TYPE:
|
|
12
|
+
payload: Object.assign({ DATA_TYPE: 'delete' }, options === null || options === void 0 ? void 0 : options.payload),
|
|
13
13
|
headers: Object.assign(Object.assign({}, getHeadersForService(HTTP_METHODS.POST)), options === null || options === void 0 ? void 0 : options.headers),
|
|
14
14
|
};
|
|
15
15
|
return serviceRequest({
|
|
16
16
|
service: ID,
|
|
17
|
-
scope:
|
|
17
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
18
18
|
path: `/v0.10/delete`,
|
|
19
19
|
method: HTTP_METHODS.POST,
|
|
20
20
|
}, serviceRequestOptions, sdkOptions);
|
|
21
21
|
};
|
|
22
22
|
export const submitTransfer = function (options, sdkOptions) {
|
|
23
23
|
const serviceRequestOptions = {
|
|
24
|
-
payload: Object.assign({ DATA_TYPE:
|
|
24
|
+
payload: Object.assign({ DATA_TYPE: 'transfer' }, options === null || options === void 0 ? void 0 : options.payload),
|
|
25
25
|
headers: Object.assign(Object.assign({}, getHeadersForService(HTTP_METHODS.POST)), options === null || options === void 0 ? void 0 : options.headers),
|
|
26
26
|
};
|
|
27
27
|
return serviceRequest({
|
|
28
28
|
service: ID,
|
|
29
|
-
scope:
|
|
29
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
30
30
|
path: `/v0.10/transfer`,
|
|
31
31
|
method: HTTP_METHODS.POST,
|
|
32
32
|
}, serviceRequestOptions, sdkOptions);
|
|
@@ -40,7 +40,7 @@ export const submitTransfer = function (options, sdkOptions) {
|
|
|
40
40
|
export const submissionId = function (options, sdkOptions) {
|
|
41
41
|
return serviceRequest({
|
|
42
42
|
service: ID,
|
|
43
|
-
scope:
|
|
43
|
+
scope: 'urn:globus:auth:scope:transfer.api.globus.org:all',
|
|
44
44
|
path: `/v0.10/submission_id`,
|
|
45
45
|
}, options, sdkOptions);
|
|
46
46
|
};
|
|
@@ -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,10 +1,10 @@
|
|
|
1
|
-
import { HTTP_METHODS } from
|
|
1
|
+
import { HTTP_METHODS } from '../shared.js';
|
|
2
2
|
export function getHeadersForService(method) {
|
|
3
3
|
if (method === HTTP_METHODS.GET) {
|
|
4
4
|
return {};
|
|
5
5
|
}
|
|
6
6
|
return {
|
|
7
|
-
|
|
7
|
+
'Content-Type': 'application/json',
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=shared.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,UAAU,oBAAoB,
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,UAAU,oBAAoB,CAAC,MAAiC;IACpE,IAAI,MAAM,KAAK,YAAY,CAAC,GAAG,EAAE;QAC/B,OAAO,EAAE,CAAC;KACX;IACD,OAAO;QACL,cAAc,EAAE,kBAAkB;KACnC,CAAC;AACJ,CAAC"}
|
|
@@ -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,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