@globus/sdk 0.2.0-alpha.0 → 0.4.0-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 (129) hide show
  1. package/dist/commonjs/src/lib/core/global.d.ts +1 -0
  2. package/dist/commonjs/src/lib/core/global.d.ts.map +1 -1
  3. package/dist/commonjs/src/lib/core/global.js +3 -0
  4. package/dist/commonjs/src/lib/core/global.js.map +1 -1
  5. package/dist/commonjs/src/lib/core/url.d.ts +16 -4
  6. package/dist/commonjs/src/lib/core/url.d.ts.map +1 -1
  7. package/dist/commonjs/src/lib/core/url.js +36 -7
  8. package/dist/commonjs/src/lib/core/url.js.map +1 -1
  9. package/dist/commonjs/src/lib/services/globus-connect-server/client.d.ts +3351 -4
  10. package/dist/commonjs/src/lib/services/globus-connect-server/client.d.ts.map +1 -1
  11. package/dist/commonjs/src/lib/services/globus-connect-server/client.js +17 -2
  12. package/dist/commonjs/src/lib/services/globus-connect-server/client.js.map +1 -1
  13. package/dist/commonjs/src/lib/services/globus-connect-server/index.d.ts +3 -8
  14. package/dist/commonjs/src/lib/services/globus-connect-server/index.d.ts.map +1 -1
  15. package/dist/commonjs/src/lib/services/globus-connect-server/index.js +4 -16
  16. package/dist/commonjs/src/lib/services/globus-connect-server/index.js.map +1 -1
  17. package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.d.ts +8 -2
  18. package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.d.ts.map +1 -1
  19. package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.js +4 -7
  20. package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.js.map +1 -1
  21. package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.d.ts +3 -1
  22. package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
  23. package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.js +2 -1
  24. package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
  25. package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.d.ts +13 -0
  26. package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.d.ts.map +1 -0
  27. package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.js +23 -0
  28. package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.js.map +1 -0
  29. package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.d.ts +15 -0
  30. package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -0
  31. package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.js +25 -0
  32. package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -0
  33. package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.d.ts +14 -0
  34. package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -0
  35. package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.js +23 -0
  36. package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.js.map +1 -0
  37. package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.d.ts +3 -1
  38. package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.d.ts.map +1 -1
  39. package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.js +2 -1
  40. package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.js.map +1 -1
  41. package/dist/commonjs/src/lib/services/groups/config.d.ts +11 -0
  42. package/dist/commonjs/src/lib/services/groups/config.d.ts.map +1 -0
  43. package/dist/commonjs/src/lib/services/groups/config.js +20 -0
  44. package/dist/commonjs/src/lib/services/groups/config.js.map +1 -0
  45. package/dist/commonjs/src/lib/services/groups/index.d.ts +15 -0
  46. package/dist/commonjs/src/lib/services/groups/index.d.ts.map +1 -0
  47. package/dist/commonjs/src/lib/services/groups/index.js +18 -0
  48. package/dist/commonjs/src/lib/services/groups/index.js.map +1 -0
  49. package/dist/commonjs/src/lib/services/groups/service/groups.d.ts +18 -0
  50. package/dist/commonjs/src/lib/services/groups/service/groups.d.ts.map +1 -0
  51. package/dist/commonjs/src/lib/services/groups/service/groups.js +25 -0
  52. package/dist/commonjs/src/lib/services/groups/service/groups.js.map +1 -0
  53. package/dist/commonjs/src/lib/services/groups/service/membership.d.ts +10 -0
  54. package/dist/commonjs/src/lib/services/groups/service/membership.d.ts.map +1 -0
  55. package/dist/commonjs/src/lib/services/groups/service/membership.js +17 -0
  56. package/dist/commonjs/src/lib/services/groups/service/membership.js.map +1 -0
  57. package/dist/commonjs/src/lib/services/groups/service/policies.d.ts +7 -0
  58. package/dist/commonjs/src/lib/services/groups/service/policies.d.ts.map +1 -0
  59. package/dist/commonjs/src/lib/services/groups/service/policies.js +14 -0
  60. package/dist/commonjs/src/lib/services/groups/service/policies.js.map +1 -0
  61. package/dist/commonjs/src/lib/services/transfer/service/endpoint-search.d.ts.map +1 -1
  62. package/dist/commonjs/src/lib/services/transfer/service/endpoint-search.js +5 -9
  63. package/dist/commonjs/src/lib/services/transfer/service/endpoint-search.js.map +1 -1
  64. package/dist/commonjs/tsconfig.cjs.tsbuildinfo +1 -1
  65. package/dist/src/lib/core/global.d.ts +1 -0
  66. package/dist/src/lib/core/global.d.ts.map +1 -1
  67. package/dist/src/lib/core/global.js +3 -0
  68. package/dist/src/lib/core/global.js.map +1 -1
  69. package/dist/src/lib/core/url.d.ts +16 -4
  70. package/dist/src/lib/core/url.d.ts.map +1 -1
  71. package/dist/src/lib/core/url.js +34 -6
  72. package/dist/src/lib/core/url.js.map +1 -1
  73. package/dist/src/lib/services/globus-connect-server/client.d.ts +3351 -4
  74. package/dist/src/lib/services/globus-connect-server/client.d.ts.map +1 -1
  75. package/dist/src/lib/services/globus-connect-server/client.js +17 -2
  76. package/dist/src/lib/services/globus-connect-server/client.js.map +1 -1
  77. package/dist/src/lib/services/globus-connect-server/index.d.ts +3 -8
  78. package/dist/src/lib/services/globus-connect-server/index.d.ts.map +1 -1
  79. package/dist/src/lib/services/globus-connect-server/index.js +6 -14
  80. package/dist/src/lib/services/globus-connect-server/index.js.map +1 -1
  81. package/dist/src/lib/services/globus-connect-server/service/collections.d.ts +8 -2
  82. package/dist/src/lib/services/globus-connect-server/service/collections.d.ts.map +1 -1
  83. package/dist/src/lib/services/globus-connect-server/service/collections.js +3 -6
  84. package/dist/src/lib/services/globus-connect-server/service/collections.js.map +1 -1
  85. package/dist/src/lib/services/globus-connect-server/service/endpoint.d.ts +3 -1
  86. package/dist/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
  87. package/dist/src/lib/services/globus-connect-server/service/endpoint.js +2 -1
  88. package/dist/src/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
  89. package/dist/src/lib/services/globus-connect-server/service/roles.d.ts +13 -0
  90. package/dist/src/lib/services/globus-connect-server/service/roles.d.ts.map +1 -0
  91. package/dist/src/lib/services/globus-connect-server/service/roles.js +20 -0
  92. package/dist/src/lib/services/globus-connect-server/service/roles.js.map +1 -0
  93. package/dist/src/lib/services/globus-connect-server/service/storage-gateways.d.ts +15 -0
  94. package/dist/src/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -0
  95. package/dist/src/lib/services/globus-connect-server/service/storage-gateways.js +22 -0
  96. package/dist/src/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -0
  97. package/dist/src/lib/services/globus-connect-server/service/user-credentials.d.ts +14 -0
  98. package/dist/src/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -0
  99. package/dist/src/lib/services/globus-connect-server/service/user-credentials.js +20 -0
  100. package/dist/src/lib/services/globus-connect-server/service/user-credentials.js.map +1 -0
  101. package/dist/src/lib/services/globus-connect-server/service/versioning.d.ts +3 -1
  102. package/dist/src/lib/services/globus-connect-server/service/versioning.d.ts.map +1 -1
  103. package/dist/src/lib/services/globus-connect-server/service/versioning.js +2 -1
  104. package/dist/src/lib/services/globus-connect-server/service/versioning.js.map +1 -1
  105. package/dist/src/lib/services/groups/config.d.ts +11 -0
  106. package/dist/src/lib/services/groups/config.d.ts.map +1 -0
  107. package/dist/src/lib/services/groups/config.js +17 -0
  108. package/dist/src/lib/services/groups/config.js.map +1 -0
  109. package/dist/src/lib/services/groups/index.d.ts +15 -0
  110. package/dist/src/lib/services/groups/index.d.ts.map +1 -0
  111. package/dist/src/lib/services/groups/index.js +15 -0
  112. package/dist/src/lib/services/groups/index.js.map +1 -0
  113. package/dist/src/lib/services/groups/service/groups.d.ts +18 -0
  114. package/dist/src/lib/services/groups/service/groups.d.ts.map +1 -0
  115. package/dist/src/lib/services/groups/service/groups.js +22 -0
  116. package/dist/src/lib/services/groups/service/groups.js.map +1 -0
  117. package/dist/src/lib/services/groups/service/membership.d.ts +10 -0
  118. package/dist/src/lib/services/groups/service/membership.d.ts.map +1 -0
  119. package/dist/src/lib/services/groups/service/membership.js +14 -0
  120. package/dist/src/lib/services/groups/service/membership.js.map +1 -0
  121. package/dist/src/lib/services/groups/service/policies.d.ts +7 -0
  122. package/dist/src/lib/services/groups/service/policies.d.ts.map +1 -0
  123. package/dist/src/lib/services/groups/service/policies.js +11 -0
  124. package/dist/src/lib/services/groups/service/policies.js.map +1 -0
  125. package/dist/src/lib/services/transfer/service/endpoint-search.d.ts.map +1 -1
  126. package/dist/src/lib/services/transfer/service/endpoint-search.js +5 -9
  127. package/dist/src/lib/services/transfer/service/endpoint-search.js.map +1 -1
  128. package/dist/tsconfig.tsbuildinfo +1 -1
  129. package/package.json +7 -6
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,GAAG,CAAC;AA2B1C;;;GAGG;AACH,wBAAgB,SAAS,CAAC,aAAa,EAAE,gBAAgB;;;;;;;;;;;;;;EAcxD"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BxD"}
@@ -1,6 +1,9 @@
1
1
  import * as collections from "./service/collections";
