synapse-react-client 4.0.11 → 4.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/SWC.index.d.ts +1 -1
- package/dist/SWC.index.js +1 -1
- package/dist/components/AdaptiveTwoColumnLayout/AdaptiveTwoColumnLayout.d.ts +44 -0
- package/dist/components/AdaptiveTwoColumnLayout/AdaptiveTwoColumnLayout.d.ts.map +1 -0
- package/dist/components/AdaptiveTwoColumnLayout/AdaptiveTwoColumnLayout.js +46 -0
- package/dist/components/AdaptiveTwoColumnLayout/AdaptiveTwoColumnLayout.js.map +1 -0
- package/dist/components/DownloadCart/DownloadCartPage.d.ts.map +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.js +183 -185
- package/dist/components/DownloadCart/DownloadCartPage.js.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.d.ts.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js.map +1 -1
- package/dist/components/DraggableDialog/DraggableDialog.js +21 -21
- package/dist/components/DraggableDialog/DraggableDialog.js.map +1 -1
- package/dist/components/EntityAclEditor/EntityAclEditor.js +8 -8
- package/dist/components/EntityAclEditor/EntityAclEditor.js.map +1 -1
- package/dist/components/EntityAclEditor/InheritanceMessage.d.ts.map +1 -1
- package/dist/components/EntityAclEditor/InheritanceMessage.js +1 -2
- package/dist/components/EntityAclEditor/InheritanceMessage.js.map +1 -1
- package/dist/components/FullTextSearch/FullTextSearch.d.ts.map +1 -1
- package/dist/components/FullTextSearch/FullTextSearch.js +86 -47
- package/dist/components/FullTextSearch/FullTextSearch.js.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.d.ts.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.js +157 -157
- package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
- package/dist/components/HeaderCard.d.ts.map +1 -1
- package/dist/components/HeaderCard.js +131 -130
- package/dist/components/HeaderCard.js.map +1 -1
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.d.ts +4 -1
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.d.ts.map +1 -1
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.js +3 -2
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.js.map +1 -1
- package/dist/components/QueryContext/QueryContext.d.ts +6 -0
- package/dist/components/QueryContext/QueryContext.d.ts.map +1 -1
- package/dist/components/QueryContext/QueryContext.js.map +1 -1
- package/dist/components/QueryVisualizationWrapper/QueryVisualizationWrapper.d.ts.map +1 -1
- package/dist/components/QueryVisualizationWrapper/QueryVisualizationWrapper.js +12 -11
- package/dist/components/QueryVisualizationWrapper/QueryVisualizationWrapper.js.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts +5 -0
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js +32 -29
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js.map +1 -1
- package/dist/components/QueryWrapperPlotNav/UseRowSet.d.ts.map +1 -1
- package/dist/components/QueryWrapperPlotNav/UseRowSet.js +4 -1
- package/dist/components/QueryWrapperPlotNav/UseRowSet.js.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts +59 -0
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts.map +1 -0
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js +174 -0
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js.map +1 -0
- package/dist/components/SearchQueryWrapper/SearchQueryWrapper.d.ts +40 -0
- package/dist/components/SearchQueryWrapper/SearchQueryWrapper.d.ts.map +1 -0
- package/dist/components/SearchQueryWrapper/SearchQueryWrapper.js +100 -0
- package/dist/components/SearchQueryWrapper/SearchQueryWrapper.js.map +1 -0
- package/dist/components/SearchQueryWrapperPlotNav/SearchQueryWrapperPlotNav.d.ts +56 -0
- package/dist/components/SearchQueryWrapperPlotNav/SearchQueryWrapperPlotNav.d.ts.map +1 -0
- package/dist/components/SearchQueryWrapperPlotNav/SearchQueryWrapperPlotNav.js +73 -0
- package/dist/components/SearchQueryWrapperPlotNav/SearchQueryWrapperPlotNav.js.map +1 -0
- package/dist/components/ShareThisPage/ShareThisPage.js +1 -1
- package/dist/components/ShareThisPage/ShareThisPage.js.map +1 -1
- package/dist/components/SynapseChat/GridAgentChat.d.ts.map +1 -1
- package/dist/components/SynapseChat/GridAgentChat.js +20 -14
- package/dist/components/SynapseChat/GridAgentChat.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChat.d.ts +3 -1
- package/dist/components/SynapseChat/SynapseChat.d.ts.map +1 -1
- package/dist/components/SynapseChat/SynapseChat.js +51 -36
- package/dist/components/SynapseChat/SynapseChat.js.map +1 -1
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.css +1 -1
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.js +8 -7
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.js.map +1 -1
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.scss +16 -0
- package/dist/components/SynapseHomepageV2/WordPressNews.d.ts +3 -1
- package/dist/components/SynapseHomepageV2/WordPressNews.d.ts.map +1 -1
- package/dist/components/SynapseHomepageV2/WordPressNews.js +9 -8
- package/dist/components/SynapseHomepageV2/WordPressNews.js.map +1 -1
- package/dist/components/SynapseHomepageV2/WordPressNewsItem.d.ts +2 -1
- package/dist/components/SynapseHomepageV2/WordPressNewsItem.d.ts.map +1 -1
- package/dist/components/SynapseHomepageV2/WordPressNewsItem.js +2 -2
- package/dist/components/SynapseHomepageV2/WordPressNewsItem.js.map +1 -1
- package/dist/components/SynapseTable/SearchV2.d.ts +7 -0
- package/dist/components/SynapseTable/SearchV2.d.ts.map +1 -1
- package/dist/components/SynapseTable/SearchV2.js.map +1 -1
- package/dist/components/SynapseTable/SynapseTableRenderers.d.ts.map +1 -1
- package/dist/components/SynapseTable/SynapseTableRenderers.js +1 -1
- package/dist/components/SynapseTable/SynapseTableRenderers.js.map +1 -1
- package/dist/components/SynapseTable/usePrefetchTableData.d.ts.map +1 -1
- package/dist/components/SynapseTable/usePrefetchTableData.js +6 -5
- package/dist/components/SynapseTable/usePrefetchTableData.js.map +1 -1
- package/dist/components/ToastMessage/ToastMessage.d.ts +1 -1
- package/dist/components/ToastMessage/ToastMessage.d.ts.map +1 -1
- package/dist/components/ToastMessage/ToastMessage.js +2 -2
- package/dist/components/ToastMessage/ToastMessage.js.map +1 -1
- package/dist/components/error/ErrorPage.d.ts +0 -4
- package/dist/components/error/ErrorPage.d.ts.map +1 -1
- package/dist/components/error/ErrorPage.js +25 -30
- package/dist/components/error/ErrorPage.js.map +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +41 -39
- package/dist/components/widgets/query-filter/FacetFilterControls.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/FacetFilterControls.js +2 -2
- package/dist/components/widgets/query-filter/FacetFilterControls.js.map +1 -1
- package/dist/index.js +52 -50
- package/dist/index.js.map +1 -1
- package/dist/mocks/entity/index.d.ts.map +1 -1
- package/dist/mocks/entity/index.js +18 -16
- package/dist/mocks/entity/index.js.map +1 -1
- package/dist/mocks/mockSearchQueryData.d.ts +14 -0
- package/dist/mocks/mockSearchQueryData.d.ts.map +1 -0
- package/dist/mocks/mockSearchQueryData.js +564 -0
- package/dist/mocks/mockSearchQueryData.js.map +1 -0
- package/dist/mocks/msw/handlers/searchQueryHandlers.d.ts +22 -0
- package/dist/mocks/msw/handlers/searchQueryHandlers.d.ts.map +1 -0
- package/dist/mocks/msw/handlers/searchQueryHandlers.js +63 -0
- package/dist/mocks/msw/handlers/searchQueryHandlers.js.map +1 -0
- package/dist/mocks/msw/handlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers.js +9 -7
- package/dist/mocks/msw/handlers.js.map +1 -1
- package/dist/style/components/_cards.scss +15 -0
- package/dist/style/main.css +1 -1
- package/dist/synapse-client/SynapseClient.d.ts +7 -1
- package/dist/synapse-client/SynapseClient.d.ts.map +1 -1
- package/dist/synapse-client/SynapseClient.js +422 -417
- package/dist/synapse-client/SynapseClient.js.map +1 -1
- package/dist/synapse-client/index.js +3 -3
- package/dist/synapse-queries/KeyFactory.d.ts +2 -0
- package/dist/synapse-queries/KeyFactory.d.ts.map +1 -1
- package/dist/synapse-queries/KeyFactory.js +3 -0
- package/dist/synapse-queries/KeyFactory.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/APIConstants.d.ts +2 -0
- package/dist/utils/APIConstants.d.ts.map +1 -1
- package/dist/utils/APIConstants.js +2 -2
- package/dist/utils/APIConstants.js.map +1 -1
- package/dist/utils/functions/calculateFriendlyFileSize.d.ts.map +1 -1
- package/dist/utils/functions/calculateFriendlyFileSize.js +3 -3
- package/dist/utils/functions/calculateFriendlyFileSize.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,325 +1,327 @@
|
|
|
1
1
|
import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { ACCESS_TOKEN_COOKIE_KEY as t, CSRF_TOKEN_STORAGE_KEY as n, DATETIME_UTC_COOKIE_KEY as r, EXPERIMENTAL_MODE_COOKIE as i } from "../utils/SynapseConstants.js";
|
|
3
3
|
import { BackendDestinationEnum as a, getEndpoint as o } from "../utils/functions/getEndpoint.js";
|
|
4
|
-
import { ACCESS_APPROVAL as s, ACCESS_APPROVAL_BY_ID as c, ACCESS_REQUEST_SUBMISSION_SEARCH as l, ACCESS_REQUIREMENT as u, ACCESS_REQUIREMENT_ACL as d, ACCESS_REQUIREMENT_BY_ID as f, ACCESS_REQUIREMENT_DATA_ACCESS_REQUEST_FOR_UPDATE as p, ACCESS_REQUIREMENT_RESEARCH_PROJECT_FOR_UPDATE as m, ACCESS_REQUIREMENT_SEARCH as ee, ACCESS_REQUIREMENT_STATUS as te, ACCESS_REQUIREMENT_WIKI_PAGE_KEY as h, ACTIVITY_FOR_ENTITY as g, AGENT_CHAT_TRACE as ne, AGENT_SESSION as re, AGENT_SESSION_HISTORY as ie, ALIAS_AVAILABLE as ae, ALL_USER_SESSION_TOKENS as oe, APPROVED_SUBMISSION_INFO as se, ASYNCHRONOUS_JOB_TOKEN as ce, BIND_INVITATION_TO_AUTHENTICATED_USER as le, CHANGE_PASSWORD as ue, DATA_ACCESS_REQUEST as de, DATA_ACCESS_REQUEST_SUBMISSION as fe, DATA_ACCESS_SUBMISSION_BY_ID as pe, DOI as me, DOI_ASSOCIATION as he, ENTITY as ge, ENTITY_ACCESS as _e, ENTITY_ACCESS_REQUIREMENTS as ve, ENTITY_ACL as _, ENTITY_ACTIONS_REQUIRED as ye, ENTITY_ALIAS as be, ENTITY_BUNDLE_V2 as xe, ENTITY_EVALUATION as Se, ENTITY_HEADERS as Ce, ENTITY_ID as we, ENTITY_JSON as Te, ENTITY_PATH as Ee, ENTITY_PERMISSIONS as De, ENTITY_SCHEMA_BINDING as Oe, ENTITY_SCHEMA_VALIDATION as ke, ENTITY_VERSION_JSON as Ae, EVALUATION as je, EVALUATION_BY_ID as Me, FAVORITES as
|
|
5
|
-
import
|
|
6
|
-
import { calculateFriendlyFileSize as
|
|
7
|
-
import { dispatchDownloadListChangeEvent as
|
|
8
|
-
import { removeUndefined as
|
|
9
|
-
import { sanitize as
|
|
4
|
+
import { ACCESS_APPROVAL as s, ACCESS_APPROVAL_BY_ID as c, ACCESS_REQUEST_SUBMISSION_SEARCH as l, ACCESS_REQUIREMENT as u, ACCESS_REQUIREMENT_ACL as d, ACCESS_REQUIREMENT_BY_ID as f, ACCESS_REQUIREMENT_DATA_ACCESS_REQUEST_FOR_UPDATE as p, ACCESS_REQUIREMENT_RESEARCH_PROJECT_FOR_UPDATE as m, ACCESS_REQUIREMENT_SEARCH as ee, ACCESS_REQUIREMENT_STATUS as te, ACCESS_REQUIREMENT_WIKI_PAGE_KEY as h, ACTIVITY_FOR_ENTITY as g, AGENT_CHAT_TRACE as ne, AGENT_SESSION as re, AGENT_SESSION_HISTORY as ie, ALIAS_AVAILABLE as ae, ALL_USER_SESSION_TOKENS as oe, APPROVED_SUBMISSION_INFO as se, ASYNCHRONOUS_JOB_TOKEN as ce, BIND_INVITATION_TO_AUTHENTICATED_USER as le, CHANGE_PASSWORD as ue, DATA_ACCESS_REQUEST as de, DATA_ACCESS_REQUEST_SUBMISSION as fe, DATA_ACCESS_SUBMISSION_BY_ID as pe, DOI as me, DOI_ASSOCIATION as he, ENTITY as ge, ENTITY_ACCESS as _e, ENTITY_ACCESS_REQUIREMENTS as ve, ENTITY_ACL as _, ENTITY_ACTIONS_REQUIRED as ye, ENTITY_ALIAS as be, ENTITY_BUNDLE_V2 as xe, ENTITY_EVALUATION as Se, ENTITY_HEADERS as Ce, ENTITY_ID as we, ENTITY_JSON as Te, ENTITY_PATH as Ee, ENTITY_PERMISSIONS as De, ENTITY_SCHEMA_BINDING as Oe, ENTITY_SCHEMA_VALIDATION as ke, ENTITY_VERSION_JSON as Ae, EVALUATION as je, EVALUATION_BY_ID as Me, FAVORITES as v, FILE_HANDLE_BATCH as Ne, FORUM as Pe, FORUM_THREAD as Fe, GET_CHAT_ASYNC as Ie, INVITEE_VERIFICATION_SIGNED_TOKEN as Le, LIST_AGENT_SESSIONS as Re, MEMBERSHIP_INVITATION as ze, NOTIFICATION_EMAIL as Be, PROFILE_IMAGE_PREVIEW as Ve, PROJECTS as He, PROJECT_STORAGE_USAGE as Ue, REGISTERED_SCHEMA_ID as We, REGISTER_ACCOUNT_STEP_1 as Ge, REGISTER_ACCOUNT_STEP_2 as Ke, REPO as y, RESEARCH_PROJECT as qe, SCHEMA_VALIDATION_GET as Je, SCHEMA_VALIDATION_START as Ye, SEARCH_QUERY_ASYNC_GET as Xe, SEARCH_QUERY_ASYNC_START as Ze, SESSION_ACCESS_TOKEN as Qe, START_CHAT_ASYNC as $e, TABLE_QUERY_ASYNC_GET as et, TABLE_QUERY_ASYNC_START as tt, TEAM as nt, TEAM_ID_MEMBER_ID as rt, TEAM_ID_MEMBER_ID_WITH_NOTIFICATION as it, TEAM_MEMBER as at, TEAM_MEMBERS as ot, TERMS_OF_USE as st, TERMS_OF_USE_INFO as ct, TERMS_OF_USE_STATUS as lt, THREAD as b, THREAD_ID as x, TRASHCAN_PURGE as ut, TRASHCAN_RESTORE as dt, TRASHCAN_VIEW as ft, UPDATE_AGENT_SESSION as pt, USER_BUNDLE as mt, USER_GROUP_HEADERS as ht, USER_GROUP_HEADERS_BATCH as gt, USER_ID_BUNDLE as _t, USER_PROFILE as vt, USER_PROFILE_ID as yt, VERIFICATION_SUBMISSION as bt, VERIFICATION_SUBMISSION_STATE as xt, WIKI_OBJECT_TYPE as S, WIKI_PAGE as St, WIKI_PAGE_ID as Ct } from "../utils/APIConstants.js";
|
|
5
|
+
import wt from "../utils/appendFinalQueryParamKey.js";
|
|
6
|
+
import { calculateFriendlyFileSize as Tt } from "../utils/functions/calculateFriendlyFileSize.js";
|
|
7
|
+
import { dispatchDownloadListChangeEvent as Et } from "../utils/functions/dispatchDownloadListChangeEvent.js";
|
|
8
|
+
import { removeUndefined as Dt } from "../utils/functions/ObjectUtils.js";
|
|
9
|
+
import { sanitize as Ot } from "../utils/functions/SanitizeHtmlUtils.js";
|
|
10
10
|
import { delay as C, doDelete as w, doGet as T, doPost as E, doPut as D } from "./HttpClient.js";
|
|
11
|
-
import { allowNotFoundError as O, isOutsideSynapseOrg as
|
|
12
|
-
import { getCookieDomain as
|
|
13
|
-
import { memoize as
|
|
14
|
-
import { Direction as
|
|
15
|
-
import { SynapseClient as
|
|
16
|
-
import
|
|
11
|
+
import { allowNotFoundError as O, isOutsideSynapseOrg as kt, returnIfTwoFactorAuthError as k } from "./SynapseClientUtils.js";
|
|
12
|
+
import { getCookieDomain as At } from "../utils/AppUtils/AppUtils.js";
|
|
13
|
+
import { memoize as jt } from "lodash-es";
|
|
14
|
+
import { Direction as Mt, DiscussionFilter as Nt, DiscussionReplyOrder as Pt, DiscussionThreadOrder as Ft, FileHandleAssociateType as It, ObjectType as A, SortBy as Lt, TYPE_FILTER as Rt } from "@sage-bionetworks/synapse-types";
|
|
15
|
+
import { SynapseClient as zt } from "@sage-bionetworks/synapse-client";
|
|
16
|
+
import { SearchIndexQueryToJSON as Bt } from "@sage-bionetworks/synapse-client/generated/models/SearchIndexQuery";
|
|
17
|
+
import Vt from "spark-md5";
|
|
17
18
|
import j from "universal-cookie";
|
|
18
19
|
//#region src/synapse-client/SynapseClient.ts
|
|
19
|
-
var
|
|
20
|
+
var Ht = /* @__PURE__ */ e({
|
|
20
21
|
SYNAPSE_STORAGE_LOCATION_ID: () => 1,
|
|
21
|
-
acceptFormData: () =>
|
|
22
|
-
addEmailAddressStep1: () =>
|
|
23
|
-
addEmailAddressStep2: () =>
|
|
22
|
+
acceptFormData: () => pi,
|
|
23
|
+
addEmailAddressStep1: () => Oa,
|
|
24
|
+
addEmailAddressStep2: () => ka,
|
|
24
25
|
addFileBatchToDownloadListV2: () => Z,
|
|
25
|
-
addFileToDownloadListV2: () =>
|
|
26
|
-
addFilesToDownloadListV2: () =>
|
|
27
|
-
addTeamMemberAsAuthenticatedUserOrAdmin: () =>
|
|
28
|
-
addTeamMemberWithToken: () =>
|
|
29
|
-
addUserFavorite: () =>
|
|
30
|
-
bindInvitationToAuthenticatedUser: () =>
|
|
31
|
-
bindOAuthProviderToAccount: () =>
|
|
26
|
+
addFileToDownloadListV2: () => Ar,
|
|
27
|
+
addFilesToDownloadListV2: () => Nr,
|
|
28
|
+
addTeamMemberAsAuthenticatedUserOrAdmin: () => er,
|
|
29
|
+
addTeamMemberWithToken: () => $n,
|
|
30
|
+
addUserFavorite: () => Rn,
|
|
31
|
+
bindInvitationToAuthenticatedUser: () => ar,
|
|
32
|
+
bindOAuthProviderToAccount: () => xa,
|
|
32
33
|
calculateMd5: () => q,
|
|
33
|
-
cancelDataAccessRequest: () =>
|
|
34
|
-
changePassword: () =>
|
|
34
|
+
cancelDataAccessRequest: () => oa,
|
|
35
|
+
changePassword: () => Ea,
|
|
35
36
|
checkUploadComplete: () => J,
|
|
36
|
-
clearDownloadListV2: () =>
|
|
37
|
-
complete2FAEnrollment: () =>
|
|
38
|
-
consentToOAuth2Request: () =>
|
|
39
|
-
createACL: () =>
|
|
40
|
-
createAccessApproval: () =>
|
|
41
|
-
createAccessRequirement: () =>
|
|
42
|
-
createAccessRequirementAcl: () =>
|
|
43
|
-
createAgentSession: () =>
|
|
44
|
-
createColumnModels: () =>
|
|
37
|
+
clearDownloadListV2: () => Yi,
|
|
38
|
+
complete2FAEnrollment: () => ln,
|
|
39
|
+
consentToOAuth2Request: () => ri,
|
|
40
|
+
createACL: () => Pr,
|
|
41
|
+
createAccessApproval: () => ji,
|
|
42
|
+
createAccessRequirement: () => bi,
|
|
43
|
+
createAccessRequirementAcl: () => wi,
|
|
44
|
+
createAgentSession: () => Lo,
|
|
45
|
+
createColumnModels: () => jo,
|
|
45
46
|
createEntity: () => L,
|
|
46
|
-
createEntityACL: () =>
|
|
47
|
-
createEvaluation: () =>
|
|
48
|
-
createEvaluationRound: () =>
|
|
49
|
-
createFormData: () =>
|
|
50
|
-
createFormGroup: () =>
|
|
51
|
-
createLockAccessRequirement: () =>
|
|
52
|
-
createManifestFromDownloadListV2: () =>
|
|
53
|
-
createMembershipInvitation: () =>
|
|
54
|
-
createMembershipRequest: () =>
|
|
55
|
-
createOAuthClient: () =>
|
|
56
|
-
createOAuthClientSecret: () =>
|
|
57
|
-
createPackageFromDownloadListV2: () =>
|
|
58
|
-
createPersonalAccessToken: () =>
|
|
59
|
-
createProfileVerificationSubmission: () =>
|
|
60
|
-
createProject: () =>
|
|
61
|
-
createRecoveryCodes: () =>
|
|
62
|
-
createTableCsvForDownload: () =>
|
|
63
|
-
createTablePfbForDownload: () =>
|
|
64
|
-
createTeam: () =>
|
|
65
|
-
createWikiPage: () =>
|
|
66
|
-
deleteAccessRequirementAcl: () =>
|
|
67
|
-
deleteAllSessionAccessTokens: () =>
|
|
68
|
-
deleteDownloadList: () =>
|
|
69
|
-
deleteDownloadListFiles: () =>
|
|
70
|
-
deleteEmail: () =>
|
|
71
|
-
deleteEntity: () =>
|
|
72
|
-
deleteEntityACL: () =>
|
|
73
|
-
deleteEvaluation: () =>
|
|
74
|
-
deleteEvaluationRound: () =>
|
|
75
|
-
deleteFormData: () =>
|
|
76
|
-
deleteMemberFromTeam: () =>
|
|
77
|
-
deleteOAuthClient: () =>
|
|
78
|
-
deletePersonalAccessToken: () =>
|
|
79
|
-
deleteReply: () =>
|
|
47
|
+
createEntityACL: () => An,
|
|
48
|
+
createEvaluation: () => zr,
|
|
49
|
+
createEvaluationRound: () => Ur,
|
|
50
|
+
createFormData: () => si,
|
|
51
|
+
createFormGroup: () => ii,
|
|
52
|
+
createLockAccessRequirement: () => ki,
|
|
53
|
+
createManifestFromDownloadListV2: () => Mr,
|
|
54
|
+
createMembershipInvitation: () => nr,
|
|
55
|
+
createMembershipRequest: () => cr,
|
|
56
|
+
createOAuthClient: () => Zr,
|
|
57
|
+
createOAuthClientSecret: () => ti,
|
|
58
|
+
createPackageFromDownloadListV2: () => jr,
|
|
59
|
+
createPersonalAccessToken: () => Li,
|
|
60
|
+
createProfileVerificationSubmission: () => wa,
|
|
61
|
+
createProject: () => pn,
|
|
62
|
+
createRecoveryCodes: () => un,
|
|
63
|
+
createTableCsvForDownload: () => Yt,
|
|
64
|
+
createTablePfbForDownload: () => Xt,
|
|
65
|
+
createTeam: () => Yn,
|
|
66
|
+
createWikiPage: () => yr,
|
|
67
|
+
deleteAccessRequirementAcl: () => Ci,
|
|
68
|
+
deleteAllSessionAccessTokens: () => wr,
|
|
69
|
+
deleteDownloadList: () => Fi,
|
|
70
|
+
deleteDownloadListFiles: () => Pi,
|
|
71
|
+
deleteEmail: () => Aa,
|
|
72
|
+
deleteEntity: () => Pn,
|
|
73
|
+
deleteEntityACL: () => Mn,
|
|
74
|
+
deleteEvaluation: () => Br,
|
|
75
|
+
deleteEvaluationRound: () => Gr,
|
|
76
|
+
deleteFormData: () => li,
|
|
77
|
+
deleteMemberFromTeam: () => lr,
|
|
78
|
+
deleteOAuthClient: () => Qr,
|
|
79
|
+
deletePersonalAccessToken: () => zi,
|
|
80
|
+
deleteReply: () => Ia,
|
|
80
81
|
deleteSessionAccessToken: () => G,
|
|
81
|
-
deleteSubscription: () =>
|
|
82
|
-
deleteThread: () =>
|
|
83
|
-
disableTwoFactorAuth: () =>
|
|
84
|
-
disableTwoFactorAuthForCurrentUser: () =>
|
|
85
|
-
forumSearch: () =>
|
|
86
|
-
getAccessApproval: () =>
|
|
87
|
-
getAccessRequirement: () =>
|
|
88
|
-
getAccessRequirementAcl: () =>
|
|
89
|
-
getAccessRequirementById: () =>
|
|
90
|
-
getAccessRequirementStatus: () =>
|
|
82
|
+
deleteSubscription: () => bo,
|
|
83
|
+
deleteThread: () => Ka,
|
|
84
|
+
disableTwoFactorAuth: () => fn,
|
|
85
|
+
disableTwoFactorAuthForCurrentUser: () => sn,
|
|
86
|
+
forumSearch: () => Za,
|
|
87
|
+
getAccessApproval: () => Ai,
|
|
88
|
+
getAccessRequirement: () => vi,
|
|
89
|
+
getAccessRequirementAcl: () => Si,
|
|
90
|
+
getAccessRequirementById: () => yi,
|
|
91
|
+
getAccessRequirementStatus: () => Di,
|
|
91
92
|
getAccessTokenFromCookie: () => W,
|
|
92
|
-
getActivityForEntity: () =>
|
|
93
|
-
getActualFileHandleByIdURL: () =>
|
|
94
|
-
getAgentChatAsyncJobResults: () =>
|
|
95
|
-
getAllAccessRequirements: () =>
|
|
96
|
-
getAllChallengeTeams: () =>
|
|
97
|
-
getAllDownloadListActionsRequired: () =>
|
|
98
|
-
getAllEntityEvaluations: () =>
|
|
99
|
-
getAllModerators: () =>
|
|
93
|
+
getActivityForEntity: () => no,
|
|
94
|
+
getActualFileHandleByIdURL: () => Zt,
|
|
95
|
+
getAgentChatAsyncJobResults: () => Bo,
|
|
96
|
+
getAllAccessRequirements: () => Oi,
|
|
97
|
+
getAllChallengeTeams: () => Wn,
|
|
98
|
+
getAllDownloadListActionsRequired: () => $i,
|
|
99
|
+
getAllEntityEvaluations: () => Ui,
|
|
100
|
+
getAllModerators: () => Ya,
|
|
100
101
|
getAllOfNextPageTokenPaginatedService: () => $,
|
|
101
102
|
getAllOfPaginatedService: () => Q,
|
|
102
|
-
getAllOpenMembershipInvitationsForUser: () =>
|
|
103
|
-
getAllSubscriptions: () =>
|
|
104
|
-
getAllSynapseUserGeoData: () =>
|
|
105
|
-
getAllUserFavorites: () =>
|
|
106
|
-
getAnnotationColumnModels: () =>
|
|
107
|
-
getApprovedSubmissionInfo: () =>
|
|
103
|
+
getAllOpenMembershipInvitationsForUser: () => tr,
|
|
104
|
+
getAllSubscriptions: () => go,
|
|
105
|
+
getAllSynapseUserGeoData: () => mo,
|
|
106
|
+
getAllUserFavorites: () => Ln,
|
|
107
|
+
getAnnotationColumnModels: () => No,
|
|
108
|
+
getApprovedSubmissionInfo: () => to,
|
|
108
109
|
getAsyncResultBodyFromJobId: () => F,
|
|
109
110
|
getAsyncResultFromJobId: () => P,
|
|
110
|
-
getAuthenticatedOn: () =>
|
|
111
|
-
getAvailableFilesToDownload: () =>
|
|
112
|
-
getBulkFiles: () =>
|
|
113
|
-
getCertifyQuiz: () =>
|
|
114
|
-
getChallengeTeams: () =>
|
|
115
|
-
getChatAgentTraceEvents: () =>
|
|
116
|
-
getCurrentUserTwoFactorEnrollmentStatus: () =>
|
|
117
|
-
getDOI: () =>
|
|
118
|
-
getDOIAssociation: () =>
|
|
119
|
-
getDataAccessRequestForUpdate: () =>
|
|
120
|
-
getDefaultColumnModels: () =>
|
|
121
|
-
getDefaultUploadDestination: () =>
|
|
122
|
-
getDockerTag: () =>
|
|
123
|
-
getDownloadList: () =>
|
|
124
|
-
getDownloadListActionsRequired: () =>
|
|
125
|
-
getDownloadListStatistics: () =>
|
|
126
|
-
getDownloadOrder: () =>
|
|
127
|
-
getEntity: () =>
|
|
128
|
-
getEntityACL: () =>
|
|
129
|
-
getEntityAlias: () =>
|
|
130
|
-
getEntityBundleV2: () =>
|
|
131
|
-
getEntityChallenge: () =>
|
|
132
|
-
getEntityChildren: () =>
|
|
133
|
-
getEntityDownloadActionsRequired: () =>
|
|
134
|
-
getEntityHeader: () =>
|
|
111
|
+
getAuthenticatedOn: () => ni,
|
|
112
|
+
getAvailableFilesToDownload: () => Xi,
|
|
113
|
+
getBulkFiles: () => Tn,
|
|
114
|
+
getCertifyQuiz: () => so,
|
|
115
|
+
getChallengeTeams: () => Un,
|
|
116
|
+
getChatAgentTraceEvents: () => Ho,
|
|
117
|
+
getCurrentUserTwoFactorEnrollmentStatus: () => on,
|
|
118
|
+
getDOI: () => To,
|
|
119
|
+
getDOIAssociation: () => wo,
|
|
120
|
+
getDataAccessRequestForUpdate: () => ra,
|
|
121
|
+
getDefaultColumnModels: () => Mo,
|
|
122
|
+
getDefaultUploadDestination: () => So,
|
|
123
|
+
getDockerTag: () => ko,
|
|
124
|
+
getDownloadList: () => Mi,
|
|
125
|
+
getDownloadListActionsRequired: () => Qi,
|
|
126
|
+
getDownloadListStatistics: () => Zi,
|
|
127
|
+
getDownloadOrder: () => Ni,
|
|
128
|
+
getEntity: () => En,
|
|
129
|
+
getEntityACL: () => Hi,
|
|
130
|
+
getEntityAlias: () => On,
|
|
131
|
+
getEntityBundleV2: () => Fn,
|
|
132
|
+
getEntityChallenge: () => Jn,
|
|
133
|
+
getEntityChildren: () => Cn,
|
|
134
|
+
getEntityDownloadActionsRequired: () => Oo,
|
|
135
|
+
getEntityHeader: () => kn,
|
|
135
136
|
getEntityHeaders: () => B,
|
|
136
|
-
getEntityHeadersByIds: () =>
|
|
137
|
-
getEntityJson: () =>
|
|
138
|
-
getEntityPath: () =>
|
|
139
|
-
getEntityPermissions: () =>
|
|
140
|
-
getEntityVersions: () =>
|
|
141
|
-
getEntityWiki: () =>
|
|
142
|
-
getEvaluation: () =>
|
|
143
|
-
getEvaluationPermissions: () =>
|
|
144
|
-
getEvaluationRound: () =>
|
|
145
|
-
getEvaluationRoundsList: () =>
|
|
146
|
-
getEvaluationSubmissions: () =>
|
|
147
|
-
getEvaluations: () =>
|
|
148
|
-
getFeatureFlags: () =>
|
|
137
|
+
getEntityHeadersByIds: () => Dn,
|
|
138
|
+
getEntityJson: () => ma,
|
|
139
|
+
getEntityPath: () => Gi,
|
|
140
|
+
getEntityPermissions: () => Wi,
|
|
141
|
+
getEntityVersions: () => Ki,
|
|
142
|
+
getEntityWiki: () => In,
|
|
143
|
+
getEvaluation: () => Lr,
|
|
144
|
+
getEvaluationPermissions: () => Ir,
|
|
145
|
+
getEvaluationRound: () => Vr,
|
|
146
|
+
getEvaluationRoundsList: () => Hr,
|
|
147
|
+
getEvaluationSubmissions: () => Kr,
|
|
148
|
+
getEvaluations: () => xn,
|
|
149
|
+
getFeatureFlags: () => Do,
|
|
149
150
|
getFileHandleById: () => M,
|
|
150
151
|
getFileHandleByIdURL: () => N,
|
|
151
152
|
getFileHandleContent: () => X,
|
|
152
|
-
getFileHandleContentFromID: () =>
|
|
153
|
-
getFileResult: () =>
|
|
153
|
+
getFileHandleContentFromID: () => Or,
|
|
154
|
+
getFileResult: () => kr,
|
|
154
155
|
getFiles: () => z,
|
|
155
|
-
getFormACL: () =>
|
|
156
|
-
getForum: () =>
|
|
157
|
-
getForumMetadata: () =>
|
|
158
|
-
getForumThreads: () =>
|
|
159
|
-
getFullQueryTableResults: () =>
|
|
160
|
-
getGoogleMapsApiKey: () =>
|
|
161
|
-
getGroupHeadersBatch: () =>
|
|
162
|
-
getInviteeVerificationSignedToken: () =>
|
|
163
|
-
getIsUserMemberOfTeam: () =>
|
|
164
|
-
getItemsInTrashCan: () =>
|
|
165
|
-
getMembershipInvitation: () =>
|
|
166
|
-
getMembershipStatus: () =>
|
|
167
|
-
getModerators: () =>
|
|
168
|
-
getMyProjects: () =>
|
|
169
|
-
getMyUserBundle: () =>
|
|
170
|
-
getNotificationEmail: () =>
|
|
171
|
-
getOAuth2: () =>
|
|
172
|
-
getOAuth2Client: () =>
|
|
173
|
-
getOAuth2RequestDescription: () =>
|
|
156
|
+
getFormACL: () => ai,
|
|
157
|
+
getForum: () => Ma,
|
|
158
|
+
getForumMetadata: () => Xa,
|
|
159
|
+
getForumThreads: () => Qa,
|
|
160
|
+
getFullQueryTableResults: () => en,
|
|
161
|
+
getGoogleMapsApiKey: () => po,
|
|
162
|
+
getGroupHeadersBatch: () => bn,
|
|
163
|
+
getInviteeVerificationSignedToken: () => ir,
|
|
164
|
+
getIsUserMemberOfTeam: () => or,
|
|
165
|
+
getItemsInTrashCan: () => io,
|
|
166
|
+
getMembershipInvitation: () => rr,
|
|
167
|
+
getMembershipStatus: () => sr,
|
|
168
|
+
getModerators: () => Ja,
|
|
169
|
+
getMyProjects: () => Bi,
|
|
170
|
+
getMyUserBundle: () => gn,
|
|
171
|
+
getNotificationEmail: () => ga,
|
|
172
|
+
getOAuth2: () => Xr,
|
|
173
|
+
getOAuth2Client: () => Yr,
|
|
174
|
+
getOAuth2RequestDescription: () => qr,
|
|
174
175
|
getOpenMembershipInvitationsForUser: () => H,
|
|
175
|
-
getPassingRecord: () =>
|
|
176
|
-
getPersonalAccessTokenRecords: () =>
|
|
177
|
-
getPortalFileHandleServletUrl: () =>
|
|
178
|
-
getPresignedUrlForWikiAttachment: () =>
|
|
179
|
-
getPrincipalAliasRequest: () =>
|
|
180
|
-
getProfilePicPreviewPresignedUrl: () =>
|
|
181
|
-
getProjectStatistics: () =>
|
|
182
|
-
getProjectStorageUsage: () =>
|
|
183
|
-
getQueryTableAsyncJobResults: () =>
|
|
176
|
+
getPassingRecord: () => Vn,
|
|
177
|
+
getPersonalAccessTokenRecords: () => Ri,
|
|
178
|
+
getPortalFileHandleServletUrl: () => Eo,
|
|
179
|
+
getPresignedUrlForWikiAttachment: () => _r,
|
|
180
|
+
getPrincipalAliasRequest: () => Cr,
|
|
181
|
+
getProfilePicPreviewPresignedUrl: () => ro,
|
|
182
|
+
getProjectStatistics: () => hi,
|
|
183
|
+
getProjectStorageUsage: () => Go,
|
|
184
|
+
getQueryTableAsyncJobResults: () => Qt,
|
|
184
185
|
getQueryTableResults: () => I,
|
|
185
|
-
getReplies: () =>
|
|
186
|
-
getReply: () =>
|
|
187
|
-
getReplyMessageUrl: () =>
|
|
188
|
-
getResearchProject: () =>
|
|
189
|
-
getRestrictionInformation: () =>
|
|
190
|
-
getRestrictionInformationBatch: () =>
|
|
191
|
-
getRootURL: () =>
|
|
192
|
-
getRootWikiPageKey: () =>
|
|
193
|
-
getSchema: () =>
|
|
194
|
-
getSchemaBinding: () =>
|
|
195
|
-
getSchemaValidationResults: () =>
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
186
|
+
getReplies: () => La,
|
|
187
|
+
getReply: () => Na,
|
|
188
|
+
getReplyMessageUrl: () => Ra,
|
|
189
|
+
getResearchProject: () => na,
|
|
190
|
+
getRestrictionInformation: () => gi,
|
|
191
|
+
getRestrictionInformationBatch: () => _i,
|
|
192
|
+
getRootURL: () => Kt,
|
|
193
|
+
getRootWikiPageKey: () => mr,
|
|
194
|
+
getSchema: () => da,
|
|
195
|
+
getSchemaBinding: () => la,
|
|
196
|
+
getSchemaValidationResults: () => ua,
|
|
197
|
+
getSearchQueryAsyncJobResults: () => $t,
|
|
198
|
+
getSessionHistory: () => Vo,
|
|
199
|
+
getSubjects: () => Ao,
|
|
200
|
+
getSubmissionById: () => sa,
|
|
201
|
+
getSubmissionEligibility: () => Kn,
|
|
202
|
+
getSubmissionTeams: () => Gn,
|
|
203
|
+
getSubscribers: () => vo,
|
|
204
|
+
getSubscription: () => _o,
|
|
205
|
+
getSynapseTeamGeoData: () => ho,
|
|
206
|
+
getTeam: () => ur,
|
|
207
|
+
getTeamAccessRequirements: () => Zn,
|
|
208
|
+
getTeamList: () => dr,
|
|
209
|
+
getTeamMembers: () => Qn,
|
|
210
|
+
getTermsOfServiceInfo: () => Uo,
|
|
211
|
+
getTermsOfServiceStatus: () => Wo,
|
|
212
|
+
getThread: () => Va,
|
|
213
|
+
getThreadMessageUrl: () => Ha,
|
|
214
|
+
getUploadDestinationForStorageLocation: () => Co,
|
|
215
|
+
getUseUtcTimeFromCookie: () => Sr,
|
|
216
|
+
getUserBundle: () => hn,
|
|
217
|
+
getUserChallenges: () => Bn,
|
|
216
218
|
getUserFavorites: () => V,
|
|
217
|
-
getUserGroupHeaders: () =>
|
|
219
|
+
getUserGroupHeaders: () => vn,
|
|
218
220
|
getUserProfile: () => R,
|
|
219
|
-
getUserProfileById: () =>
|
|
220
|
-
getUserProfiles: () =>
|
|
221
|
-
getUserProjects: () =>
|
|
222
|
-
getUserTeamList: () =>
|
|
223
|
-
getValidationSchema: () =>
|
|
224
|
-
getVersion: () =>
|
|
225
|
-
getWikiAttachmentsFromEntity: () =>
|
|
226
|
-
getWikiAttachmentsFromEvaluation: () =>
|
|
227
|
-
getWikiPage: () =>
|
|
228
|
-
getWikiPageKeyForAccessRequirement: () =>
|
|
229
|
-
getWikiPageKeyForEntity: () =>
|
|
230
|
-
hasAccessToEntity: () =>
|
|
231
|
-
hasUserAuthorizedOAuthClient: () =>
|
|
232
|
-
isAliasAvailable: () =>
|
|
233
|
-
isInSynapseExperimentalMode: () =>
|
|
234
|
-
isOAuthClientReverificationRequired: () =>
|
|
235
|
-
listAgentSessions: () =>
|
|
236
|
-
listFormData: () =>
|
|
237
|
-
listFormDataAsFormAdmin: () =>
|
|
238
|
-
login: () =>
|
|
239
|
-
loginWith2fa: () =>
|
|
240
|
-
lookupChildEntity: () =>
|
|
241
|
-
oAuthRegisterAccountStep2: () =>
|
|
242
|
-
oAuthSessionRequest: () =>
|
|
243
|
-
oAuthUrlRequest: () =>
|
|
244
|
-
pinThread: () =>
|
|
245
|
-
postCertifiedUserTestResponse: () =>
|
|
246
|
-
postReply: () =>
|
|
247
|
-
postSubscription: () =>
|
|
248
|
-
postSubscriptionList: () =>
|
|
249
|
-
postThread: () =>
|
|
250
|
-
postUserGroupHeadersWithAlias: () =>
|
|
251
|
-
purgeFromTrashCan: () =>
|
|
252
|
-
putReply: () =>
|
|
253
|
-
putThreadMessage: () =>
|
|
254
|
-
putThreadTitle: () =>
|
|
255
|
-
registerAccountStep1: () =>
|
|
256
|
-
registerAccountStep2: () =>
|
|
257
|
-
registerChallengeTeam: () =>
|
|
258
|
-
rejectFormData: () =>
|
|
259
|
-
removeItemsFromDownloadListV2: () =>
|
|
260
|
-
removeUserFavorite: () =>
|
|
261
|
-
resetPassword: () =>
|
|
262
|
-
resetTwoFactorAuth: () =>
|
|
263
|
-
restoreFromTrashCan: () =>
|
|
264
|
-
restoreThread: () =>
|
|
265
|
-
revokeCertification: () =>
|
|
266
|
-
searchAccessApprovals: () =>
|
|
267
|
-
searchAccessRequirements: () =>
|
|
268
|
-
searchAccessSubmission: () =>
|
|
269
|
-
searchEntities: () =>
|
|
270
|
-
sendMessage: () =>
|
|
271
|
-
sendMessageToEntityOwner: () =>
|
|
221
|
+
getUserProfileById: () => mn,
|
|
222
|
+
getUserProfiles: () => Sn,
|
|
223
|
+
getUserProjects: () => Vi,
|
|
224
|
+
getUserTeamList: () => Xn,
|
|
225
|
+
getValidationSchema: () => fa,
|
|
226
|
+
getVersion: () => qt,
|
|
227
|
+
getWikiAttachmentsFromEntity: () => hr,
|
|
228
|
+
getWikiAttachmentsFromEvaluation: () => gr,
|
|
229
|
+
getWikiPage: () => vr,
|
|
230
|
+
getWikiPageKeyForAccessRequirement: () => pr,
|
|
231
|
+
getWikiPageKeyForEntity: () => fr,
|
|
232
|
+
hasAccessToEntity: () => pa,
|
|
233
|
+
hasUserAuthorizedOAuthClient: () => Jr,
|
|
234
|
+
isAliasAvailable: () => _a,
|
|
235
|
+
isInSynapseExperimentalMode: () => xr,
|
|
236
|
+
isOAuthClientReverificationRequired: () => ei,
|
|
237
|
+
listAgentSessions: () => zo,
|
|
238
|
+
listFormData: () => di,
|
|
239
|
+
listFormDataAsFormAdmin: () => fi,
|
|
240
|
+
login: () => tn,
|
|
241
|
+
loginWith2fa: () => nn,
|
|
242
|
+
lookupChildEntity: () => wn,
|
|
243
|
+
oAuthRegisterAccountStep2: () => ba,
|
|
244
|
+
oAuthSessionRequest: () => an,
|
|
245
|
+
oAuthUrlRequest: () => rn,
|
|
246
|
+
pinThread: () => za,
|
|
247
|
+
postCertifiedUserTestResponse: () => co,
|
|
248
|
+
postReply: () => Pa,
|
|
249
|
+
postSubscription: () => yo,
|
|
250
|
+
postSubscriptionList: () => xo,
|
|
251
|
+
postThread: () => Ua,
|
|
252
|
+
postUserGroupHeadersWithAlias: () => yn,
|
|
253
|
+
purgeFromTrashCan: () => oo,
|
|
254
|
+
putReply: () => Fa,
|
|
255
|
+
putThreadMessage: () => Ga,
|
|
256
|
+
putThreadTitle: () => Wa,
|
|
257
|
+
registerAccountStep1: () => va,
|
|
258
|
+
registerAccountStep2: () => ya,
|
|
259
|
+
registerChallengeTeam: () => qn,
|
|
260
|
+
rejectFormData: () => mi,
|
|
261
|
+
removeItemsFromDownloadListV2: () => ea,
|
|
262
|
+
removeUserFavorite: () => zn,
|
|
263
|
+
resetPassword: () => Da,
|
|
264
|
+
resetTwoFactorAuth: () => dn,
|
|
265
|
+
restoreFromTrashCan: () => ao,
|
|
266
|
+
restoreThread: () => qa,
|
|
267
|
+
revokeCertification: () => Hn,
|
|
268
|
+
searchAccessApprovals: () => $a,
|
|
269
|
+
searchAccessRequirements: () => Ei,
|
|
270
|
+
searchAccessSubmission: () => eo,
|
|
271
|
+
searchEntities: () => qi,
|
|
272
|
+
sendMessage: () => Fo,
|
|
273
|
+
sendMessageToEntityOwner: () => Io,
|
|
272
274
|
setAccessTokenCookie: () => U,
|
|
273
|
-
signOut: () =>
|
|
274
|
-
signSynapseTermsOfUse: () =>
|
|
275
|
-
start2FAEnrollment: () =>
|
|
275
|
+
signOut: () => Tr,
|
|
276
|
+
signSynapseTermsOfUse: () => Ca,
|
|
277
|
+
start2FAEnrollment: () => cn,
|
|
276
278
|
startMultipartUpload: () => Y,
|
|
277
|
-
submitDataAccessRequest: () =>
|
|
278
|
-
submitFormData: () =>
|
|
279
|
-
submitToEvaluation: () =>
|
|
280
|
-
unPinThread: () =>
|
|
281
|
-
unbindOAuthProviderToAccount: () =>
|
|
282
|
-
updateAccessRequirement: () =>
|
|
283
|
-
updateAccessRequirementAcl: () =>
|
|
284
|
-
updateAgentSession: () =>
|
|
285
|
-
updateDataAccessRequest: () =>
|
|
286
|
-
updateEntity: () =>
|
|
287
|
-
updateEntityACL: () =>
|
|
288
|
-
updateEntityJson: () =>
|
|
289
|
-
updateEvaluation: () =>
|
|
290
|
-
updateEvaluationRound: () =>
|
|
291
|
-
updateFormACL: () =>
|
|
292
|
-
updateFormData: () =>
|
|
293
|
-
updateMyUserProfile: () =>
|
|
294
|
-
updateNotificationEmail: () =>
|
|
295
|
-
updateOAuthClient: () =>
|
|
296
|
-
updateResearchProject: () =>
|
|
297
|
-
updateSubmissionStatus: () =>
|
|
298
|
-
updateTable: () =>
|
|
299
|
-
updateVerificationSubmissionState: () =>
|
|
300
|
-
updateWikiPage: () =>
|
|
279
|
+
submitDataAccessRequest: () => aa,
|
|
280
|
+
submitFormData: () => ui,
|
|
281
|
+
submitToEvaluation: () => Fr,
|
|
282
|
+
unPinThread: () => Ba,
|
|
283
|
+
unbindOAuthProviderToAccount: () => Sa,
|
|
284
|
+
updateAccessRequirement: () => xi,
|
|
285
|
+
updateAccessRequirementAcl: () => Ti,
|
|
286
|
+
updateAgentSession: () => Ro,
|
|
287
|
+
updateDataAccessRequest: () => ia,
|
|
288
|
+
updateEntity: () => Nn,
|
|
289
|
+
updateEntityACL: () => jn,
|
|
290
|
+
updateEntityJson: () => ha,
|
|
291
|
+
updateEvaluation: () => Rr,
|
|
292
|
+
updateEvaluationRound: () => Wr,
|
|
293
|
+
updateFormACL: () => oi,
|
|
294
|
+
updateFormData: () => ci,
|
|
295
|
+
updateMyUserProfile: () => _n,
|
|
296
|
+
updateNotificationEmail: () => ja,
|
|
297
|
+
updateOAuthClient: () => $r,
|
|
298
|
+
updateResearchProject: () => ta,
|
|
299
|
+
updateSubmissionStatus: () => ca,
|
|
300
|
+
updateTable: () => Ii,
|
|
301
|
+
updateVerificationSubmissionState: () => Ta,
|
|
302
|
+
updateWikiPage: () => br,
|
|
301
303
|
uploadFile: () => K,
|
|
302
|
-
validateDefiningSql: () =>
|
|
303
|
-
}),
|
|
304
|
-
function
|
|
304
|
+
validateDefiningSql: () => Jt
|
|
305
|
+
}), Ut = 5242880, Wt = 1e4, Gt = 1;
|
|
306
|
+
function Kt() {
|
|
305
307
|
if (typeof window > "u") return "http://localhost/";
|
|
306
308
|
let e = window.location.port ? `:${window.location.port}` : "";
|
|
307
309
|
return `${window.location.protocol}//${window.location.hostname}${e}/`;
|
|
308
310
|
}
|
|
309
|
-
var
|
|
310
|
-
function
|
|
311
|
+
var qt = () => T("/repo/v1/version", void 0, a.REPO_ENDPOINT);
|
|
312
|
+
function Jt(e, t, n) {
|
|
311
313
|
return E("/repo/v1/validateDefiningSql", {
|
|
312
314
|
definingSql: e,
|
|
313
315
|
entityType: t
|
|
314
316
|
}, n, a.REPO_ENDPOINT);
|
|
315
317
|
}
|
|
316
|
-
var
|
|
318
|
+
var Yt = async (e, t = void 0) => {
|
|
317
319
|
let n = await E(`/repo/v1/entity/${e.entityId}/table/download/csv/async/start`, e, t, a.REPO_ENDPOINT);
|
|
318
320
|
return F(n.token, `/repo/v1/entity/${e.entityId}/table/download/csv/async/get/${n.token}`, t);
|
|
319
|
-
},
|
|
321
|
+
}, Xt = async (e, t = void 0) => {
|
|
320
322
|
let n = await E(`/repo/v1/entity/${e.entityId}/table/download/pfb/async/start`, e, t, a.REPO_ENDPOINT);
|
|
321
323
|
return F(n.token, `/repo/v1/entity/${e.entityId}/table/download/pfb/async/get/${n.token}`, t);
|
|
322
|
-
}, M = (e, t = void 0) => T(`/file/v1/fileHandle/${e}`, t, a.REPO_ENDPOINT),
|
|
324
|
+
}, M = (e, t = void 0) => T(`/file/v1/fileHandle/${e}`, t, a.REPO_ENDPOINT), Zt = (e, t = void 0, n, r, i = !0) => T(`/file/v1/file/${e}?fileAssociateType=${n}&fileAssociateId=${r}&redirect=${i}`, t, a.REPO_ENDPOINT), N = (e, t = void 0) => T(`/file/v1/fileHandle/${e}/url?redirect=false`, t, a.REPO_ENDPOINT), P = async (e, t, n, r) => {
|
|
323
325
|
let i = await T(ce(e), n, a.REPO_ENDPOINT);
|
|
324
326
|
for (r?.(i); i.jobState && i.jobState === "PROCESSING";) await C(500), i = await T(ce(e), n, a.REPO_ENDPOINT), r?.(i);
|
|
325
327
|
if (i.jobState === "FAILED") {
|
|
@@ -327,13 +329,16 @@ var Kt = async (e, t = void 0) => {
|
|
|
327
329
|
console.warn("SynapseClient.getAsyncResultFromJobId should have thrown an error, but instead retrieved the following response:", e);
|
|
328
330
|
}
|
|
329
331
|
return i;
|
|
330
|
-
}, F = async (e, t, n) => (await P(e, t, n)).responseBody,
|
|
331
|
-
let r = await E(
|
|
332
|
-
return P(r.token,
|
|
332
|
+
}, F = async (e, t, n) => (await P(e, t, n)).responseBody, Qt = async (e, t, n) => {
|
|
333
|
+
let r = await E(tt(e.entityId), e, t, a.REPO_ENDPOINT);
|
|
334
|
+
return P(r.token, et(e.entityId, r.token), t, n);
|
|
335
|
+
}, $t = async (e, t, n) => {
|
|
336
|
+
let r = await E(Ze, Bt(e), t, a.REPO_ENDPOINT);
|
|
337
|
+
return P(r.token, Xe(r.token), t, n);
|
|
333
338
|
}, I = async (e, t, n) => {
|
|
334
339
|
let r = await E(`/repo/v1/entity/${e.entityId}/table/query/async/start`, e, t, a.REPO_ENDPOINT, { signal: n });
|
|
335
340
|
return F(r.token, `/repo/v1/entity/${e.entityId}/table/query/async/get/${r.token}`, t);
|
|
336
|
-
},
|
|
341
|
+
}, en = async (e, t = void 0, n) => {
|
|
337
342
|
let r = 0, { query: i, ...a } = e, o = {
|
|
338
343
|
...a,
|
|
339
344
|
query: {
|
|
@@ -350,17 +355,17 @@ var Kt = async (e, t = void 0) => {
|
|
|
350
355
|
}
|
|
351
356
|
return s;
|
|
352
357
|
};
|
|
353
|
-
async function
|
|
358
|
+
async function tn(e, t, n, r = a.REPO_ENDPOINT) {
|
|
354
359
|
return k(() => E("/auth/v1/login2", {
|
|
355
360
|
username: e,
|
|
356
361
|
password: t,
|
|
357
362
|
authenticationReceipt: n
|
|
358
363
|
}, void 0, r));
|
|
359
364
|
}
|
|
360
|
-
function
|
|
365
|
+
function nn(e, t = a.REPO_ENDPOINT) {
|
|
361
366
|
return E("/auth/v1/2fa/token", e, void 0, t);
|
|
362
367
|
}
|
|
363
|
-
var
|
|
368
|
+
var rn = (e, t, r, i = a.REPO_ENDPOINT) => {
|
|
364
369
|
let o = r?.csrfToken;
|
|
365
370
|
if (o) try {
|
|
366
371
|
localStorage.setItem(n, o);
|
|
@@ -372,37 +377,37 @@ var $t = (e, t, r, i = a.REPO_ENDPOINT) => {
|
|
|
372
377
|
redirectUrl: t,
|
|
373
378
|
state: r ? encodeURIComponent(JSON.stringify(r)) : void 0
|
|
374
379
|
}, void 0, i);
|
|
375
|
-
},
|
|
380
|
+
}, an = (e, t, n, r = a.REPO_ENDPOINT) => k(() => E("/auth/v1/oauth2/session2", {
|
|
376
381
|
provider: e,
|
|
377
382
|
authenticationCode: t,
|
|
378
383
|
redirectUrl: n
|
|
379
384
|
}, void 0, r));
|
|
380
|
-
function
|
|
385
|
+
function on(e) {
|
|
381
386
|
return T("/auth/v1/2fa", e, a.REPO_ENDPOINT);
|
|
382
387
|
}
|
|
383
|
-
function
|
|
388
|
+
function sn(e) {
|
|
384
389
|
return w("/auth/v1/2fa", e, a.REPO_ENDPOINT);
|
|
385
390
|
}
|
|
386
|
-
function
|
|
391
|
+
function cn(e) {
|
|
387
392
|
return E("/auth/v1/2fa/enroll", null, e, a.REPO_ENDPOINT);
|
|
388
393
|
}
|
|
389
|
-
function
|
|
394
|
+
function ln(e, t) {
|
|
390
395
|
return E("/auth/v1/2fa", e, t, a.REPO_ENDPOINT);
|
|
391
396
|
}
|
|
392
|
-
function
|
|
397
|
+
function un(e) {
|
|
393
398
|
return E("/auth/v1/2fa/recoveryCodes", null, e, a.REPO_ENDPOINT);
|
|
394
399
|
}
|
|
395
|
-
function
|
|
400
|
+
function dn(e) {
|
|
396
401
|
return E("/auth/v1/2fa/reset", e, void 0, a.REPO_ENDPOINT);
|
|
397
402
|
}
|
|
398
|
-
function
|
|
403
|
+
function fn(e) {
|
|
399
404
|
return E("/auth/v1/2fa/disable", e, void 0, a.REPO_ENDPOINT);
|
|
400
405
|
}
|
|
401
|
-
var L = (e, t) => E(ge, e, t, a.REPO_ENDPOINT),
|
|
406
|
+
var L = (e, t) => E(ge, e, t, a.REPO_ENDPOINT), pn = (e, t, n) => L({
|
|
402
407
|
name: e,
|
|
403
408
|
description: t,
|
|
404
409
|
concreteType: "org.sagebionetworks.repo.model.Project"
|
|
405
|
-
}, n), R = (e) => T(
|
|
410
|
+
}, n), R = (e) => T(vt, e, a.REPO_ENDPOINT), mn = (e, t) => T(yt(e), t, a.REPO_ENDPOINT), hn = (e, t, n) => T(`${_t(e)}?mask=${t}`, n, a.REPO_ENDPOINT), gn = (e, t) => T(`${mt}?mask=${e}`, t, a.REPO_ENDPOINT), _n = (e, t = void 0) => D("/repo/v1/userProfile", e, t, a.REPO_ENDPOINT), vn = (e = "", t = Rt.ALL, n = 0, r = 20, i) => T(ht + `?prefix=${e}&typeFilter=${t}&offset=${n}&limit=${r}`, i, a.REPO_ENDPOINT), yn = (e, t) => E(`${ht}/aliases`, { list: e }, t, a.REPO_ENDPOINT), bn = (e, t) => T(gt + `?ids=${e.join(",")}`, t, a.REPO_ENDPOINT), xn = async (e = {}, t) => {
|
|
406
411
|
let n = new URLSearchParams();
|
|
407
412
|
e.accessType != null && n.set("accessType", e.accessType), e.activeOnly != null && n.set("activeOnly", e.activeOnly.toString()), e.evaluationIds != null && n.set("evaluationIds", e.evaluationIds.join(","));
|
|
408
413
|
let r = (e, r) => (n.set("limit", e.toString()), n.set("offset", r.toString()), T(`${je}?${n.toString()}`, t, a.REPO_ENDPOINT));
|
|
@@ -414,16 +419,16 @@ var L = (e, t) => E(ge, e, t, a.REPO_ENDPOINT), ln = (e, t, n) => L({
|
|
|
414
419
|
};
|
|
415
420
|
}
|
|
416
421
|
return r(e.limit ?? 20, e.offset ?? 0);
|
|
417
|
-
},
|
|
422
|
+
}, Sn = (e, t = void 0) => E(vt, { list: e }, t, a.REPO_ENDPOINT), Cn = (e, t = void 0, n) => E("/repo/v1/entity/children", e, t, a.REPO_ENDPOINT, { signal: n }), wn = (e, t = void 0) => E("/repo/v1/entity/child", e, t, a.REPO_ENDPOINT), z = (e, t = void 0) => E(Ne, e, t, a.REPO_ENDPOINT), Tn = async (e, t = void 0) => {
|
|
418
423
|
let n = await E("/file/v1/file/bulk/async/start", e, t, a.REPO_ENDPOINT);
|
|
419
424
|
return F(n.token, `/file/v1/file/bulk/async/get/${n.token}`, t);
|
|
420
|
-
},
|
|
425
|
+
}, En = (e = void 0, t, n) => {
|
|
421
426
|
if (t.indexOf(".") > -1) {
|
|
422
427
|
let e = t.split(".");
|
|
423
428
|
t = e[0], n = e[1];
|
|
424
429
|
}
|
|
425
430
|
return T(n ? `/repo/v1/entity/${t}/version/${n}` : `/repo/v1/entity/${t}`, e, a.REPO_ENDPOINT);
|
|
426
|
-
},
|
|
431
|
+
}, Dn = (e, t) => B(e.map((e) => ({ targetId: e })), t), B = (e, t) => E(Ce, { references: e.map((e) => {
|
|
427
432
|
if (e.targetId.indexOf(".") > -1) {
|
|
428
433
|
let t = e.targetId.split(".");
|
|
429
434
|
return {
|
|
@@ -431,69 +436,69 @@ var L = (e, t) => E(ge, e, t, a.REPO_ENDPOINT), ln = (e, t, n) => L({
|
|
|
431
436
|
version: t[1]
|
|
432
437
|
};
|
|
433
438
|
} else return e;
|
|
434
|
-
}) }, t, a.REPO_ENDPOINT),
|
|
439
|
+
}) }, t, a.REPO_ENDPOINT), On = (e, t) => O(() => T(be(e), t, a.REPO_ENDPOINT)), kn = async (e, t, n) => (await B([{
|
|
435
440
|
targetId: e,
|
|
436
441
|
targetVersionNumber: t
|
|
437
|
-
}], n)).results[0],
|
|
442
|
+
}], n)).results[0], An = (e, t = void 0) => E(_(e.id), e, t, a.REPO_ENDPOINT), jn = (e, t = void 0) => D(_(e.id), e, t, a.REPO_ENDPOINT), Mn = (e, t = void 0) => w(_(e), t, a.REPO_ENDPOINT), Nn = (e, t = void 0, n) => {
|
|
438
443
|
let r = `/repo/v1/entity/${e.id}`;
|
|
439
444
|
return n && (r += "?newVersion=true"), D(r, e, t, a.REPO_ENDPOINT);
|
|
440
|
-
},
|
|
445
|
+
}, Pn = (e = void 0, t) => w(we(t), e, a.REPO_ENDPOINT), Fn = (e, t, n, r) => E(xe(e, n), t, r, a.REPO_ENDPOINT), In = (e, t, n = "", r = A.ENTITY) => T(`${S(r)}/${t}/wiki/${n}`, e, a.REPO_ENDPOINT);
|
|
441
446
|
function V(e, t = 0, n = 200, r = "NAME", i = "ASC") {
|
|
442
447
|
let o = new URLSearchParams();
|
|
443
|
-
return o.set("offset", t.toString()), o.set("limit", n.toString()), o.set("sort", r), o.set("sortDirection", i), T(`${
|
|
448
|
+
return o.set("offset", t.toString()), o.set("limit", n.toString()), o.set("sort", r), o.set("sortDirection", i), T(`${v}?${o.toString()}`, e, a.REPO_ENDPOINT);
|
|
444
449
|
}
|
|
445
|
-
function
|
|
450
|
+
function Ln(e, t = "NAME", n = "ASC") {
|
|
446
451
|
return Q((r, i) => V(e, i, r, t, n), 200);
|
|
447
452
|
}
|
|
448
|
-
function
|
|
449
|
-
return E(`${
|
|
453
|
+
function Rn(e, t) {
|
|
454
|
+
return E(`${v}/${e}`, null, t, a.REPO_ENDPOINT);
|
|
450
455
|
}
|
|
451
|
-
var
|
|
456
|
+
var zn = (e, t) => w(`${v}/${e}`, t, a.REPO_ENDPOINT), Bn = (e, t, n = 0, r = 200) => T(`/repo/v1/challenge?participantId=${t}&offset=${n}&limit=${r}`, e, a.REPO_ENDPOINT), Vn = (e, t) => {
|
|
452
457
|
let n = `/repo/v1//user/${e}/certifiedUserPassingRecord`;
|
|
453
458
|
return O(() => T(n, t, a.REPO_ENDPOINT));
|
|
454
|
-
},
|
|
455
|
-
function
|
|
459
|
+
}, Hn = (e, t) => D(`/repo/v1/user/${e}/revokeCertification`, null, t, a.REPO_ENDPOINT), Un = (e, t, n = 0, r = 200) => T(`/repo/v1/challenge/${t}/challengeTeam?&offset=${n}&limit=${r}`, e, a.REPO_ENDPOINT), Wn = (e, t) => Q((n, r) => T(`/repo/v1/challenge/${t}/challengeTeam?&offset=${r}&limit=${n}`, e, a.REPO_ENDPOINT)), Gn = (e, t, n = 0, r = 50) => T(`/repo/v1/challenge/${t}/submissionTeams?&offset=${n}&limit=${r}`, e, a.REPO_ENDPOINT), Kn = (e, t, n) => T(`/repo/v1/evaluation/${e}/team/${t}/submissionEligibility`, n, a.REPO_ENDPOINT), qn = (e, t) => E(`/repo/v1/challenge/${String(e.challengeId)}/challengeTeam`, e, t, a.REPO_ENDPOINT), Jn = (e, t) => T(`/repo/v1/entity/${e}/challenge`, t, a.REPO_ENDPOINT);
|
|
460
|
+
function Yn(e, t) {
|
|
456
461
|
return E("/repo/v1/team", e, t, a.REPO_ENDPOINT);
|
|
457
462
|
}
|
|
458
|
-
var
|
|
463
|
+
var Xn = (e, t, n = 0, r = 200) => T(`/repo/v1/user/${t}/team?offset=${n}&limit=${r}`, e, a.REPO_ENDPOINT), Zn = (e, t) => Q((n, r) => T(`/repo/v1/team/${t}/accessRequirement?offset=${r}&limit=${n}`, e, a.REPO_ENDPOINT)), Qn = (e, t, n = "", r = 10, i = 0) => T(`${ot(t)}?limit=${r}&offset=${i}${n ? `&fragment=${n}` : ""}`, e, a.REPO_ENDPOINT), $n = (e) => D(at, e, void 0, a.REPO_ENDPOINT), er = (e, t, n) => D(it(e, t), void 0, n, a.REPO_ENDPOINT);
|
|
459
464
|
function H(e, t) {
|
|
460
465
|
return T(`${y}/user/${e}/openInvitation`, t, a.REPO_ENDPOINT);
|
|
461
466
|
}
|
|
462
|
-
function
|
|
467
|
+
function tr(e, t) {
|
|
463
468
|
return Q(() => H(e, t));
|
|
464
469
|
}
|
|
465
|
-
function
|
|
470
|
+
function nr(e, t) {
|
|
466
471
|
return E(`${y}/membershipInvitation`, e, t, a.REPO_ENDPOINT);
|
|
467
472
|
}
|
|
468
|
-
var
|
|
469
|
-
let r =
|
|
473
|
+
var rr = (e) => E(ze(e.membershipInvitationId), e, void 0, a.REPO_ENDPOINT), ir = (e, t) => T(Le(e), t, a.REPO_ENDPOINT), ar = (e, t, n) => D(le(t), e, n, a.REPO_ENDPOINT), or = (e, t, n) => {
|
|
474
|
+
let r = rt(e, t);
|
|
470
475
|
return O(() => T(r, n, a.REPO_ENDPOINT));
|
|
471
|
-
},
|
|
476
|
+
}, sr = (e, t, n) => T(`${rt(e, t)}/membershipStatus`, n, a.REPO_ENDPOINT), cr = (e, t) => E("/repo/v1/membershipRequest", e, t, a.REPO_ENDPOINT), lr = (e, t, n) => w(`/repo/v1/team/${e}/member/${t}`, n, a.REPO_ENDPOINT), ur = (e, t) => T(nt(e), t, a.REPO_ENDPOINT), dr = (e, t) => E("/repo/v1/teamList", { list: e }, t, a.REPO_ENDPOINT), fr = (e, t) => T(`/repo/v1/entity/${t}/wikikey`, e, a.REPO_ENDPOINT), pr = (e, t) => T(h(t), e, a.REPO_ENDPOINT), mr = (e, t, n) => {
|
|
472
477
|
let r = `${S(t)}/${n}/wikikey`;
|
|
473
478
|
return O(() => T(r, e, a.REPO_ENDPOINT));
|
|
474
|
-
},
|
|
475
|
-
if (
|
|
479
|
+
}, hr = (e, t, n, r = A.ENTITY) => T(`${S(r)}/${t}/wiki2/${n}/attachmenthandles`, e, a.REPO_ENDPOINT), gr = (e, t, n) => T(`/repo/v1/evaluation/${t}/wiki/${n}/attachmenthandles`, e, a.REPO_ENDPOINT), _r = (e, t, n, r, i = A.ENTITY) => T(`${S(i)}/${t}/wiki2/${n}/attachment?fileName=${r}&redirect=false`, e, a.REPO_ENDPOINT), vr = (e, t) => T(`${Ct(t.ownerObjectType, t.ownerObjectId, t.wikiPageId)}`, e, a.REPO_ENDPOINT), yr = (e, t, n, r) => E(St(t, n), r, e, a.REPO_ENDPOINT), br = (e, t, n, r) => D(`${Ct(t, n, r.id)}`, r, e, a.REPO_ENDPOINT), xr = () => !!new j().get(i), U = async (e) => {
|
|
480
|
+
if (kt()) {
|
|
476
481
|
let n = new j();
|
|
477
482
|
e ? n.set(t, e, {
|
|
478
483
|
maxAge: 3600 * 24 * 10,
|
|
479
484
|
path: "/",
|
|
480
|
-
domain:
|
|
485
|
+
domain: At()
|
|
481
486
|
}) : (n.remove(t, { path: "/" }), await C(100));
|
|
482
487
|
} else return E("/Portal/sessioncookie", { sessionToken: e }, void 0, a.PORTAL_ENDPOINT, { credentials: "include" });
|
|
483
488
|
}, W = async () => {
|
|
484
|
-
if (
|
|
489
|
+
if (kt()) {
|
|
485
490
|
let e = new j();
|
|
486
491
|
return Promise.resolve(e.get(t));
|
|
487
492
|
}
|
|
488
493
|
return T("/Portal/sessioncookie?validate=true", void 0, a.PORTAL_ENDPOINT, { credentials: "include" });
|
|
489
|
-
},
|
|
494
|
+
}, Sr = () => new j().get(r) === "true", Cr = (e, t) => E("/repo/v1/principal/alias", t, e, a.REPO_ENDPOINT);
|
|
490
495
|
function G(e) {
|
|
491
|
-
return w(
|
|
496
|
+
return w(Qe, e, a.REPO_ENDPOINT);
|
|
492
497
|
}
|
|
493
|
-
async function
|
|
498
|
+
async function wr(e) {
|
|
494
499
|
return w(oe((await R(e)).ownerId), e, a.REPO_ENDPOINT);
|
|
495
500
|
}
|
|
496
|
-
var
|
|
501
|
+
var Tr = async (e = "0") => {
|
|
497
502
|
let t;
|
|
498
503
|
try {
|
|
499
504
|
t = await W(), t && await G(t);
|
|
@@ -502,13 +507,13 @@ var xr = async (e = "0") => {
|
|
|
502
507
|
}
|
|
503
508
|
let n = "";
|
|
504
509
|
try {
|
|
505
|
-
n = (await new
|
|
510
|
+
n = (await new zt({ basePath: o(a.REPO_ENDPOINT) }).authenticationServicesClient.getAuthV1AnonymousToken({ realm: e })).accessToken;
|
|
506
511
|
} catch (e) {
|
|
507
512
|
console.error("Failed to get an anonymous access token.", e);
|
|
508
513
|
}
|
|
509
514
|
return await U(n), n;
|
|
510
515
|
}, K = (e, t, n, r = 1, i = n.type, a, o, s, c) => new Promise((l, u) => {
|
|
511
|
-
let d = Math.max(
|
|
516
|
+
let d = Math.max(Ut, n.size / Wt), f = {
|
|
512
517
|
contentType: i,
|
|
513
518
|
fileName: t,
|
|
514
519
|
fileSizeBytes: n.size,
|
|
@@ -518,8 +523,8 @@ var xr = async (e = "0") => {
|
|
|
518
523
|
q(n).then((r) => {
|
|
519
524
|
s && s(), f.contentMD5Hex = r, Y(e, t, n, f, l, u, a, o, c);
|
|
520
525
|
});
|
|
521
|
-
}), q =
|
|
522
|
-
let r = 2097152, i = Math.ceil(e.size / r), a = new
|
|
526
|
+
}), q = jt((e) => new Promise((t, n) => {
|
|
527
|
+
let r = 2097152, i = Math.ceil(e.size / r), a = new Vt.ArrayBuffer(), o = new FileReader(), s = 0;
|
|
523
528
|
o.onload = function(e) {
|
|
524
529
|
if (console.debug("read chunk nr", s + 1, "of", i), a.append(o.result), s++, s < i) c();
|
|
525
530
|
else {
|
|
@@ -535,7 +540,7 @@ var xr = async (e = "0") => {
|
|
|
535
540
|
o.readAsArrayBuffer(e.slice(t, n));
|
|
536
541
|
};
|
|
537
542
|
c();
|
|
538
|
-
})),
|
|
543
|
+
})), Er = async (e, t, n, r, i, o, s, c, l, u, d, f) => {
|
|
539
544
|
if (n[e - 1]) {
|
|
540
545
|
u();
|
|
541
546
|
return;
|
|
@@ -547,7 +552,7 @@ var xr = async (e = "0") => {
|
|
|
547
552
|
}, ee = (await E(`/file/v1/file/multipart/${p}/presigned/url/batch`, m, r, a.REPO_ENDPOINT)).partPresignedUrls[0].uploadPresignedUrl, te = (e - 1) * s.partSizeBytes, h = e * s.partSizeBytes - 1;
|
|
548
553
|
h >= s.fileSizeBytes && (h = s.fileSizeBytes - 1);
|
|
549
554
|
let g = o.slice(te, h + 1, m.contentType);
|
|
550
|
-
await
|
|
555
|
+
await Dr(ee, g, m.contentType, d, f), (await D(`/file/v1/file/multipart/${p}/add/${e}?partMD5Hex=${await q(g)}`, void 0, r, a.REPO_ENDPOINT)).addPartState === "ADD_SUCCESS" ? (n[e - 1] = !0, u(), J(t, n, i, r, c, l)) : (await C(1e3), await Er(e, t, n, r, i, o, s, c, l, u, d, f));
|
|
551
556
|
}, J = (e, t, n, r, i, o) => {
|
|
552
557
|
t.every((e) => e) && D(`/file/v1/file/multipart/${e.uploadId}/complete`, void 0, r, a.REPO_ENDPOINT).then((e) => {
|
|
553
558
|
i({
|
|
@@ -557,7 +562,7 @@ var xr = async (e = "0") => {
|
|
|
557
562
|
}).catch((e) => {
|
|
558
563
|
o(e);
|
|
559
564
|
});
|
|
560
|
-
},
|
|
565
|
+
}, Dr = async (e, t, n, r, i) => {
|
|
561
566
|
let a = i || new AbortController(), o = a.signal, s = setInterval(() => {
|
|
562
567
|
r && r() && !a.signal.aborted && a.abort();
|
|
563
568
|
}, 1e3);
|
|
@@ -579,12 +584,12 @@ var xr = async (e = "0") => {
|
|
|
579
584
|
total: u.length
|
|
580
585
|
});
|
|
581
586
|
};
|
|
582
|
-
for (let s = 0; s < u.length; s += 1) u[s] ? f() :
|
|
587
|
+
for (let s = 0; s < u.length; s += 1) u[s] ? f() : Er(s + 1, a, u, e, t, n, r, i, o, f, c, l);
|
|
583
588
|
J(a, u, t, e, i, o);
|
|
584
589
|
}).catch((e) => {
|
|
585
590
|
o(e);
|
|
586
591
|
});
|
|
587
|
-
},
|
|
592
|
+
}, Or = (e, t) => new Promise((n, r) => {
|
|
588
593
|
let i = M(e, t), a = N(e, t);
|
|
589
594
|
Promise.all([i, a]).then((e) => {
|
|
590
595
|
let t = e[0], r = e[1];
|
|
@@ -594,7 +599,7 @@ var xr = async (e = "0") => {
|
|
|
594
599
|
}).catch((e) => {
|
|
595
600
|
r(e);
|
|
596
601
|
});
|
|
597
|
-
}), X = (e, t, n =
|
|
602
|
+
}), X = (e, t, n = Ut) => new Promise((r, i) => {
|
|
598
603
|
e.contentSize < n ? fetch(t, {
|
|
599
604
|
method: "GET",
|
|
600
605
|
mode: "cors",
|
|
@@ -604,11 +609,11 @@ var xr = async (e = "0") => {
|
|
|
604
609
|
e.text().then((e) => {
|
|
605
610
|
r(e);
|
|
606
611
|
});
|
|
607
|
-
}) : i(/* @__PURE__ */ Error(`File size (${
|
|
608
|
-
}),
|
|
612
|
+
}) : i(/* @__PURE__ */ Error(`File size (${Tt(e.contentSize)}) exceeds the maximum size that can be downloaded (${Tt(n)})`));
|
|
613
|
+
}), kr = (e, t, n, r, i) => new Promise((a, o) => {
|
|
609
614
|
let s = [{
|
|
610
615
|
associateObjectId: e.id,
|
|
611
|
-
associateObjectType:
|
|
616
|
+
associateObjectType: It.FileEntity,
|
|
612
617
|
fileHandleId: e.dataFileHandleId
|
|
613
618
|
}];
|
|
614
619
|
z({
|
|
@@ -621,52 +626,52 @@ var xr = async (e = "0") => {
|
|
|
621
626
|
}).catch((e) => {
|
|
622
627
|
o(e);
|
|
623
628
|
});
|
|
624
|
-
}), Z = (e, t) => E("/repo/v1/download/list/add", { batchToAdd: e }, t, a.REPO_ENDPOINT),
|
|
629
|
+
}), Z = (e, t) => E("/repo/v1/download/list/add", { batchToAdd: e }, t, a.REPO_ENDPOINT), Ar = (e, t, n) => Z([{
|
|
625
630
|
fileEntityId: e,
|
|
626
631
|
versionNumber: t
|
|
627
|
-
}], n),
|
|
632
|
+
}], n), jr = async (e, t) => {
|
|
628
633
|
let n = await E("/repo/v1/download/list/package/async/start", {
|
|
629
634
|
zipFileName: e,
|
|
630
635
|
includeManifest: !0,
|
|
631
636
|
concreteType: "org.sagebionetworks.repo.model.download.DownloadListPackageRequest"
|
|
632
637
|
}, t, a.REPO_ENDPOINT);
|
|
633
638
|
return F(n.token, `/repo/v1/download/list/package/async/get/${n.token}`, t);
|
|
634
|
-
},
|
|
639
|
+
}, Mr = async (e = void 0) => {
|
|
635
640
|
let t = await E("/repo/v1/download/list/manifest/async/start", {
|
|
636
641
|
csvTableDescriptor: {},
|
|
637
642
|
concreteType: "org.sagebionetworks.repo.model.download.DownloadListManifestRequest"
|
|
638
643
|
}, e, a.REPO_ENDPOINT);
|
|
639
644
|
return F(t.token, `/repo/v1/download/list/manifest/async/get/${t.token}`, e);
|
|
640
|
-
},
|
|
645
|
+
}, Nr = async (e, t = void 0) => {
|
|
641
646
|
let n = await E("/repo/v1/download/list/add/async/start", e, t, a.REPO_ENDPOINT);
|
|
642
647
|
return F(n.token, `/repo/v1/download/list/add/async/get/${n.token}`, t);
|
|
643
|
-
},
|
|
648
|
+
}, Pr = (e, t, n) => E(`/repo/v1/entity/${e}/acl`, t, n, a.REPO_ENDPOINT), Fr = (e, t, n, r) => {
|
|
644
649
|
let i = `/repo/v1/evaluation/submission?etag=${n}`;
|
|
645
650
|
return r && (i += `&submissionEligibilityHash=${r}`), E(i, t, e, a.REPO_ENDPOINT);
|
|
646
|
-
},
|
|
651
|
+
}, Ir = (e, t) => T(`/repo/v1/evaluation/${e}/permissions`, t, a.REPO_ENDPOINT), Lr = (e, t) => e ? T(Me(e), t, a.REPO_ENDPOINT) : Promise.reject(/* @__PURE__ */ Error("evalId is empty")), Rr = (e, t) => e.id ? D(Me(e.id), e, t, a.REPO_ENDPOINT) : Promise.reject(/* @__PURE__ */ Error("evaluation does not have an ID")), zr = (e, t) => E(je, e, t, a.REPO_ENDPOINT), Br = (e, t) => w(`/repo/v1/evaluation/${e}`, t, a.REPO_ENDPOINT), Vr = (e, t, n) => T(`/repo/v1/evaluation/${e}/round/${t}`, n, a.REPO_ENDPOINT), Hr = (e, t, n) => E(`/repo/v1/evaluation/${e}/round/list`, t ?? {}, n, a.REPO_ENDPOINT), Ur = (e, t) => E(`/repo/v1/evaluation/${e.evaluationId}/round`, e, t, a.REPO_ENDPOINT), Wr = (e, t) => D(`/repo/v1/evaluation/${e.evaluationId}/round/${e.id}`, e, t, a.REPO_ENDPOINT), Gr = (e, t, n) => w(`/repo/v1/evaluation/${e}/round/${t}`, n, a.REPO_ENDPOINT), Kr = (e, t) => T(`/repo/v1/evaluation/submission/query?query=${encodeURI(e)}`, t, a.REPO_ENDPOINT), qr = (e) => E("/auth/v1/oauth2/description", e, void 0, a.REPO_ENDPOINT), Jr = (e, t) => E("/auth/v1/oauth2/consentcheck", e, t, a.REPO_ENDPOINT), Yr = (e) => T(`/auth/v1/oauth2/client/${e}`, void 0, a.REPO_ENDPOINT), Xr = (e, t) => T(`/auth/v1/oauth2/client${t ? "?nextPageToken=" + t : ""}`, e, a.REPO_ENDPOINT), Zr = (e, t) => E("/auth/v1/oauth2/client", e, t, a.REPO_ENDPOINT), Qr = (e, t) => w(`/auth/v1/oauth2/client/${e}`, t, a.REPO_ENDPOINT), $r = (e, t) => D(`/auth/v1/oauth2/client/${e.client_id}`, e, t, a.REPO_ENDPOINT), ei = (e, t) => D(`/auth/v1/oauth2/client/${e.client_id}/verificationPrecheck`, e, t, a.REPO_ENDPOINT), ti = (e, t) => E(`/auth/v1/oauth2/client/secret/${t}`, void 0, e, a.REPO_ENDPOINT), ni = async (e) => T("/auth/v1/authenticatedOn", e, a.REPO_ENDPOINT), ri = (e, t) => E("/auth/v1/oauth2/consent", e, t, a.REPO_ENDPOINT), ii = (e, t) => E(`/repo/v1/form/group?name=${encodeURI(e)}`, void 0, t, a.REPO_ENDPOINT), ai = (e, t) => T(`/repo/v1/form/group/${e}/acl`, t, a.REPO_ENDPOINT), oi = (e, t, n) => D(`/repo/v1/form/group/${e}/acl`, t, n, a.REPO_ENDPOINT), si = (e, t, n, r) => {
|
|
647
652
|
let i = {
|
|
648
653
|
name: t,
|
|
649
654
|
fileHandleId: n
|
|
650
655
|
};
|
|
651
656
|
return E(`/repo/v1/form/data?groupId=${e}`, i, r, a.REPO_ENDPOINT);
|
|
652
|
-
},
|
|
657
|
+
}, ci = (e, t, n, r) => {
|
|
653
658
|
let i = {
|
|
654
659
|
name: t,
|
|
655
660
|
fileHandleId: n
|
|
656
661
|
};
|
|
657
662
|
return D(`/repo/v1/form/data/${e}`, i, r, a.REPO_ENDPOINT);
|
|
658
|
-
},
|
|
663
|
+
}, li = (e, t) => w(`/repo/v1/form/data/${e}`, t, a.REPO_ENDPOINT), ui = (e, t) => E(`/repo/v1/form/data/${e}/submit`, void 0, t, a.REPO_ENDPOINT), di = (e, t) => E("/repo/v1/form/data/list", e, t, a.REPO_ENDPOINT), fi = (e, t) => E("/repo/v1/form/data/list/reviewer", e, t, a.REPO_ENDPOINT), pi = (e, t) => D(`/repo/v1/form/data/${e}/accept`, void 0, t, a.REPO_ENDPOINT), mi = (e, t, n) => {
|
|
659
664
|
let r = { reason: t };
|
|
660
665
|
return D(`/repo/v1/form/data/${e}/reject`, r, n, a.REPO_ENDPOINT);
|
|
661
|
-
},
|
|
662
|
-
function
|
|
666
|
+
}, hi = (e, t) => E("/repo/v1/statistics", e, t, a.REPO_ENDPOINT), gi = (e, t) => E("/repo/v1/restrictionInformation", e, t, a.REPO_ENDPOINT), _i = (e, t) => E("/repo/v1/restrictionInformation/batch", e, t, a.REPO_ENDPOINT), vi = (e, t, n = 50, r = 0) => T(`${ve(t)}?limit=${n}&offset=${r}`, e, a.REPO_ENDPOINT), yi = (e, t) => T(f(t), e, a.REPO_ENDPOINT), bi = (e, t) => ("description" in t && delete t.description, E(u, t, e, a.REPO_ENDPOINT)), xi = (e, t) => ("description" in t && delete t.description, D(`${u}/${t.id}`, t, e, a.REPO_ENDPOINT)), Si = (e, t) => O(() => T(d(t), e, a.REPO_ENDPOINT)), Ci = (e, t) => w(d(t), e, a.REPO_ENDPOINT), wi = (e, t) => E(d(t.id), t, e, a.REPO_ENDPOINT), Ti = (e, t) => D(d(t.id), t, e, a.REPO_ENDPOINT), Ei = (e, t) => E(ee, t, e, a.REPO_ENDPOINT);
|
|
667
|
+
function Di(e, t) {
|
|
663
668
|
return T(te(t), e, a.REPO_ENDPOINT);
|
|
664
669
|
}
|
|
665
|
-
var
|
|
666
|
-
function
|
|
670
|
+
var Oi = (e, t) => Q((n, r) => T(`/repo/v1/entity/${t}/accessRequirement?limit=${n}&offset=${r}`, e, a.REPO_ENDPOINT));
|
|
671
|
+
function ki(e, t) {
|
|
667
672
|
return E(`/repo/v1/entity/${e}/lockAccessRequirement`, null, t, a.REPO_ENDPOINT);
|
|
668
673
|
}
|
|
669
|
-
var
|
|
674
|
+
var Ai = async (e, t) => T(`${c(t)}`, e, a.REPO_ENDPOINT), ji = async (e, t) => E(s, t, e, a.REPO_ENDPOINT), Mi = (e) => T("/file/v1/download/list", e, a.REPO_ENDPOINT), Ni = (e, t) => {
|
|
670
675
|
let n = "/file/v1/download/order";
|
|
671
676
|
return E(e ? `${n}?zipFileName=${e}` : n, void 0, t, a.REPO_ENDPOINT);
|
|
672
677
|
}, Q = async (e, t = 50) => {
|
|
@@ -689,143 +694,143 @@ async function $(e) {
|
|
|
689
694
|
}
|
|
690
695
|
return r;
|
|
691
696
|
}
|
|
692
|
-
var
|
|
693
|
-
|
|
694
|
-
}),
|
|
697
|
+
var Pi = (e, t) => E("/file/v1/download/list/remove", { list: e }, t, a.REPO_ENDPOINT).then((e) => (Et(e), e)), Fi = (e) => w("/file/v1/download/list", e, a.REPO_ENDPOINT).then(() => {
|
|
698
|
+
Et(void 0);
|
|
699
|
+
}), Ii = async (e, t = void 0) => {
|
|
695
700
|
let n = await E(`/repo/v1/entity/${e.entityId}/table/transaction/async/start`, e, t, a.REPO_ENDPOINT);
|
|
696
701
|
return F(n.token, `/repo/v1/entity/${e.entityId}/table/transaction/async/get/${n.token}`, t);
|
|
697
|
-
},
|
|
698
|
-
let r = new URLSearchParams(
|
|
702
|
+
}, Li = (e, t) => E("/auth/v1/personalAccessToken", e, t, a.REPO_ENDPOINT), Ri = (e, t) => T(`/auth/v1/personalAccessToken${t ? "?nextPageToken=" + t : ""}`, e, a.REPO_ENDPOINT), zi = (e, t) => w(`/auth/v1/personalAccessToken/${e}`, t, a.REPO_ENDPOINT), Bi = (e, t = {}) => T(`${He}?${new URLSearchParams(Dt(t)).toString()}`, e, a.REPO_ENDPOINT), Vi = (e, t = {}, n) => T(`/repo/v1/projects/user/${e}?${new URLSearchParams(Dt(t)).toString()}`, n, a.REPO_ENDPOINT), Hi = (e, t) => T(_(e), t, a.REPO_ENDPOINT), Ui = (e, t = {}, n) => {
|
|
703
|
+
let r = new URLSearchParams(Dt(t));
|
|
699
704
|
return Q((t, i) => T(`${Se(e)}?offset=${i}&limit=${t}&${r.toString()}`, n, a.REPO_ENDPOINT));
|
|
700
|
-
},
|
|
701
|
-
async function
|
|
705
|
+
}, Wi = (e, t) => T(De(e), t, a.REPO_ENDPOINT), Gi = (e, t) => T(Ee(e), t, a.REPO_ENDPOINT), Ki = (e, t, n = 0, r = 200) => T(`/repo/v1/entity/${e}/version?offset=${n}&limit=${r}`, t, a.REPO_ENDPOINT), qi = (e, t) => E("/repo/v1/search", e, t, a.REPO_ENDPOINT);
|
|
706
|
+
async function Ji(e, t) {
|
|
702
707
|
let n = await E("/repo/v1/download/list/query/async/start", {
|
|
703
708
|
concreteType: "org.sagebionetworks.repo.model.download.DownloadListQueryRequest",
|
|
704
709
|
requestDetails: t
|
|
705
710
|
}, e, a.REPO_ENDPOINT);
|
|
706
711
|
return (await F(n.token, `/repo/v1/download/list/query/async/get/${n.token}`, e)).responseDetails;
|
|
707
712
|
}
|
|
708
|
-
var
|
|
709
|
-
function
|
|
713
|
+
var Yi = (e) => w("/repo/v1/download/list", e, a.REPO_ENDPOINT), Xi = (e, t = void 0) => Ji(t, e), Zi = (e = void 0) => Ji(e, { concreteType: "org.sagebionetworks.repo.model.download.FilesStatisticsRequest" }), Qi = (e, t = void 0) => Ji(t, e), $i = (e, t = void 0) => $(() => Qi(e, t)), ea = (e, t = void 0) => E("/repo/v1/download/list/remove", e, t, a.REPO_ENDPOINT), ta = (e, t) => E(qe, e, t, a.REPO_ENDPOINT), na = (e, t) => T(m(e), t, a.REPO_ENDPOINT), ra = (e, t) => T(p(e), t, a.REPO_ENDPOINT);
|
|
714
|
+
function ia(e, t) {
|
|
710
715
|
return E(de, e, t, a.REPO_ENDPOINT);
|
|
711
716
|
}
|
|
712
|
-
var
|
|
717
|
+
var aa = (e, t) => E(fe(e.requestId), e, t, a.REPO_ENDPOINT), oa = (e, t) => D(`/repo/v1/dataAccessSubmission/${e}/cancellation`, void 0, t, a.REPO_ENDPOINT), sa = (e, t) => T(pe(e), t, a.REPO_ENDPOINT), ca = (e, t) => D(pe(e.submissionId), e, t, a.REPO_ENDPOINT), la = (e, t) => O(() => T(Oe(e), t, a.REPO_ENDPOINT)), ua = (e, t) => T(ke(e), t, a.REPO_ENDPOINT), da = (e) => T(`${We(e)}`, void 0, a.REPO_ENDPOINT), fa = async (e, t) => {
|
|
713
718
|
let n = await E(Ye, {
|
|
714
719
|
concreteType: "org.sagebionetworks.repo.model.schema.GetValidationSchemaRequest",
|
|
715
720
|
$id: e
|
|
716
721
|
}, t, a.REPO_ENDPOINT);
|
|
717
722
|
return F(n.token, Je(n.token), t);
|
|
718
|
-
},
|
|
723
|
+
}, pa = (e, t, n) => T(`${_e(e)}?accessType=${t}`, n, a.REPO_ENDPOINT), ma = (e, t, n, r) => {
|
|
719
724
|
let i = new URLSearchParams();
|
|
720
725
|
return i.set("includeDerivedAnnotations", String(n)), T(`${t ? Ae(e, t) : Te(e)}?${i.toString()}`, r, a.REPO_ENDPOINT);
|
|
721
|
-
},
|
|
726
|
+
}, ha = (e, t, n) => D(Te(e), t, n, a.REPO_ENDPOINT), ga = (e) => T(Be, e, a.REPO_ENDPOINT), _a = (e, t) => E(ae, e, t, a.REPO_ENDPOINT), va = (e, t) => E(Ge(t), e, void 0, a.REPO_ENDPOINT), ya = (e) => E(Ke, e, void 0, a.REPO_ENDPOINT), ba = (e, t, n, r, i = a.REPO_ENDPOINT) => E("/auth/v1/oauth2/account2", {
|
|
722
727
|
provider: t,
|
|
723
728
|
authenticationCode: n,
|
|
724
729
|
redirectUrl: r,
|
|
725
730
|
userName: e
|
|
726
|
-
}, void 0, i),
|
|
731
|
+
}, void 0, i), xa = async (e, t, n, r = a.REPO_ENDPOINT) => {
|
|
727
732
|
let i = await W();
|
|
728
733
|
return E("/auth/v1/oauth2/alias", {
|
|
729
734
|
provider: e,
|
|
730
735
|
authenticationCode: t,
|
|
731
736
|
redirectUrl: n
|
|
732
737
|
}, i, r);
|
|
733
|
-
},
|
|
734
|
-
function
|
|
735
|
-
return E(
|
|
738
|
+
}, Sa = async (e, t, n) => w(`/auth/v1/oauth2/alias?provider=${e}&alias=${encodeURIComponent(n)}`, t, a.REPO_ENDPOINT), Ca = (e) => E(st, e, void 0, a.REPO_ENDPOINT), wa = (e, t) => E(bt, e, t, a.REPO_ENDPOINT);
|
|
739
|
+
function Ta(e, t, n) {
|
|
740
|
+
return E(xt(e), t, n, a.REPO_ENDPOINT);
|
|
736
741
|
}
|
|
737
|
-
var
|
|
738
|
-
let t =
|
|
742
|
+
var Ea = (e) => k(() => E(ue, e, void 0, a.REPO_ENDPOINT)), Da = (e) => {
|
|
743
|
+
let t = wt(new URL(window.location.href), "passwordResetToken");
|
|
739
744
|
return E(`/auth/v1/user/password/reset?passwordResetEndpoint=${encodeURIComponent(t)}`, { email: e }, void 0, a.REPO_ENDPOINT);
|
|
740
|
-
},
|
|
745
|
+
}, Oa = (e, t, n, r) => E(`/repo/v1/account/${t}/emailValidation?portalEndpoint=${n}`, { email: e }, r, a.REPO_ENDPOINT), ka = (e, t) => E("/repo/v1/email", e, t, a.REPO_ENDPOINT), Aa = (e, t) => w(`/repo/v1/email?email=${encodeURIComponent(t)}`, e, a.REPO_ENDPOINT), ja = (e, t) => D("/repo/v1/notificationEmail", { email: e }, t, a.REPO_ENDPOINT), Ma = (e, t) => T(`/repo/v1/project/${e}/forum`, t, a.REPO_ENDPOINT), Na = (e, t) => T(`/repo/v1/reply/${e}`, t, a.REPO_ENDPOINT), Pa = (e, t) => E("/repo/v1/reply", e, t, a.REPO_ENDPOINT), Fa = (e, t) => D(`/repo/v1/reply/${e.replyId}/message`, { messageMarkdown: e.messageMarkdown }, t, a.REPO_ENDPOINT), Ia = (e, t) => w(`/repo/v1/reply/${t}`, e, a.REPO_ENDPOINT), La = (e, t, n = 30, r = 0, i = Pt.CREATED_ON, o = !0, s = Nt.EXCLUDE_DELETED) => {
|
|
741
746
|
let c = new URLSearchParams();
|
|
742
747
|
return c.set("offset", r.toString()), c.set("limit", n.toString()), c.set("sort", i), c.set("ascending", o.toString()), c.set("filter", s), T(`${b}/${t}/replies?${c.toString()}`, e, a.REPO_ENDPOINT);
|
|
743
|
-
},
|
|
748
|
+
}, Ra = (e, t) => T(`/repo/v1/reply/messageUrl?messageKey=${e}`, t, a.REPO_ENDPOINT), za = (e, t) => D(`${x(t)}/pin`, void 0, e, a.REPO_ENDPOINT), Ba = (e, t) => D(`${x(t)}/unpin`, void 0, e, a.REPO_ENDPOINT), Va = (e, t) => T(x(e), t, a.REPO_ENDPOINT), Ha = (e, t) => T(`${b}/messageUrl?messageKey=${e}`, t, a.REPO_ENDPOINT), Ua = (e, t) => E(b, t, e, a.REPO_ENDPOINT), Wa = (e, t) => D(`${b}/${t.threadId}/title`, { title: t.title }, e, a.REPO_ENDPOINT), Ga = (e, t) => D(`${b}/${t.threadId}/message`, { messageMarkdown: t.messageMarkdown }, e, a.REPO_ENDPOINT), Ka = (e, t) => w(x(t), e, a.REPO_ENDPOINT), qa = (e, t) => D(`${x(t)}/restore`, void 0, e, a.REPO_ENDPOINT), Ja = (e, t, n = 20, r = 0) => {
|
|
744
749
|
let i = new URLSearchParams();
|
|
745
|
-
return i.set("offset", r.toString()), i.set("limit", n.toString()), T(`${
|
|
750
|
+
return i.set("offset", r.toString()), i.set("limit", n.toString()), T(`${Pe}/${t}/moderators?${i.toString()}`, e, a.REPO_ENDPOINT);
|
|
746
751
|
};
|
|
747
|
-
function
|
|
748
|
-
return Q((n, r) =>
|
|
752
|
+
function Ya(e, t) {
|
|
753
|
+
return Q((n, r) => Ja(e, t, n, r), 20);
|
|
749
754
|
}
|
|
750
|
-
var
|
|
755
|
+
var Xa = (e, t) => T(`${Pe}/${t}`, e, a.REPO_ENDPOINT), Za = (e, t, n) => E(`${Pe}/${t}/search`, e, n, a.REPO_ENDPOINT), Qa = (e, t, n = 0, r = 20, i = Ft.PINNED_AND_LAST_ACTIVITY, o = !0, s = Nt.EXCLUDE_DELETED) => {
|
|
751
756
|
let c = new URLSearchParams();
|
|
752
757
|
return c.set("offset", n.toString()), c.set("limit", r.toString()), c.set("sort", i), c.set("ascending", o.toString()), c.set("filter", s), T(`${Fe(t)}?${c.toString()}`, e, a.REPO_ENDPOINT);
|
|
753
|
-
},
|
|
754
|
-
function
|
|
758
|
+
}, $a = (e, t) => E("/repo/v1/accessApproval/search", e, t, a.REPO_ENDPOINT), eo = (e, t) => E(l, e, t, a.REPO_ENDPOINT), to = (e, t) => E(se(e.accessRequirementId), e, t, a.REPO_ENDPOINT), no = (e, t, n) => T(g(e, t ? `${t}` : void 0), n, a.REPO_ENDPOINT);
|
|
759
|
+
function ro(e) {
|
|
755
760
|
return O(() => T(Ve(e) + "?redirect=false", void 0, a.REPO_ENDPOINT));
|
|
756
761
|
}
|
|
757
|
-
function
|
|
758
|
-
return T(
|
|
762
|
+
function io(e, t = 0, n = 25) {
|
|
763
|
+
return T(ft + `?offset=${t}&limit=${n}`, e, a.REPO_ENDPOINT);
|
|
759
764
|
}
|
|
760
|
-
function
|
|
761
|
-
return D(
|
|
765
|
+
function ao(e, t) {
|
|
766
|
+
return D(dt(e), void 0, t, a.REPO_ENDPOINT);
|
|
762
767
|
}
|
|
763
|
-
function
|
|
764
|
-
return D(
|
|
768
|
+
function oo(e, t) {
|
|
769
|
+
return D(ut(e), void 0, t, a.REPO_ENDPOINT);
|
|
765
770
|
}
|
|
766
|
-
function
|
|
771
|
+
function so(e) {
|
|
767
772
|
return T("/repo/v1/certifiedUserTest", e, a.REPO_ENDPOINT);
|
|
768
773
|
}
|
|
769
|
-
function
|
|
774
|
+
function co(e, t) {
|
|
770
775
|
return E("/repo/v1/certifiedUserTestResponse", t, e, a.REPO_ENDPOINT);
|
|
771
776
|
}
|
|
772
|
-
var
|
|
773
|
-
async function
|
|
774
|
-
return await (await fetch(
|
|
777
|
+
var lo = "https://s3.amazonaws.com/geoloc.sagebase.org/", uo = lo + "allPoints.json", fo = lo + "googlemap.txt";
|
|
778
|
+
async function po() {
|
|
779
|
+
return await (await fetch(fo)).text();
|
|
775
780
|
}
|
|
776
|
-
async function
|
|
777
|
-
return await (await fetch(
|
|
781
|
+
async function mo() {
|
|
782
|
+
return await (await fetch(uo)).json();
|
|
778
783
|
}
|
|
779
|
-
async function
|
|
780
|
-
let t = await fetch(`${
|
|
784
|
+
async function ho(e) {
|
|
785
|
+
let t = await fetch(`${lo}${e}.json`);
|
|
781
786
|
return t.status == 200 ? await t.json() : [];
|
|
782
787
|
}
|
|
783
|
-
function
|
|
788
|
+
function go(e, t = 100, n = 0, r) {
|
|
784
789
|
let i = new URLSearchParams();
|
|
785
790
|
return i.set("limit", t.toString()), i.set("offset", n.toString()), i.set("objectType", r.objectType), r.sortBy && i.set("sortBy", r.sortBy), r.sortDirection && i.set("sortDirection", r.sortDirection), T(`/repo/v1/subscription/all?${i.toString()}`, e, a.REPO_ENDPOINT);
|
|
786
791
|
}
|
|
787
|
-
function
|
|
792
|
+
function _o(e, t) {
|
|
788
793
|
return T(`/repo/v1/subscription/${t}`, e, a.REPO_ENDPOINT);
|
|
789
794
|
}
|
|
790
|
-
function
|
|
795
|
+
function vo(e, t) {
|
|
791
796
|
return E("/repo/v1/subscription/subscribers", t, e, a.REPO_ENDPOINT);
|
|
792
797
|
}
|
|
793
|
-
function
|
|
798
|
+
function yo(e, t) {
|
|
794
799
|
return E("/repo/v1/subscription", t, e, a.REPO_ENDPOINT);
|
|
795
800
|
}
|
|
796
|
-
function
|
|
801
|
+
function bo(e, t) {
|
|
797
802
|
return w(`/repo/v1/subscription/${t}`, e, a.REPO_ENDPOINT);
|
|
798
803
|
}
|
|
799
|
-
function
|
|
804
|
+
function xo(e, t) {
|
|
800
805
|
return E("/repo/v1/subscription/list", t, e, a.REPO_ENDPOINT);
|
|
801
806
|
}
|
|
802
|
-
function
|
|
807
|
+
function So(e, t) {
|
|
803
808
|
return T(`/file/v1/entity/${e}/uploadDestination`, t, a.REPO_ENDPOINT);
|
|
804
809
|
}
|
|
805
|
-
function
|
|
810
|
+
function Co(e, t, n) {
|
|
806
811
|
return T(`/file/v1/entity/${e}/uploadDestination/${t}`, n, a.REPO_ENDPOINT);
|
|
807
812
|
}
|
|
808
|
-
function
|
|
813
|
+
function wo(e, t, n, r = "ENTITY") {
|
|
809
814
|
let i = new URLSearchParams();
|
|
810
815
|
return i.set("type", r), i.set("id", t), n && i.set("version", n.toString()), O(() => T(`${he}?${i.toString()}`, e, a.REPO_ENDPOINT));
|
|
811
816
|
}
|
|
812
|
-
function
|
|
817
|
+
function To(e, t, n, r = "ENTITY") {
|
|
813
818
|
let i = new URLSearchParams();
|
|
814
819
|
return i.set("type", r), i.set("id", t), n && i.set("version", n.toString()), O(() => T(`${me}?${i.toString()}`, e, a.REPO_ENDPOINT));
|
|
815
820
|
}
|
|
816
|
-
function
|
|
821
|
+
function Eo(e, t, n) {
|
|
817
822
|
let r = new URLSearchParams();
|
|
818
823
|
return r.set("fileHandleId", e), t && n && (r.set("associatedObjectId", t), r.set("associatedObjectType", n.toString())), `${o(a.PORTAL_ENDPOINT)}/Portal/filehandleassociation?${r.toString()}`;
|
|
819
824
|
}
|
|
820
|
-
var
|
|
825
|
+
var Do = () => T("/Portal/featureflags", void 0, a.PORTAL_ENDPOINT), Oo = (e, t) => T(ye(e), t, a.REPO_ENDPOINT), ko = (e, t, n = 0, r = 20, i = Lt.CREATED_ON, o = Mt.DESC) => {
|
|
821
826
|
let s = new URLSearchParams();
|
|
822
827
|
return s.set("offset", n.toString()), s.set("limit", r.toString()), s.set("sort", i), s.set("sortDirection", o), T(`/repo/v1/entity/${e}/dockerTag?${s.toString()}`, t, a.REPO_ENDPOINT);
|
|
823
828
|
};
|
|
824
|
-
function
|
|
829
|
+
function Ao(e, t, n) {
|
|
825
830
|
let r = new URLSearchParams();
|
|
826
831
|
return n && r.set("nextPageToken", n), T(`/repo/v1/accessRequirement/${t}/subjects?${r.toString()}`, e, a.REPO_ENDPOINT);
|
|
827
832
|
}
|
|
828
|
-
function
|
|
833
|
+
function jo(e, t) {
|
|
829
834
|
return E("/repo/v1/column/batch", {
|
|
830
835
|
list: t.map((e) => ({
|
|
831
836
|
...e,
|
|
@@ -834,19 +839,19 @@ function Do(e, t) {
|
|
|
834
839
|
concreteType: "org.sagebionetworks.repo.model.ListWrapper"
|
|
835
840
|
}, e, a.REPO_ENDPOINT);
|
|
836
841
|
}
|
|
837
|
-
function
|
|
842
|
+
function Mo(e, t) {
|
|
838
843
|
let n = new URLSearchParams();
|
|
839
844
|
return e != null && n.set("viewEntityType", e), t != null && n.set("viewTypeMask", t.toString()), T(`/repo/v1/column/tableview/defaults?${n.toString()}`, void 0, a.REPO_ENDPOINT);
|
|
840
845
|
}
|
|
841
|
-
async function
|
|
846
|
+
async function No(e, t = void 0) {
|
|
842
847
|
return $(async (n) => {
|
|
843
848
|
e.nextPageToken = n;
|
|
844
849
|
let r = await E("/repo/v1/column/view/scope/async/start", e, t, a.REPO_ENDPOINT);
|
|
845
850
|
return F(r.token, `/repo/v1/column/view/scope/async/get/${r.token}`, t);
|
|
846
851
|
});
|
|
847
852
|
}
|
|
848
|
-
var
|
|
849
|
-
let i =
|
|
853
|
+
var Po = async (e, t, n, r) => {
|
|
854
|
+
let i = Ot(n), s = await K(r, "content", new Blob([i], { type: "text/plain" }));
|
|
850
855
|
return {
|
|
851
856
|
recipients: e,
|
|
852
857
|
subject: t,
|
|
@@ -854,19 +859,19 @@ var Ao = async (e, t, n, r) => {
|
|
|
854
859
|
fileHandleId: s.fileHandleId
|
|
855
860
|
};
|
|
856
861
|
};
|
|
857
|
-
async function
|
|
858
|
-
let i = await
|
|
862
|
+
async function Fo(e, t, n, r) {
|
|
863
|
+
let i = await Po(e, t, n, r);
|
|
859
864
|
return E(`${y}/message`, i, r, a.REPO_ENDPOINT);
|
|
860
865
|
}
|
|
861
|
-
async function
|
|
862
|
-
let i = await
|
|
866
|
+
async function Io(e, t, n, r) {
|
|
867
|
+
let i = await Po([], t, n, r);
|
|
863
868
|
return E(`${y}/entity/${e}/message`, i, r, a.REPO_ENDPOINT);
|
|
864
869
|
}
|
|
865
|
-
var
|
|
866
|
-
let r = await E(
|
|
870
|
+
var Lo = (e, t = void 0) => E(re, e, t, a.REPO_ENDPOINT), Ro = (e, t = void 0) => D(pt(e.sessionId), e, t, a.REPO_ENDPOINT), zo = (e, t = void 0) => E(Re, e, t, a.REPO_ENDPOINT), Bo = async (e, t, n) => {
|
|
871
|
+
let r = await E($e, e, t, a.REPO_ENDPOINT);
|
|
867
872
|
return P(r.token, Ie(r.token), t, n);
|
|
868
|
-
},
|
|
873
|
+
}, Vo = (e, t = void 0, n) => E(ie(e.sessionId), e, t, a.REPO_ENDPOINT, { signal: n }), Ho = (e, t = void 0, n) => E(ne(e.jobId), e, t, a.REPO_ENDPOINT, { signal: n }), Uo = (e = void 0, t) => T(ct, e, a.REPO_ENDPOINT, { signal: t }), Wo = (e = void 0, t) => T(lt, e, a.REPO_ENDPOINT, { signal: t }), Go = (e, t = void 0, n) => T(Ue(e), t, a.REPO_ENDPOINT, { signal: n });
|
|
869
874
|
//#endregion
|
|
870
|
-
export {
|
|
875
|
+
export { Gt as SYNAPSE_STORAGE_LOCATION_ID, Ht as SynapseClient_exports, pi as acceptFormData, Oa as addEmailAddressStep1, ka as addEmailAddressStep2, Z as addFileBatchToDownloadListV2, Ar as addFileToDownloadListV2, Nr as addFilesToDownloadListV2, er as addTeamMemberAsAuthenticatedUserOrAdmin, $n as addTeamMemberWithToken, Rn as addUserFavorite, ar as bindInvitationToAuthenticatedUser, xa as bindOAuthProviderToAccount, q as calculateMd5, oa as cancelDataAccessRequest, Ea as changePassword, J as checkUploadComplete, Yi as clearDownloadListV2, ln as complete2FAEnrollment, ri as consentToOAuth2Request, Pr as createACL, ji as createAccessApproval, bi as createAccessRequirement, wi as createAccessRequirementAcl, Lo as createAgentSession, jo as createColumnModels, L as createEntity, An as createEntityACL, zr as createEvaluation, Ur as createEvaluationRound, si as createFormData, ii as createFormGroup, ki as createLockAccessRequirement, Mr as createManifestFromDownloadListV2, nr as createMembershipInvitation, cr as createMembershipRequest, Zr as createOAuthClient, ti as createOAuthClientSecret, jr as createPackageFromDownloadListV2, Li as createPersonalAccessToken, wa as createProfileVerificationSubmission, pn as createProject, un as createRecoveryCodes, Yt as createTableCsvForDownload, Xt as createTablePfbForDownload, Yn as createTeam, yr as createWikiPage, Ci as deleteAccessRequirementAcl, wr as deleteAllSessionAccessTokens, Fi as deleteDownloadList, Pi as deleteDownloadListFiles, Aa as deleteEmail, Pn as deleteEntity, Mn as deleteEntityACL, Br as deleteEvaluation, Gr as deleteEvaluationRound, li as deleteFormData, lr as deleteMemberFromTeam, Qr as deleteOAuthClient, zi as deletePersonalAccessToken, Ia as deleteReply, G as deleteSessionAccessToken, bo as deleteSubscription, Ka as deleteThread, fn as disableTwoFactorAuth, sn as disableTwoFactorAuthForCurrentUser, Za as forumSearch, Ai as getAccessApproval, vi as getAccessRequirement, Si as getAccessRequirementAcl, yi as getAccessRequirementById, Di as getAccessRequirementStatus, W as getAccessTokenFromCookie, no as getActivityForEntity, Zt as getActualFileHandleByIdURL, Bo as getAgentChatAsyncJobResults, Oi as getAllAccessRequirements, Wn as getAllChallengeTeams, $i as getAllDownloadListActionsRequired, Ui as getAllEntityEvaluations, Ya as getAllModerators, $ as getAllOfNextPageTokenPaginatedService, Q as getAllOfPaginatedService, tr as getAllOpenMembershipInvitationsForUser, go as getAllSubscriptions, mo as getAllSynapseUserGeoData, Ln as getAllUserFavorites, No as getAnnotationColumnModels, to as getApprovedSubmissionInfo, F as getAsyncResultBodyFromJobId, P as getAsyncResultFromJobId, ni as getAuthenticatedOn, Xi as getAvailableFilesToDownload, Tn as getBulkFiles, so as getCertifyQuiz, Un as getChallengeTeams, Ho as getChatAgentTraceEvents, on as getCurrentUserTwoFactorEnrollmentStatus, To as getDOI, wo as getDOIAssociation, ra as getDataAccessRequestForUpdate, Mo as getDefaultColumnModels, So as getDefaultUploadDestination, ko as getDockerTag, Mi as getDownloadList, Qi as getDownloadListActionsRequired, Zi as getDownloadListStatistics, Ni as getDownloadOrder, En as getEntity, Hi as getEntityACL, On as getEntityAlias, Fn as getEntityBundleV2, Jn as getEntityChallenge, Cn as getEntityChildren, Oo as getEntityDownloadActionsRequired, kn as getEntityHeader, B as getEntityHeaders, Dn as getEntityHeadersByIds, ma as getEntityJson, Gi as getEntityPath, Wi as getEntityPermissions, Ki as getEntityVersions, In as getEntityWiki, Lr as getEvaluation, Ir as getEvaluationPermissions, Vr as getEvaluationRound, Hr as getEvaluationRoundsList, Kr as getEvaluationSubmissions, xn as getEvaluations, Do as getFeatureFlags, M as getFileHandleById, N as getFileHandleByIdURL, X as getFileHandleContent, Or as getFileHandleContentFromID, kr as getFileResult, z as getFiles, ai as getFormACL, Ma as getForum, Xa as getForumMetadata, Qa as getForumThreads, en as getFullQueryTableResults, po as getGoogleMapsApiKey, bn as getGroupHeadersBatch, ir as getInviteeVerificationSignedToken, or as getIsUserMemberOfTeam, io as getItemsInTrashCan, rr as getMembershipInvitation, sr as getMembershipStatus, Ja as getModerators, Bi as getMyProjects, gn as getMyUserBundle, ga as getNotificationEmail, Xr as getOAuth2, Yr as getOAuth2Client, qr as getOAuth2RequestDescription, H as getOpenMembershipInvitationsForUser, Vn as getPassingRecord, Ri as getPersonalAccessTokenRecords, Eo as getPortalFileHandleServletUrl, _r as getPresignedUrlForWikiAttachment, Cr as getPrincipalAliasRequest, ro as getProfilePicPreviewPresignedUrl, hi as getProjectStatistics, Go as getProjectStorageUsage, Qt as getQueryTableAsyncJobResults, I as getQueryTableResults, La as getReplies, Na as getReply, Ra as getReplyMessageUrl, na as getResearchProject, gi as getRestrictionInformation, _i as getRestrictionInformationBatch, Kt as getRootURL, mr as getRootWikiPageKey, da as getSchema, la as getSchemaBinding, ua as getSchemaValidationResults, $t as getSearchQueryAsyncJobResults, Vo as getSessionHistory, Ao as getSubjects, sa as getSubmissionById, Kn as getSubmissionEligibility, Gn as getSubmissionTeams, vo as getSubscribers, _o as getSubscription, ho as getSynapseTeamGeoData, ur as getTeam, Zn as getTeamAccessRequirements, dr as getTeamList, Qn as getTeamMembers, Uo as getTermsOfServiceInfo, Wo as getTermsOfServiceStatus, Va as getThread, Ha as getThreadMessageUrl, Co as getUploadDestinationForStorageLocation, Sr as getUseUtcTimeFromCookie, hn as getUserBundle, Bn as getUserChallenges, V as getUserFavorites, vn as getUserGroupHeaders, R as getUserProfile, mn as getUserProfileById, Sn as getUserProfiles, Vi as getUserProjects, Xn as getUserTeamList, fa as getValidationSchema, qt as getVersion, hr as getWikiAttachmentsFromEntity, gr as getWikiAttachmentsFromEvaluation, vr as getWikiPage, pr as getWikiPageKeyForAccessRequirement, fr as getWikiPageKeyForEntity, pa as hasAccessToEntity, Jr as hasUserAuthorizedOAuthClient, _a as isAliasAvailable, xr as isInSynapseExperimentalMode, ei as isOAuthClientReverificationRequired, zo as listAgentSessions, di as listFormData, fi as listFormDataAsFormAdmin, tn as login, nn as loginWith2fa, wn as lookupChildEntity, ba as oAuthRegisterAccountStep2, an as oAuthSessionRequest, rn as oAuthUrlRequest, za as pinThread, co as postCertifiedUserTestResponse, Pa as postReply, yo as postSubscription, xo as postSubscriptionList, Ua as postThread, yn as postUserGroupHeadersWithAlias, oo as purgeFromTrashCan, Fa as putReply, Ga as putThreadMessage, Wa as putThreadTitle, va as registerAccountStep1, ya as registerAccountStep2, qn as registerChallengeTeam, mi as rejectFormData, ea as removeItemsFromDownloadListV2, zn as removeUserFavorite, Da as resetPassword, dn as resetTwoFactorAuth, ao as restoreFromTrashCan, qa as restoreThread, Hn as revokeCertification, $a as searchAccessApprovals, Ei as searchAccessRequirements, eo as searchAccessSubmission, qi as searchEntities, Fo as sendMessage, Io as sendMessageToEntityOwner, U as setAccessTokenCookie, Tr as signOut, Ca as signSynapseTermsOfUse, cn as start2FAEnrollment, Y as startMultipartUpload, aa as submitDataAccessRequest, ui as submitFormData, Fr as submitToEvaluation, Ba as unPinThread, Sa as unbindOAuthProviderToAccount, xi as updateAccessRequirement, Ti as updateAccessRequirementAcl, Ro as updateAgentSession, ia as updateDataAccessRequest, Nn as updateEntity, jn as updateEntityACL, ha as updateEntityJson, Rr as updateEvaluation, Wr as updateEvaluationRound, oi as updateFormACL, ci as updateFormData, _n as updateMyUserProfile, ja as updateNotificationEmail, $r as updateOAuthClient, ta as updateResearchProject, ca as updateSubmissionStatus, Ii as updateTable, Ta as updateVerificationSubmissionState, br as updateWikiPage, K as uploadFile, Jt as validateDefiningSql };
|
|
871
876
|
|
|
872
877
|
//# sourceMappingURL=SynapseClient.js.map
|