dto

package
v0.0.0-...-4605876 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginInput

type LoginInput struct {
	PhoneNumber string        `json:"phone_number"`
	PIN         string        `json:"pin"`
	Flavour     enums.Flavour `json:"flavour"`
}

LoginInput represents the login input

type LoginResponse

type LoginResponse struct {
	UserProfile *domain.User `json:"user_profile"`
}

LoginResponse represents the login response

type RegisterUserInput

type RegisterUserInput struct {
	IdentificationDocumentNumber string        `json:"identification_number"`
	FirstName                    string        `json:"first_name"`
	MiddleName                   string        `json:"middle_name"`
	LastName                     string        `json:"last_name"`
	PhoneNumber                  string        `json:"phone_number"`
	Flavour                      enums.Flavour `json:"flavour"`
	UserName                     string        `json:"username"`
	DeviceToken                  string        `json:"device_token"`
	Residence                    string        `json:"residence"`
	PIN                          string        `json:"pin"`
	ConfirmPIN                   string        `json:"confirm_pin"`
}

RegisterUserInput represents the register user input

type UserPINInput

type UserPINInput struct {
	UserID     string        `json:"user_id"`
	PIN        string        `json:"pin"`
	ConfirmPIN string        `json:"confirm_pin"`
	Flavour    enums.Flavour `json:"flavour"`
}

UserPINInput represents the user pin input

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL