@globus/sdk 0.2.0-alpha.0 → 0.3.0-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/commonjs/src/lib/core/url.d.ts +16 -4
- package/dist/commonjs/src/lib/core/url.d.ts.map +1 -1
- package/dist/commonjs/src/lib/core/url.js +36 -7
- package/dist/commonjs/src/lib/core/url.js.map +1 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/client.d.ts +3380 -4
- package/dist/commonjs/src/lib/services/globus-connect-server/client.d.ts.map +1 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/client.js +15 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/client.js.map +1 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/index.d.ts +4 -9
- package/dist/commonjs/src/lib/services/globus-connect-server/index.d.ts.map +1 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/index.js +5 -17
- package/dist/commonjs/src/lib/services/globus-connect-server/index.js.map +1 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.d.ts +8 -2
- package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.d.ts.map +1 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.js +4 -7
- package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.js.map +1 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.d.ts +3 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.js +2 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.d.ts +13 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.d.ts.map +1 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.js +23 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.js.map +1 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.d.ts +15 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.js +25 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.d.ts +14 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.js +23 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.js.map +1 -0
- package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.d.ts +3 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.d.ts.map +1 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.js +2 -1
- package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.js.map +1 -1
- package/dist/commonjs/src/lib/services/transfer/service/endpoint-search.d.ts.map +1 -1
- package/dist/commonjs/src/lib/services/transfer/service/endpoint-search.js +5 -9
- package/dist/commonjs/src/lib/services/transfer/service/endpoint-search.js.map +1 -1
- package/dist/commonjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/src/lib/core/url.d.ts +16 -4
- package/dist/src/lib/core/url.d.ts.map +1 -1
- package/dist/src/lib/core/url.js +34 -6
- package/dist/src/lib/core/url.js.map +1 -1
- package/dist/src/lib/services/globus-connect-server/client.d.ts +3380 -4
- package/dist/src/lib/services/globus-connect-server/client.d.ts.map +1 -1
- package/dist/src/lib/services/globus-connect-server/client.js +15 -0
- package/dist/src/lib/services/globus-connect-server/client.js.map +1 -1
- package/dist/src/lib/services/globus-connect-server/index.d.ts +4 -9
- package/dist/src/lib/services/globus-connect-server/index.d.ts.map +1 -1
- package/dist/src/lib/services/globus-connect-server/index.js +7 -15
- package/dist/src/lib/services/globus-connect-server/index.js.map +1 -1
- package/dist/src/lib/services/globus-connect-server/service/collections.d.ts +8 -2
- package/dist/src/lib/services/globus-connect-server/service/collections.d.ts.map +1 -1
- package/dist/src/lib/services/globus-connect-server/service/collections.js +3 -6
- package/dist/src/lib/services/globus-connect-server/service/collections.js.map +1 -1
- package/dist/src/lib/services/globus-connect-server/service/endpoint.d.ts +3 -1
- package/dist/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
- package/dist/src/lib/services/globus-connect-server/service/endpoint.js +2 -1
- package/dist/src/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
- package/dist/src/lib/services/globus-connect-server/service/roles.d.ts +13 -0
- package/dist/src/lib/services/globus-connect-server/service/roles.d.ts.map +1 -0
- package/dist/src/lib/services/globus-connect-server/service/roles.js +20 -0
- package/dist/src/lib/services/globus-connect-server/service/roles.js.map +1 -0
- package/dist/src/lib/services/globus-connect-server/service/storage-gateways.d.ts +15 -0
- package/dist/src/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -0
- package/dist/src/lib/services/globus-connect-server/service/storage-gateways.js +22 -0
- package/dist/src/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -0
- package/dist/src/lib/services/globus-connect-server/service/user-credentials.d.ts +14 -0
- package/dist/src/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -0
- package/dist/src/lib/services/globus-connect-server/service/user-credentials.js +20 -0
- package/dist/src/lib/services/globus-connect-server/service/user-credentials.js.map +1 -0
- package/dist/src/lib/services/globus-connect-server/service/versioning.d.ts +3 -1
- package/dist/src/lib/services/globus-connect-server/service/versioning.d.ts.map +1 -1
- package/dist/src/lib/services/globus-connect-server/service/versioning.js +2 -1
- package/dist/src/lib/services/globus-connect-server/service/versioning.js.map +1 -1
- package/dist/src/lib/services/transfer/service/endpoint-search.d.ts.map +1 -1
- package/dist/src/lib/services/transfer/service/endpoint-search.js +5 -9
- package/dist/src/lib/services/transfer/service/endpoint-search.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,GAAG,CAAC;AA8B1C;;;GAGG;AACH,wBAAgB,SAAS,CAAC,aAAa,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BxD"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as collections from "./service/collections";
|
|
2
2
|
import * as endpoint from "./service/endpoint";
|
|
3
|
+
import * as roles from "./service/roles";
|
|
4
|
+
import * as storageGateways from "./service/storage-gateways";
|
|
5
|
+
import * as userCredentials from "./service/user-credentials";
|
|
3
6
|
import * as versioning from "./service/endpoint";
|
|
4
7
|
/**
|
|
5
8
|
* Bind arguments to a method (partial application).
|
|
@@ -28,6 +31,18 @@ export function getClient(configuration) {
|
|
|
28
31
|
get: bind(collections.get, configuration),
|
|
29
32
|
getAll: bind(collections.getAll, configuration),
|
|
30
33
|
},
|
|
34
|
+
userCredentials: {
|
|
35
|
+
get: bind(userCredentials.get, configuration),
|
|
36
|
+
getAll: bind(userCredentials.getAll, configuration),
|
|
37
|
+
},
|
|
38
|
+
storageGateways: {
|
|
39
|
+
get: bind(storageGateways.get, configuration),
|
|
40
|
+
getAll: bind(storageGateways.getAll, configuration),
|
|
41
|
+
},
|
|
42
|
+
roles: {
|
|
43
|
+
get: bind(roles.get, configuration),
|
|
44
|
+
getAll: bind(roles.getAll, configuration),
|
|
45
|
+
},
|
|
31
46
|
};
|
|
32
47
|
}
|
|
33
48
|
//# sourceMappingURL=client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/client.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AASjD;;;;GAIG;AACH,SAAS,IAAI,CACX,MAAS,EACT,GAAG,KAAW;IAEd,OAAO,UAAU,GAAG,IAAsC;QACxD,OAAO,MAAM,CAAC,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC;IACnC,CAAC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,aAA+B;IACvD,OAAO;QACL,aAAa;QACb,QAAQ,EAAE;YACR,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;SACvC;QACD,UAAU,EAAE;YACV,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,aAAa,CAAC;SACzC;QACD,WAAW,EAAE;YACX,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,aAAa,CAAC;YACzC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,aAAa,CAAC;SAChD;KACF,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/client.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAC;AACzC,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AASjD;;;;GAIG;AACH,SAAS,IAAI,CACX,MAAS,EACT,GAAG,KAAW;IAEd,OAAO,UAAU,GAAG,IAAsC;QACxD,OAAO,MAAM,CAAC,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC;IACnC,CAAC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,aAA+B;IACvD,OAAO;QACL,aAAa;QACb,QAAQ,EAAE;YACR,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;SACvC;QACD,UAAU,EAAE;YACV,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,aAAa,CAAC;SACzC;QACD,WAAW,EAAE;YACX,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,aAAa,CAAC;YACzC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,aAAa,CAAC;SAChD;QACD,eAAe,EAAE;YACf,GAAG,EAAE,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,aAAa,CAAC;YAC7C,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC;SACpD;QACD,eAAe,EAAE;YACf,GAAG,EAAE,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,aAAa,CAAC;YAC7C,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC;SACpD;QACD,KAAK,EAAE;YACL,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,aAAa,CAAC;YACnC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,CAAC;SAC1C;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -6,21 +6,16 @@
|
|
|
6
6
|
*/
|
|
7
7
|
/// <reference types="@globus/types" />
|
|
8
8
|
import type { Segment, Options, SDKOptions, ServiceMethod, ServiceMethodDynamicSegments } from "../types";
|
|
9
|
-
type BuildParameters = Parameters<typeof import("../../core/url").build>;
|
|
10
9
|
/**
|
|
11
10
|
* Service methods for the Globus Connect Server Manager API.
|
|
12
11
|
*/
|
|
13
12
|
export * as collections from "./service/collections";
|
|
14
13
|
export * as endpoint from "./service/endpoint";
|
|
15
|
-
export * as
|
|
14
|
+
export * as roles from "./service/roles";
|
|
15
|
+
export * as storageGateways from "./service/storage-gateways";
|
|
16
|
+
export * as userCredentials from "./service/user-credentials";
|
|
17
|
+
export * as versioning from "./service/endpoint";
|
|
16
18
|
export declare function getRequiredScopes(configuration: GCSConfiguration): string;
|
|
17
|
-
/**
|
|
18
|
-
* Build a URL for the Globus Connect Server Manager API.
|
|
19
|
-
* @param host The base URL for the Globus Connect Server Manager API.
|
|
20
|
-
* @param path The path to the resource.
|
|
21
|
-
* @param options Additional options for the URL.
|
|
22
|
-
*/
|
|
23
|
-
export declare function build(configuration: GCSConfiguration, path: BuildParameters[1], options?: BuildParameters[2]): string;
|
|
24
19
|
/**
|
|
25
20
|
* The configuration object used by all Globus Connect Server Manager API methods.
|
|
26
21
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,UAAU,EACV,aAAa,EACb,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAElB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,UAAU,EACV,aAAa,EACb,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAElB;;GAEG;AACH,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAC;AACzC,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAQjD,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,gBAAgB,UAKhE;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC;CAC1B,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAC1B,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAC3B,CACF,aAAa,EAAE,gBAAgB,EAC/B,aAAa,CAAC,EAAE,CAAC,EACjB,UAAU,CAAC,EAAE,UAAU,KACpB,UAAU,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAErC;;;GAGG;AACH,MAAM,MAAM,+BAA+B,CACzC,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAC3B,CACF,aAAa,EAAE,gBAAgB,EAC/B,QAAQ,EAAE,CAAC,EACX,aAAa,CAAC,EAAE,CAAC,EACjB,UAAU,CAAC,EAAE,UAAU,KACpB,UAAU,CAAC,4BAA4B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -8,7 +8,13 @@ import * as collections_1 from "./service/collections";
|
|
|
8
8
|
export { collections_1 as collections };
|
|
9
9
|
import * as endpoint_1 from "./service/endpoint";
|
|
10
10
|
export { endpoint_1 as endpoint };
|
|
11
|
-
import * as
|
|
11
|
+
import * as roles_1 from "./service/roles";
|
|
12
|
+
export { roles_1 as roles };
|
|
13
|
+
import * as storageGateways_1 from "./service/storage-gateways";
|
|
14
|
+
export { storageGateways_1 as storageGateways };
|
|
15
|
+
import * as userCredentials_1 from "./service/user-credentials";
|
|
16
|
+
export { userCredentials_1 as userCredentials };
|
|
17
|
+
import * as versioning_1 from "./service/endpoint";
|
|
12
18
|
export { versioning_1 as versioning };
|
|
13
19
|
const SCOPES = {
|
|
14
20
|
HIGH_ASSURANCE: "urn:globus:auth:scope:<ENDPOINT_ID>:manage_collections",
|
|
@@ -17,18 +23,4 @@ const SCOPES = {
|
|
|
17
23
|
export function getRequiredScopes(configuration) {
|
|
18
24
|
return SCOPES.HIGH_ASSURANCE.replace("<ENDPOINT_ID>", configuration.endpoint_id);
|
|
19
25
|
}
|
|
20
|
-
/**
|
|
21
|
-
* Build a URL for the Globus Connect Server Manager API.
|
|
22
|
-
* @param host The base URL for the Globus Connect Server Manager API.
|
|
23
|
-
* @param path The path to the resource.
|
|
24
|
-
* @param options Additional options for the URL.
|
|
25
|
-
*/
|
|
26
|
-
export function build(configuration, path, options) {
|
|
27
|
-
const url = new URL(path, configuration.host);
|
|
28
|
-
if (options && options.search) {
|
|
29
|
-
const search = new URLSearchParams(options.search);
|
|
30
|
-
url.search = search.toString();
|
|
31
|
-
}
|
|
32
|
-
return url.toString();
|
|
33
|
-
}
|
|
34
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;+BAa0B,uBAAuB;0BAAxC,WAAW;4BACG,oBAAoB;uBAAlC,QAAQ;yBACG,iBAAiB;oBAA5B,KAAK;mCACgB,4BAA4B;8BAAjD,eAAe;mCACM,4BAA4B;8BAAjD,eAAe;8BACC,oBAAoB;yBAApC,UAAU;AAEtB,MAAM,MAAM,GAAG;IACb,cAAc,EAAE,wDAAwD;IACxE,kBAAkB,EAChB,4HAA4H;CAC/H,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,aAA+B;IAC/D,OAAO,MAAM,CAAC,cAAc,CAAC,OAAO,CAClC,eAAe,EACf,aAAa,CAAC,WAAW,CAC1B,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
import type { JSONFetchResponse } from "../../types";
|
|
2
|
+
import type { operations } from "@globus/types/gcs-manager/api";
|
|
1
3
|
/**
|
|
2
4
|
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Collections/#listCollections
|
|
3
5
|
*/
|
|
4
|
-
export declare const getAll: (configuration: import("../index").GCSConfiguration, _parameters?:
|
|
6
|
+
export declare const getAll: (configuration: import("../index").GCSConfiguration, _parameters?: {
|
|
7
|
+
include?: "private_policies"[] | undefined;
|
|
8
|
+
filter?: ("mapped_collections" | "guest_collections" | "managed_by_me" | "created_by_me")[] | undefined;
|
|
9
|
+
mapped_collection_id?: string | undefined;
|
|
10
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["listCollections"]["responses"]["200"]["content"]["application/json"]>>;
|
|
5
11
|
/**
|
|
6
12
|
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Collections/#getCollection
|
|
7
13
|
*/
|
|
8
14
|
export declare const get: (configuration: import("../index").GCSConfiguration, collection_id: string, parameters?: {
|
|
9
15
|
include?: "private_policies"[] | undefined;
|
|
10
|
-
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<
|
|
16
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getCollection"]["responses"]["200"]["content"]["application/json"]>>;
|
|
11
17
|
//# sourceMappingURL=collections.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/collections.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/collections.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,MAAM;;;;6EAIhB,QACD,kBACE,UAAU,CAAC,iBAAiB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACjF,CAWF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,GAAG;;6EAKb,QACD,kBACE,UAAU,CAAC,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC/E,CAcF,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getRequiredScopes } from "../index";
|
|
2
|
+
import { build } from "../../../core/url";
|
|
2
3
|
import { fetchWithScope } from "../../../core/fetch";
|
|
3
4
|
/**
|
|
4
5
|
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Collections/#listCollections
|
|
@@ -12,12 +13,8 @@ export const getAll = function (configuration, _parameters, sdkOptions) {
|
|
|
12
13
|
*/
|
|
13
14
|
export const get = function (configuration, collection_id, parameters, sdkOptions) {
|
|
14
15
|
var _a;
|
|
15
|
-
const search = {};
|
|
16
|
-
if (parameters && "include" in parameters && parameters.include) {
|
|
17
|
-
search.include = parameters.include.join(",");
|
|
18
|
-
}
|
|
19
16
|
return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/collections/${collection_id}`, {
|
|
20
|
-
search,
|
|
17
|
+
search: parameters,
|
|
21
18
|
}), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
22
19
|
};
|
|
23
20
|
//# sourceMappingURL=collections.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/collections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/collections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAUrD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,aAAa,EACb,WAAY,EACZ,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,kBAAkB,CAAC,oBAEnC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAEC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,aAAa,EACb,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,oBAAoB,aAAa,EAAE,EAAE;QACxD,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAGC,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { JSONFetchResponse } from "../../types";
|
|
2
|
+
import type { operations } from "@globus/types/gcs-manager/api";
|
|
1
3
|
/**
|
|
2
4
|
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#getEndpoint
|
|
3
5
|
*/
|
|
4
|
-
export declare const get: (configuration: import("../index").GCSConfiguration, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<
|
|
6
|
+
export declare const get: (configuration: import("../index").GCSConfiguration, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getEndpoint"]["responses"]["200"]["content"]["application/json"]>>;
|
|
5
7
|
//# sourceMappingURL=endpoint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE;;GAEG;AACH,eAAO,MAAM,GAAG,8IAIb,QACD,kBACE,UAAU,CAAC,aAAa,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC7E,CASgC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getRequiredScopes } from "../index";
|
|
2
|
+
import { build } from "../../../core/url";
|
|
2
3
|
import { fetchWithScope } from "../../../core/fetch";
|
|
3
4
|
/**
|
|
4
5
|
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#getEndpoint
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAMrD;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,WAAY,EACZ,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,eAAe,CAAC,oBAEhC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAAmC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { JSONFetchResponse } from "../../types";
|
|
2
|
+
import type { operations } from "@globus/types/gcs-manager/api";
|
|
3
|
+
/**
|
|
4
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Roles/#listRoles
|
|
5
|
+
*/
|
|
6
|
+
export declare const getAll: (configuration: import("../index").GCSConfiguration, parameters?: {
|
|
7
|
+
include?: "all_roles"[] | undefined;
|
|
8
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["listRoles"]["responses"]["200"]["content"]["application/json"]>>;
|
|
9
|
+
/**
|
|
10
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Roles/#getRole
|
|
11
|
+
*/
|
|
12
|
+
export declare const get: (configuration: import("../index").GCSConfiguration, role_id: string, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getRole"]["responses"]["200"]["content"]["application/json"]>>;
|
|
13
|
+
//# sourceMappingURL=roles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/roles.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,MAAM;;6EAIhB,QACD,kBACE,UAAU,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC3E,CAWyE,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,GAAG,+JAKb,QACD,kBACE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACzE,CAYF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { getRequiredScopes } from "../index";
|
|
2
|
+
import { build } from "../../../core/url";
|
|
3
|
+
import { fetchWithScope } from "../../../core/fetch";
|
|
4
|
+
/**
|
|
5
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Roles/#listRoles
|
|
6
|
+
*/
|
|
7
|
+
export const getAll = function (configuration, parameters, sdkOptions) {
|
|
8
|
+
var _a;
|
|
9
|
+
return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/roles`, {
|
|
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
|
+
/**
|
|
14
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Roles/#getRole
|
|
15
|
+
*/
|
|
16
|
+
export const get = function (configuration, role_id, _parameters, sdkOptions) {
|
|
17
|
+
var _a;
|
|
18
|
+
return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/roles/${role_id}`), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=roles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roles.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/roles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAUrD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,aAAa,EACb,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,YAAY,EAAE;QACjC,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAA4E,CAAC;AAE7E;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,OAAO,EACP,WAAY,EACZ,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,cAAc,OAAO,EAAE,CAAC,oBAExC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAGC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { JSONFetchResponse } from "../../types";
|
|
2
|
+
import type { operations } from "@globus/types/gcs-manager/api";
|
|
3
|
+
/**
|
|
4
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Storage_Gateways/#listStorageGateways
|
|
5
|
+
*/
|
|
6
|
+
export declare const getAll: (configuration: import("../index").GCSConfiguration, parameters?: {
|
|
7
|
+
include?: ("private_policies" | "accounts")[] | undefined;
|
|
8
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["listStorageGateways"]["responses"]["200"]["content"]["application/json"]>>;
|
|
9
|
+
/**
|
|
10
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Storage_Gateways/#getStorageGateway
|
|
11
|
+
*/
|
|
12
|
+
export declare const get: (configuration: import("../index").GCSConfiguration, storage_gateway_id: string, parameters?: {
|
|
13
|
+
include?: ("private_policies" | "accounts")[] | undefined;
|
|
14
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getStorageGateway"]["responses"]["200"]["content"]["application/json"]>>;
|
|
15
|
+
//# sourceMappingURL=storage-gateways.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-gateways.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/storage-gateways.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,MAAM;;6EAIhB,QACD,kBACE,UAAU,CAAC,qBAAqB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACrF,CAaF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,GAAG;;6EAKb,QACD,kBACE,UAAU,CAAC,mBAAmB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACnF,CAcF,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getRequiredScopes } from "../index";
|
|
2
|
+
import { build } from "../../../core/url";
|
|
3
|
+
import { fetchWithScope } from "../../../core/fetch";
|
|
4
|
+
/**
|
|
5
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Storage_Gateways/#listStorageGateways
|
|
6
|
+
*/
|
|
7
|
+
export const getAll = function (configuration, parameters, sdkOptions) {
|
|
8
|
+
var _a;
|
|
9
|
+
return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/storage_gateways`, {
|
|
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
|
+
/**
|
|
14
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Storage_Gateways/#getStorageGateway
|
|
15
|
+
*/
|
|
16
|
+
export const get = function (configuration, storage_gateway_id, parameters, sdkOptions) {
|
|
17
|
+
var _a;
|
|
18
|
+
return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/storage_gateways/${storage_gateway_id}`, {
|
|
19
|
+
search: parameters,
|
|
20
|
+
}), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=storage-gateways.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-gateways.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/storage-gateways.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAUrD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,aAAa,EACb,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,uBAAuB,EAAE;QAC5C,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAEC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,kBAAkB,EAClB,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,yBAAyB,kBAAkB,EAAE,EAAE;QAClE,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAGC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { JSONFetchResponse } from "../../types";
|
|
2
|
+
import type { operations } from "@globus/types/gcs-manager/api";
|
|
3
|
+
/**
|
|
4
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_User_Credentials/#listUserCredentials
|
|
5
|
+
*/
|
|
6
|
+
export declare const getAll: (configuration: import("../index").GCSConfiguration, parameters?: {
|
|
7
|
+
include?: "all"[] | undefined;
|
|
8
|
+
storage_gateway?: string | undefined;
|
|
9
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["listUserCredentials"]["responses"]["200"]["content"]["application/json"]>>;
|
|
10
|
+
/**
|
|
11
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_User_Credentials/#getUserCredential
|
|
12
|
+
*/
|
|
13
|
+
export declare const get: (configuration: import("../index").GCSConfiguration, user_credential_id: string, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getCollection"]["responses"]["200"]["content"]["application/json"]>>;
|
|
14
|
+
//# sourceMappingURL=user-credentials.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-credentials.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/user-credentials.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,MAAM;;;6EAIhB,QACD,kBACE,UAAU,CAAC,qBAAqB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACrF,CAaF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,GAAG,0KAKb,QACD,kBACE,UAAU,CAAC,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC/E,CAYF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { getRequiredScopes } from "../index";
|
|
2
|
+
import { build } from "../../../core/url";
|
|
3
|
+
import { fetchWithScope } from "../../../core/fetch";
|
|
4
|
+
/**
|
|
5
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_User_Credentials/#listUserCredentials
|
|
6
|
+
*/
|
|
7
|
+
export const getAll = function (configuration, parameters, sdkOptions) {
|
|
8
|
+
var _a;
|
|
9
|
+
return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/user_credentials`, {
|
|
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
|
+
/**
|
|
14
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_User_Credentials/#getUserCredential
|
|
15
|
+
*/
|
|
16
|
+
export const get = function (configuration, user_credential_id, _parameters, sdkOptions) {
|
|
17
|
+
var _a;
|
|
18
|
+
return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/user_credentials/${user_credential_id}`), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=user-credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-credentials.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/user-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAUrD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,aAAa,EACb,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,uBAAuB,EAAE;QAC5C,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAEC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,kBAAkB,EAClB,WAAY,EACZ,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,yBAAyB,kBAAkB,EAAE,CAAC,oBAE9D,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAGC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { JSONFetchResponse } from "../../types";
|
|
2
|
+
import type { operations } from "@globus/types/gcs-manager/api";
|
|
1
3
|
/**
|
|
2
4
|
*
|
|
3
5
|
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Versioning/#getInfo
|
|
4
6
|
*/
|
|
5
|
-
export declare const info: (configuration: import("../index").GCSConfiguration, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<
|
|
7
|
+
export declare const info: (configuration: import("../index").GCSConfiguration, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getInfo"]["responses"]["200"]["content"]["application/json"]>>;
|
|
6
8
|
//# sourceMappingURL=versioning.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versioning.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"versioning.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,IAAI,8IAId,QACD,kBACE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACzE,CASgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versioning.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"versioning.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAOrD;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,UAClB,aAAa,EACb,WAAY,EACZ,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,WAAW,CAAC,oBAE5B,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAAmC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint-search.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":";;;AAOA;;GAEG;AACH,eAAO,MAAM,cAAc,gBAIZ,OAAO,QAAQ,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"endpoint-search.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":";;;AAOA;;GAEG;AACH,eAAO,MAAM,cAAc,gBAIZ,OAAO,QAAQ,CAAC,mBAAmB,0FAcY,CAAC;AAE/D,eAAe,cAAc,CAAC"}
|
|
@@ -10,16 +10,12 @@ export const endpointSearch = function (
|
|
|
10
10
|
*/
|
|
11
11
|
parameters, options) {
|
|
12
12
|
var _a;
|
|
13
|
-
const search = {};
|
|
14
|
-
if (parameters) {
|
|
15
|
-
for (const [key, value] of Object.entries(parameters)) {
|
|
16
|
-
if (value && (value === null || value === void 0 ? void 0 : value.toString) && typeof value.toString === "function") {
|
|
17
|
-
search[key] = value.toString();
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
13
|
return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/endpoint_search`, {
|
|
22
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Since the exported type used here is an `interface`, we effectivley have to
|
|
16
|
+
* "seal" the type, otherwise the compiler will complain about potentially mismatching index types.
|
|
17
|
+
*/
|
|
18
|
+
search: parameters,
|
|
23
19
|
}), (_a = options === null || options === void 0 ? void 0 : options.fetch) === null || _a === void 0 ? void 0 : _a.options);
|
|
24
20
|
};
|
|
25
21
|
export default endpointSearch;
|
|
@@ -1 +1 @@
|
|
|
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;AAE/B;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;AAC5B;;GAEG;AACH,UAAgD,EAChD,OAAQ;;IAER,
|
|
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;AAE/B;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;AAC5B;;GAEG;AACH,UAAgD,EAChD,OAAQ;;IAER,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,wBAAwB,EAAE;QAClC;;;WAGG;QACH,MAAM,EAAE,UAA2D;KACpE,CAAC,EACF,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,OAAO,CACxB,CAAC;AACJ,CAA8D,CAAC;AAE/D,eAAe,cAAc,CAAC"}
|