@ember-home/unbound-ts-client 0.0.96 → 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.d.mts +1462 -62
- package/dist/index.d.ts +1462 -62
- package/dist/index.js +1920 -270
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1841 -191
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
};
|
|
@@ -254,6 +264,9 @@ var SuggestionStatus = {
|
|
|
254
264
|
ReplyGenerated: "REPLY_GENERATED",
|
|
255
265
|
NoAvailableReply: "NO_AVAILABLE_REPLY"
|
|
256
266
|
};
|
|
267
|
+
var URLListingContentApiListingContentTypeEnum = {
|
|
268
|
+
Url: "url"
|
|
269
|
+
};
|
|
257
270
|
var UserDeviceOs = {
|
|
258
271
|
Android: "ANDROID",
|
|
259
272
|
Ios: "IOS",
|
|
@@ -331,6 +344,84 @@ var AccountsApi = class extends BaseAPI {
|
|
|
331
344
|
return AccountsApiFp(this.configuration).accountsList(options).then((request) => request(this.axios, this.basePath));
|
|
332
345
|
}
|
|
333
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
|
+
};
|
|
334
425
|
var AuthApiAxiosParamCreator = function(configuration) {
|
|
335
426
|
return {
|
|
336
427
|
/**
|
|
@@ -2550,196 +2641,192 @@ var InquiriesApi = class extends BaseAPI {
|
|
|
2550
2641
|
return InquiriesApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
2551
2642
|
}
|
|
2552
2643
|
};
|
|
2553
|
-
var
|
|
2644
|
+
var ListingContentApiAxiosParamCreator = function(configuration) {
|
|
2554
2645
|
return {
|
|
2555
2646
|
/**
|
|
2556
|
-
*
|
|
2557
|
-
* @summary
|
|
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
|
|
2558
2649
|
* @param {string} listingId
|
|
2650
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
2559
2651
|
* @param {*} [options] Override http request option.
|
|
2560
2652
|
* @throws {RequiredError}
|
|
2561
2653
|
*/
|
|
2562
|
-
|
|
2563
|
-
assertParamExists("
|
|
2564
|
-
|
|
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)));
|
|
2565
2658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2566
2659
|
let baseOptions;
|
|
2567
2660
|
if (configuration) {
|
|
2568
2661
|
baseOptions = configuration.baseOptions;
|
|
2569
2662
|
}
|
|
2570
|
-
const localVarRequestOptions = { method: "
|
|
2663
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2571
2664
|
const localVarHeaderParameter = {};
|
|
2572
2665
|
const localVarQueryParameter = {};
|
|
2666
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2573
2667
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2574
2668
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2575
2669
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2670
|
+
localVarRequestOptions.data = serializeDataIfNeeded(uploadURLRequest, localVarRequestOptions, configuration);
|
|
2576
2671
|
return {
|
|
2577
2672
|
url: toPathString(localVarUrlObj),
|
|
2578
2673
|
options: localVarRequestOptions
|
|
2579
2674
|
};
|
|
2580
2675
|
},
|
|
2581
2676
|
/**
|
|
2582
|
-
*
|
|
2583
|
-
* @summary
|
|
2584
|
-
* @param {string
|
|
2585
|
-
* @param {
|
|
2586
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2587
|
-
* @param {number} [limit]
|
|
2588
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2589
|
-
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
2590
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2677
|
+
* ListingContent Create
|
|
2678
|
+
* @summary ListingContent Create
|
|
2679
|
+
* @param {string} listingId
|
|
2680
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
2591
2681
|
* @param {*} [options] Override http request option.
|
|
2592
2682
|
* @throws {RequiredError}
|
|
2593
2683
|
*/
|
|
2594
|
-
|
|
2595
|
-
|
|
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)));
|
|
2596
2688
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2597
2689
|
let baseOptions;
|
|
2598
2690
|
if (configuration) {
|
|
2599
2691
|
baseOptions = configuration.baseOptions;
|
|
2600
2692
|
}
|
|
2601
|
-
const localVarRequestOptions = { method: "
|
|
2693
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2602
2694
|
const localVarHeaderParameter = {};
|
|
2603
2695
|
const localVarQueryParameter = {};
|
|
2604
|
-
|
|
2605
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
2606
|
-
}
|
|
2607
|
-
if (contactId !== void 0) {
|
|
2608
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
2609
|
-
}
|
|
2610
|
-
if (cursor !== void 0) {
|
|
2611
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
2612
|
-
}
|
|
2613
|
-
if (limit !== void 0) {
|
|
2614
|
-
localVarQueryParameter["limit"] = limit;
|
|
2615
|
-
}
|
|
2616
|
-
if (pageDir !== void 0) {
|
|
2617
|
-
localVarQueryParameter["pageDir"] = pageDir;
|
|
2618
|
-
}
|
|
2619
|
-
if (sortBy !== void 0) {
|
|
2620
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
2621
|
-
}
|
|
2622
|
-
if (sortOrder !== void 0) {
|
|
2623
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
2624
|
-
}
|
|
2696
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2625
2697
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2626
2698
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2627
2699
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2700
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentCreate, localVarRequestOptions, configuration);
|
|
2628
2701
|
return {
|
|
2629
2702
|
url: toPathString(localVarUrlObj),
|
|
2630
2703
|
options: localVarRequestOptions
|
|
2631
2704
|
};
|
|
2632
|
-
}
|
|
2633
|
-
};
|
|
2634
|
-
};
|
|
2635
|
-
var ListingsApiFp = function(configuration) {
|
|
2636
|
-
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
2637
|
-
return {
|
|
2705
|
+
},
|
|
2638
2706
|
/**
|
|
2639
|
-
*
|
|
2640
|
-
* @summary
|
|
2641
|
-
* @param {string}
|
|
2707
|
+
* ListingContent Delete
|
|
2708
|
+
* @summary ListingContent Delete
|
|
2709
|
+
* @param {string} listingContentId
|
|
2642
2710
|
* @param {*} [options] Override http request option.
|
|
2643
2711
|
* @throws {RequiredError}
|
|
2644
2712
|
*/
|
|
2645
|
-
async
|
|
2646
|
-
|
|
2647
|
-
const
|
|
2648
|
-
const
|
|
2649
|
-
|
|
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
|
+
};
|
|
2650
2731
|
},
|
|
2651
2732
|
/**
|
|
2652
|
-
*
|
|
2653
|
-
* @summary
|
|
2654
|
-
* @param {string
|
|
2655
|
-
* @param {string | null} [contactId]
|
|
2656
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2657
|
-
* @param {number} [limit]
|
|
2658
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2659
|
-
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
2660
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2733
|
+
* ListingContent Get
|
|
2734
|
+
* @summary ListingContent Get
|
|
2735
|
+
* @param {string} listingContentId
|
|
2661
2736
|
* @param {*} [options] Override http request option.
|
|
2662
2737
|
* @throws {RequiredError}
|
|
2663
2738
|
*/
|
|
2664
|
-
async
|
|
2665
|
-
|
|
2666
|
-
const
|
|
2667
|
-
const
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
}
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
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
|
+
},
|
|
2675
2758
|
/**
|
|
2676
|
-
*
|
|
2677
|
-
* @summary
|
|
2678
|
-
* @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
|
|
2679
2763
|
* @param {*} [options] Override http request option.
|
|
2680
2764
|
* @throws {RequiredError}
|
|
2681
2765
|
*/
|
|
2682
|
-
|
|
2683
|
-
|
|
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
|
+
};
|
|
2684
2789
|
},
|
|
2685
2790
|
/**
|
|
2686
|
-
*
|
|
2687
|
-
* @summary
|
|
2688
|
-
* @param {string
|
|
2689
|
-
* @param {
|
|
2690
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2691
|
-
* @param {number} [limit]
|
|
2692
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2693
|
-
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
2694
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2791
|
+
* ListingContent Update
|
|
2792
|
+
* @summary ListingContent Update
|
|
2793
|
+
* @param {string} listingContentId
|
|
2794
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
2695
2795
|
* @param {*} [options] Override http request option.
|
|
2696
2796
|
* @throws {RequiredError}
|
|
2697
2797
|
*/
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2721
|
-
* @param {number} [limit]
|
|
2722
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2723
|
-
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
2724
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2725
|
-
* @param {*} [options] Override http request option.
|
|
2726
|
-
* @throws {RequiredError}
|
|
2727
|
-
* @memberof ListingsApi
|
|
2728
|
-
*/
|
|
2729
|
-
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2730
|
-
return ListingsApiFp(this.configuration).listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2731
|
-
}
|
|
2732
|
-
};
|
|
2733
|
-
var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
2734
|
-
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
|
+
},
|
|
2735
2820
|
/**
|
|
2736
|
-
*
|
|
2737
|
-
* @summary
|
|
2821
|
+
* ListingContentVersions Get
|
|
2822
|
+
* @summary ListingContentVersions Get
|
|
2823
|
+
* @param {string} listingContentVersionId
|
|
2738
2824
|
* @param {*} [options] Override http request option.
|
|
2739
2825
|
* @throws {RequiredError}
|
|
2740
2826
|
*/
|
|
2741
|
-
|
|
2742
|
-
|
|
2827
|
+
listingContentVersionsGet: async (listingContentVersionId, options = {}) => {
|
|
2828
|
+
assertParamExists("listingContentVersionsGet", "listingContentVersionId", listingContentVersionId);
|
|
2829
|
+
const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
|
|
2743
2830
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2744
2831
|
let baseOptions;
|
|
2745
2832
|
if (configuration) {
|
|
@@ -2755,9 +2842,986 @@ var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
|
2755
2842
|
url: toPathString(localVarUrlObj),
|
|
2756
2843
|
options: localVarRequestOptions
|
|
2757
2844
|
};
|
|
2758
|
-
}
|
|
2759
|
-
|
|
2760
|
-
|
|
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
|
+
};
|
|
3824
|
+
};
|
|
2761
3825
|
var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
2762
3826
|
const localVarAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator(configuration);
|
|
2763
3827
|
return {
|
|
@@ -3457,6 +4521,34 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3457
4521
|
options: localVarRequestOptions
|
|
3458
4522
|
};
|
|
3459
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
|
+
},
|
|
3460
4552
|
/**
|
|
3461
4553
|
* Associates a contact with a listing with the OWNER type.
|
|
3462
4554
|
* @summary Create Contact Listing
|
|
@@ -3824,47 +4916,265 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3824
4916
|
};
|
|
3825
4917
|
},
|
|
3826
4918
|
/**
|
|
3827
|
-
* Conversations Update
|
|
3828
|
-
* @summary Conversations Update
|
|
3829
|
-
* @param {string} conversationId
|
|
3830
|
-
* @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]
|
|
3831
5142
|
* @param {*} [options] Override http request option.
|
|
3832
5143
|
* @throws {RequiredError}
|
|
3833
5144
|
*/
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
assertParamExists("conversationsUpdate", "aPIConversationUpdate", aPIConversationUpdate);
|
|
3837
|
-
const localVarPath = `/v1/conversations/{conversationId}`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
5145
|
+
inquiriesList: async (contactId, options = {}) => {
|
|
5146
|
+
const localVarPath = `/v1/inquiries`;
|
|
3838
5147
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3839
5148
|
let baseOptions;
|
|
3840
5149
|
if (configuration) {
|
|
3841
5150
|
baseOptions = configuration.baseOptions;
|
|
3842
5151
|
}
|
|
3843
|
-
const localVarRequestOptions = { method: "
|
|
5152
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3844
5153
|
const localVarHeaderParameter = {};
|
|
3845
5154
|
const localVarQueryParameter = {};
|
|
3846
|
-
|
|
5155
|
+
if (contactId !== void 0) {
|
|
5156
|
+
localVarQueryParameter["contactId"] = contactId;
|
|
5157
|
+
}
|
|
3847
5158
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3848
5159
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3849
5160
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3850
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationUpdate, localVarRequestOptions, configuration);
|
|
3851
5161
|
return {
|
|
3852
5162
|
url: toPathString(localVarUrlObj),
|
|
3853
5163
|
options: localVarRequestOptions
|
|
3854
5164
|
};
|
|
3855
5165
|
},
|
|
3856
5166
|
/**
|
|
3857
|
-
*
|
|
3858
|
-
* @summary
|
|
3859
|
-
* @param {string}
|
|
3860
|
-
* @param {
|
|
5167
|
+
* ListingContent Create
|
|
5168
|
+
* @summary ListingContent Create
|
|
5169
|
+
* @param {string} listingId
|
|
5170
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3861
5171
|
* @param {*} [options] Override http request option.
|
|
3862
5172
|
* @throws {RequiredError}
|
|
3863
5173
|
*/
|
|
3864
|
-
|
|
3865
|
-
assertParamExists("
|
|
3866
|
-
assertParamExists("
|
|
3867
|
-
const localVarPath = `/v1/
|
|
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)));
|
|
3868
5178
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3869
5179
|
let baseOptions;
|
|
3870
5180
|
if (configuration) {
|
|
@@ -3877,22 +5187,22 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3877
5187
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3878
5188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3879
5189
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3880
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
5190
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentCreate, localVarRequestOptions, configuration);
|
|
3881
5191
|
return {
|
|
3882
5192
|
url: toPathString(localVarUrlObj),
|
|
3883
5193
|
options: localVarRequestOptions
|
|
3884
5194
|
};
|
|
3885
5195
|
},
|
|
3886
5196
|
/**
|
|
3887
|
-
*
|
|
3888
|
-
* @summary
|
|
3889
|
-
* @param {string}
|
|
5197
|
+
* ListingContent Delete
|
|
5198
|
+
* @summary ListingContent Delete
|
|
5199
|
+
* @param {string} listingContentId
|
|
3890
5200
|
* @param {*} [options] Override http request option.
|
|
3891
5201
|
* @throws {RequiredError}
|
|
3892
5202
|
*/
|
|
3893
|
-
|
|
3894
|
-
assertParamExists("
|
|
3895
|
-
const localVarPath = `/v1/
|
|
5203
|
+
listingContentDelete: async (listingContentId, options = {}) => {
|
|
5204
|
+
assertParamExists("listingContentDelete", "listingContentId", listingContentId);
|
|
5205
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
3896
5206
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3897
5207
|
let baseOptions;
|
|
3898
5208
|
if (configuration) {
|
|
@@ -3910,15 +5220,15 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3910
5220
|
};
|
|
3911
5221
|
},
|
|
3912
5222
|
/**
|
|
3913
|
-
*
|
|
3914
|
-
* @summary
|
|
3915
|
-
* @param {string}
|
|
5223
|
+
* ListingContent Get
|
|
5224
|
+
* @summary ListingContent Get
|
|
5225
|
+
* @param {string} listingContentId
|
|
3916
5226
|
* @param {*} [options] Override http request option.
|
|
3917
5227
|
* @throws {RequiredError}
|
|
3918
5228
|
*/
|
|
3919
|
-
|
|
3920
|
-
assertParamExists("
|
|
3921
|
-
const localVarPath = `/v1/
|
|
5229
|
+
listingContentGet: async (listingContentId, options = {}) => {
|
|
5230
|
+
assertParamExists("listingContentGet", "listingContentId", listingContentId);
|
|
5231
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
3922
5232
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3923
5233
|
let baseOptions;
|
|
3924
5234
|
if (configuration) {
|
|
@@ -3936,67 +5246,77 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3936
5246
|
};
|
|
3937
5247
|
},
|
|
3938
5248
|
/**
|
|
3939
|
-
*
|
|
3940
|
-
* @summary
|
|
3941
|
-
* @param {string}
|
|
3942
|
-
* @param {
|
|
5249
|
+
* ListingContent List
|
|
5250
|
+
* @summary ListingContent List
|
|
5251
|
+
* @param {string} [listingId]
|
|
5252
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3943
5253
|
* @param {*} [options] Override http request option.
|
|
3944
5254
|
* @throws {RequiredError}
|
|
3945
5255
|
*/
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
assertParamExists("emailsUpdate", "aPIEmailUpdate", aPIEmailUpdate);
|
|
3949
|
-
const localVarPath = `/v1/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
|
|
5256
|
+
listingContentList: async (listingId, status, options = {}) => {
|
|
5257
|
+
const localVarPath = `/v1/listingContent`;
|
|
3950
5258
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3951
5259
|
let baseOptions;
|
|
3952
5260
|
if (configuration) {
|
|
3953
5261
|
baseOptions = configuration.baseOptions;
|
|
3954
5262
|
}
|
|
3955
|
-
const localVarRequestOptions = { method: "
|
|
5263
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3956
5264
|
const localVarHeaderParameter = {};
|
|
3957
5265
|
const localVarQueryParameter = {};
|
|
3958
|
-
|
|
5266
|
+
if (listingId !== void 0) {
|
|
5267
|
+
localVarQueryParameter["listingId"] = listingId;
|
|
5268
|
+
}
|
|
5269
|
+
if (status !== void 0) {
|
|
5270
|
+
localVarQueryParameter["status"] = status;
|
|
5271
|
+
}
|
|
3959
5272
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3960
5273
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3961
5274
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3962
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIEmailUpdate, localVarRequestOptions, configuration);
|
|
3963
5275
|
return {
|
|
3964
5276
|
url: toPathString(localVarUrlObj),
|
|
3965
5277
|
options: localVarRequestOptions
|
|
3966
5278
|
};
|
|
3967
5279
|
},
|
|
3968
5280
|
/**
|
|
3969
|
-
*
|
|
3970
|
-
* @summary
|
|
5281
|
+
* ListingContent Update
|
|
5282
|
+
* @summary ListingContent Update
|
|
5283
|
+
* @param {string} listingContentId
|
|
5284
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3971
5285
|
* @param {*} [options] Override http request option.
|
|
3972
5286
|
* @throws {RequiredError}
|
|
3973
5287
|
*/
|
|
3974
|
-
|
|
3975
|
-
|
|
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)));
|
|
3976
5292
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3977
5293
|
let baseOptions;
|
|
3978
5294
|
if (configuration) {
|
|
3979
5295
|
baseOptions = configuration.baseOptions;
|
|
3980
5296
|
}
|
|
3981
|
-
const localVarRequestOptions = { method: "
|
|
5297
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
3982
5298
|
const localVarHeaderParameter = {};
|
|
3983
5299
|
const localVarQueryParameter = {};
|
|
5300
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3984
5301
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3985
5302
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3986
5303
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5304
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentUpdate, localVarRequestOptions, configuration);
|
|
3987
5305
|
return {
|
|
3988
5306
|
url: toPathString(localVarUrlObj),
|
|
3989
5307
|
options: localVarRequestOptions
|
|
3990
5308
|
};
|
|
3991
5309
|
},
|
|
3992
5310
|
/**
|
|
3993
|
-
*
|
|
3994
|
-
* @summary
|
|
5311
|
+
* ListingContentVersions Get
|
|
5312
|
+
* @summary ListingContentVersions Get
|
|
5313
|
+
* @param {string} listingContentVersionId
|
|
3995
5314
|
* @param {*} [options] Override http request option.
|
|
3996
5315
|
* @throws {RequiredError}
|
|
3997
5316
|
*/
|
|
3998
|
-
|
|
3999
|
-
|
|
5317
|
+
listingContentVersionsGet: async (listingContentVersionId, options = {}) => {
|
|
5318
|
+
assertParamExists("listingContentVersionsGet", "listingContentVersionId", listingContentVersionId);
|
|
5319
|
+
const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
|
|
4000
5320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4001
5321
|
let baseOptions;
|
|
4002
5322
|
if (configuration) {
|
|
@@ -4014,14 +5334,14 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4014
5334
|
};
|
|
4015
5335
|
},
|
|
4016
5336
|
/**
|
|
4017
|
-
* List
|
|
4018
|
-
* @summary
|
|
4019
|
-
* @param {string} [
|
|
5337
|
+
* ListingContentVersions List
|
|
5338
|
+
* @summary ListingContentVersions List
|
|
5339
|
+
* @param {string} [listingContentId]
|
|
4020
5340
|
* @param {*} [options] Override http request option.
|
|
4021
5341
|
* @throws {RequiredError}
|
|
4022
5342
|
*/
|
|
4023
|
-
|
|
4024
|
-
const localVarPath = `/v1/
|
|
5343
|
+
listingContentVersionsList: async (listingContentId, options = {}) => {
|
|
5344
|
+
const localVarPath = `/v1/listingContentVersions`;
|
|
4025
5345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4026
5346
|
let baseOptions;
|
|
4027
5347
|
if (configuration) {
|
|
@@ -4030,8 +5350,8 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4030
5350
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4031
5351
|
const localVarHeaderParameter = {};
|
|
4032
5352
|
const localVarQueryParameter = {};
|
|
4033
|
-
if (
|
|
4034
|
-
localVarQueryParameter["
|
|
5353
|
+
if (listingContentId !== void 0) {
|
|
5354
|
+
localVarQueryParameter["listingContentId"] = listingContentId;
|
|
4035
5355
|
}
|
|
4036
5356
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4037
5357
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -4719,6 +6039,19 @@ var UnboundApiFp = function(configuration) {
|
|
|
4719
6039
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
4720
6040
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4721
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
|
+
},
|
|
4722
6055
|
/**
|
|
4723
6056
|
* Associates a contact with a listing with the OWNER type.
|
|
4724
6057
|
* @summary Create Contact Listing
|
|
@@ -4950,6 +6283,20 @@ var UnboundApiFp = function(configuration) {
|
|
|
4950
6283
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.emailsUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
4951
6284
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4952
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
|
+
},
|
|
4953
6300
|
/**
|
|
4954
6301
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
4955
6302
|
* @summary Get Me
|
|
@@ -4987,6 +6334,100 @@ var UnboundApiFp = function(configuration) {
|
|
|
4987
6334
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.inquiriesList"]?.[localVarOperationServerIndex]?.url;
|
|
4988
6335
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4989
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
|
+
},
|
|
4990
6431
|
/**
|
|
4991
6432
|
* Listings Get
|
|
4992
6433
|
* @summary Listings Get
|
|
@@ -5314,6 +6755,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5314
6755
|
addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
5315
6756
|
return localVarFp.addressesUpdate(addressId, aPIAddressUpdate, options).then((request) => request(axios, basePath));
|
|
5316
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
|
+
},
|
|
5317
6768
|
/**
|
|
5318
6769
|
* Associates a contact with a listing with the OWNER type.
|
|
5319
6770
|
* @summary Create Contact Listing
|
|
@@ -5497,6 +6948,17 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5497
6948
|
emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
5498
6949
|
return localVarFp.emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(axios, basePath));
|
|
5499
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
|
+
},
|
|
5500
6962
|
/**
|
|
5501
6963
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
5502
6964
|
* @summary Get Me
|
|
@@ -5525,6 +6987,79 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5525
6987
|
inquiriesList(contactId, options) {
|
|
5526
6988
|
return localVarFp.inquiriesList(contactId, options).then((request) => request(axios, basePath));
|
|
5527
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
|
+
},
|
|
5528
7063
|
/**
|
|
5529
7064
|
* Listings Get
|
|
5530
7065
|
* @summary Listings Get
|
|
@@ -5798,6 +7333,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5798
7333
|
addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
5799
7334
|
return UnboundApiFp(this.configuration).addressesUpdate(addressId, aPIAddressUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5800
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
|
+
}
|
|
5801
7347
|
/**
|
|
5802
7348
|
* Associates a contact with a listing with the OWNER type.
|
|
5803
7349
|
* @summary Create Contact Listing
|
|
@@ -5997,6 +7543,18 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5997
7543
|
emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
5998
7544
|
return UnboundApiFp(this.configuration).emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5999
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
|
+
}
|
|
6000
7558
|
/**
|
|
6001
7559
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6002
7560
|
* @summary Get Me
|
|
@@ -6028,6 +7586,86 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6028
7586
|
inquiriesList(contactId, options) {
|
|
6029
7587
|
return UnboundApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
6030
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
|
+
}
|
|
6031
7669
|
/**
|
|
6032
7670
|
* Listings Get
|
|
6033
7671
|
* @summary Listings Get
|
|
@@ -6490,10 +8128,15 @@ var Configuration = class {
|
|
|
6490
8128
|
}
|
|
6491
8129
|
};
|
|
6492
8130
|
export {
|
|
8131
|
+
APIListingContentStatusEnum,
|
|
6493
8132
|
AccountsApi,
|
|
6494
8133
|
AccountsApiAxiosParamCreator,
|
|
6495
8134
|
AccountsApiFactory,
|
|
6496
8135
|
AccountsApiFp,
|
|
8136
|
+
AiResponsesApi,
|
|
8137
|
+
AiResponsesApiAxiosParamCreator,
|
|
8138
|
+
AiResponsesApiFactory,
|
|
8139
|
+
AiResponsesApiFp,
|
|
6497
8140
|
AuthApi,
|
|
6498
8141
|
AuthApiAxiosParamCreator,
|
|
6499
8142
|
AuthApiFactory,
|
|
@@ -6514,6 +8157,7 @@ export {
|
|
|
6514
8157
|
EmailInboxApiInboxTypeEnum,
|
|
6515
8158
|
EmailProviderMessageApiMessageTypeEnum,
|
|
6516
8159
|
ExternalStaffApiStaffTypeEnum,
|
|
8160
|
+
FileListingContentApiListingContentTypeEnum,
|
|
6517
8161
|
GuestApiParticipantTypeEnum,
|
|
6518
8162
|
HostawayApi,
|
|
6519
8163
|
HostawayApiAxiosParamCreator,
|
|
@@ -6528,6 +8172,10 @@ export {
|
|
|
6528
8172
|
InquiriesApiFactory,
|
|
6529
8173
|
InquiriesApiFp,
|
|
6530
8174
|
InternalStaffApiStaffTypeEnum,
|
|
8175
|
+
ListingContentApi,
|
|
8176
|
+
ListingContentApiAxiosParamCreator,
|
|
8177
|
+
ListingContentApiFactory,
|
|
8178
|
+
ListingContentApiFp,
|
|
6531
8179
|
ListingsApi,
|
|
6532
8180
|
ListingsApiAxiosParamCreator,
|
|
6533
8181
|
ListingsApiFactory,
|
|
@@ -6540,6 +8188,7 @@ export {
|
|
|
6540
8188
|
MessageStatus,
|
|
6541
8189
|
PaginationDirection,
|
|
6542
8190
|
PhoneInboxApiInboxTypeEnum,
|
|
8191
|
+
PlainTextListingContentApiListingContentTypeEnum,
|
|
6543
8192
|
ProviderAccountInboxApiInboxTypeEnum,
|
|
6544
8193
|
ProviderCommunicationTypeInput,
|
|
6545
8194
|
ProviderConversationDataApiConversationTypeEnum,
|
|
@@ -6579,6 +8228,7 @@ export {
|
|
|
6579
8228
|
TelnyxApiAxiosParamCreator,
|
|
6580
8229
|
TelnyxApiFactory,
|
|
6581
8230
|
TelnyxApiFp,
|
|
8231
|
+
URLListingContentApiListingContentTypeEnum,
|
|
6582
8232
|
UnboundApi,
|
|
6583
8233
|
UnboundApiAxiosParamCreator,
|
|
6584
8234
|
UnboundApiFactory,
|