netsparker-cloud
Version:
JavaScript client for consuming the Netsparker Cloud API.
285 lines (278 loc) • 7.8 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 Clubhouse integration info
*/
export class ClubhouseIntegrationInfoModel {
/**
* Api Token
*/
'apiToken': string;
/**
* The ID of the project to which the issue belongs.
*/
'projectId': number;
/**
* Gets or sets the Clubhouse story type of the issue.
*/
'clubhouseStoryType'?: ClubhouseIntegrationInfoModel.ClubhouseStoryTypeEnum;
/**
* The Epic Id identifier.
*/
'epicId'?: number;
/**
* The workflow state identifier that the Story is in.
*/
'stateId'?: number;
/**
* The member identifier of the person who requested the issue.
*/
'requesterId'?: string;
/**
* Comma-separated member identifiers of those who own the issue.
*/
'ownerIds'?: string;
/**
* Comma-separated member identifiers of those who follow the issue.
*/
'followerIds'?: string;
/**
* The days when incident is due from the time that issue is created on.
*/
'dueDays': number;
/**
* Comma-separated labels.
*/
'labels'?: string;
'type'?: ClubhouseIntegrationInfoModel.TypeEnum;
/**
* 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 type of the jira template.
*/
'templateType'?: ClubhouseIntegrationInfoModel.TemplateTypeEnum;
/**
* 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": "apiToken",
"baseName": "ApiToken",
"type": "string"
},
{
"name": "projectId",
"baseName": "ProjectId",
"type": "number"
},
{
"name": "clubhouseStoryType",
"baseName": "ClubhouseStoryType",
"type": "ClubhouseIntegrationInfoModel.ClubhouseStoryTypeEnum"
},
{
"name": "epicId",
"baseName": "EpicId",
"type": "number"
},
{
"name": "stateId",
"baseName": "StateId",
"type": "number"
},
{
"name": "requesterId",
"baseName": "RequesterId",
"type": "string"
},
{
"name": "ownerIds",
"baseName": "OwnerIds",
"type": "string"
},
{
"name": "followerIds",
"baseName": "FollowerIds",
"type": "string"
},
{
"name": "dueDays",
"baseName": "DueDays",
"type": "number"
},
{
"name": "labels",
"baseName": "Labels",
"type": "string"
},
{
"name": "type",
"baseName": "Type",
"type": "ClubhouseIntegrationInfoModel.TypeEnum"
},
{
"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": "templateType",
"baseName": "TemplateType",
"type": "ClubhouseIntegrationInfoModel.TemplateTypeEnum"
},
{
"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 ClubhouseIntegrationInfoModel.attributeTypeMap;
}
}
export namespace ClubhouseIntegrationInfoModel {
export enum ClubhouseStoryTypeEnum {
Bug = <any> 'Bug',
Feature = <any> 'Feature',
Chore = <any> 'Chore'
}
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 TemplateTypeEnum {
Standard = <any> 'Standard',
Detailed = <any> 'Detailed'
}
}