2
2
  import * as endpoint from "./service/endpoint";
3
- import * as versioning from "./service/endpoint";
3
+ import * as roles from "./service/roles";
4
+ import * as storageGateways from "./service/storage-gateways";
5
+ import * as userCredentials from "./service/user-credentials";
6
+ import * as versioning from "./service/versioning";
4
7
  /**
5
8
  * Bind arguments to a method (partial application).
6
9
  * @param method The method arguments will be bound to.
@@ -22,12 +25,24 @@ export function getClient(configuration) {
22
25
  get: bind(endpoint.get, configuration),
23
26
  },
24
27
  versioning: {
25
- get: bind(versioning.get, configuration),
28
+ info: bind(versioning.info, configuration),
26
29
  },
27
30
  collections: {
28
31
  get: bind(collections.get, configuration),
29
32
  getAll: bind(collections.getAll, configuration),
30
33
  },
34
+ userCredentials: {
35
+ get: bind(userCredentials.get, configuration),
36
+ getAll: bind(userCredentials.getAll, configuration),
37
+ },
38
+ storageGateways: {
39
+ get: bind(storageGateways.get, configuration),
40
+ getAll: bind(storageGateways.getAll, configuration),
41
+ },
42
+ roles: {
43
+ get: bind(roles.get, configuration),
44
+ getAll: bind(roles.getAll, configuration),
45
+ },
31
46
  };
32
47
  }
33
48
  //# sourceMappingURL=client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/client.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AASjD;;;;GAIG;AACH,SAAS,IAAI,CACX,MAAS,EACT,GAAG,KAAW;IAEd,OAAO,UAAU,GAAG,IAAsC;QACxD,OAAO,MAAM,CAAC,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC;IACnC,CAAC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,aAA+B;IACvD,OAAO;QACL,aAAa;QACb,QAAQ,EAAE;YACR,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;SACvC;QACD,UAAU,EAAE;YACV,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,aAAa,CAAC;SACzC;QACD,WAAW,EAAE;YACX,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,aAAa,CAAC;YACzC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,aAAa,CAAC;SAChD;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/client.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAC;AACzC,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AASnD;;;;GAIG;AACH,SAAS,IAAI,CACX,MAAS,EACT,GAAG,KAAW;IAEd,OAAO,UAAU,GAAG,IAAsC;QACxD,OAAO,MAAM,CAAC,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC;IACnC,CAAC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,aAA+B;IACvD,OAAO;QACL,aAAa;QACb,QAAQ,EAAE;YACR,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;SACvC;QACD,UAAU,EAAE;YACV,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,aAAa,CAAC;SAC3C;QACD,WAAW,EAAE;YACX,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,aAAa,CAAC;YACzC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,aAAa,CAAC;SAChD;QACD,eAAe,EAAE;YACf,GAAG,EAAE,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,aAAa,CAAC;YAC7C,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC;SACpD;QACD,eAAe,EAAE;YACf,GAAG,EAAE,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,aAAa,CAAC;YAC7C,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC;SACpD;QACD,KAAK,EAAE;YACL,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,aAAa,CAAC;YACnC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,CAAC;SAC1C;KACF,CAAC;AACJ,CAAC"}
@@ -6,21 +6,16 @@
6
6
  */
