New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@codacy/api-typescript

Package Overview
Dependencies
Maintainers
2
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codacy/api-typescript - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

66

lib/models/index.d.ts

@@ -94,8 +94,4 @@ import { ServiceClientOptions } from "@azure/ms-rest-js";

*/
export declare type GetUserResponse = {
export declare type GetUserResponse = User & {
/**
* The parsed response body.
*/
body: any;
/**
* The underlying HTTP response.

@@ -111,32 +107,10 @@ */

*/
parsedBody: any;
parsedBody: User;
};
};
/**
* Contains response data for the deleteUser operation.
*/
export declare type DeleteUserResponse = ErrorModel & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: ErrorModel;
};
};
/**
* Contains response data for the patchUser operation.
*/
export declare type PatchUserResponse = {
export declare type PatchUserResponse = User & {
/**
* The parsed response body.
*/
body: any;
/**
* The underlying HTTP response.

@@ -152,3 +126,3 @@ */

*/
parsedBody: any;
parsedBody: User;
};

@@ -159,8 +133,4 @@ };

*/
export declare type ListUserOrganizationsResponse = {
export declare type ListUserOrganizationsResponse = Array<Organization> & {
/**
* The parsed response body.
*/
body: any;
/**
* The underlying HTTP response.

@@ -176,3 +146,3 @@ */

*/
parsedBody: any;
parsedBody: Organization[];
};

@@ -183,8 +153,4 @@ };

*/
export declare type ListUserIntegrationsResponse = {
export declare type ListUserIntegrationsResponse = Array<Integration> & {
/**
* The parsed response body.
*/
body: any;
/**
* The underlying HTTP response.

@@ -200,9 +166,9 @@ */

*/
parsedBody: any;
parsedBody: Integration[];
};
};
/**
* Contains response data for the deleteIntegration operation.
* Contains response data for the health operation.
*/
export declare type DeleteIntegrationResponse = ErrorModel & {
export declare type HealthResponse = HealthCheck & {
/**

@@ -219,10 +185,14 @@ * The underlying HTTP response.

*/
parsedBody: ErrorModel;
parsedBody: HealthCheck;
};
};
/**
* Contains response data for the health operation.
* Contains response data for the hello operation.
*/
export declare type HealthResponse = HealthCheck & {
export declare type HelloResponse = {
/**
* The parsed response body.
*/
body: string;
/**
* The underlying HTTP response.

@@ -238,5 +208,5 @@ */

*/
parsedBody: HealthCheck;
parsedBody: string;
};
};
//# sourceMappingURL=index.d.ts.map

@@ -23,3 +23,3 @@ import * as msRest from "@azure/ms-rest-js";

