/*! * Copyright (c) 2026 Broadcom. All Rights Reserved. The term * "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * * This software and all information contained therein is * confidential and proprietary and shall not be duplicated, * used, disclosed, or disseminated in any way except as * authorized by the applicable license agreement, without the * express written permission of Broadcom. All authorized * reproductions must be marked with this language. * * EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO * THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS * SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT * LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM * BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR * DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE, * INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS * INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS * EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE. */ export interface ICheckDdlPayload { [key: string]: string | string[] | IEnvironment[] | undefined; readonly jobCards: string[]; targetSubsystem: string; readonly inputDdl: string[]; readonly workDatasetPrefix: string; readonly authId?: string; readonly sqlId?: string; readonly verifyDependencies?: string; readonly environmentList?: IEnvironment[]; } export interface IDeployDdlPayload { [key: string]: string | string[] | IEnvironment[] | ISet | IChanges[] | undefined; readonly authId: string; readonly inputDdl: string[]; readonly expopt: string; readonly jobCards: string[]; readonly retryAttempts: string; readonly sqlId: string; targetSubsystem: string; readonly workDatasetPrefix: string; readonly strategy?: string; readonly objectMatchSet?: ISet; readonly objectMatchList?: string; readonly rModel?: string; readonly rModelCreator?: string; readonly objectAttributeChangeSet?: ISet; readonly objectAttributeChanges?: IChanges[]; readonly objectAttributeCompareRules?: ISet; readonly terminationCharacter?: string; readonly environmentList?: IEnvironment[]; } export interface ISet { name: string; creator: string; } export interface IChanges { code: string; from: string; to: string; } export interface IEnvironment { environment: string; } export interface IGenerateDdlPayload { [key: string]: string | string[] | IEnvironment[] | ISet | IChanges[] | undefined; readonly jobCards: string[]; sourceSubsystem: string; readonly authId: string; readonly workDatasetPrefix: string; readonly objects: string; readonly ddlType?: string; readonly sqlId?: string; readonly objectAttributeChangeSet?: ISet; readonly objectAttributeChanges?: IChanges[]; readonly terminationCharacter?: string; readonly environmentList?: IEnvironment[]; } export interface IPrepareMigrationPayload extends Omit { targetSubsystem: string; } export interface ICompareDdlPayload { [key: string]: string | string[] | IEnvironment[] | ISet | IChanges[] | undefined; readonly jobCards: string[]; readonly inputDdl: string[]; targetSubsystem: string; readonly authId: string; readonly sqlId: string; readonly workDatasetPrefix: string; readonly impactAnalysisReport: string; readonly strategy?: string; readonly strategyDescription?: string; readonly objectMatchSet?: ISet; readonly objectMatchList?: string; readonly objectAttributeChangeSet?: ISet; readonly objectAttributeChanges?: IChanges[]; readonly objectAttributeCompareRules?: ISet; readonly terminationCharacter?: string; readonly recoveryTerminationCharacter?: string; readonly environmentList?: IEnvironment[]; } export interface IRestartParameters { restart?: string; restartToken?: string; section?: string; } export interface IExecuteScriptPayload { [key: string]: string | string[] | IEnvironment[] | undefined; readonly jobCards: string[]; readonly inputScript: string[]; readonly workDatasetPrefix: string; targetSubsystem?: string; readonly restart?: string; readonly restartToken?: string; readonly scriptSection?: string; readonly environmentList?: IEnvironment[]; } export type IExecuteCompareScriptPayload = Omit; export type IExecuteMigrationScriptPayload = Omit; export interface IRunSQLPayload { readonly sql: string[]; } export type IPayloads = IGenerateDdlPayload | ICheckDdlPayload | IDeployDdlPayload | ICompareDdlPayload | IExecuteScriptPayload | IExecuteCompareScriptPayload | IExecuteMigrationScriptPayload | IPrepareMigrationPayload; export type IStreamDataPayloads = IRunSQLPayload;