@nutanix-scratch/objects-js-client 4.0.1-alpha.2 → 4.0.1-beta.1

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 (173) hide show
  1. package/LICENSE.txt +202 -49
  2. package/README.md +39 -27
  3. package/dist/Ntnx-Objects-js-client-prod.js +1 -1
  4. package/dist/Ntnx-Objects-js-client.js +151 -86
  5. package/dist/es/ApiClient.d.ts +8 -1
  6. package/dist/es/ApiClient.js +248 -188
  7. package/dist/es/Paginable.d.ts +1 -1
  8. package/dist/es/Paginable.js +9 -9
  9. package/dist/es/apis/objectstores-endpoints.d.ts +63 -95
  10. package/dist/es/apis/objectstores-endpoints.js +198 -166
  11. package/dist/es/index.d.ts +31 -21
  12. package/dist/es/index.js +89 -49
  13. package/dist/es/models/common/v1/config/FQDN.d.ts +24 -20
  14. package/dist/es/models/common/v1/config/FQDN.js +56 -21
  15. package/dist/es/models/common/v1/config/Flag.d.ts +32 -26
  16. package/dist/es/models/common/v1/config/Flag.js +65 -21
  17. package/dist/es/models/common/v1/config/IPAddress.d.ts +42 -26
  18. package/dist/es/models/common/v1/config/IPAddress.js +53 -21
  19. package/dist/es/models/common/v1/config/IPv4Address.d.ts +40 -26
  20. package/dist/es/models/common/v1/config/IPv4Address.js +64 -23
  21. package/dist/es/models/common/v1/config/IPv6Address.d.ts +40 -26
  22. package/dist/es/models/common/v1/config/IPv6Address.js +64 -23
  23. package/dist/es/models/common/v1/config/KVPair.d.ts +35 -26
  24. package/dist/es/models/common/v1/config/KVPair.js +70 -24
  25. package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
  26. package/dist/es/models/common/v1/config/MapOfStringWrapper.js +275 -0
  27. package/dist/es/models/common/v1/config/Message.d.ts +41 -38
  28. package/dist/es/models/common/v1/config/Message.js +57 -25
  29. package/dist/es/models/common/v1/config/MessageSeverity.js +7 -7
  30. package/dist/es/models/common/v1/config/Metadata.d.ts +46 -44
  31. package/dist/es/models/common/v1/config/Metadata.js +65 -27
  32. package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +22 -20
  33. package/dist/es/models/common/v1/config/TenantAwareModel.js +51 -19
  34. package/dist/es/models/common/v1/response/ApiLink.d.ts +28 -26
  35. package/dist/es/models/common/v1/response/ApiLink.js +53 -21
  36. package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
  37. package/dist/es/models/common/v1/response/ApiResponseMetadata.js +71 -27
  38. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
  39. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +71 -31
  40. package/dist/es/models/objects/v4/config/Certificate.d.ts +99 -0
  41. package/dist/es/models/objects/v4/{operations → config}/Certificate.js +89 -42
  42. package/dist/es/models/objects/v4/{operations → config}/CertificateProjection.d.ts +2 -1
  43. package/dist/{lib/models/objects/v4/operations → es/models/objects/v4/config}/CertificateProjection.js +40 -17
  44. package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.d.ts +99 -0
  45. package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.js +343 -0
  46. package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +99 -0
  47. package/dist/{lib/models/objects/v4/operations/TaskReferenceApiResponse.js → es/models/objects/v4/config/CreateObjectstoreApiResponse.js} +86 -54
  48. package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +99 -0
  49. package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.js +343 -0
  50. package/dist/es/models/objects/v4/config/GetCaApiResponse.d.ts +100 -0
  51. package/dist/es/models/objects/v4/{operations/TaskReferenceApiResponse.js → config/GetCaApiResponse.js} +88 -57
  52. package/dist/es/models/objects/v4/config/GetCertificateApiResponse.d.ts +99 -0
  53. package/dist/es/models/objects/v4/{operations/CertificateApiResponse.js → config/GetCertificateApiResponse.js} +88 -56
  54. package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +99 -0
  55. package/dist/{lib/models/objects/v4/operations/ObjectstoreApiResponse.js → es/models/objects/v4/config/GetObjectstoreApiResponse.js} +89 -57
  56. package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.d.ts +100 -0
  57. package/dist/es/models/objects/v4/{operations/CertificateListApiResponse.js → config/ListCertificatesApiResponse.js} +89 -57
  58. package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +100 -0
  59. package/dist/es/models/objects/v4/{operations/ObjectstoreListApiResponse.js → config/ListObjectstoresApiResponse.js} +92 -60
  60. package/dist/es/models/objects/v4/config/ObjectStore.d.ts +313 -0
  61. package/dist/es/models/objects/v4/{operations/Objectstore.js → config/ObjectStore.js} +213 -157
  62. package/dist/es/models/objects/v4/config/ObjectStoreProjection.d.ts +151 -0
  63. package/dist/{lib/models/objects/v4/operations/ObjectstoreProjection.js → es/models/objects/v4/config/ObjectStoreProjection.js} +211 -65
  64. package/dist/es/models/objects/v4/{operations/StateEnum.d.ts → config/State.d.ts} +6 -6
  65. package/dist/es/models/objects/v4/config/State.js +133 -0
  66. package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +99 -0
  67. package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.js +343 -0
  68. package/dist/es/models/objects/v4/error/AppMessage.d.ts +57 -48
  69. package/dist/es/models/objects/v4/error/AppMessage.js +61 -29
  70. package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +23 -19
  71. package/dist/es/models/objects/v4/error/ErrorResponse.js +61 -25
  72. package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +53 -43
  73. package/dist/es/models/objects/v4/error/SchemaValidationError.js +62 -29
  74. package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
  75. package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +55 -23
  76. package/dist/es/models/prism/v4/config/TaskReference.d.ts +24 -22
  77. package/dist/es/models/prism/v4/config/TaskReference.js +58 -23
  78. package/dist/es/models/validation/ValidationError.js +5 -5
  79. package/dist/es/utils/ValidationUtils.js +5 -5
  80. package/dist/lib/ApiClient.d.ts +8 -1
  81. package/dist/lib/ApiClient.js +248 -188
  82. package/dist/lib/Paginable.d.ts +1 -1
  83. package/dist/lib/Paginable.js +9 -9
  84. package/dist/lib/apis/objectstores-endpoints.d.ts +63 -95
  85. package/dist/lib/apis/objectstores-endpoints.js +198 -166
  86. package/dist/lib/index.d.ts +31 -21
  87. package/dist/lib/index.js +89 -49
  88. package/dist/lib/models/common/v1/config/FQDN.d.ts +24 -20
  89. package/dist/lib/models/common/v1/config/FQDN.js +56 -21
  90. package/dist/lib/models/common/v1/config/Flag.d.ts +32 -26
  91. package/dist/lib/models/common/v1/config/Flag.js +65 -21
  92. package/dist/lib/models/common/v1/config/IPAddress.d.ts +42 -26
  93. package/dist/lib/models/common/v1/config/IPAddress.js +53 -21
  94. package/dist/lib/models/common/v1/config/IPv4Address.d.ts +40 -26
  95. package/dist/lib/models/common/v1/config/IPv4Address.js +64 -23
  96. package/dist/lib/models/common/v1/config/IPv6Address.d.ts +40 -26
  97. package/dist/lib/models/common/v1/config/IPv6Address.js +64 -23
  98. package/dist/lib/models/common/v1/config/KVPair.d.ts +35 -26
  99. package/dist/lib/models/common/v1/config/KVPair.js +70 -24
  100. package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
  101. package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +275 -0
  102. package/dist/lib/models/common/v1/config/Message.d.ts +41 -38
  103. package/dist/lib/models/common/v1/config/Message.js +57 -25
  104. package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -7
  105. package/dist/lib/models/common/v1/config/Metadata.d.ts +46 -44
  106. package/dist/lib/models/common/v1/config/Metadata.js +65 -27
  107. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +22 -20
  108. package/dist/lib/models/common/v1/config/TenantAwareModel.js +51 -19
  109. package/dist/lib/models/common/v1/response/ApiLink.d.ts +28 -26
  110. package/dist/lib/models/common/v1/response/ApiLink.js +53 -21
  111. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
  112. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +71 -27
  113. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
  114. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +71 -31
  115. package/dist/lib/models/objects/v4/config/Certificate.d.ts +99 -0
  116. package/dist/lib/models/objects/v4/{operations → config}/Certificate.js +89 -42
  117. package/dist/lib/models/objects/v4/{operations → config}/CertificateProjection.d.ts +2 -1
  118. package/dist/{es/models/objects/v4/operations → lib/models/objects/v4/config}/CertificateProjection.js +40 -17
  119. package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.d.ts +99 -0
  120. package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.js +343 -0
  121. package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +99 -0
  122. package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.js +343 -0
  123. package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +99 -0
  124. package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.js +343 -0
  125. package/dist/lib/models/objects/v4/config/GetCaApiResponse.d.ts +100 -0
  126. package/dist/lib/models/objects/v4/{operations/CertificateApiResponse.js → config/GetCaApiResponse.js} +88 -57
  127. package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.d.ts +99 -0
  128. package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.js +343 -0
  129. package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +99 -0
  130. package/dist/{es/models/objects/v4/operations/ObjectstoreApiResponse.js → lib/models/objects/v4/config/GetObjectstoreApiResponse.js} +89 -57
  131. package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.d.ts +100 -0
  132. package/dist/lib/models/objects/v4/{operations/CertificateListApiResponse.js → config/ListCertificatesApiResponse.js} +89 -57
  133. package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +100 -0
  134. package/dist/lib/models/objects/v4/{operations/ObjectstoreListApiResponse.js → config/ListObjectstoresApiResponse.js} +92 -60
  135. package/dist/lib/models/objects/v4/config/ObjectStore.d.ts +313 -0
  136. package/dist/lib/models/objects/v4/{operations/Objectstore.js → config/ObjectStore.js} +213 -157
  137. package/dist/lib/models/objects/v4/config/ObjectStoreProjection.d.ts +151 -0
  138. package/dist/{es/models/objects/v4/operations/ObjectstoreProjection.js → lib/models/objects/v4/config/ObjectStoreProjection.js} +211 -65
  139. package/dist/lib/models/objects/v4/{operations/StateEnum.d.ts → config/State.d.ts} +6 -6
  140. package/dist/lib/models/objects/v4/config/State.js +133 -0
  141. package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +99 -0
  142. package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.js +343 -0
  143. package/dist/lib/models/objects/v4/error/AppMessage.d.ts +57 -48
  144. package/dist/lib/models/objects/v4/error/AppMessage.js +61 -29
  145. package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +23 -19
  146. package/dist/lib/models/objects/v4/error/ErrorResponse.js +61 -25
  147. package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +53 -43
  148. package/dist/lib/models/objects/v4/error/SchemaValidationError.js +62 -29
  149. package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
  150. package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +55 -23
  151. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +24 -22
  152. package/dist/lib/models/prism/v4/config/TaskReference.js +58 -23
  153. package/dist/lib/models/validation/ValidationError.js +5 -5
  154. package/dist/lib/utils/ValidationUtils.js +5 -5
  155. package/package.json +1 -1
  156. package/dist/es/models/objects/v4/operations/Certificate.d.ts +0 -78
  157. package/dist/es/models/objects/v4/operations/CertificateApiResponse.d.ts +0 -59
  158. package/dist/es/models/objects/v4/operations/CertificateListApiResponse.d.ts +0 -59
  159. package/dist/es/models/objects/v4/operations/Objectstore.d.ts +0 -242
  160. package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +0 -59
  161. package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +0 -59
  162. package/dist/es/models/objects/v4/operations/ObjectstoreProjection.d.ts +0 -50
  163. package/dist/es/models/objects/v4/operations/StateEnum.js +0 -145
  164. package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +0 -59
  165. package/dist/lib/models/objects/v4/operations/Certificate.d.ts +0 -78
  166. package/dist/lib/models/objects/v4/operations/CertificateApiResponse.d.ts +0 -59
  167. package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.d.ts +0 -59
  168. package/dist/lib/models/objects/v4/operations/Objectstore.d.ts +0 -242
  169. package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +0 -59
  170. package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +0 -59
  171. package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.d.ts +0 -50
  172. package/dist/lib/models/objects/v4/operations/StateEnum.js +0 -145
  173. package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +0 -59
