@ember-home/unbound-ts-client 0.0.82 → 0.0.84
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 +32 -103
- package/dist/index.d.ts +32 -103
- package/dist/index.js +114 -240
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -126
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -219,11 +219,6 @@ var SuggestionStatus = {
|
|
|
219
219
|
AnsweredByStaff: "ANSWERED_BY_STAFF",
|
|
220
220
|
ReplyGenerated: "REPLY_GENERATED"
|
|
221
221
|
};
|
|
222
|
-
var SuggestionUsedType = {
|
|
223
|
-
Accepted: "ACCEPTED",
|
|
224
|
-
Modified: "MODIFIED",
|
|
225
|
-
Rejected: "REJECTED"
|
|
226
|
-
};
|
|
227
222
|
var TwilioConversationDataApiConversationTypeEnum = {
|
|
228
223
|
Text: "TEXT"
|
|
229
224
|
};
|
|
@@ -1802,32 +1797,6 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1802
1797
|
options: localVarRequestOptions
|
|
1803
1798
|
};
|
|
1804
1799
|
},
|
|
1805
|
-
/**
|
|
1806
|
-
*
|
|
1807
|
-
* @summary Conversations List Suggestions
|
|
1808
|
-
* @param {string} conversationId
|
|
1809
|
-
* @param {*} [options] Override http request option.
|
|
1810
|
-
* @throws {RequiredError}
|
|
1811
|
-
*/
|
|
1812
|
-
conversationsListSuggestions: async (conversationId, options = {}) => {
|
|
1813
|
-
assertParamExists("conversationsListSuggestions", "conversationId", conversationId);
|
|
1814
|
-
const localVarPath = `/conversations/{conversationId}/suggestions`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
1815
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1816
|
-
let baseOptions;
|
|
1817
|
-
if (configuration) {
|
|
1818
|
-
baseOptions = configuration.baseOptions;
|
|
1819
|
-
}
|
|
1820
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1821
|
-
const localVarHeaderParameter = {};
|
|
1822
|
-
const localVarQueryParameter = {};
|
|
1823
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1824
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1825
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1826
|
-
return {
|
|
1827
|
-
url: toPathString(localVarUrlObj),
|
|
1828
|
-
options: localVarRequestOptions
|
|
1829
|
-
};
|
|
1830
|
-
},
|
|
1831
1800
|
/**
|
|
1832
1801
|
* Conversations Update
|
|
1833
1802
|
* @summary Conversations Update
|
|
@@ -2020,19 +1989,6 @@ var ConversationsApiFp = function(configuration) {
|
|
|
2020
1989
|
const localVarOperationServerBasePath = operationServerMap["ConversationsApi.conversationsList"]?.[localVarOperationServerIndex]?.url;
|
|
2021
1990
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2022
1991
|
},
|
|
2023
|
-
/**
|
|
2024
|
-
*
|
|
2025
|
-
* @summary Conversations List Suggestions
|
|
2026
|
-
* @param {string} conversationId
|
|
2027
|
-
* @param {*} [options] Override http request option.
|
|
2028
|
-
* @throws {RequiredError}
|
|
2029
|
-
*/
|
|
2030
|
-
async conversationsListSuggestions(conversationId, options) {
|
|
2031
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsListSuggestions(conversationId, options);
|
|
2032
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2033
|
-
const localVarOperationServerBasePath = operationServerMap["ConversationsApi.conversationsListSuggestions"]?.[localVarOperationServerIndex]?.url;
|
|
2034
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2035
|
-
},
|
|
2036
1992
|
/**
|
|
2037
1993
|
* Conversations Update
|
|
2038
1994
|
* @summary Conversations Update
|
|
@@ -2129,16 +2085,6 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
2129
2085
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
2130
2086
|
return localVarFp.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(axios, basePath));
|
|
2131
2087
|
},
|
|
2132
|
-
/**
|
|
2133
|
-
*
|
|
2134
|
-
* @summary Conversations List Suggestions
|
|
2135
|
-
* @param {string} conversationId
|
|
2136
|
-
* @param {*} [options] Override http request option.
|
|
2137
|
-
* @throws {RequiredError}
|
|
2138
|
-
*/
|
|
2139
|
-
conversationsListSuggestions(conversationId, options) {
|
|
2140
|
-
return localVarFp.conversationsListSuggestions(conversationId, options).then((request) => request(axios, basePath));
|
|
2141
|
-
},
|
|
2142
2088
|
/**
|
|
2143
2089
|
* Conversations Update
|
|
2144
2090
|
* @summary Conversations Update
|
|
@@ -2223,17 +2169,6 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2223
2169
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
2224
2170
|
return ConversationsApiFp(this.configuration).conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(this.axios, this.basePath));
|
|
2225
2171
|
}
|
|
2226
|
-
/**
|
|
2227
|
-
*
|
|
2228
|
-
* @summary Conversations List Suggestions
|
|
2229
|
-
* @param {string} conversationId
|
|
2230
|
-
* @param {*} [options] Override http request option.
|
|
2231
|
-
* @throws {RequiredError}
|
|
2232
|
-
* @memberof ConversationsApi
|
|
2233
|
-
*/
|
|
2234
|
-
conversationsListSuggestions(conversationId, options) {
|
|
2235
|
-
return ConversationsApiFp(this.configuration).conversationsListSuggestions(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
2236
|
-
}
|
|
2237
2172
|
/**
|
|
2238
2173
|
* Conversations Update
|
|
2239
2174
|
* @summary Conversations Update
|
|
@@ -3684,32 +3619,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3684
3619
|
options: localVarRequestOptions
|
|
3685
3620
|
};
|
|
3686
3621
|
},
|
|
3687
|
-
/**
|
|
3688
|
-
*
|
|
3689
|
-
* @summary Conversations List Suggestions
|
|
3690
|
-
* @param {string} conversationId
|
|
3691
|
-
* @param {*} [options] Override http request option.
|
|
3692
|
-
* @throws {RequiredError}
|
|
3693
|
-
*/
|
|
3694
|
-
conversationsListSuggestions: async (conversationId, options = {}) => {
|
|
3695
|
-
assertParamExists("conversationsListSuggestions", "conversationId", conversationId);
|
|
3696
|
-
const localVarPath = `/conversations/{conversationId}/suggestions`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
3697
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3698
|
-
let baseOptions;
|
|
3699
|
-
if (configuration) {
|
|
3700
|
-
baseOptions = configuration.baseOptions;
|
|
3701
|
-
}
|
|
3702
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3703
|
-
const localVarHeaderParameter = {};
|
|
3704
|
-
const localVarQueryParameter = {};
|
|
3705
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3706
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3707
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3708
|
-
return {
|
|
3709
|
-
url: toPathString(localVarUrlObj),
|
|
3710
|
-
options: localVarRequestOptions
|
|
3711
|
-
};
|
|
3712
|
-
},
|
|
3713
3622
|
/**
|
|
3714
3623
|
* Conversations Update
|
|
3715
3624
|
* @summary Conversations Update
|
|
@@ -4701,19 +4610,6 @@ var UnboundApiFp = function(configuration) {
|
|
|
4701
4610
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.conversationsList"]?.[localVarOperationServerIndex]?.url;
|
|
4702
4611
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4703
4612
|
},
|
|
4704
|
-
/**
|
|
4705
|
-
*
|
|
4706
|
-
* @summary Conversations List Suggestions
|
|
4707
|
-
* @param {string} conversationId
|
|
4708
|
-
* @param {*} [options] Override http request option.
|
|
4709
|
-
* @throws {RequiredError}
|
|
4710
|
-
*/
|
|
4711
|
-
async conversationsListSuggestions(conversationId, options) {
|
|
4712
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsListSuggestions(conversationId, options);
|
|
4713
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4714
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.conversationsListSuggestions"]?.[localVarOperationServerIndex]?.url;
|
|
4715
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4716
|
-
},
|
|
4717
4613
|
/**
|
|
4718
4614
|
* Conversations Update
|
|
4719
4615
|
* @summary Conversations Update
|
|
@@ -5239,16 +5135,6 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5239
5135
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
5240
5136
|
return localVarFp.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(axios, basePath));
|
|
5241
5137
|
},
|
|
5242
|
-
/**
|
|
5243
|
-
*
|
|
5244
|
-
* @summary Conversations List Suggestions
|
|
5245
|
-
* @param {string} conversationId
|
|
5246
|
-
* @param {*} [options] Override http request option.
|
|
5247
|
-
* @throws {RequiredError}
|
|
5248
|
-
*/
|
|
5249
|
-
conversationsListSuggestions(conversationId, options) {
|
|
5250
|
-
return localVarFp.conversationsListSuggestions(conversationId, options).then((request) => request(axios, basePath));
|
|
5251
|
-
},
|
|
5252
5138
|
/**
|
|
5253
5139
|
* Conversations Update
|
|
5254
5140
|
* @summary Conversations Update
|
|
@@ -5712,17 +5598,6 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5712
5598
|
conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
5713
5599
|
return UnboundApiFp(this.configuration).conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options).then((request) => request(this.axios, this.basePath));
|
|
5714
5600
|
}
|
|
5715
|
-
/**
|
|
5716
|
-
*
|
|
5717
|
-
* @summary Conversations List Suggestions
|
|
5718
|
-
* @param {string} conversationId
|
|
5719
|
-
* @param {*} [options] Override http request option.
|
|
5720
|
-
* @throws {RequiredError}
|
|
5721
|
-
* @memberof UnboundApi
|
|
5722
|
-
*/
|
|
5723
|
-
conversationsListSuggestions(conversationId, options) {
|
|
5724
|
-
return UnboundApiFp(this.configuration).conversationsListSuggestions(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
5725
|
-
}
|
|
5726
5601
|
/**
|
|
5727
5602
|
* Conversations Update
|
|
5728
5603
|
* @summary Conversations Update
|
|
@@ -6191,7 +6066,6 @@ export {
|
|
|
6191
6066
|
SrcResourceModelsReservationsModelReservationBaseModelSortBy,
|
|
6192
6067
|
StaffApiParticipantTypeEnum,
|
|
6193
6068
|
SuggestionStatus,
|
|
6194
|
-
SuggestionUsedType,
|
|
6195
6069
|
TwilioConversationDataApiConversationTypeEnum,
|
|
6196
6070
|
TwilioInboundSenderTypeDataApiDirectionEnum,
|
|
6197
6071
|
TwilioOutboundSenderTypeDataApiDirectionEnum,
|