export type I18NOptions = { args: Record; }; export type BadRequest_FieldViolation = { /** * A path that leads to a field in the request body. The value will be a * sequence of dot-separated identifiers that identify a protocol buffer * field. */ field: string; /** A description of the violation. This will be a concise human-readable summary */ description: string; /** * A machine-readable code that identifies the error. This will be a constant value. * Each service defined its own set of error codes. */ reason: string; /** * Optional arguments for error localization. * For each reason, the set of args is fixed and cannot be changed after release. */ args: Record; }; export type BadRequest = { /** The list of field violations that caused the error. */ fieldViolations: BadRequest_FieldViolation[]; }; export type FailedPrecondition = { /** * A machine-readable code that identifies the error. This will be a constant value. * Each service defined its own set of error codes. */ Type: string; /** A human-readable description of the error. This will be a concise summary of the error. */ Description: string; }; export type Common_FailedPreconditions = { type: 'FP_UNSPECIFIED'; description: string; } | { type: 'APPLICATION_IS_MANDATORY'; description: string; } | { type: 'APPLICATION_NOT_FOUND'; description: string; };