@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.
- package/dist/sdk/channel.d.ts +15 -0
- package/dist/sdk/channel.js +213 -0
- package/dist/sdk/kms.d.ts +55 -0
- package/dist/sdk/kms.js +907 -0
- package/dist/sdk/message.d.ts +31 -0
- package/dist/sdk/message.js +505 -0
- package/dist/sdk/messaging.d.ts +39 -0
- package/dist/sdk/messaging.js +631 -0
- package/dist/sdk/models/operations/createkmspage.d.ts +28 -0
- package/dist/sdk/models/operations/createkmspage.js +95 -0
- package/dist/sdk/models/operations/createkmsspace.d.ts +28 -0
- package/dist/sdk/models/operations/createkmsspace.js +95 -0
- package/dist/sdk/models/operations/createmessagingmessage.d.ts +28 -0
- package/dist/sdk/models/operations/createmessagingmessage.js +95 -0
- package/dist/sdk/models/operations/getkmspage.d.ts +35 -0
- package/dist/sdk/models/operations/getkmspage.js +99 -0
- package/dist/sdk/models/operations/getkmsspace.d.ts +35 -0
- package/dist/sdk/models/operations/getkmsspace.js +99 -0
- package/dist/sdk/models/operations/getmessagingchannel.d.ts +35 -0
- package/dist/sdk/models/operations/getmessagingchannel.js +99 -0
- package/dist/sdk/models/operations/getmessagingmessage.d.ts +35 -0
- package/dist/sdk/models/operations/getmessagingmessage.js +99 -0
- package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +10 -1
- package/dist/sdk/models/operations/getunifiedintegrationauth.js +9 -0
- package/dist/sdk/models/operations/index.d.ts +20 -0
- package/dist/sdk/models/operations/index.js +20 -0
- package/dist/sdk/models/operations/listkmspages.d.ts +45 -0
- package/dist/sdk/models/operations/listkmspages.js +127 -0
- package/dist/sdk/models/operations/listkmsspaces.d.ts +44 -0
- package/dist/sdk/models/operations/listkmsspaces.js +123 -0
- package/dist/sdk/models/operations/listmessagingchannels.d.ts +43 -0
- package/dist/sdk/models/operations/listmessagingchannels.js +119 -0
- package/dist/sdk/models/operations/listmessagingmessages.d.ts +45 -0
- package/dist/sdk/models/operations/listmessagingmessages.js +127 -0
- package/dist/sdk/models/operations/listunifiedconnections.d.ts +3 -1
- package/dist/sdk/models/operations/listunifiedconnections.js +2 -0
- package/dist/sdk/models/operations/listunifiedintegrations.d.ts +3 -1
- package/dist/sdk/models/operations/listunifiedintegrations.js +2 -0
- package/dist/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +3 -1
- package/dist/sdk/models/operations/listunifiedintegrationworkspaces.js +2 -0
- package/dist/sdk/models/operations/patchkmspage.d.ts +32 -0
- package/dist/sdk/models/operations/patchkmspage.js +99 -0
- package/dist/sdk/models/operations/patchkmsspace.d.ts +32 -0
- package/dist/sdk/models/operations/patchkmsspace.js +99 -0
- package/dist/sdk/models/operations/patchmessagingmessage.d.ts +32 -0
- package/dist/sdk/models/operations/patchmessagingmessage.js +99 -0
- package/dist/sdk/models/operations/removekmspage.d.ts +30 -0
- package/dist/sdk/models/operations/removekmspage.js +71 -0
- package/dist/sdk/models/operations/removekmsspace.d.ts +30 -0
- package/dist/sdk/models/operations/removekmsspace.js +71 -0
- package/dist/sdk/models/operations/removemessagingmessage.d.ts +30 -0
- package/dist/sdk/models/operations/removemessagingmessage.js +71 -0
- package/dist/sdk/models/operations/updatekmspage.d.ts +32 -0
- package/dist/sdk/models/operations/updatekmspage.js +99 -0
- package/dist/sdk/models/operations/updatekmsspace.d.ts +32 -0
- package/dist/sdk/models/operations/updatekmsspace.js +99 -0
- package/dist/sdk/models/operations/updatemessagingmessage.d.ts +32 -0
- package/dist/sdk/models/operations/updatemessagingmessage.js +99 -0
- package/dist/sdk/models/shared/atsactivity.d.ts +3 -0
- package/dist/sdk/models/shared/index.d.ts +6 -0
- package/dist/sdk/models/shared/index.js +6 -0
- package/dist/sdk/models/shared/integrationsupport.d.ts +3 -0
- package/dist/sdk/models/shared/integrationsupport.js +15 -0
- package/dist/sdk/models/shared/kmspage.d.ts +19 -0
- package/dist/sdk/models/shared/kmspage.js +109 -0
- package/dist/sdk/models/shared/kmsspace.d.ts +12 -0
- package/dist/sdk/models/shared/kmsspace.js +93 -0
- package/dist/sdk/models/shared/messagingchannel.d.ts +16 -0
- package/dist/sdk/models/shared/messagingchannel.js +106 -0
- package/dist/sdk/models/shared/messagingmember.d.ts +6 -0
- package/dist/sdk/models/shared/messagingmember.js +55 -0
- package/dist/sdk/models/shared/messagingmessage.d.ts +18 -0
- package/dist/sdk/models/shared/messagingmessage.js +111 -0
- package/dist/sdk/models/shared/propertyconnectioncategories.d.ts +3 -1
- package/dist/sdk/models/shared/propertyconnectioncategories.js +2 -0
- package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +10 -1
- package/dist/sdk/models/shared/propertyconnectionpermissions.js +9 -0
- package/dist/sdk/models/shared/propertyintegrationcategories.d.ts +3 -1
- package/dist/sdk/models/shared/propertyintegrationcategories.js +2 -0
- package/dist/sdk/models/shared/propertymessagingmessageauthormember.d.ts +6 -0
- package/dist/sdk/models/shared/propertymessagingmessageauthormember.js +55 -0
- package/dist/sdk/models/shared/webhook.d.ts +5 -1
- package/dist/sdk/models/shared/webhook.js +4 -0
- package/dist/sdk/page.d.ts +31 -0
- package/dist/sdk/page.js +505 -0
- package/dist/sdk/sdk.d.ts +12 -0
- package/dist/sdk/sdk.js +14 -2
- package/dist/sdk/space.d.ts +31 -0
- package/dist/sdk/space.js +505 -0
- package/docs/sdk/models/operations/categories.md +3 -1
- package/docs/sdk/models/operations/createkmspagerequest.md +9 -0
- package/docs/sdk/models/operations/createkmspageresponse.md +11 -0
- package/docs/sdk/models/operations/createkmsspacerequest.md +9 -0
- package/docs/sdk/models/operations/createkmsspaceresponse.md +11 -0
- package/docs/sdk/models/operations/createmessagingmessagerequest.md +9 -0
- package/docs/sdk/models/operations/createmessagingmessageresponse.md +11 -0
- package/docs/sdk/models/operations/getkmspagerequest.md +10 -0
- package/docs/sdk/models/operations/getkmspageresponse.md +11 -0
- package/docs/sdk/models/operations/getkmsspacerequest.md +10 -0
- package/docs/sdk/models/operations/getkmsspaceresponse.md +11 -0
- package/docs/sdk/models/operations/getmessagingchannelrequest.md +10 -0
- package/docs/sdk/models/operations/getmessagingchannelresponse.md +11 -0
- package/docs/sdk/models/operations/getmessagingmessagerequest.md +10 -0
- package/docs/sdk/models/operations/getmessagingmessageresponse.md +11 -0
- package/docs/sdk/models/operations/listkmspagesrequest.md +17 -0
- package/docs/sdk/models/operations/listkmspagesresponse.md +11 -0
- package/docs/sdk/models/operations/listkmsspacesrequest.md +16 -0
- package/docs/sdk/models/operations/listkmsspacesresponse.md +11 -0
- package/docs/sdk/models/operations/listmessagingchannelsrequest.md +15 -0
- package/docs/sdk/models/operations/listmessagingchannelsresponse.md +11 -0
- package/docs/sdk/models/operations/listmessagingmessagesrequest.md +17 -0
- package/docs/sdk/models/operations/listmessagingmessagesresponse.md +11 -0
- package/docs/sdk/models/operations/listunifiedintegrationsqueryparamcategories.md +3 -1
- package/docs/sdk/models/operations/patchkmspagerequest.md +10 -0
- package/docs/sdk/models/operations/patchkmspageresponse.md +11 -0
- package/docs/sdk/models/operations/patchkmsspacerequest.md +10 -0
- package/docs/sdk/models/operations/patchkmsspaceresponse.md +11 -0
- package/docs/sdk/models/operations/patchmessagingmessagerequest.md +10 -0
- package/docs/sdk/models/operations/patchmessagingmessageresponse.md +11 -0
- package/docs/sdk/models/operations/queryparamcategories.md +3 -1
- package/docs/sdk/models/operations/removekmspagerequest.md +9 -0
- package/docs/sdk/models/operations/removekmspageresponse.md +11 -0
- package/docs/sdk/models/operations/removekmsspacerequest.md +9 -0
- package/docs/sdk/models/operations/removekmsspaceresponse.md +11 -0
- package/docs/sdk/models/operations/removemessagingmessagerequest.md +9 -0
- package/docs/sdk/models/operations/removemessagingmessageresponse.md +11 -0
- package/docs/sdk/models/operations/scopes.md +10 -1
- package/docs/sdk/models/operations/updatekmspagerequest.md +10 -0
- package/docs/sdk/models/operations/updatekmspageresponse.md +11 -0
- package/docs/sdk/models/operations/updatekmsspacerequest.md +10 -0
- package/docs/sdk/models/operations/updatekmsspaceresponse.md +11 -0
- package/docs/sdk/models/operations/updatemessagingmessagerequest.md +10 -0
- package/docs/sdk/models/operations/updatemessagingmessageresponse.md +11 -0
- package/docs/sdk/models/shared/atsactivity.md +1 -1
- package/docs/sdk/models/shared/integrationsupport.md +3 -0
- package/docs/sdk/models/shared/kmspage.md +18 -0
- package/docs/sdk/models/shared/kmspagetype.md +10 -0
- package/docs/sdk/models/shared/kmsspace.md +16 -0
- package/docs/sdk/models/shared/messagingchannel.md +19 -0
- package/docs/sdk/models/shared/messagingmember.md +10 -0
- package/docs/sdk/models/shared/messagingmessage.md +20 -0
- package/docs/sdk/models/shared/objecttype.md +5 -1
- package/docs/sdk/models/shared/propertyconnectioncategories.md +3 -1
- package/docs/sdk/models/shared/propertyconnectionpermissions.md +10 -1
- package/docs/sdk/models/shared/propertyintegrationcategories.md +3 -1
- package/docs/sdk/models/shared/propertymessagingmessageauthormember.md +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
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.ListKmsSpacesResponse = exports.ListKmsSpacesRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var ListKmsSpacesRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(ListKmsSpacesRequest, _super);
|
|
58
|
+
function ListKmsSpacesRequest() {
|
|
59
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
+
}
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], ListKmsSpacesRequest.prototype, "connectionId", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
|
|
67
|
+
__metadata("design:type", Array)
|
|
68
|
+
], ListKmsSpacesRequest.prototype, "fields", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=limit" }),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], ListKmsSpacesRequest.prototype, "limit", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=offset" }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], ListKmsSpacesRequest.prototype, "offset", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=order" }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], ListKmsSpacesRequest.prototype, "order", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=parent_id" }),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], ListKmsSpacesRequest.prototype, "parentId", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=query" }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], ListKmsSpacesRequest.prototype, "query", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=sort" }),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], ListKmsSpacesRequest.prototype, "sort", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=updated_gte" }),
|
|
95
|
+
__metadata("design:type", Date)
|
|
96
|
+
], ListKmsSpacesRequest.prototype, "updatedGte", void 0);
|
|
97
|
+
return ListKmsSpacesRequest;
|
|
98
|
+
}(utils_1.SpeakeasyBase));
|
|
99
|
+
exports.ListKmsSpacesRequest = ListKmsSpacesRequest;
|
|
100
|
+
var ListKmsSpacesResponse = /** @class */ (function (_super) {
|
|
101
|
+
__extends(ListKmsSpacesResponse, _super);
|
|
102
|
+
function ListKmsSpacesResponse() {
|
|
103
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
104
|
+
}
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], ListKmsSpacesResponse.prototype, "contentType", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: shared.KmsSpace }),
|
|
111
|
+
__metadata("design:type", Array)
|
|
112
|
+
], ListKmsSpacesResponse.prototype, "kmsSpaces", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
115
|
+
__metadata("design:type", Number)
|
|
116
|
+
], ListKmsSpacesResponse.prototype, "statusCode", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
119
|
+
__metadata("design:type", Object)
|
|
120
|
+
], ListKmsSpacesResponse.prototype, "rawResponse", void 0);
|
|
121
|
+
return ListKmsSpacesResponse;
|
|
122
|
+
}(utils_1.SpeakeasyBase));
|
|
123
|
+
exports.ListKmsSpacesResponse = ListKmsSpacesResponse;
|
|
@@ -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 ListMessagingChannelsRequest 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 ListMessagingChannelsResponse extends SpeakeasyBase {
|
|
27
|
+
/**
|
|
28
|
+
* HTTP response content type for this operation
|
|
29
|
+
*/
|
|
30
|
+
contentType: string;
|
|
31
|
+
/**
|
|
32
|
+
* Successful
|
|
33
|
+
*/
|
|
34
|
+
messagingChannels?: shared.MessagingChannel[];
|
|
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
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
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.ListMessagingChannelsResponse = exports.ListMessagingChannelsRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var ListMessagingChannelsRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(ListMessagingChannelsRequest, _super);
|
|
58
|
+
function ListMessagingChannelsRequest() {
|
|
59
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
+
}
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], ListMessagingChannelsRequest.prototype, "connectionId", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
|
|
67
|
+
__metadata("design:type", Array)
|
|
68
|
+
], ListMessagingChannelsRequest.prototype, "fields", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=limit" }),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], ListMessagingChannelsRequest.prototype, "limit", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=offset" }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], ListMessagingChannelsRequest.prototype, "offset", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=order" }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], ListMessagingChannelsRequest.prototype, "order", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=query" }),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], ListMessagingChannelsRequest.prototype, "query", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=sort" }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], ListMessagingChannelsRequest.prototype, "sort", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=updated_gte" }),
|
|
91
|
+
__metadata("design:type", Date)
|
|
92
|
+
], ListMessagingChannelsRequest.prototype, "updatedGte", void 0);
|
|
93
|
+
return ListMessagingChannelsRequest;
|
|
94
|
+
}(utils_1.SpeakeasyBase));
|
|
95
|
+
exports.ListMessagingChannelsRequest = ListMessagingChannelsRequest;
|
|
96
|
+
var ListMessagingChannelsResponse = /** @class */ (function (_super) {
|
|
97
|
+
__extends(ListMessagingChannelsResponse, _super);
|
|
98
|
+
function ListMessagingChannelsResponse() {
|
|
99
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
100
|
+
}
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], ListMessagingChannelsResponse.prototype, "contentType", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: shared.MessagingChannel }),
|
|
107
|
+
__metadata("design:type", Array)
|
|
108
|
+
], ListMessagingChannelsResponse.prototype, "messagingChannels", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
111
|
+
__metadata("design:type", Number)
|
|
112
|
+
], ListMessagingChannelsResponse.prototype, "statusCode", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
115
|
+
__metadata("design:type", Object)
|
|
116
|
+
], ListMessagingChannelsResponse.prototype, "rawResponse", void 0);
|
|
117
|
+
return ListMessagingChannelsResponse;
|
|
118
|
+
}(utils_1.SpeakeasyBase));
|
|
119
|
+
exports.ListMessagingChannelsResponse = ListMessagingChannelsResponse;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import * as shared from "../../../sdk/models/shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
4
|
+
export declare class ListMessagingMessagesRequest extends SpeakeasyBase {
|
|
5
|
+
channelId?: string;
|
|
6
|
+
/**
|
|
7
|
+
* ID of the connection
|
|
8
|
+
*/
|
|
9
|
+
connectionId: string;
|
|
10
|
+
/**
|
|
11
|
+
* Comma-delimited fields to return
|
|
12
|
+
*/
|
|
13
|
+
fields?: string[];
|
|
14
|
+
limit?: number;
|
|
15
|
+
offset?: number;
|
|
16
|
+
order?: string;
|
|
17
|
+
parentId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Query string to search. eg. email address or name
|
|
20
|
+
*/
|
|
21
|
+
query?: string;
|
|
22
|
+
sort?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Return only results whose updated date is equal or greater to this value
|
|
25
|
+
*/
|
|
26
|
+
updatedGte?: Date;
|
|
27
|
+
}
|
|
28
|
+
export declare class ListMessagingMessagesResponse extends SpeakeasyBase {
|
|
29
|
+
/**
|
|
30
|
+
* HTTP response content type for this operation
|
|
31
|
+
*/
|
|
32
|
+
contentType: string;
|
|
33
|
+
/**
|
|
34
|
+
* Successful
|
|
35
|
+
*/
|
|
36
|
+
messagingMessages?: shared.MessagingMessage[];
|
|
37
|
+
/**
|
|
38
|
+
* HTTP response status code for this operation
|
|
39
|
+
*/
|
|
40
|
+
statusCode: number;
|
|
41
|
+
/**
|
|
42
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
43
|
+
*/
|
|
44
|
+
rawResponse: AxiosResponse;
|
|
45
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
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.ListMessagingMessagesResponse = exports.ListMessagingMessagesRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var ListMessagingMessagesRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(ListMessagingMessagesRequest, _super);
|
|
58
|
+
function ListMessagingMessagesRequest() {
|
|
59
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
+
}
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=channel_id" }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], ListMessagingMessagesRequest.prototype, "channelId", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], ListMessagingMessagesRequest.prototype, "connectionId", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
|
|
71
|
+
__metadata("design:type", Array)
|
|
72
|
+
], ListMessagingMessagesRequest.prototype, "fields", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=limit" }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], ListMessagingMessagesRequest.prototype, "limit", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=offset" }),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], ListMessagingMessagesRequest.prototype, "offset", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=order" }),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], ListMessagingMessagesRequest.prototype, "order", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=parent_id" }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], ListMessagingMessagesRequest.prototype, "parentId", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=query" }),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], ListMessagingMessagesRequest.prototype, "query", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=sort" }),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], ListMessagingMessagesRequest.prototype, "sort", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=updated_gte" }),
|
|
99
|
+
__metadata("design:type", Date)
|
|
100
|
+
], ListMessagingMessagesRequest.prototype, "updatedGte", void 0);
|
|
101
|
+
return ListMessagingMessagesRequest;
|
|
102
|
+
}(utils_1.SpeakeasyBase));
|
|
103
|
+
exports.ListMessagingMessagesRequest = ListMessagingMessagesRequest;
|
|
104
|
+
var ListMessagingMessagesResponse = /** @class */ (function (_super) {
|
|
105
|
+
__extends(ListMessagingMessagesResponse, _super);
|
|
106
|
+
function ListMessagingMessagesResponse() {
|
|
107
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
108
|
+
}
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
111
|
+
__metadata("design:type", String)
|
|
112
|
+
], ListMessagingMessagesResponse.prototype, "contentType", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: shared.MessagingMessage }),
|
|
115
|
+
__metadata("design:type", Array)
|
|
116
|
+
], ListMessagingMessagesResponse.prototype, "messagingMessages", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
119
|
+
__metadata("design:type", Number)
|
|
120
|
+
], ListMessagingMessagesResponse.prototype, "statusCode", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
123
|
+
__metadata("design:type", Object)
|
|
124
|
+
], ListMessagingMessagesResponse.prototype, "rawResponse", void 0);
|
|
125
|
+
return ListMessagingMessagesResponse;
|
|
126
|
+
}(utils_1.SpeakeasyBase));
|
|
127
|
+
exports.ListMessagingMessagesResponse = ListMessagingMessagesResponse;
|
|
@@ -15,7 +15,9 @@ export declare enum Categories {
|
|
|
15
15
|
Storage = "storage",
|
|
16
16
|
Commerce = "commerce",
|
|
17
17
|
Payment = "payment",
|
|
18
|
-
Genai = "genai"
|
|
18
|
+
Genai = "genai",
|
|
19
|
+
Messaging = "messaging",
|
|
20
|
+
Kms = "kms"
|
|
19
21
|
}
|
|
20
22
|
export declare class ListUnifiedConnectionsRequest extends SpeakeasyBase {
|
|
21
23
|
/**
|
|
@@ -69,6 +69,8 @@ var Categories;
|
|
|
69
69
|
Categories["Commerce"] = "commerce";
|
|
70
70
|
Categories["Payment"] = "payment";
|
|
71
71
|
Categories["Genai"] = "genai";
|
|
72
|
+
Categories["Messaging"] = "messaging";
|
|
73
|
+
Categories["Kms"] = "kms";
|
|
72
74
|
})(Categories = exports.Categories || (exports.Categories = {}));
|
|
73
75
|
var ListUnifiedConnectionsRequest = /** @class */ (function (_super) {
|
|
74
76
|
__extends(ListUnifiedConnectionsRequest, _super);
|
|
@@ -15,7 +15,9 @@ export declare enum ListUnifiedIntegrationsQueryParamCategories {
|
|
|
15
15
|
Storage = "storage",
|
|
16
16
|
Commerce = "commerce",
|
|
17
17
|
Payment = "payment",
|
|
18
|
-
Genai = "genai"
|
|
18
|
+
Genai = "genai",
|
|
19
|
+
Messaging = "messaging",
|
|
20
|
+
Kms = "kms"
|
|
19
21
|
}
|
|
20
22
|
export declare class ListUnifiedIntegrationsRequest extends SpeakeasyBase {
|
|
21
23
|
/**
|
|
@@ -69,6 +69,8 @@ var ListUnifiedIntegrationsQueryParamCategories;
|
|
|
69
69
|
ListUnifiedIntegrationsQueryParamCategories["Commerce"] = "commerce";
|
|
70
70
|
ListUnifiedIntegrationsQueryParamCategories["Payment"] = "payment";
|
|
71
71
|
ListUnifiedIntegrationsQueryParamCategories["Genai"] = "genai";
|
|
72
|
+
ListUnifiedIntegrationsQueryParamCategories["Messaging"] = "messaging";
|
|
73
|
+
ListUnifiedIntegrationsQueryParamCategories["Kms"] = "kms";
|
|
72
74
|
})(ListUnifiedIntegrationsQueryParamCategories = exports.ListUnifiedIntegrationsQueryParamCategories || (exports.ListUnifiedIntegrationsQueryParamCategories = {}));
|
|
73
75
|
var ListUnifiedIntegrationsRequest = /** @class */ (function (_super) {
|
|
74
76
|
__extends(ListUnifiedIntegrationsRequest, _super);
|
|
@@ -15,7 +15,9 @@ export declare enum QueryParamCategories {
|
|
|
15
15
|
Storage = "storage",
|
|
16
16
|
Commerce = "commerce",
|
|
17
17
|
Payment = "payment",
|
|
18
|
-
Genai = "genai"
|
|
18
|
+
Genai = "genai",
|
|
19
|
+
Messaging = "messaging",
|
|
20
|
+
Kms = "kms"
|
|
19
21
|
}
|
|
20
22
|
export declare class ListUnifiedIntegrationWorkspacesRequest extends SpeakeasyBase {
|
|
21
23
|
/**
|
|
@@ -69,6 +69,8 @@ var QueryParamCategories;
|
|
|
69
69
|
QueryParamCategories["Commerce"] = "commerce";
|
|
70
70
|
QueryParamCategories["Payment"] = "payment";
|
|
71
71
|
QueryParamCategories["Genai"] = "genai";
|
|
72
|
+
QueryParamCategories["Messaging"] = "messaging";
|
|
73
|
+
QueryParamCategories["Kms"] = "kms";
|
|
72
74
|
})(QueryParamCategories = exports.QueryParamCategories || (exports.QueryParamCategories = {}));
|
|
73
75
|
var ListUnifiedIntegrationWorkspacesRequest = /** @class */ (function (_super) {
|
|
74
76
|
__extends(ListUnifiedIntegrationWorkspacesRequest, _super);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import * as shared from "../../../sdk/models/shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
4
|
+
export declare class PatchKmsPageRequest extends SpeakeasyBase {
|
|
5
|
+
kmsPage?: shared.KmsPage;
|
|
6
|
+
/**
|
|
7
|
+
* ID of the connection
|
|
8
|
+
*/
|
|
9
|
+
connectionId: string;
|
|
10
|
+
/**
|
|
11
|
+
* ID of the Page
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
export declare class PatchKmsPageResponse extends SpeakeasyBase {
|
|
16
|
+
/**
|
|
17
|
+
* HTTP response content type for this operation
|
|
18
|
+
*/
|
|
19
|
+
contentType: string;
|
|
20
|
+
/**
|
|
21
|
+
* Successful
|
|
22
|
+
*/
|
|
23
|
+
kmsPage?: shared.KmsPage;
|
|
24
|
+
/**
|
|
25
|
+
* HTTP response status code for this operation
|
|
26
|
+
*/
|
|
27
|
+
statusCode: number;
|
|
28
|
+
/**
|
|
29
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
30
|
+
*/
|
|
31
|
+
rawResponse: AxiosResponse;
|
|
32
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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.PatchKmsPageResponse = exports.PatchKmsPageRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var PatchKmsPageRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(PatchKmsPageRequest, _super);
|
|
58
|
+
function PatchKmsPageRequest() {
|
|
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.KmsPage)
|
|
64
|
+
], PatchKmsPageRequest.prototype, "kmsPage", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], PatchKmsPageRequest.prototype, "connectionId", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], PatchKmsPageRequest.prototype, "id", void 0);
|
|
73
|
+
return PatchKmsPageRequest;
|
|
74
|
+
}(utils_1.SpeakeasyBase));
|
|
75
|
+
exports.PatchKmsPageRequest = PatchKmsPageRequest;
|
|
76
|
+
var PatchKmsPageResponse = /** @class */ (function (_super) {
|
|
77
|
+
__extends(PatchKmsPageResponse, _super);
|
|
78
|
+
function PatchKmsPageResponse() {
|
|
79
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
80
|
+
}
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], PatchKmsPageResponse.prototype, "contentType", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
|
+
__metadata("design:type", shared.KmsPage)
|
|
88
|
+
], PatchKmsPageResponse.prototype, "kmsPage", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
|
+
__metadata("design:type", Number)
|
|
92
|
+
], PatchKmsPageResponse.prototype, "statusCode", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
95
|
+
__metadata("design:type", Object)
|
|
96
|
+
], PatchKmsPageResponse.prototype, "rawResponse", void 0);
|
|
97
|
+
return PatchKmsPageResponse;
|
|
98
|
+
}(utils_1.SpeakeasyBase));
|
|
99
|
+
exports.PatchKmsPageResponse = PatchKmsPageResponse;
|