@closerplatform/spinner-openapi 0.12.0 → 0.12.3
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 +121 -147
- package/dist/api.js +152 -151
- 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.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.
|
|
16
|
+
exports.WidgetsFormsSubmissionsApi = exports.WidgetsFormsSubmissionsApiFactory = exports.WidgetsFormsSubmissionsApiFp = exports.WidgetsFormsSubmissionsApiFetchParamCreator = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiFetchParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiFetchParamCreator = exports.UrlTagMappingsApi = exports.UrlTagMappingsApiFactory = exports.UrlTagMappingsApiFp = exports.UrlTagMappingsApiFetchParamCreator = exports.UnreadApi = exports.UnreadApiFactory = exports.UnreadApiFp = exports.UnreadApiFetchParamCreator = exports.TopicsApi = exports.TopicsApiFactory = exports.TopicsApiFp = exports.TopicsApiFetchParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiFetchParamCreator = exports.TagMappingsApi = exports.TagMappingsApiFactory = exports.TagMappingsApiFp = exports.TagMappingsApiFetchParamCreator = exports.TagGroupsApi = exports.TagGroupsApiFactory = exports.TagGroupsApiFp = exports.TagGroupsApiFetchParamCreator = exports.StatusApi = exports.StatusApiFactory = exports.StatusApiFp = exports.StatusApiFetchParamCreator = exports.SessionApi = exports.SessionApiFactory = exports.SessionApiFp = exports.SessionApiFetchParamCreator = exports.RoomsApi = exports.RoomsApiFactory = exports.RoomsApiFp = exports.RoomsApiFetchParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiFetchParamCreator = exports.PushApi = exports.PushApiFactory = exports.PushApiFp = exports.PushApiFetchParamCreator = exports.ProfanitiesApi = exports.ProfanitiesApiFactory = exports.ProfanitiesApiFp = exports.ProfanitiesApiFetchParamCreator = exports.ProactiveMsgApi = exports.ProactiveMsgApiFactory = exports.ProactiveMsgApiFp = exports.ProactiveMsgApiFetchParamCreator = exports.OrgsApi = exports.OrgsApiFactory = exports.OrgsApiFp = exports.OrgsApiFetchParamCreator = exports.OplAddressApi = exports.OplAddressApiFactory = exports.OplAddressApiFp = exports.OplAddressApiFetchParamCreator = exports.OIDCApi = exports.OIDCApiFactory = exports.OIDCApiFp = exports.OIDCApiFetchParamCreator = exports.OAuthApi = exports.OAuthApiFactory = exports.OAuthApiFp = exports.OAuthApiFetchParamCreator = exports.NLUApi = exports.NLUApiFactory = exports.NLUApiFp = exports.NLUApiFetchParamCreator = exports.MessageWidgetsApi = exports.MessageWidgetsApiFactory = exports.MessageWidgetsApiFp = exports.MessageWidgetsApiFetchParamCreator = exports.MeetingsApi = exports.MeetingsApiFactory = exports.MeetingsApiFp = exports.MeetingsApiFetchParamCreator = exports.InviteesApi = exports.InviteesApiFactory = exports.InviteesApiFp = exports.InviteesApiFetchParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiFetchParamCreator = exports.EventActionsApi = exports.EventActionsApiFactory = exports.EventActionsApiFp = exports.EventActionsApiFetchParamCreator = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiFetchParamCreator = exports.ConversationsApi = exports.ConversationsApiFactory = exports.ConversationsApiFp = exports.ConversationsApiFetchParamCreator = exports.CompatibilityApi = exports.CompatibilityApiFactory = exports.CompatibilityApiFp = exports.CompatibilityApiFetchParamCreator = exports.CobrowsingApi = exports.CobrowsingApiFactory = exports.CobrowsingApiFp = exports.CobrowsingApiFetchParamCreator = exports.CallsApi = exports.CallsApiFactory = exports.CallsApiFp = exports.CallsApiFetchParamCreator = exports.CalendarsApi = exports.CalendarsApiFactory = exports.CalendarsApiFp = exports.CalendarsApiFetchParamCreator = exports.BotsApi = exports.BotsApiFactory = exports.BotsApiFp = exports.BotsApiFetchParamCreator = exports.BillingsApi = exports.BillingsApiFactory = exports.BillingsApiFp = exports.BillingsApiFetchParamCreator = exports.AgentStatusesApi = exports.AgentStatusesApiFactory = exports.AgentStatusesApiFp = exports.AgentStatusesApiFetchParamCreator = exports.AgentGroupsApi = exports.AgentGroupsApiFactory = exports.AgentGroupsApiFp = exports.AgentGroupsApiFetchParamCreator = exports.WidgetButtonsInput = exports.UserRole = exports.SnoozedStatus = exports.RegisterInPushService = exports.ModelTrainingStatus = exports.MessageWidgetConfigContextType = exports.MatchingStrategy = exports.InboxSorting = exports.InboxEntryType = exports.EventActionEvent = exports.ConversationStatus = exports.ChatEvent = exports.ChangeBotTypeForm = exports.BotInfo = exports.ArtichokePresence = exports.AppPresence = exports.AppPermission = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = void 0;
|
|
17
17
|
const url = require("url");
|
|
18
18
|
const isomorphicFetch = require("isomorphic-fetch");
|
|
19
19
|
const BASE_PATH = "/api".replace(/\/+$/, "");
|
|
@@ -57,56 +57,6 @@ class RequiredError extends Error {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
exports.RequiredError = RequiredError;
|
|
60
|
-
/**
|
|
61
|
-
* @export
|
|
62
|
-
* @namespace AgentCtx
|
|
63
|
-
*/
|
|
64
|
-
var AgentCtx;
|
|
65
|
-
(function (AgentCtx) {
|
|
66
|
-
/**
|
|
67
|
-
* @export
|
|
68
|
-
* @enum {string}
|
|
69
|
-
*/
|
|
70
|
-
let RoleEnum;
|
|
71
|
-
(function (RoleEnum) {
|
|
72
|
-
RoleEnum["ADMIN"] = "ADMIN";
|
|
73
|
-
RoleEnum["AGENT"] = "AGENT";
|
|
74
|
-
})(RoleEnum = AgentCtx.RoleEnum || (AgentCtx.RoleEnum = {}));
|
|
75
|
-
})(AgentCtx = exports.AgentCtx || (exports.AgentCtx = {}));
|
|
76
|
-
/**
|
|
77
|
-
* @export
|
|
78
|
-
* @namespace AgentPreferences
|
|
79
|
-
*/
|
|
80
|
-
var AgentPreferences;
|
|
81
|
-
(function (AgentPreferences) {
|
|
82
|
-
/**
|
|
83
|
-
* @export
|
|
84
|
-
* @enum {string}
|
|
85
|
-
*/
|
|
86
|
-
let InboxSortingEnum;
|
|
87
|
-
(function (InboxSortingEnum) {
|
|
88
|
-
InboxSortingEnum["Newest"] = "newest";
|
|
89
|
-
InboxSortingEnum["Oldest"] = "oldest";
|
|
90
|
-
})(InboxSortingEnum = AgentPreferences.InboxSortingEnum || (AgentPreferences.InboxSortingEnum = {}));
|
|
91
|
-
})(AgentPreferences = exports.AgentPreferences || (exports.AgentPreferences = {}));
|
|
92
|
-
/**
|
|
93
|
-
* @export
|
|
94
|
-
* @namespace AgentPresence
|
|
95
|
-
*/
|
|
96
|
-
var AgentPresence;
|
|
97
|
-
(function (AgentPresence) {
|
|
98
|
-
/**
|
|
99
|
-
* @export
|
|
100
|
-
* @enum {string}
|
|
101
|
-
*/
|
|
102
|
-
let PresenceEnum;
|
|
103
|
-
(function (PresenceEnum) {
|
|
104
|
-
PresenceEnum["Available"] = "available";
|
|
105
|
-
PresenceEnum["Away"] = "away";
|
|
106
|
-
PresenceEnum["Unavailable"] = "unavailable";
|
|
107
|
-
PresenceEnum["Unready"] = "unready";
|
|
108
|
-
})(PresenceEnum = AgentPresence.PresenceEnum || (AgentPresence.PresenceEnum = {}));
|
|
109
|
-
})(AgentPresence = exports.AgentPresence || (exports.AgentPresence = {}));
|
|
110
60
|
/**
|
|
111
61
|
*
|
|
112
62
|
* @export
|
|
@@ -149,6 +99,28 @@ var AppPermission;
|
|
|
149
99
|
AppPermission["MeetingsPageVisibility"] = "meetings_page_visibility";
|
|
150
100
|
AppPermission["HelpPageVisibility"] = "help_page_visibility";
|
|
151
101
|
})(AppPermission = exports.AppPermission || (exports.AppPermission = {}));
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @export
|
|
105
|
+
* @enum {string}
|
|
106
|
+
*/
|
|
107
|
+
var AppPresence;
|
|
108
|
+
(function (AppPresence) {
|
|
109
|
+
AppPresence["Available"] = "available";
|
|
110
|
+
AppPresence["Away"] = "away";
|
|
111
|
+
AppPresence["Unavailable"] = "unavailable";
|
|
112
|
+
AppPresence["Unready"] = "unready";
|
|
113
|
+
})(AppPresence = exports.AppPresence || (exports.AppPresence = {}));
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @export
|
|
117
|
+
* @enum {string}
|
|
118
|
+
*/
|
|
119
|
+
var ArtichokePresence;
|
|
120
|
+
(function (ArtichokePresence) {
|
|
121
|
+
ArtichokePresence["Available"] = "available";
|
|
122
|
+
ArtichokePresence["Unavailable"] = "unavailable";
|
|
123
|
+
})(ArtichokePresence = exports.ArtichokePresence || (exports.ArtichokePresence = {}));
|
|
152
124
|
/**
|
|
153
125
|
* @export
|
|
154
126
|
* @namespace BotInfo
|
|
@@ -250,6 +222,16 @@ var InboxEntryType;
|
|
|
250
222
|
InboxEntryType["CALLENDED"] = "CALL_ENDED";
|
|
251
223
|
InboxEntryType["FORM"] = "FORM";
|
|
252
224
|
})(InboxEntryType = exports.InboxEntryType || (exports.InboxEntryType = {}));
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @export
|
|
228
|
+
* @enum {string}
|
|
229
|
+
*/
|
|
230
|
+
var InboxSorting;
|
|
231
|
+
(function (InboxSorting) {
|
|
232
|
+
InboxSorting["Newest"] = "newest";
|
|
233
|
+
InboxSorting["Oldest"] = "oldest";
|
|
234
|
+
})(InboxSorting = exports.InboxSorting || (exports.InboxSorting = {}));
|
|
253
235
|
/**
|
|
254
236
|
*
|
|
255
237
|
* @export
|
|
@@ -284,32 +266,6 @@ var ModelTrainingStatus;
|
|
|
284
266
|
ModelTrainingStatus["TrainingDone"] = "TrainingDone";
|
|
285
267
|
ModelTrainingStatus["TrainingNeverDone"] = "TrainingNeverDone";
|
|
286
268
|
})(ModelTrainingStatus = exports.ModelTrainingStatus || (exports.ModelTrainingStatus = {}));
|
|
287
|
-
/**
|
|
288
|
-
* @export
|
|
289
|
-
* @namespace PreferencesForm
|
|
290
|
-
*/
|
|
291
|
-
var PreferencesForm;
|
|
292
|
-
(function (PreferencesForm) {
|
|
293
|
-
/**
|
|
294
|
-
* @export
|
|
295
|
-
* @enum {string}
|
|
296
|
-
*/
|
|
297
|
-
let InboxSortingEnum;
|
|
298
|
-
(function (InboxSortingEnum) {
|
|
299
|
-
InboxSortingEnum["Newest"] = "newest";
|
|
300
|
-
InboxSortingEnum["Oldest"] = "oldest";
|
|
301
|
-
})(InboxSortingEnum = PreferencesForm.InboxSortingEnum || (PreferencesForm.InboxSortingEnum = {}));
|
|
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 = {}));
|
|
313
269
|
/**
|
|
314
270
|
* @export
|
|
315
271
|
* @namespace RegisterInPushService
|
|
@@ -336,6 +292,19 @@ var SnoozedStatus;
|
|
|
336
292
|
SnoozedStatus["Snoozed"] = "snoozed";
|
|
337
293
|
SnoozedStatus["Unsnoozed"] = "unsnoozed";
|
|
338
294
|
})(SnoozedStatus = exports.SnoozedStatus || (exports.SnoozedStatus = {}));
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @export
|
|
298
|
+
* @enum {string}
|
|
299
|
+
*/
|
|
300
|
+
var UserRole;
|
|
301
|
+
(function (UserRole) {
|
|
302
|
+
UserRole["AGENT"] = "AGENT";
|
|
303
|
+
UserRole["LEKTA"] = "LEKTA";
|
|
304
|
+
UserRole["CUSTOMER"] = "CUSTOMER";
|
|
305
|
+
UserRole["ORGANIZATION"] = "ORGANIZATION";
|
|
306
|
+
UserRole["MASTER"] = "MASTER";
|
|
307
|
+
})(UserRole = exports.UserRole || (exports.UserRole = {}));
|
|
339
308
|
/**
|
|
340
309
|
* @export
|
|
341
310
|
* @namespace WidgetButtonsInput
|
|
@@ -7107,12 +7076,16 @@ exports.MessageWidgetsApiFetchParamCreator = function (configuration) {
|
|
|
7107
7076
|
/**
|
|
7108
7077
|
*
|
|
7109
7078
|
* @summary update message widget config by widget id
|
|
7079
|
+
* @param {MessageWidgetForm} body
|
|
7110
7080
|
* @param {string} value
|
|
7111
|
-
* @param {MessageWidgetForm} [body]
|
|
7112
7081
|
* @param {*} [options] Override http request option.
|
|
7113
7082
|
* @throws {RequiredError}
|
|
7114
7083
|
*/
|
|
7115
|
-
updateMessageWidgetConfig(
|
|
7084
|
+
updateMessageWidgetConfig(body, value, options = {}) {
|
|
7085
|
+
// verify required parameter 'body' is not null or undefined
|
|
7086
|
+
if (body === null || body === undefined) {
|
|
7087
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateMessageWidgetConfig.');
|
|
7088
|
+
}
|
|
7116
7089
|
// verify required parameter 'value' is not null or undefined
|
|
7117
7090
|
if (value === null || value === undefined) {
|
|
7118
7091
|
throw new RequiredError('value', 'Required parameter value was null or undefined when calling updateMessageWidgetConfig.');
|
|
@@ -7235,13 +7208,13 @@ exports.MessageWidgetsApiFp = function (configuration) {
|
|
|
7235
7208
|
/**
|
|
7236
7209
|
*
|
|
7237
7210
|
* @summary update message widget config by widget id
|
|
7211
|
+
* @param {MessageWidgetForm} body
|
|
7238
7212
|
* @param {string} value
|
|
7239
|
-
* @param {MessageWidgetForm} [body]
|
|
7240
7213
|
* @param {*} [options] Override http request option.
|
|
7241
7214
|
* @throws {RequiredError}
|
|
7242
7215
|
*/
|
|
7243
|
-
updateMessageWidgetConfig(
|
|
7244
|
-
const localVarFetchArgs = exports.MessageWidgetsApiFetchParamCreator(configuration).updateMessageWidgetConfig(
|
|
7216
|
+
updateMessageWidgetConfig(body, value, options) {
|
|
7217
|
+
const localVarFetchArgs = exports.MessageWidgetsApiFetchParamCreator(configuration).updateMessageWidgetConfig(body, value, options);
|
|
7245
7218
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
7246
7219
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
7247
7220
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -7306,13 +7279,13 @@ exports.MessageWidgetsApiFactory = function (configuration, fetch, basePath) {
|
|
|
7306
7279
|
/**
|
|
7307
7280
|
*
|
|
7308
7281
|
* @summary update message widget config by widget id
|
|
7282
|
+
* @param {MessageWidgetForm} body
|
|
7309
7283
|
* @param {string} value
|
|
7310
|
-
* @param {MessageWidgetForm} [body]
|
|
7311
7284
|
* @param {*} [options] Override http request option.
|
|
7312
7285
|
* @throws {RequiredError}
|
|
7313
7286
|
*/
|
|
7314
|
-
updateMessageWidgetConfig(
|
|
7315
|
-
return exports.MessageWidgetsApiFp(configuration).updateMessageWidgetConfig(
|
|
7287
|
+
updateMessageWidgetConfig(body, value, options) {
|
|
7288
|
+
return exports.MessageWidgetsApiFp(configuration).updateMessageWidgetConfig(body, value, options)(fetch, basePath);
|
|
7316
7289
|
},
|
|
7317
7290
|
};
|
|
7318
7291
|
};
|
|
@@ -7372,14 +7345,14 @@ class MessageWidgetsApi extends BaseAPI {
|
|
|
7372
7345
|
/**
|
|
7373
7346
|
*
|
|
7374
7347
|
* @summary update message widget config by widget id
|
|
7348
|
+
* @param {MessageWidgetForm} body
|
|
7375
7349
|
* @param {string} value
|
|
7376
|
-
* @param {MessageWidgetForm} [body]
|
|
7377
7350
|
* @param {*} [options] Override http request option.
|
|
7378
7351
|
* @throws {RequiredError}
|
|
7379
7352
|
* @memberof MessageWidgetsApi
|
|
7380
7353
|
*/
|
|
7381
|
-
updateMessageWidgetConfig(
|
|
7382
|
-
return exports.MessageWidgetsApiFp(this.configuration).updateMessageWidgetConfig(
|
|
7354
|
+
updateMessageWidgetConfig(body, value, options) {
|
|
7355
|
+
return exports.MessageWidgetsApiFp(this.configuration).updateMessageWidgetConfig(body, value, options)(this.fetch, this.basePath);
|
|
7383
7356
|
}
|
|
7384
7357
|
}
|
|
7385
7358
|
exports.MessageWidgetsApi = MessageWidgetsApi;
|
|
@@ -12194,12 +12167,16 @@ exports.RolesApiFetchParamCreator = function (configuration) {
|
|
|
12194
12167
|
/**
|
|
12195
12168
|
*
|
|
12196
12169
|
* @summary add permissions to role
|
|
12170
|
+
* @param {PermissionForm} body
|
|
12197
12171
|
* @param {string} roleId
|
|
12198
|
-
* @param {PermissionForm} [body]
|
|
12199
12172
|
* @param {*} [options] Override http request option.
|
|
12200
12173
|
* @throws {RequiredError}
|
|
12201
12174
|
*/
|
|
12202
|
-
addPermissionsToRole(
|
|
12175
|
+
addPermissionsToRole(body, roleId, options = {}) {
|
|
12176
|
+
// verify required parameter 'body' is not null or undefined
|
|
12177
|
+
if (body === null || body === undefined) {
|
|
12178
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling addPermissionsToRole.');
|
|
12179
|
+
}
|
|
12203
12180
|
// verify required parameter 'roleId' is not null or undefined
|
|
12204
12181
|
if (roleId === null || roleId === undefined) {
|
|
12205
12182
|
throw new RequiredError('roleId', 'Required parameter roleId was null or undefined when calling addPermissionsToRole.');
|
|
@@ -12232,11 +12209,15 @@ exports.RolesApiFetchParamCreator = function (configuration) {
|
|
|
12232
12209
|
/**
|
|
12233
12210
|
*
|
|
12234
12211
|
* @summary create role
|
|
12235
|
-
* @param {CreateRoleForm}
|
|
12212
|
+
* @param {CreateRoleForm} body
|
|
12236
12213
|
* @param {*} [options] Override http request option.
|
|
12237
12214
|
* @throws {RequiredError}
|
|
12238
12215
|
*/
|
|
12239
12216
|
createRole(body, options = {}) {
|
|
12217
|
+
// verify required parameter 'body' is not null or undefined
|
|
12218
|
+
if (body === null || body === undefined) {
|
|
12219
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createRole.');
|
|
12220
|
+
}
|
|
12240
12221
|
const localVarPath = `/roles`;
|
|
12241
12222
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
12242
12223
|
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
@@ -12264,12 +12245,16 @@ exports.RolesApiFetchParamCreator = function (configuration) {
|
|
|
12264
12245
|
/**
|
|
12265
12246
|
*
|
|
12266
12247
|
* @summary delete permissions from role
|
|
12248
|
+
* @param {PermissionForm} body
|
|
12267
12249
|
* @param {string} roleId
|
|
12268
|
-
* @param {PermissionForm} [body]
|
|
12269
12250
|
* @param {*} [options] Override http request option.
|
|
12270
12251
|
* @throws {RequiredError}
|
|
12271
12252
|
*/
|
|
12272
|
-
deletePermissionsFromRole(
|
|
12253
|
+
deletePermissionsFromRole(body, roleId, options = {}) {
|
|
12254
|
+
// verify required parameter 'body' is not null or undefined
|
|
12255
|
+
if (body === null || body === undefined) {
|
|
12256
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling deletePermissionsFromRole.');
|
|
12257
|
+
}
|
|
12273
12258
|
// verify required parameter 'roleId' is not null or undefined
|
|
12274
12259
|
if (roleId === null || roleId === undefined) {
|
|
12275
12260
|
throw new RequiredError('roleId', 'Required parameter roleId was null or undefined when calling deletePermissionsFromRole.');
|
|
@@ -12398,12 +12383,16 @@ exports.RolesApiFetchParamCreator = function (configuration) {
|
|
|
12398
12383
|
/**
|
|
12399
12384
|
*
|
|
12400
12385
|
* @summary update role
|
|
12386
|
+
* @param {UpdateRoleForm} body
|
|
12401
12387
|
* @param {string} roleId
|
|
12402
|
-
* @param {UpdateRoleForm} [body]
|
|
12403
12388
|
* @param {*} [options] Override http request option.
|
|
12404
12389
|
* @throws {RequiredError}
|
|
12405
12390
|
*/
|
|
12406
|
-
updateRole(
|
|
12391
|
+
updateRole(body, roleId, options = {}) {
|
|
12392
|
+
// verify required parameter 'body' is not null or undefined
|
|
12393
|
+
if (body === null || body === undefined) {
|
|
12394
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateRole.');
|
|
12395
|
+
}
|
|
12407
12396
|
// verify required parameter 'roleId' is not null or undefined
|
|
12408
12397
|
if (roleId === null || roleId === undefined) {
|
|
12409
12398
|
throw new RequiredError('roleId', 'Required parameter roleId was null or undefined when calling updateRole.');
|
|
@@ -12444,13 +12433,13 @@ exports.RolesApiFp = function (configuration) {
|
|
|
12444
12433
|
/**
|
|
12445
12434
|
*
|
|
12446
12435
|
* @summary add permissions to role
|
|
12436
|
+
* @param {PermissionForm} body
|
|
12447
12437
|
* @param {string} roleId
|
|
12448
|
-
* @param {PermissionForm} [body]
|
|
12449
12438
|
* @param {*} [options] Override http request option.
|
|
12450
12439
|
* @throws {RequiredError}
|
|
12451
12440
|
*/
|
|
12452
|
-
addPermissionsToRole(
|
|
12453
|
-
const localVarFetchArgs = exports.RolesApiFetchParamCreator(configuration).addPermissionsToRole(
|
|
12441
|
+
addPermissionsToRole(body, roleId, options) {
|
|
12442
|
+
const localVarFetchArgs = exports.RolesApiFetchParamCreator(configuration).addPermissionsToRole(body, roleId, options);
|
|
12454
12443
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
12455
12444
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
12456
12445
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -12465,7 +12454,7 @@ exports.RolesApiFp = function (configuration) {
|
|
|
12465
12454
|
/**
|
|
12466
12455
|
*
|
|
12467
12456
|
* @summary create role
|
|
12468
|
-
* @param {CreateRoleForm}
|
|
12457
|
+
* @param {CreateRoleForm} body
|
|
12469
12458
|
* @param {*} [options] Override http request option.
|
|
12470
12459
|
* @throws {RequiredError}
|
|
12471
12460
|
*/
|
|
@@ -12485,13 +12474,13 @@ exports.RolesApiFp = function (configuration) {
|
|
|
12485
12474
|
/**
|
|
12486
12475
|
*
|
|
12487
12476
|
* @summary delete permissions from role
|
|
12477
|
+
* @param {PermissionForm} body
|
|
12488
12478
|
* @param {string} roleId
|
|
12489
|
-
* @param {PermissionForm} [body]
|
|
12490
12479
|
* @param {*} [options] Override http request option.
|
|
12491
12480
|
* @throws {RequiredError}
|
|
12492
12481
|
*/
|
|
12493
|
-
deletePermissionsFromRole(
|
|
12494
|
-
const localVarFetchArgs = exports.RolesApiFetchParamCreator(configuration).deletePermissionsFromRole(
|
|
12482
|
+
deletePermissionsFromRole(body, roleId, options) {
|
|
12483
|
+
const localVarFetchArgs = exports.RolesApiFetchParamCreator(configuration).deletePermissionsFromRole(body, roleId, options);
|
|
12495
12484
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
12496
12485
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
12497
12486
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -12565,13 +12554,13 @@ exports.RolesApiFp = function (configuration) {
|
|
|
12565
12554
|
/**
|
|
12566
12555
|
*
|
|
12567
12556
|
* @summary update role
|
|
12557
|
+
* @param {UpdateRoleForm} body
|
|
12568
12558
|
* @param {string} roleId
|
|
12569
|
-
* @param {UpdateRoleForm} [body]
|
|
12570
12559
|
* @param {*} [options] Override http request option.
|
|
12571
12560
|
* @throws {RequiredError}
|
|
12572
12561
|
*/
|
|
12573
|
-
updateRole(
|
|
12574
|
-
const localVarFetchArgs = exports.RolesApiFetchParamCreator(configuration).updateRole(
|
|
12562
|
+
updateRole(body, roleId, options) {
|
|
12563
|
+
const localVarFetchArgs = exports.RolesApiFetchParamCreator(configuration).updateRole(body, roleId, options);
|
|
12575
12564
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
12576
12565
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
12577
12566
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -12594,18 +12583,18 @@ exports.RolesApiFactory = function (configuration, fetch, basePath) {
|
|
|
12594
12583
|
/**
|
|
12595
12584
|
*
|
|
12596
12585
|
* @summary add permissions to role
|
|
12586
|
+
* @param {PermissionForm} body
|
|
12597
12587
|
* @param {string} roleId
|
|
12598
|
-
* @param {PermissionForm} [body]
|
|
12599
12588
|
* @param {*} [options] Override http request option.
|
|
12600
12589
|
* @throws {RequiredError}
|
|
12601
12590
|
*/
|
|
12602
|
-
addPermissionsToRole(
|
|
12603
|
-
return exports.RolesApiFp(configuration).addPermissionsToRole(
|
|
12591
|
+
addPermissionsToRole(body, roleId, options) {
|
|
12592
|
+
return exports.RolesApiFp(configuration).addPermissionsToRole(body, roleId, options)(fetch, basePath);
|
|
12604
12593
|
},
|
|
12605
12594
|
/**
|
|
12606
12595
|
*
|
|
12607
12596
|
* @summary create role
|
|
12608
|
-
* @param {CreateRoleForm}
|
|
12597
|
+
* @param {CreateRoleForm} body
|
|
12609
12598
|
* @param {*} [options] Override http request option.
|
|
12610
12599
|
* @throws {RequiredError}
|
|
12611
12600
|
*/
|
|
@@ -12615,13 +12604,13 @@ exports.RolesApiFactory = function (configuration, fetch, basePath) {
|
|
|
12615
12604
|
/**
|
|
12616
12605
|
*
|
|
12617
12606
|
* @summary delete permissions from role
|
|
12607
|
+
* @param {PermissionForm} body
|
|
12618
12608
|
* @param {string} roleId
|
|
12619
|
-
* @param {PermissionForm} [body]
|
|
12620
12609
|
* @param {*} [options] Override http request option.
|
|
12621
12610
|
* @throws {RequiredError}
|
|
12622
12611
|
*/
|
|
12623
|
-
deletePermissionsFromRole(
|
|
12624
|
-
return exports.RolesApiFp(configuration).deletePermissionsFromRole(
|
|
12612
|
+
deletePermissionsFromRole(body, roleId, options) {
|
|
12613
|
+
return exports.RolesApiFp(configuration).deletePermissionsFromRole(body, roleId, options)(fetch, basePath);
|
|
12625
12614
|
},
|
|
12626
12615
|
/**
|
|
12627
12616
|
*
|
|
@@ -12655,13 +12644,13 @@ exports.RolesApiFactory = function (configuration, fetch, basePath) {
|
|
|
12655
12644
|
/**
|
|
12656
12645
|
*
|
|
12657
12646
|
* @summary update role
|
|
12647
|
+
* @param {UpdateRoleForm} body
|
|
12658
12648
|
* @param {string} roleId
|
|
12659
|
-
* @param {UpdateRoleForm} [body]
|
|
12660
12649
|
* @param {*} [options] Override http request option.
|
|
12661
12650
|
* @throws {RequiredError}
|
|
12662
12651
|
*/
|
|
12663
|
-
updateRole(
|
|
12664
|
-
return exports.RolesApiFp(configuration).updateRole(
|
|
12652
|
+
updateRole(body, roleId, options) {
|
|
12653
|
+
return exports.RolesApiFp(configuration).updateRole(body, roleId, options)(fetch, basePath);
|
|
12665
12654
|
},
|
|
12666
12655
|
};
|
|
12667
12656
|
};
|
|
@@ -12675,19 +12664,19 @@ class RolesApi extends BaseAPI {
|
|
|
12675
12664
|
/**
|
|
12676
12665
|
*
|
|
12677
12666
|
* @summary add permissions to role
|
|
12667
|
+
* @param {PermissionForm} body
|
|
12678
12668
|
* @param {string} roleId
|
|
12679
|
-
* @param {PermissionForm} [body]
|
|
12680
12669
|
* @param {*} [options] Override http request option.
|
|
12681
12670
|
* @throws {RequiredError}
|
|
12682
12671
|
* @memberof RolesApi
|
|
12683
12672
|
*/
|
|
12684
|
-
addPermissionsToRole(
|
|
12685
|
-
return exports.RolesApiFp(this.configuration).addPermissionsToRole(
|
|
12673
|
+
addPermissionsToRole(body, roleId, options) {
|
|
12674
|
+
return exports.RolesApiFp(this.configuration).addPermissionsToRole(body, roleId, options)(this.fetch, this.basePath);
|
|
12686
12675
|
}
|
|
12687
12676
|
/**
|
|
12688
12677
|
*
|
|
12689
12678
|
* @summary create role
|
|
12690
|
-
* @param {CreateRoleForm}
|
|
12679
|
+
* @param {CreateRoleForm} body
|
|
12691
12680
|
* @param {*} [options] Override http request option.
|
|
12692
12681
|
* @throws {RequiredError}
|
|
12693
12682
|
* @memberof RolesApi
|
|
@@ -12698,14 +12687,14 @@ class RolesApi extends BaseAPI {
|
|
|
12698
12687
|
/**
|
|
12699
12688
|
*
|
|
12700
12689
|
* @summary delete permissions from role
|
|
12690
|
+
* @param {PermissionForm} body
|
|
12701
12691
|
* @param {string} roleId
|
|
12702
|
-
* @param {PermissionForm} [body]
|
|
12703
12692
|
* @param {*} [options] Override http request option.
|
|
12704
12693
|
* @throws {RequiredError}
|
|
12705
12694
|
* @memberof RolesApi
|
|
12706
12695
|
*/
|
|
12707
|
-
deletePermissionsFromRole(
|
|
12708
|
-
return exports.RolesApiFp(this.configuration).deletePermissionsFromRole(
|
|
12696
|
+
deletePermissionsFromRole(body, roleId, options) {
|
|
12697
|
+
return exports.RolesApiFp(this.configuration).deletePermissionsFromRole(body, roleId, options)(this.fetch, this.basePath);
|
|
12709
12698
|
}
|
|
12710
12699
|
/**
|
|
12711
12700
|
*
|
|
@@ -12742,14 +12731,14 @@ class RolesApi extends BaseAPI {
|
|
|
12742
12731
|
/**
|
|
12743
12732
|
*
|
|
12744
12733
|
* @summary update role
|
|
12734
|
+
* @param {UpdateRoleForm} body
|
|
12745
12735
|
* @param {string} roleId
|
|
12746
|
-
* @param {UpdateRoleForm} [body]
|
|
12747
12736
|
* @param {*} [options] Override http request option.
|
|
12748
12737
|
* @throws {RequiredError}
|
|
12749
12738
|
* @memberof RolesApi
|
|
12750
12739
|
*/
|
|
12751
|
-
updateRole(
|
|
12752
|
-
return exports.RolesApiFp(this.configuration).updateRole(
|
|
12740
|
+
updateRole(body, roleId, options) {
|
|
12741
|
+
return exports.RolesApiFp(this.configuration).updateRole(body, roleId, options)(this.fetch, this.basePath);
|
|
12753
12742
|
}
|
|
12754
12743
|
}
|
|
12755
12744
|
exports.RolesApi = RolesApi;
|
|
@@ -13977,11 +13966,15 @@ exports.SessionApiFetchParamCreator = function (configuration) {
|
|
|
13977
13966
|
/**
|
|
13978
13967
|
*
|
|
13979
13968
|
* @summary Login user. Create session.
|
|
13980
|
-
* @param {LoginCredentialsOrTokenForm}
|
|
13969
|
+
* @param {LoginCredentialsOrTokenForm} body Valid parameters are either token or credentials (email and password). Unless provided in mentioned form, Bad Request will be returned
|
|
13981
13970
|
* @param {*} [options] Override http request option.
|
|
13982
13971
|
* @throws {RequiredError}
|
|
13983
13972
|
*/
|
|
13984
13973
|
login(body, options = {}) {
|
|
13974
|
+
// verify required parameter 'body' is not null or undefined
|
|
13975
|
+
if (body === null || body === undefined) {
|
|
13976
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling login.');
|
|
13977
|
+
}
|
|
13985
13978
|
const localVarPath = `/session`;
|
|
13986
13979
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
13987
13980
|
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
@@ -14148,7 +14141,7 @@ exports.SessionApiFp = function (configuration) {
|
|
|
14148
14141
|
/**
|
|
14149
14142
|
*
|
|
14150
14143
|
* @summary Login user. Create session.
|
|
14151
|
-
* @param {LoginCredentialsOrTokenForm}
|
|
14144
|
+
* @param {LoginCredentialsOrTokenForm} body Valid parameters are either token or credentials (email and password). Unless provided in mentioned form, Bad Request will be returned
|
|
14152
14145
|
* @param {*} [options] Override http request option.
|
|
14153
14146
|
* @throws {RequiredError}
|
|
14154
14147
|
*/
|
|
@@ -14264,7 +14257,7 @@ exports.SessionApiFactory = function (configuration, fetch, basePath) {
|
|
|
14264
14257
|
/**
|
|
14265
14258
|
*
|
|
14266
14259
|
* @summary Login user. Create session.
|
|
14267
|
-
* @param {LoginCredentialsOrTokenForm}
|
|
14260
|
+
* @param {LoginCredentialsOrTokenForm} body Valid parameters are either token or credentials (email and password). Unless provided in mentioned form, Bad Request will be returned
|
|
14268
14261
|
* @param {*} [options] Override http request option.
|
|
14269
14262
|
* @throws {RequiredError}
|
|
14270
14263
|
*/
|
|
@@ -14344,7 +14337,7 @@ class SessionApi extends BaseAPI {
|
|
|
14344
14337
|
/**
|
|
14345
14338
|
*
|
|
14346
14339
|
* @summary Login user. Create session.
|
|
14347
|
-
* @param {LoginCredentialsOrTokenForm}
|
|
14340
|
+
* @param {LoginCredentialsOrTokenForm} body Valid parameters are either token or credentials (email and password). Unless provided in mentioned form, Bad Request will be returned
|
|
14348
14341
|
* @param {*} [options] Override http request option.
|
|
14349
14342
|
* @throws {RequiredError}
|
|
14350
14343
|
* @memberof SessionApi
|
|
@@ -20369,12 +20362,16 @@ exports.WidgetsFormsSubmissionsApiFetchParamCreator = function (configuration) {
|
|
|
20369
20362
|
/**
|
|
20370
20363
|
*
|
|
20371
20364
|
* @summary create form for room
|
|
20365
|
+
* @param {AddWidgetForm} body
|
|
20372
20366
|
* @param {string} id
|
|
20373
|
-
* @param {AddWidgetForm} [body]
|
|
20374
20367
|
* @param {*} [options] Override http request option.
|
|
20375
20368
|
* @throws {RequiredError}
|
|
20376
20369
|
*/
|
|
20377
|
-
createWidgetFormForRoomId(
|
|
20370
|
+
createWidgetFormForRoomId(body, id, options = {}) {
|
|
20371
|
+
// verify required parameter 'body' is not null or undefined
|
|
20372
|
+
if (body === null || body === undefined) {
|
|
20373
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createWidgetFormForRoomId.');
|
|
20374
|
+
}
|
|
20378
20375
|
// verify required parameter 'id' is not null or undefined
|
|
20379
20376
|
if (id === null || id === undefined) {
|
|
20380
20377
|
throw new RequiredError('id', 'Required parameter id was null or undefined when calling createWidgetFormForRoomId.');
|
|
@@ -20441,12 +20438,16 @@ exports.WidgetsFormsSubmissionsApiFetchParamCreator = function (configuration) {
|
|
|
20441
20438
|
/**
|
|
20442
20439
|
*
|
|
20443
20440
|
* @summary submit form
|
|
20441
|
+
* @param {SubmitWidgetForm} body
|
|
20444
20442
|
* @param {string} formId
|
|
20445
|
-
* @param {SubmitWidgetForm} [body]
|
|
20446
20443
|
* @param {*} [options] Override http request option.
|
|
20447
20444
|
* @throws {RequiredError}
|
|
20448
20445
|
*/
|
|
20449
|
-
submitWidgetForm(
|
|
20446
|
+
submitWidgetForm(body, formId, options = {}) {
|
|
20447
|
+
// verify required parameter 'body' is not null or undefined
|
|
20448
|
+
if (body === null || body === undefined) {
|
|
20449
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling submitWidgetForm.');
|
|
20450
|
+
}
|
|
20450
20451
|
// verify required parameter 'formId' is not null or undefined
|
|
20451
20452
|
if (formId === null || formId === undefined) {
|
|
20452
20453
|
throw new RequiredError('formId', 'Required parameter formId was null or undefined when calling submitWidgetForm.');
|
|
@@ -20487,13 +20488,13 @@ exports.WidgetsFormsSubmissionsApiFp = function (configuration) {
|
|
|
20487
20488
|
/**
|
|
20488
20489
|
*
|
|
20489
20490
|
* @summary create form for room
|
|
20491
|
+
* @param {AddWidgetForm} body
|
|
20490
20492
|
* @param {string} id
|
|
20491
|
-
* @param {AddWidgetForm} [body]
|
|
20492
20493
|
* @param {*} [options] Override http request option.
|
|
20493
20494
|
* @throws {RequiredError}
|
|
20494
20495
|
*/
|
|
20495
|
-
createWidgetFormForRoomId(
|
|
20496
|
-
const localVarFetchArgs = exports.WidgetsFormsSubmissionsApiFetchParamCreator(configuration).createWidgetFormForRoomId(
|
|
20496
|
+
createWidgetFormForRoomId(body, id, options) {
|
|
20497
|
+
const localVarFetchArgs = exports.WidgetsFormsSubmissionsApiFetchParamCreator(configuration).createWidgetFormForRoomId(body, id, options);
|
|
20497
20498
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
20498
20499
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
20499
20500
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -20528,13 +20529,13 @@ exports.WidgetsFormsSubmissionsApiFp = function (configuration) {
|
|
|
20528
20529
|
/**
|
|
20529
20530
|
*
|
|
20530
20531
|
* @summary submit form
|
|
20532
|
+
* @param {SubmitWidgetForm} body
|
|
20531
20533
|
* @param {string} formId
|
|
20532
|
-
* @param {SubmitWidgetForm} [body]
|
|
20533
20534
|
* @param {*} [options] Override http request option.
|
|
20534
20535
|
* @throws {RequiredError}
|
|
20535
20536
|
*/
|
|
20536
|
-
submitWidgetForm(
|
|
20537
|
-
const localVarFetchArgs = exports.WidgetsFormsSubmissionsApiFetchParamCreator(configuration).submitWidgetForm(
|
|
20537
|
+
submitWidgetForm(body, formId, options) {
|
|
20538
|
+
const localVarFetchArgs = exports.WidgetsFormsSubmissionsApiFetchParamCreator(configuration).submitWidgetForm(body, formId, options);
|
|
20538
20539
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
20539
20540
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
20540
20541
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -20557,13 +20558,13 @@ exports.WidgetsFormsSubmissionsApiFactory = function (configuration, fetch, base
|
|
|
20557
20558
|
/**
|
|
20558
20559
|
*
|
|
20559
20560
|
* @summary create form for room
|
|
20561
|
+
* @param {AddWidgetForm} body
|
|
20560
20562
|
* @param {string} id
|
|
20561
|
-
* @param {AddWidgetForm} [body]
|
|
20562
20563
|
* @param {*} [options] Override http request option.
|
|
20563
20564
|
* @throws {RequiredError}
|
|
20564
20565
|
*/
|
|
20565
|
-
createWidgetFormForRoomId(
|
|
20566
|
-
return exports.WidgetsFormsSubmissionsApiFp(configuration).createWidgetFormForRoomId(
|
|
20566
|
+
createWidgetFormForRoomId(body, id, options) {
|
|
20567
|
+
return exports.WidgetsFormsSubmissionsApiFp(configuration).createWidgetFormForRoomId(body, id, options)(fetch, basePath);
|
|
20567
20568
|
},
|
|
20568
20569
|
/**
|
|
20569
20570
|
*
|
|
@@ -20578,13 +20579,13 @@ exports.WidgetsFormsSubmissionsApiFactory = function (configuration, fetch, base
|
|
|
20578
20579
|
/**
|
|
20579
20580
|
*
|
|
20580
20581
|
* @summary submit form
|
|
20582
|
+
* @param {SubmitWidgetForm} body
|
|
20581
20583
|
* @param {string} formId
|
|
20582
|
-
* @param {SubmitWidgetForm} [body]
|
|
20583
20584
|
* @param {*} [options] Override http request option.
|
|
20584
20585
|
* @throws {RequiredError}
|
|
20585
20586
|
*/
|
|
20586
|
-
submitWidgetForm(
|
|
20587
|
-
return exports.WidgetsFormsSubmissionsApiFp(configuration).submitWidgetForm(
|
|
20587
|
+
submitWidgetForm(body, formId, options) {
|
|
20588
|
+
return exports.WidgetsFormsSubmissionsApiFp(configuration).submitWidgetForm(body, formId, options)(fetch, basePath);
|
|
20588
20589
|
},
|
|
20589
20590
|
};
|
|
20590
20591
|
};
|
|
@@ -20598,14 +20599,14 @@ class WidgetsFormsSubmissionsApi extends BaseAPI {
|
|
|
20598
20599
|
/**
|
|
20599
20600
|
*
|
|
20600
20601
|
* @summary create form for room
|
|
20602
|
+
* @param {AddWidgetForm} body
|
|
20601
20603
|
* @param {string} id
|
|
20602
|
-
* @param {AddWidgetForm} [body]
|
|
20603
20604
|
* @param {*} [options] Override http request option.
|
|
20604
20605
|
* @throws {RequiredError}
|
|
20605
20606
|
* @memberof WidgetsFormsSubmissionsApi
|
|
20606
20607
|
*/
|
|
20607
|
-
createWidgetFormForRoomId(
|
|
20608
|
-
return exports.WidgetsFormsSubmissionsApiFp(this.configuration).createWidgetFormForRoomId(
|
|
20608
|
+
createWidgetFormForRoomId(body, id, options) {
|
|
20609
|
+
return exports.WidgetsFormsSubmissionsApiFp(this.configuration).createWidgetFormForRoomId(body, id, options)(this.fetch, this.basePath);
|
|
20609
20610
|
}
|
|
20610
20611
|
/**
|
|
20611
20612
|
*
|
|
@@ -20621,14 +20622,14 @@ class WidgetsFormsSubmissionsApi extends BaseAPI {
|
|
|
20621
20622
|
/**
|
|
20622
20623
|
*
|
|
20623
20624
|
* @summary submit form
|
|
20625
|
+
* @param {SubmitWidgetForm} body
|
|
20624
20626
|
* @param {string} formId
|
|
20625
|
-
* @param {SubmitWidgetForm} [body]
|
|
20626
20627
|
* @param {*} [options] Override http request option.
|
|
20627
20628
|
* @throws {RequiredError}
|
|
20628
20629
|
* @memberof WidgetsFormsSubmissionsApi
|
|
20629
20630
|
*/
|
|
20630
|
-
submitWidgetForm(
|
|
20631
|
-
return exports.WidgetsFormsSubmissionsApiFp(this.configuration).submitWidgetForm(
|
|
20631
|
+
submitWidgetForm(body, formId, options) {
|
|
20632
|
+
return exports.WidgetsFormsSubmissionsApiFp(this.configuration).submitWidgetForm(body, formId, options)(this.fetch, this.basePath);
|
|
20632
20633
|
}
|
|
20633
20634
|
}
|
|
20634
20635
|
exports.WidgetsFormsSubmissionsApi = WidgetsFormsSubmissionsApi;
|