@@ -6,21 +6,21 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = require("./ApiClient");
8
8
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
9
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
10
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
12
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
14
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
9
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
10
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
11
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
12
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
13
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
14
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
15
15
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
16
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
17
17
  * Nutanix Objects Storage Management APIs
18
18
  *
19
- * OpenAPI spec version: 4.0.1-alpha-2
19
+ * OpenAPI spec version: 4.0.1-beta-1
20
20
  *
21
21
  * NOTE: This class is auto generated by the Open API Dev Platform.
22
22
  *
23
- * Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
23
+ * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
24
24
  *
25
25
  * Do not edit the class manually.
26
26
  *
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * A model that represents a paginable response from a list endpoint.
30
30
  * @module Paginable
31
- * @version 4.0.1-alpha-2
31
+ * @version 4.0.1-beta-1
32
32
  */
33
33
  var Paginable = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * ObjectStores service.
3
- * @version 4.0.1-alpha-2
3
+ * @version 4.0.1-beta-1
4
4
  * @class ObjectStoresApi
5
5
  */
6
6
  export class ObjectStoresApi {
@@ -20,55 +20,55 @@ export class ObjectStoresApi {
20
20
  apiClient: any;
21
21
  /**
22
22
  * Create a SSL certificate for an Object store
23
- * This operation creates a new default certificate and keys. It also creates the alternate FQDNs for the Object store. The certificate of an Object store can be created when it is in a OBJECT_STORE_AVAILABLE or OBJECT_STORE_CREATE_CERT_ERROR state. If the publicCert, privateKey, and ca values are provided in the request body, these values are used to create the new certificate. If these values are not provided, they will be generated for the new certificate. Optionally, a list of additional alternate FQDNs can be provided.
23
+ * This operation creates a new default certificate and keys. It also creates the alternate FQDNs for the Object store. The certificate of an Object store can be created when it is in a OBJECT_STORE_AVAILABLE or OBJECT_STORE_CERT_CREATION_FAILED state. If the publicCert, privateKey, and ca values are provided in the request body, these values are used to create the new certificate. If these values are not provided, the existing certificate will be used as the new certificate. Optionally, a list of additional alternate FQDNs can be provided.
24
+ * @param { Partial<String | ReadableStream> } body Accepts file path as a string or a file stream
24
25
  * @param { String } objectStoreExtId The UUID of the Object store.
25
- * @param {Object} opts Optional parameters defined for the operation
26
- * @param { String } opts.publicCert
27
- * @param { String } opts.privateKey
28
- * @param { common.v1.config.Metadata } opts.metadata
29
- * @param { Array } opts.alternateFqdns
30
- * @param { String } opts.tenantId
31
- * @param { Array } opts.links
32
- * @param { String } opts.extId
33
- * @param { String } opts.ca
34
26
  * @param {Object} args Additional Arguments
35
- * @return {Promise<TaskReferenceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link TaskReferenceApiResponse } and HTTP response
27
+ * @return {Promise<CreateCertificateApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateCertificateApiResponse } and HTTP response
36
28
  */
37
- createCertificate(objectStoreExtId: string, opts: {
38
- publicCert: string;
39
- privateKey: string;
40
- metadata: common.v1.config.Metadata;
41
- alternateFqdns: any[];
42
- tenantId: string;
43
- links: any[];
44
- extId: string;
45
- ca: string;
46
- }, ...args: any): Promise<TaskReferenceApiResponse>;
29
+ createCertificate(objectStoreExtId: string, body: Partial<string | ReadableStream<any>>, ...args: any): Promise<CreateCertificateApiResponse>;
47
30
  /**
48
31
  * Create an Object store
49
32
  * Run the prechecks, create and start the deployment of an Object store on Prism Central.
50
- * @param { Required<Pick<Objectstore, 'name'>> & Partial<Objectstore> } body specification
33
+ * @param { Required<Pick<ObjectStore, 'name'>> & Partial<ObjectStore> } body specification
51
34
  * @param {Object} args Additional Arguments
52
- * @return {Promise<TaskReferenceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link TaskReferenceApiResponse } and HTTP response
35
+ * @return {Promise<CreateObjectstoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateObjectstoreApiResponse } and HTTP response
53
36
  */
54
- createObjectstore(body: Required<Pick<Objectstore, 'name'>> & Partial<Objectstore>, ...args: any): Promise<TaskReferenceApiResponse>;
37
+ createObjectstore(body: Required<Pick<ObjectStore, 'name'>> & Partial<ObjectStore>, ...args: any): Promise<CreateObjectstoreApiResponse>;
55
38
  /**
56
39
  * Delete an Object store
57
- * Send a request to delete an Object store for the provided UUID and clean up its data. An Object store can only be deleted when it is in the state OBJECT_STORE_INPUT, OBJECT_STORE_DELETE_INPUT_ERROR, OBJECT_STORE_AVAILABLE, OBJECT_STORE_DEPLOYMENT_ERROR or OBJECT_STORE_DELETE_ERROR and does not contain any buckets.
40
+ * Send a request to delete an Object store for the provided UUID and clean up its data. An Object store can only be deleted when it is in the state UNDEPLOYED_OBJECT_STORE, OBJECT_STORE_AVAILABLE, OBJECT_STORE_DEPLOYMENT_FAILED or OBJECT_STORE_DELETION_FAILED and does not contain any buckets.
58
41
  * @param { String } extId The UUID of the Object store.
59
42
  * @param {Object} args Additional Arguments
60
- * @return {Promise<TaskReferenceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link TaskReferenceApiResponse } and HTTP response
43
+ * @return {Promise<DeleteObjectstoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteObjectstoreApiResponse } and HTTP response
61
44
  */
62
- deleteObjectstore(extId: string, ...args: any): Promise<TaskReferenceApiResponse>;
45
+ deleteObjectstoreById(extId: string, ...args: any): Promise<DeleteObjectstoreApiResponse>;
46
+ /**
47
+ * Download the certificate authority
48
+ * Download the certificate authority of an Object store certificate.
49
+ * @param { String } objectStoreExtId The UUID of the Object store.
50
+ * @param { String } extId The UUID of the certificate of an Object store.
51
+ * @param {Object} args Additional Arguments
52
+ * @return {Promise<GetCaApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetCaApiResponse } and HTTP response
53
+ */
54
+ getCaByCertificateId(objectStoreExtId: string, extId: string, ...args: any): Promise<GetCaApiResponse>;
63
55
  /**
64
56
  * Get the details of an Object store certificate
65
57
  * Get the details of the SSL certificate which can be used to connect to an Object store.
66
58
  * @param { String } objectStoreExtId The UUID of the Object store.
67
59
  * @param { String } extId The UUID of the certificate of an Object store.
68
60
  * @param {Object} args Additional Arguments
69
- * @return {Promise<CertificateApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CertificateApiResponse } and HTTP response
61
+ * @return {Promise<GetCertificateApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetCertificateApiResponse } and HTTP response
62
+ */
63
+ getCertificateById(objectStoreExtId: string, extId: string, ...args: any): Promise<GetCertificateApiResponse>;
64
+ /**
65
+ * Get an Object store
66
+ * Get an Object store for the provided UUID. &#x60;state&#x60; string (State of the Object store) Enum for the state of the Object store. | Enum | Description | | ----------- | ----------- | | &#x60;\&quot;DEPLOYING_OBJECT_STORE\&quot;&#x60; | The Object store will be in this state during an ongoing deployment of the Object store. The Object store will be unavailable through S3 APIs in this state. The Object store will move to the OBJECT_STORE_AVAILABLE state if the deployment succeeds, and to the OBJECT_STORE_DEPLOYMENT_FAILED state if the deployment fails. | | &#x60;\&quot;OBJECT_STORE_OPERATION_FAILED\&quot;&#x60; | The Object store is in this state when there is an error while performing an operation on the Object store. The Object store may not be available through S3 APIs in this state. | | &#x60;\&quot;OBJECT_STORE_CERT_CREATION_FAILED\&quot;&#x60; | An Object store enters this state if there is an error while creating the Object store certificate. Creating a new certificate can be retried from this state. The Object store may not be available through S3 APIs in this state. | | &#x60;\&quot;OBJECT_STORE_OPERATION_PENDING\&quot;&#x60; | The Object store is in this state during an ongoing operation on the Object store. The Object store may not be available through S3 APIs in this state. The Object store will enter the OBJECT_STORE_OPERATION_FAILED state if the operation fails, or the OBJECT_STORE_AVAILABLE state if the operation is successful. | | &#x60;\&quot;UNDEPLOYED_OBJECT_STORE\&quot;&#x60; | The Object store is in this state if it has not been deployed. | | &#x60;\&quot;CREATING_OBJECT_STORE_CERT\&quot;&#x60; | The Object store is in this state during a certificate creation for the Object store. The Object store will be unavailable through S3 APIs in this state. It will move to the OBJECT_STORE_AVAILABLE state if the certificate was created successfully, or to the OBJECT_STORE_CERT_CREATION_FAILED state if an error occurs while creating the certificate. | | &#x60;\&quot;OBJECT_STORE_AVAILABLE\&quot;&#x60; | An Object store is in this state if its deployment was successful, and there are no ongoing operations on the Object store. The Object store will be available through S3 APIs in this state. In this state, the Object store can be deleted or a new certificate can be created for this Object store. | | &#x60;\&quot;OBJECT_STORE_DELETION_FAILED\&quot;&#x60; | An Object store enters this state if there is an error deleting the Object store. The Object store will not be available through S3 APIs in this state. Deleting the Object store can be retried from this state. | | &#x60;\&quot;OBJECT_STORE_DEPLOYMENT_FAILED\&quot;&#x60; | An Object store enters this state when its deployment fails. The Object store deployment can be retried or the Object store can be deleted from this state. | | &#x60;\&quot;DELETING_OBJECT_STORE\&quot;&#x60; | A deployed Object store is in this state when the Object store is being deleted. The Object store will be unavailable through S3 APIs in this state. It can be either deleted or move to the OBJECT_STORE_DELETION_FAILED state if the deletion fails. |
67
+ * @param { String } extId The UUID of the Object store.
68
+ * @param {Object} args Additional Arguments
69
+ * @return {Promise<GetObjectstoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetObjectstoreApiResponse } and HTTP response
70
70
  */
71
- getCertificate(objectStoreExtId: string, extId: string, ...args: any): Promise<CertificateApiResponse>;
71
+ getObjectstoreById(extId: string, ...args: any): Promise<GetObjectstoreApiResponse>;
72
72
  /**
73
73
  * Get a list of the SSL certificates of an Object store
74
74
  * Get a list of the SSL certificates which can be used to access an Object store.
@@ -81,44 +81,20 @@ export class ObjectStoresApi {
81
81
  * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
82
82
  * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.<br>
83
83
  * The filter can be applied to the following fields:<br>
84
- * - ca
85
- * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.<br>
86
- * The orderby can be applied to the following fields:<br>
87
- * - ca
84
+ * - alternateFqdns/value
88
85
  * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
89
86
  - alternateFqdns
90
- - ca
91
- - extId
92
- - links
93
- - metadata
94
- - privateKey
95
- - publicCert
96
- - tenantId
87
+ - alternateFqdns/value
97
88
 
98
89
  * @param {Object} args Additional Arguments
99
- * @return {Promise<CertificateListApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CertificateListApiResponse } and HTTP response
90
+ * @return {Promise<ListCertificatesApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListCertificatesApiResponse } and HTTP response
100
91
  */
101
- getCertificates(objectStoreExtId: string, opts: {
92
+ listCertificatesByObjectstoreId(objectStoreExtId: string, opts: {
102
93
  $page: number;
103
94
  $limit: number;
104
95
  $filter: string;
105
- $orderby: string;
106
96
  $select: string;
107
- }, ...args: any): Promise<CertificateListApiResponse>;
108
- /**
109
- * Get an Object store
110
- * Get an Object store for the provided UUID. &#x60;state&#x60; string (State of the Object store) Enum for the state of the Object store. | Enum | Description | | ----------- | ----------- | | &#x60;\&quot;OBJECT_STORE_DEPLOYING\&quot;&#x60; | The Object store will be in this state during an ongoing deployment of the Object store. The Object store will be unavailable through S3 APIs in this state. The Object store will move to the OBJECT_STORE_AVAILABLE state if the deployment succeeds, and to the OBJECT_STORE_DEPLOYMENT_ERROR state if the deployment fails. | | &#x60;\&quot;OBJECT_STORE_OPERATION_ERROR\&quot;&#x60; | The Object store is in this state when there is an error while performing an operation on the Object store. The Object store may not be available through S3 APIs in this state. | | &#x60;\&quot;OBJECT_STORE_CREATE_CERT_ERROR\&quot;&#x60; | An Object store enters this state if there is an error while creating the Object store certificate. Creating a new certificate can be retried from this state. The Object store may not be available through S3 APIs in this state. | | &#x60;\&quot;OBJECT_STORE_OPERATION_PENDING\&quot;&#x60; | The Object store is in this state during an ongoing operation on the Object store. The Object store may not be available through S3 APIs in this state. The Object store will enter the OBJECT_STORE_OPERATION_ERROR state if the operation fails, or the OBJECT_STORE_AVAILABLE state if the operation is successful. | | &#x60;\&quot;OBJECT_STORE_INPUT\&quot;&#x60; | The Object store is in this state if it has not been deployed. | | &#x60;\&quot;OBJECT_STORE_CREATING_CERT\&quot;&#x60; | The Object store is in this state during a certificate creation for the Object store. The Object store will be unavailable through S3 APIs in this state. It will move to the OBJECT_STORE_AVAILABLE state if the certificate was created successfully, or to the OBJECT_STORE_CREATE_CERT_ERROR state if an error occurs while creating the certificate. | | &#x60;\&quot;OBJECT_STORE_AVAILABLE\&quot;&#x60; | An Object store is in this state if its deployment was successful, and there are no ongoing operations on the Object store. The Object store will be available through S3 APIs in this state. In this state, the Object store can be deleted or a new certificate can be created for this Object store. | | &#x60;\&quot;OBJECT_STORE_DELETE_INPUT_ERROR\&quot;&#x60; | An undeployed Object store enters this state if there is an error deleting it. Deleting the Object store can be retried from this state. | | &#x60;\&quot;OBJECT_STORE_DELETING_INPUT\&quot;&#x60; | An undeployed Object store being deleted is in this state. It will be either deleted or move to the OBJECT_STORE_DELETE_INPUT_ERROR state if the deletion fails. | | &#x60;\&quot;OBJECT_STORE_DELETE_ERROR\&quot;&#x60; | An Object store enters this state if there is an error deleting the Object store. The Object store will not be available through S3 APIs in this state. Deleting the Object store can be retried from this state. | | &#x60;\&quot;OBJECT_STORE_DEPLOYMENT_ERROR\&quot;&#x60; | An Object store enters this state when its deployment fails. The Object store deployment can be retried or the Object store can be deleted from this state. | | &#x60;\&quot;OBJECT_STORE_DELETING\&quot;&#x60; | A deployed Object store is in this state when the Object store is being deleted. The Object store will be unavailable through S3 APIs in this state. It can be either deleted or move to the OBJECT_STORE_DELETE_ERROR state if the deletion fails. |
111
- * @param { String } extId The UUID of the Object store.
112
- * @param {Object} opts Optional parameters defined for the operation
113
- * @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported.
114
- - certificate
115
-
116
- * @param {Object} args Additional Arguments
117
- * @return {Promise<ObjectstoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ObjectstoreApiResponse } and HTTP response
118
- */
119
- getObjectstore(extId: string, opts: {
120
- $expand: string;
121
- }, ...args: any): Promise<ObjectstoreApiResponse>;
97
+ }, ...args: any): Promise<ListCertificatesApiResponse>;
122
98
  /**
123
99
  * Get a list of the Object stores
124
100
  * Get a list of all the Object store details on the registered Prism Central.
@@ -130,8 +106,8 @@ export class ObjectStoresApi {
130
106
  * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
131
107
  * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.<br>
132
108
  * The filter can be applied to the following fields:<br>
133
- * - certificateReference<br>
134
- * - clusterReference<br>
109
+ * - certificateExtIds<br>
110
+ * - clusterExtId<br>
135
111
  * - creationTime<br>
136
112
  * - deploymentVersion<br>
137
113
  * - description<br>
@@ -139,9 +115,10 @@ export class ObjectStoresApi {
139
115
  * - lastUpdateTime<br>
140
116
  * - name<br>
141
117
  * - numWorkerNodes<br>
118
+ * - publicNetworkIps/ipv4/value<br>
119
+ * - publicNetworkIps/ipv6/value<br>
142
120
  * - publicNetworkReference<br>
143
121
  * - region<br>
144
- * - state<br>
145
122
  * - storageNetworkDnsIp/ipv4/value<br>
146
123
  * - storageNetworkDnsIp/ipv6/value<br>
147
124
  * - storageNetworkReference<br>
@@ -150,8 +127,7 @@ export class ObjectStoresApi {
150
127
  * - totalCapacityGiB
151
128
  * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.<br>
152
129
  * The orderby can be applied to the following fields:<br>
153
- * - certificateReference<br>
154
- * - clusterReference<br>
130
+ * - clusterExtId<br>
155
131
  * - creationTime<br>
156
132
  * - deploymentVersion<br>
157
133
  * - description<br>
@@ -161,71 +137,63 @@ export class ObjectStoresApi {
161
137
  * - numWorkerNodes<br>
162
138
  * - publicNetworkReference<br>
163
139
  * - region<br>
164
- * - state<br>
165
- * - storageNetworkDnsIp/ipv4/value<br>
166
- * - storageNetworkDnsIp/ipv6/value<br>
167
140
  * - storageNetworkReference<br>
168
- * - storageNetworkVip/ipv4/value<br>
169
- * - storageNetworkVip/ipv6/value<br>
170
141
  * - totalCapacityGiB
171
142
  * @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported.
172
- - certificate
143
+ - certificates
173
144
 
174
145
  * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
175
- - certificateReference
176
- - clusterReference
146
+ - certificateExtIds
147
+ - clusterExtId
177
148
  - creationTime
178
149
  - deploymentVersion
179
150
  - description
180
151
  - domain
181
- - extId
182
152
  - lastUpdateTime
183
- - links
184
- - metadata
185
153
  - name
186
154
  - numWorkerNodes
187
155
  - publicNetworkIps
156
+ - publicNetworkIps/ipv4/value
188
157
  - publicNetworkReference
189
158
  - region
190
159
  - state
191
- - storageNetworkDnsIp/ipv4/prefixLength
160
+ - storageNetworkDnsIp
192
161
  - storageNetworkDnsIp/ipv4/value
193
- - storageNetworkDnsIp/ipv6/prefixLength
194
- - storageNetworkDnsIp/ipv6/value
195
162
  - storageNetworkReference
196
- - storageNetworkVip/ipv4/prefixLength
163
+ - storageNetworkVip
197
164
  - storageNetworkVip/ipv4/value
198
- - storageNetworkVip/ipv6/prefixLength
199
- - storageNetworkVip/ipv6/value
200
- - tenantId
201
165
  - totalCapacityGiB
202
166
 
203
167
  * @param {Object} args Additional Arguments
204
- * @return {Promise<ObjectstoreListApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ObjectstoreListApiResponse } and HTTP response
168
+ * @return {Promise<ListObjectstoresApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListObjectstoresApiResponse } and HTTP response
205
169
  */
206
- getObjectstores(opts: {
170
+ listObjectstores(opts: {
207
171
  $page: number;
208
172
  $limit: number;
209
173
  $filter: string;
210
174
  $orderby: string;
211
175
  $expand: string;
212
176
  $select: string;
213
- }, ...args: any): Promise<ObjectstoreListApiResponse>;
177
+ }, ...args: any): Promise<ListObjectstoresApiResponse>;
214
178
  /**
215
179
  * Update an Object store
216
- * Update an Object store. The deployment of an Object store can be restarted from the state OBJECT_STORE_DEPLOYMENT_ERROR.
217
- * @param { Required<Pick<Objectstore, 'name'>> & Partial<Objectstore> } body specification
180
+ * Update an Object store. The deployment of an Object store can be restarted from the state OBJECT_STORE_DEPLOYMENT_FAILED.
181
+ * @param { Required<Pick<ObjectStore, 'name'>> & Partial<ObjectStore> } body specification
218
182
  * @param { String } extId The UUID of the Object store.
219
183
  * @param {Object} args Additional Arguments
220
- * @return {Promise<TaskReferenceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link TaskReferenceApiResponse } and HTTP response
184
+ * @return {Promise<UpdateObjectstoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateObjectstoreApiResponse } and HTTP response
221
185
  */
222
- updateObjectstore(extId: string, body: Required<Pick<Objectstore, 'name'>> & Partial<Objectstore>, ...args: any): Promise<TaskReferenceApiResponse>;
186
+ updateObjectstoreById(extId: string, body: Required<Pick<ObjectStore, 'name'>> & Partial<ObjectStore>, ...args: any): Promise<UpdateObjectstoreApiResponse>;
223
187
  #private;
224
188
  }
225
- import TaskReferenceApiResponse from "../models/objects/v4/operations/TaskReferenceApiResponse";
226
- import Objectstore from "../models/objects/v4/operations/Objectstore";
227
- import CertificateApiResponse from "../models/objects/v4/operations/CertificateApiResponse";
228
- import CertificateListApiResponse from "../models/objects/v4/operations/CertificateListApiResponse";
229
- import ObjectstoreApiResponse from "../models/objects/v4/operations/ObjectstoreApiResponse";
230
- import ObjectstoreListApiResponse from "../models/objects/v4/operations/ObjectstoreListApiResponse";
189
+ import CreateCertificateApiResponse from "../models/objects/v4/config/CreateCertificateApiResponse";
190
+ import ObjectStore from "../models/objects/v4/config/ObjectStore";
191
+ import CreateObjectstoreApiResponse from "../models/objects/v4/config/CreateObjectstoreApiResponse";
192
+ import DeleteObjectstoreApiResponse from "../models/objects/v4/config/DeleteObjectstoreApiResponse";
193
+ import GetCaApiResponse from "../models/objects/v4/config/GetCaApiResponse";
194
+ import GetCertificateApiResponse from "../models/objects/v4/config/GetCertificateApiResponse";
195
+ import GetObjectstoreApiResponse from "../models/objects/v4/config/GetObjectstoreApiResponse";
196
+ import ListCertificatesApiResponse from "../models/objects/v4/config/ListCertificatesApiResponse";
197
+ import ListObjectstoresApiResponse from "../models/objects/v4/config/ListObjectstoresApiResponse";
198
+ import UpdateObjectstoreApiResponse from "../models/objects/v4/config/UpdateObjectstoreApiResponse";
231
199
  import { ApiClient } from "../ApiClient";