const success = {
  private_key:
    "-----BEGIN RSA PRIVATE KEY-----DATA-----END RSA PRIVATE KEY-----",
  public_key: "-----BEGIN CERTIFICATE-----DATA-----END CERTIFICATE-----",
  serial_number: "00:76:d2:ca:86:35:8c:88:52:fd:94:8e:55:d3:b6:a8:2e:73:68:00",
};

const certificatesAPI = {
  create: (data) => Object.assign(success, { type: data.type }),
  createAftersales: (data) => Object.assign(success, { type: data.type }),
};

export default certificatesAPI;
