Module Cephalopod_models.Com_Atproto_Server_GetAccountInviteCodes

lexicon "com.atproto.server.getAccountInviteCodes"

def main

type main_params = {
  1. includeUsed : bool option;
    (*

    default: true

    *)
  2. createAvailable : bool option;
    (*

    Controls whether any new 'earned' but not 'created' invites should be created. default: true

    *)
}
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : ?includeUsed:bool -> ?createAvailable:bool -> unit -> main_params
val main_params_of_value : main_params Cephalopod_dasl.Value.Util.conv
val main_params_to_value : main_params -> Cephalopod_dasl.Value.t
type main_output = {
  1. codes : Types.com_atproto_server_defs_invitecode list;
}
val show_main_output : main_output -> Ppx_deriving_runtime.string
val main_output_of_value : main_output Cephalopod_dasl.Value.Util.conv
val main_output_to_value : main_output -> Cephalopod_dasl.Value.t
type main_error = [
  1. | `DuplicateCreate
]
val show_main_error : main_error -> Ppx_deriving_runtime.string

Get all invite codes for the current account. Requires auth.