fetch-jsd
Version:
A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.
32 lines (31 loc) • 1.56 kB
TypeScript
/**
* 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.
*/
import * as runtime from '../runtime';
import { CustomerCreateDTO, UserDTO } from '../models';
export interface CreateCustomerRequest {
CustomerCreateDTO: CustomerCreateDTO;
}
/**
* no description
*/
export declare class CustomerApi extends runtime.BaseAPI {
/**
* This method adds a customer to the Jira Service Desk instance by passing a JSON file including an email address and display name. The display name does not need to be unique. The record\'s identifiers, `name` and `key`, are automatically generated from the request details. **[Permissions](#permissions) required**: Jira Administrator Global permission
* Create customer
*/
createCustomerRaw(requestParameters: CreateCustomerRequest): Promise<runtime.ApiResponse<UserDTO>>;
/**
* This method adds a customer to the Jira Service Desk instance by passing a JSON file including an email address and display name. The display name does not need to be unique. The record\'s identifiers, `name` and `key`, are automatically generated from the request details. **[Permissions](#permissions) required**: Jira Administrator Global permission
* Create customer
*/
createCustomer(requestParameters: CreateCustomerRequest): Promise<UserDTO>;
}