/**
 * NASA Node - Version 1
 * Discriminator: resource=earthAssets, operation=get
 */


interface Credentials {
  nasaApi: CredentialReference;
}

/** Get the Astronomy Picture of the Day */
export type NasaV1EarthAssetsGetParams = {
  resource: 'earthAssets';
  operation: 'get';
/**
 * Latitude for the location of the image
 */
    lat?: number | Expression<number>;
/**
 * Longitude for the location of the image
 */
    lon?: number | Expression<number>;
/**
 * Additional Fields
 * @default {}
 */
    additionalFields?: {
    /** Date of the image
     */
    date?: string | Expression<string>;
    /** Width and height of the image in degrees
     */
    dim?: number | Expression<number>;
  };
};

export type NasaV1EarthAssetsGetNode = {
  type: 'n8n-nodes-base.nasa';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<NasaV1EarthAssetsGetParams>;
};