@forestvpn/forestvpn_api
Advanced tools
Comparing version 3.5.0 to 3.6.0
@@ -19,2 +19,3 @@ /* tslint:disable */ | ||
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; | ||
import { AccessTokenRequest } from '../models'; | ||
import { CreateTokenLogin } from '../models'; | ||
@@ -33,2 +34,122 @@ import { LegacyAuthMigrationToken } from '../models'; | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
authorizeAccessTokenRequest: async (requestID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'requestID' is not null or undefined | ||
if (requestID === null || requestID === undefined) { | ||
throw new RequiredError('requestID','Required parameter requestID was null or undefined when calling authorizeAccessTokenRequest.'); | ||
} | ||
const localVarPath = `/auth/access-token-requests/{requestID}/authorize/` | ||
.replace(`{${"requestID"}}`, encodeURIComponent(String(requestID))); | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
const localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
let baseOptions; | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options}; | ||
const localVarHeaderParameter = {} as any; | ||
const localVarQueryParameter = {} as any; | ||
// authentication bearerAuth required | ||
const query = new URLSearchParams(localVarUrlObj.search); | ||
for (const key in localVarQueryParameter) { | ||
query.set(key, localVarQueryParameter[key]); | ||
} | ||
for (const key in options.params) { | ||
query.set(key, options.params[key]); | ||
} | ||
localVarUrlObj.search = (new URLSearchParams(query)).toString(); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
return { | ||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, | ||
options: localVarRequestOptions, | ||
}; | ||
}, | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
createAccessTokenRequest: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
const localVarPath = `/auth/access-token-requests/`; | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
const localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
let baseOptions; | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options}; | ||
const localVarHeaderParameter = {} as any; | ||
const localVarQueryParameter = {} as any; | ||
// authentication bearerAuth required | ||
const query = new URLSearchParams(localVarUrlObj.search); | ||
for (const key in localVarQueryParameter) { | ||
query.set(key, localVarQueryParameter[key]); | ||
} | ||
for (const key in options.params) { | ||
query.set(key, options.params[key]); | ||
} | ||
localVarUrlObj.search = (new URLSearchParams(query)).toString(); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
return { | ||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, | ||
options: localVarRequestOptions, | ||
}; | ||
}, | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAccessTokenRequest: async (requestID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'requestID' is not null or undefined | ||
if (requestID === null || requestID === undefined) { | ||
throw new RequiredError('requestID','Required parameter requestID was null or undefined when calling getAccessTokenRequest.'); | ||
} | ||
const localVarPath = `/auth/access-token-requests/{requestID}/` | ||
.replace(`{${"requestID"}}`, encodeURIComponent(String(requestID))); | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
const localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
let baseOptions; | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
const localVarRequestOptions :AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options}; | ||
const localVarHeaderParameter = {} as any; | ||
const localVarQueryParameter = {} as any; | ||
// authentication bearerAuth required | ||
const query = new URLSearchParams(localVarUrlObj.search); | ||
for (const key in localVarQueryParameter) { | ||
query.set(key, localVarQueryParameter[key]); | ||
} | ||
for (const key in options.params) { | ||
query.set(key, options.params[key]); | ||
} | ||
localVarUrlObj.search = (new URLSearchParams(query)).toString(); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
return { | ||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, | ||
options: localVarRequestOptions, | ||
}; | ||
}, | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -147,2 +268,44 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
revokeAccessTokenRequest: async (requestID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'requestID' is not null or undefined | ||
if (requestID === null || requestID === undefined) { | ||
throw new RequiredError('requestID','Required parameter requestID was null or undefined when calling revokeAccessTokenRequest.'); | ||
} | ||
const localVarPath = `/auth/access-token-requests/{requestID}/revoke/` | ||
.replace(`{${"requestID"}}`, encodeURIComponent(String(requestID))); | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
const localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
let baseOptions; | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options}; | ||
const localVarHeaderParameter = {} as any; | ||
const localVarQueryParameter = {} as any; | ||
// authentication bearerAuth required | ||
const query = new URLSearchParams(localVarUrlObj.search); | ||
for (const key in localVarQueryParameter) { | ||
query.set(key, localVarQueryParameter[key]); | ||
} | ||
for (const key in options.params) { | ||
query.set(key, options.params[key]); | ||
} | ||
localVarUrlObj.search = (new URLSearchParams(query)).toString(); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
return { | ||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, | ||
options: localVarRequestOptions, | ||
}; | ||
}, | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -270,2 +433,43 @@ * @param {User} [body] | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async authorizeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AccessTokenRequest>>> { | ||
const localVarAxiosArgs = await AuthApiAxiosParamCreator(configuration).authorizeAccessTokenRequest(requestID, options); | ||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; | ||
return axios.request(axiosRequestArgs); | ||
}; | ||
}, | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async createAccessTokenRequest(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AccessTokenRequest>>> { | ||
const localVarAxiosArgs = await AuthApiAxiosParamCreator(configuration).createAccessTokenRequest(options); | ||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; | ||
return axios.request(axiosRequestArgs); | ||
}; | ||
}, | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async getAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AccessTokenRequest>>> { | ||
const localVarAxiosArgs = await AuthApiAxiosParamCreator(configuration).getAccessTokenRequest(requestID, options); | ||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; | ||
return axios.request(axiosRequestArgs); | ||
}; | ||
}, | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -311,2 +515,16 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async revokeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AccessTokenRequest>>> { | ||
const localVarAxiosArgs = await AuthApiAxiosParamCreator(configuration).revokeAccessTokenRequest(requestID, options); | ||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; | ||
return axios.request(axiosRequestArgs); | ||
}; | ||
}, | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -361,2 +579,31 @@ * @param {User} [body] | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async authorizeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>> { | ||
return AuthApiFp(configuration).authorizeAccessTokenRequest(requestID, options).then((request) => request(axios, basePath)); | ||
}, | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async createAccessTokenRequest(options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>> { | ||
return AuthApiFp(configuration).createAccessTokenRequest(options).then((request) => request(axios, basePath)); | ||
}, | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async getAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>> { | ||
return AuthApiFp(configuration).getAccessTokenRequest(requestID, options).then((request) => request(axios, basePath)); | ||
}, | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -390,2 +637,12 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async revokeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>> { | ||
return AuthApiFp(configuration).revokeAccessTokenRequest(requestID, options).then((request) => request(axios, basePath)); | ||
}, | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -429,2 +686,34 @@ * @param {User} [body] | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
public async authorizeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AccessTokenRequest>> { | ||
return AuthApiFp(this.configuration).authorizeAccessTokenRequest(requestID, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
public async createAccessTokenRequest(options?: AxiosRequestConfig) : Promise<AxiosResponse<AccessTokenRequest>> { | ||
return AuthApiFp(this.configuration).createAccessTokenRequest(options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
public async getAccessTokenRequest(requestID: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AccessTokenRequest>> { | ||
return AuthApiFp(this.configuration).getAccessTokenRequest(requestID, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -461,2 +750,13 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
public async revokeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AccessTokenRequest>> { | ||
return AuthApiFp(this.configuration).revokeAccessTokenRequest(requestID, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -463,0 +763,0 @@ * @param {User} [body] |
@@ -66,7 +66,9 @@ /* tslint:disable */ | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
listNotifications: async (max?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
listNotifications: async (limit?: number, offset?: number, type?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
const localVarPath = `/notifications/all_list/`; | ||
@@ -85,6 +87,14 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
if (max !== undefined) { | ||
localVarQueryParameter['max'] = max; | ||
if (limit !== undefined) { | ||
localVarQueryParameter['limit'] = limit; | ||
} | ||
if (offset !== undefined) { | ||
localVarQueryParameter['offset'] = offset; | ||
} | ||
if (type !== undefined) { | ||
localVarQueryParameter['type'] = type; | ||
} | ||
const query = new URLSearchParams(localVarUrlObj.search); | ||
@@ -110,7 +120,6 @@ for (const key in localVarQueryParameter) { | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkRead: async (slug: number, next: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
updateNotificationMarkRead: async (slug: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'slug' is not null or undefined | ||
@@ -120,9 +129,4 @@ if (slug === null || slug === undefined) { | ||
} | ||
// verify required parameter 'next' is not null or undefined | ||
if (next === null || next === undefined) { | ||
throw new RequiredError('next','Required parameter next was null or undefined when calling updateNotificationMarkRead.'); | ||
} | ||
const localVarPath = `/notifications/mark_read/{slug}/` | ||
.replace(`{${"slug"}}`, encodeURIComponent(String(slug))) | ||
.replace(`{${"next"}}`, encodeURIComponent(String(next))); | ||
const localVarPath = `/notifications/mark_as_read/{slug}/` | ||
.replace(`{${"slug"}}`, encodeURIComponent(String(slug))); | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
@@ -159,13 +163,7 @@ const localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkReadAll: async (next: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'next' is not null or undefined | ||
if (next === null || next === undefined) { | ||
throw new RequiredError('next','Required parameter next was null or undefined when calling updateNotificationMarkReadAll.'); | ||
} | ||
const localVarPath = `/notifications/mark-all-as-read/` | ||
.replace(`{${"next"}}`, encodeURIComponent(String(next))); | ||
updateNotificationMarkReadAll: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
const localVarPath = `/notifications/mark_all_as_read/`; | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
@@ -224,8 +222,10 @@ const localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async listNotifications(max?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<NotificationAllList>>>> { | ||
const localVarAxiosArgs = await NotificationsApiAxiosParamCreator(configuration).listNotifications(max, options); | ||
async listNotifications(limit?: number, offset?: number, type?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<NotificationAllList>>>> { | ||
const localVarAxiosArgs = await NotificationsApiAxiosParamCreator(configuration).listNotifications(limit, offset, type, options); | ||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
@@ -240,8 +240,7 @@ const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async updateNotificationMarkRead(slug: number, next: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Error>>> { | ||
const localVarAxiosArgs = await NotificationsApiAxiosParamCreator(configuration).updateNotificationMarkRead(slug, next, options); | ||
async updateNotificationMarkRead(slug: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> { | ||
const localVarAxiosArgs = await NotificationsApiAxiosParamCreator(configuration).updateNotificationMarkRead(slug, options); | ||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
@@ -255,8 +254,7 @@ const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async updateNotificationMarkReadAll(next: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Error>>> { | ||
const localVarAxiosArgs = await NotificationsApiAxiosParamCreator(configuration).updateNotificationMarkReadAll(next, options); | ||
async updateNotificationMarkReadAll(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> { | ||
const localVarAxiosArgs = await NotificationsApiAxiosParamCreator(configuration).updateNotificationMarkReadAll(options); | ||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
@@ -288,8 +286,10 @@ const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async listNotifications(max?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<Array<NotificationAllList>>> { | ||
return NotificationsApiFp(configuration).listNotifications(max, options).then((request) => request(axios, basePath)); | ||
async listNotifications(limit?: number, offset?: number, type?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<Array<NotificationAllList>>> { | ||
return NotificationsApiFp(configuration).listNotifications(limit, offset, type, options).then((request) => request(axios, basePath)); | ||
}, | ||
@@ -300,8 +300,7 @@ /** | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async updateNotificationMarkRead(slug: number, next: string, options?: AxiosRequestConfig): Promise<AxiosResponse<Error>> { | ||
return NotificationsApiFp(configuration).updateNotificationMarkRead(slug, next, options).then((request) => request(axios, basePath)); | ||
async updateNotificationMarkRead(slug: number, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> { | ||
return NotificationsApiFp(configuration).updateNotificationMarkRead(slug, options).then((request) => request(axios, basePath)); | ||
}, | ||
@@ -311,8 +310,7 @@ /** | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async updateNotificationMarkReadAll(next: string, options?: AxiosRequestConfig): Promise<AxiosResponse<Error>> { | ||
return NotificationsApiFp(configuration).updateNotificationMarkReadAll(next, options).then((request) => request(axios, basePath)); | ||
async updateNotificationMarkReadAll(options?: AxiosRequestConfig): Promise<AxiosResponse<void>> { | ||
return NotificationsApiFp(configuration).updateNotificationMarkReadAll(options).then((request) => request(axios, basePath)); | ||
}, | ||
@@ -342,3 +340,5 @@ }; | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
@@ -348,4 +348,4 @@ * @throws {RequiredError} | ||
*/ | ||
public async listNotifications(max?: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<Array<NotificationAllList>>> { | ||
return NotificationsApiFp(this.configuration).listNotifications(max, options).then((request) => request(this.axios, this.basePath)); | ||
public async listNotifications(limit?: number, offset?: number, type?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<Array<NotificationAllList>>> { | ||
return NotificationsApiFp(this.configuration).listNotifications(limit, offset, type, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -356,3 +356,2 @@ /** | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
@@ -362,4 +361,4 @@ * @throws {RequiredError} | ||
*/ | ||
public async updateNotificationMarkRead(slug: number, next: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<Error>> { | ||
return NotificationsApiFp(this.configuration).updateNotificationMarkRead(slug, next, options).then((request) => request(this.axios, this.basePath)); | ||
public async updateNotificationMarkRead(slug: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> { | ||
return NotificationsApiFp(this.configuration).updateNotificationMarkRead(slug, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -369,3 +368,2 @@ /** | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
@@ -375,5 +373,5 @@ * @throws {RequiredError} | ||
*/ | ||
public async updateNotificationMarkReadAll(next: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<Error>> { | ||
return NotificationsApiFp(this.configuration).updateNotificationMarkReadAll(next, options).then((request) => request(this.axios, this.basePath)); | ||
public async updateNotificationMarkReadAll(options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> { | ||
return NotificationsApiFp(this.configuration).updateNotificationMarkReadAll(options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} |
@@ -15,2 +15,3 @@ /** | ||
import { RequestArgs, BaseAPI } from '../base'; | ||
import { AccessTokenRequest } from '../models'; | ||
import { CreateTokenLogin } from '../models'; | ||
@@ -28,2 +29,25 @@ import { LegacyAuthMigrationToken } from '../models'; | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
authorizeAccessTokenRequest: (requestID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
createAccessTokenRequest: (options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAccessTokenRequest: (requestID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -51,2 +75,10 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
revokeAccessTokenRequest: (requestID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -80,2 +112,25 @@ * @param {User} [body] | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
authorizeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AccessTokenRequest>>>; | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
createAccessTokenRequest(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AccessTokenRequest>>>; | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AccessTokenRequest>>>; | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -103,2 +158,10 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
revokeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AccessTokenRequest>>>; | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -132,2 +195,25 @@ * @param {User} [body] | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
authorizeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>>; | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
createAccessTokenRequest(options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>>; | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>>; | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -155,2 +241,10 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
revokeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>>; | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -186,2 +280,28 @@ * @param {User} [body] | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
authorizeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>>; | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
createAccessTokenRequest(options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>>; | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
getAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>>; | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -212,2 +332,11 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
revokeAccessTokenRequest(requestID: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AccessTokenRequest>>; | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -214,0 +343,0 @@ * @param {User} [body] |
@@ -90,2 +90,122 @@ "use strict"; | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
authorizeAccessTokenRequest: function (requestID, options) { | ||
if (options === void 0) { options = {}; } | ||
return __awaiter(_this, void 0, void 0, function () { | ||
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, query, key, key, headersFromBaseOptions; | ||
return __generator(this, function (_a) { | ||
// verify required parameter 'requestID' is not null or undefined | ||
if (requestID === null || requestID === undefined) { | ||
throw new base_1.RequiredError('requestID', 'Required parameter requestID was null or undefined when calling authorizeAccessTokenRequest.'); | ||
} | ||
localVarPath = "/auth/access-token-requests/{requestID}/authorize/" | ||
.replace("{" + "requestID" + "}", encodeURIComponent(String(requestID))); | ||
localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options); | ||
localVarHeaderParameter = {}; | ||
localVarQueryParameter = {}; | ||
query = new URLSearchParams(localVarUrlObj.search); | ||
for (key in localVarQueryParameter) { | ||
query.set(key, localVarQueryParameter[key]); | ||
} | ||
for (key in options.params) { | ||
query.set(key, options.params[key]); | ||
} | ||
localVarUrlObj.search = (new URLSearchParams(query)).toString(); | ||
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return [2 /*return*/, { | ||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, | ||
options: localVarRequestOptions, | ||
}]; | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
createAccessTokenRequest: function (options) { | ||
if (options === void 0) { options = {}; } | ||
return __awaiter(_this, void 0, void 0, function () { | ||
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, query, key, key, headersFromBaseOptions; | ||
return __generator(this, function (_a) { | ||
localVarPath = "/auth/access-token-requests/"; | ||
localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options); | ||
localVarHeaderParameter = {}; | ||
localVarQueryParameter = {}; | ||
query = new URLSearchParams(localVarUrlObj.search); | ||
for (key in localVarQueryParameter) { | ||
query.set(key, localVarQueryParameter[key]); | ||
} | ||
for (key in options.params) { | ||
query.set(key, options.params[key]); | ||
} | ||
localVarUrlObj.search = (new URLSearchParams(query)).toString(); | ||
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return [2 /*return*/, { | ||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, | ||
options: localVarRequestOptions, | ||
}]; | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAccessTokenRequest: function (requestID, options) { | ||
if (options === void 0) { options = {}; } | ||
return __awaiter(_this, void 0, void 0, function () { | ||
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, query, key, key, headersFromBaseOptions; | ||
return __generator(this, function (_a) { | ||
// verify required parameter 'requestID' is not null or undefined | ||
if (requestID === null || requestID === undefined) { | ||
throw new base_1.RequiredError('requestID', 'Required parameter requestID was null or undefined when calling getAccessTokenRequest.'); | ||
} | ||
localVarPath = "/auth/access-token-requests/{requestID}/" | ||
.replace("{" + "requestID" + "}", encodeURIComponent(String(requestID))); | ||
localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options); | ||
localVarHeaderParameter = {}; | ||
localVarQueryParameter = {}; | ||
query = new URLSearchParams(localVarUrlObj.search); | ||
for (key in localVarQueryParameter) { | ||
query.set(key, localVarQueryParameter[key]); | ||
} | ||
for (key in options.params) { | ||
query.set(key, options.params[key]); | ||
} | ||
localVarUrlObj.search = (new URLSearchParams(query)).toString(); | ||
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return [2 /*return*/, { | ||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, | ||
options: localVarRequestOptions, | ||
}]; | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -204,2 +324,44 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
revokeAccessTokenRequest: function (requestID, options) { | ||
if (options === void 0) { options = {}; } | ||
return __awaiter(_this, void 0, void 0, function () { | ||
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, query, key, key, headersFromBaseOptions; | ||
return __generator(this, function (_a) { | ||
// verify required parameter 'requestID' is not null or undefined | ||
if (requestID === null || requestID === undefined) { | ||
throw new base_1.RequiredError('requestID', 'Required parameter requestID was null or undefined when calling revokeAccessTokenRequest.'); | ||
} | ||
localVarPath = "/auth/access-token-requests/{requestID}/revoke/" | ||
.replace("{" + "requestID" + "}", encodeURIComponent(String(requestID))); | ||
localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options); | ||
localVarHeaderParameter = {}; | ||
localVarQueryParameter = {}; | ||
query = new URLSearchParams(localVarUrlObj.search); | ||
for (key in localVarQueryParameter) { | ||
query.set(key, localVarQueryParameter[key]); | ||
} | ||
for (key in options.params) { | ||
query.set(key, options.params[key]); | ||
} | ||
localVarUrlObj.search = (new URLSearchParams(query)).toString(); | ||
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return [2 /*return*/, { | ||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, | ||
options: localVarRequestOptions, | ||
}]; | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -326,2 +488,76 @@ * @param {User} [body] | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
authorizeAccessTokenRequest: function (requestID, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var localVarAxiosArgs; | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, exports.AuthApiAxiosParamCreator(configuration).authorizeAccessTokenRequest(requestID, options)]; | ||
case 1: | ||
localVarAxiosArgs = _a.sent(); | ||
return [2 /*return*/, function (axios, basePath) { | ||
if (axios === void 0) { axios = axios_1.default; } | ||
if (basePath === void 0) { basePath = base_1.BASE_PATH; } | ||
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url }); | ||
return axios.request(axiosRequestArgs); | ||
}]; | ||
} | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
createAccessTokenRequest: function (options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var localVarAxiosArgs; | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, exports.AuthApiAxiosParamCreator(configuration).createAccessTokenRequest(options)]; | ||
case 1: | ||
localVarAxiosArgs = _a.sent(); | ||
return [2 /*return*/, function (axios, basePath) { | ||
if (axios === void 0) { axios = axios_1.default; } | ||
if (basePath === void 0) { basePath = base_1.BASE_PATH; } | ||
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url }); | ||
return axios.request(axiosRequestArgs); | ||
}]; | ||
} | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAccessTokenRequest: function (requestID, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var localVarAxiosArgs; | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, exports.AuthApiAxiosParamCreator(configuration).getAccessTokenRequest(requestID, options)]; | ||
case 1: | ||
localVarAxiosArgs = _a.sent(); | ||
return [2 /*return*/, function (axios, basePath) { | ||
if (axios === void 0) { axios = axios_1.default; } | ||
if (basePath === void 0) { basePath = base_1.BASE_PATH; } | ||
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url }); | ||
return axios.request(axiosRequestArgs); | ||
}]; | ||
} | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -400,2 +636,27 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
revokeAccessTokenRequest: function (requestID, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var localVarAxiosArgs; | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, exports.AuthApiAxiosParamCreator(configuration).revokeAccessTokenRequest(requestID, options)]; | ||
case 1: | ||
localVarAxiosArgs = _a.sent(); | ||
return [2 /*return*/, function (axios, basePath) { | ||
if (axios === void 0) { axios = axios_1.default; } | ||
if (basePath === void 0) { basePath = base_1.BASE_PATH; } | ||
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url }); | ||
return axios.request(axiosRequestArgs); | ||
}]; | ||
} | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -482,2 +743,43 @@ * @param {User} [body] | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
authorizeAccessTokenRequest: function (requestID, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.AuthApiFp(configuration).authorizeAccessTokenRequest(requestID, options).then(function (request) { return request(axios, basePath); })]; | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
createAccessTokenRequest: function (options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.AuthApiFp(configuration).createAccessTokenRequest(options).then(function (request) { return request(axios, basePath); })]; | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAccessTokenRequest: function (requestID, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.AuthApiFp(configuration).getAccessTokenRequest(requestID, options).then(function (request) { return request(axios, basePath); })]; | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -523,2 +825,16 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
revokeAccessTokenRequest: function (requestID, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.AuthApiFp(configuration).revokeAccessTokenRequest(requestID, options).then(function (request) { return request(axios, basePath); })]; | ||
}); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -577,2 +893,49 @@ * @param {User} [body] | ||
* | ||
* @summary Authorize access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
AuthApi.prototype.authorizeAccessTokenRequest = function (requestID, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _this = this; | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.AuthApiFp(this.configuration).authorizeAccessTokenRequest(requestID, options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
}); | ||
}); | ||
}; | ||
/** | ||
* | ||
* @summary Create access token request | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
AuthApi.prototype.createAccessTokenRequest = function (options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _this = this; | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.AuthApiFp(this.configuration).createAccessTokenRequest(options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
}); | ||
}); | ||
}; | ||
/** | ||
* | ||
* @summary Get access token request details | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
AuthApi.prototype.getAccessTokenRequest = function (requestID, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _this = this; | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.AuthApiFp(this.configuration).getAccessTokenRequest(requestID, options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
}); | ||
}); | ||
}; | ||
/** | ||
* | ||
* @summary Login with JWT token | ||
@@ -624,2 +987,18 @@ * @param {CreateTokenLogin} [body] | ||
* | ||
* @summary Revoke access token request | ||
* @param {string} requestID | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof AuthApi | ||
*/ | ||
AuthApi.prototype.revokeAccessTokenRequest = function (requestID, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _this = this; | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.AuthApiFp(this.configuration).revokeAccessTokenRequest(requestID, options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
}); | ||
}); | ||
}; | ||
/** | ||
* | ||
* @summary Update profile | ||
@@ -626,0 +1005,0 @@ * @param {User} [body] |
@@ -32,7 +32,9 @@ /** | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
listNotifications: (max?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
listNotifications: (limit?: number, offset?: number, type?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -42,15 +44,13 @@ * | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkRead: (slug: number, next: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
updateNotificationMarkRead: (slug: number, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
* | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkReadAll: (next: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
updateNotificationMarkReadAll: (options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
}; | ||
@@ -72,7 +72,9 @@ /** | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
listNotifications(max?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<NotificationAllList>>>>; | ||
listNotifications(limit?: number, offset?: number, type?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<NotificationAllList>>>>; | ||
/** | ||
@@ -82,15 +84,13 @@ * | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkRead(slug: number, next: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Error>>>; | ||
updateNotificationMarkRead(slug: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>; | ||
/** | ||
* | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkReadAll(next: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Error>>>; | ||
updateNotificationMarkReadAll(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>; | ||
}; | ||
@@ -112,7 +112,9 @@ /** | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
listNotifications(max?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<Array<NotificationAllList>>>; | ||
listNotifications(limit?: number, offset?: number, type?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<Array<NotificationAllList>>>; | ||
/** | ||
@@ -122,15 +124,13 @@ * | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkRead(slug: number, next: string, options?: AxiosRequestConfig): Promise<AxiosResponse<Error>>; | ||
updateNotificationMarkRead(slug: number, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>; | ||
/** | ||
* | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkReadAll(next: string, options?: AxiosRequestConfig): Promise<AxiosResponse<Error>>; | ||
updateNotificationMarkReadAll(options?: AxiosRequestConfig): Promise<AxiosResponse<void>>; | ||
}; | ||
@@ -155,3 +155,5 @@ /** | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
@@ -161,3 +163,3 @@ * @throws {RequiredError} | ||
*/ | ||
listNotifications(max?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<Array<NotificationAllList>>>; | ||
listNotifications(limit?: number, offset?: number, type?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<Array<NotificationAllList>>>; | ||
/** | ||
@@ -167,3 +169,2 @@ * | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
@@ -173,7 +174,6 @@ * @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkRead(slug: number, next: string, options?: AxiosRequestConfig): Promise<AxiosResponse<Error>>; | ||
updateNotificationMarkRead(slug: number, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>; | ||
/** | ||
* | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
@@ -183,3 +183,3 @@ * @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkReadAll(next: string, options?: AxiosRequestConfig): Promise<AxiosResponse<Error>>; | ||
updateNotificationMarkReadAll(options?: AxiosRequestConfig): Promise<AxiosResponse<void>>; | ||
} |
@@ -127,7 +127,9 @@ "use strict"; | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
listNotifications: function (max, options) { | ||
listNotifications: function (limit, offset, type, options) { | ||
if (options === void 0) { options = {}; } | ||
@@ -146,5 +148,11 @@ return __awaiter(_this, void 0, void 0, function () { | ||
// authentication bearerAuth required | ||
if (max !== undefined) { | ||
localVarQueryParameter['max'] = max; | ||
if (limit !== undefined) { | ||
localVarQueryParameter['limit'] = limit; | ||
} | ||
if (offset !== undefined) { | ||
localVarQueryParameter['offset'] = offset; | ||
} | ||
if (type !== undefined) { | ||
localVarQueryParameter['type'] = type; | ||
} | ||
query = new URLSearchParams(localVarUrlObj.search); | ||
@@ -171,7 +179,6 @@ for (key in localVarQueryParameter) { | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkRead: function (slug, next, options) { | ||
updateNotificationMarkRead: function (slug, options) { | ||
if (options === void 0) { options = {}; } | ||
@@ -185,9 +192,4 @@ return __awaiter(_this, void 0, void 0, function () { | ||
} | ||
// verify required parameter 'next' is not null or undefined | ||
if (next === null || next === undefined) { | ||
throw new base_1.RequiredError('next', 'Required parameter next was null or undefined when calling updateNotificationMarkRead.'); | ||
} | ||
localVarPath = "/notifications/mark_read/{slug}/" | ||
.replace("{" + "slug" + "}", encodeURIComponent(String(slug))) | ||
.replace("{" + "next" + "}", encodeURIComponent(String(next))); | ||
localVarPath = "/notifications/mark_as_read/{slug}/" | ||
.replace("{" + "slug" + "}", encodeURIComponent(String(slug))); | ||
localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
@@ -220,7 +222,6 @@ if (configuration) { | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkReadAll: function (next, options) { | ||
updateNotificationMarkReadAll: function (options) { | ||
if (options === void 0) { options = {}; } | ||
@@ -230,8 +231,3 @@ return __awaiter(_this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
// verify required parameter 'next' is not null or undefined | ||
if (next === null || next === undefined) { | ||
throw new base_1.RequiredError('next', 'Required parameter next was null or undefined when calling updateNotificationMarkReadAll.'); | ||
} | ||
localVarPath = "/notifications/mark-all-as-read/" | ||
.replace("{" + "next" + "}", encodeURIComponent(String(next))); | ||
localVarPath = "/notifications/mark_all_as_read/"; | ||
localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
@@ -296,7 +292,9 @@ if (configuration) { | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
listNotifications: function (max, options) { | ||
listNotifications: function (limit, offset, type, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
@@ -306,3 +304,3 @@ var localVarAxiosArgs; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, exports.NotificationsApiAxiosParamCreator(configuration).listNotifications(max, options)]; | ||
case 0: return [4 /*yield*/, exports.NotificationsApiAxiosParamCreator(configuration).listNotifications(limit, offset, type, options)]; | ||
case 1: | ||
@@ -324,7 +322,6 @@ localVarAxiosArgs = _a.sent(); | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkRead: function (slug, next, options) { | ||
updateNotificationMarkRead: function (slug, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
@@ -334,3 +331,3 @@ var localVarAxiosArgs; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, exports.NotificationsApiAxiosParamCreator(configuration).updateNotificationMarkRead(slug, next, options)]; | ||
case 0: return [4 /*yield*/, exports.NotificationsApiAxiosParamCreator(configuration).updateNotificationMarkRead(slug, options)]; | ||
case 1: | ||
@@ -351,7 +348,6 @@ localVarAxiosArgs = _a.sent(); | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkReadAll: function (next, options) { | ||
updateNotificationMarkReadAll: function (options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
@@ -361,3 +357,3 @@ var localVarAxiosArgs; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, exports.NotificationsApiAxiosParamCreator(configuration).updateNotificationMarkReadAll(next, options)]; | ||
case 0: return [4 /*yield*/, exports.NotificationsApiAxiosParamCreator(configuration).updateNotificationMarkReadAll(options)]; | ||
case 1: | ||
@@ -399,10 +395,12 @@ localVarAxiosArgs = _a.sent(); | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
listNotifications: function (max, options) { | ||
listNotifications: function (limit, offset, type, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.NotificationsApiFp(configuration).listNotifications(max, options).then(function (request) { return request(axios, basePath); })]; | ||
return [2 /*return*/, exports.NotificationsApiFp(configuration).listNotifications(limit, offset, type, options).then(function (request) { return request(axios, basePath); })]; | ||
}); | ||
@@ -415,10 +413,9 @@ }); | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkRead: function (slug, next, options) { | ||
updateNotificationMarkRead: function (slug, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.NotificationsApiFp(configuration).updateNotificationMarkRead(slug, next, options).then(function (request) { return request(axios, basePath); })]; | ||
return [2 /*return*/, exports.NotificationsApiFp(configuration).updateNotificationMarkRead(slug, options).then(function (request) { return request(axios, basePath); })]; | ||
}); | ||
@@ -430,10 +427,9 @@ }); | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateNotificationMarkReadAll: function (next, options) { | ||
updateNotificationMarkReadAll: function (options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.NotificationsApiFp(configuration).updateNotificationMarkReadAll(next, options).then(function (request) { return request(axios, basePath); })]; | ||
return [2 /*return*/, exports.NotificationsApiFp(configuration).updateNotificationMarkReadAll(options).then(function (request) { return request(axios, basePath); })]; | ||
}); | ||
@@ -473,3 +469,5 @@ }); | ||
* @summary Get notifications list | ||
* @param {number} [max] | ||
* @param {number} [limit] | ||
* @param {number} [offset] | ||
* @param {string} [type] | ||
* @param {*} [options] Override http request option. | ||
@@ -479,7 +477,7 @@ * @throws {RequiredError} | ||
*/ | ||
NotificationsApi.prototype.listNotifications = function (max, options) { | ||
NotificationsApi.prototype.listNotifications = function (limit, offset, type, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _this = this; | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.NotificationsApiFp(this.configuration).listNotifications(max, options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
return [2 /*return*/, exports.NotificationsApiFp(this.configuration).listNotifications(limit, offset, type, options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
}); | ||
@@ -492,3 +490,2 @@ }); | ||
* @param {number} slug | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
@@ -498,7 +495,7 @@ * @throws {RequiredError} | ||
*/ | ||
NotificationsApi.prototype.updateNotificationMarkRead = function (slug, next, options) { | ||
NotificationsApi.prototype.updateNotificationMarkRead = function (slug, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _this = this; | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.NotificationsApiFp(this.configuration).updateNotificationMarkRead(slug, next, options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
return [2 /*return*/, exports.NotificationsApiFp(this.configuration).updateNotificationMarkRead(slug, options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
}); | ||
@@ -510,3 +507,2 @@ }); | ||
* @summary Mark all notifications as read by user | ||
* @param {string} next | ||
* @param {*} [options] Override http request option. | ||
@@ -516,7 +512,7 @@ * @throws {RequiredError} | ||
*/ | ||
NotificationsApi.prototype.updateNotificationMarkReadAll = function (next, options) { | ||
NotificationsApi.prototype.updateNotificationMarkReadAll = function (options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _this = this; | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, exports.NotificationsApiFp(this.configuration).updateNotificationMarkReadAll(next, options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
return [2 /*return*/, exports.NotificationsApiFp(this.configuration).updateNotificationMarkReadAll(options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
}); | ||
@@ -523,0 +519,0 @@ }); |
@@ -0,1 +1,2 @@ | ||
export * from './access-token-request'; | ||
export * from './ad-placement'; | ||
@@ -50,2 +51,3 @@ export * from './ad-provider'; | ||
export * from './notification-all-list'; | ||
export * from './notification-type'; | ||
export * from './notification-unread-count'; | ||
@@ -52,0 +54,0 @@ export * from './payment-method'; |
@@ -13,2 +13,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./access-token-request"), exports); | ||
__exportStar(require("./ad-placement"), exports); | ||
@@ -63,2 +64,3 @@ __exportStar(require("./ad-provider"), exports); | ||
__exportStar(require("./notification-all-list"), exports); | ||
__exportStar(require("./notification-type"), exports); | ||
__exportStar(require("./notification-unread-count"), exports); | ||
@@ -65,0 +67,0 @@ __exportStar(require("./payment-method"), exports); |
@@ -12,3 +12,2 @@ /** | ||
*/ | ||
import { Notification } from './notification'; | ||
/** | ||
@@ -26,8 +25,2 @@ * | ||
unread_count: number; | ||
/** | ||
* | ||
* @type {Array<Notification>} | ||
* @memberof NotificationUnreadCount | ||
*/ | ||
unread_list: Array<Notification>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
name?: string; | ||
id?: string; | ||
/** | ||
@@ -30,3 +30,3 @@ * | ||
*/ | ||
slug?: string; | ||
name?: string; | ||
} |
@@ -0,1 +1,2 @@ | ||
export * from './access-token-request'; | ||
export * from './ad-placement'; | ||
@@ -50,2 +51,3 @@ export * from './ad-provider'; | ||
export * from './notification-all-list'; | ||
export * from './notification-type'; | ||
export * from './notification-unread-count'; | ||
@@ -52,0 +54,0 @@ export * from './payment-method'; |
@@ -14,3 +14,2 @@ /* tslint:disable */ | ||
*/ | ||
import { Notification } from './notification'; | ||
/** | ||
@@ -28,8 +27,2 @@ * | ||
unread_count: number; | ||
/** | ||
* | ||
* @type {Array<Notification>} | ||
* @memberof NotificationUnreadCount | ||
*/ | ||
unread_list: Array<Notification>; | ||
} |
@@ -25,3 +25,3 @@ /* tslint:disable */ | ||
*/ | ||
name?: string; | ||
id?: string; | ||
/** | ||
@@ -32,3 +32,3 @@ * | ||
*/ | ||
slug?: string; | ||
name?: string; | ||
} |
{ | ||
"name": "@forestvpn/forestvpn_api", | ||
"version": "3.5.0", | ||
"version": "3.6.0", | ||
"description": "A package to interact api.forestvpn.com (manage vpn profiles, check usage statistics, manage locations, ...)", | ||
@@ -5,0 +5,0 @@ "author": "ForestVPN", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1319043
313
30315