@soos-io/api-client
Advanced tools
Comparing version 0.2.5 to 0.2.6
import FormData from "form-data"; | ||
import { IntegrationName, ManifestStatus, OutputFormat, PackageManagerType, ScanStatus, ScanType } from "../enums"; | ||
import { IntegrationName, IntegrationType, ManifestStatus, OutputFormat, PackageManagerType, ScanStatus, ScanType } from "../enums"; | ||
import { ICodedMessageModel } from "../models"; | ||
@@ -18,3 +18,3 @@ interface ICreateScanRequestContributingDeveloperAudit { | ||
branchUri: string | null; | ||
integrationType: string; | ||
integrationType: IntegrationType; | ||
operatingEnvironment: string; | ||
@@ -21,0 +21,0 @@ integrationName: IntegrationName; |
@@ -25,2 +25,11 @@ export declare enum ContributingDeveloperSource { | ||
} | ||
export declare enum IntegrationType { | ||
None = "None", | ||
IDE = "IDE", | ||
Script = "Script", | ||
Webhook = "Webhook", | ||
Plugin = "Plugin", | ||
AppRepo = "AppRepo", | ||
AppUpload = "AppUpload" | ||
} | ||
export declare enum PackageManagerType { | ||
@@ -27,0 +36,0 @@ Unknown = "Unknown", |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.OnFailure = exports.OutputFormat = exports.LogLevel = exports.SeverityEnum = exports.ScanType = exports.ScanStatus = exports.ManifestStatus = exports.PackageManagerType = exports.IntegrationName = exports.ContributingDeveloperSource = void 0; | ||
exports.OnFailure = exports.OutputFormat = exports.LogLevel = exports.SeverityEnum = exports.ScanType = exports.ScanStatus = exports.ManifestStatus = exports.PackageManagerType = exports.IntegrationType = exports.IntegrationName = exports.ContributingDeveloperSource = void 0; | ||
var ContributingDeveloperSource; | ||
@@ -30,2 +30,12 @@ (function (ContributingDeveloperSource) { | ||
})(IntegrationName || (exports.IntegrationName = IntegrationName = {})); | ||
var IntegrationType; | ||
(function (IntegrationType) { | ||
IntegrationType["None"] = "None"; | ||
IntegrationType["IDE"] = "IDE"; | ||
IntegrationType["Script"] = "Script"; | ||
IntegrationType["Webhook"] = "Webhook"; | ||
IntegrationType["Plugin"] = "Plugin"; | ||
IntegrationType["AppRepo"] = "AppRepo"; | ||
IntegrationType["AppUpload"] = "AppUpload"; | ||
})(IntegrationType || (exports.IntegrationType = IntegrationType = {})); | ||
var PackageManagerType; | ||
@@ -32,0 +42,0 @@ (function (PackageManagerType) { |
import SOOSAnalysisApiClient, { ICreateScanRequestContributingDeveloperAudit, ICreateScanResponse } from "../api/SOOSAnalysisApiClient"; | ||
import SOOSProjectsApiClient from "../api/SOOSProjectsApiClient"; | ||
import SOOSUserApiClient from "../api/SOOSUserApiClient"; | ||
import { IntegrationName, OutputFormat, ScanStatus, ScanType } from "../enums"; | ||
import { IntegrationName, IntegrationType, OutputFormat, ScanStatus, ScanType } from "../enums"; | ||
interface IGenerateFormattedOutputParams { | ||
@@ -36,3 +36,3 @@ clientId: string; | ||
branchUri: string; | ||
integrationType: string; | ||
integrationType: IntegrationType; | ||
operatingEnvironment: string; | ||
@@ -39,0 +39,0 @@ integrationName: IntegrationName; |
{ | ||
"name": "@soos-io/api-client", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "This is the SOOS API Client for registered clients leveraging the various integrations to the SOOS platform.", | ||
@@ -17,3 +17,3 @@ "main": "dist/index.js", | ||
"test": "jest", | ||
"check": "npm run format && npm run typecheck && npm outdated" | ||
"check": "npm run format && npm run typecheck && npm run test && npm outdated" | ||
}, | ||
@@ -43,14 +43,13 @@ "publishConfig": { | ||
"axios": "^1.6.2", | ||
"form-data": "^4.0.0", | ||
"tslib": "^2.6.2" | ||
}, | ||
"devDependencies": { | ||
"@types/glob": "^8.1.0", | ||
"@types/jest": "^29.5.9", | ||
"@types/node": "^20.9.3", | ||
"@types/jest": "^29.5.11", | ||
"@types/node": "^20.10.4", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.1.0", | ||
"prettier": "^3.1.1", | ||
"ts-jest": "^29.1.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.3.2" | ||
"typescript": "^5.3.3" | ||
} | ||
} |
64566
6
1450
3
+ Addedform-data@^4.0.0