@ember-home/unbound-ts-client 0.0.43 → 0.0.45
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 +198 -27
- package/dist/index.d.ts +198 -27
- package/dist/index.js +361 -107
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +286 -32
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -85,6 +85,9 @@ var ConversationStatus = {
|
|
|
85
85
|
Open: "OPEN",
|
|
86
86
|
Closed: "CLOSED"
|
|
87
87
|
};
|
|
88
|
+
var EmailConversationDataApiConversationTypeEnum = {
|
|
89
|
+
Email: "EMAIL"
|
|
90
|
+
};
|
|
88
91
|
var ExternalStaffApiStaffTypeEnum = {
|
|
89
92
|
ExternalStaff: "EXTERNAL_STAFF"
|
|
90
93
|
};
|
|
@@ -163,9 +166,6 @@ var SrcResourceModelsContactsModelContactsModelContactSortBy = {
|
|
|
163
166
|
FirstLastCompany: "first_last_company",
|
|
164
167
|
CompanyLastFirst: "company_last_first"
|
|
165
168
|
};
|
|
166
|
-
var SrcResourceModelsConversationsModelConversationsModelConversationSortBy = {
|
|
167
|
-
UpdatedAt: "updated_at"
|
|
168
|
-
};
|
|
169
169
|
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum = {
|
|
170
170
|
RentalProvider: "RENTAL_PROVIDER"
|
|
171
171
|
};
|
|
@@ -1646,12 +1646,11 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1646
1646
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1647
1647
|
* @param {number} [limit]
|
|
1648
1648
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
1649
|
-
* @param {SrcResourceModelsConversationsModelConversationsModelConversationSortBy} [sortBy] Sort key
|
|
1650
1649
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
1651
1650
|
* @param {*} [options] Override http request option.
|
|
1652
1651
|
* @throws {RequiredError}
|
|
1653
1652
|
*/
|
|
1654
|
-
conversationsList: async (searchString, contactId, cursor, limit, pageDir,
|
|
1653
|
+
conversationsList: async (searchString, contactId, cursor, limit, pageDir, sortOrder, options = {}) => {
|
|
1655
1654
|
const localVarPath = `/conversations`;
|
|
1656
1655
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1657
1656
|
let baseOptions;
|
|
@@ -1676,9 +1675,6 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1676
1675
|
if (pageDir !== void 0) {
|
|
1677
1676
|
localVarQueryParameter["pageDir"] = pageDir;
|
|
1678
1677
|
}
|
|
1679
|
-
if (sortBy !== void 0) {
|
|
1680
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
1681
|
-
}
|
|
1682
1678
|
if (sortOrder !== void 0) {
|
|
1683
1679
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1684
1680
|
}
|
|
@@ -1824,13 +1820,12 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1824
1820
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1825
1821
|
* @param {number} [limit]
|
|
1826
1822
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
1827
|
-
* @param {SrcResourceModelsConversationsModelConversationsModelConversationSortBy} [sortBy] Sort key
|
|
1828
1823
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
1829
1824
|
* @param {*} [options] Override http request option.
|
|
1830
1825
|
* @throws {RequiredError}
|
|
1831
1826
|
*/
|
|
1832
|
-
async conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
1833
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
1827
|
+
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options) {
|
|
1828
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options);
|
|
1834
1829
|
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _90 => _90.serverIndex]), () => ( 0));
|
|
1835
1830
|
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _91 => _91["ConversationsApi.conversationsList"], 'optionalAccess', _92 => _92[localVarOperationServerIndex], 'optionalAccess', _93 => _93.url]);
|
|
1836
1831
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1904,13 +1899,12 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1904
1899
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1905
1900
|
* @param {number} [limit]
|
|
1906
1901
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
1907
|
-
* @param {SrcResourceModelsConversationsModelConversationsModelConversationSortBy} [sortBy] Sort key
|
|
1908
1902
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
1909
1903
|
* @param {*} [options] Override http request option.
|
|
1910
1904
|
* @throws {RequiredError}
|
|
1911
1905
|
*/
|
|
1912
|
-
conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
1913
|
-
return localVarFp.conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
1906
|
+
conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options) {
|
|
1907
|
+
return localVarFp.conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options).then((request) => request(axios, basePath));
|
|
1914
1908
|
},
|
|
1915
1909
|
/**
|
|
1916
1910
|
* Messages Create
|
|
@@ -1971,14 +1965,13 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
1971
1965
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1972
1966
|
* @param {number} [limit]
|
|
1973
1967
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
1974
|
-
* @param {SrcResourceModelsConversationsModelConversationsModelConversationSortBy} [sortBy] Sort key
|
|
1975
1968
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
1976
1969
|
* @param {*} [options] Override http request option.
|
|
1977
1970
|
* @throws {RequiredError}
|
|
1978
1971
|
* @memberof ConversationsApi
|
|
1979
1972
|
*/
|
|
1980
|
-
conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
1981
|
-
return ConversationsApiFp(this.configuration).conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
1973
|
+
conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options) {
|
|
1974
|
+
return ConversationsApiFp(this.configuration).conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
1982
1975
|
}
|
|
1983
1976
|
/**
|
|
1984
1977
|
* Messages Create
|
|
@@ -2869,6 +2862,146 @@ var ReservationsApi = class extends BaseAPI {
|
|
|
2869
2862
|
return ReservationsApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2870
2863
|
}
|
|
2871
2864
|
};
|
|
2865
|
+
var SuggestedRepliesApiAxiosParamCreator = function(configuration) {
|
|
2866
|
+
return {
|
|
2867
|
+
/**
|
|
2868
|
+
* SuggestedReplies Create
|
|
2869
|
+
* @summary SuggestedReplies Create
|
|
2870
|
+
* @param {object} body
|
|
2871
|
+
* @param {*} [options] Override http request option.
|
|
2872
|
+
* @throws {RequiredError}
|
|
2873
|
+
*/
|
|
2874
|
+
suggestedRepliesCreate: async (body, options = {}) => {
|
|
2875
|
+
assertParamExists("suggestedRepliesCreate", "body", body);
|
|
2876
|
+
const localVarPath = `/suggestedReplies`;
|
|
2877
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2878
|
+
let baseOptions;
|
|
2879
|
+
if (configuration) {
|
|
2880
|
+
baseOptions = configuration.baseOptions;
|
|
2881
|
+
}
|
|
2882
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2883
|
+
const localVarHeaderParameter = {};
|
|
2884
|
+
const localVarQueryParameter = {};
|
|
2885
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2886
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2887
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2888
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2889
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
2890
|
+
return {
|
|
2891
|
+
url: toPathString(localVarUrlObj),
|
|
2892
|
+
options: localVarRequestOptions
|
|
2893
|
+
};
|
|
2894
|
+
},
|
|
2895
|
+
/**
|
|
2896
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
2897
|
+
* @summary SuggestedReplies List
|
|
2898
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
2899
|
+
* @param {*} [options] Override http request option.
|
|
2900
|
+
* @throws {RequiredError}
|
|
2901
|
+
*/
|
|
2902
|
+
suggestedRepliesList: async (conversationId, options = {}) => {
|
|
2903
|
+
const localVarPath = `/suggestedReplies`;
|
|
2904
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2905
|
+
let baseOptions;
|
|
2906
|
+
if (configuration) {
|
|
2907
|
+
baseOptions = configuration.baseOptions;
|
|
2908
|
+
}
|
|
2909
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2910
|
+
const localVarHeaderParameter = {};
|
|
2911
|
+
const localVarQueryParameter = {};
|
|
2912
|
+
if (conversationId !== void 0) {
|
|
2913
|
+
localVarQueryParameter["conversationId"] = conversationId;
|
|
2914
|
+
}
|
|
2915
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2916
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2917
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2918
|
+
return {
|
|
2919
|
+
url: toPathString(localVarUrlObj),
|
|
2920
|
+
options: localVarRequestOptions
|
|
2921
|
+
};
|
|
2922
|
+
}
|
|
2923
|
+
};
|
|
2924
|
+
};
|
|
2925
|
+
var SuggestedRepliesApiFp = function(configuration) {
|
|
2926
|
+
const localVarAxiosParamCreator = SuggestedRepliesApiAxiosParamCreator(configuration);
|
|
2927
|
+
return {
|
|
2928
|
+
/**
|
|
2929
|
+
* SuggestedReplies Create
|
|
2930
|
+
* @summary SuggestedReplies Create
|
|
2931
|
+
* @param {object} body
|
|
2932
|
+
* @param {*} [options] Override http request option.
|
|
2933
|
+
* @throws {RequiredError}
|
|
2934
|
+
*/
|
|
2935
|
+
async suggestedRepliesCreate(body, options) {
|
|
2936
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesCreate(body, options);
|
|
2937
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
2938
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["SuggestedRepliesApi.suggestedRepliesCreate"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
2939
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2940
|
+
},
|
|
2941
|
+
/**
|
|
2942
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
2943
|
+
* @summary SuggestedReplies List
|
|
2944
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
2945
|
+
* @param {*} [options] Override http request option.
|
|
2946
|
+
* @throws {RequiredError}
|
|
2947
|
+
*/
|
|
2948
|
+
async suggestedRepliesList(conversationId, options) {
|
|
2949
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesList(conversationId, options);
|
|
2950
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
2951
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["SuggestedRepliesApi.suggestedRepliesList"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
2952
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2953
|
+
}
|
|
2954
|
+
};
|
|
2955
|
+
};
|
|
2956
|
+
var SuggestedRepliesApiFactory = function(configuration, basePath, axios) {
|
|
2957
|
+
const localVarFp = SuggestedRepliesApiFp(configuration);
|
|
2958
|
+
return {
|
|
2959
|
+
/**
|
|
2960
|
+
* SuggestedReplies Create
|
|
2961
|
+
* @summary SuggestedReplies Create
|
|
2962
|
+
* @param {object} body
|
|
2963
|
+
* @param {*} [options] Override http request option.
|
|
2964
|
+
* @throws {RequiredError}
|
|
2965
|
+
*/
|
|
2966
|
+
suggestedRepliesCreate(body, options) {
|
|
2967
|
+
return localVarFp.suggestedRepliesCreate(body, options).then((request) => request(axios, basePath));
|
|
2968
|
+
},
|
|
2969
|
+
/**
|
|
2970
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
2971
|
+
* @summary SuggestedReplies List
|
|
2972
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
2973
|
+
* @param {*} [options] Override http request option.
|
|
2974
|
+
* @throws {RequiredError}
|
|
2975
|
+
*/
|
|
2976
|
+
suggestedRepliesList(conversationId, options) {
|
|
2977
|
+
return localVarFp.suggestedRepliesList(conversationId, options).then((request) => request(axios, basePath));
|
|
2978
|
+
}
|
|
2979
|
+
};
|
|
2980
|
+
};
|
|
2981
|
+
var SuggestedRepliesApi = class extends BaseAPI {
|
|
2982
|
+
/**
|
|
2983
|
+
* SuggestedReplies Create
|
|
2984
|
+
* @summary SuggestedReplies Create
|
|
2985
|
+
* @param {object} body
|
|
2986
|
+
* @param {*} [options] Override http request option.
|
|
2987
|
+
* @throws {RequiredError}
|
|
2988
|
+
* @memberof SuggestedRepliesApi
|
|
2989
|
+
*/
|
|
2990
|
+
suggestedRepliesCreate(body, options) {
|
|
2991
|
+
return SuggestedRepliesApiFp(this.configuration).suggestedRepliesCreate(body, options).then((request) => request(this.axios, this.basePath));
|
|
2992
|
+
}
|
|
2993
|
+
/**
|
|
2994
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
2995
|
+
* @summary SuggestedReplies List
|
|
2996
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
2997
|
+
* @param {*} [options] Override http request option.
|
|
2998
|
+
* @throws {RequiredError}
|
|
2999
|
+
* @memberof SuggestedRepliesApi
|
|
3000
|
+
*/
|
|
3001
|
+
suggestedRepliesList(conversationId, options) {
|
|
3002
|
+
return SuggestedRepliesApiFp(this.configuration).suggestedRepliesList(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
3003
|
+
}
|
|
3004
|
+
};
|
|
2872
3005
|
var UnboundApiAxiosParamCreator = function(configuration) {
|
|
2873
3006
|
return {
|
|
2874
3007
|
/**
|
|
@@ -3295,12 +3428,11 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3295
3428
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3296
3429
|
* @param {number} [limit]
|
|
3297
3430
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3298
|
-
* @param {SrcResourceModelsConversationsModelConversationsModelConversationSortBy} [sortBy] Sort key
|
|
3299
3431
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3300
3432
|
* @param {*} [options] Override http request option.
|
|
3301
3433
|
* @throws {RequiredError}
|
|
3302
3434
|
*/
|
|
3303
|
-
conversationsList: async (searchString, contactId, cursor, limit, pageDir,
|
|
3435
|
+
conversationsList: async (searchString, contactId, cursor, limit, pageDir, sortOrder, options = {}) => {
|
|
3304
3436
|
const localVarPath = `/conversations`;
|
|
3305
3437
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3306
3438
|
let baseOptions;
|
|
@@ -3325,9 +3457,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3325
3457
|
if (pageDir !== void 0) {
|
|
3326
3458
|
localVarQueryParameter["pageDir"] = pageDir;
|
|
3327
3459
|
}
|
|
3328
|
-
if (sortBy !== void 0) {
|
|
3329
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
3330
|
-
}
|
|
3331
3460
|
if (sortOrder !== void 0) {
|
|
3332
3461
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
3333
3462
|
}
|
|
@@ -3987,6 +4116,62 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3987
4116
|
options: localVarRequestOptions
|
|
3988
4117
|
};
|
|
3989
4118
|
},
|
|
4119
|
+
/**
|
|
4120
|
+
* SuggestedReplies Create
|
|
4121
|
+
* @summary SuggestedReplies Create
|
|
4122
|
+
* @param {object} body
|
|
4123
|
+
* @param {*} [options] Override http request option.
|
|
4124
|
+
* @throws {RequiredError}
|
|
4125
|
+
*/
|
|
4126
|
+
suggestedRepliesCreate: async (body, options = {}) => {
|
|
4127
|
+
assertParamExists("suggestedRepliesCreate", "body", body);
|
|
4128
|
+
const localVarPath = `/suggestedReplies`;
|
|
4129
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4130
|
+
let baseOptions;
|
|
4131
|
+
if (configuration) {
|
|
4132
|
+
baseOptions = configuration.baseOptions;
|
|
4133
|
+
}
|
|
4134
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
4135
|
+
const localVarHeaderParameter = {};
|
|
4136
|
+
const localVarQueryParameter = {};
|
|
4137
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4138
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4139
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4140
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4141
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
4142
|
+
return {
|
|
4143
|
+
url: toPathString(localVarUrlObj),
|
|
4144
|
+
options: localVarRequestOptions
|
|
4145
|
+
};
|
|
4146
|
+
},
|
|
4147
|
+
/**
|
|
4148
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
4149
|
+
* @summary SuggestedReplies List
|
|
4150
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
4151
|
+
* @param {*} [options] Override http request option.
|
|
4152
|
+
* @throws {RequiredError}
|
|
4153
|
+
*/
|
|
4154
|
+
suggestedRepliesList: async (conversationId, options = {}) => {
|
|
4155
|
+
const localVarPath = `/suggestedReplies`;
|
|
4156
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4157
|
+
let baseOptions;
|
|
4158
|
+
if (configuration) {
|
|
4159
|
+
baseOptions = configuration.baseOptions;
|
|
4160
|
+
}
|
|
4161
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4162
|
+
const localVarHeaderParameter = {};
|
|
4163
|
+
const localVarQueryParameter = {};
|
|
4164
|
+
if (conversationId !== void 0) {
|
|
4165
|
+
localVarQueryParameter["conversationId"] = conversationId;
|
|
4166
|
+
}
|
|
4167
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4169
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4170
|
+
return {
|
|
4171
|
+
url: toPathString(localVarUrlObj),
|
|
4172
|
+
options: localVarRequestOptions
|
|
4173
|
+
};
|
|
4174
|
+
},
|
|
3990
4175
|
/**
|
|
3991
4176
|
*
|
|
3992
4177
|
* @summary Unifiedwebhook
|
|
@@ -4029,8 +4214,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4029
4214
|
*/
|
|
4030
4215
|
async accountsList(options) {
|
|
4031
4216
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
4032
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4033
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4217
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
4218
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["UnboundApi.accountsList"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
4034
4219
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4035
4220
|
},
|
|
4036
4221
|
/**
|
|
@@ -4043,8 +4228,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4043
4228
|
*/
|
|
4044
4229
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
4045
4230
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
4046
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4047
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4231
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
4232
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["UnboundApi.addressesCreate"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
4048
4233
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4049
4234
|
},
|
|
4050
4235
|
/**
|
|
@@ -4056,8 +4241,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4056
4241
|
*/
|
|
4057
4242
|
async addressesDelete(addressId, options) {
|
|
4058
4243
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
4059
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4060
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4244
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _166 => _166.serverIndex]), () => ( 0));
|
|
4245
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _167 => _167["UnboundApi.addressesDelete"], 'optionalAccess', _168 => _168[localVarOperationServerIndex], 'optionalAccess', _169 => _169.url]);
|
|
4061
4246
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4062
4247
|
},
|
|
4063
4248
|
/**
|
|
@@ -4069,8 +4254,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4069
4254
|
*/
|
|
4070
4255
|
async addressesGet(addressId, options) {
|
|
4071
4256
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
4072
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4073
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4257
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _170 => _170.serverIndex]), () => ( 0));
|
|
4258
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _171 => _171["UnboundApi.addressesGet"], 'optionalAccess', _172 => _172[localVarOperationServerIndex], 'optionalAccess', _173 => _173.url]);
|
|
4074
4259
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4075
4260
|
},
|
|
4076
4261
|
/**
|
|
@@ -4083,8 +4268,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4083
4268
|
*/
|
|
4084
4269
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
4085
4270
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
4086
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4087
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4271
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _174 => _174.serverIndex]), () => ( 0));
|
|
4272
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _175 => _175["UnboundApi.addressesUpdate"], 'optionalAccess', _176 => _176[localVarOperationServerIndex], 'optionalAccess', _177 => _177.url]);
|
|
4088
4273
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4089
4274
|
},
|
|
4090
4275
|
/**
|
|
@@ -4098,8 +4283,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4098
4283
|
*/
|
|
4099
4284
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
4100
4285
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
4101
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4102
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4286
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _178 => _178.serverIndex]), () => ( 0));
|
|
4287
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _179 => _179["UnboundApi.contactsAddListing"], 'optionalAccess', _180 => _180[localVarOperationServerIndex], 'optionalAccess', _181 => _181.url]);
|
|
4103
4288
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4104
4289
|
},
|
|
4105
4290
|
/**
|
|
@@ -4111,8 +4296,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4111
4296
|
*/
|
|
4112
4297
|
async contactsCreate(contactcreate, options) {
|
|
4113
4298
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
4114
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4115
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4299
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _182 => _182.serverIndex]), () => ( 0));
|
|
4300
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _183 => _183["UnboundApi.contactsCreate"], 'optionalAccess', _184 => _184[localVarOperationServerIndex], 'optionalAccess', _185 => _185.url]);
|
|
4116
4301
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4117
4302
|
},
|
|
4118
4303
|
/**
|
|
@@ -4124,8 +4309,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4124
4309
|
*/
|
|
4125
4310
|
async contactsDelete(contactId, options) {
|
|
4126
4311
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
4127
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4128
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4312
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _186 => _186.serverIndex]), () => ( 0));
|
|
4313
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _187 => _187["UnboundApi.contactsDelete"], 'optionalAccess', _188 => _188[localVarOperationServerIndex], 'optionalAccess', _189 => _189.url]);
|
|
4129
4314
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4130
4315
|
},
|
|
4131
4316
|
/**
|
|
@@ -4137,8 +4322,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4137
4322
|
*/
|
|
4138
4323
|
async contactsGet(contactId, options) {
|
|
4139
4324
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
4140
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4141
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4325
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _190 => _190.serverIndex]), () => ( 0));
|
|
4326
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _191 => _191["UnboundApi.contactsGet"], 'optionalAccess', _192 => _192[localVarOperationServerIndex], 'optionalAccess', _193 => _193.url]);
|
|
4142
4327
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4143
4328
|
},
|
|
4144
4329
|
/**
|
|
@@ -4155,8 +4340,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4155
4340
|
*/
|
|
4156
4341
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4157
4342
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4158
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4159
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4343
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _194 => _194.serverIndex]), () => ( 0));
|
|
4344
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _195 => _195["UnboundApi.contactsList"], 'optionalAccess', _196 => _196[localVarOperationServerIndex], 'optionalAccess', _197 => _197.url]);
|
|
4160
4345
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4161
4346
|
},
|
|
4162
4347
|
/**
|
|
@@ -4170,8 +4355,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4170
4355
|
*/
|
|
4171
4356
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
4172
4357
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
4173
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4174
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4358
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _198 => _198.serverIndex]), () => ( 0));
|
|
4359
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _199 => _199["UnboundApi.contactsRemoveListing"], 'optionalAccess', _200 => _200[localVarOperationServerIndex], 'optionalAccess', _201 => _201.url]);
|
|
4175
4360
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4176
4361
|
},
|
|
4177
4362
|
/**
|
|
@@ -4184,8 +4369,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4184
4369
|
*/
|
|
4185
4370
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
4186
4371
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
4187
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4188
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4372
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _202 => _202.serverIndex]), () => ( 0));
|
|
4373
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _203 => _203["UnboundApi.contactsUpdate"], 'optionalAccess', _204 => _204[localVarOperationServerIndex], 'optionalAccess', _205 => _205.url]);
|
|
4189
4374
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4190
4375
|
},
|
|
4191
4376
|
/**
|
|
@@ -4199,8 +4384,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4199
4384
|
*/
|
|
4200
4385
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4201
4386
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
4202
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4203
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4387
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _206 => _206.serverIndex]), () => ( 0));
|
|
4388
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _207 => _207["UnboundApi.contactsUpdateListing"], 'optionalAccess', _208 => _208[localVarOperationServerIndex], 'optionalAccess', _209 => _209.url]);
|
|
4204
4389
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4205
4390
|
},
|
|
4206
4391
|
/**
|
|
@@ -4212,8 +4397,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4212
4397
|
*/
|
|
4213
4398
|
async conversationsGet(conversationId, options) {
|
|
4214
4399
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4215
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4216
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4400
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _210 => _210.serverIndex]), () => ( 0));
|
|
4401
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _211 => _211["UnboundApi.conversationsGet"], 'optionalAccess', _212 => _212[localVarOperationServerIndex], 'optionalAccess', _213 => _213.url]);
|
|
4217
4402
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4218
4403
|
},
|
|
4219
4404
|
/**
|
|
@@ -4224,15 +4409,14 @@ var UnboundApiFp = function(configuration) {
|
|
|
4224
4409
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4225
4410
|
* @param {number} [limit]
|
|
4226
4411
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4227
|
-
* @param {SrcResourceModelsConversationsModelConversationsModelConversationSortBy} [sortBy] Sort key
|
|
4228
4412
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4229
4413
|
* @param {*} [options] Override http request option.
|
|
4230
4414
|
* @throws {RequiredError}
|
|
4231
4415
|
*/
|
|
4232
|
-
async conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
4233
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
4234
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4235
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4416
|
+
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options) {
|
|
4417
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options);
|
|
4418
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _214 => _214.serverIndex]), () => ( 0));
|
|
4419
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _215 => _215["UnboundApi.conversationsList"], 'optionalAccess', _216 => _216[localVarOperationServerIndex], 'optionalAccess', _217 => _217.url]);
|
|
4236
4420
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4237
4421
|
},
|
|
4238
4422
|
/**
|
|
@@ -4245,8 +4429,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4245
4429
|
*/
|
|
4246
4430
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4247
4431
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
4248
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4249
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4432
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _218 => _218.serverIndex]), () => ( 0));
|
|
4433
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _219 => _219["UnboundApi.emailsCreate"], 'optionalAccess', _220 => _220[localVarOperationServerIndex], 'optionalAccess', _221 => _221.url]);
|
|
4250
4434
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4251
4435
|
},
|
|
4252
4436
|
/**
|
|
@@ -4258,8 +4442,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4258
4442
|
*/
|
|
4259
4443
|
async emailsDelete(emailId, options) {
|
|
4260
4444
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4261
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4262
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4445
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _222 => _222.serverIndex]), () => ( 0));
|
|
4446
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.emailsDelete"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
4263
4447
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4264
4448
|
},
|
|
4265
4449
|
/**
|
|
@@ -4271,8 +4455,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4271
4455
|
*/
|
|
4272
4456
|
async emailsGet(emailId, options) {
|
|
4273
4457
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
4274
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4275
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4458
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4459
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.emailsGet"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
4276
4460
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4277
4461
|
},
|
|
4278
4462
|
/**
|
|
@@ -4285,8 +4469,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4285
4469
|
*/
|
|
4286
4470
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
4287
4471
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
4288
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4289
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4472
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4473
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["UnboundApi.emailsUpdate"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4290
4474
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4291
4475
|
},
|
|
4292
4476
|
/**
|
|
@@ -4298,8 +4482,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4298
4482
|
*/
|
|
4299
4483
|
async inquiriesList(contactId, options) {
|
|
4300
4484
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4301
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4302
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4485
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4486
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.inquiriesList"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4303
4487
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4304
4488
|
},
|
|
4305
4489
|
/**
|
|
@@ -4311,8 +4495,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4311
4495
|
*/
|
|
4312
4496
|
async listingsGet(listingId, options) {
|
|
4313
4497
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4314
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4315
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4498
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4499
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.listingsGet"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4316
4500
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4317
4501
|
},
|
|
4318
4502
|
/**
|
|
@@ -4330,8 +4514,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4330
4514
|
*/
|
|
4331
4515
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4332
4516
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4333
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4334
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4517
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4518
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.listingsList"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4335
4519
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4336
4520
|
},
|
|
4337
4521
|
/**
|
|
@@ -4342,8 +4526,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4342
4526
|
*/
|
|
4343
4527
|
async managedPhoneNumbersList(options) {
|
|
4344
4528
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
4345
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4346
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4529
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4530
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4347
4531
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4348
4532
|
},
|
|
4349
4533
|
/**
|
|
@@ -4356,8 +4540,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4356
4540
|
*/
|
|
4357
4541
|
async messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
4358
4542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, aPIMessageCreate, options);
|
|
4359
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4360
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4543
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4544
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.messagesCreate"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4361
4545
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4362
4546
|
},
|
|
4363
4547
|
/**
|
|
@@ -4369,8 +4553,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4369
4553
|
*/
|
|
4370
4554
|
async messagesGet(messageId, options) {
|
|
4371
4555
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
4372
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4373
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4556
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4557
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.messagesGet"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4374
4558
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4375
4559
|
},
|
|
4376
4560
|
/**
|
|
@@ -4388,8 +4572,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4388
4572
|
*/
|
|
4389
4573
|
async messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4390
4574
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4391
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4392
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4575
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4576
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.messagesList"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4393
4577
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4394
4578
|
},
|
|
4395
4579
|
/**
|
|
@@ -4402,8 +4586,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4402
4586
|
*/
|
|
4403
4587
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
4404
4588
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
4405
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4406
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4589
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4590
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.phonesCreate"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4407
4591
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4408
4592
|
},
|
|
4409
4593
|
/**
|
|
@@ -4415,8 +4599,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4415
4599
|
*/
|
|
4416
4600
|
async phonesDelete(phoneId, options) {
|
|
4417
4601
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
4418
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4419
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4602
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4603
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.phonesDelete"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4420
4604
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4421
4605
|
},
|
|
4422
4606
|
/**
|
|
@@ -4428,8 +4612,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4428
4612
|
*/
|
|
4429
4613
|
async phonesGet(phoneId, options) {
|
|
4430
4614
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
4431
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4432
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4615
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
4616
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.phonesGet"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4433
4617
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4434
4618
|
},
|
|
4435
4619
|
/**
|
|
@@ -4442,8 +4626,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4442
4626
|
*/
|
|
4443
4627
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
4444
4628
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
4445
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4446
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4629
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
4630
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.phonesUpdate"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4447
4631
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4448
4632
|
},
|
|
4449
4633
|
/**
|
|
@@ -4455,8 +4639,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4455
4639
|
*/
|
|
4456
4640
|
async providersCreate(aPIProviderCreate, options) {
|
|
4457
4641
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
4458
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4459
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4642
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
4643
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.providersCreate"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4460
4644
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4461
4645
|
},
|
|
4462
4646
|
/**
|
|
@@ -4468,8 +4652,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4468
4652
|
*/
|
|
4469
4653
|
async providersGet(providerId, options) {
|
|
4470
4654
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
4471
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4472
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4655
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
4656
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.providersGet"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4473
4657
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4474
4658
|
},
|
|
4475
4659
|
/**
|
|
@@ -4480,8 +4664,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4480
4664
|
*/
|
|
4481
4665
|
async providersList(options) {
|
|
4482
4666
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
4483
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4484
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4667
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
4668
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.providersList"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4485
4669
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4486
4670
|
},
|
|
4487
4671
|
/**
|
|
@@ -4494,8 +4678,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4494
4678
|
*/
|
|
4495
4679
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
4496
4680
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
4497
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4498
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4681
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
4682
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.providersUpdate"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4499
4683
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4500
4684
|
},
|
|
4501
4685
|
/**
|
|
@@ -4507,8 +4691,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4507
4691
|
*/
|
|
4508
4692
|
async reservationsGet(reservationId, options) {
|
|
4509
4693
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
4510
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4511
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4694
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
4695
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.reservationsGet"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4512
4696
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4513
4697
|
},
|
|
4514
4698
|
/**
|
|
@@ -4526,8 +4710,34 @@ var UnboundApiFp = function(configuration) {
|
|
|
4526
4710
|
*/
|
|
4527
4711
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4528
4712
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4529
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4530
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4713
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
4714
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.reservationsList"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
4715
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4716
|
+
},
|
|
4717
|
+
/**
|
|
4718
|
+
* SuggestedReplies Create
|
|
4719
|
+
* @summary SuggestedReplies Create
|
|
4720
|
+
* @param {object} body
|
|
4721
|
+
* @param {*} [options] Override http request option.
|
|
4722
|
+
* @throws {RequiredError}
|
|
4723
|
+
*/
|
|
4724
|
+
async suggestedRepliesCreate(body, options) {
|
|
4725
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesCreate(body, options);
|
|
4726
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
4727
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.suggestedRepliesCreate"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
4728
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4729
|
+
},
|
|
4730
|
+
/**
|
|
4731
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
4732
|
+
* @summary SuggestedReplies List
|
|
4733
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
4734
|
+
* @param {*} [options] Override http request option.
|
|
4735
|
+
* @throws {RequiredError}
|
|
4736
|
+
*/
|
|
4737
|
+
async suggestedRepliesList(conversationId, options) {
|
|
4738
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesList(conversationId, options);
|
|
4739
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
4740
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.suggestedRepliesList"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
4531
4741
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4532
4742
|
},
|
|
4533
4743
|
/**
|
|
@@ -4539,8 +4749,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4539
4749
|
*/
|
|
4540
4750
|
async webhook(hostawayWebhook, options) {
|
|
4541
4751
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
4542
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4543
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4752
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _310 => _310.serverIndex]), () => ( 0));
|
|
4753
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _311 => _311["UnboundApi.webhook"], 'optionalAccess', _312 => _312[localVarOperationServerIndex], 'optionalAccess', _313 => _313.url]);
|
|
4544
4754
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4545
4755
|
}
|
|
4546
4756
|
};
|
|
@@ -4709,13 +4919,12 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4709
4919
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4710
4920
|
* @param {number} [limit]
|
|
4711
4921
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4712
|
-
* @param {SrcResourceModelsConversationsModelConversationsModelConversationSortBy} [sortBy] Sort key
|
|
4713
4922
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4714
4923
|
* @param {*} [options] Override http request option.
|
|
4715
4924
|
* @throws {RequiredError}
|
|
4716
4925
|
*/
|
|
4717
|
-
conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
4718
|
-
return localVarFp.conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
4926
|
+
conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options) {
|
|
4927
|
+
return localVarFp.conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options).then((request) => request(axios, basePath));
|
|
4719
4928
|
},
|
|
4720
4929
|
/**
|
|
4721
4930
|
* Emails Create
|
|
@@ -4949,6 +5158,26 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4949
5158
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4950
5159
|
return localVarFp.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
4951
5160
|
},
|
|
5161
|
+
/**
|
|
5162
|
+
* SuggestedReplies Create
|
|
5163
|
+
* @summary SuggestedReplies Create
|
|
5164
|
+
* @param {object} body
|
|
5165
|
+
* @param {*} [options] Override http request option.
|
|
5166
|
+
* @throws {RequiredError}
|
|
5167
|
+
*/
|
|
5168
|
+
suggestedRepliesCreate(body, options) {
|
|
5169
|
+
return localVarFp.suggestedRepliesCreate(body, options).then((request) => request(axios, basePath));
|
|
5170
|
+
},
|
|
5171
|
+
/**
|
|
5172
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
5173
|
+
* @summary SuggestedReplies List
|
|
5174
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
5175
|
+
* @param {*} [options] Override http request option.
|
|
5176
|
+
* @throws {RequiredError}
|
|
5177
|
+
*/
|
|
5178
|
+
suggestedRepliesList(conversationId, options) {
|
|
5179
|
+
return localVarFp.suggestedRepliesList(conversationId, options).then((request) => request(axios, basePath));
|
|
5180
|
+
},
|
|
4952
5181
|
/**
|
|
4953
5182
|
*
|
|
4954
5183
|
* @summary Unifiedwebhook
|
|
@@ -5137,14 +5366,13 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5137
5366
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5138
5367
|
* @param {number} [limit]
|
|
5139
5368
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
5140
|
-
* @param {SrcResourceModelsConversationsModelConversationsModelConversationSortBy} [sortBy] Sort key
|
|
5141
5369
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
5142
5370
|
* @param {*} [options] Override http request option.
|
|
5143
5371
|
* @throws {RequiredError}
|
|
5144
5372
|
* @memberof UnboundApi
|
|
5145
5373
|
*/
|
|
5146
|
-
conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
5147
|
-
return UnboundApiFp(this.configuration).conversationsList(searchString, contactId, cursor, limit, pageDir,
|
|
5374
|
+
conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options) {
|
|
5375
|
+
return UnboundApiFp(this.configuration).conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5148
5376
|
}
|
|
5149
5377
|
/**
|
|
5150
5378
|
* Emails Create
|
|
@@ -5399,6 +5627,28 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5399
5627
|
reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5400
5628
|
return UnboundApiFp(this.configuration).reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5401
5629
|
}
|
|
5630
|
+
/**
|
|
5631
|
+
* SuggestedReplies Create
|
|
5632
|
+
* @summary SuggestedReplies Create
|
|
5633
|
+
* @param {object} body
|
|
5634
|
+
* @param {*} [options] Override http request option.
|
|
5635
|
+
* @throws {RequiredError}
|
|
5636
|
+
* @memberof UnboundApi
|
|
5637
|
+
*/
|
|
5638
|
+
suggestedRepliesCreate(body, options) {
|
|
5639
|
+
return UnboundApiFp(this.configuration).suggestedRepliesCreate(body, options).then((request) => request(this.axios, this.basePath));
|
|
5640
|
+
}
|
|
5641
|
+
/**
|
|
5642
|
+
* List all suggested replies, optionally filtered by conversation_id
|
|
5643
|
+
* @summary SuggestedReplies List
|
|
5644
|
+
* @param {string | null} [conversationId] Filter by conversation ID
|
|
5645
|
+
* @param {*} [options] Override http request option.
|
|
5646
|
+
* @throws {RequiredError}
|
|
5647
|
+
* @memberof UnboundApi
|
|
5648
|
+
*/
|
|
5649
|
+
suggestedRepliesList(conversationId, options) {
|
|
5650
|
+
return UnboundApiFp(this.configuration).suggestedRepliesList(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
5651
|
+
}
|
|
5402
5652
|
/**
|
|
5403
5653
|
*
|
|
5404
5654
|
* @summary Unifiedwebhook
|
|
@@ -5480,7 +5730,7 @@ var Configuration = class {
|
|
|
5480
5730
|
this.baseOptions = {
|
|
5481
5731
|
...param.baseOptions,
|
|
5482
5732
|
headers: {
|
|
5483
|
-
..._optionalChain([param, 'access',
|
|
5733
|
+
..._optionalChain([param, 'access', _314 => _314.baseOptions, 'optionalAccess', _315 => _315.headers])
|
|
5484
5734
|
}
|
|
5485
5735
|
};
|
|
5486
5736
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -5571,5 +5821,9 @@ var Configuration = class {
|
|
|
5571
5821
|
|
|
5572
5822
|
|
|
5573
5823
|
|
|
5574
|
-
|
|
5824
|
+
|
|
5825
|
+
|
|
5826
|
+
|
|
5827
|
+
|
|
5828
|
+
exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.BotApiParticipantTypeEnum = BotApiParticipantTypeEnum; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.ConversationStatus = ConversationStatus; exports.ConversationsApi = ConversationsApi; exports.ConversationsApiAxiosParamCreator = ConversationsApiAxiosParamCreator; exports.ConversationsApiFactory = ConversationsApiFactory; exports.ConversationsApiFp = ConversationsApiFp; exports.EmailConversationDataApiConversationTypeEnum = EmailConversationDataApiConversationTypeEnum; exports.ExternalStaffApiStaffTypeEnum = ExternalStaffApiStaffTypeEnum; exports.GuestApiParticipantTypeEnum = GuestApiParticipantTypeEnum; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.InternalStaffApiStaffTypeEnum = InternalStaffApiStaffTypeEnum; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.ManagedPhoneNumbersApi = ManagedPhoneNumbersApi; exports.ManagedPhoneNumbersApiAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator; exports.ManagedPhoneNumbersApiFactory = ManagedPhoneNumbersApiFactory; exports.ManagedPhoneNumbersApiFp = ManagedPhoneNumbersApiFp; exports.MessageDirection = MessageDirection; exports.MessageStatus = MessageStatus; exports.PaginationDirection = PaginationDirection; exports.ProviderCommunicationType = ProviderCommunicationType; exports.ProviderConversationDataApiConversationTypeEnum = ProviderConversationDataApiConversationTypeEnum; exports.ProviderStaffApiStaffTypeEnum = ProviderStaffApiStaffTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.RentalProviderMessageApiMessageTypeEnum = RentalProviderMessageApiMessageTypeEnum; exports.ReservationChannelTypes = ReservationChannelTypes; exports.ReservationStatus = ReservationStatus; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SortOrder = SortOrder; exports.SrcResourceModelsContactsModelContactsModelContactSortBy = SrcResourceModelsContactsModelContactsModelContactSortBy; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum; exports.SrcResourceModelsListingsModelListingBaseSortBy = SrcResourceModelsListingsModelListingBaseSortBy; exports.SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.StaffApiParticipantTypeEnum = StaffApiParticipantTypeEnum; exports.SuggestedRepliesApi = SuggestedRepliesApi; exports.SuggestedRepliesApiAxiosParamCreator = SuggestedRepliesApiAxiosParamCreator; exports.SuggestedRepliesApiFactory = SuggestedRepliesApiFactory; exports.SuggestedRepliesApiFp = SuggestedRepliesApiFp; exports.TwilioConversationDataApiConversationTypeEnum = TwilioConversationDataApiConversationTypeEnum; exports.TwilioInboundSenderTypeDataApiDirectionEnum = TwilioInboundSenderTypeDataApiDirectionEnum; exports.TwilioOutboundSenderTypeDataApiDirectionEnum = TwilioOutboundSenderTypeDataApiDirectionEnum; exports.TwilioProviderMessageApiMessageTypeEnum = TwilioProviderMessageApiMessageTypeEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
5575
5829
|
//# sourceMappingURL=index.js.map
|