@globus/sdk 3.5.1 → 3.6.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/cjs/lib/core/info/version.d.ts +1 -1
- package/cjs/lib/core/info/version.js +1 -1
- package/cjs/lib/services/flows/service/flows.d.ts +15 -0
- package/cjs/lib/services/flows/service/flows.d.ts.map +1 -1
- package/cjs/lib/services/flows/service/flows.js +13 -1
- package/cjs/lib/services/flows/service/flows.js.map +1 -1
- package/cjs/lib/services/flows/service/runs.d.ts +22 -0
- package/cjs/lib/services/flows/service/runs.d.ts.map +1 -1
- package/cjs/lib/services/flows/service/runs.js +24 -1
- package/cjs/lib/services/flows/service/runs.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/client.d.ts +79 -0
- package/cjs/lib/services/globus-connect-server/client.d.ts.map +1 -1
- package/cjs/lib/services/globus-connect-server/client.js +3 -0
- package/cjs/lib/services/globus-connect-server/client.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/endpoint.d.ts +25 -0
- package/cjs/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
- package/cjs/lib/services/globus-connect-server/service/endpoint.js +34 -1
- package/cjs/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
- package/esm/lib/core/info/version.d.ts +1 -1
- package/esm/lib/core/info/version.js +1 -1
- package/esm/lib/services/flows/service/flows.d.ts +15 -0
- package/esm/lib/services/flows/service/flows.d.ts.map +1 -1
- package/esm/lib/services/flows/service/flows.js +12 -0
- package/esm/lib/services/flows/service/flows.js.map +1 -1
- package/esm/lib/services/flows/service/runs.d.ts +22 -0
- package/esm/lib/services/flows/service/runs.d.ts.map +1 -1
- package/esm/lib/services/flows/service/runs.js +24 -1
- package/esm/lib/services/flows/service/runs.js.map +1 -1
- package/esm/lib/services/globus-connect-server/client.d.ts +79 -0
- package/esm/lib/services/globus-connect-server/client.d.ts.map +1 -1
- package/esm/lib/services/globus-connect-server/client.js +3 -0
- package/esm/lib/services/globus-connect-server/client.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/endpoint.d.ts +25 -0
- package/esm/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
- package/esm/lib/services/globus-connect-server/service/endpoint.js +33 -0
- package/esm/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
- package/package.json +1 -1
- package/umd/globus.production.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.6.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -22,4 +22,19 @@ export declare const remove: (flow_id: string, options?: ({
|
|
|
22
22
|
query?: import("../../types.js").BaseServiceMethodOptions["query"];
|
|
23
23
|
headers?: import("../../types.js").BaseServiceMethodOptions["headers"];
|
|
24
24
|
}) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
25
|
+
/**
|
|
26
|
+
* Run an instance of a particular Flow.
|
|
27
|
+
* @see https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1flows~1%7Bflow_id%7D~1run/post
|
|
28
|
+
*/
|
|
29
|
+
export declare const run: (flow_id: string, options?: ({
|
|
30
|
+
query?: never;
|
|
31
|
+
payload: {
|
|
32
|
+
label?: string;
|
|
33
|
+
body: Record<string, any>;
|
|
34
|
+
tags?: string[];
|
|
35
|
+
};
|
|
36
|
+
} & {
|
|
37
|
+
query?: import("../../types.js").BaseServiceMethodOptions["query"];
|
|
38
|
+
headers?: import("../../types.js").BaseServiceMethodOptions["headers"];
|
|
39
|
+
}) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
25
40
|
//# sourceMappingURL=flows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/flows.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,MAAM;YAWT,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACpB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;sJAChC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,GAAG;;;kGAUqD,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,MAAM;YAcP,KAAK;cACH,KAAK;;;;kGAElB,CAAC"}
|
|
1
|
+
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/flows.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,MAAM;YAWT,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACpB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;sJAChC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,GAAG;;;kGAUqD,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,MAAM;YAcP,KAAK;cACH,KAAK;;;;kGAElB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,GAAG;YAcJ,KAAK;aACJ;QACP,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC1B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;KACjB;;;;kGAEJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.remove = exports.get = exports.getAll = void 0;
|
|
3
|
+
exports.run = exports.remove = exports.get = exports.getAll = void 0;
|
|
4
4
|
const config_js_1 = require("../config.js");
|
|
5
5
|
const shared_js_1 = require("../../../services/shared.js");
|
|
6
6
|
/**
|
|
@@ -34,4 +34,16 @@ exports.remove = function (flow_id, options, sdkOptions) {
|
|
|
34
34
|
method: shared_js_1.HTTP_METHODS.DELETE,
|
|
35
35
|
}, options, sdkOptions);
|
|
36
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* Run an instance of a particular Flow.
|
|
39
|
+
* @see https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1flows~1%7Bflow_id%7D~1run/post
|
|
40
|
+
*/
|
|
41
|
+
exports.run = function (flow_id, options, sdkOptions) {
|
|
42
|
+
return (0, shared_js_1.serviceRequest)({
|
|
43
|
+
service: config_js_1.ID,
|
|
44
|
+
scope: config_js_1.SCOPES.VIEW_FLOWS,
|
|
45
|
+
path: `/flows/${flow_id}/run`,
|
|
46
|
+
method: shared_js_1.HTTP_METHODS.POST,
|
|
47
|
+
}, options, sdkOptions);
|
|
48
|
+
};
|
|
37
49
|
//# sourceMappingURL=flows.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.js","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/flows.ts"],"names":[],"mappings":";;;AAAA,4CAA0C;AAC1C,2DAA2E;AAG3E;;GAEG;AACU,QAAA,MAAM,GAAG,UAAU,OAAQ,EAAE,UAAW;IACnD,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,kBAAM,CAAC,UAAU;QACxB,IAAI,EAAE,QAAQ;KACf,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAGE,CAAC;AAEH;;GAEG;AACU,QAAA,GAAG,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IACzD,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,kBAAM,CAAC,UAAU;QACxB,IAAI,EAAE,UAAU,OAAO,EAAE;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAAqE,CAAC;AAEtE;;GAEG;AACU,QAAA,MAAM,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IAC5D,OAAO,IAAA,0BAAc,EACnB;QACE,KAAK,EAAE,kBAAM,CAAC,YAAY;QAC1B,OAAO,EAAE,cAAE;QACX,IAAI,EAAE,UAAU,OAAO,EAAE;QACzB,MAAM,EAAE,wBAAY,CAAC,MAAM;KAC5B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAMC,CAAC"}
|
|
1
|
+
{"version":3,"file":"flows.js","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/flows.ts"],"names":[],"mappings":";;;AAAA,4CAA0C;AAC1C,2DAA2E;AAG3E;;GAEG;AACU,QAAA,MAAM,GAAG,UAAU,OAAQ,EAAE,UAAW;IACnD,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,kBAAM,CAAC,UAAU;QACxB,IAAI,EAAE,QAAQ;KACf,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAGE,CAAC;AAEH;;GAEG;AACU,QAAA,GAAG,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IACzD,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,kBAAM,CAAC,UAAU;QACxB,IAAI,EAAE,UAAU,OAAO,EAAE;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAAqE,CAAC;AAEtE;;GAEG;AACU,QAAA,MAAM,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IAC5D,OAAO,IAAA,0BAAc,EACnB;QACE,KAAK,EAAE,kBAAM,CAAC,YAAY;QAC1B,OAAO,EAAE,cAAE;QACX,IAAI,EAAE,UAAU,OAAO,EAAE;QACzB,MAAM,EAAE,wBAAY,CAAC,MAAM;KAC5B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAMC,CAAC;AAEF;;;GAGG;AACU,QAAA,GAAG,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IACzD,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,kBAAM,CAAC,UAAU;QACxB,IAAI,EAAE,UAAU,OAAO,MAAM;QAC7B,MAAM,EAAE,wBAAY,CAAC,IAAI;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAUC,CAAC"}
|
|
@@ -6,4 +6,26 @@ export declare const getAll: (options?: ({
|
|
|
6
6
|
headers?: Record<string, string>;
|
|
7
7
|
payload?: never;
|
|
8
8
|
} & import("../../../services/types.js").BaseServiceMethodOptions) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
9
|
+
/**
|
|
10
|
+
* Cancel the execution for a particular Run of a Flow.
|
|
11
|
+
* https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1runs~1%7Brun_id%7D~1cancel/post
|
|
12
|
+
*/
|
|
13
|
+
export declare const cancel: (run_id: string, options?: (Record<string, any> & {
|
|
14
|
+
query?: import("../../../services/types.js").BaseServiceMethodOptions["query"];
|
|
15
|
+
headers?: import("../../../services/types.js").BaseServiceMethodOptions["headers"];
|
|
16
|
+
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieve detailed execution information for a particular Flow Run.
|
|
19
|
+
* @see https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1runs~1%7Baction_id%7D~1log/get
|
|
20
|
+
*/
|
|
21
|
+
export declare const getLog: (run_id: string, options?: ({
|
|
22
|
+
query?: {
|
|
23
|
+
limit?: number | string;
|
|
24
|
+
reverse_order?: boolean;
|
|
25
|
+
pagination_token?: string;
|
|
26
|
+
};
|
|
27
|
+
} & {
|
|
28
|
+
query?: import("../../../services/types.js").BaseServiceMethodOptions["query"];
|
|
29
|
+
headers?: import("../../../services/types.js").BaseServiceMethodOptions["headers"];
|
|
30
|
+
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
9
31
|
//# sourceMappingURL=runs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/runs.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,MAAM;YAWT,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACpB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACtB,KAAK;8KACf,CAAC"}
|
|
1
|
+
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/runs.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,MAAM;YAWT,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACpB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACtB,KAAK;8KACf,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,MAAM;;;8GAWkD,CAAC;AAEtE;;;GAGG;AACH,eAAO,MAAM,MAAM;YAaP;QACN,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B;;;;8GAEJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAll = void 0;
|
|
3
|
+
exports.getLog = exports.cancel = exports.getAll = void 0;
|
|
4
4
|
const config_js_1 = require("../config.js");
|
|
5
5
|
const shared_js_1 = require("../../shared.js");
|
|
6
6
|
/**
|
|
@@ -13,4 +13,27 @@ exports.getAll = function (options = {}, sdkOptions) {
|
|
|
13
13
|
path: `/runs`,
|
|
14
14
|
}, options, sdkOptions);
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* Cancel the execution for a particular Run of a Flow.
|
|
18
|
+
* https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1runs~1%7Brun_id%7D~1cancel/post
|
|
19
|
+
*/
|
|
20
|
+
exports.cancel = function (run_id, options, sdkOptions) {
|
|
21
|
+
return (0, shared_js_1.serviceRequest)({
|
|
22
|
+
service: config_js_1.ID,
|
|
23
|
+
scope: config_js_1.SCOPES.RUN_MANAGE,
|
|
24
|
+
path: `/runs/${run_id}/cancel`,
|
|
25
|
+
method: shared_js_1.HTTP_METHODS.POST,
|
|
26
|
+
}, options, sdkOptions);
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve detailed execution information for a particular Flow Run.
|
|
30
|
+
* @see https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1runs~1%7Baction_id%7D~1log/get
|
|
31
|
+
*/
|
|
32
|
+
exports.getLog = function (run_id, options, sdkOptions) {
|
|
33
|
+
return (0, shared_js_1.serviceRequest)({
|
|
34
|
+
service: config_js_1.ID,
|
|
35
|
+
scope: config_js_1.SCOPES.RUN_MANAGE,
|
|
36
|
+
path: `/runs/${run_id}/log`,
|
|
37
|
+
}, options, sdkOptions);
|
|
38
|
+
};
|
|
16
39
|
//# sourceMappingURL=runs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/runs.ts"],"names":[],"mappings":";;;AAAA,4CAA0C;AAC1C,+
|
|
1
|
+
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/runs.ts"],"names":[],"mappings":";;;AAAA,4CAA0C;AAC1C,+CAA+D;AAI/D;;GAEG;AACU,QAAA,MAAM,GAAG,UAAU,OAAO,GAAG,EAAE,EAAE,UAAW;IACvD,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,kBAAM,CAAC,UAAU;QACxB,IAAI,EAAE,OAAO;KACd,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAIE,CAAC;AAEH;;;GAGG;AACU,QAAA,MAAM,GAAG,UAAU,MAAM,EAAE,OAAQ,EAAE,UAAW;IAC3D,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,kBAAM,CAAC,UAAU;QACxB,IAAI,EAAE,SAAS,MAAM,SAAS;QAC9B,MAAM,EAAE,wBAAY,CAAC,IAAI;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAAqE,CAAC;AAEtE;;;GAGG;AACU,QAAA,MAAM,GAAG,UAAU,MAAM,EAAE,OAAQ,EAAE,UAAW;IAC3D,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,cAAE;QACX,KAAK,EAAE,kBAAM,CAAC,UAAU;QACxB,IAAI,EAAE,SAAS,MAAM,MAAM;KAC5B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CASC,CAAC"}
|
|
@@ -140,6 +140,85 @@ export declare function getClient(configuration: GCSConfiguration): {
|
|
|
140
140
|
marker?: string | null;
|
|
141
141
|
message?: string;
|
|
142
142
|
}>>;
|
|
143
|
+
updateOwner: (options?: ({
|
|
144
|
+
payload: import("@globus/types/gcs-manager/api.js").operations["putEndpointOwner"]["requestBody"]["content"]["application/json"];
|
|
145
|
+
} & {
|
|
146
|
+
query?: import("../types.js").BaseServiceMethodOptions["query"];
|
|
147
|
+
headers?: import("../types.js").BaseServiceMethodOptions["headers"];
|
|
148
|
+
}) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
|
|
149
|
+
DATA_TYPE: "result#1.0.0";
|
|
150
|
+
code: string;
|
|
151
|
+
data?: Record<string, unknown>[];
|
|
152
|
+
detail?: unknown;
|
|
153
|
+
has_next_page?: boolean;
|
|
154
|
+
http_response_code: number;
|
|
155
|
+
marker?: string | null;
|
|
156
|
+
message?: string;
|
|
157
|
+
} | {
|
|
158
|
+
DATA_TYPE: "result#1.1.0";
|
|
159
|
+
authorization_parameters?: {
|
|
160
|
+
[key: string]: unknown;
|
|
161
|
+
} | null;
|
|
162
|
+
code: string;
|
|
163
|
+
data?: Record<string, unknown>[];
|
|
164
|
+
detail?: unknown;
|
|
165
|
+
has_next_page?: boolean;
|
|
166
|
+
http_response_code: number;
|
|
167
|
+
marker?: string | null;
|
|
168
|
+
message?: string;
|
|
169
|
+
}>>;
|
|
170
|
+
updateOwnerString: (options?: ({
|
|
171
|
+
payload: import("@globus/types/gcs-manager/api.js").operations["putEndpointOwnerString"]["requestBody"]["content"]["application/json"];
|
|
172
|
+
} & {
|
|
173
|
+
query?: import("../types.js").BaseServiceMethodOptions["query"];
|
|
174
|
+
headers?: import("../types.js").BaseServiceMethodOptions["headers"];
|
|
175
|
+
}) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
|
|
176
|
+
DATA_TYPE: "result#1.0.0";
|
|
177
|
+
code: string;
|
|
178
|
+
data?: Record<string, unknown>[];
|
|
179
|
+
detail?: unknown;
|
|
180
|
+
has_next_page?: boolean;
|
|
181
|
+
http_response_code: number;
|
|
182
|
+
marker?: string | null;
|
|
183
|
+
message?: string;
|
|
184
|
+
} | {
|
|
185
|
+
DATA_TYPE: "result#1.1.0";
|
|
186
|
+
authorization_parameters?: {
|
|
187
|
+
[key: string]: unknown;
|
|
188
|
+
} | null;
|
|
189
|
+
code: string;
|
|
190
|
+
data?: Record<string, unknown>[];
|
|
191
|
+
detail?: unknown;
|
|
192
|
+
has_next_page?: boolean;
|
|
193
|
+
http_response_code: number;
|
|
194
|
+
marker?: string | null;
|
|
195
|
+
message?: string;
|
|
196
|
+
}>>;
|
|
197
|
+
resetOwnerString: (options: {
|
|
198
|
+
query?: import("../types.js").BaseServiceMethodOptions["query"];
|
|
199
|
+
headers?: import("../types.js").BaseServiceMethodOptions["headers"];
|
|
200
|
+
} | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
|
|
201
|
+
DATA_TYPE: "result#1.0.0";
|
|
202
|
+
code: string;
|
|
203
|
+
data?: Record<string, unknown>[];
|
|
204
|
+
detail?: unknown;
|
|
205
|
+
has_next_page?: boolean;
|
|
206
|
+
http_response_code: number;
|
|
207
|
+
marker?: string | null;
|
|
208
|
+
message?: string;
|
|
209
|
+
} | {
|
|
210
|
+
DATA_TYPE: "result#1.1.0";
|
|
211
|
+
authorization_parameters?: {
|
|
212
|
+
[key: string]: unknown;
|
|
213
|
+
} | null;
|
|
214
|
+
code: string;
|
|
215
|
+
data?: Record<string, unknown>[];
|
|
216
|
+
detail?: unknown;
|
|
217
|
+
has_next_page?: boolean;
|
|
218
|
+
http_response_code: number;
|
|
219
|
+
marker?: string | null;
|
|
220
|
+
message?: string;
|
|
221
|
+
}>>;
|
|
143
222
|
};
|
|
144
223
|
versioning: {
|
|
145
224
|
info: (options?: ({
|
|
@@ -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,YAAY,CAAC;AA4BnD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,aAAa,EAAE,gBAAgB;;;;;;;;;;;
|
|
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,YAAY,CAAC;AA4BnD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,aAAa,EAAE,gBAAgB;;;;;;;;;;;mBAsD4q+T,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;qBAlEzv+T,oEACW,eAEN,WAAW;;;;;;mBA+DyrgU,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;qBAvCxtgU,sEACS,eAAe,WAAW;;;;;;mBAsCk0jU,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;qBAzBj2jU,kFACnB,eAAe,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAcL,yEAClB,eAAe,WA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AqC,gEAAsB,uBAAsB,gEAAsB,uBAAsB,gEAAsB,uBAAsB,gEAAsB,gCAA+B,gEAAsB,mCAAkC,gEAAsB,uCAAsC,gEAAsB,uCAAsC,gEAAsB,uCAAsC,gEAAsB,uCAAsC,gEAAsB,gCAA+B,gEAAsB,gCAA+B,gEAAsB,iCAAgC,gEAAsB,oCAAmC,gEAAsB,oCAAmC,gEAAsB,iCAAgC,gEAAsB;;;;;;;;;;;;;;;;;;oCAAyoI,gEAAsB;;2BAAgS,gEAAsB,8BAA6B,gEAAsB,8BAA6B,gEAAsB,qCAAoC,gEAAsB,qCAAoC,gEAAsB,sCAAqC,gEAAsB,uBAAsB,gEAAsB,uBAAsB,gEAAsB,uBAAsB,gEAAsB,gCAA+B,gEAAsB,mCAAkC,gEAAsB,uCAAsC,gEAAsB,uCAAsC,gEAAsB,uCAAsC,gEAAsB,uCAAsC,gEAAsB,gCAA+B,gEAAsB,gCAA+B,gEAAsB,iCAAgC,gEAAsB,oCAAmC,gEAAsB,oCAAmC,gEAAsB,iCAAgC,gEAAsB;;;;;;;;;;;;;mBAA+q5I,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAA/hf,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;oBAhF3lhV,kEAAwB,cAAc;;;;;;mBAgF+i5U,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;qBA/Bln5U,kEAAwB,eAAe,WAAW;;;;;;mBA+B6j9U,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAlF/m9U,CAAC;;;;;;;;;;;;;;;;;;;;;EAiFtC"}
|
|
@@ -53,6 +53,9 @@ function getClient(configuration) {
|
|
|
53
53
|
update: bind(endpoint.update, configuration),
|
|
54
54
|
patch: bind(endpoint.patch, configuration),
|
|
55
55
|
updateSubscriptionId: bind(endpoint.updateSubscriptionId, configuration),
|
|
56
|
+
updateOwner: bind(endpoint.updateOwner, configuration),
|
|
57
|
+
updateOwnerString: bind(endpoint.updateOwnerString, configuration),
|
|
58
|
+
resetOwnerString: bind(endpoint.resetOwnerString, configuration),
|
|
56
59
|
},
|
|
57
60
|
versioning: {
|
|
58
61
|
info: bind(versioning.info, configuration),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgDA,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgDA,8BAqDC;AAnFD,sEAAwD;AACxD,gEAAkD;AAClD,0DAA4C;AAC5C,0DAA4C;AAC5C,+EAAiE;AACjE,+EAAiE;AACjE,oEAAsD;AAMtD;;;;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,SAAgB,SAAS,CAAC,aAA+B;IACvD,OAAO;QACL,aAAa;QACb,QAAQ,EAAE;YACR,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;YACtC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;YAC5C,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;YAC1C,oBAAoB,EAAE,IAAI,CAAC,QAAQ,CAAC,oBAAoB,EAAE,aAAa,CAAC;YACxE,WAAW,EAAE,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAC;YACtD,iBAAiB,EAAE,IAAI,CAAC,QAAQ,CAAC,iBAAiB,EAAE,aAAa,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Aa,CAAC;YAC7C,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC;YACnD,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC;YACnD,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC;YACnD,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC;YACnD,KAAK,EAAE,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,aAAa,CAAC;SAClD;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;YACzC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,CAAC;YACzC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,CAAC;SAC1C;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;YACzC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,CAAC;SAC1C;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -43,4 +43,29 @@ export declare const updateSubscriptionId: (configuration: import("../index.js")
|
|
|
43
43
|
query?: import("../../types").BaseServiceMethodOptions["query"];
|
|
44
44
|
headers?: import("../../types").BaseServiceMethodOptions["headers"];
|
|
45
45
|
}) | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["putEndpointSubscriptionId"]["responses"]["200"]["content"]["application/json"]>>;
|
|
46
|
+
/**
|
|
47
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#putEndpointOwner
|
|
48
|
+
*/
|
|
49
|
+
export declare const updateOwner: (configuration: import("../index.js").GCSConfiguration, options?: ({
|
|
50
|
+
payload: operations["putEndpointOwner"]["requestBody"]["content"]["application/json"];
|
|
51
|
+
} & {
|
|
52
|
+
query?: import("../../types").BaseServiceMethodOptions["query"];
|
|
53
|
+
headers?: import("../../types").BaseServiceMethodOptions["headers"];
|
|
54
|
+
}) | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["putEndpointOwner"]["responses"]["200"]["content"]["application/json"]>>;
|
|
55
|
+
/**
|
|
56
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#putEndpointOwnerString
|
|
57
|
+
*/
|
|
58
|
+
export declare const updateOwnerString: (configuration: import("../index.js").GCSConfiguration, options?: ({
|
|
59
|
+
payload: operations["putEndpointOwnerString"]["requestBody"]["content"]["application/json"];
|
|
60
|
+
} & {
|
|
61
|
+
query?: import("../../types").BaseServiceMethodOptions["query"];
|
|
62
|
+
headers?: import("../../types").BaseServiceMethodOptions["headers"];
|
|
63
|
+
}) | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["putEndpointOwnerString"]["responses"]["200"]["content"]["application/json"]>>;
|
|
64
|
+
/**
|
|
65
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#deleteEndpointOwnerString
|
|
66
|
+
*/
|
|
67
|
+
export declare const resetOwnerString: (configuration: import("../index.js").GCSConfiguration, options: {
|
|
68
|
+
query?: import("../../types").BaseServiceMethodOptions["query"];
|
|
69
|
+
headers?: import("../../types").BaseServiceMethodOptions["headers"];
|
|
70
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["deleteEndpointOwnerString"]["responses"]["200"]["content"]["application/json"]>>;
|
|
46
71
|
//# sourceMappingURL=endpoint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":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CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;;;;8EAhB7F,OAAO,CACR,iBAAiB,CACf,UAAU,CAAC,2BAA2B,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC3F,CAcD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,WAAW;aAoBb,UAAU,CAAC,kBAAkB,CAAC,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;;;;8EAhBpF,OAAO,CACR,iBAAiB,CACf,UAAU,CAAC,kBAAkB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAClF,CAcD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;aAoBnB,UAAU,CAAC,wBAAwB,CAAC,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;;;;8EAhB1F,OAAO,CACR,iBAAiB,CACf,UAAU,CAAC,wBAAwB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACxF,CAcD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;6EAI1B,OAAO,CACR,iBAAiB,CACf,UAAU,CAAC,2BAA2B,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC3F,CAY6B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateSubscriptionId = exports.patch = exports.update = exports.get = void 0;
|
|
3
|
+
exports.resetOwnerString = exports.updateOwnerString = exports.updateOwner = exports.updateSubscriptionId = exports.patch = exports.update = exports.get = void 0;
|
|
4
4
|
const index_js_1 = require("../index.js");
|
|
5
5
|
const shared_js_1 = require("../../shared.js");
|
|
6
6
|
/**
|
|
@@ -46,4 +46,37 @@ exports.updateSubscriptionId = function (configuration, options, sdkOptions) {
|
|
|
46
46
|
method: shared_js_1.HTTP_METHODS.PUT,
|
|
47
47
|
}, options, sdkOptions);
|
|
48
48
|
};
|
|
49
|
+
/**
|
|
50
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#putEndpointOwner
|
|
51
|
+
*/
|
|
52
|
+
exports.updateOwner = function (configuration, options, sdkOptions) {
|
|
53
|
+
return (0, shared_js_1.serviceRequest)({
|
|
54
|
+
service: configuration,
|
|
55
|
+
scope: (0, index_js_1.getRequiredScopes)(configuration),
|
|
56
|
+
path: `/api/endpoint/owner`,
|
|
57
|
+
method: shared_js_1.HTTP_METHODS.PUT,
|
|
58
|
+
}, options, sdkOptions);
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#putEndpointOwnerString
|
|
62
|
+
*/
|
|
63
|
+
exports.updateOwnerString = function (configuration, options, sdkOptions) {
|
|
64
|
+
return (0, shared_js_1.serviceRequest)({
|
|
65
|
+
service: configuration,
|
|
66
|
+
scope: (0, index_js_1.getRequiredScopes)(configuration),
|
|
67
|
+
path: `/api/endpoint/owner_string`,
|
|
68
|
+
method: shared_js_1.HTTP_METHODS.PUT,
|
|
69
|
+
}, options, sdkOptions);
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#deleteEndpointOwnerString
|
|
73
|
+
*/
|
|
74
|
+
exports.resetOwnerString = function (configuration, options, sdkOptions) {
|
|
75
|
+
return (0, shared_js_1.serviceRequest)({
|
|
76
|
+
service: configuration,
|
|
77
|
+
scope: (0, index_js_1.getRequiredScopes)(configuration),
|
|
78
|
+
path: `/api/endpoint/owner_string`,
|
|
79
|
+
method: shared_js_1.HTTP_METHODS.DELETE,
|
|
80
|
+
}, options, sdkOptions);
|
|
81
|
+
};
|
|
49
82
|
//# sourceMappingURL=endpoint.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":";;;AACA,0CAAgD;AAChD,+CAA+D;AAK/D;;GAEG;AACU,QAAA,GAAG,GAAG,UACjB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;KACtB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAGE,CAAC;AAEH;;GAEG;AACU,QAAA,MAAM,GAAG,UACpB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,wBAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH;;GAEG;AACU,QAAA,KAAK,GAAG,UACnB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,wBAAY,CAAC,KAAK;KAC3B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAUE,CAAC;AAEH;;GAEG;AACU,QAAA,oBAAoB,GAAG,UAClC,aAAa,EACb,OAAQ,EACR,UAAW;IAMX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,+BAA+B;QACrC,MAAM,EAAE,wBAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC"}
|
|
1
|
+
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":";;;AACA,0CAAgD;AAChD,+CAA+D;AAK/D;;GAEG;AACU,QAAA,GAAG,GAAG,UACjB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;KACtB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAGE,CAAC;AAEH;;GAEG;AACU,QAAA,MAAM,GAAG,UACpB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,wBAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH;;GAEG;AACU,QAAA,KAAK,GAAG,UACnB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,wBAAY,CAAC,KAAK;KAC3B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAUE,CAAC;AAEH;;GAEG;AACU,QAAA,oBAAoB,GAAG,UAClC,aAAa,EACb,OAAQ,EACR,UAAW;IAMX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,+BAA+B;QACrC,MAAM,EAAE,wBAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH;;GAEG;AACU,QAAA,WAAW,GAAG,UACzB,aAAa,EACb,OAAQ,EACR,UAAW;IAMX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,wBAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH;;GAEG;AACU,QAAA,iBAAiB,GAAG,UAC/B,aAAa,EACb,OAAQ,EACR,UAAW;IAMX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,4BAA4B;QAClC,MAAM,EAAE,wBAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH;;GAEG;AACU,QAAA,gBAAgB,GAAG,UAC9B,aAAa,EACb,OAAO,EACP,UAAW;IAMX,OAAO,IAAA,0BAAc,EACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,IAAA,4BAAiB,EAAC,aAAa,CAAC;QACvC,IAAI,EAAE,4BAA4B;QAClC,MAAM,EAAE,wBAAY,CAAC,MAAM;KAC5B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAAgC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.6.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -22,4 +22,19 @@ export declare const remove: (flow_id: string, options?: ({
|
|
|
22
22
|
query?: import("../../types.js").BaseServiceMethodOptions["query"];
|
|
23
23
|
headers?: import("../../types.js").BaseServiceMethodOptions["headers"];
|
|
24
24
|
}) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
25
|
+
/**
|
|
26
|
+
* Run an instance of a particular Flow.
|
|
27
|
+
* @see https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1flows~1%7Bflow_id%7D~1run/post
|
|
28
|
+
*/
|
|
29
|
+
export declare const run: (flow_id: string, options?: ({
|
|
30
|
+
query?: never;
|
|
31
|
+
payload: {
|
|
32
|
+
label?: string;
|
|
33
|
+
body: Record<string, any>;
|
|
34
|
+
tags?: string[];
|
|
35
|
+
};
|
|
36
|
+
} & {
|
|
37
|
+
query?: import("../../types.js").BaseServiceMethodOptions["query"];
|
|
38
|
+
headers?: import("../../types.js").BaseServiceMethodOptions["headers"];
|
|
39
|
+
}) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
25
40
|
//# sourceMappingURL=flows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/flows.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,MAAM;YAWT,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACpB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;sJAChC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,GAAG;;;kGAUqD,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,MAAM;YAcP,KAAK;cACH,KAAK;;;;kGAElB,CAAC"}
|
|
1
|
+
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/flows.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,MAAM;YAWT,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACpB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;sJAChC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,GAAG;;;kGAUqD,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,MAAM;YAcP,KAAK;cACH,KAAK;;;;kGAElB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,GAAG;YAcJ,KAAK;aACJ;QACP,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC1B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;KACjB;;;;kGAEJ,CAAC"}
|
|
@@ -31,4 +31,16 @@ export const remove = function (flow_id, options, sdkOptions) {
|
|
|
31
31
|
method: HTTP_METHODS.DELETE,
|
|
32
32
|
}, options, sdkOptions);
|
|
33
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* Run an instance of a particular Flow.
|
|
36
|
+
* @see https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1flows~1%7Bflow_id%7D~1run/post
|
|
37
|
+
*/
|
|
38
|
+
export const run = function (flow_id, options, sdkOptions) {
|
|
39
|
+
return serviceRequest({
|
|
40
|
+
service: ID,
|
|
41
|
+
scope: SCOPES.VIEW_FLOWS,
|
|
42
|
+
path: `/flows/${flow_id}/run`,
|
|
43
|
+
method: HTTP_METHODS.POST,
|
|
44
|
+
}, options, sdkOptions);
|
|
45
|
+
};
|
|
34
46
|
//# sourceMappingURL=flows.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.js","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/flows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG3E;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,OAAQ,EAAE,UAAW;IACnD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,UAAU;QACxB,IAAI,EAAE,QAAQ;KACf,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAGE,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IACzD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,UAAU;QACxB,IAAI,EAAE,UAAU,OAAO,EAAE;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAAqE,CAAC;AAEtE;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IAC5D,OAAO,cAAc,CACnB;QACE,KAAK,EAAE,MAAM,CAAC,YAAY;QAC1B,OAAO,EAAE,EAAE;QACX,IAAI,EAAE,UAAU,OAAO,EAAE;QACzB,MAAM,EAAE,YAAY,CAAC,MAAM;KAC5B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAMC,CAAC"}
|
|
1
|
+
{"version":3,"file":"flows.js","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/flows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG3E;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,OAAQ,EAAE,UAAW;IACnD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,UAAU;QACxB,IAAI,EAAE,QAAQ;KACf,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAGE,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IACzD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,UAAU;QACxB,IAAI,EAAE,UAAU,OAAO,EAAE;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAAqE,CAAC;AAEtE;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IAC5D,OAAO,cAAc,CACnB;QACE,KAAK,EAAE,MAAM,CAAC,YAAY;QAC1B,OAAO,EAAE,EAAE;QACX,IAAI,EAAE,UAAU,OAAO,EAAE;QACzB,MAAM,EAAE,YAAY,CAAC,MAAM;KAC5B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAMC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IACzD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,UAAU;QACxB,IAAI,EAAE,UAAU,OAAO,MAAM;QAC7B,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAUC,CAAC"}
|
|
@@ -6,4 +6,26 @@ export declare const getAll: (options?: ({
|
|
|
6
6
|
headers?: Record<string, string>;
|
|
7
7
|
payload?: never;
|
|
8
8
|
} & import("../../../services/types.js").BaseServiceMethodOptions) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
9
|
+
/**
|
|
10
|
+
* Cancel the execution for a particular Run of a Flow.
|
|
11
|
+
* https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1runs~1%7Brun_id%7D~1cancel/post
|
|
12
|
+
*/
|
|
13
|
+
export declare const cancel: (run_id: string, options?: (Record<string, any> & {
|
|
14
|
+
query?: import("../../../services/types.js").BaseServiceMethodOptions["query"];
|
|
15
|
+
headers?: import("../../../services/types.js").BaseServiceMethodOptions["headers"];
|
|
16
|
+
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieve detailed execution information for a particular Flow Run.
|
|
19
|
+
* @see https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1runs~1%7Baction_id%7D~1log/get
|
|
20
|
+
*/
|
|
21
|
+
export declare const getLog: (run_id: string, options?: ({
|
|
22
|
+
query?: {
|
|
23
|
+
limit?: number | string;
|
|
24
|
+
reverse_order?: boolean;
|
|
25
|
+
pagination_token?: string;
|
|
26
|
+
};
|
|
27
|
+
} & {
|
|
28
|
+
query?: import("../../../services/types.js").BaseServiceMethodOptions["query"];
|
|
29
|
+
headers?: import("../../../services/types.js").BaseServiceMethodOptions["headers"];
|
|
30
|
+
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
9
31
|
//# sourceMappingURL=runs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/runs.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,MAAM;YAWT,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACpB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACtB,KAAK;8KACf,CAAC"}
|
|
1
|
+
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/runs.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,MAAM;YAWT,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACpB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cACtB,KAAK;8KACf,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,MAAM;;;8GAWkD,CAAC;AAEtE;;;GAGG;AACH,eAAO,MAAM,MAAM;YAaP;QACN,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B;;;;8GAEJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID, SCOPES } from '../config.js';
|
|
2
|
-
import { serviceRequest } from '../../shared.js';
|
|
2
|
+
import { HTTP_METHODS, serviceRequest } from '../../shared.js';
|
|
3
3
|
/**
|
|
4
4
|
* @see https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1runs/get
|
|
5
5
|
*/
|
|
@@ -10,4 +10,27 @@ export const getAll = function (options = {}, sdkOptions) {
|
|
|
10
10
|
path: `/runs`,
|
|
11
11
|
}, options, sdkOptions);
|
|
12
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* Cancel the execution for a particular Run of a Flow.
|
|
15
|
+
* https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1runs~1%7Brun_id%7D~1cancel/post
|
|
16
|
+
*/
|
|
17
|
+
export const cancel = function (run_id, options, sdkOptions) {
|
|
18
|
+
return serviceRequest({
|
|
19
|
+
service: ID,
|
|
20
|
+
scope: SCOPES.RUN_MANAGE,
|
|
21
|
+
path: `/runs/${run_id}/cancel`,
|
|
22
|
+
method: HTTP_METHODS.POST,
|
|
23
|
+
}, options, sdkOptions);
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Retrieve detailed execution information for a particular Flow Run.
|
|
27
|
+
* @see https://globusonline.github.io/globus-flows/#tag/Runs/paths/~1runs~1%7Baction_id%7D~1log/get
|
|
28
|
+
*/
|
|
29
|
+
export const getLog = function (run_id, options, sdkOptions) {
|
|
30
|
+
return serviceRequest({
|
|
31
|
+
service: ID,
|
|
32
|
+
scope: SCOPES.RUN_MANAGE,
|
|
33
|
+
path: `/runs/${run_id}/log`,
|
|
34
|
+
}, options, sdkOptions);
|
|
35
|
+
};
|
|
13
36
|
//# sourceMappingURL=runs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/service/runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAI/D;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,OAAO,GAAG,EAAE,EAAE,UAAW;IACvD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,UAAU;QACxB,IAAI,EAAE,OAAO;KACd,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAIE,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,MAAM,EAAE,OAAQ,EAAE,UAAW;IAC3D,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,UAAU;QACxB,IAAI,EAAE,SAAS,MAAM,SAAS;QAC9B,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAAqE,CAAC;AAEtE;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,MAAM,EAAE,OAAQ,EAAE,UAAW;IAC3D,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,UAAU;QACxB,IAAI,EAAE,SAAS,MAAM,MAAM;KAC5B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CASC,CAAC"}
|
|
@@ -140,6 +140,85 @@ export declare function getClient(configuration: GCSConfiguration): {
|
|
|
140
140
|
marker?: string | null;
|
|
141
141
|
message?: string;
|
|
142
142
|
}>>;
|
|
143
|
+
updateOwner: (options?: ({
|
|
144
|
+
payload: import("@globus/types/gcs-manager/api.js").operations["putEndpointOwner"]["requestBody"]["content"]["application/json"];
|
|
145
|
+
} & {
|
|
146
|
+
query?: import("../types.js").BaseServiceMethodOptions["query"];
|
|
147
|
+
headers?: import("../types.js").BaseServiceMethodOptions["headers"];
|
|
148
|
+
}) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
|
|
149
|
+
DATA_TYPE: "result#1.0.0";
|
|
150
|
+
code: string;
|
|
151
|
+
data?: Record<string, unknown>[];
|
|
152
|
+
detail?: unknown;
|
|
153
|
+
has_next_page?: boolean;
|
|
154
|
+
http_response_code: number;
|
|
155
|
+
marker?: string | null;
|
|
156
|
+
message?: string;
|
|
157
|
+
} | {
|
|
158
|
+
DATA_TYPE: "result#1.1.0";
|
|
159
|
+
authorization_parameters?: {
|
|
160
|
+
[key: string]: unknown;
|
|
161
|
+
} | null;
|
|
162
|
+
code: string;
|
|
163
|
+
data?: Record<string, unknown>[];
|
|
164
|
+
detail?: unknown;
|
|
165
|
+
has_next_page?: boolean;
|
|
166
|
+
http_response_code: number;
|
|
167
|
+
marker?: string | null;
|
|
168
|
+
message?: string;
|
|
169
|
+
}>>;
|
|
170
|
+
updateOwnerString: (options?: ({
|
|
171
|
+
payload: import("@globus/types/gcs-manager/api.js").operations["putEndpointOwnerString"]["requestBody"]["content"]["application/json"];
|
|
172
|
+
} & {
|
|
173
|
+
query?: import("../types.js").BaseServiceMethodOptions["query"];
|
|
174
|
+
headers?: import("../types.js").BaseServiceMethodOptions["headers"];
|
|
175
|
+
}) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
|
|
176
|
+
DATA_TYPE: "result#1.0.0";
|
|
177
|
+
code: string;
|
|
178
|
+
data?: Record<string, unknown>[];
|
|
179
|
+
detail?: unknown;
|
|
180
|
+
has_next_page?: boolean;
|
|
181
|
+
http_response_code: number;
|
|
182
|
+
marker?: string | null;
|
|
183
|
+
message?: string;
|
|
184
|
+
} | {
|
|
185
|
+
DATA_TYPE: "result#1.1.0";
|
|
186
|
+
authorization_parameters?: {
|
|
187
|
+
[key: string]: unknown;
|
|
188
|
+
} | null;
|
|
189
|
+
code: string;
|
|
190
|
+
data?: Record<string, unknown>[];
|
|
191
|
+
detail?: unknown;
|
|
192
|
+
has_next_page?: boolean;
|
|
193
|
+
http_response_code: number;
|
|
194
|
+
marker?: string | null;
|
|
195
|
+
message?: string;
|
|
196
|
+
}>>;
|
|
197
|
+
resetOwnerString: (options: {
|
|
198
|
+
query?: import("../types.js").BaseServiceMethodOptions["query"];
|
|
199
|
+
headers?: import("../types.js").BaseServiceMethodOptions["headers"];
|
|
200
|
+
} | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
|
|
201
|
+
DATA_TYPE: "result#1.0.0";
|
|
202
|
+
code: string;
|
|
203
|
+
data?: Record<string, unknown>[];
|
|
204
|
+
detail?: unknown;
|
|
205
|
+
has_next_page?: boolean;
|
|
206
|
+
http_response_code: number;
|
|
207
|
+
marker?: string | null;
|
|
208
|
+
message?: string;
|
|
209
|
+
} | {
|
|
210
|
+
DATA_TYPE: "result#1.1.0";
|
|
211
|
+
authorization_parameters?: {
|
|
212
|
+
[key: string]: unknown;
|
|
213
|
+
} | null;
|
|
214
|
+
code: string;
|
|
215
|
+
data?: Record<string, unknown>[];
|
|
216
|
+
detail?: unknown;
|
|
217
|
+
has_next_page?: boolean;
|
|
218
|
+
http_response_code: number;
|
|
219
|
+
marker?: string | null;
|
|
220
|
+
message?: string;
|
|
221
|
+
}>>;
|
|
143
222
|
};
|
|
144
223
|
versioning: {
|
|
145
224
|
info: (options?: ({
|
|
@@ -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,YAAY,CAAC;AA4BnD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,aAAa,EAAE,gBAAgB;;;;;;;;;;;
|
|
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,YAAY,CAAC;AA4BnD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,aAAa,EAAE,gBAAgB;;;;;;;;;;;mBAsD4q+T,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;qBAlEzv+T,oEACW,eAEN,WAAW;;;;;;mBA+DyrgU,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;qBAvCxtgU,sEACS,eAAe,WAAW;;;;;;mBAsCk0jU,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;qBAzBj2jU,kFACnB,eAAe,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAcL,yEAClB,eAAe,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;qBASgZ,+EAAqC,eAAe,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAw0lU,gEAAqB,gBAAe,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;oBAzDz1mU,sEAA4B,cAC3D;;;;;;mBAwD06kT,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;oBAhF55kT,wEACpC,cAAc;;;;;;mBA+EotrS,gEAAsB;;;;;;;;;;;;;;;;;;;;;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,qCAAoC,gEAAsB,qCAAoC,gEAAsB,sCAAqC,gEAAsB,uBAAsB,gEAAsB,uBAAsB,gEAAsB,uBAAsB,gEAAsB,gCAA+B,gEAAsB,mCAAkC,gEAAsB,uCAAsC,gEAAsB,uCAAsC,gEAAsB,uCAAsC,gEAAsB,uCAAsC,gEAAsB,gCAA+B,gEAAsB,gCAA+B,gEAAsB,iCAAgC,gEAAsB,oCAAmC,gEAAsB,oCAAmC,gEAAsB,iCAAgC,gEAAsB;;;;;;;;;;;;;mBAA+q5I,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAA/hf,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;oBAhF3lhV,kEAAwB,cAAc;;;;;;mBAgF+i5U,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;qBA/Bln5U,kEAAwB,eAAe,WAAW;;;;;;mBA+B6j9U,gEAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAlF/m9U,CAAC;;;;;;;;;;;;;;;;;;;;;EAiFtC"}
|
|
@@ -27,6 +27,9 @@ export function getClient(configuration) {
|
|
|
27
27
|
update: bind(endpoint.update, configuration),
|
|
28
28
|
patch: bind(endpoint.patch, configuration),
|
|
29
29
|
updateSubscriptionId: bind(endpoint.updateSubscriptionId, configuration),
|
|
30
|
+
updateOwner: bind(endpoint.updateOwner, configuration),
|
|
31
|
+
updateOwnerString: bind(endpoint.updateOwnerString, configuration),
|
|
32
|
+
resetOwnerString: bind(endpoint.resetOwnerString, configuration),
|
|
30
33
|
},
|
|
31
34
|
versioning: {
|
|
32
35
|
info: bind(versioning.info, configuration),
|
|
@@ -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,0BAA0B,CAAC;AACxD,OAAO,KAAK,QAAQ,MAAM,uBA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,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,CAAC;SAC1C;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;YACzC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,CAAC;SAC1C;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -43,4 +43,29 @@ export declare const updateSubscriptionId: (configuration: import("../index.js")
|
|
|
43
43
|
query?: import("../../types").BaseServiceMethodOptions["query"];
|
|
44
44
|
headers?: import("../../types").BaseServiceMethodOptions["headers"];
|
|
45
45
|
}) | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["putEndpointSubscriptionId"]["responses"]["200"]["content"]["application/json"]>>;
|
|
46
|
+
/**
|
|
47
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#putEndpointOwner
|
|
48
|
+
*/
|
|
49
|
+
export declare const updateOwner: (configuration: import("../index.js").GCSConfiguration, options?: ({
|
|
50
|
+
payload: operations["putEndpointOwner"]["requestBody"]["content"]["application/json"];
|
|
51
|
+
} & {
|
|
52
|
+
query?: import("../../types").BaseServiceMethodOptions["query"];
|
|
53
|
+
headers?: import("../../types").BaseServiceMethodOptions["headers"];
|
|
54
|
+
}) | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["putEndpointOwner"]["responses"]["200"]["content"]["application/json"]>>;
|
|
55
|
+
/**
|
|
56
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#putEndpointOwnerString
|
|
57
|
+
*/
|
|
58
|
+
export declare const updateOwnerString: (configuration: import("../index.js").GCSConfiguration, options?: ({
|
|
59
|
+
payload: operations["putEndpointOwnerString"]["requestBody"]["content"]["application/json"];
|
|
60
|
+
} & {
|
|
61
|
+
query?: import("../../types").BaseServiceMethodOptions["query"];
|
|
62
|
+
headers?: import("../../types").BaseServiceMethodOptions["headers"];
|
|
63
|
+
}) | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["putEndpointOwnerString"]["responses"]["200"]["content"]["application/json"]>>;
|
|
64
|
+
/**
|
|
65
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#deleteEndpointOwnerString
|
|
66
|
+
*/
|
|
67
|
+
export declare const resetOwnerString: (configuration: import("../index.js").GCSConfiguration, options: {
|
|
68
|
+
query?: import("../../types").BaseServiceMethodOptions["query"];
|
|
69
|
+
headers?: import("../../types").BaseServiceMethodOptions["headers"];
|
|
70
|
+
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["deleteEndpointOwnerString"]["responses"]["200"]["content"]["application/json"]>>;
|
|
46
71
|
//# 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":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAKhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,GAAG;YAiBN,KAAK;cACH,KAAK;;;;8EAdd,OAAO,CACR,iBAAiB,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAc/F,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,MAAM;aAkBR,UAAU,CAAC,aAAa,CAAC,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;;;;8EAd/E,OAAO,CACR,iBAAiB,CAAC,UAAU,CA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AS,CAAC,CAAC,kBAAkB,CAAC;;;;8EAhB1F,OAAO,CACR,iBAAiB,CACf,UAAU,CAAC,wBAAwB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACxF,CAcD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;6EAI1B,OAAO,CACR,iBAAiB,CACf,UAAU,CAAC,2BAA2B,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC3F,CAY6B,CAAC"}
|
|
@@ -43,4 +43,37 @@ export const updateSubscriptionId = function (configuration, options, sdkOptions
|
|
|
43
43
|
method: HTTP_METHODS.PUT,
|
|
44
44
|
}, options, sdkOptions);
|
|
45
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#putEndpointOwner
|
|
48
|
+
*/
|
|
49
|
+
export const updateOwner = function (configuration, options, sdkOptions) {
|
|
50
|
+
return serviceRequest({
|
|
51
|
+
service: configuration,
|
|
52
|
+
scope: getRequiredScopes(configuration),
|
|
53
|
+
path: `/api/endpoint/owner`,
|
|
54
|
+
method: HTTP_METHODS.PUT,
|
|
55
|
+
}, options, sdkOptions);
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#putEndpointOwnerString
|
|
59
|
+
*/
|
|
60
|
+
export const updateOwnerString = function (configuration, options, sdkOptions) {
|
|
61
|
+
return serviceRequest({
|
|
62
|
+
service: configuration,
|
|
63
|
+
scope: getRequiredScopes(configuration),
|
|
64
|
+
path: `/api/endpoint/owner_string`,
|
|
65
|
+
method: HTTP_METHODS.PUT,
|
|
66
|
+
}, options, sdkOptions);
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#deleteEndpointOwnerString
|
|
70
|
+
*/
|
|
71
|
+
export const resetOwnerString = function (configuration, options, sdkOptions) {
|
|
72
|
+
return serviceRequest({
|
|
73
|
+
service: configuration,
|
|
74
|
+
scope: getRequiredScopes(configuration),
|
|
75
|
+
path: `/api/endpoint/owner_string`,
|
|
76
|
+
method: HTTP_METHODS.DELETE,
|
|
77
|
+
}, options, sdkOptions);
|
|
78
|
+
};
|
|
46
79
|
//# sourceMappingURL=endpoint.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAK/D;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,iBAAiB,CAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;KACtB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAGE,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,iBAAiB,CAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,YAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,UACnB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,iBAAiB,CAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,YAAY,CAAC,KAAK;KAC3B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAUE,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,UAClC,aAAa,EACb,OAAQ,EACR,UAAW;IAMX,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,iBAAiB,CAAC,aAAa,CAAC;QACvC,IAAI,EAAE,+BAA+B;QACrC,MAAM,EAAE,YAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC"}
|
|
1
|
+
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAK/D;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,iBAAiB,CAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;KACtB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAGE,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,aAAa,EACb,OAAQ,EACR,UAAW;IAIX,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,iBAAiB,CAAC,aAAa,CAAC;QACvC,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,YAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH;;GAEG;AACH,MAAM,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ACP,UAAW;IAMX,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,iBAAiB,CAAC,aAAa,CAAC;QACvC,IAAI,EAAE,4BAA4B;QAClC,MAAM,EAAE,YAAY,CAAC,MAAM;KAC5B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAAgC,CAAC"}
|
package/package.json
CHANGED
package/umd/globus.production.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var globus;(()=>{var e={945:(e,t,r)=>{var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,o=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var r=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==r&&r,n="URLSearchParams"in r,o="Symbol"in r&&"iterator"in Symbol,i="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in r,a="ArrayBuffer"in r;if(a)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function p(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function h(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function g(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function v(e){var t=new FileReader,r=g(t);return t.readAsArrayBuffer(e),r}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&i&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(v)}),this.text=function(){var e,t,r,n=f(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,r=g(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(e,t){e=p(e),t=h(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},d.prototype.delete=function(e){delete this.map[p(e)]},d.prototype.get=function(e){return e=p(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(p(e))},d.prototype.set=function(e,t){this.map[p(e)]=h(t)},d.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},d.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),l(e)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),l(e)},d.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),l(e)},o&&(d.prototype[Symbol.iterator]=d.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(e,t){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,o=(t=t||{}).body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=(n=(r=t.method||this.method||"GET").toUpperCase(),b.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function _(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function A(e,t){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},m.call(w.prototype),m.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},A.error=function(){var e=new A(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];A.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new A(null,{status:t,headers:{location:e}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function O(e,n){return new Promise((function(o,s){var c=new w(e,n);if(c.signal&&c.signal.aborted)return s(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function p(){u.abort()}u.onload=function(){var e,t,r={status:u.status,statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new d,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t)};r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL");var n="response"in u?u.response:u.responseText;setTimeout((function(){o(new A(n,r))}),0)},u.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){s(new t.DOMException("Aborted","AbortError"))}),0)},u.open(c.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(c.url),!0),"include"===c.credentials?u.withCredentials=!0:"omit"===c.credentials&&(u.withCredentials=!1),"responseType"in u&&(i?u.responseType="blob":a&&c.headers.get("Content-Type")&&-1!==c.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!n||"object"!=typeof n.headers||n.headers instanceof d?c.headers.forEach((function(e,t){u.setRequestHeader(t,e)})):Object.getOwnPropertyNames(n.headers).forEach((function(e){u.setRequestHeader(e,h(n.headers[e]))})),c.signal&&(c.signal.addEventListener("abort",p),u.onreadystatechange=function(){4===u.readyState&&c.signal.removeEventListener("abort",p)}),u.send(void 0===c._bodyInit?null:c._bodyInit)}))}O.polyfill=!0,r.fetch||(r.fetch=O,r.Headers=d,r.Request=w,r.Response=A),t.Headers=d,t.Request=w,t.Response=A,t.fetch=O}({})}(o),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var i=n.fetch?n:o;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},21:function(e,t,r){var n;e.exports=(n=n||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(477)}catch(e){}var o=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),s={},a=s.lib={},c=a.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=a.WordArray=c.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var s=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=s<<24-(n+i)%4*8}else for(var a=0;a<o;a+=4)t[n+a>>>2]=r[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(o());return new u.init(t,e)}}),p=s.enc={},h=p.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new u.init(r,t/2)}},l=p.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new u.init(r,t)}},d=p.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},f=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,s=this.blockSize,a=i/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,p=e.min(4*c,i);if(c){for(var h=0;h<c;h+=s)this._doProcessBlock(o,h);r=o.splice(0,c),n.sigBytes-=p}return new u.init(r,p)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(a.Hasher=f.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new g.HMAC.init(e,r).finalize(t)}}}),s.algo={});return s}(Math),n)},754:function(e,t,r){var n,o,i;e.exports=(n=r(21),i=(o=n).lib.WordArray,o.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],i=0;i<r;i+=3)for(var s=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a<r;a++)o.push(n.charAt(s>>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<r.length;o++)n[r.charCodeAt(o)]=o}var s=r.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,r){for(var n=[],o=0,s=0;s<t;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;n[o>>>2]|=a<<24-o%4*8,o++}return i.create(n,o)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)},440:function(e,t,r){var n;e.exports=(n=r(21),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init,r=e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],o=0;o<r;o++)n[o>>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)};r.prototype=e}}(),n.lib.WordArray)},9:function(e,t,r){var n;e.exports=(n=r(21),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(a[o]=r(e.pow(n,.5))),c[o]=r(e.pow(n,1/3)),o++),n++}();var u=[],p=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],p=r[5],h=r[6],l=r[7],d=0;d<64;d++){if(d<16)u[d]=0|e[t+d];else{var f=u[d-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,v=u[d-2],y=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;u[d]=g+u[d-7]+y+u[d-16]}var m=n&o^n&i^o&i,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=l+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&p^~a&h)+c[d]+u[d];l=h,h=p,p=a,a=s+w|0,s=i,i=o,o=n,n=w+(b+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+p|0,r[6]=r[6]+h|0,r[7]=r[7]+l|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(p),t.HmacSHA256=i._createHmacHelper(p)}(Math),n.SHA256)},368:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(r(9)),s=o(r(754)),a=o(r(440)),c=function(){function e(e){this.state="",this.codeVerifier="",this.corsRequestOptions={},this.config=e}return e.prototype.enableCorsCredentials=function(e){return this.corsRequestOptions=e?{credentials:"include",mode:"cors"}:{},this.corsRequestOptions},e.prototype.authorizeUrl=function(e){void 0===e&&(e={});var t=this.pkceChallengeFromVerifier(),r=new URLSearchParams(Object.assign({response_type:"code",client_id:this.config.client_id,state:this.getState(e.state||null),scope:this.config.requested_scopes,redirect_uri:this.config.redirect_uri,code_challenge:t,code_challenge_method:"S256"},e)).toString();return"".concat(this.config.authorization_endpoint,"?").concat(r)},e.prototype.exchangeForAccessToken=function(e,t){var r=this;return void 0===t&&(t={}),this.parseAuthResponseUrl(e).then((function(e){return fetch(r.config.token_endpoint,n({method:"POST",body:new URLSearchParams(Object.assign({grant_type:"authorization_code",code:e.code,client_id:r.config.client_id,redirect_uri:r.config.redirect_uri,code_verifier:r.getCodeVerifier()},t)),headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}},r.corsRequestOptions)).then((function(e){return e.json()}))}))},e.prototype.refreshAccessToken=function(e){return fetch(this.config.token_endpoint,{method:"POST",body:new URLSearchParams({grant_type:"refresh_token",client_id:this.config.client_id,refresh_token:e}),headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}}).then((function(e){return e.json()}))},e.prototype.getCodeVerifier=function(){return""===this.codeVerifier&&(this.codeVerifier=this.randomStringFromStorage("pkce_code_verifier")),this.codeVerifier},e.prototype.getState=function(e){void 0===e&&(e=null);var t="pkce_state";return null!==e&&this.getStore().setItem(t,e),""===this.state&&(this.state=this.randomStringFromStorage(t)),this.state},e.prototype.parseAuthResponseUrl=function(e){var t=new URL(e).searchParams;return this.validateAuthResponse({error:t.get("error"),query:t.get("query"),state:t.get("state"),code:t.get("code")})},e.prototype.pkceChallengeFromVerifier=function(){var e=(0,i.default)(this.getCodeVerifier());return s.default.stringify(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},e.prototype.randomStringFromStorage=function(e){return null===this.getStore().getItem(e)&&this.getStore().setItem(e,a.default.random(64)),this.getStore().getItem(e)||""},e.prototype.validateAuthResponse=function(e){var t=this;return new Promise((function(r,n){return e.error?n({error:e.error}):e.state!==t.getState()?n({error:"Invalid State"}):r(e)}))},e.prototype.getStore=function(){var e;return(null===(e=this.config)||void 0===e?void 0:e.storage)||sessionStorage},e}();t.default=c},477:()=>{}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{auth:()=>g,authorization:()=>v,compute:()=>J,errors:()=>h,flows:()=>B,gcs:()=>W,groups:()=>$,info:()=>e,logger:()=>t,search:()=>j,timer:()=>V,transfer:()=>L,webapp:()=>Y});var e={};r.r(e),r.d(e,{CLIENT_INFO:()=>re,VERSION:()=>te,addClientInfo:()=>oe,getClientInfo:()=>ie,getClientInfoRequestHeaders:()=>se});var t={};r.r(t),r.d(t,{log:()=>le,setLogLevel:()=>he,setLogger:()=>pe});var o={};r.r(o),r.d(o,{HOSTS:()=>ve,ID:()=>fe,SCOPES:()=>ge});var i={};r.r(i),r.d(i,{HOSTS:()=>me,ID:()=>ye,SCOPES:()=>be});var s={};r.r(s),r.d(s,{HOSTS:()=>_e,ID:()=>we});var a={};r.r(a),r.d(a,{HOSTS:()=>Te,ID:()=>Ae,SCOPES:()=>Oe});var c={};r.r(c),r.d(c,{HOSTS:()=>Se,ID:()=>Ee,SCOPES:()=>Le});var u={};r.r(u),r.d(u,{HOSTS:()=>ke,ID:()=>Pe,SCOPES:()=>Re});var p={};r.r(p),r.d(p,{HOSTS:()=>xe,ID:()=>je,RESOURCE_SERVERS:()=>Ce,SCOPES:()=>Ie});var h={};r.r(h),r.d(h,{EnvironmentConfigurationError:()=>$e,isAuthorizationRequirementsError:()=>Me,isConsentRequiredError:()=>De,isErrorWellFormed:()=>Ue,toAuthorizationQueryParams:()=>Ne});var l={};r.r(l),r.d(l,{get:()=>Qe,getAll:()=>Ze});var d={};r.r(d),r.d(d,{introspect:()=>tt,refresh:()=>nt,revoke:()=>rt,validate:()=>ot});var f={};r.r(f),r.d(f,{token:()=>d,userinfo:()=>it});var g={};r.r(g),r.d(g,{CONFIG:()=>st,getAuthorizationEndpoint:()=>at,getTokenEndpoint:()=>ct,identities:()=>l,isGlobusAuthTokenResponse:()=>ht,isRefreshToken:()=>pt,isToken:()=>ut,oauth2:()=>f});var v={};r.r(v),r.d(v,{create:()=>tr});var y={};r.r(y),r.d(y,{ls:()=>or,mkdir:()=>ir,rename:()=>sr,stat:()=>cr,symlink:()=>ar});var m={};r.r(m),r.d(m,{submissionId:()=>hr,submitDelete:()=>ur,submitTransfer:()=>pr});var b={};r.r(b),r.d(b,{create:()=>dr,get:()=>lr,remove:()=>gr,update:()=>fr});var w={};r.r(w),r.d(w,{cancel:()=>br,get:()=>yr,getAll:()=>vr,getEventList:()=>_r,getPauseInfo:()=>Or,getSkippedErrors:()=>Tr,getSuccessfulTransfers:()=>Ar,remove:()=>wr,update:()=>mr});var _={};r.r(_),r.d(_,{create:()=>Sr,get:()=>Lr,getAll:()=>Er,remove:()=>kr,update:()=>Pr});var A={};r.r(A),r.d(A,{create:()=>jr,get:()=>xr,getAll:()=>Rr,remove:()=>Cr,update:()=>Ir});var T={};r.r(T),r.d(T,{get:()=>$r,getAccessList:()=>Dr,getHostedEndpoints:()=>Ur,getMonitoredEndpoints:()=>Br});var O={};r.r(O),r.d(O,{create:()=>Mr,get:()=>Hr,getAll:()=>Nr,remove:()=>Gr,update:()=>Fr});var E={};r.r(E),r.d(E,{cancel:()=>Wr,get:()=>zr,getAdminCancel:()=>Vr,getAll:()=>qr,getEventList:()=>Kr,getPauseInfo:()=>Zr,getSkippedErrors:()=>Yr,getSuccessfulTransfers:()=>Jr,pause:()=>Xr,resume:()=>Qr});var S={};r.r(S),r.d(S,{endpoint:()=>T,pauseRule:()=>O,task:()=>E});var L={};r.r(L),r.d(L,{CONFIG:()=>en,access:()=>_,collectionBookmarks:()=>A,endpoint:()=>b,endpointManager:()=>S,endpointSearch:()=>rr,fileOperations:()=>y,task:()=>w,taskSubmission:()=>m});var P={};r.r(P),r.d(P,{get:()=>tn,post:()=>rn});var k={};r.r(k),r.d(k,{get:()=>nn});var R={};r.r(R),r.d(R,{get:()=>on});var j={};r.r(j),r.d(j,{CONFIG:()=>sn,entry:()=>R,query:()=>P,subject:()=>k});var x={};r.r(x),r.d(x,{get:()=>cn,getMyGroups:()=>an});var I={};r.r(I),r.d(I,{get:()=>un});var C={};r.r(C),r.d(C,{act:()=>pn});var $={};r.r($),r.d($,{CONFIG:()=>hn,groups:()=>x,membership:()=>C,policies:()=>I});var U={};r.r(U),r.d(U,{get:()=>dn,getAll:()=>ln,remove:()=>fn});var D={};r.r(D),r.d(D,{getAll:()=>gn});var B={};r.r(B),r.d(B,{CONFIG:()=>vn,flows:()=>U,runs:()=>D});var N={};r.r(N),r.d(N,{create:()=>wn,get:()=>mn,getAll:()=>yn,patch:()=>An,remove:()=>bn,resetOwnerString:()=>On,update:()=>_n,updateOwnerString:()=>Tn});var M={};r.r(M),r.d(M,{get:()=>En,patch:()=>Ln,update:()=>Sn,updateSubscriptionId:()=>Pn});var H={};r.r(H),r.d(H,{get:()=>kn,remove:()=>Rn,update:()=>jn});var F={};r.r(F),r.d(F,{create:()=>$n,get:()=>In,getAll:()=>xn,remove:()=>Cn});var G={};r.r(G),r.d(G,{create:()=>Nn,get:()=>Dn,getAll:()=>Un,patch:()=>Hn,remove:()=>Bn,update:()=>Mn});var q={};r.r(q),r.d(q,{create:()=>zn,get:()=>Gn,getAll:()=>Fn,patch:()=>Vn,remove:()=>qn,update:()=>Wn});var z={};r.r(z),r.d(z,{info:()=>Kn});var W={};r.r(W),r.d(W,{collections:()=>N,endpoint:()=>M,getRequiredScopes:()=>Yn,https:()=>H,roles:()=>F,storageGateways:()=>G,userCredentials:()=>q,versioning:()=>z});var V={};r.r(V),r.d(V,{CONFIG:()=>Qn,create:()=>Xn});var K={};r.r(K),r.d(K,{get:()=>eo,getAll:()=>Zn,getStatus:()=>to});var J={};r.r(J),r.d(J,{CONFIG:()=>ro,endpoints:()=>K});var Y={};r.r(Y),r.d(Y,{HOSTS:()=>no,host:()=>oo,url:()=>io,urlFor:()=>ao});const X="X-Globus-Client-Info";let Q=!0;const Z=";",ee=",",te="3.5.1",re={product:"javascript-sdk",version:te};let ne=[re];function oe(e){ne=ne.concat(e)}function ie(){return function(e){return(Array.isArray(e)?e:[e]).map((e=>Object.entries(e).map((([e,t])=>`${e}=${t}`)).join(ee))).join(Z)}(ne)}function se(){return Q?{[X]:ie()}:{}}const ae=["debug","info","warn","error"];let ce,ue=ae.indexOf("error");function pe(e){ce=e}function he(e){ue=ae.indexOf(e)}function le(e,...t){var r;ce&&(ae.indexOf(e)<ue||(null!==(r=ce[e])&&void 0!==r?r:ce.log)(...t))}class de extends Error{}de.prototype.name="InvalidTokenError";const fe="TRANSFER",ge={ALL:"urn:globus:auth:scope:transfer.api.globus.org:all"},ve={sandbox:"transfer.api.sandbox.globuscs.info",production:"transfer.api.globusonline.org",staging:"transfer.api.staging.globuscs.info",integration:"transfer.api.integration.globuscs.info",test:"transfer.api.test.globuscs.info",preview:"transfer.api.preview.globus.org"},ye="FLOWS",me={sandbox:"sandbox.flows.automate.globus.org",production:"flows.globus.org",staging:"staging.flows.automate.globus.org",integration:"integration.flows.automate.globus.org",test:"test.flows.automate.globus.org",preview:"preview.flows.automate.globus.org"},be={MANAGE_FLOWS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/manage_flows",VIEW_FLOWS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/view_flows",RUN:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run",RUN_STATUS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run_status",RUN_MANAGE:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run_manage"},we="TIMER",_e={sandbox:"sandbox.timer.automate.globus.org",production:"timer.automate.globus.org",staging:"staging.timer.automate.globus.org",integration:"integration.timer.automate.globus.org",test:"test.timer.automate.globus.org",preview:"preview.timer.automate.globus.org"},Ae="GROUPS",Te={sandbox:"groups.api.sandbox.globuscs.info",production:"groups.api.globus.org",staging:"groups.api.staging.globuscs.info",integration:"groups.api.integration.globuscs.info",test:"groups.api.test.globuscs.info",preview:"groups.api.preview.globuscs.info"},Oe={ALL:"urn:globus:auth:scope:groups.api.globus.org:all",VIEW_MY:"urn:globus:auth:scope:groups.api.globus.org:view_my_groups_and_membership"},Ee="SEARCH",Se={sandbox:"search.api.sandbox.globuscs.info",production:"search.api.globus.org",staging:"search.api.staging.globuscs.info",integration:"search.api.integration.globuscs.info",test:"search.api.test.globuscs.info",preview:"search.api.preview.globus.org"},Le={ALL:"urn:globus:auth:scope:search.api.globus.org:all",INGEST:"urn:globus:auth:scope:search.api.globus.org:ingest",SEARCH:"urn:globus:auth:scope:search.api.globus.org:search"},Pe="COMPUTE",ke={sandbox:"compute.api.sandbox.globuscs.info",production:"compute.api.globus.org",staging:"compute.api.staging.globuscs.info",integration:"compute.api.integration.globuscs.info",test:"compute.api.test.globuscs.info",preview:"compute.api.preview.globus.org"},Re={ALL:"https://auth.globus.org/scopes/facd7ccc-c5f4-42aa-916b-a0e270e2c2a9/all"},je="AUTH",xe={integration:"auth.integration.globuscs.info",sandbox:"auth.sandbox.globuscs.info",production:"auth.globus.org",test:"auth.test.globuscs.info",staging:"auth.staging.globuscs.info",preview:"auth.preview.globus.org"},Ie={VIEW_IDENTITIES:"urn:globus:auth:scope:auth.globus.org:view_identities"},Ce={[je]:"auth.globus.org",[fe]:"transfer.api.globus.org",[ye]:"flows.api.globus.org",[Ae]:"groups.api.globus.org",[Ee]:"search.api.globus.org",[we]:"524230d7-ea86-4a52-8312-86065a9e0417",[Pe]:"funcx_service"};class $e extends Error{constructor(e,t){super(),this.name="EnvironmentConfigurationError",this.message=`Invalid configuration value provided for ${e} (${t}).`}}function Ue(e){return"object"==typeof e&&null!==e&&"code"in e&&"message"in e}function De(e){return Ue(e)&&"ConsentRequired"===e.code&&"required_scopes"in e&&Array.isArray(e.required_scopes)}const Be=["required_scopes"];function Ne(e){return Object.entries(e.authorization_parameters).reduce(((e,[t,r])=>{if(Be.includes(t)||null==r)return e;let n=r;return Array.isArray(n)?n=n.join(","):"boolean"==typeof r&&(n=n?"true":"false"),Object.assign(Object.assign({},e),{[t]:n})}),{})}function Me(e){return"object"==typeof e&&null!==e&&"authorization_parameters"in e&&"object"==typeof e.authorization_parameters&&null!==e.authorization_parameters}function He(e,t){const r="undefined"!=typeof window?window:process;let n;return n=function(e){return typeof window==typeof e}(r)?r:r.env,e in n?n[e]:t}const Fe={PRODUCTION:"production",PREVIEW:"preview",STAGING:"staging",SANDBOX:"sandbox",INTEGRATION:"integration",TEST:"test"},Ge={[je]:je,[fe]:fe,[ye]:ye,[Ae]:Ae,[Ee]:Ee,[we]:we,[Pe]:Pe},qe={[je]:xe,[fe]:ve,[ye]:me,[Ae]:Te,[Ee]:Se,[we]:_e,[Pe]:ke};function ze(e){var t,r,n,o,i,s;let a=He("GLOBUS_SDK_OPTIONS",{});return"string"==typeof a&&(a=JSON.parse(a)),Object.assign(Object.assign(Object.assign({},a),e),{fetch:Object.assign(Object.assign(Object.assign({},null==a?void 0:a.fetch),null==e?void 0:e.fetch),{options:Object.assign(Object.assign(Object.assign({},null===(t=null==a?void 0:a.fetch)||void 0===t?void 0:t.options),null===(r=null==e?void 0:e.fetch)||void 0===r?void 0:r.options),{headers:Object.assign(Object.assign({},null===(o=null===(n=null==a?void 0:a.fetch)||void 0===n?void 0:n.options)||void 0===o?void 0:o.headers),null===(s=null===(i=null==e?void 0:e.fetch)||void 0===i?void 0:i.options)||void 0===s?void 0:s.headers)})})})}function We(){var e;const t=ze(),r=He("GLOBUS_SDK_ENVIRONMENT",null!==(e=null==t?void 0:t.environment)&&void 0!==e?e:Fe.PRODUCTION);if((null==t?void 0:t.environment)&&r!==t.environment&&le("debug","GLOBUS_SDK_ENVIRONMENT and GLOBUS_SDK_OPTIONS.environment are set to different values. GLOBUS_SDK_ENVIRONMENT will take precedence"),!r||!Object.values(Fe).includes(r))throw new $e("GLOBUS_SDK_ENVIRONMENT",r);return r}function Ve(e,t,r,n){let o;return o="object"==typeof e?new URL(t,e.host):function(e,t="",r=We()){const n=function(e,t=We()){const r=function(e,t=We()){return qe[e][t]}(e,t);return He(`GLOBUS_SDK_SERVICE_URL_${e}`,r?`https://${r}`:void 0)}(e,r);return new URL(t,n)}(e,t,null==n?void 0:n.environment),r&&r.search&&(o.search=function(e){const t=new URLSearchParams;return Array.from(Object.entries(e)).forEach((([e,r])=>{Array.isArray(r)?t.set(e,r.join(",")):void 0!==r&&t.set(e,String(r))})),t.toString()}(r.search)),o.toString()}var Ke,Je=r(945),Ye=r.n(Je);function Xe(e,t,r){var n;const o=ze(r),i=(null===(n=null==o?void 0:o.fetch)||void 0===n?void 0:n.options)||{},s=Object.assign(Object.assign(Object.assign({},se()),null==t?void 0:t.headers),i.headers);if(e.resource_server&&(null==o?void 0:o.manager)){const t=o.manager.tokens.getByResourceServer(e.resource_server);t&&(s.Authorization=`Bearer ${t.access_token}`)}if(e.scope&&(null==o?void 0:o.manager)){const t="string"==typeof e.service?Ce[e.service]:e.service.endpoint_id,r=o.manager.tokens.getByResourceServer(t);r&&(s.Authorization=`Bearer ${r.access_token}`)}let a=null==t?void 0:t.body;!a&&(null==t?void 0:t.payload)&&(a=JSON.stringify(t.payload)),!(null==s?void 0:s["Content-Type"])&&a&&(s["Content-Type"]="application/json");const c=Ve(e.service,e.path,{search:null==t?void 0:t.query},o),u=Object.assign(Object.assign({method:e.method,body:a},i),{headers:s});return(null==i?void 0:i.__callable)?(delete u.__callable,i.__callable.call(this,c,u)):Ye()(c,u)}!function(e){e.POST="POST",e.GET="GET",e.DELETE="DELETE",e.PUT="PUT",e.PATCH="PATCH"}(Ke||(Ke={}));const Qe=function(e,t={},r){return Xe({service:je,scope:Ie.VIEW_IDENTITIES,path:`/identities/${e}`},t,r)},Ze=function(e={},t){return Xe({service:je,scope:Ie.VIEW_IDENTITIES,path:"/identities"},e,t)};function et(e){return Object.assign(Object.assign({},e),{body:(t=e.payload,new URLSearchParams(t)),headers:Object.assign(Object.assign({},(null==e?void 0:e.headers)||{}),{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})});var t}const tt=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for introspect");return Xe({service:je,scope:void 0,path:"/v2/oauth2/token/introspect",method:Ke.POST},et(e),t)},rt=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for revoke");return Xe({service:je,scope:void 0,path:"/v2/oauth2/token/revoke",method:Ke.POST},et(e),t)},nt=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for revoke");return Xe({service:je,scope:void 0,path:"/v2/oauth2/token",method:Ke.POST},et(e),t)},ot=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for validate");return Xe({service:je,scope:void 0,path:"/v2/oauth2/token/validate",method:Ke.POST},et(e),t)},it=function(e,t){return Xe({service:je,scope:void 0,path:"/v2/oauth2/userinfo",method:Ke.GET},e,t)},st=p;function at(){return Ve(je,"/v2/oauth2/authorize")}function ct(){return Ve(je,"/v2/oauth2/token")}function ut(e){return"object"==typeof e&&null!==e&&"access_token"in e}function pt(e){return ut(e)&&null!==e&&"refresh_token"in e}function ht(e){return ut(e)&&null!==e&&"resource_server"in e}var lt,dt=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};class ft{constructor(){lt.set(this,{})}get(e){return void 0!==dt(this,lt,"f")[e]?dt(this,lt,"f")[e]:null}set(e,t){dt(this,lt,"f")[e]="string"!=typeof t?JSON.stringify(t):t}remove(e){delete dt(this,lt,"f")[e]}keys(){return Object.keys(dt(this,lt,"f"))}clear(){!function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(e,r):o?o.value=r:t.set(e,r)}(this,lt,{},"f")}}lt=new WeakMap;var gt,vt=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};class yt{constructor(){gt.set(this,globalThis.localStorage)}get(e){return vt(this,gt,"f").getItem(e)}set(e,t){vt(this,gt,"f").setItem(e,"string"!=typeof t?JSON.stringify(t):t)}keys(){return Object.keys(vt(this,gt,"f"))}remove(e){vt(this,gt,"f").removeItem(e)}clear(){vt(this,gt,"f").clear()}}let mt;function bt(e="memory"){if(!mt){let t;t="localStorage"===e?yt:"memory"===e?ft:e,mt=new t}return mt}gt=new WeakMap;const wt=bt;var _t,At=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},Tt=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r};class Ot{constructor(e){this.name=e,_t.set(this,[])}addListener(e){return At(this,_t,"f").push(e),()=>this.removeListener(e)}removeListener(e){Tt(this,_t,At(this,_t,"f").filter((t=>t!==e)),"f")}clearListeners(){Tt(this,_t,[],"f")}dispatch(e){return t=this,r=void 0,o=function*(){yield Promise.all(At(this,_t,"f").map((t=>t(e))))},new((n=void 0)||(n=Promise))((function(e,i){function s(e){try{c(o.next(e))}catch(e){i(e)}}function a(e){try{c(o.throw(e))}catch(e){i(e)}}function c(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(s,a)}c((o=o.apply(t,r||[])).next())}));var t,r,n,o}}_t=new WeakMap;var Et,St,Lt=r(368),Pt=r.n(Lt),kt=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},Rt=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};class jt{constructor(e){Et.set(this,void 0),St.set(this,{});const{params:t}=e,r=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["params"]);kt(this,Et,new(Pt())(Object.assign({},r)),"f"),kt(this,St,Object.assign({},t),"f")}send(){window.location.replace(Rt(this,Et,"f").authorizeUrl(Rt(this,St,"f")))}getToken(){return e=this,t=arguments,n=function*(e={shouldReplace:!0}){const t=new URL(window.location.href),r=new URLSearchParams(t.search);if(!r.get("code"))return;const n=yield Rt(this,Et,"f").exchangeForAccessToken(t.toString());return sessionStorage.removeItem("pkce_state"),sessionStorage.removeItem("pkce_code_verifier"),e.shouldReplace&&(r.delete("code"),r.delete("state"),t.search=r.toString(),window.location.replace(t)),n},new((r=void 0)||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}));var e,t,r,n}}Et=new WeakMap,St=new WeakMap;var xt,It,Ct,$t,Ut=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};function Dt(e){const t=wt().get(e)||"null";let r=null;try{const e=JSON.parse(t);ut(e)&&(r=e)}catch(e){}return r}class Bt{constructor(e){xt.add(this),It.set(this,void 0),function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(e,r):o?o.value=r:t.set(e,r)}(this,It,e.manager,"f")}get auth(){return Ut(this,xt,"m",$t).call(this,Ge.AUTH)}get transfer(){return Ut(this,xt,"m",$t).call(this,Ge.TRANSFER)}get flows(){return Ut(this,xt,"m",$t).call(this,Ge.FLOWS)}get groups(){return Ut(this,xt,"m",$t).call(this,Ge.GROUPS)}get search(){return Ut(this,xt,"m",$t).call(this,Ge.SEARCH)}get timer(){return Ut(this,xt,"m",$t).call(this,Ge.TIMER)}get compute(){return Ut(this,xt,"m",$t).call(this,Ge.COMPUTE)}gcs(e){return this.getByResourceServer(e)}getByResourceServer(e){return Ut(this,xt,"m",Ct).call(this,e)}getAll(){return wt().keys().reduce(((e,t)=>(t.startsWith(Ut(this,It,"f").storageKeyPrefix)&&e.push(Dt(t)),e)),[]).filter(ut)}}It=new WeakMap,xt=new WeakSet,Ct=function(e){return Dt(`${Ut(this,It,"f").storageKeyPrefix}${e}`)},$t=function(e){var t;const r=null===(t=st.RESOURCE_SERVERS)||void 0===t?void 0:t[e];return Ut(this,xt,"m",Ct).call(this,r)};var Nt,Mt,Ht,Ft,Gt,qt,zt,Wt,Vt,Kt,Jt=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},Yt=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},Xt=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r};const Qt={useRefreshTokens:!1,defaultScopes:"openid profile email",automaticSilentRefresh:!1},Zt={execute:!0,additionalParams:void 0};class er{get authenticated(){return Yt(this,Ht,"f")}set authenticated(e){Xt(this,Ht,e,"f"),Yt(this,Nt,"m",zt).call(this)}constructor(e){var t;if(Nt.add(this),Mt.set(this,void 0),Ht.set(this,!1),this.events={authenticated:new Ot("authenticated"),revoke:new Ot("revoke")},this.waitForSilentRefresh=null,this.addTokenResponse=e=>{var t;wt().set(`${this.configuration.client}:${e.resource_server}`,e),"other_tokens"in e&&(null===(t=e.other_tokens)||void 0===t||t.forEach(this.addTokenResponse)),Yt(this,Nt,"m",Gt).call(this)},bt("localStorage"),!e.client)throw new Error("You must provide a `client` for your application.");const r=!1===e.defaultScopes?"":null!==(t=e.defaultScopes)&&void 0!==t?t:Qt.defaultScopes;this.configuration=Object.assign(Object.assign(Object.assign({},Qt),e),{scopes:[e.scopes?e.scopes:"",r].filter((e=>e.length)).join(" ")}),this.tokens=new Bt({manager:this}),this.configuration.automaticSilentRefresh?this.startSilentRefresh():Yt(this,Nt,"m",qt).call(this)}get storageKeyPrefix(){return`${this.configuration.client}:`}get user(){const e=this.getGlobusAuthToken();return e&&e.id_token?function(e,t){if("string"!=typeof e)throw new de("Invalid token specified: must be a string");t||(t={});const r=!0===t.header?0:1,n=e.split(".")[r];if("string"!=typeof n)throw new de(`Invalid token specified: missing part #${r+1}`);let o;try{o=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r})))}(t)}catch(e){return atob(t)}}(n)}catch(e){throw new de(`Invalid token specified: invalid base64 for part #${r+1} (${e.message})`)}try{return JSON.parse(o)}catch(e){throw new de(`Invalid token specified: invalid json for part #${r+1} (${e.message})`)}}(e.id_token):null}startSilentRefresh(){le("debug",`AuthorizationManager.startSilentRefresh | useRefreshTokens=${this.configuration.useRefreshTokens}`),this.configuration.useRefreshTokens&&Yt(this,Nt,"m",Ft).call(this)}refreshToken(e){return Jt(this,void 0,void 0,(function*(){le("debug",`AuthorizationManager.refreshToken | resource_server=${e.resource_server}`);try{const t=yield(yield nt({payload:{client_id:this.configuration.client,refresh_token:e.refresh_token,grant_type:"refresh_token"}})).json();ht(t)&&this.addTokenResponse(t)}catch(t){le("error",`AuthorizationManager.refreshToken | resource_server=${e.resource_server}`)}}))}hasGlobusAuthToken(){return null!==this.getGlobusAuthToken()}getGlobusAuthToken(){const e=wt().get(`${this.storageKeyPrefix}auth.globus.org`);return e?JSON.parse(e):null}reset(){wt().keys().forEach((e=>{e.startsWith(this.storageKeyPrefix)&&wt().remove(e)})),this.authenticated=!1}login(e={additionalParams:{}}){le("debug","AuthorizationManager.login"),this.reset(),Yt(this,Nt,"m",Vt).call(this,{params:null==e?void 0:e.additionalParams}).send()}handleCodeRedirect(){return Jt(this,arguments,void 0,(function*(e={shouldReplace:!0,additionalParams:{}}){le("debug","AuthorizationManager.handleCodeRedirect");const t=yield Yt(this,Nt,"m",Vt).call(this,{params:null==e?void 0:e.additionalParams}).getToken({shouldReplace:null==e?void 0:e.shouldReplace});ht(t)&&(le("debug",`AuthorizationManager.handleCodeRedirect | response=${JSON.stringify(t)}`),this.addTokenResponse(t))}))}handleErrorResponse(e,t){const r="boolean"==typeof t?Object.assign(Object.assign({},Zt),{execute:t}):Object.assign(Object.assign({},Zt),t);le("debug",`AuthorizationManager.handleErrorResponse | response=${JSON.stringify(e)} execute=${r.execute}`);let n=()=>{};return Me(e)&&(le("debug","AuthorizationManager.handleErrorResponse | error=AuthorizationRequirementsError"),n=()=>this.handleAuthorizationRequirementsError(e,{additionalParams:r.additionalParams})),De(e)&&(le("debug","AuthorizationManager.handleErrorResponse | error=ConsentRequiredError"),n=()=>this.handleConsentRequiredError(e,{additionalParams:r.additionalParams})),"code"in e&&"AuthenticationFailed"===e.code&&(le("debug","AuthorizationManager.handleErrorResponse | error=AuthenticationFailed"),n=()=>this.revoke()),!0===r.execute?n():n}handleAuthorizationRequirementsError(e,t){Xt(this,Mt,Yt(this,Nt,"m",Vt).call(this,{params:Object.assign(Object.assign({prompt:"login"},Ne(e)),null==t?void 0:t.additionalParams)}),"f"),Yt(this,Mt,"f").send()}handleConsentRequiredError(e,t){Xt(this,Mt,Yt(this,Nt,"m",Vt).call(this,{requested_scopes:Yt(this,Nt,"m",Wt).call(this,e.required_scopes.join(" ")),params:Object.assign({},null==t?void 0:t.additionalParams)}),"f"),Yt(this,Mt,"f").send()}revoke(){return Jt(this,void 0,void 0,(function*(){le("debug","AuthorizationManager.revoke");const e=Promise.all(this.tokens.getAll().map(Yt(this,Nt,"m",Kt).bind(this)));this.reset(),yield e,yield this.events.revoke.dispatch()}))}}function tr(e){return new er(e)}Mt=new WeakMap,Ht=new WeakMap,Nt=new WeakSet,Ft=function(){le("debug","AuthorizationManager.#silentRefreshTokens"),this.waitForSilentRefresh=Promise.allSettled(this.tokens.getAll().map((e=>pt(e)?this.refreshToken(e):Promise.resolve()))).then((()=>{Yt(this,Nt,"m",Gt).call(this),this.waitForSilentRefresh=null}))},Gt=function(){le("debug","AuthorizationManager.#checkAuthorizationState"),this.hasGlobusAuthToken()&&(this.authenticated=!0)},qt=function(){return Jt(this,void 0,void 0,(function*(){le("debug","AuthorizationManager.bootstrapFromStorageState"),Yt(this,Nt,"m",Gt).call(this)}))},zt=function(){return Jt(this,void 0,void 0,(function*(){var e;const t=this.authenticated,r=null!==(e=this.getGlobusAuthToken())&&void 0!==e?e:void 0;yield this.events.authenticated.dispatch({isAuthenticated:t,token:r})}))},Wt=function(e){return`${e}${this.configuration.useRefreshTokens?" offline_access":""}`},Vt=function(e){var t;const r=Yt(this,Nt,"m",Wt).call(this,null!==(t=null==e?void 0:e.requested_scopes)&&void 0!==t?t:this.configuration.scopes||"");return new jt(Object.assign({client_id:this.configuration.client,authorization_endpoint:at(),token_endpoint:ct(),redirect_uri:this.configuration.redirect,requested_scopes:r},e))},Kt=function(e){return le("debug",`AuthorizationManager.revokeToken | resource_server=${e.resource_server}`),rt({payload:{client_id:this.configuration.client,token:e.access_token}})};const rr=function(e,t){const r=Object.assign(Object.assign({},e),{query:null==e?void 0:e.query});return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_search"},r,t)};function nr(e){return e===Ke.GET?{}:{"Content-Type":"application/json"}}const or=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/operation/endpoint/${e}/ls`},t,r)},ir=function(e,t,r){const n={payload:Object.assign({DATA_TYPE:"mkdir"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},nr(Ke.POST)),null==t?void 0:t.headers)};return Xe({service:fe,scope:ge.ALL,path:`/v0.10/operation/endpoint/${e}/mkdir`,method:Ke.POST},n,r)},sr=function(e,t,r){const n={payload:Object.assign({DATA_TYPE:"rename"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},nr(Ke.POST)),null==t?void 0:t.headers)};return Xe({service:fe,scope:ge.ALL,path:`/v0.10/operation/endpoint/${e}/rename`,method:Ke.POST},n,r)},ar=function(e,t,r){const n={payload:Object.assign({DATA_TYPE:"symlink"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},nr(Ke.POST)),null==t?void 0:t.headers)};return Xe({service:fe,scope:ge.ALL,path:`/v0.10/operation/endpoint/${e}/symlink`,method:Ke.POST},n,r)},cr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/operation/endpoint/${e}/stat`},t,r)},ur=function(e,t){const r={payload:Object.assign({DATA_TYPE:"delete"},null==e?void 0:e.payload),headers:Object.assign(Object.assign({},nr(Ke.POST)),null==e?void 0:e.headers)};return Xe({service:fe,scope:ge.ALL,path:"/v0.10/delete",method:Ke.POST},r,t)},pr=function(e,t){const r={payload:Object.assign({DATA_TYPE:"transfer"},null==e?void 0:e.payload),headers:Object.assign(Object.assign({},nr(Ke.POST)),null==e?void 0:e.headers)};return Xe({service:fe,scope:ge.ALL,path:"/v0.10/transfer",method:Ke.POST},r,t)},hr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/submission_id"},e,t)},lr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}`},t,r)},dr=function(e,t){return(null==e?void 0:e.payload)&&Object.assign(e.payload,{DATA_TYPE:"shared_endpoint"}),Xe({service:fe,scope:ge.ALL,path:"/v0.10/shared_endpoint",method:Ke.POST},e,t)},fr=function(e,t,r){return(null==t?void 0:t.payload)&&Object.assign(t.payload,{DATA_TYPE:"endpoint"}),Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}`,method:Ke.PUT},t,r)},gr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}`,method:Ke.DELETE},t,r)},vr=function(e={},t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/task_list"},e,t)},yr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}`},t,r)},mr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}`,method:Ke.PUT},t,r)},br=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/cancel`,method:Ke.POST},t,r)},wr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/remove`,method:Ke.POST},t,r)},_r=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/event_list`},t,r)},Ar=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/successful_transfers`},t,r)},Tr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/skipped_errors`},t,r)},Or=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/pause_info`},t,r)},Er=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}/access_list`},t,r)},Sr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}/access`,method:Ke.POST},t,r)},Lr=function({endpoint_xid:e,id:t},r,n){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}/access/${t}`},r,n)},Pr=function({endpoint_xid:e,id:t},r,n){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}/access/${t}`,method:Ke.PUT},r,n)},kr=function({endpoint_xid:e,id:t},r,n){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}/access/${t}`,method:Ke.DELETE},r,n)},Rr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/bookmark_list"},e,t)},jr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/bookmark",method:Ke.POST},e,t)},xr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/bookmark/${e}`},t,r)},Ir=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/bookmark/${e}`,method:Ke.PUT},t,r)},Cr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/bookmark/${e}`,method:Ke.DELETE},t,r)},$r=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/endpoint/${e}`},t,r)},Ur=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/endpoint/${e}/hosted_endpoint_list`},t,r)},Dr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/endpoint/${e}/access_list`},t,r)},Br=function(e={},t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/monitored_endpoints"},e,t)},Nr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/pause_rule_list"},e,t)},Mr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/pause_rule",method:Ke.POST},e,t)},Hr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/pause_rule/${e}`},t,r)},Fr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/pause_rule/${e}`,method:Ke.PUT},t,r)},Gr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/pause_rule/${e}`,method:Ke.DELETE},t,r)},qr=function(e={},t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/task_list"},e,t)},zr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/task/${e}`},t,r)},Wr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/admin_cancel",method:Ke.POST},e,t)},Vr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/admin_cancel/${e}`,method:Ke.POST},t,r)},Kr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/task/${e}/event_list`},t,r)},Jr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/task/${e}/successful_transfers`},t,r)},Yr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/task/${e}/skipped_errors`},t,r)},Xr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/admin_pause",method:Ke.POST},e,t)},Qr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/admin_resume",method:Ke.POST},e,t)},Zr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/task/${e}/pause_info`},t,r)},en=o,tn=function(e,t,r){return Xe({service:Ee,scope:Le.SEARCH,path:`/v1/index/${e}/search`},t,r)},rn=function(e,t,r){return Xe({service:Ee,scope:Le.SEARCH,path:`/v1/index/${e}/search`,method:Ke.POST},t,r)},nn=function(e,t,r){return Xe({service:Ee,scope:Le.SEARCH,path:`/v1/index/${e}/subject`},t,r)},on=function(e,t,r){return Xe({service:Ee,scope:Le.SEARCH,path:`/v1/index/${e}/entry`},t,r)},sn=c,an=function(e,t){return Xe({scope:Oe.ALL,path:"/v2/groups/my_groups",service:Ae},e,t)},cn=function(e,t,r){return Xe({service:Ae,scope:Oe.ALL,path:`/v2/groups/${e}`},t,r)},un=function(e,t,r){return Xe({scope:Oe.ALL,path:`/v2/groups/${e}/policies`,service:Ae},t,r)},pn=function(e,t,r){if(!(null==t?void 0:t.payload))throw new Error("payload is required.");return Xe({service:Ae,scope:Oe.ALL,path:`/v2/groups/${e}`,method:Ke.POST},t,r)},hn=a,ln=function(e,t){return Xe({service:ye,scope:be.VIEW_FLOWS,path:"/flows"},e,t)},dn=function(e,t,r){return Xe({service:ye,scope:be.VIEW_FLOWS,path:`/flows/${e}`},t,r)},fn=function(e,t,r){return Xe({scope:be.MANAGE_FLOWS,service:ye,path:`/flows/${e}`,method:Ke.DELETE},t,r)},gn=function(e={},t){return Xe({service:ye,scope:be.RUN_MANAGE,path:"/runs"},e,t)},vn=i,yn=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/collections"},t,r)},mn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/collections/${t}`},r,n)},bn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/collections/${t}`,method:Ke.DELETE},r,n)},wn=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/collections",method:Ke.POST},t,r)},_n=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/collections/${t}`,method:Ke.PUT},r,n)},An=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/collections/${t}`,method:Ke.PATCH},r,n)},Tn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/collections/${t}/owner_string`,method:Ke.PUT},r,n)},On=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/collections/${t}/owner_string`,method:Ke.DELETE},r,n)},En=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/endpoint"},t,r)},Sn=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/endpoint",method:Ke.PUT},t,r)},Ln=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/endpoint",method:Ke.PATCH},t,r)},Pn=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/endpoint/subscription_id",method:Ke.PUT},t,r)},kn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:t},r,n)},Rn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:t,method:Ke.DELETE},r,n)},jn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:t,method:Ke.PUT},r,n)},xn=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/roles"},t,r)},In=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/roles/${t}`},r,n)},Cn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/roles/${t}`,method:Ke.DELETE},r,n)},$n=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/roles",method:Ke.POST},t,r)},Un=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/storage_gateways"},t,r)},Dn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/storage_gateways/${t}`},r,n)},Bn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/storage_gateways/${t}`,method:Ke.DELETE},r,n)},Nn=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/storage_gateways",method:Ke.POST},t,r)},Mn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/storage_gateways/${t}`,method:Ke.PUT},r,n)},Hn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/storage_gateways/${t}`,method:Ke.PATCH},r,n)},Fn=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/user_credentials"},t,r)},Gn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/user_credentials/${t}`},r,n)},qn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/user_credentials/${t}`,method:Ke.DELETE},r,n)},zn=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/user_credentials",method:Ke.POST},t,r)},Wn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/user_credentials/${t}`,method:Ke.PUT},r,n)},Vn=function(e,t,r,n){return Xe({service:e,scope:Yn(e),path:`/api/user_credentials/${t}`,method:Ke.PATCH},r,n)},Kn=function(e,t,r){return Xe({service:e,scope:Yn(e),path:"/api/info"},t,r)},Jn={HIGH_ASSURANCE:"urn:globus:auth:scope:<ENDPOINT_ID>:manage_collections",NON_HIGH_ASSURANCE:"urn:globus:auth:scope:<ENDPOINT_ID>:manage_collections[*https://auth.globus.org/scopes/<MAPPED_COLLECTION_ID>/data_access]"};function Yn(e){return Jn.HIGH_ASSURANCE.replace("<ENDPOINT_ID>",e.endpoint_id)}const Xn=function(e,t){return Xe({service:we,scope:"https://auth.globus.org/scopes/524230d7-ea86-4a52-8312-86065a9e0417/timer",path:"/v2/timer",method:Ke.POST},e,t)},Qn=s,Zn=function(e,t){return Xe({service:Pe,scope:Re.ALL,path:"/v2/endpoints",method:Ke.GET},e,t)},eo=function(e,t,r){return Xe({service:Pe,scope:Re.ALL,path:`/v2/endpoints/${e}`,method:Ke.GET},t,r)},to=function(e,t,r){return Xe({service:Pe,scope:Re.ALL,path:`/v2/endpoints/${e}/status`},t,r)},ro=u,no={integration:"app.integration.globuscs.info",sandbox:"app.sandbox.globuscs.info",test:"app.test.globuscs.info",staging:"app.staging.globuscs.info",preview:"app.preview.globus.org",production:"app.globus.org"};function oo(e=We()){return no[e]}function io(e,t){return new URL(e||"",`https://${oo(null==t?void 0:t.environment)}`)}const so={TASK:"/activity/%s/overview",COLLECTION:"/file-manager/collections/%s/overview",ENDPOINT:"/file-manager/collections/%s/overview"};function ao(e,t,r){return io(so[e].replace(/%s/g,(null==t?void 0:t.join("/"))||""),r)}})(),globus=n})();
|
|
1
|
+
var globus;(()=>{var e={945:(e,t,r)=>{var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,o=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var r=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==r&&r,n="URLSearchParams"in r,o="Symbol"in r&&"iterator"in Symbol,i="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in r,a="ArrayBuffer"in r;if(a)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function p(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function h(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(t[Symbol.iterator]=function(){return t}),t}function l(e){this.map={},e instanceof l?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function g(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function v(e){var t=new FileReader,r=g(t);return t.readAsArrayBuffer(e),r}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&i&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(v)}),this.text=function(){var e,t,r,n=f(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,r=g(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(e,t){e=p(e),t=h(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[p(e)]},l.prototype.get=function(e){return e=p(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(p(e))},l.prototype.set=function(e,t){this.map[p(e)]=h(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),d(e)},l.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},l.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),d(e)},o&&(l.prototype[Symbol.iterator]=l.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(e,t){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,o=(t=t||{}).body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(n=(r=t.method||this.method||"GET").toUpperCase(),b.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function _(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function A(e,t){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},m.call(w.prototype),m.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},A.error=function(){var e=new A(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];A.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new A(null,{status:t,headers:{location:e}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function O(e,n){return new Promise((function(o,s){var c=new w(e,n);if(c.signal&&c.signal.aborted)return s(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function p(){u.abort()}u.onload=function(){var e,t,r={status:u.status,statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t)};r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL");var n="response"in u?u.response:u.responseText;setTimeout((function(){o(new A(n,r))}),0)},u.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){s(new t.DOMException("Aborted","AbortError"))}),0)},u.open(c.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(c.url),!0),"include"===c.credentials?u.withCredentials=!0:"omit"===c.credentials&&(u.withCredentials=!1),"responseType"in u&&(i?u.responseType="blob":a&&c.headers.get("Content-Type")&&-1!==c.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!n||"object"!=typeof n.headers||n.headers instanceof l?c.headers.forEach((function(e,t){u.setRequestHeader(t,e)})):Object.getOwnPropertyNames(n.headers).forEach((function(e){u.setRequestHeader(e,h(n.headers[e]))})),c.signal&&(c.signal.addEventListener("abort",p),u.onreadystatechange=function(){4===u.readyState&&c.signal.removeEventListener("abort",p)}),u.send(void 0===c._bodyInit?null:c._bodyInit)}))}O.polyfill=!0,r.fetch||(r.fetch=O,r.Headers=l,r.Request=w,r.Response=A),t.Headers=l,t.Request=w,t.Response=A,t.fetch=O}({})}(o),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var i=n.fetch?n:o;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},21:function(e,t,r){var n;e.exports=(n=n||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(477)}catch(e){}var o=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),s={},a=s.lib={},c=a.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=a.WordArray=c.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var s=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=s<<24-(n+i)%4*8}else for(var a=0;a<o;a+=4)t[n+a>>>2]=r[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(o());return new u.init(t,e)}}),p=s.enc={},h=p.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new u.init(r,t/2)}},d=p.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new u.init(r,t)}},l=p.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},f=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,s=this.blockSize,a=i/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,p=e.min(4*c,i);if(c){for(var h=0;h<c;h+=s)this._doProcessBlock(o,h);r=o.splice(0,c),n.sigBytes-=p}return new u.init(r,p)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(a.Hasher=f.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new g.HMAC.init(e,r).finalize(t)}}}),s.algo={});return s}(Math),n)},754:function(e,t,r){var n,o,i;e.exports=(n=r(21),i=(o=n).lib.WordArray,o.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],i=0;i<r;i+=3)for(var s=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a<r;a++)o.push(n.charAt(s>>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<r.length;o++)n[r.charCodeAt(o)]=o}var s=r.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,r){for(var n=[],o=0,s=0;s<t;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;n[o>>>2]|=a<<24-o%4*8,o++}return i.create(n,o)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)},440:function(e,t,r){var n;e.exports=(n=r(21),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init,r=e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],o=0;o<r;o++)n[o>>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)};r.prototype=e}}(),n.lib.WordArray)},9:function(e,t,r){var n;e.exports=(n=r(21),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(a[o]=r(e.pow(n,.5))),c[o]=r(e.pow(n,1/3)),o++),n++}();var u=[],p=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],p=r[5],h=r[6],d=r[7],l=0;l<64;l++){if(l<16)u[l]=0|e[t+l];else{var f=u[l-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,v=u[l-2],y=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;u[l]=g+u[l-7]+y+u[l-16]}var m=n&o^n&i^o&i,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&p^~a&h)+c[l]+u[l];d=h,h=p,p=a,a=s+w|0,s=i,i=o,o=n,n=w+(b+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+p|0,r[6]=r[6]+h|0,r[7]=r[7]+d|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(p),t.HmacSHA256=i._createHmacHelper(p)}(Math),n.SHA256)},368:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(r(9)),s=o(r(754)),a=o(r(440)),c=function(){function e(e){this.state="",this.codeVerifier="",this.corsRequestOptions={},this.config=e}return e.prototype.enableCorsCredentials=function(e){return this.corsRequestOptions=e?{credentials:"include",mode:"cors"}:{},this.corsRequestOptions},e.prototype.authorizeUrl=function(e){void 0===e&&(e={});var t=this.pkceChallengeFromVerifier(),r=new URLSearchParams(Object.assign({response_type:"code",client_id:this.config.client_id,state:this.getState(e.state||null),scope:this.config.requested_scopes,redirect_uri:this.config.redirect_uri,code_challenge:t,code_challenge_method:"S256"},e)).toString();return"".concat(this.config.authorization_endpoint,"?").concat(r)},e.prototype.exchangeForAccessToken=function(e,t){var r=this;return void 0===t&&(t={}),this.parseAuthResponseUrl(e).then((function(e){return fetch(r.config.token_endpoint,n({method:"POST",body:new URLSearchParams(Object.assign({grant_type:"authorization_code",code:e.code,client_id:r.config.client_id,redirect_uri:r.config.redirect_uri,code_verifier:r.getCodeVerifier()},t)),headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}},r.corsRequestOptions)).then((function(e){return e.json()}))}))},e.prototype.refreshAccessToken=function(e){return fetch(this.config.token_endpoint,{method:"POST",body:new URLSearchParams({grant_type:"refresh_token",client_id:this.config.client_id,refresh_token:e}),headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}}).then((function(e){return e.json()}))},e.prototype.getCodeVerifier=function(){return""===this.codeVerifier&&(this.codeVerifier=this.randomStringFromStorage("pkce_code_verifier")),this.codeVerifier},e.prototype.getState=function(e){void 0===e&&(e=null);var t="pkce_state";return null!==e&&this.getStore().setItem(t,e),""===this.state&&(this.state=this.randomStringFromStorage(t)),this.state},e.prototype.parseAuthResponseUrl=function(e){var t=new URL(e).searchParams;return this.validateAuthResponse({error:t.get("error"),query:t.get("query"),state:t.get("state"),code:t.get("code")})},e.prototype.pkceChallengeFromVerifier=function(){var e=(0,i.default)(this.getCodeVerifier());return s.default.stringify(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},e.prototype.randomStringFromStorage=function(e){return null===this.getStore().getItem(e)&&this.getStore().setItem(e,a.default.random(64)),this.getStore().getItem(e)||""},e.prototype.validateAuthResponse=function(e){var t=this;return new Promise((function(r,n){return e.error?n({error:e.error}):e.state!==t.getState()?n({error:"Invalid State"}):r(e)}))},e.prototype.getStore=function(){var e;return(null===(e=this.config)||void 0===e?void 0:e.storage)||sessionStorage},e}();t.default=c},477:()=>{}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{auth:()=>g,authorization:()=>v,compute:()=>J,errors:()=>h,flows:()=>B,gcs:()=>W,groups:()=>$,info:()=>e,logger:()=>t,search:()=>j,timer:()=>V,transfer:()=>L,webapp:()=>Y});var e={};r.r(e),r.d(e,{CLIENT_INFO:()=>re,VERSION:()=>te,addClientInfo:()=>oe,getClientInfo:()=>ie,getClientInfoRequestHeaders:()=>se});var t={};r.r(t),r.d(t,{log:()=>de,setLogLevel:()=>he,setLogger:()=>pe});var o={};r.r(o),r.d(o,{HOSTS:()=>ve,ID:()=>fe,SCOPES:()=>ge});var i={};r.r(i),r.d(i,{HOSTS:()=>me,ID:()=>ye,SCOPES:()=>be});var s={};r.r(s),r.d(s,{HOSTS:()=>_e,ID:()=>we});var a={};r.r(a),r.d(a,{HOSTS:()=>Te,ID:()=>Ae,SCOPES:()=>Oe});var c={};r.r(c),r.d(c,{HOSTS:()=>Se,ID:()=>Ee,SCOPES:()=>Le});var u={};r.r(u),r.d(u,{HOSTS:()=>ke,ID:()=>Pe,SCOPES:()=>Re});var p={};r.r(p),r.d(p,{HOSTS:()=>xe,ID:()=>je,RESOURCE_SERVERS:()=>Ce,SCOPES:()=>Ie});var h={};r.r(h),r.d(h,{EnvironmentConfigurationError:()=>$e,isAuthorizationRequirementsError:()=>Me,isConsentRequiredError:()=>De,isErrorWellFormed:()=>Ue,toAuthorizationQueryParams:()=>Ne});var d={};r.r(d),r.d(d,{get:()=>Qe,getAll:()=>Ze});var l={};r.r(l),r.d(l,{introspect:()=>tt,refresh:()=>nt,revoke:()=>rt,validate:()=>ot});var f={};r.r(f),r.d(f,{token:()=>l,userinfo:()=>it});var g={};r.r(g),r.d(g,{CONFIG:()=>st,getAuthorizationEndpoint:()=>at,getTokenEndpoint:()=>ct,identities:()=>d,isGlobusAuthTokenResponse:()=>ht,isRefreshToken:()=>pt,isToken:()=>ut,oauth2:()=>f});var v={};r.r(v),r.d(v,{create:()=>tr});var y={};r.r(y),r.d(y,{ls:()=>or,mkdir:()=>ir,rename:()=>sr,stat:()=>cr,symlink:()=>ar});var m={};r.r(m),r.d(m,{submissionId:()=>hr,submitDelete:()=>ur,submitTransfer:()=>pr});var b={};r.r(b),r.d(b,{create:()=>lr,get:()=>dr,remove:()=>gr,update:()=>fr});var w={};r.r(w),r.d(w,{cancel:()=>br,get:()=>yr,getAll:()=>vr,getEventList:()=>_r,getPauseInfo:()=>Or,getSkippedErrors:()=>Tr,getSuccessfulTransfers:()=>Ar,remove:()=>wr,update:()=>mr});var _={};r.r(_),r.d(_,{create:()=>Sr,get:()=>Lr,getAll:()=>Er,remove:()=>kr,update:()=>Pr});var A={};r.r(A),r.d(A,{create:()=>jr,get:()=>xr,getAll:()=>Rr,remove:()=>Cr,update:()=>Ir});var T={};r.r(T),r.d(T,{get:()=>$r,getAccessList:()=>Dr,getHostedEndpoints:()=>Ur,getMonitoredEndpoints:()=>Br});var O={};r.r(O),r.d(O,{create:()=>Mr,get:()=>Hr,getAll:()=>Nr,remove:()=>Gr,update:()=>Fr});var E={};r.r(E),r.d(E,{cancel:()=>Wr,get:()=>zr,getAdminCancel:()=>Vr,getAll:()=>qr,getEventList:()=>Kr,getPauseInfo:()=>Zr,getSkippedErrors:()=>Yr,getSuccessfulTransfers:()=>Jr,pause:()=>Xr,resume:()=>Qr});var S={};r.r(S),r.d(S,{endpoint:()=>T,pauseRule:()=>O,task:()=>E});var L={};r.r(L),r.d(L,{CONFIG:()=>en,access:()=>_,collectionBookmarks:()=>A,endpoint:()=>b,endpointManager:()=>S,endpointSearch:()=>rr,fileOperations:()=>y,task:()=>w,taskSubmission:()=>m});var P={};r.r(P),r.d(P,{get:()=>tn,post:()=>rn});var k={};r.r(k),r.d(k,{get:()=>nn});var R={};r.r(R),r.d(R,{get:()=>on});var j={};r.r(j),r.d(j,{CONFIG:()=>sn,entry:()=>R,query:()=>P,subject:()=>k});var x={};r.r(x),r.d(x,{get:()=>cn,getMyGroups:()=>an});var I={};r.r(I),r.d(I,{get:()=>un});var C={};r.r(C),r.d(C,{act:()=>pn});var $={};r.r($),r.d($,{CONFIG:()=>hn,groups:()=>x,membership:()=>C,policies:()=>I});var U={};r.r(U),r.d(U,{get:()=>ln,getAll:()=>dn,remove:()=>fn,run:()=>gn});var D={};r.r(D),r.d(D,{cancel:()=>yn,getAll:()=>vn,getLog:()=>mn});var B={};r.r(B),r.d(B,{CONFIG:()=>bn,flows:()=>U,runs:()=>D});var N={};r.r(N),r.d(N,{create:()=>Tn,get:()=>_n,getAll:()=>wn,patch:()=>En,remove:()=>An,resetOwnerString:()=>Ln,update:()=>On,updateOwnerString:()=>Sn});var M={};r.r(M),r.d(M,{get:()=>Pn,patch:()=>Rn,resetOwnerString:()=>Cn,update:()=>kn,updateOwner:()=>xn,updateOwnerString:()=>In,updateSubscriptionId:()=>jn});var H={};r.r(H),r.d(H,{get:()=>$n,remove:()=>Un,update:()=>Dn});var F={};r.r(F),r.d(F,{create:()=>Hn,get:()=>Nn,getAll:()=>Bn,remove:()=>Mn});var G={};r.r(G),r.d(G,{create:()=>zn,get:()=>Gn,getAll:()=>Fn,patch:()=>Vn,remove:()=>qn,update:()=>Wn});var q={};r.r(q),r.d(q,{create:()=>Xn,get:()=>Jn,getAll:()=>Kn,patch:()=>Zn,remove:()=>Yn,update:()=>Qn});var z={};r.r(z),r.d(z,{info:()=>eo});var W={};r.r(W),r.d(W,{collections:()=>N,endpoint:()=>M,getRequiredScopes:()=>ro,https:()=>H,roles:()=>F,storageGateways:()=>G,userCredentials:()=>q,versioning:()=>z});var V={};r.r(V),r.d(V,{CONFIG:()=>oo,create:()=>no});var K={};r.r(K),r.d(K,{get:()=>so,getAll:()=>io,getStatus:()=>ao});var J={};r.r(J),r.d(J,{CONFIG:()=>co,endpoints:()=>K});var Y={};r.r(Y),r.d(Y,{HOSTS:()=>uo,host:()=>po,url:()=>ho,urlFor:()=>fo});const X="X-Globus-Client-Info";let Q=!0;const Z=";",ee=",",te="3.6.0",re={product:"javascript-sdk",version:te};let ne=[re];function oe(e){ne=ne.concat(e)}function ie(){return function(e){return(Array.isArray(e)?e:[e]).map((e=>Object.entries(e).map((([e,t])=>`${e}=${t}`)).join(ee))).join(Z)}(ne)}function se(){return Q?{[X]:ie()}:{}}const ae=["debug","info","warn","error"];let ce,ue=ae.indexOf("error");function pe(e){ce=e}function he(e){ue=ae.indexOf(e)}function de(e,...t){var r;ce&&(ae.indexOf(e)<ue||(null!==(r=ce[e])&&void 0!==r?r:ce.log)(...t))}class le extends Error{}le.prototype.name="InvalidTokenError";const fe="TRANSFER",ge={ALL:"urn:globus:auth:scope:transfer.api.globus.org:all"},ve={sandbox:"transfer.api.sandbox.globuscs.info",production:"transfer.api.globusonline.org",staging:"transfer.api.staging.globuscs.info",integration:"transfer.api.integration.globuscs.info",test:"transfer.api.test.globuscs.info",preview:"transfer.api.preview.globus.org"},ye="FLOWS",me={sandbox:"sandbox.flows.automate.globus.org",production:"flows.globus.org",staging:"staging.flows.automate.globus.org",integration:"integration.flows.automate.globus.org",test:"test.flows.automate.globus.org",preview:"preview.flows.automate.globus.org"},be={MANAGE_FLOWS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/manage_flows",VIEW_FLOWS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/view_flows",RUN:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run",RUN_STATUS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run_status",RUN_MANAGE:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run_manage"},we="TIMER",_e={sandbox:"sandbox.timer.automate.globus.org",production:"timer.automate.globus.org",staging:"staging.timer.automate.globus.org",integration:"integration.timer.automate.globus.org",test:"test.timer.automate.globus.org",preview:"preview.timer.automate.globus.org"},Ae="GROUPS",Te={sandbox:"groups.api.sandbox.globuscs.info",production:"groups.api.globus.org",staging:"groups.api.staging.globuscs.info",integration:"groups.api.integration.globuscs.info",test:"groups.api.test.globuscs.info",preview:"groups.api.preview.globuscs.info"},Oe={ALL:"urn:globus:auth:scope:groups.api.globus.org:all",VIEW_MY:"urn:globus:auth:scope:groups.api.globus.org:view_my_groups_and_membership"},Ee="SEARCH",Se={sandbox:"search.api.sandbox.globuscs.info",production:"search.api.globus.org",staging:"search.api.staging.globuscs.info",integration:"search.api.integration.globuscs.info",test:"search.api.test.globuscs.info",preview:"search.api.preview.globus.org"},Le={ALL:"urn:globus:auth:scope:search.api.globus.org:all",INGEST:"urn:globus:auth:scope:search.api.globus.org:ingest",SEARCH:"urn:globus:auth:scope:search.api.globus.org:search"},Pe="COMPUTE",ke={sandbox:"compute.api.sandbox.globuscs.info",production:"compute.api.globus.org",staging:"compute.api.staging.globuscs.info",integration:"compute.api.integration.globuscs.info",test:"compute.api.test.globuscs.info",preview:"compute.api.preview.globus.org"},Re={ALL:"https://auth.globus.org/scopes/facd7ccc-c5f4-42aa-916b-a0e270e2c2a9/all"},je="AUTH",xe={integration:"auth.integration.globuscs.info",sandbox:"auth.sandbox.globuscs.info",production:"auth.globus.org",test:"auth.test.globuscs.info",staging:"auth.staging.globuscs.info",preview:"auth.preview.globus.org"},Ie={VIEW_IDENTITIES:"urn:globus:auth:scope:auth.globus.org:view_identities"},Ce={[je]:"auth.globus.org",[fe]:"transfer.api.globus.org",[ye]:"flows.api.globus.org",[Ae]:"groups.api.globus.org",[Ee]:"search.api.globus.org",[we]:"524230d7-ea86-4a52-8312-86065a9e0417",[Pe]:"funcx_service"};class $e extends Error{constructor(e,t){super(),this.name="EnvironmentConfigurationError",this.message=`Invalid configuration value provided for ${e} (${t}).`}}function Ue(e){return"object"==typeof e&&null!==e&&"code"in e&&"message"in e}function De(e){return Ue(e)&&"ConsentRequired"===e.code&&"required_scopes"in e&&Array.isArray(e.required_scopes)}const Be=["required_scopes"];function Ne(e){return Object.entries(e.authorization_parameters).reduce(((e,[t,r])=>{if(Be.includes(t)||null==r)return e;let n=r;return Array.isArray(n)?n=n.join(","):"boolean"==typeof r&&(n=n?"true":"false"),Object.assign(Object.assign({},e),{[t]:n})}),{})}function Me(e){return"object"==typeof e&&null!==e&&"authorization_parameters"in e&&"object"==typeof e.authorization_parameters&&null!==e.authorization_parameters}function He(e,t){const r="undefined"!=typeof window?window:process;let n;return n=function(e){return typeof window==typeof e}(r)?r:r.env,e in n?n[e]:t}const Fe={PRODUCTION:"production",PREVIEW:"preview",STAGING:"staging",SANDBOX:"sandbox",INTEGRATION:"integration",TEST:"test"},Ge={[je]:je,[fe]:fe,[ye]:ye,[Ae]:Ae,[Ee]:Ee,[we]:we,[Pe]:Pe},qe={[je]:xe,[fe]:ve,[ye]:me,[Ae]:Te,[Ee]:Se,[we]:_e,[Pe]:ke};function ze(e){var t,r,n,o,i,s;let a=He("GLOBUS_SDK_OPTIONS",{});return"string"==typeof a&&(a=JSON.parse(a)),Object.assign(Object.assign(Object.assign({},a),e),{fetch:Object.assign(Object.assign(Object.assign({},null==a?void 0:a.fetch),null==e?void 0:e.fetch),{options:Object.assign(Object.assign(Object.assign({},null===(t=null==a?void 0:a.fetch)||void 0===t?void 0:t.options),null===(r=null==e?void 0:e.fetch)||void 0===r?void 0:r.options),{headers:Object.assign(Object.assign({},null===(o=null===(n=null==a?void 0:a.fetch)||void 0===n?void 0:n.options)||void 0===o?void 0:o.headers),null===(s=null===(i=null==e?void 0:e.fetch)||void 0===i?void 0:i.options)||void 0===s?void 0:s.headers)})})})}function We(){var e;const t=ze(),r=He("GLOBUS_SDK_ENVIRONMENT",null!==(e=null==t?void 0:t.environment)&&void 0!==e?e:Fe.PRODUCTION);if((null==t?void 0:t.environment)&&r!==t.environment&&de("debug","GLOBUS_SDK_ENVIRONMENT and GLOBUS_SDK_OPTIONS.environment are set to different values. GLOBUS_SDK_ENVIRONMENT will take precedence"),!r||!Object.values(Fe).includes(r))throw new $e("GLOBUS_SDK_ENVIRONMENT",r);return r}function Ve(e,t,r,n){let o;return o="object"==typeof e?new URL(t,e.host):function(e,t="",r=We()){const n=function(e,t=We()){const r=function(e,t=We()){return qe[e][t]}(e,t);return He(`GLOBUS_SDK_SERVICE_URL_${e}`,r?`https://${r}`:void 0)}(e,r);return new URL(t,n)}(e,t,null==n?void 0:n.environment),r&&r.search&&(o.search=function(e){const t=new URLSearchParams;return Array.from(Object.entries(e)).forEach((([e,r])=>{Array.isArray(r)?t.set(e,r.join(",")):void 0!==r&&t.set(e,String(r))})),t.toString()}(r.search)),o.toString()}var Ke,Je=r(945),Ye=r.n(Je);function Xe(e,t,r){var n;const o=ze(r),i=(null===(n=null==o?void 0:o.fetch)||void 0===n?void 0:n.options)||{},s=Object.assign(Object.assign(Object.assign({},se()),null==t?void 0:t.headers),i.headers);if(e.resource_server&&(null==o?void 0:o.manager)){const t=o.manager.tokens.getByResourceServer(e.resource_server);t&&(s.Authorization=`Bearer ${t.access_token}`)}if(e.scope&&(null==o?void 0:o.manager)){const t="string"==typeof e.service?Ce[e.service]:e.service.endpoint_id,r=o.manager.tokens.getByResourceServer(t);r&&(s.Authorization=`Bearer ${r.access_token}`)}let a=null==t?void 0:t.body;!a&&(null==t?void 0:t.payload)&&(a=JSON.stringify(t.payload)),!(null==s?void 0:s["Content-Type"])&&a&&(s["Content-Type"]="application/json");const c=Ve(e.service,e.path,{search:null==t?void 0:t.query},o),u=Object.assign(Object.assign({method:e.method,body:a},i),{headers:s});return(null==i?void 0:i.__callable)?(delete u.__callable,i.__callable.call(this,c,u)):Ye()(c,u)}!function(e){e.POST="POST",e.GET="GET",e.DELETE="DELETE",e.PUT="PUT",e.PATCH="PATCH"}(Ke||(Ke={}));const Qe=function(e,t={},r){return Xe({service:je,scope:Ie.VIEW_IDENTITIES,path:`/identities/${e}`},t,r)},Ze=function(e={},t){return Xe({service:je,scope:Ie.VIEW_IDENTITIES,path:"/identities"},e,t)};function et(e){return Object.assign(Object.assign({},e),{body:(t=e.payload,new URLSearchParams(t)),headers:Object.assign(Object.assign({},(null==e?void 0:e.headers)||{}),{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})});var t}const tt=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for introspect");return Xe({service:je,scope:void 0,path:"/v2/oauth2/token/introspect",method:Ke.POST},et(e),t)},rt=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for revoke");return Xe({service:je,scope:void 0,path:"/v2/oauth2/token/revoke",method:Ke.POST},et(e),t)},nt=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for revoke");return Xe({service:je,scope:void 0,path:"/v2/oauth2/token",method:Ke.POST},et(e),t)},ot=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for validate");return Xe({service:je,scope:void 0,path:"/v2/oauth2/token/validate",method:Ke.POST},et(e),t)},it=function(e,t){return Xe({service:je,scope:void 0,path:"/v2/oauth2/userinfo",method:Ke.GET},e,t)},st=p;function at(){return Ve(je,"/v2/oauth2/authorize")}function ct(){return Ve(je,"/v2/oauth2/token")}function ut(e){return"object"==typeof e&&null!==e&&"access_token"in e}function pt(e){return ut(e)&&null!==e&&"refresh_token"in e}function ht(e){return ut(e)&&null!==e&&"resource_server"in e}var dt,lt=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};class ft{constructor(){dt.set(this,{})}get(e){return void 0!==lt(this,dt,"f")[e]?lt(this,dt,"f")[e]:null}set(e,t){lt(this,dt,"f")[e]="string"!=typeof t?JSON.stringify(t):t}remove(e){delete lt(this,dt,"f")[e]}keys(){return Object.keys(lt(this,dt,"f"))}clear(){!function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(e,r):o?o.value=r:t.set(e,r)}(this,dt,{},"f")}}dt=new WeakMap;var gt,vt=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};class yt{constructor(){gt.set(this,globalThis.localStorage)}get(e){return vt(this,gt,"f").getItem(e)}set(e,t){vt(this,gt,"f").setItem(e,"string"!=typeof t?JSON.stringify(t):t)}keys(){return Object.keys(vt(this,gt,"f"))}remove(e){vt(this,gt,"f").removeItem(e)}clear(){vt(this,gt,"f").clear()}}let mt;function bt(e="memory"){if(!mt){let t;t="localStorage"===e?yt:"memory"===e?ft:e,mt=new t}return mt}gt=new WeakMap;const wt=bt;var _t,At=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},Tt=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r};class Ot{constructor(e){this.name=e,_t.set(this,[])}addListener(e){return At(this,_t,"f").push(e),()=>this.removeListener(e)}removeListener(e){Tt(this,_t,At(this,_t,"f").filter((t=>t!==e)),"f")}clearListeners(){Tt(this,_t,[],"f")}dispatch(e){return t=this,r=void 0,o=function*(){yield Promise.all(At(this,_t,"f").map((t=>t(e))))},new((n=void 0)||(n=Promise))((function(e,i){function s(e){try{c(o.next(e))}catch(e){i(e)}}function a(e){try{c(o.throw(e))}catch(e){i(e)}}function c(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(s,a)}c((o=o.apply(t,r||[])).next())}));var t,r,n,o}}_t=new WeakMap;var Et,St,Lt=r(368),Pt=r.n(Lt),kt=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},Rt=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};class jt{constructor(e){Et.set(this,void 0),St.set(this,{});const{params:t}=e,r=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["params"]);kt(this,Et,new(Pt())(Object.assign({},r)),"f"),kt(this,St,Object.assign({},t),"f")}send(){window.location.replace(Rt(this,Et,"f").authorizeUrl(Rt(this,St,"f")))}getToken(){return e=this,t=arguments,n=function*(e={shouldReplace:!0}){const t=new URL(window.location.href),r=new URLSearchParams(t.search);if(!r.get("code"))return;const n=yield Rt(this,Et,"f").exchangeForAccessToken(t.toString());return sessionStorage.removeItem("pkce_state"),sessionStorage.removeItem("pkce_code_verifier"),e.shouldReplace&&(r.delete("code"),r.delete("state"),t.search=r.toString(),window.location.replace(t)),n},new((r=void 0)||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}));var e,t,r,n}}Et=new WeakMap,St=new WeakMap;var xt,It,Ct,$t,Ut=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};function Dt(e){const t=wt().get(e)||"null";let r=null;try{const e=JSON.parse(t);ut(e)&&(r=e)}catch(e){}return r}class Bt{constructor(e){xt.add(this),It.set(this,void 0),function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(e,r):o?o.value=r:t.set(e,r)}(this,It,e.manager,"f")}get auth(){return Ut(this,xt,"m",$t).call(this,Ge.AUTH)}get transfer(){return Ut(this,xt,"m",$t).call(this,Ge.TRANSFER)}get flows(){return Ut(this,xt,"m",$t).call(this,Ge.FLOWS)}get groups(){return Ut(this,xt,"m",$t).call(this,Ge.GROUPS)}get search(){return Ut(this,xt,"m",$t).call(this,Ge.SEARCH)}get timer(){return Ut(this,xt,"m",$t).call(this,Ge.TIMER)}get compute(){return Ut(this,xt,"m",$t).call(this,Ge.COMPUTE)}gcs(e){return this.getByResourceServer(e)}getByResourceServer(e){return Ut(this,xt,"m",Ct).call(this,e)}getAll(){return wt().keys().reduce(((e,t)=>(t.startsWith(Ut(this,It,"f").storageKeyPrefix)&&e.push(Dt(t)),e)),[]).filter(ut)}}It=new WeakMap,xt=new WeakSet,Ct=function(e){return Dt(`${Ut(this,It,"f").storageKeyPrefix}${e}`)},$t=function(e){var t;const r=null===(t=st.RESOURCE_SERVERS)||void 0===t?void 0:t[e];return Ut(this,xt,"m",Ct).call(this,r)};var Nt,Mt,Ht,Ft,Gt,qt,zt,Wt,Vt,Kt,Jt=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},Yt=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},Xt=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r};const Qt={useRefreshTokens:!1,defaultScopes:"openid profile email",automaticSilentRefresh:!1},Zt={execute:!0,additionalParams:void 0};class er{get authenticated(){return Yt(this,Ht,"f")}set authenticated(e){Xt(this,Ht,e,"f"),Yt(this,Nt,"m",zt).call(this)}constructor(e){var t;if(Nt.add(this),Mt.set(this,void 0),Ht.set(this,!1),this.events={authenticated:new Ot("authenticated"),revoke:new Ot("revoke")},this.waitForSilentRefresh=null,this.addTokenResponse=e=>{var t;wt().set(`${this.configuration.client}:${e.resource_server}`,e),"other_tokens"in e&&(null===(t=e.other_tokens)||void 0===t||t.forEach(this.addTokenResponse)),Yt(this,Nt,"m",Gt).call(this)},bt("localStorage"),!e.client)throw new Error("You must provide a `client` for your application.");const r=!1===e.defaultScopes?"":null!==(t=e.defaultScopes)&&void 0!==t?t:Qt.defaultScopes;this.configuration=Object.assign(Object.assign(Object.assign({},Qt),e),{scopes:[e.scopes?e.scopes:"",r].filter((e=>e.length)).join(" ")}),this.tokens=new Bt({manager:this}),this.configuration.automaticSilentRefresh?this.startSilentRefresh():Yt(this,Nt,"m",qt).call(this)}get storageKeyPrefix(){return`${this.configuration.client}:`}get user(){const e=this.getGlobusAuthToken();return e&&e.id_token?function(e,t){if("string"!=typeof e)throw new le("Invalid token specified: must be a string");t||(t={});const r=!0===t.header?0:1,n=e.split(".")[r];if("string"!=typeof n)throw new le(`Invalid token specified: missing part #${r+1}`);let o;try{o=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r})))}(t)}catch(e){return atob(t)}}(n)}catch(e){throw new le(`Invalid token specified: invalid base64 for part #${r+1} (${e.message})`)}try{return JSON.parse(o)}catch(e){throw new le(`Invalid token specified: invalid json for part #${r+1} (${e.message})`)}}(e.id_token):null}startSilentRefresh(){de("debug",`AuthorizationManager.startSilentRefresh | useRefreshTokens=${this.configuration.useRefreshTokens}`),this.configuration.useRefreshTokens&&Yt(this,Nt,"m",Ft).call(this)}refreshToken(e){return Jt(this,void 0,void 0,(function*(){de("debug",`AuthorizationManager.refreshToken | resource_server=${e.resource_server}`);try{const t=yield(yield nt({payload:{client_id:this.configuration.client,refresh_token:e.refresh_token,grant_type:"refresh_token"}})).json();ht(t)&&this.addTokenResponse(t)}catch(t){de("error",`AuthorizationManager.refreshToken | resource_server=${e.resource_server}`)}}))}hasGlobusAuthToken(){return null!==this.getGlobusAuthToken()}getGlobusAuthToken(){const e=wt().get(`${this.storageKeyPrefix}auth.globus.org`);return e?JSON.parse(e):null}reset(){wt().keys().forEach((e=>{e.startsWith(this.storageKeyPrefix)&&wt().remove(e)})),this.authenticated=!1}login(e={additionalParams:{}}){de("debug","AuthorizationManager.login"),this.reset(),Yt(this,Nt,"m",Vt).call(this,{params:null==e?void 0:e.additionalParams}).send()}handleCodeRedirect(){return Jt(this,arguments,void 0,(function*(e={shouldReplace:!0,additionalParams:{}}){de("debug","AuthorizationManager.handleCodeRedirect");const t=yield Yt(this,Nt,"m",Vt).call(this,{params:null==e?void 0:e.additionalParams}).getToken({shouldReplace:null==e?void 0:e.shouldReplace});ht(t)&&(de("debug",`AuthorizationManager.handleCodeRedirect | response=${JSON.stringify(t)}`),this.addTokenResponse(t))}))}handleErrorResponse(e,t){const r="boolean"==typeof t?Object.assign(Object.assign({},Zt),{execute:t}):Object.assign(Object.assign({},Zt),t);de("debug",`AuthorizationManager.handleErrorResponse | response=${JSON.stringify(e)} execute=${r.execute}`);let n=()=>{};return Me(e)&&(de("debug","AuthorizationManager.handleErrorResponse | error=AuthorizationRequirementsError"),n=()=>this.handleAuthorizationRequirementsError(e,{additionalParams:r.additionalParams})),De(e)&&(de("debug","AuthorizationManager.handleErrorResponse | error=ConsentRequiredError"),n=()=>this.handleConsentRequiredError(e,{additionalParams:r.additionalParams})),"code"in e&&"AuthenticationFailed"===e.code&&(de("debug","AuthorizationManager.handleErrorResponse | error=AuthenticationFailed"),n=()=>this.revoke()),!0===r.execute?n():n}handleAuthorizationRequirementsError(e,t){Xt(this,Mt,Yt(this,Nt,"m",Vt).call(this,{params:Object.assign(Object.assign({prompt:"login"},Ne(e)),null==t?void 0:t.additionalParams)}),"f"),Yt(this,Mt,"f").send()}handleConsentRequiredError(e,t){Xt(this,Mt,Yt(this,Nt,"m",Vt).call(this,{requested_scopes:Yt(this,Nt,"m",Wt).call(this,e.required_scopes.join(" ")),params:Object.assign({},null==t?void 0:t.additionalParams)}),"f"),Yt(this,Mt,"f").send()}revoke(){return Jt(this,void 0,void 0,(function*(){de("debug","AuthorizationManager.revoke");const e=Promise.all(this.tokens.getAll().map(Yt(this,Nt,"m",Kt).bind(this)));this.reset(),yield e,yield this.events.revoke.dispatch()}))}}function tr(e){return new er(e)}Mt=new WeakMap,Ht=new WeakMap,Nt=new WeakSet,Ft=function(){de("debug","AuthorizationManager.#silentRefreshTokens"),this.waitForSilentRefresh=Promise.allSettled(this.tokens.getAll().map((e=>pt(e)?this.refreshToken(e):Promise.resolve()))).then((()=>{Yt(this,Nt,"m",Gt).call(this),this.waitForSilentRefresh=null}))},Gt=function(){de("debug","AuthorizationManager.#checkAuthorizationState"),this.hasGlobusAuthToken()&&(this.authenticated=!0)},qt=function(){return Jt(this,void 0,void 0,(function*(){de("debug","AuthorizationManager.bootstrapFromStorageState"),Yt(this,Nt,"m",Gt).call(this)}))},zt=function(){return Jt(this,void 0,void 0,(function*(){var e;const t=this.authenticated,r=null!==(e=this.getGlobusAuthToken())&&void 0!==e?e:void 0;yield this.events.authenticated.dispatch({isAuthenticated:t,token:r})}))},Wt=function(e){return`${e}${this.configuration.useRefreshTokens?" offline_access":""}`},Vt=function(e){var t;const r=Yt(this,Nt,"m",Wt).call(this,null!==(t=null==e?void 0:e.requested_scopes)&&void 0!==t?t:this.configuration.scopes||"");return new jt(Object.assign({client_id:this.configuration.client,authorization_endpoint:at(),token_endpoint:ct(),redirect_uri:this.configuration.redirect,requested_scopes:r},e))},Kt=function(e){return de("debug",`AuthorizationManager.revokeToken | resource_server=${e.resource_server}`),rt({payload:{client_id:this.configuration.client,token:e.access_token}})};const rr=function(e,t){const r=Object.assign(Object.assign({},e),{query:null==e?void 0:e.query});return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_search"},r,t)};function nr(e){return e===Ke.GET?{}:{"Content-Type":"application/json"}}const or=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/operation/endpoint/${e}/ls`},t,r)},ir=function(e,t,r){const n={payload:Object.assign({DATA_TYPE:"mkdir"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},nr(Ke.POST)),null==t?void 0:t.headers)};return Xe({service:fe,scope:ge.ALL,path:`/v0.10/operation/endpoint/${e}/mkdir`,method:Ke.POST},n,r)},sr=function(e,t,r){const n={payload:Object.assign({DATA_TYPE:"rename"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},nr(Ke.POST)),null==t?void 0:t.headers)};return Xe({service:fe,scope:ge.ALL,path:`/v0.10/operation/endpoint/${e}/rename`,method:Ke.POST},n,r)},ar=function(e,t,r){const n={payload:Object.assign({DATA_TYPE:"symlink"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},nr(Ke.POST)),null==t?void 0:t.headers)};return Xe({service:fe,scope:ge.ALL,path:`/v0.10/operation/endpoint/${e}/symlink`,method:Ke.POST},n,r)},cr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/operation/endpoint/${e}/stat`},t,r)},ur=function(e,t){const r={payload:Object.assign({DATA_TYPE:"delete"},null==e?void 0:e.payload),headers:Object.assign(Object.assign({},nr(Ke.POST)),null==e?void 0:e.headers)};return Xe({service:fe,scope:ge.ALL,path:"/v0.10/delete",method:Ke.POST},r,t)},pr=function(e,t){const r={payload:Object.assign({DATA_TYPE:"transfer"},null==e?void 0:e.payload),headers:Object.assign(Object.assign({},nr(Ke.POST)),null==e?void 0:e.headers)};return Xe({service:fe,scope:ge.ALL,path:"/v0.10/transfer",method:Ke.POST},r,t)},hr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/submission_id"},e,t)},dr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}`},t,r)},lr=function(e,t){return(null==e?void 0:e.payload)&&Object.assign(e.payload,{DATA_TYPE:"shared_endpoint"}),Xe({service:fe,scope:ge.ALL,path:"/v0.10/shared_endpoint",method:Ke.POST},e,t)},fr=function(e,t,r){return(null==t?void 0:t.payload)&&Object.assign(t.payload,{DATA_TYPE:"endpoint"}),Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}`,method:Ke.PUT},t,r)},gr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}`,method:Ke.DELETE},t,r)},vr=function(e={},t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/task_list"},e,t)},yr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}`},t,r)},mr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}`,method:Ke.PUT},t,r)},br=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/cancel`,method:Ke.POST},t,r)},wr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/remove`,method:Ke.POST},t,r)},_r=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/event_list`},t,r)},Ar=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/successful_transfers`},t,r)},Tr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/skipped_errors`},t,r)},Or=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/task/${e}/pause_info`},t,r)},Er=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}/access_list`},t,r)},Sr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}/access`,method:Ke.POST},t,r)},Lr=function({endpoint_xid:e,id:t},r,n){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}/access/${t}`},r,n)},Pr=function({endpoint_xid:e,id:t},r,n){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}/access/${t}`,method:Ke.PUT},r,n)},kr=function({endpoint_xid:e,id:t},r,n){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint/${e}/access/${t}`,method:Ke.DELETE},r,n)},Rr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/bookmark_list"},e,t)},jr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/bookmark",method:Ke.POST},e,t)},xr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/bookmark/${e}`},t,r)},Ir=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/bookmark/${e}`,method:Ke.PUT},t,r)},Cr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/bookmark/${e}`,method:Ke.DELETE},t,r)},$r=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/endpoint/${e}`},t,r)},Ur=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/endpoint/${e}/hosted_endpoint_list`},t,r)},Dr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/endpoint/${e}/access_list`},t,r)},Br=function(e={},t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/monitored_endpoints"},e,t)},Nr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/pause_rule_list"},e,t)},Mr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/pause_rule",method:Ke.POST},e,t)},Hr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/pause_rule/${e}`},t,r)},Fr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/pause_rule/${e}`,method:Ke.PUT},t,r)},Gr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/pause_rule/${e}`,method:Ke.DELETE},t,r)},qr=function(e={},t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/task_list"},e,t)},zr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/task/${e}`},t,r)},Wr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/admin_cancel",method:Ke.POST},e,t)},Vr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/admin_cancel/${e}`,method:Ke.POST},t,r)},Kr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/task/${e}/event_list`},t,r)},Jr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/task/${e}/successful_transfers`},t,r)},Yr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/task/${e}/skipped_errors`},t,r)},Xr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/admin_pause",method:Ke.POST},e,t)},Qr=function(e,t){return Xe({service:fe,scope:ge.ALL,path:"/v0.10/endpoint_manager/admin_resume",method:Ke.POST},e,t)},Zr=function(e,t,r){return Xe({service:fe,scope:ge.ALL,path:`/v0.10/endpoint_manager/task/${e}/pause_info`},t,r)},en=o,tn=function(e,t,r){return Xe({service:Ee,scope:Le.SEARCH,path:`/v1/index/${e}/search`},t,r)},rn=function(e,t,r){return Xe({service:Ee,scope:Le.SEARCH,path:`/v1/index/${e}/search`,method:Ke.POST},t,r)},nn=function(e,t,r){return Xe({service:Ee,scope:Le.SEARCH,path:`/v1/index/${e}/subject`},t,r)},on=function(e,t,r){return Xe({service:Ee,scope:Le.SEARCH,path:`/v1/index/${e}/entry`},t,r)},sn=c,an=function(e,t){return Xe({scope:Oe.ALL,path:"/v2/groups/my_groups",service:Ae},e,t)},cn=function(e,t,r){return Xe({service:Ae,scope:Oe.ALL,path:`/v2/groups/${e}`},t,r)},un=function(e,t,r){return Xe({scope:Oe.ALL,path:`/v2/groups/${e}/policies`,service:Ae},t,r)},pn=function(e,t,r){if(!(null==t?void 0:t.payload))throw new Error("payload is required.");return Xe({service:Ae,scope:Oe.ALL,path:`/v2/groups/${e}`,method:Ke.POST},t,r)},hn=a,dn=function(e,t){return Xe({service:ye,scope:be.VIEW_FLOWS,path:"/flows"},e,t)},ln=function(e,t,r){return Xe({service:ye,scope:be.VIEW_FLOWS,path:`/flows/${e}`},t,r)},fn=function(e,t,r){return Xe({scope:be.MANAGE_FLOWS,service:ye,path:`/flows/${e}`,method:Ke.DELETE},t,r)},gn=function(e,t,r){return Xe({service:ye,scope:be.VIEW_FLOWS,path:`/flows/${e}/run`,method:Ke.POST},t,r)},vn=function(e={},t){return Xe({service:ye,scope:be.RUN_MANAGE,path:"/runs"},e,t)},yn=function(e,t,r){return Xe({service:ye,scope:be.RUN_MANAGE,path:`/runs/${e}/cancel`,method:Ke.POST},t,r)},mn=function(e,t,r){return Xe({service:ye,scope:be.RUN_MANAGE,path:`/runs/${e}/log`},t,r)},bn=i,wn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/collections"},t,r)},_n=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/collections/${t}`},r,n)},An=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/collections/${t}`,method:Ke.DELETE},r,n)},Tn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/collections",method:Ke.POST},t,r)},On=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/collections/${t}`,method:Ke.PUT},r,n)},En=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/collections/${t}`,method:Ke.PATCH},r,n)},Sn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/collections/${t}/owner_string`,method:Ke.PUT},r,n)},Ln=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/collections/${t}/owner_string`,method:Ke.DELETE},r,n)},Pn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/endpoint"},t,r)},kn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/endpoint",method:Ke.PUT},t,r)},Rn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/endpoint",method:Ke.PATCH},t,r)},jn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/endpoint/subscription_id",method:Ke.PUT},t,r)},xn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/endpoint/owner",method:Ke.PUT},t,r)},In=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/endpoint/owner_string",method:Ke.PUT},t,r)},Cn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/endpoint/owner_string",method:Ke.DELETE},t,r)},$n=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:t},r,n)},Un=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:t,method:Ke.DELETE},r,n)},Dn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:t,method:Ke.PUT},r,n)},Bn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/roles"},t,r)},Nn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/roles/${t}`},r,n)},Mn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/roles/${t}`,method:Ke.DELETE},r,n)},Hn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/roles",method:Ke.POST},t,r)},Fn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/storage_gateways"},t,r)},Gn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/storage_gateways/${t}`},r,n)},qn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/storage_gateways/${t}`,method:Ke.DELETE},r,n)},zn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/storage_gateways",method:Ke.POST},t,r)},Wn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/storage_gateways/${t}`,method:Ke.PUT},r,n)},Vn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/storage_gateways/${t}`,method:Ke.PATCH},r,n)},Kn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/user_credentials"},t,r)},Jn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/user_credentials/${t}`},r,n)},Yn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/user_credentials/${t}`,method:Ke.DELETE},r,n)},Xn=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/user_credentials",method:Ke.POST},t,r)},Qn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/user_credentials/${t}`,method:Ke.PUT},r,n)},Zn=function(e,t,r,n){return Xe({service:e,scope:ro(e),path:`/api/user_credentials/${t}`,method:Ke.PATCH},r,n)},eo=function(e,t,r){return Xe({service:e,scope:ro(e),path:"/api/info"},t,r)},to={HIGH_ASSURANCE:"urn:globus:auth:scope:<ENDPOINT_ID>:manage_collections",NON_HIGH_ASSURANCE:"urn:globus:auth:scope:<ENDPOINT_ID>:manage_collections[*https://auth.globus.org/scopes/<MAPPED_COLLECTION_ID>/data_access]"};function ro(e){return to.HIGH_ASSURANCE.replace("<ENDPOINT_ID>",e.endpoint_id)}const no=function(e,t){return Xe({service:we,scope:"https://auth.globus.org/scopes/524230d7-ea86-4a52-8312-86065a9e0417/timer",path:"/v2/timer",method:Ke.POST},e,t)},oo=s,io=function(e,t){return Xe({service:Pe,scope:Re.ALL,path:"/v2/endpoints",method:Ke.GET},e,t)},so=function(e,t,r){return Xe({service:Pe,scope:Re.ALL,path:`/v2/endpoints/${e}`,method:Ke.GET},t,r)},ao=function(e,t,r){return Xe({service:Pe,scope:Re.ALL,path:`/v2/endpoints/${e}/status`},t,r)},co=u,uo={integration:"app.integration.globuscs.info",sandbox:"app.sandbox.globuscs.info",test:"app.test.globuscs.info",staging:"app.staging.globuscs.info",preview:"app.preview.globus.org",production:"app.globus.org"};function po(e=We()){return uo[e]}function ho(e,t){return new URL(e||"",`https://${po(null==t?void 0:t.environment)}`)}const lo={TASK:"/activity/%s/overview",COLLECTION:"/file-manager/collections/%s/overview",ENDPOINT:"/file-manager/collections/%s/overview"};function fo(e,t,r){return ho(lo[e].replace(/%s/g,(null==t?void 0:t.join("/"))||""),r)}})(),globus=n})();
|