import type { Environment } from './evironment.interface';

export const environment: Environment = {
	metadata: {
		branch: 'develop',
		environment: 'staging'
	},
	baseUrl: 'https://bmim.bitsia.com',
	apiUrl: 'https://bmim.bitsia.com/api',
	pdfUrl: 'https://bmim.bitsia.com/generatepdf',
	frontendRoutes: {
		signin: '/signin',
		signup: '/signup',
		joinCompany: '/joinoraddcompany',
		chooseCompanyType: '/choosecompanytype',
		insights: '/insights',
		financials: '/financials',
		companies: '/companies',
		personalAccount: '/personal-account',
		transferAccountToUsers: '/personal-account/transfer',
		showActiveInvites: '/personal-account/my-active-invites',
		passwordAndLogin: '/passwordAndLogin',
		devices: '/devices',
		companySettings: '/companySettings',
		manageUser: '/manageUser',
		billingSettings: '/billingSettings',
		currentPlan: '/currentPlan',
		manageSubscription: '/manageSubscriptions',
		moneyForCeos: '/money-for-ceos',
		moneyForCeosBusiness: '/money-for-ceos-business',
		generatePdf: '/generate-pdf-for-mfc',
		moneyForGrowth: '/money-for-growth',
		tools: '/tools',
		cashFlowSummary: '/cash-flow-picture',
		database: '/database',
		cashFlowPerspective: '/cashFlowPerspective',
		workingCapitalMetric: '/working-capital-metric',
		financialReturns: '/financial-returns',
		cashFundingMeters: '/cash-funding-meters',
		billingDetails: '/billingDetails',
		dashboard: '/dashboard',
		selectFinancials: '/selectFinancials',
		acceptInvitation: '/accept-invite',
		acceptInvitationWithParam: '/accept-invite/:uuid',
		landingPage: '/landingPage',
		successPaidPage: '/successPaidPage',
		branding: '/branding',
		gdpr: '/gdpr-compliance'
	},
	backendRoutes: {
		companies: '/account/get-companies',
		updateCompany: '/account/save-company-details',
		updateCompanysDashboard: '/account/save-company-dashboard',
		removeCompany: '/account/remove-company',
		account: {
			updatePlan: '/account/update-company-plan-type',
			downgradePlan: '/account/downgrade-company-plan-type',
			updateAccountType: '/account/update-account-type',
			cancelDowngrade: '/account/cancel-downgrade-company-plan-type',
			addPayment: '/account/payment-history',
			getPayments: '/account/payment-history',
			getInvitee: '/account/get-invite',
			getInvites: '/account/get-invites',
			getAllInvites: '/account/get-all-invites',
			sendInvite: '/account/send-invite',
			resendInvite: '/account/resend-invite',
			deleteUser: '/account/remove-invite',
			editUser: '/account/edit-invite',
			revokeInvitee: '/account/revoke-invite',
			acceptInvitee: '/account/accept-invite',
			deleteInvitedUser: '/account/delete-invited-user',
			deleteInvitation: '/account/delete-invitation',
			deleteAccountEmpty: '/account/delete-account-empty',
			deleteAccount: '/account/delete-account'
		},
		getAccount: '/account/get',
		patchAccount: '/account/update',
		financials: {
			get: '/financials/get-by-company',
			post: '/financials/save',
			remove: '/financials/remove'
		},
		getDashboardSelectedCharts: '/account/get-selected-dashboard-charts',
		getSelectedFinancials: '/account/get-selected-financials',
		getUserSelection: '/account/get-user-selections',
		updateSelectedCharts: '/account/update-selected-dashboard-charts',
		updateSelectedFinancials: '/account/update-selected-financials',
		userAndCompanyRegistration: '/account/user-and-company-registration',
		companyRegistration: '/account/company-registration',
		branding: {
			updateColor: '/account/update-company-color',
			updateLogo: '/account/update-company-logo'
		},
		gdpr: '/account/update-gdpr'
	}
};

export default environment;
