-
Notifications
You must be signed in to change notification settings - Fork 5
/
dtos.js
179 lines (178 loc) · 5.66 KB
/
dtos.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/* Options:
Date: 2017-03-14 19:21:49
Version: 4.00
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: http://chat.servicestack.net
//GlobalNamespace:
//MakePropertiesOptional: True
//AddServiceStackTypes: True
//AddResponseStatus: False
//AddImplicitVersion:
//AddDescriptionAsComments: True
//IncludeTypes:
//ExcludeTypes:
//DefaultImports:
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// @DataContract
var ResponseError = (function () {
function ResponseError() {
}
return ResponseError;
}());
exports.ResponseError = ResponseError;
// @DataContract
var ResponseStatus = (function () {
function ResponseStatus() {
}
return ResponseStatus;
}());
exports.ResponseStatus = ResponseStatus;
var CustomType = (function () {
function CustomType() {
}
return CustomType;
}());
exports.CustomType = CustomType;
var SetterType = (function () {
function SetterType() {
}
return SetterType;
}());
exports.SetterType = SetterType;
var ChatMessage = (function () {
function ChatMessage() {
}
return ChatMessage;
}());
exports.ChatMessage = ChatMessage;
var GetChatHistoryResponse = (function () {
function GetChatHistoryResponse() {
}
return GetChatHistoryResponse;
}());
exports.GetChatHistoryResponse = GetChatHistoryResponse;
var GetUserDetailsResponse = (function () {
function GetUserDetailsResponse() {
}
return GetUserDetailsResponse;
}());
exports.GetUserDetailsResponse = GetUserDetailsResponse;
// @DataContract
var AuthenticateResponse = (function () {
function AuthenticateResponse() {
}
return AuthenticateResponse;
}());
exports.AuthenticateResponse = AuthenticateResponse;
// @DataContract
var AssignRolesResponse = (function () {
function AssignRolesResponse() {
}
return AssignRolesResponse;
}());
exports.AssignRolesResponse = AssignRolesResponse;
// @DataContract
var UnAssignRolesResponse = (function () {
function UnAssignRolesResponse() {
}
return UnAssignRolesResponse;
}());
exports.UnAssignRolesResponse = UnAssignRolesResponse;
// @Route("/channels/{Channel}/raw")
var PostRawToChannel = (function () {
function PostRawToChannel() {
}
PostRawToChannel.prototype.createResponse = function () { };
PostRawToChannel.prototype.getTypeName = function () { return "PostRawToChannel"; };
return PostRawToChannel;
}());
exports.PostRawToChannel = PostRawToChannel;
// @Route("/channels/{Channel}/chat")
var PostChatToChannel = (function () {
function PostChatToChannel() {
}
PostChatToChannel.prototype.createResponse = function () { return new ChatMessage(); };
PostChatToChannel.prototype.getTypeName = function () { return "PostChatToChannel"; };
return PostChatToChannel;
}());
exports.PostChatToChannel = PostChatToChannel;
// @Route("/chathistory")
var GetChatHistory = (function () {
function GetChatHistory() {
}
GetChatHistory.prototype.createResponse = function () { return new GetChatHistoryResponse(); };
GetChatHistory.prototype.getTypeName = function () { return "GetChatHistory"; };
return GetChatHistory;
}());
exports.GetChatHistory = GetChatHistory;
// @Route("/reset")
var ClearChatHistory = (function () {
function ClearChatHistory() {
}
ClearChatHistory.prototype.createResponse = function () { };
ClearChatHistory.prototype.getTypeName = function () { return "ClearChatHistory"; };
return ClearChatHistory;
}());
exports.ClearChatHistory = ClearChatHistory;
// @Route("/reset-serverevents")
var ResetServerEvents = (function () {
function ResetServerEvents() {
}
ResetServerEvents.prototype.createResponse = function () { };
ResetServerEvents.prototype.getTypeName = function () { return "ResetServerEvents"; };
return ResetServerEvents;
}());
exports.ResetServerEvents = ResetServerEvents;
// @Route("/channels/{Channel}/object")
var PostObjectToChannel = (function () {
function PostObjectToChannel() {
}
PostObjectToChannel.prototype.createResponse = function () { };
PostObjectToChannel.prototype.getTypeName = function () { return "PostObjectToChannel"; };
return PostObjectToChannel;
}());
exports.PostObjectToChannel = PostObjectToChannel;
// @Route("/account")
var GetUserDetails = (function () {
function GetUserDetails() {
}
GetUserDetails.prototype.createResponse = function () { return new GetUserDetailsResponse(); };
GetUserDetails.prototype.getTypeName = function () { return "GetUserDetails"; };
return GetUserDetails;
}());
exports.GetUserDetails = GetUserDetails;
// @Route("/auth")
// @Route("/auth/{provider}")
// @Route("/authenticate")
// @Route("/authenticate/{provider}")
// @DataContract
var Authenticate = (function () {
function Authenticate() {
}
Authenticate.prototype.createResponse = function () { return new AuthenticateResponse(); };
Authenticate.prototype.getTypeName = function () { return "Authenticate"; };
return Authenticate;
}());
exports.Authenticate = Authenticate;
// @Route("/assignroles")
// @DataContract
var AssignRoles = (function () {
function AssignRoles() {
}
AssignRoles.prototype.createResponse = function () { return new AssignRolesResponse(); };
AssignRoles.prototype.getTypeName = function () { return "AssignRoles"; };
return AssignRoles;
}());
exports.AssignRoles = AssignRoles;
// @Route("/unassignroles")
// @DataContract
var UnAssignRoles = (function () {
function UnAssignRoles() {
}
UnAssignRoles.prototype.createResponse = function () { return new UnAssignRolesResponse(); };
UnAssignRoles.prototype.getTypeName = function () { return "UnAssignRoles"; };
return UnAssignRoles;
}());
exports.UnAssignRoles = UnAssignRoles;