@ember-home/unbound-ts-client 0.0.66 → 0.0.68
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 +169 -6
- package/dist/index.d.ts +169 -6
- package/dist/index.js +174 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +131 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3815,6 +3815,30 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3815
3815
|
options: localVarRequestOptions
|
|
3816
3816
|
};
|
|
3817
3817
|
},
|
|
3818
|
+
/**
|
|
3819
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
3820
|
+
* @summary Get Me
|
|
3821
|
+
* @param {*} [options] Override http request option.
|
|
3822
|
+
* @throws {RequiredError}
|
|
3823
|
+
*/
|
|
3824
|
+
getMeMeGet: async (options = {}) => {
|
|
3825
|
+
const localVarPath = `/me`;
|
|
3826
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3827
|
+
let baseOptions;
|
|
3828
|
+
if (configuration) {
|
|
3829
|
+
baseOptions = configuration.baseOptions;
|
|
3830
|
+
}
|
|
3831
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3832
|
+
const localVarHeaderParameter = {};
|
|
3833
|
+
const localVarQueryParameter = {};
|
|
3834
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3835
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3836
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3837
|
+
return {
|
|
3838
|
+
url: toPathString(localVarUrlObj),
|
|
3839
|
+
options: localVarRequestOptions
|
|
3840
|
+
};
|
|
3841
|
+
},
|
|
3818
3842
|
/**
|
|
3819
3843
|
* Inboxes List
|
|
3820
3844
|
* @summary Inboxes List
|
|
@@ -4764,6 +4788,18 @@ var UnboundApiFp = function(configuration) {
|
|
|
4764
4788
|
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.emailsUpdate"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4765
4789
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4766
4790
|
},
|
|
4791
|
+
/**
|
|
4792
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
4793
|
+
* @summary Get Me
|
|
4794
|
+
* @param {*} [options] Override http request option.
|
|
4795
|
+
* @throws {RequiredError}
|
|
4796
|
+
*/
|
|
4797
|
+
async getMeMeGet(options) {
|
|
4798
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMeMeGet(options);
|
|
4799
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4800
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.getMeMeGet"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4801
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4802
|
+
},
|
|
4767
4803
|
/**
|
|
4768
4804
|
* Inboxes List
|
|
4769
4805
|
* @summary Inboxes List
|
|
@@ -4772,8 +4808,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4772
4808
|
*/
|
|
4773
4809
|
async inboxesList(options) {
|
|
4774
4810
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
4775
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4776
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4811
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4812
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.inboxesList"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4777
4813
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4778
4814
|
},
|
|
4779
4815
|
/**
|
|
@@ -4785,8 +4821,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4785
4821
|
*/
|
|
4786
4822
|
async inquiriesList(contactId, options) {
|
|
4787
4823
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4788
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4789
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4824
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4825
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.inquiriesList"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4790
4826
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4791
4827
|
},
|
|
4792
4828
|
/**
|
|
@@ -4798,8 +4834,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4798
4834
|
*/
|
|
4799
4835
|
async listingsGet(listingId, options) {
|
|
4800
4836
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4801
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4802
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4837
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4838
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.listingsGet"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4803
4839
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4804
4840
|
},
|
|
4805
4841
|
/**
|
|
@@ -4817,8 +4853,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4817
4853
|
*/
|
|
4818
4854
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4819
4855
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4820
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4821
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4856
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4857
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.listingsList"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4822
4858
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4823
4859
|
},
|
|
4824
4860
|
/**
|
|
@@ -4829,8 +4865,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4829
4865
|
*/
|
|
4830
4866
|
async managedPhoneNumbersList(options) {
|
|
4831
4867
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
4832
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4833
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4868
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4869
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4834
4870
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4835
4871
|
},
|
|
4836
4872
|
/**
|
|
@@ -4843,8 +4879,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4843
4879
|
*/
|
|
4844
4880
|
async messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
4845
4881
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, aPIMessageCreate, options);
|
|
4846
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4847
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4882
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
4883
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.messagesCreate"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4848
4884
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4849
4885
|
},
|
|
4850
4886
|
/**
|
|
@@ -4856,8 +4892,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4856
4892
|
*/
|
|
4857
4893
|
async messagesGet(messageId, options) {
|
|
4858
4894
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
4859
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4860
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4895
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
4896
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.messagesGet"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4861
4897
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4862
4898
|
},
|
|
4863
4899
|
/**
|
|
@@ -4879,8 +4915,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4879
4915
|
*/
|
|
4880
4916
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4881
4917
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4882
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4883
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4918
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
4919
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.messagesList"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4884
4920
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4885
4921
|
},
|
|
4886
4922
|
/**
|
|
@@ -4893,8 +4929,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4893
4929
|
*/
|
|
4894
4930
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
4895
4931
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
4896
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4897
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4932
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
4933
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.phonesCreate"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4898
4934
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4899
4935
|
},
|
|
4900
4936
|
/**
|
|
@@ -4906,8 +4942,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4906
4942
|
*/
|
|
4907
4943
|
async phonesDelete(phoneId, options) {
|
|
4908
4944
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
4909
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4910
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4945
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
4946
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.phonesDelete"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4911
4947
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4912
4948
|
},
|
|
4913
4949
|
/**
|
|
@@ -4919,8 +4955,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4919
4955
|
*/
|
|
4920
4956
|
async phonesGet(phoneId, options) {
|
|
4921
4957
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
4922
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4923
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4958
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
4959
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.phonesGet"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4924
4960
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4925
4961
|
},
|
|
4926
4962
|
/**
|
|
@@ -4933,8 +4969,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4933
4969
|
*/
|
|
4934
4970
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
4935
4971
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
4936
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4937
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4972
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
4973
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.phonesUpdate"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4938
4974
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4939
4975
|
},
|
|
4940
4976
|
/**
|
|
@@ -4946,8 +4982,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4946
4982
|
*/
|
|
4947
4983
|
async providersCreate(aPIProviderCreate, options) {
|
|
4948
4984
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
4949
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4950
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4985
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
4986
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.providersCreate"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
4951
4987
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4952
4988
|
},
|
|
4953
4989
|
/**
|
|
@@ -4959,8 +4995,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4959
4995
|
*/
|
|
4960
4996
|
async providersGet(providerId, options) {
|
|
4961
4997
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
4962
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4963
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4998
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
4999
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.providersGet"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
4964
5000
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4965
5001
|
},
|
|
4966
5002
|
/**
|
|
@@ -4971,8 +5007,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4971
5007
|
*/
|
|
4972
5008
|
async providersList(options) {
|
|
4973
5009
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
4974
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4975
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5010
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
5011
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.providersList"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
4976
5012
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4977
5013
|
},
|
|
4978
5014
|
/**
|
|
@@ -4985,8 +5021,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4985
5021
|
*/
|
|
4986
5022
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
4987
5023
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
4988
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4989
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5024
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _310 => _310.serverIndex]), () => ( 0));
|
|
5025
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _311 => _311["UnboundApi.providersUpdate"], 'optionalAccess', _312 => _312[localVarOperationServerIndex], 'optionalAccess', _313 => _313.url]);
|
|
4990
5026
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4991
5027
|
},
|
|
4992
5028
|
/**
|
|
@@ -4998,8 +5034,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4998
5034
|
*/
|
|
4999
5035
|
async reservationsGet(reservationId, options) {
|
|
5000
5036
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
5001
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5002
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5037
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _314 => _314.serverIndex]), () => ( 0));
|
|
5038
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _315 => _315["UnboundApi.reservationsGet"], 'optionalAccess', _316 => _316[localVarOperationServerIndex], 'optionalAccess', _317 => _317.url]);
|
|
5003
5039
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5004
5040
|
},
|
|
5005
5041
|
/**
|
|
@@ -5017,8 +5053,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5017
5053
|
*/
|
|
5018
5054
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5019
5055
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5020
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5021
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5056
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _318 => _318.serverIndex]), () => ( 0));
|
|
5057
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _319 => _319["UnboundApi.reservationsList"], 'optionalAccess', _320 => _320[localVarOperationServerIndex], 'optionalAccess', _321 => _321.url]);
|
|
5022
5058
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5023
5059
|
},
|
|
5024
5060
|
/**
|
|
@@ -5030,8 +5066,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5030
5066
|
*/
|
|
5031
5067
|
async suggestedRepliesCreate(body, options) {
|
|
5032
5068
|
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesCreate(body, options);
|
|
5033
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5034
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5069
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _322 => _322.serverIndex]), () => ( 0));
|
|
5070
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _323 => _323["UnboundApi.suggestedRepliesCreate"], 'optionalAccess', _324 => _324[localVarOperationServerIndex], 'optionalAccess', _325 => _325.url]);
|
|
5035
5071
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5036
5072
|
},
|
|
5037
5073
|
/**
|
|
@@ -5043,8 +5079,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5043
5079
|
*/
|
|
5044
5080
|
async suggestedRepliesList(conversationId, options) {
|
|
5045
5081
|
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestedRepliesList(conversationId, options);
|
|
5046
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5047
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5082
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _326 => _326.serverIndex]), () => ( 0));
|
|
5083
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _327 => _327["UnboundApi.suggestedRepliesList"], 'optionalAccess', _328 => _328[localVarOperationServerIndex], 'optionalAccess', _329 => _329.url]);
|
|
5048
5084
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5049
5085
|
},
|
|
5050
5086
|
/**
|
|
@@ -5056,8 +5092,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5056
5092
|
*/
|
|
5057
5093
|
async webhook(hostawayWebhook, options) {
|
|
5058
5094
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
5059
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5060
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5095
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _330 => _330.serverIndex]), () => ( 0));
|
|
5096
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _331 => _331["UnboundApi.webhook"], 'optionalAccess', _332 => _332[localVarOperationServerIndex], 'optionalAccess', _333 => _333.url]);
|
|
5061
5097
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5062
5098
|
}
|
|
5063
5099
|
};
|
|
@@ -5288,6 +5324,15 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5288
5324
|
emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
5289
5325
|
return localVarFp.emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(axios, basePath));
|
|
5290
5326
|
},
|
|
5327
|
+
/**
|
|
5328
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
5329
|
+
* @summary Get Me
|
|
5330
|
+
* @param {*} [options] Override http request option.
|
|
5331
|
+
* @throws {RequiredError}
|
|
5332
|
+
*/
|
|
5333
|
+
getMeMeGet(options) {
|
|
5334
|
+
return localVarFp.getMeMeGet(options).then((request) => request(axios, basePath));
|
|
5335
|
+
},
|
|
5291
5336
|
/**
|
|
5292
5337
|
* Inboxes List
|
|
5293
5338
|
* @summary Inboxes List
|
|
@@ -5767,6 +5812,16 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5767
5812
|
emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
5768
5813
|
return UnboundApiFp(this.configuration).emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5769
5814
|
}
|
|
5815
|
+
/**
|
|
5816
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
5817
|
+
* @summary Get Me
|
|
5818
|
+
* @param {*} [options] Override http request option.
|
|
5819
|
+
* @throws {RequiredError}
|
|
5820
|
+
* @memberof UnboundApi
|
|
5821
|
+
*/
|
|
5822
|
+
getMeMeGet(options) {
|
|
5823
|
+
return UnboundApiFp(this.configuration).getMeMeGet(options).then((request) => request(this.axios, this.basePath));
|
|
5824
|
+
}
|
|
5770
5825
|
/**
|
|
5771
5826
|
* Inboxes List
|
|
5772
5827
|
* @summary Inboxes List
|
|
@@ -6022,6 +6077,77 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6022
6077
|
return UnboundApiFp(this.configuration).webhook(hostawayWebhook, options).then((request) => request(this.axios, this.basePath));
|
|
6023
6078
|
}
|
|
6024
6079
|
};
|
|
6080
|
+
var UsersApiAxiosParamCreator = function(configuration) {
|
|
6081
|
+
return {
|
|
6082
|
+
/**
|
|
6083
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6084
|
+
* @summary Get Me
|
|
6085
|
+
* @param {*} [options] Override http request option.
|
|
6086
|
+
* @throws {RequiredError}
|
|
6087
|
+
*/
|
|
6088
|
+
getMeMeGet: async (options = {}) => {
|
|
6089
|
+
const localVarPath = `/me`;
|
|
6090
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6091
|
+
let baseOptions;
|
|
6092
|
+
if (configuration) {
|
|
6093
|
+
baseOptions = configuration.baseOptions;
|
|
6094
|
+
}
|
|
6095
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6096
|
+
const localVarHeaderParameter = {};
|
|
6097
|
+
const localVarQueryParameter = {};
|
|
6098
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6099
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6100
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6101
|
+
return {
|
|
6102
|
+
url: toPathString(localVarUrlObj),
|
|
6103
|
+
options: localVarRequestOptions
|
|
6104
|
+
};
|
|
6105
|
+
}
|
|
6106
|
+
};
|
|
6107
|
+
};
|
|
6108
|
+
var UsersApiFp = function(configuration) {
|
|
6109
|
+
const localVarAxiosParamCreator = UsersApiAxiosParamCreator(configuration);
|
|
6110
|
+
return {
|
|
6111
|
+
/**
|
|
6112
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6113
|
+
* @summary Get Me
|
|
6114
|
+
* @param {*} [options] Override http request option.
|
|
6115
|
+
* @throws {RequiredError}
|
|
6116
|
+
*/
|
|
6117
|
+
async getMeMeGet(options) {
|
|
6118
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMeMeGet(options);
|
|
6119
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _334 => _334.serverIndex]), () => ( 0));
|
|
6120
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _335 => _335["UsersApi.getMeMeGet"], 'optionalAccess', _336 => _336[localVarOperationServerIndex], 'optionalAccess', _337 => _337.url]);
|
|
6121
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6122
|
+
}
|
|
6123
|
+
};
|
|
6124
|
+
};
|
|
6125
|
+
var UsersApiFactory = function(configuration, basePath, axios) {
|
|
6126
|
+
const localVarFp = UsersApiFp(configuration);
|
|
6127
|
+
return {
|
|
6128
|
+
/**
|
|
6129
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6130
|
+
* @summary Get Me
|
|
6131
|
+
* @param {*} [options] Override http request option.
|
|
6132
|
+
* @throws {RequiredError}
|
|
6133
|
+
*/
|
|
6134
|
+
getMeMeGet(options) {
|
|
6135
|
+
return localVarFp.getMeMeGet(options).then((request) => request(axios, basePath));
|
|
6136
|
+
}
|
|
6137
|
+
};
|
|
6138
|
+
};
|
|
6139
|
+
var UsersApi = class extends BaseAPI {
|
|
6140
|
+
/**
|
|
6141
|
+
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6142
|
+
* @summary Get Me
|
|
6143
|
+
* @param {*} [options] Override http request option.
|
|
6144
|
+
* @throws {RequiredError}
|
|
6145
|
+
* @memberof UsersApi
|
|
6146
|
+
*/
|
|
6147
|
+
getMeMeGet(options) {
|
|
6148
|
+
return UsersApiFp(this.configuration).getMeMeGet(options).then((request) => request(this.axios, this.basePath));
|
|
6149
|
+
}
|
|
6150
|
+
};
|
|
6025
6151
|
|
|
6026
6152
|
// src/configuration.ts
|
|
6027
6153
|
var Configuration = class {
|
|
@@ -6091,7 +6217,7 @@ var Configuration = class {
|
|
|
6091
6217
|
this.baseOptions = {
|
|
6092
6218
|
...param.baseOptions,
|
|
6093
6219
|
headers: {
|
|
6094
|
-
..._optionalChain([param, 'access',
|
|
6220
|
+
..._optionalChain([param, 'access', _338 => _338.baseOptions, 'optionalAccess', _339 => _339.headers])
|
|
6095
6221
|
}
|
|
6096
6222
|
};
|
|
6097
6223
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -6195,5 +6321,9 @@ var Configuration = class {
|
|
|
6195
6321
|
|
|
6196
6322
|
|
|
6197
6323
|
|
|
6198
|
-
|
|
6324
|
+
|
|
6325
|
+
|
|
6326
|
+
|
|
6327
|
+
|
|
6328
|
+
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.EmailInboxApiInboxTypeEnum = EmailInboxApiInboxTypeEnum; exports.EmailProviderMessageApiMessageTypeEnum = EmailProviderMessageApiMessageTypeEnum; exports.ExternalStaffApiStaffTypeEnum = ExternalStaffApiStaffTypeEnum; exports.GuestApiParticipantTypeEnum = GuestApiParticipantTypeEnum; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InboxesApi = InboxesApi; exports.InboxesApiAxiosParamCreator = InboxesApiAxiosParamCreator; exports.InboxesApiFactory = InboxesApiFactory; exports.InboxesApiFp = InboxesApiFp; 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.PhoneInboxApiInboxTypeEnum = PhoneInboxApiInboxTypeEnum; exports.ProviderAccountInboxApiInboxTypeEnum = ProviderAccountInboxApiInboxTypeEnum; 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.RentalProviderTypes = RentalProviderTypes; 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; exports.UsersApi = UsersApi; exports.UsersApiAxiosParamCreator = UsersApiAxiosParamCreator; exports.UsersApiFactory = UsersApiFactory; exports.UsersApiFp = UsersApiFp;
|
|
6199
6329
|
//# sourceMappingURL=index.js.map
|