···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package atproto
44+55+// schema: com.atproto.admin.updateAccountSigningKey
66+77+import (
88+ "context"
99+1010+ "github.com/bluesky-social/indigo/xrpc"
1111+)
1212+1313+// AdminUpdateAccountSigningKey_Input is the input argument to a com.atproto.admin.updateAccountSigningKey call.
1414+type AdminUpdateAccountSigningKey_Input struct {
1515+ Did string `json:"did" cborgen:"did"`
1616+ // signingKey: Did-key formatted public key
1717+ SigningKey string `json:"signingKey" cborgen:"signingKey"`
1818+}
1919+2020+// AdminUpdateAccountSigningKey calls the XRPC method "com.atproto.admin.updateAccountSigningKey".
2121+func AdminUpdateAccountSigningKey(ctx context.Context, c *xrpc.Client, input *AdminUpdateAccountSigningKey_Input) error {
2222+ if err := c.Do(ctx, xrpc.Procedure, "application/json", "com.atproto.admin.updateAccountSigningKey", nil, input, nil); err != nil {
2323+ return err
2424+ }
2525+2626+ return nil
2727+}
+1-5
api/atproto/repolistRecords.go
···3030// limit: The number of records to return.
3131// repo: The handle or DID of the repo.
3232// reverse: Flag to reverse the order of the returned records.
3333-// rkeyEnd: DEPRECATED: The highest sort-ordered rkey to stop at (exclusive)
3434-// rkeyStart: DEPRECATED: The lowest sort-ordered rkey to start from (exclusive)
3535-func RepoListRecords(ctx context.Context, c *xrpc.Client, collection string, cursor string, limit int64, repo string, reverse bool, rkeyEnd string, rkeyStart string) (*RepoListRecords_Output, error) {
3333+func RepoListRecords(ctx context.Context, c *xrpc.Client, collection string, cursor string, limit int64, repo string, reverse bool) (*RepoListRecords_Output, error) {
3634 var out RepoListRecords_Output
37353836 params := map[string]interface{}{
···4139 "limit": limit,
4240 "repo": repo,
4341 "reverse": reverse,
4444- "rkeyEnd": rkeyEnd,
4545- "rkeyStart": rkeyStart,
4642 }
4743 if err := c.Do(ctx, xrpc.Query, "", "com.atproto.repo.listRecords", params, nil, &out); err != nil {
4844 return nil, err
+1-3
api/atproto/syncgetRecord.go
···13131414// SyncGetRecord calls the XRPC method "com.atproto.sync.getRecord".
1515//
1616-// commit: DEPRECATED: referenced a repo commit by CID, and retrieved record as of that commit
1716// did: The DID of the repo.
1817// rkey: Record Key
1919-func SyncGetRecord(ctx context.Context, c *xrpc.Client, collection string, commit string, did string, rkey string) ([]byte, error) {
1818+func SyncGetRecord(ctx context.Context, c *xrpc.Client, collection string, did string, rkey string) ([]byte, error) {
2019 buf := new(bytes.Buffer)
21202221 params := map[string]interface{}{
2322 "collection": collection,
2424- "commit": commit,
2523 "did": did,
2624 "rkey": rkey,
2725 }