@unified-api/typescript-sdk 1.0.19 → 1.0.21
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.
- package/dist/sdk/genai.d.ts +15 -0
- package/dist/sdk/genai.js +238 -0
- package/dist/sdk/model.d.ts +11 -0
- package/dist/sdk/model.js +151 -0
- package/dist/sdk/models/operations/creategenaiprompt.d.ts +28 -0
- package/dist/sdk/models/operations/creategenaiprompt.js +95 -0
- package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +4 -1
- package/dist/sdk/models/operations/getunifiedintegrationauth.js +3 -0
- package/dist/sdk/models/operations/index.d.ts +2 -0
- package/dist/sdk/models/operations/index.js +2 -0
- package/dist/sdk/models/operations/listgenaimodels.d.ts +43 -0
- package/dist/sdk/models/operations/listgenaimodels.js +119 -0
- package/dist/sdk/models/operations/listunifiedconnections.d.ts +2 -1
- package/dist/sdk/models/operations/listunifiedconnections.js +1 -0
- package/dist/sdk/models/operations/listunifiedintegrations.d.ts +2 -1
- package/dist/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/dist/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +2 -1
- package/dist/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/dist/sdk/models/shared/genaicontent.d.ts +9 -0
- package/dist/sdk/models/shared/genaicontent.js +55 -0
- package/dist/sdk/models/shared/genaimodel.d.ts +9 -0
- package/dist/sdk/models/shared/genaimodel.js +70 -0
- package/dist/sdk/models/shared/genaiprompt.d.ts +10 -0
- package/dist/sdk/models/shared/genaiprompt.js +72 -0
- package/dist/sdk/models/shared/index.d.ts +3 -0
- package/dist/sdk/models/shared/index.js +3 -0
- package/dist/sdk/models/shared/propertyconnectioncategories.d.ts +2 -1
- package/dist/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +4 -1
- package/dist/sdk/models/shared/propertyconnectionpermissions.js +3 -0
- package/dist/sdk/models/shared/propertyintegrationcategories.d.ts +2 -1
- package/dist/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/dist/sdk/models/shared/webhook.d.ts +3 -1
- package/dist/sdk/models/shared/webhook.js +2 -0
- package/dist/sdk/prompt.d.ts +11 -0
- package/dist/sdk/prompt.js +174 -0
- package/dist/sdk/sdk.d.ts +6 -0
- package/dist/sdk/sdk.js +9 -3
- package/docs/sdk/models/operations/categories.md +2 -1
- package/docs/sdk/models/operations/creategenaipromptrequest.md +9 -0
- package/docs/sdk/models/operations/creategenaipromptresponse.md +11 -0
- package/docs/sdk/models/operations/listgenaimodelsrequest.md +15 -0
- package/docs/sdk/models/operations/listgenaimodelsresponse.md +11 -0
- package/docs/sdk/models/operations/listunifiedintegrationsqueryparamcategories.md +2 -1
- package/docs/sdk/models/operations/queryparamcategories.md +2 -1
- package/docs/sdk/models/operations/scopes.md +4 -1
- package/docs/sdk/models/shared/genaicontent.md +9 -0
- package/docs/sdk/models/shared/genaimodel.md +13 -0
- package/docs/sdk/models/shared/genaiprompt.md +13 -0
- package/docs/sdk/models/shared/objecttype.md +3 -1
- package/docs/sdk/models/shared/propertyconnectioncategories.md +2 -1
- package/docs/sdk/models/shared/propertyconnectionpermissions.md +4 -1
- package/docs/sdk/models/shared/propertyintegrationcategories.md +2 -1
- package/docs/sdk/models/shared/role.md +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as operations from "../sdk/models/operations";
|
|
2
|
+
import { SDKConfiguration } from "./sdk";
|
|
3
|
+
import { AxiosRequestConfig } from "axios";
|
|
4
|
+
export declare class Genai {
|
|
5
|
+
private sdkConfiguration;
|
|
6
|
+
constructor(sdkConfig: SDKConfiguration);
|
|
7
|
+
/**
|
|
8
|
+
* Create a prompt
|
|
9
|
+
*/
|
|
10
|
+
createGenaiPrompt(req: operations.CreateGenaiPromptRequest, config?: AxiosRequestConfig): Promise<operations.CreateGenaiPromptResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* List all models
|
|
13
|
+
*/
|
|
14
|
+
listGenaiModels(req: operations.ListGenaiModelsRequest, config?: AxiosRequestConfig): Promise<operations.ListGenaiModelsResponse>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,238 @@
|
|
|
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.Genai = 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 Genai = /** @class */ (function () {
|
|
98
|
+
function Genai(sdkConfig) {
|
|
99
|
+
this.sdkConfiguration = sdkConfig;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Create a prompt
|
|
103
|
+
*/
|
|
104
|
+
Genai.prototype.createGenaiPrompt = 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.CreateGenaiPromptRequest(req);
|
|
114
|
+
}
|
|
115
|
+
baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
|
|
116
|
+
operationUrl = utils.generateURL(baseURL, "/genai/{connection_id}/prompt", req);
|
|
117
|
+
_c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
|
|
118
|
+
try {
|
|
119
|
+
_d = __read(utils.serializeRequestBody(req, "genaiPrompt", "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.CreateGenaiPromptResponse({
|
|
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.genaiPrompt = utils.objectToClass(JSON.parse(decodedRes), shared.GenaiPrompt);
|
|
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
|
+
* List all models
|
|
174
|
+
*/
|
|
175
|
+
Genai.prototype.listGenaiModels = 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, resFieldDepth;
|
|
179
|
+
return __generator(this, function (_c) {
|
|
180
|
+
switch (_c.label) {
|
|
181
|
+
case 0:
|
|
182
|
+
if (!(req instanceof utils.SpeakeasyBase)) {
|
|
183
|
+
req = new operations.ListGenaiModelsRequest(req);
|
|
184
|
+
}
|
|
185
|
+
baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
|
|
186
|
+
operationUrl = utils.generateURL(baseURL, "/genai/{connection_id}/model", 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.ListGenaiModelsResponse({
|
|
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.genaiModels = [];
|
|
220
|
+
resFieldDepth = utils.getResFieldDepth(res);
|
|
221
|
+
res.genaiModels = utils.objectToClass(JSON.parse(decodedRes), shared.GenaiModel, resFieldDepth);
|
|
222
|
+
}
|
|
223
|
+
else {
|
|
224
|
+
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
225
|
+
}
|
|
226
|
+
break;
|
|
227
|
+
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
228
|
+
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
229
|
+
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
230
|
+
}
|
|
231
|
+
return [2 /*return*/, res];
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
});
|
|
235
|
+
};
|
|
236
|
+
return Genai;
|
|
237
|
+
}());
|
|
238
|
+
exports.Genai = Genai;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as operations from "../sdk/models/operations";
|
|
2
|
+
import { SDKConfiguration } from "./sdk";
|
|
3
|
+
import { AxiosRequestConfig } from "axios";
|
|
4
|
+
export declare class Model {
|
|
5
|
+
private sdkConfiguration;
|
|
6
|
+
constructor(sdkConfig: SDKConfiguration);
|
|
7
|
+
/**
|
|
8
|
+
* List all models
|
|
9
|
+
*/
|
|
10
|
+
listGenaiModels(req: operations.ListGenaiModelsRequest, config?: AxiosRequestConfig): Promise<operations.ListGenaiModelsResponse>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
76
|
+
exports.Model = void 0;
|
|
77
|
+
var utils = __importStar(require("../internal/utils"));
|
|
78
|
+
var errors = __importStar(require("../sdk/models/errors"));
|
|
79
|
+
var operations = __importStar(require("../sdk/models/operations"));
|
|
80
|
+
var shared = __importStar(require("../sdk/models/shared"));
|
|
81
|
+
var Model = /** @class */ (function () {
|
|
82
|
+
function Model(sdkConfig) {
|
|
83
|
+
this.sdkConfiguration = sdkConfig;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* List all models
|
|
87
|
+
*/
|
|
88
|
+
Model.prototype.listGenaiModels = function (req, config) {
|
|
89
|
+
var _a, _b;
|
|
90
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
91
|
+
var baseURL, operationUrl, client, globalSecurity, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes, resFieldDepth;
|
|
92
|
+
return __generator(this, function (_c) {
|
|
93
|
+
switch (_c.label) {
|
|
94
|
+
case 0:
|
|
95
|
+
if (!(req instanceof utils.SpeakeasyBase)) {
|
|
96
|
+
req = new operations.ListGenaiModelsRequest(req);
|
|
97
|
+
}
|
|
98
|
+
baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
|
|
99
|
+
operationUrl = utils.generateURL(baseURL, "/genai/{connection_id}/model", req);
|
|
100
|
+
client = this.sdkConfiguration.defaultClient;
|
|
101
|
+
globalSecurity = this.sdkConfiguration.security;
|
|
102
|
+
if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
|
|
103
|
+
return [4 /*yield*/, globalSecurity()];
|
|
104
|
+
case 1:
|
|
105
|
+
globalSecurity = _c.sent();
|
|
106
|
+
_c.label = 2;
|
|
107
|
+
case 2:
|
|
108
|
+
if (!(globalSecurity instanceof utils.SpeakeasyBase)) {
|
|
109
|
+
globalSecurity = new shared.Security(globalSecurity);
|
|
110
|
+
}
|
|
111
|
+
properties = utils.parseSecurityProperties(globalSecurity);
|
|
112
|
+
headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
|
|
113
|
+
queryParams = utils.serializeQueryParams(req);
|
|
114
|
+
headers["Accept"] = "application/json";
|
|
115
|
+
headers["user-agent"] = this.sdkConfiguration.userAgent;
|
|
116
|
+
return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl + queryParams, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
|
|
117
|
+
case 3:
|
|
118
|
+
httpRes = _c.sent();
|
|
119
|
+
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 : "";
|
|
120
|
+
if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
|
|
121
|
+
throw new Error("status code not found in response: ".concat(httpRes));
|
|
122
|
+
}
|
|
123
|
+
res = new operations.ListGenaiModelsResponse({
|
|
124
|
+
statusCode: httpRes.status,
|
|
125
|
+
contentType: responseContentType,
|
|
126
|
+
rawResponse: httpRes,
|
|
127
|
+
});
|
|
128
|
+
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
129
|
+
switch (true) {
|
|
130
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
|
|
131
|
+
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
132
|
+
res.genaiModels = [];
|
|
133
|
+
resFieldDepth = utils.getResFieldDepth(res);
|
|
134
|
+
res.genaiModels = utils.objectToClass(JSON.parse(decodedRes), shared.GenaiModel, resFieldDepth);
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
138
|
+
}
|
|
139
|
+
break;
|
|
140
|
+
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
141
|
+
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
142
|
+
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
143
|
+
}
|
|
144
|
+
return [2 /*return*/, res];
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
};
|
|
149
|
+
return Model;
|
|
150
|
+
}());
|
|
151
|
+
exports.Model = Model;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import * as shared from "../../../sdk/models/shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
4
|
+
export declare class CreateGenaiPromptRequest extends SpeakeasyBase {
|
|
5
|
+
genaiPrompt?: shared.GenaiPrompt;
|
|
6
|
+
/**
|
|
7
|
+
* ID of the connection
|
|
8
|
+
*/
|
|
9
|
+
connectionId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class CreateGenaiPromptResponse extends SpeakeasyBase {
|
|
12
|
+
/**
|
|
13
|
+
* HTTP response content type for this operation
|
|
14
|
+
*/
|
|
15
|
+
contentType: string;
|
|
16
|
+
/**
|
|
17
|
+
* Successful
|
|
18
|
+
*/
|
|
19
|
+
genaiPrompt?: shared.GenaiPrompt;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP response status code for this operation
|
|
22
|
+
*/
|
|
23
|
+
statusCode: number;
|
|
24
|
+
/**
|
|
25
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
26
|
+
*/
|
|
27
|
+
rawResponse: AxiosResponse;
|
|
28
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __extends = (this && this.__extends) || (function () {
|
|
6
|
+
var extendStatics = function (d, b) {
|
|
7
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
10
|
+
return extendStatics(d, b);
|
|
11
|
+
};
|
|
12
|
+
return function (d, b) {
|
|
13
|
+
if (typeof b !== "function" && b !== null)
|
|
14
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
15
|
+
extendStatics(d, b);
|
|
16
|
+
function __() { this.constructor = d; }
|
|
17
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
+
};
|
|
19
|
+
})();
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
32
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
33
|
+
}) : function(o, v) {
|
|
34
|
+
o["default"] = v;
|
|
35
|
+
});
|
|
36
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
37
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
38
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
39
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
40
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
41
|
+
};
|
|
42
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
43
|
+
if (mod && mod.__esModule) return mod;
|
|
44
|
+
var result = {};
|
|
45
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
46
|
+
__setModuleDefault(result, mod);
|
|
47
|
+
return result;
|
|
48
|
+
};
|
|
49
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
50
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.CreateGenaiPromptResponse = exports.CreateGenaiPromptRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var CreateGenaiPromptRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(CreateGenaiPromptRequest, _super);
|
|
58
|
+
function CreateGenaiPromptRequest() {
|
|
59
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
+
}
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "request, media_type=application/json" }),
|
|
63
|
+
__metadata("design:type", shared.GenaiPrompt)
|
|
64
|
+
], CreateGenaiPromptRequest.prototype, "genaiPrompt", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], CreateGenaiPromptRequest.prototype, "connectionId", void 0);
|
|
69
|
+
return CreateGenaiPromptRequest;
|
|
70
|
+
}(utils_1.SpeakeasyBase));
|
|
71
|
+
exports.CreateGenaiPromptRequest = CreateGenaiPromptRequest;
|
|
72
|
+
var CreateGenaiPromptResponse = /** @class */ (function (_super) {
|
|
73
|
+
__extends(CreateGenaiPromptResponse, _super);
|
|
74
|
+
function CreateGenaiPromptResponse() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], CreateGenaiPromptResponse.prototype, "contentType", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
83
|
+
__metadata("design:type", shared.GenaiPrompt)
|
|
84
|
+
], CreateGenaiPromptResponse.prototype, "genaiPrompt", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], CreateGenaiPromptResponse.prototype, "statusCode", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
|
+
__metadata("design:type", Object)
|
|
92
|
+
], CreateGenaiPromptResponse.prototype, "rawResponse", void 0);
|
|
93
|
+
return CreateGenaiPromptResponse;
|
|
94
|
+
}(utils_1.SpeakeasyBase));
|
|
95
|
+
exports.CreateGenaiPromptResponse = CreateGenaiPromptResponse;
|
|
@@ -76,7 +76,10 @@ export declare enum Scopes {
|
|
|
76
76
|
UcCallRead = "uc_call_read",
|
|
77
77
|
StorageFileRead = "storage_file_read",
|
|
78
78
|
StorageFileWrite = "storage_file_write",
|
|
79
|
-
Webhook = "webhook"
|
|
79
|
+
Webhook = "webhook",
|
|
80
|
+
GenaiModelRead = "genai_model_read",
|
|
81
|
+
GenaiPromptRead = "genai_prompt_read",
|
|
82
|
+
GenaiPromptWrite = "genai_prompt_write"
|
|
80
83
|
}
|
|
81
84
|
export declare class GetUnifiedIntegrationAuthRequest extends SpeakeasyBase {
|
|
82
85
|
env?: string;
|
|
@@ -107,6 +107,9 @@ var Scopes;
|
|
|
107
107
|
Scopes["StorageFileRead"] = "storage_file_read";
|
|
108
108
|
Scopes["StorageFileWrite"] = "storage_file_write";
|
|
109
109
|
Scopes["Webhook"] = "webhook";
|
|
110
|
+
Scopes["GenaiModelRead"] = "genai_model_read";
|
|
111
|
+
Scopes["GenaiPromptRead"] = "genai_prompt_read";
|
|
112
|
+
Scopes["GenaiPromptWrite"] = "genai_prompt_write";
|
|
110
113
|
})(Scopes = exports.Scopes || (exports.Scopes = {}));
|
|
111
114
|
var GetUnifiedIntegrationAuthRequest = /** @class */ (function (_super) {
|
|
112
115
|
__extends(GetUnifiedIntegrationAuthRequest, _super);
|
|
@@ -20,6 +20,7 @@ export * from "./createcrmdeal";
|
|
|
20
20
|
export * from "./createcrmevent";
|
|
21
21
|
export * from "./createcrmlead";
|
|
22
22
|
export * from "./createcrmpipeline";
|
|
23
|
+
export * from "./creategenaiprompt";
|
|
23
24
|
export * from "./createhrisemployee";
|
|
24
25
|
export * from "./createhrisgroup";
|
|
25
26
|
export * from "./createmartechlist";
|
|
@@ -105,6 +106,7 @@ export * from "./listcrmleads";
|
|
|
105
106
|
export * from "./listcrmpipelines";
|
|
106
107
|
export * from "./listenrichcompanies";
|
|
107
108
|
export * from "./listenrichpeople";
|
|
109
|
+
export * from "./listgenaimodels";
|
|
108
110
|
export * from "./listhrisemployees";
|
|
109
111
|
export * from "./listhrisgroups";
|
|
110
112
|
export * from "./listhrispayslips";
|
|
@@ -39,6 +39,7 @@ __exportStar(require("./createcrmdeal"), exports);
|
|
|
39
39
|
__exportStar(require("./createcrmevent"), exports);
|
|
40
40
|
__exportStar(require("./createcrmlead"), exports);
|
|
41
41
|
__exportStar(require("./createcrmpipeline"), exports);
|
|
42
|
+
__exportStar(require("./creategenaiprompt"), exports);
|
|
42
43
|
__exportStar(require("./createhrisemployee"), exports);
|
|
43
44
|
__exportStar(require("./createhrisgroup"), exports);
|
|
44
45
|
__exportStar(require("./createmartechlist"), exports);
|
|
@@ -124,6 +125,7 @@ __exportStar(require("./listcrmleads"), exports);
|
|
|
124
125
|
__exportStar(require("./listcrmpipelines"), exports);
|
|
125
126
|
__exportStar(require("./listenrichcompanies"), exports);
|
|
126
127
|
__exportStar(require("./listenrichpeople"), exports);
|
|
128
|
+
__exportStar(require("./listgenaimodels"), exports);
|
|
127
129
|
__exportStar(require("./listhrisemployees"), exports);
|
|
128
130
|
__exportStar(require("./listhrisgroups"), exports);
|
|
129
131
|
__exportStar(require("./listhrispayslips"), exports);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import * as shared from "../../../sdk/models/shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
4
|
+
export declare class ListGenaiModelsRequest extends SpeakeasyBase {
|
|
5
|
+
/**
|
|
6
|
+
* ID of the connection
|
|
7
|
+
*/
|
|
8
|
+
connectionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Comma-delimited fields to return
|
|
11
|
+
*/
|
|
12
|
+
fields?: string[];
|
|
13
|
+
limit?: number;
|
|
14
|
+
offset?: number;
|
|
15
|
+
order?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Query string to search. eg. email address or name
|
|
18
|
+
*/
|
|
19
|
+
query?: string;
|
|
20
|
+
sort?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Return only results whose updated date is equal or greater to this value
|
|
23
|
+
*/
|
|
24
|
+
updatedGte?: Date;
|
|
25
|
+
}
|
|
26
|
+
export declare class ListGenaiModelsResponse extends SpeakeasyBase {
|
|
27
|
+
/**
|
|
28
|
+
* HTTP response content type for this operation
|
|
29
|
+
*/
|
|
30
|
+
contentType: string;
|
|
31
|
+
/**
|
|
32
|
+
* Successful
|
|
33
|
+
*/
|
|
34
|
+
genaiModels?: shared.GenaiModel[];
|
|
35
|
+
/**
|
|
36
|
+
* HTTP response status code for this operation
|
|
37
|
+
*/
|
|
38
|
+
statusCode: number;
|
|
39
|
+
/**
|
|
40
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
41
|
+
*/
|
|
42
|
+
rawResponse: AxiosResponse;
|
|
43
|
+
}
|