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

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 (145) hide show
  1. package/LICENSE.txt +49 -0
  2. package/README.md +200 -0
  3. package/dist/Ntnx-Objects-js-client-prod.js +1 -0
  4. package/dist/Ntnx-Objects-js-client.js +729 -0
  5. package/dist/es/ApiClient.d.ts +159 -0
  6. package/dist/es/ApiClient.js +1211 -0
  7. package/dist/es/Paginable.d.ts +95 -0
  8. package/dist/es/Paginable.js +287 -0
  9. package/dist/es/apis/objectstores-endpoints.d.ts +231 -0
  10. package/dist/es/apis/objectstores-endpoints.js +522 -0
  11. package/dist/es/index.d.ts +64 -0
  12. package/dist/es/index.js +252 -0
  13. package/dist/es/models/common/v1/config/FQDN.d.ts +48 -0
  14. package/dist/es/models/common/v1/config/FQDN.js +242 -0
  15. package/dist/es/models/common/v1/config/Flag.d.ts +58 -0
  16. package/dist/es/models/common/v1/config/Flag.js +275 -0
  17. package/dist/es/models/common/v1/config/IPAddress.d.ts +61 -0
  18. package/dist/es/models/common/v1/config/IPAddress.js +291 -0
  19. package/dist/es/models/common/v1/config/IPv4Address.d.ts +62 -0
  20. package/dist/es/models/common/v1/config/IPv4Address.js +288 -0
  21. package/dist/es/models/common/v1/config/IPv6Address.d.ts +62 -0
  22. package/dist/es/models/common/v1/config/IPv6Address.js +288 -0
  23. package/dist/es/models/common/v1/config/KVPair.d.ts +62 -0
  24. package/dist/es/models/common/v1/config/KVPair.js +332 -0
  25. package/dist/es/models/common/v1/config/Message.d.ts +84 -0
  26. package/dist/es/models/common/v1/config/Message.js +354 -0
  27. package/dist/es/models/common/v1/config/MessageSeverity.d.ts +19 -0
  28. package/dist/es/models/common/v1/config/MessageSeverity.js +91 -0
  29. package/dist/es/models/common/v1/config/Metadata.d.ts +98 -0
  30. package/dist/es/models/common/v1/config/Metadata.js +411 -0
  31. package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +50 -0
  32. package/dist/es/models/common/v1/config/TenantAwareModel.js +243 -0
  33. package/dist/es/models/common/v1/response/ApiLink.d.ts +62 -0
  34. package/dist/es/models/common/v1/response/ApiLink.js +280 -0
  35. package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
  36. package/dist/es/models/common/v1/response/ApiResponseMetadata.js +438 -0
  37. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
  38. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
  39. package/dist/es/models/objects/v4/error/AppMessage.d.ts +108 -0
  40. package/dist/es/models/objects/v4/error/AppMessage.js +432 -0
  41. package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +48 -0
  42. package/dist/es/models/objects/v4/error/ErrorResponse.js +288 -0
  43. package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +98 -0
  44. package/dist/es/models/objects/v4/error/SchemaValidationError.js +407 -0
  45. package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
  46. package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +318 -0
  47. package/dist/es/models/objects/v4/operations/Certificate.d.ts +78 -0
  48. package/dist/es/models/objects/v4/operations/Certificate.js +411 -0
  49. package/dist/es/models/objects/v4/operations/CertificateApiResponse.d.ts +59 -0
  50. package/dist/es/models/objects/v4/operations/CertificateApiResponse.js +311 -0
  51. package/dist/es/models/objects/v4/operations/CertificateListApiResponse.d.ts +59 -0
  52. package/dist/es/models/objects/v4/operations/CertificateListApiResponse.js +338 -0
  53. package/dist/es/models/objects/v4/operations/CertificateProjection.d.ts +9 -0
  54. package/dist/es/models/objects/v4/operations/CertificateProjection.js +131 -0
  55. package/dist/es/models/objects/v4/operations/Objectstore.d.ts +242 -0
  56. package/dist/es/models/objects/v4/operations/Objectstore.js +945 -0
  57. package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +59 -0
  58. package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.js +311 -0
  59. package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +59 -0
  60. package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.js +338 -0
  61. package/dist/es/models/objects/v4/operations/ObjectstoreProjection.d.ts +50 -0
  62. package/dist/es/models/objects/v4/operations/ObjectstoreProjection.js +298 -0
  63. package/dist/es/models/objects/v4/operations/StateEnum.d.ts +19 -0
  64. package/dist/es/models/objects/v4/operations/StateEnum.js +145 -0
  65. package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +59 -0
  66. package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.js +311 -0
  67. package/dist/es/models/prism/v4/config/TaskReference.d.ts +50 -0
  68. package/dist/es/models/prism/v4/config/TaskReference.js +247 -0
  69. package/dist/es/models/validation/ValidationError.d.ts +13 -0
  70. package/dist/es/models/validation/ValidationError.js +60 -0
  71. package/dist/es/models/validation/ValidationScopes.d.ts +9 -0
  72. package/dist/es/models/validation/ValidationScopes.js +38 -0
  73. package/dist/es/utils/ValidationUtils.d.ts +13 -0
  74. package/dist/es/utils/ValidationUtils.js +85 -0
  75. package/dist/lib/ApiClient.d.ts +159 -0
  76. package/dist/lib/ApiClient.js +1211 -0
  77. package/dist/lib/Paginable.d.ts +95 -0
  78. package/dist/lib/Paginable.js +287 -0
  79. package/dist/lib/apis/objectstores-endpoints.d.ts +231 -0
  80. package/dist/lib/apis/objectstores-endpoints.js +522 -0
  81. package/dist/lib/index.d.ts +64 -0
  82. package/dist/lib/index.js +252 -0
  83. package/dist/lib/models/common/v1/config/FQDN.d.ts +48 -0
  84. package/dist/lib/models/common/v1/config/FQDN.js +242 -0
  85. package/dist/lib/models/common/v1/config/Flag.d.ts +58 -0
  86. package/dist/lib/models/common/v1/config/Flag.js +275 -0
  87. package/dist/lib/models/common/v1/config/IPAddress.d.ts +61 -0
  88. package/dist/lib/models/common/v1/config/IPAddress.js +291 -0
  89. package/dist/lib/models/common/v1/config/IPv4Address.d.ts +62 -0
  90. package/dist/lib/models/common/v1/config/IPv4Address.js +288 -0
  91. package/dist/lib/models/common/v1/config/IPv6Address.d.ts +62 -0
  92. package/dist/lib/models/common/v1/config/IPv6Address.js +288 -0
  93. package/dist/lib/models/common/v1/config/KVPair.d.ts +62 -0
  94. package/dist/lib/models/common/v1/config/KVPair.js +332 -0
  95. package/dist/lib/models/common/v1/config/Message.d.ts +84 -0
  96. package/dist/lib/models/common/v1/config/Message.js +354 -0
  97. package/dist/lib/models/common/v1/config/MessageSeverity.d.ts +19 -0
  98. package/dist/lib/models/common/v1/config/MessageSeverity.js +91 -0
  99. package/dist/lib/models/common/v1/config/Metadata.d.ts +98 -0
  100. package/dist/lib/models/common/v1/config/Metadata.js +411 -0
  101. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +50 -0
  102. package/dist/lib/models/common/v1/config/TenantAwareModel.js +243 -0
  103. package/dist/lib/models/common/v1/response/ApiLink.d.ts +62 -0
  104. package/dist/lib/models/common/v1/response/ApiLink.js +280 -0
  105. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
  106. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +438 -0
  107. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
  108. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
  109. package/dist/lib/models/objects/v4/error/AppMessage.d.ts +108 -0
  110. package/dist/lib/models/objects/v4/error/AppMessage.js +432 -0
  111. package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +48 -0
  112. package/dist/lib/models/objects/v4/error/ErrorResponse.js +288 -0
  113. package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +98 -0
  114. package/dist/lib/models/objects/v4/error/SchemaValidationError.js +407 -0
  115. package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
  116. package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +318 -0
  117. package/dist/lib/models/objects/v4/operations/Certificate.d.ts +78 -0
  118. package/dist/lib/models/objects/v4/operations/Certificate.js +411 -0
  119. package/dist/lib/models/objects/v4/operations/CertificateApiResponse.d.ts +59 -0
  120. package/dist/lib/models/objects/v4/operations/CertificateApiResponse.js +311 -0
  121. package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.d.ts +59 -0
  122. package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.js +338 -0
  123. package/dist/lib/models/objects/v4/operations/CertificateProjection.d.ts +9 -0
  124. package/dist/lib/models/objects/v4/operations/CertificateProjection.js +131 -0
  125. package/dist/lib/models/objects/v4/operations/Objectstore.d.ts +242 -0
  126. package/dist/lib/models/objects/v4/operations/Objectstore.js +945 -0
  127. package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +59 -0
  128. package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.js +311 -0
  129. package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +59 -0
  130. package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.js +338 -0
  131. package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.d.ts +50 -0
  132. package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.js +298 -0
  133. package/dist/lib/models/objects/v4/operations/StateEnum.d.ts +19 -0
  134. package/dist/lib/models/objects/v4/operations/StateEnum.js +145 -0
  135. package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +59 -0
  136. package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.js +311 -0
  137. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +50 -0
  138. package/dist/lib/models/prism/v4/config/TaskReference.js +247 -0
  139. package/dist/lib/models/validation/ValidationError.d.ts +13 -0
  140. package/dist/lib/models/validation/ValidationError.js +60 -0
  141. package/dist/lib/models/validation/ValidationScopes.d.ts +9 -0
  142. package/dist/lib/models/validation/ValidationScopes.js +38 -0
  143. package/dist/lib/utils/ValidationUtils.d.ts +13 -0
  144. package/dist/lib/utils/ValidationUtils.js +85 -0
  145. package/package.json +53 -0
