@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.mjs
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 = configuration?.serverIndex ?? 0;
|
|
1835
1830
|
const localVarOperationServerBasePath = operationServerMap["ConversationsApi.conversationsList"]?.[localVarOperationServerIndex]?.url;
|
|
1836
1831
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
|
|
2938
|
+
const localVarOperationServerBasePath = operationServerMap["SuggestedRepliesApi.suggestedRepliesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
2939
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
|
|
2951
|
+
const localVarOperationServerBasePath = operationServerMap["SuggestedRepliesApi.suggestedRepliesList"]?.[localVarOperationServerIndex]?.url;
|
|
2952
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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
|
|
@@ -4224,13 +4409,12 @@ 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,
|
|
4416
|
+
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options) {
|
|
4417
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortOrder, options);
|
|
4234
4418
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4235
4419
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.conversationsList"]?.[localVarOperationServerIndex]?.url;
|
|
4236
4420
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4530,6 +4714,32 @@ var UnboundApiFp = function(configuration) {
|
|
|
4530
4714
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.reservationsList"]?.[localVarOperationServerIndex]?.url;
|
|
4531
4715
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4532
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 = configuration?.serverIndex ?? 0;
|
|
4727
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.suggestedRepliesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
4728
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
|
|
4740
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.suggestedRepliesList"]?.[localVarOperationServerIndex]?.url;
|
|
4741
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4742
|
+
},
|
|
4533
4743
|
/**
|
|
4534
4744
|
*
|
|
4535
4745
|
* @summary Unifiedwebhook
|
|
@@ -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
|
|
@@ -5517,6 +5767,7 @@ export {
|
|
|
5517
5767
|
ConversationsApiAxiosParamCreator,
|
|
5518
5768
|
ConversationsApiFactory,
|
|
5519
5769
|
ConversationsApiFp,
|
|
5770
|
+
EmailConversationDataApiConversationTypeEnum,
|
|
5520
5771
|
ExternalStaffApiStaffTypeEnum,
|
|
5521
5772
|
GuestApiParticipantTypeEnum,
|
|
5522
5773
|
HostawayApi,
|
|
@@ -5555,7 +5806,6 @@ export {
|
|
|
5555
5806
|
ReservationsApiFp,
|
|
5556
5807
|
SortOrder,
|
|
5557
5808
|
SrcResourceModelsContactsModelContactsModelContactSortBy,
|
|
5558
|
-
SrcResourceModelsConversationsModelConversationsModelConversationSortBy,
|
|
5559
5809
|
SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum,
|
|
5560
5810
|
SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum,
|
|
5561
5811
|
SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum,
|
|
@@ -5563,6 +5813,10 @@ export {
|
|
|
5563
5813
|
SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy,
|
|
5564
5814
|
SrcResourceModelsReservationsModelReservationBaseModelSortBy,
|
|
5565
5815
|
StaffApiParticipantTypeEnum,
|
|
5816
|
+
SuggestedRepliesApi,
|
|
5817
|
+
SuggestedRepliesApiAxiosParamCreator,
|
|
5818
|
+
SuggestedRepliesApiFactory,
|
|
5819
|
+
SuggestedRepliesApiFp,
|
|
5566
5820
|
TwilioConversationDataApiConversationTypeEnum,
|
|
5567
5821
|
TwilioInboundSenderTypeDataApiDirectionEnum,
|
|
5568
5822
|
TwilioOutboundSenderTypeDataApiDirectionEnum,
|