Skip to content

Commit 3a9b475

Browse files
authored
Merge pull request #175 from companieshouse/ncs-414-update-next-made-up-to-date-in-confirmation-statement-not-optional
make nextMadeUpTo in confirmationStatement non optional
2 parents fcdfe27 + 3eadc19 commit 3a9b475

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/services/company-profile/types.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface CompanyProfileResource {
1616
has_insolvency_history: boolean;
1717
registered_office_address: RegisteredOfficeAddressResource;
1818
accounts: AccountsResource;
19-
confirmation_statement: ConfirmationStatementResource;
19+
confirmation_statement?: ConfirmationStatementResource;
2020
links: LinksResource;
2121
}
2222

@@ -46,7 +46,7 @@ export interface NextAccountsResource {
4646
export interface ConfirmationStatementResource {
4747
last_made_up_to?: string;
4848
next_due: string;
49-
next_made_up_to?: string;
49+
next_made_up_to: string;
5050
overdue: boolean;
5151
}
5252

@@ -80,7 +80,7 @@ export interface NextAccounts {
8080
export interface ConfirmationStatement {
8181
lastMadeUpTo?: string;
8282
nextDue: string;
83-
nextMadeUpTo?: string;
83+
nextMadeUpTo: string;
8484
overdue: boolean;
8585
}
8686

@@ -106,6 +106,6 @@ export interface CompanyProfile {
106106
hasInsolvencyHistory: boolean;
107107
registeredOfficeAddress: RegisteredOfficeAddress;
108108
accounts: Accounts;
109-
confirmationStatement: ConfirmationStatement;
109+
confirmationStatement?: ConfirmationStatement;
110110
links: Links;
111111
}

0 commit comments

Comments
 (0)