entity

package
v0.0.0-...-3f6ba92 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package entity contains Go data types representing the Upwork GraphQL API entity model.

All types are designed for JSON (de)serialization from GQL API responses and SQL (de)serialization via database reader/scanner interfaces.

Conventions:

  • Nullable fields use pointer types
  • Required fields (marked as ! in the schema) use non-pointer types
  • No omitempty on JSON tags — all fields are always present
  • Field names match documentation entity names exactly
  • Enums are Go string types with typed constants

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptVendorInvitationResponse

type AcceptVendorInvitationResponse struct {
	ProposalUid *ID `json:"proposalUid"`
}

AcceptVendorInvitationResponse represents the response type for vendor invitation acceptance.

func (*AcceptVendorInvitationResponse) Scan

Scan implements sql.Scanner for AcceptVendorInvitationResponse, decoding a JSON column value.

func (AcceptVendorInvitationResponse) Value

Value implements driver.Valuer for AcceptVendorInvitationResponse, encoding it as a JSON string.

type AccessRestictionReason

type AccessRestictionReason string

AccessRestictionReason represents reasons why access is restricted for a user.

const (
	AccessRestictionReasonRolesMismatch  AccessRestictionReason = "ROLES_MISMATCH"
	AccessRestictionReasonSuspension     AccessRestictionReason = "SUSPENSION"
	AccessRestictionReasonMonetization   AccessRestictionReason = "MONETIZATION"
	AccessRestictionReasonActionDntExist AccessRestictionReason = "ACTION_DOESNT_EXIST"
	AccessRestictionReasonOrganization   AccessRestictionReason = "ORGANIZATION"
)

type AccessType

type AccessType string

AccessType represents access type for job posting visibility.

const (
	AccessTypePublicIndex AccessType = "PUBLIC_INDEX"
	AccessTypePublic      AccessType = "ACCESS_PUBLIC"
	AccessTypePrivate     AccessType = "ACCESS_PRIVATE"
)

type AccountAuditRecord

type AccountAuditRecord struct {
	ProcessInstanceId ID                 `json:"processInstanceId"`
	Status            *String            `json:"status"`
	Metadata          []StringMapElement `json:"metadata"`
}

AccountAuditRecord represents an account audit record.

func (*AccountAuditRecord) Scan

func (x *AccountAuditRecord) Scan(src any) error

Scan implements sql.Scanner for AccountAuditRecord, decoding a JSON column value.

func (AccountAuditRecord) Value

func (x AccountAuditRecord) Value() (driver.Value, error)

Value implements driver.Valuer for AccountAuditRecord, encoding it as a JSON string.

type AccountProcessInstance

type AccountProcessInstance struct {
	ID      ID      `json:"id"`
	Success Boolean `json:"success"`
}

AccountProcessInstance represents an account process instance.

func (*AccountProcessInstance) Scan

func (x *AccountProcessInstance) Scan(src any) error

Scan implements sql.Scanner for AccountProcessInstance, decoding a JSON column value.

func (AccountProcessInstance) Value

Value implements driver.Valuer for AccountProcessInstance, encoding it as a JSON string.

type AccountingEntity

type AccountingEntity struct {
	ID ID `json:"id"`
}

AccountingEntity represents an account entity.

func (*AccountingEntity) Scan

func (x *AccountingEntity) Scan(src any) error

Scan implements sql.Scanner for AccountingEntity, decoding a JSON column value.

func (AccountingEntity) Value

func (x AccountingEntity) Value() (driver.Value, error)

Value implements driver.Valuer for AccountingEntity, encoding it as a JSON string.

type ActivitiesConnection

type ActivitiesConnection struct {
	TotalCount *Int            `json:"totalCount"`
	Edges      []*ActivityEdge `json:"edges"`
	Page       *Page           `json:"page"`
}

ActivitiesConnection represents a paginated collection of activities.

func (*ActivitiesConnection) Scan

func (x *ActivitiesConnection) Scan(src any) error

Scan implements sql.Scanner for ActivitiesConnection, decoding a JSON column value.

func (ActivitiesConnection) Value

func (x ActivitiesConnection) Value() (driver.Value, error)

Value implements driver.Valuer for ActivitiesConnection, encoding it as a JSON string.

type Activity

type Activity struct {
	TotalContracts Int                 `json:"totalContracts"`
	URL            *String             `json:"url"`
	CodeOrder      *String             `json:"codeOrder"`
	Status         String              `json:"status"`
	Level          *String             `json:"level"`
	Contracts      []*ActivityContract `json:"contracts"`
	UserId         *ID                 `json:"userId"`
	Code           String              `json:"code"`
	CreatedTime    *String             `json:"createdTime"`
	CompanyId      *String             `json:"companyId"`
	RecordId       ID                  `json:"recordId"`
	TeamId         *ID                 `json:"teamId"`
	Description    *String             `json:"description"`
}

Activity represents a task/activity available for time tracking.

func (*Activity) Scan

func (x *Activity) Scan(src any) error

Scan implements sql.Scanner for Activity, decoding a JSON column value.

func (Activity) Value

func (x Activity) Value() (driver.Value, error)

Value implements driver.Valuer for Activity, encoding it as a JSON string.

type ActivityContract

type ActivityContract struct {
	ContractId ID `json:"contractId"`
}

ActivityContract represents a link between an activity and a contract.

func (*ActivityContract) Scan

func (x *ActivityContract) Scan(src any) error

Scan implements sql.Scanner for ActivityContract, decoding a JSON column value.

func (ActivityContract) Value

func (x ActivityContract) Value() (driver.Value, error)

Value implements driver.Valuer for ActivityContract, encoding it as a JSON string.

type ActivityEdge

type ActivityEdge struct {
	Node *Activity `json:"node"`
}

ActivityEdge represents an edge wrapper containing an activity node for pagination.

func (*ActivityEdge) Scan

func (x *ActivityEdge) Scan(src any) error

Scan implements sql.Scanner for ActivityEdge, decoding a JSON column value.

func (ActivityEdge) Value

func (x ActivityEdge) Value() (driver.Value, error)

Value implements driver.Valuer for ActivityEdge, encoding it as a JSON string.

type Actor

type Actor struct {
	User      ID         `json:"user"`
	Team      *ID        `json:"team"`
	ActorType *ActorType `json:"actorType"`
}

Actor represents an actor in the offer workflow.

func (*Actor) Scan

func (x *Actor) Scan(src any) error

Scan implements sql.Scanner for Actor, decoding a JSON column value.

func (Actor) Value

func (x Actor) Value() (driver.Value, error)

Value implements driver.Valuer for Actor, encoding it as a JSON string.

type ActorType

type ActorType string

ActorType represents actor type in offer workflow.

const (
	ActorTypeSystem        ActorType = "System"
	ActorTypeAgencyManager ActorType = "AgencyManager"
	ActorTypeHiringManager ActorType = "HiringManager"
	ActorTypeContactPerson ActorType = "ContactPerson"
)

type AgencyDetails

type AgencyDetails struct {
	Vetted             *Boolean `json:"vetted"`
	TopRatedStatus     *String  `json:"topRatedStatus"`
	TopRatedPlusStatus *String  `json:"topRatedPlusStatus"`
}

AgencyDetails contains agency-specific information.

func (*AgencyDetails) Scan

func (x *AgencyDetails) Scan(src any) error

Scan implements sql.Scanner for AgencyDetails, decoding a JSON column value.

func (AgencyDetails) Value

func (x AgencyDetails) Value() (driver.Value, error)

Value implements driver.Valuer for AgencyDetails, encoding it as a JSON string.

type AgreementKind

type AgreementKind string

AgreementKind represents agreement kind.

const (
	AgreementKindOffer    AgreementKind = "Offer"
	AgreementKindContract AgreementKind = "Contract"
)

type ApplicationsBidStats

type ApplicationsBidStats struct {
	AvgRateBid            *Money `json:"avgRateBid"`
	MinRateBid            *Money `json:"minRateBid"`
	MaxRateBid            *Money `json:"maxRateBid"`
	AvgInterviewedRateBid *Money `json:"avgInterviewedRateBid"`
}

ApplicationsBidStats represents statistics of bids on a job posting.

func (*ApplicationsBidStats) Scan

func (x *ApplicationsBidStats) Scan(src any) error

Scan implements sql.Scanner for ApplicationsBidStats, decoding a JSON column value.

func (ApplicationsBidStats) Value

func (x ApplicationsBidStats) Value() (driver.Value, error)

Value implements driver.Valuer for ApplicationsBidStats, encoding it as a JSON string.

type Area

type Area struct {
	ID       ID        `json:"id"`
	AreaType *AreaType `json:"areaType"`
	Name     *String   `json:"name"`
}

Area represents a geographic area element.

func (*Area) Scan

func (x *Area) Scan(src any) error

Scan implements sql.Scanner for Area, decoding a JSON column value.

func (Area) Value

func (x Area) Value() (driver.Value, error)

Value implements driver.Valuer for Area, encoding it as a JSON string.

type AreaType

type AreaType string

AreaType represents geographic area type.

const (
	AreaTypeCity       AreaType = "CITY"
	AreaTypeArea       AreaType = "AREA"
	AreaTypePostalCode AreaType = "POSTAL_CODE"
)

type AuditTime

type AuditTime struct {
	CreatedDateTime  *String `json:"createdDateTime"`
	ModifiedDateTime *String `json:"modifiedDateTime"`
}

AuditTime contains creation and modification timestamps.

func (*AuditTime) Scan

func (x *AuditTime) Scan(src any) error

Scan implements sql.Scanner for AuditTime, decoding a JSON column value.

func (AuditTime) Value

func (x AuditTime) Value() (driver.Value, error)

Value implements driver.Valuer for AuditTime, encoding it as a JSON string.

type AutoReviewStatus

type AutoReviewStatus string

AutoReviewStatus represents auto review status for job postings.

const (
	AutoReviewStatusApproved AutoReviewStatus = "APPROVED"
	AutoReviewStatusRejected AutoReviewStatus = "REJECTED"
	AutoReviewStatusInReview AutoReviewStatus = "IN_REVIEW"
)

type AvailabilitySource

type AvailabilitySource string

AvailabilitySource represents sources of availability updates for a freelancer.

const (
	AvailabilitySourceStAssgnE   AvailabilitySource = "st_assgn_e"
	AvailabilitySourceEndassgnE  AvailabilitySource = "endassgn_e"
	AvailabilitySourceMIgnoreE   AvailabilitySource = "m_ignore_e"
	AvailabilitySourceAIgnoreE   AvailabilitySource = "a_ignore_e"
	AvailabilitySourceOnboarding AvailabilitySource = "onboarding"
	AvailabilitySourceFwhUi      AvailabilitySource = "fwh_ui"
	AvailabilitySourceProfileUi  AvailabilitySource = "profile_ui"
	AvailabilitySourceUiTobusy   AvailabilitySource = "ui_tobusy"
	AvailabilitySourceAutomatic  AvailabilitySource = "automatic"
	AvailabilitySourceManual     AvailabilitySource = "manual"
)

type AvailableScope

type AvailableScope string

AvailableScope represents scope availability levels for GraphQL fields and types.

const (
	AvailableScopeInternal   AvailableScope = "INTERNAL"
	AvailableScopePublic     AvailableScope = "PUBLIC"
	AvailableScopeEnterprise AvailableScope = "ENTERPRISE"
	AvailableScopePCT        AvailableScope = "PCT"
	AvailableScopeLifted     AvailableScope = "LIFTED"
	AvailableScopePublicMCP  AvailableScope = "PUBLIC_MCP"
)

type BatchAssignmentOptions

type BatchAssignmentOptions string

BatchAssignmentOptions represents assignment scope options for activities.

const (
	BatchAssignmentOptionsSelectedContracts BatchAssignmentOptions = "selectedContracts"
	BatchAssignmentOptionsAllInOrg          BatchAssignmentOptions = "allInOrg"
	BatchAssignmentOptionsAllInTopLevelOrg  BatchAssignmentOptions = "allInTopLevelOrg"
	BatchAssignmentOptionsAllInMyOrgs       BatchAssignmentOptions = "allInMyOrgs"
)

type Bid

type Bid struct {
	ID          ID      `json:"id"`
	Amount      *Int    `json:"amount"`
	CreatedTime *String `json:"createdTime"`
}

Bid represents all bid properties.

func (*Bid) Scan

func (x *Bid) Scan(src any) error

Scan implements sql.Scanner for Bid, decoding a JSON column value.

func (Bid) Value

func (x Bid) Value() (driver.Value, error)

Value implements driver.Valuer for Bid, encoding it as a JSON string.

type BidList

type BidList struct {
	Bids   []*Bid `json:"bids"`
	Limit  *Int   `json:"limit"`
	Offset *Int   `json:"offset"`
}

BidList represents a paginated collection of bids.

func (*BidList) Scan

func (x *BidList) Scan(src any) error

Scan implements sql.Scanner for BidList, decoding a JSON column value.

func (BidList) Value

func (x BidList) Value() (driver.Value, error)

Value implements driver.Valuer for BidList, encoding it as a JSON string.

type BillRate

type BillRate struct {
	ID       ID     `json:"id"`
	Value    Float  `json:"value"`
	Code     String `json:"code"`
	OfferRef ID     `json:"offerRef"`
}

BillRate represents billing rate information for a time report.

func (*BillRate) Scan

func (x *BillRate) Scan(src any) error

Scan implements sql.Scanner for BillRate, decoding a JSON column value.

BillRate has its own Value field, so it cannot also implement driver.Valuer (Go disallows a method and field sharing a name); use valueJSON(x) directly when writing this type to a database column.

type BillingType

type BillingType string

BillingType represents billing relationship type for organizations.

const (
	BillingTypeBill            BillingType = "BILL"
	BillingTypeManagedEmployer BillingType = "MANAGED_EMPLOYER"
	BillingTypeManagedServices BillingType = "MANAGED_SERVICES"
)

type Boolean

type Boolean = bool

Boolean represents a GraphQL Boolean scalar.

type BuyerWorkHistoryFeedback

type BuyerWorkHistoryFeedback struct {
	Comment            *String  `json:"comment"`
	FeedbackSuppressed *Boolean `json:"feedbackSuppressed"`
	Score              *Float   `json:"score"`
}

BuyerWorkHistoryFeedback represents feedback given as part of a client's work history.

func (*BuyerWorkHistoryFeedback) Scan

func (x *BuyerWorkHistoryFeedback) Scan(src any) error

Scan implements sql.Scanner for BuyerWorkHistoryFeedback, decoding a JSON column value.

func (BuyerWorkHistoryFeedback) Value

Value implements driver.Valuer for BuyerWorkHistoryFeedback, encoding it as a JSON string.

type BuyerWorkHistoryItem

type BuyerWorkHistoryItem struct {
	ContractorInfo   *ContractorInfo           `json:"contractorInfo"`
	EndDate          *String                   `json:"endDate"`
	Feedback         *BuyerWorkHistoryFeedback `json:"feedback"`
	FeedbackToClient *BuyerWorkHistoryFeedback `json:"feedbackToClient"`
	JobInfo          *BuyerWorkHistoryJobInfo  `json:"jobInfo"`
	Rate             *JobDetailsMoney          `json:"rate"`
	StartDate        *String                   `json:"startDate"`
	Status           *JobOpeningStatus         `json:"status"`
	TotalCharge      *Float                    `json:"totalCharge"`
	TotalHours       *Float                    `json:"totalHours"`
}

BuyerWorkHistoryItem represents a client's work history item.

func (*BuyerWorkHistoryItem) Scan

func (x *BuyerWorkHistoryItem) Scan(src any) error

Scan implements sql.Scanner for BuyerWorkHistoryItem, decoding a JSON column value.

func (BuyerWorkHistoryItem) Value

func (x BuyerWorkHistoryItem) Value() (driver.Value, error)

Value implements driver.Valuer for BuyerWorkHistoryItem, encoding it as a JSON string.

type BuyerWorkHistoryJobInfo

type BuyerWorkHistoryJobInfo struct {
	Title *String       `json:"title"`
	Type  *ContractType `json:"type"`
}

BuyerWorkHistoryJobInfo represents job information as part of a client's work history.

func (*BuyerWorkHistoryJobInfo) Scan

func (x *BuyerWorkHistoryJobInfo) Scan(src any) error

Scan implements sql.Scanner for BuyerWorkHistoryJobInfo, decoding a JSON column value.

func (BuyerWorkHistoryJobInfo) Value

Value implements driver.Valuer for BuyerWorkHistoryJobInfo, encoding it as a JSON string.

type CategoryServicesResponse

type CategoryServicesResponse struct {
	Categories       []*Occupation          `json:"categories"`
	CategoryServices []*StringMapOccupation `json:"categoryServices"`
}

CategoryServicesResponse represents category occupations and their associated services.

func (*CategoryServicesResponse) Scan

func (x *CategoryServicesResponse) Scan(src any) error

Scan implements sql.Scanner for CategoryServicesResponse, decoding a JSON column value.

func (CategoryServicesResponse) Value

Value implements driver.Valuer for CategoryServicesResponse, encoding it as a JSON string.

type Cell

type Cell struct {
	Timestamp Int     `json:"timestamp"`
	Date      String  `json:"date"`
	Manual    Boolean `json:"manual"`
	Overtime  Boolean `json:"overtime"`
	Memo      *String `json:"memo"`
}

Cell represents an individual time tracking cell representing a 10-minute work segment.

func (*Cell) Scan

func (x *Cell) Scan(src any) error

Scan implements sql.Scanner for Cell, decoding a JSON column value.

func (Cell) Value

func (x Cell) Value() (driver.Value, error)

Value implements driver.Valuer for Cell, encoding it as a JSON string.

type ClientActiveInvitationStatusFilter

type ClientActiveInvitationStatusFilter string

ClientActiveInvitationStatusFilter represents active invitation status filter values.

const (
	ClientActiveInvitationStatusFilterDrafted   ClientActiveInvitationStatusFilter = "Drafted"
	ClientActiveInvitationStatusFilterCreated   ClientActiveInvitationStatusFilter = "Created"
	ClientActiveInvitationStatusFilterPublished ClientActiveInvitationStatusFilter = "Published"
)

type ClientFeedback

type ClientFeedback struct {
	Score              *Float  `json:"score"`
	Comment            *String `json:"comment"`
	FreelancerResponse *String `json:"freelancerResponse"`
}

ClientFeedback represents client's feedback details.

func (*ClientFeedback) Scan

func (x *ClientFeedback) Scan(src any) error

Scan implements sql.Scanner for ClientFeedback, decoding a JSON column value.

func (ClientFeedback) Value

func (x ClientFeedback) Value() (driver.Value, error)

Value implements driver.Valuer for ClientFeedback, encoding it as a JSON string.

type ClientInvitation

type ClientInvitation struct {
	ID                ID                                 `json:"id"`
	Client            *ClientInvitationParticipant       `json:"client"`
	Freelancer        *ClientInvitationParticipant       `json:"freelancer"`
	JobPosting        JobPosting                         `json:"jobPosting"`
	InvitationLetter  *String                            `json:"invitationLetter"`
	InviteAttempt     *Int                               `json:"inviteAttempt"`
	Context           *ClientInvitationContext           `json:"context"`
	StatusDetails     *ClientInvitationStatusDetails     `json:"statusDetails"`
	AcceptanceDetails *ClientInvitationAcceptanceDetails `json:"acceptanceDetails"`
	AdditionalInfo    *ClientInvitationAdditionalInfo    `json:"additionalInfo"`
}

func (*ClientInvitation) Scan

func (x *ClientInvitation) Scan(src any) error

Scan implements sql.Scanner for ClientInvitation, decoding a JSON column value.

func (ClientInvitation) Value

func (x ClientInvitation) Value() (driver.Value, error)

Value implements driver.Valuer for ClientInvitation, encoding it as a JSON string.

type ClientInvitationAcceptanceContext

type ClientInvitationAcceptanceContext struct {
	Organization     GenericOrganization      `json:"organization"`
	Context          *ClientInvitationContext `json:"context"`
	AcceptedBy       GenericUser              `json:"acceptedBy"`
	AcceptedDateTime String                   `json:"acceptedDateTime"`
}

func (*ClientInvitationAcceptanceContext) Scan

Scan implements sql.Scanner for ClientInvitationAcceptanceContext, decoding a JSON column value.

func (ClientInvitationAcceptanceContext) Value

Value implements driver.Valuer for ClientInvitationAcceptanceContext, encoding it as a JSON string.

type ClientInvitationAcceptanceDetails

type ClientInvitationAcceptanceDetails struct {
	BidAmount             *Money                             `json:"bidAmount"`
	Duration              *String                            `json:"duration"`
	UpfrontPaymentPercent *Float                             `json:"upfrontPaymentPercent"`
	MilestonesGroupId     *ID                                `json:"milestonesGroupId"`
	Attachments           []String                           `json:"attachments"`
	CoverLetter           *String                            `json:"coverLetter"`
	Room                  *Room                              `json:"room"`
	JobProposal           *VendorProposal                    `json:"jobProposal"`
	QuestionsAnswers      []*ProposalQuestionAnswer          `json:"questionsAnswers"`
	Occupation            *Occupation                        `json:"occupation"`
	AcceptanceContext     *ClientInvitationAcceptanceContext `json:"acceptanceContext"`
	Portfolios            []*InvitationPortfolio             `json:"portfolios"`
}

func (*ClientInvitationAcceptanceDetails) Scan

Scan implements sql.Scanner for ClientInvitationAcceptanceDetails, decoding a JSON column value.

func (ClientInvitationAcceptanceDetails) Value

Value implements driver.Valuer for ClientInvitationAcceptanceDetails, encoding it as a JSON string.

type ClientInvitationActor

type ClientInvitationActor string

ClientInvitationActor represents the actor type in a client invitation.

const (
	ClientInvitationActorClient ClientInvitationActor = "Client"
	ClientInvitationActorVendor ClientInvitationActor = "Vendor"
	ClientInvitationActorSystem ClientInvitationActor = "System"
	ClientInvitationActorOBO    ClientInvitationActor = "OBO"
)

type ClientInvitationAdditionalInfo

type ClientInvitationAdditionalInfo struct {
	SuppressEmail      *Boolean `json:"suppressEmail"`
	Referred           *Boolean `json:"referred"`
	InvitedByRecruiter *Boolean `json:"invitedByRecruiter"`
	Viewed             *Boolean `json:"viewed"`
}

func (*ClientInvitationAdditionalInfo) Scan

Scan implements sql.Scanner for ClientInvitationAdditionalInfo, decoding a JSON column value.

func (ClientInvitationAdditionalInfo) Value

Value implements driver.Valuer for ClientInvitationAdditionalInfo, encoding it as a JSON string.

type ClientInvitationChangeReason

type ClientInvitationChangeReason struct {
	ID         *ID     `json:"id"`
	Reason     *String `json:"reason"`
	ReasonText *String `json:"reasonText"`
	Message    *String `json:"message"`
}

func (*ClientInvitationChangeReason) Scan

func (x *ClientInvitationChangeReason) Scan(src any) error

Scan implements sql.Scanner for ClientInvitationChangeReason, decoding a JSON column value.

func (ClientInvitationChangeReason) Value

Value implements driver.Valuer for ClientInvitationChangeReason, encoding it as a JSON string.

type ClientInvitationConnection

type ClientInvitationConnection struct {
	TotalCount *Int                    `json:"totalCount"`
	Edges      []*ClientInvitationEdge `json:"edges"`
	PageInfo   *PageInfo               `json:"pageInfo"`
}

func (*ClientInvitationConnection) Scan

func (x *ClientInvitationConnection) Scan(src any) error

Scan implements sql.Scanner for ClientInvitationConnection, decoding a JSON column value.

func (ClientInvitationConnection) Value

Value implements driver.Valuer for ClientInvitationConnection, encoding it as a JSON string.

type ClientInvitationContext

type ClientInvitationContext string

ClientInvitationContext represents the context of a client invitation.

const (
	ClientInvitationContextFreelancer ClientInvitationContext = "Freelancer"
	ClientInvitationContextAgency     ClientInvitationContext = "Agency"
)

type ClientInvitationEdge

type ClientInvitationEdge struct {
	Node *ClientInvitation `json:"node"`
}

func (*ClientInvitationEdge) Scan

func (x *ClientInvitationEdge) Scan(src any) error

Scan implements sql.Scanner for ClientInvitationEdge, decoding a JSON column value.

func (ClientInvitationEdge) Value

func (x ClientInvitationEdge) Value() (driver.Value, error)

Value implements driver.Valuer for ClientInvitationEdge, encoding it as a JSON string.

type ClientInvitationParticipant

type ClientInvitationParticipant struct {
	UserId               *ID                    `json:"userId"`
	ParentOrganizationId *ID                    `json:"parentOrganizationId"`
	SubOrganizationId    *ID                    `json:"subOrganizationId"`
	Type                 *ClientInvitationActor `json:"type"`
}

func (*ClientInvitationParticipant) Scan

func (x *ClientInvitationParticipant) Scan(src any) error

Scan implements sql.Scanner for ClientInvitationParticipant, decoding a JSON column value.

func (ClientInvitationParticipant) Value

Value implements driver.Valuer for ClientInvitationParticipant, encoding it as a JSON string.

type ClientInvitationStatus

type ClientInvitationStatus string

ClientInvitationStatus represents the status of a client invitation.

const (
	ClientInvitationStatusDrafted   ClientInvitationStatus = "Drafted"
	ClientInvitationStatusInvalid   ClientInvitationStatus = "Invalid"
	ClientInvitationStatusCreated   ClientInvitationStatus = "Created"
	ClientInvitationStatusRejected  ClientInvitationStatus = "Rejected"
	ClientInvitationStatusArchived  ClientInvitationStatus = "Archived"
	ClientInvitationStatusPending   ClientInvitationStatus = "Pending"
	ClientInvitationStatusWithdrawn ClientInvitationStatus = "Withdrawn"
	ClientInvitationStatusDeclined  ClientInvitationStatus = "Declined"
	ClientInvitationStatusAccepted  ClientInvitationStatus = "Accepted"
)

type ClientInvitationStatusDetails

type ClientInvitationStatusDetails struct {
	Status                 *ClientInvitationStatus       `json:"status"`
	LastStatusChangeReason *ClientInvitationChangeReason `json:"lastStatusChangeReason"`
}

func (*ClientInvitationStatusDetails) Scan

Scan implements sql.Scanner for ClientInvitationStatusDetails, decoding a JSON column value.

func (ClientInvitationStatusDetails) Value

Value implements driver.Valuer for ClientInvitationStatusDetails, encoding it as a JSON string.

type ClientProposal

type ClientProposal struct {
	ID           ID                         `json:"id"`
	User         GenericUser                `json:"user"`
	Organization GenericOrganization        `json:"organization"`
	Job          MarketplaceJobPosting      `json:"job"`
	Room         *Room                      `json:"room"`
	Terms        *ProposalTerms             `json:"terms"`
	CoverLetter  *String                    `json:"coverLetter"`
	Attachments  []*ProposalAttachment      `json:"attachments"`
	ProjectPlan  *ProposalProjectPlan       `json:"projectPlan"`
	AuditDetails ProposalAuditDetails       `json:"auditDetails"`
	Status       ClientProposalStatus       `json:"status"`
	Annotations  []ClientProposalAnnotation `json:"annotations"`
}

func (*ClientProposal) Scan

func (x *ClientProposal) Scan(src any) error

Scan implements sql.Scanner for ClientProposal, decoding a JSON column value.

func (ClientProposal) Value

func (x ClientProposal) Value() (driver.Value, error)

Value implements driver.Valuer for ClientProposal, encoding it as a JSON string.

type ClientProposalAnnotation

type ClientProposalAnnotation string

ClientProposalAnnotation represents annotation tags for client proposals.

const (
	ClientProposalAnnotationRecommended   ClientProposalAnnotation = "Recommended"
	ClientProposalAnnotationShortlisted   ClientProposalAnnotation = "Shortlisted"
	ClientProposalAnnotationAutoHidden    ClientProposalAnnotation = "Auto_Hidden"
	ClientProposalAnnotationRead          ClientProposalAnnotation = "Read"
	ClientProposalAnnotationHidden        ClientProposalAnnotation = "Hidden"
	ClientProposalAnnotationAiRecommended ClientProposalAnnotation = "AiRecommended"
	ClientProposalAnnotationSponsored     ClientProposalAnnotation = "Sponsored"
)

type ClientProposalEarnedAmount

type ClientProposalEarnedAmount string

ClientProposalEarnedAmount represents freelancer earnings amount filter options.

const (
	ClientProposalEarnedAmountAnyAmountEarned ClientProposalEarnedAmount = "ANY_AMOUNT_EARNED"
	ClientProposalEarnedAmountDollar1Plus     ClientProposalEarnedAmount = "DOLLOR_1_PLUS_EARNED"
	ClientProposalEarnedAmountDollar100Plus   ClientProposalEarnedAmount = "DOLLOR_100_PLUS_EARNED"
	ClientProposalEarnedAmountDollar1KPlus    ClientProposalEarnedAmount = "DOLLOR_1K_PLUS_EARNED"
	ClientProposalEarnedAmountDollar10KPlus   ClientProposalEarnedAmount = "DOLLOR_10K_PLUS_EARNED"
	ClientProposalEarnedAmountNoEarnings      ClientProposalEarnedAmount = "NO_EARNINGS_YET"
)

type ClientProposalEnglishProficiency

type ClientProposalEnglishProficiency string

ClientProposalEnglishProficiency represents English proficiency level filter options.

const (
	ClientProposalEnglishProficiencyAnyLevel          ClientProposalEnglishProficiency = "ANY_LEVEL"
	ClientProposalEnglishProficiencyBasic             ClientProposalEnglishProficiency = "BASIC"
	ClientProposalEnglishProficiencyConversational    ClientProposalEnglishProficiency = "CONVERSATIONAL"
	ClientProposalEnglishProficiencyFluent            ClientProposalEnglishProficiency = "FLUENT"
	ClientProposalEnglishProficiencyNativeOrBilingual ClientProposalEnglishProficiency = "NATIVE_OR_BILINGUAL"
)

type ClientProposalHourlyRate

type ClientProposalHourlyRate string

ClientProposalHourlyRate represents freelancer hourly rate filter options.

const (
	ClientProposalHourlyRateAnyHourlyRate ClientProposalHourlyRate = "ANY_HOURLY_RATE"
	ClientProposalHourlyRateDollar10Below ClientProposalHourlyRate = "DOLLOR_10_AND_BELOW"
	ClientProposalHourlyRateDollar10To30  ClientProposalHourlyRate = "DOLLOR_10_TO_30"
	ClientProposalHourlyRateDollar30To60  ClientProposalHourlyRate = "DOLLOR_30_TO_60"
	ClientProposalHourlyRateDollar60Above ClientProposalHourlyRate = "DOLLOR_60_AND_ABOVE"
)

type ClientProposalHoursBilled

type ClientProposalHoursBilled string

ClientProposalHoursBilled represents freelancer hours billed filter options.

const (
	ClientProposalHoursBilledAnyHours     ClientProposalHoursBilled = "ANY_HOURS"
	ClientProposalHoursBilledOnePlus      ClientProposalHoursBilled = "ONE_PLUS_HOURS_BILLED"
	ClientProposalHoursBilledHundredPlus  ClientProposalHoursBilled = "HUNDRED_PLUS_HOURS_BILLED"
	ClientProposalHoursBilledThousandPlus ClientProposalHoursBilled = "THOUSAND_PLUS_HOURS_BILLED"
)

type ClientProposalJobSuccessScore

type ClientProposalJobSuccessScore string

ClientProposalJobSuccessScore represents job success score filter options.

const (
	ClientProposalJobSuccessScoreAnyJobSuccess ClientProposalJobSuccessScore = "ANY_JOB_SUCCESS"
	ClientProposalJobSuccessScore80AndAbove    ClientProposalJobSuccessScore = "PERCENTACE_80_AND_ABOVE"
	ClientProposalJobSuccessScore90AndAbove    ClientProposalJobSuccessScore = "PERCENTAGE_90_AND_ABOVE"
)

type ClientProposalJobSuccessSocre

type ClientProposalJobSuccessSocre string

ClientProposalJobSuccessSocre represents job success score filter options.

const (
	ClientProposalJobSuccessSocreAnyJobSuccess        ClientProposalJobSuccessSocre = "ANY_JOB_SUCCESS"
	ClientProposalJobSuccessSocrePercentace80AndAbove ClientProposalJobSuccessSocre = "PERCENTACE_80_AND_ABOVE"
	ClientProposalJobSuccessSocrePercentage90AndAbove ClientProposalJobSuccessSocre = "PERCENTAGE_90_AND_ABOVE"
)

type ClientProposalLastActivity

type ClientProposalLastActivity string

ClientProposalLastActivity represents freelancer last activity period filter options.

const (
	ClientProposalLastActivityAnyTime       ClientProposalLastActivity = "ANY_TIME"
	ClientProposalLastActivityWithin2Weeks  ClientProposalLastActivity = "WITHIN_2_WEEKS"
	ClientProposalLastActivityWithin1Month  ClientProposalLastActivity = "WITHIN_1_MONTH"
	ClientProposalLastActivityWithin2Months ClientProposalLastActivity = "WITHIN_2_MONTHS"
)

type ClientProposalRatedType

type ClientProposalRatedType string

ClientProposalRatedType represents freelancer rating tier filter options.

const (
	ClientProposalRatedTypeTopRated     ClientProposalRatedType = "TOP_RATED"
	ClientProposalRatedTypeNonTopRated  ClientProposalRatedType = "NON_TOP_RATED"
	ClientProposalRatedTypeHiPo         ClientProposalRatedType = "HIPO"
	ClientProposalRatedTypeTopRatedPlus ClientProposalRatedType = "TOP_RATED_PLUS"
)

type ClientProposalSortAttributeType

type ClientProposalSortAttributeType string

ClientProposalSortAttributeType represents sortable attributes for client proposals.

const (
	ClientProposalSortAttributeTypeChargerate       ClientProposalSortAttributeType = "CHARGERATE"
	ClientProposalSortAttributeTypeEarnings         ClientProposalSortAttributeType = "EARNINGS"
	ClientProposalSortAttributeTypeRecommendation   ClientProposalSortAttributeType = "RECOMMENDATIONSCORE"
	ClientProposalSortAttributeTypeBilledhours      ClientProposalSortAttributeType = "BILLEDHOURS"
	ClientProposalSortAttributeTypeCreateddatetime  ClientProposalSortAttributeType = "CREATEDDATETIME"
	ClientProposalSortAttributeTypeModifieddatetime ClientProposalSortAttributeType = "MODIFIEDDATETIME"
)

type ClientProposalStatus

type ClientProposalStatus struct {
	Status ClientProposalStatusName `json:"status"`
	Reason *ProposalReason          `json:"reason"`
}

func (*ClientProposalStatus) Scan

func (x *ClientProposalStatus) Scan(src any) error

Scan implements sql.Scanner for ClientProposalStatus, decoding a JSON column value.

func (ClientProposalStatus) Value

func (x ClientProposalStatus) Value() (driver.Value, error)

Value implements driver.Valuer for ClientProposalStatus, encoding it as a JSON string.

type ClientProposalStatusName

type ClientProposalStatusName string

ClientProposalStatusName represents status names for client proposals.

const (
	ClientProposalStatusNameCreated   ClientProposalStatusName = "Created"
	ClientProposalStatusNameActivated ClientProposalStatusName = "Activated"
	ClientProposalStatusNameDeclined  ClientProposalStatusName = "Declined"
	ClientProposalStatusNameWithdrawn ClientProposalStatusName = "Withdrawn"
	ClientProposalStatusNameOffered   ClientProposalStatusName = "Offered"
	ClientProposalStatusNameReplaced  ClientProposalStatusName = "Replaced"
	ClientProposalStatusNameArchived  ClientProposalStatusName = "Archived"
	ClientProposalStatusNameHired     ClientProposalStatusName = "Hired"
)

type ClientProposalTalentType

type ClientProposalTalentType string

ClientProposalTalentType represents talent type filter options.

const (
	ClientProposalTalentTypeFreelancer ClientProposalTalentType = "FREELANCER"
	ClientProposalTalentTypeAgency     ClientProposalTalentType = "AGENCY"
)

type ClientProposalsConnection

type ClientProposalsConnection struct {
	TotalCount *Int                   `json:"totalCount"`
	Edges      []*ClientProposalsEdge `json:"edges"`
	PageInfo   *PageInfo              `json:"pageInfo"`
}

func (*ClientProposalsConnection) Scan

func (x *ClientProposalsConnection) Scan(src any) error

Scan implements sql.Scanner for ClientProposalsConnection, decoding a JSON column value.

func (ClientProposalsConnection) Value

Value implements driver.Valuer for ClientProposalsConnection, encoding it as a JSON string.

type ClientProposalsEdge

type ClientProposalsEdge struct {
	Cursor String          `json:"cursor"`
	Node   *ClientProposal `json:"node"`
}

func (*ClientProposalsEdge) Scan

func (x *ClientProposalsEdge) Scan(src any) error

Scan implements sql.Scanner for ClientProposalsEdge, decoding a JSON column value.

func (ClientProposalsEdge) Value

func (x ClientProposalsEdge) Value() (driver.Value, error)

Value implements driver.Valuer for ClientProposalsEdge, encoding it as a JSON string.

type ClientVerificationStatus

type ClientVerificationStatus string

ClientVerificationStatus represents client identity verification status codes.

const (
	ClientVerificationStatusVerified               ClientVerificationStatus = "VERIFIED"
	ClientVerificationStatusNotVerified            ClientVerificationStatus = "NOT_VERIFIED"
	ClientVerificationStatusActiveButNot           ClientVerificationStatus = "ACTIVE_BUT_NOT_VERIFIED"
	ClientVerificationStatusVerificationInProgress ClientVerificationStatus = "VERIFICATION_IN_PROGRESS"
	ClientVerificationStatusUnknown                ClientVerificationStatus = "UNKNOWN"
)

type ClosingReason

type ClosingReason struct {
	ID     ID      `json:"id"`
	ApiRef *String `json:"apiRef"`
	Reason *String `json:"reason"`
}

ClosingReason represents the reason why a contract was closed.

func (*ClosingReason) Scan

func (x *ClosingReason) Scan(src any) error

Scan implements sql.Scanner for ClosingReason, decoding a JSON column value.

func (ClosingReason) Value

func (x ClosingReason) Value() (driver.Value, error)

Value implements driver.Valuer for ClosingReason, encoding it as a JSON string.

type CompanyInfo

type CompanyInfo struct {
	Public  *PublicCompanyInfo  `json:"public"`
	Private *PrivateCompanyInfo `json:"private"`
}

CompanyInfo represents public and private company info bundle.

func (*CompanyInfo) Scan

func (x *CompanyInfo) Scan(src any) error

Scan implements sql.Scanner for CompanyInfo, decoding a JSON column value.

func (CompanyInfo) Value

func (x CompanyInfo) Value() (driver.Value, error)

Value implements driver.Valuer for CompanyInfo, encoding it as a JSON string.

type CompanySelector

type CompanySelector struct {
	Items []CompanySelectorItem `json:"items"`
}

CompanySelector provides information on companies that user can select.

func (*CompanySelector) Scan

func (x *CompanySelector) Scan(src any) error

Scan implements sql.Scanner for CompanySelector, decoding a JSON column value.

func (CompanySelector) Value

func (x CompanySelector) Value() (driver.Value, error)

Value implements driver.Valuer for CompanySelector, encoding it as a JSON string.

type CompanySelectorItem

type CompanySelectorItem struct {
	Title                        String                                     `json:"title"`
	PhotoUrl                     *String                                    `json:"photoUrl"`
	OrganizationId               String                                     `json:"organizationId"`
	OrganizationRid              *String                                    `json:"organizationRid"`
	OrganizationType             *CompanySelectorOrganizationType           `json:"organizationType"`
	OrganizationLegacyType       *CompanySelectorOrganizationLegacyType     `json:"organizationLegacyType"`
	OrganizationEnterpriseType   *CompanySelectorOrganizationEnterpriseType `json:"organizationEnterpriseType"`
	LegacyEnterpriseOrganization *Boolean                                   `json:"legacyEnterpriseOrganization"`
	TypeTitle                    *String                                    `json:"typeTitle"`
}

CompanySelectorItem represents an item available in company selector.

func (*CompanySelectorItem) Scan

func (x *CompanySelectorItem) Scan(src any) error

Scan implements sql.Scanner for CompanySelectorItem, decoding a JSON column value.

func (CompanySelectorItem) Value

func (x CompanySelectorItem) Value() (driver.Value, error)

Value implements driver.Valuer for CompanySelectorItem, encoding it as a JSON string.

type CompanySelectorOrganizationEnterpriseType

type CompanySelectorOrganizationEnterpriseType string

CompanySelectorOrganizationEnterpriseType represents enterprise type classification for organizations.

const (
	CompanySelectorOrganizationEnterpriseTypeStandard   CompanySelectorOrganizationEnterpriseType = "Standard"
	CompanySelectorOrganizationEnterpriseTypeCompliance CompanySelectorOrganizationEnterpriseType = "Compliance"
)

type CompanySelectorOrganizationLegacyType

type CompanySelectorOrganizationLegacyType string

CompanySelectorOrganizationLegacyType represents legacy organization type for company selector.

const (
	CompanySelectorOrganizationLegacyTypeClient CompanySelectorOrganizationLegacyType = "Client"
	CompanySelectorOrganizationLegacyTypeVendor CompanySelectorOrganizationLegacyType = "Vendor"
)

type CompanySelectorOrganizationType

type CompanySelectorOrganizationType string

CompanySelectorOrganizationType represents organization type for company selector.

const (
	CompanySelectorOrganizationTypeBusiness       CompanySelectorOrganizationType = "Business"
	CompanySelectorOrganizationTypeSoleProprietor CompanySelectorOrganizationType = "SoleProprietor"
)

type ConnectUsageHistory

type ConnectUsageHistory struct {
	Transactions []*ConnectUsageTransaction `json:"transactions"`
	PageInfo     PageInfo                   `json:"pageInfo"`
}

ConnectUsageHistory represents the response for the Connect Usage query.

func (*ConnectUsageHistory) Scan

func (x *ConnectUsageHistory) Scan(src any) error

Scan implements sql.Scanner for ConnectUsageHistory, decoding a JSON column value.

func (ConnectUsageHistory) Value

func (x ConnectUsageHistory) Value() (driver.Value, error)

Value implements driver.Valuer for ConnectUsageHistory, encoding it as a JSON string.

type ConnectUsageTransaction

type ConnectUsageTransaction struct {
	Amount          Money                               `json:"amount"`
	CreatedDateTime String                              `json:"createdDateTime"`
	TransactionType ConnectsPaymentsTransactionTypeEnum `json:"transactionType"`
	JobPost         *TransactionJobPost                 `json:"jobPost"`
}

ConnectUsageTransaction represents connect usage details.

func (*ConnectUsageTransaction) Scan

func (x *ConnectUsageTransaction) Scan(src any) error

Scan implements sql.Scanner for ConnectUsageTransaction, decoding a JSON column value.

func (ConnectUsageTransaction) Value

Value implements driver.Valuer for ConnectUsageTransaction, encoding it as a JSON string.

type ConnectsPaymentsTransactionTypeEnum

type ConnectsPaymentsTransactionTypeEnum string

ConnectsPaymentsTransactionTypeEnum represents transaction type for connects.

const (
	ConnectsPaymentsTransactionTypeEnumCredit       ConnectsPaymentsTransactionTypeEnum = "CREDIT"
	ConnectsPaymentsTransactionTypeEnumDebit        ConnectsPaymentsTransactionTypeEnum = "DEBIT"
	ConnectsPaymentsTransactionTypeEnumRefundCredit ConnectsPaymentsTransactionTypeEnum = "REFUND_CREDIT"
)

type ConnectsSummaryResult

type ConnectsSummaryResult struct {
	OrganizationId      ID   `json:"organizationId"`
	ConnectsBalance     *Int `json:"connectsBalance"`
	RolloverBalance     *Int `json:"rolloverBalance"`
	ConnectsBalanceFree *Int `json:"connectsBalanceFree"`
	ConnectsBalancePaid *Int `json:"connectsBalancePaid"`
}

ConnectsSummaryResult represents a summary of the available connects for the user.

func (*ConnectsSummaryResult) Scan

func (x *ConnectsSummaryResult) Scan(src any) error

Scan implements sql.Scanner for ConnectsSummaryResult, decoding a JSON column value.

func (ConnectsSummaryResult) Value

func (x ConnectsSummaryResult) Value() (driver.Value, error)

Value implements driver.Valuer for ConnectsSummaryResult, encoding it as a JSON string.

type Contract

type Contract struct {
	ID                         ID                          `json:"id"`
	TermId                     ID                          `json:"termId"`
	Title                      *String                     `json:"title"`
	ContractType               *String                     `json:"contractType"`
	Job                        *MarketplaceJobPosting      `json:"job"`
	HasAgency                  *Boolean                    `json:"hasAgency"`
	Offer                      Offer                       `json:"offer"`
	ClientProposal             *ClientProposal             `json:"clientProposal"`
	VendorProposal             *VendorProposal             `json:"vendorProposal"`
	WeeklyChargeAmount         *Money                      `json:"weeklyChargeAmount"`
	WeeklyHoursLimit           *Float                      `json:"weeklyHoursLimit"`
	HourlyChargeRate           *Money                      `json:"hourlyChargeRate"`
	CreatedDateTime            *String                     `json:"createdDateTime"`
	FirstContractStartDateTime *String                     `json:"firstContractStartDateTime"`
	ModifiedDateTime           *String                     `json:"modifiedDateTime"`
	StartDateTime              *String                     `json:"startDateTime"`
	EndDateTime                *String                     `json:"endDateTime"`
	ManualTimeAllowed          *Boolean                    `json:"manualTimeAllowed"`
	HideScreenshots            *Boolean                    `json:"hideScreenshots"`
	Last                       *Boolean                    `json:"last"`
	WeeklyStipendHours         *Float                      `json:"weeklyStipendHours"`
	EstimatedDuration          *ProposalEngagementDuration `json:"estimatedDuration"`
	Status                     *ContractState              `json:"status"`
	Suspended                  *Boolean                    `json:"suspended"`
	Freelancer                 *FreelancerProfile          `json:"freelancer"`
	Paused                     *Boolean                    `json:"paused"`
	ClientCompany              *PublicCompanyInfo          `json:"clientCompany"`
	Milestones                 []*Milestone                `json:"milestones"`
	ContractId                 *ID                         `json:"contractId"`
	Feedback                   *Feedback                   `json:"feedback"`
}

Contract represents a contract between a client and freelancer.

func (*Contract) Scan

func (x *Contract) Scan(src any) error

Scan implements sql.Scanner for Contract, decoding a JSON column value.

func (Contract) Value

func (x Contract) Value() (driver.Value, error)

Value implements driver.Valuer for Contract, encoding it as a JSON string.

type ContractActionResponse

type ContractActionResponse struct {
	Success Boolean `json:"success"`
}

ContractActionResponse represents the result of a contract action.

func (*ContractActionResponse) Scan

func (x *ContractActionResponse) Scan(src any) error

Scan implements sql.Scanner for ContractActionResponse, decoding a JSON column value.

func (ContractActionResponse) Value

Value implements driver.Valuer for ContractActionResponse, encoding it as a JSON string.

type ContractDetails

type ContractDetails struct {
	ID                 ID                  `json:"id"`
	Title              *String             `json:"title"`
	Status             *ContractStatus     `json:"status"`
	ClosingReason      *ClosingReason      `json:"closingReason"`
	DeliveryModel      *DeliveryModel      `json:"deliveryModel"`
	Kind               *ContractKind       `json:"kind"`
	IsPtc              *Boolean            `json:"isPtc"`
	CreateDate         *String             `json:"createDate"`
	ModifyDate         *String             `json:"modifyDate"`
	StartDate          *String             `json:"startDate"`
	EndDate            *String             `json:"endDate"`
	Offer              *Offer              `json:"offer"`
	OfferId            *ID                 `json:"offerId"`
	Job                *JobPosting         `json:"job"`
	Freelancer         ContractUser        `json:"freelancer"`
	VendorOrganization GenericOrganization `json:"vendorOrganization"`
	VendorTeam         GenericOrganization `json:"vendorTeam"`
	ClientOrganization GenericOrganization `json:"clientOrganization"`
	ClientTeam         GenericOrganization `json:"clientTeam"`
	HiringManager      *ContractUser       `json:"hiringManager"`
	AgencyManager      *ContractUser       `json:"agencyManager"`
	Supervisor         ContractUser        `json:"supervisor"`
	ChangingUserType   *CreatorType        `json:"changingUserType"`
	ChangedBy          *ContractUser       `json:"changedBy"`
	EndedBy            *ContractUser       `json:"endedBy"`
	Metadata           *ContractMetadata   `json:"metadata"`
	HourlyLimits       []*HourlyLimit      `json:"hourlyLimits"`
	Terms              *ContractTerms      `json:"terms"`
	ProjectId          *ID                 `json:"projectId"`
}

ContractDetails represents contract details including parties, terms, and metadata.

func (*ContractDetails) Scan

func (x *ContractDetails) Scan(src any) error

Scan implements sql.Scanner for ContractDetails, decoding a JSON column value.

func (ContractDetails) Value

func (x ContractDetails) Value() (driver.Value, error)

Value implements driver.Valuer for ContractDetails, encoding it as a JSON string.

type ContractKind

type ContractKind string

ContractKind represents business model of the contract.

const (
	ContractKindWeeklyRetainer ContractKind = "WEEKLY_RETAINER"
	ContractKindPayroll        ContractKind = "PAYROLL"
	ContractKindStaffAug       ContractKind = "STAFF_AUG"
	ContractKindDirectContract ContractKind = "DIRECT_CONTRACT"
)

type ContractList

type ContractList struct {
	Contracts []*ContractDetails `json:"contracts"`
}

ContractList represents a list of contract details entries.

func (*ContractList) Scan

func (x *ContractList) Scan(src any) error

Scan implements sql.Scanner for ContractList, decoding a JSON column value.

func (ContractList) Value

func (x ContractList) Value() (driver.Value, error)

Value implements driver.Valuer for ContractList, encoding it as a JSON string.

type ContractMetadata

type ContractMetadata struct {
	AgencyContract *Boolean `json:"agencyContract"`
}

ContractMetadata represents additional metadata flags for a contract.

func (*ContractMetadata) Scan

func (x *ContractMetadata) Scan(src any) error

Scan implements sql.Scanner for ContractMetadata, decoding a JSON column value.

func (ContractMetadata) Value

func (x ContractMetadata) Value() (driver.Value, error)

Value implements driver.Valuer for ContractMetadata, encoding it as a JSON string.

type ContractOfferConnection

type ContractOfferConnection struct {
	TotalCount *Int                 `json:"totalCount"`
	Edges      []*ContractOfferEdge `json:"edges"`
	PageInfo   *PageInfo            `json:"pageInfo"`
}

ContractOfferConnection represents a paginated collection of contract offers.

func (*ContractOfferConnection) Scan

func (x *ContractOfferConnection) Scan(src any) error

Scan implements sql.Scanner for ContractOfferConnection, decoding a JSON column value.

func (ContractOfferConnection) Value

Value implements driver.Valuer for ContractOfferConnection, encoding it as a JSON string.

type ContractOfferEdge

type ContractOfferEdge struct {
	Cursor String               `json:"cursor"`
	Node   *ContractOfferResult `json:"node"`
}

ContractOfferEdge represents an edge wrapper containing a contract offer node.

func (*ContractOfferEdge) Scan

func (x *ContractOfferEdge) Scan(src any) error

Scan implements sql.Scanner for ContractOfferEdge, decoding a JSON column value.

func (ContractOfferEdge) Value

func (x ContractOfferEdge) Value() (driver.Value, error)

Value implements driver.Valuer for ContractOfferEdge, encoding it as a JSON string.

type ContractOfferLastEvent

type ContractOfferLastEvent struct {
	ReasonId      *ID     `json:"reasonId"`
	Message       *String `json:"message"`
	LastEventTime *String `json:"lastEventTime"`
}

ContractOfferLastEvent represents the last event on a contract offer.

func (*ContractOfferLastEvent) Scan

func (x *ContractOfferLastEvent) Scan(src any) error

Scan implements sql.Scanner for ContractOfferLastEvent, decoding a JSON column value.

func (ContractOfferLastEvent) Value

Value implements driver.Valuer for ContractOfferLastEvent, encoding it as a JSON string.

type ContractOfferLegacyState

type ContractOfferLegacyState string

ContractOfferLegacyState represents legacy offer state values.

const (
	ContractOfferLegacyStateDraft        ContractOfferLegacyState = "Draft"
	ContractOfferLegacyStateDraftChanged ContractOfferLegacyState = "DraftChanged"
	ContractOfferLegacyStateNew          ContractOfferLegacyState = "New"
	ContractOfferLegacyStateAccepted     ContractOfferLegacyState = "Accepted"
	ContractOfferLegacyStateDeclined     ContractOfferLegacyState = "Declined"
	ContractOfferLegacyStateExpired      ContractOfferLegacyState = "Expired"
	ContractOfferLegacyStateWithdrawn    ContractOfferLegacyState = "Withdrawn"
	ContractOfferLegacyStateChanged      ContractOfferLegacyState = "Changed"
	ContractOfferLegacyStateCanceled     ContractOfferLegacyState = "Canceled"
	ContractOfferLegacyStateSubmitted    ContractOfferLegacyState = "Submitted"
)

type ContractOfferResult

type ContractOfferResult struct {
	ID                    ID                   `json:"id"`
	Company               GenericOrganization  `json:"company"`
	Team                  GenericOrganization  `json:"team"`
	ContactPerson         GenericUser          `json:"contactPerson"`
	Freelancer            GenericUser          `json:"freelancer"`
	Agency                *GenericOrganization `json:"agency"`
	StartDateTime         String               `json:"startDateTime"`
	EndDateTime           *String              `json:"endDateTime"`
	Type                  ContractOfferType    `json:"type"`
	State                 ContractOfferState   `json:"state"`
	MilestoneState        *OfferMilestoneState `json:"milestoneState"`
	EscrowRefundStatus    *EscrowRefundStatus  `json:"escrowRefundStatus"`
	Title                 String               `json:"title"`
	LastUpdatedDateTime   String               `json:"lastUpdatedDateTime"`
	LastPublishedDateTime *String              `json:"lastPublishedDateTime"`
	InPrivateTalentCloud  Boolean              `json:"inPrivateTalentCloud"`
	OfferCreatedDateTime  String               `json:"offerCreatedDateTime"`
	Offer                 *Offer               `json:"offer"`
	Contract              *Contract            `json:"contract"`
	ContractDetails       *ContractDetails     `json:"contractDetails"`
	CatalogProject        *Boolean             `json:"catalogProject"`
}

ContractOfferResult represents an intermediate search result containing common contract and offer information.

func (*ContractOfferResult) Scan

func (x *ContractOfferResult) Scan(src any) error

Scan implements sql.Scanner for ContractOfferResult, decoding a JSON column value.

func (ContractOfferResult) Value

func (x ContractOfferResult) Value() (driver.Value, error)

Value implements driver.Valuer for ContractOfferResult, encoding it as a JSON string.

type ContractOfferState

type ContractOfferState string

ContractOfferState represents contract offer state.

const (
	ContractOfferStatePending ContractOfferState = "Pending"
	ContractOfferStateActive  ContractOfferState = "Active"
	ContractOfferStatePaused  ContractOfferState = "Paused"
	ContractOfferStateEnded   ContractOfferState = "Ended"
)

type ContractOfferTermsVersion

type ContractOfferTermsVersion string

ContractOfferTermsVersion represents contract offer terms version.

const (
	ContractOfferTermsVersionV1 ContractOfferTermsVersion = "V1"
	ContractOfferTermsVersionV2 ContractOfferTermsVersion = "V2"
)

type ContractOfferType

type ContractOfferType string

ContractOfferType represents contract offer type.

const (
	ContractOfferTypeHourly     ContractOfferType = "Hourly"
	ContractOfferTypeFixedPrice ContractOfferType = "FixedPrice"
)

type ContractOfferVendorType

type ContractOfferVendorType string

ContractOfferVendorType represents vendor type for contract offer.

const (
	ContractOfferVendorTypeFreelancer ContractOfferVendorType = "FREELANCER"
	ContractOfferVendorTypeAgency     ContractOfferVendorType = "AGENCY"
)

type ContractPaging

type ContractPaging struct {
	Limit  *Int `json:"limit"`
	Offset *Int `json:"offset"`
}

ContractPaging represents paging information for contract result lists.

func (*ContractPaging) Scan

func (x *ContractPaging) Scan(src any) error

Scan implements sql.Scanner for ContractPaging, decoding a JSON column value.

func (ContractPaging) Value

func (x ContractPaging) Value() (driver.Value, error)

Value implements driver.Valuer for ContractPaging, encoding it as a JSON string.

type ContractProposal

type ContractProposal struct {
	ID                       ID      `json:"id"`
	State                    String  `json:"state"`
	UpdatedDateTime          String  `json:"updatedDateTime"`
	CreatedDateTime          String  `json:"createdDateTime"`
	CanClientOfferBeAccepted Boolean `json:"canClientOfferBeAccepted"`
}

ContractProposal represents a freelancer proposal for a contract.

func (*ContractProposal) Scan

func (x *ContractProposal) Scan(src any) error

Scan implements sql.Scanner for ContractProposal, decoding a JSON column value.

func (ContractProposal) Value

func (x ContractProposal) Value() (driver.Value, error)

Value implements driver.Valuer for ContractProposal, encoding it as a JSON string.

type ContractProposalCreateResponse

type ContractProposalCreateResponse struct {
	ID ID `json:"id"`
}

ContractProposalCreateResponse represents the response of creating a contract proposal.

func (*ContractProposalCreateResponse) Scan

Scan implements sql.Scanner for ContractProposalCreateResponse, decoding a JSON column value.

func (ContractProposalCreateResponse) Value

Value implements driver.Valuer for ContractProposalCreateResponse, encoding it as a JSON string.

type ContractProposalStateV2

type ContractProposalStateV2 string

ContractProposalStateV2 represents contract proposal states.

const (
	ContractProposalStateV2Active    ContractProposalStateV2 = "ACTIVE"
	ContractProposalStateV2Accepted  ContractProposalStateV2 = "ACCEPTED"
	ContractProposalStateV2Declined  ContractProposalStateV2 = "DECLINED"
	ContractProposalStateV2Withdrawn ContractProposalStateV2 = "WITHDRAWN"
	ContractProposalStateV2Expired   ContractProposalStateV2 = "EXPIRED"
	ContractProposalStateV2Changed   ContractProposalStateV2 = "CHANGED"
)

type ContractProposalsClient

type ContractProposalsClient struct {
	PersonName *JobProposalsPersonNameCombined `json:"personName"`
}

ContractProposalsClient represents the client of a contract proposals list item.

func (*ContractProposalsClient) Scan

func (x *ContractProposalsClient) Scan(src any) error

Scan implements sql.Scanner for ContractProposalsClient, decoding a JSON column value.

func (ContractProposalsClient) Value

Value implements driver.Valuer for ContractProposalsClient, encoding it as a JSON string.

type ContractProposalsListItem

type ContractProposalsListItem struct {
	ID                   ID                             `json:"id"`
	AgencyTeamId         *ID                            `json:"agencyTeamId"`
	ReferenceContractRid *ID                            `json:"referenceContractRid"`
	OfferDetails         *ContractProposalsOfferDetails `json:"offerDetails"`
	Client               *ContractProposalsClient       `json:"client"`
	CreatedDate          *String                        `json:"createdDate"`
}

ContractProposalsListItem represents a contract proposal list item.

func (*ContractProposalsListItem) Scan

func (x *ContractProposalsListItem) Scan(src any) error

Scan implements sql.Scanner for ContractProposalsListItem, decoding a JSON column value.

func (ContractProposalsListItem) Value

Value implements driver.Valuer for ContractProposalsListItem, encoding it as a JSON string.

type ContractProposalsOfferDetails

type ContractProposalsOfferDetails struct {
	Title *String `json:"title"`
}

ContractProposalsOfferDetails represents the offer details of a contract proposals list item.

func (*ContractProposalsOfferDetails) Scan

Scan implements sql.Scanner for ContractProposalsOfferDetails, decoding a JSON column value.

func (ContractProposalsOfferDetails) Value

Value implements driver.Valuer for ContractProposalsOfferDetails, encoding it as a JSON string.

type ContractProposalsPaging

type ContractProposalsPaging struct {
	Count        *Int `json:"count"`
	ItemsPerPage *Int `json:"itemsPerPage"`
	Loaded       *Int `json:"loaded"`
	Offset       *Int `json:"offset"`
	Page         *Int `json:"page"`
	Total        *Int `json:"total"`
}

ContractProposalsPaging represents the paging info of contract proposals list queries.

func (*ContractProposalsPaging) Scan

func (x *ContractProposalsPaging) Scan(src any) error

Scan implements sql.Scanner for ContractProposalsPaging, decoding a JSON column value.

func (ContractProposalsPaging) Value

Value implements driver.Valuer for ContractProposalsPaging, encoding it as a JSON string.

type ContractProposalsResult

type ContractProposalsResult struct {
	Contracts []*ContractProposalsListItem `json:"contracts"`
	Paging    *ContractProposalsPaging     `json:"paging"`
}

ContractProposalsResult represents the return type of contract proposals list queries.

func (*ContractProposalsResult) Scan

func (x *ContractProposalsResult) Scan(src any) error

Scan implements sql.Scanner for ContractProposalsResult, decoding a JSON column value.

func (ContractProposalsResult) Value

Value implements driver.Valuer for ContractProposalsResult, encoding it as a JSON string.

type ContractSearchResults

type ContractSearchResults struct {
	Paging    *ContractPaging    `json:"paging"`
	Contracts []*ContractDetails `json:"contracts"`
}

ContractSearchResults represents results of a contract search with paging information.

func (*ContractSearchResults) Scan

func (x *ContractSearchResults) Scan(src any) error

Scan implements sql.Scanner for ContractSearchResults, decoding a JSON column value.

func (ContractSearchResults) Value

func (x ContractSearchResults) Value() (driver.Value, error)

Value implements driver.Valuer for ContractSearchResults, encoding it as a JSON string.

type ContractState

type ContractState string

ContractState represents contract state values.

const (
	ContractStateActive    ContractState = "ACTIVE"
	ContractStateClosed    ContractState = "CLOSED"
	ContractStatePaused    ContractState = "PAUSED"
	ContractStatePending   ContractState = "PENDING"
	ContractStateCancelled ContractState = "CANCELLED"
)

type ContractStatus

type ContractStatus string

ContractStatus represents current lifecycle status of a contract.

const (
	ContractStatusActive ContractStatus = "ACTIVE"
	ContractStatusClosed ContractStatus = "CLOSED"
	ContractStatusPaused ContractStatus = "PAUSED"
)

type ContractTerms

type ContractTerms struct {
	FixedPriceTerms []*FixedPriceContractTerm `json:"fixedPriceTerms"`
	HourlyTerms     []*HourlyContractTerm     `json:"hourlyTerms"`
	StipendTerms    []*StipendContractTerm    `json:"stipendTerms"`
}

ContractTerms represents contract terms grouped by engagement model.

func (*ContractTerms) Scan

func (x *ContractTerms) Scan(src any) error

Scan implements sql.Scanner for ContractTerms, decoding a JSON column value.

func (ContractTerms) Value

func (x ContractTerms) Value() (driver.Value, error)

Value implements driver.Valuer for ContractTerms, encoding it as a JSON string.

type ContractType

type ContractType string

ContractType represents type of contract payment model.

const (
	ContractTypeHourly ContractType = "HOURLY"
	ContractTypeFixed  ContractType = "FIXED"
)

type ContractUser

type ContractUser struct {
	ID        ID            `json:"id"`
	Rid       ID            `json:"rid"`
	Name      *String       `json:"name"`
	PhotoUrl  *String       `json:"photoUrl"`
	FirstName *String       `json:"firstName"`
	LastName  *String       `json:"lastName"`
	Address   *UserLocation `json:"address"`
	Email     *String       `json:"email"`
}

ContractUser represents a user in the context of a contract.

func (*ContractUser) Scan

func (x *ContractUser) Scan(src any) error

Scan implements sql.Scanner for ContractUser, decoding a JSON column value.

func (ContractUser) Value

func (x ContractUser) Value() (driver.Value, error)

Value implements driver.Valuer for ContractUser, encoding it as a JSON string.

type ContractorInfo

type ContractorInfo struct {
	ContractorName *String `json:"contractorName"`
}

ContractorInfo represents contractor information.

func (*ContractorInfo) Scan

func (x *ContractorInfo) Scan(src any) error

Scan implements sql.Scanner for ContractorInfo, decoding a JSON column value.

func (ContractorInfo) Value

func (x ContractorInfo) Value() (driver.Value, error)

Value implements driver.Valuer for ContractorInfo, encoding it as a JSON string.

type ContractorTier

type ContractorTier string

ContractorTier represents contractor tier levels.

const (
	ContractorTierEntryLevel   ContractorTier = "ENTRY_LEVEL"
	ContractorTierIntermediate ContractorTier = "INTERMEDIATE"
	ContractorTierExpert       ContractorTier = "EXPERT"
)

type ContractorType

type ContractorType string

ContractorType represents contractor type filter.

const (
	ContractorTypeAll         ContractorType = "ALL"
	ContractorTypeIndividuals ContractorType = "INDIVIDUALS"
	ContractorTypeAgencies    ContractorType = "AGENCIES"
)

type Country

type Country struct {
	ID                      ID            `json:"id"`
	Name                    *String       `json:"name"`
	TwoLetterAbbreviation   *String       `json:"twoLetterAbbreviation"`
	ThreeLetterAbbreviation *String       `json:"threeLetterAbbreviation"`
	Region                  CountryRegion `json:"region"`
	PhoneCode               *String       `json:"phoneCode"`
	RelatedRegion           *Region       `json:"relatedRegion"`
	RelatedSubRegion        *Region       `json:"relatedSubRegion"`
	Active                  *Boolean      `json:"active"`
	RegistrationAllowed     *Boolean      `json:"registrationAllowed"`
}

Country represents a country.

func (*Country) Scan

func (x *Country) Scan(src any) error

Scan implements sql.Scanner for Country, decoding a JSON column value.

func (Country) Value

func (x Country) Value() (driver.Value, error)

Value implements driver.Valuer for Country, encoding it as a JSON string.

type CountryRegion

type CountryRegion string

CountryRegion represents country region classification.

const (
	CountryRegionEU    CountryRegion = "EU"
	CountryRegionOther CountryRegion = "OTHER"
)

type CreateJobProposalError

type CreateJobProposalError string

CreateJobProposalError represents pre-apply validation failure reasons.

const (
	CreateJobProposalErrorOK                              CreateJobProposalError = "OK"
	CreateJobProposalErrorInvalidVendor                   CreateJobProposalError = "INVALID_VENDOR"
	CreateJobProposalErrorVendorCannotSubmitProposal      CreateJobProposalError = "VENDOR_CANNOT_SUBMIT_PROPOSAL"
	CreateJobProposalErrorVendorDisintermediationRequired CreateJobProposalError = "VENDOR_DISINTERMEDIATION_CONFIRMATION_REQUIRED"
	CreateJobProposalErrorOpeningUidNotFound              CreateJobProposalError = "OPENING_UID_NOT_FOUND"
	CreateJobProposalErrorIsClientOrg                     CreateJobProposalError = "IS_CLIENT_ORG"
	CreateJobProposalErrorUnexpectedError                 CreateJobProposalError = "UNEXPECTED_ERROR"
	CreateJobProposalErrorOrgMismatch                     CreateJobProposalError = "ORG_MISMATCH"
	CreateJobProposalErrorNotAffiliated                   CreateJobProposalError = "NOT_AFFILIATED"
	CreateJobProposalErrorProfileInReview                 CreateJobProposalError = "PROFILE_IS_IN_REVIEW"
	CreateJobProposalErrorProfileInDraftState             CreateJobProposalError = "PROFILE_IS_IN_DRAFT_STATE"
	CreateJobProposalErrorProfileStateInvalid             CreateJobProposalError = "PROFILE_STATE_INVALID"
	CreateJobProposalErrorProfileVerificationRequired     CreateJobProposalError = "PROFILE_VERIFICATION_REQUIRED"
	CreateJobProposalErrorEACRateUndefined                CreateJobProposalError = "EAC_RATE_UNDEFINED"
	CreateJobProposalErrorMissingAddress                  CreateJobProposalError = "MISSING_ADDRESS"
	CreateJobProposalErrorVendorLocationNotEligible       CreateJobProposalError = "VENDOR_LOCATION_NOT_ELIGIBLE"
	CreateJobProposalErrorJobDetailsUnavailable           CreateJobProposalError = "JOB_DETAILS_UNAVAILABLE"
	CreateJobProposalErrorAlreadyApplied                  CreateJobProposalError = "ALREADY_APPLIED"
	CreateJobProposalErrorJobNoLongerAvailable            CreateJobProposalError = "JOB_IS_NO_LONGER_AVAILABLE"
	CreateJobProposalErrorJobAccessForbiddenDomestic      CreateJobProposalError = "JOB_ACCESS_FORBIDDEN_DOMESTIC"
	CreateJobProposalErrorJobNotFound                     CreateJobProposalError = "JOB_NOT_FOUND"
	CreateJobProposalErrorJobFetchServerError             CreateJobProposalError = "JOB_FETCH_SERVER_ERROR"
	CreateJobProposalErrorOpeningNotAvailable             CreateJobProposalError = "OPENING_NOT_AVAILABLE"
	CreateJobProposalErrorOpeningNotFound                 CreateJobProposalError = "OPENING_NOT_FOUND"
	CreateJobProposalErrorClientSuspended                 CreateJobProposalError = "CLIENT_SUSPENDED"
	CreateJobProposalErrorInviteOnly                      CreateJobProposalError = "INVITE_ONLY"
	CreateJobProposalErrorSameCloudOnly                   CreateJobProposalError = "SAME_CLOUD_ONLY"
	CreateJobProposalErrorWithdrewBoostedProposal         CreateJobProposalError = "WITHDREW_BOOSTED_PROPOSAL"
	CreateJobProposalErrorNotEnoughConnects               CreateJobProposalError = "NOT_ENOUGH_CONNECTS_BALANCE"
	CreateJobProposalErrorFreelancerBlockedByClient       CreateJobProposalError = "FREELANCER_BLOCKED_BY_CLIENT"
	CreateJobProposalErrorBlockEACFlFromNonPlusAgency     CreateJobProposalError = "BLOCK_EAC_FL_FROM_NON_PLUS_AGENCY"
	CreateJobProposalErrorTeamHasPendingUpsell            CreateJobProposalError = "TEAM_HAS_PENDING_UPSELL"
	CreateJobProposalErrorActorOrgNotFound                CreateJobProposalError = "ACTOR_ORG_NOT_FOUND"
	CreateJobProposalErrorVendorOrgNotFound               CreateJobProposalError = "VENDOR_ORG_NOT_FOUND"
	CreateJobProposalErrorClientOrgNotFound               CreateJobProposalError = "CLIENT_ORG_NOT_FOUND"
)

type CreateJobProposalResponse

type CreateJobProposalResponse struct {
	NewProposalId *ID                      `json:"newProposalId"`
	Status        *CreateJobProposalStatus `json:"status"`
	Error         *CreateJobProposalError  `json:"error"`
}

CreateJobProposalResponse represents the response type for the create proposal v2 mutation.

func (*CreateJobProposalResponse) Scan

func (x *CreateJobProposalResponse) Scan(src any) error

Scan implements sql.Scanner for CreateJobProposalResponse, decoding a JSON column value.

func (CreateJobProposalResponse) Value

Value implements driver.Valuer for CreateJobProposalResponse, encoding it as a JSON string.

type CreateJobProposalStatus

type CreateJobProposalStatus string

CreateJobProposalStatus represents the create proposal v2 operation status.

const (
	CreateJobProposalStatusSuccess CreateJobProposalStatus = "SUCCESS"
	CreateJobProposalStatusFailure CreateJobProposalStatus = "FAILURE"
	CreateJobProposalStatusPending CreateJobProposalStatus = "PENDING"
)

type CreateOfferDeliveryModelInput

type CreateOfferDeliveryModelInput string

CreateOfferDeliveryModelInput represents delivery model options for offer creation.

const (
	CreateOfferDeliveryModelInputTalentMarketplace CreateOfferDeliveryModelInput = "TalentMarketplace"
)

type CreatorType

type CreatorType string

CreatorType represents actor type associated with contract changes and events.

const (
	CreatorTypeClient         CreatorType = "CLIENT"
	CreatorTypeProfessional   CreatorType = "PROFESSIONAL"
	CreatorTypeOdeskSupport   CreatorType = "ODESK_SUPPORT"
	CreatorTypeACFP           CreatorType = "ACFP"
	CreatorTypeUpworkSupport  CreatorType = "UPWORK_SUPPORT"
	CreatorTypeSystem         CreatorType = "SYSTEM"
	CreatorTypeAutoPayFP      CreatorType = "AUTO_PAY_FP"
	CreatorTypeCatalogProject CreatorType = "CATALOG_PROJECT"
	CreatorTypePayroll        CreatorType = "PAYROLL"
)

type CurrentOrganization

type CurrentOrganization struct {
	ID                  ID                      `json:"id"`
	Rid                 *ID                     `json:"rid"`
	LegacyId            *ID                     `json:"legacyId"`
	Name                *String                 `json:"name"`
	Type                *OrganizationType       `json:"type"`
	LegacyType          *OrganizationLegacyType `json:"legacyType"`
	Flag                *OrganizationFlag       `json:"flag"`
	ParentOrganization  *CurrentOrganization    `json:"parentOrganization"`
	Active              *Boolean                `json:"active"`
	Hidden              *Boolean                `json:"hidden"`
	Company             *PrivateCompanyInfo     `json:"company"`
	PhotoUrl            *String                 `json:"photoUrl"`
	CreationDate        *String                 `json:"creationDate"`
	PrivateTalentClouds []*PrivateTalentCloud   `json:"privateTalentClouds"`
}

CurrentOrganization represents the current organization context.

func (*CurrentOrganization) Scan

func (x *CurrentOrganization) Scan(src any) error

Scan implements sql.Scanner for CurrentOrganization, decoding a JSON column value.

func (CurrentOrganization) Value

func (x CurrentOrganization) Value() (driver.Value, error)

Value implements driver.Valuer for CurrentOrganization, encoding it as a JSON string.

type CurrentUser

type CurrentUser struct {
	ID                ID                 `json:"id"`
	Nid               ID                 `json:"nid"`
	Rid               ID                 `json:"rid"`
	Email             *String            `json:"email"`
	Name              *String            `json:"name"`
	PhotoUrl          *String            `json:"photoUrl"`
	FreelancerProfile *FreelancerProfile `json:"freelancerProfile"`
	Ciphertext        *String            `json:"ciphertext"`
	TalentProfile     *TalentProfile     `json:"talentProfile"`
}

CurrentUser represents information about a user as an entity.

func (*CurrentUser) Scan

func (x *CurrentUser) Scan(src any) error

Scan implements sql.Scanner for CurrentUser, decoding a JSON column value.

func (CurrentUser) Value

func (x CurrentUser) Value() (driver.Value, error)

Value implements driver.Valuer for CurrentUser, encoding it as a JSON string.

type CustomFields

type CustomFields struct {
	ResponseId               *ID                   `json:"responseId"`
	ID                       *ID                   `json:"id"`
	ItemId                   *ID                   `json:"itemId"`
	TypeSnap                 *CustomFieldsTypeSnap `json:"typeSnap"`
	LabelSnap                *String               `json:"labelSnap"`
	DisplayValueSnap         *String               `json:"displayValueSnap"`
	Creator                  *GenericUser          `json:"creator"`
	CreatedDateTime          *DateTime             `json:"createdDateTime"`
	RollupAssignmentId       *ID                   `json:"rollupAssignmentId"`
	FirstContractId          *ID                   `json:"firstContractId"`
	OfferId                  *ID                   `json:"offerId"`
	JobPostingId             *ID                   `json:"jobPostingId"`
	ByoInvitationId          *ID                   `json:"byoInvitationId"`
	BuyItNowId               *ID                   `json:"buyItNowId"`
	QuestionnaireResponsesId *ID                   `json:"questionnaireResponsesId"`
	Stale                    *Boolean              `json:"stale"`
	TermSectionId            *ID                   `json:"termSectionId"`
	AclSnap                  *String               `json:"aclSnap"`
}

CustomFields represents a custom field snapshot.

func (*CustomFields) Scan

func (x *CustomFields) Scan(src any) error

Scan implements sql.Scanner for CustomFields, decoding a JSON column value.

func (CustomFields) Value

func (x CustomFields) Value() (driver.Value, error)

Value implements driver.Valuer for CustomFields, encoding it as a JSON string.

type CustomFieldsConnection

type CustomFieldsConnection struct {
	Edges    []*CustomFieldsEdge `json:"edges"`
	PageInfo *PageInfo           `json:"pageInfo"`
}

CustomFieldsConnection represents a custom field connection.

func (*CustomFieldsConnection) Scan

func (x *CustomFieldsConnection) Scan(src any) error

Scan implements sql.Scanner for CustomFieldsConnection, decoding a JSON column value.

func (CustomFieldsConnection) Value

Value implements driver.Valuer for CustomFieldsConnection, encoding it as a JSON string.

type CustomFieldsEdge

type CustomFieldsEdge struct {
	Cursor String        `json:"cursor"`
	Node   *CustomFields `json:"node"`
}

CustomFieldsEdge represents a custom field connection edge.

func (*CustomFieldsEdge) Scan

func (x *CustomFieldsEdge) Scan(src any) error

Scan implements sql.Scanner for CustomFieldsEdge, decoding a JSON column value.

func (CustomFieldsEdge) Value

func (x CustomFieldsEdge) Value() (driver.Value, error)

Value implements driver.Valuer for CustomFieldsEdge, encoding it as a JSON string.

type CustomFieldsTypeSnap

type CustomFieldsTypeSnap string

CustomFieldsTypeSnap represents snapshot of custom field type metadata.

const (
	CustomFieldsTypeSnapTextField            CustomFieldsTypeSnap = "TEXT_FIELD"
	CustomFieldsTypeSnapTextArea             CustomFieldsTypeSnap = "TEXT_AREA"
	CustomFieldsTypeSnapDropDownList         CustomFieldsTypeSnap = "DROP_DOWN_LIST"
	CustomFieldsTypeSnapNumeric              CustomFieldsTypeSnap = "NUMERIC"
	CustomFieldsTypeSnapBoolean              CustomFieldsTypeSnap = "BOOLEAN"
	CustomFieldsTypeSnapDropDownListMultiple CustomFieldsTypeSnap = "DROP_DOWN_LIST_MULTIPLE_SELECT"
	CustomFieldsTypeSnapCurrency             CustomFieldsTypeSnap = "CURRENCY"
	CustomFieldsTypeSnapPONumber             CustomFieldsTypeSnap = "PO_NUMBER"
)

type CustomJobPostSkill

type CustomJobPostSkill struct {
	ParentSkillId *ID     `json:"parentSkillId"`
	FreeText      *String `json:"freeText"`
}

CustomJobPostSkill represents a custom skill entry for a job post.

func (*CustomJobPostSkill) Scan

func (x *CustomJobPostSkill) Scan(src any) error

Scan implements sql.Scanner for CustomJobPostSkill, decoding a JSON column value.

func (CustomJobPostSkill) Value

func (x CustomJobPostSkill) Value() (driver.Value, error)

Value implements driver.Valuer for CustomJobPostSkill, encoding it as a JSON string.

type CustomPaymentResponse

type CustomPaymentResponse struct {
	InvoiceId ID `json:"invoiceId"`
}

CustomPaymentResponse represents the response of a custom payment operation.

func (*CustomPaymentResponse) Scan

func (x *CustomPaymentResponse) Scan(src any) error

Scan implements sql.Scanner for CustomPaymentResponse, decoding a JSON column value.

func (CustomPaymentResponse) Value

func (x CustomPaymentResponse) Value() (driver.Value, error)

Value implements driver.Valuer for CustomPaymentResponse, encoding it as a JSON string.

type CustomPaymentType

type CustomPaymentType string

CustomPaymentType represents types of custom payments.

const (
	CustomPaymentTypeBonus CustomPaymentType = "BONUS"
)

type DateTime

type DateTime = string

DateTime represents a GraphQL DateTime scalar — an ISO-8601 formatted timestamp string.

type Day

type Day string

Day represents days of the week.

type DeliveryModel

type DeliveryModel string

DeliveryModel represents delivery models supported for contracts.

const (
	DeliveryModelTalentMarketplace DeliveryModel = "TALENT_MARKETPLACE"
	DeliveryModelCatalogProject    DeliveryModel = "CATALOG_PROJECT"
	DeliveryModelUpworkRemote      DeliveryModel = "UPWORK_REMOTE"
	DeliveryModelTalentScout       DeliveryModel = "TALENT_SCOUT"
	DeliveryModelDirectContract    DeliveryModel = "DIRECT_CONTRACT"
	DeliveryModelMicropayments     DeliveryModel = "MICROPAYMENTS"
	DeliveryModelDirectContractV2  DeliveryModel = "DIRECT_CONTRACT_V2"
	DeliveryModelManageAndPay      DeliveryModel = "MANAGE_AND_PAY"
	DeliveryModelOutcomeContract   DeliveryModel = "OUTCOME_CONTRACT"
	DeliveryModelUnknown           DeliveryModel = "UNKNOWN"
)

type DeliveryModelInput

type DeliveryModelInput string

DeliveryModelInput represents delivery models accepted as input filters.

const (
	DeliveryModelInputTalentMarketplace DeliveryModelInput = "TALENT_MARKETPLACE"
	DeliveryModelInputCatalogProject    DeliveryModelInput = "CATALOG_PROJECT"
	DeliveryModelInputUpworkRemote      DeliveryModelInput = "UPWORK_REMOTE"
	DeliveryModelInputTalentScout       DeliveryModelInput = "TALENT_SCOUT"
	DeliveryModelInputDirectContract    DeliveryModelInput = "DIRECT_CONTRACT"
	DeliveryModelInputMicropayments     DeliveryModelInput = "MICROPAYMENTS"
	DeliveryModelInputDirectContractV2  DeliveryModelInput = "DIRECT_CONTRACT_V2"
	DeliveryModelInputManageAndPay      DeliveryModelInput = "MANAGE_AND_PAY"
	DeliveryModelInputOutcomeContract   DeliveryModelInput = "OUTCOME_CONTRACT"
)
type DropdownAclType string

DropdownAclType represents access control type for dropdown options.

const (
	DropdownAclTypeCompany DropdownAclType = "COMPANY"
	DropdownAclTypeTeam    DropdownAclType = "TEAM"
)

type Earning

type Earning string

Earning represents minimum earnings requirement.

const (
	EarningAny          Earning = "ANY"
	EarningAtLeast1     Earning = "AT_LEAST_1"
	EarningAtLeast100   Earning = "AT_LEAST_100"
	EarningAtLeast1000  Earning = "AT_LEAST_1000"
	EarningAtLeast10000 Earning = "AT_LEAST_10000"
)

type EndContractPayWhat

type EndContractPayWhat string

EndContractPayWhat represents payment option when ending a fixed-price contract.

const (
	EndContractPayWhatRemaining  EndContractPayWhat = "REMAINING"
	EndContractPayWhatAdditional EndContractPayWhat = "ADDITIONAL"
	EndContractPayWhatNothing    EndContractPayWhat = "NOTHING"
)

type EngagementDuration

type EngagementDuration struct {
	ID    ID     `json:"id"`
	Label String `json:"label"`
	Weeks Int    `json:"weeks"`
}

EngagementDuration represents the duration of an engagement.

func (*EngagementDuration) Scan

func (x *EngagementDuration) Scan(src any) error

Scan implements sql.Scanner for EngagementDuration, decoding a JSON column value.

func (EngagementDuration) Value

func (x EngagementDuration) Value() (driver.Value, error)

Value implements driver.Valuer for EngagementDuration, encoding it as a JSON string.

type EngagementType

type EngagementType string

EngagementType represents engagement type for hourly contracts.

const (
	EngagementTypeFullTime EngagementType = "FULL_TIME"
	EngagementTypePartTime EngagementType = "PART_TIME"
	EngagementTypeAsNeeded EngagementType = "AS_NEEDED"
	EngagementTypeNotSure  EngagementType = "NOT_SURE"
)

type EnglishProficiency

type EnglishProficiency string

EnglishProficiency represents English proficiency levels.

const (
	EnglishProficiencyAny            EnglishProficiency = "ANY"
	EnglishProficiencyBasic          EnglishProficiency = "BASIC"
	EnglishProficiencyConversational EnglishProficiency = "CONVERSATIONAL"
	EnglishProficiencyFluent         EnglishProficiency = "FLUENT"
	EnglishProficiencyNative         EnglishProficiency = "NATIVE"
)

type EnglishSkill

type EnglishSkill string

EnglishSkill represents English proficiency levels.

const (
	EnglishSkillAnyLevel    EnglishSkill = "ANY_LEVEL"
	EnglishSkillAtLeast1Of5 EnglishSkill = "AT_LEAST_1_OF_5"
	EnglishSkillAtLeast2Of5 EnglishSkill = "AT_LEAST_2_OF_5"
	EnglishSkillAtLeast3Of5 EnglishSkill = "AT_LEAST_3_OF_5"
	EnglishSkillAtLeast4Of5 EnglishSkill = "AT_LEAST_4_OF_5"
	EnglishSkillExactly5Of5 EnglishSkill = "EXACTLY_5_OF_5"
)

type EscrowRefundStatus

type EscrowRefundStatus string

EscrowRefundStatus represents escrow refund status.

const (
	EscrowRefundStatusOpen     EscrowRefundStatus = "Open"
	EscrowRefundStatusDisputed EscrowRefundStatus = "Disputed"
	EscrowRefundStatusAccepted EscrowRefundStatus = "Accepted"
	EscrowRefundStatusExpired  EscrowRefundStatus = "Expired"
)

type ExperienceLevel

type ExperienceLevel string

ExperienceLevel represents experience level requirements.

const (
	ExperienceLevelEntryLevel   ExperienceLevel = "ENTRY_LEVEL"
	ExperienceLevelIntermediate ExperienceLevel = "INTERMEDIATE"
	ExperienceLevelExpert       ExperienceLevel = "EXPERT"
)

type FacetType

type FacetType string

FacetType represents facet types.

const (
	FacetTypePayroll         FacetType = "PAYROLL"
	FacetTypeCatalogProject  FacetType = "CATALOG_PROJECT"
	FacetTypeCheckoutDetails FacetType = "CHECKOUT_DETAILS"
	FacetTypeDashRoom        FacetType = "DASH_ROOM"
	FacetTypeUVMContract     FacetType = "UVM_CONTRACT"
	FacetTypeOfferTemplate   FacetType = "OFFER_TEMPLATE"
)

type FailedInvitation

type FailedInvitation struct {
	Email    *String `json:"email"`
	Username *String `json:"username"`
}

FailedInvitation represents a failed invitation.

func (*FailedInvitation) Scan

func (x *FailedInvitation) Scan(src any) error

Scan implements sql.Scanner for FailedInvitation, decoding a JSON column value.

func (FailedInvitation) Value

func (x FailedInvitation) Value() (driver.Value, error)

Value implements driver.Valuer for FailedInvitation, encoding it as a JSON string.

type FeedJobLocation

type FeedJobLocation struct {
	Country         *String `json:"country"`
	City            *String `json:"city"`
	State           *String `json:"state"`
	CountryTimezone *String `json:"countryTimezone"`
	WorldRegion     *String `json:"worldRegion"`
}

FeedJobLocation represents location information for the client.

func (*FeedJobLocation) Scan

func (x *FeedJobLocation) Scan(src any) error

Scan implements sql.Scanner for FeedJobLocation, decoding a JSON column value.

func (FeedJobLocation) Value

func (x FeedJobLocation) Value() (driver.Value, error)

Value implements driver.Valuer for FeedJobLocation, encoding it as a JSON string.

type Feedback

type Feedback struct {
	ClientFeedback     *ClientFeedback     `json:"clientFeedback"`
	FreelancerFeedback *FreelancerFeedback `json:"freelancerFeedback"`
}

Feedback represents client and freelancer feedback for a contract.

func (*Feedback) Scan

func (x *Feedback) Scan(src any) error

Scan implements sql.Scanner for Feedback, decoding a JSON column value.

func (Feedback) Value

func (x Feedback) Value() (driver.Value, error)

Value implements driver.Valuer for Feedback, encoding it as a JSON string.

type File

type File struct {
	Name            String  `json:"name"`
	Uri             String  `json:"uri"`
	Encoding        *String `json:"encoding"`
	Size            *Int    `json:"size"`
	CreatedDateTime *String `json:"createdDateTime"`
}

File represents a generic file resource.

func (*File) Scan

func (x *File) Scan(src any) error

Scan implements sql.Scanner for File, decoding a JSON column value.

func (File) Value

func (x File) Value() (driver.Value, error)

Value implements driver.Valuer for File, encoding it as a JSON string.

type FileAttachmentType

type FileAttachmentType string

FileAttachmentType represents attachment type for uploaded files.

const (
	FileAttachmentTypeOffer            FileAttachmentType = "OFFER"
	FileAttachmentTypeContractProposal FileAttachmentType = "CONTRACT_PROPOSAL"
	FileAttachmentTypeRefundRequest    FileAttachmentType = "REFUND_REQUEST"
	FileAttachmentTypeMilestone        FileAttachmentType = "MILESTONE"
)

type FileInfo

type FileInfo struct {
	ID            ID                 `json:"id"`
	UploadUrl     String             `json:"uploadUrl"`
	FormKeyValues []StringMapElement `json:"formKeyValues"`
}

func (*FileInfo) Scan

func (x *FileInfo) Scan(src any) error

Scan implements sql.Scanner for FileInfo, decoding a JSON column value.

func (FileInfo) Value

func (x FileInfo) Value() (driver.Value, error)

Value implements driver.Valuer for FileInfo, encoding it as a JSON string.

type FixedPriceContractTerm

type FixedPriceContractTerm struct {
	ID               ID            `json:"id"`
	FpCharge         *Money        `json:"fpCharge"`
	FixedAmount      *Money        `json:"fixedAmount"`
	CreateDate       *String       `json:"createDate"`
	ModifyDate       *String       `json:"modifyDate"`
	ChangeDate       *String       `json:"changeDate"`
	CreatedBy        *ContractUser `json:"createdBy"`
	CreatorUserType  *CreatorType  `json:"creatorUserType"`
	ChangedBy        *ContractUser `json:"changedBy"`
	StartDate        *String       `json:"startDate"`
	ChangingUserType *CreatorType  `json:"changingUserType"`
	IsFP2            *Boolean      `json:"isFP2"`
	EndDate          *String       `json:"endDate"`
	JobType          *JobType      `json:"jobType"`
	PtcData          *PtcData      `json:"ptcData"`
}

FixedPriceContractTerm represents a fixed price contract term including amounts and milestones.

func (*FixedPriceContractTerm) Scan

func (x *FixedPriceContractTerm) Scan(src any) error

Scan implements sql.Scanner for FixedPriceContractTerm, decoding a JSON column value.

func (FixedPriceContractTerm) Value

Value implements driver.Valuer for FixedPriceContractTerm, encoding it as a JSON string.

type FixedPriceContractTerms

type FixedPriceContractTerms struct {
	Amount             Money               `json:"amount"`
	MaxAmount          *Money              `json:"maxAmount"`
	EngagementDuration *EngagementDuration `json:"engagementDuration"`
}

FixedPriceContractTerms represents fixed-price contract terms.

func (*FixedPriceContractTerms) Scan

func (x *FixedPriceContractTerms) Scan(src any) error

Scan implements sql.Scanner for FixedPriceContractTerms, decoding a JSON column value.

func (FixedPriceContractTerms) Value

Value implements driver.Valuer for FixedPriceContractTerms, encoding it as a JSON string.

type FixedPriceTerm

type FixedPriceTerm struct {
	Budget *Money `json:"budget"`
}

FixedPriceTerm represents terms for a fixed priced offer.

func (*FixedPriceTerm) Scan

func (x *FixedPriceTerm) Scan(src any) error

Scan implements sql.Scanner for FixedPriceTerm, decoding a JSON column value.

func (FixedPriceTerm) Value

func (x FixedPriceTerm) Value() (driver.Value, error)

Value implements driver.Valuer for FixedPriceTerm, encoding it as a JSON string.

type Float

type Float = float64

Float represents a GraphQL Float scalar.

type FreeLancerSkillEdge

type FreeLancerSkillEdge struct {
	Node Skill `json:"node"`
}

FreeLancerSkillEdge represents a skill connection edge.

func (*FreeLancerSkillEdge) Scan

func (x *FreeLancerSkillEdge) Scan(src any) error

Scan implements sql.Scanner for FreeLancerSkillEdge, decoding a JSON column value.

func (FreeLancerSkillEdge) Value

func (x FreeLancerSkillEdge) Value() (driver.Value, error)

Value implements driver.Valuer for FreeLancerSkillEdge, encoding it as a JSON string.

type FreelancerClientRelation

type FreelancerClientRelation struct {
	CompanyRid           ID     `json:"companyRid"`
	CompanyName          String `json:"companyName"`
	EdcUserId            ID     `json:"edcUserId"`
	LastContractPlatform String `json:"lastContractPlatform"`
	LastContractRid      ID     `json:"lastContractRid"`
	LastContractTitle    String `json:"lastContractTitle"`
}

FreelancerClientRelation represents the relationship between a freelancer and a client.

func (*FreelancerClientRelation) Scan

func (x *FreelancerClientRelation) Scan(src any) error

Scan implements sql.Scanner for FreelancerClientRelation, decoding a JSON column value.

func (FreelancerClientRelation) Value

Value implements driver.Valuer for FreelancerClientRelation, encoding it as a JSON string.

type FreelancerFeedback

type FreelancerFeedback struct {
	Score          *Float  `json:"score"`
	Comment        *String `json:"comment"`
	ClientResponse *String `json:"clientResponse"`
	RecommendScore *Int    `json:"recommendScore"`
}

FreelancerFeedback represents a freelancer's feedback details.

func (*FreelancerFeedback) Scan

func (x *FreelancerFeedback) Scan(src any) error

Scan implements sql.Scanner for FreelancerFeedback, decoding a JSON column value.

func (FreelancerFeedback) Value

func (x FreelancerFeedback) Value() (driver.Value, error)

Value implements driver.Valuer for FreelancerFeedback, encoding it as a JSON string.

type FreelancerLocation

type FreelancerLocation struct {
	CountryName *String `json:"countryName"`
	CityName    *String `json:"cityName"`
	Zip         *String `json:"zip"`
	Timezone    String  `json:"timezone"`
	Street      *String `json:"street"`
}

FreelancerLocation represents the location of the freelancer.

func (*FreelancerLocation) Scan

func (x *FreelancerLocation) Scan(src any) error

Scan implements sql.Scanner for FreelancerLocation, decoding a JSON column value.

func (FreelancerLocation) Value

func (x FreelancerLocation) Value() (driver.Value, error)

Value implements driver.Valuer for FreelancerLocation, encoding it as a JSON string.

type FreelancerProfile

type FreelancerProfile struct {
	User                       CurrentUser                                       `json:"user"`
	UserDetails                GenericUser                                       `json:"userDetails"`
	PersonalData               FreelancerProfilePersonalData                     `json:"personalData"`
	UserPreferences            FreelancerProfileUserPreferences                  `json:"userPreferences"`
	Languages                  FreelancerProfileLanguagesConnection              `json:"languages"`
	Certificates               []*FreelancerProfileCertificate                   `json:"certificates"`
	EmploymentRecords          []*FreelancerProfileEmploymentRecord              `json:"employmentRecords"`
	Availability               *FreelancerProfileAvailability                    `json:"availability"`
	CommittedResponseTime      *FreelancerProfileCommittedResponseTime           `json:"committedResponseTime"`
	Skills                     FreelancerSkillsConnection                        `json:"skills"`
	Aggregates                 FreelancerProfileAggregates                       `json:"aggregates"`
	JobCategories              *FreelancerProfileJobCategoriesConnection         `json:"jobCategories"`
	ProfileCompletenessSummary *FreelancerProfileCompletenessSummary             `json:"profileCompletenessSummary"`
	LinkedExternalAccountsList FreelancerProfileLinkedExternalAccountsConnection `json:"linkedExternalAccountsList"`
	Verifications              *FreelancerProfileVerifications                   `json:"verifications"`
	FullName                   String                                            `json:"fullName"`
	FirstName                  String                                            `json:"firstName"`
	LastName                   String                                            `json:"lastName"`
	CountryDetails             *Country                                          `json:"countryDetails"`
	Email                      *String                                           `json:"email"`
	Portrait                   *Portrait                                         `json:"portrait"`
	PhoneNumber                *PhoneNumber                                      `json:"phoneNumber"`
	PrivateTalentCloud         PrivateTalentCloudConnection                      `json:"privateTalentCloud"`
}

FreelancerProfile represents freelancer profile details.

func (*FreelancerProfile) Scan

func (x *FreelancerProfile) Scan(src any) error

Scan implements sql.Scanner for FreelancerProfile, decoding a JSON column value.

func (FreelancerProfile) Value

func (x FreelancerProfile) Value() (driver.Value, error)

Value implements driver.Valuer for FreelancerProfile, encoding it as a JSON string.

type FreelancerProfileAggregates

type FreelancerProfileAggregates struct {
	User                        GenericUser             `json:"user"`
	LastWorkedDateTime          *String                 `json:"lastWorkedDateTime"`
	LastApplicationDate         *String                 `json:"lastApplicationDate"`
	TotalHourlyJobs             *Int                    `json:"totalHourlyJobs"`
	TotalHourlyJobsRecent       *Int                    `json:"totalHourlyJobsRecent"`
	TotalFixedJobs              *Int                    `json:"totalFixedJobs"`
	TotalFixedJobsRecent        *Int                    `json:"totalFixedJobsRecent"`
	Responsiveness              *String                 `json:"responsiveness"`
	TotalRevenue                *Money                  `json:"totalRevenue"`
	ActiveInterviews            *Int                    `json:"activeInterviews"`
	CurrentContracts            *Int                    `json:"currentContracts"`
	JobSuccessScore             *Float                  `json:"jobSuccessScore"`
	TopRatedStatus              *String                 `json:"topRatedStatus"`
	TopRatedPlusStatus          *String                 `json:"topRatedPlusStatus"`
	Vetted                      *Boolean                `json:"vetted"`
	TotalHoursActual            *Float                  `json:"totalHoursActual"`
	TotalHours                  *Float                  `json:"totalHours"`
	TotalHoursRecent            *Float                  `json:"totalHoursRecent"`
	TotalFeedback               *Float                  `json:"totalFeedback"`
	TotalFeedbackRecent         *Float                  `json:"totalFeedbackRecent"`
	BilledContracts             *Int                    `json:"billedContracts"`
	BilledContractsRecent       *Int                    `json:"billedContractsRecent"`
	AdjustedFeedbackScore       *Float                  `json:"adjustedFeedbackScore"`
	AdjustedFeedbackScoreRecent *Float                  `json:"adjustedFeedbackScoreRecent"`
	ProfileStats                *FreelancerProfileStats `json:"profileStats"`
	LastActivityDateTime        *String                 `json:"lastActivityDateTime"`
	TotalEarnings               *Money                  `json:"totalEarnings"`
	TopRatedStatusDatetime      *String                 `json:"topRatedStatusDatetime"`
	RecentEarnings              *Money                  `json:"recentEarnings"`
	AverageRecentEarnings       *Money                  `json:"averageRecentEarnings"`
	RecentCharge                *Money                  `json:"recentCharge"`
	AverageRecentCharge         *Money                  `json:"averageRecentCharge"`
	QualityScore                *Float                  `json:"qualityScore"`
	TotalHoursRounded           *Int                    `json:"totalHoursRounded"`
}

FreelancerProfileAggregates represents freelancer profile aggregates.

func (*FreelancerProfileAggregates) Scan

func (x *FreelancerProfileAggregates) Scan(src any) error

Scan implements sql.Scanner for FreelancerProfileAggregates, decoding a JSON column value.

func (FreelancerProfileAggregates) Value

Value implements driver.Valuer for FreelancerProfileAggregates, encoding it as a JSON string.

type FreelancerProfileAvailability

type FreelancerProfileAvailability struct {
	ID                   ID                                     `json:"id"`
	User                 GenericUser                            `json:"user"`
	Capacity             *FreelancerProfileAvailabilityCapacity `json:"capacity"`
	AvailabilityDateTime *String                                `json:"availabilityDateTime"`
	Name                 String                                 `json:"name"`
	CreatedDateTime      String                                 `json:"createdDateTime"`
}

FreelancerProfileAvailability represents a freelancer's availability.

func (*FreelancerProfileAvailability) Scan

Scan implements sql.Scanner for FreelancerProfileAvailability, decoding a JSON column value.

func (FreelancerProfileAvailability) Value

Value implements driver.Valuer for FreelancerProfileAvailability, encoding it as a JSON string.

type FreelancerProfileAvailabilityCapacity

type FreelancerProfileAvailabilityCapacity string

FreelancerProfileAvailabilityCapacity represents freelancer availability capacity.

const (
	FreelancerProfileAvailabilityCapacityFullTime     FreelancerProfileAvailabilityCapacity = "fullTime"
	FreelancerProfileAvailabilityCapacityPartTime     FreelancerProfileAvailabilityCapacity = "partTime"
	FreelancerProfileAvailabilityCapacityLessThen     FreelancerProfileAvailabilityCapacity = "lessThen"
	FreelancerProfileAvailabilityCapacityNotSure      FreelancerProfileAvailabilityCapacity = "notSure"
	FreelancerProfileAvailabilityCapacityRangeOfHours FreelancerProfileAvailabilityCapacity = "rangeOfHours"
	FreelancerProfileAvailabilityCapacityNone         FreelancerProfileAvailabilityCapacity = "none"
)

type FreelancerProfileCertificate

type FreelancerProfileCertificate struct {
	ID                  ID       `json:"id"`
	EarnedDate          *String  `json:"earnedDate"`
	SubmissionCode      *String  `json:"submissionCode"`
	Notes               *String  `json:"notes"`
	Score               *String  `json:"score"`
	Active              *Boolean `json:"active"`
	Verified            *Boolean `json:"verified"`
	Url                 *String  `json:"url"`
	CreatedDateTime     *String  `json:"createdDateTime"`
	LastUpdatedDateTime *String  `json:"lastUpdatedDateTime"`
	ExpirationDate      *String  `json:"expirationDate"`
	ExternalId          *String  `json:"externalId"`
}

FreelancerProfileCertificate represents a freelancer's certificate.

func (*FreelancerProfileCertificate) Scan

func (x *FreelancerProfileCertificate) Scan(src any) error

Scan implements sql.Scanner for FreelancerProfileCertificate, decoding a JSON column value.

func (FreelancerProfileCertificate) Value

Value implements driver.Valuer for FreelancerProfileCertificate, encoding it as a JSON string.

type FreelancerProfileCommittedResponseTime

type FreelancerProfileCommittedResponseTime struct {
	ID                    ID                             `json:"id"`
	CommittedResponseTime *FreelancerProfileResponseTime `json:"committedResponseTime"`
	Name                  *String                        `json:"name"`
	CreatedDateTime       String                         `json:"createdDateTime"`
	UpdatedDateTime       *String                        `json:"updatedDateTime"`
}

FreelancerProfileCommittedResponseTime represents a freelancer's committed response time.

func (*FreelancerProfileCommittedResponseTime) Scan

Scan implements sql.Scanner for FreelancerProfileCommittedResponseTime, decoding a JSON column value.

func (FreelancerProfileCommittedResponseTime) Value

Value implements driver.Valuer for FreelancerProfileCommittedResponseTime, encoding it as a JSON string.

type FreelancerProfileCompletenessSummary

type FreelancerProfileCompletenessSummary struct {
	User                        GenericUser `json:"user"`
	Actual                      Int         `json:"actual"`
	Display                     Int         `json:"display"`
	Action                      *String     `json:"action"`
	ActionCredit                *Int        `json:"actionCredit"`
	ActionForEmptySection       *String     `json:"actionForEmptySection"`
	SkillsCount                 Int         `json:"skillsCount"`
	EmploymentRecordCount       Int         `json:"employmentRecordCount"`
	PortraitRecordCount         Int         `json:"portraitRecordCount"`
	OverviewRecordCount         Int         `json:"overviewRecordCount"`
	VideoRecordCount            Int         `json:"videoRecordCount"`
	EducationRecordCount        Int         `json:"educationRecordCount"`
	CertificatesCount           Int         `json:"certificatesCount"`
	OtherExperiencesCount       Int         `json:"otherExperiencesCount"`
	PortfolioCount              Int         `json:"portfolioCount"`
	LinkedExternalAccountsCount Int         `json:"linkedExternalAccountsCount"`
	CreatedDateTime             String      `json:"createdDateTime"`
}

FreelancerProfileCompletenessSummary represents a freelancer profile completeness summary.

func (*FreelancerProfileCompletenessSummary) Scan

Scan implements sql.Scanner for FreelancerProfileCompletenessSummary, decoding a JSON column value.

func (FreelancerProfileCompletenessSummary) Value

Value implements driver.Valuer for FreelancerProfileCompletenessSummary, encoding it as a JSON string.

type FreelancerProfileContract

type FreelancerProfileContract struct {
	ID                      ID                                  `json:"id"`
	Description             *String                             `json:"description"`
	Title                   String                              `json:"title"`
	ClientOrganization      GenericOrganization                 `json:"clientOrganization"`
	Type                    FreelancerProfileContractType       `json:"type"`
	AccessType              FreelancerProfileContractAccessType `json:"accessType"`
	Private                 Boolean                             `json:"private"`
	Job                     JobPosting                          `json:"job"`
	StartDateTime           String                              `json:"startDateTime"`
	EndDateTime             *String                             `json:"endDateTime"`
	TotalCharges            *Money                              `json:"totalCharges"`
	TotalHours              *Float                              `json:"totalHours"`
	HourlyRate              *Money                              `json:"hourlyRate"`
	InitialAmount           *Money                              `json:"initialAmount"`
	FeedbackToTheClient     *FreelancerProfileContractFeedback  `json:"feedbackToTheClient"`
	FeedbackToTheFreelancer *FreelancerProfileContractFeedback  `json:"feedbackToTheFreelancer"`
	IsFromElance            *Boolean                            `json:"isFromElance"`
}

FreelancerProfileContract represents a freelancer's contract.

func (*FreelancerProfileContract) Scan

func (x *FreelancerProfileContract) Scan(src any) error

Scan implements sql.Scanner for FreelancerProfileContract, decoding a JSON column value.

func (FreelancerProfileContract) Value

Value implements driver.Valuer for FreelancerProfileContract, encoding it as a JSON string.

type FreelancerProfileContractAccessType

type FreelancerProfileContractAccessType string

FreelancerProfileContractAccessType represents contract access type.

const (
	FreelancerProfileContractAccessTypePublicAccess  FreelancerProfileContractAccessType = "PublicAccess"
	FreelancerProfileContractAccessTypePrivateAccess FreelancerProfileContractAccessType = "PrivateAccess"
	FreelancerProfileContractAccessTypeAuthAccess    FreelancerProfileContractAccessType = "AuthAccess"
)

type FreelancerProfileContractFeedback

type FreelancerProfileContractFeedback struct {
	Score         Float                                     `json:"score"`
	Comment       *String                                   `json:"comment"`
	PublicComment Boolean                                   `json:"publicComment"`
	Response      *String                                   `json:"response"`
	ScoreDetails  []*FreelancerProfileContractFeedbackScore `json:"scoreDetails"`
}

FreelancerProfileContractFeedback represents contract feedback.

func (*FreelancerProfileContractFeedback) Scan

Scan implements sql.Scanner for FreelancerProfileContractFeedback, decoding a JSON column value.

func (FreelancerProfileContractFeedback) Value

Value implements driver.Valuer for FreelancerProfileContractFeedback, encoding it as a JSON string.

type FreelancerProfileContractFeedbackScore

type FreelancerProfileContractFeedbackScore struct {
	Score       Float   `json:"score"`
	Label       String  `json:"label"`
	Description *String `json:"description"`
}

FreelancerProfileContractFeedbackScore represents a contract feedback score.

func (*FreelancerProfileContractFeedbackScore) Scan

Scan implements sql.Scanner for FreelancerProfileContractFeedbackScore, decoding a JSON column value.

func (FreelancerProfileContractFeedbackScore) Value

Value implements driver.Valuer for FreelancerProfileContractFeedbackScore, encoding it as a JSON string.

type FreelancerProfileContractType

type FreelancerProfileContractType string

FreelancerProfileContractType represents freelancer profile contract type.

const (
	FreelancerProfileContractTypeFixed  FreelancerProfileContractType = "Fixed"
	FreelancerProfileContractTypeHourly FreelancerProfileContractType = "Hourly"
)

type FreelancerProfileEducationRecord

type FreelancerProfileEducationRecord struct {
	ID                        ID           `json:"id"`
	User                      *GenericUser `json:"user"`
	InstitutionName           String       `json:"institutionName"`
	StandardizedInstitutionId *ID          `json:"standardizedInstitutionId"`
	AreaOfStudy               *String      `json:"areaOfStudy"`
	StandardizedAreaOfStudyId *ID          `json:"standardizedAreaOfStudyId"`
	Degree                    *String      `json:"degree"`
	StandardizedDegreeId      *ID          `json:"standardizedDegreeId"`
	StartDate                 *String      `json:"startDate"`
	EndDate                   *String      `json:"endDate"`
	Description               *String      `json:"description"`
}

FreelancerProfileEducationRecord represents an education record.

func (*FreelancerProfileEducationRecord) Scan

Scan implements sql.Scanner for FreelancerProfileEducationRecord, decoding a JSON column value.

func (FreelancerProfileEducationRecord) Value

Value implements driver.Valuer for FreelancerProfileEducationRecord, encoding it as a JSON string.

type FreelancerProfileEmploymentRecord

type FreelancerProfileEmploymentRecord struct {
	ID                     ID          `json:"id"`
	User                   GenericUser `json:"user"`
	CompanyName            String      `json:"companyName"`
	JobTitle               String      `json:"jobTitle"`
	StandardizedCompanyId  *String     `json:"standardizedCompanyId"`
	StandardizedJobTitleId *String     `json:"standardizedJobTitleId"`
	Role                   *String     `json:"role"`
	StartDate              String      `json:"startDate"`
	EndDate                *String     `json:"endDate"`
	Description            *String     `json:"description"`
	City                   String      `json:"city"`
	Country                String      `json:"country"`
}

FreelancerProfileEmploymentRecord represents a freelancer's employment record.

func (*FreelancerProfileEmploymentRecord) Scan

Scan implements sql.Scanner for FreelancerProfileEmploymentRecord, decoding a JSON column value.

func (FreelancerProfileEmploymentRecord) Value

Value implements driver.Valuer for FreelancerProfileEmploymentRecord, encoding it as a JSON string.

type FreelancerProfileExperienceLevel

type FreelancerProfileExperienceLevel string

FreelancerProfileExperienceLevel represents freelancer experience level.

const (
	FreelancerProfileExperienceLevelNone         FreelancerProfileExperienceLevel = "NONE"
	FreelancerProfileExperienceLevelEntryLevel   FreelancerProfileExperienceLevel = "ENTRY_LEVEL"
	FreelancerProfileExperienceLevelIntermediate FreelancerProfileExperienceLevel = "INTERMEDIATE"
	FreelancerProfileExperienceLevelExpert       FreelancerProfileExperienceLevel = "EXPERT"
)

type FreelancerProfileJobCategoriesConnection

type FreelancerProfileJobCategoriesConnection struct {
	Edges []*FreelancerProfileJobCategoryEdge `json:"edges"`
}

FreelancerProfileJobCategoriesConnection represents a connection to the job categories list.

func (*FreelancerProfileJobCategoriesConnection) Scan

Scan implements sql.Scanner for FreelancerProfileJobCategoriesConnection, decoding a JSON column value.

func (FreelancerProfileJobCategoriesConnection) Value

Value implements driver.Valuer for FreelancerProfileJobCategoriesConnection, encoding it as a JSON string.

type FreelancerProfileJobCategory

type FreelancerProfileJobCategory struct {
	Category              *JobCategory   `json:"category"`
	SelectedSubCategories []*JobCategory `json:"selectedSubCategories"`
}

FreelancerProfileJobCategory represents selected job categories.

func (*FreelancerProfileJobCategory) Scan

func (x *FreelancerProfileJobCategory) Scan(src any) error

Scan implements sql.Scanner for FreelancerProfileJobCategory, decoding a JSON column value.

func (FreelancerProfileJobCategory) Value

Value implements driver.Valuer for FreelancerProfileJobCategory, encoding it as a JSON string.

type FreelancerProfileJobCategoryEdge

type FreelancerProfileJobCategoryEdge struct {
	Node FreelancerProfileJobCategory `json:"node"`
}

FreelancerProfileJobCategoryEdge represents a job category connection edge.

func (*FreelancerProfileJobCategoryEdge) Scan

Scan implements sql.Scanner for FreelancerProfileJobCategoryEdge, decoding a JSON column value.

func (FreelancerProfileJobCategoryEdge) Value

Value implements driver.Valuer for FreelancerProfileJobCategoryEdge, encoding it as a JSON string.

type FreelancerProfileLanguage

type FreelancerProfileLanguage struct {
	ID                    ID       `json:"id"`
	Language              Language `json:"language"`
	Verified              *Boolean `json:"verified"`
	VerifiedByCertificate *Boolean `json:"verifiedByCertificate"`
	VerifiedByFeedback    *Boolean `json:"verifiedByFeedback"`
}

FreelancerProfileLanguage represents a freelancer language with proficiency and verification.

func (*FreelancerProfileLanguage) Scan

func (x *FreelancerProfileLanguage) Scan(src any) error

Scan implements sql.Scanner for FreelancerProfileLanguage, decoding a JSON column value.

func (FreelancerProfileLanguage) Value

Value implements driver.Valuer for FreelancerProfileLanguage, encoding it as a JSON string.

type FreelancerProfileLanguageEdge

type FreelancerProfileLanguageEdge struct {
	Node FreelancerProfileLanguage `json:"node"`
}

FreelancerProfileLanguageEdge represents a language connection edge.

func (*FreelancerProfileLanguageEdge) Scan

Scan implements sql.Scanner for FreelancerProfileLanguageEdge, decoding a JSON column value.

func (FreelancerProfileLanguageEdge) Value

Value implements driver.Valuer for FreelancerProfileLanguageEdge, encoding it as a JSON string.

type FreelancerProfileLanguagesConnection

type FreelancerProfileLanguagesConnection struct {
	Edges []*FreelancerProfileLanguageEdge `json:"edges"`
}

FreelancerProfileLanguagesConnection represents a connection to the freelancer languages list.

func (*FreelancerProfileLanguagesConnection) Scan

Scan implements sql.Scanner for FreelancerProfileLanguagesConnection, decoding a JSON column value.

func (FreelancerProfileLanguagesConnection) Value

Value implements driver.Valuer for FreelancerProfileLanguagesConnection, encoding it as a JSON string.

type FreelancerProfileLinkedExternalAccounts

type FreelancerProfileLinkedExternalAccounts struct {
	ID                 ID      `json:"id"`
	Name               String  `json:"name"`
	ExpiryDateTime     *String `json:"expiryDateTime"`
	RevokedDateTime    *String `json:"revokedDateTime"`
	AuthorizedDateTime String  `json:"authorizedDateTime"`
	UserProfile        String  `json:"userProfile"`
}

FreelancerProfileLinkedExternalAccounts represents a linked external account for a freelancer profile.

func (*FreelancerProfileLinkedExternalAccounts) Scan

Scan implements sql.Scanner for FreelancerProfileLinkedExternalAccounts, decoding a JSON column value.

func (FreelancerProfileLinkedExternalAccounts) Value

Value implements driver.Valuer for FreelancerProfileLinkedExternalAccounts, encoding it as a JSON string.

type FreelancerProfileLinkedExternalAccountsConnection

type FreelancerProfileLinkedExternalAccountsConnection struct {
	Edges []*FreelancerProfileLinkedExternalAccountsEdge `json:"edges"`
}

FreelancerProfileLinkedExternalAccountsConnection represents a connection to the linked external accounts.

func (*FreelancerProfileLinkedExternalAccountsConnection) Scan

Scan implements sql.Scanner for FreelancerProfileLinkedExternalAccountsConnection, decoding a JSON column value.

func (FreelancerProfileLinkedExternalAccountsConnection) Value

Value implements driver.Valuer for FreelancerProfileLinkedExternalAccountsConnection, encoding it as a JSON string.

type FreelancerProfileLinkedExternalAccountsEdge

type FreelancerProfileLinkedExternalAccountsEdge struct {
	Node FreelancerProfileLinkedExternalAccounts `json:"node"`
}

FreelancerProfileLinkedExternalAccountsEdge represents a linked external accounts connection edge.

func (*FreelancerProfileLinkedExternalAccountsEdge) Scan

Scan implements sql.Scanner for FreelancerProfileLinkedExternalAccountsEdge, decoding a JSON column value.

func (FreelancerProfileLinkedExternalAccountsEdge) Value

Value implements driver.Valuer for FreelancerProfileLinkedExternalAccountsEdge, encoding it as a JSON string.

type FreelancerProfileOtherExperience

type FreelancerProfileOtherExperience struct {
	ID              ID          `json:"id"`
	User            GenericUser `json:"user"`
	Subject         String      `json:"subject"`
	Description     String      `json:"description"`
	Active          *Boolean    `json:"active"`
	CreatedDateTime String      `json:"createdDateTime"`
	UpdatedDateTime String      `json:"updatedDateTime"`
}

FreelancerProfileOtherExperience represents other experience record for a freelancer.

func (*FreelancerProfileOtherExperience) Scan

Scan implements sql.Scanner for FreelancerProfileOtherExperience, decoding a JSON column value.

func (FreelancerProfileOtherExperience) Value

Value implements driver.Valuer for FreelancerProfileOtherExperience, encoding it as a JSON string.

type FreelancerProfileOtherExperienceEdge

type FreelancerProfileOtherExperienceEdge struct {
	Node   FreelancerProfileOtherExperience `json:"node"`
	Cursor String                           `json:"cursor"`
}

FreelancerProfileOtherExperienceEdge represents an other experience connection edge.

func (*FreelancerProfileOtherExperienceEdge) Scan

Scan implements sql.Scanner for FreelancerProfileOtherExperienceEdge, decoding a JSON column value.

func (FreelancerProfileOtherExperienceEdge) Value

Value implements driver.Valuer for FreelancerProfileOtherExperienceEdge, encoding it as a JSON string.

type FreelancerProfileOtherExperiencesConnection

type FreelancerProfileOtherExperiencesConnection struct {
	TotalCount *Int                                    `json:"totalCount"`
	Edges      []*FreelancerProfileOtherExperienceEdge `json:"edges"`
	PageInfo   *PageInfo                               `json:"pageInfo"`
}

FreelancerProfileOtherExperiencesConnection represents a connection to other experiences.

func (*FreelancerProfileOtherExperiencesConnection) Scan

Scan implements sql.Scanner for FreelancerProfileOtherExperiencesConnection, decoding a JSON column value.

func (FreelancerProfileOtherExperiencesConnection) Value

Value implements driver.Valuer for FreelancerProfileOtherExperiencesConnection, encoding it as a JSON string.

type FreelancerProfilePersonalData

type FreelancerProfilePersonalData struct {
	FirstName    String                    `json:"firstName"`
	LastName     String                    `json:"lastName"`
	Portrait     *Portrait                 `json:"portrait"`
	Title        *String                   `json:"title"`
	Description  *String                   `json:"description"`
	Address      *FreelancerLocation       `json:"address"`
	ChargeRate   Money                     `json:"chargeRate"`
	WorkPhone    *String                   `json:"workPhone"`
	ProfileUrl   *String                   `json:"profileUrl"`
	ProfileState *PersonalDataProfileState `json:"profileState"`
}

FreelancerProfilePersonalData represents attributes of personal data.

func (*FreelancerProfilePersonalData) Scan

Scan implements sql.Scanner for FreelancerProfilePersonalData, decoding a JSON column value.

func (FreelancerProfilePersonalData) Value

Value implements driver.Valuer for FreelancerProfilePersonalData, encoding it as a JSON string.

type FreelancerProfileProject

type FreelancerProfileProject struct {
	ID                  ID                                    `json:"id"`
	Title               *String                               `json:"title"`
	Description         *String                               `json:"description"`
	ContractLink        *FreelancerProfileProjectContractLink `json:"contractLink"`
	ThumbnailId         *String                               `json:"thumbnailId"`
	ThumbnailOriginalId *String                               `json:"thumbnailOriginalId"`
	Thumbnail           *String                               `json:"thumbnail"`
	ThumbnailOriginal   *String                               `json:"thumbnailOriginal"`
	ProjectUrl          *String                               `json:"projectUrl"`
	CompletionDateTime  *String                               `json:"completionDateTime"`
	Public              *Boolean                              `json:"public"`
	Rank                *Int                                  `json:"rank"`
	Attachments         []*FreelancerProfileProjectAttachment `json:"attachments"`
	Skills              FreelancerSkillsConnection            `json:"skills"`
	Category            *JobCategory                          `json:"category"`
	SubCategory         *JobCategory                          `json:"subCategory"`
	OccupationId        *String                               `json:"occupationId"`
	ProjectType         *FreelancerProfileProjectType         `json:"projectType"`
	Role                *String                               `json:"role"`
	ProjectGoal         *String                               `json:"projectGoal"`
	Solution            *String                               `json:"solution"`
	PrimaryImageId      *String                               `json:"primaryImageId"`
	CreatedDateTime     String                                `json:"createdDateTime"`
}

FreelancerProfileProject represents a portfolio project of the freelancer.

func (*FreelancerProfileProject) Scan

func (x *FreelancerProfileProject) Scan(src any) error

Scan implements sql.Scanner for FreelancerProfileProject, decoding a JSON column value.

func (FreelancerProfileProject) Value

Value implements driver.Valuer for FreelancerProfileProject, encoding it as a JSON string.

type FreelancerProfileProjectAttachment

type FreelancerProfileProjectAttachment struct {
	ID          *ID     `json:"id"`
	Link        *String `json:"link"`
	FileName    *String `json:"fileName"`
	FileSize    *Int    `json:"fileSize"`
	Rank        *Int    `json:"rank"`
	VideoUrl    *String `json:"videoUrl"`
	Type        *String `json:"type"`
	Title       *String `json:"title"`
	Description *String `json:"description"`
	ImageSmall  *String `json:"imageSmall"`
	ImageMiddle *String `json:"imageMiddle"`
	ImageLarge  *String `json:"imageLarge"`
}

FreelancerProfileProjectAttachment represents a project attachment.

func (*FreelancerProfileProjectAttachment) Scan

Scan implements sql.Scanner for FreelancerProfileProjectAttachment, decoding a JSON column value.

func (FreelancerProfileProjectAttachment) Value

Value implements driver.Valuer for FreelancerProfileProjectAttachment, encoding it as a JSON string.

type FreelancerProfileProjectContractLink struct {
	ID                   ID                         `json:"id"`
	Contract             *FreelancerProfileContract `json:"contract"`
	State                *String                    `json:"state"`
	Project              *FreelancerProfileProject  `json:"project"`
	Client               *GenericUser               `json:"client"`
	Freelancer           *GenericUser               `json:"freelancer"`
	NotificationDateTime *String                    `json:"notificationDateTime"`
	CreatedDateTime      String                     `json:"createdDateTime"`
}

FreelancerProfileProjectContractLink represents a project contract link.

func (*FreelancerProfileProjectContractLink) Scan

Scan implements sql.Scanner for FreelancerProfileProjectContractLink, decoding a JSON column value.

func (FreelancerProfileProjectContractLink) Value

Value implements driver.Valuer for FreelancerProfileProjectContractLink, encoding it as a JSON string.

type FreelancerProfileProjectType

type FreelancerProfileProjectType string

FreelancerProfileProjectType represents freelancer profile project type.

const (
	FreelancerProfileProjectTypeClassicView         FreelancerProfileProjectType = "CLASSIC_VIEW"
	FreelancerProfileProjectTypeCaseStudy           FreelancerProfileProjectType = "CASE_STUDY"
	FreelancerProfileProjectTypeGallery             FreelancerProfileProjectType = "GALLERY"
	FreelancerProfileProjectTypeMultimediaPortfolio FreelancerProfileProjectType = "MULTIMEDIA_PORTFOLIO_VIEW"
)

type FreelancerProfileResponseTime

type FreelancerProfileResponseTime string

FreelancerProfileResponseTime represents freelancer response time.

const (
	FreelancerProfileResponseTimeNever     FreelancerProfileResponseTime = "NEVER"
	FreelancerProfileResponseTimeSoon      FreelancerProfileResponseTime = "SOON"
	FreelancerProfileResponseTimeImmediate FreelancerProfileResponseTime = "IMMEDIATE"
)

type FreelancerProfileSearchUserTypeEnum

type FreelancerProfileSearchUserTypeEnum string

FreelancerProfileSearchUserTypeEnum represents freelancer profile search user type.

const (
	FreelancerProfileSearchUserTypeEnumFreelancer FreelancerProfileSearchUserTypeEnum = "Freelancer"
	FreelancerProfileSearchUserTypeEnumClient     FreelancerProfileSearchUserTypeEnum = "Client"
)

type FreelancerProfileStats

type FreelancerProfileStats struct {
	TotalCharge360                           *Money    `json:"totalCharge360"`
	TotalCharge360NoAgency                   *Money    `json:"totalCharge360NoAgency"`
	AdjustedScore360                         *Float    `json:"adjustedScore360"`
	LongTermClients                          *Int      `json:"longTermClients"`
	Suspensions                              *Int      `json:"suspensions"`
	Suspensions360                           *Int      `json:"suspensions360"`
	Suspensions90limited                     *Int      `json:"suspensions90limited"`
	TopLevelJobCategoryApplied90Days         *String   `json:"topLevelJobCategoryApplied90Days"`
	ProposalsCount90Days                     *Int      `json:"proposalsCount90Days"`
	MedianProposalsForTheTopLevelCategory365 *Int      `json:"medianProposalsForTheTopLevelCategory365"`
	FitProposalsViewRatio90Days              *Float    `json:"fitProposalsViewRatio90Days"`
	HiddenProposalsViewedRatio90Days         *Float    `json:"hiddenProposalsViewedRatio90Days"`
	TotalProposalsViewedRatio90Days          *Float    `json:"totalProposalsViewedRatio90Days"`
	ProposalInterviewedRation90Days          *Float    `json:"proposalInterviewedRation90Days"`
	ProposalsHiredRatio90Days                *Float    `json:"proposalsHiredRatio90Days"`
	HideReasonsForProposals                  []*String `json:"hideReasonsForProposals"`
	TotalInvites90Days                       *Int      `json:"totalInvites90Days"`
	TotalInviteResponses90Days               *Int      `json:"totalInviteResponses90Days"`
	InviteResponsesPerDay90Days              *Int      `json:"inviteResponsesPerDay90Days"`
	TotalCharge365NoPending                  *Money    `json:"totalCharge365NoPending"`
	TotalCharge90                            *Money    `json:"totalCharge90"`
	WeeksEligibleWithin16wks                 *Float    `json:"weeksEligibleWithin16wks"`
}

FreelancerProfileStats represents aggregated freelancer performance stats.

func (*FreelancerProfileStats) Scan

func (x *FreelancerProfileStats) Scan(src any) error

Scan implements sql.Scanner for FreelancerProfileStats, decoding a JSON column value.

func (FreelancerProfileStats) Value

Value implements driver.Valuer for FreelancerProfileStats, encoding it as a JSON string.

type FreelancerProfileUserPreferences

type FreelancerProfileUserPreferences struct {
	VisibilityLevel        FreelancerProfileVisibility      `json:"visibilityLevel"`
	HideAgencyEarnings     *Boolean                         `json:"hideAgencyEarnings"`
	HideEarnings           *Boolean                         `json:"hideEarnings"`
	ExposeFullName         Boolean                          `json:"exposeFullName"`
	ClientFeedbackOptional *Boolean                         `json:"clientFeedbackOptional"`
	ProjectTypePreference  *FreelancerProjectTypePreference `json:"projectTypePreference"`
	HideJss                Boolean                          `json:"hideJss"`
}

FreelancerProfileUserPreferences represents user preferences of the profile.

func (*FreelancerProfileUserPreferences) Scan

Scan implements sql.Scanner for FreelancerProfileUserPreferences, decoding a JSON column value.

func (FreelancerProfileUserPreferences) Value

Value implements driver.Valuer for FreelancerProfileUserPreferences, encoding it as a JSON string.

type FreelancerProfileVerifications

type FreelancerProfileVerifications struct {
	IdVerified     Boolean `json:"idVerified"`
	PhoneVerified  Boolean `json:"phoneVerified"`
	WebcamVerified Boolean `json:"webcamVerified"`
	IdBadgeStatus  *String `json:"idBadgeStatus"`
}

FreelancerProfileVerifications represents freelancer profile verifications.

func (*FreelancerProfileVerifications) Scan

Scan implements sql.Scanner for FreelancerProfileVerifications, decoding a JSON column value.

func (FreelancerProfileVerifications) Value

Value implements driver.Valuer for FreelancerProfileVerifications, encoding it as a JSON string.

type FreelancerProfileVisibility

type FreelancerProfileVisibility string

FreelancerProfileVisibility represents freelancer profile visibility.

const (
	FreelancerProfileVisibilityPublic          FreelancerProfileVisibility = "PUBLIC"
	FreelancerProfileVisibilityOnlyUpworkUsers FreelancerProfileVisibility = "ONLY_UPWORK_USERS"
	FreelancerProfileVisibilityPrivate         FreelancerProfileVisibility = "PRIVATE"
	FreelancerProfileVisibilityAuth            FreelancerProfileVisibility = "AUTH"
)

type FreelancerProfilesSearchRecord

type FreelancerProfilesSearchRecord struct {
	ID                  *ID                                      `json:"id"`
	Title               *String                                  `json:"title"`
	Description         *String                                  `json:"description"`
	ShortName           *String                                  `json:"shortName"`
	Ciphertext          *String                                  `json:"ciphertext"`
	Portrait            *String                                  `json:"portrait"`
	LastActiveDateTime  *String                                  `json:"lastActiveDateTime"`
	TotalHourlyJobs     *Int                                     `json:"totalHourlyJobs"`
	TotalFixedPriceJobs *Int                                     `json:"totalFixedPriceJobs"`
	Skills              []*Skill                                 `json:"skills"`
	HourlyRate          *Money                                   `json:"hourlyRate"`
	TopRatedStatus      *String                                  `json:"topRatedStatus"`
	AvgFeedbackScore    *Float                                   `json:"avgFeedbackScore"`
	TotalFeedbackCount  *Float                                   `json:"totalFeedbackCount"`
	HideEarnings        *Boolean                                 `json:"hideEarnings"`
	Freelancer          *CurrentUser                             `json:"freelancer"`
	Location            *FreelancerSearchResultLocation          `json:"location"`
	Contracts           []*FreelancerSearchResultContractSummary `json:"contracts"`
}

FreelancerProfilesSearchRecord represents a freelancer profile search result record.

func (*FreelancerProfilesSearchRecord) Scan

Scan implements sql.Scanner for FreelancerProfilesSearchRecord, decoding a JSON column value.

func (FreelancerProfilesSearchRecord) Value

Value implements driver.Valuer for FreelancerProfilesSearchRecord, encoding it as a JSON string.

type FreelancerProfilesSearchRecordInterface

type FreelancerProfilesSearchRecordInterface interface {
	// contains filtered or unexported methods
}

FreelancerProfilesSearchRecordInterface is the interface implemented by freelancer profile search records.

type FreelancerProfilesSearchRecordType

type FreelancerProfilesSearchRecordType = any

FreelancerProfilesSearchRecordType is the union of possible freelancer profile search record node types (FreelancerProfilesSearchRecord, UserFreelancerProfilesSearchRecord).

type FreelancerProfilesSearchRecordsConnection

type FreelancerProfilesSearchRecordsConnection struct {
	Edges      []*FreelancerProfilesSearchResultEdge `json:"edges"`
	PageInfo   *PageInfo                             `json:"pageInfo"`
	TotalCount *Int                                  `json:"totalCount"`
}

FreelancerProfilesSearchRecordsConnection represents the connection type for freelancer profile search results.

func (*FreelancerProfilesSearchRecordsConnection) Scan

Scan implements sql.Scanner for FreelancerProfilesSearchRecordsConnection, decoding a JSON column value.

func (FreelancerProfilesSearchRecordsConnection) Value

Value implements driver.Valuer for FreelancerProfilesSearchRecordsConnection, encoding it as a JSON string.

type FreelancerProfilesSearchResultEdge

type FreelancerProfilesSearchResultEdge struct {
	Node   FreelancerProfilesSearchRecordType `json:"node"`
	Cursor String                             `json:"cursor"`
}

FreelancerProfilesSearchResultEdge represents an edge in a freelancer profiles search connection.

func (*FreelancerProfilesSearchResultEdge) Scan

Scan implements sql.Scanner for FreelancerProfilesSearchResultEdge, decoding a JSON column value.

func (FreelancerProfilesSearchResultEdge) Value

Value implements driver.Valuer for FreelancerProfilesSearchResultEdge, encoding it as a JSON string.

type FreelancerProjectTypePreference

type FreelancerProjectTypePreference string

FreelancerProjectTypePreference represents freelancer project type preference.

const (
	FreelancerProjectTypePreferenceBothLongtermAndOnetime FreelancerProjectTypePreference = "BOTH_LONGTERM_AND_ONETIME"
	FreelancerProjectTypePreferenceLongerTerm3PlusMonths  FreelancerProjectTypePreference = "LONGER_TERM_3PLUS_MONTHS"
	FreelancerProjectTypePreferenceShorterTermLessThan3   FreelancerProjectTypePreference = "SHORTER_TERM_LESS_THAN_3MONTHS"
)

type FreelancerSearchResultContractFeedbackSummary

type FreelancerSearchResultContractFeedbackSummary struct {
	PublicComment *Boolean `json:"publicComment"`
	Comment       *String  `json:"comment"`
	Score         *Float   `json:"score"`
}

FreelancerSearchResultContractFeedbackSummary represents a contract feedback summary in freelancer search results.

func (*FreelancerSearchResultContractFeedbackSummary) Scan

Scan implements sql.Scanner for FreelancerSearchResultContractFeedbackSummary, decoding a JSON column value.

func (FreelancerSearchResultContractFeedbackSummary) Value

Value implements driver.Valuer for FreelancerSearchResultContractFeedbackSummary, encoding it as a JSON string.

type FreelancerSearchResultContractSummary

type FreelancerSearchResultContractSummary struct {
	Description     *String                                        `json:"description"`
	Feedback        *FreelancerSearchResultContractFeedbackSummary `json:"feedback"`
	Title           *String                                        `json:"title"`
	HourlyRate      *Money                                         `json:"hourlyRate"`
	TotalHours      *Int                                           `json:"totalHours"`
	TotalCharges    *Money                                         `json:"totalCharges"`
	StartedDateTime *String                                        `json:"startedDateTime"`
	EndDateTime     *String                                        `json:"endDateTime"`
}

FreelancerSearchResultContractSummary represents a contract summary in freelancer search results.

func (*FreelancerSearchResultContractSummary) Scan

Scan implements sql.Scanner for FreelancerSearchResultContractSummary, decoding a JSON column value.

func (FreelancerSearchResultContractSummary) Value

Value implements driver.Valuer for FreelancerSearchResultContractSummary, encoding it as a JSON string.

type FreelancerSearchResultLocation

type FreelancerSearchResultLocation struct {
	Country *String `json:"country"`
	City    *String `json:"city"`
	State   *String `json:"state"`
}

FreelancerSearchResultLocation represents a freelancer search result location.

func (*FreelancerSearchResultLocation) Scan

Scan implements sql.Scanner for FreelancerSearchResultLocation, decoding a JSON column value.

func (FreelancerSearchResultLocation) Value

Value implements driver.Valuer for FreelancerSearchResultLocation, encoding it as a JSON string.

type FreelancerSkillsConnection

type FreelancerSkillsConnection struct {
	Edges []*FreeLancerSkillEdge `json:"edges"`
}

FreelancerSkillsConnection represents a connection to the freelancer skills list.

func (*FreelancerSkillsConnection) Scan

func (x *FreelancerSkillsConnection) Scan(src any) error

Scan implements sql.Scanner for FreelancerSkillsConnection, decoding a JSON column value.

func (FreelancerSkillsConnection) Value

Value implements driver.Valuer for FreelancerSkillsConnection, encoding it as a JSON string.

type FreelancerType

type FreelancerType string

FreelancerType represents freelancer type.

const (
	FreelancerTypeAgency      FreelancerType = "Agency"
	FreelancerTypeIndependent FreelancerType = "Independent"
)

type FreelancerVisibility

type FreelancerVisibility struct {
	Locked             *Boolean `json:"locked"`
	Risky              *Boolean `json:"risky"`
	CurrentVisibility  *String  `json:"currentVisibility"`
	OriginalVisibility *String  `json:"originalVisibility"`
}

FreelancerVisibility represents freelancer visibility settings.

func (*FreelancerVisibility) Scan

func (x *FreelancerVisibility) Scan(src any) error

Scan implements sql.Scanner for FreelancerVisibility, decoding a JSON column value.

func (FreelancerVisibility) Value

func (x FreelancerVisibility) Value() (driver.Value, error)

Value implements driver.Valuer for FreelancerVisibility, encoding it as a JSON string.

type GenericOrganization

type GenericOrganization struct {
	ID                 ID                      `json:"id"`
	Rid                *ID                     `json:"rid"`
	LegacyId           *ID                     `json:"legacyId"`
	Name               *String                 `json:"name"`
	Type               *OrganizationType       `json:"type"`
	LegacyType         *OrganizationLegacyType `json:"legacyType"`
	Flag               *OrganizationFlag       `json:"flag"`
	ParentOrganization *GenericOrganization    `json:"parentOrganization"`
	Active             *Boolean                `json:"active"`
	Hidden             *Boolean                `json:"hidden"`
	Company            *PrivateCompanyInfo     `json:"company"`
	PhotoUrl           *String                 `json:"photoUrl"`
	CreationDate       *String                 `json:"creationDate"`
}

GenericOrganization represents an organization with common fields used across the API.

func (*GenericOrganization) Scan

func (x *GenericOrganization) Scan(src any) error

Scan implements sql.Scanner for GenericOrganization, decoding a JSON column value.

func (GenericOrganization) Value

func (x GenericOrganization) Value() (driver.Value, error)

Value implements driver.Valuer for GenericOrganization, encoding it as a JSON string.

type GenericUser

type GenericUser struct {
	ID                ID                 `json:"id"`
	Nid               ID                 `json:"nid"`
	Rid               ID                 `json:"rid"`
	Name              *String            `json:"name"`
	FirstName         *String            `json:"firstName"`
	LastName          *String            `json:"lastName"`
	PhotoUrl          *String            `json:"photoUrl"`
	PublicUrl         *String            `json:"publicUrl"`
	Email             *String            `json:"email"`
	Location          *UserLocation      `json:"location"`
	FreelancerProfile *FreelancerProfile `json:"freelancerProfile"`
	Ciphertext        *String            `json:"ciphertext"`
	TalentProfile     *TalentProfile     `json:"talentProfile"`
}

GenericUser represents a user with common fields used across the API.

func (*GenericUser) Scan

func (x *GenericUser) Scan(src any) error

Scan implements sql.Scanner for GenericUser, decoding a JSON column value.

func (GenericUser) Value

func (x GenericUser) Value() (driver.Value, error)

Value implements driver.Valuer for GenericUser, encoding it as a JSON string.

type HourlyContractTerm

type HourlyContractTerm struct {
	ID                ID            `json:"id"`
	HourlyRate        *Money        `json:"hourlyRate"`
	CreateDate        *String       `json:"createDate"`
	ModifyDate        *String       `json:"modifyDate"`
	ChangeDate        *String       `json:"changeDate"`
	CreatedBy         *ContractUser `json:"createdBy"`
	CreatorUserType   *CreatorType  `json:"creatorUserType"`
	ChangedBy         *ContractUser `json:"changedBy"`
	StartDate         *String       `json:"startDate"`
	ChangingUserType  *CreatorType  `json:"changingUserType"`
	ManualTimeAllowed *Boolean      `json:"manualTimeAllowed"`
	EndDate           *String       `json:"endDate"`
	JobType           *JobType      `json:"jobType"`
	PtcData           *PtcData      `json:"ptcData"`
}

HourlyContractTerm represents an hourly contract term including rate and dates.

func (*HourlyContractTerm) Scan

func (x *HourlyContractTerm) Scan(src any) error

Scan implements sql.Scanner for HourlyContractTerm, decoding a JSON column value.

func (HourlyContractTerm) Value

func (x HourlyContractTerm) Value() (driver.Value, error)

Value implements driver.Valuer for HourlyContractTerm, encoding it as a JSON string.

type HourlyContractTerms

type HourlyContractTerms struct {
	EngagementDuration     *EngagementDuration         `json:"engagementDuration"`
	EngagementType         EngagementType              `json:"engagementType"`
	NotSureProjectDuration *Boolean                    `json:"notSureProjectDuration"`
	HourlyBudgetType       *JobPostingHourlyBudgetType `json:"hourlyBudgetType"`
	HourlyBudgetMin        *Float                      `json:"hourlyBudgetMin"`
	HourlyBudgetMax        *Float                      `json:"hourlyBudgetMax"`
}

HourlyContractTerms represents hourly contract terms.

func (*HourlyContractTerms) Scan

func (x *HourlyContractTerms) Scan(src any) error

Scan implements sql.Scanner for HourlyContractTerms, decoding a JSON column value.

func (HourlyContractTerms) Value

func (x HourlyContractTerms) Value() (driver.Value, error)

Value implements driver.Valuer for HourlyContractTerms, encoding it as a JSON string.

type HourlyLimit

type HourlyLimit struct {
	ID          ID      `json:"id"`
	WeeklyLimit *String `json:"weeklyLimit"`
	CreateDate  *String `json:"createDate"`
	ModifyDate  *String `json:"modifyDate"`
	StartDate   *String `json:"startDate"`
	EndDate     *String `json:"endDate"`
	LegacyId    *Int    `json:"legacyId"`
}

HourlyLimit represents a weekly hourly limit period and identifiers.

func (*HourlyLimit) Scan

func (x *HourlyLimit) Scan(src any) error

Scan implements sql.Scanner for HourlyLimit, decoding a JSON column value.

func (HourlyLimit) Value

func (x HourlyLimit) Value() (driver.Value, error)

Value implements driver.Valuer for HourlyLimit, encoding it as a JSON string.

type HourlyTerms

type HourlyTerms struct {
	Rate              *Money   `json:"rate"`
	WeeklyHoursLimit  *Int     `json:"weeklyHoursLimit"`
	WeeklyStipend     *Money   `json:"weeklyStipend"`
	ManualTimeAllowed *Boolean `json:"manualTimeAllowed"`
}

HourlyTerms represents terms for an hourly rate offer.

func (*HourlyTerms) Scan

func (x *HourlyTerms) Scan(src any) error

Scan implements sql.Scanner for HourlyTerms, decoding a JSON column value.

func (HourlyTerms) Value

func (x HourlyTerms) Value() (driver.Value, error)

Value implements driver.Valuer for HourlyTerms, encoding it as a JSON string.

type I18nLocation

type I18nLocation struct {
	Country *Country `json:"country"`
}

I18nLocation contains location information used in i18n settings.

func (*I18nLocation) Scan

func (x *I18nLocation) Scan(src any) error

Scan implements sql.Scanner for I18nLocation, decoding a JSON column value.

func (I18nLocation) Value

func (x I18nLocation) Value() (driver.Value, error)

Value implements driver.Valuer for I18nLocation, encoding it as a JSON string.

type I18nSettings

type I18nSettings struct {
	CountrySupported          *Boolean                   `json:"countrySupported"`
	Location                  *I18nLocation              `json:"location"`
	Status                    *I18nSettingsStatus        `json:"status"`
	LocationViewType          *LocationViewType          `json:"locationViewType"`
	UserPreferredLocationType *UserPreferredLocationType `json:"userPreferredLocationType"`
	SettingsFlags             *I18nSettingsFlags         `json:"settingsFlags"`
}

I18nSettings represents a user's i18n entity.

func (*I18nSettings) Scan

func (x *I18nSettings) Scan(src any) error

Scan implements sql.Scanner for I18nSettings, decoding a JSON column value.

func (I18nSettings) Value

func (x I18nSettings) Value() (driver.Value, error)

Value implements driver.Valuer for I18nSettings, encoding it as a JSON string.

type I18nSettingsFlags

type I18nSettingsFlags struct {
	ShowDomesticLocationFilterOnFLSearch    *Boolean `json:"showDomesticLocationFilterOnFLSearch"`
	ShowJobSearch                           *Boolean `json:"showJobSearch"`
	ShowPhoneVerification                   *Boolean `json:"showPhoneVerification"`
	ShowSmfToUpdateAddress                  *Boolean `json:"showSmfToUpdateAddress"`
	ShowPersonalAddressAutocomplete         *Boolean `json:"showPersonalAddressAutocomplete"`
	ShowMessageContainer                    *Boolean `json:"showMessageContainer"`
	ShowLocationPreferenceOnJobPost         *Boolean `json:"showLocationPreferenceOnJobPost"`
	DefaultDomesticEnabled                  *Boolean `json:"defaultDomesticEnabled"`
	JobSearchDefaultedToON                  *Boolean `json:"jobSearchDefaultedToON"`
	ShowLocationVerificationOnFWH           *Boolean `json:"showLocationVerificationOnFWH"`
	DomesticEnabledForFreelancersOnFLSearch *Boolean `json:"domesticEnabledForFreelancersOnFLSearch"`
}

I18nSettingsFlags represents a set of i18n flags/checks.

func (*I18nSettingsFlags) Scan

func (x *I18nSettingsFlags) Scan(src any) error

Scan implements sql.Scanner for I18nSettingsFlags, decoding a JSON column value.

func (I18nSettingsFlags) Value

func (x I18nSettingsFlags) Value() (driver.Value, error)

Value implements driver.Valuer for I18nSettingsFlags, encoding it as a JSON string.

type I18nSettingsStatus

type I18nSettingsStatus string

I18nSettingsStatus represents i18n eligibility status.

const (
	I18nSettingsStatusEligible    I18nSettingsStatus = "ELIGIBLE"
	I18nSettingsStatusNonEligible I18nSettingsStatus = "NON_ELIGIBLE"
)

type ID

type ID = string

ID represents a GraphQL ID scalar — a string identifier.

type Int

type Int = int

Int represents a GraphQL Int scalar.

type InvitationPortfolio

type InvitationPortfolio struct {
	ID    *ID  `json:"id"`
	Order *Int `json:"order"`
}

func (*InvitationPortfolio) Scan

func (x *InvitationPortfolio) Scan(src any) error

Scan implements sql.Scanner for InvitationPortfolio, decoding a JSON column value.

func (InvitationPortfolio) Value

func (x InvitationPortfolio) Value() (driver.Value, error)

Value implements driver.Valuer for InvitationPortfolio, encoding it as a JSON string.

type InvitationsSortBy

type InvitationsSortBy string

InvitationsSortBy represents sortable fields for invitations.

const (
	InvitationsSortByCreated  InvitationsSortBy = "CREATED"
	InvitationsSortByModified InvitationsSortBy = "MODIFIED"
)

type InviteToTeamFailedResponse

type InviteToTeamFailedResponse struct {
	Code       *String           `json:"code"`
	Message    *String           `json:"message"`
	Invitation *FailedInvitation `json:"invitation"`
}

InviteToTeamFailedResponse represents a failed response for invite to team.

func (*InviteToTeamFailedResponse) Scan

func (x *InviteToTeamFailedResponse) Scan(src any) error

Scan implements sql.Scanner for InviteToTeamFailedResponse, decoding a JSON column value.

func (InviteToTeamFailedResponse) Value

Value implements driver.Valuer for InviteToTeamFailedResponse, encoding it as a JSON string.

type InviteToTeamFlow

type InviteToTeamFlow string

InviteToTeamFlow represents invite to team flow type.

const (
	InviteToTeamFlowHelpMeHire                  InviteToTeamFlow = "HELP_ME_HIRE"
	InviteToTeamFlowDetectAndRedirect           InviteToTeamFlow = "DETECT_AND_REDIRECT"
	InviteToTeamFlowHelpMeHireJobPostForm       InviteToTeamFlow = "HELP_ME_HIRE_JOB_POST_FORM"
	InviteToTeamFlowHelpMeHireProposalManager   InviteToTeamFlow = "HELP_ME_HIRE_PROPOSAL_MANAGER"
	InviteToTeamFlowHelpMeHireFreelancerProfile InviteToTeamFlow = "HELP_ME_HIRE_FREELANCER_PROFILE"
	InviteToTeamFlowHelpMeHireStandalonePage    InviteToTeamFlow = "HELP_ME_HIRE_STANDALONE_PAGE"
	InviteToTeamFlowHelpMeHireDashInterviewRoom InviteToTeamFlow = "HELP_ME_HIRE_DASH_INTERVIEW_ROOM"
	InviteToTeamFlowHelpMeHireDashContractRoom  InviteToTeamFlow = "HELP_ME_HIRE_DASH_CONTRACT_ROOM"
	InviteToTeamFlowHelpMeHireGlobalNav         InviteToTeamFlow = "HELP_ME_HIRE_GLOBAL_NAV"
	InviteToTeamFlowHelpMeHireJobsHomeMobile    InviteToTeamFlow = "HELP_ME_HIRE_JOBS_HOME_MOBILE"
	InviteToTeamFlowHelpMeHireJobsHomeDesktop   InviteToTeamFlow = "HELP_ME_HIRE_JOBS_HOME_DESKTOP"
	InviteToTeamFlowClientInviteToTeam          InviteToTeamFlow = "CLIENT_INVITE_TO_TEAM"
	InviteToTeamFlowAgencyInviteToTeam          InviteToTeamFlow = "AGENCY_INVITE_TO_TEAM"
	InviteToTeamFlowHelpMeHireDash              InviteToTeamFlow = "HELP_ME_HIRE_DASH"
	InviteToTeamFlowDashInviteToRoom            InviteToTeamFlow = "DASH_INVITE_TO_ROOM"
	InviteToTeamFlowACToEACInvite               InviteToTeamFlow = "AC_TO_EAC_INVITE"
	InviteToTeamFlowByoEORAgency                InviteToTeamFlow = "BYO_EOR_AGENCY"
	InviteToTeamFlowHelpMeHire2JobPostForm      InviteToTeamFlow = "HELP_ME_HIRE2_JOB_POST_FORM"
	InviteToTeamFlowHelpMeHireTestResend        InviteToTeamFlow = "HELP_ME_HIRE_TEST_RESEND"
	InviteToTeamFlowHelpMeHire2JobsHomeShare    InviteToTeamFlow = "HELP_ME_HIRE2_JOBS_HOME_SHARE"
	InviteToTeamFlowHelpMeHire2AllJobsShare     InviteToTeamFlow = "HELP_ME_HIRE2_ALL_JOBS_SHARE"
	InviteToTeamFlowHelpMeHire2GlobalNav        InviteToTeamFlow = "HELP_ME_HIRE2_GLOBAL_NAV"
	InviteToTeamFlowHelpMeHire2JobsHomeMobile   InviteToTeamFlow = "HELP_ME_HIRE2_JOBS_HOME_MOBILE"
	InviteToTeamFlowHelpMeHire2JobsHomeDesktop  InviteToTeamFlow = "HELP_ME_HIRE2_JOBS_HOME_DESKTOP"
)

type InviteToTeamResponse

type InviteToTeamResponse struct {
	Succeeded []InviteToTeamSucceededResponse `json:"succeeded"`
	Failed    []InviteToTeamFailedResponse    `json:"failed"`
}

InviteToTeamResponse represents invite to team response details.

func (*InviteToTeamResponse) Scan

func (x *InviteToTeamResponse) Scan(src any) error

Scan implements sql.Scanner for InviteToTeamResponse, decoding a JSON column value.

func (InviteToTeamResponse) Value

func (x InviteToTeamResponse) Value() (driver.Value, error)

Value implements driver.Valuer for InviteToTeamResponse, encoding it as a JSON string.

type InviteToTeamSucceededResponse

type InviteToTeamSucceededResponse struct {
	ID    ID      `json:"id"`
	Token *String `json:"token"`
}

InviteToTeamSucceededResponse represents a success response for invite to team.

func (*InviteToTeamSucceededResponse) Scan

Scan implements sql.Scanner for InviteToTeamSucceededResponse, decoding a JSON column value.

func (InviteToTeamSucceededResponse) Value

Value implements driver.Valuer for InviteToTeamSucceededResponse, encoding it as a JSON string.

type JobActivity

type JobActivity struct {
	LastClientActivity      *String `json:"lastClientActivity"`
	InvitesSent             Int     `json:"invitesSent"`
	TotalInvitedToInterview Int     `json:"totalInvitedToInterview"`
	TotalHired              Int     `json:"totalHired"`
	TotalUnansweredInvites  Int     `json:"totalUnansweredInvites"`
	TotalOffered            Int     `json:"totalOffered"`
	TotalRecommended        *Int    `json:"totalRecommended"`
}

JobActivity represents activity metrics for a job posting.

func (*JobActivity) Scan

func (x *JobActivity) Scan(src any) error

Scan implements sql.Scanner for JobActivity, decoding a JSON column value.

func (JobActivity) Value

func (x JobActivity) Value() (driver.Value, error)

Value implements driver.Valuer for JobActivity, encoding it as a JSON string.

type JobCategory

type JobCategory struct {
	ID               ID                   `json:"id"`
	OntologyID       String               `json:"ontologyId"`
	Type             []OntologyEntityType `json:"type"`
	EntityStatus     OntologyEntityStatus `json:"entityStatus"`
	PreferredLabel   String               `json:"preferredLabel"`
	Definition       *String              `json:"definition"`
	CreatedDateTime  *String              `json:"createdDateTime"`
	ModifiedDateTime *String              `json:"modifiedDateTime"`
}

JobCategory represents a job category from the ontology.

func (*JobCategory) Scan

func (x *JobCategory) Scan(src any) error

Scan implements sql.Scanner for JobCategory, decoding a JSON column value.

func (JobCategory) Value

func (x JobCategory) Value() (driver.Value, error)

Value implements driver.Valuer for JobCategory, encoding it as a JSON string.

type JobDetailsMoney

type JobDetailsMoney struct {
	Amount       *Float  `json:"amount"`
	CurrencyCode *String `json:"currencyCode"`
}

JobDetailsMoney represents details for a job's money amount.

func (*JobDetailsMoney) Scan

func (x *JobDetailsMoney) Scan(src any) error

Scan implements sql.Scanner for JobDetailsMoney, decoding a JSON column value.

func (JobDetailsMoney) Value

func (x JobDetailsMoney) Value() (driver.Value, error)

Value implements driver.Valuer for JobDetailsMoney, encoding it as a JSON string.

type JobDuration

type JobDuration string

JobDuration represents job duration categories.

const (
	JobDurationWeek     JobDuration = "WEEK"
	JobDurationMonth    JobDuration = "MONTH"
	JobDurationQuarter  JobDuration = "QUARTER"
	JobDurationSemester JobDuration = "SEMESTER"
	JobDurationOngoing  JobDuration = "ONGOING"
)

type JobOpeningStatus

type JobOpeningStatus string

JobOpeningStatus represents job opening status.

const (
	JobOpeningStatusActive JobOpeningStatus = "ACTIVE"
	JobOpeningStatusFilled JobOpeningStatus = "FILLED"
	JobOpeningStatusClosed JobOpeningStatus = "CLOSED"
)

type JobPostDirectUploadLinkResponse

type JobPostDirectUploadLinkResponse struct {
	Uid           ID                  `json:"uid"`
	UploadUrl     String              `json:"uploadUrl"`
	FormKeyValues []*StringMapElement `json:"formKeyValues"`
}

JobPostDirectUploadLinkResponse represents a direct upload link response for a job posting attachment.

func (*JobPostDirectUploadLinkResponse) Scan

Scan implements sql.Scanner for JobPostDirectUploadLinkResponse, decoding a JSON column value.

func (JobPostDirectUploadLinkResponse) Value

Value implements driver.Valuer for JobPostDirectUploadLinkResponse, encoding it as a JSON string.

type JobPostDurationType

type JobPostDurationType string

JobPostDurationType represents defines the duration of the job post.

const (
	JobPostDurationTypeOneTimeProject JobPostDurationType = "ONE_TIME_PROJECT"
	JobPostDurationTypeOngoingNeed    JobPostDurationType = "ONGOING_NEED"
)

type JobPostSkillRelevance

type JobPostSkillRelevance string

JobPostSkillRelevance represents defines whether skills are mandatory or nice to have.

const (
	JobPostSkillRelevanceMandatory  JobPostSkillRelevance = "MANDATORY"
	JobPostSkillRelevanceNiceToHave JobPostSkillRelevance = "NICE_TO_HAVE"
)

type JobPostType

type JobPostType string

JobPostType represents job post type.

const (
	JobPostTypeHourly     JobPostType = "HOURLY"
	JobPostTypeFixedPrice JobPostType = "FIXED_PRICE"
)

type JobPosting

type JobPosting struct {
	ID                  ID                             `json:"id"`
	Version             *Int                           `json:"version"`
	Info                *JobPostingInfo                `json:"info"`
	Visibility          *AccessType                    `json:"visibility"`
	Ownership           *JobPostingOwnership           `json:"ownership"`
	Content             *JobPostingContent             `json:"content"`
	Attachment          []*JobPostingAttachment        `json:"attachment"`
	Classification      *JobPostingClassification      `json:"classification"`
	SegmentationData    *JobPostingSegmentationData    `json:"segmentationData"`
	ContractTerms       *JobPostingContractTerms       `json:"contractTerms"`
	ContractorSelection *JobPostingContractorSelection `json:"contractorSelection"`
	AdditionalInfo      *JobPostingAdditionalInfo      `json:"additionalInfo"`
	PtcInfo             *JobPostingPtcInfo             `json:"ptcInfo"`
	ProposalsStatistics *ProposalsStatistics           `json:"proposalsStatistics"`
	CustomFields        []*JobPostingCustomFields      `json:"customFields"`
}

JobPosting represents management side JobPosting information.

func (*JobPosting) Scan

func (x *JobPosting) Scan(src any) error

Scan implements sql.Scanner for JobPosting, decoding a JSON column value.

func (JobPosting) Value

func (x JobPosting) Value() (driver.Value, error)

Value implements driver.Valuer for JobPosting, encoding it as a JSON string.

type JobPostingAccess

type JobPostingAccess string

JobPostingAccess represents job posting access levels.

const (
	JobPostingAccessPublicIndex JobPostingAccess = "PUBLIC_INDEX"
	JobPostingAccessPublic      JobPostingAccess = "PUBLIC"
	JobPostingAccessPrivate     JobPostingAccess = "PRIVATE"
)

type JobPostingAdditionalInfo

type JobPostingAdditionalInfo struct {
	ClientNumberOfHiresOnCreate *Int     `json:"clientNumberOfHiresOnCreate"`
	ClientTotalSpentOnCreate    *Money   `json:"clientTotalSpentOnCreate"`
	DirectHire                  *Boolean `json:"directHire"`
	InvitePost                  *Boolean `json:"invitePost"`
	LastBuyerActivity           *String  `json:"lastBuyerActivity"`
}

JobPostingAdditionalInfo represents additional metadata captured at job creation.

func (*JobPostingAdditionalInfo) Scan

func (x *JobPostingAdditionalInfo) Scan(src any) error

Scan implements sql.Scanner for JobPostingAdditionalInfo, decoding a JSON column value.

func (JobPostingAdditionalInfo) Value

Value implements driver.Valuer for JobPostingAdditionalInfo, encoding it as a JSON string.

type JobPostingAttachment

type JobPostingAttachment struct {
	ID              ID      `json:"id"`
	SequenceNumber  Int     `json:"sequenceNumber"`
	FileName        String  `json:"fileName"`
	Link            *String `json:"link"`
	AfsFileLink     *String `json:"afsFileLink"`
	ContentLength   *Int    `json:"contentLength"`
	ContentType     *String `json:"contentType"`
	CreatedDateTime *String `json:"createdDateTime"`
}

JobPostingAttachment represents attachment metadata for a job posting.

func (*JobPostingAttachment) Scan

func (x *JobPostingAttachment) Scan(src any) error

Scan implements sql.Scanner for JobPostingAttachment, decoding a JSON column value.

func (JobPostingAttachment) Value

func (x JobPostingAttachment) Value() (driver.Value, error)

Value implements driver.Valuer for JobPostingAttachment, encoding it as a JSON string.

type JobPostingCategory

type JobPostingCategory struct {
	ID   ID      `json:"id"`
	Name String  `json:"name"`
	Slug *String `json:"slug"`
}

JobPostingCategory represents a job posting category.

func (*JobPostingCategory) Scan

func (x *JobPostingCategory) Scan(src any) error

Scan implements sql.Scanner for JobPostingCategory, decoding a JSON column value.

func (JobPostingCategory) Value

func (x JobPostingCategory) Value() (driver.Value, error)

Value implements driver.Valuer for JobPostingCategory, encoding it as a JSON string.

type JobPostingClassification

type JobPostingClassification struct {
	Category               *JobPostingCategory    `json:"category"`
	SubCategory            *JobSubPostingCategory `json:"subCategory"`
	Skills                 []*Skill               `json:"skills"`
	CustomSkills           []*CustomJobPostSkill  `json:"customSkills"`
	AdditionalSkills       []*Skill               `json:"additionalSkills"`
	OccupationId           *ID                    `json:"occupationId"`
	CustomAdditionalSkills []*String              `json:"customAdditionalSkills"`
}

JobPostingClassification represents classification info attached with the job posting.

func (*JobPostingClassification) Scan

func (x *JobPostingClassification) Scan(src any) error

Scan implements sql.Scanner for JobPostingClassification, decoding a JSON column value.

func (JobPostingClassification) Value

Value implements driver.Valuer for JobPostingClassification, encoding it as a JSON string.

type JobPostingConnection

type JobPostingConnection struct {
	TotalCount *Int             `json:"totalCount"`
	Edges      []JobPostingEdge `json:"edges"`
	PageInfo   *PageInfo        `json:"pageInfo"`
}

JobPostingConnection represents connection for management job postings.

func (*JobPostingConnection) Scan

func (x *JobPostingConnection) Scan(src any) error

Scan implements sql.Scanner for JobPostingConnection, decoding a JSON column value.

func (JobPostingConnection) Value

func (x JobPostingConnection) Value() (driver.Value, error)

Value implements driver.Valuer for JobPostingConnection, encoding it as a JSON string.

type JobPostingContent

type JobPostingContent struct {
	Title       String `json:"title"`
	Description String `json:"description"`
}

JobPostingContent represents user-facing job posting content.

func (*JobPostingContent) Scan

func (x *JobPostingContent) Scan(src any) error

Scan implements sql.Scanner for JobPostingContent, decoding a JSON column value.

func (JobPostingContent) Value

func (x JobPostingContent) Value() (driver.Value, error)

Value implements driver.Valuer for JobPostingContent, encoding it as a JSON string.

type JobPostingContractTerms

type JobPostingContractTerms struct {
	ContractStartDate       *String                  `json:"contractStartDate"`
	ContractEndDate         *String                  `json:"contractEndDate"`
	ContractType            ContractType             `json:"contractType"`
	OnSiteType              *OnSiteType              `json:"onSiteType"`
	PersonsToHire           *Int                     `json:"personsToHire"`
	ExperienceLevel         *ExperienceLevel         `json:"experienceLevel"`
	FixedPriceContractTerms *FixedPriceContractTerms `json:"fixedPriceContractTerms"`
	HourlyContractTerms     *HourlyContractTerms     `json:"hourlyContractTerms"`
}

JobPostingContractTerms represents contract terms for a job posting.

func (*JobPostingContractTerms) Scan

func (x *JobPostingContractTerms) Scan(src any) error

Scan implements sql.Scanner for JobPostingContractTerms, decoding a JSON column value.

func (JobPostingContractTerms) Value

Value implements driver.Valuer for JobPostingContractTerms, encoding it as a JSON string.

type JobPostingContractorSelection

type JobPostingContractorSelection struct {
	ProposalRequirement *JobPostingProposalRequirements `json:"proposalRequirement"`
	Qualification       *JobPostingQualification        `json:"qualification"`
	Location            *JobPostingLocation             `json:"location"`
}

JobPostingContractorSelection represents contractor selection criteria for a job posting.

func (*JobPostingContractorSelection) Scan

Scan implements sql.Scanner for JobPostingContractorSelection, decoding a JSON column value.

func (JobPostingContractorSelection) Value

Value implements driver.Valuer for JobPostingContractorSelection, encoding it as a JSON string.

type JobPostingCreateResponse

type JobPostingCreateResponse struct {
	ID                    ID      `json:"id"`
	QualificationsSaved   Boolean `json:"qualificationsSaved"`
	SkillsSaved           Boolean `json:"skillsSaved"`
	QuestionsSaved        Boolean `json:"questionsSaved"`
	SegmentationDataSaved Boolean `json:"segmentationDataSaved"`
	AttachmentsSaved      Boolean `json:"attachmentsSaved"`
	PtcInfoSaved          Boolean `json:"ptcInfoSaved"`
	JobPostingAdditional  Boolean `json:"jobPostingAdditional"`
	SandsJobPostSaved     Boolean `json:"sandsJobPostSaved"`
	CustomFieldsSaved     Boolean `json:"customFieldsSaved"`
	Version               *Int    `json:"version"`
}

JobPostingCreateResponse represents the response for creating a job posting.

func (*JobPostingCreateResponse) Scan

func (x *JobPostingCreateResponse) Scan(src any) error

Scan implements sql.Scanner for JobPostingCreateResponse, decoding a JSON column value.

func (JobPostingCreateResponse) Value

Value implements driver.Valuer for JobPostingCreateResponse, encoding it as a JSON string.

type JobPostingCustomFields

type JobPostingCustomFields struct {
	ResponseId   *ID     `json:"responseId"`
	ID           *ID     `json:"id"`
	DisplayValue *String `json:"displayValue"`
	Value        *String `json:"value"`
}

JobPostingCustomFields represents job posting custom fields.

func (*JobPostingCustomFields) Scan

func (x *JobPostingCustomFields) Scan(src any) error

Scan implements sql.Scanner for JobPostingCustomFields, decoding a JSON column value.

JobPostingCustomFields has its own Value field, so it cannot also implement driver.Valuer (Go disallows a method and field sharing a name); use valueJSON(x) directly when writing this type to a database column.

type JobPostingEdge

type JobPostingEdge struct {
	Cursor String      `json:"cursor"`
	Node   *JobPosting `json:"node"`
}

JobPostingEdge represents an edge in management job posting connection.

func (*JobPostingEdge) Scan

func (x *JobPostingEdge) Scan(src any) error

Scan implements sql.Scanner for JobPostingEdge, decoding a JSON column value.

func (JobPostingEdge) Value

func (x JobPostingEdge) Value() (driver.Value, error)

Value implements driver.Valuer for JobPostingEdge, encoding it as a JSON string.

type JobPostingHourlyBudgetType

type JobPostingHourlyBudgetType string

JobPostingHourlyBudgetType represents hourly budget type for job posting.

const (
	JobPostingHourlyBudgetTypeDefault     JobPostingHourlyBudgetType = "DEFAULT"
	JobPostingHourlyBudgetTypeManual      JobPostingHourlyBudgetType = "MANUAL"
	JobPostingHourlyBudgetTypeNotProvided JobPostingHourlyBudgetType = "NOT_PROVIDED"
)

type JobPostingInfo

type JobPostingInfo struct {
	Status                   *JobPostingStatus           `json:"status"`
	Company                  *CurrentOrganization        `json:"company"`
	AuditTime                *AuditTime                  `json:"auditTime"`
	Hidden                   *Boolean                    `json:"hidden"`
	SiteSource               *String                     `json:"siteSource"`
	KeepOpenOnHire           *Boolean                    `json:"keepOpenOnHire"`
	DraftJobPostingId        *ID                         `json:"draftJobPostingId"`
	PublishDateTime          *String                     `json:"publishDateTime"`
	FilledDateTime           *String                     `json:"filledDateTime"`
	SourcingUpdateForbidden  *Boolean                    `json:"sourcingUpdateForbidden"`
	SourcingUpdateCount      *Int                        `json:"sourcingUpdateCount"`
	Premium                  *Boolean                    `json:"premium"`
	LegacyCiphertext         *String                     `json:"legacyCiphertext"`
	HideBudget               *Boolean                    `json:"hideBudget"`
	CategoryId               *ID                         `json:"categoryId"`
	GroupId                  *ID                         `json:"groupId"`
	NotSureFreelancersToHire *Boolean                    `json:"notSureFreelancersToHire"`
	NotSureExperienceLevel   *Boolean                    `json:"notSureExperienceLevel"`
	HourlyBudgetType         *JobPostingHourlyBudgetType `json:"hourlyBudgetType"`
	HourlyBudgetMin          *Money                      `json:"hourlyBudgetMin"`
	HourlyBudgetMax          *Money                      `json:"hourlyBudgetMax"`
	ChangedByUser            *GenericUser                `json:"changedByUser"`
	ReasonId                 *ID                         `json:"reasonId"`
	ReasonName               *String                     `json:"reasonName"`
}

JobPostingInfo represents high-level job posting details.

func (*JobPostingInfo) Scan

func (x *JobPostingInfo) Scan(src any) error

Scan implements sql.Scanner for JobPostingInfo, decoding a JSON column value.

func (JobPostingInfo) Value

func (x JobPostingInfo) Value() (driver.Value, error)

Value implements driver.Valuer for JobPostingInfo, encoding it as a JSON string.

type JobPostingLocation

type JobPostingLocation struct {
	Countries                   []*String `json:"countries"`
	Regions                     []*Int    `json:"regions"`
	States                      []*String `json:"states"`
	Timezones                   []*String `json:"timezones"`
	LocalCheckRequired          *Boolean  `json:"localCheckRequired"`
	LocalMarket                 *Boolean  `json:"localMarket"`
	Areas                       []*Area   `json:"areas"`
	NotSureLocationPreference   *Boolean  `json:"notSureLocationPreference"`
	LocalDescription            *String   `json:"localDescription"`
	LocalFlexibilityDescription *String   `json:"localFlexibilityDescription"`
	Address                     *String   `json:"address"`
}

JobPostingLocation represents location constraints for a job posting.

func (*JobPostingLocation) Scan

func (x *JobPostingLocation) Scan(src any) error

Scan implements sql.Scanner for JobPostingLocation, decoding a JSON column value.

func (JobPostingLocation) Value

func (x JobPostingLocation) Value() (driver.Value, error)

Value implements driver.Valuer for JobPostingLocation, encoding it as a JSON string.

type JobPostingOwnership

type JobPostingOwnership struct {
	User          *GenericUser         `json:"user"`
	ClientCompany *CurrentOrganization `json:"clientCompany"`
	Company       *GenericOrganization `json:"company"`
	Team          *GenericOrganization `json:"team"`
}

JobPostingOwnership represents owner and organization associations for a job posting.

func (*JobPostingOwnership) Scan

func (x *JobPostingOwnership) Scan(src any) error

Scan implements sql.Scanner for JobPostingOwnership, decoding a JSON column value.

func (JobPostingOwnership) Value

func (x JobPostingOwnership) Value() (driver.Value, error)

Value implements driver.Valuer for JobPostingOwnership, encoding it as a JSON string.

type JobPostingProposalRequirements

type JobPostingProposalRequirements struct {
	CoverLetterRequired         *Boolean              `json:"coverLetterRequired"`
	FreelancerMilestonesAllowed *Boolean              `json:"freelancerMilestonesAllowed"`
	ScreeningQuestions          []*JobPostingQuestion `json:"screeningQuestions"`
}

JobPostingProposalRequirements represents proposal requirements for a job posting.

func (*JobPostingProposalRequirements) Scan

Scan implements sql.Scanner for JobPostingProposalRequirements, decoding a JSON column value.

func (JobPostingProposalRequirements) Value

Value implements driver.Valuer for JobPostingProposalRequirements, encoding it as a JSON string.

type JobPostingPtcInfo

type JobPostingPtcInfo struct {
	JobPostingPtcVisibility *JobPostingPtcVisibility `json:"jobPostingPtcVisibility"`
}

JobPostingPtcInfo represents Private Talent Cloud related info for a job posting.

func (*JobPostingPtcInfo) Scan

func (x *JobPostingPtcInfo) Scan(src any) error

Scan implements sql.Scanner for JobPostingPtcInfo, decoding a JSON column value.

func (JobPostingPtcInfo) Value

func (x JobPostingPtcInfo) Value() (driver.Value, error)

Value implements driver.Valuer for JobPostingPtcInfo, encoding it as a JSON string.

type JobPostingPtcStatus

type JobPostingPtcStatus string

JobPostingPtcStatus represents PTC status for job posting.

const (
	JobPostingPtcStatusOpen                 JobPostingPtcStatus = "OPEN"
	JobPostingPtcStatusCancelled            JobPostingPtcStatus = "CANCELLED"
	JobPostingPtcStatusFilled               JobPostingPtcStatus = "FILLED"
	JobPostingPtcStatusDraft                JobPostingPtcStatus = "DRAFT"
	JobPostingPtcStatusDeletedDraft         JobPostingPtcStatus = "DELETED_DRAFT"
	JobPostingPtcStatusVerificationPending  JobPostingPtcStatus = "VERIFICATION_PENDING"
	JobPostingPtcStatusPendingPaymentMethod JobPostingPtcStatus = "PENDING_PAYMENT_METHOD"
	JobPostingPtcStatusInReview             JobPostingPtcStatus = "IN_REVIEW"
)

type JobPostingPtcVisibility

type JobPostingPtcVisibility string

JobPostingPtcVisibility represents PTC visibility options for job posting.

const (
	JobPostingPtcVisibilityAnyUser             JobPostingPtcVisibility = "ANY_USER"
	JobPostingPtcVisibilityMemberSelectedCloud JobPostingPtcVisibility = "MEMBER_SELECTED_CLOUD"
	JobPostingPtcVisibilityOnlyInvited         JobPostingPtcVisibility = "ONLY_INVITED"
)

type JobPostingQualification

type JobPostingQualification struct {
	ContractorType     *ContractorType     `json:"contractorType"`
	EnglishProficiency *EnglishProficiency `json:"englishProficiency"`
	HasPortfolio       *Boolean            `json:"hasPortfolio"`
	RisingTalent       *Boolean            `json:"risingTalent"`
	JobSuccessScore    *Int                `json:"jobSuccessScore"`
	Earnings           *Earning            `json:"earnings"`
	PreferredGroups    []*PreferredGroup   `json:"preferredGroups"`
	PreferredTests     []*PreferredTest    `json:"preferredTests"`
}

JobPostingQualification represents qualification requirements for a job posting.

func (*JobPostingQualification) Scan

func (x *JobPostingQualification) Scan(src any) error

Scan implements sql.Scanner for JobPostingQualification, decoding a JSON column value.

func (JobPostingQualification) Value

Value implements driver.Valuer for JobPostingQualification, encoding it as a JSON string.

type JobPostingQuestion

type JobPostingQuestion struct {
	ID           ID            `json:"id"`
	Question     *String       `json:"question"`
	User         *GenericUser  `json:"user"`
	QuestionType *QuestionType `json:"questionType"`
	AuditTime    *AuditTime    `json:"auditTime"`
}

JobPostingQuestion represents a screening question for a job posting.

func (*JobPostingQuestion) Scan

func (x *JobPostingQuestion) Scan(src any) error

Scan implements sql.Scanner for JobPostingQuestion, decoding a JSON column value.

func (JobPostingQuestion) Value

func (x JobPostingQuestion) Value() (driver.Value, error)

Value implements driver.Valuer for JobPostingQuestion, encoding it as a JSON string.

type JobPostingSegmentationData

type JobPostingSegmentationData struct {
	SegmentationValues []*JobPostingSegmentationValue `json:"segmentationValues"`
}

JobPostingSegmentationData represents segmentation data for a job posting.

func (*JobPostingSegmentationData) Scan

func (x *JobPostingSegmentationData) Scan(src any) error

Scan implements sql.Scanner for JobPostingSegmentationData, decoding a JSON column value.

func (JobPostingSegmentationData) Value

Value implements driver.Valuer for JobPostingSegmentationData, encoding it as a JSON string.

type JobPostingSegmentationValue

type JobPostingSegmentationValue struct {
	ID               ID                `json:"id"`
	Label            *String           `json:"label"`
	ReferenceName    *String           `json:"referenceName"`
	SortOrder        *Int              `json:"sortOrder"`
	SegmentationType *SegmentationType `json:"segmentationType"`
	AuditTime        *AuditTime        `json:"auditTime"`
	Skill            *Skill            `json:"skill"`
}

JobPostingSegmentationValue represents a segmentation value entry for a job posting.

func (*JobPostingSegmentationValue) Scan

func (x *JobPostingSegmentationValue) Scan(src any) error

Scan implements sql.Scanner for JobPostingSegmentationValue, decoding a JSON column value.

func (JobPostingSegmentationValue) Value

Value implements driver.Valuer for JobPostingSegmentationValue, encoding it as a JSON string.

type JobPostingStatus

type JobPostingStatus string

JobPostingStatus represents job posting status values.

const (
	JobPostingStatusRequested            JobPostingStatus = "REQUESTED"
	JobPostingStatusCancelled            JobPostingStatus = "CANCELLED"
	JobPostingStatusFilled               JobPostingStatus = "FILLED"
	JobPostingStatusDraft                JobPostingStatus = "DRAFT"
	JobPostingStatusDeletedDraft         JobPostingStatus = "DELETED_DRAFT"
	JobPostingStatusVerificationPending  JobPostingStatus = "VERIFICATION_PENDING"
	JobPostingStatusPendingPaymentMethod JobPostingStatus = "PENDING_PAYMENT_METHOD"
)

type JobPostingUpdateResponse

type JobPostingUpdateResponse struct {
	ID                    ID      `json:"id"`
	QualificationsSaved   Boolean `json:"qualificationsSaved"`
	SkillsSaved           Boolean `json:"skillsSaved"`
	QuestionsSaved        Boolean `json:"questionsSaved"`
	SegmentationDataSaved Boolean `json:"segmentationDataSaved"`
	AttachmentsSaved      Boolean `json:"attachmentsSaved"`
	PtcInfoSaved          Boolean `json:"ptcInfoSaved"`
	SandsJobPostSaved     Boolean `json:"sandsJobPostSaved"`
	Version               *Int    `json:"version"`
}

JobPostingUpdateResponse represents the response for updating a job posting.

func (*JobPostingUpdateResponse) Scan

func (x *JobPostingUpdateResponse) Scan(src any) error

Scan implements sql.Scanner for JobPostingUpdateResponse, decoding a JSON column value.

func (JobPostingUpdateResponse) Value

Value implements driver.Valuer for JobPostingUpdateResponse, encoding it as a JSON string.

type JobProposalsPersonNameCombined

type JobProposalsPersonNameCombined struct {
	FirstName *String `json:"firstName"`
	LastName  *String `json:"lastName"`
}

JobProposalsPersonNameCombined represents a job proposal's person name.

func (*JobProposalsPersonNameCombined) Scan

Scan implements sql.Scanner for JobProposalsPersonNameCombined, decoding a JSON column value.

func (JobProposalsPersonNameCombined) Value

Value implements driver.Valuer for JobProposalsPersonNameCombined, encoding it as a JSON string.

type JobStatus

type JobStatus string

JobStatus represents job status values.

const (
	JobStatusOpen       JobStatus = "Open"
	JobStatusInProgress JobStatus = "InProgress"
	JobStatusCompleted  JobStatus = "Completed"
	JobStatusCancelled  JobStatus = "Cancelled"
)

type JobSubPostingCategory

type JobSubPostingCategory struct {
	ID   ID      `json:"id"`
	Name String  `json:"name"`
	Slug *String `json:"slug"`
}

JobSubPostingCategory represents a job posting subcategory.

func (*JobSubPostingCategory) Scan

func (x *JobSubPostingCategory) Scan(src any) error

Scan implements sql.Scanner for JobSubPostingCategory, decoding a JSON column value.

func (JobSubPostingCategory) Value

func (x JobSubPostingCategory) Value() (driver.Value, error)

Value implements driver.Valuer for JobSubPostingCategory, encoding it as a JSON string.

type JobType

type JobType string

JobType represents engagement payment type associated with a contract.

const (
	JobTypeFixed  JobType = "FIXED"
	JobTypeHourly JobType = "HOURLY"
)

type Language

type Language struct {
	Iso639Code  String  `json:"iso639Code"`
	Active      Boolean `json:"active"`
	EnglishName String  `json:"englishName"`
}

Language represents a language definition with ISO code and display name.

func (*Language) Scan

func (x *Language) Scan(src any) error

Scan implements sql.Scanner for Language, decoding a JSON column value.

func (Language) Value

func (x Language) Value() (driver.Value, error)

Value implements driver.Valuer for Language, encoding it as a JSON string.

type LocationViewType

type LocationViewType string

LocationViewType represents location view type for displaying user location.

const (
	LocationViewTypeCountry   LocationViewType = "COUNTRY"
	LocationViewTypeCityState LocationViewType = "CITY_STATE"
	LocationViewTypeCity      LocationViewType = "CITY"
)

type Long

type Long = int64

Long represents a GraphQL Long scalar — a 64-bit signed integer.

type ManualReviewStatus

type ManualReviewStatus string

ManualReviewStatus represents status of manual review for job postings.

const (
	ManualReviewStatusApproved  ManualReviewStatus = "APPROVED"
	ManualReviewStatusCancelled ManualReviewStatus = "CANCELLED"
)

type Map

type Map = map[string]any

Map represents a GraphQL Map scalar — a custom scalar that handles maps.

type MarketPlaceJobSearchLocation

type MarketPlaceJobSearchLocation struct {
	City        *String `json:"city"`
	Country     *String `json:"country"`
	Timezone    *String `json:"timezone"`
	State       *String `json:"state"`
	OffsetToUTC *String `json:"offsetToUTC"`
}

MarketPlaceJobSearchLocation represents client location details shown in search results.

func (*MarketPlaceJobSearchLocation) Scan

func (x *MarketPlaceJobSearchLocation) Scan(src any) error

Scan implements sql.Scanner for MarketPlaceJobSearchLocation, decoding a JSON column value.

func (MarketPlaceJobSearchLocation) Value

Value implements driver.Valuer for MarketPlaceJobSearchLocation, encoding it as a JSON string.

type MarketplaceAdditionalSearchInfo

type MarketplaceAdditionalSearchInfo struct {
	HighlightTitle *String `json:"highlightTitle"`
}

MarketplaceAdditionalSearchInfo represents additional search info for marketplace results.

func (*MarketplaceAdditionalSearchInfo) Scan

Scan implements sql.Scanner for MarketplaceAdditionalSearchInfo, decoding a JSON column value.

func (MarketplaceAdditionalSearchInfo) Value

Value implements driver.Valuer for MarketplaceAdditionalSearchInfo, encoding it as a JSON string.

type MarketplaceContractTerms

type MarketplaceContractTerms struct {
	ContractStartDate       *String                  `json:"contractStartDate"`
	ContractEndDate         *String                  `json:"contractEndDate"`
	ContractType            ContractType             `json:"contractType"`
	OnSiteType              *OnSiteType              `json:"onSiteType"`
	PersonsToHire           Int                      `json:"personsToHire"`
	ExperienceLevel         *ExperienceLevel         `json:"experienceLevel"`
	FixedPriceContractTerms *FixedPriceContractTerms `json:"fixedPriceContractTerms"`
	HourlyContractTerms     *HourlyContractTerms     `json:"hourlyContractTerms"`
	NotSurePersonsToHire    *Boolean                 `json:"notSurePersonsToHire"`
	NotSureExperiencelevel  *Boolean                 `json:"notSureExperiencelevel"`
}

MarketplaceContractTerms represents contract terms for a marketplace job posting.

func (*MarketplaceContractTerms) Scan

func (x *MarketplaceContractTerms) Scan(src any) error

Scan implements sql.Scanner for MarketplaceContractTerms, decoding a JSON column value.

func (MarketplaceContractTerms) Value

Value implements driver.Valuer for MarketplaceContractTerms, encoding it as a JSON string.

type MarketplaceContractorSelection

type MarketplaceContractorSelection struct {
	ProposalRequirement *MarketplaceProposalRequirements `json:"proposalRequirement"`
	Qualification       *MarketplaceQualification        `json:"qualification"`
	Location            *MarketplaceLocation             `json:"location"`
}

MarketplaceContractorSelection represents contractor selection for a marketplace job posting.

func (*MarketplaceContractorSelection) Scan

Scan implements sql.Scanner for MarketplaceContractorSelection, decoding a JSON column value.

func (MarketplaceContractorSelection) Value

Value implements driver.Valuer for MarketplaceContractorSelection, encoding it as a JSON string.

type MarketplaceJobPosting

type MarketplaceJobPosting struct {
	ID                               ID                                `json:"id"`
	WorkFlowState                    *MarketplacePostingWorkFlowState  `json:"workFlowState"`
	Ownership                        *MarketplacePostingOwnership      `json:"ownership"`
	Annotations                      *MarketplacePostingAnnotations    `json:"annotations"`
	ActivityStat                     *MarketplacePostingActivityStat   `json:"activityStat"`
	Content                          *MarketplaceJobPostingContent     `json:"content"`
	Attachments                      []*MarketplacePostingAttachment   `json:"attachments"`
	Classification                   *MarketplacePostingClassification `json:"classification"`
	SegmentationData                 *MarketplaceSegmentationData      `json:"segmentationData"`
	ContractTerms                    *MarketplaceContractTerms         `json:"contractTerms"`
	ContractorSelection              *MarketplaceContractorSelection   `json:"contractorSelection"`
	AdditionalSearchInfo             *MarketplaceAdditionalSearchInfo  `json:"additionalSearchInfo"`
	ClientCompany                    *PrivateCompanyInfo               `json:"clientCompany"`
	ClientCompanyPublic              *MarketplacePublicCompanyInfo     `json:"clientCompanyPublic"`
	CanClientReceiveContractProposal Boolean                           `json:"canClientReceiveContractProposal"`
}

MarketplaceJobPosting represents a marketplace job posting aggregate.

func (*MarketplaceJobPosting) Scan

func (x *MarketplaceJobPosting) Scan(src any) error

Scan implements sql.Scanner for MarketplaceJobPosting, decoding a JSON column value.

func (MarketplaceJobPosting) Value

func (x MarketplaceJobPosting) Value() (driver.Value, error)

Value implements driver.Valuer for MarketplaceJobPosting, encoding it as a JSON string.

type MarketplaceJobPostingContent

type MarketplaceJobPostingContent struct {
	Title       String `json:"title"`
	Description String `json:"description"`
}

MarketplaceJobPostingContent represents public marketplace job posting content.

func (*MarketplaceJobPostingContent) Scan

func (x *MarketplaceJobPostingContent) Scan(src any) error

Scan implements sql.Scanner for MarketplaceJobPostingContent, decoding a JSON column value.

func (MarketplaceJobPostingContent) Value

Value implements driver.Valuer for MarketplaceJobPostingContent, encoding it as a JSON string.

type MarketplaceJobPostingSearchClientInfo

type MarketplaceJobPostingSearchClientInfo struct {
	MemberSinceDateTime  *String                       `json:"memberSinceDateTime"`
	TotalHires           Int                           `json:"totalHires"`
	TotalPostedJobs      Int                           `json:"totalPostedJobs"`
	TotalSpent           *Money                        `json:"totalSpent"`
	VerificationStatus   *ClientVerificationStatus     `json:"verificationStatus"`
	Location             *MarketPlaceJobSearchLocation `json:"location"`
	TotalReviews         Int                           `json:"totalReviews"`
	TotalFeedback        Float                         `json:"totalFeedback"`
	CompanyRid           ID                            `json:"companyRid"`
	CompanyName          *String                       `json:"companyName"`
	EdcUserId            ID                            `json:"edcUserId"`
	LastContractPlatform *String                       `json:"lastContractPlatform"`
	LastContractRid      *ID                           `json:"lastContractRid"`
	LastContractTitle    *String                       `json:"lastContractTitle"`
	CompanyOrgUid        ID                            `json:"companyOrgUid"`
	HasFinancialPrivacy  Boolean                       `json:"hasFinancialPrivacy"`
}

MarketplaceJobPostingSearchClientInfo represents client information associated with a marketplace job posting search result.

func (*MarketplaceJobPostingSearchClientInfo) Scan

Scan implements sql.Scanner for MarketplaceJobPostingSearchClientInfo, decoding a JSON column value.

func (MarketplaceJobPostingSearchClientInfo) Value

Value implements driver.Valuer for MarketplaceJobPostingSearchClientInfo, encoding it as a JSON string.

type MarketplaceJobPostingSearchConnection

type MarketplaceJobPostingSearchConnection struct {
	TotalCount *Int                               `json:"totalCount"`
	Edges      []*MarketplaceJobpostingSearchEdge `json:"edges"`
	PageInfo   *PageInfo                          `json:"pageInfo"`
}

MarketplaceJobPostingSearchConnection represents connection for marketplace job posting search.

func (*MarketplaceJobPostingSearchConnection) Scan

Scan implements sql.Scanner for MarketplaceJobPostingSearchConnection, decoding a JSON column value.

func (MarketplaceJobPostingSearchConnection) Value

Value implements driver.Valuer for MarketplaceJobPostingSearchConnection, encoding it as a JSON string.

type MarketplaceJobPostingSearchOccupation

type MarketplaceJobPostingSearchOccupation struct {
	ID        ID     `json:"id"`
	PrefLabel String `json:"prefLabel"`
}

MarketplaceJobPostingSearchOccupation represents an occupation item used in search results.

func (*MarketplaceJobPostingSearchOccupation) Scan

Scan implements sql.Scanner for MarketplaceJobPostingSearchOccupation, decoding a JSON column value.

func (MarketplaceJobPostingSearchOccupation) Value

Value implements driver.Valuer for MarketplaceJobPostingSearchOccupation, encoding it as a JSON string.

type MarketplaceJobPostingSearchOccupations

type MarketplaceJobPostingSearchOccupations struct {
	Category          MarketplaceJobPostingSearchOccupation    `json:"category"`
	SubCategories     []*MarketplaceJobPostingSearchOccupation `json:"subCategories"`
	OccupationService *MarketplaceJobPostingSearchOccupation   `json:"occupationService"`
}

MarketplaceJobPostingSearchOccupations represents a group of occupations associated with a search result.

func (*MarketplaceJobPostingSearchOccupations) Scan

Scan implements sql.Scanner for MarketplaceJobPostingSearchOccupations, decoding a JSON column value.

func (MarketplaceJobPostingSearchOccupations) Value

Value implements driver.Valuer for MarketplaceJobPostingSearchOccupations, encoding it as a JSON string.

type MarketplaceJobPostingSearchRelevance

type MarketplaceJobPostingSearchRelevance struct {
	ID                             ID      `json:"id"`
	EffectiveCandidates            Int     `json:"effectiveCandidates"`
	RecommendedEffectiveCandidates Int     `json:"recommendedEffectiveCandidates"`
	UniqueImpressions              Int     `json:"uniqueImpressions"`
	PublishTime                    *String `json:"publishTime"`
	HoursInactive                  Int     `json:"hoursInactive"`
}

MarketplaceJobPostingSearchRelevance represents relevance metrics for a marketplace job posting search result.

func (*MarketplaceJobPostingSearchRelevance) Scan

Scan implements sql.Scanner for MarketplaceJobPostingSearchRelevance, decoding a JSON column value.

func (MarketplaceJobPostingSearchRelevance) Value

Value implements driver.Valuer for MarketplaceJobPostingSearchRelevance, encoding it as a JSON string.

type MarketplaceJobPostingSearchResult

type MarketplaceJobPostingSearchResult struct {
	ID                                   ID                                      `json:"id"`
	Job                                  *MarketplaceJobPosting                  `json:"job"`
	Title                                String                                  `json:"title"`
	Description                          String                                  `json:"description"`
	Ciphertext                           String                                  `json:"ciphertext"`
	Duration                             *JobDuration                            `json:"duration"`
	DurationLabel                        *String                                 `json:"durationLabel"`
	Engagement                           *String                                 `json:"engagement"`
	Amount                               Money                                   `json:"amount"`
	RecordNumber                         String                                  `json:"recordNumber"`
	ExperienceLevel                      *FreelancerProfileExperienceLevel       `json:"experienceLevel"`
	Category                             *String                                 `json:"category"`
	Subcategory                          *String                                 `json:"subcategory"`
	FreelancersToHire                    Int                                     `json:"freelancersToHire"`
	Relevance                            MarketplaceJobPostingSearchRelevance    `json:"relevance"`
	Enterprise                           Boolean                                 `json:"enterprise"`
	RelevanceEncoded                     String                                  `json:"relevanceEncoded"`
	TotalApplicants                      Int                                     `json:"totalApplicants"`
	PreferredFreelancerLocation          []*String                               `json:"preferredFreelancerLocation"`
	PreferredFreelancerLocationMandatory *Boolean                                `json:"preferredFreelancerLocationMandatory"`
	Premium                              Boolean                                 `json:"premium"`
	ClientNotSureFields                  []*String                               `json:"clientNotSureFields"`
	ClientPrivateFields                  []*String                               `json:"clientPrivateFields"`
	Applied                              Boolean                                 `json:"applied"`
	CreatedDateTime                      String                                  `json:"createdDateTime"`
	PublishedDateTime                    String                                  `json:"publishedDateTime"`
	RenewedDateTime                      *String                                 `json:"renewedDateTime"`
	Client                               MarketplaceJobPostingSearchClientInfo   `json:"client"`
	Skills                               []*MarketplaceJobPostingSearchSkill     `json:"skills"`
	Occupations                          *MarketplaceJobPostingSearchOccupations `json:"occupations"`
	HourlyBudgetType                     *JobPostingHourlyBudgetType             `json:"hourlyBudgetType"`
	HourlyBudgetMin                      *Money                                  `json:"hourlyBudgetMin"`
	HourlyBudgetMax                      *Money                                  `json:"hourlyBudgetMax"`
	LocalJobUserDistance                 *String                                 `json:"localJobUserDistance"`
	WeeklyBudget                         *Money                                  `json:"weeklyBudget"`
	EngagementDuration                   *EngagementDuration                     `json:"engagementDuration"`
	TotalFreelancersToHire               *Int                                    `json:"totalFreelancersToHire"`
	TeamId                               *ID                                     `json:"teamId"`
	FreelancerClientRelation             *FreelancerClientRelation               `json:"freelancerClientRelation"`
}

MarketplaceJobPostingSearchResult represents a search result entry for a marketplace job posting.

func (*MarketplaceJobPostingSearchResult) Scan

Scan implements sql.Scanner for MarketplaceJobPostingSearchResult, decoding a JSON column value.

func (MarketplaceJobPostingSearchResult) Value

Value implements driver.Valuer for MarketplaceJobPostingSearchResult, encoding it as a JSON string.

type MarketplaceJobPostingSearchSkill

type MarketplaceJobPostingSearchSkill struct {
	ID          *ID      `json:"id"`
	Name        String   `json:"name"`
	PrettyName  String   `json:"prettyName"`
	Highlighted *Boolean `json:"highlighted"`
}

MarketplaceJobPostingSearchSkill represents skill metadata attached to a search result.

func (*MarketplaceJobPostingSearchSkill) Scan

Scan implements sql.Scanner for MarketplaceJobPostingSearchSkill, decoding a JSON column value.

func (MarketplaceJobPostingSearchSkill) Value

Value implements driver.Valuer for MarketplaceJobPostingSearchSkill, encoding it as a JSON string.

type MarketplaceJobPostingSearchSortField

type MarketplaceJobPostingSearchSortField string

MarketplaceJobPostingSearchSortField represents sort fields for marketplace job posting search.

const (
	MarketplaceJobPostingSearchSortFieldRecency           MarketplaceJobPostingSearchSortField = "RECENCY"
	MarketplaceJobPostingSearchSortFieldRelevance         MarketplaceJobPostingSearchSortField = "RELEVANCE"
	MarketplaceJobPostingSearchSortFieldClientTotalCharge MarketplaceJobPostingSearchSortField = "CLIENT_TOTAL_CHARGE"
	MarketplaceJobPostingSearchSortFieldClientRating      MarketplaceJobPostingSearchSortField = "CLIENT_RATING"
)

type MarketplaceJobPostingSearchType

type MarketplaceJobPostingSearchType string

MarketplaceJobPostingSearchType represents context and method of the job search.

const (
	MarketplaceJobPostingSearchTypeUserJobsSearch MarketplaceJobPostingSearchType = "USER_JOBS_SEARCH"
)

type MarketplaceJobPostingsContents

type MarketplaceJobPostingsContents struct {
	ID                ID                             `json:"id"`
	Ciphertext        String                         `json:"ciphertext"`
	Title             String                         `json:"title"`
	Description       String                         `json:"description"`
	PublishedDateTime String                         `json:"publishedDateTime"`
	Annotations       *MarketplacePostingAnnotations `json:"annotations"`
}

MarketplaceJobPostingsContents represents contents of a marketplace job posting by ID.

func (*MarketplaceJobPostingsContents) Scan

Scan implements sql.Scanner for MarketplaceJobPostingsContents, decoding a JSON column value.

func (MarketplaceJobPostingsContents) Value

Value implements driver.Valuer for MarketplaceJobPostingsContents, encoding it as a JSON string.

type MarketplaceJobpostingSearchEdge

type MarketplaceJobpostingSearchEdge struct {
	Cursor String                            `json:"cursor"`
	Node   MarketplaceJobPostingSearchResult `json:"node"`
}

MarketplaceJobpostingSearchEdge represents an edge for marketplace job posting search results.

func (*MarketplaceJobpostingSearchEdge) Scan

Scan implements sql.Scanner for MarketplaceJobpostingSearchEdge, decoding a JSON column value.

func (MarketplaceJobpostingSearchEdge) Value

Value implements driver.Valuer for MarketplaceJobpostingSearchEdge, encoding it as a JSON string.

type MarketplaceLocation

type MarketplaceLocation struct {
	Countries                   []*String `json:"countries"`
	States                      []*String `json:"states"`
	Timezones                   []*String `json:"timezones"`
	LocalCheckRequired          *Boolean  `json:"localCheckRequired"`
	LocalMarket                 *Boolean  `json:"localMarket"`
	Areas                       []*Area   `json:"areas"`
	NotSureLocationPreference   *Boolean  `json:"notSureLocationPreference"`
	LocalDescription            *String   `json:"localDescription"`
	LocalFlexibilityDescription *String   `json:"localFlexibilityDescription"`
}

MarketplaceLocation represents location constraints for marketplace.

func (*MarketplaceLocation) Scan

func (x *MarketplaceLocation) Scan(src any) error

Scan implements sql.Scanner for MarketplaceLocation, decoding a JSON column value.

func (MarketplaceLocation) Value

func (x MarketplaceLocation) Value() (driver.Value, error)

Value implements driver.Valuer for MarketplaceLocation, encoding it as a JSON string.

type MarketplacePostingActivityStat

type MarketplacePostingActivityStat struct {
	ApplicationsBidStats *ApplicationsBidStats `json:"applicationsBidStats"`
	JobActivity          *JobActivity          `json:"jobActivity"`
}

MarketplacePostingActivityStat represents activity statistics for a marketplace job posting.

func (*MarketplacePostingActivityStat) Scan

Scan implements sql.Scanner for MarketplacePostingActivityStat, decoding a JSON column value.

func (MarketplacePostingActivityStat) Value

Value implements driver.Valuer for MarketplacePostingActivityStat, encoding it as a JSON string.

type MarketplacePostingAnnotations

type MarketplacePostingAnnotations struct {
	Tags         []*String           `json:"tags"`
	CustomFields []*StringMapElement `json:"customFields"`
}

MarketplacePostingAnnotations represents annotations for a marketplace job posting.

func (*MarketplacePostingAnnotations) Scan

Scan implements sql.Scanner for MarketplacePostingAnnotations, decoding a JSON column value.

func (MarketplacePostingAnnotations) Value

Value implements driver.Valuer for MarketplacePostingAnnotations, encoding it as a JSON string.

type MarketplacePostingAttachment

type MarketplacePostingAttachment struct {
	ID             ID      `json:"id"`
	SequenceNumber Int     `json:"sequenceNumber"`
	FileName       String  `json:"fileName"`
	FileSize       Int     `json:"fileSize"`
	Link           *String `json:"link"`
}

MarketplacePostingAttachment represents attachment metadata for marketplace job posting.

func (*MarketplacePostingAttachment) Scan

func (x *MarketplacePostingAttachment) Scan(src any) error

Scan implements sql.Scanner for MarketplacePostingAttachment, decoding a JSON column value.

func (MarketplacePostingAttachment) Value

Value implements driver.Valuer for MarketplacePostingAttachment, encoding it as a JSON string.

type MarketplacePostingClassification

type MarketplacePostingClassification struct {
	Category         *JobCategory `json:"category"`
	SubCategory      *JobCategory `json:"subCategory"`
	Occupation       *Occupation  `json:"occupation"`
	Skills           []*Skill     `json:"skills"`
	AdditionalSkills []*Skill     `json:"additionalSkills"`
}

MarketplacePostingClassification represents classification details of a marketplace job posting.

func (*MarketplacePostingClassification) Scan

Scan implements sql.Scanner for MarketplacePostingClassification, decoding a JSON column value.

func (MarketplacePostingClassification) Value

Value implements driver.Valuer for MarketplacePostingClassification, encoding it as a JSON string.

type MarketplacePostingOwnership

type MarketplacePostingOwnership struct {
	Company *GenericOrganization `json:"company"`
	Team    *GenericOrganization `json:"team"`
}

MarketplacePostingOwnership represents ownership of a marketplace job posting.

func (*MarketplacePostingOwnership) Scan

func (x *MarketplacePostingOwnership) Scan(src any) error

Scan implements sql.Scanner for MarketplacePostingOwnership, decoding a JSON column value.

func (MarketplacePostingOwnership) Value

Value implements driver.Valuer for MarketplacePostingOwnership, encoding it as a JSON string.

type MarketplacePostingWorkFlowState

type MarketplacePostingWorkFlowState struct {
	CloseResult *String             `json:"closeResult"`
	Status      WorkFlowStateStatus `json:"status"`
}

MarketplacePostingWorkFlowState represents workflow state of a marketplace job posting.

func (*MarketplacePostingWorkFlowState) Scan

Scan implements sql.Scanner for MarketplacePostingWorkFlowState, decoding a JSON column value.

func (MarketplacePostingWorkFlowState) Value

Value implements driver.Valuer for MarketplacePostingWorkFlowState, encoding it as a JSON string.

type MarketplaceProposalRequirements

type MarketplaceProposalRequirements struct {
	CoverLetterRequired         *Boolean               `json:"coverLetterRequired"`
	FreelancerMilestonesAllowed *Boolean               `json:"freelancerMilestonesAllowed"`
	ScreeningQuestions          []*MarketplaceQuestion `json:"screeningQuestions"`
}

MarketplaceProposalRequirements represents proposal requirements for a marketplace job posting.

func (*MarketplaceProposalRequirements) Scan

Scan implements sql.Scanner for MarketplaceProposalRequirements, decoding a JSON column value.

func (MarketplaceProposalRequirements) Value

Value implements driver.Valuer for MarketplaceProposalRequirements, encoding it as a JSON string.

type MarketplacePublicCompanyInfo

type MarketplacePublicCompanyInfo struct {
	ID                  ID                         `json:"id"`
	LegacyType          *OrganizationLegacyType    `json:"legacyType"`
	TeamsEnabled        *Boolean                   `json:"teamsEnabled"`
	CanHire             *Boolean                   `json:"canHire"`
	Hidden              *Boolean                   `json:"hidden"`
	IncludeInStats      *Boolean                   `json:"includeInStats"`
	Country             *Country                   `json:"country"`
	State               *String                    `json:"state"`
	City                *String                    `json:"city"`
	Timezone            *String                    `json:"timezone"`
	AccountingEntity    *String                    `json:"accountingEntity"`
	BillingType         *BillingType               `json:"billingType"`
	PaymentVerification *PaymentVerificationResult `json:"paymentVerification"`
	AgencyDetails       *AgencyDetails             `json:"agencyDetails"`
}

MarketplacePublicCompanyInfo represents public-facing company information used in marketplace search.

func (*MarketplacePublicCompanyInfo) Scan

func (x *MarketplacePublicCompanyInfo) Scan(src any) error

Scan implements sql.Scanner for MarketplacePublicCompanyInfo, decoding a JSON column value.

func (MarketplacePublicCompanyInfo) Value

Value implements driver.Valuer for MarketplacePublicCompanyInfo, encoding it as a JSON string.

type MarketplaceQualification

type MarketplaceQualification struct {
	ContractorType     *ContractorType     `json:"contractorType"`
	EnglishProficiency *EnglishProficiency `json:"englishProficiency"`
	HasPortfolio       *Boolean            `json:"hasPortfolio"`
	HoursWorked        *Int                `json:"hoursWorked"`
	RisingTalent       *Boolean            `json:"risingTalent"`
	JobSuccessScore    *Int                `json:"jobSuccessScore"`
	MinEarning         *Earning            `json:"minEarning"`
	PreferredGroups    []*PreferredGroup   `json:"preferredGroups"`
	PreferenceTests    []*PreferredTest    `json:"preferenceTests"`
}

MarketplaceQualification represents qualification constraints for marketplace.

func (*MarketplaceQualification) Scan

func (x *MarketplaceQualification) Scan(src any) error

Scan implements sql.Scanner for MarketplaceQualification, decoding a JSON column value.

func (MarketplaceQualification) Value

Value implements driver.Valuer for MarketplaceQualification, encoding it as a JSON string.

type MarketplaceQuestion

type MarketplaceQuestion struct {
	Question       *String `json:"question"`
	SequenceNumber *Int    `json:"sequenceNumber"`
}

MarketplaceQuestion represents a screening question used in marketplace.

func (*MarketplaceQuestion) Scan

func (x *MarketplaceQuestion) Scan(src any) error

Scan implements sql.Scanner for MarketplaceQuestion, decoding a JSON column value.

func (MarketplaceQuestion) Value

func (x MarketplaceQuestion) Value() (driver.Value, error)

Value implements driver.Valuer for MarketplaceQuestion, encoding it as a JSON string.

type MarketplaceSegmentationData

type MarketplaceSegmentationData struct {
	SegmentationValues []*MarketplaceSegmentationValue `json:"segmentationValues"`
}

MarketplaceSegmentationData represents segmentation data for a marketplace job posting.

func (*MarketplaceSegmentationData) Scan

func (x *MarketplaceSegmentationData) Scan(src any) error

Scan implements sql.Scanner for MarketplaceSegmentationData, decoding a JSON column value.

func (MarketplaceSegmentationData) Value

Value implements driver.Valuer for MarketplaceSegmentationData, encoding it as a JSON string.

type MarketplaceSegmentationInfo

type MarketplaceSegmentationInfo struct {
	ID               ID                `json:"id"`
	Label            *String           `json:"label"`
	ReferenceName    *String           `json:"referenceName"`
	SortOrder        *Int              `json:"sortOrder"`
	SegmentationType *SegmentationType `json:"segmentationType"`
	Skill            *Skill            `json:"skill"`
}

MarketplaceSegmentationInfo represents segmentation info metadata.

func (*MarketplaceSegmentationInfo) Scan

func (x *MarketplaceSegmentationInfo) Scan(src any) error

Scan implements sql.Scanner for MarketplaceSegmentationInfo, decoding a JSON column value.

func (MarketplaceSegmentationInfo) Value

Value implements driver.Valuer for MarketplaceSegmentationInfo, encoding it as a JSON string.

type MarketplaceSegmentationValue

type MarketplaceSegmentationValue struct {
	CustomValue      *String                      `json:"customValue"`
	SegmentationInfo *MarketplaceSegmentationInfo `json:"segmentationInfo"`
}

MarketplaceSegmentationValue represents a segmentation value for a marketplace job posting.

func (*MarketplaceSegmentationValue) Scan

func (x *MarketplaceSegmentationValue) Scan(src any) error

Scan implements sql.Scanner for MarketplaceSegmentationValue, decoding a JSON column value.

func (MarketplaceSegmentationValue) Value

Value implements driver.Valuer for MarketplaceSegmentationValue, encoding it as a JSON string.

type MessageAttachments

type MessageAttachments struct {
	ObjectReferenceId *ID                 `json:"objectReferenceId"`
	ObjectType        *String             `json:"objectType"`
	Metadata          []*StringMapElement `json:"metadata"`
	CreatedDateTime   *String             `json:"createdDateTime"`
	Author            *RoomUser           `json:"author"`
}

MessageAttachments represents attachments associated with a message in a room.

func (*MessageAttachments) Scan

func (x *MessageAttachments) Scan(src any) error

Scan implements sql.Scanner for MessageAttachments, decoding a JSON column value.

func (MessageAttachments) Value

func (x MessageAttachments) Value() (driver.Value, error)

Value implements driver.Valuer for MessageAttachments, encoding it as a JSON string.

type Metadata

type Metadata struct {
	SourceType    *SourceType `json:"sourceType"`
	SourceId      *ID         `json:"sourceId"`
	Data          *String     `json:"data"`
	OccupationUid *ID         `json:"occupationUid"`
}

Metadata represents offer metadata.

func (*Metadata) Scan

func (x *Metadata) Scan(src any) error

Scan implements sql.Scanner for Metadata, decoding a JSON column value.

func (Metadata) Value

func (x Metadata) Value() (driver.Value, error)

Value implements driver.Valuer for Metadata, encoding it as a JSON string.

type Milestone

type Milestone struct {
	ID                             ID                      `json:"id"`
	CreatedBy                      *GenericUser            `json:"createdBy"`
	DueDateTime                    *String                 `json:"dueDateTime"`
	State                          *OfferMilestoneState    `json:"state"`
	Description                    *String                 `json:"description"`
	CurrentEscrowAmount            *Money                  `json:"currentEscrowAmount"`
	DepositAmount                  *Money                  `json:"depositAmount"`
	FundedAmount                   *Money                  `json:"fundedAmount"`
	Paid                           *Money                  `json:"paid"`
	Overpayment                    *Money                  `json:"overpayment"`
	Bonus                          *Money                  `json:"bonus"`
	PreviousMilestoneUnusedDeposit *Money                  `json:"previousMilestoneUnusedDeposit"`
	SubmissionCount                *Int                    `json:"submissionCount"`
	SequenceId                     *Int                    `json:"sequenceId"`
	PayComments                    *String                 `json:"payComments"`
	LastSubmissionCreatedTime      *String                 `json:"lastSubmissionCreatedTime"`
	CreatedDateTime                *String                 `json:"createdDateTime"`
	ModifiedDateTime               *String                 `json:"modifiedDateTime"`
	Instructions                   *String                 `json:"instructions"`
	SubmissionEvents               []SubmissionEvent       `json:"submissionEvents"`
	Submissions                    []*MilestoneSubmissions `json:"submissions"`
}

Milestone represents milestone information for fixed-price contracts.

func (*Milestone) Scan

func (x *Milestone) Scan(src any) error

Scan implements sql.Scanner for Milestone, decoding a JSON column value.

func (Milestone) Value

func (x Milestone) Value() (driver.Value, error)

Value implements driver.Valuer for Milestone, encoding it as a JSON string.

type MilestoneRejectionResponse

type MilestoneRejectionResponse struct {
	Response *Boolean `json:"response"`
}

MilestoneRejectionResponse represents the result of a milestone rejection request.

func (*MilestoneRejectionResponse) Scan

func (x *MilestoneRejectionResponse) Scan(src any) error

Scan implements sql.Scanner for MilestoneRejectionResponse, decoding a JSON column value.

func (MilestoneRejectionResponse) Value

Value implements driver.Valuer for MilestoneRejectionResponse, encoding it as a JSON string.

type MilestoneSubmissions

type MilestoneSubmissions struct {
	ID                    ID                             `json:"id"`
	NoteToClient          *String                        `json:"noteToClient"`
	SubmissionDateTime    *String                        `json:"submissionDateTime"`
	SubmissionAmount      *Money                         `json:"submissionAmount"`
	SubmissionAttachments []*SubmissionAttachmentDetails `json:"submissionAttachments"`
}

MilestoneSubmissions represents submission details associated with a milestone.

func (*MilestoneSubmissions) Scan

func (x *MilestoneSubmissions) Scan(src any) error

Scan implements sql.Scanner for MilestoneSubmissions, decoding a JSON column value.

func (MilestoneSubmissions) Value

func (x MilestoneSubmissions) Value() (driver.Value, error)

Value implements driver.Valuer for MilestoneSubmissions, encoding it as a JSON string.

type MilestoneTerms

type MilestoneTerms struct {
	Budget     *Money       `json:"budget"`
	Milestones []*Milestone `json:"milestones"`
}

MilestoneTerms represents terms for milestones.

func (*MilestoneTerms) Scan

func (x *MilestoneTerms) Scan(src any) error

Scan implements sql.Scanner for MilestoneTerms, decoding a JSON column value.

func (MilestoneTerms) Value

func (x MilestoneTerms) Value() (driver.Value, error)

Value implements driver.Valuer for MilestoneTerms, encoding it as a JSON string.

type ModernizedContractOffer

type ModernizedContractOffer struct {
	ID                     ID                         `json:"id"`
	Kind                   *OfferKind                 `json:"kind"`
	Offeror                *String                    `json:"offeror"`
	ClientUserId           ID                         `json:"clientUserId"`
	ClientTeamId           ID                         `json:"clientTeamId"`
	ClientOrgId            *ID                        `json:"clientOrgId"`
	VendorUserId           ID                         `json:"vendorUserId"`
	Vendor                 *GenericUser               `json:"vendor"`
	VendorTeamId           *ID                        `json:"vendorTeamId"`
	VendorOrgId            *ID                        `json:"vendorOrgId"`
	Actors                 []*Actor                   `json:"actors"`
	Metadata               *Metadata                  `json:"metadata"`
	ExpirationDateTime     *String                    `json:"expirationDateTime"`
	Title                  String                     `json:"title"`
	Description            *String                    `json:"description"`
	Attachments            []*ID                      `json:"attachments"`
	ContractStartDateTime  *String                    `json:"contractStartDateTime"`
	ContractEndDateTime    *String                    `json:"contractEndDateTime"`
	HourlyRateTerms        *HourlyTerms               `json:"hourlyRateTerms"`
	StipendTerms           *StipendTerms              `json:"stipendTerms"`
	MilestoneTerms         *MilestoneTerms            `json:"milestoneTerms"`
	DeliveryModel          *OfferDeliveryModel        `json:"deliveryModel"`
	State                  WorkflowOfferState         `json:"state"`
	InstanceId             *ID                        `json:"instanceId"`
	StaffingManagerId      *ID                        `json:"staffingManagerId"`
	ContractId             *ID                        `json:"contractId"`
	AgencyRootCompanyId    *ID                        `json:"agencyRootCompanyId"`
	Type                   *ContractOfferType         `json:"type"`
	VendorType             *ContractOfferVendorType   `json:"vendorType"`
	TermsVersion           *ContractOfferTermsVersion `json:"termsVersion"`
	LegacyState            *ContractOfferLegacyState  `json:"legacyState"`
	PreviousOfferId        *ID                        `json:"previousOfferId"`
	NewOfferId             *ID                        `json:"newOfferId"`
	ClosePostingUponAccept *Boolean                   `json:"closePostingUponAccept"`
	LastEvent              *ContractOfferLastEvent    `json:"lastEvent"`
	CreatedDateTime        *String                    `json:"createdDateTime"`
	Facets                 []*ModernizedOfferFacet    `json:"facets"`
}

ModernizedContractOffer represents modernized contract offer details.

func (*ModernizedContractOffer) Scan

func (x *ModernizedContractOffer) Scan(src any) error

Scan implements sql.Scanner for ModernizedContractOffer, decoding a JSON column value.

func (ModernizedContractOffer) Value

Value implements driver.Valuer for ModernizedContractOffer, encoding it as a JSON string.

type ModernizedContractOfferList

type ModernizedContractOfferList struct {
	Offers []*ModernizedContractOffer `json:"offers"`
}

ModernizedContractOfferList represents a list of modernized contract offers.

func (*ModernizedContractOfferList) Scan

func (x *ModernizedContractOfferList) Scan(src any) error

Scan implements sql.Scanner for ModernizedContractOfferList, decoding a JSON column value.

func (ModernizedContractOfferList) Value

Value implements driver.Valuer for ModernizedContractOfferList, encoding it as a JSON string.

type ModernizedOffer

type ModernizedOffer struct {
	ID                    ID                  `json:"id"`
	Kind                  *OfferKind          `json:"kind"`
	Offeror               *String             `json:"offeror"`
	ClientUserId          ID                  `json:"clientUserId"`
	ClientTeamId          ID                  `json:"clientTeamId"`
	ClientOrgId           *ID                 `json:"clientOrgId"`
	VendorUserId          ID                  `json:"vendorUserId"`
	VendorTeamId          *ID                 `json:"vendorTeamId"`
	VendorOrgId           *ID                 `json:"vendorOrgId"`
	Actors                []*Actor            `json:"actors"`
	Metadata              *Metadata           `json:"metadata"`
	ExpirationDateTime    *String             `json:"expirationDateTime"`
	Title                 String              `json:"title"`
	Description           *String             `json:"description"`
	Attachments           []*ID               `json:"attachments"`
	ContractStartDateTime *String             `json:"contractStartDateTime"`
	ContractEndDateTime   *String             `json:"contractEndDateTime"`
	HourlyRateTerms       *HourlyTerms        `json:"hourlyRateTerms"`
	StipendTerms          *StipendTerms       `json:"stipendTerms"`
	MilestoneTerms        *MilestoneTerms     `json:"milestoneTerms"`
	DeliveryModel         *OfferDeliveryModel `json:"deliveryModel"`
	State                 WorkflowOfferState  `json:"state"`
	StaffingManagerId     *ID                 `json:"staffingManagerId"`
	ContractId            *ID                 `json:"contractId"`
	AgencyRootCompanyId   *ID                 `json:"agencyRootCompanyId"`
	InstanceId            *ID                 `json:"instanceId"`
	Client                GenericOrganization `json:"client"`
	ClientCompany         *PublicCompanyInfo  `json:"clientCompany"`
	CreatedDateTime       *String             `json:"createdDateTime"`
	LastEvent             *OfferLastEvent     `json:"lastEvent"`
}

ModernizedOffer represents modernized offer details.

func (*ModernizedOffer) Scan

func (x *ModernizedOffer) Scan(src any) error

Scan implements sql.Scanner for ModernizedOffer, decoding a JSON column value.

func (ModernizedOffer) Value

func (x ModernizedOffer) Value() (driver.Value, error)

Value implements driver.Valuer for ModernizedOffer, encoding it as a JSON string.

type ModernizedOfferFacet

type ModernizedOfferFacet struct {
	FacetType             FacetType `json:"facetType"`
	Data                  *String   `json:"data"`
	Version               String    `json:"version"`
	CreationTimestamp     String    `json:"creationTimestamp"`
	ModificationTimestamp String    `json:"modificationTimestamp"`
}

ModernizedOfferFacet represents offer facet data.

func (*ModernizedOfferFacet) Scan

func (x *ModernizedOfferFacet) Scan(src any) error

Scan implements sql.Scanner for ModernizedOfferFacet, decoding a JSON column value.

func (ModernizedOfferFacet) Value

func (x ModernizedOfferFacet) Value() (driver.Value, error)

Value implements driver.Valuer for ModernizedOfferFacet, encoding it as a JSON string.

type Money

type Money struct {
	RawValue     String `json:"rawValue"`
	Currency     String `json:"currency"`
	DisplayValue String `json:"displayValue"`
}

Money represents a monetary value with currency information.

func (*Money) Scan

func (x *Money) Scan(src any) error

Scan implements sql.Scanner for Money, decoding a JSON column value.

func (Money) Value

func (x Money) Value() (driver.Value, error)

Value implements driver.Valuer for Money, encoding it as a JSON string.

type Occupation

type Occupation struct {
	ID               ID                   `json:"id"`
	OntologyID       String               `json:"ontologyId"`
	Type             []OntologyEntityType `json:"type"`
	EntityStatus     OntologyEntityStatus `json:"entityStatus"`
	PreferredLabel   String               `json:"preferredLabel"`
	Definition       *String              `json:"definition"`
	CreatedDateTime  *String              `json:"createdDateTime"`
	ModifiedDateTime *String              `json:"modifiedDateTime"`
	Skills           []*Skill             `json:"skills"`
}

Occupation represents an ontology entity Occupation entity from the ontology.

func (*Occupation) Scan

func (x *Occupation) Scan(src any) error

Scan implements sql.Scanner for Occupation, decoding a JSON column value.

func (Occupation) Value

func (x Occupation) Value() (driver.Value, error)

Value implements driver.Valuer for Occupation, encoding it as a JSON string.

type Offer

type Offer struct {
	ID                      ID                     `json:"id"`
	Title                   String                 `json:"title"`
	Description             *String                `json:"description"`
	Type                    OfferType              `json:"type"`
	Job                     *MarketplaceJobPosting `json:"job"`
	VendorProposal          *VendorProposal        `json:"vendorProposal"`
	CloseJobPostingOnAccept Boolean                `json:"closeJobPostingOnAccept"`
	Client                  GenericOrganization    `json:"client"`
	OfferTerms              OfferTerms             `json:"offerTerms"`
	MessageToContractor     *String                `json:"messageToContractor"`
	State                   *OfferState            `json:"state"`
	OfferFeatures           *OfferFeatures         `json:"offerFeatures"`
	ClientCompany           *PublicCompanyInfo     `json:"clientCompany"`
	CreatedUsingBYOFlow     Boolean                `json:"createdUsingBYOFlow"`
	Freelancer              FreelancerProfile      `json:"freelancer"`
	PayrollOffer            *Boolean               `json:"payrollOffer"`
	DeliveryModel           *OfferDeliveryModel    `json:"deliveryModel"`
}

Offer represents details about an offer.

func (*Offer) Scan

func (x *Offer) Scan(src any) error

Scan implements sql.Scanner for Offer, decoding a JSON column value.

func (Offer) Value

func (x Offer) Value() (driver.Value, error)

Value implements driver.Valuer for Offer, encoding it as a JSON string.

type OfferAcceptResponse

type OfferAcceptResponse struct {
	Contract        *Contract        `json:"contract"`
	ContractDetails *ContractDetails `json:"contractDetails"`
}

OfferAcceptResponse represents a response from accepting an offer.

func (*OfferAcceptResponse) Scan

func (x *OfferAcceptResponse) Scan(src any) error

Scan implements sql.Scanner for OfferAcceptResponse, decoding a JSON column value.

func (OfferAcceptResponse) Value

func (x OfferAcceptResponse) Value() (driver.Value, error)

Value implements driver.Valuer for OfferAcceptResponse, encoding it as a JSON string.

type OfferCreationResponse

type OfferCreationResponse struct {
	Offer *ModernizedOffer `json:"offer"`
}

OfferCreationResponse represents a response from offer creation.

func (*OfferCreationResponse) Scan

func (x *OfferCreationResponse) Scan(src any) error

Scan implements sql.Scanner for OfferCreationResponse, decoding a JSON column value.

func (OfferCreationResponse) Value

func (x OfferCreationResponse) Value() (driver.Value, error)

Value implements driver.Valuer for OfferCreationResponse, encoding it as a JSON string.

type OfferDeliveryModel

type OfferDeliveryModel string

OfferDeliveryModel represents offer delivery model.

const (
	OfferDeliveryModelTalentMarketplace OfferDeliveryModel = "TalentMarketplace"
	OfferDeliveryModelCatalogProject    OfferDeliveryModel = "CatalogProject"
	OfferDeliveryModelUpworkRemote      OfferDeliveryModel = "UpworkRemote"
	OfferDeliveryModelTalentScout       OfferDeliveryModel = "TalentScout"
	OfferDeliveryModelDirectContract    OfferDeliveryModel = "DirectContract"
	OfferDeliveryModelMicroPayments     OfferDeliveryModel = "MicroPayments"
	OfferDeliveryModelDirectContractV2  OfferDeliveryModel = "DirectContractV2"
	OfferDeliveryModelManageAndPay      OfferDeliveryModel = "ManageAndPay"
	OfferDeliveryModelOutcomeContract   OfferDeliveryModel = "OutcomeContract"
	OfferDeliveryModelUnknown           OfferDeliveryModel = "Unknown"
)

type OfferFeatures

type OfferFeatures struct {
	PurchaseOrder               *PurchaseOrder      `json:"purchaseOrder"`
	PrivateTalentCloud          *PrivateTalentCloud `json:"privateTalentCloud"`
	OnSiteType                  *OfferWorkType      `json:"onSiteType"`
	Country                     *Country            `json:"country"`
	State                       *String             `json:"state"`
	LocalDescription            *String             `json:"localDescription"`
	LocalFlexibilityDescription *String             `json:"localFlexibilityDescription"`
	Eor                         *Boolean            `json:"eor"`
}

OfferFeatures represents features associated with an enterprise-related offer.

func (*OfferFeatures) Scan

func (x *OfferFeatures) Scan(src any) error

Scan implements sql.Scanner for OfferFeatures, decoding a JSON column value.

func (OfferFeatures) Value

func (x OfferFeatures) Value() (driver.Value, error)

Value implements driver.Valuer for OfferFeatures, encoding it as a JSON string.

type OfferKind

type OfferKind string

OfferKind represents offer kind types.

const (
	OfferKindHourlyPack     OfferKind = "HourlyPack"
	OfferKindWeeklyRetainer OfferKind = "WeeklyRetainer"
	OfferKindVanilla        OfferKind = "Vanilla"
	OfferKindPayrollENT     OfferKind = "PayrollENT"
	OfferKindBYO            OfferKind = "BYO"
	OfferKindEnterprise     OfferKind = "Enterprise"
	OfferKindPayrollRMT     OfferKind = "PayrollRMT"
)

type OfferKindInput

type OfferKindInput string

OfferKindInput represents offer kind types for input.

const (
	OfferKindInputVanilla    OfferKindInput = "Vanilla"
	OfferKindInputEnterprise OfferKindInput = "Enterprise"
)

type OfferLastEvent

type OfferLastEvent struct {
	ReasonId      *ID     `json:"reasonId"`
	Message       *String `json:"message"`
	LastEventTime *String `json:"lastEventTime"`
}

OfferLastEvent represents the last event on an offer.

func (*OfferLastEvent) Scan

func (x *OfferLastEvent) Scan(src any) error

Scan implements sql.Scanner for OfferLastEvent, decoding a JSON column value.

func (OfferLastEvent) Value

func (x OfferLastEvent) Value() (driver.Value, error)

Value implements driver.Valuer for OfferLastEvent, encoding it as a JSON string.

type OfferLegacyState

type OfferLegacyState string

OfferLegacyState represents legacy offer state values.

const (
	OfferLegacyStateDraft        OfferLegacyState = "Draft"
	OfferLegacyStateDraftChanged OfferLegacyState = "DraftChanged"
	OfferLegacyStateNew          OfferLegacyState = "New"
	OfferLegacyStateAccepted     OfferLegacyState = "Accepted"
	OfferLegacyStateDeclined     OfferLegacyState = "Declined"
	OfferLegacyStateExpired      OfferLegacyState = "Expired"
	OfferLegacyStateWithdrawn    OfferLegacyState = "Withdrawn"
	OfferLegacyStateChanged      OfferLegacyState = "Changed"
	OfferLegacyStateCanceled     OfferLegacyState = "Canceled"
	OfferLegacyStateSubmitted    OfferLegacyState = "Submitted"
	OfferLegacyStateDraftExpired OfferLegacyState = "DraftExpired"
)

type OfferList

type OfferList struct {
	Offers []*Offer `json:"offers"`
}

OfferList represents a list of offers.

func (*OfferList) Scan

func (x *OfferList) Scan(src any) error

Scan implements sql.Scanner for OfferList, decoding a JSON column value.

func (OfferList) Value

func (x OfferList) Value() (driver.Value, error)

Value implements driver.Valuer for OfferList, encoding it as a JSON string.

type OfferMilestoneState

type OfferMilestoneState string

OfferMilestoneState represents milestone state values.

const (
	OfferMilestoneStateNotFunded             OfferMilestoneState = "NotFunded"
	OfferMilestoneStateInOffer               OfferMilestoneState = "InOffer"
	OfferMilestoneStateActive                OfferMilestoneState = "Active"
	OfferMilestoneStateSubmitted             OfferMilestoneState = "Submitted"
	OfferMilestoneStateRejected              OfferMilestoneState = "Rejected"
	OfferMilestoneStateRejectedByUpwork      OfferMilestoneState = "RejectedByUpwork"
	OfferMilestoneStatePaid                  OfferMilestoneState = "Paid"
	OfferMilestoneStatePaidByUpwork          OfferMilestoneState = "PaidByUpwork"
	OfferMilestoneStateNotFundedClosed       OfferMilestoneState = "NotFundedClosed"
	OfferMilestoneStateCancelledByClient     OfferMilestoneState = "CancelledByClient"
	OfferMilestoneStateCancelledByFreelancer OfferMilestoneState = "CancelledByFreelancer"
	OfferMilestoneStateCancelledByUpwork     OfferMilestoneState = "CancelledByUpwork"
	OfferMilestoneStateOfferCancelled        OfferMilestoneState = "OfferCancelled"
)

type OfferPeriodTypeInput

type OfferPeriodTypeInput string

OfferPeriodTypeInput represents stipend period types.

const (
	OfferPeriodTypeInputWeekly OfferPeriodTypeInput = "Weekly"
)

type OfferSearchAttribute

type OfferSearchAttribute string

OfferSearchAttribute represents offer search attribute types.

const (
	OfferSearchAttributeJobApplication OfferSearchAttribute = "JobApplication"
	OfferSearchAttributeJobPosting     OfferSearchAttribute = "JobPosting"
	OfferSearchAttributeClientUser     OfferSearchAttribute = "ClientUser"
	OfferSearchAttributeVendorUser     OfferSearchAttribute = "VendorUser"
	OfferSearchAttributeClientTeam     OfferSearchAttribute = "ClientTeam"
	OfferSearchAttributeVendorTeam     OfferSearchAttribute = "VendorTeam"
	OfferSearchAttributeClientOrg      OfferSearchAttribute = "ClientOrg"
	OfferSearchAttributeVendorOrg      OfferSearchAttribute = "VendorOrg"
	OfferSearchAttributeContract       OfferSearchAttribute = "Contract"
	OfferSearchAttributeProject        OfferSearchAttribute = "Project"
)

type OfferState

type OfferState string

OfferState represents offer state values.

const (
	OfferStateDraft                           OfferState = "DRAFT"
	OfferStateDraftChanged                    OfferState = "DRAFT_CHANGED"
	OfferStateDiscarded                       OfferState = "DISCARDED"
	OfferStateSubmitted                       OfferState = "SUBMITTED"
	OfferStateWithdrawn                       OfferState = "WITHDRAWN"
	OfferStateReplaced                        OfferState = "REPLACED"
	OfferStateAwaitingApproval                OfferState = "AWAITING_APPROVAL"
	OfferStateApproved                        OfferState = "APPROVED"
	OfferStatePendingVendorAcceptance         OfferState = "PENDING_VENDOR_ACCEPTANCE"
	OfferStatePendingVendorAcceptanceReminder OfferState = "PENDING_VENDOR_ACCEPTANCE_AFTER_REMINDER"
	OfferStateAccepted                        OfferState = "ACCEPTED"
	OfferStateRejected                        OfferState = "REJECTED"
	OfferStateFailed                          OfferState = "FAILED"
	OfferStateExpired                         OfferState = "EXPIRED"
	OfferStateCanceled                        OfferState = "CANCELED"
	OfferStateDenied                          OfferState = "DENIED"
	OfferStatePendingFund                     OfferState = "PENDING_FUND"
	OfferStateFundingFailed                   OfferState = "FUNDING_FAILED"
	OfferStateFunded                          OfferState = "FUNDED"
	OfferStateDeleted                         OfferState = "DELETED"
)

type OfferTerms

type OfferTerms struct {
	ExpectedStartDate *String         `json:"expectedStartDate"`
	ExpectedEndDate   *String         `json:"expectedEndDate"`
	FixedPriceTerm    *FixedPriceTerm `json:"fixedPriceTerm"`
	HourlyTerms       *HourlyTerms    `json:"hourlyTerms"`
}

OfferTerms represents terms associated with an offer.

func (*OfferTerms) Scan

func (x *OfferTerms) Scan(src any) error

Scan implements sql.Scanner for OfferTerms, decoding a JSON column value.

func (OfferTerms) Value

func (x OfferTerms) Value() (driver.Value, error)

Value implements driver.Valuer for OfferTerms, encoding it as a JSON string.

type OfferType

type OfferType string

OfferType represents offer type values.

const (
	OfferTypeMarketPlaceHourly     OfferType = "MARKET_PLACE_HOURLY"
	OfferTypeMarketPlaceFixedPrice OfferType = "MARKET_PLACE_FIXED_PRICE"
	OfferTypeEnterpriseHourly      OfferType = "ENTERPRISE_HOURLY"
	OfferTypeEnterpriseFixedPrice  OfferType = "ENTERPRISE_FIXED_PRICE"
)

type OfferWorkType

type OfferWorkType string

OfferWorkType represents work type for offer.

const (
	OfferWorkTypeRemote    OfferWorkType = "REMOTE"
	OfferWorkTypePermanent OfferWorkType = "PERMANENT"
)

type Offeror

type Offeror string

Offeror represents the offeror type in an offer.

const (
	OfferorClient Offeror = "Client"
	OfferorVendor Offeror = "Vendor"
)

type OfferorInput

type OfferorInput string

OfferorInput represents the offeror input type when creating an offer.

const (
	OfferorInputClient OfferorInput = "Client"
)

type OnSiteType

type OnSiteType string

OnSiteType represents on-site work requirement type.

const (
	OnSiteTypeRemote     OnSiteType = "REMOTE"
	OnSiteTypeOccasional OnSiteType = "OCCASIONAL"
	OnSiteTypePermanent  OnSiteType = "PERMANENT"
)

type OntologyCategory

type OntologyCategory struct {
	ID             ID                    `json:"id"`
	PreferredLabel *String               `json:"preferredLabel"`
	AltLabel       []*String             `json:"altLabel"`
	Slug           *String               `json:"slug"`
	OntologyID     *String               `json:"ontologyId"`
	Subcategories  []OntologySubcategory `json:"subcategories"`
	Services       []OntologyService     `json:"services"`
}

OntologyCategory represents a simplified representation of Marketplace ontology's 'category' (level 1 of hierarchy).

func (*OntologyCategory) Scan

func (x *OntologyCategory) Scan(src any) error

Scan implements sql.Scanner for OntologyCategory, decoding a JSON column value.

func (OntologyCategory) Value

func (x OntologyCategory) Value() (driver.Value, error)

Value implements driver.Valuer for OntologyCategory, encoding it as a JSON string.

type OntologyConnection

type OntologyConnection struct {
	TotalCount *Int                  `json:"totalCount"`
	Edges      []*OntologyEntityEdge `json:"edges"`
	PageInfo   *PageInfo             `json:"pageInfo"`
}

OntologyConnection represents an ontology connection with pagination.

func (*OntologyConnection) Scan

func (x *OntologyConnection) Scan(src any) error

Scan implements sql.Scanner for OntologyConnection, decoding a JSON column value.

func (OntologyConnection) Value

func (x OntologyConnection) Value() (driver.Value, error)

Value implements driver.Valuer for OntologyConnection, encoding it as a JSON string.

type OntologyEntity

type OntologyEntity interface {
	// contains filtered or unexported methods
}

OntologyEntity is the interface implemented by all ontology entity types.

type OntologyEntityEdge

type OntologyEntityEdge struct {
	Node   OntologyEntity `json:"node"`
	Cursor String         `json:"cursor"`
}

OntologyEntityEdge represents an edge in an ontology entity connection.

func (*OntologyEntityEdge) Scan

func (x *OntologyEntityEdge) Scan(src any) error

Scan implements sql.Scanner for OntologyEntityEdge, decoding a JSON column value.

func (OntologyEntityEdge) Value

func (x OntologyEntityEdge) Value() (driver.Value, error)

Value implements driver.Valuer for OntologyEntityEdge, encoding it as a JSON string.

type OntologyEntityResult

type OntologyEntityResult = OntologyEntity

OntologyEntityResult is the union of possible ontology entity result types (Skill, Occupation).

type OntologyEntitySearchRecord

type OntologyEntitySearchRecord struct {
	OntologyEntity OntologyEntity `json:"ontologyEntity"`
}

OntologyEntitySearchRecord represents a search record containing an ontology entity.

func (*OntologyEntitySearchRecord) Scan

func (x *OntologyEntitySearchRecord) Scan(src any) error

Scan implements sql.Scanner for OntologyEntitySearchRecord, decoding a JSON column value.

func (OntologyEntitySearchRecord) Value

Value implements driver.Valuer for OntologyEntitySearchRecord, encoding it as a JSON string.

type OntologyEntityStatus

type OntologyEntityStatus string

OntologyEntityStatus represents the status of an ontology entity.

const (
	OntologyEntityStatusActive     OntologyEntityStatus = "ACTIVE"
	OntologyEntityStatusDeprecated OntologyEntityStatus = "DEPRECATED"
	OntologyEntityStatusPending    OntologyEntityStatus = "PENDING"
)

type OntologyEntityTaxonomyLevel

type OntologyEntityTaxonomyLevel string

OntologyEntityTaxonomyLevel represents hierarchy level in the ontology taxonomy.

const (
	OntologyEntityTaxonomyLevelCategory       OntologyEntityTaxonomyLevel = "CATEGORY"
	OntologyEntityTaxonomyLevelSubcategory    OntologyEntityTaxonomyLevel = "SUBCATEGORY"
	OntologyEntityTaxonomyLevelService        OntologyEntityTaxonomyLevel = "SERVICE"
	OntologyEntityTaxonomyLevelSpecialization OntologyEntityTaxonomyLevel = "SPECIALIZATION"
)

type OntologyEntityType

type OntologyEntityType string

OntologyEntityType represents supported ontology entity types.

const (
	OntologyEntityTypeOccupation            OntologyEntityType = "OCCUPATION"
	OntologyEntityTypeSkill                 OntologyEntityType = "SKILL"
	OntologyEntityTypeDeliverable           OntologyEntityType = "DELIVERABLE"
	OntologyEntityTypeDeliverableDescriptor OntologyEntityType = "DELIVERABLE_DESCRIPTOR"
	OntologyEntityTypeCatalogAttributeGroup OntologyEntityType = "CATALOG_ATTRIBUTE_GROUP"
	OntologyEntityTypeCatalogCategory       OntologyEntityType = "CATALOG_CATEGORY"
	OntologyEntityTypeCatalogSpecification  OntologyEntityType = "CATALOG_SPECIFICATION"
	OntologyEntityTypeCatalogPackageSpec    OntologyEntityType = "CATALOG_PACKAGE_SPEC"
	OntologyEntityTypeCatalogProjectSpec    OntologyEntityType = "CATALOG_PROJECT_SPEC"
	OntologyEntityTypeCatalogSpecChoice     OntologyEntityType = "CATALOG_SPEC_CHOICE"
	OntologyEntityTypeRole                  OntologyEntityType = "ROLE"
)

type OntologyResultSortOrder

type OntologyResultSortOrder string

OntologyResultSortOrder represents sort order for ontology search results.

const (
	OntologyResultSortOrderRandom     OntologyResultSortOrder = "RANDOM"
	OntologyResultSortOrderAlphabet   OntologyResultSortOrder = "ALPHABET"
	OntologyResultSortOrderMatchStart OntologyResultSortOrder = "MATCH_START"
)

type OntologyService

type OntologyService struct {
	ID             ID        `json:"id"`
	PreferredLabel *String   `json:"preferredLabel"`
	AltLabel       []*String `json:"altLabel"`
	Slug           *String   `json:"slug"`
	OntologyID     *String   `json:"ontologyId"`
}

OntologyService represents a simplified representation of Marketplace ontology's 'service' (level 3 of hierarchy).

func (*OntologyService) Scan

func (x *OntologyService) Scan(src any) error

Scan implements sql.Scanner for OntologyService, decoding a JSON column value.

func (OntologyService) Value

func (x OntologyService) Value() (driver.Value, error)

Value implements driver.Valuer for OntologyService, encoding it as a JSON string.

type OntologySubcategory

type OntologySubcategory struct {
	ID             ID                `json:"id"`
	PreferredLabel *String           `json:"preferredLabel"`
	AltLabel       []*String         `json:"altLabel"`
	Slug           *String           `json:"slug"`
	OntologyID     *String           `json:"ontologyId"`
	Services       []OntologyService `json:"services"`
}

OntologySubcategory represents a simplified representation of Marketplace ontology's 'subcategory' (level 2 of hierarchy).

func (*OntologySubcategory) Scan

func (x *OntologySubcategory) Scan(src any) error

Scan implements sql.Scanner for OntologySubcategory, decoding a JSON column value.

func (OntologySubcategory) Value

func (x OntologySubcategory) Value() (driver.Value, error)

Value implements driver.Valuer for OntologySubcategory, encoding it as a JSON string.

type OrgLegacyType

type OrgLegacyType string

OrgLegacyType represents legacy organization type for filtering.

const (
	OrgLegacyTypeClient OrgLegacyType = "Client"
	OrgLegacyTypeVendor OrgLegacyType = "Vendor"
)

type OrgType

type OrgType string

OrgType represents organization type for filtering.

const (
	OrgTypeBusiness       OrgType = "Business"
	OrgTypeSoleProprietor OrgType = "SoleProprietor"
)

type Organization

type Organization interface {
	// contains filtered or unexported methods
}

Organization is the base interface implemented by organization types.

type OrganizationFlag

type OrganizationFlag struct {
	Client     *Boolean `json:"client"`
	Vendor     *Boolean `json:"vendor"`
	Agency     *Boolean `json:"agency"`
	Individual *Boolean `json:"individual"`
}

OrganizationFlag indicates the category flags of an organization.

func (*OrganizationFlag) Scan

func (x *OrganizationFlag) Scan(src any) error

Scan implements sql.Scanner for OrganizationFlag, decoding a JSON column value.

func (OrganizationFlag) Value

func (x OrganizationFlag) Value() (driver.Value, error)

Value implements driver.Valuer for OrganizationFlag, encoding it as a JSON string.

type OrganizationLegacyType

type OrganizationLegacyType string

OrganizationLegacyType represents legacy organization type classification.

const (
	OrganizationLegacyTypeClient OrganizationLegacyType = "CLIENT"
	OrganizationLegacyTypeVendor OrganizationLegacyType = "VENDOR"
)

type OrganizationRequestType

type OrganizationRequestType string

OrganizationRequestType represents type of organization to create.

const (
	OrganizationRequestTypeAgency         OrganizationRequestType = "AGENCY"
	OrganizationRequestTypeClient         OrganizationRequestType = "CLIENT"
	OrganizationRequestTypeSoleProprietor OrganizationRequestType = "SOLE_PROPRIETOR"
)

type OrganizationType

type OrganizationType string

OrganizationType represents organization legal type.

const (
	OrganizationTypeBusiness       OrganizationType = "BUSINESS"
	OrganizationTypeSoleProprietor OrganizationType = "SOLE_PROPRIETOR"
)

type Page

type Page struct {
	PageOffset Int `json:"pageOffset"`
	PageSize   Int `json:"pageSize"`
}

Page represents pagination metadata.

func (*Page) Scan

func (x *Page) Scan(src any) error

Scan implements sql.Scanner for Page, decoding a JSON column value.

func (Page) Value

func (x Page) Value() (driver.Value, error)

Value implements driver.Valuer for Page, encoding it as a JSON string.

type PageInfo

type PageInfo struct {
	EndCursor   *String  `json:"endCursor"`
	HasNextPage *Boolean `json:"hasNextPage"`
}

PageInfo contains pagination information for connection types.

func (*PageInfo) Scan

func (x *PageInfo) Scan(src any) error

Scan implements sql.Scanner for PageInfo, decoding a JSON column value.

func (PageInfo) Value

func (x PageInfo) Value() (driver.Value, error)

Value implements driver.Valuer for PageInfo, encoding it as a JSON string.

type PagingInfo

type PagingInfo struct {
	Total  *Int `json:"total"`
	Offset *Int `json:"offset"`
	Count  *Int `json:"count"`
}

PagingInfo represents paging information.

func (*PagingInfo) Scan

func (x *PagingInfo) Scan(src any) error

Scan implements sql.Scanner for PagingInfo, decoding a JSON column value.

func (PagingInfo) Value

func (x PagingInfo) Value() (driver.Value, error)

Value implements driver.Valuer for PagingInfo, encoding it as a JSON string.

type PaymentVerificationResult

type PaymentVerificationResult struct {
	Status          *PaymentVerificationStatus `json:"status"`
	PaymentVerified *Boolean                   `json:"paymentVerified"`
}

PaymentVerificationResult represents payment verification status.

func (*PaymentVerificationResult) Scan

func (x *PaymentVerificationResult) Scan(src any) error

Scan implements sql.Scanner for PaymentVerificationResult, decoding a JSON column value.

func (PaymentVerificationResult) Value

Value implements driver.Valuer for PaymentVerificationResult, encoding it as a JSON string.

type PaymentVerificationStatus

type PaymentVerificationStatus string

PaymentVerificationStatus represents payment method verification status codes.

const (
	PaymentVerificationStatusDepositUnsupported     PaymentVerificationStatus = "DEPOSIT_UNSUPPORTED"
	PaymentVerificationStatusOnhold                 PaymentVerificationStatus = "ONHOLD"
	PaymentVerificationStatusExpired                PaymentVerificationStatus = "EXPIRED"
	PaymentVerificationStatusDeclined               PaymentVerificationStatus = "DECLINED"
	PaymentVerificationStatusVerificationFailed     PaymentVerificationStatus = "VERIFICATIONFAILED"
	PaymentVerificationStatusVerificationInProgress PaymentVerificationStatus = "VERIFICATIONINPROGRESS"
	PaymentVerificationStatusVerified               PaymentVerificationStatus = "VERIFIED"
	PaymentVerificationStatusActive                 PaymentVerificationStatus = "ACTIVE"
)

type PeriodType

type PeriodType string

PeriodType represents period type for stipend.

const (
	PeriodTypeWeekly  PeriodType = "Weekly"
	PeriodTypeMonthly PeriodType = "Monthly"
)

type PersonSavedJob

type PersonSavedJob struct {
	ID           ID                    `json:"id"`
	User         GenericUser           `json:"user"`
	Job          MarketplaceJobPosting `json:"job"`
	Followed     Boolean               `json:"followed"`
	LastUpdateTs String                `json:"lastUpdateTs"`
}

PersonSavedJob represents a job posting saved by a user.

func (*PersonSavedJob) Scan

func (x *PersonSavedJob) Scan(src any) error

Scan implements sql.Scanner for PersonSavedJob, decoding a JSON column value.

func (PersonSavedJob) Value

func (x PersonSavedJob) Value() (driver.Value, error)

Value implements driver.Valuer for PersonSavedJob, encoding it as a JSON string.

type PersonalDataLocation

type PersonalDataLocation struct {
	Country  *String `json:"country"`
	State    *String `json:"state"`
	City     *String `json:"city"`
	Zip      *String `json:"zip"`
	Timezone *String `json:"timezone"`
}

PersonalDataLocation represents personal data location.

func (*PersonalDataLocation) Scan

func (x *PersonalDataLocation) Scan(src any) error

Scan implements sql.Scanner for PersonalDataLocation, decoding a JSON column value.

func (PersonalDataLocation) Value

func (x PersonalDataLocation) Value() (driver.Value, error)

Value implements driver.Valuer for PersonalDataLocation, encoding it as a JSON string.

type PersonalDataProfileState

type PersonalDataProfileState string

PersonalDataProfileState represents personal data profile states.

const (
	PersonalDataProfileStateInProgress                  PersonalDataProfileState = "IN_PROGRESS"
	PersonalDataProfileStateAccepted                    PersonalDataProfileState = "ACCEPTED"
	PersonalDataProfileStateDraft                       PersonalDataProfileState = "DRAFT"
	PersonalDataProfileStateRejected                    PersonalDataProfileState = "REJECTED"
	PersonalDataProfileStateUnderReview                 PersonalDataProfileState = "UNDER_REVIEW"
	PersonalDataProfileStateNotStarted                  PersonalDataProfileState = "NOT_STARTED"
	PersonalDataProfileStateFailedReviewQueueSubmission PersonalDataProfileState = "FAILED_REVIEW_QUEUE_SUBMISSION"
	PersonalDataProfileStateElancerOnboarding           PersonalDataProfileState = "ELANCER_ONBOARDING"
	PersonalDataProfileStateAutoRejectedDelayed         PersonalDataProfileState = "AUTO_REJECTED_DELAYED"
	PersonalDataProfileStateInProcess                   PersonalDataProfileState = "IN_PROCESS"
	PersonalDataProfileStateAutoAccepted                PersonalDataProfileState = "AUTO_ACCEPTED"
	PersonalDataProfileStateAutoRejected                PersonalDataProfileState = "AUTO_REJECTED"
)

type PhoneNumber

type PhoneNumber struct {
	Code   *String `json:"code"`
	Number *String `json:"number"`
}

PhoneNumber represents a phone number.

func (*PhoneNumber) Scan

func (x *PhoneNumber) Scan(src any) error

Scan implements sql.Scanner for PhoneNumber, decoding a JSON column value.

func (PhoneNumber) Value

func (x PhoneNumber) Value() (driver.Value, error)

Value implements driver.Valuer for PhoneNumber, encoding it as a JSON string.

type PiiUser

type PiiUser struct {
	ID        ID            `json:"id"`
	Nid       ID            `json:"nid"`
	Rid       ID            `json:"rid"`
	Name      *String       `json:"name"`
	FirstName *String       `json:"firstName"`
	LastName  *String       `json:"lastName"`
	PhotoUrl  *String       `json:"photoUrl"`
	PublicUrl *String       `json:"publicUrl"`
	Email     *String       `json:"email"`
	Location  *UserLocation `json:"location"`
}

PiiUser represents the personal identifiable information of the user.

func (*PiiUser) Scan

func (x *PiiUser) Scan(src any) error

Scan implements sql.Scanner for PiiUser, decoding a JSON column value.

func (PiiUser) Value

func (x PiiUser) Value() (driver.Value, error)

Value implements driver.Valuer for PiiUser, encoding it as a JSON string.

type Portrait

type Portrait struct {
	Portrait    *String `json:"portrait"`
	Portrait32  *String `json:"portrait32"`
	Portrait50  *String `json:"portrait50"`
	Portrait100 *String `json:"portrait100"`
	Portrait150 *String `json:"portrait150"`
	Portrait500 *String `json:"portrait500"`
}

Portrait represents the portrait of the freelancer.

func (*Portrait) Scan

func (x *Portrait) Scan(src any) error

Scan implements sql.Scanner for Portrait, decoding a JSON column value.

func (Portrait) Value

func (x Portrait) Value() (driver.Value, error)

Value implements driver.Valuer for Portrait, encoding it as a JSON string.

type PreferredGroup

type PreferredGroup struct {
	ID   ID      `json:"id"`
	Name *String `json:"name"`
}

PreferredGroup represents a preferred freelancer group.

func (*PreferredGroup) Scan

func (x *PreferredGroup) Scan(src any) error

Scan implements sql.Scanner for PreferredGroup, decoding a JSON column value.

func (PreferredGroup) Value

func (x PreferredGroup) Value() (driver.Value, error)

Value implements driver.Valuer for PreferredGroup, encoding it as a JSON string.

type PreferredTest

type PreferredTest struct {
	ID   ID      `json:"id"`
	Name *String `json:"name"`
}

PreferredTest represents a preferred test or certification.

func (*PreferredTest) Scan

func (x *PreferredTest) Scan(src any) error

Scan implements sql.Scanner for PreferredTest, decoding a JSON column value.

func (PreferredTest) Value

func (x PreferredTest) Value() (driver.Value, error)

Value implements driver.Valuer for PreferredTest, encoding it as a JSON string.

type PrivateCompanyInfo

type PrivateCompanyInfo struct {
	ID                        ID                         `json:"id"`
	Name                      *String                    `json:"name"`
	Description               *String                    `json:"description"`
	LegacyType                *PrivateCompanyLegacyType  `json:"legacyType"`
	LogoURL                   *String                    `json:"logoURL"`
	ContactUser               *GenericUser               `json:"contactUser"`
	Phone                     *String                    `json:"phone"`
	DisplayName               *String                    `json:"displayName"`
	TeamsEnabled              *Boolean                   `json:"teamsEnabled"`
	CanHire                   *Boolean                   `json:"canHire"`
	Hidden                    *Boolean                   `json:"hidden"`
	IncludeInStats            *Boolean                   `json:"includeInStats"`
	CompanyName               *String                    `json:"companyName"`
	Country                   *Country                   `json:"country"`
	State                     *String                    `json:"state"`
	City                      *String                    `json:"city"`
	Address                   *String                    `json:"address"`
	Zip                       *String                    `json:"zip"`
	Timezone                  *String                    `json:"timezone"`
	AccountingEntity          *String                    `json:"accountingEntity"`
	BillingType               *BillingType               `json:"billingType"`
	Summary                   *String                    `json:"summary"`
	PaymentVerificationStatus *PaymentVerificationStatus `json:"paymentVerificationStatus"`
	PaymentVerification       *PaymentVerificationResult `json:"paymentVerification"`
	AgencyDetails             *AgencyDetails             `json:"agencyDetails"`
}

PrivateCompanyInfo represents private information about a company.

func (*PrivateCompanyInfo) Scan

func (x *PrivateCompanyInfo) Scan(src any) error

Scan implements sql.Scanner for PrivateCompanyInfo, decoding a JSON column value.

func (PrivateCompanyInfo) Value

func (x PrivateCompanyInfo) Value() (driver.Value, error)

Value implements driver.Valuer for PrivateCompanyInfo, encoding it as a JSON string.

type PrivateCompanyLegacyType

type PrivateCompanyLegacyType string

PrivateCompanyLegacyType represents legacy private company type classification.

const (
	PrivateCompanyLegacyTypeClient PrivateCompanyLegacyType = "CLIENT"
	PrivateCompanyLegacyTypeAgency PrivateCompanyLegacyType = "AGENCY"
)

type PrivateTalentCloud

type PrivateTalentCloud struct {
	ID                                  ID                  `json:"id"`
	Name                                String              `json:"name"`
	Creator                             GenericUser         `json:"creator"`
	CreatorOrganization                 GenericOrganization `json:"creatorOrganization"`
	JoinInstructions                    String              `json:"joinInstructions"`
	WelcomeMessageToAddedFreelancers    String              `json:"welcomeMessageToAddedFreelancers"`
	JoinRequestAutoApproved             Boolean             `json:"joinRequestAutoApproved"`
	MessageAfterJoinRequest             String              `json:"messageAfterJoinRequest"`
	JoinRejectionMessage                String              `json:"joinRejectionMessage"`
	ExternalName                        *String             `json:"externalName"`
	Active                              Boolean             `json:"active"`
	JoinRequestNotifyUsers              []GenericUser       `json:"joinRequestNotifyUsers"`
	LogoImageLarge                      *File               `json:"logoImageLarge"`
	LogoImageSmall                      *File               `json:"logoImageSmall"`
	Description                         String              `json:"description"`
	OnboardingTaskEnabled               Boolean             `json:"onboardingTaskEnabled"`
	OnboardingTaskEnableUpdatedDateTime *String             `json:"onboardingTaskEnableUpdatedDateTime"`
	Selectable                          Boolean             `json:"selectable"`
}

PrivateTalentCloud represents a private group of professional freelancers and agencies for Upwork Enterprise clients.

func (*PrivateTalentCloud) Scan

func (x *PrivateTalentCloud) Scan(src any) error

Scan implements sql.Scanner for PrivateTalentCloud, decoding a JSON column value.

func (PrivateTalentCloud) Value

func (x PrivateTalentCloud) Value() (driver.Value, error)

Value implements driver.Valuer for PrivateTalentCloud, encoding it as a JSON string.

type PrivateTalentCloudConnection

type PrivateTalentCloudConnection struct {
	TotalCount *Int                      `json:"totalCount"`
	Edges      []*PrivateTalentCloudEdge `json:"edges"`
	PageInfo   *PageInfo                 `json:"pageInfo"`
}

PrivateTalentCloudConnection represents a paginated connection of private talent clouds.

func (*PrivateTalentCloudConnection) Scan

func (x *PrivateTalentCloudConnection) Scan(src any) error

Scan implements sql.Scanner for PrivateTalentCloudConnection, decoding a JSON column value.

func (PrivateTalentCloudConnection) Value

Value implements driver.Valuer for PrivateTalentCloudConnection, encoding it as a JSON string.

type PrivateTalentCloudEdge

type PrivateTalentCloudEdge struct {
	Cursor *String             `json:"cursor"`
	Node   *PrivateTalentCloud `json:"node"`
}

PrivateTalentCloudEdge represents an edge in a private talent cloud connection.

func (*PrivateTalentCloudEdge) Scan

func (x *PrivateTalentCloudEdge) Scan(src any) error

Scan implements sql.Scanner for PrivateTalentCloudEdge, decoding a JSON column value.

func (PrivateTalentCloudEdge) Value

Value implements driver.Valuer for PrivateTalentCloudEdge, encoding it as a JSON string.

type ProcessAddResponse

type ProcessAddResponse struct {
	ID      ID      `json:"id"`
	Success Boolean `json:"success"`
}

ProcessAddResponse represents the result of an add operation.

func (*ProcessAddResponse) Scan

func (x *ProcessAddResponse) Scan(src any) error

Scan implements sql.Scanner for ProcessAddResponse, decoding a JSON column value.

func (ProcessAddResponse) Value

func (x ProcessAddResponse) Value() (driver.Value, error)

Value implements driver.Valuer for ProcessAddResponse, encoding it as a JSON string.

type ProcessUpdateResponse

type ProcessUpdateResponse struct {
	Success Boolean `json:"success"`
}

ProcessUpdateResponse represents the result of an update operation.

func (*ProcessUpdateResponse) Scan

func (x *ProcessUpdateResponse) Scan(src any) error

Scan implements sql.Scanner for ProcessUpdateResponse, decoding a JSON column value.

func (ProcessUpdateResponse) Value

func (x ProcessUpdateResponse) Value() (driver.Value, error)

Value implements driver.Valuer for ProcessUpdateResponse, encoding it as a JSON string.

type ProfileActivityMetric

type ProfileActivityMetric struct {
	Metric ProfileActivityMetricType     `json:"metric"`
	Data   []*ProfileActivityMetricEntry `json:"data"`
}

ProfileActivityMetric represents a single profile activity metric with time series data.

func (*ProfileActivityMetric) Scan

func (x *ProfileActivityMetric) Scan(src any) error

Scan implements sql.Scanner for ProfileActivityMetric, decoding a JSON column value.

func (ProfileActivityMetric) Value

func (x ProfileActivityMetric) Value() (driver.Value, error)

Value implements driver.Valuer for ProfileActivityMetric, encoding it as a JSON string.

type ProfileActivityMetricAvailability

type ProfileActivityMetricAvailability struct {
	Metric        ProfileActivityMetricType `json:"metric"`
	AvailableFrom String                    `json:"availableFrom"`
	AvailableTo   String                    `json:"availableTo"`
}

ProfileActivityMetricAvailability represents an availability window for a profile activity metric type.

func (*ProfileActivityMetricAvailability) Scan

Scan implements sql.Scanner for ProfileActivityMetricAvailability, decoding a JSON column value.

func (ProfileActivityMetricAvailability) Value

Value implements driver.Valuer for ProfileActivityMetricAvailability, encoding it as a JSON string.

type ProfileActivityMetricEntry

type ProfileActivityMetricEntry struct {
	Timestamp String `json:"timestamp"`
	Count     Int    `json:"count"`
}

ProfileActivityMetricEntry represents a single data point for a profile activity metric.

func (*ProfileActivityMetricEntry) Scan

func (x *ProfileActivityMetricEntry) Scan(src any) error

Scan implements sql.Scanner for ProfileActivityMetricEntry, decoding a JSON column value.

func (ProfileActivityMetricEntry) Value

Value implements driver.Valuer for ProfileActivityMetricEntry, encoding it as a JSON string.

type ProfileActivityMetricType

type ProfileActivityMetricType string

ProfileActivityMetricType represents profile activity metric types.

const (
	ProfileActivityMetricTypeProfileViews                ProfileActivityMetricType = "PROFILE_VIEWS"
	ProfileActivityMetricTypeProfileViewsPaid            ProfileActivityMetricType = "PROFILE_VIEWS_PAID"
	ProfileActivityMetricTypeSearchViews                 ProfileActivityMetricType = "SEARCH_VIEWS"
	ProfileActivityMetricTypeSearchViewsPaid             ProfileActivityMetricType = "SEARCH_VIEWS_PAID"
	ProfileActivityMetricTypeInvites                     ProfileActivityMetricType = "INVITES"
	ProfileActivityMetricTypeInvitesPaid                 ProfileActivityMetricType = "INVITES_PAID"
	ProfileActivityMetricTypeProposalsSent               ProfileActivityMetricType = "PROPOSALS_SENT"
	ProfileActivityMetricTypeProposalsSentBoosted        ProfileActivityMetricType = "PROPOSALS_SENT_BOOSTED"
	ProfileActivityMetricTypeProposalsViewed             ProfileActivityMetricType = "PROPOSALS_VIEWED"
	ProfileActivityMetricTypeProposalsViewedBoosted      ProfileActivityMetricType = "PROPOSALS_VIEWED_BOOSTED"
	ProfileActivityMetricTypeProposalsInterviewed        ProfileActivityMetricType = "PROPOSALS_INTERVIEWED"
	ProfileActivityMetricTypeProposalsInterviewedBoosted ProfileActivityMetricType = "PROPOSALS_INTERVIEWED_BOOSTED"
	ProfileActivityMetricTypeProposalsHired              ProfileActivityMetricType = "PROPOSALS_HIRED"
	ProfileActivityMetricTypeProposalsHiredBoosted       ProfileActivityMetricType = "PROPOSALS_HIRED_BOOSTED"
)

type ProfileActivityMetrics

type ProfileActivityMetrics struct {
	Metrics []*ProfileActivityMetric `json:"metrics"`
}

ProfileActivityMetrics represents the response for profile activity metrics.

func (*ProfileActivityMetrics) Scan

func (x *ProfileActivityMetrics) Scan(src any) error

Scan implements sql.Scanner for ProfileActivityMetrics, decoding a JSON column value.

func (ProfileActivityMetrics) Value

Value implements driver.Valuer for ProfileActivityMetrics, encoding it as a JSON string.

type ProfileActivityMetricsAvailability

type ProfileActivityMetricsAvailability struct {
	Metrics []*ProfileActivityMetricAvailability `json:"metrics"`
}

ProfileActivityMetricsAvailability represents the response for available profile activity metrics.

func (*ProfileActivityMetricsAvailability) Scan

Scan implements sql.Scanner for ProfileActivityMetricsAvailability, decoding a JSON column value.

func (ProfileActivityMetricsAvailability) Value

Value implements driver.Valuer for ProfileActivityMetricsAvailability, encoding it as a JSON string.

type ProfileActivityMetricsLastUpdated

type ProfileActivityMetricsLastUpdated struct {
	LastUpdated *String                    `json:"lastUpdated"`
	Metric      *ProfileActivityMetricType `json:"metric"`
}

ProfileActivityMetricsLastUpdated represents the last updated timestamp for profile activity metrics.

func (*ProfileActivityMetricsLastUpdated) Scan

Scan implements sql.Scanner for ProfileActivityMetricsLastUpdated, decoding a JSON column value.

func (ProfileActivityMetricsLastUpdated) Value

Value implements driver.Valuer for ProfileActivityMetricsLastUpdated, encoding it as a JSON string.

type ProfileActivityStepType

type ProfileActivityStepType string

ProfileActivityStepType represents time series aggregation step.

const (
	ProfileActivityStepTypeDay   ProfileActivityStepType = "DAY"
	ProfileActivityStepTypeWeek  ProfileActivityStepType = "WEEK"
	ProfileActivityStepTypeMonth ProfileActivityStepType = "MONTH"
	ProfileActivityStepTypeYear  ProfileActivityStepType = "YEAR"
)

type ProposalAttachment

type ProposalAttachment struct {
	ID       ID     `json:"id"`
	Link     String `json:"link"`
	FileName String `json:"fileName"`
	FileSize Int    `json:"fileSize"`
}

func (*ProposalAttachment) Scan

func (x *ProposalAttachment) Scan(src any) error

Scan implements sql.Scanner for ProposalAttachment, decoding a JSON column value.

func (ProposalAttachment) Value

func (x ProposalAttachment) Value() (driver.Value, error)

Value implements driver.Valuer for ProposalAttachment, encoding it as a JSON string.

type ProposalAuditDetails

type ProposalAuditDetails struct {
	CreatedByUser    GenericUser  `json:"createdByUser"`
	ModifiedByUser   *GenericUser `json:"modifiedByUser"`
	CreatedDateTime  DateTime     `json:"createdDateTime"`
	ModifiedDateTime *DateTime    `json:"modifiedDateTime"`
}

func (*ProposalAuditDetails) Scan

func (x *ProposalAuditDetails) Scan(src any) error

Scan implements sql.Scanner for ProposalAuditDetails, decoding a JSON column value.

func (ProposalAuditDetails) Value

func (x ProposalAuditDetails) Value() (driver.Value, error)

Value implements driver.Valuer for ProposalAuditDetails, encoding it as a JSON string.

type ProposalEngagementDuration

type ProposalEngagementDuration struct {
	ID    ID     `json:"id"`
	Label String `json:"label"`
}

func (*ProposalEngagementDuration) Scan

func (x *ProposalEngagementDuration) Scan(src any) error

Scan implements sql.Scanner for ProposalEngagementDuration, decoding a JSON column value.

func (ProposalEngagementDuration) Value

Value implements driver.Valuer for ProposalEngagementDuration, encoding it as a JSON string.

type ProposalMetadata

type ProposalMetadata struct {
	EngagementDurationValues []ProposalEngagementDuration `json:"engagementDurationValues"`
}

func (*ProposalMetadata) Scan

func (x *ProposalMetadata) Scan(src any) error

Scan implements sql.Scanner for ProposalMetadata, decoding a JSON column value.

func (ProposalMetadata) Value

func (x ProposalMetadata) Value() (driver.Value, error)

Value implements driver.Valuer for ProposalMetadata, encoding it as a JSON string.

type ProposalMilestones

type ProposalMilestones struct {
	Description String `json:"description"`
	DueDate     String `json:"dueDate"`
	Amount      String `json:"amount"`
}

func (*ProposalMilestones) Scan

func (x *ProposalMilestones) Scan(src any) error

Scan implements sql.Scanner for ProposalMilestones, decoding a JSON column value.

func (ProposalMilestones) Value

func (x ProposalMilestones) Value() (driver.Value, error)

Value implements driver.Valuer for ProposalMilestones, encoding it as a JSON string.

type ProposalProjectPlan

type ProposalProjectPlan struct {
	ID         ID                    `json:"id"`
	Milestones []*ProposalMilestones `json:"milestones"`
}

func (*ProposalProjectPlan) Scan

func (x *ProposalProjectPlan) Scan(src any) error

Scan implements sql.Scanner for ProposalProjectPlan, decoding a JSON column value.

func (ProposalProjectPlan) Value

func (x ProposalProjectPlan) Value() (driver.Value, error)

Value implements driver.Valuer for ProposalProjectPlan, encoding it as a JSON string.

type ProposalQuestionAnswer

type ProposalQuestionAnswer struct {
	Question String `json:"question"`
	Answer   String `json:"answer"`
}

func (*ProposalQuestionAnswer) Scan

func (x *ProposalQuestionAnswer) Scan(src any) error

Scan implements sql.Scanner for ProposalQuestionAnswer, decoding a JSON column value.

func (ProposalQuestionAnswer) Value

Value implements driver.Valuer for ProposalQuestionAnswer, encoding it as a JSON string.

type ProposalReason

type ProposalReason struct {
	ID          ID      `json:"id"`
	Reason      String  `json:"reason"`
	Description *String `json:"description"`
}

func (*ProposalReason) Scan

func (x *ProposalReason) Scan(src any) error

Scan implements sql.Scanner for ProposalReason, decoding a JSON column value.

func (ProposalReason) Value

func (x ProposalReason) Value() (driver.Value, error)

Value implements driver.Valuer for ProposalReason, encoding it as a JSON string.

type ProposalTerms

type ProposalTerms struct {
	ChargeRate            Money                       `json:"chargeRate"`
	EstimatedDuration     *ProposalEngagementDuration `json:"estimatedDuration"`
	UpfrontPaymentPercent *Float                      `json:"upfrontPaymentPercent"`
}

func (*ProposalTerms) Scan

func (x *ProposalTerms) Scan(src any) error

Scan implements sql.Scanner for ProposalTerms, decoding a JSON column value.

func (ProposalTerms) Value

func (x ProposalTerms) Value() (driver.Value, error)

Value implements driver.Valuer for ProposalTerms, encoding it as a JSON string.

type ProposalUpdateResultStatus

type ProposalUpdateResultStatus string

ProposalUpdateResultStatus represents result status of a proposal update operation.

const (
	ProposalUpdateResultStatusSuccess ProposalUpdateResultStatus = "SUCCESS"
	ProposalUpdateResultStatusPending ProposalUpdateResultStatus = "PENDING"
)

type ProposalsStatistics

type ProposalsStatistics struct {
	TotalProposals                Int `json:"totalProposals"`
	TotalMessaged                 Int `json:"totalMessaged"`
	TotalHired                    Int `json:"totalHired"`
	TotalInvitesSent              Int `json:"totalInvitesSent"`
	TotalApplicantsWithAutoHidden Int `json:"totalApplicantsWithAutoHidden"`
	TotalArchived                 Int `json:"totalArchived"`
	TotalAutoHidden               Int `json:"totalAutoHidden"`
	TotalDeclined                 Int `json:"totalDeclined"`
	TotalHidden                   Int `json:"totalHidden"`
	TotalOffered                  Int `json:"totalOffered"`
	TotalShortlisted              Int `json:"totalShortlisted"`
	TotalWithdrawn                Int `json:"totalWithdrawn"`
}

ProposalsStatistics contains proposal statistics for a job posting.

func (*ProposalsStatistics) Scan

func (x *ProposalsStatistics) Scan(src any) error

Scan implements sql.Scanner for ProposalsStatistics, decoding a JSON column value.

func (ProposalsStatistics) Value

func (x ProposalsStatistics) Value() (driver.Value, error)

Value implements driver.Valuer for ProposalsStatistics, encoding it as a JSON string.

type PtcData

type PtcData struct {
	StartDate *String `json:"startDate"`
	EndDate   *String `json:"endDate"`
}

PtcData represents period dates for protected time calculation.

func (*PtcData) Scan

func (x *PtcData) Scan(src any) error

Scan implements sql.Scanner for PtcData, decoding a JSON column value.

func (PtcData) Value

func (x PtcData) Value() (driver.Value, error)

Value implements driver.Valuer for PtcData, encoding it as a JSON string.

type PublicCompanyInfo

type PublicCompanyInfo struct {
	ID          ID                      `json:"id"`
	Name        *String                 `json:"name"`
	Description *String                 `json:"description"`
	LegacyType  *OrganizationLegacyType `json:"legacyType"`
	LogoURL     *String                 `json:"logoURL"`
}

PublicCompanyInfo represents public information about a company.

func (*PublicCompanyInfo) Scan

func (x *PublicCompanyInfo) Scan(src any) error

Scan implements sql.Scanner for PublicCompanyInfo, decoding a JSON column value.

func (PublicCompanyInfo) Value

func (x PublicCompanyInfo) Value() (driver.Value, error)

Value implements driver.Valuer for PublicCompanyInfo, encoding it as a JSON string.

type PublicMarketplaceJobPostingSearchFacets

type PublicMarketplaceJobPostingSearchFacets struct {
	JobType           *Map   `json:"jobType"`
	Workload          *Map   `json:"workload"`
	ClientHires       *Map   `json:"clientHires"`
	Budget            *Map   `json:"budget"`
	ClientFeedback    *Map   `json:"clientFeedback"`
	DaysPosted        *Map   `json:"daysPosted"`
	ContractorTier    *Map   `json:"contractorTier"`
	Categories        []*Map `json:"categories"`
	Payment           *Map   `json:"payment"`
	Proposals         *Map   `json:"proposals"`
	Duration          *Map   `json:"duration"`
	Occupations       []*Map `json:"occupations"`
	FreelancersNeeded *Map   `json:"freelancersNeeded"`
}

PublicMarketplaceJobPostingSearchFacets represents public job posting facets in marketplace.

func (*PublicMarketplaceJobPostingSearchFacets) Scan

Scan implements sql.Scanner for PublicMarketplaceJobPostingSearchFacets, decoding a JSON column value.

func (PublicMarketplaceJobPostingSearchFacets) Value

Value implements driver.Valuer for PublicMarketplaceJobPostingSearchFacets, encoding it as a JSON string.

type PublicMarketplaceJobPostingSearchOccupation

type PublicMarketplaceJobPostingSearchOccupation struct {
	ID        *ID     `json:"id"`
	PrefLabel *String `json:"prefLabel"`
}

PublicMarketplaceJobPostingSearchOccupation represents occupation information in a public job posting search.

func (*PublicMarketplaceJobPostingSearchOccupation) Scan

Scan implements sql.Scanner for PublicMarketplaceJobPostingSearchOccupation, decoding a JSON column value.

func (PublicMarketplaceJobPostingSearchOccupation) Value

Value implements driver.Valuer for PublicMarketplaceJobPostingSearchOccupation, encoding it as a JSON string.

type PublicMarketplaceJobPostingSearchOccupations

type PublicMarketplaceJobPostingSearchOccupations struct {
	Category          *PublicMarketplaceJobPostingSearchOccupation   `json:"category"`
	SubCategories     []*PublicMarketplaceJobPostingSearchOccupation `json:"subCategories"`
	OccupationService *PublicMarketplaceJobPostingSearchOccupation   `json:"occupationService"`
}

PublicMarketplaceJobPostingSearchOccupations represents occupations for a public job posting search result.

func (*PublicMarketplaceJobPostingSearchOccupations) Scan

Scan implements sql.Scanner for PublicMarketplaceJobPostingSearchOccupations, decoding a JSON column value.

func (PublicMarketplaceJobPostingSearchOccupations) Value

Value implements driver.Valuer for PublicMarketplaceJobPostingSearchOccupations, encoding it as a JSON string.

type PublicMarketplaceJobPostingSearchOntologySkill

type PublicMarketplaceJobPostingSearchOntologySkill struct {
	ID          *ID      `json:"id"`
	PrefLabel   *String  `json:"prefLabel"`
	Highlighted *Boolean `json:"highlighted"`
	FreeText    *String  `json:"freeText"`
}

PublicMarketplaceJobPostingSearchOntologySkill represents ontology skill information in a public job posting search.

func (*PublicMarketplaceJobPostingSearchOntologySkill) Scan

Scan implements sql.Scanner for PublicMarketplaceJobPostingSearchOntologySkill, decoding a JSON column value.

func (PublicMarketplaceJobPostingSearchOntologySkill) Value

Value implements driver.Valuer for PublicMarketplaceJobPostingSearchOntologySkill, encoding it as a JSON string.

type PublicMarketplaceJobPostingSearchSkill

type PublicMarketplaceJobPostingSearchSkill struct {
	Name        String   `json:"name"`
	PrettyName  String   `json:"prettyName"`
	Highlighted *Boolean `json:"highlighted"`
}

PublicMarketplaceJobPostingSearchSkill represents skill information in a public job posting search.

func (*PublicMarketplaceJobPostingSearchSkill) Scan

Scan implements sql.Scanner for PublicMarketplaceJobPostingSearchSkill, decoding a JSON column value.

func (PublicMarketplaceJobPostingSearchSkill) Value

Value implements driver.Valuer for PublicMarketplaceJobPostingSearchSkill, encoding it as a JSON string.

type PublicMarketplaceJobPostingsSearch

type PublicMarketplaceJobPostingsSearch struct {
	Title                           *String                                               `json:"title"`
	CreatedDateTime                 *String                                               `json:"createdDateTime"`
	Type                            *ContractType                                         `json:"type"`
	Ciphertext                      *String                                               `json:"ciphertext"`
	Description                     *String                                               `json:"description"`
	Skills                          []*PublicMarketplaceJobPostingSearchSkill             `json:"skills"`
	Engagement                      *String                                               `json:"engagement"`
	Amount                          *Money                                                `json:"amount"`
	Recno                           *Int                                                  `json:"recno"`
	ContractorTier                  *ContractorTier                                       `json:"contractorTier"`
	JobStatus                       *JobStatus                                            `json:"jobStatus"`
	Client                          *PublicMarketplaceJobPostingsSearchClient             `json:"client"`
	Category                        *String                                               `json:"category"`
	Subcategory                     *String                                               `json:"subcategory"`
	FreelancersToHire               *Int                                                  `json:"freelancersToHire"`
	EnterpriseJob                   *Boolean                                              `json:"enterpriseJob"`
	JobTs                           *String                                               `json:"jobTs"`
	TotalApplicants                 *Int                                                  `json:"totalApplicants"`
	ID                              ID                                                    `json:"id"`
	PrefFreelancerLocationMandatory *Boolean                                              `json:"prefFreelancerLocationMandatory"`
	PublishedDateTime               *String                                               `json:"publishedDateTime"`
	Local                           *Boolean                                              `json:"local"`
	Locations                       []*FeedJobLocation                                    `json:"locations"`
	DurationLabel                   *String                                               `json:"durationLabel"`
	Applied                         *Boolean                                              `json:"applied"`
	OntologySkills                  []*PublicMarketplaceJobPostingSearchOntologySkill     `json:"ontologySkills"`
	Duration                        *String                                               `json:"duration"`
	HourlyBudgetType                *String                                               `json:"hourlyBudgetType"`
	HourlyBudgetMin                 *Float                                                `json:"hourlyBudgetMin"`
	HourlyBudgetMax                 *Float                                                `json:"hourlyBudgetMax"`
	Occupations                     *PublicMarketplaceJobPostingSearchOccupations         `json:"occupations"`
	WeeklyBudget                    *Money                                                `json:"weeklyBudget"`
	EngagementDuration              *PublicMarketplaceJobPostingsSearchEngagementDuration `json:"engagementDuration"`
}

PublicMarketplaceJobPostingsSearch represents a public job posting in the marketplace search results.

func (*PublicMarketplaceJobPostingsSearch) Scan

Scan implements sql.Scanner for PublicMarketplaceJobPostingsSearch, decoding a JSON column value.

func (PublicMarketplaceJobPostingsSearch) Value

Value implements driver.Valuer for PublicMarketplaceJobPostingsSearch, encoding it as a JSON string.

type PublicMarketplaceJobPostingsSearchClient

type PublicMarketplaceJobPostingsSearchClient struct {
	TotalHires          *Int                          `json:"totalHires"`
	TotalPostedJobs     *Int                          `json:"totalPostedJobs"`
	TotalReviews        *Int                          `json:"totalReviews"`
	TotalFeedback       *Int                          `json:"totalFeedback"`
	CompanyRid          *ID                           `json:"companyRid"`
	EdcUserId           *ID                           `json:"edcUserId"`
	LastContractRid     *ID                           `json:"lastContractRid"`
	HasFinancialPrivacy *Boolean                      `json:"hasFinancialPrivacy"`
	Location            *MarketPlaceJobSearchLocation `json:"location"`
}

PublicMarketplaceJobPostingsSearchClient represents the visible client information in marketplace.

func (*PublicMarketplaceJobPostingsSearchClient) Scan

Scan implements sql.Scanner for PublicMarketplaceJobPostingsSearchClient, decoding a JSON column value.

func (PublicMarketplaceJobPostingsSearchClient) Value

Value implements driver.Valuer for PublicMarketplaceJobPostingsSearchClient, encoding it as a JSON string.

type PublicMarketplaceJobPostingsSearchConnection

type PublicMarketplaceJobPostingsSearchConnection struct {
	Jobs   []*PublicMarketplaceJobPostingsSearch    `json:"jobs"`
	Paging *PageInfo                                `json:"paging"`
	Facets *PublicMarketplaceJobPostingSearchFacets `json:"facets"`
}

PublicMarketplaceJobPostingsSearchConnection represents the response of a public job posting search in marketplace.

func (*PublicMarketplaceJobPostingsSearchConnection) Scan

Scan implements sql.Scanner for PublicMarketplaceJobPostingsSearchConnection, decoding a JSON column value.

func (PublicMarketplaceJobPostingsSearchConnection) Value

Value implements driver.Valuer for PublicMarketplaceJobPostingsSearchConnection, encoding it as a JSON string.

type PublicMarketplaceJobPostingsSearchEngagementDuration

type PublicMarketplaceJobPostingsSearchEngagementDuration struct {
	ID    ID     `json:"id"`
	Label String `json:"label"`
}

PublicMarketplaceJobPostingsSearchEngagementDuration represents engagement duration information for a search result.

func (*PublicMarketplaceJobPostingsSearchEngagementDuration) Scan

Scan implements sql.Scanner for PublicMarketplaceJobPostingsSearchEngagementDuration, decoding a JSON column value.

func (PublicMarketplaceJobPostingsSearchEngagementDuration) Value

Value implements driver.Valuer for PublicMarketplaceJobPostingsSearchEngagementDuration, encoding it as a JSON string.

type PurchaseOrder

type PurchaseOrder struct {
	ID                           ID                                `json:"id"`
	OrderNumber                  String                            `json:"orderNumber"`
	Description                  *String                           `json:"description"`
	Amount                       Money                             `json:"amount"`
	ExpiresAtDateTime            *String                           `json:"expiresAtDateTime"`
	AclType                      PurchaseOrderAclType              `json:"aclType"`
	AclSpecification             *String                           `json:"aclSpecification"`
	Archived                     Boolean                           `json:"archived"`
	PlaceHolder                  Boolean                           `json:"placeHolder"`
	CreatedAtDateTime            String                            `json:"createdAtDateTime"`
	Creator                      GenericUser                       `json:"creator"`
	AlertThreshold               *String                           `json:"alertThreshold"`
	NotificationAlcType          *PurchaseOrderNotificationAclType `json:"notificationAlcType"`
	NotificationAlcSpecification *String                           `json:"notificationAlcSpecification"`
}

PurchaseOrder represents purchase order information.

func (*PurchaseOrder) Scan

func (x *PurchaseOrder) Scan(src any) error

Scan implements sql.Scanner for PurchaseOrder, decoding a JSON column value.

func (PurchaseOrder) Value

func (x PurchaseOrder) Value() (driver.Value, error)

Value implements driver.Valuer for PurchaseOrder, encoding it as a JSON string.

type PurchaseOrderAclType

type PurchaseOrderAclType string

PurchaseOrderAclType represents purchase order ACL type.

const (
	PurchaseOrderAclTypeHMSInCompany PurchaseOrderAclType = "HMS_IN_COMPANY"
	PurchaseOrderAclTypeHMSInTeam    PurchaseOrderAclType = "HMS_IN_TEAM"
	PurchaseOrderAclTypeUserList     PurchaseOrderAclType = "USER_LIST"
)

type PurchaseOrderNotificationAclType

type PurchaseOrderNotificationAclType string

PurchaseOrderNotificationAclType represents purchase order notification ACL type.

const (
	PurchaseOrderNotificationAclTypeAllUsersWithHiringPermissionsInCompany    PurchaseOrderNotificationAclType = "ALL_USERS_WITH_HIRING_PERMISSIONS_IN_COMPANY"
	PurchaseOrderNotificationAclTypeUsersWithHiringPermissionsInSelectedTeams PurchaseOrderNotificationAclType = "USERS_WITH_HIRING_PERMISSIONS_IN_SELECTED_TEAMS"
	PurchaseOrderNotificationAclTypeSpecificUsers                             PurchaseOrderNotificationAclType = "SPECIFIC_USERS"
	PurchaseOrderNotificationAclTypeNone                                      PurchaseOrderNotificationAclType = "NONE"
)

type QuestionType

type QuestionType string

QuestionType represents question type for screening.

const (
	QuestionTypeExperience QuestionType = "EXPERIENCE"
	QuestionTypeBPAV1      QuestionType = "BPAV1"
)

type ReasonType

type ReasonType string

ReasonType represents reason types for various actions.

const (
	ReasonTypeProposalDecline                      ReasonType = "PROPOSAL_DECLINE"
	ReasonTypeProposalWithdraw                     ReasonType = "PROPOSAL_WITHDRAW"
	ReasonTypeContractEndHourly                    ReasonType = "CONTRACT_END_HOURLY"
	ReasonTypeContractEndFixed                     ReasonType = "CONTRACT_END_FIXED"
	ReasonTypeContractFeedbackNotStartedClient     ReasonType = "CONTRACT_FEEDBACK_NOT_STARTED_CLIENT"
	ReasonTypeContractFeedbackStartedClient        ReasonType = "CONTRACT_FEEDBACK_STARTED_CLIENT"
	ReasonTypeContractFeedbackNotStartedFreelancer ReasonType = "CONTRACT_FEEDBACK_NOT_STARTED_FREELANCER"
	ReasonTypeContractFeedbackStartedFreelancer    ReasonType = "CONTRACT_FEEDBACK_STARTED_FREELANCER"
	ReasonTypeProposalReject                       ReasonType = "PROPOSAL_REJECT"
	ReasonTypeJobPostingClose                      ReasonType = "JOB_POSTING_CLOSE"
	ReasonTypeOfferDecline                         ReasonType = "OFFER_DECLINE"
	ReasonTypeInvitationWithdraw                   ReasonType = "INVITATION_WITHDRAW"
	ReasonTypeEndProviderContract                  ReasonType = "END_PROVIDER_CONTRACT"
	ReasonTypeEndCustomerContract                  ReasonType = "END_CUSTOMER_CONTRACT"
	ReasonTypeDeactivationAccount                  ReasonType = "DEACTIVATION_ACCOUNT"
)

type ReasonsMetadata

type ReasonsMetadata struct {
	ID     ID      `json:"id"`
	Reason *String `json:"reason"`
	Alias  *String `json:"alias"`
}

ReasonsMetadata represents metadata for action reasons.

func (*ReasonsMetadata) Scan

func (x *ReasonsMetadata) Scan(src any) error

Scan implements sql.Scanner for ReasonsMetadata, decoding a JSON column value.

func (ReasonsMetadata) Value

func (x ReasonsMetadata) Value() (driver.Value, error)

Value implements driver.Valuer for ReasonsMetadata, encoding it as a JSON string.

type Region

type Region struct {
	ID           ID      `json:"id"`
	Name         String  `json:"name"`
	ParentRegion *Region `json:"parentRegion"`
}

Region represents a geographic region.

func (*Region) Scan

func (x *Region) Scan(src any) error

Scan implements sql.Scanner for Region, decoding a JSON column value.

func (Region) Value

func (x Region) Value() (driver.Value, error)

Value implements driver.Valuer for Region, encoding it as a JSON string.

type RequestMetadata

type RequestMetadata struct {
	Sudo     Boolean `json:"sudo"`
	Internal Boolean `json:"internal"`
}

RequestMetadata represents request metadata.

func (*RequestMetadata) Scan

func (x *RequestMetadata) Scan(src any) error

Scan implements sql.Scanner for RequestMetadata, decoding a JSON column value.

func (RequestMetadata) Value

func (x RequestMetadata) Value() (driver.Value, error)

Value implements driver.Valuer for RequestMetadata, encoding it as a JSON string.

type ResourceType

type ResourceType string

ResourceType represents resource kinds used for permission checks.

const (
	ResourceTypeOpening                  ResourceType = "OPENING"
	ResourceTypeOrganization             ResourceType = "ORGANIZATION"
	ResourceTypeJobApplication           ResourceType = "JOB_APPLICATION"
	ResourceTypeContract                 ResourceType = "CONTRACT"
	ResourceTypeOBOConfig                ResourceType = "OBO_CONFIG"
	ResourceTypeOBOQueue                 ResourceType = "OBO_QUEUE"
	ResourceTypeJobApplicationInvitation ResourceType = "JOB_APPLICATION_INVITATION"
	ResourceTypeMilestoneProposal        ResourceType = "MILESTONE_PROPOSAL"
	ResourceTypeOffer                    ResourceType = "OFFER"
	ResourceTypeFLSContract              ResourceType = "FLS_CONTRACT"
	ResourceTypeTalentCloud              ResourceType = "TALENT_CLOUD"
	ResourceTypeAccountingEntity         ResourceType = "ACCOUNTING_ENTITY"
	ResourceTypeQuestionnaireResponseSet ResourceType = "QUESTIONNAIRE_RESPONSE_SET"
	ResourceTypeBYOInvitation            ResourceType = "BYO_INVITATION"
	ResourceTypePurchaseOrder            ResourceType = "PURCHASE_ORDER"
	ResourceTypeCustomField              ResourceType = "CUSTOM_FIELD"
	ResourceTypeContractProposal         ResourceType = "CONTRACT_PROPOSAL"
	ResourceTypePayroll                  ResourceType = "PAYROLL"
	ResourceTypeTestimonial              ResourceType = "TESTIMONIAL"
	ResourceTypeUBOUserActivityLogging   ResourceType = "UBO_USER_ACTIVITY_LOGGING"
	ResourceTypeDispute                  ResourceType = "DISPUTE"
	ResourceTypeCatalogProject           ResourceType = "CATALOG_PROJECT"
	ResourceTypeGraphQLSubscription      ResourceType = "GRAPHQL_SUBSCRIPTION"
	ResourceTypeDiversityCertificate     ResourceType = "DIVERSITY_CERTIFICATE"
	ResourceTypeFreelancerProfile        ResourceType = "FREELANCER_PROFILE"
	ResourceTypeUBOSuspension            ResourceType = "UBO_SUSPENSION"
	ResourceTypeApprovalRequest          ResourceType = "APPROVAL_REQUEST"
	ResourceTypeIntegration              ResourceType = "INTEGRATION"
	ResourceTypeRMTContract              ResourceType = "RMT_CONTRACT"
	ResourceTypeGraphQL                  ResourceType = "GRAPHQL"
	ResourceTypeOnboardingGroup          ResourceType = "ONBOARDING_GROUP"
	ResourceTypeCompanyPricing           ResourceType = "COMPANY_PRICING"
	ResourceTypeUBOTalentFee             ResourceType = "UBO_TALENT_FEE"
	ResourceTypeUBOTSTools               ResourceType = "UBO_TS_TOOLS"
	ResourceTypePSMTreatment             ResourceType = "PSM_TREATMENT"
	ResourceTypeUBOUserVerification      ResourceType = "UBO_USER_VERIFICATION"
	ResourceTypeConnects                 ResourceType = "CONNECTS"
	ResourceTypeUpworkOutcomes           ResourceType = "UPWORK_OUTCOMES"
	ResourceTypeAdCreditPromotion        ResourceType = "AD_CREDIT_PROMOTION"
	ResourceTypeUBOBlacklistTool         ResourceType = "UBO_BLACKLIST_TOOL"
	ResourceTypeUBOMassTools             ResourceType = "UBO_MASS_TOOLS"
	ResourceTypeTNSRules                 ResourceType = "TNS_RULES"
	ResourceTypeRefundRequest            ResourceType = "REFUND_REQUEST"
	ResourceTypeCheckoutWorkflow         ResourceType = "CHECKOUT_WORKFLOW"
	ResourceTypeTeamProposal             ResourceType = "TEAM_PROPOSAL"
	ResourceTypeC2H                      ResourceType = "C2H"
	ResourceTypeRiskAssessment           ResourceType = "RISK_ASSESSMENT"
	ResourceTypeTeamAds                  ResourceType = "TEAM_ADS"
	ResourceTypeExternalLLM              ResourceType = "EXTERNAL_LLM"
	ResourceTypeEmbeddedUpwork           ResourceType = "EMBEDDED_UPWORK"
	ResourceTypeNRMEmail                 ResourceType = "NRM_EMAIL"
	ResourceTypeAPIKey                   ResourceType = "API_KEY"
	ResourceTypePartnerVerifiedTalent    ResourceType = "PARTNER_VERIFIED_TALENT"
	ResourceTypeAccountHealth            ResourceType = "ACCOUNT_HEALTH"
	ResourceTypeAdCreditAccount          ResourceType = "AD_CREDIT_ACCOUNT"
	ResourceTypeProjectWorkspace         ResourceType = "PROJECT_WORKSPACE"
	ResourceTypeFlags                    ResourceType = "FLAGS"
)

type RestictionSubjectType

type RestictionSubjectType string

RestictionSubjectType represents subject type for restrictions.

const (
	RestictionSubjectTypeSoleProprietor RestictionSubjectType = "SOLE_PROPRIETOR"
	RestictionSubjectTypeMember         RestictionSubjectType = "MEMBER"
	RestictionSubjectTypeClient         RestictionSubjectType = "CLIENT"
	RestictionSubjectTypeAgency         RestictionSubjectType = "AGENCY"
	RestictionSubjectTypeUnknown        RestictionSubjectType = "UNKNOWN"
)

type Room

type Room struct {
	ID                     ID                   `json:"id"`
	RoomName               *String              `json:"roomName"`
	Organization           *CurrentOrganization `json:"organization"`
	Creator                *RoomUser            `json:"creator"`
	CreatedAtDateTime      *String              `json:"createdAtDateTime"`
	Public                 *Boolean             `json:"public"`
	Topic                  *String              `json:"topic"`
	Owner                  *RoomUser            `json:"owner"`
	NumUnread              *Int                 `json:"numUnread"`
	RoomFavoriteDateTime   *String              `json:"roomFavoriteDateTime"`
	Favorite               *Boolean             `json:"favorite"`
	NumUnreadMentions      *Int                 `json:"numUnreadMentions"`
	RoomUsers              []*RoomUser          `json:"roomUsers"`
	NumUsers               *Int                 `json:"numUsers"`
	JoinDateTime           *String              `json:"joinDateTime"`
	LastVisitedDateTime    *String              `json:"lastVisitedDateTime"`
	LastReadDateTime       *String              `json:"lastReadDateTime"`
	RoomType               *RoomType            `json:"roomType"`
	ReadOnlyDateTime       *String              `json:"readOnlyDateTime"`
	ReadOnly               *Boolean             `json:"readOnly"`
	BlockDateTime          *String              `json:"blockDateTime"`
	BlockedBy              *RoomUser            `json:"blockedBy"`
	Hidden                 *Boolean             `json:"hidden"`
	Muted                  Boolean              `json:"muted"`
	ContractId             *ID                  `json:"contractId"`
	Contract               *Contract            `json:"contract"`
	ContractDetails        *ContractDetails     `json:"contractDetails"`
	VendorProposal         *VendorProposal      `json:"vendorProposal"`
	RoomNote               *String              `json:"roomNote"`
	RoomNotePresent        Boolean              `json:"roomNotePresent"`
	OfferIds               []*ID                `json:"offerIds"`
	Recruiters             []*GenericUser       `json:"recruiters"`
	LatestStory            *RoomStory           `json:"latestStory"`
	LatestStoryPreRendered *RoomStory           `json:"latestStoryPreRendered"`
}

Room represents a messaging room.

func (*Room) Scan

func (x *Room) Scan(src any) error

Scan implements sql.Scanner for Room, decoding a JSON column value.

func (Room) Value

func (x Room) Value() (driver.Value, error)

Value implements driver.Valuer for Room, encoding it as a JSON string.

type RoomCategoryFilter

type RoomCategoryFilter string

RoomCategoryFilter represents filter options for room categories.

const (
	RoomCategoryFilterFavorites RoomCategoryFilter = "FAVORITES"
	RoomCategoryFilterPeople    RoomCategoryFilter = "PEOPLE"
	RoomCategoryFilterInterview RoomCategoryFilter = "INTERVIEW"
	RoomCategoryFilterGroup     RoomCategoryFilter = "GROUP"
)

type RoomConnection

type RoomConnection struct {
	TotalCount *Int        `json:"totalCount"`
	Edges      []*RoomEdge `json:"edges"`
	PageInfo   *PageInfo   `json:"pageInfo"`
}

RoomConnection represents a connection type for paginated room results.

func (*RoomConnection) Scan

func (x *RoomConnection) Scan(src any) error

Scan implements sql.Scanner for RoomConnection, decoding a JSON column value.

func (RoomConnection) Value

func (x RoomConnection) Value() (driver.Value, error)

Value implements driver.Valuer for RoomConnection, encoding it as a JSON string.

type RoomEdge

type RoomEdge struct {
	Node *Room `json:"node"`
}

RoomEdge represents an edge type containing a room node for pagination.

func (*RoomEdge) Scan

func (x *RoomEdge) Scan(src any) error

Scan implements sql.Scanner for RoomEdge, decoding a JSON column value.

func (RoomEdge) Value

func (x RoomEdge) Value() (driver.Value, error)

Value implements driver.Valuer for RoomEdge, encoding it as a JSON string.

type RoomPrivacyFilter

type RoomPrivacyFilter string

RoomPrivacyFilter represents filter options for room privacy settings.

const (
	RoomPrivacyFilterAll     RoomPrivacyFilter = "ALL"
	RoomPrivacyFilterPrivate RoomPrivacyFilter = "PRIVATE"
	RoomPrivacyFilterPublic  RoomPrivacyFilter = "PUBLIC"
)

type RoomStory

type RoomStory struct {
	ID              ID                    `json:"id"`
	Room            Room                  `json:"room"`
	CreatedDateTime String                `json:"createdDateTime"`
	UpdatedDateTime String                `json:"updatedDateTime"`
	User            *GenericUser          `json:"user"`
	Message         *String               `json:"message"`
	Organization    *GenericOrganization  `json:"organization"`
	RoomStoryNote   *RoomStoryNote        `json:"roomStoryNote"`
	Attachments     []*MessageAttachments `json:"attachments"`
}

RoomStory represents a message or event posted in a room.

func (*RoomStory) Scan

func (x *RoomStory) Scan(src any) error

Scan implements sql.Scanner for RoomStory, decoding a JSON column value.

func (RoomStory) Value

func (x RoomStory) Value() (driver.Value, error)

Value implements driver.Valuer for RoomStory, encoding it as a JSON string.

type RoomStoryAbuseType

type RoomStoryAbuseType string

RoomStoryAbuseType represents types of abuse that can be reported for a room story.

const (
	RoomStoryAbuseTypeNone                    RoomStoryAbuseType = "NONE"
	RoomStoryAbuseTypeAbuse                   RoomStoryAbuseType = "ABUSE"
	RoomStoryAbuseTypeThirdparty              RoomStoryAbuseType = "THIRDPARTY"
	RoomStoryAbuseTypeDisintermediation       RoomStoryAbuseType = "DISINTERMEDIATION"
	RoomStoryAbuseTypeOther                   RoomStoryAbuseType = "OTHER"
	RoomStoryAbuseTypeMessageIsThreatening    RoomStoryAbuseType = "MESSAGE_IS_THREATENING"
	RoomStoryAbuseTypeSpam                    RoomStoryAbuseType = "SPAM"
	RoomStoryAbuseTypeBuyUpworkAccount        RoomStoryAbuseType = "BUY_UPWORK_ACCOUNT"
	RoomStoryAbuseTypeMisrepresentingIdentity RoomStoryAbuseType = "MISREPRESENTING_IDENTITY"
	RoomStoryAbuseTypeMisrepresentingSkills   RoomStoryAbuseType = "MISREPRESENTING_SKILLS"
)

type RoomStoryConnection

type RoomStoryConnection struct {
	TotalCount *Int             `json:"totalCount"`
	Edges      []*RoomStoryEdge `json:"edges"`
	PageInfo   *PageInfo        `json:"pageInfo"`
}

RoomStoryConnection represents a connection type for paginated room story results.

func (*RoomStoryConnection) Scan

func (x *RoomStoryConnection) Scan(src any) error

Scan implements sql.Scanner for RoomStoryConnection, decoding a JSON column value.

func (RoomStoryConnection) Value

func (x RoomStoryConnection) Value() (driver.Value, error)

Value implements driver.Valuer for RoomStoryConnection, encoding it as a JSON string.

type RoomStoryEdge

type RoomStoryEdge struct {
	Cursor *String    `json:"cursor"`
	Node   *RoomStory `json:"node"`
}

RoomStoryEdge represents an edge type containing a room story node and cursor for pagination.

func (*RoomStoryEdge) Scan

func (x *RoomStoryEdge) Scan(src any) error

Scan implements sql.Scanner for RoomStoryEdge, decoding a JSON column value.

func (RoomStoryEdge) Value

func (x RoomStoryEdge) Value() (driver.Value, error)

Value implements driver.Valuer for RoomStoryEdge, encoding it as a JSON string.

type RoomStoryNote

type RoomStoryNote struct {
	Favorite     Boolean             `json:"favorite"`
	AbuseType    *RoomStoryAbuseType `json:"abuseType"`
	Whitelisted  Boolean             `json:"whitelisted"`
	AbuseDetails *String             `json:"abuseDetails"`
}

RoomStoryNote represents notes/flags attached to the story by the user.

func (*RoomStoryNote) Scan

func (x *RoomStoryNote) Scan(src any) error

Scan implements sql.Scanner for RoomStoryNote, decoding a JSON column value.

func (RoomStoryNote) Value

func (x RoomStoryNote) Value() (driver.Value, error)

Value implements driver.Valuer for RoomStoryNote, encoding it as a JSON string.

type RoomType

type RoomType string

RoomType represents room type.

type RoomTypeFilter

type RoomTypeFilter string

RoomTypeFilter represents filter options for room types.

const (
	RoomTypeFilterAll       RoomTypeFilter = "ALL"
	RoomTypeFilterGroup     RoomTypeFilter = "GROUP"
	RoomTypeFilterOneOnOne  RoomTypeFilter = "ONE_ON_ONE"
	RoomTypeFilterInterview RoomTypeFilter = "INTERVIEW"
)

type RoomTypeV2

type RoomTypeV2 string

RoomTypeV2 represents room type for creation.

type RoomUser

type RoomUser struct {
	User         *GenericUser         `json:"user"`
	Organization *GenericOrganization `json:"organization"`
	Role         *String              `json:"role"`
}

RoomUser represents a user participating in a room with their organization and role.

func (*RoomUser) Scan

func (x *RoomUser) Scan(src any) error

Scan implements sql.Scanner for RoomUser, decoding a JSON column value.

func (RoomUser) Value

func (x RoomUser) Value() (driver.Value, error)

Value implements driver.Valuer for RoomUser, encoding it as a JSON string.

type SandsJobPostStatus

type SandsJobPostStatus string

SandsJobPostStatus represents status of a Sands job post.

const (
	SandsJobPostStatusDraft     SandsJobPostStatus = "DRAFT"
	SandsJobPostStatusPublished SandsJobPostStatus = "PUBLISHED"
)
type Search struct {
}

Search represents a search result.

func (*Search) Scan

func (x *Search) Scan(src any) error

Scan implements sql.Scanner for Search, decoding a JSON column value.

func (Search) Value

func (x Search) Value() (driver.Value, error)

Value implements driver.Valuer for Search, encoding it as a JSON string.

type SegmentationType

type SegmentationType struct {
	ID            ID      `json:"id"`
	Name          *String `json:"name"`
	ReferenceName *String `json:"referenceName"`
}

SegmentationType represents segmentation type metadata.

func (*SegmentationType) Scan

func (x *SegmentationType) Scan(src any) error

Scan implements sql.Scanner for SegmentationType, decoding a JSON column value.

func (SegmentationType) Value

func (x SegmentationType) Value() (driver.Value, error)

Value implements driver.Valuer for SegmentationType, encoding it as a JSON string.

type SemSearchV2Profile

type SemSearchV2Profile struct {
	Profile *TalentProfile `json:"profile"`
}

SemSearchV2Profile represents a SEM profile result.

func (*SemSearchV2Profile) Scan

func (x *SemSearchV2Profile) Scan(src any) error

Scan implements sql.Scanner for SemSearchV2Profile, decoding a JSON column value.

func (SemSearchV2Profile) Value

func (x SemSearchV2Profile) Value() (driver.Value, error)

Value implements driver.Valuer for SemSearchV2Profile, encoding it as a JSON string.

type SemSearchV2Response

type SemSearchV2Response struct {
	PagingInfo PagingInfo            `json:"pagingInfo"`
	Profiles   []*SemSearchV2Profile `json:"profiles"`
}

SemSearchV2Response represents a SEM search response.

func (*SemSearchV2Response) Scan

func (x *SemSearchV2Response) Scan(src any) error

Scan implements sql.Scanner for SemSearchV2Response, decoding a JSON column value.

func (SemSearchV2Response) Value

func (x SemSearchV2Response) Value() (driver.Value, error)

Value implements driver.Valuer for SemSearchV2Response, encoding it as a JSON string.

type Skill

type Skill struct {
	ID                      ID                   `json:"id"`
	OntologyID              String               `json:"ontologyId"`
	Type                    []OntologyEntityType `json:"type"`
	EntityStatus            OntologyEntityStatus `json:"entityStatus"`
	PreferredLabel          String               `json:"preferredLabel"`
	CreatedDateTime         *String              `json:"createdDateTime"`
	ModifiedDateTime        *String              `json:"modifiedDateTime"`
	Definition              *String              `json:"definition"`
	AltLabel                []*String            `json:"altLabel"`
	Narrower                []*String            `json:"narrower"`
	NarrowerIds             []*ID                `json:"narrowerIds"`
	Broader                 []*String            `json:"broader"`
	BroaderIds              []*ID                `json:"broaderIds"`
	DependsOn               []*String            `json:"dependsOn"`
	DependsOnIds            []*ID                `json:"dependsOnIds"`
	SplitInto               []*String            `json:"splitInto"`
	SplitIntoIds            []*ID                `json:"splitIntoIds"`
	MergedInto              *String              `json:"mergedInto"`
	MergedIntoId            *ID                  `json:"mergedIntoId"`
	ReplacedBy              *String              `json:"replacedBy"`
	ReplacedById            *ID                  `json:"replacedById"`
	ScopeNote               *String              `json:"scopeNote"`
	ExternalLink            []*String            `json:"externalLink"`
	ExactMatch              []*String            `json:"exactMatch"`
	ExactMatchIds           []*ID                `json:"exactMatchIds"`
	CloseMatch              []*String            `json:"closeMatch"`
	CloseMatchIds           []*ID                `json:"closeMatchIds"`
	Comment                 *String              `json:"comment"`
	AttributeLevel          []*String            `json:"attributeLevel"`
	AllowMultipleClient     Boolean              `json:"allowMultipleClient"`
	AllowMultipleFreelancer Boolean              `json:"allowMultipleFreelancer"`
	AllowOther              Boolean              `json:"allowOther"`
	ClientQuestion          *String              `json:"clientQuestion"`
	ClientTip               *String              `json:"clientTip"`
	FreelancerQuestion      *String              `json:"freelancerQuestion"`
	FreelancerTip           *String              `json:"freelancerTip"`
	AdvancedClient          Boolean              `json:"advancedClient"`
	Client                  Boolean              `json:"client"`
	Freelancer              Boolean              `json:"freelancer"`
	RequiredClient          Boolean              `json:"requiredClient"`
	RequiredFreelancer      Boolean              `json:"requiredFreelancer"`
	OtherClientLabel        *String              `json:"otherClientLabel"`
	OtherFreelancerLabel    *String              `json:"otherFreelancerLabel"`
	PresentationMode        *String              `json:"presentationMode"`
	Priority                *Int                 `json:"priority"`
	IsRequiredBy            []*String            `json:"isRequiredBy"`
	IsRequiredByIds         []*ID                `json:"isRequiredByIds"`
	LegacySkillNid          *String              `json:"legacySkillNid"`
	PrettyName              *String              `json:"prettyName"`
	LegacySkillId           *ID                  `json:"legacySkillId"`
}

Skill represents methods, tools, frameworks, processes, etc. that can be used in the industry.

func (*Skill) Scan

func (x *Skill) Scan(src any) error

Scan implements sql.Scanner for Skill, decoding a JSON column value.

func (Skill) Value

func (x Skill) Value() (driver.Value, error)

Value implements driver.Valuer for Skill, encoding it as a JSON string.

type Snapshot

type Snapshot struct {
	ID                       ID               `json:"id"`
	Time                     *Int             `json:"time"`
	ContractId               *String          `json:"contractId"`
	MouseEventsCount         *Int             `json:"mouseEventsCount"`
	KeyboardEventsCount      *Int             `json:"keyboardEventsCount"`
	TeamName                 *String          `json:"teamName"`
	Status                   *String          `json:"status"`
	ActiveWindowTitle        *String          `json:"activeWindowTitle"`
	Memo                     *String          `json:"memo"`
	CompanyId                *String          `json:"companyId"`
	HasScreenshot            *Boolean         `json:"hasScreenshot"`
	ScreenshotUrl            *String          `json:"screenshotUrl"`
	ScreenshotImage          *String          `json:"screenshotImage"`
	ScreenshotImageLarge     *String          `json:"screenshotImageLarge"`
	ScreenshotImageMedium    *String          `json:"screenshotImageMedium"`
	ScreenshotImageThumbnail *String          `json:"screenshotImageThumbnail"`
	HasWebcam                *Boolean         `json:"hasWebcam"`
	WebcamUrl                *String          `json:"webcamUrl"`
	WebcamImage              *String          `json:"webcamImage"`
	WebcamImageThumbnail     *String          `json:"webcamImageThumbnail"`
	Task                     *String          `json:"task"`
	Minutes                  *SnapshotMinutes `json:"minutes"`
}

Snapshot represents a complete snapshot of work with screenshots, activity tracking, and metadata.

func (*Snapshot) Scan

func (x *Snapshot) Scan(src any) error

Scan implements sql.Scanner for Snapshot, decoding a JSON column value.

func (Snapshot) Value

func (x Snapshot) Value() (driver.Value, error)

Value implements driver.Valuer for Snapshot, encoding it as a JSON string.

type SnapshotMinute

type SnapshotMinute struct {
	Time     *Int `json:"time"`
	Mouse    *Int `json:"mouse"`
	Keyboard *Int `json:"keyboard"`
}

SnapshotMinute represents activity events for a single minute within a snapshot.

func (*SnapshotMinute) Scan

func (x *SnapshotMinute) Scan(src any) error

Scan implements sql.Scanner for SnapshotMinute, decoding a JSON column value.

func (SnapshotMinute) Value

func (x SnapshotMinute) Value() (driver.Value, error)

Value implements driver.Valuer for SnapshotMinute, encoding it as a JSON string.

type SnapshotMinutes

type SnapshotMinutes struct {
	Minute []*SnapshotMinute `json:"minute"`
}

SnapshotMinutes represents a collection of per-minute activity data for a snapshot.

func (*SnapshotMinutes) Scan

func (x *SnapshotMinutes) Scan(src any) error

Scan implements sql.Scanner for SnapshotMinutes, decoding a JSON column value.

func (SnapshotMinutes) Value

func (x SnapshotMinutes) Value() (driver.Value, error)

Value implements driver.Valuer for SnapshotMinutes, encoding it as a JSON string.

type SortOrder

type SortOrder string

SortOrder represents sort direction values.

const (
	SortOrderASC  SortOrder = "ASC"
	SortOrderDESC SortOrder = "DESC"
)

type SourceType

type SourceType string

SourceType represents source type for offer.

const (
	SourceTypeJobPosting             SourceType = "JobPosting"
	SourceTypeJobApplication         SourceType = "JobApplication"
	SourceTypeDirect                 SourceType = "Direct"
	SourceTypeContractProposal       SourceType = "ContractProposal"
	SourceTypePayroll                SourceType = "Payroll"
	SourceTypeTalentScout            SourceType = "TalentScout"
	SourceTypeCategoryUid            SourceType = "CategoryUid"
	SourceTypeCategoryRef            SourceType = "CategoryRef"
	SourceTypeCatalogProjectOrderUid SourceType = "CatalogProjectOrderUid"
	SourceTypeUpworkRemote           SourceType = "UpworkRemote"
	SourceTypeBringYourOwn           SourceType = "BringYourOwn"
)

type SourceTypeInput

type SourceTypeInput string

SourceTypeInput represents offer source type for input.

const (
	SourceTypeInputJobPosting     SourceTypeInput = "JobPosting"
	SourceTypeInputJobApplication SourceTypeInput = "JobApplication"
	SourceTypeInputDirect         SourceTypeInput = "Direct"
)

type Staff

type Staff struct {
	ID               ID         `json:"id"`
	User             *StaffUser `json:"user"`
	ActivationStatus *Int       `json:"activationStatus"`
	CreationDate     *String    `json:"creationDate"`
	StaffType        *Int       `json:"staffType"`
}

Staff represents staff membership details.

func (*Staff) Scan

func (x *Staff) Scan(src any) error

Scan implements sql.Scanner for Staff, decoding a JSON column value.

func (Staff) Value

func (x Staff) Value() (driver.Value, error)

Value implements driver.Valuer for Staff, encoding it as a JSON string.

type StaffUser

type StaffUser struct {
	ID        ID      `json:"id"`
	Nid       ID      `json:"nid"`
	Rid       ID      `json:"rid"`
	Name      *String `json:"name"`
	FirstName *String `json:"firstName"`
	LastName  *String `json:"lastName"`
	PhotoUrl  *String `json:"photoUrl"`
	PublicUrl *String `json:"publicUrl"`
	Email     *String `json:"email"`
}

StaffUser represents information about a staff user.

func (*StaffUser) Scan

func (x *StaffUser) Scan(src any) error

Scan implements sql.Scanner for StaffUser, decoding a JSON column value.

func (StaffUser) Value

func (x StaffUser) Value() (driver.Value, error)

Value implements driver.Valuer for StaffUser, encoding it as a JSON string.

type StaffsConnection

type StaffsConnection struct {
	Edges      []*StaffsConnectionEdge `json:"edges"`
	TotalCount *Int                    `json:"totalCount"`
	PageInfo   *PageInfo               `json:"pageInfo"`
}

StaffsConnection represents a connection of staff records.

func (*StaffsConnection) Scan

func (x *StaffsConnection) Scan(src any) error

Scan implements sql.Scanner for StaffsConnection, decoding a JSON column value.

func (StaffsConnection) Value

func (x StaffsConnection) Value() (driver.Value, error)

Value implements driver.Valuer for StaffsConnection, encoding it as a JSON string.

type StaffsConnectionEdge

type StaffsConnectionEdge struct {
	Node *Staff `json:"node"`
}

StaffsConnectionEdge represents an edge in staff connection.

func (*StaffsConnectionEdge) Scan

func (x *StaffsConnectionEdge) Scan(src any) error

Scan implements sql.Scanner for StaffsConnectionEdge, decoding a JSON column value.

func (StaffsConnectionEdge) Value

func (x StaffsConnectionEdge) Value() (driver.Value, error)

Value implements driver.Valuer for StaffsConnectionEdge, encoding it as a JSON string.

type StipendContractTerm

type StipendContractTerm struct {
	ID                 ID            `json:"id"`
	CreateDate         *String       `json:"createDate"`
	ModifyDate         *String       `json:"modifyDate"`
	ChangeDate         *String       `json:"changeDate"`
	CreatedBy          *ContractUser `json:"createdBy"`
	CreatorUserType    *CreatorType  `json:"creatorUserType"`
	ChangedBy          *ContractUser `json:"changedBy"`
	MinGuaranteedHours *String       `json:"minGuaranteedHours"`
	StipendAmount      *Money        `json:"stipendAmount"`
	StartDate          *String       `json:"startDate"`
	ChangingUserType   *CreatorType  `json:"changingUserType"`
	EndDate            *String       `json:"endDate"`
	JobType            *JobType      `json:"jobType"`
	PtcData            *PtcData      `json:"ptcData"`
}

StipendContractTerm represents a stipend-based contract term including minimum hours and amount.

func (*StipendContractTerm) Scan

func (x *StipendContractTerm) Scan(src any) error

Scan implements sql.Scanner for StipendContractTerm, decoding a JSON column value.

func (StipendContractTerm) Value

func (x StipendContractTerm) Value() (driver.Value, error)

Value implements driver.Valuer for StipendContractTerm, encoding it as a JSON string.

type StipendTerms

type StipendTerms struct {
	Stipend    *Money      `json:"stipend"`
	VendorRate *Money      `json:"vendorRate"`
	Period     *PeriodType `json:"period"`
}

StipendTerms represents terms for a stipend.

func (*StipendTerms) Scan

func (x *StipendTerms) Scan(src any) error

Scan implements sql.Scanner for StipendTerms, decoding a JSON column value.

func (StipendTerms) Value

func (x StipendTerms) Value() (driver.Value, error)

Value implements driver.Valuer for StipendTerms, encoding it as a JSON string.

type String

type String = string

String represents a GraphQL String scalar.

type StringMapElement

type StringMapElement struct {
	Key   String `json:"key"`
	Value String `json:"value"`
}

StringMapElement represents a key-value pair.

func (*StringMapElement) Scan

func (x *StringMapElement) Scan(src any) error

Scan implements sql.Scanner for StringMapElement, decoding a JSON column value.

StringMapElement has its own Value field, so it cannot also implement driver.Valuer (Go disallows a method and field sharing a name); use valueJSON(x) directly when writing this type to a database column.

type StringMapOccupation

type StringMapOccupation struct {
	Category String       `json:"category"`
	Services []Occupation `json:"services"`
}

StringMapOccupation represents a category-to-occupations mapping.

func (*StringMapOccupation) Scan

func (x *StringMapOccupation) Scan(src any) error

Scan implements sql.Scanner for StringMapOccupation, decoding a JSON column value.

func (StringMapOccupation) Value

func (x StringMapOccupation) Value() (driver.Value, error)

Value implements driver.Valuer for StringMapOccupation, encoding it as a JSON string.

type Submission

type Submission struct {
	ID               ID      `json:"id"`
	CreatedDateTime  *String `json:"createdDateTime"`
	ModifiedDateTime *String `json:"modifiedDateTime"`
	Amount           *Money  `json:"amount"`
	SequenceId       *Int    `json:"sequenceId"`
}

Submission represents a milestone submission record.

func (*Submission) Scan

func (x *Submission) Scan(src any) error

Scan implements sql.Scanner for Submission, decoding a JSON column value.

func (Submission) Value

func (x Submission) Value() (driver.Value, error)

Value implements driver.Valuer for Submission, encoding it as a JSON string.

type SubmissionAttachmentDetails

type SubmissionAttachmentDetails struct {
	ID           ID                   `json:"id"`
	FileName     String               `json:"fileName"`
	FileUrl      String               `json:"fileUrl"`
	FileSize     Int                  `json:"fileSize"`
	OrgId        *ID                  `json:"orgId"`
	Organization *GenericOrganization `json:"organization"`
}

SubmissionAttachmentDetails represents attachment details associated with a milestone submission.

func (*SubmissionAttachmentDetails) Scan

func (x *SubmissionAttachmentDetails) Scan(src any) error

Scan implements sql.Scanner for SubmissionAttachmentDetails, decoding a JSON column value.

func (SubmissionAttachmentDetails) Value

Value implements driver.Valuer for SubmissionAttachmentDetails, encoding it as a JSON string.

type SubmissionEvent

type SubmissionEvent struct {
	Submission        Submission         `json:"submission"`
	SubmissionMessage *SubmissionMessage `json:"submissionMessage"`
	RevisionMessage   *SubmissionMessage `json:"revisionMessage"`
}

SubmissionEvent represents a milestone submission event and associated messages.

func (*SubmissionEvent) Scan

func (x *SubmissionEvent) Scan(src any) error

Scan implements sql.Scanner for SubmissionEvent, decoding a JSON column value.

func (SubmissionEvent) Value

func (x SubmissionEvent) Value() (driver.Value, error)

Value implements driver.Valuer for SubmissionEvent, encoding it as a JSON string.

type SubmissionMessage

type SubmissionMessage struct {
	CreatedDateTime *String `json:"createdDateTime"`
	Message         *String `json:"message"`
}

SubmissionMessage represents a message attached to a milestone submission or revision.

func (*SubmissionMessage) Scan

func (x *SubmissionMessage) Scan(src any) error

Scan implements sql.Scanner for SubmissionMessage, decoding a JSON column value.

func (SubmissionMessage) Value

func (x SubmissionMessage) Value() (driver.Value, error)

Value implements driver.Valuer for SubmissionMessage, encoding it as a JSON string.

type SubmitContractMilestoneResponse

type SubmitContractMilestoneResponse struct {
	SubmissionId ID `json:"submissionId"`
}

SubmitContractMilestoneResponse represents the response of submitting a contract milestone.

func (*SubmitContractMilestoneResponse) Scan

Scan implements sql.Scanner for SubmitContractMilestoneResponse, decoding a JSON column value.

func (SubmitContractMilestoneResponse) Value

Value implements driver.Valuer for SubmitContractMilestoneResponse, encoding it as a JSON string.

type SuspensionMetadata

type SuspensionMetadata struct {
	ResumptionSessionId *String                 `json:"resumptionSessionId"`
	SubjectTypes        []RestictionSubjectType `json:"subjectTypes"`
}

SuspensionMetadata represents suspension metadata attached to permission denial.

func (*SuspensionMetadata) Scan

func (x *SuspensionMetadata) Scan(src any) error

Scan implements sql.Scanner for SuspensionMetadata, decoding a JSON column value.

func (SuspensionMetadata) Value

func (x SuspensionMetadata) Value() (driver.Value, error)

Value implements driver.Valuer for SuspensionMetadata, encoding it as a JSON string.

type TalentAdjustedCategoryScore

type TalentAdjustedCategoryScore struct {
	AverageCategoryScore *Float `json:"averageCategoryScore"`
}

TalentAdjustedCategoryScore represents an adjusted feedback score for a specific job category.

func (*TalentAdjustedCategoryScore) Scan

func (x *TalentAdjustedCategoryScore) Scan(src any) error

Scan implements sql.Scanner for TalentAdjustedCategoryScore, decoding a JSON column value.

func (TalentAdjustedCategoryScore) Value

Value implements driver.Valuer for TalentAdjustedCategoryScore, encoding it as a JSON string.

type TalentCloudSection

type TalentCloudSection struct {
	ID            ID                          `json:"id"`
	TalentCloud   *PrivateTalentCloud         `json:"talentCloud"`
	Name          *String                     `json:"name"`
	Description   *String                     `json:"description"`
	Type          *TalentCloudTaskSectionType `json:"type"`
	AttachmentIds []*ID                       `json:"attachmentIds"`
	Active        *Boolean                    `json:"active"`
	OrderIndex    *Int                        `json:"orderIndex"`
}

TalentCloudSection represents talent cloud section details.

func (*TalentCloudSection) Scan

func (x *TalentCloudSection) Scan(src any) error

Scan implements sql.Scanner for TalentCloudSection, decoding a JSON column value.

func (TalentCloudSection) Value

func (x TalentCloudSection) Value() (driver.Value, error)

Value implements driver.Valuer for TalentCloudSection, encoding it as a JSON string.

type TalentCloudTask

type TalentCloudTask struct {
	TalentCloud  *PrivateTalentCloud       `json:"talentCloud"`
	TaskSections []*TalentCloudTaskSection `json:"taskSections"`
}

TalentCloudTask represents a talent cloud task overview with sections.

func (*TalentCloudTask) Scan

func (x *TalentCloudTask) Scan(src any) error

Scan implements sql.Scanner for TalentCloudTask, decoding a JSON column value.

func (TalentCloudTask) Value

func (x TalentCloudTask) Value() (driver.Value, error)

Value implements driver.Valuer for TalentCloudTask, encoding it as a JSON string.

type TalentCloudTaskOverview

type TalentCloudTaskOverview struct {
	ID                 ID                                   `json:"id"`
	TaskSectionIds     []*ID                                `json:"taskSectionIds"`
	Name               *String                              `json:"name"`
	CompletionRequired *Boolean                             `json:"completionRequired"`
	Active             *Boolean                             `json:"active"`
	Permissions        []*TalentCloudTaskOverviewPermission `json:"permissions"`
	PrimaryTaskOwner   *TalentCloudTaskRole                 `json:"primaryTaskOwner"`
}

TalentCloudTaskOverview represents an overview of a talent cloud task.

func (*TalentCloudTaskOverview) Scan

func (x *TalentCloudTaskOverview) Scan(src any) error

Scan implements sql.Scanner for TalentCloudTaskOverview, decoding a JSON column value.

func (TalentCloudTaskOverview) Value

Value implements driver.Valuer for TalentCloudTaskOverview, encoding it as a JSON string.

type TalentCloudTaskOverviewPermission

type TalentCloudTaskOverviewPermission struct {
	Role       *TalentCloudTaskRole       `json:"role"`
	Permission *TalentCloudTaskPermission `json:"permission"`
}

TalentCloudTaskOverviewPermission represents a permission mapping for a specific role on a task.

func (*TalentCloudTaskOverviewPermission) Scan

Scan implements sql.Scanner for TalentCloudTaskOverviewPermission, decoding a JSON column value.

func (TalentCloudTaskOverviewPermission) Value

Value implements driver.Valuer for TalentCloudTaskOverviewPermission, encoding it as a JSON string.

type TalentCloudTaskPermission

type TalentCloudTaskPermission string

TalentCloudTaskPermission represents permission level for talent cloud tasks.

const (
	TalentCloudTaskPermissionNo    TalentCloudTaskPermission = "NO"
	TalentCloudTaskPermissionView  TalentCloudTaskPermission = "VIEW"
	TalentCloudTaskPermissionWrite TalentCloudTaskPermission = "WRITE"
)

type TalentCloudTaskRole

type TalentCloudTaskRole string

TalentCloudTaskRole represents role types for talent cloud task management.

const (
	TalentCloudTaskRoleFreelancer          TalentCloudTaskRole = "FREELANCER"
	TalentCloudTaskRoleHiringManager       TalentCloudTaskRole = "HIRING_MANAGER"
	TalentCloudTaskRoleAdministrator       TalentCloudTaskRole = "ADMINISTRATOR"
	TalentCloudTaskRoleComplianceFunctions TalentCloudTaskRole = "COMPLIANCE_FUNCTIONS"
)

type TalentCloudTaskSection

type TalentCloudTaskSection struct {
	TaskSectionDetails *TalentCloudSection        `json:"taskSectionDetails"`
	Tasks              []*TalentCloudTaskOverview `json:"tasks"`
}

TalentCloudTaskSection represents a task section containing section details and tasks.

func (*TalentCloudTaskSection) Scan

func (x *TalentCloudTaskSection) Scan(src any) error

Scan implements sql.Scanner for TalentCloudTaskSection, decoding a JSON column value.

func (TalentCloudTaskSection) Value

Value implements driver.Valuer for TalentCloudTaskSection, encoding it as a JSON string.

type TalentCloudTaskSectionType

type TalentCloudTaskSectionType string

TalentCloudTaskSectionType represents section types for talent cloud tasks.

const (
	TalentCloudTaskSectionTypeOnboarding            TalentCloudTaskSectionType = "ONBOARDING"
	TalentCloudTaskSectionTypeOffboarding           TalentCloudTaskSectionType = "OFFBOARDING"
	TalentCloudTaskSectionTypeForPayrolledEmployees TalentCloudTaskSectionType = "FOR_PAYROLLED_EMPLOYEES"
)

type TalentCommunityCertificate

type TalentCommunityCertificate struct {
	Name               *String                                     `json:"name"`
	Description        *String                                     `json:"description"`
	LogoUrl            *String                                     `json:"logoUrl"`
	VerificationMethod *String                                     `json:"verificationMethod"`
	Provider           *String                                     `json:"provider"`
	ProviderLink       *String                                     `json:"providerLink"`
	Duration           *Int                                        `json:"duration"`
	Classifications    []*TalentDiversityCertificateClassification `json:"classifications"`
	Status             *TalentCommunityCertificateStatus           `json:"status"`
}

TalentCommunityCertificate represents community certificate details including provider and verification info.

func (*TalentCommunityCertificate) Scan

func (x *TalentCommunityCertificate) Scan(src any) error

Scan implements sql.Scanner for TalentCommunityCertificate, decoding a JSON column value.

func (TalentCommunityCertificate) Value

Value implements driver.Valuer for TalentCommunityCertificate, encoding it as a JSON string.

type TalentCommunityCertificateStatus

type TalentCommunityCertificateStatus string

TalentCommunityCertificateStatus represents status of a community certificate.

const (
	TalentCommunityCertificateStatusPending              TalentCommunityCertificateStatus = "PENDING"
	TalentCommunityCertificateStatusVerified             TalentCommunityCertificateStatus = "VERIFIED"
	TalentCommunityCertificateStatusRejected             TalentCommunityCertificateStatus = "REJECTED"
	TalentCommunityCertificateStatusExpired              TalentCommunityCertificateStatus = "EXPIRED"
	TalentCommunityCertificateStatusSelfReported         TalentCommunityCertificateStatus = "SELF_REPORTED"
	TalentCommunityCertificateStatusAwaitingConfirmation TalentCommunityCertificateStatus = "AWAITING_CONFIRMATION"
)

type TalentCommunityCertificateVisibility

type TalentCommunityCertificateVisibility string

TalentCommunityCertificateVisibility represents visibility settings for community certificates.

const (
	TalentCommunityCertificateVisibilityPublic                TalentCommunityCertificateVisibility = "PUBLIC"
	TalentCommunityCertificateVisibilityEnterpriseClientsOnly TalentCommunityCertificateVisibility = "ENTERPRISE_CLIENTS_ONLY"
	TalentCommunityCertificateVisibilityPrivate               TalentCommunityCertificateVisibility = "PRIVATE"
)

type TalentContract

type TalentContract struct {
	ID           ID                    `json:"id"`
	StartDate    *String               `json:"startDate"`
	EndDate      *String               `json:"endDate"`
	Status       *TalentContractStatus `json:"status"`
	ClientTeamId *ID                   `json:"clientTeamId"`
	Title        *String               `json:"title"`
	Terms        *TalentContractTerms  `json:"terms"`
	CreateDate   *String               `json:"createDate"`
	ClientOrgId  *ID                   `json:"clientOrgId"`
}

TalentContract represents contract details including terms, status, and dates.

func (*TalentContract) Scan

func (x *TalentContract) Scan(src any) error

Scan implements sql.Scanner for TalentContract, decoding a JSON column value.

func (TalentContract) Value

func (x TalentContract) Value() (driver.Value, error)

Value implements driver.Valuer for TalentContract, encoding it as a JSON string.

type TalentContractAccessType

type TalentContractAccessType string

TalentContractAccessType represents access type for talent contracts.

const (
	TalentContractAccessTypePublic  TalentContractAccessType = "PUBLIC"
	TalentContractAccessTypePrivate TalentContractAccessType = "PRIVATE"
	TalentContractAccessTypeIndex   TalentContractAccessType = "INDEX"
)

type TalentContractAggregate

type TalentContractAggregate struct {
	TotalCharge *String `json:"totalCharge"`
	Hours       *String `json:"hours"`
}

TalentContractAggregate represents aggregated contract statistics including charges and hours.

func (*TalentContractAggregate) Scan

func (x *TalentContractAggregate) Scan(src any) error

Scan implements sql.Scanner for TalentContractAggregate, decoding a JSON column value.

func (TalentContractAggregate) Value

Value implements driver.Valuer for TalentContractAggregate, encoding it as a JSON string.

type TalentContractFeedback

type TalentContractFeedback struct {
	FeedbackToFreelancer *TalentWorkFeedback `json:"feedbackToFreelancer"`
	FeedbackToClient     *TalentWorkFeedback `json:"feedbackToClient"`
}

TalentContractFeedback represents feedback given and received for a contract.

func (*TalentContractFeedback) Scan

func (x *TalentContractFeedback) Scan(src any) error

Scan implements sql.Scanner for TalentContractFeedback, decoding a JSON column value.

func (TalentContractFeedback) Value

Value implements driver.Valuer for TalentContractFeedback, encoding it as a JSON string.

type TalentContractStatus

type TalentContractStatus string

TalentContractStatus represents contract lifecycle status.

const (
	TalentContractStatusActive TalentContractStatus = "ACTIVE"
	TalentContractStatusClosed TalentContractStatus = "CLOSED"
	TalentContractStatusPaused TalentContractStatus = "PAUSED"
)

type TalentContractTerms

type TalentContractTerms struct {
	HourlyRate    *String        `json:"hourlyRate"`
	JobType       *TalentJobType `json:"jobType"`
	StipendAmount *String        `json:"stipendAmount"`
	FixedAmount   *String        `json:"fixedAmount"`
}

TalentContractTerms represents contract terms including rate and payment structure.

func (*TalentContractTerms) Scan

func (x *TalentContractTerms) Scan(src any) error

Scan implements sql.Scanner for TalentContractTerms, decoding a JSON column value.

func (TalentContractTerms) Value

func (x TalentContractTerms) Value() (driver.Value, error)

Value implements driver.Valuer for TalentContractTerms, encoding it as a JSON string.

type TalentDiversityCertificateClassification

type TalentDiversityCertificateClassification struct {
	ID   *String `json:"id"`
	Name *String `json:"name"`
}

TalentDiversityCertificateClassification represents a diversity certificate classification type.

func (*TalentDiversityCertificateClassification) Scan

Scan implements sql.Scanner for TalentDiversityCertificateClassification, decoding a JSON column value.

func (TalentDiversityCertificateClassification) Value

Value implements driver.Valuer for TalentDiversityCertificateClassification, encoding it as a JSON string.

type TalentEducationRecord

type TalentEducationRecord struct {
	ID                        *String `json:"id"`
	PersonId                  *String `json:"personId"`
	InstitutionName           *String `json:"institutionName"`
	StandardizedInstitutionId *String `json:"standardizedInstitutionId"`
	AreaOfStudy               *String `json:"areaOfStudy"`
	StandardizedAreaOfStudyId *String `json:"standardizedAreaOfStudyId"`
	Degree                    *String `json:"degree"`
	StandardizedDegreeId      *String `json:"standardizedDegreeId"`
	StartDateTime             *String `json:"startDateTime"`
	EndDateTime               *String `json:"endDateTime"`
	Comment                   *String `json:"comment"`
}

TalentEducationRecord represents an education record.

func (*TalentEducationRecord) Scan

func (x *TalentEducationRecord) Scan(src any) error

Scan implements sql.Scanner for TalentEducationRecord, decoding a JSON column value.

func (TalentEducationRecord) Value

func (x TalentEducationRecord) Value() (driver.Value, error)

Value implements driver.Valuer for TalentEducationRecord, encoding it as a JSON string.

type TalentFeedbackScore

type TalentFeedbackScore struct {
	Label  *String `json:"label"`
	Score  *Int    `json:"score"`
	Weight *Float  `json:"weight"`
}

TalentFeedbackScore represents an individual feedback score by category.

func (*TalentFeedbackScore) Scan

func (x *TalentFeedbackScore) Scan(src any) error

Scan implements sql.Scanner for TalentFeedbackScore, decoding a JSON column value.

func (TalentFeedbackScore) Value

func (x TalentFeedbackScore) Value() (driver.Value, error)

Value implements driver.Valuer for TalentFeedbackScore, encoding it as a JSON string.

type TalentJobCategory

type TalentJobCategory struct {
	ID   *String `json:"id"`
	Name *String `json:"name"`
}

TalentJobCategory represents a job category or subcategory.

func (*TalentJobCategory) Scan

func (x *TalentJobCategory) Scan(src any) error

Scan implements sql.Scanner for TalentJobCategory, decoding a JSON column value.

func (TalentJobCategory) Value

func (x TalentJobCategory) Value() (driver.Value, error)

Value implements driver.Valuer for TalentJobCategory, encoding it as a JSON string.

type TalentJobCategoryGroup

type TalentJobCategoryGroup struct {
	ID                 *String              `json:"id"`
	Name               *String              `json:"name"`
	SelectedCategories []*TalentJobCategory `json:"selectedCategories"`
}

TalentJobCategoryGroup represents a job category group with selected categories.

func (*TalentJobCategoryGroup) Scan

func (x *TalentJobCategoryGroup) Scan(src any) error

Scan implements sql.Scanner for TalentJobCategoryGroup, decoding a JSON column value.

func (TalentJobCategoryGroup) Value

Value implements driver.Valuer for TalentJobCategoryGroup, encoding it as a JSON string.

type TalentJobType

type TalentJobType string

TalentJobType represents contract payment type.

const (
	TalentJobTypeFixed  TalentJobType = "FIXED"
	TalentJobTypeHourly TalentJobType = "HOURLY"
)

type TalentOpening

type TalentOpening struct {
	ID             *ID                       `json:"id"`
	Title          *String                   `json:"title"`
	Visibility     *TalentContractAccessType `json:"visibility"`
	VegaJobDetails *TalentVegaJobDetails     `json:"vegaJobDetails"`
}

TalentOpening represents job opening details including title, description, and requirements.

func (*TalentOpening) Scan

func (x *TalentOpening) Scan(src any) error

Scan implements sql.Scanner for TalentOpening, decoding a JSON column value.

func (TalentOpening) Value

func (x TalentOpening) Value() (driver.Value, error)

Value implements driver.Valuer for TalentOpening, encoding it as a JSON string.

type TalentOtherCommunityCertificate

type TalentOtherCommunityCertificate struct {
	Name     *String `json:"name"`
	Provider *String `json:"provider"`
}

TalentOtherCommunityCertificate represents an other community certificate not in standard list.

func (*TalentOtherCommunityCertificate) Scan

Scan implements sql.Scanner for TalentOtherCommunityCertificate, decoding a JSON column value.

func (TalentOtherCommunityCertificate) Value

Value implements driver.Valuer for TalentOtherCommunityCertificate, encoding it as a JSON string.

type TalentPersonAvailability

type TalentPersonAvailability struct {
	PersonId                 *String                                `json:"personId"`
	Capacity                 *FreelancerProfileAvailabilityCapacity `json:"capacity"`
	CreatedDateTime          *String                                `json:"createdDateTime"`
	AvailabilityDateTime     *String                                `json:"availabilityDateTime"`
	UpdatedDateTime          *String                                `json:"updatedDateTime"`
	PurchasedInvitationBadge *TalentPurchasedInvitationBadge        `json:"purchasedInvitationBadge"`
	MinHours                 *Int                                   `json:"minHours"`
	MaxHours                 *Int                                   `json:"maxHours"`
	AvailableDays            []Day                                  `json:"availableDays"`
}

TalentPersonAvailability represents freelancer availability information including capacity and schedule.

func (*TalentPersonAvailability) Scan

func (x *TalentPersonAvailability) Scan(src any) error

Scan implements sql.Scanner for TalentPersonAvailability, decoding a JSON column value.

func (TalentPersonAvailability) Value

Value implements driver.Valuer for TalentPersonAvailability, encoding it as a JSON string.

type TalentProfile

type TalentProfile struct {
	PersonId                    ID                                   `json:"personId"`
	Identity                    *TalentProfileIdentity               `json:"identity"`
	PersonalData                *TalentProfilePersonalData           `json:"personalData"`
	Preferences                 *TalentProfileUserPreferences        `json:"preferences"`
	Settings                    *TalentProfileSettings               `json:"settings"`
	PersonAvailability          *TalentPersonAvailability            `json:"personAvailability"`
	ProjectList                 *TalentProjectList                   `json:"projectList"`
	CommunityCertificates       []*TalentProfileCommunityCertificate `json:"communityCertificates"`
	ProfileCompleteness         *TalentProfileCompletenessSummary    `json:"profileCompleteness"`
	OtherExperiences            []*TalentProfileOtherExperience      `json:"otherExperiences"`
	EducationRecords            []*TalentEducationRecord             `json:"educationRecords"`
	EmploymentRecords           []*TalentProfileEmploymentRecord     `json:"employmentRecords"`
	Skills                      []*TalentProfilePersonSkill          `json:"skills"`
	JobCategories               []*TalentJobCategoryGroup            `json:"jobCategories"`
	ProfileAggregates           *TalentProfileAggregate              `json:"profileAggregates"`
	SpecializedProfiles         []*TalentSpecializedProfile          `json:"specializedProfiles"`
	SpecializedProfilesSkills   []*TalentSpecializedProfileSkill     `json:"specializedProfilesSkills"`
	SpecializedProfilesProjects []*TalentSpecializedProfilesProject  `json:"specializedProfilesProjects"`
}

TalentProfile represents a freelancer profile containing all profile information and settings.

func (*TalentProfile) Scan

func (x *TalentProfile) Scan(src any) error

Scan implements sql.Scanner for TalentProfile, decoding a JSON column value.

func (TalentProfile) Value

func (x TalentProfile) Value() (driver.Value, error)

Value implements driver.Valuer for TalentProfile, encoding it as a JSON string.

type TalentProfileAggregate

type TalentProfileAggregate struct {
	LastWorkedOn           *String                        `json:"lastWorkedOn"`
	TotalHourlyJobs        *Int                           `json:"totalHourlyJobs"`
	TotalFixedJobs         *Int                           `json:"totalFixedJobs"`
	TopRatedStatus         *String                        `json:"topRatedStatus"`
	TotalFeedback          *Float                         `json:"totalFeedback"`
	TotalEarnings          *Float                         `json:"totalEarnings"`
	AdjustedCategoryScores []*TalentAdjustedCategoryScore `json:"adjustedCategoryScores"`
	TotalJobs              *Int                           `json:"totalJobs"`
}

TalentProfileAggregate represents aggregated profile statistics and metrics for a freelancer.

func (*TalentProfileAggregate) Scan

func (x *TalentProfileAggregate) Scan(src any) error

Scan implements sql.Scanner for TalentProfileAggregate, decoding a JSON column value.

func (TalentProfileAggregate) Value

Value implements driver.Valuer for TalentProfileAggregate, encoding it as a JSON string.

type TalentProfileCommunityCertificate

type TalentProfileCommunityCertificate struct {
	PersonId                *String                               `json:"personId"`
	CertificateAttachmentId *String                               `json:"certificateAttachmentId"`
	CertificationNumber     *String                               `json:"certificationNumber"`
	ExpirationDate          *String                               `json:"expirationDate"`
	BusinessName            *String                               `json:"businessName"`
	Visibility              *TalentCommunityCertificateVisibility `json:"visibility"`
	Certificate             *TalentCommunityCertificate           `json:"certificate"`
	OtherCertificate        *TalentOtherCommunityCertificate      `json:"otherCertificate"`
}

TalentProfileCommunityCertificate represents a community or diversity certificate associated with a freelancer profile.

func (*TalentProfileCommunityCertificate) Scan

Scan implements sql.Scanner for TalentProfileCommunityCertificate, decoding a JSON column value.

func (TalentProfileCommunityCertificate) Value

Value implements driver.Valuer for TalentProfileCommunityCertificate, encoding it as a JSON string.

type TalentProfileCompletenessSummary

type TalentProfileCompletenessSummary struct {
	PersonId              *String  `json:"personId"`
	PciActual             *Int     `json:"pciActual"`
	PciDisplay            *Int     `json:"pciDisplay"`
	PciAction             *String  `json:"pciAction"`
	PciActionCredit       *Int     `json:"pciActionCredit"`
	PciDateTime           *String  `json:"pciDateTime"`
	ActionForEmptySection *String  `json:"actionForEmptySection"`
	SkillsCount           *Int     `json:"skillsCount"`
	EmploymentRecordCount *Int     `json:"employmentRecordCount"`
	PortraitExists        *Boolean `json:"portraitExists"`
	OverviewExists        *Boolean `json:"overviewExists"`
	PassedTestsCount      *Int     `json:"passedTestsCount"`
	EducationRecordCount  *Int     `json:"educationRecordCount"`
	CertificatesCount     *Int     `json:"certificatesCount"`
	OtherExperiencesCount *Int     `json:"otherExperiencesCount"`
	PortfolioCount        *Int     `json:"portfolioCount"`
	EsnCount              *Int     `json:"esnCount"`
	UpdatedDateTime       *String  `json:"updatedDateTime"`
}

TalentProfileCompletenessSummary represents profile completeness summary with PCI score and section counts.

func (*TalentProfileCompletenessSummary) Scan

Scan implements sql.Scanner for TalentProfileCompletenessSummary, decoding a JSON column value.

func (TalentProfileCompletenessSummary) Value

Value implements driver.Valuer for TalentProfileCompletenessSummary, encoding it as a JSON string.

type TalentProfileEmploymentRecord

type TalentProfileEmploymentRecord struct {
	ID                     *String `json:"id"`
	PersonId               *String `json:"personId"`
	CompanyName            *String `json:"companyName"`
	JobTitle               *String `json:"jobTitle"`
	StandardizedCompanyId  *String `json:"standardizedCompanyId"`
	StandardizedJobTitleId *String `json:"standardizedJobTitleId"`
	Role                   *String `json:"role"`
	StartDateTime          *String `json:"startDateTime"`
	EndDateTime            *String `json:"endDateTime"`
	Description            *String `json:"description"`
	City                   *String `json:"city"`
	Country                *String `json:"country"`
}

TalentProfileEmploymentRecord represents an employment history record.

func (*TalentProfileEmploymentRecord) Scan

Scan implements sql.Scanner for TalentProfileEmploymentRecord, decoding a JSON column value.

func (TalentProfileEmploymentRecord) Value

Value implements driver.Valuer for TalentProfileEmploymentRecord, encoding it as a JSON string.

type TalentProfileIdentity

type TalentProfileIdentity struct {
	ID         *String `json:"id"`
	Ciphertext *String `json:"ciphertext"`
}

TalentProfileIdentity represents profile identity information including ID and ciphertext.

func (*TalentProfileIdentity) Scan

func (x *TalentProfileIdentity) Scan(src any) error

Scan implements sql.Scanner for TalentProfileIdentity, decoding a JSON column value.

func (TalentProfileIdentity) Value

func (x TalentProfileIdentity) Value() (driver.Value, error)

Value implements driver.Valuer for TalentProfileIdentity, encoding it as a JSON string.

type TalentProfileList

type TalentProfileList struct {
	Profiles []*TalentProfile `json:"profiles"`
}

TalentProfileList represents a list of talent profiles.

func (*TalentProfileList) Scan

func (x *TalentProfileList) Scan(src any) error

Scan implements sql.Scanner for TalentProfileList, decoding a JSON column value.

func (TalentProfileList) Value

func (x TalentProfileList) Value() (driver.Value, error)

Value implements driver.Valuer for TalentProfileList, encoding it as a JSON string.

type TalentProfileOtherExperience

type TalentProfileOtherExperience struct {
	ID          ID       `json:"id"`
	PersonId    *ID      `json:"personId"`
	Subject     *String  `json:"subject"`
	Description *String  `json:"description"`
	Active      *Boolean `json:"active"`
}

TalentProfileOtherExperience represents other professional experience not categorized elsewhere.

func (*TalentProfileOtherExperience) Scan

func (x *TalentProfileOtherExperience) Scan(src any) error

Scan implements sql.Scanner for TalentProfileOtherExperience, decoding a JSON column value.

func (TalentProfileOtherExperience) Value

Value implements driver.Valuer for TalentProfileOtherExperience, encoding it as a JSON string.

type TalentProfilePersonSkill

type TalentProfilePersonSkill struct {
	ID                  *String `json:"id"`
	Skill               *String `json:"skill"`
	PrettyName          *String `json:"prettyName"`
	Status              *String `json:"status"`
	Description         *String `json:"description"`
	ExternalLink        *String `json:"externalLink"`
	WikipediaPageId     *String `json:"wikipediaPageId"`
	FreebaseMachineId   *String `json:"freebaseMachineId"`
	MigrateTo           *String `json:"migrateTo"`
	Ctime               *String `json:"ctime"`
	Mtime               *String `json:"mtime"`
	Rank                *String `json:"rank"`
	OntologySkill       *Skill  `json:"ontologySkill"`
	ParentOntologySkill *Skill  `json:"parentOntologySkill"`
}

TalentProfilePersonSkill represents a skill listed on a freelancer profile with ontology mapping.

func (*TalentProfilePersonSkill) Scan

func (x *TalentProfilePersonSkill) Scan(src any) error

Scan implements sql.Scanner for TalentProfilePersonSkill, decoding a JSON column value.

func (TalentProfilePersonSkill) Value

Value implements driver.Valuer for TalentProfilePersonSkill, encoding it as a JSON string.

type TalentProfilePersonalData

type TalentProfilePersonalData struct {
	FirstName    String                    `json:"firstName"`
	LastName     String                    `json:"lastName"`
	Portrait     *Portrait                 `json:"portrait"`
	Title        *String                   `json:"title"`
	Description  *String                   `json:"description"`
	ChargeRate   Money                     `json:"chargeRate"`
	ProfileUrl   *String                   `json:"profileUrl"`
	ProfileState *PersonalDataProfileState `json:"profileState"`
	Location     *PersonalDataLocation     `json:"location"`
}

TalentProfilePersonalData represents personal data including name, title, description, and billing rate.

func (*TalentProfilePersonalData) Scan

func (x *TalentProfilePersonalData) Scan(src any) error

Scan implements sql.Scanner for TalentProfilePersonalData, decoding a JSON column value.

func (TalentProfilePersonalData) Value

Value implements driver.Valuer for TalentProfilePersonalData, encoding it as a JSON string.

type TalentProfileProject

type TalentProfileProject struct {
	ID                   ID                                `json:"id"`
	Title                *String                           `json:"title"`
	Description          *String                           `json:"description"`
	ProjectContractLink  *TalentProjectContractLink        `json:"projectContractLink"`
	Thumbnail            *String                           `json:"thumbnail"`
	ThumbnailOriginal    *String                           `json:"thumbnailOriginal"`
	ProjectUrl           *String                           `json:"projectUrl"`
	CompletionDateTime   *String                           `json:"completionDateTime"`
	Public               *Boolean                          `json:"public"`
	Rank                 *Int                              `json:"rank"`
	Attachments          []*TalentProfileProjectAttachment `json:"attachments"`
	Skills               []*String                         `json:"skills"`
	CreationDateTime     *String                           `json:"creationDateTime"`
	CategoryId           *ID                               `json:"categoryId"`
	VideoUrl             *String                           `json:"videoUrl"`
	OccupationId         *String                           `json:"occupationId"`
	ProjectType          *FreelancerProfileProjectType     `json:"projectType"`
	Role                 *String                           `json:"role"`
	ProjectGoal          *String                           `json:"projectGoal"`
	Solution             *String                           `json:"solution"`
	PrimaryImageId       *String                           `json:"primaryImageId"`
	Tags                 []*TalentProfileProjectTag        `json:"tags"`
	ModificationDateTime *String                           `json:"modificationDateTime"`
	DeveloperId          *String                           `json:"developerId"`
	ThumbnailId          *String                           `json:"thumbnailId"`
	ThumbnailOriginalId  *String                           `json:"thumbnailOriginalId"`
	Category             *String                           `json:"category"`
	SubCategory          *String                           `json:"subCategory"`
}

TalentProfileProject represents a portfolio project showcasing freelancer work.

func (*TalentProfileProject) Scan

func (x *TalentProfileProject) Scan(src any) error

Scan implements sql.Scanner for TalentProfileProject, decoding a JSON column value.

func (TalentProfileProject) Value

func (x TalentProfileProject) Value() (driver.Value, error)

Value implements driver.Valuer for TalentProfileProject, encoding it as a JSON string.

type TalentProfileProjectAttachment

type TalentProfileProjectAttachment struct {
	ID                 *ID     `json:"id"`
	Type               *String `json:"type"`
	Title              *String `json:"title"`
	AttachmentName     *String `json:"attachmentName"`
	AttachmentSize     *Int    `json:"attachmentSize"`
	OriginalAttachment *String `json:"originalAttachment"`
	ImageSmall         *String `json:"imageSmall"`
	ImageMiddle        *String `json:"imageMiddle"`
	ImageLarge         *String `json:"imageLarge"`
	Rank               *Int    `json:"rank"`
	CreationDateTime   *String `json:"creationDateTime"`
	Description        *String `json:"description"`
	VideoUrl           *String `json:"videoUrl"`
	ImageFixedWidth    *String `json:"imageFixedWidth"`
	Group              *String `json:"group"`
}

TalentProfileProjectAttachment represents a file or media attachment for a portfolio project.

func (*TalentProfileProjectAttachment) Scan

Scan implements sql.Scanner for TalentProfileProjectAttachment, decoding a JSON column value.

func (TalentProfileProjectAttachment) Value

Value implements driver.Valuer for TalentProfileProjectAttachment, encoding it as a JSON string.

type TalentProfileProjectTag

type TalentProfileProjectTag struct {
	ID          *ID    `json:"id"`
	Skill       *Skill `json:"skill"`
	ParentSkill *Skill `json:"parentSkill"`
}

TalentProfileProjectTag represents a skill or tag associated with a portfolio project.

func (*TalentProfileProjectTag) Scan

func (x *TalentProfileProjectTag) Scan(src any) error

Scan implements sql.Scanner for TalentProfileProjectTag, decoding a JSON column value.

func (TalentProfileProjectTag) Value

Value implements driver.Valuer for TalentProfileProjectTag, encoding it as a JSON string.

type TalentProfileSettings

type TalentProfileSettings struct {
	Provider        *Boolean `json:"provider"`
	Suspended       *Boolean `json:"suspended"`
	Disabled        *Boolean `json:"disabled"`
	Status          *String  `json:"status"`
	UpdatedDateTime *String  `json:"updatedDateTime"`
}

TalentProfileSettings represents profile settings and account status information.

func (*TalentProfileSettings) Scan

func (x *TalentProfileSettings) Scan(src any) error

Scan implements sql.Scanner for TalentProfileSettings, decoding a JSON column value.

func (TalentProfileSettings) Value

func (x TalentProfileSettings) Value() (driver.Value, error)

Value implements driver.Valuer for TalentProfileSettings, encoding it as a JSON string.

type TalentProfileSpecializedProject

type TalentProfileSpecializedProject struct {
	ID                   ID                                `json:"id"`
	Title                *String                           `json:"title"`
	Description          *String                           `json:"description"`
	ProjectContractLink  *TalentProjectContractLink        `json:"projectContractLink"`
	Thumbnail            *String                           `json:"thumbnail"`
	ThumbnailOriginal    *String                           `json:"thumbnailOriginal"`
	ProjectUrl           *String                           `json:"projectUrl"`
	CompletionDateTime   *String                           `json:"completionDateTime"`
	Public               *Boolean                          `json:"public"`
	Rank                 *Int                              `json:"rank"`
	Attachments          []*TalentProfileProjectAttachment `json:"attachments"`
	CreationDateTime     *String                           `json:"creationDateTime"`
	CategoryId           *ID                               `json:"categoryId"`
	VideoUrl             *String                           `json:"videoUrl"`
	OccupationId         *String                           `json:"occupationId"`
	ProjectType          *FreelancerProfileProjectType     `json:"projectType"`
	Role                 *String                           `json:"role"`
	ProjectGoal          *String                           `json:"projectGoal"`
	Solution             *String                           `json:"solution"`
	PrimaryImageId       *String                           `json:"primaryImageId"`
	ModificationDateTime *String                           `json:"modificationDateTime"`
	ThumbnailId          *String                           `json:"thumbnailId"`
	ThumbnailOriginalId  *String                           `json:"thumbnailOriginalId"`
	Category             *String                           `json:"category"`
	SubCategory          *String                           `json:"subCategory"`
}

TalentProfileSpecializedProject represents a portfolio project for a specialized profile.

func (*TalentProfileSpecializedProject) Scan

Scan implements sql.Scanner for TalentProfileSpecializedProject, decoding a JSON column value.

func (TalentProfileSpecializedProject) Value

Value implements driver.Valuer for TalentProfileSpecializedProject, encoding it as a JSON string.

type TalentProfileStatus

type TalentProfileStatus string

TalentProfileStatus represents publication status of a talent profile.

const (
	TalentProfileStatusDraft     TalentProfileStatus = "DRAFT"
	TalentProfileStatusPublished TalentProfileStatus = "PUBLISHED"
)

type TalentProfileUserPreferences

type TalentProfileUserPreferences struct {
	VisibilityLevel        *FreelancerProfileVisibility `json:"visibilityLevel"`
	HideAgencyEarnings     *Boolean                     `json:"hideAgencyEarnings"`
	HideEarnings           *Boolean                     `json:"hideEarnings"`
	ExposeFullName         *Boolean                     `json:"exposeFullName"`
	ClientFeedbackOptional *Boolean                     `json:"clientFeedbackOptional"`
	ContractToHire         *Boolean                     `json:"contractToHire"`
}

TalentProfileUserPreferences represents user preferences for profile visibility and privacy settings.

func (*TalentProfileUserPreferences) Scan

func (x *TalentProfileUserPreferences) Scan(src any) error

Scan implements sql.Scanner for TalentProfileUserPreferences, decoding a JSON column value.

func (TalentProfileUserPreferences) Value

Value implements driver.Valuer for TalentProfileUserPreferences, encoding it as a JSON string.

type TalentProjectContractLink struct {
	ID                   *ID     `json:"id"`
	CreationDateTime     *String `json:"creationDateTime"`
	State                *String `json:"state"`
	NotificationDateTime *String `json:"notificationDateTime"`
	ClientId             *ID     `json:"clientId"`
}

TalentProjectContractLink represents a link between a portfolio project and an Upwork contract.

func (*TalentProjectContractLink) Scan

func (x *TalentProjectContractLink) Scan(src any) error

Scan implements sql.Scanner for TalentProjectContractLink, decoding a JSON column value.

func (TalentProjectContractLink) Value

Value implements driver.Valuer for TalentProjectContractLink, encoding it as a JSON string.

type TalentProjectList

type TalentProjectList struct {
	Projects        []*TalentProfileProject `json:"projects"`
	TotalProjects   *Int                    `json:"totalProjects"`
	UpdatedDateTime *String                 `json:"updatedDateTime"`
}

TalentProjectList represents a list of portfolio projects for a freelancer.

func (*TalentProjectList) Scan

func (x *TalentProjectList) Scan(src any) error

Scan implements sql.Scanner for TalentProjectList, decoding a JSON column value.

func (TalentProjectList) Value

func (x TalentProjectList) Value() (driver.Value, error)

Value implements driver.Valuer for TalentProjectList, encoding it as a JSON string.

type TalentPurchasedInvitationBadge

type TalentPurchasedInvitationBadge struct {
	Active        *Boolean `json:"active"`
	MaxPrice      *Int     `json:"maxPrice"`
	NextRenewalAt *String  `json:"nextRenewalAt"`
}

TalentPurchasedInvitationBadge represents purchased invitation badge details for premium visibility.

func (*TalentPurchasedInvitationBadge) Scan

Scan implements sql.Scanner for TalentPurchasedInvitationBadge, decoding a JSON column value.

func (TalentPurchasedInvitationBadge) Value

Value implements driver.Valuer for TalentPurchasedInvitationBadge, encoding it as a JSON string.

type TalentSkillNodeEdge

type TalentSkillNodeEdge struct {
	Skill *Skill `json:"skill"`
}

TalentSkillNodeEdge represents a skill edge with ontology mapping.

func (*TalentSkillNodeEdge) Scan

func (x *TalentSkillNodeEdge) Scan(src any) error

Scan implements sql.Scanner for TalentSkillNodeEdge, decoding a JSON column value.

func (TalentSkillNodeEdge) Value

func (x TalentSkillNodeEdge) Value() (driver.Value, error)

Value implements driver.Valuer for TalentSkillNodeEdge, encoding it as a JSON string.

type TalentSpecializedProfile

type TalentSpecializedProfile struct {
	PersonId     *String              `json:"personId"`
	ProfileId    *String              `json:"profileId"`
	OccupationId *String              `json:"occupationId"`
	Status       *TalentProfileStatus `json:"status"`
	Rank         *Int                 `json:"rank"`
	Occupations  []*String            `json:"occupations"`
	Primary      *Boolean             `json:"primary"`
	Title        *String              `json:"title"`
	Description  *String              `json:"description"`
	HourlyRate   *Money               `json:"hourlyRate"`
	Weblink      *String              `json:"weblink"`
}

TalentSpecializedProfile represents a specialized profile for a specific service or occupation.

func (*TalentSpecializedProfile) Scan

func (x *TalentSpecializedProfile) Scan(src any) error

Scan implements sql.Scanner for TalentSpecializedProfile, decoding a JSON column value.

func (TalentSpecializedProfile) Value

Value implements driver.Valuer for TalentSpecializedProfile, encoding it as a JSON string.

type TalentSpecializedProfileSkill

type TalentSpecializedProfileSkill struct {
	Skills []*TalentSpecializedProfileSkillNode `json:"skills"`
}

TalentSpecializedProfileSkill represents skills for a specialized profile.

func (*TalentSpecializedProfileSkill) Scan

Scan implements sql.Scanner for TalentSpecializedProfileSkill, decoding a JSON column value.

func (TalentSpecializedProfileSkill) Value

Value implements driver.Valuer for TalentSpecializedProfileSkill, encoding it as a JSON string.

type TalentSpecializedProfileSkillNode

type TalentSpecializedProfileSkillNode struct {
	OntologySkill       *TalentSkillNodeEdge `json:"ontologySkill"`
	ParentOntologySkill *TalentSkillNodeEdge `json:"parentOntologySkill"`
}

TalentSpecializedProfileSkillNode represents a skill node with ontology mapping for specialized profiles.

func (*TalentSpecializedProfileSkillNode) Scan

Scan implements sql.Scanner for TalentSpecializedProfileSkillNode, decoding a JSON column value.

func (TalentSpecializedProfileSkillNode) Value

Value implements driver.Valuer for TalentSpecializedProfileSkillNode, encoding it as a JSON string.

type TalentSpecializedProfilesProject

type TalentSpecializedProfilesProject struct {
	PersonId  *ID                              `json:"personId"`
	ProfileId *ID                              `json:"profileId"`
	Project   *TalentProfileSpecializedProject `json:"project"`
}

TalentSpecializedProfilesProject represents a project associated with a specialized profile.

func (*TalentSpecializedProfilesProject) Scan

Scan implements sql.Scanner for TalentSpecializedProfilesProject, decoding a JSON column value.

func (TalentSpecializedProfilesProject) Value

Value implements driver.Valuer for TalentSpecializedProfilesProject, encoding it as a JSON string.

type TalentVegaJobDetails

type TalentVegaJobDetails struct {
	Opening *TalentVegaJobOpening `json:"opening"`
}

TalentVegaJobDetails represents extended job details from Vega.

func (*TalentVegaJobDetails) Scan

func (x *TalentVegaJobDetails) Scan(src any) error

Scan implements sql.Scanner for TalentVegaJobDetails, decoding a JSON column value.

func (TalentVegaJobDetails) Value

func (x TalentVegaJobDetails) Value() (driver.Value, error)

Value implements driver.Valuer for TalentVegaJobDetails, encoding it as a JSON string.

type TalentVegaJobOpening

type TalentVegaJobOpening struct {
	JobDescription *String `json:"jobDescription"`
}

TalentVegaJobOpening represents job opening details from Vega system.

func (*TalentVegaJobOpening) Scan

func (x *TalentVegaJobOpening) Scan(src any) error

Scan implements sql.Scanner for TalentVegaJobOpening, decoding a JSON column value.

func (TalentVegaJobOpening) Value

func (x TalentVegaJobOpening) Value() (driver.Value, error)

Value implements driver.Valuer for TalentVegaJobOpening, encoding it as a JSON string.

type TalentWorkAccessType

type TalentWorkAccessType string

TalentWorkAccessType represents access visibility type for work history.

const (
	TalentWorkAccessTypePublic  TalentWorkAccessType = "PUBLIC"
	TalentWorkAccessTypePrivate TalentWorkAccessType = "PRIVATE"
	TalentWorkAccessTypeIndex   TalentWorkAccessType = "INDEX"
)

type TalentWorkFeedback

type TalentWorkFeedback struct {
	Comment            *String                `json:"comment"`
	Response           *String                `json:"response"`
	Score              *Float                 `json:"score"`
	Scores             []*TalentFeedbackScore `json:"scores"`
	FeedbackSuppressed *Boolean               `json:"feedbackSuppressed"`
	IsPublic           *Boolean               `json:"isPublic"`
	CommentPublic      *Boolean               `json:"commentPublic"`
	Point              *String                `json:"point"`
}

TalentWorkFeedback represents feedback details including comment, score, and visibility.

func (*TalentWorkFeedback) Scan

func (x *TalentWorkFeedback) Scan(src any) error

Scan implements sql.Scanner for TalentWorkFeedback, decoding a JSON column value.

func (TalentWorkFeedback) Value

func (x TalentWorkFeedback) Value() (driver.Value, error)

Value implements driver.Valuer for TalentWorkFeedback, encoding it as a JSON string.

type TalentWorkHistory

type TalentWorkHistory struct {
	Contract          *TalentContract          `json:"contract"`
	ContractAggregate *TalentContractAggregate `json:"contractAggregate"`
	Feedback          *TalentContractFeedback  `json:"feedback"`
	Opening           *TalentOpening           `json:"opening"`
}

TalentWorkHistory represents a work history entry including contract, feedback, and job details.

func (*TalentWorkHistory) Scan

func (x *TalentWorkHistory) Scan(src any) error

Scan implements sql.Scanner for TalentWorkHistory, decoding a JSON column value.

func (TalentWorkHistory) Value

func (x TalentWorkHistory) Value() (driver.Value, error)

Value implements driver.Valuer for TalentWorkHistory, encoding it as a JSON string.

type TalentWorkHistoryConnection

type TalentWorkHistoryConnection struct {
	WorkHistoryList []*TalentWorkHistory `json:"workHistoryList"`
	TotalCount      *Int                 `json:"totalCount"`
}

TalentWorkHistoryConnection represents a paginated connection of work history results.

func (*TalentWorkHistoryConnection) Scan

func (x *TalentWorkHistoryConnection) Scan(src any) error

Scan implements sql.Scanner for TalentWorkHistoryConnection, decoding a JSON column value.

func (TalentWorkHistoryConnection) Value

Value implements driver.Valuer for TalentWorkHistoryConnection, encoding it as a JSON string.

type TalentWorkHistorySortType

type TalentWorkHistorySortType string

TalentWorkHistorySortType represents sort types for work history.

const (
	TalentWorkHistorySortTypeNewest       TalentWorkHistorySortType = "NEWEST"
	TalentWorkHistorySortTypeFeedbackRate TalentWorkHistorySortType = "FEEDBACK_RATE"
	TalentWorkHistorySortTypeLargest      TalentWorkHistorySortType = "LARGEST"
)

type TimeReport

type TimeReport struct {
	DateWorkedOn            String               `json:"dateWorkedOn"`
	WeekWorkedOn            String               `json:"weekWorkedOn"`
	MonthWorkedOn           String               `json:"monthWorkedOn"`
	YearWorkedOn            String               `json:"yearWorkedOn"`
	Freelancer              *GenericUser         `json:"freelancer"`
	Team                    *GenericOrganization `json:"team"`
	ContractOffer           *ContractOfferResult `json:"contractOffer"`
	Contract                *ContractDetails     `json:"contract"`
	TermId                  *ID                  `json:"termId"`
	Task                    *String              `json:"task"`
	TaskDescription         *String              `json:"taskDescription"`
	Memo                    *String              `json:"memo"`
	TotalHoursWorked        *Float               `json:"totalHoursWorked"`
	TotalCharges            *Float               `json:"totalCharges"`
	TotalOnlineHoursWorked  *Float               `json:"totalOnlineHoursWorked"`
	TotalOnlineCharge       *Float               `json:"totalOnlineCharge"`
	TotalOfflineHoursWorked *Float               `json:"totalOfflineHoursWorked"`
	TotalOfflineCharge      *Float               `json:"totalOfflineCharge"`
	BillRate                *BillRate            `json:"billRate"`
}

TimeReport represents a detailed time report for work performed on a contract.

func (*TimeReport) Scan

func (x *TimeReport) Scan(src any) error

Scan implements sql.Scanner for TimeReport, decoding a JSON column value.

func (TimeReport) Value

func (x TimeReport) Value() (driver.Value, error)

Value implements driver.Valuer for TimeReport, encoding it as a JSON string.

type TimeReportConnection

type TimeReportConnection struct {
	TotalCount *Int              `json:"totalCount"`
	Edges      []*TimeReportEdge `json:"edges"`
	PageInfo   *PageInfo         `json:"pageInfo"`
}

TimeReportConnection represents a connection type for paginated time report results.

func (*TimeReportConnection) Scan

func (x *TimeReportConnection) Scan(src any) error

Scan implements sql.Scanner for TimeReportConnection, decoding a JSON column value.

func (TimeReportConnection) Value

func (x TimeReportConnection) Value() (driver.Value, error)

Value implements driver.Valuer for TimeReportConnection, encoding it as a JSON string.

type TimeReportEdge

type TimeReportEdge struct {
	Node   TimeReport `json:"node"`
	Cursor String     `json:"cursor"`
}

TimeReportEdge represents an edge type containing a time report node and cursor for pagination.

func (*TimeReportEdge) Scan

func (x *TimeReportEdge) Scan(src any) error

Scan implements sql.Scanner for TimeReportEdge, decoding a JSON column value.

func (TimeReportEdge) Value

func (x TimeReportEdge) Value() (driver.Value, error)

Value implements driver.Valuer for TimeReportEdge, encoding it as a JSON string.

type TimeZoneRecord

type TimeZoneRecord struct {
	TimeZoneName        String  `json:"timeZoneName"`
	TimeZoneDescription *String `json:"timeZoneDescription"`
}

TimeZoneRecord represents timezone record information.

func (*TimeZoneRecord) Scan

func (x *TimeZoneRecord) Scan(src any) error

Scan implements sql.Scanner for TimeZoneRecord, decoding a JSON column value.

func (TimeZoneRecord) Value

func (x TimeZoneRecord) Value() (driver.Value, error)

Value implements driver.Valuer for TimeZoneRecord, encoding it as a JSON string.

type TransactionHistory

type TransactionHistory struct {
	TransactionDetail *TransactionHistoryDetail `json:"transactionDetail"`
}

TransactionHistory represents a transaction history containing transaction details and metadata.

func (*TransactionHistory) Scan

func (x *TransactionHistory) Scan(src any) error

Scan implements sql.Scanner for TransactionHistory, decoding a JSON column value.

func (TransactionHistory) Value

func (x TransactionHistory) Value() (driver.Value, error)

Value implements driver.Valuer for TransactionHistory, encoding it as a JSON string.

type TransactionHistoryDetail

type TransactionHistoryDetail struct {
	TransactionHistoryRow []*TransactionHistoryRow `json:"transactionHistoryRow"`
}

TransactionHistoryDetail represents a transaction history detail with totals and transaction rows.

func (*TransactionHistoryDetail) Scan

func (x *TransactionHistoryDetail) Scan(src any) error

Scan implements sql.Scanner for TransactionHistoryDetail, decoding a JSON column value.

func (TransactionHistoryDetail) Value

Value implements driver.Valuer for TransactionHistoryDetail, encoding it as a JSON string.

type TransactionHistoryRow

type TransactionHistoryRow struct {
	RowNumber                      *Int     `json:"rowNumber"`
	RunningChargeableBalance       *Money   `json:"runningChargeableBalance"`
	RecordId                       *ID      `json:"recordId"`
	Remainder                      *String  `json:"remainder"`
	AmountCreditedToUser           *Money   `json:"amountCreditedToUser"`
	TransactionReviewDueDate       *String  `json:"transactionReviewDueDate"`
	TransactionCreationDate        *String  `json:"transactionCreationDate"`
	RelatedUserPaymentMethod       *Int     `json:"relatedUserPaymentMethod"`
	AccountingSubtype              *String  `json:"accountingSubtype"`
	DescriptionUI                  *String  `json:"descriptionUI"`
	RelatedAssignment              *Int     `json:"relatedAssignment"`
	AmountSentInOrigCurrency       *Money   `json:"amountSentInOrigCurrency"`
	PaymentGuaranteed              *Boolean `json:"paymentGuaranteed"`
	FixedPriceEARMark              *Int     `json:"fixedPriceEARMark"`
	RelatedTransactionId           *ID      `json:"relatedTransactionId"`
	RelatedInvoiceId               *ID      `json:"relatedInvoiceId"`
	FullyPaidDate                  *String  `json:"fullyPaidDate"`
	Type                           *String  `json:"type"`
	TransactionAmount              *Money   `json:"transactionAmount"`
	RelatedAccountingEntity        *Int     `json:"relatedAccountingEntity"`
	Description                    *String  `json:"description"`
	PurchaseOrderNumber            *String  `json:"purchaseOrderNumber"`
	AssignmentAgencyName           *String  `json:"assignmentAgencyName"`
	AssignmentCompanyName          *String  `json:"assignmentCompanyName"`
	AssignmentDeveloperName        *String  `json:"assignmentDeveloperName"`
	AssignmentTeamCompanyId        *ID      `json:"assignmentTeamCompanyId"`
	AssignmentTeamCompanyReference *Int     `json:"assignmentTeamCompanyReference"`
	AssignmentTeamId               *ID      `json:"assignmentTeamId"`
	AssignmentTeamReference        *Int     `json:"assignmentTeamReference"`
	AssignmentTeamUserId           *ID      `json:"assignmentTeamUserId"`
	AssignmentTeamUserReference    *Int     `json:"assignmentTeamUserReference"`
	Payment                        *Money   `json:"payment"`
	PaymentStatus                  *String  `json:"paymentStatus"`
	Prefix                         *String  `json:"prefix"`
}

TransactionHistoryRow represents an individual transaction row with details.

func (*TransactionHistoryRow) Scan

func (x *TransactionHistoryRow) Scan(src any) error

Scan implements sql.Scanner for TransactionHistoryRow, decoding a JSON column value.

func (TransactionHistoryRow) Value

func (x TransactionHistoryRow) Value() (driver.Value, error)

Value implements driver.Valuer for TransactionHistoryRow, encoding it as a JSON string.

type TransactionJobPost

type TransactionJobPost struct {
	JobId    *ID     `json:"jobId"`
	JobTitle *String `json:"jobTitle"`
}

TransactionJobPost represents information for the job associated with a connects transaction.

func (*TransactionJobPost) Scan

func (x *TransactionJobPost) Scan(src any) error

Scan implements sql.Scanner for TransactionJobPost, decoding a JSON column value.

func (TransactionJobPost) Value

func (x TransactionJobPost) Value() (driver.Value, error)

Value implements driver.Valuer for TransactionJobPost, encoding it as a JSON string.

type UpdateClientProposalResult

type UpdateClientProposalResult struct {
	Proposal *ClientProposal            `json:"proposal"`
	Status   ProposalUpdateResultStatus `json:"status"`
}

func (*UpdateClientProposalResult) Scan

func (x *UpdateClientProposalResult) Scan(src any) error

Scan implements sql.Scanner for UpdateClientProposalResult, decoding a JSON column value.

func (UpdateClientProposalResult) Value

Value implements driver.Valuer for UpdateClientProposalResult, encoding it as a JSON string.

type UpdateRoomStoryResponse

type UpdateRoomStoryResponse struct {
	Status String `json:"status"`
}

UpdateRoomStoryResponse represents the response for room story update operations.

func (*UpdateRoomStoryResponse) Scan

func (x *UpdateRoomStoryResponse) Scan(src any) error

Scan implements sql.Scanner for UpdateRoomStoryResponse, decoding a JSON column value.

func (UpdateRoomStoryResponse) Value

Value implements driver.Valuer for UpdateRoomStoryResponse, encoding it as a JSON string.

type UpdateWorkflowTaskResult

type UpdateWorkflowTaskResult struct {
	WorkflowID      *ID               `json:"workflowId"`
	UpdatedTaskView *WorkflowTaskView `json:"updatedTaskView"`
}

UpdateWorkflowTaskResult is the result of updating a workflow task.

func (*UpdateWorkflowTaskResult) Scan

func (x *UpdateWorkflowTaskResult) Scan(src any) error

Scan implements sql.Scanner for UpdateWorkflowTaskResult, decoding a JSON column value.

func (UpdateWorkflowTaskResult) Value

Value implements driver.Valuer for UpdateWorkflowTaskResult, encoding it as a JSON string.

type User

type User interface {
	// contains filtered or unexported methods
}

User is the base interface implemented by user types.

type UserFreelancerProfilesSearchRecord

type UserFreelancerProfilesSearchRecord struct {
	ShortName   *String            `json:"shortName"`
	Ciphertext  *String            `json:"ciphertext"`
	User        *GenericUser       `json:"user"`
	UserProfile *FreelancerProfile `json:"userProfile"`
}

UserFreelancerProfilesSearchRecord represents a search record for user freelancer profiles.

func (*UserFreelancerProfilesSearchRecord) Scan

Scan implements sql.Scanner for UserFreelancerProfilesSearchRecord, decoding a JSON column value.

func (UserFreelancerProfilesSearchRecord) Value

Value implements driver.Valuer for UserFreelancerProfilesSearchRecord, encoding it as a JSON string.

type UserIdsByEmailRecordEdge

type UserIdsByEmailRecordEdge struct {
	Cursor *String                   `json:"cursor"`
	Node   *UserIdsByEmailRecordNode `json:"node"`
}

UserIdsByEmailRecordEdge represents an edge in users-by-email response.

func (*UserIdsByEmailRecordEdge) Scan

func (x *UserIdsByEmailRecordEdge) Scan(src any) error

Scan implements sql.Scanner for UserIdsByEmailRecordEdge, decoding a JSON column value.

func (UserIdsByEmailRecordEdge) Value

Value implements driver.Valuer for UserIdsByEmailRecordEdge, encoding it as a JSON string.

type UserIdsByEmailRecordNode

type UserIdsByEmailRecordNode struct {
	ID              ID                           `json:"id"`
	Email           *String                      `json:"email"`
	VisibilityLevel *FreelancerProfileVisibility `json:"visibilityLevel"`
	Title           *String                      `json:"title"`
	User            *GenericUser                 `json:"user"`
}

UserIdsByEmailRecordNode represents a node with user identifiers by email.

func (*UserIdsByEmailRecordNode) Scan

func (x *UserIdsByEmailRecordNode) Scan(src any) error

Scan implements sql.Scanner for UserIdsByEmailRecordNode, decoding a JSON column value.

func (UserIdsByEmailRecordNode) Value

Value implements driver.Valuer for UserIdsByEmailRecordNode, encoding it as a JSON string.

type UserIdsByEmailResponse

type UserIdsByEmailResponse struct {
	TotalCount *Int                        `json:"totalCount"`
	Edges      []*UserIdsByEmailRecordEdge `json:"edges"`
}

UserIdsByEmailResponse represents the result of user lookup by email.

func (*UserIdsByEmailResponse) Scan

func (x *UserIdsByEmailResponse) Scan(src any) error

Scan implements sql.Scanner for UserIdsByEmailResponse, decoding a JSON column value.

func (UserIdsByEmailResponse) Value

Value implements driver.Valuer for UserIdsByEmailResponse, encoding it as a JSON string.

type UserLocation

type UserLocation struct {
	CountryName  *String `json:"countryName"`
	CityName     *String `json:"cityName"`
	Zip          *String `json:"zip"`
	Timezone     String  `json:"timezone"`
	TimezoneName *String `json:"timezoneName"`
	Street       *String `json:"street"`
	StateCode    *String `json:"stateCode"`
	OffsetToUTC  *Int    `json:"offsetToUTC"`
}

UserLocation contains a user's location information.

func (*UserLocation) Scan

func (x *UserLocation) Scan(src any) error

Scan implements sql.Scanner for UserLocation, decoding a JSON column value.

func (UserLocation) Value

func (x UserLocation) Value() (driver.Value, error)

Value implements driver.Valuer for UserLocation, encoding it as a JSON string.

type UserPermissionAccess

type UserPermissionAccess string

UserPermissionAccess represents access evaluation outcome for user permission checks.

const (
	UserPermissionAccessDenied  UserPermissionAccess = "ACCESS_DENIED"
	UserPermissionAccessUnknown UserPermissionAccess = "ACCESS_UNKNOWN"
	UserPermissionAccessGranted UserPermissionAccess = "ACCESS_GRANTED"
)

type UserPermissionEdge

type UserPermissionEdge struct {
	Node *UserPermissionNode `json:"node"`
}

UserPermissionEdge represents an edge in user permissions.

func (*UserPermissionEdge) Scan

func (x *UserPermissionEdge) Scan(src any) error

Scan implements sql.Scanner for UserPermissionEdge, decoding a JSON column value.

func (UserPermissionEdge) Value

func (x UserPermissionEdge) Value() (driver.Value, error)

Value implements driver.Valuer for UserPermissionEdge, encoding it as a JSON string.

type UserPermissionNode

type UserPermissionNode struct {
	Organization       *CurrentOrganization    `json:"organization"`
	Team               *GenericOrganization    `json:"team"`
	Action             String                  `json:"action"`
	Access             UserPermissionAccess    `json:"access"`
	Reason             *AccessRestictionReason `json:"reason"`
	SuspensionMetadata *SuspensionMetadata     `json:"suspensionMetadata"`
}

UserPermissionNode represents user permission node details.

func (*UserPermissionNode) Scan

func (x *UserPermissionNode) Scan(src any) error

Scan implements sql.Scanner for UserPermissionNode, decoding a JSON column value.

func (UserPermissionNode) Value

func (x UserPermissionNode) Value() (driver.Value, error)

Value implements driver.Valuer for UserPermissionNode, encoding it as a JSON string.

type UserPermissions

type UserPermissions struct {
	Edges  []*UserPermissionEdge `json:"edges"`
	Offset *String               `json:"offset"`
}

UserPermissions represents a container of user permissions.

func (*UserPermissions) Scan

func (x *UserPermissions) Scan(src any) error

Scan implements sql.Scanner for UserPermissions, decoding a JSON column value.

func (UserPermissions) Value

func (x UserPermissions) Value() (driver.Value, error)

Value implements driver.Valuer for UserPermissions, encoding it as a JSON string.

type UserPreferredLocationType

type UserPreferredLocationType string

UserPreferredLocationType represents user's preferred location type for i18n settings.

const (
	UserPreferredLocationTypeWorld   UserPreferredLocationType = "WORLD"
	UserPreferredLocationTypeCountry UserPreferredLocationType = "COUNTRY"
)

type VendorInvitation

type VendorInvitation struct {
	ID                ID                                 `json:"id"`
	Client            *VendorInvitationParticipant       `json:"client"`
	Freelancer        *VendorInvitationParticipant       `json:"freelancer"`
	JobPosting        MarketplaceJobPosting              `json:"jobPosting"`
	InvitationLetter  *String                            `json:"invitationLetter"`
	InviteAttempt     *Int                               `json:"inviteAttempt"`
	Context           *VendorInvitationContext           `json:"context"`
	StatusDetails     *VendorInvitationStatusDetails     `json:"statusDetails"`
	AcceptanceDetails *VendorInvitationAcceptanceDetails `json:"acceptanceDetails"`
	AuditDetails      *VendorInvitationAuditDetails      `json:"auditDetails"`
	Annotations       []VendorInvitationAnnotations      `json:"annotations"`
}

func (*VendorInvitation) Scan

func (x *VendorInvitation) Scan(src any) error

Scan implements sql.Scanner for VendorInvitation, decoding a JSON column value.

func (VendorInvitation) Value

func (x VendorInvitation) Value() (driver.Value, error)

Value implements driver.Valuer for VendorInvitation, encoding it as a JSON string.

type VendorInvitationAcceptanceContext

type VendorInvitationAcceptanceContext struct {
	Organization     GenericOrganization      `json:"organization"`
	Context          *VendorInvitationContext `json:"context"`
	AcceptedBy       GenericUser              `json:"acceptedBy"`
	AcceptedDateTime String                   `json:"acceptedDateTime"`
}

func (*VendorInvitationAcceptanceContext) Scan

Scan implements sql.Scanner for VendorInvitationAcceptanceContext, decoding a JSON column value.

func (VendorInvitationAcceptanceContext) Value

Value implements driver.Valuer for VendorInvitationAcceptanceContext, encoding it as a JSON string.

type VendorInvitationAcceptanceDetails

type VendorInvitationAcceptanceDetails struct {
	BidAmount             *Money                             `json:"bidAmount"`
	Duration              *String                            `json:"duration"`
	UpfrontPaymentPercent *Float                             `json:"upfrontPaymentPercent"`
	Attachments           []String                           `json:"attachments"`
	CoverLetter           *String                            `json:"coverLetter"`
	JobProposal           *ClientProposal                    `json:"jobProposal"`
	QuestionsAnswers      []*ProposalQuestionAnswer          `json:"questionsAnswers"`
	Occupation            *Occupation                        `json:"occupation"`
	AcceptanceContext     *VendorInvitationAcceptanceContext `json:"acceptanceContext"`
	Portfolios            []*InvitationPortfolio             `json:"portfolios"`
}

func (*VendorInvitationAcceptanceDetails) Scan

Scan implements sql.Scanner for VendorInvitationAcceptanceDetails, decoding a JSON column value.

func (VendorInvitationAcceptanceDetails) Value

Value implements driver.Valuer for VendorInvitationAcceptanceDetails, encoding it as a JSON string.

type VendorInvitationActor

type VendorInvitationActor string

VendorInvitationActor represents invitation actor types.

const (
	VendorInvitationActorClient VendorInvitationActor = "Client"
	VendorInvitationActorVendor VendorInvitationActor = "Vendor"
	VendorInvitationActorSystem VendorInvitationActor = "System"
	VendorInvitationActorOBO    VendorInvitationActor = "OBO"
)

type VendorInvitationAnnotations

type VendorInvitationAnnotations string

VendorInvitationAnnotations represents annotation types for vendor invitations.

const (
	VendorInvitationAnnotationsOnHold    VendorInvitationAnnotations = "OnHold"
	VendorInvitationAnnotationsNotOnHold VendorInvitationAnnotations = "NotOnHold"
	VendorInvitationAnnotationsNew       VendorInvitationAnnotations = "New"
	VendorInvitationAnnotationsRead      VendorInvitationAnnotations = "Read"
	VendorInvitationAnnotationsOffered   VendorInvitationAnnotations = "Offered"
	VendorInvitationAnnotationsHired     VendorInvitationAnnotations = "Hired"
)

type VendorInvitationAuditDetails

type VendorInvitationAuditDetails struct {
	CreatedBy        *String `json:"createdBy"`
	CreatedDateTime  *String `json:"createdDateTime"`
	ModifiedBy       *String `json:"modifiedBy"`
	ModifiedDateTime *String `json:"modifiedDateTime"`
}

func (*VendorInvitationAuditDetails) Scan

func (x *VendorInvitationAuditDetails) Scan(src any) error

Scan implements sql.Scanner for VendorInvitationAuditDetails, decoding a JSON column value.

func (VendorInvitationAuditDetails) Value

Value implements driver.Valuer for VendorInvitationAuditDetails, encoding it as a JSON string.

type VendorInvitationChangeReason

type VendorInvitationChangeReason struct {
	ID         ID      `json:"id"`
	ReasonText *String `json:"reasonText"`
	Message    *String `json:"message"`
}

func (*VendorInvitationChangeReason) Scan

func (x *VendorInvitationChangeReason) Scan(src any) error

Scan implements sql.Scanner for VendorInvitationChangeReason, decoding a JSON column value.

func (VendorInvitationChangeReason) Value

Value implements driver.Valuer for VendorInvitationChangeReason, encoding it as a JSON string.

type VendorInvitationConnection

type VendorInvitationConnection struct {
	TotalCount *Int                    `json:"totalCount"`
	Edges      []*VendorInvitationEdge `json:"edges"`
	PageInfo   *PageInfo               `json:"pageInfo"`
}

func (*VendorInvitationConnection) Scan

func (x *VendorInvitationConnection) Scan(src any) error

Scan implements sql.Scanner for VendorInvitationConnection, decoding a JSON column value.

func (VendorInvitationConnection) Value

Value implements driver.Valuer for VendorInvitationConnection, encoding it as a JSON string.

type VendorInvitationContext

type VendorInvitationContext string

VendorInvitationContext represents invitation context.

const (
	VendorInvitationContextFreelancer VendorInvitationContext = "Freelancer"
	VendorInvitationContextAgency     VendorInvitationContext = "Agency"
)

type VendorInvitationEdge

type VendorInvitationEdge struct {
	Node *VendorInvitation `json:"node"`
}

func (*VendorInvitationEdge) Scan

func (x *VendorInvitationEdge) Scan(src any) error

Scan implements sql.Scanner for VendorInvitationEdge, decoding a JSON column value.

func (VendorInvitationEdge) Value

func (x VendorInvitationEdge) Value() (driver.Value, error)

Value implements driver.Valuer for VendorInvitationEdge, encoding it as a JSON string.

type VendorInvitationParticipant

type VendorInvitationParticipant struct {
	User               *GenericUser           `json:"user"`
	ParentOrganization *GenericOrganization   `json:"parentOrganization"`
	SubOrganization    *GenericOrganization   `json:"subOrganization"`
	Type               *VendorInvitationActor `json:"type"`
}

func (*VendorInvitationParticipant) Scan

func (x *VendorInvitationParticipant) Scan(src any) error

Scan implements sql.Scanner for VendorInvitationParticipant, decoding a JSON column value.

func (VendorInvitationParticipant) Value

Value implements driver.Valuer for VendorInvitationParticipant, encoding it as a JSON string.

type VendorInvitationSearchAnnotation

type VendorInvitationSearchAnnotation string

VendorInvitationSearchAnnotation represents invitation search annotations.

const (
	VendorInvitationSearchAnnotationNotOnHold VendorInvitationSearchAnnotation = "NotOnHold"
	VendorInvitationSearchAnnotationOnHold    VendorInvitationSearchAnnotation = "OnHold"
)

type VendorInvitationStatus

type VendorInvitationStatus string

VendorInvitationStatus represents invitation status.

const (
	VendorInvitationStatusPending   VendorInvitationStatus = "Pending"
	VendorInvitationStatusWithdrawn VendorInvitationStatus = "Withdrawn"
	VendorInvitationStatusDeclined  VendorInvitationStatus = "Declined"
	VendorInvitationStatusAccepted  VendorInvitationStatus = "Accepted"
	VendorInvitationStatusArchived  VendorInvitationStatus = "Archived"
)

type VendorInvitationStatusDetails

type VendorInvitationStatusDetails struct {
	Status                 *VendorInvitationStatus       `json:"status"`
	LastStatusChangeReason *VendorInvitationChangeReason `json:"lastStatusChangeReason"`
}

func (*VendorInvitationStatusDetails) Scan

Scan implements sql.Scanner for VendorInvitationStatusDetails, decoding a JSON column value.

func (VendorInvitationStatusDetails) Value

Value implements driver.Valuer for VendorInvitationStatusDetails, encoding it as a JSON string.

type VendorInvitationStatusFilter

type VendorInvitationStatusFilter string

VendorInvitationStatusFilter represents invitation status filter.

const (
	VendorInvitationStatusFilterPending    VendorInvitationStatusFilter = "pending"
	VendorInvitationStatusFilterTerminated VendorInvitationStatusFilter = "terminated"
)

type VendorInvitationTerminationReasonFilter

type VendorInvitationTerminationReasonFilter string

VendorInvitationTerminationReasonFilter represents termination reason filter.

const (
	VendorInvitationTerminationReasonFilterAll           VendorInvitationTerminationReasonFilter = "All"
	VendorInvitationTerminationReasonFilterDeclined      VendorInvitationTerminationReasonFilter = "Declined"
	VendorInvitationTerminationReasonFilterWithdrawn     VendorInvitationTerminationReasonFilter = "Withdrawn"
	VendorInvitationTerminationReasonFilterArchived      VendorInvitationTerminationReasonFilter = "Archived"
	VendorInvitationTerminationReasonFilterAccepted      VendorInvitationTerminationReasonFilter = "Accepted"
	VendorInvitationTerminationReasonFilterPendingOnHold VendorInvitationTerminationReasonFilter = "PendingOnHold"
)

type VendorProposal

type VendorProposal struct {
	ID                    ID                         `json:"id"`
	User                  GenericUser                `json:"user"`
	Organization          GenericOrganization        `json:"organization"`
	MarketplaceJobPosting MarketplaceJobPosting      `json:"marketplaceJobPosting"`
	Terms                 ProposalTerms              `json:"terms"`
	CoverLetter           *String                    `json:"coverLetter"`
	ProposalCoverLetter   *String                    `json:"proposalCoverLetter"`
	Attachments           []*ProposalAttachment      `json:"attachments"`
	ProjectPlan           *ProposalProjectPlan       `json:"projectPlan"`
	AuditDetails          ProposalAuditDetails       `json:"auditDetails"`
	Status                VendorProposalStatus       `json:"status"`
	Annotations           []VendorProposalAnnotation `json:"annotations"`
	ViewedByClient        *Boolean                   `json:"viewedByClient"`
}

func (*VendorProposal) Scan

func (x *VendorProposal) Scan(src any) error

Scan implements sql.Scanner for VendorProposal, decoding a JSON column value.

func (VendorProposal) Value

func (x VendorProposal) Value() (driver.Value, error)

Value implements driver.Valuer for VendorProposal, encoding it as a JSON string.

type VendorProposalAnnotation

type VendorProposalAnnotation string

VendorProposalAnnotation represents annotation tags for vendor proposals.

const (
	VendorProposalAnnotationHidden VendorProposalAnnotation = "Hidden"
	VendorProposalAnnotationOnHold VendorProposalAnnotation = "OnHold"
)

type VendorProposalSortAttributeType

type VendorProposalSortAttributeType string

VendorProposalSortAttributeType represents sortable attributes for vendor proposals.

const (
	VendorProposalSortAttributeTypeCreateddatetime  VendorProposalSortAttributeType = "CREATEDDATETIME"
	VendorProposalSortAttributeTypeModifieddatetime VendorProposalSortAttributeType = "MODIFIEDDATETIME"
)

type VendorProposalStatus

type VendorProposalStatus struct {
	Status VendorProposalStatusName `json:"status"`
	Reason *ProposalReason          `json:"reason"`
}

func (*VendorProposalStatus) Scan

func (x *VendorProposalStatus) Scan(src any) error

Scan implements sql.Scanner for VendorProposalStatus, decoding a JSON column value.

func (VendorProposalStatus) Value

func (x VendorProposalStatus) Value() (driver.Value, error)

Value implements driver.Valuer for VendorProposalStatus, encoding it as a JSON string.

type VendorProposalStatusFilterInput

type VendorProposalStatusFilterInput string

VendorProposalStatusFilterInput represents possible status filter input for vendor proposals.

const (
	VendorProposalStatusFilterInputAccepted  VendorProposalStatusFilterInput = "Accepted"
	VendorProposalStatusFilterInputDeclined  VendorProposalStatusFilterInput = "Declined"
	VendorProposalStatusFilterInputWithdrawn VendorProposalStatusFilterInput = "Withdrawn"
	VendorProposalStatusFilterInputOffered   VendorProposalStatusFilterInput = "Offered"
	VendorProposalStatusFilterInputActivated VendorProposalStatusFilterInput = "Activated"
	VendorProposalStatusFilterInputArchived  VendorProposalStatusFilterInput = "Archived"
	VendorProposalStatusFilterInputHired     VendorProposalStatusFilterInput = "Hired"
	VendorProposalStatusFilterInputPending   VendorProposalStatusFilterInput = "Pending"
)

type VendorProposalStatusName

type VendorProposalStatusName string

VendorProposalStatusName represents vendor proposal status name.

const (
	VendorProposalStatusNameAccepted  VendorProposalStatusName = "Accepted"
	VendorProposalStatusNameDeclined  VendorProposalStatusName = "Declined"
	VendorProposalStatusNameWithdrawn VendorProposalStatusName = "Withdrawn"
	VendorProposalStatusNameOffered   VendorProposalStatusName = "Offered"
	VendorProposalStatusNameActivated VendorProposalStatusName = "Activated"
	VendorProposalStatusNameArchived  VendorProposalStatusName = "Archived"
	VendorProposalStatusNameHired     VendorProposalStatusName = "Hired"
	VendorProposalStatusNamePending   VendorProposalStatusName = "Pending"
	VendorProposalStatusNameInvalid   VendorProposalStatusName = "Invalid"
)

type VendorProposalsConnection

type VendorProposalsConnection struct {
	TotalCount *Int                   `json:"totalCount"`
	Edges      []*VendorProposalsEdge `json:"edges"`
	PageInfo   *PageInfo              `json:"pageInfo"`
}

func (*VendorProposalsConnection) Scan

func (x *VendorProposalsConnection) Scan(src any) error

Scan implements sql.Scanner for VendorProposalsConnection, decoding a JSON column value.

func (VendorProposalsConnection) Value

Value implements driver.Valuer for VendorProposalsConnection, encoding it as a JSON string.

type VendorProposalsEdge

type VendorProposalsEdge struct {
	Cursor *String         `json:"cursor"`
	Node   *VendorProposal `json:"node"`
}

func (*VendorProposalsEdge) Scan

func (x *VendorProposalsEdge) Scan(src any) error

Scan implements sql.Scanner for VendorProposalsEdge, decoding a JSON column value.

func (VendorProposalsEdge) Value

func (x VendorProposalsEdge) Value() (driver.Value, error)

Value implements driver.Valuer for VendorProposalsEdge, encoding it as a JSON string.

type Visitor

type Visitor struct {
}

Visitor represents anonymous visitor data and segmentation information.

func (*Visitor) Scan

func (x *Visitor) Scan(src any) error

Scan implements sql.Scanner for Visitor, decoding a JSON column value.

func (Visitor) Value

func (x Visitor) Value() (driver.Value, error)

Value implements driver.Valuer for Visitor, encoding it as a JSON string.

type VisitorI18N

type VisitorI18N struct {
	CountrySupported          *Boolean             `json:"countrySupported"`
	Status                    *String              `json:"status"`
	LocationViewType          *String              `json:"locationViewType"`
	UserPreferredLocationType *String              `json:"userPreferredLocationType"`
	SettingsFlags             *VisitorI18NSettings `json:"settingsFlags"`
}

VisitorI18N represents visitor internationalization settings including location and feature flags.

func (*VisitorI18N) Scan

func (x *VisitorI18N) Scan(src any) error

Scan implements sql.Scanner for VisitorI18N, decoding a JSON column value.

func (VisitorI18N) Value

func (x VisitorI18N) Value() (driver.Value, error)

Value implements driver.Valuer for VisitorI18N, encoding it as a JSON string.

type VisitorI18NSettings

type VisitorI18NSettings struct {
	ShowDomesticLocationFilterOnFLSearch    *Boolean `json:"showDomesticLocationFilterOnFLSearch"`
	ShowJobSearch                           *Boolean `json:"showJobSearch"`
	ShowPhoneVerification                   *Boolean `json:"showPhoneVerification"`
	ShowSmfToUpdateAddress                  *Boolean `json:"showSmfToUpdateAddress"`
	ShowPersonalAddressAutocomplete         *Boolean `json:"showPersonalAddressAutocomplete"`
	ShowMessageContainer                    *Boolean `json:"showMessageContainer"`
	ShowLocationPreferenceOnJobPost         *Boolean `json:"showLocationPreferenceOnJobPost"`
	DefaultDomesticEnabled                  *Boolean `json:"defaultDomesticEnabled"`
	JobSearchDefaultedToON                  *Boolean `json:"jobSearchDefaultedToON"`
	ShowLocationVerificationOnFWH           *Boolean `json:"showLocationVerificationOnFWH"`
	DomesticEnabledForFreelancersOnFLSearch *Boolean `json:"domesticEnabledForFreelancersOnFLSearch"`
}

VisitorI18NSettings represents feature flags controlling i18n-related UI elements.

func (*VisitorI18NSettings) Scan

func (x *VisitorI18NSettings) Scan(src any) error

Scan implements sql.Scanner for VisitorI18NSettings, decoding a JSON column value.

func (VisitorI18NSettings) Value

func (x VisitorI18NSettings) Value() (driver.Value, error)

Value implements driver.Valuer for VisitorI18NSettings, encoding it as a JSON string.

type VisitorSegment

type VisitorSegment struct {
	VisitorId   ID      `json:"visitorId"`
	SegmentName *String `json:"segmentName"`
	Data        *String `json:"data"`
}

VisitorSegment represents visitor segmentation data for behavioral or demographic categorization.

func (*VisitorSegment) Scan

func (x *VisitorSegment) Scan(src any) error

Scan implements sql.Scanner for VisitorSegment, decoding a JSON column value.

func (VisitorSegment) Value

func (x VisitorSegment) Value() (driver.Value, error)

Value implements driver.Valuer for VisitorSegment, encoding it as a JSON string.

type WithdrawReason

type WithdrawReason string

WithdrawReason represents reasons for withdrawing an offer.

const (
	WithdrawReasonHiredDifferentFreelancer WithdrawReason = "OFFER_WITHDRAW_REASON_HIRED_DIFFERENT_FREELANCER"
	WithdrawReasonNoLongerHiring           WithdrawReason = "OFFER_WITHDRAW_REASON_NO_LONGER_HIRING_FOR_THE_JOB"
	WithdrawReasonNeedToModify             WithdrawReason = "OFFER_WITHDRAW_REASON_NEED_TO_MODIFY"
	WithdrawReasonFreelancerUnresponsive   WithdrawReason = "OFFER_WITHDRAW_REASON_FREELANCER_UNRESPONSIVE"
	WithdrawReasonSentByAccident           WithdrawReason = "OFFER_WITHDRAW_REASON_SENT_BY_ACCIDENT"
	WithdrawReasonFreelancerViolatedTOS    WithdrawReason = "OFFER_WITHDRAW_REASON_FREELANCER_VIOLATED_TERMS_OF_SERVICE"
	WithdrawReasonOtherL1                  WithdrawReason = "OFFER_WITHDRAW_REASON_OTHER_L1"
	WithdrawReasonNotAgreeOnTerms          WithdrawReason = "OFFER_WITHDRAW_REASON_NOT_AGREE_ON_THE_TERMS"
	WithdrawReasonJobExpired               WithdrawReason = "API_REAS_JOB_EXPIRED"
	WithdrawReasonJobInappropriate         WithdrawReason = "API_REAS_JOB_INAPPROPRIATE"
)

type WorkDay

type WorkDay struct {
	WorkDiary *WorkDiary `json:"workDiary"`
	Date      String     `json:"date"`
}

WorkDay represents a single work day with associated work diary data.

func (*WorkDay) Scan

func (x *WorkDay) Scan(src any) error

Scan implements sql.Scanner for WorkDay, decoding a JSON column value.

func (WorkDay) Value

func (x WorkDay) Value() (driver.Value, error)

Value implements driver.Valuer for WorkDay, encoding it as a JSON string.

type WorkDiary

type WorkDiary struct {
	Cells []*Cell `json:"cells"`
}

WorkDiary represents a work diary containing time tracking cells for a work day.

func (*WorkDiary) Scan

func (x *WorkDiary) Scan(src any) error

Scan implements sql.Scanner for WorkDiary, decoding a JSON column value.

func (WorkDiary) Value

func (x WorkDiary) Value() (driver.Value, error)

Value implements driver.Valuer for WorkDiary, encoding it as a JSON string.

type WorkDiaryCompany

type WorkDiaryCompany struct {
	Total     *Int                        `json:"total"`
	Snapshots []*WorkDiaryCompanySnapshot `json:"snapshots"`
}

WorkDiaryCompany represents work diary data for a company including snapshots and metadata.

func (*WorkDiaryCompany) Scan

func (x *WorkDiaryCompany) Scan(src any) error

Scan implements sql.Scanner for WorkDiaryCompany, decoding a JSON column value.

func (WorkDiaryCompany) Value

func (x WorkDiaryCompany) Value() (driver.Value, error)

Value implements driver.Valuer for WorkDiaryCompany, encoding it as a JSON string.

type WorkDiaryCompanyContract

type WorkDiaryCompanyContract struct {
	ID            ID      `json:"id"`
	UserId        *String `json:"userId"`
	ContractTitle *String `json:"contractTitle"`
}

WorkDiaryCompanyContract represents contract information in work diary context.

func (*WorkDiaryCompanyContract) Scan

func (x *WorkDiaryCompanyContract) Scan(src any) error

Scan implements sql.Scanner for WorkDiaryCompanyContract, decoding a JSON column value.

func (WorkDiaryCompanyContract) Value

Value implements driver.Valuer for WorkDiaryCompanyContract, encoding it as a JSON string.

type WorkDiaryCompanySnapshot

type WorkDiaryCompanySnapshot struct {
	Contract    *WorkDiaryCompanyContract             `json:"contract"`
	User        *WorkDiaryCompanyUser                 `json:"user"`
	Duration    *String                               `json:"duration"`
	DurationInt *Int                                  `json:"durationInt"`
	Task        *WorkDiaryCompanySnapshotTask         `json:"task"`
	Time        *WorkDiaryCompanyTime                 `json:"time"`
	Screenshots []*WorkDiaryCompanySnapshotScreenshot `json:"screenshots"`
}

WorkDiaryCompanySnapshot represents a complete snapshot of work diary data.

func (*WorkDiaryCompanySnapshot) Scan

func (x *WorkDiaryCompanySnapshot) Scan(src any) error

Scan implements sql.Scanner for WorkDiaryCompanySnapshot, decoding a JSON column value.

func (WorkDiaryCompanySnapshot) Value

Value implements driver.Valuer for WorkDiaryCompanySnapshot, encoding it as a JSON string.

type WorkDiaryCompanySnapshotScreenshot

type WorkDiaryCompanySnapshotScreenshot struct {
	Activity                 *Int                                    `json:"activity"`
	ScreenshotUrl            *String                                 `json:"screenshotUrl"`
	ScreenshotImage          *String                                 `json:"screenshotImage"`
	ScreenshotImageLarge     *String                                 `json:"screenshotImageLarge"`
	ScreenshotImageMedium    *String                                 `json:"screenshotImageMedium"`
	ScreenshotImageThumbnail *String                                 `json:"screenshotImageThumbnail"`
	HasScreenshot            *Boolean                                `json:"hasScreenshot"`
	HasWebcam                *Boolean                                `json:"hasWebcam"`
	WebcamUrl                *String                                 `json:"webcamUrl"`
	WebcamImage              *String                                 `json:"webcamImage"`
	WebcamImageThumbnail     *String                                 `json:"webcamImageThumbnail"`
	Flags                    *WorkDiaryCompanySnapshotScreenshotFlag `json:"flags"`
}

WorkDiaryCompanySnapshotScreenshot represents screenshot and webcam data for a work diary snapshot.

func (*WorkDiaryCompanySnapshotScreenshot) Scan

Scan implements sql.Scanner for WorkDiaryCompanySnapshotScreenshot, decoding a JSON column value.

func (WorkDiaryCompanySnapshotScreenshot) Value

Value implements driver.Valuer for WorkDiaryCompanySnapshotScreenshot, encoding it as a JSON string.

type WorkDiaryCompanySnapshotScreenshotFlag

type WorkDiaryCompanySnapshotScreenshotFlag struct {
	HideScreenshot        *Boolean `json:"hideScreenshot"`
	DownSampleScreenshots *Boolean `json:"downSampleScreenshots"`
}

WorkDiaryCompanySnapshotScreenshotFlag represents flags controlling screenshot display behavior.

func (*WorkDiaryCompanySnapshotScreenshotFlag) Scan

Scan implements sql.Scanner for WorkDiaryCompanySnapshotScreenshotFlag, decoding a JSON column value.

func (WorkDiaryCompanySnapshotScreenshotFlag) Value

Value implements driver.Valuer for WorkDiaryCompanySnapshotScreenshotFlag, encoding it as a JSON string.

type WorkDiaryCompanySnapshotTask

type WorkDiaryCompanySnapshotTask struct {
	ID          *String `json:"id"`
	Code        *String `json:"code"`
	Description *String `json:"description"`
	Memo        *String `json:"memo"`
}

WorkDiaryCompanySnapshotTask represents task information associated with a work diary snapshot.

func (*WorkDiaryCompanySnapshotTask) Scan

func (x *WorkDiaryCompanySnapshotTask) Scan(src any) error

Scan implements sql.Scanner for WorkDiaryCompanySnapshotTask, decoding a JSON column value.

func (WorkDiaryCompanySnapshotTask) Value

Value implements driver.Valuer for WorkDiaryCompanySnapshotTask, encoding it as a JSON string.

type WorkDiaryCompanyTime

type WorkDiaryCompanyTime struct {
	TrackedTime    *String `json:"trackedTime"`
	ManualTime     *String `json:"manualTime"`
	Overtime       *String `json:"overtime"`
	FirstWorked    *String `json:"firstWorked"`
	LastWorked     *String `json:"lastWorked"`
	FirstWorkedInt *Int    `json:"firstWorkedInt"`
	LastWorkedInt  *Int    `json:"lastWorkedInt"`
	LastScreenshot *String `json:"lastScreenshot"`
}

WorkDiaryCompanyTime represents time tracking information for a work diary entry.

func (*WorkDiaryCompanyTime) Scan

func (x *WorkDiaryCompanyTime) Scan(src any) error

Scan implements sql.Scanner for WorkDiaryCompanyTime, decoding a JSON column value.

func (WorkDiaryCompanyTime) Value

func (x WorkDiaryCompanyTime) Value() (driver.Value, error)

Value implements driver.Valuer for WorkDiaryCompanyTime, encoding it as a JSON string.

type WorkDiaryCompanyUser

type WorkDiaryCompanyUser struct {
	ID          ID      `json:"id"`
	Name        *String `json:"name"`
	PortraitUrl *String `json:"portraitUrl"`
}

WorkDiaryCompanyUser represents user information in work diary context.

func (*WorkDiaryCompanyUser) Scan

func (x *WorkDiaryCompanyUser) Scan(src any) error

Scan implements sql.Scanner for WorkDiaryCompanyUser, decoding a JSON column value.

func (WorkDiaryCompanyUser) Value

func (x WorkDiaryCompanyUser) Value() (driver.Value, error)

Value implements driver.Valuer for WorkDiaryCompanyUser, encoding it as a JSON string.

type WorkDiaryContract

type WorkDiaryContract struct {
	WorkDiaryMetadata  *WorkDiaryMetadata   `json:"workDiaryMetadata"`
	WorkDiaryTimeCells []*WorkDiaryTimeCell `json:"workDiaryTimeCells"`
}

WorkDiaryContract represents work diary data for a specific contract and date.

func (*WorkDiaryContract) Scan

func (x *WorkDiaryContract) Scan(src any) error

Scan implements sql.Scanner for WorkDiaryContract, decoding a JSON column value.

func (WorkDiaryContract) Value

func (x WorkDiaryContract) Value() (driver.Value, error)

Value implements driver.Valuer for WorkDiaryContract, encoding it as a JSON string.

type WorkDiaryMetadata

type WorkDiaryMetadata struct {
	TimezoneOffset    String `json:"timezoneOffset"`
	ArchivingDateTime String `json:"archivingDateTime"`
}

WorkDiaryMetadata represents metadata for work diary including timezone and user information.

func (*WorkDiaryMetadata) Scan

func (x *WorkDiaryMetadata) Scan(src any) error

Scan implements sql.Scanner for WorkDiaryMetadata, decoding a JSON column value.

func (WorkDiaryMetadata) Value

func (x WorkDiaryMetadata) Value() (driver.Value, error)

Value implements driver.Valuer for WorkDiaryMetadata, encoding it as a JSON string.

type WorkDiaryTask

type WorkDiaryTask struct {
	ID          ID      `json:"id"`
	Description *String `json:"description"`
}

WorkDiaryTask represents a task associated with work diary timecell.

func (*WorkDiaryTask) Scan

func (x *WorkDiaryTask) Scan(src any) error

Scan implements sql.Scanner for WorkDiaryTask, decoding a JSON column value.

func (WorkDiaryTask) Value

func (x WorkDiaryTask) Value() (driver.Value, error)

Value implements driver.Valuer for WorkDiaryTask, encoding it as a JSON string.

type WorkDiaryTimeCell

type WorkDiaryTimeCell struct {
	CellDateTime             *DateTime      `json:"cellDateTime"`
	SnapshotDateTime         *DateTime      `json:"snapshotDateTime"`
	Overtime                 *Boolean       `json:"overtime"`
	Manual                   *Boolean       `json:"manual"`
	ActivityLevel            *Int           `json:"activityLevel"`
	Memo                     *String        `json:"memo"`
	Task                     *WorkDiaryTask `json:"task"`
	MouseEventsCount         *Int           `json:"mouseEventsCount"`
	KeyboardEventsCount      *Int           `json:"keyboardEventsCount"`
	ActiveWindowTitle        *String        `json:"activeWindowTitle"`
	HideScreenshots          *Boolean       `json:"hideScreenshots"`
	HasScreenshot            *Boolean       `json:"hasScreenshot"`
	ScreenshotImageUrl       *String        `json:"screenshotImageUrl"`
	ScreenshotImageUrlMedium *String        `json:"screenshotImageUrlMedium"`
	ScreenshotImageThumbnail *String        `json:"screenshotImageThumbnail"`
	WebcamEnabled            *Boolean       `json:"webcamEnabled"`
	WebcamImageUrl           *String        `json:"webcamImageUrl"`
	WebcamImageThumbnail     *String        `json:"webcamImageThumbnail"`
	SnapshotExpired          *Boolean       `json:"snapshotExpired"`
}

WorkDiaryTimeCell represents a 10-minute billable time period with activity tracking and screenshots.

func (*WorkDiaryTimeCell) Scan

func (x *WorkDiaryTimeCell) Scan(src any) error

Scan implements sql.Scanner for WorkDiaryTimeCell, decoding a JSON column value.

func (WorkDiaryTimeCell) Value

func (x WorkDiaryTimeCell) Value() (driver.Value, error)

Value implements driver.Valuer for WorkDiaryTimeCell, encoding it as a JSON string.

type WorkFlowStateStatus

type WorkFlowStateStatus string

WorkFlowStateStatus represents workflow state status.

const (
	WorkFlowStateStatusClosed WorkFlowStateStatus = "CLOSED"
	WorkFlowStateStatusActive WorkFlowStateStatus = "ACTIVE"
)

type WorkdayResult

type WorkdayResult struct {
	WorkDays []String `json:"workDays"`
}

WorkdayResult represents a result containing workday information.

func (*WorkdayResult) Scan

func (x *WorkdayResult) Scan(src any) error

Scan implements sql.Scanner for WorkdayResult, decoding a JSON column value.

func (WorkdayResult) Value

func (x WorkdayResult) Value() (driver.Value, error)

Value implements driver.Valuer for WorkdayResult, encoding it as a JSON string.

type WorkflowAssociationView

type WorkflowAssociationView struct {
	EntityType  *String `json:"entityType"`
	EntityValue *String `json:"entityValue"`
}

WorkflowAssociationView is an association between a workflow and an external entity.

func (*WorkflowAssociationView) Scan

func (x *WorkflowAssociationView) Scan(src any) error

Scan implements sql.Scanner for WorkflowAssociationView, decoding a JSON column value.

func (WorkflowAssociationView) Value

Value implements driver.Valuer for WorkflowAssociationView, encoding it as a JSON string.

type WorkflowOfferState

type WorkflowOfferState string

WorkflowOfferState represents workflow offer state.

const (
	WorkflowOfferStateSubmitted          WorkflowOfferState = "Submitted"
	WorkflowOfferStateActive             WorkflowOfferState = "Active"
	WorkflowOfferStateExpired            WorkflowOfferState = "Expired"
	WorkflowOfferStateDeclined           WorkflowOfferState = "Declined"
	WorkflowOfferStateWithdrawn          WorkflowOfferState = "Withdrawn"
	WorkflowOfferStateAccepted           WorkflowOfferState = "Accepted"
	WorkflowOfferStateReplaced           WorkflowOfferState = "Replaced"
	WorkflowOfferStateCanceled           WorkflowOfferState = "Canceled"
	WorkflowOfferStateApprovalSuceeded   WorkflowOfferState = "ApprovalSuceeded"
	WorkflowOfferStateApprovalFailed     WorkflowOfferState = "ApprovalFailed"
	WorkflowOfferStateOnboardingSucceded WorkflowOfferState = "OnboardingSucceded"
	WorkflowOfferStateOnboardingFailed   WorkflowOfferState = "OnboardingFailed"
	WorkflowOfferStateDraft              WorkflowOfferState = "Draft"
	WorkflowOfferStateCommitted          WorkflowOfferState = "Committed"
)

type WorkflowOnboardingStatus

type WorkflowOnboardingStatus string

WorkflowOnboardingStatus represents status of workflow onboarding process.

const (
	WorkflowOnboardingStatusNotStarted      WorkflowOnboardingStatus = "NOT_STARTED"
	WorkflowOnboardingStatusInProgress      WorkflowOnboardingStatus = "IN_PROGRESS"
	WorkflowOnboardingStatusCompleted       WorkflowOnboardingStatus = "COMPLETED"
	WorkflowOnboardingStatusContingentStart WorkflowOnboardingStatus = "CONTINGENT_START"
	WorkflowOnboardingStatusWithdrawn       WorkflowOnboardingStatus = "WITHDRAWN"
	WorkflowOnboardingStatusWaived          WorkflowOnboardingStatus = "WAIVED"
)

type WorkflowTaskAssigneeView

type WorkflowTaskAssigneeView struct {
	EntityType *String `json:"entityType"`
	EntityID   *ID     `json:"entityId"`
}

WorkflowTaskAssigneeView is an entity assigned to a workflow task.

func (*WorkflowTaskAssigneeView) Scan

func (x *WorkflowTaskAssigneeView) Scan(src any) error

Scan implements sql.Scanner for WorkflowTaskAssigneeView, decoding a JSON column value.

func (WorkflowTaskAssigneeView) Value

Value implements driver.Valuer for WorkflowTaskAssigneeView, encoding it as a JSON string.

type WorkflowTaskComment

type WorkflowTaskComment struct {
	ID              *ID                               `json:"id"`
	Message         *String                           `json:"message"`
	CreatedDateTime *String                           `json:"createdDateTime"`
	CreatedBy       *String                           `json:"createdBy"`
	VisibleToClient *Boolean                          `json:"visibleToClient"`
	Attachments     []*WorkflowTaskCommentAttachments `json:"attachments"`
}

WorkflowTaskComment is a comment added to a workflow task.

func (*WorkflowTaskComment) Scan

func (x *WorkflowTaskComment) Scan(src any) error

Scan implements sql.Scanner for WorkflowTaskComment, decoding a JSON column value.

func (WorkflowTaskComment) Value

func (x WorkflowTaskComment) Value() (driver.Value, error)

Value implements driver.Valuer for WorkflowTaskComment, encoding it as a JSON string.

type WorkflowTaskCommentAttachments

type WorkflowTaskCommentAttachments struct {
	ID   *ID     `json:"id"`
	Name *String `json:"name"`
	Type *String `json:"type"`
}

WorkflowTaskCommentAttachments is a file or document attached to a workflow task comment.

func (*WorkflowTaskCommentAttachments) Scan

Scan implements sql.Scanner for WorkflowTaskCommentAttachments, decoding a JSON column value.

func (WorkflowTaskCommentAttachments) Value

Value implements driver.Valuer for WorkflowTaskCommentAttachments, encoding it as a JSON string.

type WorkflowTaskCustomAttribute

type WorkflowTaskCustomAttribute struct {
	Key   *String `json:"key"`
	Value *String `json:"value"`
}

WorkflowTaskCustomAttribute is a custom key-value attribute for a workflow task.

func (*WorkflowTaskCustomAttribute) Scan

func (x *WorkflowTaskCustomAttribute) Scan(src any) error

Scan implements sql.Scanner for WorkflowTaskCustomAttribute, decoding a JSON column value.

WorkflowTaskCustomAttribute has its own Value field, so it cannot also implement driver.Valuer (Go disallows a method and field sharing a name); use valueJSON(x) directly when writing this type to a database column.

type WorkflowTaskLabel

type WorkflowTaskLabel string

WorkflowTaskLabel represents labels that can be applied to workflow tasks.

const (
	WorkflowTaskLabelFlagged WorkflowTaskLabel = "FLAGGED"
	WorkflowTaskLabelOverdue WorkflowTaskLabel = "OVERDUE"
)

type WorkflowTaskStatus

type WorkflowTaskStatus string

WorkflowTaskStatus represents status of a workflow task.

const (
	WorkflowTaskStatusNotOpen    WorkflowTaskStatus = "NOT_OPEN"
	WorkflowTaskStatusOpen       WorkflowTaskStatus = "OPEN"
	WorkflowTaskStatusInProgress WorkflowTaskStatus = "IN_PROGRESS"
	WorkflowTaskStatusCompleted  WorkflowTaskStatus = "COMPLETED"
	WorkflowTaskStatusWaived     WorkflowTaskStatus = "WAIVED"
	WorkflowTaskStatusPaused     WorkflowTaskStatus = "PAUSED"
	WorkflowTaskStatusPending    WorkflowTaskStatus = "PENDING"
)

type WorkflowTaskView

type WorkflowTaskView struct {
	ID               *ID                            `json:"id"`
	Type             *String                        `json:"type"`
	Title            *String                        `json:"title"`
	Description      *String                        `json:"description"`
	Status           WorkflowTaskStatus             `json:"status"`
	Assignee         *WorkflowTaskAssigneeView      `json:"assignee"`
	Comments         []*WorkflowTaskComment         `json:"comments"`
	CreatedDateTime  *String                        `json:"createdDateTime"`
	FinishedDateTime *String                        `json:"finishedDateTime"`
	DueDate          *String                        `json:"dueDate"`
	ModifiedDateTime *String                        `json:"modifiedDateTime"`
	CreatedBy        *String                        `json:"createdBy"`
	ModifiedBy       *String                        `json:"modifiedBy"`
	Labels           []*WorkflowTaskLabel           `json:"labels"`
	Active           *Boolean                       `json:"active"`
	NotRequired      *Boolean                       `json:"notRequired"`
	DependsOn        *String                        `json:"dependsOn"`
	ExternalTaskID   *String                        `json:"externalTaskId"`
	DelayReasons     *String                        `json:"delayReasons"`
	CustomAttributes []*WorkflowTaskCustomAttribute `json:"customAttributes"`
	Order            *Int                           `json:"order"`
	CanEdit          *Boolean                       `json:"canEdit"`
	Owner            *Boolean                       `json:"owner"`
}

WorkflowTaskView is a detailed view of a single task within a workflow.

func (*WorkflowTaskView) Scan

func (x *WorkflowTaskView) Scan(src any) error

Scan implements sql.Scanner for WorkflowTaskView, decoding a JSON column value.

func (WorkflowTaskView) Value

func (x WorkflowTaskView) Value() (driver.Value, error)

Value implements driver.Valuer for WorkflowTaskView, encoding it as a JSON string.

type WorkflowView

type WorkflowView struct {
	ID                   *ID                        `json:"id"`
	Type                 *String                    `json:"type"`
	OnboardedStatus      *WorkflowOnboardingStatus  `json:"onboardedStatus"`
	TotalTasks           *Int                       `json:"totalTasks"`
	NotStartedTasksCount *Int                       `json:"notStartedTasksCount"`
	InProgressTasksCount *Int                       `json:"inProgressTasksCount"`
	CompletedTasksCount  *Int                       `json:"completedTasksCount"`
	TasksOverdue         *Int                       `json:"tasksOverdue"`
	PercentComplete      *Int                       `json:"percentComplete"`
	StartDateTime        *String                    `json:"startDateTime"`
	CompletionDateTime   *String                    `json:"completionDateTime"`
	Associations         []*WorkflowAssociationView `json:"associations"`
	Tasks                []*WorkflowTaskView        `json:"tasks"`
	CreatedDateTime      *String                    `json:"createdDateTime"`
	ModifiedDateTime     *String                    `json:"modifiedDateTime"`
	CreatedBy            *String                    `json:"createdBy"`
	ModifiedBy           *String                    `json:"modifiedBy"`
}

WorkflowView is a comprehensive view of a workflow instance with all its tasks and metadata.

func (*WorkflowView) Scan

func (x *WorkflowView) Scan(src any) error

Scan implements sql.Scanner for WorkflowView, decoding a JSON column value.

func (WorkflowView) Value

func (x WorkflowView) Value() (driver.Value, error)

Value implements driver.Valuer for WorkflowView, encoding it as a JSON string.

Jump to

Keyboard shortcuts

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