@ember-home/unbound-ts-client 0.0.26 → 0.0.28
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 +689 -42
- package/dist/index.d.ts +689 -42
- package/dist/index.js +701 -71
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +638 -8
- 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",
|
|
@@ -115,16 +117,16 @@ var SortOrder = {
|
|
|
115
117
|
var SrcResourceModelsConversationsModelConversationsModelConversationSortBy = {
|
|
116
118
|
UpdatedAt: "updated_at"
|
|
117
119
|
};
|
|
118
|
-
var
|
|
120
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = {
|
|
119
121
|
Twilio: "TWILIO"
|
|
120
122
|
};
|
|
121
|
-
var
|
|
123
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = {
|
|
122
124
|
Email: "EMAIL"
|
|
123
125
|
};
|
|
124
|
-
var
|
|
126
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum = {
|
|
125
127
|
Twilio: "TWILIO"
|
|
126
128
|
};
|
|
127
|
-
var
|
|
129
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum = {
|
|
128
130
|
Email: "EMAIL"
|
|
129
131
|
};
|
|
130
132
|
var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = {
|
|
@@ -3218,8 +3220,294 @@ var PhoneNumbersApi = class extends BaseAPI {
|
|
|
3218
3220
|
return PhoneNumbersApiFp(this.configuration).phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
3219
3221
|
}
|
|
3220
3222
|
};
|
|
3223
|
+
var ProvidersApiAxiosParamCreator = function(configuration) {
|
|
3224
|
+
return {
|
|
3225
|
+
/**
|
|
3226
|
+
*
|
|
3227
|
+
* @summary Providers Create
|
|
3228
|
+
* @param {ProviderCreate} providerCreate
|
|
3229
|
+
* @param {*} [options] Override http request option.
|
|
3230
|
+
* @throws {RequiredError}
|
|
3231
|
+
*/
|
|
3232
|
+
providersCreate: async (providerCreate, options = {}) => {
|
|
3233
|
+
assertParamExists("providersCreate", "providerCreate", providerCreate);
|
|
3234
|
+
const localVarPath = `/providers`;
|
|
3235
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3236
|
+
let baseOptions;
|
|
3237
|
+
if (configuration) {
|
|
3238
|
+
baseOptions = configuration.baseOptions;
|
|
3239
|
+
}
|
|
3240
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3241
|
+
const localVarHeaderParameter = {};
|
|
3242
|
+
const localVarQueryParameter = {};
|
|
3243
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3244
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3246
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3247
|
+
localVarRequestOptions.data = serializeDataIfNeeded(providerCreate, localVarRequestOptions, configuration);
|
|
3248
|
+
return {
|
|
3249
|
+
url: toPathString(localVarUrlObj),
|
|
3250
|
+
options: localVarRequestOptions
|
|
3251
|
+
};
|
|
3252
|
+
},
|
|
3253
|
+
/**
|
|
3254
|
+
*
|
|
3255
|
+
* @summary Providers Get
|
|
3256
|
+
* @param {string} providerId
|
|
3257
|
+
* @param {*} [options] Override http request option.
|
|
3258
|
+
* @throws {RequiredError}
|
|
3259
|
+
*/
|
|
3260
|
+
providersGet: async (providerId, options = {}) => {
|
|
3261
|
+
assertParamExists("providersGet", "providerId", providerId);
|
|
3262
|
+
const localVarPath = `/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
3263
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3264
|
+
let baseOptions;
|
|
3265
|
+
if (configuration) {
|
|
3266
|
+
baseOptions = configuration.baseOptions;
|
|
3267
|
+
}
|
|
3268
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3269
|
+
const localVarHeaderParameter = {};
|
|
3270
|
+
const localVarQueryParameter = {};
|
|
3271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3273
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3274
|
+
return {
|
|
3275
|
+
url: toPathString(localVarUrlObj),
|
|
3276
|
+
options: localVarRequestOptions
|
|
3277
|
+
};
|
|
3278
|
+
},
|
|
3279
|
+
/**
|
|
3280
|
+
*
|
|
3281
|
+
* @summary Providers List
|
|
3282
|
+
* @param {*} [options] Override http request option.
|
|
3283
|
+
* @throws {RequiredError}
|
|
3284
|
+
*/
|
|
3285
|
+
providersList: async (options = {}) => {
|
|
3286
|
+
const localVarPath = `/providers`;
|
|
3287
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3288
|
+
let baseOptions;
|
|
3289
|
+
if (configuration) {
|
|
3290
|
+
baseOptions = configuration.baseOptions;
|
|
3291
|
+
}
|
|
3292
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3293
|
+
const localVarHeaderParameter = {};
|
|
3294
|
+
const localVarQueryParameter = {};
|
|
3295
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3296
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3297
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3298
|
+
return {
|
|
3299
|
+
url: toPathString(localVarUrlObj),
|
|
3300
|
+
options: localVarRequestOptions
|
|
3301
|
+
};
|
|
3302
|
+
},
|
|
3303
|
+
/**
|
|
3304
|
+
*
|
|
3305
|
+
* @summary Providers Update
|
|
3306
|
+
* @param {string} providerId
|
|
3307
|
+
* @param {ProviderUpdate} providerUpdate
|
|
3308
|
+
* @param {*} [options] Override http request option.
|
|
3309
|
+
* @throws {RequiredError}
|
|
3310
|
+
*/
|
|
3311
|
+
providersUpdate: async (providerId, providerUpdate, options = {}) => {
|
|
3312
|
+
assertParamExists("providersUpdate", "providerId", providerId);
|
|
3313
|
+
assertParamExists("providersUpdate", "providerUpdate", providerUpdate);
|
|
3314
|
+
const localVarPath = `/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
3315
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3316
|
+
let baseOptions;
|
|
3317
|
+
if (configuration) {
|
|
3318
|
+
baseOptions = configuration.baseOptions;
|
|
3319
|
+
}
|
|
3320
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
3321
|
+
const localVarHeaderParameter = {};
|
|
3322
|
+
const localVarQueryParameter = {};
|
|
3323
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3324
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3325
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3326
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3327
|
+
localVarRequestOptions.data = serializeDataIfNeeded(providerUpdate, localVarRequestOptions, configuration);
|
|
3328
|
+
return {
|
|
3329
|
+
url: toPathString(localVarUrlObj),
|
|
3330
|
+
options: localVarRequestOptions
|
|
3331
|
+
};
|
|
3332
|
+
}
|
|
3333
|
+
};
|
|
3334
|
+
};
|
|
3335
|
+
var ProvidersApiFp = function(configuration) {
|
|
3336
|
+
const localVarAxiosParamCreator = ProvidersApiAxiosParamCreator(configuration);
|
|
3337
|
+
return {
|
|
3338
|
+
/**
|
|
3339
|
+
*
|
|
3340
|
+
* @summary Providers Create
|
|
3341
|
+
* @param {ProviderCreate} providerCreate
|
|
3342
|
+
* @param {*} [options] Override http request option.
|
|
3343
|
+
* @throws {RequiredError}
|
|
3344
|
+
*/
|
|
3345
|
+
async providersCreate(providerCreate, options) {
|
|
3346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(providerCreate, options);
|
|
3347
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _170 => _170.serverIndex]), () => ( 0));
|
|
3348
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _171 => _171["ProvidersApi.providersCreate"], 'optionalAccess', _172 => _172[localVarOperationServerIndex], 'optionalAccess', _173 => _173.url]);
|
|
3349
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3350
|
+
},
|
|
3351
|
+
/**
|
|
3352
|
+
*
|
|
3353
|
+
* @summary Providers Get
|
|
3354
|
+
* @param {string} providerId
|
|
3355
|
+
* @param {*} [options] Override http request option.
|
|
3356
|
+
* @throws {RequiredError}
|
|
3357
|
+
*/
|
|
3358
|
+
async providersGet(providerId, options) {
|
|
3359
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
3360
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _174 => _174.serverIndex]), () => ( 0));
|
|
3361
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _175 => _175["ProvidersApi.providersGet"], 'optionalAccess', _176 => _176[localVarOperationServerIndex], 'optionalAccess', _177 => _177.url]);
|
|
3362
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3363
|
+
},
|
|
3364
|
+
/**
|
|
3365
|
+
*
|
|
3366
|
+
* @summary Providers List
|
|
3367
|
+
* @param {*} [options] Override http request option.
|
|
3368
|
+
* @throws {RequiredError}
|
|
3369
|
+
*/
|
|
3370
|
+
async providersList(options) {
|
|
3371
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
3372
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _178 => _178.serverIndex]), () => ( 0));
|
|
3373
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _179 => _179["ProvidersApi.providersList"], 'optionalAccess', _180 => _180[localVarOperationServerIndex], 'optionalAccess', _181 => _181.url]);
|
|
3374
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3375
|
+
},
|
|
3376
|
+
/**
|
|
3377
|
+
*
|
|
3378
|
+
* @summary Providers Update
|
|
3379
|
+
* @param {string} providerId
|
|
3380
|
+
* @param {ProviderUpdate} providerUpdate
|
|
3381
|
+
* @param {*} [options] Override http request option.
|
|
3382
|
+
* @throws {RequiredError}
|
|
3383
|
+
*/
|
|
3384
|
+
async providersUpdate(providerId, providerUpdate, options) {
|
|
3385
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, providerUpdate, options);
|
|
3386
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _182 => _182.serverIndex]), () => ( 0));
|
|
3387
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _183 => _183["ProvidersApi.providersUpdate"], 'optionalAccess', _184 => _184[localVarOperationServerIndex], 'optionalAccess', _185 => _185.url]);
|
|
3388
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3389
|
+
}
|
|
3390
|
+
};
|
|
3391
|
+
};
|
|
3392
|
+
var ProvidersApiFactory = function(configuration, basePath, axios) {
|
|
3393
|
+
const localVarFp = ProvidersApiFp(configuration);
|
|
3394
|
+
return {
|
|
3395
|
+
/**
|
|
3396
|
+
*
|
|
3397
|
+
* @summary Providers Create
|
|
3398
|
+
* @param {ProviderCreate} providerCreate
|
|
3399
|
+
* @param {*} [options] Override http request option.
|
|
3400
|
+
* @throws {RequiredError}
|
|
3401
|
+
*/
|
|
3402
|
+
providersCreate(providerCreate, options) {
|
|
3403
|
+
return localVarFp.providersCreate(providerCreate, options).then((request) => request(axios, basePath));
|
|
3404
|
+
},
|
|
3405
|
+
/**
|
|
3406
|
+
*
|
|
3407
|
+
* @summary Providers Get
|
|
3408
|
+
* @param {string} providerId
|
|
3409
|
+
* @param {*} [options] Override http request option.
|
|
3410
|
+
* @throws {RequiredError}
|
|
3411
|
+
*/
|
|
3412
|
+
providersGet(providerId, options) {
|
|
3413
|
+
return localVarFp.providersGet(providerId, options).then((request) => request(axios, basePath));
|
|
3414
|
+
},
|
|
3415
|
+
/**
|
|
3416
|
+
*
|
|
3417
|
+
* @summary Providers List
|
|
3418
|
+
* @param {*} [options] Override http request option.
|
|
3419
|
+
* @throws {RequiredError}
|
|
3420
|
+
*/
|
|
3421
|
+
providersList(options) {
|
|
3422
|
+
return localVarFp.providersList(options).then((request) => request(axios, basePath));
|
|
3423
|
+
},
|
|
3424
|
+
/**
|
|
3425
|
+
*
|
|
3426
|
+
* @summary Providers Update
|
|
3427
|
+
* @param {string} providerId
|
|
3428
|
+
* @param {ProviderUpdate} providerUpdate
|
|
3429
|
+
* @param {*} [options] Override http request option.
|
|
3430
|
+
* @throws {RequiredError}
|
|
3431
|
+
*/
|
|
3432
|
+
providersUpdate(providerId, providerUpdate, options) {
|
|
3433
|
+
return localVarFp.providersUpdate(providerId, providerUpdate, options).then((request) => request(axios, basePath));
|
|
3434
|
+
}
|
|
3435
|
+
};
|
|
3436
|
+
};
|
|
3437
|
+
var ProvidersApi = class extends BaseAPI {
|
|
3438
|
+
/**
|
|
3439
|
+
*
|
|
3440
|
+
* @summary Providers Create
|
|
3441
|
+
* @param {ProviderCreate} providerCreate
|
|
3442
|
+
* @param {*} [options] Override http request option.
|
|
3443
|
+
* @throws {RequiredError}
|
|
3444
|
+
* @memberof ProvidersApi
|
|
3445
|
+
*/
|
|
3446
|
+
providersCreate(providerCreate, options) {
|
|
3447
|
+
return ProvidersApiFp(this.configuration).providersCreate(providerCreate, options).then((request) => request(this.axios, this.basePath));
|
|
3448
|
+
}
|
|
3449
|
+
/**
|
|
3450
|
+
*
|
|
3451
|
+
* @summary Providers Get
|
|
3452
|
+
* @param {string} providerId
|
|
3453
|
+
* @param {*} [options] Override http request option.
|
|
3454
|
+
* @throws {RequiredError}
|
|
3455
|
+
* @memberof ProvidersApi
|
|
3456
|
+
*/
|
|
3457
|
+
providersGet(providerId, options) {
|
|
3458
|
+
return ProvidersApiFp(this.configuration).providersGet(providerId, options).then((request) => request(this.axios, this.basePath));
|
|
3459
|
+
}
|
|
3460
|
+
/**
|
|
3461
|
+
*
|
|
3462
|
+
* @summary Providers List
|
|
3463
|
+
* @param {*} [options] Override http request option.
|
|
3464
|
+
* @throws {RequiredError}
|
|
3465
|
+
* @memberof ProvidersApi
|
|
3466
|
+
*/
|
|
3467
|
+
providersList(options) {
|
|
3468
|
+
return ProvidersApiFp(this.configuration).providersList(options).then((request) => request(this.axios, this.basePath));
|
|
3469
|
+
}
|
|
3470
|
+
/**
|
|
3471
|
+
*
|
|
3472
|
+
* @summary Providers Update
|
|
3473
|
+
* @param {string} providerId
|
|
3474
|
+
* @param {ProviderUpdate} providerUpdate
|
|
3475
|
+
* @param {*} [options] Override http request option.
|
|
3476
|
+
* @throws {RequiredError}
|
|
3477
|
+
* @memberof ProvidersApi
|
|
3478
|
+
*/
|
|
3479
|
+
providersUpdate(providerId, providerUpdate, options) {
|
|
3480
|
+
return ProvidersApiFp(this.configuration).providersUpdate(providerId, providerUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
3481
|
+
}
|
|
3482
|
+
};
|
|
3221
3483
|
var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
3222
3484
|
return {
|
|
3485
|
+
/**
|
|
3486
|
+
*
|
|
3487
|
+
* @summary Reservations Get
|
|
3488
|
+
* @param {string} reservationId
|
|
3489
|
+
* @param {*} [options] Override http request option.
|
|
3490
|
+
* @throws {RequiredError}
|
|
3491
|
+
*/
|
|
3492
|
+
reservationsGet: async (reservationId, options = {}) => {
|
|
3493
|
+
assertParamExists("reservationsGet", "reservationId", reservationId);
|
|
3494
|
+
const localVarPath = `/reservations/{reservationId}`.replace(`{${"reservationId"}}`, encodeURIComponent(String(reservationId)));
|
|
3495
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3496
|
+
let baseOptions;
|
|
3497
|
+
if (configuration) {
|
|
3498
|
+
baseOptions = configuration.baseOptions;
|
|
3499
|
+
}
|
|
3500
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3501
|
+
const localVarHeaderParameter = {};
|
|
3502
|
+
const localVarQueryParameter = {};
|
|
3503
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3504
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3505
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3506
|
+
return {
|
|
3507
|
+
url: toPathString(localVarUrlObj),
|
|
3508
|
+
options: localVarRequestOptions
|
|
3509
|
+
};
|
|
3510
|
+
},
|
|
3223
3511
|
/**
|
|
3224
3512
|
*
|
|
3225
3513
|
* @summary Reservations List
|
|
@@ -3277,6 +3565,19 @@ var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
|
3277
3565
|
var ReservationsApiFp = function(configuration) {
|
|
3278
3566
|
const localVarAxiosParamCreator = ReservationsApiAxiosParamCreator(configuration);
|
|
3279
3567
|
return {
|
|
3568
|
+
/**
|
|
3569
|
+
*
|
|
3570
|
+
* @summary Reservations Get
|
|
3571
|
+
* @param {string} reservationId
|
|
3572
|
+
* @param {*} [options] Override http request option.
|
|
3573
|
+
* @throws {RequiredError}
|
|
3574
|
+
*/
|
|
3575
|
+
async reservationsGet(reservationId, options) {
|
|
3576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
3577
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _186 => _186.serverIndex]), () => ( 0));
|
|
3578
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _187 => _187["ReservationsApi.reservationsGet"], 'optionalAccess', _188 => _188[localVarOperationServerIndex], 'optionalAccess', _189 => _189.url]);
|
|
3579
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3580
|
+
},
|
|
3280
3581
|
/**
|
|
3281
3582
|
*
|
|
3282
3583
|
* @summary Reservations List
|
|
@@ -3292,8 +3593,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3292
3593
|
*/
|
|
3293
3594
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3294
3595
|
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',
|
|
3596
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _190 => _190.serverIndex]), () => ( 0));
|
|
3597
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _191 => _191["ReservationsApi.reservationsList"], 'optionalAccess', _192 => _192[localVarOperationServerIndex], 'optionalAccess', _193 => _193.url]);
|
|
3297
3598
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3298
3599
|
}
|
|
3299
3600
|
};
|
|
@@ -3301,6 +3602,16 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3301
3602
|
var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
3302
3603
|
const localVarFp = ReservationsApiFp(configuration);
|
|
3303
3604
|
return {
|
|
3605
|
+
/**
|
|
3606
|
+
*
|
|
3607
|
+
* @summary Reservations Get
|
|
3608
|
+
* @param {string} reservationId
|
|
3609
|
+
* @param {*} [options] Override http request option.
|
|
3610
|
+
* @throws {RequiredError}
|
|
3611
|
+
*/
|
|
3612
|
+
reservationsGet(reservationId, options) {
|
|
3613
|
+
return localVarFp.reservationsGet(reservationId, options).then((request) => request(axios, basePath));
|
|
3614
|
+
},
|
|
3304
3615
|
/**
|
|
3305
3616
|
*
|
|
3306
3617
|
* @summary Reservations List
|
|
@@ -3320,6 +3631,17 @@ var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
|
3320
3631
|
};
|
|
3321
3632
|
};
|
|
3322
3633
|
var ReservationsApi = class extends BaseAPI {
|
|
3634
|
+
/**
|
|
3635
|
+
*
|
|
3636
|
+
* @summary Reservations Get
|
|
3637
|
+
* @param {string} reservationId
|
|
3638
|
+
* @param {*} [options] Override http request option.
|
|
3639
|
+
* @throws {RequiredError}
|
|
3640
|
+
* @memberof ReservationsApi
|
|
3641
|
+
*/
|
|
3642
|
+
reservationsGet(reservationId, options) {
|
|
3643
|
+
return ReservationsApiFp(this.configuration).reservationsGet(reservationId, options).then((request) => request(this.axios, this.basePath));
|
|
3644
|
+
}
|
|
3323
3645
|
/**
|
|
3324
3646
|
*
|
|
3325
3647
|
* @summary Reservations List
|
|
@@ -4254,6 +4576,140 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4254
4576
|
options: localVarRequestOptions
|
|
4255
4577
|
};
|
|
4256
4578
|
},
|
|
4579
|
+
/**
|
|
4580
|
+
*
|
|
4581
|
+
* @summary Providers Create
|
|
4582
|
+
* @param {ProviderCreate} providerCreate
|
|
4583
|
+
* @param {*} [options] Override http request option.
|
|
4584
|
+
* @throws {RequiredError}
|
|
4585
|
+
*/
|
|
4586
|
+
providersCreate: async (providerCreate, options = {}) => {
|
|
4587
|
+
assertParamExists("providersCreate", "providerCreate", providerCreate);
|
|
4588
|
+
const localVarPath = `/providers`;
|
|
4589
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4590
|
+
let baseOptions;
|
|
4591
|
+
if (configuration) {
|
|
4592
|
+
baseOptions = configuration.baseOptions;
|
|
4593
|
+
}
|
|
4594
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
4595
|
+
const localVarHeaderParameter = {};
|
|
4596
|
+
const localVarQueryParameter = {};
|
|
4597
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4598
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4599
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4600
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4601
|
+
localVarRequestOptions.data = serializeDataIfNeeded(providerCreate, localVarRequestOptions, configuration);
|
|
4602
|
+
return {
|
|
4603
|
+
url: toPathString(localVarUrlObj),
|
|
4604
|
+
options: localVarRequestOptions
|
|
4605
|
+
};
|
|
4606
|
+
},
|
|
4607
|
+
/**
|
|
4608
|
+
*
|
|
4609
|
+
* @summary Providers Get
|
|
4610
|
+
* @param {string} providerId
|
|
4611
|
+
* @param {*} [options] Override http request option.
|
|
4612
|
+
* @throws {RequiredError}
|
|
4613
|
+
*/
|
|
4614
|
+
providersGet: async (providerId, options = {}) => {
|
|
4615
|
+
assertParamExists("providersGet", "providerId", providerId);
|
|
4616
|
+
const localVarPath = `/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
4617
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4618
|
+
let baseOptions;
|
|
4619
|
+
if (configuration) {
|
|
4620
|
+
baseOptions = configuration.baseOptions;
|
|
4621
|
+
}
|
|
4622
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4623
|
+
const localVarHeaderParameter = {};
|
|
4624
|
+
const localVarQueryParameter = {};
|
|
4625
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4626
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4627
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4628
|
+
return {
|
|
4629
|
+
url: toPathString(localVarUrlObj),
|
|
4630
|
+
options: localVarRequestOptions
|
|
4631
|
+
};
|
|
4632
|
+
},
|
|
4633
|
+
/**
|
|
4634
|
+
*
|
|
4635
|
+
* @summary Providers List
|
|
4636
|
+
* @param {*} [options] Override http request option.
|
|
4637
|
+
* @throws {RequiredError}
|
|
4638
|
+
*/
|
|
4639
|
+
providersList: async (options = {}) => {
|
|
4640
|
+
const localVarPath = `/providers`;
|
|
4641
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4642
|
+
let baseOptions;
|
|
4643
|
+
if (configuration) {
|
|
4644
|
+
baseOptions = configuration.baseOptions;
|
|
4645
|
+
}
|
|
4646
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4647
|
+
const localVarHeaderParameter = {};
|
|
4648
|
+
const localVarQueryParameter = {};
|
|
4649
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4650
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4651
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4652
|
+
return {
|
|
4653
|
+
url: toPathString(localVarUrlObj),
|
|
4654
|
+
options: localVarRequestOptions
|
|
4655
|
+
};
|
|
4656
|
+
},
|
|
4657
|
+
/**
|
|
4658
|
+
*
|
|
4659
|
+
* @summary Providers Update
|
|
4660
|
+
* @param {string} providerId
|
|
4661
|
+
* @param {ProviderUpdate} providerUpdate
|
|
4662
|
+
* @param {*} [options] Override http request option.
|
|
4663
|
+
* @throws {RequiredError}
|
|
4664
|
+
*/
|
|
4665
|
+
providersUpdate: async (providerId, providerUpdate, options = {}) => {
|
|
4666
|
+
assertParamExists("providersUpdate", "providerId", providerId);
|
|
4667
|
+
assertParamExists("providersUpdate", "providerUpdate", providerUpdate);
|
|
4668
|
+
const localVarPath = `/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
4669
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4670
|
+
let baseOptions;
|
|
4671
|
+
if (configuration) {
|
|
4672
|
+
baseOptions = configuration.baseOptions;
|
|
4673
|
+
}
|
|
4674
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
4675
|
+
const localVarHeaderParameter = {};
|
|
4676
|
+
const localVarQueryParameter = {};
|
|
4677
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4678
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4679
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4680
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4681
|
+
localVarRequestOptions.data = serializeDataIfNeeded(providerUpdate, localVarRequestOptions, configuration);
|
|
4682
|
+
return {
|
|
4683
|
+
url: toPathString(localVarUrlObj),
|
|
4684
|
+
options: localVarRequestOptions
|
|
4685
|
+
};
|
|
4686
|
+
},
|
|
4687
|
+
/**
|
|
4688
|
+
*
|
|
4689
|
+
* @summary Reservations Get
|
|
4690
|
+
* @param {string} reservationId
|
|
4691
|
+
* @param {*} [options] Override http request option.
|
|
4692
|
+
* @throws {RequiredError}
|
|
4693
|
+
*/
|
|
4694
|
+
reservationsGet: async (reservationId, options = {}) => {
|
|
4695
|
+
assertParamExists("reservationsGet", "reservationId", reservationId);
|
|
4696
|
+
const localVarPath = `/reservations/{reservationId}`.replace(`{${"reservationId"}}`, encodeURIComponent(String(reservationId)));
|
|
4697
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4698
|
+
let baseOptions;
|
|
4699
|
+
if (configuration) {
|
|
4700
|
+
baseOptions = configuration.baseOptions;
|
|
4701
|
+
}
|
|
4702
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4703
|
+
const localVarHeaderParameter = {};
|
|
4704
|
+
const localVarQueryParameter = {};
|
|
4705
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4706
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4707
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4708
|
+
return {
|
|
4709
|
+
url: toPathString(localVarUrlObj),
|
|
4710
|
+
options: localVarRequestOptions
|
|
4711
|
+
};
|
|
4712
|
+
},
|
|
4257
4713
|
/**
|
|
4258
4714
|
*
|
|
4259
4715
|
* @summary Reservations List
|
|
@@ -4348,8 +4804,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4348
4804
|
*/
|
|
4349
4805
|
async accountsList(options) {
|
|
4350
4806
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
4351
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4352
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4807
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _194 => _194.serverIndex]), () => ( 0));
|
|
4808
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _195 => _195["UnboundApi.accountsList"], 'optionalAccess', _196 => _196[localVarOperationServerIndex], 'optionalAccess', _197 => _197.url]);
|
|
4353
4809
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4354
4810
|
},
|
|
4355
4811
|
/**
|
|
@@ -4362,8 +4818,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4362
4818
|
*/
|
|
4363
4819
|
async addressesCreate(contactId, addressCreate, options) {
|
|
4364
4820
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
4365
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4366
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4821
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _198 => _198.serverIndex]), () => ( 0));
|
|
4822
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _199 => _199["UnboundApi.addressesCreate"], 'optionalAccess', _200 => _200[localVarOperationServerIndex], 'optionalAccess', _201 => _201.url]);
|
|
4367
4823
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4368
4824
|
},
|
|
4369
4825
|
/**
|
|
@@ -4375,8 +4831,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4375
4831
|
*/
|
|
4376
4832
|
async addressesDelete(addressId, options) {
|
|
4377
4833
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
4378
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4379
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4834
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _202 => _202.serverIndex]), () => ( 0));
|
|
4835
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _203 => _203["UnboundApi.addressesDelete"], 'optionalAccess', _204 => _204[localVarOperationServerIndex], 'optionalAccess', _205 => _205.url]);
|
|
4380
4836
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4381
4837
|
},
|
|
4382
4838
|
/**
|
|
@@ -4389,8 +4845,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4389
4845
|
*/
|
|
4390
4846
|
async addressesUpdate(addressId, addressUpdate, options) {
|
|
4391
4847
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
4392
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4393
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4848
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _206 => _206.serverIndex]), () => ( 0));
|
|
4849
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _207 => _207["UnboundApi.addressesUpdate"], 'optionalAccess', _208 => _208[localVarOperationServerIndex], 'optionalAccess', _209 => _209.url]);
|
|
4394
4850
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4395
4851
|
},
|
|
4396
4852
|
/**
|
|
@@ -4404,8 +4860,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4404
4860
|
*/
|
|
4405
4861
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
4406
4862
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
4407
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4408
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4863
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _210 => _210.serverIndex]), () => ( 0));
|
|
4864
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _211 => _211["UnboundApi.contactsAddListing"], 'optionalAccess', _212 => _212[localVarOperationServerIndex], 'optionalAccess', _213 => _213.url]);
|
|
4409
4865
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4410
4866
|
},
|
|
4411
4867
|
/**
|
|
@@ -4417,8 +4873,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4417
4873
|
*/
|
|
4418
4874
|
async contactsCreate(contactCreate, options) {
|
|
4419
4875
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactCreate, options);
|
|
4420
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4421
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4876
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _214 => _214.serverIndex]), () => ( 0));
|
|
4877
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _215 => _215["UnboundApi.contactsCreate"], 'optionalAccess', _216 => _216[localVarOperationServerIndex], 'optionalAccess', _217 => _217.url]);
|
|
4422
4878
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4423
4879
|
},
|
|
4424
4880
|
/**
|
|
@@ -4430,8 +4886,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4430
4886
|
*/
|
|
4431
4887
|
async contactsDelete(contactId, options) {
|
|
4432
4888
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
4433
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4434
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4889
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _218 => _218.serverIndex]), () => ( 0));
|
|
4890
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _219 => _219["UnboundApi.contactsDelete"], 'optionalAccess', _220 => _220[localVarOperationServerIndex], 'optionalAccess', _221 => _221.url]);
|
|
4435
4891
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4436
4892
|
},
|
|
4437
4893
|
/**
|
|
@@ -4443,8 +4899,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4443
4899
|
*/
|
|
4444
4900
|
async contactsGet(contactId, options) {
|
|
4445
4901
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
4446
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4447
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4902
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _222 => _222.serverIndex]), () => ( 0));
|
|
4903
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.contactsGet"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
4448
4904
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4449
4905
|
},
|
|
4450
4906
|
/**
|
|
@@ -4461,8 +4917,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4461
4917
|
*/
|
|
4462
4918
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4463
4919
|
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',
|
|
4920
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4921
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.contactsList"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
4466
4922
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4467
4923
|
},
|
|
4468
4924
|
/**
|
|
@@ -4476,8 +4932,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4476
4932
|
*/
|
|
4477
4933
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
4478
4934
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
4479
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4480
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4935
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4936
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["UnboundApi.contactsRemoveListing"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4481
4937
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4482
4938
|
},
|
|
4483
4939
|
/**
|
|
@@ -4490,8 +4946,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4490
4946
|
*/
|
|
4491
4947
|
async contactsUpdate(contactId, contactUpdate, options) {
|
|
4492
4948
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
|
|
4493
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4494
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4949
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4950
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.contactsUpdate"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4495
4951
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4496
4952
|
},
|
|
4497
4953
|
/**
|
|
@@ -4505,8 +4961,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4505
4961
|
*/
|
|
4506
4962
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4507
4963
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
4508
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4509
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4964
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4965
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.contactsUpdateListing"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4510
4966
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4511
4967
|
},
|
|
4512
4968
|
/**
|
|
@@ -4518,8 +4974,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4518
4974
|
*/
|
|
4519
4975
|
async conversationsCreate(conversationCreate, options) {
|
|
4520
4976
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(conversationCreate, options);
|
|
4521
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4522
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4977
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4978
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.conversationsCreate"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4523
4979
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4524
4980
|
},
|
|
4525
4981
|
/**
|
|
@@ -4531,8 +4987,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4531
4987
|
*/
|
|
4532
4988
|
async conversationsGet(conversationId, options) {
|
|
4533
4989
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4534
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4535
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4990
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4991
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.conversationsGet"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4536
4992
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4537
4993
|
},
|
|
4538
4994
|
/**
|
|
@@ -4550,8 +5006,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4550
5006
|
*/
|
|
4551
5007
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4552
5008
|
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',
|
|
5009
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
5010
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.conversationsList"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4555
5011
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4556
5012
|
},
|
|
4557
5013
|
/**
|
|
@@ -4564,8 +5020,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4564
5020
|
*/
|
|
4565
5021
|
async conversationsUpdate(conversationId, conversationUpdate, options) {
|
|
4566
5022
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, conversationUpdate, options);
|
|
4567
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4568
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5023
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
5024
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.conversationsUpdate"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4569
5025
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4570
5026
|
},
|
|
4571
5027
|
/**
|
|
@@ -4578,8 +5034,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4578
5034
|
*/
|
|
4579
5035
|
async emailsCreate(contactId, emailCreate, options) {
|
|
4580
5036
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
4581
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4582
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5037
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
5038
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.emailsCreate"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4583
5039
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4584
5040
|
},
|
|
4585
5041
|
/**
|
|
@@ -4591,8 +5047,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4591
5047
|
*/
|
|
4592
5048
|
async emailsDelete(emailId, options) {
|
|
4593
5049
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4594
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4595
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5050
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
5051
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.emailsDelete"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4596
5052
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4597
5053
|
},
|
|
4598
5054
|
/**
|
|
@@ -4605,8 +5061,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4605
5061
|
*/
|
|
4606
5062
|
async emailsUpdate(emailId, emailUpdate, options) {
|
|
4607
5063
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, emailUpdate, options);
|
|
4608
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4609
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5064
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
5065
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.emailsUpdate"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4610
5066
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4611
5067
|
},
|
|
4612
5068
|
/**
|
|
@@ -4618,8 +5074,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4618
5074
|
*/
|
|
4619
5075
|
async inquiriesList(contactId, options) {
|
|
4620
5076
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4621
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4622
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5077
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
5078
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.inquiriesList"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4623
5079
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4624
5080
|
},
|
|
4625
5081
|
/**
|
|
@@ -4631,8 +5087,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4631
5087
|
*/
|
|
4632
5088
|
async listingsGet(listingId, options) {
|
|
4633
5089
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4634
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4635
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5090
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
5091
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.listingsGet"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4636
5092
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4637
5093
|
},
|
|
4638
5094
|
/**
|
|
@@ -4650,8 +5106,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4650
5106
|
*/
|
|
4651
5107
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4652
5108
|
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',
|
|
5109
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
5110
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.listingsList"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4655
5111
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4656
5112
|
},
|
|
4657
5113
|
/**
|
|
@@ -4662,8 +5118,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4662
5118
|
*/
|
|
4663
5119
|
async managedPhoneNumbersList(options) {
|
|
4664
5120
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
4665
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4666
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5121
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
5122
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4667
5123
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4668
5124
|
},
|
|
4669
5125
|
/**
|
|
@@ -4676,8 +5132,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4676
5132
|
*/
|
|
4677
5133
|
async messagesCreate(conversationId, messageCreate, options) {
|
|
4678
5134
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messageCreate, options);
|
|
4679
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4680
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5135
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
5136
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.messagesCreate"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4681
5137
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4682
5138
|
},
|
|
4683
5139
|
/**
|
|
@@ -4689,8 +5145,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4689
5145
|
*/
|
|
4690
5146
|
async messagesGet(messageId, options) {
|
|
4691
5147
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
4692
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4693
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5148
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
5149
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.messagesGet"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4694
5150
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4695
5151
|
},
|
|
4696
5152
|
/**
|
|
@@ -4709,8 +5165,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4709
5165
|
*/
|
|
4710
5166
|
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4711
5167
|
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',
|
|
5168
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
5169
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.messagesList"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4714
5170
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4715
5171
|
},
|
|
4716
5172
|
/**
|
|
@@ -4723,8 +5179,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4723
5179
|
*/
|
|
4724
5180
|
async phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
4725
5181
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, phoneNumberCreate, options);
|
|
4726
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4727
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5182
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
5183
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.phoneNumbersCreate"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
4728
5184
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4729
5185
|
},
|
|
4730
5186
|
/**
|
|
@@ -4736,8 +5192,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4736
5192
|
*/
|
|
4737
5193
|
async phoneNumbersDelete(phoneNumberId, options) {
|
|
4738
5194
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersDelete(phoneNumberId, options);
|
|
4739
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4740
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5195
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
5196
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.phoneNumbersDelete"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
4741
5197
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4742
5198
|
},
|
|
4743
5199
|
/**
|
|
@@ -4750,8 +5206,73 @@ var UnboundApiFp = function(configuration) {
|
|
|
4750
5206
|
*/
|
|
4751
5207
|
async phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
4752
5208
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options);
|
|
4753
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4754
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5209
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
5210
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.phoneNumbersUpdate"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
5211
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5212
|
+
},
|
|
5213
|
+
/**
|
|
5214
|
+
*
|
|
5215
|
+
* @summary Providers Create
|
|
5216
|
+
* @param {ProviderCreate} providerCreate
|
|
5217
|
+
* @param {*} [options] Override http request option.
|
|
5218
|
+
* @throws {RequiredError}
|
|
5219
|
+
*/
|
|
5220
|
+
async providersCreate(providerCreate, options) {
|
|
5221
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(providerCreate, options);
|
|
5222
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _310 => _310.serverIndex]), () => ( 0));
|
|
5223
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _311 => _311["UnboundApi.providersCreate"], 'optionalAccess', _312 => _312[localVarOperationServerIndex], 'optionalAccess', _313 => _313.url]);
|
|
5224
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5225
|
+
},
|
|
5226
|
+
/**
|
|
5227
|
+
*
|
|
5228
|
+
* @summary Providers Get
|
|
5229
|
+
* @param {string} providerId
|
|
5230
|
+
* @param {*} [options] Override http request option.
|
|
5231
|
+
* @throws {RequiredError}
|
|
5232
|
+
*/
|
|
5233
|
+
async providersGet(providerId, options) {
|
|
5234
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
5235
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _314 => _314.serverIndex]), () => ( 0));
|
|
5236
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _315 => _315["UnboundApi.providersGet"], 'optionalAccess', _316 => _316[localVarOperationServerIndex], 'optionalAccess', _317 => _317.url]);
|
|
5237
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5238
|
+
},
|
|
5239
|
+
/**
|
|
5240
|
+
*
|
|
5241
|
+
* @summary Providers List
|
|
5242
|
+
* @param {*} [options] Override http request option.
|
|
5243
|
+
* @throws {RequiredError}
|
|
5244
|
+
*/
|
|
5245
|
+
async providersList(options) {
|
|
5246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
5247
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _318 => _318.serverIndex]), () => ( 0));
|
|
5248
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _319 => _319["UnboundApi.providersList"], 'optionalAccess', _320 => _320[localVarOperationServerIndex], 'optionalAccess', _321 => _321.url]);
|
|
5249
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5250
|
+
},
|
|
5251
|
+
/**
|
|
5252
|
+
*
|
|
5253
|
+
* @summary Providers Update
|
|
5254
|
+
* @param {string} providerId
|
|
5255
|
+
* @param {ProviderUpdate} providerUpdate
|
|
5256
|
+
* @param {*} [options] Override http request option.
|
|
5257
|
+
* @throws {RequiredError}
|
|
5258
|
+
*/
|
|
5259
|
+
async providersUpdate(providerId, providerUpdate, options) {
|
|
5260
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, providerUpdate, options);
|
|
5261
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _322 => _322.serverIndex]), () => ( 0));
|
|
5262
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _323 => _323["UnboundApi.providersUpdate"], 'optionalAccess', _324 => _324[localVarOperationServerIndex], 'optionalAccess', _325 => _325.url]);
|
|
5263
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5264
|
+
},
|
|
5265
|
+
/**
|
|
5266
|
+
*
|
|
5267
|
+
* @summary Reservations Get
|
|
5268
|
+
* @param {string} reservationId
|
|
5269
|
+
* @param {*} [options] Override http request option.
|
|
5270
|
+
* @throws {RequiredError}
|
|
5271
|
+
*/
|
|
5272
|
+
async reservationsGet(reservationId, options) {
|
|
5273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
5274
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _326 => _326.serverIndex]), () => ( 0));
|
|
5275
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _327 => _327["UnboundApi.reservationsGet"], 'optionalAccess', _328 => _328[localVarOperationServerIndex], 'optionalAccess', _329 => _329.url]);
|
|
4755
5276
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4756
5277
|
},
|
|
4757
5278
|
/**
|
|
@@ -4769,8 +5290,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4769
5290
|
*/
|
|
4770
5291
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4771
5292
|
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',
|
|
5293
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _330 => _330.serverIndex]), () => ( 0));
|
|
5294
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _331 => _331["UnboundApi.reservationsList"], 'optionalAccess', _332 => _332[localVarOperationServerIndex], 'optionalAccess', _333 => _333.url]);
|
|
4774
5295
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4775
5296
|
},
|
|
4776
5297
|
/**
|
|
@@ -4782,8 +5303,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4782
5303
|
*/
|
|
4783
5304
|
async webhook(hostawayWebhook, options) {
|
|
4784
5305
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
4785
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4786
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5306
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _334 => _334.serverIndex]), () => ( 0));
|
|
5307
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _335 => _335["UnboundApi.webhook"], 'optionalAccess', _336 => _336[localVarOperationServerIndex], 'optionalAccess', _337 => _337.url]);
|
|
4787
5308
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4788
5309
|
}
|
|
4789
5310
|
};
|
|
@@ -5118,6 +5639,56 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5118
5639
|
phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
5119
5640
|
return localVarFp.phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options).then((request) => request(axios, basePath));
|
|
5120
5641
|
},
|
|
5642
|
+
/**
|
|
5643
|
+
*
|
|
5644
|
+
* @summary Providers Create
|
|
5645
|
+
* @param {ProviderCreate} providerCreate
|
|
5646
|
+
* @param {*} [options] Override http request option.
|
|
5647
|
+
* @throws {RequiredError}
|
|
5648
|
+
*/
|
|
5649
|
+
providersCreate(providerCreate, options) {
|
|
5650
|
+
return localVarFp.providersCreate(providerCreate, options).then((request) => request(axios, basePath));
|
|
5651
|
+
},
|
|
5652
|
+
/**
|
|
5653
|
+
*
|
|
5654
|
+
* @summary Providers Get
|
|
5655
|
+
* @param {string} providerId
|
|
5656
|
+
* @param {*} [options] Override http request option.
|
|
5657
|
+
* @throws {RequiredError}
|
|
5658
|
+
*/
|
|
5659
|
+
providersGet(providerId, options) {
|
|
5660
|
+
return localVarFp.providersGet(providerId, options).then((request) => request(axios, basePath));
|
|
5661
|
+
},
|
|
5662
|
+
/**
|
|
5663
|
+
*
|
|
5664
|
+
* @summary Providers List
|
|
5665
|
+
* @param {*} [options] Override http request option.
|
|
5666
|
+
* @throws {RequiredError}
|
|
5667
|
+
*/
|
|
5668
|
+
providersList(options) {
|
|
5669
|
+
return localVarFp.providersList(options).then((request) => request(axios, basePath));
|
|
5670
|
+
},
|
|
5671
|
+
/**
|
|
5672
|
+
*
|
|
5673
|
+
* @summary Providers Update
|
|
5674
|
+
* @param {string} providerId
|
|
5675
|
+
* @param {ProviderUpdate} providerUpdate
|
|
5676
|
+
* @param {*} [options] Override http request option.
|
|
5677
|
+
* @throws {RequiredError}
|
|
5678
|
+
*/
|
|
5679
|
+
providersUpdate(providerId, providerUpdate, options) {
|
|
5680
|
+
return localVarFp.providersUpdate(providerId, providerUpdate, options).then((request) => request(axios, basePath));
|
|
5681
|
+
},
|
|
5682
|
+
/**
|
|
5683
|
+
*
|
|
5684
|
+
* @summary Reservations Get
|
|
5685
|
+
* @param {string} reservationId
|
|
5686
|
+
* @param {*} [options] Override http request option.
|
|
5687
|
+
* @throws {RequiredError}
|
|
5688
|
+
*/
|
|
5689
|
+
reservationsGet(reservationId, options) {
|
|
5690
|
+
return localVarFp.reservationsGet(reservationId, options).then((request) => request(axios, basePath));
|
|
5691
|
+
},
|
|
5121
5692
|
/**
|
|
5122
5693
|
*
|
|
5123
5694
|
* @summary Reservations List
|
|
@@ -5503,6 +6074,61 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5503
6074
|
phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options) {
|
|
5504
6075
|
return UnboundApiFp(this.configuration).phoneNumbersUpdate(phoneNumberId, phoneNumberUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5505
6076
|
}
|
|
6077
|
+
/**
|
|
6078
|
+
*
|
|
6079
|
+
* @summary Providers Create
|
|
6080
|
+
* @param {ProviderCreate} providerCreate
|
|
6081
|
+
* @param {*} [options] Override http request option.
|
|
6082
|
+
* @throws {RequiredError}
|
|
6083
|
+
* @memberof UnboundApi
|
|
6084
|
+
*/
|
|
6085
|
+
providersCreate(providerCreate, options) {
|
|
6086
|
+
return UnboundApiFp(this.configuration).providersCreate(providerCreate, options).then((request) => request(this.axios, this.basePath));
|
|
6087
|
+
}
|
|
6088
|
+
/**
|
|
6089
|
+
*
|
|
6090
|
+
* @summary Providers Get
|
|
6091
|
+
* @param {string} providerId
|
|
6092
|
+
* @param {*} [options] Override http request option.
|
|
6093
|
+
* @throws {RequiredError}
|
|
6094
|
+
* @memberof UnboundApi
|
|
6095
|
+
*/
|
|
6096
|
+
providersGet(providerId, options) {
|
|
6097
|
+
return UnboundApiFp(this.configuration).providersGet(providerId, options).then((request) => request(this.axios, this.basePath));
|
|
6098
|
+
}
|
|
6099
|
+
/**
|
|
6100
|
+
*
|
|
6101
|
+
* @summary Providers List
|
|
6102
|
+
* @param {*} [options] Override http request option.
|
|
6103
|
+
* @throws {RequiredError}
|
|
6104
|
+
* @memberof UnboundApi
|
|
6105
|
+
*/
|
|
6106
|
+
providersList(options) {
|
|
6107
|
+
return UnboundApiFp(this.configuration).providersList(options).then((request) => request(this.axios, this.basePath));
|
|
6108
|
+
}
|
|
6109
|
+
/**
|
|
6110
|
+
*
|
|
6111
|
+
* @summary Providers Update
|
|
6112
|
+
* @param {string} providerId
|
|
6113
|
+
* @param {ProviderUpdate} providerUpdate
|
|
6114
|
+
* @param {*} [options] Override http request option.
|
|
6115
|
+
* @throws {RequiredError}
|
|
6116
|
+
* @memberof UnboundApi
|
|
6117
|
+
*/
|
|
6118
|
+
providersUpdate(providerId, providerUpdate, options) {
|
|
6119
|
+
return UnboundApiFp(this.configuration).providersUpdate(providerId, providerUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
6120
|
+
}
|
|
6121
|
+
/**
|
|
6122
|
+
*
|
|
6123
|
+
* @summary Reservations Get
|
|
6124
|
+
* @param {string} reservationId
|
|
6125
|
+
* @param {*} [options] Override http request option.
|
|
6126
|
+
* @throws {RequiredError}
|
|
6127
|
+
* @memberof UnboundApi
|
|
6128
|
+
*/
|
|
6129
|
+
reservationsGet(reservationId, options) {
|
|
6130
|
+
return UnboundApiFp(this.configuration).reservationsGet(reservationId, options).then((request) => request(this.axios, this.basePath));
|
|
6131
|
+
}
|
|
5506
6132
|
/**
|
|
5507
6133
|
*
|
|
5508
6134
|
* @summary Reservations List
|
|
@@ -5601,7 +6227,7 @@ var Configuration = class {
|
|
|
5601
6227
|
this.baseOptions = {
|
|
5602
6228
|
...param.baseOptions,
|
|
5603
6229
|
headers: {
|
|
5604
|
-
..._optionalChain([param, 'access',
|
|
6230
|
+
..._optionalChain([param, 'access', _338 => _338.baseOptions, 'optionalAccess', _339 => _339.headers])
|
|
5605
6231
|
}
|
|
5606
6232
|
};
|
|
5607
6233
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -5696,5 +6322,9 @@ var Configuration = class {
|
|
|
5696
6322
|
|
|
5697
6323
|
|
|
5698
6324
|
|
|
5699
|
-
|
|
6325
|
+
|
|
6326
|
+
|
|
6327
|
+
|
|
6328
|
+
|
|
6329
|
+
exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.AddressesApi = AddressesApi; exports.AddressesApiAxiosParamCreator = AddressesApiAxiosParamCreator; exports.AddressesApiFactory = AddressesApiFactory; exports.AddressesApiFp = AddressesApiFp; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactSortBy = ContactSortBy; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.ConversationStatus = ConversationStatus; exports.ConversationsApi = ConversationsApi; exports.ConversationsApiAxiosParamCreator = ConversationsApiAxiosParamCreator; exports.ConversationsApiFactory = ConversationsApiFactory; exports.ConversationsApiFp = ConversationsApiFp; exports.EmailsApi = EmailsApi; exports.EmailsApiAxiosParamCreator = EmailsApiAxiosParamCreator; exports.EmailsApiFactory = EmailsApiFactory; exports.EmailsApiFp = EmailsApiFp; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.ListingSortBy = ListingSortBy; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.ManagedPhoneNumbersApi = ManagedPhoneNumbersApi; exports.ManagedPhoneNumbersApiAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator; exports.ManagedPhoneNumbersApiFactory = ManagedPhoneNumbersApiFactory; exports.ManagedPhoneNumbersApiFp = ManagedPhoneNumbersApiFp; exports.MessageDirection = MessageDirection; exports.MessageStatus = MessageStatus; exports.MessagesApi = MessagesApi; exports.MessagesApiAxiosParamCreator = MessagesApiAxiosParamCreator; exports.MessagesApiFactory = MessagesApiFactory; exports.MessagesApiFp = MessagesApiFp; exports.PaginationDirection = PaginationDirection; exports.PhoneNumbersApi = PhoneNumbersApi; exports.PhoneNumbersApiAxiosParamCreator = PhoneNumbersApiAxiosParamCreator; exports.PhoneNumbersApiFactory = PhoneNumbersApiFactory; exports.PhoneNumbersApiFp = PhoneNumbersApiFp; exports.ProviderMessageApiConversationTypeEnum = ProviderMessageApiConversationTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SortOrder = SortOrder; exports.SrcResourceModelsConversationsModelConversationsModelConversationSortBy = SrcResourceModelsConversationsModelConversationsModelConversationSortBy; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum; exports.SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy = SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.TwilioInboundSenderTypeDataApiDirectionEnum = TwilioInboundSenderTypeDataApiDirectionEnum; exports.TwilioMessageApiConversationTypeEnum = TwilioMessageApiConversationTypeEnum; exports.TwilioOutboundSenderTypeDataApiDirectionEnum = TwilioOutboundSenderTypeDataApiDirectionEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
5700
6330
|
//# sourceMappingURL=index.js.map
|