@@ -343,11 +343,10 @@ export const GuardianApiAxiosParamCreator = function (configuration?: Configurat
343343 * Get an evm message by id
344344 * @summary Info for a specific evm message
345345 * @param {string } messageID The id of the evm message
346- * @param {boolean } [includeSimulation] Include simulation results
347346 * @param {* } [options] Override http request option.
348347 * @throws {RequiredError }
349348 */
350- getMessageByID : async ( messageID : string , includeSimulation ?: boolean , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
349+ getMessageByID : async ( messageID : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
351350 // verify required parameter 'messageID' is not null or undefined
352351 assertParamExists ( 'getMessageByID' , 'messageID' , messageID )
353352 const localVarPath = `/guardian/v1/messages/{messageID}`
@@ -367,10 +366,6 @@ export const GuardianApiAxiosParamCreator = function (configuration?: Configurat
367366 // http bearer authentication required
368367 await setBearerAuthToObject ( localVarHeaderParameter , configuration )
369368
370- if ( includeSimulation !== undefined ) {
371- localVarQueryParameter [ 'includeSimulation' ] = includeSimulation ;
372- }
373-
374369
375370
376371 setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
@@ -388,11 +383,10 @@ export const GuardianApiAxiosParamCreator = function (configuration?: Configurat
388383 * @param {string } transactionID The id of the starkex transaction to retrieve
389384 * @param {GetTransactionByIDChainTypeEnum } chainType roll up type
390385 * @param {string } [chainID] ID of evm chain
391- * @param {boolean } [includeSimulation] Include simulation results
392386 * @param {* } [options] Override http request option.
393387 * @throws {RequiredError }
394388 */
395- getTransactionByID : async ( transactionID : string , chainType : GetTransactionByIDChainTypeEnum , chainID ?: string , includeSimulation ?: boolean , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
389+ getTransactionByID : async ( transactionID : string , chainType : GetTransactionByIDChainTypeEnum , chainID ?: string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
396390 // verify required parameter 'transactionID' is not null or undefined
397391 assertParamExists ( 'getTransactionByID' , 'transactionID' , transactionID )
398392 // verify required parameter 'chainType' is not null or undefined
@@ -422,10 +416,6 @@ export const GuardianApiAxiosParamCreator = function (configuration?: Configurat
422416 localVarQueryParameter [ 'chainID' ] = chainID ;
423417 }
424418
425- if ( includeSimulation !== undefined ) {
426- localVarQueryParameter [ 'includeSimulation' ] = includeSimulation ;
427- }
428-
429419
430420
431421 setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
@@ -530,12 +520,11 @@ export const GuardianApiFp = function(configuration?: Configuration) {
530520 * Get an evm message by id
531521 * @summary Info for a specific evm message
532522 * @param {string } messageID The id of the evm message
533- * @param {boolean } [includeSimulation] Include simulation results
534523 * @param {* } [options] Override http request option.
535524 * @throws {RequiredError }
536525 */
537- async getMessageByID ( messageID : string , includeSimulation ?: boolean , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < EVMMessage > > {
538- const localVarAxiosArgs = await localVarAxiosParamCreator . getMessageByID ( messageID , includeSimulation , options ) ;
526+ async getMessageByID ( messageID : string , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < EVMMessage > > {
527+ const localVarAxiosArgs = await localVarAxiosParamCreator . getMessageByID ( messageID , options ) ;
539528 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
540529 } ,
541530 /**
@@ -544,12 +533,11 @@ export const GuardianApiFp = function(configuration?: Configuration) {
544533 * @param {string } transactionID The id of the starkex transaction to retrieve
545534 * @param {GetTransactionByIDChainTypeEnum } chainType roll up type
546535 * @param {string } [chainID] ID of evm chain
547- * @param {boolean } [includeSimulation] Include simulation results
548536 * @param {* } [options] Override http request option.
549537 * @throws {RequiredError }
550538 */
551- async getTransactionByID ( transactionID : string , chainType : GetTransactionByIDChainTypeEnum , chainID ?: string , includeSimulation ?: boolean , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < Transaction > > {
552- const localVarAxiosArgs = await localVarAxiosParamCreator . getTransactionByID ( transactionID , chainType , chainID , includeSimulation , options ) ;
539+ async getTransactionByID ( transactionID : string , chainType : GetTransactionByIDChainTypeEnum , chainID ?: string , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < Transaction > > {
540+ const localVarAxiosArgs = await localVarAxiosParamCreator . getTransactionByID ( transactionID , chainType , chainID , options ) ;
553541 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
554542 } ,
555543 }
@@ -640,7 +628,7 @@ export const GuardianApiFactory = function (configuration?: Configuration, baseP
640628 * @throws {RequiredError }
641629 */
642630 getMessageByID ( requestParameters : GuardianApiGetMessageByIDRequest , options ?: AxiosRequestConfig ) : AxiosPromise < EVMMessage > {
643- return localVarFp . getMessageByID ( requestParameters . messageID , requestParameters . includeSimulation , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
631+ return localVarFp . getMessageByID ( requestParameters . messageID , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
644632 } ,
645633 /**
646634 * Get a transaction by payload hash
@@ -650,7 +638,7 @@ export const GuardianApiFactory = function (configuration?: Configuration, baseP
650638 * @throws {RequiredError }
651639 */
652640 getTransactionByID ( requestParameters : GuardianApiGetTransactionByIDRequest , options ?: AxiosRequestConfig ) : AxiosPromise < Transaction > {
653- return localVarFp . getTransactionByID ( requestParameters . transactionID , requestParameters . chainType , requestParameters . chainID , requestParameters . includeSimulation , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
641+ return localVarFp . getTransactionByID ( requestParameters . transactionID , requestParameters . chainType , requestParameters . chainID , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
654642 } ,
655643 } ;
656644} ;
@@ -779,13 +767,6 @@ export interface GuardianApiGetMessageByIDRequest {
779767 * @memberof GuardianApiGetMessageByID
780768 */
781769 readonly messageID : string
782-
783- /**
784- * Include simulation results
785- * @type {boolean }
786- * @memberof GuardianApiGetMessageByID
787- */
788- readonly includeSimulation ?: boolean
789770}
790771
791772/**
@@ -814,13 +795,6 @@ export interface GuardianApiGetTransactionByIDRequest {
814795 * @memberof GuardianApiGetTransactionByID
815796 */
816797 readonly chainID ?: string
817-
818- /**
819- * Include simulation results
820- * @type {boolean }
821- * @memberof GuardianApiGetTransactionByID
822- */
823- readonly includeSimulation ?: boolean
824798}
825799
826800/**
@@ -923,7 +897,7 @@ export class GuardianApi extends BaseAPI {
923897 * @memberof GuardianApi
924898 */
925899 public getMessageByID ( requestParameters : GuardianApiGetMessageByIDRequest , options ?: AxiosRequestConfig ) {
926- return GuardianApiFp ( this . configuration ) . getMessageByID ( requestParameters . messageID , requestParameters . includeSimulation , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
900+ return GuardianApiFp ( this . configuration ) . getMessageByID ( requestParameters . messageID , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
927901 }
928902
929903 /**
@@ -935,7 +909,7 @@ export class GuardianApi extends BaseAPI {
935909 * @memberof GuardianApi
936910 */
937911 public getTransactionByID ( requestParameters : GuardianApiGetTransactionByIDRequest , options ?: AxiosRequestConfig ) {
938- return GuardianApiFp ( this . configuration ) . getTransactionByID ( requestParameters . transactionID , requestParameters . chainType , requestParameters . chainID , requestParameters . includeSimulation , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
912+ return GuardianApiFp ( this . configuration ) . getTransactionByID ( requestParameters . transactionID , requestParameters . chainType , requestParameters . chainID , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
939913 }
940914}
941915
0 commit comments