@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/jobs/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,oCAAoC;AAsFpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AA8B5D,MAAM,OAAO,SAAU,SAAQ,KAAK;IAGhB;IAFA,IAAI,GAAG,WAAW,CAAC;IACrC,YACkB,IAAmB,EACnC,OAAe,EACf,OAA6B;QAE7B,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAJR,SAAI,GAAJ,IAAI,CAAe;IAKrC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irrors the `EngagementsError` shape.
|
|
4
|
+
*
|
|
5
|
+
* - `NO_VIEWER`: HTTP 200 + `data.viewer === null`.
|
|
6
|
+
* - `NOT_FOUND`: caller's id doesn't resolve to a viewable payment /
|
|
7
|
+
* payment method. Folds two wire shapes: top-level `Record not found`
|
|
8
|
+
* AND `data.viewer.*` null sentinel.
|
|
9
|
+
* - `MISSING_INPUT`: caller-side validation failure (e.g.,
|
|
10
|
+
* `kind: current-engagement` without `engagementId`). Surfaced
|
|
11
|
+
* BEFORE any transport call.
|
|
12
|
+
* - `GRAPHQL_ERROR`: top-level `errors[]` from the gateway, not
|
|
13
|
+
* auth-revoked, not `Record not found`.
|
|
14
|
+
* - `MUTATION_ERROR`: the `MutationResult.errors[]` payload (operation
|
|
15
|
+
* succeeded at GraphQL level, but the mutation itself reports
|
|
16
|
+
* per-field errors — validation, ineligibility, etc.).
|
|
17
|
+
* - `NETWORK_ERROR`, `UNKNOWN`: standard transport failure modes.
|
|
18
|
+
*
|
|
19
|
+
* Auth-revoked failures throw `AuthRevokedError` (cross-cutting
|
|
20
|
+
* `TtctlError` subclass per #77), not a code on this enum.
|
|
21
|
+
*/
|
|
22
|
+
export type PaymentsErrorCode = "NO_VIEWER" | "NOT_FOUND" | "MISSING_INPUT" | "GRAPHQL_ERROR" | "MUTATION_ERROR" | "NETWORK_ERROR" | "WIRE_SHAPE_ERROR" | "UNKNOWN";
|
|
23
|
+
export declare class PaymentsError extends Error {
|
|
24
|
+
readonly code: PaymentsErrorCode;
|
|
25
|
+
readonly name = "PaymentsError";
|
|
26
|
+
constructor(code: PaymentsErrorCode, message: string, options?: {
|
|
27
|
+
cause?: unknown;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Status payload for a payout. Both `status` (specific enum value, e.g.
|
|
32
|
+
* `"PAID"`, `"DUE"`) and the same payout's `kindCategory` (`"TALENT_PAYMENT"`,
|
|
33
|
+
* `"BONUS_PAYMENT"`, `"REFERRAL_PAYMENT"`) carry a single string from a
|
|
34
|
+
* known enum; we expose them as `string` to remain forward-compatible
|
|
35
|
+
* with new server-side values without forcing a TTCtl release.
|
|
36
|
+
*/
|
|
37
|
+
export interface PayoutBillingCycle {
|
|
38
|
+
id: string;
|
|
39
|
+
startDate: string;
|
|
40
|
+
endDate: string;
|
|
41
|
+
}
|
|
42
|
+
export interface PayoutMemorandum {
|
|
43
|
+
id: string;
|
|
44
|
+
amount: string;
|
|
45
|
+
balance: string;
|
|
46
|
+
downloadPdfUrl: string | null;
|
|
47
|
+
effectiveDate: string | null;
|
|
48
|
+
}
|
|
49
|
+
export interface PayoutJobRef {
|
|
50
|
+
id: string;
|
|
51
|
+
title: string | null;
|
|
52
|
+
client: {
|
|
53
|
+
id: string;
|
|
54
|
+
fullName: string | null;
|
|
55
|
+
} | null;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Single payout (row in the payouts list, OR the detail returned by
|
|
59
|
+
* `payouts.show`). Matches the `paymentFields` fragment captured at
|
|
60
|
+
* `gateway/operations/mobile/Payments.graphql`.
|
|
61
|
+
*
|
|
62
|
+
* `amount` and `correctionAmount` are decimal strings (e.g. `"1234.56"`)
|
|
63
|
+
* — Toptal's `Money` type returns string-encoded decimals to avoid
|
|
64
|
+
* float-rounding errors. Surface them as strings to preserve precision;
|
|
65
|
+
* any decimal arithmetic at the CLI / MCP layer should parse via a
|
|
66
|
+
* decimal library, not `parseFloat`.
|
|
67
|
+
*
|
|
68
|
+
* `status` carries the wire enum value (`"PAID"`, `"DUE"`,
|
|
69
|
+
* `"OUTSTANDING"`, `"OVERDUE"`, `"ON_HOLD"`, `"DISPUTED"`); the
|
|
70
|
+
* `TalentPaymentStatus` enum is forward-compatible but kept as `string`
|
|
71
|
+
* here to avoid coupling.
|
|
72
|
+
*/
|
|
73
|
+
export interface Payout {
|
|
74
|
+
id: string;
|
|
75
|
+
number: number;
|
|
76
|
+
amount: string;
|
|
77
|
+
correctionAmount: string;
|
|
78
|
+
description: string | null;
|
|
79
|
+
status: string;
|
|
80
|
+
kindCategory: string;
|
|
81
|
+
paymentGroupId: string | null;
|
|
82
|
+
billingCycle: PayoutBillingCycle | null;
|
|
83
|
+
dueDate: string | null;
|
|
84
|
+
paidAt: string | null;
|
|
85
|
+
createdAt: string;
|
|
86
|
+
updatedAt: string;
|
|
87
|
+
downloadPdfUrl: string | null;
|
|
88
|
+
job: PayoutJobRef | null;
|
|
89
|
+
memorandums: PayoutMemorandum[];
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Aggregate totals across the queried payment range — populated for
|
|
93
|
+
* both the list and the per-engagement summary endpoints.
|
|
94
|
+
*/
|
|
95
|
+
export interface PayoutsSummary {
|
|
96
|
+
totalDisputed: string;
|
|
97
|
+
totalDue: string;
|
|
98
|
+
totalOnHold: string;
|
|
99
|
+
totalOutstanding: string;
|
|
100
|
+
totalOverdue: string;
|
|
101
|
+
totalPaid: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Result of `payouts.list`. Carries the projected payout rows + the
|
|
105
|
+
* server-provided summary aggregates for the same filter window.
|
|
106
|
+
*/
|
|
107
|
+
export interface PayoutsListResult {
|
|
108
|
+
items: Payout[];
|
|
109
|
+
summary: PayoutsSummary;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Options for {@link payouts.list}. Date-range filtering uses
|
|
113
|
+
* server-side `createdOn` filter (the same window the Toptal portal's
|
|
114
|
+
* "From / To" date pickers feed into). Both endpoints are inclusive
|
|
115
|
+
* ISO-8601 dates (YYYY-MM-DD).
|
|
116
|
+
*
|
|
117
|
+
* `kind` and `status` filters are deliberately omitted from v1 — the
|
|
118
|
+
* `PaymentFilter` input has `Unknown`-typed fields for them so the wire
|
|
119
|
+
* shape is unverified. If users ask, add them in a follow-up after a
|
|
120
|
+
* live-capture confirms the value enum.
|
|
121
|
+
*/
|
|
122
|
+
export interface ListPayoutsOptions {
|
|
123
|
+
/** Inclusive lower bound (YYYY-MM-DD). */
|
|
124
|
+
fromDate?: string;
|
|
125
|
+
/** Inclusive upper bound (YYYY-MM-DD). */
|
|
126
|
+
toDate?: string;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Configured payment method on the talent's profile. Matches the
|
|
130
|
+
* minimal projection sent against the mobile-gateway endpoint; the full
|
|
131
|
+
* portal-side `GetTalentPaymentOptions` projection includes
|
|
132
|
+
* `operations.markAsPreferred.{callable, errors, messages}` which is
|
|
133
|
+
* out of scope for v1 (no mutation surface here).
|
|
134
|
+
*
|
|
135
|
+
* `paymentMethod` is the wire enum value (`"PAYONEER"`, `"WIRE"`,
|
|
136
|
+
* `"TOPTAL_PAYMENTS"`, etc.) — kept as `string` to remain
|
|
137
|
+
* forward-compatible.
|
|
138
|
+
*/
|
|
139
|
+
export interface PaymentMethod {
|
|
140
|
+
id: string;
|
|
141
|
+
paymentMethod: string;
|
|
142
|
+
preferredOption: boolean;
|
|
143
|
+
fullName: string | null;
|
|
144
|
+
payoneerId: string | null;
|
|
145
|
+
comment: string | null;
|
|
146
|
+
toptalPaymentsPending: boolean | null;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Three flavors of rate-change request, mapped to the wire enum
|
|
150
|
+
* `RateChangeRequestTypeEnum`.
|
|
151
|
+
*/
|
|
152
|
+
export declare const RATE_CHANGE_KINDS: readonly ["current-engagement", "future-engagements", "consultation"];
|
|
153
|
+
export type RateChangeKind = (typeof RATE_CHANGE_KINDS)[number];
|
|
154
|
+
/**
|
|
155
|
+
* Compact summary of one rate-change request — used by both
|
|
156
|
+
* `rate.show()` (which embeds at most one of `last` / `ongoing`) and
|
|
157
|
+
* downstream renderers.
|
|
158
|
+
*
|
|
159
|
+
* `requestType` is the wire enum (`"CURRENT_ENGAGEMENT" | …`); the
|
|
160
|
+
* CLI / MCP surface translates to/from the kebab-case
|
|
161
|
+
* {@link RateChangeKind} at the action handler boundary.
|
|
162
|
+
*
|
|
163
|
+
* `engagementId` / `engagementTitle` are populated only when
|
|
164
|
+
* `requestType` references an engagement (i.e., not for
|
|
165
|
+
* `FUTURE_ENGAGEMENTS` or `CONSULTATION`).
|
|
166
|
+
*/
|
|
167
|
+
export interface RateChangeRequest {
|
|
168
|
+
id: string;
|
|
169
|
+
createdAt: string;
|
|
170
|
+
desiredRate: string;
|
|
171
|
+
outcomeRate: string;
|
|
172
|
+
requestType: string;
|
|
173
|
+
status: string;
|
|
174
|
+
statusVerbose: string;
|
|
175
|
+
talentComment: string;
|
|
176
|
+
engagementId: string | null;
|
|
177
|
+
engagementTitle: string | null;
|
|
178
|
+
clientName: string | null;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Per-commitment market insight returned by `RateChangeFormDetails`.
|
|
182
|
+
*
|
|
183
|
+
* `currentRateCompetitive` is `Boolean!` per the synthesized SDL — and
|
|
184
|
+
* the live wire returns a JSON boolean (verified 2026-05-16, issue
|
|
185
|
+
* #319). Pre-#319, the hand-rolled type widened this to `string | null`
|
|
186
|
+
* defensively; the T2 Zod runtime validator caught the drift.
|
|
187
|
+
*/
|
|
188
|
+
export interface RateMarketInsight {
|
|
189
|
+
currentRateCompetitive: boolean | null;
|
|
190
|
+
recentApplicationRate: string | null;
|
|
191
|
+
recommendedRate: string | null;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Server-side validation rules for the hourly-rate input. Used by
|
|
195
|
+
* `rate.show()` to surface the floor / step that the
|
|
196
|
+
* `CreateRateChangeRequest` mutation would otherwise reject silently.
|
|
197
|
+
*
|
|
198
|
+
* `rateStep` is `Int!` per the synthesized SDL — and the live wire
|
|
199
|
+
* returns a JSON number (verified 2026-05-16, issue #319). Pre-#319,
|
|
200
|
+
* the hand-rolled type widened this to `string | null` defensively;
|
|
201
|
+
* the T2 Zod runtime validator caught the drift.
|
|
202
|
+
*/
|
|
203
|
+
export interface RateValidation {
|
|
204
|
+
minRate: string | null;
|
|
205
|
+
rateStep: number | null;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Unified projection for `rate.show()`. Composes the current rate, the
|
|
209
|
+
* latest known rate-change request (last completed OR ongoing), the
|
|
210
|
+
* market insight at the talent's vertical, and the rate-validation
|
|
211
|
+
* rules.
|
|
212
|
+
*
|
|
213
|
+
* The `ongoingRateChangeRequest` field on the wire is `Unknown`-typed
|
|
214
|
+
* in the synthesized SDL; this service projects the same shape used
|
|
215
|
+
* for `lastRateChangeRequest` (one of the trusted assumptions in v1 —
|
|
216
|
+
* to be verified by the live E2E for `rate show`).
|
|
217
|
+
*/
|
|
218
|
+
export interface RateProjection {
|
|
219
|
+
/** Current default rate (talent's "rack rate"), as a verbose string. */
|
|
220
|
+
currentRateVerbose: string | null;
|
|
221
|
+
/** Numeric value of the current hourly rate (string, decimal). */
|
|
222
|
+
currentRateDecimal: string | null;
|
|
223
|
+
/** Most recently completed rate-change request, or `null` if never requested. */
|
|
224
|
+
lastChange: RateChangeRequest | null;
|
|
225
|
+
/**
|
|
226
|
+
* In-flight rate-change request (PENDING / CLAIMED), or `null` if no
|
|
227
|
+
* change is ongoing. May overlap with `lastChange` if the last change
|
|
228
|
+
* is still in flight.
|
|
229
|
+
*/
|
|
230
|
+
ongoingChange: RateChangeRequest | null;
|
|
231
|
+
/** Per-commitment market insight (hourly tier shown in the portal). */
|
|
232
|
+
marketInsight: RateMarketInsight | null;
|
|
233
|
+
/** Server-side validation rules (minimum rate, rate step). */
|
|
234
|
+
validation: RateValidation | null;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* One question in the rate-change form — answers are required for the
|
|
238
|
+
* `CreateRateChangeRequest` mutation's `answers[]` input.
|
|
239
|
+
*/
|
|
240
|
+
export interface RateQuestionOption {
|
|
241
|
+
label: string;
|
|
242
|
+
commentRequired: boolean;
|
|
243
|
+
}
|
|
244
|
+
export interface RateQuestion {
|
|
245
|
+
id: string;
|
|
246
|
+
kind: string;
|
|
247
|
+
label: string;
|
|
248
|
+
options: RateQuestionOption[];
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Caller-supplied answer for one rate-change question. `value` is the
|
|
252
|
+
* option label for `RADIO`-kind questions, or the free-text response
|
|
253
|
+
* for `TEXT`-kind questions. `comment` is required when the picked
|
|
254
|
+
* option had `commentRequired: true`.
|
|
255
|
+
*/
|
|
256
|
+
export interface RateChangeAnswerInput {
|
|
257
|
+
questionId: string;
|
|
258
|
+
value: string;
|
|
259
|
+
comment?: string;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Input for {@link rate.change}. Validated client-side:
|
|
263
|
+
* - `kind === "current-engagement"` requires `engagementId`.
|
|
264
|
+
* - Other kinds reject `engagementId` if supplied.
|
|
265
|
+
* - `desiredRate` must be a decimal string (e.g. `"95.0"`); the
|
|
266
|
+
* server validates against `validation.minRate` / `validation.rateStep`.
|
|
267
|
+
*/
|
|
268
|
+
export interface RateChangeOptions {
|
|
269
|
+
kind: RateChangeKind;
|
|
270
|
+
desiredRate: string;
|
|
271
|
+
engagementId?: string;
|
|
272
|
+
talentComment?: string;
|
|
273
|
+
answers: RateChangeAnswerInput[];
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Per-mutation option object for the dry-run short-circuit (issue
|
|
277
|
+
* #163). When `dryRun === true`, the mutation builds a
|
|
278
|
+
* {@link DryRunPreview} and returns `{ kind: "preview", preview }`
|
|
279
|
+
* without invoking the gateway transport. Default `false`.
|
|
280
|
+
*/
|
|
281
|
+
export interface DryRunOptions {
|
|
282
|
+
dryRun?: boolean;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Apply-path outcome for {@link rate.change}. Carries the server-confirmed
|
|
286
|
+
* `RateChangeRequest` payload (the just-created request, with status
|
|
287
|
+
* usually `"PENDING"`).
|
|
288
|
+
*/
|
|
289
|
+
export interface RateChangeAppliedOutcome {
|
|
290
|
+
kind: "applied";
|
|
291
|
+
result: RateChangeRequest;
|
|
292
|
+
notice: string | null;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Dry-run outcome for {@link rate.change}. Carries a
|
|
296
|
+
* {@link DryRunPreview} — emitted verbatim by the CLI's dry-run
|
|
297
|
+
* envelope (`emitDryRunSuccess` in `packages/cli/src/lib/envelopes.ts`).
|
|
298
|
+
*/
|
|
299
|
+
export interface RateChangeDryRunOutcome {
|
|
300
|
+
kind: "preview";
|
|
301
|
+
preview: DryRunPreview;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Discriminated-union return type for {@link rate.change}. Apply path
|
|
305
|
+
* returns `{ kind: "applied", result, notice }`; dry-run returns
|
|
306
|
+
* `{ kind: "preview", preview }`.
|
|
307
|
+
*/
|
|
308
|
+
export type RateChangeOutcome = RateChangeAppliedOutcome | RateChangeDryRunOutcome;
|
|
309
|
+
/**
|
|
310
|
+
* Payouts — historical `TalentPayment` events. Read-only in v1.
|
|
311
|
+
*/
|
|
312
|
+
export declare const payouts: {
|
|
313
|
+
/**
|
|
314
|
+
* List historical payouts. Default pagination is the captured wire
|
|
315
|
+
* shape: `offset: 0 limit: 20` (hardcoded in the operation). The
|
|
316
|
+
* server returns the most recent 20 paid/due payouts by default;
|
|
317
|
+
* date filtering narrows the window.
|
|
318
|
+
*
|
|
319
|
+
* Filter map: `fromDate` / `toDate` flow into the wire's
|
|
320
|
+
* `filters.createdOn` field, which expects an inclusive-on-both-ends
|
|
321
|
+
* `DateFilter` shape `{from?: Date, to?: Date}`. Empty filter object
|
|
322
|
+
* (`opts === {}`) sends `filters: null` per Toptal convention.
|
|
323
|
+
*
|
|
324
|
+
* Returns an array of {@link Payout} rows AND the server-provided
|
|
325
|
+
* {@link PayoutsSummary} aggregates for the same filter window —
|
|
326
|
+
* surfacing both lets the CLI render a summary line above the table
|
|
327
|
+
* without a second round-trip.
|
|
328
|
+
*/
|
|
329
|
+
list(token: string, opts?: ListPayoutsOptions): Promise<PayoutsListResult>;
|
|
330
|
+
/**
|
|
331
|
+
* Fetch a single payout's detail by `TalentPayment.id`.
|
|
332
|
+
*
|
|
333
|
+
* Throws `PaymentsError("NOT_FOUND")` when the id doesn't resolve
|
|
334
|
+
* (two wire shapes both fold here: the Relay `node` returning `null`,
|
|
335
|
+
* AND the gateway returning a `Node id "<id>" resolves to ...` decode
|
|
336
|
+
* error in `errors[]`).
|
|
337
|
+
*/
|
|
338
|
+
show(token: string, id: string): Promise<Payout>;
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* Payment methods — `PaymentOption` records configured by the talent.
|
|
342
|
+
* Read-only in v1; mutations (create / update / mark-as-preferred /
|
|
343
|
+
* remove) are explicitly out of scope per #149.
|
|
344
|
+
*/
|
|
345
|
+
export declare const methods: {
|
|
346
|
+
/**
|
|
347
|
+
* List configured payment methods. No filter args on the wire — the
|
|
348
|
+
* full list is small (typically 1-3 entries).
|
|
349
|
+
*
|
|
350
|
+
* `preferredOption: true` marks the active method; the CLI / MCP
|
|
351
|
+
* surface annotates this in the rendered output.
|
|
352
|
+
*/
|
|
353
|
+
list(token: string): Promise<PaymentMethod[]>;
|
|
354
|
+
/**
|
|
355
|
+
* Fetch a single payment method by id. The wire has no per-id query;
|
|
356
|
+
* this client-side filter on {@link methods.list} is the API reality.
|
|
357
|
+
* Adds one round-trip cost relative to a hypothetical
|
|
358
|
+
* `paymentOption(id)` query — acceptable given the list is small.
|
|
359
|
+
*
|
|
360
|
+
* Throws `PaymentsError("NOT_FOUND")` when no entry matches.
|
|
361
|
+
*/
|
|
362
|
+
show(token: string, id: string): Promise<PaymentMethod>;
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* Rate management — show the current rate + change history; submit a
|
|
366
|
+
* rate-change request.
|
|
367
|
+
*/
|
|
368
|
+
export declare const rate: {
|
|
369
|
+
/**
|
|
370
|
+
* Show the talent's current rate + most-recent rate-change request
|
|
371
|
+
* + market insight + validation rules. Issues TWO parallel queries:
|
|
372
|
+
* - `LastRateChangeRequest` — carries the most-recent change AND
|
|
373
|
+
* the current rates / market insight on the viewerRole side.
|
|
374
|
+
* - `RateChangeFormDetails` — carries the rate-validation rules
|
|
375
|
+
* (minRate / rateStep) the server enforces on `rate.change`.
|
|
376
|
+
*
|
|
377
|
+
* Both queries return overlapping viewerRole / rateInsight projections;
|
|
378
|
+
* we prefer the `LastRateChangeRequest` shape for those fields (its
|
|
379
|
+
* projection is denser) and fall back to `RateChangeFormDetails` for
|
|
380
|
+
* the validation rules (only this query exposes them).
|
|
381
|
+
*
|
|
382
|
+
* The wire's `ongoingRateChangeRequest` field is `Unknown`-typed and
|
|
383
|
+
* not exposed on `lastRateChangeRequest`; this projection classifies
|
|
384
|
+
* the returned `lastRateChangeRequest` by status — `PENDING` /
|
|
385
|
+
* `CLAIMED` count as "ongoing"; `COMPLETED` counts only as "last".
|
|
386
|
+
* If the wire shape ever grows a separate `ongoingRateChangeRequest`
|
|
387
|
+
* field that can be projected, swap the classification here for a
|
|
388
|
+
* direct read.
|
|
389
|
+
*/
|
|
390
|
+
show(token: string): Promise<RateProjection>;
|
|
391
|
+
/**
|
|
392
|
+
* Fetch the rate-change form's question catalog. Answers to these
|
|
393
|
+
* questions are required as the `answers[]` input to
|
|
394
|
+
* {@link rate.change}. Mirrors the discovery pattern of
|
|
395
|
+
* `engagements.breaks.reasonsList()`.
|
|
396
|
+
*/
|
|
397
|
+
questions(token: string): Promise<RateQuestion[]>;
|
|
398
|
+
/**
|
|
399
|
+
* Submit a rate-change request. Client-side validation:
|
|
400
|
+
* - `kind === "current-engagement"` requires `engagementId`.
|
|
401
|
+
* - Other kinds reject `engagementId`.
|
|
402
|
+
* - `desiredRate` and `answers` are passed verbatim to the wire.
|
|
403
|
+
*
|
|
404
|
+
* Dry-run path: when `dryRunOpts.dryRun === true`, short-circuit
|
|
405
|
+
* before any transport call and return a {@link DryRunPreview}-bearing
|
|
406
|
+
* outcome. No prefetch is required (the mutation has no implicit
|
|
407
|
+
* read).
|
|
408
|
+
*
|
|
409
|
+
* Apply path: invokes `CreateRateChangeRequest`. On `success: false`,
|
|
410
|
+
* throws `PaymentsError("MUTATION_ERROR")` with formatted per-field
|
|
411
|
+
* errors.
|
|
412
|
+
*/
|
|
413
|
+
change(token: string, opts: RateChangeOptions, dryRunOpts?: DryRunOptions): Promise<RateChangeOutcome>;
|
|
414
|
+
};
|
|
415
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/payments/index.ts"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAOxD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,iBAAiB,GACzB,WAAW,GACX,WAAW,GACX,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,kBAAkB,GAClB,SAAS,CAAC;AAEd,qBAAa,aAAc,SAAQ,KAAK;aAGpB,IAAI,EAAE,iBAAiB;IAFzC,SAAkB,IAAI,mBAAmB;gBAEvB,IAAI,EAAE,iBAAiB,EACvC,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE;CAIhC;AAMD;;;;;;GAMG;AACH,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE;QAAE,EAAE,EAA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