@unified-api/typescript-sdk 1.0.26 → 1.0.28

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 (147) hide show
  1. package/dist/sdk/channel.d.ts +15 -0
  2. package/dist/sdk/channel.js +213 -0
  3. package/dist/sdk/kms.d.ts +55 -0
  4. package/dist/sdk/kms.js +907 -0
  5. package/dist/sdk/message.d.ts +31 -0
  6. package/dist/sdk/message.js +505 -0
  7. package/dist/sdk/messaging.d.ts +39 -0
  8. package/dist/sdk/messaging.js +631 -0
  9. package/dist/sdk/models/operations/createkmspage.d.ts +28 -0
  10. package/dist/sdk/models/operations/createkmspage.js +95 -0
  11. package/dist/sdk/models/operations/createkmsspace.d.ts +28 -0
  12. package/dist/sdk/models/operations/createkmsspace.js +95 -0
  13. package/dist/sdk/models/operations/createmessagingmessage.d.ts +28 -0
  14. package/dist/sdk/models/operations/createmessagingmessage.js +95 -0
  15. package/dist/sdk/models/operations/getkmspage.d.ts +35 -0
  16. package/dist/sdk/models/operations/getkmspage.js +99 -0
  17. package/dist/sdk/models/operations/getkmsspace.d.ts +35 -0
  18. package/dist/sdk/models/operations/getkmsspace.js +99 -0
  19. package/dist/sdk/models/operations/getmessagingchannel.d.ts +35 -0
  20. package/dist/sdk/models/operations/getmessagingchannel.js +99 -0
  21. package/dist/sdk/models/operations/getmessagingmessage.d.ts +35 -0
  22. package/dist/sdk/models/operations/getmessagingmessage.js +99 -0
  23. package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +10 -1
  24. package/dist/sdk/models/operations/getunifiedintegrationauth.js +9 -0
  25. package/dist/sdk/models/operations/index.d.ts +20 -0
  26. package/dist/sdk/models/operations/index.js +20 -0
  27. package/dist/sdk/models/operations/listkmspages.d.ts +45 -0
  28. package/dist/sdk/models/operations/listkmspages.js +127 -0
  29. package/dist/sdk/models/operations/listkmsspaces.d.ts +44 -0
  30. package/dist/sdk/models/operations/listkmsspaces.js +123 -0
  31. package/dist/sdk/models/operations/listmessagingchannels.d.ts +43 -0
  32. package/dist/sdk/models/operations/listmessagingchannels.js +119 -0
  33. package/dist/sdk/models/operations/listmessagingmessages.d.ts +45 -0
  34. package/dist/sdk/models/operations/listmessagingmessages.js +127 -0
  35. package/dist/sdk/models/operations/listunifiedconnections.d.ts +3 -1
  36. package/dist/sdk/models/operations/listunifiedconnections.js +2 -0
  37. package/dist/sdk/models/operations/listunifiedintegrations.d.ts +3 -1
  38. package/dist/sdk/models/operations/listunifiedintegrations.js +2 -0
  39. package/dist/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +3 -1
  40. package/dist/sdk/models/operations/listunifiedintegrationworkspaces.js +2 -0
  41. package/dist/sdk/models/operations/patchkmspage.d.ts +32 -0
  42. package/dist/sdk/models/operations/patchkmspage.js +99 -0
  43. package/dist/sdk/models/operations/patchkmsspace.d.ts +32 -0
  44. package/dist/sdk/models/operations/patchkmsspace.js +99 -0
  45. package/dist/sdk/models/operations/patchmessagingmessage.d.ts +32 -0
  46. package/dist/sdk/models/operations/patchmessagingmessage.js +99 -0
  47. package/dist/sdk/models/operations/removekmspage.d.ts +30 -0
  48. package/dist/sdk/models/operations/removekmspage.js +71 -0
  49. package/dist/sdk/models/operations/removekmsspace.d.ts +30 -0
  50. package/dist/sdk/models/operations/removekmsspace.js +71 -0
  51. package/dist/sdk/models/operations/removemessagingmessage.d.ts +30 -0
  52. package/dist/sdk/models/operations/removemessagingmessage.js +71 -0
  53. package/dist/sdk/models/operations/updatekmspage.d.ts +32 -0
  54. package/dist/sdk/models/operations/updatekmspage.js +99 -0
  55. package/dist/sdk/models/operations/updatekmsspace.d.ts +32 -0
  56. package/dist/sdk/models/operations/updatekmsspace.js +99 -0
  57. package/dist/sdk/models/operations/updatemessagingmessage.d.ts +32 -0
  58. package/dist/sdk/models/operations/updatemessagingmessage.js +99 -0
  59. package/dist/sdk/models/shared/atsactivity.d.ts +3 -0
  60. package/dist/sdk/models/shared/index.d.ts +6 -0
  61. package/dist/sdk/models/shared/index.js +6 -0
  62. package/dist/sdk/models/shared/integrationsupport.d.ts +3 -0
  63. package/dist/sdk/models/shared/integrationsupport.js +15 -0
  64. package/dist/sdk/models/shared/kmspage.d.ts +19 -0
  65. package/dist/sdk/models/shared/kmspage.js +109 -0
  66. package/dist/sdk/models/shared/kmsspace.d.ts +12 -0
  67. package/dist/sdk/models/shared/kmsspace.js +93 -0
  68. package/dist/sdk/models/shared/messagingchannel.d.ts +16 -0
  69. package/dist/sdk/models/shared/messagingchannel.js +106 -0
  70. package/dist/sdk/models/shared/messagingmember.d.ts +6 -0
  71. package/dist/sdk/models/shared/messagingmember.js +55 -0
  72. package/dist/sdk/models/shared/messagingmessage.d.ts +18 -0
  73. package/dist/sdk/models/shared/messagingmessage.js +111 -0
  74. package/dist/sdk/models/shared/propertyconnectioncategories.d.ts +3 -1
  75. package/dist/sdk/models/shared/propertyconnectioncategories.js +2 -0
  76. package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +10 -1
  77. package/dist/sdk/models/shared/propertyconnectionpermissions.js +9 -0
  78. package/dist/sdk/models/shared/propertyintegrationcategories.d.ts +3 -1
  79. package/dist/sdk/models/shared/propertyintegrationcategories.js +2 -0
  80. package/dist/sdk/models/shared/propertymessagingmessageauthormember.d.ts +6 -0
  81. package/dist/sdk/models/shared/propertymessagingmessageauthormember.js +55 -0
  82. package/dist/sdk/models/shared/webhook.d.ts +5 -1
  83. package/dist/sdk/models/shared/webhook.js +4 -0
  84. package/dist/sdk/page.d.ts +31 -0
  85. package/dist/sdk/page.js +505 -0
  86. package/dist/sdk/sdk.d.ts +12 -0
  87. package/dist/sdk/sdk.js +14 -2
  88. package/dist/sdk/space.d.ts +31 -0
  89. package/dist/sdk/space.js +505 -0
  90. package/docs/sdk/models/operations/categories.md +3 -1
  91. package/docs/sdk/models/operations/createkmspagerequest.md +9 -0
  92. package/docs/sdk/models/operations/createkmspageresponse.md +11 -0
  93. package/docs/sdk/models/operations/createkmsspacerequest.md +9 -0
  94. package/docs/sdk/models/operations/createkmsspaceresponse.md +11 -0
  95. package/docs/sdk/models/operations/createmessagingmessagerequest.md +9 -0
  96. package/docs/sdk/models/operations/createmessagingmessageresponse.md +11 -0
  97. package/docs/sdk/models/operations/getkmspagerequest.md +10 -0
  98. package/docs/sdk/models/operations/getkmspageresponse.md +11 -0
  99. package/docs/sdk/models/operations/getkmsspacerequest.md +10 -0
  100. package/docs/sdk/models/operations/getkmsspaceresponse.md +11 -0
  101. package/docs/sdk/models/operations/getmessagingchannelrequest.md +10 -0
  102. package/docs/sdk/models/operations/getmessagingchannelresponse.md +11 -0
  103. package/docs/sdk/models/operations/getmessagingmessagerequest.md +10 -0
  104. package/docs/sdk/models/operations/getmessagingmessageresponse.md +11 -0
  105. package/docs/sdk/models/operations/listkmspagesrequest.md +17 -0
  106. package/docs/sdk/models/operations/listkmspagesresponse.md +11 -0
  107. package/docs/sdk/models/operations/listkmsspacesrequest.md +16 -0
  108. package/docs/sdk/models/operations/listkmsspacesresponse.md +11 -0
  109. package/docs/sdk/models/operations/listmessagingchannelsrequest.md +15 -0
  110. package/docs/sdk/models/operations/listmessagingchannelsresponse.md +11 -0
  111. package/docs/sdk/models/operations/listmessagingmessagesrequest.md +17 -0
  112. package/docs/sdk/models/operations/listmessagingmessagesresponse.md +11 -0
  113. package/docs/sdk/models/operations/listunifiedintegrationsqueryparamcategories.md +3 -1
  114. package/docs/sdk/models/operations/patchkmspagerequest.md +10 -0
  115. package/docs/sdk/models/operations/patchkmspageresponse.md +11 -0
  116. package/docs/sdk/models/operations/patchkmsspacerequest.md +10 -0
  117. package/docs/sdk/models/operations/patchkmsspaceresponse.md +11 -0
  118. package/docs/sdk/models/operations/patchmessagingmessagerequest.md +10 -0
  119. package/docs/sdk/models/operations/patchmessagingmessageresponse.md +11 -0
  120. package/docs/sdk/models/operations/queryparamcategories.md +3 -1
  121. package/docs/sdk/models/operations/removekmspagerequest.md +9 -0
  122. package/docs/sdk/models/operations/removekmspageresponse.md +11 -0
  123. package/docs/sdk/models/operations/removekmsspacerequest.md +9 -0
  124. package/docs/sdk/models/operations/removekmsspaceresponse.md +11 -0
  125. package/docs/sdk/models/operations/removemessagingmessagerequest.md +9 -0
  126. package/docs/sdk/models/operations/removemessagingmessageresponse.md +11 -0
  127. package/docs/sdk/models/operations/scopes.md +10 -1
  128. package/docs/sdk/models/operations/updatekmspagerequest.md +10 -0
  129. package/docs/sdk/models/operations/updatekmspageresponse.md +11 -0
  130. package/docs/sdk/models/operations/updatekmsspacerequest.md +10 -0
  131. package/docs/sdk/models/operations/updatekmsspaceresponse.md +11 -0
  132. package/docs/sdk/models/operations/updatemessagingmessagerequest.md +10 -0
  133. package/docs/sdk/models/operations/updatemessagingmessageresponse.md +11 -0
  134. package/docs/sdk/models/shared/atsactivity.md +1 -1
  135. package/docs/sdk/models/shared/integrationsupport.md +3 -0
  136. package/docs/sdk/models/shared/kmspage.md +18 -0
  137. package/docs/sdk/models/shared/kmspagetype.md +10 -0
  138. package/docs/sdk/models/shared/kmsspace.md +16 -0
  139. package/docs/sdk/models/shared/messagingchannel.md +19 -0
  140. package/docs/sdk/models/shared/messagingmember.md +10 -0
  141. package/docs/sdk/models/shared/messagingmessage.md +20 -0
  142. package/docs/sdk/models/shared/objecttype.md +5 -1
  143. package/docs/sdk/models/shared/propertyconnectioncategories.md +3 -1
  144. package/docs/sdk/models/shared/propertyconnectionpermissions.md +10 -1
  145. package/docs/sdk/models/shared/propertyintegrationcategories.md +3 -1
  146. package/docs/sdk/models/shared/propertymessagingmessageauthormember.md +10 -0
  147. package/package.json +1 -1
