@globus/sdk 0.1.2-alpha.0 → 0.1.3-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.
Files changed (326) hide show
  1. package/dist/browser.cjs.js +1 -1
  2. package/dist/browser.esm.js +1 -1
  3. package/dist/index.cjs.js +1 -1
  4. package/dist/index.esm.js +1 -1
  5. package/dist/{src → types/src}/lib/services/search/index.d.ts +1 -1
  6. package/dist/{src → types/src}/lib/services/search/service/query.d.ts +4 -0
  7. package/dist/{common → types}/src/lib/services/search/service/query.d.ts.map +1 -1
  8. package/dist/{common → types}/src/lib/services/transfer/service/endpoint-search.d.ts +1 -2
  9. package/dist/types/src/lib/services/transfer/service/endpoint-search.d.ts.map +1 -0
  10. package/dist/types/src/lib/services/transfer/service/endpoint.d.ts +5 -0
  11. package/dist/{common → types}/src/lib/services/transfer/service/endpoint.d.ts.map +1 -1
  12. package/dist/{src → types/src}/lib/services/transfer/service/file-operations.d.ts +0 -1
  13. package/dist/types/src/lib/services/transfer/service/file-operations.d.ts.map +1 -0
  14. package/dist/{common → types}/src/lib/services/transfer/service/task-submission.d.ts +0 -1
  15. package/dist/types/src/lib/services/transfer/service/task-submission.d.ts.map +1 -0
  16. package/dist/types/tsconfig.tsbuildinfo +1 -0
  17. package/package.json +13 -8
  18. package/dist/browser.js +0 -1
  19. package/dist/common/src/__utils__/service-test-suite.js +0 -29
  20. package/dist/common/src/__utils__/service-test-suite.js.map +0 -1
  21. package/dist/common/src/index.js +0 -23
  22. package/dist/common/src/index.js.map +0 -1
  23. package/dist/common/src/lib/core/authorization.js +0 -97
  24. package/dist/common/src/lib/core/authorization.js.map +0 -1
  25. package/dist/common/src/lib/core/consent.js +0 -33
  26. package/dist/common/src/lib/core/consent.js.map +0 -1
  27. package/dist/common/src/lib/core/errors.js +0 -12
  28. package/dist/common/src/lib/core/errors.js.map +0 -1
  29. package/dist/common/src/lib/core/fetch.js +0 -21
  30. package/dist/common/src/lib/core/fetch.js.map +0 -1
  31. package/dist/common/src/lib/core/global.js +0 -96
  32. package/dist/common/src/lib/core/global.js.map +0 -1
  33. package/dist/common/src/lib/core/internals/__mocks__/fetch.js +0 -4
  34. package/dist/common/src/lib/core/internals/__mocks__/fetch.js.map +0 -1
  35. package/dist/common/src/lib/core/internals/fetch.js +0 -6
  36. package/dist/common/src/lib/core/internals/fetch.js.map +0 -1
  37. package/dist/common/src/lib/core/storage/index.js +0 -35
  38. package/dist/common/src/lib/core/storage/index.js.map +0 -1
  39. package/dist/common/src/lib/core/storage/local-storage.js +0 -20
  40. package/dist/common/src/lib/core/storage/local-storage.js.map +0 -1
  41. package/dist/common/src/lib/core/storage/memory.js +0 -35
  42. package/dist/common/src/lib/core/storage/memory.js.map +0 -1
  43. package/dist/common/src/lib/core/url.js +0 -19
  44. package/dist/common/src/lib/core/url.js.map +0 -1
  45. package/dist/common/src/lib/sdk.js +0 -8
  46. package/dist/common/src/lib/sdk.js.map +0 -1
  47. package/dist/common/src/lib/services/auth/config.js +0 -13
  48. package/dist/common/src/lib/services/auth/config.js.map +0 -1
  49. package/dist/common/src/lib/services/auth/index.js +0 -21
  50. package/dist/common/src/lib/services/auth/index.js.map +0 -1
  51. package/dist/common/src/lib/services/auth/service/scopes.d.ts +0 -26
  52. package/dist/common/src/lib/services/auth/service/scopes.d.ts.map +0 -1
  53. package/dist/common/src/lib/services/auth/service/scopes.js +0 -31
  54. package/dist/common/src/lib/services/auth/service/scopes.js.map +0 -1
  55. package/dist/common/src/lib/services/auth/types.js +0 -3
  56. package/dist/common/src/lib/services/auth/types.js.map +0 -1
  57. package/dist/common/src/lib/services/auth/utils.d.ts +0 -26
  58. package/dist/common/src/lib/services/auth/utils.d.ts.map +0 -1
  59. package/dist/common/src/lib/services/auth/utils.js +0 -55
  60. package/dist/common/src/lib/services/auth/utils.js.map +0 -1
  61. package/dist/common/src/lib/services/flows/config.js +0 -23
  62. package/dist/common/src/lib/services/flows/config.js.map +0 -1
  63. package/dist/common/src/lib/services/flows/index.js +0 -15
  64. package/dist/common/src/lib/services/flows/index.js.map +0 -1
  65. package/dist/common/src/lib/services/flows/service/batch.js +0 -4
  66. package/dist/common/src/lib/services/flows/service/batch.js.map +0 -1
  67. package/dist/common/src/lib/services/flows/service/flows.js +0 -30
  68. package/dist/common/src/lib/services/flows/service/flows.js.map +0 -1
  69. package/dist/common/src/lib/services/flows/service/runs.js +0 -17
  70. package/dist/common/src/lib/services/flows/service/runs.js.map +0 -1
  71. package/dist/common/src/lib/services/globus-connect-server/index.js +0 -33
  72. package/dist/common/src/lib/services/globus-connect-server/index.js.map +0 -1
  73. package/dist/common/src/lib/services/globus-connect-server/service/endpoint.js +0 -15
  74. package/dist/common/src/lib/services/globus-connect-server/service/endpoint.js.map +0 -1
  75. package/dist/common/src/lib/services/globus-connect-server/service/versioning.js +0 -16
  76. package/dist/common/src/lib/services/globus-connect-server/service/versioning.js.map +0 -1
  77. package/dist/common/src/lib/services/search/config.js +0 -21
  78. package/dist/common/src/lib/services/search/config.js.map +0 -1
  79. package/dist/common/src/lib/services/search/index.d.ts +0 -10
  80. package/dist/common/src/lib/services/search/index.js +0 -13
  81. package/dist/common/src/lib/services/search/index.js.map +0 -1
  82. package/dist/common/src/lib/services/search/service/query.d.ts +0 -13
  83. package/dist/common/src/lib/services/search/service/query.js +0 -16
  84. package/dist/common/src/lib/services/search/service/query.js.map +0 -1
  85. package/dist/common/src/lib/services/shared.js +0 -10
  86. package/dist/common/src/lib/services/shared.js.map +0 -1
  87. package/dist/common/src/lib/services/transfer/config.js +0 -13
  88. package/dist/common/src/lib/services/transfer/config.js.map +0 -1
  89. package/dist/common/src/lib/services/transfer/index.js +0 -17
  90. package/dist/common/src/lib/services/transfer/index.js.map +0 -1
  91. package/dist/common/src/lib/services/transfer/service/endpoint-search.d.ts.map +0 -1
  92. package/dist/common/src/lib/services/transfer/service/endpoint-search.js +0 -20
  93. package/dist/common/src/lib/services/transfer/service/endpoint-search.js.map +0 -1
  94. package/dist/common/src/lib/services/transfer/service/endpoint.d.ts +0 -5
  95. package/dist/common/src/lib/services/transfer/service/endpoint.js +0 -14
  96. package/dist/common/src/lib/services/transfer/service/endpoint.js.map +0 -1
  97. package/dist/common/src/lib/services/transfer/service/file-operations.d.ts +0 -38
  98. package/dist/common/src/lib/services/transfer/service/file-operations.d.ts.map +0 -1
  99. package/dist/common/src/lib/services/transfer/service/file-operations.js +0 -56
  100. package/dist/common/src/lib/services/transfer/service/file-operations.js.map +0 -1
  101. package/dist/common/src/lib/services/transfer/service/task-submission.d.ts.map +0 -1
  102. package/dist/common/src/lib/services/transfer/service/task-submission.js +0 -37
  103. package/dist/common/src/lib/services/transfer/service/task-submission.js.map +0 -1
  104. package/dist/common/src/lib/services/transfer/shared.js +0 -14
  105. package/dist/common/src/lib/services/transfer/shared.js.map +0 -1
  106. package/dist/common/src/lib/services/types.js +0 -3
  107. package/dist/common/src/lib/services/types.js.map +0 -1
  108. package/dist/common/tsconfig.cjs.tsbuildinfo +0 -1
  109. package/dist/index.js +0 -1
  110. package/dist/src/__utils__/service-test-suite.d.ts +0 -14
  111. package/dist/src/__utils__/service-test-suite.d.ts.map +0 -1
  112. package/dist/src/__utils__/service-test-suite.js +0 -26
  113. package/dist/src/__utils__/service-test-suite.js.map +0 -1
  114. package/dist/src/index.d.ts +0 -6
  115. package/dist/src/index.d.ts.map +0 -1
  116. package/dist/src/index.js +0 -10
  117. package/dist/src/index.js.map +0 -1
  118. package/dist/src/lib/core/authorization.d.ts +0 -21
  119. package/dist/src/lib/core/authorization.d.ts.map +0 -1
  120. package/dist/src/lib/core/authorization.js +0 -72
  121. package/dist/src/lib/core/authorization.js.map +0 -1
  122. package/dist/src/lib/core/consent.d.ts +0 -6
  123. package/dist/src/lib/core/consent.d.ts.map +0 -1
  124. package/dist/src/lib/core/consent.js +0 -27
  125. package/dist/src/lib/core/consent.js.map +0 -1
  126. package/dist/src/lib/core/errors.d.ts +0 -5
  127. package/dist/src/lib/core/errors.d.ts.map +0 -1
  128. package/dist/src/lib/core/errors.js +0 -8
  129. package/dist/src/lib/core/errors.js.map +0 -1
  130. package/dist/src/lib/core/fetch.d.ts +0 -7
  131. package/dist/src/lib/core/fetch.d.ts.map +0 -1
  132. package/dist/src/lib/core/fetch.js +0 -17
  133. package/dist/src/lib/core/fetch.js.map +0 -1
  134. package/dist/src/lib/core/global.d.ts +0 -37
  135. package/dist/src/lib/core/global.d.ts.map +0 -1
  136. package/dist/src/lib/core/global.js +0 -89
  137. package/dist/src/lib/core/global.js.map +0 -1
  138. package/dist/src/lib/core/internals/__mocks__/fetch.d.ts +0 -2
  139. package/dist/src/lib/core/internals/__mocks__/fetch.d.ts.map +0 -1
  140. package/dist/src/lib/core/internals/__mocks__/fetch.js +0 -4
  141. package/dist/src/lib/core/internals/__mocks__/fetch.js.map +0 -1
  142. package/dist/src/lib/core/internals/fetch.d.ts +0 -2
  143. package/dist/src/lib/core/internals/fetch.d.ts.map +0 -1
  144. package/dist/src/lib/core/internals/fetch.js +0 -3
  145. package/dist/src/lib/core/internals/fetch.js.map +0 -1
  146. package/dist/src/lib/core/storage/index.d.ts +0 -19
  147. package/dist/src/lib/core/storage/index.d.ts.map +0 -1
  148. package/dist/src/lib/core/storage/index.js +0 -30
  149. package/dist/src/lib/core/storage/index.js.map +0 -1
  150. package/dist/src/lib/core/storage/local-storage.d.ts +0 -8
  151. package/dist/src/lib/core/storage/local-storage.d.ts.map +0 -1
  152. package/dist/src/lib/core/storage/local-storage.js +0 -16
  153. package/dist/src/lib/core/storage/local-storage.js.map +0 -1
  154. package/dist/src/lib/core/storage/memory.d.ts +0 -9
  155. package/dist/src/lib/core/storage/memory.d.ts.map +0 -1
  156. package/dist/src/lib/core/storage/memory.js +0 -21
  157. package/dist/src/lib/core/storage/memory.js.map +0 -1
  158. package/dist/src/lib/core/url.d.ts +0 -7
  159. package/dist/src/lib/core/url.d.ts.map +0 -1
  160. package/dist/src/lib/core/url.js +0 -14
  161. package/dist/src/lib/core/url.js.map +0 -1
  162. package/dist/src/lib/sdk.d.ts +0 -2
  163. package/dist/src/lib/sdk.d.ts.map +0 -1
  164. package/dist/src/lib/sdk.js +0 -4
  165. package/dist/src/lib/sdk.js.map +0 -1
  166. package/dist/src/lib/services/auth/config.d.ts +0 -4
  167. package/dist/src/lib/services/auth/config.d.ts.map +0 -1
  168. package/dist/src/lib/services/auth/config.js +0 -10
  169. package/dist/src/lib/services/auth/config.js.map +0 -1
  170. package/dist/src/lib/services/auth/index.d.ts +0 -17
  171. package/dist/src/lib/services/auth/index.d.ts.map +0 -1
  172. package/dist/src/lib/services/auth/index.js +0 -16
  173. package/dist/src/lib/services/auth/index.js.map +0 -1
  174. package/dist/src/lib/services/auth/service/scopes.d.ts +0 -26
  175. package/dist/src/lib/services/auth/service/scopes.d.ts.map +0 -1
  176. package/dist/src/lib/services/auth/service/scopes.js +0 -28
  177. package/dist/src/lib/services/auth/service/scopes.js.map +0 -1
  178. package/dist/src/lib/services/auth/types.d.ts +0 -15
  179. package/dist/src/lib/services/auth/types.d.ts.map +0 -1
  180. package/dist/src/lib/services/auth/types.js +0 -2
  181. package/dist/src/lib/services/auth/types.js.map +0 -1
  182. package/dist/src/lib/services/auth/utils.d.ts +0 -26
  183. package/dist/src/lib/services/auth/utils.d.ts.map +0 -1
  184. package/dist/src/lib/services/auth/utils.js +0 -41
  185. package/dist/src/lib/services/auth/utils.js.map +0 -1
  186. package/dist/src/lib/services/flows/config.d.ts +0 -14
  187. package/dist/src/lib/services/flows/config.d.ts.map +0 -1
  188. package/dist/src/lib/services/flows/config.js +0 -20
  189. package/dist/src/lib/services/flows/config.js.map +0 -1
  190. package/dist/src/lib/services/flows/index.d.ts +0 -12
  191. package/dist/src/lib/services/flows/index.d.ts.map +0 -1
  192. package/dist/src/lib/services/flows/index.js +0 -15
  193. package/dist/src/lib/services/flows/index.js.map +0 -1
  194. package/dist/src/lib/services/flows/service/batch.d.ts +0 -3
  195. package/dist/src/lib/services/flows/service/batch.d.ts.map +0 -1
  196. package/dist/src/lib/services/flows/service/batch.js +0 -2
  197. package/dist/src/lib/services/flows/service/batch.js.map +0 -1
  198. package/dist/src/lib/services/flows/service/flows.d.ts +0 -13
  199. package/dist/src/lib/services/flows/service/flows.d.ts.map +0 -1
  200. package/dist/src/lib/services/flows/service/flows.js +0 -27
  201. package/dist/src/lib/services/flows/service/flows.js.map +0 -1
  202. package/dist/src/lib/services/flows/service/runs.d.ts +0 -6
  203. package/dist/src/lib/services/flows/service/runs.d.ts.map +0 -1
  204. package/dist/src/lib/services/flows/service/runs.js +0 -14
  205. package/dist/src/lib/services/flows/service/runs.js.map +0 -1
  206. package/dist/src/lib/services/globus-connect-server/index.d.ts +0 -13
  207. package/dist/src/lib/services/globus-connect-server/index.d.ts.map +0 -1
  208. package/dist/src/lib/services/globus-connect-server/index.js +0 -30
  209. package/dist/src/lib/services/globus-connect-server/index.js.map +0 -1
  210. package/dist/src/lib/services/globus-connect-server/service/endpoint.d.ts +0 -5
  211. package/dist/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +0 -1
  212. package/dist/src/lib/services/globus-connect-server/service/endpoint.js +0 -12
  213. package/dist/src/lib/services/globus-connect-server/service/endpoint.js.map +0 -1
  214. package/dist/src/lib/services/globus-connect-server/service/versioning.d.ts +0 -6
  215. package/dist/src/lib/services/globus-connect-server/service/versioning.d.ts.map +0 -1
  216. package/dist/src/lib/services/globus-connect-server/service/versioning.js +0 -13
  217. package/dist/src/lib/services/globus-connect-server/service/versioning.js.map +0 -1
  218. package/dist/src/lib/services/search/config.d.ts +0 -12
  219. package/dist/src/lib/services/search/config.d.ts.map +0 -1
  220. package/dist/src/lib/services/search/config.js +0 -18
  221. package/dist/src/lib/services/search/config.js.map +0 -1
  222. package/dist/src/lib/services/search/index.d.ts.map +0 -1
  223. package/dist/src/lib/services/search/index.js +0 -11
  224. package/dist/src/lib/services/search/index.js.map +0 -1
  225. package/dist/src/lib/services/search/service/query.d.ts.map +0 -1
  226. package/dist/src/lib/services/search/service/query.js +0 -13
  227. package/dist/src/lib/services/search/service/query.js.map +0 -1
  228. package/dist/src/lib/services/shared.d.ts +0 -6
  229. package/dist/src/lib/services/shared.d.ts.map +0 -1
  230. package/dist/src/lib/services/shared.js +0 -7
  231. package/dist/src/lib/services/shared.js.map +0 -1
  232. package/dist/src/lib/services/transfer/config.d.ts +0 -4
  233. package/dist/src/lib/services/transfer/config.d.ts.map +0 -1
  234. package/dist/src/lib/services/transfer/config.js +0 -10
  235. package/dist/src/lib/services/transfer/config.js.map +0 -1
  236. package/dist/src/lib/services/transfer/index.d.ts +0 -14
  237. package/dist/src/lib/services/transfer/index.d.ts.map +0 -1
  238. package/dist/src/lib/services/transfer/index.js +0 -17
  239. package/dist/src/lib/services/transfer/index.js.map +0 -1
  240. package/dist/src/lib/services/transfer/service/endpoint-search.d.ts +0 -11
  241. package/dist/src/lib/services/transfer/service/endpoint-search.d.ts.map +0 -1
  242. package/dist/src/lib/services/transfer/service/endpoint-search.js +0 -17
  243. package/dist/src/lib/services/transfer/service/endpoint-search.js.map +0 -1
  244. package/dist/src/lib/services/transfer/service/endpoint.d.ts +0 -5
  245. package/dist/src/lib/services/transfer/service/endpoint.d.ts.map +0 -1
  246. package/dist/src/lib/services/transfer/service/endpoint.js +0 -11
  247. package/dist/src/lib/services/transfer/service/endpoint.js.map +0 -1
  248. package/dist/src/lib/services/transfer/service/file-operations.d.ts.map +0 -1
  249. package/dist/src/lib/services/transfer/service/file-operations.js +0 -53
  250. package/dist/src/lib/services/transfer/service/file-operations.js.map +0 -1
  251. package/dist/src/lib/services/transfer/service/task-submission.d.ts +0 -22
  252. package/dist/src/lib/services/transfer/service/task-submission.d.ts.map +0 -1
  253. package/dist/src/lib/services/transfer/service/task-submission.js +0 -31
  254. package/dist/src/lib/services/transfer/service/task-submission.js.map +0 -1
  255. package/dist/src/lib/services/transfer/shared.d.ts +0 -3
  256. package/dist/src/lib/services/transfer/shared.d.ts.map +0 -1
  257. package/dist/src/lib/services/transfer/shared.js +0 -10
  258. package/dist/src/lib/services/transfer/shared.js.map +0 -1
  259. package/dist/src/lib/services/types.d.ts +0 -31
  260. package/dist/src/lib/services/types.d.ts.map +0 -1
  261. package/dist/src/lib/services/types.js +0 -2
  262. package/dist/src/lib/services/types.js.map +0 -1
  263. package/dist/tsconfig.tsbuildinfo +0 -1
  264. /package/dist/{common → types}/src/__utils__/service-test-suite.d.ts +0 -0
  265. /package/dist/{common → types}/src/__utils__/service-test-suite.d.ts.map +0 -0
  266. /package/dist/{common → types}/src/index.d.ts +0 -0
  267. /package/dist/{common → types}/src/index.d.ts.map +0 -0
  268. /package/dist/{common → types}/src/lib/core/authorization.d.ts +0 -0
  269. /package/dist/{common → types}/src/lib/core/authorization.d.ts.map +0 -0
  270. /package/dist/{common → types}/src/lib/core/consent.d.ts +0 -0
  271. /package/dist/{common → types}/src/lib/core/consent.d.ts.map +0 -0
  272. /package/dist/{common → types}/src/lib/core/errors.d.ts +0 -0
  273. /package/dist/{common → types}/src/lib/core/errors.d.ts.map +0 -0
  274. /package/dist/{common → types}/src/lib/core/fetch.d.ts +0 -0
  275. /package/dist/{common → types}/src/lib/core/fetch.d.ts.map +0 -0
  276. /package/dist/{common → types}/src/lib/core/global.d.ts +0 -0
  277. /package/dist/{common → types}/src/lib/core/global.d.ts.map +0 -0
  278. /package/dist/{common → types}/src/lib/core/internals/__mocks__/fetch.d.ts +0 -0
  279. /package/dist/{common → types}/src/lib/core/internals/__mocks__/fetch.d.ts.map +0 -0
  280. /package/dist/{common → types}/src/lib/core/internals/fetch.d.ts +0 -0
  281. /package/dist/{common → types}/src/lib/core/internals/fetch.d.ts.map +0 -0
  282. /package/dist/{common → types}/src/lib/core/storage/index.d.ts +0 -0
  283. /package/dist/{common → types}/src/lib/core/storage/index.d.ts.map +0 -0
  284. /package/dist/{common → types}/src/lib/core/storage/local-storage.d.ts +0 -0
  285. /package/dist/{common → types}/src/lib/core/storage/local-storage.d.ts.map +0 -0
  286. /package/dist/{common → types}/src/lib/core/storage/memory.d.ts +0 -0
  287. /package/dist/{common → types}/src/lib/core/storage/memory.d.ts.map +0 -0
  288. /package/dist/{common → types}/src/lib/core/url.d.ts +0 -0
  289. /package/dist/{common → types}/src/lib/core/url.d.ts.map +0 -0
  290. /package/dist/{common → types}/src/lib/sdk.d.ts +0 -0
  291. /package/dist/{common → types}/src/lib/sdk.d.ts.map +0 -0
  292. /package/dist/{common → types}/src/lib/services/auth/config.d.ts +0 -0
  293. /package/dist/{common → types}/src/lib/services/auth/config.d.ts.map +0 -0
  294. /package/dist/{common → types}/src/lib/services/auth/index.d.ts +0 -0
  295. /package/dist/{common → types}/src/lib/services/auth/index.d.ts.map +0 -0
  296. /package/dist/{common → types}/src/lib/services/auth/types.d.ts +0 -0
  297. /package/dist/{common → types}/src/lib/services/auth/types.d.ts.map +0 -0
  298. /package/dist/{common → types}/src/lib/services/flows/config.d.ts +0 -0
  299. /package/dist/{common → types}/src/lib/services/flows/config.d.ts.map +0 -0
  300. /package/dist/{common → types}/src/lib/services/flows/index.d.ts +0 -0
  301. /package/dist/{common → types}/src/lib/services/flows/index.d.ts.map +0 -0
  302. /package/dist/{common → types}/src/lib/services/flows/service/batch.d.ts +0 -0
  303. /package/dist/{common → types}/src/lib/services/flows/service/batch.d.ts.map +0 -0
  304. /package/dist/{common → types}/src/lib/services/flows/service/flows.d.ts +0 -0
  305. /package/dist/{common → types}/src/lib/services/flows/service/flows.d.ts.map +0 -0
  306. /package/dist/{common → types}/src/lib/services/flows/service/runs.d.ts +0 -0
  307. /package/dist/{common → types}/src/lib/services/flows/service/runs.d.ts.map +0 -0
  308. /package/dist/{common → types}/src/lib/services/globus-connect-server/index.d.ts +0 -0
  309. /package/dist/{common → types}/src/lib/services/globus-connect-server/index.d.ts.map +0 -0
  310. /package/dist/{common → types}/src/lib/services/globus-connect-server/service/endpoint.d.ts +0 -0
  311. /package/dist/{common → types}/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +0 -0
  312. /package/dist/{common → types}/src/lib/services/globus-connect-server/service/versioning.d.ts +0 -0
  313. /package/dist/{common → types}/src/lib/services/globus-connect-server/service/versioning.d.ts.map +0 -0
  314. /package/dist/{common → types}/src/lib/services/search/config.d.ts +0 -0
  315. /package/dist/{common → types}/src/lib/services/search/config.d.ts.map +0 -0
  316. /package/dist/{common → types}/src/lib/services/search/index.d.ts.map +0 -0
  317. /package/dist/{common → types}/src/lib/services/shared.d.ts +0 -0
  318. /package/dist/{common → types}/src/lib/services/shared.d.ts.map +0 -0
  319. /package/dist/{common → types}/src/lib/services/transfer/config.d.ts +0 -0
  320. /package/dist/{common → types}/src/lib/services/transfer/config.d.ts.map +0 -0
  321. /package/dist/{common → types}/src/lib/services/transfer/index.d.ts +0 -0
  322. /package/dist/{common → types}/src/lib/services/transfer/index.d.ts.map +0 -0
  323. /package/dist/{common → types}/src/lib/services/transfer/shared.d.ts +0 -0
  324. /package/dist/{common → types}/src/lib/services/transfer/shared.d.ts.map +0 -0
  325. /package/dist/{common → types}/src/lib/services/types.d.ts +0 -0
  326. /package/dist/{common → types}/src/lib/services/types.d.ts.map +0 -0
