@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.mjs CHANGED
@@ -4305,6 +4305,903 @@ 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 TagsApiAxiosParamCreator = function(configuration) {
4309
+ return {
4310
+ /**
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
4315
+ * @param {*} [options] Override http request option.
4316
+ * @throws {RequiredError}
4317
+ */
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)));
4322
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4323
+ let baseOptions;
4324
+ if (configuration) {
4325
+ baseOptions = configuration.baseOptions;
4326
+ }
4327
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
4328
+ const localVarHeaderParameter = {};
4329
+ const localVarQueryParameter = {};
4330
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4331
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4332
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4333
+ return {
4334
+ url: toPathString(localVarUrlObj),
4335
+ options: localVarRequestOptions
4336
+ };
4337
+ },
4338
+ /**
4339
+ * List all tags associated with an account.
4340
+ * @summary List Account Tags
4341
+ * @param {string} accountId
4342
+ * @param {*} [options] Override http request option.
4343
+ * @throws {RequiredError}
4344
+ */
4345
+ accountsListTags: async (accountId, options = {}) => {
4346
+ assertParamExists("accountsListTags", "accountId", accountId);
4347
+ const localVarPath = `/v1/accounts/{account_id}/tags`.replace(`{${"account_id"}}`, encodeURIComponent(String(accountId)));
4348
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4349
+ let baseOptions;
4350
+ if (configuration) {
4351
+ baseOptions = configuration.baseOptions;
4352
+ }
4353
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
4354
+ const localVarHeaderParameter = {};
4355
+ const localVarQueryParameter = {};
4356
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4357
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4358
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4359
+ return {
4360
+ url: toPathString(localVarUrlObj),
4361
+ options: localVarRequestOptions
4362
+ };
4363
+ },
4364
+ /**
4365
+ * Removes a tag association from an account.
4366
+ * @summary Remove Tag From Account
4367
+ * @param {string} accountId
4368
+ * @param {string} tagId
4369
+ * @param {*} [options] Override http request option.
4370
+ * @throws {RequiredError}
4371
+ */
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)));
4376
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4377
+ let baseOptions;
4378
+ if (configuration) {
4379
+ baseOptions = configuration.baseOptions;
4380
+ }
4381
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
4382
+ const localVarHeaderParameter = {};
4383
+ const localVarQueryParameter = {};
4384
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4385
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4386
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4387
+ return {
4388
+ url: toPathString(localVarUrlObj),
4389
+ options: localVarRequestOptions
4390
+ };
4391
+ },
4392
+ /**
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
4397
+ * @param {*} [options] Override http request option.
4398
+ * @throws {RequiredError}
4399
+ */
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)));
4404
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4405
+ let baseOptions;
4406
+ if (configuration) {
4407
+ baseOptions = configuration.baseOptions;
4408
+ }
4409
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
4410
+ const localVarHeaderParameter = {};
4411
+ const localVarQueryParameter = {};
4412
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4413
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4414
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4415
+ return {
4416
+ url: toPathString(localVarUrlObj),
4417
+ options: localVarRequestOptions
4418
+ };
4419
+ },
4420
+ /**
4421
+ * List all tags associated with a listing.
4422
+ * @summary List Listing Tags
4423
+ * @param {string} listingId
4424
+ * @param {*} [options] Override http request option.
4425
+ * @throws {RequiredError}
4426
+ */
4427
+ listingsListTags: async (listingId, options = {}) => {
4428
+ assertParamExists("listingsListTags", "listingId", listingId);
4429
+ const localVarPath = `/v1/listings/{listing_id}/tags`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
4430
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4431
+ let baseOptions;
4432
+ if (configuration) {
4433
+ baseOptions = configuration.baseOptions;
4434
+ }
4435
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
4436
+ const localVarHeaderParameter = {};
4437
+ const localVarQueryParameter = {};
4438
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4439
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4440
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4441
+ return {
4442
+ url: toPathString(localVarUrlObj),
4443
+ options: localVarRequestOptions
4444
+ };
4445
+ },
4446
+ /**
4447
+ * Removes a tag association from a listing.
4448
+ * @summary Remove Tag From Listing
4449
+ * @param {string} listingId
4450
+ * @param {string} tagId
4451
+ * @param {*} [options] Override http request option.
4452
+ * @throws {RequiredError}
4453
+ */
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)));
4458
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4459
+ let baseOptions;
4460
+ if (configuration) {
4461
+ baseOptions = configuration.baseOptions;
4462
+ }
4463
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
4464
+ const localVarHeaderParameter = {};
4465
+ const localVarQueryParameter = {};
4466
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4467
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4468
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4469
+ return {
4470
+ url: toPathString(localVarUrlObj),
4471
+ options: localVarRequestOptions
4472
+ };
4473
+ },
4474
+ /**
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
4479
+ * @param {*} [options] Override http request option.
4480
+ * @throws {RequiredError}
4481
+ */
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)));
4486
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4487
+ let baseOptions;
4488
+ if (configuration) {
4489
+ baseOptions = configuration.baseOptions;
4490
+ }
4491
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
4492
+ const localVarHeaderParameter = {};
4493
+ const localVarQueryParameter = {};
4494
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4495
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4496
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4497
+ return {
4498
+ url: toPathString(localVarUrlObj),
4499
+ options: localVarRequestOptions
4500
+ };
4501
+ },
4502
+ /**
4503
+ * Tags Create
4504
+ * @summary Tags Create
4505
+ * @param {APITagCreate} aPITagCreate
4506
+ * @param {*} [options] Override http request option.
4507
+ * @throws {RequiredError}
4508
+ */
4509
+ tagsCreate: async (aPITagCreate, options = {}) => {
4510
+ assertParamExists("tagsCreate", "aPITagCreate", aPITagCreate);
4511
+ const localVarPath = `/v1/tags`;
4512
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4513
+ let baseOptions;
4514
+ if (configuration) {
4515
+ baseOptions = configuration.baseOptions;
4516
+ }
4517
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
4518
+ const localVarHeaderParameter = {};
4519
+ const localVarQueryParameter = {};
4520
+ localVarHeaderParameter["Content-Type"] = "application/json";
4521
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4522
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4523
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4524
+ localVarRequestOptions.data = serializeDataIfNeeded(aPITagCreate, localVarRequestOptions, configuration);
4525
+ return {
4526
+ url: toPathString(localVarUrlObj),
4527
+ options: localVarRequestOptions
4528
+ };
4529
+ },
4530
+ /**
4531
+ * Tags Delete
4532
+ * @summary Tags Delete
4533
+ * @param {string} tagId
4534
+ * @param {*} [options] Override http request option.
4535
+ * @throws {RequiredError}
4536
+ */
4537
+ tagsDelete: async (tagId, options = {}) => {
4538
+ assertParamExists("tagsDelete", "tagId", tagId);
4539
+ const localVarPath = `/v1/tags/{tagId}`.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
4540
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4541
+ let baseOptions;
4542
+ if (configuration) {
4543
+ baseOptions = configuration.baseOptions;
4544
+ }
4545
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
4546
+ const localVarHeaderParameter = {};
4547
+ const localVarQueryParameter = {};
4548
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4549
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4550
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4551
+ return {
4552
+ url: toPathString(localVarUrlObj),
4553
+ options: localVarRequestOptions
4554
+ };
4555
+ },
4556
+ /**
4557
+ * Tags Get
4558
+ * @summary Tags Get
4559
+ * @param {string} tagId
4560
+ * @param {*} [options] Override http request option.
4561
+ * @throws {RequiredError}
4562
+ */
4563
+ tagsGet: async (tagId, options = {}) => {
4564
+ assertParamExists("tagsGet", "tagId", tagId);
4565
+ const localVarPath = `/v1/tags/{tagId}`.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
4566
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4567
+ let baseOptions;
4568
+ if (configuration) {
4569
+ baseOptions = configuration.baseOptions;
4570
+ }
4571
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
4572
+ const localVarHeaderParameter = {};
4573
+ const localVarQueryParameter = {};
4574
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4575
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4576
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4577
+ return {
4578
+ url: toPathString(localVarUrlObj),
4579
+ options: localVarRequestOptions
4580
+ };
4581
+ },
4582
+ /**
4583
+ * Tags List
4584
+ * @summary Tags List
4585
+ * @param {string | null} [searchString] Search by tag name
4586
+ * @param {*} [options] Override http request option.
4587
+ * @throws {RequiredError}
4588
+ */
4589
+ tagsList: async (searchString, options = {}) => {
4590
+ const localVarPath = `/v1/tags`;
4591
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4592
+ let baseOptions;
4593
+ if (configuration) {
4594
+ baseOptions = configuration.baseOptions;
4595
+ }
4596
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
4597
+ const localVarHeaderParameter = {};
4598
+ const localVarQueryParameter = {};
4599
+ if (searchString !== void 0) {
4600
+ localVarQueryParameter["searchString"] = searchString;
4601
+ }
4602
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4603
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4604
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4605
+ return {
4606
+ url: toPathString(localVarUrlObj),
4607
+ options: localVarRequestOptions
4608
+ };
4609
+ },
4610
+ /**
4611
+ * List all child tags associated with a parent tag.
4612
+ * @summary List Child Tags
4613
+ * @param {string} parentTagId
4614
+ * @param {*} [options] Override http request option.
4615
+ * @throws {RequiredError}
4616
+ */
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)));
4620
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4621
+ let baseOptions;
4622
+ if (configuration) {
4623
+ baseOptions = configuration.baseOptions;
4624
+ }
4625
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
4626
+ const localVarHeaderParameter = {};
4627
+ const localVarQueryParameter = {};
4628
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4629
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4630
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4631
+ return {
4632
+ url: toPathString(localVarUrlObj),
4633
+ options: localVarRequestOptions
4634
+ };
4635
+ },
4636
+ /**
4637
+ * Removes a child tag association from a parent tag.
4638
+ * @summary Remove Child Tag
4639
+ * @param {string} parentTagId
4640
+ * @param {string} childTagId
4641
+ * @param {*} [options] Override http request option.
4642
+ * @throws {RequiredError}
4643
+ */
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)));
4648
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4649
+ let baseOptions;
4650
+ if (configuration) {
4651
+ baseOptions = configuration.baseOptions;
4652
+ }
4653
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
4654
+ const localVarHeaderParameter = {};
4655
+ const localVarQueryParameter = {};
4656
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4657
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4658
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4659
+ return {
4660
+ url: toPathString(localVarUrlObj),
4661
+ options: localVarRequestOptions
4662
+ };
4663
+ },
4664
+ /**
4665
+ * Tags Update
4666
+ * @summary Tags Update
4667
+ * @param {string} tagId
4668
+ * @param {APITagUpdate} aPITagUpdate
4669
+ * @param {*} [options] Override http request option.
4670
+ * @throws {RequiredError}
4671
+ */
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)));
4676
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4677
+ let baseOptions;
4678
+ if (configuration) {
4679
+ baseOptions = configuration.baseOptions;
4680
+ }
4681
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
4682
+ const localVarHeaderParameter = {};
4683
+ const localVarQueryParameter = {};
4684
+ localVarHeaderParameter["Content-Type"] = "application/json";
4685
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4686
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4687
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4688
+ localVarRequestOptions.data = serializeDataIfNeeded(aPITagUpdate, localVarRequestOptions, configuration);
4689
+ return {
4690
+ url: toPathString(localVarUrlObj),
4691
+ options: localVarRequestOptions
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 = configuration?.serverIndex ?? 0;
4710
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.accountsAddTag"]?.[localVarOperationServerIndex]?.url;
4711
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4712
+ },
4713
+ /**
4714
+ * List all tags associated with an account.
4715
+ * @summary List Account Tags
4716
+ * @param {string} accountId
4717
+ * @param {*} [options] Override http request option.
4718
+ * @throws {RequiredError}
4719
+ */
4720
+ async accountsListTags(accountId, options) {
4721
+ const localVarAxiosArgs = await localVarAxiosParamCreator.accountsListTags(accountId, options);
4722
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4723
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.accountsListTags"]?.[localVarOperationServerIndex]?.url;
4724
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4737
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.accountsRemoveTag"]?.[localVarOperationServerIndex]?.url;
4738
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4751
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.listingsAddTag"]?.[localVarOperationServerIndex]?.url;
4752
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4764
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.listingsListTags"]?.[localVarOperationServerIndex]?.url;
4765
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4778
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.listingsRemoveTag"]?.[localVarOperationServerIndex]?.url;
4779
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4792
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.tagsAddChildTag"]?.[localVarOperationServerIndex]?.url;
4793
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4805
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.tagsCreate"]?.[localVarOperationServerIndex]?.url;
4806
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4818
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.tagsDelete"]?.[localVarOperationServerIndex]?.url;
4819
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4831
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.tagsGet"]?.[localVarOperationServerIndex]?.url;
4832
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4844
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.tagsList"]?.[localVarOperationServerIndex]?.url;
4845
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4857
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.tagsListChildTags"]?.[localVarOperationServerIndex]?.url;
4858
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4871
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.tagsRemoveChildTag"]?.[localVarOperationServerIndex]?.url;
4872
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
4885
+ const localVarOperationServerBasePath = operationServerMap["TagsApi.tagsUpdate"]?.[localVarOperationServerIndex]?.url;
4886
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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
+ };
4308
5205
  var TelnyxApiAxiosParamCreator = function(configuration) {
4309
5206
  return {
4310
5207
  /**
@@ -4385,14 +5282,68 @@ var TelnyxApi = class extends BaseAPI {
4385
5282
  };
4386
5283
  var UnboundApiAxiosParamCreator = function(configuration) {
4387
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
+ },
4388
5313
  /**
4389
5314
  * Accounts List
4390
5315
  * @summary Accounts List
4391
5316
  * @param {*} [options] Override http request option.
4392
5317
  * @throws {RequiredError}
4393
5318
  */
4394
- accountsList: async (options = {}) => {
4395
- const localVarPath = `/v1/accounts`;
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)));
4396
5347
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4397
5348
  let baseOptions;
