model

package
v1.27.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 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 LedgerCreate added in v1.26.0

type LedgerCreate struct {
	ID             string         `json:"id,omitempty"`
	Name           string         `json:"name,omitempty"`
	OrganizationID string         `json:"organizationId,omitempty"`
	Status         LedgerStatus   `json:"status,omitempty"`
	CreatedAt      time.Time      `json:"createdAt,omitempty"`
	UpdatedAt      time.Time      `json:"updatedAt,omitempty"`
	DeletedAt      time.Time      `json:"deletedAt,omitempty"`
	Metadata       LedgerMetadata `json:"metadata,omitempty"`
}

type LedgerInput added in v1.26.0

type LedgerInput struct {
	Name     string          `json:"name,omitempty"`
	Status   *LedgerStatus   `json:"status,omitempty"`
	Metadata *LedgerMetadata `json:"metadata,omitempty"`
}

type LedgerItems added in v1.26.0

type LedgerItems struct {
	ID             string          `json:"id"`
	Name           string          `json:"name"`
	OrganizationID string          `json:"organizationId"`
	Status         *LedgerStatus   `json:"status"`
	CreatedAt      time.Time       `json:"createdAt"`
	UpdatedAt      time.Time       `json:"updatedAt"`
	DeletedAt      *time.Time      `json:"deletedAt"`
	Metadata       *LedgerMetadata `json:"metadata,omitempty"`
}

type LedgerList added in v1.26.0

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

type LedgerMetadata added in v1.26.0

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

type LedgerStatus added in v1.26.0

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

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 OrganizationUpdate added in v1.26.0

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

type Status added in v1.25.0

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

type StatusUpdate added in v1.26.0

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

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