@globus/sdk 2.1.0 → 2.2.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/url.d.ts +1 -1
- package/cjs/lib/core/url.d.ts.map +1 -1
- package/cjs/lib/core/url.js.map +1 -1
- package/cjs/lib/services/auth/service/identities.d.ts +1 -1
- package/cjs/lib/services/flows/service/flows.d.ts +2 -2
- package/cjs/lib/services/globus-connect-server/client.d.ts +20 -20
- package/cjs/lib/services/globus-connect-server/service/collections.d.ts +8 -8
- package/cjs/lib/services/globus-connect-server/service/endpoint.d.ts +3 -3
- package/cjs/lib/services/globus-connect-server/service/roles.d.ts +4 -4
- package/cjs/lib/services/globus-connect-server/service/storage-gateways.d.ts +6 -6
- package/cjs/lib/services/globus-connect-server/service/user-credentials.d.ts +6 -6
- package/cjs/lib/services/globus-connect-server/service/versioning.d.ts +1 -1
- package/cjs/lib/services/groups/service/groups.d.ts +1 -1
- package/cjs/lib/services/groups/service/membership.d.ts +1 -1
- package/cjs/lib/services/groups/service/policies.d.ts +1 -1
- package/cjs/lib/services/search/service/entry.d.ts +1 -1
- package/cjs/lib/services/search/service/query.d.ts +2 -2
- package/cjs/lib/services/search/service/subject.d.ts +1 -1
- package/cjs/lib/services/transfer/index.d.ts +2 -0
- package/cjs/lib/services/transfer/index.d.ts.map +1 -1
- package/cjs/lib/services/transfer/index.js +3 -1
- package/cjs/lib/services/transfer/index.js.map +1 -1
- package/cjs/lib/services/transfer/service/access.d.ts +78 -0
- package/cjs/lib/services/transfer/service/access.d.ts.map +1 -0
- package/cjs/lib/services/transfer/service/access.js +59 -0
- package/cjs/lib/services/transfer/service/access.js.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/endpoint.d.ts +54 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/endpoint.d.ts.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/endpoint.js +47 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/endpoint.js.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/index.d.ts +4 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/index.d.ts.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/index.js +8 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/index.js.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/pause-rule.d.ts +60 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/pause-rule.d.ts.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/pause-rule.js +61 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/pause-rule.js.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/task.d.ts +116 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/task.d.ts.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/task.js +110 -0
- package/cjs/lib/services/transfer/service/endpoint-manager/task.js.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint.d.ts +2 -2
- package/cjs/lib/services/transfer/service/file-operations.d.ts +4 -4
- package/cjs/lib/services/transfer/service/task.d.ts +8 -8
- package/esm/lib/core/url.d.ts +1 -1
- package/esm/lib/core/url.d.ts.map +1 -1
- package/esm/lib/core/url.js.map +1 -1
- package/esm/lib/services/auth/service/identities.d.ts +1 -1
- package/esm/lib/services/flows/service/flows.d.ts +2 -2
- package/esm/lib/services/globus-connect-server/client.d.ts +20 -20
- package/esm/lib/services/globus-connect-server/service/collections.d.ts +8 -8
- package/esm/lib/services/globus-connect-server/service/endpoint.d.ts +3 -3
- package/esm/lib/services/globus-connect-server/service/roles.d.ts +4 -4
- package/esm/lib/services/globus-connect-server/service/storage-gateways.d.ts +6 -6
- package/esm/lib/services/globus-connect-server/service/user-credentials.d.ts +6 -6
- package/esm/lib/services/globus-connect-server/service/versioning.d.ts +1 -1
- package/esm/lib/services/groups/service/groups.d.ts +1 -1
- package/esm/lib/services/groups/service/membership.d.ts +1 -1
- package/esm/lib/services/groups/service/policies.d.ts +1 -1
- package/esm/lib/services/search/service/entry.d.ts +1 -1
- package/esm/lib/services/search/service/query.d.ts +2 -2
- package/esm/lib/services/search/service/subject.d.ts +1 -1
- package/esm/lib/services/transfer/index.d.ts +2 -0
- package/esm/lib/services/transfer/index.d.ts.map +1 -1
- package/esm/lib/services/transfer/index.js +2 -0
- package/esm/lib/services/transfer/index.js.map +1 -1
- package/esm/lib/services/transfer/service/access.d.ts +78 -0
- package/esm/lib/services/transfer/service/access.d.ts.map +1 -0
- package/esm/lib/services/transfer/service/access.js +56 -0
- package/esm/lib/services/transfer/service/access.js.map +1 -0
- package/esm/lib/services/transfer/service/endpoint-manager/endpoint.d.ts +54 -0
- package/esm/lib/services/transfer/service/endpoint-manager/endpoint.d.ts.map +1 -0
- package/esm/lib/services/transfer/service/endpoint-manager/endpoint.js +44 -0
- package/esm/lib/services/transfer/service/endpoint-manager/endpoint.js.map +1 -0
- package/esm/lib/services/transfer/service/endpoint-manager/index.d.ts +4 -0
- package/esm/lib/services/transfer/service/endpoint-manager/index.d.ts.map +1 -0
- package/esm/lib/services/transfer/service/endpoint-manager/index.js +4 -0
- package/esm/lib/services/transfer/service/endpoint-manager/index.js.map +1 -0
- package/esm/lib/services/transfer/service/endpoint-manager/pause-rule.d.ts +60 -0
- package/esm/lib/services/transfer/service/endpoint-manager/pause-rule.d.ts.map +1 -0
- package/esm/lib/services/transfer/service/endpoint-manager/pause-rule.js +58 -0
- package/esm/lib/services/transfer/service/endpoint-manager/pause-rule.js.map +1 -0
- package/esm/lib/services/transfer/service/endpoint-manager/task.d.ts +116 -0
- package/esm/lib/services/transfer/service/endpoint-manager/task.d.ts.map +1 -0
- package/esm/lib/services/transfer/service/endpoint-manager/task.js +107 -0
- package/esm/lib/services/transfer/service/endpoint-manager/task.js.map +1 -0
- package/esm/lib/services/transfer/service/endpoint.d.ts +2 -2
- package/esm/lib/services/transfer/service/file-operations.d.ts +4 -4
- package/esm/lib/services/transfer/service/task.d.ts +8 -8
- package/package.json +1 -1
- package/umd/globus.production.js +1 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { HTTP_METHODS, serviceRequest } from '../../../shared.js';
|
|
2
|
+
import { ID, SCOPES } from '../../config.js';
|
|
3
|
+
/**
|
|
4
|
+
* @see https://docs.globus.org/api/transfer/advanced_endpoint_management/#get_tasks
|
|
5
|
+
*/
|
|
6
|
+
export const getAll = function (options = {}, sdkOptions) {
|
|
7
|
+
return serviceRequest({
|
|
8
|
+
service: ID,
|
|
9
|
+
scope: SCOPES.ALL,
|
|
10
|
+
path: `/v0.10/task_list`,
|
|
11
|
+
}, options, sdkOptions);
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @see https://docs.globus.org/api/transfer/advanced_endpoint_management/#get_task
|
|
15
|
+
*/
|
|
16
|
+
export const get = function (task_id, options, sdkOptions) {
|
|
17
|
+
return serviceRequest({
|
|
18
|
+
service: ID,
|
|
19
|
+
scope: SCOPES.ALL,
|
|
20
|
+
path: `/v0.10/endpoint_manager/task/${task_id}`,
|
|
21
|
+
}, options, sdkOptions);
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @see https://docs.globus.org/api/transfer/advanced_endpoint_management/#admin_cancel
|
|
25
|
+
*/
|
|
26
|
+
export const cancel = function (options, sdkOptions) {
|
|
27
|
+
return serviceRequest({
|
|
28
|
+
service: ID,
|
|
29
|
+
scope: SCOPES.ALL,
|
|
30
|
+
path: `/v0.10/endpoint_manager/admin_cancel`,
|
|
31
|
+
method: HTTP_METHODS.POST,
|
|
32
|
+
}, options, sdkOptions);
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @see https://docs.globus.org/api/transfer/advanced_endpoint_management/#get_cancel_status_by_id
|
|
36
|
+
*/
|
|
37
|
+
export const getAdminCancel = function (admin_cancel_id, options, sdkOptions) {
|
|
38
|
+
return serviceRequest({
|
|
39
|
+
service: ID,
|
|
40
|
+
scope: SCOPES.ALL,
|
|
41
|
+
path: `/v0.10/endpoint_manager/admin_cancel/${admin_cancel_id}`,
|
|
42
|
+
method: HTTP_METHODS.POST,
|
|
43
|
+
}, options, sdkOptions);
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @see https://docs.globus.org/api/transfer/advanced_endpoint_management/#get_task_events
|
|
47
|
+
*/
|
|
48
|
+
export const getEventList = function (task_id, options, sdkOptions) {
|
|
49
|
+
return serviceRequest({
|
|
50
|
+
service: ID,
|
|
51
|
+
scope: SCOPES.ALL,
|
|
52
|
+
path: `/v0.10/endpoint_manager/task/${task_id}/event_list`,
|
|
53
|
+
}, options, sdkOptions);
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @see https://docs.globus.org/api/transfer/advanced_endpoint_management/#get_task_successful_transfers_as_admin
|
|
57
|
+
*/
|
|
58
|
+
export const getSuccessfulTransfers = function (task_id, options, sdkOptions) {
|
|
59
|
+
return serviceRequest({
|
|
60
|
+
service: ID,
|
|
61
|
+
scope: SCOPES.ALL,
|
|
62
|
+
path: `/v0.10/endpoint_manager/task/${task_id}/successful_transfers`,
|
|
63
|
+
}, options, sdkOptions);
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @see https://docs.globus.org/api/transfer/advanced_endpoint_management/#get_task_skipped_errors_transfers_as_admin
|
|
67
|
+
*/
|
|
68
|
+
export const getSkippedErrors = function (task_id, options, sdkOptions) {
|
|
69
|
+
return serviceRequest({
|
|
70
|
+
service: ID,
|
|
71
|
+
scope: SCOPES.ALL,
|
|
72
|
+
path: `/v0.10/endpoint_manager/task/${task_id}/skipped_errors`,
|
|
73
|
+
}, options, sdkOptions);
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* @see https://docs.globus.org/api/transfer/advanced_endpoint_management/#pause_tasks_as_admin
|
|
77
|
+
*/
|
|
78
|
+
export const pause = function (options, sdkOptions) {
|
|
79
|
+
return serviceRequest({
|
|
80
|
+
service: ID,
|
|
81
|
+
scope: SCOPES.ALL,
|
|
82
|
+
path: `/v0.10/endpoint_manager/admin_pause`,
|
|
83
|
+
method: HTTP_METHODS.POST,
|
|
84
|
+
}, options, sdkOptions);
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* @see https://docs.globus.org/api/transfer/advanced_endpoint_management/#resume_tasks_as_admin
|
|
88
|
+
*/
|
|
89
|
+
export const resume = function (options = {}, sdkOptions) {
|
|
90
|
+
return serviceRequest({
|
|
91
|
+
service: ID,
|
|
92
|
+
scope: SCOPES.ALL,
|
|
93
|
+
path: `/v0.10/endpoint_manager/admin_resume`,
|
|
94
|
+
method: HTTP_METHODS.POST,
|
|
95
|
+
}, options, sdkOptions);
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* @see https://docs.globus.org/api/transfer/advanced_endpoint_management/#get_task_pause_info_as_admin
|
|
99
|
+
*/
|
|
100
|
+
export const getPauseInfo = function (task_id, options, sdkOptions) {
|
|
101
|
+
return serviceRequest({
|
|
102
|
+
service: ID,
|
|
103
|
+
scope: SCOPES.ALL,
|
|
104
|
+
path: `/v0.10/endpoint_manager/task/${task_id}/pause_info`,
|
|
105
|
+
}, options, sdkOptions);
|
|
106
|
+
};
|
|
107
|
+
//# sourceMappingURL=task.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task.js","sourceRoot":"","sources":["../../../../../../../src/lib/services/transfer/service/endpoint-manager/task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAElE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAU7C;;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,GAAG;QACjB,IAAI,EAAE,kBAAkB;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAWC,CAAC;AAEF;;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,GAAG;QACjB,IAAI,EAAE,gCAAgC,OAAO,EAAE;KAChD,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAOC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,OAAO,EAAE,UAAW;IAClD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,GAAG;QACjB,IAAI,EAAE,sCAAsC;QAC5C,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAMC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,eAAe,EAAE,OAAQ,EAAE,UAAW;IAC5E,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,GAAG;QACjB,IAAI,EAAE,wCAAwC,eAAe,EAAE;QAC/D,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAOC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IAClE,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,GAAG;QACjB,IAAI,EAAE,gCAAgC,OAAO,aAAa;KAC3D,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAOC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IAC5E,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,GAAG;QACjB,IAAI,EAAE,gCAAgC,OAAO,uBAAuB;KACrE,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAOC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IACtE,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,GAAG;QACjB,IAAI,EAAE,gCAAgC,OAAO,iBAAiB;KAC/D,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAOC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,OAAO,EAAE,UAAW;IACjD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,GAAG;QACjB,IAAI,EAAE,qCAAqC;QAC3C,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAMC,CAAC;AAEF;;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,GAAG;QACjB,IAAI,EAAE,sCAAsC;QAC5C,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAMC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,OAAO,EAAE,OAAQ,EAAE,UAAW;IAClE,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,GAAG;QACjB,IAAI,EAAE,gCAAgC,OAAO,aAAa;KAC3D,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAOC,CAAC"}
|
|
@@ -6,7 +6,7 @@ export declare const get: (endpoint_xid: string, options?: ({
|
|
|
6
6
|
payload?: undefined;
|
|
7
7
|
} & {
|
|
8
8
|
query?: {
|
|
9
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
9
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
10
10
|
} | undefined;
|
|
11
11
|
headers?: import("../../../services/types.js").Headers | undefined;
|
|
12
12
|
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -23,7 +23,7 @@ export declare const remove: (endpoint_xid: string, options?: ({
|
|
|
23
23
|
payload?: undefined;
|
|
24
24
|
} & {
|
|
25
25
|
query?: {
|
|
26
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
26
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
27
27
|
} | undefined;
|
|
28
28
|
headers?: import("../../../services/types.js").Headers | undefined;
|
|
29
29
|
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -16,7 +16,7 @@ export declare const ls: (endpoint_xid: string, options?: ({
|
|
|
16
16
|
} | undefined;
|
|
17
17
|
} & {
|
|
18
18
|
query?: {
|
|
19
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
19
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
20
20
|
} | undefined;
|
|
21
21
|
headers?: import("../../types.js").Headers | undefined;
|
|
22
22
|
}) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -30,7 +30,7 @@ export declare const mkdir: (endpoint_xid: string, options: ({
|
|
|
30
30
|
payload: Omit<Transfer['Request']['Mkdir'], 'DATA_TYPE'>;
|
|
31
31
|
} & {
|
|
32
32
|
query?: {
|
|
33
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
33
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
34
34
|
} | undefined;
|
|
35
35
|
headers?: import("../../types.js").Headers | undefined;
|
|
36
36
|
}) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -46,7 +46,7 @@ export declare const rename: (endpoint_xid: string, options: ({
|
|
|
46
46
|
payload: Omit<Transfer['Request']['Rename'], 'DATA_TYPE'>;
|
|
47
47
|
} & {
|
|
48
48
|
query?: {
|
|
49
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
49
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
50
50
|
} | undefined;
|
|
51
51
|
headers?: import("../../types.js").Headers | undefined;
|
|
52
52
|
}) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -60,7 +60,7 @@ export declare const symlink: (endpoint_xid: string, options: ({
|
|
|
60
60
|
payload: Omit<Transfer['Request']['Symlink'], 'DATA_TYPE'>;
|
|
61
61
|
} & {
|
|
62
62
|
query?: {
|
|
63
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
63
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
64
64
|
} | undefined;
|
|
65
65
|
headers?: import("../../types.js").Headers | undefined;
|
|
66
66
|
}) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -19,7 +19,7 @@ export declare const get: (task_id: string, options?: ({
|
|
|
19
19
|
payload?: undefined;
|
|
20
20
|
} & {
|
|
21
21
|
query?: {
|
|
22
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
22
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
23
23
|
} | undefined;
|
|
24
24
|
headers?: import("../../../services/types.js").Headers | undefined;
|
|
25
25
|
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -31,7 +31,7 @@ export declare const update: (task_id: string, options?: ({
|
|
|
31
31
|
payload: Record<string, string>;
|
|
32
32
|
} & {
|
|
33
33
|
query?: {
|
|
34
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
34
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
35
35
|
} | undefined;
|
|
36
36
|
headers?: import("../../../services/types.js").Headers | undefined;
|
|
37
37
|
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -43,7 +43,7 @@ export declare const cancel: (task_id: string, options?: ({
|
|
|
43
43
|
payload?: undefined;
|
|
44
44
|
} & {
|
|
45
45
|
query?: {
|
|
46
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
46
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
47
47
|
} | undefined;
|
|
48
48
|
headers?: import("../../../services/types.js").Headers | undefined;
|
|
49
49
|
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -55,7 +55,7 @@ export declare const remove: (task_id: string, options?: ({
|
|
|
55
55
|
payload?: undefined;
|
|
56
56
|
} & {
|
|
57
57
|
query?: {
|
|
58
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
58
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
59
59
|
} | undefined;
|
|
60
60
|
headers?: import("../../../services/types.js").Headers | undefined;
|
|
61
61
|
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -68,7 +68,7 @@ export declare const getEventList: (task_id: string, options?: ({
|
|
|
68
68
|
payload?: undefined;
|
|
69
69
|
} & {
|
|
70
70
|
query?: {
|
|
71
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
71
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
72
72
|
} | undefined;
|
|
73
73
|
headers?: import("../../../services/types.js").Headers | undefined;
|
|
74
74
|
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -81,7 +81,7 @@ export declare const getSuccessfulTransfers: (task_id: string, options?: ({
|
|
|
81
81
|
payload?: undefined;
|
|
82
82
|
} & {
|
|
83
83
|
query?: {
|
|
84
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
84
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
85
85
|
} | undefined;
|
|
86
86
|
headers?: import("../../../services/types.js").Headers | undefined;
|
|
87
87
|
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -94,7 +94,7 @@ export declare const getSkippedErrors: (task_id: string, options?: ({
|
|
|
94
94
|
payload?: undefined;
|
|
95
95
|
} & {
|
|
96
96
|
query?: {
|
|
97
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
97
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
98
98
|
} | undefined;
|
|
99
99
|
headers?: import("../../../services/types.js").Headers | undefined;
|
|
100
100
|
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
|
@@ -107,7 +107,7 @@ export declare const getPauseInfo: (task_id: string, options?: ({
|
|
|
107
107
|
payload?: undefined;
|
|
108
108
|
} & {
|
|
109
109
|
query?: {
|
|
110
|
-
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
110
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
111
111
|
} | undefined;
|
|
112
112
|
headers?: import("../../../services/types.js").Headers | undefined;
|
|
113
113
|
}) | undefined, sdkOptions?: import("../../../services/types.js").SDKOptions | undefined) => Promise<Response>;
|
package/package.json
CHANGED
package/umd/globus.production.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var globus;(()=>{var e={98:(e,t,r)=>{var o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,n=function(){function e(){this.fetch=!1,this.DOMException=o.DOMException}return e.prototype=o,new e}();!function(e){!function(t){var r=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==r&&r,o="URLSearchParams"in r,n="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 n&&(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 b(){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:o&&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):o&&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,o=f(this);if(o)return o;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),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);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)},n&&(d.prototype[Symbol.iterator]=d.prototype.entries);var m=["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,o,n=(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,n||null==e._bodyInit||(n=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=(o=(r=t.method||this.method||"GET").toUpperCase(),m.indexOf(o)>-1?o:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("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("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(n))}})),t}function O(e,t){if(!(this instanceof O))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})},b.call(w.prototype),b.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},O.error=function(){var e=new O(null,{status:0,statusText:""});return e.type="error",e};var S=[301,302,303,307,308];O.redirect=function(e,t){if(-1===S.indexOf(t))throw new RangeError("Invalid status code");return new O(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 A(e,o){return new Promise((function(n,s){var c=new w(e,o);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(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();t.append(o,n)}})),t)};r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;setTimeout((function(){n(new O(o,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")),!o||"object"!=typeof o.headers||o.headers instanceof d?c.headers.forEach((function(e,t){u.setRequestHeader(t,e)})):Object.getOwnPropertyNames(o.headers).forEach((function(e){u.setRequestHeader(e,h(o.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)}))}A.polyfill=!0,r.fetch||(r.fetch=A,r.Headers=d,r.Request=w,r.Response=O),t.Headers=d,t.Request=w,t.Response=O,t.fetch=A}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var i=o.fetch?o:n;(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},249:function(e,t,r){var o;e.exports=(o=o||function(e,t){var o;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),"undefined"!=typeof self&&self.crypto&&(o=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(o=globalThis.crypto),!o&&"undefined"!=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!==r.g&&r.g.crypto&&(o=r.g.crypto),!o)try{o=r(480)}catch(e){}var n=function(){if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof o.randomBytes)try{return o.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,o=this.sigBytes,n=e.sigBytes;if(this.clamp(),o%4)for(var i=0;i<n;i++){var s=r[i>>>2]>>>24-i%4*8&255;t[o+i>>>2]|=s<<24-(o+i)%4*8}else for(var a=0;a<n;a+=4)t[o+a>>>2]=r[a>>>2];return this.sigBytes+=n,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(n());return new u.init(t,e)}}),p=s.enc={},h=p.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,o=[],n=0;n<r;n++){var i=t[n>>>2]>>>24-n%4*8&255;o.push((i>>>4).toString(16)),o.push((15&i).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o<t;o+=2)r[o>>>3]|=parseInt(e.substr(o,2),16)<<24-o%8*4;return new u.init(r,t/2)}},l=p.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,o=[],n=0;n<r;n++){var i=t[n>>>2]>>>24-n%4*8&255;o.push(String.fromCharCode(i))}return o.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o<t;o++)r[o>>>2]|=(255&e.charCodeAt(o))<<24-o%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,o=this._data,n=o.words,i=o.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(n,h);r=n.splice(0,c),o.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),o)},269:function(e,t,r){var o,n,i;e.exports=(o=r(249),i=(n=o).lib.WordArray,n.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,o=this._map;e.clamp();for(var n=[],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++)n.push(o.charAt(s>>>6*(3-a)&63));var c=o.charAt(64);if(c)for(;n.length%4;)n.push(c);return n.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var n=0;n<r.length;n++)o[r.charCodeAt(n)]=n}var s=r.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,r){for(var o=[],n=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;o[n>>>2]|=a<<24-n%4*8,n++}return i.create(o,n)}(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},433:function(e,t,r){var o;e.exports=(o=r(249),function(){if("function"==typeof ArrayBuffer){var e=o.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,o=[],n=0;n<r;n++)o[n>>>2]|=e[n]<<24-n%4*8;t.call(this,o,r)}else t.apply(this,arguments)};r.prototype=e}}(),o.lib.WordArray)},153:function(e,t,r){var o;e.exports=(o=r(249),function(e){var t=o,r=t.lib,n=r.WordArray,i=r.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),o=2;o<=r;o++)if(!(t%o))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var o=2,n=0;n<64;)t(o)&&(n<8&&(a[n]=r(e.pow(o,.5))),c[n]=r(e.pow(o,1/3)),n++),o++}();var u=[],p=s.SHA256=i.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,o=r[0],n=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 b=o&n^o&i^n&i,m=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>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=n,n=o,o=w+(m+b)|0}r[0]=r[0]+o|0,r[1]=r[1]+n|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,o=8*this._nDataBytes,n=8*t.sigBytes;return r[n>>>5]|=128<<24-n%32,r[14+(n+64>>>9<<4)]=e.floor(o/4294967296),r[15+(n+64>>>9<<4)]=o,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),o.SHA256)},899:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},o.apply(this,arguments)},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(153)),s=n(r(269)),a=n(r(433)),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,o({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,o){return e.error?o({error:e.error}):e.state!==t.getState()?o({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},480:()=>{}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o].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 o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},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 o={};(()=>{"use strict";r.r(o),r.d(o,{auth:()=>h,authorization:()=>l,flows:()=>L,gcs:()=>C,groups:()=>T,search:()=>_,timer:()=>D,transfer:()=>y});var e={};r.r(e),r.d(e,{HOSTS:()=>M,ID:()=>F,SCOPES:()=>G});var t={};r.r(t),r.d(t,{HOSTS:()=>W,ID:()=>q,SCOPES:()=>V});var n={};r.r(n),r.d(n,{HOSTS:()=>Y,ID:()=>z,SCOPES:()=>J});var i={};r.r(i),r.d(i,{HOSTS:()=>X,ID:()=>K,SCOPES:()=>Q});var s={};r.r(s),r.d(s,{HOSTS:()=>ee,ID:()=>Z,SCOPES:()=>te});var a={};r.r(a),r.d(a,{HOSTS:()=>oe,ID:()=>re});var c={};r.r(c),r.d(c,{get:()=>Oe,getAll:()=>Se});var u={};r.r(u),r.d(u,{introspect:()=>Te,revoke:()=>Ee,validate:()=>Pe});var p={};r.r(p),r.d(p,{token:()=>u});var h={};r.r(h),r.d(h,{CONFIG:()=>Le,getAuthorizationEndpoint:()=>je,getTokenEndpoint:()=>Ie,identities:()=>c,oauth2:()=>p});var l={};r.r(l),r.d(l,{PKCEAuthorization:()=>Ne,incremental:()=>$e,pkce:()=>He});var d={};r.r(d),r.d(d,{ls:()=>Ge,mkdir:()=>qe,rename:()=>Ve,symlink:()=>We});var f={};r.r(f),r.d(f,{submissionId:()=>Je,submitDelete:()=>ze,submitTransfer:()=>Ye});var g={};r.r(g),r.d(g,{get:()=>Ke,remove:()=>Xe});var v={};r.r(v),r.d(v,{cancel:()=>tt,get:()=>Ze,getAll:()=>Qe,getEventList:()=>ot,getPauseInfo:()=>st,getSkippedErrors:()=>it,getSuccessfulTransfers:()=>nt,remove:()=>rt,update:()=>et});var y={};r.r(y),r.d(y,{CONFIG:()=>at,endpoint:()=>g,endpointSearch:()=>Fe,fileOperations:()=>d,task:()=>v,taskSubmission:()=>f});var b={};r.r(b),r.d(b,{get:()=>ct,post:()=>ut});var m={};r.r(m),r.d(m,{get:()=>pt});var w={};r.r(w),r.d(w,{get:()=>ht});var _={};r.r(_),r.d(_,{CONFIG:()=>lt,entry:()=>w,query:()=>b,subject:()=>m});var O={};r.r(O),r.d(O,{get:()=>ft,getMyGroups:()=>dt});var S={};r.r(S),r.d(S,{get:()=>gt});var A={};r.r(A),r.d(A,{act:()=>vt});var T={};r.r(T),r.d(T,{CONFIG:()=>yt,groups:()=>O,membership:()=>A,policies:()=>S});var E={};r.r(E),r.d(E,{get:()=>mt,getAll:()=>bt,remove:()=>wt});var P={};r.r(P),r.d(P,{getAll:()=>_t});var L={};r.r(L),r.d(L,{CONFIG:()=>Ot,flows:()=>E,runs:()=>P});var j={};r.r(j),r.d(j,{create:()=>Et,get:()=>At,getAll:()=>St,patch:()=>Lt,remove:()=>Tt,resetOwnerString:()=>It,update:()=>Pt,updateOwnerString:()=>jt});var I={};r.r(I),r.d(I,{get:()=>xt,patch:()=>Rt,update:()=>Ut});var x={};r.r(x),r.d(x,{create:()=>kt,get:()=>Ct,getAll:()=>Bt,remove:()=>Dt});var U={};r.r(U),r.d(U,{create:()=>Ft,get:()=>Ht,getAll:()=>Nt,patch:()=>Gt,remove:()=>$t,update:()=>Mt});var R={};r.r(R),r.d(R,{create:()=>zt,get:()=>Vt,getAll:()=>qt,patch:()=>Jt,remove:()=>Wt,update:()=>Yt});var B={};r.r(B),r.d(B,{info:()=>Kt});var C={};r.r(C),r.d(C,{collections:()=>j,endpoint:()=>I,getRequiredScopes:()=>Qt,roles:()=>x,storageGateways:()=>U,userCredentials:()=>R,versioning:()=>B});var D={};function k(e,t,r,o){if("a"===r&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?o:"a"===r?o.call(e):o?o.value:t.get(e)}function N(e,t,r,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(e,r):n?n.value=r:t.set(e,r),r}r.r(D),r.d(D,{CONFIG:()=>er,create:()=>Zt}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var H=r(899),$=r.n(H);const F="AUTH",M={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"},G={VIEW_IDENTITIES:"urn:globus:auth:scope:auth.globus.org:view_identities"},q="TRANSFER",V={ALL:"urn:globus:auth:scope:transfer.api.globus.org:all"},W={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"},z="FLOWS",Y={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"},J={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"},K="GROUPS",X={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"},Q={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"},Z="SEARCH",ee={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"},te={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"},re="TIMER",oe={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"};class ne extends Error{constructor(e,t){super(),this.name="EnvironmentConfigurationError",this.message=`Invalid configuration value provided for ${e} (${t}).`}}function ie(e,t){const r="undefined"!=typeof window?window:process;let o;return o=function(e){return typeof window==typeof e}(r)?r:r.env,e in o?o[e]:t}const se={PRODUCTION:"production",PREVIEW:"preview",STAGING:"staging",SANDBOX:"sandbox",INTEGRATION:"integration",TEST:"test"};function ae(){const e=ie("GLOBUS_SDK_ENVIRONMENT",se.PRODUCTION);if(!e||!Object.values(se).includes(e))throw new ne("GLOBUS_SDK_ENVIRONMENT",e);return e}const ce={[F]:M,[q]:W,[z]:Y,[K]:X,[Z]:ee,[re]:oe};function ue(e,t,r,o){let n;return n="object"==typeof e?new URL(t,e.host):function(e,t="",r=ae()){const o=function(e,t=ae()){const r=function(e,t){return ce[e][t]}(e,t);return ie(`GLOBUS_SDK_SERVICE_URL_${e}`,r?`https://${r}`:void 0)}(e,r);return new URL(t,o)}(e,t,null==o?void 0:o.environment),r&&r.search&&(n.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)),n.toString()}var pe,he=r(98),le=r.n(he);class de{constructor(){pe.set(this,{})}get(e){return k(this,pe,"f")[e]}set(e,t){k(this,pe,"f")[e]=t}remove(e){delete k(this,pe,"f")[e]}clear(){N(this,pe,{},"f")}}pe=new WeakMap;class fe{get(e){const t=localStorage.getItem(e);return null!==t?JSON.parse(t):null}set(e,t){localStorage.setItem(e,JSON.stringify(t))}remove(e){localStorage.removeItem(e)}clear(){localStorage.clear()}}let ge;function ve(e="memory"){if(!ge){let t;t="localStorage"===e?fe:"memory"===e?de:e,ge=new t}return ge}const ye=ve;function be(e){e.scope.split(" ").forEach((t=>{ye().set(t,e)}))}function me(e){const t=ye().get(e);return t&&function(e){const t=e;return Boolean(t.token_type&&t.access_token)}(t)?`${t.token_type} ${t.access_token}`:null}var we;function _e(e,t,r){var o;const n=function(e){var t,r,o,n,i,s;let a=ie("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===(n=null===(o=null==a?void 0:a.fetch)||void 0===o?void 0:o.options)||void 0===n?void 0:n.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)})})})}(r),i=(null===(o=null==n?void 0:n.fetch)||void 0===o?void 0:o.options)||{},s=Object.assign(Object.assign({},null==t?void 0:t.headers),i.headers);if(e.scope&&!(null==s?void 0:s.Authorization)){const t=me(e.scope);t&&(s.Authorization=t)}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=ue(e.service,e.path,{search:null==t?void 0:t.query},n),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(c,u)):le()(c,u)}!function(e){e.POST="POST",e.GET="GET",e.DELETE="DELETE",e.PUT="PUT",e.PATCH="PATCH"}(we||(we={}));const Oe=function(e,t={},r){return _e({service:F,scope:G.VIEW_IDENTITIES,path:`/identities/${e}`},t,r)},Se=function(e={},t){return _e({service:F,scope:G.VIEW_IDENTITIES,path:"/identities"},e,t)};function Ae(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 Te=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for introspect");return _e({service:F,scope:void 0,path:"/v2/oauth2/token/introspect",method:we.POST},Ae(e),t)},Ee=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for revoke");return _e({service:F,scope:void 0,path:"/v2/oauth2/token/revoke",method:we.POST},Ae(e),t)},Pe=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for validate");return _e({service:F,scope:void 0,path:"/v2/oauth2/token/validate",method:we.POST},Ae(e),t)},Le=e;function je(){return ue(F,"/v2/oauth2/authorize")}function Ie(){return ue(F,"/v2/oauth2/token")}var xe,Ue,Re,Be,Ce,De;let ke;class Ne{constructor(e){if(xe.add(this),Ue.set(this,void 0),Re.set(this,void 0),Be.set(this,void 0),ke=ve("localStorage"),!e.client_id)throw new Error("You must provide a `client_id`.");N(this,Re,Object.assign({client_id:e.client_id,authorization_endpoint:je(),token_endpoint:Ie()},e),"f"),N(this,Ue,k(this,xe,"m",Ce).call(this),"f")}reset(){k(this,xe,"m",De).call(this),ye().clear()}redirect(){this.reset(),window.location.replace(k(this,Ue,"f").authorizeUrl())}handleCodeRedirect(e={removeStateAndReplaceLocation:!0}){return t=this,r=void 0,n=function*(){const t=new URL(window.location.href),r=new URLSearchParams(t.search);if(!r.get("code"))return;const o=yield k(this,Ue,"f").exchangeForAccessToken(t.toString());var n;N(this,Be,o,"f"),be(n=k(this,Be,"f")),"other_tokens"in n&&n.other_tokens.forEach(be),e.removeStateAndReplaceLocation&&(r.delete("code"),r.delete("state"),t.search=r.toString(),window.location.replace(t))},new((o=void 0)||(o=Promise))((function(e,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(t){var r;t.done?e(t.value):(r=t.value,r instanceof o?r:new o((function(e){e(r)}))).then(s,a)}c((n=n.apply(t,r||[])).next())}));var t,r,o,n}hasToken(){return k(this,Re,"f").requested_scopes.split(" ").every((e=>Boolean(me(e))))}revoke(){this.reset()}}function He(e){return new Ne(e)}function $e(e){return new Ne(e)}Ue=new WeakMap,Re=new WeakMap,Be=new WeakMap,xe=new WeakSet,Ce=function(){return new($())(k(this,Re,"f"))},De=function(){sessionStorage.removeItem("pkce_state"),sessionStorage.removeItem("pkce_code_verifier")};const Fe=function(e,t){const r=Object.assign(Object.assign({},e),{query:null==e?void 0:e.query});return _e({service:q,scope:V.ALL,path:"/v0.10/endpoint_search"},r,t)};function Me(e){return e===we.GET?{}:{"Content-Type":"application/json"}}const Ge=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/operation/endpoint/${e}/ls`},t,r)},qe=function(e,t,r){const o={payload:Object.assign({DATA_TYPE:"mkdir"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},Me(we.POST)),null==t?void 0:t.headers)};return _e({service:q,scope:V.ALL,path:`/v0.10/operation/endpoint/${e}/mkdir`,method:we.POST},o,r)},Ve=function(e,t,r){const o={payload:Object.assign({DATA_TYPE:"rename"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},Me(we.POST)),null==t?void 0:t.headers)};return _e({service:q,scope:V.ALL,path:`/v0.10/operation/endpoint/${e}/rename`,method:we.POST},o,r)},We=function(e,t,r){const o={payload:Object.assign({DATA_TYPE:"symlink"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},Me(we.POST)),null==t?void 0:t.headers)};return _e({service:q,scope:V.ALL,path:`/v0.10/operation/endpoint/${e}/symlink`,method:we.POST},o,r)},ze=function(e,t){const r={payload:Object.assign({DATA_TYPE:"delete"},null==e?void 0:e.payload),headers:Object.assign(Object.assign({},Me(we.POST)),null==e?void 0:e.headers)};return _e({service:q,scope:V.ALL,path:"/v0.10/delete",method:we.POST},r,t)},Ye=function(e,t){const r={payload:Object.assign({DATA_TYPE:"transfer"},null==e?void 0:e.payload),headers:Object.assign(Object.assign({},Me(we.POST)),null==e?void 0:e.headers)};return _e({service:q,scope:V.ALL,path:"/v0.10/transfer",method:we.POST},r,t)},Je=function(e,t){return _e({service:q,scope:V.ALL,path:"/v0.10/submission_id"},e,t)},Ke=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/endpoint/${e}`},t,r)},Xe=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/endpoint/${e}`,method:we.DELETE},t,r)},Qe=function(e={},t){return _e({service:q,scope:V.ALL,path:"/v0.10/task_list"},e,t)},Ze=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/task/${e}`},t,r)},et=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/task/${e}`,method:we.PUT},t,r)},tt=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/task/${e}/cancel`,method:we.POST},t,r)},rt=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/task/${e}/remove`,method:we.POST},t,r)},ot=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/task/${e}/event_list`},t,r)},nt=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/task/${e}/successful_transfers`},t,r)},it=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/task/${e}/skipped_errors`},t,r)},st=function(e,t,r){return _e({service:q,scope:V.ALL,path:`/v0.10/task/${e}/pause_info`},t,r)},at=t,ct=function(e,t,r){return _e({service:Z,scope:te.SEARCH,path:`/v1/index/${e}/search`},t,r)},ut=function(e,t,r){return _e({service:Z,scope:te.SEARCH,path:`/v1/index/${e}/search`,method:we.POST},t,r)},pt=function(e,t,r){return _e({service:Z,scope:te.SEARCH,path:`/v1/index/${e}/subject`},t,r)},ht=function(e,t,r){return _e({service:Z,scope:te.SEARCH,path:`/v1/index/${e}/entry`},t,r)},lt=s,dt=function(e,t){return _e({scope:Q.ALL,path:"/v2/groups/my_groups",service:K},e,t)},ft=function(e,t,r){return _e({service:K,scope:Q.ALL,path:`/v2/groups/${e}`},t,r)},gt=function(e,t,r){return _e({scope:Q.ALL,path:`/v2/groups/${e}/policies`,service:K},t,r)},vt=function(e,t,r){if(!(null==t?void 0:t.payload))throw new Error("payload is required.");return _e({service:K,scope:Q.ALL,path:`/v2/groups/${e}`,method:we.POST},t,r)},yt=i,bt=function(e,t){return _e({service:z,scope:J.VIEW_FLOWS,path:"/flows"},e,t)},mt=function(e,t,r){return _e({service:z,scope:J.VIEW_FLOWS,path:`/flows/${e}`},t,r)},wt=function(e,t,r){return _e({scope:J.MANAGE_FLOWS,service:z,path:`/flows/${e}`,method:we.DELETE},t,r)},_t=function(e={},t){return _e({service:z,scope:J.RUN_MANAGE,path:"/runs"},e,t)},Ot=n,St=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/collections"},t,r)},At=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/collections/${t}`},r,o)},Tt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/collections/${t}`,method:we.DELETE},r,o)},Et=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/collections",method:we.POST},t,r)},Pt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/collections/${t}`,method:we.PUT},r,o)},Lt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/collections/${t}`,method:we.PATCH},r,o)},jt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/collections/${t}/owner_string`,method:we.PUT},r,o)},It=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/collections/${t}/owner_string`,method:we.DELETE},r,o)},xt=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/endpoint"},t,r)},Ut=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/endpoint",method:we.PUT},t,r)},Rt=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/endpoint",method:we.PATCH},t,r)},Bt=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/roles"},t,r)},Ct=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/roles/${t}`},r,o)},Dt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/roles/${t}`,method:we.DELETE},r,o)},kt=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/roles",method:we.POST},t,r)},Nt=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/storage_gateways"},t,r)},Ht=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/storage_gateways/${t}`},r,o)},$t=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/storage_gateways/${t}`,method:we.DELETE},r,o)},Ft=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/storage_gateways",method:we.POST},t,r)},Mt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/storage_gateways/${t}`,method:we.PUT},r,o)},Gt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/storage_gateways/${t}`,method:we.PATCH},r,o)},qt=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/user_credentials"},t,r)},Vt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/user_credentials/${t}`},r,o)},Wt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/user_credentials/${t}`,method:we.DELETE},r,o)},zt=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/user_credentials",method:we.POST},t,r)},Yt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/user_credentials/${t}`,method:we.PUT},r,o)},Jt=function(e,t,r,o){return _e({service:e,scope:Qt(e),path:`/api/user_credentials/${t}`,method:we.PATCH},r,o)},Kt=function(e,t,r){return _e({service:e,scope:Qt(e),path:"/api/info"},t,r)},Xt={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 Qt(e){return Xt.HIGH_ASSURANCE.replace("<ENDPOINT_ID>",e.endpoint_id)}const Zt=function(e,t){return _e({service:re,scope:"https://auth.globus.org/scopes/524230d7-ea86-4a52-8312-86065a9e0417/timer",path:"/v2/timer",method:we.POST},e,t)},er=a})(),globus=o})();
|
|
1
|
+
var globus;(()=>{var e={98:(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 d(e){return"string"!=typeof e&&(e=String(e)),e}function h(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 b(){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(w)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(e,t){e=p(e),t=d(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)]=d(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)})),h(e)},l.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},l.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),h(e)},o&&(l.prototype[Symbol.iterator]=l.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(e,t){if(!(this instanceof _))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 _){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(),m.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 w(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)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},b.call(_.prototype),b.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 S=[301,302,303,307,308];A.redirect=function(e,t){if(-1===S.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 _(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,d(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=_,r.Response=A),t.Headers=l,t.Request=_,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},249: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(480)}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||d).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={},d=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)}},h=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(h.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.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 d=0;d<c;d+=s)this._doProcessBlock(o,d);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)},269:function(e,t,r){var n,o,i;e.exports=(n=r(249),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)},433:function(e,t,r){var n;e.exports=(n=r(249),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)},153:function(e,t,r){var n;e.exports=(n=r(249),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],d=r[6],h=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 b=n&o^n&i^o&i,m=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),_=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&p^~a&d)+c[l]+u[l];h=d,d=p,p=a,a=s+_|0,s=i,i=o,o=n,n=_+(m+b)|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]+d|0,r[7]=r[7]+h|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)},899: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(153)),s=o(r(269)),a=o(r(433)),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},480:()=>{}},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:()=>d,authorization:()=>h,flows:()=>R,gcs:()=>H,groups:()=>j,search:()=>E,timer:()=>F,transfer:()=>A});var e={};r.r(e),r.d(e,{HOSTS:()=>z,ID:()=>W,SCOPES:()=>Y});var t={};r.r(t),r.d(t,{HOSTS:()=>X,ID:()=>J,SCOPES:()=>K});var o={};r.r(o),r.d(o,{HOSTS:()=>Z,ID:()=>Q,SCOPES:()=>ee});var i={};r.r(i),r.d(i,{HOSTS:()=>re,ID:()=>te,SCOPES:()=>ne});var s={};r.r(s),r.d(s,{HOSTS:()=>ie,ID:()=>oe,SCOPES:()=>se});var a={};r.r(a),r.d(a,{HOSTS:()=>ce,ID:()=>ae});var c={};r.r(c),r.d(c,{get:()=>Le,getAll:()=>Pe});var u={};r.r(u),r.d(u,{introspect:()=>je,revoke:()=>Ie,validate:()=>Ue});var p={};r.r(p),r.d(p,{token:()=>u});var d={};r.r(d),r.d(d,{CONFIG:()=>Re,getAuthorizationEndpoint:()=>ke,getTokenEndpoint:()=>Ce,identities:()=>c,oauth2:()=>p});var h={};r.r(h),r.d(h,{PKCEAuthorization:()=>Ge,incremental:()=>Ve,pkce:()=>qe});var l={};r.r(l),r.d(l,{ls:()=>Ye,mkdir:()=>Je,rename:()=>Ke,symlink:()=>Xe});var f={};r.r(f),r.d(f,{submissionId:()=>et,submitDelete:()=>Qe,submitTransfer:()=>Ze});var g={};r.r(g),r.d(g,{get:()=>tt,remove:()=>rt});var v={};r.r(v),r.d(v,{cancel:()=>st,get:()=>ot,getAll:()=>nt,getEventList:()=>ct,getPauseInfo:()=>dt,getSkippedErrors:()=>pt,getSuccessfulTransfers:()=>ut,remove:()=>at,update:()=>it});var y={};r.r(y),r.d(y,{create:()=>lt,get:()=>ft,getAll:()=>ht,remove:()=>vt,update:()=>gt});var b={};r.r(b),r.d(b,{get:()=>yt,getAccessList:()=>mt,getHostedEndpoints:()=>bt,getMonitoredEndpoints:()=>_t});var m={};r.r(m),r.d(m,{create:()=>At,get:()=>St,getAll:()=>wt,remove:()=>Tt,update:()=>Ot});var _={};r.r(_),r.d(_,{cancel:()=>Pt,get:()=>Lt,getAdminCancel:()=>xt,getAll:()=>Et,getEventList:()=>jt,getPauseInfo:()=>Ct,getSkippedErrors:()=>Ut,getSuccessfulTransfers:()=>It,pause:()=>Rt,resume:()=>kt});var w={};r.r(w),r.d(w,{endpoint:()=>b,pauseRule:()=>m,task:()=>_});var A={};r.r(A),r.d(A,{CONFIG:()=>Dt,access:()=>y,endpoint:()=>g,endpointManager:()=>w,endpointSearch:()=>We,fileOperations:()=>l,task:()=>v,taskSubmission:()=>f});var S={};r.r(S),r.d(S,{get:()=>Bt,post:()=>$t});var O={};r.r(O),r.d(O,{get:()=>Nt});var T={};r.r(T),r.d(T,{get:()=>Ht});var E={};r.r(E),r.d(E,{CONFIG:()=>Ft,entry:()=>T,query:()=>S,subject:()=>O});var L={};r.r(L),r.d(L,{get:()=>Gt,getMyGroups:()=>Mt});var P={};r.r(P),r.d(P,{get:()=>qt});var x={};r.r(x),r.d(x,{act:()=>Vt});var j={};r.r(j),r.d(j,{CONFIG:()=>Wt,groups:()=>L,membership:()=>x,policies:()=>P});var I={};r.r(I),r.d(I,{get:()=>Yt,getAll:()=>zt,remove:()=>Jt});var U={};r.r(U),r.d(U,{getAll:()=>Kt});var R={};r.r(R),r.d(R,{CONFIG:()=>Xt,flows:()=>I,runs:()=>U});var k={};r.r(k),r.d(k,{create:()=>tr,get:()=>Zt,getAll:()=>Qt,patch:()=>nr,remove:()=>er,resetOwnerString:()=>ir,update:()=>rr,updateOwnerString:()=>or});var C={};r.r(C),r.d(C,{get:()=>sr,patch:()=>cr,update:()=>ar});var D={};r.r(D),r.d(D,{create:()=>hr,get:()=>pr,getAll:()=>ur,remove:()=>dr});var B={};r.r(B),r.d(B,{create:()=>vr,get:()=>fr,getAll:()=>lr,patch:()=>br,remove:()=>gr,update:()=>yr});var $={};r.r($),r.d($,{create:()=>Ar,get:()=>_r,getAll:()=>mr,patch:()=>Or,remove:()=>wr,update:()=>Sr});var N={};r.r(N),r.d(N,{info:()=>Tr});var H={};r.r(H),r.d(H,{collections:()=>k,endpoint:()=>C,getRequiredScopes:()=>Lr,roles:()=>D,storageGateways:()=>B,userCredentials:()=>$,versioning:()=>N});var F={};function M(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 G(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}r.r(F),r.d(F,{CONFIG:()=>xr,create:()=>Pr}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var q=r(899),V=r.n(q);const W="AUTH",z={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"},Y={VIEW_IDENTITIES:"urn:globus:auth:scope:auth.globus.org:view_identities"},J="TRANSFER",K={ALL:"urn:globus:auth:scope:transfer.api.globus.org:all"},X={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"},Q="FLOWS",Z={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"},ee={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"},te="GROUPS",re={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"},ne={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"},oe="SEARCH",ie={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"},se={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"},ae="TIMER",ce={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"};class ue extends Error{constructor(e,t){super(),this.name="EnvironmentConfigurationError",this.message=`Invalid configuration value provided for ${e} (${t}).`}}function pe(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 de={PRODUCTION:"production",PREVIEW:"preview",STAGING:"staging",SANDBOX:"sandbox",INTEGRATION:"integration",TEST:"test"};function he(){const e=pe("GLOBUS_SDK_ENVIRONMENT",de.PRODUCTION);if(!e||!Object.values(de).includes(e))throw new ue("GLOBUS_SDK_ENVIRONMENT",e);return e}const le={[W]:z,[J]:X,[Q]:Z,[te]:re,[oe]:ie,[ae]:ce};function fe(e,t,r,n){let o;return o="object"==typeof e?new URL(t,e.host):function(e,t="",r=he()){const n=function(e,t=he()){const r=function(e,t){return le[e][t]}(e,t);return pe(`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 ge,ve=r(98),ye=r.n(ve);class be{constructor(){ge.set(this,{})}get(e){return M(this,ge,"f")[e]}set(e,t){M(this,ge,"f")[e]=t}remove(e){delete M(this,ge,"f")[e]}clear(){G(this,ge,{},"f")}}ge=new WeakMap;class me{get(e){const t=localStorage.getItem(e);return null!==t?JSON.parse(t):null}set(e,t){localStorage.setItem(e,JSON.stringify(t))}remove(e){localStorage.removeItem(e)}clear(){localStorage.clear()}}let _e;function we(e="memory"){if(!_e){let t;t="localStorage"===e?me:"memory"===e?be:e,_e=new t}return _e}const Ae=we;function Se(e){e.scope.split(" ").forEach((t=>{Ae().set(t,e)}))}function Oe(e){const t=Ae().get(e);return t&&function(e){const t=e;return Boolean(t.token_type&&t.access_token)}(t)?`${t.token_type} ${t.access_token}`:null}var Te;function Ee(e,t,r){var n;const o=function(e){var t,r,n,o,i,s;let a=pe("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)})})})}(r),i=(null===(n=null==o?void 0:o.fetch)||void 0===n?void 0:n.options)||{},s=Object.assign(Object.assign({},null==t?void 0:t.headers),i.headers);if(e.scope&&!(null==s?void 0:s.Authorization)){const t=Oe(e.scope);t&&(s.Authorization=t)}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=fe(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(c,u)):ye()(c,u)}!function(e){e.POST="POST",e.GET="GET",e.DELETE="DELETE",e.PUT="PUT",e.PATCH="PATCH"}(Te||(Te={}));const Le=function(e,t={},r){return Ee({service:W,scope:Y.VIEW_IDENTITIES,path:`/identities/${e}`},t,r)},Pe=function(e={},t){return Ee({service:W,scope:Y.VIEW_IDENTITIES,path:"/identities"},e,t)};function xe(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 je=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for introspect");return Ee({service:W,scope:void 0,path:"/v2/oauth2/token/introspect",method:Te.POST},xe(e),t)},Ie=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for revoke");return Ee({service:W,scope:void 0,path:"/v2/oauth2/token/revoke",method:Te.POST},xe(e),t)},Ue=function(e,t){if(!(null==e?void 0:e.payload))throw new Error("'payload' is required for validate");return Ee({service:W,scope:void 0,path:"/v2/oauth2/token/validate",method:Te.POST},xe(e),t)},Re=e;function ke(){return fe(W,"/v2/oauth2/authorize")}function Ce(){return fe(W,"/v2/oauth2/token")}var De,Be,$e,Ne,He,Fe;let Me;class Ge{constructor(e){if(De.add(this),Be.set(this,void 0),$e.set(this,void 0),Ne.set(this,void 0),Me=we("localStorage"),!e.client_id)throw new Error("You must provide a `client_id`.");G(this,$e,Object.assign({client_id:e.client_id,authorization_endpoint:ke(),token_endpoint:Ce()},e),"f"),G(this,Be,M(this,De,"m",He).call(this),"f")}reset(){M(this,De,"m",Fe).call(this),Ae().clear()}redirect(){this.reset(),window.location.replace(M(this,Be,"f").authorizeUrl())}handleCodeRedirect(e={removeStateAndReplaceLocation:!0}){return t=this,r=void 0,o=function*(){const t=new URL(window.location.href),r=new URLSearchParams(t.search);if(!r.get("code"))return;const n=yield M(this,Be,"f").exchangeForAccessToken(t.toString());var o;G(this,Ne,n,"f"),Se(o=M(this,Ne,"f")),"other_tokens"in o&&o.other_tokens.forEach(Se),e.removeStateAndReplaceLocation&&(r.delete("code"),r.delete("state"),t.search=r.toString(),window.location.replace(t))},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}hasToken(){return M(this,$e,"f").requested_scopes.split(" ").every((e=>Boolean(Oe(e))))}revoke(){this.reset()}}function qe(e){return new Ge(e)}function Ve(e){return new Ge(e)}Be=new WeakMap,$e=new WeakMap,Ne=new WeakMap,De=new WeakSet,He=function(){return new(V())(M(this,$e,"f"))},Fe=function(){sessionStorage.removeItem("pkce_state"),sessionStorage.removeItem("pkce_code_verifier")};const We=function(e,t){const r=Object.assign(Object.assign({},e),{query:null==e?void 0:e.query});return Ee({service:J,scope:K.ALL,path:"/v0.10/endpoint_search"},r,t)};function ze(e){return e===Te.GET?{}:{"Content-Type":"application/json"}}const Ye=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/operation/endpoint/${e}/ls`},t,r)},Je=function(e,t,r){const n={payload:Object.assign({DATA_TYPE:"mkdir"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},ze(Te.POST)),null==t?void 0:t.headers)};return Ee({service:J,scope:K.ALL,path:`/v0.10/operation/endpoint/${e}/mkdir`,method:Te.POST},n,r)},Ke=function(e,t,r){const n={payload:Object.assign({DATA_TYPE:"rename"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},ze(Te.POST)),null==t?void 0:t.headers)};return Ee({service:J,scope:K.ALL,path:`/v0.10/operation/endpoint/${e}/rename`,method:Te.POST},n,r)},Xe=function(e,t,r){const n={payload:Object.assign({DATA_TYPE:"symlink"},null==t?void 0:t.payload),headers:Object.assign(Object.assign({},ze(Te.POST)),null==t?void 0:t.headers)};return Ee({service:J,scope:K.ALL,path:`/v0.10/operation/endpoint/${e}/symlink`,method:Te.POST},n,r)},Qe=function(e,t){const r={payload:Object.assign({DATA_TYPE:"delete"},null==e?void 0:e.payload),headers:Object.assign(Object.assign({},ze(Te.POST)),null==e?void 0:e.headers)};return Ee({service:J,scope:K.ALL,path:"/v0.10/delete",method:Te.POST},r,t)},Ze=function(e,t){const r={payload:Object.assign({DATA_TYPE:"transfer"},null==e?void 0:e.payload),headers:Object.assign(Object.assign({},ze(Te.POST)),null==e?void 0:e.headers)};return Ee({service:J,scope:K.ALL,path:"/v0.10/transfer",method:Te.POST},r,t)},et=function(e,t){return Ee({service:J,scope:K.ALL,path:"/v0.10/submission_id"},e,t)},tt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint/${e}`},t,r)},rt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint/${e}`,method:Te.DELETE},t,r)},nt=function(e={},t){return Ee({service:J,scope:K.ALL,path:"/v0.10/task_list"},e,t)},ot=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/task/${e}`},t,r)},it=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/task/${e}`,method:Te.PUT},t,r)},st=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/task/${e}/cancel`,method:Te.POST},t,r)},at=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/task/${e}/remove`,method:Te.POST},t,r)},ct=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/task/${e}/event_list`},t,r)},ut=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/task/${e}/successful_transfers`},t,r)},pt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/task/${e}/skipped_errors`},t,r)},dt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/task/${e}/pause_info`},t,r)},ht=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint/${e}/access_list`},t,r)},lt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint/${e}/access`,method:Te.POST},t,r)},ft=function({endpoint_xid:e,id:t},r,n){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint/${e}/access/${t}`},r,n)},gt=function({endpoint_xid:e,id:t},r,n){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint/${e}/access/${t}`,method:Te.PUT},r,n)},vt=function({endpoint_xid:e,id:t},r,n){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint/${e}/access/${t}`,method:Te.DELETE},r,n)},yt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/endpoint/${e}`},t,r)},bt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/endpoint/${e}/hosted_endpoint_list`},t,r)},mt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/endpoint/${e}/access_list`},t,r)},_t=function(e={},t){return Ee({service:J,scope:K.ALL,path:"/v0.10/endpoint_manager/monitored_endpoints"},e,t)},wt=function(e,t){return Ee({service:J,scope:K.ALL,path:"/v0.10/endpoint_manager/pause_rule_list"},e,t)},At=function(e,t){return Ee({service:J,scope:K.ALL,path:"/v0.10/endpoint_manager/pause_rule",method:Te.POST},e,t)},St=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/pause_rule/${e}`},t,r)},Ot=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/pause_rule/${e}`,method:Te.PUT},t,r)},Tt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/pause_rule/${e}`,method:Te.DELETE},t,r)},Et=function(e={},t){return Ee({service:J,scope:K.ALL,path:"/v0.10/task_list"},e,t)},Lt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/task/${e}`},t,r)},Pt=function(e,t){return Ee({service:J,scope:K.ALL,path:"/v0.10/endpoint_manager/admin_cancel",method:Te.POST},e,t)},xt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/admin_cancel/${e}`,method:Te.POST},t,r)},jt=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/task/${e}/event_list`},t,r)},It=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/task/${e}/successful_transfers`},t,r)},Ut=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/task/${e}/skipped_errors`},t,r)},Rt=function(e,t){return Ee({service:J,scope:K.ALL,path:"/v0.10/endpoint_manager/admin_pause",method:Te.POST},e,t)},kt=function(e={},t){return Ee({service:J,scope:K.ALL,path:"/v0.10/endpoint_manager/admin_resume",method:Te.POST},e,t)},Ct=function(e,t,r){return Ee({service:J,scope:K.ALL,path:`/v0.10/endpoint_manager/task/${e}/pause_info`},t,r)},Dt=t,Bt=function(e,t,r){return Ee({service:oe,scope:se.SEARCH,path:`/v1/index/${e}/search`},t,r)},$t=function(e,t,r){return Ee({service:oe,scope:se.SEARCH,path:`/v1/index/${e}/search`,method:Te.POST},t,r)},Nt=function(e,t,r){return Ee({service:oe,scope:se.SEARCH,path:`/v1/index/${e}/subject`},t,r)},Ht=function(e,t,r){return Ee({service:oe,scope:se.SEARCH,path:`/v1/index/${e}/entry`},t,r)},Ft=s,Mt=function(e,t){return Ee({scope:ne.ALL,path:"/v2/groups/my_groups",service:te},e,t)},Gt=function(e,t,r){return Ee({service:te,scope:ne.ALL,path:`/v2/groups/${e}`},t,r)},qt=function(e,t,r){return Ee({scope:ne.ALL,path:`/v2/groups/${e}/policies`,service:te},t,r)},Vt=function(e,t,r){if(!(null==t?void 0:t.payload))throw new Error("payload is required.");return Ee({service:te,scope:ne.ALL,path:`/v2/groups/${e}`,method:Te.POST},t,r)},Wt=i,zt=function(e,t){return Ee({service:Q,scope:ee.VIEW_FLOWS,path:"/flows"},e,t)},Yt=function(e,t,r){return Ee({service:Q,scope:ee.VIEW_FLOWS,path:`/flows/${e}`},t,r)},Jt=function(e,t,r){return Ee({scope:ee.MANAGE_FLOWS,service:Q,path:`/flows/${e}`,method:Te.DELETE},t,r)},Kt=function(e={},t){return Ee({service:Q,scope:ee.RUN_MANAGE,path:"/runs"},e,t)},Xt=o,Qt=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/collections"},t,r)},Zt=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/collections/${t}`},r,n)},er=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/collections/${t}`,method:Te.DELETE},r,n)},tr=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/collections",method:Te.POST},t,r)},rr=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/collections/${t}`,method:Te.PUT},r,n)},nr=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/collections/${t}`,method:Te.PATCH},r,n)},or=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/collections/${t}/owner_string`,method:Te.PUT},r,n)},ir=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/collections/${t}/owner_string`,method:Te.DELETE},r,n)},sr=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/endpoint"},t,r)},ar=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/endpoint",method:Te.PUT},t,r)},cr=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/endpoint",method:Te.PATCH},t,r)},ur=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/roles"},t,r)},pr=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/roles/${t}`},r,n)},dr=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/roles/${t}`,method:Te.DELETE},r,n)},hr=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/roles",method:Te.POST},t,r)},lr=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/storage_gateways"},t,r)},fr=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/storage_gateways/${t}`},r,n)},gr=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/storage_gateways/${t}`,method:Te.DELETE},r,n)},vr=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/storage_gateways",method:Te.POST},t,r)},yr=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/storage_gateways/${t}`,method:Te.PUT},r,n)},br=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/storage_gateways/${t}`,method:Te.PATCH},r,n)},mr=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/user_credentials"},t,r)},_r=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/user_credentials/${t}`},r,n)},wr=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/user_credentials/${t}`,method:Te.DELETE},r,n)},Ar=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/user_credentials",method:Te.POST},t,r)},Sr=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/user_credentials/${t}`,method:Te.PUT},r,n)},Or=function(e,t,r,n){return Ee({service:e,scope:Lr(e),path:`/api/user_credentials/${t}`,method:Te.PATCH},r,n)},Tr=function(e,t,r){return Ee({service:e,scope:Lr(e),path:"/api/info"},t,r)},Er={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 Lr(e){return Er.HIGH_ASSURANCE.replace("<ENDPOINT_ID>",e.endpoint_id)}const Pr=function(e,t){return Ee({service:ae,scope:"https://auth.globus.org/scopes/524230d7-ea86-4a52-8312-86065a9e0417/timer",path:"/v2/timer",method:Te.POST},e,t)},xr=a})(),globus=n})();
|