Upload Certificates
+ + +Selected Certificates
+Uploaded Certificates
+Certificate {index + 1} upload failed
+ )} +Status: {certificate.status}
+General Ledger, Voucher Issuance, Preparation of Financial and Tax Reports
General Ledger, Voucher Issuance
{t('journal:JOURNAL.USE_YOUR_PHONE_AS')} - + {t('journal:JOURNAL.SCANNER')}
diff --git a/src/constants/account.ts b/src/constants/account.ts index 509300fdc..dc46aeb94 100644 --- a/src/constants/account.ts +++ b/src/constants/account.ts @@ -2,6 +2,7 @@ // Info: (20240416 - Murky) type export enum ProgressStatus { SUCCESS = 'success', + FAILED = 'failed', IN_PROGRESS = 'inProgress', NOT_FOUND = 'notFound', ALREADY_UPLOAD = 'alreadyUpload', diff --git a/src/constants/api_connection.ts b/src/constants/api_connection.ts index 2a865e66f..de5999c4a 100644 --- a/src/constants/api_connection.ts +++ b/src/constants/api_connection.ts @@ -81,6 +81,7 @@ export enum APIName { STATUS_INFO_GET = 'STATUS_INFO_GET', ACCOUNT_LIST = 'ACCOUNT_LIST', FILE_UPLOAD = 'FILE_UPLOAD', + PUBLIC_FILE_UPLOAD = 'PUBLIC_FILE_UPLOAD', FILE_DELETE = 'FILE_DELETE', FILE_GET = 'FILE_GET', COMPANY_GET_BY_ID = 'COMPANY_GET_BY_ID', @@ -102,6 +103,9 @@ export enum APIName { PUBLIC_KEY_GET = 'PUBLIC_KEY_GET', ZOD_EXAMPLE = 'ZOD_EXAMPLE', // Info: (20240909 - Murky) This is a Zod example, to demonstrate how to use Zod schema to validate data. CERTIFICATE_LIST = 'CERTIFICATE_LIST', + PUSHER = 'PUSHER', + ENCRYPT = 'ENCRYPT', + DECRYPT = 'DECRYPT', } export enum APIPath { @@ -162,6 +166,7 @@ export enum APIPath { STATUS_INFO_GET = `${apiPrefix}/status_info`, ACCOUNT_LIST = `${apiPrefix}/company/:companyId/account`, FILE_UPLOAD = `${apiPrefix}/company/:companyId/file`, + PUBLIC_FILE_UPLOAD = `${apiPrefixV2}/upload`, FILE_DELETE = `${apiPrefix}/company/:companyId/file/:fileId`, FILE_GET = `${apiPrefix}/company/:companyId/file/:fileId`, COMPANY_GET_BY_ID = `${apiPrefix}/company/:companyId`, @@ -183,6 +188,9 @@ export enum APIPath { PUBLIC_KEY_GET = `${apiPrefix}/company/:companyId/public_key`, ZOD_EXAMPLE = `${apiPrefix}/company/zod`, // Info: (20240909 - Murky) This is a Zod example, to demonstrate how to use Zod schema to validate data. CERTIFICATE_LIST = `${apiPrefix}/company/:companyId/certificate`, + PUSHER = `${apiPrefixV2}/pusher`, + ENCRYPT = `${apiPrefixV2}/encrypt`, + DECRYPT = `${apiPrefixV2}/decrypt`, } const createConfig = ({ name, @@ -424,6 +432,11 @@ export const APIConfig: RecordLast Login Time
+ +{lastLoginTime}
+Certificate {index + 1} upload failed
+ )} +Status: {certificate.status}
+