@closerplatform/spinner-openapi 0.11.351 → 0.12.0
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 +411 -708
- package/dist/api.js +701 -1021
- 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.SnoozedStatus = exports.RegisterInPushService = exports.Presence = exports.PreferencesForm = exports.ModelTrainingStatus = exports.MessageWidgetConfigContextType = exports.MatchingStrategy = exports.InboxEntryType = exports.EventActionEvent = exports.ConversationStatus = exports.ChatEvent = exports.ChangeBotTypeForm = exports.BotInfo = exports.AppPermission = exports.AgentPresence = exports.AgentPreferences = exports.AgentCtx = 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,21 +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
60
|
/**
|
|
76
61
|
* @export
|
|
77
62
|
* @namespace AgentCtx
|
|
@@ -222,135 +207,61 @@ var ChatEvent;
|
|
|
222
207
|
})(TagEnum = ChatEvent.TagEnum || (ChatEvent.TagEnum = {}));
|
|
223
208
|
})(ChatEvent = exports.ChatEvent || (exports.ChatEvent = {}));
|
|
224
209
|
/**
|
|
210
|
+
*
|
|
225
211
|
* @export
|
|
226
|
-
* @
|
|
212
|
+
* @enum {string}
|
|
227
213
|
*/
|
|
228
214
|
var ConversationStatus;
|
|
229
215
|
(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 = {}));
|
|
216
|
+
ConversationStatus["Waiting"] = "waiting";
|
|
217
|
+
ConversationStatus["InProgress"] = "inProgress";
|
|
218
|
+
ConversationStatus["Solved"] = "solved";
|
|
219
|
+
ConversationStatus["Unsolved"] = "unsolved";
|
|
241
220
|
})(ConversationStatus = exports.ConversationStatus || (exports.ConversationStatus = {}));
|
|
242
221
|
/**
|
|
222
|
+
*
|
|
243
223
|
* @export
|
|
244
|
-
* @
|
|
245
|
-
*/
|
|
246
|
-
var CreateEventActionConfigForm;
|
|
247
|
-
(function (CreateEventActionConfigForm) {
|
|
248
|
-
/**
|
|
249
|
-
* @export
|
|
250
|
-
* @enum {string}
|
|
251
|
-
*/
|
|
252
|
-
let EventEnum;
|
|
253
|
-
(function (EventEnum) {
|
|
254
|
-
EventEnum["ThreadOpenedOutsideWorkingHours"] = "thread_opened_outside_working_hours";
|
|
255
|
-
EventEnum["ClosedSolvedThreadAction"] = "closed_solved_thread_action";
|
|
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 = {}));
|
|
263
|
-
/**
|
|
264
|
-
* @export
|
|
265
|
-
* @namespace CreateTagMappingForm
|
|
224
|
+
* @enum {string}
|
|
266
225
|
*/
|
|
267
|
-
var
|
|
268
|
-
(function (
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
MatchingStrategyEnum["ExactUrl"] = "exact_url";
|
|
278
|
-
MatchingStrategyEnum["PathArgs"] = "path_args";
|
|
279
|
-
})(MatchingStrategyEnum = CreateTagMappingForm.MatchingStrategyEnum || (CreateTagMappingForm.MatchingStrategyEnum = {}));
|
|
280
|
-
})(CreateTagMappingForm = exports.CreateTagMappingForm || (exports.CreateTagMappingForm = {}));
|
|
226
|
+
var EventActionEvent;
|
|
227
|
+
(function (EventActionEvent) {
|
|
228
|
+
EventActionEvent["ThreadOpenedOutsideWorkingHours"] = "thread_opened_outside_working_hours";
|
|
229
|
+
EventActionEvent["ClosedSolvedThreadAction"] = "closed_solved_thread_action";
|
|
230
|
+
EventActionEvent["ClosedUnsolvedThreadAction"] = "closed_unsolved_thread_action";
|
|
231
|
+
EventActionEvent["ThreadOpened"] = "thread_opened";
|
|
232
|
+
EventActionEvent["AssignedConversationAction"] = "assigned_conversation_action";
|
|
233
|
+
EventActionEvent["ThreadOpenedAgentsUnavailable"] = "thread_opened_agents_unavailable";
|
|
234
|
+
EventActionEvent["WidgetOpenedNoOpenThread"] = "widget_opened_no_open_thread";
|
|
235
|
+
})(EventActionEvent = exports.EventActionEvent || (exports.EventActionEvent = {}));
|
|
281
236
|
/**
|
|
237
|
+
*
|
|
282
238
|
* @export
|
|
283
|
-
* @
|
|
239
|
+
* @enum {string}
|
|
284
240
|
*/
|
|
285
|
-
var
|
|
286
|
-
(function (
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
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 = {}));
|
|
241
|
+
var InboxEntryType;
|
|
242
|
+
(function (InboxEntryType) {
|
|
243
|
+
InboxEntryType["MESSAGE"] = "MESSAGE";
|
|
244
|
+
InboxEntryType["NOTE"] = "NOTE";
|
|
245
|
+
InboxEntryType["FILES"] = "FILES";
|
|
246
|
+
InboxEntryType["MEETINGSCHEDULED"] = "MEETING_SCHEDULED";
|
|
247
|
+
InboxEntryType["MEETINGRESCHEDULED"] = "MEETING_RESCHEDULED";
|
|
248
|
+
InboxEntryType["MEETINGCANCELLED"] = "MEETING_CANCELLED";
|
|
249
|
+
InboxEntryType["CALLSTARTED"] = "CALL_STARTED";
|
|
250
|
+
InboxEntryType["CALLENDED"] = "CALL_ENDED";
|
|
251
|
+
InboxEntryType["FORM"] = "FORM";
|
|
252
|
+
})(InboxEntryType = exports.InboxEntryType || (exports.InboxEntryType = {}));
|
|
302
253
|
/**
|
|
254
|
+
*
|
|
303
255
|
* @export
|
|
304
|
-
* @
|
|
256
|
+
* @enum {string}
|
|
305
257
|
*/
|
|
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 = {}));
|
|
258
|
+
var MatchingStrategy;
|
|
259
|
+
(function (MatchingStrategy) {
|
|
260
|
+
MatchingStrategy["WholeDomain"] = "whole_domain";
|
|
261
|
+
MatchingStrategy["PathRecursively"] = "path_recursively";
|
|
262
|
+
MatchingStrategy["ExactUrl"] = "exact_url";
|
|
263
|
+
MatchingStrategy["PathArgs"] = "path_args";
|
|
264
|
+
})(MatchingStrategy = exports.MatchingStrategy || (exports.MatchingStrategy = {}));
|
|
354
265
|
/**
|
|
355
266
|
*
|
|
356
267
|
* @export
|
|
@@ -363,53 +274,16 @@ var MessageWidgetConfigContextType;
|
|
|
363
274
|
MessageWidgetConfigContextType["OplShowAddressForm"] = "opl_show_address_form";
|
|
364
275
|
})(MessageWidgetConfigContextType = exports.MessageWidgetConfigContextType || (exports.MessageWidgetConfigContextType = {}));
|
|
365
276
|
/**
|
|
277
|
+
*
|
|
366
278
|
* @export
|
|
367
|
-
* @
|
|
279
|
+
* @enum {string}
|
|
368
280
|
*/
|
|
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 = {}));
|
|
281
|
+
var ModelTrainingStatus;
|
|
282
|
+
(function (ModelTrainingStatus) {
|
|
283
|
+
ModelTrainingStatus["TrainingInProgress"] = "TrainingInProgress";
|
|
284
|
+
ModelTrainingStatus["TrainingDone"] = "TrainingDone";
|
|
285
|
+
ModelTrainingStatus["TrainingNeverDone"] = "TrainingNeverDone";
|
|
286
|
+
})(ModelTrainingStatus = exports.ModelTrainingStatus || (exports.ModelTrainingStatus = {}));
|
|
413
287
|
/**
|
|
414
288
|
* @export
|
|
415
289
|
* @namespace PreferencesForm
|
|
@@ -426,6 +300,16 @@ var PreferencesForm;
|
|
|
426
300
|
InboxSortingEnum["Oldest"] = "oldest";
|
|
427
301
|
})(InboxSortingEnum = PreferencesForm.InboxSortingEnum || (PreferencesForm.InboxSortingEnum = {}));
|
|
428
302
|
})(PreferencesForm = exports.PreferencesForm || (exports.PreferencesForm = {}));
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @export
|
|
306
|
+
* @enum {string}
|
|
307
|
+
*/
|
|
308
|
+
var Presence;
|
|
309
|
+
(function (Presence) {
|
|
310
|
+
Presence["Available"] = "available";
|
|
311
|
+
Presence["Unavailable"] = "unavailable";
|
|
312
|
+
})(Presence = exports.Presence || (exports.Presence = {}));
|
|
429
313
|
/**
|
|
430
314
|
* @export
|
|
431
315
|
* @namespace RegisterInPushService
|
|
@@ -443,193 +327,15 @@ var RegisterInPushService;
|
|
|
443
327
|
})(DeviceTypeEnum = RegisterInPushService.DeviceTypeEnum || (RegisterInPushService.DeviceTypeEnum = {}));
|
|
444
328
|
})(RegisterInPushService = exports.RegisterInPushService || (exports.RegisterInPushService = {}));
|
|
445
329
|
/**
|
|
330
|
+
*
|
|
446
331
|
* @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
|
|
600
|
-
*/
|
|
601
|
-
var UpdateTagMappingForm;
|
|
602
|
-
(function (UpdateTagMappingForm) {
|
|
603
|
-
/**
|
|
604
|
-
* @export
|
|
605
|
-
* @enum {string}
|
|
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 = {}));
|
|
615
|
-
/**
|
|
616
|
-
* @export
|
|
617
|
-
* @namespace UrlTagMappingDto
|
|
332
|
+
* @enum {string}
|
|
618
333
|
*/
|
|
619
|
-
var
|
|
620
|
-
(function (
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
*/
|
|
625
|
-
let MatchingStrategyEnum;
|
|
626
|
-
(function (MatchingStrategyEnum) {
|
|
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 = {}));
|
|
334
|
+
var SnoozedStatus;
|
|
335
|
+
(function (SnoozedStatus) {
|
|
336
|
+
SnoozedStatus["Snoozed"] = "snoozed";
|
|
337
|
+
SnoozedStatus["Unsnoozed"] = "unsnoozed";
|
|
338
|
+
})(SnoozedStatus = exports.SnoozedStatus || (exports.SnoozedStatus = {}));
|
|
633
339
|
/**
|
|
634
340
|
* @export
|
|
635
341
|
* @namespace WidgetButtonsInput
|
|
@@ -6199,27 +5905,26 @@ class InviteesApi extends BaseAPI {
|
|
|
6199
5905
|
}
|
|
6200
5906
|
exports.InviteesApi = InviteesApi;
|
|
6201
5907
|
/**
|
|
6202
|
-
*
|
|
5908
|
+
* MeetingsApi - fetch parameter creator
|
|
6203
5909
|
* @export
|
|
6204
5910
|
*/
|
|
6205
|
-
exports.
|
|
5911
|
+
exports.MeetingsApiFetchParamCreator = function (configuration) {
|
|
6206
5912
|
return {
|
|
6207
5913
|
/**
|
|
6208
5914
|
*
|
|
6209
|
-
* @summary
|
|
6210
|
-
* @param {
|
|
5915
|
+
* @summary Cancel a meeting
|
|
5916
|
+
* @param {CancelMeeting} body
|
|
6211
5917
|
* @param {*} [options] Override http request option.
|
|
6212
5918
|
* @throws {RequiredError}
|
|
6213
5919
|
*/
|
|
6214
|
-
|
|
6215
|
-
// verify required parameter '
|
|
6216
|
-
if (
|
|
6217
|
-
throw new RequiredError('
|
|
5920
|
+
cancelMeeting(body, options = {}) {
|
|
5921
|
+
// verify required parameter 'body' is not null or undefined
|
|
5922
|
+
if (body === null || body === undefined) {
|
|
5923
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling cancelMeeting.');
|
|
6218
5924
|
}
|
|
6219
|
-
const localVarPath = `/meetings/
|
|
6220
|
-
.replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
|
|
5925
|
+
const localVarPath = `/meetings/cancel`;
|
|
6221
5926
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6222
|
-
const localVarRequestOptions = Object.assign({ method: '
|
|
5927
|
+
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
6223
5928
|
const localVarHeaderParameter = {};
|
|
6224
5929
|
const localVarQueryParameter = {};
|
|
6225
5930
|
// authentication apiKey required
|
|
@@ -6229,10 +5934,13 @@ exports.MeetingBotApiFetchParamCreator = function (configuration) {
|
|
|
6229
5934
|
: configuration.apiKey;
|
|
6230
5935
|
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6231
5936
|
}
|
|
5937
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6232
5938
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6233
5939
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6234
5940
|
delete localVarUrlObj.search;
|
|
6235
5941
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
5942
|
+
const needsSerialization = ("CancelMeeting" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
5943
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
6236
5944
|
return {
|
|
6237
5945
|
url: url.format(localVarUrlObj),
|
|
6238
5946
|
options: localVarRequestOptions,
|
|
@@ -6240,18 +5948,16 @@ exports.MeetingBotApiFetchParamCreator = function (configuration) {
|
|
|
6240
5948
|
},
|
|
6241
5949
|
/**
|
|
6242
5950
|
*
|
|
6243
|
-
* @
|
|
6244
|
-
* @param {string} roomId
|
|
5951
|
+
* @param {LureCancel} body
|
|
6245
5952
|
* @param {*} [options] Override http request option.
|
|
6246
5953
|
* @throws {RequiredError}
|
|
6247
5954
|
*/
|
|
6248
|
-
|
|
6249
|
-
// verify required parameter '
|
|
6250
|
-
if (
|
|
6251
|
-
throw new RequiredError('
|
|
5955
|
+
customerCancel(body, options = {}) {
|
|
5956
|
+
// verify required parameter 'body' is not null or undefined
|
|
5957
|
+
if (body === null || body === undefined) {
|
|
5958
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling customerCancel.');
|
|
6252
5959
|
}
|
|
6253
|
-
const localVarPath = `/meetings/bot/
|
|
6254
|
-
.replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
|
|
5960
|
+
const localVarPath = `/meetings/bot/cancel`;
|
|
6255
5961
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6256
5962
|
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
6257
5963
|
const localVarHeaderParameter = {};
|
|
@@ -6263,143 +5969,30 @@ exports.MeetingBotApiFetchParamCreator = function (configuration) {
|
|
|
6263
5969
|
: configuration.apiKey;
|
|
6264
5970
|
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6265
5971
|
}
|
|
5972
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6266
5973
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6267
5974
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6268
5975
|
delete localVarUrlObj.search;
|
|
6269
5976
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
5977
|
+
const needsSerialization = ("LureCancel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
5978
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
6270
5979
|
return {
|
|
6271
5980
|
url: url.format(localVarUrlObj),
|
|
6272
5981
|
options: localVarRequestOptions,
|
|
6273
5982
|
};
|
|
6274
5983
|
},
|
|
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
|
-
/**
|
|
6304
|
-
*
|
|
6305
|
-
* @summary Send meeting bot to room
|
|
6306
|
-
* @param {string} roomId
|
|
6307
|
-
* @param {*} [options] Override http request option.
|
|
6308
|
-
* @throws {RequiredError}
|
|
6309
|
-
*/
|
|
6310
|
-
sendMeetingLure(roomId, options) {
|
|
6311
|
-
const localVarFetchArgs = exports.MeetingBotApiFetchParamCreator(configuration).sendMeetingLure(roomId, options);
|
|
6312
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
6313
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
6314
|
-
if (response.status >= 200 && response.status < 300) {
|
|
6315
|
-
return response;
|
|
6316
|
-
}
|
|
6317
|
-
else {
|
|
6318
|
-
throw response;
|
|
6319
|
-
}
|
|
6320
|
-
});
|
|
6321
|
-
};
|
|
6322
|
-
},
|
|
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
|
-
/**
|
|
6342
|
-
*
|
|
6343
|
-
* @summary Send meeting bot to room
|
|
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
5984
|
/**
|
|
6391
5985
|
*
|
|
6392
|
-
* @
|
|
6393
|
-
* @param {CancelMeeting} body
|
|
5986
|
+
* @param {LureSchedule} body
|
|
6394
5987
|
* @param {*} [options] Override http request option.
|
|
6395
5988
|
* @throws {RequiredError}
|
|
6396
5989
|
*/
|
|
6397
|
-
|
|
5990
|
+
customerSchedule(body, options = {}) {
|
|
6398
5991
|
// verify required parameter 'body' is not null or undefined
|
|
6399
5992
|
if (body === null || body === undefined) {
|
|
6400
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
5993
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling customerSchedule.');
|
|
6401
5994
|
}
|
|
6402
|
-
const localVarPath = `/meetings/
|
|
5995
|
+
const localVarPath = `/meetings/bot/schedule`;
|
|
6403
5996
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6404
5997
|
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
6405
5998
|
const localVarHeaderParameter = {};
|
|
@@ -6416,77 +6009,7 @@ exports.MeetingsApiFetchParamCreator = function (configuration) {
|
|
|
6416
6009
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6417
6010
|
delete localVarUrlObj.search;
|
|
6418
6011
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
6419
|
-
const needsSerialization = ("
|
|
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';
|
|
6012
|
+
const needsSerialization = ("LureSchedule" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
6490
6013
|
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
6491
6014
|
return {
|
|
6492
6015
|
url: url.format(localVarUrlObj),
|
|
@@ -6654,6 +6177,40 @@ exports.MeetingsApiFetchParamCreator = function (configuration) {
|
|
|
6654
6177
|
options: localVarRequestOptions,
|
|
6655
6178
|
};
|
|
6656
6179
|
},
|
|
6180
|
+
/**
|
|
6181
|
+
*
|
|
6182
|
+
* @summary Recall meeting bot rom room
|
|
6183
|
+
* @param {string} roomId
|
|
6184
|
+
* @param {*} [options] Override http request option.
|
|
6185
|
+
* @throws {RequiredError}
|
|
6186
|
+
*/
|
|
6187
|
+
recallMeetingLure(roomId, options = {}) {
|
|
6188
|
+
// verify required parameter 'roomId' is not null or undefined
|
|
6189
|
+
if (roomId === null || roomId === undefined) {
|
|
6190
|
+
throw new RequiredError('roomId', 'Required parameter roomId was null or undefined when calling recallMeetingLure.');
|
|
6191
|
+
}
|
|
6192
|
+
const localVarPath = `/meetings/bot/lure/{roomId}`
|
|
6193
|
+
.replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
|
|
6194
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6195
|
+
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
6196
|
+
const localVarHeaderParameter = {};
|
|
6197
|
+
const localVarQueryParameter = {};
|
|
6198
|
+
// authentication apiKey required
|
|
6199
|
+
if (configuration && configuration.apiKey) {
|
|
6200
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6201
|
+
? configuration.apiKey("X-Api-Key")
|
|
6202
|
+
: configuration.apiKey;
|
|
6203
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6204
|
+
}
|
|
6205
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6206
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6207
|
+
delete localVarUrlObj.search;
|
|
6208
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
6209
|
+
return {
|
|
6210
|
+
url: url.format(localVarUrlObj),
|
|
6211
|
+
options: localVarRequestOptions,
|
|
6212
|
+
};
|
|
6213
|
+
},
|
|
6657
6214
|
/**
|
|
6658
6215
|
*
|
|
6659
6216
|
* @summary Reschedule a meeting
|
|
@@ -6798,6 +6355,40 @@ exports.MeetingsApiFetchParamCreator = function (configuration) {
|
|
|
6798
6355
|
options: localVarRequestOptions,
|
|
6799
6356
|
};
|
|
6800
6357
|
},
|
|
6358
|
+
/**
|
|
6359
|
+
*
|
|
6360
|
+
* @summary Send meeting bot to room
|
|
6361
|
+
* @param {string} roomId
|
|
6362
|
+
* @param {*} [options] Override http request option.
|
|
6363
|
+
* @throws {RequiredError}
|
|
6364
|
+
*/
|
|
6365
|
+
sendMeetingLure(roomId, options = {}) {
|
|
6366
|
+
// verify required parameter 'roomId' is not null or undefined
|
|
6367
|
+
if (roomId === null || roomId === undefined) {
|
|
6368
|
+
throw new RequiredError('roomId', 'Required parameter roomId was null or undefined when calling sendMeetingLure.');
|
|
6369
|
+
}
|
|
6370
|
+
const localVarPath = `/meetings/bot/lure/{roomId}`
|
|
6371
|
+
.replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
|
|
6372
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6373
|
+
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
6374
|
+
const localVarHeaderParameter = {};
|
|
6375
|
+
const localVarQueryParameter = {};
|
|
6376
|
+
// authentication apiKey required
|
|
6377
|
+
if (configuration && configuration.apiKey) {
|
|
6378
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6379
|
+
? configuration.apiKey("X-Api-Key")
|
|
6380
|
+
: configuration.apiKey;
|
|
6381
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
6382
|
+
}
|
|
6383
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6384
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6385
|
+
delete localVarUrlObj.search;
|
|
6386
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
6387
|
+
return {
|
|
6388
|
+
url: url.format(localVarUrlObj),
|
|
6389
|
+
options: localVarRequestOptions,
|
|
6390
|
+
};
|
|
6391
|
+
},
|
|
6801
6392
|
};
|
|
6802
6393
|
};
|
|
6803
6394
|
/**
|
|
@@ -6948,6 +6539,26 @@ exports.MeetingsApiFp = function (configuration) {
|
|
|
6948
6539
|
});
|
|
6949
6540
|
};
|
|
6950
6541
|
},
|
|
6542
|
+
/**
|
|
6543
|
+
*
|
|
6544
|
+
* @summary Recall meeting bot rom room
|
|
6545
|
+
* @param {string} roomId
|
|
6546
|
+
* @param {*} [options] Override http request option.
|
|
6547
|
+
* @throws {RequiredError}
|
|
6548
|
+
*/
|
|
6549
|
+
recallMeetingLure(roomId, options) {
|
|
6550
|
+
const localVarFetchArgs = exports.MeetingsApiFetchParamCreator(configuration).recallMeetingLure(roomId, options);
|
|
6551
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
6552
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
6553
|
+
if (response.status >= 200 && response.status < 300) {
|
|
6554
|
+
return response;
|
|
6555
|
+
}
|
|
6556
|
+
else {
|
|
6557
|
+
throw response;
|
|
6558
|
+
}
|
|
6559
|
+
});
|
|
6560
|
+
};
|
|
6561
|
+
},
|
|
6951
6562
|
/**
|
|
6952
6563
|
*
|
|
6953
6564
|
* @summary Reschedule a meeting
|
|
@@ -7028,6 +6639,26 @@ exports.MeetingsApiFp = function (configuration) {
|
|
|
7028
6639
|
});
|
|
7029
6640
|
};
|
|
7030
6641
|
},
|
|
6642
|
+
/**
|
|
6643
|
+
*
|
|
6644
|
+
* @summary Send meeting bot to room
|
|
6645
|
+
* @param {string} roomId
|
|
6646
|
+
* @param {*} [options] Override http request option.
|
|
6647
|
+
* @throws {RequiredError}
|
|
6648
|
+
*/
|
|
6649
|
+
sendMeetingLure(roomId, options) {
|
|
6650
|
+
const localVarFetchArgs = exports.MeetingsApiFetchParamCreator(configuration).sendMeetingLure(roomId, options);
|
|
6651
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
6652
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
6653
|
+
if (response.status >= 200 && response.status < 300) {
|
|
6654
|
+
return response;
|
|
6655
|
+
}
|
|
6656
|
+
else {
|
|
6657
|
+
throw response;
|
|
6658
|
+
}
|
|
6659
|
+
});
|
|
6660
|
+
};
|
|
6661
|
+
},
|
|
7031
6662
|
};
|
|
7032
6663
|
};
|
|
7033
6664
|
/**
|
|
@@ -7108,6 +6739,16 @@ exports.MeetingsApiFactory = function (configuration, fetch, basePath) {
|
|
|
7108
6739
|
getRoomMeetings(roomId, options) {
|
|
7109
6740
|
return exports.MeetingsApiFp(configuration).getRoomMeetings(roomId, options)(fetch, basePath);
|
|
7110
6741
|
},
|
|
6742
|
+
/**
|
|
6743
|
+
*
|
|
6744
|
+
* @summary Recall meeting bot rom room
|
|
6745
|
+
* @param {string} roomId
|
|
6746
|
+
* @param {*} [options] Override http request option.
|
|
6747
|
+
* @throws {RequiredError}
|
|
6748
|
+
*/
|
|
6749
|
+
recallMeetingLure(roomId, options) {
|
|
6750
|
+
return exports.MeetingsApiFp(configuration).recallMeetingLure(roomId, options)(fetch, basePath);
|
|
6751
|
+
},
|
|
7111
6752
|
/**
|
|
7112
6753
|
*
|
|
7113
6754
|
* @summary Reschedule a meeting
|
|
@@ -7148,6 +6789,16 @@ exports.MeetingsApiFactory = function (configuration, fetch, basePath) {
|
|
|
7148
6789
|
scheduleMeetingExternal(body, options) {
|
|
7149
6790
|
return exports.MeetingsApiFp(configuration).scheduleMeetingExternal(body, options)(fetch, basePath);
|
|
7150
6791
|
},
|
|
6792
|
+
/**
|
|
6793
|
+
*
|
|
6794
|
+
* @summary Send meeting bot to room
|
|
6795
|
+
* @param {string} roomId
|
|
6796
|
+
* @param {*} [options] Override http request option.
|
|
6797
|
+
* @throws {RequiredError}
|
|
6798
|
+
*/
|
|
6799
|
+
sendMeetingLure(roomId, options) {
|
|
6800
|
+
return exports.MeetingsApiFp(configuration).sendMeetingLure(roomId, options)(fetch, basePath);
|
|
6801
|
+
},
|
|
7151
6802
|
};
|
|
7152
6803
|
};
|
|
7153
6804
|
/**
|
|
@@ -7236,6 +6887,17 @@ class MeetingsApi extends BaseAPI {
|
|
|
7236
6887
|
getRoomMeetings(roomId, options) {
|
|
7237
6888
|
return exports.MeetingsApiFp(this.configuration).getRoomMeetings(roomId, options)(this.fetch, this.basePath);
|
|
7238
6889
|
}
|
|
6890
|
+
/**
|
|
6891
|
+
*
|
|
6892
|
+
* @summary Recall meeting bot rom room
|
|
6893
|
+
* @param {string} roomId
|
|
6894
|
+
* @param {*} [options] Override http request option.
|
|
6895
|
+
* @throws {RequiredError}
|
|
6896
|
+
* @memberof MeetingsApi
|
|
6897
|
+
*/
|
|
6898
|
+
recallMeetingLure(roomId, options) {
|
|
6899
|
+
return exports.MeetingsApiFp(this.configuration).recallMeetingLure(roomId, options)(this.fetch, this.basePath);
|
|
6900
|
+
}
|
|
7239
6901
|
/**
|
|
7240
6902
|
*
|
|
7241
6903
|
* @summary Reschedule a meeting
|
|
@@ -7280,6 +6942,17 @@ class MeetingsApi extends BaseAPI {
|
|
|
7280
6942
|
scheduleMeetingExternal(body, options) {
|
|
7281
6943
|
return exports.MeetingsApiFp(this.configuration).scheduleMeetingExternal(body, options)(this.fetch, this.basePath);
|
|
7282
6944
|
}
|
|
6945
|
+
/**
|
|
6946
|
+
*
|
|
6947
|
+
* @summary Send meeting bot to room
|
|
6948
|
+
* @param {string} roomId
|
|
6949
|
+
* @param {*} [options] Override http request option.
|
|
6950
|
+
* @throws {RequiredError}
|
|
6951
|
+
* @memberof MeetingsApi
|
|
6952
|
+
*/
|
|
6953
|
+
sendMeetingLure(roomId, options) {
|
|
6954
|
+
return exports.MeetingsApiFp(this.configuration).sendMeetingLure(roomId, options)(this.fetch, this.basePath);
|
|
6955
|
+
}
|
|
7283
6956
|
}
|
|
7284
6957
|
exports.MeetingsApi = MeetingsApi;
|
|
7285
6958
|
/**
|
|
@@ -8783,34 +8456,41 @@ class NLUApi extends BaseAPI {
|
|
|
8783
8456
|
}
|
|
8784
8457
|
exports.NLUApi = NLUApi;
|
|
8785
8458
|
/**
|
|
8786
|
-
*
|
|
8459
|
+
* OAuthApi - fetch parameter creator
|
|
8787
8460
|
* @export
|
|
8788
8461
|
*/
|
|
8789
|
-
exports.
|
|
8462
|
+
exports.OAuthApiFetchParamCreator = function (configuration) {
|
|
8790
8463
|
return {
|
|
8791
8464
|
/**
|
|
8792
8465
|
*
|
|
8793
|
-
* @summary
|
|
8794
|
-
* @param {
|
|
8466
|
+
* @summary Create oauth config
|
|
8467
|
+
* @param {OauthConfigCreateForm} body
|
|
8795
8468
|
* @param {*} [options] Override http request option.
|
|
8796
8469
|
* @throws {RequiredError}
|
|
8797
8470
|
*/
|
|
8798
|
-
|
|
8471
|
+
createOAuthConfig(body, options = {}) {
|
|
8799
8472
|
// verify required parameter 'body' is not null or undefined
|
|
8800
8473
|
if (body === null || body === undefined) {
|
|
8801
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
8474
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createOAuthConfig.');
|
|
8802
8475
|
}
|
|
8803
|
-
const localVarPath = `/
|
|
8476
|
+
const localVarPath = `/oauth-config`;
|
|
8804
8477
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
8805
8478
|
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
8806
8479
|
const localVarHeaderParameter = {};
|
|
8807
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
|
+
}
|
|
8808
8488
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8809
8489
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8810
8490
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8811
8491
|
delete localVarUrlObj.search;
|
|
8812
8492
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
8813
|
-
const needsSerialization = ("
|
|
8493
|
+
const needsSerialization = ("OauthConfigCreateForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
8814
8494
|
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
8815
8495
|
return {
|
|
8816
8496
|
url: url.format(localVarUrlObj),
|
|
@@ -8819,16 +8499,23 @@ exports.OIDCApiFetchParamCreator = function (configuration) {
|
|
|
8819
8499
|
},
|
|
8820
8500
|
/**
|
|
8821
8501
|
*
|
|
8822
|
-
* @summary
|
|
8502
|
+
* @summary Delete oauth config
|
|
8823
8503
|
* @param {*} [options] Override http request option.
|
|
8824
8504
|
* @throws {RequiredError}
|
|
8825
8505
|
*/
|
|
8826
|
-
|
|
8827
|
-
const localVarPath = `/
|
|
8506
|
+
deleteOAuthConfig(options = {}) {
|
|
8507
|
+
const localVarPath = `/oauth-config`;
|
|
8828
8508
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
8829
|
-
const localVarRequestOptions = Object.assign({ method: '
|
|
8509
|
+
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
8830
8510
|
const localVarHeaderParameter = {};
|
|
8831
8511
|
const localVarQueryParameter = {};
|
|
8512
|
+
// authentication apiKey required
|
|
8513
|
+
if (configuration && configuration.apiKey) {
|
|
8514
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8515
|
+
? configuration.apiKey("X-Api-Key")
|
|
8516
|
+
: configuration.apiKey;
|
|
8517
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
8518
|
+
}
|
|
8832
8519
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8833
8520
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8834
8521
|
delete localVarUrlObj.search;
|
|
@@ -8840,28 +8527,63 @@ exports.OIDCApiFetchParamCreator = function (configuration) {
|
|
|
8840
8527
|
},
|
|
8841
8528
|
/**
|
|
8842
8529
|
*
|
|
8843
|
-
* @summary
|
|
8844
|
-
* @param {string} orgId orgId
|
|
8530
|
+
* @summary Get oauth config
|
|
8845
8531
|
* @param {*} [options] Override http request option.
|
|
8846
8532
|
* @throws {RequiredError}
|
|
8847
8533
|
*/
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
if (orgId === null || orgId === undefined) {
|
|
8851
|
-
throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling getOpenIDConnectConfigUnauthorized.');
|
|
8852
|
-
}
|
|
8853
|
-
const localVarPath = `/oidc-configs`;
|
|
8534
|
+
getOAuthConfig(options = {}) {
|
|
8535
|
+
const localVarPath = `/oauth-config`;
|
|
8854
8536
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
8855
8537
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
8856
8538
|
const localVarHeaderParameter = {};
|
|
8857
8539
|
const localVarQueryParameter = {};
|
|
8858
|
-
|
|
8859
|
-
|
|
8540
|
+
// authentication apiKey required
|
|
8541
|
+
if (configuration && configuration.apiKey) {
|
|
8542
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8543
|
+
? configuration.apiKey("X-Api-Key")
|
|
8544
|
+
: configuration.apiKey;
|
|
8545
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
8546
|
+
}
|
|
8547
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8548
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8549
|
+
delete localVarUrlObj.search;
|
|
8550
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
8551
|
+
return {
|
|
8552
|
+
url: url.format(localVarUrlObj),
|
|
8553
|
+
options: localVarRequestOptions,
|
|
8554
|
+
};
|
|
8555
|
+
},
|
|
8556
|
+
/**
|
|
8557
|
+
*
|
|
8558
|
+
* @summary Patch oauth config
|
|
8559
|
+
* @param {OauthConfigPatchForm} body
|
|
8560
|
+
* @param {*} [options] Override http request option.
|
|
8561
|
+
* @throws {RequiredError}
|
|
8562
|
+
*/
|
|
8563
|
+
patchOAuthConfig(body, options = {}) {
|
|
8564
|
+
// verify required parameter 'body' is not null or undefined
|
|
8565
|
+
if (body === null || body === undefined) {
|
|
8566
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchOAuthConfig.');
|
|
8860
8567
|
}
|
|
8568
|
+
const localVarPath = `/oauth-config`;
|
|
8569
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
8570
|
+
const localVarRequestOptions = Object.assign({ method: 'PATCH' }, options);
|
|
8571
|
+
const localVarHeaderParameter = {};
|
|
8572
|
+
const localVarQueryParameter = {};
|
|
8573
|
+
// authentication apiKey required
|
|
8574
|
+
if (configuration && configuration.apiKey) {
|
|
8575
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8576
|
+
? configuration.apiKey("X-Api-Key")
|
|
8577
|
+
: configuration.apiKey;
|
|
8578
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
8579
|
+
}
|
|
8580
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8861
8581
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8862
8582
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8863
8583
|
delete localVarUrlObj.search;
|
|
8864
8584
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
8585
|
+
const needsSerialization = ("OauthConfigPatchForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
8586
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
8865
8587
|
return {
|
|
8866
8588
|
url: url.format(localVarUrlObj),
|
|
8867
8589
|
options: localVarRequestOptions,
|
|
@@ -8870,24 +8592,24 @@ exports.OIDCApiFetchParamCreator = function (configuration) {
|
|
|
8870
8592
|
};
|
|
8871
8593
|
};
|
|
8872
8594
|
/**
|
|
8873
|
-
*
|
|
8595
|
+
* OAuthApi - functional programming interface
|
|
8874
8596
|
* @export
|
|
8875
8597
|
*/
|
|
8876
|
-
exports.
|
|
8598
|
+
exports.OAuthApiFp = function (configuration) {
|
|
8877
8599
|
return {
|
|
8878
8600
|
/**
|
|
8879
8601
|
*
|
|
8880
|
-
* @summary
|
|
8881
|
-
* @param {
|
|
8602
|
+
* @summary Create oauth config
|
|
8603
|
+
* @param {OauthConfigCreateForm} body
|
|
8882
8604
|
* @param {*} [options] Override http request option.
|
|
8883
8605
|
* @throws {RequiredError}
|
|
8884
8606
|
*/
|
|
8885
|
-
|
|
8886
|
-
const localVarFetchArgs = exports.
|
|
8607
|
+
createOAuthConfig(body, options) {
|
|
8608
|
+
const localVarFetchArgs = exports.OAuthApiFetchParamCreator(configuration).createOAuthConfig(body, options);
|
|
8887
8609
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
8888
8610
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
8889
8611
|
if (response.status >= 200 && response.status < 300) {
|
|
8890
|
-
return response
|
|
8612
|
+
return response;
|
|
8891
8613
|
}
|
|
8892
8614
|
else {
|
|
8893
8615
|
throw response;
|
|
@@ -8897,16 +8619,16 @@ exports.OIDCApiFp = function (configuration) {
|
|
|
8897
8619
|
},
|
|
8898
8620
|
/**
|
|
8899
8621
|
*
|
|
8900
|
-
* @summary
|
|
8622
|
+
* @summary Delete oauth config
|
|
8901
8623
|
* @param {*} [options] Override http request option.
|
|
8902
8624
|
* @throws {RequiredError}
|
|
8903
8625
|
*/
|
|
8904
|
-
|
|
8905
|
-
const localVarFetchArgs = exports.
|
|
8626
|
+
deleteOAuthConfig(options) {
|
|
8627
|
+
const localVarFetchArgs = exports.OAuthApiFetchParamCreator(configuration).deleteOAuthConfig(options);
|
|
8906
8628
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
8907
8629
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
8908
8630
|
if (response.status >= 200 && response.status < 300) {
|
|
8909
|
-
return response
|
|
8631
|
+
return response;
|
|
8910
8632
|
}
|
|
8911
8633
|
else {
|
|
8912
8634
|
throw response;
|
|
@@ -8916,13 +8638,12 @@ exports.OIDCApiFp = function (configuration) {
|
|
|
8916
8638
|
},
|
|
8917
8639
|
/**
|
|
8918
8640
|
*
|
|
8919
|
-
* @summary
|
|
8920
|
-
* @param {string} orgId orgId
|
|
8641
|
+
* @summary Get oauth config
|
|
8921
8642
|
* @param {*} [options] Override http request option.
|
|
8922
8643
|
* @throws {RequiredError}
|
|
8923
8644
|
*/
|
|
8924
|
-
|
|
8925
|
-
const localVarFetchArgs = exports.
|
|
8645
|
+
getOAuthConfig(options) {
|
|
8646
|
+
const localVarFetchArgs = exports.OAuthApiFetchParamCreator(configuration).getOAuthConfig(options);
|
|
8926
8647
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
8927
8648
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
8928
8649
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -8934,122 +8655,154 @@ exports.OIDCApiFp = function (configuration) {
|
|
|
8934
8655
|
});
|
|
8935
8656
|
};
|
|
8936
8657
|
},
|
|
8658
|
+
/**
|
|
8659
|
+
*
|
|
8660
|
+
* @summary Patch oauth config
|
|
8661
|
+
* @param {OauthConfigPatchForm} body
|
|
8662
|
+
* @param {*} [options] Override http request option.
|
|
8663
|
+
* @throws {RequiredError}
|
|
8664
|
+
*/
|
|
8665
|
+
patchOAuthConfig(body, options) {
|
|
8666
|
+
const localVarFetchArgs = exports.OAuthApiFetchParamCreator(configuration).patchOAuthConfig(body, options);
|
|
8667
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
8668
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
8669
|
+
if (response.status >= 200 && response.status < 300) {
|
|
8670
|
+
return response;
|
|
8671
|
+
}
|
|
8672
|
+
else {
|
|
8673
|
+
throw response;
|
|
8674
|
+
}
|
|
8675
|
+
});
|
|
8676
|
+
};
|
|
8677
|
+
},
|
|
8937
8678
|
};
|
|
8938
8679
|
};
|
|
8939
8680
|
/**
|
|
8940
|
-
*
|
|
8681
|
+
* OAuthApi - factory interface
|
|
8941
8682
|
* @export
|
|
8942
8683
|
*/
|
|
8943
|
-
exports.
|
|
8684
|
+
exports.OAuthApiFactory = function (configuration, fetch, basePath) {
|
|
8944
8685
|
return {
|
|
8945
8686
|
/**
|
|
8946
8687
|
*
|
|
8947
|
-
* @summary
|
|
8948
|
-
* @param {
|
|
8688
|
+
* @summary Create oauth config
|
|
8689
|
+
* @param {OauthConfigCreateForm} body
|
|
8949
8690
|
* @param {*} [options] Override http request option.
|
|
8950
8691
|
* @throws {RequiredError}
|
|
8951
8692
|
*/
|
|
8952
|
-
|
|
8953
|
-
return exports.
|
|
8693
|
+
createOAuthConfig(body, options) {
|
|
8694
|
+
return exports.OAuthApiFp(configuration).createOAuthConfig(body, options)(fetch, basePath);
|
|
8954
8695
|
},
|
|
8955
8696
|
/**
|
|
8956
8697
|
*
|
|
8957
|
-
* @summary
|
|
8698
|
+
* @summary Delete oauth config
|
|
8958
8699
|
* @param {*} [options] Override http request option.
|
|
8959
8700
|
* @throws {RequiredError}
|
|
8960
8701
|
*/
|
|
8961
|
-
|
|
8962
|
-
return exports.
|
|
8702
|
+
deleteOAuthConfig(options) {
|
|
8703
|
+
return exports.OAuthApiFp(configuration).deleteOAuthConfig(options)(fetch, basePath);
|
|
8963
8704
|
},
|
|
8964
8705
|
/**
|
|
8965
8706
|
*
|
|
8966
|
-
* @summary
|
|
8967
|
-
* @param {string} orgId orgId
|
|
8707
|
+
* @summary Get oauth config
|
|
8968
8708
|
* @param {*} [options] Override http request option.
|
|
8969
8709
|
* @throws {RequiredError}
|
|
8970
8710
|
*/
|
|
8971
|
-
|
|
8972
|
-
return exports.
|
|
8711
|
+
getOAuthConfig(options) {
|
|
8712
|
+
return exports.OAuthApiFp(configuration).getOAuthConfig(options)(fetch, basePath);
|
|
8713
|
+
},
|
|
8714
|
+
/**
|
|
8715
|
+
*
|
|
8716
|
+
* @summary Patch oauth config
|
|
8717
|
+
* @param {OauthConfigPatchForm} body
|
|
8718
|
+
* @param {*} [options] Override http request option.
|
|
8719
|
+
* @throws {RequiredError}
|
|
8720
|
+
*/
|
|
8721
|
+
patchOAuthConfig(body, options) {
|
|
8722
|
+
return exports.OAuthApiFp(configuration).patchOAuthConfig(body, options)(fetch, basePath);
|
|
8973
8723
|
},
|
|
8974
8724
|
};
|
|
8975
8725
|
};
|
|
8976
8726
|
/**
|
|
8977
|
-
*
|
|
8727
|
+
* OAuthApi - object-oriented interface
|
|
8978
8728
|
* @export
|
|
8979
|
-
* @class
|
|
8729
|
+
* @class OAuthApi
|
|
8980
8730
|
* @extends {BaseAPI}
|
|
8981
8731
|
*/
|
|
8982
|
-
class
|
|
8732
|
+
class OAuthApi extends BaseAPI {
|
|
8983
8733
|
/**
|
|
8984
8734
|
*
|
|
8985
|
-
* @summary
|
|
8986
|
-
* @param {
|
|
8735
|
+
* @summary Create oauth config
|
|
8736
|
+
* @param {OauthConfigCreateForm} body
|
|
8987
8737
|
* @param {*} [options] Override http request option.
|
|
8988
8738
|
* @throws {RequiredError}
|
|
8989
|
-
* @memberof
|
|
8739
|
+
* @memberof OAuthApi
|
|
8990
8740
|
*/
|
|
8991
|
-
|
|
8992
|
-
return exports.
|
|
8741
|
+
createOAuthConfig(body, options) {
|
|
8742
|
+
return exports.OAuthApiFp(this.configuration).createOAuthConfig(body, options)(this.fetch, this.basePath);
|
|
8993
8743
|
}
|
|
8994
8744
|
/**
|
|
8995
8745
|
*
|
|
8996
|
-
* @summary
|
|
8746
|
+
* @summary Delete oauth config
|
|
8997
8747
|
* @param {*} [options] Override http request option.
|
|
8998
8748
|
* @throws {RequiredError}
|
|
8999
|
-
* @memberof
|
|
8749
|
+
* @memberof OAuthApi
|
|
9000
8750
|
*/
|
|
9001
|
-
|
|
9002
|
-
return exports.
|
|
8751
|
+
deleteOAuthConfig(options) {
|
|
8752
|
+
return exports.OAuthApiFp(this.configuration).deleteOAuthConfig(options)(this.fetch, this.basePath);
|
|
9003
8753
|
}
|
|
9004
8754
|
/**
|
|
9005
8755
|
*
|
|
9006
|
-
* @summary
|
|
9007
|
-
* @param {string} orgId orgId
|
|
8756
|
+
* @summary Get oauth config
|
|
9008
8757
|
* @param {*} [options] Override http request option.
|
|
9009
8758
|
* @throws {RequiredError}
|
|
9010
|
-
* @memberof
|
|
8759
|
+
* @memberof OAuthApi
|
|
9011
8760
|
*/
|
|
9012
|
-
|
|
9013
|
-
return exports.
|
|
8761
|
+
getOAuthConfig(options) {
|
|
8762
|
+
return exports.OAuthApiFp(this.configuration).getOAuthConfig(options)(this.fetch, this.basePath);
|
|
8763
|
+
}
|
|
8764
|
+
/**
|
|
8765
|
+
*
|
|
8766
|
+
* @summary Patch oauth config
|
|
8767
|
+
* @param {OauthConfigPatchForm} body
|
|
8768
|
+
* @param {*} [options] Override http request option.
|
|
8769
|
+
* @throws {RequiredError}
|
|
8770
|
+
* @memberof OAuthApi
|
|
8771
|
+
*/
|
|
8772
|
+
patchOAuthConfig(body, options) {
|
|
8773
|
+
return exports.OAuthApiFp(this.configuration).patchOAuthConfig(body, options)(this.fetch, this.basePath);
|
|
9014
8774
|
}
|
|
9015
8775
|
}
|
|
9016
|
-
exports.
|
|
8776
|
+
exports.OAuthApi = OAuthApi;
|
|
9017
8777
|
/**
|
|
9018
|
-
*
|
|
8778
|
+
* OIDCApi - fetch parameter creator
|
|
9019
8779
|
* @export
|
|
9020
8780
|
*/
|
|
9021
|
-
exports.
|
|
8781
|
+
exports.OIDCApiFetchParamCreator = function (configuration) {
|
|
9022
8782
|
return {
|
|
9023
8783
|
/**
|
|
9024
8784
|
*
|
|
9025
|
-
* @summary
|
|
9026
|
-
* @param {
|
|
8785
|
+
* @summary authorize with code
|
|
8786
|
+
* @param {CodeAuthorizationForm} body
|
|
9027
8787
|
* @param {*} [options] Override http request option.
|
|
9028
8788
|
* @throws {RequiredError}
|
|
9029
8789
|
*/
|
|
9030
|
-
|
|
8790
|
+
authorizeOpenIdConnect(body, options = {}) {
|
|
9031
8791
|
// verify required parameter 'body' is not null or undefined
|
|
9032
8792
|
if (body === null || body === undefined) {
|
|
9033
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
8793
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling authorizeOpenIdConnect.');
|
|
9034
8794
|
}
|
|
9035
|
-
const localVarPath = `/
|
|
8795
|
+
const localVarPath = `/oidc/code-authorization`;
|
|
9036
8796
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
9037
8797
|
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
9038
8798
|
const localVarHeaderParameter = {};
|
|
9039
8799
|
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
8800
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9048
8801
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
9049
8802
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
9050
8803
|
delete localVarUrlObj.search;
|
|
9051
8804
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
9052
|
-
const needsSerialization = ("
|
|
8805
|
+
const needsSerialization = ("CodeAuthorizationForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
9053
8806
|
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
9054
8807
|
return {
|
|
9055
8808
|
url: url.format(localVarUrlObj),
|
|
@@ -9058,51 +8811,16 @@ exports.OauthApiFetchParamCreator = function (configuration) {
|
|
|
9058
8811
|
},
|
|
9059
8812
|
/**
|
|
9060
8813
|
*
|
|
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
|
|
8814
|
+
* @summary get nonce
|
|
9090
8815
|
* @param {*} [options] Override http request option.
|
|
9091
8816
|
* @throws {RequiredError}
|
|
9092
8817
|
*/
|
|
9093
|
-
|
|
9094
|
-
const localVarPath = `/
|
|
8818
|
+
getNonce(options = {}) {
|
|
8819
|
+
const localVarPath = `/oidc/nonce`;
|
|
9095
8820
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
9096
8821
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
9097
8822
|
const localVarHeaderParameter = {};
|
|
9098
8823
|
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
8824
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
9107
8825
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
9108
8826
|
delete localVarUrlObj.search;
|
|
@@ -9114,35 +8832,28 @@ exports.OauthApiFetchParamCreator = function (configuration) {
|
|
|
9114
8832
|
},
|
|
9115
8833
|
/**
|
|
9116
8834
|
*
|
|
9117
|
-
* @summary
|
|
9118
|
-
* @param {
|
|
8835
|
+
* @summary unauthorized endpoint for org's oidc configuration
|
|
8836
|
+
* @param {string} orgId orgId
|
|
9119
8837
|
* @param {*} [options] Override http request option.
|
|
9120
8838
|
* @throws {RequiredError}
|
|
9121
8839
|
*/
|
|
9122
|
-
|
|
9123
|
-
// verify required parameter '
|
|
9124
|
-
if (
|
|
9125
|
-
throw new RequiredError('
|
|
8840
|
+
getOpenIDConnectConfigUnauthorized(orgId, options = {}) {
|
|
8841
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
8842
|
+
if (orgId === null || orgId === undefined) {
|
|
8843
|
+
throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling getOpenIDConnectConfigUnauthorized.');
|
|
9126
8844
|
}
|
|
9127
|
-
const localVarPath = `/
|
|
8845
|
+
const localVarPath = `/oidc-configs`;
|
|
9128
8846
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
9129
|
-
const localVarRequestOptions = Object.assign({ method: '
|
|
8847
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
9130
8848
|
const localVarHeaderParameter = {};
|
|
9131
8849
|
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;
|
|
8850
|
+
if (orgId !== undefined) {
|
|
8851
|
+
localVarQueryParameter['orgId'] = orgId;
|
|
9138
8852
|
}
|
|
9139
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9140
8853
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
9141
8854
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
9142
8855
|
delete localVarUrlObj.search;
|
|
9143
8856
|
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
8857
|
return {
|
|
9147
8858
|
url: url.format(localVarUrlObj),
|
|
9148
8859
|
options: localVarRequestOptions,
|
|
@@ -9151,43 +8862,24 @@ exports.OauthApiFetchParamCreator = function (configuration) {
|
|
|
9151
8862
|
};
|
|
9152
8863
|
};
|
|
9153
8864
|
/**
|
|
9154
|
-
*
|
|
8865
|
+
* OIDCApi - functional programming interface
|
|
9155
8866
|
* @export
|
|
9156
8867
|
*/
|
|
9157
|
-
exports.
|
|
8868
|
+
exports.OIDCApiFp = function (configuration) {
|
|
9158
8869
|
return {
|
|
9159
8870
|
/**
|
|
9160
8871
|
*
|
|
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
|
|
8872
|
+
* @summary authorize with code
|
|
8873
|
+
* @param {CodeAuthorizationForm} body
|
|
9182
8874
|
* @param {*} [options] Override http request option.
|
|
9183
8875
|
* @throws {RequiredError}
|
|
9184
8876
|
*/
|
|
9185
|
-
|
|
9186
|
-
const localVarFetchArgs = exports.
|
|
8877
|
+
authorizeOpenIdConnect(body, options) {
|
|
8878
|
+
const localVarFetchArgs = exports.OIDCApiFetchParamCreator(configuration).authorizeOpenIdConnect(body, options);
|
|
9187
8879
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
9188
8880
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
9189
8881
|
if (response.status >= 200 && response.status < 300) {
|
|
9190
|
-
return response;
|
|
8882
|
+
return response.json();
|
|
9191
8883
|
}
|
|
9192
8884
|
else {
|
|
9193
8885
|
throw response;
|
|
@@ -9197,12 +8889,12 @@ exports.OauthApiFp = function (configuration) {
|
|
|
9197
8889
|
},
|
|
9198
8890
|
/**
|
|
9199
8891
|
*
|
|
9200
|
-
* @summary
|
|
8892
|
+
* @summary get nonce
|
|
9201
8893
|
* @param {*} [options] Override http request option.
|
|
9202
8894
|
* @throws {RequiredError}
|
|
9203
8895
|
*/
|
|
9204
|
-
|
|
9205
|
-
const localVarFetchArgs = exports.
|
|
8896
|
+
getNonce(options) {
|
|
8897
|
+
const localVarFetchArgs = exports.OIDCApiFetchParamCreator(configuration).getNonce(options);
|
|
9206
8898
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
9207
8899
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
9208
8900
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -9216,17 +8908,17 @@ exports.OauthApiFp = function (configuration) {
|
|
|
9216
8908
|
},
|
|
9217
8909
|
/**
|
|
9218
8910
|
*
|
|
9219
|
-
* @summary
|
|
9220
|
-
* @param {
|
|
8911
|
+
* @summary unauthorized endpoint for org's oidc configuration
|
|
8912
|
+
* @param {string} orgId orgId
|
|
9221
8913
|
* @param {*} [options] Override http request option.
|
|
9222
8914
|
* @throws {RequiredError}
|
|
9223
8915
|
*/
|
|
9224
|
-
|
|
9225
|
-
const localVarFetchArgs = exports.
|
|
8916
|
+
getOpenIDConnectConfigUnauthorized(orgId, options) {
|
|
8917
|
+
const localVarFetchArgs = exports.OIDCApiFetchParamCreator(configuration).getOpenIDConnectConfigUnauthorized(orgId, options);
|
|
9226
8918
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
9227
8919
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
9228
8920
|
if (response.status >= 200 && response.status < 300) {
|
|
9229
|
-
return response;
|
|
8921
|
+
return response.json();
|
|
9230
8922
|
}
|
|
9231
8923
|
else {
|
|
9232
8924
|
throw response;
|
|
@@ -9237,102 +8929,83 @@ exports.OauthApiFp = function (configuration) {
|
|
|
9237
8929
|
};
|
|
9238
8930
|
};
|
|
9239
8931
|
/**
|
|
9240
|
-
*
|
|
8932
|
+
* OIDCApi - factory interface
|
|
9241
8933
|
* @export
|
|
9242
8934
|
*/
|
|
9243
|
-
exports.
|
|
8935
|
+
exports.OIDCApiFactory = function (configuration, fetch, basePath) {
|
|
9244
8936
|
return {
|
|
9245
8937
|
/**
|
|
9246
8938
|
*
|
|
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
|
|
8939
|
+
* @summary authorize with code
|
|
8940
|
+
* @param {CodeAuthorizationForm} body
|
|
9258
8941
|
* @param {*} [options] Override http request option.
|
|
9259
8942
|
* @throws {RequiredError}
|
|
9260
8943
|
*/
|
|
9261
|
-
|
|
9262
|
-
return exports.
|
|
8944
|
+
authorizeOpenIdConnect(body, options) {
|
|
8945
|
+
return exports.OIDCApiFp(configuration).authorizeOpenIdConnect(body, options)(fetch, basePath);
|
|
9263
8946
|
},
|
|
9264
8947
|
/**
|
|
9265
8948
|
*
|
|
9266
|
-
* @summary
|
|
8949
|
+
* @summary get nonce
|
|
9267
8950
|
* @param {*} [options] Override http request option.
|
|
9268
8951
|
* @throws {RequiredError}
|
|
9269
8952
|
*/
|
|
9270
|
-
|
|
9271
|
-
return exports.
|
|
8953
|
+
getNonce(options) {
|
|
8954
|
+
return exports.OIDCApiFp(configuration).getNonce(options)(fetch, basePath);
|
|
9272
8955
|
},
|
|
9273
8956
|
/**
|
|
9274
8957
|
*
|
|
9275
|
-
* @summary
|
|
9276
|
-
* @param {
|
|
8958
|
+
* @summary unauthorized endpoint for org's oidc configuration
|
|
8959
|
+
* @param {string} orgId orgId
|
|
9277
8960
|
* @param {*} [options] Override http request option.
|
|
9278
8961
|
* @throws {RequiredError}
|
|
9279
8962
|
*/
|
|
9280
|
-
|
|
9281
|
-
return exports.
|
|
8963
|
+
getOpenIDConnectConfigUnauthorized(orgId, options) {
|
|
8964
|
+
return exports.OIDCApiFp(configuration).getOpenIDConnectConfigUnauthorized(orgId, options)(fetch, basePath);
|
|
9282
8965
|
},
|
|
9283
8966
|
};
|
|
9284
8967
|
};
|
|
9285
8968
|
/**
|
|
9286
|
-
*
|
|
8969
|
+
* OIDCApi - object-oriented interface
|
|
9287
8970
|
* @export
|
|
9288
|
-
* @class
|
|
8971
|
+
* @class OIDCApi
|
|
9289
8972
|
* @extends {BaseAPI}
|
|
9290
8973
|
*/
|
|
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
|
-
}
|
|
8974
|
+
class OIDCApi extends BaseAPI {
|
|
9303
8975
|
/**
|
|
9304
8976
|
*
|
|
9305
|
-
* @summary
|
|
8977
|
+
* @summary authorize with code
|
|
8978
|
+
* @param {CodeAuthorizationForm} body
|
|
9306
8979
|
* @param {*} [options] Override http request option.
|
|
9307
8980
|
* @throws {RequiredError}
|
|
9308
|
-
* @memberof
|
|
8981
|
+
* @memberof OIDCApi
|
|
9309
8982
|
*/
|
|
9310
|
-
|
|
9311
|
-
return exports.
|
|
8983
|
+
authorizeOpenIdConnect(body, options) {
|
|
8984
|
+
return exports.OIDCApiFp(this.configuration).authorizeOpenIdConnect(body, options)(this.fetch, this.basePath);
|
|
9312
8985
|
}
|
|
9313
8986
|
/**
|
|
9314
8987
|
*
|
|
9315
|
-
* @summary
|
|
8988
|
+
* @summary get nonce
|
|
9316
8989
|
* @param {*} [options] Override http request option.
|
|
9317
8990
|
* @throws {RequiredError}
|
|
9318
|
-
* @memberof
|
|
8991
|
+
* @memberof OIDCApi
|
|
9319
8992
|
*/
|
|
9320
|
-
|
|
9321
|
-
return exports.
|
|
8993
|
+
getNonce(options) {
|
|
8994
|
+
return exports.OIDCApiFp(this.configuration).getNonce(options)(this.fetch, this.basePath);
|
|
9322
8995
|
}
|
|
9323
8996
|
/**
|
|
9324
8997
|
*
|
|
9325
|
-
* @summary
|
|
9326
|
-
* @param {
|
|
8998
|
+
* @summary unauthorized endpoint for org's oidc configuration
|
|
8999
|
+
* @param {string} orgId orgId
|
|
9327
9000
|
* @param {*} [options] Override http request option.
|
|
9328
9001
|
* @throws {RequiredError}
|
|
9329
|
-
* @memberof
|
|
9002
|
+
* @memberof OIDCApi
|
|
9330
9003
|
*/
|
|
9331
|
-
|
|
9332
|
-
return exports.
|
|
9004
|
+
getOpenIDConnectConfigUnauthorized(orgId, options) {
|
|
9005
|
+
return exports.OIDCApiFp(this.configuration).getOpenIDConnectConfigUnauthorized(orgId, options)(this.fetch, this.basePath);
|
|
9333
9006
|
}
|
|
9334
9007
|
}
|
|
9335
|
-
exports.
|
|
9008
|
+
exports.OIDCApi = OIDCApi;
|
|
9336
9009
|
/**
|
|
9337
9010
|
* OplAddressApi - fetch parameter creator
|
|
9338
9011
|
* @export
|
|
@@ -13340,6 +13013,42 @@ exports.RoomsApiFetchParamCreator = function (configuration) {
|
|
|
13340
13013
|
options: localVarRequestOptions,
|
|
13341
13014
|
};
|
|
13342
13015
|
},
|
|
13016
|
+
/**
|
|
13017
|
+
*
|
|
13018
|
+
* @summary Search for a room by lead query.
|
|
13019
|
+
* @param {string} query
|
|
13020
|
+
* @param {*} [options] Override http request option.
|
|
13021
|
+
* @throws {RequiredError}
|
|
13022
|
+
*/
|
|
13023
|
+
getInboxEntriesByQuery(query, options = {}) {
|
|
13024
|
+
// verify required parameter 'query' is not null or undefined
|
|
13025
|
+
if (query === null || query === undefined) {
|
|
13026
|
+
throw new RequiredError('query', 'Required parameter query was null or undefined when calling getInboxEntriesByQuery.');
|
|
13027
|
+
}
|
|
13028
|
+
const localVarPath = `/rooms/search`;
|
|
13029
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
13030
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
13031
|
+
const localVarHeaderParameter = {};
|
|
13032
|
+
const localVarQueryParameter = {};
|
|
13033
|
+
// authentication apiKey required
|
|
13034
|
+
if (configuration && configuration.apiKey) {
|
|
13035
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
13036
|
+
? configuration.apiKey("X-Api-Key")
|
|
13037
|
+
: configuration.apiKey;
|
|
13038
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
13039
|
+
}
|
|
13040
|
+
if (query !== undefined) {
|
|
13041
|
+
localVarQueryParameter['query'] = query;
|
|
13042
|
+
}
|
|
13043
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
13044
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
13045
|
+
delete localVarUrlObj.search;
|
|
13046
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
13047
|
+
return {
|
|
13048
|
+
url: url.format(localVarUrlObj),
|
|
13049
|
+
options: localVarRequestOptions,
|
|
13050
|
+
};
|
|
13051
|
+
},
|
|
13343
13052
|
/**
|
|
13344
13053
|
*
|
|
13345
13054
|
* @summary Get ids of agents not following the room
|
|
@@ -13419,7 +13128,7 @@ exports.RoomsApiFetchParamCreator = function (configuration) {
|
|
|
13419
13128
|
/**
|
|
13420
13129
|
*
|
|
13421
13130
|
* @summary Set conversation status
|
|
13422
|
-
* @param {
|
|
13131
|
+
* @param {ConversationStatusForm} body
|
|
13423
13132
|
* @param {string} roomId The ID of the room of the conversation.
|
|
13424
13133
|
* @param {*} [options] Override http request option.
|
|
13425
13134
|
* @throws {RequiredError}
|
|
@@ -13451,7 +13160,7 @@ exports.RoomsApiFetchParamCreator = function (configuration) {
|
|
|
13451
13160
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
13452
13161
|
delete localVarUrlObj.search;
|
|
13453
13162
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
13454
|
-
const needsSerialization = ("
|
|
13163
|
+
const needsSerialization = ("ConversationStatusForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
13455
13164
|
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
13456
13165
|
return {
|
|
13457
13166
|
url: url.format(localVarUrlObj),
|
|
@@ -13710,6 +13419,26 @@ exports.RoomsApiFp = function (configuration) {
|
|
|
13710
13419
|
});
|
|
13711
13420
|
};
|
|
13712
13421
|
},
|
|
13422
|
+
/**
|
|
13423
|
+
*
|
|
13424
|
+
* @summary Search for a room by lead query.
|
|
13425
|
+
* @param {string} query
|
|
13426
|
+
* @param {*} [options] Override http request option.
|
|
13427
|
+
* @throws {RequiredError}
|
|
13428
|
+
*/
|
|
13429
|
+
getInboxEntriesByQuery(query, options) {
|
|
13430
|
+
const localVarFetchArgs = exports.RoomsApiFetchParamCreator(configuration).getInboxEntriesByQuery(query, options);
|
|
13431
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
13432
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
13433
|
+
if (response.status >= 200 && response.status < 300) {
|
|
13434
|
+
return response.json();
|
|
13435
|
+
}
|
|
13436
|
+
else {
|
|
13437
|
+
throw response;
|
|
13438
|
+
}
|
|
13439
|
+
});
|
|
13440
|
+
};
|
|
13441
|
+
},
|
|
13713
13442
|
/**
|
|
13714
13443
|
*
|
|
13715
13444
|
* @summary Get ids of agents not following the room
|
|
@@ -13754,7 +13483,7 @@ exports.RoomsApiFp = function (configuration) {
|
|
|
13754
13483
|
/**
|
|
13755
13484
|
*
|
|
13756
13485
|
* @summary Set conversation status
|
|
13757
|
-
* @param {
|
|
13486
|
+
* @param {ConversationStatusForm} body
|
|
13758
13487
|
* @param {string} roomId The ID of the room of the conversation.
|
|
13759
13488
|
* @param {*} [options] Override http request option.
|
|
13760
13489
|
* @throws {RequiredError}
|
|
@@ -13912,6 +13641,16 @@ exports.RoomsApiFactory = function (configuration, fetch, basePath) {
|
|
|
13912
13641
|
getHistory(roomId, options) {
|
|
13913
13642
|
return exports.RoomsApiFp(configuration).getHistory(roomId, options)(fetch, basePath);
|
|
13914
13643
|
},
|
|
13644
|
+
/**
|
|
13645
|
+
*
|
|
13646
|
+
* @summary Search for a room by lead query.
|
|
13647
|
+
* @param {string} query
|
|
13648
|
+
* @param {*} [options] Override http request option.
|
|
13649
|
+
* @throws {RequiredError}
|
|
13650
|
+
*/
|
|
13651
|
+
getInboxEntriesByQuery(query, options) {
|
|
13652
|
+
return exports.RoomsApiFp(configuration).getInboxEntriesByQuery(query, options)(fetch, basePath);
|
|
13653
|
+
},
|
|
13915
13654
|
/**
|
|
13916
13655
|
*
|
|
13917
13656
|
* @summary Get ids of agents not following the room
|
|
@@ -13936,7 +13675,7 @@ exports.RoomsApiFactory = function (configuration, fetch, basePath) {
|
|
|
13936
13675
|
/**
|
|
13937
13676
|
*
|
|
13938
13677
|
* @summary Set conversation status
|
|
13939
|
-
* @param {
|
|
13678
|
+
* @param {ConversationStatusForm} body
|
|
13940
13679
|
* @param {string} roomId The ID of the room of the conversation.
|
|
13941
13680
|
* @param {*} [options] Override http request option.
|
|
13942
13681
|
* @throws {RequiredError}
|
|
@@ -14062,6 +13801,17 @@ class RoomsApi extends BaseAPI {
|
|
|
14062
13801
|
getHistory(roomId, options) {
|
|
14063
13802
|
return exports.RoomsApiFp(this.configuration).getHistory(roomId, options)(this.fetch, this.basePath);
|
|
14064
13803
|
}
|
|
13804
|
+
/**
|
|
13805
|
+
*
|
|
13806
|
+
* @summary Search for a room by lead query.
|
|
13807
|
+
* @param {string} query
|
|
13808
|
+
* @param {*} [options] Override http request option.
|
|
13809
|
+
* @throws {RequiredError}
|
|
13810
|
+
* @memberof RoomsApi
|
|
13811
|
+
*/
|
|
13812
|
+
getInboxEntriesByQuery(query, options) {
|
|
13813
|
+
return exports.RoomsApiFp(this.configuration).getInboxEntriesByQuery(query, options)(this.fetch, this.basePath);
|
|
13814
|
+
}
|
|
14065
13815
|
/**
|
|
14066
13816
|
*
|
|
14067
13817
|
* @summary Get ids of agents not following the room
|
|
@@ -14088,7 +13838,7 @@ class RoomsApi extends BaseAPI {
|
|
|
14088
13838
|
/**
|
|
14089
13839
|
*
|
|
14090
13840
|
* @summary Set conversation status
|
|
14091
|
-
* @param {
|
|
13841
|
+
* @param {ConversationStatusForm} body
|
|
14092
13842
|
* @param {string} roomId The ID of the room of the conversation.
|
|
14093
13843
|
* @param {*} [options] Override http request option.
|
|
14094
13844
|
* @throws {RequiredError}
|
|
@@ -14208,6 +13958,13 @@ exports.SessionApiFetchParamCreator = function (configuration) {
|
|
|
14208
13958
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
14209
13959
|
const localVarHeaderParameter = {};
|
|
14210
13960
|
const localVarQueryParameter = {};
|
|
13961
|
+
// authentication cookieAuth required
|
|
13962
|
+
if (configuration && configuration.apiKey) {
|
|
13963
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
13964
|
+
? configuration.apiKey("ratel-spinner")
|
|
13965
|
+
: configuration.apiKey;
|
|
13966
|
+
localVarQueryParameter["ratel-spinner"] = localVarApiKeyValue;
|
|
13967
|
+
}
|
|
14211
13968
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
14212
13969
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
14213
13970
|
delete localVarUrlObj.search;
|
|
@@ -14831,6 +14588,34 @@ exports.TagGroupsApiFetchParamCreator = function (configuration) {
|
|
|
14831
14588
|
options: localVarRequestOptions,
|
|
14832
14589
|
};
|
|
14833
14590
|
},
|
|
14591
|
+
/**
|
|
14592
|
+
*
|
|
14593
|
+
* @summary endpoint to retrieve tag groups
|
|
14594
|
+
* @param {*} [options] Override http request option.
|
|
14595
|
+
* @throws {RequiredError}
|
|
14596
|
+
*/
|
|
14597
|
+
getTagGroups(options = {}) {
|
|
14598
|
+
const localVarPath = `/tag-groups`;
|
|
14599
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
14600
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
14601
|
+
const localVarHeaderParameter = {};
|
|
14602
|
+
const localVarQueryParameter = {};
|
|
14603
|
+
// authentication apiKey required
|
|
14604
|
+
if (configuration && configuration.apiKey) {
|
|
14605
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
14606
|
+
? configuration.apiKey("X-Api-Key")
|
|
14607
|
+
: configuration.apiKey;
|
|
14608
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
14609
|
+
}
|
|
14610
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
14611
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
14612
|
+
delete localVarUrlObj.search;
|
|
14613
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
14614
|
+
return {
|
|
14615
|
+
url: url.format(localVarUrlObj),
|
|
14616
|
+
options: localVarRequestOptions,
|
|
14617
|
+
};
|
|
14618
|
+
},
|
|
14834
14619
|
/**
|
|
14835
14620
|
*
|
|
14836
14621
|
* @summary endpoint to update tag group
|
|
@@ -14977,6 +14762,25 @@ exports.TagGroupsApiFp = function (configuration) {
|
|
|
14977
14762
|
});
|
|
14978
14763
|
};
|
|
14979
14764
|
},
|
|
14765
|
+
/**
|
|
14766
|
+
*
|
|
14767
|
+
* @summary endpoint to retrieve tag groups
|
|
14768
|
+
* @param {*} [options] Override http request option.
|
|
14769
|
+
* @throws {RequiredError}
|
|
14770
|
+
*/
|
|
14771
|
+
getTagGroups(options) {
|
|
14772
|
+
const localVarFetchArgs = exports.TagGroupsApiFetchParamCreator(configuration).getTagGroups(options);
|
|
14773
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
14774
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
14775
|
+
if (response.status >= 200 && response.status < 300) {
|
|
14776
|
+
return response.json();
|
|
14777
|
+
}
|
|
14778
|
+
else {
|
|
14779
|
+
throw response;
|
|
14780
|
+
}
|
|
14781
|
+
});
|
|
14782
|
+
};
|
|
14783
|
+
},
|
|
14980
14784
|
/**
|
|
14981
14785
|
*
|
|
14982
14786
|
* @summary endpoint to update tag group
|
|
@@ -15056,6 +14860,15 @@ exports.TagGroupsApiFactory = function (configuration, fetch, basePath) {
|
|
|
15056
14860
|
getTagGroup(id, options) {
|
|
15057
14861
|
return exports.TagGroupsApiFp(configuration).getTagGroup(id, options)(fetch, basePath);
|
|
15058
14862
|
},
|
|
14863
|
+
/**
|
|
14864
|
+
*
|
|
14865
|
+
* @summary endpoint to retrieve tag groups
|
|
14866
|
+
* @param {*} [options] Override http request option.
|
|
14867
|
+
* @throws {RequiredError}
|
|
14868
|
+
*/
|
|
14869
|
+
getTagGroups(options) {
|
|
14870
|
+
return exports.TagGroupsApiFp(configuration).getTagGroups(options)(fetch, basePath);
|
|
14871
|
+
},
|
|
15059
14872
|
/**
|
|
15060
14873
|
*
|
|
15061
14874
|
* @summary endpoint to update tag group
|
|
@@ -15119,6 +14932,16 @@ class TagGroupsApi extends BaseAPI {
|
|
|
15119
14932
|
getTagGroup(id, options) {
|
|
15120
14933
|
return exports.TagGroupsApiFp(this.configuration).getTagGroup(id, options)(this.fetch, this.basePath);
|
|
15121
14934
|
}
|
|
14935
|
+
/**
|
|
14936
|
+
*
|
|
14937
|
+
* @summary endpoint to retrieve tag groups
|
|
14938
|
+
* @param {*} [options] Override http request option.
|
|
14939
|
+
* @throws {RequiredError}
|
|
14940
|
+
* @memberof TagGroupsApi
|
|
14941
|
+
*/
|
|
14942
|
+
getTagGroups(options) {
|
|
14943
|
+
return exports.TagGroupsApiFp(this.configuration).getTagGroups(options)(this.fetch, this.basePath);
|
|
14944
|
+
}
|
|
15122
14945
|
/**
|
|
15123
14946
|
*
|
|
15124
14947
|
* @summary endpoint to update tag group
|
|
@@ -15164,7 +14987,44 @@ exports.TagMappingsApiFetchParamCreator = function (configuration) {
|
|
|
15164
14987
|
}
|
|
15165
14988
|
const localVarPath = `/tag-mappings`;
|
|
15166
14989
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
15167
|
-
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
14990
|
+
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
14991
|
+
const localVarHeaderParameter = {};
|
|
14992
|
+
const localVarQueryParameter = {};
|
|
14993
|
+
// authentication apiKey required
|
|
14994
|
+
if (configuration && configuration.apiKey) {
|
|
14995
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
14996
|
+
? configuration.apiKey("X-Api-Key")
|
|
14997
|
+
: configuration.apiKey;
|
|
14998
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
14999
|
+
}
|
|
15000
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15001
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
15002
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
15003
|
+
delete localVarUrlObj.search;
|
|
15004
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
15005
|
+
const needsSerialization = ("CreateTagMappingForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
15006
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
15007
|
+
return {
|
|
15008
|
+
url: url.format(localVarUrlObj),
|
|
15009
|
+
options: localVarRequestOptions,
|
|
15010
|
+
};
|
|
15011
|
+
},
|
|
15012
|
+
/**
|
|
15013
|
+
*
|
|
15014
|
+
* @summary authorized endpoint to delete tag mapping
|
|
15015
|
+
* @param {string} id primary key of record which should be deleted
|
|
15016
|
+
* @param {*} [options] Override http request option.
|
|
15017
|
+
* @throws {RequiredError}
|
|
15018
|
+
*/
|
|
15019
|
+
deleteTagMapping(id, options = {}) {
|
|
15020
|
+
// verify required parameter 'id' is not null or undefined
|
|
15021
|
+
if (id === null || id === undefined) {
|
|
15022
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteTagMapping.');
|
|
15023
|
+
}
|
|
15024
|
+
const localVarPath = `/tag-mappings/{id}`
|
|
15025
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15026
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
15027
|
+
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
15168
15028
|
const localVarHeaderParameter = {};
|
|
15169
15029
|
const localVarQueryParameter = {};
|
|
15170
15030
|
// authentication apiKey required
|
|
@@ -15174,13 +15034,10 @@ exports.TagMappingsApiFetchParamCreator = function (configuration) {
|
|
|
15174
15034
|
: configuration.apiKey;
|
|
15175
15035
|
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
15176
15036
|
}
|
|
15177
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15178
15037
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
15179
15038
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
15180
15039
|
delete localVarUrlObj.search;
|
|
15181
15040
|
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
15041
|
return {
|
|
15185
15042
|
url: url.format(localVarUrlObj),
|
|
15186
15043
|
options: localVarRequestOptions,
|
|
@@ -15188,20 +15045,14 @@ exports.TagMappingsApiFetchParamCreator = function (configuration) {
|
|
|
15188
15045
|
},
|
|
15189
15046
|
/**
|
|
15190
15047
|
*
|
|
15191
|
-
* @summary
|
|
15192
|
-
* @param {string} id primary key of record which should be deleted
|
|
15048
|
+
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15193
15049
|
* @param {*} [options] Override http request option.
|
|
15194
15050
|
* @throws {RequiredError}
|
|
15195
15051
|
*/
|
|
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)));
|
|
15052
|
+
getTagMappings(options = {}) {
|
|
15053
|
+
const localVarPath = `/tag-mappings`;
|
|
15203
15054
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
15204
|
-
const localVarRequestOptions = Object.assign({ method: '
|
|
15055
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
15205
15056
|
const localVarHeaderParameter = {};
|
|
15206
15057
|
const localVarQueryParameter = {};
|
|
15207
15058
|
// authentication apiKey required
|
|
@@ -15310,6 +15161,25 @@ exports.TagMappingsApiFp = function (configuration) {
|
|
|
15310
15161
|
});
|
|
15311
15162
|
};
|
|
15312
15163
|
},
|
|
15164
|
+
/**
|
|
15165
|
+
*
|
|
15166
|
+
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15167
|
+
* @param {*} [options] Override http request option.
|
|
15168
|
+
* @throws {RequiredError}
|
|
15169
|
+
*/
|
|
15170
|
+
getTagMappings(options) {
|
|
15171
|
+
const localVarFetchArgs = exports.TagMappingsApiFetchParamCreator(configuration).getTagMappings(options);
|
|
15172
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
15173
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
15174
|
+
if (response.status >= 200 && response.status < 300) {
|
|
15175
|
+
return response.json();
|
|
15176
|
+
}
|
|
15177
|
+
else {
|
|
15178
|
+
throw response;
|
|
15179
|
+
}
|
|
15180
|
+
});
|
|
15181
|
+
};
|
|
15182
|
+
},
|
|
15313
15183
|
/**
|
|
15314
15184
|
*
|
|
15315
15185
|
* @summary authorized endpoint to update tag mapping
|
|
@@ -15359,6 +15229,15 @@ exports.TagMappingsApiFactory = function (configuration, fetch, basePath) {
|
|
|
15359
15229
|
deleteTagMapping(id, options) {
|
|
15360
15230
|
return exports.TagMappingsApiFp(configuration).deleteTagMapping(id, options)(fetch, basePath);
|
|
15361
15231
|
},
|
|
15232
|
+
/**
|
|
15233
|
+
*
|
|
15234
|
+
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15235
|
+
* @param {*} [options] Override http request option.
|
|
15236
|
+
* @throws {RequiredError}
|
|
15237
|
+
*/
|
|
15238
|
+
getTagMappings(options) {
|
|
15239
|
+
return exports.TagMappingsApiFp(configuration).getTagMappings(options)(fetch, basePath);
|
|
15240
|
+
},
|
|
15362
15241
|
/**
|
|
15363
15242
|
*
|
|
15364
15243
|
* @summary authorized endpoint to update tag mapping
|
|
@@ -15401,6 +15280,16 @@ class TagMappingsApi extends BaseAPI {
|
|
|
15401
15280
|
deleteTagMapping(id, options) {
|
|
15402
15281
|
return exports.TagMappingsApiFp(this.configuration).deleteTagMapping(id, options)(this.fetch, this.basePath);
|
|
15403
15282
|
}
|
|
15283
|
+
/**
|
|
15284
|
+
*
|
|
15285
|
+
* @summary secured endpoint to retrieve data about url-tag mappings
|
|
15286
|
+
* @param {*} [options] Override http request option.
|
|
15287
|
+
* @throws {RequiredError}
|
|
15288
|
+
* @memberof TagMappingsApi
|
|
15289
|
+
*/
|
|
15290
|
+
getTagMappings(options) {
|
|
15291
|
+
return exports.TagMappingsApiFp(this.configuration).getTagMappings(options)(this.fetch, this.basePath);
|
|
15292
|
+
}
|
|
15404
15293
|
/**
|
|
15405
15294
|
*
|
|
15406
15295
|
* @summary authorized endpoint to update tag mapping
|
|
@@ -15491,62 +15380,6 @@ exports.TagsApiFetchParamCreator = function (configuration) {
|
|
|
15491
15380
|
options: localVarRequestOptions,
|
|
15492
15381
|
};
|
|
15493
15382
|
},
|
|
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
15383
|
/**
|
|
15551
15384
|
*
|
|
15552
15385
|
* @summary secured endpoint to retrieve tags
|
|
@@ -15665,44 +15498,6 @@ exports.TagsApiFp = function (configuration) {
|
|
|
15665
15498
|
});
|
|
15666
15499
|
};
|
|
15667
15500
|
},
|
|
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
15501
|
/**
|
|
15707
15502
|
*
|
|
15708
15503
|
* @summary secured endpoint to retrieve tags
|
|
@@ -15771,24 +15566,6 @@ exports.TagsApiFactory = function (configuration, fetch, basePath) {
|
|
|
15771
15566
|
deleteTag(id, options) {
|
|
15772
15567
|
return exports.TagsApiFp(configuration).deleteTag(id, options)(fetch, basePath);
|
|
15773
15568
|
},
|
|
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
15569
|
/**
|
|
15793
15570
|
*
|
|
15794
15571
|
* @summary secured endpoint to retrieve tags
|
|
@@ -15840,26 +15617,6 @@ class TagsApi extends BaseAPI {
|
|
|
15840
15617
|
deleteTag(id, options) {
|
|
15841
15618
|
return exports.TagsApiFp(this.configuration).deleteTag(id, options)(this.fetch, this.basePath);
|
|
15842
15619
|
}
|
|
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
15620
|
/**
|
|
15864
15621
|
*
|
|
15865
15622
|
* @summary secured endpoint to retrieve tags
|
|
@@ -17102,42 +16859,6 @@ exports.UsersApiFetchParamCreator = function (configuration) {
|
|
|
17102
16859
|
options: localVarRequestOptions,
|
|
17103
16860
|
};
|
|
17104
16861
|
},
|
|
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
16862
|
/**
|
|
17142
16863
|
*
|
|
17143
16864
|
* @summary Get limited adviser profile.
|
|
@@ -18709,26 +18430,6 @@ exports.UsersApiFp = function (configuration) {
|
|
|
18709
18430
|
});
|
|
18710
18431
|
};
|
|
18711
18432
|
},
|
|
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
18433
|
/**
|
|
18733
18434
|
*
|
|
18734
18435
|
* @summary Get limited adviser profile.
|
|
@@ -19573,16 +19274,6 @@ exports.UsersApiFactory = function (configuration, fetch, basePath) {
|
|
|
19573
19274
|
getGuestProfileByApiKey(orgId, options) {
|
|
19574
19275
|
return exports.UsersApiFp(configuration).getGuestProfileByApiKey(orgId, options)(fetch, basePath);
|
|
19575
19276
|
},
|
|
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
19277
|
/**
|
|
19587
19278
|
*
|
|
19588
19279
|
* @summary Get limited adviser profile.
|
|
@@ -20139,17 +19830,6 @@ class UsersApi extends BaseAPI {
|
|
|
20139
19830
|
getGuestProfileByApiKey(orgId, options) {
|
|
20140
19831
|
return exports.UsersApiFp(this.configuration).getGuestProfileByApiKey(orgId, options)(this.fetch, this.basePath);
|
|
20141
19832
|
}
|
|
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
19833
|
/**
|
|
20154
19834
|
*
|
|
20155
19835
|
* @summary Get limited adviser profile.
|