@ember-home/unbound-ts-client 0.0.99 → 0.0.100
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 +1291 -136
- package/dist/index.d.ts +1291 -136
- package/dist/index.js +2236 -454
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1784 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4305,100 +4305,26 @@ var ReservationsApi = class extends BaseAPI {
|
|
|
4305
4305
|
return ReservationsApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
4306
4306
|
}
|
|
4307
4307
|
};
|
|
4308
|
-
var
|
|
4309
|
-
return {
|
|
4310
|
-
/**
|
|
4311
|
-
*
|
|
4312
|
-
* @summary Telnyx Webhook
|
|
4313
|
-
* @param {{ [key: string]: any; }} requestBody
|
|
4314
|
-
* @param {*} [options] Override http request option.
|
|
4315
|
-
* @throws {RequiredError}
|
|
4316
|
-
*/
|
|
4317
|
-
telnyxWebhookTelnyxWebhooksPost: async (requestBody, options = {}) => {
|
|
4318
|
-
assertParamExists("telnyxWebhookTelnyxWebhooksPost", "requestBody", requestBody);
|
|
4319
|
-
const localVarPath = `/telnyx-webhooks`;
|
|
4320
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4321
|
-
let baseOptions;
|
|
4322
|
-
if (configuration) {
|
|
4323
|
-
baseOptions = configuration.baseOptions;
|
|
4324
|
-
}
|
|
4325
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
4326
|
-
const localVarHeaderParameter = {};
|
|
4327
|
-
const localVarQueryParameter = {};
|
|
4328
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4329
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4330
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4331
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4332
|
-
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
4333
|
-
return {
|
|
4334
|
-
url: toPathString(localVarUrlObj),
|
|
4335
|
-
options: localVarRequestOptions
|
|
4336
|
-
};
|
|
4337
|
-
}
|
|
4338
|
-
};
|
|
4339
|
-
};
|
|
4340
|
-
var TelnyxApiFp = function(configuration) {
|
|
4341
|
-
const localVarAxiosParamCreator = TelnyxApiAxiosParamCreator(configuration);
|
|
4342
|
-
return {
|
|
4343
|
-
/**
|
|
4344
|
-
*
|
|
4345
|
-
* @summary Telnyx Webhook
|
|
4346
|
-
* @param {{ [key: string]: any; }} requestBody
|
|
4347
|
-
* @param {*} [options] Override http request option.
|
|
4348
|
-
* @throws {RequiredError}
|
|
4349
|
-
*/
|
|
4350
|
-
async telnyxWebhookTelnyxWebhooksPost(requestBody, options) {
|
|
4351
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.telnyxWebhookTelnyxWebhooksPost(requestBody, options);
|
|
4352
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4353
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["TelnyxApi.telnyxWebhookTelnyxWebhooksPost"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4354
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4355
|
-
}
|
|
4356
|
-
};
|
|
4357
|
-
};
|
|
4358
|
-
var TelnyxApiFactory = function(configuration, basePath, axios) {
|
|
4359
|
-
const localVarFp = TelnyxApiFp(configuration);
|
|
4360
|
-
return {
|
|
4361
|
-
/**
|
|
4362
|
-
*
|
|
4363
|
-
* @summary Telnyx Webhook
|
|
4364
|
-
* @param {{ [key: string]: any; }} requestBody
|
|
4365
|
-
* @param {*} [options] Override http request option.
|
|
4366
|
-
* @throws {RequiredError}
|
|
4367
|
-
*/
|
|
4368
|
-
telnyxWebhookTelnyxWebhooksPost(requestBody, options) {
|
|
4369
|
-
return localVarFp.telnyxWebhookTelnyxWebhooksPost(requestBody, options).then((request) => request(axios, basePath));
|
|
4370
|
-
}
|
|
4371
|
-
};
|
|
4372
|
-
};
|
|
4373
|
-
var TelnyxApi = class extends BaseAPI {
|
|
4374
|
-
/**
|
|
4375
|
-
*
|
|
4376
|
-
* @summary Telnyx Webhook
|
|
4377
|
-
* @param {{ [key: string]: any; }} requestBody
|
|
4378
|
-
* @param {*} [options] Override http request option.
|
|
4379
|
-
* @throws {RequiredError}
|
|
4380
|
-
* @memberof TelnyxApi
|
|
4381
|
-
*/
|
|
4382
|
-
telnyxWebhookTelnyxWebhooksPost(requestBody, options) {
|
|
4383
|
-
return TelnyxApiFp(this.configuration).telnyxWebhookTelnyxWebhooksPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
4384
|
-
}
|
|
4385
|
-
};
|
|
4386
|
-
var UnboundApiAxiosParamCreator = function(configuration) {
|
|
4308
|
+
var TagsApiAxiosParamCreator = function(configuration) {
|
|
4387
4309
|
return {
|
|
4388
4310
|
/**
|
|
4389
|
-
*
|
|
4390
|
-
* @summary
|
|
4311
|
+
* Associates a tag with an account. This operation is idempotent.
|
|
4312
|
+
* @summary Add Tag To Account
|
|
4313
|
+
* @param {string} accountId
|
|
4314
|
+
* @param {string} tagId
|
|
4391
4315
|
* @param {*} [options] Override http request option.
|
|
4392
4316
|
* @throws {RequiredError}
|
|
4393
4317
|
*/
|
|
4394
|
-
|
|
4395
|
-
|
|
4318
|
+
accountsAddTag: async (accountId, tagId, options = {}) => {
|
|
4319
|
+
assertParamExists("accountsAddTag", "accountId", accountId);
|
|
4320
|
+
assertParamExists("accountsAddTag", "tagId", tagId);
|
|
4321
|
+
const localVarPath = `/v1/accounts/{account_id}/tags/{tag_id}`.replace(`{${"account_id"}}`, encodeURIComponent(String(accountId))).replace(`{${"tag_id"}}`, encodeURIComponent(String(tagId)));
|
|
4396
4322
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4397
4323
|
let baseOptions;
|
|
4398
4324
|
if (configuration) {
|
|
4399
4325
|
baseOptions = configuration.baseOptions;
|
|
4400
4326
|
}
|
|
4401
|
-
const localVarRequestOptions = { method: "
|
|
4327
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
4402
4328
|
const localVarHeaderParameter = {};
|
|
4403
4329
|
const localVarQueryParameter = {};
|
|
4404
4330
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4410,45 +4336,43 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4410
4336
|
};
|
|
4411
4337
|
},
|
|
4412
4338
|
/**
|
|
4413
|
-
*
|
|
4414
|
-
* @summary
|
|
4415
|
-
* @param {string}
|
|
4416
|
-
* @param {APIAddressCreate} aPIAddressCreate
|
|
4339
|
+
* List all tags associated with an account.
|
|
4340
|
+
* @summary List Account Tags
|
|
4341
|
+
* @param {string} accountId
|
|
4417
4342
|
* @param {*} [options] Override http request option.
|
|
4418
4343
|
* @throws {RequiredError}
|
|
4419
4344
|
*/
|
|
4420
|
-
|
|
4421
|
-
assertParamExists("
|
|
4422
|
-
|
|
4423
|
-
const localVarPath = `/v1/contacts/{contactId}/addresses`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
4345
|
+
accountsListTags: async (accountId, options = {}) => {
|
|
4346
|
+
assertParamExists("accountsListTags", "accountId", accountId);
|
|
4347
|
+
const localVarPath = `/v1/accounts/{account_id}/tags`.replace(`{${"account_id"}}`, encodeURIComponent(String(accountId)));
|
|
4424
4348
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4425
4349
|
let baseOptions;
|
|
4426
4350
|
if (configuration) {
|
|
4427
4351
|
baseOptions = configuration.baseOptions;
|
|
4428
4352
|
}
|
|
4429
|
-
const localVarRequestOptions = { method: "
|
|
4353
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4430
4354
|
const localVarHeaderParameter = {};
|
|
4431
4355
|
const localVarQueryParameter = {};
|
|
4432
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4433
4356
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4434
4357
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4435
4358
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4436
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIAddressCreate, localVarRequestOptions, configuration);
|
|
4437
4359
|
return {
|
|
4438
4360
|
url: toPathString(localVarUrlObj),
|
|
4439
4361
|
options: localVarRequestOptions
|
|
4440
4362
|
};
|
|
4441
4363
|
},
|
|
4442
4364
|
/**
|
|
4443
|
-
*
|
|
4444
|
-
* @summary
|
|
4445
|
-
* @param {string}
|
|
4365
|
+
* Removes a tag association from an account.
|
|
4366
|
+
* @summary Remove Tag From Account
|
|
4367
|
+
* @param {string} accountId
|
|
4368
|
+
* @param {string} tagId
|
|
4446
4369
|
* @param {*} [options] Override http request option.
|
|
4447
4370
|
* @throws {RequiredError}
|
|
4448
4371
|
*/
|
|
4449
|
-
|
|
4450
|
-
assertParamExists("
|
|
4451
|
-
|
|
4372
|
+
accountsRemoveTag: async (accountId, tagId, options = {}) => {
|
|
4373
|
+
assertParamExists("accountsRemoveTag", "accountId", accountId);
|
|
4374
|
+
assertParamExists("accountsRemoveTag", "tagId", tagId);
|
|
4375
|
+
const localVarPath = `/v1/accounts/{account_id}/tags/{tag_id}`.replace(`{${"account_id"}}`, encodeURIComponent(String(accountId))).replace(`{${"tag_id"}}`, encodeURIComponent(String(tagId)));
|
|
4452
4376
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4453
4377
|
let baseOptions;
|
|
4454
4378
|
if (configuration) {
|
|
@@ -4466,21 +4390,23 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4466
4390
|
};
|
|
4467
4391
|
},
|
|
4468
4392
|
/**
|
|
4469
|
-
*
|
|
4470
|
-
* @summary
|
|
4471
|
-
* @param {string}
|
|
4393
|
+
* Associates a tag with a listing. This operation is idempotent.
|
|
4394
|
+
* @summary Add Tag To Listing
|
|
4395
|
+
* @param {string} listingId
|
|
4396
|
+
* @param {string} tagId
|
|
4472
4397
|
* @param {*} [options] Override http request option.
|
|
4473
4398
|
* @throws {RequiredError}
|
|
4474
4399
|
*/
|
|
4475
|
-
|
|
4476
|
-
assertParamExists("
|
|
4477
|
-
|
|
4400
|
+
listingsAddTag: async (listingId, tagId, options = {}) => {
|
|
4401
|
+
assertParamExists("listingsAddTag", "listingId", listingId);
|
|
4402
|
+
assertParamExists("listingsAddTag", "tagId", tagId);
|
|
4403
|
+
const localVarPath = `/v1/listings/{listing_id}/tags/{tag_id}`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId))).replace(`{${"tag_id"}}`, encodeURIComponent(String(tagId)));
|
|
4478
4404
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4479
4405
|
let baseOptions;
|
|
4480
4406
|
if (configuration) {
|
|
4481
4407
|
baseOptions = configuration.baseOptions;
|
|
4482
4408
|
}
|
|
4483
|
-
const localVarRequestOptions = { method: "
|
|
4409
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
4484
4410
|
const localVarHeaderParameter = {};
|
|
4485
4411
|
const localVarQueryParameter = {};
|
|
4486
4412
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4492,77 +4418,71 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4492
4418
|
};
|
|
4493
4419
|
},
|
|
4494
4420
|
/**
|
|
4495
|
-
*
|
|
4496
|
-
* @summary
|
|
4497
|
-
* @param {string}
|
|
4498
|
-
* @param {APIAddressUpdate} aPIAddressUpdate
|
|
4421
|
+
* List all tags associated with a listing.
|
|
4422
|
+
* @summary List Listing Tags
|
|
4423
|
+
* @param {string} listingId
|
|
4499
4424
|
* @param {*} [options] Override http request option.
|
|
4500
4425
|
* @throws {RequiredError}
|
|
4501
4426
|
*/
|
|
4502
|
-
|
|
4503
|
-
assertParamExists("
|
|
4504
|
-
|
|
4505
|
-
const localVarPath = `/v1/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
4427
|
+
listingsListTags: async (listingId, options = {}) => {
|
|
4428
|
+
assertParamExists("listingsListTags", "listingId", listingId);
|
|
4429
|
+
const localVarPath = `/v1/listings/{listing_id}/tags`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
4506
4430
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4507
4431
|
let baseOptions;
|
|
4508
4432
|
if (configuration) {
|
|
4509
4433
|
baseOptions = configuration.baseOptions;
|
|
4510
4434
|
}
|
|
4511
|
-
const localVarRequestOptions = { method: "
|
|
4435
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4512
4436
|
const localVarHeaderParameter = {};
|
|
4513
4437
|
const localVarQueryParameter = {};
|
|
4514
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4515
4438
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4516
4439
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4517
4440
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4518
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIAddressUpdate, localVarRequestOptions, configuration);
|
|
4519
4441
|
return {
|
|
4520
4442
|
url: toPathString(localVarUrlObj),
|
|
4521
4443
|
options: localVarRequestOptions
|
|
4522
4444
|
};
|
|
4523
4445
|
},
|
|
4524
4446
|
/**
|
|
4525
|
-
*
|
|
4526
|
-
* @summary
|
|
4527
|
-
* @param {
|
|
4447
|
+
* Removes a tag association from a listing.
|
|
4448
|
+
* @summary Remove Tag From Listing
|
|
4449
|
+
* @param {string} listingId
|
|
4450
|
+
* @param {string} tagId
|
|
4528
4451
|
* @param {*} [options] Override http request option.
|
|
4529
4452
|
* @throws {RequiredError}
|
|
4530
4453
|
*/
|
|
4531
|
-
|
|
4532
|
-
assertParamExists("
|
|
4533
|
-
|
|
4454
|
+
listingsRemoveTag: async (listingId, tagId, options = {}) => {
|
|
4455
|
+
assertParamExists("listingsRemoveTag", "listingId", listingId);
|
|
4456
|
+
assertParamExists("listingsRemoveTag", "tagId", tagId);
|
|
4457
|
+
const localVarPath = `/v1/listings/{listing_id}/tags/{tag_id}`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId))).replace(`{${"tag_id"}}`, encodeURIComponent(String(tagId)));
|
|
4534
4458
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4535
4459
|
let baseOptions;
|
|
4536
4460
|
if (configuration) {
|
|
4537
4461
|
baseOptions = configuration.baseOptions;
|
|
4538
4462
|
}
|
|
4539
|
-
const localVarRequestOptions = { method: "
|
|
4463
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
4540
4464
|
const localVarHeaderParameter = {};
|
|
4541
4465
|
const localVarQueryParameter = {};
|
|
4542
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4543
4466
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4544
4467
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4545
4468
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4546
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIAiResponseCreate, localVarRequestOptions, configuration);
|
|
4547
4469
|
return {
|
|
4548
4470
|
url: toPathString(localVarUrlObj),
|
|
4549
4471
|
options: localVarRequestOptions
|
|
4550
4472
|
};
|
|
4551
4473
|
},
|
|
4552
4474
|
/**
|
|
4553
|
-
* Associates a
|
|
4554
|
-
* @summary
|
|
4555
|
-
* @param {string}
|
|
4556
|
-
* @param {string}
|
|
4557
|
-
* @param {CreateContactListing} createContactListing
|
|
4475
|
+
* Associates a child tag with a parent tag. This operation is idempotent.
|
|
4476
|
+
* @summary Add Child Tag
|
|
4477
|
+
* @param {string} parentTagId
|
|
4478
|
+
* @param {string} childTagId
|
|
4558
4479
|
* @param {*} [options] Override http request option.
|
|
4559
4480
|
* @throws {RequiredError}
|
|
4560
4481
|
*/
|
|
4561
|
-
|
|
4562
|
-
assertParamExists("
|
|
4563
|
-
assertParamExists("
|
|
4564
|
-
|
|
4565
|
-
const localVarPath = `/v1/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
4482
|
+
tagsAddChildTag: async (parentTagId, childTagId, options = {}) => {
|
|
4483
|
+
assertParamExists("tagsAddChildTag", "parentTagId", parentTagId);
|
|
4484
|
+
assertParamExists("tagsAddChildTag", "childTagId", childTagId);
|
|
4485
|
+
const localVarPath = `/v1/tags/{parent_tag_id}/tags/{child_tag_id}`.replace(`{${"parent_tag_id"}}`, encodeURIComponent(String(parentTagId))).replace(`{${"child_tag_id"}}`, encodeURIComponent(String(childTagId)));
|
|
4566
4486
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4567
4487
|
let baseOptions;
|
|
4568
4488
|
if (configuration) {
|
|
@@ -4571,26 +4491,24 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4571
4491
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
4572
4492
|
const localVarHeaderParameter = {};
|
|
4573
4493
|
const localVarQueryParameter = {};
|
|
4574
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4575
4494
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4576
4495
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4577
4496
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4578
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createContactListing, localVarRequestOptions, configuration);
|
|
4579
4497
|
return {
|
|
4580
4498
|
url: toPathString(localVarUrlObj),
|
|
4581
4499
|
options: localVarRequestOptions
|
|
4582
4500
|
};
|
|
4583
4501
|
},
|
|
4584
4502
|
/**
|
|
4585
|
-
*
|
|
4586
|
-
* @summary
|
|
4587
|
-
* @param {
|
|
4503
|
+
* Tags Create
|
|
4504
|
+
* @summary Tags Create
|
|
4505
|
+
* @param {APITagCreate} aPITagCreate
|
|
4588
4506
|
* @param {*} [options] Override http request option.
|
|
4589
4507
|
* @throws {RequiredError}
|
|
4590
4508
|
*/
|
|
4591
|
-
|
|
4592
|
-
assertParamExists("
|
|
4593
|
-
const localVarPath = `/v1/
|
|
4509
|
+
tagsCreate: async (aPITagCreate, options = {}) => {
|
|
4510
|
+
assertParamExists("tagsCreate", "aPITagCreate", aPITagCreate);
|
|
4511
|
+
const localVarPath = `/v1/tags`;
|
|
4594
4512
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4595
4513
|
let baseOptions;
|
|
4596
4514
|
if (configuration) {
|
|
@@ -4603,22 +4521,22 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4603
4521
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4604
4522
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4605
4523
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4606
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4524
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPITagCreate, localVarRequestOptions, configuration);
|
|
4607
4525
|
return {
|
|
4608
4526
|
url: toPathString(localVarUrlObj),
|
|
4609
4527
|
options: localVarRequestOptions
|
|
4610
4528
|
};
|
|
4611
4529
|
},
|
|
4612
4530
|
/**
|
|
4613
|
-
*
|
|
4614
|
-
* @summary
|
|
4615
|
-
* @param {string}
|
|
4531
|
+
* Tags Delete
|
|
4532
|
+
* @summary Tags Delete
|
|
4533
|
+
* @param {string} tagId
|
|
4616
4534
|
* @param {*} [options] Override http request option.
|
|
4617
4535
|
* @throws {RequiredError}
|
|
4618
4536
|
*/
|
|
4619
|
-
|
|
4620
|
-
assertParamExists("
|
|
4621
|
-
const localVarPath = `/v1/
|
|
4537
|
+
tagsDelete: async (tagId, options = {}) => {
|
|
4538
|
+
assertParamExists("tagsDelete", "tagId", tagId);
|
|
4539
|
+
const localVarPath = `/v1/tags/{tagId}`.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
4622
4540
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4623
4541
|
let baseOptions;
|
|
4624
4542
|
if (configuration) {
|
|
@@ -4636,15 +4554,15 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4636
4554
|
};
|
|
4637
4555
|
},
|
|
4638
4556
|
/**
|
|
4639
|
-
*
|
|
4640
|
-
* @summary
|
|
4641
|
-
* @param {string}
|
|
4557
|
+
* Tags Get
|
|
4558
|
+
* @summary Tags Get
|
|
4559
|
+
* @param {string} tagId
|
|
4642
4560
|
* @param {*} [options] Override http request option.
|
|
4643
4561
|
* @throws {RequiredError}
|
|
4644
4562
|
*/
|
|
4645
|
-
|
|
4646
|
-
assertParamExists("
|
|
4647
|
-
const localVarPath = `/v1/
|
|
4563
|
+
tagsGet: async (tagId, options = {}) => {
|
|
4564
|
+
assertParamExists("tagsGet", "tagId", tagId);
|
|
4565
|
+
const localVarPath = `/v1/tags/{tagId}`.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
4648
4566
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4649
4567
|
let baseOptions;
|
|
4650
4568
|
if (configuration) {
|
|
@@ -4662,19 +4580,14 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4662
4580
|
};
|
|
4663
4581
|
},
|
|
4664
4582
|
/**
|
|
4665
|
-
*
|
|
4666
|
-
* @summary
|
|
4667
|
-
* @param {string | null} [searchString]
|
|
4668
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4669
|
-
* @param {number} [limit]
|
|
4670
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4671
|
-
* @param {SrcResourceModelsContactsModelContactsModelContactSortBy} [sortBy] Sort key
|
|
4672
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4583
|
+
* Tags List
|
|
4584
|
+
* @summary Tags List
|
|
4585
|
+
* @param {string | null} [searchString] Search by tag name
|
|
4673
4586
|
* @param {*} [options] Override http request option.
|
|
4674
4587
|
* @throws {RequiredError}
|
|
4675
4588
|
*/
|
|
4676
|
-
|
|
4677
|
-
const localVarPath = `/v1/
|
|
4589
|
+
tagsList: async (searchString, options = {}) => {
|
|
4590
|
+
const localVarPath = `/v1/tags`;
|
|
4678
4591
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4679
4592
|
let baseOptions;
|
|
4680
4593
|
if (configuration) {
|
|
@@ -4686,21 +4599,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4686
4599
|
if (searchString !== void 0) {
|
|
4687
4600
|
localVarQueryParameter["searchString"] = searchString;
|
|
4688
4601
|
}
|
|
4689
|
-
if (cursor !== void 0) {
|
|
4690
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
4691
|
-
}
|
|
4692
|
-
if (limit !== void 0) {
|
|
4693
|
-
localVarQueryParameter["limit"] = limit;
|
|
4694
|
-
}
|
|
4695
|
-
if (pageDir !== void 0) {
|
|
4696
|
-
localVarQueryParameter["pageDir"] = pageDir;
|
|
4697
|
-
}
|
|
4698
|
-
if (sortBy !== void 0) {
|
|
4699
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
4700
|
-
}
|
|
4701
|
-
if (sortOrder !== void 0) {
|
|
4702
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
4703
|
-
}
|
|
4704
4602
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4705
4603
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4706
4604
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4710,81 +4608,71 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4710
4608
|
};
|
|
4711
4609
|
},
|
|
4712
4610
|
/**
|
|
4713
|
-
*
|
|
4714
|
-
* @summary
|
|
4715
|
-
* @param {string}
|
|
4716
|
-
* @param {string} listingId
|
|
4717
|
-
* @param {DeleteContactListing} deleteContactListing
|
|
4611
|
+
* List all child tags associated with a parent tag.
|
|
4612
|
+
* @summary List Child Tags
|
|
4613
|
+
* @param {string} parentTagId
|
|
4718
4614
|
* @param {*} [options] Override http request option.
|
|
4719
4615
|
* @throws {RequiredError}
|
|
4720
4616
|
*/
|
|
4721
|
-
|
|
4722
|
-
assertParamExists("
|
|
4723
|
-
|
|
4724
|
-
assertParamExists("contactsRemoveListing", "deleteContactListing", deleteContactListing);
|
|
4725
|
-
const localVarPath = `/v1/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
4617
|
+
tagsListChildTags: async (parentTagId, options = {}) => {
|
|
4618
|
+
assertParamExists("tagsListChildTags", "parentTagId", parentTagId);
|
|
4619
|
+
const localVarPath = `/v1/tags/{parent_tag_id}/tags`.replace(`{${"parent_tag_id"}}`, encodeURIComponent(String(parentTagId)));
|
|
4726
4620
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4727
4621
|
let baseOptions;
|
|
4728
4622
|
if (configuration) {
|
|
4729
4623
|
baseOptions = configuration.baseOptions;
|
|
4730
4624
|
}
|
|
4731
|
-
const localVarRequestOptions = { method: "
|
|
4625
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4732
4626
|
const localVarHeaderParameter = {};
|
|
4733
4627
|
const localVarQueryParameter = {};
|
|
4734
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4735
4628
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4736
4629
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4737
4630
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4738
|
-
localVarRequestOptions.data = serializeDataIfNeeded(deleteContactListing, localVarRequestOptions, configuration);
|
|
4739
4631
|
return {
|
|
4740
4632
|
url: toPathString(localVarUrlObj),
|
|
4741
4633
|
options: localVarRequestOptions
|
|
4742
4634
|
};
|
|
4743
4635
|
},
|
|
4744
4636
|
/**
|
|
4745
|
-
*
|
|
4746
|
-
* @summary
|
|
4747
|
-
* @param {string}
|
|
4748
|
-
* @param {
|
|
4637
|
+
* Removes a child tag association from a parent tag.
|
|
4638
|
+
* @summary Remove Child Tag
|
|
4639
|
+
* @param {string} parentTagId
|
|
4640
|
+
* @param {string} childTagId
|
|
4749
4641
|
* @param {*} [options] Override http request option.
|
|
4750
4642
|
* @throws {RequiredError}
|
|
4751
4643
|
*/
|
|
4752
|
-
|
|
4753
|
-
assertParamExists("
|
|
4754
|
-
assertParamExists("
|
|
4755
|
-
const localVarPath = `/v1/
|
|
4644
|
+
tagsRemoveChildTag: async (parentTagId, childTagId, options = {}) => {
|
|
4645
|
+
assertParamExists("tagsRemoveChildTag", "parentTagId", parentTagId);
|
|
4646
|
+
assertParamExists("tagsRemoveChildTag", "childTagId", childTagId);
|
|
4647
|
+
const localVarPath = `/v1/tags/{parent_tag_id}/tags/{child_tag_id}`.replace(`{${"parent_tag_id"}}`, encodeURIComponent(String(parentTagId))).replace(`{${"child_tag_id"}}`, encodeURIComponent(String(childTagId)));
|
|
4756
4648
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4757
4649
|
let baseOptions;
|
|
4758
4650
|
if (configuration) {
|
|
4759
4651
|
baseOptions = configuration.baseOptions;
|
|
4760
4652
|
}
|
|
4761
|
-
const localVarRequestOptions = { method: "
|
|
4653
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
4762
4654
|
const localVarHeaderParameter = {};
|
|
4763
4655
|
const localVarQueryParameter = {};
|
|
4764
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4765
4656
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4766
4657
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4767
4658
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4768
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIContactUpdate, localVarRequestOptions, configuration);
|
|
4769
4659
|
return {
|
|
4770
4660
|
url: toPathString(localVarUrlObj),
|
|
4771
4661
|
options: localVarRequestOptions
|
|
4772
4662
|
};
|
|
4773
4663
|
},
|
|
4774
4664
|
/**
|
|
4775
|
-
*
|
|
4776
|
-
* @summary Update
|
|
4777
|
-
* @param {string}
|
|
4778
|
-
* @param {
|
|
4779
|
-
* @param {UpdateContactListing} updateContactListing
|
|
4665
|
+
* Tags Update
|
|
4666
|
+
* @summary Tags Update
|
|
4667
|
+
* @param {string} tagId
|
|
4668
|
+
* @param {APITagUpdate} aPITagUpdate
|
|
4780
4669
|
* @param {*} [options] Override http request option.
|
|
4781
4670
|
* @throws {RequiredError}
|
|
4782
4671
|
*/
|
|
4783
|
-
|
|
4784
|
-
assertParamExists("
|
|
4785
|
-
assertParamExists("
|
|
4786
|
-
|
|
4787
|
-
const localVarPath = `/v1/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
4672
|
+
tagsUpdate: async (tagId, aPITagUpdate, options = {}) => {
|
|
4673
|
+
assertParamExists("tagsUpdate", "tagId", tagId);
|
|
4674
|
+
assertParamExists("tagsUpdate", "aPITagUpdate", aPITagUpdate);
|
|
4675
|
+
const localVarPath = `/v1/tags/{tagId}`.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
4788
4676
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4789
4677
|
let baseOptions;
|
|
4790
4678
|
if (configuration) {
|
|
@@ -4797,34 +4685,1125 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4797
4685
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4798
4686
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4799
4687
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4800
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4688
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPITagUpdate, localVarRequestOptions, configuration);
|
|
4801
4689
|
return {
|
|
4802
4690
|
url: toPathString(localVarUrlObj),
|
|
4803
4691
|
options: localVarRequestOptions
|
|
4804
4692
|
};
|
|
4693
|
+
}
|
|
4694
|
+
};
|
|
4695
|
+
};
|
|
4696
|
+
var TagsApiFp = function(configuration) {
|
|
4697
|
+
const localVarAxiosParamCreator = TagsApiAxiosParamCreator(configuration);
|
|
4698
|
+
return {
|
|
4699
|
+
/**
|
|
4700
|
+
* Associates a tag with an account. This operation is idempotent.
|
|
4701
|
+
* @summary Add Tag To Account
|
|
4702
|
+
* @param {string} accountId
|
|
4703
|
+
* @param {string} tagId
|
|
4704
|
+
* @param {*} [options] Override http request option.
|
|
4705
|
+
* @throws {RequiredError}
|
|
4706
|
+
*/
|
|
4707
|
+
async accountsAddTag(accountId, tagId, options) {
|
|
4708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsAddTag(accountId, tagId, options);
|
|
4709
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4710
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["TagsApi.accountsAddTag"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4711
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4805
4712
|
},
|
|
4806
4713
|
/**
|
|
4807
|
-
*
|
|
4808
|
-
* @summary
|
|
4809
|
-
* @param {string}
|
|
4810
|
-
* @param {APIConversationCreate} aPIConversationCreate
|
|
4714
|
+
* List all tags associated with an account.
|
|
4715
|
+
* @summary List Account Tags
|
|
4716
|
+
* @param {string} accountId
|
|
4811
4717
|
* @param {*} [options] Override http request option.
|
|
4812
4718
|
* @throws {RequiredError}
|
|
4813
4719
|
*/
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
const
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4720
|
+
async accountsListTags(accountId, options) {
|
|
4721
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsListTags(accountId, options);
|
|
4722
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4723
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["TagsApi.accountsListTags"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4724
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4725
|
+
},
|
|
4726
|
+
/**
|
|
4727
|
+
* Removes a tag association from an account.
|
|
4728
|
+
* @summary Remove Tag From Account
|
|
4729
|
+
* @param {string} accountId
|
|
4730
|
+
* @param {string} tagId
|
|
4731
|
+
* @param {*} [options] Override http request option.
|
|
4732
|
+
* @throws {RequiredError}
|
|
4733
|
+
*/
|
|
4734
|
+
async accountsRemoveTag(accountId, tagId, options) {
|
|
4735
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsRemoveTag(accountId, tagId, options);
|
|
4736
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4737
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["TagsApi.accountsRemoveTag"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4738
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4739
|
+
},
|
|
4740
|
+
/**
|
|
4741
|
+
* Associates a tag with a listing. This operation is idempotent.
|
|
4742
|
+
* @summary Add Tag To Listing
|
|
4743
|
+
* @param {string} listingId
|
|
4744
|
+
* @param {string} tagId
|
|
4745
|
+
* @param {*} [options] Override http request option.
|
|
4746
|
+
* @throws {RequiredError}
|
|
4747
|
+
*/
|
|
4748
|
+
async listingsAddTag(listingId, tagId, options) {
|
|
4749
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsAddTag(listingId, tagId, options);
|
|
4750
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4751
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["TagsApi.listingsAddTag"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4752
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4753
|
+
},
|
|
4754
|
+
/**
|
|
4755
|
+
* List all tags associated with a listing.
|
|
4756
|
+
* @summary List Listing Tags
|
|
4757
|
+
* @param {string} listingId
|
|
4758
|
+
* @param {*} [options] Override http request option.
|
|
4759
|
+
* @throws {RequiredError}
|
|
4760
|
+
*/
|
|
4761
|
+
async listingsListTags(listingId, options) {
|
|
4762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsListTags(listingId, options);
|
|
4763
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4764
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["TagsApi.listingsListTags"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4765
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4766
|
+
},
|
|
4767
|
+
/**
|
|
4768
|
+
* Removes a tag association from a listing.
|
|
4769
|
+
* @summary Remove Tag From Listing
|
|
4770
|
+
* @param {string} listingId
|
|
4771
|
+
* @param {string} tagId
|
|
4772
|
+
* @param {*} [options] Override http request option.
|
|
4773
|
+
* @throws {RequiredError}
|
|
4774
|
+
*/
|
|
4775
|
+
async listingsRemoveTag(listingId, tagId, options) {
|
|
4776
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsRemoveTag(listingId, tagId, options);
|
|
4777
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4778
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["TagsApi.listingsRemoveTag"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4779
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4780
|
+
},
|
|
4781
|
+
/**
|
|
4782
|
+
* Associates a child tag with a parent tag. This operation is idempotent.
|
|
4783
|
+
* @summary Add Child Tag
|
|
4784
|
+
* @param {string} parentTagId
|
|
4785
|
+
* @param {string} childTagId
|
|
4786
|
+
* @param {*} [options] Override http request option.
|
|
4787
|
+
* @throws {RequiredError}
|
|
4788
|
+
*/
|
|
4789
|
+
async tagsAddChildTag(parentTagId, childTagId, options) {
|
|
4790
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsAddChildTag(parentTagId, childTagId, options);
|
|
4791
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4792
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["TagsApi.tagsAddChildTag"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4793
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4794
|
+
},
|
|
4795
|
+
/**
|
|
4796
|
+
* Tags Create
|
|
4797
|
+
* @summary Tags Create
|
|
4798
|
+
* @param {APITagCreate} aPITagCreate
|
|
4799
|
+
* @param {*} [options] Override http request option.
|
|
4800
|
+
* @throws {RequiredError}
|
|
4801
|
+
*/
|
|
4802
|
+
async tagsCreate(aPITagCreate, options) {
|
|
4803
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsCreate(aPITagCreate, options);
|
|
4804
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4805
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["TagsApi.tagsCreate"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4806
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4807
|
+
},
|
|
4808
|
+
/**
|
|
4809
|
+
* Tags Delete
|
|
4810
|
+
* @summary Tags Delete
|
|
4811
|
+
* @param {string} tagId
|
|
4812
|
+
* @param {*} [options] Override http request option.
|
|
4813
|
+
* @throws {RequiredError}
|
|
4814
|
+
*/
|
|
4815
|
+
async tagsDelete(tagId, options) {
|
|
4816
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsDelete(tagId, options);
|
|
4817
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4818
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["TagsApi.tagsDelete"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4819
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4820
|
+
},
|
|
4821
|
+
/**
|
|
4822
|
+
* Tags Get
|
|
4823
|
+
* @summary Tags Get
|
|
4824
|
+
* @param {string} tagId
|
|
4825
|
+
* @param {*} [options] Override http request option.
|
|
4826
|
+
* @throws {RequiredError}
|
|
4827
|
+
*/
|
|
4828
|
+
async tagsGet(tagId, options) {
|
|
4829
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsGet(tagId, options);
|
|
4830
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4831
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["TagsApi.tagsGet"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4832
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4833
|
+
},
|
|
4834
|
+
/**
|
|
4835
|
+
* Tags List
|
|
4836
|
+
* @summary Tags List
|
|
4837
|
+
* @param {string | null} [searchString] Search by tag name
|
|
4838
|
+
* @param {*} [options] Override http request option.
|
|
4839
|
+
* @throws {RequiredError}
|
|
4840
|
+
*/
|
|
4841
|
+
async tagsList(searchString, options) {
|
|
4842
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsList(searchString, options);
|
|
4843
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
4844
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["TagsApi.tagsList"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4845
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4846
|
+
},
|
|
4847
|
+
/**
|
|
4848
|
+
* List all child tags associated with a parent tag.
|
|
4849
|
+
* @summary List Child Tags
|
|
4850
|
+
* @param {string} parentTagId
|
|
4851
|
+
* @param {*} [options] Override http request option.
|
|
4852
|
+
* @throws {RequiredError}
|
|
4853
|
+
*/
|
|
4854
|
+
async tagsListChildTags(parentTagId, options) {
|
|
4855
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsListChildTags(parentTagId, options);
|
|
4856
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
4857
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["TagsApi.tagsListChildTags"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4858
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4859
|
+
},
|
|
4860
|
+
/**
|
|
4861
|
+
* Removes a child tag association from a parent tag.
|
|
4862
|
+
* @summary Remove Child Tag
|
|
4863
|
+
* @param {string} parentTagId
|
|
4864
|
+
* @param {string} childTagId
|
|
4865
|
+
* @param {*} [options] Override http request option.
|
|
4866
|
+
* @throws {RequiredError}
|
|
4867
|
+
*/
|
|
4868
|
+
async tagsRemoveChildTag(parentTagId, childTagId, options) {
|
|
4869
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsRemoveChildTag(parentTagId, childTagId, options);
|
|
4870
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
4871
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["TagsApi.tagsRemoveChildTag"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4872
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4873
|
+
},
|
|
4874
|
+
/**
|
|
4875
|
+
* Tags Update
|
|
4876
|
+
* @summary Tags Update
|
|
4877
|
+
* @param {string} tagId
|
|
4878
|
+
* @param {APITagUpdate} aPITagUpdate
|
|
4879
|
+
* @param {*} [options] Override http request option.
|
|
4880
|
+
* @throws {RequiredError}
|
|
4881
|
+
*/
|
|
4882
|
+
async tagsUpdate(tagId, aPITagUpdate, options) {
|
|
4883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsUpdate(tagId, aPITagUpdate, options);
|
|
4884
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
4885
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["TagsApi.tagsUpdate"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4886
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4887
|
+
}
|
|
4888
|
+
};
|
|
4889
|
+
};
|
|
4890
|
+
var TagsApiFactory = function(configuration, basePath, axios) {
|
|
4891
|
+
const localVarFp = TagsApiFp(configuration);
|
|
4892
|
+
return {
|
|
4893
|
+
/**
|
|
4894
|
+
* Associates a tag with an account. This operation is idempotent.
|
|
4895
|
+
* @summary Add Tag To Account
|
|
4896
|
+
* @param {string} accountId
|
|
4897
|
+
* @param {string} tagId
|
|
4898
|
+
* @param {*} [options] Override http request option.
|
|
4899
|
+
* @throws {RequiredError}
|
|
4900
|
+
*/
|
|
4901
|
+
accountsAddTag(accountId, tagId, options) {
|
|
4902
|
+
return localVarFp.accountsAddTag(accountId, tagId, options).then((request) => request(axios, basePath));
|
|
4903
|
+
},
|
|
4904
|
+
/**
|
|
4905
|
+
* List all tags associated with an account.
|
|
4906
|
+
* @summary List Account Tags
|
|
4907
|
+
* @param {string} accountId
|
|
4908
|
+
* @param {*} [options] Override http request option.
|
|
4909
|
+
* @throws {RequiredError}
|
|
4910
|
+
*/
|
|
4911
|
+
accountsListTags(accountId, options) {
|
|
4912
|
+
return localVarFp.accountsListTags(accountId, options).then((request) => request(axios, basePath));
|
|
4913
|
+
},
|
|
4914
|
+
/**
|
|
4915
|
+
* Removes a tag association from an account.
|
|
4916
|
+
* @summary Remove Tag From Account
|
|
4917
|
+
* @param {string} accountId
|
|
4918
|
+
* @param {string} tagId
|
|
4919
|
+
* @param {*} [options] Override http request option.
|
|
4920
|
+
* @throws {RequiredError}
|
|
4921
|
+
*/
|
|
4922
|
+
accountsRemoveTag(accountId, tagId, options) {
|
|
4923
|
+
return localVarFp.accountsRemoveTag(accountId, tagId, options).then((request) => request(axios, basePath));
|
|
4924
|
+
},
|
|
4925
|
+
/**
|
|
4926
|
+
* Associates a tag with a listing. This operation is idempotent.
|
|
4927
|
+
* @summary Add Tag To Listing
|
|
4928
|
+
* @param {string} listingId
|
|
4929
|
+
* @param {string} tagId
|
|
4930
|
+
* @param {*} [options] Override http request option.
|
|
4931
|
+
* @throws {RequiredError}
|
|
4932
|
+
*/
|
|
4933
|
+
listingsAddTag(listingId, tagId, options) {
|
|
4934
|
+
return localVarFp.listingsAddTag(listingId, tagId, options).then((request) => request(axios, basePath));
|
|
4935
|
+
},
|
|
4936
|
+
/**
|
|
4937
|
+
* List all tags associated with a listing.
|
|
4938
|
+
* @summary List Listing Tags
|
|
4939
|
+
* @param {string} listingId
|
|
4940
|
+
* @param {*} [options] Override http request option.
|
|
4941
|
+
* @throws {RequiredError}
|
|
4942
|
+
*/
|
|
4943
|
+
listingsListTags(listingId, options) {
|
|
4944
|
+
return localVarFp.listingsListTags(listingId, options).then((request) => request(axios, basePath));
|
|
4945
|
+
},
|
|
4946
|
+
/**
|
|
4947
|
+
* Removes a tag association from a listing.
|
|
4948
|
+
* @summary Remove Tag From Listing
|
|
4949
|
+
* @param {string} listingId
|
|
4950
|
+
* @param {string} tagId
|
|
4951
|
+
* @param {*} [options] Override http request option.
|
|
4952
|
+
* @throws {RequiredError}
|
|
4953
|
+
*/
|
|
4954
|
+
listingsRemoveTag(listingId, tagId, options) {
|
|
4955
|
+
return localVarFp.listingsRemoveTag(listingId, tagId, options).then((request) => request(axios, basePath));
|
|
4956
|
+
},
|
|
4957
|
+
/**
|
|
4958
|
+
* Associates a child tag with a parent tag. This operation is idempotent.
|
|
4959
|
+
* @summary Add Child Tag
|
|
4960
|
+
* @param {string} parentTagId
|
|
4961
|
+
* @param {string} childTagId
|
|
4962
|
+
* @param {*} [options] Override http request option.
|
|
4963
|
+
* @throws {RequiredError}
|
|
4964
|
+
*/
|
|
4965
|
+
tagsAddChildTag(parentTagId, childTagId, options) {
|
|
4966
|
+
return localVarFp.tagsAddChildTag(parentTagId, childTagId, options).then((request) => request(axios, basePath));
|
|
4967
|
+
},
|
|
4968
|
+
/**
|
|
4969
|
+
* Tags Create
|
|
4970
|
+
* @summary Tags Create
|
|
4971
|
+
* @param {APITagCreate} aPITagCreate
|
|
4972
|
+
* @param {*} [options] Override http request option.
|
|
4973
|
+
* @throws {RequiredError}
|
|
4974
|
+
*/
|
|
4975
|
+
tagsCreate(aPITagCreate, options) {
|
|
4976
|
+
return localVarFp.tagsCreate(aPITagCreate, options).then((request) => request(axios, basePath));
|
|
4977
|
+
},
|
|
4978
|
+
/**
|
|
4979
|
+
* Tags Delete
|
|
4980
|
+
* @summary Tags Delete
|
|
4981
|
+
* @param {string} tagId
|
|
4982
|
+
* @param {*} [options] Override http request option.
|
|
4983
|
+
* @throws {RequiredError}
|
|
4984
|
+
*/
|
|
4985
|
+
tagsDelete(tagId, options) {
|
|
4986
|
+
return localVarFp.tagsDelete(tagId, options).then((request) => request(axios, basePath));
|
|
4987
|
+
},
|
|
4988
|
+
/**
|
|
4989
|
+
* Tags Get
|
|
4990
|
+
* @summary Tags Get
|
|
4991
|
+
* @param {string} tagId
|
|
4992
|
+
* @param {*} [options] Override http request option.
|
|
4993
|
+
* @throws {RequiredError}
|
|
4994
|
+
*/
|
|
4995
|
+
tagsGet(tagId, options) {
|
|
4996
|
+
return localVarFp.tagsGet(tagId, options).then((request) => request(axios, basePath));
|
|
4997
|
+
},
|
|
4998
|
+
/**
|
|
4999
|
+
* Tags List
|
|
5000
|
+
* @summary Tags List
|
|
5001
|
+
* @param {string | null} [searchString] Search by tag name
|
|
5002
|
+
* @param {*} [options] Override http request option.
|
|
5003
|
+
* @throws {RequiredError}
|
|
5004
|
+
*/
|
|
5005
|
+
tagsList(searchString, options) {
|
|
5006
|
+
return localVarFp.tagsList(searchString, options).then((request) => request(axios, basePath));
|
|
5007
|
+
},
|
|
5008
|
+
/**
|
|
5009
|
+
* List all child tags associated with a parent tag.
|
|
5010
|
+
* @summary List Child Tags
|
|
5011
|
+
* @param {string} parentTagId
|
|
5012
|
+
* @param {*} [options] Override http request option.
|
|
5013
|
+
* @throws {RequiredError}
|
|
5014
|
+
*/
|
|
5015
|
+
tagsListChildTags(parentTagId, options) {
|
|
5016
|
+
return localVarFp.tagsListChildTags(parentTagId, options).then((request) => request(axios, basePath));
|
|
5017
|
+
},
|
|
5018
|
+
/**
|
|
5019
|
+
* Removes a child tag association from a parent tag.
|
|
5020
|
+
* @summary Remove Child Tag
|
|
5021
|
+
* @param {string} parentTagId
|
|
5022
|
+
* @param {string} childTagId
|
|
5023
|
+
* @param {*} [options] Override http request option.
|
|
5024
|
+
* @throws {RequiredError}
|
|
5025
|
+
*/
|
|
5026
|
+
tagsRemoveChildTag(parentTagId, childTagId, options) {
|
|
5027
|
+
return localVarFp.tagsRemoveChildTag(parentTagId, childTagId, options).then((request) => request(axios, basePath));
|
|
5028
|
+
},
|
|
5029
|
+
/**
|
|
5030
|
+
* Tags Update
|
|
5031
|
+
* @summary Tags Update
|
|
5032
|
+
* @param {string} tagId
|
|
5033
|
+
* @param {APITagUpdate} aPITagUpdate
|
|
5034
|
+
* @param {*} [options] Override http request option.
|
|
5035
|
+
* @throws {RequiredError}
|
|
5036
|
+
*/
|
|
5037
|
+
tagsUpdate(tagId, aPITagUpdate, options) {
|
|
5038
|
+
return localVarFp.tagsUpdate(tagId, aPITagUpdate, options).then((request) => request(axios, basePath));
|
|
5039
|
+
}
|
|
5040
|
+
};
|
|
5041
|
+
};
|
|
5042
|
+
var TagsApi = class extends BaseAPI {
|
|
5043
|
+
/**
|
|
5044
|
+
* Associates a tag with an account. This operation is idempotent.
|
|
5045
|
+
* @summary Add Tag To Account
|
|
5046
|
+
* @param {string} accountId
|
|
5047
|
+
* @param {string} tagId
|
|
5048
|
+
* @param {*} [options] Override http request option.
|
|
5049
|
+
* @throws {RequiredError}
|
|
5050
|
+
* @memberof TagsApi
|
|
5051
|
+
*/
|
|
5052
|
+
accountsAddTag(accountId, tagId, options) {
|
|
5053
|
+
return TagsApiFp(this.configuration).accountsAddTag(accountId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
5054
|
+
}
|
|
5055
|
+
/**
|
|
5056
|
+
* List all tags associated with an account.
|
|
5057
|
+
* @summary List Account Tags
|
|
5058
|
+
* @param {string} accountId
|
|
5059
|
+
* @param {*} [options] Override http request option.
|
|
5060
|
+
* @throws {RequiredError}
|
|
5061
|
+
* @memberof TagsApi
|
|
5062
|
+
*/
|
|
5063
|
+
accountsListTags(accountId, options) {
|
|
5064
|
+
return TagsApiFp(this.configuration).accountsListTags(accountId, options).then((request) => request(this.axios, this.basePath));
|
|
5065
|
+
}
|
|
5066
|
+
/**
|
|
5067
|
+
* Removes a tag association from an account.
|
|
5068
|
+
* @summary Remove Tag From Account
|
|
5069
|
+
* @param {string} accountId
|
|
5070
|
+
* @param {string} tagId
|
|
5071
|
+
* @param {*} [options] Override http request option.
|
|
5072
|
+
* @throws {RequiredError}
|
|
5073
|
+
* @memberof TagsApi
|
|
5074
|
+
*/
|
|
5075
|
+
accountsRemoveTag(accountId, tagId, options) {
|
|
5076
|
+
return TagsApiFp(this.configuration).accountsRemoveTag(accountId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
5077
|
+
}
|
|
5078
|
+
/**
|
|
5079
|
+
* Associates a tag with a listing. This operation is idempotent.
|
|
5080
|
+
* @summary Add Tag To Listing
|
|
5081
|
+
* @param {string} listingId
|
|
5082
|
+
* @param {string} tagId
|
|
5083
|
+
* @param {*} [options] Override http request option.
|
|
5084
|
+
* @throws {RequiredError}
|
|
5085
|
+
* @memberof TagsApi
|
|
5086
|
+
*/
|
|
5087
|
+
listingsAddTag(listingId, tagId, options) {
|
|
5088
|
+
return TagsApiFp(this.configuration).listingsAddTag(listingId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
5089
|
+
}
|
|
5090
|
+
/**
|
|
5091
|
+
* List all tags associated with a listing.
|
|
5092
|
+
* @summary List Listing Tags
|
|
5093
|
+
* @param {string} listingId
|
|
5094
|
+
* @param {*} [options] Override http request option.
|
|
5095
|
+
* @throws {RequiredError}
|
|
5096
|
+
* @memberof TagsApi
|
|
5097
|
+
*/
|
|
5098
|
+
listingsListTags(listingId, options) {
|
|
5099
|
+
return TagsApiFp(this.configuration).listingsListTags(listingId, options).then((request) => request(this.axios, this.basePath));
|
|
5100
|
+
}
|
|
5101
|
+
/**
|
|
5102
|
+
* Removes a tag association from a listing.
|
|
5103
|
+
* @summary Remove Tag From Listing
|
|
5104
|
+
* @param {string} listingId
|
|
5105
|
+
* @param {string} tagId
|
|
5106
|
+
* @param {*} [options] Override http request option.
|
|
5107
|
+
* @throws {RequiredError}
|
|
5108
|
+
* @memberof TagsApi
|
|
5109
|
+
*/
|
|
5110
|
+
listingsRemoveTag(listingId, tagId, options) {
|
|
5111
|
+
return TagsApiFp(this.configuration).listingsRemoveTag(listingId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
5112
|
+
}
|
|
5113
|
+
/**
|
|
5114
|
+
* Associates a child tag with a parent tag. This operation is idempotent.
|
|
5115
|
+
* @summary Add Child Tag
|
|
5116
|
+
* @param {string} parentTagId
|
|
5117
|
+
* @param {string} childTagId
|
|
5118
|
+
* @param {*} [options] Override http request option.
|
|
5119
|
+
* @throws {RequiredError}
|
|
5120
|
+
* @memberof TagsApi
|
|
5121
|
+
*/
|
|
5122
|
+
tagsAddChildTag(parentTagId, childTagId, options) {
|
|
5123
|
+
return TagsApiFp(this.configuration).tagsAddChildTag(parentTagId, childTagId, options).then((request) => request(this.axios, this.basePath));
|
|
5124
|
+
}
|
|
5125
|
+
/**
|
|
5126
|
+
* Tags Create
|
|
5127
|
+
* @summary Tags Create
|
|
5128
|
+
* @param {APITagCreate} aPITagCreate
|
|
5129
|
+
* @param {*} [options] Override http request option.
|
|
5130
|
+
* @throws {RequiredError}
|
|
5131
|
+
* @memberof TagsApi
|
|
5132
|
+
*/
|
|
5133
|
+
tagsCreate(aPITagCreate, options) {
|
|
5134
|
+
return TagsApiFp(this.configuration).tagsCreate(aPITagCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5135
|
+
}
|
|
5136
|
+
/**
|
|
5137
|
+
* Tags Delete
|
|
5138
|
+
* @summary Tags Delete
|
|
5139
|
+
* @param {string} tagId
|
|
5140
|
+
* @param {*} [options] Override http request option.
|
|
5141
|
+
* @throws {RequiredError}
|
|
5142
|
+
* @memberof TagsApi
|
|
5143
|
+
*/
|
|
5144
|
+
tagsDelete(tagId, options) {
|
|
5145
|
+
return TagsApiFp(this.configuration).tagsDelete(tagId, options).then((request) => request(this.axios, this.basePath));
|
|
5146
|
+
}
|
|
5147
|
+
/**
|
|
5148
|
+
* Tags Get
|
|
5149
|
+
* @summary Tags Get
|
|
5150
|
+
* @param {string} tagId
|
|
5151
|
+
* @param {*} [options] Override http request option.
|
|
5152
|
+
* @throws {RequiredError}
|
|
5153
|
+
* @memberof TagsApi
|
|
5154
|
+
*/
|
|
5155
|
+
tagsGet(tagId, options) {
|
|
5156
|
+
return TagsApiFp(this.configuration).tagsGet(tagId, options).then((request) => request(this.axios, this.basePath));
|
|
5157
|
+
}
|
|
5158
|
+
/**
|
|
5159
|
+
* Tags List
|
|
5160
|
+
* @summary Tags List
|
|
5161
|
+
* @param {string | null} [searchString] Search by tag name
|
|
5162
|
+
* @param {*} [options] Override http request option.
|
|
5163
|
+
* @throws {RequiredError}
|
|
5164
|
+
* @memberof TagsApi
|
|
5165
|
+
*/
|
|
5166
|
+
tagsList(searchString, options) {
|
|
5167
|
+
return TagsApiFp(this.configuration).tagsList(searchString, options).then((request) => request(this.axios, this.basePath));
|
|
5168
|
+
}
|
|
5169
|
+
/**
|
|
5170
|
+
* List all child tags associated with a parent tag.
|
|
5171
|
+
* @summary List Child Tags
|
|
5172
|
+
* @param {string} parentTagId
|
|
5173
|
+
* @param {*} [options] Override http request option.
|
|
5174
|
+
* @throws {RequiredError}
|
|
5175
|
+
* @memberof TagsApi
|
|
5176
|
+
*/
|
|
5177
|
+
tagsListChildTags(parentTagId, options) {
|
|
5178
|
+
return TagsApiFp(this.configuration).tagsListChildTags(parentTagId, options).then((request) => request(this.axios, this.basePath));
|
|
5179
|
+
}
|
|
5180
|
+
/**
|
|
5181
|
+
* Removes a child tag association from a parent tag.
|
|
5182
|
+
* @summary Remove Child Tag
|
|
5183
|
+
* @param {string} parentTagId
|
|
5184
|
+
* @param {string} childTagId
|
|
5185
|
+
* @param {*} [options] Override http request option.
|
|
5186
|
+
* @throws {RequiredError}
|
|
5187
|
+
* @memberof TagsApi
|
|
5188
|
+
*/
|
|
5189
|
+
tagsRemoveChildTag(parentTagId, childTagId, options) {
|
|
5190
|
+
return TagsApiFp(this.configuration).tagsRemoveChildTag(parentTagId, childTagId, options).then((request) => request(this.axios, this.basePath));
|
|
5191
|
+
}
|
|
5192
|
+
/**
|
|
5193
|
+
* Tags Update
|
|
5194
|
+
* @summary Tags Update
|
|
5195
|
+
* @param {string} tagId
|
|
5196
|
+
* @param {APITagUpdate} aPITagUpdate
|
|
5197
|
+
* @param {*} [options] Override http request option.
|
|
5198
|
+
* @throws {RequiredError}
|
|
5199
|
+
* @memberof TagsApi
|
|
5200
|
+
*/
|
|
5201
|
+
tagsUpdate(tagId, aPITagUpdate, options) {
|
|
5202
|
+
return TagsApiFp(this.configuration).tagsUpdate(tagId, aPITagUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5203
|
+
}
|
|
5204
|
+
};
|
|
5205
|
+
var TelnyxApiAxiosParamCreator = function(configuration) {
|
|
5206
|
+
return {
|
|
5207
|
+
/**
|
|
5208
|
+
*
|
|
5209
|
+
* @summary Telnyx Webhook
|
|
5210
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5211
|
+
* @param {*} [options] Override http request option.
|
|
5212
|
+
* @throws {RequiredError}
|
|
5213
|
+
*/
|
|
5214
|
+
telnyxWebhookTelnyxWebhooksPost: async (requestBody, options = {}) => {
|
|
5215
|
+
assertParamExists("telnyxWebhookTelnyxWebhooksPost", "requestBody", requestBody);
|
|
5216
|
+
const localVarPath = `/telnyx-webhooks`;
|
|
5217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5218
|
+
let baseOptions;
|
|
5219
|
+
if (configuration) {
|
|
5220
|
+
baseOptions = configuration.baseOptions;
|
|
5221
|
+
}
|
|
5222
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5223
|
+
const localVarHeaderParameter = {};
|
|
5224
|
+
const localVarQueryParameter = {};
|
|
5225
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5226
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5227
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5228
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5229
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
5230
|
+
return {
|
|
5231
|
+
url: toPathString(localVarUrlObj),
|
|
5232
|
+
options: localVarRequestOptions
|
|
5233
|
+
};
|
|
5234
|
+
}
|
|
5235
|
+
};
|
|
5236
|
+
};
|
|
5237
|
+
var TelnyxApiFp = function(configuration) {
|
|
5238
|
+
const localVarAxiosParamCreator = TelnyxApiAxiosParamCreator(configuration);
|
|
5239
|
+
return {
|
|
5240
|
+
/**
|
|
5241
|
+
*
|
|
5242
|
+
* @summary Telnyx Webhook
|
|
5243
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5244
|
+
* @param {*} [options] Override http request option.
|
|
5245
|
+
* @throws {RequiredError}
|
|
5246
|
+
*/
|
|
5247
|
+
async telnyxWebhookTelnyxWebhooksPost(requestBody, options) {
|
|
5248
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.telnyxWebhookTelnyxWebhooksPost(requestBody, options);
|
|
5249
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
5250
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["TelnyxApi.telnyxWebhookTelnyxWebhooksPost"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
5251
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5252
|
+
}
|
|
5253
|
+
};
|
|
5254
|
+
};
|
|
5255
|
+
var TelnyxApiFactory = function(configuration, basePath, axios) {
|
|
5256
|
+
const localVarFp = TelnyxApiFp(configuration);
|
|
5257
|
+
return {
|
|
5258
|
+
/**
|
|
5259
|
+
*
|
|
5260
|
+
* @summary Telnyx Webhook
|
|
5261
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5262
|
+
* @param {*} [options] Override http request option.
|
|
5263
|
+
* @throws {RequiredError}
|
|
5264
|
+
*/
|
|
5265
|
+
telnyxWebhookTelnyxWebhooksPost(requestBody, options) {
|
|
5266
|
+
return localVarFp.telnyxWebhookTelnyxWebhooksPost(requestBody, options).then((request) => request(axios, basePath));
|
|
5267
|
+
}
|
|
5268
|
+
};
|
|
5269
|
+
};
|
|
5270
|
+
var TelnyxApi = class extends BaseAPI {
|
|
5271
|
+
/**
|
|
5272
|
+
*
|
|
5273
|
+
* @summary Telnyx Webhook
|
|
5274
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5275
|
+
* @param {*} [options] Override http request option.
|
|
5276
|
+
* @throws {RequiredError}
|
|
5277
|
+
* @memberof TelnyxApi
|
|
5278
|
+
*/
|
|
5279
|
+
telnyxWebhookTelnyxWebhooksPost(requestBody, options) {
|
|
5280
|
+
return TelnyxApiFp(this.configuration).telnyxWebhookTelnyxWebhooksPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
5281
|
+
}
|
|
5282
|
+
};
|
|
5283
|
+
var UnboundApiAxiosParamCreator = function(configuration) {
|
|
5284
|
+
return {
|
|
5285
|
+
/**
|
|
5286
|
+
* Associates a tag with an account. This operation is idempotent.
|
|
5287
|
+
* @summary Add Tag To Account
|
|
5288
|
+
* @param {string} accountId
|
|
5289
|
+
* @param {string} tagId
|
|
5290
|
+
* @param {*} [options] Override http request option.
|
|
5291
|
+
* @throws {RequiredError}
|
|
5292
|
+
*/
|
|
5293
|
+
accountsAddTag: async (accountId, tagId, options = {}) => {
|
|
5294
|
+
assertParamExists("accountsAddTag", "accountId", accountId);
|
|
5295
|
+
assertParamExists("accountsAddTag", "tagId", tagId);
|
|
5296
|
+
const localVarPath = `/v1/accounts/{account_id}/tags/{tag_id}`.replace(`{${"account_id"}}`, encodeURIComponent(String(accountId))).replace(`{${"tag_id"}}`, encodeURIComponent(String(tagId)));
|
|
5297
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5298
|
+
let baseOptions;
|
|
5299
|
+
if (configuration) {
|
|
5300
|
+
baseOptions = configuration.baseOptions;
|
|
5301
|
+
}
|
|
5302
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
5303
|
+
const localVarHeaderParameter = {};
|
|
5304
|
+
const localVarQueryParameter = {};
|
|
5305
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5306
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5307
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5308
|
+
return {
|
|
5309
|
+
url: toPathString(localVarUrlObj),
|
|
5310
|
+
options: localVarRequestOptions
|
|
5311
|
+
};
|
|
5312
|
+
},
|
|
5313
|
+
/**
|
|
5314
|
+
* Accounts List
|
|
5315
|
+
* @summary Accounts List
|
|
5316
|
+
* @param {*} [options] Override http request option.
|
|
5317
|
+
* @throws {RequiredError}
|
|
5318
|
+
*/
|
|
5319
|
+
accountsList: async (options = {}) => {
|
|
5320
|
+
const localVarPath = `/v1/accounts`;
|
|
5321
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5322
|
+
let baseOptions;
|
|
5323
|
+
if (configuration) {
|
|
5324
|
+
baseOptions = configuration.baseOptions;
|
|
5325
|
+
}
|
|
5326
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5327
|
+
const localVarHeaderParameter = {};
|
|
5328
|
+
const localVarQueryParameter = {};
|
|
5329
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5330
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5331
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5332
|
+
return {
|
|
5333
|
+
url: toPathString(localVarUrlObj),
|
|
5334
|
+
options: localVarRequestOptions
|
|
5335
|
+
};
|
|
5336
|
+
},
|
|
5337
|
+
/**
|
|
5338
|
+
* List all tags associated with an account.
|
|
5339
|
+
* @summary List Account Tags
|
|
5340
|
+
* @param {string} accountId
|
|
5341
|
+
* @param {*} [options] Override http request option.
|
|
5342
|
+
* @throws {RequiredError}
|
|
5343
|
+
*/
|
|
5344
|
+
accountsListTags: async (accountId, options = {}) => {
|
|
5345
|
+
assertParamExists("accountsListTags", "accountId", accountId);
|
|
5346
|
+
const localVarPath = `/v1/accounts/{account_id}/tags`.replace(`{${"account_id"}}`, encodeURIComponent(String(accountId)));
|
|
5347
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5348
|
+
let baseOptions;
|
|
5349
|
+
if (configuration) {
|
|
5350
|
+
baseOptions = configuration.baseOptions;
|
|
5351
|
+
}
|
|
5352
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5353
|
+
const localVarHeaderParameter = {};
|
|
5354
|
+
const localVarQueryParameter = {};
|
|
5355
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5356
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5357
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5358
|
+
return {
|
|
5359
|
+
url: toPathString(localVarUrlObj),
|
|
5360
|
+
options: localVarRequestOptions
|
|
5361
|
+
};
|
|
5362
|
+
},
|
|
5363
|
+
/**
|
|
5364
|
+
* Removes a tag association from an account.
|
|
5365
|
+
* @summary Remove Tag From Account
|
|
5366
|
+
* @param {string} accountId
|
|
5367
|
+
* @param {string} tagId
|
|
5368
|
+
* @param {*} [options] Override http request option.
|
|
5369
|
+
* @throws {RequiredError}
|
|
5370
|
+
*/
|
|
5371
|
+
accountsRemoveTag: async (accountId, tagId, options = {}) => {
|
|
5372
|
+
assertParamExists("accountsRemoveTag", "accountId", accountId);
|
|
5373
|
+
assertParamExists("accountsRemoveTag", "tagId", tagId);
|
|
5374
|
+
const localVarPath = `/v1/accounts/{account_id}/tags/{tag_id}`.replace(`{${"account_id"}}`, encodeURIComponent(String(accountId))).replace(`{${"tag_id"}}`, encodeURIComponent(String(tagId)));
|
|
5375
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5376
|
+
let baseOptions;
|
|
5377
|
+
if (configuration) {
|
|
5378
|
+
baseOptions = configuration.baseOptions;
|
|
5379
|
+
}
|
|
5380
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
5381
|
+
const localVarHeaderParameter = {};
|
|
5382
|
+
const localVarQueryParameter = {};
|
|
5383
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5384
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5385
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5386
|
+
return {
|
|
5387
|
+
url: toPathString(localVarUrlObj),
|
|
5388
|
+
options: localVarRequestOptions
|
|
5389
|
+
};
|
|
5390
|
+
},
|
|
5391
|
+
/**
|
|
5392
|
+
* Addresses Create
|
|
5393
|
+
* @summary Addresses Create
|
|
5394
|
+
* @param {string} contactId
|
|
5395
|
+
* @param {APIAddressCreate} aPIAddressCreate
|
|
5396
|
+
* @param {*} [options] Override http request option.
|
|
5397
|
+
* @throws {RequiredError}
|
|
5398
|
+
*/
|
|
5399
|
+
addressesCreate: async (contactId, aPIAddressCreate, options = {}) => {
|
|
5400
|
+
assertParamExists("addressesCreate", "contactId", contactId);
|
|
5401
|
+
assertParamExists("addressesCreate", "aPIAddressCreate", aPIAddressCreate);
|
|
5402
|
+
const localVarPath = `/v1/contacts/{contactId}/addresses`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
5403
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5404
|
+
let baseOptions;
|
|
5405
|
+
if (configuration) {
|
|
5406
|
+
baseOptions = configuration.baseOptions;
|
|
5407
|
+
}
|
|
5408
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5409
|
+
const localVarHeaderParameter = {};
|
|
5410
|
+
const localVarQueryParameter = {};
|
|
5411
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5414
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5415
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIAddressCreate, localVarRequestOptions, configuration);
|
|
5416
|
+
return {
|
|
5417
|
+
url: toPathString(localVarUrlObj),
|
|
5418
|
+
options: localVarRequestOptions
|
|
5419
|
+
};
|
|
5420
|
+
},
|
|
5421
|
+
/**
|
|
5422
|
+
* Addresses Delete
|
|
5423
|
+
* @summary Addresses Delete
|
|
5424
|
+
* @param {string} addressId
|
|
5425
|
+
* @param {*} [options] Override http request option.
|
|
5426
|
+
* @throws {RequiredError}
|
|
5427
|
+
*/
|
|
5428
|
+
addressesDelete: async (addressId, options = {}) => {
|
|
5429
|
+
assertParamExists("addressesDelete", "addressId", addressId);
|
|
5430
|
+
const localVarPath = `/v1/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
5431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5432
|
+
let baseOptions;
|
|
5433
|
+
if (configuration) {
|
|
5434
|
+
baseOptions = configuration.baseOptions;
|
|
5435
|
+
}
|
|
5436
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
5437
|
+
const localVarHeaderParameter = {};
|
|
5438
|
+
const localVarQueryParameter = {};
|
|
5439
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5440
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5441
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5442
|
+
return {
|
|
5443
|
+
url: toPathString(localVarUrlObj),
|
|
5444
|
+
options: localVarRequestOptions
|
|
5445
|
+
};
|
|
5446
|
+
},
|
|
5447
|
+
/**
|
|
5448
|
+
* Addresses Get
|
|
5449
|
+
* @summary Addresses Get
|
|
5450
|
+
* @param {string} addressId
|
|
5451
|
+
* @param {*} [options] Override http request option.
|
|
5452
|
+
* @throws {RequiredError}
|
|
5453
|
+
*/
|
|
5454
|
+
addressesGet: async (addressId, options = {}) => {
|
|
5455
|
+
assertParamExists("addressesGet", "addressId", addressId);
|
|
5456
|
+
const localVarPath = `/v1/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
5457
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5458
|
+
let baseOptions;
|
|
5459
|
+
if (configuration) {
|
|
5460
|
+
baseOptions = configuration.baseOptions;
|
|
5461
|
+
}
|
|
5462
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5463
|
+
const localVarHeaderParameter = {};
|
|
5464
|
+
const localVarQueryParameter = {};
|
|
5465
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5466
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5467
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5468
|
+
return {
|
|
5469
|
+
url: toPathString(localVarUrlObj),
|
|
5470
|
+
options: localVarRequestOptions
|
|
5471
|
+
};
|
|
5472
|
+
},
|
|
5473
|
+
/**
|
|
5474
|
+
* Addresses Update
|
|
5475
|
+
* @summary Addresses Update
|
|
5476
|
+
* @param {string} addressId
|
|
5477
|
+
* @param {APIAddressUpdate} aPIAddressUpdate
|
|
5478
|
+
* @param {*} [options] Override http request option.
|
|
5479
|
+
* @throws {RequiredError}
|
|
5480
|
+
*/
|
|
5481
|
+
addressesUpdate: async (addressId, aPIAddressUpdate, options = {}) => {
|
|
5482
|
+
assertParamExists("addressesUpdate", "addressId", addressId);
|
|
5483
|
+
assertParamExists("addressesUpdate", "aPIAddressUpdate", aPIAddressUpdate);
|
|
5484
|
+
const localVarPath = `/v1/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
5485
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5486
|
+
let baseOptions;
|
|
5487
|
+
if (configuration) {
|
|
5488
|
+
baseOptions = configuration.baseOptions;
|
|
5489
|
+
}
|
|
5490
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
5491
|
+
const localVarHeaderParameter = {};
|
|
5492
|
+
const localVarQueryParameter = {};
|
|
5493
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5494
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5495
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5496
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5497
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIAddressUpdate, localVarRequestOptions, configuration);
|
|
5498
|
+
return {
|
|
5499
|
+
url: toPathString(localVarUrlObj),
|
|
5500
|
+
options: localVarRequestOptions
|
|
5501
|
+
};
|
|
5502
|
+
},
|
|
5503
|
+
/**
|
|
5504
|
+
* AiResponses Create
|
|
5505
|
+
* @summary AiResponses Create
|
|
5506
|
+
* @param {APIAiResponseCreate} aPIAiResponseCreate
|
|
5507
|
+
* @param {*} [options] Override http request option.
|
|
5508
|
+
* @throws {RequiredError}
|
|
5509
|
+
*/
|
|
5510
|
+
aiResponsesCreate: async (aPIAiResponseCreate, options = {}) => {
|
|
5511
|
+
assertParamExists("aiResponsesCreate", "aPIAiResponseCreate", aPIAiResponseCreate);
|
|
5512
|
+
const localVarPath = `/v1/aiResponses`;
|
|
5513
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5514
|
+
let baseOptions;
|
|
5515
|
+
if (configuration) {
|
|
5516
|
+
baseOptions = configuration.baseOptions;
|
|
5517
|
+
}
|
|
5518
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5519
|
+
const localVarHeaderParameter = {};
|
|
5520
|
+
const localVarQueryParameter = {};
|
|
5521
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5522
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5523
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5524
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5525
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIAiResponseCreate, localVarRequestOptions, configuration);
|
|
5526
|
+
return {
|
|
5527
|
+
url: toPathString(localVarUrlObj),
|
|
5528
|
+
options: localVarRequestOptions
|
|
5529
|
+
};
|
|
5530
|
+
},
|
|
5531
|
+
/**
|
|
5532
|
+
* Associates a contact with a listing with the OWNER type.
|
|
5533
|
+
* @summary Create Contact Listing
|
|
5534
|
+
* @param {string} contactId
|
|
5535
|
+
* @param {string} listingId
|
|
5536
|
+
* @param {CreateContactListing} createContactListing
|
|
5537
|
+
* @param {*} [options] Override http request option.
|
|
5538
|
+
* @throws {RequiredError}
|
|
5539
|
+
*/
|
|
5540
|
+
contactsAddListing: async (contactId, listingId, createContactListing, options = {}) => {
|
|
5541
|
+
assertParamExists("contactsAddListing", "contactId", contactId);
|
|
5542
|
+
assertParamExists("contactsAddListing", "listingId", listingId);
|
|
5543
|
+
assertParamExists("contactsAddListing", "createContactListing", createContactListing);
|
|
5544
|
+
const localVarPath = `/v1/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
5545
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5546
|
+
let baseOptions;
|
|
5547
|
+
if (configuration) {
|
|
5548
|
+
baseOptions = configuration.baseOptions;
|
|
5549
|
+
}
|
|
5550
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
5551
|
+
const localVarHeaderParameter = {};
|
|
5552
|
+
const localVarQueryParameter = {};
|
|
5553
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5554
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5555
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5556
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5557
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createContactListing, localVarRequestOptions, configuration);
|
|
5558
|
+
return {
|
|
5559
|
+
url: toPathString(localVarUrlObj),
|
|
5560
|
+
options: localVarRequestOptions
|
|
5561
|
+
};
|
|
5562
|
+
},
|
|
5563
|
+
/**
|
|
5564
|
+
* Contacts Create
|
|
5565
|
+
* @summary Contacts Create
|
|
5566
|
+
* @param {Contactcreate} contactcreate
|
|
5567
|
+
* @param {*} [options] Override http request option.
|
|
5568
|
+
* @throws {RequiredError}
|
|
5569
|
+
*/
|
|
5570
|
+
contactsCreate: async (contactcreate, options = {}) => {
|
|
5571
|
+
assertParamExists("contactsCreate", "contactcreate", contactcreate);
|
|
5572
|
+
const localVarPath = `/v1/contacts`;
|
|
5573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5574
|
+
let baseOptions;
|
|
5575
|
+
if (configuration) {
|
|
5576
|
+
baseOptions = configuration.baseOptions;
|
|
5577
|
+
}
|
|
5578
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5579
|
+
const localVarHeaderParameter = {};
|
|
5580
|
+
const localVarQueryParameter = {};
|
|
5581
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5582
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5583
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5584
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5585
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contactcreate, localVarRequestOptions, configuration);
|
|
5586
|
+
return {
|
|
5587
|
+
url: toPathString(localVarUrlObj),
|
|
5588
|
+
options: localVarRequestOptions
|
|
5589
|
+
};
|
|
5590
|
+
},
|
|
5591
|
+
/**
|
|
5592
|
+
* Contacts Delete
|
|
5593
|
+
* @summary Contacts Delete
|
|
5594
|
+
* @param {string} contactId
|
|
5595
|
+
* @param {*} [options] Override http request option.
|
|
5596
|
+
* @throws {RequiredError}
|
|
5597
|
+
*/
|
|
5598
|
+
contactsDelete: async (contactId, options = {}) => {
|
|
5599
|
+
assertParamExists("contactsDelete", "contactId", contactId);
|
|
5600
|
+
const localVarPath = `/v1/contacts/{contactId}`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
5601
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5602
|
+
let baseOptions;
|
|
5603
|
+
if (configuration) {
|
|
5604
|
+
baseOptions = configuration.baseOptions;
|
|
5605
|
+
}
|
|
5606
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
5607
|
+
const localVarHeaderParameter = {};
|
|
5608
|
+
const localVarQueryParameter = {};
|
|
5609
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5610
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5611
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5612
|
+
return {
|
|
5613
|
+
url: toPathString(localVarUrlObj),
|
|
5614
|
+
options: localVarRequestOptions
|
|
5615
|
+
};
|
|
5616
|
+
},
|
|
5617
|
+
/**
|
|
5618
|
+
* Contacts Get
|
|
5619
|
+
* @summary Contacts Get
|
|
5620
|
+
* @param {string} contactId
|
|
5621
|
+
* @param {*} [options] Override http request option.
|
|
5622
|
+
* @throws {RequiredError}
|
|
5623
|
+
*/
|
|
5624
|
+
contactsGet: async (contactId, options = {}) => {
|
|
5625
|
+
assertParamExists("contactsGet", "contactId", contactId);
|
|
5626
|
+
const localVarPath = `/v1/contacts/{contactId}`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
5627
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5628
|
+
let baseOptions;
|
|
5629
|
+
if (configuration) {
|
|
5630
|
+
baseOptions = configuration.baseOptions;
|
|
5631
|
+
}
|
|
5632
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5633
|
+
const localVarHeaderParameter = {};
|
|
5634
|
+
const localVarQueryParameter = {};
|
|
5635
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5636
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5637
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5638
|
+
return {
|
|
5639
|
+
url: toPathString(localVarUrlObj),
|
|
5640
|
+
options: localVarRequestOptions
|
|
5641
|
+
};
|
|
5642
|
+
},
|
|
5643
|
+
/**
|
|
5644
|
+
* Contacts List
|
|
5645
|
+
* @summary Contacts List
|
|
5646
|
+
* @param {string | null} [searchString]
|
|
5647
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5648
|
+
* @param {number} [limit]
|
|
5649
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
5650
|
+
* @param {SrcResourceModelsContactsModelContactsModelContactSortBy} [sortBy] Sort key
|
|
5651
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
5652
|
+
* @param {*} [options] Override http request option.
|
|
5653
|
+
* @throws {RequiredError}
|
|
5654
|
+
*/
|
|
5655
|
+
contactsList: async (searchString, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
5656
|
+
const localVarPath = `/v1/contacts`;
|
|
5657
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5658
|
+
let baseOptions;
|
|
5659
|
+
if (configuration) {
|
|
5660
|
+
baseOptions = configuration.baseOptions;
|
|
5661
|
+
}
|
|
5662
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5663
|
+
const localVarHeaderParameter = {};
|
|
5664
|
+
const localVarQueryParameter = {};
|
|
5665
|
+
if (searchString !== void 0) {
|
|
5666
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
5667
|
+
}
|
|
5668
|
+
if (cursor !== void 0) {
|
|
5669
|
+
localVarQueryParameter["cursor"] = cursor;
|
|
5670
|
+
}
|
|
5671
|
+
if (limit !== void 0) {
|
|
5672
|
+
localVarQueryParameter["limit"] = limit;
|
|
5673
|
+
}
|
|
5674
|
+
if (pageDir !== void 0) {
|
|
5675
|
+
localVarQueryParameter["pageDir"] = pageDir;
|
|
5676
|
+
}
|
|
5677
|
+
if (sortBy !== void 0) {
|
|
5678
|
+
localVarQueryParameter["sortBy"] = sortBy;
|
|
5679
|
+
}
|
|
5680
|
+
if (sortOrder !== void 0) {
|
|
5681
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
5682
|
+
}
|
|
5683
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5684
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5685
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5686
|
+
return {
|
|
5687
|
+
url: toPathString(localVarUrlObj),
|
|
5688
|
+
options: localVarRequestOptions
|
|
5689
|
+
};
|
|
5690
|
+
},
|
|
5691
|
+
/**
|
|
5692
|
+
* Removes an association between a contact and a listing.
|
|
5693
|
+
* @summary Delete Contact Listing
|
|
5694
|
+
* @param {string} contactId
|
|
5695
|
+
* @param {string} listingId
|
|
5696
|
+
* @param {DeleteContactListing} deleteContactListing
|
|
5697
|
+
* @param {*} [options] Override http request option.
|
|
5698
|
+
* @throws {RequiredError}
|
|
5699
|
+
*/
|
|
5700
|
+
contactsRemoveListing: async (contactId, listingId, deleteContactListing, options = {}) => {
|
|
5701
|
+
assertParamExists("contactsRemoveListing", "contactId", contactId);
|
|
5702
|
+
assertParamExists("contactsRemoveListing", "listingId", listingId);
|
|
5703
|
+
assertParamExists("contactsRemoveListing", "deleteContactListing", deleteContactListing);
|
|
5704
|
+
const localVarPath = `/v1/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
5705
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5706
|
+
let baseOptions;
|
|
5707
|
+
if (configuration) {
|
|
5708
|
+
baseOptions = configuration.baseOptions;
|
|
5709
|
+
}
|
|
5710
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
5711
|
+
const localVarHeaderParameter = {};
|
|
5712
|
+
const localVarQueryParameter = {};
|
|
5713
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5714
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5716
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5717
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deleteContactListing, localVarRequestOptions, configuration);
|
|
5718
|
+
return {
|
|
5719
|
+
url: toPathString(localVarUrlObj),
|
|
5720
|
+
options: localVarRequestOptions
|
|
5721
|
+
};
|
|
5722
|
+
},
|
|
5723
|
+
/**
|
|
5724
|
+
* Contacts Update
|
|
5725
|
+
* @summary Contacts Update
|
|
5726
|
+
* @param {string} contactId
|
|
5727
|
+
* @param {APIContactUpdate} aPIContactUpdate
|
|
5728
|
+
* @param {*} [options] Override http request option.
|
|
5729
|
+
* @throws {RequiredError}
|
|
5730
|
+
*/
|
|
5731
|
+
contactsUpdate: async (contactId, aPIContactUpdate, options = {}) => {
|
|
5732
|
+
assertParamExists("contactsUpdate", "contactId", contactId);
|
|
5733
|
+
assertParamExists("contactsUpdate", "aPIContactUpdate", aPIContactUpdate);
|
|
5734
|
+
const localVarPath = `/v1/contacts/{contactId}`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
5735
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5736
|
+
let baseOptions;
|
|
5737
|
+
if (configuration) {
|
|
5738
|
+
baseOptions = configuration.baseOptions;
|
|
5739
|
+
}
|
|
5740
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
5741
|
+
const localVarHeaderParameter = {};
|
|
5742
|
+
const localVarQueryParameter = {};
|
|
5743
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5744
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5745
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5746
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5747
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIContactUpdate, localVarRequestOptions, configuration);
|
|
5748
|
+
return {
|
|
5749
|
+
url: toPathString(localVarUrlObj),
|
|
5750
|
+
options: localVarRequestOptions
|
|
5751
|
+
};
|
|
5752
|
+
},
|
|
5753
|
+
/**
|
|
5754
|
+
* Updates an association between a contact and a listing.
|
|
5755
|
+
* @summary Update Contact Listing
|
|
5756
|
+
* @param {string} contactId
|
|
5757
|
+
* @param {string} listingId
|
|
5758
|
+
* @param {UpdateContactListing} updateContactListing
|
|
5759
|
+
* @param {*} [options] Override http request option.
|
|
5760
|
+
* @throws {RequiredError}
|
|
5761
|
+
*/
|
|
5762
|
+
contactsUpdateListing: async (contactId, listingId, updateContactListing, options = {}) => {
|
|
5763
|
+
assertParamExists("contactsUpdateListing", "contactId", contactId);
|
|
5764
|
+
assertParamExists("contactsUpdateListing", "listingId", listingId);
|
|
5765
|
+
assertParamExists("contactsUpdateListing", "updateContactListing", updateContactListing);
|
|
5766
|
+
const localVarPath = `/v1/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
5767
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5768
|
+
let baseOptions;
|
|
5769
|
+
if (configuration) {
|
|
5770
|
+
baseOptions = configuration.baseOptions;
|
|
5771
|
+
}
|
|
5772
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
5773
|
+
const localVarHeaderParameter = {};
|
|
5774
|
+
const localVarQueryParameter = {};
|
|
5775
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5776
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5777
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5778
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5779
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateContactListing, localVarRequestOptions, configuration);
|
|
5780
|
+
return {
|
|
5781
|
+
url: toPathString(localVarUrlObj),
|
|
5782
|
+
options: localVarRequestOptions
|
|
5783
|
+
};
|
|
5784
|
+
},
|
|
5785
|
+
/**
|
|
5786
|
+
* Conversations Create
|
|
5787
|
+
* @summary Conversations Create
|
|
5788
|
+
* @param {string} inboxId
|
|
5789
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
5790
|
+
* @param {*} [options] Override http request option.
|
|
5791
|
+
* @throws {RequiredError}
|
|
5792
|
+
*/
|
|
5793
|
+
conversationsCreate: async (inboxId, aPIConversationCreate, options = {}) => {
|
|
5794
|
+
assertParamExists("conversationsCreate", "inboxId", inboxId);
|
|
5795
|
+
assertParamExists("conversationsCreate", "aPIConversationCreate", aPIConversationCreate);
|
|
5796
|
+
const localVarPath = `/v1/inboxes/{inboxId}/conversations`.replace(`{${"inboxId"}}`, encodeURIComponent(String(inboxId)));
|
|
5797
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5798
|
+
let baseOptions;
|
|
5799
|
+
if (configuration) {
|
|
5800
|
+
baseOptions = configuration.baseOptions;
|
|
5801
|
+
}
|
|
5802
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5803
|
+
const localVarHeaderParameter = {};
|
|
5804
|
+
const localVarQueryParameter = {};
|
|
5805
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5806
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4828
5807
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4829
5808
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4830
5809
|
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationCreate, localVarRequestOptions, configuration);
|
|
@@ -5361,6 +6340,34 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5361
6340
|
options: localVarRequestOptions
|
|
5362
6341
|
};
|
|
5363
6342
|
},
|
|
6343
|
+
/**
|
|
6344
|
+
* Associates a tag with a listing. This operation is idempotent.
|
|
6345
|
+
* @summary Add Tag To Listing
|
|
6346
|
+
* @param {string} listingId
|
|
6347
|
+
* @param {string} tagId
|
|
6348
|
+
* @param {*} [options] Override http request option.
|
|
6349
|
+
* @throws {RequiredError}
|
|
6350
|
+
*/
|
|
6351
|
+
listingsAddTag: async (listingId, tagId, options = {}) => {
|
|
6352
|
+
assertParamExists("listingsAddTag", "listingId", listingId);
|
|
6353
|
+
assertParamExists("listingsAddTag", "tagId", tagId);
|
|
6354
|
+
const localVarPath = `/v1/listings/{listing_id}/tags/{tag_id}`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId))).replace(`{${"tag_id"}}`, encodeURIComponent(String(tagId)));
|
|
6355
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6356
|
+
let baseOptions;
|
|
6357
|
+
if (configuration) {
|
|
6358
|
+
baseOptions = configuration.baseOptions;
|
|
6359
|
+
}
|
|
6360
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
6361
|
+
const localVarHeaderParameter = {};
|
|
6362
|
+
const localVarQueryParameter = {};
|
|
6363
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6364
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6365
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6366
|
+
return {
|
|
6367
|
+
url: toPathString(localVarUrlObj),
|
|
6368
|
+
options: localVarRequestOptions
|
|
6369
|
+
};
|
|
6370
|
+
},
|
|
5364
6371
|
/**
|
|
5365
6372
|
* Listings Get
|
|
5366
6373
|
* @summary Listings Get
|
|
@@ -5439,6 +6446,60 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5439
6446
|
options: localVarRequestOptions
|
|
5440
6447
|
};
|
|
5441
6448
|
},
|
|
6449
|
+
/**
|
|
6450
|
+
* List all tags associated with a listing.
|
|
6451
|
+
* @summary List Listing Tags
|
|
6452
|
+
* @param {string} listingId
|
|
6453
|
+
* @param {*} [options] Override http request option.
|
|
6454
|
+
* @throws {RequiredError}
|
|
6455
|
+
*/
|
|
6456
|
+
listingsListTags: async (listingId, options = {}) => {
|
|
6457
|
+
assertParamExists("listingsListTags", "listingId", listingId);
|
|
6458
|
+
const localVarPath = `/v1/listings/{listing_id}/tags`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
6459
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6460
|
+
let baseOptions;
|
|
6461
|
+
if (configuration) {
|
|
6462
|
+
baseOptions = configuration.baseOptions;
|
|
6463
|
+
}
|
|
6464
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6465
|
+
const localVarHeaderParameter = {};
|
|
6466
|
+
const localVarQueryParameter = {};
|
|
6467
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6468
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6469
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6470
|
+
return {
|
|
6471
|
+
url: toPathString(localVarUrlObj),
|
|
6472
|
+
options: localVarRequestOptions
|
|
6473
|
+
};
|
|
6474
|
+
},
|
|
6475
|
+
/**
|
|
6476
|
+
* Removes a tag association from a listing.
|
|
6477
|
+
* @summary Remove Tag From Listing
|
|
6478
|
+
* @param {string} listingId
|
|
6479
|
+
* @param {string} tagId
|
|
6480
|
+
* @param {*} [options] Override http request option.
|
|
6481
|
+
* @throws {RequiredError}
|
|
6482
|
+
*/
|
|
6483
|
+
listingsRemoveTag: async (listingId, tagId, options = {}) => {
|
|
6484
|
+
assertParamExists("listingsRemoveTag", "listingId", listingId);
|
|
6485
|
+
assertParamExists("listingsRemoveTag", "tagId", tagId);
|
|
6486
|
+
const localVarPath = `/v1/listings/{listing_id}/tags/{tag_id}`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId))).replace(`{${"tag_id"}}`, encodeURIComponent(String(tagId)));
|
|
6487
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6488
|
+
let baseOptions;
|
|
6489
|
+
if (configuration) {
|
|
6490
|
+
baseOptions = configuration.baseOptions;
|
|
6491
|
+
}
|
|
6492
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
6493
|
+
const localVarHeaderParameter = {};
|
|
6494
|
+
const localVarQueryParameter = {};
|
|
6495
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6496
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6497
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6498
|
+
return {
|
|
6499
|
+
url: toPathString(localVarUrlObj),
|
|
6500
|
+
options: localVarRequestOptions
|
|
6501
|
+
};
|
|
6502
|
+
},
|
|
5442
6503
|
/**
|
|
5443
6504
|
* ManagedPhoneNumbers List
|
|
5444
6505
|
* @summary ManagedPhoneNumbers List
|
|
@@ -5588,53 +6649,295 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5588
6649
|
};
|
|
5589
6650
|
},
|
|
5590
6651
|
/**
|
|
5591
|
-
* Phones Create
|
|
5592
|
-
* @summary Phones Create
|
|
5593
|
-
* @param {string} contactId
|
|
5594
|
-
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
6652
|
+
* Phones Create
|
|
6653
|
+
* @summary Phones Create
|
|
6654
|
+
* @param {string} contactId
|
|
6655
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
6656
|
+
* @param {*} [options] Override http request option.
|
|
6657
|
+
* @throws {RequiredError}
|
|
6658
|
+
*/
|
|
6659
|
+
phonesCreate: async (contactId, aPIPhoneCreate, options = {}) => {
|
|
6660
|
+
assertParamExists("phonesCreate", "contactId", contactId);
|
|
6661
|
+
assertParamExists("phonesCreate", "aPIPhoneCreate", aPIPhoneCreate);
|
|
6662
|
+
const localVarPath = `/v1/contacts/{contactId}/phones`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
6663
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6664
|
+
let baseOptions;
|
|
6665
|
+
if (configuration) {
|
|
6666
|
+
baseOptions = configuration.baseOptions;
|
|
6667
|
+
}
|
|
6668
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
6669
|
+
const localVarHeaderParameter = {};
|
|
6670
|
+
const localVarQueryParameter = {};
|
|
6671
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6672
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6673
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6674
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6675
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneCreate, localVarRequestOptions, configuration);
|
|
6676
|
+
return {
|
|
6677
|
+
url: toPathString(localVarUrlObj),
|
|
6678
|
+
options: localVarRequestOptions
|
|
6679
|
+
};
|
|
6680
|
+
},
|
|
6681
|
+
/**
|
|
6682
|
+
* Phones Delete
|
|
6683
|
+
* @summary Phones Delete
|
|
6684
|
+
* @param {string} phoneId
|
|
6685
|
+
* @param {*} [options] Override http request option.
|
|
6686
|
+
* @throws {RequiredError}
|
|
6687
|
+
*/
|
|
6688
|
+
phonesDelete: async (phoneId, options = {}) => {
|
|
6689
|
+
assertParamExists("phonesDelete", "phoneId", phoneId);
|
|
6690
|
+
const localVarPath = `/v1/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
6691
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6692
|
+
let baseOptions;
|
|
6693
|
+
if (configuration) {
|
|
6694
|
+
baseOptions = configuration.baseOptions;
|
|
6695
|
+
}
|
|
6696
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
6697
|
+
const localVarHeaderParameter = {};
|
|
6698
|
+
const localVarQueryParameter = {};
|
|
6699
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6700
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6701
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6702
|
+
return {
|
|
6703
|
+
url: toPathString(localVarUrlObj),
|
|
6704
|
+
options: localVarRequestOptions
|
|
6705
|
+
};
|
|
6706
|
+
},
|
|
6707
|
+
/**
|
|
6708
|
+
* Phones Get
|
|
6709
|
+
* @summary Phones Get
|
|
6710
|
+
* @param {string} phoneId
|
|
6711
|
+
* @param {*} [options] Override http request option.
|
|
6712
|
+
* @throws {RequiredError}
|
|
6713
|
+
*/
|
|
6714
|
+
phonesGet: async (phoneId, options = {}) => {
|
|
6715
|
+
assertParamExists("phonesGet", "phoneId", phoneId);
|
|
6716
|
+
const localVarPath = `/v1/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
6717
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6718
|
+
let baseOptions;
|
|
6719
|
+
if (configuration) {
|
|
6720
|
+
baseOptions = configuration.baseOptions;
|
|
6721
|
+
}
|
|
6722
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6723
|
+
const localVarHeaderParameter = {};
|
|
6724
|
+
const localVarQueryParameter = {};
|
|
6725
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6726
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6727
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6728
|
+
return {
|
|
6729
|
+
url: toPathString(localVarUrlObj),
|
|
6730
|
+
options: localVarRequestOptions
|
|
6731
|
+
};
|
|
6732
|
+
},
|
|
6733
|
+
/**
|
|
6734
|
+
* Phones Update
|
|
6735
|
+
* @summary Phones Update
|
|
6736
|
+
* @param {string} phoneId
|
|
6737
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
6738
|
+
* @param {*} [options] Override http request option.
|
|
6739
|
+
* @throws {RequiredError}
|
|
6740
|
+
*/
|
|
6741
|
+
phonesUpdate: async (phoneId, aPIPhoneUpdate, options = {}) => {
|
|
6742
|
+
assertParamExists("phonesUpdate", "phoneId", phoneId);
|
|
6743
|
+
assertParamExists("phonesUpdate", "aPIPhoneUpdate", aPIPhoneUpdate);
|
|
6744
|
+
const localVarPath = `/v1/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
6745
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6746
|
+
let baseOptions;
|
|
6747
|
+
if (configuration) {
|
|
6748
|
+
baseOptions = configuration.baseOptions;
|
|
6749
|
+
}
|
|
6750
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
6751
|
+
const localVarHeaderParameter = {};
|
|
6752
|
+
const localVarQueryParameter = {};
|
|
6753
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6754
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6755
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6756
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6757
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneUpdate, localVarRequestOptions, configuration);
|
|
6758
|
+
return {
|
|
6759
|
+
url: toPathString(localVarUrlObj),
|
|
6760
|
+
options: localVarRequestOptions
|
|
6761
|
+
};
|
|
6762
|
+
},
|
|
6763
|
+
/**
|
|
6764
|
+
* Providers Create
|
|
6765
|
+
* @summary Providers Create
|
|
6766
|
+
* @param {APIProviderCreate} aPIProviderCreate
|
|
6767
|
+
* @param {*} [options] Override http request option.
|
|
6768
|
+
* @throws {RequiredError}
|
|
6769
|
+
*/
|
|
6770
|
+
providersCreate: async (aPIProviderCreate, options = {}) => {
|
|
6771
|
+
assertParamExists("providersCreate", "aPIProviderCreate", aPIProviderCreate);
|
|
6772
|
+
const localVarPath = `/v1/providers`;
|
|
6773
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6774
|
+
let baseOptions;
|
|
6775
|
+
if (configuration) {
|
|
6776
|
+
baseOptions = configuration.baseOptions;
|
|
6777
|
+
}
|
|
6778
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
6779
|
+
const localVarHeaderParameter = {};
|
|
6780
|
+
const localVarQueryParameter = {};
|
|
6781
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6782
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6783
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6784
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6785
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIProviderCreate, localVarRequestOptions, configuration);
|
|
6786
|
+
return {
|
|
6787
|
+
url: toPathString(localVarUrlObj),
|
|
6788
|
+
options: localVarRequestOptions
|
|
6789
|
+
};
|
|
6790
|
+
},
|
|
6791
|
+
/**
|
|
6792
|
+
* Providers Get
|
|
6793
|
+
* @summary Providers Get
|
|
6794
|
+
* @param {string} providerId
|
|
6795
|
+
* @param {*} [options] Override http request option.
|
|
6796
|
+
* @throws {RequiredError}
|
|
6797
|
+
*/
|
|
6798
|
+
providersGet: async (providerId, options = {}) => {
|
|
6799
|
+
assertParamExists("providersGet", "providerId", providerId);
|
|
6800
|
+
const localVarPath = `/v1/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
6801
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6802
|
+
let baseOptions;
|
|
6803
|
+
if (configuration) {
|
|
6804
|
+
baseOptions = configuration.baseOptions;
|
|
6805
|
+
}
|
|
6806
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6807
|
+
const localVarHeaderParameter = {};
|
|
6808
|
+
const localVarQueryParameter = {};
|
|
6809
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6811
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6812
|
+
return {
|
|
6813
|
+
url: toPathString(localVarUrlObj),
|
|
6814
|
+
options: localVarRequestOptions
|
|
6815
|
+
};
|
|
6816
|
+
},
|
|
6817
|
+
/**
|
|
6818
|
+
* Providers List
|
|
6819
|
+
* @summary Providers List
|
|
6820
|
+
* @param {*} [options] Override http request option.
|
|
6821
|
+
* @throws {RequiredError}
|
|
6822
|
+
*/
|
|
6823
|
+
providersList: async (options = {}) => {
|
|
6824
|
+
const localVarPath = `/v1/providers`;
|
|
6825
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6826
|
+
let baseOptions;
|
|
6827
|
+
if (configuration) {
|
|
6828
|
+
baseOptions = configuration.baseOptions;
|
|
6829
|
+
}
|
|
6830
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6831
|
+
const localVarHeaderParameter = {};
|
|
6832
|
+
const localVarQueryParameter = {};
|
|
6833
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6834
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6835
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6836
|
+
return {
|
|
6837
|
+
url: toPathString(localVarUrlObj),
|
|
6838
|
+
options: localVarRequestOptions
|
|
6839
|
+
};
|
|
6840
|
+
},
|
|
6841
|
+
/**
|
|
6842
|
+
* Providers Update
|
|
6843
|
+
* @summary Providers Update
|
|
6844
|
+
* @param {string} providerId
|
|
6845
|
+
* @param {APIProviderUpdate} aPIProviderUpdate
|
|
6846
|
+
* @param {*} [options] Override http request option.
|
|
6847
|
+
* @throws {RequiredError}
|
|
6848
|
+
*/
|
|
6849
|
+
providersUpdate: async (providerId, aPIProviderUpdate, options = {}) => {
|
|
6850
|
+
assertParamExists("providersUpdate", "providerId", providerId);
|
|
6851
|
+
assertParamExists("providersUpdate", "aPIProviderUpdate", aPIProviderUpdate);
|
|
6852
|
+
const localVarPath = `/v1/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
6853
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6854
|
+
let baseOptions;
|
|
6855
|
+
if (configuration) {
|
|
6856
|
+
baseOptions = configuration.baseOptions;
|
|
6857
|
+
}
|
|
6858
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
6859
|
+
const localVarHeaderParameter = {};
|
|
6860
|
+
const localVarQueryParameter = {};
|
|
6861
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6862
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6863
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6864
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6865
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIProviderUpdate, localVarRequestOptions, configuration);
|
|
6866
|
+
return {
|
|
6867
|
+
url: toPathString(localVarUrlObj),
|
|
6868
|
+
options: localVarRequestOptions
|
|
6869
|
+
};
|
|
6870
|
+
},
|
|
6871
|
+
/**
|
|
6872
|
+
* Reservations Get
|
|
6873
|
+
* @summary Reservations Get
|
|
6874
|
+
* @param {string} reservationId
|
|
5595
6875
|
* @param {*} [options] Override http request option.
|
|
5596
6876
|
* @throws {RequiredError}
|
|
5597
6877
|
*/
|
|
5598
|
-
|
|
5599
|
-
assertParamExists("
|
|
5600
|
-
|
|
5601
|
-
const localVarPath = `/v1/contacts/{contactId}/phones`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
6878
|
+
reservationsGet: async (reservationId, options = {}) => {
|
|
6879
|
+
assertParamExists("reservationsGet", "reservationId", reservationId);
|
|
6880
|
+
const localVarPath = `/v1/reservations/{reservationId}`.replace(`{${"reservationId"}}`, encodeURIComponent(String(reservationId)));
|
|
5602
6881
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5603
6882
|
let baseOptions;
|
|
5604
6883
|
if (configuration) {
|
|
5605
6884
|
baseOptions = configuration.baseOptions;
|
|
5606
6885
|
}
|
|
5607
|
-
const localVarRequestOptions = { method: "
|
|
6886
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5608
6887
|
const localVarHeaderParameter = {};
|
|
5609
6888
|
const localVarQueryParameter = {};
|
|
5610
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5611
6889
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5612
6890
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5613
6891
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5614
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneCreate, localVarRequestOptions, configuration);
|
|
5615
6892
|
return {
|
|
5616
6893
|
url: toPathString(localVarUrlObj),
|
|
5617
6894
|
options: localVarRequestOptions
|
|
5618
6895
|
};
|
|
5619
6896
|
},
|
|
5620
6897
|
/**
|
|
5621
|
-
*
|
|
5622
|
-
* @summary
|
|
5623
|
-
* @param {string}
|
|
6898
|
+
* Reservations List
|
|
6899
|
+
* @summary Reservations List
|
|
6900
|
+
* @param {string | null} [searchString]
|
|
6901
|
+
* @param {string | null} [contactId]
|
|
6902
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
6903
|
+
* @param {number} [limit]
|
|
6904
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
6905
|
+
* @param {SrcResourceModelsReservationsModelReservationBaseModelSortBy} [sortBy] Sort key
|
|
6906
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
5624
6907
|
* @param {*} [options] Override http request option.
|
|
5625
6908
|
* @throws {RequiredError}
|
|
5626
6909
|
*/
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
const localVarPath = `/v1/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
6910
|
+
reservationsList: async (searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
6911
|
+
const localVarPath = `/v1/reservations`;
|
|
5630
6912
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5631
6913
|
let baseOptions;
|
|
5632
6914
|
if (configuration) {
|
|
5633
6915
|
baseOptions = configuration.baseOptions;
|
|
5634
6916
|
}
|
|
5635
|
-
const localVarRequestOptions = { method: "
|
|
6917
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5636
6918
|
const localVarHeaderParameter = {};
|
|
5637
6919
|
const localVarQueryParameter = {};
|
|
6920
|
+
if (searchString !== void 0) {
|
|
6921
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
6922
|
+
}
|
|
6923
|
+
if (contactId !== void 0) {
|
|
6924
|
+
localVarQueryParameter["contactId"] = contactId;
|
|
6925
|
+
}
|
|
6926
|
+
if (cursor !== void 0) {
|
|
6927
|
+
localVarQueryParameter["cursor"] = cursor;
|
|
6928
|
+
}
|
|
6929
|
+
if (limit !== void 0) {
|
|
6930
|
+
localVarQueryParameter["limit"] = limit;
|
|
6931
|
+
}
|
|
6932
|
+
if (pageDir !== void 0) {
|
|
6933
|
+
localVarQueryParameter["pageDir"] = pageDir;
|
|
6934
|
+
}
|
|
6935
|
+
if (sortBy !== void 0) {
|
|
6936
|
+
localVarQueryParameter["sortBy"] = sortBy;
|
|
6937
|
+
}
|
|
6938
|
+
if (sortOrder !== void 0) {
|
|
6939
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
6940
|
+
}
|
|
5638
6941
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5639
6942
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5640
6943
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -5644,21 +6947,23 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5644
6947
|
};
|
|
5645
6948
|
},
|
|
5646
6949
|
/**
|
|
5647
|
-
*
|
|
5648
|
-
* @summary
|
|
5649
|
-
* @param {string}
|
|
6950
|
+
* Associates a child tag with a parent tag. This operation is idempotent.
|
|
6951
|
+
* @summary Add Child Tag
|
|
6952
|
+
* @param {string} parentTagId
|
|
6953
|
+
* @param {string} childTagId
|
|
5650
6954
|
* @param {*} [options] Override http request option.
|
|
5651
6955
|
* @throws {RequiredError}
|
|
5652
6956
|
*/
|
|
5653
|
-
|
|
5654
|
-
assertParamExists("
|
|
5655
|
-
|
|
6957
|
+
tagsAddChildTag: async (parentTagId, childTagId, options = {}) => {
|
|
6958
|
+
assertParamExists("tagsAddChildTag", "parentTagId", parentTagId);
|
|
6959
|
+
assertParamExists("tagsAddChildTag", "childTagId", childTagId);
|
|
6960
|
+
const localVarPath = `/v1/tags/{parent_tag_id}/tags/{child_tag_id}`.replace(`{${"parent_tag_id"}}`, encodeURIComponent(String(parentTagId))).replace(`{${"child_tag_id"}}`, encodeURIComponent(String(childTagId)));
|
|
5656
6961
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5657
6962
|
let baseOptions;
|
|
5658
6963
|
if (configuration) {
|
|
5659
6964
|
baseOptions = configuration.baseOptions;
|
|
5660
6965
|
}
|
|
5661
|
-
const localVarRequestOptions = { method: "
|
|
6966
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
5662
6967
|
const localVarHeaderParameter = {};
|
|
5663
6968
|
const localVarQueryParameter = {};
|
|
5664
6969
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5670,73 +6975,69 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5670
6975
|
};
|
|
5671
6976
|
},
|
|
5672
6977
|
/**
|
|
5673
|
-
*
|
|
5674
|
-
* @summary
|
|
5675
|
-
* @param {
|
|
5676
|
-
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
6978
|
+
* Tags Create
|
|
6979
|
+
* @summary Tags Create
|
|
6980
|
+
* @param {APITagCreate} aPITagCreate
|
|
5677
6981
|
* @param {*} [options] Override http request option.
|
|
5678
6982
|
* @throws {RequiredError}
|
|
5679
6983
|
*/
|
|
5680
|
-
|
|
5681
|
-
assertParamExists("
|
|
5682
|
-
|
|
5683
|
-
const localVarPath = `/v1/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
6984
|
+
tagsCreate: async (aPITagCreate, options = {}) => {
|
|
6985
|
+
assertParamExists("tagsCreate", "aPITagCreate", aPITagCreate);
|
|
6986
|
+
const localVarPath = `/v1/tags`;
|
|
5684
6987
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5685
6988
|
let baseOptions;
|
|
5686
6989
|
if (configuration) {
|
|
5687
6990
|
baseOptions = configuration.baseOptions;
|
|
5688
6991
|
}
|
|
5689
|
-
const localVarRequestOptions = { method: "
|
|
6992
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5690
6993
|
const localVarHeaderParameter = {};
|
|
5691
6994
|
const localVarQueryParameter = {};
|
|
5692
6995
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5693
6996
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5694
6997
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5695
6998
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5696
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6999
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPITagCreate, localVarRequestOptions, configuration);
|
|
5697
7000
|
return {
|
|
5698
7001
|
url: toPathString(localVarUrlObj),
|
|
5699
7002
|
options: localVarRequestOptions
|
|
5700
7003
|
};
|
|
5701
7004
|
},
|
|
5702
7005
|
/**
|
|
5703
|
-
*
|
|
5704
|
-
* @summary
|
|
5705
|
-
* @param {
|
|
7006
|
+
* Tags Delete
|
|
7007
|
+
* @summary Tags Delete
|
|
7008
|
+
* @param {string} tagId
|
|
5706
7009
|
* @param {*} [options] Override http request option.
|
|
5707
7010
|
* @throws {RequiredError}
|
|
5708
7011
|
*/
|
|
5709
|
-
|
|
5710
|
-
assertParamExists("
|
|
5711
|
-
const localVarPath = `/v1/
|
|
7012
|
+
tagsDelete: async (tagId, options = {}) => {
|
|
7013
|
+
assertParamExists("tagsDelete", "tagId", tagId);
|
|
7014
|
+
const localVarPath = `/v1/tags/{tagId}`.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
5712
7015
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5713
7016
|
let baseOptions;
|
|
5714
7017
|
if (configuration) {
|
|
5715
7018
|
baseOptions = configuration.baseOptions;
|
|
5716
7019
|
}
|
|
5717
|
-
const localVarRequestOptions = { method: "
|
|
7020
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
5718
7021
|
const localVarHeaderParameter = {};
|
|
5719
7022
|
const localVarQueryParameter = {};
|
|
5720
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5721
7023
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5722
7024
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5723
7025
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5724
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIProviderCreate, localVarRequestOptions, configuration);
|
|
5725
7026
|
return {
|
|
5726
7027
|
url: toPathString(localVarUrlObj),
|
|
5727
7028
|
options: localVarRequestOptions
|
|
5728
7029
|
};
|
|
5729
7030
|
},
|
|
5730
7031
|
/**
|
|
5731
|
-
*
|
|
5732
|
-
* @summary
|
|
5733
|
-
* @param {string}
|
|
7032
|
+
* Tags Get
|
|
7033
|
+
* @summary Tags Get
|
|
7034
|
+
* @param {string} tagId
|
|
5734
7035
|
* @param {*} [options] Override http request option.
|
|
5735
7036
|
* @throws {RequiredError}
|
|
5736
7037
|
*/
|
|
5737
|
-
|
|
5738
|
-
assertParamExists("
|
|
5739
|
-
const localVarPath = `/v1/
|
|
7038
|
+
tagsGet: async (tagId, options = {}) => {
|
|
7039
|
+
assertParamExists("tagsGet", "tagId", tagId);
|
|
7040
|
+
const localVarPath = `/v1/tags/{tagId}`.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
5740
7041
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5741
7042
|
let baseOptions;
|
|
5742
7043
|
if (configuration) {
|
|
@@ -5754,13 +7055,14 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5754
7055
|
};
|
|
5755
7056
|
},
|
|
5756
7057
|
/**
|
|
5757
|
-
*
|
|
5758
|
-
* @summary
|
|
7058
|
+
* Tags List
|
|
7059
|
+
* @summary Tags List
|
|
7060
|
+
* @param {string | null} [searchString] Search by tag name
|
|
5759
7061
|
* @param {*} [options] Override http request option.
|
|
5760
7062
|
* @throws {RequiredError}
|
|
5761
7063
|
*/
|
|
5762
|
-
|
|
5763
|
-
const localVarPath = `/v1/
|
|
7064
|
+
tagsList: async (searchString, options = {}) => {
|
|
7065
|
+
const localVarPath = `/v1/tags`;
|
|
5764
7066
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5765
7067
|
let baseOptions;
|
|
5766
7068
|
if (configuration) {
|
|
@@ -5769,6 +7071,9 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5769
7071
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5770
7072
|
const localVarHeaderParameter = {};
|
|
5771
7073
|
const localVarQueryParameter = {};
|
|
7074
|
+
if (searchString !== void 0) {
|
|
7075
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
7076
|
+
}
|
|
5772
7077
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5773
7078
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5774
7079
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -5778,51 +7083,49 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5778
7083
|
};
|
|
5779
7084
|
},
|
|
5780
7085
|
/**
|
|
5781
|
-
*
|
|
5782
|
-
* @summary
|
|
5783
|
-
* @param {string}
|
|
5784
|
-
* @param {APIProviderUpdate} aPIProviderUpdate
|
|
7086
|
+
* List all child tags associated with a parent tag.
|
|
7087
|
+
* @summary List Child Tags
|
|
7088
|
+
* @param {string} parentTagId
|
|
5785
7089
|
* @param {*} [options] Override http request option.
|
|
5786
7090
|
* @throws {RequiredError}
|
|
5787
7091
|
*/
|
|
5788
|
-
|
|
5789
|
-
assertParamExists("
|
|
5790
|
-
|
|
5791
|
-
const localVarPath = `/v1/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(providerId)));
|
|
7092
|
+
tagsListChildTags: async (parentTagId, options = {}) => {
|
|
7093
|
+
assertParamExists("tagsListChildTags", "parentTagId", parentTagId);
|
|
7094
|
+
const localVarPath = `/v1/tags/{parent_tag_id}/tags`.replace(`{${"parent_tag_id"}}`, encodeURIComponent(String(parentTagId)));
|
|
5792
7095
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5793
7096
|
let baseOptions;
|
|
5794
7097
|
if (configuration) {
|
|
5795
7098
|
baseOptions = configuration.baseOptions;
|
|
5796
7099
|
}
|
|
5797
|
-
const localVarRequestOptions = { method: "
|
|
7100
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5798
7101
|
const localVarHeaderParameter = {};
|
|
5799
7102
|
const localVarQueryParameter = {};
|
|
5800
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5801
7103
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5802
7104
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5803
7105
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5804
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIProviderUpdate, localVarRequestOptions, configuration);
|
|
5805
7106
|
return {
|
|
5806
7107
|
url: toPathString(localVarUrlObj),
|
|
5807
7108
|
options: localVarRequestOptions
|
|
5808
7109
|
};
|
|
5809
7110
|
},
|
|
5810
7111
|
/**
|
|
5811
|
-
*
|
|
5812
|
-
* @summary
|
|
5813
|
-
* @param {string}
|
|
7112
|
+
* Removes a child tag association from a parent tag.
|
|
7113
|
+
* @summary Remove Child Tag
|
|
7114
|
+
* @param {string} parentTagId
|
|
7115
|
+
* @param {string} childTagId
|
|
5814
7116
|
* @param {*} [options] Override http request option.
|
|
5815
7117
|
* @throws {RequiredError}
|
|
5816
7118
|
*/
|
|
5817
|
-
|
|
5818
|
-
assertParamExists("
|
|
5819
|
-
|
|
7119
|
+
tagsRemoveChildTag: async (parentTagId, childTagId, options = {}) => {
|
|
7120
|
+
assertParamExists("tagsRemoveChildTag", "parentTagId", parentTagId);
|
|
7121
|
+
assertParamExists("tagsRemoveChildTag", "childTagId", childTagId);
|
|
7122
|
+
const localVarPath = `/v1/tags/{parent_tag_id}/tags/{child_tag_id}`.replace(`{${"parent_tag_id"}}`, encodeURIComponent(String(parentTagId))).replace(`{${"child_tag_id"}}`, encodeURIComponent(String(childTagId)));
|
|
5820
7123
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5821
7124
|
let baseOptions;
|
|
5822
7125
|
if (configuration) {
|
|
5823
7126
|
baseOptions = configuration.baseOptions;
|
|
5824
7127
|
}
|
|
5825
|
-
const localVarRequestOptions = { method: "
|
|
7128
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
5826
7129
|
const localVarHeaderParameter = {};
|
|
5827
7130
|
const localVarQueryParameter = {};
|
|
5828
7131
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5834,52 +7137,30 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5834
7137
|
};
|
|
5835
7138
|
},
|
|
5836
7139
|
/**
|
|
5837
|
-
*
|
|
5838
|
-
* @summary
|
|
5839
|
-
* @param {string
|
|
5840
|
-
* @param {
|
|
5841
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5842
|
-
* @param {number} [limit]
|
|
5843
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
5844
|
-
* @param {SrcResourceModelsReservationsModelReservationBaseModelSortBy} [sortBy] Sort key
|
|
5845
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
7140
|
+
* Tags Update
|
|
7141
|
+
* @summary Tags Update
|
|
7142
|
+
* @param {string} tagId
|
|
7143
|
+
* @param {APITagUpdate} aPITagUpdate
|
|
5846
7144
|
* @param {*} [options] Override http request option.
|
|
5847
7145
|
* @throws {RequiredError}
|
|
5848
7146
|
*/
|
|
5849
|
-
|
|
5850
|
-
|
|
7147
|
+
tagsUpdate: async (tagId, aPITagUpdate, options = {}) => {
|
|
7148
|
+
assertParamExists("tagsUpdate", "tagId", tagId);
|
|
7149
|
+
assertParamExists("tagsUpdate", "aPITagUpdate", aPITagUpdate);
|
|
7150
|
+
const localVarPath = `/v1/tags/{tagId}`.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
5851
7151
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5852
7152
|
let baseOptions;
|
|
5853
7153
|
if (configuration) {
|
|
5854
7154
|
baseOptions = configuration.baseOptions;
|
|
5855
7155
|
}
|
|
5856
|
-
const localVarRequestOptions = { method: "
|
|
7156
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
5857
7157
|
const localVarHeaderParameter = {};
|
|
5858
7158
|
const localVarQueryParameter = {};
|
|
5859
|
-
|
|
5860
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
5861
|
-
}
|
|
5862
|
-
if (contactId !== void 0) {
|
|
5863
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
5864
|
-
}
|
|
5865
|
-
if (cursor !== void 0) {
|
|
5866
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
5867
|
-
}
|
|
5868
|
-
if (limit !== void 0) {
|
|
5869
|
-
localVarQueryParameter["limit"] = limit;
|
|
5870
|
-
}
|
|
5871
|
-
if (pageDir !== void 0) {
|
|
5872
|
-
localVarQueryParameter["pageDir"] = pageDir;
|
|
5873
|
-
}
|
|
5874
|
-
if (sortBy !== void 0) {
|
|
5875
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
5876
|
-
}
|
|
5877
|
-
if (sortOrder !== void 0) {
|
|
5878
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
5879
|
-
}
|
|
7159
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5880
7160
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5881
7161
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5882
7162
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7163
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPITagUpdate, localVarRequestOptions, configuration);
|
|
5883
7164
|
return {
|
|
5884
7165
|
url: toPathString(localVarUrlObj),
|
|
5885
7166
|
options: localVarRequestOptions
|
|
@@ -5973,6 +7254,20 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
5973
7254
|
var UnboundApiFp = function(configuration) {
|
|
5974
7255
|
const localVarAxiosParamCreator = UnboundApiAxiosParamCreator(configuration);
|
|
5975
7256
|
return {
|
|
7257
|
+
/**
|
|
7258
|
+
* Associates a tag with an account. This operation is idempotent.
|
|
7259
|
+
* @summary Add Tag To Account
|
|
7260
|
+
* @param {string} accountId
|
|
7261
|
+
* @param {string} tagId
|
|
7262
|
+
* @param {*} [options] Override http request option.
|
|
7263
|
+
* @throws {RequiredError}
|
|
7264
|
+
*/
|
|
7265
|
+
async accountsAddTag(accountId, tagId, options) {
|
|
7266
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsAddTag(accountId, tagId, options);
|
|
7267
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
7268
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.accountsAddTag"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
7269
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7270
|
+
},
|
|
5976
7271
|
/**
|
|
5977
7272
|
* Accounts List
|
|
5978
7273
|
* @summary Accounts List
|
|
@@ -5981,8 +7276,35 @@ var UnboundApiFp = function(configuration) {
|
|
|
5981
7276
|
*/
|
|
5982
7277
|
async accountsList(options) {
|
|
5983
7278
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
5984
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5985
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7279
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
7280
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.accountsList"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
7281
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7282
|
+
},
|
|
7283
|
+
/**
|
|
7284
|
+
* List all tags associated with an account.
|
|
7285
|
+
* @summary List Account Tags
|
|
7286
|
+
* @param {string} accountId
|
|
7287
|
+
* @param {*} [options] Override http request option.
|
|
7288
|
+
* @throws {RequiredError}
|
|
7289
|
+
*/
|
|
7290
|
+
async accountsListTags(accountId, options) {
|
|
7291
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsListTags(accountId, options);
|
|
7292
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
7293
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.accountsListTags"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
7294
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7295
|
+
},
|
|
7296
|
+
/**
|
|
7297
|
+
* Removes a tag association from an account.
|
|
7298
|
+
* @summary Remove Tag From Account
|
|
7299
|
+
* @param {string} accountId
|
|
7300
|
+
* @param {string} tagId
|
|
7301
|
+
* @param {*} [options] Override http request option.
|
|
7302
|
+
* @throws {RequiredError}
|
|
7303
|
+
*/
|
|
7304
|
+
async accountsRemoveTag(accountId, tagId, options) {
|
|
7305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsRemoveTag(accountId, tagId, options);
|
|
7306
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
7307
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.accountsRemoveTag"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
5986
7308
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5987
7309
|
},
|
|
5988
7310
|
/**
|
|
@@ -5995,8 +7317,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5995
7317
|
*/
|
|
5996
7318
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
5997
7319
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
5998
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5999
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7320
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
7321
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.addressesCreate"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
6000
7322
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6001
7323
|
},
|
|
6002
7324
|
/**
|
|
@@ -6008,8 +7330,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6008
7330
|
*/
|
|
6009
7331
|
async addressesDelete(addressId, options) {
|
|
6010
7332
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
6011
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6012
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7333
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _310 => _310.serverIndex]), () => ( 0));
|
|
7334
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _311 => _311["UnboundApi.addressesDelete"], 'optionalAccess', _312 => _312[localVarOperationServerIndex], 'optionalAccess', _313 => _313.url]);
|
|
6013
7335
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6014
7336
|
},
|
|
6015
7337
|
/**
|
|
@@ -6021,8 +7343,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6021
7343
|
*/
|
|
6022
7344
|
async addressesGet(addressId, options) {
|
|
6023
7345
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
6024
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6025
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7346
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _314 => _314.serverIndex]), () => ( 0));
|
|
7347
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _315 => _315["UnboundApi.addressesGet"], 'optionalAccess', _316 => _316[localVarOperationServerIndex], 'optionalAccess', _317 => _317.url]);
|
|
6026
7348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6027
7349
|
},
|
|
6028
7350
|
/**
|
|
@@ -6035,8 +7357,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6035
7357
|
*/
|
|
6036
7358
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
6037
7359
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
6038
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6039
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7360
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _318 => _318.serverIndex]), () => ( 0));
|
|
7361
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _319 => _319["UnboundApi.addressesUpdate"], 'optionalAccess', _320 => _320[localVarOperationServerIndex], 'optionalAccess', _321 => _321.url]);
|
|
6040
7362
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6041
7363
|
},
|
|
6042
7364
|
/**
|
|
@@ -6048,8 +7370,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6048
7370
|
*/
|
|
6049
7371
|
async aiResponsesCreate(aPIAiResponseCreate, options) {
|
|
6050
7372
|
const localVarAxiosArgs = await localVarAxiosParamCreator.aiResponsesCreate(aPIAiResponseCreate, options);
|
|
6051
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6052
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7373
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _322 => _322.serverIndex]), () => ( 0));
|
|
7374
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _323 => _323["UnboundApi.aiResponsesCreate"], 'optionalAccess', _324 => _324[localVarOperationServerIndex], 'optionalAccess', _325 => _325.url]);
|
|
6053
7375
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6054
7376
|
},
|
|
6055
7377
|
/**
|
|
@@ -6063,8 +7385,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6063
7385
|
*/
|
|
6064
7386
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
6065
7387
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
6066
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6067
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7388
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _326 => _326.serverIndex]), () => ( 0));
|
|
7389
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _327 => _327["UnboundApi.contactsAddListing"], 'optionalAccess', _328 => _328[localVarOperationServerIndex], 'optionalAccess', _329 => _329.url]);
|
|
6068
7390
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6069
7391
|
},
|
|
6070
7392
|
/**
|
|
@@ -6076,8 +7398,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6076
7398
|
*/
|
|
6077
7399
|
async contactsCreate(contactcreate, options) {
|
|
6078
7400
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
6079
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6080
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7401
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _330 => _330.serverIndex]), () => ( 0));
|
|
7402
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _331 => _331["UnboundApi.contactsCreate"], 'optionalAccess', _332 => _332[localVarOperationServerIndex], 'optionalAccess', _333 => _333.url]);
|
|
6081
7403
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6082
7404
|
},
|
|
6083
7405
|
/**
|
|
@@ -6089,8 +7411,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6089
7411
|
*/
|
|
6090
7412
|
async contactsDelete(contactId, options) {
|
|
6091
7413
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
6092
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6093
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7414
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _334 => _334.serverIndex]), () => ( 0));
|
|
7415
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _335 => _335["UnboundApi.contactsDelete"], 'optionalAccess', _336 => _336[localVarOperationServerIndex], 'optionalAccess', _337 => _337.url]);
|
|
6094
7416
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6095
7417
|
},
|
|
6096
7418
|
/**
|
|
@@ -6102,8 +7424,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6102
7424
|
*/
|
|
6103
7425
|
async contactsGet(contactId, options) {
|
|
6104
7426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
6105
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6106
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7427
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _338 => _338.serverIndex]), () => ( 0));
|
|
7428
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _339 => _339["UnboundApi.contactsGet"], 'optionalAccess', _340 => _340[localVarOperationServerIndex], 'optionalAccess', _341 => _341.url]);
|
|
6107
7429
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6108
7430
|
},
|
|
6109
7431
|
/**
|
|
@@ -6120,8 +7442,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6120
7442
|
*/
|
|
6121
7443
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
6122
7444
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
6123
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6124
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7445
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _342 => _342.serverIndex]), () => ( 0));
|
|
7446
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _343 => _343["UnboundApi.contactsList"], 'optionalAccess', _344 => _344[localVarOperationServerIndex], 'optionalAccess', _345 => _345.url]);
|
|
6125
7447
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6126
7448
|
},
|
|
6127
7449
|
/**
|
|
@@ -6135,8 +7457,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6135
7457
|
*/
|
|
6136
7458
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
6137
7459
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
6138
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6139
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7460
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _346 => _346.serverIndex]), () => ( 0));
|
|
7461
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _347 => _347["UnboundApi.contactsRemoveListing"], 'optionalAccess', _348 => _348[localVarOperationServerIndex], 'optionalAccess', _349 => _349.url]);
|
|
6140
7462
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6141
7463
|
},
|
|
6142
7464
|
/**
|
|
@@ -6149,8 +7471,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6149
7471
|
*/
|
|
6150
7472
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
6151
7473
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
6152
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6153
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7474
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _350 => _350.serverIndex]), () => ( 0));
|
|
7475
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _351 => _351["UnboundApi.contactsUpdate"], 'optionalAccess', _352 => _352[localVarOperationServerIndex], 'optionalAccess', _353 => _353.url]);
|
|
6154
7476
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6155
7477
|
},
|
|
6156
7478
|
/**
|
|
@@ -6164,8 +7486,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6164
7486
|
*/
|
|
6165
7487
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
6166
7488
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
6167
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6168
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7489
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _354 => _354.serverIndex]), () => ( 0));
|
|
7490
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _355 => _355["UnboundApi.contactsUpdateListing"], 'optionalAccess', _356 => _356[localVarOperationServerIndex], 'optionalAccess', _357 => _357.url]);
|
|
6169
7491
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6170
7492
|
},
|
|
6171
7493
|
/**
|
|
@@ -6178,8 +7500,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6178
7500
|
*/
|
|
6179
7501
|
async conversationsCreate(inboxId, aPIConversationCreate, options) {
|
|
6180
7502
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(inboxId, aPIConversationCreate, options);
|
|
6181
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6182
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7503
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _358 => _358.serverIndex]), () => ( 0));
|
|
7504
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _359 => _359["UnboundApi.conversationsCreate"], 'optionalAccess', _360 => _360[localVarOperationServerIndex], 'optionalAccess', _361 => _361.url]);
|
|
6183
7505
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6184
7506
|
},
|
|
6185
7507
|
/**
|
|
@@ -6191,8 +7513,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6191
7513
|
*/
|
|
6192
7514
|
async conversationsGet(conversationId, options) {
|
|
6193
7515
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
6194
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6195
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7516
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _362 => _362.serverIndex]), () => ( 0));
|
|
7517
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _363 => _363["UnboundApi.conversationsGet"], 'optionalAccess', _364 => _364[localVarOperationServerIndex], 'optionalAccess', _365 => _365.url]);
|
|
6196
7518
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6197
7519
|
},
|
|
6198
7520
|
/**
|
|
@@ -6211,8 +7533,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6211
7533
|
*/
|
|
6212
7534
|
async conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
6213
7535
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options);
|
|
6214
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6215
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7536
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _366 => _366.serverIndex]), () => ( 0));
|
|
7537
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _367 => _367["UnboundApi.conversationsList"], 'optionalAccess', _368 => _368[localVarOperationServerIndex], 'optionalAccess', _369 => _369.url]);
|
|
6216
7538
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6217
7539
|
},
|
|
6218
7540
|
/**
|
|
@@ -6225,8 +7547,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6225
7547
|
*/
|
|
6226
7548
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
6227
7549
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
6228
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6229
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7550
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _370 => _370.serverIndex]), () => ( 0));
|
|
7551
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _371 => _371["UnboundApi.conversationsUpdate"], 'optionalAccess', _372 => _372[localVarOperationServerIndex], 'optionalAccess', _373 => _373.url]);
|
|
6230
7552
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6231
7553
|
},
|
|
6232
7554
|
/**
|
|
@@ -6239,8 +7561,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6239
7561
|
*/
|
|
6240
7562
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
6241
7563
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
6242
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6243
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7564
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _374 => _374.serverIndex]), () => ( 0));
|
|
7565
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _375 => _375["UnboundApi.emailsCreate"], 'optionalAccess', _376 => _376[localVarOperationServerIndex], 'optionalAccess', _377 => _377.url]);
|
|
6244
7566
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6245
7567
|
},
|
|
6246
7568
|
/**
|
|
@@ -6252,8 +7574,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6252
7574
|
*/
|
|
6253
7575
|
async emailsDelete(emailId, options) {
|
|
6254
7576
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
6255
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6256
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7577
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _378 => _378.serverIndex]), () => ( 0));
|
|
7578
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _379 => _379["UnboundApi.emailsDelete"], 'optionalAccess', _380 => _380[localVarOperationServerIndex], 'optionalAccess', _381 => _381.url]);
|
|
6257
7579
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6258
7580
|
},
|
|
6259
7581
|
/**
|
|
@@ -6265,8 +7587,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6265
7587
|
*/
|
|
6266
7588
|
async emailsGet(emailId, options) {
|
|
6267
7589
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
6268
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6269
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7590
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _382 => _382.serverIndex]), () => ( 0));
|
|
7591
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _383 => _383["UnboundApi.emailsGet"], 'optionalAccess', _384 => _384[localVarOperationServerIndex], 'optionalAccess', _385 => _385.url]);
|
|
6270
7592
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6271
7593
|
},
|
|
6272
7594
|
/**
|
|
@@ -6279,8 +7601,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6279
7601
|
*/
|
|
6280
7602
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
6281
7603
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
6282
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6283
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7604
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _386 => _386.serverIndex]), () => ( 0));
|
|
7605
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _387 => _387["UnboundApi.emailsUpdate"], 'optionalAccess', _388 => _388[localVarOperationServerIndex], 'optionalAccess', _389 => _389.url]);
|
|
6284
7606
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6285
7607
|
},
|
|
6286
7608
|
/**
|
|
@@ -6293,8 +7615,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6293
7615
|
*/
|
|
6294
7616
|
async generateListingContentUploadURL(listingId, uploadURLRequest, options) {
|
|
6295
7617
|
const localVarAxiosArgs = await localVarAxiosParamCreator.generateListingContentUploadURL(listingId, uploadURLRequest, options);
|
|
6296
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6297
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7618
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _390 => _390.serverIndex]), () => ( 0));
|
|
7619
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _391 => _391["UnboundApi.generateListingContentUploadURL"], 'optionalAccess', _392 => _392[localVarOperationServerIndex], 'optionalAccess', _393 => _393.url]);
|
|
6298
7620
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6299
7621
|
},
|
|
6300
7622
|
/**
|
|
@@ -6305,8 +7627,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6305
7627
|
*/
|
|
6306
7628
|
async getMe(options) {
|
|
6307
7629
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMe(options);
|
|
6308
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6309
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7630
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _394 => _394.serverIndex]), () => ( 0));
|
|
7631
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _395 => _395["UnboundApi.getMe"], 'optionalAccess', _396 => _396[localVarOperationServerIndex], 'optionalAccess', _397 => _397.url]);
|
|
6310
7632
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6311
7633
|
},
|
|
6312
7634
|
/**
|
|
@@ -6317,8 +7639,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6317
7639
|
*/
|
|
6318
7640
|
async inboxesList(options) {
|
|
6319
7641
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
6320
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6321
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7642
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _398 => _398.serverIndex]), () => ( 0));
|
|
7643
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _399 => _399["UnboundApi.inboxesList"], 'optionalAccess', _400 => _400[localVarOperationServerIndex], 'optionalAccess', _401 => _401.url]);
|
|
6322
7644
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6323
7645
|
},
|
|
6324
7646
|
/**
|
|
@@ -6330,8 +7652,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6330
7652
|
*/
|
|
6331
7653
|
async inquiriesList(contactId, options) {
|
|
6332
7654
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
6333
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6334
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7655
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _402 => _402.serverIndex]), () => ( 0));
|
|
7656
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _403 => _403["UnboundApi.inquiriesList"], 'optionalAccess', _404 => _404[localVarOperationServerIndex], 'optionalAccess', _405 => _405.url]);
|
|
6335
7657
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6336
7658
|
},
|
|
6337
7659
|
/**
|
|
@@ -6344,8 +7666,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6344
7666
|
*/
|
|
6345
7667
|
async listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
6346
7668
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentCreate(listingId, aPIListingContentCreate, options);
|
|
6347
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6348
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7669
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _406 => _406.serverIndex]), () => ( 0));
|
|
7670
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _407 => _407["UnboundApi.listingContentCreate"], 'optionalAccess', _408 => _408[localVarOperationServerIndex], 'optionalAccess', _409 => _409.url]);
|
|
6349
7671
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6350
7672
|
},
|
|
6351
7673
|
/**
|
|
@@ -6357,8 +7679,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6357
7679
|
*/
|
|
6358
7680
|
async listingContentDelete(listingContentId, options) {
|
|
6359
7681
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentDelete(listingContentId, options);
|
|
6360
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6361
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7682
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _410 => _410.serverIndex]), () => ( 0));
|
|
7683
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _411 => _411["UnboundApi.listingContentDelete"], 'optionalAccess', _412 => _412[localVarOperationServerIndex], 'optionalAccess', _413 => _413.url]);
|
|
6362
7684
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6363
7685
|
},
|
|
6364
7686
|
/**
|
|
@@ -6370,8 +7692,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6370
7692
|
*/
|
|
6371
7693
|
async listingContentGet(listingContentId, options) {
|
|
6372
7694
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentGet(listingContentId, options);
|
|
6373
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6374
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7695
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _414 => _414.serverIndex]), () => ( 0));
|
|
7696
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _415 => _415["UnboundApi.listingContentGet"], 'optionalAccess', _416 => _416[localVarOperationServerIndex], 'optionalAccess', _417 => _417.url]);
|
|
6375
7697
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6376
7698
|
},
|
|
6377
7699
|
/**
|
|
@@ -6384,8 +7706,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6384
7706
|
*/
|
|
6385
7707
|
async listingContentList(listingId, status, options) {
|
|
6386
7708
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentList(listingId, status, options);
|
|
6387
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6388
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7709
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _418 => _418.serverIndex]), () => ( 0));
|
|
7710
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _419 => _419["UnboundApi.listingContentList"], 'optionalAccess', _420 => _420[localVarOperationServerIndex], 'optionalAccess', _421 => _421.url]);
|
|
6389
7711
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6390
7712
|
},
|
|
6391
7713
|
/**
|
|
@@ -6398,8 +7720,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6398
7720
|
*/
|
|
6399
7721
|
async listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
6400
7722
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentUpdate(listingContentId, aPIListingContentUpdate, options);
|
|
6401
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6402
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7723
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _422 => _422.serverIndex]), () => ( 0));
|
|
7724
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _423 => _423["UnboundApi.listingContentUpdate"], 'optionalAccess', _424 => _424[localVarOperationServerIndex], 'optionalAccess', _425 => _425.url]);
|
|
6403
7725
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6404
7726
|
},
|
|
6405
7727
|
/**
|
|
@@ -6411,8 +7733,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6411
7733
|
*/
|
|
6412
7734
|
async listingContentVersionsGet(listingContentVersionId, options) {
|
|
6413
7735
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsGet(listingContentVersionId, options);
|
|
6414
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6415
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7736
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _426 => _426.serverIndex]), () => ( 0));
|
|
7737
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _427 => _427["UnboundApi.listingContentVersionsGet"], 'optionalAccess', _428 => _428[localVarOperationServerIndex], 'optionalAccess', _429 => _429.url]);
|
|
6416
7738
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6417
7739
|
},
|
|
6418
7740
|
/**
|
|
@@ -6422,10 +7744,24 @@ var UnboundApiFp = function(configuration) {
|
|
|
6422
7744
|
* @param {*} [options] Override http request option.
|
|
6423
7745
|
* @throws {RequiredError}
|
|
6424
7746
|
*/
|
|
6425
|
-
async listingContentVersionsList(listingContentId, options) {
|
|
6426
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsList(listingContentId, options);
|
|
6427
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6428
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7747
|
+
async listingContentVersionsList(listingContentId, options) {
|
|
7748
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsList(listingContentId, options);
|
|
7749
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _430 => _430.serverIndex]), () => ( 0));
|
|
7750
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _431 => _431["UnboundApi.listingContentVersionsList"], 'optionalAccess', _432 => _432[localVarOperationServerIndex], 'optionalAccess', _433 => _433.url]);
|
|
7751
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7752
|
+
},
|
|
7753
|
+
/**
|
|
7754
|
+
* Associates a tag with a listing. This operation is idempotent.
|
|
7755
|
+
* @summary Add Tag To Listing
|
|
7756
|
+
* @param {string} listingId
|
|
7757
|
+
* @param {string} tagId
|
|
7758
|
+
* @param {*} [options] Override http request option.
|
|
7759
|
+
* @throws {RequiredError}
|
|
7760
|
+
*/
|
|
7761
|
+
async listingsAddTag(listingId, tagId, options) {
|
|
7762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsAddTag(listingId, tagId, options);
|
|
7763
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _434 => _434.serverIndex]), () => ( 0));
|
|
7764
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _435 => _435["UnboundApi.listingsAddTag"], 'optionalAccess', _436 => _436[localVarOperationServerIndex], 'optionalAccess', _437 => _437.url]);
|
|
6429
7765
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6430
7766
|
},
|
|
6431
7767
|
/**
|
|
@@ -6437,8 +7773,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6437
7773
|
*/
|
|
6438
7774
|
async listingsGet(listingId, options) {
|
|
6439
7775
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
6440
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6441
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7776
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _438 => _438.serverIndex]), () => ( 0));
|
|
7777
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _439 => _439["UnboundApi.listingsGet"], 'optionalAccess', _440 => _440[localVarOperationServerIndex], 'optionalAccess', _441 => _441.url]);
|
|
6442
7778
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6443
7779
|
},
|
|
6444
7780
|
/**
|
|
@@ -6456,8 +7792,35 @@ var UnboundApiFp = function(configuration) {
|
|
|
6456
7792
|
*/
|
|
6457
7793
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
6458
7794
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
6459
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6460
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7795
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _442 => _442.serverIndex]), () => ( 0));
|
|
7796
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _443 => _443["UnboundApi.listingsList"], 'optionalAccess', _444 => _444[localVarOperationServerIndex], 'optionalAccess', _445 => _445.url]);
|
|
7797
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7798
|
+
},
|
|
7799
|
+
/**
|
|
7800
|
+
* List all tags associated with a listing.
|
|
7801
|
+
* @summary List Listing Tags
|
|
7802
|
+
* @param {string} listingId
|
|
7803
|
+
* @param {*} [options] Override http request option.
|
|
7804
|
+
* @throws {RequiredError}
|
|
7805
|
+
*/
|
|
7806
|
+
async listingsListTags(listingId, options) {
|
|
7807
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsListTags(listingId, options);
|
|
7808
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _446 => _446.serverIndex]), () => ( 0));
|
|
7809
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _447 => _447["UnboundApi.listingsListTags"], 'optionalAccess', _448 => _448[localVarOperationServerIndex], 'optionalAccess', _449 => _449.url]);
|
|
7810
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7811
|
+
},
|
|
7812
|
+
/**
|
|
7813
|
+
* Removes a tag association from a listing.
|
|
7814
|
+
* @summary Remove Tag From Listing
|
|
7815
|
+
* @param {string} listingId
|
|
7816
|
+
* @param {string} tagId
|
|
7817
|
+
* @param {*} [options] Override http request option.
|
|
7818
|
+
* @throws {RequiredError}
|
|
7819
|
+
*/
|
|
7820
|
+
async listingsRemoveTag(listingId, tagId, options) {
|
|
7821
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsRemoveTag(listingId, tagId, options);
|
|
7822
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _450 => _450.serverIndex]), () => ( 0));
|
|
7823
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _451 => _451["UnboundApi.listingsRemoveTag"], 'optionalAccess', _452 => _452[localVarOperationServerIndex], 'optionalAccess', _453 => _453.url]);
|
|
6461
7824
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6462
7825
|
},
|
|
6463
7826
|
/**
|
|
@@ -6468,8 +7831,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6468
7831
|
*/
|
|
6469
7832
|
async managedPhoneNumbersList(options) {
|
|
6470
7833
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
6471
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6472
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7834
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _454 => _454.serverIndex]), () => ( 0));
|
|
7835
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _455 => _455["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _456 => _456[localVarOperationServerIndex], 'optionalAccess', _457 => _457.url]);
|
|
6473
7836
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6474
7837
|
},
|
|
6475
7838
|
/**
|
|
@@ -6482,8 +7845,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6482
7845
|
*/
|
|
6483
7846
|
async messagesCreate(conversationId, messagecreate, options) {
|
|
6484
7847
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
6485
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6486
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7848
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _458 => _458.serverIndex]), () => ( 0));
|
|
7849
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _459 => _459["UnboundApi.messagesCreate"], 'optionalAccess', _460 => _460[localVarOperationServerIndex], 'optionalAccess', _461 => _461.url]);
|
|
6487
7850
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6488
7851
|
},
|
|
6489
7852
|
/**
|
|
@@ -6495,8 +7858,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6495
7858
|
*/
|
|
6496
7859
|
async messagesGet(messageId, options) {
|
|
6497
7860
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
6498
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6499
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7861
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _462 => _462.serverIndex]), () => ( 0));
|
|
7862
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _463 => _463["UnboundApi.messagesGet"], 'optionalAccess', _464 => _464[localVarOperationServerIndex], 'optionalAccess', _465 => _465.url]);
|
|
6500
7863
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6501
7864
|
},
|
|
6502
7865
|
/**
|
|
@@ -6518,8 +7881,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6518
7881
|
*/
|
|
6519
7882
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
6520
7883
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
6521
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6522
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7884
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _466 => _466.serverIndex]), () => ( 0));
|
|
7885
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _467 => _467["UnboundApi.messagesList"], 'optionalAccess', _468 => _468[localVarOperationServerIndex], 'optionalAccess', _469 => _469.url]);
|
|
6523
7886
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6524
7887
|
},
|
|
6525
7888
|
/**
|
|
@@ -6532,8 +7895,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6532
7895
|
*/
|
|
6533
7896
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
6534
7897
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
6535
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6536
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7898
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _470 => _470.serverIndex]), () => ( 0));
|
|
7899
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _471 => _471["UnboundApi.phonesCreate"], 'optionalAccess', _472 => _472[localVarOperationServerIndex], 'optionalAccess', _473 => _473.url]);
|
|
6537
7900
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6538
7901
|
},
|
|
6539
7902
|
/**
|
|
@@ -6545,8 +7908,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6545
7908
|
*/
|
|
6546
7909
|
async phonesDelete(phoneId, options) {
|
|
6547
7910
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
6548
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6549
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7911
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _474 => _474.serverIndex]), () => ( 0));
|
|
7912
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _475 => _475["UnboundApi.phonesDelete"], 'optionalAccess', _476 => _476[localVarOperationServerIndex], 'optionalAccess', _477 => _477.url]);
|
|
6550
7913
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6551
7914
|
},
|
|
6552
7915
|
/**
|
|
@@ -6558,8 +7921,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6558
7921
|
*/
|
|
6559
7922
|
async phonesGet(phoneId, options) {
|
|
6560
7923
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
6561
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6562
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7924
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _478 => _478.serverIndex]), () => ( 0));
|
|
7925
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _479 => _479["UnboundApi.phonesGet"], 'optionalAccess', _480 => _480[localVarOperationServerIndex], 'optionalAccess', _481 => _481.url]);
|
|
6563
7926
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6564
7927
|
},
|
|
6565
7928
|
/**
|
|
@@ -6572,8 +7935,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6572
7935
|
*/
|
|
6573
7936
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
6574
7937
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
6575
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6576
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7938
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _482 => _482.serverIndex]), () => ( 0));
|
|
7939
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _483 => _483["UnboundApi.phonesUpdate"], 'optionalAccess', _484 => _484[localVarOperationServerIndex], 'optionalAccess', _485 => _485.url]);
|
|
6577
7940
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6578
7941
|
},
|
|
6579
7942
|
/**
|
|
@@ -6585,8 +7948,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6585
7948
|
*/
|
|
6586
7949
|
async providersCreate(aPIProviderCreate, options) {
|
|
6587
7950
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
6588
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6589
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7951
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _486 => _486.serverIndex]), () => ( 0));
|
|
7952
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _487 => _487["UnboundApi.providersCreate"], 'optionalAccess', _488 => _488[localVarOperationServerIndex], 'optionalAccess', _489 => _489.url]);
|
|
6590
7953
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6591
7954
|
},
|
|
6592
7955
|
/**
|
|
@@ -6598,8 +7961,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6598
7961
|
*/
|
|
6599
7962
|
async providersGet(providerId, options) {
|
|
6600
7963
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
6601
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6602
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7964
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _490 => _490.serverIndex]), () => ( 0));
|
|
7965
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _491 => _491["UnboundApi.providersGet"], 'optionalAccess', _492 => _492[localVarOperationServerIndex], 'optionalAccess', _493 => _493.url]);
|
|
6603
7966
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6604
7967
|
},
|
|
6605
7968
|
/**
|
|
@@ -6610,8 +7973,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6610
7973
|
*/
|
|
6611
7974
|
async providersList(options) {
|
|
6612
7975
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
6613
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6614
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7976
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _494 => _494.serverIndex]), () => ( 0));
|
|
7977
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _495 => _495["UnboundApi.providersList"], 'optionalAccess', _496 => _496[localVarOperationServerIndex], 'optionalAccess', _497 => _497.url]);
|
|
6615
7978
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6616
7979
|
},
|
|
6617
7980
|
/**
|
|
@@ -6624,8 +7987,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6624
7987
|
*/
|
|
6625
7988
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
6626
7989
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
6627
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6628
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7990
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _498 => _498.serverIndex]), () => ( 0));
|
|
7991
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _499 => _499["UnboundApi.providersUpdate"], 'optionalAccess', _500 => _500[localVarOperationServerIndex], 'optionalAccess', _501 => _501.url]);
|
|
6629
7992
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6630
7993
|
},
|
|
6631
7994
|
/**
|
|
@@ -6637,8 +8000,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6637
8000
|
*/
|
|
6638
8001
|
async reservationsGet(reservationId, options) {
|
|
6639
8002
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
6640
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6641
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
8003
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _502 => _502.serverIndex]), () => ( 0));
|
|
8004
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _503 => _503["UnboundApi.reservationsGet"], 'optionalAccess', _504 => _504[localVarOperationServerIndex], 'optionalAccess', _505 => _505.url]);
|
|
6642
8005
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6643
8006
|
},
|
|
6644
8007
|
/**
|
|
@@ -6656,8 +8019,115 @@ var UnboundApiFp = function(configuration) {
|
|
|
6656
8019
|
*/
|
|
6657
8020
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
6658
8021
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
6659
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6660
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
8022
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _506 => _506.serverIndex]), () => ( 0));
|
|
8023
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _507 => _507["UnboundApi.reservationsList"], 'optionalAccess', _508 => _508[localVarOperationServerIndex], 'optionalAccess', _509 => _509.url]);
|
|
8024
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8025
|
+
},
|
|
8026
|
+
/**
|
|
8027
|
+
* Associates a child tag with a parent tag. This operation is idempotent.
|
|
8028
|
+
* @summary Add Child Tag
|
|
8029
|
+
* @param {string} parentTagId
|
|
8030
|
+
* @param {string} childTagId
|
|
8031
|
+
* @param {*} [options] Override http request option.
|
|
8032
|
+
* @throws {RequiredError}
|
|
8033
|
+
*/
|
|
8034
|
+
async tagsAddChildTag(parentTagId, childTagId, options) {
|
|
8035
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsAddChildTag(parentTagId, childTagId, options);
|
|
8036
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _510 => _510.serverIndex]), () => ( 0));
|
|
8037
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _511 => _511["UnboundApi.tagsAddChildTag"], 'optionalAccess', _512 => _512[localVarOperationServerIndex], 'optionalAccess', _513 => _513.url]);
|
|
8038
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8039
|
+
},
|
|
8040
|
+
/**
|
|
8041
|
+
* Tags Create
|
|
8042
|
+
* @summary Tags Create
|
|
8043
|
+
* @param {APITagCreate} aPITagCreate
|
|
8044
|
+
* @param {*} [options] Override http request option.
|
|
8045
|
+
* @throws {RequiredError}
|
|
8046
|
+
*/
|
|
8047
|
+
async tagsCreate(aPITagCreate, options) {
|
|
8048
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsCreate(aPITagCreate, options);
|
|
8049
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _514 => _514.serverIndex]), () => ( 0));
|
|
8050
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _515 => _515["UnboundApi.tagsCreate"], 'optionalAccess', _516 => _516[localVarOperationServerIndex], 'optionalAccess', _517 => _517.url]);
|
|
8051
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8052
|
+
},
|
|
8053
|
+
/**
|
|
8054
|
+
* Tags Delete
|
|
8055
|
+
* @summary Tags Delete
|
|
8056
|
+
* @param {string} tagId
|
|
8057
|
+
* @param {*} [options] Override http request option.
|
|
8058
|
+
* @throws {RequiredError}
|
|
8059
|
+
*/
|
|
8060
|
+
async tagsDelete(tagId, options) {
|
|
8061
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsDelete(tagId, options);
|
|
8062
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _518 => _518.serverIndex]), () => ( 0));
|
|
8063
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _519 => _519["UnboundApi.tagsDelete"], 'optionalAccess', _520 => _520[localVarOperationServerIndex], 'optionalAccess', _521 => _521.url]);
|
|
8064
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8065
|
+
},
|
|
8066
|
+
/**
|
|
8067
|
+
* Tags Get
|
|
8068
|
+
* @summary Tags Get
|
|
8069
|
+
* @param {string} tagId
|
|
8070
|
+
* @param {*} [options] Override http request option.
|
|
8071
|
+
* @throws {RequiredError}
|
|
8072
|
+
*/
|
|
8073
|
+
async tagsGet(tagId, options) {
|
|
8074
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsGet(tagId, options);
|
|
8075
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _522 => _522.serverIndex]), () => ( 0));
|
|
8076
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _523 => _523["UnboundApi.tagsGet"], 'optionalAccess', _524 => _524[localVarOperationServerIndex], 'optionalAccess', _525 => _525.url]);
|
|
8077
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8078
|
+
},
|
|
8079
|
+
/**
|
|
8080
|
+
* Tags List
|
|
8081
|
+
* @summary Tags List
|
|
8082
|
+
* @param {string | null} [searchString] Search by tag name
|
|
8083
|
+
* @param {*} [options] Override http request option.
|
|
8084
|
+
* @throws {RequiredError}
|
|
8085
|
+
*/
|
|
8086
|
+
async tagsList(searchString, options) {
|
|
8087
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsList(searchString, options);
|
|
8088
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _526 => _526.serverIndex]), () => ( 0));
|
|
8089
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _527 => _527["UnboundApi.tagsList"], 'optionalAccess', _528 => _528[localVarOperationServerIndex], 'optionalAccess', _529 => _529.url]);
|
|
8090
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8091
|
+
},
|
|
8092
|
+
/**
|
|
8093
|
+
* List all child tags associated with a parent tag.
|
|
8094
|
+
* @summary List Child Tags
|
|
8095
|
+
* @param {string} parentTagId
|
|
8096
|
+
* @param {*} [options] Override http request option.
|
|
8097
|
+
* @throws {RequiredError}
|
|
8098
|
+
*/
|
|
8099
|
+
async tagsListChildTags(parentTagId, options) {
|
|
8100
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsListChildTags(parentTagId, options);
|
|
8101
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _530 => _530.serverIndex]), () => ( 0));
|
|
8102
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _531 => _531["UnboundApi.tagsListChildTags"], 'optionalAccess', _532 => _532[localVarOperationServerIndex], 'optionalAccess', _533 => _533.url]);
|
|
8103
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8104
|
+
},
|
|
8105
|
+
/**
|
|
8106
|
+
* Removes a child tag association from a parent tag.
|
|
8107
|
+
* @summary Remove Child Tag
|
|
8108
|
+
* @param {string} parentTagId
|
|
8109
|
+
* @param {string} childTagId
|
|
8110
|
+
* @param {*} [options] Override http request option.
|
|
8111
|
+
* @throws {RequiredError}
|
|
8112
|
+
*/
|
|
8113
|
+
async tagsRemoveChildTag(parentTagId, childTagId, options) {
|
|
8114
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsRemoveChildTag(parentTagId, childTagId, options);
|
|
8115
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _534 => _534.serverIndex]), () => ( 0));
|
|
8116
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _535 => _535["UnboundApi.tagsRemoveChildTag"], 'optionalAccess', _536 => _536[localVarOperationServerIndex], 'optionalAccess', _537 => _537.url]);
|
|
8117
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8118
|
+
},
|
|
8119
|
+
/**
|
|
8120
|
+
* Tags Update
|
|
8121
|
+
* @summary Tags Update
|
|
8122
|
+
* @param {string} tagId
|
|
8123
|
+
* @param {APITagUpdate} aPITagUpdate
|
|
8124
|
+
* @param {*} [options] Override http request option.
|
|
8125
|
+
* @throws {RequiredError}
|
|
8126
|
+
*/
|
|
8127
|
+
async tagsUpdate(tagId, aPITagUpdate, options) {
|
|
8128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsUpdate(tagId, aPITagUpdate, options);
|
|
8129
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _538 => _538.serverIndex]), () => ( 0));
|
|
8130
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _539 => _539["UnboundApi.tagsUpdate"], 'optionalAccess', _540 => _540[localVarOperationServerIndex], 'optionalAccess', _541 => _541.url]);
|
|
6661
8131
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6662
8132
|
},
|
|
6663
8133
|
/**
|
|
@@ -6669,8 +8139,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6669
8139
|
*/
|
|
6670
8140
|
async userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6671
8141
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesCreate(aPIUserDeviceCreate, options);
|
|
6672
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6673
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
8142
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _542 => _542.serverIndex]), () => ( 0));
|
|
8143
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _543 => _543["UnboundApi.userDevicesCreate"], 'optionalAccess', _544 => _544[localVarOperationServerIndex], 'optionalAccess', _545 => _545.url]);
|
|
6674
8144
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6675
8145
|
},
|
|
6676
8146
|
/**
|
|
@@ -6682,8 +8152,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6682
8152
|
*/
|
|
6683
8153
|
async userDevicesDelete(userDeviceId, options) {
|
|
6684
8154
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesDelete(userDeviceId, options);
|
|
6685
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6686
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
8155
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _546 => _546.serverIndex]), () => ( 0));
|
|
8156
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _547 => _547["UnboundApi.userDevicesDelete"], 'optionalAccess', _548 => _548[localVarOperationServerIndex], 'optionalAccess', _549 => _549.url]);
|
|
6687
8157
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6688
8158
|
},
|
|
6689
8159
|
/**
|
|
@@ -6695,8 +8165,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
6695
8165
|
*/
|
|
6696
8166
|
async webhook(body, options) {
|
|
6697
8167
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(body, options);
|
|
6698
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6699
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
8168
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _550 => _550.serverIndex]), () => ( 0));
|
|
8169
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _551 => _551["UnboundApi.webhook"], 'optionalAccess', _552 => _552[localVarOperationServerIndex], 'optionalAccess', _553 => _553.url]);
|
|
6700
8170
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6701
8171
|
}
|
|
6702
8172
|
};
|
|
@@ -6704,6 +8174,17 @@ var UnboundApiFp = function(configuration) {
|
|
|
6704
8174
|
var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
6705
8175
|
const localVarFp = UnboundApiFp(configuration);
|
|
6706
8176
|
return {
|
|
8177
|
+
/**
|
|
8178
|
+
* Associates a tag with an account. This operation is idempotent.
|
|
8179
|
+
* @summary Add Tag To Account
|
|
8180
|
+
* @param {string} accountId
|
|
8181
|
+
* @param {string} tagId
|
|
8182
|
+
* @param {*} [options] Override http request option.
|
|
8183
|
+
* @throws {RequiredError}
|
|
8184
|
+
*/
|
|
8185
|
+
accountsAddTag(accountId, tagId, options) {
|
|
8186
|
+
return localVarFp.accountsAddTag(accountId, tagId, options).then((request) => request(axios, basePath));
|
|
8187
|
+
},
|
|
6707
8188
|
/**
|
|
6708
8189
|
* Accounts List
|
|
6709
8190
|
* @summary Accounts List
|
|
@@ -6713,6 +8194,27 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
6713
8194
|
accountsList(options) {
|
|
6714
8195
|
return localVarFp.accountsList(options).then((request) => request(axios, basePath));
|
|
6715
8196
|
},
|
|
8197
|
+
/**
|
|
8198
|
+
* List all tags associated with an account.
|
|
8199
|
+
* @summary List Account Tags
|
|
8200
|
+
* @param {string} accountId
|
|
8201
|
+
* @param {*} [options] Override http request option.
|
|
8202
|
+
* @throws {RequiredError}
|
|
8203
|
+
*/
|
|
8204
|
+
accountsListTags(accountId, options) {
|
|
8205
|
+
return localVarFp.accountsListTags(accountId, options).then((request) => request(axios, basePath));
|
|
8206
|
+
},
|
|
8207
|
+
/**
|
|
8208
|
+
* Removes a tag association from an account.
|
|
8209
|
+
* @summary Remove Tag From Account
|
|
8210
|
+
* @param {string} accountId
|
|
8211
|
+
* @param {string} tagId
|
|
8212
|
+
* @param {*} [options] Override http request option.
|
|
8213
|
+
* @throws {RequiredError}
|
|
8214
|
+
*/
|
|
8215
|
+
accountsRemoveTag(accountId, tagId, options) {
|
|
8216
|
+
return localVarFp.accountsRemoveTag(accountId, tagId, options).then((request) => request(axios, basePath));
|
|
8217
|
+
},
|
|
6716
8218
|
/**
|
|
6717
8219
|
* Addresses Create
|
|
6718
8220
|
* @summary Addresses Create
|
|
@@ -7060,6 +8562,17 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
7060
8562
|
listingContentVersionsList(listingContentId, options) {
|
|
7061
8563
|
return localVarFp.listingContentVersionsList(listingContentId, options).then((request) => request(axios, basePath));
|
|
7062
8564
|
},
|
|
8565
|
+
/**
|
|
8566
|
+
* Associates a tag with a listing. This operation is idempotent.
|
|
8567
|
+
* @summary Add Tag To Listing
|
|
8568
|
+
* @param {string} listingId
|
|
8569
|
+
* @param {string} tagId
|
|
8570
|
+
* @param {*} [options] Override http request option.
|
|
8571
|
+
* @throws {RequiredError}
|
|
8572
|
+
*/
|
|
8573
|
+
listingsAddTag(listingId, tagId, options) {
|
|
8574
|
+
return localVarFp.listingsAddTag(listingId, tagId, options).then((request) => request(axios, basePath));
|
|
8575
|
+
},
|
|
7063
8576
|
/**
|
|
7064
8577
|
* Listings Get
|
|
7065
8578
|
* @summary Listings Get
|
|
@@ -7086,6 +8599,27 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
7086
8599
|
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
7087
8600
|
return localVarFp.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
7088
8601
|
},
|
|
8602
|
+
/**
|
|
8603
|
+
* List all tags associated with a listing.
|
|
8604
|
+
* @summary List Listing Tags
|
|
8605
|
+
* @param {string} listingId
|
|
8606
|
+
* @param {*} [options] Override http request option.
|
|
8607
|
+
* @throws {RequiredError}
|
|
8608
|
+
*/
|
|
8609
|
+
listingsListTags(listingId, options) {
|
|
8610
|
+
return localVarFp.listingsListTags(listingId, options).then((request) => request(axios, basePath));
|
|
8611
|
+
},
|
|
8612
|
+
/**
|
|
8613
|
+
* Removes a tag association from a listing.
|
|
8614
|
+
* @summary Remove Tag From Listing
|
|
8615
|
+
* @param {string} listingId
|
|
8616
|
+
* @param {string} tagId
|
|
8617
|
+
* @param {*} [options] Override http request option.
|
|
8618
|
+
* @throws {RequiredError}
|
|
8619
|
+
*/
|
|
8620
|
+
listingsRemoveTag(listingId, tagId, options) {
|
|
8621
|
+
return localVarFp.listingsRemoveTag(listingId, tagId, options).then((request) => request(axios, basePath));
|
|
8622
|
+
},
|
|
7089
8623
|
/**
|
|
7090
8624
|
* ManagedPhoneNumbers List
|
|
7091
8625
|
* @summary ManagedPhoneNumbers List
|
|
@@ -7244,6 +8778,89 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
7244
8778
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
7245
8779
|
return localVarFp.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
7246
8780
|
},
|
|
8781
|
+
/**
|
|
8782
|
+
* Associates a child tag with a parent tag. This operation is idempotent.
|
|
8783
|
+
* @summary Add Child Tag
|
|
8784
|
+
* @param {string} parentTagId
|
|
8785
|
+
* @param {string} childTagId
|
|
8786
|
+
* @param {*} [options] Override http request option.
|
|
8787
|
+
* @throws {RequiredError}
|
|
8788
|
+
*/
|
|
8789
|
+
tagsAddChildTag(parentTagId, childTagId, options) {
|
|
8790
|
+
return localVarFp.tagsAddChildTag(parentTagId, childTagId, options).then((request) => request(axios, basePath));
|
|
8791
|
+
},
|
|
8792
|
+
/**
|
|
8793
|
+
* Tags Create
|
|
8794
|
+
* @summary Tags Create
|
|
8795
|
+
* @param {APITagCreate} aPITagCreate
|
|
8796
|
+
* @param {*} [options] Override http request option.
|
|
8797
|
+
* @throws {RequiredError}
|
|
8798
|
+
*/
|
|
8799
|
+
tagsCreate(aPITagCreate, options) {
|
|
8800
|
+
return localVarFp.tagsCreate(aPITagCreate, options).then((request) => request(axios, basePath));
|
|
8801
|
+
},
|
|
8802
|
+
/**
|
|
8803
|
+
* Tags Delete
|
|
8804
|
+
* @summary Tags Delete
|
|
8805
|
+
* @param {string} tagId
|
|
8806
|
+
* @param {*} [options] Override http request option.
|
|
8807
|
+
* @throws {RequiredError}
|
|
8808
|
+
*/
|
|
8809
|
+
tagsDelete(tagId, options) {
|
|
8810
|
+
return localVarFp.tagsDelete(tagId, options).then((request) => request(axios, basePath));
|
|
8811
|
+
},
|
|
8812
|
+
/**
|
|
8813
|
+
* Tags Get
|
|
8814
|
+
* @summary Tags Get
|
|
8815
|
+
* @param {string} tagId
|
|
8816
|
+
* @param {*} [options] Override http request option.
|
|
8817
|
+
* @throws {RequiredError}
|
|
8818
|
+
*/
|
|
8819
|
+
tagsGet(tagId, options) {
|
|
8820
|
+
return localVarFp.tagsGet(tagId, options).then((request) => request(axios, basePath));
|
|
8821
|
+
},
|
|
8822
|
+
/**
|
|
8823
|
+
* Tags List
|
|
8824
|
+
* @summary Tags List
|
|
8825
|
+
* @param {string | null} [searchString] Search by tag name
|
|
8826
|
+
* @param {*} [options] Override http request option.
|
|
8827
|
+
* @throws {RequiredError}
|
|
8828
|
+
*/
|
|
8829
|
+
tagsList(searchString, options) {
|
|
8830
|
+
return localVarFp.tagsList(searchString, options).then((request) => request(axios, basePath));
|
|
8831
|
+
},
|
|
8832
|
+
/**
|
|
8833
|
+
* List all child tags associated with a parent tag.
|
|
8834
|
+
* @summary List Child Tags
|
|
8835
|
+
* @param {string} parentTagId
|
|
8836
|
+
* @param {*} [options] Override http request option.
|
|
8837
|
+
* @throws {RequiredError}
|
|
8838
|
+
*/
|
|
8839
|
+
tagsListChildTags(parentTagId, options) {
|
|
8840
|
+
return localVarFp.tagsListChildTags(parentTagId, options).then((request) => request(axios, basePath));
|
|
8841
|
+
},
|
|
8842
|
+
/**
|
|
8843
|
+
* Removes a child tag association from a parent tag.
|
|
8844
|
+
* @summary Remove Child Tag
|
|
8845
|
+
* @param {string} parentTagId
|
|
8846
|
+
* @param {string} childTagId
|
|
8847
|
+
* @param {*} [options] Override http request option.
|
|
8848
|
+
* @throws {RequiredError}
|
|
8849
|
+
*/
|
|
8850
|
+
tagsRemoveChildTag(parentTagId, childTagId, options) {
|
|
8851
|
+
return localVarFp.tagsRemoveChildTag(parentTagId, childTagId, options).then((request) => request(axios, basePath));
|
|
8852
|
+
},
|
|
8853
|
+
/**
|
|
8854
|
+
* Tags Update
|
|
8855
|
+
* @summary Tags Update
|
|
8856
|
+
* @param {string} tagId
|
|
8857
|
+
* @param {APITagUpdate} aPITagUpdate
|
|
8858
|
+
* @param {*} [options] Override http request option.
|
|
8859
|
+
* @throws {RequiredError}
|
|
8860
|
+
*/
|
|
8861
|
+
tagsUpdate(tagId, aPITagUpdate, options) {
|
|
8862
|
+
return localVarFp.tagsUpdate(tagId, aPITagUpdate, options).then((request) => request(axios, basePath));
|
|
8863
|
+
},
|
|
7247
8864
|
/**
|
|
7248
8865
|
* UserDevices Create
|
|
7249
8866
|
* @summary UserDevices Create
|
|
@@ -7277,6 +8894,18 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
7277
8894
|
};
|
|
7278
8895
|
};
|
|
7279
8896
|
var UnboundApi = class extends BaseAPI {
|
|
8897
|
+
/**
|
|
8898
|
+
* Associates a tag with an account. This operation is idempotent.
|
|
8899
|
+
* @summary Add Tag To Account
|
|
8900
|
+
* @param {string} accountId
|
|
8901
|
+
* @param {string} tagId
|
|
8902
|
+
* @param {*} [options] Override http request option.
|
|
8903
|
+
* @throws {RequiredError}
|
|
8904
|
+
* @memberof UnboundApi
|
|
8905
|
+
*/
|
|
8906
|
+
accountsAddTag(accountId, tagId, options) {
|
|
8907
|
+
return UnboundApiFp(this.configuration).accountsAddTag(accountId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
8908
|
+
}
|
|
7280
8909
|
/**
|
|
7281
8910
|
* Accounts List
|
|
7282
8911
|
* @summary Accounts List
|
|
@@ -7287,6 +8916,29 @@ var UnboundApi = class extends BaseAPI {
|
|
|
7287
8916
|
accountsList(options) {
|
|
7288
8917
|
return UnboundApiFp(this.configuration).accountsList(options).then((request) => request(this.axios, this.basePath));
|
|
7289
8918
|
}
|
|
8919
|
+
/**
|
|
8920
|
+
* List all tags associated with an account.
|
|
8921
|
+
* @summary List Account Tags
|
|
8922
|
+
* @param {string} accountId
|
|
8923
|
+
* @param {*} [options] Override http request option.
|
|
8924
|
+
* @throws {RequiredError}
|
|
8925
|
+
* @memberof UnboundApi
|
|
8926
|
+
*/
|
|
8927
|
+
accountsListTags(accountId, options) {
|
|
8928
|
+
return UnboundApiFp(this.configuration).accountsListTags(accountId, options).then((request) => request(this.axios, this.basePath));
|
|
8929
|
+
}
|
|
8930
|
+
/**
|
|
8931
|
+
* Removes a tag association from an account.
|
|
8932
|
+
* @summary Remove Tag From Account
|
|
8933
|
+
* @param {string} accountId
|
|
8934
|
+
* @param {string} tagId
|
|
8935
|
+
* @param {*} [options] Override http request option.
|
|
8936
|
+
* @throws {RequiredError}
|
|
8937
|
+
* @memberof UnboundApi
|
|
8938
|
+
*/
|
|
8939
|
+
accountsRemoveTag(accountId, tagId, options) {
|
|
8940
|
+
return UnboundApiFp(this.configuration).accountsRemoveTag(accountId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
8941
|
+
}
|
|
7290
8942
|
/**
|
|
7291
8943
|
* Addresses Create
|
|
7292
8944
|
* @summary Addresses Create
|
|
@@ -7666,6 +9318,18 @@ var UnboundApi = class extends BaseAPI {
|
|
|
7666
9318
|
listingContentVersionsList(listingContentId, options) {
|
|
7667
9319
|
return UnboundApiFp(this.configuration).listingContentVersionsList(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
7668
9320
|
}
|
|
9321
|
+
/**
|
|
9322
|
+
* Associates a tag with a listing. This operation is idempotent.
|
|
9323
|
+
* @summary Add Tag To Listing
|
|
9324
|
+
* @param {string} listingId
|
|
9325
|
+
* @param {string} tagId
|
|
9326
|
+
* @param {*} [options] Override http request option.
|
|
9327
|
+
* @throws {RequiredError}
|
|
9328
|
+
* @memberof UnboundApi
|
|
9329
|
+
*/
|
|
9330
|
+
listingsAddTag(listingId, tagId, options) {
|
|
9331
|
+
return UnboundApiFp(this.configuration).listingsAddTag(listingId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
9332
|
+
}
|
|
7669
9333
|
/**
|
|
7670
9334
|
* Listings Get
|
|
7671
9335
|
* @summary Listings Get
|
|
@@ -7694,6 +9358,29 @@ var UnboundApi = class extends BaseAPI {
|
|
|
7694
9358
|
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
7695
9359
|
return UnboundApiFp(this.configuration).listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
7696
9360
|
}
|
|
9361
|
+
/**
|
|
9362
|
+
* List all tags associated with a listing.
|
|
9363
|
+
* @summary List Listing Tags
|
|
9364
|
+
* @param {string} listingId
|
|
9365
|
+
* @param {*} [options] Override http request option.
|
|
9366
|
+
* @throws {RequiredError}
|
|
9367
|
+
* @memberof UnboundApi
|
|
9368
|
+
*/
|
|
9369
|
+
listingsListTags(listingId, options) {
|
|
9370
|
+
return UnboundApiFp(this.configuration).listingsListTags(listingId, options).then((request) => request(this.axios, this.basePath));
|
|
9371
|
+
}
|
|
9372
|
+
/**
|
|
9373
|
+
* Removes a tag association from a listing.
|
|
9374
|
+
* @summary Remove Tag From Listing
|
|
9375
|
+
* @param {string} listingId
|
|
9376
|
+
* @param {string} tagId
|
|
9377
|
+
* @param {*} [options] Override http request option.
|
|
9378
|
+
* @throws {RequiredError}
|
|
9379
|
+
* @memberof UnboundApi
|
|
9380
|
+
*/
|
|
9381
|
+
listingsRemoveTag(listingId, tagId, options) {
|
|
9382
|
+
return UnboundApiFp(this.configuration).listingsRemoveTag(listingId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
9383
|
+
}
|
|
7697
9384
|
/**
|
|
7698
9385
|
* ManagedPhoneNumbers List
|
|
7699
9386
|
* @summary ManagedPhoneNumbers List
|
|
@@ -7866,6 +9553,97 @@ var UnboundApi = class extends BaseAPI {
|
|
|
7866
9553
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
7867
9554
|
return UnboundApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
7868
9555
|
}
|
|
9556
|
+
/**
|
|
9557
|
+
* Associates a child tag with a parent tag. This operation is idempotent.
|
|
9558
|
+
* @summary Add Child Tag
|
|
9559
|
+
* @param {string} parentTagId
|
|
9560
|
+
* @param {string} childTagId
|
|
9561
|
+
* @param {*} [options] Override http request option.
|
|
9562
|
+
* @throws {RequiredError}
|
|
9563
|
+
* @memberof UnboundApi
|
|
9564
|
+
*/
|
|
9565
|
+
tagsAddChildTag(parentTagId, childTagId, options) {
|
|
9566
|
+
return UnboundApiFp(this.configuration).tagsAddChildTag(parentTagId, childTagId, options).then((request) => request(this.axios, this.basePath));
|
|
9567
|
+
}
|
|
9568
|
+
/**
|
|
9569
|
+
* Tags Create
|
|
9570
|
+
* @summary Tags Create
|
|
9571
|
+
* @param {APITagCreate} aPITagCreate
|
|
9572
|
+
* @param {*} [options] Override http request option.
|
|
9573
|
+
* @throws {RequiredError}
|
|
9574
|
+
* @memberof UnboundApi
|
|
9575
|
+
*/
|
|
9576
|
+
tagsCreate(aPITagCreate, options) {
|
|
9577
|
+
return UnboundApiFp(this.configuration).tagsCreate(aPITagCreate, options).then((request) => request(this.axios, this.basePath));
|
|
9578
|
+
}
|
|
9579
|
+
/**
|
|
9580
|
+
* Tags Delete
|
|
9581
|
+
* @summary Tags Delete
|
|
9582
|
+
* @param {string} tagId
|
|
9583
|
+
* @param {*} [options] Override http request option.
|
|
9584
|
+
* @throws {RequiredError}
|
|
9585
|
+
* @memberof UnboundApi
|
|
9586
|
+
*/
|
|
9587
|
+
tagsDelete(tagId, options) {
|
|
9588
|
+
return UnboundApiFp(this.configuration).tagsDelete(tagId, options).then((request) => request(this.axios, this.basePath));
|
|
9589
|
+
}
|
|
9590
|
+
/**
|
|
9591
|
+
* Tags Get
|
|
9592
|
+
* @summary Tags Get
|
|
9593
|
+
* @param {string} tagId
|
|
9594
|
+
* @param {*} [options] Override http request option.
|
|
9595
|
+
* @throws {RequiredError}
|
|
9596
|
+
* @memberof UnboundApi
|
|
9597
|
+
*/
|
|
9598
|
+
tagsGet(tagId, options) {
|
|
9599
|
+
return UnboundApiFp(this.configuration).tagsGet(tagId, options).then((request) => request(this.axios, this.basePath));
|
|
9600
|
+
}
|
|
9601
|
+
/**
|
|
9602
|
+
* Tags List
|
|
9603
|
+
* @summary Tags List
|
|
9604
|
+
* @param {string | null} [searchString] Search by tag name
|
|
9605
|
+
* @param {*} [options] Override http request option.
|
|
9606
|
+
* @throws {RequiredError}
|
|
9607
|
+
* @memberof UnboundApi
|
|
9608
|
+
*/
|
|
9609
|
+
tagsList(searchString, options) {
|
|
9610
|
+
return UnboundApiFp(this.configuration).tagsList(searchString, options).then((request) => request(this.axios, this.basePath));
|
|
9611
|
+
}
|
|
9612
|
+
/**
|
|
9613
|
+
* List all child tags associated with a parent tag.
|
|
9614
|
+
* @summary List Child Tags
|
|
9615
|
+
* @param {string} parentTagId
|
|
9616
|
+
* @param {*} [options] Override http request option.
|
|
9617
|
+
* @throws {RequiredError}
|
|
9618
|
+
* @memberof UnboundApi
|
|
9619
|
+
*/
|
|
9620
|
+
tagsListChildTags(parentTagId, options) {
|
|
9621
|
+
return UnboundApiFp(this.configuration).tagsListChildTags(parentTagId, options).then((request) => request(this.axios, this.basePath));
|
|
9622
|
+
}
|
|
9623
|
+
/**
|
|
9624
|
+
* Removes a child tag association from a parent tag.
|
|
9625
|
+
* @summary Remove Child Tag
|
|
9626
|
+
* @param {string} parentTagId
|
|
9627
|
+
* @param {string} childTagId
|
|
9628
|
+
* @param {*} [options] Override http request option.
|
|
9629
|
+
* @throws {RequiredError}
|
|
9630
|
+
* @memberof UnboundApi
|
|
9631
|
+
*/
|
|
9632
|
+
tagsRemoveChildTag(parentTagId, childTagId, options) {
|
|
9633
|
+
return UnboundApiFp(this.configuration).tagsRemoveChildTag(parentTagId, childTagId, options).then((request) => request(this.axios, this.basePath));
|
|
9634
|
+
}
|
|
9635
|
+
/**
|
|
9636
|
+
* Tags Update
|
|
9637
|
+
* @summary Tags Update
|
|
9638
|
+
* @param {string} tagId
|
|
9639
|
+
* @param {APITagUpdate} aPITagUpdate
|
|
9640
|
+
* @param {*} [options] Override http request option.
|
|
9641
|
+
* @throws {RequiredError}
|
|
9642
|
+
* @memberof UnboundApi
|
|
9643
|
+
*/
|
|
9644
|
+
tagsUpdate(tagId, aPITagUpdate, options) {
|
|
9645
|
+
return UnboundApiFp(this.configuration).tagsUpdate(tagId, aPITagUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
9646
|
+
}
|
|
7869
9647
|
/**
|
|
7870
9648
|
* UserDevices Create
|
|
7871
9649
|
* @summary UserDevices Create
|
|
@@ -7970,8 +9748,8 @@ var UserDevicesApiFp = function(configuration) {
|
|
|
7970
9748
|
*/
|
|
7971
9749
|
async userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
7972
9750
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesCreate(aPIUserDeviceCreate, options);
|
|
7973
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
7974
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
9751
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _554 => _554.serverIndex]), () => ( 0));
|
|
9752
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _555 => _555["UserDevicesApi.userDevicesCreate"], 'optionalAccess', _556 => _556[localVarOperationServerIndex], 'optionalAccess', _557 => _557.url]);
|
|
7975
9753
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7976
9754
|
},
|
|
7977
9755
|
/**
|
|
@@ -7983,8 +9761,8 @@ var UserDevicesApiFp = function(configuration) {
|
|
|
7983
9761
|
*/
|
|
7984
9762
|
async userDevicesDelete(userDeviceId, options) {
|
|
7985
9763
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesDelete(userDeviceId, options);
|
|
7986
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
7987
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
9764
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _558 => _558.serverIndex]), () => ( 0));
|
|
9765
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _559 => _559["UserDevicesApi.userDevicesDelete"], 'optionalAccess', _560 => _560[localVarOperationServerIndex], 'optionalAccess', _561 => _561.url]);
|
|
7988
9766
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7989
9767
|
}
|
|
7990
9768
|
};
|
|
@@ -8107,7 +9885,7 @@ var Configuration = class {
|
|
|
8107
9885
|
this.baseOptions = {
|
|
8108
9886
|
...param.baseOptions,
|
|
8109
9887
|
headers: {
|
|
8110
|
-
..._optionalChain([param, 'access',
|
|
9888
|
+
..._optionalChain([param, 'access', _562 => _562.baseOptions, 'optionalAccess', _563 => _563.headers])
|
|
8111
9889
|
}
|
|
8112
9890
|
};
|
|
8113
9891
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -8238,5 +10016,9 @@ var Configuration = class {
|
|
|
8238
10016
|
|
|
8239
10017
|
|
|
8240
10018
|
|
|
8241
|
-
|
|
10019
|
+
|
|
10020
|
+
|
|
10021
|
+
|
|
10022
|
+
|
|
10023
|
+
exports.APIListingContentStatusEnum = APIListingContentStatusEnum; exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.AiResponsesApi = AiResponsesApi; exports.AiResponsesApiAxiosParamCreator = AiResponsesApiAxiosParamCreator; exports.AiResponsesApiFactory = AiResponsesApiFactory; exports.AiResponsesApiFp = AiResponsesApiFp; exports.AuthApi = AuthApi; exports.AuthApiAxiosParamCreator = AuthApiAxiosParamCreator; exports.AuthApiFactory = AuthApiFactory; exports.AuthApiFp = AuthApiFp; exports.BotApiParticipantTypeEnum = BotApiParticipantTypeEnum; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.ConversationStatus = ConversationStatus; exports.ConversationsApi = ConversationsApi; exports.ConversationsApiAxiosParamCreator = ConversationsApiAxiosParamCreator; exports.ConversationsApiFactory = ConversationsApiFactory; exports.ConversationsApiFp = ConversationsApiFp; exports.EmailConversationDataApiConversationTypeEnum = EmailConversationDataApiConversationTypeEnum; exports.EmailInboxApiInboxTypeEnum = EmailInboxApiInboxTypeEnum; exports.EmailProviderMessageApiMessageTypeEnum = EmailProviderMessageApiMessageTypeEnum; exports.ExternalStaffApiStaffTypeEnum = ExternalStaffApiStaffTypeEnum; exports.FileListingContentApiListingContentTypeEnum = FileListingContentApiListingContentTypeEnum; exports.GuestApiParticipantTypeEnum = GuestApiParticipantTypeEnum; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InboxesApi = InboxesApi; exports.InboxesApiAxiosParamCreator = InboxesApiAxiosParamCreator; exports.InboxesApiFactory = InboxesApiFactory; exports.InboxesApiFp = InboxesApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.InternalStaffApiStaffTypeEnum = InternalStaffApiStaffTypeEnum; exports.ListingContentApi = ListingContentApi; exports.ListingContentApiAxiosParamCreator = ListingContentApiAxiosParamCreator; exports.ListingContentApiFactory = ListingContentApiFactory; exports.ListingContentApiFp = ListingContentApiFp; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.ManagedPhoneNumbersApi = ManagedPhoneNumbersApi; exports.ManagedPhoneNumbersApiAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator; exports.ManagedPhoneNumbersApiFactory = ManagedPhoneNumbersApiFactory; exports.ManagedPhoneNumbersApiFp = ManagedPhoneNumbersApiFp; exports.MessageDirection = MessageDirection; exports.MessageStatus = MessageStatus; exports.PaginationDirection = PaginationDirection; exports.PhoneInboxApiInboxTypeEnum = PhoneInboxApiInboxTypeEnum; exports.PlainTextListingContentApiListingContentTypeEnum = PlainTextListingContentApiListingContentTypeEnum; exports.ProviderAccountInboxApiInboxTypeEnum = ProviderAccountInboxApiInboxTypeEnum; exports.ProviderCommunicationTypeInput = ProviderCommunicationTypeInput; exports.ProviderConversationDataApiConversationTypeEnum = ProviderConversationDataApiConversationTypeEnum; exports.ProviderStaffApiStaffTypeEnum = ProviderStaffApiStaffTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.RentalProviderMessageApiMessageTypeEnum = RentalProviderMessageApiMessageTypeEnum; exports.RentalProviderTypes = RentalProviderTypes; exports.ReservationChannelTypes = ReservationChannelTypes; exports.ReservationStatus = ReservationStatus; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SMSConversationDataApiConversationTypeEnum = SMSConversationDataApiConversationTypeEnum; exports.SMSInboundSenderTypeDataApiDirectionEnum = SMSInboundSenderTypeDataApiDirectionEnum; exports.SMSMessageApiMessageTypeEnum = SMSMessageApiMessageTypeEnum; exports.SMSMessageStatus = SMSMessageStatus; exports.SMSOutboundSenderTypeDataApiDirectionEnum = SMSOutboundSenderTypeDataApiDirectionEnum; exports.SortOrder = SortOrder; exports.SrcResourceModelsContactsModelContactsModelContactSortBy = SrcResourceModelsContactsModelContactsModelContactSortBy; exports.SrcResourceModelsConversationsModelConversationsHelperModelsProviderCommunicationType = SrcResourceModelsConversationsModelConversationsHelperModelsProviderCommunicationType; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum; exports.SrcResourceModelsListingsModelListingBaseSortBy = SrcResourceModelsListingsModelListingBaseSortBy; exports.SrcResourceModelsMessagesModelMessagesHelperModelsProviderCommunicationType = SrcResourceModelsMessagesModelMessagesHelperModelsProviderCommunicationType; exports.SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.StaffApiParticipantTypeEnum = StaffApiParticipantTypeEnum; exports.SuggestionRejectionReasonType = SuggestionRejectionReasonType; exports.SuggestionStatus = SuggestionStatus; exports.TagsApi = TagsApi; exports.TagsApiAxiosParamCreator = TagsApiAxiosParamCreator; exports.TagsApiFactory = TagsApiFactory; exports.TagsApiFp = TagsApiFp; exports.TelnyxApi = TelnyxApi; exports.TelnyxApiAxiosParamCreator = TelnyxApiAxiosParamCreator; exports.TelnyxApiFactory = TelnyxApiFactory; exports.TelnyxApiFp = TelnyxApiFp; exports.URLListingContentApiListingContentTypeEnum = URLListingContentApiListingContentTypeEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp; exports.UserDeviceOs = UserDeviceOs; exports.UserDevicesApi = UserDevicesApi; exports.UserDevicesApiAxiosParamCreator = UserDevicesApiAxiosParamCreator; exports.UserDevicesApiFactory = UserDevicesApiFactory; exports.UserDevicesApiFp = UserDevicesApiFp;
|
|
8242
10024
|
//# sourceMappingURL=index.js.map
|