@closerplatform/spinner-openapi 0.11.350 → 0.12.1
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/api.d.ts +435 -758
- package/dist/api.js +754 -1105
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the file manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.WidgetsFormsSubmissionsApi = exports.WidgetsFormsSubmissionsApiFactory = exports.WidgetsFormsSubmissionsApiFp = exports.WidgetsFormsSubmissionsApiFetchParamCreator = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiFetchParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiFetchParamCreator = exports.UrlTagMappingsApi = exports.UrlTagMappingsApiFactory = exports.UrlTagMappingsApiFp = exports.UrlTagMappingsApiFetchParamCreator = exports.UnreadApi = exports.UnreadApiFactory = exports.UnreadApiFp = exports.UnreadApiFetchParamCreator = exports.TopicsApi = exports.TopicsApiFactory = exports.TopicsApiFp = exports.TopicsApiFetchParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiFetchParamCreator = exports.TagMappingsApi = exports.TagMappingsApiFactory = exports.TagMappingsApiFp = exports.TagMappingsApiFetchParamCreator = exports.TagGroupsApi = exports.TagGroupsApiFactory = exports.TagGroupsApiFp = exports.TagGroupsApiFetchParamCreator = exports.StatusApi = exports.StatusApiFactory = exports.StatusApiFp = exports.StatusApiFetchParamCreator = exports.SessionApi = exports.SessionApiFactory = exports.SessionApiFp = exports.SessionApiFetchParamCreator = exports.RoomsApi = exports.RoomsApiFactory = exports.RoomsApiFp = exports.RoomsApiFetchParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiFetchParamCreator = exports.PushApi = exports.PushApiFactory = exports.PushApiFp = exports.PushApiFetchParamCreator = exports.ProfanitiesApi = exports.ProfanitiesApiFactory = exports.ProfanitiesApiFp = exports.ProfanitiesApiFetchParamCreator = exports.ProactiveMsgApi = exports.ProactiveMsgApiFactory = exports.ProactiveMsgApiFp = exports.ProactiveMsgApiFetchParamCreator = exports.OrgsApi = exports.OrgsApiFactory = exports.OrgsApiFp = exports.OrgsApiFetchParamCreator = exports.OplAddressApi = exports.OplAddressApiFactory = exports.OplAddressApiFp = exports.OplAddressApiFetchParamCreator = exports.
|
|
16
|
+
exports.WidgetsFormsSubmissionsApi = exports.WidgetsFormsSubmissionsApiFactory = exports.WidgetsFormsSubmissionsApiFp = exports.WidgetsFormsSubmissionsApiFetchParamCreator = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiFetchParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiFetchParamCreator = exports.UrlTagMappingsApi = exports.UrlTagMappingsApiFactory = exports.UrlTagMappingsApiFp = exports.UrlTagMappingsApiFetchParamCreator = exports.UnreadApi = exports.UnreadApiFactory = exports.UnreadApiFp = exports.UnreadApiFetchParamCreator = exports.TopicsApi = exports.TopicsApiFactory = exports.TopicsApiFp = exports.TopicsApiFetchParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiFetchParamCreator = exports.TagMappingsApi = exports.TagMappingsApiFactory = exports.TagMappingsApiFp = exports.TagMappingsApiFetchParamCreator = exports.TagGroupsApi = exports.TagGroupsApiFactory = exports.TagGroupsApiFp = exports.TagGroupsApiFetchParamCreator = exports.StatusApi = exports.StatusApiFactory = exports.StatusApiFp = exports.StatusApiFetchParamCreator = exports.SessionApi = exports.SessionApiFactory = exports.SessionApiFp = exports.SessionApiFetchParamCreator = exports.RoomsApi = exports.RoomsApiFactory = exports.RoomsApiFp = exports.RoomsApiFetchParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiFetchParamCreator = exports.PushApi = exports.PushApiFactory = exports.PushApiFp = exports.PushApiFetchParamCreator = exports.ProfanitiesApi = exports.ProfanitiesApiFactory = exports.ProfanitiesApiFp = exports.ProfanitiesApiFetchParamCreator = exports.ProactiveMsgApi = exports.ProactiveMsgApiFactory = exports.ProactiveMsgApiFp = exports.ProactiveMsgApiFetchParamCreator = exports.OrgsApi = exports.OrgsApiFactory = exports.OrgsApiFp = exports.OrgsApiFetchParamCreator = exports.OplAddressApi = exports.OplAddressApiFactory = exports.OplAddressApiFp = exports.OplAddressApiFetchParamCreator = exports.OIDCApi = exports.OIDCApiFactory = exports.OIDCApiFp = exports.OIDCApiFetchParamCreator = exports.OAuthApi = exports.OAuthApiFactory = exports.OAuthApiFp = exports.OAuthApiFetchParamCreator = exports.NLUApi = exports.NLUApiFactory = exports.NLUApiFp = exports.NLUApiFetchParamCreator = exports.MessageWidgetsApi = exports.MessageWidgetsApiFactory = exports.MessageWidgetsApiFp = exports.MessageWidgetsApiFetchParamCreator = exports.MeetingsApi = exports.MeetingsApiFactory = exports.MeetingsApiFp = exports.MeetingsApiFetchParamCreator = exports.InviteesApi = exports.InviteesApiFactory = exports.InviteesApiFp = exports.InviteesApiFetchParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiFetchParamCreator = exports.EventActionsApi = exports.EventActionsApiFactory = exports.EventActionsApiFp = exports.EventActionsApiFetchParamCreator = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiFetchParamCreator = exports.ConversationsApi = exports.ConversationsApiFactory = exports.ConversationsApiFp = exports.ConversationsApiFetchParamCreator = exports.CompatibilityApi = exports.CompatibilityApiFactory = exports.CompatibilityApiFp = exports.CompatibilityApiFetchParamCreator = exports.CobrowsingApi = exports.CobrowsingApiFactory = exports.CobrowsingApiFp = exports.CobrowsingApiFetchParamCreator = exports.CallsApi = exports.CallsApiFactory = exports.CallsApiFp = exports.CallsApiFetchParamCreator = exports.CalendarsApi = exports.CalendarsApiFactory = exports.CalendarsApiFp = exports.CalendarsApiFetchParamCreator = exports.BotsApi = exports.BotsApiFactory = exports.BotsApiFp = exports.BotsApiFetchParamCreator = exports.BillingsApi = exports.BillingsApiFactory = exports.BillingsApiFp = exports.BillingsApiFetchParamCreator = exports.AgentStatusesApi = exports.AgentStatusesApiFactory = exports.AgentStatusesApiFp = exports.AgentStatusesApiFetchParamCreator = exports.AgentGroupsApi = exports.AgentGroupsApiFactory = exports.AgentGroupsApiFp = exports.AgentGroupsApiFetchParamCreator = exports.WidgetButtonsInput = exports.UserRole = exports.SnoozedStatus = exports.RegisterInPushService = exports.Presence = exports.ModelTrainingStatus = exports.MessageWidgetConfigContextType = exports.MatchingStrategy = exports.InboxSorting = exports.InboxEntryType = exports.EventActionEvent = exports.ConversationStatus = exports.ChatEvent = exports.ChangeBotTypeForm = exports.BotInfo = exports.AppPresence = exports.AppPermission = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = void 0;
|
|
17
17
|
const url = require("url");
|
|
18
18
|
const isomorphicFetch = require("isomorphic-fetch");
|
|
19
19
|
const BASE_PATH = "/api".replace(/\/+$/, "");
|
|
@@ -57,71 +57,6 @@ class RequiredError extends Error {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
exports.RequiredError = RequiredError;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @export
|
|
63
|
-
* @enum {string}
|
|
64
|
-
*/
|
|
65
|
-
var ActionEvent;
|
|
66
|
-
(function (ActionEvent) {
|
|
67
|
-
ActionEvent["ThreadOpenedOutsideWorkingHours"] = "thread_opened_outside_working_hours";
|
|
68
|
-
ActionEvent["ClosedSolvedThreadAction"] = "closed_solved_thread_action";
|
|
69
|
-
ActionEvent["ClosedUnsolvedThreadAction"] = "closed_unsolved_thread_action";
|
|
70
|
-
ActionEvent["ThreadOpened"] = "thread_opened";
|
|
71
|
-
ActionEvent["AssignedConversationAction"] = "assigned_conversation_action";
|
|
72
|
-
ActionEvent["ThreadOpenedAgentsUnavailable"] = "thread_opened_agents_unavailable";
|
|
73
|
-
ActionEvent["WidgetOpenedNoOpenThread"] = "widget_opened_no_open_thread";
|
|
74
|
-
})(ActionEvent = exports.ActionEvent || (exports.ActionEvent = {}));
|
|
75
|
-
/**
|
|
76
|
-
* @export
|
|
77
|
-
* @namespace AgentCtx
|
|
78
|
-
*/
|
|
79
|
-
var AgentCtx;
|
|
80
|
-
(function (AgentCtx) {
|
|
81
|
-
/**
|
|
82
|
-
* @export
|
|
83
|
-
* @enum {string}
|
|
84
|
-
*/
|
|
85
|
-
let RoleEnum;
|
|
86
|
-
(function (RoleEnum) {
|
|
87
|
-
RoleEnum["ADMIN"] = "ADMIN";
|
|
88
|
-
RoleEnum["AGENT"] = "AGENT";
|
|
89
|
-
})(RoleEnum = AgentCtx.RoleEnum || (AgentCtx.RoleEnum = {}));
|
|
90
|
-
})(AgentCtx = exports.AgentCtx || (exports.AgentCtx = {}));
|
|
91
|
-
/**
|
|
92
|
-
* @export
|
|
93
|
-
* @namespace AgentPreferences
|
|
94
|
-
*/
|
|
95
|
-
var AgentPreferences;
|
|
96
|
-
(function (AgentPreferences) {
|
|
97
|
-
/**
|
|
98
|
-
* @export
|
|
99
|
-
* @enum {string}
|
|
100
|
-
*/
|
|
101
|
-
let InboxSortingEnum;
|
|
102
|
-
(function (InboxSortingEnum) {
|
|
103
|
-
InboxSortingEnum["Newest"] = "newest";
|
|
104
|
-
InboxSortingEnum["Oldest"] = "oldest";
|
|
105
|
-
})(InboxSortingEnum = AgentPreferences.InboxSortingEnum || (AgentPreferences.InboxSortingEnum = {}));
|
|
106
|
-
})(AgentPreferences = exports.AgentPreferences || (exports.AgentPreferences = {}));
|
|
107
|
-
/**
|
|
108
|
-
* @export
|
|
109
|
-
* @namespace AgentPresence
|
|
110
|
-
*/
|
|
111
|
-
var AgentPresence;
|
|
112
|
-
(function (AgentPresence) {
|
|
113
|
-
/**
|
|
114
|
-
* @export
|
|
115
|
-
* @enum {string}
|
|
116
|
-
*/
|
|
117
|
-
let PresenceEnum;
|
|
118
|
-
(function (PresenceEnum) {
|
|
119
|
-
PresenceEnum["Available"] = "available";
|
|
120
|
-
PresenceEnum["Away"] = "away";
|
|
121
|
-
PresenceEnum["Unavailable"] = "unavailable";
|
|
122
|
-
PresenceEnum["Unready"] = "unready";
|
|
123
|
-
})(PresenceEnum = AgentPresence.PresenceEnum || (AgentPresence.PresenceEnum = {}));
|
|
124
|
-
})(AgentPresence = exports.AgentPresence || (exports.AgentPresence = {}));
|
|
125
60
|
/**
|
|
126
61
|
*
|
|
127
62
|
* @export
|
|
@@ -164,6 +99,18 @@ var AppPermission;
|
|
|
164
99
|
AppPermission["MeetingsPageVisibility"] = "meetings_page_visibility";
|
|
165
100
|
AppPermission["HelpPageVisibility"] = "help_page_visibility";
|
|
166
101
|
})(AppPermission = exports.AppPermission || (exports.AppPermission = {}));
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @export
|
|
105
|
+
* @enum {string}
|
|
106
|
+
*/
|
|
107
|
+
var AppPresence;
|
|
108
|
+
(function (AppPresence) {
|
|
109
|
+
AppPresence["Available"] = "available";
|
|
110
|
+
AppPresence["Away"] = "away";
|
|
111
|
+
AppPresence["Unavailable"] = "unavailable";
|
|
112
|
+
AppPresence["Unready"] = "unready";
|
|
113
|
+
})(AppPresence = exports.AppPresence || (exports.AppPresence = {}));
|
|
167
114
|
/**
|
|
168
115
|
* @export
|
|
169
116
|
* @namespace BotInfo
|
|
@@ -222,135 +169,71 @@ var ChatEvent;
|
|
|
222
169
|
})(TagEnum = ChatEvent.TagEnum || (ChatEvent.TagEnum = {}));
|
|
223
170
|
})(ChatEvent = exports.ChatEvent || (exports.ChatEvent = {}));
|
|
224
171
|
/**
|
|
172
|
+
*
|
|
225
173
|
* @export
|
|
226
|
-
* @
|
|
174
|
+
* @enum {string}
|
|
227
175
|
*/
|
|
228
176
|
var ConversationStatus;
|
|
229
177
|
(function (ConversationStatus) {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
let StatusEnum;
|
|
235
|
-
(function (StatusEnum) {
|
|
236
|
-
StatusEnum["Waiting"] = "waiting";
|
|
237
|
-
StatusEnum["InProgress"] = "inProgress";
|
|
238
|
-
StatusEnum["Solved"] = "solved";
|
|
239
|
-
StatusEnum["Unsolved"] = "unsolved";
|
|
240
|
-
})(StatusEnum = ConversationStatus.StatusEnum || (ConversationStatus.StatusEnum = {}));
|
|
178
|
+
ConversationStatus["Waiting"] = "waiting";
|
|
179
|
+
ConversationStatus["InProgress"] = "inProgress";
|
|
180
|
+
ConversationStatus["Solved"] = "solved";
|
|
181
|
+
ConversationStatus["Unsolved"] = "unsolved";
|
|
241
182
|
})(ConversationStatus = exports.ConversationStatus || (exports.ConversationStatus = {}));
|
|
242
183
|
/**
|
|
184
|
+
*
|
|
243
185
|
* @export
|
|
244
|
-
* @
|
|
186
|
+
* @enum {string}
|
|
245
187
|
*/
|
|
246
|
-
var
|
|
247
|
-
(function (
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
EventEnum["ClosedUnsolvedThreadAction"] = "closed_unsolved_thread_action";
|
|
257
|
-
EventEnum["ThreadOpened"] = "thread_opened";
|
|
258
|
-
EventEnum["AssignedConversationAction"] = "assigned_conversation_action";
|
|
259
|
-
EventEnum["ThreadOpenedAgentsUnavailable"] = "thread_opened_agents_unavailable";
|
|
260
|
-
EventEnum["WidgetOpenedNoOpenThread"] = "widget_opened_no_open_thread";
|
|
261
|
-
})(EventEnum = CreateEventActionConfigForm.EventEnum || (CreateEventActionConfigForm.EventEnum = {}));
|
|
262
|
-
})(CreateEventActionConfigForm = exports.CreateEventActionConfigForm || (exports.CreateEventActionConfigForm = {}));
|
|
188
|
+
var EventActionEvent;
|
|
189
|
+
(function (EventActionEvent) {
|
|
190
|
+
EventActionEvent["ThreadOpenedOutsideWorkingHours"] = "thread_opened_outside_working_hours";
|
|
191
|
+
EventActionEvent["ClosedSolvedThreadAction"] = "closed_solved_thread_action";
|
|
192
|
+
EventActionEvent["ClosedUnsolvedThreadAction"] = "closed_unsolved_thread_action";
|
|
193
|
+
EventActionEvent["ThreadOpened"] = "thread_opened";
|
|
194
|
+
EventActionEvent["AssignedConversationAction"] = "assigned_conversation_action";
|
|
195
|
+
EventActionEvent["ThreadOpenedAgentsUnavailable"] = "thread_opened_agents_unavailable";
|
|
196
|
+
EventActionEvent["WidgetOpenedNoOpenThread"] = "widget_opened_no_open_thread";
|
|
197
|
+
})(EventActionEvent = exports.EventActionEvent || (exports.EventActionEvent = {}));
|
|
263
198
|
/**
|
|
199
|
+
*
|
|
264
200
|
* @export
|
|
265
|
-
* @
|
|
201
|
+
* @enum {string}
|
|
266
202
|
*/
|
|
267
|
-
var
|
|
268
|
-
(function (
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
})(MatchingStrategyEnum = CreateTagMappingForm.MatchingStrategyEnum || (CreateTagMappingForm.MatchingStrategyEnum = {}));
|
|
280
|
-
})(CreateTagMappingForm = exports.CreateTagMappingForm || (exports.CreateTagMappingForm = {}));
|
|
203
|
+
var InboxEntryType;
|
|
204
|
+
(function (InboxEntryType) {
|
|
205
|
+
InboxEntryType["MESSAGE"] = "MESSAGE";
|
|
206
|
+
InboxEntryType["NOTE"] = "NOTE";
|
|
207
|
+
InboxEntryType["FILES"] = "FILES";
|
|
208
|
+
InboxEntryType["MEETINGSCHEDULED"] = "MEETING_SCHEDULED";
|
|
209
|
+
InboxEntryType["MEETINGRESCHEDULED"] = "MEETING_RESCHEDULED";
|
|
210
|
+
InboxEntryType["MEETINGCANCELLED"] = "MEETING_CANCELLED";
|
|
211
|
+
InboxEntryType["CALLSTARTED"] = "CALL_STARTED";
|
|
212
|
+
InboxEntryType["CALLENDED"] = "CALL_ENDED";
|
|
213
|
+
InboxEntryType["FORM"] = "FORM";
|
|
214
|
+
})(InboxEntryType = exports.InboxEntryType || (exports.InboxEntryType = {}));
|
|
281
215
|
/**
|
|
216
|
+
*
|
|
282
217
|
* @export
|
|
283
|
-
* @
|
|
218
|
+
* @enum {string}
|
|
284
219
|
*/
|
|
285
|
-
var
|
|
286
|
-
(function (
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
*/
|
|
291
|
-
let EventEnum;
|
|
292
|
-
(function (EventEnum) {
|
|
293
|
-
EventEnum["ThreadOpenedOutsideWorkingHours"] = "thread_opened_outside_working_hours";
|
|
294
|
-
EventEnum["ClosedSolvedThreadAction"] = "closed_solved_thread_action";
|
|
295
|
-
EventEnum["ClosedUnsolvedThreadAction"] = "closed_unsolved_thread_action";
|
|
296
|
-
EventEnum["ThreadOpened"] = "thread_opened";
|
|
297
|
-
EventEnum["AssignedConversationAction"] = "assigned_conversation_action";
|
|
298
|
-
EventEnum["ThreadOpenedAgentsUnavailable"] = "thread_opened_agents_unavailable";
|
|
299
|
-
EventEnum["WidgetOpenedNoOpenThread"] = "widget_opened_no_open_thread";
|
|
300
|
-
})(EventEnum = EventActionConfig.EventEnum || (EventActionConfig.EventEnum = {}));
|
|
301
|
-
})(EventActionConfig = exports.EventActionConfig || (exports.EventActionConfig = {}));
|
|
220
|
+
var InboxSorting;
|
|
221
|
+
(function (InboxSorting) {
|
|
222
|
+
InboxSorting["Newest"] = "newest";
|
|
223
|
+
InboxSorting["Oldest"] = "oldest";
|
|
224
|
+
})(InboxSorting = exports.InboxSorting || (exports.InboxSorting = {}));
|
|
302
225
|
/**
|
|
226
|
+
*
|
|
303
227
|
* @export
|
|
304
|
-
* @
|
|
228
|
+
* @enum {string}
|
|
305
229
|
*/
|
|
306
|
-
var
|
|
307
|
-
(function (
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
(function (StatusEnum) {
|
|
314
|
-
StatusEnum["Waiting"] = "waiting";
|
|
315
|
-
StatusEnum["InProgress"] = "inProgress";
|
|
316
|
-
StatusEnum["Solved"] = "solved";
|
|
317
|
-
StatusEnum["Unsolved"] = "unsolved";
|
|
318
|
-
})(StatusEnum = InboxEntry.StatusEnum || (InboxEntry.StatusEnum = {}));
|
|
319
|
-
/**
|
|
320
|
-
* @export
|
|
321
|
-
* @enum {string}
|
|
322
|
-
*/
|
|
323
|
-
let TypeEnum;
|
|
324
|
-
(function (TypeEnum) {
|
|
325
|
-
TypeEnum["MESSAGE"] = "MESSAGE";
|
|
326
|
-
TypeEnum["NOTE"] = "NOTE";
|
|
327
|
-
TypeEnum["FILES"] = "FILES";
|
|
328
|
-
TypeEnum["MEETINGSCHEDULED"] = "MEETING_SCHEDULED";
|
|
329
|
-
TypeEnum["MEETINGRESCHEDULED"] = "MEETING_RESCHEDULED";
|
|
330
|
-
TypeEnum["MEETINGCANCELLED"] = "MEETING_CANCELLED";
|
|
331
|
-
TypeEnum["CALLSTARTED"] = "CALL_STARTED";
|
|
332
|
-
TypeEnum["CALLENDED"] = "CALL_ENDED";
|
|
333
|
-
TypeEnum["FORM"] = "FORM";
|
|
334
|
-
})(TypeEnum = InboxEntry.TypeEnum || (InboxEntry.TypeEnum = {}));
|
|
335
|
-
/**
|
|
336
|
-
* @export
|
|
337
|
-
* @enum {string}
|
|
338
|
-
*/
|
|
339
|
-
let OwnerPresenceEnum;
|
|
340
|
-
(function (OwnerPresenceEnum) {
|
|
341
|
-
OwnerPresenceEnum["Available"] = "available";
|
|
342
|
-
OwnerPresenceEnum["Unavailable"] = "unavailable";
|
|
343
|
-
})(OwnerPresenceEnum = InboxEntry.OwnerPresenceEnum || (InboxEntry.OwnerPresenceEnum = {}));
|
|
344
|
-
/**
|
|
345
|
-
* @export
|
|
346
|
-
* @enum {string}
|
|
347
|
-
*/
|
|
348
|
-
let SnoozedStatusEnum;
|
|
349
|
-
(function (SnoozedStatusEnum) {
|
|
350
|
-
SnoozedStatusEnum["Snoozed"] = "snoozed";
|
|
351
|
-
SnoozedStatusEnum["Unsnoozed"] = "unsnoozed";
|
|
352
|
-
})(SnoozedStatusEnum = InboxEntry.SnoozedStatusEnum || (InboxEntry.SnoozedStatusEnum = {}));
|
|
353
|
-
})(InboxEntry = exports.InboxEntry || (exports.InboxEntry = {}));
|
|
230
|
+
var MatchingStrategy;
|
|
231
|
+
(function (MatchingStrategy) {
|
|
232
|
+
MatchingStrategy["WholeDomain"] = "whole_domain";
|
|
233
|
+
MatchingStrategy["PathRecursively"] = "path_recursively";
|
|
234
|
+
MatchingStrategy["ExactUrl"] = "exact_url";
|
|
235
|
+
MatchingStrategy["PathArgs"] = "path_args";
|
|
236
|
+
})(MatchingStrategy = exports.MatchingStrategy || (exports.MatchingStrategy = {}));
|
|
354
237
|
/**
|
|
355
238
|
*
|
|
356
239
|
* @export
|
|
@@ -363,69 +246,26 @@ var MessageWidgetConfigContextType;
|
|
|
363
246
|
MessageWidgetConfigContextType["OplShowAddressForm"] = "opl_show_address_form";
|
|
364
247
|
})(MessageWidgetConfigContextType = exports.MessageWidgetConfigContextType || (exports.MessageWidgetConfigContextType = {}));
|
|
365
248
|
/**
|
|
249
|
+
*
|
|
366
250
|
* @export
|
|
367
|
-
* @
|
|
251
|
+
* @enum {string}
|
|
368
252
|
*/
|
|
369
|
-
var
|
|
370
|
-
(function (
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
let PermissionsEnum;
|
|
376
|
-
(function (PermissionsEnum) {
|
|
377
|
-
PermissionsEnum["AdminPermission"] = "admin_permission";
|
|
378
|
-
PermissionsEnum["DisplayClosedConversations"] = "display_closed_conversations";
|
|
379
|
-
PermissionsEnum["DisplayWaitingConversations"] = "display_waiting_conversations";
|
|
380
|
-
PermissionsEnum["DisplayFollowedConversations"] = "display_followed_conversations";
|
|
381
|
-
PermissionsEnum["DisplayInProgressConversations"] = "display_in_progress_conversations";
|
|
382
|
-
PermissionsEnum["DisplayYoursConversations"] = "display_yours_conversations";
|
|
383
|
-
PermissionsEnum["SettingsProactiveMessages"] = "settings_proactive_messages";
|
|
384
|
-
PermissionsEnum["SettingsTags"] = "settings_tags";
|
|
385
|
-
PermissionsEnum["SettingsAiSuggestions"] = "settings_ai_suggestions";
|
|
386
|
-
PermissionsEnum["SettingsWebhooks"] = "settings_webhooks";
|
|
387
|
-
PermissionsEnum["SettingsAdvisersConfiguration"] = "settings_advisers_configuration";
|
|
388
|
-
PermissionsEnum["SettingsAgentGroupsConfiguration"] = "settings_agent_groups_configuration";
|
|
389
|
-
PermissionsEnum["SettingsAdvisersAssignments"] = "settings_advisers_assignments";
|
|
390
|
-
PermissionsEnum["SettingsAdvisersAvatar"] = "settings_advisers_avatar";
|
|
391
|
-
PermissionsEnum["SettingsActionForms"] = "settings_action_forms";
|
|
392
|
-
PermissionsEnum["SettingsStatuses"] = "settings_statuses";
|
|
393
|
-
PermissionsEnum["SettingsRoles"] = "settings_roles";
|
|
394
|
-
PermissionsEnum["SettingsGeneral"] = "settings_general";
|
|
395
|
-
PermissionsEnum["ReportsYours"] = "reports_yours";
|
|
396
|
-
PermissionsEnum["ReportsGroups"] = "reports_groups";
|
|
397
|
-
PermissionsEnum["ReportsOrg"] = "reports_org";
|
|
398
|
-
PermissionsEnum["LeadDeleteProfile"] = "lead_delete_profile";
|
|
399
|
-
PermissionsEnum["LeadUpdateProfile"] = "lead_update_profile";
|
|
400
|
-
PermissionsEnum["UpdatePersonalData"] = "update_personal_data";
|
|
401
|
-
PermissionsEnum["RoomAssignSelf"] = "room_assign_self";
|
|
402
|
-
PermissionsEnum["RoomAssignAgent"] = "room_assign_agent";
|
|
403
|
-
PermissionsEnum["RoomAssignQueue"] = "room_assign_queue";
|
|
404
|
-
PermissionsEnum["RoomCloseNotOwn"] = "room_close_not_own";
|
|
405
|
-
PermissionsEnum["AiIntentsClassify"] = "ai_intents_classify";
|
|
406
|
-
PermissionsEnum["DisplayOwnTagGroupsConversations"] = "display_own_tag_groups_conversations";
|
|
407
|
-
PermissionsEnum["SettingsPasswordChange"] = "settings_password_change";
|
|
408
|
-
PermissionsEnum["SettingsPersonal"] = "settings_personal";
|
|
409
|
-
PermissionsEnum["MeetingsPageVisibility"] = "meetings_page_visibility";
|
|
410
|
-
PermissionsEnum["HelpPageVisibility"] = "help_page_visibility";
|
|
411
|
-
})(PermissionsEnum = PermissionForm.PermissionsEnum || (PermissionForm.PermissionsEnum = {}));
|
|
412
|
-
})(PermissionForm = exports.PermissionForm || (exports.PermissionForm = {}));
|
|
253
|
+
var ModelTrainingStatus;
|
|
254
|
+
(function (ModelTrainingStatus) {
|
|
255
|
+
ModelTrainingStatus["TrainingInProgress"] = "TrainingInProgress";
|
|
256
|
+
ModelTrainingStatus["TrainingDone"] = "TrainingDone";
|
|
257
|
+
ModelTrainingStatus["TrainingNeverDone"] = "TrainingNeverDone";
|
|
258
|
+
})(ModelTrainingStatus = exports.ModelTrainingStatus || (exports.ModelTrainingStatus = {}));
|
|
413
259
|
/**
|
|
260
|
+
*
|
|
414
261
|
* @export
|
|
415
|
-
* @
|
|
262
|
+
* @enum {string}
|
|
416
263
|
*/
|
|
417
|
-
var
|
|
418
|
-
(function (
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
*/
|
|
423
|
-
let InboxSortingEnum;
|
|
424
|
-
(function (InboxSortingEnum) {
|
|
425
|
-
InboxSortingEnum["Newest"] = "newest";
|
|
426
|
-
InboxSortingEnum["Oldest"] = "oldest";
|
|
427
|
-
})(InboxSortingEnum = PreferencesForm.InboxSortingEnum || (PreferencesForm.InboxSortingEnum = {}));
|
|
428
|
-
})(PreferencesForm = exports.PreferencesForm || (exports.PreferencesForm = {}));
|
|
264
|
+
var Presence;
|
|
265
|
+
(function (Presence) {
|
|
266
|
+
Presence["Available"] = "available";
|
|
267
|
+
Presence["Unavailable"] = "unavailable";
|
|
268
|
+
})(Presence = exports.Presence || (exports.Presence = {}));
|
|
429
269
|
/**
|
|
430
270
|
* @export
|
|
431
271
|
* @namespace RegisterInPushService
|
|
@@ -443,193 +283,28 @@ var RegisterInPushService;
|
|
|
443
283
|
})(DeviceTypeEnum = RegisterInPushService.DeviceTypeEnum || (RegisterInPushService.DeviceTypeEnum = {}));
|
|
444
284
|
})(RegisterInPushService = exports.RegisterInPushService || (exports.RegisterInPushService = {}));
|
|
445
285
|
/**
|
|
286
|
+
*
|
|
446
287
|
* @export
|
|
447
|
-
* @
|
|
448
|
-
*/
|
|
449
|
-
var Role;
|
|
450
|
-
(function (Role) {
|
|
451
|
-
/**
|
|
452
|
-
* @export
|
|
453
|
-
* @enum {string}
|
|
454
|
-
*/
|
|
455
|
-
let PermissionsEnum;
|
|
456
|
-
(function (PermissionsEnum) {
|
|
457
|
-
PermissionsEnum["AdminPermission"] = "admin_permission";
|
|
458
|
-
PermissionsEnum["DisplayClosedConversations"] = "display_closed_conversations";
|
|
459
|
-
PermissionsEnum["DisplayWaitingConversations"] = "display_waiting_conversations";
|
|
460
|
-
PermissionsEnum["DisplayFollowedConversations"] = "display_followed_conversations";
|
|
461
|
-
PermissionsEnum["DisplayInProgressConversations"] = "display_in_progress_conversations";
|
|
462
|
-
PermissionsEnum["DisplayYoursConversations"] = "display_yours_conversations";
|
|
463
|
-
PermissionsEnum["SettingsProactiveMessages"] = "settings_proactive_messages";
|
|
464
|
-
PermissionsEnum["SettingsTags"] = "settings_tags";
|
|
465
|
-
PermissionsEnum["SettingsAiSuggestions"] = "settings_ai_suggestions";
|
|
466
|
-
PermissionsEnum["SettingsWebhooks"] = "settings_webhooks";
|
|
467
|
-
PermissionsEnum["SettingsAdvisersConfiguration"] = "settings_advisers_configuration";
|
|
468
|
-
PermissionsEnum["SettingsAgentGroupsConfiguration"] = "settings_agent_groups_configuration";
|
|
469
|
-
PermissionsEnum["SettingsAdvisersAssignments"] = "settings_advisers_assignments";
|
|
470
|
-
PermissionsEnum["SettingsAdvisersAvatar"] = "settings_advisers_avatar";
|
|
471
|
-
PermissionsEnum["SettingsActionForms"] = "settings_action_forms";
|
|
472
|
-
PermissionsEnum["SettingsStatuses"] = "settings_statuses";
|
|
473
|
-
PermissionsEnum["SettingsRoles"] = "settings_roles";
|
|
474
|
-
PermissionsEnum["SettingsGeneral"] = "settings_general";
|
|
475
|
-
PermissionsEnum["ReportsYours"] = "reports_yours";
|
|
476
|
-
PermissionsEnum["ReportsGroups"] = "reports_groups";
|
|
477
|
-
PermissionsEnum["ReportsOrg"] = "reports_org";
|
|
478
|
-
PermissionsEnum["LeadDeleteProfile"] = "lead_delete_profile";
|
|
479
|
-
PermissionsEnum["LeadUpdateProfile"] = "lead_update_profile";
|
|
480
|
-
PermissionsEnum["UpdatePersonalData"] = "update_personal_data";
|
|
481
|
-
PermissionsEnum["RoomAssignSelf"] = "room_assign_self";
|
|
482
|
-
PermissionsEnum["RoomAssignAgent"] = "room_assign_agent";
|
|
483
|
-
PermissionsEnum["RoomAssignQueue"] = "room_assign_queue";
|
|
484
|
-
PermissionsEnum["RoomCloseNotOwn"] = "room_close_not_own";
|
|
485
|
-
PermissionsEnum["AiIntentsClassify"] = "ai_intents_classify";
|
|
486
|
-
PermissionsEnum["DisplayOwnTagGroupsConversations"] = "display_own_tag_groups_conversations";
|
|
487
|
-
PermissionsEnum["SettingsPasswordChange"] = "settings_password_change";
|
|
488
|
-
PermissionsEnum["SettingsPersonal"] = "settings_personal";
|
|
489
|
-
PermissionsEnum["MeetingsPageVisibility"] = "meetings_page_visibility";
|
|
490
|
-
PermissionsEnum["HelpPageVisibility"] = "help_page_visibility";
|
|
491
|
-
})(PermissionsEnum = Role.PermissionsEnum || (Role.PermissionsEnum = {}));
|
|
492
|
-
})(Role = exports.Role || (exports.Role = {}));
|
|
493
|
-
/**
|
|
494
|
-
* @export
|
|
495
|
-
* @namespace TagMappingDto
|
|
496
|
-
*/
|
|
497
|
-
var TagMappingDto;
|
|
498
|
-
(function (TagMappingDto) {
|
|
499
|
-
/**
|
|
500
|
-
* @export
|
|
501
|
-
* @enum {string}
|
|
502
|
-
*/
|
|
503
|
-
let MatchingStrategyEnum;
|
|
504
|
-
(function (MatchingStrategyEnum) {
|
|
505
|
-
MatchingStrategyEnum["WholeDomain"] = "whole_domain";
|
|
506
|
-
MatchingStrategyEnum["PathRecursively"] = "path_recursively";
|
|
507
|
-
MatchingStrategyEnum["ExactUrl"] = "exact_url";
|
|
508
|
-
MatchingStrategyEnum["PathArgs"] = "path_args";
|
|
509
|
-
})(MatchingStrategyEnum = TagMappingDto.MatchingStrategyEnum || (TagMappingDto.MatchingStrategyEnum = {}));
|
|
510
|
-
})(TagMappingDto = exports.TagMappingDto || (exports.TagMappingDto = {}));
|
|
511
|
-
/**
|
|
512
|
-
* @export
|
|
513
|
-
* @namespace TrainingInfo
|
|
514
|
-
*/
|
|
515
|
-
var TrainingInfo;
|
|
516
|
-
(function (TrainingInfo) {
|
|
517
|
-
/**
|
|
518
|
-
* @export
|
|
519
|
-
* @enum {string}
|
|
520
|
-
*/
|
|
521
|
-
let StatusEnum;
|
|
522
|
-
(function (StatusEnum) {
|
|
523
|
-
StatusEnum["TrainingInProgress"] = "TrainingInProgress";
|
|
524
|
-
StatusEnum["TrainingDone"] = "TrainingDone";
|
|
525
|
-
StatusEnum["TrainingNeverDone"] = "TrainingNeverDone";
|
|
526
|
-
})(StatusEnum = TrainingInfo.StatusEnum || (TrainingInfo.StatusEnum = {}));
|
|
527
|
-
})(TrainingInfo = exports.TrainingInfo || (exports.TrainingInfo = {}));
|
|
528
|
-
/**
|
|
529
|
-
* @export
|
|
530
|
-
* @namespace UpdateEventActionConfigForm
|
|
531
|
-
*/
|
|
532
|
-
var UpdateEventActionConfigForm;
|
|
533
|
-
(function (UpdateEventActionConfigForm) {
|
|
534
|
-
/**
|
|
535
|
-
* @export
|
|
536
|
-
* @enum {string}
|
|
537
|
-
*/
|
|
538
|
-
let EventEnum;
|
|
539
|
-
(function (EventEnum) {
|
|
540
|
-
EventEnum["ThreadOpenedOutsideWorkingHours"] = "thread_opened_outside_working_hours";
|
|
541
|
-
EventEnum["ClosedSolvedThreadAction"] = "closed_solved_thread_action";
|
|
542
|
-
EventEnum["ClosedUnsolvedThreadAction"] = "closed_unsolved_thread_action";
|
|
543
|
-
EventEnum["ThreadOpened"] = "thread_opened";
|
|
544
|
-
EventEnum["AssignedConversationAction"] = "assigned_conversation_action";
|
|
545
|
-
EventEnum["ThreadOpenedAgentsUnavailable"] = "thread_opened_agents_unavailable";
|
|
546
|
-
EventEnum["WidgetOpenedNoOpenThread"] = "widget_opened_no_open_thread";
|
|
547
|
-
})(EventEnum = UpdateEventActionConfigForm.EventEnum || (UpdateEventActionConfigForm.EventEnum = {}));
|
|
548
|
-
})(UpdateEventActionConfigForm = exports.UpdateEventActionConfigForm || (exports.UpdateEventActionConfigForm = {}));
|
|
549
|
-
/**
|
|
550
|
-
* @export
|
|
551
|
-
* @namespace UpdateRoleForm
|
|
552
|
-
*/
|
|
553
|
-
var UpdateRoleForm;
|
|
554
|
-
(function (UpdateRoleForm) {
|
|
555
|
-
/**
|
|
556
|
-
* @export
|
|
557
|
-
* @enum {string}
|
|
558
|
-
*/
|
|
559
|
-
let PermissionsEnum;
|
|
560
|
-
(function (PermissionsEnum) {
|
|
561
|
-
PermissionsEnum["AdminPermission"] = "admin_permission";
|
|
562
|
-
PermissionsEnum["DisplayClosedConversations"] = "display_closed_conversations";
|
|
563
|
-
PermissionsEnum["DisplayWaitingConversations"] = "display_waiting_conversations";
|
|
564
|
-
PermissionsEnum["DisplayFollowedConversations"] = "display_followed_conversations";
|
|
565
|
-
PermissionsEnum["DisplayInProgressConversations"] = "display_in_progress_conversations";
|
|
566
|
-
PermissionsEnum["DisplayYoursConversations"] = "display_yours_conversations";
|
|
567
|
-
PermissionsEnum["SettingsProactiveMessages"] = "settings_proactive_messages";
|
|
568
|
-
PermissionsEnum["SettingsTags"] = "settings_tags";
|
|
569
|
-
PermissionsEnum["SettingsAiSuggestions"] = "settings_ai_suggestions";
|
|
570
|
-
PermissionsEnum["SettingsWebhooks"] = "settings_webhooks";
|
|
571
|
-
PermissionsEnum["SettingsAdvisersConfiguration"] = "settings_advisers_configuration";
|
|
572
|
-
PermissionsEnum["SettingsAgentGroupsConfiguration"] = "settings_agent_groups_configuration";
|
|
573
|
-
PermissionsEnum["SettingsAdvisersAssignments"] = "settings_advisers_assignments";
|
|
574
|
-
PermissionsEnum["SettingsAdvisersAvatar"] = "settings_advisers_avatar";
|
|
575
|
-
PermissionsEnum["SettingsActionForms"] = "settings_action_forms";
|
|
576
|
-
PermissionsEnum["SettingsStatuses"] = "settings_statuses";
|
|
577
|
-
PermissionsEnum["SettingsRoles"] = "settings_roles";
|
|
578
|
-
PermissionsEnum["SettingsGeneral"] = "settings_general";
|
|
579
|
-
PermissionsEnum["ReportsYours"] = "reports_yours";
|
|
580
|
-
PermissionsEnum["ReportsGroups"] = "reports_groups";
|
|
581
|
-
PermissionsEnum["ReportsOrg"] = "reports_org";
|
|
582
|
-
PermissionsEnum["LeadDeleteProfile"] = "lead_delete_profile";
|
|
583
|
-
PermissionsEnum["LeadUpdateProfile"] = "lead_update_profile";
|
|
584
|
-
PermissionsEnum["UpdatePersonalData"] = "update_personal_data";
|
|
585
|
-
PermissionsEnum["RoomAssignSelf"] = "room_assign_self";
|
|
586
|
-
PermissionsEnum["RoomAssignAgent"] = "room_assign_agent";
|
|
587
|
-
PermissionsEnum["RoomAssignQueue"] = "room_assign_queue";
|
|
588
|
-
PermissionsEnum["RoomCloseNotOwn"] = "room_close_not_own";
|
|
589
|
-
PermissionsEnum["AiIntentsClassify"] = "ai_intents_classify";
|
|
590
|
-
PermissionsEnum["DisplayOwnTagGroupsConversations"] = "display_own_tag_groups_conversations";
|
|
591
|
-
PermissionsEnum["SettingsPasswordChange"] = "settings_password_change";
|
|
592
|
-
PermissionsEnum["SettingsPersonal"] = "settings_personal";
|
|
593
|
-
PermissionsEnum["MeetingsPageVisibility"] = "meetings_page_visibility";
|
|
594
|
-
PermissionsEnum["HelpPageVisibility"] = "help_page_visibility";
|
|
595
|
-
})(PermissionsEnum = UpdateRoleForm.PermissionsEnum || (UpdateRoleForm.PermissionsEnum = {}));
|
|
596
|
-
})(UpdateRoleForm = exports.UpdateRoleForm || (exports.UpdateRoleForm = {}));
|
|
597
|
-
/**
|
|
598
|
-
* @export
|
|
599
|
-
* @namespace UpdateTagMappingForm
|
|
288
|
+
* @enum {string}
|
|
600
289
|
*/
|
|
601
|
-
var
|
|
602
|
-
(function (
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
*/
|
|
607
|
-
let MatchingStrategyEnum;
|
|
608
|
-
(function (MatchingStrategyEnum) {
|
|
609
|
-
MatchingStrategyEnum["WholeDomain"] = "whole_domain";
|
|
610
|
-
MatchingStrategyEnum["PathRecursively"] = "path_recursively";
|
|
611
|
-
MatchingStrategyEnum["ExactUrl"] = "exact_url";
|
|
612
|
-
MatchingStrategyEnum["PathArgs"] = "path_args";
|
|
613
|
-
})(MatchingStrategyEnum = UpdateTagMappingForm.MatchingStrategyEnum || (UpdateTagMappingForm.MatchingStrategyEnum = {}));
|
|
614
|
-
})(UpdateTagMappingForm = exports.UpdateTagMappingForm || (exports.UpdateTagMappingForm = {}));
|
|
290
|
+
var SnoozedStatus;
|
|
291
|
+
(function (SnoozedStatus) {
|
|
292
|
+
SnoozedStatus["Snoozed"] = "snoozed";
|
|
293
|
+
SnoozedStatus["Unsnoozed"] = "unsnoozed";
|
|
294
|
+
})(SnoozedStatus = exports.SnoozedStatus || (exports.SnoozedStatus = {}));
|
|
615
295
|
/**
|
|
296
|
+
*
|
|
616
297
|
* @export
|
|
617
|
-
* @
|
|
298
|
+
* @enum {string}
|
|
618
299
|
*/
|
|
619
|
-
var
|
|
620
|
-
(function (
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
MatchingStrategyEnum["WholeDomain"] = "whole_domain";
|
|
628
|
-
MatchingStrategyEnum["PathRecursively"] = "path_recursively";
|
|
629
|
-
MatchingStrategyEnum["ExactUrl"] = "exact_url";
|
|
630
|
-
MatchingStrategyEnum["PathArgs"] = "path_args";
|
|
631
|
-
})(MatchingStrategyEnum = UrlTagMappingDto.MatchingStrategyEnum || (UrlTagMappingDto.MatchingStrategyEnum = {}));
|
|
632
|
-
})(UrlTagMappingDto = exports.UrlTagMappingDto || (exports.UrlTagMappingDto = {}));
|
|
300
|
+
var UserRole;
|
|
301
|
+
(function (UserRole) {
|
|
302
|
+
UserRole["AGENT"] = "AGENT";
|
|
303
|
+
UserRole["LEKTA"] = "LEKTA";
|
|
304
|
+
UserRole["CUSTOMER"] = "CUSTOMER";
|
|
305
|
+
UserRole["ORGANIZATION"] = "ORGANIZATION";
|
|
306
|
+
UserRole["MASTER"] = "MASTER";
|
|
307
|
+
})(UserRole = exports.UserRole || (exports.UserRole = {}));
|
|
633
308
|
/**
|
|
634
309
|
* @export
|
|
635
310
|
* @namespace WidgetButtonsInput
|
|
@@ -6199,27 +5874,26 @@ class InviteesApi extends BaseAPI {
|
|
|
6199
5874
|
}
|
|
6200
5875
|
exports.InviteesApi = InviteesApi;
|
|
6201
5876
|
/**
|
|
6202
|
-
*
|
|
5877
|
+
* MeetingsApi - fetch parameter creator
|
|
6203
5878
|
* @export
|
|
6204
5879
|
*/
|
|
6205
|
-
exports.
|
|
5880
|
+
exports.MeetingsApiFetchParamCreator = function (configuration) {
|
|
6206
5881
|
return {
|
|
6207
5882
|
/**
|
|
6208
5883
|
*
|
|
6209
|
-
* @summary
|
|
6210
|
-
* @param {
|
|
5884
|
+
* @summary Cancel a meeting
|
|
5885
|
+
* @param {CancelMeeting} body
|
|
6211
5886
|
* @param {*} [options] Override http request option.
|
|
6212
5887
|
* @throws {RequiredError}
|
|
6213
5888
|
*/
|
|
6214
|
-
|
|
6215
|
-
// verify required parameter '
|
|
6216
|
-
if (
|
|
6217
|
-
throw new RequiredError('
|
|
5889
|
+
cancelMeeting(body, options = {}) {
|
|
5890
|
+
// verify required parameter 'body' is not null or undefined
|
|
5891
|
+
if (body === null || body === undefined) {
|
|
5892
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling cancelMeeting.');
|
|
6218
5893
|
}
|
|
6219
|
-
const localVarPath = `/meetings/
|
|
6220
|
-
.replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
|
|
5894
|
+
const localVarPath = `/meetings/cancel`;
|
|
6221
5895
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6222
|
-
const localVarRequestOptions = Object.assign({ method: '
|
|
5896
|
+
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
6223
5897
|
const localVarHeaderParameter = {};
|
|
6224
5898
|
const localVarQueryParameter = {};
|
|
6225
5899
|
// authentication apiKey required
|
|
@@ -6229,10 +5903,13 @@ exports.MeetingBotApiFetchParamCreator = function (configuration) {
|
|
|
6229
5903
|
: configuration.apiKey;
|
|
6230
5904
|
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6231
5905
|
}
|
|
5906
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6232
5907
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6233
5908
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6234
5909
|
delete localVarUrlObj.search;
|
|
6235
5910
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
5911
|
+
const needsSerialization = ("CancelMeeting" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
5912
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
6236
5913
|
return {
|
|
6237
5914
|
url: url.format(localVarUrlObj),
|
|
6238
5915
|
options: localVarRequestOptions,
|
|
@@ -6240,18 +5917,16 @@ exports.MeetingBotApiFetchParamCreator = function (configuration) {
|
|
|
6240
5917
|
},
|
|
6241
5918
|
/**
|
|
6242
5919
|
*
|
|
6243
|
-
* @
|
|
6244
|
-
* @param {string} roomId
|
|
5920
|
+
* @param {LureCancel} body
|
|
6245
5921
|
* @param {*} [options] Override http request option.
|
|
6246
5922
|
* @throws {RequiredError}
|
|
6247
5923
|
*/
|
|
6248
|
-
|
|
6249
|
-
// verify required parameter '
|
|
6250
|
-
if (
|
|
6251
|
-
throw new RequiredError('
|
|
5924
|
+
customerCancel(body, options = {}) {
|
|
5925
|
+
// verify required parameter 'body' is not null or undefined
|
|
5926
|
+
if (body === null || body === undefined) {
|
|
5927
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling customerCancel.');
|
|
6252
5928
|
}
|
|
6253
|
-
const localVarPath = `/meetings/bot/
|
|
6254
|
-
.replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
|
|
5929
|
+
const localVarPath = `/meetings/bot/cancel`;
|
|
6255
5930
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6256
5931
|
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
6257
5932
|
const localVarHeaderParameter = {};
|
|
@@ -6263,239 +5938,56 @@ exports.MeetingBotApiFetchParamCreator = function (configuration) {
|
|
|
6263
5938
|
: configuration.apiKey;
|
|
6264
5939
|
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6265
5940
|
}
|
|
5941
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6266
5942
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6267
5943
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6268
5944
|
delete localVarUrlObj.search;
|
|
6269
5945
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
5946
|
+
const needsSerialization = ("LureCancel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
5947
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
6270
5948
|
return {
|
|
6271
5949
|
url: url.format(localVarUrlObj),
|
|
6272
5950
|
options: localVarRequestOptions,
|
|
6273
5951
|
};
|
|
6274
5952
|
},
|
|
6275
|
-
};
|
|
6276
|
-
};
|
|
6277
|
-
/**
|
|
6278
|
-
* MeetingBotApi - functional programming interface
|
|
6279
|
-
* @export
|
|
6280
|
-
*/
|
|
6281
|
-
exports.MeetingBotApiFp = function (configuration) {
|
|
6282
|
-
return {
|
|
6283
|
-
/**
|
|
6284
|
-
*
|
|
6285
|
-
* @summary Recall meeting bot rom room
|
|
6286
|
-
* @param {string} roomId
|
|
6287
|
-
* @param {*} [options] Override http request option.
|
|
6288
|
-
* @throws {RequiredError}
|
|
6289
|
-
*/
|
|
6290
|
-
recallMeetingLure(roomId, options) {
|
|
6291
|
-
const localVarFetchArgs = exports.MeetingBotApiFetchParamCreator(configuration).recallMeetingLure(roomId, options);
|
|
6292
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
6293
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
6294
|
-
if (response.status >= 200 && response.status < 300) {
|
|
6295
|
-
return response;
|
|
6296
|
-
}
|
|
6297
|
-
else {
|
|
6298
|
-
throw response;
|
|
6299
|
-
}
|
|
6300
|
-
});
|
|
6301
|
-
};
|
|
6302
|
-
},
|
|
6303
5953
|
/**
|
|
6304
5954
|
*
|
|
6305
|
-
* @
|
|
6306
|
-
* @param {string} roomId
|
|
5955
|
+
* @param {LureSchedule} body
|
|
6307
5956
|
* @param {*} [options] Override http request option.
|
|
6308
5957
|
* @throws {RequiredError}
|
|
6309
5958
|
*/
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
5959
|
+
customerSchedule(body, options = {}) {
|
|
5960
|
+
// verify required parameter 'body' is not null or undefined
|
|
5961
|
+
if (body === null || body === undefined) {
|
|
5962
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling customerSchedule.');
|
|
5963
|
+
}
|
|
5964
|
+
const localVarPath = `/meetings/bot/schedule`;
|
|
5965
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
5966
|
+
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
5967
|
+
const localVarHeaderParameter = {};
|
|
5968
|
+
const localVarQueryParameter = {};
|
|
5969
|
+
// authentication apiKey required
|
|
5970
|
+
if (configuration && configuration.apiKey) {
|
|
5971
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
5972
|
+
? configuration.apiKey("X-Api-Key")
|
|
5973
|
+
: configuration.apiKey;
|
|
5974
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
5975
|
+
}
|
|
5976
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5977
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
5978
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
5979
|
+
delete localVarUrlObj.search;
|
|
5980
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
5981
|
+
const needsSerialization = ("LureSchedule" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
5982
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
5983
|
+
return {
|
|
5984
|
+
url: url.format(localVarUrlObj),
|
|
5985
|
+
options: localVarRequestOptions,
|
|
6321
5986
|
};
|
|
6322
5987
|
},
|
|
6323
|
-
};
|
|
6324
|
-
};
|
|
6325
|
-
/**
|
|
6326
|
-
* MeetingBotApi - factory interface
|
|
6327
|
-
* @export
|
|
6328
|
-
*/
|
|
6329
|
-
exports.MeetingBotApiFactory = function (configuration, fetch, basePath) {
|
|
6330
|
-
return {
|
|
6331
|
-
/**
|
|
6332
|
-
*
|
|
6333
|
-
* @summary Recall meeting bot rom room
|
|
6334
|
-
* @param {string} roomId
|
|
6335
|
-
* @param {*} [options] Override http request option.
|
|
6336
|
-
* @throws {RequiredError}
|
|
6337
|
-
*/
|
|
6338
|
-
recallMeetingLure(roomId, options) {
|
|
6339
|
-
return exports.MeetingBotApiFp(configuration).recallMeetingLure(roomId, options)(fetch, basePath);
|
|
6340
|
-
},
|
|
6341
5988
|
/**
|
|
6342
5989
|
*
|
|
6343
|
-
* @
|
|
6344
|
-
* @param {string} roomId
|
|
6345
|
-
* @param {*} [options] Override http request option.
|
|
6346
|
-
* @throws {RequiredError}
|
|
6347
|
-
*/
|
|
6348
|
-
sendMeetingLure(roomId, options) {
|
|
6349
|
-
return exports.MeetingBotApiFp(configuration).sendMeetingLure(roomId, options)(fetch, basePath);
|
|
6350
|
-
},
|
|
6351
|
-
};
|
|
6352
|
-
};
|
|
6353
|
-
/**
|
|
6354
|
-
* MeetingBotApi - object-oriented interface
|
|
6355
|
-
* @export
|
|
6356
|
-
* @class MeetingBotApi
|
|
6357
|
-
* @extends {BaseAPI}
|
|
6358
|
-
*/
|
|
6359
|
-
class MeetingBotApi extends BaseAPI {
|
|
6360
|
-
/**
|
|
6361
|
-
*
|
|
6362
|
-
* @summary Recall meeting bot rom room
|
|
6363
|
-
* @param {string} roomId
|
|
6364
|
-
* @param {*} [options] Override http request option.
|
|
6365
|
-
* @throws {RequiredError}
|
|
6366
|
-
* @memberof MeetingBotApi
|
|
6367
|
-
*/
|
|
6368
|
-
recallMeetingLure(roomId, options) {
|
|
6369
|
-
return exports.MeetingBotApiFp(this.configuration).recallMeetingLure(roomId, options)(this.fetch, this.basePath);
|
|
6370
|
-
}
|
|
6371
|
-
/**
|
|
6372
|
-
*
|
|
6373
|
-
* @summary Send meeting bot to room
|
|
6374
|
-
* @param {string} roomId
|
|
6375
|
-
* @param {*} [options] Override http request option.
|
|
6376
|
-
* @throws {RequiredError}
|
|
6377
|
-
* @memberof MeetingBotApi
|
|
6378
|
-
*/
|
|
6379
|
-
sendMeetingLure(roomId, options) {
|
|
6380
|
-
return exports.MeetingBotApiFp(this.configuration).sendMeetingLure(roomId, options)(this.fetch, this.basePath);
|
|
6381
|
-
}
|
|
6382
|
-
}
|
|
6383
|
-
exports.MeetingBotApi = MeetingBotApi;
|
|
6384
|
-
/**
|
|
6385
|
-
* MeetingsApi - fetch parameter creator
|
|
6386
|
-
* @export
|
|
6387
|
-
*/
|
|
6388
|
-
exports.MeetingsApiFetchParamCreator = function (configuration) {
|
|
6389
|
-
return {
|
|
6390
|
-
/**
|
|
6391
|
-
*
|
|
6392
|
-
* @summary Cancel a meeting
|
|
6393
|
-
* @param {CancelMeeting} body
|
|
6394
|
-
* @param {*} [options] Override http request option.
|
|
6395
|
-
* @throws {RequiredError}
|
|
6396
|
-
*/
|
|
6397
|
-
cancelMeeting(body, options = {}) {
|
|
6398
|
-
// verify required parameter 'body' is not null or undefined
|
|
6399
|
-
if (body === null || body === undefined) {
|
|
6400
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling cancelMeeting.');
|
|
6401
|
-
}
|
|
6402
|
-
const localVarPath = `/meetings/cancel`;
|
|
6403
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6404
|
-
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
6405
|
-
const localVarHeaderParameter = {};
|
|
6406
|
-
const localVarQueryParameter = {};
|
|
6407
|
-
// authentication apiKey required
|
|
6408
|
-
if (configuration && configuration.apiKey) {
|
|
6409
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6410
|
-
? configuration.apiKey("X-Api-Key")
|
|
6411
|
-
: configuration.apiKey;
|
|
6412
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6413
|
-
}
|
|
6414
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6415
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6416
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6417
|
-
delete localVarUrlObj.search;
|
|
6418
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
6419
|
-
const needsSerialization = ("CancelMeeting" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
6420
|
-
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
6421
|
-
return {
|
|
6422
|
-
url: url.format(localVarUrlObj),
|
|
6423
|
-
options: localVarRequestOptions,
|
|
6424
|
-
};
|
|
6425
|
-
},
|
|
6426
|
-
/**
|
|
6427
|
-
*
|
|
6428
|
-
* @param {LureCancel} body
|
|
6429
|
-
* @param {*} [options] Override http request option.
|
|
6430
|
-
* @throws {RequiredError}
|
|
6431
|
-
*/
|
|
6432
|
-
customerCancel(body, options = {}) {
|
|
6433
|
-
// verify required parameter 'body' is not null or undefined
|
|
6434
|
-
if (body === null || body === undefined) {
|
|
6435
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling customerCancel.');
|
|
6436
|
-
}
|
|
6437
|
-
const localVarPath = `/meetings/bot/cancel`;
|
|
6438
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6439
|
-
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
6440
|
-
const localVarHeaderParameter = {};
|
|
6441
|
-
const localVarQueryParameter = {};
|
|
6442
|
-
// authentication apiKey required
|
|
6443
|
-
if (configuration && configuration.apiKey) {
|
|
6444
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6445
|
-
? configuration.apiKey("X-Api-Key")
|
|
6446
|
-
: configuration.apiKey;
|
|
6447
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6448
|
-
}
|
|
6449
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6450
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6451
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6452
|
-
delete localVarUrlObj.search;
|
|
6453
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
6454
|
-
const needsSerialization = ("LureCancel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
6455
|
-
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
6456
|
-
return {
|
|
6457
|
-
url: url.format(localVarUrlObj),
|
|
6458
|
-
options: localVarRequestOptions,
|
|
6459
|
-
};
|
|
6460
|
-
},
|
|
6461
|
-
/**
|
|
6462
|
-
*
|
|
6463
|
-
* @param {LureSchedule} body
|
|
6464
|
-
* @param {*} [options] Override http request option.
|
|
6465
|
-
* @throws {RequiredError}
|
|
6466
|
-
*/
|
|
6467
|
-
customerSchedule(body, options = {}) {
|
|
6468
|
-
// verify required parameter 'body' is not null or undefined
|
|
6469
|
-
if (body === null || body === undefined) {
|
|
6470
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling customerSchedule.');
|
|
6471
|
-
}
|
|
6472
|
-
const localVarPath = `/meetings/bot/schedule`;
|
|
6473
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6474
|
-
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
6475
|
-
const localVarHeaderParameter = {};
|
|
6476
|
-
const localVarQueryParameter = {};
|
|
6477
|
-
// authentication apiKey required
|
|
6478
|
-
if (configuration && configuration.apiKey) {
|
|
6479
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6480
|
-
? configuration.apiKey("X-Api-Key")
|
|
6481
|
-
: configuration.apiKey;
|
|
6482
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6483
|
-
}
|
|
6484
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6485
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6486
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6487
|
-
delete localVarUrlObj.search;
|
|
6488
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
6489
|
-
const needsSerialization = ("LureSchedule" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
6490
|
-
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
6491
|
-
return {
|
|
6492
|
-
url: url.format(localVarUrlObj),
|
|
6493
|
-
options: localVarRequestOptions,
|
|
6494
|
-
};
|
|
6495
|
-
},
|
|
6496
|
-
/**
|
|
6497
|
-
*
|
|
6498
|
-
* @param {LureSlots} body
|
|
5990
|
+
* @param {LureSlots} body
|
|
6499
5991
|
* @param {*} [options] Override http request option.
|
|
6500
5992
|
* @throws {RequiredError}
|
|
6501
5993
|
*/
|
|
@@ -6654,6 +6146,40 @@ exports.MeetingsApiFetchParamCreator = function (configuration) {
|
|
|
6654
6146
|
options: localVarRequestOptions,
|
|
6655
6147
|
};
|
|
6656
6148
|
},
|
|
6149
|
+
/**
|
|
6150
|
+
*
|
|
6151
|
+
* @summary Recall meeting bot rom room
|
|
6152
|
+
* @param {string} roomId
|
|
6153
|
+
* @param {*} [options] Override http request option.
|
|
6154
|
+
* @throws {RequiredError}
|
|
6155
|
+
*/
|
|
6156
|
+
recallMeetingLure(roomId, options = {}) {
|
|
6157
|
+
// verify required parameter 'roomId' is not null or undefined
|
|
6158
|
+
if (roomId === null || roomId === undefined) {
|
|
6159
|
+
throw new RequiredError('roomId', 'Required parameter roomId was null or undefined when calling recallMeetingLure.');
|
|
6160
|
+
}
|
|
6161
|
+
const localVarPath = `/meetings/bot/lure/{roomId}`
|
|
6162
|
+
.replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
|
|
6163
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6164
|
+
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
6165
|
+
const localVarHeaderParameter = {};
|
|
6166
|
+
const localVarQueryParameter = {};
|
|
6167
|
+
// authentication apiKey required
|
|
6168
|
+
if (configuration && configuration.apiKey) {
|
|
6169
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6170
|
+
? configuration.apiKey("X-Api-Key")
|
|
6171
|
+
: configuration.apiKey;
|
|
6172
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6173
|
+
}
|
|
6174
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6175
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6176
|
+
delete localVarUrlObj.search;
|
|
6177
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
6178
|
+
return {
|
|
6179
|
+
url: url.format(localVarUrlObj),
|
|
6180
|
+
options: localVarRequestOptions,
|
|
6181
|
+
};
|
|
6182
|
+
},
|
|
6657
6183
|
/**
|
|
6658
6184
|
*
|
|
6659
6185
|
* @summary Reschedule a meeting
|
|
@@ -6798,6 +6324,40 @@ exports.MeetingsApiFetchParamCreator = function (configuration) {
|
|
|
6798
6324
|
options: localVarRequestOptions,
|
|
6799
6325
|
};
|
|
6800
6326
|
},
|
|
6327
|
+
/**
|
|
6328
|
+
*
|
|
6329
|
+
* @summary Send meeting bot to room
|
|
6330
|
+
* @param {string} roomId
|
|
6331
|
+
* @param {*} [options] Override http request option.
|
|
6332
|
+
* @throws {RequiredError}
|
|
6333
|
+
*/
|
|
6334
|
+
sendMeetingLure(roomId, options = {}) {
|
|
6335
|
+
// verify required parameter 'roomId' is not null or undefined
|
|
6336
|
+
if (roomId === null || roomId === undefined) {
|
|
6337
|
+
throw new RequiredError('roomId', 'Required parameter roomId was null or undefined when calling sendMeetingLure.');
|
|
6338
|
+
}
|
|
6339
|
+
const localVarPath = `/meetings/bot/lure/{roomId}`
|
|
6340
|
+
.replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
|
|
6341
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6342
|
+
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
6343
|
+
const localVarHeaderParameter = {};
|
|
6344
|
+
const localVarQueryParameter = {};
|
|
6345
|
+
// authentication apiKey required
|
|
6346
|
+
if (configuration && configuration.apiKey) {
|
|
6347
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6348
|
+
? configuration.apiKey("X-Api-Key")
|
|
6349
|
+
: configuration.apiKey;
|
|
6350
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6351
|
+
}
|
|
6352
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6353
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6354
|
+
delete localVarUrlObj.search;
|
|
6355
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
6356
|
+
return {
|
|
6357
|
+
url: url.format(localVarUrlObj),
|
|
6358
|
+
options: localVarRequestOptions,
|
|
6359
|
+
};
|
|
6360
|
+
},
|
|
6801
6361
|
};
|
|
6802
6362
|
};
|
|
6803
6363
|
/**
|
|
@@ -6948,6 +6508,26 @@ exports.MeetingsApiFp = function (configuration) {
|
|
|
6948
6508
|
});
|
|
6949
6509
|
};
|
|
6950
6510
|
},
|
|
6511
|
+
/**
|
|
6512
|
+
*
|
|
6513
|
+
* @summary Recall meeting bot rom room
|
|
6514
|
+
* @param {string} roomId
|
|
6515
|
+
* @param {*} [options] Override http request option.
|
|
6516
|
+
* @throws {RequiredError}
|
|
6517
|
+
*/
|
|
6518
|
+
recallMeetingLure(roomId, options) {
|
|
6519
|
+
const localVarFetchArgs = exports.MeetingsApiFetchParamCreator(configuration).recallMeetingLure(roomId, options);
|
|
6520
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
6521
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
6522
|
+
if (response.status >= 200 && response.status < 300) {
|
|
6523
|
+
return response;
|
|
6524
|
+
}
|
|
6525
|
+
else {
|
|
6526
|
+
throw response;
|
|
6527
|
+
}
|
|
6528
|
+
});
|
|
6529
|
+
};
|
|
6530
|
+
},
|
|
6951
6531
|
/**
|
|
6952
6532
|
*
|
|
6953
6533
|
* @summary Reschedule a meeting
|
|
@@ -7028,6 +6608,26 @@ exports.MeetingsApiFp = function (configuration) {
|
|
|
7028
6608
|
});
|
|
7029
6609
|
};
|
|
7030
6610
|
},
|
|
6611
|
+
/**
|
|
6612
|
+
*
|
|
6613
|
+
* @summary Send meeting bot to room
|
|
6614
|
+
* @param {string} roomId
|
|
6615
|
+
* @param {*} [options] Override http request option.
|
|
6616
|
+
* @throws {RequiredError}
|
|
6617
|
+
*/
|
|
6618
|
+
sendMeetingLure(roomId, options) {
|
|
6619
|
+
const localVarFetchArgs = exports.MeetingsApiFetchParamCreator(configuration).sendMeetingLure(roomId, options);
|
|
6620
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
6621
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
6622
|
+
if (response.status >= 200 && response.status < 300) {
|
|
6623
|
+
return response;
|
|
6624
|
+
}
|
|
6625
|
+
else {
|
|
6626
|
+
throw response;
|
|
6627
|
+
}
|
|
6628
|
+
});
|
|
6629
|
+
};
|
|
6630
|
+
},
|
|
7031
6631
|
};
|
|
7032
6632
|
};
|
|
7033
6633
|
/**
|
|
@@ -7110,13 +6710,23 @@ exports.MeetingsApiFactory = function (configuration, fetch, basePath) {
|
|
|
7110
6710
|
},
|
|
7111
6711
|
/**
|
|
7112
6712
|
*
|
|
7113
|
-
* @summary
|
|
7114
|
-
* @param {
|
|
6713
|
+
* @summary Recall meeting bot rom room
|
|
6714
|
+
* @param {string} roomId
|
|
7115
6715
|
* @param {*} [options] Override http request option.
|
|
7116
6716
|
* @throws {RequiredError}
|
|
7117
6717
|
*/
|
|
7118
|
-
|
|
7119
|
-
return exports.MeetingsApiFp(configuration).
|
|
6718
|
+
recallMeetingLure(roomId, options) {
|
|
6719
|
+
return exports.MeetingsApiFp(configuration).recallMeetingLure(roomId, options)(fetch, basePath);
|
|
6720
|
+
},
|
|
6721
|
+
/**
|
|
6722
|
+
*
|
|
6723
|
+
* @summary Reschedule a meeting
|
|
6724
|
+
* @param {RescheduleMeeting} body
|
|
6725
|
+
* @param {*} [options] Override http request option.
|
|
6726
|
+
* @throws {RequiredError}
|
|
6727
|
+
*/
|
|
6728
|
+
rescheduleMeeting(body, options) {
|
|
6729
|
+
return exports.MeetingsApiFp(configuration).rescheduleMeeting(body, options)(fetch, basePath);
|
|
7120
6730
|
},
|
|
7121
6731
|
/**
|
|
7122
6732
|
*
|
|
@@ -7148,6 +6758,16 @@ exports.MeetingsApiFactory = function (configuration, fetch, basePath) {
|
|
|
7148
6758
|
scheduleMeetingExternal(body, options) {
|
|
7149
6759
|
return exports.MeetingsApiFp(configuration).scheduleMeetingExternal(body, options)(fetch, basePath);
|
|
7150
6760
|
},
|
|
6761
|
+
/**
|
|
6762
|
+
*
|
|
6763
|
+
* @summary Send meeting bot to room
|
|
6764
|
+
* @param {string} roomId
|
|
6765
|
+
* @param {*} [options] Override http request option.
|
|
6766
|
+
* @throws {RequiredError}
|
|
6767
|
+
*/
|
|
6768
|
+
sendMeetingLure(roomId, options) {
|
|
6769
|
+
return exports.MeetingsApiFp(configuration).sendMeetingLure(roomId, options)(fetch, basePath);
|
|
6770
|
+
},
|
|
7151
6771
|
};
|
|
7152
6772
|
};
|
|
7153
6773
|
/**
|
|
@@ -7236,6 +6856,17 @@ class MeetingsApi extends BaseAPI {
|
|
|
7236
6856
|
getRoomMeetings(roomId, options) {
|
|
7237
6857
|
return exports.MeetingsApiFp(this.configuration).getRoomMeetings(roomId, options)(this.fetch, this.basePath);
|
|
7238
6858
|
}
|
|
6859
|
+
/**
|
|
6860
|
+
*
|
|
6861
|
+
* @summary Recall meeting bot rom room
|
|
6862
|
+
* @param {string} roomId
|
|
6863
|
+
* @param {*} [options] Override http request option.
|
|
6864
|
+
* @throws {RequiredError}
|
|
6865
|
+
* @memberof MeetingsApi
|
|
6866
|
+
*/
|
|
6867
|
+
recallMeetingLure(roomId, options) {
|
|
6868
|
+
return exports.MeetingsApiFp(this.configuration).recallMeetingLure(roomId, options)(this.fetch, this.basePath);
|
|
6869
|
+
}
|
|
7239
6870
|
/**
|
|
7240
6871
|
*
|
|
7241
6872
|
* @summary Reschedule a meeting
|
|
@@ -7280,6 +6911,17 @@ class MeetingsApi extends BaseAPI {
|
|
|
7280
6911
|
scheduleMeetingExternal(body, options) {
|
|
7281
6912
|
return exports.MeetingsApiFp(this.configuration).scheduleMeetingExternal(body, options)(this.fetch, this.basePath);
|
|
7282
6913
|
}
|
|
6914
|
+
/**
|
|
6915
|
+
*
|
|
6916
|
+
* @summary Send meeting bot to room
|
|
6917
|
+
* @param {string} roomId
|
|
6918
|
+
* @param {*} [options] Override http request option.
|
|
6919
|
+
* @throws {RequiredError}
|
|
6920
|
+
* @memberof MeetingsApi
|
|
6921
|
+
*/
|
|
6922
|
+
sendMeetingLure(roomId, options) {
|
|
6923
|
+
return exports.MeetingsApiFp(this.configuration).sendMeetingLure(roomId, options)(this.fetch, this.basePath);
|
|
6924
|
+
}
|
|
7283
6925
|
}
|
|
7284
6926
|
exports.MeetingsApi = MeetingsApi;
|
|
7285
6927
|
/**
|
|
@@ -8783,34 +8425,41 @@ class NLUApi extends BaseAPI {
|
|
|
8783
8425
|
}
|
|
8784
8426
|
exports.NLUApi = NLUApi;
|
|
8785
8427
|
/**
|
|
8786
|
-
*
|
|
8428
|
+
* OAuthApi - fetch parameter creator
|
|
8787
8429
|
* @export
|
|
8788
8430
|
*/
|
|
8789
|
-
exports.
|
|
8431
|
+
exports.OAuthApiFetchParamCreator = function (configuration) {
|
|
8790
8432
|
return {
|
|
8791
8433
|
/**
|
|
8792
8434
|
*
|
|
8793
|
-
* @summary
|
|
8794
|
-
* @param {
|
|
8435
|
+
* @summary Create oauth config
|
|
8436
|
+
* @param {OauthConfigCreateForm} body
|
|
8795
8437
|
* @param {*} [options] Override http request option.
|
|
8796
8438
|
* @throws {RequiredError}
|
|
8797
8439
|
*/
|
|
8798
|
-
|
|
8440
|
+
createOAuthConfig(body, options = {}) {
|
|
8799
8441
|
// verify required parameter 'body' is not null or undefined
|
|
8800
8442
|
if (body === null || body === undefined) {
|
|
8801
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
8443
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createOAuthConfig.');
|
|
8802
8444
|
}
|
|
8803
|
-
const localVarPath = `/
|
|
8445
|
+
const localVarPath = `/oauth-config`;
|
|
8804
8446
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
8805
8447
|
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
8806
8448
|
const localVarHeaderParameter = {};
|
|
8807
8449
|
const localVarQueryParameter = {};
|
|
8450
|
+
// authentication apiKey required
|
|
8451
|
+
if (configuration && configuration.apiKey) {
|
|
8452
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8453
|
+
? configuration.apiKey("X-Api-Key")
|
|
8454
|
+
: configuration.apiKey;
|
|
8455
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
8456
|
+
}
|
|
8808
8457
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8809
8458
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8810
8459
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8811
8460
|
delete localVarUrlObj.search;
|
|
8812
8461
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
8813
|
-
const needsSerialization = ("
|
|
8462
|
+
const needsSerialization = ("OauthConfigCreateForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
8814
8463
|
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
8815
8464
|
return {
|
|
8816
8465
|
url: url.format(localVarUrlObj),
|
|
@@ -8819,16 +8468,51 @@ exports.OIDCApiFetchParamCreator = function (configuration) {
|
|
|
8819
8468
|
},
|
|
8820
8469
|
/**
|
|
8821
8470
|
*
|
|
8822
|
-
* @summary
|
|
8471
|
+
* @summary Delete oauth config
|
|
8823
8472
|
* @param {*} [options] Override http request option.
|
|
8824
8473
|
* @throws {RequiredError}
|
|
8825
8474
|
*/
|
|
8826
|
-
|
|
8827
|
-
const localVarPath = `/
|
|
8475
|
+
deleteOAuthConfig(options = {}) {
|
|
8476
|
+
const localVarPath = `/oauth-config`;
|
|
8477
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
8478
|
+
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
8479
|
+
const localVarHeaderParameter = {};
|
|
8480
|
+
const localVarQueryParameter = {};
|
|
8481
|
+
// authentication apiKey required
|
|
8482
|
+
if (configuration && configuration.apiKey) {
|
|
8483
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8484
|
+
? configuration.apiKey("X-Api-Key")
|
|
8485
|
+
: configuration.apiKey;
|
|
8486
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
8487
|
+
}
|
|
8488
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8489
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8490
|
+
delete localVarUrlObj.search;
|
|
8491
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
8492
|
+
return {
|
|
8493
|
+
url: url.format(localVarUrlObj),
|
|
8494
|
+
options: localVarRequestOptions,
|
|
8495
|
+
};
|
|
8496
|
+
},
|
|
8497
|
+
/**
|
|
8498
|
+
*
|
|
8499
|
+
* @summary Get oauth config
|
|
8500
|
+
* @param {*} [options] Override http request option.
|
|
8501
|
+
* @throws {RequiredError}
|
|
8502
|
+
*/
|
|
8503
|
+
getOAuthConfig(options = {}) {
|
|
8504
|
+
const localVarPath = `/oauth-config`;
|
|
8828
8505
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
8829
8506
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
8830
8507
|
const localVarHeaderParameter = {};
|
|
8831
8508
|
const localVarQueryParameter = {};
|
|
8509
|
+
// authentication apiKey required
|
|
8510
|
+
if (configuration && configuration.apiKey) {
|
|
8511
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8512
|
+
? configuration.apiKey("X-Api-Key")
|
|
8513
|
+
: configuration.apiKey;
|
|
8514
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
8515
|
+
}
|
|
8832
8516
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8833
8517
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8834
8518
|
delete localVarUrlObj.search;
|
|
@@ -8840,28 +8524,35 @@ exports.OIDCApiFetchParamCreator = function (configuration) {
|
|
|
8840
8524
|
},
|
|
8841
8525
|
/**
|
|
8842
8526
|
*
|
|
8843
|
-
* @summary
|
|
8844
|
-
* @param {
|
|
8527
|
+
* @summary Patch oauth config
|
|
8528
|
+
* @param {OauthConfigPatchForm} body
|
|
8845
8529
|
* @param {*} [options] Override http request option.
|
|
8846
8530
|
* @throws {RequiredError}
|
|
8847
8531
|
*/
|
|
8848
|
-
|
|
8849
|
-
// verify required parameter '
|
|
8850
|
-
if (
|
|
8851
|
-
throw new RequiredError('
|
|
8532
|
+
patchOAuthConfig(body, options = {}) {
|
|
8533
|
+
// verify required parameter 'body' is not null or undefined
|
|
8534
|
+
if (body === null || body === undefined) {
|
|
8535
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchOAuthConfig.');
|
|
8852
8536
|
}
|
|
8853
|
-
const localVarPath = `/
|
|
8537
|
+
const localVarPath = `/oauth-config`;
|
|
8854
8538
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
8855
|
-
const localVarRequestOptions = Object.assign({ method: '
|
|
8539
|
+
const localVarRequestOptions = Object.assign({ method: 'PATCH' }, options);
|
|
8856
8540
|
const localVarHeaderParameter = {};
|
|
8857
8541
|
const localVarQueryParameter = {};
|
|
8858
|
-
|
|
8859
|
-
|
|
8542
|
+
// authentication apiKey required
|
|
8543
|
+
if (configuration && configuration.apiKey) {
|
|
8544
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8545
|
+
? configuration.apiKey("X-Api-Key")
|
|
8546
|
+
: configuration.apiKey;
|
|
8547
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
8860
8548
|
}
|
|
8549
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8861
8550
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8862
8551
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8863
8552
|
delete localVarUrlObj.search;
|
|
8864
8553
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
8554
|
+
const needsSerialization = ("OauthConfigPatchForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
8555
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
8865
8556
|
return {
|
|
8866
8557
|
url: url.format(localVarUrlObj),
|
|
8867
8558
|
options: localVarRequestOptions,
|
|
@@ -8870,24 +8561,24 @@ exports.OIDCApiFetchParamCreator = function (configuration) {
|
|
|
8870
8561
|
};
|
|
8871
8562
|
};
|
|
8872
8563
|
/**
|
|
8873
|
-
*
|
|
8564
|
+
* OAuthApi - functional programming interface
|
|
8874
8565
|
* @export
|
|
8875
8566
|
*/
|
|
8876
|
-
exports.
|
|
8567
|
+
exports.OAuthApiFp = function (configuration) {
|
|
8877
8568
|
return {
|
|
8878
8569
|
/**
|
|
8879
8570
|
*
|
|
8880
|
-
* @summary
|
|
8881
|
-
* @param {
|
|
8571
|
+
* @summary Create oauth config
|
|
8572
|
+
* @param {OauthConfigCreateForm} body
|
|
8882
8573
|
* @param {*} [options] Override http request option.
|
|
8883
8574
|
* @throws {RequiredError}
|
|
8884
8575
|
*/
|
|
8885
|
-
|
|
8886
|
-
const localVarFetchArgs = exports.
|
|
8576
|
+
createOAuthConfig(body, options) {
|
|
8577
|
+
const localVarFetchArgs = exports.OAuthApiFetchParamCreator(configuration).createOAuthConfig(body, options);
|
|
8887
8578
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
8888
8579
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
8889
8580
|
if (response.status >= 200 && response.status < 300) {
|
|
8890
|
-
return response
|
|
8581
|
+
return response;
|
|
8891
8582
|
}
|
|
8892
8583
|
else {
|
|
8893
8584
|
throw response;
|
|
@@ -8897,16 +8588,16 @@ exports.OIDCApiFp = function (configuration) {
|
|
|
8897
8588
|
},
|
|
8898
8589
|
/**
|
|
8899
8590
|
*
|
|
8900
|
-
* @summary
|
|
8591
|
+
* @summary Delete oauth config
|
|
8901
8592
|
* @param {*} [options] Override http request option.
|
|
8902
8593
|
* @throws {RequiredError}
|
|
8903
8594
|
*/
|
|
8904
|
-
|
|
8905
|
-
const localVarFetchArgs = exports.
|
|
8595
|
+
deleteOAuthConfig(options) {
|
|
8596
|
+
const localVarFetchArgs = exports.OAuthApiFetchParamCreator(configuration).deleteOAuthConfig(options);
|
|
8906
8597
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
8907
8598
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
8908
8599
|
if (response.status >= 200 && response.status < 300) {
|
|
8909
|
-
return response
|
|
8600
|
+
return response;
|
|
8910
8601
|
}
|
|
8911
8602
|
else {
|
|
8912
8603
|
throw response;
|
|
@@ -8916,13 +8607,12 @@ exports.OIDCApiFp = function (configuration) {
|
|
|
8916
8607
|
},
|
|
8917
8608
|
/**
|
|
8918
8609
|
*
|
|
8919
|
-
* @summary
|
|
8920
|
-
* @param {string} orgId orgId
|
|
8610
|
+
* @summary Get oauth config
|
|
8921
8611
|
* @param {*} [options] Override http request option.
|
|
8922
8612
|
* @throws {RequiredError}
|
|
8923
8613
|
*/
|
|
8924
|
-
|
|
8925
|
-
const localVarFetchArgs = exports.
|
|
8614
|
+
getOAuthConfig(options) {
|
|
8615
|
+
const localVarFetchArgs = exports.OAuthApiFetchParamCreator(configuration).getOAuthConfig(options);
|
|
8926
8616
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
8927
8617
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
8928
8618
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -8934,122 +8624,154 @@ exports.OIDCApiFp = function (configuration) {
|
|
|
8934
8624
|
});
|
|
8935
8625
|
};
|
|
8936
8626
|
},
|
|
8627
|
+
/**
|
|
8628
|
+
*
|
|
8629
|
+
* @summary Patch oauth config
|
|
8630
|
+
* @param {OauthConfigPatchForm} body
|
|
8631
|
+
* @param {*} [options] Override http request option.
|
|
8632
|
+
* @throws {RequiredError}
|
|
8633
|
+
*/
|
|
8634
|
+
patchOAuthConfig(body, options) {
|
|
8635
|
+
const localVarFetchArgs = exports.OAuthApiFetchParamCreator(configuration).patchOAuthConfig(body, options);
|
|
8636
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
8637
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
8638
|
+
if (response.status >= 200 && response.status < 300) {
|
|
8639
|
+
return response;
|
|
8640
|
+
}
|
|
8641
|
+
else {
|
|
8642
|
+
throw response;
|
|
8643
|
+
}
|
|
8644
|
+
});
|
|
8645
|
+
};
|
|
8646
|
+
},
|
|
8937
8647
|
};
|
|
8938
8648
|
};
|
|
8939
8649
|
/**
|
|
8940
|
-
*
|
|
8650
|
+
* OAuthApi - factory interface
|
|
8941
8651
|
* @export
|
|
8942
8652
|
*/
|
|
8943
|
-
exports.
|
|
8653
|
+
exports.OAuthApiFactory = function (configuration, fetch, basePath) {
|
|
8944
8654
|
return {
|
|
8945
8655
|
/**
|
|
8946
8656
|
*
|
|
8947
|
-
* @summary
|
|
8948
|
-
* @param {
|
|
8657
|
+
* @summary Create oauth config
|
|
8658
|
+
* @param {OauthConfigCreateForm} body
|
|
8949
8659
|
* @param {*} [options] Override http request option.
|
|
8950
8660
|
* @throws {RequiredError}
|
|
8951
8661
|
*/
|
|
8952
|
-
|
|
8953
|
-
return exports.
|
|
8662
|
+
createOAuthConfig(body, options) {
|
|
8663
|
+
return exports.OAuthApiFp(configuration).createOAuthConfig(body, options)(fetch, basePath);
|
|
8954
8664
|
},
|
|
8955
8665
|
/**
|
|
8956
8666
|
*
|
|
8957
|
-
* @summary
|
|
8667
|
+
* @summary Delete oauth config
|
|
8958
8668
|
* @param {*} [options] Override http request option.
|
|
8959
8669
|
* @throws {RequiredError}
|
|
8960
8670
|
*/
|
|
8961
|
-
|
|
8962
|
-
return exports.
|
|
8671
|
+
deleteOAuthConfig(options) {
|
|
8672
|
+
return exports.OAuthApiFp(configuration).deleteOAuthConfig(options)(fetch, basePath);
|
|
8963
8673
|
},
|
|
8964
8674
|
/**
|
|
8965
8675
|
*
|
|
8966
|
-
* @summary
|
|
8967
|
-
* @param {string} orgId orgId
|
|
8676
|
+
* @summary Get oauth config
|
|
8968
8677
|
* @param {*} [options] Override http request option.
|
|
8969
8678
|
* @throws {RequiredError}
|
|
8970
8679
|
*/
|
|
8971
|
-
|
|
8972
|
-
return exports.
|
|
8680
|
+
getOAuthConfig(options) {
|
|
8681
|
+
return exports.OAuthApiFp(configuration).getOAuthConfig(options)(fetch, basePath);
|
|
8682
|
+
},
|
|
8683
|
+
/**
|
|
8684
|
+
*
|
|
8685
|
+
* @summary Patch oauth config
|
|
8686
|
+
* @param {OauthConfigPatchForm} body
|
|
8687
|
+
* @param {*} [options] Override http request option.
|
|
8688
|
+
* @throws {RequiredError}
|
|
8689
|
+
*/
|
|
8690
|
+
patchOAuthConfig(body, options) {
|
|
8691
|
+
return exports.OAuthApiFp(configuration).patchOAuthConfig(body, options)(fetch, basePath);
|
|
8973
8692
|
},
|
|
8974
8693
|
};
|
|
8975
8694
|
};
|
|
8976
8695
|
/**
|
|
8977
|
-
*
|
|
8696
|
+
* OAuthApi - object-oriented interface
|
|
8978
8697
|
* @export
|
|
8979
|
-
* @class
|
|
8698
|
+
* @class OAuthApi
|
|
8980
8699
|
* @extends {BaseAPI}
|
|
8981
8700
|
*/
|
|
8982
|
-
class
|
|
8701
|
+
class OAuthApi extends BaseAPI {
|
|
8983
8702
|
/**
|
|
8984
8703
|
*
|
|
8985
|
-
* @summary
|
|
8986
|
-
* @param {
|
|
8704
|
+
* @summary Create oauth config
|
|
8705
|
+
* @param {OauthConfigCreateForm} body
|
|
8987
8706
|
* @param {*} [options] Override http request option.
|
|
8988
8707
|
* @throws {RequiredError}
|
|
8989
|
-
* @memberof
|
|
8708
|
+
* @memberof OAuthApi
|
|
8990
8709
|
*/
|
|
8991
|
-
|
|
8992
|
-
return exports.
|
|
8710
|
+
createOAuthConfig(body, options) {
|
|
8711
|
+
return exports.OAuthApiFp(this.configuration).createOAuthConfig(body, options)(this.fetch, this.basePath);
|
|
8993
8712
|
}
|
|
8994
8713
|
/**
|
|
8995
8714
|
*
|
|
8996
|
-
* @summary
|
|
8715
|
+
* @summary Delete oauth config
|
|
8997
8716
|
* @param {*} [options] Override http request option.
|
|
8998
8717
|
* @throws {RequiredError}
|
|
8999
|
-
* @memberof
|
|
8718
|
+
* @memberof OAuthApi
|
|
9000
8719
|
*/
|
|
9001
|
-
|
|
9002
|
-
return exports.
|
|
8720
|
+
deleteOAuthConfig(options) {
|
|
8721
|
+
return exports.OAuthApiFp(this.configuration).deleteOAuthConfig(options)(this.fetch, this.basePath);
|
|
9003
8722
|
}
|
|
9004
8723
|
/**
|
|
9005
8724
|
*
|
|
9006
|
-
* @summary
|
|
9007
|
-
* @param {string} orgId orgId
|
|
8725
|
+
* @summary Get oauth config
|
|
9008
8726
|
* @param {*} [options] Override http request option.
|
|
9009
8727
|
* @throws {RequiredError}
|
|
9010
|
-
* @memberof
|
|
8728
|
+
* @memberof OAuthApi
|
|
9011
8729
|
*/
|
|
9012
|
-
|
|
9013
|
-
return exports.
|
|
8730
|
+
getOAuthConfig(options) {
|
|
8731
|
+
return exports.OAuthApiFp(this.configuration).getOAuthConfig(options)(this.fetch, this.basePath);
|
|
8732
|
+
}
|
|
8733
|
+
/**
|
|
8734
|
+
*
|
|
8735
|
+
* @summary Patch oauth config
|
|
8736
|
+
* @param {OauthConfigPatchForm} body
|
|
8737
|
+
* @param {*} [options] Override http request option.
|
|
8738
|
+
* @throws {RequiredError}
|
|
8739
|
+
* @memberof OAuthApi
|
|
8740
|
+
*/
|
|
8741
|
+
patchOAuthConfig(body, options) {
|
|
8742
|
+
return exports.OAuthApiFp(this.configuration).patchOAuthConfig(body, options)(this.fetch, this.basePath);
|
|
9014
8743
|
}
|
|
9015
8744
|
}
|
|
9016
|
-
exports.
|
|
8745
|
+
exports.OAuthApi = OAuthApi;
|
|
9017
8746
|
/**
|
|
9018
|
-
*
|
|
8747
|
+
* OIDCApi - fetch parameter creator
|
|
9019
8748
|
* @export
|
|
9020
8749
|
*/
|
|
9021
|
-
exports.
|
|
8750
|
+
exports.OIDCApiFetchParamCreator = function (configuration) {
|
|
9022
8751
|
return {
|
|
9023
8752
|
/**
|
|
9024
8753
|
*
|
|
9025
|
-
* @summary
|
|
9026
|
-
* @param {
|
|
8754
|
+
* @summary authorize with code
|
|
8755
|
+
* @param {CodeAuthorizationForm} body
|
|
9027
8756
|
* @param {*} [options] Override http request option.
|
|
9028
8757
|
* @throws {RequiredError}
|
|
9029
8758
|
*/
|
|
9030
|
-
|
|
8759
|
+
authorizeOpenIdConnect(body, options = {}) {
|
|
9031
8760
|
// verify required parameter 'body' is not null or undefined
|
|
9032
8761
|
if (body === null || body === undefined) {
|
|
9033
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
8762
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling authorizeOpenIdConnect.');
|
|
9034
8763
|
}
|
|
9035
|
-
const localVarPath = `/
|
|
8764
|
+
const localVarPath = `/oidc/code-authorization`;
|
|
9036
8765
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
9037
8766
|
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
9038
8767
|
const localVarHeaderParameter = {};
|
|
9039
8768
|
const localVarQueryParameter = {};
|
|
9040
|
-
// authentication apiKey required
|
|
9041
|
-
if (configuration && configuration.apiKey) {
|
|
9042
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
9043
|
-
? configuration.apiKey("X-Api-Key")
|
|
9044
|
-
: configuration.apiKey;
|
|
9045
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
9046
|
-
}
|
|
9047
8769
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9048
8770
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
9049
8771
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
9050
8772
|
delete localVarUrlObj.search;
|
|
9051
8773
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
9052
|
-
const needsSerialization = ("
|
|
8774
|
+
const needsSerialization = ("CodeAuthorizationForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
9053
8775
|
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
9054
8776
|
return {
|
|
9055
8777
|
url: url.format(localVarUrlObj),
|
|
@@ -9058,51 +8780,16 @@ exports.OauthApiFetchParamCreator = function (configuration) {
|
|
|
9058
8780
|
},
|
|
9059
8781
|
/**
|
|
9060
8782
|
*
|
|
9061
|
-
* @summary
|
|
9062
|
-
* @param {*} [options] Override http request option.
|
|
9063
|
-
* @throws {RequiredError}
|
|
9064
|
-
*/
|
|
9065
|
-
deleteOAuthConfig(options = {}) {
|
|
9066
|
-
const localVarPath = `/oauth-config`;
|
|
9067
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
9068
|
-
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
9069
|
-
const localVarHeaderParameter = {};
|
|
9070
|
-
const localVarQueryParameter = {};
|
|
9071
|
-
// authentication apiKey required
|
|
9072
|
-
if (configuration && configuration.apiKey) {
|
|
9073
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
9074
|
-
? configuration.apiKey("X-Api-Key")
|
|
9075
|
-
: configuration.apiKey;
|
|
9076
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
9077
|
-
}
|
|
9078
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
9079
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
9080
|
-
delete localVarUrlObj.search;
|
|
9081
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
9082
|
-
return {
|
|
9083
|
-
url: url.format(localVarUrlObj),
|
|
9084
|
-
options: localVarRequestOptions,
|
|
9085
|
-
};
|
|
9086
|
-
},
|
|
9087
|
-
/**
|
|
9088
|
-
*
|
|
9089
|
-
* @summary Get oauth config
|
|
8783
|
+
* @summary get nonce
|
|
9090
8784
|
* @param {*} [options] Override http request option.
|
|
9091
8785
|
* @throws {RequiredError}
|
|
9092
8786
|
*/
|
|
9093
|
-
|
|
9094
|
-
const localVarPath = `/
|
|
8787
|
+
getNonce(options = {}) {
|
|
8788
|
+
const localVarPath = `/oidc/nonce`;
|
|
9095
8789
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
9096
8790
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
9097
8791
|
const localVarHeaderParameter = {};
|
|
9098
8792
|
const localVarQueryParameter = {};
|
|
9099
|
-
// authentication apiKey required
|
|
9100
|
-
if (configuration && configuration.apiKey) {
|
|
9101
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
9102
|
-
? configuration.apiKey("X-Api-Key")
|
|
9103
|
-
: configuration.apiKey;
|
|
9104
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
9105
|
-
}
|
|
9106
8793
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
9107
8794
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
9108
8795
|
delete localVarUrlObj.search;
|
|
@@ -9114,35 +8801,28 @@ exports.OauthApiFetchParamCreator = function (configuration) {
|
|
|
9114
8801
|
},
|
|
9115
8802
|
/**
|
|
9116
8803
|
*
|
|
9117
|
-
* @summary
|
|
9118
|
-
* @param {
|
|
8804
|
+
* @summary unauthorized endpoint for org's oidc configuration
|
|
8805
|
+
* @param {string} orgId orgId
|
|
9119
8806
|
* @param {*} [options] Override http request option.
|
|
9120
8807
|
* @throws {RequiredError}
|
|
9121
8808
|
*/
|
|
9122
|
-
|
|
9123
|
-
// verify required parameter '
|
|
9124
|
-
if (
|
|
9125
|
-
throw new RequiredError('
|
|
8809
|
+
getOpenIDConnectConfigUnauthorized(orgId, options = {}) {
|
|
8810
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
8811
|
+
if (orgId === null || orgId === undefined) {
|
|
8812
|
+
throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling getOpenIDConnectConfigUnauthorized.');
|
|
9126
8813
|
}
|
|
9127
|
-
const localVarPath = `/
|
|
8814
|
+
const localVarPath = `/oidc-configs`;
|
|
9128
8815
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
9129
|
-
const localVarRequestOptions = Object.assign({ method: '
|
|
8816
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
9130
8817
|
const localVarHeaderParameter = {};
|
|
9131
8818
|
const localVarQueryParameter = {};
|
|
9132
|
-
|
|
9133
|
-
|
|
9134
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
9135
|
-
? configuration.apiKey("X-Api-Key")
|
|
9136
|
-
: configuration.apiKey;
|
|
9137
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
8819
|
+
if (orgId !== undefined) {
|
|
8820
|
+
localVarQueryParameter['orgId'] = orgId;
|
|
9138
8821
|
}
|
|
9139
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9140
8822
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
9141
8823
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
9142
8824
|
delete localVarUrlObj.search;
|
|
9143
8825
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
9144
|
-
const needsSerialization = ("OauthConfigPatchForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
9145
|
-
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
9146
8826
|
return {
|
|
9147
8827
|
url: url.format(localVarUrlObj),
|
|
9148
8828
|
options: localVarRequestOptions,
|
|
@@ -9151,43 +8831,24 @@ exports.OauthApiFetchParamCreator = function (configuration) {
|
|
|
9151
8831
|
};
|
|
9152
8832
|
};
|
|
9153
8833
|
/**
|
|
9154
|
-
*
|
|
8834
|
+
* OIDCApi - functional programming interface
|
|
9155
8835
|
* @export
|
|
9156
8836
|
*/
|
|
9157
|
-
exports.
|
|
8837
|
+
exports.OIDCApiFp = function (configuration) {
|
|
9158
8838
|
return {
|
|
9159
8839
|
/**
|
|
9160
8840
|
*
|
|
9161
|
-
* @summary
|
|
9162
|
-
* @param {
|
|
9163
|
-
* @param {*} [options] Override http request option.
|
|
9164
|
-
* @throws {RequiredError}
|
|
9165
|
-
*/
|
|
9166
|
-
createOAuthConfig(body, options) {
|
|
9167
|
-
const localVarFetchArgs = exports.OauthApiFetchParamCreator(configuration).createOAuthConfig(body, options);
|
|
9168
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
9169
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
9170
|
-
if (response.status >= 200 && response.status < 300) {
|
|
9171
|
-
return response;
|
|
9172
|
-
}
|
|
9173
|
-
else {
|
|
9174
|
-
throw response;
|
|
9175
|
-
}
|
|
9176
|
-
});
|
|
9177
|
-
};
|
|
9178
|
-
},
|
|
9179
|
-
/**
|
|
9180
|
-
*
|
|
9181
|
-
* @summary Delete oauth config
|
|
8841
|
+
* @summary authorize with code
|
|
8842
|
+
* @param {CodeAuthorizationForm} body
|
|
9182
8843
|
* @param {*} [options] Override http request option.
|
|
9183
8844
|
* @throws {RequiredError}
|
|
9184
8845
|
*/
|
|
9185
|
-
|
|
9186
|
-
const localVarFetchArgs = exports.
|
|
8846
|
+
authorizeOpenIdConnect(body, options) {
|
|
8847
|
+
const localVarFetchArgs = exports.OIDCApiFetchParamCreator(configuration).authorizeOpenIdConnect(body, options);
|
|
9187
8848
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
9188
8849
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
9189
8850
|
if (response.status >= 200 && response.status < 300) {
|
|
9190
|
-
return response;
|
|
8851
|
+
return response.json();
|
|
9191
8852
|
}
|
|
9192
8853
|
else {
|
|
9193
8854
|
throw response;
|
|
@@ -9197,12 +8858,12 @@ exports.OauthApiFp = function (configuration) {
|
|
|
9197
8858
|
},
|
|
9198
8859
|
/**
|
|
9199
8860
|
*
|
|
9200
|
-
* @summary
|
|
8861
|
+
* @summary get nonce
|
|
9201
8862
|
* @param {*} [options] Override http request option.
|
|
9202
8863
|
* @throws {RequiredError}
|
|
9203
8864
|
*/
|
|
9204
|
-
|
|
9205
|
-
const localVarFetchArgs = exports.
|
|
8865
|
+
getNonce(options) {
|
|
8866
|
+
const localVarFetchArgs = exports.OIDCApiFetchParamCreator(configuration).getNonce(options);
|
|
9206
8867
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
9207
8868
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
9208
8869
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -9216,17 +8877,17 @@ exports.OauthApiFp = function (configuration) {
|
|
|
9216
8877
|
},
|
|
9217
8878
|
/**
|
|
9218
8879
|
*
|
|
9219
|
-
* @summary
|
|
9220
|
-
* @param {
|
|
8880
|
+
* @summary unauthorized endpoint for org's oidc configuration
|
|
8881
|
+
* @param {string} orgId orgId
|
|
9221
8882
|
* @param {*} [options] Override http request option.
|
|
9222
8883
|
* @throws {RequiredError}
|
|
9223
8884
|
*/
|
|
9224
|
-
|
|
9225
|
-
const localVarFetchArgs = exports.
|
|
8885
|
+
getOpenIDConnectConfigUnauthorized(orgId, options) {
|
|
8886
|
+
const localVarFetchArgs = exports.OIDCApiFetchParamCreator(configuration).getOpenIDConnectConfigUnauthorized(orgId, options);
|
|
9226
8887
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
9227
8888
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
9228
8889
|
if (response.status >= 200 && response.status < 300) {
|
|
9229
|
-
return response;
|
|
8890
|
+
return response.json();
|
|
9230
8891
|
}
|
|
9231
8892
|
else {
|
|
9232
8893
|
throw response;
|
|
@@ -9237,102 +8898,83 @@ exports.OauthApiFp = function (configuration) {
|
|
|
9237
8898
|
};
|
|
9238
8899
|
};
|
|
9239
8900
|
/**
|
|
9240
|
-
*
|
|
8901
|
+
* OIDCApi - factory interface
|
|
9241
8902
|
* @export
|
|
9242
8903
|
*/
|
|
9243
|
-
exports.
|
|
8904
|
+
exports.OIDCApiFactory = function (configuration, fetch, basePath) {
|
|
9244
8905
|
return {
|
|
9245
8906
|
/**
|
|
9246
8907
|
*
|
|
9247
|
-
* @summary
|
|
9248
|
-
* @param {
|
|
9249
|
-
* @param {*} [options] Override http request option.
|
|
9250
|
-
* @throws {RequiredError}
|
|
9251
|
-
*/
|
|
9252
|
-
createOAuthConfig(body, options) {
|
|
9253
|
-
return exports.OauthApiFp(configuration).createOAuthConfig(body, options)(fetch, basePath);
|
|
9254
|
-
},
|
|
9255
|
-
/**
|
|
9256
|
-
*
|
|
9257
|
-
* @summary Delete oauth config
|
|
8908
|
+
* @summary authorize with code
|
|
8909
|
+
* @param {CodeAuthorizationForm} body
|
|
9258
8910
|
* @param {*} [options] Override http request option.
|
|
9259
8911
|
* @throws {RequiredError}
|
|
9260
8912
|
*/
|
|
9261
|
-
|
|
9262
|
-
return exports.
|
|
8913
|
+
authorizeOpenIdConnect(body, options) {
|
|
8914
|
+
return exports.OIDCApiFp(configuration).authorizeOpenIdConnect(body, options)(fetch, basePath);
|
|
9263
8915
|
},
|
|
9264
8916
|
/**
|
|
9265
8917
|
*
|
|
9266
|
-
* @summary
|
|
8918
|
+
* @summary get nonce
|
|
9267
8919
|
* @param {*} [options] Override http request option.
|
|
9268
8920
|
* @throws {RequiredError}
|
|
9269
8921
|
*/
|
|
9270
|
-
|
|
9271
|
-
return exports.
|
|
8922
|
+
getNonce(options) {
|
|
8923
|
+
return exports.OIDCApiFp(configuration).getNonce(options)(fetch, basePath);
|
|
9272
8924
|
},
|
|
9273
8925
|
/**
|
|
9274
8926
|
*
|
|
9275
|
-
* @summary
|
|
9276
|
-
* @param {
|
|
8927
|
+
* @summary unauthorized endpoint for org's oidc configuration
|
|
8928
|
+
* @param {string} orgId orgId
|
|
9277
8929
|
* @param {*} [options] Override http request option.
|
|
9278
8930
|
* @throws {RequiredError}
|
|
9279
8931
|
*/
|
|
9280
|
-
|
|
9281
|
-
return exports.
|
|
8932
|
+
getOpenIDConnectConfigUnauthorized(orgId, options) {
|
|
8933
|
+
return exports.OIDCApiFp(configuration).getOpenIDConnectConfigUnauthorized(orgId, options)(fetch, basePath);
|
|
9282
8934
|
},
|
|
9283
8935
|
};
|
|
9284
8936
|
};
|
|
9285
8937
|
/**
|
|
9286
|
-
*
|
|
8938
|
+
* OIDCApi - object-oriented interface
|
|
9287
8939
|
* @export
|
|
9288
|
-
* @class
|
|
8940
|
+
* @class OIDCApi
|
|
9289
8941
|
* @extends {BaseAPI}
|
|
9290
8942
|
*/
|
|
9291
|
-
class
|
|
9292
|
-
/**
|
|
9293
|
-
*
|
|
9294
|
-
* @summary Create oauth config
|
|
9295
|
-
* @param {OauthConfigCreateForm} body
|
|
9296
|
-
* @param {*} [options] Override http request option.
|
|
9297
|
-
* @throws {RequiredError}
|
|
9298
|
-
* @memberof OauthApi
|
|
9299
|
-
*/
|
|
9300
|
-
createOAuthConfig(body, options) {
|
|
9301
|
-
return exports.OauthApiFp(this.configuration).createOAuthConfig(body, options)(this.fetch, this.basePath);
|
|
9302
|
-
}
|
|
8943
|
+
class OIDCApi extends BaseAPI {
|
|
9303
8944
|
/**
|
|
9304
8945
|
*
|
|
9305
|
-
* @summary
|
|
8946
|
+
* @summary authorize with code
|
|
8947
|
+
* @param {CodeAuthorizationForm} body
|
|
9306
8948
|
* @param {*} [options] Override http request option.
|
|
9307
8949
|
* @throws {RequiredError}
|
|
9308
|
-
* @memberof
|
|
8950
|
+
* @memberof OIDCApi
|
|
9309
8951
|
*/
|
|
9310
|
-
|
|
9311
|
-
return exports.
|
|
8952
|
+
authorizeOpenIdConnect(body, options) {
|
|
8953
|
+
return exports.OIDCApiFp(this.configuration).authorizeOpenIdConnect(body, options)(this.fetch, this.basePath);
|
|
9312
8954
|
}
|
|
9313
8955
|
/**
|
|
9314
8956
|
*
|
|
9315
|
-
* @summary
|
|
8957
|
+
* @summary get nonce
|
|
9316
8958
|
* @param {*} [options] Override http request option.
|
|
9317
8959
|
* @throws {RequiredError}
|
|
9318
|
-
* @memberof
|
|
8960
|
+
* @memberof OIDCApi
|
|
9319
8961
|
*/
|
|
9320
|
-
|
|
9321
|
-
return exports.
|
|
8962
|
+
getNonce(options) {
|
|
8963
|
+
return exports.OIDCApiFp(this.configuration).getNonce(options)(this.fetch, this.basePath);
|
|
9322
8964
|
}
|
|
9323
8965
|
/**
|
|
9324
8966
|
*
|
|
9325
|
-
* @summary
|
|
9326
|
-
* @param {
|
|
8967
|
+
* @summary unauthorized endpoint for org's oidc configuration
|
|
8968
|
+
* @param {string} orgId orgId
|
|
9327
8969
|
* @param {*} [options] Override http request option.
|
|
9328
8970
|
* @throws {RequiredError}
|
|
9329
|
-
* @memberof
|
|
8971
|
+
* @memberof OIDCApi
|
|
9330
8972
|
*/
|
|
9331
|
-
|
|
9332
|
-
return exports.
|
|
8973
|
+
getOpenIDConnectConfigUnauthorized(orgId, options) {
|
|
8974
|
+
return exports.OIDCApiFp(this.configuration).getOpenIDConnectConfigUnauthorized(orgId, options)(this.fetch, this.basePath);
|
|
9333
8975
|
}
|
|
9334
8976
|
}
|
|
9335
|
-
exports.
|
|
8977
|
+
exports.OIDCApi = OIDCApi;
|
|
9336
8978
|
/**
|
|
9337
8979
|
* OplAddressApi - fetch parameter creator
|
|
9338
8980
|
* @export
|
|
@@ -13340,6 +12982,42 @@ exports.RoomsApiFetchParamCreator = function (configuration) {
|
|
|
13340
12982
|
options: localVarRequestOptions,
|
|
13341
12983
|
};
|
|
13342
12984
|
},
|
|
12985
|
+
/**
|
|
12986
|
+
*
|
|
12987
|
+
* @summary Search for a room by lead query.
|
|
12988
|
+
* @param {string} query
|
|
12989
|
+
* @param {*} [options] Override http request option.
|
|
12990
|
+
* @throws {RequiredError}
|
|
12991
|
+
*/
|
|
12992
|
+
getInboxEntriesByQuery(query, options = {}) {
|
|
12993
|
+
// verify required parameter 'query' is not null or undefined
|
|
12994
|
+
if (query === null || query === undefined) {
|
|
12995
|
+
throw new RequiredError('query', 'Required parameter query was null or undefined when calling getInboxEntriesByQuery.');
|
|
12996
|
+
}
|
|
12997
|
+
const localVarPath = `/rooms/search`;
|
|
12998
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
12999
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
13000
|
+
const localVarHeaderParameter = {};
|
|
13001
|
+
const localVarQueryParameter = {};
|
|
13002
|
+
// authentication apiKey required
|
|
13003
|
+
if (configuration && configuration.apiKey) {
|
|
13004
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
13005
|
+
? configuration.apiKey("X-Api-Key")
|
|
13006
|
+
: configuration.apiKey;
|
|
13007
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
13008
|
+
}
|
|
13009
|
+
if (query !== undefined) {
|
|
13010
|
+
localVarQueryParameter['query'] = query;
|
|
13011
|
+
}
|
|
13012
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
13013
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
13014
|
+
delete localVarUrlObj.search;
|
|
13015
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
13016
|
+
return {
|
|
13017
|
+
url: url.format(localVarUrlObj),
|
|
13018
|
+
options: localVarRequestOptions,
|
|
13019
|
+
};
|
|
13020
|
+
},
|
|
13343
13021
|
/**
|
|
13344
13022
|
*
|
|
13345
13023
|
* @summary Get ids of agents not following the room
|
|
@@ -13419,7 +13097,7 @@ exports.RoomsApiFetchParamCreator = function (configuration) {
|
|
|
13419
13097
|
/**
|
|
13420
13098
|
*
|
|
13421
13099
|
* @summary Set conversation status
|
|
13422
|
-
* @param {
|
|
13100
|
+
* @param {ConversationStatusForm} body
|
|
13423
13101
|
* @param {string} roomId The ID of the room of the conversation.
|
|
13424
13102
|
* @param {*} [options] Override http request option.
|
|
13425
13103
|
* @throws {RequiredError}
|
|
@@ -13451,7 +13129,7 @@ exports.RoomsApiFetchParamCreator = function (configuration) {
|
|
|
13451
13129
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
13452
13130
|
delete localVarUrlObj.search;
|
|
13453
13131
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
13454
|
-
const needsSerialization = ("
|
|
13132
|
+
const needsSerialization = ("ConversationStatusForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
13455
13133
|
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
13456
13134
|
return {
|
|
13457
13135
|
url: url.format(localVarUrlObj),
|
|
@@ -13710,6 +13388,26 @@ exports.RoomsApiFp = function (configuration) {
|
|
|
13710
13388
|
});
|
|
13711
13389
|
};
|
|
13712
13390
|
},
|
|
13391
|
+
/**
|
|
13392
|
+
*
|
|
13393
|
+
* @summary Search for a room by lead query.
|
|
13394
|
+
* @param {string} query
|
|
13395
|
+
* @param {*} [options] Override http request option.
|
|
13396
|
+
* @throws {RequiredError}
|
|
13397
|
+
*/
|
|
13398
|
+
getInboxEntriesByQuery(query, options) {
|
|
13399
|
+
const localVarFetchArgs = exports.RoomsApiFetchParamCreator(configuration).getInboxEntriesByQuery(query, options);
|
|
13400
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
13401
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
13402
|
+
if (response.status >= 200 && response.status < 300) {
|
|
13403
|
+
return response.json();
|
|
13404
|
+
}
|
|
13405
|
+
else {
|
|
13406
|
+
throw response;
|
|
13407
|
+
}
|
|
13408
|
+
});
|
|
13409
|
+
};
|
|
13410
|
+
},
|
|
13713
13411
|
/**
|
|
13714
13412
|
*
|
|
13715
13413
|
* @summary Get ids of agents not following the room
|
|
@@ -13754,7 +13452,7 @@ exports.RoomsApiFp = function (configuration) {
|
|
|
13754
13452
|
/**
|
|
13755
13453
|
*
|
|
13756
13454
|
* @summary Set conversation status
|
|
13757
|
-
* @param {
|
|
13455
|
+
* @param {ConversationStatusForm} body
|
|
13758
13456
|
* @param {string} roomId The ID of the room of the conversation.
|
|
13759
13457
|
* @param {*} [options] Override http request option.
|
|
13760
13458
|
* @throws {RequiredError}
|
|
@@ -13912,6 +13610,16 @@ exports.RoomsApiFactory = function (configuration, fetch, basePath) {
|
|
|
13912
13610
|
getHistory(roomId, options) {
|
|
13913
13611
|
return exports.RoomsApiFp(configuration).getHistory(roomId, options)(fetch, basePath);
|
|
13914
13612
|
},
|
|
13613
|
+
/**
|
|
13614
|
+
*
|
|
13615
|
+
* @summary Search for a room by lead query.
|
|
13616
|
+
* @param {string} query
|
|
13617
|
+
* @param {*} [options] Override http request option.
|
|
13618
|
+
* @throws {RequiredError}
|
|
13619
|
+
*/
|
|
13620
|
+
getInboxEntriesByQuery(query, options) {
|
|
13621
|
+
return exports.RoomsApiFp(configuration).getInboxEntriesByQuery(query, options)(fetch, basePath);
|
|
13622
|
+
},
|
|
13915
13623
|
/**
|
|
13916
13624
|
*
|
|
13917
13625
|
* @summary Get ids of agents not following the room
|
|
@@ -13936,7 +13644,7 @@ exports.RoomsApiFactory = function (configuration, fetch, basePath) {
|
|
|
13936
13644
|
/**
|
|
13937
13645
|
*
|
|
13938
13646
|
* @summary Set conversation status
|
|
13939
|
-
* @param {
|
|
13647
|
+
* @param {ConversationStatusForm} body
|
|
13940
13648
|
* @param {string} roomId The ID of the room of the conversation.
|
|
13941
13649
|
* @param {*} [options] Override http request option.
|
|
13942
13650
|
* @throws {RequiredError}
|
|
@@ -14062,6 +13770,17 @@ class RoomsApi extends BaseAPI {
|
|
|
14062
13770
|
getHistory(roomId, options) {
|
|
14063
13771
|
return exports.RoomsApiFp(this.configuration).getHistory(roomId, options)(this.fetch, this.basePath);
|
|
14064
13772
|
}
|
|
13773
|
+
/**
|
|
13774
|
+
*
|
|
13775
|
+
* @summary Search for a room by lead query.
|
|
13776
|
+
* @param {string} query
|
|
13777
|
+
* @param {*} [options] Override http request option.
|
|
13778
|
+
* @throws {RequiredError}
|
|
13779
|
+
* @memberof RoomsApi
|
|
13780
|
+
*/
|
|
13781
|
+
getInboxEntriesByQuery(query, options) {
|
|
13782
|
+
return exports.RoomsApiFp(this.configuration).getInboxEntriesByQuery(query, options)(this.fetch, this.basePath);
|
|
13783
|
+
}
|
|
14065
13784
|
/**
|
|
14066
13785
|
*
|
|
14067
13786
|
* @summary Get ids of agents not following the room
|
|
@@ -14088,7 +13807,7 @@ class RoomsApi extends BaseAPI {
|
|
|
14088
13807
|
/**
|
|
14089
13808
|
*
|
|
14090
13809
|
* @summary Set conversation status
|
|
14091
|
-
* @param {
|
|
13810
|
+
* @param {ConversationStatusForm} body
|
|
14092
13811
|
* @param {string} roomId The ID of the room of the conversation.
|
|
14093
13812
|
* @param {*} [options] Override http request option.
|
|
14094
13813
|
* @throws {RequiredError}
|
|
@@ -14208,6 +13927,13 @@ exports.SessionApiFetchParamCreator = function (configuration) {
|
|
|
14208
13927
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
14209
13928
|
const localVarHeaderParameter = {};
|
|
14210
13929
|
const localVarQueryParameter = {};
|
|
13930
|
+
// authentication cookieAuth required
|
|
13931
|
+
if (configuration && configuration.apiKey) {
|
|
13932
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
13933
|
+
? configuration.apiKey("ratel-spinner")
|
|
13934
|
+
: configuration.apiKey;
|
|
13935
|
+
localVarQueryParameter["ratel-spinner"] = localVarApiKeyValue;
|
|
13936
|
+
}
|
|
14211
13937
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
14212
13938
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
14213
13939
|
delete localVarUrlObj.search;
|
|
@@ -14831,6 +14557,34 @@ exports.TagGroupsApiFetchParamCreator = function (configuration) {
|
|
|
14831
14557
|
options: localVarRequestOptions,
|
|
14832
14558
|
};
|
|
14833
14559
|
},
|
|
14560
|
+
/**
|
|
14561
|
+
*
|
|
14562
|
+
* @summary endpoint to retrieve tag groups
|
|
14563
|
+
* @param {*} [options] Override http request option.
|
|
14564
|
+
* @throws {RequiredError}
|
|
14565
|
+
*/
|
|
14566
|
+
getTagGroups(options = {}) {
|
|
14567
|
+
const localVarPath = `/tag-groups`;
|
|
14568
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
14569
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
14570
|
+
const localVarHeaderParameter = {};
|
|
14571
|
+
const localVarQueryParameter = {};
|
|
14572
|
+
// authentication apiKey required
|
|
14573
|
+
if (configuration && configuration.apiKey) {
|
|
14574
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
14575
|
+
? configuration.apiKey("X-Api-Key")
|
|
14576
|
+
: configuration.apiKey;
|
|
14577
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
14578
|
+
}
|
|
14579
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
14580
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
14581
|
+
delete localVarUrlObj.search;
|
|
14582
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
14583
|
+
return {
|
|
14584
|
+
url: url.format(localVarUrlObj),
|
|
14585
|
+
options: localVarRequestOptions,
|
|
14586
|
+
};
|
|
14587
|
+
},
|
|
14834
14588
|
/**
|
|
14835
14589
|
*
|
|
14836
14590
|
* @summary endpoint to update tag group
|
|
@@ -14977,6 +14731,25 @@ exports.TagGroupsApiFp = function (configuration) {
|
|
|
14977
14731
|
});
|
|
14978
14732
|
};
|
|
14979
14733
|
},
|
|
14734
|
+
/**
|
|
14735
|
+
*
|
|
14736
|
+
* @summary endpoint to retrieve tag groups
|
|
14737
|
+
* @param {*} [options] Override http request option.
|
|
14738
|
+
* @throws {RequiredError}
|
|
14739
|
+
*/
|
|
14740
|
+
getTagGroups(options) {
|
|
14741
|
+
const localVarFetchArgs = exports.TagGroupsApiFetchParamCreator(configuration).getTagGroups(options);
|
|
14742
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
14743
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
14744
|
+
if (response.status >= 200 && response.status < 300) {
|
|
14745
|
+
return response.json();
|
|
14746
|
+
}
|
|
14747
|
+
else {
|
|
14748
|
+
throw response;
|
|
14749
|
+
}
|
|
14750
|
+
});
|
|
14751
|
+
};
|
|
14752
|
+
},
|
|
14980
14753
|
/**
|
|
14981
14754
|
*
|
|
14982
14755
|
* @summary endpoint to update tag group
|
|
@@ -15056,6 +14829,15 @@ exports.TagGroupsApiFactory = function (configuration, fetch, basePath) {
|
|
|
15056
14829
|
getTagGroup(id, options) {
|
|
15057
14830
|
return exports.TagGroupsApiFp(configuration).getTagGroup(id, options)(fetch, basePath);
|
|
15058
14831
|
},
|
|
14832
|
+
/**
|
|
14833
|
+
*
|
|
14834
|
+
* @summary endpoint to retrieve tag groups
|
|
14835
|
+
* @param {*} [options] Override http request option.
|
|
14836
|
+
* @throws {RequiredError}
|
|
14837
|
+
*/
|
|
14838
|
+
getTagGroups(options) {
|
|
14839
|
+
return exports.TagGroupsApiFp(configuration).getTagGroups(options)(fetch, basePath);
|
|
14840
|
+
},
|
|
15059
14841
|
/**
|
|
15060
14842
|
*
|
|
15061
14843
|
* @summary endpoint to update tag group
|
|
@@ -15119,6 +14901,16 @@ class TagGroupsApi extends BaseAPI {
|
|
|
15119
14901
|
getTagGroup(id, options) {
|
|
15120
14902
|
return exports.TagGroupsApiFp(this.configuration).getTagGroup(id, options)(this.fetch, this.basePath);
|
|
15121
14903
|
}
|
|
14904
|
+
/**
|
|
14905
|
+
*
|
|
14906
|
+
* @summary endpoint to retrieve tag groups
|
|
14907
|
+
* @param {*} [options] Override http request option.
|
|
14908
|
+
* @throws {RequiredError}
|
|
14909
|
+
* @memberof TagGroupsApi
|
|
14910
|
+
*/
|
|
14911
|
+
getTagGroups(options) {
|
|
14912
|
+
return exports.TagGroupsApiFp(this.configuration).getTagGroups(options)(this.fetch, this.basePath);
|
|
14913
|
+
}
|
|
15122
14914
|
/**
|
|
15123
14915
|
*
|
|
15124
14916
|
* @summary endpoint to update tag group
|
|
@@ -15164,7 +14956,44 @@ exports.TagMappingsApiFetchParamCreator = function (configuration) {
|
|
|
15164
14956
|
}
|
|
15165
14957
|
const localVarPath = `/tag-mappings`;
|
|
15166
14958
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
15167
|
-
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
14959
|
+
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
14960
|
+
const localVarHeaderParameter = {};
|
|
14961
|
+
const localVarQueryParameter = {};
|
|
14962
|
+
// authentication apiKey required
|
|
14963
|
+
if (configuration && configuration.apiKey) {
|
|
14964
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
14965
|
+
? configuration.apiKey("X-Api-Key")
|
|
14966
|
+
: configuration.apiKey;
|
|
14967
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
14968
|
+
}
|
|
14969
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14970
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
14971
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
14972
|
+
delete localVarUrlObj.search;
|
|
14973
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
14974
|
+
const needsSerialization = ("CreateTagMappingForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
14975
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
14976
|
+
return {
|
|
14977
|
+
url: url.format(localVarUrlObj),
|
|
14978
|
+
options: localVarRequestOptions,
|
|
14979
|
+
};
|
|
14980
|
+
},
|
|
14981
|
+
/**
|
|
14982
|
+
*
|
|
14983
|
+
* @summary authorized endpoint to delete tag mapping
|
|
14984
|
+
* @param {string} id primary key of record which should be deleted
|
|
14985
|
+
* @param {*} [options] Override http request option.
|
|
14986
|
+
* @throws {RequiredError}
|
|
14987
|
+
*/
|
|
14988
|
+
deleteTagMapping(id, options = {}) {
|
|
14989
|
+
// verify required parameter 'id' is not null or undefined
|
|
14990
|
+
if (id === null || id === undefined) {
|
|
14991
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteTagMapping.');
|
|
14992
|
+
}
|
|
14993
|
+
const localVarPath = `/tag-mappings/{id}`
|
|
14994
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14995
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
14996
|
+
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
15168
14997
|
const localVarHeaderParameter = {};
|
|
15169
14998
|
const localVarQueryParameter = {};
|
|
15170
14999
|
// authentication apiKey required
|
|
@@ -15174,13 +15003,10 @@ exports.TagMappingsApiFetchParamCreator = function (configuration) {
|
|
|
15174
15003
|
: configuration.apiKey;
|
|
15175
15004
|
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
15176
15005
|
}
|
|
15177
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15178
15006
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
15179
15007
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
15180
15008
|
delete localVarUrlObj.search;
|
|
15181
15009
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
15182
|
-
const needsSerialization = ("CreateTagMappingForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
15183
|
-
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
15184
15010
|
return {
|
|
15185
15011
|
url: url.format(localVarUrlObj),
|
|
15186
15012
|
options: localVarRequestOptions,
|
|
@@ -15188,20 +15014,14 @@ exports.TagMappingsApiFetchParamCreator = function (configuration) {
|
|
|
15188
15014
|
},
|
|
15189
15015
|
/**
|
|
15190
15016
|
*
|
|
15191
|
-
* @summary
|
|
15192
|
-
* @param {string} id primary key of record which should be deleted
|
|
15017
|
+
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15193
15018
|
* @param {*} [options] Override http request option.
|
|
15194
15019
|
* @throws {RequiredError}
|
|
15195
15020
|
*/
|
|
15196
|
-
|
|
15197
|
-
|
|
15198
|
-
if (id === null || id === undefined) {
|
|
15199
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteTagMapping.');
|
|
15200
|
-
}
|
|
15201
|
-
const localVarPath = `/tag-mappings/{id}`
|
|
15202
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15021
|
+
getTagMappings(options = {}) {
|
|
15022
|
+
const localVarPath = `/tag-mappings`;
|
|
15203
15023
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
15204
|
-
const localVarRequestOptions = Object.assign({ method: '
|
|
15024
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
15205
15025
|
const localVarHeaderParameter = {};
|
|
15206
15026
|
const localVarQueryParameter = {};
|
|
15207
15027
|
// authentication apiKey required
|
|
@@ -15310,6 +15130,25 @@ exports.TagMappingsApiFp = function (configuration) {
|
|
|
15310
15130
|
});
|
|
15311
15131
|
};
|
|
15312
15132
|
},
|
|
15133
|
+
/**
|
|
15134
|
+
*
|
|
15135
|
+
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15136
|
+
* @param {*} [options] Override http request option.
|
|
15137
|
+
* @throws {RequiredError}
|
|
15138
|
+
*/
|
|
15139
|
+
getTagMappings(options) {
|
|
15140
|
+
const localVarFetchArgs = exports.TagMappingsApiFetchParamCreator(configuration).getTagMappings(options);
|
|
15141
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
15142
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
15143
|
+
if (response.status >= 200 && response.status < 300) {
|
|
15144
|
+
return response.json();
|
|
15145
|
+
}
|
|
15146
|
+
else {
|
|
15147
|
+
throw response;
|
|
15148
|
+
}
|
|
15149
|
+
});
|
|
15150
|
+
};
|
|
15151
|
+
},
|
|
15313
15152
|
/**
|
|
15314
15153
|
*
|
|
15315
15154
|
* @summary authorized endpoint to update tag mapping
|
|
@@ -15359,6 +15198,15 @@ exports.TagMappingsApiFactory = function (configuration, fetch, basePath) {
|
|
|
15359
15198
|
deleteTagMapping(id, options) {
|
|
15360
15199
|
return exports.TagMappingsApiFp(configuration).deleteTagMapping(id, options)(fetch, basePath);
|
|
15361
15200
|
},
|
|
15201
|
+
/**
|
|
15202
|
+
*
|
|
15203
|
+
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15204
|
+
* @param {*} [options] Override http request option.
|
|
15205
|
+
* @throws {RequiredError}
|
|
15206
|
+
*/
|
|
15207
|
+
getTagMappings(options) {
|
|
15208
|
+
return exports.TagMappingsApiFp(configuration).getTagMappings(options)(fetch, basePath);
|
|
15209
|
+
},
|
|
15362
15210
|
/**
|
|
15363
15211
|
*
|
|
15364
15212
|
* @summary authorized endpoint to update tag mapping
|
|
@@ -15401,6 +15249,16 @@ class TagMappingsApi extends BaseAPI {
|
|
|
15401
15249
|
deleteTagMapping(id, options) {
|
|
15402
15250
|
return exports.TagMappingsApiFp(this.configuration).deleteTagMapping(id, options)(this.fetch, this.basePath);
|
|
15403
15251
|
}
|
|
15252
|
+
/**
|
|
15253
|
+
*
|
|
15254
|
+
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15255
|
+
* @param {*} [options] Override http request option.
|
|
15256
|
+
* @throws {RequiredError}
|
|
15257
|
+
* @memberof TagMappingsApi
|
|
15258
|
+
*/
|
|
15259
|
+
getTagMappings(options) {
|
|
15260
|
+
return exports.TagMappingsApiFp(this.configuration).getTagMappings(options)(this.fetch, this.basePath);
|
|
15261
|
+
}
|
|
15404
15262
|
/**
|
|
15405
15263
|
*
|
|
15406
15264
|
* @summary authorized endpoint to update tag mapping
|
|
@@ -15491,62 +15349,6 @@ exports.TagsApiFetchParamCreator = function (configuration) {
|
|
|
15491
15349
|
options: localVarRequestOptions,
|
|
15492
15350
|
};
|
|
15493
15351
|
},
|
|
15494
|
-
/**
|
|
15495
|
-
*
|
|
15496
|
-
* @summary endpoint to retrieve tag groups
|
|
15497
|
-
* @param {*} [options] Override http request option.
|
|
15498
|
-
* @throws {RequiredError}
|
|
15499
|
-
*/
|
|
15500
|
-
getTagGroups(options = {}) {
|
|
15501
|
-
const localVarPath = `/tag-groups`;
|
|
15502
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
15503
|
-
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
15504
|
-
const localVarHeaderParameter = {};
|
|
15505
|
-
const localVarQueryParameter = {};
|
|
15506
|
-
// authentication apiKey required
|
|
15507
|
-
if (configuration && configuration.apiKey) {
|
|
15508
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
15509
|
-
? configuration.apiKey("X-Api-Key")
|
|
15510
|
-
: configuration.apiKey;
|
|
15511
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
15512
|
-
}
|
|
15513
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
15514
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
15515
|
-
delete localVarUrlObj.search;
|
|
15516
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
15517
|
-
return {
|
|
15518
|
-
url: url.format(localVarUrlObj),
|
|
15519
|
-
options: localVarRequestOptions,
|
|
15520
|
-
};
|
|
15521
|
-
},
|
|
15522
|
-
/**
|
|
15523
|
-
*
|
|
15524
|
-
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15525
|
-
* @param {*} [options] Override http request option.
|
|
15526
|
-
* @throws {RequiredError}
|
|
15527
|
-
*/
|
|
15528
|
-
getTagMappings(options = {}) {
|
|
15529
|
-
const localVarPath = `/tag-mappings`;
|
|
15530
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
15531
|
-
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
15532
|
-
const localVarHeaderParameter = {};
|
|
15533
|
-
const localVarQueryParameter = {};
|
|
15534
|
-
// authentication apiKey required
|
|
15535
|
-
if (configuration && configuration.apiKey) {
|
|
15536
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
15537
|
-
? configuration.apiKey("X-Api-Key")
|
|
15538
|
-
: configuration.apiKey;
|
|
15539
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
15540
|
-
}
|
|
15541
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
15542
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
15543
|
-
delete localVarUrlObj.search;
|
|
15544
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
15545
|
-
return {
|
|
15546
|
-
url: url.format(localVarUrlObj),
|
|
15547
|
-
options: localVarRequestOptions,
|
|
15548
|
-
};
|
|
15549
|
-
},
|
|
15550
15352
|
/**
|
|
15551
15353
|
*
|
|
15552
15354
|
* @summary secured endpoint to retrieve tags
|
|
@@ -15665,44 +15467,6 @@ exports.TagsApiFp = function (configuration) {
|
|
|
15665
15467
|
});
|
|
15666
15468
|
};
|
|
15667
15469
|
},
|
|
15668
|
-
/**
|
|
15669
|
-
*
|
|
15670
|
-
* @summary endpoint to retrieve tag groups
|
|
15671
|
-
* @param {*} [options] Override http request option.
|
|
15672
|
-
* @throws {RequiredError}
|
|
15673
|
-
*/
|
|
15674
|
-
getTagGroups(options) {
|
|
15675
|
-
const localVarFetchArgs = exports.TagsApiFetchParamCreator(configuration).getTagGroups(options);
|
|
15676
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
15677
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
15678
|
-
if (response.status >= 200 && response.status < 300) {
|
|
15679
|
-
return response.json();
|
|
15680
|
-
}
|
|
15681
|
-
else {
|
|
15682
|
-
throw response;
|
|
15683
|
-
}
|
|
15684
|
-
});
|
|
15685
|
-
};
|
|
15686
|
-
},
|
|
15687
|
-
/**
|
|
15688
|
-
*
|
|
15689
|
-
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15690
|
-
* @param {*} [options] Override http request option.
|
|
15691
|
-
* @throws {RequiredError}
|
|
15692
|
-
*/
|
|
15693
|
-
getTagMappings(options) {
|
|
15694
|
-
const localVarFetchArgs = exports.TagsApiFetchParamCreator(configuration).getTagMappings(options);
|
|
15695
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
15696
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
15697
|
-
if (response.status >= 200 && response.status < 300) {
|
|
15698
|
-
return response.json();
|
|
15699
|
-
}
|
|
15700
|
-
else {
|
|
15701
|
-
throw response;
|
|
15702
|
-
}
|
|
15703
|
-
});
|
|
15704
|
-
};
|
|
15705
|
-
},
|
|
15706
15470
|
/**
|
|
15707
15471
|
*
|
|
15708
15472
|
* @summary secured endpoint to retrieve tags
|
|
@@ -15771,24 +15535,6 @@ exports.TagsApiFactory = function (configuration, fetch, basePath) {
|
|
|
15771
15535
|
deleteTag(id, options) {
|
|
15772
15536
|
return exports.TagsApiFp(configuration).deleteTag(id, options)(fetch, basePath);
|
|
15773
15537
|
},
|
|
15774
|
-
/**
|
|
15775
|
-
*
|
|
15776
|
-
* @summary endpoint to retrieve tag groups
|
|
15777
|
-
* @param {*} [options] Override http request option.
|
|
15778
|
-
* @throws {RequiredError}
|
|
15779
|
-
*/
|
|
15780
|
-
getTagGroups(options) {
|
|
15781
|
-
return exports.TagsApiFp(configuration).getTagGroups(options)(fetch, basePath);
|
|
15782
|
-
},
|
|
15783
|
-
/**
|
|
15784
|
-
*
|
|
15785
|
-
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15786
|
-
* @param {*} [options] Override http request option.
|
|
15787
|
-
* @throws {RequiredError}
|
|
15788
|
-
*/
|
|
15789
|
-
getTagMappings(options) {
|
|
15790
|
-
return exports.TagsApiFp(configuration).getTagMappings(options)(fetch, basePath);
|
|
15791
|
-
},
|
|
15792
15538
|
/**
|
|
15793
15539
|
*
|
|
15794
15540
|
* @summary secured endpoint to retrieve tags
|
|
@@ -15840,26 +15586,6 @@ class TagsApi extends BaseAPI {
|
|
|
15840
15586
|
deleteTag(id, options) {
|
|
15841
15587
|
return exports.TagsApiFp(this.configuration).deleteTag(id, options)(this.fetch, this.basePath);
|
|
15842
15588
|
}
|
|
15843
|
-
/**
|
|
15844
|
-
*
|
|
15845
|
-
* @summary endpoint to retrieve tag groups
|
|
15846
|
-
* @param {*} [options] Override http request option.
|
|
15847
|
-
* @throws {RequiredError}
|
|
15848
|
-
* @memberof TagsApi
|
|
15849
|
-
*/
|
|
15850
|
-
getTagGroups(options) {
|
|
15851
|
-
return exports.TagsApiFp(this.configuration).getTagGroups(options)(this.fetch, this.basePath);
|
|
15852
|
-
}
|
|
15853
|
-
/**
|
|
15854
|
-
*
|
|
15855
|
-
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15856
|
-
* @param {*} [options] Override http request option.
|
|
15857
|
-
* @throws {RequiredError}
|
|
15858
|
-
* @memberof TagsApi
|
|
15859
|
-
*/
|
|
15860
|
-
getTagMappings(options) {
|
|
15861
|
-
return exports.TagsApiFp(this.configuration).getTagMappings(options)(this.fetch, this.basePath);
|
|
15862
|
-
}
|
|
15863
15589
|
/**
|
|
15864
15590
|
*
|
|
15865
15591
|
* @summary secured endpoint to retrieve tags
|
|
@@ -17102,42 +16828,6 @@ exports.UsersApiFetchParamCreator = function (configuration) {
|
|
|
17102
16828
|
options: localVarRequestOptions,
|
|
17103
16829
|
};
|
|
17104
16830
|
},
|
|
17105
|
-
/**
|
|
17106
|
-
*
|
|
17107
|
-
* @summary Search for a room by lead query.
|
|
17108
|
-
* @param {string} query
|
|
17109
|
-
* @param {*} [options] Override http request option.
|
|
17110
|
-
* @throws {RequiredError}
|
|
17111
|
-
*/
|
|
17112
|
-
getInboxEntriesByQuery(query, options = {}) {
|
|
17113
|
-
// verify required parameter 'query' is not null or undefined
|
|
17114
|
-
if (query === null || query === undefined) {
|
|
17115
|
-
throw new RequiredError('query', 'Required parameter query was null or undefined when calling getInboxEntriesByQuery.');
|
|
17116
|
-
}
|
|
17117
|
-
const localVarPath = `/rooms/search`;
|
|
17118
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
17119
|
-
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
17120
|
-
const localVarHeaderParameter = {};
|
|
17121
|
-
const localVarQueryParameter = {};
|
|
17122
|
-
// authentication apiKey required
|
|
17123
|
-
if (configuration && configuration.apiKey) {
|
|
17124
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
17125
|
-
? configuration.apiKey("X-Api-Key")
|
|
17126
|
-
: configuration.apiKey;
|
|
17127
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
17128
|
-
}
|
|
17129
|
-
if (query !== undefined) {
|
|
17130
|
-
localVarQueryParameter['query'] = query;
|
|
17131
|
-
}
|
|
17132
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
17133
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
17134
|
-
delete localVarUrlObj.search;
|
|
17135
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
17136
|
-
return {
|
|
17137
|
-
url: url.format(localVarUrlObj),
|
|
17138
|
-
options: localVarRequestOptions,
|
|
17139
|
-
};
|
|
17140
|
-
},
|
|
17141
16831
|
/**
|
|
17142
16832
|
*
|
|
17143
16833
|
* @summary Get limited adviser profile.
|
|
@@ -18709,26 +18399,6 @@ exports.UsersApiFp = function (configuration) {
|
|
|
18709
18399
|
});
|
|
18710
18400
|
};
|
|
18711
18401
|
},
|
|
18712
|
-
/**
|
|
18713
|
-
*
|
|
18714
|
-
* @summary Search for a room by lead query.
|
|
18715
|
-
* @param {string} query
|
|
18716
|
-
* @param {*} [options] Override http request option.
|
|
18717
|
-
* @throws {RequiredError}
|
|
18718
|
-
*/
|
|
18719
|
-
getInboxEntriesByQuery(query, options) {
|
|
18720
|
-
const localVarFetchArgs = exports.UsersApiFetchParamCreator(configuration).getInboxEntriesByQuery(query, options);
|
|
18721
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
18722
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
18723
|
-
if (response.status >= 200 && response.status < 300) {
|
|
18724
|
-
return response.json();
|
|
18725
|
-
}
|
|
18726
|
-
else {
|
|
18727
|
-
throw response;
|
|
18728
|
-
}
|
|
18729
|
-
});
|
|
18730
|
-
};
|
|
18731
|
-
},
|
|
18732
18402
|
/**
|
|
18733
18403
|
*
|
|
18734
18404
|
* @summary Get limited adviser profile.
|
|
@@ -19573,16 +19243,6 @@ exports.UsersApiFactory = function (configuration, fetch, basePath) {
|
|
|
19573
19243
|
getGuestProfileByApiKey(orgId, options) {
|
|
19574
19244
|
return exports.UsersApiFp(configuration).getGuestProfileByApiKey(orgId, options)(fetch, basePath);
|
|
19575
19245
|
},
|
|
19576
|
-
/**
|
|
19577
|
-
*
|
|
19578
|
-
* @summary Search for a room by lead query.
|
|
19579
|
-
* @param {string} query
|
|
19580
|
-
* @param {*} [options] Override http request option.
|
|
19581
|
-
* @throws {RequiredError}
|
|
19582
|
-
*/
|
|
19583
|
-
getInboxEntriesByQuery(query, options) {
|
|
19584
|
-
return exports.UsersApiFp(configuration).getInboxEntriesByQuery(query, options)(fetch, basePath);
|
|
19585
|
-
},
|
|
19586
19246
|
/**
|
|
19587
19247
|
*
|
|
19588
19248
|
* @summary Get limited adviser profile.
|
|
@@ -20139,17 +19799,6 @@ class UsersApi extends BaseAPI {
|
|
|
20139
19799
|
getGuestProfileByApiKey(orgId, options) {
|
|
20140
19800
|
return exports.UsersApiFp(this.configuration).getGuestProfileByApiKey(orgId, options)(this.fetch, this.basePath);
|
|
20141
19801
|
}
|
|
20142
|
-
/**
|
|
20143
|
-
*
|
|
20144
|
-
* @summary Search for a room by lead query.
|
|
20145
|
-
* @param {string} query
|
|
20146
|
-
* @param {*} [options] Override http request option.
|
|
20147
|
-
* @throws {RequiredError}
|
|
20148
|
-
* @memberof UsersApi
|
|
20149
|
-
*/
|
|
20150
|
-
getInboxEntriesByQuery(query, options) {
|
|
20151
|
-
return exports.UsersApiFp(this.configuration).getInboxEntriesByQuery(query, options)(this.fetch, this.basePath);
|
|
20152
|
-
}
|
|
20153
19802
|
/**
|
|
20154
19803
|
*
|
|
20155
19804
|
* @summary Get limited adviser profile.
|