mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 15:25:45 +00:00
refactor: rm company profile
This commit is contained in:
@@ -194,11 +194,11 @@ export interface OnboardingRequirements {
|
||||
|
||||
export interface CompanyProfileInput {
|
||||
type:
|
||||
| "importer"
|
||||
| "exporter"
|
||||
| "freight_forwarder"
|
||||
| "dj_freight_forwarder"
|
||||
| "transporter";
|
||||
| "importer"
|
||||
| "exporter"
|
||||
| "freight_forwarder"
|
||||
| "dj_freight_forwarder"
|
||||
| "transporter";
|
||||
businessLicense?: string;
|
||||
}
|
||||
|
||||
@@ -206,8 +206,6 @@ export interface CreateCompanyPayload {
|
||||
companyType?: string;
|
||||
nationality?: CompanyNationality;
|
||||
companyName: string;
|
||||
companyEmail?: string;
|
||||
companyPhone?: string;
|
||||
companyLocation?: string;
|
||||
companyAddress?: string;
|
||||
tin?: string;
|
||||
@@ -460,9 +458,9 @@ export const companiesService = {
|
||||
|
||||
/** The current company's open profile change request (pending/rejected), or null. */
|
||||
getChangeRequest: async (): Promise<ChangeRequestResponse | null> => {
|
||||
const response = await client.get<ApiResponse<ChangeRequestResponse | null>>(
|
||||
URL_CONSTANTS.COMPANIES_API.PROFILE_CHANGE_REQUEST,
|
||||
);
|
||||
const response = await client.get<
|
||||
ApiResponse<ChangeRequestResponse | null>
|
||||
>(URL_CONSTANTS.COMPANIES_API.PROFILE_CHANGE_REQUEST);
|
||||
return unwrap(response.data);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user