netsparker-cloud
Version:
JavaScript client for consuming the Netsparker Cloud API.
295 lines (288 loc) • 8.16 kB
text/typescript
/**
* Invicti Enterprise API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
import { IntegrationWizardResultModel } from './integrationWizardResultModel';
import { NotificationIntegrationCustomFieldModel } from './notificationIntegrationCustomFieldModel';
/**
* The Jazz Team integration info
*/
export class JazzTeamIntegrationInfoModel {
'type'?: JazzTeamIntegrationInfoModel.TypeEnum;
/**
* Jazz Team base URL.
*/
'serverURL': string;
/**
* The username of the user.
*/
'username': string;
/**
* The password of the user.
*/
'password': string;
/**
* The Id of Project Area
*/
'projectAreaId': string;
/**
* Category name for work items.
*/
'categoryName': string;
/**
* The work item tags. To add more than one tag, separate each one with a space ( ). For example: tag1 tag2
*/
'tags'?: string;
/**
* This is the number of days from the date of the work item was created to the day of it\'s due.
*/
'dueDays'?: number;
/**
* Severity level for work items.
*/
'severity'?: JazzTeamIntegrationInfoModel.SeverityEnum;
/**
* Priority level for work items.
*/
'priority'?: JazzTeamIntegrationInfoModel.PriorityEnum;
/**
* Type for work items.
*/
'workItemType'?: JazzTeamIntegrationInfoModel.WorkItemTypeEnum;
'templateType'?: JazzTeamIntegrationInfoModel.TemplateTypeEnum;
/**
* Gets or sets the account ID.
*/
'accountID'?: string;
/**
* Gets or sets the Custom Fields.
*/
'customFields'?: Array<NotificationIntegrationCustomFieldModel>;
/**
* Gets the generic error message.
*/
'genericErrorMessage'?: string;
/**
* Gets or sets the request identifier.
*/
'identifier'?: string;
/**
* Gets or sets the {Invicti.Cloud.Core.Models.ScanNotificationIntegration} name.
*/
'name'?: string;
/**
* Gets or sets the type of the issue.
*/
'reopenStatus'?: string;
'integrationWizardResultModel'?: IntegrationWizardResultModel;
/**
* Gets or sets the type of the issue.
*/
'resolvedStatus'?: string;
/**
* Gets the test message body.
*/
'testMessageBody'?: string;
/**
* Gets the test message title.
*/
'testMessageTitle'?: string;
/**
* Gets or sets the title format.
*/
'titleFormat': string;
/**
* Gets the webhook URL.
*/
'webhookUrl'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "type",
"baseName": "Type",
"type": "JazzTeamIntegrationInfoModel.TypeEnum"
},
{
"name": "serverURL",
"baseName": "ServerURL",
"type": "string"
},
{
"name": "username",
"baseName": "Username",
"type": "string"
},
{
"name": "password",
"baseName": "Password",
"type": "string"
},
{
"name": "projectAreaId",
"baseName": "ProjectAreaId",
"type": "string"
},
{
"name": "categoryName",
"baseName": "CategoryName",
"type": "string"
},
{
"name": "tags",
"baseName": "Tags",
"type": "string"
},
{
"name": "dueDays",
"baseName": "DueDays",
"type": "number"
},
{
"name": "severity",
"baseName": "Severity",
"type": "JazzTeamIntegrationInfoModel.SeverityEnum"
},
{
"name": "priority",
"baseName": "Priority",
"type": "JazzTeamIntegrationInfoModel.PriorityEnum"
},
{
"name": "workItemType",
"baseName": "WorkItemType",
"type": "JazzTeamIntegrationInfoModel.WorkItemTypeEnum"
},
{
"name": "templateType",
"baseName": "TemplateType",
"type": "JazzTeamIntegrationInfoModel.TemplateTypeEnum"
},
{
"name": "accountID",
"baseName": "AccountID",
"type": "string"
},
{
"name": "customFields",
"baseName": "CustomFields",
"type": "Array<NotificationIntegrationCustomFieldModel>"
},
{
"name": "genericErrorMessage",
"baseName": "GenericErrorMessage",
"type": "string"
},
{
"name": "identifier",
"baseName": "Identifier",
"type": "string"
},
{
"name": "name",
"baseName": "Name",
"type": "string"
},
{
"name": "reopenStatus",
"baseName": "ReopenStatus",
"type": "string"
},
{
"name": "integrationWizardResultModel",
"baseName": "IntegrationWizardResultModel",
"type": "IntegrationWizardResultModel"
},
{
"name": "resolvedStatus",
"baseName": "ResolvedStatus",
"type": "string"
},
{
"name": "testMessageBody",
"baseName": "TestMessageBody",
"type": "string"
},
{
"name": "testMessageTitle",
"baseName": "TestMessageTitle",
"type": "string"
},
{
"name": "titleFormat",
"baseName": "TitleFormat",
"type": "string"
},
{
"name": "webhookUrl",
"baseName": "WebhookUrl",
"type": "string"
} ];
static getAttributeTypeMap() {
return JazzTeamIntegrationInfoModel.attributeTypeMap;
}
}
export namespace JazzTeamIntegrationInfoModel {
export enum TypeEnum {
Jira = <any> 'Jira',
GitHub = <any> 'GitHub',
Tfs = <any> 'TFS',
FogBugz = <any> 'FogBugz',
ServiceNow = <any> 'ServiceNow',
Slack = <any> 'Slack',
GitLab = <any> 'GitLab',
Bitbucket = <any> 'Bitbucket',
Unfuddle = <any> 'Unfuddle',
Zapier = <any> 'Zapier',
AzureDevOps = <any> 'AzureDevOps',
Redmine = <any> 'Redmine',
Bugzilla = <any> 'Bugzilla',
Kafka = <any> 'Kafka',
PagerDuty = <any> 'PagerDuty',
MicrosoftTeams = <any> 'MicrosoftTeams',
Clubhouse = <any> 'Clubhouse',
Trello = <any> 'Trello',
Asana = <any> 'Asana',
Webhook = <any> 'Webhook',
Kenna = <any> 'Kenna',
Freshservice = <any> 'Freshservice',
YouTrack = <any> 'YouTrack',
NetsparkerEnterprise = <any> 'NetsparkerEnterprise',
Splunk = <any> 'Splunk',
Mattermost = <any> 'Mattermost',
Hashicorp = <any> 'Hashicorp',
PivotalTracker = <any> 'PivotalTracker',
CyberArk = <any> 'CyberArk',
DefectDojo = <any> 'DefectDojo',
JazzTeam = <any> 'JazzTeam'
}
export enum SeverityEnum {
Blocker = <any> 'Blocker',
Critical = <any> 'Critical',
Major = <any> 'Major',
Normal = <any> 'Normal',
Minor = <any> 'Minor',
Unclassified = <any> 'Unclassified'
}
export enum PriorityEnum {
High = <any> 'High',
Medium = <any> 'Medium',
Low = <any> 'Low',
Unassigned = <any> 'Unassigned'
}
export enum WorkItemTypeEnum {
Task = <any> 'Task',
Defect = <any> 'Defect'
}
export enum TemplateTypeEnum {
Standard = <any> 'Standard',
Detailed = <any> 'Detailed'
}
}