7
7
  /// <reference types="@globus/types" />
8
8
  import type { Segment, Options, SDKOptions, ServiceMethod, ServiceMethodDynamicSegments } from "../types";
9
- type BuildParameters = Parameters<typeof import("../../core/url").build>;
10
9
  /**
11
10
  * Service methods for the Globus Connect Server Manager API.
12
11
  */
13
12
  export * as collections from "./service/collections";
14
13
  export * as endpoint from "./service/endpoint";
14
+ export * as roles from "./service/roles";
15
+ export * as storageGateways from "./service/storage-gateways";
16
+ export * as userCredentials from "./service/user-credentials";
15
17
  export * as versioning from "./service/versioning";
16
18
  export declare function getRequiredScopes(configuration: GCSConfiguration): string;
17
- /**
18
- * Build a URL for the Globus Connect Server Manager API.
19
- * @param host The base URL for the Globus Connect Server Manager API.
20
- * @param path The path to the resource.
21
- * @param options Additional options for the URL.
22
- */
23
- export declare function build(configuration: GCSConfiguration, path: BuildParameters[1], options?: BuildParameters[2]): string;
24
19
  /**
25
20
  * The configuration object used by all Globus Connect Server Manager API methods.
26
21
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,UAAU,EACV,aAAa,EACb,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAElB,KAAK,eAAe,GAAG,UAAU,CAAC,cAAc,gBAAgB,EAAE,KAAK,CAAC,CAAC;AAEzE;;GAEG;AACH,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAQnD,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,gBAAgB,UAKhE;AAED;;;;;GAKG;AACH,wBAAgB,KAAK,CACnB,aAAa,EAAE,gBAAgB,EAC/B,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,EACxB,OAAO,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,UAQ7B;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAC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AgB,GAAG;IAC7B;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC;CAC1B,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAC1B,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAC3B,CACF,aAAa,EAAE,gBAAgB,EAC/B,aAAa,CAAC,EAAE,CAAC,EACjB,UAAU,CAAC,EAAE,UAAU,KACpB,UAAU,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAErC;;;GAGG;AACH,MAAM,MAAM,+BAA+B,CACzC,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAC3B,CACF,aAAa,EAAE,gBAAgB,EAC/B,QAAQ,EAAE,CAAC,EACX,aAAa,CAAC,EAAE,CAAC,EACjB,UAAU,CAAC,EAAE,UAAU,KACpB,UAAU,CAAC,4BAA4B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC"}
@@ -8,6 +8,12 @@ import * as collections_1 from "./service/collections";
8
8
  export { collections_1 as collections };
9
9
  import * as endpoint_1 from "./service/endpoint";
10
10
  export { endpoint_1 as endpoint };
11
+ import * as roles_1 from "./service/roles";
12
+ export { roles_1 as roles };
13
+ import * as storageGateways_1 from "./service/storage-gateways";
14
+ export { storageGateways_1 as storageGateways };
15
+ import * as userCredentials_1 from "./service/user-credentials";
16
+ export { userCredentials_1 as userCredentials };
11
17
  import * as versioning_1 from "./service/versioning";
12
18
  export { versioning_1 as versioning };
13
19
  const SCOPES = {
@@ -17,18 +23,4 @@ const SCOPES = {
17
23
  export function getRequiredScopes(configuration) {
18
24
  return SCOPES.HIGH_ASSURANCE.replace("<ENDPOINT_ID>", configuration.endpoint_id);
19
25
  }
20
- /**
21
- * Build a URL for the Globus Connect Server Manager API.
22
- * @param host The base URL for the Globus Connect Server Manager API.
23
- * @param path The path to the resource.
24
- * @param options Additional options for the URL.
25
- */
26
- export function build(configuration, path, options) {
27
- const url = new URL(path, configuration.host);
28
- if (options && options.search) {
29
- const search = new URLSearchParams(options.search);
30
- url.search = search.toString();
31
- }
32
- return url.toString();
33
- }
34
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;+BAe0B,uBAAuB;0BAAxC,WAAW;4BACG,oBAAoB;uBAAlC,QAAQ;8BACQ,sBAAsB;yBAAtC,UAAU;AAEtB,MAAM,MAAM,GAAG;IACb,cAAc,EAAE,wDAAwD;IACxE,kBAAkB,EAChB,4HAA4H;CAC/H,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,aAA+B;IAC/D,OAAO,MAAM,CAAC,cAAc,CAAC,OAAO,CAClC,eAAe,EACf,aAAa,CAAC,WAAW,CAC1B,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,KAAK,CACnB,aAA+B,EAC/B,IAAwB,EACxB,OAA4B;IAE5B,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC;IAC9C,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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/globus-connect-server/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;+BAa0B,uBAAuB;0BAAxC,WAAW;4BACG,oBAAoB;uBAAlC,QAAQ;yBACG,iBAAiB;oBAA5B,KAAK;mCACgB,4BAA4B;8BAAjD,eAAe;mCACM,4BAA4B;8BAAjD,eAAe;8BACC,sBAAsB;yBAAtC,UAAU;AAEtB,MAAM,MAAM,GAAG;IACb,cAAc,EAAE,wDAAwD;IACxE,kBAAkB,EAChB,4HAA4H;CAC/H,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,aAA+B;IAC/D,OAAO,MAAM,CAAC,cAAc,CAAC,OAAO,CAClC,eAAe,EACf,aAAa,CAAC,WAAW,CAC1B,CAAC;AACJ,CAAC"}
@@ -1,11 +1,17 @@
1
+ import type { JSONFetchResponse } from "../../types";
2
+ import type { operations } from "@globus/types/gcs-manager/api";
1
3
  /**
2
4
  * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Collections/#listCollections
3
5
  */
