/** * Auto-generated operation methods from Upwork GraphQL API * Generated on: 2026-01-20T11:50:37.004Z */ import { UpworkGraphQLClient } from "../lib/graphql-client"; import * as Types from "./generated-types"; export declare const queries: { /** * jobPosting * @param variables - Operation variables * @param variables.jobPostingId - Job posting identifier * @param variables.loadAnnotation - Include annotations * @returns Types.JobPosting */ jobPosting: (client: UpworkGraphQLClient, variables: { jobPostingId: string; loadAnnotation?: boolean; }) => Promise; /** * marketplaceJobPosting * @param variables - Operation variables * @param variables.id - Job posting identifier * @returns Types.MarketplaceJobPosting | null */ marketplaceJobPosting: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * marketplaceJobPostings * @param variables - Operation variables * @param variables.marketPlaceJobFilter - Filter to search job postings * @param variables.searchType - Search type context * @param variables.sortAttributes - Sort attributes * @returns Types.MarketplaceJobPostingSearchConnection | null */ marketplaceJobPostings: (client: UpworkGraphQLClient, variables?: { marketPlaceJobFilter?: Types.MarketplaceJobFilter; searchType?: Types.MarketplaceJobPostingSearchType; sortAttributes?: Array; }) => Promise; /** * marketplaceJobPostingsContents * @param variables - Operation variables * @param variables.ids - Job posting identifiers * @returns Array */ marketplaceJobPostingsContents: (client: UpworkGraphQLClient, variables: { ids: Array; }) => Promise>; /** * countries * @returns Array */ countries: (client: UpworkGraphQLClient, variables?: Record) => Promise>; /** * languages * @returns Array */ languages: (client: UpworkGraphQLClient, variables?: Record) => Promise>; /** * reasons * @param variables - Operation variables * @param variables.reasonType - Reason category type * @param variables.all - Return all reasons (ignore visibility filters) * @returns Array */ reasons: (client: UpworkGraphQLClient, variables: { reasonType: Types.ReasonType; all?: boolean; }) => Promise>; /** * regions * @returns Array */ regions: (client: UpworkGraphQLClient, variables?: Record) => Promise>; /** * requestMetadata * @returns Types.RequestMetadata */ requestMetadata: (client: UpworkGraphQLClient, variables?: Record) => Promise; /** * timeZones * @returns Array */ timeZones: (client: UpworkGraphQLClient, variables?: Record) => Promise>; /** * visitor * @returns Types.Visitor | null */ visitor: (client: UpworkGraphQLClient, variables?: Record) => Promise; /** * contract * @param variables - Operation variables * @param variables.id - Contract identifier * @returns Types.Contract | null */ contract: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * contractByTerm * @param variables - Operation variables * @param variables.termId - Contract term ID, legacy contract assignment RID * @param variables.date - Date in ISO format yyyy-MM-ddThh:mm+HHmm or yyyy-MM-dd * @returns Types.ContractDetails */ contractByTerm: (client: UpworkGraphQLClient, variables: { termId: string; date?: string; }) => Promise; /** * contractDetails * @param variables - Operation variables * @param variables.id - Contract ID, legacy virtual rollup ID * @param variables.date - Returns only active terms on the given date. Date in ISO format yyyy-MM-ddThh:mm+HHmm or yyyy-MM-dd * @returns Types.ContractDetails */ contractDetails: (client: UpworkGraphQLClient, variables: { id: string; date?: string; }) => Promise; /** * contractList * @param variables - Operation variables * @param variables.ids - List of contract IDs. Max size is 10 * @returns Types.ContractList | null */ contractList: (client: UpworkGraphQLClient, variables: { ids: Array; }) => Promise; /** * contractProposal * @param variables - Operation variables * @param variables.id - Contract proposal identifier * @returns Types.ContractProposal | null */ contractProposal: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * contractTerm * @param variables - Operation variables * @param variables.termId - Contract term ID, legacy contract assignment RID * @returns Types.ContractDetails */ contractTerm: (client: UpworkGraphQLClient, variables: { termId: string; }) => Promise; /** * customFields * @param variables - Operation variables * @param variables.input - Filters for custom fields retrieval * @param variables.offset - Pagination offset * @param variables.limit - Pagination limit * @returns Array */ customFields: (client: UpworkGraphQLClient, variables: { input: Types.CustomFieldsInput; offset?: number; limit?: number; }) => Promise>; /** * offer * @param variables - Operation variables * @param variables.id - Offer identifier * @returns Types.Offer | null */ offer: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * offersByAttribute * @param variables - Operation variables * @param variables.filter - Contains data for searching * @returns Types.OfferList | null */ offersByAttribute: (client: UpworkGraphQLClient, variables: { filter: Types.SearchOffersInput; }) => Promise; /** * offersByAttributes * @param variables - Operation variables * @param variables.filter - Search criteria by attribute IDs * @returns Types.ModernizedContractOfferList | null */ offersByAttributes: (client: UpworkGraphQLClient, variables: { filter: Types.SearchOffersByAttributesInput; }) => Promise; /** * vendorContracts * @param variables - Operation variables * @param variables.filter - Vendor contract search filter * @param variables.options - Contract options * @param variables.paging - Paging input * @returns Types.ContractSearchResults | null */ vendorContracts: (client: UpworkGraphQLClient, variables: { filter: Types.VendorContractSearchFilter; options?: Types.ContractOptionsInput; paging?: Types.ContractPagingInput; }) => Promise; /** * ontologyCategories * @returns Array */ ontologyCategories: (client: UpworkGraphQLClient, variables?: Record) => Promise>; /** * ontologyElementsSearchByPrefLabel * @param variables - Operation variables * @param variables.filter - Search filter for prefLabel * @returns Array */ ontologyElementsSearchByPrefLabel: (client: UpworkGraphQLClient, variables?: { filter?: Types.OntologyElementsSearchByPrefLabelFilter; }) => Promise>; /** * ontologyEntities * @param variables - Operation variables * @param variables.ids - List of ontology entity identifiers * @returns Array */ ontologyEntities: (client: UpworkGraphQLClient, variables: { ids: Array; }) => Promise>; /** * ontologyEntitiesFiltered * @param variables - Operation variables * @param variables.ontologyEntityFilter - Ontology entity filter criteria * @param variables.pagination - Pagination options * @returns Types.OntologyConnection | null */ ontologyEntitiesFiltered: (client: UpworkGraphQLClient, variables?: { ontologyEntityFilter?: Types.OntologyEntityFilter; pagination?: Types.Pagination; }) => Promise; /** * ontologyEntity * @param variables - Operation variables * @param variables.id - Ontology entity identifier * @returns Types.OntologyEntityResult | null */ ontologyEntity: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * ontologyEntitySearchRecords * @param variables - Operation variables * @param variables.filter - Ontology entity search filter * @returns Array */ ontologyEntitySearchRecords: (client: UpworkGraphQLClient, variables: { filter: Types.OntologyEntitySearchFilter; }) => Promise>; /** * ontologyOccupationsCategoriesServices * @param variables - Operation variables * @param variables.categoryUids - List of category identifiers * @returns Types.CategoryServicesResponse | null */ ontologyOccupationsCategoriesServices: (client: UpworkGraphQLClient, variables: { categoryUids: Array; }) => Promise; /** * ontologySkills * @param variables - Operation variables * @param variables.limit - Maximum number of skills to return * @param variables.offset - Number of skills to skip * @returns Array */ ontologySkills: (client: UpworkGraphQLClient, variables: { limit: number; offset?: number; }) => Promise>; /** * proposalMetadata * @returns Types.ProposalMetadata | null */ proposalMetadata: (client: UpworkGraphQLClient, variables?: Record) => Promise; /** * vendorProposal * @param variables - Operation variables * @param variables.id - ID of the vendor proposal * @returns Types.VendorProposal | null */ vendorProposal: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * vendorProposals * @param variables - Operation variables * @param variables.filter - Filter for vendor proposals * @param variables.sortAttribute - Sort attribute * @param variables.pagination - Pagination options * @returns Types.VendorProposalsConnection */ vendorProposals: (client: UpworkGraphQLClient, variables: { filter: Types.VendorProposalFilter; sortAttribute: Types.VendorProposalSortAttribute; pagination: Types.Pagination; }) => Promise; /** * clientProposal * @param variables - Operation variables * @param variables.id - ID of the client proposal * @returns Types.ClientProposal | null */ clientProposal: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * clientProposals * @param variables - Operation variables * @param variables.jobPostingId - Job posting identifier * @param variables.filter - Filter for client proposals * @param variables.sortAttribute - Sort attribute * @param variables.pagination - Pagination options * @returns Types.ClientProposalsConnection | null */ clientProposals: (client: UpworkGraphQLClient, variables: { jobPostingId: string; filter?: Types.ClientProposalFilter; sortAttribute?: Types.ClientProposalSortAttribute; pagination?: Types.Pagination; }) => Promise; /** * contractTimeReport * @param variables - Operation variables * @param variables.filter - Filter by organization, time range and optional contracts * @param variables.pagination - Pagination options * @returns Types.TimeReportConnection */ contractTimeReport: (client: UpworkGraphQLClient, variables?: { filter?: Types.TimeReportFilter; pagination?: Types.Pagination; }) => Promise; /** * timeReport * @param variables - Operation variables * @param variables.filter - Time report filter * @returns Array */ timeReport: (client: UpworkGraphQLClient, variables?: { filter?: Types.TimeReportFilter; }) => Promise>; /** * transactionHistory * @param variables - Operation variables * @param variables.transactionHistoryFilter - Transactions history filter * @returns Types.TransactionHistory | null */ transactionHistory: (client: UpworkGraphQLClient, variables?: { transactionHistoryFilter?: Types.TransactionHistoryFilter; }) => Promise; /** * freelancerProfileSearchRecords * @param variables - Operation variables * @param variables.searchFilter - Search filters for freelancer profiles * @param variables.pagination - Pagination options * @returns Types.FreelancerProfilesSearchRecordsConnection | null */ freelancerProfileSearchRecords: (client: UpworkGraphQLClient, variables: { searchFilter: Types.FreelancerProfileSearchFilter; pagination: Types.Pagination; }) => Promise; /** * marketplaceJobPostingsSearch * @param variables - Operation variables * @param variables.marketPlaceJobFilter - Filters to be applied to the search * @param variables.searchType - The appropriate search type * @param variables.sortAttributes - Sorting options for the search results * @returns Types.MarketplaceJobPostingSearchConnection | null */ marketplaceJobPostingsSearch: (client: UpworkGraphQLClient, variables?: { marketPlaceJobFilter?: Types.MarketplaceJobPostingsSearchFilter; searchType?: Types.MarketplaceJobPostingSearchType; sortAttributes?: Array; }) => Promise; /** * publicMarketplaceJobPostingsSearch * @param variables - Operation variables * @param variables.marketPlaceJobFilter - Filters to be applied to the search * @returns Types.PublicMarketplaceJobPostingsSearchConnection | null */ publicMarketplaceJobPostingsSearch: (client: UpworkGraphQLClient, variables: { marketPlaceJobFilter: Types.PublicMarketplaceJobPostingsSearchFilter; }) => Promise; /** * search * @returns Types.Search | null */ search: (client: UpworkGraphQLClient, variables?: Record) => Promise; /** * talentCloudTasks * @param variables - Operation variables * @param variables.filter - Filter for talent cloud tasks * @returns Array | null */ talentCloudTasks: (client: UpworkGraphQLClient, variables: { filter: Types.TalentCloudTasksInputFilter; }) => Promise | null>; /** * talentProfile * @param variables - Operation variables * @param variables.personId - User identifier * @param variables.primary - When true, load primary profile; when false, load specialized * @returns Types.TalentProfileList | null */ talentProfile: (client: UpworkGraphQLClient, variables: { personId: string; primary?: boolean; }) => Promise; /** * talentProfileByProfileKey * @param variables - Operation variables * @param variables.profileKey - Public profile key string * @returns Types.TalentProfile | null */ talentProfileByProfileKey: (client: UpworkGraphQLClient, variables: { profileKey: string; }) => Promise; /** * talentProfiles * @param variables - Operation variables * @param variables.personIds - List of user identifiers * @param variables.profileIds - Optional list of profile identifiers * @returns Types.TalentProfileList */ talentProfiles: (client: UpworkGraphQLClient, variables: { personIds: Array; profileIds?: Array; }) => Promise; /** * talentSpecializedProfile * @param variables - Operation variables * @param variables.personId - User identifier * @param variables.profileId - Specialized profile identifier * @returns Types.TalentProfileList | null */ talentSpecializedProfile: (client: UpworkGraphQLClient, variables: { personId: string; profileId: string; }) => Promise; /** * talentSpecializedProfiles * @param variables - Operation variables * @param variables.personIds - List of user identifiers * @param variables.profileIds - List of specialized profile identifiers * @returns Types.TalentProfileList | null */ talentSpecializedProfiles: (client: UpworkGraphQLClient, variables: { personIds: Array; profileIds: Array; }) => Promise; /** * talentWorkHistory * @param variables - Operation variables * @param variables.filter - Work history filter criteria * @returns Types.TalentWorkHistoryConnection | null */ talentWorkHistory: (client: UpworkGraphQLClient, variables?: { filter?: Types.TalentWorkHistoryFilterInput; }) => Promise; /** * company * @param variables - Operation variables * @param variables.id - Company identifier * @returns Types.CompanyInfo | null */ company: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * companySelector * @returns Types.CompanySelector */ companySelector: (client: UpworkGraphQLClient, variables?: Record) => Promise; /** * contractRoom * @param variables - Operation variables * @param variables.contractId - Contract identifier * @returns Types.Room | null */ contractRoom: (client: UpworkGraphQLClient, variables: { contractId: string; }) => Promise; /** * freelancerProfileByProfileKey * @param variables - Operation variables * @param variables.profileKey - Public profile key * @returns Types.FreelancerProfile */ freelancerProfileByProfileKey: (client: UpworkGraphQLClient, variables: { profileKey: string; }) => Promise; /** * freelancerVisibility * @param variables - Operation variables * @param variables.id - Freelancer user identifier * @returns Types.FreelancerVisibility | null */ freelancerVisibility: (client: UpworkGraphQLClient, variables?: { id?: string; }) => Promise; /** * offerRoom * @param variables - Operation variables * @param variables.offerId - Offer identifier * @returns Types.Room | null */ offerRoom: (client: UpworkGraphQLClient, variables: { offerId: string; }) => Promise; /** * oneOnOneRoom * @param variables - Operation variables * @param variables.userId - Target user identifier * @param variables.organizationId - Organization identifier * @returns Types.Room | null */ oneOnOneRoom: (client: UpworkGraphQLClient, variables: { userId: string; organizationId: string; }) => Promise; /** * organization * @returns Types.CurrentOrganization | null */ organization: (client: UpworkGraphQLClient, variables?: Record) => Promise; /** * proposalRoom * @param variables - Operation variables * @param variables.vendorProposalId - Vendor proposal identifier * @returns Types.Room */ proposalRoom: (client: UpworkGraphQLClient, variables: { vendorProposalId: string; }) => Promise; /** * publicRooms * @param variables - Operation variables * @param variables.pagination - Pagination options * @returns Types.RoomConnection */ publicRooms: (client: UpworkGraphQLClient, variables?: { pagination?: Types.Pagination; }) => Promise; /** * room * @param variables - Operation variables * @param variables.id - Room identifier * @returns Types.Room */ room: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * roomList * @param variables - Operation variables * @param variables.filter - Filter criteria * @param variables.pagination - Pagination options * @param variables.sortOrder - Sorting order * @returns Types.RoomConnection */ roomList: (client: UpworkGraphQLClient, variables?: { filter?: Types.RoomFilter; pagination?: Types.Pagination; sortOrder?: Types.SortOrder; }) => Promise; /** * roomStories * @param variables - Operation variables * @param variables.filter - Filter for room stories * @returns Types.RoomStoryConnection | null */ roomStories: (client: UpworkGraphQLClient, variables?: { filter?: Types.RoomStoryFilter; }) => Promise; /** * roomStory * @param variables - Operation variables * @param variables.roomId - Room identifier * @param variables.storyId - Story identifier * @returns Types.RoomStory | null */ roomStory: (client: UpworkGraphQLClient, variables: { roomId: string; storyId: string; }) => Promise; /** * snapshotsByContractId * @param variables - Operation variables * @param variables.input - Contract and timestamp parameters * @returns Array | null */ snapshotsByContractId: (client: UpworkGraphQLClient, variables: { input: Types.SnapshotsByContractIdInput; }) => Promise | null>; /** * user * @returns Types.CurrentUser | null */ user: (client: UpworkGraphQLClient, variables?: Record) => Promise; /** * workDays * @param variables - Operation variables * @param variables.workdaysInput - Contract list and date range * @returns Types.WorkdayResult | null */ workDays: (client: UpworkGraphQLClient, variables: { workdaysInput: Types.WorkdaysInput; }) => Promise; /** * workDiaryContract * @param variables - Operation variables * @param variables.workDiaryContractInput - Contract and date parameters * @returns Types.WorkDiaryContract | null */ workDiaryContract: (client: UpworkGraphQLClient, variables: { workDiaryContractInput: Types.WorkDiaryContractInput; }) => Promise; /** * accountAuditRecord * @param variables - Operation variables * @param variables.processInstanceId - Account management process identifier * @returns Types.AccountAuditRecord | null */ accountAuditRecord: (client: UpworkGraphQLClient, variables: { processInstanceId: string; }) => Promise; /** * staffsByPersonId * @param variables - Operation variables * @param variables.personId - Target person identifier * @param variables.status - Filter by staff status * @param variables.staffType - Filter by staff type * @param variables.affiliateContractor - Affiliate contractor flag * @param variables.hierarchy - Include organization hierarchy * @param variables.orgLegacyType - Legacy organization type * @param variables.orgType - Organization type * @param variables.hiddenOrg - Hidden organization flag * @param variables.activeOrg - Active organization flag * @param variables.eac - Enterprise account company flag * @param variables.pagination - Pagination options * @returns Types.StaffsConnection */ staffsByPersonId: (client: UpworkGraphQLClient, variables: { personId: string; status?: number; staffType?: string; affiliateContractor?: boolean; hierarchy?: boolean; orgLegacyType?: Types.OrgLegacyType; orgType?: Types.OrgType; hiddenOrg?: boolean; activeOrg?: boolean; eac?: boolean; pagination?: Types.Pagination; }) => Promise; /** * teamActivities * @param variables - Operation variables * @param variables.orgId - The org id where the team belongs to * @param variables.teamId - The team id where activities are being requested * @param variables.page - Pagination information * @param variables.filter - Filters to apply to the activity list * @returns Types.ActivitiesConnection */ teamActivities: (client: UpworkGraphQLClient, variables: { orgId: string; teamId?: string; page?: Types.PageFilterInput; filter?: Types.ActivityFilterInput; }) => Promise; /** * userDetails * @param variables - Operation variables * @param variables.id - The unique identifier of the user. * @returns Types.PiiUser */ userDetails: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * userIdsByEmail * @param variables - Operation variables * @param variables.email - Email address to search for * @returns Types.UserIdsByEmailResponse | null */ userIdsByEmail: (client: UpworkGraphQLClient, variables: { email: string; }) => Promise; /** * workDiaryCompany * @param variables - Operation variables * @param variables.workDiaryCompanyInput - Company and date parameters * @returns Types.WorkDiaryCompany | null */ workDiaryCompany: (client: UpworkGraphQLClient, variables: { workDiaryCompanyInput: Types.WorkDiaryCompanyInput; }) => Promise; /** * workflowView * @param variables - Operation variables * @param variables.entityType - Type of business entity (e.g., Offer) * @param variables.entityId - Entity identifier * @returns Types.WorkflowView | null */ workflowView: (client: UpworkGraphQLClient, variables: { entityType: string; entityId: string; }) => Promise; /** * accountingEntity * @returns Types.AccountingEntity */ accountingEntity: (client: UpworkGraphQLClient, variables?: Record) => Promise; }; export declare const mutations: { /** * createJobPosting * @param variables - Operation variables * @param variables.jobPostingRequest - Job posting creation request * @returns Types.JobPostingCreateResponse | null */ createJobPosting: (client: UpworkGraphQLClient, variables: { jobPostingRequest: Types.JobPostingCreateRequest; }) => Promise; /** * updateJobPosting * @param variables - Operation variables * @param variables.id - Job posting identifier * @param variables.jobPostingRequest - Job posting update request * @returns Types.JobPostingUpdateResponse | null */ updateJobPosting: (client: UpworkGraphQLClient, variables: { id: string; jobPostingRequest: Types.JobPostingUpdateRequest; }) => Promise; /** * endContractByFreelancer * @param variables - Operation variables * @param variables.contractId - Contract identifier * @param variables.input - Contract end payload * @returns Types.ContractActionResponse | null */ endContractByFreelancer: (client: UpworkGraphQLClient, variables: { contractId: string; input: Types.EndContractInput; }) => Promise; /** * withdrawOffer * @param variables - Operation variables * @param variables.input - Withdraw request payload * @returns boolean */ withdrawOffer: (client: UpworkGraphQLClient, variables: { input: Types.WithdrawOfferInput; }) => Promise; /** * activateMilestone * @param variables - Operation variables * @param variables.input - Milestone activation details * @returns Types.Milestone */ activateMilestone: (client: UpworkGraphQLClient, variables?: { input?: Types.ActivateMilestoneInput; }) => Promise; /** * approveMilestone * @param variables - Operation variables * @param variables.input - Milestone approval details * @returns Types.Milestone */ approveMilestone: (client: UpworkGraphQLClient, variables: { input: Types.ApproveMilestoneInput; }) => Promise; /** * createMilestoneV2 * @param variables - Operation variables * @param variables.input - Milestone creation details * @returns Types.Milestone | null */ createMilestoneV2: (client: UpworkGraphQLClient, variables: { input: Types.CreateMilestoneInput; }) => Promise; /** * createOffer * @param variables - Operation variables * @param variables.offerInput - Offer creation payload * @returns Types.OfferCreationResponse | null */ createOffer: (client: UpworkGraphQLClient, variables: { offerInput: Types.CreationOfferInput; }) => Promise; /** * deleteMilestone * @param variables - Operation variables * @param variables.input - Milestone deletion details * @returns boolean */ deleteMilestone: (client: UpworkGraphQLClient, variables?: { input?: Types.DeleteMilestoneInput; }) => Promise; /** * editMilestone * @param variables - Operation variables * @param variables.input - Milestone update details * @returns Types.Milestone */ editMilestone: (client: UpworkGraphQLClient, variables?: { input?: Types.EditMilestoneInput; }) => Promise; /** * endContractByClient * @param variables - Operation variables * @param variables.contractId - Contract identifier * @param variables.input - Contract end payload * @returns Types.ContractActionResponse | null */ endContractByClient: (client: UpworkGraphQLClient, variables: { contractId: string; input: Types.EndContractInput; }) => Promise; /** * pauseContract * @param variables - Operation variables * @param variables.contractId - Contract identifier * @param variables.message - Optional message to the counterparty * @returns Types.ContractActionResponse | null */ pauseContract: (client: UpworkGraphQLClient, variables: { contractId: string; message?: string; }) => Promise; /** * rejectSubmittedMilestone * @param variables - Operation variables * @param variables.input - Milestone rejection details * @returns Types.MilestoneRejectionResponse | null */ rejectSubmittedMilestone: (client: UpworkGraphQLClient, variables?: { input?: Types.RejectMilestoneSubmissionInput; }) => Promise; /** * restartContract * @param variables - Operation variables * @param variables.contractId - Contract identifier * @param variables.message - Optional message to the counterparty * @returns Types.ContractActionResponse | null */ restartContract: (client: UpworkGraphQLClient, variables: { contractId: string; message?: string; }) => Promise; /** * updateContractHourlyLimit * @param variables - Operation variables * @param variables.contractId - Contract Id * @param variables.updateHourlyLimitRequest - Update hourly limit request * @returns Types.ContractActionResponse | null */ updateContractHourlyLimit: (client: UpworkGraphQLClient, variables: { contractId: string; updateHourlyLimitRequest?: Types.UpdateHourlyLimitRequestInput; }) => Promise; /** * sendCustomPayment * @param variables - Operation variables * @param variables.input - Payment details * @returns Types.CustomPaymentResponse | null */ sendCustomPayment: (client: UpworkGraphQLClient, variables?: { input?: Types.CustomPaymentInput; }) => Promise; /** * confirmFiles * @param variables - Operation variables * @param variables.fileIds - List of file IDs to confirm * @param variables.skipMissing - Skip missing files without raising an error. Default = true * @returns boolean | null */ confirmFiles: (client: UpworkGraphQLClient, variables: { fileIds: Array; skipMissing?: boolean; }) => Promise; /** * createDirectUploadLinkForJAClientProposal * @param variables - Operation variables * @param variables.input - Upload input details * @returns Types.FileInfo */ createDirectUploadLinkForJAClientProposal: (client: UpworkGraphQLClient, variables: { input: Types.CreateDirectUploadLinkInput; }) => Promise; /** * declineClientProposal * @param variables - Operation variables * @param variables.clientProposalDeclineRequest - Client proposal decline request * @returns Types.UpdateClientProposalResult */ declineClientProposal: (client: UpworkGraphQLClient, variables?: { clientProposalDeclineRequest?: Types.ClientProposalDeclineRequest; }) => Promise; /** * hideClientProposal * @param variables - Operation variables * @param variables.clientProposalHideRequest - Client proposal hide request * @returns Types.UpdateClientProposalResult */ hideClientProposal: (client: UpworkGraphQLClient, variables: { clientProposalHideRequest: Types.ClientProposalHideRequest; }) => Promise; /** * markClientProposalAsRead * @param variables - Operation variables * @param variables.clientProposalReadRequest - Client proposal read request * @returns Types.UpdateClientProposalResult */ markClientProposalAsRead: (client: UpworkGraphQLClient, variables?: { clientProposalReadRequest?: Types.ClientProposalReadRequest; }) => Promise; /** * messageClientProposal * @param variables - Operation variables * @param variables.clientProposalMessageRequest - Client proposal message request * @returns Types.UpdateClientProposalResult */ messageClientProposal: (client: UpworkGraphQLClient, variables?: { clientProposalMessageRequest?: Types.ClientProposalMessageRequest; }) => Promise; /** * shortlistClientProposal * @param variables - Operation variables * @param variables.clientProposalShortlistRequest - Client proposal shortlist request * @returns Types.UpdateClientProposalResult */ shortlistClientProposal: (client: UpworkGraphQLClient, variables?: { clientProposalShortlistRequest?: Types.ClientProposalShortlistRequest; }) => Promise; /** * addFreelancerEmploymentRecord * @param variables - Operation variables * @param variables.input - Input data for creating employment record * @returns Types.FreelancerProfileEmploymentRecord | null */ addFreelancerEmploymentRecord: (client: UpworkGraphQLClient, variables: { input: Types.CreateEmploymentRecordInput; }) => Promise; /** * addFreelancerLanguage * @param variables - Operation variables * @param variables.input - Input data for creating language * @returns Types.FreelancerProfileLanguage | null */ addFreelancerLanguage: (client: UpworkGraphQLClient, variables: { input: Types.FreelancerLanguageInput; }) => Promise; /** * addFreelancerOtherExperience * @param variables - Operation variables * @param variables.input - Input data for creating other experience * @returns Types.FreelancerProfileOtherExperience | null */ addFreelancerOtherExperience: (client: UpworkGraphQLClient, variables: { input: Types.OtherExperienceInput; }) => Promise; /** * addTeamActivity * @param variables - Operation variables * @param variables.orgId - The org id where the team belongs to * @param variables.teamId - The team id where activity is being created * @param variables.request - Activity object that is going to be created * @returns Types.ProcessAddResponse | null */ addTeamActivity: (client: UpworkGraphQLClient, variables: { orgId: string; teamId?: string; request: Types.AddTeamActivityRequest; }) => Promise; /** * addUserToRoom * @param variables - Operation variables * @param variables.roomId - Room identifier * @param variables.roomUsers - List of users to add * @returns boolean */ addUserToRoom: (client: UpworkGraphQLClient, variables: { roomId: string; roomUsers: Array; }) => Promise; /** * archiveRoom * @param variables - Operation variables * @param variables.roomId - Room identifier * @returns Types.Room */ archiveRoom: (client: UpworkGraphQLClient, variables: { roomId: string; }) => Promise; /** * archiveTeamActivity * @param variables - Operation variables * @param variables.orgId - The org id where the team belongs to * @param variables.teamId - The team id where activity is being archived * @param variables.codes - List of activity codes to be archived * @returns Types.ProcessUpdateResponse | null */ archiveTeamActivity: (client: UpworkGraphQLClient, variables: { orgId: string; teamId?: string; codes: Array; }) => Promise; /** * assignTeamActivityToTheContract * @param variables - Operation variables * @param variables.orgId - The org id where the team belongs to * @param variables.teamId - The team id where activity is being assigned * @param variables.contractId - The contract id where activity is being assigned * @param variables.codes - List of activity codes to be assigned * @returns Types.ProcessUpdateResponse | null */ assignTeamActivityToTheContract: (client: UpworkGraphQLClient, variables: { orgId: string; teamId?: string; contractId: string; codes: Array; }) => Promise; /** * createOrganization * @param variables - Operation variables * @param variables.input - Input for creating organization request * @returns Types.AccountProcessInstance */ createOrganization: (client: UpworkGraphQLClient, variables: { input: Types.CreateOrganizationInput; }) => Promise; /** * createRoomStoryV2 * @param variables - Operation variables * @param variables.input - Story creation parameters * @returns Types.RoomStory */ createRoomStoryV2: (client: UpworkGraphQLClient, variables: { input: Types.RoomStoryCreateInputV2; }) => Promise; /** * createRoomV2 * @param variables - Operation variables * @param variables.input - Room creation parameters * @returns Types.Room */ createRoomV2: (client: UpworkGraphQLClient, variables: { input: Types.RoomCreateInputV2; }) => Promise; /** * inviteToTeam * @param variables - Operation variables * @param variables.invitations - Invitations payload * @returns Types.InviteToTeamResponse */ inviteToTeam: (client: UpworkGraphQLClient, variables: { invitations: Array; }) => Promise; /** * removeFreelancerEmploymentRecord * @param variables - Operation variables * @param variables.id - ID of the employment record to be deleted * @param variables.userId - User ID of the freelancer * @returns boolean | null */ removeFreelancerEmploymentRecord: (client: UpworkGraphQLClient, variables: { id: string; userId: string; }) => Promise; /** * removeFreelancerLanguage * @param variables - Operation variables * @param variables.userId - User ID of the freelancer * @param variables.iso639Code - ID of the language to be deleted * @returns boolean | null */ removeFreelancerLanguage: (client: UpworkGraphQLClient, variables: { userId: string; iso639Code: string; }) => Promise; /** * removeFreelancerOtherExperience * @param variables - Operation variables * @param variables.id - ID of the other experience to be deleted * @returns boolean | null */ removeFreelancerOtherExperience: (client: UpworkGraphQLClient, variables: { id: string; }) => Promise; /** * removeRoom * @param variables - Operation variables * @param variables.roomId - Room identifier * @returns string */ removeRoom: (client: UpworkGraphQLClient, variables: { roomId: string; }) => Promise; /** * removeRoomStory * @param variables - Operation variables * @param variables.roomId - Room identifier * @param variables.storyId - Story identifier * @returns string */ removeRoomStory: (client: UpworkGraphQLClient, variables: { roomId: string; storyId: string; }) => Promise; /** * removeUserFromRoom * @param variables - Operation variables * @param variables.roomId - Room identifier * @param variables.userId - User identifier * @param variables.orgId - Organization identifier * @returns boolean */ removeUserFromRoom: (client: UpworkGraphQLClient, variables: { roomId: string; userId: string; orgId: string; }) => Promise; /** * roomCreate1on1IfNotExists * @param variables - Operation variables * @param variables.userId - Target user identifier * @param variables.orgId - Organization identifier * @returns Types.Room */ roomCreate1on1IfNotExists: (client: UpworkGraphQLClient, variables: { userId: string; orgId: string; }) => Promise; /** * unarchiveTeamActivity * @param variables - Operation variables * @param variables.orgId - The org id where the team belongs to * @param variables.teamId - The team id where activity is being unarchived * @param variables.codes - List of activity codes to be unarchived * @returns Types.ProcessUpdateResponse | null */ unarchiveTeamActivity: (client: UpworkGraphQLClient, variables: { orgId: string; teamId?: string; codes: Array; }) => Promise; /** * updateFreelancerAvailability * @param variables - Operation variables * @param variables.input - Input data for updating availability * @returns Types.FreelancerProfileAvailability | null */ updateFreelancerAvailability: (client: UpworkGraphQLClient, variables: { input: Types.FreelancerProfileAvailabilityInput; }) => Promise; /** * updateFreelancerEmploymentRecord * @param variables - Operation variables * @param variables.input - Input data for updating employment record * @returns Types.FreelancerProfileEmploymentRecord | null */ updateFreelancerEmploymentRecord: (client: UpworkGraphQLClient, variables: { input: Types.UpdateEmploymentRecordInput; }) => Promise; /** * updateFreelancerOtherExperience * @param variables - Operation variables * @param variables.input - Input data for updating other experience * @returns Types.FreelancerProfileOtherExperience | null */ updateFreelancerOtherExperience: (client: UpworkGraphQLClient, variables: { input: Types.UpdateOtherExperienceInput; }) => Promise; /** * updateOrganization * @param variables - Operation variables * @param variables.input - Input for updating organization request * @returns Types.AccountProcessInstance */ updateOrganization: (client: UpworkGraphQLClient, variables: { input: Types.UpdateOrganizationInput; }) => Promise; /** * updateRoomStoryV2 * @param variables - Operation variables * @param variables.input - Story update parameters * @returns Types.UpdateRoomStoryResponse */ updateRoomStoryV2: (client: UpworkGraphQLClient, variables: { input: Types.RoomStoryUpdateInputV2; }) => Promise; /** * updateRoomV2 * @param variables - Operation variables * @param variables.input - Room update parameters * @returns Types.Room */ updateRoomV2: (client: UpworkGraphQLClient, variables?: { input?: Types.RoomUpdateInputV2; }) => Promise; /** * updateTeamActivity * @param variables - Operation variables * @param variables.orgId - The org id where the team belongs to * @param variables.teamId - The team id where activity is being updated * @param variables.request - The request object containing the updated activity details * @returns Types.ProcessUpdateResponse | null */ updateTeamActivity: (client: UpworkGraphQLClient, variables: { orgId: string; teamId?: string; request: Types.UpdateTeamActivityRequest; }) => Promise; /** * updateWorkflowTask * @param variables - Operation variables * @param variables.workflowId - Workflow identifier * @param variables.taskId - Task identifier * @param variables.updateWorkflowTaskDetailsInput - Update payload * @returns Types.UpdateWorkflowTaskResult */ updateWorkflowTask: (client: UpworkGraphQLClient, variables?: { workflowId?: string; taskId?: string; updateWorkflowTaskDetailsInput?: Types.UpdateWorkflowTaskDetailsInput; }) => Promise; /** * createClientJobInvitation * @param variables - Operation variables * @param variables.clientJobInvitationCreateRequest - Input for creating client job invitation * @returns string */ createClientJobInvitation: (client: UpworkGraphQLClient, variables: { clientJobInvitationCreateRequest: Types.ClientJobInvitationCreateRequestInput; }) => Promise; }; //# sourceMappingURL=generated-operations.d.ts.map