model

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address added in v1.25.0

type Address struct {
	Line1   *string `json:"line1,omitempty"`
	Line2   *string `json:"line2,omitempty"`
	ZipCode *string `json:"zipCode,omitempty"`
	City    *string `json:"city,omitempty"`
	State   *string `json:"state,omitempty"`
	Country string  `json:"country"`
}

type Metadata added in v1.25.0

type Metadata struct {
	Chave   *string  `json:"chave,omitempty"`
	Bitcoin *string  `json:"bitcoinn,omitempty"`
	Boolean *bool    `json:"boolean,omitempty"`
	Double  *float64 `json:"double,omitempty"`
	Int     *int     `json:"int"`
}

type Organization added in v1.25.0

type Organization struct {
	LegalName            string    `json:"legalName"`
	ParentOrganizationID *string   `json:"parentOrganizationId,omitempty"`
	DoingBusinessAs      string    `json:"doingBusinessAs"`
	LegalDocument        string    `json:"legalDocument"`
	Status               Status    `json:"status"`
	Address              Address   `json:"address"`
	Metadata             *Metadata `json:"metadata,omitempty"`
}

type OrganizationCreate added in v1.25.0

type OrganizationCreate struct {
	ID                   string   `json:"id"`
	ParentOrganizationID string   `json:"parentOrganizationId"`
	LegalName            string   `json:"legalName"`
	DoingBusinessAs      string   `json:"doingBusinessAs"`
	LegalDocument        string   `json:"legalDocument"`
	Address              Address  `json:"address"`
	Status               Status   `json:"status"`
	CreatedAt            string   `json:"createdAt"`
	UpdatedAt            string   `json:"updatedAt"`
	DeletedAt            string   `json:"deletedAt"`
	Metadata             Metadata `json:"metadata"`
}

type OrganizationItem added in v1.25.0

type OrganizationItem struct {
	ID                   string     `json:"id"`
	ParentOrganizationID *string    `json:"parentOrganizationId"`
	LegalName            string     `json:"legalName"`
	DoingBusinessAs      string     `json:"doingBusinessAs"`
	LegalDocument        string     `json:"legalDocument"`
	Address              Address    `json:"address"`
	Status               Status     `json:"status"`
	CreatedAt            time.Time  `json:"createdAt"`
	UpdatedAt            time.Time  `json:"updatedAt"`
	DeletedAt            *time.Time `json:"deletedAt"`
	Metadata             *Metadata  `json:"metadata"`
}

type OrganizationList added in v1.25.0

type OrganizationList struct {
	Items []OrganizationItem `json:"items"`
	Page  int                `json:"page"`
	Limit int                `json:"limit"`
}

type Status added in v1.25.0

type Status struct {
	Code        *string `json:"code,omitempty"`
	Description string  `json:"description"`
}

type TokenResponse

type TokenResponse struct {
	AccessToken  string `json:"access_token"`
	IDToken      string `json:"id_token"`
	RefreshToken string `json:"refresh_token"`
	TokenType    string `json:"token_type"`
	ExpiresIn    int    `json:"expires_in"`
	Scope        string `json:"scope"`
}

Jump to

Keyboard shortcuts

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