@globus/sdk 0.1.2-alpha.0 → 0.1.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.cjs.js +1 -1
- package/dist/browser.esm.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{src → types/src}/lib/services/search/index.d.ts +1 -1
- package/dist/{src → types/src}/lib/services/search/service/query.d.ts +4 -0
- package/dist/{common → types}/src/lib/services/search/service/query.d.ts.map +1 -1
- package/dist/{common → types}/src/lib/services/transfer/service/endpoint-search.d.ts +1 -2
- package/dist/types/src/lib/services/transfer/service/endpoint-search.d.ts.map +1 -0
- package/dist/types/src/lib/services/transfer/service/endpoint.d.ts +5 -0
- package/dist/{common → types}/src/lib/services/transfer/service/endpoint.d.ts.map +1 -1
- package/dist/{src → types/src}/lib/services/transfer/service/file-operations.d.ts +0 -1
- package/dist/types/src/lib/services/transfer/service/file-operations.d.ts.map +1 -0
- package/dist/{common → types}/src/lib/services/transfer/service/task-submission.d.ts +0 -1
- package/dist/types/src/lib/services/transfer/service/task-submission.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/package.json +13 -8
- package/dist/browser.js +0 -1
- package/dist/common/src/__utils__/service-test-suite.js +0 -29
- package/dist/common/src/__utils__/service-test-suite.js.map +0 -1
- package/dist/common/src/index.js +0 -23
- package/dist/common/src/index.js.map +0 -1
- package/dist/common/src/lib/core/authorization.js +0 -97
- package/dist/common/src/lib/core/authorization.js.map +0 -1
- package/dist/common/src/lib/core/consent.js +0 -33
- package/dist/common/src/lib/core/consent.js.map +0 -1
- package/dist/common/src/lib/core/errors.js +0 -12
- package/dist/common/src/lib/core/errors.js.map +0 -1
- package/dist/common/src/lib/core/fetch.js +0 -21
- package/dist/common/src/lib/core/fetch.js.map +0 -1
- package/dist/common/src/lib/core/global.js +0 -96
- package/dist/common/src/lib/core/global.js.map +0 -1
- package/dist/common/src/lib/core/internals/__mocks__/fetch.js +0 -4
- package/dist/common/src/lib/core/internals/__mocks__/fetch.js.map +0 -1
- package/dist/common/src/lib/core/internals/fetch.js +0 -6
- package/dist/common/src/lib/core/internals/fetch.js.map +0 -1
- package/dist/common/src/lib/core/storage/index.js +0 -35
- package/dist/common/src/lib/core/storage/index.js.map +0 -1
- package/dist/common/src/lib/core/storage/local-storage.js +0 -20
- package/dist/common/src/lib/core/storage/local-storage.js.map +0 -1
- package/dist/common/src/lib/core/storage/memory.js +0 -35
- package/dist/common/src/lib/core/storage/memory.js.map +0 -1
- package/dist/common/src/lib/core/url.js +0 -19
- package/dist/common/src/lib/core/url.js.map +0 -1
- package/dist/common/src/lib/sdk.js +0 -8
- package/dist/common/src/lib/sdk.js.map +0 -1
- package/dist/common/src/lib/services/auth/config.js +0 -13
- package/dist/common/src/lib/services/auth/config.js.map +0 -1
- package/dist/common/src/lib/services/auth/index.js +0 -21
- package/dist/common/src/lib/services/auth/index.js.map +0 -1
- package/dist/common/src/lib/services/auth/service/scopes.d.ts +0 -26
- package/dist/common/src/lib/services/auth/service/scopes.d.ts.map +0 -1
- package/dist/common/src/lib/services/auth/service/scopes.js +0 -31
- package/dist/common/src/lib/services/auth/service/scopes.js.map +0 -1
- package/dist/common/src/lib/services/auth/types.js +0 -3
- package/dist/common/src/lib/services/auth/types.js.map +0 -1
- package/dist/common/src/lib/services/auth/utils.d.ts +0 -26
- package/dist/common/src/lib/services/auth/utils.d.ts.map +0 -1
- package/dist/common/src/lib/services/auth/utils.js +0 -55
- package/dist/common/src/lib/services/auth/utils.js.map +0 -1
- package/dist/common/src/lib/services/flows/config.js +0 -23
- package/dist/common/src/lib/services/flows/config.js.map +0 -1
- package/dist/common/src/lib/services/flows/index.js +0 -15
- package/dist/common/src/lib/services/flows/index.js.map +0 -1
- package/dist/common/src/lib/services/flows/service/batch.js +0 -4
- package/dist/common/src/lib/services/flows/service/batch.js.map +0 -1
- package/dist/common/src/lib/services/flows/service/flows.js +0 -30
- package/dist/common/src/lib/services/flows/service/flows.js.map +0 -1
- package/dist/common/src/lib/services/flows/service/runs.js +0 -17
- package/dist/common/src/lib/services/flows/service/runs.js.map +0 -1
- package/dist/common/src/lib/services/globus-connect-server/index.js +0 -33
- package/dist/common/src/lib/services/globus-connect-server/index.js.map +0 -1
- package/dist/common/src/lib/services/globus-connect-server/service/endpoint.js +0 -15
- package/dist/common/src/lib/services/globus-connect-server/service/endpoint.js.map +0 -1
- package/dist/common/src/lib/services/globus-connect-server/service/versioning.js +0 -16
- package/dist/common/src/lib/services/globus-connect-server/service/versioning.js.map +0 -1
- package/dist/common/src/lib/services/search/config.js +0 -21
- package/dist/common/src/lib/services/search/config.js.map +0 -1
- package/dist/common/src/lib/services/search/index.d.ts +0 -10
- package/dist/common/src/lib/services/search/index.js +0 -13
- package/dist/common/src/lib/services/search/index.js.map +0 -1
- package/dist/common/src/lib/services/search/service/query.d.ts +0 -13
- package/dist/common/src/lib/services/search/service/query.js +0 -16
- package/dist/common/src/lib/services/search/service/query.js.map +0 -1
- package/dist/common/src/lib/services/shared.js +0 -10
- package/dist/common/src/lib/services/shared.js.map +0 -1
- package/dist/common/src/lib/services/transfer/config.js +0 -13
- package/dist/common/src/lib/services/transfer/config.js.map +0 -1
- package/dist/common/src/lib/services/transfer/index.js +0 -17
- package/dist/common/src/lib/services/transfer/index.js.map +0 -1
- package/dist/common/src/lib/services/transfer/service/endpoint-search.d.ts.map +0 -1
- package/dist/common/src/lib/services/transfer/service/endpoint-search.js +0 -20
- package/dist/common/src/lib/services/transfer/service/endpoint-search.js.map +0 -1
- package/dist/common/src/lib/services/transfer/service/endpoint.d.ts +0 -5
- package/dist/common/src/lib/services/transfer/service/endpoint.js +0 -14
- package/dist/common/src/lib/services/transfer/service/endpoint.js.map +0 -1
- package/dist/common/src/lib/services/transfer/service/file-operations.d.ts +0 -38
- package/dist/common/src/lib/services/transfer/service/file-operations.d.ts.map +0 -1
- package/dist/common/src/lib/services/transfer/service/file-operations.js +0 -56
- package/dist/common/src/lib/services/transfer/service/file-operations.js.map +0 -1
- package/dist/common/src/lib/services/transfer/service/task-submission.d.ts.map +0 -1
- package/dist/common/src/lib/services/transfer/service/task-submission.js +0 -37
- package/dist/common/src/lib/services/transfer/service/task-submission.js.map +0 -1
- package/dist/common/src/lib/services/transfer/shared.js +0 -14
- package/dist/common/src/lib/services/transfer/shared.js.map +0 -1
- package/dist/common/src/lib/services/types.js +0 -3
- package/dist/common/src/lib/services/types.js.map +0 -1
- package/dist/common/tsconfig.cjs.tsbuildinfo +0 -1
- package/dist/index.js +0 -1
- package/dist/src/__utils__/service-test-suite.d.ts +0 -14
- package/dist/src/__utils__/service-test-suite.d.ts.map +0 -1
- package/dist/src/__utils__/service-test-suite.js +0 -26
- package/dist/src/__utils__/service-test-suite.js.map +0 -1
- package/dist/src/index.d.ts +0 -6
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -10
- package/dist/src/index.js.map +0 -1
- package/dist/src/lib/core/authorization.d.ts +0 -21
- package/dist/src/lib/core/authorization.d.ts.map +0 -1
- package/dist/src/lib/core/authorization.js +0 -72
- package/dist/src/lib/core/authorization.js.map +0 -1
- package/dist/src/lib/core/consent.d.ts +0 -6
- package/dist/src/lib/core/consent.d.ts.map +0 -1
- package/dist/src/lib/core/consent.js +0 -27
- package/dist/src/lib/core/consent.js.map +0 -1
- package/dist/src/lib/core/errors.d.ts +0 -5
- package/dist/src/lib/core/errors.d.ts.map +0 -1
- package/dist/src/lib/core/errors.js +0 -8
- package/dist/src/lib/core/errors.js.map +0 -1
- package/dist/src/lib/core/fetch.d.ts +0 -7
- package/dist/src/lib/core/fetch.d.ts.map +0 -1
- package/dist/src/lib/core/fetch.js +0 -17
- package/dist/src/lib/core/fetch.js.map +0 -1
- package/dist/src/lib/core/global.d.ts +0 -37
- package/dist/src/lib/core/global.d.ts.map +0 -1
- package/dist/src/lib/core/global.js +0 -89
- package/dist/src/lib/core/global.js.map +0 -1
- package/dist/src/lib/core/internals/__mocks__/fetch.d.ts +0 -2
- package/dist/src/lib/core/internals/__mocks__/fetch.d.ts.map +0 -1
- package/dist/src/lib/core/internals/__mocks__/fetch.js +0 -4
- package/dist/src/lib/core/internals/__mocks__/fetch.js.map +0 -1
- package/dist/src/lib/core/internals/fetch.d.ts +0 -2
- package/dist/src/lib/core/internals/fetch.d.ts.map +0 -1
- package/dist/src/lib/core/internals/fetch.js +0 -3
- package/dist/src/lib/core/internals/fetch.js.map +0 -1
- package/dist/src/lib/core/storage/index.d.ts +0 -19
- package/dist/src/lib/core/storage/index.d.ts.map +0 -1
- package/dist/src/lib/core/storage/index.js +0 -30
- package/dist/src/lib/core/storage/index.js.map +0 -1
- package/dist/src/lib/core/storage/local-storage.d.ts +0 -8
- package/dist/src/lib/core/storage/local-storage.d.ts.map +0 -1
- package/dist/src/lib/core/storage/local-storage.js +0 -16
- package/dist/src/lib/core/storage/local-storage.js.map +0 -1
- package/dist/src/lib/core/storage/memory.d.ts +0 -9
- package/dist/src/lib/core/storage/memory.d.ts.map +0 -1
- package/dist/src/lib/core/storage/memory.js +0 -21
- package/dist/src/lib/core/storage/memory.js.map +0 -1
- package/dist/src/lib/core/url.d.ts +0 -7
- package/dist/src/lib/core/url.d.ts.map +0 -1
- package/dist/src/lib/core/url.js +0 -14
- package/dist/src/lib/core/url.js.map +0 -1
- package/dist/src/lib/sdk.d.ts +0 -2
- package/dist/src/lib/sdk.d.ts.map +0 -1
- package/dist/src/lib/sdk.js +0 -4
- package/dist/src/lib/sdk.js.map +0 -1
- package/dist/src/lib/services/auth/config.d.ts +0 -4
- package/dist/src/lib/services/auth/config.d.ts.map +0 -1
- package/dist/src/lib/services/auth/config.js +0 -10
- package/dist/src/lib/services/auth/config.js.map +0 -1
- package/dist/src/lib/services/auth/index.d.ts +0 -17
- package/dist/src/lib/services/auth/index.d.ts.map +0 -1
- package/dist/src/lib/services/auth/index.js +0 -16
- package/dist/src/lib/services/auth/index.js.map +0 -1
- package/dist/src/lib/services/auth/service/scopes.d.ts +0 -26
- package/dist/src/lib/services/auth/service/scopes.d.ts.map +0 -1
- package/dist/src/lib/services/auth/service/scopes.js +0 -28
- package/dist/src/lib/services/auth/service/scopes.js.map +0 -1
- package/dist/src/lib/services/auth/types.d.ts +0 -15
- package/dist/src/lib/services/auth/types.d.ts.map +0 -1
- package/dist/src/lib/services/auth/types.js +0 -2
- package/dist/src/lib/services/auth/types.js.map +0 -1
- package/dist/src/lib/services/auth/utils.d.ts +0 -26
- package/dist/src/lib/services/auth/utils.d.ts.map +0 -1
- package/dist/src/lib/services/auth/utils.js +0 -41
- package/dist/src/lib/services/auth/utils.js.map +0 -1
- package/dist/src/lib/services/flows/config.d.ts +0 -14
- package/dist/src/lib/services/flows/config.d.ts.map +0 -1
- package/dist/src/lib/services/flows/config.js +0 -20
- package/dist/src/lib/services/flows/config.js.map +0 -1
- package/dist/src/lib/services/flows/index.d.ts +0 -12
- package/dist/src/lib/services/flows/index.d.ts.map +0 -1
- package/dist/src/lib/services/flows/index.js +0 -15
- package/dist/src/lib/services/flows/index.js.map +0 -1
- package/dist/src/lib/services/flows/service/batch.d.ts +0 -3
- package/dist/src/lib/services/flows/service/batch.d.ts.map +0 -1
- package/dist/src/lib/services/flows/service/batch.js +0 -2
- package/dist/src/lib/services/flows/service/batch.js.map +0 -1
- package/dist/src/lib/services/flows/service/flows.d.ts +0 -13
- package/dist/src/lib/services/flows/service/flows.d.ts.map +0 -1
- package/dist/src/lib/services/flows/service/flows.js +0 -27
- package/dist/src/lib/services/flows/service/flows.js.map +0 -1
- package/dist/src/lib/services/flows/service/runs.d.ts +0 -6
- package/dist/src/lib/services/flows/service/runs.d.ts.map +0 -1
- package/dist/src/lib/services/flows/service/runs.js +0 -14
- package/dist/src/lib/services/flows/service/runs.js.map +0 -1
- package/dist/src/lib/services/globus-connect-server/index.d.ts +0 -13
- package/dist/src/lib/services/globus-connect-server/index.d.ts.map +0 -1
- package/dist/src/lib/services/globus-connect-server/index.js +0 -30
- package/dist/src/lib/services/globus-connect-server/index.js.map +0 -1
- package/dist/src/lib/services/globus-connect-server/service/endpoint.d.ts +0 -5
- package/dist/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +0 -1
- package/dist/src/lib/services/globus-connect-server/service/endpoint.js +0 -12
- package/dist/src/lib/services/globus-connect-server/service/endpoint.js.map +0 -1
- package/dist/src/lib/services/globus-connect-server/service/versioning.d.ts +0 -6
- package/dist/src/lib/services/globus-connect-server/service/versioning.d.ts.map +0 -1
- package/dist/src/lib/services/globus-connect-server/service/versioning.js +0 -13
- package/dist/src/lib/services/globus-connect-server/service/versioning.js.map +0 -1
- package/dist/src/lib/services/search/config.d.ts +0 -12
- package/dist/src/lib/services/search/config.d.ts.map +0 -1
- package/dist/src/lib/services/search/config.js +0 -18
- package/dist/src/lib/services/search/config.js.map +0 -1
- package/dist/src/lib/services/search/index.d.ts.map +0 -1
- package/dist/src/lib/services/search/index.js +0 -11
- package/dist/src/lib/services/search/index.js.map +0 -1
- package/dist/src/lib/services/search/service/query.d.ts.map +0 -1
- package/dist/src/lib/services/search/service/query.js +0 -13
- package/dist/src/lib/services/search/service/query.js.map +0 -1
- package/dist/src/lib/services/shared.d.ts +0 -6
- package/dist/src/lib/services/shared.d.ts.map +0 -1
- package/dist/src/lib/services/shared.js +0 -7
- package/dist/src/lib/services/shared.js.map +0 -1
- package/dist/src/lib/services/transfer/config.d.ts +0 -4
- package/dist/src/lib/services/transfer/config.d.ts.map +0 -1
- package/dist/src/lib/services/transfer/config.js +0 -10
- package/dist/src/lib/services/transfer/config.js.map +0 -1
- package/dist/src/lib/services/transfer/index.d.ts +0 -14
- package/dist/src/lib/services/transfer/index.d.ts.map +0 -1
- package/dist/src/lib/services/transfer/index.js +0 -17
- package/dist/src/lib/services/transfer/index.js.map +0 -1
- package/dist/src/lib/services/transfer/service/endpoint-search.d.ts +0 -11
- package/dist/src/lib/services/transfer/service/endpoint-search.d.ts.map +0 -1
- package/dist/src/lib/services/transfer/service/endpoint-search.js +0 -17
- package/dist/src/lib/services/transfer/service/endpoint-search.js.map +0 -1
- package/dist/src/lib/services/transfer/service/endpoint.d.ts +0 -5
- package/dist/src/lib/services/transfer/service/endpoint.d.ts.map +0 -1
- package/dist/src/lib/services/transfer/service/endpoint.js +0 -11
- package/dist/src/lib/services/transfer/service/endpoint.js.map +0 -1
- package/dist/src/lib/services/transfer/service/file-operations.d.ts.map +0 -1
- package/dist/src/lib/services/transfer/service/file-operations.js +0 -53
- package/dist/src/lib/services/transfer/service/file-operations.js.map +0 -1
- package/dist/src/lib/services/transfer/service/task-submission.d.ts +0 -22
- package/dist/src/lib/services/transfer/service/task-submission.d.ts.map +0 -1
- package/dist/src/lib/services/transfer/service/task-submission.js +0 -31
- package/dist/src/lib/services/transfer/service/task-submission.js.map +0 -1
- package/dist/src/lib/services/transfer/shared.d.ts +0 -3
- package/dist/src/lib/services/transfer/shared.d.ts.map +0 -1
- package/dist/src/lib/services/transfer/shared.js +0 -10
- package/dist/src/lib/services/transfer/shared.js.map +0 -1
- package/dist/src/lib/services/types.d.ts +0 -31
- package/dist/src/lib/services/types.d.ts.map +0 -1
- package/dist/src/lib/services/types.js +0 -2
- package/dist/src/lib/services/types.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- /package/dist/{common → types}/src/__utils__/service-test-suite.d.ts +0 -0
- /package/dist/{common → types}/src/__utils__/service-test-suite.d.ts.map +0 -0
- /package/dist/{common → types}/src/index.d.ts +0 -0
- /package/dist/{common → types}/src/index.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/authorization.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/authorization.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/consent.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/consent.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/errors.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/errors.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/fetch.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/fetch.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/global.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/global.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/internals/__mocks__/fetch.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/internals/__mocks__/fetch.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/internals/fetch.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/internals/fetch.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/storage/index.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/storage/index.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/storage/local-storage.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/storage/local-storage.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/storage/memory.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/storage/memory.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/core/url.d.ts +0 -0
- /package/dist/{common → types}/src/lib/core/url.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/sdk.d.ts +0 -0
- /package/dist/{common → types}/src/lib/sdk.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/auth/config.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/auth/config.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/auth/index.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/auth/index.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/auth/types.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/auth/types.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/flows/config.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/flows/config.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/flows/index.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/flows/index.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/flows/service/batch.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/flows/service/batch.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/flows/service/flows.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/flows/service/flows.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/flows/service/runs.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/flows/service/runs.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/globus-connect-server/index.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/globus-connect-server/index.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/globus-connect-server/service/endpoint.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/globus-connect-server/service/versioning.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/globus-connect-server/service/versioning.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/search/config.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/search/config.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/search/index.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/shared.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/shared.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/transfer/config.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/transfer/config.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/transfer/index.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/transfer/index.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/transfer/shared.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/transfer/shared.d.ts.map +0 -0
- /package/dist/{common → types}/src/lib/services/types.d.ts +0 -0
- /package/dist/{common → types}/src/lib/services/types.d.ts.map +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description A wrapper around the Globus Flows service.
|
|
3
|
-
* @category Service
|
|
4
|
-
* @see [Globus Connect Server Manager API Documentation](https://docs.globus.org/globus-connect-server/v5.4/api/)
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
|
-
import { build as _build } from "../../core/url";
|
|
8
|
-
type BuildParameters = Parameters<typeof _build>;
|
|
9
|
-
export declare function getRequiredScopes(): string;
|
|
10
|
-
export declare function build(path: BuildParameters[1], options: BuildParameters[2]): string;
|
|
11
|
-
export * as versioning from "./service/versioning";
|
|
12
|
-
export * as endpoint from "./service/endpoint";
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACjD,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAajD,wBAAgB,iBAAiB,WAEhC;AAED,wBAAgB,KAAK,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,UAO1E;AAED,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description A wrapper around the Globus Flows service.
|
|
3
|
-
* @category Service
|
|
4
|
-
* @see [Globus Connect Server Manager API Documentation](https://docs.globus.org/globus-connect-server/v5.4/api/)
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* @todo Replace with the actual URL.
|
|
9
|
-
*/
|
|
10
|
-
const GCS_MANAGER_URL = "";
|
|
11
|
-
const SCOPES = {
|
|
12
|
-
HIGH_ASSURANCE: "urn:globus:auth:scope:ENDPOINT_ID:manage_collections",
|
|
13
|
-
NON_HIGH_ASSURANCE: "urn:globus:auth:scope:ENDPOINT_ID:manage_collections[*https://auth.globus.org/scopes/MAPPED_COLLECTION_ID/data_access]",
|
|
14
|
-
};
|
|
15
|
-
export function getRequiredScopes() {
|
|
16
|
-
return SCOPES.HIGH_ASSURANCE;
|
|
17
|
-
}
|
|
18
|
-
export function build(path, options) {
|
|
19
|
-
const url = new URL(path, GCS_MANAGER_URL);
|
|
20
|
-
if (options && options.search) {
|
|
21
|
-
const search = new URLSearchParams(options.search);
|
|
22
|
-
url.search = search.toString();
|
|
23
|
-
}
|
|
24
|
-
return url.toString();
|
|
25
|
-
}
|
|
26
|
-
import * as versioning_1 from "./service/versioning";
|
|
27
|
-
export { versioning_1 as versioning };
|
|
28
|
-
import * as endpoint_1 from "./service/endpoint";
|
|
29
|
-
export { endpoint_1 as endpoint };
|
|
30
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH;;GAEG;AACH,MAAM,eAAe,GAAG,EAAE,CAAC;AAE3B,MAAM,MAAM,GAAG;IACb,cAAc,EAAE,sDAAsD;IACtE,kBAAkB,EAChB,wHAAwH;CAC3H,CAAC;AAEF,MAAM,UAAU,iBAAiB;IAC/B,OAAO,MAAM,CAAC,cAAc,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,KAAK,CAAC,IAAwB,EAAE,OAA2B;IACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IAC3C,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM,EAAE;QAC7B,MAAM,MAAM,GAAG,IAAI,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACnD,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;KAChC;IACD,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;AACxB,CAAC;8BAE2B,sBAAsB;yBAAtC,UAAU;4BACI,oBAAoB;uBAAlC,QAAQ"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#getEndpoint
|
|
3
|
-
*/
|
|
4
|
-
export declare const get: (parameters?: Record<string, string> | undefined, options?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
5
|
-
//# sourceMappingURL=endpoint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,GAAG,gIAQiC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { build, getRequiredScopes } from "../index";
|
|
2
|
-
import { fetchWithScope } from "../../../core/fetch";
|
|
3
|
-
/**
|
|
4
|
-
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#getEndpoint
|
|
5
|
-
*/
|
|
6
|
-
export const get = function (parameters = {}, options) {
|
|
7
|
-
var _a;
|
|
8
|
-
return fetchWithScope(getRequiredScopes(), build(`/api/endpoint`, {
|
|
9
|
-
search: parameters,
|
|
10
|
-
}), (_a = options === null || options === void 0 ? void 0 : options.fetch) === null || _a === void 0 ? void 0 : _a.options);
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=endpoint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrD;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,UAAU,GAAG,EAAE,EAAE,OAAQ;;IACpD,OAAO,cAAc,CACnB,iBAAiB,EAAE,EACnB,KAAK,CAAC,eAAe,EAAE;QACrB,MAAM,EAAE,UAAU;KACnB,CAAC,EACF,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,OAAO,CACxB,CAAC;AACJ,CAAiD,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Versioning/#getInfo
|
|
4
|
-
*/
|
|
5
|
-
export declare const getAll: (parameters?: Record<string, string> | undefined, options?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
6
|
-
//# sourceMappingURL=versioning.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"versioning.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,MAAM,gIAQ8B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { build, getRequiredScopes } from "../index";
|
|
2
|
-
import { fetchWithScope } from "../../../core/fetch";
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Versioning/#getInfo
|
|
6
|
-
*/
|
|
7
|
-
export const getAll = function (parameters = {}, options) {
|
|
8
|
-
var _a;
|
|
9
|
-
return fetchWithScope(getRequiredScopes(), build(`/api/info`, {
|
|
10
|
-
search: parameters,
|
|
11
|
-
}), (_a = options === null || options === void 0 ? void 0 : options.fetch) === null || _a === void 0 ? void 0 : _a.options);
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=versioning.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"versioning.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrD;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,UAAU,GAAG,EAAE,EAAE,OAAQ;;IACvD,OAAO,cAAc,CACnB,iBAAiB,EAAE,EACnB,KAAK,CAAC,WAAW,EAAE;QACjB,MAAM,EAAE,UAAU;KACnB,CAAC,EACF,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,OAAO,CACxB,CAAC;AACJ,CAAiD,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Environment } from "../../core/global";
|
|
2
|
-
export declare const ID = "SEARCH";
|
|
3
|
-
export declare const HOSTS: Partial<Record<Environment, string>>;
|
|
4
|
-
/**
|
|
5
|
-
* @see https://docs.globus.org/api/search/api_usage/#scopes
|
|
6
|
-
*/
|
|
7
|
-
export declare const SCOPES: {
|
|
8
|
-
ALL: string;
|
|
9
|
-
INGEST: string;
|
|
10
|
-
SEARCH: string;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/search/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,EAAE,WAAW,CAAC;AAC3B,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export const ID = "SEARCH";
|
|
2
|
-
export const HOSTS = {
|
|
3
|
-
sandbox: "search.api.sandbox.globuscs.info",
|
|
4
|
-
production: "search.api.globus.org",
|
|
5
|
-
staging: "search.api.staging.globuscs.info",
|
|
6
|
-
integration: "search.api.integration.globuscs.info",
|
|
7
|
-
test: "search.api.test.globuscs.info",
|
|
8
|
-
preview: "search.api.preview.globus.org",
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* @see https://docs.globus.org/api/search/api_usage/#scopes
|
|
12
|
-
*/
|
|
13
|
-
export const SCOPES = {
|
|
14
|
-
ALL: "urn:globus:auth:scope:search.api.globus.org:all",
|
|
15
|
-
INGEST: "urn:globus:auth:scope:search.api.globus.org:ingest",
|
|
16
|
-
SEARCH: "urn:globus:auth:scope:search.api.globus.org:search",
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/search/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC;AAC3B,MAAM,CAAC,MAAM,KAAK,GAAyC;IACzD,OAAO,EAAE,kCAAkC;IAC3C,UAAU,EAAE,uBAAuB;IACnC,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,sCAAsC;IACnD,IAAI,EAAE,+BAA+B;IACrC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,GAAG,EAAE,iDAAiD;IACtD,MAAM,EAAE,oDAAoD;IAC5D,MAAM,EAAE,oDAAoD;CAC7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/search/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,eAAO,MAAM,MAAM,eAAS,CAAC;AAE7B,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description A wrapper around the Globus Search service.
|
|
3
|
-
* @category Service
|
|
4
|
-
* @see [Globus Search API Documentation](https://docs.globus.org/api/search/reference/
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
|
-
import * as SEARCH from "./config";
|
|
8
|
-
export const CONFIG = SEARCH;
|
|
9
|
-
import * as query_1 from "./service/query";
|
|
10
|
-
export { query_1 as query };
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/search/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC;yBAEN,iBAAiB;oBAA5B,KAAK"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/search/service/query.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,GAAG;OAgBT,MAAM;;;;;;;8FAQZ,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { build } from "../../../core/url";
|
|
2
|
-
import { fetchWithScope } from "../../../core/fetch";
|
|
3
|
-
import { ID, SCOPES } from "../config";
|
|
4
|
-
/**
|
|
5
|
-
* @see https://docs.globus.org/api/search/reference/get_query/
|
|
6
|
-
*/
|
|
7
|
-
export const get = function (index_id, parameters, sdkOptions) {
|
|
8
|
-
var _a;
|
|
9
|
-
return fetchWithScope(SCOPES.SEARCH, build(ID, `/v1/index/${index_id}/search`, {
|
|
10
|
-
search: parameters,
|
|
11
|
-
}), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../../../src/lib/services/search/service/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,QAAQ,EAAE,UAAU,EAAE,UAAW;;IAC5D,OAAO,cAAc,CACnB,MAAM,CAAC,MAAM,EACb,KAAK,CAAC,EAAE,EAAE,aAAa,QAAQ,SAAS,EAAE;QACxC,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAcC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/shared.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../src/lib/services/shared.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,iCAAiB,CAAA;AACnB,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,EAAE,aAAa,CAAC;AAC7B,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export const ID = "TRANSFER";
|
|
2
|
-
export const HOSTS = {
|
|
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
|
-
};
|
|
10
|
-
//# sourceMappingURL=config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,EAAE,GAAG,UAAU,CAAC;AAC7B,MAAM,CAAC,MAAM,KAAK,GAAyC;IACzD,OAAO,EAAE,gCAAgC;IACzC,UAAU,EAAE,+BAA+B;IAC3C,OAAO,EAAE,oCAAoC;IAC7C,WAAW,EAAE,wCAAwC;IACrD,IAAI,EAAE,iCAAiC;IACvC,OAAO,EAAE,iCAAiC;CAC3C,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description A wrapper around the Globus Transfer service.
|
|
3
|
-
* @category Service
|
|
4
|
-
* @see [Globus Transfer API Documentation](https://docs.globus.org/api/transfer/)
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
|
-
import * as TRANSFER from "./config";
|
|
8
|
-
export declare const CONFIG: typeof TRANSFER;
|
|
9
|
-
import _endpointSearch from "./service/endpoint-search";
|
|
10
|
-
export declare const endpointSearch: typeof _endpointSearch;
|
|
11
|
-
export * as fileOperations from "./service/file-operations";
|
|
12
|
-
export * as taskSubmission from "./service/task-submission";
|
|
13
|
-
export * as endpoint from "./service/endpoint";
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,MAAM,iBAAW,CAAC;AAE/B,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,eAAO,MAAM,cAAc,wBAAkB,CAAC;AAC9C,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description A wrapper around the Globus Transfer service.
|
|
3
|
-
* @category Service
|
|
4
|
-
* @see [Globus Transfer API Documentation](https://docs.globus.org/api/transfer/)
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
|
-
import * as TRANSFER from "./config";
|
|
8
|
-
export const CONFIG = TRANSFER;
|
|
9
|
-
import _endpointSearch from "./service/endpoint-search";
|
|
10
|
-
export const endpointSearch = _endpointSearch;
|
|
11
|
-
import * as fileOperations_1 from "./service/file-operations";
|
|
12
|
-
export { fileOperations_1 as fileOperations };
|
|
13
|
-
import * as taskSubmission_1 from "./service/task-submission";
|
|
14
|
-
export { taskSubmission_1 as taskSubmission };
|
|
15
|
-
import * as endpoint_1 from "./service/endpoint";
|
|
16
|
-
export { endpoint_1 as endpoint };
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC;AAE/B,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAC;kCACd,2BAA2B;6BAA/C,cAAc;kCACM,2BAA2B;6BAA/C,cAAc;4BACA,oBAAoB;uBAAlC,QAAQ"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { SDKOptions } from "../../types";
|
|
2
|
-
import { Globus } from "../types";
|
|
3
|
-
/**
|
|
4
|
-
* @see https://docs.globus.org/api/transfer/endpoint_search/#endpoint_search
|
|
5
|
-
*/
|
|
6
|
-
export default function endpointSearch(
|
|
7
|
-
/**
|
|
8
|
-
* @see https://docs.globus.org/api/transfer/endpoint_search/#query_parameters
|
|
9
|
-
*/
|
|
10
|
-
parameters?: Globus.Transfer.EndpointSearchQuery, options?: SDKOptions): Promise<Response>;
|
|
11
|
-
//# sourceMappingURL=endpoint-search.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint-search.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc;AACpC;;GAEG;AACH,UAAU,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,mBAAmB,EAChD,OAAO,CAAC,EAAE,UAAU,qBASrB"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { build } from "../../../core/url";
|
|
2
|
-
import { fetchWithScope } from "../../../core/fetch";
|
|
3
|
-
import { ID } from "../config";
|
|
4
|
-
/**
|
|
5
|
-
* @see https://docs.globus.org/api/transfer/endpoint_search/#endpoint_search
|
|
6
|
-
*/
|
|
7
|
-
export default function endpointSearch(
|
|
8
|
-
/**
|
|
9
|
-
* @see https://docs.globus.org/api/transfer/endpoint_search/#query_parameters
|
|
10
|
-
*/
|
|
11
|
-
parameters, options) {
|
|
12
|
-
var _a;
|
|
13
|
-
return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/endpoint_search`, {
|
|
14
|
-
search: parameters !== null && parameters !== void 0 ? parameters : {},
|
|
15
|
-
}), (_a = options === null || options === void 0 ? void 0 : options.fetch) === null || _a === void 0 ? void 0 : _a.options);
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=endpoint-search.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint-search.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAG/B;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc;AACpC;;GAEG;AACH,UAAgD,EAChD,OAAoB;;IAEpB,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,wBAAwB,EAAE;QAClC,MAAM,EAAE,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,EAAE;KACzB,CAAC,EACF,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,OAAO,CACxB,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,eAAO,MAAM,GAAG,8HAYf,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { build } from "../../../core/url";
|
|
2
|
-
import { fetchWithScope } from "../../../core/fetch";
|
|
3
|
-
import { ID } from "../config";
|
|
4
|
-
/**
|
|
5
|
-
* Fetch an endpoint by its UUID.
|
|
6
|
-
*/
|
|
7
|
-
export const get = function (endpoint_xid, _options, sdkOptions) {
|
|
8
|
-
var _a;
|
|
9
|
-
return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/endpoint/${endpoint_xid}`), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=endpoint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAQ/B;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,YAAY,EAAE,QAAS,EAAE,UAAW;;IAC/D,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,mBAAmB,YAAY,EAAE,CAAC,oBAEvC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAIC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-operations.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/file-operations.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKvC;;;;;GAKG;AACH,eAAO,MAAM,EAAE,wKAWd,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK;aAmBL,KAAK,OAAO,QAAQ,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;8FAE5D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM;aAmBN,KAAK,OAAO,QAAQ,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;8FAE7D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO;aAmBP,KAAK,OAAO,QAAQ,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;8FAE9D,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { build } from "../../../core/url";
|
|
2
|
-
import { fetchWithScope } from "../../../core/fetch";
|
|
3
|
-
import { HTTP_METHODS } from "../../shared";
|
|
4
|
-
import { getHeadersForService } from "../shared";
|
|
5
|
-
import { ID } from "../config";
|
|
6
|
-
/**
|
|
7
|
-
* List the contents of the directory at the specified path on an endpoint’s filesystem.
|
|
8
|
-
* The endpoint must be activated before performing this operation.
|
|
9
|
-
*
|
|
10
|
-
* @see https://docs.globus.org/api/transfer/file_operations/#list_directory_contents
|
|
11
|
-
*/
|
|
12
|
-
export const ls = function (endpoint_xid, parameters, sdkOptions) {
|
|
13
|
-
var _a;
|
|
14
|
-
return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/operation/endpoint/${endpoint_xid}/ls`, {
|
|
15
|
-
search: parameters,
|
|
16
|
-
}), (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options);
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Create a directory at the specified path on an endpoint filesystem.
|
|
20
|
-
* The endpoint must be activated before performing this operation.
|
|
21
|
-
*
|
|
22
|
-
* @see https://docs.globus.org/api/transfer/file_operations/#make_directory
|
|
23
|
-
*/
|
|
24
|
-
export const mkdir = function (endpoint_xid, options, sdkOptions) {
|
|
25
|
-
var _a;
|
|
26
|
-
const reqBody = Object.assign({ DATA_TYPE: "mkdir" }, options === null || options === void 0 ? void 0 : options.payload);
|
|
27
|
-
return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/operation/endpoint/${endpoint_xid}/mkdir`), Object.assign({ method: HTTP_METHODS.post, body: JSON.stringify(reqBody), headers: getHeadersForService(HTTP_METHODS.post) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Rename or move a file, directory, or symlink on an endpoint filesystem.
|
|
31
|
-
* If the object is a symlink, the symlink itself is renamed, not its target
|
|
32
|
-
* The endpoint must be activated before performing this operation.
|
|
33
|
-
* When moving to a different parent directory, the parent directory of the new path must already exist.
|
|
34
|
-
*
|
|
35
|
-
* @see https://docs.globus.org/api/transfer/file_operations/#rename
|
|
36
|
-
*/
|
|
37
|
-
export const rename = function (endpoint_xid, options, sdkOptions) {
|
|
38
|
-
var _a;
|
|
39
|
-
const reqBody = Object.assign({ DATA_TYPE: "rename" }, options === null || options === void 0 ? void 0 : options.payload);
|
|
40
|
-
return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/operation/endpoint/${endpoint_xid}/rename`), Object.assign({ method: HTTP_METHODS.post, body: JSON.stringify(reqBody), headers: getHeadersForService(HTTP_METHODS.post) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Create a directory at the specified path on an endpoint filesystem.
|
|
44
|
-
* The endpoint must be activated before performing this operation.
|
|
45
|
-
*
|
|
46
|
-
* @see https://docs.globus.org/api/transfer/file_operations/#symlink
|
|
47
|
-
*/
|
|
48
|
-
export const symlink = function (endpoint_xid, options, sdkOptions) {
|
|
49
|
-
var _a;
|
|
50
|
-
const reqBody = Object.assign({ DATA_TYPE: "symlink" }, options === null || options === void 0 ? void 0 : options.payload);
|
|
51
|
-
return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/operation/endpoint/${endpoint_xid}/symlink`), Object.assign({ method: HTTP_METHODS.post, body: JSON.stringify(reqBody), headers: getHeadersForService(HTTP_METHODS.post) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=file-operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-operations.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/file-operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAK5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG,UAAU,YAAY,EAAE,UAAW,EAAE,UAAW;;IAChE,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,6BAA6B,YAAY,KAAK,EAAE;QACxD,MAAM,EAAE,UAAU;KACnB,CAAC,EACF,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,CAC3B,CAAC;AACJ,CAGC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,YAAY,EAAE,OAAO,EAAE,UAAW;;IAC/D,MAAM,OAAO,mBACX,SAAS,EAAE,OAAO,IACf,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CACpB,CAAC;IAEF,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,6BAA6B,YAAY,QAAQ,CAAC,kBAE1D,MAAM,EAAE,YAAY,CAAC,IAAI,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAC7B,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7C,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAKC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,YAAY,EAAE,OAAO,EAAE,UAAW;;IAChE,MAAM,OAAO,mBACX,SAAS,EAAE,QAAQ,IAChB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CACpB,CAAC;IAEF,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,6BAA6B,YAAY,SAAS,CAAC,kBAE3D,MAAM,EAAE,YAAY,CAAC,IAAI,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAC7B,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7C,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAKC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,YAAY,EAAE,OAAO,EAAE,UAAW;;IACjE,MAAM,OAAO,mBACX,SAAS,EAAE,SAAS,IACjB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CACpB,CAAC;IAEF,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,6BAA6B,YAAY,UAAU,CAAC,kBAE5D,MAAM,EAAE,YAAY,CAAC,IAAI,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAC7B,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7C,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAKC,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { SDKOptions, ServiceMethod } from "../../types";
|
|
2
|
-
import { Globus } from "../types";
|
|
3
|
-
/**
|
|
4
|
-
* Submit a delete task. A delete submission contains a single endpoint and a
|
|
5
|
-
* list of paths to delete.
|
|
6
|
-
*
|
|
7
|
-
* @see https://docs.globus.org/api/transfer/task_submit/#submit_delete_task
|
|
8
|
-
*/
|
|
9
|
-
export declare const submitDelete: ServiceMethod<{
|
|
10
|
-
payload: Omit<Globus.Transfer.Request.Delete, "DATA_TYPE">;
|
|
11
|
-
}>;
|
|
12
|
-
export declare const submitTransfer: ServiceMethod<{
|
|
13
|
-
payload: Omit<Globus.Transfer.Request.Transfer, "DATA_TYPE">;
|
|
14
|
-
}>;
|
|
15
|
-
/**
|
|
16
|
-
* Get a submission id, required when submitting transfer and delete tasks.
|
|
17
|
-
* Note that this is different than the task id returned by the submit operations.
|
|
18
|
-
*
|
|
19
|
-
* @see https://docs.globus.org/api/transfer/task_submit/#get_submission_id
|
|
20
|
-
*/
|
|
21
|
-
export declare function submissionId(options?: SDKOptions): Promise<Response>;
|
|
22
|
-
//# sourceMappingURL=task-submission.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-submission.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/task-submission.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKlC;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC;IACvC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;CAC5D,CAgBA,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC;IACzC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;CAC9D,CAcA,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,OAAO,CAAC,EAAE,UAAU,qBAQhD"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { build } from "../../../core/url";
|
|
2
|
-
import { fetchWithScope } from "../../../core/fetch";
|
|
3
|
-
import { HTTP_METHODS } from "../../shared";
|
|
4
|
-
import { getHeadersForService } from "../shared";
|
|
5
|
-
import { ID } from "../config";
|
|
6
|
-
/**
|
|
7
|
-
* Submit a delete task. A delete submission contains a single endpoint and a
|
|
8
|
-
* list of paths to delete.
|
|
9
|
-
*
|
|
10
|
-
* @see https://docs.globus.org/api/transfer/task_submit/#submit_delete_task
|
|
11
|
-
*/
|
|
12
|
-
export const submitDelete = function (options, sdkOptions) {
|
|
13
|
-
var _a;
|
|
14
|
-
const reqBody = Object.assign({ DATA_TYPE: "delete" }, options === null || options === void 0 ? void 0 : options.payload);
|
|
15
|
-
return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/delete`), Object.assign({ method: HTTP_METHODS.post, body: JSON.stringify(reqBody), headers: getHeadersForService(HTTP_METHODS.post) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
16
|
-
};
|
|
17
|
-
export const submitTransfer = function (options, sdkOptions) {
|
|
18
|
-
var _a;
|
|
19
|
-
return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/transfer`), Object.assign({ method: HTTP_METHODS.post, body: JSON.stringify(Object.assign({ DATA_TYPE: "transfer" }, options === null || options === void 0 ? void 0 : options.payload)), headers: getHeadersForService(HTTP_METHODS.post) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Get a submission id, required when submitting transfer and delete tasks.
|
|
23
|
-
* Note that this is different than the task id returned by the submit operations.
|
|
24
|
-
*
|
|
25
|
-
* @see https://docs.globus.org/api/transfer/task_submit/#get_submission_id
|
|
26
|
-
*/
|
|
27
|
-
export function submissionId(options) {
|
|
28
|
-
var _a;
|
|
29
|
-
return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/submission_id`), Object.assign({}, (_a = options === null || options === void 0 ? void 0 : options.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=task-submission.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-submission.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/task-submission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAK5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAEpB,UAAU,OAAO,EAAE,UAAuB;;IAC7C,MAAM,OAAO,mBACX,SAAS,EAAE,QAAQ,IAChB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CACpB,CAAC;IAEF,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,eAAe,CAAC,kBAExB,MAAM,EAAE,YAAY,CAAC,IAAI,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAC7B,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7C,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAEtB,UAAU,OAAO,EAAE,UAAuB;;IAC7C,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,iBAAiB,CAAC,kBAE1B,MAAM,EAAE,YAAY,CAAC,IAAI,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,iBAClB,SAAS,EAAE,UAAU,IAClB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,EACnB,EACF,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7C,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,OAAoB;;IAC/C,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,sBAAsB,CAAC,oBAE5B,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,OAAO,EAE7B,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,OAAO,YAAY,GAChC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAOrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,UAAU,oBAAoB,CAClC,MAAiC;IAEjC,IAAI,MAAM,KAAK,YAAY,CAAC,GAAG,EAAE;QAC/B,OAAO,EAAE,CAAC;KACX;IACD,OAAO;QACL,cAAc,EAAE,kBAAkB;KACnC,CAAC;AACJ,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { FetchOverrides } from "../core/fetch";
|
|
2
|
-
export interface JSONFetchResponse<Res> extends Response {
|
|
3
|
-
json(): Promise<Res>;
|
|
4
|
-
}
|
|
5
|
-
export type SDKOptions = {
|
|
6
|
-
fetch?: {
|
|
7
|
-
options: FetchOverrides;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export type ServiceMethodResponse = {
|
|
11
|
-
/**
|
|
12
|
-
* The raw response from the upstream service.
|
|
13
|
-
*/
|
|
14
|
-
_raw: Record<string, Record<string, any>>;
|
|
15
|
-
/**
|
|
16
|
-
* Information we deem worthwhile to augment responses with.
|
|
17
|
-
* - Timing information, debug information, etc.
|
|
18
|
-
*/
|
|
19
|
-
_metadata: Record<string, any>;
|
|
20
|
-
data: Record<string, any>;
|
|
21
|
-
};
|
|
22
|
-
export type ServiceMethodOptions<Q extends Record<string, string>, P extends Record<string, string>> = {
|
|
23
|
-
query?: Record<string, any> & Q;
|
|
24
|
-
payload?: Record<string, any> & P;
|
|
25
|
-
};
|
|
26
|
-
type Segment = string | Record<string, string>;
|
|
27
|
-
type Options = Record<string, never> | Record<string, any> | ServiceMethodOptions<any, any>;
|
|
28
|
-
export type ServiceMethod<Options, R extends Response = Response> = (methodOptions?: Options, sdkOptions?: SDKOptions) => Promise<R>;
|
|
29
|
-
export type ServiceMethodDynamicSegments<S extends Segment, O extends Options, R extends Response = Response> = (segments: S, methodOptions?: O, sdkOptions?: SDKOptions) => Promise<R>;
|
|
30
|
-
export {};
|
|
31
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,MAAM,WAAW,iBAAiB,CAAC,GAAG,CAAE,SAAQ,QAAQ;IACtD,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;CACtB;AACD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE;QACN,OAAO,EAAE,cAAc,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAC1C;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAChC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAC9B;IACF,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;CACnC,CAAC;AAEF,KAAK,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC/C,KAAK,OAAO,GACR,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACrB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB,oBAAoB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAEnC,MAAM,MAAM,aAAa,CAAC,OAAO,EAAE,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAAI,CAClE,aAAa,CAAC,EAAE,OAAO,EACvB,UAAU,CAAC,EAAE,UAAU,KACpB,OAAO,CAAC,CAAC,CAAC,CAAC;AAEhB,MAAM,MAAM,4BAA4B,CACtC,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAC3B,CAAC,QAAQ,EAAE,CAAC,EAAE,aAAa,CAAC,EAAE,CAAC,EAAE,UAAU,CAAC,EAAE,UAAU,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/lib/services/types.ts"],"names":[],"mappings":""}
|