File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
src/services/limited-partnerships
test/services/limited-partnerships Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default class LimitedPartnershipsService {
6464 transactionId : string ,
6565 filingResourceId : string ,
6666 includeSubResources ?: boolean ) : Promise < Resource < LimitedPartnershipIncorporation > | ApiErrorResponse > {
67- const subResourcesQuery : string = ( includeSubResources ? ( "?include_sub_resources=" + includeSubResources ) : "" ) ;
67+ const subResourcesQuery : string = ( includeSubResources ? ( "?include_sub_resources=" + includeSubResources ) : "" ) ;
6868 const URL = `/transactions/${ transactionId } /incorporation/limited-partnership/${ filingResourceId } ${ subResourcesQuery } ` ;
6969
7070 const response : HttpResponse = await this . client . httpGet ( URL ) ;
Original file line number Diff line number Diff line change @@ -20,20 +20,21 @@ export interface LimitedPartnership {
2020
2121export interface GeneralPartner {
2222 data ?: {
23- country ?: string ,
2423 date_effective_from ?: string ,
2524 date_of_birth ?: string ,
2625 etag ?: string ,
2726 forename ?: string ,
2827 former_names ?: string ,
2928 governing_law ?: string ,
3029 kind ?: string ,
30+ legal_entity_name ?: string ,
3131 legal_entity_register_name ?: string ,
3232 legal_entity_registration_location ?: string ,
3333 legal_form ?: string ,
3434 nationality1 ?: string ,
3535 nationality2 ?: string ,
3636 not_disqualified_statement_checked ?: boolean ,
37+ legal_personality_statement_checked ?: boolean ,
3738 principal_office_address ?: Address ,
3839 registered_company_number ?: string ,
3940 resignation_date ?: string ,
Original file line number Diff line number Diff line change @@ -46,20 +46,21 @@ export const LIMITED_PARTNERSHIP_OBJECT_MOCK: LimitedPartnership = {
4646
4747export const GENERAL_PARTNER_OBJECT_MOCK : GeneralPartner = {
4848 data : {
49- country : "England" ,
5049 date_effective_from : "2005-02-04" ,
5150 date_of_birth : "2000-05-01" ,
5251 etag : "" ,
5352 forename : "John" ,
5453 former_names : "Mary" ,
5554 governing_law : "British Government" ,
5655 kind : "" ,
57- legal_entity_register_name : "Entity Name" ,
58- legal_entity_registration_location : "UK" ,
59- legal_form : "" ,
56+ legal_entity_name : "My company ltd" ,
57+ legal_entity_register_name : "UK Register" ,
58+ legal_entity_registration_location : "England" ,
59+ legal_form : "abc" ,
6060 nationality1 : "English" ,
6161 nationality2 : "French" ,
6262 not_disqualified_statement_checked : true ,
63+ legal_personality_statement_checked : true ,
6364 principal_office_address : {
6465 premises : "22" ,
6566 address_line_1 : "Some Street" ,
You can’t perform that action at this time.
0 commit comments