@casomoltd/nhs-pay 0.19.1 → 0.19.3

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/dist/award.d.ts CHANGED
@@ -104,6 +104,38 @@ export interface PayAward {
104
104
  * from it must go through `firstOfMonth`, not splice a day on.
105
105
  */
106
106
  readonly expectedInPay?: IsoMonth;
107
+ /**
108
+ * The announcement's OWN words for when the money arrives, where it
109
+ * said more than a month — 'begin appearing in salaries at the end
110
+ * of September'.
111
+ *
112
+ * The same fact as {@link expectedInPay} at the precision the SOURCE
113
+ * stated it, which is finer than a month and cannot be derived from
114
+ * one. Kept here rather than in a consumer for the reason the whole
115
+ * table exists: source text copied into page code is a second copy
116
+ * nobody updates when the source moves.
117
+ *
118
+ * The two must not disagree — a month here and a different month in
119
+ * the words is a page quoting September beneath an October date —
120
+ * so the fixture asserts the words name `expectedInPay`'s month.
121
+ *
122
+ * Deliberately not on {@link DocumentSource}, whose `reference` is
123
+ * identity rather than a phrase.
124
+ */
125
+ readonly expectedInPayWords?: string;
126
+ /**
127
+ * The date WE observed the award in salaries. Absent until somebody
128
+ * checks.
129
+ *
130
+ * A DATE, where {@link expectedInPay} is a month, and the
131
+ * difference is the point: one is an expectation a publisher stated
132
+ * and the other is evidence we gathered, so the types refuse to
133
+ * stand in for one another. Nothing sets this on a timer — an
134
+ * expected month passing is not an observation, and a round whose
135
+ * money never lands must stay visibly unresolved rather than
136
+ * quietly resolve itself.
137
+ */
138
+ readonly confirmedInPay?: IsoDate;
107
139
  readonly source: DocumentSource;
108
140
  /** The scales this award reaches. Derived from {@link AWARD_COVERAGE}
109
141
  * at load, never authored, so the two cannot disagree. */
@@ -174,3 +206,49 @@ export declare function changesFor(nation: Nation, scale: PayScaleId): readonly
174
206
  * signature taking no band.
175
207
  */
176
208
  export declare function afcAward(year: PayYear, nation: Nation): PayAward;
209
+ /**
210
+ * Which family's award covers a pay scale.
211
+ *
212
+ * The one direction a consumer cannot derive for itself. `awardsFor`
213
+ * answers it implicitly, but only where an award EXISTS — Northern
214
+ * Ireland has settled no 2026-27 medical round, so asking through its
215
+ * awards returns nothing and tells the caller neither the family nor
216
+ * that the nation is the reason. Coverage is a property of the scale,
217
+ * not of any nation's round, so it answers without one.
218
+ *
219
+ * Total over {@link PayScaleId}, so there is no miss to handle.
220
+ */
221
+ export declare function awardFamilyFor(scale: PayScaleId): AwardFamily;
222
+ /**
223
+ * The award a nation settled for one FAMILY in one year, or undefined
224
+ * where it settled none.
225
+ *
226
+ * Asked by family rather than by scale, unlike {@link awardsFor},
227
+ * because a round is announced per family and the round-level question
228
+ * therefore has no grade in it. Making the caller nominate a
229
+ * representative grade to ask through is how a question about
230
+ * consultants gets answered for dentists.
231
+ *
232
+ * Absence is a normal state, not an error — a partly-settled round is
233
+ * the usual mid-year position, and Northern Ireland has had no 2026-27
234
+ * medical award at all.
235
+ */
236
+ export declare function familyAward(nation: Nation, family: AwardFamily, year: PayYear): PayAward | undefined;
237
+ /**
238
+ * A change agreed for a family in a nation that cannot yet be stated
239
+ * as a percentage.
240
+ *
241
+ * NOT year-scoped, unlike {@link familyAward}: a forthcoming row dates
242
+ * itself by when the change starts, which is the only date it has.
243
+ */
244
+ export declare function familyForthcomingChange(nation: Nation, family: AwardFamily): ForthcomingChange | undefined;
245
+ /**
246
+ * Whether ANY nation settled this family's round for this year.
247
+ *
248
+ * The discriminator between the two things an absent award can mean.
249
+ * One nation missing a round every other nation settled is a real
250
+ * state and worth reporting; a year the table simply does not reach —
251
+ * no nation has a 2025-26 medical row — makes every nation look late
252
+ * at once, which is a fact about our records rather than about pay.
253
+ */
254
+ export declare function anyNationSettled(family: AwardFamily, year: PayYear): boolean;
package/dist/award.js CHANGED
@@ -41,7 +41,7 @@ import { isoDate, isoMonth } from './iso-date.js';
41
41
  import { NATION_KEYS, TAX_YEARS } from '@casomoltd/paye-calc';
42
42
  import { AwardUnavailable } from './errors.js';
43
43
  import { DocumentSource } from './document-source.js';
44
- import { AFC_ENGLAND_2025, AFC_ENGLAND_2026, AFC_NI_2025, AFC_NI_2026, AFC_SCOTLAND, AFC_WALES_2025, AFC_WALES_2026, DDRB_54_ENGLAND, DDRB_54_SCOTLAND, DDRB_54_WALES, } from './sources.js';
44
+ import { AFC_ENGLAND_2025, AFC_ENGLAND_2026, AFC_NI_2025, AFC_NI_2026, AFC_SCOTLAND, AFC_WALES_2025, AFC_WALES_2026, DDRB_54_ENGLAND, DDRB_54_SCOTLAND, PCS_DD_2026_01, DDRB_54_WALES, } from './sources.js';
45
45
  import { AFC_BANDS, AFC_BAND_IDS } from './scales.js';
46
46
  import { MEDICAL_GRADES, MEDICAL_GRADE_IDS } from './medical-scales.js';
47
47
  import { DENTAL_GRADES, DENTAL_GRADE_IDS } from './dental-scales.js';
@@ -142,6 +142,21 @@ const AWARD_COVERAGE = {
142
142
  [DENTAL_GRADES.communityDentalClinicalDirector]: AWARD_FAMILIES.salariedDental,
143
143
  };
144
144
  // ── The awards ───────────────────────────────────
145
+ /**
146
+ * An exact substring of the Scottish Government's announcement
147
+ * ({@link DDRB_54_SCOTLAND}), whose sentence reads in full:
148
+ *
149
+ * > The pay increases, which impact on over 10,000 NHS employees,
150
+ * > will be backdated to 1 April 2026 and are expected to begin
151
+ * > appearing in salaries at the end of September.
152
+ *
153
+ * The clause below is the part a page quotes, because the backdate is
154
+ * already a field and repeating it inside the quotation would say it
155
+ * twice. Held once because the same announcement covers two families,
156
+ * and two transcriptions of one sentence are two things to keep in
157
+ * step.
158
+ */
159
+ const SCOTLAND_2026_IN_PAY_WORDS = 'begin appearing in salaries at the end of September';
145
160
  const AWARD_ROWS = [
146
161
  {
147
162
  kind: 'settled',
@@ -189,14 +204,35 @@ const AWARD_ROWS = [
189
204
  family: AWARD_FAMILIES.salariedDental, pct: 3.75,
190
205
  effectiveFrom: isoDate('2026-04-01'), source: DDRB_54_WALES,
191
206
  },
192
- // Scotland records no `resident` row: its training grades were
193
- // settled separately under the BMA agreement and promulgated through
194
- // PCS(DD)2026/01, which prints scale points and no percentage.
207
+ // Scotland settles its training grades SEPARATELY from its senior
208
+ // medics, in their own circular and at their own figure — 3.75%,
209
+ // where consultants and SAS took 3.5%. So the two cannot be inferred
210
+ // from one another, and a page quoting the headline over a training
211
+ // scale would understate it.
212
+ //
213
+ // The circular is both the instrument and the scale document here.
214
+ // PCS(DD)2026/01 announces the percentage in its own summary and
215
+ // prints the points, which is one document playing two of the three
216
+ // roles `DocumentSource` exists to keep apart, not a reason to merge
217
+ // them.
218
+ {
219
+ kind: 'settled',
220
+ nation: NATION_KEYS.scotland, year: payYear(TAX_YEARS.Y2026_27),
221
+ family: AWARD_FAMILIES.resident, pct: 3.75,
222
+ effectiveFrom: isoDate('2026-04-01'),
223
+ // No `expectedInPay`: the circular is dated the day it takes
224
+ // effect and names no future month for salaries, unlike the
225
+ // August announcement covering the senior grades.
226
+ source: PCS_DD_2026_01,
227
+ },
195
228
  {
196
229
  kind: 'settled',
197
230
  nation: NATION_KEYS.scotland, year: payYear(TAX_YEARS.Y2026_27),
198
231
  family: AWARD_FAMILIES.medical, pct: 3.5,
199
232
  effectiveFrom: isoDate('2026-04-01'), expectedInPay: isoMonth('2026-09'),
233
+ // The announcement's own words, quoted because they are finer
234
+ // than the month field can hold. Full sentence at the constant.
235
+ expectedInPayWords: SCOTLAND_2026_IN_PAY_WORDS,
200
236
  source: DDRB_54_SCOTLAND,
201
237
  },
202
238
  {
@@ -204,6 +240,8 @@ const AWARD_ROWS = [
204
240
  nation: NATION_KEYS.scotland, year: payYear(TAX_YEARS.Y2026_27),
205
241
  family: AWARD_FAMILIES.salariedDental, pct: 3.75,
206
242
  effectiveFrom: isoDate('2026-04-01'), expectedInPay: isoMonth('2026-09'),
243
+ // One announcement covers both families, so both quote it.
244
+ expectedInPayWords: SCOTLAND_2026_IN_PAY_WORDS,
207
245
  source: DDRB_54_SCOTLAND,
208
246
  },
209
247
  // Northern Ireland has accepted no 2026-27 medical & dental award.
@@ -363,4 +401,58 @@ export function afcAward(year, nation) {
363
401
  }
364
402
  return award;
365
403
  }
404
+ /**
405
+ * Which family's award covers a pay scale.
406
+ *
407
+ * The one direction a consumer cannot derive for itself. `awardsFor`
408
+ * answers it implicitly, but only where an award EXISTS — Northern
409
+ * Ireland has settled no 2026-27 medical round, so asking through its
410
+ * awards returns nothing and tells the caller neither the family nor
411
+ * that the nation is the reason. Coverage is a property of the scale,
412
+ * not of any nation's round, so it answers without one.
413
+ *
414
+ * Total over {@link PayScaleId}, so there is no miss to handle.
415
+ */
416
+ export function awardFamilyFor(scale) {
417
+ return AWARD_COVERAGE[scale];
418
+ }
419
+ /**
420
+ * The award a nation settled for one FAMILY in one year, or undefined
421
+ * where it settled none.
422
+ *
423
+ * Asked by family rather than by scale, unlike {@link awardsFor},
424
+ * because a round is announced per family and the round-level question
425
+ * therefore has no grade in it. Making the caller nominate a
426
+ * representative grade to ask through is how a question about
427
+ * consultants gets answered for dentists.
428
+ *
429
+ * Absence is a normal state, not an error — a partly-settled round is
430
+ * the usual mid-year position, and Northern Ireland has had no 2026-27
431
+ * medical award at all.
432
+ */
433
+ export function familyAward(nation, family, year) {
434
+ return awardsInFamily(nation, family).find((a) => a.year === year);
435
+ }
436
+ /**
437
+ * A change agreed for a family in a nation that cannot yet be stated
438
+ * as a percentage.
439
+ *
440
+ * NOT year-scoped, unlike {@link familyAward}: a forthcoming row dates
441
+ * itself by when the change starts, which is the only date it has.
442
+ */
443
+ export function familyForthcomingChange(nation, family) {
444
+ return FORTHCOMING.find((c) => c.nation === nation && c.family === family);
445
+ }
446
+ /**
447
+ * Whether ANY nation settled this family's round for this year.
448
+ *
449
+ * The discriminator between the two things an absent award can mean.
450
+ * One nation missing a round every other nation settled is a real
451
+ * state and worth reporting; a year the table simply does not reach —
452
+ * no nation has a 2025-26 medical row — makes every nation look late
453
+ * at once, which is a fact about our records rather than about pay.
454
+ */
455
+ export function anyNationSettled(family, year) {
456
+ return AWARDS.some((a) => a.family === family && a.year === year);
457
+ }
366
458
  //# sourceMappingURL=award.js.map
package/dist/award.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"award.js","sourceRoot":"","sources":["../src/award.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAGH,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,WAAW,EAAE,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AACpD,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,aAAa,GACd,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,SAAS,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAEpD,OAAO,EAAC,cAAc,EAAE,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtE,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAanE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B;sDACkD;IAClD,GAAG,EAAE,WAAW;IAChB,6DAA6D;IAC7D,OAAO,EAAE,eAAe;IACxB,sCAAsC;IACtC,QAAQ,EAAE,gBAAgB;IAC1B,+DAA+D;IAC/D,cAAc,EAAE,uBAAuB;CAC/B,CAAC;AAiFX,oDAAoD;AACpD,EAAE;AACF,sEAAsE;AACtE,qEAAqE;AACrE,sEAAsE;AACtE,sEAAsE;AACtE,mEAAmE;AACnE,qEAAqE;AACrE,kCAAkC;AAClC,EAAE;AACF,qEAAqE;AACrE,uEAAuE;AACvE,uEAAuE;AACvE,WAAW;AA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,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AACrE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,uBAAuB,CACrC,MAAc,EACd,MAAmB;IAEnB,OAAO,WAAW,CAAC,IAAI,CACrB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,MAAM,IAAI,CAAC,CAAC,MAAM,KAAK,MAAM,CAClD,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,gBAAgB,CAC9B,MAAmB,EACnB,IAAa;IAEb,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,MAAM,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AACpE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -21,8 +21,10 @@ export { isoDate, isoMonth, monthOf, firstOfMonth, monthToDate, isoToDate, } fro
21
21
  export type { IsoDate, IsoMonth } from './iso-date.js';
22
22
  export type { DocumentSourceFields, SourceCurrency, } from './document-source.js';
23
23
  export { AFC_ENGLAND_SCALES_2025, AFC_ENGLAND_SCALES_2026, AFC_NI_2025, AFC_SCOTLAND, AFC_SCOTLAND_36_HOUR_WEEK, AFC_W_02_2025, AFC_W_02_2026, HSC_TC8_05_2025, MD_W_01_2025, MD_W_01_2026, PC_MD_1_2026_R2, PCS_DD_2025_01, PCS_DD_2025_01_ADDENDUM, PCS_DD_2026_01, PCS_DD_2026_02, } from './sources.js';
24
- export { AWARD_FAMILIES, afcAward, awardsFor, changesFor, } from './award.js';
24
+ export { AWARD_FAMILIES, afcAward, anyNationSettled, awardFamilyFor, awardsFor, changesFor, } from './award.js';
25
25
  export type { AwardFamily, ForthcomingChange, PayAward, PayChange, PayScaleId, } from './award.js';
26
+ export { payRound } from './pay-round.js';
27
+ export type { PayRound, RoundStatus } from './pay-round.js';
26
28
  export { SESSION_ALLOWANCES, afcSessionAllowances, sessionAllowance, } from './allowances.js';
27
29
  export type { SessionAllowance, SessionAllowanceId, } from './allowances.js';
28
30
  export { ACTIVE_REVAL_BONUS_PCT, IN_SERVICE_REVALUATION, revaluationFor, } from './revaluation.js';
package/dist/index.js CHANGED
@@ -19,7 +19,11 @@ export { DocumentSource } from './document-source.js';
19
19
  export { isoDate, isoMonth, monthOf, firstOfMonth, monthToDate, isoToDate, } from './iso-date.js';
20
20
  export { AFC_ENGLAND_SCALES_2025, AFC_ENGLAND_SCALES_2026, AFC_NI_2025, AFC_SCOTLAND, AFC_SCOTLAND_36_HOUR_WEEK, AFC_W_02_2025, AFC_W_02_2026, HSC_TC8_05_2025, MD_W_01_2025, MD_W_01_2026, PC_MD_1_2026_R2, PCS_DD_2025_01, PCS_DD_2025_01_ADDENDUM, PCS_DD_2026_01, PCS_DD_2026_02, } from './sources.js';
21
21
  // ── Pay awards ───────────────────────────────────
22
- export { AWARD_FAMILIES, afcAward, awardsFor, changesFor, } from './award.js';
22
+ export { AWARD_FAMILIES, afcAward, anyNationSettled, awardFamilyFor, awardsFor, changesFor, } from './award.js';
23
+ // ── Pay rounds ───────────────────────────────────
24
+ // Where a nation's round has got to, derived from the award table and
25
+ // the published scales rather than stored anywhere.
26
+ export { payRound } from './pay-round.js';
23
27
  // ── AfC allowances ───────────────────────────────
24
28
  export { SESSION_ALLOWANCES, afcSessionAllowances, sessionAllowance, } from './allowances.js';
25
29
  export { ACTIVE_REVAL_BONUS_PCT, IN_SERVICE_REVALUATION, revaluationFor, } from './revaluation.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EACL,SAAS,EACT,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,UAAU,EACV,kBAAkB,E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AAW,EACX,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,QAAQ,EACR,aAAa,GACd,MAAM,cAAc,CAAC;AAMtB,oDAAoD;AACpD,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,GACb,MAAM,YAAY,CAAC;AAMpB,oDAAoD;AACpD,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAG3C,oDAAoD;AACpD,OAAO,EACL,QAAQ,EACR,MAAM,EACN,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,SAAS,GACV,MAAM,aAAa,CAAC;AAErB,oDAAoD;AACpD,mDAAmD;AACnD,qDAAqD;AACrD,OAAO,EACL,WAAW,EACX,SAAS,EACT,OAAO,EACP,WAAW,EACX,WAAW,EACX,WAAW,EACX,YAAY,EACZ,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,GACb,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EACL,SAAS,EACT,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,sBAAsB,EACtB,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,eAAe,GAChB,MAAM,aAAa,CAAC;AASrB,oDAAoD;AACpD,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,GAChB,MAAM,cAAc,CAAC;AAUtB,oDAAoD;AACpD,OAAO,EAAC,IAAI,EAAE,cAAc,EAAC,MAAM,WAAW,CAAC;AAU/C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAS3E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3C,oDAAoD;AACpD,OAAO,EACL,QAAQ,EACR,MAAM,EACN,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,SAAS,GACV,MAAM,aAAa,CAAC;AAErB,oDAAoD;AACpD,mDAAmD;AACnD,qDAAqD;AACrD,OAAO,EACL,WAAW,EACX,SAAS,EACT,OAAO,EACP,WAAW,EACX,WAAW,EACX,WAAW,EACX,YAAY,EACZ,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,GACb,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,104 @@
1
+ /**
2
+ * Where one nation's pay round has got to, for one staff family, as at
3
+ * a given moment.
4
+ *
5
+ * A DERIVED VIEW over records that already exist — the award table and
6
+ * the published scales — so nothing here is authored and nothing can
7
+ * drift from them. It exists because the question a page actually asks
8
+ * is "what do I tell this reader today", and answering that from the
9
+ * parts meant assembling `isOlderRound`, the award's `kind`,
10
+ * `effectiveFrom`, `expectedInPay` and a document's own currency at
11
+ * every call site. Five things to get right, and the failure mode is
12
+ * silence rather than error: a condition assembled from some of them
13
+ * answers a narrower question than the one asked, and a page that
14
+ * should say something says nothing at all.
15
+ *
16
+ * The status is a closed union, so a consumer that forgets a state is
17
+ * a compile error rather than a page that quietly implies payment.
18
+ *
19
+ * What this deliberately does NOT model is our own transcription
20
+ * state. A circular that exists and we have not read is our fault, not
21
+ * the world's, and it belongs in a check that fails rather than in a
22
+ * status a page can render calmly. `SourceCurrency` is the other thing
23
+ * it is not: that is a document's shelf-life for a provenance footer
24
+ * and has no opinion about whether anybody has been paid.
25
+ */
26
+ import type { Nation, PayYear } from '@casomoltd/paye-calc';
27
+ import type { DocumentSource } from './document-source.js';
28
+ import type { AwardFamily, PayAward } from './award.js';
29
+ /**
30
+ * How far one nation's round has got, from nothing announced to money
31
+ * observed in salaries.
32
+ *
33
+ * A string union rather than an enum, matching `SourceCurrency` and
34
+ * the award's own `kind`.
35
+ *
36
+ * The order below is the order a round travels, and the gap between
37
+ * the last two is the one that matters: `pending` expires to
38
+ * `unconfirmed`, never to `inPayment`, because nothing in this library
39
+ * observes whether money arrived. Letting a date close that gap would
40
+ * turn an expectation a third party published into an event we
41
+ * witnessed.
42
+ */
43
+ export type RoundStatus =
44
+ /** The round has begun and the nation has announced nothing. */
45
+ 'overdue'
46
+ /** A change is agreed but carries no percentage yet. */
47
+ | 'forthcoming'
48
+ /** Announced, and not yet on a payslip so far as anyone has said. */
49
+ | 'pending'
50
+ /** Expected month gone, or never stated; nobody has checked. */
51
+ | 'unconfirmed'
52
+ /** Observed in salaries, with a date behind it. */
53
+ | 'inPayment';
54
+ /**
55
+ * Everything a page needs to describe one nation's round, in one read.
56
+ *
57
+ * Both documents are optional because the states above are precisely
58
+ * the cases where one or both are absent — a nation with nothing
59
+ * announced has no instrument to cite, and an announced round whose
60
+ * circular has not landed has no scale document yet. A consumer
61
+ * narrows on `status` before reaching for either.
62
+ */
63
+ export interface PayRound {
64
+ readonly status: RoundStatus;
65
+ /** Absent unless the nation has settled this family's round. */
66
+ readonly award?: PayAward;
67
+ /** The instrument that ENACTED the award. */
68
+ readonly announcement?: DocumentSource;
69
+ /** The circular that PUBLISHED the scale points. */
70
+ readonly circular?: DocumentSource;
71
+ }
72
+ /**
73
+ * The round for a nation, family and year, as at `now`.
74
+ *
75
+ * Takes `now` rather than reading the clock, for the reason
76
+ * `DocumentSource.currencyAt` does: a status is the answer to a
77
+ * question about a moment, and a value computed at module load freezes
78
+ * it for the life of the process.
79
+ *
80
+ * Answered by the YEAR asked about: where that round has an award, the
81
+ * award settles the status, and an agreed change starting in a later
82
+ * round is a later round's answer rather than this one's. A family can
83
+ * hold both at once, an award already in salaries and a further phase
84
+ * agreed for a round to come, and one status cannot carry both without
85
+ * hiding one of them.
86
+ *
87
+ * Throws in the two cases where no honest status exists: a round the
88
+ * award table does not reach, and a round that has not begun.
89
+ */
90
+ export declare function payRound(nation: Nation, family: AwardFamily, year: PayYear, now: Date): PayRound;
91
+ /**
92
+ * Where a settled award has got to.
93
+ *
94
+ * The absent-`expectedInPay` case reads as `unconfirmed` rather than
95
+ * `pending`, and the distinction is load-bearing. `pending` is a
96
+ * positive claim that money has not arrived, and the only evidence for
97
+ * it is a publisher naming a month still in the future. Where no month
98
+ * was ever published there is no basis for that claim, and making one
99
+ * would put "your pay is confirmed and not yet in salaries" on a page
100
+ * whose money may have landed months ago. Absence of
101
+ * the field means the publisher never said, which is the same position
102
+ * as a month that has since passed: nobody has checked.
103
+ */
104
+ export declare function settledStatus(award: PayAward, now: Date): RoundStatus;
@@ -0,0 +1,182 @@
1
+ /**
2
+ * Where one nation's pay round has got to, for one staff family, as at
3
+ * a given moment.
4
+ *
5
+ * A DERIVED VIEW over records that already exist — the award table and
6
+ * the published scales — so nothing here is authored and nothing can
7
+ * drift from them. It exists because the question a page actually asks
8
+ * is "what do I tell this reader today", and answering that from the
9
+ * parts meant assembling `isOlderRound`, the award's `kind`,
10
+ * `effectiveFrom`, `expectedInPay` and a document's own currency at
11
+ * every call site. Five things to get right, and the failure mode is
12
+ * silence rather than error: a condition assembled from some of them
13
+ * answers a narrower question than the one asked, and a page that
14
+ * should say something says nothing at all.
15
+ *
16
+ * The status is a closed union, so a consumer that forgets a state is
17
+ * a compile error rather than a page that quietly implies payment.
18
+ *
19
+ * What this deliberately does NOT model is our own transcription
20
+ * state. A circular that exists and we have not read is our fault, not
21
+ * the world's, and it belongs in a check that fails rather than in a
22
+ * status a page can render calmly. `SourceCurrency` is the other thing
23
+ * it is not: that is a document's shelf-life for a provenance footer
24
+ * and has no opinion about whether anybody has been paid.
25
+ */
26
+ import { AWARD_FAMILIES, anyNationSettled, familyAward, familyForthcomingChange, } from './award.js';
27
+ import { ScaleUnavailable, invariant } from './errors.js';
28
+ import { monthToDate } from './iso-date.js';
29
+ import { getMedicalScales } from './medical-scales.js';
30
+ import { getDentalScales } from './dental-scales.js';
31
+ import { afcScaleSource } from './scales.js';
32
+ /**
33
+ * The round for a nation, family and year, as at `now`.
34
+ *
35
+ * Takes `now` rather than reading the clock, for the reason
36
+ * `DocumentSource.currencyAt` does: a status is the answer to a
37
+ * question about a moment, and a value computed at module load freezes
38
+ * it for the life of the process.
39
+ *
40
+ * Answered by the YEAR asked about: where that round has an award, the
41
+ * award settles the status, and an agreed change starting in a later
42
+ * round is a later round's answer rather than this one's. A family can
43
+ * hold both at once, an award already in salaries and a further phase
44
+ * agreed for a round to come, and one status cannot carry both without
45
+ * hiding one of them.
46
+ *
47
+ * Throws in the two cases where no honest status exists: a round the
48
+ * award table does not reach, and a round that has not begun.
49
+ */
50
+ export function payRound(nation, family, year, now) {
51
+ const award = familyAward(nation, family, year);
52
+ if (award) {
53
+ return {
54
+ status: settledStatus(award, now),
55
+ award,
56
+ announcement: award.source,
57
+ circular: circularFor(award, nation, year),
58
+ };
59
+ }
60
+ invariant(anyNationSettled(family, year), `payRound: the award table holds no ${year} ${family} round for `
61
+ + `any nation, so its absence for ${nation} says nothing about `
62
+ + `${nation} — it says the table does not reach that round`);
63
+ // A forthcoming change carries its own instrument, which this view
64
+ // does not surface: `announcement` means the document that enacted
65
+ // an AWARD, and conflating the two is what the separate document
66
+ // kinds exist to prevent. A caller rendering a forthcoming change
67
+ // reads the change itself.
68
+ if (familyForthcomingChange(nation, family)) {
69
+ return { status: 'forthcoming' };
70
+ }
71
+ invariant(now >= roundStart(year), `payRound: ${nation}/${family} has nothing recorded for ${year} `
72
+ + 'and that round has not begun, so there is no status to report '
73
+ + '— answering would assert a nation is late for a round that has '
74
+ + 'not started');
75
+ return { status: 'overdue' };
76
+ }
77
+ /**
78
+ * Where a settled award has got to.
79
+ *
80
+ * The absent-`expectedInPay` case reads as `unconfirmed` rather than
81
+ * `pending`, and the distinction is load-bearing. `pending` is a
82
+ * positive claim that money has not arrived, and the only evidence for
83
+ * it is a publisher naming a month still in the future. Where no month
84
+ * was ever published there is no basis for that claim, and making one
85
+ * would put "your pay is confirmed and not yet in salaries" on a page
86
+ * whose money may have landed months ago. Absence of
87
+ * the field means the publisher never said, which is the same position
88
+ * as a month that has since passed: nobody has checked.
89
+ */
90
+ export function settledStatus(award, now) {
91
+ if (award.confirmedInPay) {
92
+ return 'inPayment';
93
+ }
94
+ if (!award.expectedInPay) {
95
+ return 'unconfirmed';
96
+ }
97
+ return monthHasCompleted(award.expectedInPay, now)
98
+ ? 'unconfirmed'
99
+ : 'pending';
100
+ }
101
+ /**
102
+ * Whether `now` is past the last day of a month.
103
+ *
104
+ * Compared as dates, never as text: a 'YYYY-MM' sorts before every
105
+ * 'YYYY-MM-DD' inside it, so September 2026 would read as earlier than
106
+ * 1 September 2026.
107
+ */
108
+ function monthHasCompleted(month, now) {
109
+ const start = monthToDate(month);
110
+ const afterEnd = new Date(start.getFullYear(), start.getMonth() + 1, 1);
111
+ return now >= afterEnd;
112
+ }
113
+ /**
114
+ * The first day of a pay round.
115
+ *
116
+ * 1 April, not 6 April: a pay round is not a tax year, and every
117
+ * `effectiveFrom` in the award table says so.
118
+ */
119
+ function roundStart(year) {
120
+ const startYear = Number(year.slice(0, 4));
121
+ invariant(Number.isInteger(startYear), `payRound: '${year}' does not start with a four-digit year`);
122
+ return new Date(startYear, 3, 1);
123
+ }
124
+ /**
125
+ * The one circular that published this award's scales, where there is
126
+ * exactly one.
127
+ *
128
+ * Undefined in the two cases where naming one document would mislead,
129
+ * and a caller cannot tell them apart from the field alone. Nothing is
130
+ * published yet: an award enacted before its salaries are printed,
131
+ * which is the first half of `pending`. Or several documents publish
132
+ * the round between them — a nation can split its training grades from
133
+ * the rest — and picking either would cite a document that does not
134
+ * contain some of the figures it is printed beneath.
135
+ *
136
+ * A caller needing provenance per grade reads it off the scale, which
137
+ * carries its own source for exactly this reason. One that needs to
138
+ * distinguish the two absences should ask the scales directly rather
139
+ * than infer it from here.
140
+ */
141
+ function circularFor(award, nation, year) {
142
+ const byUrl = new Map();
143
+ for (const source of scaleSources(award, nation, year)) {
144
+ byUrl.set(source.url, source);
145
+ }
146
+ return byUrl.size === 1 ? [...byUrl.values()][0] : undefined;
147
+ }
148
+ /** Every document publishing a scale this award covers, in the nation
149
+ * and year asked about. */
150
+ function scaleSources(award, nation, year) {
151
+ if (award.family === AWARD_FAMILIES.afc) {
152
+ // One award covers every band and one circular publishes them, so
153
+ // there is a direct lookup and no grade to filter by.
154
+ return unlessUnpublished(() => [afcScaleSource(year, nation)]);
155
+ }
156
+ const covered = new Set(award.covers);
157
+ return [
158
+ ...unlessUnpublished(() => getMedicalScales(year, nation)),
159
+ ...unlessUnpublished(() => getDentalScales(year, nation)),
160
+ ]
161
+ .filter((meta) => covered.has(meta.grade))
162
+ .map((meta) => meta.source);
163
+ }
164
+ /**
165
+ * A lookup's result, or nothing where the nation/year is unpublished.
166
+ *
167
+ * An unpublished combination is a normal mid-round state here — it is
168
+ * what `pending`'s first half IS — so it degrades to an empty list.
169
+ * Any other failure still throws.
170
+ */
171
+ function unlessUnpublished(load) {
172
+ try {
173
+ return load();
174
+ }
175
+ catch (error) {
176
+ if (error instanceof ScaleUnavailable) {
177
+ return [];
178
+ }
179
+ throw error;
180
+ }
181
+ }
182
+ //# sourceMappingURL=pay-round.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pay-round.js","sourceRoot":"","sources":["../src/pay-round.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAKH,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,uBAAuB,GACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAC,gBAAgB,EAAE,SAAS,EAAC,MAAM,aAAa,CAAC;AAExD,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AA+C3C;;;;;;;;;;;;;;;;;GAiBG;AACH,MA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AEb,IAAI,KAAK,CAAC,MAAM,KAAK,cAAc,CAAC,GAAG,EAAE,CAAC;QACxC,kEAAkE;QAClE,sDAAsD;QACtD,OAAO,iBAAiB,CAAC,GAAG,EAAE,CAAC,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IACjE,CAAC;IACD,MAAM,OAAO,GAAG,IAAI,GAAG,CAAa,KAAK,CAAC,MAAM,CAAC,CAAC;IAClD,OAAO;QACL,GAAG,iBAAiB,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC1D,GAAG,iBAAiB,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;KAC1D;SACE,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACzC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAChC,CAAC;AAED;;;;;;GAMG;AACH,SAAS,iBAAiB,CAAI,IAAwB;IACpD,IAAI,CAAC;QACH,OAAO,IAAI,EAAE,CAAC;IAChB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,KAAK,YAAY,gBAAgB,EAAE,CAAC;YACtC,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@casomoltd/nhs-pay",
3
- "version": "0.19.1",
3
+ "version": "0.19.3",
4
4
  "description": "NHS Agenda for Change pay scales, pension tiers, regions, and take-home calculator",
5
5
  "homepage": "https://github.com/casomoltd/nhs-pay#readme",
6
6
  "bugs": "https://github.com/casomoltd/nhs-pay/issues",
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@casomoltd/paye-calc": "^0.7.0",
69
- "@casomoltd/tooling": "^0.25.0",
69
+ "@casomoltd/tooling": "^0.26.0",
70
70
  "@commitlint/cli": "^20.0.0",
71
71
  "@js-temporal/polyfill": "^0.5.1",
72
72
  "@types/node": "^25.5.0",