@@ -0,0 +1,505 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
4
+ */
5
+ var __assign = (this && this.__assign) || function () {
6
+ __assign = Object.assign || function(t) {
7
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
8
+ s = arguments[i];
9
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
+ t[p] = s[p];
11
+ }
12
+ return t;
13
+ };
14
+ return __assign.apply(this, arguments);
15
+ };
16
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
17
+ if (k2 === undefined) k2 = k;
18
+ var desc = Object.getOwnPropertyDescriptor(m, k);
19
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
20
+ desc = { enumerable: true, get: function() { return m[k]; } };
21
+ }
22
+ Object.defineProperty(o, k2, desc);
23
+ }) : (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ o[k2] = m[k];
26
+ }));
27
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
28
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
29
+ }) : function(o, v) {
30
+ o["default"] = v;
31
+ });
32
+ var __importStar = (this && this.__importStar) || function (mod) {
33
+ if (mod && mod.__esModule) return mod;
34
+ var result = {};
35
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
36
+ __setModuleDefault(result, mod);
37
+ return result;
38
+ };
39
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
40
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
41
+ return new (P || (P = Promise))(function (resolve, reject) {
42
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
43
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
44
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
45
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
46
+ });
47
+ };
48
+ var __generator = (this && this.__generator) || function (thisArg, body) {
49
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
50
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ function verb(n) { return function (v) { return step([n, v]); }; }
52
+ function step(op) {
53
+ if (f) throw new TypeError("Generator is already executing.");
54
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
55
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
56
+ if (y = 0, t) op = [op[0] & 2, t.value];
57
+ switch (op[0]) {
58
+ case 0: case 1: t = op; break;
59
+ case 4: _.label++; return { value: op[1], done: false };
60
+ case 5: _.label++; y = op[1]; op = [0]; continue;
61
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
62
+ default:
63
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
64
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
65
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
66
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
67
+ if (t[2]) _.ops.pop();
68
+ _.trys.pop(); continue;
69
+ }
70
+ op = body.call(thisArg, _);
71
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
72
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
73
+ }
74
+ };
75
+ var __read = (this && this.__read) || function (o, n) {
76
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
77
+ if (!m) return o;
78
+ var i = m.call(o), r, ar = [], e;
79
+ try {
80
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
81
+ }
82
+ catch (error) { e = { error: error }; }
83
+ finally {
84
+ try {
85
+ if (r && !r.done && (m = i["return"])) m.call(i);
86
+ }
87
+ finally { if (e) throw e.error; }
88
+ }
89
+ return ar;
90
+ };
91
+ Object.defineProperty(exports, "__esModule", { value: true });
92
+ exports.Page = void 0;
93
+ var utils = __importStar(require("../internal/utils"));
94
+ var errors = __importStar(require("../sdk/models/errors"));
95
+ var operations = __importStar(require("../sdk/models/operations"));
96
+ var shared = __importStar(require("../sdk/models/shared"));
97
+ var Page = /** @class */ (function () {
98
+ function Page(sdkConfig) {
99
+ this.sdkConfiguration = sdkConfig;
100
+ }
101
+ /**
102
+ * Create a page
103
+ */
104
+ Page.prototype.createKmsPage = function (req, config) {
105
+ var _a, _b;
106
+ return __awaiter(this, void 0, void 0, function () {
107
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, globalSecurity, properties, headers, httpRes, responseContentType, res, decodedRes;
108
+ var _d;
109
+ return __generator(this, function (_e) {
110
+ switch (_e.label) {
111
+ case 0:
112
+ if (!(req instanceof utils.SpeakeasyBase)) {
113
+ req = new operations.CreateKmsPageRequest(req);
114
+ }
115
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
116
+ operationUrl = utils.generateURL(baseURL, "/kms/{connection_id}/page", req);
117
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
118
+ try {
119
+ _d = __read(utils.serializeRequestBody(req, "kmsPage", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
120
+ }
121
+ catch (e) {
122
+ if (e instanceof Error) {
123
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
124
+ }
125
+ }
126
+ client = this.sdkConfiguration.defaultClient;
127
+ globalSecurity = this.sdkConfiguration.security;
128
+ if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
129
+ return [4 /*yield*/, globalSecurity()];
130
+ case 1:
131
+ globalSecurity = _e.sent();
132
+ _e.label = 2;
133
+ case 2:
134
+ if (!(globalSecurity instanceof utils.SpeakeasyBase)) {
135
+ globalSecurity = new shared.Security(globalSecurity);
136
+ }
137
+ properties = utils.parseSecurityProperties(globalSecurity);
138
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
139
+ headers["Accept"] = "application/json";
140
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
141
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "post", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
142
+ case 3:
143
+ httpRes = _e.sent();
144
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
145
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
146
+ throw new Error("status code not found in response: ".concat(httpRes));
147
+ }
148
+ res = new operations.CreateKmsPageResponse({
149
+ statusCode: httpRes.status,
150
+ contentType: responseContentType,
151
+ rawResponse: httpRes,
152
+ });
153
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
154
+ switch (true) {
155
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
156
+ if (utils.matchContentType(responseContentType, "application/json")) {
157
+ res.kmsPage = utils.objectToClass(JSON.parse(decodedRes), shared.KmsPage);
158
+ }
159
+ else {
160
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
161
+ }
162
+ break;
163
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
164
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
165
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
166
+ }
167
+ return [2 /*return*/, res];
168
+ }
169
+ });
170
+ });
171
+ };
172
+ /**
173
+ * Retrieve a page
174
+ */
175
+ Page.prototype.getKmsPage = function (req, config) {
176
+ var _a, _b;
177
+ return __awaiter(this, void 0, void 0, function () {
178
+ var baseURL, operationUrl, client, globalSecurity, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes;
179
+ return __generator(this, function (_c) {
180
+ switch (_c.label) {
181
+ case 0:
182
+ if (!(req instanceof utils.SpeakeasyBase)) {
183
+ req = new operations.GetKmsPageRequest(req);
184
+ }
185
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
186
+ operationUrl = utils.generateURL(baseURL, "/kms/{connection_id}/page/{id}", req);
187
+ client = this.sdkConfiguration.defaultClient;
188
+ globalSecurity = this.sdkConfiguration.security;
189
+ if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
190
+ return [4 /*yield*/, globalSecurity()];
191
+ case 1:
192
+ globalSecurity = _c.sent();
193
+ _c.label = 2;
194
+ case 2:
195
+ if (!(globalSecurity instanceof utils.SpeakeasyBase)) {
196
+ globalSecurity = new shared.Security(globalSecurity);
197
+ }
198
+ properties = utils.parseSecurityProperties(globalSecurity);
199
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
200
+ queryParams = utils.serializeQueryParams(req);
201
+ headers["Accept"] = "application/json";
202
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
203
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl + queryParams, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
204
+ case 3:
205
+ httpRes = _c.sent();
206
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
207
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
208
+ throw new Error("status code not found in response: ".concat(httpRes));
209
+ }
210
+ res = new operations.GetKmsPageResponse({
211
+ statusCode: httpRes.status,
212
+ contentType: responseContentType,
213
+ rawResponse: httpRes,
214
+ });
215
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
216
+ switch (true) {
217
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
218
+ if (utils.matchContentType(responseContentType, "application/json")) {
219
+ res.kmsPage = utils.objectToClass(JSON.parse(decodedRes), shared.KmsPage);
220
+ }
221
+ else {
222
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
223
+ }
224
+ break;
225
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
226
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
227
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
228
+ }
229
+ return [2 /*return*/, res];
230
+ }
231
+ });
232
+ });
233
+ };
234
+ /**
235
+ * List all pages
236
+ */
237
+ Page.prototype.listKmsPages = function (req, config) {
238
+ var _a, _b;
239
+ return __awaiter(this, void 0, void 0, function () {
240
+ var baseURL, operationUrl, client, globalSecurity, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes, resFieldDepth;
241
+ return __generator(this, function (_c) {
242
+ switch (_c.label) {
243
+ case 0:
244
+ if (!(req instanceof utils.SpeakeasyBase)) {
245
+ req = new operations.ListKmsPagesRequest(req);
246
+ }
247
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
248
+ operationUrl = utils.generateURL(baseURL, "/kms/{connection_id}/page", req);
249
+ client = this.sdkConfiguration.defaultClient;
250
+ globalSecurity = this.sdkConfiguration.security;
251
+ if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
252
+ return [4 /*yield*/, globalSecurity()];
253
+ case 1:
254
+ globalSecurity = _c.sent();
255
+ _c.label = 2;
256
+ case 2:
257
+ if (!(globalSecurity instanceof utils.SpeakeasyBase)) {
258
+ globalSecurity = new shared.Security(globalSecurity);
259
+ }
260
+ properties = utils.parseSecurityProperties(globalSecurity);
261
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
262
+ queryParams = utils.serializeQueryParams(req);
263
+ headers["Accept"] = "application/json";
264
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
265
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl + queryParams, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
266
+ case 3:
267
+ httpRes = _c.sent();
268
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
269
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
270
+ throw new Error("status code not found in response: ".concat(httpRes));
271
+ }
272
+ res = new operations.ListKmsPagesResponse({
273
+ statusCode: httpRes.status,
274
+ contentType: responseContentType,
275
+ rawResponse: httpRes,
276
+ });
277
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
278
+ switch (true) {
279
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
280
+ if (utils.matchContentType(responseContentType, "application/json")) {
281
+ res.kmsPages = [];
282
+ resFieldDepth = utils.getResFieldDepth(res);
283
+ res.kmsPages = utils.objectToClass(JSON.parse(decodedRes), shared.KmsPage, resFieldDepth);
284
+ }
285
+ else {
286
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
287
+ }
288
+ break;
289
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
290
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
291
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
292
+ }
293
+ return [2 /*return*/, res];
294
+ }
295
+ });
296
+ });
297
+ };
298
+ /**
299
+ * Update a page
300
+ */
301
+ Page.prototype.patchKmsPage = function (req, config) {
302
+ var _a, _b;
303
+ return __awaiter(this, void 0, void 0, function () {
304
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, globalSecurity, properties, headers, httpRes, responseContentType, res, decodedRes;
305
+ var _d;
306
+ return __generator(this, function (_e) {
307
+ switch (_e.label) {
308
+ case 0:
309
+ if (!(req instanceof utils.SpeakeasyBase)) {
310
+ req = new operations.PatchKmsPageRequest(req);
311
+ }
312
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
313
+ operationUrl = utils.generateURL(baseURL, "/kms/{connection_id}/page/{id}", req);
314
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
315
+ try {
316
+ _d = __read(utils.serializeRequestBody(req, "kmsPage", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
317
+ }
318
+ catch (e) {
319
+ if (e instanceof Error) {
320
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
321
+ }
322
+ }
323
+ client = this.sdkConfiguration.defaultClient;
324
+ globalSecurity = this.sdkConfiguration.security;
325
+ if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
326
+ return [4 /*yield*/, globalSecurity()];
327
+ case 1:
328
+ globalSecurity = _e.sent();
329
+ _e.label = 2;
330
+ case 2:
331
+ if (!(globalSecurity instanceof utils.SpeakeasyBase)) {
332
+ globalSecurity = new shared.Security(globalSecurity);
333
+ }
334
+ properties = utils.parseSecurityProperties(globalSecurity);
335
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
336
+ headers["Accept"] = "application/json";
337
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
338
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "patch", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
339
+ case 3:
340
+ httpRes = _e.sent();
341
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
342
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
343
+ throw new Error("status code not found in response: ".concat(httpRes));
344
+ }
345
+ res = new operations.PatchKmsPageResponse({
346
+ statusCode: httpRes.status,
347
+ contentType: responseContentType,
348
+ rawResponse: httpRes,
349
+ });
350
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
351
+ switch (true) {
352
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
353
+ if (utils.matchContentType(responseContentType, "application/json")) {
354
+ res.kmsPage = utils.objectToClass(JSON.parse(decodedRes), shared.KmsPage);
355
+ }
356
+ else {
357
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
358
+ }
359
+ break;
360
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
361
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
362
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
363
+ }
364
+ return [2 /*return*/, res];
365
+ }
366
+ });
367
+ });
368
+ };
369
+ /**
370
+ * Remove a page
371
+ */
372
+ Page.prototype.removeKmsPage = function (req, config) {
373
+ var _a, _b;
374
+ return __awaiter(this, void 0, void 0, function () {
375
+ var baseURL, operationUrl, client, globalSecurity, properties, headers, httpRes, responseContentType, res, decodedRes;
376
+ return __generator(this, function (_c) {
377
+ switch (_c.label) {
378
+ case 0:
379
+ if (!(req instanceof utils.SpeakeasyBase)) {
380
+ req = new operations.RemoveKmsPageRequest(req);
381
+ }
382
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
383
+ operationUrl = utils.generateURL(baseURL, "/kms/{connection_id}/page/{id}", req);
384
+ client = this.sdkConfiguration.defaultClient;
385
+ globalSecurity = this.sdkConfiguration.security;
386
+ if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
387
+ return [4 /*yield*/, globalSecurity()];
388
+ case 1:
389
+ globalSecurity = _c.sent();
390
+ _c.label = 2;
391
+ case 2:
392
+ if (!(globalSecurity instanceof utils.SpeakeasyBase)) {
393
+ globalSecurity = new shared.Security(globalSecurity);
394
+ }
395
+ properties = utils.parseSecurityProperties(globalSecurity);
396
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
397
+ headers["Accept"] = "application/json";
398
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
399
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "delete", headers: headers, responseType: "arraybuffer" }, config))];
400
+ case 3:
401
+ httpRes = _c.sent();
402
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
403
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
404
+ throw new Error("status code not found in response: ".concat(httpRes));
405
+ }
406
+ res = new operations.RemoveKmsPageResponse({
407
+ statusCode: httpRes.status,
408
+ contentType: responseContentType,
409
+ rawResponse: httpRes,
410
+ });
411
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
412
+ switch (true) {
413
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
414
+ break;
415
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
416
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
417
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
418
+ default:
419
+ if (utils.matchContentType(responseContentType, "application/json")) {
420
+ res.string = JSON.parse(decodedRes);
421
+ }
422
+ else {
423
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
424
+ }
425
+ break;
426
+ }
427
+ return [2 /*return*/, res];
428
+ }
429
+ });
430
+ });
431
+ };
432
+ /**
433
+ * Update a page
434
+ */
435
+ Page.prototype.updateKmsPage = function (req, config) {
436
+ var _a, _b;
437
+ return __awaiter(this, void 0, void 0, function () {
438
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, globalSecurity, properties, headers, httpRes, responseContentType, res, decodedRes;
439
+ var _d;
440
+ return __generator(this, function (_e) {
441
+ switch (_e.label) {
442
+ case 0:
443
+ if (!(req instanceof utils.SpeakeasyBase)) {
444
+ req = new operations.UpdateKmsPageRequest(req);
445
+ }
446
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
447
+ operationUrl = utils.generateURL(baseURL, "/kms/{connection_id}/page/{id}", req);
448
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
449
+ try {
450
+ _d = __read(utils.serializeRequestBody(req, "kmsPage", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
451
+ }
452
+ catch (e) {
453
+ if (e instanceof Error) {
454
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
455
+ }
456
+ }
457
+ client = this.sdkConfiguration.defaultClient;
458
+ globalSecurity = this.sdkConfiguration.security;
459
+ if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
460
+ return [4 /*yield*/, globalSecurity()];
461
+ case 1:
462
+ globalSecurity = _e.sent();
463
+ _e.label = 2;
464
+ case 2:
465
+ if (!(globalSecurity instanceof utils.SpeakeasyBase)) {
466
+ globalSecurity = new shared.Security(globalSecurity);
467
+ }
468
+ properties = utils.parseSecurityProperties(globalSecurity);
469
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
470
+ headers["Accept"] = "application/json";
471
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
472
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "put", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
473
+ case 3:
474
+ httpRes = _e.sent();
475
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
476
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
477
+ throw new Error("status code not found in response: ".concat(httpRes));
478
+ }
479
+ res = new operations.UpdateKmsPageResponse({
480
+ statusCode: httpRes.status,
481
+ contentType: responseContentType,
482
+ rawResponse: httpRes,
483
+ });
484
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
485
+ switch (true) {
486
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
487
+ if (utils.matchContentType(responseContentType, "application/json")) {
488
+ res.kmsPage = utils.objectToClass(JSON.parse(decodedRes), shared.KmsPage);
489
+ }
490
+ else {
491
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
492
+ }
493
+ break;
494
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
495
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
496
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
497
+ }
498
+ return [2 /*return*/, res];
499
+ }
500
+ });
501
+ });
502
+ };
503
+ return Page;
504
+ }());
505
+ exports.Page = Page;
package/dist/sdk/sdk.d.ts CHANGED
@@ -10,6 +10,7 @@ import { Ats } from "./ats";
10
10
  import { Auth } from "./auth";
