File

apps/recallassess/recallassess-api/src/api/admin/company/dto/company-stripe-connection.dto.ts

Description

Safe ops diagnostics: no secret values, only whether keys exist and inferred mode.

Index

Properties

Properties

key_mode
Type : "test" | "live" | null
Decorators :
@Expose()

null when secret key is missing

publishable_key_configured
Type : boolean
Decorators :
@Expose()
secret_key_configured
Type : boolean
Decorators :
@Expose()
import {Exclude, Expose} from "class-transformer";

/** Safe ops diagnostics: no secret values, only whether keys exist and inferred mode. */
@Exclude()
export class CompanyStripeConnectionDto {
  @Expose()
  secret_key_configured!: boolean;

  /** null when secret key is missing */
  @Expose()
  key_mode!: "test" | "live" | null;

  @Expose()
  publishable_key_configured!: boolean;
}

results matching ""

    No results matching ""