*/
getUser(accountId: number, callback: msRest.ServiceCallback<any>): void;
getUser(accountId: number, callback: msRest.ServiceCallback<Models.User>): void;
/**

@@ -30,3 +30,3 @@ * @param accountId AccountId

*/
getUser(accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<any>): void;
getUser(accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.User>): void;
/**

@@ -36,5 +36,5 @@ * @param reasonsToDelete

* @param [options] The optional parameters
* @returns Promise<Models.DeleteUserResponse>
* @returns Promise<msRest.RestResponse>
*/
deleteUser(reasonsToDelete: string[], accountId: number, options?: msRest.RequestOptionsBase): Promise<Models.DeleteUserResponse>;
deleteUser(reasonsToDelete: string[], accountId: number, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
/**

@@ -45,3 +45,3 @@ * @param reasonsToDelete

*/
deleteUser(reasonsToDelete: string[], accountId: number, callback: msRest.ServiceCallback<Models.ErrorModel>): void;
deleteUser(reasonsToDelete: string[], accountId: number, callback: msRest.ServiceCallback<void>): void;
/**

@@ -53,3 +53,3 @@ * @param reasonsToDelete

*/
deleteUser(reasonsToDelete: string[], accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ErrorModel>): void;
deleteUser(reasonsToDelete: string[], accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
/**

@@ -67,3 +67,3 @@ * @param userBody

*/
patchUser(userBody: Models.UserBody, accountId: number, callback: msRest.ServiceCallback<any>): void;
patchUser(userBody: Models.UserBody, accountId: number, callback: msRest.ServiceCallback<Models.User>): void;
/**

@@ -75,3 +75,3 @@ * @param userBody

*/
patchUser(userBody: Models.UserBody, accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<any>): void;
patchUser(userBody: Models.UserBody, accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.User>): void;
/**

@@ -89,3 +89,3 @@ * List organizations for the authenticated user

*/
listUserOrganizations(accountId: number, callback: msRest.ServiceCallback<any>): void;
listUserOrganizations(accountId: number, callback: msRest.ServiceCallback<Models.Organization[]>): void;
/**

@@ -96,3 +96,3 @@ * @param accountId AccountId

*/
listUserOrganizations(accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<any>): void;
listUserOrganizations(accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Organization[]>): void;
/**

@@ -110,3 +110,3 @@ * List integrations for the authenticated user

*/
listUserIntegrations(accountId: number, callback: msRest.ServiceCallback<any>): void;
listUserIntegrations(accountId: number, callback: msRest.ServiceCallback<Models.Integration[]>): void;
/**

@@ -117,3 +117,3 @@ * @param accountId Integration Provider

*/
listUserIntegrations(accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<any>): void;
listUserIntegrations(accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Integration[]>): void;
/**

@@ -123,5 +123,5 @@ * @param provider Integration Provider

* @param [options] The optional parameters
* @returns Promise<Models.DeleteIntegrationResponse>
* @returns Promise<msRest.RestResponse>
*/
deleteIntegration(provider: string, accountId: number, options?: msRest.RequestOptionsBase): Promise<Models.DeleteIntegrationResponse>;
deleteIntegration(provider: string, accountId: number, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
/**

@@ -132,3 +132,3 @@ * @param provider Integration Provider

*/
deleteIntegration(provider: string, accountId: number, callback: msRest.ServiceCallback<Models.ErrorModel>): void;
deleteIntegration(provider: string, accountId: number, callback: msRest.ServiceCallback<void>): void;
/**

@@ -140,3 +140,3 @@ * @param provider Integration Provider

*/
deleteIntegration(provider: string, accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ErrorModel>): void;
deleteIntegration(provider: string, accountId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
/**

@@ -158,4 +158,20 @@ * Health check endpoint

health(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.HealthCheck>): void;
/**
* Greeter endpoint
* @summary Greeter endpoint
* @param [options] The optional parameters
* @returns Promise<Models.HelloResponse>
*/
hello(options?: msRest.RequestOptionsBase): Promise<Models.HelloResponse>;
/**
* @param callback The callback
*/
hello(callback: msRest.ServiceCallback<string>): void;
/**
* @param options The optional parameters
* @param callback The callback
*/
hello(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<string>): void;
}
export { WebsiteAPI, WebsiteAPIContext, Models as WebsiteAPIModels, Mappers as WebsiteAPIMappers };
//# sourceMappingURL=websiteAPI.d.ts.map

@@ -65,2 +65,7 @@ /*

};
WebsiteAPI.prototype.hello = function (options, callback) {
return this.sendOperationRequest({
options: options
}, helloOperationSpec, callback);
};
return WebsiteAPI;

@@ -244,3 +249,19 @@ }(WebsiteAPIContext));

};
var helloOperationSpec = {
httpMethod: "GET",
path: "v3/hello",
responses: {
200: {
bodyMapper: {
serializedName: "parsedResponse",
type: {
name: "String"
}
}
},
default: {}
},
serializer: serializer
};
export { WebsiteAPI, WebsiteAPIContext, Models as WebsiteAPIModels, Mappers as WebsiteAPIMappers };
//# sourceMappingURL=websiteAPI.js.map
{
"name": "@codacy/api-typescript",
"version": "0.0.2",
"version": "0.0.3",
"description": "Codacy API client for Typescript",

@@ -26,3 +26,3 @@ "homepage": "https://github.com/codacy/codacy-api-typescript#readme",

"fetch-api": "curl https://dl.bintray.com/codacy/Binaries/$npm_package_apiVersion/swagger.yaml -o api-swagger.yaml",
"generate": "autorest --typescript --model-date-time-as-string=false --input-file=./api-swagger.yaml --output-folder=./",
"generate": "autorest --typescript --model-date-time-as-string=false --input-file=./api-swagger-patched.yaml --output-folder=./",
"lint-md": "remark .",

@@ -65,3 +65,3 @@ "prepare": "npm run fetch-api && npm run generate"

},
"apiVersion": "5.12.0",
"apiVersion": "5.17.0",
"remarkConfig": {

@@ -68,0 +68,0 @@ "plugins": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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