11
11
  import { Call } from "./call";
12
12
  import { Candidate } from "./candidate";
13
+ import { Channel } from "./channel";
13
14
  import { Collection } from "./collection";
14
15
  import { Commerce } from "./commerce";
15
16
  import { Company } from "./company";
@@ -33,6 +34,7 @@ import { Invoice } from "./invoice";
33
34
  import { Issue } from "./issue";
34
35
  import { Item } from "./item";
35
36
  import { Job } from "./job";
37
+ import { Kms } from "./kms";
36
38
  import { Lead } from "./lead";
37
39
  import { Link } from "./link";
38
40
  import { List } from "./list";
@@ -40,9 +42,12 @@ import { Location } from "./location";
40
42
  import { Login } from "./login";
41
43
  import { Martech } from "./martech";
42
44
  import { Member } from "./member";
45
+ import { Message } from "./message";
46
+ import { Messaging } from "./messaging";
43
47
  import { Model } from "./model";
44
48
  import { Note } from "./note";
45
49
  import { Organization } from "./organization";
50
+ import { Page } from "./page";
46
51
  import { Passthrough } from "./passthrough";
47
52
  import { Payment } from "./payment";
48
53
  import { Payout } from "./payout";
@@ -52,6 +57,7 @@ import { Pipeline } from "./pipeline";
52
57
  import { Prompt } from "./prompt";
