-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FE - controlling member crc integration and bug fixes (#1339)
# Description This PR includes the following proposed change(s): - controlling member crc integration - various bug fixes - SPDBT-2956 - fix display of photo --------- Co-authored-by: Peggy <[email protected]>
- Loading branch information
1 parent
428c8c3
commit d2da61c
Showing
22 changed files
with
703 additions
and
397 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
...ontrolling-member-crc-app/api-controlling-member-crc-applications-anonymous-files-post.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http'; | ||
import { Observable } from 'rxjs'; | ||
import { filter, map } from 'rxjs/operators'; | ||
import { StrictHttpResponse } from '../../strict-http-response'; | ||
import { RequestBuilder } from '../../request-builder'; | ||
|
||
import { LicenceDocumentTypeCode } from '../../models/licence-document-type-code'; | ||
|
||
export interface ApiControllingMemberCrcApplicationsAnonymousFilesPost$Params { | ||
body?: { | ||
'Documents'?: Array<Blob>; | ||
'LicenceDocumentTypeCode'?: LicenceDocumentTypeCode; | ||
} | ||
} | ||
|
||
export function apiControllingMemberCrcApplicationsAnonymousFilesPost(http: HttpClient, rootUrl: string, params?: ApiControllingMemberCrcApplicationsAnonymousFilesPost$Params, context?: HttpContext): Observable<StrictHttpResponse<string>> { | ||
const rb = new RequestBuilder(rootUrl, apiControllingMemberCrcApplicationsAnonymousFilesPost.PATH, 'post'); | ||
if (params) { | ||
rb.body(params.body, 'multipart/form-data'); | ||
} | ||
|
||
return http.request( | ||
rb.build({ responseType: 'json', accept: 'application/json', context }) | ||
).pipe( | ||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse), | ||
map((r: HttpResponse<any>) => { | ||
return r as StrictHttpResponse<string>; | ||
}) | ||
); | ||
} | ||
|
||
apiControllingMemberCrcApplicationsAnonymousFilesPost.PATH = '/api/controlling-member-crc-applications/anonymous/files'; |
32 changes: 32 additions & 0 deletions
32
...rolling-member-crc-app/api-controlling-member-crc-applications-anonymous-key-code-post.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http'; | ||
import { Observable } from 'rxjs'; | ||
import { filter, map } from 'rxjs/operators'; | ||
import { StrictHttpResponse } from '../../strict-http-response'; | ||
import { RequestBuilder } from '../../request-builder'; | ||
|
||
import { GoogleRecaptcha } from '../../models/google-recaptcha'; | ||
import { IActionResult } from '../../models/i-action-result'; | ||
|
||
export interface ApiControllingMemberCrcApplicationsAnonymousKeyCodePost$Params { | ||
body?: GoogleRecaptcha | ||
} | ||
|
||
export function apiControllingMemberCrcApplicationsAnonymousKeyCodePost(http: HttpClient, rootUrl: string, params?: ApiControllingMemberCrcApplicationsAnonymousKeyCodePost$Params, context?: HttpContext): Observable<StrictHttpResponse<IActionResult>> { | ||
const rb = new RequestBuilder(rootUrl, apiControllingMemberCrcApplicationsAnonymousKeyCodePost.PATH, 'post'); | ||
if (params) { | ||
rb.body(params.body, 'application/*+json'); | ||
} | ||
|
||
return http.request( | ||
rb.build({ responseType: 'json', accept: 'application/json', context }) | ||
).pipe( | ||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse), | ||
map((r: HttpResponse<any>) => { | ||
return r as StrictHttpResponse<IActionResult>; | ||
}) | ||
); | ||
} | ||
|
||
apiControllingMemberCrcApplicationsAnonymousKeyCodePost.PATH = '/api/controlling-member-crc-applications/anonymous/keyCode'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.