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

@argos-ci/api-client

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@argos-ci/api-client - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1-alpha.32

114

dist/index.d.ts

@@ -6,4 +6,33 @@ /**

interface paths {
"/project": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get: operations["getAuthProject"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/project/builds": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get: operations["getAuthProjectBuilds"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};

@@ -13,2 +42,9 @@ }

schemas: {
/** @description Error response */
Error: {
error: string;
details: {
message: string;
}[];
};
/** @description Build */

@@ -34,9 +70,2 @@ Build: {

};
/** @description Error response */
Error: {
error: string;
details: {
message: string;
}[];
};
};

@@ -50,2 +79,44 @@ responses: never;

interface operations {
getAuthProject: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Project */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
id: string;
defaultBaseBranch: string;
hasRemoteContentAccess: boolean;
};
};
};
/** @description Unauthorized */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Server error */
500: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getAuthProjectBuilds: {

@@ -63,6 +134,13 @@ parameters: {

};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description List of builds */
200: {
headers: {
[name: string]: unknown;
};
content: {

@@ -81,2 +159,5 @@ "application/json": {

400: {
headers: {
[name: string]: unknown;
};
content: {

@@ -88,2 +169,5 @@ "application/json": components["schemas"]["Error"];

401: {
headers: {
[name: string]: unknown;
};
content: {

@@ -95,2 +179,5 @@ "application/json": components["schemas"]["Error"];

500: {
headers: {
[name: string]: unknown;
};
content: {

@@ -110,14 +197,3 @@ "application/json": components["schemas"]["Error"];

authToken: string;
}): {
GET: import("openapi-fetch").ClientMethod<paths, "get">;
PUT: import("openapi-fetch").ClientMethod<paths, "put">;
POST: import("openapi-fetch").ClientMethod<paths, "post">;
DELETE: import("openapi-fetch").ClientMethod<paths, "delete">;
OPTIONS: import("openapi-fetch").ClientMethod<paths, "options">;
HEAD: import("openapi-fetch").ClientMethod<paths, "head">;
PATCH: import("openapi-fetch").ClientMethod<paths, "patch">;
TRACE: import("openapi-fetch").ClientMethod<paths, "trace">;
use(...middleware: import("openapi-fetch").Middleware[]): void;
eject(...middleware: import("openapi-fetch").Middleware[]): void;
};
}): import("openapi-fetch").Client<paths, `${string}/${string}`>;
export { ArgosAPIClient, createClient };

11

package.json
{
"name": "@argos-ci/api-client",
"description": "Argos API client.",
"version": "0.1.0",
"version": "0.1.1-alpha.32+4b6e8a3",
"author": "Smooth Code",

@@ -41,12 +41,13 @@ "license": "MIT",

"build-schema-types": "openapi-typescript https://api.argos-ci.com/v2/openapi.yaml -o src/schema.ts",
"build-schema-types-dev": "NODE_TLS_REJECT_UNAUTHORIZED=0 openapi-typescript https://api.argos-ci.dev:4001/v2/openapi.yaml -o src/schema.ts",
"build": "rollup -c"
},
"devDependencies": {
"@types/node": "^18.0.0",
"openapi-typescript": "^6.7.5"
"@types/node": "^18.19.44",
"openapi-typescript": "^7.3.0"
},
"dependencies": {
"openapi-fetch": "^0.9.3"
"openapi-fetch": "^0.11.1"
},
"gitHead": "1d91294d32a09302aa8890807ddd810e14e9950b"
"gitHead": "4b6e8a36627d466e65859396ec6cfee717ba7c7b"
}
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