export type FcmCert = {
  type: string;
  project_id: string;
  private_key_id: string;
  private_key: string;
  client_email: string;
  client_id: string;
  auth_uri: string;
  token_uri: string;
  auth_provider_x509_cert_url: string;
  client_x509_cert_url: string;
  universe_domain: string;
};

export type PushActionType = 'link' | 'detail';

export type SendPushInput = {
  token: string;
  title: string;
  body: string;
  redirectUri?: string;
  almId: string;
  actionType?: PushActionType;
  /**
   * 앱이 열 인앱 상대경로. 호출부가 자기가 아는 목적지를 명시 전달한다.
   * 옵셔널이 아닌 이유: 누락된 호출부를 타입 검사가 신규 진단으로 잡게 하려는 것이다.
   */
  deepLink: string;
};
