@closerplatform/spinner-openapi 0.12.1070 → 0.12.1072
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 +19 -8
- package/dist/api.js +21 -22
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -3723,6 +3723,15 @@ export interface LimitedProactiveMsgDto {
|
|
|
3723
3723
|
*/
|
|
3724
3724
|
displayOutsideWorkingHours: boolean;
|
|
3725
3725
|
}
|
|
3726
|
+
/**
|
|
3727
|
+
*
|
|
3728
|
+
* @export
|
|
3729
|
+
* @enum {string}
|
|
3730
|
+
*/
|
|
3731
|
+
export declare enum Locale {
|
|
3732
|
+
En = "en",
|
|
3733
|
+
Pl = "pl"
|
|
3734
|
+
}
|
|
3726
3735
|
/**
|
|
3727
3736
|
* Provide token or credentials (email and password)
|
|
3728
3737
|
* @export
|
|
@@ -6006,6 +6015,12 @@ export interface SignUpGuest {
|
|
|
6006
6015
|
* @memberof SignUpGuest
|
|
6007
6016
|
*/
|
|
6008
6017
|
context?: any;
|
|
6018
|
+
/**
|
|
6019
|
+
*
|
|
6020
|
+
* @type {Locale}
|
|
6021
|
+
* @memberof SignUpGuest
|
|
6022
|
+
*/
|
|
6023
|
+
locale?: Locale;
|
|
6009
6024
|
}
|
|
6010
6025
|
/**
|
|
6011
6026
|
*
|
|
@@ -15275,11 +15290,10 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
|
|
|
15275
15290
|
*
|
|
15276
15291
|
* @summary Update the guest profile.
|
|
15277
15292
|
* @param {GuestProfileFormPatch} body
|
|
15278
|
-
* @param {string} orgId orgId
|
|
15279
15293
|
* @param {*} [options] Override http request option.
|
|
15280
15294
|
* @throws {RequiredError}
|
|
15281
15295
|
*/
|
|
15282
|
-
updateOwnGuestProfile(body: GuestProfileFormPatch,
|
|
15296
|
+
updateOwnGuestProfile(body: GuestProfileFormPatch, options?: any): FetchArgs;
|
|
15283
15297
|
/**
|
|
15284
15298
|
*
|
|
15285
15299
|
* @summary Validate phone number
|
|
@@ -15616,11 +15630,10 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
15616
15630
|
*
|
|
15617
15631
|
* @summary Update the guest profile.
|
|
15618
15632
|
* @param {GuestProfileFormPatch} body
|
|
15619
|
-
* @param {string} orgId orgId
|
|
15620
15633
|
* @param {*} [options] Override http request option.
|
|
15621
15634
|
* @throws {RequiredError}
|
|
15622
15635
|
*/
|
|
15623
|
-
updateOwnGuestProfile(body: GuestProfileFormPatch,
|
|
15636
|
+
updateOwnGuestProfile(body: GuestProfileFormPatch, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<LeadCtx>;
|
|
15624
15637
|
/**
|
|
15625
15638
|
*
|
|
15626
15639
|
* @summary Validate phone number
|
|
@@ -15957,11 +15970,10 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
15957
15970
|
*
|
|
15958
15971
|
* @summary Update the guest profile.
|
|
15959
15972
|
* @param {GuestProfileFormPatch} body
|
|
15960
|
-
* @param {string} orgId orgId
|
|
15961
15973
|
* @param {*} [options] Override http request option.
|
|
15962
15974
|
* @throws {RequiredError}
|
|
15963
15975
|
*/
|
|
15964
|
-
updateOwnGuestProfile(body: GuestProfileFormPatch,
|
|
15976
|
+
updateOwnGuestProfile(body: GuestProfileFormPatch, options?: any): Promise<LeadCtx>;
|
|
15965
15977
|
/**
|
|
15966
15978
|
*
|
|
15967
15979
|
* @summary Validate phone number
|
|
@@ -16340,12 +16352,11 @@ export declare class UsersApi extends BaseAPI {
|
|
|
16340
16352
|
*
|
|
16341
16353
|
* @summary Update the guest profile.
|
|
16342
16354
|
* @param {GuestProfileFormPatch} body
|
|
16343
|
-
* @param {string} orgId orgId
|
|
16344
16355
|
* @param {*} [options] Override http request option.
|
|
16345
16356
|
* @throws {RequiredError}
|
|
16346
16357
|
* @memberof UsersApi
|
|
16347
16358
|
*/
|
|
16348
|
-
updateOwnGuestProfile(body: GuestProfileFormPatch,
|
|
16359
|
+
updateOwnGuestProfile(body: GuestProfileFormPatch, options?: any): Promise<LeadCtx>;
|
|
16349
16360
|
/**
|
|
16350
16361
|
*
|
|
16351
16362
|
* @summary Validate phone number
|
package/dist/api.js
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
* Do not edit the file manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
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 = void 0;
|
|
16
|
+
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.UrlParameter = exports.UnreadySubstatus = exports.SnoozedStatus = exports.RegisterInPushService = exports.Presence = exports.ModelTrainingStatus = exports.MessageWidgetConfigContextType = exports.MatchingStrategy = exports.Locale = exports.InboxSorting = exports.InboxEntryType = exports.EventActionEvent = exports.ConversationStatus = exports.BotType = exports.AvailableSubstatus = exports.AppicationErrorReason = exports.AppPermission = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = void 0;
|
|
17
|
+
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.MainNotificationsApi = exports.MainNotificationsApiFactory = exports.MainNotificationsApiFp = exports.MainNotificationsApiFetchParamCreator = exports.KnowledgeBasesApi = exports.KnowledgeBasesApiFactory = exports.KnowledgeBasesApiFp = exports.KnowledgeBasesApiFetchParamCreator = 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.ConversationsApi = exports.ConversationsApiFactory = exports.ConversationsApiFp = exports.ConversationsApiFetchParamCreator = exports.CompatibilityApi = exports.CompatibilityApiFactory = exports.CompatibilityApiFp = exports.CompatibilityApiFetchParamCreator = void 0;
|
|
18
|
+
exports.TagMappingsApi = exports.TagMappingsApiFactory = exports.TagMappingsApiFp = exports.TagMappingsApiFetchParamCreator = exports.TagGroupsApi = exports.TagGroupsApiFactory = exports.TagGroupsApiFp = exports.TagGroupsApiFetchParamCreator = exports.TagGroupTransfersParametersApi = exports.TagGroupTransfersParametersApiFactory = exports.TagGroupTransfersParametersApiFp = exports.TagGroupTransfersParametersApiFetchParamCreator = exports.TagGroupTransfersApi = exports.TagGroupTransfersApiFactory = exports.TagGroupTransfersApiFp = exports.TagGroupTransfersApiFetchParamCreator = 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 = void 0;
|
|
19
|
+
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 = void 0;
|
|
20
20
|
const url = require("url");
|
|
21
21
|
const isomorphicFetch = require("isomorphic-fetch");
|
|
22
22
|
const BASE_PATH = "/api".replace(/\/+$/, "");
|
|
@@ -216,6 +216,16 @@ var InboxSorting;
|
|
|
216
216
|
InboxSorting["Newest"] = "newest";
|
|
217
217
|
InboxSorting["Oldest"] = "oldest";
|
|
218
218
|
})(InboxSorting = exports.InboxSorting || (exports.InboxSorting = {}));
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @export
|
|
222
|
+
* @enum {string}
|
|
223
|
+
*/
|
|
224
|
+
var Locale;
|
|
225
|
+
(function (Locale) {
|
|
226
|
+
Locale["En"] = "en";
|
|
227
|
+
Locale["Pl"] = "pl";
|
|
228
|
+
})(Locale = exports.Locale || (exports.Locale = {}));
|
|
219
229
|
/**
|
|
220
230
|
*
|
|
221
231
|
* @export
|
|
@@ -18255,19 +18265,14 @@ const UsersApiFetchParamCreator = function (configuration) {
|
|
|
18255
18265
|
*
|
|
18256
18266
|
* @summary Update the guest profile.
|
|
18257
18267
|
* @param {GuestProfileFormPatch} body
|
|
18258
|
-
* @param {string} orgId orgId
|
|
18259
18268
|
* @param {*} [options] Override http request option.
|
|
18260
18269
|
* @throws {RequiredError}
|
|
18261
18270
|
*/
|
|
18262
|
-
updateOwnGuestProfile(body,
|
|
18271
|
+
updateOwnGuestProfile(body, options = {}) {
|
|
18263
18272
|
// verify required parameter 'body' is not null or undefined
|
|
18264
18273
|
if (body === null || body === undefined) {
|
|
18265
18274
|
throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateOwnGuestProfile.');
|
|
18266
18275
|
}
|
|
18267
|
-
// verify required parameter 'orgId' is not null or undefined
|
|
18268
|
-
if (orgId === null || orgId === undefined) {
|
|
18269
|
-
throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling updateOwnGuestProfile.');
|
|
18270
|
-
}
|
|
18271
18276
|
const localVarPath = `/users/guest`;
|
|
18272
18277
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
18273
18278
|
const localVarRequestOptions = Object.assign({ method: 'PATCH' }, options);
|
|
@@ -18287,9 +18292,6 @@ const UsersApiFetchParamCreator = function (configuration) {
|
|
|
18287
18292
|
: configuration.apiKey;
|
|
18288
18293
|
localVarHeaderParameter["X-Fingerprint"] = localVarApiKeyValue;
|
|
18289
18294
|
}
|
|
18290
|
-
if (orgId !== undefined) {
|
|
18291
|
-
localVarQueryParameter['orgId'] = orgId;
|
|
18292
|
-
}
|
|
18293
18295
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18294
18296
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
18295
18297
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
@@ -19156,12 +19158,11 @@ const UsersApiFp = function (configuration) {
|
|
|
19156
19158
|
*
|
|
19157
19159
|
* @summary Update the guest profile.
|
|
19158
19160
|
* @param {GuestProfileFormPatch} body
|
|
19159
|
-
* @param {string} orgId orgId
|
|
19160
19161
|
* @param {*} [options] Override http request option.
|
|
19161
19162
|
* @throws {RequiredError}
|
|
19162
19163
|
*/
|
|
19163
|
-
updateOwnGuestProfile(body,
|
|
19164
|
-
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).updateOwnGuestProfile(body,
|
|
19164
|
+
updateOwnGuestProfile(body, options) {
|
|
19165
|
+
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).updateOwnGuestProfile(body, options);
|
|
19165
19166
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
19166
19167
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
19167
19168
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -19604,12 +19605,11 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
|
|
|
19604
19605
|
*
|
|
19605
19606
|
* @summary Update the guest profile.
|
|
19606
19607
|
* @param {GuestProfileFormPatch} body
|
|
19607
|
-
* @param {string} orgId orgId
|
|
19608
19608
|
* @param {*} [options] Override http request option.
|
|
19609
19609
|
* @throws {RequiredError}
|
|
19610
19610
|
*/
|
|
19611
|
-
updateOwnGuestProfile(body,
|
|
19612
|
-
return (0, exports.UsersApiFp)(configuration).updateOwnGuestProfile(body,
|
|
19611
|
+
updateOwnGuestProfile(body, options) {
|
|
19612
|
+
return (0, exports.UsersApiFp)(configuration).updateOwnGuestProfile(body, options)(fetch, basePath);
|
|
19613
19613
|
},
|
|
19614
19614
|
/**
|
|
19615
19615
|
*
|
|
@@ -20073,13 +20073,12 @@ class UsersApi extends BaseAPI {
|
|
|
20073
20073
|
*
|
|
20074
20074
|
* @summary Update the guest profile.
|
|
20075
20075
|
* @param {GuestProfileFormPatch} body
|
|
20076
|
-
* @param {string} orgId orgId
|
|
20077
20076
|
* @param {*} [options] Override http request option.
|
|
20078
20077
|
* @throws {RequiredError}
|
|
20079
20078
|
* @memberof UsersApi
|
|
20080
20079
|
*/
|
|
20081
|
-
updateOwnGuestProfile(body,
|
|
20082
|
-
return (0, exports.UsersApiFp)(this.configuration).updateOwnGuestProfile(body,
|
|
20080
|
+
updateOwnGuestProfile(body, options) {
|
|
20081
|
+
return (0, exports.UsersApiFp)(this.configuration).updateOwnGuestProfile(body, options)(this.fetch, this.basePath);
|
|
20083
20082
|
}
|
|
20084
20083
|
/**
|
|
20085
20084
|
*
|