diff --git a/sign_in_token.go b/sign_in_token.go index 3739966..dac34b9 100644 --- a/sign_in_token.go +++ b/sign_in_token.go @@ -2,12 +2,12 @@ package clerk type SignInToken struct { APIResource - Object string `json:"object"` - ID string `json:"id"` - Status string `json:"status"` - UserID string `json:"user_id"` - Token string `json:"token,omitempty"` - URL string `json:"url,omitempty"` - CreatedAt int64 `json:"created_at"` - UpdatedAt int64 `json:"updated_at"` + Object string `json:"object"` + ID string `json:"id"` + Status string `json:"status"` + UserID string `json:"user_id"` + Token string `json:"token,omitempty"` + URL *string `json:"url,omitempty"` + CreatedAt int64 `json:"created_at"` + UpdatedAt int64 `json:"updated_at"` } diff --git a/signintokens/api.go b/signintoken/api.go similarity index 96% rename from signintokens/api.go rename to signintoken/api.go index c648685..4eeb74a 100644 --- a/signintokens/api.go +++ b/signintoken/api.go @@ -1,6 +1,6 @@ // Code generated by "gen"; DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. -package signintokens +package signintoken import ( "context" diff --git a/signintokens/client.go b/signintoken/client.go similarity index 90% rename from signintokens/client.go rename to signintoken/client.go index 72372fe..475e16b 100644 --- a/signintokens/client.go +++ b/signintoken/client.go @@ -1,5 +1,5 @@ -// Package session provides the Sign In Token API. -package signintokens +// Package signintoken provides the Sign-In Token API. +package signintoken import ( "context" @@ -12,7 +12,7 @@ import ( const path = "/sign_in_tokens" -// Client is used to invoke the sign-in Token API. +// Client is used to invoke the Sign-In Token API. type Client struct { Backend clerk.Backend } diff --git a/signintokens/sign_in_tokens_test.go b/signintoken/sign_in_tokens_test.go similarity index 98% rename from signintokens/sign_in_tokens_test.go rename to signintoken/sign_in_tokens_test.go index 6555a22..1307661 100644 --- a/signintokens/sign_in_tokens_test.go +++ b/signintoken/sign_in_tokens_test.go @@ -1,4 +1,4 @@ -package signintokens +package signintoken import ( "context"