This repository has no description
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package tangled
4
5// schema: org.tangled.temp.account.beginSignup
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/lex/util"
11)
12
13const (
14 TempAccountBeginSignupNSID = "org.tangled.temp.account.beginSignup"
15)
16
17// TempAccountBeginSignup_Input is the input argument to a org.tangled.temp.account.beginSignup call.
18type TempAccountBeginSignup_Input struct {
19 // email: Email address for the new account.
20 Email string `json:"email" cborgen:"email"`
21 // turnstileToken: Cloudflare Turnstile challenge response token.
22 TurnstileToken string `json:"turnstileToken" cborgen:"turnstileToken"`
23}
24
25// TempAccountBeginSignup calls the XRPC method "org.tangled.temp.account.beginSignup".
26func TempAccountBeginSignup(ctx context.Context, c util.LexClient, input *TempAccountBeginSignup_Input) error {
27 if err := c.LexDo(ctx, util.Procedure, "application/json", "org.tangled.temp.account.beginSignup", nil, input, nil); err != nil {
28 return err
29 }
30
31 return nil
32}