@casomoltd/nhs-pay 0.16.2 → 0.17.0
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/afc-band.d.ts +6 -4
- package/dist/afc-band.js +6 -4
- package/dist/afc-band.js.map +1 -1
- package/dist/allowances.d.ts +6 -5
- package/dist/allowances.js +75 -15
- package/dist/allowances.js.map +1 -1
- package/package.json +4 -4
package/dist/afc-band.d.ts
CHANGED
|
@@ -10,10 +10,12 @@
|
|
|
10
10
|
* translation runs.
|
|
11
11
|
*
|
|
12
12
|
* **Band 1 is absent, deliberately.** Every AfC circular still prints
|
|
13
|
-
* it
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
13
|
+
* it. It is closed to new entrants in England, Wales and Northern
|
|
14
|
+
* Ireland, and **open in Scotland**, whose PCS(AFC)2026/1 carries no
|
|
15
|
+
* closure statement and gives it a full Annex C pay journey. So the
|
|
16
|
+
* absence is a scope decision rather than a band nobody is paid on —
|
|
17
|
+
* `afc-scales.ts` names it as an excluded band so a circular carrying
|
|
18
|
+
* it does not read as a gap.
|
|
17
19
|
*/
|
|
18
20
|
export declare const AFC_BANDS: {
|
|
19
21
|
readonly B2: "2";
|
package/dist/afc-band.js
CHANGED
|
@@ -10,10 +10,12 @@
|
|
|
10
10
|
* translation runs.
|
|
11
11
|
*
|
|
12
12
|
* **Band 1 is absent, deliberately.** Every AfC circular still prints
|
|
13
|
-
* it
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
13
|
+
* it. It is closed to new entrants in England, Wales and Northern
|
|
14
|
+
* Ireland, and **open in Scotland**, whose PCS(AFC)2026/1 carries no
|
|
15
|
+
* closure statement and gives it a full Annex C pay journey. So the
|
|
16
|
+
* absence is a scope decision rather than a band nobody is paid on —
|
|
17
|
+
* `afc-scales.ts` names it as an excluded band so a circular carrying
|
|
18
|
+
* it does not read as a gap.
|
|
17
19
|
*/
|
|
18
20
|
export const AFC_BANDS = {
|
|
19
21
|
B2: '2',
|
package/dist/afc-band.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"afc-band.js","sourceRoot":"","sources":["../src/afc-band.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"afc-band.js","sourceRoot":"","sources":["../src/afc-band.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,GAAG,EAAE,IAAI;IACT,GAAG,EAAE,IAAI;IACT,GAAG,EAAE,IAAI;IACT,GAAG,EAAE,IAAI;IACT,EAAE,EAAE,GAAG;CACC,CAAC;AAKX,4CAA4C;AAC5C,MAAM,CAAC,MAAM,YAAY,GACvB,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC"}
|
package/dist/allowances.d.ts
CHANGED
|
@@ -22,11 +22,10 @@
|
|
|
22
22
|
* availability allowance and is silent on them, where Wales's
|
|
23
23
|
* prints a sleeping-in rate.
|
|
24
24
|
*
|
|
25
|
-
* Northern Ireland
|
|
26
|
-
* Section 2
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* empty. That is a gap in this module, not in the transcription.
|
|
25
|
+
* Northern Ireland prints a sleep-in and an on-call rate in HSC (AfC)
|
|
26
|
+
* 06/2025 Section 2, and both are surfaced below. Its 2026-27 rates
|
|
27
|
+
* are absent because no 2026-27 HSC circular exists: the rates in
|
|
28
|
+
* payment are the 2025-26 ones.
|
|
30
29
|
*/
|
|
31
30
|
import type { Nation, PayYear } from '@casomoltd/paye-calc';
|
|
32
31
|
import type { IsoDate } from './iso-date.js';
|
|
@@ -45,6 +44,8 @@ export declare const SESSION_ALLOWANCES: {
|
|
|
45
44
|
readonly walesSleepingIn: "wales-sleeping-in";
|
|
46
45
|
readonly walesOnCallWeekday: "wales-on-call-weekday-weekend";
|
|
47
46
|
readonly walesOnCallPublicHoliday: "wales-on-call-public-holiday";
|
|
47
|
+
readonly niSleepIn: "northern-ireland-sleep-in";
|
|
48
|
+
readonly niOnCall: "northern-ireland-on-call";
|
|
48
49
|
};
|
|
49
50
|
export type SessionAllowanceId = (typeof SESSION_ALLOWANCES)[keyof typeof SESSION_ALLOWANCES];
|
|
50
51
|
/** One published rate, as its instrument prints it. */
|
package/dist/allowances.js
CHANGED
|
@@ -22,16 +22,17 @@
|
|
|
22
22
|
* availability allowance and is silent on them, where Wales's
|
|
23
23
|
* prints a sleeping-in rate.
|
|
24
24
|
*
|
|
25
|
-
* Northern Ireland
|
|
26
|
-
* Section 2
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* empty. That is a gap in this module, not in the transcription.
|
|
25
|
+
* Northern Ireland prints a sleep-in and an on-call rate in HSC (AfC)
|
|
26
|
+
* 06/2025 Section 2, and both are surfaced below. Its 2026-27 rates
|
|
27
|
+
* are absent because no 2026-27 HSC circular exists: the rates in
|
|
28
|
+
* payment are the 2025-26 ones.
|
|
30
29
|
*/
|
|
31
30
|
import { payYear } from '@casomoltd/paye-calc';
|
|
32
31
|
import { isoDate } from './iso-date.js';
|
|
33
32
|
import { NATION_KEYS, TAX_YEARS } from '@casomoltd/paye-calc';
|
|
34
|
-
import { AFC_SCOTLAND, AFC_W_02_2025, AFC_W_02_2026, } from './sources.js';
|
|
33
|
+
import { AFC_NI_2025, AFC_SCOTLAND, AFC_W_02_2025, AFC_W_02_2026, } from './sources.js';
|
|
34
|
+
import { NI_HSC_AFC_06_2025, } from './circulars/ni-hsc-afc-06-2025.js';
|
|
35
|
+
import { invariant } from './errors.js';
|
|
35
36
|
/**
|
|
36
37
|
* Identifiers for the per-session allowances transcribed here.
|
|
37
38
|
*
|
|
@@ -46,19 +47,57 @@ export const SESSION_ALLOWANCES = {
|
|
|
46
47
|
walesSleepingIn: 'wales-sleeping-in',
|
|
47
48
|
walesOnCallWeekday: 'wales-on-call-weekday-weekend',
|
|
48
49
|
walesOnCallPublicHoliday: 'wales-on-call-public-holiday',
|
|
50
|
+
niSleepIn: 'northern-ireland-sleep-in',
|
|
51
|
+
niOnCall: 'northern-ireland-on-call',
|
|
49
52
|
};
|
|
50
53
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
54
|
+
* What each nation pays a per-session allowance for.
|
|
55
|
+
*
|
|
56
|
+
* Total over `Nation`, so an absence is a **claim somebody made**
|
|
57
|
+
* rather than a silence. An empty array is a sentence a reviewer can
|
|
58
|
+
* check against the circular; no entry at all is indistinguishable
|
|
59
|
+
* from nobody having looked, which is how Northern Ireland's two
|
|
60
|
+
* rates sat transcribed and unreachable. A fifth nation does not
|
|
61
|
+
* compile until someone says what it pays.
|
|
55
62
|
*/
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
[
|
|
63
|
+
const NATION_ALLOWANCES = {
|
|
64
|
+
// England's AfC circulars print no per-session allowance. Its
|
|
65
|
+
// medical & dental circular sets an on-call availability allowance
|
|
66
|
+
// on a different footing, which is not this.
|
|
67
|
+
[NATION_KEYS.england]: [],
|
|
68
|
+
[NATION_KEYS.scotland]: [
|
|
69
|
+
SESSION_ALLOWANCES.scotlandOnCallAvailability,
|
|
70
|
+
],
|
|
71
|
+
[NATION_KEYS.wales]: [
|
|
72
|
+
SESSION_ALLOWANCES.walesSleepingIn,
|
|
73
|
+
SESSION_ALLOWANCES.walesOnCallWeekday,
|
|
74
|
+
SESSION_ALLOWANCES.walesOnCallPublicHoliday,
|
|
75
|
+
],
|
|
76
|
+
[NATION_KEYS.northernIreland]: [
|
|
77
|
+
SESSION_ALLOWANCES.niSleepIn,
|
|
78
|
+
SESSION_ALLOWANCES.niOnCall,
|
|
79
|
+
],
|
|
61
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* The nation whose instrument sets each allowance, inverted from
|
|
83
|
+
* {@link NATION_ALLOWANCES} rather than written a second time: the two
|
|
84
|
+
* are one fact, and a hand-kept pair is a disagreement waiting to be
|
|
85
|
+
* written.
|
|
86
|
+
*
|
|
87
|
+
* Fails loud on an id no nation claims, which is the shape of the
|
|
88
|
+
* defect this module already had once.
|
|
89
|
+
*/
|
|
90
|
+
const ALLOWANCE_NATION = (() => {
|
|
91
|
+
const byId = {};
|
|
92
|
+
for (const [nation, ids] of Object.entries(NATION_ALLOWANCES)) {
|
|
93
|
+
for (const id of ids)
|
|
94
|
+
byId[id] = nation;
|
|
95
|
+
}
|
|
96
|
+
for (const id of Object.values(SESSION_ALLOWANCES)) {
|
|
97
|
+
invariant(byId[id], `allowances: ${id} is declared but no nation claims it`);
|
|
98
|
+
}
|
|
99
|
+
return byId;
|
|
100
|
+
})();
|
|
62
101
|
// ── Per-session allowance rates ──────────────────
|
|
63
102
|
//
|
|
64
103
|
// Scotland pays a flat rate per on-call session, uplifted with the
|
|
@@ -140,6 +179,27 @@ const RATES = [
|
|
|
140
179
|
effectiveFrom: isoDate('2026-04-01'),
|
|
141
180
|
source: AFC_W_02_2026,
|
|
142
181
|
},
|
|
182
|
+
// Northern Ireland, HSC (AfC) 06/2025 Section 2 (p3). Read off the
|
|
183
|
+
// circular rather than retyped: the transcription is the producer,
|
|
184
|
+
// and a second copy here is a figure free to drift from the document
|
|
185
|
+
// it claims to quote. The Scotland and Wales rows above predate that
|
|
186
|
+
// and still type their own.
|
|
187
|
+
{
|
|
188
|
+
id: SESSION_ALLOWANCES.niSleepIn,
|
|
189
|
+
label: 'Sleeping in',
|
|
190
|
+
year: payYear(TAX_YEARS.Y2025_26),
|
|
191
|
+
perSession: NI_HSC_AFC_06_2025.allowances.sleepIn,
|
|
192
|
+
effectiveFrom: isoDate('2025-04-01'),
|
|
193
|
+
source: AFC_NI_2025,
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
id: SESSION_ALLOWANCES.niOnCall,
|
|
197
|
+
label: 'On call',
|
|
198
|
+
year: payYear(TAX_YEARS.Y2025_26),
|
|
199
|
+
perSession: NI_HSC_AFC_06_2025.allowances.onCall,
|
|
200
|
+
effectiveFrom: isoDate('2025-04-01'),
|
|
201
|
+
source: AFC_NI_2025,
|
|
202
|
+
},
|
|
143
203
|
];
|
|
144
204
|
function withNation(rate) {
|
|
145
205
|
return { ...rate, nation: ALLOWANCE_NATION[rate.id] };
|
package/dist/allowances.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allowances.js","sourceRoot":"","sources":["../src/allowances.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"allowances.js","sourceRoot":"","sources":["../src/allowances.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAGH,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AACtC,OAAO,EAAC,WAAW,EAAE,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,aAAa,EACb,aAAa,GACd,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,kBAAkB,GACnB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,0BAA0B,EACxB,+BAA+B;IACjC,eAAe,EAAE,mBAAmB;IACpC,kBAAkB,EAAE,+BAA+B;IACnD,wBAAwB,EACtB,8BAA8B;IAChC,SAAS,EAAE,2BAA2B;IACtC,QAAQ,EAAE,0BAA0B;CAC5B,CAAC;AAOX;;;;;;;;;GASG;AACH,MAAM,iBAAiB,GAEnB;IACF,8DAA8D;IAC9D,mEAAmE;IACnE,6CAA6C;IAC7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AClC,IAAa,EACb,MAAc;IAEd,OAAO,KAAK;SACT,MAAM,CACL,CAAC,CAAC,EAAE,EAAE,CACJ,CAAC,CAAC,IAAI,KAAK,IAAI;WACZ,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,MAAM,CACvC;SACA,GAAG,CAAC,UAAU,CAAC,CAAC;AACrB,CAAC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,gBAAgB,CAC9B,EAAsB,EACtB,IAAa;IAEb,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CACrB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CACtC,CAAC;IACF,OAAO,IAAI,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@casomoltd/nhs-pay",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
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,11 +66,11 @@
|
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@casomoltd/paye-calc": "^0.7.0",
|
|
69
|
-
"@casomoltd/tooling": "^0.
|
|
69
|
+
"@casomoltd/tooling": "^0.25.0",
|
|
70
70
|
"@commitlint/cli": "^20.0.0",
|
|
71
71
|
"@js-temporal/polyfill": "^0.5.1",
|
|
72
72
|
"@types/node": "^25.5.0",
|
|
73
|
-
"csv-parse": "^
|
|
73
|
+
"csv-parse": "^7.0.2",
|
|
74
74
|
"eslint": "^9.0.0",
|
|
75
75
|
"eslint-plugin-sonarjs": "^3.0.0",
|
|
76
76
|
"husky": "^9.0.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"remark-validate-links": "^13.1.0",
|
|
83
83
|
"typescript": "~5.9.2",
|
|
84
84
|
"typescript-eslint": "^8.0.0",
|
|
85
|
-
"vitest": "^
|
|
85
|
+
"vitest": "^4.1.11"
|
|
86
86
|
},
|
|
87
87
|
"//overrides": "esbuild + minimatch pinned to patched versions to clear dev-only advisories (esbuild dev-server file-read; minimatch ReDoS via eslint-plugin-sonarjs) that `npm audit fix` can't reach — transitive under vite/vitest and eslint-plugin-sonarjs. No production impact; drop when those deps ship the fixes.",
|
|
88
88
|
"overrides": {
|