@@ -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,30 +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
- /**
8
- * @todo Replace with the actual URL.
9
- */
10
- const GCS_MANAGER_URL = "";
11
- const SCOPES = {
12
- HIGH_ASSURANCE: "urn:globus:auth:scope:ENDPOINT_ID:manage_collections",
13
- NON_HIGH_ASSURANCE: "urn:globus:auth:scope:ENDPOINT_ID:manage_collections[*https://auth.globus.org/scopes/MAPPED_COLLECTION_ID/data_access]",
14
- };
15
- export function getRequiredScopes() {
16
- return SCOPES.HIGH_ASSURANCE;
17
- }
18
- export function build(path, options) {
19
- const url = new URL(path, GCS_MANAGER_URL);
20
- if (options && options.search) {
21
- const search = new URLSearchParams(options.search);
22
- url.search = search.toString();
23
- }
24
- return url.toString();
25
- }
26
- import * as versioning_1 from "./service/versioning";
27
- export { versioning_1 as versioning };
28
- import * as endpoint_1 from "./service/endpoint";
29
- export { endpoint_1 as endpoint };
30
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH;;GAEG;AACH,MAAM,eAAe,GAAG,EAAE,CAAC;AAE3B,MAAM,MAAM,GAAG;IACb,cAAc,EAAE,sDAAsD;IACtE,kBAAkB,EAChB,wHAAwH;CAC3H,CAAC;AAEF,MAAM,UAAU,iBAAiB;IAC/B,OAAO,MAAM,CAAC,cAAc,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,KAAK,CAAC,IAAwB,EAAE,OAA2B;IACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IAC3C,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM,EAAE;QAC7B,MAAM,MAAM,GAAG,IAAI,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACnD,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;KAChC;IACD,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;AACxB,CAAC;8BAE2B,sBAAsB;yBAAtC,UAAU;4BACI,oBAAoB;uBAAlC,QAAQ"}
@@ -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,12 +0,0 @@
1
- import { build, getRequiredScopes } from "../index";
2
- import { fetchWithScope } from "../../../core/fetch";
3
- /**
4
- * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#getEndpoint
5
- */
6
- export const get = function (parameters = {}, options) {
7
- var _a;
8
- return fetchWithScope(getRequiredScopes(), build(`/api/endpoint`, {
9
- search: parameters,
10
- }), (_a = options === null || options === void 0 ? void 0 : options.fetch) === null || _a === void 0 ? void 0 : _a.options);
11
- };
12
- //# sourceMappingURL=endpoint.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrD;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,UAAU,GAAG,EAAE,EAAE,OAAQ;;IACpD,OAAO,cAAc,CACnB,iBAAiB,EAAE,EACnB,KAAK,CAAC,eAAe,EAAE;QACrB,MAAM,EAAE,UAAU;KACnB,CAAC,EACF,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,OAAO,CACxB,CAAC;AACJ,CAAiD,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,13 +0,0 @@
1
- import { build, getRequiredScopes } from "../index";
2
- import { fetchWithScope } from "../../../core/fetch";
3
- /**
4
- *
5
- * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Versioning/#getInfo
6
- */
7
- export const getAll = function (parameters = {}, options) {
8
- var _a;
9
- return fetchWithScope(getRequiredScopes(), build(`/api/info`, {
10
- search: parameters,
11
- }), (_a = options === null || options === void 0 ? void 0 : options.fetch) === null || _a === void 0 ? void 0 : _a.options);
12
- };
13
- //# sourceMappingURL=versioning.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"versioning.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrD;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,UAAU,GAAG,EAAE,EAAE,OAAQ;;IACvD,OAAO,cAAc,CACnB,iBAAiB,EAAE,EACnB,KAAK,CAAC,WAAW,EAAE;QACjB,MAAM,EAAE,UAAU;KACnB,CAAC,EACF,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,OAAO,CACxB,CAAC;AACJ,CAAiD,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,18 +0,0 @@
1
- export const ID = "SEARCH";
2
- export const HOSTS = {
3
- sandbox: "search.api.sandbox.globuscs.info",
4
- production: "search.api.globus.org",
5
- staging: "search.api.staging.globuscs.info",
6
- integration: "search.api.integration.globuscs.info",
7
- test: "search.api.test.globuscs.info",
8
- preview: "search.api.preview.globus.org",
9
- };
10
- /**
11
- * @see https://docs.globus.org/api/search/api_usage/#scopes
12
- */
13
- export const SCOPES = {
14
- ALL: "urn:globus:auth:scope:search.api.globus.org:all",
15
- INGEST: "urn:globus:auth:scope:search.api.globus.org:ingest",
16
- SEARCH: "urn:globus:auth:scope:search.api.globus.org:search",
17
- };
18
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/search/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC;AAC3B,MAAM,CAAC,MAAM,KAAK,GAAyC;IACzD,OAAO,EAAE,kCAAkC;IAC3C,UAAU,EAAE,uBAAuB;IACnC,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,sCAAsC;IACnD,IAAI,EAAE,+BAA+B;IACrC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,GAAG,EAAE,iDAAiD;IACtD,MAAM,EAAE,oDAAoD;IAC5D,MAAM,EAAE,oDAAoD;CAC7D,CAAC"}
@@ -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,11 +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 const CONFIG = SEARCH;
9
- import * as query_1 from "./service/query";
10
- export { query_1 as query };
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/search/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC;yBAEN,iBAAiB;oBAA5B,KAAK"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/search/service/query.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,GAAG;OAgBT,MAAM;;;;;;;8FAQZ,CAAC"}
@@ -1,13 +0,0 @@
1
- import { build } from "../../../core/url";
2
- import { fetchWithScope } from "../../../core/fetch";
3
- import { ID, SCOPES } from "../config";
4
- /**
5
- * @see https://docs.globus.org/api/search/reference/get_query/
6
- */
7
- export const get = function (index_id, parameters, sdkOptions) {
8
- var _a;
9
- return fetchWithScope(SCOPES.SEARCH, build(ID, `/v1/index/${index_id}/search`, {
10
- search: parameters,
11
- }), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
12
- };
13
- //# sourceMappingURL=query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../../../src/lib/services/search/service/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,QAAQ,EAAE,UAAU,EAAE,UAAW;;IAC5D,OAAO,cAAc,CACnB,MAAM,CAAC,MAAM,EACb,KAAK,CAAC,EAAE,EAAE,aAAa,QAAQ,SAAS,EAAE;QACxC,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAcC,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare enum HTTP_METHODS {
2
- post = "post",
3
- get = "get",
4
- delete = "delete"
5
- }
6
- //# sourceMappingURL=shared.d.ts.map
@@ -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,7 +0,0 @@
1
- export var HTTP_METHODS;
2
- (function (HTTP_METHODS) {
3
- HTTP_METHODS["post"] = "post";
4
- HTTP_METHODS["get"] = "get";
5
- HTTP_METHODS["delete"] = "delete";
6
- })(HTTP_METHODS || (HTTP_METHODS = {}));
7
- //# sourceMappingURL=shared.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../src/lib/services/shared.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,iCAAiB,CAAA;AACnB,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB"}
@@ -1,4 +0,0 @@
1
- import type { Environment } from "../../core/global";
2
- export declare const ID = "TRANSFER";
3
- export declare const HOSTS: Partial<Record<Environment, string>>;
4
- //# sourceMappingURL=config.d.ts.map
@@ -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,10 +0,0 @@
1
- export const ID = "TRANSFER";
2
- export const HOSTS = {
3
- sandbox: "transfer.sandbox.globuscs.info",
4
- production: "transfer.api.globusonline.org",
5
- staging: "transfer.api.staging.globuscs.info",
6
- integration: "transfer.api.integration.globuscs.info",
7
- test: "transfer.api.test.globuscs.info",
8
- preview: "transfer.api.preview.globus.org",
9
- };
10
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,EAAE,GAAG,UAAU,CAAC;AAC7B,MAAM,CAAC,MAAM,KAAK,GAAyC;IACzD,OAAO,EAAE,gCAAgC;IACzC,UAAU,EAAE,+BAA+B;IAC3C,OAAO,EAAE,oCAAoC;IAC7C,WAAW,EAAE,wCAAwC;IACrD,IAAI,EAAE,iCAAiC;IACvC,OAAO,EAAE,iCAAiC;CAC3C,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,17 +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 const CONFIG = TRANSFER;
9
- import _endpointSearch from "./service/endpoint-search";
10
- export const endpointSearch = _endpointSearch;
11
- import * as fileOperations_1 from "./service/file-operations";
12
- export { fileOperations_1 as fileOperations };
13
- import * as taskSubmission_1 from "./service/task-submission";
14
- export { taskSubmission_1 as taskSubmission };
15
- import * as endpoint_1 from "./service/endpoint";
16
- export { endpoint_1 as endpoint };
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC;AAE/B,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAC;kCACd,2BAA2B;6BAA/C,cAAc;kCACM,2BAA2B;6BAA/C,cAAc;4BACA,oBAAoB;uBAAlC,QAAQ"}
@@ -1,11 +0,0 @@
1
- import type { SDKOptions } from "../../types";
2
- import { Globus } from "../types";
3
- /**
4
- * @see https://docs.globus.org/api/transfer/endpoint_search/#endpoint_search
5
- */
6
- export default function endpointSearch(
7
- /**
8
- * @see https://docs.globus.org/api/transfer/endpoint_search/#query_parameters
9
- */
10
- parameters?: Globus.Transfer.EndpointSearchQuery, options?: SDKOptions): Promise<Response>;
11
- //# 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,aAAa,CAAC;AAG9C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC;;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,17 +0,0 @@
1
- import { build } from "../../../core/url";
2
- import { fetchWithScope } from "../../../core/fetch";
3
- import { ID } from "../config";
4
- /**
5
- * @see https://docs.globus.org/api/transfer/endpoint_search/#endpoint_search
6
- */
7
- export default function endpointSearch(
8
- /**
9
- * @see https://docs.globus.org/api/transfer/endpoint_search/#query_parameters
10
- */
11
- parameters, options) {
12
- var _a;
13
- return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/endpoint_search`, {
14
- search: parameters !== null && parameters !== void 0 ? parameters : {},
15
- }), (_a = options === null || options === void 0 ? void 0 : options.fetch) === null || _a === void 0 ? void 0 : _a.options);
16
- }
17
- //# sourceMappingURL=endpoint-search.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"endpoint-search.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint-search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAG/B;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc;AACpC;;GAEG;AACH,UAAgD,EAChD,OAAoB;;IAEpB,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,wBAAwB,EAAE;QAClC,MAAM,EAAE,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,EAAE;KACzB,CAAC,EACF,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,OAAO,CACxB,CAAC;AACJ,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Fetch an endpoint by its UUID.
3
- */
4
- export declare const get: (endpoint_xid: string, _options?: undefined, sdkOptions?: 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/transfer/service/endpoint.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,eAAO,MAAM,GAAG,8HAYf,CAAC"}
@@ -1,11 +0,0 @@
1
- import { build } from "../../../core/url";
2
- import { fetchWithScope } from "../../../core/fetch";
3
- import { ID } from "../config";
4
- /**
5
- * Fetch an endpoint by its UUID.
6
- */
7
- export const get = function (endpoint_xid, _options, sdkOptions) {
8
- var _a;
9
- return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/endpoint/${endpoint_xid}`), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
10
- };
11
- //# sourceMappingURL=endpoint.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAQ/B;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,YAAY,EAAE,QAAS,EAAE,UAAW;;IAC/D,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,mBAAmB,YAAY,EAAE,CAAC,oBAEvC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAIC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"file-operations.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/file-operations.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKvC;;;;;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,53 +0,0 @@
1
- import { build } from "../../../core/url";
2
- import { fetchWithScope } from "../../../core/fetch";
3
- import { HTTP_METHODS } from "../../shared";
4
- import { getHeadersForService } from "../shared";
5
- import { ID } from "../config";
6
- /**
7
- * List the contents of the directory at the specified path on an endpoint’s filesystem.
8
- * The endpoint must be activated before performing this operation.
9
- *
10
- * @see https://docs.globus.org/api/transfer/file_operations/#list_directory_contents
11
- */
12
- export const ls = function (endpoint_xid, parameters, sdkOptions) {
13
- var _a;
14
- return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/operation/endpoint/${endpoint_xid}/ls`, {
15
- search: parameters,
16
- }), (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options);
17
- };
18
- /**
19
- * Create a directory at the specified path on an endpoint filesystem.
20
- * The endpoint must be activated before performing this operation.
21
- *
22
- * @see https://docs.globus.org/api/transfer/file_operations/#make_directory
23
- */
24
- export const mkdir = function (endpoint_xid, options, sdkOptions) {
25
- var _a;
26
- const reqBody = Object.assign({ DATA_TYPE: "mkdir" }, options === null || options === void 0 ? void 0 : options.payload);
27
- return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/operation/endpoint/${endpoint_xid}/mkdir`), Object.assign({ method: HTTP_METHODS.post, body: JSON.stringify(reqBody), headers: getHeadersForService(HTTP_METHODS.post) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
28
- };
29
- /**
30
- * Rename or move a file, directory, or symlink on an endpoint filesystem.
31
- * If the object is a symlink, the symlink itself is renamed, not its target
32
- * The endpoint must be activated before performing this operation.
33
- * When moving to a different parent directory, the parent directory of the new path must already exist.
34
- *
35
- * @see https://docs.globus.org/api/transfer/file_operations/#rename
36
- */
37
- export const rename = function (endpoint_xid, options, sdkOptions) {
38
- var _a;
39
- const reqBody = Object.assign({ DATA_TYPE: "rename" }, options === null || options === void 0 ? void 0 : options.payload);
40
- return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/operation/endpoint/${endpoint_xid}/rename`), Object.assign({ method: HTTP_METHODS.post, body: JSON.stringify(reqBody), headers: getHeadersForService(HTTP_METHODS.post) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
41
- };
42
- /**
43
- * Create a directory at the specified path on an endpoint filesystem.
44
- * The endpoint must be activated before performing this operation.
45
- *
46
- * @see https://docs.globus.org/api/transfer/file_operations/#symlink
47
- */
48
- export const symlink = function (endpoint_xid, options, sdkOptions) {
49
- var _a;
50
- const reqBody = Object.assign({ DATA_TYPE: "symlink" }, options === null || options === void 0 ? void 0 : options.payload);
51
- return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/operation/endpoint/${endpoint_xid}/symlink`), Object.assign({ method: HTTP_METHODS.post, body: JSON.stringify(reqBody), headers: getHeadersForService(HTTP_METHODS.post) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
52
- };
53
- //# sourceMappingURL=file-operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file-operations.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/file-operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAK5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG,UAAU,YAAY,EAAE,UAAW,EAAE,UAAW;;IAChE,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,6BAA6B,YAAY,KAAK,EAAE;QACxD,MAAM,EAAE,UAAU;KACnB,CAAC,EACF,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,CAC3B,CAAC;AACJ,CAGC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,YAAY,EAAE,OAAO,EAAE,UAAW;;IAC/D,MAAM,OAAO,mBACX,SAAS,EAAE,OAAO,IACf,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CACpB,CAAC;IAEF,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,6BAA6B,YAAY,QAAQ,CAAC,kBAE1D,MAAM,EAAE,YAAY,CAAC,IAAI,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAC7B,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7C,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAKC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,YAAY,EAAE,OAAO,EAAE,UAAW;;IAChE,MAAM,OAAO,mBACX,SAAS,EAAE,QAAQ,IAChB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CACpB,CAAC;IAEF,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,6BAA6B,YAAY,SAAS,CAAC,kBAE3D,MAAM,EAAE,YAAY,CAAC,IAAI,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAC7B,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7C,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAKC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,YAAY,EAAE,OAAO,EAAE,UAAW;;IACjE,MAAM,OAAO,mBACX,SAAS,EAAE,SAAS,IACjB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CACpB,CAAC;IAEF,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,6BAA6B,YAAY,UAAU,CAAC,kBAE5D,MAAM,EAAE,YAAY,CAAC,IAAI,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAC7B,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7C,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAKC,CAAC"}
@@ -1,22 +0,0 @@
1
- import type { SDKOptions, ServiceMethod } from "../../types";
2
- import { Globus } from "../types";
3
- /**
4
- * Submit a delete task. A delete submission contains a single endpoint and a
5
- * list of paths to delete.
6
- *
7
- * @see https://docs.globus.org/api/transfer/task_submit/#submit_delete_task
8
- */
9
- export declare const submitDelete: ServiceMethod<{
10
- payload: Omit<Globus.Transfer.Request.Delete, "DATA_TYPE">;
11
- }>;
12
- export declare const submitTransfer: ServiceMethod<{
13
- payload: Omit<Globus.Transfer.Request.Transfer, "DATA_TYPE">;
14
- }>;
15
- /**
16
- * Get a submission id, required when submitting transfer and delete tasks.
17
- * Note that this is different than the task id returned by the submit operations.
18
- *
19
- * @see https://docs.globus.org/api/transfer/task_submit/#get_submission_id
20
- */
21
- export declare function submissionId(options?: SDKOptions): Promise<Response>;
22
- //# 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;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKlC;;;;;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,31 +0,0 @@
1
- import { build } from "../../../core/url";
2
- import { fetchWithScope } from "../../../core/fetch";
3
- import { HTTP_METHODS } from "../../shared";
4
- import { getHeadersForService } from "../shared";
5
- import { ID } from "../config";
6
- /**
7
- * Submit a delete task. A delete submission contains a single endpoint and a
8
- * list of paths to delete.
9
- *
10
- * @see https://docs.globus.org/api/transfer/task_submit/#submit_delete_task
11
- */
12
- export const submitDelete = function (options, sdkOptions) {
13
- var _a;
14
- const reqBody = Object.assign({ DATA_TYPE: "delete" }, options === null || options === void 0 ? void 0 : options.payload);
15
- return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/delete`), Object.assign({ method: HTTP_METHODS.post, body: JSON.stringify(reqBody), headers: getHeadersForService(HTTP_METHODS.post) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
16
- };
17
- export const submitTransfer = function (options, sdkOptions) {
18
- var _a;
19
- return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/transfer`), Object.assign({ method: HTTP_METHODS.post, body: JSON.stringify(Object.assign({ DATA_TYPE: "transfer" }, options === null || options === void 0 ? void 0 : options.payload)), headers: getHeadersForService(HTTP_METHODS.post) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
20
- };
21
- /**
22
- * Get a submission id, required when submitting transfer and delete tasks.
23
- * Note that this is different than the task id returned by the submit operations.
24
- *
25
- * @see https://docs.globus.org/api/transfer/task_submit/#get_submission_id
26
- */
27
- export function submissionId(options) {
28
- var _a;
29
- return fetchWithScope("urn:globus:auth:scope:transfer.api.globus.org:all", build(ID, `/v0.10/submission_id`), Object.assign({}, (_a = options === null || options === void 0 ? void 0 : options.fetch) === null || _a === void 0 ? void 0 : _a.options));
30
- }
31
- //# sourceMappingURL=task-submission.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-submission.js","sourceRoot":"","sources":["../../../../../../src/lib/services/transfer/service/task-submission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAK5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAEpB,UAAU,OAAO,EAAE,UAAuB;;IAC7C,MAAM,OAAO,mBACX,SAAS,EAAE,QAAQ,IAChB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CACpB,CAAC;IAEF,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,eAAe,CAAC,kBAExB,MAAM,EAAE,YAAY,CAAC,IAAI,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAC7B,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7C,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAEtB,UAAU,OAAO,EAAE,UAAuB;;IAC7C,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,iBAAiB,CAAC,kBAE1B,MAAM,EAAE,YAAY,CAAC,IAAI,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,iBAClB,SAAS,EAAE,UAAU,IAClB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,EACnB,EACF,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7C,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,OAAoB;;IAC/C,OAAO,cAAc,CACnB,mDAAmD,EACnD,KAAK,CAAC,EAAE,EAAE,sBAAsB,CAAC,oBAE5B,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,OAAO,EAE7B,CAAC;AACJ,CAAC"}
@@ -1,3 +0,0 @@
1
- import { HTTP_METHODS } from "../shared";
2
- export declare function getHeadersForService(method: keyof typeof HTTP_METHODS): Record<string, any>;
3
- //# sourceMappingURL=shared.d.ts.map
@@ -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,10 +0,0 @@
1
- import { HTTP_METHODS } from "../shared";
2
- export function getHeadersForService(method) {
3
- if (method === HTTP_METHODS.get) {
4
- return {};
5
- }
6
- return {
7
- "Content-Type": "application/json",
8
- };
9
- }
10
- //# sourceMappingURL=shared.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../src/lib/services/transfer/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,UAAU,oBAAoB,CAClC,MAAiC;IAEjC,IAAI,MAAM,KAAK,YAAY,CAAC,GAAG,EAAE;QAC/B,OAAO,EAAE,CAAC;KACX;IACD,OAAO;QACL,cAAc,EAAE,kBAAkB;KACnC,CAAC;AACJ,CAAC"}
@@ -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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/lib/services/types.ts"],"names":[],"mappings":""}