53
58
  import { Refund } from "./refund";
54
59
  import { Scorecard } from "./scorecard";
60
+ import { Space } from "./space";
55
61
  import { Storage } from "./storage";
56
62
  import { Taxrate } from "./taxrate";
57
63
  import { Ticket } from "./ticket";
@@ -145,9 +151,15 @@ export declare class UnifiedTo {
145
151
  group: Group;
146
152
  payslip: Payslip;
147
153
  timeoff: Timeoff;
154
+ kms: Kms;
155
+ page: Page;
156
+ space: Space;
148
157
  martech: Martech;
149
158
  list: List;
150
159
  member: Member;
160
+ messaging: Messaging;
161
+ channel: Channel;
162
+ message: Message;
151
163
  passthrough: Passthrough;
152
164
  payment: Payment;
153
165
  link: Link;
package/dist/sdk/sdk.js CHANGED
@@ -17,6 +17,7 @@ var ats_1 = require("./ats");
17
17
  var auth_1 = require("./auth");
18
18
  var call_1 = require("./call");
19
19
  var candidate_1 = require("./candidate");
20
+ var channel_1 = require("./channel");
20
21
  var collection_1 = require("./collection");
21
22
  var commerce_1 = require("./commerce");
22
23
  var company_1 = require("./company");
@@ -40,6 +41,7 @@ var invoice_1 = require("./invoice");
40
41
  var issue_1 = require("./issue");
41
42
  var item_1 = require("./item");
42
43
  var job_1 = require("./job");
44
+ var kms_1 = require("./kms");
43
45
  var lead_1 = require("./lead");
44
46
  var link_1 = require("./link");
45
47
  var list_1 = require("./list");
@@ -47,9 +49,12 @@ var location_1 = require("./location");
47
49
  var login_1 = require("./login");
48
50
  var martech_1 = require("./martech");
49
51
  var member_1 = require("./member");
52
+ var message_1 = require("./message");
53
+ var messaging_1 = require("./messaging");
50
54
  var model_1 = require("./model");
51
55
  var note_1 = require("./note");
52
56
  var organization_1 = require("./organization");
57
+ var page_1 = require("./page");
53
58
  var passthrough_1 = require("./passthrough");
54
59
  var payment_1 = require("./payment");
55
60
  var payout_1 = require("./payout");
@@ -59,6 +64,7 @@ var pipeline_1 = require("./pipeline");
59
64
  var prompt_1 = require("./prompt");
60
65
  var refund_1 = require("./refund");
61
66
  var scorecard_1 = require("./scorecard");
67
+ var space_1 = require("./space");
62
68
  var storage_1 = require("./storage");
63
69
  var taxrate_1 = require("./taxrate");
64
70
  var ticket_1 = require("./ticket");
@@ -86,9 +92,9 @@ var SDKConfiguration = /** @class */ (function () {
86
92
  function SDKConfiguration(init) {
87
93
  this.language = "typescript";
88
94
  this.openapiDocVersion = "1.0";
89
- this.sdkVersion = "1.0.26";
95
+ this.sdkVersion = "1.0.28";
90
96
  this.genVersion = "2.333.3";
91
- this.userAgent = "speakeasy-sdk/typescript 1.0.26 2.333.3 1.0 @unified-api/typescript-sdk";
97
+ this.userAgent = "speakeasy-sdk/typescript 1.0.28 2.333.3 1.0 @unified-api/typescript-sdk";
92
98
  Object.assign(this, init);
93
99
  }
94
100
  return SDKConfiguration;
@@ -152,9 +158,15 @@ var UnifiedTo = /** @class */ (function () {
152
158
  this.group = new group_1.Group(this.sdkConfiguration);
153
159
  this.payslip = new payslip_1.Payslip(this.sdkConfiguration);
154
160
  this.timeoff = new timeoff_1.Timeoff(this.sdkConfiguration);
161
+ this.kms = new kms_1.Kms(this.sdkConfiguration);
162
+ this.page = new page_1.Page(this.sdkConfiguration);
163
+ this.space = new space_1.Space(this.sdkConfiguration);
155
164
  this.martech = new martech_1.Martech(this.sdkConfiguration);
156
165
  this.list = new list_1.List(this.sdkConfiguration);
157
166
  this.member = new member_1.Member(this.sdkConfiguration);
167
+ this.messaging = new messaging_1.Messaging(this.sdkConfiguration);
168
+ this.channel = new channel_1.Channel(this.sdkConfiguration);
169
+ this.message = new message_1.Message(this.sdkConfiguration);
158
170
  this.passthrough = new passthrough_1.Passthrough(this.sdkConfiguration);
159
171
  this.payment = new payment_1.Payment(this.sdkConfiguration);
160
172
  this.link = new link_1.Link(this.sdkConfiguration);
@@ -0,0 +1,31 @@
1
+ import * as operations from "../sdk/models/operations";
2
+ import { SDKConfiguration } from "./sdk";
3
+ import { AxiosRequestConfig } from "axios";
4
+ export declare class Space {
5
+ private sdkConfiguration;
6
+ constructor(sdkConfig: SDKConfiguration);
7
+ /**
8
+ * Create a space
9
+ */
10
+ createKmsSpace(req: operations.CreateKmsSpaceRequest, config?: AxiosRequestConfig): Promise<operations.CreateKmsSpaceResponse>;
11
+ /**
12
+ * Retrieve a space
13
+ */
14
+ getKmsSpace(req: operations.GetKmsSpaceRequest, config?: AxiosRequestConfig): Promise<operations.GetKmsSpaceResponse>;
15
+ /**
16
+ * List all spaces
17
+ */
18
+ listKmsSpaces(req: operations.ListKmsSpacesRequest, config?: AxiosRequestConfig): Promise<operations.ListKmsSpacesResponse>;
19
+ /**
20
+ * Update a space
21
+ */
22
+ patchKmsSpace(req: operations.PatchKmsSpaceRequest, config?: AxiosRequestConfig): Promise<operations.PatchKmsSpaceResponse>;
23
+ /**
24
+ * Remove a space
25
+ */
26
+ removeKmsSpace(req: operations.RemoveKmsSpaceRequest, config?: AxiosRequestConfig): Promise<operations.RemoveKmsSpaceResponse>;
27
+ /**
28
+ * Update a space
29
+ */
30
+ updateKmsSpace(req: operations.UpdateKmsSpaceRequest, config?: AxiosRequestConfig): Promise<operations.UpdateKmsSpaceResponse>;
31
+ }