@globus/sdk 0.1.3-alpha.0 → 0.1.4-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.cjs.js +1 -1
- package/dist/browser.esm.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +4 -4
- package/dist/types/src/__utils__/service-test-suite.d.ts +0 -14
- package/dist/types/src/__utils__/service-test-suite.d.ts.map +0 -1
- package/dist/types/src/index.d.ts +0 -6
- package/dist/types/src/index.d.ts.map +0 -1
- package/dist/types/src/lib/core/authorization.d.ts +0 -21
- package/dist/types/src/lib/core/authorization.d.ts.map +0 -1
- package/dist/types/src/lib/core/consent.d.ts +0 -6
- package/dist/types/src/lib/core/consent.d.ts.map +0 -1
- package/dist/types/src/lib/core/errors.d.ts +0 -5
- package/dist/types/src/lib/core/errors.d.ts.map +0 -1
- package/dist/types/src/lib/core/fetch.d.ts +0 -7
- package/dist/types/src/lib/core/fetch.d.ts.map +0 -1
- package/dist/types/src/lib/core/global.d.ts +0 -37
- package/dist/types/src/lib/core/global.d.ts.map +0 -1
- package/dist/types/src/lib/core/internals/__mocks__/fetch.d.ts +0 -2
- package/dist/types/src/lib/core/internals/__mocks__/fetch.d.ts.map +0 -1
- package/dist/types/src/lib/core/internals/fetch.d.ts +0 -2
- package/dist/types/src/lib/core/internals/fetch.d.ts.map +0 -1
- package/dist/types/src/lib/core/storage/index.d.ts +0 -19
- package/dist/types/src/lib/core/storage/index.d.ts.map +0 -1
- package/dist/types/src/lib/core/storage/local-storage.d.ts +0 -8
- package/dist/types/src/lib/core/storage/local-storage.d.ts.map +0 -1
- package/dist/types/src/lib/core/storage/memory.d.ts +0 -9
- package/dist/types/src/lib/core/storage/memory.d.ts.map +0 -1
- package/dist/types/src/lib/core/url.d.ts +0 -7
- package/dist/types/src/lib/core/url.d.ts.map +0 -1
- package/dist/types/src/lib/sdk.d.ts +0 -2
- package/dist/types/src/lib/sdk.d.ts.map +0 -1
- package/dist/types/src/lib/services/auth/config.d.ts +0 -4
- package/dist/types/src/lib/services/auth/config.d.ts.map +0 -1
- package/dist/types/src/lib/services/auth/index.d.ts +0 -17
- package/dist/types/src/lib/services/auth/index.d.ts.map +0 -1
- package/dist/types/src/lib/services/auth/types.d.ts +0 -15
- package/dist/types/src/lib/services/auth/types.d.ts.map +0 -1
- package/dist/types/src/lib/services/flows/config.d.ts +0 -14
- package/dist/types/src/lib/services/flows/config.d.ts.map +0 -1
- package/dist/types/src/lib/services/flows/index.d.ts +0 -12
- package/dist/types/src/lib/services/flows/index.d.ts.map +0 -1
- package/dist/types/src/lib/services/flows/service/batch.d.ts +0 -3
- package/dist/types/src/lib/services/flows/service/batch.d.ts.map +0 -1
- package/dist/types/src/lib/services/flows/service/flows.d.ts +0 -13
- package/dist/types/src/lib/services/flows/service/flows.d.ts.map +0 -1
- package/dist/types/src/lib/services/flows/service/runs.d.ts +0 -6
- package/dist/types/src/lib/services/flows/service/runs.d.ts.map +0 -1
- package/dist/types/src/lib/services/globus-connect-server/index.d.ts +0 -13
- package/dist/types/src/lib/services/globus-connect-server/index.d.ts.map +0 -1
- package/dist/types/src/lib/services/globus-connect-server/service/endpoint.d.ts +0 -5
- package/dist/types/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +0 -1
- package/dist/types/src/lib/services/globus-connect-server/service/versioning.d.ts +0 -6
- package/dist/types/src/lib/services/globus-connect-server/service/versioning.d.ts.map +0 -1
- package/dist/types/src/lib/services/search/config.d.ts +0 -12
- package/dist/types/src/lib/services/search/config.d.ts.map +0 -1
- package/dist/types/src/lib/services/search/index.d.ts +0 -10
- package/dist/types/src/lib/services/search/index.d.ts.map +0 -1
- package/dist/types/src/lib/services/search/service/query.d.ts +0 -17
- package/dist/types/src/lib/services/search/service/query.d.ts.map +0 -1
- package/dist/types/src/lib/services/shared.d.ts +0 -6
- package/dist/types/src/lib/services/shared.d.ts.map +0 -1
- package/dist/types/src/lib/services/transfer/config.d.ts +0 -4
- package/dist/types/src/lib/services/transfer/config.d.ts.map +0 -1
- package/dist/types/src/lib/services/transfer/index.d.ts +0 -14
- package/dist/types/src/lib/services/transfer/index.d.ts.map +0 -1
- package/dist/types/src/lib/services/transfer/service/endpoint-search.d.ts +0 -10
- package/dist/types/src/lib/services/transfer/service/endpoint-search.d.ts.map +0 -1
- package/dist/types/src/lib/services/transfer/service/endpoint.d.ts +0 -5
- package/dist/types/src/lib/services/transfer/service/endpoint.d.ts.map +0 -1
- package/dist/types/src/lib/services/transfer/service/file-operations.d.ts +0 -37
- package/dist/types/src/lib/services/transfer/service/file-operations.d.ts.map +0 -1
- package/dist/types/src/lib/services/transfer/service/task-submission.d.ts +0 -21
- package/dist/types/src/lib/services/transfer/service/task-submission.d.ts.map +0 -1
- package/dist/types/src/lib/services/transfer/shared.d.ts +0 -3
- package/dist/types/src/lib/services/transfer/shared.d.ts.map +0 -1
- package/dist/types/src/lib/services/types.d.ts +0 -31
- package/dist/types/src/lib/services/types.d.ts.map +0 -1
- package/dist/types/tsconfig.tsbuildinfo +0 -1
package/dist/browser.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var xe=Object.create;var T=Object.defineProperty,_e=Object.defineProperties,Ie=Object.getOwnPropertyDescriptor,De=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertyNames,
|
|
1
|
+
"use strict";var xe=Object.create;var T=Object.defineProperty,_e=Object.defineProperties,Ie=Object.getOwnPropertyDescriptor,De=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertyNames,ee=Object.getOwnPropertySymbols,we=Object.getPrototypeOf,oe=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable;var te=(t,e,o)=>e in t?T(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,s=(t,e)=>{for(var o in e||={})oe.call(e,o)&&te(t,o,e[o]);if(ee)for(var o of ee(e))Ne.call(e,o)&&te(t,o,e[o]);return t},re=(t,e)=>_e(t,De(e));var u=(t,e)=>{for(var o in e)T(t,o,{get:e[o],enumerable:!0})},ne=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Ae(e))!oe.call(t,n)&&n!==o&&T(t,n,{get:()=>e[n],enumerable:!(r=Ie(e,n))||r.enumerable});return t};var se=(t,e,o)=>(o=t!=null?xe(we(t)):{},ne(e||!t||!t.__esModule?T(o,"default",{value:t,enumerable:!0}):o,t)),Ce=t=>ne(T({},"__esModule",{value:!0}),t);var V=(t,e,o)=>{if(!e.has(t))throw TypeError("Cannot "+o)};var p=(t,e,o)=>(V(t,e,"read from private field"),o?o.call(t):e.get(t)),f=(t,e,o)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,o)},h=(t,e,o,r)=>(V(t,e,"write to private field"),r?r.call(t,o):e.set(t,o),o);var Y=(t,e,o)=>(V(t,e,"access private method"),o);var ie=(t,e,o)=>new Promise((r,n)=>{var Ee=g=>{try{q(o.next(g))}catch(B){n(B)}},Re=g=>{try{q(o.throw(g))}catch(B){n(B)}},q=g=>g.done?r(g.value):Promise.resolve(g.value).then(Ee,Re);q((o=o.apply(t,e)).next())});var rt={};u(rt,{auth:()=>w,authorization:()=>k,sdk:()=>He,search:()=>W,transfer:()=>M});module.exports=Ce(rt);function He(){return"@globus/sdk"}var k={};u(k,{PKCEAuthorization:()=>E,incremental:()=>qe,pkce:()=>We});var Se=se(require("js-pkce"));var w={};u(w,{CONFIG:()=>Ge,getAuthorizationEndpoint:()=>X,getTokenEndpoint:()=>Z});var x={};u(x,{HOSTS:()=>$,ID:()=>m});var m="AUTH",$={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"};var _={};u(_,{HOSTS:()=>J,ID:()=>i});var i="TRANSFER",J={sandbox:"transfer.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"};var I="FLOWS",ae={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"};var D={};u(D,{HOSTS:()=>z,ID:()=>l,SCOPES:()=>j});var l="SEARCH",z={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"},j={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"};var A=class extends Error{constructor(o,r){super();this.name="EnvironmentConfigurationError";this.message=`Invalid configuration value provided for ${o} (${r}).`}};function Oe(){return typeof window!="undefined"?window:process}function Ue(t){return typeof window==typeof t}function ue(t,e=void 0){let o=Oe(),r;return Ue(o)?r=o:r=o.env,t in r?r[t]:e}var ce={PRODUCTION:"production",PREVIEW:"preview",STAGING:"staging",SANDBOX:"sandbox",INTEGRATION:"integration",TEST:"test"};function Q(){let t=ue("GLOBUS_SDK_ENVIRONMENT",ce.PRODUCTION);if(!t||!Object.values(ce).includes(t))throw new A("GLOBUS_SDK_ENVIRONMENT",t);return t}var ct={[m]:m,[i]:i,[I]:I,[l]:l},ke={[m]:$,[i]:J,[I]:ae,[l]:z};function Le(t,e){return ke[t][e]}function pe(t,e=Q()){let o=Le(t,e);return ue(`GLOBUS_SDK_SERVICE_URL_${t}`,o?`https://${o}`:void 0)}function Fe(t,e="",o=Q()){let r=pe(t,o);return new URL(e,r)}function a(t,e,o){let r=Fe(t,e);if(o&&o.search){let n=new URLSearchParams(o.search);r.search=n.toString()}return r.toString()}var Ge=x;function X(){return a(m,"/v2/oauth2/authorize")}function Z(){return a(m,"/v2/oauth2/token")}var S,N=class{constructor(){f(this,S,{})}get(e){return p(this,S)[e]}set(e,o){p(this,S)[e]=o}remove(e){delete p(this,S)[e]}clear(){h(this,S,{})}};S=new WeakMap;var C=class{get(e){let o=localStorage.getItem(e);return o!==null?JSON.parse(o):null}set(e,o){localStorage.setItem(e,JSON.stringify(o))}remove(e){localStorage.removeItem(e)}clear(){localStorage.clear()}};var v;function fe(t="memory"){if(!v){let e;t==="localStorage"?e=C:t==="memory"?e=N:e=t,v=new e}return v}function H(){if(!v)throw Error("You must create a storage system.");return v}function Me(t){let e=t;return!!(e.token_type&&e.access_token)}function me(t){t.scope.split(" ").forEach(e=>{H().set(e,t)})}function ge(t){me(t),"other_tokens"in t&&t.other_tokens.forEach(me)}function P(t){let e=H().get(t);return!e||!Me(e)?null:`${e.token_type} ${e.access_token}`}function le(){H().clear()}var Ke,b,y,R,O,de,U,he,E=class{constructor(e){f(this,O);f(this,U);f(this,b,void 0);f(this,y,void 0);f(this,R,void 0);if(Ke=fe("localStorage"),!e.client_id)throw new Error("You must provide a `client_id`.");h(this,y,s({client_id:e.client_id,authorization_endpoint:X(),token_endpoint:Z()},e)),h(this,b,Y(this,O,de).call(this))}reset(){Y(this,U,he).call(this),le()}redirect(){this.reset(),window.location.replace(p(this,b).authorizeUrl())}handleCodeRedirect(){return ie(this,arguments,function*(e={removeStateAndReplaceLocation:!0}){let o=new URL(window.location.href),r=new URLSearchParams(o.search);if(!r.get("code"))return;let n=yield p(this,b).exchangeForAccessToken(o.toString());h(this,R,n),ge(p(this,R)),e.removeStateAndReplaceLocation&&(r.delete("code"),r.delete("state"),o.search=r.toString(),window.location.replace(o))})}hasToken(){return p(this,y).requested_scopes.split(" ").every(e=>!!P(e))}revoke(){this.reset()}};b=new WeakMap,y=new WeakMap,R=new WeakMap,O=new WeakSet,de=function(){return new Se.default(p(this,y))},U=new WeakSet,he=function(){sessionStorage.removeItem("pkce_state"),sessionStorage.removeItem("pkce_code_verifier")};function We(t){return new E(t)}function qe(t){return new E(t)}var M={};u(M,{CONFIG:()=>Ze,endpoint:()=>G,endpointSearch:()=>et,fileOperations:()=>L,taskSubmission:()=>F});var be=se(require("cross-fetch")),ye=be.default;function c(t,e,o={}){let r=o.headers||{};if(!(r!=null&&r.Authorization)){let n=P(t);n&&(r.Authorization=n)}return ye(e,re(s({},o),{headers:r}))}var Be=function(t,e){var o;return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,"/v0.10/endpoint_search",{search:t!=null?t:{}}),(o=e==null?void 0:e.fetch)==null?void 0:o.options)},Te=Be;var L={};u(L,{ls:()=>Ve,mkdir:()=>Ye,rename:()=>$e,symlink:()=>Je});function d(t){return t==="get"?{}:{"Content-Type":"application/json"}}var Ve=function(t,e,o){var r;return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,`/v0.10/operation/endpoint/${t}/ls`,{search:e}),(r=o==null?void 0:o.fetch)==null?void 0:r.options)},Ye=function(t,e,o){var n;let r=s({DATA_TYPE:"mkdir"},e==null?void 0:e.payload);return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,`/v0.10/operation/endpoint/${t}/mkdir`),s({method:"post",body:JSON.stringify(r),headers:d("post")},(n=o==null?void 0:o.fetch)==null?void 0:n.options))},$e=function(t,e,o){var n;let r=s({DATA_TYPE:"rename"},e==null?void 0:e.payload);return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,`/v0.10/operation/endpoint/${t}/rename`),s({method:"post",body:JSON.stringify(r),headers:d("post")},(n=o==null?void 0:o.fetch)==null?void 0:n.options))},Je=function(t,e,o){var n;let r=s({DATA_TYPE:"symlink"},e==null?void 0:e.payload);return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,`/v0.10/operation/endpoint/${t}/symlink`),s({method:"post",body:JSON.stringify(r),headers:d("post")},(n=o==null?void 0:o.fetch)==null?void 0:n.options))};var F={};u(F,{submissionId:()=>Qe,submitDelete:()=>ze,submitTransfer:()=>je});var ze=function(t,e){var r;let o=s({DATA_TYPE:"delete"},t==null?void 0:t.payload);return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,"/v0.10/delete"),s({method:"post",body:JSON.stringify(o),headers:d("post")},(r=e==null?void 0:e.fetch)==null?void 0:r.options))},je=function(t,e){var o;return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,"/v0.10/transfer"),s({method:"post",body:JSON.stringify(s({DATA_TYPE:"transfer"},t==null?void 0:t.payload)),headers:d("post")},(o=e==null?void 0:e.fetch)==null?void 0:o.options))};function Qe(t){var e;return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,"/v0.10/submission_id"),s({},(e=t==null?void 0:t.fetch)==null?void 0:e.options))}var G={};u(G,{get:()=>Xe});var Xe=function(t,e,o){var r;return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,`/v0.10/endpoint/${t}`),s({},(r=o==null?void 0:o.fetch)==null?void 0:r.options))};var Ze=_,et=Te;var W={};u(W,{CONFIG:()=>ot,query:()=>K});var K={};u(K,{get:()=>tt});var tt=function(t,e,o){var r;return c(j.SEARCH,a(l,`/v1/index/${t}/search`,{search:e}),s({},(r=o==null?void 0:o.fetch)==null?void 0:r.options))};var ot=D;
|
package/dist/browser.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var te=Object.defineProperty,ye=Object.defineProperties;var Te=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var ve=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var ee=(t,e,o)=>e in t?te(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,n=(t,e)=>{for(var o in e||={})ve.call(e,o)&&ee(t,o,e[o]);if(Z)for(var o of Z(e))Ee.call(e,o)&&ee(t,o,e[o]);return t},oe=(t,e)=>ye(t,Te(e));var u=(t,e)=>{for(var o in e)te(t,o,{get:e[o],enumerable:!0})};var M=(t,e,o)=>{if(!e.has(t))throw TypeError("Cannot "+o)};var p=(t,e,o)=>(M(t,e,"read from private field"),o?o.call(t):e.get(t)),f=(t,e,o)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,o)},h=(t,e,o,r)=>(M(t,e,"write to private field"),r?r.call(t,o):e.set(t,o),o);var K=(t,e,o)=>(M(t,e,"access private method"),o);var re=(t,e,o)=>new Promise((r,s)=>{var he=g=>{try{F(o.next(g))}catch(G){s(G)}},be=g=>{try{F(o.throw(g))}catch(G){s(G)}},F=g=>g.done?r(g.value):Promise.resolve(g.value).then(he,be);F((o=o.apply(t,e)).next())});function je(){return"@globus/sdk"}var j={};u(j,{PKCEAuthorization:()=>v,incremental:()=>Oe,pkce:()=>Pe});import Ce from"js-pkce";var z={};u(z,{CONFIG:()=>we,getAuthorizationEndpoint:()=>$,getTokenEndpoint:()=>J});var R={};u(R,{HOSTS:()=>W,ID:()=>m});var m="AUTH",W={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"};var x={};u(x,{HOSTS:()=>q,ID:()=>i});var i="TRANSFER",q={sandbox:"transfer.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"};var _="FLOWS",ne={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"};var I={};u(I,{HOSTS:()=>B,ID:()=>l,SCOPES:()=>V});var l="SEARCH",B={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"},V={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"};var D=class extends Error{constructor(o,r){super();this.name="EnvironmentConfigurationError";this.message=`Invalid configuration value provided for ${o} (${r}).`}};function xe(){return typeof window!="undefined"?window:process}function _e(t){return typeof window==typeof t}function ie(t,e=void 0){let o=xe(),r;return _e(o)?r=o:r=o.env,t in r?r[t]:e}var se={PRODUCTION:"production",PREVIEW:"preview",STAGING:"staging",SANDBOX:"sandbox",INTEGRATION:"integration",TEST:"test"};function Y(){let t=ie("GLOBUS_SDK_ENVIRONMENT",se.PRODUCTION);if(!t||!Object.values(se).includes(t))throw new D("GLOBUS_SDK_ENVIRONMENT",t);return t}var et={[m]:m,[i]:i,[_]:_,[l]:l},Ie={[m]:W,[i]:q,[_]:ne,[l]:B};function De(t,e){return Ie[t][e]}function ae(t,e=Y()){let o=De(t,e);return ie(`GLOBUS_SDK_SERVICE_URL_${t}`,o?`https://${o}`:void 0)}function Ae(t,e="",o=Y()){let r=ae(t,o);return new URL(e,r)}function a(t,e,o){let r=Ae(t,e);if(o&&o.search){let s=new URLSearchParams(o.search);r.search=s.toString()}return r.toString()}var we=R;function $(){return a(m,"/v2/oauth2/authorize")}function J(){return a(m,"/v2/oauth2/token")}var S,A=class{constructor(){f(this,S,{})}get(e){return p(this,S)[e]}set(e,o){p(this,S)[e]=o}remove(e){delete p(this,S)[e]}clear(){h(this,S,{})}};S=new WeakMap;var w=class{get(e){let o=localStorage.getItem(e);return o!==null?JSON.parse(o):null}set(e,o){localStorage.setItem(e,JSON.stringify(o))}remove(e){localStorage.removeItem(e)}clear(){localStorage.clear()}};var T;function ce(t="memory"){if(!T){let e;t==="localStorage"?e=w:t==="memory"?e=A:e=t,T=new e}return T}function N(){if(!T)throw Error("You must create a storage system.");return T}function Ne(t){let e=t;return!!(e.token_type&&e.access_token)}function ue(t){t.scope.split(" ").forEach(e=>{N().set(e,t)})}function pe(t){ue(t),"other_tokens"in t&&t.other_tokens.forEach(ue)}function C(t){let e=N().get(t);return!e||!Ne(e)?null:`${e.token_type} ${e.access_token}`}function fe(){N().clear()}var He,b,y,E,H,me,P,ge,v=class{constructor(e){f(this,H);f(this,P);f(this,b,void 0);f(this,y,void 0);f(this,E,void 0);if(He=ce("localStorage"),!e.client_id)throw new Error("You must provide a `client_id`.");h(this,y,n({client_id:e.client_id,authorization_endpoint:$(),token_endpoint:J()},e)),h(this,b,K(this,H,me).call(this))}reset(){K(this,P,ge).call(this),fe()}redirect(){this.reset(),window.location.replace(p(this,b).authorizeUrl())}handleCodeRedirect(){return re(this,arguments,function*(e={removeStateAndReplaceLocation:!0}){let o=new URL(window.location.href),r=new URLSearchParams(o.search);if(!r.get("code"))return;let s=yield p(this,b).exchangeForAccessToken(o.toString());h(this,E,s),pe(p(this,E)),e.removeStateAndReplaceLocation&&(r.delete("code"),r.delete("state"),o.search=r.toString(),window.location.replace(o))})}hasToken(){return p(this,y).requested_scopes.split(" ").every(e=>!!C(e))}revoke(){this.reset()}};b=new WeakMap,y=new WeakMap,E=new WeakMap,H=new WeakSet,me=function(){return new Ce(p(this,y))},P=new WeakSet,ge=function(){sessionStorage.removeItem("pkce_state"),sessionStorage.removeItem("pkce_code_verifier")};function Pe(t){return new v(t)}function Oe(t){return new v(t)}var Q={};u(Q,{CONFIG:()=>Ve,endpoint:()=>k,endpointSearch:()=>Ye,fileOperations:()=>O,taskSubmission:()=>U});import Ue from"cross-fetch";var le=Ue;function c(t,e,o={}){let r=o.headers||{};if(!(r!=null&&r.Authorization)){let s=C(t);s&&(r.Authorization=s)}return le(e,oe(n({},o),{headers:r}))}var ke=function(t,e){var o;return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,"/v0.10/endpoint_search",{search:t!=null?t:{}}),(o=e==null?void 0:e.fetch)==null?void 0:o.options)},Se=ke;var O={};u(O,{ls:()=>Le,mkdir:()=>Fe,rename:()=>Ge,symlink:()=>Me});function d(t){return t==="get"?{}:{"Content-Type":"application/json"}}var Le=function(t,e,o){var r;return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,`/v0.10/operation/endpoint/${t}/ls`,{search:e}),(r=o==null?void 0:o.fetch)==null?void 0:r.options)},Fe=function(t,e,o){var s;let r=n({DATA_TYPE:"mkdir"},e==null?void 0:e.payload);return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,`/v0.10/operation/endpoint/${t}/mkdir`),n({method:"post",body:JSON.stringify(r),headers:d("post")},(s=o==null?void 0:o.fetch)==null?void 0:s.options))},Ge=function(t,e,o){var s;let r=n({DATA_TYPE:"rename"},e==null?void 0:e.payload);return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,`/v0.10/operation/endpoint/${t}/rename`),n({method:"post",body:JSON.stringify(r),headers:d("post")},(s=o==null?void 0:o.fetch)==null?void 0:s.options))},Me=function(t,e,o){var s;let r=n({DATA_TYPE:"symlink"},e==null?void 0:e.payload);return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,`/v0.10/operation/endpoint/${t}/symlink`),n({method:"post",body:JSON.stringify(r),headers:d("post")},(s=o==null?void 0:o.fetch)==null?void 0:s.options))};var U={};u(U,{submissionId:()=>qe,submitDelete:()=>Ke,submitTransfer:()=>We});var Ke=function(t,e){var r;let o=n({DATA_TYPE:"delete"},t==null?void 0:t.payload);return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,"/v0.10/delete"),n({method:"post",body:JSON.stringify(o),headers:d("post")},(r=e==null?void 0:e.fetch)==null?void 0:r.options))},We=function(t,e){var o;return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,"/v0.10/transfer"),n({method:"post",body:JSON.stringify(n({DATA_TYPE:"transfer"},t==null?void 0:t.payload)),headers:d("post")},(o=e==null?void 0:e.fetch)==null?void 0:o.options))};function qe(t){var e;return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,"/v0.10/submission_id"),n({},(e=t==null?void 0:t.fetch)==null?void 0:e.options))}var k={};u(k,{get:()=>Be});var Be=function(t,e,o){var r;return c("urn:globus:auth:scope:transfer.api.globus.org:all",a(i,`/v0.10/endpoint/${t}`),n({},(r=o==null?void 0:o.fetch)==null?void 0:r.options))};var Ve=x,Ye=Se;var X={};u(X,{CONFIG:()=>Je,query:()=>L});var L={};u(L,{get:()=>$e});var $e=function(t,e,o){var r;return c(V.SEARCH,a(l,`/v1/index/${t}/search`,{search:e}),n({},(r=o==null?void 0:o.fetch)==null?void 0:r.options))};var Je=I;export{z as auth,j as authorization,je as sdk,X as search,Q as transfer};
|
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var ge=Object.create;var v=Object.defineProperty;var le=Object.getOwnPropertyDescriptor;var Se=Object.getOwnPropertyNames;var de=Object.getPrototypeOf,he=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var o in e)v(t,o,{get:e[o],enumerable:!0})},
|
|
1
|
+
"use strict";var ge=Object.create;var v=Object.defineProperty;var le=Object.getOwnPropertyDescriptor;var Se=Object.getOwnPropertyNames;var de=Object.getPrototypeOf,he=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var o in e)v(t,o,{get:e[o],enumerable:!0})},j=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Se(e))!he.call(t,n)&&n!==o&&v(t,n,{get:()=>e[n],enumerable:!(r=le(e,n))||r.enumerable});return t};var Q=(t,e,o)=>(o=t!=null?ge(de(t)):{},j(e||!t||!t.__esModule?v(o,"default",{value:t,enumerable:!0}):o,t)),be=t=>j(v({},"__esModule",{value:!0}),t);var P=(t,e,o)=>{if(!e.has(t))throw TypeError("Cannot "+o)};var p=(t,e,o)=>(P(t,e,"read from private field"),o?o.call(t):e.get(t)),u=(t,e,o)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,o)},S=(t,e,o,r)=>(P(t,e,"write to private field"),r?r.call(t,o):e.set(t,o),o);var O=(t,e,o)=>(P(t,e,"access private method"),o);var Be={};c(Be,{auth:()=>W,authorization:()=>q,sdk:()=>ye,search:()=>z,transfer:()=>$});module.exports=be(Be);function ye(){return"@globus/sdk"}var q={};c(q,{PKCEAuthorization:()=>y,incremental:()=>Ne,pkce:()=>we});var ie=Q(require("js-pkce"));var W={};c(W,{CONFIG:()=>Ie,getAuthorizationEndpoint:()=>M,getTokenEndpoint:()=>K});var E={};c(E,{HOSTS:()=>U,ID:()=>f});var f="AUTH",U={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"};var R={};c(R,{HOSTS:()=>k,ID:()=>s});var s="TRANSFER",k={sandbox:"transfer.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"};var x="FLOWS",X={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"};var _={};c(_,{HOSTS:()=>L,ID:()=>m,SCOPES:()=>F});var m="SEARCH",L={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"},F={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"};var I=class extends Error{name="EnvironmentConfigurationError";constructor(e,o){super(),this.message=`Invalid configuration value provided for ${e} (${o}).`}};function ve(){return typeof window<"u"?window:process}function Ee(t){return typeof window==typeof t}function ee(t,e=void 0){let o=ve(),r;return Ee(o)?r=o:r=o.env,t in r?r[t]:e}var Z={PRODUCTION:"production",PREVIEW:"preview",STAGING:"staging",SANDBOX:"sandbox",INTEGRATION:"integration",TEST:"test"};function G(){let t=ee("GLOBUS_SDK_ENVIRONMENT",Z.PRODUCTION);if(!t||!Object.values(Z).includes(t))throw new I("GLOBUS_SDK_ENVIRONMENT",t);return t}var ze={[f]:f,[s]:s,[x]:x,[m]:m},Re={[f]:U,[s]:k,[x]:X,[m]:L};function xe(t,e){return Re[t][e]}function te(t,e=G()){let o=xe(t,e);return ee(`GLOBUS_SDK_SERVICE_URL_${t}`,o?`https://${o}`:void 0)}function _e(t,e="",o=G()){let r=te(t,o);return new URL(e,r)}function i(t,e,o){let r=_e(t,e);if(o&&o.search){let n=new URLSearchParams(o.search);r.search=n.toString()}return r.toString()}var Ie=E;function M(){return i(f,"/v2/oauth2/authorize")}function K(){return i(f,"/v2/oauth2/token")}var g,D=class{constructor(){u(this,g,{})}get(e){return p(this,g)[e]}set(e,o){p(this,g)[e]=o}remove(e){delete p(this,g)[e]}clear(){S(this,g,{})}};g=new WeakMap;var A=class{get(e){let o=localStorage.getItem(e);return o!==null?JSON.parse(o):null}set(e,o){localStorage.setItem(e,JSON.stringify(o))}remove(e){localStorage.removeItem(e)}clear(){localStorage.clear()}};var b;function oe(t="memory"){if(!b){let e;t==="localStorage"?e=A:t==="memory"?e=D:e=t,b=new e}return b}function w(){if(!b)throw Error("You must create a storage system.");return b}function De(t){let e=t;return!!(e.token_type&&e.access_token)}function re(t){t.scope.split(" ").forEach(e=>{w().set(e,t)})}function ne(t){re(t),"other_tokens"in t&&t.other_tokens.forEach(re)}function N(t){let e=w().get(t);return!e||!De(e)?null:`${e.token_type} ${e.access_token}`}function se(){w().clear()}var Ae,d,h,T,C,ae,H,ce,y=class{constructor(e){u(this,C);u(this,H);u(this,d,void 0);u(this,h,void 0);u(this,T,void 0);if(Ae=oe("localStorage"),!e.client_id)throw new Error("You must provide a `client_id`.");S(this,h,{client_id:e.client_id,authorization_endpoint:M(),token_endpoint:K(),...e}),S(this,d,O(this,C,ae).call(this))}reset(){O(this,H,ce).call(this),se()}redirect(){this.reset(),window.location.replace(p(this,d).authorizeUrl())}async handleCodeRedirect(e={removeStateAndReplaceLocation:!0}){let o=new URL(window.location.href),r=new URLSearchParams(o.search);if(!r.get("code"))return;let n=await p(this,d).exchangeForAccessToken(o.toString());S(this,T,n),ne(p(this,T)),e.removeStateAndReplaceLocation&&(r.delete("code"),r.delete("state"),o.search=r.toString(),window.location.replace(o))}hasToken(){return p(this,h).requested_scopes.split(" ").every(e=>!!N(e))}revoke(){this.reset()}};d=new WeakMap,h=new WeakMap,T=new WeakMap,C=new WeakSet,ae=function(){return new ie.default(p(this,h))},H=new WeakSet,ce=function(){sessionStorage.removeItem("pkce_state"),sessionStorage.removeItem("pkce_code_verifier")};function we(t){return new y(t)}function Ne(t){return new y(t)}var $={};c($,{CONFIG:()=>Me,endpoint:()=>Y,endpointSearch:()=>Ke,fileOperations:()=>B,taskSubmission:()=>V});var pe=Q(require("cross-fetch")),ue=pe.default;function a(t,e,o={}){let r=o.headers||{};if(!(r!=null&&r.Authorization)){let n=N(t);n&&(r.Authorization=n)}return ue(e,{...o,headers:r})}var Ce=function(t,e){var o;return a("urn:globus:auth:scope:transfer.api.globus.org:all",i(s,"/v0.10/endpoint_search",{search:t??{}}),(o=e==null?void 0:e.fetch)==null?void 0:o.options)},fe=Ce;var B={};c(B,{ls:()=>He,mkdir:()=>Pe,rename:()=>Oe,symlink:()=>Ue});function l(t){return t==="get"?{}:{"Content-Type":"application/json"}}var He=function(t,e,o){var r;return a("urn:globus:auth:scope:transfer.api.globus.org:all",i(s,`/v0.10/operation/endpoint/${t}/ls`,{search:e}),(r=o==null?void 0:o.fetch)==null?void 0:r.options)},Pe=function(t,e,o){var n;let r={DATA_TYPE:"mkdir",...e==null?void 0:e.payload};return a("urn:globus:auth:scope:transfer.api.globus.org:all",i(s,`/v0.10/operation/endpoint/${t}/mkdir`),{method:"post",body:JSON.stringify(r),headers:l("post"),...(n=o==null?void 0:o.fetch)==null?void 0:n.options})},Oe=function(t,e,o){var n;let r={DATA_TYPE:"rename",...e==null?void 0:e.payload};return a("urn:globus:auth:scope:transfer.api.globus.org:all",i(s,`/v0.10/operation/endpoint/${t}/rename`),{method:"post",body:JSON.stringify(r),headers:l("post"),...(n=o==null?void 0:o.fetch)==null?void 0:n.options})},Ue=function(t,e,o){var n;let r={DATA_TYPE:"symlink",...e==null?void 0:e.payload};return a("urn:globus:auth:scope:transfer.api.globus.org:all",i(s,`/v0.10/operation/endpoint/${t}/symlink`),{method:"post",body:JSON.stringify(r),headers:l("post"),...(n=o==null?void 0:o.fetch)==null?void 0:n.options})};var V={};c(V,{submissionId:()=>Fe,submitDelete:()=>ke,submitTransfer:()=>Le});var ke=function(t,e){var r;let o={DATA_TYPE:"delete",...t==null?void 0:t.payload};return a("urn:globus:auth:scope:transfer.api.globus.org:all",i(s,"/v0.10/delete"),{method:"post",body:JSON.stringify(o),headers:l("post"),...(r=e==null?void 0:e.fetch)==null?void 0:r.options})},Le=function(t,e){var o;return a("urn:globus:auth:scope:transfer.api.globus.org:all",i(s,"/v0.10/transfer"),{method:"post",body:JSON.stringify({DATA_TYPE:"transfer",...t==null?void 0:t.payload}),headers:l("post"),...(o=e==null?void 0:e.fetch)==null?void 0:o.options})};function Fe(t){var e;return a("urn:globus:auth:scope:transfer.api.globus.org:all",i(s,"/v0.10/submission_id"),{...(e=t==null?void 0:t.fetch)==null?void 0:e.options})}var Y={};c(Y,{get:()=>Ge});var Ge=function(t,e,o){var r;return a("urn:globus:auth:scope:transfer.api.globus.org:all",i(s,`/v0.10/endpoint/${t}`),{...(r=o==null?void 0:o.fetch)==null?void 0:r.options})};var Me=R,Ke=fe;var z={};c(z,{CONFIG:()=>qe,query:()=>J});var J={};c(J,{get:()=>We});var We=function(t,e,o){var r;return a(F.SEARCH,i(m,`/v1/index/${t}/search`,{search:e}),{...(r=o==null?void 0:o.fetch)==null?void 0:r.options})};var qe=_;
|
package/dist/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var ce=Object.defineProperty;var c=(t,e)=>{for(var o in e)ce(t,o,{get:e[o],enumerable:!0})};var
|
|
1
|
+
var ce=Object.defineProperty;var c=(t,e)=>{for(var o in e)ce(t,o,{get:e[o],enumerable:!0})};var H=(t,e,o)=>{if(!e.has(t))throw TypeError("Cannot "+o)};var p=(t,e,o)=>(H(t,e,"read from private field"),o?o.call(t):e.get(t)),u=(t,e,o)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,o)},S=(t,e,o,r)=>(H(t,e,"write to private field"),r?r.call(t,o):e.set(t,o),o);var P=(t,e,o)=>(H(t,e,"access private method"),o);function ke(){return"@globus/sdk"}var oe={};c(oe,{PKCEAuthorization:()=>y,incremental:()=>Te,pkce:()=>ye});import he from"js-pkce";var z={};c(z,{CONFIG:()=>Se,getAuthorizationEndpoint:()=>G,getTokenEndpoint:()=>M});var v={};c(v,{HOSTS:()=>O,ID:()=>f});var f="AUTH",O={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"};var E={};c(E,{HOSTS:()=>U,ID:()=>n});var n="TRANSFER",U={sandbox:"transfer.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"};var R="FLOWS",V={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"};var x={};c(x,{HOSTS:()=>k,ID:()=>m,SCOPES:()=>L});var m="SEARCH",k={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"},L={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"};var _=class extends Error{name="EnvironmentConfigurationError";constructor(e,o){super(),this.message=`Invalid configuration value provided for ${e} (${o}).`}};function ue(){return typeof window<"u"?window:process}function fe(t){return typeof window==typeof t}function $(t,e=void 0){let o=ue(),r;return fe(o)?r=o:r=o.env,t in r?r[t]:e}var Y={PRODUCTION:"production",PREVIEW:"preview",STAGING:"staging",SANDBOX:"sandbox",INTEGRATION:"integration",TEST:"test"};function F(){let t=$("GLOBUS_SDK_ENVIRONMENT",Y.PRODUCTION);if(!t||!Object.values(Y).includes(t))throw new _("GLOBUS_SDK_ENVIRONMENT",t);return t}var Me={[f]:f,[n]:n,[R]:R,[m]:m},me={[f]:O,[n]:U,[R]:V,[m]:k};function ge(t,e){return me[t][e]}function J(t,e=F()){let o=ge(t,e);return $(`GLOBUS_SDK_SERVICE_URL_${t}`,o?`https://${o}`:void 0)}function le(t,e="",o=F()){let r=J(t,o);return new URL(e,r)}function s(t,e,o){let r=le(t,e);if(o&&o.search){let i=new URLSearchParams(o.search);r.search=i.toString()}return r.toString()}var Se=v;function G(){return s(f,"/v2/oauth2/authorize")}function M(){return s(f,"/v2/oauth2/token")}var g,I=class{constructor(){u(this,g,{})}get(e){return p(this,g)[e]}set(e,o){p(this,g)[e]=o}remove(e){delete p(this,g)[e]}clear(){S(this,g,{})}};g=new WeakMap;var D=class{get(e){let o=localStorage.getItem(e);return o!==null?JSON.parse(o):null}set(e,o){localStorage.setItem(e,JSON.stringify(o))}remove(e){localStorage.removeItem(e)}clear(){localStorage.clear()}};var b;function j(t="memory"){if(!b){let e;t==="localStorage"?e=D:t==="memory"?e=I:e=t,b=new e}return b}function A(){if(!b)throw Error("You must create a storage system.");return b}function de(t){let e=t;return!!(e.token_type&&e.access_token)}function Q(t){t.scope.split(" ").forEach(e=>{A().set(e,t)})}function X(t){Q(t),"other_tokens"in t&&t.other_tokens.forEach(Q)}function w(t){let e=A().get(t);return!e||!de(e)?null:`${e.token_type} ${e.access_token}`}function Z(){A().clear()}var be,d,h,T,N,ee,C,te,y=class{constructor(e){u(this,N);u(this,C);u(this,d,void 0);u(this,h,void 0);u(this,T,void 0);if(be=j("localStorage"),!e.client_id)throw new Error("You must provide a `client_id`.");S(this,h,{client_id:e.client_id,authorization_endpoint:G(),token_endpoint:M(),...e}),S(this,d,P(this,N,ee).call(this))}reset(){P(this,C,te).call(this),Z()}redirect(){this.reset(),window.location.replace(p(this,d).authorizeUrl())}async handleCodeRedirect(e={removeStateAndReplaceLocation:!0}){let o=new URL(window.location.href),r=new URLSearchParams(o.search);if(!r.get("code"))return;let i=await p(this,d).exchangeForAccessToken(o.toString());S(this,T,i),X(p(this,T)),e.removeStateAndReplaceLocation&&(r.delete("code"),r.delete("state"),o.search=r.toString(),window.location.replace(o))}hasToken(){return p(this,h).requested_scopes.split(" ").every(e=>!!w(e))}revoke(){this.reset()}};d=new WeakMap,h=new WeakMap,T=new WeakMap,N=new WeakSet,ee=function(){return new he(p(this,h))},C=new WeakSet,te=function(){sessionStorage.removeItem("pkce_state"),sessionStorage.removeItem("pkce_code_verifier")};function ye(t){return new y(t)}function Te(t){return new y(t)}var ie={};c(ie,{CONFIG:()=>Ce,endpoint:()=>q,endpointSearch:()=>He,fileOperations:()=>K,taskSubmission:()=>W});import ve from"cross-fetch";var re=ve;function a(t,e,o={}){let r=o.headers||{};if(!(r!=null&&r.Authorization)){let i=w(t);i&&(r.Authorization=i)}return re(e,{...o,headers:r})}var Ee=function(t,e){var o;return a("urn:globus:auth:scope:transfer.api.globus.org:all",s(n,"/v0.10/endpoint_search",{search:t??{}}),(o=e==null?void 0:e.fetch)==null?void 0:o.options)},ne=Ee;var K={};c(K,{ls:()=>Re,mkdir:()=>xe,rename:()=>_e,symlink:()=>Ie});function l(t){return t==="get"?{}:{"Content-Type":"application/json"}}var Re=function(t,e,o){var r;return a("urn:globus:auth:scope:transfer.api.globus.org:all",s(n,`/v0.10/operation/endpoint/${t}/ls`,{search:e}),(r=o==null?void 0:o.fetch)==null?void 0:r.options)},xe=function(t,e,o){var i;let r={DATA_TYPE:"mkdir",...e==null?void 0:e.payload};return a("urn:globus:auth:scope:transfer.api.globus.org:all",s(n,`/v0.10/operation/endpoint/${t}/mkdir`),{method:"post",body:JSON.stringify(r),headers:l("post"),...(i=o==null?void 0:o.fetch)==null?void 0:i.options})},_e=function(t,e,o){var i;let r={DATA_TYPE:"rename",...e==null?void 0:e.payload};return a("urn:globus:auth:scope:transfer.api.globus.org:all",s(n,`/v0.10/operation/endpoint/${t}/rename`),{method:"post",body:JSON.stringify(r),headers:l("post"),...(i=o==null?void 0:o.fetch)==null?void 0:i.options})},Ie=function(t,e,o){var i;let r={DATA_TYPE:"symlink",...e==null?void 0:e.payload};return a("urn:globus:auth:scope:transfer.api.globus.org:all",s(n,`/v0.10/operation/endpoint/${t}/symlink`),{method:"post",body:JSON.stringify(r),headers:l("post"),...(i=o==null?void 0:o.fetch)==null?void 0:i.options})};var W={};c(W,{submissionId:()=>we,submitDelete:()=>De,submitTransfer:()=>Ae});var De=function(t,e){var r;let o={DATA_TYPE:"delete",...t==null?void 0:t.payload};return a("urn:globus:auth:scope:transfer.api.globus.org:all",s(n,"/v0.10/delete"),{method:"post",body:JSON.stringify(o),headers:l("post"),...(r=e==null?void 0:e.fetch)==null?void 0:r.options})},Ae=function(t,e){var o;return a("urn:globus:auth:scope:transfer.api.globus.org:all",s(n,"/v0.10/transfer"),{method:"post",body:JSON.stringify({DATA_TYPE:"transfer",...t==null?void 0:t.payload}),headers:l("post"),...(o=e==null?void 0:e.fetch)==null?void 0:o.options})};function we(t){var e;return a("urn:globus:auth:scope:transfer.api.globus.org:all",s(n,"/v0.10/submission_id"),{...(e=t==null?void 0:t.fetch)==null?void 0:e.options})}var q={};c(q,{get:()=>Ne});var Ne=function(t,e,o){var r;return a("urn:globus:auth:scope:transfer.api.globus.org:all",s(n,`/v0.10/endpoint/${t}`),{...(r=o==null?void 0:o.fetch)==null?void 0:r.options})};var Ce=E,He=ne;var ae={};c(ae,{CONFIG:()=>Oe,query:()=>B});var B={};c(B,{get:()=>Pe});var Pe=function(t,e,o){var r;return a(L.SEARCH,s(m,`/v1/index/${t}/search`,{search:e}),{...(r=o==null?void 0:o.fetch)==null?void 0:r.options})};var Oe=x;export{z as auth,oe as authorization,ke as sdk,ae as search,ie as transfer};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@globus/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Globus SDK for Javascript",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"test": "jest",
|
|
21
21
|
"coverage": "jest --coverage",
|
|
22
|
-
"build": "node esbuild.js
|
|
22
|
+
"build": "node esbuild.js",
|
|
23
23
|
"watch": "tsc --watch",
|
|
24
24
|
"generate:docs": "npx typedoc ./src/index.ts",
|
|
25
25
|
"prepublish": "npm run build"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"msw": "^1.2.1",
|
|
34
34
|
"ts-jest": "^29.1.0",
|
|
35
35
|
"typedoc": "^0.24.6",
|
|
36
|
-
"typescript": "5.
|
|
36
|
+
"typescript": "5.1.3"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": "^14 || ^16 || ^18"
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"cross-fetch": "^3.1.5",
|
|
43
43
|
"js-pkce": "^1.2.1"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "6ed421d302f0ef2f9392208ba304a5763e4d6603"
|
|
46
46
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { fetch } from "../lib/core/internals/fetch";
|
|
2
|
-
/**
|
|
3
|
-
* Generate a Test Suite (`jest.describe`) for a service, providing a test function.
|
|
4
|
-
*
|
|
5
|
-
* The generated suite will:
|
|
6
|
-
* - Mock (and provide) `fetch`
|
|
7
|
-
* - Configure SDK storage to be Node compatiable ("memory")
|
|
8
|
-
*
|
|
9
|
-
* @param serviceName The name of the service to be tested.
|
|
10
|
-
* @param featureSet The name of the service feature set being tested.
|
|
11
|
-
* @param fn The Jest test function
|
|
12
|
-
*/
|
|
13
|
-
export default function (serviceName: string, featureSet: string, fn: (fetchMock: typeof fetch) => void): void;
|
|
14
|
-
//# sourceMappingURL=service-test-suite.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service-test-suite.d.ts","sourceRoot":"","sources":["../../../../src/__utils__/service-test-suite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAKpD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,WACZ,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,EAAE,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,KAAK,IAAI,QAWtC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from "./lib/sdk";
|
|
2
|
-
export * as authorization from "./lib/core/authorization";
|
|
3
|
-
export * as auth from "./lib/services/auth";
|
|
4
|
-
export * as transfer from "./lib/services/transfer";
|
|
5
|
-
export * as search from "./lib/services/search";
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,IAAI,MAAM,qBAAqB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type IConfig from "js-pkce/dist/IConfig";
|
|
2
|
-
type PKCEConfiguration = {
|
|
3
|
-
client_id?: IConfig["client_id"];
|
|
4
|
-
requested_scopes: IConfig["requested_scopes"];
|
|
5
|
-
redirect_uri: IConfig["redirect_uri"];
|
|
6
|
-
};
|
|
7
|
-
export declare class PKCEAuthorization {
|
|
8
|
-
#private;
|
|
9
|
-
constructor(configuration: PKCEConfiguration);
|
|
10
|
-
reset(): void;
|
|
11
|
-
redirect(): void;
|
|
12
|
-
handleCodeRedirect(options?: {
|
|
13
|
-
removeStateAndReplaceLocation: boolean;
|
|
14
|
-
}): Promise<void>;
|
|
15
|
-
hasToken(): boolean;
|
|
16
|
-
revoke(): void;
|
|
17
|
-
}
|
|
18
|
-
export declare function pkce(configuration: PKCEConfiguration): PKCEAuthorization;
|
|
19
|
-
export declare function incremental(configuration: PKCEConfiguration): PKCEAuthorization;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=authorization.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authorization.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/authorization.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAahD,KAAK,iBAAiB,GAAG;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACjC,gBAAgB,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC9C,YAAY,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;CACvC,CAAC;AAEF,qBAAa,iBAAiB;;gBAKhB,aAAa,EAAE,iBAAiB;IA2B5C,KAAK;IAKL,QAAQ;IAKF,kBAAkB,CAAC,OAAO;;KAA0C;IAiB1E,QAAQ,IAAI,OAAO;IAMnB,MAAM;CAGP;AAED,wBAAgB,IAAI,CAAC,aAAa,EAAE,iBAAiB,qBAEpD;AAED,wBAAgB,WAAW,CAAC,aAAa,EAAE,iBAAiB,qBAE3D"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { TokenResponse } from "../services/auth";
|
|
2
|
-
import ITokenResponse from "js-pkce/dist/ITokenResponse";
|
|
3
|
-
export declare function addTokenResponse(token: ITokenResponse | TokenResponse): void;
|
|
4
|
-
export declare function getTokenForScope(scope: string): string | null;
|
|
5
|
-
export declare function reset(): void;
|
|
6
|
-
//# sourceMappingURL=consent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/consent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAS,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAazD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,GAAG,aAAa,QAKrE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,iBAM7C;AAED,wBAAgB,KAAK,SAEpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,6BAA8B,SAAQ,KAAK;IAC7C,IAAI,SAAmC;gBACpC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;CAIzC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
type GlobusScope = string;
|
|
2
|
-
export type FetchOverrides = (Omit<RequestInit, "headers"> & {
|
|
3
|
-
headers?: Record<string, string>;
|
|
4
|
-
}) | undefined;
|
|
5
|
-
export declare function fetchWithScope(scope: GlobusScope, input: RequestInfo | URL, fetchOverrides?: FetchOverrides): Promise<Response>;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=fetch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/fetch.ts"],"names":[],"mappings":"AAGA,KAAK,WAAW,GAAG,MAAM,CAAC;AAE1B,MAAM,MAAM,cAAc,GACtB,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC,CAAC,GACF,SAAS,CAAC;AAEd,wBAAgB,cAAc,CAC5B,KAAK,EAAE,WAAW,EAClB,KAAK,EAAE,WAAW,GAAG,GAAG,EACxB,cAAc,GAAE,cAAmB,qBAiBpC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Handlers for: GLOBUS_SDK_ENVIRONMENT
|
|
3
|
-
*/
|
|
4
|
-
export declare const ENVIRONMENTS: {
|
|
5
|
-
readonly PRODUCTION: "production";
|
|
6
|
-
readonly PREVIEW: "preview";
|
|
7
|
-
readonly STAGING: "staging";
|
|
8
|
-
readonly SANDBOX: "sandbox";
|
|
9
|
-
readonly INTEGRATION: "integration";
|
|
10
|
-
readonly TEST: "test";
|
|
11
|
-
};
|
|
12
|
-
export type Environment = (typeof ENVIRONMENTS)[keyof typeof ENVIRONMENTS];
|
|
13
|
-
export declare function getEnvironment(): Environment;
|
|
14
|
-
export declare const SERVICES: {
|
|
15
|
-
AUTH: string;
|
|
16
|
-
TRANSFER: string;
|
|
17
|
-
FLOWS: string;
|
|
18
|
-
SEARCH: string;
|
|
19
|
-
};
|
|
20
|
-
export type Service = keyof typeof SERVICES;
|
|
21
|
-
export declare const SERVICE_HOSTS: Record<Service, Partial<Record<Environment, string>>>;
|
|
22
|
-
/**
|
|
23
|
-
* Handlers for: GLOBUS_SDK_VERIFY_SSL
|
|
24
|
-
* Since disabling SSL is at least not-recommended, we consider
|
|
25
|
-
* this value to always be true, but provide a warning when it set
|
|
26
|
-
* to one of the falsey values for informational purposes.
|
|
27
|
-
*
|
|
28
|
-
* Taking direction from `globus-sdk-python` for possible false values
|
|
29
|
-
* @see https://github.com/globus/globus-sdk-python/blob/18eced9c12e2ec41745d1be183148845198b999c/src/globus_sdk/config/env_vars.py#L20
|
|
30
|
-
*/
|
|
31
|
-
export declare function getVerifySSL(): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Handlers for: GLOBUS_SDK_HTTP_TIMEOUT
|
|
34
|
-
*/
|
|
35
|
-
export declare function getHttpTimeout(): number | null;
|
|
36
|
-
export declare function getServiceBaseUrl(service: Service, environment?: Environment): `https://${string}` | undefined;
|
|
37
|
-
//# sourceMappingURL=global.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/global.ts"],"names":[],"mappings":"AAgCA;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;CAOf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE3E,wBAAgB,cAAc,IAAI,WAAW,CAY5C;AAED,eAAO,MAAM,QAAQ;;;;;CAKpB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE5C,eAAO,MAAM,aAAa,EAAE,MAAM,CAChC,OAAO,EACP,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAMrC,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,YAAY,IAAI,OAAO,CAUtC;AAED;;GAEG;AACH,wBAAgB,cAAc,kBAM7B;AAMD,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,OAAO,EAChB,WAAW,GAAE,WAA8B,mCAO5C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/core/internals/__mocks__/fetch.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,EAAE,cAAc,UAAU,CACN,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/core/internals/fetch.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,KAAK,yBAAS,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Acts as a basic wrapper for storage layers to make their surface APIs consistent.
|
|
3
|
-
*/
|
|
4
|
-
export interface StorageSystem {
|
|
5
|
-
get(key: string): any | undefined;
|
|
6
|
-
set(key: string, value: any): void;
|
|
7
|
-
remove(key: string): void;
|
|
8
|
-
clear(): void;
|
|
9
|
-
}
|
|
10
|
-
type StorageOptions = "localStorage" | "memory" | {
|
|
11
|
-
new (): StorageSystem;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Returns the active storage system or creates an instance for the running process.
|
|
15
|
-
*/
|
|
16
|
-
export declare function createStorage(storageType?: StorageOptions): StorageSystem;
|
|
17
|
-
export default createStorage;
|
|
18
|
-
export declare function getStorage(): StorageSystem;
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/core/storage/index.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS,CAAC;IAClC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IACnC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,IAAI,IAAI,CAAC;CACf;AAGD,KAAK,cAAc,GACf,cAAc,GACd,QAAQ,GACR;IACE,QAAQ,aAAa,CAAC;CACvB,CAAC;AAEN;;GAEG;AACH,wBAAgB,aAAa,CAC3B,WAAW,GAAE,cAAyB,GACrC,aAAa,CAaf;AAED,eAAe,aAAa,CAAC;AAE7B,wBAAgB,UAAU,kBAKzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local-storage.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/core/storage/local-storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,qBAAa,YAAa,YAAW,aAAa;IAChD,GAAG,CAAC,GAAG,EAAE,MAAM;IAKf,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;IAI3B,MAAM,CAAC,GAAG,EAAE,MAAM;IAIlB,KAAK;CAGN"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { StorageSystem } from "./index";
|
|
2
|
-
export declare class MemoryStorage implements StorageSystem {
|
|
3
|
-
#private;
|
|
4
|
-
get(key: string): any;
|
|
5
|
-
set(key: string, value: any): void;
|
|
6
|
-
remove(key: string): void;
|
|
7
|
-
clear(): void;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=memory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/core/storage/memory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,qBAAa,aAAc,YAAW,aAAa;;IAGjD,GAAG,CAAC,GAAG,EAAE,MAAM;IAIf,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;IAI3B,MAAM,CAAC,GAAG,EAAE,MAAM;IAIlB,KAAK;CAGN"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Environment } from "./global";
|
|
2
|
-
import type { Service } from "./global";
|
|
3
|
-
export declare function getServiceURL(service: Service, path?: string, environment?: Environment): URL;
|
|
4
|
-
export declare function build(service: Service, path: string, options?: {
|
|
5
|
-
search?: ConstructorParameters<typeof URLSearchParams>[0];
|
|
6
|
-
}): string;
|
|
7
|
-
//# sourceMappingURL=url.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,WAAW,EAAE,MAAM,UAAU,CAAC;AAC1E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAExC,wBAAgB,aAAa,CAC3B,OAAO,EAAE,OAAO,EAChB,IAAI,SAAK,EACT,WAAW,GAAE,WAA8B,GAC1C,GAAG,CAGL;AAED,wBAAgB,KAAK,CACnB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE;IACR,MAAM,CAAC,EAAE,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3D,UAQF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../../../src/lib/sdk.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,IAAI,MAAM,CAE5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/auth/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,EAAE,SAAS,CAAC;AACzB,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as AUTH from "./config";
|
|
2
|
-
export declare const CONFIG: typeof AUTH;
|
|
3
|
-
import type ITokenResponse from "js-pkce/dist/ITokenResponse";
|
|
4
|
-
export declare function getAuthorizationEndpoint(): string;
|
|
5
|
-
export declare function getTokenEndpoint(): string;
|
|
6
|
-
export type Token = ITokenResponse & {
|
|
7
|
-
resource_server: string;
|
|
8
|
-
id_token?: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* @see https://docs.globus.org/api/auth/reference/#authorization_code_grant_preferred
|
|
12
|
-
*/
|
|
13
|
-
export type TokenResponse = Token & {
|
|
14
|
-
state: string;
|
|
15
|
-
other_tokens: Token[];
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/auth/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,IAAI,MAAM,UAAU,CAAC;AACjC,eAAO,MAAM,MAAM,aAAO,CAAC;AAE3B,OAAO,KAAK,cAAc,MAAM,6BAA6B,CAAC;AAE9D,wBAAgB,wBAAwB,WAEvC;AAED,wBAAgB,gBAAgB,WAE/B;AAED,MAAM,MAAM,KAAK,GAAG,cAAc,GAAG;IACnC,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AACF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,KAAK,EAAE,CAAC;CACvB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import ITokenResponse from "js-pkce/dist/ITokenResponse";
|
|
2
|
-
export declare namespace Globus.Auth {
|
|
3
|
-
type Token = ITokenResponse & {
|
|
4
|
-
resource_server: string;
|
|
5
|
-
id_token?: string;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* @see https://docs.globus.org/api/auth/reference/#authorization_code_grant_preferred
|
|
9
|
-
*/
|
|
10
|
-
type TokenResponse = Token & {
|
|
11
|
-
state: string;
|
|
12
|
-
other_tokens: Token[];
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAEzD,yBAAiB,MAAM,CAAC,IAAI,CAAC;IAC3B,KAAY,KAAK,GAAG,cAAc,GAAG;QACnC,eAAe,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF;;OAEG;IACH,KAAY,aAAa,GAAG,KAAK,GAAG;QAClC,KAAK,EAAE,MAAM,CAAC;QACd,YAAY,EAAE,KAAK,EAAE,CAAC;KACvB,CAAC;CACH"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Environment } from "../../core/global";
|
|
2
|
-
export declare const ID = "FLOWS";
|
|
3
|
-
export declare const HOSTS: Partial<Record<Environment, string>>;
|
|
4
|
-
/**
|
|
5
|
-
* @see https://docs.globus.org/api/flows/overview/#scopes
|
|
6
|
-
*/
|
|
7
|
-
export declare const SCOPES: {
|
|
8
|
-
MANAGE_FLOWS: string;
|
|
9
|
-
VIEW_FLOWS: string;
|
|
10
|
-
RUN: string;
|
|
11
|
-
RUN_STATUS: string;
|
|
12
|
-
RUN_MANAGE: string;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,EAAE,UAAU,CAAC;AAC1B,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;CAUlB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description A wrapper around the Globus Flows service.
|
|
3
|
-
* @category Service
|
|
4
|
-
* @see [Globus Flows API Documentation](https://docs.globus.org/api/flows/)
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
|
-
import * as FLOWS from "./config";
|
|
8
|
-
export declare const CONFIG: typeof FLOWS;
|
|
9
|
-
export * as flows from "./service/flows";
|
|
10
|
-
export * as runs from "./service/runs";
|
|
11
|
-
export * as batch from "./service/batch";
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/flows/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,eAAO,MAAM,MAAM,cAAQ,CAAC;AAE5B,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/flows/service/batch.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @see https://globusonline.github.io/flows/#tag/Flows/paths/~1flows/get
|
|
3
|
-
*/
|
|
4
|
-
export declare const getAll: (parameters?: Record<string, string> | undefined, options?: import("../../../services/types").SDKOptions | undefined) => Promise<Response>;
|
|
5
|
-
/**
|
|
6
|
-
* @see https://globusonline.github.io/flows/#tag/Flows/paths/~1flows~1{flow_id}/get
|
|
7
|
-
*/
|
|
8
|
-
export declare const get: (flow_id: string, _parameters: undefined, sdkOptions?: import("../../../services/types").SDKOptions | undefined) => Promise<Response>;
|
|
9
|
-
/**
|
|
10
|
-
* @see https://globusonline.github.io/flows/#tag/Flows/paths/~1flows~1{flow_id}/delete
|
|
11
|
-
*/
|
|
12
|
-
export declare const destroy: (flow_id: string, _parameters?: undefined, sdkOptions?: import("../../../services/types").SDKOptions | undefined) => Promise<Response>;
|
|
13
|
-
//# sourceMappingURL=flows.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/flows/service/flows.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,eAAO,MAAM,MAAM,4IAQ8B,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,GAAG,uIAIuC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,OAAO,wIAKmC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @see https://globusonline.github.io/flows/#tag/Runs/paths/~1runs/get
|
|
4
|
-
*/
|
|
5
|
-
export declare const getAll: (parameters?: Record<string, string> | undefined, options?: import("../../../services/types").SDKOptions | undefined) => Promise<Response>;
|
|
6
|
-
//# sourceMappingURL=runs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/flows/service/runs.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,eAAO,MAAM,MAAM,4IAQ8B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description A wrapper around the Globus Flows service.
|
|
3
|
-
* @category Service
|
|
4
|
-
* @see [Globus Connect Server Manager API Documentation](https://docs.globus.org/globus-connect-server/v5.4/api/)
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
|
-
import { build as _build } from "../../core/url";
|
|
8
|
-
type BuildParameters = Parameters<typeof _build>;
|
|
9
|
-
export declare function getRequiredScopes(): string;
|
|
10
|
-
export declare function build(path: BuildParameters[1], options: BuildParameters[2]): string;
|
|
11
|
-
export * as versioning from "./service/versioning";
|
|
12
|
-
export * as endpoint from "./service/endpoint";
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACjD,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAajD,wBAAgB,iBAAiB,WAEhC;AAED,wBAAgB,KAAK,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,UAO1E;AAED,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#getEndpoint
|
|
3
|
-
*/
|
|
4
|
-
export declare const get: (parameters?: Record<string, string> | undefined, options?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
5
|
-
//# sourceMappingURL=endpoint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,GAAG,gIAQiC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Versioning/#getInfo
|
|
4
|
-
*/
|
|
5
|
-
export declare const getAll: (parameters?: Record<string, string> | undefined, options?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
6
|
-
//# sourceMappingURL=versioning.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"versioning.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,MAAM,gIAQ8B,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Environment } from "../../core/global";
|
|
2
|
-
export declare const ID = "SEARCH";
|
|
3
|
-
export declare const HOSTS: Partial<Record<Environment, string>>;
|
|
4
|
-
/**
|
|
5
|
-
* @see https://docs.globus.org/api/search/api_usage/#scopes
|
|
6
|
-
*/
|
|
7
|
-
export declare const SCOPES: {
|
|
8
|
-
ALL: string;
|
|
9
|
-
INGEST: string;
|
|
10
|
-
SEARCH: string;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/search/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,EAAE,WAAW,CAAC;AAC3B,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description A wrapper around the Globus Search service.
|
|
3
|
-
* @category Service
|
|
4
|
-
* @see [Globus Search API Documentation](https://docs.globus.org/api/search/reference/)
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
|
-
import * as SEARCH from "./config";
|
|
8
|
-
export declare const CONFIG: typeof SEARCH;
|
|
9
|
-
export * as query from "./service/query";
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/search/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,eAAO,MAAM,MAAM,eAAS,CAAC;AAE7B,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param index_id The UUID of the index to query.
|
|
3
|
-
* @param parameters The query parameters.
|
|
4
|
-
* @param sdkOptions Optional SDK options and overrides.
|
|
5
|
-
*
|
|
6
|
-
* @see https://docs.globus.org/api/search/reference/get_query/
|
|
7
|
-
*/
|
|
8
|
-
export declare const get: (index_id: string, parameters: {
|
|
9
|
-
q: string;
|
|
10
|
-
offset?: `${number}` | undefined;
|
|
11
|
-
limit?: `${number}` | undefined;
|
|
12
|
-
advanced?: "true" | "false" | undefined;
|
|
13
|
-
bypass_visible_to?: "true" | "false" | undefined;
|
|
14
|
-
result_format_version?: string | undefined;
|
|
15
|
-
filter_principal_sets?: string | undefined;
|
|
16
|
-
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
17
|
-
//# sourceMappingURL=query.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/search/service/query.ts"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,eAAO,MAAM,GAAG;OAgBT,MAAM;;;;;;;8FAQZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/shared.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,EAAE,aAAa,CAAC;AAC7B,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description A wrapper around the Globus Transfer service.
|
|
3
|
-
* @category Service
|
|
4
|
-
* @see [Globus Transfer API Documentation](https://docs.globus.org/api/transfer/)
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
|
-
import * as TRANSFER from "./config";
|
|
8
|
-
export declare const CONFIG: typeof TRANSFER;
|
|
9
|
-
import _endpointSearch from "./service/endpoint-search";
|
|
10
|
-
export declare const endpointSearch: typeof _endpointSearch;
|
|
11
|
-
export * as fileOperations from "./service/file-operations";
|
|
12
|
-
export * as taskSubmission from "./service/task-submission";
|
|
13
|
-
export * as endpoint from "./service/endpoint";
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,MAAM,iBAAW,CAAC;AAE/B,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,eAAO,MAAM,cAAc,wBAAkB,CAAC;AAC9C,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { SDKOptions } from "@sdk/services/types";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://docs.globus.org/api/transfer/endpoint_search/#endpoint_search
|
|
4
|
-
*/
|
|
5
|
-
export default function endpointSearch(
|
|
6
|
-
/**
|
|
7
|
-
* @see https://docs.globus.org/api/transfer/endpoint_search/#query_parameters
|
|
8
|
-
*/
|
|
9
|
-
parameters?: Globus.Transfer.EndpointSearchQuery, options?: SDKOptions): Promise<Response>;
|
|
10
|
-
//# sourceMappingURL=endpoint-search.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint-search.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAItD;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc;AACpC;;GAEG;AACH,UAAU,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,mBAAmB,EAChD,OAAO,CAAC,EAAE,UAAU,qBASrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,eAAO,MAAM,GAAG,sIAYf,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* List the contents of the directory at the specified path on an endpoint’s filesystem.
|
|
3
|
-
* The endpoint must be activated before performing this operation.
|
|
4
|
-
*
|
|
5
|
-
* @see https://docs.globus.org/api/transfer/file_operations/#list_directory_contents
|
|
6
|
-
*/
|
|
7
|
-
export declare const ls: (endpoint_xid: string, parameters?: Globus.Transfer.DirectoryListingQuery | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
8
|
-
/**
|
|
9
|
-
* Create a directory at the specified path on an endpoint filesystem.
|
|
10
|
-
* The endpoint must be activated before performing this operation.
|
|
11
|
-
*
|
|
12
|
-
* @see https://docs.globus.org/api/transfer/file_operations/#make_directory
|
|
13
|
-
*/
|
|
14
|
-
export declare const mkdir: (endpoint_xid: string, options: {
|
|
15
|
-
payload: Omit<Globus.Transfer.Request.Mkdir, "DATA_TYPE">;
|
|
16
|
-
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
17
|
-
/**
|
|
18
|
-
* Rename or move a file, directory, or symlink on an endpoint filesystem.
|
|
19
|
-
* If the object is a symlink, the symlink itself is renamed, not its target
|
|
20
|
-
* The endpoint must be activated before performing this operation.
|
|
21
|
-
* When moving to a different parent directory, the parent directory of the new path must already exist.
|
|
22
|
-
*
|
|
23
|
-
* @see https://docs.globus.org/api/transfer/file_operations/#rename
|
|
24
|
-
*/
|
|
25
|
-
export declare const rename: (endpoint_xid: string, options: {
|
|
26
|
-
payload: Omit<Globus.Transfer.Request.Rename, "DATA_TYPE">;
|
|
27
|
-
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
28
|
-
/**
|
|
29
|
-
* Create a directory at the specified path on an endpoint filesystem.
|
|
30
|
-
* The endpoint must be activated before performing this operation.
|
|
31
|
-
*
|
|
32
|
-
* @see https://docs.globus.org/api/transfer/file_operations/#symlink
|
|
33
|
-
*/
|
|
34
|
-
export declare const symlink: (endpoint_xid: string, options: {
|
|
35
|
-
payload: Omit<Globus.Transfer.Request.Symlink, "DATA_TYPE">;
|
|
36
|
-
} | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
|
|
37
|
-
//# sourceMappingURL=file-operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-operations.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/transfer/service/file-operations.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,EAAE,wKAWd,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK;aAmBL,KAAK,OAAO,QAAQ,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;8FAE5D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM;aAmBN,KAAK,OAAO,QAAQ,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;8FAE7D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO;aAmBP,KAAK,OAAO,QAAQ,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;8FAE9D,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { SDKOptions, ServiceMethod } from "../../types";
|
|
2
|
-
/**
|
|
3
|
-
* Submit a delete task. A delete submission contains a single endpoint and a
|
|
4
|
-
* list of paths to delete.
|
|
5
|
-
*
|
|
6
|
-
* @see https://docs.globus.org/api/transfer/task_submit/#submit_delete_task
|
|
7
|
-
*/
|
|
8
|
-
export declare const submitDelete: ServiceMethod<{
|
|
9
|
-
payload: Omit<Globus.Transfer.Request.Delete, "DATA_TYPE">;
|
|
10
|
-
}>;
|
|
11
|
-
export declare const submitTransfer: ServiceMethod<{
|
|
12
|
-
payload: Omit<Globus.Transfer.Request.Transfer, "DATA_TYPE">;
|
|
13
|
-
}>;
|
|
14
|
-
/**
|
|
15
|
-
* Get a submission id, required when submitting transfer and delete tasks.
|
|
16
|
-
* Note that this is different than the task id returned by the submit operations.
|
|
17
|
-
*
|
|
18
|
-
* @see https://docs.globus.org/api/transfer/task_submit/#get_submission_id
|
|
19
|
-
*/
|
|
20
|
-
export declare function submissionId(options?: SDKOptions): Promise<Response>;
|
|
21
|
-
//# sourceMappingURL=task-submission.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-submission.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/transfer/service/task-submission.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAK7D;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC;IACvC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;CAC5D,CAgBA,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC;IACzC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;CAC9D,CAcA,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,OAAO,CAAC,EAAE,UAAU,qBAQhD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,OAAO,YAAY,GAChC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAOrB"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { FetchOverrides } from "../core/fetch";
|
|
2
|
-
export interface JSONFetchResponse<Res> extends Response {
|
|
3
|
-
json(): Promise<Res>;
|
|
4
|
-
}
|
|
5
|
-
export type SDKOptions = {
|
|
6
|
-
fetch?: {
|
|
7
|
-
options: FetchOverrides;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export type ServiceMethodResponse = {
|
|
11
|
-
/**
|
|
12
|
-
* The raw response from the upstream service.
|
|
13
|
-
*/
|
|
14
|
-
_raw: Record<string, Record<string, any>>;
|
|
15
|
-
/**
|
|
16
|
-
* Information we deem worthwhile to augment responses with.
|
|
17
|
-
* - Timing information, debug information, etc.
|
|
18
|
-
*/
|
|
19
|
-
_metadata: Record<string, any>;
|
|
20
|
-
data: Record<string, any>;
|
|
21
|
-
};
|
|
22
|
-
export type ServiceMethodOptions<Q extends Record<string, string>, P extends Record<string, string>> = {
|
|
23
|
-
query?: Record<string, any> & Q;
|
|
24
|
-
payload?: Record<string, any> & P;
|
|
25
|
-
};
|
|
26
|
-
type Segment = string | Record<string, string>;
|
|
27
|
-
type Options = Record<string, never> | Record<string, any> | ServiceMethodOptions<any, any>;
|
|
28
|
-
export type ServiceMethod<Options, R extends Response = Response> = (methodOptions?: Options, sdkOptions?: SDKOptions) => Promise<R>;
|
|
29
|
-
export type ServiceMethodDynamicSegments<S extends Segment, O extends Options, R extends Response = Response> = (segments: S, methodOptions?: O, sdkOptions?: SDKOptions) => Promise<R>;
|
|
30
|
-
export {};
|
|
31
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,MAAM,WAAW,iBAAiB,CAAC,GAAG,CAAE,SAAQ,QAAQ;IACtD,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;CACtB;AACD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE;QACN,OAAO,EAAE,cAAc,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAC1C;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAChC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAC9B;IACF,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;CACnC,CAAC;AAEF,KAAK,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC/C,KAAK,OAAO,GACR,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACrB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB,oBAAoB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAEnC,MAAM,MAAM,aAAa,CAAC,OAAO,EAAE,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAAI,CAClE,aAAa,CAAC,EAAE,OAAO,EACvB,UAAU,CAAC,EAAE,UAAU,KACpB,OAAO,CAAC,CAAC,CAAC,CAAC;AAEhB,MAAM,MAAM,4BAA4B,CACtC,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAC3B,CAAC,QAAQ,EAAE,CAAC,EAAE,aAAa,CAAC,EAAE,CAAC,EAAE,UAAU,CAAC,EAAE,UAAU,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../node_modules/tslib/tslib.d.ts","../../src/lib/sdk.ts","../../../../../node_modules/js-pkce/dist/iconfig.d.ts","../../../../../node_modules/js-pkce/dist/iobject.d.ts","../../../../../node_modules/js-pkce/dist/itokenresponse.d.ts","../../../../../node_modules/js-pkce/dist/pkce.d.ts","../../src/lib/services/auth/config.ts","../../src/lib/services/transfer/config.ts","../../src/lib/services/flows/config.ts","../../src/lib/services/search/config.ts","../../src/lib/core/errors.ts","../../src/lib/core/global.ts","../../src/lib/core/url.ts","../../src/lib/services/auth/index.ts","../../src/lib/core/storage/memory.ts","../../src/lib/core/storage/local-storage.ts","../../src/lib/core/storage/index.ts","../../src/lib/core/consent.ts","../../src/lib/core/authorization.ts","../../../../../node_modules/cross-fetch/index.d.ts","../../src/lib/core/internals/fetch.ts","../../src/lib/core/fetch.ts","../../src/lib/services/types.ts","../../src/lib/services/transfer/service/endpoint-search.ts","../../src/lib/services/shared.ts","../../src/lib/services/transfer/shared.ts","../../src/lib/services/transfer/service/file-operations.ts","../../src/lib/services/transfer/service/task-submission.ts","../../src/lib/services/transfer/service/endpoint.ts","../../src/lib/services/transfer/index.ts","../../src/lib/services/search/service/query.ts","../../src/lib/services/search/index.ts","../../src/index.ts","../../src/__utils__/service-test-suite.ts","../../src/lib/core/internals/__mocks__/fetch.ts","../../src/lib/services/auth/types.ts","../../src/lib/services/flows/service/flows.ts","../../src/lib/services/flows/service/runs.ts","../../src/lib/services/flows/service/batch.ts","../../src/lib/services/flows/index.ts","../../src/lib/services/globus-connect-server/service/versioning.ts","../../src/lib/services/globus-connect-server/service/endpoint.ts","../../src/lib/services/globus-connect-server/index.ts","../../src/lib/services/transfer/types.d.ts","../../../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../../../node_modules/chalk/index.d.ts","../../../../../node_modules/@types/jest/node_modules/@sinclair/typebox/typebox.d.ts","../../../../../node_modules/@types/jest/node_modules/@jest/schemas/build/index.d.ts","../../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../../../../node_modules/@types/jest/node_modules/expect/build/index.d.ts","../../../../../node_modules/@types/jest/index.d.ts","../../../../../node_modules/@types/node/assert.d.ts","../../../../../node_modules/@types/node/assert/strict.d.ts","../../../../../node_modules/@types/node/globals.d.ts","../../../../../node_modules/@types/node/async_hooks.d.ts","../../../../../node_modules/@types/node/buffer.d.ts","../../../../../node_modules/@types/node/child_process.d.ts","../../../../../node_modules/@types/node/cluster.d.ts","../../../../../node_modules/@types/node/console.d.ts","../../../../../node_modules/@types/node/constants.d.ts","../../../../../node_modules/@types/node/crypto.d.ts","../../../../../node_modules/@types/node/dgram.d.ts","../../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../../node_modules/@types/node/dns.d.ts","../../../../../node_modules/@types/node/dns/promises.d.ts","../../../../../node_modules/@types/node/domain.d.ts","../../../../../node_modules/@types/node/dom-events.d.ts","../../../../../node_modules/@types/node/events.d.ts","../../../../../node_modules/@types/node/fs.d.ts","../../../../../node_modules/@types/node/fs/promises.d.ts","../../../../../node_modules/@types/node/http.d.ts","../../../../../node_modules/@types/node/http2.d.ts","../../../../../node_modules/@types/node/https.d.ts","../../../../../node_modules/@types/node/inspector.d.ts","../../../../../node_modules/@types/node/module.d.ts","../../../../../node_modules/@types/node/net.d.ts","../../../../../node_modules/@types/node/os.d.ts","../../../../../node_modules/@types/node/path.d.ts","../../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../../node_modules/@types/node/process.d.ts","../../../../../node_modules/@types/node/punycode.d.ts","../../../../../node_modules/@types/node/querystring.d.ts","../../../../../node_modules/@types/node/readline.d.ts","../../../../../node_modules/@types/node/readline/promises.d.ts","../../../../../node_modules/@types/node/repl.d.ts","../../../../../node_modules/@types/node/stream.d.ts","../../../../../node_modules/@types/node/stream/promises.d.ts","../../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../../node_modules/@types/node/stream/web.d.ts","../../../../../node_modules/@types/node/string_decoder.d.ts","../../../../../node_modules/@types/node/test.d.ts","../../../../../node_modules/@types/node/timers.d.ts","../../../../../node_modules/@types/node/timers/promises.d.ts","../../../../../node_modules/@types/node/tls.d.ts","../../../../../node_modules/@types/node/trace_events.d.ts","../../../../../node_modules/@types/node/tty.d.ts","../../../../../node_modules/@types/node/url.d.ts","../../../../../node_modules/@types/node/util.d.ts","../../../../../node_modules/@types/node/v8.d.ts","../../../../../node_modules/@types/node/vm.d.ts","../../../../../node_modules/@types/node/wasi.d.ts","../../../../../node_modules/@types/node/worker_threads.d.ts","../../../../../node_modules/@types/node/zlib.d.ts","../../../../../node_modules/@types/node/globals.global.d.ts","../../../../../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e",{"version":"f1f0cd4cf55a7fa97ac04522e9b67325116cb4ce9da3af923e50774ffacbec1d","signature":"1d844e1cabba10d51caad3a268532f6a510f9ae06d5af1a668f88ff72dcabe41"},"be873739d8c0de01a93a2071d06b25da44fe098b493e5f8da41a99956f4b56e4","a68fbe120d9724edc6b46a7fda786df37fc2a3edaf29141b723f43421da472fe","6815a466629f0adbc201ae2002134c5407d18bf233d7ad3e824239250e17185d","146842cc095441ee8e23babc3631aafecc5489c9aa0f3675aaebb8cab9f78810",{"version":"ea10f1e3148b5c9296769eda3da0e1913fac8514949d6a36c08c6b256651ecba","signature":"15fc6d41a736eed0c7dbe31dfa9d99fa4305c014b4f2b2b58e5731bea1936cdb"},{"version":"a4d273c52a662315b04d9ae677799c2291e35dd1a9281514e22dabd9a59ba288","signature":"faf98e5426a40b2805860828f521f2068254b8429901f09c7c269f12312872c6"},{"version":"645496fd2530a5f47af15c1d288b412b66369002b60293415f7026d567afb7f6","signature":"14feb1769c4626705339099328e0c6615e0254dc8ea252925b3dacbbeb1d5076"},{"version":"e99a8d9e0df456a33a5a8c91d829f6974a6536009d6323ea5ccc0e00c8207385","signature":"64e76709272d08680a317c887db133f61447f0b69defd26e5e6fb2c6f3b6798c"},{"version":"fd45c06e634abce8c7aa1f77cfada2c93133e1510a392f7aa8c6c8edaff5dd2c","signature":"524c09894822a453fb56dae8b973aa1cbf0eb362888bddc762dd67970b0e0edc"},{"version":"4d8d6c5004cd5bbf4523b68ede9f1da6671616ffec640d7c21bcc7893a67a56b","signature":"d34e896dbc4c47f96fb9206fa925e7ced6f3531e5ead38a0310cab671865551f"},{"version":"4dbbb3745733633d42226b4bcaa5c36fa7eb34861ad8e0e0089e55a8f0e9ea2f","signature":"bb653d69d6b292d876ae246cfb43042e558b3ab456f0561fdcd91174a3077e41"},{"version":"321d0d3767b268921576211064e00aece760527c32f1929c95393c44f047ab48","signature":"51873741123017cefd8488b2aefb2929edcab685a3e4307d12cee2cbb20a2229"},{"version":"17a479fdd62599a221ad1fbae37bfa5621c4373b31ee364f29ee37697ce9049b","signature":"5ae572f7ed815ad2fd1f9e5e8a082f05acd498afe40b0b4e8eb766e365b16a24"},{"version":"6afdfbbe8b0c32ced487cd4920df131e4c14127f8c7fe7210918c7e08a7a21f1","signature":"713fb6aaa56258f3c8012dd7fcb1a36a7961a2f1c5d286330d7ba93e2c47a51c"},{"version":"993f8aac82190383a08f97ff3d16cbea04ada1b25882522d0b4b98a34207a32f","signature":"2ad86d21e0b7fd0381a47de571f68ac9fd2060a384616e5b3ad4221f294e7c19"},{"version":"64ae4cb85b4798c96226dd8dcc03011bd317c75a84adaf676d8d33013d40746e","signature":"d75264de78e239a4e2efb1e7ffc3b984e724d06590dedb5e9a8e86ff79ad0de7"},{"version":"36430f7a04ec6e3f31399a1f175496f3e9074fd2f7197582dd9758dddbe139b2","signature":"664b60912a6386574e5e5ba6ec7f0ed00f0a2696e1be9d13ec822544ef988a5a"},{"version":"409cf8770fbb9f099124e9ca744282ebfd85df2fd3650ae05c4ee3d03af66714","affectsGlobalScope":true},{"version":"82a225db6f0e5467a7d30b3e0dc225e9268c49627db8cdbb15a42e014400467e","signature":"033fc8672438d43c447e934b5e99a474592f83484c601d07f090bd004a69b843"},{"version":"60e3e5b0663c835627cebfd9ea2413c62a7139391135117631a0f56d2ec04906","signature":"a41507728fecc8e42ff11b48f8a5e28a4b325b5b55f43593cb9fb4aef3a694e1"},{"version":"784e1e26557566002d0f54a7df41d2995c5e89dce397807fc5d17b7e042cbaf0","signature":"2d4ab3e743b5084b3f5606e3895265e4c8ac7a744df26565e3a45323e024a791"},{"version":"1a84315f5b5082f3bae58d2323c87dc1dc7bf58fb6e5f9a1f928de1c509cba8d","signature":"f25a902ee9167ced64d378abd72a6ff8a9ac91e9304091336e31dcd41362c1d9"},{"version":"935221a5004ceaa26058ceca399a8590faad4287c9e457770bd6ed51119f4af2","signature":"94926bf8d27d26bd6443ac6b1a469d30503b0783b8c8511621b09e777fe4e364"},{"version":"8ae23c6189376b413a3d36d407d90b509d44f3c8333930e91d33da152b108978","signature":"13f26fff6885eb9b3a556101972356afb9998ce0d059b8b5553a9a45e0d83ea5"},{"version":"4d3262100207605a56c28a665022219e76fec1cbbaa4088317a3825714c22711","signature":"0eae3a290d693a2fad1888dbf457aa49856fdc8f33b3a4f48b87284998075ec4"},{"version":"7a8850e24b415d2c1d0b0621bfaa89b13ad16f5f29d1e6e49ce927490de286fd","signature":"352720d4848b3a62ddce376823c5c8a874b4295ac547b1cc1ca277ec13ea5bcf"},{"version":"67b3b6a8467566c81ddc85af73aa249e7de2f26122763a1b6a97002953c37821","signature":"07ff507dbc05029135ebec6a6578018dc82c01b0ed6705743acdca41e8adcbdd"},{"version":"557b68a108eeea2fec8707a1b0f2a87cd75b5df0f134778ee512ee09e0fd462b","signature":"53a3948b94709df56e821e7fdd14cf2915682d87ad785a849cae481fe845a074"},{"version":"10ad83dfab38e9eb8e0f3678305a021a420bd4bc419c9591ab7abbd2e93b7b7f","signature":"e840fcbf98b601622890fcdaebe8c0201837eb28cd6cc758a5525079986d84cf"},{"version":"8463f08a1f25a1745ecbea2c257b4590bfeed2ccbe48fbc8a055c51e4ef6a15e","signature":"945aed0dc689e9f7972b1e69792519dfd898ec2dd67c478b5b9fe7a3ac9bb084"},"61651d386f6ef851dab2583b3c2908534fa942f3db943fb776483239b107b1a6",{"version":"fc231e059cc3811806b6d98de2d2d8c924a17a9758c6400a99d1675ee8711fa9","signature":"27253bc5959faedf2839f1ebe9252eb0342bf3ea3c57adbd5484bafbbfb7b974"},{"version":"3f26ed862b7c1c7805788e59231efecf1f5f1e72122859c933006d799444c5f8","signature":"f15c936588fb977b5ff0d408ea0a55e8132b58226ea740d63c786fca3ec7785a","affectsGlobalScope":true},{"version":"89b42497b569ae1238367bc6a5b16194f3434afb8c59ffe1066a775b97b934a0","signature":"929b6de860ce7175b87917aa8d652ddd47519d5c15c483ae3b78218571076195"},{"version":"c1014441c9e4fe6e788b9bc868f62292f7dad2173841635f12cc9301eaa74e32","signature":"91725034646eb9192234f1199f563d1a4d88e1518fb060ae2ba81b64911b8cdb"},{"version":"2bcc17815c5dd0d623f9f96064ff19920709d7ba9b437e091563c54e00bf7c49","signature":"072f64f5bbabbc3caaae29e91706f39ed985dd20a40c762d291d9cc2126d55c6"},{"version":"450f0af4f4c1ecc4c7180f2e364c8a59bfed69dd350fb6b47bce8641c2a37786","signature":"d889ca31ecf859432c9e675cf056009a227f839856a8cac58a70875e2d619a8b"},{"version":"9842598d15570d5a2ef4d875c5851d8f635e72a59abaa2aee905e45ea38d6a80","signature":"e397b221b0f14f47ea864f076e8185d11dea30cb987543591dfe161f1f47b667"},{"version":"067bbf1736eb587864ade58ab18ea86ec6e52878fcaffc856ea9ffc9ba49b48e","signature":"bf0a51b13ebab2a8bc037e701d38d7704c48fdc29f4d810241f98c730019a9c1"},{"version":"83921711ff03fbeb159b1f8209bf76e4f43122a557aa53983fe53a1ef64d932a","signature":"9b25144d005e26f68fe1ac9995e2cfe84bce831f7d2228709908901054c29e29"},{"version":"152fa858aa48dee9a0bccfebdaaad5968885c98b278c27e6f05725413360221c","signature":"61ed0e5c5c17d6dd5d01c1c3cc35735c854324b747dbda31d0162ae2fdd1153a"},{"version":"b31302dcdb704455629b46b41117e50bfb2e8abacbd05f5ca268247750d85e0f","affectsGlobalScope":true},"6c1e688f95fcaf53b1e41c0fdadf2c1cfc96fa924eaf7f9fdb60f96deb0a4986","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","db25694be959314fd1e868d72e567746db1db9e2001fae545d12d2a8c1bba1b8","43883cf3635bb1846cbdc6c363787b76227677388c74f7313e3f0edb380840fa","2d47012580f859dae201d2eef898a416bdae719dffc087dfd06aefe3de2f9c8d","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","2cec1a31729b9b01e9294c33fc9425d336eff067282809761ad2e74425d6d2a5",{"version":"5bc4bb5796ce660d9869477983aac87734e19fecd1ad60fb0b13ffe1f1a450ed","affectsGlobalScope":true},"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","afcc1c426b76db7ec80e563d4fb0ba9e6bcc6e63c2d7e9342e649dc56d26347f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","b01a80007e448d035a16c74b5c95a5405b2e81b12fabcf18b75aa9eb9ef28990","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","dbe5aa5a5dd8bd1c6a8d11b1310c3f0cdabaacc78a37b394a8c7b14faeb5fb84","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"d076fede3cb042e7b13fc29442aaa03a57806bc51e2b26a67a01fbc66a7c0c12","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","213fc4f2b172d8beb74b77d7c1b41488d67348066d185e4263470cbb010cd6e8",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"f7db71191aa7aac5d6bc927ed6e7075c2763d22c7238227ec0c63c8cf5cb6a8b","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"e9a8d4274033cb520ee12d6f68d161ba2b9128b87399645d3916b71187032836"],"root":[46,[51,63],[65,88]],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"importHelpers":true,"module":5,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":true,"outDir":"./","skipDefaultLibCheck":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":2},"fileIdsList":[[144],[93,96,144],[91,144],[89,95,144],[93,144],[90,94,144],[92,144],[98,144],[101,144],[102,107,135,144],[103,114,115,122,132,143,144],[103,104,114,122,144],[105,144],[106,107,115,123,144],[107,132,140,144],[108,110,114,122,144],[109,144],[110,111,144],[114,144],[112,114,144],[114,115,116,132,143,144],[114,115,116,129,132,135,144],[144,148],[117,122,132,143,144],[114,115,117,118,122,132,140,143,144],[117,119,132,140,143,144],[98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150],[114,120,144],[121,143,144],[110,114,122,132,144],[123,144],[124,144],[101,125,144],[126,142,144,148],[127,144],[128,144],[114,129,130,144],[129,131,144,146],[102,114,132,133,134,135,144],[102,132,134,144],[132,133,144],[135,144],[136,144],[114,138,139,144],[138,139,144],[107,122,132,140,144],[141,144],[122,142,144],[102,117,128,143,144],[107,144],[132,144,145],[144,146],[144,147],[102,107,114,116,125,132,143,144,146,148],[132,144,149],[47,48,49,144],[45,61,65,144],[45,46,58,63,74,76,144],[45,47,49,50,58,61,62,144],[45,49,58,61,144],[45,144],[45,62,65,144],[45,51,52,53,54,55,144],[65,144],[45,64,144],[45,59,60,144],[45,61,144],[45,56,144],[45,49,51,57,144],[45,49,144],[45,53,81,82,83,144],[45,53,57,66,67,144],[45,57,85,86,144],[45,66,67,87,144],[45,54,75,144],[45,54,57,66,67,144],[45,52,68,71,72,73,144],[45,52,57,66,67,144],[45,52,57,66,67,69,70,144],[45,69,144],[45,66,144],[65],[47],[49,58],[61],[56],[49,51],[49],[53,81,82,83],[67],[57,85,86],[54,75],[52,68,71,72,73],[69],[66]],"referencedMap":[[89,1],[97,2],[92,3],[91,1],[96,4],[94,5],[95,6],[93,7],[98,8],[99,8],[101,9],[102,10],[103,11],[104,12],[105,13],[106,14],[107,15],[108,16],[109,17],[110,18],[111,18],[113,19],[112,20],[114,19],[115,21],[116,22],[100,23],[150,1],[117,24],[118,25],[119,26],[151,27],[120,28],[121,29],[122,30],[123,31],[124,32],[125,33],[126,34],[127,35],[128,36],[129,37],[130,37],[131,38],[132,39],[134,40],[133,41],[135,42],[136,43],[137,1],[138,44],[139,45],[140,46],[141,47],[142,48],[143,49],[144,50],[145,51],[146,52],[147,53],[148,54],[149,55],[90,1],[64,1],[47,1],[48,1],[49,1],[50,56],[45,1],[43,1],[44,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[78,57],[77,58],[63,59],[62,60],[55,61],[66,62],[56,63],[79,64],[65,65],[61,66],[60,67],[59,67],[57,68],[46,61],[51,68],[58,69],[80,70],[53,68],[84,71],[83,61],[81,72],[82,72],[87,73],[86,74],[85,74],[54,68],[76,75],[75,76],[69,61],[52,68],[74,77],[68,78],[73,78],[71,79],[72,79],[70,80],[88,1],[67,81]],"exportedModulesMap":[[89,1],[97,2],[92,3],[91,1],[96,4],[94,5],[95,6],[93,7],[98,8],[99,8],[101,9],[102,10],[103,11],[104,12],[105,13],[106,14],[107,15],[108,16],[109,17],[110,18],[111,18],[113,19],[112,20],[114,19],[115,21],[116,22],[100,23],[150,1],[117,24],[118,25],[119,26],[151,27],[120,28],[121,29],[122,30],[123,31],[124,32],[125,33],[126,34],[127,35],[128,36],[129,37],[130,37],[131,38],[132,39],[134,40],[133,41],[135,42],[136,43],[137,1],[138,44],[139,45],[140,46],[141,47],[142,48],[143,49],[144,50],[145,51],[146,52],[147,53],[148,54],[149,55],[90,1],[64,1],[47,1],[48,1],[49,1],[50,56],[45,1],[43,1],[44,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[78,82],[77,58],[63,83],[62,84],[79,82],[60,85],[59,85],[57,86],[51,86],[58,87],[80,88],[53,86],[84,89],[81,90],[82,90],[87,91],[86,90],[85,90],[54,86],[76,92],[75,90],[52,86],[74,93],[68,90],[73,90],[71,90],[72,90],[70,94],[88,1],[67,95]],"semanticDiagnosticsPerFile":[89,97,92,91,96,94,95,93,98,99,101,102,103,104,105,106,107,108,109,110,111,113,112,114,115,116,100,150,117,118,119,151,120,121,122,123,124,125,126,127,128,129,130,131,132,134,133,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,90,64,47,48,49,50,45,43,44,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,78,77,63,62,55,66,56,79,65,61,60,59,57,46,51,58,80,53,84,83,81,82,87,86,85,54,76,75,69,52,74,68,73,71,72,70,88,67],"latestChangedDtsFile":"./src/lib/services/globus-connect-server/index.d.ts"},"version":"5.0.4"}
|