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 ¶
- type AcceptVendorInvitationResponse
- type AccessRestictionReason
- type AccessType
- type AccountAuditRecord
- type AccountProcessInstance
- type AccountingEntity
- type ActivitiesConnection
- type Activity
- type ActivityContract
- type ActivityEdge
- type Actor
- type ActorType
- type AgencyDetails
- type AgreementKind
- type ApplicationsBidStats
- type Area
- type AreaType
- type AuditTime
- type AutoReviewStatus
- type AvailabilitySource
- type AvailableScope
- type BatchAssignmentOptions
- type Bid
- type BidList
- type BillRate
- type BillingType
- type Boolean
- type BuyerWorkHistoryFeedback
- type BuyerWorkHistoryItem
- type BuyerWorkHistoryJobInfo
- type CategoryServicesResponse
- type Cell
- type ClientActiveInvitationStatusFilter
- type ClientFeedback
- type ClientInvitation
- type ClientInvitationAcceptanceContext
- type ClientInvitationAcceptanceDetails
- type ClientInvitationActor
- type ClientInvitationAdditionalInfo
- type ClientInvitationChangeReason
- type ClientInvitationConnection
- type ClientInvitationContext
- type ClientInvitationEdge
- type ClientInvitationParticipant
- type ClientInvitationStatus
- type ClientInvitationStatusDetails
- type ClientProposal
- type ClientProposalAnnotation
- type ClientProposalEarnedAmount
- type ClientProposalEnglishProficiency
- type ClientProposalHourlyRate
- type ClientProposalHoursBilled
- type ClientProposalJobSuccessScore
- type ClientProposalJobSuccessSocre
- type ClientProposalLastActivity
- type ClientProposalRatedType
- type ClientProposalSortAttributeType
- type ClientProposalStatus
- type ClientProposalStatusName
- type ClientProposalTalentType
- type ClientProposalsConnection
- type ClientProposalsEdge
- type ClientVerificationStatus
- type ClosingReason
- type CompanyInfo
- type CompanySelector
- type CompanySelectorItem
- type CompanySelectorOrganizationEnterpriseType
- type CompanySelectorOrganizationLegacyType
- type CompanySelectorOrganizationType
- type ConnectUsageHistory
- type ConnectUsageTransaction
- type ConnectsPaymentsTransactionTypeEnum
- type ConnectsSummaryResult
- type Contract
- type ContractActionResponse
- type ContractDetails
- type ContractKind
- type ContractList
- type ContractMetadata
- type ContractOfferConnection
- type ContractOfferEdge
- type ContractOfferLastEvent
- type ContractOfferLegacyState
- type ContractOfferResult
- type ContractOfferState
- type ContractOfferTermsVersion
- type ContractOfferType
- type ContractOfferVendorType
- type ContractPaging
- type ContractProposal
- type ContractProposalCreateResponse
- type ContractProposalStateV2
- type ContractProposalsClient
- type ContractProposalsListItem
- type ContractProposalsOfferDetails
- type ContractProposalsPaging
- type ContractProposalsResult
- type ContractSearchResults
- type ContractState
- type ContractStatus
- type ContractTerms
- type ContractType
- type ContractUser
- type ContractorInfo
- type ContractorTier
- type ContractorType
- type Country
- type CountryRegion
- type CreateJobProposalError
- type CreateJobProposalResponse
- type CreateJobProposalStatus
- type CreateOfferDeliveryModelInput
- type CreatorType
- type CurrentOrganization
- type CurrentUser
- type CustomFields
- type CustomFieldsConnection
- type CustomFieldsEdge
- type CustomFieldsTypeSnap
- type CustomJobPostSkill
- type CustomPaymentResponse
- type CustomPaymentType
- type DateTime
- type Day
- type DeliveryModel
- type DeliveryModelInput
- type DropdownAclType
- type Earning
- type EndContractPayWhat
- type EngagementDuration
- type EngagementType
- type EnglishProficiency
- type EnglishSkill
- type EscrowRefundStatus
- type ExperienceLevel
- type FacetType
- type FailedInvitation
- type FeedJobLocation
- type Feedback
- type File
- type FileAttachmentType
- type FileInfo
- type FixedPriceContractTerm
- type FixedPriceContractTerms
- type FixedPriceTerm
- type Float
- type FreeLancerSkillEdge
- type FreelancerClientRelation
- type FreelancerFeedback
- type FreelancerLocation
- type FreelancerProfile
- type FreelancerProfileAggregates
- type FreelancerProfileAvailability
- type FreelancerProfileAvailabilityCapacity
- type FreelancerProfileCertificate
- type FreelancerProfileCommittedResponseTime
- type FreelancerProfileCompletenessSummary
- type FreelancerProfileContract
- type FreelancerProfileContractAccessType
- type FreelancerProfileContractFeedback
- type FreelancerProfileContractFeedbackScore
- type FreelancerProfileContractType
- type FreelancerProfileEducationRecord
- type FreelancerProfileEmploymentRecord
- type FreelancerProfileExperienceLevel
- type FreelancerProfileJobCategoriesConnection
- type FreelancerProfileJobCategory
- type FreelancerProfileJobCategoryEdge
- type FreelancerProfileLanguage
- type FreelancerProfileLanguageEdge
- type FreelancerProfileLanguagesConnection
- type FreelancerProfileLinkedExternalAccounts
- type FreelancerProfileLinkedExternalAccountsConnection
- type FreelancerProfileLinkedExternalAccountsEdge
- type FreelancerProfileOtherExperience
- type FreelancerProfileOtherExperienceEdge
- type FreelancerProfileOtherExperiencesConnection
- type FreelancerProfilePersonalData
- type FreelancerProfileProject
- type FreelancerProfileProjectAttachment
- type FreelancerProfileProjectContractLink
- type FreelancerProfileProjectType
- type FreelancerProfileResponseTime
- type FreelancerProfileSearchUserTypeEnum
- type FreelancerProfileStats
- type FreelancerProfileUserPreferences
- type FreelancerProfileVerifications
- type FreelancerProfileVisibility
- type FreelancerProfilesSearchRecord
- type FreelancerProfilesSearchRecordInterface
- type FreelancerProfilesSearchRecordType
- type FreelancerProfilesSearchRecordsConnection
- type FreelancerProfilesSearchResultEdge
- type FreelancerProjectTypePreference
- type FreelancerSearchResultContractFeedbackSummary
- type FreelancerSearchResultContractSummary
- type FreelancerSearchResultLocation
- type FreelancerSkillsConnection
- type FreelancerType
- type FreelancerVisibility
- type GenericOrganization
- type GenericUser
- type HourlyContractTerm
- type HourlyContractTerms
- type HourlyLimit
- type HourlyTerms
- type I18nLocation
- type I18nSettings
- type I18nSettingsFlags
- type I18nSettingsStatus
- type ID
- type Int
- type InvitationPortfolio
- type InvitationsSortBy
- type InviteToTeamFailedResponse
- type InviteToTeamFlow
- type InviteToTeamResponse
- type InviteToTeamSucceededResponse
- type JobActivity
- type JobCategory
- type JobDetailsMoney
- type JobDuration
- type JobOpeningStatus
- type JobPostDirectUploadLinkResponse
- type JobPostDurationType
- type JobPostSkillRelevance
- type JobPostType
- type JobPosting
- type JobPostingAccess
- type JobPostingAdditionalInfo
- type JobPostingAttachment
- type JobPostingCategory
- type JobPostingClassification
- type JobPostingConnection
- type JobPostingContent
- type JobPostingContractTerms
- type JobPostingContractorSelection
- type JobPostingCreateResponse
- type JobPostingCustomFields
- type JobPostingEdge
- type JobPostingHourlyBudgetType
- type JobPostingInfo
- type JobPostingLocation
- type JobPostingOwnership
- type JobPostingProposalRequirements
- type JobPostingPtcInfo
- type JobPostingPtcStatus
- type JobPostingPtcVisibility
- type JobPostingQualification
- type JobPostingQuestion
- type JobPostingSegmentationData
- type JobPostingSegmentationValue
- type JobPostingStatus
- type JobPostingUpdateResponse
- type JobProposalsPersonNameCombined
- type JobStatus
- type JobSubPostingCategory
- type JobType
- type Language
- type LocationViewType
- type Long
- type ManualReviewStatus
- type Map
- type MarketPlaceJobSearchLocation
- type MarketplaceAdditionalSearchInfo
- type MarketplaceContractTerms
- type MarketplaceContractorSelection
- type MarketplaceJobPosting
- type MarketplaceJobPostingContent
- type MarketplaceJobPostingSearchClientInfo
- type MarketplaceJobPostingSearchConnection
- type MarketplaceJobPostingSearchOccupation
- type MarketplaceJobPostingSearchOccupations
- type MarketplaceJobPostingSearchRelevance
- type MarketplaceJobPostingSearchResult
- type MarketplaceJobPostingSearchSkill
- type MarketplaceJobPostingSearchSortField
- type MarketplaceJobPostingSearchType
- type MarketplaceJobPostingsContents
- type MarketplaceJobpostingSearchEdge
- type MarketplaceLocation
- type MarketplacePostingActivityStat
- type MarketplacePostingAnnotations
- type MarketplacePostingAttachment
- type MarketplacePostingClassification
- type MarketplacePostingOwnership
- type MarketplacePostingWorkFlowState
- type MarketplaceProposalRequirements
- type MarketplacePublicCompanyInfo
- type MarketplaceQualification
- type MarketplaceQuestion
- type MarketplaceSegmentationData
- type MarketplaceSegmentationInfo
- type MarketplaceSegmentationValue
- type MessageAttachments
- type Metadata
- type Milestone
- type MilestoneRejectionResponse
- type MilestoneSubmissions
- type MilestoneTerms
- type ModernizedContractOffer
- type ModernizedContractOfferList
- type ModernizedOffer
- type ModernizedOfferFacet
- type Money
- type Occupation
- type Offer
- type OfferAcceptResponse
- type OfferCreationResponse
- type OfferDeliveryModel
- type OfferFeatures
- type OfferKind
- type OfferKindInput
- type OfferLastEvent
- type OfferLegacyState
- type OfferList
- type OfferMilestoneState
- type OfferPeriodTypeInput
- type OfferSearchAttribute
- type OfferState
- type OfferTerms
- type OfferType
- type OfferWorkType
- type Offeror
- type OfferorInput
- type OnSiteType
- type OntologyCategory
- type OntologyConnection
- type OntologyEntity
- type OntologyEntityEdge
- type OntologyEntityResult
- type OntologyEntitySearchRecord
- type OntologyEntityStatus
- type OntologyEntityTaxonomyLevel
- type OntologyEntityType
- type OntologyResultSortOrder
- type OntologyService
- type OntologySubcategory
- type OrgLegacyType
- type OrgType
- type Organization
- type OrganizationFlag
- type OrganizationLegacyType
- type OrganizationRequestType
- type OrganizationType
- type Page
- type PageInfo
- type PagingInfo
- type PaymentVerificationResult
- type PaymentVerificationStatus
- type PeriodType
- type PersonSavedJob
- type PersonalDataLocation
- type PersonalDataProfileState
- type PhoneNumber
- type PiiUser
- type Portrait
- type PreferredGroup
- type PreferredTest
- type PrivateCompanyInfo
- type PrivateCompanyLegacyType
- type PrivateTalentCloud
- type PrivateTalentCloudConnection
- type PrivateTalentCloudEdge
- type ProcessAddResponse
- type ProcessUpdateResponse
- type ProfileActivityMetric
- type ProfileActivityMetricAvailability
- type ProfileActivityMetricEntry
- type ProfileActivityMetricType
- type ProfileActivityMetrics
- type ProfileActivityMetricsAvailability
- type ProfileActivityMetricsLastUpdated
- type ProfileActivityStepType
- type ProposalAttachment
- type ProposalAuditDetails
- type ProposalEngagementDuration
- type ProposalMetadata
- type ProposalMilestones
- type ProposalProjectPlan
- type ProposalQuestionAnswer
- type ProposalReason
- type ProposalTerms
- type ProposalUpdateResultStatus
- type ProposalsStatistics
- type PtcData
- type PublicCompanyInfo
- type PublicMarketplaceJobPostingSearchFacets
- type PublicMarketplaceJobPostingSearchOccupation
- type PublicMarketplaceJobPostingSearchOccupations
- type PublicMarketplaceJobPostingSearchOntologySkill
- type PublicMarketplaceJobPostingSearchSkill
- type PublicMarketplaceJobPostingsSearch
- type PublicMarketplaceJobPostingsSearchClient
- type PublicMarketplaceJobPostingsSearchConnection
- type PublicMarketplaceJobPostingsSearchEngagementDuration
- type PurchaseOrder
- type PurchaseOrderAclType
- type PurchaseOrderNotificationAclType
- type QuestionType
- type ReasonType
- type ReasonsMetadata
- type Region
- type RequestMetadata
- type ResourceType
- type RestictionSubjectType
- type Room
- type RoomCategoryFilter
- type RoomConnection
- type RoomEdge
- type RoomPrivacyFilter
- type RoomStory
- type RoomStoryAbuseType
- type RoomStoryConnection
- type RoomStoryEdge
- type RoomStoryNote
- type RoomType
- type RoomTypeFilter
- type RoomTypeV2
- type RoomUser
- type SandsJobPostStatus
- type Search
- type SegmentationType
- type SemSearchV2Profile
- type SemSearchV2Response
- type Skill
- type Snapshot
- type SnapshotMinute
- type SnapshotMinutes
- type SortOrder
- type SourceType
- type SourceTypeInput
- type Staff
- type StaffUser
- type StaffsConnection
- type StaffsConnectionEdge
- type StipendContractTerm
- type StipendTerms
- type String
- type StringMapElement
- type StringMapOccupation
- type Submission
- type SubmissionAttachmentDetails
- type SubmissionEvent
- type SubmissionMessage
- type SubmitContractMilestoneResponse
- type SuspensionMetadata
- type TalentAdjustedCategoryScore
- type TalentCloudSection
- type TalentCloudTask
- type TalentCloudTaskOverview
- type TalentCloudTaskOverviewPermission
- type TalentCloudTaskPermission
- type TalentCloudTaskRole
- type TalentCloudTaskSection
- type TalentCloudTaskSectionType
- type TalentCommunityCertificate
- type TalentCommunityCertificateStatus
- type TalentCommunityCertificateVisibility
- type TalentContract
- type TalentContractAccessType
- type TalentContractAggregate
- type TalentContractFeedback
- type TalentContractStatus
- type TalentContractTerms
- type TalentDiversityCertificateClassification
- type TalentEducationRecord
- type TalentFeedbackScore
- type TalentJobCategory
- type TalentJobCategoryGroup
- type TalentJobType
- type TalentOpening
- type TalentOtherCommunityCertificate
- type TalentPersonAvailability
- type TalentProfile
- type TalentProfileAggregate
- type TalentProfileCommunityCertificate
- type TalentProfileCompletenessSummary
- type TalentProfileEmploymentRecord
- type TalentProfileIdentity
- type TalentProfileList
- type TalentProfileOtherExperience
- type TalentProfilePersonSkill
- type TalentProfilePersonalData
- type TalentProfileProject
- type TalentProfileProjectAttachment
- type TalentProfileProjectTag
- type TalentProfileSettings
- type TalentProfileSpecializedProject
- type TalentProfileStatus
- type TalentProfileUserPreferences
- type TalentProjectContractLink
- type TalentProjectList
- type TalentPurchasedInvitationBadge
- type TalentSkillNodeEdge
- type TalentSpecializedProfile
- type TalentSpecializedProfileSkill
- type TalentSpecializedProfileSkillNode
- type TalentSpecializedProfilesProject
- type TalentVegaJobDetails
- type TalentVegaJobOpening
- type TalentWorkAccessType
- type TalentWorkFeedback
- type TalentWorkHistory
- type TalentWorkHistoryConnection
- type TalentWorkHistorySortType
- type TimeReport
- type TimeReportConnection
- type TimeReportEdge
- type TimeZoneRecord
- type TransactionHistory
- type TransactionHistoryDetail
- type TransactionHistoryRow
- type TransactionJobPost
- type UpdateClientProposalResult
- type UpdateRoomStoryResponse
- type UpdateWorkflowTaskResult
- type User
- type UserFreelancerProfilesSearchRecord
- type UserIdsByEmailRecordEdge
- type UserIdsByEmailRecordNode
- type UserIdsByEmailResponse
- type UserLocation
- type UserPermissionAccess
- type UserPermissionEdge
- type UserPermissionNode
- type UserPermissions
- type UserPreferredLocationType
- type VendorInvitation
- type VendorInvitationAcceptanceContext
- type VendorInvitationAcceptanceDetails
- type VendorInvitationActor
- type VendorInvitationAnnotations
- type VendorInvitationAuditDetails
- type VendorInvitationChangeReason
- type VendorInvitationConnection
- type VendorInvitationContext
- type VendorInvitationEdge
- type VendorInvitationParticipant
- type VendorInvitationSearchAnnotation
- type VendorInvitationStatus
- type VendorInvitationStatusDetails
- type VendorInvitationStatusFilter
- type VendorInvitationTerminationReasonFilter
- type VendorProposal
- type VendorProposalAnnotation
- type VendorProposalSortAttributeType
- type VendorProposalStatus
- type VendorProposalStatusFilterInput
- type VendorProposalStatusName
- type VendorProposalsConnection
- type VendorProposalsEdge
- type Visitor
- type VisitorI18N
- type VisitorI18NSettings
- type VisitorSegment
- type WithdrawReason
- type WorkDay
- type WorkDiary
- type WorkDiaryCompany
- type WorkDiaryCompanyContract
- type WorkDiaryCompanySnapshot
- type WorkDiaryCompanySnapshotScreenshot
- type WorkDiaryCompanySnapshotScreenshotFlag
- type WorkDiaryCompanySnapshotTask
- type WorkDiaryCompanyTime
- type WorkDiaryCompanyUser
- type WorkDiaryContract
- type WorkDiaryMetadata
- type WorkDiaryTask
- type WorkDiaryTimeCell
- type WorkFlowStateStatus
- type WorkdayResult
- type WorkflowAssociationView
- type WorkflowOfferState
- type WorkflowOnboardingStatus
- type WorkflowTaskAssigneeView
- type WorkflowTaskComment
- type WorkflowTaskCommentAttachments
- type WorkflowTaskCustomAttribute
- type WorkflowTaskLabel
- type WorkflowTaskStatus
- type WorkflowTaskView
- type WorkflowView
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 ¶
func (x *AcceptVendorInvitationResponse) Scan(src any) error
Scan implements sql.Scanner for AcceptVendorInvitationResponse, decoding a JSON column value.
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.
type AccountProcessInstance ¶
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.
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.
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.
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.
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.
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.
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.
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.
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.
type Area ¶
type Area struct {
ID ID `json:"id"`
AreaType *AreaType `json:"areaType"`
Name *String `json:"name"`
}
Area represents a geographic area element.
type AuditTime ¶
type AuditTime struct {
CreatedDateTime *String `json:"createdDateTime"`
ModifiedDateTime *String `json:"modifiedDateTime"`
}
AuditTime contains creation and modification timestamps.
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.
type BidList ¶
type BidList struct {
Bids []*Bid `json:"bids"`
Limit *Int `json:"limit"`
Offset *Int `json:"offset"`
}
BidList represents a paginated collection of bids.
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.
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 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.
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.
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.
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.
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.
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.
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.
type ClientInvitationAcceptanceContext ¶
type ClientInvitationAcceptanceContext struct {
Organization GenericOrganization `json:"organization"`
Context *ClientInvitationContext `json:"context"`
AcceptedBy GenericUser `json:"acceptedBy"`
AcceptedDateTime String `json:"acceptedDateTime"`
}
func (*ClientInvitationAcceptanceContext) Scan ¶
func (x *ClientInvitationAcceptanceContext) Scan(src any) error
Scan implements sql.Scanner for ClientInvitationAcceptanceContext, decoding a JSON column value.
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 ¶
func (x *ClientInvitationAcceptanceDetails) Scan(src any) error
Scan implements sql.Scanner for ClientInvitationAcceptanceDetails, decoding a JSON column value.
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 ¶
func (x *ClientInvitationAdditionalInfo) Scan(src any) error
Scan implements sql.Scanner for ClientInvitationAdditionalInfo, decoding a JSON column value.
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.
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.
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.
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.
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 ¶
func (x *ClientInvitationStatusDetails) Scan(src any) error
Scan implements sql.Scanner for ClientInvitationStatusDetails, decoding a JSON column value.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 ¶
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.
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.
type ContractProposalCreateResponse ¶
type ContractProposalCreateResponse struct {
ID ID `json:"id"`
}
ContractProposalCreateResponse represents the response of creating a contract proposal.
func (*ContractProposalCreateResponse) Scan ¶
func (x *ContractProposalCreateResponse) Scan(src any) error
Scan implements sql.Scanner for ContractProposalCreateResponse, decoding a JSON column value.
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.
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.
type ContractProposalsOfferDetails ¶
type ContractProposalsOfferDetails struct {
Title *String `json:"title"`
}
ContractProposalsOfferDetails represents the offer details of a contract proposals list item.
func (*ContractProposalsOfferDetails) Scan ¶
func (x *ContractProposalsOfferDetails) Scan(src any) error
Scan implements sql.Scanner for ContractProposalsOfferDetails, decoding a JSON column value.
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.
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.
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.
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.
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.
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.
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.
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" 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.
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.
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.
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.
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.
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.
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.
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.
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 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 ¶
type DropdownAclType string
DropdownAclType represents access control type for dropdown options.
const ( DropdownAclTypeCompany DropdownAclType = "COMPANY" DropdownAclTypeTeam DropdownAclType = "TEAM" )
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.
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 ¶
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.
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.
type Feedback ¶
type Feedback struct {
ClientFeedback *ClientFeedback `json:"clientFeedback"`
FreelancerFeedback *FreelancerFeedback `json:"freelancerFeedback"`
}
Feedback represents client and freelancer feedback for a contract.
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.
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"`
}
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 ¶
func (x *FreelancerProfileAvailability) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileAvailability, decoding a JSON column value.
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.
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 ¶
func (x *FreelancerProfileCommittedResponseTime) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileCommittedResponseTime, decoding a JSON column value.
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 ¶
func (x *FreelancerProfileCompletenessSummary) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileCompletenessSummary, decoding a JSON column value.
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.
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 ¶
func (x *FreelancerProfileContractFeedback) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileContractFeedback, decoding a JSON column value.
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 ¶
func (x *FreelancerProfileContractFeedbackScore) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileContractFeedbackScore, decoding a JSON column value.
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 ¶
func (x *FreelancerProfileEducationRecord) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileEducationRecord, decoding a JSON column value.
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 ¶
func (x *FreelancerProfileEmploymentRecord) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileEmploymentRecord, decoding a JSON column value.
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 ¶
func (x *FreelancerProfileJobCategoriesConnection) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileJobCategoriesConnection, decoding a JSON column value.
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.
type FreelancerProfileJobCategoryEdge ¶
type FreelancerProfileJobCategoryEdge struct {
Node FreelancerProfileJobCategory `json:"node"`
}
FreelancerProfileJobCategoryEdge represents a job category connection edge.
func (*FreelancerProfileJobCategoryEdge) Scan ¶
func (x *FreelancerProfileJobCategoryEdge) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileJobCategoryEdge, decoding a JSON column value.
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.
type FreelancerProfileLanguageEdge ¶
type FreelancerProfileLanguageEdge struct {
Node FreelancerProfileLanguage `json:"node"`
}
FreelancerProfileLanguageEdge represents a language connection edge.
func (*FreelancerProfileLanguageEdge) Scan ¶
func (x *FreelancerProfileLanguageEdge) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileLanguageEdge, decoding a JSON column value.
type FreelancerProfileLanguagesConnection ¶
type FreelancerProfileLanguagesConnection struct {
Edges []*FreelancerProfileLanguageEdge `json:"edges"`
}
FreelancerProfileLanguagesConnection represents a connection to the freelancer languages list.
func (*FreelancerProfileLanguagesConnection) Scan ¶
func (x *FreelancerProfileLanguagesConnection) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileLanguagesConnection, decoding a JSON column value.
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 ¶
func (x *FreelancerProfileLinkedExternalAccounts) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileLinkedExternalAccounts, decoding a JSON column value.
type FreelancerProfileLinkedExternalAccountsConnection ¶
type FreelancerProfileLinkedExternalAccountsConnection struct {
Edges []*FreelancerProfileLinkedExternalAccountsEdge `json:"edges"`
}
FreelancerProfileLinkedExternalAccountsConnection represents a connection to the linked external accounts.
func (*FreelancerProfileLinkedExternalAccountsConnection) Scan ¶
func (x *FreelancerProfileLinkedExternalAccountsConnection) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileLinkedExternalAccountsConnection, decoding a JSON column value.
type FreelancerProfileLinkedExternalAccountsEdge ¶
type FreelancerProfileLinkedExternalAccountsEdge struct {
Node FreelancerProfileLinkedExternalAccounts `json:"node"`
}
FreelancerProfileLinkedExternalAccountsEdge represents a linked external accounts connection edge.
func (*FreelancerProfileLinkedExternalAccountsEdge) Scan ¶
func (x *FreelancerProfileLinkedExternalAccountsEdge) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileLinkedExternalAccountsEdge, decoding a JSON column value.
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 ¶
func (x *FreelancerProfileOtherExperience) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileOtherExperience, decoding a JSON column value.
type FreelancerProfileOtherExperienceEdge ¶
type FreelancerProfileOtherExperienceEdge struct {
Node FreelancerProfileOtherExperience `json:"node"`
Cursor String `json:"cursor"`
}
FreelancerProfileOtherExperienceEdge represents an other experience connection edge.
func (*FreelancerProfileOtherExperienceEdge) Scan ¶
func (x *FreelancerProfileOtherExperienceEdge) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileOtherExperienceEdge, decoding a JSON column value.
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 ¶
func (x *FreelancerProfileOtherExperiencesConnection) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileOtherExperiencesConnection, decoding a JSON column value.
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 ¶
func (x *FreelancerProfilePersonalData) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfilePersonalData, decoding a JSON column value.
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.
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 ¶
func (x *FreelancerProfileProjectAttachment) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileProjectAttachment, decoding a JSON column value.
type FreelancerProfileProjectContractLink ¶
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 ¶
func (x *FreelancerProfileProjectContractLink) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileProjectContractLink, decoding a JSON column value.
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.
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 ¶
func (x *FreelancerProfileUserPreferences) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileUserPreferences, decoding a JSON column value.
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 ¶
func (x *FreelancerProfileVerifications) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfileVerifications, decoding a JSON column value.
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 ¶
func (x *FreelancerProfilesSearchRecord) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfilesSearchRecord, decoding a JSON column value.
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 ¶
func (x *FreelancerProfilesSearchRecordsConnection) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfilesSearchRecordsConnection, decoding a JSON column value.
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 ¶
func (x *FreelancerProfilesSearchResultEdge) Scan(src any) error
Scan implements sql.Scanner for FreelancerProfilesSearchResultEdge, decoding a JSON column value.
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 ¶
func (x *FreelancerSearchResultContractFeedbackSummary) Scan(src any) error
Scan implements sql.Scanner for FreelancerSearchResultContractFeedbackSummary, decoding a JSON column value.
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 ¶
func (x *FreelancerSearchResultContractSummary) Scan(src any) error
Scan implements sql.Scanner for FreelancerSearchResultContractSummary, decoding a JSON column value.
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 ¶
func (x *FreelancerSearchResultLocation) Scan(src any) error
Scan implements sql.Scanner for FreelancerSearchResultLocation, decoding a JSON column value.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
type I18nSettingsStatus ¶
type I18nSettingsStatus string
I18nSettingsStatus represents i18n eligibility status.
const ( I18nSettingsStatusEligible I18nSettingsStatus = "ELIGIBLE" I18nSettingsStatusNonEligible I18nSettingsStatus = "NON_ELIGIBLE" )
type InvitationPortfolio ¶
func (*InvitationPortfolio) Scan ¶
func (x *InvitationPortfolio) Scan(src any) error
Scan implements sql.Scanner for InvitationPortfolio, decoding a JSON column value.
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.
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" 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" 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.
type InviteToTeamSucceededResponse ¶
InviteToTeamSucceededResponse represents a success response for invite to team.
func (*InviteToTeamSucceededResponse) Scan ¶
func (x *InviteToTeamSucceededResponse) Scan(src any) error
Scan implements sql.Scanner for InviteToTeamSucceededResponse, decoding a JSON column value.
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.
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.
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.
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 ¶
func (x *JobPostDirectUploadLinkResponse) Scan(src any) error
Scan implements sql.Scanner for JobPostDirectUploadLinkResponse, decoding a JSON column value.
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.
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.
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.
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.
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.
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.
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.
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.
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 ¶
func (x *JobPostingContractorSelection) Scan(src any) error
Scan implements sql.Scanner for JobPostingContractorSelection, decoding a JSON column value.
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.
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.
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.
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.
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.
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 ¶
func (x *JobPostingProposalRequirements) Scan(src any) error
Scan implements sql.Scanner for JobPostingProposalRequirements, decoding a JSON column value.
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.
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.
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.
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.
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.
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.
type JobProposalsPersonNameCombined ¶
type JobProposalsPersonNameCombined struct {
FirstName *String `json:"firstName"`
LastName *String `json:"lastName"`
}
JobProposalsPersonNameCombined represents a job proposal's person name.
func (*JobProposalsPersonNameCombined) Scan ¶
func (x *JobProposalsPersonNameCombined) Scan(src any) error
Scan implements sql.Scanner for JobProposalsPersonNameCombined, decoding a JSON column value.
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.
type JobType ¶
type JobType string
JobType represents engagement payment type associated with a contract.
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.
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 ManualReviewStatus ¶
type ManualReviewStatus string
ManualReviewStatus represents status of manual review for job postings.
const ( ManualReviewStatusApproved ManualReviewStatus = "APPROVED" ManualReviewStatusCancelled ManualReviewStatus = "CANCELLED" )
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.
type MarketplaceAdditionalSearchInfo ¶
type MarketplaceAdditionalSearchInfo struct {
HighlightTitle *String `json:"highlightTitle"`
}
MarketplaceAdditionalSearchInfo represents additional search info for marketplace results.
func (*MarketplaceAdditionalSearchInfo) Scan ¶
func (x *MarketplaceAdditionalSearchInfo) Scan(src any) error
Scan implements sql.Scanner for MarketplaceAdditionalSearchInfo, decoding a JSON column value.
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.
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 ¶
func (x *MarketplaceContractorSelection) Scan(src any) error
Scan implements sql.Scanner for MarketplaceContractorSelection, decoding a JSON column value.
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.
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.
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 ¶
func (x *MarketplaceJobPostingSearchClientInfo) Scan(src any) error
Scan implements sql.Scanner for MarketplaceJobPostingSearchClientInfo, decoding a JSON column value.
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 ¶
func (x *MarketplaceJobPostingSearchConnection) Scan(src any) error
Scan implements sql.Scanner for MarketplaceJobPostingSearchConnection, decoding a JSON column value.
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 ¶
func (x *MarketplaceJobPostingSearchOccupation) Scan(src any) error
Scan implements sql.Scanner for MarketplaceJobPostingSearchOccupation, decoding a JSON column value.
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 ¶
func (x *MarketplaceJobPostingSearchOccupations) Scan(src any) error
Scan implements sql.Scanner for MarketplaceJobPostingSearchOccupations, decoding a JSON column value.
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 ¶
func (x *MarketplaceJobPostingSearchRelevance) Scan(src any) error
Scan implements sql.Scanner for MarketplaceJobPostingSearchRelevance, decoding a JSON column value.
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 ¶
func (x *MarketplaceJobPostingSearchResult) Scan(src any) error
Scan implements sql.Scanner for MarketplaceJobPostingSearchResult, decoding a JSON column value.
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 ¶
func (x *MarketplaceJobPostingSearchSkill) Scan(src any) error
Scan implements sql.Scanner for MarketplaceJobPostingSearchSkill, decoding a JSON column value.
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 ¶
func (x *MarketplaceJobPostingsContents) Scan(src any) error
Scan implements sql.Scanner for MarketplaceJobPostingsContents, decoding a JSON column value.
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 ¶
func (x *MarketplaceJobpostingSearchEdge) Scan(src any) error
Scan implements sql.Scanner for MarketplaceJobpostingSearchEdge, decoding a JSON column value.
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.
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 ¶
func (x *MarketplacePostingActivityStat) Scan(src any) error
Scan implements sql.Scanner for MarketplacePostingActivityStat, decoding a JSON column value.
type MarketplacePostingAnnotations ¶
type MarketplacePostingAnnotations struct {
Tags []*String `json:"tags"`
CustomFields []*StringMapElement `json:"customFields"`
}
MarketplacePostingAnnotations represents annotations for a marketplace job posting.
func (*MarketplacePostingAnnotations) Scan ¶
func (x *MarketplacePostingAnnotations) Scan(src any) error
Scan implements sql.Scanner for MarketplacePostingAnnotations, decoding a JSON column value.
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.
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 ¶
func (x *MarketplacePostingClassification) Scan(src any) error
Scan implements sql.Scanner for MarketplacePostingClassification, decoding a JSON column value.
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.
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 ¶
func (x *MarketplacePostingWorkFlowState) Scan(src any) error
Scan implements sql.Scanner for MarketplacePostingWorkFlowState, decoding a JSON column value.
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 ¶
func (x *MarketplaceProposalRequirements) Scan(src any) error
Scan implements sql.Scanner for MarketplaceProposalRequirements, decoding a JSON column value.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
type OfferWorkType ¶
type OfferWorkType string
OfferWorkType represents work type for offer.
const ( OfferWorkTypeRemote OfferWorkType = "REMOTE" OfferWorkTypePermanent OfferWorkType = "PERMANENT" )
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.
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.
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.
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.
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.
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.
type OrgLegacyType ¶
type OrgLegacyType string
OrgLegacyType represents legacy organization type for filtering.
const ( OrgLegacyTypeClient OrgLegacyType = "Client" OrgLegacyTypeVendor OrgLegacyType = "Vendor" )
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.
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 ¶
Page represents pagination metadata.
type PageInfo ¶
type PageInfo struct {
EndCursor *String `json:"endCursor"`
HasNextPage *Boolean `json:"hasNextPage"`
}
PageInfo contains pagination information for connection types.
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.
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.
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.
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.
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 ¶
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.
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.
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.
type PreferredGroup ¶
type PreferredGroup struct {
ID ID `json:"id"`
Name *String `json:"name"`
Logo *String `json:"logo"`
}
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.
type PreferredTest ¶
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.
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.
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.
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.
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.
type ProcessAddResponse ¶
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.
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.
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.
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 ¶
func (x *ProfileActivityMetricAvailability) Scan(src any) error
Scan implements sql.Scanner for ProfileActivityMetricAvailability, decoding a JSON column value.
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.
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.
type ProfileActivityMetricsAvailability ¶
type ProfileActivityMetricsAvailability struct {
Metrics []*ProfileActivityMetricAvailability `json:"metrics"`
}
ProfileActivityMetricsAvailability represents the response for available profile activity metrics.
func (*ProfileActivityMetricsAvailability) Scan ¶
func (x *ProfileActivityMetricsAvailability) Scan(src any) error
Scan implements sql.Scanner for ProfileActivityMetricsAvailability, decoding a JSON column value.
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 ¶
func (x *ProfileActivityMetricsLastUpdated) Scan(src any) error
Scan implements sql.Scanner for ProfileActivityMetricsLastUpdated, decoding a JSON column value.
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.
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.
type ProposalEngagementDuration ¶
func (*ProposalEngagementDuration) Scan ¶
func (x *ProposalEngagementDuration) Scan(src any) error
Scan implements sql.Scanner for ProposalEngagementDuration, decoding a JSON column value.
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.
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.
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.
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.
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.
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.
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.
type PtcData ¶
PtcData represents period dates for protected time calculation.
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.
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 ¶
func (x *PublicMarketplaceJobPostingSearchFacets) Scan(src any) error
Scan implements sql.Scanner for PublicMarketplaceJobPostingSearchFacets, decoding a JSON column value.
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 ¶
func (x *PublicMarketplaceJobPostingSearchOccupation) Scan(src any) error
Scan implements sql.Scanner for PublicMarketplaceJobPostingSearchOccupation, decoding a JSON column value.
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 ¶
func (x *PublicMarketplaceJobPostingSearchOccupations) Scan(src any) error
Scan implements sql.Scanner for PublicMarketplaceJobPostingSearchOccupations, decoding a JSON column value.
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 ¶
func (x *PublicMarketplaceJobPostingSearchOntologySkill) Scan(src any) error
Scan implements sql.Scanner for PublicMarketplaceJobPostingSearchOntologySkill, decoding a JSON column value.
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 ¶
func (x *PublicMarketplaceJobPostingSearchSkill) Scan(src any) error
Scan implements sql.Scanner for PublicMarketplaceJobPostingSearchSkill, decoding a JSON column value.
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 ¶
func (x *PublicMarketplaceJobPostingsSearch) Scan(src any) error
Scan implements sql.Scanner for PublicMarketplaceJobPostingsSearch, decoding a JSON column value.
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 ¶
func (x *PublicMarketplaceJobPostingsSearchClient) Scan(src any) error
Scan implements sql.Scanner for PublicMarketplaceJobPostingsSearchClient, decoding a JSON column value.
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 ¶
func (x *PublicMarketplaceJobPostingsSearchConnection) Scan(src any) error
Scan implements sql.Scanner for PublicMarketplaceJobPostingsSearchConnection, decoding a JSON column value.
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 ¶
func (x *PublicMarketplaceJobPostingsSearchEngagementDuration) Scan(src any) error
Scan implements sql.Scanner for PublicMarketplaceJobPostingsSearchEngagementDuration, decoding a JSON column value.
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.
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.
type Region ¶
type Region struct {
ID ID `json:"id"`
Name String `json:"name"`
ParentRegion *Region `json:"parentRegion"`
}
Region represents a geographic region.
type RequestMetadata ¶
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.
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.
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.
type RoomEdge ¶
type RoomEdge struct {
Node *Room `json:"node"`
}
RoomEdge represents an edge type containing a room node for pagination.
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.
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.
type RoomStoryEdge ¶
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.
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.
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 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.
type SandsJobPostStatus ¶
type SandsJobPostStatus string
SandsJobPostStatus represents status of a Sands job post.
const ( SandsJobPostStatusDraft SandsJobPostStatus = "DRAFT" SandsJobPostStatusPublished SandsJobPostStatus = "PUBLISHED" )
type Search ¶
type Search struct {
}
Search represents a search result.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
type StringMapElement ¶
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.
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.
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.
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.
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.
type SubmitContractMilestoneResponse ¶
type SubmitContractMilestoneResponse struct {
SubmissionId ID `json:"submissionId"`
}
SubmitContractMilestoneResponse represents the response of submitting a contract milestone.
func (*SubmitContractMilestoneResponse) Scan ¶
func (x *SubmitContractMilestoneResponse) Scan(src any) error
Scan implements sql.Scanner for SubmitContractMilestoneResponse, decoding a JSON column value.
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.
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.
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.
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.
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.
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 ¶
func (x *TalentCloudTaskOverviewPermission) Scan(src any) error
Scan implements sql.Scanner for TalentCloudTaskOverviewPermission, decoding a JSON column value.
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.
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.
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.
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.
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.
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.
type TalentDiversityCertificateClassification ¶
type TalentDiversityCertificateClassification struct {
ID *String `json:"id"`
Name *String `json:"name"`
}
TalentDiversityCertificateClassification represents a diversity certificate classification type.
func (*TalentDiversityCertificateClassification) Scan ¶
func (x *TalentDiversityCertificateClassification) Scan(src any) error
Scan implements sql.Scanner for TalentDiversityCertificateClassification, decoding a JSON column value.
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.
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.
type TalentJobCategory ¶
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.
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.
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.
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 ¶
func (x *TalentOtherCommunityCertificate) Scan(src any) error
Scan implements sql.Scanner for TalentOtherCommunityCertificate, decoding a JSON column value.
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.
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.
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.
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 ¶
func (x *TalentProfileCommunityCertificate) Scan(src any) error
Scan implements sql.Scanner for TalentProfileCommunityCertificate, decoding a JSON column value.
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 ¶
func (x *TalentProfileCompletenessSummary) Scan(src any) error
Scan implements sql.Scanner for TalentProfileCompletenessSummary, decoding a JSON column value.
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 ¶
func (x *TalentProfileEmploymentRecord) Scan(src any) error
Scan implements sql.Scanner for TalentProfileEmploymentRecord, decoding a JSON column value.
type TalentProfileIdentity ¶
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.
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.
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.
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.
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.
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.
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 ¶
func (x *TalentProfileProjectAttachment) Scan(src any) error
Scan implements sql.Scanner for TalentProfileProjectAttachment, decoding a JSON column value.
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.
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.
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 ¶
func (x *TalentProfileSpecializedProject) Scan(src any) error
Scan implements sql.Scanner for TalentProfileSpecializedProject, decoding a JSON column value.
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.
type TalentProjectContractLink ¶
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.
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.
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 ¶
func (x *TalentPurchasedInvitationBadge) Scan(src any) error
Scan implements sql.Scanner for TalentPurchasedInvitationBadge, decoding a JSON column value.
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.
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.
type TalentSpecializedProfileSkill ¶
type TalentSpecializedProfileSkill struct {
Skills []*TalentSpecializedProfileSkillNode `json:"skills"`
}
TalentSpecializedProfileSkill represents skills for a specialized profile.
func (*TalentSpecializedProfileSkill) Scan ¶
func (x *TalentSpecializedProfileSkill) Scan(src any) error
Scan implements sql.Scanner for TalentSpecializedProfileSkill, decoding a JSON column value.
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 ¶
func (x *TalentSpecializedProfileSkillNode) Scan(src any) error
Scan implements sql.Scanner for TalentSpecializedProfileSkillNode, decoding a JSON column value.
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 ¶
func (x *TalentSpecializedProfilesProject) Scan(src any) error
Scan implements sql.Scanner for TalentSpecializedProfilesProject, decoding a JSON column value.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
type TransactionJobPost ¶
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.
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.
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.
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.
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 ¶
func (x *UserFreelancerProfilesSearchRecord) Scan(src any) error
Scan implements sql.Scanner for UserFreelancerProfilesSearchRecord, decoding a JSON column value.
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.
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.
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.
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.
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.
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.
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.
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.
type VendorInvitationAcceptanceContext ¶
type VendorInvitationAcceptanceContext struct {
Organization GenericOrganization `json:"organization"`
Context *VendorInvitationContext `json:"context"`
AcceptedBy GenericUser `json:"acceptedBy"`
AcceptedDateTime String `json:"acceptedDateTime"`
}
func (*VendorInvitationAcceptanceContext) Scan ¶
func (x *VendorInvitationAcceptanceContext) Scan(src any) error
Scan implements sql.Scanner for VendorInvitationAcceptanceContext, decoding a JSON column value.
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 ¶
func (x *VendorInvitationAcceptanceDetails) Scan(src any) error
Scan implements sql.Scanner for VendorInvitationAcceptanceDetails, decoding a JSON column value.
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.
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.
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.
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.
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.
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 ¶
func (x *VendorInvitationStatusDetails) Scan(src any) error
Scan implements sql.Scanner for VendorInvitationStatusDetails, decoding a JSON column value.
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.
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.
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.
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.
type Visitor ¶
type Visitor struct {
}
Visitor represents anonymous visitor data and segmentation information.
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.
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.
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.
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 ¶
WorkDay represents a single work day with associated work diary data.
type WorkDiary ¶
type WorkDiary struct {
Cells []*Cell `json:"cells"`
}
WorkDiary represents a work diary containing time tracking cells for a work day.
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.
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.
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.
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 ¶
func (x *WorkDiaryCompanySnapshotScreenshot) Scan(src any) error
Scan implements sql.Scanner for WorkDiaryCompanySnapshotScreenshot, decoding a JSON column value.
type WorkDiaryCompanySnapshotScreenshotFlag ¶
type WorkDiaryCompanySnapshotScreenshotFlag struct {
HideScreenshot *Boolean `json:"hideScreenshot"`
DownSampleScreenshots *Boolean `json:"downSampleScreenshots"`
}
WorkDiaryCompanySnapshotScreenshotFlag represents flags controlling screenshot display behavior.
func (*WorkDiaryCompanySnapshotScreenshotFlag) Scan ¶
func (x *WorkDiaryCompanySnapshotScreenshotFlag) Scan(src any) error
Scan implements sql.Scanner for WorkDiaryCompanySnapshotScreenshotFlag, decoding a JSON column value.
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.
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.
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.
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.
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.
type WorkDiaryTask ¶
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.
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.
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.
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.
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.
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.
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 ¶
func (x *WorkflowTaskCommentAttachments) Scan(src any) error
Scan implements sql.Scanner for WorkflowTaskCommentAttachments, decoding a JSON column value.
type WorkflowTaskCustomAttribute ¶
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.
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.