4398
5349
  if (configuration) {
@@ -4409,6 +5360,34 @@ var UnboundApiAxiosParamCreator = function(configuration) {
4409
5360
  options: localVarRequestOptions
4410
5361
  };
4411
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
+ },
4412
5391
  /**
4413
5392
  * Addresses Create
4414
5393
  * @summary Addresses Create
@@ -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
@@ -5885,6 +6946,226 @@ var UnboundApiAxiosParamCreator = function(configuration) {
5885
6946
  options: localVarRequestOptions
5886
6947
  };
5887
6948
  },
6949
+ /**
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
6954
+ * @param {*} [options] Override http request option.
6955
+ * @throws {RequiredError}
6956
+ */
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)));
6961
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6962
+ let baseOptions;
6963
+ if (configuration) {
6964
+ baseOptions = configuration.baseOptions;
6965
+ }
6966
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
6967
+ const localVarHeaderParameter = {};
6968
+ const localVarQueryParameter = {};
6969
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6970
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6971
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
6972
+ return {
6973
+ url: toPathString(localVarUrlObj),
6974
+ options: localVarRequestOptions
6975
+ };
6976
+ },
6977
+ /**
6978
+ * Tags Create
6979
+ * @summary Tags Create
6980
+ * @param {APITagCreate} aPITagCreate
6981
+ * @param {*} [options] Override http request option.
6982
+ * @throws {RequiredError}
6983
+ */
6984
+ tagsCreate: async (aPITagCreate, options = {}) => {
6985
+ assertParamExists("tagsCreate", "aPITagCreate", aPITagCreate);
6986
+ const localVarPath = `/v1/tags`;
6987
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6988
+ let baseOptions;
6989
+ if (configuration) {
6990
+ baseOptions = configuration.baseOptions;
6991
+ }
6992
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
6993
+ const localVarHeaderParameter = {};
6994
+ const localVarQueryParameter = {};
6995
+ localVarHeaderParameter["Content-Type"] = "application/json";
6996
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6997
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6998
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
6999
+ localVarRequestOptions.data = serializeDataIfNeeded(aPITagCreate, localVarRequestOptions, configuration);
7000
+ return {
7001
+ url: toPathString(localVarUrlObj),
7002
+ options: localVarRequestOptions
7003
+ };
7004
+ },
7005
+ /**
7006
+ * Tags Delete
7007
+ * @summary Tags Delete
7008
+ * @param {string} tagId
7009
+ * @param {*} [options] Override http request option.
7010
+ * @throws {RequiredError}
7011
+ */
7012
+ tagsDelete: async (tagId, options = {}) => {
7013
+ assertParamExists("tagsDelete", "tagId", tagId);
7014
+ const localVarPath = `/v1/tags/{tagId}`.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
7015
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7016
+ let baseOptions;
7017
+ if (configuration) {
7018
+ baseOptions = configuration.baseOptions;
7019
+ }
7020
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
7021
+ const localVarHeaderParameter = {};
7022
+ const localVarQueryParameter = {};
7023
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7024
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7025
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7026
+ return {
7027
+ url: toPathString(localVarUrlObj),
7028
+ options: localVarRequestOptions
7029
+ };
7030
+ },
7031
+ /**
7032
+ * Tags Get
7033
+ * @summary Tags Get
7034
+ * @param {string} tagId
7035
+ * @param {*} [options] Override http request option.
7036
+ * @throws {RequiredError}
7037
+ */
7038
+ tagsGet: async (tagId, options = {}) => {
7039
+ assertParamExists("tagsGet", "tagId", tagId);
7040
+ const localVarPath = `/v1/tags/{tagId}`.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
7041
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7042
+ let baseOptions;
7043
+ if (configuration) {
7044
+ baseOptions = configuration.baseOptions;
7045
+ }
7046
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
7047
+ const localVarHeaderParameter = {};
7048
+ const localVarQueryParameter = {};
7049
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7050
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7051
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7052
+ return {
7053
+ url: toPathString(localVarUrlObj),
7054
+ options: localVarRequestOptions
7055
+ };
7056
+ },
7057
+ /**
7058
+ * Tags List
7059
+ * @summary Tags List
7060
+ * @param {string | null} [searchString] Search by tag name
7061
+ * @param {*} [options] Override http request option.
7062
+ * @throws {RequiredError}
7063
+ */
7064
+ tagsList: async (searchString, options = {}) => {
7065
+ const localVarPath = `/v1/tags`;
7066
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7067
+ let baseOptions;
7068
+ if (configuration) {
7069
+ baseOptions = configuration.baseOptions;
7070
+ }
7071
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
7072
+ const localVarHeaderParameter = {};
7073
+ const localVarQueryParameter = {};
7074
+ if (searchString !== void 0) {
7075
+ localVarQueryParameter["searchString"] = searchString;
7076
+ }
7077
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7078
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7079
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7080
+ return {
7081
+ url: toPathString(localVarUrlObj),
7082
+ options: localVarRequestOptions
7083
+ };
7084
+ },
7085
+ /**
7086
+ * List all child tags associated with a parent tag.
7087
+ * @summary List Child Tags
7088
+ * @param {string} parentTagId
7089
+ * @param {*} [options] Override http request option.
7090
+ * @throws {RequiredError}
7091
+ */
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)));
7095
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7096
+ let baseOptions;
7097
+ if (configuration) {
7098
+ baseOptions = configuration.baseOptions;
7099
+ }
7100
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
7101
+ const localVarHeaderParameter = {};
7102
+ const localVarQueryParameter = {};
7103
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7104
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7105
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7106
+ return {
7107
+ url: toPathString(localVarUrlObj),
7108
+ options: localVarRequestOptions
7109
+ };
7110
+ },
7111
+ /**
7112
+ * Removes a child tag association from a parent tag.
7113
+ * @summary Remove Child Tag
7114
+ * @param {string} parentTagId
7115
+ * @param {string} childTagId
7116
+ * @param {*} [options] Override http request option.
7117
+ * @throws {RequiredError}
7118
+ */
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)));
7123
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7124
+ let baseOptions;
7125
+ if (configuration) {
7126
+ baseOptions = configuration.baseOptions;
7127
+ }
7128
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
7129
+ const localVarHeaderParameter = {};
7130
+ const localVarQueryParameter = {};
7131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7133
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7134
+ return {
7135
+ url: toPathString(localVarUrlObj),
7136
+ options: localVarRequestOptions
7137
+ };
7138
+ },
7139
+ /**
7140
+ * Tags Update
7141
+ * @summary Tags Update
7142
+ * @param {string} tagId
7143
+ * @param {APITagUpdate} aPITagUpdate
7144
+ * @param {*} [options] Override http request option.
7145
+ * @throws {RequiredError}
7146
+ */
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)));
7151
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7152
+ let baseOptions;
7153
+ if (configuration) {
7154
+ baseOptions = configuration.baseOptions;
7155
+ }
7156
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
7157
+ const localVarHeaderParameter = {};
7158
+ const localVarQueryParameter = {};
7159
+ localVarHeaderParameter["Content-Type"] = "application/json";
7160
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7161
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7162
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7163
+ localVarRequestOptions.data = serializeDataIfNeeded(aPITagUpdate, localVarRequestOptions, configuration);
7164
+ return {
7165
+ url: toPathString(localVarUrlObj),
7166
+ options: localVarRequestOptions
7167
+ };
7168
+ },
5888
7169
  /**
5889
7170
  * UserDevices Create
5890
7171
  * @summary UserDevices Create
@@ -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 = configuration?.serverIndex ?? 0;
7268
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.accountsAddTag"]?.[localVarOperationServerIndex]?.url;
7269
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7270
+ },
5976
7271
  /**
5977
7272
  * Accounts List
5978
7273
  * @summary Accounts List
@@ -5985,6 +7280,33 @@ var UnboundApiFp = function(configuration) {
5985
7280
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.accountsList"]?.[localVarOperationServerIndex]?.url;
5986
7281
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5987
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 = configuration?.serverIndex ?? 0;
7293
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.accountsListTags"]?.[localVarOperationServerIndex]?.url;
7294
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
7307
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.accountsRemoveTag"]?.[localVarOperationServerIndex]?.url;
7308
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7309
+ },
5988
7310
  /**
5989
7311
  * Addresses Create
5990
7312
  * @summary Addresses Create
@@ -6428,6 +7750,20 @@ var UnboundApiFp = function(configuration) {
6428
7750
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentVersionsList"]?.[localVarOperationServerIndex]?.url;
6429
7751
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6430
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 = configuration?.serverIndex ?? 0;
7764
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingsAddTag"]?.[localVarOperationServerIndex]?.url;
7765
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7766
+ },
6431
7767
  /**
6432
7768
  * Listings Get
6433
7769
  * @summary Listings Get
@@ -6460,6 +7796,33 @@ var UnboundApiFp = function(configuration) {
6460
7796
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingsList"]?.[localVarOperationServerIndex]?.url;
6461
7797
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6462
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 = configuration?.serverIndex ?? 0;
7809
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingsListTags"]?.[localVarOperationServerIndex]?.url;
7810
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
7823
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingsRemoveTag"]?.[localVarOperationServerIndex]?.url;
7824
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7825
+ },
6463
7826
  /**
6464
7827
  * ManagedPhoneNumbers List
6465
7828
  * @summary ManagedPhoneNumbers List
@@ -6660,6 +8023,113 @@ var UnboundApiFp = function(configuration) {
6660
8023
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.reservationsList"]?.[localVarOperationServerIndex]?.url;
6661
8024
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6662
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 = configuration?.serverIndex ?? 0;
8037
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.tagsAddChildTag"]?.[localVarOperationServerIndex]?.url;
8038
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
8050
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.tagsCreate"]?.[localVarOperationServerIndex]?.url;
8051
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
8063
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.tagsDelete"]?.[localVarOperationServerIndex]?.url;
8064
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
8076
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.tagsGet"]?.[localVarOperationServerIndex]?.url;
8077
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
8089
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.tagsList"]?.[localVarOperationServerIndex]?.url;
8090
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
8102
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.tagsListChildTags"]?.[localVarOperationServerIndex]?.url;
8103
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
8116
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.tagsRemoveChildTag"]?.[localVarOperationServerIndex]?.url;
8117
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
8130
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.tagsUpdate"]?.[localVarOperationServerIndex]?.url;
8131
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8132
+ },
6663
8133
  /**
6664
8134
  * UserDevices Create
6665
8135
  * @summary UserDevices Create
@@ -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
@@ -8224,6 +10002,10 @@ export {
8224
10002
  StaffApiParticipantTypeEnum,
8225
10003
  SuggestionRejectionReasonType,
8226
10004
  SuggestionStatus,
10005
+ TagsApi,
10006
+ TagsApiAxiosParamCreator,
10007
+ TagsApiFactory,
10008
+ TagsApiFp,
8227
10009
  TelnyxApi,
8228
10010
  TelnyxApiAxiosParamCreator,
8229
10011
  TelnyxApiFactory,