@ember-home/unbound-ts-client 0.0.95 → 0.0.97

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
@@ -75,6 +75,10 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
75
75
  };
76
76
 
77
77
  // src/api.ts
78
+ var APIListingContentStatusEnum = {
79
+ Active: "active",
80
+ Deleted: "deleted"
81
+ };
78
82
  var BotApiParticipantTypeEnum = {
79
83
  Bot: "BOT"
80
84
  };
@@ -97,6 +101,9 @@ var EmailProviderMessageApiMessageTypeEnum = {
97
101
  var ExternalStaffApiStaffTypeEnum = {
98
102
  ExternalStaff: "EXTERNAL_STAFF"
99
103
  };
104
+ var FileListingContentApiListingContentTypeEnum = {
105
+ File: "file"
106
+ };
100
107
  var GuestApiParticipantTypeEnum = {
101
108
  Guest: "GUEST"
102
109
  };
@@ -124,6 +131,9 @@ var PaginationDirection = {
124
131
  var PhoneInboxApiInboxTypeEnum = {
125
132
  Text: "TEXT"
126
133
  };
134
+ var PlainTextListingContentApiListingContentTypeEnum = {
135
+ PlainText: "plain_text"
136
+ };
127
137
  var ProviderAccountInboxApiInboxTypeEnum = {
128
138
  RentalProvider: "RENTAL_PROVIDER"
129
139
  };
@@ -184,6 +194,16 @@ var SMSInboundSenderTypeDataApiDirectionEnum = {
184
194
  var SMSMessageApiMessageTypeEnum = {
185
195
  Text: "TEXT"
186
196
  };
197
+ var SMSMessageStatus = {
198
+ Queued: "queued",
199
+ Sending: "sending",
200
+ Sent: "sent",
201
+ Expired: "expired",
202
+ SendingFailed: "sending_failed",
203
+ DeliveryUnconfirmed: "delivery_unconfirmed",
204
+ Delivered: "delivered",
205
+ DeliveryFailed: "delivery_failed"
206
+ };
187
207
  var SMSOutboundSenderTypeDataApiDirectionEnum = {
188
208
  Outbound: "OUTBOUND"
189
209
  };
@@ -244,6 +264,9 @@ var SuggestionStatus = {
244
264
  ReplyGenerated: "REPLY_GENERATED",
245
265
  NoAvailableReply: "NO_AVAILABLE_REPLY"
246
266
  };
267
+ var URLListingContentApiListingContentTypeEnum = {
268
+ Url: "url"
269
+ };
247
270
  var UserDeviceOs = {
248
271
  Android: "ANDROID",
249
272
  Ios: "IOS",
@@ -321,6 +344,84 @@ var AccountsApi = class extends BaseAPI {
321
344
  return AccountsApiFp(this.configuration).accountsList(options).then((request) => request(this.axios, this.basePath));
322
345
  }
323
346
  };
347
+ var AiResponsesApiAxiosParamCreator = function(configuration) {
348
+ return {
349
+ /**
350
+ * AiResponses Create
351
+ * @summary AiResponses Create
352
+ * @param {APIAiResponseCreate} aPIAiResponseCreate
353
+ * @param {*} [options] Override http request option.
354
+ * @throws {RequiredError}
355
+ */
356
+ aiResponsesCreate: async (aPIAiResponseCreate, options = {}) => {
357
+ assertParamExists("aiResponsesCreate", "aPIAiResponseCreate", aPIAiResponseCreate);
358
+ const localVarPath = `/v1/aiResponses`;
359
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
360
+ let baseOptions;
361
+ if (configuration) {
362
+ baseOptions = configuration.baseOptions;
363
+ }
364
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
365
+ const localVarHeaderParameter = {};
366
+ const localVarQueryParameter = {};
367
+ localVarHeaderParameter["Content-Type"] = "application/json";
368
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
369
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
370
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
371
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIAiResponseCreate, localVarRequestOptions, configuration);
372
+ return {
373
+ url: toPathString(localVarUrlObj),
374
+ options: localVarRequestOptions
375
+ };
376
+ }
377
+ };
378
+ };
379
+ var AiResponsesApiFp = function(configuration) {
380
+ const localVarAxiosParamCreator = AiResponsesApiAxiosParamCreator(configuration);
381
+ return {
382
+ /**
383
+ * AiResponses Create
384
+ * @summary AiResponses Create
385
+ * @param {APIAiResponseCreate} aPIAiResponseCreate
386
+ * @param {*} [options] Override http request option.
387
+ * @throws {RequiredError}
388
+ */
389
+ async aiResponsesCreate(aPIAiResponseCreate, options) {
390
+ const localVarAxiosArgs = await localVarAxiosParamCreator.aiResponsesCreate(aPIAiResponseCreate, options);
391
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
392
+ const localVarOperationServerBasePath = operationServerMap["AiResponsesApi.aiResponsesCreate"]?.[localVarOperationServerIndex]?.url;
393
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
394
+ }
395
+ };
396
+ };
397
+ var AiResponsesApiFactory = function(configuration, basePath, axios) {
398
+ const localVarFp = AiResponsesApiFp(configuration);
399
+ return {
400
+ /**
401
+ * AiResponses Create
402
+ * @summary AiResponses Create
403
+ * @param {APIAiResponseCreate} aPIAiResponseCreate
404
+ * @param {*} [options] Override http request option.
405
+ * @throws {RequiredError}
406
+ */
407
+ aiResponsesCreate(aPIAiResponseCreate, options) {
408
+ return localVarFp.aiResponsesCreate(aPIAiResponseCreate, options).then((request) => request(axios, basePath));
409
+ }
410
+ };
411
+ };
412
+ var AiResponsesApi = class extends BaseAPI {
413
+ /**
414
+ * AiResponses Create
415
+ * @summary AiResponses Create
416
+ * @param {APIAiResponseCreate} aPIAiResponseCreate
417
+ * @param {*} [options] Override http request option.
418
+ * @throws {RequiredError}
419
+ * @memberof AiResponsesApi
420
+ */
421
+ aiResponsesCreate(aPIAiResponseCreate, options) {
422
+ return AiResponsesApiFp(this.configuration).aiResponsesCreate(aPIAiResponseCreate, options).then((request) => request(this.axios, this.basePath));
423
+ }
424
+ };
324
425
  var AuthApiAxiosParamCreator = function(configuration) {
325
426
  return {
326
427
  /**
@@ -2540,196 +2641,192 @@ var InquiriesApi = class extends BaseAPI {
2540
2641
  return InquiriesApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
2541
2642
  }
2542
2643
  };
2543
- var ListingsApiAxiosParamCreator = function(configuration) {
2644
+ var ListingContentApiAxiosParamCreator = function(configuration) {
2544
2645
  return {
2545
2646
  /**
2546
- * Listings Get
2547
- * @summary Listings Get
2647
+ * Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
2648
+ * @summary Generate Listing Content Upload Url
2548
2649
  * @param {string} listingId
2650
+ * @param {UploadURLRequest} uploadURLRequest
2549
2651
  * @param {*} [options] Override http request option.
2550
2652
  * @throws {RequiredError}
2551
2653
  */
2552
- listingsGet: async (listingId, options = {}) => {
2553
- assertParamExists("listingsGet", "listingId", listingId);
2554
- const localVarPath = `/v1/listings/{listingId}`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
2654
+ generateListingContentUploadURL: async (listingId, uploadURLRequest, options = {}) => {
2655
+ assertParamExists("generateListingContentUploadURL", "listingId", listingId);
2656
+ assertParamExists("generateListingContentUploadURL", "uploadURLRequest", uploadURLRequest);
2657
+ const localVarPath = `/v1/listings/{listing_id}/listing_content/upload-url`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
2555
2658
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2556
2659
  let baseOptions;
2557
2660
  if (configuration) {
2558
2661
  baseOptions = configuration.baseOptions;
2559
2662
  }
2560
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2663
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2561
2664
  const localVarHeaderParameter = {};
2562
2665
  const localVarQueryParameter = {};
2666
+ localVarHeaderParameter["Content-Type"] = "application/json";
2563
2667
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2564
2668
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2565
2669
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2670
+ localVarRequestOptions.data = serializeDataIfNeeded(uploadURLRequest, localVarRequestOptions, configuration);
2566
2671
  return {
2567
2672
  url: toPathString(localVarUrlObj),
2568
2673
  options: localVarRequestOptions
2569
2674
  };
2570
2675
  },
2571
2676
  /**
2572
- * Listings List
2573
- * @summary Listings List
2574
- * @param {string | null} [searchString]
2575
- * @param {string | null} [contactId]
2576
- * @param {string | null} [cursor] Cursor for keyset paging
2577
- * @param {number} [limit]
2578
- * @param {PaginationDirection} [pageDir] Direction of paging
2579
- * @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
2580
- * @param {SortOrder} [sortOrder] Sort order asc/desc
2677
+ * ListingContent Create
2678
+ * @summary ListingContent Create
2679
+ * @param {string} listingId
2680
+ * @param {APIListingContentCreate} aPIListingContentCreate
2581
2681
  * @param {*} [options] Override http request option.
2582
2682
  * @throws {RequiredError}
2583
2683
  */
2584
- listingsList: async (searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
2585
- const localVarPath = `/v1/listings`;
2684
+ listingContentCreate: async (listingId, aPIListingContentCreate, options = {}) => {
2685
+ assertParamExists("listingContentCreate", "listingId", listingId);
2686
+ assertParamExists("listingContentCreate", "aPIListingContentCreate", aPIListingContentCreate);
2687
+ const localVarPath = `/v1/listings/{listingId}/listingContent`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
2586
2688
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2587
2689
  let baseOptions;
2588
2690
  if (configuration) {
2589
2691
  baseOptions = configuration.baseOptions;
2590
2692
  }
2591
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2693
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2592
2694
  const localVarHeaderParameter = {};
2593
2695
  const localVarQueryParameter = {};
2594
- if (searchString !== void 0) {
2595
- localVarQueryParameter["searchString"] = searchString;
2596
- }
2597
- if (contactId !== void 0) {
2598
- localVarQueryParameter["contactId"] = contactId;
2599
- }
2600
- if (cursor !== void 0) {
2601
- localVarQueryParameter["cursor"] = cursor;
2602
- }
2603
- if (limit !== void 0) {
2604
- localVarQueryParameter["limit"] = limit;
2605
- }
2606
- if (pageDir !== void 0) {
2607
- localVarQueryParameter["pageDir"] = pageDir;
2608
- }
2609
- if (sortBy !== void 0) {
2610
- localVarQueryParameter["sortBy"] = sortBy;
2611
- }
2612
- if (sortOrder !== void 0) {
2613
- localVarQueryParameter["sortOrder"] = sortOrder;
2614
- }
2696
+ localVarHeaderParameter["Content-Type"] = "application/json";
2615
2697
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2616
2698
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2617
2699
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2700
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentCreate, localVarRequestOptions, configuration);
2618
2701
  return {
2619
2702
  url: toPathString(localVarUrlObj),
2620
2703
  options: localVarRequestOptions
2621
2704
  };
2622
- }
2623
- };
2624
- };
2625
- var ListingsApiFp = function(configuration) {
2626
- const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
2627
- return {
2705
+ },
2628
2706
  /**
2629
- * Listings Get
2630
- * @summary Listings Get
2631
- * @param {string} listingId
2707
+ * ListingContent Delete
2708
+ * @summary ListingContent Delete
2709
+ * @param {string} listingContentId
2632
2710
  * @param {*} [options] Override http request option.
2633
2711
  * @throws {RequiredError}
2634
2712
  */
2635
- async listingsGet(listingId, options) {
2636
- const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
2637
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2638
- const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingsGet"]?.[localVarOperationServerIndex]?.url;
2639
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2713
+ listingContentDelete: async (listingContentId, options = {}) => {
2714
+ assertParamExists("listingContentDelete", "listingContentId", listingContentId);
2715
+ const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
2716
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2717
+ let baseOptions;
2718
+ if (configuration) {
2719
+ baseOptions = configuration.baseOptions;
2720
+ }
2721
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2722
+ const localVarHeaderParameter = {};
2723
+ const localVarQueryParameter = {};
2724
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2725
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2726
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2727
+ return {
2728
+ url: toPathString(localVarUrlObj),
2729
+ options: localVarRequestOptions
2730
+ };
2640
2731
  },
2641
2732
  /**
2642
- * Listings List
2643
- * @summary Listings List
2644
- * @param {string | null} [searchString]
2645
- * @param {string | null} [contactId]
2646
- * @param {string | null} [cursor] Cursor for keyset paging
2647
- * @param {number} [limit]
2648
- * @param {PaginationDirection} [pageDir] Direction of paging
2649
- * @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
2650
- * @param {SortOrder} [sortOrder] Sort order asc/desc
2733
+ * ListingContent Get
2734
+ * @summary ListingContent Get
2735
+ * @param {string} listingContentId
2651
2736
  * @param {*} [options] Override http request option.
2652
2737
  * @throws {RequiredError}
2653
2738
  */
2654
- async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
2655
- const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
2656
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2657
- const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingsList"]?.[localVarOperationServerIndex]?.url;
2658
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2659
- }
2660
- };
2661
- };
2662
- var ListingsApiFactory = function(configuration, basePath, axios) {
2663
- const localVarFp = ListingsApiFp(configuration);
2664
- return {
2739
+ listingContentGet: async (listingContentId, options = {}) => {
2740
+ assertParamExists("listingContentGet", "listingContentId", listingContentId);
2741
+ const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
2742
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2743
+ let baseOptions;
2744
+ if (configuration) {
2745
+ baseOptions = configuration.baseOptions;
2746
+ }
2747
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2748
+ const localVarHeaderParameter = {};
2749
+ const localVarQueryParameter = {};
2750
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2751
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2752
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2753
+ return {
2754
+ url: toPathString(localVarUrlObj),
2755
+ options: localVarRequestOptions
2756
+ };
2757
+ },
2665
2758
  /**
2666
- * Listings Get
2667
- * @summary Listings Get
2668
- * @param {string} listingId
2759
+ * ListingContent List
2760
+ * @summary ListingContent List
2761
+ * @param {string} [listingId]
2762
+ * @param {string} [status] Filter by status: active, deleted, or all
2669
2763
  * @param {*} [options] Override http request option.
2670
2764
  * @throws {RequiredError}
2671
2765
  */
2672
- listingsGet(listingId, options) {
2673
- return localVarFp.listingsGet(listingId, options).then((request) => request(axios, basePath));
2766
+ listingContentList: async (listingId, status, options = {}) => {
2767
+ const localVarPath = `/v1/listingContent`;
2768
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2769
+ let baseOptions;
2770
+ if (configuration) {
2771
+ baseOptions = configuration.baseOptions;
2772
+ }
2773
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2774
+ const localVarHeaderParameter = {};
2775
+ const localVarQueryParameter = {};
2776
+ if (listingId !== void 0) {
2777
+ localVarQueryParameter["listingId"] = listingId;
2778
+ }
2779
+ if (status !== void 0) {
2780
+ localVarQueryParameter["status"] = status;
2781
+ }
2782
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2783
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2784
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2785
+ return {
2786
+ url: toPathString(localVarUrlObj),
2787
+ options: localVarRequestOptions
2788
+ };
2674
2789
  },
2675
2790
  /**
2676
- * Listings List
2677
- * @summary Listings List
2678
- * @param {string | null} [searchString]
2679
- * @param {string | null} [contactId]
2680
- * @param {string | null} [cursor] Cursor for keyset paging
2681
- * @param {number} [limit]
2682
- * @param {PaginationDirection} [pageDir] Direction of paging
2683
- * @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
2684
- * @param {SortOrder} [sortOrder] Sort order asc/desc
2791
+ * ListingContent Update
2792
+ * @summary ListingContent Update
2793
+ * @param {string} listingContentId
2794
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
2685
2795
  * @param {*} [options] Override http request option.
2686
2796
  * @throws {RequiredError}
2687
2797
  */
2688
- listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
2689
- return localVarFp.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
2690
- }
2691
- };
2692
- };
2693
- var ListingsApi = class extends BaseAPI {
2694
- /**
2695
- * Listings Get
2696
- * @summary Listings Get
2697
- * @param {string} listingId
2698
- * @param {*} [options] Override http request option.
2699
- * @throws {RequiredError}
2700
- * @memberof ListingsApi
2701
- */
2702
- listingsGet(listingId, options) {
2703
- return ListingsApiFp(this.configuration).listingsGet(listingId, options).then((request) => request(this.axios, this.basePath));
2704
- }
2705
- /**
2706
- * Listings List
2707
- * @summary Listings List
2708
- * @param {string | null} [searchString]
2709
- * @param {string | null} [contactId]
2710
- * @param {string | null} [cursor] Cursor for keyset paging
2711
- * @param {number} [limit]
2712
- * @param {PaginationDirection} [pageDir] Direction of paging
2713
- * @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
2714
- * @param {SortOrder} [sortOrder] Sort order asc/desc
2715
- * @param {*} [options] Override http request option.
2716
- * @throws {RequiredError}
2717
- * @memberof ListingsApi
2718
- */
2719
- listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
2720
- return ListingsApiFp(this.configuration).listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
2721
- }
2722
- };
2723
- var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
2724
- return {
2798
+ listingContentUpdate: async (listingContentId, aPIListingContentUpdate, options = {}) => {
2799
+ assertParamExists("listingContentUpdate", "listingContentId", listingContentId);
2800
+ assertParamExists("listingContentUpdate", "aPIListingContentUpdate", aPIListingContentUpdate);
2801
+ const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
2802
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2803
+ let baseOptions;
2804
+ if (configuration) {
2805
+ baseOptions = configuration.baseOptions;
2806
+ }
2807
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
2808
+ const localVarHeaderParameter = {};
2809
+ const localVarQueryParameter = {};
2810
+ localVarHeaderParameter["Content-Type"] = "application/json";
2811
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2812
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2813
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2814
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentUpdate, localVarRequestOptions, configuration);
2815
+ return {
2816
+ url: toPathString(localVarUrlObj),
2817
+ options: localVarRequestOptions
2818
+ };
2819
+ },
2725
2820
  /**
2726
- * ManagedPhoneNumbers List
2727
- * @summary ManagedPhoneNumbers List
2821
+ * ListingContentVersions Get
2822
+ * @summary ListingContentVersions Get
2823
+ * @param {string} listingContentVersionId
2728
2824
  * @param {*} [options] Override http request option.
2729
2825
  * @throws {RequiredError}
2730
2826
  */
2731
- managedPhoneNumbersList: async (options = {}) => {
2732
- const localVarPath = `/v1/managedPhoneNumbers`;
2827
+ listingContentVersionsGet: async (listingContentVersionId, options = {}) => {
2828
+ assertParamExists("listingContentVersionsGet", "listingContentVersionId", listingContentVersionId);
2829
+ const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
2733
2830
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2734
2831
  let baseOptions;
2735
2832
  if (configuration) {
@@ -2745,8 +2842,985 @@ var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
2745
2842
  url: toPathString(localVarUrlObj),
2746
2843
  options: localVarRequestOptions
2747
2844
  };
2748
- }
2749
- };
2845
+ },
2846
+ /**
2847
+ * ListingContentVersions Get
2848
+ * @summary ListingContentVersions Get
2849
+ * @param {string} listingContentVersionId
2850
+ * @param {*} [options] Override http request option.
2851
+ * @throws {RequiredError}
2852
+ */
2853
+ listingContentVersionsGet_1: async (listingContentVersionId, options = {}) => {
2854
+ assertParamExists("listingContentVersionsGet_1", "listingContentVersionId", listingContentVersionId);
2855
+ const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
2856
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2857
+ let baseOptions;
2858
+ if (configuration) {
2859
+ baseOptions = configuration.baseOptions;
2860
+ }
2861
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2862
+ const localVarHeaderParameter = {};
2863
+ const localVarQueryParameter = {};
2864
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2865
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2866
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2867
+ return {
2868
+ url: toPathString(localVarUrlObj),
2869
+ options: localVarRequestOptions
2870
+ };
2871
+ },
2872
+ /**
2873
+ * ListingContentVersions List
2874
+ * @summary ListingContentVersions List
2875
+ * @param {string} [listingContentId]
2876
+ * @param {*} [options] Override http request option.
2877
+ * @throws {RequiredError}
2878
+ */
2879
+ listingContentVersionsList: async (listingContentId, options = {}) => {
2880
+ const localVarPath = `/v1/listingContentVersions`;
2881
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2882
+ let baseOptions;
2883
+ if (configuration) {
2884
+ baseOptions = configuration.baseOptions;
2885
+ }
2886
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2887
+ const localVarHeaderParameter = {};
2888
+ const localVarQueryParameter = {};
2889
+ if (listingContentId !== void 0) {
2890
+ localVarQueryParameter["listingContentId"] = listingContentId;
2891
+ }
2892
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2893
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2894
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2895
+ return {
2896
+ url: toPathString(localVarUrlObj),
2897
+ options: localVarRequestOptions
2898
+ };
2899
+ },
2900
+ /**
2901
+ * ListingContentVersions List
2902
+ * @summary ListingContentVersions List
2903
+ * @param {string} [listingContentId]
2904
+ * @param {*} [options] Override http request option.
2905
+ * @throws {RequiredError}
2906
+ */
2907
+ listingContentVersionsList_2: async (listingContentId, options = {}) => {
2908
+ const localVarPath = `/v1/listingContentVersions`;
2909
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2910
+ let baseOptions;
2911
+ if (configuration) {
2912
+ baseOptions = configuration.baseOptions;
2913
+ }
2914
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2915
+ const localVarHeaderParameter = {};
2916
+ const localVarQueryParameter = {};
2917
+ if (listingContentId !== void 0) {
2918
+ localVarQueryParameter["listingContentId"] = listingContentId;
2919
+ }
2920
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2921
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2922
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2923
+ return {
2924
+ url: toPathString(localVarUrlObj),
2925
+ options: localVarRequestOptions
2926
+ };
2927
+ }
2928
+ };
2929
+ };
2930
+ var ListingContentApiFp = function(configuration) {
2931
+ const localVarAxiosParamCreator = ListingContentApiAxiosParamCreator(configuration);
2932
+ return {
2933
+ /**
2934
+ * Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
2935
+ * @summary Generate Listing Content Upload Url
2936
+ * @param {string} listingId
2937
+ * @param {UploadURLRequest} uploadURLRequest
2938
+ * @param {*} [options] Override http request option.
2939
+ * @throws {RequiredError}
2940
+ */
2941
+ async generateListingContentUploadURL(listingId, uploadURLRequest, options) {
2942
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generateListingContentUploadURL(listingId, uploadURLRequest, options);
2943
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2944
+ const localVarOperationServerBasePath = operationServerMap["ListingContentApi.generateListingContentUploadURL"]?.[localVarOperationServerIndex]?.url;
2945
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2946
+ },
2947
+ /**
2948
+ * ListingContent Create
2949
+ * @summary ListingContent Create
2950
+ * @param {string} listingId
2951
+ * @param {APIListingContentCreate} aPIListingContentCreate
2952
+ * @param {*} [options] Override http request option.
2953
+ * @throws {RequiredError}
2954
+ */
2955
+ async listingContentCreate(listingId, aPIListingContentCreate, options) {
2956
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentCreate(listingId, aPIListingContentCreate, options);
2957
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2958
+ const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentCreate"]?.[localVarOperationServerIndex]?.url;
2959
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2960
+ },
2961
+ /**
2962
+ * ListingContent Delete
2963
+ * @summary ListingContent Delete
2964
+ * @param {string} listingContentId
2965
+ * @param {*} [options] Override http request option.
2966
+ * @throws {RequiredError}
2967
+ */
2968
+ async listingContentDelete(listingContentId, options) {
2969
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentDelete(listingContentId, options);
2970
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2971
+ const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentDelete"]?.[localVarOperationServerIndex]?.url;
2972
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2973
+ },
2974
+ /**
2975
+ * ListingContent Get
2976
+ * @summary ListingContent Get
2977
+ * @param {string} listingContentId
2978
+ * @param {*} [options] Override http request option.
2979
+ * @throws {RequiredError}
2980
+ */
2981
+ async listingContentGet(listingContentId, options) {
2982
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentGet(listingContentId, options);
2983
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2984
+ const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentGet"]?.[localVarOperationServerIndex]?.url;
2985
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2986
+ },
2987
+ /**
2988
+ * ListingContent List
2989
+ * @summary ListingContent List
2990
+ * @param {string} [listingId]
2991
+ * @param {string} [status] Filter by status: active, deleted, or all
2992
+ * @param {*} [options] Override http request option.
2993
+ * @throws {RequiredError}
2994
+ */
2995
+ async listingContentList(listingId, status, options) {
2996
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentList(listingId, status, options);
2997
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2998
+ const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentList"]?.[localVarOperationServerIndex]?.url;
2999
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3000
+ },
3001
+ /**
3002
+ * ListingContent Update
3003
+ * @summary ListingContent Update
3004
+ * @param {string} listingContentId
3005
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
3006
+ * @param {*} [options] Override http request option.
3007
+ * @throws {RequiredError}
3008
+ */
3009
+ async listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
3010
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentUpdate(listingContentId, aPIListingContentUpdate, options);
3011
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3012
+ const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentUpdate"]?.[localVarOperationServerIndex]?.url;
3013
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3014
+ },
3015
+ /**
3016
+ * ListingContentVersions Get
3017
+ * @summary ListingContentVersions Get
3018
+ * @param {string} listingContentVersionId
3019
+ * @param {*} [options] Override http request option.
3020
+ * @throws {RequiredError}
3021
+ */
3022
+ async listingContentVersionsGet(listingContentVersionId, options) {
3023
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsGet(listingContentVersionId, options);
3024
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3025
+ const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentVersionsGet"]?.[localVarOperationServerIndex]?.url;
3026
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3027
+ },
3028
+ /**
3029
+ * ListingContentVersions Get
3030
+ * @summary ListingContentVersions Get
3031
+ * @param {string} listingContentVersionId
3032
+ * @param {*} [options] Override http request option.
3033
+ * @throws {RequiredError}
3034
+ */
3035
+ async listingContentVersionsGet_1(listingContentVersionId, options) {
3036
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsGet_1(listingContentVersionId, options);
3037
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3038
+ const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentVersionsGet_1"]?.[localVarOperationServerIndex]?.url;
3039
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3040
+ },
3041
+ /**
3042
+ * ListingContentVersions List
3043
+ * @summary ListingContentVersions List
3044
+ * @param {string} [listingContentId]
3045
+ * @param {*} [options] Override http request option.
3046
+ * @throws {RequiredError}
3047
+ */
3048
+ async listingContentVersionsList(listingContentId, options) {
3049
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsList(listingContentId, options);
3050
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3051
+ const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentVersionsList"]?.[localVarOperationServerIndex]?.url;
3052
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3053
+ },
3054
+ /**
3055
+ * ListingContentVersions List
3056
+ * @summary ListingContentVersions List
3057
+ * @param {string} [listingContentId]
3058
+ * @param {*} [options] Override http request option.
3059
+ * @throws {RequiredError}
3060
+ */
3061
+ async listingContentVersionsList_2(listingContentId, options) {
3062
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsList_2(listingContentId, options);
3063
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3064
+ const localVarOperationServerBasePath = operationServerMap["ListingContentApi.listingContentVersionsList_2"]?.[localVarOperationServerIndex]?.url;
3065
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3066
+ }
3067
+ };
3068
+ };
3069
+ var ListingContentApiFactory = function(configuration, basePath, axios) {
3070
+ const localVarFp = ListingContentApiFp(configuration);
3071
+ return {
3072
+ /**
3073
+ * Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
3074
+ * @summary Generate Listing Content Upload Url
3075
+ * @param {string} listingId
3076
+ * @param {UploadURLRequest} uploadURLRequest
3077
+ * @param {*} [options] Override http request option.
3078
+ * @throws {RequiredError}
3079
+ */
3080
+ generateListingContentUploadURL(listingId, uploadURLRequest, options) {
3081
+ return localVarFp.generateListingContentUploadURL(listingId, uploadURLRequest, options).then((request) => request(axios, basePath));
3082
+ },
3083
+ /**
3084
+ * ListingContent Create
3085
+ * @summary ListingContent Create
3086
+ * @param {string} listingId
3087
+ * @param {APIListingContentCreate} aPIListingContentCreate
3088
+ * @param {*} [options] Override http request option.
3089
+ * @throws {RequiredError}
3090
+ */
3091
+ listingContentCreate(listingId, aPIListingContentCreate, options) {
3092
+ return localVarFp.listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(axios, basePath));
3093
+ },
3094
+ /**
3095
+ * ListingContent Delete
3096
+ * @summary ListingContent Delete
3097
+ * @param {string} listingContentId
3098
+ * @param {*} [options] Override http request option.
3099
+ * @throws {RequiredError}
3100
+ */
3101
+ listingContentDelete(listingContentId, options) {
3102
+ return localVarFp.listingContentDelete(listingContentId, options).then((request) => request(axios, basePath));
3103
+ },
3104
+ /**
3105
+ * ListingContent Get
3106
+ * @summary ListingContent Get
3107
+ * @param {string} listingContentId
3108
+ * @param {*} [options] Override http request option.
3109
+ * @throws {RequiredError}
3110
+ */
3111
+ listingContentGet(listingContentId, options) {
3112
+ return localVarFp.listingContentGet(listingContentId, options).then((request) => request(axios, basePath));
3113
+ },
3114
+ /**
3115
+ * ListingContent List
3116
+ * @summary ListingContent List
3117
+ * @param {string} [listingId]
3118
+ * @param {string} [status] Filter by status: active, deleted, or all
3119
+ * @param {*} [options] Override http request option.
3120
+ * @throws {RequiredError}
3121
+ */
3122
+ listingContentList(listingId, status, options) {
3123
+ return localVarFp.listingContentList(listingId, status, options).then((request) => request(axios, basePath));
3124
+ },
3125
+ /**
3126
+ * ListingContent Update
3127
+ * @summary ListingContent Update
3128
+ * @param {string} listingContentId
3129
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
3130
+ * @param {*} [options] Override http request option.
3131
+ * @throws {RequiredError}
3132
+ */
3133
+ listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
3134
+ return localVarFp.listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(axios, basePath));
3135
+ },
3136
+ /**
3137
+ * ListingContentVersions Get
3138
+ * @summary ListingContentVersions Get
3139
+ * @param {string} listingContentVersionId
3140
+ * @param {*} [options] Override http request option.
3141
+ * @throws {RequiredError}
3142
+ */
3143
+ listingContentVersionsGet(listingContentVersionId, options) {
3144
+ return localVarFp.listingContentVersionsGet(listingContentVersionId, options).then((request) => request(axios, basePath));
3145
+ },
3146
+ /**
3147
+ * ListingContentVersions Get
3148
+ * @summary ListingContentVersions Get
3149
+ * @param {string} listingContentVersionId
3150
+ * @param {*} [options] Override http request option.
3151
+ * @throws {RequiredError}
3152
+ */
3153
+ listingContentVersionsGet_1(listingContentVersionId, options) {
3154
+ return localVarFp.listingContentVersionsGet_1(listingContentVersionId, options).then((request) => request(axios, basePath));
3155
+ },
3156
+ /**
3157
+ * ListingContentVersions List
3158
+ * @summary ListingContentVersions List
3159
+ * @param {string} [listingContentId]
3160
+ * @param {*} [options] Override http request option.
3161
+ * @throws {RequiredError}
3162
+ */
3163
+ listingContentVersionsList(listingContentId, options) {
3164
+ return localVarFp.listingContentVersionsList(listingContentId, options).then((request) => request(axios, basePath));
3165
+ },
3166
+ /**
3167
+ * ListingContentVersions List
3168
+ * @summary ListingContentVersions List
3169
+ * @param {string} [listingContentId]
3170
+ * @param {*} [options] Override http request option.
3171
+ * @throws {RequiredError}
3172
+ */
3173
+ listingContentVersionsList_2(listingContentId, options) {
3174
+ return localVarFp.listingContentVersionsList_2(listingContentId, options).then((request) => request(axios, basePath));
3175
+ }
3176
+ };
3177
+ };
3178
+ var ListingContentApi = class extends BaseAPI {
3179
+ /**
3180
+ * Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
3181
+ * @summary Generate Listing Content Upload Url
3182
+ * @param {string} listingId
3183
+ * @param {UploadURLRequest} uploadURLRequest
3184
+ * @param {*} [options] Override http request option.
3185
+ * @throws {RequiredError}
3186
+ * @memberof ListingContentApi
3187
+ */
3188
+ generateListingContentUploadURL(listingId, uploadURLRequest, options) {
3189
+ return ListingContentApiFp(this.configuration).generateListingContentUploadURL(listingId, uploadURLRequest, options).then((request) => request(this.axios, this.basePath));
3190
+ }
3191
+ /**
3192
+ * ListingContent Create
3193
+ * @summary ListingContent Create
3194
+ * @param {string} listingId
3195
+ * @param {APIListingContentCreate} aPIListingContentCreate
3196
+ * @param {*} [options] Override http request option.
3197
+ * @throws {RequiredError}
3198
+ * @memberof ListingContentApi
3199
+ */
3200
+ listingContentCreate(listingId, aPIListingContentCreate, options) {
3201
+ return ListingContentApiFp(this.configuration).listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(this.axios, this.basePath));
3202
+ }
3203
+ /**
3204
+ * ListingContent Delete
3205
+ * @summary ListingContent Delete
3206
+ * @param {string} listingContentId
3207
+ * @param {*} [options] Override http request option.
3208
+ * @throws {RequiredError}
3209
+ * @memberof ListingContentApi
3210
+ */
3211
+ listingContentDelete(listingContentId, options) {
3212
+ return ListingContentApiFp(this.configuration).listingContentDelete(listingContentId, options).then((request) => request(this.axios, this.basePath));
3213
+ }
3214
+ /**
3215
+ * ListingContent Get
3216
+ * @summary ListingContent Get
3217
+ * @param {string} listingContentId
3218
+ * @param {*} [options] Override http request option.
3219
+ * @throws {RequiredError}
3220
+ * @memberof ListingContentApi
3221
+ */
3222
+ listingContentGet(listingContentId, options) {
3223
+ return ListingContentApiFp(this.configuration).listingContentGet(listingContentId, options).then((request) => request(this.axios, this.basePath));
3224
+ }
3225
+ /**
3226
+ * ListingContent List
3227
+ * @summary ListingContent List
3228
+ * @param {string} [listingId]
3229
+ * @param {string} [status] Filter by status: active, deleted, or all
3230
+ * @param {*} [options] Override http request option.
3231
+ * @throws {RequiredError}
3232
+ * @memberof ListingContentApi
3233
+ */
3234
+ listingContentList(listingId, status, options) {
3235
+ return ListingContentApiFp(this.configuration).listingContentList(listingId, status, options).then((request) => request(this.axios, this.basePath));
3236
+ }
3237
+ /**
3238
+ * ListingContent Update
3239
+ * @summary ListingContent Update
3240
+ * @param {string} listingContentId
3241
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
3242
+ * @param {*} [options] Override http request option.
3243
+ * @throws {RequiredError}
3244
+ * @memberof ListingContentApi
3245
+ */
3246
+ listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
3247
+ return ListingContentApiFp(this.configuration).listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(this.axios, this.basePath));
3248
+ }
3249
+ /**
3250
+ * ListingContentVersions Get
3251
+ * @summary ListingContentVersions Get
3252
+ * @param {string} listingContentVersionId
3253
+ * @param {*} [options] Override http request option.
3254
+ * @throws {RequiredError}
3255
+ * @memberof ListingContentApi
3256
+ */
3257
+ listingContentVersionsGet(listingContentVersionId, options) {
3258
+ return ListingContentApiFp(this.configuration).listingContentVersionsGet(listingContentVersionId, options).then((request) => request(this.axios, this.basePath));
3259
+ }
3260
+ /**
3261
+ * ListingContentVersions Get
3262
+ * @summary ListingContentVersions Get
3263
+ * @param {string} listingContentVersionId
3264
+ * @param {*} [options] Override http request option.
3265
+ * @throws {RequiredError}
3266
+ * @memberof ListingContentApi
3267
+ */
3268
+ listingContentVersionsGet_1(listingContentVersionId, options) {
3269
+ return ListingContentApiFp(this.configuration).listingContentVersionsGet_1(listingContentVersionId, options).then((request) => request(this.axios, this.basePath));
3270
+ }
3271
+ /**
3272
+ * ListingContentVersions List
3273
+ * @summary ListingContentVersions List
3274
+ * @param {string} [listingContentId]
3275
+ * @param {*} [options] Override http request option.
3276
+ * @throws {RequiredError}
3277
+ * @memberof ListingContentApi
3278
+ */
3279
+ listingContentVersionsList(listingContentId, options) {
3280
+ return ListingContentApiFp(this.configuration).listingContentVersionsList(listingContentId, options).then((request) => request(this.axios, this.basePath));
3281
+ }
3282
+ /**
3283
+ * ListingContentVersions List
3284
+ * @summary ListingContentVersions List
3285
+ * @param {string} [listingContentId]
3286
+ * @param {*} [options] Override http request option.
3287
+ * @throws {RequiredError}
3288
+ * @memberof ListingContentApi
3289
+ */
3290
+ listingContentVersionsList_2(listingContentId, options) {
3291
+ return ListingContentApiFp(this.configuration).listingContentVersionsList_2(listingContentId, options).then((request) => request(this.axios, this.basePath));
3292
+ }
3293
+ };
3294
+ var ListingsApiAxiosParamCreator = function(configuration) {
3295
+ return {
3296
+ /**
3297
+ * ListingContent Create
3298
+ * @summary ListingContent Create
3299
+ * @param {string} listingId
3300
+ * @param {APIListingContentCreate} aPIListingContentCreate
3301
+ * @param {*} [options] Override http request option.
3302
+ * @throws {RequiredError}
3303
+ */
3304
+ listingContentCreate: async (listingId, aPIListingContentCreate, options = {}) => {
3305
+ assertParamExists("listingContentCreate", "listingId", listingId);
3306
+ assertParamExists("listingContentCreate", "aPIListingContentCreate", aPIListingContentCreate);
3307
+ const localVarPath = `/v1/listings/{listingId}/listingContent`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
3308
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3309
+ let baseOptions;
3310
+ if (configuration) {
3311
+ baseOptions = configuration.baseOptions;
3312
+ }
3313
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
3314
+ const localVarHeaderParameter = {};
3315
+ const localVarQueryParameter = {};
3316
+ localVarHeaderParameter["Content-Type"] = "application/json";
3317
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3318
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3319
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3320
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentCreate, localVarRequestOptions, configuration);
3321
+ return {
3322
+ url: toPathString(localVarUrlObj),
3323
+ options: localVarRequestOptions
3324
+ };
3325
+ },
3326
+ /**
3327
+ * ListingContent Delete
3328
+ * @summary ListingContent Delete
3329
+ * @param {string} listingContentId
3330
+ * @param {*} [options] Override http request option.
3331
+ * @throws {RequiredError}
3332
+ */
3333
+ listingContentDelete: async (listingContentId, options = {}) => {
3334
+ assertParamExists("listingContentDelete", "listingContentId", listingContentId);
3335
+ const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
3336
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3337
+ let baseOptions;
3338
+ if (configuration) {
3339
+ baseOptions = configuration.baseOptions;
3340
+ }
3341
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
3342
+ const localVarHeaderParameter = {};
3343
+ const localVarQueryParameter = {};
3344
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3345
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3346
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3347
+ return {
3348
+ url: toPathString(localVarUrlObj),
3349
+ options: localVarRequestOptions
3350
+ };
3351
+ },
3352
+ /**
3353
+ * ListingContent Get
3354
+ * @summary ListingContent Get
3355
+ * @param {string} listingContentId
3356
+ * @param {*} [options] Override http request option.
3357
+ * @throws {RequiredError}
3358
+ */
3359
+ listingContentGet: async (listingContentId, options = {}) => {
3360
+ assertParamExists("listingContentGet", "listingContentId", listingContentId);
3361
+ const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
3362
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3363
+ let baseOptions;
3364
+ if (configuration) {
3365
+ baseOptions = configuration.baseOptions;
3366
+ }
3367
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3368
+ const localVarHeaderParameter = {};
3369
+ const localVarQueryParameter = {};
3370
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3371
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3372
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3373
+ return {
3374
+ url: toPathString(localVarUrlObj),
3375
+ options: localVarRequestOptions
3376
+ };
3377
+ },
3378
+ /**
3379
+ * ListingContent List
3380
+ * @summary ListingContent List
3381
+ * @param {string} [listingId]
3382
+ * @param {string} [status] Filter by status: active, deleted, or all
3383
+ * @param {*} [options] Override http request option.
3384
+ * @throws {RequiredError}
3385
+ */
3386
+ listingContentList: async (listingId, status, options = {}) => {
3387
+ const localVarPath = `/v1/listingContent`;
3388
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3389
+ let baseOptions;
3390
+ if (configuration) {
3391
+ baseOptions = configuration.baseOptions;
3392
+ }
3393
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3394
+ const localVarHeaderParameter = {};
3395
+ const localVarQueryParameter = {};
3396
+ if (listingId !== void 0) {
3397
+ localVarQueryParameter["listingId"] = listingId;
3398
+ }
3399
+ if (status !== void 0) {
3400
+ localVarQueryParameter["status"] = status;
3401
+ }
3402
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3403
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3404
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3405
+ return {
3406
+ url: toPathString(localVarUrlObj),
3407
+ options: localVarRequestOptions
3408
+ };
3409
+ },
3410
+ /**
3411
+ * ListingContent Update
3412
+ * @summary ListingContent Update
3413
+ * @param {string} listingContentId
3414
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
3415
+ * @param {*} [options] Override http request option.
3416
+ * @throws {RequiredError}
3417
+ */
3418
+ listingContentUpdate: async (listingContentId, aPIListingContentUpdate, options = {}) => {
3419
+ assertParamExists("listingContentUpdate", "listingContentId", listingContentId);
3420
+ assertParamExists("listingContentUpdate", "aPIListingContentUpdate", aPIListingContentUpdate);
3421
+ const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
3422
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3423
+ let baseOptions;
3424
+ if (configuration) {
3425
+ baseOptions = configuration.baseOptions;
3426
+ }
3427
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
3428
+ const localVarHeaderParameter = {};
3429
+ const localVarQueryParameter = {};
3430
+ localVarHeaderParameter["Content-Type"] = "application/json";
3431
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3432
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3433
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3434
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentUpdate, localVarRequestOptions, configuration);
3435
+ return {
3436
+ url: toPathString(localVarUrlObj),
3437
+ options: localVarRequestOptions
3438
+ };
3439
+ },
3440
+ /**
3441
+ * Listings Get
3442
+ * @summary Listings Get
3443
+ * @param {string} listingId
3444
+ * @param {*} [options] Override http request option.
3445
+ * @throws {RequiredError}
3446
+ */
3447
+ listingsGet: async (listingId, options = {}) => {
3448
+ assertParamExists("listingsGet", "listingId", listingId);
3449
+ const localVarPath = `/v1/listings/{listingId}`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
3450
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3451
+ let baseOptions;
3452
+ if (configuration) {
3453
+ baseOptions = configuration.baseOptions;
3454
+ }
3455
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3456
+ const localVarHeaderParameter = {};
3457
+ const localVarQueryParameter = {};
3458
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3459
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3460
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3461
+ return {
3462
+ url: toPathString(localVarUrlObj),
3463
+ options: localVarRequestOptions
3464
+ };
3465
+ },
3466
+ /**
3467
+ * Listings List
3468
+ * @summary Listings List
3469
+ * @param {string | null} [searchString]
3470
+ * @param {string | null} [contactId]
3471
+ * @param {string | null} [cursor] Cursor for keyset paging
3472
+ * @param {number} [limit]
3473
+ * @param {PaginationDirection} [pageDir] Direction of paging
3474
+ * @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
3475
+ * @param {SortOrder} [sortOrder] Sort order asc/desc
3476
+ * @param {*} [options] Override http request option.
3477
+ * @throws {RequiredError}
3478
+ */
3479
+ listingsList: async (searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
3480
+ const localVarPath = `/v1/listings`;
3481
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3482
+ let baseOptions;
3483
+ if (configuration) {
3484
+ baseOptions = configuration.baseOptions;
3485
+ }
3486
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3487
+ const localVarHeaderParameter = {};
3488
+ const localVarQueryParameter = {};
3489
+ if (searchString !== void 0) {
3490
+ localVarQueryParameter["searchString"] = searchString;
3491
+ }
3492
+ if (contactId !== void 0) {
3493
+ localVarQueryParameter["contactId"] = contactId;
3494
+ }
3495
+ if (cursor !== void 0) {
3496
+ localVarQueryParameter["cursor"] = cursor;
3497
+ }
3498
+ if (limit !== void 0) {
3499
+ localVarQueryParameter["limit"] = limit;
3500
+ }
3501
+ if (pageDir !== void 0) {
3502
+ localVarQueryParameter["pageDir"] = pageDir;
3503
+ }
3504
+ if (sortBy !== void 0) {
3505
+ localVarQueryParameter["sortBy"] = sortBy;
3506
+ }
3507
+ if (sortOrder !== void 0) {
3508
+ localVarQueryParameter["sortOrder"] = sortOrder;
3509
+ }
3510
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3511
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3512
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3513
+ return {
3514
+ url: toPathString(localVarUrlObj),
3515
+ options: localVarRequestOptions
3516
+ };
3517
+ }
3518
+ };
3519
+ };
3520
+ var ListingsApiFp = function(configuration) {
3521
+ const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
3522
+ return {
3523
+ /**
3524
+ * ListingContent Create
3525
+ * @summary ListingContent Create
3526
+ * @param {string} listingId
3527
+ * @param {APIListingContentCreate} aPIListingContentCreate
3528
+ * @param {*} [options] Override http request option.
3529
+ * @throws {RequiredError}
3530
+ */
3531
+ async listingContentCreate(listingId, aPIListingContentCreate, options) {
3532
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentCreate(listingId, aPIListingContentCreate, options);
3533
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3534
+ const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingContentCreate"]?.[localVarOperationServerIndex]?.url;
3535
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3536
+ },
3537
+ /**
3538
+ * ListingContent Delete
3539
+ * @summary ListingContent Delete
3540
+ * @param {string} listingContentId
3541
+ * @param {*} [options] Override http request option.
3542
+ * @throws {RequiredError}
3543
+ */
3544
+ async listingContentDelete(listingContentId, options) {
3545
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentDelete(listingContentId, options);
3546
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3547
+ const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingContentDelete"]?.[localVarOperationServerIndex]?.url;
3548
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3549
+ },
3550
+ /**
3551
+ * ListingContent Get
3552
+ * @summary ListingContent Get
3553
+ * @param {string} listingContentId
3554
+ * @param {*} [options] Override http request option.
3555
+ * @throws {RequiredError}
3556
+ */
3557
+ async listingContentGet(listingContentId, options) {
3558
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentGet(listingContentId, options);
3559
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3560
+ const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingContentGet"]?.[localVarOperationServerIndex]?.url;
3561
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3562
+ },
3563
+ /**
3564
+ * ListingContent List
3565
+ * @summary ListingContent List
3566
+ * @param {string} [listingId]
3567
+ * @param {string} [status] Filter by status: active, deleted, or all
3568
+ * @param {*} [options] Override http request option.
3569
+ * @throws {RequiredError}
3570
+ */
3571
+ async listingContentList(listingId, status, options) {
3572
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentList(listingId, status, options);
3573
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3574
+ const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingContentList"]?.[localVarOperationServerIndex]?.url;
3575
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3576
+ },
3577
+ /**
3578
+ * ListingContent Update
3579
+ * @summary ListingContent Update
3580
+ * @param {string} listingContentId
3581
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
3582
+ * @param {*} [options] Override http request option.
3583
+ * @throws {RequiredError}
3584
+ */
3585
+ async listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
3586
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentUpdate(listingContentId, aPIListingContentUpdate, options);
3587
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3588
+ const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingContentUpdate"]?.[localVarOperationServerIndex]?.url;
3589
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3590
+ },
3591
+ /**
3592
+ * Listings Get
3593
+ * @summary Listings Get
3594
+ * @param {string} listingId
3595
+ * @param {*} [options] Override http request option.
3596
+ * @throws {RequiredError}
3597
+ */
3598
+ async listingsGet(listingId, options) {
3599
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
3600
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3601
+ const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingsGet"]?.[localVarOperationServerIndex]?.url;
3602
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3603
+ },
3604
+ /**
3605
+ * Listings List
3606
+ * @summary Listings List
3607
+ * @param {string | null} [searchString]
3608
+ * @param {string | null} [contactId]
3609
+ * @param {string | null} [cursor] Cursor for keyset paging
3610
+ * @param {number} [limit]
3611
+ * @param {PaginationDirection} [pageDir] Direction of paging
3612
+ * @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
3613
+ * @param {SortOrder} [sortOrder] Sort order asc/desc
3614
+ * @param {*} [options] Override http request option.
3615
+ * @throws {RequiredError}
3616
+ */
3617
+ async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
3618
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
3619
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3620
+ const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingsList"]?.[localVarOperationServerIndex]?.url;
3621
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3622
+ }
3623
+ };
3624
+ };
3625
+ var ListingsApiFactory = function(configuration, basePath, axios) {
3626
+ const localVarFp = ListingsApiFp(configuration);
3627
+ return {
3628
+ /**
3629
+ * ListingContent Create
3630
+ * @summary ListingContent Create
3631
+ * @param {string} listingId
3632
+ * @param {APIListingContentCreate} aPIListingContentCreate
3633
+ * @param {*} [options] Override http request option.
3634
+ * @throws {RequiredError}
3635
+ */
3636
+ listingContentCreate(listingId, aPIListingContentCreate, options) {
3637
+ return localVarFp.listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(axios, basePath));
3638
+ },
3639
+ /**
3640
+ * ListingContent Delete
3641
+ * @summary ListingContent Delete
3642
+ * @param {string} listingContentId
3643
+ * @param {*} [options] Override http request option.
3644
+ * @throws {RequiredError}
3645
+ */
3646
+ listingContentDelete(listingContentId, options) {
3647
+ return localVarFp.listingContentDelete(listingContentId, options).then((request) => request(axios, basePath));
3648
+ },
3649
+ /**
3650
+ * ListingContent Get
3651
+ * @summary ListingContent Get
3652
+ * @param {string} listingContentId
3653
+ * @param {*} [options] Override http request option.
3654
+ * @throws {RequiredError}
3655
+ */
3656
+ listingContentGet(listingContentId, options) {
3657
+ return localVarFp.listingContentGet(listingContentId, options).then((request) => request(axios, basePath));
3658
+ },
3659
+ /**
3660
+ * ListingContent List
3661
+ * @summary ListingContent List
3662
+ * @param {string} [listingId]
3663
+ * @param {string} [status] Filter by status: active, deleted, or all
3664
+ * @param {*} [options] Override http request option.
3665
+ * @throws {RequiredError}
3666
+ */
3667
+ listingContentList(listingId, status, options) {
3668
+ return localVarFp.listingContentList(listingId, status, options).then((request) => request(axios, basePath));
3669
+ },
3670
+ /**
3671
+ * ListingContent Update
3672
+ * @summary ListingContent Update
3673
+ * @param {string} listingContentId
3674
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
3675
+ * @param {*} [options] Override http request option.
3676
+ * @throws {RequiredError}
3677
+ */
3678
+ listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
3679
+ return localVarFp.listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(axios, basePath));
3680
+ },
3681
+ /**
3682
+ * Listings Get
3683
+ * @summary Listings Get
3684
+ * @param {string} listingId
3685
+ * @param {*} [options] Override http request option.
3686
+ * @throws {RequiredError}
3687
+ */
3688
+ listingsGet(listingId, options) {
3689
+ return localVarFp.listingsGet(listingId, options).then((request) => request(axios, basePath));
3690
+ },
3691
+ /**
3692
+ * Listings List
3693
+ * @summary Listings List
3694
+ * @param {string | null} [searchString]
3695
+ * @param {string | null} [contactId]
3696
+ * @param {string | null} [cursor] Cursor for keyset paging
3697
+ * @param {number} [limit]
3698
+ * @param {PaginationDirection} [pageDir] Direction of paging
3699
+ * @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
3700
+ * @param {SortOrder} [sortOrder] Sort order asc/desc
3701
+ * @param {*} [options] Override http request option.
3702
+ * @throws {RequiredError}
3703
+ */
3704
+ listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
3705
+ return localVarFp.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
3706
+ }
3707
+ };
3708
+ };
3709
+ var ListingsApi = class extends BaseAPI {
3710
+ /**
3711
+ * ListingContent Create
3712
+ * @summary ListingContent Create
3713
+ * @param {string} listingId
3714
+ * @param {APIListingContentCreate} aPIListingContentCreate
3715
+ * @param {*} [options] Override http request option.
3716
+ * @throws {RequiredError}
3717
+ * @memberof ListingsApi
3718
+ */
3719
+ listingContentCreate(listingId, aPIListingContentCreate, options) {
3720
+ return ListingsApiFp(this.configuration).listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(this.axios, this.basePath));
3721
+ }
3722
+ /**
3723
+ * ListingContent Delete
3724
+ * @summary ListingContent Delete
3725
+ * @param {string} listingContentId
3726
+ * @param {*} [options] Override http request option.
3727
+ * @throws {RequiredError}
3728
+ * @memberof ListingsApi
3729
+ */
3730
+ listingContentDelete(listingContentId, options) {
3731
+ return ListingsApiFp(this.configuration).listingContentDelete(listingContentId, options).then((request) => request(this.axios, this.basePath));
3732
+ }
3733
+ /**
3734
+ * ListingContent Get
3735
+ * @summary ListingContent Get
3736
+ * @param {string} listingContentId
3737
+ * @param {*} [options] Override http request option.
3738
+ * @throws {RequiredError}
3739
+ * @memberof ListingsApi
3740
+ */
3741
+ listingContentGet(listingContentId, options) {
3742
+ return ListingsApiFp(this.configuration).listingContentGet(listingContentId, options).then((request) => request(this.axios, this.basePath));
3743
+ }
3744
+ /**
3745
+ * ListingContent List
3746
+ * @summary ListingContent List
3747
+ * @param {string} [listingId]
3748
+ * @param {string} [status] Filter by status: active, deleted, or all
3749
+ * @param {*} [options] Override http request option.
3750
+ * @throws {RequiredError}
3751
+ * @memberof ListingsApi
3752
+ */
3753
+ listingContentList(listingId, status, options) {
3754
+ return ListingsApiFp(this.configuration).listingContentList(listingId, status, options).then((request) => request(this.axios, this.basePath));
3755
+ }
3756
+ /**
3757
+ * ListingContent Update
3758
+ * @summary ListingContent Update
3759
+ * @param {string} listingContentId
3760
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
3761
+ * @param {*} [options] Override http request option.
3762
+ * @throws {RequiredError}
3763
+ * @memberof ListingsApi
3764
+ */
3765
+ listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
3766
+ return ListingsApiFp(this.configuration).listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(this.axios, this.basePath));
3767
+ }
3768
+ /**
3769
+ * Listings Get
3770
+ * @summary Listings Get
3771
+ * @param {string} listingId
3772
+ * @param {*} [options] Override http request option.
3773
+ * @throws {RequiredError}
3774
+ * @memberof ListingsApi
3775
+ */
3776
+ listingsGet(listingId, options) {
3777
+ return ListingsApiFp(this.configuration).listingsGet(listingId, options).then((request) => request(this.axios, this.basePath));
3778
+ }
3779
+ /**
3780
+ * Listings List
3781
+ * @summary Listings List
3782
+ * @param {string | null} [searchString]
3783
+ * @param {string | null} [contactId]
3784
+ * @param {string | null} [cursor] Cursor for keyset paging
3785
+ * @param {number} [limit]
3786
+ * @param {PaginationDirection} [pageDir] Direction of paging
3787
+ * @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
3788
+ * @param {SortOrder} [sortOrder] Sort order asc/desc
3789
+ * @param {*} [options] Override http request option.
3790
+ * @throws {RequiredError}
3791
+ * @memberof ListingsApi
3792
+ */
3793
+ listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
3794
+ return ListingsApiFp(this.configuration).listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
3795
+ }
3796
+ };
3797
+ var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
3798
+ return {
3799
+ /**
3800
+ * ManagedPhoneNumbers List
3801
+ * @summary ManagedPhoneNumbers List
3802
+ * @param {*} [options] Override http request option.
3803
+ * @throws {RequiredError}
3804
+ */
3805
+ managedPhoneNumbersList: async (options = {}) => {
3806
+ const localVarPath = `/v1/managedPhoneNumbers`;
3807
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3808
+ let baseOptions;
3809
+ if (configuration) {
3810
+ baseOptions = configuration.baseOptions;
3811
+ }
3812
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3813
+ const localVarHeaderParameter = {};
3814
+ const localVarQueryParameter = {};
3815
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3816
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3817
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3818
+ return {
3819
+ url: toPathString(localVarUrlObj),
3820
+ options: localVarRequestOptions
3821
+ };
3822
+ }
3823
+ };
2750
3824
  };
