@unified-api/typescript-sdk 1.0.44 → 1.0.46
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/issue.d.ts +0 -4
- package/dist/sdk/issue.js +0 -58
- package/dist/sdk/models/operations/index.d.ts +0 -1
- package/dist/sdk/models/operations/index.js +0 -1
- package/dist/sdk/models/shared/connection.d.ts +1 -2
- package/dist/sdk/models/shared/connection.js +1 -3
- package/dist/sdk/models/shared/index.d.ts +0 -1
- package/dist/sdk/models/shared/index.js +0 -1
- package/dist/sdk/models/shared/issue.d.ts +2 -6
- package/dist/sdk/models/shared/issue.js +7 -8
- package/dist/sdk/sdk.js +3 -3
- package/dist/sdk/unified.d.ts +0 -4
- package/dist/sdk/unified.js +0 -58
- package/docs/sdk/models/shared/connection.md +1 -1
- package/docs/sdk/models/shared/issue.md +2 -1
- package/package.json +1 -1
- package/dist/sdk/models/operations/listunifiedsupports.d.ts +0 -21
- package/dist/sdk/models/operations/listunifiedsupports.js +0 -79
- package/dist/sdk/models/shared/undefined.d.ts +0 -4
- package/dist/sdk/models/shared/undefined.js +0 -45
- package/docs/sdk/models/operations/listunifiedsupportsresponse.md +0 -11
- package/docs/sdk/models/shared/issuetype.md +0 -10
- package/docs/sdk/models/shared/undefined.md +0 -8
package/dist/sdk/issue.d.ts
CHANGED
|
@@ -8,8 +8,4 @@ export declare class Issue {
|
|
|
8
8
|
* List support issues
|
|
9
9
|
*/
|
|
10
10
|
listUnifiedIssues(req: operations.ListUnifiedIssuesRequest, config?: AxiosRequestConfig): Promise<operations.ListUnifiedIssuesResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* Get support info
|
|
13
|
-
*/
|
|
14
|
-
listUnifiedSupports(config?: AxiosRequestConfig): Promise<operations.ListUnifiedSupportsResponse>;
|
|
15
11
|
}
|
package/dist/sdk/issue.js
CHANGED
|
@@ -146,64 +146,6 @@ var Issue = /** @class */ (function () {
|
|
|
146
146
|
});
|
|
147
147
|
});
|
|
148
148
|
};
|
|
149
|
-
/**
|
|
150
|
-
* Get support info
|
|
151
|
-
*/
|
|
152
|
-
Issue.prototype.listUnifiedSupports = function (config) {
|
|
153
|
-
var _a, _b;
|
|
154
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
155
|
-
var baseURL, operationUrl, client, globalSecurity, properties, headers, httpRes, responseContentType, res, decodedRes;
|
|
156
|
-
return __generator(this, function (_c) {
|
|
157
|
-
switch (_c.label) {
|
|
158
|
-
case 0:
|
|
159
|
-
baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
|
|
160
|
-
operationUrl = baseURL.replace(/\/$/, "") + "/unified/support";
|
|
161
|
-
client = this.sdkConfiguration.defaultClient;
|
|
162
|
-
globalSecurity = this.sdkConfiguration.security;
|
|
163
|
-
if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
|
|
164
|
-
return [4 /*yield*/, globalSecurity()];
|
|
165
|
-
case 1:
|
|
166
|
-
globalSecurity = _c.sent();
|
|
167
|
-
_c.label = 2;
|
|
168
|
-
case 2:
|
|
169
|
-
if (!(globalSecurity instanceof utils.SpeakeasyBase)) {
|
|
170
|
-
globalSecurity = new shared.Security(globalSecurity);
|
|
171
|
-
}
|
|
172
|
-
properties = utils.parseSecurityProperties(globalSecurity);
|
|
173
|
-
headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
|
|
174
|
-
headers["Accept"] = "application/json";
|
|
175
|
-
headers["user-agent"] = this.sdkConfiguration.userAgent;
|
|
176
|
-
return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
|
|
177
|
-
case 3:
|
|
178
|
-
httpRes = _c.sent();
|
|
179
|
-
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 : "";
|
|
180
|
-
if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
|
|
181
|
-
throw new Error("status code not found in response: ".concat(httpRes));
|
|
182
|
-
}
|
|
183
|
-
res = new operations.ListUnifiedSupportsResponse({
|
|
184
|
-
statusCode: httpRes.status,
|
|
185
|
-
contentType: responseContentType,
|
|
186
|
-
rawResponse: httpRes,
|
|
187
|
-
});
|
|
188
|
-
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
189
|
-
switch (true) {
|
|
190
|
-
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
|
|
191
|
-
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
192
|
-
res.undefined = utils.objectToClass(JSON.parse(decodedRes), shared.Undefined);
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
196
|
-
}
|
|
197
|
-
break;
|
|
198
|
-
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
199
|
-
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
200
|
-
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
201
|
-
}
|
|
202
|
-
return [2 /*return*/, res];
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
});
|
|
206
|
-
};
|
|
207
149
|
return Issue;
|
|
208
150
|
}());
|
|
209
151
|
exports.Issue = Issue;
|
|
@@ -152,7 +152,6 @@ export * from "./listunifiedconnections";
|
|
|
152
152
|
export * from "./listunifiedintegrations";
|
|
153
153
|
export * from "./listunifiedintegrationworkspaces";
|
|
154
154
|
export * from "./listunifiedissues";
|
|
155
|
-
export * from "./listunifiedsupports";
|
|
156
155
|
export * from "./listunifiedwebhooks";
|
|
157
156
|
export * from "./patchaccountingaccount";
|
|
158
157
|
export * from "./patchaccountingcontact";
|
|
@@ -171,7 +171,6 @@ __exportStar(require("./listunifiedconnections"), exports);
|
|
|
171
171
|
__exportStar(require("./listunifiedintegrations"), exports);
|
|
172
172
|
__exportStar(require("./listunifiedintegrationworkspaces"), exports);
|
|
173
173
|
__exportStar(require("./listunifiedissues"), exports);
|
|
174
|
-
__exportStar(require("./listunifiedsupports"), exports);
|
|
175
174
|
__exportStar(require("./listunifiedwebhooks"), exports);
|
|
176
175
|
__exportStar(require("./patchaccountingaccount"), exports);
|
|
177
176
|
__exportStar(require("./patchaccountingcontact"), exports);
|
|
@@ -2,7 +2,6 @@ import { SpeakeasyBase } from "../../../internal/utils";
|
|
|
2
2
|
import { PropertyConnectionAuth } from "./propertyconnectionauth";
|
|
3
3
|
import { PropertyConnectionCategories } from "./propertyconnectioncategories";
|
|
4
4
|
import { PropertyConnectionPermissions } from "./propertyconnectionpermissions";
|
|
5
|
-
import { Undefined } from "./undefined";
|
|
6
5
|
/**
|
|
7
6
|
* A connection represents a specific authentication of an integration.
|
|
8
7
|
*/
|
|
@@ -17,7 +16,7 @@ export declare class Connection extends SpeakeasyBase {
|
|
|
17
16
|
*/
|
|
18
17
|
categories: PropertyConnectionCategories[];
|
|
19
18
|
createdAt?: Date;
|
|
20
|
-
cursorsCache?:
|
|
19
|
+
cursorsCache?: Record<string, any>[];
|
|
21
20
|
environment?: string;
|
|
22
21
|
externalXref?: string;
|
|
23
22
|
id?: string;
|
|
@@ -30,7 +30,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
30
30
|
exports.Connection = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
32
|
var propertyconnectionauth_1 = require("./propertyconnectionauth");
|
|
33
|
-
var undefined_1 = require("./undefined");
|
|
34
33
|
var class_transformer_1 = require("class-transformer");
|
|
35
34
|
/**
|
|
36
35
|
* A connection represents a specific authentication of an integration.
|
|
@@ -66,9 +65,8 @@ var Connection = /** @class */ (function (_super) {
|
|
|
66
65
|
__metadata("design:type", Date)
|
|
67
66
|
], Connection.prototype, "createdAt", void 0);
|
|
68
67
|
__decorate([
|
|
69
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
68
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
70
69
|
(0, class_transformer_1.Expose)({ name: "cursors_cache" }),
|
|
71
|
-
(0, class_transformer_1.Type)(function () { return undefined_1.Undefined; }),
|
|
72
70
|
__metadata("design:type", Array)
|
|
73
71
|
], Connection.prototype, "cursorsCache", void 0);
|
|
74
72
|
__decorate([
|
|
@@ -139,5 +139,4 @@ __exportStar(require("./uccall"), exports);
|
|
|
139
139
|
__exportStar(require("./uccontact"), exports);
|
|
140
140
|
__exportStar(require("./ucemail"), exports);
|
|
141
141
|
__exportStar(require("./uctelephone"), exports);
|
|
142
|
-
__exportStar(require("./undefined"), exports);
|
|
143
142
|
__exportStar(require("./webhook"), exports);
|
|
@@ -8,18 +8,14 @@ export declare enum IssueStatus {
|
|
|
8
8
|
Validating = "VALIDATING",
|
|
9
9
|
Rejected = "REJECTED"
|
|
10
10
|
}
|
|
11
|
-
export declare enum IssueType {
|
|
12
|
-
Bug = "BUG",
|
|
13
|
-
FeatureRequest = "FEATURE_REQUEST",
|
|
14
|
-
Inquiry = "INQUIRY"
|
|
15
|
-
}
|
|
16
11
|
export declare class Issue extends SpeakeasyBase {
|
|
17
12
|
createdAt?: string;
|
|
18
13
|
id?: string;
|
|
19
14
|
resolutionTime?: number;
|
|
20
15
|
status: IssueStatus;
|
|
16
|
+
ticketRef: string;
|
|
21
17
|
title: string;
|
|
22
|
-
type
|
|
18
|
+
type?: string[];
|
|
23
19
|
updatedAt?: string;
|
|
24
20
|
url?: string;
|
|
25
21
|
workspaceId: string;
|
|
@@ -27,7 +27,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
27
27
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.Issue = exports.
|
|
30
|
+
exports.Issue = exports.IssueStatus = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
32
|
var class_transformer_1 = require("class-transformer");
|
|
33
33
|
var IssueStatus;
|
|
@@ -40,12 +40,6 @@ var IssueStatus;
|
|
|
40
40
|
IssueStatus["Validating"] = "VALIDATING";
|
|
41
41
|
IssueStatus["Rejected"] = "REJECTED";
|
|
42
42
|
})(IssueStatus = exports.IssueStatus || (exports.IssueStatus = {}));
|
|
43
|
-
var IssueType;
|
|
44
|
-
(function (IssueType) {
|
|
45
|
-
IssueType["Bug"] = "BUG";
|
|
46
|
-
IssueType["FeatureRequest"] = "FEATURE_REQUEST";
|
|
47
|
-
IssueType["Inquiry"] = "INQUIRY";
|
|
48
|
-
})(IssueType = exports.IssueType || (exports.IssueType = {}));
|
|
49
43
|
var Issue = /** @class */ (function (_super) {
|
|
50
44
|
__extends(Issue, _super);
|
|
51
45
|
function Issue() {
|
|
@@ -71,6 +65,11 @@ var Issue = /** @class */ (function (_super) {
|
|
|
71
65
|
(0, class_transformer_1.Expose)({ name: "status" }),
|
|
72
66
|
__metadata("design:type", String)
|
|
73
67
|
], Issue.prototype, "status", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
70
|
+
(0, class_transformer_1.Expose)({ name: "ticket_ref" }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], Issue.prototype, "ticketRef", void 0);
|
|
74
73
|
__decorate([
|
|
75
74
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
76
75
|
(0, class_transformer_1.Expose)({ name: "title" }),
|
|
@@ -79,7 +78,7 @@ var Issue = /** @class */ (function (_super) {
|
|
|
79
78
|
__decorate([
|
|
80
79
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
81
80
|
(0, class_transformer_1.Expose)({ name: "type" }),
|
|
82
|
-
__metadata("design:type",
|
|
81
|
+
__metadata("design:type", Array)
|
|
83
82
|
], Issue.prototype, "type", void 0);
|
|
84
83
|
__decorate([
|
|
85
84
|
(0, utils_1.SpeakeasyMetadata)(),
|
package/dist/sdk/sdk.js
CHANGED
|
@@ -95,9 +95,9 @@ var SDKConfiguration = /** @class */ (function () {
|
|
|
95
95
|
function SDKConfiguration(init) {
|
|
96
96
|
this.language = "typescript";
|
|
97
97
|
this.openapiDocVersion = "1.0";
|
|
98
|
-
this.sdkVersion = "1.0.
|
|
99
|
-
this.genVersion = "2.
|
|
100
|
-
this.userAgent = "speakeasy-sdk/typescript 1.0.
|
|
98
|
+
this.sdkVersion = "1.0.46";
|
|
99
|
+
this.genVersion = "2.354.2";
|
|
100
|
+
this.userAgent = "speakeasy-sdk/typescript 1.0.46 2.354.2 1.0 @unified-api/typescript-sdk";
|
|
101
101
|
Object.assign(this, init);
|
|
102
102
|
}
|
|
103
103
|
return SDKConfiguration;
|
package/dist/sdk/unified.d.ts
CHANGED
|
@@ -58,10 +58,6 @@ export declare class Unified {
|
|
|
58
58
|
* List support issues
|
|
59
59
|
*/
|
|
60
60
|
listUnifiedIssues(req: operations.ListUnifiedIssuesRequest, config?: AxiosRequestConfig): Promise<operations.ListUnifiedIssuesResponse>;
|
|
61
|
-
/**
|
|
62
|
-
* Get support info
|
|
63
|
-
*/
|
|
64
|
-
listUnifiedSupports(config?: AxiosRequestConfig): Promise<operations.ListUnifiedSupportsResponse>;
|
|
65
61
|
/**
|
|
66
62
|
* Returns all registered webhooks
|
|
67
63
|
*/
|
package/dist/sdk/unified.js
CHANGED
|
@@ -815,64 +815,6 @@ var Unified = /** @class */ (function () {
|
|
|
815
815
|
});
|
|
816
816
|
});
|
|
817
817
|
};
|
|
818
|
-
/**
|
|
819
|
-
* Get support info
|
|
820
|
-
*/
|
|
821
|
-
Unified.prototype.listUnifiedSupports = function (config) {
|
|
822
|
-
var _a, _b;
|
|
823
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
824
|
-
var baseURL, operationUrl, client, globalSecurity, properties, headers, httpRes, responseContentType, res, decodedRes;
|
|
825
|
-
return __generator(this, function (_c) {
|
|
826
|
-
switch (_c.label) {
|
|
827
|
-
case 0:
|
|
828
|
-
baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
|
|
829
|
-
operationUrl = baseURL.replace(/\/$/, "") + "/unified/support";
|
|
830
|
-
client = this.sdkConfiguration.defaultClient;
|
|
831
|
-
globalSecurity = this.sdkConfiguration.security;
|
|
832
|
-
if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
|
|
833
|
-
return [4 /*yield*/, globalSecurity()];
|
|
834
|
-
case 1:
|
|
835
|
-
globalSecurity = _c.sent();
|
|
836
|
-
_c.label = 2;
|
|
837
|
-
case 2:
|
|
838
|
-
if (!(globalSecurity instanceof utils.SpeakeasyBase)) {
|
|
839
|
-
globalSecurity = new shared.Security(globalSecurity);
|
|
840
|
-
}
|
|
841
|
-
properties = utils.parseSecurityProperties(globalSecurity);
|
|
842
|
-
headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
|
|
843
|
-
headers["Accept"] = "application/json";
|
|
844
|
-
headers["user-agent"] = this.sdkConfiguration.userAgent;
|
|
845
|
-
return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
|
|
846
|
-
case 3:
|
|
847
|
-
httpRes = _c.sent();
|
|
848
|
-
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 : "";
|
|
849
|
-
if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
|
|
850
|
-
throw new Error("status code not found in response: ".concat(httpRes));
|
|
851
|
-
}
|
|
852
|
-
res = new operations.ListUnifiedSupportsResponse({
|
|
853
|
-
statusCode: httpRes.status,
|
|
854
|
-
contentType: responseContentType,
|
|
855
|
-
rawResponse: httpRes,
|
|
856
|
-
});
|
|
857
|
-
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
858
|
-
switch (true) {
|
|
859
|
-
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
|
|
860
|
-
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
861
|
-
res.undefined = utils.objectToClass(JSON.parse(decodedRes), shared.Undefined);
|
|
862
|
-
}
|
|
863
|
-
else {
|
|
864
|
-
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
865
|
-
}
|
|
866
|
-
break;
|
|
867
|
-
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
868
|
-
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
869
|
-
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
870
|
-
}
|
|
871
|
-
return [2 /*return*/, res];
|
|
872
|
-
}
|
|
873
|
-
});
|
|
874
|
-
});
|
|
875
|
-
};
|
|
876
818
|
/**
|
|
877
819
|
* Returns all registered webhooks
|
|
878
820
|
*/
|
|
@@ -11,7 +11,7 @@ A connection represents a specific authentication of an integration.
|
|
|
11
11
|
| `authAwsArn` | *string* | :heavy_minus_sign: | N/A |
|
|
12
12
|
| `categories` | [shared.PropertyConnectionCategories](../../../sdk/models/shared/propertyconnectioncategories.md)[] | :heavy_check_mark: | The Integration categories that this connection supports |
|
|
13
13
|
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
14
|
-
| `cursorsCache` | [
|
|
14
|
+
| `cursorsCache` | Record<string, *any*>[] | :heavy_minus_sign: | N/A |
|
|
15
15
|
| `environment` | *string* | :heavy_minus_sign: | N/A |
|
|
16
16
|
| `externalXref` | *string* | :heavy_minus_sign: | N/A |
|
|
17
17
|
| `id` | *string* | :heavy_minus_sign: | N/A |
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
| `id` | *string* | :heavy_minus_sign: | N/A |
|
|
10
10
|
| `resolutionTime` | *number* | :heavy_minus_sign: | N/A |
|
|
11
11
|
| `status` | [shared.IssueStatus](../../../sdk/models/shared/issuestatus.md) | :heavy_check_mark: | N/A |
|
|
12
|
+
| `ticketRef` | *string* | :heavy_check_mark: | N/A |
|
|
12
13
|
| `title` | *string* | :heavy_check_mark: | N/A |
|
|
13
|
-
| `type` | [
|
|
14
|
+
| `type` | *string*[] | :heavy_minus_sign: | N/A |
|
|
14
15
|
| `updatedAt` | *string* | :heavy_minus_sign: | N/A |
|
|
15
16
|
| `url` | *string* | :heavy_minus_sign: | N/A |
|
|
16
17
|
| `workspaceId` | *string* | :heavy_check_mark: | N/A |
|
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
-
import * as shared from "../../../sdk/models/shared";
|
|
3
|
-
import { AxiosResponse } from "axios";
|
|
4
|
-
export declare class ListUnifiedSupportsResponse extends SpeakeasyBase {
|
|
5
|
-
/**
|
|
6
|
-
* HTTP response content type for this operation
|
|
7
|
-
*/
|
|
8
|
-
contentType: string;
|
|
9
|
-
/**
|
|
10
|
-
* HTTP response status code for this operation
|
|
11
|
-
*/
|
|
12
|
-
statusCode: number;
|
|
13
|
-
/**
|
|
14
|
-
* Raw HTTP response; suitable for custom response parsing
|
|
15
|
-
*/
|
|
16
|
-
rawResponse: AxiosResponse;
|
|
17
|
-
/**
|
|
18
|
-
* Successful
|
|
19
|
-
*/
|
|
20
|
-
undefined?: shared.Undefined;
|
|
21
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
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.ListUnifiedSupportsResponse = void 0;
|
|
54
|
-
var utils_1 = require("../../../internal/utils");
|
|
55
|
-
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
-
var ListUnifiedSupportsResponse = /** @class */ (function (_super) {
|
|
57
|
-
__extends(ListUnifiedSupportsResponse, _super);
|
|
58
|
-
function ListUnifiedSupportsResponse() {
|
|
59
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
-
}
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, utils_1.SpeakeasyMetadata)(),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], ListUnifiedSupportsResponse.prototype, "contentType", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, utils_1.SpeakeasyMetadata)(),
|
|
67
|
-
__metadata("design:type", Number)
|
|
68
|
-
], ListUnifiedSupportsResponse.prototype, "statusCode", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, utils_1.SpeakeasyMetadata)(),
|
|
71
|
-
__metadata("design:type", Object)
|
|
72
|
-
], ListUnifiedSupportsResponse.prototype, "rawResponse", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, utils_1.SpeakeasyMetadata)(),
|
|
75
|
-
__metadata("design:type", shared.Undefined)
|
|
76
|
-
], ListUnifiedSupportsResponse.prototype, "undefined", void 0);
|
|
77
|
-
return ListUnifiedSupportsResponse;
|
|
78
|
-
}(utils_1.SpeakeasyBase));
|
|
79
|
-
exports.ListUnifiedSupportsResponse = ListUnifiedSupportsResponse;
|
|
@@ -1,45 +0,0 @@
|
|
|
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 __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
21
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23
|
-
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;
|
|
24
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
-
};
|
|
26
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
27
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.Undefined = void 0;
|
|
31
|
-
var utils_1 = require("../../../internal/utils");
|
|
32
|
-
var class_transformer_1 = require("class-transformer");
|
|
33
|
-
var Undefined = /** @class */ (function (_super) {
|
|
34
|
-
__extends(Undefined, _super);
|
|
35
|
-
function Undefined() {
|
|
36
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
37
|
-
}
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, utils_1.SpeakeasyMetadata)(),
|
|
40
|
-
(0, class_transformer_1.Expose)({ name: "support_url" }),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], Undefined.prototype, "supportUrl", void 0);
|
|
43
|
-
return Undefined;
|
|
44
|
-
}(utils_1.SpeakeasyBase));
|
|
45
|
-
exports.Undefined = Undefined;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# ListUnifiedSupportsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Fields
|
|
5
|
-
|
|
6
|
-
| Field | Type | Required | Description |
|
|
7
|
-
| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
|
|
8
|
-
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
-
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
10
|
-
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
11
|
-
| `undefined` | [shared.Undefined](../../../sdk/models/shared/undefined.md) | :heavy_minus_sign: | Successful |
|