/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { nullable, object, optional, Schema, string } from '../schema'; /** Generic response object for getting a MovementObjectBase. */ export interface GetMovementObjectBaseResponse { object?: string; id?: string | null; status?: string | null; amount?: string | null; createdAt?: string | null; type?: string | null; chargeId?: string | null; gatewayId?: string | null; } export const getMovementObjectBaseResponseSchema: Schema = object( { object: ['object', optional(string())], id: ['id', optional(nullable(string()))], status: ['status', optional(nullable(string()))], amount: ['amount', optional(nullable(string()))], createdAt: ['created_at', optional(nullable(string()))], type: ['type', optional(nullable(string()))], chargeId: ['charge_id', optional(nullable(string()))], gatewayId: ['gateway_id', optional(nullable(string()))], } );