package
Version:
v0.0.0-...-ef6f028
Opens a new window with list of versions in this module.
Published: Aug 6, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateOrgReq struct {
Name string `json:"name"`
Description string `json:"description"`
Domain string `json:"domain"`
Logo string `json:"logo"`
UserId int64 `json:"-"`
}
CreateOrgReq represent create org request body
type CreateUserReq struct {
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Email string `json:"email"`
Phone string `json:"phone"`
Code string `json:"code"`
}
type InviteUsers struct {
OrgId int64 `json:"-" param:"orgId"`
Emails []string `json:"emails"`
}
type SearchOrgsReq struct {
Limit int64 `query:"limit"`
Page int64 `query:"page"`
Ids []int64
}
type SearchUsersReq struct {
Limit int64 `json:"limit" query:"limit"`
Page int64 `json:"page" query:"page"`
}
type UpdateOrgReq struct {
OrgId int64 `json:"-" param:"orgId"`
Name string `json:"name"`
Description string `json:"description"`
Domain string `json:"domain"`
Logo string `json:"logo"`
}
UpdateOrgReq represent update org request body
type UpdateUserReq struct {
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Phone string `json:"phone"`
Status string `json:"status"`
}
UpdateUserReq represent update org request body
Source Files
¶
Click to show internal directories.
Click to hide internal directories.