@ember-home/unbound-ts-client 0.0.65 → 0.0.67
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 +92 -8
- package/dist/index.d.ts +92 -8
- 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.mjs
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 = operationServerMap["UnboundApi.emailsUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
4765
4789
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
|
|
4800
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.getMeMeGet"]?.[localVarOperationServerIndex]?.url;
|
|
4801
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4802
|
+
},
|
|
4767
4803
|
/**
|
|
4768
4804
|
* Inboxes List
|
|
4769
4805
|
* @summary Inboxes List
|
|
@@ -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 = configuration?.serverIndex ?? 0;
|
|
6120
|
+
const localVarOperationServerBasePath = operationServerMap["UsersApi.getMeMeGet"]?.[localVarOperationServerIndex]?.url;
|
|
6121
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 {
|
|
@@ -6194,6 +6320,10 @@ export {
|
|
|
6194
6320
|
UnboundApi,
|
|
6195
6321
|
UnboundApiAxiosParamCreator,
|
|
6196
6322
|
UnboundApiFactory,
|
|
6197
|
-
UnboundApiFp
|
|
6323
|
+
UnboundApiFp,
|
|
6324
|
+
UsersApi,
|
|
6325
|
+
UsersApiAxiosParamCreator,
|
|
6326
|
+
UsersApiFactory,
|
|
6327
|
+
UsersApiFp
|
|
6198
6328
|
};
|
|
6199
6329
|
//# sourceMappingURL=index.mjs.map
|