@ttctl/core 0.0.0 → 0.1.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -9
- package/dist/__generated__/gateway.d.ts +4546 -0
- package/dist/__generated__/gateway.d.ts.map +1 -0
- package/dist/__generated__/gateway.js +9 -0
- package/dist/__generated__/gateway.js.map +1 -0
- package/dist/__generated__/talent-profile-zod-schemas.d.ts +1187 -0
- package/dist/__generated__/talent-profile-zod-schemas.d.ts.map +1 -0
- package/dist/__generated__/talent-profile-zod-schemas.js +1136 -0
- package/dist/__generated__/talent-profile-zod-schemas.js.map +1 -0
- package/dist/__generated__/talent-profile.d.ts +1397 -0
- package/dist/__generated__/talent-profile.d.ts.map +1 -0
- package/dist/__generated__/talent-profile.js +9 -0
- package/dist/__generated__/talent-profile.js.map +1 -0
- package/dist/__generated__/zod-schemas.d.ts +2895 -0
- package/dist/__generated__/zod-schemas.d.ts.map +1 -0
- package/dist/__generated__/zod-schemas.js +3121 -0
- package/dist/__generated__/zod-schemas.js.map +1 -0
- package/dist/__tests__/fixtures/profile/builders.d.ts +74 -0
- package/dist/__tests__/fixtures/profile/builders.d.ts.map +1 -0
- package/dist/__tests__/fixtures/profile/builders.js +196 -0
- package/dist/__tests__/fixtures/profile/builders.js.map +1 -0
- package/dist/__tests__/fixtures/profile/data.d.ts +39 -0
- package/dist/__tests__/fixtures/profile/data.d.ts.map +1 -0
- package/dist/__tests__/fixtures/profile/data.js +230 -0
- package/dist/__tests__/fixtures/profile/data.js.map +1 -0
- package/dist/__tests__/fixtures/profile/index.d.ts +9 -0
- package/dist/__tests__/fixtures/profile/index.d.ts.map +1 -0
- package/dist/__tests__/fixtures/profile/index.js +10 -0
- package/dist/__tests__/fixtures/profile/index.js.map +1 -0
- package/dist/__tests__/fixtures/profile/types.d.ts +53 -0
- package/dist/__tests__/fixtures/profile/types.d.ts.map +1 -0
- package/dist/__tests__/fixtures/profile/types.js +4 -0
- package/dist/__tests__/fixtures/profile/types.js.map +1 -0
- package/dist/auth/errors.d.ts +82 -0
- package/dist/auth/errors.d.ts.map +1 -0
- package/dist/auth/errors.js +68 -0
- package/dist/auth/errors.js.map +1 -0
- package/dist/auth.d.ts +192 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +294 -0
- package/dist/auth.js.map +1 -0
- package/dist/config.d.ts +212 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +349 -0
- package/dist/config.js.map +1 -0
- package/dist/configLock.d.ts +50 -0
- package/dist/configLock.d.ts.map +1 -0
- package/dist/configLock.js +88 -0
- package/dist/configLock.js.map +1 -0
- package/dist/configWriter.d.ts +97 -0
- package/dist/configWriter.d.ts.map +1 -0
- package/dist/configWriter.js +687 -0
- package/dist/configWriter.js.map +1 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/dist/kill-switch.d.ts +161 -0
- package/dist/kill-switch.d.ts.map +1 -0
- package/dist/kill-switch.js +235 -0
- package/dist/kill-switch.js.map +1 -0
- package/dist/lib/date.d.ts +58 -0
- package/dist/lib/date.d.ts.map +1 -0
- package/dist/lib/date.js +104 -0
- package/dist/lib/date.js.map +1 -0
- package/dist/lib/diagnostic-log.d.ts +159 -0
- package/dist/lib/diagnostic-log.d.ts.map +1 -0
- package/dist/lib/diagnostic-log.js +186 -0
- package/dist/lib/diagnostic-log.js.map +1 -0
- package/dist/lib/package-version.d.ts +19 -0
- package/dist/lib/package-version.d.ts.map +1 -0
- package/dist/lib/package-version.js +38 -0
- package/dist/lib/package-version.js.map +1 -0
- package/dist/lib/redact.d.ts +153 -0
- package/dist/lib/redact.d.ts.map +1 -0
- package/dist/lib/redact.js +207 -0
- package/dist/lib/redact.js.map +1 -0
- package/dist/lib/text.d.ts +14 -0
- package/dist/lib/text.d.ts.map +1 -0
- package/dist/lib/text.js +21 -0
- package/dist/lib/text.js.map +1 -0
- package/dist/lib/wire-shape.d.ts +131 -0
- package/dist/lib/wire-shape.d.ts.map +1 -0
- package/dist/lib/wire-shape.js +376 -0
- package/dist/lib/wire-shape.js.map +1 -0
- package/dist/onepassword.d.ts +29 -0
- package/dist/onepassword.d.ts.map +1 -0
- package/dist/onepassword.js +112 -0
- package/dist/onepassword.js.map +1 -0
- package/dist/services/_shared/transport.d.ts +148 -0
- package/dist/services/_shared/transport.d.ts.map +1 -0
- package/dist/services/_shared/transport.js +102 -0
- package/dist/services/_shared/transport.js.map +1 -0
- package/dist/services/applications/index.d.ts +210 -0
- package/dist/services/applications/index.d.ts.map +1 -0
- package/dist/services/applications/index.js +240 -0
- package/dist/services/applications/index.js.map +1 -0
- package/dist/services/availability/index.d.ts +254 -0
- package/dist/services/availability/index.d.ts.map +1 -0
- package/dist/services/availability/index.js +310 -0
- package/dist/services/availability/index.js.map +1 -0
- package/dist/services/contracts/index.d.ts +132 -0
- package/dist/services/contracts/index.d.ts.map +1 -0
- package/dist/services/contracts/index.js +211 -0
- package/dist/services/contracts/index.js.map +1 -0
- package/dist/services/engagements/index.d.ts +504 -0
- package/dist/services/engagements/index.d.ts.map +1 -0
- package/dist/services/engagements/index.js +613 -0
- package/dist/services/engagements/index.js.map +1 -0
- package/dist/services/jobs/index.d.ts +490 -0
- package/dist/services/jobs/index.d.ts.map +1 -0
- package/dist/services/jobs/index.js +753 -0
- package/dist/services/jobs/index.js.map +1 -0
- package/dist/services/payments/index.d.ts +415 -0
- package/dist/services/payments/index.d.ts.map +1 -0
- package/dist/services/payments/index.js +636 -0
- package/dist/services/payments/index.js.map +1 -0
- package/dist/services/profile/__tests__/fixtures.d.ts +214 -0
- package/dist/services/profile/__tests__/fixtures.d.ts.map +1 -0
- package/dist/services/profile/__tests__/fixtures.js +176 -0
- package/dist/services/profile/__tests__/fixtures.js.map +1 -0
- package/dist/services/profile/basic/index.d.ts +390 -0
- package/dist/services/profile/basic/index.d.ts.map +1 -0
- package/dist/services/profile/basic/index.js +1007 -0
- package/dist/services/profile/basic/index.js.map +1 -0
- package/dist/services/profile/certifications/index.d.ts +74 -0
- package/dist/services/profile/certifications/index.d.ts.map +1 -0
- package/dist/services/profile/certifications/index.js +169 -0
- package/dist/services/profile/certifications/index.js.map +1 -0
- package/dist/services/profile/education/index.d.ts +73 -0
- package/dist/services/profile/education/index.d.ts.map +1 -0
- package/dist/services/profile/education/index.js +168 -0
- package/dist/services/profile/education/index.js.map +1 -0
- package/dist/services/profile/employment/index.d.ts +111 -0
- package/dist/services/profile/employment/index.d.ts.map +1 -0
- package/dist/services/profile/employment/index.js +202 -0
- package/dist/services/profile/employment/index.js.map +1 -0
- package/dist/services/profile/external/index.d.ts +219 -0
- package/dist/services/profile/external/index.d.ts.map +1 -0
- package/dist/services/profile/external/index.js +560 -0
- package/dist/services/profile/external/index.js.map +1 -0
- package/dist/services/profile/index.d.ts +24 -0
- package/dist/services/profile/index.d.ts.map +1 -0
- package/dist/services/profile/index.js +26 -0
- package/dist/services/profile/index.js.map +1 -0
- package/dist/services/profile/industries/index.d.ts +130 -0
- package/dist/services/profile/industries/index.d.ts.map +1 -0
- package/dist/services/profile/industries/index.js +292 -0
- package/dist/services/profile/industries/index.js.map +1 -0
- package/dist/services/profile/portfolio/index.d.ts +352 -0
- package/dist/services/profile/portfolio/index.d.ts.map +1 -0
- package/dist/services/profile/portfolio/index.js +833 -0
- package/dist/services/profile/portfolio/index.js.map +1 -0
- package/dist/services/profile/resume/index.d.ts +60 -0
- package/dist/services/profile/resume/index.d.ts.map +1 -0
- package/dist/services/profile/resume/index.js +212 -0
- package/dist/services/profile/resume/index.js.map +1 -0
- package/dist/services/profile/reviews/index.d.ts +137 -0
- package/dist/services/profile/reviews/index.d.ts.map +1 -0
- package/dist/services/profile/reviews/index.js +431 -0
- package/dist/services/profile/reviews/index.js.map +1 -0
- package/dist/services/profile/shared.d.ts +127 -0
- package/dist/services/profile/shared.d.ts.map +1 -0
- package/dist/services/profile/shared.js +155 -0
- package/dist/services/profile/shared.js.map +1 -0
- package/dist/services/profile/skills/index.d.ts +212 -0
- package/dist/services/profile/skills/index.d.ts.map +1 -0
- package/dist/services/profile/skills/index.js +461 -0
- package/dist/services/profile/skills/index.js.map +1 -0
- package/dist/services/profile/visas/index.d.ts +74 -0
- package/dist/services/profile/visas/index.d.ts.map +1 -0
- package/dist/services/profile/visas/index.js +306 -0
- package/dist/services/profile/visas/index.js.map +1 -0
- package/dist/services/timesheet/index.d.ts +326 -0
- package/dist/services/timesheet/index.d.ts.map +1 -0
- package/dist/services/timesheet/index.js +324 -0
- package/dist/services/timesheet/index.js.map +1 -0
- package/dist/services/translations.d.ts +79 -0
- package/dist/services/translations.d.ts.map +1 -0
- package/dist/services/translations.js +136 -0
- package/dist/services/translations.js.map +1 -0
- package/dist/transport-resilience.d.ts +136 -0
- package/dist/transport-resilience.d.ts.map +1 -0
- package/dist/transport-resilience.js +247 -0
- package/dist/transport-resilience.js.map +1 -0
- package/dist/transport.d.ts +408 -0
- package/dist/transport.d.ts.map +1 -0
- package/dist/transport.js +691 -0
- package/dist/transport.js.map +1 -0
- package/dist/types.d.ts +41 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +18 -0
- package/dist/types.js.map +1 -0
- package/package.json +40 -12
- package/index.js +0 -7
|
@@ -0,0 +1,3121 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
+
// Copyright (C) 2026 Oleksii PELYKH
|
|
3
|
+
//
|
|
4
|
+
// AUTO-GENERATED by `pnpm codegen` from
|
|
5
|
+
// `../research/graphql/gateway/schema.graphql` and operations under
|
|
6
|
+
// `../research/graphql/gateway/operations/{mobile,portal}/`.
|
|
7
|
+
// Do not edit by hand; re-run codegen instead.
|
|
8
|
+
//
|
|
9
|
+
// Companion file to `gateway.ts`. The TS types here have
|
|
10
|
+
// `__typename` stripped (see codegen.config.ts § ZOD_PLUGIN_CONFIG);
|
|
11
|
+
// the Zod schemas validate payloads with or without `__typename`.
|
|
12
|
+
// Import TS types from `gateway.ts` for `__typename`-bearing shapes.
|
|
13
|
+
import { z } from 'zod';
|
|
14
|
+
export const isDefinedNonNullAny = (v) => v !== undefined && v !== null;
|
|
15
|
+
export const definedNonNullAnySchema = z.any().refine((v) => isDefinedNonNullAny(v));
|
|
16
|
+
export const ActionStatusEnumSchema = z.enum(['NEGATIVE', 'NEUTRAL', 'PENDING', 'POSITIVE']);
|
|
17
|
+
export const AllocatedHoursChangeRequestStatusEnumSchema = z.enum(['ACCEPTED', 'CANCELLED', 'PENDING', 'REJECTED']);
|
|
18
|
+
export const AvailabilityRequestKindEnumSchema = z.enum(['_UNKNOWN']);
|
|
19
|
+
export const AvailabilityRequestStatusEnumSchema = z.enum(['CANCELLED', 'CONFIRMED', 'EXPIRED', 'PENDING', 'REJECTED', 'WITHDRAWN']);
|
|
20
|
+
export const BadgedLogicSchema = z.enum(['AND', 'OR']);
|
|
21
|
+
export const BudgetFitFilterEnumSchema = z.enum(['FIT', 'FIT_OR_10_PERCENT_LESS', 'FIT_OR_20_PERCENT_LESS', 'FIT_OR_30_PERCENT_LESS']);
|
|
22
|
+
export const CommitmentEnumSchema = z.enum(['FULL_TIME', 'HOURLY', 'PART_TIME']);
|
|
23
|
+
export const EngagementDeliveryModelIdentifierSchema = z.enum(['CORE', 'EXPERT_CROWD', 'MARKETPLACE', 'TOPTAL_RECRUIT']);
|
|
24
|
+
export const EngagementRatePeriodEnumSchema = z.enum(['HOUR', 'WEEK']);
|
|
25
|
+
export const EngagementStatusEnumSchema = z.enum(['ACTIVE', 'COMPLETED']);
|
|
26
|
+
export const EngagementTrialStatusEnumSchema = z.enum(['CANCELED', 'EXPIRED', 'PENDING', 'REJECTED', 'SUCCESSFUL']);
|
|
27
|
+
export const EstimatedLengthFilterEnumSchema = z.enum(['FROM_1_TO_2_WEEKS', 'FROM_2_TO_3_MONTHS', 'FROM_2_TO_4_WEEKS', 'FROM_3_TO_6_MONTHS', 'FROM_4_TO_8_WEEKS', 'FROM_6_TO_12_MONTHS', 'OVER_12_MONTHS', 'UNKNOWN']);
|
|
28
|
+
export const InterviewGuideSectionIdentifierEnumSchema = z.enum(['ASK_YOUR_CLIENT', 'GAPS', 'JOB_HIGHLIGHTS', 'POTENTIAL_QUESTIONS', 'PRO_TIPS', 'STRENGTHS']);
|
|
29
|
+
export const InterviewGuideTipIdentifierEnumSchema = z.enum(['BE_PRESENTABLE', 'CAMERA_ON', 'DONT_DISCUSS_RATE', 'GAP_ANALYSIS', 'HIRING_FACTORS', 'JOB_SUMMARY', 'PROFILE_REFERENCES', 'QUESTIONS_TO_ASK', 'QUESTIONS_TO_PREPARE_FOR', 'SMALL_TALK', 'STANDARD_QUESTIONS', 'STRENGTHS_OVERLAP']);
|
|
30
|
+
export const InterviewKindEnumSchema = z.enum(['EXTERNAL', 'INTERNAL']);
|
|
31
|
+
export const InterviewStatusEnumSchema = z.enum(['ACCEPTED', 'MISSED', 'PENDING', 'REJECTED', 'SCHEDULED', 'TIME_ACCEPTED', 'TIME_REJECTED']);
|
|
32
|
+
export const JobActivityItemStatusEnumSchema = z.enum(['ACTIVE', 'APPLICATION_REJECTED', 'APPLIED', 'AVAILABILITY_REQUEST_CONFIRMED', 'AVAILABILITY_REQUEST_EXPIRED', 'AVAILABILITY_REQUEST_PENDING', 'AVAILABILITY_REQUEST_REJECTED', 'AVAILABILITY_REQUEST_WITHDRAWN', 'CANCELED', 'CLIENT_PENDING_LEGAL', 'COMPLETED', 'INTERNAL_INTERVIEW_AWAITING_CONFIRMATION', 'INTERNAL_INTERVIEW_CANCELED', 'INTERNAL_INTERVIEW_REQUEST_MISSED', 'INTERNAL_INTERVIEW_SCHEDULED', 'INTERNAL_INTERVIEW_TIME_REJECTED', 'INTERVIEW_AWAITING_CONFIRMATION', 'INTERVIEW_CANCELED', 'INTERVIEW_REQUEST_MISSED', 'INTERVIEW_SCHEDULED', 'INTERVIEW_TIME_REJECTED', 'JOB_CANCELED', 'ON_BREAK', 'ON_HOLD', 'ON_TRIAL', 'PENDING_START', 'POSITION_FULFILLED', 'PROFILE_SENT_TO_CLIENT', 'REJECTED_AFTER_TRIAL', 'REJECTED_BY_CLIENT', 'REJECTED_BY_MATCHER', 'WAITING_AFTER_INTERNAL_INTERVIEW', 'WAITING_AFTER_INTERVIEW']);
|
|
33
|
+
export const JobActivityItemStatusGroupEnumSchema = z.enum(['ACTIVE_ENGAGEMENT', 'ARCHIVED', 'CLOSED_ENGAGEMENT', 'ON_CLIENT_REVIEW', 'ON_RECRUITER_REVIEW']);
|
|
34
|
+
export const JobAlertsSubscriptionEnumSchema = z.enum(['ALL', 'MATCHED', 'NONE']);
|
|
35
|
+
export const JobCommitmentFilterEnumSchema = z.enum(['FROM_10_TO_20_HOURS', 'FROM_20_TO_30_HOURS', 'FROM_30_TO_40_HOURS', 'FULL_TIME', 'HOURLY', 'PART_TIME', 'SUITABLE', 'UP_TO_10_HOURS']);
|
|
36
|
+
export const JobEstimatedLengthEnumSchema = z.enum(['FROM_1_TO_2_WEEKS', 'FROM_2_TO_3_MONTHS', 'FROM_2_TO_4_WEEKS', 'FROM_3_TO_6_MONTHS', 'FROM_4_TO_8_WEEKS', 'FROM_6_TO_12_MONTHS', 'OVER_12_MONTHS', 'UNKNOWN']);
|
|
37
|
+
export const JobHiringStatusEnumSchema = z.enum(['ACCEPTING_APPLICATIONS', 'ALREADY_INTERVIEWING', 'BE_FIRST_TO_APPLY', 'CANDIDATES_INTRODUCED_TO_CLIENT', 'FULFILLED', 'INELIGIBLE', 'REVIEWING_APPLICATIONS']);
|
|
38
|
+
export const JobOperationsApplyErrorsEnumSchema = z.enum(['ALREADY_APPLIED', 'AVAILABILITY_REQUEST_ADDRESSED_OR_ADDRESSABLE', 'ID_VERIFICATION_REQUIRED', 'LEGACY_CLIENT', 'NOT_ELIGIBLE', 'NOT_ENOUGH_AVAILABLE_HOURS', 'NO_MATCHING_SKILLS', 'SPECIALIZATION_MISMATCH']);
|
|
39
|
+
export const JobPositionAnswerInterfaceEnumSchema = z.enum(['DISPLAY_HOURS_OVERLAP']);
|
|
40
|
+
export const JobWorkTypeSlugSchema = z.enum(['MIXED', 'ONSITE', 'RECRUITING', 'REMOTE']);
|
|
41
|
+
export const MemorandumBalanceEnumSchema = z.enum(['CREDIT', 'DEBIT']);
|
|
42
|
+
export const MinimumCommitmentInapplicableReasonSchema = z.enum(['HAS_BREAK', 'IS_TRIAL', 'NOT_FULL_LENGTH']);
|
|
43
|
+
export const MobileAnnouncementStyleEnumSchema = z.enum(['IMPORTANT', 'REGULAR', 'YEAR_IN_REVIEW']);
|
|
44
|
+
export const MobileFeedbackFeatureEnumSchema = z.enum(['_UNKNOWN']);
|
|
45
|
+
export const MobileStoryPageContentChartKindSchema = z.enum(['BAR', 'LINE']);
|
|
46
|
+
export const NotificationCenterNotificationLabelStyleEnumSchema = z.enum(['INFORMATIONAL']);
|
|
47
|
+
export const NotificationEntityKindEnumSchema = z.enum(['ALLOCATED_HOURS_CHANGE_REQUEST', 'AVAILABILITY_CHANGE_INTERFACE', 'BADGE', 'BILLING_CYCLE', 'COMMUNITY_EVENT', 'CONSULTATION', 'INTERVIEW_GUIDE', 'LEGACY_SURVEY', 'PENDING_TIMESHEETS_INTERFACE', 'RATE_CHANGE_REQUEST', 'SURVEY', 'TALENT_JOB', 'TALENT_JOB_ACTIVITY_ITEM', 'TALENT_PAYMENT']);
|
|
48
|
+
export const NotificationIconEnumSchema = z.enum(['AWARD', 'CANDIDATE_SENT', 'COMMUNITY', 'INFO', 'INTERVIEW', 'JOB_INFO', 'JOB_REJECTED', 'PAYMENT', 'PAYMENT_DISPUTE', 'REFERRAL', 'SURVEY', 'TALENT_ACCEPTED', 'THUNDER', 'TIMESHEET', 'TRIAL']);
|
|
49
|
+
export const OperationCallableTypesSchema = z.enum(['DISABLED', 'ENABLED', 'HIDDEN']);
|
|
50
|
+
export const PaymentKindCategorySchema = z.enum(['BONUS_PAYMENT', 'REFERRAL_PAYMENT', 'TALENT_PAYMENT']);
|
|
51
|
+
export const PointOfContactKindEnumSchema = z.enum(['MATCHER', 'MATCHING_OPERATIONS_COORDINATOR']);
|
|
52
|
+
export const PortfolioItemKindEnumSchema = z.enum(['ACCOMPLISHMENT', 'BASIC', 'CLASSIC', 'CODE_BASE', 'OTHER_AMAZING_THINGS']);
|
|
53
|
+
export const PreAppliedFiltersKindEnumSchema = z.enum(['DEFAULT_VERTICAL_FILTERS', 'SAVED_SEARCH_FILTERS']);
|
|
54
|
+
export const ProposedEngagementEndStatusEnumSchema = z.enum(['CANCELLED', 'PENDING']);
|
|
55
|
+
export const QuestionnaireInputContentTypeEnumSchema = z.enum(['EMAIL', 'NONE', 'PHONE']);
|
|
56
|
+
export const QuestionnaireInputTypeEnumSchema = z.enum(['OPEN_TEXT', 'RADIO_BUTTONS', 'SELECT', 'SELECT_WITH_FILTER', 'SELECT_WITH_OTHER_INPUT', 'SINGLE_LINE_TEXT']);
|
|
57
|
+
export const RateChangeRequestQuestionKindEnumSchema = z.enum(['RADIO', 'TEXT']);
|
|
58
|
+
export const RateChangeRequestStatusEnumSchema = z.enum(['CLAIMED', 'COMPLETED', 'PENDING']);
|
|
59
|
+
export const RateChangeRequestTypeEnumSchema = z.enum(['CONSULTATION', 'CURRENT_ENGAGEMENT', 'FUTURE_ENGAGEMENTS']);
|
|
60
|
+
export const RatingSchema = z.enum(['COMPETENT', 'EXPERT', 'STRONG']);
|
|
61
|
+
export const ReferralBonusRewardFilterSchema = z.enum(['ELIGIBLE']);
|
|
62
|
+
export const ReferralEventStatusEnumSchema = z.enum(['ACTIVE', 'APPLIED', 'ENGLISH_SCREENING', 'EVALUATING', 'INACTIVE', 'NOT_ACCEPTED', 'NOT_A_MATCH', 'ON_TRIAL', 'PENDING_TALENT', 'PROFILE_CREATION', 'REWARD_PAID', 'REWARD_PENDING', 'SEEKING_TALENT', 'TECHNICAL_SCREENING_1', 'TECHNICAL_SCREENING_2']);
|
|
63
|
+
export const ReferralProgramEnumSchema = z.enum(['CLIENT', 'TALENT_BONUS', 'TALENT_PARTNER', 'TALENT_STANDARD']);
|
|
64
|
+
export const ReferralStatRoleTypeEnumSchema = z.enum(['CLIENT', 'TALENT', 'TALENT_PARTNER']);
|
|
65
|
+
export const ReferralStatusEnumSchema = z.enum(['ACTIVE', 'APPLIED', 'ENGLISH_SCREENING', 'EVALUATING', 'INACTIVE', 'NOT_ACCEPTED', 'NOT_A_MATCH', 'ON_TRIAL', 'PENDING_TALENT', 'PROFILE_CREATION', 'REWARD_PAID', 'REWARD_PENDING', 'SEEKING_TALENT', 'TECHNICAL_SCREENING_1', 'TECHNICAL_SCREENING_2']);
|
|
66
|
+
export const ReportsRangeSchema = z.enum(['RANGE_1_5', 'RANGE_6_10', 'RANGE_11_20', 'RANGE_21_50', 'RANGE_50_PLUS']);
|
|
67
|
+
export const ReturningTimeEnumSchema = z.enum(['_UNKNOWN']);
|
|
68
|
+
export const SortOrderEnumSchema = z.enum(['_UNKNOWN']);
|
|
69
|
+
export const StatusColorSchema = z.enum(['NEGATIVE', 'NEUTRAL', 'POSITIVE', 'WARNING']);
|
|
70
|
+
export const SurveyInputTypeEnumSchema = z.enum(['CHECKBOX', 'OPEN_TEXT', 'PROPOSED_ENGAGEMENT_END_DATE', 'RADIO_BUTTONS', 'RATING', 'SLIDER']);
|
|
71
|
+
export const SurveyKindEnumSchema = z.enum(['ENGAGEMENT_ENDED', 'ENGAGEMENT_TESTIMONIAL', 'INTERVIEW_ENDED', 'MID_ENGAGEMENT', 'MOBILE_APP_SATISFACTION', 'NEWCOMER', 'NPS', 'OPPORTUNITY_CHECK']);
|
|
72
|
+
export const TalentAccessibleRoleRoleSelectorVisibilitySchema = z.enum(['HIDDEN', 'VISIBLE']);
|
|
73
|
+
export const TalentInterviewMethodTypeEnumSchema = z.enum(['BLUEJEANS', 'CUSTOM_WEB_CONFERENCE', 'GOOGLE_HANGOUTS', 'PHONE', 'SKYPE', 'ZOOM']);
|
|
74
|
+
export const TalentPaymentStatusSchema = z.enum(['DISPUTED', 'DUE', 'ON_HOLD', 'OUTSTANDING', 'OVERDUE', 'PAID']);
|
|
75
|
+
export const TopChatConversationStatusSchema = z.enum(['ACTIVE', 'ARCHIVED']);
|
|
76
|
+
export const VerticalGlobalMarketConditionEnumSchema = z.enum(['MODERATE', 'POOR']);
|
|
77
|
+
export const VerticalMarketConditionEnumSchema = z.enum(['MODERATE', 'POOR', 'STRONG']);
|
|
78
|
+
export function AcceptFreelanceTalentAgreementInputSchema() {
|
|
79
|
+
return z.object({
|
|
80
|
+
_placeholder: z.string().nullable()
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
export function AcceptFreelanceTalentAgreementPayloadSchema() {
|
|
84
|
+
return z.object({
|
|
85
|
+
__typename: z.literal('AcceptFreelanceTalentAgreementPayload').optional(),
|
|
86
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
87
|
+
success: z.boolean()
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
export function AcceptGigReachOutPayloadSchema() {
|
|
91
|
+
return z.object({
|
|
92
|
+
__typename: z.literal('AcceptGigReachOutPayload').optional(),
|
|
93
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
94
|
+
success: z.boolean()
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
export function AccessibleRoleSchema() {
|
|
98
|
+
return z.object({
|
|
99
|
+
_placeholder: z.string().nullable()
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
export function AcknowledgeAllTalentBadgesPayloadSchema() {
|
|
103
|
+
return z.object({
|
|
104
|
+
__typename: z.literal('AcknowledgeAllTalentBadgesPayload').optional(),
|
|
105
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
106
|
+
success: z.boolean()
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
export function AcknowledgeBadgeNotificationPayloadSchema() {
|
|
110
|
+
return z.object({
|
|
111
|
+
__typename: z.literal('AcknowledgeBadgeNotificationPayload').optional(),
|
|
112
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
113
|
+
success: z.boolean()
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
export function AddProfileIndustryConnectionsInputSchema() {
|
|
117
|
+
return z.object({
|
|
118
|
+
_placeholder: z.string().nullable()
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
export function AddProfileIndustryConnectionsPayloadSchema() {
|
|
122
|
+
return z.object({
|
|
123
|
+
__typename: z.literal('AddProfileIndustryConnectionsPayload').optional(),
|
|
124
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
125
|
+
success: z.boolean()
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
export function AddProfileSkillSetPayloadSchema() {
|
|
129
|
+
return z.object({
|
|
130
|
+
__typename: z.literal('AddProfileSkillSetPayload').optional(),
|
|
131
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
132
|
+
success: z.boolean()
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
export function AllocatedHoursChangeRequestSchema() {
|
|
136
|
+
return z.object({
|
|
137
|
+
__typename: z.literal('AllocatedHoursChangeRequest').optional(),
|
|
138
|
+
allocatedHours: z.number(),
|
|
139
|
+
availability: z.string(),
|
|
140
|
+
comment: z.string(),
|
|
141
|
+
futureAvailableHours: z.unknown().nullable(),
|
|
142
|
+
id: z.string(),
|
|
143
|
+
rejectReason: z.unknown().nullable(),
|
|
144
|
+
returnInDate: z.unknown().nullable(),
|
|
145
|
+
reviewedManually: z.boolean(),
|
|
146
|
+
status: z.lazy(() => AllocatedHoursChangeRequestStatusSchema()),
|
|
147
|
+
statusV2: z.lazy(() => AllocatedHoursChangeRequestStatusSchema()),
|
|
148
|
+
useReturnAvailability: z.boolean()
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
export function AllocatedHoursChangeRequestStatusSchema() {
|
|
152
|
+
return z.object({
|
|
153
|
+
__typename: z.literal('AllocatedHoursChangeRequestStatus').optional(),
|
|
154
|
+
value: z.string(),
|
|
155
|
+
verbose: z.string()
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
export function ApnTokenRegisterPayloadSchema() {
|
|
159
|
+
return z.object({
|
|
160
|
+
__typename: z.literal('ApnTokenRegisterPayload').optional(),
|
|
161
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
162
|
+
success: z.boolean()
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
export function ApnTokenRemovePayloadSchema() {
|
|
166
|
+
return z.object({
|
|
167
|
+
__typename: z.literal('ApnTokenRemovePayload').optional(),
|
|
168
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
169
|
+
success: z.boolean()
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
export function ApnTokensOpsSchema() {
|
|
173
|
+
return z.object({
|
|
174
|
+
__typename: z.literal('ApnTokensOps').optional(),
|
|
175
|
+
register: z.lazy(() => ApnTokenRegisterPayloadSchema().nullable())
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
export function ApnTokensOpsRegisterArgsSchema() {
|
|
179
|
+
return z.object({
|
|
180
|
+
input: z.unknown().nullable()
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
export function ApplicationSchema() {
|
|
184
|
+
return z.union([AvailabilityRequestSchema(), JobApplicationSchema()]);
|
|
185
|
+
}
|
|
186
|
+
export function AttachTalentVideoPitchInputSchema() {
|
|
187
|
+
return z.object({
|
|
188
|
+
_placeholder: z.string().nullable()
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
export function AttachTalentVideoPitchPayloadSchema() {
|
|
192
|
+
return z.object({
|
|
193
|
+
__typename: z.literal('AttachTalentVideoPitchPayload').optional(),
|
|
194
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
195
|
+
success: z.boolean()
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
export function AuthOpsSchema() {
|
|
199
|
+
return z.object({
|
|
200
|
+
__typename: z.literal('AuthOps').optional(),
|
|
201
|
+
sendPasswordResetEmail: z.lazy(() => SendResetPasswordEmailPayloadSchema().nullable()),
|
|
202
|
+
signIn: z.lazy(() => SignInPayloadSchema().nullable())
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
export function AuthOpsSendPasswordResetEmailArgsSchema() {
|
|
206
|
+
return z.object({
|
|
207
|
+
input: z.unknown().nullable()
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
export function AuthOpsSignInArgsSchema() {
|
|
211
|
+
return z.object({
|
|
212
|
+
input: z.unknown().nullable()
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
export function AvailabilityRequestSchema() {
|
|
216
|
+
return z.object({
|
|
217
|
+
__typename: z.literal('AvailabilityRequest').optional(),
|
|
218
|
+
answeredAt: z.string().nullable(),
|
|
219
|
+
comment: z.string().nullable(),
|
|
220
|
+
createdAt: z.string(),
|
|
221
|
+
id: z.string(),
|
|
222
|
+
jirStatus: z.lazy(() => AvailabilityRequestStatusSchema()),
|
|
223
|
+
job: z.lazy(() => TalentJobSchema()),
|
|
224
|
+
jobExpertiseAnswers: z.array(z.unknown().nullable()),
|
|
225
|
+
jobPositionAnswers: z.array(z.lazy(() => JobPositionAnswerSchema().nullable())),
|
|
226
|
+
metadata: z.lazy(() => AvailabilityRequestFixedMetadataSchema()),
|
|
227
|
+
rejectReason: z.unknown().nullable(),
|
|
228
|
+
requestedHourlyRate: z.lazy(() => MoneySchema()),
|
|
229
|
+
statusV2: z.lazy(() => AvailabilityRequestStatusSchema()),
|
|
230
|
+
talentComment: z.string(),
|
|
231
|
+
updatedAt: z.string()
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
export function AvailabilityRequestAnsweredAfterThresholdContextSchema() {
|
|
235
|
+
return z.object({
|
|
236
|
+
__typename: z.literal('AvailabilityRequestAnsweredAfterThresholdContext').optional(),
|
|
237
|
+
availabilityRequest: z.lazy(() => AvailabilityRequestSchema().nullable()),
|
|
238
|
+
timeUntilAnsweredInSeconds: z.number().nullable()
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
export function AvailabilityRequestConfirmPayloadSchema() {
|
|
242
|
+
return z.object({
|
|
243
|
+
__typename: z.literal('AvailabilityRequestConfirmPayload').optional(),
|
|
244
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
245
|
+
success: z.boolean()
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
export function AvailabilityRequestFixedMetadataSchema() {
|
|
249
|
+
return z.object({
|
|
250
|
+
__typename: z.literal('AvailabilityRequestFixedMetadata').optional(),
|
|
251
|
+
estimatedRevenue: z.string().nullable(),
|
|
252
|
+
estimatedRevenueExplanation: z.string().nullable(),
|
|
253
|
+
longTermDisclaimer: z.string().nullable(),
|
|
254
|
+
offeredHourlyRate: z.lazy(() => MoneySchema())
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
export function AvailabilityRequestMetricsSchema() {
|
|
258
|
+
return z.object({
|
|
259
|
+
__typename: z.literal('AvailabilityRequestMetrics').optional(),
|
|
260
|
+
answeredCount: z.number(),
|
|
261
|
+
averageResponseTime: z.number(),
|
|
262
|
+
isRelevant: z.boolean()
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
export function AvailabilityRequestOpsSchema() {
|
|
266
|
+
return z.object({
|
|
267
|
+
__typename: z.literal('AvailabilityRequestOps').optional(),
|
|
268
|
+
confirm: z.lazy(() => AvailabilityRequestConfirmPayloadSchema().nullable()),
|
|
269
|
+
reject: z.lazy(() => AvailabilityRequestRejectPayloadSchema().nullable())
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
export function AvailabilityRequestOpsConfirmArgsSchema() {
|
|
273
|
+
return z.object({
|
|
274
|
+
input: z.unknown().nullable()
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
export function AvailabilityRequestOpsRejectArgsSchema() {
|
|
278
|
+
return z.object({
|
|
279
|
+
input: z.unknown().nullable()
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
export function AvailabilityRequestRejectPayloadSchema() {
|
|
283
|
+
return z.object({
|
|
284
|
+
__typename: z.literal('AvailabilityRequestRejectPayload').optional(),
|
|
285
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
286
|
+
success: z.boolean()
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
export function AvailabilityRequestRejectReasonSchema() {
|
|
290
|
+
return z.object({
|
|
291
|
+
__typename: z.literal('AvailabilityRequestRejectReason').optional(),
|
|
292
|
+
customPlaceholder: z.string().nullable(),
|
|
293
|
+
isMandatory: z.boolean(),
|
|
294
|
+
key: z.string(),
|
|
295
|
+
value: z.string()
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
export function AvailabilityRequestRejectReasonsTypeV3Schema() {
|
|
299
|
+
return z.object({
|
|
300
|
+
__typename: z.literal('AvailabilityRequestRejectReasonsTypeV3').optional(),
|
|
301
|
+
fixed: z.array(z.lazy(() => AvailabilityRequestRejectReasonSchema().nullable())),
|
|
302
|
+
flexible: z.array(z.lazy(() => AvailabilityRequestRejectReasonSchema().nullable()))
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
export function AvailabilityRequestStatusSchema() {
|
|
306
|
+
return z.object({
|
|
307
|
+
__typename: z.literal('AvailabilityRequestStatus').optional(),
|
|
308
|
+
value: z.string()
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
export function BadgeSchema() {
|
|
312
|
+
return z.object({
|
|
313
|
+
__typename: z.literal('Badge').optional(),
|
|
314
|
+
achievedAt: z.string().nullable(),
|
|
315
|
+
animation: z.string(),
|
|
316
|
+
backgroundGradientBottom: z.string(),
|
|
317
|
+
backgroundGradientTop: z.string(),
|
|
318
|
+
celebrationText: z.string(),
|
|
319
|
+
id: z.string(),
|
|
320
|
+
image: z.string(),
|
|
321
|
+
level: z.number(),
|
|
322
|
+
longDescription: z.string(),
|
|
323
|
+
name: z.string(),
|
|
324
|
+
progress: z.number().nullable()
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
export function BadgeConnectionSchema() {
|
|
328
|
+
return z.object({
|
|
329
|
+
__typename: z.literal('BadgeConnection').optional(),
|
|
330
|
+
nodes: z.array(z.lazy(() => BadgeSchema().nullable()))
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
export function BadgeContextSchema() {
|
|
334
|
+
return z.object({
|
|
335
|
+
__typename: z.literal('BadgeContext').optional(),
|
|
336
|
+
badge: z.lazy(() => BadgeSchema().nullable())
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
export function BadgeGroupSchema() {
|
|
340
|
+
return z.object({
|
|
341
|
+
__typename: z.literal('BadgeGroup').optional(),
|
|
342
|
+
badges: z.lazy(() => BadgeConnectionSchema()),
|
|
343
|
+
id: z.string(),
|
|
344
|
+
order: z.number().nullable()
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
export function BadgeGroupConnectionSchema() {
|
|
348
|
+
return z.object({
|
|
349
|
+
__typename: z.literal('BadgeGroupConnection').optional(),
|
|
350
|
+
nodes: z.array(z.lazy(() => BadgeGroupSchema().nullable()))
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
export function BillingCycleSchema() {
|
|
354
|
+
return z.object({
|
|
355
|
+
__typename: z.literal('BillingCycle').optional(),
|
|
356
|
+
endDate: z.string(),
|
|
357
|
+
engagement: z.lazy(() => TalentEngagementSchema()),
|
|
358
|
+
hours: z.string(),
|
|
359
|
+
id: z.string(),
|
|
360
|
+
minimumCommitment: z.unknown().nullable(),
|
|
361
|
+
startDate: z.string(),
|
|
362
|
+
timesheetOverdue: z.boolean(),
|
|
363
|
+
timesheetSubmissionDeadlineDatetime: z.string(),
|
|
364
|
+
timesheetSubmissionOpenDatetime: z.string(),
|
|
365
|
+
timesheetSubmitted: z.boolean()
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
export function BillingCycleConnectionSchema() {
|
|
369
|
+
return z.object({
|
|
370
|
+
__typename: z.literal('BillingCycleConnection').optional(),
|
|
371
|
+
ids: z.array(z.string().nullable()),
|
|
372
|
+
nodes: z.array(z.lazy(() => BillingCycleSchema().nullable()))
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
export function BlockedStatusSchema() {
|
|
376
|
+
return z.object({
|
|
377
|
+
__typename: z.literal('BlockedStatus').optional(),
|
|
378
|
+
isBlocked: z.boolean(),
|
|
379
|
+
reason: z.unknown().nullable()
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
export function BookingPageMutationsSchema() {
|
|
383
|
+
return z.object({
|
|
384
|
+
__typename: z.literal('BookingPageMutations').optional(),
|
|
385
|
+
update: z.lazy(() => NotificationSettingUpdatePayloadSchema().nullable())
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
export function BookingPageMutationsUpdateArgsSchema() {
|
|
389
|
+
return z.object({
|
|
390
|
+
input: z.unknown().nullable()
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
export function BooleanFilterSchema() {
|
|
394
|
+
return z.object({
|
|
395
|
+
eq: z.boolean().nullable()
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
export function CalendarAuthMutationsSchema() {
|
|
399
|
+
return z.object({
|
|
400
|
+
__typename: z.literal('CalendarAuthMutations').optional(),
|
|
401
|
+
remove: z.lazy(() => RemoveProfileSkillSetPayloadSchema().nullable())
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
export function CalendarAuthMutationsRemoveArgsSchema() {
|
|
405
|
+
return z.object({
|
|
406
|
+
input: z.unknown().nullable()
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
export function CalendarMutationsSchema() {
|
|
410
|
+
return z.object({
|
|
411
|
+
__typename: z.literal('CalendarMutations').optional(),
|
|
412
|
+
disable: z.lazy(() => MutationResultSchema().nullable()),
|
|
413
|
+
enable: z.lazy(() => PreliminarySearchSettingEnablePayloadSchema().nullable()),
|
|
414
|
+
markAsPrimary: z.lazy(() => MutationResultSchema().nullable())
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
export function CalendarMutationsDisableArgsSchema() {
|
|
418
|
+
return z.object({
|
|
419
|
+
input: z.unknown().nullable()
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
export function CalendarMutationsEnableArgsSchema() {
|
|
423
|
+
return z.object({
|
|
424
|
+
input: z.unknown().nullable()
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
export function CalendarMutationsMarkAsPrimaryArgsSchema() {
|
|
428
|
+
return z.object({
|
|
429
|
+
input: z.unknown().nullable()
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
export function CenterSchema() {
|
|
433
|
+
return z.object({
|
|
434
|
+
__typename: z.literal('Center').optional(),
|
|
435
|
+
notifications: z.lazy(() => NotificationConnectionSchema())
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
export function CertificationSchema() {
|
|
439
|
+
return z.object({
|
|
440
|
+
__typename: z.literal('Certification').optional(),
|
|
441
|
+
certificate: z.string(),
|
|
442
|
+
id: z.string(),
|
|
443
|
+
institution: z.string(),
|
|
444
|
+
skills: z.lazy(() => SkillConnectionSchema()),
|
|
445
|
+
validFromMonth: z.number(),
|
|
446
|
+
validFromYear: z.number(),
|
|
447
|
+
validToMonth: z.unknown().nullable(),
|
|
448
|
+
validToYear: z.unknown().nullable()
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
export function CertificationConnectionSchema() {
|
|
452
|
+
return z.object({
|
|
453
|
+
__typename: z.literal('CertificationConnection').optional(),
|
|
454
|
+
nodes: z.array(z.lazy(() => CertificationSchema().nullable()))
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
export function ClientSchema() {
|
|
458
|
+
return z.object({
|
|
459
|
+
__typename: z.literal('Client').optional(),
|
|
460
|
+
city: z.string().nullable(),
|
|
461
|
+
countryName: z.string().nullable(),
|
|
462
|
+
crunchbase: z.unknown().nullable(),
|
|
463
|
+
facebook: z.unknown().nullable(),
|
|
464
|
+
foundingYear: z.string().nullable(),
|
|
465
|
+
fullName: z.string().nullable(),
|
|
466
|
+
id: z.string(),
|
|
467
|
+
industry: z.string().nullable(),
|
|
468
|
+
isEnterprise: z.boolean(),
|
|
469
|
+
linkedin: z.unknown().nullable(),
|
|
470
|
+
teamSize: z.lazy(() => TeamSizeSchema()),
|
|
471
|
+
twitter: z.unknown().nullable(),
|
|
472
|
+
website: z.unknown().nullable()
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
export function CoachingEngagementMutationsSchema() {
|
|
476
|
+
return z.object({
|
|
477
|
+
__typename: z.literal('CoachingEngagementMutations').optional(),
|
|
478
|
+
create: z.lazy(() => CreateBecomeClientPayloadSchema().nullable()),
|
|
479
|
+
remove: z.lazy(() => RemoveProfileSkillSetPayloadSchema().nullable())
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
export function CoachingEngagementMutationsCreateArgsSchema() {
|
|
483
|
+
return z.object({
|
|
484
|
+
input: z.lazy(() => CreateCoachingEngagementInputSchema())
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
export function CoachingEngagementMutationsRemoveArgsSchema() {
|
|
488
|
+
return z.object({
|
|
489
|
+
input: z.unknown().nullable()
|
|
490
|
+
});
|
|
491
|
+
}
|
|
492
|
+
export function CodeOfConductSchema() {
|
|
493
|
+
return z.object({
|
|
494
|
+
__typename: z.literal('CodeOfConduct').optional(),
|
|
495
|
+
acceptedAt: z.string(),
|
|
496
|
+
body: z.string(),
|
|
497
|
+
id: z.string(),
|
|
498
|
+
revisedOn: z.string(),
|
|
499
|
+
revisionNotice: z.unknown().nullable(),
|
|
500
|
+
title: z.string()
|
|
501
|
+
});
|
|
502
|
+
}
|
|
503
|
+
export function CodeOfConductAcceptPayloadSchema() {
|
|
504
|
+
return z.object({
|
|
505
|
+
__typename: z.literal('CodeOfConductAcceptPayload').optional(),
|
|
506
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
507
|
+
success: z.boolean()
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
export function CodeOfConductMutationsSchema() {
|
|
511
|
+
return z.object({
|
|
512
|
+
__typename: z.literal('CodeOfConductMutations').optional(),
|
|
513
|
+
accept: z.lazy(() => InterviewAcceptPayloadSchema().nullable())
|
|
514
|
+
});
|
|
515
|
+
}
|
|
516
|
+
export function CodeOfConductMutationsAcceptArgsSchema() {
|
|
517
|
+
return z.object({
|
|
518
|
+
input: z.unknown().nullable()
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
export function CommitmentHoursDictionarySchema() {
|
|
522
|
+
return z.object({
|
|
523
|
+
__typename: z.literal('CommitmentHoursDictionary').optional(),
|
|
524
|
+
full_time: z.number(),
|
|
525
|
+
hourly: z.number(),
|
|
526
|
+
part_time: z.number()
|
|
527
|
+
});
|
|
528
|
+
}
|
|
529
|
+
export function CommitmentTypeSchema() {
|
|
530
|
+
return z.object({
|
|
531
|
+
__typename: z.literal('CommitmentType').optional(),
|
|
532
|
+
slug: z.string(),
|
|
533
|
+
verbose: z.string()
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
export function CommunityEventContactLeaderPayloadSchema() {
|
|
537
|
+
return z.object({
|
|
538
|
+
__typename: z.literal('CommunityEventContactLeaderPayload').optional(),
|
|
539
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
540
|
+
success: z.boolean()
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
export function CommunityEventOpsSchema() {
|
|
544
|
+
return z.object({
|
|
545
|
+
__typename: z.literal('CommunityEventOps').optional(),
|
|
546
|
+
rsvp: z.lazy(() => RsvpPayloadSchema().nullable())
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
export function CommunityEventOpsRsvpArgsSchema() {
|
|
550
|
+
return z.object({
|
|
551
|
+
input: z.unknown().nullable()
|
|
552
|
+
});
|
|
553
|
+
}
|
|
554
|
+
export function CompanyRepresentativeSchema() {
|
|
555
|
+
return z.object({
|
|
556
|
+
__typename: z.literal('CompanyRepresentative').optional(),
|
|
557
|
+
email: z.string(),
|
|
558
|
+
fullName: z.string(),
|
|
559
|
+
id: z.string(),
|
|
560
|
+
phoneNumber: z.string(),
|
|
561
|
+
position: z.string(),
|
|
562
|
+
timeZone: z.lazy(() => TimeZoneSchema())
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
export function CompleteConsultationsTrainingPayloadSchema() {
|
|
566
|
+
return z.object({
|
|
567
|
+
__typename: z.literal('CompleteConsultationsTrainingPayload').optional(),
|
|
568
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
569
|
+
success: z.boolean()
|
|
570
|
+
});
|
|
571
|
+
}
|
|
572
|
+
export function CompleteTalentConsultingOnboardingInputSchema() {
|
|
573
|
+
return z.object({
|
|
574
|
+
_placeholder: z.string().nullable()
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
export function CompleteTalentConsultingOnboardingPayloadSchema() {
|
|
578
|
+
return z.object({
|
|
579
|
+
__typename: z.literal('CompleteTalentConsultingOnboardingPayload').optional(),
|
|
580
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
581
|
+
success: z.boolean()
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
export function CompleteTalentConsultingTrainingPayloadSchema() {
|
|
585
|
+
return z.object({
|
|
586
|
+
__typename: z.literal('CompleteTalentConsultingTrainingPayload').optional(),
|
|
587
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
588
|
+
success: z.boolean()
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
export function ConfigurePushNotificationsPayloadSchema() {
|
|
592
|
+
return z.object({
|
|
593
|
+
__typename: z.literal('ConfigurePushNotificationsPayload').optional(),
|
|
594
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
595
|
+
success: z.boolean()
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
export function ContactFieldsSchema() {
|
|
599
|
+
return z.object({
|
|
600
|
+
__typename: z.literal('ContactFields').optional(),
|
|
601
|
+
communitySlackId: z.string(),
|
|
602
|
+
email: z.string(),
|
|
603
|
+
phoneNumber: z.string().nullable(),
|
|
604
|
+
skype: z.string().nullable()
|
|
605
|
+
});
|
|
606
|
+
}
|
|
607
|
+
export function CreateApplicantPayloadSchema() {
|
|
608
|
+
return z.object({
|
|
609
|
+
__typename: z.literal('CreateApplicantPayload').optional(),
|
|
610
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
611
|
+
success: z.boolean()
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
export function CreateBecomeClientInputSchema() {
|
|
615
|
+
return z.object({
|
|
616
|
+
_placeholder: z.string().nullable()
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
export function CreateBecomeClientPayloadSchema() {
|
|
620
|
+
return z.object({
|
|
621
|
+
__typename: z.literal('CreateBecomeClientPayload').optional(),
|
|
622
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
623
|
+
success: z.boolean()
|
|
624
|
+
});
|
|
625
|
+
}
|
|
626
|
+
export function CreateCoachingEngagementInputSchema() {
|
|
627
|
+
return z.object({
|
|
628
|
+
_placeholder: z.string().nullable()
|
|
629
|
+
});
|
|
630
|
+
}
|
|
631
|
+
export function CreateCoachingEngagementPayloadSchema() {
|
|
632
|
+
return z.object({
|
|
633
|
+
__typename: z.literal('CreateCoachingEngagementPayload').optional(),
|
|
634
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
635
|
+
success: z.boolean()
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
export function CreateCommunityLeaderApplicationInputSchema() {
|
|
639
|
+
return z.object({
|
|
640
|
+
_placeholder: z.string().nullable()
|
|
641
|
+
});
|
|
642
|
+
}
|
|
643
|
+
export function CreateCommunityLeaderApplicationPayloadSchema() {
|
|
644
|
+
return z.object({
|
|
645
|
+
__typename: z.literal('CreateCommunityLeaderApplicationPayload').optional(),
|
|
646
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
647
|
+
success: z.boolean()
|
|
648
|
+
});
|
|
649
|
+
}
|
|
650
|
+
export function CreateDirectReferralInputSchema() {
|
|
651
|
+
return z.object({
|
|
652
|
+
_placeholder: z.string().nullable()
|
|
653
|
+
});
|
|
654
|
+
}
|
|
655
|
+
export function CreateDirectReferralPayloadSchema() {
|
|
656
|
+
return z.object({
|
|
657
|
+
__typename: z.literal('CreateDirectReferralPayload').optional(),
|
|
658
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
659
|
+
success: z.boolean()
|
|
660
|
+
});
|
|
661
|
+
}
|
|
662
|
+
export function CreateEngagementTestimonialPayloadSchema() {
|
|
663
|
+
return z.object({
|
|
664
|
+
__typename: z.literal('CreateEngagementTestimonialPayload').optional(),
|
|
665
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
666
|
+
success: z.boolean()
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
export function CreateForTestingPayloadSchema() {
|
|
670
|
+
return z.object({
|
|
671
|
+
__typename: z.literal('CreateForTestingPayload').optional(),
|
|
672
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
673
|
+
success: z.boolean()
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
export function CreateMarketplaceHelpRequestInputSchema() {
|
|
677
|
+
return z.object({
|
|
678
|
+
_placeholder: z.string().nullable()
|
|
679
|
+
});
|
|
680
|
+
}
|
|
681
|
+
export function CreateMarketplaceHelpRequestPayloadSchema() {
|
|
682
|
+
return z.object({
|
|
683
|
+
__typename: z.literal('CreateMarketplaceHelpRequestPayload').optional(),
|
|
684
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
685
|
+
success: z.boolean()
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
export function CreatePaymentOptionInputSchema() {
|
|
689
|
+
return z.object({
|
|
690
|
+
_placeholder: z.string().nullable()
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
export function CreatePaymentOptionPayloadSchema() {
|
|
694
|
+
return z.object({
|
|
695
|
+
__typename: z.literal('CreatePaymentOptionPayload').optional(),
|
|
696
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
697
|
+
success: z.boolean()
|
|
698
|
+
});
|
|
699
|
+
}
|
|
700
|
+
export function CreateRateChangeRequestInputSchema() {
|
|
701
|
+
return z.object({
|
|
702
|
+
_placeholder: z.string().nullable()
|
|
703
|
+
});
|
|
704
|
+
}
|
|
705
|
+
export function CreateRateChangeRequestPayloadSchema() {
|
|
706
|
+
return z.object({
|
|
707
|
+
__typename: z.literal('CreateRateChangeRequestPayload').optional(),
|
|
708
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
709
|
+
success: z.boolean()
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
export function CreateTalentSignalInputSchema() {
|
|
713
|
+
return z.object({
|
|
714
|
+
_placeholder: z.string().nullable()
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
export function CreateTalentSignalPayloadSchema() {
|
|
718
|
+
return z.object({
|
|
719
|
+
__typename: z.literal('CreateTalentSignalPayload').optional(),
|
|
720
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
721
|
+
success: z.boolean()
|
|
722
|
+
});
|
|
723
|
+
}
|
|
724
|
+
export function CreateTopChatConversationInputSchema() {
|
|
725
|
+
return z.object({
|
|
726
|
+
_placeholder: z.string().nullable()
|
|
727
|
+
});
|
|
728
|
+
}
|
|
729
|
+
export function CreateTopChatConversationPayloadSchema() {
|
|
730
|
+
return z.object({
|
|
731
|
+
__typename: z.literal('CreateTopChatConversationPayload').optional(),
|
|
732
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
733
|
+
success: z.boolean()
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
export function CreateTopChatUploadInputSchema() {
|
|
737
|
+
return z.object({
|
|
738
|
+
_placeholder: z.string().nullable()
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
export function CreateTopChatUploadPayloadSchema() {
|
|
742
|
+
return z.object({
|
|
743
|
+
__typename: z.literal('CreateTopChatUploadPayload').optional(),
|
|
744
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
745
|
+
success: z.boolean()
|
|
746
|
+
});
|
|
747
|
+
}
|
|
748
|
+
export function DateFilterSchema() {
|
|
749
|
+
return z.object({
|
|
750
|
+
_placeholder: z.string().nullable()
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
export function DesiredOverlappingHoursFilterSchema() {
|
|
754
|
+
return z.object({
|
|
755
|
+
from: z.string().nullable(),
|
|
756
|
+
to: z.string().nullable()
|
|
757
|
+
});
|
|
758
|
+
}
|
|
759
|
+
export function DevelopmentCreateAvailabilityRequestPayloadSchema() {
|
|
760
|
+
return z.object({
|
|
761
|
+
__typename: z.literal('DevelopmentCreateAvailabilityRequestPayload').optional(),
|
|
762
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
763
|
+
success: z.boolean()
|
|
764
|
+
});
|
|
765
|
+
}
|
|
766
|
+
export function DevelopmentCreateEngagementPayloadSchema() {
|
|
767
|
+
return z.object({
|
|
768
|
+
__typename: z.literal('DevelopmentCreateEngagementPayload').optional(),
|
|
769
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
770
|
+
success: z.boolean()
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
export function DevelopmentCreateInterviewPayloadSchema() {
|
|
774
|
+
return z.object({
|
|
775
|
+
__typename: z.literal('DevelopmentCreateInterviewPayload').optional(),
|
|
776
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
777
|
+
success: z.boolean()
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
export function DevelopmentCreateMobileAnnouncementPayloadSchema() {
|
|
781
|
+
return z.object({
|
|
782
|
+
__typename: z.literal('DevelopmentCreateMobileAnnouncementPayload').optional(),
|
|
783
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
784
|
+
success: z.boolean()
|
|
785
|
+
});
|
|
786
|
+
}
|
|
787
|
+
export function DevelopmentSendSurveyInterviewEndedPayloadSchema() {
|
|
788
|
+
return z.object({
|
|
789
|
+
__typename: z.literal('DevelopmentSendSurveyInterviewEndedPayload').optional(),
|
|
790
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
791
|
+
success: z.boolean()
|
|
792
|
+
});
|
|
793
|
+
}
|
|
794
|
+
export function DevelopmentSendSurveyMidEngagementPayloadSchema() {
|
|
795
|
+
return z.object({
|
|
796
|
+
__typename: z.literal('DevelopmentSendSurveyMidEngagementPayload').optional(),
|
|
797
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
798
|
+
success: z.boolean()
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
export function EducationSchema() {
|
|
802
|
+
return z.object({
|
|
803
|
+
__typename: z.literal('Education').optional(),
|
|
804
|
+
degree: z.string(),
|
|
805
|
+
fieldOfStudy: z.string(),
|
|
806
|
+
id: z.string(),
|
|
807
|
+
institution: z.string(),
|
|
808
|
+
location: z.string(),
|
|
809
|
+
skills: z.lazy(() => SkillConnectionSchema()),
|
|
810
|
+
yearFrom: z.number(),
|
|
811
|
+
yearTo: z.number()
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
export function EducationConnectionSchema() {
|
|
815
|
+
return z.object({
|
|
816
|
+
__typename: z.literal('EducationConnection').optional(),
|
|
817
|
+
nodes: z.array(z.lazy(() => EducationSchema().nullable()))
|
|
818
|
+
});
|
|
819
|
+
}
|
|
820
|
+
export function EmploymentSchema() {
|
|
821
|
+
return z.object({
|
|
822
|
+
__typename: z.literal('Employment').optional(),
|
|
823
|
+
company: z.string(),
|
|
824
|
+
companyWebsite: z.string().nullable(),
|
|
825
|
+
endDate: z.number(),
|
|
826
|
+
experienceItems: z.array(z.string().nullable()),
|
|
827
|
+
highlight: z.boolean(),
|
|
828
|
+
id: z.string(),
|
|
829
|
+
industries: z.lazy(() => IndustryConnectionSchema()),
|
|
830
|
+
isEnterpriseExperience: z.boolean().nullable(),
|
|
831
|
+
managementExperience: z.lazy(() => ManagementExperienceSchema()),
|
|
832
|
+
position: z.string(),
|
|
833
|
+
primaryGeography: z.unknown().nullable(),
|
|
834
|
+
reportingTo: z.array(z.unknown().nullable()),
|
|
835
|
+
showViaToptal: z.boolean(),
|
|
836
|
+
skills: z.lazy(() => SkillConnectionSchema()),
|
|
837
|
+
startDate: z.number()
|
|
838
|
+
});
|
|
839
|
+
}
|
|
840
|
+
export function EmploymentConnectionSchema() {
|
|
841
|
+
return z.object({
|
|
842
|
+
__typename: z.literal('EmploymentConnection').optional(),
|
|
843
|
+
nodes: z.array(z.lazy(() => EmploymentSchema().nullable()))
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
export function EngagementAdditionalInfoSchema() {
|
|
847
|
+
return z.object({
|
|
848
|
+
__typename: z.literal('EngagementAdditionalInfo').optional(),
|
|
849
|
+
status: z.string().nullable()
|
|
850
|
+
});
|
|
851
|
+
}
|
|
852
|
+
export function EngagementAgreementSchema() {
|
|
853
|
+
return z.object({
|
|
854
|
+
__typename: z.literal('EngagementAgreement').optional(),
|
|
855
|
+
applicationRate: z.string(),
|
|
856
|
+
commitment: z.lazy(() => CommitmentTypeSchema()),
|
|
857
|
+
marketplaceMargin: z.unknown().nullable(),
|
|
858
|
+
talentHourlyRate: z.string(),
|
|
859
|
+
talentRate: z.string(),
|
|
860
|
+
timePeriod: z.string()
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
export function EngagementBillCycleSchema() {
|
|
864
|
+
return z.object({
|
|
865
|
+
__typename: z.literal('EngagementBillCycle').optional(),
|
|
866
|
+
verbose: z.string()
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
export function EngagementBreakCancelPayloadSchema() {
|
|
870
|
+
return z.object({
|
|
871
|
+
__typename: z.literal('EngagementBreakCancelPayload').optional(),
|
|
872
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
873
|
+
success: z.boolean()
|
|
874
|
+
});
|
|
875
|
+
}
|
|
876
|
+
export function EngagementBreakOpsSchema() {
|
|
877
|
+
return z.object({
|
|
878
|
+
__typename: z.literal('EngagementBreakOps').optional(),
|
|
879
|
+
cancel: z.lazy(() => EngagementBreakCancelPayloadSchema().nullable()),
|
|
880
|
+
reschedule: z.lazy(() => EngagementBreakReschedulePayloadSchema().nullable())
|
|
881
|
+
});
|
|
882
|
+
}
|
|
883
|
+
export function EngagementBreakOpsCancelArgsSchema() {
|
|
884
|
+
return z.object({
|
|
885
|
+
input: z.unknown().nullable()
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
export function EngagementBreakOpsRescheduleArgsSchema() {
|
|
889
|
+
return z.object({
|
|
890
|
+
input: z.unknown().nullable()
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
export function EngagementBreakReschedulePayloadSchema() {
|
|
894
|
+
return z.object({
|
|
895
|
+
__typename: z.literal('EngagementBreakReschedulePayload').optional(),
|
|
896
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
897
|
+
success: z.boolean()
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
export function EngagementCreateBreakPayloadSchema() {
|
|
901
|
+
return z.object({
|
|
902
|
+
__typename: z.literal('EngagementCreateBreakPayload').optional(),
|
|
903
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
904
|
+
success: z.boolean()
|
|
905
|
+
});
|
|
906
|
+
}
|
|
907
|
+
export function EngagementOperationsSchema() {
|
|
908
|
+
return z.object({
|
|
909
|
+
__typename: z.literal('EngagementOperations').optional(),
|
|
910
|
+
scheduleEngagementBreak: z.lazy(() => EngagementOperationsScheduleEngagementBreakSchema())
|
|
911
|
+
});
|
|
912
|
+
}
|
|
913
|
+
export function EngagementOperationsScheduleEngagementBreakSchema() {
|
|
914
|
+
return z.object({
|
|
915
|
+
__typename: z.literal('EngagementOperationsScheduleEngagementBreak').optional(),
|
|
916
|
+
callable: z.string()
|
|
917
|
+
});
|
|
918
|
+
}
|
|
919
|
+
export function EngagementOpsSchema() {
|
|
920
|
+
return z.object({
|
|
921
|
+
__typename: z.literal('EngagementOps').optional(),
|
|
922
|
+
createBreak: z.lazy(() => EngagementCreateBreakPayloadSchema().nullable()),
|
|
923
|
+
proposeEndDate: z.lazy(() => MutationResultSchema().nullable())
|
|
924
|
+
});
|
|
925
|
+
}
|
|
926
|
+
export function EngagementOpsCreateBreakArgsSchema() {
|
|
927
|
+
return z.object({
|
|
928
|
+
input: z.unknown().nullable()
|
|
929
|
+
});
|
|
930
|
+
}
|
|
931
|
+
export function EngagementOpsProposeEndDateArgsSchema() {
|
|
932
|
+
return z.object({
|
|
933
|
+
input: z.unknown().nullable()
|
|
934
|
+
});
|
|
935
|
+
}
|
|
936
|
+
export function EnrollInLearningProgramPayloadSchema() {
|
|
937
|
+
return z.object({
|
|
938
|
+
__typename: z.literal('EnrollInLearningProgramPayload').optional(),
|
|
939
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
940
|
+
success: z.boolean()
|
|
941
|
+
});
|
|
942
|
+
}
|
|
943
|
+
export function FeedbackReasonSchema() {
|
|
944
|
+
return z.object({
|
|
945
|
+
__typename: z.literal('FeedbackReason').optional(),
|
|
946
|
+
identifier: z.string(),
|
|
947
|
+
nameForRole: z.string()
|
|
948
|
+
});
|
|
949
|
+
}
|
|
950
|
+
export function HideCommunitySlackChannelRecommendationInputSchema() {
|
|
951
|
+
return z.object({
|
|
952
|
+
_placeholder: z.string().nullable()
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
export function HideCommunitySlackChannelRecommendationPayloadSchema() {
|
|
956
|
+
return z.object({
|
|
957
|
+
__typename: z.literal('HideCommunitySlackChannelRecommendationPayload').optional(),
|
|
958
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
959
|
+
success: z.boolean()
|
|
960
|
+
});
|
|
961
|
+
}
|
|
962
|
+
export function HireMeBannerSchema() {
|
|
963
|
+
return z.object({
|
|
964
|
+
__typename: z.literal('HireMeBanner').optional(),
|
|
965
|
+
enabled: z.boolean(),
|
|
966
|
+
experimentVariant: z.string(),
|
|
967
|
+
personalWebsiteUrl: z.string(),
|
|
968
|
+
referralUrl: z.string(),
|
|
969
|
+
submitted: z.boolean(),
|
|
970
|
+
verificationStatus: z.string(),
|
|
971
|
+
verifiedCount: z.number()
|
|
972
|
+
});
|
|
973
|
+
}
|
|
974
|
+
export function HourlyRateSchema() {
|
|
975
|
+
return z.object({
|
|
976
|
+
__typename: z.literal('HourlyRate').optional(),
|
|
977
|
+
budgetFit: z.string()
|
|
978
|
+
});
|
|
979
|
+
}
|
|
980
|
+
export function HourlyRateFilterSchema() {
|
|
981
|
+
return z.object({
|
|
982
|
+
budgetFit: z.unknown().nullable()
|
|
983
|
+
});
|
|
984
|
+
}
|
|
985
|
+
export function IndustrySchema() {
|
|
986
|
+
return z.object({
|
|
987
|
+
__typename: z.literal('Industry').optional(),
|
|
988
|
+
id: z.string(),
|
|
989
|
+
name: z.string()
|
|
990
|
+
});
|
|
991
|
+
}
|
|
992
|
+
export function IndustryConnectionSchema() {
|
|
993
|
+
return z.object({
|
|
994
|
+
__typename: z.literal('IndustryConnection').optional(),
|
|
995
|
+
nodes: z.array(z.lazy(() => IndustrySchema().nullable())),
|
|
996
|
+
totalCount: z.number()
|
|
997
|
+
});
|
|
998
|
+
}
|
|
999
|
+
export function IndustryConnectionsSchema() {
|
|
1000
|
+
return z.object({
|
|
1001
|
+
__typename: z.literal('IndustryConnections').optional(),
|
|
1002
|
+
nodes: z.array(z.lazy(() => EmploymentSchema().nullable()))
|
|
1003
|
+
});
|
|
1004
|
+
}
|
|
1005
|
+
export function IndustryConnectionsCreateInputSchema() {
|
|
1006
|
+
return z.object({
|
|
1007
|
+
industryId: z.string(),
|
|
1008
|
+
profileItems: z.array(z.unknown().nullable())
|
|
1009
|
+
});
|
|
1010
|
+
}
|
|
1011
|
+
export function InterviewAcceptPayloadSchema() {
|
|
1012
|
+
return z.object({
|
|
1013
|
+
__typename: z.literal('InterviewAcceptPayload').optional(),
|
|
1014
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1015
|
+
success: z.boolean()
|
|
1016
|
+
});
|
|
1017
|
+
}
|
|
1018
|
+
export function InterviewContextSchema() {
|
|
1019
|
+
return z.object({
|
|
1020
|
+
__typename: z.literal('InterviewContext').optional(),
|
|
1021
|
+
subject: z.unknown().nullable()
|
|
1022
|
+
});
|
|
1023
|
+
}
|
|
1024
|
+
export function InterviewOpsSchema() {
|
|
1025
|
+
return z.object({
|
|
1026
|
+
__typename: z.literal('InterviewOps').optional(),
|
|
1027
|
+
accept: z.lazy(() => InterviewAcceptPayloadSchema().nullable()),
|
|
1028
|
+
changeTalentNotes: z.lazy(() => MutationResultSchema().nullable()),
|
|
1029
|
+
reject: z.lazy(() => InterviewRejectPayloadSchema().nullable())
|
|
1030
|
+
});
|
|
1031
|
+
}
|
|
1032
|
+
export function InterviewOpsAcceptArgsSchema() {
|
|
1033
|
+
return z.object({
|
|
1034
|
+
input: z.unknown().nullable()
|
|
1035
|
+
});
|
|
1036
|
+
}
|
|
1037
|
+
export function InterviewOpsChangeTalentNotesArgsSchema() {
|
|
1038
|
+
return z.object({
|
|
1039
|
+
input: z.lazy(() => InterviewTalentNotesInputSchema())
|
|
1040
|
+
});
|
|
1041
|
+
}
|
|
1042
|
+
export function InterviewOpsRejectArgsSchema() {
|
|
1043
|
+
return z.object({
|
|
1044
|
+
input: z.unknown().nullable()
|
|
1045
|
+
});
|
|
1046
|
+
}
|
|
1047
|
+
export function InterviewRejectPayloadSchema() {
|
|
1048
|
+
return z.object({
|
|
1049
|
+
__typename: z.literal('InterviewRejectPayload').optional(),
|
|
1050
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1051
|
+
success: z.boolean()
|
|
1052
|
+
});
|
|
1053
|
+
}
|
|
1054
|
+
export function InterviewRejectReasonSchema() {
|
|
1055
|
+
return z.object({
|
|
1056
|
+
__typename: z.literal('InterviewRejectReason').optional(),
|
|
1057
|
+
commentRequired: z.boolean(),
|
|
1058
|
+
identifier: z.string(),
|
|
1059
|
+
label: z.string()
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
export function InterviewTalentNotesInputSchema() {
|
|
1063
|
+
return z.object({
|
|
1064
|
+
_placeholder: z.string().nullable()
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
1067
|
+
export function InterviewTalentNotesPayloadSchema() {
|
|
1068
|
+
return z.object({
|
|
1069
|
+
__typename: z.literal('InterviewTalentNotesPayload').optional(),
|
|
1070
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1071
|
+
success: z.boolean()
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
export function JobActivityItemStatusSchema() {
|
|
1075
|
+
return z.object({
|
|
1076
|
+
__typename: z.literal('JobActivityItemStatus').optional(),
|
|
1077
|
+
raw: z.string(),
|
|
1078
|
+
slug: z.string(),
|
|
1079
|
+
value: z.string(),
|
|
1080
|
+
verbose: z.string()
|
|
1081
|
+
});
|
|
1082
|
+
}
|
|
1083
|
+
export function JobActivityItemStatusGroupSchema() {
|
|
1084
|
+
return z.object({
|
|
1085
|
+
__typename: z.literal('JobActivityItemStatusGroup').optional(),
|
|
1086
|
+
value: z.string(),
|
|
1087
|
+
verbose: z.string()
|
|
1088
|
+
});
|
|
1089
|
+
}
|
|
1090
|
+
export function JobActivityListSchema() {
|
|
1091
|
+
return z.object({
|
|
1092
|
+
__typename: z.literal('JobActivityList').optional(),
|
|
1093
|
+
entities: z.array(z.lazy(() => TalentJobActivityItemSchema().nullable())),
|
|
1094
|
+
ids: z.array(z.string().nullable()),
|
|
1095
|
+
totalCount: z.number()
|
|
1096
|
+
});
|
|
1097
|
+
}
|
|
1098
|
+
export function JobApplicationSchema() {
|
|
1099
|
+
return z.object({
|
|
1100
|
+
__typename: z.literal('JobApplication').optional(),
|
|
1101
|
+
id: z.string(),
|
|
1102
|
+
requestedHourlyRate: z.lazy(() => MoneySchema())
|
|
1103
|
+
});
|
|
1104
|
+
}
|
|
1105
|
+
export function JobApplyPayloadSchema() {
|
|
1106
|
+
return z.object({
|
|
1107
|
+
__typename: z.literal('JobApplyPayload').optional(),
|
|
1108
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1109
|
+
success: z.boolean()
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
export function JobClearInterestStatusPayloadSchema() {
|
|
1113
|
+
return z.object({
|
|
1114
|
+
__typename: z.literal('JobClearInterestStatusPayload').optional(),
|
|
1115
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1116
|
+
success: z.boolean()
|
|
1117
|
+
});
|
|
1118
|
+
}
|
|
1119
|
+
export function JobEstimatedLengthSchema() {
|
|
1120
|
+
return z.object({
|
|
1121
|
+
__typename: z.literal('JobEstimatedLength').optional(),
|
|
1122
|
+
enumValue: z.string()
|
|
1123
|
+
});
|
|
1124
|
+
}
|
|
1125
|
+
export function JobExpertiseAnswerInputSchema() {
|
|
1126
|
+
return z.object({
|
|
1127
|
+
other: z.unknown().nullable(),
|
|
1128
|
+
questionId: z.string(),
|
|
1129
|
+
subjectId: z.unknown().nullable()
|
|
1130
|
+
});
|
|
1131
|
+
}
|
|
1132
|
+
export function JobHiringStatusSchema() {
|
|
1133
|
+
return z.object({
|
|
1134
|
+
__typename: z.literal('JobHiringStatus').optional(),
|
|
1135
|
+
hiredCount: z.number(),
|
|
1136
|
+
hiringStatus: z.string(),
|
|
1137
|
+
hiringStatusColor: z.string(),
|
|
1138
|
+
verbose: z.string().nullable()
|
|
1139
|
+
});
|
|
1140
|
+
}
|
|
1141
|
+
export function JobIndustriesConnectionSchema() {
|
|
1142
|
+
return z.object({
|
|
1143
|
+
__typename: z.literal('JobIndustriesConnection').optional(),
|
|
1144
|
+
edges: z.array(z.lazy(() => JobIndustryEdgeSchema().nullable()))
|
|
1145
|
+
});
|
|
1146
|
+
}
|
|
1147
|
+
export function JobIndustryEdgeSchema() {
|
|
1148
|
+
return z.object({
|
|
1149
|
+
__typename: z.literal('JobIndustryEdge').optional(),
|
|
1150
|
+
node: z.lazy(() => IndustrySchema())
|
|
1151
|
+
});
|
|
1152
|
+
}
|
|
1153
|
+
export function JobListSchema() {
|
|
1154
|
+
return z.object({
|
|
1155
|
+
__typename: z.literal('JobList').optional(),
|
|
1156
|
+
entities: z.array(z.lazy(() => TalentJobSchema().nullable())),
|
|
1157
|
+
ids: z.array(z.string().nullable()),
|
|
1158
|
+
totalCount: z.number(),
|
|
1159
|
+
unfilteredTotalCount: z.number()
|
|
1160
|
+
});
|
|
1161
|
+
}
|
|
1162
|
+
export function JobMarkNotInterestedPayloadSchema() {
|
|
1163
|
+
return z.object({
|
|
1164
|
+
__typename: z.literal('JobMarkNotInterestedPayload').optional(),
|
|
1165
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1166
|
+
success: z.boolean()
|
|
1167
|
+
});
|
|
1168
|
+
}
|
|
1169
|
+
export function JobMarkSavedPayloadSchema() {
|
|
1170
|
+
return z.object({
|
|
1171
|
+
__typename: z.literal('JobMarkSavedPayload').optional(),
|
|
1172
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1173
|
+
success: z.boolean()
|
|
1174
|
+
});
|
|
1175
|
+
}
|
|
1176
|
+
export function JobMarkViewedInputSchema() {
|
|
1177
|
+
return z.object({
|
|
1178
|
+
_placeholder: z.string().nullable()
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
export function JobMarkViewedPayloadSchema() {
|
|
1182
|
+
return z.object({
|
|
1183
|
+
__typename: z.literal('JobMarkViewedPayload').optional(),
|
|
1184
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1185
|
+
success: z.boolean()
|
|
1186
|
+
});
|
|
1187
|
+
}
|
|
1188
|
+
export function JobOperationsSchema() {
|
|
1189
|
+
return z.object({
|
|
1190
|
+
__typename: z.literal('JobOperations').optional(),
|
|
1191
|
+
apply: z.lazy(() => JobOperationsApplySchema()),
|
|
1192
|
+
markSaved: z.lazy(() => OperationSchema())
|
|
1193
|
+
});
|
|
1194
|
+
}
|
|
1195
|
+
export function JobOperationsApplySchema() {
|
|
1196
|
+
return z.object({
|
|
1197
|
+
__typename: z.literal('JobOperationsApply').optional(),
|
|
1198
|
+
errors: z.array(z.lazy(() => JobOperationsApplyErrorSchema().nullable()))
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
export function JobOperationsApplyErrorSchema() {
|
|
1202
|
+
return z.object({
|
|
1203
|
+
__typename: z.literal('JobOperationsApplyError').optional(),
|
|
1204
|
+
code: z.string(),
|
|
1205
|
+
message: z.string()
|
|
1206
|
+
});
|
|
1207
|
+
}
|
|
1208
|
+
export function JobOpsSchema() {
|
|
1209
|
+
return z.object({
|
|
1210
|
+
__typename: z.literal('JobOps').optional(),
|
|
1211
|
+
apply: z.lazy(() => JobApplyPayloadSchema().nullable()),
|
|
1212
|
+
clearInterestStatus: z.lazy(() => JobClearInterestStatusPayloadSchema().nullable()),
|
|
1213
|
+
markNotInterested: z.lazy(() => JobMarkNotInterestedPayloadSchema().nullable()),
|
|
1214
|
+
markSaved: z.lazy(() => JobMarkSavedPayloadSchema().nullable()),
|
|
1215
|
+
markViewed: z.lazy(() => JobMarkViewedPayloadSchema().nullable()),
|
|
1216
|
+
startIdVerification: z.lazy(() => TalentStartIdVerificationPayloadSchema().nullable())
|
|
1217
|
+
});
|
|
1218
|
+
}
|
|
1219
|
+
export function JobOpsApplyArgsSchema() {
|
|
1220
|
+
return z.object({
|
|
1221
|
+
input: z.unknown().nullable()
|
|
1222
|
+
});
|
|
1223
|
+
}
|
|
1224
|
+
export function JobOpsClearInterestStatusArgsSchema() {
|
|
1225
|
+
return z.object({
|
|
1226
|
+
input: z.unknown().nullable()
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
export function JobOpsMarkNotInterestedArgsSchema() {
|
|
1230
|
+
return z.object({
|
|
1231
|
+
input: z.unknown().nullable()
|
|
1232
|
+
});
|
|
1233
|
+
}
|
|
1234
|
+
export function JobOpsMarkSavedArgsSchema() {
|
|
1235
|
+
return z.object({
|
|
1236
|
+
input: z.unknown().nullable()
|
|
1237
|
+
});
|
|
1238
|
+
}
|
|
1239
|
+
export function JobOpsMarkViewedArgsSchema() {
|
|
1240
|
+
return z.object({
|
|
1241
|
+
input: z.unknown().nullable()
|
|
1242
|
+
});
|
|
1243
|
+
}
|
|
1244
|
+
export function JobOpsStartIdVerificationArgsSchema() {
|
|
1245
|
+
return z.object({
|
|
1246
|
+
input: z.unknown().nullable()
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
export function JobPositionAnswerSchema() {
|
|
1250
|
+
return z.object({
|
|
1251
|
+
__typename: z.literal('JobPositionAnswer').optional(),
|
|
1252
|
+
answer: z.string(),
|
|
1253
|
+
id: z.string(),
|
|
1254
|
+
question: z.lazy(() => JobPositionQuestionSchema())
|
|
1255
|
+
});
|
|
1256
|
+
}
|
|
1257
|
+
export function JobPositionAnswerInputSchema() {
|
|
1258
|
+
return z.object({
|
|
1259
|
+
answer: z.string(),
|
|
1260
|
+
id: z.string()
|
|
1261
|
+
});
|
|
1262
|
+
}
|
|
1263
|
+
export function JobPositionQuestionSchema() {
|
|
1264
|
+
return z.object({
|
|
1265
|
+
__typename: z.literal('JobPositionQuestion').optional(),
|
|
1266
|
+
id: z.string(),
|
|
1267
|
+
question: z.string()
|
|
1268
|
+
});
|
|
1269
|
+
}
|
|
1270
|
+
export function JobSkillSetSchema() {
|
|
1271
|
+
return z.object({
|
|
1272
|
+
__typename: z.literal('JobSkillSet').optional(),
|
|
1273
|
+
id: z.string(),
|
|
1274
|
+
isOptional: z.boolean(),
|
|
1275
|
+
rating: z.number(),
|
|
1276
|
+
theSkill: z.lazy(() => SkillSchema())
|
|
1277
|
+
});
|
|
1278
|
+
}
|
|
1279
|
+
export function JobSkillSetEdgeSchema() {
|
|
1280
|
+
return z.object({
|
|
1281
|
+
__typename: z.literal('JobSkillSetEdge').optional(),
|
|
1282
|
+
node: z.lazy(() => JobSkillSetSchema())
|
|
1283
|
+
});
|
|
1284
|
+
}
|
|
1285
|
+
export function JobSkillSetsConnectionSchema() {
|
|
1286
|
+
return z.object({
|
|
1287
|
+
__typename: z.literal('JobSkillSetsConnection').optional(),
|
|
1288
|
+
edges: z.array(z.lazy(() => JobSkillSetEdgeSchema().nullable()))
|
|
1289
|
+
});
|
|
1290
|
+
}
|
|
1291
|
+
export function JobSpecializationSchema() {
|
|
1292
|
+
return z.object({
|
|
1293
|
+
__typename: z.literal('JobSpecialization').optional(),
|
|
1294
|
+
title: z.string()
|
|
1295
|
+
});
|
|
1296
|
+
}
|
|
1297
|
+
export function JobTimeZoneSchema() {
|
|
1298
|
+
return z.object({
|
|
1299
|
+
__typename: z.literal('JobTimeZone').optional(),
|
|
1300
|
+
hoursOverlap: z.number().nullable(),
|
|
1301
|
+
recommendedHoursOverlap: z.number(),
|
|
1302
|
+
timeZone: z.lazy(() => TimeZoneSchema()),
|
|
1303
|
+
verbose: z.string(),
|
|
1304
|
+
workingHoursAreApproximate: z.boolean(),
|
|
1305
|
+
workingTimeFrom: z.string(),
|
|
1306
|
+
workingTimeTo: z.string()
|
|
1307
|
+
});
|
|
1308
|
+
}
|
|
1309
|
+
export function JobUnmarkNotInterestedPayloadSchema() {
|
|
1310
|
+
return z.object({
|
|
1311
|
+
__typename: z.literal('JobUnmarkNotInterestedPayload').optional(),
|
|
1312
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1313
|
+
success: z.boolean()
|
|
1314
|
+
});
|
|
1315
|
+
}
|
|
1316
|
+
export function JobWorkTypeSchema() {
|
|
1317
|
+
return z.object({
|
|
1318
|
+
__typename: z.literal('JobWorkType').optional(),
|
|
1319
|
+
slug: z.string()
|
|
1320
|
+
});
|
|
1321
|
+
}
|
|
1322
|
+
export function KeyValueStringsSchema() {
|
|
1323
|
+
return z.object({
|
|
1324
|
+
__typename: z.literal('KeyValueStrings').optional(),
|
|
1325
|
+
key: z.string(),
|
|
1326
|
+
value: z.string()
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
export function LanguageSchema() {
|
|
1330
|
+
return z.object({
|
|
1331
|
+
__typename: z.literal('Language').optional(),
|
|
1332
|
+
id: z.string(),
|
|
1333
|
+
name: z.string()
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
export function LearningProgramMutationsSchema() {
|
|
1337
|
+
return z.object({
|
|
1338
|
+
__typename: z.literal('LearningProgramMutations').optional(),
|
|
1339
|
+
enroll: z.lazy(() => MutationResultSchema().nullable())
|
|
1340
|
+
});
|
|
1341
|
+
}
|
|
1342
|
+
export function LearningProgramMutationsEnrollArgsSchema() {
|
|
1343
|
+
return z.object({
|
|
1344
|
+
input: z.unknown().nullable()
|
|
1345
|
+
});
|
|
1346
|
+
}
|
|
1347
|
+
export function ManagementExperienceSchema() {
|
|
1348
|
+
return z.object({
|
|
1349
|
+
__typename: z.literal('ManagementExperience').optional(),
|
|
1350
|
+
reportsRange: z.string().nullable()
|
|
1351
|
+
});
|
|
1352
|
+
}
|
|
1353
|
+
export function MarkAsPreferredPaymentOptionInputSchema() {
|
|
1354
|
+
return z.object({
|
|
1355
|
+
_placeholder: z.string().nullable()
|
|
1356
|
+
});
|
|
1357
|
+
}
|
|
1358
|
+
export function MarkAsPreferredPaymentOptionPayloadSchema() {
|
|
1359
|
+
return z.object({
|
|
1360
|
+
__typename: z.literal('MarkAsPreferredPaymentOptionPayload').optional(),
|
|
1361
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1362
|
+
success: z.boolean()
|
|
1363
|
+
});
|
|
1364
|
+
}
|
|
1365
|
+
export function MarkJobsAsViewedInputSchema() {
|
|
1366
|
+
return z.object({
|
|
1367
|
+
_placeholder: z.string().nullable()
|
|
1368
|
+
});
|
|
1369
|
+
}
|
|
1370
|
+
export function MarkJobsAsViewedPayloadSchema() {
|
|
1371
|
+
return z.object({
|
|
1372
|
+
__typename: z.literal('MarkJobsAsViewedPayload').optional(),
|
|
1373
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1374
|
+
success: z.boolean()
|
|
1375
|
+
});
|
|
1376
|
+
}
|
|
1377
|
+
export function MarkMarketplaceMigrationNotificationSeenPayloadSchema() {
|
|
1378
|
+
return z.object({
|
|
1379
|
+
__typename: z.literal('MarkMarketplaceMigrationNotificationSeenPayload').optional(),
|
|
1380
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1381
|
+
success: z.boolean()
|
|
1382
|
+
});
|
|
1383
|
+
}
|
|
1384
|
+
export function MarkSeenFirstJobNotificationPayloadSchema() {
|
|
1385
|
+
return z.object({
|
|
1386
|
+
__typename: z.literal('MarkSeenFirstJobNotificationPayload').optional(),
|
|
1387
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1388
|
+
success: z.boolean()
|
|
1389
|
+
});
|
|
1390
|
+
}
|
|
1391
|
+
export function MemorandumsConnectionSchema() {
|
|
1392
|
+
return z.object({
|
|
1393
|
+
__typename: z.literal('MemorandumsConnection').optional(),
|
|
1394
|
+
nodes: z.array(z.unknown().nullable())
|
|
1395
|
+
});
|
|
1396
|
+
}
|
|
1397
|
+
export function MobileAccessSchema() {
|
|
1398
|
+
return z.object({
|
|
1399
|
+
__typename: z.literal('MobileAccess').optional(),
|
|
1400
|
+
deviceType: z.string(),
|
|
1401
|
+
startedAt: z.string()
|
|
1402
|
+
});
|
|
1403
|
+
}
|
|
1404
|
+
export function MobileAnnouncementSchema() {
|
|
1405
|
+
return z.object({
|
|
1406
|
+
__typename: z.literal('MobileAnnouncement').optional(),
|
|
1407
|
+
destination: z.lazy(() => MobileAnnouncementDestinationSchema()),
|
|
1408
|
+
id: z.string(),
|
|
1409
|
+
style: z.string(),
|
|
1410
|
+
summary: z.string()
|
|
1411
|
+
});
|
|
1412
|
+
}
|
|
1413
|
+
export function MobileAnnouncementDestinationSchema() {
|
|
1414
|
+
return z.union([MobileExternalLinkSchema(), MobileTopTipSchema()]);
|
|
1415
|
+
}
|
|
1416
|
+
export function MobileAppSettingSchema() {
|
|
1417
|
+
return z.object({
|
|
1418
|
+
__typename: z.literal('MobileAppSetting').optional(),
|
|
1419
|
+
hasSeenJobOfferDiclaimer: z.boolean()
|
|
1420
|
+
});
|
|
1421
|
+
}
|
|
1422
|
+
export function MobileAppSubmitFeedbackPayloadSchema() {
|
|
1423
|
+
return z.object({
|
|
1424
|
+
__typename: z.literal('MobileAppSubmitFeedbackPayload').optional(),
|
|
1425
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1426
|
+
success: z.boolean()
|
|
1427
|
+
});
|
|
1428
|
+
}
|
|
1429
|
+
export function MobileAppViewJobOfferDisclaimerPayloadSchema() {
|
|
1430
|
+
return z.object({
|
|
1431
|
+
__typename: z.literal('MobileAppViewJobOfferDisclaimerPayload').optional(),
|
|
1432
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1433
|
+
success: z.boolean()
|
|
1434
|
+
});
|
|
1435
|
+
}
|
|
1436
|
+
export function MobileExternalLinkSchema() {
|
|
1437
|
+
return z.object({
|
|
1438
|
+
__typename: z.literal('MobileExternalLink').optional(),
|
|
1439
|
+
externalUrl: z.string().nullable()
|
|
1440
|
+
});
|
|
1441
|
+
}
|
|
1442
|
+
export function MobileFeedbackQuestionSchema() {
|
|
1443
|
+
return MobileFeedbackQuestionEmojiRatingSchema();
|
|
1444
|
+
}
|
|
1445
|
+
export function MobileFeedbackQuestionEmojiRatingSchema() {
|
|
1446
|
+
return z.object({
|
|
1447
|
+
__typename: z.literal('MobileFeedbackQuestionEmojiRating').optional(),
|
|
1448
|
+
label: z.string().nullable(),
|
|
1449
|
+
options: z.array(z.lazy(() => MobileFeedbackQuestionEmojiRatingOptionSchema())).nullable()
|
|
1450
|
+
});
|
|
1451
|
+
}
|
|
1452
|
+
export function MobileFeedbackQuestionEmojiRatingOptionSchema() {
|
|
1453
|
+
return z.object({
|
|
1454
|
+
__typename: z.literal('MobileFeedbackQuestionEmojiRatingOption').optional(),
|
|
1455
|
+
label: z.string().nullable(),
|
|
1456
|
+
value: z.string().nullable()
|
|
1457
|
+
});
|
|
1458
|
+
}
|
|
1459
|
+
export function MobileStoryPageContentSchema() {
|
|
1460
|
+
return z.union([MobileStoryPageContentBadgeSchema(), MobileStoryPageContentChartSchema(), MobileStoryPageContentMetricSchema(), MobileStoryPageContentYearsAtToptalSchema()]);
|
|
1461
|
+
}
|
|
1462
|
+
export function MobileStoryPageContentBadgeSchema() {
|
|
1463
|
+
return z.object({
|
|
1464
|
+
__typename: z.literal('MobileStoryPageContentBadge').optional(),
|
|
1465
|
+
badges: z.array(z.lazy(() => BadgeSchema())).nullable(),
|
|
1466
|
+
subtitle: z.string().nullable()
|
|
1467
|
+
});
|
|
1468
|
+
}
|
|
1469
|
+
export function MobileStoryPageContentChartSchema() {
|
|
1470
|
+
return z.object({
|
|
1471
|
+
__typename: z.literal('MobileStoryPageContentChart').optional(),
|
|
1472
|
+
color: z.string().nullable(),
|
|
1473
|
+
data: z.array(z.lazy(() => MobileStoryPageContentChartDataPointSchema())).nullable(),
|
|
1474
|
+
kind: z.string().nullable(),
|
|
1475
|
+
secondaryColor: z.string().nullable(),
|
|
1476
|
+
summary: z.string().nullable(),
|
|
1477
|
+
title: z.string().nullable()
|
|
1478
|
+
});
|
|
1479
|
+
}
|
|
1480
|
+
export function MobileStoryPageContentChartDataPointSchema() {
|
|
1481
|
+
return z.object({
|
|
1482
|
+
__typename: z.literal('MobileStoryPageContentChartDataPoint').optional(),
|
|
1483
|
+
date: z.string().nullable(),
|
|
1484
|
+
value: z.string().nullable()
|
|
1485
|
+
});
|
|
1486
|
+
}
|
|
1487
|
+
export function MobileStoryPageContentMetricSchema() {
|
|
1488
|
+
return z.object({
|
|
1489
|
+
__typename: z.literal('MobileStoryPageContentMetric').optional(),
|
|
1490
|
+
metric: z.string().nullable(),
|
|
1491
|
+
metricUnit: z.string().nullable(),
|
|
1492
|
+
subtitle: z.string().nullable()
|
|
1493
|
+
});
|
|
1494
|
+
}
|
|
1495
|
+
export function MobileStoryPageContentYearsAtToptalSchema() {
|
|
1496
|
+
return z.object({
|
|
1497
|
+
__typename: z.literal('MobileStoryPageContentYearsAtToptal').optional(),
|
|
1498
|
+
yearsAtToptal: z.number().nullable()
|
|
1499
|
+
});
|
|
1500
|
+
}
|
|
1501
|
+
export function MobileTopTipSchema() {
|
|
1502
|
+
return z.object({
|
|
1503
|
+
__typename: z.literal('MobileTopTip').optional(),
|
|
1504
|
+
id: z.string(),
|
|
1505
|
+
imageUrls: z.array(z.string().nullable()),
|
|
1506
|
+
textMd: z.string(),
|
|
1507
|
+
title: z.string()
|
|
1508
|
+
});
|
|
1509
|
+
}
|
|
1510
|
+
export function MoneySchema() {
|
|
1511
|
+
return z.object({
|
|
1512
|
+
__typename: z.literal('Money').optional(),
|
|
1513
|
+
decimal: z.string(),
|
|
1514
|
+
verbose: z.string()
|
|
1515
|
+
});
|
|
1516
|
+
}
|
|
1517
|
+
export function MutationResultSchema() {
|
|
1518
|
+
return z.object({
|
|
1519
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1520
|
+
success: z.boolean()
|
|
1521
|
+
});
|
|
1522
|
+
}
|
|
1523
|
+
export function NodeSchema() {
|
|
1524
|
+
return z.object({
|
|
1525
|
+
id: z.string()
|
|
1526
|
+
});
|
|
1527
|
+
}
|
|
1528
|
+
export function NotificationCenterNotificationSchema() {
|
|
1529
|
+
return z.object({
|
|
1530
|
+
__typename: z.literal('NotificationCenterNotification').optional(),
|
|
1531
|
+
action: z.unknown().nullable(),
|
|
1532
|
+
entity: z.lazy(() => NotificationEntitySchema()),
|
|
1533
|
+
icon: z.string(),
|
|
1534
|
+
id: z.string(),
|
|
1535
|
+
kind: z.string(),
|
|
1536
|
+
label: z.unknown().nullable(),
|
|
1537
|
+
notificationContext: z.lazy(() => TitleSubtitleContextSchema().nullable()),
|
|
1538
|
+
readAt: z.unknown().nullable(),
|
|
1539
|
+
relevantAt: z.string(),
|
|
1540
|
+
text: z.string()
|
|
1541
|
+
});
|
|
1542
|
+
}
|
|
1543
|
+
export function NotificationConnectionSchema() {
|
|
1544
|
+
return z.object({
|
|
1545
|
+
__typename: z.literal('NotificationConnection').optional(),
|
|
1546
|
+
ids: z.array(z.string().nullable()),
|
|
1547
|
+
nodes: z.array(z.lazy(() => NotificationCenterNotificationSchema().nullable())),
|
|
1548
|
+
totalCount: z.number()
|
|
1549
|
+
});
|
|
1550
|
+
}
|
|
1551
|
+
export function NotificationContextSchema() {
|
|
1552
|
+
return z.union([AvailabilityRequestAnsweredAfterThresholdContextSchema(), BadgeContextSchema(), InterviewContextSchema(), TitleSubtitleContextSchema()]);
|
|
1553
|
+
}
|
|
1554
|
+
export function NotificationEntitySchema() {
|
|
1555
|
+
return z.object({
|
|
1556
|
+
__typename: z.literal('NotificationEntity').optional(),
|
|
1557
|
+
entityId: z.string(),
|
|
1558
|
+
kind: z.string()
|
|
1559
|
+
});
|
|
1560
|
+
}
|
|
1561
|
+
export function NotificationSettingSchema() {
|
|
1562
|
+
return z.object({
|
|
1563
|
+
__typename: z.literal('NotificationSetting').optional(),
|
|
1564
|
+
jobAlertsMuteWhenUnavailable: z.boolean(),
|
|
1565
|
+
jobAlertsSubscription: z.string(),
|
|
1566
|
+
smsForNewAvailabilityRequests: z.boolean(),
|
|
1567
|
+
timesheetReminder: z.unknown().nullable()
|
|
1568
|
+
});
|
|
1569
|
+
}
|
|
1570
|
+
export function NotificationSettingOpsSchema() {
|
|
1571
|
+
return z.object({
|
|
1572
|
+
__typename: z.literal('NotificationSettingOps').optional(),
|
|
1573
|
+
update: z.lazy(() => NotificationSettingUpdatePayloadSchema().nullable()),
|
|
1574
|
+
updateTimesheetReminder: z.lazy(() => NotificationSettingUpdateTimesheetReminderPayloadSchema().nullable())
|
|
1575
|
+
});
|
|
1576
|
+
}
|
|
1577
|
+
export function NotificationSettingOpsUpdateArgsSchema() {
|
|
1578
|
+
return z.object({
|
|
1579
|
+
input: z.unknown().nullable()
|
|
1580
|
+
});
|
|
1581
|
+
}
|
|
1582
|
+
export function NotificationSettingOpsUpdateTimesheetReminderArgsSchema() {
|
|
1583
|
+
return z.object({
|
|
1584
|
+
input: z.unknown().nullable()
|
|
1585
|
+
});
|
|
1586
|
+
}
|
|
1587
|
+
export function NotificationSettingUpdateInputSchema() {
|
|
1588
|
+
return z.object({
|
|
1589
|
+
_placeholder: z.string().nullable()
|
|
1590
|
+
});
|
|
1591
|
+
}
|
|
1592
|
+
export function NotificationSettingUpdatePayloadSchema() {
|
|
1593
|
+
return z.object({
|
|
1594
|
+
__typename: z.literal('NotificationSettingUpdatePayload').optional(),
|
|
1595
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1596
|
+
success: z.boolean()
|
|
1597
|
+
});
|
|
1598
|
+
}
|
|
1599
|
+
export function NotificationSettingUpdateTimesheetReminderPayloadSchema() {
|
|
1600
|
+
return z.object({
|
|
1601
|
+
__typename: z.literal('NotificationSettingUpdateTimesheetReminderPayload').optional(),
|
|
1602
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1603
|
+
success: z.boolean()
|
|
1604
|
+
});
|
|
1605
|
+
}
|
|
1606
|
+
export function OperationSchema() {
|
|
1607
|
+
return z.object({
|
|
1608
|
+
__typename: z.literal('Operation').optional(),
|
|
1609
|
+
callable: z.string(),
|
|
1610
|
+
messages: z.array(z.unknown().nullable())
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
export function PaymentFilterSchema() {
|
|
1614
|
+
return z.object({
|
|
1615
|
+
amount: z.unknown().nullable(),
|
|
1616
|
+
clientIds: z.unknown().nullable(),
|
|
1617
|
+
createdAt: z.unknown().nullable(),
|
|
1618
|
+
createdOn: z.unknown().nullable(),
|
|
1619
|
+
dueDate: z.unknown().nullable(),
|
|
1620
|
+
engagementId: z.unknown().nullable(),
|
|
1621
|
+
kind: z.unknown().nullable(),
|
|
1622
|
+
status: z.unknown().nullable()
|
|
1623
|
+
});
|
|
1624
|
+
}
|
|
1625
|
+
export function PaymentOptionMutationsSchema() {
|
|
1626
|
+
return z.object({
|
|
1627
|
+
__typename: z.literal('PaymentOptionMutations').optional(),
|
|
1628
|
+
create: z.lazy(() => CreateBecomeClientPayloadSchema().nullable()),
|
|
1629
|
+
markAsPreferred: z.lazy(() => MutationResultSchema().nullable()),
|
|
1630
|
+
update: z.lazy(() => NotificationSettingUpdatePayloadSchema().nullable())
|
|
1631
|
+
});
|
|
1632
|
+
}
|
|
1633
|
+
export function PaymentOptionMutationsCreateArgsSchema() {
|
|
1634
|
+
return z.object({
|
|
1635
|
+
input: z.lazy(() => CreatePaymentOptionInputSchema())
|
|
1636
|
+
});
|
|
1637
|
+
}
|
|
1638
|
+
export function PaymentOptionMutationsMarkAsPreferredArgsSchema() {
|
|
1639
|
+
return z.object({
|
|
1640
|
+
input: z.lazy(() => MarkAsPreferredPaymentOptionInputSchema())
|
|
1641
|
+
});
|
|
1642
|
+
}
|
|
1643
|
+
export function PaymentOptionMutationsUpdateArgsSchema() {
|
|
1644
|
+
return z.object({
|
|
1645
|
+
input: z.lazy(() => UpdatePaymentOptionInputSchema())
|
|
1646
|
+
});
|
|
1647
|
+
}
|
|
1648
|
+
export function PaymentStatusFilterSchema() {
|
|
1649
|
+
return z.object({
|
|
1650
|
+
except: z.unknown().nullable(),
|
|
1651
|
+
only: z.unknown().nullable()
|
|
1652
|
+
});
|
|
1653
|
+
}
|
|
1654
|
+
export function PaymentsConnectionSchema() {
|
|
1655
|
+
return z.object({
|
|
1656
|
+
__typename: z.literal('PaymentsConnection').optional(),
|
|
1657
|
+
ids: z.array(z.string().nullable()),
|
|
1658
|
+
nodes: z.array(z.lazy(() => TalentPaymentSchema().nullable())),
|
|
1659
|
+
summary: z.lazy(() => PaymentsSummarySchema())
|
|
1660
|
+
});
|
|
1661
|
+
}
|
|
1662
|
+
export function PaymentsSummarySchema() {
|
|
1663
|
+
return z.object({
|
|
1664
|
+
__typename: z.literal('PaymentsSummary').optional(),
|
|
1665
|
+
totalDisputed: z.string(),
|
|
1666
|
+
totalDue: z.string(),
|
|
1667
|
+
totalOnHold: z.string(),
|
|
1668
|
+
totalOutstanding: z.string(),
|
|
1669
|
+
totalOverdue: z.string(),
|
|
1670
|
+
totalPaid: z.string()
|
|
1671
|
+
});
|
|
1672
|
+
}
|
|
1673
|
+
export function PhotoSchema() {
|
|
1674
|
+
return z.object({
|
|
1675
|
+
__typename: z.literal('Photo').optional(),
|
|
1676
|
+
large: z.string(),
|
|
1677
|
+
small: z.string()
|
|
1678
|
+
});
|
|
1679
|
+
}
|
|
1680
|
+
export function PitchInputSchema() {
|
|
1681
|
+
return z.object({
|
|
1682
|
+
certificationPitchItems: z.array(z.unknown().nullable()).nullable(),
|
|
1683
|
+
educationPitchItems: z.array(z.unknown().nullable()).nullable(),
|
|
1684
|
+
employmentPitchItems: z.array(z.unknown().nullable()).nullable(),
|
|
1685
|
+
industryPitchItems: z.array(z.unknown().nullable()).nullable(),
|
|
1686
|
+
mentorship: z.unknown().nullable(),
|
|
1687
|
+
portfolioPitchItems: z.array(z.unknown().nullable()).nullable(),
|
|
1688
|
+
publicationPitchItems: z.array(z.unknown().nullable()).nullable(),
|
|
1689
|
+
skillPitchItems: z.array(z.unknown().nullable()).nullable()
|
|
1690
|
+
});
|
|
1691
|
+
}
|
|
1692
|
+
export function PitchItemCertificationInputSchema() {
|
|
1693
|
+
return z.object({
|
|
1694
|
+
certificationId: z.string()
|
|
1695
|
+
});
|
|
1696
|
+
}
|
|
1697
|
+
export function PitchItemEducationInputSchema() {
|
|
1698
|
+
return z.object({
|
|
1699
|
+
educationId: z.string()
|
|
1700
|
+
});
|
|
1701
|
+
}
|
|
1702
|
+
export function PitchItemEmploymentInputSchema() {
|
|
1703
|
+
return z.object({
|
|
1704
|
+
additionalTextItems: z.array(z.unknown().nullable()),
|
|
1705
|
+
employmentId: z.string()
|
|
1706
|
+
});
|
|
1707
|
+
}
|
|
1708
|
+
export function PitchItemIndustryInputSchema() {
|
|
1709
|
+
return z.object({
|
|
1710
|
+
industryId: z.string()
|
|
1711
|
+
});
|
|
1712
|
+
}
|
|
1713
|
+
export function PitchItemInterfaceSchema() {
|
|
1714
|
+
return z.object({
|
|
1715
|
+
_placeholder: z.string().nullable()
|
|
1716
|
+
});
|
|
1717
|
+
}
|
|
1718
|
+
export function PitchItemPortfolioInputSchema() {
|
|
1719
|
+
return z.object({
|
|
1720
|
+
portfolioItemId: z.string()
|
|
1721
|
+
});
|
|
1722
|
+
}
|
|
1723
|
+
export function PitchItemPublicationInputSchema() {
|
|
1724
|
+
return z.object({
|
|
1725
|
+
publicationId: z.string()
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1728
|
+
export function PitchItemSkillInputSchema() {
|
|
1729
|
+
return z.object({
|
|
1730
|
+
skillSetId: z.string()
|
|
1731
|
+
});
|
|
1732
|
+
}
|
|
1733
|
+
export function PlatformConfigurationSchema() {
|
|
1734
|
+
return z.object({
|
|
1735
|
+
__typename: z.literal('PlatformConfiguration').optional(),
|
|
1736
|
+
availabilityRequestRejectReasonsV3: z.lazy(() => AvailabilityRequestRejectReasonsTypeV3Schema()),
|
|
1737
|
+
commitmentHoursDictionary: z.lazy(() => CommitmentHoursDictionarySchema()),
|
|
1738
|
+
engagementBreakReasons: z.array(z.lazy(() => FeedbackReasonSchema().nullable())),
|
|
1739
|
+
id: z.string(),
|
|
1740
|
+
interviewRejectReasons: z.array(z.lazy(() => InterviewRejectReasonSchema().nullable())),
|
|
1741
|
+
marketplaceHelpRequestReasons: z.array(z.lazy(() => KeyValueStringsSchema().nullable())),
|
|
1742
|
+
marketplaceMargin: z.string(),
|
|
1743
|
+
notInterestedInJobReasons: z.array(z.lazy(() => KeyValueStringsSchema().nullable())),
|
|
1744
|
+
rateValidationRules: z.lazy(() => TalentRateValidationRulesSchema()),
|
|
1745
|
+
referralProgramRewards: z.lazy(() => ReferralProgramRewardsSchema())
|
|
1746
|
+
});
|
|
1747
|
+
}
|
|
1748
|
+
export function PointsOfContactSchema() {
|
|
1749
|
+
return z.object({
|
|
1750
|
+
__typename: z.literal('PointsOfContact').optional(),
|
|
1751
|
+
current: z.lazy(() => RecruiterSchema()),
|
|
1752
|
+
handoff: z.unknown().nullable(),
|
|
1753
|
+
kind: z.string()
|
|
1754
|
+
});
|
|
1755
|
+
}
|
|
1756
|
+
export function PortfolioItemSchema() {
|
|
1757
|
+
return z.object({
|
|
1758
|
+
__typename: z.literal('PortfolioItem').optional(),
|
|
1759
|
+
coverImage: z.unknown().nullable(),
|
|
1760
|
+
description: z.string(),
|
|
1761
|
+
id: z.string(),
|
|
1762
|
+
industries: z.lazy(() => IndustryConnectionSchema()),
|
|
1763
|
+
kindEnum: z.string(),
|
|
1764
|
+
link: z.string().nullable(),
|
|
1765
|
+
skills: z.lazy(() => SkillConnectionSchema()),
|
|
1766
|
+
title: z.string()
|
|
1767
|
+
});
|
|
1768
|
+
}
|
|
1769
|
+
export function PortfolioItemConnectionSchema() {
|
|
1770
|
+
return z.object({
|
|
1771
|
+
__typename: z.literal('PortfolioItemConnection').optional(),
|
|
1772
|
+
nodes: z.array(z.lazy(() => PortfolioItemSchema().nullable()))
|
|
1773
|
+
});
|
|
1774
|
+
}
|
|
1775
|
+
export function PostActivationLifecycleUpdateTopSchedulerPayloadSchema() {
|
|
1776
|
+
return z.object({
|
|
1777
|
+
__typename: z.literal('PostActivationLifecycleUpdateTopSchedulerPayload').optional(),
|
|
1778
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1779
|
+
success: z.boolean()
|
|
1780
|
+
});
|
|
1781
|
+
}
|
|
1782
|
+
export function PreliminarySearchSettingSchema() {
|
|
1783
|
+
return z.object({
|
|
1784
|
+
__typename: z.literal('PreliminarySearchSetting').optional(),
|
|
1785
|
+
comment: z.unknown().nullable(),
|
|
1786
|
+
disablingReason: z.unknown().nullable(),
|
|
1787
|
+
enabled: z.boolean()
|
|
1788
|
+
});
|
|
1789
|
+
}
|
|
1790
|
+
export function PreliminarySearchSettingDisablePayloadSchema() {
|
|
1791
|
+
return z.object({
|
|
1792
|
+
__typename: z.literal('PreliminarySearchSettingDisablePayload').optional(),
|
|
1793
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1794
|
+
success: z.boolean()
|
|
1795
|
+
});
|
|
1796
|
+
}
|
|
1797
|
+
export function PreliminarySearchSettingEnablePayloadSchema() {
|
|
1798
|
+
return z.object({
|
|
1799
|
+
__typename: z.literal('PreliminarySearchSettingEnablePayload').optional(),
|
|
1800
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1801
|
+
success: z.boolean()
|
|
1802
|
+
});
|
|
1803
|
+
}
|
|
1804
|
+
export function PreliminarySearchSettingOpsSchema() {
|
|
1805
|
+
return z.object({
|
|
1806
|
+
__typename: z.literal('PreliminarySearchSettingOps').optional(),
|
|
1807
|
+
disable: z.lazy(() => MutationResultSchema().nullable()),
|
|
1808
|
+
enable: z.lazy(() => PreliminarySearchSettingEnablePayloadSchema().nullable())
|
|
1809
|
+
});
|
|
1810
|
+
}
|
|
1811
|
+
export function PreliminarySearchSettingOpsDisableArgsSchema() {
|
|
1812
|
+
return z.object({
|
|
1813
|
+
input: z.unknown().nullable()
|
|
1814
|
+
});
|
|
1815
|
+
}
|
|
1816
|
+
export function PreliminarySearchSettingOpsEnableArgsSchema() {
|
|
1817
|
+
return z.object({
|
|
1818
|
+
input: z.unknown().nullable()
|
|
1819
|
+
});
|
|
1820
|
+
}
|
|
1821
|
+
export function ProfileSchema() {
|
|
1822
|
+
return z.object({
|
|
1823
|
+
__typename: z.literal('Profile').optional(),
|
|
1824
|
+
certifications: z.lazy(() => CertificationConnectionSchema()),
|
|
1825
|
+
city: z.string(),
|
|
1826
|
+
educations: z.lazy(() => EducationConnectionSchema()),
|
|
1827
|
+
employments: z.lazy(() => EmploymentConnectionSchema()),
|
|
1828
|
+
fullName: z.string(),
|
|
1829
|
+
id: z.string(),
|
|
1830
|
+
industrySets: z.lazy(() => ProfileIndustrySetConnectionSchema()),
|
|
1831
|
+
photo: z.lazy(() => ProfilePhotoTypeSchema()),
|
|
1832
|
+
portfolioItems: z.lazy(() => PortfolioItemConnectionSchema()),
|
|
1833
|
+
skillSets: z.lazy(() => ProfileSkillSetConnectionSchema()),
|
|
1834
|
+
updatedByTalentAt: z.string()
|
|
1835
|
+
});
|
|
1836
|
+
}
|
|
1837
|
+
export function ProfileIndustrySetSchema() {
|
|
1838
|
+
return z.object({
|
|
1839
|
+
__typename: z.literal('ProfileIndustrySet').optional(),
|
|
1840
|
+
connections: z.lazy(() => IndustryConnectionsSchema()),
|
|
1841
|
+
id: z.string(),
|
|
1842
|
+
industry: z.lazy(() => IndustrySchema())
|
|
1843
|
+
});
|
|
1844
|
+
}
|
|
1845
|
+
export function ProfileIndustrySetConnectionSchema() {
|
|
1846
|
+
return z.object({
|
|
1847
|
+
__typename: z.literal('ProfileIndustrySetConnection').optional(),
|
|
1848
|
+
nodes: z.array(z.lazy(() => ProfileIndustrySetSchema().nullable()))
|
|
1849
|
+
});
|
|
1850
|
+
}
|
|
1851
|
+
export function ProfilePhotoTypeSchema() {
|
|
1852
|
+
return z.object({
|
|
1853
|
+
__typename: z.literal('ProfilePhotoType').optional(),
|
|
1854
|
+
large: z.string()
|
|
1855
|
+
});
|
|
1856
|
+
}
|
|
1857
|
+
export function ProfileSkillSetSchema() {
|
|
1858
|
+
return z.object({
|
|
1859
|
+
__typename: z.literal('ProfileSkillSet').optional(),
|
|
1860
|
+
connections: z.lazy(() => SkillConnectionsSchema()),
|
|
1861
|
+
experience: z.number().nullable(),
|
|
1862
|
+
id: z.string(),
|
|
1863
|
+
public: z.boolean(),
|
|
1864
|
+
rating: z.string(),
|
|
1865
|
+
skill: z.lazy(() => SkillSchema())
|
|
1866
|
+
});
|
|
1867
|
+
}
|
|
1868
|
+
export function ProfileSkillSetConnectionSchema() {
|
|
1869
|
+
return z.object({
|
|
1870
|
+
__typename: z.literal('ProfileSkillSetConnection').optional(),
|
|
1871
|
+
nodes: z.array(z.lazy(() => ProfileSkillSetSchema().nullable()))
|
|
1872
|
+
});
|
|
1873
|
+
}
|
|
1874
|
+
export function ProfileSkillSetInputSchema() {
|
|
1875
|
+
return z.object({
|
|
1876
|
+
connectionIds: z.unknown().nullable(),
|
|
1877
|
+
experience: z.unknown().nullable(),
|
|
1878
|
+
id: z.unknown().nullable(),
|
|
1879
|
+
name: z.unknown().nullable(),
|
|
1880
|
+
public: z.boolean().nullable(),
|
|
1881
|
+
rating: z.unknown().nullable()
|
|
1882
|
+
});
|
|
1883
|
+
}
|
|
1884
|
+
export function PromoteGigsPayloadSchema() {
|
|
1885
|
+
return z.object({
|
|
1886
|
+
__typename: z.literal('PromoteGigsPayload').optional(),
|
|
1887
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1888
|
+
success: z.boolean()
|
|
1889
|
+
});
|
|
1890
|
+
}
|
|
1891
|
+
export function ProposeEngagementEndDatePayloadSchema() {
|
|
1892
|
+
return z.object({
|
|
1893
|
+
__typename: z.literal('ProposeEngagementEndDatePayload').optional(),
|
|
1894
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1895
|
+
success: z.boolean()
|
|
1896
|
+
});
|
|
1897
|
+
}
|
|
1898
|
+
export function ProposedEngagementEndSchema() {
|
|
1899
|
+
return z.object({
|
|
1900
|
+
__typename: z.literal('ProposedEngagementEnd').optional(),
|
|
1901
|
+
endDate: z.string(),
|
|
1902
|
+
id: z.string(),
|
|
1903
|
+
status: z.string()
|
|
1904
|
+
});
|
|
1905
|
+
}
|
|
1906
|
+
export function PushNotificationsConfigurationSchema() {
|
|
1907
|
+
return z.object({
|
|
1908
|
+
__typename: z.literal('PushNotificationsConfiguration').optional(),
|
|
1909
|
+
respectBusinessHours: z.boolean(),
|
|
1910
|
+
windowEnd: z.string(),
|
|
1911
|
+
windowStart: z.string()
|
|
1912
|
+
});
|
|
1913
|
+
}
|
|
1914
|
+
export function QuestionAdditionalInfoSchema() {
|
|
1915
|
+
return EngagementAdditionalInfoSchema();
|
|
1916
|
+
}
|
|
1917
|
+
export function QuestionnaireAnswerInputSchema() {
|
|
1918
|
+
return z.object({
|
|
1919
|
+
questionId: z.unknown().nullable(),
|
|
1920
|
+
value: z.unknown().nullable()
|
|
1921
|
+
});
|
|
1922
|
+
}
|
|
1923
|
+
export function QuizCompletePayloadSchema() {
|
|
1924
|
+
return z.object({
|
|
1925
|
+
__typename: z.literal('QuizCompletePayload').optional(),
|
|
1926
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1927
|
+
success: z.boolean()
|
|
1928
|
+
});
|
|
1929
|
+
}
|
|
1930
|
+
export function QuizMutationsSchema() {
|
|
1931
|
+
return z.object({
|
|
1932
|
+
__typename: z.literal('QuizMutations').optional(),
|
|
1933
|
+
complete: z.lazy(() => MutationResultSchema().nullable())
|
|
1934
|
+
});
|
|
1935
|
+
}
|
|
1936
|
+
export function QuizMutationsCompleteArgsSchema() {
|
|
1937
|
+
return z.object({
|
|
1938
|
+
input: z.unknown().nullable()
|
|
1939
|
+
});
|
|
1940
|
+
}
|
|
1941
|
+
export function RateChangeRequestSchema() {
|
|
1942
|
+
return z.object({
|
|
1943
|
+
__typename: z.literal('RateChangeRequest').optional(),
|
|
1944
|
+
createdAt: z.string(),
|
|
1945
|
+
desiredRate: z.string(),
|
|
1946
|
+
engagement: z.unknown().nullable(),
|
|
1947
|
+
id: z.string(),
|
|
1948
|
+
outcomeRate: z.string(),
|
|
1949
|
+
requestType: z.string(),
|
|
1950
|
+
status: z.string(),
|
|
1951
|
+
talentComment: z.string()
|
|
1952
|
+
});
|
|
1953
|
+
}
|
|
1954
|
+
export function RateChangeRequestAnswerInputSchema() {
|
|
1955
|
+
return z.object({
|
|
1956
|
+
answer: z.string(),
|
|
1957
|
+
comment: z.unknown().nullable(),
|
|
1958
|
+
questionId: z.string().nullable()
|
|
1959
|
+
});
|
|
1960
|
+
}
|
|
1961
|
+
export function RecordDeviceDataPayloadSchema() {
|
|
1962
|
+
return z.object({
|
|
1963
|
+
__typename: z.literal('RecordDeviceDataPayload').optional(),
|
|
1964
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1965
|
+
success: z.boolean()
|
|
1966
|
+
});
|
|
1967
|
+
}
|
|
1968
|
+
export function RecordDeviceEventPayloadSchema() {
|
|
1969
|
+
return z.object({
|
|
1970
|
+
__typename: z.literal('RecordDeviceEventPayload').optional(),
|
|
1971
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1972
|
+
success: z.boolean()
|
|
1973
|
+
});
|
|
1974
|
+
}
|
|
1975
|
+
export function RecordLocationPayloadSchema() {
|
|
1976
|
+
return z.object({
|
|
1977
|
+
__typename: z.literal('RecordLocationPayload').optional(),
|
|
1978
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
1979
|
+
success: z.boolean()
|
|
1980
|
+
});
|
|
1981
|
+
}
|
|
1982
|
+
export function RecruiterSchema() {
|
|
1983
|
+
return z.object({
|
|
1984
|
+
__typename: z.literal('Recruiter').optional(),
|
|
1985
|
+
contactFields: z.lazy(() => ContactFieldsSchema()),
|
|
1986
|
+
fullName: z.string(),
|
|
1987
|
+
id: z.string(),
|
|
1988
|
+
photo: z.lazy(() => PhotoSchema().nullable()),
|
|
1989
|
+
timeZone: z.lazy(() => TimeZoneSchema()),
|
|
1990
|
+
vacation: z.unknown().nullable()
|
|
1991
|
+
});
|
|
1992
|
+
}
|
|
1993
|
+
export function ReferralProgramRewardSchema() {
|
|
1994
|
+
return z.object({
|
|
1995
|
+
__typename: z.literal('ReferralProgramReward').optional(),
|
|
1996
|
+
referral: z.number().nullable(),
|
|
1997
|
+
referrer: z.number()
|
|
1998
|
+
});
|
|
1999
|
+
}
|
|
2000
|
+
export function ReferralProgramRewardsSchema() {
|
|
2001
|
+
return z.object({
|
|
2002
|
+
__typename: z.literal('ReferralProgramRewards').optional(),
|
|
2003
|
+
clientReferral: z.lazy(() => ReferralProgramRewardSchema()),
|
|
2004
|
+
talentUpsell: z.lazy(() => ReferralProgramRewardSchema())
|
|
2005
|
+
});
|
|
2006
|
+
}
|
|
2007
|
+
export function ReferralTrackerFilterSchema() {
|
|
2008
|
+
return z.object({
|
|
2009
|
+
_placeholder: z.string().nullable()
|
|
2010
|
+
});
|
|
2011
|
+
}
|
|
2012
|
+
export function ReferralUrlSchema() {
|
|
2013
|
+
return z.object({
|
|
2014
|
+
__typename: z.literal('ReferralUrl').optional(),
|
|
2015
|
+
legacySlug: z.string(),
|
|
2016
|
+
pathSuffix: z.string(),
|
|
2017
|
+
shortenedUrl: z.string(),
|
|
2018
|
+
url: z.string()
|
|
2019
|
+
});
|
|
2020
|
+
}
|
|
2021
|
+
export function ReferralizeUrlInputSchema() {
|
|
2022
|
+
return z.object({
|
|
2023
|
+
_placeholder: z.string().nullable()
|
|
2024
|
+
});
|
|
2025
|
+
}
|
|
2026
|
+
export function ReferralizeUrlPayloadSchema() {
|
|
2027
|
+
return z.object({
|
|
2028
|
+
__typename: z.literal('ReferralizeUrlPayload').optional(),
|
|
2029
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2030
|
+
success: z.boolean()
|
|
2031
|
+
});
|
|
2032
|
+
}
|
|
2033
|
+
export function RejectGigReachOutPayloadSchema() {
|
|
2034
|
+
return z.object({
|
|
2035
|
+
__typename: z.literal('RejectGigReachOutPayload').optional(),
|
|
2036
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2037
|
+
success: z.boolean()
|
|
2038
|
+
});
|
|
2039
|
+
}
|
|
2040
|
+
export function RemoveCoachingEngagementPayloadSchema() {
|
|
2041
|
+
return z.object({
|
|
2042
|
+
__typename: z.literal('RemoveCoachingEngagementPayload').optional(),
|
|
2043
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2044
|
+
success: z.boolean()
|
|
2045
|
+
});
|
|
2046
|
+
}
|
|
2047
|
+
export function RemoveContentReviewPayloadSchema() {
|
|
2048
|
+
return z.object({
|
|
2049
|
+
__typename: z.literal('RemoveContentReviewPayload').optional(),
|
|
2050
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2051
|
+
success: z.boolean()
|
|
2052
|
+
});
|
|
2053
|
+
}
|
|
2054
|
+
export function RemoveProfileSkillSetPayloadSchema() {
|
|
2055
|
+
return z.object({
|
|
2056
|
+
__typename: z.literal('RemoveProfileSkillSetPayload').optional(),
|
|
2057
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2058
|
+
success: z.boolean()
|
|
2059
|
+
});
|
|
2060
|
+
}
|
|
2061
|
+
export function ReviewContentPayloadSchema() {
|
|
2062
|
+
return z.object({
|
|
2063
|
+
__typename: z.literal('ReviewContentPayload').optional(),
|
|
2064
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2065
|
+
success: z.boolean()
|
|
2066
|
+
});
|
|
2067
|
+
}
|
|
2068
|
+
export function RevokeSlackApplicationTokenInputSchema() {
|
|
2069
|
+
return z.object({
|
|
2070
|
+
_placeholder: z.string().nullable()
|
|
2071
|
+
});
|
|
2072
|
+
}
|
|
2073
|
+
export function RevokeSlackApplicationTokenPayloadSchema() {
|
|
2074
|
+
return z.object({
|
|
2075
|
+
__typename: z.literal('RevokeSlackApplicationTokenPayload').optional(),
|
|
2076
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2077
|
+
success: z.boolean()
|
|
2078
|
+
});
|
|
2079
|
+
}
|
|
2080
|
+
export function RoleStatisticsSchema() {
|
|
2081
|
+
return z.object({
|
|
2082
|
+
__typename: z.literal('RoleStatistics').optional(),
|
|
2083
|
+
hoursWorked: z.number(),
|
|
2084
|
+
id: z.string(),
|
|
2085
|
+
successfulEngagements: z.number(),
|
|
2086
|
+
totalEarnings: z.number(),
|
|
2087
|
+
yearsInToptal: z.number()
|
|
2088
|
+
});
|
|
2089
|
+
}
|
|
2090
|
+
export function RsvpPayloadSchema() {
|
|
2091
|
+
return z.object({
|
|
2092
|
+
__typename: z.literal('RsvpPayload').optional(),
|
|
2093
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2094
|
+
success: z.boolean()
|
|
2095
|
+
});
|
|
2096
|
+
}
|
|
2097
|
+
export function SaveProfileSkillSetsAndConnectionsInputSchema() {
|
|
2098
|
+
return z.object({
|
|
2099
|
+
_placeholder: z.string().nullable()
|
|
2100
|
+
});
|
|
2101
|
+
}
|
|
2102
|
+
export function SaveProfileSkillSetsAndConnectionsPayloadSchema() {
|
|
2103
|
+
return z.object({
|
|
2104
|
+
__typename: z.literal('SaveProfileSkillSetsAndConnectionsPayload').optional(),
|
|
2105
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2106
|
+
success: z.boolean()
|
|
2107
|
+
});
|
|
2108
|
+
}
|
|
2109
|
+
export function SearchFiltersOpsSchema() {
|
|
2110
|
+
return z.object({
|
|
2111
|
+
__typename: z.literal('SearchFiltersOps').optional(),
|
|
2112
|
+
reset: z.lazy(() => SearchFiltersResetPayloadSchema().nullable()),
|
|
2113
|
+
save: z.lazy(() => SearchFiltersSavePayloadSchema().nullable())
|
|
2114
|
+
});
|
|
2115
|
+
}
|
|
2116
|
+
export function SearchFiltersOpsResetArgsSchema() {
|
|
2117
|
+
return z.object({
|
|
2118
|
+
input: z.unknown().nullable()
|
|
2119
|
+
});
|
|
2120
|
+
}
|
|
2121
|
+
export function SearchFiltersOpsSaveArgsSchema() {
|
|
2122
|
+
return z.object({
|
|
2123
|
+
input: z.unknown().nullable()
|
|
2124
|
+
});
|
|
2125
|
+
}
|
|
2126
|
+
export function SearchFiltersResetPayloadSchema() {
|
|
2127
|
+
return z.object({
|
|
2128
|
+
__typename: z.literal('SearchFiltersResetPayload').optional(),
|
|
2129
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2130
|
+
success: z.boolean()
|
|
2131
|
+
});
|
|
2132
|
+
}
|
|
2133
|
+
export function SearchFiltersSavePayloadSchema() {
|
|
2134
|
+
return z.object({
|
|
2135
|
+
__typename: z.literal('SearchFiltersSavePayload').optional(),
|
|
2136
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2137
|
+
success: z.boolean()
|
|
2138
|
+
});
|
|
2139
|
+
}
|
|
2140
|
+
export function SearchSubscriptionSchema() {
|
|
2141
|
+
return z.object({
|
|
2142
|
+
__typename: z.literal('SearchSubscription').optional(),
|
|
2143
|
+
commitmentsV2: z.unknown().nullable(),
|
|
2144
|
+
desiredOverlappingHours: z.unknown().nullable(),
|
|
2145
|
+
enterpriseProjects: z.boolean(),
|
|
2146
|
+
estimatedLengths: z.unknown().nullable(),
|
|
2147
|
+
excludeKeywords: z.unknown().nullable(),
|
|
2148
|
+
excludeNotOverlappingHours: z.unknown().nullable(),
|
|
2149
|
+
excludeSkills: z.unknown().nullable(),
|
|
2150
|
+
excludeUnspecifiedBudget: z.unknown().nullable(),
|
|
2151
|
+
hourlyRate: z.lazy(() => HourlyRateSchema()),
|
|
2152
|
+
keywords: z.unknown().nullable(),
|
|
2153
|
+
logic: z.unknown().nullable(),
|
|
2154
|
+
referralBonusReward: z.unknown().nullable(),
|
|
2155
|
+
skills: z.unknown().nullable(),
|
|
2156
|
+
specializationSlugs: z.unknown().nullable(),
|
|
2157
|
+
toptalProjects: z.unknown().nullable(),
|
|
2158
|
+
workTypesV2: z.unknown().nullable()
|
|
2159
|
+
});
|
|
2160
|
+
}
|
|
2161
|
+
export function SearchSubscriptionOpsSchema() {
|
|
2162
|
+
return z.object({
|
|
2163
|
+
__typename: z.literal('SearchSubscriptionOps').optional(),
|
|
2164
|
+
start: z.lazy(() => SearchSubscriptionStartPayloadSchema().nullable()),
|
|
2165
|
+
terminate: z.lazy(() => SearchSubscriptionTerminatePayloadSchema().nullable())
|
|
2166
|
+
});
|
|
2167
|
+
}
|
|
2168
|
+
export function SearchSubscriptionOpsStartArgsSchema() {
|
|
2169
|
+
return z.object({
|
|
2170
|
+
input: z.unknown().nullable()
|
|
2171
|
+
});
|
|
2172
|
+
}
|
|
2173
|
+
export function SearchSubscriptionOpsTerminateArgsSchema() {
|
|
2174
|
+
return z.object({
|
|
2175
|
+
input: z.unknown().nullable()
|
|
2176
|
+
});
|
|
2177
|
+
}
|
|
2178
|
+
export function SearchSubscriptionStartPayloadSchema() {
|
|
2179
|
+
return z.object({
|
|
2180
|
+
__typename: z.literal('SearchSubscriptionStartPayload').optional(),
|
|
2181
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2182
|
+
success: z.boolean()
|
|
2183
|
+
});
|
|
2184
|
+
}
|
|
2185
|
+
export function SearchSubscriptionTerminatePayloadSchema() {
|
|
2186
|
+
return z.object({
|
|
2187
|
+
__typename: z.literal('SearchSubscriptionTerminatePayload').optional(),
|
|
2188
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2189
|
+
success: z.boolean()
|
|
2190
|
+
});
|
|
2191
|
+
}
|
|
2192
|
+
export function SendReferralEmailInputSchema() {
|
|
2193
|
+
return z.object({
|
|
2194
|
+
_placeholder: z.string().nullable()
|
|
2195
|
+
});
|
|
2196
|
+
}
|
|
2197
|
+
export function SendReferralEmailPayloadSchema() {
|
|
2198
|
+
return z.object({
|
|
2199
|
+
__typename: z.literal('SendReferralEmailPayload').optional(),
|
|
2200
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2201
|
+
success: z.boolean()
|
|
2202
|
+
});
|
|
2203
|
+
}
|
|
2204
|
+
export function SendResetPasswordEmailPayloadSchema() {
|
|
2205
|
+
return z.object({
|
|
2206
|
+
__typename: z.literal('SendResetPasswordEmailPayload').optional(),
|
|
2207
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2208
|
+
success: z.boolean()
|
|
2209
|
+
});
|
|
2210
|
+
}
|
|
2211
|
+
export function SetUnavailablePayloadSchema() {
|
|
2212
|
+
return z.object({
|
|
2213
|
+
__typename: z.literal('SetUnavailablePayload').optional(),
|
|
2214
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2215
|
+
success: z.boolean()
|
|
2216
|
+
});
|
|
2217
|
+
}
|
|
2218
|
+
export function ShortenUrlInputSchema() {
|
|
2219
|
+
return z.object({
|
|
2220
|
+
_placeholder: z.string().nullable()
|
|
2221
|
+
});
|
|
2222
|
+
}
|
|
2223
|
+
export function ShortenUrlPayloadSchema() {
|
|
2224
|
+
return z.object({
|
|
2225
|
+
__typename: z.literal('ShortenUrlPayload').optional(),
|
|
2226
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2227
|
+
success: z.boolean()
|
|
2228
|
+
});
|
|
2229
|
+
}
|
|
2230
|
+
export function SignInPayloadSchema() {
|
|
2231
|
+
return z.object({
|
|
2232
|
+
__typename: z.literal('SignInPayload').optional(),
|
|
2233
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2234
|
+
success: z.boolean()
|
|
2235
|
+
});
|
|
2236
|
+
}
|
|
2237
|
+
export function SkillSchema() {
|
|
2238
|
+
return z.object({
|
|
2239
|
+
__typename: z.literal('Skill').optional(),
|
|
2240
|
+
id: z.string(),
|
|
2241
|
+
name: z.string()
|
|
2242
|
+
});
|
|
2243
|
+
}
|
|
2244
|
+
export function SkillConnectionSchema() {
|
|
2245
|
+
return z.object({
|
|
2246
|
+
__typename: z.literal('SkillConnection').optional(),
|
|
2247
|
+
nodes: z.array(z.lazy(() => SkillSchema().nullable())),
|
|
2248
|
+
totalCount: z.number()
|
|
2249
|
+
});
|
|
2250
|
+
}
|
|
2251
|
+
export function SkillConnectionsSchema() {
|
|
2252
|
+
return z.object({
|
|
2253
|
+
__typename: z.literal('SkillConnections').optional(),
|
|
2254
|
+
nodes: z.array(z.lazy(() => EmploymentSchema().nullable()))
|
|
2255
|
+
});
|
|
2256
|
+
}
|
|
2257
|
+
export function SlackApplicationsConnectionSchema() {
|
|
2258
|
+
return z.object({
|
|
2259
|
+
__typename: z.literal('SlackApplicationsConnection').optional(),
|
|
2260
|
+
edges: z.array(z.unknown().nullable())
|
|
2261
|
+
});
|
|
2262
|
+
}
|
|
2263
|
+
export function SpecializationApplyPayloadSchema() {
|
|
2264
|
+
return z.object({
|
|
2265
|
+
__typename: z.literal('SpecializationApplyPayload').optional(),
|
|
2266
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2267
|
+
success: z.boolean()
|
|
2268
|
+
});
|
|
2269
|
+
}
|
|
2270
|
+
export function SpecializationMutationsSchema() {
|
|
2271
|
+
return z.object({
|
|
2272
|
+
__typename: z.literal('SpecializationMutations').optional(),
|
|
2273
|
+
apply: z.lazy(() => JobApplyPayloadSchema().nullable())
|
|
2274
|
+
});
|
|
2275
|
+
}
|
|
2276
|
+
export function SpecializationMutationsApplyArgsSchema() {
|
|
2277
|
+
return z.object({
|
|
2278
|
+
input: z.unknown().nullable()
|
|
2279
|
+
});
|
|
2280
|
+
}
|
|
2281
|
+
export function StringFilterSchema() {
|
|
2282
|
+
return z.object({
|
|
2283
|
+
except: z.unknown().nullable(),
|
|
2284
|
+
only: z.unknown().nullable()
|
|
2285
|
+
});
|
|
2286
|
+
}
|
|
2287
|
+
export function SubmitGigFeedbackInputSchema() {
|
|
2288
|
+
return z.object({
|
|
2289
|
+
_placeholder: z.string().nullable()
|
|
2290
|
+
});
|
|
2291
|
+
}
|
|
2292
|
+
export function SubmitGigFeedbackPayloadSchema() {
|
|
2293
|
+
return z.object({
|
|
2294
|
+
__typename: z.literal('SubmitGigFeedbackPayload').optional(),
|
|
2295
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2296
|
+
success: z.boolean()
|
|
2297
|
+
});
|
|
2298
|
+
}
|
|
2299
|
+
export function SubmitHireMePageInputSchema() {
|
|
2300
|
+
return z.object({
|
|
2301
|
+
_placeholder: z.string().nullable()
|
|
2302
|
+
});
|
|
2303
|
+
}
|
|
2304
|
+
export function SubmitHireMePagePayloadSchema() {
|
|
2305
|
+
return z.object({
|
|
2306
|
+
__typename: z.literal('SubmitHireMePagePayload').optional(),
|
|
2307
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2308
|
+
success: z.boolean()
|
|
2309
|
+
});
|
|
2310
|
+
}
|
|
2311
|
+
export function SubmitTimesheetPayloadSchema() {
|
|
2312
|
+
return z.object({
|
|
2313
|
+
__typename: z.literal('SubmitTimesheetPayload').optional(),
|
|
2314
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2315
|
+
success: z.boolean()
|
|
2316
|
+
});
|
|
2317
|
+
}
|
|
2318
|
+
export function SurveySchema() {
|
|
2319
|
+
return z.object({
|
|
2320
|
+
__typename: z.literal('Survey').optional(),
|
|
2321
|
+
alreadyAnswered: z.boolean(),
|
|
2322
|
+
createdAt: z.string(),
|
|
2323
|
+
id: z.string(),
|
|
2324
|
+
isMandatory: z.boolean(),
|
|
2325
|
+
job: z.unknown().nullable(),
|
|
2326
|
+
kind: z.string(),
|
|
2327
|
+
questions: z.array(z.lazy(() => SurveyQuestionSchema().nullable())),
|
|
2328
|
+
title: z.string()
|
|
2329
|
+
});
|
|
2330
|
+
}
|
|
2331
|
+
export function SurveyAddFeedbackPayloadSchema() {
|
|
2332
|
+
return z.object({
|
|
2333
|
+
__typename: z.literal('SurveyAddFeedbackPayload').optional(),
|
|
2334
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2335
|
+
success: z.boolean()
|
|
2336
|
+
});
|
|
2337
|
+
}
|
|
2338
|
+
export function SurveyAnswerInputSchema() {
|
|
2339
|
+
return z.object({
|
|
2340
|
+
id: z.unknown().nullable(),
|
|
2341
|
+
questionId: z.unknown().nullable(),
|
|
2342
|
+
value: z.unknown().nullable()
|
|
2343
|
+
});
|
|
2344
|
+
}
|
|
2345
|
+
export function SurveyAnswerOptionSchema() {
|
|
2346
|
+
return z.object({
|
|
2347
|
+
__typename: z.literal('SurveyAnswerOption').optional(),
|
|
2348
|
+
id: z.string(),
|
|
2349
|
+
label: z.string().nullable(),
|
|
2350
|
+
note: z.unknown().nullable(),
|
|
2351
|
+
value: z.string()
|
|
2352
|
+
});
|
|
2353
|
+
}
|
|
2354
|
+
export function SurveyDismissPayloadSchema() {
|
|
2355
|
+
return z.object({
|
|
2356
|
+
__typename: z.literal('SurveyDismissPayload').optional(),
|
|
2357
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2358
|
+
success: z.boolean()
|
|
2359
|
+
});
|
|
2360
|
+
}
|
|
2361
|
+
export function SurveyQuestionSchema() {
|
|
2362
|
+
return z.object({
|
|
2363
|
+
__typename: z.literal('SurveyQuestion').optional(),
|
|
2364
|
+
answers: z.array(z.lazy(() => SurveyAnswerOptionSchema().nullable())),
|
|
2365
|
+
id: z.string(),
|
|
2366
|
+
inputType: z.string(),
|
|
2367
|
+
isMandatory: z.boolean(),
|
|
2368
|
+
label: z.string(),
|
|
2369
|
+
note: z.unknown().nullable()
|
|
2370
|
+
});
|
|
2371
|
+
}
|
|
2372
|
+
export function SurveySubmitPayloadSchema() {
|
|
2373
|
+
return z.object({
|
|
2374
|
+
__typename: z.literal('SurveySubmitPayload').optional(),
|
|
2375
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2376
|
+
success: z.boolean()
|
|
2377
|
+
});
|
|
2378
|
+
}
|
|
2379
|
+
export function SurveysOpsSchema() {
|
|
2380
|
+
return z.object({
|
|
2381
|
+
__typename: z.literal('SurveysOps').optional(),
|
|
2382
|
+
addFeedback: z.lazy(() => SurveyAddFeedbackPayloadSchema().nullable()),
|
|
2383
|
+
dismiss: z.lazy(() => SurveyDismissPayloadSchema().nullable()),
|
|
2384
|
+
submit: z.lazy(() => MobileAppSubmitFeedbackPayloadSchema().nullable())
|
|
2385
|
+
});
|
|
2386
|
+
}
|
|
2387
|
+
export function SurveysOpsAddFeedbackArgsSchema() {
|
|
2388
|
+
return z.object({
|
|
2389
|
+
input: z.unknown().nullable()
|
|
2390
|
+
});
|
|
2391
|
+
}
|
|
2392
|
+
export function SurveysOpsDismissArgsSchema() {
|
|
2393
|
+
return z.object({
|
|
2394
|
+
input: z.unknown().nullable()
|
|
2395
|
+
});
|
|
2396
|
+
}
|
|
2397
|
+
export function SurveysOpsSubmitArgsSchema() {
|
|
2398
|
+
return z.object({
|
|
2399
|
+
input: z.unknown().nullable()
|
|
2400
|
+
});
|
|
2401
|
+
}
|
|
2402
|
+
export function SwitchMobileRolePayloadSchema() {
|
|
2403
|
+
return z.object({
|
|
2404
|
+
__typename: z.literal('SwitchMobileRolePayload').optional(),
|
|
2405
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2406
|
+
success: z.boolean()
|
|
2407
|
+
});
|
|
2408
|
+
}
|
|
2409
|
+
export function SwitchRolePayloadSchema() {
|
|
2410
|
+
return z.object({
|
|
2411
|
+
__typename: z.literal('SwitchRolePayload').optional(),
|
|
2412
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2413
|
+
success: z.boolean()
|
|
2414
|
+
});
|
|
2415
|
+
}
|
|
2416
|
+
export function TalentEngagementSchema() {
|
|
2417
|
+
return z.object({
|
|
2418
|
+
__typename: z.literal('TalentEngagement').optional(),
|
|
2419
|
+
activeBreak: z.unknown().nullable(),
|
|
2420
|
+
billCycle: z.lazy(() => EngagementBillCycleSchema()),
|
|
2421
|
+
billingCycles: z.lazy(() => BillingCycleConnectionSchema()),
|
|
2422
|
+
commitment: z.lazy(() => CommitmentTypeSchema()),
|
|
2423
|
+
currentAgreement: z.lazy(() => EngagementAgreementSchema()),
|
|
2424
|
+
currentBillingCycle: z.lazy(() => BillingCycleSchema()),
|
|
2425
|
+
earning: z.lazy(() => TalentEngagementEarningSchema()),
|
|
2426
|
+
eligibleForPayment: z.boolean(),
|
|
2427
|
+
eligibleToViewTimeOffs: z.boolean(),
|
|
2428
|
+
eligibleToViewTimesheets: z.boolean(),
|
|
2429
|
+
endDate: z.unknown().nullable(),
|
|
2430
|
+
engagementBreaks: z.array(z.unknown().nullable()),
|
|
2431
|
+
expectedHours: z.number(),
|
|
2432
|
+
id: z.string(),
|
|
2433
|
+
job: z.lazy(() => TalentJobSchema()),
|
|
2434
|
+
minimumHoursPerBillingCycle: z.unknown().nullable(),
|
|
2435
|
+
operations: z.lazy(() => EngagementOperationsSchema()),
|
|
2436
|
+
payments: z.lazy(() => PaymentsConnectionSchema()),
|
|
2437
|
+
proposedEnd: z.lazy(() => ProposedEngagementEndSchema()),
|
|
2438
|
+
startDate: z.string(),
|
|
2439
|
+
trial: z.unknown().nullable()
|
|
2440
|
+
});
|
|
2441
|
+
}
|
|
2442
|
+
export function TalentEngagementDeliveryModelSchema() {
|
|
2443
|
+
return z.object({
|
|
2444
|
+
__typename: z.literal('TalentEngagementDeliveryModel').optional(),
|
|
2445
|
+
id: z.string(),
|
|
2446
|
+
identifier: z.string()
|
|
2447
|
+
});
|
|
2448
|
+
}
|
|
2449
|
+
export function TalentEngagementEarningSchema() {
|
|
2450
|
+
return z.object({
|
|
2451
|
+
__typename: z.literal('TalentEngagementEarning').optional(),
|
|
2452
|
+
paid: z.lazy(() => MoneySchema())
|
|
2453
|
+
});
|
|
2454
|
+
}
|
|
2455
|
+
export function TalentJobSchema() {
|
|
2456
|
+
return z.object({
|
|
2457
|
+
__typename: z.literal('TalentJob').optional(),
|
|
2458
|
+
activityItem: z.lazy(() => TalentJobActivityItemSchema()),
|
|
2459
|
+
allowedCountries: z.array(z.unknown().nullable()),
|
|
2460
|
+
client: z.lazy(() => ClientSchema()),
|
|
2461
|
+
commitment: z.lazy(() => CommitmentTypeSchema()),
|
|
2462
|
+
contacts: z.array(z.lazy(() => CompanyRepresentativeSchema().nullable())),
|
|
2463
|
+
descriptionMd: z.string(),
|
|
2464
|
+
engagementDeliveryModel: z.lazy(() => TalentEngagementDeliveryModelSchema()),
|
|
2465
|
+
estimatedLength: z.lazy(() => JobEstimatedLengthSchema()),
|
|
2466
|
+
expectedHours: z.number(),
|
|
2467
|
+
freshUntil: z.string(),
|
|
2468
|
+
hiringStatus: z.lazy(() => JobHiringStatusSchema()),
|
|
2469
|
+
id: z.string(),
|
|
2470
|
+
industriesV2: z.lazy(() => JobIndustriesConnectionSchema()),
|
|
2471
|
+
isCoaching: z.boolean(),
|
|
2472
|
+
isToptalProject: z.boolean(),
|
|
2473
|
+
jobSkillSetsV2: z.lazy(() => JobSkillSetsConnectionSchema()),
|
|
2474
|
+
jobTimeZone: z.lazy(() => JobTimeZoneSchema()),
|
|
2475
|
+
languages: z.array(z.lazy(() => LanguageSchema().nullable())),
|
|
2476
|
+
maxRate: z.unknown().nullable(),
|
|
2477
|
+
minimumHoursPerBillingCycle: z.number().nullable(),
|
|
2478
|
+
notInterested: z.boolean(),
|
|
2479
|
+
oldAfter: z.string(),
|
|
2480
|
+
onsiteLocations: z.array(z.unknown().nullable()),
|
|
2481
|
+
onsitePreference: z.unknown().nullable(),
|
|
2482
|
+
operations: z.lazy(() => JobOperationsSchema()),
|
|
2483
|
+
pointsOfContact: z.lazy(() => PointsOfContactSchema()),
|
|
2484
|
+
positionsCount: z.number(),
|
|
2485
|
+
postedWhen: z.string(),
|
|
2486
|
+
saved: z.boolean(),
|
|
2487
|
+
semiMonthlyBilling: z.boolean(),
|
|
2488
|
+
specialization: z.lazy(() => JobSpecializationSchema()),
|
|
2489
|
+
startDate: z.string(),
|
|
2490
|
+
title: z.string(),
|
|
2491
|
+
url: z.string(),
|
|
2492
|
+
viewed: z.boolean(),
|
|
2493
|
+
workType: z.lazy(() => JobWorkTypeSchema())
|
|
2494
|
+
});
|
|
2495
|
+
}
|
|
2496
|
+
export function TalentJobActivityItemSchema() {
|
|
2497
|
+
return z.object({
|
|
2498
|
+
__typename: z.literal('TalentJobActivityItem').optional(),
|
|
2499
|
+
availabilityRequest: z.lazy(() => AvailabilityRequestSchema().nullable()),
|
|
2500
|
+
engagement: z.lazy(() => TalentEngagementSchema().nullable()),
|
|
2501
|
+
id: z.string(),
|
|
2502
|
+
interview: z.unknown().nullable(),
|
|
2503
|
+
job: z.lazy(() => TalentJobSchema()),
|
|
2504
|
+
jobApplication: z.lazy(() => JobApplicationSchema().nullable()),
|
|
2505
|
+
lastUpdatedAt: z.string(),
|
|
2506
|
+
mostRelevantApplication: z.lazy(() => AvailabilityRequestSchema().nullable()),
|
|
2507
|
+
status: z.lazy(() => JobActivityItemStatusSchema()),
|
|
2508
|
+
statusColor: z.string(),
|
|
2509
|
+
statusGroupV2: z.lazy(() => JobActivityItemStatusGroupSchema()),
|
|
2510
|
+
statusV2: z.lazy(() => JobActivityItemStatusSchema())
|
|
2511
|
+
});
|
|
2512
|
+
}
|
|
2513
|
+
export function TalentJobApplicationConfigSchema() {
|
|
2514
|
+
return z.object({
|
|
2515
|
+
__typename: z.literal('TalentJobApplicationConfig').optional(),
|
|
2516
|
+
careerHighlightRequired: z.boolean(),
|
|
2517
|
+
highlightFields: z.array(z.string().nullable()),
|
|
2518
|
+
portfolioRequired: z.boolean()
|
|
2519
|
+
});
|
|
2520
|
+
}
|
|
2521
|
+
export function TalentJobRateInsightSchema() {
|
|
2522
|
+
return z.union([TalentJobRateInsightCompetitiveSchema(), TalentJobRateInsightUncompetitiveSchema()]);
|
|
2523
|
+
}
|
|
2524
|
+
export function TalentJobRateInsightCompetitiveSchema() {
|
|
2525
|
+
return z.object({
|
|
2526
|
+
__typename: z.literal('TalentJobRateInsightCompetitive').optional(),
|
|
2527
|
+
estimatedRevenue: z.string().nullable(),
|
|
2528
|
+
estimatedRevenueExplanation: z.string().nullable(),
|
|
2529
|
+
longTermDisclaimer: z.string().nullable()
|
|
2530
|
+
});
|
|
2531
|
+
}
|
|
2532
|
+
export function TalentJobRateInsightUncompetitiveSchema() {
|
|
2533
|
+
return z.object({
|
|
2534
|
+
__typename: z.literal('TalentJobRateInsightUncompetitive').optional(),
|
|
2535
|
+
estimatedRevenue: z.string().nullable(),
|
|
2536
|
+
estimatedRevenueExplanation: z.string().nullable(),
|
|
2537
|
+
recentApplicationRate: z.string().nullable(),
|
|
2538
|
+
recommendedRate: z.string().nullable()
|
|
2539
|
+
});
|
|
2540
|
+
}
|
|
2541
|
+
export function TalentNotificationMarkAsReadPayloadSchema() {
|
|
2542
|
+
return z.object({
|
|
2543
|
+
__typename: z.literal('TalentNotificationMarkAsReadPayload').optional(),
|
|
2544
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2545
|
+
success: z.boolean()
|
|
2546
|
+
});
|
|
2547
|
+
}
|
|
2548
|
+
export function TalentPaymentSchema() {
|
|
2549
|
+
return z.object({
|
|
2550
|
+
__typename: z.literal('TalentPayment').optional(),
|
|
2551
|
+
amount: z.string(),
|
|
2552
|
+
billingCycle: z.lazy(() => BillingCycleSchema()),
|
|
2553
|
+
correctionAmount: z.string(),
|
|
2554
|
+
createdAt: z.string(),
|
|
2555
|
+
description: z.string(),
|
|
2556
|
+
downloadPdfUrl: z.string(),
|
|
2557
|
+
dueDate: z.string(),
|
|
2558
|
+
id: z.string(),
|
|
2559
|
+
job: z.lazy(() => TalentJobSchema()),
|
|
2560
|
+
kindCategory: z.string(),
|
|
2561
|
+
memorandums: z.lazy(() => MemorandumsConnectionSchema()),
|
|
2562
|
+
number: z.number(),
|
|
2563
|
+
paidAt: z.string().nullable(),
|
|
2564
|
+
paymentGroupId: z.number().nullable(),
|
|
2565
|
+
status: z.string(),
|
|
2566
|
+
updatedAt: z.string()
|
|
2567
|
+
});
|
|
2568
|
+
}
|
|
2569
|
+
export function TalentPermissionsSchema() {
|
|
2570
|
+
return z.object({
|
|
2571
|
+
__typename: z.literal('TalentPermissions').optional(),
|
|
2572
|
+
canApplyToJobs: z.boolean(),
|
|
2573
|
+
canFillInAdvancedProfile: z.boolean(),
|
|
2574
|
+
canHaveReferrals: z.boolean(),
|
|
2575
|
+
canViewAskAnExpert: z.boolean(),
|
|
2576
|
+
canViewCoachingRequests: z.boolean(),
|
|
2577
|
+
canViewCommunity: z.boolean(),
|
|
2578
|
+
canViewConsultations: z.boolean(),
|
|
2579
|
+
canViewEligibleJobs: z.boolean(),
|
|
2580
|
+
canViewFaq: z.boolean(),
|
|
2581
|
+
canViewFeedbackCall: z.boolean(),
|
|
2582
|
+
canViewJobsOnClientReview: z.boolean(),
|
|
2583
|
+
canViewJobsOnMatcherReview: z.boolean(),
|
|
2584
|
+
canViewLegalSetting: z.boolean(),
|
|
2585
|
+
canViewMobileAppPromo: z.boolean(),
|
|
2586
|
+
canViewOnboardingVideo: z.boolean(),
|
|
2587
|
+
canViewPayments: z.boolean(),
|
|
2588
|
+
canViewRateInsights: z.boolean(),
|
|
2589
|
+
canViewRecognitionBadges: z.boolean(),
|
|
2590
|
+
canViewRecommendedJobs: z.boolean(),
|
|
2591
|
+
canViewSlackCommunity: z.boolean(),
|
|
2592
|
+
canViewSmsNotificationSettings: z.boolean(),
|
|
2593
|
+
canViewSpecializations: z.boolean(),
|
|
2594
|
+
canViewToptalAdvantageSection: z.boolean()
|
|
2595
|
+
});
|
|
2596
|
+
}
|
|
2597
|
+
export function TalentPortalSettingSchema() {
|
|
2598
|
+
return z.object({
|
|
2599
|
+
__typename: z.literal('TalentPortalSetting').optional(),
|
|
2600
|
+
collapsedMenu: z.boolean(),
|
|
2601
|
+
threeColumnLayout: z.boolean()
|
|
2602
|
+
});
|
|
2603
|
+
}
|
|
2604
|
+
export function TalentPortalSettingMutationsSchema() {
|
|
2605
|
+
return z.object({
|
|
2606
|
+
__typename: z.literal('TalentPortalSettingMutations').optional(),
|
|
2607
|
+
update: z.lazy(() => NotificationSettingUpdatePayloadSchema().nullable())
|
|
2608
|
+
});
|
|
2609
|
+
}
|
|
2610
|
+
export function TalentPortalSettingMutationsUpdateArgsSchema() {
|
|
2611
|
+
return z.object({
|
|
2612
|
+
input: z.lazy(() => TalentPortalSettingUpdateInputSchema())
|
|
2613
|
+
});
|
|
2614
|
+
}
|
|
2615
|
+
export function TalentPortalSettingUpdateInputSchema() {
|
|
2616
|
+
return z.object({
|
|
2617
|
+
_placeholder: z.string().nullable()
|
|
2618
|
+
});
|
|
2619
|
+
}
|
|
2620
|
+
export function TalentPortalSettingUpdatePayloadSchema() {
|
|
2621
|
+
return z.object({
|
|
2622
|
+
__typename: z.literal('TalentPortalSettingUpdatePayload').optional(),
|
|
2623
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2624
|
+
success: z.boolean()
|
|
2625
|
+
});
|
|
2626
|
+
}
|
|
2627
|
+
export function TalentRateSchema() {
|
|
2628
|
+
return z.object({
|
|
2629
|
+
__typename: z.literal('TalentRate').optional(),
|
|
2630
|
+
hourly: z.string()
|
|
2631
|
+
});
|
|
2632
|
+
}
|
|
2633
|
+
export function TalentRateInsightSchema() {
|
|
2634
|
+
return z.object({
|
|
2635
|
+
__typename: z.literal('TalentRateInsight').optional(),
|
|
2636
|
+
hourly: z.lazy(() => TalentRateInsightForCommitmentSchema())
|
|
2637
|
+
});
|
|
2638
|
+
}
|
|
2639
|
+
export function TalentRateInsightForCommitmentSchema() {
|
|
2640
|
+
return z.object({
|
|
2641
|
+
__typename: z.literal('TalentRateInsightForCommitment').optional(),
|
|
2642
|
+
currentRateCompetitive: z.boolean(),
|
|
2643
|
+
recentApplicationRate: z.string(),
|
|
2644
|
+
recommendedRate: z.string()
|
|
2645
|
+
});
|
|
2646
|
+
}
|
|
2647
|
+
export function TalentRateValidationRuleSchema() {
|
|
2648
|
+
return z.object({
|
|
2649
|
+
__typename: z.literal('TalentRateValidationRule').optional(),
|
|
2650
|
+
minRate: z.string(),
|
|
2651
|
+
rateStep: z.number()
|
|
2652
|
+
});
|
|
2653
|
+
}
|
|
2654
|
+
export function TalentRateValidationRulesSchema() {
|
|
2655
|
+
return z.object({
|
|
2656
|
+
__typename: z.literal('TalentRateValidationRules').optional(),
|
|
2657
|
+
hourly: z.lazy(() => TalentRateValidationRuleSchema())
|
|
2658
|
+
});
|
|
2659
|
+
}
|
|
2660
|
+
export function TalentSpecializationSchema() {
|
|
2661
|
+
return z.object({
|
|
2662
|
+
__typename: z.literal('TalentSpecialization').optional(),
|
|
2663
|
+
deliveryModel: z.lazy(() => TalentEngagementDeliveryModelSchema()),
|
|
2664
|
+
id: z.string(),
|
|
2665
|
+
slug: z.string(),
|
|
2666
|
+
title: z.string()
|
|
2667
|
+
});
|
|
2668
|
+
}
|
|
2669
|
+
export function TalentStartIdVerificationPayloadSchema() {
|
|
2670
|
+
return z.object({
|
|
2671
|
+
__typename: z.literal('TalentStartIdVerificationPayload').optional(),
|
|
2672
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2673
|
+
success: z.boolean()
|
|
2674
|
+
});
|
|
2675
|
+
}
|
|
2676
|
+
export function TalentVerticalSchema() {
|
|
2677
|
+
return z.object({
|
|
2678
|
+
__typename: z.literal('TalentVertical').optional(),
|
|
2679
|
+
globalMarketCondition: z.lazy(() => VerticalGlobalMarketConditionSchema()),
|
|
2680
|
+
hasSingleSpecialization: z.boolean(),
|
|
2681
|
+
isApiAllowed: z.boolean(),
|
|
2682
|
+
isMarketplaceAccessEnabled: z.boolean(),
|
|
2683
|
+
marketCondition: z.lazy(() => VerticalMarketConditionSchema()),
|
|
2684
|
+
minPortfolioItems: z.number(),
|
|
2685
|
+
name: z.string(),
|
|
2686
|
+
profileHandbookUrl: z.string(),
|
|
2687
|
+
roleId: z.number(),
|
|
2688
|
+
slug: z.string(),
|
|
2689
|
+
talentJobApplicationConfig: z.lazy(() => TalentJobApplicationConfigSchema())
|
|
2690
|
+
});
|
|
2691
|
+
}
|
|
2692
|
+
export function TalentVideoPitchMutationsSchema() {
|
|
2693
|
+
return z.object({
|
|
2694
|
+
__typename: z.literal('TalentVideoPitchMutations').optional(),
|
|
2695
|
+
attach: z.lazy(() => MutationResultSchema().nullable())
|
|
2696
|
+
});
|
|
2697
|
+
}
|
|
2698
|
+
export function TalentVideoPitchMutationsAttachArgsSchema() {
|
|
2699
|
+
return z.object({
|
|
2700
|
+
input: z.lazy(() => AttachTalentVideoPitchInputSchema())
|
|
2701
|
+
});
|
|
2702
|
+
}
|
|
2703
|
+
export function TeamSizeSchema() {
|
|
2704
|
+
return z.object({
|
|
2705
|
+
__typename: z.literal('TeamSize').optional(),
|
|
2706
|
+
value: z.string().nullable()
|
|
2707
|
+
});
|
|
2708
|
+
}
|
|
2709
|
+
export function TermsOfServiceSchema() {
|
|
2710
|
+
return z.object({
|
|
2711
|
+
__typename: z.literal('TermsOfService').optional(),
|
|
2712
|
+
body: z.string(),
|
|
2713
|
+
id: z.string(),
|
|
2714
|
+
requiredAction: z.string(),
|
|
2715
|
+
revisedOn: z.string(),
|
|
2716
|
+
revisionNotice: z.unknown().nullable(),
|
|
2717
|
+
title: z.string()
|
|
2718
|
+
});
|
|
2719
|
+
}
|
|
2720
|
+
export function TermsOfServiceAcceptPayloadSchema() {
|
|
2721
|
+
return z.object({
|
|
2722
|
+
__typename: z.literal('TermsOfServiceAcceptPayload').optional(),
|
|
2723
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2724
|
+
success: z.boolean()
|
|
2725
|
+
});
|
|
2726
|
+
}
|
|
2727
|
+
export function TermsOfServiceMutationsSchema() {
|
|
2728
|
+
return z.object({
|
|
2729
|
+
__typename: z.literal('TermsOfServiceMutations').optional(),
|
|
2730
|
+
accept: z.lazy(() => InterviewAcceptPayloadSchema().nullable()),
|
|
2731
|
+
review: z.lazy(() => MutationResultSchema().nullable())
|
|
2732
|
+
});
|
|
2733
|
+
}
|
|
2734
|
+
export function TermsOfServiceMutationsAcceptArgsSchema() {
|
|
2735
|
+
return z.object({
|
|
2736
|
+
input: z.unknown().nullable()
|
|
2737
|
+
});
|
|
2738
|
+
}
|
|
2739
|
+
export function TermsOfServiceMutationsReviewArgsSchema() {
|
|
2740
|
+
return z.object({
|
|
2741
|
+
input: z.unknown().nullable()
|
|
2742
|
+
});
|
|
2743
|
+
}
|
|
2744
|
+
export function TermsOfServiceReviewPayloadSchema() {
|
|
2745
|
+
return z.object({
|
|
2746
|
+
__typename: z.literal('TermsOfServiceReviewPayload').optional(),
|
|
2747
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2748
|
+
success: z.boolean()
|
|
2749
|
+
});
|
|
2750
|
+
}
|
|
2751
|
+
export function TimeFilterSchema() {
|
|
2752
|
+
return z.object({
|
|
2753
|
+
gt: z.unknown().nullable(),
|
|
2754
|
+
gteq: z.unknown().nullable(),
|
|
2755
|
+
lt: z.unknown().nullable(),
|
|
2756
|
+
lteq: z.unknown().nullable()
|
|
2757
|
+
});
|
|
2758
|
+
}
|
|
2759
|
+
export function TimeZoneSchema() {
|
|
2760
|
+
return z.object({
|
|
2761
|
+
__typename: z.literal('TimeZone').optional(),
|
|
2762
|
+
location: z.string(),
|
|
2763
|
+
name: z.string(),
|
|
2764
|
+
stdOffset: z.number(),
|
|
2765
|
+
utcOffset: z.number(),
|
|
2766
|
+
value: z.string()
|
|
2767
|
+
});
|
|
2768
|
+
}
|
|
2769
|
+
export function TimesheetRecordsInputSchema() {
|
|
2770
|
+
return z.object({
|
|
2771
|
+
date: z.string(),
|
|
2772
|
+
duration: z.string().nullable(),
|
|
2773
|
+
note: z.unknown().nullable()
|
|
2774
|
+
});
|
|
2775
|
+
}
|
|
2776
|
+
export function TitleSubtitleContextSchema() {
|
|
2777
|
+
return z.object({
|
|
2778
|
+
__typename: z.literal('TitleSubtitleContext').optional(),
|
|
2779
|
+
subtitle: z.string(),
|
|
2780
|
+
title: z.string()
|
|
2781
|
+
});
|
|
2782
|
+
}
|
|
2783
|
+
export function TopChatConversationServiceSchema() {
|
|
2784
|
+
return TopChatConversationSlackServiceSchema();
|
|
2785
|
+
}
|
|
2786
|
+
export function TopChatConversationSlackServiceSchema() {
|
|
2787
|
+
return z.object({
|
|
2788
|
+
__typename: z.literal('TopChatConversationSlackService').optional(),
|
|
2789
|
+
channelId: z.string().nullable(),
|
|
2790
|
+
id: z.string().nullable()
|
|
2791
|
+
});
|
|
2792
|
+
}
|
|
2793
|
+
export function TopChatConversationStatusFilterSchema() {
|
|
2794
|
+
return z.object({
|
|
2795
|
+
_placeholder: z.string().nullable()
|
|
2796
|
+
});
|
|
2797
|
+
}
|
|
2798
|
+
export function TopChatConversationsFilterSchema() {
|
|
2799
|
+
return z.object({
|
|
2800
|
+
_placeholder: z.string().nullable()
|
|
2801
|
+
});
|
|
2802
|
+
}
|
|
2803
|
+
export function UpdateMeetingHoursInputSchema() {
|
|
2804
|
+
return z.object({
|
|
2805
|
+
_placeholder: z.string().nullable()
|
|
2806
|
+
});
|
|
2807
|
+
}
|
|
2808
|
+
export function UpdateMeetingHoursPayloadSchema() {
|
|
2809
|
+
return z.object({
|
|
2810
|
+
__typename: z.literal('UpdateMeetingHoursPayload').optional(),
|
|
2811
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2812
|
+
success: z.boolean()
|
|
2813
|
+
});
|
|
2814
|
+
}
|
|
2815
|
+
export function UpdatePaymentOptionInputSchema() {
|
|
2816
|
+
return z.object({
|
|
2817
|
+
_placeholder: z.string().nullable()
|
|
2818
|
+
});
|
|
2819
|
+
}
|
|
2820
|
+
export function UpdatePaymentOptionPayloadSchema() {
|
|
2821
|
+
return z.object({
|
|
2822
|
+
__typename: z.literal('UpdatePaymentOptionPayload').optional(),
|
|
2823
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2824
|
+
success: z.boolean()
|
|
2825
|
+
});
|
|
2826
|
+
}
|
|
2827
|
+
export function UpdateProfileIndustryConnectionsPayloadSchema() {
|
|
2828
|
+
return z.object({
|
|
2829
|
+
__typename: z.literal('UpdateProfileIndustryConnectionsPayload').optional(),
|
|
2830
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2831
|
+
success: z.boolean()
|
|
2832
|
+
});
|
|
2833
|
+
}
|
|
2834
|
+
export function UpdateProfileSkillSetPublicitiesPayloadSchema() {
|
|
2835
|
+
return z.object({
|
|
2836
|
+
__typename: z.literal('UpdateProfileSkillSetPublicitiesPayload').optional(),
|
|
2837
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2838
|
+
success: z.boolean()
|
|
2839
|
+
});
|
|
2840
|
+
}
|
|
2841
|
+
export function UpdateTalentConsultingRateInputSchema() {
|
|
2842
|
+
return z.object({
|
|
2843
|
+
_placeholder: z.string().nullable()
|
|
2844
|
+
});
|
|
2845
|
+
}
|
|
2846
|
+
export function UpdateTalentConsultingRatePayloadSchema() {
|
|
2847
|
+
return z.object({
|
|
2848
|
+
__typename: z.literal('UpdateTalentConsultingRatePayload').optional(),
|
|
2849
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2850
|
+
success: z.boolean()
|
|
2851
|
+
});
|
|
2852
|
+
}
|
|
2853
|
+
export function UpdateTimesheetPayloadSchema() {
|
|
2854
|
+
return z.object({
|
|
2855
|
+
__typename: z.literal('UpdateTimesheetPayload').optional(),
|
|
2856
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2857
|
+
success: z.boolean()
|
|
2858
|
+
});
|
|
2859
|
+
}
|
|
2860
|
+
export function UpdateWorkingHoursInputSchema() {
|
|
2861
|
+
return z.object({
|
|
2862
|
+
_placeholder: z.string().nullable()
|
|
2863
|
+
});
|
|
2864
|
+
}
|
|
2865
|
+
export function UpdateWorkingHoursPayloadSchema() {
|
|
2866
|
+
return z.object({
|
|
2867
|
+
__typename: z.literal('UpdateWorkingHoursPayload').optional(),
|
|
2868
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2869
|
+
success: z.boolean()
|
|
2870
|
+
});
|
|
2871
|
+
}
|
|
2872
|
+
export function UploadTimesheetPayloadSchema() {
|
|
2873
|
+
return z.object({
|
|
2874
|
+
__typename: z.literal('UploadTimesheetPayload').optional(),
|
|
2875
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
2876
|
+
success: z.boolean()
|
|
2877
|
+
});
|
|
2878
|
+
}
|
|
2879
|
+
export function UserErrorSchema() {
|
|
2880
|
+
return z.object({
|
|
2881
|
+
code: z.string().nullable(),
|
|
2882
|
+
key: z.string().nullable(),
|
|
2883
|
+
message: z.string().nullable()
|
|
2884
|
+
});
|
|
2885
|
+
}
|
|
2886
|
+
export function VerticalGlobalMarketConditionSchema() {
|
|
2887
|
+
return z.object({
|
|
2888
|
+
__typename: z.literal('VerticalGlobalMarketCondition').optional(),
|
|
2889
|
+
condition: z.string(),
|
|
2890
|
+
conditionColor: z.string(),
|
|
2891
|
+
conditionVerbose: z.string(),
|
|
2892
|
+
reportUrl: z.string()
|
|
2893
|
+
});
|
|
2894
|
+
}
|
|
2895
|
+
export function VerticalMarketConditionSchema() {
|
|
2896
|
+
return z.object({
|
|
2897
|
+
__typename: z.literal('VerticalMarketCondition').optional(),
|
|
2898
|
+
condition: z.string()
|
|
2899
|
+
});
|
|
2900
|
+
}
|
|
2901
|
+
export function ViewerSchema() {
|
|
2902
|
+
return z.object({
|
|
2903
|
+
__typename: z.literal('Viewer').optional(),
|
|
2904
|
+
accessibleRoles: z.array(z.unknown().nullable()),
|
|
2905
|
+
appliedAt: z.string(),
|
|
2906
|
+
availabilityRequestMetrics: z.lazy(() => AvailabilityRequestMetricsSchema()),
|
|
2907
|
+
availabilityRequestTalentCardEnabled: z.boolean(),
|
|
2908
|
+
badgeGroups: z.lazy(() => BadgeGroupConnectionSchema()),
|
|
2909
|
+
billingCycles: z.lazy(() => BillingCycleConnectionSchema()),
|
|
2910
|
+
coachingEligibility: z.string(),
|
|
2911
|
+
codeOfConduct: z.lazy(() => CodeOfConductSchema()),
|
|
2912
|
+
currentMobileAnnouncement: z.lazy(() => MobileAnnouncementSchema()),
|
|
2913
|
+
eligibleJobs: z.lazy(() => JobListSchema()),
|
|
2914
|
+
hasReferralBonusRewardJobs: z.boolean(),
|
|
2915
|
+
hasSearchSubscription: z.boolean(),
|
|
2916
|
+
hireMeBanner: z.lazy(() => HireMeBannerSchema()),
|
|
2917
|
+
id: z.string(),
|
|
2918
|
+
interviews: z.array(z.unknown().nullable()),
|
|
2919
|
+
jobActivityItem: z.lazy(() => TalentJobActivityItemSchema()),
|
|
2920
|
+
jobActivityList: z.lazy(() => JobActivityListSchema()),
|
|
2921
|
+
lastRateChangeRequest: z.lazy(() => RateChangeRequestSchema()),
|
|
2922
|
+
mobileAppSetting: z.lazy(() => MobileAppSettingSchema()),
|
|
2923
|
+
notificationCenter: z.lazy(() => CenterSchema()),
|
|
2924
|
+
notificationSetting: z.lazy(() => NotificationSettingSchema()),
|
|
2925
|
+
ongoingRateChangeRequest: z.unknown().nullable(),
|
|
2926
|
+
payments: z.lazy(() => PaymentsConnectionSchema()),
|
|
2927
|
+
pendingAvailabilityRequests: z.array(z.lazy(() => AvailabilityRequestSchema().nullable())),
|
|
2928
|
+
pendingNotifications: z.array(z.unknown().nullable()),
|
|
2929
|
+
pendingQuizzes: z.array(z.unknown().nullable()),
|
|
2930
|
+
pendingSurveys: z.array(z.lazy(() => SurveySchema().nullable())),
|
|
2931
|
+
preliminarySearchSetting: z.lazy(() => PreliminarySearchSettingSchema()),
|
|
2932
|
+
recommendedJobs: z.array(z.unknown().nullable()),
|
|
2933
|
+
referralUrl: z.lazy(() => ReferralUrlSchema()),
|
|
2934
|
+
savedJobsCount: z.lazy(() => JobListSchema()),
|
|
2935
|
+
scheduledAvailability: z.unknown().nullable(),
|
|
2936
|
+
searchSubscription: z.lazy(() => SearchSubscriptionSchema()),
|
|
2937
|
+
slackApplications: z.lazy(() => SlackApplicationsConnectionSchema()),
|
|
2938
|
+
talentPortalSetting: z.lazy(() => TalentPortalSettingSchema()),
|
|
2939
|
+
talentStatistics: z.lazy(() => RoleStatisticsSchema()),
|
|
2940
|
+
termsOfService: z.lazy(() => TermsOfServiceSchema()),
|
|
2941
|
+
viewerRole: z.lazy(() => ViewerRoleSchema())
|
|
2942
|
+
});
|
|
2943
|
+
}
|
|
2944
|
+
export function ViewerRoleSchema() {
|
|
2945
|
+
return z.object({
|
|
2946
|
+
__typename: z.literal('ViewerRole').optional(),
|
|
2947
|
+
activatedAt: z.string(),
|
|
2948
|
+
allocatedHours: z.number(),
|
|
2949
|
+
applicationReapplyGracePeriodDueDate: z.unknown().nullable(),
|
|
2950
|
+
askExpertMenuVisible: z.boolean(),
|
|
2951
|
+
availability: z.string(),
|
|
2952
|
+
availableShiftRangeFrom: z.string(),
|
|
2953
|
+
availableShiftRangeTo: z.string(),
|
|
2954
|
+
blockedStatus: z.lazy(() => BlockedStatusSchema()),
|
|
2955
|
+
contactFields: z.lazy(() => ContactFieldsSchema()),
|
|
2956
|
+
email: z.string(),
|
|
2957
|
+
firstName: z.string(),
|
|
2958
|
+
fullName: z.string(),
|
|
2959
|
+
hiredHours: z.number(),
|
|
2960
|
+
hourlyRate: z.lazy(() => MoneySchema()),
|
|
2961
|
+
isFakeSession: z.boolean(),
|
|
2962
|
+
isPassThroughTalent: z.boolean(),
|
|
2963
|
+
lastAllocatedHoursChangeRequest: z.lazy(() => AllocatedHoursChangeRequestSchema()),
|
|
2964
|
+
lastMobileAccess: z.lazy(() => MobileAccessSchema()),
|
|
2965
|
+
marketplaceAutoMigrated: z.boolean(),
|
|
2966
|
+
marketplaceSeenMigrationNotificationAt: z.string(),
|
|
2967
|
+
nonTalentRoles: z.array(z.unknown().nullable()),
|
|
2968
|
+
operations: z.lazy(() => ViewerRoleOperationsSchema()),
|
|
2969
|
+
permissions: z.lazy(() => TalentPermissionsSchema()),
|
|
2970
|
+
phoneNumber: z.string(),
|
|
2971
|
+
photo: z.lazy(() => PhotoSchema()),
|
|
2972
|
+
postActivationStepsStatus: z.string(),
|
|
2973
|
+
profile: z.lazy(() => ProfileSchema()),
|
|
2974
|
+
profileId: z.string(),
|
|
2975
|
+
publicResumeUrl: z.string(),
|
|
2976
|
+
pushNotificationsConfiguration: z.lazy(() => PushNotificationsConfigurationSchema()),
|
|
2977
|
+
rateInsight: z.lazy(() => TalentRateInsightSchema()),
|
|
2978
|
+
rates: z.lazy(() => TalentRateSchema()),
|
|
2979
|
+
roleId: z.number(),
|
|
2980
|
+
sendNotificationsToPrivateEmail: z.boolean(),
|
|
2981
|
+
specializationType: z.string(),
|
|
2982
|
+
specializations: z.array(z.lazy(() => TalentSpecializationSchema().nullable())),
|
|
2983
|
+
talentPartner: z.unknown().nullable(),
|
|
2984
|
+
talentVerticals: z.array(z.lazy(() => TalentVerticalSchema().nullable())),
|
|
2985
|
+
timeZone: z.lazy(() => TimeZoneSchema()),
|
|
2986
|
+
topSchedulerSettingsAllowed: z.boolean(),
|
|
2987
|
+
toptalEmail: z.string(),
|
|
2988
|
+
toptalEmailSuspended: z.boolean(),
|
|
2989
|
+
userChameleonUUID: z.string(),
|
|
2990
|
+
vertical: z.lazy(() => TalentVerticalSchema()),
|
|
2991
|
+
workingTimeFrom: z.string(),
|
|
2992
|
+
workingTimeTo: z.string()
|
|
2993
|
+
});
|
|
2994
|
+
}
|
|
2995
|
+
export function ViewerRoleOperationsSchema() {
|
|
2996
|
+
return z.object({
|
|
2997
|
+
__typename: z.literal('ViewerRoleOperations').optional(),
|
|
2998
|
+
createRateChangeRequest: z.lazy(() => OperationSchema()),
|
|
2999
|
+
createTalentSignal: z.lazy(() => ViewerRoleOperationsCreateTalentSignalSchema()),
|
|
3000
|
+
promoteGigs: z.lazy(() => ViewerRoleOperationsPromoteGigsSchema()),
|
|
3001
|
+
startSearchSubscription: z.lazy(() => OperationSchema())
|
|
3002
|
+
});
|
|
3003
|
+
}
|
|
3004
|
+
export function ViewerRoleOperationsCreateTalentSignalSchema() {
|
|
3005
|
+
return z.object({
|
|
3006
|
+
__typename: z.literal('ViewerRoleOperationsCreateTalentSignal').optional(),
|
|
3007
|
+
callable: z.string()
|
|
3008
|
+
});
|
|
3009
|
+
}
|
|
3010
|
+
export function ViewerRoleOperationsPromoteGigsSchema() {
|
|
3011
|
+
return z.object({
|
|
3012
|
+
__typename: z.literal('ViewerRoleOperationsPromoteGigs').optional(),
|
|
3013
|
+
callable: z.string(),
|
|
3014
|
+
errors: z.array(z.unknown().nullable()),
|
|
3015
|
+
messages: z.array(z.unknown().nullable())
|
|
3016
|
+
});
|
|
3017
|
+
}
|
|
3018
|
+
export function ViewerRoleOpsSchema() {
|
|
3019
|
+
return z.object({
|
|
3020
|
+
__typename: z.literal('ViewerRoleOps').optional(),
|
|
3021
|
+
createBecomeClient: z.lazy(() => CreateBecomeClientPayloadSchema().nullable()),
|
|
3022
|
+
createDirectReferral: z.lazy(() => CreateDirectReferralPayloadSchema().nullable()),
|
|
3023
|
+
createMarketplaceHelpRequest: z.lazy(() => CreateMarketplaceHelpRequestPayloadSchema().nullable()),
|
|
3024
|
+
createRateChangeRequest: z.lazy(() => CreateRateChangeRequestPayloadSchema().nullable()),
|
|
3025
|
+
createTalentSignal: z.lazy(() => CreateTalentSignalPayloadSchema().nullable()),
|
|
3026
|
+
markMarketplaceMigrationNotificationSeen: z.lazy(() => MutationResultSchema().nullable()),
|
|
3027
|
+
markSeenFirstJobNotification: z.lazy(() => MutationResultSchema().nullable()),
|
|
3028
|
+
postActivationLifecycleUpdateTopScheduler: z.lazy(() => MutationResultSchema().nullable()),
|
|
3029
|
+
setUnavailable: z.lazy(() => SetUnavailablePayloadSchema().nullable()),
|
|
3030
|
+
submitHireMePage: z.lazy(() => MutationResultSchema().nullable()),
|
|
3031
|
+
update: z.lazy(() => ViewerRoleUpdatePayloadSchema().nullable()),
|
|
3032
|
+
updateAccountSettings: z.lazy(() => MutationResultSchema().nullable())
|
|
3033
|
+
});
|
|
3034
|
+
}
|
|
3035
|
+
export function ViewerRoleOpsCreateBecomeClientArgsSchema() {
|
|
3036
|
+
return z.object({
|
|
3037
|
+
input: z.unknown().nullable()
|
|
3038
|
+
});
|
|
3039
|
+
}
|
|
3040
|
+
export function ViewerRoleOpsCreateDirectReferralArgsSchema() {
|
|
3041
|
+
return z.object({
|
|
3042
|
+
input: z.unknown().nullable()
|
|
3043
|
+
});
|
|
3044
|
+
}
|
|
3045
|
+
export function ViewerRoleOpsCreateMarketplaceHelpRequestArgsSchema() {
|
|
3046
|
+
return z.object({
|
|
3047
|
+
input: z.unknown().nullable()
|
|
3048
|
+
});
|
|
3049
|
+
}
|
|
3050
|
+
export function ViewerRoleOpsCreateRateChangeRequestArgsSchema() {
|
|
3051
|
+
return z.object({
|
|
3052
|
+
input: z.unknown().nullable()
|
|
3053
|
+
});
|
|
3054
|
+
}
|
|
3055
|
+
export function ViewerRoleOpsCreateTalentSignalArgsSchema() {
|
|
3056
|
+
return z.object({
|
|
3057
|
+
input: z.unknown().nullable()
|
|
3058
|
+
});
|
|
3059
|
+
}
|
|
3060
|
+
export function ViewerRoleOpsMarkMarketplaceMigrationNotificationSeenArgsSchema() {
|
|
3061
|
+
return z.object({
|
|
3062
|
+
input: z.unknown().nullable()
|
|
3063
|
+
});
|
|
3064
|
+
}
|
|
3065
|
+
export function ViewerRoleOpsMarkSeenFirstJobNotificationArgsSchema() {
|
|
3066
|
+
return z.object({
|
|
3067
|
+
input: z.unknown().nullable()
|
|
3068
|
+
});
|
|
3069
|
+
}
|
|
3070
|
+
export function ViewerRoleOpsPostActivationLifecycleUpdateTopSchedulerArgsSchema() {
|
|
3071
|
+
return z.object({
|
|
3072
|
+
input: z.unknown().nullable()
|
|
3073
|
+
});
|
|
3074
|
+
}
|
|
3075
|
+
export function ViewerRoleOpsSetUnavailableArgsSchema() {
|
|
3076
|
+
return z.object({
|
|
3077
|
+
input: z.unknown().nullable()
|
|
3078
|
+
});
|
|
3079
|
+
}
|
|
3080
|
+
export function ViewerRoleOpsSubmitHireMePageArgsSchema() {
|
|
3081
|
+
return z.object({
|
|
3082
|
+
input: z.lazy(() => SubmitHireMePageInputSchema())
|
|
3083
|
+
});
|
|
3084
|
+
}
|
|
3085
|
+
export function ViewerRoleOpsUpdateArgsSchema() {
|
|
3086
|
+
return z.object({
|
|
3087
|
+
input: z.unknown().nullable()
|
|
3088
|
+
});
|
|
3089
|
+
}
|
|
3090
|
+
export function ViewerRoleOpsUpdateAccountSettingsArgsSchema() {
|
|
3091
|
+
return z.object({
|
|
3092
|
+
input: z.lazy(() => ViewerRoleUpdateAccountSettingsInputSchema())
|
|
3093
|
+
});
|
|
3094
|
+
}
|
|
3095
|
+
export function ViewerRoleResetPasswordPayloadSchema() {
|
|
3096
|
+
return z.object({
|
|
3097
|
+
__typename: z.literal('ViewerRoleResetPasswordPayload').optional(),
|
|
3098
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
3099
|
+
success: z.boolean()
|
|
3100
|
+
});
|
|
3101
|
+
}
|
|
3102
|
+
export function ViewerRoleUpdateAccountSettingsInputSchema() {
|
|
3103
|
+
return z.object({
|
|
3104
|
+
_placeholder: z.string().nullable()
|
|
3105
|
+
});
|
|
3106
|
+
}
|
|
3107
|
+
export function ViewerRoleUpdateAccountSettingsPayloadSchema() {
|
|
3108
|
+
return z.object({
|
|
3109
|
+
__typename: z.literal('ViewerRoleUpdateAccountSettingsPayload').optional(),
|
|
3110
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
3111
|
+
success: z.boolean()
|
|
3112
|
+
});
|
|
3113
|
+
}
|
|
3114
|
+
export function ViewerRoleUpdatePayloadSchema() {
|
|
3115
|
+
return z.object({
|
|
3116
|
+
__typename: z.literal('ViewerRoleUpdatePayload').optional(),
|
|
3117
|
+
errors: z.array(z.lazy(() => UserErrorSchema().nullable())).nullable(),
|
|
3118
|
+
success: z.boolean()
|
|
3119
|
+
});
|
|
3120
|
+
}
|
|
3121
|
+
//# sourceMappingURL=zod-schemas.js.map
|