@ember-home/unbound-ts-client 0.0.26 → 0.0.27
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 +471 -27
- package/dist/index.d.ts +471 -27
- package/dist/index.js +578 -70
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +513 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -115,16 +115,16 @@ var SortOrder = {
|
|
|
115
115
|
var SrcResourceModelsConversationsModelConversationsModelConversationSortBy = {
|
|
116
116
|
UpdatedAt: "updated_at"
|
|
117
117
|
};
|
|
118
|
-
var
|
|
118
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = {
|
|
119
119
|
Twilio: "TWILIO"
|
|
120
120
|
};
|
|
121
|
-
var
|
|
121
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum = {
|
|
122
122
|
Email: "EMAIL"
|
|
123
123
|
};
|
|
124
|
-
var
|
|
124
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = {
|
|
125
125
|
Twilio: "TWILIO"
|
|
126
126
|
};
|
|
127
|
-
var
|
|
127
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = {
|
|
128
128
|
Email: "EMAIL"
|
|
129
129
|
};
|
|
130
130
|
var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = {
|
|
@@ -3218,6 +3218,266 @@ var PhoneNumbersApi = class extends BaseAPI {
|
|
|
3218
3218
|
return PhoneNumbersApiFp(this.configuration).phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
3219
3219
|
}
|
|
3220
3220
|
};
|
|
3221
|
+
var ProvidersApiAxiosParamCreator = function(configuration) {
|
|
3222
|
+
return {
|
|
3223
|
+
/**
|
|
3224
|
+
*
|
|
3225
|
+
* @summary Providers Create
|
|
3226
|
+
* @param {ProviderCreate} providerCreate
|
|
3227
|
+
* @param {*} [options] Override http request option.
|
|
3228
|
+
* @throws {RequiredError}
|
|
3229
|
+
*/
|
|
3230
|
+
providersCreate: async (providerCreate, options = {}) => {
|
|
3231
|
+
assertParamExists("providersCreate", "providerCreate", providerCreate);
|
|
3232
|
+
const localVarPath = `/providers`;
|
|
3233
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3234
|
+
let baseOptions;
|
|
3235
|
+
if (configuration) {
|
|
3236
|
+
baseOptions = configuration.baseOptions;
|
|
3237
|
+
}
|
|
3238
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3239
|
+
const localVarHeaderParameter = {};
|
|
3240
|
+
const localVarQueryParameter = {};
|
|
3241
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3242
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3243
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3244
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3245
|
+
localVarRequestOptions.data = serializeDataIfNeeded(providerCreate, localVarRequestOptions, configuration);
|
|
3246
|
+
return {
|
|
3247
|
+
url: toPathString(localVarUrlObj),
|
|
3248
|
+
options: localVarRequestOptions
|
|
3249
|
+
};
|
|
3250
|
+
},
|
|
3251
|
+
/**
|
|
3252
|
+
*
|
|
3253
|
+
* @summary Providers Get
|
|
3254
|
+
* @param {string} providerId
|
|
3255
|
+
* @param {*} [options] Override http request option.
|
|
3256
|
+
* @throws {RequiredError}
|
|
3257
|
+
*/
|
|
3258
|
+
providersGet: async (providerId, options = {}) => {
|
|
3259
|
+
assertParamExists("providersGet", "providerId", providerId);
|
|
3260
|
+
const localVarPath = `/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
3261
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3262
|
+
let baseOptions;
|
|
3263
|
+
if (configuration) {
|
|
3264
|
+
baseOptions = configuration.baseOptions;
|
|
3265
|
+
}
|
|
3266
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3267
|
+
const localVarHeaderParameter = {};
|
|
3268
|
+
const localVarQueryParameter = {};
|
|
3269
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3270
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3271
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3272
|
+
return {
|
|
3273
|
+
url: toPathString(localVarUrlObj),
|
|
3274
|
+
options: localVarRequestOptions
|
|
3275
|
+
};
|
|
3276
|
+
},
|
|
3277
|
+
/**
|
|
3278
|
+
*
|
|
3279
|
+
* @summary Providers List
|
|
3280
|
+
* @param {*} [options] Override http request option.
|
|
3281
|
+
* @throws {RequiredError}
|
|
3282
|
+
*/
|
|
3283
|
+
providersList: async (options = {}) => {
|
|
3284
|
+
const localVarPath = `/providers`;
|
|
3285
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3286
|
+
let baseOptions;
|
|
3287
|
+
if (configuration) {
|
|
3288
|
+
baseOptions = configuration.baseOptions;
|
|
3289
|
+
}
|
|
3290
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3291
|
+
const localVarHeaderParameter = {};
|
|
3292
|
+
const localVarQueryParameter = {};
|
|
3293
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3294
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3295
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3296
|
+
return {
|
|
3297
|
+
url: toPathString(localVarUrlObj),
|
|
3298
|
+
options: localVarRequestOptions
|
|
3299
|
+
};
|
|
3300
|
+
},
|
|
3301
|
+
/**
|
|
3302
|
+
*
|
|
3303
|
+
* @summary Providers Update
|
|
3304
|
+
* @param {string} providerId
|
|
3305
|
+
* @param {ProviderUpdate} providerUpdate
|
|
3306
|
+
* @param {*} [options] Override http request option.
|
|
3307
|
+
* @throws {RequiredError}
|
|
3308
|
+
*/
|
|
3309
|
+
providersUpdate: async (providerId, providerUpdate, options = {}) => {
|
|
3310
|
+
assertParamExists("providersUpdate", "providerId", providerId);
|
|
3311
|
+
assertParamExists("providersUpdate", "providerUpdate", providerUpdate);
|
|
3312
|
+
const localVarPath = `/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
3313
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3314
|
+
let baseOptions;
|
|
3315
|
+
if (configuration) {
|
|
3316
|
+
baseOptions = configuration.baseOptions;
|
|
3317
|
+
}
|
|
3318
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
3319
|
+
const localVarHeaderParameter = {};
|
|
3320
|
+
const localVarQueryParameter = {};
|
|
3321
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3322
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3323
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3324
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3325
|
+
localVarRequestOptions.data = serializeDataIfNeeded(providerUpdate, localVarRequestOptions, configuration);
|
|
3326
|
+
return {
|
|
3327
|
+
url: toPathString(localVarUrlObj),
|
|
3328
|
+
options: localVarRequestOptions
|
|
3329
|
+
};
|
|
3330
|
+
}
|
|
3331
|
+
};
|
|
3332
|
+
};
|
|
3333
|
+
var ProvidersApiFp = function(configuration) {
|
|
3334
|
+
const localVarAxiosParamCreator = ProvidersApiAxiosParamCreator(configuration);
|
|
3335
|
+
return {
|
|
3336
|
+
/**
|
|
3337
|
+
*
|
|
3338
|
+
* @summary Providers Create
|
|
3339
|
+
* @param {ProviderCreate} providerCreate
|
|
3340
|
+
* @param {*} [options] Override http request option.
|
|
3341
|
+
* @throws {RequiredError}
|
|
3342
|
+
*/
|
|
3343
|
+
async providersCreate(providerCreate, options) {
|
|
3344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(providerCreate, options);
|
|
3345
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _170 => _170.serverIndex]), () => ( 0));
|
|
3346
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _171 => _171["ProvidersApi.providersCreate"], 'optionalAccess', _172 => _172[localVarOperationServerIndex], 'optionalAccess', _173 => _173.url]);
|
|
3347
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3348
|
+
},
|
|
3349
|
+
/**
|
|
3350
|
+
*
|
|
3351
|
+
* @summary Providers Get
|
|
3352
|
+
* @param {string} providerId
|
|
3353
|
+
* @param {*} [options] Override http request option.
|
|
3354
|
+
* @throws {RequiredError}
|
|
3355
|
+
*/
|
|
3356
|
+
async providersGet(providerId, options) {
|
|
3357
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
3358
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _174 => _174.serverIndex]), () => ( 0));
|
|
3359
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _175 => _175["ProvidersApi.providersGet"], 'optionalAccess', _176 => _176[localVarOperationServerIndex], 'optionalAccess', _177 => _177.url]);
|
|
3360
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3361
|
+
},
|
|
3362
|
+
/**
|
|
3363
|
+
*
|
|
3364
|
+
* @summary Providers List
|
|
3365
|
+
* @param {*} [options] Override http request option.
|
|
3366
|
+
* @throws {RequiredError}
|
|
3367
|
+
*/
|
|
3368
|
+
async providersList(options) {
|
|
3369
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
3370
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _178 => _178.serverIndex]), () => ( 0));
|
|
3371
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _179 => _179["ProvidersApi.providersList"], 'optionalAccess', _180 => _180[localVarOperationServerIndex], 'optionalAccess', _181 => _181.url]);
|
|
3372
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3373
|
+
},
|
|
3374
|
+
/**
|
|
3375
|
+
*
|
|
3376
|
+
* @summary Providers Update
|
|
3377
|
+
* @param {string} providerId
|
|
3378
|
+
* @param {ProviderUpdate} providerUpdate
|
|
3379
|
+
* @param {*} [options] Override http request option.
|
|
3380
|
+
* @throws {RequiredError}
|
|
3381
|
+
*/
|
|
3382
|
+
async providersUpdate(providerId, providerUpdate, options) {
|
|
3383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, providerUpdate, options);
|
|
3384
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _182 => _182.serverIndex]), () => ( 0));
|
|
3385
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _183 => _183["ProvidersApi.providersUpdate"], 'optionalAccess', _184 => _184[localVarOperationServerIndex], 'optionalAccess', _185 => _185.url]);
|
|
3386
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3387
|
+
}
|
|
3388
|
+
};
|
|
3389
|
+
};
|
|
3390
|
+
var ProvidersApiFactory = function(configuration, basePath, axios) {
|
|
3391
|
+
const localVarFp = ProvidersApiFp(configuration);
|
|
3392
|
+
return {
|
|
3393
|
+
/**
|
|
3394
|
+
*
|
|
3395
|
+
* @summary Providers Create
|
|
3396
|
+
* @param {ProviderCreate} providerCreate
|
|
3397
|
+
* @param {*} [options] Override http request option.
|
|
3398
|
+
* @throws {RequiredError}
|
|
3399
|
+
*/
|
|
3400
|
+
providersCreate(providerCreate, options) {
|
|
3401
|
+
return localVarFp.providersCreate(providerCreate, options).then((request) => request(axios, basePath));
|
|
3402
|
+
},
|
|
3403
|
+
/**
|
|
3404
|
+
*
|
|
3405
|
+
* @summary Providers Get
|
|
3406
|
+
* @param {string} providerId
|
|
3407
|
+
* @param {*} [options] Override http request option.
|
|
3408
|
+
* @throws {RequiredError}
|
|
3409
|
+
*/
|
|
3410
|
+
providersGet(providerId, options) {
|
|
3411
|
+
return localVarFp.providersGet(providerId, options).then((request) => request(axios, basePath));
|
|
3412
|
+
},
|
|
3413
|
+
/**
|
|
3414
|
+
*
|
|
3415
|
+
* @summary Providers List
|
|
3416
|
+
* @param {*} [options] Override http request option.
|
|
3417
|
+
* @throws {RequiredError}
|
|
3418
|
+
*/
|
|
3419
|
+
providersList(options) {
|
|
3420
|
+
return localVarFp.providersList(options).then((request) => request(axios, basePath));
|
|
3421
|
+
},
|
|
3422
|
+
/**
|
|
3423
|
+
*
|
|
3424
|
+
* @summary Providers Update
|
|
3425
|
+
* @param {string} providerId
|
|
3426
|
+
* @param {ProviderUpdate} providerUpdate
|
|
3427
|
+
* @param {*} [options] Override http request option.
|
|
3428
|
+
* @throws {RequiredError}
|
|
3429
|
+
*/
|
|
3430
|
+
providersUpdate(providerId, providerUpdate, options) {
|
|
3431
|
+
return localVarFp.providersUpdate(providerId, providerUpdate, options).then((request) => request(axios, basePath));
|
|
3432
|
+
}
|
|
3433
|
+
};
|
|
3434
|
+
};
|
|
3435
|
+
var ProvidersApi = class extends BaseAPI {
|
|
3436
|
+
/**
|
|
3437
|
+
*
|
|
3438
|
+
* @summary Providers Create
|
|
3439
|
+
* @param {ProviderCreate} providerCreate
|
|
3440
|
+
* @param {*} [options] Override http request option.
|
|
3441
|
+
* @throws {RequiredError}
|
|
3442
|
+
* @memberof ProvidersApi
|
|
3443
|
+
*/
|
|
3444
|
+
providersCreate(providerCreate, options) {
|
|
3445
|
+
return ProvidersApiFp(this.configuration).providersCreate(providerCreate, options).then((request) => request(this.axios, this.basePath));
|
|
3446
|
+
}
|
|
3447
|
+
/**
|
|
3448
|
+
*
|
|
3449
|
+
* @summary Providers Get
|
|
3450
|
+
* @param {string} providerId
|
|
3451
|
+
* @param {*} [options] Override http request option.
|
|
3452
|
+
* @throws {RequiredError}
|
|
3453
|
+
* @memberof ProvidersApi
|
|
3454
|
+
*/
|
|
3455
|
+
providersGet(providerId, options) {
|
|
3456
|
+
return ProvidersApiFp(this.configuration).providersGet(providerId, options).then((request) => request(this.axios, this.basePath));
|
|
3457
|
+
}
|
|
3458
|
+
/**
|
|
3459
|
+
*
|
|
3460
|
+
* @summary Providers List
|
|
3461
|
+
* @param {*} [options] Override http request option.
|
|
3462
|
+
* @throws {RequiredError}
|
|
3463
|
+
* @memberof ProvidersApi
|
|
3464
|
+
*/
|
|
3465
|
+
providersList(options) {
|
|
3466
|
+
return ProvidersApiFp(this.configuration).providersList(options).then((request) => request(this.axios, this.basePath));
|
|
3467
|
+
}
|
|
3468
|
+
/**
|
|
3469
|
+
*
|
|
3470
|
+
* @summary Providers Update
|
|
3471
|
+
* @param {string} providerId
|
|
3472
|
+
* @param {ProviderUpdate} providerUpdate
|
|
3473
|
+
* @param {*} [options] Override http request option.
|
|
3474
|
+
* @throws {RequiredError}
|
|
3475
|
+
* @memberof ProvidersApi
|
|
3476
|
+
*/
|
|
3477
|
+
providersUpdate(providerId, providerUpdate, options) {
|
|
3478
|
+
return ProvidersApiFp(this.configuration).providersUpdate(providerId, providerUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
3479
|
+
}
|
|
3480
|
+
};
|
|
3221
3481
|
var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
3222
3482
|
return {
|
|
3223
3483
|
/**
|
|
@@ -3292,8 +3552,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3292
3552
|
*/
|
|
3293
3553
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3294
3554
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
3295
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3296
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3555
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _186 => _186.serverIndex]), () => ( 0));
|
|
3556
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _187 => _187["ReservationsApi.reservationsList"], 'optionalAccess', _188 => _188[localVarOperationServerIndex], 'optionalAccess', _189 => _189.url]);
|
|
3297
3557
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3298
3558
|
}
|
|
3299
3559
|
};
|
|
@@ -4254,6 +4514,114 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4254
4514
|
options: localVarRequestOptions
|
|
4255
4515
|
};
|
|
4256
4516
|
},
|
|
4517
|
+
/**
|
|
4518
|
+
*
|
|
4519
|
+
* @summary Providers Create
|
|
4520
|
+
* @param {ProviderCreate} providerCreate
|
|
4521
|
+
* @param {*} [options] Override http request option.
|
|
4522
|
+
* @throws {RequiredError}
|
|
4523
|
+
*/
|
|
4524
|
+
providersCreate: async (providerCreate, options = {}) => {
|
|
4525
|
+
assertParamExists("providersCreate", "providerCreate", providerCreate);
|
|
4526
|
+
const localVarPath = `/providers`;
|
|
4527
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4528
|
+
let baseOptions;
|
|
4529
|
+
if (configuration) {
|
|
4530
|
+
baseOptions = configuration.baseOptions;
|
|
4531
|
+
}
|
|
4532
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
4533
|
+
const localVarHeaderParameter = {};
|
|
4534
|
+
const localVarQueryParameter = {};
|
|
4535
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4536
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4537
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4538
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4539
|
+
localVarRequestOptions.data = serializeDataIfNeeded(providerCreate, localVarRequestOptions, configuration);
|
|
4540
|
+
return {
|
|
4541
|
+
url: toPathString(localVarUrlObj),
|
|
4542
|
+
options: localVarRequestOptions
|
|
4543
|
+
};
|
|
4544
|
+
},
|
|
4545
|
+
/**
|
|
4546
|
+
*
|
|
4547
|
+
* @summary Providers Get
|
|
4548
|
+
* @param {string} providerId
|
|
4549
|
+
* @param {*} [options] Override http request option.
|
|
4550
|
+
* @throws {RequiredError}
|
|
4551
|
+
*/
|
|
4552
|
+
providersGet: async (providerId, options = {}) => {
|
|
4553
|
+
assertParamExists("providersGet", "providerId", providerId);
|
|
4554
|
+
const localVarPath = `/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
4555
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4556
|
+
let baseOptions;
|
|
4557
|
+
if (configuration) {
|
|
4558
|
+
baseOptions = configuration.baseOptions;
|
|
4559
|
+
}
|
|
4560
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4561
|
+
const localVarHeaderParameter = {};
|
|
4562
|
+
const localVarQueryParameter = {};
|
|
4563
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4564
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4565
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4566
|
+
return {
|
|
4567
|
+
url: toPathString(localVarUrlObj),
|
|
4568
|
+
options: localVarRequestOptions
|
|
4569
|
+
};
|
|
4570
|
+
},
|
|
4571
|
+
/**
|
|
4572
|
+
*
|
|
4573
|
+
* @summary Providers List
|
|
4574
|
+
* @param {*} [options] Override http request option.
|
|
4575
|
+
* @throws {RequiredError}
|
|
4576
|
+
*/
|
|
4577
|
+
providersList: async (options = {}) => {
|
|
4578
|
+
const localVarPath = `/providers`;
|
|
4579
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4580
|
+
let baseOptions;
|
|
4581
|
+
if (configuration) {
|
|
4582
|
+
baseOptions = configuration.baseOptions;
|
|
4583
|
+
}
|
|
4584
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4585
|
+
const localVarHeaderParameter = {};
|
|
4586
|
+
const localVarQueryParameter = {};
|
|
4587
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4588
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4589
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4590
|
+
return {
|
|
4591
|
+
url: toPathString(localVarUrlObj),
|
|
4592
|
+
options: localVarRequestOptions
|
|
4593
|
+
};
|
|
4594
|
+
},
|
|
4595
|
+
/**
|
|
4596
|
+
*
|
|
4597
|
+
* @summary Providers Update
|
|
4598
|
+
* @param {string} providerId
|
|
4599
|
+
* @param {ProviderUpdate} providerUpdate
|
|
4600
|
+
* @param {*} [options] Override http request option.
|
|
4601
|
+
* @throws {RequiredError}
|
|
4602
|
+
*/
|
|
4603
|
+
providersUpdate: async (providerId, providerUpdate, options = {}) => {
|
|
4604
|
+
assertParamExists("providersUpdate", "providerId", providerId);
|
|
4605
|
+
assertParamExists("providersUpdate", "providerUpdate", providerUpdate);
|
|
4606
|
+
const localVarPath = `/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
4607
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4608
|
+
let baseOptions;
|
|
4609
|
+
if (configuration) {
|
|
4610
|
+
baseOptions = configuration.baseOptions;
|
|
4611
|
+
}
|
|
4612
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
4613
|
+
const localVarHeaderParameter = {};
|
|
4614
|
+
const localVarQueryParameter = {};
|
|
4615
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4616
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4617
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4618
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4619
|
+
localVarRequestOptions.data = serializeDataIfNeeded(providerUpdate, localVarRequestOptions, configuration);
|
|
4620
|
+
return {
|
|
4621
|
+
url: toPathString(localVarUrlObj),
|
|
4622
|
+
options: localVarRequestOptions
|
|
4623
|
+
};
|
|
4624
|
+
},
|
|
4257
4625
|
/**
|
|
4258
4626
|
*
|
|
4259
4627
|
* @summary Reservations List
|
|
@@ -4348,8 +4716,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4348
4716
|
*/
|
|
4349
4717
|
async accountsList(options) {
|
|
4350
4718
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
4351
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4352
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4719
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _190 => _190.serverIndex]), () => ( 0));
|
|
4720
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _191 => _191["UnboundApi.accountsList"], 'optionalAccess', _192 => _192[localVarOperationServerIndex], 'optionalAccess', _193 => _193.url]);
|
|
4353
4721
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4354
4722
|
},
|
|
4355
4723
|
/**
|
|
@@ -4362,8 +4730,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4362
4730
|
*/
|
|
4363
4731
|
async addressesCreate(contactId, addressCreate, options) {
|
|
4364
4732
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
4365
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4366
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4733
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _194 => _194.serverIndex]), () => ( 0));
|
|
4734
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _195 => _195["UnboundApi.addressesCreate"], 'optionalAccess', _196 => _196[localVarOperationServerIndex], 'optionalAccess', _197 => _197.url]);
|
|
4367
4735
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4368
4736
|
},
|
|
4369
4737
|
/**
|
|
@@ -4375,8 +4743,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4375
4743
|
*/
|
|
4376
4744
|
async addressesDelete(addressId, options) {
|
|
4377
4745
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
4378
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4379
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4746
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _198 => _198.serverIndex]), () => ( 0));
|
|
4747
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _199 => _199["UnboundApi.addressesDelete"], 'optionalAccess', _200 => _200[localVarOperationServerIndex], 'optionalAccess', _201 => _201.url]);
|
|
4380
4748
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4381
4749
|
},
|
|
4382
4750
|
/**
|
|
@@ -4389,8 +4757,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4389
4757
|
*/
|
|
4390
4758
|
async addressesUpdate(addressId, addressUpdate, options) {
|
|
4391
4759
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
4392
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4393
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4760
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _202 => _202.serverIndex]), () => ( 0));
|
|
4761
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _203 => _203["UnboundApi.addressesUpdate"], 'optionalAccess', _204 => _204[localVarOperationServerIndex], 'optionalAccess', _205 => _205.url]);
|
|
4394
4762
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4395
4763
|
},
|
|
4396
4764
|
/**
|
|
@@ -4404,8 +4772,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4404
4772
|
*/
|
|
4405
4773
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
4406
4774
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
4407
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4408
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4775
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _206 => _206.serverIndex]), () => ( 0));
|
|
4776
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _207 => _207["UnboundApi.contactsAddListing"], 'optionalAccess', _208 => _208[localVarOperationServerIndex], 'optionalAccess', _209 => _209.url]);
|
|
4409
4777
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4410
4778
|
},
|
|
4411
4779
|
/**
|
|
@@ -4417,8 +4785,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4417
4785
|
*/
|
|
4418
4786
|
async contactsCreate(contactCreate, options) {
|
|
4419
4787
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactCreate, options);
|
|
4420
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4421
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4788
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _210 => _210.serverIndex]), () => ( 0));
|
|
4789
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _211 => _211["UnboundApi.contactsCreate"], 'optionalAccess', _212 => _212[localVarOperationServerIndex], 'optionalAccess', _213 => _213.url]);
|
|
4422
4790
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4423
4791
|
},
|
|
4424
4792
|
/**
|
|
@@ -4430,8 +4798,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4430
4798
|
*/
|
|
4431
4799
|
async contactsDelete(contactId, options) {
|
|
4432
4800
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
4433
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4434
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4801
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _214 => _214.serverIndex]), () => ( 0));
|
|
4802
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _215 => _215["UnboundApi.contactsDelete"], 'optionalAccess', _216 => _216[localVarOperationServerIndex], 'optionalAccess', _217 => _217.url]);
|
|
4435
4803
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4436
4804
|
},
|
|
4437
4805
|
/**
|
|
@@ -4443,8 +4811,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4443
4811
|
*/
|
|
4444
4812
|
async contactsGet(contactId, options) {
|
|
4445
4813
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
4446
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4447
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4814
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _218 => _218.serverIndex]), () => ( 0));
|
|
4815
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _219 => _219["UnboundApi.contactsGet"], 'optionalAccess', _220 => _220[localVarOperationServerIndex], 'optionalAccess', _221 => _221.url]);
|
|
4448
4816
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4449
4817
|
},
|
|
4450
4818
|
/**
|
|
@@ -4461,8 +4829,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4461
4829
|
*/
|
|
4462
4830
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4463
4831
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4464
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4465
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4832
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _222 => _222.serverIndex]), () => ( 0));
|
|
4833
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.contactsList"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
4466
4834
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4467
4835
|
},
|
|
4468
4836
|
/**
|
|
@@ -4476,8 +4844,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4476
4844
|
*/
|
|
4477
4845
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
4478
4846
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
4479
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4480
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4847
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4848
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.contactsRemoveListing"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
4481
4849
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4482
4850
|
},
|
|
4483
4851
|
/**
|
|
@@ -4490,8 +4858,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4490
4858
|
*/
|
|
4491
4859
|
async contactsUpdate(contactId, contactUpdate, options) {
|
|
4492
4860
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
|
|
4493
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4494
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4861
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4862
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["UnboundApi.contactsUpdate"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4495
4863
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4496
4864
|
},
|
|
4497
4865
|
/**
|
|
@@ -4505,8 +4873,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4505
4873
|
*/
|
|
4506
4874
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4507
4875
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
4508
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4509
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4876
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4877
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.contactsUpdateListing"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4510
4878
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4511
4879
|
},
|
|
4512
4880
|
/**
|
|
@@ -4518,8 +4886,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4518
4886
|
*/
|
|
4519
4887
|
async conversationsCreate(conversationCreate, options) {
|
|
4520
4888
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(conversationCreate, options);
|
|
4521
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4522
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4889
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4890
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.conversationsCreate"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4523
4891
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4524
4892
|
},
|
|
4525
4893
|
/**
|
|
@@ -4531,8 +4899,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4531
4899
|
*/
|
|
4532
4900
|
async conversationsGet(conversationId, options) {
|
|
4533
4901
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4534
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4535
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4902
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4903
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.conversationsGet"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4536
4904
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4537
4905
|
},
|
|
4538
4906
|
/**
|
|
@@ -4550,8 +4918,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4550
4918
|
*/
|
|
4551
4919
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4552
4920
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4553
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4554
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4921
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4922
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.conversationsList"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4555
4923
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4556
4924
|
},
|
|
4557
4925
|
/**
|
|
@@ -4564,8 +4932,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4564
4932
|
*/
|
|
4565
4933
|
async conversationsUpdate(conversationId, conversationUpdate, options) {
|
|
4566
4934
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, conversationUpdate, options);
|
|
4567
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4568
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4935
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4936
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.conversationsUpdate"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4569
4937
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4570
4938
|
},
|
|
4571
4939
|
/**
|
|
@@ -4578,8 +4946,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4578
4946
|
*/
|
|
4579
4947
|
async emailsCreate(contactId, emailCreate, options) {
|
|
4580
4948
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
4581
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4582
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4949
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4950
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.emailsCreate"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4583
4951
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4584
4952
|
},
|
|
4585
4953
|
/**
|
|
@@ -4591,8 +4959,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4591
4959
|
*/
|
|
4592
4960
|
async emailsDelete(emailId, options) {
|
|
4593
4961
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4594
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4595
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4962
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4963
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.emailsDelete"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4596
4964
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4597
4965
|
},
|
|
4598
4966
|
/**
|
|
@@ -4605,8 +4973,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4605
4973
|
*/
|
|
4606
4974
|
async emailsUpdate(emailId, emailUpdate, options) {
|
|
4607
4975
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, emailUpdate, options);
|
|
4608
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4609
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4976
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4977
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.emailsUpdate"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4610
4978
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4611
4979
|
},
|
|
4612
4980
|
/**
|
|
@@ -4618,8 +4986,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4618
4986
|
*/
|
|
4619
4987
|
async inquiriesList(contactId, options) {
|
|
4620
4988
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4621
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4622
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4989
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4990
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.inquiriesList"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4623
4991
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4624
4992
|
},
|
|
4625
4993
|
/**
|
|
@@ -4631,8 +4999,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4631
4999
|
*/
|
|
4632
5000
|
async listingsGet(listingId, options) {
|
|
4633
5001
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4634
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4635
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5002
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
5003
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.listingsGet"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4636
5004
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4637
5005
|
},
|
|
4638
5006
|
/**
|
|
@@ -4650,8 +5018,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4650
5018
|
*/
|
|
4651
5019
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4652
5020
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4653
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4654
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5021
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
5022
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.listingsList"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4655
5023
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4656
5024
|
},
|
|
4657
5025
|
/**
|
|
@@ -4662,8 +5030,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4662
5030
|
*/
|
|
4663
5031
|
async managedPhoneNumbersList(options) {
|
|
4664
5032
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
4665
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4666
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5033
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
5034
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4667
5035
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4668
5036
|
},
|
|
4669
5037
|
/**
|
|
@@ -4676,8 +5044,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4676
5044
|
*/
|
|
4677
5045
|
async messagesCreate(conversationId, messageCreate, options) {
|
|
4678
5046
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messageCreate, options);
|
|
4679
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4680
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5047
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
5048
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.messagesCreate"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4681
5049
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4682
5050
|
},
|
|
4683
5051
|
/**
|
|
@@ -4689,8 +5057,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4689
5057
|
*/
|
|
4690
5058
|
async messagesGet(messageId, options) {
|
|
4691
5059
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
4692
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4693
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5060
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
5061
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.messagesGet"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4694
5062
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4695
5063
|
},
|
|
4696
5064
|
/**
|
|
@@ -4709,8 +5077,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4709
5077
|
*/
|
|
4710
5078
|
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4711
5079
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4712
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4713
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5080
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
5081
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.messagesList"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4714
5082
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4715
5083
|
},
|
|
4716
5084
|
/**
|
|
@@ -4723,8 +5091,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4723
5091
|
*/
|
|
4724
5092
|
async phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
4725
5093
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, phoneNumberCreate, options);
|
|
4726
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4727
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5094
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
5095
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.phoneNumbersCreate"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4728
5096
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4729
5097
|
},
|
|
4730
5098
|
/**
|
|
@@ -4736,8 +5104,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4736
5104
|
*/
|
|
4737
5105
|
async phoneNumbersDelete(phoneNumberId, options) {
|
|
4738
5106
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersDelete(phoneNumberId, options);
|
|
4739
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4740
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5107
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
5108
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.phoneNumbersDelete"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
4741
5109
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4742
5110
|
},
|
|
4743
5111
|
/**
|
|
@@ -4750,8 +5118,60 @@ var UnboundApiFp = function(configuration) {
|
|
|
4750
5118
|
*/
|
|
4751
5119
|
async phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
4752
5120
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options);
|
|
4753
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4754
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5121
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
5122
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.phoneNumbersUpdate"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
5123
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5124
|
+
},
|
|
5125
|
+
/**
|
|
5126
|
+
*
|
|
5127
|
+
* @summary Providers Create
|
|
5128
|
+
* @param {ProviderCreate} providerCreate
|
|
5129
|
+
* @param {*} [options] Override http request option.
|
|
5130
|
+
* @throws {RequiredError}
|
|
5131
|
+
*/
|
|
5132
|
+
async providersCreate(providerCreate, options) {
|
|
5133
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(providerCreate, options);
|
|
5134
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
5135
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.providersCreate"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
5136
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5137
|
+
},
|
|
5138
|
+
/**
|
|
5139
|
+
*
|
|
5140
|
+
* @summary Providers Get
|
|
5141
|
+
* @param {string} providerId
|
|
5142
|
+
* @param {*} [options] Override http request option.
|
|
5143
|
+
* @throws {RequiredError}
|
|
5144
|
+
*/
|
|
5145
|
+
async providersGet(providerId, options) {
|
|
5146
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
5147
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _310 => _310.serverIndex]), () => ( 0));
|
|
5148
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _311 => _311["UnboundApi.providersGet"], 'optionalAccess', _312 => _312[localVarOperationServerIndex], 'optionalAccess', _313 => _313.url]);
|
|
5149
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5150
|
+
},
|
|
5151
|
+
/**
|
|
5152
|
+
*
|
|
5153
|
+
* @summary Providers List
|
|
5154
|
+
* @param {*} [options] Override http request option.
|
|
5155
|
+
* @throws {RequiredError}
|
|
5156
|
+
*/
|
|
5157
|
+
async providersList(options) {
|
|
5158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
5159
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _314 => _314.serverIndex]), () => ( 0));
|
|
5160
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _315 => _315["UnboundApi.providersList"], 'optionalAccess', _316 => _316[localVarOperationServerIndex], 'optionalAccess', _317 => _317.url]);
|
|
5161
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5162
|
+
},
|
|
5163
|
+
/**
|
|
5164
|
+
*
|
|
5165
|
+
* @summary Providers Update
|
|
5166
|
+
* @param {string} providerId
|
|
5167
|
+
* @param {ProviderUpdate} providerUpdate
|
|
5168
|
+
* @param {*} [options] Override http request option.
|
|
5169
|
+
* @throws {RequiredError}
|
|
5170
|
+
*/
|
|
5171
|
+
async providersUpdate(providerId, providerUpdate, options) {
|
|
5172
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, providerUpdate, options);
|
|
5173
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _318 => _318.serverIndex]), () => ( 0));
|
|
5174
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _319 => _319["UnboundApi.providersUpdate"], 'optionalAccess', _320 => _320[localVarOperationServerIndex], 'optionalAccess', _321 => _321.url]);
|
|
4755
5175
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4756
5176
|
},
|
|
4757
5177
|
/**
|
|
@@ -4769,8 +5189,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4769
5189
|
*/
|
|
4770
5190
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4771
5191
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4772
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4773
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5192
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _322 => _322.serverIndex]), () => ( 0));
|
|
5193
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _323 => _323["UnboundApi.reservationsList"], 'optionalAccess', _324 => _324[localVarOperationServerIndex], 'optionalAccess', _325 => _325.url]);
|
|
4774
5194
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4775
5195
|
},
|
|
4776
5196
|
/**
|
|
@@ -4782,8 +5202,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4782
5202
|
*/
|
|
4783
5203
|
async webhook(hostawayWebhook, options) {
|
|
4784
5204
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
4785
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4786
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5205
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _326 => _326.serverIndex]), () => ( 0));
|
|
5206
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _327 => _327["UnboundApi.webhook"], 'optionalAccess', _328 => _328[localVarOperationServerIndex], 'optionalAccess', _329 => _329.url]);
|
|
4787
5207
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4788
5208
|
}
|
|
4789
5209
|
};
|
|
@@ -5118,6 +5538,46 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5118
5538
|
phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
5119
5539
|
return localVarFp.phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options).then((request) => request(axios, basePath));
|
|
5120
5540
|
},
|
|
5541
|
+
/**
|
|
5542
|
+
*
|
|
5543
|
+
* @summary Providers Create
|
|
5544
|
+
* @param {ProviderCreate} providerCreate
|
|
5545
|
+
* @param {*} [options] Override http request option.
|
|
5546
|
+
* @throws {RequiredError}
|
|
5547
|
+
*/
|
|
5548
|
+
providersCreate(providerCreate, options) {
|
|
5549
|
+
return localVarFp.providersCreate(providerCreate, options).then((request) => request(axios, basePath));
|
|
5550
|
+
},
|
|
5551
|
+
/**
|
|
5552
|
+
*
|
|
5553
|
+
* @summary Providers Get
|
|
5554
|
+
* @param {string} providerId
|
|
5555
|
+
* @param {*} [options] Override http request option.
|
|
5556
|
+
* @throws {RequiredError}
|
|
5557
|
+
*/
|
|
5558
|
+
providersGet(providerId, options) {
|
|
5559
|
+
return localVarFp.providersGet(providerId, options).then((request) => request(axios, basePath));
|
|
5560
|
+
},
|
|
5561
|
+
/**
|
|
5562
|
+
*
|
|
5563
|
+
* @summary Providers List
|
|
5564
|
+
* @param {*} [options] Override http request option.
|
|
5565
|
+
* @throws {RequiredError}
|
|
5566
|
+
*/
|
|
5567
|
+
providersList(options) {
|
|
5568
|
+
return localVarFp.providersList(options).then((request) => request(axios, basePath));
|
|
5569
|
+
},
|
|
5570
|
+
/**
|
|
5571
|
+
*
|
|
5572
|
+
* @summary Providers Update
|
|
5573
|
+
* @param {string} providerId
|
|
5574
|
+
* @param {ProviderUpdate} providerUpdate
|
|
5575
|
+
* @param {*} [options] Override http request option.
|
|
5576
|
+
* @throws {RequiredError}
|
|
5577
|
+
*/
|
|
5578
|
+
providersUpdate(providerId, providerUpdate, options) {
|
|
5579
|
+
return localVarFp.providersUpdate(providerId, providerUpdate, options).then((request) => request(axios, basePath));
|
|
5580
|
+
},
|
|
5121
5581
|
/**
|
|
5122
5582
|
*
|
|
5123
5583
|
* @summary Reservations List
|
|
@@ -5503,6 +5963,50 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5503
5963
|
phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
5504
5964
|
return UnboundApiFp(this.configuration).phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5505
5965
|
}
|
|
5966
|
+
/**
|
|
5967
|
+
*
|
|
5968
|
+
* @summary Providers Create
|
|
5969
|
+
* @param {ProviderCreate} providerCreate
|
|
5970
|
+
* @param {*} [options] Override http request option.
|
|
5971
|
+
* @throws {RequiredError}
|
|
5972
|
+
* @memberof UnboundApi
|
|
5973
|
+
*/
|
|
5974
|
+
providersCreate(providerCreate, options) {
|
|
5975
|
+
return UnboundApiFp(this.configuration).providersCreate(providerCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5976
|
+
}
|
|
5977
|
+
/**
|
|
5978
|
+
*
|
|
5979
|
+
* @summary Providers Get
|
|
5980
|
+
* @param {string} providerId
|
|
5981
|
+
* @param {*} [options] Override http request option.
|
|
5982
|
+
* @throws {RequiredError}
|
|
5983
|
+
* @memberof UnboundApi
|
|
5984
|
+
*/
|
|
5985
|
+
providersGet(providerId, options) {
|
|
5986
|
+
return UnboundApiFp(this.configuration).providersGet(providerId, options).then((request) => request(this.axios, this.basePath));
|
|
5987
|
+
}
|
|
5988
|
+
/**
|
|
5989
|
+
*
|
|
5990
|
+
* @summary Providers List
|
|
5991
|
+
* @param {*} [options] Override http request option.
|
|
5992
|
+
* @throws {RequiredError}
|
|
5993
|
+
* @memberof UnboundApi
|
|
5994
|
+
*/
|
|
5995
|
+
providersList(options) {
|
|
5996
|
+
return UnboundApiFp(this.configuration).providersList(options).then((request) => request(this.axios, this.basePath));
|
|
5997
|
+
}
|
|
5998
|
+
/**
|
|
5999
|
+
*
|
|
6000
|
+
* @summary Providers Update
|
|
6001
|
+
* @param {string} providerId
|
|
6002
|
+
* @param {ProviderUpdate} providerUpdate
|
|
6003
|
+
* @param {*} [options] Override http request option.
|
|
6004
|
+
* @throws {RequiredError}
|
|
6005
|
+
* @memberof UnboundApi
|
|
6006
|
+
*/
|
|
6007
|
+
providersUpdate(providerId, providerUpdate, options) {
|
|
6008
|
+
return UnboundApiFp(this.configuration).providersUpdate(providerId, providerUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
6009
|
+
}
|
|
5506
6010
|
/**
|
|
5507
6011
|
*
|
|
5508
6012
|
* @summary Reservations List
|
|
@@ -5601,7 +6105,7 @@ var Configuration = class {
|
|
|
5601
6105
|
this.baseOptions = {
|
|
5602
6106
|
...param.baseOptions,
|
|
5603
6107
|
headers: {
|
|
5604
|
-
..._optionalChain([param, 'access',
|
|
6108
|
+
..._optionalChain([param, 'access', _330 => _330.baseOptions, 'optionalAccess', _331 => _331.headers])
|
|
5605
6109
|
}
|
|
5606
6110
|
};
|
|
5607
6111
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -5696,5 +6200,9 @@ var Configuration = class {
|
|
|
5696
6200
|
|
|
5697
6201
|
|
|
5698
6202
|
|
|
5699
|
-
|
|
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;
|
|
5700
6208
|
//# sourceMappingURL=index.js.map
|