@ember-home/unbound-ts-client 0.0.27 → 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 +577 -781
- package/dist/index.d.ts +577 -781
- package/dist/index.js +334 -1094
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +281 -1041
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -99,7 +99,9 @@ var MessageStatus = {
|
|
|
99
99
|
Sent: "SENT",
|
|
100
100
|
Delivered: "DELIVERED",
|
|
101
101
|
Read: "READ",
|
|
102
|
-
Failed: "FAILED"
|
|
102
|
+
Failed: "FAILED",
|
|
103
|
+
Scheduled: "SCHEDULED",
|
|
104
|
+
Canceled: "CANCELED"
|
|
103
105
|
};
|
|
104
106
|
var PaginationDirection = {
|
|
105
107
|
Forward: "forward",
|
|
@@ -108,6 +110,23 @@ var PaginationDirection = {
|
|
|
108
110
|
var ProviderMessageApiConversationTypeEnum = {
|
|
109
111
|
Provider: "PROVIDER"
|
|
110
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
|
+
};
|
|
111
130
|
var SortOrder = {
|
|
112
131
|
Asc: "asc",
|
|
113
132
|
Desc: "desc"
|
|
@@ -115,16 +134,16 @@ var SortOrder = {
|
|
|
115
134
|
var SrcResourceModelsConversationsModelConversationsModelConversationSortBy = {
|
|
116
135
|
UpdatedAt: "updated_at"
|
|
117
136
|
};
|
|
118
|
-
var
|
|
137
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = {
|
|
119
138
|
Twilio: "TWILIO"
|
|
120
139
|
};
|
|
121
|
-
var
|
|
140
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = {
|
|
122
141
|
Email: "EMAIL"
|
|
123
142
|
};
|
|
124
|
-
var
|
|
143
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum = {
|
|
125
144
|
Twilio: "TWILIO"
|
|
126
145
|
};
|
|
127
|
-
var
|
|
146
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum = {
|
|
128
147
|
Email: "EMAIL"
|
|
129
148
|
};
|
|
130
149
|
var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = {
|
|
@@ -219,216 +238,6 @@ var AccountsApi = class extends BaseAPI {
|
|
|
219
238
|
return AccountsApiFp(this.configuration).accountsList(options).then((request) => request(this.axios, this.basePath));
|
|
220
239
|
}
|
|
221
240
|
};
|
|
222
|
-
var AddressesApiAxiosParamCreator = function(configuration) {
|
|
223
|
-
return {
|
|
224
|
-
/**
|
|
225
|
-
*
|
|
226
|
-
* @summary Addresses Create
|
|
227
|
-
* @param {string} contactId
|
|
228
|
-
* @param {AddressCreate} addressCreate
|
|
229
|
-
* @param {*} [options] Override http request option.
|
|
230
|
-
* @throws {RequiredError}
|
|
231
|
-
*/
|
|
232
|
-
addressesCreate: async (contactId, addressCreate, options = {}) => {
|
|
233
|
-
assertParamExists("addressesCreate", "contactId", contactId);
|
|
234
|
-
assertParamExists("addressesCreate", "addressCreate", addressCreate);
|
|
235
|
-
const localVarPath = `/contacts/{contactId}/addresses`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
236
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
237
|
-
let baseOptions;
|
|
238
|
-
if (configuration) {
|
|
239
|
-
baseOptions = configuration.baseOptions;
|
|
240
|
-
}
|
|
241
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
242
|
-
const localVarHeaderParameter = {};
|
|
243
|
-
const localVarQueryParameter = {};
|
|
244
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
245
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
246
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
248
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addressCreate, localVarRequestOptions, configuration);
|
|
249
|
-
return {
|
|
250
|
-
url: toPathString(localVarUrlObj),
|
|
251
|
-
options: localVarRequestOptions
|
|
252
|
-
};
|
|
253
|
-
},
|
|
254
|
-
/**
|
|
255
|
-
*
|
|
256
|
-
* @summary Addresses Delete
|
|
257
|
-
* @param {string} addressId
|
|
258
|
-
* @param {*} [options] Override http request option.
|
|
259
|
-
* @throws {RequiredError}
|
|
260
|
-
*/
|
|
261
|
-
addressesDelete: async (addressId, options = {}) => {
|
|
262
|
-
assertParamExists("addressesDelete", "addressId", addressId);
|
|
263
|
-
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
264
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
265
|
-
let baseOptions;
|
|
266
|
-
if (configuration) {
|
|
267
|
-
baseOptions = configuration.baseOptions;
|
|
268
|
-
}
|
|
269
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
270
|
-
const localVarHeaderParameter = {};
|
|
271
|
-
const localVarQueryParameter = {};
|
|
272
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
273
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
274
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
275
|
-
return {
|
|
276
|
-
url: toPathString(localVarUrlObj),
|
|
277
|
-
options: localVarRequestOptions
|
|
278
|
-
};
|
|
279
|
-
},
|
|
280
|
-
/**
|
|
281
|
-
*
|
|
282
|
-
* @summary Addresses Update
|
|
283
|
-
* @param {string} addressId
|
|
284
|
-
* @param {AddressUpdate} addressUpdate
|
|
285
|
-
* @param {*} [options] Override http request option.
|
|
286
|
-
* @throws {RequiredError}
|
|
287
|
-
*/
|
|
288
|
-
addressesUpdate: async (addressId, addressUpdate, options = {}) => {
|
|
289
|
-
assertParamExists("addressesUpdate", "addressId", addressId);
|
|
290
|
-
assertParamExists("addressesUpdate", "addressUpdate", addressUpdate);
|
|
291
|
-
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
292
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
293
|
-
let baseOptions;
|
|
294
|
-
if (configuration) {
|
|
295
|
-
baseOptions = configuration.baseOptions;
|
|
296
|
-
}
|
|
297
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
298
|
-
const localVarHeaderParameter = {};
|
|
299
|
-
const localVarQueryParameter = {};
|
|
300
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
301
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
302
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
303
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
304
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addressUpdate, localVarRequestOptions, configuration);
|
|
305
|
-
return {
|
|
306
|
-
url: toPathString(localVarUrlObj),
|
|
307
|
-
options: localVarRequestOptions
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
};
|
|
311
|
-
};
|
|
312
|
-
var AddressesApiFp = function(configuration) {
|
|
313
|
-
const localVarAxiosParamCreator = AddressesApiAxiosParamCreator(configuration);
|
|
314
|
-
return {
|
|
315
|
-
/**
|
|
316
|
-
*
|
|
317
|
-
* @summary Addresses Create
|
|
318
|
-
* @param {string} contactId
|
|
319
|
-
* @param {AddressCreate} addressCreate
|
|
320
|
-
* @param {*} [options] Override http request option.
|
|
321
|
-
* @throws {RequiredError}
|
|
322
|
-
*/
|
|
323
|
-
async addressesCreate(contactId, addressCreate, options) {
|
|
324
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
325
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _6 => _6.serverIndex]), () => ( 0));
|
|
326
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _7 => _7["AddressesApi.addressesCreate"], 'optionalAccess', _8 => _8[localVarOperationServerIndex], 'optionalAccess', _9 => _9.url]);
|
|
327
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
328
|
-
},
|
|
329
|
-
/**
|
|
330
|
-
*
|
|
331
|
-
* @summary Addresses Delete
|
|
332
|
-
* @param {string} addressId
|
|
333
|
-
* @param {*} [options] Override http request option.
|
|
334
|
-
* @throws {RequiredError}
|
|
335
|
-
*/
|
|
336
|
-
async addressesDelete(addressId, options) {
|
|
337
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
338
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _10 => _10.serverIndex]), () => ( 0));
|
|
339
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _11 => _11["AddressesApi.addressesDelete"], 'optionalAccess', _12 => _12[localVarOperationServerIndex], 'optionalAccess', _13 => _13.url]);
|
|
340
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
341
|
-
},
|
|
342
|
-
/**
|
|
343
|
-
*
|
|
344
|
-
* @summary Addresses Update
|
|
345
|
-
* @param {string} addressId
|
|
346
|
-
* @param {AddressUpdate} addressUpdate
|
|
347
|
-
* @param {*} [options] Override http request option.
|
|
348
|
-
* @throws {RequiredError}
|
|
349
|
-
*/
|
|
350
|
-
async addressesUpdate(addressId, addressUpdate, options) {
|
|
351
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
352
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _14 => _14.serverIndex]), () => ( 0));
|
|
353
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _15 => _15["AddressesApi.addressesUpdate"], 'optionalAccess', _16 => _16[localVarOperationServerIndex], 'optionalAccess', _17 => _17.url]);
|
|
354
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
355
|
-
}
|
|
356
|
-
};
|
|
357
|
-
};
|
|
358
|
-
var AddressesApiFactory = function(configuration, basePath, axios) {
|
|
359
|
-
const localVarFp = AddressesApiFp(configuration);
|
|
360
|
-
return {
|
|
361
|
-
/**
|
|
362
|
-
*
|
|
363
|
-
* @summary Addresses Create
|
|
364
|
-
* @param {string} contactId
|
|
365
|
-
* @param {AddressCreate} addressCreate
|
|
366
|
-
* @param {*} [options] Override http request option.
|
|
367
|
-
* @throws {RequiredError}
|
|
368
|
-
*/
|
|
369
|
-
addressesCreate(contactId, addressCreate, options) {
|
|
370
|
-
return localVarFp.addressesCreate(contactId, addressCreate, options).then((request) => request(axios, basePath));
|
|
371
|
-
},
|
|
372
|
-
/**
|
|
373
|
-
*
|
|
374
|
-
* @summary Addresses Delete
|
|
375
|
-
* @param {string} addressId
|
|
376
|
-
* @param {*} [options] Override http request option.
|
|
377
|
-
* @throws {RequiredError}
|
|
378
|
-
*/
|
|
379
|
-
addressesDelete(addressId, options) {
|
|
380
|
-
return localVarFp.addressesDelete(addressId, options).then((request) => request(axios, basePath));
|
|
381
|
-
},
|
|
382
|
-
/**
|
|
383
|
-
*
|
|
384
|
-
* @summary Addresses Update
|
|
385
|
-
* @param {string} addressId
|
|
386
|
-
* @param {AddressUpdate} addressUpdate
|
|
387
|
-
* @param {*} [options] Override http request option.
|
|
388
|
-
* @throws {RequiredError}
|
|
389
|
-
*/
|
|
390
|
-
addressesUpdate(addressId, addressUpdate, options) {
|
|
391
|
-
return localVarFp.addressesUpdate(addressId, addressUpdate, options).then((request) => request(axios, basePath));
|
|
392
|
-
}
|
|
393
|
-
};
|
|
394
|
-
};
|
|
395
|
-
var AddressesApi = class extends BaseAPI {
|
|
396
|
-
/**
|
|
397
|
-
*
|
|
398
|
-
* @summary Addresses Create
|
|
399
|
-
* @param {string} contactId
|
|
400
|
-
* @param {AddressCreate} addressCreate
|
|
401
|
-
* @param {*} [options] Override http request option.
|
|
402
|
-
* @throws {RequiredError}
|
|
403
|
-
* @memberof AddressesApi
|
|
404
|
-
*/
|
|
405
|
-
addressesCreate(contactId, addressCreate, options) {
|
|
406
|
-
return AddressesApiFp(this.configuration).addressesCreate(contactId, addressCreate, options).then((request) => request(this.axios, this.basePath));
|
|
407
|
-
}
|
|
408
|
-
/**
|
|
409
|
-
*
|
|
410
|
-
* @summary Addresses Delete
|
|
411
|
-
* @param {string} addressId
|
|
412
|
-
* @param {*} [options] Override http request option.
|
|
413
|
-
* @throws {RequiredError}
|
|
414
|
-
* @memberof AddressesApi
|
|
415
|
-
*/
|
|
416
|
-
addressesDelete(addressId, options) {
|
|
417
|
-
return AddressesApiFp(this.configuration).addressesDelete(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
418
|
-
}
|
|
419
|
-
/**
|
|
420
|
-
*
|
|
421
|
-
* @summary Addresses Update
|
|
422
|
-
* @param {string} addressId
|
|
423
|
-
* @param {AddressUpdate} addressUpdate
|
|
424
|
-
* @param {*} [options] Override http request option.
|
|
425
|
-
* @throws {RequiredError}
|
|
426
|
-
* @memberof AddressesApi
|
|
427
|
-
*/
|
|
428
|
-
addressesUpdate(addressId, addressUpdate, options) {
|
|
429
|
-
return AddressesApiFp(this.configuration).addressesUpdate(addressId, addressUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
430
|
-
}
|
|
431
|
-
};
|
|
432
241
|
var ContactsApiAxiosParamCreator = function(configuration) {
|
|
433
242
|
return {
|
|
434
243
|
/**
|
|
@@ -958,8 +767,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
958
767
|
*/
|
|
959
768
|
async addressesCreate(contactId, addressCreate, options) {
|
|
960
769
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
961
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
962
|
-
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]);
|
|
963
772
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
964
773
|
},
|
|
965
774
|
/**
|
|
@@ -971,8 +780,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
971
780
|
*/
|
|
972
781
|
async addressesDelete(addressId, options) {
|
|
973
782
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
974
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
975
|
-
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]);
|
|
976
785
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
977
786
|
},
|
|
978
787
|
/**
|
|
@@ -985,8 +794,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
985
794
|
*/
|
|
986
795
|
async addressesUpdate(addressId, addressUpdate, options) {
|
|
987
796
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
988
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
989
|
-
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]);
|
|
990
799
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
991
800
|
},
|
|
992
801
|
/**
|
|
@@ -1000,8 +809,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1000
809
|
*/
|
|
1001
810
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
1002
811
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
1003
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1004
|
-
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]);
|
|
1005
814
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1006
815
|
},
|
|
1007
816
|
/**
|
|
@@ -1013,8 +822,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1013
822
|
*/
|
|
1014
823
|
async contactsCreate(contactCreate, options) {
|
|
1015
824
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactCreate, options);
|
|
1016
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1017
|
-
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]);
|
|
1018
827
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1019
828
|
},
|
|
1020
829
|
/**
|
|
@@ -1026,8 +835,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1026
835
|
*/
|
|
1027
836
|
async contactsDelete(contactId, options) {
|
|
1028
837
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
1029
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1030
|
-
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]);
|
|
1031
840
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1032
841
|
},
|
|
1033
842
|
/**
|
|
@@ -1039,8 +848,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1039
848
|
*/
|
|
1040
849
|
async contactsGet(contactId, options) {
|
|
1041
850
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
1042
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1043
|
-
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]);
|
|
1044
853
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1045
854
|
},
|
|
1046
855
|
/**
|
|
@@ -1057,8 +866,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1057
866
|
*/
|
|
1058
867
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1059
868
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1060
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1061
|
-
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]);
|
|
1062
871
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1063
872
|
},
|
|
1064
873
|
/**
|
|
@@ -1072,8 +881,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1072
881
|
*/
|
|
1073
882
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
1074
883
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
1075
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1076
|
-
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]);
|
|
1077
886
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1078
887
|
},
|
|
1079
888
|
/**
|
|
@@ -1086,8 +895,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1086
895
|
*/
|
|
1087
896
|
async contactsUpdate(contactId, contactUpdate, options) {
|
|
1088
897
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
|
|
1089
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1090
|
-
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]);
|
|
1091
900
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1092
901
|
},
|
|
1093
902
|
/**
|
|
@@ -1101,8 +910,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1101
910
|
*/
|
|
1102
911
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
1103
912
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
1104
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1105
|
-
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]);
|
|
1106
915
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1107
916
|
},
|
|
1108
917
|
/**
|
|
@@ -1115,8 +924,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1115
924
|
*/
|
|
1116
925
|
async emailsCreate(contactId, emailCreate, options) {
|
|
1117
926
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
1118
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1119
|
-
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]);
|
|
1120
929
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1121
930
|
},
|
|
1122
931
|
/**
|
|
@@ -1128,8 +937,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1128
937
|
*/
|
|
1129
938
|
async emailsDelete(emailId, options) {
|
|
1130
939
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
1131
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1132
|
-
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]);
|
|
1133
942
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1134
943
|
},
|
|
1135
944
|
/**
|
|
@@ -1142,8 +951,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1142
951
|
*/
|
|
1143
952
|
async emailsUpdate(emailId, emailUpdate, options) {
|
|
1144
953
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, emailUpdate, options);
|
|
1145
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1146
|
-
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]);
|
|
1147
956
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1148
957
|
},
|
|
1149
958
|
/**
|
|
@@ -1156,8 +965,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1156
965
|
*/
|
|
1157
966
|
async phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
1158
967
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, phoneNumberCreate, options);
|
|
1159
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1160
|
-
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]);
|
|
1161
970
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1162
971
|
},
|
|
1163
972
|
/**
|
|
@@ -1169,8 +978,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1169
978
|
*/
|
|
1170
979
|
async phoneNumbersDelete(phoneNumberId, options) {
|
|
1171
980
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersDelete(phoneNumberId, options);
|
|
1172
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1173
|
-
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]);
|
|
1174
983
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1175
984
|
},
|
|
1176
985
|
/**
|
|
@@ -1183,8 +992,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1183
992
|
*/
|
|
1184
993
|
async phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
1185
994
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options);
|
|
1186
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1187
|
-
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]);
|
|
1188
997
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1189
998
|
}
|
|
1190
999
|
};
|
|
@@ -1853,8 +1662,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1853
1662
|
*/
|
|
1854
1663
|
async conversationsCreate(conversationCreate, options) {
|
|
1855
1664
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(conversationCreate, options);
|
|
1856
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1857
|
-
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]);
|
|
1858
1667
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1859
1668
|
},
|
|
1860
1669
|
/**
|
|
@@ -1866,8 +1675,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1866
1675
|
*/
|
|
1867
1676
|
async conversationsGet(conversationId, options) {
|
|
1868
1677
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
1869
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1870
|
-
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]);
|
|
1871
1680
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1872
1681
|
},
|
|
1873
1682
|
/**
|
|
@@ -1885,8 +1694,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1885
1694
|
*/
|
|
1886
1695
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1887
1696
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1888
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1889
|
-
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]);
|
|
1890
1699
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1891
1700
|
},
|
|
1892
1701
|
/**
|
|
@@ -1899,8 +1708,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1899
1708
|
*/
|
|
1900
1709
|
async conversationsUpdate(conversationId, conversationUpdate, options) {
|
|
1901
1710
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, conversationUpdate, options);
|
|
1902
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1903
|
-
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]);
|
|
1904
1713
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1905
1714
|
},
|
|
1906
1715
|
/**
|
|
@@ -1913,8 +1722,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1913
1722
|
*/
|
|
1914
1723
|
async messagesCreate(conversationId, messageCreate, options) {
|
|
1915
1724
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messageCreate, options);
|
|
1916
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1917
|
-
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]);
|
|
1918
1727
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1919
1728
|
},
|
|
1920
1729
|
/**
|
|
@@ -1926,8 +1735,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1926
1735
|
*/
|
|
1927
1736
|
async messagesGet(messageId, options) {
|
|
1928
1737
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
1929
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1930
|
-
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]);
|
|
1931
1740
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1932
1741
|
},
|
|
1933
1742
|
/**
|
|
@@ -1946,8 +1755,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1946
1755
|
*/
|
|
1947
1756
|
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1948
1757
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1949
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1950
|
-
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]);
|
|
1951
1760
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1952
1761
|
}
|
|
1953
1762
|
};
|
|
@@ -2136,222 +1945,12 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2136
1945
|
return ConversationsApiFp(this.configuration).messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2137
1946
|
}
|
|
2138
1947
|
};
|
|
2139
|
-
var
|
|
1948
|
+
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
2140
1949
|
return {
|
|
2141
1950
|
/**
|
|
2142
1951
|
*
|
|
2143
|
-
* @summary
|
|
2144
|
-
* @param {
|
|
2145
|
-
* @param {EmailCreate} emailCreate
|
|
2146
|
-
* @param {*} [options] Override http request option.
|
|
2147
|
-
* @throws {RequiredError}
|
|
2148
|
-
*/
|
|
2149
|
-
emailsCreate: async (contactId, emailCreate, options = {}) => {
|
|
2150
|
-
assertParamExists("emailsCreate", "contactId", contactId);
|
|
2151
|
-
assertParamExists("emailsCreate", "emailCreate", emailCreate);
|
|
2152
|
-
const localVarPath = `/contacts/{contactId}/emails`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
2153
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2154
|
-
let baseOptions;
|
|
2155
|
-
if (configuration) {
|
|
2156
|
-
baseOptions = configuration.baseOptions;
|
|
2157
|
-
}
|
|
2158
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2159
|
-
const localVarHeaderParameter = {};
|
|
2160
|
-
const localVarQueryParameter = {};
|
|
2161
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2162
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2163
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2164
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2165
|
-
localVarRequestOptions.data = serializeDataIfNeeded(emailCreate, localVarRequestOptions, configuration);
|
|
2166
|
-
return {
|
|
2167
|
-
url: toPathString(localVarUrlObj),
|
|
2168
|
-
options: localVarRequestOptions
|
|
2169
|
-
};
|
|
2170
|
-
},
|
|
2171
|
-
/**
|
|
2172
|
-
*
|
|
2173
|
-
* @summary Emails Delete
|
|
2174
|
-
* @param {string} emailId
|
|
2175
|
-
* @param {*} [options] Override http request option.
|
|
2176
|
-
* @throws {RequiredError}
|
|
2177
|
-
*/
|
|
2178
|
-
emailsDelete: async (emailId, options = {}) => {
|
|
2179
|
-
assertParamExists("emailsDelete", "emailId", emailId);
|
|
2180
|
-
const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
|
|
2181
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2182
|
-
let baseOptions;
|
|
2183
|
-
if (configuration) {
|
|
2184
|
-
baseOptions = configuration.baseOptions;
|
|
2185
|
-
}
|
|
2186
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2187
|
-
const localVarHeaderParameter = {};
|
|
2188
|
-
const localVarQueryParameter = {};
|
|
2189
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2190
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2191
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2192
|
-
return {
|
|
2193
|
-
url: toPathString(localVarUrlObj),
|
|
2194
|
-
options: localVarRequestOptions
|
|
2195
|
-
};
|
|
2196
|
-
},
|
|
2197
|
-
/**
|
|
2198
|
-
*
|
|
2199
|
-
* @summary Emails Update
|
|
2200
|
-
* @param {string} emailId
|
|
2201
|
-
* @param {EmailUpdate} emailUpdate
|
|
2202
|
-
* @param {*} [options] Override http request option.
|
|
2203
|
-
* @throws {RequiredError}
|
|
2204
|
-
*/
|
|
2205
|
-
emailsUpdate: async (emailId, emailUpdate, options = {}) => {
|
|
2206
|
-
assertParamExists("emailsUpdate", "emailId", emailId);
|
|
2207
|
-
assertParamExists("emailsUpdate", "emailUpdate", emailUpdate);
|
|
2208
|
-
const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
|
|
2209
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2210
|
-
let baseOptions;
|
|
2211
|
-
if (configuration) {
|
|
2212
|
-
baseOptions = configuration.baseOptions;
|
|
2213
|
-
}
|
|
2214
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
2215
|
-
const localVarHeaderParameter = {};
|
|
2216
|
-
const localVarQueryParameter = {};
|
|
2217
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2218
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2219
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2220
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2221
|
-
localVarRequestOptions.data = serializeDataIfNeeded(emailUpdate, localVarRequestOptions, configuration);
|
|
2222
|
-
return {
|
|
2223
|
-
url: toPathString(localVarUrlObj),
|
|
2224
|
-
options: localVarRequestOptions
|
|
2225
|
-
};
|
|
2226
|
-
}
|
|
2227
|
-
};
|
|
2228
|
-
};
|
|
2229
|
-
var EmailsApiFp = function(configuration) {
|
|
2230
|
-
const localVarAxiosParamCreator = EmailsApiAxiosParamCreator(configuration);
|
|
2231
|
-
return {
|
|
2232
|
-
/**
|
|
2233
|
-
*
|
|
2234
|
-
* @summary Emails Create
|
|
2235
|
-
* @param {string} contactId
|
|
2236
|
-
* @param {EmailCreate} emailCreate
|
|
2237
|
-
* @param {*} [options] Override http request option.
|
|
2238
|
-
* @throws {RequiredError}
|
|
2239
|
-
*/
|
|
2240
|
-
async emailsCreate(contactId, emailCreate, options) {
|
|
2241
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
2242
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2243
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["EmailsApi.emailsCreate"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
2244
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2245
|
-
},
|
|
2246
|
-
/**
|
|
2247
|
-
*
|
|
2248
|
-
* @summary Emails Delete
|
|
2249
|
-
* @param {string} emailId
|
|
2250
|
-
* @param {*} [options] Override http request option.
|
|
2251
|
-
* @throws {RequiredError}
|
|
2252
|
-
*/
|
|
2253
|
-
async emailsDelete(emailId, options) {
|
|
2254
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
2255
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2256
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["EmailsApi.emailsDelete"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2257
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2258
|
-
},
|
|
2259
|
-
/**
|
|
2260
|
-
*
|
|
2261
|
-
* @summary Emails Update
|
|
2262
|
-
* @param {string} emailId
|
|
2263
|
-
* @param {EmailUpdate} emailUpdate
|
|
2264
|
-
* @param {*} [options] Override http request option.
|
|
2265
|
-
* @throws {RequiredError}
|
|
2266
|
-
*/
|
|
2267
|
-
async emailsUpdate(emailId, emailUpdate, options) {
|
|
2268
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, emailUpdate, options);
|
|
2269
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2270
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["EmailsApi.emailsUpdate"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2271
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2272
|
-
}
|
|
2273
|
-
};
|
|
2274
|
-
};
|
|
2275
|
-
var EmailsApiFactory = function(configuration, basePath, axios) {
|
|
2276
|
-
const localVarFp = EmailsApiFp(configuration);
|
|
2277
|
-
return {
|
|
2278
|
-
/**
|
|
2279
|
-
*
|
|
2280
|
-
* @summary Emails Create
|
|
2281
|
-
* @param {string} contactId
|
|
2282
|
-
* @param {EmailCreate} emailCreate
|
|
2283
|
-
* @param {*} [options] Override http request option.
|
|
2284
|
-
* @throws {RequiredError}
|
|
2285
|
-
*/
|
|
2286
|
-
emailsCreate(contactId, emailCreate, options) {
|
|
2287
|
-
return localVarFp.emailsCreate(contactId, emailCreate, options).then((request) => request(axios, basePath));
|
|
2288
|
-
},
|
|
2289
|
-
/**
|
|
2290
|
-
*
|
|
2291
|
-
* @summary Emails Delete
|
|
2292
|
-
* @param {string} emailId
|
|
2293
|
-
* @param {*} [options] Override http request option.
|
|
2294
|
-
* @throws {RequiredError}
|
|
2295
|
-
*/
|
|
2296
|
-
emailsDelete(emailId, options) {
|
|
2297
|
-
return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
|
|
2298
|
-
},
|
|
2299
|
-
/**
|
|
2300
|
-
*
|
|
2301
|
-
* @summary Emails Update
|
|
2302
|
-
* @param {string} emailId
|
|
2303
|
-
* @param {EmailUpdate} emailUpdate
|
|
2304
|
-
* @param {*} [options] Override http request option.
|
|
2305
|
-
* @throws {RequiredError}
|
|
2306
|
-
*/
|
|
2307
|
-
emailsUpdate(emailId, emailUpdate, options) {
|
|
2308
|
-
return localVarFp.emailsUpdate(emailId, emailUpdate, options).then((request) => request(axios, basePath));
|
|
2309
|
-
}
|
|
2310
|
-
};
|
|
2311
|
-
};
|
|
2312
|
-
var EmailsApi = class extends BaseAPI {
|
|
2313
|
-
/**
|
|
2314
|
-
*
|
|
2315
|
-
* @summary Emails Create
|
|
2316
|
-
* @param {string} contactId
|
|
2317
|
-
* @param {EmailCreate} emailCreate
|
|
2318
|
-
* @param {*} [options] Override http request option.
|
|
2319
|
-
* @throws {RequiredError}
|
|
2320
|
-
* @memberof EmailsApi
|
|
2321
|
-
*/
|
|
2322
|
-
emailsCreate(contactId, emailCreate, options) {
|
|
2323
|
-
return EmailsApiFp(this.configuration).emailsCreate(contactId, emailCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2324
|
-
}
|
|
2325
|
-
/**
|
|
2326
|
-
*
|
|
2327
|
-
* @summary Emails Delete
|
|
2328
|
-
* @param {string} emailId
|
|
2329
|
-
* @param {*} [options] Override http request option.
|
|
2330
|
-
* @throws {RequiredError}
|
|
2331
|
-
* @memberof EmailsApi
|
|
2332
|
-
*/
|
|
2333
|
-
emailsDelete(emailId, options) {
|
|
2334
|
-
return EmailsApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
|
|
2335
|
-
}
|
|
2336
|
-
/**
|
|
2337
|
-
*
|
|
2338
|
-
* @summary Emails Update
|
|
2339
|
-
* @param {string} emailId
|
|
2340
|
-
* @param {EmailUpdate} emailUpdate
|
|
2341
|
-
* @param {*} [options] Override http request option.
|
|
2342
|
-
* @throws {RequiredError}
|
|
2343
|
-
* @memberof EmailsApi
|
|
2344
|
-
*/
|
|
2345
|
-
emailsUpdate(emailId, emailUpdate, options) {
|
|
2346
|
-
return EmailsApiFp(this.configuration).emailsUpdate(emailId, emailUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
2347
|
-
}
|
|
2348
|
-
};
|
|
2349
|
-
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
2350
|
-
return {
|
|
2351
|
-
/**
|
|
2352
|
-
*
|
|
2353
|
-
* @summary Unifiedwebhook
|
|
2354
|
-
* @param {HostawayWebhook} hostawayWebhook
|
|
1952
|
+
* @summary Unifiedwebhook
|
|
1953
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2355
1954
|
* @param {*} [options] Override http request option.
|
|
2356
1955
|
* @throws {RequiredError}
|
|
2357
1956
|
*/
|
|
@@ -2391,8 +1990,8 @@ var HostawayApiFp = function(configuration) {
|
|
|
2391
1990
|
*/
|
|
2392
1991
|
async webhook(hostawayWebhook, options) {
|
|
2393
1992
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
2394
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2395
|
-
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]);
|
|
2396
1995
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2397
1996
|
}
|
|
2398
1997
|
};
|
|
@@ -2469,8 +2068,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
2469
2068
|
*/
|
|
2470
2069
|
async inquiriesList(contactId, options) {
|
|
2471
2070
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2472
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2473
|
-
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]);
|
|
2474
2073
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2475
2074
|
}
|
|
2476
2075
|
};
|
|
@@ -2597,8 +2196,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2597
2196
|
*/
|
|
2598
2197
|
async listingsGet(listingId, options) {
|
|
2599
2198
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
2600
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2601
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
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]);
|
|
2602
2201
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2603
2202
|
},
|
|
2604
2203
|
/**
|
|
@@ -2616,8 +2215,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2616
2215
|
*/
|
|
2617
2216
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2618
2217
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2619
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2620
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
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]);
|
|
2621
2220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2622
2221
|
}
|
|
2623
2222
|
};
|
|
@@ -2678,544 +2277,80 @@ var ListingsApi = class extends BaseAPI {
|
|
|
2678
2277
|
* @param {*} [options] Override http request option.
|
|
2679
2278
|
* @throws {RequiredError}
|
|
2680
2279
|
* @memberof ListingsApi
|
|
2681
|
-
*/
|
|
2682
|
-
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2683
|
-
return ListingsApiFp(this.configuration).listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2684
|
-
}
|
|
2685
|
-
};
|
|
2686
|
-
var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
2687
|
-
return {
|
|
2688
|
-
/**
|
|
2689
|
-
*
|
|
2690
|
-
* @summary Managed_phone_numbers List
|
|
2691
|
-
* @param {*} [options] Override http request option.
|
|
2692
|
-
* @throws {RequiredError}
|
|
2693
|
-
*/
|
|
2694
|
-
managedPhoneNumbersList: async (options = {}) => {
|
|
2695
|
-
const localVarPath = `/managed_phone_numbers`;
|
|
2696
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2697
|
-
let baseOptions;
|
|
2698
|
-
if (configuration) {
|
|
2699
|
-
baseOptions = configuration.baseOptions;
|
|
2700
|
-
}
|
|
2701
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2702
|
-
const localVarHeaderParameter = {};
|
|
2703
|
-
const localVarQueryParameter = {};
|
|
2704
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2705
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2706
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2707
|
-
return {
|
|
2708
|
-
url: toPathString(localVarUrlObj),
|
|
2709
|
-
options: localVarRequestOptions
|
|
2710
|
-
};
|
|
2711
|
-
}
|
|
2712
|
-
};
|
|
2713
|
-
};
|
|
2714
|
-
var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
2715
|
-
const localVarAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator(configuration);
|
|
2716
|
-
return {
|
|
2717
|
-
/**
|
|
2718
|
-
*
|
|
2719
|
-
* @summary Managed_phone_numbers List
|
|
2720
|
-
* @param {*} [options] Override http request option.
|
|
2721
|
-
* @throws {RequiredError}
|
|
2722
|
-
*/
|
|
2723
|
-
async managedPhoneNumbersList(options) {
|
|
2724
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2725
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2726
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["ManagedPhoneNumbersApi.managedPhoneNumbersList"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2727
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2728
|
-
}
|
|
2729
|
-
};
|
|
2730
|
-
};
|
|
2731
|
-
var ManagedPhoneNumbersApiFactory = function(configuration, basePath, axios) {
|
|
2732
|
-
const localVarFp = ManagedPhoneNumbersApiFp(configuration);
|
|
2733
|
-
return {
|
|
2734
|
-
/**
|
|
2735
|
-
*
|
|
2736
|
-
* @summary Managed_phone_numbers List
|
|
2737
|
-
* @param {*} [options] Override http request option.
|
|
2738
|
-
* @throws {RequiredError}
|
|
2739
|
-
*/
|
|
2740
|
-
managedPhoneNumbersList(options) {
|
|
2741
|
-
return localVarFp.managedPhoneNumbersList(options).then((request) => request(axios, basePath));
|
|
2742
|
-
}
|
|
2743
|
-
};
|
|
2744
|
-
};
|
|
2745
|
-
var ManagedPhoneNumbersApi = class extends BaseAPI {
|
|
2746
|
-
/**
|
|
2747
|
-
*
|
|
2748
|
-
* @summary Managed_phone_numbers List
|
|
2749
|
-
* @param {*} [options] Override http request option.
|
|
2750
|
-
* @throws {RequiredError}
|
|
2751
|
-
* @memberof ManagedPhoneNumbersApi
|
|
2752
|
-
*/
|
|
2753
|
-
managedPhoneNumbersList(options) {
|
|
2754
|
-
return ManagedPhoneNumbersApiFp(this.configuration).managedPhoneNumbersList(options).then((request) => request(this.axios, this.basePath));
|
|
2755
|
-
}
|
|
2756
|
-
};
|
|
2757
|
-
var MessagesApiAxiosParamCreator = function(configuration) {
|
|
2758
|
-
return {
|
|
2759
|
-
/**
|
|
2760
|
-
*
|
|
2761
|
-
* @summary Messages Create
|
|
2762
|
-
* @param {string} conversationId
|
|
2763
|
-
* @param {MessageCreate} messageCreate
|
|
2764
|
-
* @param {*} [options] Override http request option.
|
|
2765
|
-
* @throws {RequiredError}
|
|
2766
|
-
*/
|
|
2767
|
-
messagesCreate: async (conversationId, messageCreate, options = {}) => {
|
|
2768
|
-
assertParamExists("messagesCreate", "conversationId", conversationId);
|
|
2769
|
-
assertParamExists("messagesCreate", "messageCreate", messageCreate);
|
|
2770
|
-
const localVarPath = `/conversations/{conversationId}/messages`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
2771
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2772
|
-
let baseOptions;
|
|
2773
|
-
if (configuration) {
|
|
2774
|
-
baseOptions = configuration.baseOptions;
|
|
2775
|
-
}
|
|
2776
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2777
|
-
const localVarHeaderParameter = {};
|
|
2778
|
-
const localVarQueryParameter = {};
|
|
2779
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2780
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2781
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2782
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2783
|
-
localVarRequestOptions.data = serializeDataIfNeeded(messageCreate, localVarRequestOptions, configuration);
|
|
2784
|
-
return {
|
|
2785
|
-
url: toPathString(localVarUrlObj),
|
|
2786
|
-
options: localVarRequestOptions
|
|
2787
|
-
};
|
|
2788
|
-
},
|
|
2789
|
-
/**
|
|
2790
|
-
*
|
|
2791
|
-
* @summary Messages Get
|
|
2792
|
-
* @param {string} messageId
|
|
2793
|
-
* @param {*} [options] Override http request option.
|
|
2794
|
-
* @throws {RequiredError}
|
|
2795
|
-
*/
|
|
2796
|
-
messagesGet: async (messageId, options = {}) => {
|
|
2797
|
-
assertParamExists("messagesGet", "messageId", messageId);
|
|
2798
|
-
const localVarPath = `/messages/{messageId}`.replace(`{${"messageId"}}`, encodeURIComponent(String(messageId)));
|
|
2799
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2800
|
-
let baseOptions;
|
|
2801
|
-
if (configuration) {
|
|
2802
|
-
baseOptions = configuration.baseOptions;
|
|
2803
|
-
}
|
|
2804
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2805
|
-
const localVarHeaderParameter = {};
|
|
2806
|
-
const localVarQueryParameter = {};
|
|
2807
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2808
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2809
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2810
|
-
return {
|
|
2811
|
-
url: toPathString(localVarUrlObj),
|
|
2812
|
-
options: localVarRequestOptions
|
|
2813
|
-
};
|
|
2814
|
-
},
|
|
2815
|
-
/**
|
|
2816
|
-
*
|
|
2817
|
-
* @summary Messages List
|
|
2818
|
-
* @param {string | null} [searchString]
|
|
2819
|
-
* @param {string | null} [contactId]
|
|
2820
|
-
* @param {string | null} [conversationId]
|
|
2821
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2822
|
-
* @param {number} [limit]
|
|
2823
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2824
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
2825
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2826
|
-
* @param {*} [options] Override http request option.
|
|
2827
|
-
* @throws {RequiredError}
|
|
2828
|
-
*/
|
|
2829
|
-
messagesList: async (searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
2830
|
-
const localVarPath = `/messages`;
|
|
2831
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2832
|
-
let baseOptions;
|
|
2833
|
-
if (configuration) {
|
|
2834
|
-
baseOptions = configuration.baseOptions;
|
|
2835
|
-
}
|
|
2836
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2837
|
-
const localVarHeaderParameter = {};
|
|
2838
|
-
const localVarQueryParameter = {};
|
|
2839
|
-
if (searchString !== void 0) {
|
|
2840
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
2841
|
-
}
|
|
2842
|
-
if (contactId !== void 0) {
|
|
2843
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
2844
|
-
}
|
|
2845
|
-
if (conversationId !== void 0) {
|
|
2846
|
-
localVarQueryParameter["conversationId"] = conversationId;
|
|
2847
|
-
}
|
|
2848
|
-
if (cursor !== void 0) {
|
|
2849
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
2850
|
-
}
|
|
2851
|
-
if (limit !== void 0) {
|
|
2852
|
-
localVarQueryParameter["limit"] = limit;
|
|
2853
|
-
}
|
|
2854
|
-
if (pageDir !== void 0) {
|
|
2855
|
-
localVarQueryParameter["pageDir"] = pageDir;
|
|
2856
|
-
}
|
|
2857
|
-
if (sortBy !== void 0) {
|
|
2858
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
2859
|
-
}
|
|
2860
|
-
if (sortOrder !== void 0) {
|
|
2861
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
2862
|
-
}
|
|
2863
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2864
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2865
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2866
|
-
return {
|
|
2867
|
-
url: toPathString(localVarUrlObj),
|
|
2868
|
-
options: localVarRequestOptions
|
|
2869
|
-
};
|
|
2870
|
-
}
|
|
2871
|
-
};
|
|
2872
|
-
};
|
|
2873
|
-
var MessagesApiFp = function(configuration) {
|
|
2874
|
-
const localVarAxiosParamCreator = MessagesApiAxiosParamCreator(configuration);
|
|
2875
|
-
return {
|
|
2876
|
-
/**
|
|
2877
|
-
*
|
|
2878
|
-
* @summary Messages Create
|
|
2879
|
-
* @param {string} conversationId
|
|
2880
|
-
* @param {MessageCreate} messageCreate
|
|
2881
|
-
* @param {*} [options] Override http request option.
|
|
2882
|
-
* @throws {RequiredError}
|
|
2883
|
-
*/
|
|
2884
|
-
async messagesCreate(conversationId, messageCreate, options) {
|
|
2885
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messageCreate, options);
|
|
2886
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2887
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["MessagesApi.messagesCreate"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2888
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2889
|
-
},
|
|
2890
|
-
/**
|
|
2891
|
-
*
|
|
2892
|
-
* @summary Messages Get
|
|
2893
|
-
* @param {string} messageId
|
|
2894
|
-
* @param {*} [options] Override http request option.
|
|
2895
|
-
* @throws {RequiredError}
|
|
2896
|
-
*/
|
|
2897
|
-
async messagesGet(messageId, options) {
|
|
2898
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
2899
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
2900
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["MessagesApi.messagesGet"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
2901
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2902
|
-
},
|
|
2903
|
-
/**
|
|
2904
|
-
*
|
|
2905
|
-
* @summary Messages List
|
|
2906
|
-
* @param {string | null} [searchString]
|
|
2907
|
-
* @param {string | null} [contactId]
|
|
2908
|
-
* @param {string | null} [conversationId]
|
|
2909
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2910
|
-
* @param {number} [limit]
|
|
2911
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2912
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
2913
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2914
|
-
* @param {*} [options] Override http request option.
|
|
2915
|
-
* @throws {RequiredError}
|
|
2916
|
-
*/
|
|
2917
|
-
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2918
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2919
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
2920
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["MessagesApi.messagesList"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
2921
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2922
|
-
}
|
|
2923
|
-
};
|
|
2924
|
-
};
|
|
2925
|
-
var MessagesApiFactory = function(configuration, basePath, axios) {
|
|
2926
|
-
const localVarFp = MessagesApiFp(configuration);
|
|
2927
|
-
return {
|
|
2928
|
-
/**
|
|
2929
|
-
*
|
|
2930
|
-
* @summary Messages Create
|
|
2931
|
-
* @param {string} conversationId
|
|
2932
|
-
* @param {MessageCreate} messageCreate
|
|
2933
|
-
* @param {*} [options] Override http request option.
|
|
2934
|
-
* @throws {RequiredError}
|
|
2935
|
-
*/
|
|
2936
|
-
messagesCreate(conversationId, messageCreate, options) {
|
|
2937
|
-
return localVarFp.messagesCreate(conversationId, messageCreate, options).then((request) => request(axios, basePath));
|
|
2938
|
-
},
|
|
2939
|
-
/**
|
|
2940
|
-
*
|
|
2941
|
-
* @summary Messages Get
|
|
2942
|
-
* @param {string} messageId
|
|
2943
|
-
* @param {*} [options] Override http request option.
|
|
2944
|
-
* @throws {RequiredError}
|
|
2945
|
-
*/
|
|
2946
|
-
messagesGet(messageId, options) {
|
|
2947
|
-
return localVarFp.messagesGet(messageId, options).then((request) => request(axios, basePath));
|
|
2948
|
-
},
|
|
2949
|
-
/**
|
|
2950
|
-
*
|
|
2951
|
-
* @summary Messages List
|
|
2952
|
-
* @param {string | null} [searchString]
|
|
2953
|
-
* @param {string | null} [contactId]
|
|
2954
|
-
* @param {string | null} [conversationId]
|
|
2955
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2956
|
-
* @param {number} [limit]
|
|
2957
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2958
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
2959
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2960
|
-
* @param {*} [options] Override http request option.
|
|
2961
|
-
* @throws {RequiredError}
|
|
2962
|
-
*/
|
|
2963
|
-
messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2964
|
-
return localVarFp.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2965
|
-
}
|
|
2966
|
-
};
|
|
2967
|
-
};
|
|
2968
|
-
var MessagesApi = class extends BaseAPI {
|
|
2969
|
-
/**
|
|
2970
|
-
*
|
|
2971
|
-
* @summary Messages Create
|
|
2972
|
-
* @param {string} conversationId
|
|
2973
|
-
* @param {MessageCreate} messageCreate
|
|
2974
|
-
* @param {*} [options] Override http request option.
|
|
2975
|
-
* @throws {RequiredError}
|
|
2976
|
-
* @memberof MessagesApi
|
|
2977
|
-
*/
|
|
2978
|
-
messagesCreate(conversationId, messageCreate, options) {
|
|
2979
|
-
return MessagesApiFp(this.configuration).messagesCreate(conversationId, messageCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2980
|
-
}
|
|
2981
|
-
/**
|
|
2982
|
-
*
|
|
2983
|
-
* @summary Messages Get
|
|
2984
|
-
* @param {string} messageId
|
|
2985
|
-
* @param {*} [options] Override http request option.
|
|
2986
|
-
* @throws {RequiredError}
|
|
2987
|
-
* @memberof MessagesApi
|
|
2988
|
-
*/
|
|
2989
|
-
messagesGet(messageId, options) {
|
|
2990
|
-
return MessagesApiFp(this.configuration).messagesGet(messageId, options).then((request) => request(this.axios, this.basePath));
|
|
2991
|
-
}
|
|
2992
|
-
/**
|
|
2993
|
-
*
|
|
2994
|
-
* @summary Messages List
|
|
2995
|
-
* @param {string | null} [searchString]
|
|
2996
|
-
* @param {string | null} [contactId]
|
|
2997
|
-
* @param {string | null} [conversationId]
|
|
2998
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2999
|
-
* @param {number} [limit]
|
|
3000
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3001
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
3002
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3003
|
-
* @param {*} [options] Override http request option.
|
|
3004
|
-
* @throws {RequiredError}
|
|
3005
|
-
* @memberof MessagesApi
|
|
3006
|
-
*/
|
|
3007
|
-
messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3008
|
-
return MessagesApiFp(this.configuration).messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
3009
|
-
}
|
|
3010
|
-
};
|
|
3011
|
-
var PhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
3012
|
-
return {
|
|
3013
|
-
/**
|
|
3014
|
-
*
|
|
3015
|
-
* @summary Phone_numbers Create
|
|
3016
|
-
* @param {string} contactId
|
|
3017
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
3018
|
-
* @param {*} [options] Override http request option.
|
|
3019
|
-
* @throws {RequiredError}
|
|
3020
|
-
*/
|
|
3021
|
-
phoneNumbersCreate: async (contactId, phoneNumberCreate, options = {}) => {
|
|
3022
|
-
assertParamExists("phoneNumbersCreate", "contactId", contactId);
|
|
3023
|
-
assertParamExists("phoneNumbersCreate", "phoneNumberCreate", phoneNumberCreate);
|
|
3024
|
-
const localVarPath = `/contacts/{contactId}/phone_numbers`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
3025
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3026
|
-
let baseOptions;
|
|
3027
|
-
if (configuration) {
|
|
3028
|
-
baseOptions = configuration.baseOptions;
|
|
3029
|
-
}
|
|
3030
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3031
|
-
const localVarHeaderParameter = {};
|
|
3032
|
-
const localVarQueryParameter = {};
|
|
3033
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3034
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3035
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3036
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3037
|
-
localVarRequestOptions.data = serializeDataIfNeeded(phoneNumberCreate, localVarRequestOptions, configuration);
|
|
3038
|
-
return {
|
|
3039
|
-
url: toPathString(localVarUrlObj),
|
|
3040
|
-
options: localVarRequestOptions
|
|
3041
|
-
};
|
|
3042
|
-
},
|
|
3043
|
-
/**
|
|
3044
|
-
*
|
|
3045
|
-
* @summary Phone_numbers Delete
|
|
3046
|
-
* @param {string} phoneNumberId
|
|
3047
|
-
* @param {*} [options] Override http request option.
|
|
3048
|
-
* @throws {RequiredError}
|
|
3049
|
-
*/
|
|
3050
|
-
phoneNumbersDelete: async (phoneNumberId, options = {}) => {
|
|
3051
|
-
assertParamExists("phoneNumbersDelete", "phoneNumberId", phoneNumberId);
|
|
3052
|
-
const localVarPath = `/phone_numbers/{phoneNumberId}`.replace(`{${"phoneNumberId"}}`, encodeURIComponent(String(phoneNumberId)));
|
|
3053
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3054
|
-
let baseOptions;
|
|
3055
|
-
if (configuration) {
|
|
3056
|
-
baseOptions = configuration.baseOptions;
|
|
3057
|
-
}
|
|
3058
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3059
|
-
const localVarHeaderParameter = {};
|
|
3060
|
-
const localVarQueryParameter = {};
|
|
3061
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3062
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3063
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3064
|
-
return {
|
|
3065
|
-
url: toPathString(localVarUrlObj),
|
|
3066
|
-
options: localVarRequestOptions
|
|
3067
|
-
};
|
|
3068
|
-
},
|
|
3069
|
-
/**
|
|
3070
|
-
*
|
|
3071
|
-
* @summary Phone_numbers Update
|
|
3072
|
-
* @param {string} phoneNumberId
|
|
3073
|
-
* @param {PhoneNumberUpdate} phoneNumberUpdate
|
|
3074
|
-
* @param {*} [options] Override http request option.
|
|
3075
|
-
* @throws {RequiredError}
|
|
3076
|
-
*/
|
|
3077
|
-
phoneNumbersUpdate: async (phoneNumberId, phoneNumberUpdate, options = {}) => {
|
|
3078
|
-
assertParamExists("phoneNumbersUpdate", "phoneNumberId", phoneNumberId);
|
|
3079
|
-
assertParamExists("phoneNumbersUpdate", "phoneNumberUpdate", phoneNumberUpdate);
|
|
3080
|
-
const localVarPath = `/phone_numbers/{phoneNumberId}`.replace(`{${"phoneNumberId"}}`, encodeURIComponent(String(phoneNumberId)));
|
|
3081
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3082
|
-
let baseOptions;
|
|
3083
|
-
if (configuration) {
|
|
3084
|
-
baseOptions = configuration.baseOptions;
|
|
3085
|
-
}
|
|
3086
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
3087
|
-
const localVarHeaderParameter = {};
|
|
3088
|
-
const localVarQueryParameter = {};
|
|
3089
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3090
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3091
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3092
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3093
|
-
localVarRequestOptions.data = serializeDataIfNeeded(phoneNumberUpdate, localVarRequestOptions, configuration);
|
|
3094
|
-
return {
|
|
3095
|
-
url: toPathString(localVarUrlObj),
|
|
3096
|
-
options: localVarRequestOptions
|
|
3097
|
-
};
|
|
3098
|
-
}
|
|
3099
|
-
};
|
|
3100
|
-
};
|
|
3101
|
-
var PhoneNumbersApiFp = function(configuration) {
|
|
3102
|
-
const localVarAxiosParamCreator = PhoneNumbersApiAxiosParamCreator(configuration);
|
|
3103
|
-
return {
|
|
3104
|
-
/**
|
|
3105
|
-
*
|
|
3106
|
-
* @summary Phone_numbers Create
|
|
3107
|
-
* @param {string} contactId
|
|
3108
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
3109
|
-
* @param {*} [options] Override http request option.
|
|
3110
|
-
* @throws {RequiredError}
|
|
3111
|
-
*/
|
|
3112
|
-
async phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
3113
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, phoneNumberCreate, options);
|
|
3114
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
3115
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["PhoneNumbersApi.phoneNumbersCreate"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
3116
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3117
|
-
},
|
|
3118
|
-
/**
|
|
3119
|
-
*
|
|
3120
|
-
* @summary Phone_numbers Delete
|
|
3121
|
-
* @param {string} phoneNumberId
|
|
3122
|
-
* @param {*} [options] Override http request option.
|
|
3123
|
-
* @throws {RequiredError}
|
|
3124
|
-
*/
|
|
3125
|
-
async phoneNumbersDelete(phoneNumberId, options) {
|
|
3126
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersDelete(phoneNumberId, options);
|
|
3127
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
3128
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["PhoneNumbersApi.phoneNumbersDelete"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
3129
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3130
|
-
},
|
|
3131
|
-
/**
|
|
3132
|
-
*
|
|
3133
|
-
* @summary Phone_numbers Update
|
|
3134
|
-
* @param {string} phoneNumberId
|
|
3135
|
-
* @param {PhoneNumberUpdate} phoneNumberUpdate
|
|
3136
|
-
* @param {*} [options] Override http request option.
|
|
3137
|
-
* @throws {RequiredError}
|
|
3138
|
-
*/
|
|
3139
|
-
async phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
3140
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options);
|
|
3141
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _166 => _166.serverIndex]), () => ( 0));
|
|
3142
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _167 => _167["PhoneNumbersApi.phoneNumbersUpdate"], 'optionalAccess', _168 => _168[localVarOperationServerIndex], 'optionalAccess', _169 => _169.url]);
|
|
3143
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3144
|
-
}
|
|
3145
|
-
};
|
|
2280
|
+
*/
|
|
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));
|
|
2283
|
+
}
|
|
3146
2284
|
};
|
|
3147
|
-
var
|
|
3148
|
-
const localVarFp = PhoneNumbersApiFp(configuration);
|
|
2285
|
+
var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
3149
2286
|
return {
|
|
3150
2287
|
/**
|
|
3151
2288
|
*
|
|
3152
|
-
* @summary
|
|
3153
|
-
* @param {string} contactId
|
|
3154
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
2289
|
+
* @summary Managed_phone_numbers List
|
|
3155
2290
|
* @param {*} [options] Override http request option.
|
|
3156
2291
|
* @throws {RequiredError}
|
|
3157
2292
|
*/
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
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 {
|
|
3161
2316
|
/**
|
|
3162
2317
|
*
|
|
3163
|
-
* @summary
|
|
3164
|
-
* @param {string} phoneNumberId
|
|
2318
|
+
* @summary Managed_phone_numbers List
|
|
3165
2319
|
* @param {*} [options] Override http request option.
|
|
3166
2320
|
* @throws {RequiredError}
|
|
3167
2321
|
*/
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
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 {
|
|
3171
2333
|
/**
|
|
3172
2334
|
*
|
|
3173
|
-
* @summary
|
|
3174
|
-
* @param {string} phoneNumberId
|
|
3175
|
-
* @param {PhoneNumberUpdate} phoneNumberUpdate
|
|
2335
|
+
* @summary Managed_phone_numbers List
|
|
3176
2336
|
* @param {*} [options] Override http request option.
|
|
3177
2337
|
* @throws {RequiredError}
|
|
3178
2338
|
*/
|
|
3179
|
-
|
|
3180
|
-
return localVarFp.
|
|
2339
|
+
managedPhoneNumbersList(options) {
|
|
2340
|
+
return localVarFp.managedPhoneNumbersList(options).then((request) => request(axios, basePath));
|
|
3181
2341
|
}
|
|
3182
2342
|
};
|
|
3183
2343
|
};
|
|
3184
|
-
var
|
|
3185
|
-
/**
|
|
3186
|
-
*
|
|
3187
|
-
* @summary Phone_numbers Create
|
|
3188
|
-
* @param {string} contactId
|
|
3189
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
3190
|
-
* @param {*} [options] Override http request option.
|
|
3191
|
-
* @throws {RequiredError}
|
|
3192
|
-
* @memberof PhoneNumbersApi
|
|
3193
|
-
*/
|
|
3194
|
-
phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
3195
|
-
return PhoneNumbersApiFp(this.configuration).phoneNumbersCreate(contactId, phoneNumberCreate, options).then((request) => request(this.axios, this.basePath));
|
|
3196
|
-
}
|
|
3197
|
-
/**
|
|
3198
|
-
*
|
|
3199
|
-
* @summary Phone_numbers Delete
|
|
3200
|
-
* @param {string} phoneNumberId
|
|
3201
|
-
* @param {*} [options] Override http request option.
|
|
3202
|
-
* @throws {RequiredError}
|
|
3203
|
-
* @memberof PhoneNumbersApi
|
|
3204
|
-
*/
|
|
3205
|
-
phoneNumbersDelete(phoneNumberId, options) {
|
|
3206
|
-
return PhoneNumbersApiFp(this.configuration).phoneNumbersDelete(phoneNumberId, options).then((request) => request(this.axios, this.basePath));
|
|
3207
|
-
}
|
|
2344
|
+
var ManagedPhoneNumbersApi = class extends BaseAPI {
|
|
3208
2345
|
/**
|
|
3209
2346
|
*
|
|
3210
|
-
* @summary
|
|
3211
|
-
* @param {string} phoneNumberId
|
|
3212
|
-
* @param {PhoneNumberUpdate} phoneNumberUpdate
|
|
2347
|
+
* @summary Managed_phone_numbers List
|
|
3213
2348
|
* @param {*} [options] Override http request option.
|
|
3214
2349
|
* @throws {RequiredError}
|
|
3215
|
-
* @memberof
|
|
2350
|
+
* @memberof ManagedPhoneNumbersApi
|
|
3216
2351
|
*/
|
|
3217
|
-
|
|
3218
|
-
return
|
|
2352
|
+
managedPhoneNumbersList(options) {
|
|
2353
|
+
return ManagedPhoneNumbersApiFp(this.configuration).managedPhoneNumbersList(options).then((request) => request(this.axios, this.basePath));
|
|
3219
2354
|
}
|
|
3220
2355
|
};
|
|
3221
2356
|
var ProvidersApiAxiosParamCreator = function(configuration) {
|
|
@@ -3342,8 +2477,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
3342
2477
|
*/
|
|
3343
2478
|
async providersCreate(providerCreate, options) {
|
|
3344
2479
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(providerCreate, options);
|
|
3345
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3346
|
-
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]);
|
|
3347
2482
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3348
2483
|
},
|
|
3349
2484
|
/**
|
|
@@ -3355,8 +2490,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
3355
2490
|
*/
|
|
3356
2491
|
async providersGet(providerId, options) {
|
|
3357
2492
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
3358
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3359
|
-
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]);
|
|
3360
2495
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3361
2496
|
},
|
|
3362
2497
|
/**
|
|
@@ -3367,8 +2502,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
3367
2502
|
*/
|
|
3368
2503
|
async providersList(options) {
|
|
3369
2504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
3370
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3371
|
-
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]);
|
|
3372
2507
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3373
2508
|
},
|
|
3374
2509
|
/**
|
|
@@ -3381,8 +2516,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
3381
2516
|
*/
|
|
3382
2517
|
async providersUpdate(providerId, providerUpdate, options) {
|
|
3383
2518
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, providerUpdate, options);
|
|
3384
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3385
|
-
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]);
|
|
3386
2521
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3387
2522
|
}
|
|
3388
2523
|
};
|
|
@@ -3480,6 +2615,32 @@ var ProvidersApi = class extends BaseAPI {
|
|
|
3480
2615
|
};
|
|
3481
2616
|
var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
3482
2617
|
return {
|
|
2618
|
+
/**
|
|
2619
|
+
*
|
|
2620
|
+
* @summary Reservations Get
|
|
2621
|
+
* @param {string} reservationId
|
|
2622
|
+
* @param {*} [options] Override http request option.
|
|
2623
|
+
* @throws {RequiredError}
|
|
2624
|
+
*/
|
|
2625
|
+
reservationsGet: async (reservationId, options = {}) => {
|
|
2626
|
+
assertParamExists("reservationsGet", "reservationId", reservationId);
|
|
2627
|
+
const localVarPath = `/reservations/{reservationId}`.replace(`{${"reservationId"}}`, encodeURIComponent(String(reservationId)));
|
|
2628
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2629
|
+
let baseOptions;
|
|
2630
|
+
if (configuration) {
|
|
2631
|
+
baseOptions = configuration.baseOptions;
|
|
2632
|
+
}
|
|
2633
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2634
|
+
const localVarHeaderParameter = {};
|
|
2635
|
+
const localVarQueryParameter = {};
|
|
2636
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2637
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2638
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2639
|
+
return {
|
|
2640
|
+
url: toPathString(localVarUrlObj),
|
|
2641
|
+
options: localVarRequestOptions
|
|
2642
|
+
};
|
|
2643
|
+
},
|
|
3483
2644
|
/**
|
|
3484
2645
|
*
|
|
3485
2646
|
* @summary Reservations List
|
|
@@ -3537,6 +2698,19 @@ var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
|
3537
2698
|
var ReservationsApiFp = function(configuration) {
|
|
3538
2699
|
const localVarAxiosParamCreator = ReservationsApiAxiosParamCreator(configuration);
|
|
3539
2700
|
return {
|
|
2701
|
+
/**
|
|
2702
|
+
*
|
|
2703
|
+
* @summary Reservations Get
|
|
2704
|
+
* @param {string} reservationId
|
|
2705
|
+
* @param {*} [options] Override http request option.
|
|
2706
|
+
* @throws {RequiredError}
|
|
2707
|
+
*/
|
|
2708
|
+
async reservationsGet(reservationId, options) {
|
|
2709
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
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]);
|
|
2712
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2713
|
+
},
|
|
3540
2714
|
/**
|
|
3541
2715
|
*
|
|
3542
2716
|
* @summary Reservations List
|
|
@@ -3552,8 +2726,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3552
2726
|
*/
|
|
3553
2727
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3554
2728
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
3555
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3556
|
-
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]);
|
|
3557
2731
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3558
2732
|
}
|
|
3559
2733
|
};
|
|
@@ -3561,6 +2735,16 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3561
2735
|
var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
3562
2736
|
const localVarFp = ReservationsApiFp(configuration);
|
|
3563
2737
|
return {
|
|
2738
|
+
/**
|
|
2739
|
+
*
|
|
2740
|
+
* @summary Reservations Get
|
|
2741
|
+
* @param {string} reservationId
|
|
2742
|
+
* @param {*} [options] Override http request option.
|
|
2743
|
+
* @throws {RequiredError}
|
|
2744
|
+
*/
|
|
2745
|
+
reservationsGet(reservationId, options) {
|
|
2746
|
+
return localVarFp.reservationsGet(reservationId, options).then((request) => request(axios, basePath));
|
|
2747
|
+
},
|
|
3564
2748
|
/**
|
|
3565
2749
|
*
|
|
3566
2750
|
* @summary Reservations List
|
|
@@ -3580,6 +2764,17 @@ var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
|
3580
2764
|
};
|
|
3581
2765
|
};
|
|
3582
2766
|
var ReservationsApi = class extends BaseAPI {
|
|
2767
|
+
/**
|
|
2768
|
+
*
|
|
2769
|
+
* @summary Reservations Get
|
|
2770
|
+
* @param {string} reservationId
|
|
2771
|
+
* @param {*} [options] Override http request option.
|
|
2772
|
+
* @throws {RequiredError}
|
|
2773
|
+
* @memberof ReservationsApi
|
|
2774
|
+
*/
|
|
2775
|
+
reservationsGet(reservationId, options) {
|
|
2776
|
+
return ReservationsApiFp(this.configuration).reservationsGet(reservationId, options).then((request) => request(this.axios, this.basePath));
|
|
2777
|
+
}
|
|
3583
2778
|
/**
|
|
3584
2779
|
*
|
|
3585
2780
|
* @summary Reservations List
|
|
@@ -4622,6 +3817,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4622
3817
|
options: localVarRequestOptions
|
|
4623
3818
|
};
|
|
4624
3819
|
},
|
|
3820
|
+
/**
|
|
3821
|
+
*
|
|
3822
|
+
* @summary Reservations Get
|
|
3823
|
+
* @param {string} reservationId
|
|
3824
|
+
* @param {*} [options] Override http request option.
|
|
3825
|
+
* @throws {RequiredError}
|
|
3826
|
+
*/
|
|
3827
|
+
reservationsGet: async (reservationId, options = {}) => {
|
|
3828
|
+
assertParamExists("reservationsGet", "reservationId", reservationId);
|
|
3829
|
+
const localVarPath = `/reservations/{reservationId}`.replace(`{${"reservationId"}}`, encodeURIComponent(String(reservationId)));
|
|
3830
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3831
|
+
let baseOptions;
|
|
3832
|
+
if (configuration) {
|
|
3833
|
+
baseOptions = configuration.baseOptions;
|
|
3834
|
+
}
|
|
3835
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3836
|
+
const localVarHeaderParameter = {};
|
|
3837
|
+
const localVarQueryParameter = {};
|
|
3838
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3839
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3840
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3841
|
+
return {
|
|
3842
|
+
url: toPathString(localVarUrlObj),
|
|
3843
|
+
options: localVarRequestOptions
|
|
3844
|
+
};
|
|
3845
|
+
},
|
|
4625
3846
|
/**
|
|
4626
3847
|
*
|
|
4627
3848
|
* @summary Reservations List
|
|
@@ -4716,8 +3937,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4716
3937
|
*/
|
|
4717
3938
|
async accountsList(options) {
|
|
4718
3939
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
4719
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4720
|
-
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]);
|
|
4721
3942
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4722
3943
|
},
|
|
4723
3944
|
/**
|
|
@@ -4730,8 +3951,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4730
3951
|
*/
|
|
4731
3952
|
async addressesCreate(contactId, addressCreate, options) {
|
|
4732
3953
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
4733
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4734
|
-
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]);
|
|
4735
3956
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4736
3957
|
},
|
|
4737
3958
|
/**
|
|
@@ -4743,8 +3964,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4743
3964
|
*/
|
|
4744
3965
|
async addressesDelete(addressId, options) {
|
|
4745
3966
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
4746
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4747
|
-
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]);
|
|
4748
3969
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4749
3970
|
},
|
|
4750
3971
|
/**
|
|
@@ -4757,8 +3978,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4757
3978
|
*/
|
|
4758
3979
|
async addressesUpdate(addressId, addressUpdate, options) {
|
|
4759
3980
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
4760
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4761
|
-
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]);
|
|
4762
3983
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4763
3984
|
},
|
|
4764
3985
|
/**
|
|
@@ -4772,8 +3993,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4772
3993
|
*/
|
|
4773
3994
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
4774
3995
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
4775
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4776
|
-
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]);
|
|
4777
3998
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4778
3999
|
},
|
|
4779
4000
|
/**
|
|
@@ -4785,8 +4006,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4785
4006
|
*/
|
|
4786
4007
|
async contactsCreate(contactCreate, options) {
|
|
4787
4008
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactCreate, options);
|
|
4788
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4789
|
-
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]);
|
|
4790
4011
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4791
4012
|
},
|
|
4792
4013
|
/**
|
|
@@ -4798,8 +4019,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4798
4019
|
*/
|
|
4799
4020
|
async contactsDelete(contactId, options) {
|
|
4800
4021
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
4801
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4802
|
-
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]);
|
|
4803
4024
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4804
4025
|
},
|
|
4805
4026
|
/**
|
|
@@ -4811,8 +4032,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4811
4032
|
*/
|
|
4812
4033
|
async contactsGet(contactId, options) {
|
|
4813
4034
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
4814
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4815
|
-
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]);
|
|
4816
4037
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4817
4038
|
},
|
|
4818
4039
|
/**
|
|
@@ -4829,8 +4050,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4829
4050
|
*/
|
|
4830
4051
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4831
4052
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4832
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4833
|
-
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]);
|
|
4834
4055
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4835
4056
|
},
|
|
4836
4057
|
/**
|
|
@@ -4844,8 +4065,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4844
4065
|
*/
|
|
4845
4066
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
4846
4067
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
4847
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4848
|
-
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]);
|
|
4849
4070
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4850
4071
|
},
|
|
4851
4072
|
/**
|
|
@@ -4858,8 +4079,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4858
4079
|
*/
|
|
4859
4080
|
async contactsUpdate(contactId, contactUpdate, options) {
|
|
4860
4081
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
|
|
4861
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4862
|
-
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]);
|
|
4863
4084
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4864
4085
|
},
|
|
4865
4086
|
/**
|
|
@@ -4873,8 +4094,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4873
4094
|
*/
|
|
4874
4095
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4875
4096
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
4876
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4877
|
-
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]);
|
|
4878
4099
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4879
4100
|
},
|
|
4880
4101
|
/**
|
|
@@ -4886,8 +4107,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4886
4107
|
*/
|
|
4887
4108
|
async conversationsCreate(conversationCreate, options) {
|
|
4888
4109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(conversationCreate, options);
|
|
4889
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4890
|
-
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]);
|
|
4891
4112
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4892
4113
|
},
|
|
4893
4114
|
/**
|
|
@@ -4899,8 +4120,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4899
4120
|
*/
|
|
4900
4121
|
async conversationsGet(conversationId, options) {
|
|
4901
4122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4902
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4903
|
-
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]);
|
|
4904
4125
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4905
4126
|
},
|
|
4906
4127
|
/**
|
|
@@ -4918,8 +4139,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4918
4139
|
*/
|
|
4919
4140
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4920
4141
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4921
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4922
|
-
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]);
|
|
4923
4144
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4924
4145
|
},
|
|
4925
4146
|
/**
|
|
@@ -4932,8 +4153,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4932
4153
|
*/
|
|
4933
4154
|
async conversationsUpdate(conversationId, conversationUpdate, options) {
|
|
4934
4155
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, conversationUpdate, options);
|
|
4935
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4936
|
-
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]);
|
|
4937
4158
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4938
4159
|
},
|
|
4939
4160
|
/**
|
|
@@ -4946,8 +4167,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4946
4167
|
*/
|
|
4947
4168
|
async emailsCreate(contactId, emailCreate, options) {
|
|
4948
4169
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
4949
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4950
|
-
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]);
|
|
4951
4172
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4952
4173
|
},
|
|
4953
4174
|
/**
|
|
@@ -4959,8 +4180,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4959
4180
|
*/
|
|
4960
4181
|
async emailsDelete(emailId, options) {
|
|
4961
4182
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4962
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4963
|
-
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]);
|
|
4964
4185
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4965
4186
|
},
|
|
4966
4187
|
/**
|
|
@@ -4973,8 +4194,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4973
4194
|
*/
|
|
4974
4195
|
async emailsUpdate(emailId, emailUpdate, options) {
|
|
4975
4196
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, emailUpdate, options);
|
|
4976
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4977
|
-
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]);
|
|
4978
4199
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4979
4200
|
},
|
|
4980
4201
|
/**
|
|
@@ -4986,8 +4207,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4986
4207
|
*/
|
|
4987
4208
|
async inquiriesList(contactId, options) {
|
|
4988
4209
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4989
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4990
|
-
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]);
|
|
4991
4212
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4992
4213
|
},
|
|
4993
4214
|
/**
|
|
@@ -4999,8 +4220,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4999
4220
|
*/
|
|
5000
4221
|
async listingsGet(listingId, options) {
|
|
5001
4222
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
5002
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5003
|
-
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]);
|
|
5004
4225
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5005
4226
|
},
|
|
5006
4227
|
/**
|
|
@@ -5018,8 +4239,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5018
4239
|
*/
|
|
5019
4240
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5020
4241
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5021
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5022
|
-
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]);
|
|
5023
4244
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5024
4245
|
},
|
|
5025
4246
|
/**
|
|
@@ -5030,8 +4251,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5030
4251
|
*/
|
|
5031
4252
|
async managedPhoneNumbersList(options) {
|
|
5032
4253
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
5033
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5034
|
-
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]);
|
|
5035
4256
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5036
4257
|
},
|
|
5037
4258
|
/**
|
|
@@ -5044,8 +4265,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5044
4265
|
*/
|
|
5045
4266
|
async messagesCreate(conversationId, messageCreate, options) {
|
|
5046
4267
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messageCreate, options);
|
|
5047
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5048
|
-
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]);
|
|
5049
4270
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5050
4271
|
},
|
|
5051
4272
|
/**
|
|
@@ -5057,8 +4278,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5057
4278
|
*/
|
|
5058
4279
|
async messagesGet(messageId, options) {
|
|
5059
4280
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
5060
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5061
|
-
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]);
|
|
5062
4283
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5063
4284
|
},
|
|
5064
4285
|
/**
|
|
@@ -5077,8 +4298,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5077
4298
|
*/
|
|
5078
4299
|
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5079
4300
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5080
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5081
|
-
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]);
|
|
5082
4303
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5083
4304
|
},
|
|
5084
4305
|
/**
|
|
@@ -5091,8 +4312,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5091
4312
|
*/
|
|
5092
4313
|
async phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
5093
4314
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, phoneNumberCreate, options);
|
|
5094
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5095
|
-
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]);
|
|
5096
4317
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5097
4318
|
},
|
|
5098
4319
|
/**
|
|
@@ -5104,8 +4325,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5104
4325
|
*/
|
|
5105
4326
|
async phoneNumbersDelete(phoneNumberId, options) {
|
|
5106
4327
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersDelete(phoneNumberId, options);
|
|
5107
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5108
|
-
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]);
|
|
5109
4330
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5110
4331
|
},
|
|
5111
4332
|
/**
|
|
@@ -5118,8 +4339,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5118
4339
|
*/
|
|
5119
4340
|
async phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
5120
4341
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options);
|
|
5121
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5122
|
-
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]);
|
|
5123
4344
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5124
4345
|
},
|
|
5125
4346
|
/**
|
|
@@ -5131,8 +4352,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5131
4352
|
*/
|
|
5132
4353
|
async providersCreate(providerCreate, options) {
|
|
5133
4354
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(providerCreate, options);
|
|
5134
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5135
|
-
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]);
|
|
5136
4357
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5137
4358
|
},
|
|
5138
4359
|
/**
|
|
@@ -5144,8 +4365,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5144
4365
|
*/
|
|
5145
4366
|
async providersGet(providerId, options) {
|
|
5146
4367
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
5147
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5148
|
-
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]);
|
|
5149
4370
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5150
4371
|
},
|
|
5151
4372
|
/**
|
|
@@ -5156,8 +4377,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5156
4377
|
*/
|
|
5157
4378
|
async providersList(options) {
|
|
5158
4379
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
5159
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5160
|
-
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]);
|
|
5161
4382
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5162
4383
|
},
|
|
5163
4384
|
/**
|
|
@@ -5170,8 +4391,21 @@ var UnboundApiFp = function(configuration) {
|
|
|
5170
4391
|
*/
|
|
5171
4392
|
async providersUpdate(providerId, providerUpdate, options) {
|
|
5172
4393
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, providerUpdate, options);
|
|
5173
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5174
|
-
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]);
|
|
4396
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4397
|
+
},
|
|
4398
|
+
/**
|
|
4399
|
+
*
|
|
4400
|
+
* @summary Reservations Get
|
|
4401
|
+
* @param {string} reservationId
|
|
4402
|
+
* @param {*} [options] Override http request option.
|
|
4403
|
+
* @throws {RequiredError}
|
|
4404
|
+
*/
|
|
4405
|
+
async reservationsGet(reservationId, options) {
|
|
4406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
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]);
|
|
5175
4409
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5176
4410
|
},
|
|
5177
4411
|
/**
|
|
@@ -5189,8 +4423,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5189
4423
|
*/
|
|
5190
4424
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5191
4425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5192
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5193
|
-
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]);
|
|
5194
4428
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5195
4429
|
},
|
|
5196
4430
|
/**
|
|
@@ -5202,8 +4436,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5202
4436
|
*/
|
|
5203
4437
|
async webhook(hostawayWebhook, options) {
|
|
5204
4438
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
5205
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5206
|
-
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]);
|
|
5207
4441
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5208
4442
|
}
|
|
5209
4443
|
};
|
|
@@ -5578,6 +4812,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5578
4812
|
providersUpdate(providerId, providerUpdate, options) {
|
|
5579
4813
|
return localVarFp.providersUpdate(providerId, providerUpdate, options).then((request) => request(axios, basePath));
|
|
5580
4814
|
},
|
|
4815
|
+
/**
|
|
4816
|
+
*
|
|
4817
|
+
* @summary Reservations Get
|
|
4818
|
+
* @param {string} reservationId
|
|
4819
|
+
* @param {*} [options] Override http request option.
|
|
4820
|
+
* @throws {RequiredError}
|
|
4821
|
+
*/
|
|
4822
|
+
reservationsGet(reservationId, options) {
|
|
4823
|
+
return localVarFp.reservationsGet(reservationId, options).then((request) => request(axios, basePath));
|
|
4824
|
+
},
|
|
5581
4825
|
/**
|
|
5582
4826
|
*
|
|
5583
4827
|
* @summary Reservations List
|
|
@@ -6007,6 +5251,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6007
5251
|
providersUpdate(providerId, providerUpdate, options) {
|
|
6008
5252
|
return UnboundApiFp(this.configuration).providersUpdate(providerId, providerUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
6009
5253
|
}
|
|
5254
|
+
/**
|
|
5255
|
+
*
|
|
5256
|
+
* @summary Reservations Get
|
|
5257
|
+
* @param {string} reservationId
|
|
5258
|
+
* @param {*} [options] Override http request option.
|
|
5259
|
+
* @throws {RequiredError}
|
|
5260
|
+
* @memberof UnboundApi
|
|
5261
|
+
*/
|
|
5262
|
+
reservationsGet(reservationId, options) {
|
|
5263
|
+
return UnboundApiFp(this.configuration).reservationsGet(reservationId, options).then((request) => request(this.axios, this.basePath));
|
|
5264
|
+
}
|
|
6010
5265
|
/**
|
|
6011
5266
|
*
|
|
6012
5267
|
* @summary Reservations List
|
|
@@ -6105,7 +5360,7 @@ var Configuration = class {
|
|
|
6105
5360
|
this.baseOptions = {
|
|
6106
5361
|
...param.baseOptions,
|
|
6107
5362
|
headers: {
|
|
6108
|
-
..._optionalChain([param, 'access',
|
|
5363
|
+
..._optionalChain([param, 'access', _290 => _290.baseOptions, 'optionalAccess', _291 => _291.headers])
|
|
6109
5364
|
}
|
|
6110
5365
|
};
|
|
6111
5366
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -6189,20 +5444,5 @@ var Configuration = class {
|
|
|
6189
5444
|
|
|
6190
5445
|
|
|
6191
5446
|
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
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.SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum; 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;
|
|
6208
5448
|
//# sourceMappingURL=index.js.map
|