@@ -0,0 +1,522 @@
1
+ "use strict";
2
+
3
+ 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); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.ObjectStoresApi = void 0;
8
+ var _ApiClient = require("../ApiClient");
9
+ var _Objectstore = _interopRequireDefault(require("../models/objects/v4/operations/Objectstore"));
10
+ var _ApiLink = _interopRequireDefault(require("../models/common/v1/response/ApiLink"));
11
+ var _TaskReferenceApiResponse = _interopRequireDefault(require("../models/objects/v4/operations/TaskReferenceApiResponse"));
12
+ var _FQDN = _interopRequireDefault(require("../models/common/v1/config/FQDN"));
13
+ var _Metadata = _interopRequireDefault(require("../models/common/v1/config/Metadata"));
14
+ var _CertificateApiResponse = _interopRequireDefault(require("../models/objects/v4/operations/CertificateApiResponse"));
15
+ var _ObjectstoreListApiResponse = _interopRequireDefault(require("../models/objects/v4/operations/ObjectstoreListApiResponse"));
16
+ var _CertificateListApiResponse = _interopRequireDefault(require("../models/objects/v4/operations/CertificateListApiResponse"));
17
+ var _ObjectstoreApiResponse = _interopRequireDefault(require("../models/objects/v4/operations/ObjectstoreApiResponse"));
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
22
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
+ 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); } }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
26
+ 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); }
27
+ function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
28
+ function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
29
+ function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
30
+ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
31
+ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
32
+ * Nutanix Objects Storage Management APIs
33
+ *
34
+ * OpenAPI spec version: 4.0.1-alpha-2
35
+ *
36
+ * NOTE: This class is auto generated by the Open API Dev Platform.
37
+ *
38
+ * Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
39
+ *
40
+ * Do not edit the class manually.
41
+ *
42
+ */
43
+ /**
44
+ * ObjectStores service.
45
+ * @version 4.0.1-alpha-2
46
+ * @class ObjectStoresApi
47
+ */
48
+ var _headersToSkip = /*#__PURE__*/new WeakMap();
49
+ var ObjectStoresApi = exports.ObjectStoresApi = /*#__PURE__*/function () {
50
+ /**
51
+ * Constructs a new ObjectStoresApi.
52
+ * @alias module:api/ObjectStoresApi
53
+ * @class
54
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
55
+ * default to {@link module:ApiClient#instance} if unspecified.
56
+ */
57
+ function ObjectStoresApi(apiClient) {
58
+ _classCallCheck(this, ObjectStoresApi);
59
+ _classPrivateFieldInitSpec(this, _headersToSkip, void 0);
60
+ this.apiClient = apiClient || _ApiClient.ApiClient.instance;
61
+ _classPrivateFieldSet(_headersToSkip, this, new Set());
62
+ _classPrivateFieldGet(_headersToSkip, this).add('authorization');
63
+ _classPrivateFieldGet(_headersToSkip, this).add('cookie');
64
+ _classPrivateFieldGet(_headersToSkip, this).add('host');
65
+ _classPrivateFieldGet(_headersToSkip, this).add('user-agent');
66
+ }
67
+
68
+ /**
69
+ * Create a SSL certificate for an Object store
70
+ * 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.
71
+ * @param { String } objectStoreExtId The UUID of the Object store.
72
+ * @param {Object} opts Optional parameters defined for the operation
73
+ * @param { String } opts.publicCert
74
+ * @param { String } opts.privateKey
75
+ * @param { common.v1.config.Metadata } opts.metadata
76
+ * @param { Array } opts.alternateFqdns
77
+ * @param { String } opts.tenantId
78
+ * @param { Array } opts.links
79
+ * @param { String } opts.extId
80
+ * @param { String } opts.ca
81
+ * @param {Object} args Additional Arguments
82
+ * @return {Promise<TaskReferenceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link TaskReferenceApiResponse } and HTTP response
83
+ */
84
+ return _createClass(ObjectStoresApi, [{
85
+ key: "createCertificate",
86
+ value: function createCertificate(objectStoreExtId, opts) {
87
+ var _this = this;
88
+ var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
89
+ opts = opts || {};
90
+ var postBody = null;
91
+ // verify the required parameter 'objectStoreExtId' is set
92
+ if (typeof objectStoreExtId === 'undefined' || objectStoreExtId === null) {
93
+ throw new Error("Missing the required parameter 'objectStoreExtId' when calling createCertificate");
94
+ }
95
+ var pathParams = {
96
+ 'objectStoreExtId': objectStoreExtId
97
+ };
98
+ var queryParams = {};
99
+ var headersToInclude = {};
100
+ Object.keys(argMap).forEach(function (header) {
101
+ if (!_classPrivateFieldGet(_headersToSkip, _this).has(header.toLowerCase())) {
102
+ headersToInclude[header] = argMap[header];
103
+ }
104
+ });
105
+ var headerParams = _objectSpread({}, headersToInclude);
106
+ var formParams = {
107
+ 'publicCert': opts['publicCert'],
108
+ 'privateKey': opts['privateKey'],
109
+ 'metadata': opts['metadata'],
110
+ 'alternateFqdns': this.apiClient.buildCollectionParam(opts['alternateFqdns'], 'multi'),
111
+ 'tenantId': opts['tenantId'],
112
+ 'links': this.apiClient.buildCollectionParam(opts['links'], 'multi'),
113
+ 'extId': opts['extId'],
114
+ 'ca': opts['ca']
115
+ };
116
+ var authNames = ['basicAuthScheme'];
117
+ var contentTypes = ['multipart/form-data'];
118
+ var accepts = ['application/json'];
119
+ var returnType = _TaskReferenceApiResponse["default"];
120
+ return this.apiClient.callApi('/api/objects/v4.0.a2/operations/object-stores/{objectStoreExtId}/certificates', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
121
+ }
122
+
123
+ /**
124
+ * Create an Object store
125
+ * Run the prechecks, create and start the deployment of an Object store on Prism Central.
126
+ * @param { Required<Pick<Objectstore, 'name'>> & Partial<Objectstore> } body specification
127
+ * @param {Object} args Additional Arguments
128
+ * @return {Promise<TaskReferenceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link TaskReferenceApiResponse } and HTTP response
129
+ */
130
+ }, {
131
+ key: "createObjectstore",
132
+ value: function createObjectstore(body) {
133
+ var _this2 = this;
134
+ var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
135
+ var postBody = null;
136
+ if (body instanceof _Objectstore["default"] && typeof body.toJson === 'function') {
137
+ postBody = body.toJson();
138
+ } else {
139
+ postBody = body;
140
+ }
141
+ // verify the required parameter 'body' is set
142
+ if (typeof postBody === 'undefined' || postBody === null) {
143
+ throw new Error("Invalid body when calling createObjectstore");
144
+ }
145
+ var pathParams = {};
146
+ var queryParams = {};
147
+ var headersToInclude = {};
148
+ Object.keys(argMap).forEach(function (header) {
149
+ if (!_classPrivateFieldGet(_headersToSkip, _this2).has(header.toLowerCase())) {
150
+ headersToInclude[header] = argMap[header];
151
+ }
152
+ });
153
+ var headerParams = _objectSpread({}, headersToInclude);
154
+ var formParams = {};
155
+ _ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
156
+ var authNames = ['basicAuthScheme'];
157
+ var contentTypes = ['application/json'];
158
+ var accepts = ['application/json'];
159
+ var returnType = _TaskReferenceApiResponse["default"];
160
+ return this.apiClient.callApi('/api/objects/v4.0.a2/operations/object-stores', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
161
+ }
162
+
163
+ /**
164
+ * Delete an Object store
165
+ * 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.
166
+ * @param { String } extId The UUID of the Object store.
167
+ * @param {Object} args Additional Arguments
168
+ * @return {Promise<TaskReferenceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link TaskReferenceApiResponse } and HTTP response
169
+ */
170
+ }, {
171
+ key: "deleteObjectstore",
172
+ value: function deleteObjectstore(extId) {
173
+ var _this3 = this;
174
+ var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
175
+ var postBody = null;
176
+ // verify the required parameter 'extId' is set
177
+ if (typeof extId === 'undefined' || extId === null) {
178
+ throw new Error("Missing the required parameter 'extId' when calling deleteObjectstore");
179
+ }
180
+ var pathParams = {
181
+ 'extId': extId
182
+ };
183
+ var queryParams = {};
184
+ var headersToInclude = {};
185
+ Object.keys(argMap).forEach(function (header) {
186
+ if (!_classPrivateFieldGet(_headersToSkip, _this3).has(header.toLowerCase())) {
187
+ headersToInclude[header] = argMap[header];
188
+ }
189
+ });
190
+ var headerParams = _objectSpread({}, headersToInclude);
191
+ var formParams = {};
192
+ var authNames = ['basicAuthScheme'];
193
+ var contentTypes = [];
194
+ var accepts = ['application/json'];
195
+ var returnType = _TaskReferenceApiResponse["default"];
196
+ return this.apiClient.callApi('/api/objects/v4.0.a2/operations/object-stores/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
197
+ }
198
+
199
+ /**
200
+ * Get the details of an Object store certificate
201
+ * Get the details of the SSL certificate which can be used to connect to an Object store.
202
+ * @param { String } objectStoreExtId The UUID of the Object store.
203
+ * @param { String } extId The UUID of the certificate of an Object store.
204
+ * @param {Object} args Additional Arguments
205
+ * @return {Promise<CertificateApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CertificateApiResponse } and HTTP response
206
+ */
207
+ }, {
208
+ key: "getCertificate",
209
+ value: function getCertificate(objectStoreExtId, extId) {
210
+ var _this4 = this;
211
+ var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
212
+ var postBody = null;
213
+ // verify the required parameter 'objectStoreExtId' is set
214
+ if (typeof objectStoreExtId === 'undefined' || objectStoreExtId === null) {
215
+ throw new Error("Missing the required parameter 'objectStoreExtId' when calling getCertificate");
216
+ }
217
+ // verify the required parameter 'extId' is set
218
+ if (typeof extId === 'undefined' || extId === null) {
219
+ throw new Error("Missing the required parameter 'extId' when calling getCertificate");
220
+ }
221
+ var pathParams = {
222
+ 'objectStoreExtId': objectStoreExtId,
223
+ 'extId': extId
224
+ };
225
+ var queryParams = {};
226
+ var headersToInclude = {};
227
+ Object.keys(argMap).forEach(function (header) {
228
+ if (!_classPrivateFieldGet(_headersToSkip, _this4).has(header.toLowerCase())) {
229
+ headersToInclude[header] = argMap[header];
230
+ }
231
+ });
232
+ var headerParams = _objectSpread({}, headersToInclude);
233
+ var formParams = {};
234
+ var authNames = ['basicAuthScheme'];
235
+ var contentTypes = [];
236
+ var accepts = ['application/json'];
237
+ var returnType = _CertificateApiResponse["default"];
238
+ return this.apiClient.callApi('/api/objects/v4.0.a2/operations/object-stores/{objectStoreExtId}/certificates/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
239
+ }
240
+
241
+ /**
242
+ * Get a list of the SSL certificates of an Object store
243
+ * Get a list of the SSL certificates which can be used to access an Object store.
244
+ * @param { String } objectStoreExtId The UUID of the Object store.
245
+ * @param {Object} opts Optional parameters defined for the operation
246
+ * @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
247
+ * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
248
+ * @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>
249
+ * 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>
250
+ * The filter can be applied to the following fields:<br>
251
+ * - ca
252
+ * @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>
253
+ * The orderby can be applied to the following fields:<br>
254
+ * - ca
255
+ * @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.
256
+ - alternateFqdns
257
+ - ca
258
+ - extId
259
+ - links
260
+ - metadata
261
+ - privateKey
262
+ - publicCert
263
+ - tenantId
264
+ * @param {Object} args Additional Arguments
265
+ * @return {Promise<CertificateListApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CertificateListApiResponse } and HTTP response
266
+ */
267
+ }, {
268
+ key: "getCertificates",
269
+ value: function getCertificates(objectStoreExtId, opts) {
270
+ var _this5 = this;
271
+ var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
272
+ opts = opts || {};
273
+ var postBody = null;
274
+ // verify the required parameter 'objectStoreExtId' is set
275
+ if (typeof objectStoreExtId === 'undefined' || objectStoreExtId === null) {
276
+ throw new Error("Missing the required parameter 'objectStoreExtId' when calling getCertificates");
277
+ }
278
+ var pathParams = {
279
+ 'objectStoreExtId': objectStoreExtId
280
+ };
281
+ var queryParams = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, opts.hasOwnProperty('$page') ? {
282
+ '$page': opts['$page']
283
+ } : {}), opts.hasOwnProperty('$limit') ? {
284
+ '$limit': opts['$limit']
285
+ } : {}), opts.hasOwnProperty('$filter') ? {
286
+ '$filter': opts['$filter']
287
+ } : {}), opts.hasOwnProperty('$orderby') ? {
288
+ '$orderby': opts['$orderby']
289
+ } : {}), opts.hasOwnProperty('$select') ? {
290
+ '$select': opts['$select']
291
+ } : {});
292
+ var headersToInclude = {};
293
+ Object.keys(argMap).forEach(function (header) {
294
+ if (!_classPrivateFieldGet(_headersToSkip, _this5).has(header.toLowerCase())) {
295
+ headersToInclude[header] = argMap[header];
296
+ }
297
+ });
298
+ var headerParams = _objectSpread({}, headersToInclude);
299
+ var formParams = {};
300
+ var authNames = ['basicAuthScheme'];
301
+ var contentTypes = [];
302
+ var accepts = ['application/json'];
303
+ var returnType = _CertificateListApiResponse["default"];
304
+ return this.apiClient.callApi('/api/objects/v4.0.a2/operations/object-stores/{objectStoreExtId}/certificates', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
305
+ }
306
+
307
+ /**
308
+ * Get an Object store
309
+ * 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. |
310
+ * @param { String } extId The UUID of the Object store.
311
+ * @param {Object} opts Optional parameters defined for the operation
312
+ * @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.
313
+ - certificate
314
+ * @param {Object} args Additional Arguments
315
+ * @return {Promise<ObjectstoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ObjectstoreApiResponse } and HTTP response
316
+ */
317
+ }, {
318
+ key: "getObjectstore",
319
+ value: function getObjectstore(extId, opts) {
320
+ var _this6 = this;
321
+ var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
322
+ opts = opts || {};
323
+ var postBody = null;
324
+ // verify the required parameter 'extId' is set
325
+ if (typeof extId === 'undefined' || extId === null) {
326
+ throw new Error("Missing the required parameter 'extId' when calling getObjectstore");
327
+ }
328
+ var pathParams = {
329
+ 'extId': extId
330
+ };
331
+ var queryParams = _objectSpread({}, opts.hasOwnProperty('$expand') ? {
332
+ '$expand': opts['$expand']
333
+ } : {});
334
+ var headersToInclude = {};
335
+ Object.keys(argMap).forEach(function (header) {
336
+ if (!_classPrivateFieldGet(_headersToSkip, _this6).has(header.toLowerCase())) {
337
+ headersToInclude[header] = argMap[header];
338
+ }
339
+ });
340
+ var headerParams = _objectSpread({}, headersToInclude);
341
+ var formParams = {};
342
+ var authNames = ['basicAuthScheme'];
343
+ var contentTypes = [];
344
+ var accepts = ['application/json'];
345
+ var returnType = _ObjectstoreApiResponse["default"];
346
+ return this.apiClient.callApi('/api/objects/v4.0.a2/operations/object-stores/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
347
+ }
348
+
349
+ /**
350
+ * Get a list of the Object stores
351
+ * Get a list of all the Object store details on the registered Prism Central.
352
+ * @param {Object} opts Optional parameters defined for the operation
353
+ * @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
354
+ * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
355
+ * @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>
356
+ * 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>
357
+ * The filter can be applied to the following fields:<br>
358
+ * - certificateReference<br>
359
+ * - clusterReference<br>
360
+ * - creationTime<br>
361
+ * - deploymentVersion<br>
362
+ * - description<br>
363
+ * - domain<br>
364
+ * - lastUpdateTime<br>
365
+ * - name<br>
366
+ * - numWorkerNodes<br>
367
+ * - publicNetworkReference<br>
368
+ * - region<br>
369
+ * - state<br>
370
+ * - storageNetworkDnsIp/ipv4/value<br>
371
+ * - storageNetworkDnsIp/ipv6/value<br>
372
+ * - storageNetworkReference<br>
373
+ * - storageNetworkVip/ipv4/value<br>
374
+ * - storageNetworkVip/ipv6/value<br>
375
+ * - totalCapacityGiB
376
+ * @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>
377
+ * The orderby can be applied to the following fields:<br>
378
+ * - certificateReference<br>
379
+ * - clusterReference<br>
380
+ * - creationTime<br>
381
+ * - deploymentVersion<br>
382
+ * - description<br>
383
+ * - domain<br>
384
+ * - lastUpdateTime<br>
385
+ * - name<br>
386
+ * - numWorkerNodes<br>
387
+ * - publicNetworkReference<br>
388
+ * - region<br>
389
+ * - state<br>
390
+ * - storageNetworkDnsIp/ipv4/value<br>
391
+ * - storageNetworkDnsIp/ipv6/value<br>
392
+ * - storageNetworkReference<br>
393
+ * - storageNetworkVip/ipv4/value<br>
394
+ * - storageNetworkVip/ipv6/value<br>
395
+ * - totalCapacityGiB
396
+ * @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.
397
+ - certificate
398
+ * @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.
399
+ - certificateReference
400
+ - clusterReference
401
+ - creationTime
402
+ - deploymentVersion
403
+ - description
404
+ - domain
405
+ - extId
406
+ - lastUpdateTime
407
+ - links
408
+ - metadata
409
+ - name
410
+ - numWorkerNodes
411
+ - publicNetworkIps
412
+ - publicNetworkReference
413
+ - region
414
+ - state
415
+ - storageNetworkDnsIp/ipv4/prefixLength
416
+ - storageNetworkDnsIp/ipv4/value
417
+ - storageNetworkDnsIp/ipv6/prefixLength
418
+ - storageNetworkDnsIp/ipv6/value
419
+ - storageNetworkReference
420
+ - storageNetworkVip/ipv4/prefixLength
421
+ - storageNetworkVip/ipv4/value
422
+ - storageNetworkVip/ipv6/prefixLength
423
+ - storageNetworkVip/ipv6/value
424
+ - tenantId
425
+ - totalCapacityGiB
426
+ * @param {Object} args Additional Arguments
427
+ * @return {Promise<ObjectstoreListApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ObjectstoreListApiResponse } and HTTP response
428
+ */
429
+ }, {
430
+ key: "getObjectstores",
431
+ value: function getObjectstores(opts) {
432
+ var _this7 = this;
433
+ var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
434
+ opts = opts || {};
435
+ var postBody = null;
436
+ var pathParams = {};
437
+ var queryParams = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, opts.hasOwnProperty('$page') ? {
438
+ '$page': opts['$page']
439
+ } : {}), opts.hasOwnProperty('$limit') ? {
440
+ '$limit': opts['$limit']
441
+ } : {}), opts.hasOwnProperty('$filter') ? {
442
+ '$filter': opts['$filter']
443
+ } : {}), opts.hasOwnProperty('$orderby') ? {
444
+ '$orderby': opts['$orderby']
445
+ } : {}), opts.hasOwnProperty('$expand') ? {
446
+ '$expand': opts['$expand']
447
+ } : {}), opts.hasOwnProperty('$select') ? {
448
+ '$select': opts['$select']
449
+ } : {});
450
+ var headersToInclude = {};
451
+ Object.keys(argMap).forEach(function (header) {
452
+ if (!_classPrivateFieldGet(_headersToSkip, _this7).has(header.toLowerCase())) {
453
+ headersToInclude[header] = argMap[header];
454
+ }
455
+ });
456
+ var headerParams = _objectSpread({}, headersToInclude);
457
+ var formParams = {};
458
+ var authNames = ['basicAuthScheme'];
459
+ var contentTypes = [];
460
+ var accepts = ['application/json'];
461
+ var returnType = _ObjectstoreListApiResponse["default"];
462
+ return this.apiClient.callApi('/api/objects/v4.0.a2/operations/object-stores', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
463
+ }
464
+
465
+ /**
466
+ * Update an Object store
467
+ * Update an Object store. The deployment of an Object store can be restarted from the state OBJECT_STORE_DEPLOYMENT_ERROR.
468
+ * @param { Required<Pick<Objectstore, 'name'>> & Partial<Objectstore> } body specification
469
+ * @param { String } extId The UUID of the Object store.
470
+ * @param {Object} args Additional Arguments
471
+ * @return {Promise<TaskReferenceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link TaskReferenceApiResponse } and HTTP response
472
+ */
473
+ }, {
474
+ key: "updateObjectstore",
475
+ value: function updateObjectstore(extId, body) {
476
+ var _this8 = this;
477
+ var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
478
+ var postBody = null;
479
+ if (body instanceof _Objectstore["default"] && typeof body.toJson === 'function') {
480
+ postBody = body.toJson();
481
+ } else {
482
+ postBody = body;
483
+ }
484
+ // verify the required parameter 'extId' is set
485
+ if (typeof extId === 'undefined' || extId === null) {
486
+ throw new Error("Missing the required parameter 'extId' when calling updateObjectstore");
487
+ }
488
+ // verify the required parameter 'body' is set
489
+ if (typeof postBody === 'undefined' || postBody === null) {
490
+ throw new Error("Invalid body when calling updateObjectstore");
491
+ }
492
+ var pathParams = {
493
+ 'extId': extId
494
+ };
495
+ var queryParams = {};
496
+ var headersToInclude = {};
497
+ Object.keys(argMap).forEach(function (header) {
498
+ if (!_classPrivateFieldGet(_headersToSkip, _this8).has(header.toLowerCase())) {
499
+ headersToInclude[header] = argMap[header];
500
+ }
501
+ });
502
+ var headerParams = _objectSpread({}, headersToInclude);
503
+ var formParams = {};
504
+ _ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
505
+ var authNames = ['basicAuthScheme'];
506
+ var contentTypes = ['application/json'];
507
+ var accepts = ['application/json'];
508
+ var returnType = _TaskReferenceApiResponse["default"];
509
+ return this.apiClient.callApi('/api/objects/v4.0.a2/operations/object-stores/{extId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
510
+ }
511
+ }], [{
512
+ key: "ApiClient",
513
+ get:
514
+ /**
515
+ * Make the default {@link ApiClient} class available for developers to be able to extend it and bring
516
+ * their own fetch methods into the SDK
517
+ */
518
+ function get() {
519
+ return _ApiClient.ApiClient;
520
+ }
521
+ }]);
522
+ }();
@@ -0,0 +1,64 @@
1
+ declare namespace _default {
2
+ export { ApiClient };
3
+ export { ObjectStoresApi };
4
+ export { FQDN };
5
+ export { Flag };
6
+ export { IPAddress };
7
+ export { IPv4Address };
8
+ export { IPv6Address };
9
+ export { KVPair };
10
+ export { Message };
11
+ export { MessageSeverity };
12
+ export { Metadata };
13
+ export { TenantAwareModel };
14
+ export { ApiLink };
15
+ export { ApiResponseMetadata };
16
+ export { ExternalizableAbstractModel };
17
+ export { AppMessage };
18
+ export { ErrorResponse };
19
+ export { SchemaValidationError };
20
+ export { SchemaValidationErrorMessage };
21
+ export { Certificate };
22
+ export { CertificateApiResponse };
23
+ export { CertificateListApiResponse };
24
+ export { CertificateProjection };
25
+ export { Objectstore };
26
+ export { ObjectstoreApiResponse };
27
+ export { ObjectstoreListApiResponse };
28
+ export { ObjectstoreProjection };
29
+ export { StateEnum };
30
+ export { TaskReferenceApiResponse };
31
+ export { TaskReference };
32
+ }
33
+ export default _default;
34
+ import { ApiClient } from "./ApiClient";
35
+ import { ObjectStoresApi } from "./apis/objectstores-endpoints";
36
+ import FQDN from "./models/common/v1/config/FQDN";
37
+ import Flag from "./models/common/v1/config/Flag";
38
+ import IPAddress from "./models/common/v1/config/IPAddress";
39
+ import IPv4Address from "./models/common/v1/config/IPv4Address";
40
+ import IPv6Address from "./models/common/v1/config/IPv6Address";
41
+ import KVPair from "./models/common/v1/config/KVPair";
42
+ import Message from "./models/common/v1/config/Message";
43
+ import MessageSeverity from "./models/common/v1/config/MessageSeverity";
44
+ import Metadata from "./models/common/v1/config/Metadata";
45
+ import TenantAwareModel from "./models/common/v1/config/TenantAwareModel";
46
+ import ApiLink from "./models/common/v1/response/ApiLink";
47
+ import ApiResponseMetadata from "./models/common/v1/response/ApiResponseMetadata";
48
+ import ExternalizableAbstractModel from "./models/common/v1/response/ExternalizableAbstractModel";
49
+ import AppMessage from "./models/objects/v4/error/AppMessage";
50
+ import ErrorResponse from "./models/objects/v4/error/ErrorResponse";
51
+ import SchemaValidationError from "./models/objects/v4/error/SchemaValidationError";
52
+ import SchemaValidationErrorMessage from "./models/objects/v4/error/SchemaValidationErrorMessage";
53
+ import Certificate from "./models/objects/v4/operations/Certificate";
54
+ import CertificateApiResponse from "./models/objects/v4/operations/CertificateApiResponse";
55
+ import CertificateListApiResponse from "./models/objects/v4/operations/CertificateListApiResponse";
56
+ import CertificateProjection from "./models/objects/v4/operations/CertificateProjection";
57
+ import Objectstore from "./models/objects/v4/operations/Objectstore";
58
+ import ObjectstoreApiResponse from "./models/objects/v4/operations/ObjectstoreApiResponse";
59
+ import ObjectstoreListApiResponse from "./models/objects/v4/operations/ObjectstoreListApiResponse";
60
+ import ObjectstoreProjection from "./models/objects/v4/operations/ObjectstoreProjection";
61
+ import StateEnum from "./models/objects/v4/operations/StateEnum";
62
+ import TaskReferenceApiResponse from "./models/objects/v4/operations/TaskReferenceApiResponse";
63
+ import TaskReference from "./models/prism/v4/config/TaskReference";
64
+ export { ApiClient, ObjectStoresApi, FQDN, Flag, IPAddress, IPv4Address, IPv6Address, KVPair, Message, MessageSeverity, Metadata, TenantAwareModel, ApiLink, ApiResponseMetadata, ExternalizableAbstractModel, AppMessage, ErrorResponse, SchemaValidationError, SchemaValidationErrorMessage, Certificate, CertificateApiResponse, CertificateListApiResponse, CertificateProjection, Objectstore, ObjectstoreApiResponse, ObjectstoreListApiResponse, ObjectstoreProjection, StateEnum, TaskReferenceApiResponse, TaskReference };