@ember-home/unbound-ts-client 0.0.28 → 0.0.29
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 +167 -574
- package/dist/index.d.ts +167 -574
- package/dist/index.js +275 -1157
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +45 -927
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -110,6 +110,23 @@ var PaginationDirection = {
|
|
|
110
110
|
var ProviderMessageApiConversationTypeEnum = {
|
|
111
111
|
Provider: "PROVIDER"
|
|
112
112
|
};
|
|
113
|
+
var ReservationChannelTypes = {
|
|
114
|
+
Airbnb: "AIRBNB",
|
|
115
|
+
Vrbo: "VRBO",
|
|
116
|
+
BookingCom: "BOOKING_COM",
|
|
117
|
+
Expedia: "EXPEDIA",
|
|
118
|
+
HomeawayIcal: "HOMEAWAY_ICAL",
|
|
119
|
+
VrboIcal: "VRBO_ICAL",
|
|
120
|
+
HostawayDirect: "HOSTAWAY_DIRECT",
|
|
121
|
+
HostawayBookingEngine: "HOSTAWAY_BOOKING_ENGINE",
|
|
122
|
+
CustomIcal: "CUSTOM_ICAL",
|
|
123
|
+
TripadvisorIcal: "TRIPADVISOR_ICAL",
|
|
124
|
+
Wordpress: "WORDPRESS",
|
|
125
|
+
Marriott: "MARRIOTT",
|
|
126
|
+
Partner: "PARTNER",
|
|
127
|
+
Gds: "GDS",
|
|
128
|
+
Google: "GOOGLE"
|
|
129
|
+
};
|
|
113
130
|
var SortOrder = {
|
|
114
131
|
Asc: "asc",
|
|
115
132
|
Desc: "desc"
|
|
@@ -221,216 +238,6 @@ var AccountsApi = class extends BaseAPI {
|
|
|
221
238
|
return AccountsApiFp(this.configuration).accountsList(options).then((request) => request(this.axios, this.basePath));
|
|
222
239
|
}
|
|
223
240
|
};
|
|
224
|
-
var AddressesApiAxiosParamCreator = function(configuration) {
|
|
225
|
-
return {
|
|
226
|
-
/**
|
|
227
|
-
*
|
|
228
|
-
* @summary Addresses Create
|
|
229
|
-
* @param {string} contactId
|
|
230
|
-
* @param {AddressCreate} addressCreate
|
|
231
|
-
* @param {*} [options] Override http request option.
|
|
232
|
-
* @throws {RequiredError}
|
|
233
|
-
*/
|
|
234
|
-
addressesCreate: async (contactId, addressCreate, options = {}) => {
|
|
235
|
-
assertParamExists("addressesCreate", "contactId", contactId);
|
|
236
|
-
assertParamExists("addressesCreate", "addressCreate", addressCreate);
|
|
237
|
-
const localVarPath = `/contacts/{contactId}/addresses`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
238
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
239
|
-
let baseOptions;
|
|
240
|
-
if (configuration) {
|
|
241
|
-
baseOptions = configuration.baseOptions;
|
|
242
|
-
}
|
|
243
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
244
|
-
const localVarHeaderParameter = {};
|
|
245
|
-
const localVarQueryParameter = {};
|
|
246
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
247
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
248
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
249
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
250
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addressCreate, localVarRequestOptions, configuration);
|
|
251
|
-
return {
|
|
252
|
-
url: toPathString(localVarUrlObj),
|
|
253
|
-
options: localVarRequestOptions
|
|
254
|
-
};
|
|
255
|
-
},
|
|
256
|
-
/**
|
|
257
|
-
*
|
|
258
|
-
* @summary Addresses Delete
|
|
259
|
-
* @param {string} addressId
|
|
260
|
-
* @param {*} [options] Override http request option.
|
|
261
|
-
* @throws {RequiredError}
|
|
262
|
-
*/
|
|
263
|
-
addressesDelete: async (addressId, options = {}) => {
|
|
264
|
-
assertParamExists("addressesDelete", "addressId", addressId);
|
|
265
|
-
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
266
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
267
|
-
let baseOptions;
|
|
268
|
-
if (configuration) {
|
|
269
|
-
baseOptions = configuration.baseOptions;
|
|
270
|
-
}
|
|
271
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
272
|
-
const localVarHeaderParameter = {};
|
|
273
|
-
const localVarQueryParameter = {};
|
|
274
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
275
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
276
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
277
|
-
return {
|
|
278
|
-
url: toPathString(localVarUrlObj),
|
|
279
|
-
options: localVarRequestOptions
|
|
280
|
-
};
|
|
281
|
-
},
|
|
282
|
-
/**
|
|
283
|
-
*
|
|
284
|
-
* @summary Addresses Update
|
|
285
|
-
* @param {string} addressId
|
|
286
|
-
* @param {AddressUpdate} addressUpdate
|
|
287
|
-
* @param {*} [options] Override http request option.
|
|
288
|
-
* @throws {RequiredError}
|
|
289
|
-
*/
|
|
290
|
-
addressesUpdate: async (addressId, addressUpdate, options = {}) => {
|
|
291
|
-
assertParamExists("addressesUpdate", "addressId", addressId);
|
|
292
|
-
assertParamExists("addressesUpdate", "addressUpdate", addressUpdate);
|
|
293
|
-
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
294
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
295
|
-
let baseOptions;
|
|
296
|
-
if (configuration) {
|
|
297
|
-
baseOptions = configuration.baseOptions;
|
|
298
|
-
}
|
|
299
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
300
|
-
const localVarHeaderParameter = {};
|
|
301
|
-
const localVarQueryParameter = {};
|
|
302
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
303
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
306
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addressUpdate, localVarRequestOptions, configuration);
|
|
307
|
-
return {
|
|
308
|
-
url: toPathString(localVarUrlObj),
|
|
309
|
-
options: localVarRequestOptions
|
|
310
|
-
};
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
var AddressesApiFp = function(configuration) {
|
|
315
|
-
const localVarAxiosParamCreator = AddressesApiAxiosParamCreator(configuration);
|
|
316
|
-
return {
|
|
317
|
-
/**
|
|
318
|
-
*
|
|
319
|
-
* @summary Addresses Create
|
|
320
|
-
* @param {string} contactId
|
|
321
|
-
* @param {AddressCreate} addressCreate
|
|
322
|
-
* @param {*} [options] Override http request option.
|
|
323
|
-
* @throws {RequiredError}
|
|
324
|
-
*/
|
|
325
|
-
async addressesCreate(contactId, addressCreate, options) {
|
|
326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
327
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _6 => _6.serverIndex]), () => ( 0));
|
|
328
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _7 => _7["AddressesApi.addressesCreate"], 'optionalAccess', _8 => _8[localVarOperationServerIndex], 'optionalAccess', _9 => _9.url]);
|
|
329
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
330
|
-
},
|
|
331
|
-
/**
|
|
332
|
-
*
|
|
333
|
-
* @summary Addresses Delete
|
|
334
|
-
* @param {string} addressId
|
|
335
|
-
* @param {*} [options] Override http request option.
|
|
336
|
-
* @throws {RequiredError}
|
|
337
|
-
*/
|
|
338
|
-
async addressesDelete(addressId, options) {
|
|
339
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
340
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _10 => _10.serverIndex]), () => ( 0));
|
|
341
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _11 => _11["AddressesApi.addressesDelete"], 'optionalAccess', _12 => _12[localVarOperationServerIndex], 'optionalAccess', _13 => _13.url]);
|
|
342
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
343
|
-
},
|
|
344
|
-
/**
|
|
345
|
-
*
|
|
346
|
-
* @summary Addresses Update
|
|
347
|
-
* @param {string} addressId
|
|
348
|
-
* @param {AddressUpdate} addressUpdate
|
|
349
|
-
* @param {*} [options] Override http request option.
|
|
350
|
-
* @throws {RequiredError}
|
|
351
|
-
*/
|
|
352
|
-
async addressesUpdate(addressId, addressUpdate, options) {
|
|
353
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
354
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _14 => _14.serverIndex]), () => ( 0));
|
|
355
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _15 => _15["AddressesApi.addressesUpdate"], 'optionalAccess', _16 => _16[localVarOperationServerIndex], 'optionalAccess', _17 => _17.url]);
|
|
356
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
357
|
-
}
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
var AddressesApiFactory = function(configuration, basePath, axios) {
|
|
361
|
-
const localVarFp = AddressesApiFp(configuration);
|
|
362
|
-
return {
|
|
363
|
-
/**
|
|
364
|
-
*
|
|
365
|
-
* @summary Addresses Create
|
|
366
|
-
* @param {string} contactId
|
|
367
|
-
* @param {AddressCreate} addressCreate
|
|
368
|
-
* @param {*} [options] Override http request option.
|
|
369
|
-
* @throws {RequiredError}
|
|
370
|
-
*/
|
|
371
|
-
addressesCreate(contactId, addressCreate, options) {
|
|
372
|
-
return localVarFp.addressesCreate(contactId, addressCreate, options).then((request) => request(axios, basePath));
|
|
373
|
-
},
|
|
374
|
-
/**
|
|
375
|
-
*
|
|
376
|
-
* @summary Addresses Delete
|
|
377
|
-
* @param {string} addressId
|
|
378
|
-
* @param {*} [options] Override http request option.
|
|
379
|
-
* @throws {RequiredError}
|
|
380
|
-
*/
|
|
381
|
-
addressesDelete(addressId, options) {
|
|
382
|
-
return localVarFp.addressesDelete(addressId, options).then((request) => request(axios, basePath));
|
|
383
|
-
},
|
|
384
|
-
/**
|
|
385
|
-
*
|
|
386
|
-
* @summary Addresses Update
|
|
387
|
-
* @param {string} addressId
|
|
388
|
-
* @param {AddressUpdate} addressUpdate
|
|
389
|
-
* @param {*} [options] Override http request option.
|
|
390
|
-
* @throws {RequiredError}
|
|
391
|
-
*/
|
|
392
|
-
addressesUpdate(addressId, addressUpdate, options) {
|
|
393
|
-
return localVarFp.addressesUpdate(addressId, addressUpdate, options).then((request) => request(axios, basePath));
|
|
394
|
-
}
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
var AddressesApi = class extends BaseAPI {
|
|
398
|
-
/**
|
|
399
|
-
*
|
|
400
|
-
* @summary Addresses Create
|
|
401
|
-
* @param {string} contactId
|
|
402
|
-
* @param {AddressCreate} addressCreate
|
|
403
|
-
* @param {*} [options] Override http request option.
|
|
404
|
-
* @throws {RequiredError}
|
|
405
|
-
* @memberof AddressesApi
|
|
406
|
-
*/
|
|
407
|
-
addressesCreate(contactId, addressCreate, options) {
|
|
408
|
-
return AddressesApiFp(this.configuration).addressesCreate(contactId, addressCreate, options).then((request) => request(this.axios, this.basePath));
|
|
409
|
-
}
|
|
410
|
-
/**
|
|
411
|
-
*
|
|
412
|
-
* @summary Addresses Delete
|
|
413
|
-
* @param {string} addressId
|
|
414
|
-
* @param {*} [options] Override http request option.
|
|
415
|
-
* @throws {RequiredError}
|
|
416
|
-
* @memberof AddressesApi
|
|
417
|
-
*/
|
|
418
|
-
addressesDelete(addressId, options) {
|
|
419
|
-
return AddressesApiFp(this.configuration).addressesDelete(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
420
|
-
}
|
|
421
|
-
/**
|
|
422
|
-
*
|
|
423
|
-
* @summary Addresses Update
|
|
424
|
-
* @param {string} addressId
|
|
425
|
-
* @param {AddressUpdate} addressUpdate
|
|
426
|
-
* @param {*} [options] Override http request option.
|
|
427
|
-
* @throws {RequiredError}
|
|
428
|
-
* @memberof AddressesApi
|
|
429
|
-
*/
|
|
430
|
-
addressesUpdate(addressId, addressUpdate, options) {
|
|
431
|
-
return AddressesApiFp(this.configuration).addressesUpdate(addressId, addressUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
432
|
-
}
|
|
433
|
-
};
|
|
434
241
|
var ContactsApiAxiosParamCreator = function(configuration) {
|
|
435
242
|
return {
|
|
436
243
|
/**
|
|
@@ -960,8 +767,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
960
767
|
*/
|
|
961
768
|
async addressesCreate(contactId, addressCreate, options) {
|
|
962
769
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
963
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
964
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
770
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _6 => _6.serverIndex]), () => ( 0));
|
|
771
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _7 => _7["ContactsApi.addressesCreate"], 'optionalAccess', _8 => _8[localVarOperationServerIndex], 'optionalAccess', _9 => _9.url]);
|
|
965
772
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
966
773
|
},
|
|
967
774
|
/**
|
|
@@ -973,8 +780,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
973
780
|
*/
|
|
974
781
|
async addressesDelete(addressId, options) {
|
|
975
782
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
976
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
977
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
783
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _10 => _10.serverIndex]), () => ( 0));
|
|
784
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _11 => _11["ContactsApi.addressesDelete"], 'optionalAccess', _12 => _12[localVarOperationServerIndex], 'optionalAccess', _13 => _13.url]);
|
|
978
785
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
979
786
|
},
|
|
980
787
|
/**
|
|
@@ -987,8 +794,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
987
794
|
*/
|
|
988
795
|
async addressesUpdate(addressId, addressUpdate, options) {
|
|
989
796
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
990
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
991
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
797
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _14 => _14.serverIndex]), () => ( 0));
|
|
798
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _15 => _15["ContactsApi.addressesUpdate"], 'optionalAccess', _16 => _16[localVarOperationServerIndex], 'optionalAccess', _17 => _17.url]);
|
|
992
799
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
993
800
|
},
|
|
994
801
|
/**
|
|
@@ -1002,8 +809,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1002
809
|
*/
|
|
1003
810
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
1004
811
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
1005
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1006
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
812
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _18 => _18.serverIndex]), () => ( 0));
|
|
813
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _19 => _19["ContactsApi.contactsAddListing"], 'optionalAccess', _20 => _20[localVarOperationServerIndex], 'optionalAccess', _21 => _21.url]);
|
|
1007
814
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1008
815
|
},
|
|
1009
816
|
/**
|
|
@@ -1015,8 +822,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1015
822
|
*/
|
|
1016
823
|
async contactsCreate(contactCreate, options) {
|
|
1017
824
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactCreate, options);
|
|
1018
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1019
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
825
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _22 => _22.serverIndex]), () => ( 0));
|
|
826
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _23 => _23["ContactsApi.contactsCreate"], 'optionalAccess', _24 => _24[localVarOperationServerIndex], 'optionalAccess', _25 => _25.url]);
|
|
1020
827
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1021
828
|
},
|
|
1022
829
|
/**
|
|
@@ -1028,8 +835,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1028
835
|
*/
|
|
1029
836
|
async contactsDelete(contactId, options) {
|
|
1030
837
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
1031
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1032
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
838
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _26 => _26.serverIndex]), () => ( 0));
|
|
839
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _27 => _27["ContactsApi.contactsDelete"], 'optionalAccess', _28 => _28[localVarOperationServerIndex], 'optionalAccess', _29 => _29.url]);
|
|
1033
840
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1034
841
|
},
|
|
1035
842
|
/**
|
|
@@ -1041,8 +848,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1041
848
|
*/
|
|
1042
849
|
async contactsGet(contactId, options) {
|
|
1043
850
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
1044
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1045
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
851
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _30 => _30.serverIndex]), () => ( 0));
|
|
852
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _31 => _31["ContactsApi.contactsGet"], 'optionalAccess', _32 => _32[localVarOperationServerIndex], 'optionalAccess', _33 => _33.url]);
|
|
1046
853
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1047
854
|
},
|
|
1048
855
|
/**
|
|
@@ -1059,8 +866,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1059
866
|
*/
|
|
1060
867
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1061
868
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1062
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1063
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
869
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _34 => _34.serverIndex]), () => ( 0));
|
|
870
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _35 => _35["ContactsApi.contactsList"], 'optionalAccess', _36 => _36[localVarOperationServerIndex], 'optionalAccess', _37 => _37.url]);
|
|
1064
871
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1065
872
|
},
|
|
1066
873
|
/**
|
|
@@ -1074,8 +881,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1074
881
|
*/
|
|
1075
882
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
1076
883
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
1077
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1078
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
884
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _38 => _38.serverIndex]), () => ( 0));
|
|
885
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _39 => _39["ContactsApi.contactsRemoveListing"], 'optionalAccess', _40 => _40[localVarOperationServerIndex], 'optionalAccess', _41 => _41.url]);
|
|
1079
886
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1080
887
|
},
|
|
1081
888
|
/**
|
|
@@ -1088,8 +895,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1088
895
|
*/
|
|
1089
896
|
async contactsUpdate(contactId, contactUpdate, options) {
|
|
1090
897
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
|
|
1091
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1092
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
898
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _42 => _42.serverIndex]), () => ( 0));
|
|
899
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _43 => _43["ContactsApi.contactsUpdate"], 'optionalAccess', _44 => _44[localVarOperationServerIndex], 'optionalAccess', _45 => _45.url]);
|
|
1093
900
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1094
901
|
},
|
|
1095
902
|
/**
|
|
@@ -1103,8 +910,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1103
910
|
*/
|
|
1104
911
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
1105
912
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
1106
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1107
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
913
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _46 => _46.serverIndex]), () => ( 0));
|
|
914
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _47 => _47["ContactsApi.contactsUpdateListing"], 'optionalAccess', _48 => _48[localVarOperationServerIndex], 'optionalAccess', _49 => _49.url]);
|
|
1108
915
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1109
916
|
},
|
|
1110
917
|
/**
|
|
@@ -1117,8 +924,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1117
924
|
*/
|
|
1118
925
|
async emailsCreate(contactId, emailCreate, options) {
|
|
1119
926
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
1120
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1121
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
927
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _50 => _50.serverIndex]), () => ( 0));
|
|
928
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _51 => _51["ContactsApi.emailsCreate"], 'optionalAccess', _52 => _52[localVarOperationServerIndex], 'optionalAccess', _53 => _53.url]);
|
|
1122
929
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1123
930
|
},
|
|
1124
931
|
/**
|
|
@@ -1130,8 +937,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1130
937
|
*/
|
|
1131
938
|
async emailsDelete(emailId, options) {
|
|
1132
939
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
1133
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1134
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
940
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _54 => _54.serverIndex]), () => ( 0));
|
|
941
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _55 => _55["ContactsApi.emailsDelete"], 'optionalAccess', _56 => _56[localVarOperationServerIndex], 'optionalAccess', _57 => _57.url]);
|
|
1135
942
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1136
943
|
},
|
|
1137
944
|
/**
|
|
@@ -1144,8 +951,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1144
951
|
*/
|
|
1145
952
|
async emailsUpdate(emailId, emailUpdate, options) {
|
|
1146
953
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, emailUpdate, options);
|
|
1147
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1148
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
954
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _58 => _58.serverIndex]), () => ( 0));
|
|
955
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _59 => _59["ContactsApi.emailsUpdate"], 'optionalAccess', _60 => _60[localVarOperationServerIndex], 'optionalAccess', _61 => _61.url]);
|
|
1149
956
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1150
957
|
},
|
|
1151
958
|
/**
|
|
@@ -1158,8 +965,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1158
965
|
*/
|
|
1159
966
|
async phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
1160
967
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, phoneNumberCreate, options);
|
|
1161
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1162
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
968
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _62 => _62.serverIndex]), () => ( 0));
|
|
969
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _63 => _63["ContactsApi.phoneNumbersCreate"], 'optionalAccess', _64 => _64[localVarOperationServerIndex], 'optionalAccess', _65 => _65.url]);
|
|
1163
970
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1164
971
|
},
|
|
1165
972
|
/**
|
|
@@ -1171,8 +978,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1171
978
|
*/
|
|
1172
979
|
async phoneNumbersDelete(phoneNumberId, options) {
|
|
1173
980
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersDelete(phoneNumberId, options);
|
|
1174
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1175
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
981
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _66 => _66.serverIndex]), () => ( 0));
|
|
982
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _67 => _67["ContactsApi.phoneNumbersDelete"], 'optionalAccess', _68 => _68[localVarOperationServerIndex], 'optionalAccess', _69 => _69.url]);
|
|
1176
983
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1177
984
|
},
|
|
1178
985
|
/**
|
|
@@ -1185,8 +992,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1185
992
|
*/
|
|
1186
993
|
async phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
1187
994
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options);
|
|
1188
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1189
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
995
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _70 => _70.serverIndex]), () => ( 0));
|
|
996
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _71 => _71["ContactsApi.phoneNumbersUpdate"], 'optionalAccess', _72 => _72[localVarOperationServerIndex], 'optionalAccess', _73 => _73.url]);
|
|
1190
997
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1191
998
|
}
|
|
1192
999
|
};
|
|
@@ -1855,8 +1662,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1855
1662
|
*/
|
|
1856
1663
|
async conversationsCreate(conversationCreate, options) {
|
|
1857
1664
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(conversationCreate, options);
|
|
1858
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1859
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1665
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _74 => _74.serverIndex]), () => ( 0));
|
|
1666
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _75 => _75["ConversationsApi.conversationsCreate"], 'optionalAccess', _76 => _76[localVarOperationServerIndex], 'optionalAccess', _77 => _77.url]);
|
|
1860
1667
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1861
1668
|
},
|
|
1862
1669
|
/**
|
|
@@ -1868,8 +1675,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1868
1675
|
*/
|
|
1869
1676
|
async conversationsGet(conversationId, options) {
|
|
1870
1677
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
1871
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1872
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1678
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _78 => _78.serverIndex]), () => ( 0));
|
|
1679
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _79 => _79["ConversationsApi.conversationsGet"], 'optionalAccess', _80 => _80[localVarOperationServerIndex], 'optionalAccess', _81 => _81.url]);
|
|
1873
1680
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1874
1681
|
},
|
|
1875
1682
|
/**
|
|
@@ -1887,8 +1694,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1887
1694
|
*/
|
|
1888
1695
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1889
1696
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1890
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1891
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1697
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _82 => _82.serverIndex]), () => ( 0));
|
|
1698
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _83 => _83["ConversationsApi.conversationsList"], 'optionalAccess', _84 => _84[localVarOperationServerIndex], 'optionalAccess', _85 => _85.url]);
|
|
1892
1699
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1893
1700
|
},
|
|
1894
1701
|
/**
|
|
@@ -1901,8 +1708,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1901
1708
|
*/
|
|
1902
1709
|
async conversationsUpdate(conversationId, conversationUpdate, options) {
|
|
1903
1710
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, conversationUpdate, options);
|
|
1904
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1905
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1711
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _86 => _86.serverIndex]), () => ( 0));
|
|
1712
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _87 => _87["ConversationsApi.conversationsUpdate"], 'optionalAccess', _88 => _88[localVarOperationServerIndex], 'optionalAccess', _89 => _89.url]);
|
|
1906
1713
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1907
1714
|
},
|
|
1908
1715
|
/**
|
|
@@ -1915,8 +1722,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1915
1722
|
*/
|
|
1916
1723
|
async messagesCreate(conversationId, messageCreate, options) {
|
|
1917
1724
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messageCreate, options);
|
|
1918
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1919
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1725
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _90 => _90.serverIndex]), () => ( 0));
|
|
1726
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _91 => _91["ConversationsApi.messagesCreate"], 'optionalAccess', _92 => _92[localVarOperationServerIndex], 'optionalAccess', _93 => _93.url]);
|
|
1920
1727
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1921
1728
|
},
|
|
1922
1729
|
/**
|
|
@@ -1928,8 +1735,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1928
1735
|
*/
|
|
1929
1736
|
async messagesGet(messageId, options) {
|
|
1930
1737
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
1931
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1932
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1738
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _94 => _94.serverIndex]), () => ( 0));
|
|
1739
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _95 => _95["ConversationsApi.messagesGet"], 'optionalAccess', _96 => _96[localVarOperationServerIndex], 'optionalAccess', _97 => _97.url]);
|
|
1933
1740
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1934
1741
|
},
|
|
1935
1742
|
/**
|
|
@@ -1948,8 +1755,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1948
1755
|
*/
|
|
1949
1756
|
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1950
1757
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1951
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1952
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1758
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
1759
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["ConversationsApi.messagesList"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
1953
1760
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1954
1761
|
}
|
|
1955
1762
|
};
|
|
@@ -2138,222 +1945,12 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2138
1945
|
return ConversationsApiFp(this.configuration).messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2139
1946
|
}
|
|
2140
1947
|
};
|
|
2141
|
-
var
|
|
1948
|
+
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
2142
1949
|
return {
|
|
2143
1950
|
/**
|
|
2144
1951
|
*
|
|
2145
|
-
* @summary
|
|
2146
|
-
* @param {
|
|
2147
|
-
* @param {EmailCreate} emailCreate
|
|
2148
|
-
* @param {*} [options] Override http request option.
|
|
2149
|
-
* @throws {RequiredError}
|
|
2150
|
-
*/
|
|
2151
|
-
emailsCreate: async (contactId, emailCreate, options = {}) => {
|
|
2152
|
-
assertParamExists("emailsCreate", "contactId", contactId);
|
|
2153
|
-
assertParamExists("emailsCreate", "emailCreate", emailCreate);
|
|
2154
|
-
const localVarPath = `/contacts/{contactId}/emails`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
2155
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2156
|
-
let baseOptions;
|
|
2157
|
-
if (configuration) {
|
|
2158
|
-
baseOptions = configuration.baseOptions;
|
|
2159
|
-
}
|
|
2160
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2161
|
-
const localVarHeaderParameter = {};
|
|
2162
|
-
const localVarQueryParameter = {};
|
|
2163
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2164
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2165
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2166
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2167
|
-
localVarRequestOptions.data = serializeDataIfNeeded(emailCreate, localVarRequestOptions, configuration);
|
|
2168
|
-
return {
|
|
2169
|
-
url: toPathString(localVarUrlObj),
|
|
2170
|
-
options: localVarRequestOptions
|
|
2171
|
-
};
|
|
2172
|
-
},
|
|
2173
|
-
/**
|
|
2174
|
-
*
|
|
2175
|
-
* @summary Emails Delete
|
|
2176
|
-
* @param {string} emailId
|
|
2177
|
-
* @param {*} [options] Override http request option.
|
|
2178
|
-
* @throws {RequiredError}
|
|
2179
|
-
*/
|
|
2180
|
-
emailsDelete: async (emailId, options = {}) => {
|
|
2181
|
-
assertParamExists("emailsDelete", "emailId", emailId);
|
|
2182
|
-
const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
|
|
2183
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2184
|
-
let baseOptions;
|
|
2185
|
-
if (configuration) {
|
|
2186
|
-
baseOptions = configuration.baseOptions;
|
|
2187
|
-
}
|
|
2188
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2189
|
-
const localVarHeaderParameter = {};
|
|
2190
|
-
const localVarQueryParameter = {};
|
|
2191
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2192
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2193
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2194
|
-
return {
|
|
2195
|
-
url: toPathString(localVarUrlObj),
|
|
2196
|
-
options: localVarRequestOptions
|
|
2197
|
-
};
|
|
2198
|
-
},
|
|
2199
|
-
/**
|
|
2200
|
-
*
|
|
2201
|
-
* @summary Emails Update
|
|
2202
|
-
* @param {string} emailId
|
|
2203
|
-
* @param {EmailUpdate} emailUpdate
|
|
2204
|
-
* @param {*} [options] Override http request option.
|
|
2205
|
-
* @throws {RequiredError}
|
|
2206
|
-
*/
|
|
2207
|
-
emailsUpdate: async (emailId, emailUpdate, options = {}) => {
|
|
2208
|
-
assertParamExists("emailsUpdate", "emailId", emailId);
|
|
2209
|
-
assertParamExists("emailsUpdate", "emailUpdate", emailUpdate);
|
|
2210
|
-
const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
|
|
2211
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2212
|
-
let baseOptions;
|
|
2213
|
-
if (configuration) {
|
|
2214
|
-
baseOptions = configuration.baseOptions;
|
|
2215
|
-
}
|
|
2216
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
2217
|
-
const localVarHeaderParameter = {};
|
|
2218
|
-
const localVarQueryParameter = {};
|
|
2219
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2220
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2221
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2222
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2223
|
-
localVarRequestOptions.data = serializeDataIfNeeded(emailUpdate, localVarRequestOptions, configuration);
|
|
2224
|
-
return {
|
|
2225
|
-
url: toPathString(localVarUrlObj),
|
|
2226
|
-
options: localVarRequestOptions
|
|
2227
|
-
};
|
|
2228
|
-
}
|
|
2229
|
-
};
|
|
2230
|
-
};
|
|
2231
|
-
var EmailsApiFp = function(configuration) {
|
|
2232
|
-
const localVarAxiosParamCreator = EmailsApiAxiosParamCreator(configuration);
|
|
2233
|
-
return {
|
|
2234
|
-
/**
|
|
2235
|
-
*
|
|
2236
|
-
* @summary Emails Create
|
|
2237
|
-
* @param {string} contactId
|
|
2238
|
-
* @param {EmailCreate} emailCreate
|
|
2239
|
-
* @param {*} [options] Override http request option.
|
|
2240
|
-
* @throws {RequiredError}
|
|
2241
|
-
*/
|
|
2242
|
-
async emailsCreate(contactId, emailCreate, options) {
|
|
2243
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
2244
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2245
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["EmailsApi.emailsCreate"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
2246
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2247
|
-
},
|
|
2248
|
-
/**
|
|
2249
|
-
*
|
|
2250
|
-
* @summary Emails Delete
|
|
2251
|
-
* @param {string} emailId
|
|
2252
|
-
* @param {*} [options] Override http request option.
|
|
2253
|
-
* @throws {RequiredError}
|
|
2254
|
-
*/
|
|
2255
|
-
async emailsDelete(emailId, options) {
|
|
2256
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
2257
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2258
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["EmailsApi.emailsDelete"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2259
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2260
|
-
},
|
|
2261
|
-
/**
|
|
2262
|
-
*
|
|
2263
|
-
* @summary Emails Update
|
|
2264
|
-
* @param {string} emailId
|
|
2265
|
-
* @param {EmailUpdate} emailUpdate
|
|
2266
|
-
* @param {*} [options] Override http request option.
|
|
2267
|
-
* @throws {RequiredError}
|
|
2268
|
-
*/
|
|
2269
|
-
async emailsUpdate(emailId, emailUpdate, options) {
|
|
2270
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, emailUpdate, options);
|
|
2271
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2272
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["EmailsApi.emailsUpdate"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2273
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2274
|
-
}
|
|
2275
|
-
};
|
|
2276
|
-
};
|
|
2277
|
-
var EmailsApiFactory = function(configuration, basePath, axios) {
|
|
2278
|
-
const localVarFp = EmailsApiFp(configuration);
|
|
2279
|
-
return {
|
|
2280
|
-
/**
|
|
2281
|
-
*
|
|
2282
|
-
* @summary Emails Create
|
|
2283
|
-
* @param {string} contactId
|
|
2284
|
-
* @param {EmailCreate} emailCreate
|
|
2285
|
-
* @param {*} [options] Override http request option.
|
|
2286
|
-
* @throws {RequiredError}
|
|
2287
|
-
*/
|
|
2288
|
-
emailsCreate(contactId, emailCreate, options) {
|
|
2289
|
-
return localVarFp.emailsCreate(contactId, emailCreate, options).then((request) => request(axios, basePath));
|
|
2290
|
-
},
|
|
2291
|
-
/**
|
|
2292
|
-
*
|
|
2293
|
-
* @summary Emails Delete
|
|
2294
|
-
* @param {string} emailId
|
|
2295
|
-
* @param {*} [options] Override http request option.
|
|
2296
|
-
* @throws {RequiredError}
|
|
2297
|
-
*/
|
|
2298
|
-
emailsDelete(emailId, options) {
|
|
2299
|
-
return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
|
|
2300
|
-
},
|
|
2301
|
-
/**
|
|
2302
|
-
*
|
|
2303
|
-
* @summary Emails Update
|
|
2304
|
-
* @param {string} emailId
|
|
2305
|
-
* @param {EmailUpdate} emailUpdate
|
|
2306
|
-
* @param {*} [options] Override http request option.
|
|
2307
|
-
* @throws {RequiredError}
|
|
2308
|
-
*/
|
|
2309
|
-
emailsUpdate(emailId, emailUpdate, options) {
|
|
2310
|
-
return localVarFp.emailsUpdate(emailId, emailUpdate, options).then((request) => request(axios, basePath));
|
|
2311
|
-
}
|
|
2312
|
-
};
|
|
2313
|
-
};
|
|
2314
|
-
var EmailsApi = class extends BaseAPI {
|
|
2315
|
-
/**
|
|
2316
|
-
*
|
|
2317
|
-
* @summary Emails Create
|
|
2318
|
-
* @param {string} contactId
|
|
2319
|
-
* @param {EmailCreate} emailCreate
|
|
2320
|
-
* @param {*} [options] Override http request option.
|
|
2321
|
-
* @throws {RequiredError}
|
|
2322
|
-
* @memberof EmailsApi
|
|
2323
|
-
*/
|
|
2324
|
-
emailsCreate(contactId, emailCreate, options) {
|
|
2325
|
-
return EmailsApiFp(this.configuration).emailsCreate(contactId, emailCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2326
|
-
}
|
|
2327
|
-
/**
|
|
2328
|
-
*
|
|
2329
|
-
* @summary Emails Delete
|
|
2330
|
-
* @param {string} emailId
|
|
2331
|
-
* @param {*} [options] Override http request option.
|
|
2332
|
-
* @throws {RequiredError}
|
|
2333
|
-
* @memberof EmailsApi
|
|
2334
|
-
*/
|
|
2335
|
-
emailsDelete(emailId, options) {
|
|
2336
|
-
return EmailsApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
|
|
2337
|
-
}
|
|
2338
|
-
/**
|
|
2339
|
-
*
|
|
2340
|
-
* @summary Emails Update
|
|
2341
|
-
* @param {string} emailId
|
|
2342
|
-
* @param {EmailUpdate} emailUpdate
|
|
2343
|
-
* @param {*} [options] Override http request option.
|
|
2344
|
-
* @throws {RequiredError}
|
|
2345
|
-
* @memberof EmailsApi
|
|
2346
|
-
*/
|
|
2347
|
-
emailsUpdate(emailId, emailUpdate, options) {
|
|
2348
|
-
return EmailsApiFp(this.configuration).emailsUpdate(emailId, emailUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
2349
|
-
}
|
|
2350
|
-
};
|
|
2351
|
-
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
2352
|
-
return {
|
|
2353
|
-
/**
|
|
2354
|
-
*
|
|
2355
|
-
* @summary Unifiedwebhook
|
|
2356
|
-
* @param {HostawayWebhook} hostawayWebhook
|
|
1952
|
+
* @summary Unifiedwebhook
|
|
1953
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2357
1954
|
* @param {*} [options] Override http request option.
|
|
2358
1955
|
* @throws {RequiredError}
|
|
2359
1956
|
*/
|
|
@@ -2393,8 +1990,8 @@ var HostawayApiFp = function(configuration) {
|
|
|
2393
1990
|
*/
|
|
2394
1991
|
async webhook(hostawayWebhook, options) {
|
|
2395
1992
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
2396
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2397
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1993
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _102 => _102.serverIndex]), () => ( 0));
|
|
1994
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _103 => _103["HostawayApi.webhook"], 'optionalAccess', _104 => _104[localVarOperationServerIndex], 'optionalAccess', _105 => _105.url]);
|
|
2398
1995
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2399
1996
|
}
|
|
2400
1997
|
};
|
|
@@ -2471,8 +2068,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
2471
2068
|
*/
|
|
2472
2069
|
async inquiriesList(contactId, options) {
|
|
2473
2070
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2474
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2475
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2071
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _106 => _106.serverIndex]), () => ( 0));
|
|
2072
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _107 => _107["InquiriesApi.inquiriesList"], 'optionalAccess', _108 => _108[localVarOperationServerIndex], 'optionalAccess', _109 => _109.url]);
|
|
2476
2073
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2477
2074
|
}
|
|
2478
2075
|
};
|
|
@@ -2588,636 +2185,172 @@ var ListingsApiAxiosParamCreator = function(configuration) {
|
|
|
2588
2185
|
};
|
|
2589
2186
|
};
|
|
2590
2187
|
var ListingsApiFp = function(configuration) {
|
|
2591
|
-
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
2592
|
-
return {
|
|
2593
|
-
/**
|
|
2594
|
-
*
|
|
2595
|
-
* @summary Listings Get
|
|
2596
|
-
* @param {string} listingId
|
|
2597
|
-
* @param {*} [options] Override http request option.
|
|
2598
|
-
* @throws {RequiredError}
|
|
2599
|
-
*/
|
|
2600
|
-
async listingsGet(listingId, options) {
|
|
2601
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
2602
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2603
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["ListingsApi.listingsGet"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
2604
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2605
|
-
},
|
|
2606
|
-
/**
|
|
2607
|
-
*
|
|
2608
|
-
* @summary Listings List
|
|
2609
|
-
* @param {string | null} [searchString]
|
|
2610
|
-
* @param {string | null} [contactId]
|
|
2611
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2612
|
-
* @param {number} [limit]
|
|
2613
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2614
|
-
* @param {ListingSortBy} [sortBy] Sort key
|
|
2615
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2616
|
-
* @param {*} [options] Override http request option.
|
|
2617
|
-
* @throws {RequiredError}
|
|
2618
|
-
*/
|
|
2619
|
-
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2620
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2621
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2622
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["ListingsApi.listingsList"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
2623
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2624
|
-
}
|
|
2625
|
-
};
|
|
2626
|
-
};
|
|
2627
|
-
var ListingsApiFactory = function(configuration, basePath, axios) {
|
|
2628
|
-
const localVarFp = ListingsApiFp(configuration);
|
|
2629
|
-
return {
|
|
2630
|
-
/**
|
|
2631
|
-
*
|
|
2632
|
-
* @summary Listings Get
|
|
2633
|
-
* @param {string} listingId
|
|
2634
|
-
* @param {*} [options] Override http request option.
|
|
2635
|
-
* @throws {RequiredError}
|
|
2636
|
-
*/
|
|
2637
|
-
listingsGet(listingId, options) {
|
|
2638
|
-
return localVarFp.listingsGet(listingId, options).then((request) => request(axios, basePath));
|
|
2639
|
-
},
|
|
2640
|
-
/**
|
|
2641
|
-
*
|
|
2642
|
-
* @summary Listings List
|
|
2643
|
-
* @param {string | null} [searchString]
|
|
2644
|
-
* @param {string | null} [contactId]
|
|
2645
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2646
|
-
* @param {number} [limit]
|
|
2647
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2648
|
-
* @param {ListingSortBy} [sortBy] Sort key
|
|
2649
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2650
|
-
* @param {*} [options] Override http request option.
|
|
2651
|
-
* @throws {RequiredError}
|
|
2652
|
-
*/
|
|
2653
|
-
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2654
|
-
return localVarFp.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2655
|
-
}
|
|
2656
|
-
};
|
|
2657
|
-
};
|
|
2658
|
-
var ListingsApi = class extends BaseAPI {
|
|
2659
|
-
/**
|
|
2660
|
-
*
|
|
2661
|
-
* @summary Listings Get
|
|
2662
|
-
* @param {string} listingId
|
|
2663
|
-
* @param {*} [options] Override http request option.
|
|
2664
|
-
* @throws {RequiredError}
|
|
2665
|
-
* @memberof ListingsApi
|
|
2666
|
-
*/
|
|
2667
|
-
listingsGet(listingId, options) {
|
|
2668
|
-
return ListingsApiFp(this.configuration).listingsGet(listingId, options).then((request) => request(this.axios, this.basePath));
|
|
2669
|
-
}
|
|
2670
|
-
/**
|
|
2671
|
-
*
|
|
2672
|
-
* @summary Listings List
|
|
2673
|
-
* @param {string | null} [searchString]
|
|
2674
|
-
* @param {string | null} [contactId]
|
|
2675
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2676
|
-
* @param {number} [limit]
|
|
2677
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2678
|
-
* @param {ListingSortBy} [sortBy] Sort key
|
|
2679
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2680
|
-
* @param {*} [options] Override http request option.
|
|
2681
|
-
* @throws {RequiredError}
|
|
2682
|
-
* @memberof ListingsApi
|
|
2683
|
-
*/
|
|
2684
|
-
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2685
|
-
return ListingsApiFp(this.configuration).listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2686
|
-
}
|
|
2687
|
-
};
|
|
2688
|
-
var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
2689
|
-
return {
|
|
2690
|
-
/**
|
|
2691
|
-
*
|
|
2692
|
-
* @summary Managed_phone_numbers List
|
|
2693
|
-
* @param {*} [options] Override http request option.
|
|
2694
|
-
* @throws {RequiredError}
|
|
2695
|
-
*/
|
|
2696
|
-
managedPhoneNumbersList: async (options = {}) => {
|
|
2697
|
-
const localVarPath = `/managed_phone_numbers`;
|
|
2698
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2699
|
-
let baseOptions;
|
|
2700
|
-
if (configuration) {
|
|
2701
|
-
baseOptions = configuration.baseOptions;
|
|
2702
|
-
}
|
|
2703
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2704
|
-
const localVarHeaderParameter = {};
|
|
2705
|
-
const localVarQueryParameter = {};
|
|
2706
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2707
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2708
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2709
|
-
return {
|
|
2710
|
-
url: toPathString(localVarUrlObj),
|
|
2711
|
-
options: localVarRequestOptions
|
|
2712
|
-
};
|
|
2713
|
-
}
|
|
2714
|
-
};
|
|
2715
|
-
};
|
|
2716
|
-
var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
2717
|
-
const localVarAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator(configuration);
|
|
2718
|
-
return {
|
|
2719
|
-
/**
|
|
2720
|
-
*
|
|
2721
|
-
* @summary Managed_phone_numbers List
|
|
2722
|
-
* @param {*} [options] Override http request option.
|
|
2723
|
-
* @throws {RequiredError}
|
|
2724
|
-
*/
|
|
2725
|
-
async managedPhoneNumbersList(options) {
|
|
2726
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2727
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2728
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["ManagedPhoneNumbersApi.managedPhoneNumbersList"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2729
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2730
|
-
}
|
|
2731
|
-
};
|
|
2732
|
-
};
|
|
2733
|
-
var ManagedPhoneNumbersApiFactory = function(configuration, basePath, axios) {
|
|
2734
|
-
const localVarFp = ManagedPhoneNumbersApiFp(configuration);
|
|
2735
|
-
return {
|
|
2736
|
-
/**
|
|
2737
|
-
*
|
|
2738
|
-
* @summary Managed_phone_numbers List
|
|
2739
|
-
* @param {*} [options] Override http request option.
|
|
2740
|
-
* @throws {RequiredError}
|
|
2741
|
-
*/
|
|
2742
|
-
managedPhoneNumbersList(options) {
|
|
2743
|
-
return localVarFp.managedPhoneNumbersList(options).then((request) => request(axios, basePath));
|
|
2744
|
-
}
|
|
2745
|
-
};
|
|
2746
|
-
};
|
|
2747
|
-
var ManagedPhoneNumbersApi = class extends BaseAPI {
|
|
2748
|
-
/**
|
|
2749
|
-
*
|
|
2750
|
-
* @summary Managed_phone_numbers List
|
|
2751
|
-
* @param {*} [options] Override http request option.
|
|
2752
|
-
* @throws {RequiredError}
|
|
2753
|
-
* @memberof ManagedPhoneNumbersApi
|
|
2754
|
-
*/
|
|
2755
|
-
managedPhoneNumbersList(options) {
|
|
2756
|
-
return ManagedPhoneNumbersApiFp(this.configuration).managedPhoneNumbersList(options).then((request) => request(this.axios, this.basePath));
|
|
2757
|
-
}
|
|
2758
|
-
};
|
|
2759
|
-
var MessagesApiAxiosParamCreator = function(configuration) {
|
|
2760
|
-
return {
|
|
2761
|
-
/**
|
|
2762
|
-
*
|
|
2763
|
-
* @summary Messages Create
|
|
2764
|
-
* @param {string} conversationId
|
|
2765
|
-
* @param {MessageCreate} messageCreate
|
|
2766
|
-
* @param {*} [options] Override http request option.
|
|
2767
|
-
* @throws {RequiredError}
|
|
2768
|
-
*/
|
|
2769
|
-
messagesCreate: async (conversationId, messageCreate, options = {}) => {
|
|
2770
|
-
assertParamExists("messagesCreate", "conversationId", conversationId);
|
|
2771
|
-
assertParamExists("messagesCreate", "messageCreate", messageCreate);
|
|
2772
|
-
const localVarPath = `/conversations/{conversationId}/messages`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
2773
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2774
|
-
let baseOptions;
|
|
2775
|
-
if (configuration) {
|
|
2776
|
-
baseOptions = configuration.baseOptions;
|
|
2777
|
-
}
|
|
2778
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2779
|
-
const localVarHeaderParameter = {};
|
|
2780
|
-
const localVarQueryParameter = {};
|
|
2781
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2782
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2783
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2784
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2785
|
-
localVarRequestOptions.data = serializeDataIfNeeded(messageCreate, localVarRequestOptions, configuration);
|
|
2786
|
-
return {
|
|
2787
|
-
url: toPathString(localVarUrlObj),
|
|
2788
|
-
options: localVarRequestOptions
|
|
2789
|
-
};
|
|
2790
|
-
},
|
|
2791
|
-
/**
|
|
2792
|
-
*
|
|
2793
|
-
* @summary Messages Get
|
|
2794
|
-
* @param {string} messageId
|
|
2795
|
-
* @param {*} [options] Override http request option.
|
|
2796
|
-
* @throws {RequiredError}
|
|
2797
|
-
*/
|
|
2798
|
-
messagesGet: async (messageId, options = {}) => {
|
|
2799
|
-
assertParamExists("messagesGet", "messageId", messageId);
|
|
2800
|
-
const localVarPath = `/messages/{messageId}`.replace(`{${"messageId"}}`, encodeURIComponent(String(messageId)));
|
|
2801
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2802
|
-
let baseOptions;
|
|
2803
|
-
if (configuration) {
|
|
2804
|
-
baseOptions = configuration.baseOptions;
|
|
2805
|
-
}
|
|
2806
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2807
|
-
const localVarHeaderParameter = {};
|
|
2808
|
-
const localVarQueryParameter = {};
|
|
2809
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2810
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2811
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2812
|
-
return {
|
|
2813
|
-
url: toPathString(localVarUrlObj),
|
|
2814
|
-
options: localVarRequestOptions
|
|
2815
|
-
};
|
|
2816
|
-
},
|
|
2817
|
-
/**
|
|
2818
|
-
*
|
|
2819
|
-
* @summary Messages List
|
|
2820
|
-
* @param {string | null} [searchString]
|
|
2821
|
-
* @param {string | null} [contactId]
|
|
2822
|
-
* @param {string | null} [conversationId]
|
|
2823
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2824
|
-
* @param {number} [limit]
|
|
2825
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2826
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
2827
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2828
|
-
* @param {*} [options] Override http request option.
|
|
2829
|
-
* @throws {RequiredError}
|
|
2830
|
-
*/
|
|
2831
|
-
messagesList: async (searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
2832
|
-
const localVarPath = `/messages`;
|
|
2833
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2834
|
-
let baseOptions;
|
|
2835
|
-
if (configuration) {
|
|
2836
|
-
baseOptions = configuration.baseOptions;
|
|
2837
|
-
}
|
|
2838
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2839
|
-
const localVarHeaderParameter = {};
|
|
2840
|
-
const localVarQueryParameter = {};
|
|
2841
|
-
if (searchString !== void 0) {
|
|
2842
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
2843
|
-
}
|
|
2844
|
-
if (contactId !== void 0) {
|
|
2845
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
2846
|
-
}
|
|
2847
|
-
if (conversationId !== void 0) {
|
|
2848
|
-
localVarQueryParameter["conversationId"] = conversationId;
|
|
2849
|
-
}
|
|
2850
|
-
if (cursor !== void 0) {
|
|
2851
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
2852
|
-
}
|
|
2853
|
-
if (limit !== void 0) {
|
|
2854
|
-
localVarQueryParameter["limit"] = limit;
|
|
2855
|
-
}
|
|
2856
|
-
if (pageDir !== void 0) {
|
|
2857
|
-
localVarQueryParameter["pageDir"] = pageDir;
|
|
2858
|
-
}
|
|
2859
|
-
if (sortBy !== void 0) {
|
|
2860
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
2861
|
-
}
|
|
2862
|
-
if (sortOrder !== void 0) {
|
|
2863
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
2864
|
-
}
|
|
2865
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2866
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2867
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2868
|
-
return {
|
|
2869
|
-
url: toPathString(localVarUrlObj),
|
|
2870
|
-
options: localVarRequestOptions
|
|
2871
|
-
};
|
|
2872
|
-
}
|
|
2873
|
-
};
|
|
2874
|
-
};
|
|
2875
|
-
var MessagesApiFp = function(configuration) {
|
|
2876
|
-
const localVarAxiosParamCreator = MessagesApiAxiosParamCreator(configuration);
|
|
2877
|
-
return {
|
|
2878
|
-
/**
|
|
2879
|
-
*
|
|
2880
|
-
* @summary Messages Create
|
|
2881
|
-
* @param {string} conversationId
|
|
2882
|
-
* @param {MessageCreate} messageCreate
|
|
2883
|
-
* @param {*} [options] Override http request option.
|
|
2884
|
-
* @throws {RequiredError}
|
|
2885
|
-
*/
|
|
2886
|
-
async messagesCreate(conversationId, messageCreate, options) {
|
|
2887
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messageCreate, options);
|
|
2888
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2889
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["MessagesApi.messagesCreate"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2890
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2891
|
-
},
|
|
2892
|
-
/**
|
|
2893
|
-
*
|
|
2894
|
-
* @summary Messages Get
|
|
2895
|
-
* @param {string} messageId
|
|
2896
|
-
* @param {*} [options] Override http request option.
|
|
2897
|
-
* @throws {RequiredError}
|
|
2898
|
-
*/
|
|
2899
|
-
async messagesGet(messageId, options) {
|
|
2900
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
2901
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
2902
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["MessagesApi.messagesGet"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
2903
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2904
|
-
},
|
|
2905
|
-
/**
|
|
2906
|
-
*
|
|
2907
|
-
* @summary Messages List
|
|
2908
|
-
* @param {string | null} [searchString]
|
|
2909
|
-
* @param {string | null} [contactId]
|
|
2910
|
-
* @param {string | null} [conversationId]
|
|
2911
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2912
|
-
* @param {number} [limit]
|
|
2913
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2914
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
2915
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2916
|
-
* @param {*} [options] Override http request option.
|
|
2917
|
-
* @throws {RequiredError}
|
|
2918
|
-
*/
|
|
2919
|
-
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2920
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2921
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
2922
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["MessagesApi.messagesList"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
2923
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2924
|
-
}
|
|
2925
|
-
};
|
|
2926
|
-
};
|
|
2927
|
-
var MessagesApiFactory = function(configuration, basePath, axios) {
|
|
2928
|
-
const localVarFp = MessagesApiFp(configuration);
|
|
2929
|
-
return {
|
|
2930
|
-
/**
|
|
2931
|
-
*
|
|
2932
|
-
* @summary Messages Create
|
|
2933
|
-
* @param {string} conversationId
|
|
2934
|
-
* @param {MessageCreate} messageCreate
|
|
2935
|
-
* @param {*} [options] Override http request option.
|
|
2936
|
-
* @throws {RequiredError}
|
|
2937
|
-
*/
|
|
2938
|
-
messagesCreate(conversationId, messageCreate, options) {
|
|
2939
|
-
return localVarFp.messagesCreate(conversationId, messageCreate, options).then((request) => request(axios, basePath));
|
|
2940
|
-
},
|
|
2941
|
-
/**
|
|
2942
|
-
*
|
|
2943
|
-
* @summary Messages Get
|
|
2944
|
-
* @param {string} messageId
|
|
2945
|
-
* @param {*} [options] Override http request option.
|
|
2946
|
-
* @throws {RequiredError}
|
|
2947
|
-
*/
|
|
2948
|
-
messagesGet(messageId, options) {
|
|
2949
|
-
return localVarFp.messagesGet(messageId, options).then((request) => request(axios, basePath));
|
|
2950
|
-
},
|
|
2951
|
-
/**
|
|
2952
|
-
*
|
|
2953
|
-
* @summary Messages List
|
|
2954
|
-
* @param {string | null} [searchString]
|
|
2955
|
-
* @param {string | null} [contactId]
|
|
2956
|
-
* @param {string | null} [conversationId]
|
|
2957
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2958
|
-
* @param {number} [limit]
|
|
2959
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2960
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
2961
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2962
|
-
* @param {*} [options] Override http request option.
|
|
2963
|
-
* @throws {RequiredError}
|
|
2964
|
-
*/
|
|
2965
|
-
messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2966
|
-
return localVarFp.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2967
|
-
}
|
|
2968
|
-
};
|
|
2969
|
-
};
|
|
2970
|
-
var MessagesApi = class extends BaseAPI {
|
|
2971
|
-
/**
|
|
2972
|
-
*
|
|
2973
|
-
* @summary Messages Create
|
|
2974
|
-
* @param {string} conversationId
|
|
2975
|
-
* @param {MessageCreate} messageCreate
|
|
2976
|
-
* @param {*} [options] Override http request option.
|
|
2977
|
-
* @throws {RequiredError}
|
|
2978
|
-
* @memberof MessagesApi
|
|
2979
|
-
*/
|
|
2980
|
-
messagesCreate(conversationId, messageCreate, options) {
|
|
2981
|
-
return MessagesApiFp(this.configuration).messagesCreate(conversationId, messageCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2982
|
-
}
|
|
2983
|
-
/**
|
|
2984
|
-
*
|
|
2985
|
-
* @summary Messages Get
|
|
2986
|
-
* @param {string} messageId
|
|
2987
|
-
* @param {*} [options] Override http request option.
|
|
2988
|
-
* @throws {RequiredError}
|
|
2989
|
-
* @memberof MessagesApi
|
|
2990
|
-
*/
|
|
2991
|
-
messagesGet(messageId, options) {
|
|
2992
|
-
return MessagesApiFp(this.configuration).messagesGet(messageId, options).then((request) => request(this.axios, this.basePath));
|
|
2993
|
-
}
|
|
2994
|
-
/**
|
|
2995
|
-
*
|
|
2996
|
-
* @summary Messages List
|
|
2997
|
-
* @param {string | null} [searchString]
|
|
2998
|
-
* @param {string | null} [contactId]
|
|
2999
|
-
* @param {string | null} [conversationId]
|
|
3000
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3001
|
-
* @param {number} [limit]
|
|
3002
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3003
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
3004
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3005
|
-
* @param {*} [options] Override http request option.
|
|
3006
|
-
* @throws {RequiredError}
|
|
3007
|
-
* @memberof MessagesApi
|
|
3008
|
-
*/
|
|
3009
|
-
messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3010
|
-
return MessagesApiFp(this.configuration).messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
3011
|
-
}
|
|
3012
|
-
};
|
|
3013
|
-
var PhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
3014
|
-
return {
|
|
3015
|
-
/**
|
|
3016
|
-
*
|
|
3017
|
-
* @summary Phone_numbers Create
|
|
3018
|
-
* @param {string} contactId
|
|
3019
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
3020
|
-
* @param {*} [options] Override http request option.
|
|
3021
|
-
* @throws {RequiredError}
|
|
3022
|
-
*/
|
|
3023
|
-
phoneNumbersCreate: async (contactId, phoneNumberCreate, options = {}) => {
|
|
3024
|
-
assertParamExists("phoneNumbersCreate", "contactId", contactId);
|
|
3025
|
-
assertParamExists("phoneNumbersCreate", "phoneNumberCreate", phoneNumberCreate);
|
|
3026
|
-
const localVarPath = `/contacts/{contactId}/phone_numbers`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
3027
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3028
|
-
let baseOptions;
|
|
3029
|
-
if (configuration) {
|
|
3030
|
-
baseOptions = configuration.baseOptions;
|
|
3031
|
-
}
|
|
3032
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3033
|
-
const localVarHeaderParameter = {};
|
|
3034
|
-
const localVarQueryParameter = {};
|
|
3035
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3036
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3037
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3038
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3039
|
-
localVarRequestOptions.data = serializeDataIfNeeded(phoneNumberCreate, localVarRequestOptions, configuration);
|
|
3040
|
-
return {
|
|
3041
|
-
url: toPathString(localVarUrlObj),
|
|
3042
|
-
options: localVarRequestOptions
|
|
3043
|
-
};
|
|
3044
|
-
},
|
|
3045
|
-
/**
|
|
3046
|
-
*
|
|
3047
|
-
* @summary Phone_numbers Delete
|
|
3048
|
-
* @param {string} phoneNumberId
|
|
3049
|
-
* @param {*} [options] Override http request option.
|
|
3050
|
-
* @throws {RequiredError}
|
|
3051
|
-
*/
|
|
3052
|
-
phoneNumbersDelete: async (phoneNumberId, options = {}) => {
|
|
3053
|
-
assertParamExists("phoneNumbersDelete", "phoneNumberId", phoneNumberId);
|
|
3054
|
-
const localVarPath = `/phone_numbers/{phoneNumberId}`.replace(`{${"phoneNumberId"}}`, encodeURIComponent(String(phoneNumberId)));
|
|
3055
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3056
|
-
let baseOptions;
|
|
3057
|
-
if (configuration) {
|
|
3058
|
-
baseOptions = configuration.baseOptions;
|
|
3059
|
-
}
|
|
3060
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3061
|
-
const localVarHeaderParameter = {};
|
|
3062
|
-
const localVarQueryParameter = {};
|
|
3063
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3064
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3065
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3066
|
-
return {
|
|
3067
|
-
url: toPathString(localVarUrlObj),
|
|
3068
|
-
options: localVarRequestOptions
|
|
3069
|
-
};
|
|
3070
|
-
},
|
|
3071
|
-
/**
|
|
3072
|
-
*
|
|
3073
|
-
* @summary Phone_numbers Update
|
|
3074
|
-
* @param {string} phoneNumberId
|
|
3075
|
-
* @param {PhoneNumberUpdate} phoneNumberUpdate
|
|
3076
|
-
* @param {*} [options] Override http request option.
|
|
3077
|
-
* @throws {RequiredError}
|
|
3078
|
-
*/
|
|
3079
|
-
phoneNumbersUpdate: async (phoneNumberId, phoneNumberUpdate, options = {}) => {
|
|
3080
|
-
assertParamExists("phoneNumbersUpdate", "phoneNumberId", phoneNumberId);
|
|
3081
|
-
assertParamExists("phoneNumbersUpdate", "phoneNumberUpdate", phoneNumberUpdate);
|
|
3082
|
-
const localVarPath = `/phone_numbers/{phoneNumberId}`.replace(`{${"phoneNumberId"}}`, encodeURIComponent(String(phoneNumberId)));
|
|
3083
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3084
|
-
let baseOptions;
|
|
3085
|
-
if (configuration) {
|
|
3086
|
-
baseOptions = configuration.baseOptions;
|
|
3087
|
-
}
|
|
3088
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
3089
|
-
const localVarHeaderParameter = {};
|
|
3090
|
-
const localVarQueryParameter = {};
|
|
3091
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3092
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3093
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3094
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3095
|
-
localVarRequestOptions.data = serializeDataIfNeeded(phoneNumberUpdate, localVarRequestOptions, configuration);
|
|
3096
|
-
return {
|
|
3097
|
-
url: toPathString(localVarUrlObj),
|
|
3098
|
-
options: localVarRequestOptions
|
|
3099
|
-
};
|
|
3100
|
-
}
|
|
3101
|
-
};
|
|
3102
|
-
};
|
|
3103
|
-
var PhoneNumbersApiFp = function(configuration) {
|
|
3104
|
-
const localVarAxiosParamCreator = PhoneNumbersApiAxiosParamCreator(configuration);
|
|
2188
|
+
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
3105
2189
|
return {
|
|
3106
2190
|
/**
|
|
3107
2191
|
*
|
|
3108
|
-
* @summary
|
|
3109
|
-
* @param {string}
|
|
3110
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
3111
|
-
* @param {*} [options] Override http request option.
|
|
3112
|
-
* @throws {RequiredError}
|
|
3113
|
-
*/
|
|
3114
|
-
async phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
3115
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, phoneNumberCreate, options);
|
|
3116
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
3117
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["PhoneNumbersApi.phoneNumbersCreate"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
3118
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3119
|
-
},
|
|
3120
|
-
/**
|
|
3121
|
-
*
|
|
3122
|
-
* @summary Phone_numbers Delete
|
|
3123
|
-
* @param {string} phoneNumberId
|
|
2192
|
+
* @summary Listings Get
|
|
2193
|
+
* @param {string} listingId
|
|
3124
2194
|
* @param {*} [options] Override http request option.
|
|
3125
2195
|
* @throws {RequiredError}
|
|
3126
2196
|
*/
|
|
3127
|
-
async
|
|
3128
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3129
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3130
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2197
|
+
async listingsGet(listingId, options) {
|
|
2198
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
2199
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _110 => _110.serverIndex]), () => ( 0));
|
|
2200
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _111 => _111["ListingsApi.listingsGet"], 'optionalAccess', _112 => _112[localVarOperationServerIndex], 'optionalAccess', _113 => _113.url]);
|
|
3131
2201
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3132
2202
|
},
|
|
3133
2203
|
/**
|
|
3134
2204
|
*
|
|
3135
|
-
* @summary
|
|
3136
|
-
* @param {string}
|
|
3137
|
-
* @param {
|
|
2205
|
+
* @summary Listings List
|
|
2206
|
+
* @param {string | null} [searchString]
|
|
2207
|
+
* @param {string | null} [contactId]
|
|
2208
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2209
|
+
* @param {number} [limit]
|
|
2210
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2211
|
+
* @param {ListingSortBy} [sortBy] Sort key
|
|
2212
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3138
2213
|
* @param {*} [options] Override http request option.
|
|
3139
2214
|
* @throws {RequiredError}
|
|
3140
2215
|
*/
|
|
3141
|
-
async
|
|
3142
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3143
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3144
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2216
|
+
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2218
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2219
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["ListingsApi.listingsList"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
3145
2220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3146
2221
|
}
|
|
3147
2222
|
};
|
|
3148
2223
|
};
|
|
3149
|
-
var
|
|
3150
|
-
const localVarFp =
|
|
2224
|
+
var ListingsApiFactory = function(configuration, basePath, axios) {
|
|
2225
|
+
const localVarFp = ListingsApiFp(configuration);
|
|
3151
2226
|
return {
|
|
3152
2227
|
/**
|
|
3153
2228
|
*
|
|
3154
|
-
* @summary
|
|
3155
|
-
* @param {string}
|
|
3156
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
3157
|
-
* @param {*} [options] Override http request option.
|
|
3158
|
-
* @throws {RequiredError}
|
|
3159
|
-
*/
|
|
3160
|
-
phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
3161
|
-
return localVarFp.phoneNumbersCreate(contactId, phoneNumberCreate, options).then((request) => request(axios, basePath));
|
|
3162
|
-
},
|
|
3163
|
-
/**
|
|
3164
|
-
*
|
|
3165
|
-
* @summary Phone_numbers Delete
|
|
3166
|
-
* @param {string} phoneNumberId
|
|
2229
|
+
* @summary Listings Get
|
|
2230
|
+
* @param {string} listingId
|
|
3167
2231
|
* @param {*} [options] Override http request option.
|
|
3168
2232
|
* @throws {RequiredError}
|
|
3169
2233
|
*/
|
|
3170
|
-
|
|
3171
|
-
return localVarFp.
|
|
2234
|
+
listingsGet(listingId, options) {
|
|
2235
|
+
return localVarFp.listingsGet(listingId, options).then((request) => request(axios, basePath));
|
|
3172
2236
|
},
|
|
3173
2237
|
/**
|
|
3174
2238
|
*
|
|
3175
|
-
* @summary
|
|
3176
|
-
* @param {string}
|
|
3177
|
-
* @param {
|
|
2239
|
+
* @summary Listings List
|
|
2240
|
+
* @param {string | null} [searchString]
|
|
2241
|
+
* @param {string | null} [contactId]
|
|
2242
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2243
|
+
* @param {number} [limit]
|
|
2244
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2245
|
+
* @param {ListingSortBy} [sortBy] Sort key
|
|
2246
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3178
2247
|
* @param {*} [options] Override http request option.
|
|
3179
2248
|
* @throws {RequiredError}
|
|
3180
2249
|
*/
|
|
3181
|
-
|
|
3182
|
-
return localVarFp.
|
|
2250
|
+
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2251
|
+
return localVarFp.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
3183
2252
|
}
|
|
3184
2253
|
};
|
|
3185
2254
|
};
|
|
3186
|
-
var
|
|
2255
|
+
var ListingsApi = class extends BaseAPI {
|
|
3187
2256
|
/**
|
|
3188
2257
|
*
|
|
3189
|
-
* @summary
|
|
3190
|
-
* @param {string}
|
|
3191
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
2258
|
+
* @summary Listings Get
|
|
2259
|
+
* @param {string} listingId
|
|
3192
2260
|
* @param {*} [options] Override http request option.
|
|
3193
2261
|
* @throws {RequiredError}
|
|
3194
|
-
* @memberof
|
|
2262
|
+
* @memberof ListingsApi
|
|
3195
2263
|
*/
|
|
3196
|
-
|
|
3197
|
-
return
|
|
2264
|
+
listingsGet(listingId, options) {
|
|
2265
|
+
return ListingsApiFp(this.configuration).listingsGet(listingId, options).then((request) => request(this.axios, this.basePath));
|
|
3198
2266
|
}
|
|
3199
2267
|
/**
|
|
3200
2268
|
*
|
|
3201
|
-
* @summary
|
|
3202
|
-
* @param {string}
|
|
2269
|
+
* @summary Listings List
|
|
2270
|
+
* @param {string | null} [searchString]
|
|
2271
|
+
* @param {string | null} [contactId]
|
|
2272
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2273
|
+
* @param {number} [limit]
|
|
2274
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2275
|
+
* @param {ListingSortBy} [sortBy] Sort key
|
|
2276
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3203
2277
|
* @param {*} [options] Override http request option.
|
|
3204
2278
|
* @throws {RequiredError}
|
|
3205
|
-
* @memberof
|
|
2279
|
+
* @memberof ListingsApi
|
|
3206
2280
|
*/
|
|
3207
|
-
|
|
3208
|
-
return
|
|
2281
|
+
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2282
|
+
return ListingsApiFp(this.configuration).listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
3209
2283
|
}
|
|
2284
|
+
};
|
|
2285
|
+
var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
2286
|
+
return {
|
|
2287
|
+
/**
|
|
2288
|
+
*
|
|
2289
|
+
* @summary Managed_phone_numbers List
|
|
2290
|
+
* @param {*} [options] Override http request option.
|
|
2291
|
+
* @throws {RequiredError}
|
|
2292
|
+
*/
|
|
2293
|
+
managedPhoneNumbersList: async (options = {}) => {
|
|
2294
|
+
const localVarPath = `/managed_phone_numbers`;
|
|
2295
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2296
|
+
let baseOptions;
|
|
2297
|
+
if (configuration) {
|
|
2298
|
+
baseOptions = configuration.baseOptions;
|
|
2299
|
+
}
|
|
2300
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2301
|
+
const localVarHeaderParameter = {};
|
|
2302
|
+
const localVarQueryParameter = {};
|
|
2303
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2305
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2306
|
+
return {
|
|
2307
|
+
url: toPathString(localVarUrlObj),
|
|
2308
|
+
options: localVarRequestOptions
|
|
2309
|
+
};
|
|
2310
|
+
}
|
|
2311
|
+
};
|
|
2312
|
+
};
|
|
2313
|
+
var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
2314
|
+
const localVarAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator(configuration);
|
|
2315
|
+
return {
|
|
2316
|
+
/**
|
|
2317
|
+
*
|
|
2318
|
+
* @summary Managed_phone_numbers List
|
|
2319
|
+
* @param {*} [options] Override http request option.
|
|
2320
|
+
* @throws {RequiredError}
|
|
2321
|
+
*/
|
|
2322
|
+
async managedPhoneNumbersList(options) {
|
|
2323
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2324
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2325
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["ManagedPhoneNumbersApi.managedPhoneNumbersList"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2326
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2327
|
+
}
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
var ManagedPhoneNumbersApiFactory = function(configuration, basePath, axios) {
|
|
2331
|
+
const localVarFp = ManagedPhoneNumbersApiFp(configuration);
|
|
2332
|
+
return {
|
|
2333
|
+
/**
|
|
2334
|
+
*
|
|
2335
|
+
* @summary Managed_phone_numbers List
|
|
2336
|
+
* @param {*} [options] Override http request option.
|
|
2337
|
+
* @throws {RequiredError}
|
|
2338
|
+
*/
|
|
2339
|
+
managedPhoneNumbersList(options) {
|
|
2340
|
+
return localVarFp.managedPhoneNumbersList(options).then((request) => request(axios, basePath));
|
|
2341
|
+
}
|
|
2342
|
+
};
|
|
2343
|
+
};
|
|
2344
|
+
var ManagedPhoneNumbersApi = class extends BaseAPI {
|
|
3210
2345
|
/**
|
|
3211
2346
|
*
|
|
3212
|
-
* @summary
|
|
3213
|
-
* @param {string} phoneNumberId
|
|
3214
|
-
* @param {PhoneNumberUpdate} phoneNumberUpdate
|
|
2347
|
+
* @summary Managed_phone_numbers List
|
|
3215
2348
|
* @param {*} [options] Override http request option.
|
|
3216
2349
|
* @throws {RequiredError}
|
|
3217
|
-
* @memberof
|
|
2350
|
+
* @memberof ManagedPhoneNumbersApi
|
|
3218
2351
|
*/
|
|
3219
|
-
|
|
3220
|
-
return
|
|
2352
|
+
managedPhoneNumbersList(options) {
|
|
2353
|
+
return ManagedPhoneNumbersApiFp(this.configuration).managedPhoneNumbersList(options).then((request) => request(this.axios, this.basePath));
|
|
3221
2354
|
}
|
|
3222
2355
|
};
|
|
3223
2356
|
var ProvidersApiAxiosParamCreator = function(configuration) {
|
|
@@ -3344,8 +2477,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
3344
2477
|
*/
|
|
3345
2478
|
async providersCreate(providerCreate, options) {
|
|
3346
2479
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(providerCreate, options);
|
|
3347
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3348
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2480
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2481
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["ProvidersApi.providersCreate"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
3349
2482
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3350
2483
|
},
|
|
3351
2484
|
/**
|
|
@@ -3357,8 +2490,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
3357
2490
|
*/
|
|
3358
2491
|
async providersGet(providerId, options) {
|
|
3359
2492
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
3360
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3361
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2493
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _126 => _126.serverIndex]), () => ( 0));
|
|
2494
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _127 => _127["ProvidersApi.providersGet"], 'optionalAccess', _128 => _128[localVarOperationServerIndex], 'optionalAccess', _129 => _129.url]);
|
|
3362
2495
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3363
2496
|
},
|
|
3364
2497
|
/**
|
|
@@ -3369,8 +2502,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
3369
2502
|
*/
|
|
3370
2503
|
async providersList(options) {
|
|
3371
2504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
3372
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3373
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2505
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _130 => _130.serverIndex]), () => ( 0));
|
|
2506
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _131 => _131["ProvidersApi.providersList"], 'optionalAccess', _132 => _132[localVarOperationServerIndex], 'optionalAccess', _133 => _133.url]);
|
|
3374
2507
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3375
2508
|
},
|
|
3376
2509
|
/**
|
|
@@ -3383,8 +2516,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
3383
2516
|
*/
|
|
3384
2517
|
async providersUpdate(providerId, providerUpdate, options) {
|
|
3385
2518
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, providerUpdate, options);
|
|
3386
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3387
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2519
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2520
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["ProvidersApi.providersUpdate"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
3388
2521
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3389
2522
|
}
|
|
3390
2523
|
};
|
|
@@ -3574,8 +2707,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3574
2707
|
*/
|
|
3575
2708
|
async reservationsGet(reservationId, options) {
|
|
3576
2709
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
3577
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3578
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2710
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2711
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["ReservationsApi.reservationsGet"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
3579
2712
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3580
2713
|
},
|
|
3581
2714
|
/**
|
|
@@ -3593,8 +2726,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3593
2726
|
*/
|
|
3594
2727
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3595
2728
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
3596
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3597
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2729
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2730
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["ReservationsApi.reservationsList"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
3598
2731
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3599
2732
|
}
|
|
3600
2733
|
};
|
|
@@ -4804,8 +3937,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4804
3937
|
*/
|
|
4805
3938
|
async accountsList(options) {
|
|
4806
3939
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
4807
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4808
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3940
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
3941
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["UnboundApi.accountsList"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
4809
3942
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4810
3943
|
},
|
|
4811
3944
|
/**
|
|
@@ -4818,8 +3951,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4818
3951
|
*/
|
|
4819
3952
|
async addressesCreate(contactId, addressCreate, options) {
|
|
4820
3953
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
4821
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4822
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3954
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
3955
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["UnboundApi.addressesCreate"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
4823
3956
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4824
3957
|
},
|
|
4825
3958
|
/**
|
|
@@ -4831,8 +3964,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4831
3964
|
*/
|
|
4832
3965
|
async addressesDelete(addressId, options) {
|
|
4833
3966
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
4834
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4835
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3967
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
3968
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["UnboundApi.addressesDelete"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
4836
3969
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4837
3970
|
},
|
|
4838
3971
|
/**
|
|
@@ -4845,8 +3978,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4845
3978
|
*/
|
|
4846
3979
|
async addressesUpdate(addressId, addressUpdate, options) {
|
|
4847
3980
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
4848
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4849
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3981
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
3982
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["UnboundApi.addressesUpdate"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
4850
3983
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4851
3984
|
},
|
|
4852
3985
|
/**
|
|
@@ -4860,8 +3993,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4860
3993
|
*/
|
|
4861
3994
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
4862
3995
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
4863
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4864
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3996
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
3997
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["UnboundApi.contactsAddListing"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
4865
3998
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4866
3999
|
},
|
|
4867
4000
|
/**
|
|
@@ -4873,8 +4006,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4873
4006
|
*/
|
|
4874
4007
|
async contactsCreate(contactCreate, options) {
|
|
4875
4008
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactCreate, options);
|
|
4876
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4877
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4009
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _166 => _166.serverIndex]), () => ( 0));
|
|
4010
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _167 => _167["UnboundApi.contactsCreate"], 'optionalAccess', _168 => _168[localVarOperationServerIndex], 'optionalAccess', _169 => _169.url]);
|
|
4878
4011
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4879
4012
|
},
|
|
4880
4013
|
/**
|
|
@@ -4886,8 +4019,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4886
4019
|
*/
|
|
4887
4020
|
async contactsDelete(contactId, options) {
|
|
4888
4021
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
4889
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4890
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4022
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _170 => _170.serverIndex]), () => ( 0));
|
|
4023
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _171 => _171["UnboundApi.contactsDelete"], 'optionalAccess', _172 => _172[localVarOperationServerIndex], 'optionalAccess', _173 => _173.url]);
|
|
4891
4024
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4892
4025
|
},
|
|
4893
4026
|
/**
|
|
@@ -4899,8 +4032,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4899
4032
|
*/
|
|
4900
4033
|
async contactsGet(contactId, options) {
|
|
4901
4034
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
4902
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4903
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4035
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _174 => _174.serverIndex]), () => ( 0));
|
|
4036
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _175 => _175["UnboundApi.contactsGet"], 'optionalAccess', _176 => _176[localVarOperationServerIndex], 'optionalAccess', _177 => _177.url]);
|
|
4904
4037
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4905
4038
|
},
|
|
4906
4039
|
/**
|
|
@@ -4917,8 +4050,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4917
4050
|
*/
|
|
4918
4051
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4919
4052
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4920
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4921
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4053
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _178 => _178.serverIndex]), () => ( 0));
|
|
4054
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _179 => _179["UnboundApi.contactsList"], 'optionalAccess', _180 => _180[localVarOperationServerIndex], 'optionalAccess', _181 => _181.url]);
|
|
4922
4055
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4923
4056
|
},
|
|
4924
4057
|
/**
|
|
@@ -4932,8 +4065,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4932
4065
|
*/
|
|
4933
4066
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
4934
4067
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
4935
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4936
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4068
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _182 => _182.serverIndex]), () => ( 0));
|
|
4069
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _183 => _183["UnboundApi.contactsRemoveListing"], 'optionalAccess', _184 => _184[localVarOperationServerIndex], 'optionalAccess', _185 => _185.url]);
|
|
4937
4070
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4938
4071
|
},
|
|
4939
4072
|
/**
|
|
@@ -4946,8 +4079,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4946
4079
|
*/
|
|
4947
4080
|
async contactsUpdate(contactId, contactUpdate, options) {
|
|
4948
4081
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
|
|
4949
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4950
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4082
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _186 => _186.serverIndex]), () => ( 0));
|
|
4083
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _187 => _187["UnboundApi.contactsUpdate"], 'optionalAccess', _188 => _188[localVarOperationServerIndex], 'optionalAccess', _189 => _189.url]);
|
|
4951
4084
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4952
4085
|
},
|
|
4953
4086
|
/**
|
|
@@ -4961,8 +4094,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4961
4094
|
*/
|
|
4962
4095
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4963
4096
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
4964
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4965
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4097
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _190 => _190.serverIndex]), () => ( 0));
|
|
4098
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _191 => _191["UnboundApi.contactsUpdateListing"], 'optionalAccess', _192 => _192[localVarOperationServerIndex], 'optionalAccess', _193 => _193.url]);
|
|
4966
4099
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4967
4100
|
},
|
|
4968
4101
|
/**
|
|
@@ -4974,8 +4107,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4974
4107
|
*/
|
|
4975
4108
|
async conversationsCreate(conversationCreate, options) {
|
|
4976
4109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(conversationCreate, options);
|
|
4977
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4978
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4110
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _194 => _194.serverIndex]), () => ( 0));
|
|
4111
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _195 => _195["UnboundApi.conversationsCreate"], 'optionalAccess', _196 => _196[localVarOperationServerIndex], 'optionalAccess', _197 => _197.url]);
|
|
4979
4112
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4980
4113
|
},
|
|
4981
4114
|
/**
|
|
@@ -4987,8 +4120,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4987
4120
|
*/
|
|
4988
4121
|
async conversationsGet(conversationId, options) {
|
|
4989
4122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4990
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4991
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4123
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _198 => _198.serverIndex]), () => ( 0));
|
|
4124
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _199 => _199["UnboundApi.conversationsGet"], 'optionalAccess', _200 => _200[localVarOperationServerIndex], 'optionalAccess', _201 => _201.url]);
|
|
4992
4125
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4993
4126
|
},
|
|
4994
4127
|
/**
|
|
@@ -5006,8 +4139,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5006
4139
|
*/
|
|
5007
4140
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5008
4141
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5009
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5010
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4142
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _202 => _202.serverIndex]), () => ( 0));
|
|
4143
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _203 => _203["UnboundApi.conversationsList"], 'optionalAccess', _204 => _204[localVarOperationServerIndex], 'optionalAccess', _205 => _205.url]);
|
|
5011
4144
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5012
4145
|
},
|
|
5013
4146
|
/**
|
|
@@ -5020,8 +4153,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5020
4153
|
*/
|
|
5021
4154
|
async conversationsUpdate(conversationId, conversationUpdate, options) {
|
|
5022
4155
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, conversationUpdate, options);
|
|
5023
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5024
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4156
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _206 => _206.serverIndex]), () => ( 0));
|
|
4157
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _207 => _207["UnboundApi.conversationsUpdate"], 'optionalAccess', _208 => _208[localVarOperationServerIndex], 'optionalAccess', _209 => _209.url]);
|
|
5025
4158
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5026
4159
|
},
|
|
5027
4160
|
/**
|
|
@@ -5034,8 +4167,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5034
4167
|
*/
|
|
5035
4168
|
async emailsCreate(contactId, emailCreate, options) {
|
|
5036
4169
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
5037
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5038
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4170
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _210 => _210.serverIndex]), () => ( 0));
|
|
4171
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _211 => _211["UnboundApi.emailsCreate"], 'optionalAccess', _212 => _212[localVarOperationServerIndex], 'optionalAccess', _213 => _213.url]);
|
|
5039
4172
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5040
4173
|
},
|
|
5041
4174
|
/**
|
|
@@ -5047,8 +4180,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5047
4180
|
*/
|
|
5048
4181
|
async emailsDelete(emailId, options) {
|
|
5049
4182
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
5050
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5051
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4183
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _214 => _214.serverIndex]), () => ( 0));
|
|
4184
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _215 => _215["UnboundApi.emailsDelete"], 'optionalAccess', _216 => _216[localVarOperationServerIndex], 'optionalAccess', _217 => _217.url]);
|
|
5052
4185
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5053
4186
|
},
|
|
5054
4187
|
/**
|
|
@@ -5061,8 +4194,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5061
4194
|
*/
|
|
5062
4195
|
async emailsUpdate(emailId, emailUpdate, options) {
|
|
5063
4196
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, emailUpdate, options);
|
|
5064
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5065
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4197
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _218 => _218.serverIndex]), () => ( 0));
|
|
4198
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _219 => _219["UnboundApi.emailsUpdate"], 'optionalAccess', _220 => _220[localVarOperationServerIndex], 'optionalAccess', _221 => _221.url]);
|
|
5066
4199
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5067
4200
|
},
|
|
5068
4201
|
/**
|
|
@@ -5074,8 +4207,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5074
4207
|
*/
|
|
5075
4208
|
async inquiriesList(contactId, options) {
|
|
5076
4209
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
5077
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5078
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4210
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _222 => _222.serverIndex]), () => ( 0));
|
|
4211
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.inquiriesList"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
5079
4212
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5080
4213
|
},
|
|
5081
4214
|
/**
|
|
@@ -5087,8 +4220,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5087
4220
|
*/
|
|
5088
4221
|
async listingsGet(listingId, options) {
|
|
5089
4222
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
5090
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5091
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4223
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4224
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.listingsGet"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
5092
4225
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5093
4226
|
},
|
|
5094
4227
|
/**
|
|
@@ -5106,8 +4239,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5106
4239
|
*/
|
|
5107
4240
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5108
4241
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5109
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5110
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4242
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4243
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["UnboundApi.listingsList"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
5111
4244
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5112
4245
|
},
|
|
5113
4246
|
/**
|
|
@@ -5118,8 +4251,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5118
4251
|
*/
|
|
5119
4252
|
async managedPhoneNumbersList(options) {
|
|
5120
4253
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
5121
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5122
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4254
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4255
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
5123
4256
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5124
4257
|
},
|
|
5125
4258
|
/**
|
|
@@ -5132,8 +4265,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5132
4265
|
*/
|
|
5133
4266
|
async messagesCreate(conversationId, messageCreate, options) {
|
|
5134
4267
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messageCreate, options);
|
|
5135
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5136
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4268
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4269
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.messagesCreate"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
5137
4270
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5138
4271
|
},
|
|
5139
4272
|
/**
|
|
@@ -5145,8 +4278,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5145
4278
|
*/
|
|
5146
4279
|
async messagesGet(messageId, options) {
|
|
5147
4280
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
5148
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5149
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4281
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4282
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.messagesGet"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
5150
4283
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5151
4284
|
},
|
|
5152
4285
|
/**
|
|
@@ -5165,8 +4298,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5165
4298
|
*/
|
|
5166
4299
|
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5167
4300
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5168
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5169
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4301
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4302
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.messagesList"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
5170
4303
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5171
4304
|
},
|
|
5172
4305
|
/**
|
|
@@ -5179,8 +4312,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5179
4312
|
*/
|
|
5180
4313
|
async phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
5181
4314
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, phoneNumberCreate, options);
|
|
5182
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5183
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4315
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4316
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.phoneNumbersCreate"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
5184
4317
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5185
4318
|
},
|
|
5186
4319
|
/**
|
|
@@ -5192,8 +4325,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5192
4325
|
*/
|
|
5193
4326
|
async phoneNumbersDelete(phoneNumberId, options) {
|
|
5194
4327
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersDelete(phoneNumberId, options);
|
|
5195
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5196
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4328
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4329
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.phoneNumbersDelete"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
5197
4330
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5198
4331
|
},
|
|
5199
4332
|
/**
|
|
@@ -5206,8 +4339,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5206
4339
|
*/
|
|
5207
4340
|
async phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
5208
4341
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options);
|
|
5209
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5210
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4342
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4343
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.phoneNumbersUpdate"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
5211
4344
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5212
4345
|
},
|
|
5213
4346
|
/**
|
|
@@ -5219,8 +4352,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5219
4352
|
*/
|
|
5220
4353
|
async providersCreate(providerCreate, options) {
|
|
5221
4354
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(providerCreate, options);
|
|
5222
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5223
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4355
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4356
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.providersCreate"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
5224
4357
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5225
4358
|
},
|
|
5226
4359
|
/**
|
|
@@ -5232,8 +4365,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5232
4365
|
*/
|
|
5233
4366
|
async providersGet(providerId, options) {
|
|
5234
4367
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
5235
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5236
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4368
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4369
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.providersGet"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
5237
4370
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5238
4371
|
},
|
|
5239
4372
|
/**
|
|
@@ -5244,8 +4377,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5244
4377
|
*/
|
|
5245
4378
|
async providersList(options) {
|
|
5246
4379
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
5247
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5248
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4380
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
4381
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.providersList"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
5249
4382
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5250
4383
|
},
|
|
5251
4384
|
/**
|
|
@@ -5258,8 +4391,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5258
4391
|
*/
|
|
5259
4392
|
async providersUpdate(providerId, providerUpdate, options) {
|
|
5260
4393
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, providerUpdate, options);
|
|
5261
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5262
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4394
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
4395
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.providersUpdate"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
5263
4396
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5264
4397
|
},
|
|
5265
4398
|
/**
|
|
@@ -5271,8 +4404,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5271
4404
|
*/
|
|
5272
4405
|
async reservationsGet(reservationId, options) {
|
|
5273
4406
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
5274
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5275
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4407
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
4408
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.reservationsGet"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
5276
4409
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5277
4410
|
},
|
|
5278
4411
|
/**
|
|
@@ -5290,8 +4423,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5290
4423
|
*/
|
|
5291
4424
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5292
4425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5293
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5294
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4426
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
4427
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.reservationsList"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
5295
4428
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5296
4429
|
},
|
|
5297
4430
|
/**
|
|
@@ -5303,8 +4436,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5303
4436
|
*/
|
|
5304
4437
|
async webhook(hostawayWebhook, options) {
|
|
5305
4438
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
5306
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5307
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4439
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
4440
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.webhook"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
5308
4441
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5309
4442
|
}
|
|
5310
4443
|
};
|
|
@@ -6227,7 +5360,7 @@ var Configuration = class {
|
|
|
6227
5360
|
this.baseOptions = {
|
|
6228
5361
|
...param.baseOptions,
|
|
6229
5362
|
headers: {
|
|
6230
|
-
..._optionalChain([param, 'access',
|
|
5363
|
+
..._optionalChain([param, 'access', _290 => _290.baseOptions, 'optionalAccess', _291 => _291.headers])
|
|
6231
5364
|
}
|
|
6232
5365
|
};
|
|
6233
5366
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -6311,20 +5444,5 @@ var Configuration = class {
|
|
|
6311
5444
|
|
|
6312
5445
|
|
|
6313
5446
|
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.AddressesApi = AddressesApi; exports.AddressesApiAxiosParamCreator = AddressesApiAxiosParamCreator; exports.AddressesApiFactory = AddressesApiFactory; exports.AddressesApiFp = AddressesApiFp; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactSortBy = ContactSortBy; 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.EmailsApi = EmailsApi; exports.EmailsApiAxiosParamCreator = EmailsApiAxiosParamCreator; exports.EmailsApiFactory = EmailsApiFactory; exports.EmailsApiFp = EmailsApiFp; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.ListingSortBy = ListingSortBy; 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.MessagesApi = MessagesApi; exports.MessagesApiAxiosParamCreator = MessagesApiAxiosParamCreator; exports.MessagesApiFactory = MessagesApiFactory; exports.MessagesApiFp = MessagesApiFp; exports.PaginationDirection = PaginationDirection; exports.PhoneNumbersApi = PhoneNumbersApi; exports.PhoneNumbersApiAxiosParamCreator = PhoneNumbersApiAxiosParamCreator; exports.PhoneNumbersApiFactory = PhoneNumbersApiFactory; exports.PhoneNumbersApiFp = PhoneNumbersApiFp; exports.ProviderMessageApiConversationTypeEnum = ProviderMessageApiConversationTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SortOrder = SortOrder; exports.SrcResourceModelsConversationsModelConversationsModelConversationSortBy = SrcResourceModelsConversationsModelConversationsModelConversationSortBy; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum; exports.SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy = SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.TwilioInboundSenderTypeDataApiDirectionEnum = TwilioInboundSenderTypeDataApiDirectionEnum; exports.TwilioMessageApiConversationTypeEnum = TwilioMessageApiConversationTypeEnum; exports.TwilioOutboundSenderTypeDataApiDirectionEnum = TwilioOutboundSenderTypeDataApiDirectionEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
5447
|
+
exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactSortBy = ContactSortBy; 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.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.ListingSortBy = ListingSortBy; 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.ProviderMessageApiConversationTypeEnum = ProviderMessageApiConversationTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.ReservationChannelTypes = ReservationChannelTypes; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SortOrder = SortOrder; exports.SrcResourceModelsConversationsModelConversationsModelConversationSortBy = SrcResourceModelsConversationsModelConversationsModelConversationSortBy; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum; exports.SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy = SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.TwilioInboundSenderTypeDataApiDirectionEnum = TwilioInboundSenderTypeDataApiDirectionEnum; exports.TwilioMessageApiConversationTypeEnum = TwilioMessageApiConversationTypeEnum; exports.TwilioOutboundSenderTypeDataApiDirectionEnum = TwilioOutboundSenderTypeDataApiDirectionEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
6330
5448
|
//# sourceMappingURL=index.js.map
|