2751
3825
  var ManagedPhoneNumbersApiFp = function(configuration) {
2752
3826
  const localVarAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator(configuration);
@@ -3447,6 +4521,34 @@ var UnboundApiAxiosParamCreator = function(configuration) {
3447
4521
  options: localVarRequestOptions
3448
4522
  };
3449
4523
  },
4524
+ /**
4525
+ * AiResponses Create
4526
+ * @summary AiResponses Create
4527
+ * @param {APIAiResponseCreate} aPIAiResponseCreate
4528
+ * @param {*} [options] Override http request option.
4529
+ * @throws {RequiredError}
4530
+ */
4531
+ aiResponsesCreate: async (aPIAiResponseCreate, options = {}) => {
4532
+ assertParamExists("aiResponsesCreate", "aPIAiResponseCreate", aPIAiResponseCreate);
4533
+ const localVarPath = `/v1/aiResponses`;
4534
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4535
+ let baseOptions;
4536
+ if (configuration) {
4537
+ baseOptions = configuration.baseOptions;
4538
+ }
4539
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
4540
+ const localVarHeaderParameter = {};
4541
+ const localVarQueryParameter = {};
4542
+ localVarHeaderParameter["Content-Type"] = "application/json";
4543
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4544
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4545
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4546
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIAiResponseCreate, localVarRequestOptions, configuration);
4547
+ return {
4548
+ url: toPathString(localVarUrlObj),
4549
+ options: localVarRequestOptions
4550
+ };
4551
+ },
3450
4552
  /**
3451
4553
  * Associates a contact with a listing with the OWNER type.
3452
4554
  * @summary Create Contact Listing
@@ -3814,47 +4916,265 @@ var UnboundApiAxiosParamCreator = function(configuration) {
3814
4916
  };
3815
4917
  },
3816
4918
  /**
3817
- * Conversations Update
3818
- * @summary Conversations Update
3819
- * @param {string} conversationId
3820
- * @param {APIConversationUpdate} aPIConversationUpdate
4919
+ * Conversations Update
4920
+ * @summary Conversations Update
4921
+ * @param {string} conversationId
4922
+ * @param {APIConversationUpdate} aPIConversationUpdate
4923
+ * @param {*} [options] Override http request option.
4924
+ * @throws {RequiredError}
4925
+ */
4926
+ conversationsUpdate: async (conversationId, aPIConversationUpdate, options = {}) => {
4927
+ assertParamExists("conversationsUpdate", "conversationId", conversationId);
4928
+ assertParamExists("conversationsUpdate", "aPIConversationUpdate", aPIConversationUpdate);
4929
+ const localVarPath = `/v1/conversations/{conversationId}`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
4930
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4931
+ let baseOptions;
4932
+ if (configuration) {
4933
+ baseOptions = configuration.baseOptions;
4934
+ }
4935
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
4936
+ const localVarHeaderParameter = {};
4937
+ const localVarQueryParameter = {};
4938
+ localVarHeaderParameter["Content-Type"] = "application/json";
4939
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4940
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4941
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4942
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationUpdate, localVarRequestOptions, configuration);
4943
+ return {
4944
+ url: toPathString(localVarUrlObj),
4945
+ options: localVarRequestOptions
4946
+ };
4947
+ },
4948
+ /**
4949
+ * Emails Create
4950
+ * @summary Emails Create
4951
+ * @param {string} contactId
4952
+ * @param {APIEmailCreate} aPIEmailCreate
4953
+ * @param {*} [options] Override http request option.
4954
+ * @throws {RequiredError}
4955
+ */
4956
+ emailsCreate: async (contactId, aPIEmailCreate, options = {}) => {
4957
+ assertParamExists("emailsCreate", "contactId", contactId);
4958
+ assertParamExists("emailsCreate", "aPIEmailCreate", aPIEmailCreate);
4959
+ const localVarPath = `/v1/contacts/{contactId}/emails`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
4960
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4961
+ let baseOptions;
4962
+ if (configuration) {
4963
+ baseOptions = configuration.baseOptions;
4964
+ }
4965
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
4966
+ const localVarHeaderParameter = {};
4967
+ const localVarQueryParameter = {};
4968
+ localVarHeaderParameter["Content-Type"] = "application/json";
4969
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4970
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4971
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4972
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIEmailCreate, localVarRequestOptions, configuration);
4973
+ return {
4974
+ url: toPathString(localVarUrlObj),
4975
+ options: localVarRequestOptions
4976
+ };
4977
+ },
4978
+ /**
4979
+ * Emails Delete
4980
+ * @summary Emails Delete
4981
+ * @param {string} emailId
4982
+ * @param {*} [options] Override http request option.
4983
+ * @throws {RequiredError}
4984
+ */
4985
+ emailsDelete: async (emailId, options = {}) => {
4986
+ assertParamExists("emailsDelete", "emailId", emailId);
4987
+ const localVarPath = `/v1/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
4988
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4989
+ let baseOptions;
4990
+ if (configuration) {
4991
+ baseOptions = configuration.baseOptions;
4992
+ }
4993
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
4994
+ const localVarHeaderParameter = {};
4995
+ const localVarQueryParameter = {};
4996
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4997
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4998
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4999
+ return {
5000
+ url: toPathString(localVarUrlObj),
5001
+ options: localVarRequestOptions
5002
+ };
5003
+ },
5004
+ /**
5005
+ * Emails Get
5006
+ * @summary Emails Get
5007
+ * @param {string} emailId
5008
+ * @param {*} [options] Override http request option.
5009
+ * @throws {RequiredError}
5010
+ */
5011
+ emailsGet: async (emailId, options = {}) => {
5012
+ assertParamExists("emailsGet", "emailId", emailId);
5013
+ const localVarPath = `/v1/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
5014
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5015
+ let baseOptions;
5016
+ if (configuration) {
5017
+ baseOptions = configuration.baseOptions;
5018
+ }
5019
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
5020
+ const localVarHeaderParameter = {};
5021
+ const localVarQueryParameter = {};
5022
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5023
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5024
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5025
+ return {
5026
+ url: toPathString(localVarUrlObj),
5027
+ options: localVarRequestOptions
5028
+ };
5029
+ },
5030
+ /**
5031
+ * Emails Update
5032
+ * @summary Emails Update
5033
+ * @param {string} emailId
5034
+ * @param {APIEmailUpdate} aPIEmailUpdate
5035
+ * @param {*} [options] Override http request option.
5036
+ * @throws {RequiredError}
5037
+ */
5038
+ emailsUpdate: async (emailId, aPIEmailUpdate, options = {}) => {
5039
+ assertParamExists("emailsUpdate", "emailId", emailId);
5040
+ assertParamExists("emailsUpdate", "aPIEmailUpdate", aPIEmailUpdate);
5041
+ const localVarPath = `/v1/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
5042
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5043
+ let baseOptions;
5044
+ if (configuration) {
5045
+ baseOptions = configuration.baseOptions;
5046
+ }
5047
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
5048
+ const localVarHeaderParameter = {};
5049
+ const localVarQueryParameter = {};
5050
+ localVarHeaderParameter["Content-Type"] = "application/json";
5051
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5052
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5053
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5054
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIEmailUpdate, localVarRequestOptions, configuration);
5055
+ return {
5056
+ url: toPathString(localVarUrlObj),
5057
+ options: localVarRequestOptions
5058
+ };
5059
+ },
5060
+ /**
5061
+ * Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
5062
+ * @summary Generate Listing Content Upload Url
5063
+ * @param {string} listingId
5064
+ * @param {UploadURLRequest} uploadURLRequest
5065
+ * @param {*} [options] Override http request option.
5066
+ * @throws {RequiredError}
5067
+ */
5068
+ generateListingContentUploadURL: async (listingId, uploadURLRequest, options = {}) => {
5069
+ assertParamExists("generateListingContentUploadURL", "listingId", listingId);
5070
+ assertParamExists("generateListingContentUploadURL", "uploadURLRequest", uploadURLRequest);
5071
+ const localVarPath = `/v1/listings/{listing_id}/listing_content/upload-url`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
5072
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5073
+ let baseOptions;
5074
+ if (configuration) {
5075
+ baseOptions = configuration.baseOptions;
5076
+ }
5077
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
5078
+ const localVarHeaderParameter = {};
5079
+ const localVarQueryParameter = {};
5080
+ localVarHeaderParameter["Content-Type"] = "application/json";
5081
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5082
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5083
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5084
+ localVarRequestOptions.data = serializeDataIfNeeded(uploadURLRequest, localVarRequestOptions, configuration);
5085
+ return {
5086
+ url: toPathString(localVarUrlObj),
5087
+ options: localVarRequestOptions
5088
+ };
5089
+ },
5090
+ /**
5091
+ * Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
5092
+ * @summary Get Me
5093
+ * @param {*} [options] Override http request option.
5094
+ * @throws {RequiredError}
5095
+ */
5096
+ getMe: async (options = {}) => {
5097
+ const localVarPath = `/v1/me`;
5098
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5099
+ let baseOptions;
5100
+ if (configuration) {
5101
+ baseOptions = configuration.baseOptions;
5102
+ }
5103
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
5104
+ const localVarHeaderParameter = {};
5105
+ const localVarQueryParameter = {};
5106
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5107
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5108
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5109
+ return {
5110
+ url: toPathString(localVarUrlObj),
5111
+ options: localVarRequestOptions
5112
+ };
5113
+ },
5114
+ /**
5115
+ * Inboxes List
5116
+ * @summary Inboxes List
5117
+ * @param {*} [options] Override http request option.
5118
+ * @throws {RequiredError}
5119
+ */
5120
+ inboxesList: async (options = {}) => {
5121
+ const localVarPath = `/v1/inboxes`;
5122
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5123
+ let baseOptions;
5124
+ if (configuration) {
5125
+ baseOptions = configuration.baseOptions;
5126
+ }
5127
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
5128
+ const localVarHeaderParameter = {};
5129
+ const localVarQueryParameter = {};
5130
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5131
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5132
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5133
+ return {
5134
+ url: toPathString(localVarUrlObj),
5135
+ options: localVarRequestOptions
5136
+ };
5137
+ },
5138
+ /**
5139
+ * List all listings
5140
+ * @summary Inquiries List
5141
+ * @param {string} [contactId]
3821
5142
  * @param {*} [options] Override http request option.
3822
5143
  * @throws {RequiredError}
3823
5144
  */
3824
- conversationsUpdate: async (conversationId, aPIConversationUpdate, options = {}) => {
3825
- assertParamExists("conversationsUpdate", "conversationId", conversationId);
3826
- assertParamExists("conversationsUpdate", "aPIConversationUpdate", aPIConversationUpdate);
3827
- const localVarPath = `/v1/conversations/{conversationId}`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
5145
+ inquiriesList: async (contactId, options = {}) => {
5146
+ const localVarPath = `/v1/inquiries`;
3828
5147
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3829
5148
  let baseOptions;
3830
5149
  if (configuration) {
3831
5150
  baseOptions = configuration.baseOptions;
3832
5151
  }
3833
- const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
5152
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3834
5153
  const localVarHeaderParameter = {};
3835
5154
  const localVarQueryParameter = {};
3836
- localVarHeaderParameter["Content-Type"] = "application/json";
5155
+ if (contactId !== void 0) {
5156
+ localVarQueryParameter["contactId"] = contactId;
5157
+ }
3837
5158
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3838
5159
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3839
5160
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3840
- localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationUpdate, localVarRequestOptions, configuration);
3841
5161
  return {
3842
5162
  url: toPathString(localVarUrlObj),
3843
5163
  options: localVarRequestOptions
3844
5164
  };
3845
5165
  },
3846
5166
  /**
3847
- * Emails Create
3848
- * @summary Emails Create
3849
- * @param {string} contactId
3850
- * @param {APIEmailCreate} aPIEmailCreate
5167
+ * ListingContent Create
5168
+ * @summary ListingContent Create
5169
+ * @param {string} listingId
5170
+ * @param {APIListingContentCreate} aPIListingContentCreate
3851
5171
  * @param {*} [options] Override http request option.
3852
5172
  * @throws {RequiredError}
3853
5173
  */
3854
- emailsCreate: async (contactId, aPIEmailCreate, options = {}) => {
3855
- assertParamExists("emailsCreate", "contactId", contactId);
3856
- assertParamExists("emailsCreate", "aPIEmailCreate", aPIEmailCreate);
3857
- const localVarPath = `/v1/contacts/{contactId}/emails`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
5174
+ listingContentCreate: async (listingId, aPIListingContentCreate, options = {}) => {
5175
+ assertParamExists("listingContentCreate", "listingId", listingId);
5176
+ assertParamExists("listingContentCreate", "aPIListingContentCreate", aPIListingContentCreate);
5177
+ const localVarPath = `/v1/listings/{listingId}/listingContent`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
3858
5178
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3859
5179
  let baseOptions;
3860
5180
  if (configuration) {
@@ -3867,22 +5187,22 @@ var UnboundApiAxiosParamCreator = function(configuration) {
3867
5187
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3868
5188
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3869
5189
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3870
- localVarRequestOptions.data = serializeDataIfNeeded(aPIEmailCreate, localVarRequestOptions, configuration);
5190
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentCreate, localVarRequestOptions, configuration);
3871
5191
  return {
3872
5192
  url: toPathString(localVarUrlObj),
3873
5193
  options: localVarRequestOptions
3874
5194
  };
3875
5195
  },
3876
5196
  /**
3877
- * Emails Delete
3878
- * @summary Emails Delete
3879
- * @param {string} emailId
5197
+ * ListingContent Delete
5198
+ * @summary ListingContent Delete
5199
+ * @param {string} listingContentId
3880
5200
  * @param {*} [options] Override http request option.
3881
5201
  * @throws {RequiredError}
3882
5202
  */
3883
- emailsDelete: async (emailId, options = {}) => {
3884
- assertParamExists("emailsDelete", "emailId", emailId);
3885
- const localVarPath = `/v1/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
5203
+ listingContentDelete: async (listingContentId, options = {}) => {
5204
+ assertParamExists("listingContentDelete", "listingContentId", listingContentId);
5205
+ const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
3886
5206
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3887
5207
  let baseOptions;
3888
5208
  if (configuration) {
@@ -3900,15 +5220,15 @@ var UnboundApiAxiosParamCreator = function(configuration) {
3900
5220
  };
3901
5221
  },
3902
5222
  /**
3903
- * Emails Get
3904
- * @summary Emails Get
3905
- * @param {string} emailId
5223
+ * ListingContent Get
5224
+ * @summary ListingContent Get
5225
+ * @param {string} listingContentId
3906
5226
  * @param {*} [options] Override http request option.
3907
5227
  * @throws {RequiredError}
3908
5228
  */
3909
- emailsGet: async (emailId, options = {}) => {
3910
- assertParamExists("emailsGet", "emailId", emailId);
3911
- const localVarPath = `/v1/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
5229
+ listingContentGet: async (listingContentId, options = {}) => {
5230
+ assertParamExists("listingContentGet", "listingContentId", listingContentId);
5231
+ const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
3912
5232
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3913
5233
  let baseOptions;
3914
5234
  if (configuration) {
@@ -3926,67 +5246,77 @@ var UnboundApiAxiosParamCreator = function(configuration) {
3926
5246
  };
3927
5247
  },
3928
5248
  /**
3929
- * Emails Update
3930
- * @summary Emails Update
3931
- * @param {string} emailId
3932
- * @param {APIEmailUpdate} aPIEmailUpdate
5249
+ * ListingContent List
5250
+ * @summary ListingContent List
5251
+ * @param {string} [listingId]
5252
+ * @param {string} [status] Filter by status: active, deleted, or all
3933
5253
  * @param {*} [options] Override http request option.
3934
5254
  * @throws {RequiredError}
3935
5255
  */
3936
- emailsUpdate: async (emailId, aPIEmailUpdate, options = {}) => {
3937
- assertParamExists("emailsUpdate", "emailId", emailId);
3938
- assertParamExists("emailsUpdate", "aPIEmailUpdate", aPIEmailUpdate);
3939
- const localVarPath = `/v1/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
5256
+ listingContentList: async (listingId, status, options = {}) => {
5257
+ const localVarPath = `/v1/listingContent`;
3940
5258
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3941
5259
  let baseOptions;
3942
5260
  if (configuration) {
3943
5261
  baseOptions = configuration.baseOptions;
3944
5262
  }
3945
- const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
5263
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3946
5264
  const localVarHeaderParameter = {};
3947
5265
  const localVarQueryParameter = {};
3948
- localVarHeaderParameter["Content-Type"] = "application/json";
5266
+ if (listingId !== void 0) {
5267
+ localVarQueryParameter["listingId"] = listingId;
5268
+ }
5269
+ if (status !== void 0) {
5270
+ localVarQueryParameter["status"] = status;
5271
+ }
3949
5272
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3950
5273
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3951
5274
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3952
- localVarRequestOptions.data = serializeDataIfNeeded(aPIEmailUpdate, localVarRequestOptions, configuration);
3953
5275
  return {
3954
5276
  url: toPathString(localVarUrlObj),
3955
5277
  options: localVarRequestOptions
3956
5278
  };
3957
5279
  },
3958
5280
  /**
3959
- * Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
3960
- * @summary Get Me
5281
+ * ListingContent Update
5282
+ * @summary ListingContent Update
5283
+ * @param {string} listingContentId
5284
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
3961
5285
  * @param {*} [options] Override http request option.
3962
5286
  * @throws {RequiredError}
3963
5287
  */
3964
- getMe: async (options = {}) => {
3965
- const localVarPath = `/v1/me`;
5288
+ listingContentUpdate: async (listingContentId, aPIListingContentUpdate, options = {}) => {
5289
+ assertParamExists("listingContentUpdate", "listingContentId", listingContentId);
5290
+ assertParamExists("listingContentUpdate", "aPIListingContentUpdate", aPIListingContentUpdate);
5291
+ const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
3966
5292
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3967
5293
  let baseOptions;
3968
5294
  if (configuration) {
3969
5295
  baseOptions = configuration.baseOptions;
3970
5296
  }
3971
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
5297
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
3972
5298
  const localVarHeaderParameter = {};
3973
5299
  const localVarQueryParameter = {};
5300
+ localVarHeaderParameter["Content-Type"] = "application/json";
3974
5301
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3975
5302
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3976
5303
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5304
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentUpdate, localVarRequestOptions, configuration);
3977
5305
  return {
3978
5306
  url: toPathString(localVarUrlObj),
3979
5307
  options: localVarRequestOptions
3980
5308
  };
3981
5309
  },
3982
5310
  /**
3983
- * Inboxes List
3984
- * @summary Inboxes List
5311
+ * ListingContentVersions Get
5312
+ * @summary ListingContentVersions Get
5313
+ * @param {string} listingContentVersionId
3985
5314
  * @param {*} [options] Override http request option.
3986
5315
  * @throws {RequiredError}
3987
5316
  */
3988
- inboxesList: async (options = {}) => {
3989
- const localVarPath = `/v1/inboxes`;
5317
+ listingContentVersionsGet: async (listingContentVersionId, options = {}) => {
5318
+ assertParamExists("listingContentVersionsGet", "listingContentVersionId", listingContentVersionId);
5319
+ const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
3990
5320
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3991
5321
  let baseOptions;
3992
5322
  if (configuration) {
@@ -4004,14 +5334,14 @@ var UnboundApiAxiosParamCreator = function(configuration) {
4004
5334
  };
4005
5335
  },
4006
5336
  /**
4007
- * List all listings
4008
- * @summary Inquiries List
4009
- * @param {string} [contactId]
5337
+ * ListingContentVersions List
5338
+ * @summary ListingContentVersions List
5339
+ * @param {string} [listingContentId]
4010
5340
  * @param {*} [options] Override http request option.
4011
5341
  * @throws {RequiredError}
4012
5342
  */
4013
- inquiriesList: async (contactId, options = {}) => {
4014
- const localVarPath = `/v1/inquiries`;
5343
+ listingContentVersionsList: async (listingContentId, options = {}) => {
5344
+ const localVarPath = `/v1/listingContentVersions`;
4015
5345
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4016
5346
  let baseOptions;
4017
5347
  if (configuration) {
@@ -4020,8 +5350,8 @@ var UnboundApiAxiosParamCreator = function(configuration) {
4020
5350
  const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
4021
5351
  const localVarHeaderParameter = {};
4022
5352
  const localVarQueryParameter = {};
4023
- if (contactId !== void 0) {
4024
- localVarQueryParameter["contactId"] = contactId;
5353
+ if (listingContentId !== void 0) {
5354
+ localVarQueryParameter["listingContentId"] = listingContentId;
4025
5355
  }
4026
5356
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4027
5357
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -4709,6 +6039,19 @@ var UnboundApiFp = function(configuration) {
4709
6039
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesUpdate"]?.[localVarOperationServerIndex]?.url;
4710
6040
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4711
6041
  },
6042
+ /**
6043
+ * AiResponses Create
6044
+ * @summary AiResponses Create
6045
+ * @param {APIAiResponseCreate} aPIAiResponseCreate
6046
+ * @param {*} [options] Override http request option.
6047
+ * @throws {RequiredError}
6048
+ */
6049
+ async aiResponsesCreate(aPIAiResponseCreate, options) {
6050
+ const localVarAxiosArgs = await localVarAxiosParamCreator.aiResponsesCreate(aPIAiResponseCreate, options);
6051
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6052
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.aiResponsesCreate"]?.[localVarOperationServerIndex]?.url;
6053
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6054
+ },
4712
6055
  /**
4713
6056
  * Associates a contact with a listing with the OWNER type.
4714
6057
  * @summary Create Contact Listing
@@ -4940,6 +6283,20 @@ var UnboundApiFp = function(configuration) {
4940
6283
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.emailsUpdate"]?.[localVarOperationServerIndex]?.url;
4941
6284
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4942
6285
  },
6286
+ /**
6287
+ * Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
6288
+ * @summary Generate Listing Content Upload Url
6289
+ * @param {string} listingId
6290
+ * @param {UploadURLRequest} uploadURLRequest
6291
+ * @param {*} [options] Override http request option.
6292
+ * @throws {RequiredError}
6293
+ */
6294
+ async generateListingContentUploadURL(listingId, uploadURLRequest, options) {
6295
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generateListingContentUploadURL(listingId, uploadURLRequest, options);
6296
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6297
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.generateListingContentUploadURL"]?.[localVarOperationServerIndex]?.url;
6298
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6299
+ },
4943
6300
  /**
4944
6301
  * Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
4945
6302
  * @summary Get Me
@@ -4977,6 +6334,100 @@ var UnboundApiFp = function(configuration) {
4977
6334
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.inquiriesList"]?.[localVarOperationServerIndex]?.url;
4978
6335
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4979
6336
  },
6337
+ /**
6338
+ * ListingContent Create
6339
+ * @summary ListingContent Create
6340
+ * @param {string} listingId
6341
+ * @param {APIListingContentCreate} aPIListingContentCreate
6342
+ * @param {*} [options] Override http request option.
6343
+ * @throws {RequiredError}
6344
+ */
6345
+ async listingContentCreate(listingId, aPIListingContentCreate, options) {
6346
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentCreate(listingId, aPIListingContentCreate, options);
6347
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6348
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentCreate"]?.[localVarOperationServerIndex]?.url;
6349
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6350
+ },
6351
+ /**
6352
+ * ListingContent Delete
6353
+ * @summary ListingContent Delete
6354
+ * @param {string} listingContentId
6355
+ * @param {*} [options] Override http request option.
6356
+ * @throws {RequiredError}
6357
+ */
6358
+ async listingContentDelete(listingContentId, options) {
6359
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentDelete(listingContentId, options);
6360
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6361
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentDelete"]?.[localVarOperationServerIndex]?.url;
6362
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6363
+ },
6364
+ /**
6365
+ * ListingContent Get
6366
+ * @summary ListingContent Get
6367
+ * @param {string} listingContentId
6368
+ * @param {*} [options] Override http request option.
6369
+ * @throws {RequiredError}
6370
+ */
6371
+ async listingContentGet(listingContentId, options) {
6372
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentGet(listingContentId, options);
6373
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6374
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentGet"]?.[localVarOperationServerIndex]?.url;
6375
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6376
+ },
6377
+ /**
6378
+ * ListingContent List
6379
+ * @summary ListingContent List
6380
+ * @param {string} [listingId]
6381
+ * @param {string} [status] Filter by status: active, deleted, or all
6382
+ * @param {*} [options] Override http request option.
6383
+ * @throws {RequiredError}
6384
+ */
6385
+ async listingContentList(listingId, status, options) {
6386
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentList(listingId, status, options);
6387
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6388
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentList"]?.[localVarOperationServerIndex]?.url;
6389
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6390
+ },
6391
+ /**
6392
+ * ListingContent Update
6393
+ * @summary ListingContent Update
6394
+ * @param {string} listingContentId
6395
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
6396
+ * @param {*} [options] Override http request option.
6397
+ * @throws {RequiredError}
6398
+ */
6399
+ async listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
6400
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentUpdate(listingContentId, aPIListingContentUpdate, options);
6401
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6402
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentUpdate"]?.[localVarOperationServerIndex]?.url;
6403
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6404
+ },
6405
+ /**
6406
+ * ListingContentVersions Get
6407
+ * @summary ListingContentVersions Get
6408
+ * @param {string} listingContentVersionId
6409
+ * @param {*} [options] Override http request option.
6410
+ * @throws {RequiredError}
6411
+ */
6412
+ async listingContentVersionsGet(listingContentVersionId, options) {
6413
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsGet(listingContentVersionId, options);
6414
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6415
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentVersionsGet"]?.[localVarOperationServerIndex]?.url;
6416
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6417
+ },
6418
+ /**
6419
+ * ListingContentVersions List
6420
+ * @summary ListingContentVersions List
6421
+ * @param {string} [listingContentId]
6422
+ * @param {*} [options] Override http request option.
6423
+ * @throws {RequiredError}
6424
+ */
6425
+ async listingContentVersionsList(listingContentId, options) {
6426
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsList(listingContentId, options);
6427
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6428
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingContentVersionsList"]?.[localVarOperationServerIndex]?.url;
6429
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6430
+ },
4980
6431
  /**
4981
6432
  * Listings Get
4982
6433
  * @summary Listings Get
@@ -5304,6 +6755,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
5304
6755
  addressesUpdate(addressId, aPIAddressUpdate, options) {
5305
6756
  return localVarFp.addressesUpdate(addressId, aPIAddressUpdate, options).then((request) => request(axios, basePath));
5306
6757
  },
6758
+ /**
6759
+ * AiResponses Create
6760
+ * @summary AiResponses Create
6761
+ * @param {APIAiResponseCreate} aPIAiResponseCreate
6762
+ * @param {*} [options] Override http request option.
6763
+ * @throws {RequiredError}
6764
+ */
6765
+ aiResponsesCreate(aPIAiResponseCreate, options) {
6766
+ return localVarFp.aiResponsesCreate(aPIAiResponseCreate, options).then((request) => request(axios, basePath));
6767
+ },
5307
6768
  /**
5308
6769
  * Associates a contact with a listing with the OWNER type.
5309
6770
  * @summary Create Contact Listing
@@ -5487,6 +6948,17 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
5487
6948
  emailsUpdate(emailId, aPIEmailUpdate, options) {
5488
6949
  return localVarFp.emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(axios, basePath));
5489
6950
  },
6951
+ /**
6952
+ * Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
6953
+ * @summary Generate Listing Content Upload Url
6954
+ * @param {string} listingId
6955
+ * @param {UploadURLRequest} uploadURLRequest
6956
+ * @param {*} [options] Override http request option.
6957
+ * @throws {RequiredError}
6958
+ */
6959
+ generateListingContentUploadURL(listingId, uploadURLRequest, options) {
6960
+ return localVarFp.generateListingContentUploadURL(listingId, uploadURLRequest, options).then((request) => request(axios, basePath));
6961
+ },
5490
6962
  /**
5491
6963
  * Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
5492
6964
  * @summary Get Me
@@ -5515,6 +6987,79 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
5515
6987
  inquiriesList(contactId, options) {
5516
6988
  return localVarFp.inquiriesList(contactId, options).then((request) => request(axios, basePath));
5517
6989
  },
6990
+ /**
6991
+ * ListingContent Create
6992
+ * @summary ListingContent Create
6993
+ * @param {string} listingId
6994
+ * @param {APIListingContentCreate} aPIListingContentCreate
6995
+ * @param {*} [options] Override http request option.
6996
+ * @throws {RequiredError}
6997
+ */
6998
+ listingContentCreate(listingId, aPIListingContentCreate, options) {
6999
+ return localVarFp.listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(axios, basePath));
7000
+ },
7001
+ /**
7002
+ * ListingContent Delete
7003
+ * @summary ListingContent Delete
7004
+ * @param {string} listingContentId
7005
+ * @param {*} [options] Override http request option.
7006
+ * @throws {RequiredError}
7007
+ */
7008
+ listingContentDelete(listingContentId, options) {
7009
+ return localVarFp.listingContentDelete(listingContentId, options).then((request) => request(axios, basePath));
7010
+ },
7011
+ /**
7012
+ * ListingContent Get
7013
+ * @summary ListingContent Get
7014
+ * @param {string} listingContentId
7015
+ * @param {*} [options] Override http request option.
7016
+ * @throws {RequiredError}
7017
+ */
7018
+ listingContentGet(listingContentId, options) {
7019
+ return localVarFp.listingContentGet(listingContentId, options).then((request) => request(axios, basePath));
7020
+ },
7021
+ /**
7022
+ * ListingContent List
7023
+ * @summary ListingContent List
7024
+ * @param {string} [listingId]
7025
+ * @param {string} [status] Filter by status: active, deleted, or all
7026
+ * @param {*} [options] Override http request option.
7027
+ * @throws {RequiredError}
7028
+ */
7029
+ listingContentList(listingId, status, options) {
7030
+ return localVarFp.listingContentList(listingId, status, options).then((request) => request(axios, basePath));
7031
+ },
7032
+ /**
7033
+ * ListingContent Update
7034
+ * @summary ListingContent Update
7035
+ * @param {string} listingContentId
7036
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
7037
+ * @param {*} [options] Override http request option.
7038
+ * @throws {RequiredError}
7039
+ */
7040
+ listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
7041
+ return localVarFp.listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(axios, basePath));
7042
+ },
7043
+ /**
7044
+ * ListingContentVersions Get
7045
+ * @summary ListingContentVersions Get
7046
+ * @param {string} listingContentVersionId
7047
+ * @param {*} [options] Override http request option.
7048
+ * @throws {RequiredError}
7049
+ */
7050
+ listingContentVersionsGet(listingContentVersionId, options) {
7051
+ return localVarFp.listingContentVersionsGet(listingContentVersionId, options).then((request) => request(axios, basePath));
7052
+ },
7053
+ /**
7054
+ * ListingContentVersions List
7055
+ * @summary ListingContentVersions List
7056
+ * @param {string} [listingContentId]
7057
+ * @param {*} [options] Override http request option.
7058
+ * @throws {RequiredError}
7059
+ */
7060
+ listingContentVersionsList(listingContentId, options) {
7061
+ return localVarFp.listingContentVersionsList(listingContentId, options).then((request) => request(axios, basePath));
7062
+ },
5518
7063
  /**
5519
7064
  * Listings Get
5520
7065
  * @summary Listings Get
@@ -5788,6 +7333,17 @@ var UnboundApi = class extends BaseAPI {
5788
7333
  addressesUpdate(addressId, aPIAddressUpdate, options) {
5789
7334
  return UnboundApiFp(this.configuration).addressesUpdate(addressId, aPIAddressUpdate, options).then((request) => request(this.axios, this.basePath));
5790
7335
  }
7336
+ /**
7337
+ * AiResponses Create
7338
+ * @summary AiResponses Create
7339
+ * @param {APIAiResponseCreate} aPIAiResponseCreate
7340
+ * @param {*} [options] Override http request option.
7341
+ * @throws {RequiredError}
7342
+ * @memberof UnboundApi
7343
+ */
7344
+ aiResponsesCreate(aPIAiResponseCreate, options) {
7345
+ return UnboundApiFp(this.configuration).aiResponsesCreate(aPIAiResponseCreate, options).then((request) => request(this.axios, this.basePath));
7346
+ }
5791
7347
  /**
5792
7348
  * Associates a contact with a listing with the OWNER type.
5793
7349
  * @summary Create Contact Listing
@@ -5987,6 +7543,18 @@ var UnboundApi = class extends BaseAPI {
5987
7543
  emailsUpdate(emailId, aPIEmailUpdate, options) {
5988
7544
  return UnboundApiFp(this.configuration).emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(this.axios, this.basePath));
5989
7545
  }
7546
+ /**
7547
+ * Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
7548
+ * @summary Generate Listing Content Upload Url
7549
+ * @param {string} listingId
7550
+ * @param {UploadURLRequest} uploadURLRequest
7551
+ * @param {*} [options] Override http request option.
7552
+ * @throws {RequiredError}
7553
+ * @memberof UnboundApi
7554
+ */
7555
+ generateListingContentUploadURL(listingId, uploadURLRequest, options) {
7556
+ return UnboundApiFp(this.configuration).generateListingContentUploadURL(listingId, uploadURLRequest, options).then((request) => request(this.axios, this.basePath));
7557
+ }
5990
7558
  /**
5991
7559
  * Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
5992
7560
  * @summary Get Me
@@ -6018,6 +7586,86 @@ var UnboundApi = class extends BaseAPI {
6018
7586
  inquiriesList(contactId, options) {
6019
7587
  return UnboundApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
6020
7588
  }
7589
+ /**
7590
+ * ListingContent Create
7591
+ * @summary ListingContent Create
7592
+ * @param {string} listingId
7593
+ * @param {APIListingContentCreate} aPIListingContentCreate
7594
+ * @param {*} [options] Override http request option.
7595
+ * @throws {RequiredError}
7596
+ * @memberof UnboundApi
7597
+ */
7598
+ listingContentCreate(listingId, aPIListingContentCreate, options) {
7599
+ return UnboundApiFp(this.configuration).listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(this.axios, this.basePath));
7600
+ }
7601
+ /**
7602
+ * ListingContent Delete
7603
+ * @summary ListingContent Delete
7604
+ * @param {string} listingContentId
7605
+ * @param {*} [options] Override http request option.
7606
+ * @throws {RequiredError}
7607
+ * @memberof UnboundApi
7608
+ */
7609
+ listingContentDelete(listingContentId, options) {
7610
+ return UnboundApiFp(this.configuration).listingContentDelete(listingContentId, options).then((request) => request(this.axios, this.basePath));
7611
+ }
7612
+ /**
7613
+ * ListingContent Get
7614
+ * @summary ListingContent Get
7615
+ * @param {string} listingContentId
7616
+ * @param {*} [options] Override http request option.
7617
+ * @throws {RequiredError}
7618
+ * @memberof UnboundApi
7619
+ */
7620
+ listingContentGet(listingContentId, options) {
7621
+ return UnboundApiFp(this.configuration).listingContentGet(listingContentId, options).then((request) => request(this.axios, this.basePath));
7622
+ }
7623
+ /**
7624
+ * ListingContent List
7625
+ * @summary ListingContent List
7626
+ * @param {string} [listingId]
7627
+ * @param {string} [status] Filter by status: active, deleted, or all
7628
+ * @param {*} [options] Override http request option.
7629
+ * @throws {RequiredError}
7630
+ * @memberof UnboundApi
7631
+ */
7632
+ listingContentList(listingId, status, options) {
7633
+ return UnboundApiFp(this.configuration).listingContentList(listingId, status, options).then((request) => request(this.axios, this.basePath));
7634
+ }
7635
+ /**
7636
+ * ListingContent Update
7637
+ * @summary ListingContent Update
7638
+ * @param {string} listingContentId
7639
+ * @param {APIListingContentUpdate} aPIListingContentUpdate
7640
+ * @param {*} [options] Override http request option.
7641
+ * @throws {RequiredError}
7642
+ * @memberof UnboundApi
7643
+ */
7644
+ listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
7645
+ return UnboundApiFp(this.configuration).listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(this.axios, this.basePath));
7646
+ }
7647
+ /**
7648
+ * ListingContentVersions Get
7649
+ * @summary ListingContentVersions Get
7650
+ * @param {string} listingContentVersionId
7651
+ * @param {*} [options] Override http request option.
7652
+ * @throws {RequiredError}
7653
+ * @memberof UnboundApi
7654
+ */
7655
+ listingContentVersionsGet(listingContentVersionId, options) {
7656
+ return UnboundApiFp(this.configuration).listingContentVersionsGet(listingContentVersionId, options).then((request) => request(this.axios, this.basePath));
7657
+ }
7658
+ /**
7659
+ * ListingContentVersions List
7660
+ * @summary ListingContentVersions List
7661
+ * @param {string} [listingContentId]
7662
+ * @param {*} [options] Override http request option.
7663
+ * @throws {RequiredError}
7664
+ * @memberof UnboundApi
7665
+ */
7666
+ listingContentVersionsList(listingContentId, options) {
7667
+ return UnboundApiFp(this.configuration).listingContentVersionsList(listingContentId, options).then((request) => request(this.axios, this.basePath));
7668
+ }
6021
7669
  /**
6022
7670
  * Listings Get
6023
7671
  * @summary Listings Get
@@ -6480,10 +8128,15 @@ var Configuration = class {
6480
8128
  }
6481
8129
  };
6482
8130
  export {
8131
+ APIListingContentStatusEnum,
6483
8132
  AccountsApi,
6484
8133
  AccountsApiAxiosParamCreator,
6485
8134
  AccountsApiFactory,
6486
8135
  AccountsApiFp,
8136
+ AiResponsesApi,
8137
+ AiResponsesApiAxiosParamCreator,
8138
+ AiResponsesApiFactory,
8139
+ AiResponsesApiFp,
6487
8140
  AuthApi,
6488
8141
  AuthApiAxiosParamCreator,
6489
8142
  AuthApiFactory,
@@ -6504,6 +8157,7 @@ export {
6504
8157
  EmailInboxApiInboxTypeEnum,
6505
8158
  EmailProviderMessageApiMessageTypeEnum,
6506
8159
  ExternalStaffApiStaffTypeEnum,
8160
+ FileListingContentApiListingContentTypeEnum,
6507
8161
  GuestApiParticipantTypeEnum,
6508
8162
  HostawayApi,
6509
8163
  HostawayApiAxiosParamCreator,
@@ -6518,6 +8172,10 @@ export {
6518
8172
  InquiriesApiFactory,
6519
8173
  InquiriesApiFp,
6520
8174
  InternalStaffApiStaffTypeEnum,
8175
+ ListingContentApi,
8176
+ ListingContentApiAxiosParamCreator,
8177
+ ListingContentApiFactory,
8178
+ ListingContentApiFp,
6521
8179
  ListingsApi,
6522
8180
  ListingsApiAxiosParamCreator,
6523
8181
  ListingsApiFactory,
@@ -6530,6 +8188,7 @@ export {
6530
8188
  MessageStatus,
6531
8189
  PaginationDirection,
6532
8190
  PhoneInboxApiInboxTypeEnum,
8191
+ PlainTextListingContentApiListingContentTypeEnum,
6533
8192
  ProviderAccountInboxApiInboxTypeEnum,
6534
8193
  ProviderCommunicationTypeInput,
6535
8194
  ProviderConversationDataApiConversationTypeEnum,
@@ -6549,6 +8208,7 @@ export {
6549
8208
  SMSConversationDataApiConversationTypeEnum,
6550
8209
  SMSInboundSenderTypeDataApiDirectionEnum,
6551
8210
  SMSMessageApiMessageTypeEnum,
8211
+ SMSMessageStatus,
6552
8212
  SMSOutboundSenderTypeDataApiDirectionEnum,
6553
8213
  SortOrder,
6554
8214
  SrcResourceModelsContactsModelContactsModelContactSortBy,
@@ -6568,6 +8228,7 @@ export {
6568
8228
  TelnyxApiAxiosParamCreator,
6569
8229
  TelnyxApiFactory,
6570
8230
  TelnyxApiFp,
8231
+ URLListingContentApiListingContentTypeEnum,
6571
8232
  UnboundApi,
6572
8233
  UnboundApiAxiosParamCreator,
6573
8234
  UnboundApiFactory,