UNPKG

fetch-jsd

Version:

A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.

60 lines (59 loc) 1.79 kB
/** * Service Desk Public REST API * Public REST API for Jira Service Desk * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface RequestCreateDTO */ export interface RequestCreateDTO { /** * ID of the service desk in which to create the request. * @type {string} * @memberof RequestCreateDTO */ serviceDeskId?: string; /** * ID of the request type for the request. * @type {string} * @memberof RequestCreateDTO */ requestTypeId?: string; /** * JSON map of Jira field IDs and their values representing the content of the request. * @type {{ [key: string]: object; }} * @memberof RequestCreateDTO */ requestFieldValues?: { [key: string]: object; }; /** * List of customers to participate in the request, as a list of `accountId` values. * @type {Array<string>} * @memberof RequestCreateDTO */ requestParticipants?: Array<string>; /** * The `accountId` of the customer that the request is being raised on behalf of. * @type {string} * @memberof RequestCreateDTO */ raiseOnBehalfOf?: string; /** * (Experimental) Shows extra information for the request channel. * @type {string} * @memberof RequestCreateDTO */ channel?: string; } export declare function RequestCreateDTOFromJSON(json: any): RequestCreateDTO; export declare function RequestCreateDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestCreateDTO; export declare function RequestCreateDTOToJSON(value?: RequestCreateDTO): any;