4
- export declare const getAll: (configuration: import("../index").GCSConfiguration, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
6
+ export declare const getAll: (configuration: import("../index").GCSConfiguration, _parameters?: {
7
+ include?: "private_policies"[] | undefined;
8
+ filter?: ("mapped_collections" | "guest_collections" | "managed_by_me" | "created_by_me")[] | undefined;
9
+ mapped_collection_id?: string | undefined;
10
+ } | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["listCollections"]["responses"]["200"]["content"]["application/json"]>>;
5
11
  /**
6
12
  * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Collections/#getCollection
7
13
  */
8
14
  export declare const get: (configuration: import("../index").GCSConfiguration, collection_id: string, parameters?: {
9
15
  include?: "private_policies"[] | undefined;
10
- } | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
16
+ } | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getCollection"]["responses"]["200"]["content"]["application/json"]>>;
11
17
  //# sourceMappingURL=collections.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/collections.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,eAAO,MAAM,MAAM,+JAQgB,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,GAAG;;8FAwBf,CAAC"}
1
+ {"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/collections.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,MAAM;;;;6EAIhB,QACD,kBACE,UAAU,CAAC,iBAAiB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACjF,CAWF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,GAAG;;6EAKb,QACD,kBACE,UAAU,CAAC,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC/E,CAcF,CAAC"}
@@ -1,4 +1,5 @@
1
- import { build, getRequiredScopes } from "../index";
1
+ import { getRequiredScopes } from "../index";
2
+ import { build } from "../../../core/url";
2
3
  import { fetchWithScope } from "../../../core/fetch";
3
4
  /**
4
5
  * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Collections/#listCollections
@@ -12,12 +13,8 @@ export const getAll = function (configuration, _parameters, sdkOptions) {
12
13
  */
13
14
  export const get = function (configuration, collection_id, parameters, sdkOptions) {
14
15
  var _a;
15
- const search = {};
16
- if (parameters && "include" in parameters && parameters.include) {
17
- search.include = parameters.include.join(",");
18
- }
19
16
  return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/collections/${collection_id}`, {
20
- search,
17
+ search: parameters,
21
18
  }), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
22
19
  };
23
20
  //# sourceMappingURL=collections.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/collections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AASrD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,aAAa,EAAE,WAAY,EAAE,UAAW;;IACtE,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,kBAAkB,CAAC,oBAEnC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAAmC,CAAC;AAEpC;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,aAAa,EACb,UAAW,EACX,UAAW;;IAEX,MAAM,MAAM,GAER,EAAE,CAAC;IACP,IAAI,UAAU,IAAI,SAAS,IAAI,UAAU,IAAI,UAAU,CAAC,OAAO,EAAE;QAC/D,MAAM,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAC/C;IACD,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,oBAAoB,aAAa,EAAE,EAAE;QACxD,MAAM;KACP,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAGC,CAAC"}
1
+ {"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/collections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAUrD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,aAAa,EACb,WAAY,EACZ,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,kBAAkB,CAAC,oBAEnC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAEC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,aAAa,EACb,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,oBAAoB,aAAa,EAAE,EAAE;QACxD,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAGC,CAAC"}
@@ -1,5 +1,7 @@
1
+ import type { JSONFetchResponse } from "../../types";
2
+ import type { operations } from "@globus/types/gcs-manager/api";
1
3
  /**
2
4
  * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#getEndpoint
3
5
  */
4
- export declare const get: (configuration: import("../index").GCSConfiguration, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
6
+ export declare const get: (configuration: import("../index").GCSConfiguration, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getEndpoint"]["responses"]["200"]["content"]["application/json"]>>;
5
7
  //# sourceMappingURL=endpoint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,GAAG,+JAQmB,CAAC"}
1
+ {"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE;;GAEG;AACH,eAAO,MAAM,GAAG,8IAIb,QACD,kBACE,UAAU,CAAC,aAAa,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC7E,CASgC,CAAC"}
@@ -1,4 +1,5 @@
1
- import { build, getRequiredScopes } from "../index";
1
+ import { getRequiredScopes } from "../index";
2
+ import { build } from "../../../core/url";
2
3
  import { fetchWithScope } from "../../../core/fetch";
3
4
  /**
4
5
  * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#getEndpoint
@@ -1 +1 @@
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,aAAa,EAAE,WAAY,EAAE,UAAW;;IACnE,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,eAAe,CAAC,oBAEhC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAAmC,CAAC"}
1
+ {"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAMrD;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,WAAY,EACZ,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,eAAe,CAAC,oBAEhC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAAmC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { JSONFetchResponse } from "../../types";
2
+ import type { operations } from "@globus/types/gcs-manager/api";
3
+ /**
4
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Roles/#listRoles
5
+ */
6
+ export declare const getAll: (configuration: import("../index").GCSConfiguration, parameters?: {
7
+ include?: "all_roles"[] | undefined;
8
+ } | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["listRoles"]["responses"]["200"]["content"]["application/json"]>>;
9
+ /**
10
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Roles/#getRole
11
+ */
12
+ export declare const get: (configuration: import("../index").GCSConfiguration, role_id: string, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getRole"]["responses"]["200"]["content"]["application/json"]>>;
13
+ //# sourceMappingURL=roles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/roles.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,MAAM;;6EAIhB,QACD,kBACE,UAAU,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC3E,CAWyE,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,GAAG,+JAKb,QACD,kBACE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACzE,CAYF,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { getRequiredScopes } from "../index";
2
+ import { build } from "../../../core/url";
3
+ import { fetchWithScope } from "../../../core/fetch";
4
+ /**
5
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Roles/#listRoles
6
+ */
7
+ export const getAll = function (configuration, parameters, sdkOptions) {
8
+ var _a;
9
+ return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/roles`, {
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
+ /**
14
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Roles/#getRole
15
+ */
16
+ export const get = function (configuration, role_id, _parameters, sdkOptions) {
17
+ var _a;
18
+ return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/roles/${role_id}`), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
19
+ };
20
+ //# sourceMappingURL=roles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roles.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/roles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAUrD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,aAAa,EACb,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,YAAY,EAAE;QACjC,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAA4E,CAAC;AAE7E;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,OAAO,EACP,WAAY,EACZ,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,cAAc,OAAO,EAAE,CAAC,oBAExC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAGC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { JSONFetchResponse } from "../../types";
2
+ import type { operations } from "@globus/types/gcs-manager/api";
3
+ /**
4
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Storage_Gateways/#listStorageGateways
5
+ */
6
+ export declare const getAll: (configuration: import("../index").GCSConfiguration, parameters?: {
7
+ include?: ("private_policies" | "accounts")[] | undefined;
8
+ } | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["listStorageGateways"]["responses"]["200"]["content"]["application/json"]>>;
9
+ /**
10
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Storage_Gateways/#getStorageGateway
11
+ */
12
+ export declare const get: (configuration: import("../index").GCSConfiguration, storage_gateway_id: string, parameters?: {
13
+ include?: ("private_policies" | "accounts")[] | undefined;
14
+ } | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getStorageGateway"]["responses"]["200"]["content"]["application/json"]>>;
15
+ //# sourceMappingURL=storage-gateways.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-gateways.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/storage-gateways.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,MAAM;;6EAIhB,QACD,kBACE,UAAU,CAAC,qBAAqB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACrF,CAaF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,GAAG;;6EAKb,QACD,kBACE,UAAU,CAAC,mBAAmB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACnF,CAcF,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { getRequiredScopes } from "../index";
2
+ import { build } from "../../../core/url";
3
+ import { fetchWithScope } from "../../../core/fetch";
4
+ /**
5
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Storage_Gateways/#listStorageGateways
6
+ */
7
+ export const getAll = function (configuration, parameters, sdkOptions) {
8
+ var _a;
9
+ return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/storage_gateways`, {
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
+ /**
14
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Storage_Gateways/#getStorageGateway
15
+ */
16
+ export const get = function (configuration, storage_gateway_id, parameters, sdkOptions) {
17
+ var _a;
18
+ return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/storage_gateways/${storage_gateway_id}`, {
19
+ search: parameters,
20
+ }), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
21
+ };
22
+ //# sourceMappingURL=storage-gateways.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-gateways.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/storage-gateways.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAUrD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,aAAa,EACb,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,uBAAuB,EAAE;QAC5C,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAEC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,kBAAkB,EAClB,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,yBAAyB,kBAAkB,EAAE,EAAE;QAClE,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAGC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { JSONFetchResponse } from "../../types";
2
+ import type { operations } from "@globus/types/gcs-manager/api";
3
+ /**
4
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_User_Credentials/#listUserCredentials
5
+ */
6
+ export declare const getAll: (configuration: import("../index").GCSConfiguration, parameters?: {
7
+ include?: "all"[] | undefined;
8
+ storage_gateway?: string | undefined;
9
+ } | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["listUserCredentials"]["responses"]["200"]["content"]["application/json"]>>;
10
+ /**
11
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_User_Credentials/#getUserCredential
12
+ */
13
+ export declare const get: (configuration: import("../index").GCSConfiguration, user_credential_id: string, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getCollection"]["responses"]["200"]["content"]["application/json"]>>;
14
+ //# sourceMappingURL=user-credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-credentials.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/user-credentials.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,MAAM;;;6EAIhB,QACD,kBACE,UAAU,CAAC,qBAAqB,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACrF,CAaF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,GAAG,0KAKb,QACD,kBACE,UAAU,CAAC,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC/E,CAYF,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { getRequiredScopes } from "../index";
2
+ import { build } from "../../../core/url";
3
+ import { fetchWithScope } from "../../../core/fetch";
4
+ /**
5
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_User_Credentials/#listUserCredentials
6
+ */
7
+ export const getAll = function (configuration, parameters, sdkOptions) {
8
+ var _a;
9
+ return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/user_credentials`, {
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
+ /**
14
+ * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_User_Credentials/#getUserCredential
15
+ */
16
+ export const get = function (configuration, user_credential_id, _parameters, sdkOptions) {
17
+ var _a;
18
+ return fetchWithScope(getRequiredScopes(configuration), build(configuration, `/api/user_credentials/${user_credential_id}`), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
19
+ };
20
+ //# sourceMappingURL=user-credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-credentials.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/user-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAUrD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,aAAa,EACb,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,uBAAuB,EAAE;QAC5C,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAEC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,kBAAkB,EAClB,WAAY,EACZ,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,yBAAyB,kBAAkB,EAAE,CAAC,oBAE9D,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAGC,CAAC"}
@@ -1,6 +1,8 @@
1
+ import type { JSONFetchResponse } from "../../types";
2
+ import type { operations } from "@globus/types/gcs-manager/api";
1
3
  /**
2
4
  *
3
5
  * @see https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Versioning/#getInfo
4
6
  */
5
- export declare const info: (configuration: import("../index").GCSConfiguration, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<Response>;
7
+ export declare const info: (configuration: import("../index").GCSConfiguration, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["getInfo"]["responses"]["200"]["content"]["application/json"]>>;
6
8
  //# sourceMappingURL=versioning.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"versioning.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAQA;;;GAGG;AACH,eAAO,MAAM,IAAI,+JAahB,CAAC"}
1
+ {"version":3,"file":"versioning.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,IAAI,8IAId,QACD,kBACE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACzE,CASgC,CAAC"}
@@ -1,4 +1,5 @@
1
- import { build, getRequiredScopes } from "../index";
1
+ import { getRequiredScopes } from "../index";
2
+ import { build } from "../../../core/url";
2
3
  import { fetchWithScope } from "../../../core/fetch";
3
4
  /**
4
5
  *
@@ -1 +1 @@
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;AAOrD;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,aAAa,EAAE,WAAY,EAAE,UAAW;;IACpE,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,WAAW,CAAC,oBAE5B,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAKC,CAAC"}
1
+ {"version":3,"file":"versioning.js","sourceRoot":"","sources":["../../../../../../src/lib/services/globus-connect-server/service/versioning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAOrD;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,UAClB,aAAa,EACb,WAAY,EACZ,UAAW;;IAMX,OAAO,cAAc,CACnB,iBAAiB,CAAC,aAAa,CAAC,EAChC,KAAK,CAAC,aAAa,EAAE,WAAW,CAAC,oBAE5B,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAAmC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { Environment } from "../../core/global";
2
+ export declare const ID = "GROUPS";
3
+ export declare const HOSTS: Partial<Record<Environment, string>>;
4
+ /**
5
+ * @see https://docs.globus.org/api/groups/#scopes
6
+ */
7
+ export declare const SCOPES: {
8
+ ALL: string;
9
+ VIEW_MY: string;
10
+ };
11
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/groups/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"}
@@ -0,0 +1,17 @@
1
+ export const ID = "GROUPS";
2
+ export const HOSTS = {
3
+ sandbox: "groups.api.sandbox.globuscs.info",
4
+ production: "groups.api.globus.org",
5
+ staging: "groups.api.staging.globuscs.info",
6
+ integration: "groups.api.integration.globuscs.info",
7
+ test: "groups.api.test.globuscs.info",
8
+ preview: "groups.api.preview.globuscs.info",
9
+ };
10
+ /**
11
+ * @see https://docs.globus.org/api/groups/#scopes
12
+ */
13
+ export const SCOPES = {
14
+ ALL: "urn:globus:auth:scope:groups.api.globus.org:all",
15
+ VIEW_MY: "urn:globus:auth:scope:groups.api.globus.org:view_my_groups_and_membership",
16
+ };
17
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/groups/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,kCAAkC;CAC5C,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,GAAG,EAAE,iDAAiD;IACtD,OAAO,EACL,2EAA2E;CAC9E,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @description A wrapper around the Groups API.
3
+ * @category Service
4
+ * @see [Groups API Documentation](https://docs.globus.org/api/groups/)
5
+ * @module
6
+ */
7
+ import * as GROUPS from "./config";
8
+ export declare const CONFIG: typeof GROUPS;
9
+ /**
10
+ * Service methods for the Groups API.
11
+ */
12
+ export * as groups from "./service/groups";
13
+ export * as policies from "./service/policies";
14
+ export * as membership from "./service/membership";
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/groups/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,eAAO,MAAM,MAAM,eAAS,CAAC;AAE7B;;GAEG;AACH,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @description A wrapper around the Groups API.
3
+ * @category Service
4
+ * @see [Groups API Documentation](https://docs.globus.org/api/groups/)
5
+ * @module
6
+ */
7
+ import * as GROUPS from "./config";
8
+ export const CONFIG = GROUPS;
9
+ import * as groups_1 from "./service/groups";
10
+ export { groups_1 as groups };
11
+ import * as policies_1 from "./service/policies";
12
+ export { policies_1 as policies };
13
+ import * as membership_1 from "./service/membership";
14
+ export { membership_1 as membership };
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/groups/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC;0BAKL,kBAAkB;qBAA9B,MAAM;4BACQ,oBAAoB;uBAAlC,QAAQ;8BACQ,sBAAsB;yBAAtC,UAAU"}
@@ -0,0 +1,18 @@
1
+ import type { JSONFetchResponse } from "../../types";
2
+ import type { operations } from "@globus/types/groups";
3
+ /**
4
+ * @see https://groups.api.globus.org/redoc#tag/groups/operation/get_my_groups_and_memberships_v2_groups_my_groups_get
5
+ */
6
+ export declare const getMyGroups: (parameters?: {
7
+ /**
8
+ * @todo This should probably be replaced with a more specific type for the method's accepted query parameters once available.
9
+ */
10
+ statuses?: ("active" | "invited" | "pending" | "rejected" | "removed" | "left" | "declined")[] | undefined;
11
+ } | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["get_my_groups_and_memberships_v2_groups_my_groups_get"]["responses"]["200"]["content"]["application/json"]>>;
12
+ /**
13
+ * @see https://groups.api.globus.org/redoc#tag/groups/operation/get_group_v2_groups__group_id__get
14
+ */
15
+ export declare const get: (group_id: string, parameters?: {
16
+ include?: string[] | undefined;
17
+ } | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["get_group_v2_groups__group_id__get"]["responses"]["200"]["content"]["application/json"]>>;
18
+ //# sourceMappingURL=groups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/groups/service/groups.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,iBAAiB,EAGlB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,WAAW;IAkBtB;;OAEG;;6EAjBF,QACD,kBACE,UAAU,CAAC,uDAAuD,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACvH,CAgBD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,GAAG;;6EAIb,QACD,kBACE,UAAU,CAAC,oCAAoC,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACpG,CAcF,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { ID, SCOPES } from "../config";
2
+ import { build } from "../../../core/url";
3
+ import { fetchWithScope } from "../../../core/fetch";
4
+ /**
5
+ * @see https://groups.api.globus.org/redoc#tag/groups/operation/get_my_groups_and_memberships_v2_groups_my_groups_get
6
+ */
7
+ export const getMyGroups = function (parameters, sdkOptions) {
8
+ var _a;
9
+ return fetchWithScope(SCOPES.ALL, build(ID, `/v2/groups/my_groups`, {
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
+ /**
14
+ * @see https://groups.api.globus.org/redoc#tag/groups/operation/get_group_v2_groups__group_id__get
15
+ */
16
+ export const get = function (group_id, parameters, sdkOptions) {
17
+ var _a;
18
+ return fetchWithScope(SCOPES.ALL, build(ID, `/v2/groups/${group_id}`, {
19
+ search: parameters,
20
+ }), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
21
+ };
22
+ //# sourceMappingURL=groups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groups.js","sourceRoot":"","sources":["../../../../../../src/lib/services/groups/service/groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AASrD;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,UACzB,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,MAAM,CAAC,GAAG,EACV,KAAK,CAAC,EAAE,EAAE,sBAAsB,EAAE;QAChC,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAKE,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,QAAQ,EACR,UAAW,EACX,UAAW;;IAMX,OAAO,cAAc,CACnB,MAAM,CAAC,GAAG,EACV,KAAK,CAAC,EAAE,EAAE,cAAc,QAAQ,EAAE,EAAE;QAClC,MAAM,EAAE,UAAU;KACnB,CAAC,oBAEG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAGC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { JSONFetchResponse } from "../../types";
2
+ import type { operations } from "@globus/types/groups";
3
+ /**
4
+ * Perform actions on members of the group.
5
+ * @see https://groups.api.globus.org/redoc#tag/groups/operation/group_membership_post_actions_v2_groups__group_id__post
6
+ */
7
+ export declare const act: (group_id: string, options: {
8
+ payload: operations["group_membership_post_actions_v2_groups__group_id__post"]["requestBody"]["content"]["application/json"];
9
+ } | undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["group_membership_post_actions_v2_groups__group_id__post"]["responses"]["200"]["content"]["application/json"]>>;
10
+ //# sourceMappingURL=membership.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"membership.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/groups/service/membership.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,GAAG;aAsBH,UAAU,CAAC,yDAAyD,CAAC,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;6EAlB7H,QACD,kBACE,UAAU,CAAC,yDAAyD,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CACzH,CAiBF,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { ID, SCOPES } from "../config";
2
+ import { build } from "../../../core/url";
3
+ import { fetchWithScope } from "../../../core/fetch";
4
+ /**
5
+ * Perform actions on members of the group.
6
+ * @see https://groups.api.globus.org/redoc#tag/groups/operation/group_membership_post_actions_v2_groups__group_id__post
7
+ */
8
+ export const act = function (group_id, options, sdkOptions) {
9
+ var _a;
10
+ if (!(options === null || options === void 0 ? void 0 : options.payload))
11
+ throw new Error("Payload is required.");
12
+ return fetchWithScope(SCOPES.ALL, build(ID, `/v2/groups/${group_id}/policies`), Object.assign({ method: "POST", body: JSON.stringify(options.payload) }, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
13
+ };
14
+ //# sourceMappingURL=membership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"membership.js","sourceRoot":"","sources":["../../../../../../src/lib/services/groups/service/membership.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAQrD;;;GAGG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,QAAQ,EACR,OAAO,EACP,UAAW;;IAMX,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAA;QAAE,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC/D,OAAO,cAAc,CACnB,MAAM,CAAC,GAAG,EACV,KAAK,CAAC,EAAE,EAAE,cAAc,QAAQ,WAAW,CAAC,kBAE1C,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,IAClC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,OAAO,EAEhC,CAAC;AACJ,CAKC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { JSONFetchResponse } from "../../types";
2
+ import type { operations } from "@globus/types/groups";
3
+ /**
4
+ * @see https://groups.api.globus.org/redoc#tag/groups/operation/get_policies_v2_groups__group_id__policies_get
5
+ */
6
+ export declare const get: (group_id: string, _parameters?: undefined, sdkOptions?: import("../../types").SDKOptions | undefined) => Promise<JSONFetchResponse<operations["get_policies_v2_groups__group_id__policies_get"]["responses"]["200"]["content"]["application/json"]>>;
7
+ //# sourceMappingURL=policies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policies.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/groups/service/policies.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,GAAG,4GAIb,QACD,kBACE,UAAU,CAAC,gDAAgD,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAChH,CAYF,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { ID, SCOPES } from "../config";
2
+ import { build } from "../../../core/url";
3
+ import { fetchWithScope } from "../../../core/fetch";
4
+ /**
5
+ * @see https://groups.api.globus.org/redoc#tag/groups/operation/get_policies_v2_groups__group_id__policies_get
6
+ */
7
+ export const get = function (group_id, _parameters, sdkOptions) {
8
+ var _a;
9
+ return fetchWithScope(SCOPES.ALL, build(ID, `/v2/groups/${group_id}/policies`), Object.assign({}, (_a = sdkOptions === null || sdkOptions === void 0 ? void 0 : sdkOptions.fetch) === null || _a === void 0 ? void 0 : _a.options));
10
+ };
11
+ //# sourceMappingURL=policies.js.map