Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@equisoft/equisoft-plan-sdk-typescript

Package Overview
Dependencies
Maintainers
12
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equisoft/equisoft-plan-sdk-typescript - npm Package Compare versions

Comparing version 6.67.0 to 6.67.1-snapshot.20220622192140

dist/models/UsersUserContext.d.ts

8

dist/apis/UsersApi.d.ts

@@ -13,3 +13,3 @@ /**

import * as runtime from '../runtime';
import { UsersUser } from '../models';
import { UsersUser, UsersUserContext } from '../models';
export interface GetUserRequest {

@@ -28,2 +28,8 @@ id: number;

getUser(requestParameters: GetUserRequest, initOverrides?: RequestInit): Promise<UsersUser>;
/**
*/
getUserContextRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<UsersUserContext>>;
/**
*/
getUserContext(initOverrides?: RequestInit): Promise<UsersUserContext>;
}

@@ -62,3 +62,30 @@ "use strict";

}
/**
*/
getUserContextRaw(initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const queryParameters = {};
const headerParameters = {};
if (this.configuration && this.configuration.accessToken) {
// oauth required
headerParameters["Authorization"] = yield this.configuration.accessToken("OAuth2", ["plan:user"]);
}
const response = yield this.request({
path: `/fna/api/v2/userContext`,
method: 'GET',
headers: headerParameters,
query: queryParameters,
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.UsersUserContextFromJSON(jsonValue));
});
}
/**
*/
getUserContext(initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.getUserContextRaw(initOverrides);
return yield response.value();
});
}
}
exports.UsersApi = UsersApi;

@@ -10,3 +10,4 @@ export * from './CmdCopyFNA';

export * from './UsersUser';
export * from './UsersUserContext';
export * from './V1ErrorResponse';
export * from './V1ErrorResponseData';

@@ -24,3 +24,4 @@ "use strict";

__exportStar(require("./UsersUser"), exports);
__exportStar(require("./UsersUserContext"), exports);
__exportStar(require("./V1ErrorResponse"), exports);
__exportStar(require("./V1ErrorResponseData"), exports);

2

package.json
{
"name": "@equisoft/equisoft-plan-sdk-typescript",
"version": "6.67.0",
"version": "6.67.1-snapshot.20220622192140",
"description": "OpenAPI client for @equisoft/equisoft-plan-sdk-typescript",

@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator",

@@ -24,2 +24,5 @@ /* tslint:disable */

UsersUserToJSON,
UsersUserContext,
UsersUserContextFromJSON,
UsersUserContextToJSON,
} from '../models';

@@ -69,2 +72,31 @@

/**
*/
async getUserContextRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<UsersUserContext>> {
const queryParameters: any = {};
const headerParameters: runtime.HTTPHeaders = {};
if (this.configuration && this.configuration.accessToken) {
// oauth required
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", ["plan:user"]);
}
const response = await this.request({
path: `/fna/api/v2/userContext`,
method: 'GET',
headers: headerParameters,
query: queryParameters,
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => UsersUserContextFromJSON(jsonValue));
}
/**
*/
async getUserContext(initOverrides?: RequestInit): Promise<UsersUserContext> {
const response = await this.getUserContextRaw(initOverrides);
return await response.value();
}
}

@@ -12,3 +12,4 @@ /* tslint:disable */

export * from './UsersUser';
export * from './UsersUserContext';
export * from './V1ErrorResponse';
export * from './V1ErrorResponseData';

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc