Skip to content

Commit

Permalink
RCLL-15 fix typo with open-api run - re-ran (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
yasinmustafa authored Sep 11, 2024
1 parent 845f4a5 commit 65815b6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"generate-remand-and-sentencing-api-types": "openapi-typescript https://remand-and-sentencing-api-dev.hmpps.service.justice.gov.uk/v3/api-docs > ./server/@types/remandAndSentencingApi/index.d.ts",
"generate-prisoner-search-api-types": "openapi-typescript https://prisoner-search-dev.prison.service.justice.gov.uk/v3/api-docs > ./server/@types/prisonerSearchApi/index.d.ts",
"generate-prison-api-types": "openapi-typescript https://api-dev.prison.service.justice.gov.uk/v3/api-docs > ./server/@types/prisonApi/index.d.ts",
"generate-calculate-release-dates-api-types": "openapi-typescript https:calculate-release-dates-api-dev.hmpps.service.justice.gov.uk/v3/api-docs > ./server/@types/calculateReleaseDatesApi/index.d.ts"
"generate-calculate-release-dates-api-types": "openapi-typescript https://calculate-release-dates-api-dev.hmpps.service.justice.gov.uk/v3/api-docs > ./server/@types/calculateReleaseDatesApi/index.d.ts"
},
"engines": {
"node": "^20",
Expand Down
32 changes: 16 additions & 16 deletions server/@types/calculateReleaseDatesApi/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ export interface components {
}
ManualCalculationResponse: {
enteredDates?: {
[key: string]: string | undefined
[key: string]: string
}
/** Format: int64 */
calculationRequestId: number
Expand Down Expand Up @@ -1276,7 +1276,7 @@ export interface components {
}
Adjustments: {
adjustments?: {
[key: string]: components['schemas']['Adjustment'][] | undefined
[key: string]: components['schemas']['Adjustment'][]
}
}
Booking: {
Expand Down Expand Up @@ -1314,7 +1314,7 @@ export interface components {
})
CalculatedReleaseDates: {
dates: {
[key: string]: string | undefined
[key: string]: string
}
/** Format: int64 */
calculationRequestId: number
Expand Down Expand Up @@ -1362,7 +1362,7 @@ export interface components {
| 'MANUAL_OVERRIDE'
| 'CALCULATED_BY_SPECIALIST_SUPPORT'
approvedDates?: {
[key: string]: string | undefined
[key: string]: string
}
/** Format: uuid */
calculationReference: string
Expand Down Expand Up @@ -1400,7 +1400,7 @@ export interface components {
})
Duration: {
durationElements: {
[key: string]: number | undefined
[key: string]: number
}
}
ExtendedDeterminateSentence: {
Expand Down Expand Up @@ -1757,16 +1757,16 @@ export interface components {
/** Format: date-time */
calculatedAt: string
crdsDates: {
[key: string]: string | undefined
[key: string]: string
}
nomisDates: {
[key: string]: string | undefined
[key: string]: string
}
overrideDates: {
[key: string]: string | undefined
[key: string]: string
}
breakdownByReleaseDateType: {
[key: string]: components['schemas']['ReleaseDateCalculationBreakdown'] | undefined
[key: string]: components['schemas']['ReleaseDateCalculationBreakdown']
}
sdsSentencesIdentified: components['schemas']['SentenceAndOffenceWithReleaseArrangements'][]
fatalException?: string
Expand Down Expand Up @@ -1812,7 +1812,7 @@ export interface components {
)[]
/** @description Adjustments details associated that are specifically added as part of a rule */
rulesWithExtraAdjustments: {
[key: string]: components['schemas']['AdjustmentDuration'] | undefined
[key: string]: components['schemas']['AdjustmentDuration']
}
/**
* Format: int32
Expand Down Expand Up @@ -1978,10 +1978,10 @@ export interface components {
consecutiveSentence?: components['schemas']['ConsecutiveSentenceBreakdown']
/** @description Breakdown details in a map keyed by release date type */
breakdownByReleaseDateType: {
[key: string]: components['schemas']['ReleaseDateCalculationBreakdown'] | undefined
[key: string]: components['schemas']['ReleaseDateCalculationBreakdown']
}
otherDates: {
[key: string]: string | undefined
[key: string]: string
}
ersedNotApplicableDueToDtoLaterThanCrd: boolean
}
Expand All @@ -1996,7 +1996,7 @@ export interface components {
/** Format: int32 */
sentenceLengthDays: number
dates: {
[key: string]: components['schemas']['DateBreakdown'] | undefined
[key: string]: components['schemas']['DateBreakdown']
}
/** Format: int32 */
lineSequence: number
Expand All @@ -2011,7 +2011,7 @@ export interface components {
/** Format: int32 */
sentenceLengthDays: number
dates: {
[key: string]: components['schemas']['DateBreakdown'] | undefined
[key: string]: components['schemas']['DateBreakdown']
}
sentenceParts: components['schemas']['ConsecutiveSentencePart'][]
}
Expand Down Expand Up @@ -2042,10 +2042,10 @@ export interface components {
DetailedCalculationResults: {
context: components['schemas']['CalculationContext']
dates: {
[key: string]: components['schemas']['DetailedDate'] | undefined
[key: string]: components['schemas']['DetailedDate']
}
approvedDates?: {
[key: string]: components['schemas']['DetailedDate'] | undefined
[key: string]: components['schemas']['DetailedDate']
}
calculationOriginalData: components['schemas']['CalculationOriginalData']
calculationBreakdown?: components['schemas']['CalculationBreakdown']
Expand Down

0 comments on commit 65815b6

Please sign in to comment.