@ember-home/unbound-ts-client 0.0.67 → 0.0.69
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 +270 -250
- package/dist/index.d.ts +270 -250
- package/dist/index.js +348 -491
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +227 -370
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -204,6 +204,10 @@ var SrcResourceModelsReservationsModelReservationBaseModelSortBy = {
|
|
|
204
204
|
var StaffApiParticipantTypeEnum = {
|
|
205
205
|
Staff: "STAFF"
|
|
206
206
|
};
|
|
207
|
+
var SuggestionReason = {
|
|
208
|
+
Correct: "CORRECT",
|
|
209
|
+
Incorrect: "INCORRECT"
|
|
210
|
+
};
|
|
207
211
|
var TwilioConversationDataApiConversationTypeEnum = {
|
|
208
212
|
Text: "TEXT"
|
|
209
213
|
};
|
|
@@ -287,6 +291,77 @@ var AccountsApi = class extends BaseAPI {
|
|
|
287
291
|
return AccountsApiFp(this.configuration).accountsList(options).then((request) => request(this.axios, this.basePath));
|
|
288
292
|
}
|
|
289
293
|
};
|
|
294
|
+
var AuthApiAxiosParamCreator = function(configuration) {
|
|
295
|
+
return {
|
|
296
|
+
/**
|
|
297
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
298
|
+
* @summary Get Me
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
getMeMeGet: async (options = {}) => {
|
|
303
|
+
const localVarPath = `/me`;
|
|
304
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
305
|
+
let baseOptions;
|
|
306
|
+
if (configuration) {
|
|
307
|
+
baseOptions = configuration.baseOptions;
|
|
308
|
+
}
|
|
309
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
310
|
+
const localVarHeaderParameter = {};
|
|
311
|
+
const localVarQueryParameter = {};
|
|
312
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
313
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
314
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
315
|
+
return {
|
|
316
|
+
url: toPathString(localVarUrlObj),
|
|
317
|
+
options: localVarRequestOptions
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
var AuthApiFp = function(configuration) {
|
|
323
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
324
|
+
return {
|
|
325
|
+
/**
|
|
326
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
327
|
+
* @summary Get Me
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
331
|
+
async getMeMeGet(options) {
|
|
332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMeMeGet(options);
|
|
333
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _6 => _6.serverIndex]), () => ( 0));
|
|
334
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _7 => _7["AuthApi.getMeMeGet"], 'optionalAccess', _8 => _8[localVarOperationServerIndex], 'optionalAccess', _9 => _9.url]);
|
|
335
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
var AuthApiFactory = function(configuration, basePath, axios) {
|
|
340
|
+
const localVarFp = AuthApiFp(configuration);
|
|
341
|
+
return {
|
|
342
|
+
/**
|
|
343
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
344
|
+
* @summary Get Me
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
getMeMeGet(options) {
|
|
349
|
+
return localVarFp.getMeMeGet(options).then((request) => request(axios, basePath));
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
var AuthApi = class extends BaseAPI {
|
|
354
|
+
/**
|
|
355
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
356
|
+
* @summary Get Me
|
|
357
|
+
* @param {*} [options] Override http request option.
|
|
358
|
+
* @throws {RequiredError}
|
|
359
|
+
* @memberof AuthApi
|
|
360
|
+
*/
|
|
361
|
+
getMeMeGet(options) {
|
|
362
|
+
return AuthApiFp(this.configuration).getMeMeGet(options).then((request) => request(this.axios, this.basePath));
|
|
363
|
+
}
|
|
364
|
+
};
|
|
290
365
|
var ContactsApiAxiosParamCreator = function(configuration) {
|
|
291
366
|
return {
|
|
292
367
|
/**
|
|
@@ -894,8 +969,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
894
969
|
*/
|
|
895
970
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
896
971
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
897
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
898
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
972
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _10 => _10.serverIndex]), () => ( 0));
|
|
973
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _11 => _11["ContactsApi.addressesCreate"], 'optionalAccess', _12 => _12[localVarOperationServerIndex], 'optionalAccess', _13 => _13.url]);
|
|
899
974
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
900
975
|
},
|
|
901
976
|
/**
|
|
@@ -907,8 +982,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
907
982
|
*/
|
|
908
983
|
async addressesDelete(addressId, options) {
|
|
909
984
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
910
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
911
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
985
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _14 => _14.serverIndex]), () => ( 0));
|
|
986
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _15 => _15["ContactsApi.addressesDelete"], 'optionalAccess', _16 => _16[localVarOperationServerIndex], 'optionalAccess', _17 => _17.url]);
|
|
912
987
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
913
988
|
},
|
|
914
989
|
/**
|
|
@@ -920,8 +995,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
920
995
|
*/
|
|
921
996
|
async addressesGet(addressId, options) {
|
|
922
997
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
923
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
924
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
998
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _18 => _18.serverIndex]), () => ( 0));
|
|
999
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _19 => _19["ContactsApi.addressesGet"], 'optionalAccess', _20 => _20[localVarOperationServerIndex], 'optionalAccess', _21 => _21.url]);
|
|
925
1000
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
926
1001
|
},
|
|
927
1002
|
/**
|
|
@@ -934,8 +1009,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
934
1009
|
*/
|
|
935
1010
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
936
1011
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
937
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
938
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1012
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _22 => _22.serverIndex]), () => ( 0));
|
|
1013
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _23 => _23["ContactsApi.addressesUpdate"], 'optionalAccess', _24 => _24[localVarOperationServerIndex], 'optionalAccess', _25 => _25.url]);
|
|
939
1014
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
940
1015
|
},
|
|
941
1016
|
/**
|
|
@@ -949,8 +1024,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
949
1024
|
*/
|
|
950
1025
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
951
1026
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
952
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
953
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1027
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _26 => _26.serverIndex]), () => ( 0));
|
|
1028
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _27 => _27["ContactsApi.contactsAddListing"], 'optionalAccess', _28 => _28[localVarOperationServerIndex], 'optionalAccess', _29 => _29.url]);
|
|
954
1029
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
955
1030
|
},
|
|
956
1031
|
/**
|
|
@@ -962,8 +1037,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
962
1037
|
*/
|
|
963
1038
|
async contactsCreate(contactcreate, options) {
|
|
964
1039
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
965
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
966
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1040
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _30 => _30.serverIndex]), () => ( 0));
|
|
1041
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _31 => _31["ContactsApi.contactsCreate"], 'optionalAccess', _32 => _32[localVarOperationServerIndex], 'optionalAccess', _33 => _33.url]);
|
|
967
1042
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
968
1043
|
},
|
|
969
1044
|
/**
|
|
@@ -975,8 +1050,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
975
1050
|
*/
|
|
976
1051
|
async contactsDelete(contactId, options) {
|
|
977
1052
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
978
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
979
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1053
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _34 => _34.serverIndex]), () => ( 0));
|
|
1054
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _35 => _35["ContactsApi.contactsDelete"], 'optionalAccess', _36 => _36[localVarOperationServerIndex], 'optionalAccess', _37 => _37.url]);
|
|
980
1055
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
981
1056
|
},
|
|
982
1057
|
/**
|
|
@@ -988,8 +1063,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
988
1063
|
*/
|
|
989
1064
|
async contactsGet(contactId, options) {
|
|
990
1065
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
991
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
992
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1066
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _38 => _38.serverIndex]), () => ( 0));
|
|
1067
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _39 => _39["ContactsApi.contactsGet"], 'optionalAccess', _40 => _40[localVarOperationServerIndex], 'optionalAccess', _41 => _41.url]);
|
|
993
1068
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
994
1069
|
},
|
|
995
1070
|
/**
|
|
@@ -1006,8 +1081,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1006
1081
|
*/
|
|
1007
1082
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1008
1083
|
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',
|
|
1084
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _42 => _42.serverIndex]), () => ( 0));
|
|
1085
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _43 => _43["ContactsApi.contactsList"], 'optionalAccess', _44 => _44[localVarOperationServerIndex], 'optionalAccess', _45 => _45.url]);
|
|
1011
1086
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1012
1087
|
},
|
|
1013
1088
|
/**
|
|
@@ -1021,8 +1096,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1021
1096
|
*/
|
|
1022
1097
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
1023
1098
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
1024
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1025
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1099
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _46 => _46.serverIndex]), () => ( 0));
|
|
1100
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _47 => _47["ContactsApi.contactsRemoveListing"], 'optionalAccess', _48 => _48[localVarOperationServerIndex], 'optionalAccess', _49 => _49.url]);
|
|
1026
1101
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1027
1102
|
},
|
|
1028
1103
|
/**
|
|
@@ -1035,8 +1110,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1035
1110
|
*/
|
|
1036
1111
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
1037
1112
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
1038
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1039
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1113
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _50 => _50.serverIndex]), () => ( 0));
|
|
1114
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _51 => _51["ContactsApi.contactsUpdate"], 'optionalAccess', _52 => _52[localVarOperationServerIndex], 'optionalAccess', _53 => _53.url]);
|
|
1040
1115
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1041
1116
|
},
|
|
1042
1117
|
/**
|
|
@@ -1050,8 +1125,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1050
1125
|
*/
|
|
1051
1126
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
1052
1127
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
1053
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1054
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1128
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _54 => _54.serverIndex]), () => ( 0));
|
|
1129
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _55 => _55["ContactsApi.contactsUpdateListing"], 'optionalAccess', _56 => _56[localVarOperationServerIndex], 'optionalAccess', _57 => _57.url]);
|
|
1055
1130
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1056
1131
|
},
|
|
1057
1132
|
/**
|
|
@@ -1064,8 +1139,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1064
1139
|
*/
|
|
1065
1140
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
1066
1141
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
1067
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1068
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1142
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _58 => _58.serverIndex]), () => ( 0));
|
|
1143
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _59 => _59["ContactsApi.emailsCreate"], 'optionalAccess', _60 => _60[localVarOperationServerIndex], 'optionalAccess', _61 => _61.url]);
|
|
1069
1144
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1070
1145
|
},
|
|
1071
1146
|
/**
|
|
@@ -1077,8 +1152,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1077
1152
|
*/
|
|
1078
1153
|
async emailsDelete(emailId, options) {
|
|
1079
1154
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
1080
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1081
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1155
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _62 => _62.serverIndex]), () => ( 0));
|
|
1156
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _63 => _63["ContactsApi.emailsDelete"], 'optionalAccess', _64 => _64[localVarOperationServerIndex], 'optionalAccess', _65 => _65.url]);
|
|
1082
1157
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1083
1158
|
},
|
|
1084
1159
|
/**
|
|
@@ -1090,8 +1165,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1090
1165
|
*/
|
|
1091
1166
|
async emailsGet(emailId, options) {
|
|
1092
1167
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
1093
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1094
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1168
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _66 => _66.serverIndex]), () => ( 0));
|
|
1169
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _67 => _67["ContactsApi.emailsGet"], 'optionalAccess', _68 => _68[localVarOperationServerIndex], 'optionalAccess', _69 => _69.url]);
|
|
1095
1170
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1096
1171
|
},
|
|
1097
1172
|
/**
|
|
@@ -1104,8 +1179,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1104
1179
|
*/
|
|
1105
1180
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
1106
1181
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
1107
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1108
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1182
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _70 => _70.serverIndex]), () => ( 0));
|
|
1183
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _71 => _71["ContactsApi.emailsUpdate"], 'optionalAccess', _72 => _72[localVarOperationServerIndex], 'optionalAccess', _73 => _73.url]);
|
|
1109
1184
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1110
1185
|
},
|
|
1111
1186
|
/**
|
|
@@ -1118,8 +1193,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1118
1193
|
*/
|
|
1119
1194
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
1120
1195
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
1121
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1122
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1196
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _74 => _74.serverIndex]), () => ( 0));
|
|
1197
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _75 => _75["ContactsApi.phonesCreate"], 'optionalAccess', _76 => _76[localVarOperationServerIndex], 'optionalAccess', _77 => _77.url]);
|
|
1123
1198
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1124
1199
|
},
|
|
1125
1200
|
/**
|
|
@@ -1131,8 +1206,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1131
1206
|
*/
|
|
1132
1207
|
async phonesDelete(phoneId, options) {
|
|
1133
1208
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
1134
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1135
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1209
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _78 => _78.serverIndex]), () => ( 0));
|
|
1210
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _79 => _79["ContactsApi.phonesDelete"], 'optionalAccess', _80 => _80[localVarOperationServerIndex], 'optionalAccess', _81 => _81.url]);
|
|
1136
1211
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1137
1212
|
},
|
|
1138
1213
|
/**
|
|
@@ -1144,8 +1219,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1144
1219
|
*/
|
|
1145
1220
|
async phonesGet(phoneId, options) {
|
|
1146
1221
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
1147
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1148
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1222
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _82 => _82.serverIndex]), () => ( 0));
|
|
1223
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _83 => _83["ContactsApi.phonesGet"], 'optionalAccess', _84 => _84[localVarOperationServerIndex], 'optionalAccess', _85 => _85.url]);
|
|
1149
1224
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1150
1225
|
},
|
|
1151
1226
|
/**
|
|
@@ -1158,8 +1233,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1158
1233
|
*/
|
|
1159
1234
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
1160
1235
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
1161
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1162
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1236
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _86 => _86.serverIndex]), () => ( 0));
|
|
1237
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _87 => _87["ContactsApi.phonesUpdate"], 'optionalAccess', _88 => _88[localVarOperationServerIndex], 'optionalAccess', _89 => _89.url]);
|
|
1163
1238
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1164
1239
|
}
|
|
1165
1240
|
};
|
|
@@ -1711,6 +1786,32 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1711
1786
|
options: localVarRequestOptions
|
|
1712
1787
|
};
|
|
1713
1788
|
},
|
|
1789
|
+
/**
|
|
1790
|
+
*
|
|
1791
|
+
* @summary Conversations List Suggestions
|
|
1792
|
+
* @param {string} conversationId
|
|
1793
|
+
* @param {*} [options] Override http request option.
|
|
1794
|
+
* @throws {RequiredError}
|
|
1795
|
+
*/
|
|
1796
|
+
conversationsListSuggestions: async (conversationId, options = {}) => {
|
|
1797
|
+
assertParamExists("conversationsListSuggestions", "conversationId", conversationId);
|
|
1798
|
+
const localVarPath = `/conversations/{conversationId}/suggestions`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
1799
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1800
|
+
let baseOptions;
|
|
1801
|
+
if (configuration) {
|
|
1802
|
+
baseOptions = configuration.baseOptions;
|
|
1803
|
+
}
|
|
1804
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1805
|
+
const localVarHeaderParameter = {};
|
|
1806
|
+
const localVarQueryParameter = {};
|
|
1807
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1808
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1809
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1810
|
+
return {
|
|
1811
|
+
url: toPathString(localVarUrlObj),
|
|
1812
|
+
options: localVarRequestOptions
|
|
1813
|
+
};
|
|
1814
|
+
},
|
|
1714
1815
|
/**
|
|
1715
1816
|
* Conversations Update
|
|
1716
1817
|
* @summary Conversations Update
|
|
@@ -1745,13 +1846,13 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1745
1846
|
* Messages Create
|
|
1746
1847
|
* @summary Messages Create
|
|
1747
1848
|
* @param {string} conversationId
|
|
1748
|
-
* @param {
|
|
1849
|
+
* @param {Messagecreate} messagecreate
|
|
1749
1850
|
* @param {*} [options] Override http request option.
|
|
1750
1851
|
* @throws {RequiredError}
|
|
1751
1852
|
*/
|
|
1752
|
-
messagesCreate: async (conversationId,
|
|
1853
|
+
messagesCreate: async (conversationId, messagecreate, options = {}) => {
|
|
1753
1854
|
assertParamExists("messagesCreate", "conversationId", conversationId);
|
|
1754
|
-
assertParamExists("messagesCreate", "
|
|
1855
|
+
assertParamExists("messagesCreate", "messagecreate", messagecreate);
|
|
1755
1856
|
const localVarPath = `/conversations/{conversationId}/messages`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
1756
1857
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1757
1858
|
let baseOptions;
|
|
@@ -1765,7 +1866,7 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1765
1866
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1766
1867
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1767
1868
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1768
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1869
|
+
localVarRequestOptions.data = serializeDataIfNeeded(messagecreate, localVarRequestOptions, configuration);
|
|
1769
1870
|
return {
|
|
1770
1871
|
url: toPathString(localVarUrlObj),
|
|
1771
1872
|
options: localVarRequestOptions
|
|
@@ -1879,8 +1980,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1879
1980
|
*/
|
|
1880
1981
|
async conversationsGet(conversationId, options) {
|
|
1881
1982
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
1882
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1883
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1983
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _90 => _90.serverIndex]), () => ( 0));
|
|
1984
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _91 => _91["ConversationsApi.conversationsGet"], 'optionalAccess', _92 => _92[localVarOperationServerIndex], 'optionalAccess', _93 => _93.url]);
|
|
1884
1985
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1885
1986
|
},
|
|
1886
1987
|
/**
|
|
@@ -1899,8 +2000,21 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1899
2000
|
*/
|
|
1900
2001
|
async conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
1901
2002
|
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',
|
|
2003
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _94 => _94.serverIndex]), () => ( 0));
|
|
2004
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _95 => _95["ConversationsApi.conversationsList"], 'optionalAccess', _96 => _96[localVarOperationServerIndex], 'optionalAccess', _97 => _97.url]);
|
|
2005
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2006
|
+
},
|
|
2007
|
+
/**
|
|
2008
|
+
*
|
|
2009
|
+
* @summary Conversations List Suggestions
|
|
2010
|
+
* @param {string} conversationId
|
|
2011
|
+
* @param {*} [options] Override http request option.
|
|
2012
|
+
* @throws {RequiredError}
|
|
2013
|
+
*/
|
|
2014
|
+
async conversationsListSuggestions(conversationId, options) {
|
|
2015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsListSuggestions(conversationId, options);
|
|
2016
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
2017
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["ConversationsApi.conversationsListSuggestions"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
1904
2018
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1905
2019
|
},
|
|
1906
2020
|
/**
|
|
@@ -1913,22 +2027,22 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1913
2027
|
*/
|
|
1914
2028
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
1915
2029
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
1916
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1917
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2030
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _102 => _102.serverIndex]), () => ( 0));
|
|
2031
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _103 => _103["ConversationsApi.conversationsUpdate"], 'optionalAccess', _104 => _104[localVarOperationServerIndex], 'optionalAccess', _105 => _105.url]);
|
|
1918
2032
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1919
2033
|
},
|
|
1920
2034
|
/**
|
|
1921
2035
|
* Messages Create
|
|
1922
2036
|
* @summary Messages Create
|
|
1923
2037
|
* @param {string} conversationId
|
|
1924
|
-
* @param {
|
|
2038
|
+
* @param {Messagecreate} messagecreate
|
|
1925
2039
|
* @param {*} [options] Override http request option.
|
|
1926
2040
|
* @throws {RequiredError}
|
|
1927
2041
|
*/
|
|
1928
|
-
async messagesCreate(conversationId,
|
|
1929
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId,
|
|
1930
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1931
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2042
|
+
async messagesCreate(conversationId, messagecreate, options) {
|
|
2043
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
2044
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _106 => _106.serverIndex]), () => ( 0));
|
|
2045
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _107 => _107["ConversationsApi.messagesCreate"], 'optionalAccess', _108 => _108[localVarOperationServerIndex], 'optionalAccess', _109 => _109.url]);
|
|
1932
2046
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1933
2047
|
},
|
|
1934
2048
|
/**
|
|
@@ -1940,8 +2054,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1940
2054
|
*/
|
|
1941
2055
|
async messagesGet(messageId, options) {
|
|
1942
2056
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
1943
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1944
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2057
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _110 => _110.serverIndex]), () => ( 0));
|
|
2058
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _111 => _111["ConversationsApi.messagesGet"], 'optionalAccess', _112 => _112[localVarOperationServerIndex], 'optionalAccess', _113 => _113.url]);
|
|
1945
2059
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1946
2060
|
},
|
|
1947
2061
|
/**
|
|
@@ -1963,8 +2077,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1963
2077
|
*/
|
|
1964
2078
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1965
2079
|
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',
|
|
2080
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2081
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["ConversationsApi.messagesList"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
1968
2082
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1969
2083
|
}
|
|
1970
2084
|
};
|
|
@@ -1999,6 +2113,16 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1999
2113
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
2000
2114
|
return localVarFp.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(axios, basePath));
|
|
2001
2115
|
},
|
|
2116
|
+
/**
|
|
2117
|
+
*
|
|
2118
|
+
* @summary Conversations List Suggestions
|
|
2119
|
+
* @param {string} conversationId
|
|
2120
|
+
* @param {*} [options] Override http request option.
|
|
2121
|
+
* @throws {RequiredError}
|
|
2122
|
+
*/
|
|
2123
|
+
conversationsListSuggestions(conversationId, options) {
|
|
2124
|
+
return localVarFp.conversationsListSuggestions(conversationId, options).then((request) => request(axios, basePath));
|
|
2125
|
+
},
|
|
2002
2126
|
/**
|
|
2003
2127
|
* Conversations Update
|
|
2004
2128
|
* @summary Conversations Update
|
|
@@ -2014,12 +2138,12 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2014
2138
|
* Messages Create
|
|
2015
2139
|
* @summary Messages Create
|
|
2016
2140
|
* @param {string} conversationId
|
|
2017
|
-
* @param {
|
|
2141
|
+
* @param {Messagecreate} messagecreate
|
|
2018
2142
|
* @param {*} [options] Override http request option.
|
|
2019
2143
|
* @throws {RequiredError}
|
|
2020
2144
|
*/
|
|
2021
|
-
messagesCreate(conversationId,
|
|
2022
|
-
return localVarFp.messagesCreate(conversationId,
|
|
2145
|
+
messagesCreate(conversationId, messagecreate, options) {
|
|
2146
|
+
return localVarFp.messagesCreate(conversationId, messagecreate, options).then((request) => request(axios, basePath));
|
|
2023
2147
|
},
|
|
2024
2148
|
/**
|
|
2025
2149
|
* Messages Get
|
|
@@ -2083,6 +2207,17 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2083
2207
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
2084
2208
|
return ConversationsApiFp(this.configuration).conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(this.axios, this.basePath));
|
|
2085
2209
|
}
|
|
2210
|
+
/**
|
|
2211
|
+
*
|
|
2212
|
+
* @summary Conversations List Suggestions
|
|
2213
|
+
* @param {string} conversationId
|
|
2214
|
+
* @param {*} [options] Override http request option.
|
|
2215
|
+
* @throws {RequiredError}
|
|
2216
|
+
* @memberof ConversationsApi
|
|
2217
|
+
*/
|
|
2218
|
+
conversationsListSuggestions(conversationId, options) {
|
|
2219
|
+
return ConversationsApiFp(this.configuration).conversationsListSuggestions(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
2220
|
+
}
|
|
2086
2221
|
/**
|
|
2087
2222
|
* Conversations Update
|
|
2088
2223
|
* @summary Conversations Update
|
|
@@ -2099,13 +2234,13 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2099
2234
|
* Messages Create
|
|
2100
2235
|
* @summary Messages Create
|
|
2101
2236
|
* @param {string} conversationId
|
|
2102
|
-
* @param {
|
|
2237
|
+
* @param {Messagecreate} messagecreate
|
|
2103
2238
|
* @param {*} [options] Override http request option.
|
|
2104
2239
|
* @throws {RequiredError}
|
|
2105
2240
|
* @memberof ConversationsApi
|
|
2106
2241
|
*/
|
|
2107
|
-
messagesCreate(conversationId,
|
|
2108
|
-
return ConversationsApiFp(this.configuration).messagesCreate(conversationId,
|
|
2242
|
+
messagesCreate(conversationId, messagecreate, options) {
|
|
2243
|
+
return ConversationsApiFp(this.configuration).messagesCreate(conversationId, messagecreate, options).then((request) => request(this.axios, this.basePath));
|
|
2109
2244
|
}
|
|
2110
2245
|
/**
|
|
2111
2246
|
* Messages Get
|
|
@@ -2185,8 +2320,8 @@ var HostawayApiFp = function(configuration) {
|
|
|
2185
2320
|
*/
|
|
2186
2321
|
async webhook(hostawayWebhook, options) {
|
|
2187
2322
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
2188
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2189
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2323
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2324
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["HostawayApi.webhook"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2190
2325
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2191
2326
|
}
|
|
2192
2327
|
};
|
|
@@ -2258,8 +2393,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2258
2393
|
*/
|
|
2259
2394
|
async inboxesList(options) {
|
|
2260
2395
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
2261
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2262
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2396
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2397
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["InboxesApi.inboxesList"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2263
2398
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2264
2399
|
}
|
|
2265
2400
|
};
|
|
@@ -2334,8 +2469,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
2334
2469
|
*/
|
|
2335
2470
|
async inquiriesList(contactId, options) {
|
|
2336
2471
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2337
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2338
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2472
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _126 => _126.serverIndex]), () => ( 0));
|
|
2473
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _127 => _127["InquiriesApi.inquiriesList"], 'optionalAccess', _128 => _128[localVarOperationServerIndex], 'optionalAccess', _129 => _129.url]);
|
|
2339
2474
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2340
2475
|
}
|
|
2341
2476
|
};
|
|
@@ -2462,8 +2597,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2462
2597
|
*/
|
|
2463
2598
|
async listingsGet(listingId, options) {
|
|
2464
2599
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
2465
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2466
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2600
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _130 => _130.serverIndex]), () => ( 0));
|
|
2601
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _131 => _131["ListingsApi.listingsGet"], 'optionalAccess', _132 => _132[localVarOperationServerIndex], 'optionalAccess', _133 => _133.url]);
|
|
2467
2602
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2468
2603
|
},
|
|
2469
2604
|
/**
|
|
@@ -2481,8 +2616,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2481
2616
|
*/
|
|
2482
2617
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2483
2618
|
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',
|
|
2619
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2620
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["ListingsApi.listingsList"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
2486
2621
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2487
2622
|
}
|
|
2488
2623
|
};
|
|
@@ -2587,8 +2722,8 @@ var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
|
2587
2722
|
*/
|
|
2588
2723
|
async managedPhoneNumbersList(options) {
|
|
2589
2724
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2590
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2591
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2725
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2726
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["ManagedPhoneNumbersApi.managedPhoneNumbersList"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
2592
2727
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2593
2728
|
}
|
|
2594
2729
|
};
|
|
@@ -2743,8 +2878,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2743
2878
|
*/
|
|
2744
2879
|
async providersCreate(aPIProviderCreate, options) {
|
|
2745
2880
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
2746
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2747
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2881
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2882
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["ProvidersApi.providersCreate"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2748
2883
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2749
2884
|
},
|
|
2750
2885
|
/**
|
|
@@ -2756,8 +2891,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2756
2891
|
*/
|
|
2757
2892
|
async providersGet(providerId, options) {
|
|
2758
2893
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
2759
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2760
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2894
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2895
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["ProvidersApi.providersGet"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2761
2896
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2762
2897
|
},
|
|
2763
2898
|
/**
|
|
@@ -2768,8 +2903,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2768
2903
|
*/
|
|
2769
2904
|
async providersList(options) {
|
|
2770
2905
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
2771
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2772
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2906
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
2907
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["ProvidersApi.providersList"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
2773
2908
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2774
2909
|
},
|
|
2775
2910
|
/**
|
|
@@ -2782,8 +2917,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2782
2917
|
*/
|
|
2783
2918
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
2784
2919
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
2785
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2786
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2920
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
2921
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["ProvidersApi.providersUpdate"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
2787
2922
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2788
2923
|
}
|
|
2789
2924
|
};
|
|
@@ -2973,8 +3108,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
2973
3108
|
*/
|
|
2974
3109
|
async reservationsGet(reservationId, options) {
|
|
2975
3110
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
2976
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2977
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3111
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
3112
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["ReservationsApi.reservationsGet"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
2978
3113
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2979
3114
|
},
|
|
2980
3115
|
/**
|
|
@@ -2992,8 +3127,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
2992
3127
|
*/
|
|
2993
3128
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2994
3129
|
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',
|
|
3130
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
3131
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["ReservationsApi.reservationsList"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
2997
3132
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2998
3133
|
}
|
|
2999
3134
|
};
|
|
@@ -3059,146 +3194,6 @@ var ReservationsApi = class extends BaseAPI {
|
|
|
3059
3194
|
return ReservationsApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
3060
3195
|
}
|
|
3061
3196
|
};
|
|
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
3197
|
var UnboundApiAxiosParamCreator = function(configuration) {
|
|
3203
3198
|
return {
|
|
3204
3199
|
/**
|
|
@@ -3673,6 +3668,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3673
3668
|
options: localVarRequestOptions
|
|
3674
3669
|
};
|
|
3675
3670
|
},
|
|
3671
|
+
/**
|
|
3672
|
+
*
|
|
3673
|
+
* @summary Conversations List Suggestions
|
|
3674
|
+
* @param {string} conversationId
|
|
3675
|
+
* @param {*} [options] Override http request option.
|
|
3676
|
+
* @throws {RequiredError}
|
|
3677
|
+
*/
|
|
3678
|
+
conversationsListSuggestions: async (conversationId, options = {}) => {
|
|
3679
|
+
assertParamExists("conversationsListSuggestions", "conversationId", conversationId);
|
|
3680
|
+
const localVarPath = `/conversations/{conversationId}/suggestions`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
3681
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3682
|
+
let baseOptions;
|
|
3683
|
+
if (configuration) {
|
|
3684
|
+
baseOptions = configuration.baseOptions;
|
|
3685
|
+
}
|
|
3686
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3687
|
+
const localVarHeaderParameter = {};
|
|
3688
|
+
const localVarQueryParameter = {};
|
|
3689
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3690
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3691
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3692
|
+
return {
|
|
3693
|
+
url: toPathString(localVarUrlObj),
|
|
3694
|
+
options: localVarRequestOptions
|
|
3695
|
+
};
|
|
3696
|
+
},
|
|
3676
3697
|
/**
|
|
3677
3698
|
* Conversations Update
|
|
3678
3699
|
* @summary Conversations Update
|
|
@@ -3997,13 +4018,13 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3997
4018
|
* Messages Create
|
|
3998
4019
|
* @summary Messages Create
|
|
3999
4020
|
* @param {string} conversationId
|
|
4000
|
-
* @param {
|
|
4021
|
+
* @param {Messagecreate} messagecreate
|
|
4001
4022
|
* @param {*} [options] Override http request option.
|
|
4002
4023
|
* @throws {RequiredError}
|
|
4003
4024
|
*/
|
|
4004
|
-
messagesCreate: async (conversationId,
|
|
4025
|
+
messagesCreate: async (conversationId, messagecreate, options = {}) => {
|
|
4005
4026
|
assertParamExists("messagesCreate", "conversationId", conversationId);
|
|
4006
|
-
assertParamExists("messagesCreate", "
|
|
4027
|
+
assertParamExists("messagesCreate", "messagecreate", messagecreate);
|
|
4007
4028
|
const localVarPath = `/conversations/{conversationId}/messages`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
4008
4029
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4009
4030
|
let baseOptions;
|
|
@@ -4017,7 +4038,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4017
4038
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4018
4039
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4019
4040
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4020
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4041
|
+
localVarRequestOptions.data = serializeDataIfNeeded(messagecreate, localVarRequestOptions, configuration);
|
|
4021
4042
|
return {
|
|
4022
4043
|
url: toPathString(localVarUrlObj),
|
|
4023
4044
|
options: localVarRequestOptions
|
|
@@ -4415,62 +4436,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4415
4436
|
options: localVarRequestOptions
|
|
4416
4437
|
};
|
|
4417
4438
|
},
|
|
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
4439
|
/**
|
|
4475
4440
|
*
|
|
4476
4441
|
* @summary Unifiedwebhook
|
|
@@ -4720,6 +4685,19 @@ var UnboundApiFp = function(configuration) {
|
|
|
4720
4685
|
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.conversationsList"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
4721
4686
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4722
4687
|
},
|
|
4688
|
+
/**
|
|
4689
|
+
*
|
|
4690
|
+
* @summary Conversations List Suggestions
|
|
4691
|
+
* @param {string} conversationId
|
|
4692
|
+
* @param {*} [options] Override http request option.
|
|
4693
|
+
* @throws {RequiredError}
|
|
4694
|
+
*/
|
|
4695
|
+
async conversationsListSuggestions(conversationId, options) {
|
|
4696
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsListSuggestions(conversationId, options);
|
|
4697
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4698
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.conversationsListSuggestions"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
4699
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4700
|
+
},
|
|
4723
4701
|
/**
|
|
4724
4702
|
* Conversations Update
|
|
4725
4703
|
* @summary Conversations Update
|
|
@@ -4730,8 +4708,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4730
4708
|
*/
|
|
4731
4709
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
4732
4710
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
4733
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4734
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4711
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4712
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["UnboundApi.conversationsUpdate"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4735
4713
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4736
4714
|
},
|
|
4737
4715
|
/**
|
|
@@ -4744,8 +4722,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4744
4722
|
*/
|
|
4745
4723
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4746
4724
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
4747
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4748
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4725
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4726
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.emailsCreate"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4749
4727
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4750
4728
|
},
|
|
4751
4729
|
/**
|
|
@@ -4757,8 +4735,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4757
4735
|
*/
|
|
4758
4736
|
async emailsDelete(emailId, options) {
|
|
4759
4737
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4760
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4761
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4738
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4739
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.emailsDelete"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4762
4740
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4763
4741
|
},
|
|
4764
4742
|
/**
|
|
@@ -4770,8 +4748,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4770
4748
|
*/
|
|
4771
4749
|
async emailsGet(emailId, options) {
|
|
4772
4750
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
4773
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4774
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4751
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4752
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.emailsGet"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4775
4753
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4776
4754
|
},
|
|
4777
4755
|
/**
|
|
@@ -4784,8 +4762,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4784
4762
|
*/
|
|
4785
4763
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
4786
4764
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
4787
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4788
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4765
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4766
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.emailsUpdate"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4789
4767
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4790
4768
|
},
|
|
4791
4769
|
/**
|
|
@@ -4796,8 +4774,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4796
4774
|
*/
|
|
4797
4775
|
async getMeMeGet(options) {
|
|
4798
4776
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMeMeGet(options);
|
|
4799
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4800
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4777
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4778
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.getMeMeGet"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4801
4779
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4802
4780
|
},
|
|
4803
4781
|
/**
|
|
@@ -4808,8 +4786,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4808
4786
|
*/
|
|
4809
4787
|
async inboxesList(options) {
|
|
4810
4788
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
4811
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4812
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4789
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4790
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.inboxesList"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4813
4791
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4814
4792
|
},
|
|
4815
4793
|
/**
|
|
@@ -4821,8 +4799,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4821
4799
|
*/
|
|
4822
4800
|
async inquiriesList(contactId, options) {
|
|
4823
4801
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4824
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4825
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4802
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4803
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.inquiriesList"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4826
4804
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4827
4805
|
},
|
|
4828
4806
|
/**
|
|
@@ -4834,8 +4812,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4834
4812
|
*/
|
|
4835
4813
|
async listingsGet(listingId, options) {
|
|
4836
4814
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4837
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4838
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4815
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4816
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.listingsGet"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4839
4817
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4840
4818
|
},
|
|
4841
4819
|
/**
|
|
@@ -4853,8 +4831,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4853
4831
|
*/
|
|
4854
4832
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4855
4833
|
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',
|
|
4834
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4835
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.listingsList"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4858
4836
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4859
4837
|
},
|
|
4860
4838
|
/**
|
|
@@ -4865,22 +4843,22 @@ var UnboundApiFp = function(configuration) {
|
|
|
4865
4843
|
*/
|
|
4866
4844
|
async managedPhoneNumbersList(options) {
|
|
4867
4845
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
4868
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4869
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4846
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
4847
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4870
4848
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4871
4849
|
},
|
|
4872
4850
|
/**
|
|
4873
4851
|
* Messages Create
|
|
4874
4852
|
* @summary Messages Create
|
|
4875
4853
|
* @param {string} conversationId
|
|
4876
|
-
* @param {
|
|
4854
|
+
* @param {Messagecreate} messagecreate
|
|
4877
4855
|
* @param {*} [options] Override http request option.
|
|
4878
4856
|
* @throws {RequiredError}
|
|
4879
4857
|
*/
|
|
4880
|
-
async messagesCreate(conversationId,
|
|
4881
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId,
|
|
4882
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4883
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4858
|
+
async messagesCreate(conversationId, messagecreate, options) {
|
|
4859
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
4860
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
4861
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.messagesCreate"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4884
4862
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4885
4863
|
},
|
|
4886
4864
|
/**
|
|
@@ -4892,8 +4870,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4892
4870
|
*/
|
|
4893
4871
|
async messagesGet(messageId, options) {
|
|
4894
4872
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
4895
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4896
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4873
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
4874
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.messagesGet"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4897
4875
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4898
4876
|
},
|
|
4899
4877
|
/**
|
|
@@ -4915,8 +4893,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4915
4893
|
*/
|
|
4916
4894
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4917
4895
|
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',
|
|
4896
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
4897
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.messagesList"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4920
4898
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4921
4899
|
},
|
|
4922
4900
|
/**
|
|
@@ -4929,8 +4907,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4929
4907
|
*/
|
|
4930
4908
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
4931
4909
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
4932
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4933
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4910
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
4911
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.phonesCreate"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4934
4912
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4935
4913
|
},
|
|
4936
4914
|
/**
|
|
@@ -4942,8 +4920,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4942
4920
|
*/
|
|
4943
4921
|
async phonesDelete(phoneId, options) {
|
|
4944
4922
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
4945
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4946
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4923
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
4924
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.phonesDelete"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4947
4925
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4948
4926
|
},
|
|
4949
4927
|
/**
|
|
@@ -4955,8 +4933,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4955
4933
|
*/
|
|
4956
4934
|
async phonesGet(phoneId, options) {
|
|
4957
4935
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
4958
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4959
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4936
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
4937
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.phonesGet"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4960
4938
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4961
4939
|
},
|
|
4962
4940
|
/**
|
|
@@ -4969,8 +4947,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4969
4947
|
*/
|
|
4970
4948
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
4971
4949
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
4972
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4973
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4950
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
4951
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.phonesUpdate"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
4974
4952
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4975
4953
|
},
|
|
4976
4954
|
/**
|
|
@@ -4982,8 +4960,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4982
4960
|
*/
|
|
4983
4961
|
async providersCreate(aPIProviderCreate, options) {
|
|
4984
4962
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
4985
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4986
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4963
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
4964
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.providersCreate"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
4987
4965
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4988
4966
|
},
|
|
4989
4967
|
/**
|
|
@@ -4995,8 +4973,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4995
4973
|
*/
|
|
4996
4974
|
async providersGet(providerId, options) {
|
|
4997
4975
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
4998
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4999
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4976
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
4977
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.providersGet"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
5000
4978
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5001
4979
|
},
|
|
5002
4980
|
/**
|
|
@@ -5007,8 +4985,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5007
4985
|
*/
|
|
5008
4986
|
async providersList(options) {
|
|
5009
4987
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
5010
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5011
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4988
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _310 => _310.serverIndex]), () => ( 0));
|
|
4989
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _311 => _311["UnboundApi.providersList"], 'optionalAccess', _312 => _312[localVarOperationServerIndex], 'optionalAccess', _313 => _313.url]);
|
|
5012
4990
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5013
4991
|
},
|
|
5014
4992
|
/**
|
|
@@ -5021,8 +4999,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5021
4999
|
*/
|
|
5022
5000
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
5023
5001
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
5024
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5025
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5002
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _314 => _314.serverIndex]), () => ( 0));
|
|
5003
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _315 => _315["UnboundApi.providersUpdate"], 'optionalAccess', _316 => _316[localVarOperationServerIndex], 'optionalAccess', _317 => _317.url]);
|
|
5026
5004
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5027
5005
|
},
|
|
5028
5006
|
/**
|
|
@@ -5034,8 +5012,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5034
5012
|
*/
|
|
5035
5013
|
async reservationsGet(reservationId, options) {
|
|
5036
5014
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
5037
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5038
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5015
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _318 => _318.serverIndex]), () => ( 0));
|
|
5016
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _319 => _319["UnboundApi.reservationsGet"], 'optionalAccess', _320 => _320[localVarOperationServerIndex], 'optionalAccess', _321 => _321.url]);
|
|
5039
5017
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5040
5018
|
},
|
|
5041
5019
|
/**
|
|
@@ -5053,34 +5031,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5053
5031
|
*/
|
|
5054
5032
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5055
5033
|
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
5034
|
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]);
|
|
5035
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _323 => _323["UnboundApi.reservationsList"], 'optionalAccess', _324 => _324[localVarOperationServerIndex], 'optionalAccess', _325 => _325.url]);
|
|
5084
5036
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5085
5037
|
},
|
|
5086
5038
|
/**
|
|
@@ -5092,8 +5044,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5092
5044
|
*/
|
|
5093
5045
|
async webhook(hostawayWebhook, options) {
|
|
5094
5046
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
5095
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5096
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5047
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _326 => _326.serverIndex]), () => ( 0));
|
|
5048
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _327 => _327["UnboundApi.webhook"], 'optionalAccess', _328 => _328[localVarOperationServerIndex], 'optionalAccess', _329 => _329.url]);
|
|
5097
5049
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5098
5050
|
}
|
|
5099
5051
|
};
|
|
@@ -5271,6 +5223,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5271
5223
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
5272
5224
|
return localVarFp.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(axios, basePath));
|
|
5273
5225
|
},
|
|
5226
|
+
/**
|
|
5227
|
+
*
|
|
5228
|
+
* @summary Conversations List Suggestions
|
|
5229
|
+
* @param {string} conversationId
|
|
5230
|
+
* @param {*} [options] Override http request option.
|
|
5231
|
+
* @throws {RequiredError}
|
|
5232
|
+
*/
|
|
5233
|
+
conversationsListSuggestions(conversationId, options) {
|
|
5234
|
+
return localVarFp.conversationsListSuggestions(conversationId, options).then((request) => request(axios, basePath));
|
|
5235
|
+
},
|
|
5274
5236
|
/**
|
|
5275
5237
|
* Conversations Update
|
|
5276
5238
|
* @summary Conversations Update
|
|
@@ -5391,12 +5353,12 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5391
5353
|
* Messages Create
|
|
5392
5354
|
* @summary Messages Create
|
|
5393
5355
|
* @param {string} conversationId
|
|
5394
|
-
* @param {
|
|
5356
|
+
* @param {Messagecreate} messagecreate
|
|
5395
5357
|
* @param {*} [options] Override http request option.
|
|
5396
5358
|
* @throws {RequiredError}
|
|
5397
5359
|
*/
|
|
5398
|
-
messagesCreate(conversationId,
|
|
5399
|
-
return localVarFp.messagesCreate(conversationId,
|
|
5360
|
+
messagesCreate(conversationId, messagecreate, options) {
|
|
5361
|
+
return localVarFp.messagesCreate(conversationId, messagecreate, options).then((request) => request(axios, basePath));
|
|
5400
5362
|
},
|
|
5401
5363
|
/**
|
|
5402
5364
|
* Messages Get
|
|
@@ -5536,26 +5498,6 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5536
5498
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5537
5499
|
return localVarFp.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
5538
5500
|
},
|
|
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
5501
|
/**
|
|
5560
5502
|
*
|
|
5561
5503
|
* @summary Unifiedwebhook
|
|
@@ -5754,6 +5696,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5754
5696
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
5755
5697
|
return UnboundApiFp(this.configuration).conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(this.axios, this.basePath));
|
|
5756
5698
|
}
|
|
5699
|
+
/**
|
|
5700
|
+
*
|
|
5701
|
+
* @summary Conversations List Suggestions
|
|
5702
|
+
* @param {string} conversationId
|
|
5703
|
+
* @param {*} [options] Override http request option.
|
|
5704
|
+
* @throws {RequiredError}
|
|
5705
|
+
* @memberof UnboundApi
|
|
5706
|
+
*/
|
|
5707
|
+
conversationsListSuggestions(conversationId, options) {
|
|
5708
|
+
return UnboundApiFp(this.configuration).conversationsListSuggestions(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
5709
|
+
}
|
|
5757
5710
|
/**
|
|
5758
5711
|
* Conversations Update
|
|
5759
5712
|
* @summary Conversations Update
|
|
@@ -5885,13 +5838,13 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5885
5838
|
* Messages Create
|
|
5886
5839
|
* @summary Messages Create
|
|
5887
5840
|
* @param {string} conversationId
|
|
5888
|
-
* @param {
|
|
5841
|
+
* @param {Messagecreate} messagecreate
|
|
5889
5842
|
* @param {*} [options] Override http request option.
|
|
5890
5843
|
* @throws {RequiredError}
|
|
5891
5844
|
* @memberof UnboundApi
|
|
5892
5845
|
*/
|
|
5893
|
-
messagesCreate(conversationId,
|
|
5894
|
-
return UnboundApiFp(this.configuration).messagesCreate(conversationId,
|
|
5846
|
+
messagesCreate(conversationId, messagecreate, options) {
|
|
5847
|
+
return UnboundApiFp(this.configuration).messagesCreate(conversationId, messagecreate, options).then((request) => request(this.axios, this.basePath));
|
|
5895
5848
|
}
|
|
5896
5849
|
/**
|
|
5897
5850
|
* Messages Get
|
|
@@ -6043,28 +5996,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6043
5996
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
6044
5997
|
return UnboundApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
6045
5998
|
}
|
|
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
5999
|
/**
|
|
6069
6000
|
*
|
|
6070
6001
|
* @summary Unifiedwebhook
|
|
@@ -6077,77 +6008,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6077
6008
|
return UnboundApiFp(this.configuration).webhook(hostawayWebhook, options).then((request) => request(this.axios, this.basePath));
|
|
6078
6009
|
}
|
|
6079
6010
|
};
|
|
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
6011
|
|
|
6152
6012
|
// src/configuration.ts
|
|
6153
6013
|
var Configuration = class {
|
|
@@ -6217,7 +6077,7 @@ var Configuration = class {
|
|
|
6217
6077
|
this.baseOptions = {
|
|
6218
6078
|
...param.baseOptions,
|
|
6219
6079
|
headers: {
|
|
6220
|
-
..._optionalChain([param, 'access',
|
|
6080
|
+
..._optionalChain([param, 'access', _330 => _330.baseOptions, 'optionalAccess', _331 => _331.headers])
|
|
6221
6081
|
}
|
|
6222
6082
|
};
|
|
6223
6083
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -6322,8 +6182,5 @@ var Configuration = class {
|
|
|
6322
6182
|
|
|
6323
6183
|
|
|
6324
6184
|
|
|
6325
|
-
|
|
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;
|
|
6185
|
+
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.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
6186
|
//# sourceMappingURL=index.js.map
|