@moj-bichard7-developers/bichard7-next-data 2.0.9 → 2.0.13

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.
@@ -65,12 +65,11 @@ export declare type OffenceCode = {
65
65
  export declare type OffenceInitiation = CjsCodeAndDescription;
66
66
  export declare type OrganisationUnit = {
67
67
  bottomLevelCode: string;
68
- bottomLevelName: string;
68
+ bottomLevelName?: string;
69
69
  secondLevelCode: string;
70
- secondLevelName: string;
70
+ secondLevelName?: string;
71
71
  thirdLevelCode: string;
72
- thirdLevelName: string;
73
- thirdLevelPsaCode: string;
72
+ thirdLevelName?: string;
74
73
  topLevelCode: string;
75
74
  topLevelName: string;
76
75
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moj-bichard7-developers/bichard7-next-data",
3
- "version": "2.0.9",
3
+ "version": "2.0.13",
4
4
  "description": "The standing data for Bichard",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types/types.ts CHANGED
@@ -79,12 +79,11 @@ export type OffenceInitiation = CjsCodeAndDescription
79
79
 
80
80
  export type OrganisationUnit = {
81
81
  bottomLevelCode: string
82
- bottomLevelName: string
82
+ bottomLevelName?: string
83
83
  secondLevelCode: string
84
- secondLevelName: string
84
+ secondLevelName?: string
85
85
  thirdLevelCode: string
86
- thirdLevelName: string
87
- thirdLevelPsaCode: string
86
+ thirdLevelName?: string
88
87
  topLevelCode: string
89
88
  topLevelName: string
90
89
  }