@zowe/cics-for-zowe-sdk
Version:
Zowe SDK for IBM CICS Transaction Server
59 lines (58 loc) • 3.45 kB
TypeScript
/**
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
import { type AbstractSession } from "@zowe/imperative";
import type { ICMCIApiResponse, IProgramParms, ITransactionParms, IURIMapParms, IWebServiceParms } from "../../doc";
/**
* Delete a program installed in CICS through CMCI REST API
* @param {AbstractSession} session - the session to connect to CMCI with
* @param {IProgramParms} parms - parameters for deleting your program
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
* when the request is complete
* @throws {ImperativeError} CICS program name not defined or blank
* @throws {ImperativeError} CICS region name not defined or blank
* @throws {ImperativeError} CicsCmciRestClient request fails
*/
export declare function deleteProgram(session: AbstractSession, parms: IProgramParms): Promise<ICMCIApiResponse>;
/**
* Delete a transaction installed in CICS through CMCI REST API
* @param {AbstractSession} session - the session to connect to CMCI with
* @param {ITransactionParms} parms - parameters for deleting your transaction
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
* when the request is complete
* @throws {ImperativeError} CICS transaction name not defined or blank
* @throws {ImperativeError} CICS region name not defined or blank
* @throws {ImperativeError} CicsCmciRestClient request fails
*/
export declare function deleteTransaction(session: AbstractSession, parms: ITransactionParms): Promise<ICMCIApiResponse>;
/**
* Delete a URIMap installed in CICS through CMCI REST API
* @param {AbstractSession} session - the session to connect to CMCI with
* @param {IURIMapParms} parms - parameters for deleting your URIMap
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
* when the request is complete
* @throws {ImperativeError} CICS URIMap name not defined or blank
* @throws {ImperativeError} CICS CSD group not defined or blank
* @throws {ImperativeError} CICS region name not defined or blank
* @throws {ImperativeError} CicsCmciRestClient request fails
*/
export declare function deleteUrimap(session: AbstractSession, parms: IURIMapParms): Promise<ICMCIApiResponse>;
/**
* Delete a web service installed in CICS through CMCI REST API
* @param {AbstractSession} session - the session to connect to CMCI with
* @param {IWebServiceParms} parms - parameters for deleting your web service
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
* when the request is complete
* @throws {ImperativeError} CICS Web service name not defined or blank
* @throws {ImperativeError} CICS CSD group not defined or blank
* @throws {ImperativeError} CICS region name not defined or blank
* @throws {ImperativeError} CicsCmciRestClient request fails
*/
export declare function deleteWebservice(session: AbstractSession, parms: IWebServiceParms): Promise<ICMCIApiResponse>;