@ember-home/unbound-ts-client 0.0.68 → 0.0.70
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/index.d.mts +241 -265
- package/dist/index.d.ts +241 -265
- package/dist/index.js +358 -490
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +238 -370
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -139,6 +139,16 @@ var ProviderConversationDataApiConversationTypeEnum = {
|
|
|
139
139
|
var ProviderStaffApiStaffTypeEnum = {
|
|
140
140
|
ProviderStaff: "PROVIDER_STAFF"
|
|
141
141
|
};
|
|
142
|
+
var ReasonType = {
|
|
143
|
+
Correct: "CORRECT",
|
|
144
|
+
FactualError: "FACTUAL_ERROR",
|
|
145
|
+
MisunderstoodIntent: "MISUNDERSTOOD_INTENT",
|
|
146
|
+
ChangeTone: "CHANGE_TONE",
|
|
147
|
+
TooVerbose: "TOO_VERBOSE",
|
|
148
|
+
TooBrief: "TOO_BRIEF",
|
|
149
|
+
GrammerSpelling: "GRAMMER_SPELLING",
|
|
150
|
+
Other: "OTHER"
|
|
151
|
+
};
|
|
142
152
|
var RentalProviderMessageApiMessageTypeEnum = {
|
|
143
153
|
RentalProvider: "RENTAL_PROVIDER"
|
|
144
154
|
};
|
|
@@ -204,6 +214,10 @@ var SrcResourceModelsReservationsModelReservationBaseModelSortBy = {
|
|
|
204
214
|
var StaffApiParticipantTypeEnum = {
|
|
205
215
|
Staff: "STAFF"
|
|
206
216
|
};
|
|
217
|
+
var SuggestionReason = {
|
|
218
|
+
Correct: "CORRECT",
|
|
219
|
+
Incorrect: "INCORRECT"
|
|
220
|
+
};
|
|
207
221
|
var TwilioConversationDataApiConversationTypeEnum = {
|
|
208
222
|
Text: "TEXT"
|
|
209
223
|
};
|
|
@@ -287,6 +301,77 @@ var AccountsApi = class extends BaseAPI {
|
|
|
287
301
|
return AccountsApiFp(this.configuration).accountsList(options).then((request) => request(this.axios, this.basePath));
|
|
288
302
|
}
|
|
289
303
|
};
|
|
304
|
+
var AuthApiAxiosParamCreator = function(configuration) {
|
|
305
|
+
return {
|
|
306
|
+
/**
|
|
307
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
308
|
+
* @summary Get Me
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
getMeMeGet: async (options = {}) => {
|
|
313
|
+
const localVarPath = `/me`;
|
|
314
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
315
|
+
let baseOptions;
|
|
316
|
+
if (configuration) {
|
|
317
|
+
baseOptions = configuration.baseOptions;
|
|
318
|
+
}
|
|
319
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
320
|
+
const localVarHeaderParameter = {};
|
|
321
|
+
const localVarQueryParameter = {};
|
|
322
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
323
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
324
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
325
|
+
return {
|
|
326
|
+
url: toPathString(localVarUrlObj),
|
|
327
|
+
options: localVarRequestOptions
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
var AuthApiFp = function(configuration) {
|
|
333
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
334
|
+
return {
|
|
335
|
+
/**
|
|
336
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
337
|
+
* @summary Get Me
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
async getMeMeGet(options) {
|
|
342
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMeMeGet(options);
|
|
343
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _6 => _6.serverIndex]), () => ( 0));
|
|
344
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _7 => _7["AuthApi.getMeMeGet"], 'optionalAccess', _8 => _8[localVarOperationServerIndex], 'optionalAccess', _9 => _9.url]);
|
|
345
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
346
|
+
}
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
var AuthApiFactory = function(configuration, basePath, axios) {
|
|
350
|
+
const localVarFp = AuthApiFp(configuration);
|
|
351
|
+
return {
|
|
352
|
+
/**
|
|
353
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
354
|
+
* @summary Get Me
|
|
355
|
+
* @param {*} [options] Override http request option.
|
|
356
|
+
* @throws {RequiredError}
|
|
357
|
+
*/
|
|
358
|
+
getMeMeGet(options) {
|
|
359
|
+
return localVarFp.getMeMeGet(options).then((request) => request(axios, basePath));
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
var AuthApi = class extends BaseAPI {
|
|
364
|
+
/**
|
|
365
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
366
|
+
* @summary Get Me
|
|
367
|
+
* @param {*} [options] Override http request option.
|
|
368
|
+
* @throws {RequiredError}
|
|
369
|
+
* @memberof AuthApi
|
|
370
|
+
*/
|
|
371
|
+
getMeMeGet(options) {
|
|
372
|
+
return AuthApiFp(this.configuration).getMeMeGet(options).then((request) => request(this.axios, this.basePath));
|
|
373
|
+
}
|
|
374
|
+
};
|
|
290
375
|
var ContactsApiAxiosParamCreator = function(configuration) {
|
|
291
376
|
return {
|
|
292
377
|
/**
|
|
@@ -894,8 +979,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
894
979
|
*/
|
|
895
980
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
896
981
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
897
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
898
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
982
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _10 => _10.serverIndex]), () => ( 0));
|
|
983
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _11 => _11["ContactsApi.addressesCreate"], 'optionalAccess', _12 => _12[localVarOperationServerIndex], 'optionalAccess', _13 => _13.url]);
|
|
899
984
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
900
985
|
},
|
|
901
986
|
/**
|
|
@@ -907,8 +992,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
907
992
|
*/
|
|
908
993
|
async addressesDelete(addressId, options) {
|
|
909
994
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
910
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
911
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
995
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _14 => _14.serverIndex]), () => ( 0));
|
|
996
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _15 => _15["ContactsApi.addressesDelete"], 'optionalAccess', _16 => _16[localVarOperationServerIndex], 'optionalAccess', _17 => _17.url]);
|
|
912
997
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
913
998
|
},
|
|
914
999
|
/**
|
|
@@ -920,8 +1005,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
920
1005
|
*/
|
|
921
1006
|
async addressesGet(addressId, options) {
|
|
922
1007
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
923
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
924
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1008
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _18 => _18.serverIndex]), () => ( 0));
|
|
1009
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _19 => _19["ContactsApi.addressesGet"], 'optionalAccess', _20 => _20[localVarOperationServerIndex], 'optionalAccess', _21 => _21.url]);
|
|
925
1010
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
926
1011
|
},
|
|
927
1012
|
/**
|
|
@@ -934,8 +1019,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
934
1019
|
*/
|
|
935
1020
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
936
1021
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
937
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
938
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1022
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _22 => _22.serverIndex]), () => ( 0));
|
|
1023
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _23 => _23["ContactsApi.addressesUpdate"], 'optionalAccess', _24 => _24[localVarOperationServerIndex], 'optionalAccess', _25 => _25.url]);
|
|
939
1024
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
940
1025
|
},
|
|
941
1026
|
/**
|
|
@@ -949,8 +1034,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
949
1034
|
*/
|
|
950
1035
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
951
1036
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
952
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
953
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1037
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _26 => _26.serverIndex]), () => ( 0));
|
|
1038
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _27 => _27["ContactsApi.contactsAddListing"], 'optionalAccess', _28 => _28[localVarOperationServerIndex], 'optionalAccess', _29 => _29.url]);
|
|
954
1039
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
955
1040
|
},
|
|
956
1041
|
/**
|
|
@@ -962,8 +1047,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
962
1047
|
*/
|
|
963
1048
|
async contactsCreate(contactcreate, options) {
|
|
964
1049
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
965
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
966
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1050
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _30 => _30.serverIndex]), () => ( 0));
|
|
1051
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _31 => _31["ContactsApi.contactsCreate"], 'optionalAccess', _32 => _32[localVarOperationServerIndex], 'optionalAccess', _33 => _33.url]);
|
|
967
1052
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
968
1053
|
},
|
|
969
1054
|
/**
|
|
@@ -975,8 +1060,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
975
1060
|
*/
|
|
976
1061
|
async contactsDelete(contactId, options) {
|
|
977
1062
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
978
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
979
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1063
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _34 => _34.serverIndex]), () => ( 0));
|
|
1064
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _35 => _35["ContactsApi.contactsDelete"], 'optionalAccess', _36 => _36[localVarOperationServerIndex], 'optionalAccess', _37 => _37.url]);
|
|
980
1065
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
981
1066
|
},
|
|
982
1067
|
/**
|
|
@@ -988,8 +1073,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
988
1073
|
*/
|
|
989
1074
|
async contactsGet(contactId, options) {
|
|
990
1075
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
991
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
992
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1076
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _38 => _38.serverIndex]), () => ( 0));
|
|
1077
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _39 => _39["ContactsApi.contactsGet"], 'optionalAccess', _40 => _40[localVarOperationServerIndex], 'optionalAccess', _41 => _41.url]);
|
|
993
1078
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
994
1079
|
},
|
|
995
1080
|
/**
|
|
@@ -1006,8 +1091,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1006
1091
|
*/
|
|
1007
1092
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1008
1093
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1009
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1010
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1094
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _42 => _42.serverIndex]), () => ( 0));
|
|
1095
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _43 => _43["ContactsApi.contactsList"], 'optionalAccess', _44 => _44[localVarOperationServerIndex], 'optionalAccess', _45 => _45.url]);
|
|
1011
1096
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1012
1097
|
},
|
|
1013
1098
|
/**
|
|
@@ -1021,8 +1106,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1021
1106
|
*/
|
|
1022
1107
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
1023
1108
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
1024
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1025
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1109
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _46 => _46.serverIndex]), () => ( 0));
|
|
1110
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _47 => _47["ContactsApi.contactsRemoveListing"], 'optionalAccess', _48 => _48[localVarOperationServerIndex], 'optionalAccess', _49 => _49.url]);
|
|
1026
1111
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1027
1112
|
},
|
|
1028
1113
|
/**
|
|
@@ -1035,8 +1120,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1035
1120
|
*/
|
|
1036
1121
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
1037
1122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
1038
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1039
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1123
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _50 => _50.serverIndex]), () => ( 0));
|
|
1124
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _51 => _51["ContactsApi.contactsUpdate"], 'optionalAccess', _52 => _52[localVarOperationServerIndex], 'optionalAccess', _53 => _53.url]);
|
|
1040
1125
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1041
1126
|
},
|
|
1042
1127
|
/**
|
|
@@ -1050,8 +1135,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1050
1135
|
*/
|
|
1051
1136
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
1052
1137
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
1053
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1054
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1138
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _54 => _54.serverIndex]), () => ( 0));
|
|
1139
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _55 => _55["ContactsApi.contactsUpdateListing"], 'optionalAccess', _56 => _56[localVarOperationServerIndex], 'optionalAccess', _57 => _57.url]);
|
|
1055
1140
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1056
1141
|
},
|
|
1057
1142
|
/**
|
|
@@ -1064,8 +1149,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1064
1149
|
*/
|
|
1065
1150
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
1066
1151
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
1067
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1068
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1152
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _58 => _58.serverIndex]), () => ( 0));
|
|
1153
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _59 => _59["ContactsApi.emailsCreate"], 'optionalAccess', _60 => _60[localVarOperationServerIndex], 'optionalAccess', _61 => _61.url]);
|
|
1069
1154
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1070
1155
|
},
|
|
1071
1156
|
/**
|
|
@@ -1077,8 +1162,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1077
1162
|
*/
|
|
1078
1163
|
async emailsDelete(emailId, options) {
|
|
1079
1164
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
1080
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1081
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1165
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _62 => _62.serverIndex]), () => ( 0));
|
|
1166
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _63 => _63["ContactsApi.emailsDelete"], 'optionalAccess', _64 => _64[localVarOperationServerIndex], 'optionalAccess', _65 => _65.url]);
|
|
1082
1167
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1083
1168
|
},
|
|
1084
1169
|
/**
|
|
@@ -1090,8 +1175,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1090
1175
|
*/
|
|
1091
1176
|
async emailsGet(emailId, options) {
|
|
1092
1177
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
1093
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1094
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1178
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _66 => _66.serverIndex]), () => ( 0));
|
|
1179
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _67 => _67["ContactsApi.emailsGet"], 'optionalAccess', _68 => _68[localVarOperationServerIndex], 'optionalAccess', _69 => _69.url]);
|
|
1095
1180
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1096
1181
|
},
|
|
1097
1182
|
/**
|
|
@@ -1104,8 +1189,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1104
1189
|
*/
|
|
1105
1190
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
1106
1191
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
1107
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1108
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1192
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _70 => _70.serverIndex]), () => ( 0));
|
|
1193
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _71 => _71["ContactsApi.emailsUpdate"], 'optionalAccess', _72 => _72[localVarOperationServerIndex], 'optionalAccess', _73 => _73.url]);
|
|
1109
1194
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1110
1195
|
},
|
|
1111
1196
|
/**
|
|
@@ -1118,8 +1203,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1118
1203
|
*/
|
|
1119
1204
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
1120
1205
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
1121
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1122
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1206
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _74 => _74.serverIndex]), () => ( 0));
|
|
1207
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _75 => _75["ContactsApi.phonesCreate"], 'optionalAccess', _76 => _76[localVarOperationServerIndex], 'optionalAccess', _77 => _77.url]);
|
|
1123
1208
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1124
1209
|
},
|
|
1125
1210
|
/**
|
|
@@ -1131,8 +1216,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1131
1216
|
*/
|
|
1132
1217
|
async phonesDelete(phoneId, options) {
|
|
1133
1218
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
1134
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1135
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1219
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _78 => _78.serverIndex]), () => ( 0));
|
|
1220
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _79 => _79["ContactsApi.phonesDelete"], 'optionalAccess', _80 => _80[localVarOperationServerIndex], 'optionalAccess', _81 => _81.url]);
|
|
1136
1221
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1137
1222
|
},
|
|
1138
1223
|
/**
|
|
@@ -1144,8 +1229,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1144
1229
|
*/
|
|
1145
1230
|
async phonesGet(phoneId, options) {
|
|
1146
1231
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
1147
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1148
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1232
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _82 => _82.serverIndex]), () => ( 0));
|
|
1233
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _83 => _83["ContactsApi.phonesGet"], 'optionalAccess', _84 => _84[localVarOperationServerIndex], 'optionalAccess', _85 => _85.url]);
|
|
1149
1234
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1150
1235
|
},
|
|
1151
1236
|
/**
|
|
@@ -1158,8 +1243,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1158
1243
|
*/
|
|
1159
1244
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
1160
1245
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
1161
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1162
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1246
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _86 => _86.serverIndex]), () => ( 0));
|
|
1247
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _87 => _87["ContactsApi.phonesUpdate"], 'optionalAccess', _88 => _88[localVarOperationServerIndex], 'optionalAccess', _89 => _89.url]);
|
|
1163
1248
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1164
1249
|
}
|
|
1165
1250
|
};
|
|
@@ -1711,6 +1796,32 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1711
1796
|
options: localVarRequestOptions
|
|
1712
1797
|
};
|
|
1713
1798
|
},
|
|
1799
|
+
/**
|
|
1800
|
+
*
|
|
1801
|
+
* @summary Conversations List Suggestions
|
|
1802
|
+
* @param {string} conversationId
|
|
1803
|
+
* @param {*} [options] Override http request option.
|
|
1804
|
+
* @throws {RequiredError}
|
|
1805
|
+
*/
|
|
1806
|
+
conversationsListSuggestions: async (conversationId, options = {}) => {
|
|
1807
|
+
assertParamExists("conversationsListSuggestions", "conversationId", conversationId);
|
|
1808
|
+
const localVarPath = `/conversations/{conversationId}/suggestions`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
1809
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1810
|
+
let baseOptions;
|
|
1811
|
+
if (configuration) {
|
|
1812
|
+
baseOptions = configuration.baseOptions;
|
|
1813
|
+
}
|
|
1814
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1815
|
+
const localVarHeaderParameter = {};
|
|
1816
|
+
const localVarQueryParameter = {};
|
|
1817
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1818
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1819
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1820
|
+
return {
|
|
1821
|
+
url: toPathString(localVarUrlObj),
|
|
1822
|
+
options: localVarRequestOptions
|
|
1823
|
+
};
|
|
1824
|
+
},
|
|
1714
1825
|
/**
|
|
1715
1826
|
* Conversations Update
|
|
1716
1827
|
* @summary Conversations Update
|
|
@@ -1745,13 +1856,13 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1745
1856
|
* Messages Create
|
|
1746
1857
|
* @summary Messages Create
|
|
1747
1858
|
* @param {string} conversationId
|
|
1748
|
-
* @param {
|
|
1859
|
+
* @param {Messagecreate} messagecreate
|
|
1749
1860
|
* @param {*} [options] Override http request option.
|
|
1750
1861
|
* @throws {RequiredError}
|
|
1751
1862
|
*/
|
|
1752
|
-
messagesCreate: async (conversationId,
|
|
1863
|
+
messagesCreate: async (conversationId, messagecreate, options = {}) => {
|
|
1753
1864
|
assertParamExists("messagesCreate", "conversationId", conversationId);
|
|
1754
|
-
assertParamExists("messagesCreate", "
|
|
1865
|
+
assertParamExists("messagesCreate", "messagecreate", messagecreate);
|
|
1755
1866
|
const localVarPath = `/conversations/{conversationId}/messages`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
1756
1867
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1757
1868
|
let baseOptions;
|
|
@@ -1765,7 +1876,7 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1765
1876
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1766
1877
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1767
1878
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1768
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1879
|
+
localVarRequestOptions.data = serializeDataIfNeeded(messagecreate, localVarRequestOptions, configuration);
|
|
1769
1880
|
return {
|
|
1770
1881
|
url: toPathString(localVarUrlObj),
|
|
1771
1882
|
options: localVarRequestOptions
|
|
@@ -1879,8 +1990,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1879
1990
|
*/
|
|
1880
1991
|
async conversationsGet(conversationId, options) {
|
|
1881
1992
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
1882
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1883
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1993
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _90 => _90.serverIndex]), () => ( 0));
|
|
1994
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _91 => _91["ConversationsApi.conversationsGet"], 'optionalAccess', _92 => _92[localVarOperationServerIndex], 'optionalAccess', _93 => _93.url]);
|
|
1884
1995
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1885
1996
|
},
|
|
1886
1997
|
/**
|
|
@@ -1899,8 +2010,21 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1899
2010
|
*/
|
|
1900
2011
|
async conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
1901
2012
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options);
|
|
1902
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1903
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2013
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _94 => _94.serverIndex]), () => ( 0));
|
|
2014
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _95 => _95["ConversationsApi.conversationsList"], 'optionalAccess', _96 => _96[localVarOperationServerIndex], 'optionalAccess', _97 => _97.url]);
|
|
2015
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2016
|
+
},
|
|
2017
|
+
/**
|
|
2018
|
+
*
|
|
2019
|
+
* @summary Conversations List Suggestions
|
|
2020
|
+
* @param {string} conversationId
|
|
2021
|
+
* @param {*} [options] Override http request option.
|
|
2022
|
+
* @throws {RequiredError}
|
|
2023
|
+
*/
|
|
2024
|
+
async conversationsListSuggestions(conversationId, options) {
|
|
2025
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsListSuggestions(conversationId, options);
|
|
2026
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
2027
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["ConversationsApi.conversationsListSuggestions"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
1904
2028
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1905
2029
|
},
|
|
1906
2030
|
/**
|
|
@@ -1913,22 +2037,22 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1913
2037
|
*/
|
|
1914
2038
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
1915
2039
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
1916
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1917
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2040
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _102 => _102.serverIndex]), () => ( 0));
|
|
2041
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _103 => _103["ConversationsApi.conversationsUpdate"], 'optionalAccess', _104 => _104[localVarOperationServerIndex], 'optionalAccess', _105 => _105.url]);
|
|
1918
2042
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1919
2043
|
},
|
|
1920
2044
|
/**
|
|
1921
2045
|
* Messages Create
|
|
1922
2046
|
* @summary Messages Create
|
|
1923
2047
|
* @param {string} conversationId
|
|
1924
|
-
* @param {
|
|
2048
|
+
* @param {Messagecreate} messagecreate
|
|
1925
2049
|
* @param {*} [options] Override http request option.
|
|
1926
2050
|
* @throws {RequiredError}
|
|
1927
2051
|
*/
|
|
1928
|
-
async messagesCreate(conversationId,
|
|
1929
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId,
|
|
1930
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1931
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2052
|
+
async messagesCreate(conversationId, messagecreate, options) {
|
|
2053
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
2054
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _106 => _106.serverIndex]), () => ( 0));
|
|
2055
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _107 => _107["ConversationsApi.messagesCreate"], 'optionalAccess', _108 => _108[localVarOperationServerIndex], 'optionalAccess', _109 => _109.url]);
|
|
1932
2056
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1933
2057
|
},
|
|
1934
2058
|
/**
|
|
@@ -1940,8 +2064,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1940
2064
|
*/
|
|
1941
2065
|
async messagesGet(messageId, options) {
|
|
1942
2066
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
1943
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1944
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2067
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _110 => _110.serverIndex]), () => ( 0));
|
|
2068
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _111 => _111["ConversationsApi.messagesGet"], 'optionalAccess', _112 => _112[localVarOperationServerIndex], 'optionalAccess', _113 => _113.url]);
|
|
1945
2069
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1946
2070
|
},
|
|
1947
2071
|
/**
|
|
@@ -1963,8 +2087,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1963
2087
|
*/
|
|
1964
2088
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1965
2089
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1966
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1967
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2090
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2091
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["ConversationsApi.messagesList"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
1968
2092
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1969
2093
|
}
|
|
1970
2094
|
};
|
|
@@ -1999,6 +2123,16 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1999
2123
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
2000
2124
|
return localVarFp.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(axios, basePath));
|
|
2001
2125
|
},
|
|
2126
|
+
/**
|
|
2127
|
+
*
|
|
2128
|
+
* @summary Conversations List Suggestions
|
|
2129
|
+
* @param {string} conversationId
|
|
2130
|
+
* @param {*} [options] Override http request option.
|
|
2131
|
+
* @throws {RequiredError}
|
|
2132
|
+
*/
|
|
2133
|
+
conversationsListSuggestions(conversationId, options) {
|
|
2134
|
+
return localVarFp.conversationsListSuggestions(conversationId, options).then((request) => request(axios, basePath));
|
|
2135
|
+
},
|
|
2002
2136
|
/**
|
|
2003
2137
|
* Conversations Update
|
|
2004
2138
|
* @summary Conversations Update
|
|
@@ -2014,12 +2148,12 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2014
2148
|
* Messages Create
|
|
2015
2149
|
* @summary Messages Create
|
|
2016
2150
|
* @param {string} conversationId
|
|
2017
|
-
* @param {
|
|
2151
|
+
* @param {Messagecreate} messagecreate
|
|
2018
2152
|
* @param {*} [options] Override http request option.
|
|
2019
2153
|
* @throws {RequiredError}
|
|
2020
2154
|
*/
|
|
2021
|
-
messagesCreate(conversationId,
|
|
2022
|
-
return localVarFp.messagesCreate(conversationId,
|
|
2155
|
+
messagesCreate(conversationId, messagecreate, options) {
|
|
2156
|
+
return localVarFp.messagesCreate(conversationId, messagecreate, options).then((request) => request(axios, basePath));
|
|
2023
2157
|
},
|
|
2024
2158
|
/**
|
|
2025
2159
|
* Messages Get
|
|
@@ -2083,6 +2217,17 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2083
2217
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
2084
2218
|
return ConversationsApiFp(this.configuration).conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(this.axios, this.basePath));
|
|
2085
2219
|
}
|
|
2220
|
+
/**
|
|
2221
|
+
*
|
|
2222
|
+
* @summary Conversations List Suggestions
|
|
2223
|
+
* @param {string} conversationId
|
|
2224
|
+
* @param {*} [options] Override http request option.
|
|
2225
|
+
* @throws {RequiredError}
|
|
2226
|
+
* @memberof ConversationsApi
|
|
2227
|
+
*/
|
|
2228
|
+
conversationsListSuggestions(conversationId, options) {
|
|
2229
|
+
return ConversationsApiFp(this.configuration).conversationsListSuggestions(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
2230
|
+
}
|
|
2086
2231
|
/**
|
|
2087
2232
|
* Conversations Update
|
|
2088
2233
|
* @summary Conversations Update
|
|
@@ -2099,13 +2244,13 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2099
2244
|
* Messages Create
|
|
2100
2245
|
* @summary Messages Create
|
|
2101
2246
|
* @param {string} conversationId
|
|
2102
|
-
* @param {
|
|
2247
|
+
* @param {Messagecreate} messagecreate
|
|
2103
2248
|
* @param {*} [options] Override http request option.
|
|
2104
2249
|
* @throws {RequiredError}
|
|
2105
2250
|
* @memberof ConversationsApi
|
|
2106
2251
|
*/
|
|
2107
|
-
messagesCreate(conversationId,
|
|
2108
|
-
return ConversationsApiFp(this.configuration).messagesCreate(conversationId,
|
|
2252
|
+
messagesCreate(conversationId, messagecreate, options) {
|
|
2253
|
+
return ConversationsApiFp(this.configuration).messagesCreate(conversationId, messagecreate, options).then((request) => request(this.axios, this.basePath));
|
|
2109
2254
|
}
|
|
2110
2255
|
/**
|
|
2111
2256
|
* Messages Get
|
|
@@ -2185,8 +2330,8 @@ var HostawayApiFp = function(configuration) {
|
|
|
2185
2330
|
*/
|
|
2186
2331
|
async webhook(hostawayWebhook, options) {
|
|
2187
2332
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
2188
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2189
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2333
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2334
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["HostawayApi.webhook"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2190
2335
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2191
2336
|
}
|
|
2192
2337
|
};
|
|
@@ -2258,8 +2403,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2258
2403
|
*/
|
|
2259
2404
|
async inboxesList(options) {
|
|
2260
2405
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
2261
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2262
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2406
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2407
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["InboxesApi.inboxesList"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2263
2408
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2264
2409
|
}
|
|
2265
2410
|
};
|
|
@@ -2334,8 +2479,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
2334
2479
|
*/
|
|
2335
2480
|
async inquiriesList(contactId, options) {
|
|
2336
2481
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2337
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2338
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2482
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _126 => _126.serverIndex]), () => ( 0));
|
|
2483
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _127 => _127["InquiriesApi.inquiriesList"], 'optionalAccess', _128 => _128[localVarOperationServerIndex], 'optionalAccess', _129 => _129.url]);
|
|
2339
2484
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2340
2485
|
}
|
|
2341
2486
|
};
|
|
@@ -2462,8 +2607,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2462
2607
|
*/
|
|
2463
2608
|
async listingsGet(listingId, options) {
|
|
2464
2609
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
2465
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2466
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2610
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _130 => _130.serverIndex]), () => ( 0));
|
|
2611
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _131 => _131["ListingsApi.listingsGet"], 'optionalAccess', _132 => _132[localVarOperationServerIndex], 'optionalAccess', _133 => _133.url]);
|
|
2467
2612
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2468
2613
|
},
|
|
2469
2614
|
/**
|
|
@@ -2481,8 +2626,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2481
2626
|
*/
|
|
2482
2627
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2483
2628
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2484
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2485
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2629
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2630
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["ListingsApi.listingsList"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
2486
2631
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2487
2632
|
}
|
|
2488
2633
|
};
|
|
@@ -2587,8 +2732,8 @@ var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
|
2587
2732
|
*/
|
|
2588
2733
|
async managedPhoneNumbersList(options) {
|
|
2589
2734
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2590
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2591
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2735
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2736
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["ManagedPhoneNumbersApi.managedPhoneNumbersList"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
2592
2737
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2593
2738
|
}
|
|
2594
2739
|
};
|
|
@@ -2743,8 +2888,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2743
2888
|
*/
|
|
2744
2889
|
async providersCreate(aPIProviderCreate, options) {
|
|
2745
2890
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
2746
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2747
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2891
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2892
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["ProvidersApi.providersCreate"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2748
2893
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2749
2894
|
},
|
|
2750
2895
|
/**
|
|
@@ -2756,8 +2901,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2756
2901
|
*/
|
|
2757
2902
|
async providersGet(providerId, options) {
|
|
2758
2903
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
2759
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2760
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2904
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2905
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["ProvidersApi.providersGet"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2761
2906
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2762
2907
|
},
|
|
2763
2908
|
/**
|
|
@@ -2768,8 +2913,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2768
2913
|
*/
|
|
2769
2914
|
async providersList(options) {
|
|
2770
2915
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
2771
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2772
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2916
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
2917
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["ProvidersApi.providersList"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
2773
2918
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2774
2919
|
},
|
|
2775
2920
|
/**
|
|
@@ -2782,8 +2927,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2782
2927
|
*/
|
|
2783
2928
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
2784
2929
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
2785
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2786
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2930
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
2931
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["ProvidersApi.providersUpdate"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
2787
2932
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2788
2933
|
}
|
|
2789
2934
|
};
|
|
@@ -2973,8 +3118,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
2973
3118
|
*/
|
|
2974
3119
|
async reservationsGet(reservationId, options) {
|
|
2975
3120
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
2976
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2977
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3121
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
3122
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["ReservationsApi.reservationsGet"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
2978
3123
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2979
3124
|
},
|
|
2980
3125
|
/**
|
|
@@ -2992,8 +3137,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
2992
3137
|
*/
|
|
2993
3138
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2994
3139
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2995
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2996
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3140
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
3141
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["ReservationsApi.reservationsList"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
2997
3142
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2998
3143
|
}
|
|
2999
3144
|
};
|
|
@@ -3059,146 +3204,6 @@ var ReservationsApi = class extends BaseAPI {
|
|
|
3059
3204
|
return ReservationsApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
3060
3205
|
}
|
|
3061
3206
|
};
|
|
3062
|
-
var SuggestedRepliesApiAxiosParamCreator = function(configuration) {
|
|
3063
|
-
return {
|
|
3064
|
-
/**
|
|
3065
|
-
* SuggestedReplies Create
|
|
3066
|
-
* @summary SuggestedReplies Create
|
|
3067
|
-
* @param {object} body
|
|
3068
|
-
* @param {*} [options] Override http request option.
|
|
3069
|
-
* @throws {RequiredError}
|
|
3070
|
-
*/
|
|
3071
|
-
suggestedRepliesCreate: async (body, options = {}) => {
|
|
3072
|
-
assertParamExists("suggestedRepliesCreate", "body", body);
|
|
3073
|
-
const localVarPath = `/suggestedReplies`;
|
|
3074
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3075
|
-
let baseOptions;
|
|
3076
|
-
if (configuration) {
|
|
3077
|
-
baseOptions = configuration.baseOptions;
|
|
3078
|
-
}
|
|
3079
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3080
|
-
const localVarHeaderParameter = {};
|
|
3081
|
-
const localVarQueryParameter = {};
|
|
3082
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3083
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3084
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3085
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3086
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
3087
|
-
return {
|
|
3088
|
-
url: toPathString(localVarUrlObj),
|
|
3089
|
-
options: localVarRequestOptions
|
|
3090
|
-
};
|
|
3091
|
-
},
|
|
3092
|
-
/**
|
|
3093
|
-
* List all suggested replies, optionally filtered by conversation_id
|
|
3094
|
-
* @summary SuggestedReplies List
|
|
3095
|
-
* @param {string | null} [conversationId] Filter by conversation ID
|
|
3096
|
-
* @param {*} [options] Override http request option.
|
|
3097
|
-
* @throws {RequiredError}
|
|
3098
|
-
*/
|
|
3099
|
-
suggestedRepliesList: async (conversationId, options = {}) => {
|
|
3100
|
-
const localVarPath = `/suggestedReplies`;
|
|
3101
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3102
|
-
let baseOptions;
|
|
3103
|
-
if (configuration) {
|
|
3104
|
-
baseOptions = configuration.baseOptions;
|
|
3105
|
-
}
|
|
3106
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3107
|
-
const localVarHeaderParameter = {};
|
|
3108
|
-
const localVarQueryParameter = {};
|
|
3109
|
-
if (conversationId !== void 0) {
|
|
3110
|
-
localVarQueryParameter["conversationId"] = conversationId;
|
|
3111
|
-
}
|
|
3112
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3113
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3114
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3115
|
-
return {
|
|
3116
|
-
url: toPathString(localVarUrlObj),
|
|
3117
|
-
options: localVarRequestOptions
|
|
3118
|
-
};
|
|
3119
|
-
}
|
|
3120
|
-
};
|
|
3121
|
-
};
|
|
3122
|
-
var SuggestedRepliesApiFp = function(configuration) {
|
|
3123
|
-
const localVarAxiosParamCreator = SuggestedRepliesApiAxiosParamCreator(configuration);
|
|
3124
|
-
return {
|
|
3125
|
-
/**
|
|
3126
|
-
* SuggestedReplies Create
|
|
3127
|
-
* @summary SuggestedReplies Create
|
|
3128
|
-
* @param {object} body
|
|
3129
|
-
* @param {*} [options] Override http request option.
|
|
3130
|
-
* @throws {RequiredError}
|
|
3131
|
-
*/
|
|
3132
|
-
async suggestedRepliesCreate(body, options) {
|
|
3133
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesCreate(body, options);
|
|
3134
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
3135
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["SuggestedRepliesApi.suggestedRepliesCreate"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
3136
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3137
|
-
},
|
|
3138
|
-
/**
|
|
3139
|
-
* List all suggested replies, optionally filtered by conversation_id
|
|
3140
|
-
* @summary SuggestedReplies List
|
|
3141
|
-
* @param {string | null} [conversationId] Filter by conversation ID
|
|
3142
|
-
* @param {*} [options] Override http request option.
|
|
3143
|
-
* @throws {RequiredError}
|
|
3144
|
-
*/
|
|
3145
|
-
async suggestedRepliesList(conversationId, options) {
|
|
3146
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesList(conversationId, options);
|
|
3147
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
3148
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["SuggestedRepliesApi.suggestedRepliesList"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
3149
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3150
|
-
}
|
|
3151
|
-
};
|
|
3152
|
-
};
|
|
3153
|
-
var SuggestedRepliesApiFactory = function(configuration, basePath, axios) {
|
|
3154
|
-
const localVarFp = SuggestedRepliesApiFp(configuration);
|
|
3155
|
-
return {
|
|
3156
|
-
/**
|
|
3157
|
-
* SuggestedReplies Create
|
|
3158
|
-
* @summary SuggestedReplies Create
|
|
3159
|
-
* @param {object} body
|
|
3160
|
-
* @param {*} [options] Override http request option.
|
|
3161
|
-
* @throws {RequiredError}
|
|
3162
|
-
*/
|
|
3163
|
-
suggestedRepliesCreate(body, options) {
|
|
3164
|
-
return localVarFp.suggestedRepliesCreate(body, options).then((request) => request(axios, basePath));
|
|
3165
|
-
},
|
|
3166
|
-
/**
|
|
3167
|
-
* List all suggested replies, optionally filtered by conversation_id
|
|
3168
|
-
* @summary SuggestedReplies List
|
|
3169
|
-
* @param {string | null} [conversationId] Filter by conversation ID
|
|
3170
|
-
* @param {*} [options] Override http request option.
|
|
3171
|
-
* @throws {RequiredError}
|
|
3172
|
-
*/
|
|
3173
|
-
suggestedRepliesList(conversationId, options) {
|
|
3174
|
-
return localVarFp.suggestedRepliesList(conversationId, options).then((request) => request(axios, basePath));
|
|
3175
|
-
}
|
|
3176
|
-
};
|
|
3177
|
-
};
|
|
3178
|
-
var SuggestedRepliesApi = class extends BaseAPI {
|
|
3179
|
-
/**
|
|
3180
|
-
* SuggestedReplies Create
|
|
3181
|
-
* @summary SuggestedReplies Create
|
|
3182
|
-
* @param {object} body
|
|
3183
|
-
* @param {*} [options] Override http request option.
|
|
3184
|
-
* @throws {RequiredError}
|
|
3185
|
-
* @memberof SuggestedRepliesApi
|
|
3186
|
-
*/
|
|
3187
|
-
suggestedRepliesCreate(body, options) {
|
|
3188
|
-
return SuggestedRepliesApiFp(this.configuration).suggestedRepliesCreate(body, options).then((request) => request(this.axios, this.basePath));
|
|
3189
|
-
}
|
|
3190
|
-
/**
|
|
3191
|
-
* List all suggested replies, optionally filtered by conversation_id
|
|
3192
|
-
* @summary SuggestedReplies List
|
|
3193
|
-
* @param {string | null} [conversationId] Filter by conversation ID
|
|
3194
|
-
* @param {*} [options] Override http request option.
|
|
3195
|
-
* @throws {RequiredError}
|
|
3196
|
-
* @memberof SuggestedRepliesApi
|
|
3197
|
-
*/
|
|
3198
|
-
suggestedRepliesList(conversationId, options) {
|
|
3199
|
-
return SuggestedRepliesApiFp(this.configuration).suggestedRepliesList(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
3200
|
-
}
|
|
3201
|
-
};
|
|
3202
3207
|
var UnboundApiAxiosParamCreator = function(configuration) {
|
|
3203
3208
|
return {
|
|
3204
3209
|
/**
|
|
@@ -3673,6 +3678,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3673
3678
|
options: localVarRequestOptions
|
|
3674
3679
|
};
|
|
3675
3680
|
},
|
|
3681
|
+
/**
|
|
3682
|
+
*
|
|
3683
|
+
* @summary Conversations List Suggestions
|
|
3684
|
+
* @param {string} conversationId
|
|
3685
|
+
* @param {*} [options] Override http request option.
|
|
3686
|
+
* @throws {RequiredError}
|
|
3687
|
+
*/
|
|
3688
|
+
conversationsListSuggestions: async (conversationId, options = {}) => {
|
|
3689
|
+
assertParamExists("conversationsListSuggestions", "conversationId", conversationId);
|
|
3690
|
+
const localVarPath = `/conversations/{conversationId}/suggestions`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
3691
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3692
|
+
let baseOptions;
|
|
3693
|
+
if (configuration) {
|
|
3694
|
+
baseOptions = configuration.baseOptions;
|
|
3695
|
+
}
|
|
3696
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3697
|
+
const localVarHeaderParameter = {};
|
|
3698
|
+
const localVarQueryParameter = {};
|
|
3699
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3700
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3701
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3702
|
+
return {
|
|
3703
|
+
url: toPathString(localVarUrlObj),
|
|
3704
|
+
options: localVarRequestOptions
|
|
3705
|
+
};
|
|
3706
|
+
},
|
|
3676
3707
|
/**
|
|
3677
3708
|
* Conversations Update
|
|
3678
3709
|
* @summary Conversations Update
|
|
@@ -3997,13 +4028,13 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3997
4028
|
* Messages Create
|
|
3998
4029
|
* @summary Messages Create
|
|
3999
4030
|
* @param {string} conversationId
|
|
4000
|
-
* @param {
|
|
4031
|
+
* @param {Messagecreate} messagecreate
|
|
4001
4032
|
* @param {*} [options] Override http request option.
|
|
4002
4033
|
* @throws {RequiredError}
|
|
4003
4034
|
*/
|
|
4004
|
-
messagesCreate: async (conversationId,
|
|
4035
|
+
messagesCreate: async (conversationId, messagecreate, options = {}) => {
|
|
4005
4036
|
assertParamExists("messagesCreate", "conversationId", conversationId);
|
|
4006
|
-
assertParamExists("messagesCreate", "
|
|
4037
|
+
assertParamExists("messagesCreate", "messagecreate", messagecreate);
|
|
4007
4038
|
const localVarPath = `/conversations/{conversationId}/messages`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
4008
4039
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4009
4040
|
let baseOptions;
|
|
@@ -4017,7 +4048,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4017
4048
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4018
4049
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4019
4050
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4020
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4051
|
+
localVarRequestOptions.data = serializeDataIfNeeded(messagecreate, localVarRequestOptions, configuration);
|
|
4021
4052
|
return {
|
|
4022
4053
|
url: toPathString(localVarUrlObj),
|
|
4023
4054
|
options: localVarRequestOptions
|
|
@@ -4415,62 +4446,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4415
4446
|
options: localVarRequestOptions
|
|
4416
4447
|
};
|
|
4417
4448
|
},
|
|
4418
|
-
/**
|
|
4419
|
-
* SuggestedReplies Create
|
|
4420
|
-
* @summary SuggestedReplies Create
|
|
4421
|
-
* @param {object} body
|
|
4422
|
-
* @param {*} [options] Override http request option.
|
|
4423
|
-
* @throws {RequiredError}
|
|
4424
|
-
*/
|
|
4425
|
-
suggestedRepliesCreate: async (body, options = {}) => {
|
|
4426
|
-
assertParamExists("suggestedRepliesCreate", "body", body);
|
|
4427
|
-
const localVarPath = `/suggestedReplies`;
|
|
4428
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4429
|
-
let baseOptions;
|
|
4430
|
-
if (configuration) {
|
|
4431
|
-
baseOptions = configuration.baseOptions;
|
|
4432
|
-
}
|
|
4433
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
4434
|
-
const localVarHeaderParameter = {};
|
|
4435
|
-
const localVarQueryParameter = {};
|
|
4436
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4437
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4438
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4439
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4440
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
4441
|
-
return {
|
|
4442
|
-
url: toPathString(localVarUrlObj),
|
|
4443
|
-
options: localVarRequestOptions
|
|
4444
|
-
};
|
|
4445
|
-
},
|
|
4446
|
-
/**
|
|
4447
|
-
* List all suggested replies, optionally filtered by conversation_id
|
|
4448
|
-
* @summary SuggestedReplies List
|
|
4449
|
-
* @param {string | null} [conversationId] Filter by conversation ID
|
|
4450
|
-
* @param {*} [options] Override http request option.
|
|
4451
|
-
* @throws {RequiredError}
|
|
4452
|
-
*/
|
|
4453
|
-
suggestedRepliesList: async (conversationId, options = {}) => {
|
|
4454
|
-
const localVarPath = `/suggestedReplies`;
|
|
4455
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4456
|
-
let baseOptions;
|
|
4457
|
-
if (configuration) {
|
|
4458
|
-
baseOptions = configuration.baseOptions;
|
|
4459
|
-
}
|
|
4460
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4461
|
-
const localVarHeaderParameter = {};
|
|
4462
|
-
const localVarQueryParameter = {};
|
|
4463
|
-
if (conversationId !== void 0) {
|
|
4464
|
-
localVarQueryParameter["conversationId"] = conversationId;
|
|
4465
|
-
}
|
|
4466
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4467
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4468
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4469
|
-
return {
|
|
4470
|
-
url: toPathString(localVarUrlObj),
|
|
4471
|
-
options: localVarRequestOptions
|
|
4472
|
-
};
|
|
4473
|
-
},
|
|
4474
4449
|
/**
|
|
4475
4450
|
*
|
|
4476
4451
|
* @summary Unifiedwebhook
|
|
@@ -4720,6 +4695,19 @@ var UnboundApiFp = function(configuration) {
|
|
|
4720
4695
|
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.conversationsList"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
4721
4696
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4722
4697
|
},
|
|
4698
|
+
/**
|
|
4699
|
+
*
|
|
4700
|
+
* @summary Conversations List Suggestions
|
|
4701
|
+
* @param {string} conversationId
|
|
4702
|
+
* @param {*} [options] Override http request option.
|
|
4703
|
+
* @throws {RequiredError}
|
|
4704
|
+
*/
|
|
4705
|
+
async conversationsListSuggestions(conversationId, options) {
|
|
4706
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsListSuggestions(conversationId, options);
|
|
4707
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4708
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.conversationsListSuggestions"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
4709
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4710
|
+
},
|
|
4723
4711
|
/**
|
|
4724
4712
|
* Conversations Update
|
|
4725
4713
|
* @summary Conversations Update
|
|
@@ -4730,8 +4718,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4730
4718
|
*/
|
|
4731
4719
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
4732
4720
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
4733
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4734
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4721
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4722
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["UnboundApi.conversationsUpdate"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4735
4723
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4736
4724
|
},
|
|
4737
4725
|
/**
|
|
@@ -4744,8 +4732,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4744
4732
|
*/
|
|
4745
4733
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4746
4734
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
4747
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4748
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4735
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4736
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.emailsCreate"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4749
4737
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4750
4738
|
},
|
|
4751
4739
|
/**
|
|
@@ -4757,8 +4745,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4757
4745
|
*/
|
|
4758
4746
|
async emailsDelete(emailId, options) {
|
|
4759
4747
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4760
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4761
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4748
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4749
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.emailsDelete"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4762
4750
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4763
4751
|
},
|
|
4764
4752
|
/**
|
|
@@ -4770,8 +4758,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4770
4758
|
*/
|
|
4771
4759
|
async emailsGet(emailId, options) {
|
|
4772
4760
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
4773
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4774
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4761
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4762
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.emailsGet"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4775
4763
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4776
4764
|
},
|
|
4777
4765
|
/**
|
|
@@ -4784,8 +4772,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4784
4772
|
*/
|
|
4785
4773
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
4786
4774
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
4787
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4788
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4775
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4776
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.emailsUpdate"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4789
4777
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4790
4778
|
},
|
|
4791
4779
|
/**
|
|
@@ -4796,8 +4784,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4796
4784
|
*/
|
|
4797
4785
|
async getMeMeGet(options) {
|
|
4798
4786
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMeMeGet(options);
|
|
4799
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4800
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4787
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4788
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.getMeMeGet"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4801
4789
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4802
4790
|
},
|
|
4803
4791
|
/**
|
|
@@ -4808,8 +4796,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4808
4796
|
*/
|
|
4809
4797
|
async inboxesList(options) {
|
|
4810
4798
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
4811
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4812
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4799
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4800
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.inboxesList"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4813
4801
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4814
4802
|
},
|
|
4815
4803
|
/**
|
|
@@ -4821,8 +4809,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4821
4809
|
*/
|
|
4822
4810
|
async inquiriesList(contactId, options) {
|
|
4823
4811
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4824
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4825
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4812
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4813
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.inquiriesList"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4826
4814
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4827
4815
|
},
|
|
4828
4816
|
/**
|
|
@@ -4834,8 +4822,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4834
4822
|
*/
|
|
4835
4823
|
async listingsGet(listingId, options) {
|
|
4836
4824
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4837
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4838
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4825
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4826
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.listingsGet"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4839
4827
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4840
4828
|
},
|
|
4841
4829
|
/**
|
|
@@ -4853,8 +4841,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4853
4841
|
*/
|
|
4854
4842
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4855
4843
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4856
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4857
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4844
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4845
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.listingsList"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4858
4846
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4859
4847
|
},
|
|
4860
4848
|
/**
|
|
@@ -4865,22 +4853,22 @@ var UnboundApiFp = function(configuration) {
|
|
|
4865
4853
|
*/
|
|
4866
4854
|
async managedPhoneNumbersList(options) {
|
|
4867
4855
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
4868
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4869
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4856
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
4857
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4870
4858
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4871
4859
|
},
|
|
4872
4860
|
/**
|
|
4873
4861
|
* Messages Create
|
|
4874
4862
|
* @summary Messages Create
|
|
4875
4863
|
* @param {string} conversationId
|
|
4876
|
-
* @param {
|
|
4864
|
+
* @param {Messagecreate} messagecreate
|
|
4877
4865
|
* @param {*} [options] Override http request option.
|
|
4878
4866
|
* @throws {RequiredError}
|
|
4879
4867
|
*/
|
|
4880
|
-
async messagesCreate(conversationId,
|
|
4881
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId,
|
|
4882
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4883
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4868
|
+
async messagesCreate(conversationId, messagecreate, options) {
|
|
4869
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
4870
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
4871
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.messagesCreate"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4884
4872
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4885
4873
|
},
|
|
4886
4874
|
/**
|
|
@@ -4892,8 +4880,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4892
4880
|
*/
|
|
4893
4881
|
async messagesGet(messageId, options) {
|
|
4894
4882
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
4895
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4896
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4883
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
4884
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.messagesGet"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4897
4885
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4898
4886
|
},
|
|
4899
4887
|
/**
|
|
@@ -4915,8 +4903,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4915
4903
|
*/
|
|
4916
4904
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4917
4905
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4918
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4919
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4906
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
4907
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.messagesList"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4920
4908
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4921
4909
|
},
|
|
4922
4910
|
/**
|
|
@@ -4929,8 +4917,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4929
4917
|
*/
|
|
4930
4918
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
4931
4919
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
4932
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4933
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4920
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
4921
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.phonesCreate"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4934
4922
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4935
4923
|
},
|
|
4936
4924
|
/**
|
|
@@ -4942,8 +4930,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4942
4930
|
*/
|
|
4943
4931
|
async phonesDelete(phoneId, options) {
|
|
4944
4932
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
4945
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4946
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4933
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
4934
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.phonesDelete"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4947
4935
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4948
4936
|
},
|
|
4949
4937
|
/**
|
|
@@ -4955,8 +4943,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4955
4943
|
*/
|
|
4956
4944
|
async phonesGet(phoneId, options) {
|
|
4957
4945
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
4958
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4959
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4946
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
4947
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.phonesGet"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4960
4948
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4961
4949
|
},
|
|
4962
4950
|
/**
|
|
@@ -4969,8 +4957,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4969
4957
|
*/
|
|
4970
4958
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
4971
4959
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
4972
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4973
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4960
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
4961
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.phonesUpdate"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
4974
4962
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4975
4963
|
},
|
|
4976
4964
|
/**
|
|
@@ -4982,8 +4970,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4982
4970
|
*/
|
|
4983
4971
|
async providersCreate(aPIProviderCreate, options) {
|
|
4984
4972
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
4985
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4986
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4973
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
4974
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.providersCreate"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
4987
4975
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4988
4976
|
},
|
|
4989
4977
|
/**
|
|
@@ -4995,8 +4983,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4995
4983
|
*/
|
|
4996
4984
|
async providersGet(providerId, options) {
|
|
4997
4985
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
4998
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4999
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4986
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
4987
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.providersGet"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
5000
4988
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5001
4989
|
},
|
|
5002
4990
|
/**
|
|
@@ -5007,8 +4995,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5007
4995
|
*/
|
|
5008
4996
|
async providersList(options) {
|
|
5009
4997
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
5010
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5011
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4998
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _310 => _310.serverIndex]), () => ( 0));
|
|
4999
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _311 => _311["UnboundApi.providersList"], 'optionalAccess', _312 => _312[localVarOperationServerIndex], 'optionalAccess', _313 => _313.url]);
|
|
5012
5000
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5013
5001
|
},
|
|
5014
5002
|
/**
|
|
@@ -5021,8 +5009,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5021
5009
|
*/
|
|
5022
5010
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
5023
5011
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
5024
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5025
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5012
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _314 => _314.serverIndex]), () => ( 0));
|
|
5013
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _315 => _315["UnboundApi.providersUpdate"], 'optionalAccess', _316 => _316[localVarOperationServerIndex], 'optionalAccess', _317 => _317.url]);
|
|
5026
5014
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5027
5015
|
},
|
|
5028
5016
|
/**
|
|
@@ -5034,8 +5022,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5034
5022
|
*/
|
|
5035
5023
|
async reservationsGet(reservationId, options) {
|
|
5036
5024
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
5037
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5038
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5025
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _318 => _318.serverIndex]), () => ( 0));
|
|
5026
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _319 => _319["UnboundApi.reservationsGet"], 'optionalAccess', _320 => _320[localVarOperationServerIndex], 'optionalAccess', _321 => _321.url]);
|
|
5039
5027
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5040
5028
|
},
|
|
5041
5029
|
/**
|
|
@@ -5053,34 +5041,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5053
5041
|
*/
|
|
5054
5042
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5055
5043
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5056
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _318 => _318.serverIndex]), () => ( 0));
|
|
5057
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _319 => _319["UnboundApi.reservationsList"], 'optionalAccess', _320 => _320[localVarOperationServerIndex], 'optionalAccess', _321 => _321.url]);
|
|
5058
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5059
|
-
},
|
|
5060
|
-
/**
|
|
5061
|
-
* SuggestedReplies Create
|
|
5062
|
-
* @summary SuggestedReplies Create
|
|
5063
|
-
* @param {object} body
|
|
5064
|
-
* @param {*} [options] Override http request option.
|
|
5065
|
-
* @throws {RequiredError}
|
|
5066
|
-
*/
|
|
5067
|
-
async suggestedRepliesCreate(body, options) {
|
|
5068
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesCreate(body, options);
|
|
5069
5044
|
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _322 => _322.serverIndex]), () => ( 0));
|
|
5070
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _323 => _323["UnboundApi.
|
|
5071
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5072
|
-
},
|
|
5073
|
-
/**
|
|
5074
|
-
* List all suggested replies, optionally filtered by conversation_id
|
|
5075
|
-
* @summary SuggestedReplies List
|
|
5076
|
-
* @param {string | null} [conversationId] Filter by conversation ID
|
|
5077
|
-
* @param {*} [options] Override http request option.
|
|
5078
|
-
* @throws {RequiredError}
|
|
5079
|
-
*/
|
|
5080
|
-
async suggestedRepliesList(conversationId, options) {
|
|
5081
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesList(conversationId, options);
|
|
5082
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _326 => _326.serverIndex]), () => ( 0));
|
|
5083
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _327 => _327["UnboundApi.suggestedRepliesList"], 'optionalAccess', _328 => _328[localVarOperationServerIndex], 'optionalAccess', _329 => _329.url]);
|
|
5045
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _323 => _323["UnboundApi.reservationsList"], 'optionalAccess', _324 => _324[localVarOperationServerIndex], 'optionalAccess', _325 => _325.url]);
|
|
5084
5046
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5085
5047
|
},
|
|
5086
5048
|
/**
|
|
@@ -5092,8 +5054,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5092
5054
|
*/
|
|
5093
5055
|
async webhook(hostawayWebhook, options) {
|
|
5094
5056
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
5095
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5096
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5057
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _326 => _326.serverIndex]), () => ( 0));
|
|
5058
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _327 => _327["UnboundApi.webhook"], 'optionalAccess', _328 => _328[localVarOperationServerIndex], 'optionalAccess', _329 => _329.url]);
|
|
5097
5059
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5098
5060
|
}
|
|
5099
5061
|
};
|
|
@@ -5271,6 +5233,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5271
5233
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
5272
5234
|
return localVarFp.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(axios, basePath));
|
|
5273
5235
|
},
|
|
5236
|
+
/**
|
|
5237
|
+
*
|
|
5238
|
+
* @summary Conversations List Suggestions
|
|
5239
|
+
* @param {string} conversationId
|
|
5240
|
+
* @param {*} [options] Override http request option.
|
|
5241
|
+
* @throws {RequiredError}
|
|
5242
|
+
*/
|
|
5243
|
+
conversationsListSuggestions(conversationId, options) {
|
|
5244
|
+
return localVarFp.conversationsListSuggestions(conversationId, options).then((request) => request(axios, basePath));
|
|
5245
|
+
},
|
|
5274
5246
|
/**
|
|
5275
5247
|
* Conversations Update
|
|
5276
5248
|
* @summary Conversations Update
|
|
@@ -5391,12 +5363,12 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5391
5363
|
* Messages Create
|
|
5392
5364
|
* @summary Messages Create
|
|
5393
5365
|
* @param {string} conversationId
|
|
5394
|
-
* @param {
|
|
5366
|
+
* @param {Messagecreate} messagecreate
|
|
5395
5367
|
* @param {*} [options] Override http request option.
|
|
5396
5368
|
* @throws {RequiredError}
|
|
5397
5369
|
*/
|
|
5398
|
-
messagesCreate(conversationId,
|
|
5399
|
-
return localVarFp.messagesCreate(conversationId,
|
|
5370
|
+
messagesCreate(conversationId, messagecreate, options) {
|
|
5371
|
+
return localVarFp.messagesCreate(conversationId, messagecreate, options).then((request) => request(axios, basePath));
|
|
5400
5372
|
},
|
|
5401
5373
|
/**
|
|
5402
5374
|
* Messages Get
|
|
@@ -5536,26 +5508,6 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5536
5508
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5537
5509
|
return localVarFp.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
5538
5510
|
},
|
|
5539
|
-
/**
|
|
5540
|
-
* SuggestedReplies Create
|
|
5541
|
-
* @summary SuggestedReplies Create
|
|
5542
|
-
* @param {object} body
|
|
5543
|
-
* @param {*} [options] Override http request option.
|
|
5544
|
-
* @throws {RequiredError}
|
|
5545
|
-
*/
|
|
5546
|
-
suggestedRepliesCreate(body, options) {
|
|
5547
|
-
return localVarFp.suggestedRepliesCreate(body, options).then((request) => request(axios, basePath));
|
|
5548
|
-
},
|
|
5549
|
-
/**
|
|
5550
|
-
* List all suggested replies, optionally filtered by conversation_id
|
|
5551
|
-
* @summary SuggestedReplies List
|
|
5552
|
-
* @param {string | null} [conversationId] Filter by conversation ID
|
|
5553
|
-
* @param {*} [options] Override http request option.
|
|
5554
|
-
* @throws {RequiredError}
|
|
5555
|
-
*/
|
|
5556
|
-
suggestedRepliesList(conversationId, options) {
|
|
5557
|
-
return localVarFp.suggestedRepliesList(conversationId, options).then((request) => request(axios, basePath));
|
|
5558
|
-
},
|
|
5559
5511
|
/**
|
|
5560
5512
|
*
|
|
5561
5513
|
* @summary Unifiedwebhook
|
|
@@ -5754,6 +5706,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5754
5706
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
5755
5707
|
return UnboundApiFp(this.configuration).conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(this.axios, this.basePath));
|
|
5756
5708
|
}
|
|
5709
|
+
/**
|
|
5710
|
+
*
|
|
5711
|
+
* @summary Conversations List Suggestions
|
|
5712
|
+
* @param {string} conversationId
|
|
5713
|
+
* @param {*} [options] Override http request option.
|
|
5714
|
+
* @throws {RequiredError}
|
|
5715
|
+
* @memberof UnboundApi
|
|
5716
|
+
*/
|
|
5717
|
+
conversationsListSuggestions(conversationId, options) {
|
|
5718
|
+
return UnboundApiFp(this.configuration).conversationsListSuggestions(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
5719
|
+
}
|
|
5757
5720
|
/**
|
|
5758
5721
|
* Conversations Update
|
|
5759
5722
|
* @summary Conversations Update
|
|
@@ -5885,13 +5848,13 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5885
5848
|
* Messages Create
|
|
5886
5849
|
* @summary Messages Create
|
|
5887
5850
|
* @param {string} conversationId
|
|
5888
|
-
* @param {
|
|
5851
|
+
* @param {Messagecreate} messagecreate
|
|
5889
5852
|
* @param {*} [options] Override http request option.
|
|
5890
5853
|
* @throws {RequiredError}
|
|
5891
5854
|
* @memberof UnboundApi
|
|
5892
5855
|
*/
|
|
5893
|
-
messagesCreate(conversationId,
|
|
5894
|
-
return UnboundApiFp(this.configuration).messagesCreate(conversationId,
|
|
5856
|
+
messagesCreate(conversationId, messagecreate, options) {
|
|
5857
|
+
return UnboundApiFp(this.configuration).messagesCreate(conversationId, messagecreate, options).then((request) => request(this.axios, this.basePath));
|
|
5895
5858
|
}
|
|
5896
5859
|
/**
|
|
5897
5860
|
* Messages Get
|
|
@@ -6043,28 +6006,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6043
6006
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
6044
6007
|
return UnboundApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
6045
6008
|
}
|
|
6046
|
-
/**
|
|
6047
|
-
* SuggestedReplies Create
|
|
6048
|
-
* @summary SuggestedReplies Create
|
|
6049
|
-
* @param {object} body
|
|
6050
|
-
* @param {*} [options] Override http request option.
|
|
6051
|
-
* @throws {RequiredError}
|
|
6052
|
-
* @memberof UnboundApi
|
|
6053
|
-
*/
|
|
6054
|
-
suggestedRepliesCreate(body, options) {
|
|
6055
|
-
return UnboundApiFp(this.configuration).suggestedRepliesCreate(body, options).then((request) => request(this.axios, this.basePath));
|
|
6056
|
-
}
|
|
6057
|
-
/**
|
|
6058
|
-
* List all suggested replies, optionally filtered by conversation_id
|
|
6059
|
-
* @summary SuggestedReplies List
|
|
6060
|
-
* @param {string | null} [conversationId] Filter by conversation ID
|
|
6061
|
-
* @param {*} [options] Override http request option.
|
|
6062
|
-
* @throws {RequiredError}
|
|
6063
|
-
* @memberof UnboundApi
|
|
6064
|
-
*/
|
|
6065
|
-
suggestedRepliesList(conversationId, options) {
|
|
6066
|
-
return UnboundApiFp(this.configuration).suggestedRepliesList(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
6067
|
-
}
|
|
6068
6009
|
/**
|
|
6069
6010
|
*
|
|
6070
6011
|
* @summary Unifiedwebhook
|
|
@@ -6077,77 +6018,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6077
6018
|
return UnboundApiFp(this.configuration).webhook(hostawayWebhook, options).then((request) => request(this.axios, this.basePath));
|
|
6078
6019
|
}
|
|
6079
6020
|
};
|
|
6080
|
-
var UsersApiAxiosParamCreator = function(configuration) {
|
|
6081
|
-
return {
|
|
6082
|
-
/**
|
|
6083
|
-
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6084
|
-
* @summary Get Me
|
|
6085
|
-
* @param {*} [options] Override http request option.
|
|
6086
|
-
* @throws {RequiredError}
|
|
6087
|
-
*/
|
|
6088
|
-
getMeMeGet: async (options = {}) => {
|
|
6089
|
-
const localVarPath = `/me`;
|
|
6090
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6091
|
-
let baseOptions;
|
|
6092
|
-
if (configuration) {
|
|
6093
|
-
baseOptions = configuration.baseOptions;
|
|
6094
|
-
}
|
|
6095
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6096
|
-
const localVarHeaderParameter = {};
|
|
6097
|
-
const localVarQueryParameter = {};
|
|
6098
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6099
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6100
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6101
|
-
return {
|
|
6102
|
-
url: toPathString(localVarUrlObj),
|
|
6103
|
-
options: localVarRequestOptions
|
|
6104
|
-
};
|
|
6105
|
-
}
|
|
6106
|
-
};
|
|
6107
|
-
};
|
|
6108
|
-
var UsersApiFp = function(configuration) {
|
|
6109
|
-
const localVarAxiosParamCreator = UsersApiAxiosParamCreator(configuration);
|
|
6110
|
-
return {
|
|
6111
|
-
/**
|
|
6112
|
-
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6113
|
-
* @summary Get Me
|
|
6114
|
-
* @param {*} [options] Override http request option.
|
|
6115
|
-
* @throws {RequiredError}
|
|
6116
|
-
*/
|
|
6117
|
-
async getMeMeGet(options) {
|
|
6118
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMeMeGet(options);
|
|
6119
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _334 => _334.serverIndex]), () => ( 0));
|
|
6120
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _335 => _335["UsersApi.getMeMeGet"], 'optionalAccess', _336 => _336[localVarOperationServerIndex], 'optionalAccess', _337 => _337.url]);
|
|
6121
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6122
|
-
}
|
|
6123
|
-
};
|
|
6124
|
-
};
|
|
6125
|
-
var UsersApiFactory = function(configuration, basePath, axios) {
|
|
6126
|
-
const localVarFp = UsersApiFp(configuration);
|
|
6127
|
-
return {
|
|
6128
|
-
/**
|
|
6129
|
-
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6130
|
-
* @summary Get Me
|
|
6131
|
-
* @param {*} [options] Override http request option.
|
|
6132
|
-
* @throws {RequiredError}
|
|
6133
|
-
*/
|
|
6134
|
-
getMeMeGet(options) {
|
|
6135
|
-
return localVarFp.getMeMeGet(options).then((request) => request(axios, basePath));
|
|
6136
|
-
}
|
|
6137
|
-
};
|
|
6138
|
-
};
|
|
6139
|
-
var UsersApi = class extends BaseAPI {
|
|
6140
|
-
/**
|
|
6141
|
-
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6142
|
-
* @summary Get Me
|
|
6143
|
-
* @param {*} [options] Override http request option.
|
|
6144
|
-
* @throws {RequiredError}
|
|
6145
|
-
* @memberof UsersApi
|
|
6146
|
-
*/
|
|
6147
|
-
getMeMeGet(options) {
|
|
6148
|
-
return UsersApiFp(this.configuration).getMeMeGet(options).then((request) => request(this.axios, this.basePath));
|
|
6149
|
-
}
|
|
6150
|
-
};
|
|
6151
6021
|
|
|
6152
6022
|
// src/configuration.ts
|
|
6153
6023
|
var Configuration = class {
|
|
@@ -6217,7 +6087,7 @@ var Configuration = class {
|
|
|
6217
6087
|
this.baseOptions = {
|
|
6218
6088
|
...param.baseOptions,
|
|
6219
6089
|
headers: {
|
|
6220
|
-
..._optionalChain([param, 'access',
|
|
6090
|
+
..._optionalChain([param, 'access', _330 => _330.baseOptions, 'optionalAccess', _331 => _331.headers])
|
|
6221
6091
|
}
|
|
6222
6092
|
};
|
|
6223
6093
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -6323,7 +6193,5 @@ var Configuration = class {
|
|
|
6323
6193
|
|
|
6324
6194
|
|
|
6325
6195
|
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.BotApiParticipantTypeEnum = BotApiParticipantTypeEnum; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.ConversationStatus = ConversationStatus; exports.ConversationsApi = ConversationsApi; exports.ConversationsApiAxiosParamCreator = ConversationsApiAxiosParamCreator; exports.ConversationsApiFactory = ConversationsApiFactory; exports.ConversationsApiFp = ConversationsApiFp; exports.EmailConversationDataApiConversationTypeEnum = EmailConversationDataApiConversationTypeEnum; exports.EmailInboxApiInboxTypeEnum = EmailInboxApiInboxTypeEnum; exports.EmailProviderMessageApiMessageTypeEnum = EmailProviderMessageApiMessageTypeEnum; exports.ExternalStaffApiStaffTypeEnum = ExternalStaffApiStaffTypeEnum; exports.GuestApiParticipantTypeEnum = GuestApiParticipantTypeEnum; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InboxesApi = InboxesApi; exports.InboxesApiAxiosParamCreator = InboxesApiAxiosParamCreator; exports.InboxesApiFactory = InboxesApiFactory; exports.InboxesApiFp = InboxesApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.InternalStaffApiStaffTypeEnum = InternalStaffApiStaffTypeEnum; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.ManagedPhoneNumbersApi = ManagedPhoneNumbersApi; exports.ManagedPhoneNumbersApiAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator; exports.ManagedPhoneNumbersApiFactory = ManagedPhoneNumbersApiFactory; exports.ManagedPhoneNumbersApiFp = ManagedPhoneNumbersApiFp; exports.MessageDirection = MessageDirection; exports.MessageStatus = MessageStatus; exports.PaginationDirection = PaginationDirection; exports.PhoneInboxApiInboxTypeEnum = PhoneInboxApiInboxTypeEnum; exports.ProviderAccountInboxApiInboxTypeEnum = ProviderAccountInboxApiInboxTypeEnum; exports.ProviderCommunicationType = ProviderCommunicationType; exports.ProviderConversationDataApiConversationTypeEnum = ProviderConversationDataApiConversationTypeEnum; exports.ProviderStaffApiStaffTypeEnum = ProviderStaffApiStaffTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.RentalProviderMessageApiMessageTypeEnum = RentalProviderMessageApiMessageTypeEnum; exports.RentalProviderTypes = RentalProviderTypes; exports.ReservationChannelTypes = ReservationChannelTypes; exports.ReservationStatus = ReservationStatus; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SortOrder = SortOrder; exports.SrcResourceModelsContactsModelContactsModelContactSortBy = SrcResourceModelsContactsModelContactsModelContactSortBy; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum; exports.SrcResourceModelsListingsModelListingBaseSortBy = SrcResourceModelsListingsModelListingBaseSortBy; exports.SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.StaffApiParticipantTypeEnum = StaffApiParticipantTypeEnum; exports.SuggestedRepliesApi = SuggestedRepliesApi; exports.SuggestedRepliesApiAxiosParamCreator = SuggestedRepliesApiAxiosParamCreator; exports.SuggestedRepliesApiFactory = SuggestedRepliesApiFactory; exports.SuggestedRepliesApiFp = SuggestedRepliesApiFp; exports.TwilioConversationDataApiConversationTypeEnum = TwilioConversationDataApiConversationTypeEnum; exports.TwilioInboundSenderTypeDataApiDirectionEnum = TwilioInboundSenderTypeDataApiDirectionEnum; exports.TwilioOutboundSenderTypeDataApiDirectionEnum = TwilioOutboundSenderTypeDataApiDirectionEnum; exports.TwilioProviderMessageApiMessageTypeEnum = TwilioProviderMessageApiMessageTypeEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp; exports.UsersApi = UsersApi; exports.UsersApiAxiosParamCreator = UsersApiAxiosParamCreator; exports.UsersApiFactory = UsersApiFactory; exports.UsersApiFp = UsersApiFp;
|
|
6196
|
+
exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.AuthApi = AuthApi; exports.AuthApiAxiosParamCreator = AuthApiAxiosParamCreator; exports.AuthApiFactory = AuthApiFactory; exports.AuthApiFp = AuthApiFp; exports.BotApiParticipantTypeEnum = BotApiParticipantTypeEnum; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.ConversationStatus = ConversationStatus; exports.ConversationsApi = ConversationsApi; exports.ConversationsApiAxiosParamCreator = ConversationsApiAxiosParamCreator; exports.ConversationsApiFactory = ConversationsApiFactory; exports.ConversationsApiFp = ConversationsApiFp; exports.EmailConversationDataApiConversationTypeEnum = EmailConversationDataApiConversationTypeEnum; exports.EmailInboxApiInboxTypeEnum = EmailInboxApiInboxTypeEnum; exports.EmailProviderMessageApiMessageTypeEnum = EmailProviderMessageApiMessageTypeEnum; exports.ExternalStaffApiStaffTypeEnum = ExternalStaffApiStaffTypeEnum; exports.GuestApiParticipantTypeEnum = GuestApiParticipantTypeEnum; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InboxesApi = InboxesApi; exports.InboxesApiAxiosParamCreator = InboxesApiAxiosParamCreator; exports.InboxesApiFactory = InboxesApiFactory; exports.InboxesApiFp = InboxesApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.InternalStaffApiStaffTypeEnum = InternalStaffApiStaffTypeEnum; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.ManagedPhoneNumbersApi = ManagedPhoneNumbersApi; exports.ManagedPhoneNumbersApiAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator; exports.ManagedPhoneNumbersApiFactory = ManagedPhoneNumbersApiFactory; exports.ManagedPhoneNumbersApiFp = ManagedPhoneNumbersApiFp; exports.MessageDirection = MessageDirection; exports.MessageStatus = MessageStatus; exports.PaginationDirection = PaginationDirection; exports.PhoneInboxApiInboxTypeEnum = PhoneInboxApiInboxTypeEnum; exports.ProviderAccountInboxApiInboxTypeEnum = ProviderAccountInboxApiInboxTypeEnum; exports.ProviderCommunicationType = ProviderCommunicationType; exports.ProviderConversationDataApiConversationTypeEnum = ProviderConversationDataApiConversationTypeEnum; exports.ProviderStaffApiStaffTypeEnum = ProviderStaffApiStaffTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.ReasonType = ReasonType; exports.RentalProviderMessageApiMessageTypeEnum = RentalProviderMessageApiMessageTypeEnum; exports.RentalProviderTypes = RentalProviderTypes; exports.ReservationChannelTypes = ReservationChannelTypes; exports.ReservationStatus = ReservationStatus; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SortOrder = SortOrder; exports.SrcResourceModelsContactsModelContactsModelContactSortBy = SrcResourceModelsContactsModelContactsModelContactSortBy; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum; exports.SrcResourceModelsListingsModelListingBaseSortBy = SrcResourceModelsListingsModelListingBaseSortBy; exports.SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.StaffApiParticipantTypeEnum = StaffApiParticipantTypeEnum; exports.SuggestionReason = SuggestionReason; exports.TwilioConversationDataApiConversationTypeEnum = TwilioConversationDataApiConversationTypeEnum; exports.TwilioInboundSenderTypeDataApiDirectionEnum = TwilioInboundSenderTypeDataApiDirectionEnum; exports.TwilioOutboundSenderTypeDataApiDirectionEnum = TwilioOutboundSenderTypeDataApiDirectionEnum; exports.TwilioProviderMessageApiMessageTypeEnum = TwilioProviderMessageApiMessageTypeEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
6329
6197
|
//# sourceMappingURL=index.js.map
|